.platform-workbench {
  --work-ink:#302c25; --work-text:#5c554b; --work-rule:#cfc6b8;
  background:#f4efe7; color:var(--work-ink);
}
.platform-workbench :is(.bench-intro,.bench-layout,.bench-access) {
  width:min(90%,1470px); margin-inline:auto;
}
.bench-intro {
  display:grid; grid-template-columns:minmax(0,1.22fr) minmax(260px,.78fr);
  align-items:end; gap:32px; padding:clamp(34px,4.4vw,78px) 0 clamp(27px,3.3vw,55px);
  border-bottom:1px solid var(--work-rule);
}
.bench-eyebrow {
  margin:0; color:#695d4e; font:500 11px/1.5 Inter,Arial,sans-serif;
  letter-spacing:.1em;
}
.bench-intro h1 {
  margin:12px 0 0; color:var(--work-ink); font:400 clamp(49px,6.3vw,96px)/1.01 Ivar,Georgia,serif;
  letter-spacing:-.055em;
}
.bench-intro h1 em,.bench-access h2 em {color:#7b6550; font-weight:inherit}
.bench-intro>p {
  max-width:36em; margin:0 0 2px; text-wrap:pretty; font:400 clamp(15px,1.2vw,18px)/1.68 Inter,Arial,sans-serif;
  color:var(--work-text);
}
.bench-layout {
  display:grid; grid-template-columns:minmax(170px,.26fr) minmax(0,1fr);
  align-items:start; gap:clamp(28px,5vw,88px);
}
.bench-index {
  align-self:start; position:sticky; top:calc(var(--brand-bar-height,68px) + 1px);
  padding-top:clamp(27px,3.2vw,46px); color:var(--work-text); z-index:3;
}
@media(min-width:761px) {
  .bench-index {max-height:calc(100svh - var(--brand-bar-height,68px));overflow-y:auto}
}
.bench-index details {margin:0}
.bench-index summary {display:none}
.bench-index details>div>.bench-eyebrow {margin:0 0 12px 12px}
.bench-index a {
  display:block; color:inherit; text-decoration:none; min-height:40px;
  font:400 clamp(13px,1.05vw,16px)/1.5 Inter,Arial,sans-serif; padding:10px 12px;
  border-left:2px solid transparent;
}
.bench-index a:hover,.bench-index a:focus-visible {color:var(--work-ink);background:#eae4d9}
.bench-index a[aria-current="location"] {color:#342f25;border-left-color:#7a684f;background:linear-gradient(90deg,#e9e2d6,transparent)}
.bench-tools {min-width:0}
.bench-tool {padding:clamp(28px,3vw,46px) 0 clamp(28px,3.5vw,54px); border-bottom:1px solid var(--work-rule);min-width:0;}
.bench-tool:last-child {border-bottom:none}
.bench-heading {margin-bottom:clamp(17px,2vw,28px)}
.bench-heading h2,.bench-access h2 {margin:0;color:var(--work-ink);font:400 clamp(35px,3.6vw,59px)/1.06 Ivar,Georgia,serif;letter-spacing:-.044em}
.bench-heading p,.bench-expand>p,.bench-access .buyer-details p {margin:10px 0 0;max-width:64ch;color:var(--work-text);font:400 15px/1.65 Inter,Arial,sans-serif}
.bench-actions {display:flex;align-items:center;gap:4px 24px;flex-wrap:wrap;margin-top:14px}
.bench-link,.platform-workbench .bench-index summary,.platform-workbench .bench-expand summary,.platform-workbench .bench-calculator label {
  font:500 13px/1.5 Inter,Arial,sans-serif;
}
.bench-link {display:inline-flex;align-items:center;gap:8px;min-height:42px;color:#504635;background:none;border:0;padding:0;text-decoration:underline;text-decoration-color:#ad9b81;text-underline-offset:5px;cursor:pointer}
.bench-link:hover,.bench-link:focus-visible {color:#231f1a;text-decoration-color:currentColor}
.bench-actions .note-ref {margin-left:-16px}
.bench-link kbd {display:inline-flex;align-items:center;padding:1px 5px;border:1px solid #cec3b1;border-radius:3px;font:inherit;font-size:11px}
html:has(.platform-workbench) {scroll-padding-top:calc(var(--brand-bar-height,68px) + 6px)}
.bench-tools :is([id],.bench-tool),.bench-access {scroll-margin-top:10px}
.bench-tools .view-picker {
  margin:0; border:1px solid #cbbfae; border-radius:10px; overflow:clip;
  background:#eee7da; box-shadow:0 16px 36px -30px #56452e;
}
.bench-tools .view-picker>summary {padding:12px clamp(14px,2vw,26px);font:500 15px/1.4 Inter,Arial,sans-serif;color:#493e2f}
.bench-tools .view-picker>summary span {font-size:14px}
.bench-tools .view-picker .view-toolbar {
  display:flex;margin:0;padding:4px clamp(10px,1.5vw,20px) 10px;gap:6px 10px;align-items:center;
}
.bench-tools .layout-switch {display:inline-flex;gap:2px}
.bench-tools .layout-switch button {min-height:36px;white-space:nowrap}
.bench-tools #expand-workspace {font-size:12px;min-height:36px;margin:0 0 0 auto;white-space:nowrap}
.bench-tools .view-picker .workspace-stage {
  width:100%; min-height:0; height:clamp(360px,41vw,550px);border:0;border-radius:0;box-shadow:none;
}
.bench-tools .workspace-stage>img,.bench-tools .workspace-stage iframe {transition:none}
.bench-tools .view-picker .workspace-foot {display:flex;justify-content:space-between;gap:12px;flex-wrap:wrap;margin:0;padding:10px 16px;font:400 11px/1.6 Inter,Arial,sans-serif}
.platform-workbench .bench-tools .entry-routes {margin:0 0 10px;gap:0;border-bottom:1px solid var(--work-rule);display:flex}
.platform-workbench .bench-tools .entry-routes button {padding:8px 12px;min-height:42px;border:0;border-bottom:2px solid transparent;background:none;color:var(--work-text);font:400 13px/1.4 Inter,Arial,sans-serif}
.platform-workbench .bench-tools .entry-routes span {font:inherit}
.platform-workbench .bench-tools .entry-routes [aria-pressed=true]{border-color:#76634d;color:#392f21}
.platform-workbench .bench-tools .add-preview {width:100%;height:clamp(390px,45vw,570px);border:1px solid #cbbfae;border-radius:9px;overflow:clip}
.platform-workbench .bench-tools .preview-caption {margin:6px 0 0}
.platform-workbench .bench-tools .moment-screen {height:clamp(370px,43vw,570px)}
.bench-review {display:block}
.bench-review > div {
  min-width:0; border:1px solid #cac1b0; border-radius:10px;
  padding:clamp(18px,2.2vw,30px);
}
.bench-review .review-caption {
  margin:0 0 8px; color:#675c4b; font:500 11px/1.45 Inter,Arial,sans-serif;
  letter-spacing:.035em;
}
.bench-review h3,.bench-focus h3:first-child {margin:0 0 15px;font:400 clamp(24px,2.3vw,36px)/1.2 Ivar,Georgia,serif;color:var(--work-ink);letter-spacing:-.025em}
.bench-paper-file {
  position:relative; isolation:isolate; overflow:hidden;
  background:linear-gradient(140deg,#faf6ef,#efe7d9);
}
.bench-paper-file::after {
  content:''; position:absolute; inset:auto 0 0;
  height:5px; background:repeating-linear-gradient(to top,#c2b59f 0 1px,#f3ebde 1px 3px);
}
.file-register {margin:20px 0 17px; padding:0; list-style:none;}
.file-register li {display:flex; justify-content:space-between; align-items:center; gap:10px; border-top:1px solid #d5cabb; padding:13px 0; font:500 13px/1.4 Inter,Arial,sans-serif; color:#38332a;}
.file-register li:last-child {border-bottom:1px solid #d5cabb;}
.file-register li b {flex:none; display:inline-flex; gap:6px; align-items:center; color:#625b50; font:500 12px/1.4 Inter,Arial,sans-serif;}
.file-register li b::before {content:''; width:7px; height:7px; box-sizing:border-box; border:1px solid #928879; border-radius:50%;}
.file-register .register-signed {color:#405849;}
.file-register .register-signed::before {background:#54745d;border-color:#54745d;}
.file-register .register-due {color:#764920;}
.file-register .register-due::before {border:2px solid #a9743e;}
/* The two agreement snapshots share one timeline and their own dated calendar links. */
.bench-timeline {
  --timeline-rule:#47463e; --timeline-accent:#ead1aa;
  position:relative; isolation:isolate; min-width:0; margin:0; border:1px solid #393831; border-radius:10px;
  padding:clamp(18px,3vw,40px); background:radial-gradient(ellipse at 82% 0,#33332d 0,transparent 65%),#1a1b18;
  color:#f7f1e7; font:400 14px/1.5 Inter,Arial,sans-serif;
}
.bench-timeline>input,.bench-timeline>legend {position:absolute;width:1px;height:1px;margin:0;clip-path:inset(50%);overflow:hidden}
.timeline-mast,.timeline-actions {display:flex;align-items:center;justify-content:space-between;gap:12px;flex-wrap:wrap}
.timeline-mast {padding-bottom:14px;border-bottom:1px solid var(--timeline-rule);font-size:12px;color:#d1ccbe}
.timeline-mast span:first-child {font:400 18px/1.3 Ivar,Georgia,serif;color:#f1e8d7}
.timeline-switch {display:inline-flex;max-width:100%;margin:19px 0 0;padding:3px;gap:2px;border:1px solid var(--timeline-rule);border-radius:22px}
.timeline-switch label {display:grid;place-items:center;min-height:38px;padding:5px clamp(8px,1.4vw,20px);color:#d5d0c5;border-radius:19px;cursor:pointer;text-align:center;font:500 12px/1.3 Inter,Arial,sans-serif}
#timeline-original:checked~.timeline-switch [for=timeline-original],#timeline-amended:checked~.timeline-switch [for=timeline-amended] {background:#e8ddcb;color:#292820}
#timeline-original:focus-visible~.timeline-switch [for=timeline-original],#timeline-amended:focus-visible~.timeline-switch [for=timeline-amended] {outline:2px solid var(--timeline-accent);outline-offset:2px}
.timeline-body {display:grid;grid-template-columns:minmax(0,.94fr) minmax(0,1.06fr);gap:clamp(20px,4vw,60px);align-items:center;margin:clamp(20px,2.8vw,38px) 0}
.timeline-caption {margin:0 0 8px;color:#d5c6ae;font:500 12px/1.4 Inter,Arial,sans-serif}
.timeline-close h3 {margin:0;color:#f9f1e5;font:400 clamp(35px,3.9vw,65px)/1.04 Ivar,Georgia,serif;letter-spacing:-.045em}
.timeline-close h3 em {display:block;font-weight:400;color:var(--timeline-accent)}
.timeline-close div>p {max-width:32ch;margin:12px 0 0;color:#d7d2c6;font-size:13px;line-height:1.55}
.timeline-source {display:inline-flex;align-items:center;gap:5px;min-height:42px;margin-top:3px;color:#e8d6b9;font:500 13px/1.4 Inter,Arial,sans-serif;text-underline-offset:4px;text-decoration:underline}
.timeline-records {margin:0;border-top:1px solid var(--timeline-rule)}
.timeline-records>div {display:flex;align-items:baseline;justify-content:space-between;flex-wrap:wrap;gap:3px 10px;padding:13px 0;border-bottom:1px solid var(--timeline-rule)}
.timeline-records dt {color:#ded8cd;font-size:12px}
.timeline-records dd {margin:0;color:#f8f0df;text-align:right;font-size:13px;font-weight:500}
.timeline-records s {margin-right:6px;color:#c0b8a8;font-weight:400}
#timeline-original:checked~* .timeline-amended,#timeline-amended:checked~* .timeline-original {display:none}
.timeline-actions {border-top:1px solid var(--timeline-rule);padding-top:8px}
.timeline-actions a {display:inline-flex;align-items:center;gap:7px;min-height:44px;color:var(--timeline-accent);font:500 13px/1.4 Inter,Arial,sans-serif;text-decoration:underline;text-underline-offset:4px}
.timeline-actions a:focus-visible {outline-color:var(--timeline-accent)!important}
.timeline-actions .timeline-export {color:#d1ccbf;font-size:12px}
@media (prefers-reduced-motion:no-preference) {
  .platform-workbench:not(.paused) .timeline-close>div {animation:timeline-arrive .24s ease-out both}
  @keyframes timeline-arrive {from {opacity:.45;transform:translateY(4px)}to {opacity:1;transform:none}}
}
@media(max-width:640px) {
  .timeline-body {grid-template-columns:1fr;gap:19px}
  .timeline-close h3 em {display:inline}
  .timeline-mast {font-size:11px}
  .timeline-mast span:first-child {font-size:16px}
  .timeline-records>div {padding:9px 0}
  .timeline-actions {gap:0 13px}
}
.bench-expand {margin-top:18px;border-block:1px solid var(--work-rule)}
.bench-expand>summary {padding:13px 0;cursor:pointer;color:var(--work-ink)}
.bench-expand>iframe {width:100%;height:clamp(390px,45vw,580px);display:block;border:1px solid #cfc5b3;border-radius:8px;margin:14px 0;background:#ece5d8}
.bench-expand .bench-actions {margin:4px 0 12px}
.bench-focus {
  padding:clamp(19px,3.3vw,45px);border-radius:9px;background:radial-gradient(ellipse at top right,#33362e,#191c18 72%);color:#eee8dc;
}
.bench-focus h3:first-child {color:inherit;font-size:clamp(23px,2.45vw,38px)}
.bench-focus .followup-file {max-width:690px;margin:auto}
.bench-focus .followup-file h3 {color:#393329}
.bench-ledger {
  --file-stock:#f0e9da;--file-ink:#312d24;
  background:#242620;border-radius:9px;padding:clamp(20px,4vw,50px);
}
.bench-ledger .closing-file{max-width:710px;margin:auto}
.bench-ledger .closing-letterhead img {width:95px;height:64px;object-fit:cover;border-radius:3px}
.bench-ledger .closing-letterhead h3 {margin:5px 0 0;font:400 32px/1.15 Ivar,Georgia,serif}
.bench-ledger .closing-entry h4 {margin:6px 0;font:400 26px/1.12 Ivar,Georgia,serif;letter-spacing:-.02em}
.bench-calculator {border:1px solid #cbbfae;border-radius:9px;background:#eae3d5;padding:clamp(18px,3vw,42px)}
.bench-calculator form {width:100%;max-width:700px;display:grid;grid-template-columns:1fr 1fr;gap:20px 25px;margin:auto}
.platform-workbench .bench-calculator label {display:grid;gap:8px;color:#544a3d;text-align:left}
.bench-calculator input {width:100%;min-height:44px;padding:8px 12px;border:1px solid #a79984;border-radius:4px;background:#f7f2e9;font:500 20px/1.5 Inter,Arial,sans-serif;color:#302c25}
.bench-calculator .capacity-result{grid-column:1/-1;align-items:baseline;border-top:1px solid #c1b29c;margin:0;padding-top:20px;display:flex;gap:12px 20px;flex-wrap:wrap;color:#302c25}
.bench-calculator .capacity-result strong {font:400 clamp(44px,5.7vw,84px)/1 Ivar,Georgia,serif;letter-spacing:-.04em}
.bench-calculator .capacity-result span {font:400 14px/1.6 Inter,Arial,sans-serif}
.bench-calculator .capacity-result small {font-size:12px}
.bench-access {display:grid;grid-template-columns:1.2fr .8fr;gap:32px;align-items:center;border-top:1px solid var(--work-rule);padding:clamp(35px,5vw,76px) 0}
.bench-access h2 {max-width:17ch}
.bench-access .buyer-details {border-color:var(--work-rule);margin:0;color:var(--work-ink)}
.bench-access .buyer-details summary {font:500 14px/1.5 Inter,Arial,sans-serif}
.bench-access .buyer-details a {color:#53483b}
.platform-workbench main :is(a,button,input,select,summary):focus-visible {outline:2px solid #926535;outline-offset:3px}
@media(max-width:760px) {
  .platform-workbench :is(.bench-intro,.bench-layout,.bench-access){width:90%}
  .bench-intro,.bench-layout,.bench-access {display:block}
  .bench-intro {padding:27px 0 21px}
  .bench-intro>p {margin-top:12px;font-size:14px;line-height:1.58}
  .bench-intro h1 {margin-top:8px;font-size:clamp(45px,10vw,68px)}
  .bench-index {padding:0;background:#f4efe7;top:var(--brand-bar-height,60px);border-bottom:1px solid var(--work-rule)}
  .bench-index summary {position:sticky;top:var(--brand-bar-height,60px);display:flex;align-items:center;justify-content:space-between;gap:10px;min-height:47px;color:#382f25;cursor:pointer}
  .bench-index summary::after {content:"";width:7px;height:7px;border:solid currentColor;border-width:0 1px 1px 0;transform:translateY(-2px) rotate(45deg);margin-right:4px}
  .bench-index details[open] summary::after {transform:translateY(2px) rotate(225deg)}
  .bench-index summary::-webkit-details-marker {display:none}
  .bench-index summary span {margin-left:auto;color:#63594e;font-weight:400;font-size:12px}
  .bench-index details>div {padding:4px 0 12px;max-height:46svh;overflow:auto;overscroll-behavior:contain}
  .bench-index details>div>.bench-eyebrow {display:none}
  .bench-index a {display:flex;align-items:center;min-height:42px;padding:7px 12px}
  html:has(.platform-workbench) {scroll-padding-top:calc(var(--brand-bar-height,60px) + 49px)}
  .bench-tools .view-picker .workspace-stage {height:clamp(360px,55svh,540px)}
  .bench-tools .view-picker .view-toolbar {gap:4px 8px}
  .bench-actions {column-gap:15px}
  .bench-focus {padding:15px 10px}
  .bench-ledger {padding:18px 8px}
  .bench-access .buyer-details {margin-top:25px}
  .bench-tools #expand-workspace {margin-left:0}
  .bench-heading p {font-size:14px}
  .bench-film iframe {height:clamp(350px,65svh,550px)}
  .bench-calculator form {grid-template-columns:minmax(0,1fr)}
}
@media(max-width:370px){
  .bench-index summary span {font-size:11px}
  .platform-workbench .bench-tools .entry-routes button {font-size:12px;padding-inline:6px}
}
@media print {
  .bench-index {display:none}
  .bench-layout {display:block}
}

/* The walkthrough pairs the paper workspace with Dark intake and a Noir follow-up file. */
.platform-workbench .bench-tools .add-preview {background:#080808;border-color:#48433c}
.bench-focus {background:#171715}
.bench-focus .followup-file {background:#0c0c0c;border-color:#49453e;color:#f1eadf}
.bench-focus .followup-filehead {background:#1d1c1a}
.bench-focus .followup-filehead .brand-product {filter:brightness(0) invert(.86)}
.bench-focus .followup-filehead i,.bench-focus .followup-caption {color:#dbccba}
.bench-focus .followup-steps {border-color:#49453e}
.bench-focus .followup-steps label span {color:#c7bfb2}
.bench-focus .followup-steps label:has(:checked) span,.bench-focus .followup-file h3 {color:#faf4e9}
.bench-focus .followup-steps label:has(:checked)::after {background:#e1bf95}
.bench-focus .followup-steps label:has(:focus-visible) span {outline-color:#e8c99e}
.bench-focus .followup-caption span {color:#dfc6a6}
.bench-focus [data-ops-panel="receipt"] .followup-caption span {color:#becda8}
.bench-focus .followup-message {background:#262523}
.bench-focus .followup-file .followup-message p,.bench-focus .followup-envelope strong {color:#f1eade}
.bench-focus .followup-envelope small,.bench-focus .followup-file .followup-note {color:#d2c8ba}
.bench-focus .followup-attachment {background:#1b1b19;border-color:#625c53;color:#f1eadf}
.bench-focus .followup-attachment b,.bench-focus .followup-source {color:#e6c59f}

.bench-reference[open] {padding-bottom:16px}
.bench-reference + .bench-reference {border-top:0;margin-top:0}
