/* Approved domain composition is independent of capability completeness.
   Pilot opt-in only. Locked v1 consumers and data contracts are unchanged. */
html[data-design-system="vnext"] .to-global-shell[data-workspace][data-theme] {
  .to-shell-main { height:auto; min-height:calc(100dvh - 72px); overflow:visible; padding:0 20px 28px 22px; }
  .to-shell-topbar { position:sticky; display:flex; height:72px; }
  .to-shell-sidebar { display:flex; flex-direction:column; }
  .to-shell-sidebar__lower { position:relative; min-height:0; margin-top:auto; padding:16px 0; }
  .to-shell-profile-compact { position:static; }
  .to-shell-today-weather { display:grid!important; grid-template-columns:24px 80px; grid-template-rows:24px 28px; gap:0 8px; min-width:112px; width:112px; flex:none; margin:0; color:var(--to-text-secondary); }
  .to-shell-today-weather>.to-icon { grid-row:1/3; }
  .to-shell-today-weather strong { grid-column:2; grid-row:1; font-size:18px; line-height:24px; }
  .to-shell-today-weather span { font-size:10px; line-height:14px; max-width:90px; white-space:normal; }
  .to-shell-today-weather :is(strong,span,.to-icon) { position:static!important; inset:auto!important; width:auto; }
  .to-shell-today-weather span { grid-column:2; grid-row:2; }
  .to-shell-today-clock { display:grid!important; grid-template-columns:1fr; min-width:150px; gap:2px; border:0; padding:0; }
  .to-shell-today-clock :is(span,strong) { position:static!important; grid-column:1; width:auto!important; margin:0; }
  .to-shell-quick-search.to-button { width:clamp(280px,calc(100vw - 978px),558px)!important; flex:0 1 auto; }
  .to-shell-today-context { gap:16px; }
  .to-shell-today-context>:is(.to-shell-today-weather,.to-shell-today-clock,.to-shell-today-company) { position:static!important; inset:auto!important; transform:none!important; }
  .to-shell-today-clock { flex:none; width:150px; }
  .to-shell-today-company { flex:none; width:264px; min-width:264px; }
  .to-shell-today-company>div { min-width:0; flex:1; }
  .to-shell-today-company span { display:block; white-space:normal; }
  .to-shell-quick-search.to-button { min-width:0; }
  .to-shell-nav__item { min-height:44px; }
  .to-today { position:relative; height:auto; min-height:952px; display:grid; grid-template-columns:minmax(0,1fr) 333px; grid-template-rows:110px 113px 355px 249px; grid-template-areas:"hero hero" "kpis ." "pulse ." "decisions ."; gap:16px; }
  .to-today-hero { position:relative; display:grid; grid-template-columns:552px 360px minmax(0,1fr); height:110px; min-height:110px; padding:8px 10px 0; gap:28px; overflow:hidden; background:none; }
  .to-today-hero h1 { font-size:43px; line-height:48px; font-weight:600; letter-spacing:-.045em; transform:none; }
  .to-today-eyebrow { font-size:12px; line-height:14px; margin:0 0 5px; }
  .to-today-hero__lead { font-size:18px; line-height:22px; margin:0; transform:none; }
  .to-today .to-today-hero__field { display:block; position:absolute; left:auto; right:0; top:0; width:610px; height:126px; }
  .to-today-hero__aside { display:flex; justify-content:flex-start; }
  .to-today-hero__manifesto { min-width:0; width:250px; padding-left:62px; border:0; }
  .to-today-hero__brand-card { display:grid; position:absolute; inset:24px 6px auto auto; width:274px; height:78px; min-height:78px; grid-template-columns:56px 1fr 32px; padding:10px; gap:10px; border-radius:12px; background:var(--to-bg-surface); color:var(--to-text-primary); }
  .to-today-hero__brand-card img { width:56px; height:54px; }
  .to-today-hero__brand-card strong { font-size:12px; line-height:18px; }
  .to-today-hero__brand-card span { display:grid; place-items:center; width:32px; height:32px; background:var(--to-bg-selected); color:var(--to-action-primary); border-radius:50%; }
  .to-today-block { position:relative; width:auto; min-height:0; padding:14px 20px; background:var(--to-bg-surface); border:1px solid var(--to-border-default); border-radius:12px; box-shadow:var(--to-shadow-raised); }
  .to-today-block__header { position:static; width:auto; min-height:42px; margin:0 0 7px; }
  .to-today-block__header h2 { font-size:22px; line-height:28px; letter-spacing:-.04em; }
  .to-today-block--kpis { grid-area:kpis; padding:0; border:0; height:113px; background:var(--to-bg-surface)!important; }
  .to-today-block--kpis>header { display:none; }
  .to-today-block--kpis>div:last-child { display:grid; grid-template-columns:287fr 273fr 210fr 203fr; height:113px; gap:0; }
  .to-today-block--kpis .to-kpi.to-vnext-kpi[data-density] { height:113px; min-height:113px; grid-template-columns:48px minmax(0,1fr); grid-template-rows:auto auto auto; padding:16px 14px; gap:2px 10px; border:0; border-radius:0; background:transparent; box-shadow:none; }
  .to-today-block--kpis .to-kpi+.to-kpi { border-left:1px solid var(--to-border-default); }
  .to-today-block--kpis .to-kpi.to-vnext-kpi[data-density]>.to-today-kpi__icon { width:48px; height:48px; grid-column:1; grid-row:1/4; border-radius:50%; }
  .to-today-block--kpis .to-kpi.to-vnext-kpi[data-density]>:is(.to-card__meta,.to-kpi__value,.to-kpi__delta) { grid-column:2; margin:0; position:static; font-size:11px; line-height:14px; }
  .to-today-block--kpis .to-kpi.to-vnext-kpi[data-density]>.to-card__meta { grid-area:auto; }
  .to-today-block--kpis .to-kpi.to-vnext-kpi[data-density]>.to-kpi__value { grid-row:1; font-size:24px; line-height:28px; }
  .to-today-block--kpis .to-kpi.to-vnext-kpi[data-density]>.to-card__meta { grid-row:2; }
  .to-today-block--kpis .to-kpi.to-vnext-kpi[data-density]>.to-card__meta:last-of-type { grid-row:3; }
  .to-today-block--kpis .to-kpi.to-vnext-kpi[data-density]>.to-kpi__delta { display:none; }
  .to-today-provenance { display:none; }
  .to-today-block--pulse { grid-area:pulse; height:355px; }
  .to-today-pulse { display:block; position:static; height:272px; }
  .to-today-pulse__plot { width:calc(100% - 190px); padding:0; position:static; }
  .to-today-pulse__controls { position:absolute; top:15px; right:20px; left:auto; display:flex; gap:8px; margin:0; height:36px; }
  .to-today-pulse__tabs { display:flex; height:36px; background:var(--to-bg-subtle); }
  .to-today-pulse__tabs span { min-width:64px; padding:10px 12px; font-size:11px; line-height:16px; color:var(--to-text-secondary); }
  .to-today-pulse--unavailable .to-today-pulse__tabs .is-active { background:var(--to-bg-selected); color:var(--to-text-secondary); box-shadow:none; }
  .to-today-pulse__period { min-height:36px; padding:8px 12px; border:1px solid var(--to-border-default); border-radius:8px; font-size:12px; }
  .to-today-pulse__period { display:flex; align-items:center; justify-content:space-between; gap:12px; width:151px; }
  .to-today-pulse__controls>.to-button { width:36px; min-width:36px; height:36px; min-height:36px; padding:8px; }
  .to-today-pulse__empty { margin-top:24px; min-height:188px; height:188px; display:grid; place-content:center; text-align:center; gap:8px; padding:20px; border-bottom:1px solid var(--to-border-default); background:repeating-linear-gradient(to bottom,transparent 0,transparent 43px,var(--to-border-default) 44px,transparent 45px); }
  .to-today-pulse__empty>.to-icon { justify-self:center; color:var(--to-action-primary); }
  .to-today-pulse__empty strong { font-size:15px; line-height:22px; }
  .to-today-pulse__empty span { font-size:12px; line-height:18px; }
  .to-today-pulse__summary { position:absolute; top:72px; right:20px; width:175px; height:268px; min-height:0; padding:0; display:grid; grid-template-columns:1fr; align-content:start; gap:8px; background:none; border:0; }
  .to-today-pulse__empty-ring { width:150px; height:150px; margin:0 auto; display:grid; place-items:center; border:10px solid var(--to-bg-subtle); border-radius:50%; background:none; font-size:34px; color:var(--to-text-secondary); }
  .to-today-pulse__summary>strong { text-align:center; font-size:12px; line-height:18px; }
  .to-today-pulse__summary dl { margin:0; display:grid; gap:8px; }
  .to-today-pulse__summary dl>div { display:flex; justify-content:space-between; }
  .to-today-pulse__summary :is(dt,dd) { margin:0; font-size:12px; line-height:18px; }
  .to-today-pulse__legend { position:static; display:flex; justify-content:center; gap:20px; margin-top:14px; font-size:11px; color:var(--to-text-secondary); }
  .to-today-block--decisions { grid-area:decisions; height:249px; }
  .to-today-block--schedule { position:absolute; top:126px; right:0; width:333px; height:407px; }
  .to-today-block--attention { position:absolute; top:550px; right:0; width:333px; height:336px; }
  .to-today-block--decisions .to-today-state { min-height:155px; }
  .to-today-block--schedule .to-today-state { min-height:307px; }
  .to-today-block--attention .to-today-state { min-height:195px; }
  .to-today-state { display:grid; align-content:center; justify-items:start; gap:8px; border:0; background:var(--to-bg-canvas); border-radius:8px; padding:20px; }
  .to-today-state strong { font-size:16px; line-height:22px; }
  .to-today-state span { font-size:13px; line-height:20px; }
  .to-today-attention-content>.to-button { width:100%; margin-top:12px; }
  .to-today-block--signals,.to-today-action-status { display:none; }

  .to-sales[data-sales-section="overview"] { position:relative; }
  .to-sales[data-sales-section="overview"] .to-sales-hero { display:grid; position:relative; height:121px; min-height:121px; padding:12px 8px; grid-template-columns:minmax(0,1fr) 285px; gap:16px; background:url('/sales/assets/vr1-sales-hero-field.png') right top / 666px 121px no-repeat; }
  .to-sales[data-sales-section="overview"] .to-sales-hero h1 { font-size:37px; line-height:40px; letter-spacing:-.045em; }
  .to-sales[data-sales-section="overview"] .to-sales-hero__lead { margin:6px 0 0; font-size:16px; line-height:22px; }
  .to-sales[data-sales-section="overview"] .to-sales-hero__statement { visibility:hidden; }
  .to-sales[data-sales-section="overview"]>.to-tabs>.to-tabs__list { position:absolute; top:231px; left:6px; width:496px; height:34px; min-height:34px; padding:0; margin:0; gap:0; z-index:3; background:var(--to-bg-subtle); border:0; border-radius:8px; }
  .to-sales[data-sales-section="overview"]>.to-tabs>.to-tabs__list .to-tabs__tab { min-height:34px; height:34px; min-width:0; padding:0 9px; font-size:11px; line-height:16px; flex:none; }
  .to-sales[data-sales-section="overview"]>.to-tabs>.to-tabs__panel { padding:0; }
  .to-sales .to-sales-overview { display:grid; grid-template-columns:minmax(0,1fr) 312px; grid-template-rows:86px 54px 454px 164px; grid-template-areas:"kpis actions" "toolbar attention" "funnel attention" "analytics attention"; gap:14px; margin:0; }
  .to-sales .to-sales-block { min-height:0; height:auto; padding:12px; border-radius:10px; overflow:visible; }
  .to-sales .to-sales-block__header { margin:0 0 8px; }
  .to-sales .to-sales-block__header h2 { font-size:14px; line-height:20px; letter-spacing:-.02em; }
  .to-sales .to-sales-block__header p { display:none; }
  .to-sales .to-sales-block--kpis { grid-area:kpis; grid-column:1; height:86px; padding:0; border:0; background:var(--to-bg-surface); overflow:visible; }
  .to-sales .to-sales-block--kpis>header { display:none; }
  .to-sales .to-sales-block--kpis>div:last-child { display:grid; grid-template-columns:repeat(4,minmax(0,1fr)); height:86px; gap:0; }
  .to-sales .to-sales-block--kpis .to-kpi.to-vnext-kpi[data-density] { height:86px; min-height:86px; padding:12px; grid-template-columns:48px minmax(0,1fr); grid-template-rows:auto auto; gap:4px 10px; border:0; border-radius:0; background:transparent; }
  .to-sales .to-sales-block--kpis .to-kpi.to-vnext-kpi[data-density]>.to-sales-kpi-icon { width:48px; height:48px; grid-row:1/3; border-radius:50%; }
  .to-sales .to-sales-block--kpis .to-kpi.to-vnext-kpi[data-density]>.to-kpi__value { grid-area:auto; grid-column:2; grid-row:1; margin:0; font-size:22px; line-height:26px; white-space:nowrap; overflow-wrap:normal; }
  .to-sales .to-sales-block--kpis .to-kpi.to-vnext-kpi[data-density]>.to-card__meta { grid-area:auto; grid-column:2; grid-row:2; margin:0; font-size:11px; line-height:14px; }
  .to-sales .to-sales-block--kpis .to-kpi.to-vnext-kpi[data-density]>.to-card__meta::before,.to-sales .to-sales-block--kpis .to-kpi.to-vnext-kpi[data-density]>.to-card__meta::after { content:none; }
  .to-sales .to-sales-block--kpis .to-kpi.to-vnext-kpi[data-density]>.to-card__meta:last-of-type,.to-sales .to-sales-block--kpis .to-kpi.to-vnext-kpi[data-density]>.to-kpi__delta { display:none; }
  .to-sales .to-sales-provenance { display:none; }
  .to-sales .to-sales-reference-toolbar { grid-area:toolbar; grid-column:1; height:54px; min-height:0; padding:6px; gap:6px; justify-content:flex-end; flex-wrap:nowrap; border:0; background:var(--to-bg-surface); }
  .to-sales .to-sales-reference-toolbar__label,.to-sales .to-sales-reference-toolbar__mode { display:none; }
  .to-sales .to-sales-reference-toolbar .to-button { min-height:36px; height:36px; padding:0 8px; font-size:10px; }
  .to-sales .to-sales-stage-mapping-note { position:absolute; top:745px; left:12px; font-size:10px; color:var(--to-text-secondary); }
  .to-sales .to-sales-block--funnel { grid-area:funnel; grid-column:1; height:454px; padding:0 8px 8px; border:0; }
  .to-sales .to-sales-block--funnel>header { display:none; }
  .to-sales .to-sales-funnel { display:grid; grid-template-columns:repeat(5,minmax(0,1fr)); height:434px; gap:8px; }
  .to-sales .to-sales-funnel__stage { display:flex; flex-direction:column; padding:8px 6px; height:434px; min-height:0; border:0; border-radius:8px; background:var(--to-bg-canvas); overflow:hidden; }
  .to-sales .to-sales-funnel__heading { min-height:28px; padding:0; border:0; }
  .to-sales .to-sales-funnel__heading strong { font-size:12px; line-height:16px; }
  .to-sales .to-sales-funnel__stage>small { display:block; margin:0 0 6px; min-height:14px; font-size:10px; line-height:14px; }
  .to-sales .to-sales-funnel__bar { display:none; }
  .to-sales .to-sales-funnel__items { display:grid; gap:8px; flex:1; min-height:0; max-height:none; align-content:start; overflow-y:auto; margin:0; }
  .to-sales .to-sales-funnel__item { height:auto; min-height:103px; padding:8px; gap:4px; background:var(--to-bg-surface); border:1px solid var(--to-border-default); border-radius:8px; }
  .to-sales .to-sales-funnel__identity strong { white-space:normal; font-size:11px; line-height:15px; }
  .to-sales .to-sales-funnel__identity em { display:none; }
  .to-sales .to-sales-funnel__item :is(span,small) { font-size:10px; line-height:14px; white-space:normal; overflow:visible; text-overflow:clip; }
  .to-sales .to-sales-funnel__item .to-sales-funnel__footer { align-items:start; }
  .to-sales .to-sales-funnel__item .to-sales-funnel__footer b { font-size:11px; }
  .to-sales .to-sales-funnel__stage>.to-button { min-height:36px; margin-top:10px; width:100%; font-size:10px; }
  .to-sales .to-sales-funnel__stage>.to-sales-state { flex:1; display:grid; align-content:center; padding:12px; border:1px dashed var(--to-border-default); font-size:11px; line-height:16px; background:none; }
  .to-sales .to-sales-funnel__stage>.to-sales-state strong { font-size:12px; line-height:18px; }
  .to-sales .to-sales-block--actions { grid-area:actions; grid-column:2; height:66px; padding:10px; background:var(--to-bg-surface); }
  .to-sales .to-sales-block--actions>header { display:none; }
  .to-sales .to-sales-actions { display:flex; gap:6px; height:44px; }
  .to-sales .to-sales-actions>.to-button { flex:1; font-size:11px; padding:0 8px; min-height:44px; }
  .to-sales .to-sales-block--attention { grid-area:attention; grid-column:2; height:624px; margin-top:-26px; padding:0; border:0; background:none; box-shadow:none; }
  .to-sales .to-sales-block--attention>header { display:none; }
  .to-sales .to-sales-reference-rail { display:grid; gap:12px; }
  .to-sales .to-sales-reference-rail>section { height:293px; min-height:0; padding:14px; background:var(--to-bg-surface); border:1px solid var(--to-border-default); border-radius:10px; }
  .to-sales .to-sales-reference-rail h3 { font-size:16px; line-height:22px; }
  .to-sales .to-sales-reference-today .to-sales-state { display:grid; align-content:center; min-height:215px; border:0; background:var(--to-bg-canvas); padding:14px; }
  .to-sales .to-sales-reference-today .to-sales-state strong { font-size:14px; }
  .to-sales .to-sales-reference-ai { height:320px!important; }
  .to-sales .to-sales-reference-ai>.to-button { min-height:32px; height:32px; margin-top:6px; }
  .to-sales .to-sales-reference-insights { display:grid; gap:6px; }
  .to-sales .to-sales-reference-insight { display:grid; grid-template-columns:24px minmax(0,1fr) 32px; min-height:72px; height:auto; gap:6px; padding:7px; background:var(--to-bg-canvas); }
  .to-sales .to-sales-reference-insight>.to-button { grid-column:3; min-height:32px; width:32px; min-width:32px; padding:0; }
  .to-sales[data-sales-section="overview"] .to-sales-reference-insight__icon { width:24px; height:24px; background:var(--to-bg-selected); color:var(--to-action-primary); }
  .to-sales[data-sales-section="overview"] .to-sales-reference-insight__icon .to-icon { width:16px; height:16px; }
  .to-sales .to-sales-reference-insight strong { font-size:11px; line-height:14px; }
  .to-sales .to-sales-reference-insight p { font-size:10px; line-height:14px; margin:2px 0 0; }
  .to-sales .to-sales-analytics-row { grid-area:analytics; display:grid; grid-template-columns:1.2fr 1.4fr 1fr .84fr; gap:12px; height:164px; }
  .to-sales .to-sales-analytics-row>.to-sales-block { grid-area:auto; grid-column:auto; height:164px; padding:12px; overflow-y:auto; }
  .to-sales .to-sales-analytics-row .to-sales-state { display:grid; gap:4px; padding:10px; border:0; border-radius:8px; background:var(--to-bg-canvas); font-size:10px; line-height:14px; }
  .to-sales .to-sales-analytics-row .to-sales-state strong { font-size:12px; line-height:16px; }
  .to-sales .to-sales-source-donut { display:none; }
  .to-sales .to-sales-metric-row { margin:4px 0; font-size:10px; }
  .to-sales .to-sales-metric-row__label strong,.to-sales .to-sales-metric-row__label span { font-size:10px; }
  .to-sales .to-sales-metric-row__bar { height:5px; }
  .to-sales .to-sales-cycle>strong { font-size:16px; line-height:22px; }
  .to-sales .to-sales-cycle p { font-size:10px; line-height:14px; }
  .to-sales .to-sales-block--deals[hidden],.to-sales .to-sales-action-status { display:none; }
}
/* Partners 9:2 macro geometry. Only presentation is opt-in; source/provider unchanged. */
html[data-design-system="vnext"] .to-global-shell[data-workspace][data-theme] {
  &[data-theme="dark"] .to-sales[data-sales-section="overview"] .to-sales-hero { background-color:var(--to-bg-canvas); background-blend-mode:soft-light; }
  .to-sales-interest-context { font-size:10px; line-height:14px; margin-top:8px; }
  .to-sales-interest-context summary { cursor:pointer; min-height:24px; }
  &[data-workspace="partners"] .to-shell-main { padding:0 0 28px; }
  .to-partners-workspace[data-mode="l1r"] { position:relative; min-height:954px; padding:0 332px 16px 0; overflow:visible; background:var(--to-bg-canvas); color:var(--to-text-primary); }
  .to-partners-workspace[data-mode="l1r"] .to-partners-hero { position:relative; width:calc(100% - 39px); height:72px; min-height:72px; padding:0; margin:2px 15px 13px 24px; align-items:flex-start; gap:16px; }
  .to-partners-hero h1 { font-size:34px; line-height:36px; margin:1px 0; letter-spacing:-.04em; }
  .to-partners-hero p { font-size:14px; line-height:18px; margin:0; width:100%; }
  .to-partners-hero>div:first-child { min-width:0; width:100%; }
  .to-partners-hero__actions { position:absolute; top:0; right:0; }
  .to-partners-hero__actions { width:315px; height:37px; flex:none; margin-top:11px; gap:7px; }
  .to-partners-hero__actions .to-button { min-height:37px; height:37px; padding:0 12px; font-size:12px; }
  .to-partners-hero__actions .to-button:first-child { white-space:nowrap; padding-inline:8px; gap:4px; }
  .to-partners-workspace[data-mode="l1r"]>.to-partners-nav { height:38px; min-height:38px; margin:0 15px 0 24px; padding:0; gap:0; border:0; background:var(--to-bg-subtle); }
  .to-partners-nav__item { height:38px; min-height:38px; padding:0 10px; font-size:12px; line-height:18px; }
  .to-partners-summary { display:grid; grid-template-columns:repeat(5,minmax(0,1fr)) 96px 148px; height:72px; min-height:72px; margin:10px 15px 10px 24px; gap:5px; }
  .to-partners-workspace .to-kpi.to-vnext-kpi[data-density] { height:72px; min-height:72px; padding:7px 8px; grid-template-columns:36px minmax(0,1fr); grid-template-rows:23px 24px 12px; gap:0 8px; border-radius:7px; }
  .to-partners-workspace .to-kpi.to-vnext-kpi[data-density]>.to-partners-metric__icon { grid-column:1; grid-row:1/4; width:36px; height:36px; border-radius:50%; }
  .to-partners-workspace .to-kpi.to-vnext-kpi[data-density]>.to-kpi__value { grid-area:auto; grid-column:2; grid-row:1; font-size:20px; line-height:23px; }
  .to-partners-workspace .to-kpi.to-vnext-kpi[data-density]>.to-card__meta { grid-area:auto; grid-column:2; grid-row:2; font-size:10px; line-height:12px; margin:0; }
  .to-partners-workspace .to-kpi.to-vnext-kpi[data-density]>.to-kpi__delta { grid-area:auto; grid-column:2; grid-row:3; font-size:8px; line-height:12px; margin:0; }
  .to-partners-workspace .to-kpi.to-vnext-kpi[data-density]:nth-child(6) { grid-template-columns:1fr; }
  .to-partners-summary>.to-partners-metric:nth-child(6)>.to-partners-metric__icon { display:none; }
  .to-partners-workspace .to-kpi.to-vnext-kpi[data-density]:nth-child(6)>:is(.to-card__meta,.to-kpi__value,.to-kpi__delta) { grid-column:1; }
  .to-partners-summary>.to-partners-metric:nth-child(n+5)>.to-card__meta { font-size:8.5px!important; line-height:11px!important; align-self:start; }
  .to-partners-workspace .to-kpi.to-vnext-kpi[data-density]:nth-child(n+5)>.to-kpi__delta { grid-column:1/-1; text-align:right; white-space:nowrap; transform:translateY(4px); }
  .to-partners-overview-grid { display:block; }
  .to-partners-overview-grid>main { display:grid; gap:10px; margin:0 15px 0 19px; }
  .to-partners-map-zone { display:grid; grid-template-columns:minmax(0,697fr) minmax(0,287fr); height:328px; gap:10px; }
  .to-partners-map-side { display:grid; grid-template-columns:1fr; grid-template-rows:213px 108px; gap:7px; }
  .to-partners-operations-row { display:grid; grid-template-columns:minmax(0,287fr) minmax(0,350fr) minmax(0,343fr); height:214px; gap:7px; }
  .to-partners-footer-row { display:grid; grid-template-columns:minmax(0,451fr) minmax(0,261fr) minmax(0,268fr); height:158px; gap:7px; }
  .to-partners-workspace .to-partners-card { min-height:0!important; height:100%!important; padding:12px 14px; border-radius:8px; overflow:hidden; }
  .to-partners-card h2 { font-size:13px; line-height:18px; }
  .to-partners-card>header { min-height:22px; flex-wrap:nowrap; gap:6px; }
  .to-partners-card header :is(span,button) { font-size:10px; line-height:14px; white-space:nowrap; color:var(--to-text-secondary); }
  .to-partners-card header button { min-width:0; min-height:22px; }
  .to-partners-map--figma { padding:8px 9px 6px 14px!important; }
  .to-partners-map--figma>header { height:30px; }
  .to-partners-map-tools { display:flex; gap:7px; }
  .to-partners-map-tools button { min-height:30px; height:30px; font-size:10px; border:1px solid var(--to-border-default)!important; background:var(--to-bg-surface)!important; color:var(--to-text-secondary)!important; }
  .to-partners-map-layout { display:grid; grid-template-columns:137px minmax(0,1fr); height:257px; gap:14px; margin-top:7px; }
  .to-partners-map-legend { display:grid; font-size:10px; line-height:13px; gap:2px; background:none; }
  .to-partners-map-legend strong { font-size:11px; line-height:14px; margin:2px 0; }
  .to-partners-map-legend span { min-height:13px; white-space:nowrap; overflow-wrap:normal; }
  .to-partners-map__canvas { height:257px; margin:0; background:var(--to-bg-subtle); }
  .to-partners-map__canvas::before { display:none; }
  .to-partners-map__canvas>img { position:absolute; inset:0; width:100%; height:100%; object-fit:contain; filter:none!important; }
  .to-partners-map-dark { display:none; }
  &[data-theme="dark"] .to-partners-map-light { display:none; }
  &[data-theme="dark"] .to-partners-map-dark { display:block; }
  .to-partners-map-note { margin:2px 0 0; font-size:9px; line-height:12px; }
  .to-partners-coverage__row { min-height:18px; font-size:10px; line-height:14px; background:none; }
  .to-partners-growth { background:var(--to-bg-selected)!important; }
  .to-partners-growth>div { min-height:28px; gap:6px; }
  .to-partners-growth :is(strong,span) { font-size:10px; line-height:14px; color:var(--to-text-primary); }
  .to-partners-growth__empty { display:none; }
  .to-partners-figma-empty { min-height:28px; height:28px; padding:3px 0; grid-template-columns:1fr; gap:0; border:0; border-bottom:1px solid var(--to-border-default); background:none; border-radius:0; }
  .to-partners-figma-empty :is(span,small) { font-size:9px; line-height:11px; }
  .to-partners-figma-empty[aria-hidden="true"] { color:var(--to-text-secondary); }
  .to-partners-recent .to-partners-mini { min-height:44px; padding:4px 0; padding-right:0; row-gap:2px; }
  .to-partners-recent .to-partners-figma-empty { min-height:24px; height:24px; }
  .to-partners-recent .to-partners-mini strong { white-space:normal; overflow:visible; }
  .to-partners-mini :is(strong,small,time) { font-size:10px; line-height:13px; }
  .to-partners-mini time { position:static; grid-column:2; }
  .to-partners-activity .to-sales-state { min-height:148px; height:auto; display:grid; align-content:center; gap:8px; margin-top:12px; padding:12px; border:0; background:var(--to-bg-canvas); font-size:12px; line-height:18px; }
  .to-partners-sales>strong { display:block; margin:16px 0 6px; font-size:22px; }
  .to-partners-sales>small { font-size:11px; line-height:16px; }
  .to-partners-empty-table { margin-top:14px; padding:12px; border:0; border-radius:8px; background:var(--to-bg-canvas); }
  .to-partners-empty-table :is(strong,span,small) { display:block; font-size:11px; line-height:18px; }
  .to-partners-rail--figma { position:absolute; right:0; top:0; width:332px; height:954px; margin:0; padding:4px 8px 32px; display:block; background:var(--to-bg-subtle); }
  .to-partners-workspace .to-partners-rail--figma>.to-partners-assistant { position:relative; height:918px; padding:12px 9px; border:1px solid var(--to-border-default); border-radius:9px; background:var(--to-bg-surface); box-shadow:var(--to-shadow-raised); }
  .to-partners-assistant>header { position:absolute; top:12px; left:12px; right:12px; height:54px; }
  .to-partners-assistant>header strong { font-size:18px; line-height:24px; color:var(--to-text-primary); }
  .to-partners-assistant>header small { font-size:11px; line-height:16px; color:var(--to-text-secondary); }
  .to-partners-assistant>h2 { position:absolute; top:98px; left:9px; right:9px; margin:0; font-size:18px; line-height:22px; color:var(--to-text-primary); }
  .to-partners-assistant>p { position:absolute; top:128px; left:12px; right:12px; margin:0; font-size:13px; line-height:19px; }
  .to-partners-assistant__actions { position:absolute; top:197px; left:9px; right:9px; height:310px; margin:0; display:grid; grid-template-columns:1fr; gap:5px; }
  .to-partners-assistant__actions .to-button { height:40px; min-height:40px; margin:0; font-size:12px; line-height:18px; border:1px solid var(--to-border-default); border-radius:6px; background:var(--to-bg-surface)!important; color:var(--to-text-secondary)!important; }
  .to-partners-prompts { display:block; position:absolute; top:522px; left:9px; right:9px; height:221px; padding:9px 12px; margin:0; border-color:var(--to-border-default); background:var(--to-bg-subtle); }
  .to-partners-prompts>header { height:22px; }
  .to-partners-prompts>header>span { display:block; width:auto; height:auto; border-radius:0; background:none; font-size:9px; white-space:nowrap; }
  .to-partners-prompts h3 { font-size:13px; line-height:18px; color:var(--to-text-primary); }
  .to-partners-prompts>button { min-height:27px; height:27px; font-size:10px; line-height:14px; white-space:nowrap; color:var(--to-text-secondary); }
  .to-partners-composer { display:block; position:absolute; top:783px; left:9px; right:9px; height:88px; padding:9px; margin:0; font-size:10px; line-height:14px; border-color:var(--to-border-default); background:var(--to-bg-subtle); }
  .to-partners-composer .to-button { height:38px; min-height:38px; min-width:38px; width:38px; margin:0; font-size:10px; padding:0; background:var(--to-bg-surface); }
  .to-partners-card :is(strong,small,span) { color:inherit; }
  .to-partners-card small,.to-partners-card .to-partners-empty-table span { color:var(--to-text-secondary); }
  .to-partners-assistant__shortcut { position:absolute; top:888px; left:9px; right:9px; margin:0; font-size:11px; line-height:15px; color:var(--to-text-secondary); }
}
@media(max-width:1279px){html[data-design-system="vnext"] .to-global-shell[data-workspace][data-theme]{
  &[data-workspace="partners"] .to-shell-main { padding:16px 20px 32px; }
  .to-partners-workspace[data-mode="l1r"] { padding:0; min-height:0; }
  .to-partners-workspace[data-mode="l1r"] .to-partners-hero { width:auto; height:auto; min-height:100px; margin:0 0 12px; gap:16px; }
  .to-partners-hero__actions { display:flex; }
  .to-partners-hero__actions { position:static; }
  .to-partners-workspace[data-mode="l1r"]>.to-partners-nav { margin:0; height:44px; min-height:44px; overflow-x:auto; scrollbar-width:thin; }
  .to-partners-nav__item { min-height:44px; height:44px; flex:none; }
  .to-partners-summary { height:auto; min-height:0; margin:12px 0; grid-template-columns:repeat(4,minmax(0,1fr)); }
  .to-partners-overview-grid>main { margin:0; }
  .to-partners-map-zone { height:auto; grid-template-columns:1fr; }
  .to-partners-workspace .to-partners-map--figma { height:328px!important; }
  .to-partners-map-side { grid-template-columns:1fr 1fr; grid-template-rows:213px; }
  .to-partners-operations-row,.to-partners-footer-row { height:auto; grid-template-columns:repeat(2,minmax(0,1fr)); }
  .to-partners-workspace .to-partners-card { height:auto!important; min-height:158px!important; }
  .to-partners-operations-row>.to-partners-sales,.to-partners-footer-row>.to-partners-protected { grid-column:1/-1; }
  .to-partners-rail--figma { position:static; width:auto; height:auto; margin:12px 0 0; padding:8px; }
  .to-partners-workspace .to-partners-rail--figma>.to-partners-assistant { height:auto; padding:14px; display:grid; gap:16px; }
  .to-partners-assistant>:is(header,h2,p,.to-partners-assistant__actions,.to-partners-prompts,.to-partners-composer,.to-partners-assistant__shortcut) { position:static; inset:auto; width:auto; height:auto; margin:0; }
  .to-partners-assistant>header { height:54px; }
  .to-partners-assistant__actions { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); }
  .to-partners-assistant__actions .to-button { min-height:44px; height:auto; padding:8px; }
  .to-partners-prompts,.to-partners-composer { display:block; }
  .to-partners-prompts>button { min-height:44px; height:auto; white-space:normal; }
  .to-partners-composer { min-height:88px; }
}}
@media(max-width:767px){html[data-design-system="vnext"] .to-global-shell[data-workspace][data-theme]{
  &[data-workspace="partners"] .to-shell-main { padding:12px 12px calc(88px + env(safe-area-inset-bottom)); }
  .to-partners-workspace[data-mode="l1r"] .to-partners-hero { min-height:102px; display:block; padding:0; }
  .to-partners-hero h1 { font-size:28px; line-height:34px; }
  .to-partners-hero p { font-size:13px; line-height:20px; }
  .to-partners-hero__actions { display:flex; width:100%; height:44px; margin:8px 0 0; }
  .to-partners-hero__actions .to-button { height:44px; min-height:44px; }
  .to-partners-summary { display:flex; overflow-x:auto; scroll-snap-type:x mandatory; scrollbar-width:thin; gap:8px; margin:12px 0; padding-bottom:8px; }
  .to-partners-summary>.to-partners-metric { flex:0 0 154px; scroll-snap-align:start; }
  .to-partners-map-zone,.to-partners-map-side,.to-partners-operations-row,.to-partners-footer-row { grid-template-columns:1fr; grid-template-rows:auto; }
  .to-partners-workspace .to-partners-map--figma { height:auto!important; padding:12px!important; }
  .to-partners-map--figma>header { height:auto; display:block; }
  .to-partners-map-tools { margin-top:8px; }
  .to-partners-map-tools button { min-height:44px; height:44px; }
  .to-partners-map-layout { display:flex; flex-direction:column-reverse; height:auto; }
  .to-partners-map__canvas { height:210px; flex:none; }
  .to-partners-map-legend { display:grid; grid-template-columns:1fr 1fr; font-size:11px; line-height:16px; }
  .to-partners-map-legend>strong { grid-column:1/-1; }
  .to-partners-map-legend span { white-space:normal; }
  .to-partners-map-note { font-size:11px; line-height:16px; margin-top:8px; }
  .to-partners-card h2 { font-size:15px; line-height:22px; }
  .to-partners-card header :is(span,button) { font-size:11px; line-height:16px; white-space:normal; }
  .to-partners-card header button { min-height:44px; }
  .to-partners-growth>div { min-height:44px; }
  .to-partners-figma-empty { min-height:32px; height:auto; }
  .to-partners-figma-empty :is(span,small) { font-size:11px; line-height:16px; }
  .to-partners-mini :is(strong,small,time) { font-size:12px; line-height:16px; }
  .to-partners-recent .to-partners-mini { padding-right:0; }
  .to-partners-mini time { position:static; grid-column:2; }
  .to-partners-assistant__actions { grid-template-columns:1fr; }
  .to-partners-composer .to-button { min-height:44px; width:44px; }
}}
@media(min-width:768px){html[data-design-system="vnext"] .to-global-shell[data-workspace][data-theme]{display:grid;}}
@media(max-width:1279px){html[data-design-system="vnext"] .to-global-shell[data-workspace][data-theme]{
  .to-shell-main { padding:16px 20px 32px; }
  .to-shell-quick-search.to-button { width:min(380px,40vw)!important; }
  .to-shell-today-weather { display:none!important; }
  .to-today { min-height:0; grid-template-columns:minmax(0,1fr) 280px; grid-template-rows:auto; grid-template-areas:"hero hero" "kpis kpis" "pulse pulse" "decisions schedule" "attention attention"; }
  .to-today-hero { display:grid; grid-template-columns:1fr 250px; height:auto; min-height:110px; padding:8px 0; }
  .to-today-hero__aside { display:none; }
  .to-today-hero h1 { font-size:36px; line-height:44px; }
  .to-today-hero__lead { font-size:14px; line-height:22px; }
  .to-today-block--kpis>div:last-child { grid-template-columns:repeat(4,minmax(0,1fr)); }
  .to-today-block--kpis .to-kpi.to-vnext-kpi[data-density] { grid-template-columns:36px 1fr; padding:12px; }
  .to-today-block--kpis .to-kpi.to-vnext-kpi[data-density]>.to-today-kpi__icon { width:36px;height:36px; }
  .to-today-block--decisions,.to-today-block--schedule,.to-today-block--attention { position:relative; inset:auto; width:auto; height:auto; }
  .to-today-block--decisions { align-self:start; min-height:249px; }
  .to-today-block--pulse { height:auto; }
  .to-today-pulse { display:grid; grid-template-columns:minmax(0,1fr) 175px; gap:16px; height:auto; }
  .to-today-pulse__plot { width:100%; }
  .to-today-pulse__controls { position:static; height:auto; justify-content:flex-end; flex-wrap:wrap; margin:8px 0; }
  .to-today-pulse__summary { position:static; width:175px; height:auto; }
  .to-today-block--schedule { grid-area:schedule; }
  .to-today-block--attention { grid-area:attention; }
  .to-sales[data-sales-section="overview"] .to-sales-hero { height:auto; min-height:110px; grid-template-columns:1fr; }
  .to-sales[data-sales-section="overview"] .to-sales-hero { background-size:1000px 182px; background-position:left center; }
  .to-sales[data-sales-section="overview"]>.to-tabs>.to-tabs__list { position:static; width:100%; min-height:44px; height:auto; padding:4px; margin-bottom:12px; overflow-x:auto; }
  .to-sales[data-sales-section="overview"]>.to-tabs>.to-tabs__list .to-tabs__tab { min-height:44px; height:44px; font-size:12px; }
  .to-sales .to-sales-overview { grid-template-columns:1fr 280px; grid-template-rows:auto; grid-template-areas:"kpis kpis" "toolbar toolbar" "funnel funnel" "attention actions" "analytics analytics"; }
  .to-sales .to-sales-reference-toolbar { height:auto; min-height:44px; grid-column:1/3; }
  .to-sales .to-sales-funnel { height:auto; min-height:434px; }
  .to-sales .to-sales-block--funnel { grid-column:1/3; height:auto; }
  .to-sales .to-sales-funnel__stage { min-height:434px; height:auto; }
  .to-sales .to-sales-block--attention { grid-column:1; height:auto; margin:0; }
  .to-sales .to-sales-reference-rail>section { height:auto!important; min-height:293px; }
  .to-sales .to-sales-reference-ai { min-height:320px; }
  .to-sales .to-sales-block--actions { grid-column:2; height:66px; align-self:start; }
  .to-sales .to-sales-funnel__footer { flex-wrap:wrap; }
  .to-sales .to-sales-funnel__footer small { white-space:normal; overflow:visible; text-overflow:clip; }
  .to-sales .to-sales-analytics-row { grid-column:1/3; grid-template-columns:repeat(2,1fr); height:auto; }
  .to-sales .to-sales-block--kpis { grid-column:1/3; }
  .to-sales .to-sales-stage-mapping-note { position:static; font-size:11px; }
}}
@media(min-width:768px) and (max-width:900px){html[data-design-system="vnext"] .to-global-shell[data-workspace][data-theme]{
  .to-sales .to-sales-block--kpis { height:auto; }
  .to-sales .to-sales-block--kpis>div:last-child { grid-template-columns:repeat(2,minmax(0,1fr)); height:auto; }
  .to-sales .to-sales-funnel { grid-template-columns:repeat(2,minmax(0,1fr)); }
}}
@media(max-width:767px){html[data-design-system="vnext"] .to-global-shell[data-workspace][data-theme]{
  .to-shell-main { padding:12px 12px calc(88px + env(safe-area-inset-bottom)); }
  .to-today { display:grid; grid-template-columns:1fr; grid-template-rows:auto; grid-template-areas:"hero" "kpis" "pulse" "decisions" "schedule" "attention"; gap:12px; }
  .to-today-hero { display:block; min-height:96px; }
  .to-today-hero__copy { position:relative; z-index:1; }
  .to-today .to-today-hero__field { top:20px; right:-180px; width:420px; height:92px; opacity:.22; z-index:0; }
  .to-today-hero__brand-card { display:none; }
  .to-today-hero h1 { font-size:30px; line-height:38px; }
  .to-today-hero__lead { font-size:13px; }
  .to-today-block--kpis { height:auto; }
  .to-today-block--kpis>div:last-child { grid-template-columns:repeat(2,1fr); height:auto; }
  .to-today-block--kpis .to-kpi.to-vnext-kpi[data-density] { grid-template-columns:32px 1fr; min-height:126px; height:auto; padding:12px; }
  .to-today-block--kpis .to-kpi.to-vnext-kpi[data-density]>.to-today-kpi__icon { grid-row:1/4; width:32px; height:32px; }
  .to-today-block--kpis .to-kpi.to-vnext-kpi[data-density]>:is(.to-card__meta,.to-kpi__value,.to-kpi__delta) { grid-column:2; }
  .to-today-block { padding:14px; }
  .to-today-block__header h2 { font-size:20px; line-height:26px; }
  .to-today-block--pulse { height:auto; }
  .to-today-pulse { display:block; height:auto; }
  .to-today-pulse__plot { width:100%; }
  .to-today-pulse__controls { position:static; height:auto; margin-bottom:12px; }
  .to-today-pulse__empty { height:188px; margin-top:8px; }
  .to-today-pulse__summary { position:static; width:auto; height:auto; margin-top:20px; grid-template-columns:1fr; }
  .to-today-pulse__empty-ring { width:120px; height:120px; }
  .to-today-block--schedule .to-today-state { min-height:160px; }
  .to-today-block--attention .to-today-state { min-height:140px; }
  .to-sales[data-sales-section="overview"] .to-sales-hero { min-height:116px; padding:8px 0; background-size:1000px 182px; background-position:left center; }
  .to-sales[data-sales-section="overview"] .to-sales-hero h1 { font-size:28px; line-height:34px; }
  .to-sales[data-sales-section="overview"] .to-sales-hero__lead { font-size:13px; line-height:20px; }
  .to-sales .to-sales-overview { display:grid; grid-template-columns:1fr; grid-template-areas:"kpis" "toolbar" "funnel" "actions" "attention" "analytics"; }
  .to-sales .to-sales-block--kpis { height:auto; grid-column:1; }
  .to-sales .to-sales-block--kpis>div:last-child { grid-template-columns:repeat(2,1fr); height:auto; }
  .to-sales .to-sales-block--kpis .to-kpi.to-vnext-kpi[data-density] { height:100px; min-height:100px; grid-template-columns:32px minmax(0,1fr); padding:10px; }
  .to-sales .to-sales-block--kpis .to-kpi.to-vnext-kpi[data-density]>.to-sales-kpi-icon { width:32px; height:32px; grid-column:1; grid-row:1/3; }
  .to-sales .to-sales-block--kpis .to-kpi.to-vnext-kpi[data-density]>.to-kpi__value { font-size:17px; line-height:24px; }
  .to-sales .to-sales-block--kpis .to-kpi.to-vnext-kpi[data-density]>.to-card__meta { font-size:11px; }
  .to-sales .to-sales-reference-toolbar { grid-column:1; display:flex; flex-wrap:wrap; justify-content:flex-start; }
  .to-sales .to-sales-reference-toolbar .to-button { min-height:44px; height:44px; }
  .to-sales .to-sales-block--funnel { grid-column:1; padding:8px; }
  .to-sales .to-sales-funnel { grid-template-columns:1fr; min-height:0; gap:12px; }
  .to-sales .to-sales-funnel__stage { min-height:180px; height:auto; padding:12px; }
  .to-sales .to-sales-funnel__items { max-height:none; overflow:visible; }
  .to-sales .to-sales-funnel__item { min-height:104px; }
  .to-sales .to-sales-funnel__stage>.to-button { min-height:44px; }
  .to-sales .to-sales-funnel__stage>.to-sales-state { min-height:92px; }
  .to-sales .to-sales-block--actions,.to-sales .to-sales-block--attention { grid-column:1; }
  .to-sales .to-sales-analytics-row { grid-column:1; grid-template-columns:1fr; gap:12px; }
  .to-sales .to-sales-analytics-row>.to-sales-block { height:auto; min-height:164px; overflow:visible; }
  .to-sales .to-sales-reference-insight>.to-button { min-width:44px; width:44px; min-height:44px; }
  .to-sales .to-sales-reference-insight { grid-template-columns:24px minmax(0,1fr) 44px; }
  .to-sales .to-sales-reference-rail>section { height:auto!important; }
  .to-sales .to-sales-reference-ai>.to-button { min-height:44px; height:44px; }
  .to-sales .to-sales-reference-insight :is(strong,p) { font-size:12px; line-height:18px; }
  .to-partners-recent .to-partners-figma-empty { min-height:36px; height:auto; padding:4px 0; }
}}
