.phone-bottom-nav,.phone-periods,.phone-range-label,.phone-records{display:none}.phone-menu-grid{display:grid;gap:14px}.phone-menu-card{text-align:left;display:grid;grid-template-columns:1fr auto;gap:8px;padding:22px}.phone-menu-card strong{font-size:18px}.phone-menu-card span{grid-column:1;font-size:13px}.phone-menu-card b{grid-column:2;grid-row:1/3;align-self:center;font-size:24px}.phone-filter-extra{margin:0}.phone-basis{margin:16px 0}.phone-basis>.note{margin:12px 0 0}
@media(max-width:720px){
 .sales-mobile .sidebar{display:none}.sales-mobile .workspace{padding:0 16px calc(90px + env(safe-area-inset-bottom))}.sales-mobile .topbar{height:52px;margin-bottom:8px}.sales-mobile .banner{font-size:10px;padding:7px 10px}.sales-mobile .pagehead{margin:14px 0 16px}.sales-mobile .pagehead .eyebrow{display:none}.sales-mobile .pagehead h1{font-size:24px}.sales-mobile .pagehead p{font-size:12px;line-height:1.6}
 .phone-bottom-nav{position:fixed;z-index:15;bottom:0;left:0;right:0;display:grid;grid-template-columns:repeat(5,1fr);background:#fff;border-top:1px solid #dbe5ee;box-shadow:0 -4px 18px #17364c08;padding:7px 5px calc(7px + env(safe-area-inset-bottom))}.phone-bottom-nav button{display:flex;flex-direction:column;align-items:center;gap:4px;background:none;color:#64788b;font-size:11px;min-height:50px;padding:6px 2px;border:0;border-radius:10px}.phone-bottom-nav button.active{background:#e9f2ff;color:#185d9b;font-weight:700}.phone-bottom-nav svg{width:21px;height:21px}
 .phone-periods{display:grid;grid-template-columns:repeat(4,1fr);gap:4px;background:#e4edf5;padding:4px;border-radius:12px}.phone-periods button{font-size:12px;background:transparent;color:#506879;padding:9px 2px;min-height:40px;border:0}.phone-periods button.active{background:#fff;color:#155c9d;box-shadow:0 1px 4px #243b5312}.phone-range-label{display:block;margin:9px 0;font-size:11px;color:#637c8e}
 .sales-mobile .performance-filters{grid-template-columns:minmax(0,1fr) auto;gap:8px;margin-bottom:16px}.sales-mobile .performance-filters label:has(#v-period){display:none}.sales-mobile .performance-filters label:has(#v-month){grid-column:1;grid-row:1;font-size:0;gap:0}.sales-mobile .performance-filters #v-month{font-size:14px}.sales-mobile .performance-filters #v-rows{grid-column:2;grid-row:1}.phone-filter-extra{grid-column:1/-1;border:0;background:none;padding:0;box-shadow:none;border-radius:0;font-size:12px}.phone-filter-extra summary{padding:7px 0;color:#476c87}.phone-filter-extra label{max-width:100%;padding:6px 0}
 .phone-dashboard .cards{grid-template-columns:repeat(3,minmax(0,1fr));gap:8px}.phone-dashboard .cards .card{min-height:112px;border:1px solid #dfe8f0;background:#fff;padding:14px 10px;border-radius:14px}.phone-dashboard .cards .metric{font-size:16px;letter-spacing:-.5px;white-space:nowrap}.phone-dashboard .cards .card-label{font-size:11px;margin-bottom:10px}.phone-dashboard .cards .card .small{font-size:9px;line-height:1.5}.phone-dashboard .cards .card:nth-child(3){grid-column:1/-1;order:-1;min-height:124px;padding:20px;background:#193f60;border:0}.phone-dashboard .cards .card:nth-child(3) .metric{font-size:34px;color:#fff}.phone-dashboard .cards .card:nth-child(3) .card-label,.phone-dashboard .cards .card:nth-child(3) .small{color:#d6e5f2}.phone-dashboard .cards small{font-size:10px}
 .phone-home>.grid2,.phone-home>.panel,.phone-home>.actions,.phone-home>.phone-basis{display:none}.phone-home>.phone-next{display:block}.phone-next h2{font-size:17px}.phone-todo{display:flex;align-items:center;width:100%;background:#fff;color:#314d63;border:0;border-bottom:1px solid #e8eef4;border-radius:0;padding:14px 0;gap:12px;min-height:52px;text-align:left}.phone-todo strong{margin-left:auto;font-size:20px;color:#173f60}.phone-todo small{font-size:11px;font-weight:400}.phone-analysis{width:100%;margin-top:15px;font-size:12px}
 .phone-records{display:grid;gap:12px}.raw-desktop-table{display:none}.phone-record{background:#fff;border:1px solid #dee8f0;border-radius:14px;padding:16px;min-width:0}.phone-record .split{gap:10px}.phone-record .split strong{max-width:65%;overflow-wrap:anywhere}.phone-record b{font-size:15px;color:#19556c}.phone-record b.negative{color:#a86620}.phone-record>p{font-size:13px;line-height:1.7;overflow-wrap:anywhere;margin:10px 0}.phone-record details{margin:12px 0 0;padding:10px 0 0;border:0;border-top:1px solid #edf1f5;box-shadow:none;border-radius:0;background:none;font-size:12px}.phone-record summary{color:#406c8b}.phone-record details button{font-size:12px;min-height:42px}.sales-mobile #raw-search{min-width:0;width:100%}.sales-mobile .sticky-actions{bottom:calc(80px + env(safe-area-inset-bottom))}.sales-mobile #toast{bottom:calc(85px + env(safe-area-inset-bottom))}
}
@media(max-width:370px){.phone-dashboard .cards .metric{font-size:14px}.phone-dashboard .cards .card{padding:12px 8px}}

@media(max-width:720px){.phone-home>.performance-filters{display:grid}.sales-mobile .phone-bottom-nav button:hover,.sales-mobile .phone-periods button:hover,.sales-mobile .phone-todo:hover{filter:none}}

@media(max-width:720px){.phone-record>.split{justify-content:space-between;flex-wrap:nowrap}.phone-record>.split>b{white-space:nowrap}.phone-record .small{line-height:1.7}}

@media(max-width:720px){
 .phone-home>.pagehead p{display:none}.phone-home>.pagehead{margin:12px 0 16px}
 .phone-dashboard .cards{margin:12px 0 16px}.phone-dashboard .cards .card{min-height:86px;padding:14px 10px}
 .phone-dashboard .cards .card:not(:nth-child(3)) .small{display:none}
 .phone-dashboard .cards .card:nth-child(3){min-height:108px;padding:16px 20px}
 .phone-next .phone-todo{background:#fff;border-radius:0}.phone-next .phone-todo:hover{background:#f2f6fb}
}

@media(max-width:720px){.phone-net-link{position:absolute;right:12px;top:8px;color:#dceeff;font-size:11px;min-height:40px;padding:8px}.phone-net-link:focus-visible{outline:2px solid #fff}}

@media(max-width:720px){.sales-mobile .phone-net-link{color:#dceeff;border-color:#7395b3;background:transparent}}
.sidebar{height:100dvh;overflow-y:auto;overscroll-behavior:contain;padding-top:24px;padding-bottom:24px}.sidebar .brand{margin-bottom:20px}.sidebar .side-label{display:none}.sidebar .nav{display:flex;flex-direction:column;gap:3px}.sidebar .nav button{width:100%;min-height:37px;padding:9px 13px;font-size:13px}.nav-group-label{font-size:10px;letter-spacing:1px;color:#a9bbce;padding:15px 13px 6px}.sidebar .side-bottom{position:static;margin-top:24px;padding:12px}.page-navigation{display:flex;align-items:center;gap:10px;flex-wrap:wrap;position:sticky;top:0;z-index:4;padding:10px 0;background:#edf2f6f5;border-bottom:1px solid #d7e1eb;margin:0 0 16px;backdrop-filter:blur(8px)}.page-navigation button{min-height:40px}.page-navigation .page-back{font-weight:600;border-color:#8eadd0}.page-navigation>span{font-size:12px;color:#586b7c}.workspace button.page-back:not(:disabled){background:#e5effb;color:#174e87}#raw-back{display:inline-flex}.workspace{min-width:0;padding-top:0}.table-wrap{max-width:100%;overflow-x:auto}.actions{align-items:center}.actions>select,.actions>input{min-width:150px;flex:1}.pagehead{margin-top:18px}.pagehead .eyebrow{display:none}.panel .empty{padding:24px}
@media(max-width:720px){.sales-mobile .sidebar,.sidebar{display:block;position:relative;height:auto;overflow:visible;width:100%;padding:16px;box-sizing:border-box}.sidebar .brand{margin-bottom:10px}.sidebar .nav{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));overflow:visible;margin:0;padding:0;gap:4px}.sidebar .nav .nav-group-label{grid-column:1/-1;padding-top:10px}.sidebar .nav button{white-space:normal;min-height:42px;font-size:12px}.sidebar .side-bottom{display:none}.sales-mobile .workspace,.workspace{padding:0 16px 24px}.phone-bottom-nav{display:none!important}.page-navigation{top:0}.page-navigation button{font-size:12px;padding:8px 10px}.cards{grid-template-columns:repeat(2,minmax(0,1fr))}.pagehead{flex-wrap:wrap}.actions{flex-wrap:wrap}.actions>select,.actions>input{max-width:100%;flex-basis:calc(50% - 12px)}.metric{font-size:23px}.topbar{height:auto;min-height:56px;gap:8px;flex-wrap:wrap}.summary-top{grid-template-columns:1fr}}

/* Business screens use restrained surfaces and compact summaries. */
.workspace .panel,.workspace .card{border-radius:8px;box-shadow:none}.workspace .cards>.card{background:#fff;border-top:1px solid var(--line)}.workspace .cards>.card .metric{color:var(--ink)}.pagehead h1{font-size:28px;letter-spacing:0}.workspace .banner{font-size:12px;padding:8px 12px}.workspace .panel{padding:20px}.work-summary{display:flex;flex-wrap:wrap;gap:12px 28px;padding:16px 0;border-bottom:1px solid var(--line);margin-bottom:20px;font-size:13px;color:var(--muted)}.work-summary strong{font-size:20px;color:var(--ink);margin-left:8px;font-variant-numeric:tabular-nums}.trial-record{margin:12px 0}.trial-record h2{font-size:17px;margin:0}.trial-record .panel-head p{margin:6px 0 0}.record-facts{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px;margin:14px 0}.record-facts dt{font-size:12px;color:var(--muted)}.record-facts dd{margin:5px 0;font-size:14px}.trial-record .actions{align-items:flex-start}.trial-record details{flex:1;min-width:180px}.trial-record summary{padding:9px;cursor:pointer}.followup-entry{border-left:2px solid var(--line);padding:8px 12px;margin-top:8px;font-size:13px}.followup-entry p{margin-bottom:0}.workspace th{font-size:12px;color:var(--muted);background:#f5f7f9}.workspace td{font-size:13px}.workspace td,.workspace th{font-variant-numeric:tabular-nums}
@media(max-width:720px){.record-facts{grid-template-columns:repeat(2,minmax(0,1fr))}.pagehead h1{font-size:24px}.workspace .panel{padding:16px}.work-summary{gap:12px 20px}.trial-record .panel-head{align-items:flex-start}.trial-record .pill{white-space:nowrap}}

.record-facts{grid-template-columns:repeat(3,minmax(0,1fr))}
@media(max-width:720px){.record-facts{grid-template-columns:repeat(2,minmax(0,1fr))}}

/* Overview: one grid, consistent chart hierarchy, details on demand. */
.home-view{--home-blue:#296da8}.workspace:has(.home-view)>.banner{display:none}.workspace:has(.home-view)>.topbar{margin-bottom:12px}.home-view .pagehead{align-items:center;margin:22px 0 10px;gap:16px}.home-view .pagehead h1{margin-bottom:6px;font-size:26px}.home-view .pagehead p{font-size:13px;margin:0;color:#738092}.home-year{display:flex;align-items:center;gap:10px;color:#738092;font-size:12px;white-space:nowrap}.home-year select{min-width:100px;min-height:36px;padding:6px 28px 6px 10px}.home-scope{display:flex;align-items:center;justify-content:space-between;gap:12px;color:#738092;font-size:12px}.home-scope button{font-size:12px;min-height:34px}.home-view .home-kpis{grid-template-columns:repeat(4,minmax(0,1fr));gap:12px;margin:12px 0 20px}.home-view .home-kpis>.card{min-height:112px;padding:18px;border:1px solid #dde3e9;border-radius:6px;background:#fff;box-shadow:none}.home-kpis .metric{font-size:27px;letter-spacing:-.6px;font-variant-numeric:tabular-nums;margin:9px 0}.home-kpis .card-label{font-size:12px;color:#627184}.home-kpis .small{font-size:11px;color:#8792a0}.home-dashboard{display:grid;gap:18px}.home-primary{display:grid;grid-template-columns:minmax(0,1.9fr) minmax(0,1fr);gap:18px}.home-contributions{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:18px}.home-secondary{display:grid;grid-template-columns:minmax(0,1.3fr) minmax(0,1fr) minmax(0,1fr);gap:18px}.home-view .home-panel{margin:0;padding:18px;min-width:0;border-radius:6px;overflow:hidden}.home-panel-head{display:flex;align-items:flex-start;justify-content:space-between;gap:10px;margin-bottom:14px}.home-panel-head h2{font-size:15px;margin:0;line-height:1.5;font-weight:650}.home-panel-head p{font-size:11px;color:#8792a0;margin:5px 0 0}.home-panel-head>button{font-size:11px;white-space:nowrap;padding:5px 0;min-height:28px;color:#4b718e}.home-trend svg{display:block;width:100%;height:auto;max-height:272px}.home-trend g[role=button]{cursor:pointer}.home-trend g[role=button]:hover rect:first-of-type,.home-trend g[role=button]:focus rect:first-of-type{fill:#2f7db415;outline:none}.home-chart-note{display:flex;gap:12px;justify-content:space-between;font-size:10px;color:#8792a0;padding:5px 0}.home-chart-note>span{display:flex;align-items:center;gap:6px}.home-dot{display:inline-block;width:7px;height:7px;border-radius:50%;background:#296da8}.home-view .home-bar,.home-view .home-bar:hover,#home-detail-list .home-bar,#home-detail-list .home-bar:hover{display:flex;align-items:center;gap:9px;width:100%;border:0;border-radius:4px;background:transparent;color:#34465a;padding:7px 3px;min-height:36px;box-shadow:none;text-align:left;filter:none}.home-view .home-bar:hover,#home-detail-list .home-bar:hover{background:#f1f5f8}.home-bar-rank{color:#9aa5b1;font-size:10px;flex:0 0 15px;text-align:center}.home-bar-content{display:block;min-width:0;flex:1}.home-bar-heading{display:flex;justify-content:space-between;align-items:center;gap:14px;font-size:12px}.home-bar-name{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;min-width:0}.home-bar-name small{display:block;color:#8a96a5;font-size:10px;margin-top:1px}.home-bar-heading strong{white-space:nowrap;font-size:12px;font-weight:550;font-variant-numeric:tabular-nums}.home-bar-track{display:block;height:5px;background:#eef2f5;border-radius:2px;overflow:hidden;margin-top:5px}.home-bar-track>span{display:block;height:100%;background:#3c7eaf;border-radius:2px;min-width:0}.home-bar-arrow{font-size:15px;color:#a2adba}.home-ring-layout{display:flex;flex-direction:column;align-items:center;gap:16px;padding:6px 0 8px}.home-view .home-ring{width:150px;height:150px;border-radius:50%;position:relative;background:var(--ring);padding:15px;border:0;flex-shrink:0;box-shadow:none;color:#34465a;filter:none}.home-ring>span{display:flex;flex-direction:column;align-items:center;justify-content:center;width:100%;height:100%;background:white;border-radius:50%;gap:5px}.home-ring strong{font-size:18px;letter-spacing:-.6px;font-weight:650;font-variant-numeric:tabular-nums}.home-ring small{font-size:10px;color:#8792a0}.home-legend{align-self:stretch;display:flex;flex-direction:column;gap:2px}.home-view .home-legend>button{display:flex;align-items:center;gap:7px;border:0;background:transparent;border-radius:4px;padding:6px 2px;min-height:26px;font-size:11px;color:#627184;box-shadow:none}.home-legend>button:hover{background:#f1f5f8}.home-legend i{width:7px;height:7px;border-radius:50%;flex-shrink:0}.home-legend strong{font-size:12px;margin-left:auto;color:#34465a;font-variant-numeric:tabular-nums}.home-legend b{font-weight:400;color:#9ba7b4}.home-view .home-work>button{display:block;width:100%;text-align:left;border:0;background:transparent;color:#627184;padding:12px 0;box-shadow:none}.home-work>button>span:first-child{display:flex;align-items:center;justify-content:space-between;font-size:12px}.home-work strong{font-size:24px;color:#34465a}.home-work strong small{font-size:12px;font-weight:400;color:#8792a0}.home-work>button>small{display:block;font-size:11px;color:#4b718e;margin-top:12px}.home-work>button+button{border-top:1px solid #eef2f5}.home-footer{display:flex;align-items:center;gap:12px;flex-wrap:wrap;margin:16px 0;color:#8792a0;font-size:11px}.home-footer button{font-size:11px;min-height:32px;padding:6px 12px}.home-footer details{margin-left:auto}.home-footer details p{max-width:540px}.home-view button:focus-visible,#home-detail-list button:focus-visible{outline:2px solid #296da8;outline-offset:2px}.home-view .negative{color:#a36333}.home-view .empty{font-size:12px;min-height:140px;display:grid;place-content:center}.home-view .home-contributions .home-bar{padding-top:8px;padding-bottom:8px}
@media(max-width:1100px){.home-secondary{grid-template-columns:repeat(2,minmax(0,1fr))}.home-secondary>.home-panel:last-child{grid-column:1/-1}.home-work{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:24px}.home-primary{grid-template-columns:minmax(0,1.5fr) minmax(0,1fr)}}
@media(max-width:720px){.home-view .home-kpis{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;margin-bottom:14px}.home-view .home-kpis>.card{min-height:98px;padding:12px}.home-kpis .metric{font-size:23px}.home-primary,.home-contributions,.home-secondary{grid-template-columns:minmax(0,1fr);gap:14px}.home-secondary>.home-panel:last-child{grid-column:auto}.home-dashboard{gap:14px}.home-view .pagehead h1{font-size:23px}.home-year{font-size:11px}.home-view .home-panel{padding:15px}.home-scope{flex-wrap:wrap;gap:2px}.home-scope button{padding-left:0}.home-ring-layout{flex-direction:row;gap:20px}.home-view .home-ring{width:126px;height:126px;padding:13px}.home-legend{flex:1;align-self:center}.home-ring strong{font-size:16px}.home-panel-head h2{font-size:14px}.home-work{display:block}.home-footer details{margin-left:0}.home-chart-note{flex-wrap:wrap;font-size:9px}}

.workspace .home-view .home-kpis>.card.card-action:nth-child(n){background:#fff}

.home-bar-track>svg{display:block;width:100%;height:100%}.home-view .home-ring{padding:0;background:transparent}.home-ring>svg{display:block;width:100%;height:100%}.home-ring>span{position:absolute;inset:20px;width:auto;height:auto;background:transparent}.home-legend-dot{display:block;width:8px;height:8px;flex:0 0 8px}

.workspace:has(.home-view)>.topbar{height:54px;min-height:54px;margin-bottom:8px}.home-view .pagehead{margin-top:16px}.home-view .home-kpis>.card{min-height:102px;padding:14px}.home-view .home-panel-head>.ghost{border:0}.home-view .home-kpis .metric{margin:7px 0}.home-scope>button{min-height:28px}.home-view .home-scope{min-height:30px}

@media(min-width:360px) and (max-width:720px){.sidebar .nav{grid-template-columns:repeat(3,minmax(0,1fr))}.sidebar .nav button{font-size:11px;gap:5px;padding:6px;min-height:36px}.sidebar .nav button svg{width:14px;flex-shrink:0}.sidebar .nav .nav-group-label{font-size:10px;padding:8px 6px 3px}.sidebar{padding:12px 16px}.sidebar .brand{font-size:20px;margin-bottom:6px}}

.customer-list-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px}.customer-card h2{font-size:16px;margin:0}.customer-card p{font-size:13px}.customer-trial{padding:14px 0;border-bottom:1px solid var(--line)}.customer-trial:last-child{border-bottom:0}.customer-trial details{margin-top:12px}.customer-trial summary{cursor:pointer;font-size:12px;color:var(--muted)}
@media(max-width:720px){.customer-list-grid{grid-template-columns:1fr}}

.home-action-strip{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));border:1px solid var(--line);background:white;border-radius:6px;margin-top:12px}.home-view .home-action-strip>button{display:flex;align-items:center;gap:10px;background:transparent;border:0;border-radius:0;box-shadow:none;color:var(--ink);padding:12px 16px;text-align:left}.home-action-strip>button+button{border-left:1px solid var(--line)}.home-action-strip span{font-size:12px;color:var(--muted)}.home-action-strip strong{margin-left:auto;font-size:20px;font-variant-numeric:tabular-nums}.home-action-strip b{font-size:12px;font-weight:400;color:var(--muted)}.home-data-note{font-size:11px;color:var(--muted);margin:8px 0 0}
@media(max-width:720px){.home-action-strip{grid-template-columns:repeat(2,minmax(0,1fr))}.home-view .home-action-strip>button{padding:10px}.home-action-strip>button:nth-child(3){border-left:0}.home-action-strip>button:nth-child(n+3){border-top:1px solid var(--line)}}

.workspace .small.muted,.workspace .home-panel-head p,.workspace .card p{color:#526476;font-size:12px}
.home-ownership .small{font-size:12px}.home-customer-actions p{margin:8px 0}
@media(max-width:720px){.sidebar{padding:8px 12px!important}.sidebar .brand{font-size:16px!important;margin:0!important;line-height:24px}.sidebar .brand small,.sidebar .side-bottom,.sidebar .side-label,.sidebar .nav .nav-group-label{display:none!important}.sidebar .nav{margin-top:4px;gap:3px!important}.home-view .pagehead{margin:10px 0}.home-view .pagehead p{margin:4px 0}.home-ownership{padding:10px 12px}.home-ownership .actions{gap:6px}.home-ownership p{margin:5px 0}.home-ownership button{min-height:44px}.home-view .home-kpis>.card{min-height:100px;padding:10px}.home-view .home-data-note{font-size:12px}.workspace .panel{padding:14px}.home-customer-actions .panel-head{flex-wrap:wrap}}
.management-tabs{display:flex;gap:8px;flex-wrap:wrap;margin:20px 0;border-bottom:1px solid #d6e0e8;padding-bottom:12px}.management-tabs [role=tab]{background:transparent;color:#314b62;border:1px solid #cbd6e0;min-height:44px}.management-tabs [aria-selected=true]{background:#1765ad;color:white;border-color:#1765ad}.management-tabs button:focus-visible{outline:3px solid #83baf0;outline-offset:2px}#management-body [hidden],.handoff-person-options [hidden]{display:none!important}.handoff-person-options{max-height:260px;overflow:auto;margin-top:12px;padding:8px;border:1px solid #d6e0e8;border-radius:6px}#sales-person-form fieldset{margin:16px 0}#management-body .panel{margin-top:0}@media(max-width:600px){.management-tabs{display:grid;grid-template-columns:1fr 1fr}.management-tabs button{width:100%;font-size:13px}.handoff-person-options{grid-template-columns:1fr}#management-body .actions input{min-width:0;width:100%}}
#member-result-count{margin:12px 0 16px;line-height:1.6}
#management-panel-accounts td:nth-child(3),#management-panel-accounts td:nth-child(5){white-space:nowrap}#management-panel-accounts .account-operation[data-operation="delete"]{color:#ad3430!important;border-color:#e4c3c0!important;background:#fff!important}#account-result-count{margin:12px 0 16px;line-height:1.6}
.unified-work{margin-top:20px}.work-queue-row{display:flex;justify-content:space-between;gap:16px;align-items:center;padding:14px 0;border-bottom:1px solid #e3e9ef}.work-queue-row p{margin:6px 0 0}.work-queue-row>div{min-width:0}.work-queue-row strong{overflow-wrap:anywhere}.analysis-quality p{line-height:1.6}.backup-status{margin-top:24px}.customer-card p{overflow-wrap:anywhere}@media(max-width:600px){.work-queue-row{align-items:flex-start}.work-queue-row button{min-width:72px;min-height:44px}.unified-work .actions{display:grid;grid-template-columns:1fr 1fr}.unified-work select{width:100%;min-width:0}.management-tabs button:last-child:nth-child(odd){grid-column:1/-1}#management-body .management-mobile-cards,#management-body .management-mobile-cards tbody{display:block;width:100%;min-width:0}#management-body .management-mobile-cards thead{display:none}#management-body .management-mobile-cards tr{display:grid;grid-template-columns:1fr 1fr;border:1px solid #d6e0e8;border-radius:8px;margin:12px 0;background:white;padding:8px}#management-body .management-mobile-cards td{display:block;border:0;padding:8px;white-space:normal!important;overflow-wrap:anywhere}#management-body .management-mobile-cards td:before{content:attr(data-label);display:block;color:#526476;font-size:12px;margin-bottom:5px}#management-body .management-mobile-cards td:last-child{grid-column:1/-1}#management-body .management-mobile-cards button{min-height:44px;margin:3px 2px}#management-body .mobile-table-hint{display:none}#management-body .table-wrap{overflow:visible}.analysis-quality .grid2{grid-template-columns:1fr}}

@media(max-width:720px){.sales-mobile .sidebar{display:none!important}.sales-mobile .phone-bottom-nav{display:grid!important}.sales-mobile .workspace{padding-bottom:calc(90px + env(safe-area-inset-bottom))}.shell:not(.sales-mobile) .sidebar .nav{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:4px!important}.shell:not(.sales-mobile) .sidebar .nav-group-label{display:block!important;grid-column:1/-1;padding:9px 6px 3px}.shell:not(.sales-mobile) .sidebar .nav button{min-width:0;min-height:44px;justify-content:flex-start;gap:5px;padding:6px;font-size:11px}.shell:not(.sales-mobile) .sidebar .nav button span:last-child{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.shell:not(.sales-mobile) .nav-mobile-group{grid-column:1/-1;border-bottom:1px solid #dce5ed}.shell:not(.sales-mobile) .nav-mobile-group>summary{min-height:40px;padding:8px;color:#c7d6e5;font-size:12px;font-weight:650;cursor:pointer}.shell:not(.sales-mobile) .nav-mobile-items{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:4px;padding:0 4px 6px}}
/* UI handoff presentation layer. Existing business values and actions are retained. */
:root{--ui-body:14px;--ui-title:20px;--ui-section:16px;--ui-muted:#52616f;--ui-border:#d9e1e7}
body{font-size:var(--ui-body);line-height:1.6}
.workspace{min-width:0;padding:0 24px 28px}
.workspace h1{font-size:var(--ui-title);line-height:28px;font-weight:500;margin:0 0 6px}
.workspace h2{font-size:var(--ui-section);line-height:24px;font-weight:500}
.workspace h3{font-size:15px;line-height:23px;font-weight:500}
.workspace p,.workspace .small,.workspace .muted,.workspace label{font-size:14px;line-height:22px}
.workspace .muted{color:var(--ui-muted)}
.workspace .pagehead{margin:16px 0;gap:14px}
.workspace .panel,.workspace .card{border-radius:12px;padding:16px}
.workspace .topbar{min-height:56px;margin:0;padding:10px 0;gap:12px}
.workspace .topbar .right{gap:8px}
.workspace .page-navigation{padding:7px 0;min-height:0;gap:8px;margin-bottom:12px}
.workspace .page-navigation button{min-height:36px;padding:6px 10px;font-size:13px}
.workspace .cards{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px}
.workspace .metric,.ui-number,.workspace progress,.workspace .ranking-value{font-variant-numeric:tabular-nums}
.workspace .metric{font-size:clamp(22px,2vw,28px);line-height:1.35;overflow:visible;white-space:normal;overflow-wrap:anywhere}
.workspace .card-label{font-size:14px;line-height:22px;white-space:normal;overflow:visible}
.workspace .actions{gap:10px;align-items:end}
.workspace .actions>input{min-width:160px;max-width:100%}
.workspace button,.workspace input,.workspace select{min-height:42px;font-size:14px}
.workspace textarea{font-size:14px;line-height:22px}
.workspace .panel .actions{margin-bottom:12px}
.sidebar .nav-group-label{font-size:12px;line-height:20px;margin:14px 10px 5px;color:#bfcfdd;letter-spacing:0}
.sidebar .nav button{min-height:40px;padding:9px 12px;font-size:14px}
.ui-menu-toggle,.ui-menu-close,.ui-menu-veil{display:none}
.ui-fold{display:block;min-width:0;margin:16px 0}
.ui-fold>summary{font-size:16px;line-height:24px;font-weight:500;cursor:pointer;min-height:28px}
.ui-fold>summary::marker{color:#1d659a}
.ui-fold[open]>summary{margin-bottom:14px}
.ui-fold>section.panel{margin:0;padding:0;border:0;box-shadow:none;border-radius:0}
.ui-fold>.home-dashboard{margin-top:12px}
.ui-home-summary>.home-kpis{margin-top:12px}
.ui-shortcuts{display:flex;gap:10px;flex-wrap:wrap;margin:14px 0}
.ui-shortcuts button{min-height:44px}
.home-view .home-action-strip{margin:12px 0;grid-template-columns:repeat(4,minmax(0,1fr))}
.home-view .unified-work{margin:16px 0 12px}
.home-view .unified-work h2{font-size:18px}
.home-view .home-kpis .card{min-width:0;min-height:112px}
.home-view .home-scope{padding:12px 0;font-size:14px;line-height:22px;flex-wrap:wrap}
.home-view .home-data-note{font-size:14px}
.ui-list-tools{display:flex;justify-content:space-between;align-items:center;gap:12px;flex-wrap:wrap;margin:14px 0}
.ui-list-tools p{margin:0}
.ui-list-tools [role=group]{display:flex;gap:6px}
.ui-list-tools [aria-pressed=true]{background:#1a6a9c!important;color:#fff!important}
.ui-table-scroll{width:100%;max-width:100%;overflow:auto;overscroll-behavior-x:contain;border:1px solid var(--ui-border);border-radius:12px;background:#fff}
.ui-table-scroll table{width:100%;min-width:900px;border-collapse:collapse;font-size:14px;line-height:22px}
.ui-table-scroll th{background:#f4f7fa;color:#344b5b;font-size:14px;white-space:nowrap;font-weight:500}
.ui-table-scroll th,.ui-table-scroll td{padding:12px 14px;text-align:left;vertical-align:top;border-bottom:1px solid #e6ebf0}
.ui-table-scroll tr:last-child td{border-bottom:0}
.ui-table-scroll td{max-width:280px;min-width:85px;overflow-wrap:anywhere}
.ui-table-scroll td small{display:block;font-size:14px;color:#5b6d79;line-height:22px;margin-top:4px}
.ui-table-scroll td strong{font-weight:500}
.ui-table-scroll tbody tr:hover{background:#f1f7fb}
.ui-table-scroll [data-ui-customer]{cursor:pointer}
.ui-table-scroll [data-ui-customer]:focus-visible{outline:3px solid #2a729b;outline-offset:-3px}
.ui-table-scroll tbody td:first-child,.ui-table-scroll th:first-child{position:sticky;left:0;background:#fff;z-index:1;min-width:140px}
.ui-table-scroll th:first-child{background:#f4f7fa;z-index:2}
.ui-table-scroll td button{padding:6px 10px;min-height:36px;margin:0 4px 5px 0;white-space:nowrap}
.ui-number{white-space:nowrap}
.ui-spec-line{min-height:28px;padding:2px 0}
dialog#v-dialog.ui-detail-drawer{position:fixed;inset:0 0 0 auto;width:min(680px,90vw);height:100vh;height:100dvh;max-width:none;max-height:none;margin:0;padding:20px;border:0;border-radius:0;box-sizing:border-box;overflow:auto}
.ui-detail-drawer>.panel-head{position:sticky;top:-20px;padding:12px 0;gap:14px;background:#fff;z-index:3;border-bottom:1px solid var(--ui-border)}
.ui-detail-drawer h2{font-size:20px;font-weight:500;line-height:28px}
.ui-detail-drawer p,.ui-detail-drawer .small{font-size:14px;line-height:22px}
.ui-detail-drawer .record-facts{grid-template-columns:repeat(2,minmax(0,1fr))}
.ui-detail-drawer .feedback-images{display:flex;flex-wrap:wrap;gap:8px}
.ui-error{border:1px solid #d39480!important;background:#fff6f0!important;color:#8b351e;font-size:14px;line-height:24px;margin:14px 0}
.workspace .learning-menu{grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}
.workspace .learning-menu-card{min-height:92px;padding:16px;border-radius:12px}
.workspace .learning-menu-card strong{font-size:16px;font-weight:500}
.workspace .learning-menu-card span{font-size:14px}
.workspace .ranking-row{padding:14px;gap:14px}
.workspace .ranking-main{min-width:0}
.workspace .ranking-number{font-size:18px;font-weight:500}
.workspace .ranking-name{font-size:15px}
.workspace .ranking-value strong{font-size:20px}
.workspace .ranking-sub{font-size:14px}
.workspace .analysis-range{padding:16px}
.workspace .analysis-range-groups{gap:12px}
.workspace .analysis-range-group{padding:12px}
.workspace .analysis-quality{margin:14px 0}
.ui-original-month{display:none!important}
.ui-month-picker{display:inline-flex;align-items:center;gap:6px;max-width:100%}
.ui-month-picker .ui-year{width:88px;min-width:0}
.ui-month-picker select{width:88px;min-width:0}
@media(max-width:1199px){
 .workspace .cards{grid-template-columns:repeat(2,minmax(0,1fr))}
 .home-view .home-dashboard{grid-template-columns:minmax(0,1fr)}
 .home-view .home-action-strip{grid-template-columns:repeat(2,minmax(0,1fr))}
 .home-view .home-kpis .metric{font-size:28px}
}
@media(max-width:991px){
 .shell{display:block}
 .shell>.sidebar,.sales-mobile .sidebar{display:none}
 .shell.ui-menu-open>.sidebar{display:flex;position:fixed;inset:0 auto 0 0;width:min(320px,88vw);height:100vh;height:100dvh;max-height:none;z-index:1002;box-sizing:border-box;flex-direction:column;overflow-y:auto;padding:16px;background:#17334a;border-right:0}
 .ui-menu-toggle{display:inline-flex;align-items:center;justify-content:center;flex-shrink:0}
 .sidebar .ui-menu-close{display:block;color:#fff;align-self:flex-end;padding:8px 12px;min-height:44px}
 .ui-menu-veil{display:none}
 .ui-menu-open>.ui-menu-veil{display:block;position:fixed;inset:0;z-index:1001;width:100%;height:100%;border:0;border-radius:0;background:#071b2b88}
 .workspace{padding:0 20px 28px}
 .workspace .topbar{display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between}
 .workspace .topbar>.muted{order:3;flex-basis:100%;font-size:12px;line-height:18px}
 .workspace .learning-menu{grid-template-columns:repeat(2,minmax(0,1fr))}
 .workspace .topbar .right{margin-left:auto;flex-wrap:wrap}
 .workspace .topbar .right button{padding:6px 8px;font-size:14px}
 .ui-table-scroll td{max-width:240px}
 .ui-table-scroll tbody td:first-child{max-width:180px}
}
@media(max-width:575px){
 .workspace{padding:0 16px 24px}
 .workspace .cards{grid-template-columns:minmax(0,1fr)}
 .workspace .learning-menu{grid-template-columns:minmax(0,1fr)}
 .workspace .panel,.workspace .card{padding:14px}
 .workspace .pagehead{align-items:flex-start}
 .workspace .pagehead h1{font-size:20px}
 .workspace .pagehead p{font-size:14px}
 .workspace .actions{display:flex;flex-wrap:wrap;gap:10px}
 .workspace .actions>label,.workspace .actions>input:not([type=checkbox]),.workspace .actions>select{width:100%;min-width:0;box-sizing:border-box}
 .workspace .actions>.checkline{width:auto}
 .home-view .home-action-strip{grid-template-columns:repeat(2,minmax(0,1fr))}
 .home-view .home-action-strip button{padding:12px;min-height:88px}
 .home-view .home-action-strip span{font-size:13px}
 .home-view .home-action-strip strong{font-size:24px}
 .home-view .ui-shortcuts{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:6px}
 .home-view .ui-shortcuts button{font-size:13px;padding:8px 4px}
 .home-view .home-kpis .metric{font-size:28px;overflow:visible}
 .ui-month-picker{width:100%;display:flex}
 .ui-month-picker .ui-year{flex:1 1 50%;width:50%;min-width:0}
 .ui-month-picker select{flex:1 1 50%;width:50%;min-width:0}
 dialog#v-dialog.ui-detail-drawer{width:100vw;width:100dvw;height:100vh;height:100dvh;padding:16px}
 .ui-detail-drawer>.panel-head{top:-16px}
 .ui-detail-drawer .record-facts{grid-template-columns:minmax(0,1fr)}
 .workspace .ranking-value strong{font-size:17px}
 .workspace .ranking-value button{font-size:13px}
 .workspace .ranking-row{gap:10px;padding:12px}
 .workspace .form-grid{grid-template-columns:minmax(0,1fr)}
}


.ui-preview-banner{padding:8px 12px;margin:8px 0;border:1px solid #b9cfdf;border-radius:8px;background:#f0f7fc;color:#365b73;font-size:13px}
.home-view #queue-list .empty{min-height:0;padding:14px;text-align:left;margin:0;background:#f5f8fb}
.workspace .analysis-range h2{margin:0 0 8px}
.workspace .analysis-range-presets{display:flex;gap:8px;flex-wrap:wrap;margin:10px 0}
.workspace .analysis-range-presets button{font-size:14px;min-height:40px;padding:8px 12px}
.workspace .analysis-range-custom{margin:10px 0;padding:10px 12px}
.workspace .analysis-range-current{margin:10px 0}
.workspace .ui-cycle-title{margin:18px 0 10px}
.shell .workspace .topbar{height:auto;max-height:none;min-height:56px;box-sizing:border-box}
@media(max-width:991px){.shell .workspace .topbar>.muted{display:none}.shell .workspace .topbar .right{min-width:0;justify-content:flex-end;gap:6px}}
:root{--ui-muted:#46515a}
.ui-table-scroll td small{color:#46515a}
@media(max-width:991px){.workspace button,.workspace input,.workspace select{min-height:44px}.workspace .ui-table-scroll td button{min-height:44px}.shell.ui-menu-open .sidebar .nav button{min-height:44px}}

/* Shared page rules replace the former blue presentation layer. */
:root{--bg:#f6f8fa;--ink:#172b32;--muted:#66757c;--line:#e5eaed;--accent:#0f766e;--ui-muted:#66757c;--ui-title:24px}
[hidden]{display:none!important}
body{background:var(--bg)}
.shell{grid-template-columns:224px minmax(0,1fr)}
.shell .sidebar{display:flex;flex-direction:column;gap:0;background:#fff;color:var(--ink);border-right:1px solid var(--line);padding:24px 16px;box-shadow:none}
.sidebar .brand,.sidebar .brand small{color:var(--ink)}
.sidebar .brand{font-size:25px;margin-bottom:16px}.sidebar .brand small{font-size:10px;letter-spacing:1px;color:var(--muted)}
.sidebar .nav{flex:1;min-height:0;overflow-y:auto;display:block;padding:0}
.sidebar .nav-group-label{font-size:11px;color:#849096;margin:18px 12px 7px;letter-spacing:.5px}
.sidebar .nav button{display:flex;align-items:center;gap:10px;min-height:38px;width:100%;margin:3px 0;padding:8px 12px;color:#52636b;font-size:14px;border:0;background:transparent;border-radius:7px;box-shadow:none;text-align:left}
.sidebar .nav button.active{color:var(--accent);background:#eaf5f1;border:0;box-shadow:none;font-weight:650}
.sidebar .nav button span:last-child{white-space:normal;overflow:visible;text-overflow:clip;min-width:0;line-height:21px}
.sidebar .side-bottom{font-size:11px;color:var(--muted);border-top:1px solid var(--line);padding:14px 4px 0;margin-top:16px}
.shell .workspace{background:var(--bg);padding:0 28px 32px;min-width:0}
.shell .workspace .topbar{height:60px;min-height:60px;padding:8px 0;background:transparent;border-bottom:1px solid var(--line);margin:0 0 24px;box-shadow:none}
.topbar>.muted{display:flex;gap:7px;align-items:center;font-size:13px}.topbar>.muted button{padding:4px 0;border:0;font-weight:400;font-size:13px}
.workspace .pagehead,.workspace.home-view .pagehead{margin:0 0 22px;padding:0;align-items:center}
.workspace .pagehead h1,.home-view .pagehead h1{font-size:24px;line-height:32px;font-weight:650;letter-spacing:-.4px;color:var(--ink)}
.workspace h2{font-size:16px;font-weight:600}.workspace h3{font-weight:600}
.workspace .pagehead p,.workspace .small{font-size:13px;line-height:21px;color:var(--muted)}
.workspace .panel,.workspace .card{background:#fff;border:1px solid var(--line);border-radius:10px;box-shadow:none;padding:18px;margin-bottom:20px}
.workspace .cards{gap:14px;margin-bottom:20px}.workspace .cards>.card{margin-bottom:0}
.workspace .metric{font-size:28px;line-height:36px;letter-spacing:-.5px;font-weight:600}
.workspace button,.workspace input,.workspace select{min-height:38px}.workspace button{font-weight:500;padding:8px 13px;border-radius:7px;box-shadow:none}
.workspace button.secondary{background:#fff;color:var(--ink);border:1px solid #dce4e7}.workspace button.ghost{border-color:transparent;background:transparent;color:var(--accent)}
.work-dialog .form-error{margin:8px 0 0;padding:10px 12px;border-radius:7px;background:#fff0ee;color:#ae303d;overflow-wrap:anywhere}
.work-dialog button:not(.secondary):not(.ghost):not(.danger){background:var(--accent);box-shadow:none}
.workspace button.danger{background:#fff0ee;color:#ae303d;border-color:#f1d5d7}
.workspace button:disabled{cursor:default}.workspace input,.workspace select,.workspace textarea{border-color:#dce4e7;border-radius:7px}
.workspace .panel-head{margin-bottom:14px}.workspace .panel-head h2{margin:0}
.workspace .management-tabs{display:flex;gap:20px;overflow-x:auto;border-bottom:1px solid var(--line);margin:0 0 22px;padding:0;background:none;border-radius:0}
.workspace .management-tabs button{background:transparent;border:0;border-bottom:2px solid transparent;border-radius:0;color:var(--muted);padding:10px 2px;white-space:nowrap}
.workspace .management-tabs button[aria-selected=true]{color:var(--accent);border-bottom-color:var(--accent);background:none}
.workspace .table-wrap{border:1px solid var(--line);border-radius:8px;overflow:auto;max-height:none}
.workspace table{width:100%;font-size:13px;border-collapse:collapse}.workspace th{font-size:12px;font-weight:500;color:var(--muted);background:#fafbfc;white-space:nowrap}
.workspace th,.workspace td{padding:12px 14px;border-bottom:1px solid #edf0f2;line-height:21px;vertical-align:middle}
.workspace td small{display:block;font-size:12px;color:var(--muted);margin-top:3px}.workspace tbody tr:nth-child(even){background:#fff}.workspace tbody tr:hover{background:#f7faf9}
.workspace td button{min-height:32px;font-size:13px;padding:5px 9px}.workspace .table-wrap p.mobile-table-hint{margin:0}
.workspace .pill,.workspace .tag{background:#f0f5f4;color:#496b62;border:0;font-size:12px;padding:3px 8px}
.workspace .empty{padding:18px;min-height:0;color:var(--muted);background:#fafbfc;font-size:13px}
.account-menu{position:relative}.account-menu>summary{list-style:none;cursor:pointer;padding:8px;font-size:13px}.account-menu>div{position:absolute;top:100%;right:0;z-index:30;min-width:150px;background:#fff;border:1px solid var(--line);padding:6px;border-radius:8px;box-shadow:0 8px 24px #14382f18}.account-menu button{display:block;width:100%;text-align:left}
.home-view .home-kpis{margin-top:0}.home-view .home-kpis .card{min-height:108px}.home-view .home-action-strip{margin:0 0 16px;gap:8px}.home-view .home-action-strip button{min-height:64px;border:1px solid var(--line);padding:10px 14px;background:#fff}.home-view .home-action-strip strong{font-size:22px}.home-view .home-action-strip span{font-size:12px}.home-view .unified-work{margin:0 0 20px}.home-view .unified-work .actions{margin-bottom:8px}
.home-view .home-dashboard{display:block}.home-chart-switch{display:flex;justify-content:flex-end;margin:0 0 12px}.home-chart-switch label{display:flex;align-items:center;gap:12px}.home-chart-switch select{width:auto;min-width:200px}.home-view .home-scope{font-size:13px}
.ui-customer-mobile,.ui-trial-mobile{display:none}.ui-list-tools{margin:12px 0}.ui-table-scroll .ui-number{text-align:right;white-space:nowrap}
.course-filters{align-items:center;margin-bottom:16px;display:flex;gap:12px;flex-wrap:wrap}.course-filters input{max-width:360px;flex:1}.course-filters select{width:200px}.course-filters span{margin-left:auto}
.course-row-actions{display:flex;justify-content:flex-end;align-items:center;gap:8px;white-space:nowrap}.course-menu{position:relative}.course-menu summary{padding:6px 8px;color:var(--accent);cursor:pointer;list-style:none}.course-menu[open]{z-index:6}.course-menu>div{position:absolute;right:0;top:100%;width:168px;padding:5px;background:#fff;border:1px solid var(--line);border-radius:8px;box-shadow:0 8px 24px #14382f18}.course-menu button{display:block;width:100%;background:#fff;color:var(--ink);text-align:left;padding:8px}
.course-resume{display:flex;align-items:center;justify-content:space-between;gap:16px;background:#e7f2ef;padding:24px;border-radius:10px;margin-bottom:22px}.course-resume h2{margin:6px 0}.course-resume p{font-size:13px;color:#526d64}
.course-learning-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:18px}.workspace .course-learn-card{padding:0;overflow:hidden;margin:0}.course-cover{padding:18px;background:#eaf4f0;color:#4b7c6f;font-size:12px;min-height:110px}.course-cover strong{display:block;font-size:18px;color:#185c4d;margin-top:8px}.course-card-body{padding:18px}.course-card-body .actions{margin-top:16px}.course-card-body h3{margin-bottom:6px}.course-card-body progress{width:100%;height:6px;margin:12px 0 4px;accent-color:var(--accent)}
.workspace .course-list>.table-wrap{overflow:visible}.workspace .course-list>.table-wrap table{overflow:visible}
.analysis-mode-tabs{display:flex;gap:18px;border-bottom:1px solid var(--line);margin:0 0 16px}.analysis-mode-tabs button{background:transparent;color:var(--muted);border-radius:0;border-bottom:2px solid transparent}.analysis-mode-tabs button[aria-selected=true]{color:var(--accent);border-bottom-color:var(--accent)}
.question-summary{max-width:600px;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}.question-bank-pages{margin:12px 0}
.exam-body .table-wrap{max-height:none;overflow-x:auto;overflow-y:visible}.exam-body{max-height:none;overflow:visible}.workspace .exam-accordion{overflow:visible}
dialog#v-dialog{border:1px solid var(--line);border-radius:12px;box-shadow:0 20px 80px #193b3025}dialog#v-dialog .empty{padding:16px;min-height:0}.ui-detail-drawer .table-wrap{max-height:none}
@media(max-width:1199px){.course-learning-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:991px){.shell{display:block}.shell .workspace{padding:0 20px 28px}.shell .workspace .topbar{margin-bottom:20px}.shell.ui-menu-open .sidebar{padding-top:65px}.sidebar .nav button span:last-child{white-space:normal;overflow:visible;text-overflow:clip}.sidebar .nav button{min-height:44px}.course-learning-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:575px){.shell .workspace{padding:0 16px 28px}.shell .workspace .pagehead{align-items:flex-start;margin-bottom:18px}.workspace .pagehead h1,.home-view .pagehead h1{font-size:22px;line-height:30px}.workspace .panel,.workspace .card{padding:14px}.workspace .home-kpis{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.home-view .home-kpis .card{min-height:108px;padding:12px}.home-view .home-kpis .metric{font-size:22px;line-height:30px}.home-view .home-kpis .card-label{font-size:12px}.home-view .home-action-strip{gap:6px}.home-view .home-action-strip button{min-height:62px}.workspace button,.workspace input,.workspace select{min-height:44px}.course-learning-grid{grid-template-columns:1fr}.course-resume{align-items:flex-start;flex-direction:column;padding:20px}.course-filters input,.course-filters select{max-width:none;width:100%}.course-filters span{margin-left:0}.course-filters input{flex-basis:100%}.course-list table thead{display:none}.course-list table,.course-list table tbody,.course-list table tr,.course-list table td{display:block}.course-list table tr{border-bottom:1px solid var(--line);padding:14px 0}.course-list table td{border:0;padding:4px 0}.course-row-actions{justify-content:flex-start;flex-wrap:wrap;gap:10px}.course-row-actions button{min-height:44px!important}.course-menu>div{left:0;right:auto}.course-list table td:nth-child(2){color:var(--muted);font-size:12px}.ui-customer-mobile,.ui-trial-mobile{display:grid;gap:10px}.ui-customer-mobile+.ui-table-scroll,.ui-trial-mobile+.ui-table-scroll{display:none}.ui-mobile-record{background:#fff;border:1px solid var(--line);border-radius:9px;padding:14px}.ui-mobile-record .split{gap:12px;align-items:center}.ui-mobile-record p{margin:8px 0;color:var(--muted);font-size:13px}.ui-mobile-record .actions{margin:10px 0 0!important}.ui-mobile-record .actions button{min-height:44px}.home-chart-switch{justify-content:stretch}.home-chart-switch label{width:100%;gap:8px}.home-chart-switch select{min-width:0;flex:1}.workspace .management-tabs{gap:18px}.workspace .management-tabs button{min-height:44px}.analysis-mode-tabs{gap:10px}.analysis-mode-tabs button{flex:1}.course-cover{min-height:90px}.workspace .course-card-body{padding:16px}.question-summary{-webkit-line-clamp:3;min-width:190px}.workspace .home-dashboard>section{padding:14px}.workspace .topbar .right{margin-left:auto}}

.ranking-list tr.ranking-row{display:table-row;min-height:0;padding:0;background:#fff;box-shadow:none}.ranking-list .ranking-name{font-size:14px}.ranking-list td:nth-child(3),.ranking-list td:nth-child(4),.ranking-list td:nth-child(5){text-align:right;white-space:nowrap}.analysis-cycle-controls{display:flex;align-items:center;gap:8px}.analysis-cycle-controls select{width:auto}.analysis-cycle-controls>input{max-width:150px}.analysis-cycle-controls .ui-month-picker{display:flex;gap:6px}.analysis-scope-filters{padding:8px 0}.manager-advice>summary{cursor:pointer;font-weight:600}.workspace .analysis-period-body>.cards{margin-top:18px}
@media(max-width:575px){.ranking-list table,.ranking-list tbody{display:block}.ranking-list table thead{display:none}.ranking-list tr.ranking-row{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:7px;padding:14px;border-bottom:1px solid var(--line)}.ranking-list td{display:block;border:0;padding:0;text-align:left!important}.ranking-list td[data-label]::before{content:attr(data-label)' ';font-size:11px;color:var(--muted)}.ranking-list td:first-child{grid-column:1}.ranking-list td.ranking-name{grid-column:2;text-align:right!important}.ranking-list td:last-child{text-align:right!important}.analysis-cycle-controls{width:100%;flex-wrap:wrap}.analysis-cycle-controls>.ui-month-picker{width:100%}}

.workspace .training-report-charts{display:block}.training-people-chart progress,#training-people-chart progress{height:6px;width:100%;max-width:140px;accent-color:var(--accent)}.training-summary-grid .training-summary-card{border:1px solid var(--line);background:#fff;color:var(--ink)}.training-summary-grid .training-summary-card strong{font-size:26px}.training-trend-panel{margin-top:20px}.workspace .course-menu button.ghost{color:var(--ink)}
@media(max-width:991px){
 .shell>.sidebar{display:none!important}
 .shell.ui-menu-open>.sidebar{display:flex!important;background:#fff;color:var(--ink)}
 .shell.ui-menu-open .sidebar .nav{display:block}
 .shell.ui-menu-open .sidebar .nav button{font-size:14px;padding:10px 12px;gap:10px}
 .shell.ui-menu-open .sidebar .ui-menu-close{display:block;color:var(--ink);background:#eef3f3}
 .shell.ui-menu-open .sidebar .nav-group-label{display:block!important}
 .workspace .management-tabs{flex-wrap:nowrap;gap:18px}
 .workspace .management-tabs button{width:auto;flex:0 0 auto}
}

@media(max-width:575px){.workspace .course-list table{width:100%;min-width:0}.course-list .mobile-table-hint{display:none}.course-list td{white-space:normal;overflow-wrap:anywhere}}

/* Customer filters wrap independently of the results table. */
.workspace .actions.customer-filters {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
}
.customer-filters > :is(input, select) {
  min-width: 0;
  max-width: 100%;
  box-sizing: border-box;
}
@media (max-width: 768px) {
  .workspace .actions.customer-filters {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
  }
  .workspace .customer-filters > :is(input, select) {
    width: 100%;
    min-width: 0;
    min-height: 44px;
  }
}

.performance-scope { margin: 0 0 12px; }
.workspace .performance-kpis.cards > .card:nth-child(n) {
  min-width: 0;
  background: #fff;
  border-top-color: var(--line);
}
.performance-kpis .metric,
.performance-audit td:not(:first-child) { font-variant-numeric: tabular-nums; }
.performance-kpis .metric { overflow-wrap: anywhere; }
.performance-basis summary { cursor: pointer; }
.performance-basis[open] summary { margin-bottom: 6px; }
.performance-primary > .panel,
.performance-contributions > .panel { min-width: 0; }
.performance-audit :is(th, td):not(:first-child) { text-align: right; }

.analysis-visual { margin-block: 16px; }
.analysis-chart { margin: 12px 0 18px; }
.analysis-chart-row {
  display: grid;
  grid-template-columns: minmax(64px, auto) minmax(0, 1fr) auto;
  align-items: center;
  gap: 10px;
  margin-block: 8px;
  font-variant-numeric: tabular-nums;
}
.analysis-chart-track {
  position: relative;
  height: 16px;
  background: linear-gradient(to right, #edf2f6 calc(50% - 1px), #8594a1 calc(50% - 1px) 50%, #edf2f6 50%);
  border-radius: 3px;
}
.analysis-chart-bar {
  position: absolute;
  inset: 0 auto 0 50%;
  width: var(--bar-size);
  background: #296da8;
}
.analysis-chart-negative { inset: 0 50% 0 auto; background: #a75816; }
.analysis-data-table { margin-top: 12px; min-width: 0; max-height: 26rem; overflow: auto; }
.analysis-data-table .table-wrap { max-height: none; overflow: visible; }
.analysis-data-table th { position: sticky; top: 0; background: #f3f6f8; }
.analysis-data-table td:not(:first-child),
.analysis-visual td:nth-child(n+2) { text-align: right; font-variant-numeric: tabular-nums; }
.analysis-period-body > .grid2 > .panel,
#analysis-range-result > .grid2 > .panel { min-width: 0; }
.learning-landing .pagehead { margin-top: 16px; }
.learning-secondary { margin-top: 12px; }
@media (max-width: 768px) {
  .workspace .learning-landing .learning-menu { grid-template-columns: minmax(0, 1fr); }
  .analysis-period-body > .grid2,
  #analysis-range-result > .grid2 { grid-template-columns: minmax(0, 1fr); }
}
.home-view .home-action-strip { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.home-history-queue { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin-bottom: 16px; }
.home-history-queue button strong { margin-inline: 8px; }
@media (max-width: 575px) {
  .home-view .home-action-strip { grid-template-columns: minmax(0, 1fr); }
}

/* Local V2 workbench shell */
.shell.v2-shell > .sidebar { background: #103c30; color: #edf7f0; border-color: #103c30; }
.v2-shell .sidebar .brand,
.v2-shell .sidebar .nav button,
.v2-shell .sidebar .side-bottom { color: #eef7f1; }
.v2-shell .sidebar .brand small { color: #b9d6c9; }
.v2-shell .sidebar .nav button:hover,
.v2-shell .sidebar .nav button.active { background: #28634f; color: #fff; }
.v2-shell .workspace { background: #f7f8f4; min-width: 0; }
.v2-shell .workspace .topbar { margin-bottom: 12px; }
.v2-shell .workspace .pagehead { gap: 12px; flex-wrap: wrap; }
.v2-tabs { display: flex; flex-wrap: wrap; gap: 4px 12px; border-bottom: 1px solid var(--line); margin: 12px 0 20px; }
.v2-tabs button { min-height: 44px; padding: 8px 10px; color: #38554a; background: transparent; border: 0; border-bottom: 2px solid transparent; border-radius: 0; }
.v2-tabs button[aria-current=page] { border-color: #176451; font-weight: 700; color: #103c30; }
.v2-shell button:focus-visible, .v2-shell summary:focus-visible { outline: 2px solid #28795e; outline-offset: 2px; }
.v2-account-actions { display: inline-block; text-align: left; }
.v2-account-actions summary { cursor: pointer; padding: 8px; color: #176451; }
.v2-account-actions[open] button { display: block; margin: 3px 0; }
.v2-account-actions [data-operation=delete] { color: #a22d2d; }
@media(min-width:1150px) {
 .v2-shell #trend-content,
 .v2-shell .analysis-visual { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); column-gap: 18px; align-items: start; }
 .v2-shell #trend-content > .small, .v2-shell .analysis-visual > h2, .v2-shell .analysis-visual > .small { grid-column: 1 / -1; }
 .v2-shell #trend-content > .analysis-data-table { grid-column: 2; grid-row: 1; margin-top: 0; }
}
@media(max-width:575px) {
 .v2-tabs { gap: 2px 6px; }
 .v2-tabs button { padding-inline: 6px; }
 .v2-shell .workspace .pagehead > button { max-width: 100%; white-space: normal; }
}

/* Workspace navigation, data tables and detail controls. */
.v2-shell { --v2-navy:#182638; --v2-link:#2857a5; --v2-rule:#d9e2ee; }
.shell.v2-shell > .sidebar { background:var(--v2-navy); border-color:var(--v2-navy); }
.v2-shell .sidebar .brand small { color:#afc1db; }
.v2-shell .sidebar .nav button:hover,
.v2-shell .sidebar .nav button.active { background:#314c70; }
.v2-shell .workspace { background:#f4f7fb; }
.v2-shell .workspace .eyebrow { display:none; }
.v2-shell .workspace .pagehead h1 { letter-spacing:-.025em; }
.v2-shell .workspace .panel { border-color:var(--v2-rule); border-radius:10px; }
.v2-tabs button[aria-current=page] { border-color:var(--v2-link); color:var(--v2-link); }
.v2-shell .workspace .table-wrap th { background:#eef3fa; color:#3d536d; }
.v2-shell .workspace .table-wrap tbody tr:hover { background:#edf4fd; }
.v2-shell .workspace .table-wrap td { border-bottom-color:#e5ebf3; }
.v2-shell .analysis-chart-track { background:linear-gradient(to right,#edf2f7 calc(50% - 1px),#728298 calc(50% - 1px) 50%,#edf2f7 50%); }
.v2-shell .analysis-chart-bar { background:#3665ae; }
.v2-shell .analysis-chart-negative { background:#a75816; }
.v2-shell .performance-primary { grid-template-columns:minmax(0,1fr); }
.customer-detail-back { position:sticky; top:0; z-index:3; padding:8px 0; background:#f4f7fb; }
.customer-detail-back button,.customer-drawer-head button { min-height:44px; flex:none; }
.customer-detail-actions #customer-note { order:-1; }
.customer-drawer-head { position:sticky; top:0; z-index:2; background:white; padding-block:8px; flex-wrap:wrap; }
@media(max-width:575px) {
 .customer-detail-actions > button { width:auto; max-width:100%; }
}

/* Report layout: summary, trend with source values, then drill-down. */
.v2-shell .training-report-redesign { display:grid; grid-template-columns:minmax(0,1fr); gap:16px; }
.training-report-redesign > .panel { min-width:0; margin:0; }
.training-trend-layout { display:grid; grid-template-columns:minmax(0,1.65fr) minmax(245px,1fr); gap:20px; align-items:start; margin-top:14px; }
.training-days-table { min-width:0; }
.training-days-table .table-wrap { max-height:260px; overflow:auto; }
.training-days-table th { position:sticky; top:0; z-index:1; }
.training-days-table :is(td,th):nth-child(n+2) { text-align:right; font-variant-numeric:tabular-nums; }
.training-days-table button { min-height:36px; padding:4px 8px; }
.v2-shell .training-summary-grid .training-summary-card { text-align:left; background:#fff; border-color:var(--v2-rule); box-shadow:none; }
.v2-shell .training-summary-grid .training-summary-card:hover { border-color:#7196d0; background:#f3f7ff; }
.v2-shell .training-summary-grid .training-summary-card strong { color:var(--v2-navy); font-variant-numeric:tabular-nums; }
.v2-shell .training-roster .training-person-filters { border-bottom:1px solid var(--v2-rule); padding-bottom:12px; }
.v2-shell #training-show-all { margin-top:10px; }
.v2-shell .training-report-filter #training-query { min-height:44px; }
@media(max-width:950px) {
 .training-trend-layout { grid-template-columns:minmax(0,1fr); }
}

/* Shared workspace and operations layout */
.v2-shell {
 --v2-link:#315cad;
 --accent:#315cad;
 --ink:#17243a;
 --muted:#536783;
 --line:#dce4f0;
}
.shell.v2-shell > .workspace {
 box-sizing:border-box;
 width:100%;
 max-width:1600px;
 margin-inline:auto;
 background:none;
}
.shell.v2-shell { background:#f4f6fb; }
.v2-shell .workspace .pagehead {
 display:flex;
 justify-content:space-between;
 align-items:flex-end;
 gap:14px 20px;
 padding-bottom:18px;
 border-bottom:1px solid var(--line);
 margin-bottom:20px;
}
.v2-shell .pagehead .v2-page-title { flex:1 1 260px; min-width:0; }
.v2-shell .v2-page-title h1 { font-size:clamp(24px,3vw,36px); line-height:1.16; margin-bottom:6px; }
.v2-page-actions { display:flex; flex-wrap:wrap; gap:8px; align-items:center; }
.v2-shell .workspace .v2-page-actions button { min-height:42px; }
.v2-shell .workspace .v2-tabs { margin:6px 0 18px; gap:8px; border:0; }
.v2-shell .workspace .v2-tabs button {
 border:1px solid transparent; border-radius:7px; padding-inline:13px;
}
.v2-shell .workspace .v2-tabs button[aria-current=page] { background:#e5edff; border-color:#cddcff; color:#234b95; }
.v2-shell .workspace .table-wrap { background:#fff; }
.v2-shell .workspace :is(td.num,.metric,.analysis-chart-row,.training-person-score) { font-variant-numeric:tabular-nums; }
.v2-shell .workspace :is(.actions,.panel-head) { gap:10px; }
.v2-shell .workspace .actions :is(input,select,button) { max-width:100%; }
.v2-shell .workspace :is(.grid2,.cards)>* { min-width:0; }
@media(min-width:992px) {
 .shell.v2-shell { display:block; }
 .shell.v2-shell > .sidebar {
  position:sticky; top:0; z-index:20; display:flex;
  flex-direction:row; align-items:center; width:100%; height:auto;
  gap:24px; padding:10px clamp(20px,4vw,54px);
  overflow:visible;
 }
 .v2-shell .sidebar .brand { min-width:135px; margin:0; font-size:21px; }
 .v2-shell .sidebar .nav { display:flex; flex-direction:row; flex-wrap:wrap; gap:4px; margin:0; }
 .v2-shell .sidebar .nav button { width:auto; margin:0; white-space:nowrap; }
 .shell.v2-shell > .workspace { padding-inline:clamp(24px,5vw,72px); }
 .v2-shell .customer-detail-back { top:67px; }
}
@media(max-width:575px) {
 .v2-shell .workspace .pagehead { align-items:flex-start; }
 .v2-shell .workspace .v2-tabs { overflow-x:auto; flex-wrap:nowrap; padding-bottom:5px; }
 .v2-shell .workspace .v2-tabs button { flex:none; }
}
.v2-shell .performance-filters {
 background:#fff; border:1px solid var(--line); border-radius:10px;
 padding:12px 14px; gap:12px; align-items:end;
}
.v2-shell .performance-filters label:has(#v-month) {display:flex;flex-direction:column;align-items:flex-start;gap:4px}
.v2-shell .performance-filters .ui-month-picker {margin:0}
.v2-shell .performance-scope {color:var(--muted); font-size:13px;}
.v2-shell .performance-kpis {gap:0; border:1px solid var(--line); border-radius:10px; background:white; overflow:hidden;}
.v2-shell .workspace .performance-kpis.cards > .card:nth-child(n) {border:0; border-radius:0; box-shadow:none; margin:0;}
.v2-shell .workspace .performance-kpis.cards > .card:nth-child(3) {background:#eff4ff;}
.v2-shell .workspace .performance-kpis.cards > .card:nth-child(3) .metric {color:#234b95;}
.v2-shell .source-remark {white-space:nowrap; max-width:190px; overflow:hidden; text-overflow:ellipsis;}
@media (min-width:992px) {
 .v2-shell .performance-filters #v-rows {margin-left:auto;}
}

.v2-shell .workspace .performance-overview { padding:0; overflow:hidden; }
.v2-shell .performance-overview .performance-filters {
 margin:0; border:0; border-bottom:1px solid var(--line);
 border-radius:0; padding:14px 18px;
}
.v2-shell .performance-overview .performance-scope { padding:0 18px; margin:12px 0 0; }
.v2-shell .performance-overview .performance-kpis {
 border:0; border-radius:0; margin:0; padding:8px 0 12px;
}
.v2-shell .workspace .performance-overview .performance-kpis.cards > .card:nth-child(n) {
 background:white; border:0; border-right:1px solid var(--line);
}
.v2-shell .workspace .performance-overview .performance-kpis.cards > .card:last-child { border-right:0; }
.v2-shell .workspace .performance-overview .performance-kpis.cards > .card:nth-child(n) .metric { color:var(--ink); }
.v2-shell .workspace .performance-overview .performance-kpis.cards > .card:first-child .metric { color:#234b95; font-size:clamp(26px,3vw,38px); }
.v2-shell .performance-overview .performance-basis {
 background:#f6f8fc; border:0; border-top:1px solid var(--line);
 border-radius:0; padding:10px 18px; margin:0; font-size:13px;
}
@media(max-width:720px){
 .v2-shell .performance-overview .performance-kpis { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); }
 .v2-shell .workspace .performance-overview .performance-kpis.cards > .card:nth-child(2n) { border-right:0; }
}

.v2-shell #trend-content > .performance-trend-graphic { min-width:0; }
.v2-shell .performance-trend-graphic .vbar { margin-bottom:12px; }
.v2-shell .performance-trend-graphic .vbar .split strong {
 position:absolute; width:1px; height:1px; padding:0; overflow:hidden;
 clip-path:inset(50%); white-space:nowrap;
}

/* Data workspace theme */
.v2-shell {
 --accent:#164eb4;
 --v2-link:#164eb4;
 --v2-rule:#d8e2f3;
 --line:#d8e2f3;
}
.shell.v2-shell { background:radial-gradient(ellipse at 90% 0,#e6eeff 0,transparent 44%),#f3f6fc; }
.shell.v2-shell > .sidebar {
 background:linear-gradient(108deg,#10192e,#172b53 68%,#143050);
 border-color:#253e67;
}
.v2-shell .sidebar .nav button.active {
 background:#24477a; box-shadow:inset 0 -2px #7de8ff;
}
.v2-shell .workspace .home-view > .pagehead {
 padding:clamp(20px,4vw,42px);
 border:1px solid #2d4978;
 border-radius:16px;
 color:#f2f7ff;
 background:
  radial-gradient(ellipse at 86% 4%,#214988 0,transparent 63%),
  repeating-linear-gradient(90deg,transparent 0 32px,#8ec8ff16 32px 33px),
  repeating-linear-gradient(0deg,transparent 0 32px,#8ec8ff16 32px 33px),
  #132341;
}
.v2-shell .workspace .home-view > .pagehead h1 { color:#fff; margin:0 0 8px; font-size:clamp(26px,4vw,40px); }
.v2-shell .workspace .home-view > .pagehead p,
.v2-shell .home-view .home-year { color:#c5d8f5; }
.v2-shell .home-view .home-year select { background:#182d52; color:#fff; border-color:#6886af; }
.v2-shell .home-view .home-kpis .metric { color:#193a78; font-variant-numeric:tabular-nums; }
.v2-shell .home-view .home-kpis > .card { box-shadow:0 2px 10px #214d8910; }
.v2-shell .home-view .home-kpis > .card:first-child { border-top:2px solid #396bd0; }
.v2-shell .workspace .v2-tabs button[aria-current=page] { background:#e4edff; border-color:#bfcff2; }
.v2-shell .workspace .table-wrap th { background:#ebf1fc; color:#344d75; }
.v2-shell .workspace .table-wrap tbody tr:hover { background:#f0f5ff; }
.v2-shell .workspace :is(button,summary,input,select,a):focus-visible { outline:2px solid #336ad0; outline-offset:2px; }
.v2-shell .workspace button:not(.ghost):not(.secondary):not(.card-action):not([aria-current]):not([role=tab]) {
 box-shadow:0 2px 5px #1a438522;
}
@media(max-width:575px) {
 .v2-shell .workspace .home-view > .pagehead { padding:19px; border-radius:12px; }
 .v2-shell .workspace .home-view > .pagehead .v2-page-title { flex-basis:100%; }
}

.v2-shell .home-feature {
 display:grid; grid-template-columns:minmax(0,1fr) minmax(235px,28%);
 gap:18px; align-items:start; margin:0 0 18px;
}
.v2-shell .home-feature-figures {
 min-width:0; padding:18px; border-radius:14px;
 background:#132341; color:#eaf1ff;
}
.v2-shell .home-feature-figures .home-kpis { margin:0 0 16px; }
.v2-shell .home-feature-figures .home-primary {
 grid-template-columns:minmax(0,1.45fr) minmax(0,1fr); gap:12px;
}
.v2-shell .home-feature-figures .home-panel { margin:0; }
.v2-shell .home-feature-work {
 background:white; border:1px solid var(--line); border-radius:14px; padding:16px;
}
.v2-shell .home-feature-work h2 { margin:0 0 12px; font-size:17px; }
.v2-shell .home-feature-work .home-action-strip { grid-template-columns:1fr; margin:0 0 12px; }
.v2-shell .home-feature-work .home-history-queue { margin-bottom:0; }
.v2-shell .workspace .account-table-tools {
 display:grid; grid-template-columns:minmax(180px,1.6fr) repeat(3,minmax(110px,1fr)); align-items:center;
}
.v2-shell .workspace .account-table-tools > * { width:100%; min-width:0; }
.v2-shell .workspace #management-body .table-wrap { max-height:min(60vh,620px); }
.v2-shell .workspace #management-body .table-wrap th { position:sticky; top:0; z-index:1; }
@media(max-width:1150px){
 .v2-shell .home-feature { grid-template-columns:1fr; }
 .v2-shell .home-feature-work .home-action-strip { grid-template-columns:repeat(3,minmax(0,1fr)); }
}
@media(max-width:720px){
 .v2-shell .home-feature-figures .home-primary,
 .v2-shell .home-feature-work .home-action-strip { grid-template-columns:1fr; }
 .v2-shell .workspace .account-table-tools { grid-template-columns:repeat(2,minmax(0,1fr)); }
}
.v2-shell .workspace .trend-month {
 width:100%; display:grid; grid-template-columns:78px minmax(0,1fr);
 align-items:center; gap:12px; text-align:left; margin-bottom:5px;
}
.trend-month meter { width:100%; height:12px; }
.trend-month meter::-webkit-meter-optimum-value { background:#3665ae; }
.trend-month.is-negative meter::-webkit-meter-optimum-value { background:#a75816; }
[data-trend-label] { cursor:pointer; }
.v2-shell .trend-row-selected td { background:#e4edff; }

#analysis-month-fields {display:flex;align-items:end;gap:8px;flex-wrap:wrap}
#analysis-month-fields label {display:grid;gap:4px;color:var(--muted)}
#analysis-month-fields select {width:100%;min-width:84px}
#analysis-month-fields button {min-height:42px}
@media(max-width:575px){
 #analysis-month-fields {display:grid;grid-template-columns:repeat(2,minmax(0,1fr));width:100%}
 #analysis-month-fields label {grid-row:1;min-width:0}
 #analysis-month-fields button {grid-row:2}
}

/* Period comparisons keep the source values in a full-width table. */
.v2-shell .workspace .analysis-visual { display:block; }
.v2-shell .analysis-visual .analysis-chart { max-width:720px; }
.v2-shell .analysis-visual .analysis-chart-row {
 grid-template-columns: minmax(62px,max-content) minmax(0,1fr);
}
.analysis-signed-track { display:block; width:100%; height:14px; border-radius:4px; }
.analysis-track-bg { fill:#e9eff7; }
.analysis-bar-positive { fill:#3665ae; }
.analysis-bar-negative { fill:#a75816; }
.analysis-zero-line { stroke:#718198; stroke-width:1; vector-effect:non-scaling-stroke; }
.v2-shell .analysis-visual table { min-width:640px; }
.v2-shell .analysis-visual table :is(th,td) { white-space:nowrap; }
.v2-shell .analysis-visual table td:nth-child(2) { text-align:left; }
.v2-shell .analysis-visual table th:nth-child(n+3) { text-align:right; }
.v2-shell .analysis-visual table tbody th { background:#f7f9fd; }
.v2-shell .analysis-visual > .small:last-child { margin-top:10px; }

/* Give nested reports and management tables their own overflow boundary. */
.v2-shell .workspace :is(.ui-table-scroll,.training-roster,.training-days-table,.analysis-data-table) { min-width:0; max-width:100%; }
.v2-shell .workspace .table-wrap { max-width:100%; }
.v2-shell .workspace .pagehead .v2-page-actions { min-width:0; max-width:100%; }
.v2-shell .workspace .pagehead .v2-page-actions > * { max-width:100%; }
@media(max-width:900px) {
 .v2-shell .workspace :is(.performance-contributions,.analysis-period-body > .grid2,#analysis-range-result > .grid2) { grid-template-columns:minmax(0,1fr); }
}
@media(max-width:575px) {
 .v2-shell .workspace .training-person-filters > label { min-width:0; }
 .v2-shell .workspace .training-person-filters :is(input,select) { width:100%; min-width:0; }
}

/* Consistent focus and overflow for dense operations pages. */
.v2-shell .workspace .table-wrap:focus-visible { outline:2px solid #315cad; outline-offset:2px; }
.v2-shell .workspace .table-wrap :is(th,td) { overflow-wrap:normal; }
.v2-shell .workspace .table-wrap td :is(button,summary) { white-space:nowrap; }
.v2-shell .workspace .table-wrap td:is(.num,.ui-number) { white-space:nowrap; text-align:right; }
.v2-shell .workspace .trial-filters {
 display:grid; grid-template-columns:minmax(160px,1.5fr) repeat(3,minmax(110px,1fr)); align-items:end;
}
.v2-shell .workspace .trial-filters > * { width:100%; min-width:0; }
.v2-shell .workspace .work-queue-row > button { flex-shrink:0; }
@media(max-width:820px) {
 .v2-shell .workspace .trial-filters { grid-template-columns:repeat(2,minmax(0,1fr)); }
}
@media(max-width:480px) {
 .v2-shell .workspace .trial-filters { grid-template-columns:1fr; }
 .v2-shell .workspace .trial-filters :is(input,select) { min-height:44px; }
 .v2-shell .workspace .management-tabs { gap:14px; }
}

.v2-shell .learning-landing .learning-main { grid-template-columns:repeat(3,minmax(0,1fr)); margin-bottom:20px; }
.v2-shell .learning-landing .learning-menu-card {
 min-width:0; min-height:106px; padding:16px;
 border-color:var(--line); gap:6px 12px; text-align:left;
}
.v2-shell .learning-landing .learning-menu-card b { color:var(--accent); font-size:18px; }
.v2-shell .learning-landing .learning-menu-card:hover { background:#edf3ff; border-color:#b4c8ee; }
.v2-shell .learning-management h2 { margin:0 0 12px; font-size:17px; }
@media(max-width:768px){
 .v2-shell .learning-landing .learning-main { grid-template-columns:minmax(0,1fr); }
 .v2-shell .learning-landing .learning-menu-card { min-height:76px; }
}

/* Use the same spacing and control hierarchy across work areas. */
.v2-shell {
 --workspace-space:clamp(14px,2vw,24px);
 --workspace-panel:#fff;
 --workspace-subtle:#f7f9fd;
}
.v2-shell .workspace #content { min-width:0; }
.v2-shell .workspace .pagehead { margin:16px 0 18px; padding-bottom:14px; }
.v2-shell .workspace .pagehead .muted { margin:5px 0 0; line-height:1.55; }
.v2-shell .workspace :is(.panel,.home-feature-work) { border-color:var(--v2-rule); }
.v2-shell .workspace .panel:not(.performance-overview) { padding:var(--workspace-space); }
.v2-shell .workspace .panel-head { align-items:center; flex-wrap:wrap; }
.v2-shell .workspace .panel-head > * { min-width:0; max-width:100%; }
.v2-shell .workspace .panel-head h2 { font-size:16px; line-height:1.45; }
.v2-shell .workspace .actions button { flex-shrink:0; }
.v2-shell .workspace .v2-page-actions > button:not(.secondary):not(.ghost):not(.danger) {
 background:var(--accent); color:white;
}
.v2-shell .workspace button.secondary:not(:disabled):hover { border-color:#a8bee9; background:#f0f5ff; }
.v2-shell .workspace button:disabled { opacity:.58; box-shadow:none; }
.v2-shell .workspace .table-wrap tbody tr:not(:hover):nth-child(even) { background:var(--workspace-subtle); }
.v2-shell .workspace .table-wrap td { line-height:1.5; }
.v2-shell .workspace .v2-tabs button { flex-shrink:0; white-space:nowrap; }
@media(max-width:575px) {
 .v2-shell .workspace .pagehead { margin-top:12px; }
 .v2-shell .workspace .v2-page-title { flex-basis:100%; }
 .v2-shell .workspace .v2-page-actions { width:100%; }
 .v2-shell .workspace .v2-page-actions button { min-height:44px; }
 .v2-shell .workspace .table-wrap :is(th,td) { padding-inline:10px; }
}

@media(max-width:575px) {
 .v2-shell .workspace #ranking-list table { width:100%; min-width:0; }
 .v2-shell .workspace #ranking-list .mobile-table-hint { display:none; }
 .v2-shell .workspace #ranking-list .ranking-net { padding-inline:0; }
 .v2-shell .workspace #ranking-list .ranking-row td:last-child { grid-column:1 / -1; }
 .v2-shell .workspace #ranking-list button,
 .v2-shell .workspace .exam-body .close-exam,
 .v2-shell .workspace #business-list button { min-height:44px; }
 .v2-shell .workspace .exam-accordion > summary { gap:8px; flex-wrap:wrap; }
 .v2-shell .workspace .exam-participants .list-card { flex-wrap:wrap; }
 .v2-shell .workspace #business-search { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:8px; }
 .v2-shell .workspace #business-search label { grid-column:1 / -1; min-width:0; }
 .v2-shell .workspace #business-search button { width:100%; min-height:44px; }
 #v-dialog:has(#business-edit) .form-grid { grid-template-columns:minmax(0,1fr); }
 #v-dialog #business-edit :is(input,select,textarea) { font-size:16px; min-width:0; }
}
