/* Shared eBiznes panel palette. Loaded after the existing feature styles. */
html[data-theme] body{
 font-family:-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,"Helvetica Neue",Ubuntu,sans-serif;
 font-size:14px;line-height:1.5;-webkit-font-smoothing:antialiased;
}
html[data-theme] :is(button,input,select,textarea){font-family:inherit}
:root,html[data-theme]{
 --primary:#584ce6;--primary-soft:#f0efff;--ink:#1a2b4c;--muted:#596780;
 --border:#e3e8ef;--canvas:#fff;--white:#fff;--surface:#fff;--soft:#f6f8fa;
 --nav-bg:#fff;--nav-text:#354666;--nav-hover:#f6f8fa;--nav-active:#f0efff;--nav-accent:#584ce6;--nav-border:#e3e8ef;
 --header:#fff;--header-ink:#1a2b4c;--focus:#635bff;
 --notice:#f6f8fa;--notice-ink:#354666;--field-bg:#f6f8fa;--field-border:#8591a5;
 --selection-bg:#635bff;--selection-ink:#fff;
 --action-bg:#635bff;--action-hover:#5145db;--action-ink:#fff;
 --shadow:0 1px 3px rgb(26 43 76 / 4%);
 --surface-violet:#f5f3ff;--surface-blue:#f6f8fb;--surface-mint:#f3f8f7;--surface-sand:#faf8f3;
 --accent-border:#e3defb;--button-shadow:0 1px 2px rgb(26 43 76 / 10%);
}
html[data-theme=dark]{
 --primary:#bcb4ff;--primary-soft:#302c47;--ink:#f0f2f7;--muted:#b5bdca;
 --border:#4f5868;--canvas:#171b23;--white:#222731;--surface:#222731;--soft:#2a303c;
 --nav-bg:#222731;--nav-text:#d4d9e4;--nav-hover:#35304c;--nav-active:#35304c;--nav-accent:#bcb4ff;--nav-border:#4f5868;
 --header:#222731;--header-ink:#f0f2f7;--focus:#d7d0ff;
 --notice:#302c47;--notice-ink:#e1dcff;--field-bg:#1b202a;--field-border:#a7b0bf;
 --selection-bg:#d7d0ff;--selection-ink:#202532;
 --surface-violet:#302b45;--surface-blue:#253344;--surface-mint:#233b36;--surface-sand:#3d3528;
 --accent-border:#655b88;--button-shadow:none;
}
html[data-theme][data-contrast=true]{
 --muted:var(--ink);--border:var(--ink);--field-border:var(--ink);--shadow:none;
 --surface-violet:var(--surface);--surface-blue:var(--surface);--surface-mint:var(--surface);--surface-sand:var(--surface);
 --accent-border:var(--ink);--button-shadow:none;
}
html[data-theme] body:has(.workspace-header){background:var(--canvas)}
html[data-theme]:has(.workspace-header){scroll-padding-top:calc(var(--workspace-header-height,64px) + 12px)}
html[data-theme] #main{scroll-margin-top:calc(var(--workspace-header-height,64px) + 12px)}
html[data-theme] .app-shell{
 margin:0;min-height:calc(100dvh - var(--workspace-header-height,64px));
 border-radius:0;background:var(--canvas);
}
html[data-theme] .app-shell .main-shell{border-radius:0;background:var(--canvas)}
html[data-theme] .app-shell .sidebar{
 background:var(--nav-bg);color:var(--nav-text);border-radius:0;
 border-right:1px solid var(--border);padding:12px 12px 16px;
}
html[data-theme] .side-caption{margin:12px 6px 7px;padding:0 6px;color:var(--muted);letter-spacing:.04em}
html[data-theme] .sidebar .nav-link{
 color:var(--nav-text);border-radius:7px;box-shadow:none;
}
html[data-theme] .sidebar .nav-link:hover{background:var(--soft);color:var(--ink)}
html[data-theme] .sidebar .nav-link.active{
 background:var(--primary-soft);color:var(--primary);font-weight:700;box-shadow:none;
}
html[data-theme] .sidebar .context-help-nav-wrap{border-radius:7px}
html[data-theme] .sidebar .context-help-nav-wrap:has(.nav-link.active){background:var(--primary-soft)}
html[data-theme] .sidebar-close{color:var(--ink);background:var(--surface);border-color:var(--border)}
html[data-theme] .side-foot{color:var(--muted);font-size:11px;gap:8px;flex-wrap:wrap}

