:root{color-scheme:light dark;--paper:#f6f7f8;--surface:#fff;--ink:#18242d;--muted:#52636c;--line:#d3dde1;--brand:#126b69;--brand-ink:#fff;--soft:#e5f1ef;--gold:#8d5a00;--shadow:0 14px 40px #142c3512;font-family:Inter,ui-sans-serif,system-ui,-apple-system,"Segoe UI",sans-serif}*{box-sizing:border-box}html{scroll-behavior:smooth;scroll-padding-top:1.5rem}body{margin:0;background:var(--paper);color:var(--ink);line-height:1.65}.editorial-page{min-height:100vh}.site-header{position:sticky;z-index:20;top:0;height:72px;padding:0 clamp(1rem,4vw,4rem);display:flex;align-items:center;gap:2rem;background:var(--surface);border-bottom:1px solid var(--line)}.brand{font-weight:800;font-size:1.3rem;color:var(--ink);text-decoration:none}.editorial-nav{display:flex;gap:1.4rem}.editorial-nav a,.editorial-actions a{color:var(--ink);text-decoration:none}.editorial-actions{margin-left:auto;display:flex;align-items:center;gap:1rem}.theme-toggle,.button{border:1px solid var(--line);border-radius:999px;padding:.55rem .9rem;background:var(--surface);color:var(--ink);font:inherit;cursor:pointer}.button{background:var(--brand);color:var(--brand-ink)!important;border-color:var(--brand);font-weight:700}.skip-content{position:absolute;left:-9999px}.skip-content:focus{left:1rem;top:1rem;background:var(--surface);z-index:40;padding:.75rem}.editorial-body{max-width:1440px;margin:auto;padding:1.5rem clamp(1rem,3vw,3rem) 4rem}.article-grid{display:grid;grid-template-columns:230px minmax(0,860px);gap:clamp(2rem,5vw,5rem);justify-content:center}.contents{position:sticky;top:90px;align-self:start;max-height:calc(100vh - 110px);overflow:auto}.contents summary{cursor:pointer;font-weight:700;padding:.65rem}.contents ol{margin:.35rem 0;padding-left:1.3rem;font-size:.85rem}.contents li{padding:.2rem 0}.contents a{color:var(--muted);text-decoration:none}.article-body{min-width:0;background:var(--surface);padding:clamp(1.2rem,4vw,3.6rem);border:1px solid var(--line);border-radius:18px;box-shadow:var(--shadow)}.breadcrumbs,.eyebrow{font-size:.76rem;letter-spacing:.09em;text-transform:uppercase;color:var(--muted);font-weight:750}h1{font-size:clamp(2.1rem,5vw,3.8rem);line-height:1.07;letter-spacing:-.045em;margin:.6rem 0 1.2rem}h2{font-size:clamp(1.6rem,3vw,2.2rem);line-height:1.2;letter-spacing:-.025em;margin-top:2.7rem}h3{font-size:1.2rem;line-height:1.3;margin-top:2rem}p,li{max-width:72ch}li+li{margin-top:.3rem}a{color:var(--brand)}code{font-size:.9em;background:var(--soft);border-radius:4px;padding:.08em .3em}.diagram{margin:1.6rem 0;padding:1rem;background:var(--soft);border-radius:14px}.diagram img{display:block;width:100%;height:auto}.diagram figcaption,.video-card figcaption{font-size:.88rem;color:var(--muted);margin-top:.7rem}.workspace{margin:1.5rem 0;padding:clamp(1rem,2.2vw,1.7rem);border:1px solid var(--line);border-radius:16px;background:var(--paper);box-shadow:var(--shadow)}.workspace-heading h2{margin:.2rem 0 .5rem}.workspace-heading>p:last-child,.hint{color:var(--muted);font-size:.91rem;margin:.4rem 0 1rem}.workspace-grid{display:grid;grid-template-columns:minmax(0,1.1fr) minmax(275px,.9fr);gap:1rem;align-items:start}.workspace-editor,.workspace-result{background:var(--surface);border:1px solid var(--line);border-radius:12px;padding:1rem;min-width:0}.field-label{font-size:.9rem;font-weight:750;display:flex;justify-content:space-between;gap:.5rem;margin:.7rem 0 .35rem}.field-label span{font-size:.75rem;color:var(--muted);font-weight:500}.workspace select,.workspace textarea{width:100%;min-width:0;border:1px solid #899ba3;border-radius:8px;background:var(--surface);color:var(--ink);font:inherit;padding:.65rem}.workspace textarea{min-height:215px;resize:vertical;font: .77rem/1.45 ui-monospace,SFMono-Regular,Menlo,monospace;overflow-wrap:anywhere}.asset-toolbar,.workspace-actions{display:flex;align-items:center;gap:.5rem;flex-wrap:wrap;margin:.75rem 0}.asset-toolbar{justify-content:space-between;padding-top:.6rem;border-top:1px solid var(--line)}button,.file-button{border:1px solid #71858d;border-radius:8px;background:var(--surface);color:var(--ink);font:600 .86rem/1.3 inherit;padding:.55rem .75rem;cursor:pointer}.workspace button,.file-button{font:600 .86rem/1.3 system-ui,sans-serif}.workspace button:hover,.file-button:hover{border-color:var(--brand);background:var(--soft)}.workspace .primary{background:var(--brand);color:#fff;border-color:var(--brand)}.file-button{display:inline-flex;align-items:center;min-height:40px}.file-button input{position:absolute;width:1px;height:1px;opacity:0;overflow:hidden}.exports{border-top:1px solid var(--line);padding-top:.65rem}.workspace-result h3{margin:.2rem 0 .5rem}.state-pill{display:inline-flex;max-width:100%;padding:.25rem .55rem;border-radius:100px;background:var(--soft);color:var(--ink);font-weight:800;font-size:.78rem;overflow-wrap:anywhere}.result-grid{display:grid;grid-template-columns:1fr 1fr;gap:.55rem;margin:.9rem 0}.metric{border:1px solid var(--line);border-radius:9px;padding:.55rem}.metric b{display:block;font-size:1.05rem}.metric small{color:var(--muted)}.next-action{border-left:4px solid var(--brand);padding:.6rem .75rem;background:var(--soft);border-radius:0 8px 8px 0}.provenance{margin-top:.8rem;border-top:1px solid var(--line);padding-top:.65rem}.provenance summary{cursor:pointer;font-weight:700}.provenance ul{font-size:.82rem;padding-left:1.2rem}.workspace [role=status]{display:block;min-height:1.5em;color:var(--muted);font-size:.85rem}.video-card{margin:1.4rem 0;background:var(--paper);border:1px solid var(--line);border-radius:14px;overflow:hidden}.video-frame{aspect-ratio:16/9;background:#101a22;color:#fff;display:grid;place-items:center}.video-fallback{text-align:center;max-width:540px;padding:1.5rem}.video-fallback button{background:#fff;color:#14242a}.video-frame iframe{width:100%;height:100%;border:0}.scene-controls{display:flex;gap:.5rem;flex-wrap:wrap;padding:1rem}.scene-controls button{font-size:.8rem}.article-footer{border-top:1px solid var(--line);margin-top:3rem;padding-top:1rem}.site-footer{max-width:1200px;margin:auto;padding:2rem;color:var(--muted);display:flex;gap:1rem;justify-content:space-between}.site-footer a{color:inherit}.theme-dark{--paper:#101a20;--surface:#18252c;--ink:#edf3f4;--muted:#b5c3c8;--line:#35474f;--brand:#70d3c2;--brand-ink:#10221f;--soft:#263c3d;--gold:#ffca75;color-scheme:dark}.theme-dark .workspace .primary{color:#10221f}.theme-dark .video-fallback button{background:#edf3f4;color:#14242a}html{scroll-padding-top:90px}h1[id],h2[id],h3[id],h4[id]{scroll-margin-top:90px} :focus-visible{outline:3px solid #e49a2c;outline-offset:3px}@media(max-width:860px){.article-grid{display:block}.contents{position:sticky;top:72px;z-index:12;max-height:none;background:var(--surface);border:1px solid var(--line);border-radius:10px;margin-bottom:1rem}.contents details:not([open]) ol{display:none}.contents details[open] ol{max-height:55vh;overflow:auto}.workspace-grid{grid-template-columns:1fr}.article-body{padding:1.2rem}.editorial-body{padding:1rem}.site-header{height:64px}.editorial-nav{display:none}.contents{top:64px}}@media(max-width:420px){.article-body{padding:1rem}.workspace{padding:.7rem}.workspace-editor,.workspace-result{padding:.75rem}.workspace-actions>*{flex:1 1 auto}.scene-controls button{flex:1 1 44%}.result-grid{gap:.35rem}.metric{padding:.45rem}.editorial-actions{gap:.4rem}.editorial-actions .button{font-size:.78rem;padding:.45rem .6rem}.workspace textarea{font-size:.69rem}}@media(prefers-reduced-motion:reduce){html{scroll-behavior:auto}*,*::before,*::after{animation-duration:.01ms!important;transition-duration:.01ms!important}}

@media(max-width:860px){.workspace-result{order:-1}}

/* opening-task first-viewport repair */
.opening-task{display:grid;grid-template-columns:minmax(170px,.7fr) minmax(0,1.6fr) auto;gap:.75rem;align-items:end;margin:.8rem 0 1rem;padding:.8rem;border:1px solid var(--line);border-radius:12px;background:var(--surface)}.opening-task .field-label{margin:0 0 .25rem}.opening-answer{min-width:0}.opening-next{margin:.35rem 0 .25rem;font-size:.9rem;line-height:1.35}.opening-provenance{margin:0;color:var(--muted);font-size:.76rem;line-height:1.35}.opening-task>.primary{min-height:42px}
@media(max-width:860px){.opening-task{grid-template-columns:1fr auto;align-items:end}.opening-answer{grid-column:1/-1;grid-row:1}.opening-path{grid-column:1}.opening-task>.primary{grid-column:2}}
@media(max-width:420px){h1{font-size:1.75rem;line-height:1.08;margin:.35rem 0 .7rem}.breadcrumbs{margin:.15rem 0}.workspace{margin:.75rem 0;padding:.65rem}.workspace-heading .eyebrow{margin:.1rem 0}.workspace-heading h2,.workspace-heading>p:last-child{position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%)}.opening-task{display:grid;grid-template-columns:1fr;margin:.4rem 0 .75rem;padding:.6rem;gap:.45rem}.opening-answer,.opening-path,.opening-task>.primary{grid-column:1}.opening-answer{grid-row:auto}.opening-next{font-size:.82rem;margin:.3rem 0 .2rem}.opening-provenance{font-size:.68rem}.opening-task>.primary{min-height:38px}}

