/* Local review pass: shared surfaces and task-focused mobile layouts.
   Ledger precision, execution states and the five existing routes remain owned by the app. */
body[data-surface="business"]{--field:#F4F7FC;--glass-solid:#fff;--r-mod:16px;--r-ctl:12px;--header-h:64px}
body[data-surface="business"] .field{background:var(--field)}
body[data-surface="business"] .field svg{display:none}
body[data-surface="business"] .mod{box-shadow:none;border:1px solid var(--hairline);background:#fff}
body[data-surface="business"] .page{padding-top:20px;padding-bottom:32px}
.hdr--compact{grid-template-columns:1fr auto;min-height:calc(64px + env(safe-area-inset-top))}
.hdr--compact .hdr-slogan{display:none}
.hdr--compact .hdr-brand b{font-size:26px}
.hdr--compact .hdr-brand img{width:32px;height:32px}
:where(body[data-surface="business"]) .btn{box-shadow:none;white-space:normal;line-height:1.4}
.btn:focus-visible,summary:focus-visible{outline:2px solid var(--blue);outline-offset:3px}
:where(body[data-surface="business"]) .empty{padding:24px 12px}
:where(body[data-surface="business"]) .empty p{font-size:14px;line-height:1.6;max-width:30em;margin-inline:auto}
:where(body[data-surface="business"]) .input{border-radius:12px}
body[data-surface="business"] .sheet{border-radius:22px 22px 0 0}
body[data-surface="business"] .sheet-head{min-height:64px}
body[data-surface="business"] .sheet-body{scroll-padding-block:24px}
body[data-surface="business"] .sheet-foot{background:#fff}
.password-visibility{flex:none;min-width:44px;min-height:44px;color:var(--ink-3)}
.password-visibility[aria-pressed="true"]{color:var(--blue);background:var(--blue-soft)}
.auth-forgot{display:block;min-height:44px;margin:8px 0 0 auto;font-size:14px}
.auth-note{font-size:12px}

/* Purchase retains its original layout in pages/buy.css and model-reference.css. */
.cp-hero summary,.resource-network summary,.ai-model-select summary{display:flex;align-items:center;justify-content:space-between;gap:12px;min-height:44px;font-size:14px;font-weight:600;cursor:pointer;list-style:none}
.cp-hero summary::-webkit-details-marker,.resource-network summary::-webkit-details-marker,.ai-model-select summary::-webkit-details-marker{display:none}
:where(body:not([data-surface="buy"])) .ref-price .cents{font-size:.84em}
:where(body:not([data-surface="buy"])) .ref-search{margin:12px 0}
:where(body:not([data-surface="buy"])) .ref-search input{font-size:16px}

/* AI uses the online layout. Model preferences remain wrapping pills. */
.ai-model-select summary>span{min-width:0;overflow-wrap:anywhere}
.ai-model-select[open] summary{margin-bottom:12px}
.ai-model-select .pref-pick [hidden]{display:none}

/* Resource catalogue: identity and state first, remaining parameters on demand. */
.page-sell .res-model{padding:14px;margin:0;border-radius:14px}
.page-sell .res-model .res-head{padding-bottom:12px;align-items:flex-start}
.page-sell .res-model .res-head .ref-logo{width:34px;height:34px;border-radius:8px}
.page-sell .res-model .res-title strong{font-size:14px}
.page-sell .res-model .res-title>span{white-space:normal;font-size:12px;line-height:1.5}
.page-sell .res-model .res-price{color:var(--blue);max-width:100px}
.page-sell .res-model .res-price .money{font-size:20px;color:var(--blue)}
.page-sell .res-model .res-price small{white-space:normal;font-size:12px;line-height:1.4}
.res-details>summary{display:flex;align-items:center;gap:6px;min-height:44px;list-style:none;cursor:pointer;font-size:13px;font-weight:750;text-transform:uppercase;color:var(--blue);grid-column:1;grid-row:2;align-self:stretch}
.res-details>summary::-webkit-details-marker{display:none}
.res-details>summary{text-wrap:balance}
.res-control>span:first-child{text-align:center;text-wrap:balance;grid-row:1;align-self:end}
.res-details[open]>summary .ico{transform:rotate(180deg)}
.res-controls{display:grid;grid-template-columns:minmax(0,1.1fr) minmax(0,.95fr) minmax(0,.95fr);grid-template-rows:auto auto;align-items:center;gap:8px 12px;border-top:1px solid var(--hairline);padding-top:12px}
.res-details>summary{min-width:0;overflow-wrap:anywhere;hyphens:auto}
.res-controls .res-details{display:contents}
.res-details::details-content{display:contents}
.res-details:not([open])>.res-kv{display:none}
.res-controls .res-kv{grid-column:1/-1;grid-row:3;margin-top:4px;padding-top:12px;border-top:1px solid var(--hairline)}
.res-control{display:contents;font-size:12px;color:var(--ink-3)}
.res-control>*{min-width:0;overflow-wrap:anywhere;grid-row:2}
.res-control:nth-child(2)>*{grid-column:2}
.res-control:nth-child(3)>*{grid-column:3}
.res-control .pill{justify-self:center;max-width:100%;white-space:nowrap;overflow-wrap:normal;text-align:center}
.res-control .btn{min-height:44px;height:auto;padding:8px 10px;font-size:12px;white-space:normal;width:100%;box-shadow:none}
.res-control .btn:disabled{background:#e8edf4;color:#7a879b;border-color:#d4dce7;opacity:1;box-shadow:none}
.res-controls .res-kv .v{color:var(--ink)}
@media(max-width:359px){.res-controls{gap:8px}.res-details>summary{font-size:11px}.res-control .btn{padding:8px;font-size:11px}.res-control{font-size:11px}.res-control .pill{font-size:11px;padding:4px 7px}}
.page-sell .res-foot[hidden]{display:none}
.page-sell .res-catalog-note{margin-bottom:16px}

/* Keep new category headings around the original account navigation. */
.me-menu>h2,.install-menu>h2{font-size:16px;line-height:1.5;font-weight:650;margin:0 0 10px}
.me-menu+.install-menu{margin-top:0}
.me-menu:has(.me-menu-group){gap:0;margin-top:24px}
.me-menu-group{border:1px solid var(--hairline-strong);border-radius:14px;background:#fff;overflow:hidden;margin-bottom:24px}
.me-menu-group .me-menu-card{min-height:68px;border:0;border-radius:0;padding:14px 16px;gap:12px}
.me-menu-group .me-menu-card+.me-menu-card{border-top:1px solid var(--hairline)}
.me-menu-group .me-menu-card strong{font-size:15px;font-weight:600}
.me-menu-group .me-menu-card small{font-size:12px;line-height:1.5}

/* Compute retains the online layout, with a flow toggle and selected cycle on cards. */
.cp-hero .cp-flow{margin-top:12px}
.dev-cycle{font-size:12px;line-height:1.5;color:var(--blue-ink);margin:12px 0 0;font-weight:600}

/* Home remains the brand surface; content and motion are preserved. */
.home-final .hv2-hero{padding-top:12px;padding-bottom:24px}
.home-final .hv2-hero h1{font-size:26px!important;line-height:1.3}
.home-final .hv2-lead{font-size:14px;line-height:1.65}
.home-why{padding:24px 16px;background:#fff;border-radius:16px}
.home-reason{display:block}
.home-reason-key{display:block;font-size:12px;margin-bottom:6px}
.home-reason h3{font-size:16px;line-height:1.5}
.home-reason p{font-size:14px;line-height:1.65}
.home-footer{padding-top:24px}
@container app (max-width:359px){
 .page-sell .res-model .res-head{display:grid;grid-template-columns:34px minmax(0,1fr)}
 .page-sell .res-model .res-price{grid-column:2;max-width:none;text-align:left}
 .home-final .hv2-hero h1{font-size:24px!important}
}
@media(prefers-reduced-motion:reduce){
 .btn,.chip,.tier-tile{transition:none}
}