html[data-theme] .topbar.workspace-header{
 min-height:56px;height:auto;padding:5px 20px;gap:12px;
 border:0;border-bottom:1px solid var(--border);border-radius:0;
 background:var(--header);color:var(--header-ink);box-shadow:none;position:sticky;top:0;z-index:10;
}
html[data-theme] .workspace-header .top-left{min-width:0;max-width:100%;gap:14px;flex:0 0 auto}
html[data-theme] .workspace-header .top-right{
 min-width:0;gap:8px;flex:1 1 0%;flex-wrap:wrap;align-items:center;
}
html[data-theme] .workspace-header a.header-brand{
 display:flex;gap:10px;color:var(--header-ink);text-decoration:none;
 flex-shrink:0;min-width:0;line-height:1.25;
}
html[data-theme] .workspace-header .header-brand img{
 display:block;width:140px;min-width:0;height:auto;max-width:100%;object-fit:contain;
}
html[data-theme] img.brand-original{height:auto;object-fit:contain}
html[data-theme=dark] img.brand-original{background:#fff;border-radius:3px;box-shadow:0 0 0 5px #fff}
html[data-theme] .auth-main img.brand-original{display:block;width:210px;max-width:100%;height:auto}
html[data-theme] .workspace-header .header-brand>span{font-size:12px;font-weight:600;color:var(--muted)}
html[data-theme] .workspace-header a.mobile-brand-home{display:none}
html[data-theme] .workspace-header .breadcrumb{font-size:12px;line-height:1.4;min-width:0}
html[data-theme] .workspace-header .breadcrumb :is(span,strong){color:var(--muted)}
html[data-theme] .workspace-header .breadcrumb{color:var(--muted)}
html[data-theme] .workspace-header .breadcrumb span{margin:0 7px}
html[data-theme] .workspace-header :is(.btn,.mobile-menu,#sidebar-toggle,.display-menu summary){
 min-height:34px;background:var(--surface);color:var(--ink);border:1px solid var(--border);
 border-radius:6px;padding:6px 10px;box-shadow:none;font-size:13px;line-height:1.4;
}
html[data-theme] .workspace-header :is(.btn,.mobile-menu,#sidebar-toggle,.display-menu summary):hover{
 background:var(--soft);color:var(--ink);
}
html[data-theme] .workspace-header :is(.mobile-menu,#sidebar-toggle){
 min-width:34px;flex-shrink:0;align-items:center;justify-content:center;padding:7px;
}
html[data-theme] .workspace-header .environment{
 display:none;
}
html[data-theme] .workspace-mode-host{min-width:0;max-width:100%}
html[data-theme] .workspace-switch{background:var(--soft);border-color:var(--border);border-radius:8px}
html[data-theme] .workspace-switch button{min-height:32px;color:var(--muted);border-radius:5px}
html[data-theme] .workspace-switch button[aria-pressed=true]{background:var(--surface);color:var(--primary);box-shadow:0 1px 3px rgb(26 43 76 / 10%)}
html[data-theme] .display-menu summary{background:var(--surface);color:var(--ink);border-color:var(--border)}
html[data-theme] .display-popover{border-radius:10px;box-shadow:0 8px 30px rgb(32 37 50 / 14%)}
html[data-theme] .display-popover :is(select,button){min-height:44px}
/* Clear page hierarchy, with color reserved for summaries and the next step. */
html[data-theme] .main{width:100%;max-width:none;margin:0;padding:28px 40px 80px}
html[data-theme] .page-head{margin-bottom:24px;row-gap:16px}
html[data-theme] .page-head h1{font-size:28px;font-weight:650;letter-spacing:-.6px;line-height:1.3}
html[data-theme] .page-head p{max-width:760px;line-height:1.65}
html[data-theme] .eyebrow{font-size:11px;letter-spacing:.04em;margin-bottom:10px}
html[data-theme] :is(.card,.stat-card,.settings-panel,.table-card,.modal){border-radius:8px;box-shadow:var(--shadow)}
html[data-theme] .card-head h2{font-size:17px;letter-spacing:-.3px;line-height:1.4}
html[data-theme] .card-head{margin-bottom:22px}
html[data-theme] .card-head p{line-height:1.6}
html[data-theme] .btn{
 min-height:34px;padding:6px 12px;border-radius:6px;font-weight:550;line-height:1.45;
 box-shadow:0 1px 2px rgb(32 37 50 / 3%);transition:box-shadow .15s;
}
html[data-theme] .btn:hover{transform:none;background:var(--soft);border-color:var(--field-border)}
html[data-theme] .btn:focus-visible{outline:3px solid var(--focus);outline-offset:3px}
html[data-theme] .btn.sm{min-height:30px;padding:4px 10px;border-radius:6px}
html[data-theme] .btn:disabled{box-shadow:none;transform:none}
html[data-theme] .btn.primary:disabled:hover{background:var(--action-bg);border-color:var(--action-bg)}
html[data-theme] .project-selector{row-gap:10px}
html[data-theme] .project-selector select{min-height:44px;border-radius:6px;border-color:var(--field-border)}
html[data-theme] .report-filter-row{padding:16px 18px;border:1px solid var(--border);border-radius:14px;background:var(--surface);gap:16px}
html[data-theme] .stats{gap:16px;margin-bottom:24px}
html[data-theme] .stat-card{padding:22px;min-height:158px}
html[data-theme] .stats>.stat-card:nth-child(4n+1){background:var(--surface-violet);border-color:var(--accent-border)}
html[data-theme] .stats>.stat-card:nth-child(4n+2){background:var(--surface-blue)}
html[data-theme] .stats>.stat-card:nth-child(4n+3){background:var(--surface-mint)}
html[data-theme] .stats>.stat-card:nth-child(4n+4){background:var(--surface-sand)}
html[data-theme] .stat-number{font-size:34px;letter-spacing:-1.2px;line-height:1.2;margin:18px 0 7px}
html[data-theme] .stat-label{font-weight:650;color:var(--ink)}
html[data-theme] .stat-desc{font-size:12px;line-height:1.55}
html[data-theme] .stat-icon{width:36px;height:36px;border-radius:11px;background:var(--surface);color:var(--primary)}
html[data-theme] :is(.dashboard-grid,.lower-grid){gap:22px;margin-bottom:22px}
html[data-theme] .small-tag{border:1px solid var(--accent-border);border-radius:20px;background:var(--primary-soft);color:var(--primary)}
html[data-theme] .table th{text-transform:none;letter-spacing:0;font-weight:650}

/* Live application reports share the same hierarchy as the project overview. */
html[data-theme] #application-overview>h2{font-size:22px;letter-spacing:-.5px;margin:0 0 10px}
html[data-theme] #application-overview>p{max-width:980px;line-height:1.7;color:var(--muted)}
html[data-theme] #application-overview>.measurement-progress-counts:first-of-type{grid-template-columns:repeat(5,minmax(0,1fr));gap:12px;margin:24px 0}
html[data-theme] #application-overview>.measurement-progress-counts:first-of-type>div{background:var(--surface-blue)}
html[data-theme] #application-overview>.measurement-progress-counts:first-of-type>div:first-child{background:var(--surface-violet);border-color:var(--accent-border)}
html[data-theme] #application-overview>.measurement-progress-counts:nth-of-type(2){grid-template-columns:repeat(2,minmax(0,1fr));gap:16px}
html[data-theme] #application-overview>.measurement-progress-counts:nth-of-type(2)>div:first-child{background:var(--surface-mint)}
html[data-theme] #application-overview>.measurement-progress-counts:nth-of-type(2)>div:last-child{background:var(--surface-sand)}
html[data-theme] #application-overview>.measurement-progress-counts>div{padding:18px;border-radius:13px;min-width:0}
html[data-theme] #application-overview>.measurement-progress-counts dt{color:var(--ink);font-weight:600;font-size:12px;line-height:1.55}
html[data-theme] #application-overview>.measurement-progress-counts dd{font-size:29px;line-height:1.25;letter-spacing:-.7px;overflow-wrap:anywhere}
html[data-theme] #application-overview>.measurement-progress-counts:nth-of-type(2) dd{font-size:26px}
html[data-theme] .application-observations .visibility-insights-provenance{background:var(--surface-blue);border-radius:14px;padding:18px 20px}
html[data-theme] .application-observations details{background:var(--surface);border-radius:12px;padding:14px 16px}
html[data-theme] .application-observations details>summary{color:var(--ink);font-size:14px;line-height:1.5;min-height:36px;padding:5px 0}
html[data-theme] .application-observations .application-observation-actions{display:flex;align-items:center;flex-wrap:wrap;gap:12px;margin-top:24px;padding-top:20px;border-top:1px solid var(--border)}
html[data-theme] .application-observations .application-observation-actions>.btn{display:inline-flex;margin:0;width:auto}
html[data-theme] .application-observations .application-observation-actions>.btn:first-child{background:var(--action-bg);border-color:var(--action-bg);color:var(--action-ink);box-shadow:var(--button-shadow)}
html[data-theme] .application-observations .application-observation-actions>.btn:first-child:hover{background:var(--action-hover)}
html[data-theme] .application-observations .measurement-progress{background:var(--soft)}
html[data-theme] .measurement-progress-counts>div[data-status=completed],html[data-theme] .observation-status.completed{background:var(--surface-mint)}
html[data-theme] .measurement-progress-counts>div[data-status=failed],html[data-theme] .observation-status.failed{background:var(--surface-sand)}
html[data-theme] .measurement-progress-counts>div[data-status=pending],html[data-theme] .observation-status.pending{background:var(--surface-blue)}
html[data-theme] .application-observations :is(button,.measurement-results-link){border-radius:10px}
html[data-theme] .application-observations :focus-visible{outline-color:var(--focus)}
@media(max-width:1100px){html[data-theme] #application-overview>.measurement-progress-counts:first-of-type{grid-template-columns:repeat(3,minmax(0,1fr))}}
@media(max-width:600px){html[data-theme] #application-overview>.measurement-progress-counts:first-of-type{grid-template-columns:repeat(2,minmax(0,1fr))}html[data-theme] #application-overview>.measurement-progress-counts:nth-of-type(2){grid-template-columns:1fr}html[data-theme] #application-overview>.measurement-progress-counts>div{padding:15px}html[data-theme] .application-observations .application-observation-actions>.btn{width:100%}}

/* Home: one prominent next step, followed by a compact project collection. */
html[data-theme] .home-guide{position:relative;overflow:hidden;margin-bottom:30px;padding:28px 30px;background:linear-gradient(110deg,var(--surface-violet),var(--surface));border-color:var(--accent-border)}
html[data-theme] .home-guide .section-kicker{display:block;color:var(--primary);font-size:12px;font-weight:700;margin-bottom:10px}
html[data-theme] .home-guide h2{font-size:24px;letter-spacing:-.6px;margin:0 0 12px;line-height:1.3}
html[data-theme] .home-guide p{max-width:860px;margin:0 0 22px;color:var(--muted);line-height:1.7}
html[data-theme] .home-guide .action-bar{gap:12px}
html[data-theme] .home-projects>h2{font-size:21px;letter-spacing:-.4px;margin:0 0 18px}
html[data-theme] .home-project-grid{gap:20px}
html[data-theme] .home-project{display:flex;flex-direction:column;align-items:flex-start;padding:24px;min-width:0;border-top:3px solid var(--accent-border);background:linear-gradient(155deg,var(--surface-violet),var(--surface) 60%)}
html[data-theme] .home-project:nth-child(3n+2){background:linear-gradient(155deg,var(--surface-blue),var(--surface) 60%)}
html[data-theme] .home-project:nth-child(3n+3){background:linear-gradient(155deg,var(--surface-mint),var(--surface) 60%)}
html[data-theme] .home-project .home-project-icon{display:grid;place-items:center;width:42px;height:42px;border:1px solid var(--border);border-radius:13px;background:var(--surface);color:var(--primary);margin-bottom:18px;flex-shrink:0}
html[data-theme] .home-project h3{font-size:17px;line-height:1.45;letter-spacing:-.3px;margin:0 0 10px;overflow-wrap:anywhere}
html[data-theme] .home-project p{color:var(--muted);font-size:13px;margin:0 0 22px;overflow-wrap:anywhere}
html[data-theme] .home-project>.btn{margin-top:auto;max-width:100%;text-align:left}
html[data-theme] .setup-hero{background:linear-gradient(110deg,var(--surface-violet),var(--surface));border-color:var(--accent-border);box-shadow:var(--shadow)}
html[data-theme] .setup-counts>div{background:var(--surface);border-color:var(--accent-border)}
html[data-theme] .wizard-site-preview{background:var(--surface-blue);border-color:var(--border)}
html[data-theme] .wizard-site-preview dl{margin:16px 0;line-height:1.6}
html[data-theme] .wizard-site-preview dl>div{display:grid;grid-template-columns:minmax(100px,.3fr) minmax(0,1fr);gap:8px 16px;margin:8px 0}
html[data-theme] .wizard-site-preview :is(dt,dd){margin:0;min-width:0;overflow-wrap:anywhere}
html[data-theme] .wizard-site-preview dt{color:var(--muted);font-size:12px}
html[data-theme] .wizard-site-preview dd{color:var(--ink);font-size:13px}
html[data-theme][data-contrast=true] :is(.home-guide,.home-project,.setup-hero){background:var(--surface)}

/* Action colors stay readable in both themes; status colors remain unchanged. */
html[data-theme] .btn.primary,
html[data-theme] .commerce-tab[aria-selected=true],
html[data-theme] .commerce-cycle [aria-pressed=true]{
 background:var(--action-bg);border-color:var(--action-bg);color:var(--action-ink);
 box-shadow:var(--button-shadow);
}
html[data-theme] .btn.primary:hover{background:var(--action-hover);border-color:var(--action-hover)}
html[data-theme] .auth-main button:not(.display-popover button){background:var(--action-bg);color:var(--action-ink)}
html[data-theme] :is(input[type=checkbox],input[type=radio]),
html[data-theme] .product-catalog :is(input[type=checkbox],button){accent-color:var(--action-bg)}
html[data-theme] .product-catalog input[type=file]::file-selector-button{
 background:var(--action-bg);color:var(--action-ink);min-height:44px;
}
html[data-theme] .form-control:focus{border-color:var(--focus);box-shadow:0 0 0 3px var(--primary-soft)}
html[data-theme] .context-help-trigger:hover{background:var(--primary-soft);color:var(--primary);border-color:var(--focus)}
html[data-theme] .wizard-steps>div.active{border-color:var(--primary);color:var(--primary)}
html[data-theme] .wizard-choice.active{border-color:var(--primary);background:var(--primary-soft)}
html[data-theme] .wizard-logo span{background:var(--action-bg);color:var(--action-ink)}
html[data-theme] .wizard-info{color:var(--primary);background:var(--primary-soft);border-color:var(--border)}
html[data-theme] .wizard-field :is(input,textarea):focus,
html[data-theme] :is(.wizard-toolbar input,.wizard-topic>input,.wizard-prompt textarea):focus{
 border-color:var(--focus);outline-color:var(--focus);
}
html[data-theme] .bar-fill.secondary{background:#9690c9}
html[data-theme] .bar-fill.muted{background:#b4bacb}
html[data-theme] #main svg [stroke="#3a35f4" i]{stroke:var(--primary)}
html[data-theme] #main svg [fill="#3a35f4" i]{fill:var(--primary)}
html[data-theme] #main svg stop[stop-color="#3a35f4" i]{stop-color:var(--primary)}

html[data-theme] #adam-widget{
 --adam-bg:var(--surface);--adam-soft:var(--soft);--adam-text:var(--ink);
 --adam-muted:var(--muted);--adam-line:var(--border);--adam-tint:var(--primary-soft);--adam-accent:var(--primary);
}
html[data-theme] #adam-widget .adam-head{background:var(--surface);color:var(--ink)}
html[data-theme] #adam-widget .adam-head :is(h2,p,button){color:var(--ink)}
html[data-theme] #adam-widget .adam-head :is(.adam-close,.adam-header-action){min-width:44px;min-height:44px;flex-basis:44px}
html[data-theme] :is(.adam-launcher,#adam-widget #adam-send:not(:disabled)){
 background:var(--action-bg);color:var(--action-ink);border-color:var(--action-bg);box-shadow:none;
}
html[data-theme] #adam-widget #adam-send:not(:disabled):hover{background:var(--action-hover)}
html[data-theme] #adam-widget #adam-send{min-width:44px;min-height:44px}
html[data-theme] #adam-widget .adam-form textarea{padding-right:64px}
html[data-theme] .adam-launcher>span:first-child{color:var(--action-ink)}

@media(min-width:1101px){
 html[data-theme] .workspace-header .header-brand img{width:140px}
}
@media(max-width:1300px){
 html[data-theme] .workspace-header .breadcrumb{display:none}
}
@media(max-width:1100px){
 html[data-theme] .topbar.workspace-header{padding:5px 16px}
 html[data-theme] .workspace-header .breadcrumb{display:none}
 html[data-theme] .workspace-header .header-brand img{width:140px}
 html[data-theme] .workspace-header .copy-page-link .toolbar-label{display:none}
 html[data-theme] .workspace-header .copy-page-link{width:44px;min-width:44px;padding:8px}
}
@media(max-width:900px){
 html[data-theme] .workspace-header .top-left{flex:0 0 auto}
 html[data-theme] .workspace-header .header-brand>span{display:none}
 html[data-theme] .main{padding:24px 20px 85px}
}
@media(max-width:720px){
 html[data-theme] .topbar.workspace-header{padding:8px 12px;gap:6px;flex-wrap:wrap}
 html[data-theme] .workspace-header .top-left{width:100%;flex:1 1 100%;gap:10px}
 html[data-theme] .workspace-header a.header-brand{display:flex;order:0}
 html[data-theme] .workspace-header .header-brand img{width:128px}
 html[data-theme] .workspace-header #mobile-menu{order:2;margin-left:auto}
 html[data-theme] .workspace-header .top-right{width:100%;flex:1 1 100%;gap:6px;justify-content:flex-end}
 html[data-theme] .workspace-header .top-right>.workspace-mode-host{margin-right:auto;flex:0 1 auto}
 html[data-theme] .workspace-header .workspace-mode-long{display:none}
 html[data-theme] .workspace-header .workspace-mode-short{display:inline}
 html[data-theme] .workspace-mode-host .workspace-switch{padding:2px;gap:2px}
 html[data-theme] .workspace-mode-host .workspace-switch button{padding:6px 2px}
 html[data-theme] .workspace-header .display-menu{position:static;flex:0 0 0;width:0;min-width:0;order:3}
 html[data-theme] .workspace-header .display-menu>summary{
  position:absolute;top:8px;right:66px;width:44px;height:44px;min-width:44px;
  padding:8px;justify-content:center;
 }
 html[data-theme] .workspace-header .display-menu>summary>span:last-child{display:none}
 html[data-theme] .workspace-header [data-action=logout]{width:44px;min-width:44px;padding:8px}
 html[data-theme] .workspace-header [data-action=logout] .toolbar-label{display:none}
 html[data-theme] .app-shell .sidebar{border-radius:0}
 html[data-theme] .app-shell .main-shell{border-radius:0}
 html[data-theme] .main{padding:24px 16px 90px}
 html[data-theme] .page-head h1{font-size:26px}
 html[data-theme] .home-guide{padding:22px 20px}
 html[data-theme] .home-guide h2{font-size:22px}
 html[data-theme] .home-project{padding:22px}
 html[data-theme] .home-guide .action-bar>.context-help-action:first-child{width:100%}
 html[data-theme] .home-guide .action-bar>.context-help-action:first-child>.btn{flex:1}
 html[data-theme] .stat-card{padding:20px;min-height:145px}
 html[data-theme] .wizard-site-preview dl>div{grid-template-columns:1fr;gap:4px}
 html[data-theme] .wizard-site-preview dd{margin-bottom:8px}
 html[data-theme] .display-popover{position:fixed;right:12px;top:12px;max-height:calc(100dvh - 24px);width:min(320px,calc(100vw - 24px))}
}
@media(forced-colors:active){
 html[data-theme] .workspace-header :is(.btn,.mobile-menu,#sidebar-toggle,.display-menu summary),
 html[data-theme] .workspace-switch button[aria-pressed=true]{border:1px solid ButtonText}
 html[data-theme] .workspace-header .header-brand img{forced-color-adjust:none}
}

/* Compact workspace surfaces. Only page-level containers expand; dialogs and
   reading/form columns keep their useful limits. All content stays in normal flow. */
html[data-theme] #main>:is(.card,.users-panel),html[data-theme] #main .settings-panel{max-width:none!important;width:100%;min-width:0}
html[data-theme] .commerce-panel{
 max-width:none!important;width:100%;padding:0;border:0;border-radius:0;
 box-shadow:none;background:transparent;
}
html[data-theme] #main>.commerce-panel>h1{font-size:28px;line-height:1.3;font-weight:650;letter-spacing:-.6px;margin:0 0 18px}
html[data-theme] .commerce-panel>h1 .context-help-trigger{vertical-align:middle}
html[data-theme] .commerce-panel>.commerce-notice{margin:0 0 16px;background:var(--soft);border-radius:6px;color:var(--muted);font-size:13px}
html[data-theme] .commerce-panel>.commerce-tabs{
 display:flex;gap:4px 18px;margin:16px 0 24px;padding:0;border-bottom:1px solid var(--border);align-items:stretch;
}
html[data-theme] .commerce-panel .commerce-tabs .commerce-tab{
 min-height:42px;padding:9px 2px;margin:0;border:0;border-bottom:2px solid transparent;
 border-radius:0;background:transparent;box-shadow:none;color:var(--muted);font-size:14px;font-weight:550;
}
html[data-theme] .commerce-panel .commerce-tabs .commerce-tab:hover{color:var(--primary);background:var(--soft)}
html[data-theme] .commerce-panel .commerce-tabs .commerce-tab[aria-selected=true]{color:var(--primary);border-bottom-color:var(--primary);background:transparent;box-shadow:none}
html[data-theme] .commerce-tabs>.context-help-action{display:flex;align-items:center;margin:0;gap:4px}
html[data-theme] .commerce-panel .commerce-tabs .context-help-trigger{margin-top:0}
html[data-theme] .commerce-panel #billing-refresh{margin-top:0;margin-bottom:4px}
html[data-theme] .commerce-panel :is(h2,h3){font-weight:600;line-height:1.4;letter-spacing:-.2px}
html[data-theme] .commerce-panel h2{font-size:20px;margin:24px 0 10px}
html[data-theme] .commerce-panel h3{font-size:16px;margin:24px 0 10px}
html[data-theme] .commerce-panel :is(p,li){font-size:14px;line-height:1.6}
html[data-theme] .commerce-panel p{margin:0 0 16px;color:var(--muted)}
html[data-theme] .commerce-summary{margin:12px 0 24px}
html[data-theme] .commerce-summary>div{padding:12px 0}
html[data-theme] .commerce-plan{padding:22px}
html[data-theme] .commerce-plan .commerce-price{font-size:28px;color:var(--ink);font-weight:650}
html[data-theme] .commerce-panel .commerce-cycle .btn{margin-top:0}
html[data-theme] .commerce-panel #billing-panel>:first-child{margin-top:0}

html[data-theme] .card:hover{box-shadow:var(--shadow)}
html[data-theme] .sidebar .side-caption{font-weight:500;letter-spacing:0;color:var(--muted)}
html[data-theme] #side-nav :is(.nav-link,.nav-section-toggle){font-size:14px;min-height:36px;padding-top:7px;padding-bottom:7px}
html[data-theme] #side-nav .nav-section-items .nav-link{font-size:13px}
html[data-theme] #side-nav .nav-link.active{font-weight:600}
html[data-theme] .home-guide{background:#142346;border-color:#142346;border-radius:8px;padding:24px}
html[data-theme] .home-guide :is(h2,p,.section-kicker){color:#fff}
html[data-theme] .home-guide .section-kicker{font-weight:550}
html[data-theme] .home-guide h2{font-size:22px;font-weight:600}
html[data-theme] .home-guide .btn:not(.primary){background:#fff;color:#1a2b4c;border-color:#fff}
html[data-theme] .home-project{border-top:1px solid var(--border);background:var(--soft);border-radius:8px}
html[data-theme] .home-project:nth-child(n){background:var(--soft)}
html[data-theme] .home-project .home-project-icon{width:34px;height:34px;border-radius:7px;margin-bottom:12px}
html[data-theme] #application-overview>h2{font-size:20px;font-weight:600}
html[data-theme] #application-overview>.measurement-progress-counts>div{border-radius:7px;padding:16px}
html[data-theme] #application-overview>.measurement-progress-counts dd{font-weight:600;font-size:28px}
html[data-theme] .stat-number{font-weight:600}
html[data-theme] .adam-launcher{
 display:grid;place-items:center;width:44px;min-width:44px;height:44px;min-height:44px;
 padding:0;gap:0;border-radius:50%;right:20px;bottom:20px;
 box-shadow:0 2px 8px rgb(26 43 76 / 15%);
}
html[data-theme] .adam-launcher svg{display:block;width:22px;height:22px;pointer-events:none}
html[data-theme] .adam-launcher:hover{background:var(--action-hover);transform:translateY(-1px)}
html[data-theme][data-contrast=true] .home-guide{background:var(--surface);border-color:var(--ink)}
html[data-theme][data-contrast=true] .home-guide :is(h2,p,.section-kicker){color:var(--ink)}
html[data-theme][data-contrast=true] .home-guide .btn:not(.primary){background:var(--surface);color:var(--ink);border-color:var(--ink)}
@media(min-width:721px){
 html[data-theme] .workspace-header #sidebar-toggle{height:34px;width:34px;min-width:34px;min-height:34px}
 html[data-theme][data-sidebar=collapsed] #side-nav :is(.nav-link,.nav-section-toggle){font-size:0!important;min-height:44px}
}
@media(max-width:720px){
 html[data-theme] .workspace-header :is(.btn,.mobile-menu,.display-menu summary),
 html[data-theme] .workspace-header .workspace-switch button{min-height:44px}
 html[data-theme] #side-nav :is(.nav-link,.nav-section-toggle){min-height:44px}
 html[data-theme] .btn{min-height:44px}
 html[data-theme] .commerce-panel{padding:0!important}
 html[data-theme] #main>.commerce-panel>h1{font-size:25px}
 html[data-theme] .commerce-panel>.commerce-tabs{gap:4px 14px}
 html[data-theme] .commerce-panel .commerce-tabs .commerce-tab{min-height:44px}
 html[data-theme] .home-guide{padding:20px}
 html[data-theme] .adam-launcher{right:12px;bottom:12px}
}