/* final-fragment scroll room */
.article-footer{min-height:240px}

/* guided buyer-facing editor */
.workspace input{width:100%;min-width:0;border:1px solid #899ba3;border-radius:8px;background:var(--surface);color:var(--ink);font:inherit;padding:.65rem}
.guided-form,.workspace-grid,.form-grid,#asset-forms{min-width:0;max-width:100%}
.guided-form fieldset{min-width:0;max-width:100%;overflow:hidden;margin:0 0 1rem;padding:.85rem;border:1px solid var(--line);border-radius:10px}
.guided-form legend{font-weight:800;padding:0 .35rem}
.form-grid{display:grid;grid-template-columns:1fr 1fr;gap:.7rem}
.form-grid label{display:block;font-size:.82rem;font-weight:720}
.form-grid label.full,.form-grid label.check{grid-column:1/-1}
.form-grid label.check{display:flex;align-items:center;gap:.55rem}
.form-grid label.check input{width:auto}
.asset-card{background:var(--paper)}
.advanced-record{border-top:1px solid var(--line);margin-top:1rem;padding-top:.75rem}
.advanced-record summary{cursor:pointer;font-weight:700}
.file-button input{position:absolute!important;width:1px!important;height:1px!important;min-width:1px!important;padding:0!important;opacity:0;overflow:hidden}
.provenance,.provenance li{overflow-wrap:anywhere}
html[data-assignee="PARTNER"] .person-only{display:none}
html[data-assignee="PERSON"] .partner-only{display:none}
@media(max-width:860px){.form-grid{grid-template-columns:1fr}}

/* comparison repair: compact complete first view and readable full-width editor */
.workspace-grid{grid-template-columns:1fr}
.workspace-result{order:-1}
.official-destinations{display:flex;align-items:center;gap:.45rem;flex-wrap:wrap;margin:0 0 .7rem;font-size:.78rem}
.official-destinations a{display:inline-flex;padding:.28rem .48rem;border:1px solid var(--line);border-radius:999px;background:var(--surface);text-decoration:none}
.workspace-heading{position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%)}
.opening-task{grid-template-columns:minmax(150px,.58fr) minmax(0,1.75fr) auto;gap:.65rem;margin:.35rem 0 .8rem;padding:.65rem}
.opening-organization{font-weight:800;margin:.2rem 0 0}
.opening-metrics{display:flex;gap:.4rem;flex-wrap:wrap;margin:.2rem 0;font-size:.7rem;color:var(--muted)}
.opening-metrics span{padding:.18rem .35rem;border:1px solid var(--line);border-radius:6px}
.opening-metrics b{color:var(--ink)}
.opening-next{margin:.25rem 0 .15rem;font-size:.84rem;line-height:1.3}
.opening-provenance{font-size:.68rem;line-height:1.25}
.opening-task>.primary{min-height:40px}
@media(max-width:420px){
  h1{font-size:1.68rem;line-height:1.06;margin:.3rem 0 .55rem}
  .breadcrumbs{margin:.1rem 0}
  .workspace{margin:.55rem 0;padding:.55rem}
  .official-destinations{gap:.28rem;margin-bottom:.45rem;font-size:.69rem}
  .official-destinations a{padding:.18rem .32rem}
  .opening-task{margin:.25rem 0 .6rem;padding:.5rem;gap:.3rem}
  .opening-metrics{gap:.25rem;font-size:.63rem}
  .opening-next{font-size:.75rem;margin:.2rem 0 .12rem}
  .opening-provenance{font-size:.6rem}
  .opening-task>.primary{min-height:36px;padding:.4rem .6rem}
}
.article-meta{margin:-.35rem 0 .7rem;color:var(--muted);font-size:.82rem}

