/* Homepage-only presentation. Load after the shared site stylesheet. */
.compact-home {
  display:grid;
  grid-template-columns:minmax(0,1fr);
  grid-template-areas:"heading" "bench" "reference";
  gap:clamp(18px,3vw,44px);
  margin-block:clamp(18px,3vw,40px) clamp(28px,4vw,56px);
  color:var(--ink);
}
.compact-home .ch-heading {grid-area:heading;min-width:0}
.compact-home .ch-heading h1 {
  color:inherit;font:690 clamp(2rem,4.9vw,4.6rem)/1.04 var(--headline);
  letter-spacing:-.05em;margin:0 0 .24em;text-wrap:balance;overflow-wrap:break-word
}
.compact-home .ch-heading>p {font-size:clamp(1rem,1.2vw,1.2rem);line-height:1.45;max-width:66ch;margin:0}
.compact-home .ch-actions {display:flex;align-items:center;flex-wrap:wrap;gap:4px 18px;margin-top:1rem}
.compact-home .ch-actions a,.compact-home .ch-original,.compact-home .ch-zoom summary {min-height:44px;align-content:center}
.compact-home .ch-first-action {display:inline-block;padding:.62rem 1rem;background:var(--accent);color:white;border:1px solid var(--accent);text-decoration:none;font-weight:720;line-height:1.3}
.compact-home .ch-figure-action,.compact-home .ch-original,.compact-home .ch-zoom summary {font-size:.9375rem;font-weight:650}
.compact-home .ch-figure-action {display:inline-block}
.compact-home .ch-first-action:hover {text-decoration:underline;text-underline-offset:.16em}
.compact-home :is(a,summary,[tabindex]):focus-visible {outline:3px solid #9b6500;outline-offset:3px}
.compact-home .ch-region {min-width:0;display:grid;align-content:start;gap:clamp(16px,2.2vw,30px)}
.compact-home .ch-bench {grid-area:bench}
.compact-home .ch-reference {grid-area:reference}
.compact-home .ch-tool {container:worksheet-holder / inline-size;min-width:0;scroll-margin-top:1rem}
.compact-home .worksheet {min-width:0}
.compact-home .worksheet :is(.sheet-heading,.readout) {min-width:0;overflow-wrap:anywhere}
.compact-home .ch-figure {margin:0;min-width:0;scroll-margin-top:1rem}
.compact-home .ch-figure figcaption {margin:0}
.compact-home .ch-figure figcaption h2,.compact-home .ch-fallback h2 {
  color:var(--ink);font:670 clamp(1.35rem,2.2vw,2rem)/1.16 var(--headline);
  letter-spacing:-.028em;margin:0 0 .38em;text-wrap:balance
}
.compact-home .ch-figure figcaption p,.compact-home .ch-guide p {margin:0;max-width:66ch;line-height:1.48}
.compact-home .ch-zoom {margin:.25rem 0 0}
.compact-home .ch-zoom summary {box-sizing:border-box;width:fit-content;cursor:pointer;color:var(--accent);text-decoration:underline;text-underline-offset:.15em;padding-block:.55rem}
.compact-home .ch-zoom>p {margin:0 0 .6rem;font-size:.92rem}
.compact-home .ch-fit,.compact-home .ch-zoom[open] .ch-enlarge {display:none}
.compact-home .ch-zoom[open] .ch-fit {display:inline}
.compact-home .ch-window {max-width:100%;width:100%;overflow-x:auto;overscroll-behavior-x:contain;scrollbar-gutter:auto;border:1px solid var(--line);background:var(--paper)}
.compact-home .ch-window img {display:block;width:100%;max-width:none;height:auto;max-height:none;margin:0}
.compact-home .ch-zoom[open]~.ch-window img {width:max(200%,720px)}
.compact-home .ch-original {display:inline-block;margin-top:1px}
.compact-home .ch-guide {padding:.9rem 1rem;border-inline-start:3px solid var(--accent);background:var(--tint);min-width:0}
.compact-home .ch-guide a {display:inline-block;line-height:1.4;margin-top:.4rem;font-weight:630}
.compact-home .ch-record,.compact-home .ch-sequence {min-width:0}
.compact-home :is(.ch-record,.ch-sequence)>h2 {font:650 1.04rem/1.4 var(--headline);margin:0 0 .4rem}
.compact-home .ch-record dl,.compact-home .ch-fallback dl {margin:0}
.compact-home .ch-record dl>div,.compact-home .ch-fallback dl>div {display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1.3fr);align-items:baseline;gap:10px;padding:.5rem 0;border-top:1px solid var(--line);overflow-wrap:anywhere}
.compact-home .ch-record dt,.compact-home .ch-fallback dt {font-size:.9375rem;font-weight:640}
.compact-home .ch-record dd,.compact-home .ch-fallback dd {margin:0;font-variant-numeric:tabular-nums}
.compact-home .ch-sequence ol {list-style-position:outside;margin:.6rem 0 0;padding-inline-start:1.5rem}
.compact-home .ch-sequence li {padding:.15rem 0 .25rem .25rem}

