body .roi-workbench{--rw-paper:#fefcff;--rw-panel:#edf2f5;--rw-ink:#404146;--rw-line:#ccd8df;--rw-action:#1f4760}html[data-theme="dark"] body .roi-workbench,html[data-reader-theme="night"] body .roi-workbench,html[data-theme="night"] body .roi-workbench{--rw-paper:#101d26;--rw-panel:#1a2c39;--rw-ink:#f1f7fa;--rw-line:#515e67;--rw-action:#dcebf2}body .roi-workbench form,body .roi-workbench #roi-workbench-results{color:var(--rw-ink);background:var(--rw-paper)}body .roi-workbench fieldset{min-width:0;margin:0 0 18px;padding:18px;border:1px solid var(--rw-line);border-radius:8px;background:var(--rw-panel)}body .roi-workbench legend{padding:0 6px;font-weight:800;font-size:1.1rem}body .roi-workbench label{display:block;margin:0 0 16px;font-size:16px;font-weight:700;color:var(--rw-ink)}body .roi-workbench input{display:block;width:100%;min-width:0;min-height:48px;margin-top:6px;padding:9px 12px;border:1px solid var(--rw-line);border-radius:5px;background:var(--rw-paper);color:var(--rw-ink);font:inherit;font-weight:400}body .roi-workbench .rw-hint{font-size:15px;margin-top:-8px}body .roi-workbench .rw-workflows,body .roi-workbench .rw-fields{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:18px}body .roi-workbench summary,body .roi-context>summary{min-height:48px;padding:12px 0;cursor:pointer;font-weight:700}body .roi-workbench .rw-actions{display:flex;flex-wrap:wrap;gap:12px;margin:20px 0}body .roi-workbench button{min-height:48px;padding:10px 16px;border:1px solid var(--rw-line);border-radius:6px;background:var(--rw-action);color:var(--rw-paper);font:inherit;font-weight:700;cursor:pointer}body .roi-workbench button:disabled{opacity:.5;cursor:default}body .roi-workbench :is(input,button,summary):focus-visible{outline:3px solid #b88b2b;outline-offset:3px}body .roi-workbench #roi-workbench-results{border:1px solid var(--rw-line);border-radius:6px;padding:16px 20px;margin:20px 0}body .roi-nav section+section{margin-top:18px}body .roi-context{margin:12px 0 26px}body .roi-context .roi-meta{margin-top:16px}body .roi-context .roi-section{padding:20px 0}@media(max-width:600px){body .roi-workbench .rw-workflows,body .roi-workbench .rw-fields{grid-template-columns:1fr;gap:0}body .roi-workbench fieldset{padding:14px}body .roi-workbench #roi-workbench-results{padding:12px 14px}}

body .roi-workbench #roi-workbench-results{scroll-margin-top:100px}
html:root body#aiv-publication.studio #main .roi-article>.roi-context{padding:0!important;border:0!important;border-top:1px solid #ccd8df!important;border-bottom:1px solid #ccd8df!important;border-radius:0!important;background:transparent!important;margin:12px 0 22px!important}
html:root body#aiv-publication.studio #main .roi-article>.roi-context>summary{padding:14px 0!important;min-height:48px}

body .roi-workbench select{display:block;width:100%;min-height:48px;margin-top:6px;padding:9px 12px;border:1px solid var(--rw-line);border-radius:5px;background:var(--rw-paper);color:var(--rw-ink);font:inherit}body .roi-workbench select:focus-visible{outline:3px solid #b88b2b;outline-offset:3px}body .roi-workbench .rw-error{display:block;margin-top:8px;font-weight:600;font-size:15px;color:var(--rw-ink)}body .roi-workbench .rw-error[hidden]{display:none}body .roi-workbench input[aria-invalid="true"]{border:2px solid var(--rw-ink)}body .roi-workbench input{scroll-margin:120px 0}body .roi-context>summary,body .roi-workbench summary{display:flex;align-items:center;justify-content:space-between;gap:12px;list-style:none}body .roi-context>summary::-webkit-details-marker,body .roi-workbench summary::-webkit-details-marker{display:none}body .roi-context>summary .article-disclosure-chevron,body .roi-workbench summary .article-disclosure-chevron{flex-shrink:0;transition:transform .15s}body .roi-context[open]>summary .article-disclosure-chevron,body .roi-workbench details[open]>summary .article-disclosure-chevron{transform:rotate(180deg)}body .roi-context .roi-meta>div{padding:10px}body .roi-context .roi-section{padding:14px 0}@media(prefers-reduced-motion:reduce){body .roi-context>summary .article-disclosure-chevron,body .roi-workbench summary .article-disclosure-chevron{transition:none}}

body .roi-workbench #roi-workbench-results:empty{display:none}
body .roi-workbench #roi-workbench-results h3{margin:0 0 .45rem}
body .roi-workbench #roi-workbench-results p{margin:0}
body .roi-workbench .rw-early-actions{margin:0 0 1rem}
html:root body#aiv-publication #roi-workbench .rw-early-actions a{display:inline-flex;align-items:center;min-height:48px;padding:8px 16px;border:1px solid var(--rw-line);border-radius:6px;background:var(--rw-action)!important;color:var(--rw-paper)!important;font-weight:700;text-decoration:none}
body .roi-workbench .rw-early-actions a:focus-visible{outline:3px solid #b88b2b;outline-offset:3px}
body .roi-workbench #rw-edit{scroll-margin-top:72px}
body .roi-workbench .rw-costs{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;margin:12px 0}
body .roi-workbench .rw-costs div{min-width:0;padding:10px 12px;border:1px solid var(--rw-line);border-radius:5px;background:var(--rw-panel);line-height:1.35}
body .roi-workbench .rw-costs dt{font-weight:700}
body .roi-workbench .rw-costs dd{margin:0;overflow-wrap:anywhere}
body .roi-workbench .rw-costs strong{display:block;font-size:clamp(1.35rem,4vw,1.8rem);font-variant-numeric:tabular-nums}
body .roi-workbench .rw-costs span{display:block;font-size:.9rem}
body .roi-workbench #roi-workbench-results .rw-break-even{margin-bottom:8px;padding:0 0 8px;border-bottom:1px solid var(--rw-line)}
body .roi-workbench #roi-workbench-results p{font-size:1rem;line-height:1.45}
body .roi-workbench .rw-output-actions{margin:10px 0 20px}
body .roi-workbench .rw-file-actions button{background:var(--rw-paper);color:var(--rw-ink)}
body .roi-workbench .rw-edit-return{display:none}
@media(max-width:600px){
  /* Clip the article edge without making it a scroll container for the edit bar. */
  body#aiv-publication:has(.roi-workbench),
  body#aiv-publication .entry-content:has(> .roi-article > .roi-workbench),
  body#aiv-publication .roi-article:has(> .roi-workbench){overflow:clip!important}
  /* Keep the existing scroll-away masthead behavior on this article. */
  body#aiv-publication:has(.roi-workbench) header.site-header{position:relative!important}
  html:root body#aiv-publication #roi-workbench .rw-edit-bar{
    position:sticky;top:env(safe-area-inset-top,0px);z-index:2;
    display:flex;align-items:center;justify-content:space-between;gap:8px;
    margin:12px 0;padding:5px 0;border-bottom:1px solid var(--rw-line);
    background:var(--rw-paper)!important;
  }
  body .roi-workbench .rw-edit-bar h3{margin:0;font-size:1.05rem;line-height:1.2}
  body .roi-workbench .rw-edit-return{display:block;min-height:44px;padding:7px 10px;font-size:.95rem}
  body .roi-workbench .rw-output-actions{display:none}
}