/* 320px first-view refinement */
.official-destinations{flex-wrap:nowrap;overflow-x:auto;white-space:nowrap;scrollbar-width:thin}
@media(max-width:420px){
  h1{font-size:1.48rem;line-height:1.03}
  .article-body{padding:.72rem}
  .editorial-body{padding:.55rem}
  .contents{margin-bottom:.45rem}
  .official-destinations{margin-bottom:.35rem;flex-wrap:wrap;overflow:visible;white-space:normal}
  .opening-task{grid-template-columns:minmax(125px,1fr) minmax(105px,.8fr)}
  .opening-answer{grid-column:1/-1;grid-row:1}
  .opening-path{grid-column:1;grid-row:2}
  .opening-task>.primary{grid-column:2;grid-row:2;align-self:end;white-space:nowrap}
}

/* Production-shell opening contract. The shared editorial shell uses larger
   type and paragraph margins than the standalone packet, so keep the task
   answer compact after integration without changing the rest of the guide. */
.editorial-body .article-grid>.article-body{margin-top:.75rem}
.article-body>.breadcrumbs{margin:0 0 .2rem;line-height:1.35}
.article-body>.article-meta{margin:0 0 .35rem;line-height:1.35}
.article-body>h1{font-size:clamp(2rem,4.2vw,3rem);line-height:1.02;margin:.25rem 0 .65rem}
.article-body>.workspace{margin:.65rem 0;padding:.75rem;font-size:15px;line-height:1.35}
.article-body .official-destinations{margin:0 0 .5rem;line-height:1.2}
.article-body .official-destinations a{line-height:1.15}
.article-body .opening-task{margin:.25rem 0 .65rem;line-height:1.3}
.article-body .opening-task p{margin:.16rem 0;line-height:1.3}
.article-body .opening-task .state-pill{line-height:1.25}
.article-body .opening-task .field-label{line-height:1.25}
.article-body .opening-metrics{line-height:1.25}