/* A measurement bench keeps the acquisition window and editable model in view together. */
.ch-instrument .ch-heading {background:#15313b;color:#f1f5f0;border-bottom:5px solid #699b93;padding:clamp(16px,3vw,42px)}
.ch-instrument .ch-first-action {background:#e0f1ea;border-color:#e0f1ea;color:#132f36}
.ch-instrument .ch-figure-action {color:#e7f2ed}
.ch-instrument .ch-reference {border-top:3px solid var(--accent);padding-top:14px}
.ch-instrument .ch-figure figcaption h2 {font-family:ui-monospace,monospace;letter-spacing:-.04em}
.ch-instrument .readout {border-left:4px solid var(--accent);font-variant-numeric:tabular-nums}

/* A purchasing desk pairs a comparable offer and its fixed worked figures. */
.ch-quote .ch-heading {border-block-start:5px double var(--accent);padding-top:clamp(14px,2vw,28px)}
.ch-quote .ch-heading h1 {font-family:Georgia,'Times New Roman',serif;font-weight:500;letter-spacing:-.052em}
.ch-quote .ch-record {border-block:1px solid var(--line);padding-block:.7rem;background:var(--paper)}
.ch-quote .ch-record dl>div {border-top:1px dashed var(--line)}
.ch-quote .ch-record dd {text-align:end;font:650 .98rem/1.45 ui-monospace,monospace}
.ch-quote .ch-tool .worksheet {border-top:0;border-inline-start:5px solid var(--accent)}
.ch-quote .ch-first-action {border-radius:0}

/* A section drawing and its parts precede the full-width dimensional model on desktop. */
.ch-section .ch-heading {align-self:center;border-inline-start:4px solid var(--accent);padding-inline-start:clamp(14px,2vw,30px)}
.ch-section .ch-figure {border-block-start:1px solid var(--line);padding-top:.7rem}
.ch-section .ch-guide {background:var(--paper);border-inline-start:0;border-block-end:1px solid var(--line);padding:.5rem 0 1rem}
.ch-section .ch-window {border:2px solid var(--ink)}
.ch-section .ch-tool .worksheet {border-top:3px double var(--ink)}

/* A material record binds the illustrated geometry to its measurement conditions. */
.ch-material .ch-heading {padding-bottom:1rem;border-bottom:1px solid var(--accent)}
.ch-material .ch-heading h1 {font-family:Georgia,'Times New Roman',serif;font-weight:500;letter-spacing:-.04em}
.ch-material .ch-reference {border-inline-start:1px solid var(--line);padding-inline-start:clamp(16px,2.5vw,34px)}
.ch-material .ch-guide {background:var(--tint);border:0;border-top:3px solid var(--accent)}
.ch-material .ch-figure figcaption h2 {font-family:Georgia,'Times New Roman',serif;font-weight:500}
.ch-material .ch-first-action {border-radius:3px}

/* A process traveler puts its ordered handoffs next to the current worksheet. */
.ch-route .ch-heading {border-inline-start:8px solid var(--accent);background:var(--tint);padding:clamp(16px,2.8vw,34px)}
.ch-route .ch-sequence {border-top:2px solid var(--accent);padding-top:.8rem}
.ch-route .ch-sequence ol {list-style:none;counter-reset:route;display:grid;gap:.55rem;padding:0}
.ch-route .ch-sequence li {counter-increment:route;position:relative;margin-inline-start:1rem;padding:.2rem 0 .35rem 1.7rem;border-left:1px solid var(--line)}
.ch-route .ch-sequence li::before {content:counter(route);position:absolute;left:-.85rem;top:.15rem;display:grid;place-items:center;width:1.65rem;height:1.65rem;background:var(--tint);border:1px solid var(--line);border-radius:100%;font:650 .9rem/1 var(--headline)}
.ch-route .ch-guide {border:0;border-top:1px solid var(--line);padding:1rem 0;background:none}

/* A release docket makes an unresolved evidence item visible beside the sign-off tool. */
.ch-release .ch-heading {border-block:1px solid var(--ink);padding-block:clamp(14px,2vw,24px)}
.ch-release .ch-heading h1 {font-family:Georgia,'Times New Roman',serif;font-weight:500}
.ch-release .ch-record {background:var(--tint);padding:12px 16px;border-inline-start:4px solid var(--accent)}
.ch-release .ch-record dd {font-weight:650}
.ch-release .ch-guide {border:0;border-inline-start:2px solid var(--accent);background:var(--paper)}
.ch-release .sheet-heading {border-bottom:1px solid var(--line);padding-bottom:.7rem}

/* Resource allocation checks use the capacity chart before the example ledger. */
.ch-capacity .ch-heading {border-block-start:4px solid var(--accent);padding-block-start:clamp(14px,2vw,24px)}
.ch-capacity .ch-reference {border-inline-start:2px solid var(--line);padding-inline-start:clamp(14px,2vw,24px)}
.ch-capacity .ch-record dl {display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}
.ch-capacity .ch-record dl>div {display:block;border-top:3px solid var(--line)}
.ch-capacity .ch-record dd {margin-top:.4rem;font-weight:680}
.ch-capacity .ch-first-action {border-radius:2px}

/* These groups select visual treatments within a family that fit the actual evidence. */
.compact-home:is([data-direction=tdr-waveform],[data-direction=phase-lab],[data-direction=sensor-bus-bench]) .ch-heading {
  background:#182f42;border-color:#83abbc
}
.compact-home:is([data-direction=export-overlay],[data-direction=rail-drop],[data-direction=glass-metrology]) .ch-figure figcaption {
  border-inline-start:3px solid var(--accent);padding-inline-start:12px
}
.compact-home:is([data-direction=stencil],[data-direction=carbon],[data-direction=hdi-capture]) .ch-window {
  border:2px solid var(--accent);border-top-width:4px
}
.compact-home:is([data-direction=flex-bend-region],[data-direction=flex],[data-direction=ceramic-section]) .ch-window {
  border-radius:0 22px 0 0
}
.compact-home:is([data-direction=landed-price],[data-direction=repeat-ledger],[data-direction=scope-ledger]) .ch-record dl {
  border-bottom:3px double var(--line)
}
.compact-home:is([data-direction=material-index],[data-direction=thermal],[data-direction=thermal-excursion]) .ch-guide {
  padding-block:1.25rem
}
.compact-home:is([data-direction=rule-evidence],[data-direction=released-artwork-register],[data-direction=fab-export-register],[data-direction=firmware-record-review]) .ch-record dd {
  font-family:ui-monospace,monospace;font-size:.96rem
}
.compact-home:is([data-direction=component-lot-allocation],[data-direction=materials-account],[data-direction=prototype-allocation]) .ch-record dl {
  grid-template-columns:1fr
}
.compact-home:is([data-direction=layer-role-map],[data-direction=pressed-stack-ledger],[data-direction=buildup-cross-section]) .ch-guide {
  border-block:1px solid var(--line);padding:1rem 0
}
@container worksheet-holder (max-width:49rem) {
  .compact-home .ch-tool>.worksheet {grid-template-columns:minmax(0,1fr);grid-template-areas:"title" "inputs" "results";gap:15px}
  .compact-home .ch-tool .sheet-controls {padding-right:0;border-right:0}
  .compact-home .ch-tool .control-grid {grid-template-columns:repeat(auto-fit,minmax(min(170px,100%),1fr))}
  .compact-home .ch-tool .details-result {max-width:100%}
}
@media (min-width:64rem) {
  .compact-home {align-items:start;column-gap:clamp(28px,4vw,64px)}
  .ch-instrument {grid-template-columns:minmax(0,1.22fr) minmax(0,.78fr);grid-template-areas:"heading heading" "bench reference"}
  .ch-instrument .ch-heading {display:grid;grid-template-columns:minmax(0,1.2fr) minmax(0,.8fr);gap:0 3.5rem;align-items:center}
  .ch-instrument .ch-heading h1 {grid-row:span 2;margin:0}
  .ch-quote {grid-template-columns:minmax(0,.83fr) minmax(0,1.17fr);grid-template-areas:"heading bench" "reference bench";grid-template-rows:auto 1fr;row-gap:1.25rem}
  .ch-section {grid-template-columns:minmax(0,.98fr) minmax(0,1.02fr);grid-template-areas:"heading reference" "bench bench"}
  .ch-section .ch-figure {display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:start}
  .ch-section .ch-figure figcaption,.ch-section .ch-window,.ch-section .ch-original {grid-column:1/-1}
  .ch-material {grid-template-columns:minmax(0,1.12fr) minmax(0,.88fr);grid-template-areas:"heading reference" "bench reference";grid-template-rows:auto 1fr}
  .ch-route {grid-template-columns:minmax(0,.72fr) minmax(0,1.28fr);grid-template-areas:"heading heading" "reference bench"}
  .ch-route .ch-heading h1 {max-width:18ch}
  .ch-release {grid-template-columns:minmax(0,1.22fr) minmax(0,.78fr);grid-template-areas:"heading heading" "bench reference"}
  .ch-release .ch-heading {display:grid;grid-template-columns:minmax(0,1fr) minmax(0,.9fr);gap:0 3rem}
  .ch-release .ch-heading h1 {grid-row:span 2}
  .ch-capacity {grid-template-columns:minmax(0,.85fr) minmax(0,1.15fr);grid-template-areas:"heading bench" "reference bench";grid-template-rows:auto 1fr;row-gap:1.25rem}
  .ch-capacity .ch-tool .worksheet {border:1px solid var(--line);border-bottom:4px solid var(--accent)}
  .compact-home:is([data-direction=export-overlay],[data-direction=glass-metrology]) {grid-template-columns:minmax(0,.83fr) minmax(0,1.17fr);grid-template-areas:"heading heading" "reference bench"}
  .compact-home:is([data-direction=tier-card],[data-direction=offer-receipt],[data-direction=architecture-lab]) {grid-template-columns:minmax(0,1.15fr) minmax(0,.85fr);grid-template-areas:"bench heading" "bench reference"}
  .compact-home:is([data-direction=ceramic-section],[data-direction=material-index]) {grid-template-columns:minmax(0,.85fr) minmax(0,1.15fr);grid-template-areas:"reference heading" "reference bench"}
  .compact-home:is([data-direction=layer-role-map],[data-direction=buildup-cross-section]) {grid-template-columns:minmax(0,1fr) minmax(0,1fr);grid-template-areas:"reference heading" "bench bench"}
  .compact-home:is([data-direction=evidence-room],[data-direction=ict-probe-ledger],[data-direction=manufacturer-bench]) {grid-template-columns:minmax(0,.82fr) minmax(0,1.18fr);grid-template-areas:"heading heading" "reference bench"}
}
@media (max-width:63.99rem) {
  .compact-home .ch-reference {border-inline-start:0;padding-inline-start:0}
  .compact-home .ch-figure {max-width:43rem}
}
@media (max-width:40rem) {
  .compact-home {gap:1rem}
  .compact-home .ch-heading h1 {font-size:clamp(1.95rem,7.8vw,2.6rem)}
  .compact-home .ch-actions {column-gap:12px;margin-top:.65rem}
  .compact-home .ch-first-action {padding-inline:.75rem}
  .compact-home .ch-tool .worksheet {padding:14px}
  .compact-home .ch-tool .sheet-heading h2 {font-size:1.42rem}
  .compact-home .ch-tool .sheet-heading p {line-height:1.45}
  .compact-home .ch-tool .control-grid {grid-template-columns:minmax(0,1fr)}
  .compact-home .ch-tool .control-grid label {font-size:.925rem}
  .compact-home .ch-window {width:100%;max-width:none}
}
@media print {
  .compact-home {display:block}
  .compact-home .ch-region,.compact-home .ch-heading {display:block;margin-bottom:1rem}
  .compact-home :is(.ch-actions,.ch-original,.ch-zoom) {display:none}
  .compact-home .ch-window img,.compact-home .ch-zoom[open]~.ch-window img {width:100%;max-width:36rem}
}
