.organization-figure {
  --org-outline: #27221c;
  --org-yellow: var(--yellow);
  --org-mint: var(--mint);
  --org-pink: var(--pink);
  --org-sky: var(--cyan);
}
#organization .figure-heading h2 { color: var(--org-outline); }
.org-comparison {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(14px, 3.5vw, 44px);
  margin-block: 20px 23px;
}
.org-model { display: grid; grid-template-rows: auto 1fr auto; min-width: 0; }
.organization-figure .org-model h3 {
  display: flex;
  align-items: baseline;
  flex-wrap: wrap;
  gap: 1px 10px;
  margin-bottom: 11px;
  font-size: clamp(.9rem, 1.45vw, 1.12rem);
}
.org-model h3 span {
  color: var(--org-outline);
  font-size: clamp(1.21rem, 2.25vw, 1.65rem);
  font-weight: 800;
}
.org-division { position: relative; }
.org-division::before {
  content: "";
  position: absolute;
  inset: 4px auto 4px clamp(-23px, -1.75vw, -8px);
  border-left: 1px solid var(--line);
}
.org-groups {
  display: grid;
  gap: clamp(6px, 1vw, 12px);
  grid-template-columns: repeat(2, minmax(0, 1fr));
}
.org-group {
  display: grid;
  min-width: 0;
  padding: 5px 6px 8px;
  border: 2px solid var(--org-outline);
  border-radius: var(--diagram-group-radius);
  background: var(--org-fill);
}
.org-purchasing { --org-fill: var(--org-yellow); }
.org-selling { --org-fill: var(--org-mint); }
.org-shop { --org-fill: var(--org-pink); }
.org-online { --org-fill: var(--org-sky); }
.org-group h4 {
  width: fit-content;
  margin: 0 auto 1px;
  padding: 0 5px 1px;
  border-bottom: 2px solid var(--org-outline);
  font-size: 1.04rem;
  text-align: center;
}
.org-work {
  display: grid;
  justify-items: center;
  align-content: start;
  gap: 1px;
  color: var(--org-outline);
  font-size: .94rem;
  font-weight: 700;
  line-height: 1.35;
  text-align: center;
}
.org-work img {
  display: block;
  width: min(100%, 126px);
  height: auto;
}
.org-functional .org-group { grid-template-rows: auto 1fr 1fr; align-items: center; row-gap: 6px; }
.org-division .org-groups { grid-template-columns: minmax(0, 1fr); }
.org-division .org-group { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.org-division .org-group h4 { grid-column: 1 / -1; }
.organization-figure .org-takeaway {
  margin-top: 9px;
  font-size: .92rem;
  line-height: 1.5;
}
.org-takeaway strong { box-shadow: inset 0 -.47em #ffe996; }
.organization-resources {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 6px 17px;
  padding-block: 12px;
  border-block: 1px solid var(--line);
  font-size: .94rem;
}
.org-company-chart, .org-matrix-map, .org-review-route { max-width: 49rem; margin-inline: auto; text-align: center; }
.org-company-chart img, .org-matrix-map img, .org-review-route img { width: 115px; max-width: 100%; height: auto; }
.org-head-office {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 4px 12px;
  width: fit-content;
  margin-inline: auto;
  padding: 1px 17px;
  border: 2px solid var(--ink);
  border-radius: var(--diagram-group-radius);
  background: var(--diagram-highlight);
}
.org-head-office img { width: 83px; }
.org-company-branches {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  position: relative;
  padding-top: 34px;
}
.org-company-branches::before {
  content: "";
  position: absolute;
  top: 14px;
  left: calc(25% - 3px);
  right: calc(25% - 3px);
  height: 18px;
  border: 2px solid var(--ink);
  border-bottom: 0;
  border-radius: 10px 10px 0 0;
}
.org-company-branches::after {
  content: "";
  position: absolute;
  top: 0;
  left: calc(50% - 1px);
  height: 14px;
  border-inline-start: 2px solid var(--ink);
}
.org-company-branches section {
  position: relative;
  padding: 6px 8px;
  border-block: 2px solid var(--ink);
  background: var(--diagram-pink);
}
.org-company-branches section + section { background: var(--diagram-blue); }
.org-company-branches section::before {
  content: "";
  position: absolute;
  top: -10px;
  left: calc(50% - 6px);
  width: 12px;
  height: 10px;
  background: var(--ink);
  clip-path: polygon(0 0, 100% 0, 50% 100%);
}
.org-company-branches p { margin: 0; }
.org-matrix-map { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 34px 12px; }
.org-matrix-map section {
  position: relative;
  padding-block: 6px;
  background: var(--diagram-green);
  border-block: 2px solid var(--ink);
}
.org-matrix-map section + section { background: var(--diagram-pink); }
.org-matrix-map section::after {
  content: "";
  position: absolute;
  top: calc(100% + 5px);
  left: 69%;
  width: 46px;
  height: 19px;
  background: var(--ink);
  clip-path: var(--step-arrow);
  transform: rotate(25deg);
}
.org-matrix-map section + section::after { left: auto; right: 69%; transform: scaleX(-1) rotate(25deg); }
.org-matrix-result {
  grid-column: 1 / -1;
  display: flex;
  gap: 6px 14px;
  justify-content: center;
  align-items: center;
  border-block: 2px solid var(--ink);
  background: var(--diagram-highlight);
}
.org-matrix-result img { width: 90px; }
.org-review-route { display: grid; grid-template-columns: minmax(0, 1fr) 52px minmax(0, 1fr) 52px minmax(0, 1fr); gap: 5px; align-items: center; }
.org-review-route div { padding: 5px; border-block: 2px solid var(--ink); }
.org-review-route div:nth-of-type(2) { background: var(--diagram-highlight); }
.org-review-route :is(h3, h4) { font-size: 1rem; }
.org-review-route p { font-size: .94rem; }
.org-review-route .flow-arrow { width: 100%; }

.audit-figure .audit-stages {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  padding: 0;
  list-style: none;
}
.audit-figure .audit-stages li {
  position: relative;
  display: grid;
  align-content: start;
  padding: 5px 7px 7px;
  background: var(--white);
  font-size: .86rem;
  line-height: 1.5;
  border-top: 2px solid var(--teal);
}
.audit-figure .audit-stages li:first-child::after {
  content: "";
  position: absolute;
  width: 14px;
  height: 14px;
  background: var(--teal);
  clip-path: var(--step-arrow);
  left: 100%;
  top: 40%;
}
.audit-figure .audit-stage-link {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 8px;
  margin-block: 6px;
  color: var(--teal);
  font-size: .88rem;
  font-weight: 700;
}
.audit-stage-link .flow-arrow { flex: 0 0 24px; width: 24px; transform: rotate(90deg); }
.audit-figure .audit-case {
  display: grid;
  grid-template-columns: minmax(0,1fr) auto minmax(0,1fr);
  gap: 8px;
  align-items: center;
  margin-block: 0;
  padding: 10px;
  border: 1px solid var(--line);
  background: #fffdf4;
}
.audit-figure .audit-section-head { display: flex; gap: 8px; align-items: center; }
.audit-figure .audit-section-head img { width: clamp(44px, 7vw, 74px); height: auto; }
.audit-figure .audit-section-head h3 { color: var(--teal); }
.audit-figure .audit-case p,
.audit-figure .audit-records { font-size: .9rem; line-height: 1.45; }
.audit-figure .audit-records { background: white; margin-top: 6px; }
.audit-figure .audit-records caption { padding: 4px 6px; background: var(--yellow); font-weight: 800; text-align: left; }
.audit-figure .audit-records :is(th,td) { padding: 4px; text-align: center; border: 1px solid var(--line); }
.audit-figure .audit-late { background: var(--pink); }
.audit-figure .audit-pass { display: grid; justify-items: center; font-size: .8rem; font-weight: 800; color: var(--teal); text-align: center; }
.audit-figure .audit-pass b::before { content: ""; display: inline-block; width: 23px; height: 16px; vertical-align: middle; background: currentColor; clip-path: var(--step-arrow); }
.audit-figure .audit-days {
  display: grid;
  grid-template-columns: auto minmax(0,1fr) auto;
  align-items: center;
  column-gap: 6px;
  margin-block: 8px;
  font-size: clamp(.79rem, 1.7vw, .97rem);
  text-align: center;
}
.audit-figure .audit-days time { border: 1px solid var(--line); padding: 3px 4px; }
.audit-figure .audit-days span {
  position: relative;
  border-bottom: 2px solid var(--wine);
  padding-bottom: 2px;
  font-weight: 800;
  color: var(--wine);
}
.audit-figure .audit-days span::after {
  position: absolute;
  right: 0;
  bottom: -4px;
  content: "";
  width: 6px;
  height: 6px;
  border-right: 2px solid;
  border-top: 2px solid;
  transform: rotate(45deg);
}
.audit-figure .audit-independent { display: grid; grid-template-columns: minmax(0, 1fr) minmax(45px, .54fr) minmax(0, 1fr); gap: 5px; align-items: center; margin-bottom: 9px; padding: 5px; background: var(--mint); font-size: clamp(.79rem, 1.55vw, .99rem); text-align: center; }
.audit-independent > div { display: grid; justify-items: center; }
.audit-independent img { width: clamp(48px, 7vw, 77px); height: auto; }
.audit-independent .flow-arrow { width: min(100%, 135px); }
.audit-figure .audit-after li { border-top-color: var(--wine); }
.audit-figure .audit-risk {
  margin: 0 0 14px;
  padding: 6px 10px;
  border-left: 3px solid var(--teal);
  background: var(--mint);
}
.audit-documents {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr) auto minmax(0, 1fr);
  gap: 8px;
  align-items: stretch;
}
.audit-documents .audit-pass { align-self: center; }
.audit-document {
  padding: 8px;
  border-top: 2px solid var(--ink);
  background: var(--white);
}
.audit-document img { display: block; width: 80px; max-width: 100%; height: auto; margin: auto; }
.audit-document h3 { text-align: center; margin-bottom: 8px; }
.audit-document dl { margin: 0 0 6px; font-size: .9rem; }
.audit-document dl div {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 8px;
  padding: 3px 5px;
  border-bottom: 1px solid var(--line);
}
.audit-document dt { font-weight: 700; }
.audit-document dd { margin: 0; }
.audit-document p { margin: 0; font-size: .9rem; }
.audit-document:nth-of-type(3) dl { background: var(--mint); }
.audit-document:nth-of-type(5) dl { background: var(--yellow); }

.cloud-figure .cloud-parties { display: flex; justify-content: center; flex-wrap: wrap; gap: 6px 18px; margin: 8px 0 10px; }
.cloud-figure .cloud-parties > div { display: flex; align-items: center; gap: 4px; border-bottom: 3px solid #efc950; padding-right: 5px; font-size: .84rem; }
.cloud-figure .cloud-parties > div + div { border-color: #287585; }
.cloud-figure .cloud-parties img { width: clamp(38px, 8vw, 68px); height: auto; }
.cloud-figure .cloud-stack { font-size: clamp(.8rem, 1.7vw, 1.02rem); table-layout: fixed; text-align: center; }
.cloud-figure .cloud-stack :is(th,td) { padding: 5px 3px; border: 1px solid var(--line); line-height: 1.35; }
.cloud-figure .cloud-stack thead th { background: var(--white); }
.cloud-figure .cloud-stack thead th:first-child { width: 33%; }
.cloud-figure .cloud-stack thead th:not(:first-child) { font-size: clamp(.97rem, 2.2vw, 1.35rem); }
.cloud-figure .cloud-stack tbody th img { display: block; width: clamp(30px, 6vw, 57px); height: auto; margin: auto; }
.cloud-figure .cloud-stack .cloud-provider { background: #bcdee6; color: #0b4a54; }
.cloud-figure .cloud-stack .cloud-shop { background: #ffe987; color: #342705; }
.cloud-figure .cloud-stack tbody td { font-weight: 800; }
.cloud-figure .cloud-stack tbody tr:nth-child(1) td:nth-child(2),
.cloud-figure .cloud-stack tbody tr:nth-child(2) td:nth-child(3),
.cloud-figure .cloud-stack tbody tr:nth-child(3) td:nth-child(4) { border-top: 3px solid #287585; }
.cloud-figure .cloud-stack tfoot { background: var(--white); }
.cloud-figure .cloud-stack tfoot td { overflow-wrap: anywhere; font-size: clamp(.75rem, 1.5vw, .95rem); }

@media (max-width: 740px) {
  .org-comparison, .organization-resources { grid-template-columns: minmax(0, 1fr); }
  .org-division { padding: 12px 0 0; border: 0; border-top: 1px solid var(--line); }
  .org-division::before { display: none; }
  .org-work img { width: min(100%, 104px); }
  .org-review-route { grid-template-columns: minmax(0, 1fr) 20px minmax(0, 1fr) 20px minmax(0, 1fr); }
}

@media (max-width: 610px) {
  .audit-figure .audit-case { grid-template-columns: minmax(0,1fr); gap: 6px; }
  .audit-documents { grid-template-columns: minmax(0, 1fr); }
  .audit-figure .audit-pass { display: flex; justify-content: center; align-items: center; gap: 4px; }
  .audit-figure .audit-pass b::before { rotate: 90deg; }
}
.executive-hub { position: relative; display: grid; justify-items: center; width: fit-content; margin-inline: auto; text-align: center; }
.executive-hub img { width: clamp(72px, 11vw, 135px); height: auto; }
.executive-hub b { padding: 1px 9px; background: #ffe16a; border: 2px solid var(--ink); border-radius: 7px 10px 8px 5px; }
.executive-hub::after { content: ""; position: absolute; top: calc(100% + 1px); left: calc(50% - 1.5px); height: 16px; border-left: 3px solid var(--teal); }
.executive-roles { --role-gap: 12px; position: relative; display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: var(--role-gap); margin: 0; padding: 0; list-style: none; }
.executive-roles::before { content: ""; position: absolute; inset: 14px calc((100% - 4 * var(--role-gap)) / 10) auto; border-top: 3px solid var(--teal); }
.executive-roles li { position: relative; margin-top: 32px; padding: .08rem .2rem .55rem; text-align: center; }
.executive-roles .executive-information strong { background: #bcecf6; }
.executive-roles .executive-technology strong { background: #ffe16a; }
.executive-roles li::before { content: ""; position: absolute; left: calc(50% - 1.5px); top: -20px; height: 18px; border-left: 3px solid var(--teal); }
.executive-roles img { display: block; width: min(100%, 125px); height: auto; margin-inline: auto; }
.executive-roles strong { display: inline-block; padding-inline: .2em; border-radius: 4px; color: var(--ink); font-size: 1.1rem; }
.executive-roles small { font-size: .83rem; }
.executive-roles p { font-size: .9rem; }
@media (max-width: 580px) {
  .executive-hub::after { height: 8px; }
  .executive-roles { grid-template-columns: repeat(2, minmax(0, 1fr)); position: relative; column-gap: 16px; }
  .executive-roles::before { content: ""; position: absolute; top: 0; bottom: 0; left: calc(50% - 1px); border-left: 2px solid var(--teal); }
  .executive-roles img { width: min(100%, 74px); }
  .executive-roles li { margin-top: 8px; }
  .executive-roles li::before { left: 100%; width: 8px; height: 0; top: 50%; border-left: 0; border-top: 2px solid var(--teal); }
  .executive-roles li:nth-child(even)::before { left: -8px; }
}