@media(max-width:860px){
  .editorial-body .article-grid>.article-body{margin-top:.55rem;padding-top:.45rem}
  .article-body>.breadcrumbs{font-size:.68rem;white-space:nowrap}
  .article-body>.article-meta{font-size:.7rem}
  .article-body>h1{font-size:1.72rem;line-height:1.02;margin:.18rem 0 .45rem}
  .article-body>.workspace{margin:.4rem 0;padding:.5rem}
  .article-body .official-destinations{gap:.25rem;margin:0 0 .35rem;font-size:.65rem;line-height:1.1}
  .article-body .official-destinations a{padding:.18rem .28rem}
  .article-body .opening-task{padding:.45rem;gap:.3rem;margin:.2rem 0 .45rem}
  .article-body .opening-organization{font-size:.78rem;line-height:1.2}
  .article-body .opening-metrics{font-size:.61rem;gap:.2rem}
  .article-body .opening-next{font-size:.72rem;line-height:1.2}
  .article-body .opening-provenance{font-size:.58rem;line-height:1.2}
  .article-body .opening-task .field-label{font-size:.7rem;margin:0 0 .15rem}
  .article-body .opening-task select{font-size:.78rem;padding:.4rem;min-height:36px}
}

@media(max-width:420px){
  .editorial-body .article-grid>.article-body{padding-right:.65rem;padding-left:.65rem}
  .article-body>h1{font-size:1.48rem}
  .article-body .official-destinations{flex-wrap:wrap;overflow:visible;white-space:normal}
  .article-body .official-destinations strong{flex-basis:100%}
}

