/* Shared presentation only. Keep evidence states, data and scoring untouched. */
:root{--wsh-polish-line:#345367;--wsh-polish-muted:#b2c7d5;scroll-padding-top:88px}
body{font-family:Inter,"Segoe UI",system-ui,sans-serif;text-rendering:optimizeLegibility}
:where(main,.wrap,.page,.watch-page,.apex-main){min-width:0}
:where(main,.wrap,.page,.watch-page) :where(section,article,header,form,nav,div){min-width:0}
:where(h1,h2,h3){text-wrap:balance;overflow-wrap:break-word}
:where(p,li,dd){overflow-wrap:break-word}
:where(button,input,select,textarea,summary){font-family:inherit}
:where(button,a,summary){touch-action:manipulation}
:where(button,input,select,textarea){max-width:100%}
:where(input:not([type=checkbox]):not([type=radio]),select,textarea){border-radius:8px}
:where(button,[role=button],summary){cursor:pointer}
:where(button:disabled){cursor:not-allowed}
:where(a,button,input,select,textarea,summary):focus-visible{outline:3px solid #a3efdb!important;outline-offset:3px!important}
:where(.card,.arena-card,.panel,.apex-card,.group){border-radius:14px}
.customer-intro>summary{font-size:18px;font-weight:750;color:#edf7ff;line-height:1.5}
.customer-intro[open]>summary{margin-bottom:8px}
.wsh-ecosystem{gap:8px!important;scrollbar-width:thin}
.wsh-ecosystem a{min-height:44px;display:inline-flex;align-items:center;border-radius:9px!important;padding:10px 14px!important}
.wsh-ecosystem a[aria-current=page]{background:#173e3a!important;border-color:#80d8bf!important;color:#d7fff1!important}
.wsh-table-scroll{max-width:100%;overflow-x:auto;overscroll-behavior-inline:contain;border:1px solid var(--wsh-polish-line);border-radius:10px;scrollbar-width:thin}
.wsh-table-scroll:focus-visible{outline:3px solid #a3efdb;outline-offset:3px}
.wsh-legal-footer{line-height:1.65!important}
.wsh-legal-footer nav{display:flex;justify-content:center;flex-wrap:wrap;gap:8px 18px}
.wsh-legal-footer a{display:inline-flex;align-items:center;min-height:44px}
.wsg-step-controls{display:flex;align-items:center;justify-content:space-between;gap:8px;margin:12px 0}
.wsg-step-controls button:disabled{opacity:.45;cursor:default}
.wsg-step-controls span{white-space:nowrap;color:#b9d3df;font-size:13px}
@media(hover:hover){.wsh-ecosystem a:hover,.wsh-mobile-menu-grid a:hover{border-color:#8bdcc5!important;background:#163c3c!important}.wsg-launch button:hover{background:#b4ffe6!important}}
@media(max-width:760px){
  :root{scroll-padding-top:16px}
  body>header.top{flex-wrap:wrap;align-items:center;gap:12px 18px;padding:18px 20px}
  body>header.top a:first-child{flex-basis:100%}
  .start h1{font-size:clamp(30px,9vw,44px)}
  body.wsh-app-ready{padding-bottom:calc(90px + env(safe-area-inset-bottom))!important}
  :where(main,.wrap,.page,.watch-page){max-width:100%}
  body.wsh-app-ready :where(input:not([type=checkbox]):not([type=radio]),select,textarea){font-size:16px!important;min-height:44px}
  :where(button,summary,.button,.btn){min-height:44px}
  :where(main,.wrap,.page) :where(h1){font-size:clamp(25px,7vw,34px);line-height:1.16}
  :where(main,.wrap,.page) :where(h2){line-height:1.3}
  body.wsh-app-ready .customer-start{margin:10px 0;padding:12px 14px}
  body.wsh-app-ready .customer-intro>summary{font-size:15px;min-height:24px}
  body.wsh-app-ready .word-help{font-size:13px;padding:6px 14px}
  .word-help>summary{padding:10px 0}
  .wsh-ecosystem{display:flex!important;flex-wrap:nowrap!important;overflow-x:auto;padding-bottom:8px;max-width:100%}
  .wsh-ecosystem a{white-space:nowrap;flex:0 0 auto;font-size:12px}
  .wsh-bottom-nav{padding-bottom:calc(8px + env(safe-area-inset-bottom))!important}
  .wsh-bottom-nav a,.wsh-bottom-nav button{font-size:11px!important;min-height:48px!important}
  /* Mode remains available in Tools, without a second floating control covering data. */
  body:not(.wsh-login) .wsh-plain-float{display:none!important}
  .wsh-ask-apex:not(.open){bottom:calc(78px + env(safe-area-inset-bottom))!important}
  .wsh-ask-apex:not(.open) .wsh-ask-toggle img{display:none!important}
  .wsh-ask-apex:not(.open) .wsh-ask-toggle span{display:block!important;max-width:none!important;padding:10px 12px!important;font-size:12px!important;background:#142b3a;border:1px solid #426578;border-radius:999px}
  dialog.wsh-mobile-menu{width:calc(100% - 24px);max-width:560px;max-height:calc(100dvh - 32px - env(safe-area-inset-top) - env(safe-area-inset-bottom));height:auto;inset:0;margin:auto;padding:0;border:1px solid #54758a;border-radius:16px;background:#0b1823;color:#eaf6ff;overscroll-behavior:contain}
  dialog.wsh-mobile-menu::backdrop{background:#02070bd9;backdrop-filter:blur(8px)}
  .wsh-mobile-menu-head{position:sticky;top:0;z-index:2;border:0!important}
  .wsh-mobile-menu-head button{min-width:44px}
  .wsh-mobile-menu-grid,.wsh-mobile-view-choice{border:0!important}
  .wsh-mobile-menu-grid :where(a,button){min-height:52px;padding:12px;border:1px solid #365366;border-radius:10px;background:#102634;color:#e0eff8;font:600 13px/1.5 system-ui;text-align:left;text-decoration:none}
  .wsh-mobile-menu-grid [data-phone-guide],.wsh-mobile-menu-grid a[href='/app-download.html']{grid-column:1/-1;background:#143931;border-color:#568f7c;color:#d3ffeb}
  .wsh-mobile-view-choice span{font-size:13px!important}
  .wsg-dialog{width:100%;max-width:100%;max-height:92dvh;margin:auto 0 0;border-radius:18px 18px 0 0;padding:16px 16px calc(20px + env(safe-area-inset-bottom));overscroll-behavior:contain}
  .wsg-heading{position:sticky;top:-16px;background:#0c1d2b;z-index:2;flex-direction:row;align-items:center;padding:12px 0;border-bottom:1px solid #345367}
  .wsg-heading h2{font-size:18px;line-height:1.3;margin:0}
  .wsg-heading>button{flex-shrink:0;padding:8px 10px}
  .wsg-dialog>p{font-size:14px}
  .wsg-map{display:flex;overflow-x:auto;gap:8px;padding:4px 0 12px;scroll-snap-type:x proximity;scrollbar-width:thin}
  .wsg-map li{flex:0 0 158px;scroll-snap-align:start}
  .wsg-map button{min-height:56px;font-size:13px}
  .wsg-detail{padding:14px;margin:14px 0}
  .wsg-detail p{font-size:15px;line-height:1.65}
  .wsg-depth button{flex:1;padding:9px 10px}
  .wsg-tour{bottom:calc(78px + env(safe-area-inset-bottom));max-height:45dvh}
  body:has(.wsg-tour:not([hidden])) .wsh-ask-apex{visibility:hidden}
  .wsh-table-scroll table{min-width:560px}
}
@media(prefers-reduced-motion:reduce){html{scroll-behavior:auto!important}}
.phone-page{max-width:1080px;margin:auto;padding:28px 24px 60px;color:#dcebf5;line-height:1.7}.phone-hero{padding:clamp(22px,4vw,44px);border:1px solid #426779;border-radius:20px;background:radial-gradient(ellipse at top right,#164639,#0c1d2b 70%)}.phone-eyebrow{font-size:12px;font-weight:800;letter-spacing:.14em;color:#93ecd0}.phone-hero h1{font-size:clamp(30px,5vw,48px);line-height:1.1;max-width:760px;color:#f0fff9;margin:14px 0}.phone-hero p{max-width:700px}.phone-actions{display:flex;align-items:center;flex-wrap:wrap;gap:18px;margin:24px 0}.phone-actions button{border:0;border-radius:10px;background:#96efd0;color:#08281e;padding:14px 20px;font-weight:750}.phone-actions a{color:#bcf6e2}.phone-steps,.phone-install-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px;padding:0;list-style:none;margin:24px 0}.phone-steps li,.phone-card{padding:22px;border:1px solid #36586a;border-radius:14px;background:#0e202c}.phone-steps b,.phone-steps span{display:block}.phone-steps span{margin-top:8px;color:#b7cedd}.phone-install-grid{grid-template-columns:1fr 1fr}.phone-card h2{margin-top:0;color:#eefaff}.phone-card li{margin:12px 0}.phone-card summary{color:#b7f6df}#installHelp{border-left:3px solid #8ee6c9;padding:8px 14px;font-size:14px}@media(max-width:760px){.phone-page{padding:12px 16px 32px}.phone-hero{padding:22px}.phone-steps,.phone-install-grid{grid-template-columns:1fr;gap:12px}.phone-actions{align-items:stretch;flex-direction:column}.phone-actions a{text-align:center;padding:8px}.phone-page>section{margin-top:24px}body:not(.wsh-login) .wsh-install-prompt{display:none!important}}

/* Optional orientation stays available without pushing research below the fold. */
.wsh-page-help,.wsh-workflow-details{margin:12px 0 20px;border:1px solid #345367;border-radius:12px;background:#0c1e2a;color:#c9dfea}
.wsh-page-help>summary,.wsh-workflow-details>summary{padding:13px 16px;min-height:46px;color:#b5eada;font:650 14px/1.5 system-ui;cursor:pointer}
.wsh-page-help>.customer-start{margin:0!important;border:0!important;border-top:1px solid #294659!important;border-radius:0;background:transparent!important}
.wsh-workflow-details>.apex-workflow{margin:0!important;border:0!important;border-top:1px solid #294659!important;border-radius:0 0 12px 12px}
.arena-empty .arena-link{display:inline-flex;align-items:center;min-height:44px;margin:8px 0}
.wsg-help{overscroll-behavior:contain}.wsg-help p{overflow-wrap:anywhere}
@media(max-width:760px){.wsh-page-help,.wsh-workflow-details{margin:10px 0 14px}.wsh-page-help>summary,.wsh-workflow-details>summary{font-size:13px}.wsh-table-scroll,.table-scroll,.table-wrap{scrollbar-width:thin;overscroll-behavior-inline:contain}}

.wsh-first-visit{margin:12px 0 18px;padding:16px;border:1px solid #326b5b;border-radius:14px;background:#0c1a19;color:#edf6f2}.wsh-first-visit summary{cursor:pointer;font-weight:800;font-size:16px;min-height:44px;align-content:center}.wsh-first-visit p{font-size:14px;line-height:1.6;color:#bdd0ca}.wsh-first-visit nav{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px}.wsh-first-visit a{color:#7ce8c0}.wsh-first-visit nav a{display:grid;gap:8px;padding:16px;border:1px solid #355349;border-radius:10px;text-decoration:none}.wsh-first-visit span{color:#bdd0ca;font-size:14px;line-height:1.5}.wsh-first-visit a:focus-visible{outline:3px solid #7ce8c0;outline-offset:3px}@media(max-width:700px){.wsh-first-visit nav{grid-template-columns:1fr}.wsh-first-visit{padding:12px}}

/* Audited contrast and keyboard access, release 104. */
.wsh-legal-footer>span{color:#9bb1c3!important;font-size:12px!important}
[data-checkin] small{color:#abc3d5!important}
.wsh-route-intel .hint,.wsh-route-strategies .privacy{color:#abc3d5!important}
.quest-world-scroll:focus-visible{outline:3px solid #a3efdb;outline-offset:3px}
.wsh-skip-link{position:fixed;top:8px;left:12px;z-index:99999;padding:12px 18px;background:#b4f2d4;color:#08251c;border-radius:8px;transform:translateY(-180%);font:700 14px system-ui}
.wsh-skip-link:focus{transform:translateY(0)}
.start .wsh-first-visit{margin:28px 0}.start .other-paths{margin-top:28px;border:1px solid #355349;border-radius:12px;padding:16px}.start .other-paths>summary{min-height:44px;align-content:center;cursor:pointer;color:#bce4d6;font-weight:700}.start .paths{grid-template-columns:repeat(2,minmax(0,1fr));margin-top:16px}.start .path{min-height:300px;border-radius:10px}.start .start-actions{display:flex;gap:12px;flex-wrap:wrap;margin:20px 0}.start .start-actions a{display:inline-flex;align-items:center;min-height:48px;padding:12px 18px;border-radius:9px;border:1px solid #5eac92;color:#c7fce7;text-decoration:none}.start .start-actions a:first-child{background:#9befcf;color:#09261b;font-weight:800}.start>h1{font-size:clamp(36px,6vw,68px);line-height:1.05;letter-spacing:-.045em}@media(max-width:700px){.start .paths{grid-template-columns:1fr}.start .start-actions{flex-direction:column}.start .start-actions a{justify-content:center}.start .path{min-height:auto}}


/* Whole-site consistency, with each page's existing visual identity retained. */
:where(main,[role=main]){line-height:1.55}
:where(main,[role=main]) :where(details,fieldset){min-width:0}
:where(main,[role=main]) :where(summary){line-height:1.45}
:where(button:disabled){opacity:.65}
:where(.lab-table-wrap,.ledger-table-wrap,.og-table-wrap,.table-container){max-width:100%;overflow-x:auto;overscroll-behavior-inline:contain}
:where(.tc-evidence,.guardian-panel) a{line-height:1.6}
#apexAutoCheck{margin:20px 0;padding:18px;border:1px solid #345367;border-radius:14px;background:#0b1720}
#apexAutoCheck h2{margin:0 0 8px;font-size:20px}#apexAutoCheck>p{margin:0 0 12px;color:#b2c7d5;font-size:14px}
.wsh-auto-check-details>summary{min-height:44px;padding:10px;border-radius:8px;background:#132735;color:#dbeaf2;font-weight:650}
@media(max-width:760px){:where(input:not([type=checkbox]):not([type=radio]),select,textarea){font-size:16px;min-height:44px}#apexAutoCheck{padding:12px}.wsh-auto-check-details>summary{font-size:14px}}
@media(prefers-reduced-motion:reduce){html{scroll-behavior:auto!important}:where(.wsh-ecosystem a,.wsh-mobile-menu-grid a,.card,.panel,.group){transition:none!important}}
