/* HarmonyOS Sans SC, subset (GB2312 + common Traditional + app text); an installed copy is used first.
   Files are versioned (-v1) and served with a one-year immutable cache. Rebuild: scripts/build-font-subset.py */
@font-face{font-family:"Biz Sans";font-weight:100 450;font-display:swap;src:local("HarmonyOS Sans SC"),local("HarmonyOS_Sans_SC_Regular"),url("/fonts/HarmonyOSSansSC-Regular-v1.woff2") format("woff2")}
@font-face{font-family:"Biz Sans";font-weight:451 600;font-display:swap;src:local("HarmonyOS Sans SC Medium"),local("HarmonyOS_Sans_SC_Medium"),url("/fonts/HarmonyOSSansSC-Medium-v1.woff2") format("woff2")}
@font-face{font-family:"Biz Sans";font-weight:601 1000;font-display:swap;src:local("HarmonyOS Sans SC Bold"),local("HarmonyOS_Sans_SC_Bold"),url("/fonts/HarmonyOSSansSC-Bold-v1.woff2") format("woff2")}
@font-face{font-family:"Biz Num";font-weight:400;font-display:swap;src:local("Inter"),url("/fonts/inter-latin-400-normal.woff2") format("woff2")}
@font-face{font-family:"Biz Num";font-weight:500;font-display:swap;src:local("Inter"),url("/fonts/inter-latin-500-normal.woff2") format("woff2")}
@font-face{font-family:"Biz Num";font-weight:600;font-display:swap;src:local("Inter"),url("/fonts/inter-latin-600-normal.woff2") format("woff2")}
@font-face{font-family:"Biz Num";font-weight:700;font-display:swap;src:local("Inter"),url("/fonts/inter-latin-700-normal.woff2") format("woff2")}
/* Business workspace — role-shaped screens, calm public-service palette, iOS structure
   (HIG: Color, Typography, Lists and tables, Segmented controls, Toggles, Buttons, Sheets, Charts, Dark Mode).
   Fills use the base colours; small text uses darker variants so it keeps ≥ 4.5:1. */