/* The production shell stores its theme on data-reading-theme. Keep the
   standalone class contract too, and let the shared toggle own integrated pages. */
html[data-reading-theme="dark"]{--paper:#101a20;--surface:#18252c;--ink:#edf3f4;--muted:#b5c3c8;--line:#35474f;--brand:#70d3c2;--brand-ink:#10221f;--soft:#263c3d;--gold:#ffca75;color-scheme:dark}
html[data-reading-theme="dark"] .workspace .primary{color:#10221f}
html[data-reading-theme="dark"] .video-fallback button{background:#edf3f4;color:#14242a}
.workspace .primary:hover{background:var(--brand);color:var(--brand-ink);border-color:var(--brand)}

/* Fresh integrated mobile review: contain long native task identifiers and
   let every grid control shrink to the actual asset-card column. */
.opening-organization,.opening-next,.next-action,.workspace-result,.workspace-result p,.workspace-result .hint{min-width:0;max-width:100%;overflow-wrap:anywhere;word-break:break-word}
.form-grid>*{min-width:0;max-width:100%}
.form-grid label,.form-grid input,.form-grid select{min-width:0!important;max-width:100%!important;width:100%!important}
.form-grid label.check input{width:auto!important}

@media(max-width:760px){
  .editorial-page .site-header.editorial-header{gap:.75rem}
  .editorial-page .site-header.editorial-header .editorial-nav{display:none}
  .editorial-page .site-header.editorial-header .brand{flex:0 0 108px;min-width:108px}
  .editorial-page .site-header.editorial-header .brand img{display:block;width:108px;height:auto;max-width:108px}
  .editorial-page .site-header.editorial-header .editorial-actions{margin-left:auto;flex:0 0 auto}
  .article-body>.breadcrumbs{white-space:normal;overflow-wrap:anywhere}
}

@media(max-width:360px){
  .editorial-page .site-header.editorial-header .brand{flex-basis:86px;min-width:86px;font-size:1.05rem}
  .editorial-page .site-header.editorial-header .brand img{width:86px;max-width:86px}
  .editorial-page .site-header.editorial-header .editorial-actions{gap:.3rem}
  .editorial-page .site-header.editorial-header .theme-toggle{width:40px;height:40px;padding:0;font-size:0}
  .editorial-page .site-header.editorial-header .theme-toggle svg{display:none}
  .editorial-page .site-header.editorial-header .theme-toggle::after{content:"◐";font-size:16px;line-height:1}
  .editorial-page .site-header.editorial-header .button{font-size:.72rem;padding:.42rem .55rem}
}