.biz-shell,dialog,#toast{
 --bg:#f5f7fb;--card:#ffffff;--card-solid:#ffffff;--sheet:#f5f7fb;--elevated:#ffffff;
 --label:#191f28;--label-2:#4e5968;--label-3:#6b7684;--label-4:#c5cdd8;
 --separator:rgba(25,31,40,.08);--fill:rgba(59,91,255,.07);--fill-2:#f3f6fa;--fill-track:#e8edf5;
 --tint:#3b5bff;--tint-fill:#3b5bff;--tint-soft:#eef2ff;
 --navy-1:#3b5bff;--navy-2:#5375ff;
 --green:#2ec4b6;--orange:#f59e0b;--red:#f04452;--indigo:#64748b;--gray:#8b95a1;--slate:#64748b;
 --t-green:#0b7f74;--t-orange:#9a5804;--t-red:#c92a37;--t-indigo:#4e5968;--t-blue:#3b5bff;
 --c-verified:var(--green);--c-submitted:var(--orange);--c-active:#5b7bff;--c-unassigned:#e2e8f0;--c-overdue:var(--red);
 --bar-bg:rgba(255,255,255,.9);--menu-bg:rgba(255,255,255,.98);--seg-on:#ffffff;--seg-on-text:var(--tint);
 --glass-border:#eaeef5;--shadow:0 2px 8px rgba(25,31,40,.03),0 8px 24px rgba(25,31,40,.04);
 --glass-top:#ffffff;--glass-bottom:#ffffff;--glass-highlight:#ffffff;--glass-shadow:rgba(25,31,40,.05);
 --blob-a:transparent;--blob-b:transparent;--blob-c:transparent;
 --radius:20px;
 --font:"Biz Sans","HarmonyOS Sans SC","PingFang SC","PingFang TC","Microsoft YaHei UI","Microsoft YaHei","Noto Sans SC",-apple-system,BlinkMacSystemFont,system-ui,sans-serif;
 --font-num:"Biz Num",var(--font);
}
html[lang="zh-Hant"] :is(.biz-shell,dialog,#toast){--font:var(--hant-font)}
html:has(.biz-shell),body:has(.biz-shell){background:#f5f7fb}
@media (prefers-color-scheme:dark){
 .biz-shell,dialog,#toast{
  --bg:#101520;--card:#182030;--card-solid:#182030;--sheet:#141b29;--elevated:#20293d;
  --label:#eef2f8;--label-2:#aeb8c9;--label-3:#8d99ad;--label-4:#465266;
  --separator:rgba(165,180,204,.14);--fill:rgba(110,139,255,.14);--fill-2:rgba(165,180,204,.08);--fill-track:rgba(165,180,204,.18);
  --tint:#6e8bff;--tint-fill:#4b6bff;--tint-soft:rgba(110,139,255,.16);--navy-1:#2f4fd8;--navy-2:#4b6bff;
  --green:#38d9c7;--orange:#f5b041;--red:#ff6b78;--indigo:#94a3b8;--slate:#94a3b8;
  --t-green:#5ce6d6;--t-orange:#f7c266;--t-red:#ff949d;--t-indigo:#cbd5e1;--t-blue:#8ca4ff;
  --c-active:#6e8bff;--c-unassigned:#323d52;
  --bar-bg:rgba(16,21,32,.86);--menu-bg:rgba(26,34,50,.98);--seg-on:#2a354d;--seg-on-text:#ffffff;
  --glass-border:rgba(255,255,255,.07);--shadow:0 10px 30px rgba(0,0,0,.28);
  --glass-top:#1b2436;--glass-bottom:#161e2e;--glass-highlight:rgba(255,255,255,.04);--glass-shadow:rgba(0,0,0,.32);
  --blob-a:transparent;--blob-b:transparent;--blob-c:transparent;
 }
 html:has(.biz-shell),body:has(.biz-shell){background:#101520}
}
.biz-shell,dialog:has([class*="biz-"]){font-family:var(--font);color-scheme:light dark}
.biz-shell{min-height:100vh;color:var(--label);font-size:15px;line-height:1.65;-webkit-font-smoothing:antialiased;background:var(--bg)}
.biz-shell :is(strong,b,td,.num){font-variant-numeric:tabular-nums}
/* Chinese typography baseline: 5 sizes · 1.65 / 1.7 leading · 0.01em tracking · 400/500/600/700 (700 = numbers only). */
.biz-shell *,dialog:has([class*="biz-"]) *{letter-spacing:.01em}
.biz-shell :is(strong,b,th,h1,h2,h3,h4,h5,h6),dialog:has([class*="biz-"]) :is(strong,b,th,h1,h2,h3,h4,h5,h6){font-weight:600}
.ios-icon{width:1.15em;height:1.15em;flex:none}
.biz-chevron{width:14px;height:14px;color:var(--label-4);stroke-width:2.5}
.biz-muted{color:var(--label-2);font-size:12px;line-height:1.7}
.is-red{color:var(--t-red)!important}.is-amber{color:var(--t-orange)!important}
.biz-warn-text{color:var(--t-orange)!important}

/* ---------- Buttons ---------- */
.biz-shell button,dialog:has([class*="biz-"]) button{font-family:inherit;transition:opacity .12s,background-color .15s,filter .15s}
.biz-shell button:active:not(:disabled),dialog:has([class*="biz-"]) button:active:not(:disabled){opacity:.6}
.biz-shell :is(button,a,[tabindex],input,select,textarea,summary):focus-visible,dialog :is(button,a,input,select,textarea,summary):focus-visible{outline:3px solid color-mix(in srgb,var(--tint) 50%,transparent);outline-offset:2px}
.ios-filled,.ios-tinted,.ios-gray,.ios-destructive{display:inline-flex;align-items:center;justify-content:center;gap:6px;min-height:38px;padding:8px 18px;border:0!important;border-radius:999px!important;font-size:15px;font-weight:600;line-height:1.2;box-shadow:none!important;white-space:nowrap;text-decoration:none;cursor:pointer}
.ios-filled{background:var(--tint)!important;color:#fff!important}
.ios-filled:hover{filter:brightness(1.08)}
.ios-tinted{background:var(--tint-soft)!important;color:var(--tint)!important}
.ios-gray{background:var(--fill)!important;color:var(--tint)!important}
.ios-destructive{background:color-mix(in srgb,var(--red) 13%,transparent)!important;color:var(--t-red)!important}
.ios-tinted:hover,.ios-gray:hover,.ios-destructive:hover{filter:brightness(.97)}
.ios-filled.small,.ios-tinted.small,.ios-gray.small,.ios-destructive.small{min-height:32px;padding:6px 14px;font-size:14px}
.biz-shell .link,dialog .link{background:none;border:0;padding:0;color:var(--tint);font-size:15px;font-weight:500;box-shadow:none}
.biz-shell .link.small,dialog .link.small{font-size:14px}
.biz-shell .link:hover{opacity:.75}
.biz-shell .link.is-destructive,dialog .link.is-destructive{color:var(--t-red)}
.biz-shell button:disabled{opacity:.4;cursor:default}

/* ---------- Status dot, chip, platform ---------- */
.ios-status{display:inline-flex;align-items:center;gap:6px;font-size:12px;font-weight:600;color:var(--label-2);white-space:nowrap}
.ios-status:before{content:'';width:7px;height:7px;border-radius:50%;background:currentColor}
.ios-status.tone-green{color:var(--t-green)}.ios-status.tone-amber{color:var(--t-orange)}.ios-status.tone-red{color:var(--t-red)}.ios-status.tone-blue{color:var(--t-blue)}.ios-status.tone-gray{color:var(--label-2)}
.biz-chip{display:inline-flex;align-items:center;font-style:normal;font-size:12px;font-weight:600;line-height:1;padding:6px 10px;border-radius:999px;background:var(--fill);color:var(--label-2);white-space:nowrap}
.biz-chip.is-good{background:color-mix(in srgb,var(--green) 13%,transparent);color:var(--t-green)}
.biz-chip.is-warn{background:color-mix(in srgb,var(--orange) 15%,transparent);color:var(--t-orange)}
.biz-chip.is-bad{background:color-mix(in srgb,var(--red) 13%,transparent);color:var(--t-red)}
.biz-chip.is-blue{background:var(--tint-soft);color:var(--tint)}
.biz-shell .badge{background:var(--fill);color:var(--label-2);border-radius:6px;font-size:12px;font-weight:600}
.biz-platform{display:inline-flex;align-items:center;gap:6px;font-size:14px;font-weight:600;color:var(--label);white-space:nowrap}
.biz-platform:before{content:'';width:8px;height:8px;border-radius:2px;background:var(--gray)}
.biz-platform.p-x:before{background:var(--label)}.biz-platform.p-fb:before{background:#1877f2}.biz-platform.p-yt:before{background:#ef4444}.biz-platform.p-ig:before{background:#e1306c}.biz-platform.p-th:before{background:#475569}

/* ---------- Navigation bar ---------- */
.biz-header{position:sticky;top:0;z-index:30;background:var(--bar-bg);-webkit-backdrop-filter:saturate(180%) blur(20px);backdrop-filter:saturate(180%) blur(20px);border-bottom:1px solid var(--separator)}
.biz-header-inner{display:grid;grid-template-columns:1fr auto 1fr;align-items:center;gap:16px;min-height:60px;width:min(1320px,calc(100% - 48px));margin:0 auto}
.biz-brand{display:inline-flex;align-items:center;gap:10px;color:var(--label);text-decoration:none;justify-self:start}
.biz-brand-icon{display:grid;place-items:center;width:32px;height:32px;border-radius:9px;background:linear-gradient(160deg,var(--navy-2),var(--navy-1));color:#fff;font-size:15px}
.biz-brand-icon .ios-icon{width:19.5px;height:19.5px}
.biz-brand strong{font-size:15px;font-weight:600}
.biz-nav{display:inline-flex;gap:2px;padding:3px;border-radius:999px;background:var(--fill)}
.biz-shell .biz-nav button{display:inline-flex;align-items:center;gap:7px;border:0;border-radius:999px;background:transparent;color:var(--label);padding:8px 20px;font-size:15px;font-weight:500;box-shadow:none}
.biz-shell .biz-nav button .ios-icon{width:17px;height:17px;color:var(--label-2)}
.biz-shell .biz-nav button.active{background:var(--seg-on);color:var(--seg-on-text);font-weight:600;box-shadow:0 2px 8px rgba(16,40,72,.1)}
.biz-shell .biz-nav button.active .ios-icon{color:var(--seg-on-text)}
.biz-header-actions{justify-self:end;display:flex;align-items:center;gap:10px}
.biz-header .notification-button{position:relative;display:grid;place-items:center;width:38px;height:38px;padding:0;border:0;border-radius:50%;background:var(--fill);color:var(--label);max-width:none;box-shadow:none}
.biz-header .notification-button .ios-icon{width:19px;height:19px}
.biz-header .notification-button>span:not(.unread-count){position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0)}
.biz-header .unread-count{position:absolute;top:-3px;right:-5px;min-width:18px;height:18px;padding:0 5px;border-radius:9px;background:var(--red);color:#fff;font-size:12px;font-weight:600;line-height:18px;text-align:center;border:2px solid var(--card-solid);box-sizing:content-box}
.biz-header .unread-count.is-zero{display:none}
.biz-personal{position:relative}
.biz-personal summary{list-style:none;cursor:pointer;border-radius:50%}
.biz-personal summary::-webkit-details-marker{display:none}
.biz-personal-text{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0)}
.biz-avatar{display:grid;place-items:center;width:36px;height:36px;border-radius:50%;background:var(--tint-soft);color:var(--tint);border:1px solid color-mix(in srgb,var(--tint) 20%,transparent);font-weight:700;font-size:14px}
.biz-personal-menu{position:absolute;right:0;top:calc(100% + 8px);width:260px;padding:6px 0;display:flex;flex-direction:column;background:var(--menu-bg);-webkit-backdrop-filter:saturate(180%) blur(30px);backdrop-filter:saturate(180%) blur(30px);border-radius:16px;box-shadow:0 12px 40px rgba(16,40,72,.18),0 0 0 1px var(--separator);z-index:40}
.biz-menu-user{padding:10px 16px 12px;border-bottom:1px solid var(--separator);margin-bottom:4px}
.biz-menu-user strong,.biz-menu-user small{display:block}
.biz-menu-user strong{font-size:15px}
.biz-menu-user small{font-size:12px;color:var(--label-2);margin-top:2px}
.biz-shell .biz-personal-menu .link{justify-content:flex-start;color:var(--label);font-weight:400;font-size:15px;padding:11px 16px;border-radius:0}
.biz-shell .biz-personal-menu .link:hover{background:var(--fill-2);opacity:1}
.biz-shell .biz-personal-menu .link.is-destructive{color:var(--t-red);border-top:1px solid var(--separator);margin-top:4px}
.biz-menu-lang{display:flex;align-items:center;justify-content:space-between;gap:10px;padding:6px 16px;font-size:15px;color:var(--label)}
.biz-shell .biz-menu-lang select{width:auto;border:0;background:transparent;color:var(--label-2);font-size:15px;padding:4px 0;text-align:right}

/* ---------- Page frame ---------- */
.biz-main{width:min(1320px,calc(100% - 48px));margin:0 auto;padding:22px 0 48px;min-width:0}
.biz-main>.loading{color:var(--label-2)}
.biz-heading{display:flex;justify-content:space-between;align-items:flex-end;gap:24px;margin:6px 0 22px}
.biz-heading-text{min-width:0}
.biz-heading h1{font-size:32px;line-height:40px;font-weight:600;margin:0;color:var(--label);overflow-wrap:anywhere}
.biz-heading p{font-size:15px;color:var(--label-2);line-height:1.65;margin:4px 0 0}
.biz-heading>.toolbar{gap:10px;flex-wrap:nowrap}
.cc-date{font-size:12px;font-weight:600;color:var(--label-2);margin-bottom:2px}

/* ---------- Cards, sections, lists ---------- */
.ios-section{margin:0 0 28px;min-width:0}
.ios-section-head{display:flex;align-items:baseline;justify-content:space-between;gap:12px;margin:0 4px 12px;flex-wrap:wrap}
.ios-section-title{font-size:20px;line-height:28px;font-weight:600;color:var(--label);margin:0 4px 12px}
.ios-section-head .ios-section-title{margin:0}
.ios-section-footer{font-size:12px;line-height:1.7;color:var(--label-2);margin:10px 16px 0}
.ios-card,.ios-list,.cc-panel,.biz-shell .card,.biz-metric,.cc-hero,.biz-job,.biz-own-allocation,.biz-member-action{background:var(--card);-webkit-backdrop-filter:blur(18px);backdrop-filter:blur(18px);border:1px solid var(--glass-border);box-shadow:var(--shadow);border-radius:var(--radius);min-width:0}
.ios-card,.ios-list,.cc-panel,.biz-shell .card{overflow:hidden}
.biz-pad{padding:18px}
.ios-row{position:relative;display:flex;align-items:center;gap:12px;width:100%;min-height:52px;padding:8px 18px;border:0;border-radius:0;background:transparent;color:var(--label);font-size:15px;text-align:left;text-decoration:none;box-shadow:none;cursor:pointer}
.ios-row:after{content:'';position:absolute;left:18px;right:0;bottom:0;border-bottom:1px solid var(--separator)}
.ios-row:last-child:after{display:none}
.ios-row:hover{background:var(--fill-2)}
.ios-row-icon{display:grid;place-items:center;width:34px;height:34px;border-radius:10px;color:#fff;flex:none;font-size:15px}
.ios-row-icon .ios-icon,.biz-metric-icon .ios-icon{width:20.7px;height:20.7px}
.tone-primary.ios-row-icon{background:var(--tint)}.tone-danger.ios-row-icon{background:var(--red)}.tone-warning.ios-row-icon{background:var(--orange)}.tone-neutral.ios-row-icon{background:var(--gray)}.tone-success.ios-row-icon{background:var(--green)}
.ios-row-label{flex:1;min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.biz-target-link{font-size:15px}
.biz-target-link .ios-row-label{color:var(--tint)}

/* ---------- KPI tiles ---------- */
.biz-metrics{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:16px}
.biz-metric{position:relative;padding:16px 18px 18px;overflow:hidden;cursor:pointer;color:var(--tint);transition:transform .15s,box-shadow .15s}
.biz-metric:hover{box-shadow:0 2px 4px rgba(16,40,72,.05),0 16px 36px rgba(16,40,72,.1)}
.biz-shell .biz-metric:is(.success,.warning,.danger){background:var(--card);border:1px solid var(--glass-border)}
.biz-metric-head{display:flex;align-items:center;gap:10px;min-width:0}
.biz-metric-icon{display:grid;place-items:center;width:36px;height:36px;border-radius:50%;background:color-mix(in srgb,currentColor 12%,transparent);color:inherit;flex:none;font-size:15px}
.biz-metric-label{flex:1;min-width:0;font-size:15px;font-weight:600;color:var(--label);white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.biz-metric-body{display:flex;align-items:flex-end;justify-content:space-between;gap:10px;margin-top:16px}
.biz-metric-value{display:flex;align-items:baseline;gap:4px;min-width:0}
.biz-metric-value strong{font-family:var(--font-num);font-size:32px;line-height:40px;font-weight:700;color:var(--label);letter-spacing:0}
.biz-unit{font-size:14px;font-weight:500;color:var(--label-2)}
.biz-metric>small{display:block;font-size:12px;line-height:1.7;color:var(--label-2);margin-top:6px}
.biz-ring{display:block;flex:none}
.biz-metric .biz-ring{width:52px;height:52px;color:inherit}
.biz-metric.is-blue{color:var(--tint)}.biz-metric.success{color:var(--t-green)}.biz-metric.warning{color:var(--t-orange)}.biz-metric.danger{color:var(--t-red)}.biz-metric.is-indigo,.biz-metric.is-slate{color:var(--slate)}
.biz-metric.success .biz-ring-value{stroke:var(--green)!important}
.biz-shell .biz-metric.is-featured{background:linear-gradient(150deg,var(--navy-2),var(--navy-1));border-color:transparent;color:#fff;box-shadow:0 12px 30px rgba(24,58,102,.28)}
.biz-metric.is-featured .biz-metric-label,.biz-metric.is-featured .biz-metric-value strong{color:#fff}
.biz-metric.is-featured .biz-unit,.biz-metric.is-featured>small{color:rgba(255,255,255,.75)}
.biz-metric.is-featured .biz-metric-icon{background:rgba(255,255,255,.16);color:#fff}
.biz-metric.is-featured .biz-chip{background:rgba(255,255,255,.18);color:#fff}
.biz-metric.is-featured .biz-ring-track{stroke:rgba(255,255,255,.2)!important}
.biz-metric.is-featured .biz-ring-value{stroke:#7fdcbb!important}
.biz-member-metrics{grid-template-columns:repeat(2,minmax(0,1fr))!important}

/* ---------- Stacked bar, legend, due ---------- */
.biz-stack{display:flex;gap:2px;height:6px;border-radius:3px;background:var(--fill-track);overflow:hidden;min-width:60px}
.biz-stack.is-large{height:12px;border-radius:6px;margin:14px 0 12px}
.biz-stack>span{display:block;height:100%;min-width:3px}
.seg-verified{background:var(--c-verified)}.seg-submitted{background:var(--c-submitted)}.seg-active{background:var(--c-active)}.seg-unassigned{background:var(--c-unassigned)}
.biz-legend{display:flex;flex-wrap:wrap;gap:6px 16px;font-size:12px;color:var(--label-2)}
.biz-legend-item{display:inline-flex;align-items:center;gap:6px}
.biz-legend-item i,.biz-overview-list i{width:8px;height:8px;border-radius:50%;display:inline-block;flex:none}
.biz-legend-item strong{color:var(--label);font-size:15px;font-weight:600}
.biz-legend-item small{color:var(--label-2);font-size:12px}
.dot-verified{background:var(--c-verified)}.dot-submitted{background:var(--c-submitted)}.dot-active{background:var(--c-active)}.dot-unassigned{background:var(--c-unassigned)}
.biz-due strong,.biz-due small{display:block;white-space:nowrap}
.biz-due strong{font-size:15px;font-weight:600;color:var(--label)}
.biz-due small{font-size:12px;color:var(--label-2);margin-top:2px}
.biz-due.is-warning strong{color:var(--t-orange)}.biz-due.is-danger strong{color:var(--t-red)}.biz-due.is-done strong{color:var(--t-green)}.biz-due.is-muted strong{color:var(--label-2)}

/* ---------- Task rows ---------- */
.biz-task-list{container-type:inline-size;container-name:tasks}
.biz-task-head,.biz-task-row{display:grid;grid-template-columns:minmax(0,1fr) 150px minmax(200px,280px) 120px;grid-template-areas:"info due progress actions";gap:24px;align-items:center;padding:16px 18px}
.biz-task-head{padding-top:12px;padding-bottom:10px;font-size:12px;font-weight:600;color:var(--label-2);border-bottom:1px solid var(--separator)}
.biz-task-row{position:relative}
.biz-task-row:after{content:'';position:absolute;left:18px;right:18px;bottom:0;border-bottom:1px solid var(--separator)}
.biz-task-row:last-child:after{display:none}
.biz-task-info{grid-area:info;min-width:0}
.biz-task-deadline{grid-area:due}
.biz-task-progress{grid-area:progress;min-width:0}
.biz-task-actions{grid-area:actions;display:flex;flex-direction:column;align-items:stretch;gap:8px}
.biz-task-meta{display:flex;align-items:center;gap:12px;flex-wrap:wrap}
.biz-task-code{font-size:12px;color:var(--label-2);font-variant-numeric:tabular-nums}
.biz-task-row h3{margin:4px 0 2px;font-size:15px;line-height:1.65;font-weight:600}
.biz-shell .biz-task-title{all:unset;cursor:pointer;color:var(--label);overflow-wrap:anywhere}
.biz-shell .biz-task-title:hover{color:var(--tint)}
.biz-shell .biz-task-title:focus-visible{outline:3px solid color-mix(in srgb,var(--tint) 50%,transparent);outline-offset:2px;border-radius:4px}
.biz-task-instructions{font-size:14px;color:var(--label-2);line-height:1.65;margin:0;overflow:hidden;white-space:nowrap;text-overflow:ellipsis}
.biz-task-progress-line{display:flex;justify-content:space-between;align-items:baseline;font-size:12px;color:var(--label-2);margin-bottom:6px}
.biz-task-progress-line strong{font-size:15px;color:var(--label);font-weight:600}
.biz-task-rate{font-size:15px;font-weight:600;color:var(--label)}
.biz-task-flags{display:flex;align-items:center;flex-wrap:wrap;gap:4px 14px;margin-top:8px;min-height:20px}
.biz-shell .biz-task-flags .link{font-size:14px;font-weight:500}
.biz-shell .biz-task-flags .link.is-amber,.biz-shell .biz-task-flags .link.is-red{font-weight:600}
.biz-shell .biz-task-actions .ios-tinted,.biz-shell .biz-task-actions .ios-gray{width:100%}
.biz-shell .biz-detail-link{display:inline-flex;align-items:center;justify-content:center;gap:2px;color:var(--label-2);font-size:14px;font-weight:400}
.biz-shell .biz-detail-link .ios-icon{width:13px;height:13px;stroke-width:2.5}
@container tasks (max-width:760px){
 .biz-task-head{display:none}
 .biz-task-row{grid-template-columns:minmax(0,1fr) auto;grid-template-areas:"info due" "line line" "bar bar" "flags actions";gap:8px 16px;padding:16px 20px;align-items:center}
 .biz-task-progress{display:contents}
 .biz-task-progress-line{grid-area:line;margin:6px 0 0}
 .biz-task-progress>.biz-stack{grid-area:bar}
 .biz-task-flags{grid-area:flags;margin:2px 0 0;min-height:0}
 .biz-task-deadline{grid-area:due;align-self:start;text-align:right}
 .biz-task-actions{grid-area:actions;flex-direction:row;align-items:center;justify-content:flex-end;gap:14px}
 .biz-shell .biz-task-actions .ios-tinted,.biz-shell .biz-task-actions .ios-gray{width:auto}
 .biz-task-instructions{display:none}
}

/* ---------- Task center: issuance card, filters, search ---------- */
.biz-issue{display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:center;gap:28px;margin:0 0 24px;padding:24px 28px;border-radius:24px;color:#fff;background:linear-gradient(150deg,var(--navy-2),var(--navy-1));box-shadow:0 14px 36px rgba(24,58,102,.25)}
.biz-issue-text h2{font-size:20px;font-weight:600;margin:0;color:#fff}
.biz-issue-text p{font-size:15px;color:rgba(255,255,255,.78);margin:6px 0 16px;line-height:1.65}
.biz-shell .biz-issue-button{display:inline-flex;align-items:center;gap:6px;min-height:42px;padding:10px 20px;border:0;border-radius:999px;background:#fff;color:var(--navy-1);font-size:15px;font-weight:600;box-shadow:none}
.biz-shell .biz-issue-button:hover{filter:brightness(.96)}
.biz-issue-stats{display:grid;grid-template-columns:repeat(4,auto);gap:10px}
.biz-issue-stats>div{min-width:96px;padding:12px 16px;border-radius:16px;background:rgba(255,255,255,.1)}
.biz-issue-stats span{display:block;font-size:12px;color:rgba(255,255,255,.75)}
.biz-issue-stats strong{display:block;font-family:var(--font-num);font-size:28px;line-height:34px;font-weight:700;color:#fff;margin-top:2px}
.biz-filterbar{display:flex;align-items:center;justify-content:space-between;gap:16px;flex-wrap:wrap;margin:0 0 18px}
.biz-focus-bar{display:flex;align-items:center;flex-wrap:wrap;gap:8px 16px;min-width:0}
.biz-focus-chips{display:flex;align-items:center;flex-wrap:wrap;gap:8px}
.biz-shell .biz-focus-chip{min-height:34px;padding:0 14px;border-radius:999px;border:1px solid var(--separator);background:transparent;color:var(--label-2);font-size:14px;font-weight:500;line-height:1;box-shadow:none;white-space:nowrap;cursor:pointer}
.biz-shell .biz-focus-chip:hover{background:var(--fill-2)}
.biz-shell .biz-focus-chip.is-active{background:var(--tint-soft);border-color:var(--tint);color:var(--navy-1);font-weight:600}
.biz-shell .biz-focus-chip:focus-visible{outline:2px solid var(--tint);outline-offset:2px}
@media (prefers-color-scheme:dark){.biz-shell .biz-focus-chip.is-active{color:var(--tint)}}
.ios-segmented{display:inline-grid;grid-auto-flow:column;grid-auto-columns:1fr;gap:2px;padding:3px;border-radius:999px;background:var(--fill)}
.biz-shell .ios-segmented button{border:0;border-radius:999px;background:transparent;color:var(--label);padding:6px 16px;font-size:14px;font-weight:500;box-shadow:none;min-height:32px}
.biz-shell .ios-segmented button.active{background:var(--seg-on);color:var(--seg-on-text);font-weight:600;box-shadow:0 2px 8px rgba(16,40,72,.12)}
.ios-search{position:relative;display:flex;align-items:center;gap:8px;flex:0 1 360px;min-width:220px;height:38px;padding:0 14px;border-radius:999px;background:var(--fill);color:var(--label-2)}
.ios-search>.ios-icon{width:17px;height:17px}
.ios-search>.field{margin:0;flex:1;min-width:0}
.ios-search>.field label,.ios-search-submit{position:absolute!important;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0);padding:0!important;border:0!important}
.biz-shell .ios-search input{height:36px;min-height:0;padding:0;border:0;background:transparent;font-size:15px;color:var(--label);box-shadow:none}
.biz-shell .ios-search input::placeholder{color:var(--label-2)}
.biz-shell .ios-search input:focus-visible{outline:none}
.ios-search:focus-within:has(:focus-visible){outline:3px solid color-mix(in srgb,var(--tint) 50%,transparent);outline-offset:2px}
.biz-list-summary{display:flex;gap:14px;font-size:12px;color:var(--label-2)}
.biz-summary-line{font-size:12px;color:var(--label-2)}

/* ---------- Tables ---------- */
.biz-shell .table-wrap{overflow-x:auto}
.biz-shell .table-wrap table{min-width:720px}
.biz-shell table{border-collapse:collapse}
.biz-shell table th{background:transparent;font-size:12px;font-weight:600;color:var(--label-2);padding:14px 18px 10px;white-space:nowrap;border-bottom:1px solid var(--separator);text-align:left}
.biz-shell table td{padding:13px 18px;font-size:15px;color:var(--label);border-bottom:1px solid var(--separator);vertical-align:middle}
.biz-shell table tr:last-child td{border-bottom:0}
.biz-shell table td small{display:block;margin-top:2px;color:var(--label-2);font-size:12px;font-weight:400;white-space:normal}
.biz-shell table td.cell-name{font-weight:600}
.biz-shell table td.num{font-weight:500}
.biz-shell table td.strong{font-weight:600}
.biz-shell table td.cell-bar{min-width:140px;width:22%}
.biz-shell table tbody tr:hover{background:var(--fill-2)}
.biz-tree{display:inline-block;width:16px;color:var(--label-3);font-weight:400}
.biz-note{color:var(--t-orange)!important}
.biz-shell .pagination{display:flex;align-items:center;justify-content:space-between;gap:12px;background:transparent;font-size:12px;color:var(--label-2);padding:12px 18px;border:0;border-top:1px solid var(--separator)}
.biz-shell .pagination .secondary{background:var(--fill);color:var(--tint);border:0;border-radius:999px;padding:6px 14px;font-size:14px;font-weight:600;box-shadow:none}
.biz-pager .pagination{border-top:0;padding:10px 4px 0}
.biz-shell .toolbar{display:flex;align-items:center;gap:8px;flex-wrap:wrap}
.biz-link{color:var(--tint);text-decoration:none;font-size:15px;font-weight:500;overflow-wrap:anywhere}
.biz-link:hover{opacity:.75}

/* ---------- Empty ---------- */
.biz-empty{text-align:center;padding:40px 24px}
.biz-empty-icon{width:44px;height:44px;color:var(--label-3);stroke-width:1.6;margin-bottom:10px}
.biz-empty h3{font-size:20px;font-weight:600;color:var(--label);margin:0 0 6px}
.biz-empty p{font-size:15px;line-height:1.65;color:var(--label-2);margin:0 auto;max-width:360px}
.biz-panel-foot{padding:12px 16px;border-top:1px solid var(--separator);display:flex;justify-content:center}
.biz-panel-chips{display:flex;gap:8px;flex-wrap:wrap;padding:4px 18px 8px}
.biz-panel-chips:empty{display:none}

/* ---------- Manager home: overview card ---------- */
.biz-home-grid{display:grid;grid-template-columns:minmax(330px,.85fr) minmax(0,1.6fr);gap:20px;align-items:start;margin-bottom:28px}
.biz-overview{display:flex;align-items:center;gap:26px;padding:10px 22px 24px}
.biz-overview-ring{position:relative;width:168px;height:168px;flex:none}
.biz-overview-ring .biz-ring{width:100%;height:100%}
.biz-overview-center{position:absolute;inset:0;display:flex;flex-direction:column;align-items:center;justify-content:center}
.biz-overview-center strong{font-family:var(--font-num);font-size:32px;font-weight:700;letter-spacing:0}
.biz-overview-center span{font-size:12px;color:var(--label-2)}
.biz-overview-facts{flex:1;min-width:0}
.biz-overview-main strong{font-family:var(--font-num);font-size:28px;font-weight:700}
.biz-overview-main span{font-size:14px;color:var(--label-2)}
.biz-overview-list{list-style:none;margin:12px 0 0;padding:0}
.biz-overview-list li{display:flex;align-items:center;gap:8px;padding:8px 0;border-top:1px solid var(--separator);font-size:15px}
.biz-overview-list li span{flex:1;color:var(--label-2)}
.biz-overview-list li strong{font-size:15px;font-weight:600}

/* ---------- Member: order-taking cards ---------- */
.biz-member-home .biz-heading{margin-bottom:16px}
.biz-job-tabs{margin:0 0 18px}
.biz-jobs{display:grid;grid-template-columns:repeat(auto-fill,minmax(min(360px,100%),1fr));gap:16px}
.biz-jobs>.ios-card{grid-column:1/-1}
.biz-job{display:flex;flex-direction:column;gap:10px;padding:18px 20px 20px}
.biz-job.is-rejected{box-shadow:inset 0 0 0 1.5px color-mix(in srgb,var(--red) 45%,transparent),var(--shadow)}
.biz-job-head{display:flex;align-items:center;gap:12px;flex-wrap:wrap}
.biz-job-due{margin-left:auto;display:inline-flex;align-items:center;gap:5px;font-size:14px;font-weight:600;padding:5px 10px;border-radius:999px;background:var(--fill);color:var(--label-2)}
.biz-job-due .ios-icon{width:14px;height:14px}
.biz-job-due.is-warning{background:color-mix(in srgb,var(--orange) 15%,transparent);color:var(--t-orange)}
.biz-job-due.is-danger{background:color-mix(in srgb,var(--red) 13%,transparent);color:var(--t-red)}
.biz-job-due.is-done{background:color-mix(in srgb,var(--green) 13%,transparent);color:var(--t-green)}
.biz-job h3{margin:2px 0 0;font-size:20px;line-height:28px;font-weight:600}
.biz-job-text{margin:0;font-size:15px;line-height:1.65;color:var(--label-2);display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}
.biz-job-meta{display:flex;flex-wrap:wrap;gap:4px 18px;font-size:12px;color:var(--label-2)}
.biz-job-meta b{color:var(--label);font-weight:600}
.biz-job-actions{display:flex;align-items:center;gap:10px;flex-wrap:wrap;margin-top:6px;padding-top:14px;border-top:1px solid var(--separator)}
.biz-job-actions .ios-filled{flex:1;min-height:46px;font-size:15px}
.biz-job-actions .biz-job-open{min-height:46px;padding:10px 18px;font-size:15px}
.biz-job-state{display:inline-flex;align-items:center;gap:6px;font-size:15px;font-weight:500;color:var(--t-orange);flex:1}
.biz-job-state.is-done{color:var(--t-green)}
.biz-job-state .ios-icon{width:18px;height:18px}

/* ---------- Task detail ---------- */
.biz-detail-meta{margin:0 0 4px}
.biz-shell .biz-crumb{display:inline-flex;align-items:center;gap:2px;margin-left:-6px;padding:4px 6px;border:0;background:none;color:var(--tint);font-size:15px;font-weight:400;cursor:pointer;box-shadow:none}
.biz-shell .biz-crumb .ios-icon{width:22px;height:22px;stroke-width:2.4}
.biz-detail .biz-heading{margin-bottom:10px}
.biz-detail-due{display:flex;align-items:center;flex-wrap:wrap;gap:8px 20px;margin:0 0 22px}
.biz-detail-due .biz-due{display:flex;align-items:baseline;gap:10px}
.biz-detail-due .biz-due strong{font-size:15px}
.biz-detail-due .biz-due small{margin:0;font-size:15px}
.biz-detail-tags{display:inline-flex;align-items:center;gap:14px;flex-wrap:wrap}
.biz-urge-time{color:var(--label-2);font-size:12px;white-space:nowrap}
.biz-own-allocations{display:flex;flex-direction:column;gap:10px;margin-bottom:24px}
.biz-own-allocation{display:flex;align-items:center;gap:14px;padding:14px 18px}
.biz-own-text{flex:1;min-width:0}
.biz-own-text strong{display:block;font-size:15px;font-weight:600}
.biz-own-text p{margin:2px 0 0;font-size:12px;color:var(--label-2)}
.biz-detail .biz-metrics{margin-bottom:28px}
.biz-detail-grid{display:grid;grid-template-columns:minmax(0,1.2fr) minmax(0,1fr);gap:24px;align-items:start}
.biz-detail-grid.is-single{grid-template-columns:minmax(0,1fr)}
.biz-detail-grid>.ios-section>.ios-list,.biz-detail-grid>.ios-section>.ios-card{margin-bottom:22px}
.biz-detail-grid>.ios-section>.ios-list:last-child{margin-bottom:0}
.biz-instructions{white-space:pre-wrap;line-height:1.65;font-size:15px;color:var(--label);margin:0}
.biz-progress-hero{display:flex;align-items:baseline;gap:10px}
.biz-progress-hero strong{font-family:var(--font-num);font-size:32px;font-weight:700;letter-spacing:0;color:var(--label)}
.biz-progress-hero span{font-size:15px;color:var(--label-2)}
.biz-funnel{list-style:none;padding:0;margin:16px 0 0;display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:8px}
.biz-funnel li{padding:10px 12px;border-radius:14px;background:var(--fill-2);min-width:0}
.biz-funnel li:last-child{background:color-mix(in srgb,var(--green) 13%,transparent)}
.biz-funnel span,.biz-funnel strong,.biz-funnel small{display:block}
.biz-funnel span{font-size:12px;color:var(--label-2)}
.biz-funnel strong{font-family:var(--font-num);font-size:24px;font-weight:700;margin:2px 0;color:var(--label)}
.biz-funnel small{font-size:12px;color:var(--label-2)}
.biz-execution-filter{display:flex;align-items:center;gap:14px;flex-wrap:wrap}
.biz-execution-filter>.field{margin:0;display:flex;flex-direction:row;align-items:center;gap:8px}
.biz-execution-filter>.field label{font-size:14px;color:var(--label-2);font-weight:400;white-space:nowrap}
.biz-shell .biz-execution-filter select{height:34px;width:auto;min-width:150px;padding:4px 30px 4px 14px;border:0;border-radius:999px;background-color:var(--fill);color:var(--tint);font-size:15px;font-weight:500}
.biz-unassigned-notice{margin:0 0 12px;padding:12px 16px;background:color-mix(in srgb,var(--orange) 13%,var(--card-solid));border-radius:14px;font-size:15px;line-height:1.65;color:var(--t-orange)}
.biz-member-actions{display:grid;grid-template-columns:repeat(auto-fill,minmax(min(320px,100%),1fr));gap:12px}
.biz-member-action{padding:16px;display:flex;flex-direction:column;gap:12px}
.biz-member-action-head{display:flex;align-items:flex-start;justify-content:space-between;gap:10px}
.biz-member-action-head strong{display:block;font-size:15px;font-weight:600}
.biz-member-action-head small{display:flex;align-items:center;gap:8px;font-size:12px;color:var(--label-2);margin-top:4px}
.biz-member-action p{margin:0}
.biz-open-row{display:flex;align-items:center;gap:10px;padding:12px 14px;border-radius:14px;background:var(--fill-2);color:var(--tint);font-size:15px;font-weight:500;text-decoration:none}
.biz-open-row>span{flex:1}
.biz-open-row:hover{background:var(--fill)}
.biz-member-action>button{width:100%;min-height:48px;font-size:15px}
.biz-review-note{color:var(--t-red);font-size:14px;line-height:1.65;margin:0;padding:10px 12px;border-radius:12px;background:color-mix(in srgb,var(--red) 10%,transparent)}

/* ---------- Leader dashboard ---------- */
.cc-home{color:var(--label)}
.cc-dashboard{font-variant-numeric:tabular-nums}
.cc-dashboard:fullscreen{background:var(--bg);padding:32px 40px;box-sizing:border-box;overflow:auto;min-height:100vh}
.cc-heading{margin-bottom:22px}
.cc-heading-meta{display:flex;align-items:center;flex-wrap:wrap;gap:6px 18px;margin-top:6px}
.cc-heading-meta .cc-summary{font-size:15px;font-weight:600;color:var(--label)}
.cc-updated{display:inline-flex;align-items:center;gap:7px;color:var(--label-2);font-size:12px}
.cc-updated:before{content:'';width:8px;height:8px;background:var(--green);border-radius:50%}
.cc-updated.is-stale{color:var(--t-orange)}
.cc-updated.is-stale:before{background:var(--orange)}
.cc-auto{display:inline-flex;align-items:center;gap:10px;font-size:12px;color:var(--label-2);cursor:pointer}
.cc-controls{display:flex;align-items:center;justify-content:flex-end;gap:10px;flex-wrap:wrap}
.cc-grid{display:grid;gap:20px;margin-bottom:24px;align-items:stretch}
.cc-grid-top{grid-template-columns:minmax(0,1.85fr) minmax(340px,1fr)}
.cc-grid-bottom{grid-template-columns:minmax(0,1.4fr) minmax(0,1fr)}
.cc-stack{grid-template-columns:minmax(0,1fr)}
.cc-hero{display:grid;grid-template-columns:270px minmax(0,1fr);border-radius:24px;overflow:hidden}
.cc-hero-ring{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:16px;padding:26px 20px;border-right:1px solid var(--separator)}
.cc-ring{position:relative;width:200px;height:200px}
.cc-ring .biz-ring{width:100%;height:100%}
.cc-ring-label{position:absolute;inset:0;display:flex;flex-direction:column;align-items:center;justify-content:center}
.cc-ring-label strong{font-family:var(--font-num);font-size:40px;font-weight:700;letter-spacing:0;color:var(--label)}
.cc-ring-label span{font-size:12px;color:var(--label-2);margin-top:2px}
.cc-hero-facts{text-align:center}
.cc-hero-facts strong{font-family:var(--font-num);font-size:24px;font-weight:700}
.cc-hero-facts span{font-size:14px;color:var(--label-2);margin-left:4px}
.cc-hero-facts p{margin:4px 0 0;font-size:12px;color:var(--label-2)}
.cc-hero-trend{min-width:0;display:flex;flex-direction:column}
.cc-panel{display:flex;flex-direction:column}
.cc-panel-heading{padding:18px 18px 6px;display:flex;align-items:flex-start;justify-content:space-between;gap:12px}
.cc-panel-heading h2{font-size:20px;line-height:28px;font-weight:600;color:var(--label);margin:0}
.cc-panel-heading p{font-size:12px;color:var(--label-2);line-height:1.7;margin:2px 0 0}
.cc-panel-heading>.link{white-space:nowrap}
.cc-trend-body{padding:6px 18px 18px;flex:1;display:flex;flex-direction:column}
.cc-trend-legend{display:flex;gap:18px;font-size:12px;color:var(--label-2);margin-bottom:28px}
.cc-trend-legend span{display:flex;align-items:center;gap:6px}
.cc-trend-legend b{color:var(--label);font-weight:600}
.cc-trend-legend i,.cc-chart-note i{display:inline-block;width:9px;height:9px;border-radius:50%;flex:none}
.cc-dot-blue{background:var(--c-active)}.cc-dot-mint{background:var(--c-verified)}.cc-dot-amber{background:var(--c-submitted)}
.cc-chart-grid{display:grid;grid-template-columns:minmax(0,1fr) 28px;gap:8px;height:170px;flex:none}
.cc-hero-trend .cc-chart-grid{flex:1 1 auto;height:auto;min-height:190px}
.cc-chart-axis{display:flex;flex-direction:column;justify-content:space-between;color:var(--label-2);font-size:12px;line-height:1;transform:translateY(-6px)}
.cc-trend-plot{position:relative;min-width:0}
.cc-chart-lines{position:absolute;inset:0;display:flex;flex-direction:column;justify-content:space-between;pointer-events:none}
.cc-chart-lines i{border-top:1px dashed var(--separator)}
.cc-trend-columns{position:absolute;inset:0;display:grid;column-gap:clamp(4px,1.6%,14px);padding:0 4px}
.cc-trend-day{position:relative;display:flex;align-items:flex-end;justify-content:center;gap:4px;height:100%;min-width:0;border-radius:10px;cursor:pointer}
.cc-trend-bar{display:block;flex:1;max-width:18px;border-radius:999px 999px 4px 4px;min-height:4px;opacity:.38;transition:opacity .15s}
.cc-trend-bar.submit{background:var(--c-active)}
.cc-trend-bar.verify{background:var(--c-verified)}
.cc-trend-day:hover .cc-trend-bar,.cc-trend-day.is-selected .cc-trend-bar{opacity:1}
.cc-trend-bubble{position:absolute;left:50%;bottom:calc(var(--h,50%) + 8px);transform:translateX(-50%);padding:4px 9px;border-radius:999px;background:var(--navy-1);color:#fff;font-size:12px;font-weight:600;white-space:nowrap;box-shadow:0 4px 12px rgba(24,58,102,.25);pointer-events:none}
.cc-trend-dates{display:grid;column-gap:clamp(4px,1.6%,14px);padding:0 4px;margin:10px 36px 0 0;font-size:12px;color:var(--label-2)}
.cc-trend-dates span{white-space:nowrap;overflow:hidden;min-width:0}
.cc-trend-dates.is-centered span{text-align:center}
.cc-trend-readout{min-height:20px;color:var(--label-2);font-size:12px;line-height:1.7;margin:12px 0 0;overflow-wrap:anywhere}
.cc-chart-note{display:flex;align-items:center;flex-wrap:wrap;gap:4px 6px;font-size:12px;line-height:1.7;color:var(--label-2);margin:10px 0 0}
.cc-empty{flex:1;min-height:180px;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:4px;color:var(--label-2);padding:20px;text-align:center}
.cc-empty p{font-size:15px;margin:0}
.cc-kpis{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px;margin-bottom:24px}
.cc-inbox{flex:1}
.cc-platform-list{padding:8px 18px 18px}
.cc-platform-row{padding:10px 0;border-bottom:1px solid var(--separator)}
.cc-platform-row:last-child{border-bottom:0}
.cc-platform-meta{display:flex;justify-content:space-between;align-items:baseline;gap:8px;margin-bottom:8px}
.cc-platform-meta>span{white-space:nowrap}
.cc-platform-name{font-size:15px;font-weight:500;color:var(--label)}
.cc-platform-value{font-size:12px;color:var(--label-2)}
.cc-platform-value strong{font-size:15px;font-weight:600;color:var(--label)}
.cc-platform-track{height:8px;border-radius:4px;background:var(--fill-track);display:flex;gap:2px;overflow:hidden}
.cc-platform-track span{display:block;height:100%;border-radius:4px}
.cc-platform-done{background:var(--c-verified)}
.cc-platform-alert{display:block;font-size:12px;font-weight:600;color:var(--t-red);margin-top:6px}
.cc-owner-list{padding:4px 18px 10px;max-height:420px;overflow:auto}
.cc-owner-columns,.cc-owner-row{display:grid;grid-template-columns:minmax(0,1fr) minmax(140px,1.8fr) 48px 64px;gap:16px;align-items:center}
.cc-owner-columns{position:sticky;top:0;background:var(--card-solid);padding:10px 0 8px;font-size:12px;font-weight:600;color:var(--label-2);border-bottom:1px solid var(--separator);z-index:1}
.cc-owner-columns>span:nth-child(n+3){text-align:right}
.cc-owner-row{padding:14px 0;border-bottom:1px solid var(--separator)}
.cc-owner-row:last-child{border-bottom:0}
.cc-owner-name{min-width:0}
.cc-owner-name strong{display:block;font-size:15px;font-weight:600;color:var(--label);overflow-wrap:anywhere}
.cc-owner-name small{display:block;color:var(--label-2);font-size:12px;margin-top:1px}
.cc-owner-name em{color:var(--t-orange);font-size:12px;font-style:normal}
.cc-owner-progress{display:flex;align-items:center;gap:12px;min-width:0}
.cc-owner-track{flex:1;height:8px;border-radius:4px;background:var(--fill-track);overflow:hidden}
.cc-owner-track>span{display:block;height:100%;border-radius:4px;background:var(--c-verified)}
.cc-owner-progress>span{font-size:12px;color:var(--label-2);white-space:nowrap;min-width:54px;text-align:right}
.cc-owner-num{text-align:right;font-size:15px;font-weight:600;color:var(--label-3)}
.cc-owner-rate{text-align:right;font-size:15px;font-weight:600;color:var(--label)}
.cc-bottom-note{font-size:12px;line-height:1.7;color:var(--label-2);margin:0 6px}

/* ---------- Switch & selection ---------- */
.ios-switch{appearance:none;-webkit-appearance:none;position:relative;width:51px!important;min-width:51px;height:31px!important;margin:0;padding:0!important;border:0!important;border-radius:999px!important;background:var(--fill-track)!important;cursor:pointer;transition:background-color .2s}
.ios-switch:before{content:'';position:absolute;top:2px;left:2px;width:27px;height:27px;border-radius:50%;background:#fff;box-shadow:0 3px 8px rgba(0,0,0,.15),0 3px 1px rgba(0,0,0,.06);transition:transform .2s}
.ios-switch:checked{background:var(--green)!important}
.ios-switch:checked:before{transform:translateX(20px)}
.ios-check{appearance:none;-webkit-appearance:none;width:22px!important;min-width:22px;height:22px!important;margin:0;padding:0!important;border:1.5px solid var(--label-4)!important;border-radius:50%!important;background:transparent!important;cursor:pointer;flex:none}
.ios-check:checked{border-color:var(--tint)!important;background:var(--tint) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 12 4 4 8-8'/%3E%3C/svg%3E") center/14px no-repeat!important}
.ios-check:disabled{opacity:.35;cursor:default}

/* ---------- Sheets ---------- */
dialog:has([class*="biz-"]){background:var(--sheet);color:var(--label);border-radius:24px;width:min(560px,calc(100vw - 32px));box-shadow:0 24px 70px rgba(16,40,72,.28);padding:0}
dialog:has(.biz-command-create){width:min(680px,calc(100vw - 32px))}
dialog:has([class*="biz-"])::backdrop{background:rgba(12,22,38,.38);-webkit-backdrop-filter:blur(2px);backdrop-filter:blur(2px)}
dialog:has([class*="biz-"]) .modal-head{position:sticky;top:0;z-index:3;display:flex;align-items:center;justify-content:center;min-height:58px;padding:12px 56px;background:color-mix(in srgb,var(--sheet) 88%,transparent);-webkit-backdrop-filter:blur(20px);backdrop-filter:blur(20px);border-bottom:1px solid var(--separator)}
dialog:has([class*="biz-"]) .modal-head h2{font-size:20px;font-weight:600;color:var(--label);text-align:center;margin:0}
dialog:has([class*="biz-"]) .modal-head button{position:absolute;right:14px;top:50%;transform:translateY(-50%);display:grid;place-items:center;width:30px;height:30px;padding:0;border:0;border-radius:50%;background:var(--fill);color:var(--label-2);font-size:20px;font-weight:600;line-height:1;box-shadow:none}
dialog:has([class*="biz-"]) .modal-body{padding:16px 20px 20px}
dialog:has([class*="biz-"]) .field{margin-bottom:14px}
dialog:has([class*="biz-"]) .field label{font-size:14px;font-weight:400;color:var(--label-2);margin-left:4px}
dialog:has([class*="biz-"]) :is(input:not([type=checkbox]),select,textarea){border:0;border-radius:12px;background:var(--elevated);color:var(--label);font-size:15px;padding:12px 14px;box-shadow:none}
dialog:has([class*="biz-"]) textarea{min-height:96px}
dialog:has([class*="biz-"]) .form-error{background:color-mix(in srgb,var(--red) 12%,transparent);color:var(--t-red);border-radius:12px;font-size:15px}
dialog:has([class*="biz-"]) .form-actions{position:sticky;bottom:0;z-index:2;display:flex;margin:16px -20px -20px;padding:12px 20px 20px;background:color-mix(in srgb,var(--sheet) 90%,transparent);-webkit-backdrop-filter:blur(20px);backdrop-filter:blur(20px)}
dialog:has([class*="biz-"]) .form-actions button[type=submit]{flex:1;min-height:50px;border:0;border-radius:999px;background:var(--tint-fill);color:#fff;font-size:15px;font-weight:600;box-shadow:none}
dialog:has([class*="biz-"]) .biz-muted{font-size:12px;margin:0 4px 12px}
.biz-form-section{margin:0 0 22px}
.biz-form-section>.ios-section-title{font-size:14px;line-height:1.65;font-weight:500;color:var(--label-2);margin:0 16px 6px}
.biz-form-section .ios-section-footer{margin:6px 16px 0}
.biz-form-group{background:var(--elevated);border-radius:14px;overflow:hidden}
.biz-form-group .field{margin:0;padding:10px 16px;gap:2px;border-bottom:1px solid var(--separator)}
.biz-form-group .field:last-child{border-bottom:0}
.biz-form-group .field label{margin:0 0 6px;font-size:13px;color:var(--label-2)}
.biz-command-create .biz-form-grid{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1.4fr) minmax(0,1fr)}
.biz-command-create .biz-form-grid>.field{border-bottom:0;border-right:1px solid var(--separator)}
.biz-command-create .biz-form-grid>.field:last-child{border-right:0}
.biz-target-editor{display:flex;flex-direction:column}
.biz-target-row{display:grid;grid-template-columns:minmax(0,1fr) 152px auto;align-items:center;border-bottom:1px solid var(--separator)}
.biz-target-row .field{border-bottom:0!important}
.biz-target-row>.field:first-child{border-right:1px solid var(--separator)!important}
.biz-target-row>button{margin-right:16px}
.biz-target-row>button[hidden]{display:none}
.biz-shell .biz-add-row,dialog .biz-add-row{display:flex;width:100%;justify-content:flex-start;padding:12px 16px!important;font-size:15px!important}
.biz-create-allocation{padding:0}
.biz-create-allocation>summary{display:flex;align-items:center;justify-content:space-between;padding:13px 16px;font-size:15px;color:var(--label);cursor:pointer;list-style:none}
.biz-create-allocation>summary::-webkit-details-marker{display:none}
.biz-create-allocation>summary small{font-size:15px;color:var(--label-2);margin-left:auto}
.biz-create-allocation>summary:after{content:'';width:8px;height:8px;border-right:2px solid var(--label-4);border-bottom:2px solid var(--label-4);transform:rotate(-45deg);margin-left:10px;transition:transform .2s}
.biz-create-allocation[open]>summary:after{transform:rotate(45deg)}
.biz-create-allocation[open]>summary{border-bottom:1px solid var(--separator)}
.biz-create-allocation .biz-allocation-editor{padding:10px 16px 14px}
.biz-dialog-lead{padding:14px 16px;background:var(--elevated);border-radius:14px;margin-bottom:14px}
.biz-dialog-lead>strong{display:block;font-size:15px;font-weight:600;color:var(--label);overflow-wrap:anywhere}
.biz-dialog-facts{display:flex;flex-wrap:wrap;gap:4px 18px;margin-top:4px;font-size:15px;color:var(--label-2)}
.biz-dialog-facts b{color:var(--label);font-weight:600}
.biz-dialog-facts .is-blue b{color:var(--tint)}
.biz-inline-note{font-size:15px;line-height:1.65;padding:12px 14px;border-radius:12px;background:color-mix(in srgb,var(--orange) 14%,transparent);color:var(--t-orange);margin:10px 0}
.biz-inline-note.is-red{background:color-mix(in srgb,var(--red) 12%,transparent);color:var(--t-red)!important}
.biz-review-compare{background:var(--elevated);border-radius:14px;overflow:hidden;margin-bottom:16px}
.biz-review-compare>div{display:flex;justify-content:space-between;align-items:center;gap:12px;padding:12px 16px;font-size:15px;border-bottom:1px solid var(--separator)}
.biz-review-compare>div:last-child{border-bottom:0}
.biz-review-compare span{color:var(--label)}
.biz-review-compare .biz-link,.biz-review-compare strong{font-size:15px;font-weight:400;color:var(--tint)}
.biz-review-compare strong{color:var(--label-2)}
.biz-allocation-tools{display:flex;gap:10px;align-items:flex-end;margin:0 0 10px}
.biz-allocation-tools .field{flex:1;margin:0}
.biz-allocation-tools .field label{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0)}
dialog .biz-allocation-tools input{background:var(--fill)!important;border-radius:999px!important;padding:8px 14px!important;font-size:15px!important}
.biz-allocation-rows{display:flex;flex-direction:column;max-height:300px;overflow-y:auto;background:var(--elevated);border-radius:14px}
.biz-create-allocation .biz-allocation-rows{background:transparent}
.biz-allocation-row{position:relative;display:flex;gap:14px;align-items:center;padding:10px 16px;min-width:0}
.biz-allocation-row:after{content:'';position:absolute;left:52px;right:0;bottom:0;border-bottom:1px solid var(--separator)}
.biz-allocation-row:last-child:after{display:none}
.biz-allocation-row[hidden]{display:none}
.biz-allocation-row>label{display:flex;align-items:center;gap:14px;min-width:0;flex:1;cursor:pointer}
.biz-allocation-row label span{min-width:0}
.biz-allocation-row strong,.biz-allocation-row small{display:block;overflow-wrap:anywhere}
.biz-allocation-row strong{font-size:15px;font-weight:400;color:var(--label)}
.biz-allocation-row small{color:var(--label-2);font-size:12px;margin-top:1px}
dialog .biz-allocation-row>input{width:84px!important;flex:none;text-align:right;background:var(--fill)!important;border-radius:10px!important;padding:6px 10px!important}
.biz-allocation-total{display:flex;flex-wrap:wrap;gap:4px 12px;font-size:15px;color:var(--label-2);padding:10px 4px 0;margin:0}
.biz-allocation-total strong{color:var(--tint);font-weight:600}
.biz-allocation-total.is-over,.biz-allocation-total.is-over strong{color:var(--t-red)}
.biz-account-options{max-height:300px;overflow:auto;display:flex;flex-direction:column;background:var(--elevated);border-radius:14px;margin:4px 0 0}
.biz-account-option{position:relative;display:flex;align-items:center;gap:14px;padding:10px 16px;cursor:pointer}
.biz-account-option:after{content:'';position:absolute;left:52px;right:0;bottom:0;border-bottom:1px solid var(--separator)}
.biz-account-option:last-child:after{display:none}
.biz-account-option>span:nth-child(2){flex:1;min-width:0}
.biz-account-option.is-disabled{cursor:default}
.biz-account-option strong{display:block;font-size:15px;font-weight:400;color:var(--label)}
.biz-account-option small{display:block;color:var(--label-2);font-size:12px;margin-top:1px}
.biz-account-options>p{padding:14px 16px;margin:0}
.biz-check{display:flex;align-items:flex-start;gap:12px;font-size:15px;line-height:1.65;margin:4px 0 0;padding:12px 16px;background:var(--elevated);border-radius:14px;cursor:pointer;color:var(--label)}
.biz-check .ios-check{margin-top:1px}
dialog .biz-open-row{margin-bottom:10px;background:var(--elevated)}

/* ---------- Toast ---------- */
body:has(.biz-shell) #toast{background:color-mix(in srgb,#13233a 90%,transparent);-webkit-backdrop-filter:blur(20px);backdrop-filter:blur(20px);color:#fff;border-radius:999px;padding:12px 22px;font-size:15px;font-weight:500;box-shadow:0 10px 30px rgba(16,40,72,.25)}

/* ---------- Shared app pages inside this shell ---------- */
.biz-shell .page-title{margin:6px 0 22px}
.biz-shell .page-title h1{font-size:32px;line-height:40px;font-weight:600;color:var(--label)}
.biz-shell .page-title .eyebrow{display:none}
.biz-shell .subtitle{font-size:15px;color:var(--label-2)}
.biz-shell .card{margin-bottom:24px}
.biz-shell .card-head{padding:18px 18px 8px;border-bottom:0}
.biz-shell .card-head h2{font-size:20px;font-weight:600;color:var(--label)}
.biz-shell .card-body{padding:18px}
.biz-shell .profile-row,.biz-shell .notice-item{border-color:var(--separator);color:var(--label)}
.biz-shell .profile-row span:first-child,.biz-shell .notice-item small,.biz-shell .muted{color:var(--label-2)}
.biz-shell .stat{background:var(--card);border:1px solid var(--glass-border);border-radius:var(--radius);box-shadow:var(--shadow)}
.biz-shell .stat-label,.biz-shell .stat-note{color:var(--label-2)}
.biz-shell .stat-value{color:var(--label)}
.biz-shell .stat-icon{background:var(--tint-soft);color:var(--tint)}
.biz-shell .info-banner{background:var(--tint-soft);border:0;color:var(--label);border-radius:14px}
.biz-shell .error-box{background:color-mix(in srgb,var(--red) 10%,var(--card-solid));border:0;color:var(--t-red);border-radius:var(--radius)}
.biz-shell .empty{color:var(--label-2)}
.biz-shell :is(input:not([type=checkbox]):not([type=radio]),select,textarea){border:0;border-radius:12px;background:var(--fill);color:var(--label)}
.biz-shell button:is(:not([class]),[class='']),.biz-shell button.secondary,.biz-shell button.danger{border-radius:999px}
.biz-shell button.secondary{background:var(--fill);border:0;color:var(--tint)}
.biz-shell button.danger{background:color-mix(in srgb,var(--red) 13%,transparent);border:0;color:var(--t-red)}
.biz-shell button:is(:not([class]),[class='']):not(.ios-segmented>button):not(.biz-nav>button){background:var(--tint-fill);border:0;color:#fff}


/* ---------- Korean Clean Minimalist Layer (T!kitaka / Toss — crisp white cards, zero waves/stripes) ---------- */
.biz-shell{background:var(--bg)}
.ios-card,.ios-list,.cc-panel,.biz-shell .card,.biz-metric,.cc-hero,.biz-job,.biz-own-allocation,.biz-member-action,.biz-shell .stat{background:var(--card);border:1px solid var(--glass-border);border-radius:20px;box-shadow:var(--shadow);-webkit-backdrop-filter:none;backdrop-filter:none}
.biz-shell .biz-metric:is(.success,.warning,.danger){background:var(--card);border:1px solid var(--glass-border)}
/* Header: crisp white bar, clean segmented nav pill (no heavy glow). */
.biz-header{background:var(--bar-bg);border-bottom:1px solid var(--glass-border)}
.biz-brand-icon{background:var(--tint);border-radius:10px;box-shadow:none}
.biz-shell .biz-nav{background:var(--fill-2);padding:4px;gap:4px;border-radius:999px;border:1px solid var(--glass-border)}
.biz-shell .biz-nav button{padding:7px 18px;color:var(--label-2);font-size:14px;font-weight:500}
.biz-shell .biz-nav button:hover:not(.active){color:var(--label)}
.biz-shell .biz-nav button.active{background:var(--seg-on);color:var(--seg-on-text);font-weight:600;box-shadow:0 1px 3px rgba(25,31,40,.08),0 2px 6px rgba(25,31,40,.04)}
.biz-shell .biz-nav button.active .ios-icon{color:var(--seg-on-text)}
.biz-header .notification-button{background:var(--card-solid);box-shadow:0 0 0 1px var(--glass-border)}
.biz-header .notification-button:hover{background:var(--fill-2)}
/* Segmented controls: clean pill track with crisp white active thumb. */
.biz-shell .ios-segmented{background:var(--fill-2);padding:3px;gap:2px;border-radius:999px;border:1px solid var(--glass-border)}
.biz-shell .ios-segmented button{background:transparent;color:var(--label-2);padding:6px 15px;font-weight:500}
.biz-shell .ios-segmented button:hover:not(.active){color:var(--label)}
.biz-shell .ios-segmented button.active{background:var(--seg-on);color:var(--seg-on-text);font-weight:600;box-shadow:0 1px 3px rgba(25,31,40,.08)}
/* Buttons: crisp flat Cobalt primary & clean white bordered secondary. */
.ios-gray{background:var(--card-solid)!important;color:var(--label-2)!important;box-shadow:0 0 0 1px var(--glass-border)!important}
.ios-gray:hover{background:var(--fill-2)!important;color:var(--label)!important}
.ios-filled{background:var(--tint)!important;box-shadow:0 4px 12px color-mix(in srgb,var(--tint) 22%,transparent)!important}
.ios-filled:hover{filter:brightness(.95)}
/* KPI tiles: pure clean minimalist cards, flat soft squircle icon, zero bottom wave blobs. */
.biz-metric{padding:18px 20px 20px;min-height:142px;transition:transform .15s,box-shadow .15s,border-color .15s}
.biz-metric:hover{border-color:color-mix(in srgb,var(--tint) 26%,var(--glass-border));box-shadow:0 6px 20px rgba(25,31,40,.06)}
.biz-metric:after{display:none!important;content:none!important}
.biz-metric>*{position:relative;z-index:1}
.biz-metric-icon{width:38px;height:38px;border-radius:12px;background:color-mix(in srgb,currentColor 11%,transparent);box-shadow:none}
@media (prefers-color-scheme:dark){.biz-metric-icon{background:color-mix(in srgb,currentColor 16%,transparent);box-shadow:none}}
.biz-metric-label{font-size:14px;font-weight:600}
.biz-metric-value strong{font-size:36px;line-height:42px;font-weight:700;letter-spacing:-.02em}
.biz-metric-ring{position:relative;display:grid;place-items:center;width:54px;height:54px;flex:none;color:inherit}
.biz-metric .biz-metric-ring .biz-ring{position:absolute;inset:0;width:100%;height:100%;filter:none}
.biz-metric-ring>.ios-icon{width:18px;height:18px}
.biz-shell .biz-metric.is-featured.is-featured{background:var(--tint);border-color:transparent;box-shadow:0 10px 26px rgba(59,91,255,.22)}
.biz-metric.is-featured:after{display:none!important}
.biz-metric.is-featured .biz-metric-icon{background:rgba(255,255,255,.18);box-shadow:none}
.biz-metric.is-featured .biz-metric-ring{color:#8ff0e4}
/* Hero ring: clean flat ring around crisp white disc. */
.cc-hero{grid-template-columns:330px minmax(0,1fr)}
.cc-hero-ring{background:transparent}
.cc-ring{width:236px;height:236px}
.cc-ring:before{content:'';position:absolute;inset:30px;border-radius:50%;background:var(--card-solid);box-shadow:0 4px 14px rgba(25,31,40,.06),inset 0 0 0 1px var(--glass-border)}
.cc-ring .biz-ring{position:relative;filter:none}
.cc-ring-label{gap:2px}
.cc-ring-icon{width:22px;height:22px;color:var(--green);margin-bottom:2px}
.cc-ring-label strong{font-size:40px;font-weight:700}
.cc-ring-label .biz-chip{margin-top:6px}
.cc-hero-facts p{margin:2px 0}
/* Trend: clean flat rounded pill bars (Cobalt submit + Mint verify, zero candy stripes). */
.cc-trend-day{gap:5px}
.cc-trend-bar{max-width:22px;border-radius:8px 8px 4px 4px;opacity:1}
.cc-trend-bar.submit{background:color-mix(in srgb,var(--tint) 24%,var(--card-solid))}
.cc-trend-bar.verify{background:color-mix(in srgb,var(--green) 28%,var(--card-solid))}
.cc-trend-day:hover .cc-trend-bar.submit,.cc-trend-day.is-selected .cc-trend-bar.submit{background:var(--tint)}
.cc-trend-day:hover .cc-trend-bar.verify,.cc-trend-day.is-selected .cc-trend-bar.verify{background:var(--green)}
.cc-trend-day[data-zero="1"] .cc-trend-bar{display:none}
.cc-trend-zero{display:block;flex:1;max-width:48px;height:2px;border-radius:999px;background:var(--fill-track)}
.cc-trend-bubble{background:#191f28;color:#fff;padding:4px 10px;border-radius:999px;box-shadow:0 4px 12px rgba(25,31,40,.18)}
.cc-trend-bubble:after{content:'';position:absolute;left:50%;bottom:-6px;width:7px;height:7px;margin-left:-3.5px;border-radius:50%;background:var(--green);box-shadow:0 0 0 2.5px var(--card-solid)}
.cc-chart-lines i{border-top:1px dashed var(--separator)}
/* Progress bars: sleek flat 8px Mint bars (zero diagonal barber stripes). */
.cc-platform-track,.cc-owner-track{height:8px;border-radius:999px;background:var(--fill-track)}
.cc-platform-done,.cc-owner-track>span{background:var(--green)!important;border-radius:999px}
.biz-stack{height:8px;border-radius:999px}
/* Gauge (managers' completion card). */
.biz-overview{flex-direction:column;align-items:stretch;gap:18px;padding:6px 22px 24px}
.biz-overview-ring{align-self:center;width:250px;height:150px}
.biz-gauge{width:100%;height:auto;display:block}
.biz-gauge line{stroke:var(--fill-track)}
.biz-gauge line.is-on{stroke:var(--green)}
.biz-overview-center{inset:auto 0 0 0;justify-content:flex-end}
.biz-overview-center strong{font-size:40px;font-weight:700}
.biz-overview-facts{display:grid;grid-template-columns:auto 1fr;gap:16px;align-items:center}
.biz-overview-list{margin:0;display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px}
.biz-overview-list li{flex-direction:column;align-items:flex-start;gap:2px;padding:10px 12px;border:1px solid var(--glass-border);border-radius:14px;background:var(--fill-2);font-size:12px}
.biz-overview-list li strong{font-size:20px}
/* Issuance card: clean flat Cobalt card (zero spotlight blobs). */
.biz-issue{position:relative;overflow:hidden;border-radius:22px;background:var(--tint);box-shadow:0 10px 26px rgba(59,91,255,.2)}
.biz-issue:before{display:none!important}
.biz-issue>*{position:relative}
.biz-issue-stats>div{background:rgba(255,255,255,.14);border:1px solid rgba(255,255,255,.16);border-radius:16px}
/* Member job cards: pure clean white Toss card (status shown cleanly via pill/outline). */
.biz-job{position:relative;overflow:hidden;color:var(--label)}
.biz-job>*{position:relative;z-index:1}
.biz-job.is-rejected{border-color:color-mix(in srgb,var(--red) 40%,transparent)}
.biz-job.is-verified{border-color:color-mix(in srgb,var(--green) 40%,transparent)}
@media(min-width:1101px){
 .biz-personal summary{display:flex;align-items:center;gap:10px;padding:3px 14px 3px 3px;border-radius:999px;background:var(--card-solid);box-shadow:0 0 0 1px var(--glass-border)}
 .biz-personal-text{position:static;width:auto;height:auto;overflow:visible;clip:auto}
 .biz-personal-text strong,.biz-personal-text small{display:block;white-space:nowrap}
 .biz-personal-text strong{font-size:13.5px;color:var(--label)}
 .biz-personal-text small{font-size:11.5px;color:var(--label-2)}
 .biz-avatar{width:34px;height:34px;background:var(--tint-soft);color:var(--tint);border:1px solid color-mix(in srgb,var(--tint) 20%,transparent)}
}


/* ---------- Type hierarchy: 1 headline · 2 key numbers · 3 card titles · 4 content · 5 secondary ---------- */
/* Level 1 — the single most important number on the screen. */
.cc-ring-label strong,.biz-overview-center strong{font-size:40px;line-height:60px;font-weight:700;letter-spacing:0}
.cc-ring-label span,.biz-overview-center span{font-size:12px;font-weight:500;color:var(--label-2)}
/* Level 2 — page title and KPI values (the featured KPI one step larger). */
.biz-heading h1{font-size:28px;line-height:36px;font-weight:600}
.biz-metric-value strong{font-size:32px;line-height:40px;font-weight:600}
.biz-metric.is-featured .biz-metric-value strong{font-size:40px;line-height:46px;font-weight:700}
.biz-issue-stats strong,.biz-progress-hero strong{font-size:28px}
/* Level 3 — card and section titles. */
.cc-panel-heading h2,.ios-section-title,.biz-issue-text h2{font-size:20px;line-height:28px;font-weight:600;color:var(--label)}
.biz-issue-text h2{font-size:20px;color:#fff}
/* Level 4 — content: names, labels, values inside lists. */
.biz-task-row h3{font-size:15px;line-height:1.65}
.biz-metric-label{font-size:15px;font-weight:600}
.cc-owner-name strong{font-size:15px}
.cc-owner-rate{font-size:15px}
.cc-platform-name{font-size:14px;font-weight:500}
.cc-platform-value strong{font-size:15px}
.biz-task-progress-line strong{font-size:15px}
.biz-due strong{font-size:14px}
.biz-job h3{font-size:20px}
/* Level 5 — secondary information: smaller and lighter, so it never competes. */
.biz-metric>small,.cc-panel-heading p,.biz-task-instructions,.biz-due small,.biz-task-code,.biz-task-progress-line,.cc-owner-name small,.cc-platform-value,.cc-hero-facts p,.cc-updated,.cc-auto,.cc-date,.biz-job-meta,.cc-bottom-note,.ios-section-footer,.biz-task-flags .link,.biz-detail-link{font-size:12px;line-height:1.7}
.biz-metric>small,.cc-hero-facts p,.biz-task-instructions,.biz-due small,.cc-owner-name small,.cc-bottom-note,.ios-section-footer{color:var(--label-3)}
.cc-chart-axis,.cc-trend-dates,.cc-trend-legend,.cc-trend-readout,.cc-owner-columns,.biz-task-head,.biz-shell table th{font-size:12px;color:var(--label-3)}
.biz-chip,.ios-status{font-size:12px}
.cc-heading-meta .cc-summary{font-size:15px}


/* ---------- Alignment: one 20px inner edge, one right edge, equal tile rows ---------- */
.cc-panel-heading{padding:20px 20px 8px}
.biz-panel-chips{padding:4px 20px 10px}
.biz-pad{padding:20px}
.cc-trend-body{padding:6px 20px 20px}
.cc-platform-list{padding:6px 20px 20px}
.cc-owner-list{padding:2px 20px 12px}
.biz-shell table th{padding:14px 20px 10px}
.biz-shell table td{padding:14px 20px}
.ios-row{padding:8px 20px}
.ios-row:after{left:20px}
.biz-task-head,.biz-task-row{padding-left:20px;padding-right:20px}
.biz-task-row:after{left:20px;right:20px}
.biz-shell .pagination{padding:12px 20px}
.ios-section-footer{margin:10px 20px 0}
.cc-bottom-note{margin:0 20px}
.biz-overview{padding:6px 20px 22px}
/* KPI tiles: fixed head and value rows so numbers and notes line up across a row of tiles. */
.biz-metric{display:flex;flex-direction:column;padding:20px}
.biz-metric-head{min-height:42px}
.biz-metric-body{min-height:68px;margin-top:12px;align-items:center}
.biz-metric>small{margin-top:auto;padding-top:6px}
.cc-kpis,.biz-metrics{align-items:stretch}
/* Owner rows: numbers right-aligned on one edge. */
.cc-owner-num,.cc-owner-rate,.cc-owner-columns>span:nth-child(n+3){text-align:right;font-variant-numeric:tabular-nums}

/* ---------- Responsive ---------- */
@media(max-width:1240px){
 .cc-grid-top{grid-template-columns:minmax(0,1fr)}
 .cc-kpis{grid-template-columns:repeat(3,minmax(0,1fr))}
 .cc-grid-bottom{grid-template-columns:minmax(0,1fr)}
 .biz-home-grid{grid-template-columns:minmax(0,1fr)}
 .biz-detail-grid{grid-template-columns:minmax(0,1fr)}
 .biz-metrics{grid-template-columns:repeat(2,minmax(0,1fr))}
 .biz-issue{grid-template-columns:minmax(0,1fr)}
}
@media(max-width:1100px){.biz-header-inner,.biz-main{width:calc(100% - 32px)}}
@media(max-width:760px){
 /* backdrop-filter would become the containing block of the fixed tab bar */
 .biz-header{-webkit-backdrop-filter:none;backdrop-filter:none;background:color-mix(in srgb,var(--bg) 94%,transparent)}
 .biz-header-inner{grid-template-columns:1fr auto;min-height:54px;width:calc(100% - 32px)}
 .biz-brand strong{font-size:15px}
 .biz-nav{position:fixed;z-index:35;left:50%;bottom:calc(14px + env(safe-area-inset-bottom));transform:translateX(-50%);display:grid;grid-template-columns:1fr 1fr;width:min(320px,calc(100% - 48px));padding:5px;background:var(--bar-bg);-webkit-backdrop-filter:saturate(180%) blur(24px);backdrop-filter:saturate(180%) blur(24px);box-shadow:0 8px 30px rgba(16,40,72,.18),0 0 0 1px var(--separator)}
 .biz-shell .biz-nav button{flex-direction:column;gap:2px;padding:6px 8px;font-size:12px;font-weight:600}
 .biz-shell .biz-nav button .ios-icon{width:22px;height:22px}
 .biz-shell .biz-nav button.active{background:var(--fill);box-shadow:none}
 .biz-main{width:calc(100% - 32px);padding:12px 0 110px}
 body:has(.biz-shell) #toast{bottom:96px}
 .biz-heading{flex-direction:column;align-items:stretch;gap:14px}
 .biz-heading h1{font-size:28px;line-height:34px}
 .biz-heading>.toolbar{flex-wrap:wrap}
 .biz-heading>.ios-filled{align-self:flex-start}
 .biz-metrics,.cc-kpis{grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}
 .cc-kpis>.biz-metric:first-child{grid-column:1/-1}
 .biz-metric{padding:14px 14px 16px}
 .biz-metric-value strong{font-size:28px;line-height:34px}
 .cc-ring-label strong{font-size:40px;line-height:42px}
 .biz-overview-center strong{font-size:40px;line-height:48px}
 .biz-heading h1{font-size:28px;line-height:32px}
 .biz-metric-value strong{font-size:28px;line-height:32px}
 .biz-metric.is-featured .biz-metric-value strong{font-size:32px;line-height:38px}
 .biz-metric-ring{width:46px;height:46px}
 .biz-metric-ring>.ios-icon{width:16px;height:16px}
 .biz-metric{min-height:0}
 .biz-overview-list li strong{font-size:15px}
 .cc-hero{grid-template-columns:minmax(0,1fr)}
 .cc-ring{width:184px;height:184px}
 .cc-ring:before{inset:24px}
 .cc-ring-icon{display:none}
 .cc-ring-label .biz-chip{display:none}
 .biz-metric-head .biz-chip{display:none}
 .biz-metric-icon{width:30px;height:30px;font-size:15px}
 .biz-filterbar{flex-direction:column;align-items:stretch;gap:12px}
 .biz-filterbar>*{min-width:0;max-width:100%}
 .ios-segmented.biz-focus-tabs{display:flex;overflow-x:auto;scrollbar-width:none}
 .biz-shell .ios-segmented.biz-focus-tabs button{flex:1 0 auto;padding:6px 12px}
 .biz-focus-bar{flex-direction:column;align-items:stretch;gap:10px}
 .biz-focus-chips{overflow-x:auto;flex-wrap:nowrap;scrollbar-width:none}
 .biz-shell .biz-focus-chip{min-height:44px;flex:0 0 auto}
 .biz-job-tabs{display:grid;width:100%}
 .ios-search{flex:none;min-width:0}
 .biz-issue{padding:20px;gap:18px}
 .biz-issue-stats{grid-template-columns:repeat(2,minmax(0,1fr))}
 .biz-issue-stats>div{min-width:0}
 .biz-funnel{grid-template-columns:repeat(2,minmax(0,1fr))}
 .biz-own-allocation{flex-wrap:wrap}
 .biz-own-allocation>.toolbar{width:100%}
 .biz-own-allocation>.toolbar .ios-filled{flex:1;min-height:44px}
 .biz-execution-filter{width:100%;justify-content:space-between}
 .biz-overview-facts{grid-template-columns:1fr}
 .cc-controls{justify-content:flex-start}
 .cc-grid{gap:16px;margin-bottom:20px}
 .cc-hero{grid-template-columns:minmax(0,1fr)}
 .cc-hero-ring{border-right:0;border-bottom:1px solid var(--separator);flex-direction:row;padding:18px}
 .cc-ring{width:140px;height:140px;flex:none}
 .cc-ring-label strong{font-size:28px}
 .cc-hero-facts{text-align:left}
 .cc-trend-body{padding:6px 14px 14px}
 .cc-chart-grid{height:150px;grid-template-columns:minmax(0,1fr) 24px;gap:6px}
 .cc-trend-dates{margin-right:30px;font-size:12px}
 .cc-owner-list{padding:4px 14px 8px}
 .cc-owner-columns,.cc-owner-row{grid-template-columns:minmax(0,1fr) minmax(0,1.2fr) 36px 52px;gap:10px}
 .cc-owner-progress>span{display:none}
 .cc-dashboard:fullscreen{padding:16px}
 dialog:has([class*="biz-"]){width:100%!important;max-width:100%;margin:auto 0 0;max-height:94vh;border-radius:24px 24px 0 0;animation:biz-sheet-up .32s cubic-bezier(.2,.9,.25,1)}
 dialog:has([class*="biz-"]) .modal-head{padding-top:18px}
 dialog:has([class*="biz-"]) .modal-head:before{content:'';position:absolute;top:6px;left:50%;width:36px;height:5px;margin-left:-18px;border-radius:3px;background:var(--label-4)}
 dialog:has([class*="biz-"]) .modal-body{padding:14px 16px calc(16px + env(safe-area-inset-bottom))}
 dialog:has([class*="biz-"]) .form-actions{margin:16px -16px calc(-16px - env(safe-area-inset-bottom));padding:12px 16px calc(16px + env(safe-area-inset-bottom))}
 .biz-command-create .biz-form-grid{grid-template-columns:1fr}
 .biz-command-create .biz-form-grid>.field{border-right:0;border-bottom:1px solid var(--separator)}
 .biz-target-row{grid-template-columns:1fr auto}
 .biz-target-row>.field:first-child{grid-column:1/-1;border-right:0!important;border-bottom:1px solid var(--separator)!important}
}
@media (pointer:coarse){.ios-filled,.ios-tinted,.ios-gray,.ios-destructive{min-height:44px}}
@keyframes biz-sheet-up{from{transform:translateY(100%)}to{transform:none}}
@media(prefers-reduced-motion:reduce){.biz-shell *,dialog{transition:none!important;animation:none!important}}

/* ---------- Phone adaptation (compact width) ---------- */
@container tasks (max-width:480px){
 .biz-task-row{grid-template-areas:"info info" "due due" "line line" "bar bar" "flags actions";gap:6px 12px}
 .biz-task-deadline{text-align:left}
 .biz-task-deadline .biz-due{display:flex;align-items:baseline;flex-wrap:wrap;gap:2px 8px}
 .biz-task-deadline .biz-due small{margin:0}
 .biz-task-progress-line{margin-top:8px}
}
@media(max-width:760px){
 .biz-shell .biz-nav button{color:var(--label-2)}
 .biz-shell .biz-nav button.active{background:var(--tint-soft);color:var(--tint);box-shadow:none}
 .biz-shell .biz-nav button.active .ios-icon{color:var(--tint)}
 /* Leader header: no fullscreen on a phone; publish is the full-width primary action. */
 [data-cc-fullscreen]{display:none!important}
 .cc-heading .cc-controls{display:grid;grid-template-columns:auto minmax(0,1fr);gap:10px;width:100%}
 .cc-heading .cc-controls .ios-filled{min-height:44px}
 .cc-heading .cc-controls .ios-gray{min-height:44px}
 /* Hero: ring centred, explanation underneath. */
 .cc-hero-ring{flex-direction:column;padding:22px 18px 16px}
 .cc-hero-facts{text-align:center}
 .cc-ring{width:200px;height:200px}
 .cc-ring:before{inset:26px}
 .cc-ring-label strong{font-size:40px;line-height:48px}
 .cc-ring-icon{display:block}
 .cc-ring-label .biz-chip{display:inline-flex}
 .cc-trend-dates{font-size:12px}
 /* KPIs: the featured result first and full width, the rest in a 2×2 grid. */
 .biz-metric>small{display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}
 /* Tables become stacked cards: one record per card, a label above each value. */
 .is-stackable{overflow:visible!important}
 .is-stackable table{min-width:0!important;display:block}
 .is-stackable thead{display:none}
 .is-stackable tbody{display:block}
 .is-stackable tr{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px 16px;padding:16px 20px;border-bottom:1px solid var(--separator)}
 .is-stackable tr:last-child{border-bottom:0}
 .is-stackable tbody tr:hover{background:transparent}
 .is-stackable td{display:flex;flex-direction:column;align-items:flex-start;gap:3px;padding:0!important;border:0!important;font-size:15px;min-width:0}
 .is-stackable td:before{content:attr(data-label);font-size:12px;font-weight:500;color:var(--label-3)}
 .is-stackable td.cell-name{grid-column:1/-1;display:block;font-size:15px}
 .is-stackable td.cell-name:before,.is-stackable td[data-label=""]:before{display:none}
 .is-stackable td.cell-bar{grid-column:1/-1;width:auto}
 .is-stackable td.cell-bar .biz-stack{width:100%}
 .is-stackable td:has(>.toolbar){grid-column:1/-1}
 .is-stackable td:has(>.toolbar:empty){display:none}
 .is-stackable td:has(>.toolbar):before{display:none}
 .is-stackable td>.toolbar{width:100%}
 .is-stackable td>.toolbar>button{flex:1;min-height:44px}
}
/* Touch: give text links and small controls a 44pt hit area without changing the layout. */
@media(pointer:coarse){
 .biz-shell .link,.biz-shell .biz-crumb,.biz-link,dialog:has([class*="biz-"]) .modal-head button,.biz-shell .biz-task-title{position:relative}
 .biz-shell .link:after,.biz-shell .biz-crumb:after,.biz-link:after,dialog:has([class*="biz-"]) .modal-head button:after,.biz-shell .biz-task-title:after{content:'';position:absolute;inset:-12px -8px}
 .biz-shell .pagination .secondary{min-height:44px;padding:10px 18px}
 .biz-shell .biz-crumb{min-height:44px}
}

/* ---------- Breathing room + placement (final layer) ---------- */
.biz-shell{--pad:24px}
.biz-heading{margin-bottom:28px}
.ios-section{margin-bottom:36px}
.cc-grid{gap:24px;margin-bottom:32px}
.cc-kpis,.biz-metrics{gap:20px}
.cc-kpis{margin-bottom:32px}
.biz-home-grid{gap:24px;margin-bottom:36px}
.cc-panel-heading{padding:24px var(--pad) 10px}
.biz-panel-chips{padding:2px var(--pad) 12px}
.biz-pad{padding:var(--pad)}
.cc-trend-body{padding:8px var(--pad) var(--pad)}
.cc-platform-list{padding:8px var(--pad) var(--pad)}
.cc-platform-row{padding:12px 0}
.cc-owner-list{padding:4px var(--pad) 16px}
.cc-owner-row{padding:16px 0}
.biz-shell table th{padding:16px var(--pad) 10px}
.biz-shell table td{padding:16px var(--pad)}
.ios-row{padding:10px var(--pad);min-height:56px}
.ios-row:after{left:var(--pad)}
.biz-shell .pagination{padding:14px var(--pad)}
.ios-section-footer{margin:12px var(--pad) 0}
.biz-metric{padding:22px var(--pad) 24px}
.cc-hero-ring{padding:32px 24px}
.biz-overview{padding:8px var(--pad) var(--pad)}
.biz-job{padding:22px var(--pad) var(--pad)}
.biz-jobs{gap:20px}

/* Dashboard header: what on the left, actions on the right with refresh status underneath. */
.cc-heading{align-items:flex-end}
.cc-heading .cc-summary{margin:6px 0 0;font-size:15px;font-weight:600;color:var(--label)}
.cc-right{display:flex;flex-direction:column;align-items:flex-end;gap:10px}
.cc-right .cc-heading-meta{margin:0;gap:16px}

/* Task row: what · progress · one action · disclosure chevron. */
.biz-task-head,.biz-task-row{grid-template-columns:minmax(0,1.3fr) minmax(220px,1fr) 136px 28px;grid-template-areas:"info progress actions chev";gap:32px;padding:20px var(--pad)}
.biz-task-head{padding-top:14px;padding-bottom:12px}
.biz-task-row:after{left:var(--pad);right:var(--pad)}
.biz-task-meta{gap:10px;margin-bottom:4px}
.biz-task-row h3{margin:2px 0 6px}
.biz-task-sub{display:flex;flex-wrap:wrap;align-items:baseline;gap:2px 14px;margin:0;font-size:12px;color:var(--label-3)}
.biz-task-remaining{font-weight:600;color:var(--label-2)}
.biz-task-remaining.is-warning{color:var(--t-orange)}.biz-task-remaining.is-danger{color:var(--t-red)}.biz-task-remaining.is-done{color:var(--t-green)}
.biz-task-sub .biz-task-code{font-size:12px;color:var(--label-3)}
.biz-task-progress-line{margin-bottom:8px}
.biz-task-flags{margin-top:10px;gap:4px 16px}
.biz-task-actions{grid-area:actions;flex-direction:row;align-items:center;justify-content:flex-end;min-width:0}
.biz-shell .biz-task-actions .ios-tinted{width:auto;min-width:104px}
.biz-shell .biz-task-chevron{grid-area:chev;display:grid;place-items:center;width:28px;height:28px;padding:0;border:0;border-radius:50%;background:transparent;color:var(--label-4);box-shadow:none;cursor:pointer}
.biz-shell .biz-task-chevron .ios-icon{width:18px;height:18px;stroke-width:2.4}
.biz-shell .biz-task-chevron:hover{background:var(--fill-2);color:var(--label-2)}
@container tasks (max-width:760px){
 .biz-task-head{display:none}
 .biz-task-row{grid-template-columns:minmax(0,1fr) auto;grid-template-areas:"info chev" "line line" "bar bar" "flags actions";gap:8px 16px;padding:18px var(--pad);align-items:center}
 .biz-task-info{align-self:start}
 .biz-shell .biz-task-chevron{align-self:start;justify-self:end;margin:2px -6px 0 0}
 .biz-task-progress{display:contents}
 .biz-task-progress-line{grid-area:line;margin:8px 0 0}
 .biz-task-progress>.biz-stack{grid-area:bar}
 .biz-task-flags{grid-area:flags;margin:4px 0 0}
 .biz-task-actions{grid-area:actions;margin-top:4px}
}

/* Sheets: left-aligned title with a proper close button on the same line; Cancel + Confirm in the footer. */
dialog:has([class*="biz-"]) .modal-head{justify-content:space-between;gap:16px;min-height:0;padding:22px 24px 14px;background:var(--sheet);border-bottom:0}
dialog:has([class*="biz-"]) .modal-head h2{text-align:left;font-size:20px;line-height:26px;font-weight:600}
dialog:has([class*="biz-"]) .modal-head button{position:static;transform:none;flex:none;width:34px;height:34px;font-size:0;color:var(--label-2);background:var(--fill)}
dialog:has([class*="biz-"]) .modal-head button{position:relative!important;padding:0;color:transparent!important;overflow:hidden}
dialog:has([class*="biz-"]) .modal-head button:before{content:'';position:absolute;inset:0;margin:auto;display:block;width:13px;height:13px;background:var(--label-2)!important;background:currentColor;-webkit-mask:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.6' stroke-linecap='round'%3E%3Cpath d='M6 6l12 12M18 6 6 18'/%3E%3C/svg%3E") center/contain no-repeat;mask:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.6' stroke-linecap='round'%3E%3Cpath d='M6 6l12 12M18 6 6 18'/%3E%3C/svg%3E") center/contain no-repeat}
dialog:has([class*="biz-"]) .modal-head button:hover{background:var(--fill-track);color:var(--label)}
dialog:has([class*="biz-"]) .modal-body{padding:6px 24px 24px}
dialog:has([class*="biz-"]) .modal-body>form{display:flex;flex-direction:column;gap:16px}
dialog:has([class*="biz-"]) .modal-body>form>.field,dialog:has([class*="biz-"]) .modal-body>form>p,dialog:has([class*="biz-"]) .modal-body>form>.biz-dialog-lead,dialog:has([class*="biz-"]) .modal-body>form>.biz-form-section,dialog:has([class*="biz-"]) .modal-body>form>.biz-review-compare{margin:0}
dialog:has([class*="biz-"]) .modal-body>form>.form-error:not([hidden]){margin:0}
dialog:has([class*="biz-"]) .form-actions{justify-content:flex-end;gap:12px;margin:8px -24px -24px;padding:16px 24px 22px;border-top:1px solid var(--separator);background:color-mix(in srgb,var(--sheet) 94%,transparent)}
dialog:has([class*="biz-"]) .form-actions button[type=submit]{flex:none;min-width:150px;min-height:44px;font-size:15px}
dialog:has([class*="biz-"]) .form-actions .biz-cancel{min-width:100px;min-height:44px;font-size:15px;color:var(--label)!important}
.biz-allocation-tools{align-items:center;margin:0 0 12px}
dialog .biz-allocation-tools input{height:42px}
.biz-allocation-tools>button{height:42px}
.biz-allocation-total{padding:12px 4px 0}
.biz-dialog-lead{margin:0}

@media(max-width:760px){
 .biz-shell{--pad:18px}
 .biz-heading{margin-bottom:20px}
 .cc-grid{gap:18px;margin-bottom:24px}
 .cc-kpis,.biz-metrics{gap:12px}
 .cc-kpis{margin-bottom:24px}
 .ios-section{margin-bottom:28px}
 .cc-heading{align-items:stretch}
 .cc-right{align-items:stretch;width:100%}
 .cc-right .cc-heading-meta{justify-content:space-between}
 dialog:has([class*="biz-"]) .modal-head{padding:22px 18px 10px}
 dialog:has([class*="biz-"]) .modal-body{padding:6px 18px calc(18px + env(safe-area-inset-bottom))}
 dialog:has([class*="biz-"]) .form-actions{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1.6fr);margin:8px -18px calc(-18px - env(safe-area-inset-bottom));padding:14px 18px calc(18px + env(safe-area-inset-bottom))}
 dialog:has([class*="biz-"]) .form-actions button[type=submit],dialog:has([class*="biz-"]) .form-actions .biz-cancel{min-width:0;min-height:50px}
}

/* ---------- Phone pass 3: compact issuance card, scroll hint, notices, tidy rows ---------- */
.biz-command-create .biz-form-grid{gap:0}
.biz-shell .notice-item{padding:16px 0;border-bottom:1px solid var(--separator);font-size:15px;line-height:1.65}
.biz-shell .notice-item:last-child{border-bottom:0}
.biz-shell .notice-unread{border-left:0;padding-left:0}
.biz-shell .notice-item .badge{display:none}
.biz-shell .notice-heading{display:flex;align-items:center;justify-content:space-between;gap:12px}
.biz-shell .notice-heading strong{font-size:15px;font-weight:600;color:var(--label)}
.biz-shell .notice-unread .notice-heading strong:before{content:'';display:inline-block;width:8px;height:8px;margin-right:8px;border-radius:50%;background:var(--tint);vertical-align:2px}
.biz-shell .notice-message{margin:6px 0 10px;color:var(--label-2);font-size:15px}
.biz-shell .notice-item small{font-size:12px;color:var(--label-3)}
.biz-shell .notice-item button.small{min-height:34px;padding:6px 14px;font-size:14px;font-weight:600}
.biz-shell .page-title{align-items:flex-end;flex-wrap:wrap;gap:12px}
.biz-shell .page-title>button{min-height:38px;padding:8px 16px}
.biz-shell .card-body{padding:8px var(--pad) var(--pad)}
@container tasks (max-width:480px){
 .biz-task-sub .biz-task-code{display:none}
}
@media(max-width:760px){
 .biz-issue{padding:20px;gap:16px;border-radius:24px}
 .biz-issue-text h2{font-size:20px}
 .biz-issue-text p{font-size:14px;margin:4px 0 14px}
 .biz-shell .biz-issue-button{min-height:44px}
 .biz-issue-stats{grid-template-columns:repeat(4,minmax(0,1fr));gap:8px}
 .biz-issue-stats>div{padding:10px 8px;border-radius:14px;text-align:center}
 .biz-issue-stats span{font-size:12px}
 .biz-issue-stats strong{font-size:24px;line-height:28px}
 .ios-segmented.biz-focus-tabs{padding-right:3px;-webkit-mask-image:none;mask-image:none}
 .biz-shell .notice-item button.small{min-height:40px}
 .biz-shell .page-title h1{font-size:28px;line-height:32px}
}

/* ---------- First-screen density & unified task detail summary ---------- */
.biz-empty-action{margin-top:14px;display:flex;justify-content:center}
.biz-detail-summary{margin:0 0 20px}
.biz-detail .biz-detail-summary .biz-metrics{margin-bottom:10px}
.biz-detail .biz-metric{padding:14px 18px 16px;min-height:118px}
.biz-detail .biz-metric-head{min-height:34px}
.biz-detail .biz-metric-body{min-height:48px;margin-top:6px}
.biz-detail .biz-metric-value strong{font-size:28px;line-height:34px}
.biz-detail .biz-metric-ring{width:48px;height:48px}
.biz-detail-bar{padding:14px 18px 16px;border-radius:18px;background:var(--card);border:1px solid var(--glass-border);box-shadow:var(--shadow)}
.biz-detail-bar-head{display:flex;align-items:center;justify-content:space-between;flex-wrap:wrap;gap:6px 16px;margin-bottom:8px;font-size:12px;color:var(--label-2)}
.biz-detail-bar-head strong{font-size:15px;font-weight:600;color:var(--label)}
.biz-detail-grid>.ios-section{margin-bottom:20px}

@media(min-width:1241px){
 .cc-mode .biz-header-inner{min-height:52px}
 .cc-mode .biz-main{padding:10px 0 24px}
 .cc-mode .cc-heading{margin:2px 0 10px}
 .cc-mode .cc-heading h1{font-size:24px;line-height:30px}
 .cc-mode .cc-heading .cc-summary{margin-top:2px;font-size:12px}
 .cc-mode .cc-date{font-size:12px;margin-bottom:0}
 .cc-mode .cc-right{gap:4px}
 .cc-mode .cc-kpis{gap:12px;margin-bottom:12px}
 .cc-mode .cc-kpis .biz-metric{padding:11px 14px 12px;min-height:96px;border-radius:18px}
 .cc-mode .cc-kpis .biz-metric-head{min-height:28px;gap:8px}
 .cc-mode .cc-kpis .biz-metric-icon{width:30px;height:30px;font-size:15px}
 .cc-mode .cc-kpis .biz-metric-label{font-size:14px}
 .cc-mode .cc-kpis .biz-metric-body{min-height:40px;margin-top:4px}
 .cc-mode .cc-kpis .biz-metric-value strong{font-size:28px;line-height:32px}
 .cc-mode .cc-kpis .biz-metric.is-featured .biz-metric-value strong{font-size:32px;line-height:36px}
 .cc-mode .cc-kpis .biz-metric-ring{width:42px;height:42px}
 .cc-mode .cc-kpis .biz-metric-ring>.ios-icon{width:15px;height:15px}
 .cc-mode .cc-kpis .biz-metric>small{font-size:12px;line-height:1.7;padding-top:2px}
 .cc-mode .cc-grid{gap:12px;margin-bottom:12px}
 .cc-mode .cc-grid-secondary{grid-template-columns:minmax(0,0.9fr) minmax(0,1.45fr)}
 .cc-mode .cc-panel,.cc-mode .cc-hero{border-radius:20px}
 .cc-mode .cc-panel-heading{padding:12px 16px 6px}
 .cc-mode .cc-panel-heading h2{font-size:20px;line-height:28px}
 .cc-mode .cc-panel-heading p{font-size:12px;line-height:1.7;margin-top:1px}
 .cc-mode .biz-panel-chips{padding:0 16px 6px}
 .cc-mode .cc-owner-list{padding:0 16px 10px;max-height:220px}
 .cc-mode .cc-owner-columns{padding:6px 0}
 .cc-mode .cc-owner-row{padding:8px 0}
 .cc-mode .cc-owner-name strong{font-size:14px}
 .cc-mode .cc-owner-name small{font-size:12px}
 .cc-mode .cc-inbox .biz-task-row{padding:10px 16px;gap:16px;grid-template-columns:minmax(0,1fr) minmax(200px,320px) 116px 24px}
 .cc-mode .cc-inbox .biz-task-row:after{left:16px;right:16px}
 .cc-mode .cc-inbox .biz-task-row h3{font-size:14px;line-height:1.65;margin:1px 0 3px}
 .cc-mode .cc-inbox .biz-task-meta{margin-bottom:2px;gap:6px}
 .cc-mode .cc-inbox .biz-task-sub{font-size:12px;gap:2px 10px}
 .cc-mode .cc-inbox .biz-task-progress-line{margin-bottom:4px;font-size:12px}
 .cc-mode .cc-inbox .biz-task-progress-line strong{font-size:14px}
 .cc-mode .cc-inbox .biz-task-flags{margin-top:5px;gap:2px 10px;min-height:16px}
 .cc-mode .cc-inbox .biz-task-flags .link{font-size:12px}
 .cc-mode .cc-platform-list{padding:4px 16px 12px}
 .cc-mode .cc-platform-row{padding:6px 0}
 .cc-mode .cc-platform-meta{margin-bottom:4px}
 .cc-mode .cc-platform-track,.cc-mode .cc-owner-track{height:8px}
 .cc-mode .cc-platform-alert{font-size:12px;margin-top:3px}
 .cc-mode .cc-hero-compact{grid-template-columns:190px minmax(0,1fr)}
 .cc-mode .cc-hero-compact .cc-hero-ring{padding:14px 12px;gap:8px}
 .cc-mode .cc-hero-compact .cc-ring{width:116px;height:116px}
 .cc-mode .cc-hero-compact .cc-ring:before{inset:16px}
 .cc-mode .cc-hero-compact .cc-ring-label strong{font-size:24px;line-height:26px}
 .cc-mode .cc-hero-compact .cc-ring-label span{font-size:12px;margin-top:0}
 .cc-mode .cc-hero-compact .cc-ring-label .biz-chip{margin-top:2px;padding:3px 7px;font-size:12px}
 .cc-mode .cc-hero-compact .cc-hero-facts p{font-size:12px;line-height:1.7}
 .cc-mode .cc-hero-compact .cc-trend-body{padding:2px 16px 10px}
 .cc-mode .cc-hero-compact .cc-trend-legend{margin-bottom:8px;font-size:12px}
 .cc-mode .cc-hero-compact .cc-chart-grid{min-height:92px;height:92px}
 .cc-mode .cc-hero-compact .cc-trend-dates{margin-top:4px;font-size:12px}
 .cc-mode .cc-hero-compact .cc-trend-readout{margin-top:4px;font-size:12px;min-height:18px}
 .cc-mode .cc-bottom-note{margin:0 12px;font-size:12px}
}

/* Control room, filtered inbox: compact rows so the platform and daily-submission blocks stay on the first screen. */
@media(min-width:1024px){
 [data-testid="cc-inbox"][data-focus]:not([data-focus="all"]) .biz-task-row{display:flex;align-items:center;gap:16px;padding:10px 16px;box-sizing:border-box}
 [data-testid="cc-inbox"][data-focus]:not([data-focus="all"]) .biz-task-row:after{display:none}
 [data-testid="cc-inbox"][data-focus]:not([data-focus="all"]) .biz-task-info{flex:1 1 auto;min-width:0}
 [data-testid="cc-inbox"][data-focus]:not([data-focus="all"]) .biz-task-progress{flex:0 0 210px}
 [data-testid="cc-inbox"][data-focus]:not([data-focus="all"]) .biz-task-actions{flex:0 0 auto}
 [data-testid="cc-inbox"][data-focus]:not([data-focus="all"]) .biz-task-chevron{flex:0 0 auto;margin-left:auto}
 [data-testid="cc-inbox"][data-focus]:not([data-focus="all"]) .biz-task-sub{display:none}
 [data-testid="cc-inbox"][data-focus]:not([data-focus="all"]) .biz-task-flags{display:none}
 [data-testid="cc-inbox"][data-focus]:not([data-focus="all"]) .biz-task-progress .biz-stack{display:none}
 [data-testid="cc-inbox"][data-focus]:not([data-focus="all"]) .biz-task-row h3{font-size:15px;line-height:1.65;margin:0 0 2px;display:-webkit-box;-webkit-line-clamp:1;-webkit-box-orient:vertical;overflow:hidden}
 [data-testid="cc-inbox"][data-focus]:not([data-focus="all"]) .biz-task-progress-line{display:flex;align-items:baseline;justify-content:space-between;gap:12px;white-space:nowrap;margin-bottom:0;font-size:12px}
}

/* Leader view: one green bar = verified / target */
.biz-progress-single{height:8px;border-radius:999px;background:var(--fill-2);overflow:hidden;min-width:60px}
.biz-progress-single-fill{display:block;height:100%;border-radius:inherit;background:var(--green)}
.biz-flag-text{font-size:14px;font-weight:500;color:var(--label-2)}
.biz-flag-text.is-red{color:var(--t-red);font-weight:600}
.biz-task-progress>.biz-progress-single{grid-area:bar}
.biz-detail-bar-head .biz-flag-text{font-size:inherit}

/* ---------- Visual hierarchy: conclusion 40/30 · value 32/28 · label 14 · note 12 ----------
   Colour tiers: value = label (or tone text colour), label = label-2, note = --note (label-3, a notch darker in light mode). */
.biz-shell{--note:color-mix(in srgb,var(--label-3) 82%,var(--label))}
@media (prefers-color-scheme:dark){.biz-shell{--note:var(--label-3)}}

/* A. Conclusion first */
.biz-shell .cc-heading .cc-summary{display:flex;align-items:baseline;flex-wrap:wrap;gap:0 10px;margin:4px 0 0;font-size:14px;font-weight:500;color:var(--label-2)}
.biz-shell .cc-rate{font-family:var(--font-num);font-size:40px;line-height:46px;font-weight:700;letter-spacing:0;color:var(--label);font-variant-numeric:tabular-nums}
.biz-shell .cc-summary-detail{margin:2px 0 0;font-size:12px;line-height:1.7;color:var(--label-2)}
.biz-shell .cc-summary-detail .is-red{color:var(--t-red);font-weight:600}

/* B + C. Tile tiers; numbers carry the tone, cards do not */
.biz-shell .biz-metric .biz-metric-value strong{font-size:32px!important;line-height:38px!important;font-weight:700;color:var(--label)}
.biz-shell .biz-metric.success .biz-metric-value strong{color:var(--t-green)}
.biz-shell .biz-metric.warning .biz-metric-value strong{color:var(--t-orange)}
.biz-shell .biz-metric.danger .biz-metric-value strong{color:var(--t-red)}
.biz-shell .biz-metric .biz-unit{font-size:14px;font-weight:500;color:var(--label-2)}
.biz-shell .biz-metric .biz-metric-label{font-size:14px;font-weight:500;color:var(--label-2)}
.biz-shell .biz-metric>small{font-size:12px;line-height:1.7;color:var(--note)}
.biz-shell .cc-ring-label strong{font-size:32px!important;line-height:36px}

/* Featured (dark navy) card: keep the tone on the number with light tints */
.biz-shell .biz-metric.is-featured .biz-metric-value strong{color:#fff}
.biz-shell .biz-metric.is-featured.success .biz-metric-value strong{color:#7fdcbb}
.biz-shell .biz-metric.is-featured.warning .biz-metric-value strong{color:#f6bd66}
.biz-shell .biz-metric.is-featured.danger .biz-metric-value strong{color:#ff8f85}
.biz-shell .biz-metric.is-featured .biz-metric-label,.biz-shell .biz-metric.is-featured .biz-unit{color:rgba(255,255,255,.86)}
.biz-shell .biz-metric.is-featured>small{color:rgba(255,255,255,.68)}

/* D. Small ring, subordinate to the number */
.biz-shell .biz-metric .biz-metric-ring{width:36px;height:36px}
.biz-shell .biz-metric .biz-metric-ring .biz-ring{filter:none}
.biz-shell .biz-metric .biz-metric-ring>.ios-icon{width:14px;height:14px}
.biz-shell .biz-metric .biz-metric-body{min-height:0}

/* E. Auto-refresh folds away on phones */
@media(min-width:761px){
 .cc-auto-menu>summary{display:none}
 .cc-auto-menu::details-content{content-visibility:visible;display:contents}
}
@media(max-width:760px){
 .biz-shell .cc-rate{font-size:28px;line-height:36px}
 .biz-shell .biz-metric .biz-metric-value strong,.biz-shell .cc-ring-label strong{font-size:28px!important;line-height:34px!important}
 .biz-shell .cc-heading .cc-date{display:none}
 .cc-auto-menu{max-width:100%}
 .cc-auto-menu>summary{list-style:none;cursor:pointer;font-size:13.5px;color:var(--label-2);padding:4px 2px;text-align:right}
 .cc-auto-menu>summary::-webkit-details-marker{display:none}
 .cc-auto-menu>summary:after{content:' ▾'}
 .cc-auto-menu[open]>summary:after{content:' ▴'}
 .cc-auto-menu[open]>.cc-auto{padding:6px 0 4px;justify-content:flex-end;max-width:100%;box-sizing:border-box}
}

/* ---------- Control-room KPI is three cards; overdue is a link inside "未完成" ---------- */
.cc-kpis .cc-kpi-note>.link{margin-left:6px;white-space:nowrap;font-size:12px;font-weight:600}
.cc-kpis .cc-kpi-note>.link:hover{text-decoration:underline}
.biz-shell .biz-metric.is-featured .cc-kpi-note>.link.is-red{color:#ffb4ab!important}
.biz-shell .biz-metric.is-subfilter .biz-metric-label:after{content:' · 逾期';font-weight:500}

/* ---------- Phone control room: first-screen density (≤760px only) ---------- */
@media(max-width:760px){
 .cc-kpis .biz-metric{padding:12px 14px}
 .cc-kpis .biz-metric>small{display:none}
 .cc-kpis .biz-metric[data-kpi="uncompleted"]>small{display:block}
 .cc-kpis .cc-kpi-text{display:none}
 .cc-kpis .cc-kpi-note>.link{margin-left:0}
 .cc-kpis .biz-metric-head{min-height:30px}
 .cc-kpis .biz-metric-body{margin-top:4px}
 .biz-shell .cc-kpis .biz-metric .biz-metric-ring{width:30px;height:30px}
 .biz-shell .cc-kpis .biz-metric .biz-metric-ring>.ios-icon{width:12px;height:12px}
}

/* ---------- Numbers and codes: no tracking, the only place 700 is used ---------- */
.biz-shell :is(.num,.biz-task-code,.cc-rate,.cc-owner-rate,.biz-metric-value strong,.biz-overview-center strong,.biz-overview-main strong,.biz-progress-hero strong,.biz-funnel strong,.cc-hero-facts strong,.cc-ring-label strong,.biz-issue-stats strong,.cc-platform-value strong,.biz-task-progress-line strong,.biz-due strong,.biz-detail-bar-head strong){letter-spacing:0}

/* ---------- Inter for digits and Latin (CJK falls back to Biz Sans), tighter tracking on display text ---------- */
.biz-shell :is(.num,.biz-metric-value strong,.cc-rate,.biz-task-rate,.cc-owner-rate,.cc-owner-num,.biz-task-code,.cc-trend-readout,.cc-trend-dates span,.biz-issue-stats strong,.cc-hero-facts strong,.cc-ring-label strong,.biz-ring-label strong,.biz-chip){font-family:var(--font-num);font-variant-numeric:tabular-nums}
.biz-shell .cc-heading h1{letter-spacing:-.02em}
.biz-shell .cc-rate{letter-spacing:-.03em}
.biz-shell :is(.cc-panel-heading h2,.ios-section-title){letter-spacing:-.01em}

/* dialog form controls: visible container, ring on focus, error state */
dialog .field :is(input:not([type=checkbox]):not([type=radio]),select,textarea){box-sizing:border-box;width:100%;min-height:44px;padding:10px 12px;background:var(--fill);border:1px solid var(--separator);border-radius:10px;color:var(--label);font-size:15px;line-height:1.4;box-shadow:none;transition:border-color .12s,box-shadow .12s}
dialog .field textarea{min-height:96px;resize:vertical}
dialog .field{--g:8px;--sh:44px;gap:var(--g)}
dialog .biz-form-group .field{--g:2px}
dialog .field select{appearance:none;-webkit-appearance:none;padding-right:34px}
dialog .field select:not([multiple]):not([size]){background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='8' height='5' viewBox='0 0 8 5'%3E%3Cpath d='M1 1l3 3 3-3' fill='none' stroke='%236b7889' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");background-repeat:no-repeat;background-position:right 14px center;background-size:8px 5px}
@media (prefers-color-scheme:dark){dialog .field select:not([multiple]):not([size]){background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='8' height='5' viewBox='0 0 8 5'%3E%3Cpath d='M1 1l3 3 3-3' fill='none' stroke='%23aab6c6' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E")}}
.field-error{color:var(--t-red);font-size:12px;line-height:1.6;margin:6px 0 0}
dialog .field :is(input:not([type=checkbox]):not([type=radio]),select,textarea):user-invalid{border-color:var(--t-red);box-shadow:0 0 0 3px color-mix(in srgb,var(--t-red) 16%,transparent)}
dialog .biz-allocation-tools input{border-radius:10px!important}
dialog .field :is(input,select,textarea):is(:focus,:focus-visible){outline:0}
dialog .field:focus-within :is(input:not([type=checkbox]):not([type=radio]),select,textarea){border-color:var(--tint);box-shadow:0 0 0 3px color-mix(in srgb,var(--tint) 18%,transparent)}
dialog .field :is(input:not([type=checkbox]):not([type=radio]),select,textarea)[aria-invalid="true"]{border-color:var(--t-red)}
dialog .field:focus-within :is(input:not([type=checkbox]):not([type=radio]),select,textarea)[aria-invalid="true"]{border-color:var(--t-red);box-shadow:0 0 0 3px color-mix(in srgb,var(--t-red) 18%,transparent)}
dialog .field:has([aria-invalid="true"]) :is(small,.field-error){color:var(--t-red)}
@media(max-width:760px){
 .biz-shell :is(input:not([type=checkbox]):not([type=radio]),select,textarea){font-size:16px!important}
 dialog .field :is(input:not([type=checkbox]):not([type=radio]),select,textarea){font-size:16px;min-height:46px}
 dialog .field textarea{min-height:96px}
 dialog .field{--sh:46px}
 dialog .biz-allocation-tools input{font-size:16px!important}
}

/* Search pill: the generic field rule must not paint a second box inside the capsule. */
.biz-shell .ios-search input:not([type=checkbox]){background:transparent!important;border:0!important;box-shadow:none!important;border-radius:0}

/* ---------- Phone tap targets: every control reaches 44×44 (≤760px only; visuals unchanged) ---------- */
@media(max-width:760px){
 .biz-shell :is(button,[role=button]):not(#_),dialog :is(button,[role=button]):not(#_){min-height:44px}
 /* Text links: grow the box, cancel it with negative margins so the line layout stays put. */
 .biz-shell .link:not(#_),dialog .link:not(#_){display:inline-flex;align-items:center;min-height:44px;min-width:44px;box-sizing:border-box;padding-inline:8px;margin:-12px -8px}
 .biz-shell .biz-personal-menu .link:not(#_){margin:0;padding-inline:16px}
 .biz-shell .biz-personal-menu .link.is-destructive:not(#_){margin-top:4px}
 /* Segmented pills: clean full-height pill buttons without overflowing the track border. */
 .biz-shell .ios-segmented button:not(#_){min-height:40px;padding-block:0;border:0;margin:0;box-sizing:border-box}
 /* Round icon buttons: 44 box, the visible disc is drawn inset on ::before. */
 .biz-header .notification-button:not(#_){width:44px;height:44px;margin:-3px;background:transparent;box-shadow:none;isolation:isolate}
 .biz-header .notification-button:not(#_)::before{content:'';position:absolute;inset:3px;border-radius:50%;background:var(--card-solid);box-shadow:0 0 0 1px var(--separator),0 4px 10px rgba(31,64,110,.06);z-index:-1}
 .biz-header .notification-button .unread-count{top:0;right:-2px}
 .biz-shell .biz-task-chevron:not(#_){width:44px;height:44px;margin:-6px -14px 0 -8px;background:transparent;isolation:isolate;align-self:start;position:relative;z-index:0}
 /* Hit box must not spill into the action row: no negative bottom margin, so the 44px box ends inside its own grid row; actions sit above it. */
 .biz-shell .biz-task-actions:not(#_){position:relative;z-index:1}
 .biz-shell .biz-task-chevron:not(#_)::before{content:'';position:absolute;inset:8px;border-radius:50%;background:transparent;z-index:-1}
 .biz-shell .biz-task-chevron:hover::before{background:var(--fill-2)}
 /* Brand link: 32px mark grows to a 44px hit box, negative margin keeps the header height. */
 .biz-header .biz-brand:not(#_){min-height:44px;margin-block:-6px;box-sizing:border-box}
 /* Switch: transparent border carries the extra 13px; the track fill stops at the padding box, size stays 51×31. */
 .biz-shell .ios-switch:not(#_){height:44px!important;box-sizing:border-box;border-block:6.5px solid transparent!important;background-clip:padding-box!important;margin-block:-6.5px}
 /* Language select inside the account menu. */
 .biz-menu-lang{padding-block:0}
 .biz-shell .biz-menu-lang select:not(#_){min-height:44px}
}

/* ---------- Design review refinements ---------- */
/* Allocation two-layer progress bar: faint blue = arranged, solid green = completed */
.biz-alloc-bar{position:relative;height:8px;border-radius:999px;background:var(--fill-track);overflow:hidden;min-width:80px}
.biz-alloc-assigned{position:absolute;inset:0 auto 0 0;border-radius:inherit;background:color-mix(in srgb,var(--tint) 24%,transparent)}
.biz-alloc-done{position:relative;display:block;height:100%;border-radius:inherit;background:var(--green)}
.dot-alloc-done{background:var(--green)}
.dot-alloc-assigned{background:color-mix(in srgb,var(--tint) 38%,transparent)}
.dot-alloc-unassigned{background:var(--fill-track)}

/* Compact quota strip replacing heavy navy banner in Task Center */
.biz-issue-strip{margin:0 0 18px}
.biz-issue-strip .biz-issue-stats{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px}
.biz-issue-strip .biz-issue-stats>div{display:flex;align-items:baseline;justify-content:space-between;gap:8px;min-width:0;padding:12px 16px;border-radius:16px;background:var(--card);border:1px solid var(--glass-border);box-shadow:var(--shadow)}
.biz-issue-strip .biz-issue-stats span{font-size:13px;font-weight:500;color:var(--label-2)}
.biz-issue-strip .biz-issue-stats strong{font-size:22px;line-height:26px;font-weight:700;color:var(--label);margin-top:0}

/* Actionable chip in Command Inbox & right-aligned task action header */
.biz-shell button.biz-chip.is-action{border:0;cursor:pointer;font-family:inherit}
.biz-shell button.biz-chip.is-action:hover{filter:brightness(.94)}
.biz-task-head-actions{text-align:center}
.biz-shell .biz-task-actions :is(.ios-tinted,.ios-gray){min-width:112px}
.cc-summary-count{font-size:13px;font-weight:400;color:var(--label-2)}

/* Control room: trend panel takes full right column cleanly */
.cc-trend-panel .cc-chart-grid{min-height:140px;height:140px}
@media(min-width:1241px){
 .cc-mode .cc-trend-panel .cc-trend-body{padding:4px 16px 12px}
 .cc-mode .cc-trend-panel .cc-trend-legend{margin-bottom:10px}
 .cc-mode .cc-trend-panel .cc-chart-grid{min-height:120px;height:120px}
 .cc-mode .cc-trend-panel .cc-trend-dates{margin-top:6px}
 .cc-mode .cc-trend-panel .cc-trend-readout{margin-top:6px;min-height:18px}
}

/* Leader detail: collapsible member execution section */
.biz-detail-collapse{margin-bottom:28px}
.biz-collapse-summary{display:flex;align-items:center;gap:12px;padding:16px 20px;border-radius:20px;background:var(--card);border:1px solid var(--glass-border);box-shadow:var(--shadow);cursor:pointer;list-style:none}
.biz-collapse-summary::-webkit-details-marker{display:none}
.biz-collapse-title{font-size:17px;font-weight:600;color:var(--label);white-space:nowrap}
.biz-collapse-hint{margin-left:auto;font-size:13px;font-weight:600;color:var(--tint);white-space:nowrap;flex-shrink:0}
.biz-collapse-summary:after{content:'';width:8px;height:8px;flex-shrink:0;border-right:2px solid var(--label-4);border-bottom:2px solid var(--label-4);transform:rotate(-45deg);transition:transform .2s}
.biz-detail-collapse[open]>.biz-collapse-summary{margin-bottom:12px}
.biz-detail-collapse[open]>.biz-collapse-summary:after{transform:rotate(45deg)}
.biz-detail-collapse[open] .biz-collapse-hint{display:none}
@media(max-width:760px){
 .biz-collapse-summary{display:grid;grid-template-columns:minmax(0,1fr) auto auto;align-items:center;gap:4px 10px;padding:15px 18px}
 .biz-collapse-title{grid-column:1;grid-row:1;font-size:16px}
 .biz-collapse-hint{grid-column:2;grid-row:1;margin-left:0}
 .biz-collapse-summary:after{grid-column:3;grid-row:1}
 .biz-collapse-summary>.biz-muted{grid-column:1 / -1;grid-row:2;margin-top:2px}
}
.biz-execution-bar{display:flex;justify-content:flex-end;margin:0 0 10px}

/* Create task dialog: tighter vertical rhythm + bottom scroll shadow cue */
dialog:has(.biz-command-create) .modal-head{padding:18px 24px 10px}
dialog:has(.biz-command-create) .modal-body{padding:4px 24px 20px}
dialog:has(.biz-command-create) .modal-body>form{gap:12px}
dialog:has(.biz-command-create) .biz-form-section>.ios-section-title{margin-bottom:4px}
dialog:has(.biz-command-create) .biz-form-group .field{padding:8px 14px}
dialog:has(.biz-command-create) .biz-form-group textarea{min-height:72px}
dialog:has(.biz-command-create) .biz-form-section .ios-section-footer{margin-top:4px}
dialog:has([class*="biz-"]) .form-actions{box-shadow:0 -10px 24px -14px rgba(16,40,72,.2)}

@media(max-width:760px){
 .biz-issue-strip .biz-issue-stats{grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}
 .biz-issue-strip .biz-issue-stats>div{padding:10px 12px;border-radius:14px}
 .biz-issue-strip .biz-issue-stats strong{font-size:20px;line-height:24px}
 /* Stronger separation on floating mobile tab bar; the bar stays on the detail page so navigation never disappears. */
 .biz-nav{background:color-mix(in srgb,var(--card-solid) 94%,transparent);box-shadow:0 12px 34px rgba(16,40,72,.24),0 0 0 1px var(--separator)}
 .biz-target-row{grid-template-columns:minmax(0,1fr) auto}
 .biz-target-row>.field:first-child{grid-column:1/-1;border-right:0!important;border-bottom:1px solid var(--separator)!important}
 .is-stackable td.cell-bar .biz-alloc-bar{width:100%}
}

/* ---------- 未通过 (unverified): the crawler found no matching comment in time; the member must resubmit ----------
   Amber family like 待核验, but always a filled pill + outlined card so it never reads as "waiting" or as the red 退回.
   Text tokens keep ≥ 4.5:1 on their tinted fills in both schemes. */
.biz-shell,dialog{--unv-text:#8a4f06;--unv-fill:color-mix(in srgb,var(--orange) 18%,var(--card-solid));--unv-line:color-mix(in srgb,var(--orange) 55%,transparent)}
@media (prefers-color-scheme:dark){.biz-shell,dialog{--unv-text:#f8c777;--unv-fill:color-mix(in srgb,var(--orange) 18%,var(--card-solid));--unv-line:color-mix(in srgb,var(--orange) 50%,transparent)}}
.biz-shell .ios-status.is-unverified{padding:3px 9px 3px 7px;border-radius:999px;background:var(--unv-fill);color:var(--unv-text);box-shadow:inset 0 0 0 1px var(--unv-line)}
.biz-shell .ios-status.is-unverified:before{width:6px;height:6px;background:transparent;box-shadow:0 0 0 1.5px currentColor}
.biz-job.is-unverified{color:var(--orange);box-shadow:inset 0 0 0 1.5px var(--unv-line),0 18px 44px var(--glass-shadow)}
.biz-member-action.is-unverified{box-shadow:inset 0 0 0 1.5px var(--unv-line),0 18px 44px var(--glass-shadow)}
.biz-unverified-hint{display:flex;align-items:flex-start;gap:8px;margin:0;padding:10px 12px;border-radius:12px;background:var(--unv-fill);color:var(--unv-text);font-size:14px;font-weight:500;line-height:1.65}
.biz-unverified-hint .ios-icon{flex:0 0 auto;width:16px;height:16px;margin-top:3px}
dialog .biz-inline-note.is-unverified{background:var(--unv-fill);color:var(--unv-text)!important;box-shadow:inset 0 0 0 1px var(--unv-line)}
.biz-shell .biz-chip.is-unverified{background:var(--unv-fill);color:var(--unv-text);box-shadow:inset 0 0 0 1px var(--unv-line)}
.biz-shell .biz-task-flags .link.is-unverified{color:var(--unv-text);font-weight:600}
.biz-shell .biz-focus-chip.is-unverified{border-color:var(--unv-line);color:var(--unv-text)}
.biz-shell .biz-focus-chip.is-unverified.is-active{background:var(--unv-fill);border-color:var(--unv-text);color:var(--unv-text)}
/* Execution table: a resubmission is due — tint the row and mark its leading edge (rows also become cards on phones). */
.biz-shell table tr.is-unverified>td{background:color-mix(in srgb,var(--orange) 7%,transparent)}
.biz-shell table tr.is-unverified>td:first-child{box-shadow:inset 3px 0 0 var(--orange)}
@media(max-width:760px){
 .biz-shell .is-stackable tr.is-unverified{background:color-mix(in srgb,var(--orange) 7%,transparent);box-shadow:inset 3px 0 0 var(--orange)}
 .biz-shell .is-stackable tr.is-unverified>td,.biz-shell .is-stackable tr.is-unverified>td:first-child{background:transparent;box-shadow:none}
 .biz-job .biz-unverified-hint{font-size:14px;padding:9px 11px}
}
