.report-view,.studio{display:flex;flex-direction:column;gap:14px;min-height:calc(100vh - var(--topbar-h));padding:18px clamp(16px,3vw,32px) 28px;background:var(--g-deep);color:var(--g-text)}.report-view button,.studio button{font:inherit;cursor:pointer}.report-view button:disabled,.studio button:disabled{cursor:not-allowed}.studio-head{display:flex;flex-wrap:wrap;align-items:flex-end;gap:12px;padding:16px;border:1px solid var(--g-border);border-radius:16px;background:var(--g-surface)}.studio-name{display:flex;flex-direction:column;gap:5px;flex:0 1 300px}.studio-ask label,.studio-name span{color:var(--g-muted)!important;font-size:12px!important;font-weight:600}.studio-name input{min-height:44px;padding:0 12px;border:1px solid var(--g-border-strong);border-radius:10px;background:var(--g-deep)!important;color:var(--g-text);font-size:15px!important;font-weight:600;outline:0}.studio-name input:focus{border-color:var(--g-accent)}.studio-ask{display:flex;flex-direction:column;gap:5px;flex:1 1 420px}.studio-ask label{display:flex;align-items:center;gap:6px;color:var(--g-accent)!important}.studio-ask>div{display:flex;gap:8px}.studio-ask input{flex:1;min-width:0;min-height:44px;padding:0 14px;border:1px solid #065f46;border-radius:10px;background:#0a1712!important;color:var(--g-text);font-size:14px!important;outline:0}.studio-ask input:focus{border-color:var(--g-accent)}.studio-ask button{display:flex;align-items:center;gap:8px;min-height:44px;padding:0 16px;border:0;border-radius:10px;background:var(--g-accent);color:var(--g-accent-ink)!important;font-weight:700}.studio-ask button:disabled{opacity:.5}.studio-save{display:flex;align-items:center;gap:8px;min-height:44px;padding:0 18px;border:0;border-radius:10px;background:var(--g-text);color:var(--g-deep)!important;font-weight:700}.studio-save:hover{filter:brightness(1.1)}.studio-note{display:flex;align-items:flex-start;gap:10px;padding:12px 14px;border:1px solid #065f46;border-radius:12px;background:var(--g-accent-soft)}.studio-note>span{flex:none;padding:2px 8px;border-radius:6px;background:var(--g-accent);color:var(--g-accent-ink)!important;font-size:12px;font-weight:700}.studio-note p{flex:1;margin:0;color:#d1fae5!important;font-size:13px!important}.studio-note em{color:#a7f3d0!important;font-style:normal}.studio-note button{display:grid;place-items:center;width:26px;height:26px;border:0;border-radius:6px;background:transparent;color:#a7f3d0}.studio-error{padding:11px 14px;border:1px solid #7f1d1d;border-radius:12px;background:#2a1215;color:#fecaca!important;font-size:13px}.studio-body{flex:1;display:flex;flex-wrap:wrap;gap:14px;min-height:0}.studio-panel{flex:1 1 280px;max-width:340px;display:flex;flex-direction:column;max-height:calc(100vh - var(--topbar-h) - 160px);position:sticky;top:calc(var(--topbar-h) + 14px);border:1px solid var(--g-border);border-radius:16px;background:var(--g-surface);overflow:hidden}.studio-tabs{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));border-bottom:1px solid var(--g-border)}.studio-tabs button{display:flex;align-items:center;justify-content:center;gap:6px;min-height:48px;border:0;border-bottom:2px solid transparent;background:transparent;color:var(--g-muted)!important;font-size:13px!important;font-weight:600}.studio-tabs button.active{border-bottom-color:var(--g-accent);color:var(--g-text)!important}.studio-tabs b{padding:0 6px;border-radius:999px;background:var(--g-raised);color:var(--g-body)!important;font-family:var(--font-mono),monospace!important;font-size:11px}.studio-tab-body{flex:1;overflow:auto;padding:14px;display:flex;flex-direction:column;gap:10px}.studio-search{display:flex;align-items:center;gap:8px;min-height:40px;padding:0 10px;border:1px solid var(--g-border-strong);border-radius:9px;background:var(--g-deep);color:var(--g-muted)}.studio-search input{flex:1;min-width:0;border:0!important;outline:0;background:transparent!important;color:var(--g-text);font-size:13px!important}.studio-sort label{display:flex;flex-direction:column;gap:6px;color:var(--g-muted)!important;font-size:13px!important}.filter-editor input,.filter-editor select,.studio-sort select{min-height:38px;padding:0 10px;border:1px solid var(--g-border-strong)!important;border-radius:9px;background:var(--g-deep)!important;color:var(--g-text)!important;font-size:13px!important}.filter-editor{display:flex;flex-direction:column;gap:10px}.filter-editor-empty{margin:4px 2px;color:var(--g-muted)!important;font-size:13px!important}.filter-card{display:flex;flex-direction:column;gap:8px;padding:10px;border:1px solid var(--g-border);border-radius:12px;background:var(--g-deep)}.filter-card-head{display:flex;gap:6px}.filter-card-head select{flex:1;min-width:0;font-weight:600}.filter-card-head button{display:grid;place-items:center;width:38px;border:1px solid var(--g-border-strong);border-radius:9px;background:transparent;color:var(--g-muted)}.filter-card-head button:hover{border-color:#7f1d1d;color:#fca5a5}.filter-card-body{display:flex;flex-wrap:wrap;gap:6px}.filter-card-body>*{flex:1 1 120px;min-width:0}.filter-add{display:flex;align-items:center;justify-content:center;gap:6px;min-height:40px;border:1px dashed var(--g-border-strong);border-radius:10px;background:transparent;color:var(--g-accent)!important;font-size:13px!important;font-weight:600}.filter-add:hover{border-color:var(--g-accent)}.studio-main{flex:999 1 560px;min-width:0;display:flex;flex-direction:column;gap:14px}.studio-chips{display:flex;flex-wrap:wrap;align-items:center;gap:8px;padding:12px 14px;border:1px solid var(--g-border);border-radius:14px;background:var(--g-surface)}.studio-chips-label{font-weight:500}.studio-chips-empty,.studio-chips-label{color:var(--g-muted)!important;font-size:13px!important}.studio-chip{display:inline-flex;align-items:center;gap:2px;padding:3px 4px;border:1px solid var(--g-border-strong);border-radius:8px;background:#18181b;color:var(--g-text)!important;font-size:13px!important}.studio-chip button{display:grid;place-items:center;width:22px;height:22px;border:0;border-radius:5px;background:transparent;color:var(--g-muted)}.studio-chip button:hover:not(:disabled){background:var(--g-raised);color:var(--g-text)}.studio-chip button:disabled{opacity:.3}.studio-filter-tag{padding:4px 10px;border-radius:8px;background:var(--g-accent-soft);color:#a7f3d0!important;font-size:12px!important}.report-view-table,.studio-preview{flex:1;display:flex;flex-direction:column;min-height:380px;border:1px solid var(--g-border);border-radius:16px;background:var(--g-surface);overflow:hidden}.studio-preview>header{display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:8px;padding:12px 16px;border-bottom:1px solid var(--g-hover)}.studio-preview h2{display:flex;align-items:center;gap:10px;margin:0;font-size:15px!important}.studio-preview h2 span{display:inline-flex;align-items:center;gap:6px;padding:2px 8px;border-radius:999px;background:var(--g-accent-soft);color:#6ee7b7!important;font-size:12px;font-weight:600}.studio-preview h2 span i{width:6px;height:6px;border-radius:50%;background:var(--g-accent)}.studio-preview h2 span.busy{background:var(--g-raised);color:var(--g-body)!important}.studio-preview small{color:var(--g-muted)!important;font-size:12px!important}.studio-preview-empty{flex:1;display:flex;align-items:center;justify-content:center;gap:10px;padding:40px;color:var(--g-muted)!important;font-size:14px}.report-table{flex:1;overflow:auto}.report-table table{width:100%;border-collapse:collapse;white-space:nowrap}.report-table th{position:sticky;top:0;z-index:1;padding:10px 16px;border-bottom:1px solid var(--g-hover);background:var(--g-input)!important;color:#8b8b94!important;font-size:12px!important;font-weight:500;text-align:left}.report-table td{max-width:320px;overflow:hidden;padding:10px 16px;border-bottom:1px solid #18181b;color:var(--g-body)!important;font-size:13px!important;text-overflow:ellipsis;font-variant-numeric:tabular-nums}.report-table tbody tr:nth-child(2n){background:#0f0f12}.report-table tbody tr:hover{background:var(--g-hover)}.report-table td.report-table-empty{padding:40px!important;text-align:center;color:var(--g-muted)!important}.report-view-head{display:flex;flex-wrap:wrap;align-items:flex-end;justify-content:space-between;gap:14px}.report-view-head small{color:var(--g-muted)!important;font-size:12px!important;letter-spacing:.1em}.report-view-head h1{margin:4px 0 2px;font-size:28px;letter-spacing:-.03em}.report-view-head p{margin:0;color:var(--g-muted)!important;font-size:13px!important}.report-view-actions{display:flex;flex-wrap:wrap;align-items:center;gap:8px}.report-view-actions .report-actions{display:flex;gap:8px}.report-view-filters{display:flex;flex-wrap:wrap;align-items:center;gap:8px}.report-filter-toggle{display:flex;align-items:center;gap:8px;min-height:38px;padding:0 14px;border:1px solid var(--g-border-strong);border-radius:10px;background:var(--g-surface);color:var(--g-text)!important;font-size:13px!important;font-weight:600}.report-filter-toggle.active,.report-filter-toggle:hover{border-color:var(--g-accent)}.report-filter-toggle b{padding:0 6px;border-radius:999px;background:var(--g-accent);color:var(--g-accent-ink)!important;font-size:11px}.report-filter-hint{color:var(--g-muted)!important;font-size:12px!important}.report-filter-reset{display:flex;align-items:center;gap:6px;min-height:32px;padding:0 10px;border:0;border-radius:8px;background:transparent;color:var(--g-accent)!important;font-size:13px!important}.report-view-filter-panel{max-width:760px;padding:14px;border:1px solid var(--g-border);border-radius:14px;background:var(--g-surface)}.report-view-filter-panel .filter-editor{display:grid;grid-template-columns:repeat(auto-fill,minmax(300px,1fr))}@media(max-width:850px){.studio-panel{position:static;max-width:none;max-height:none}.studio-head{align-items:stretch}.studio-ask,.studio-name{flex-basis:100%}}.studio .field-group-head strong,.studio .field-leaf strong{font-size:13px!important}.studio .field-group-head em,.studio .field-group-head small,.studio .field-leaf em,.studio .field-leaf small{font-size:12px!important}.studio .field-groups{max-height:none!important;border-color:var(--g-border)!important}.studio-chips-label small{margin-left:4px;color:#71717a!important;font-size:12px!important}.studio-chip{cursor:grab}.studio-chip.dragging{opacity:.45}.studio-chip-grip{color:#71717a;margin:0 2px}.studio-chip button{opacity:.55}.studio-chip:hover button:not(:disabled){opacity:1}.report-table th.draggable-col{cursor:grab;user-select:none}.report-table th.draggable-col:hover{color:var(--g-text)!important;background:var(--g-hover)!important}.report-table th.dragging{opacity:.45}.report-table th.drop-target{box-shadow:inset 3px 0 0 var(--g-accent)}.business-fields{display:flex;flex-direction:column;gap:12px}.business-fields section{display:flex;flex-direction:column;gap:1px}.business-fields h3{margin:0;padding:4px 8px;color:#8b8b94!important;font-size:12px!important;font-weight:600;letter-spacing:.06em;text-transform:uppercase}.business-fields section>button{display:flex;align-items:center;gap:10px;min-height:36px;padding:0 8px;border:0;border-radius:7px;background:transparent;color:var(--g-body)!important;font-size:13px!important;text-align:left}.business-fields section>button:hover{background:var(--g-hover)}.business-fields section>button.on{background:#18181b;color:var(--g-text)!important}.business-fields .check{display:grid;place-items:center;flex:none;width:18px;height:18px;border:1px solid #52525b;border-radius:5px;color:var(--g-accent-ink)!important;font-size:12px;font-weight:800}.business-fields .on .check{border-color:var(--g-accent);background:var(--g-accent)}.technical-toggle{min-height:38px;border:1px dashed var(--g-border-strong);border-radius:9px;background:transparent;color:var(--g-muted)!important;font-size:13px!important}.technical-toggle:hover{color:var(--g-text)!important;border-color:var(--g-border-hover)}.technical-fields{border-top:1px solid var(--g-border);padding-top:10px}.studio-kind{display:flex;flex-wrap:wrap;align-items:center;gap:6px;padding:6px 8px 6px 14px;border:1px solid var(--g-border);border-radius:14px;background:var(--g-surface)}.studio-kind>span{margin-right:4px;font-weight:500}.studio-kind button,.studio-kind>span{color:var(--g-muted)!important;font-size:13px!important}.studio-kind button{min-height:34px;padding:0 14px;border:1px solid transparent;border-radius:9px;background:transparent;font-weight:600}.studio-kind button.active{border-color:var(--g-border-strong);background:var(--g-raised);color:var(--g-text)!important}.studio-kind small{margin-left:auto;padding-right:6px;color:#8b8b94!important;font-size:12px!important}.multi-pick{position:relative;flex:1 1 100%!important}.multi-pick>button{display:flex;align-items:center;gap:8px;width:100%;min-height:38px;padding:0 10px;border:1px solid var(--g-border-strong);border-radius:9px;background:var(--g-deep);color:var(--g-text)!important;font-size:13px!important;text-align:left}.multi-pick>button span{flex:1;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.multi-pick>button b{padding:0 6px;border-radius:999px;background:var(--g-accent);color:var(--g-accent-ink)!important;font-size:11px}.multi-pick-menu{position:absolute;z-index:20;left:0;right:0;top:calc(100% + 4px);max-height:280px;overflow:auto;padding:6px;border:1px solid var(--g-border-strong);border-radius:12px;background:var(--g-surface);box-shadow:0 18px 40px #000b}.multi-pick-menu label{display:flex;align-items:center;gap:10px;min-height:36px;padding:0 8px;border-radius:7px;color:var(--g-body)!important;font-size:13px!important;cursor:pointer}.multi-pick-menu label.on,.multi-pick-menu label:hover{background:var(--g-hover);color:var(--g-text)!important}.multi-pick-menu label span{flex:1}.multi-pick-menu small{color:#71717a!important;font-family:var(--font-mono),monospace!important;font-size:11px!important}.multi-pick-menu input{accent-color:var(--g-accent)}.multi-clear{width:100%;min-height:34px;margin-top:4px;border:0;border-top:1px solid var(--g-border);background:transparent;color:var(--g-accent)!important;font-size:13px!important}.multi-free{flex:1 1 100%!important;display:flex;flex-wrap:wrap;align-items:center;gap:6px;min-height:38px;padding:4px 8px;border:1px solid var(--g-border-strong);border-radius:9px;background:var(--g-deep)}.multi-free span{display:inline-flex;align-items:center;gap:4px;padding:2px 4px 2px 8px;border-radius:6px;background:var(--g-raised);color:var(--g-text)!important;font-size:12px!important}.multi-free span button{display:grid;place-items:center;width:18px;height:18px;border:0;background:transparent;color:var(--g-muted)}.multi-free input{flex:1;min-width:120px;min-height:28px!important;border:0!important;background:transparent!important;padding:0!important}.report-table .th-inner{display:inline-flex;align-items:center;gap:6px}.th-filter{display:grid;place-items:center;width:22px;height:22px;border:0;border-radius:6px;background:transparent;color:#71717a;cursor:pointer}.th-filter:hover{background:var(--g-raised);color:var(--g-text)}.th-filter.on{background:var(--g-accent-soft);color:var(--g-accent)}.studio-shell{display:flex;flex-direction:column;gap:0;min-height:calc(100vh - var(--topbar-h));background:var(--g-deep);color:var(--g-text);overflow-x:hidden}.sr-step-title{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0);white-space:nowrap}.sr-step-title:focus{outline:0}.studio-stepper{position:sticky;top:0;z-index:5;gap:4px;padding:10px clamp(16px,3vw,32px);border-bottom:1px solid var(--g-border);background:var(--g-deep)}.studio-step,.studio-stepper{display:flex;align-items:center}.studio-step{gap:8px;min-height:38px;padding:0 14px;border:0;border-radius:10px;background:transparent;color:var(--g-muted)!important;font-size:13px!important;font-weight:600}.studio-step:hover{background:var(--g-raised);color:var(--g-text)!important}.studio-step.active{background:var(--g-accent-soft);color:var(--g-text)!important}.studio-step-index{display:grid;place-items:center;width:20px;height:20px;border-radius:50%;background:var(--g-raised);color:var(--g-body)!important;font-size:11px;font-family:var(--font-mono),monospace!important}.studio-step.active .studio-step-index{background:var(--g-accent);color:var(--g-accent-ink)!important}.help-entry{display:flex;align-items:center;gap:6px;margin-left:auto;min-height:36px;padding:0 14px;border:1px solid var(--g-border-strong);border-radius:9px;background:transparent;color:var(--g-text)!important;font-size:13px!important;font-weight:600;cursor:pointer}.help-entry:hover{border-color:var(--g-accent);color:var(--g-accent)!important}.studio-track{display:block;width:100%;flex:1;min-width:0}.studio-pane{width:100%;min-width:0;display:flex;flex-direction:column;padding:16px clamp(16px,3vw,32px) 112px;overflow:auto}.studio-pane[aria-hidden=true]{display:none}.studio-step-actions{position:fixed;z-index:24;left:var(--sidebar-w);right:0;bottom:0;display:flex;justify-content:flex-end;gap:10px;margin:0;padding:14px clamp(16px,3vw,32px);border-top:1px solid var(--g-border);background:color-mix(in srgb,var(--g-deep) 88%,transparent);backdrop-filter:blur(12px);box-shadow:0 -14px 30px #0005}.studio-step-actions button{min-height:42px;padding:0 18px;border-radius:10px;font-size:14px!important;font-weight:700;cursor:pointer}.studio-step-actions .ghost{border:1px solid var(--g-border-strong);background:transparent;color:var(--g-text)!important}.studio-step-actions .ghost:hover{border-color:var(--g-accent)}.studio-step-actions .primary{border:0;background:var(--g-accent);color:var(--g-accent-ink)!important}.studio-step-actions .primary:hover{filter:brightness(1.08)}@media(max-width:850px){.studio-pane{padding-bottom:172px}.studio-step-actions{left:0;flex-direction:column;padding:10px 16px}.studio-step-actions button{width:100%}}.help-overlay{position:fixed;inset:0;z-index:50;background:#000a;display:flex;justify-content:flex-end}.help-drawer{width:min(420px,100vw);height:100%;display:flex;flex-direction:column;background:var(--g-surface);border-left:1px solid var(--g-border);box-shadow:-20px 0 40px #000a}.help-drawer>header{display:flex;align-items:center;justify-content:space-between;padding:16px;border-bottom:1px solid var(--g-border)}.help-drawer>header h2{margin:0;font-size:16px}.help-drawer>header button{display:grid;place-items:center;width:32px;height:32px;border:0;border-radius:8px;background:transparent;color:var(--g-muted);cursor:pointer}.help-drawer>header button:hover{background:var(--g-hover);color:var(--g-text)}.help-body{flex:1;overflow:auto;padding:16px;display:flex;flex-direction:column;gap:22px}.help-topic h3{margin:0 0 6px;font-size:15px;color:var(--g-text)!important}.help-what{margin:0 0 10px;color:var(--g-body)!important;font-size:13px!important}.help-label{margin:10px 0 4px;color:var(--g-accent)!important;font-size:12px!important;font-weight:700;text-transform:uppercase;letter-spacing:.04em}.help-topic ol,.help-topic ul{padding-left:20px;display:flex;flex-direction:column;gap:4px}.help-topic ol,.help-topic p,.help-topic ul{margin:0;color:var(--g-body)!important;font-size:13px!important}.help-example{padding:10px 12px;border:1px solid var(--g-border);border-radius:10px;background:var(--g-deep)}.help-example ul{padding-left:0;list-style:none;font-family:var(--font-mono),monospace!important}.report-summary{display:flex;flex-direction:column;gap:12px;max-width:720px;padding:16px;border:1px solid var(--g-border);border-radius:16px;background:var(--g-surface)}.report-summary h2{margin:0;font-size:16px}.report-summary dl{display:flex;flex-direction:column;gap:10px;margin:0}.report-summary dl>div{display:flex;flex-direction:column;gap:2px}.report-summary dt{color:var(--g-muted)!important;font-size:12px!important;font-weight:600}.report-summary dd{margin:0;color:var(--g-text)!important;font-size:14px!important;display:flex;flex-wrap:wrap;gap:6px;align-items:center}.report-summary-hint{margin:0;color:var(--g-muted)!important;font-size:12px!important}.calc-step{display:flex;flex-direction:column;gap:14px;max-width:880px}.calc-step-head h2{display:flex;align-items:center;gap:8px;margin:0 0 4px;font-size:18px}.calc-step-head p{margin:0}.calc-empty,.calc-step-head p{color:var(--g-muted)!important;font-size:13px!important}.calc-card{display:flex;flex-direction:column;gap:8px;padding:14px;border:1px solid var(--g-border);border-radius:14px;background:var(--g-surface)}.calc-card-head{display:flex;gap:8px;align-items:center}.calc-name{flex:1;min-width:0;padding:0 12px;border:1px solid var(--g-border-strong);border-radius:9px;font-size:14px!important;font-weight:600}.calc-card-head select,.calc-name{min-height:40px;background:var(--g-deep)!important;color:var(--g-text)!important}.calc-card-head select{border:1px solid var(--g-border-strong)!important;border-radius:9px;font-size:13px!important}.calc-card-head button{display:grid;place-items:center;width:38px;height:40px;border:1px solid var(--g-border-strong);border-radius:9px;background:transparent;color:var(--g-muted);cursor:pointer}.calc-card-head button:hover{border-color:var(--g-accent);color:var(--g-accent)}.calc-insert{display:flex;flex-wrap:wrap;gap:6px}.calc-insert button{min-height:30px;padding:0 10px;border:1px dashed var(--g-border-strong);border-radius:8px;background:transparent;color:var(--g-body)!important;font-size:12px!important;cursor:pointer}.calc-insert button:hover{border-color:var(--g-accent);color:var(--g-accent)!important}.calc-insert .calc-op{font-family:var(--font-mono),monospace!important;border-style:solid}.calc-formula-label{color:var(--g-muted)!important;font-size:12px!important;font-weight:600}.calc-formula{min-height:56px;padding:10px 12px;color:var(--g-text)!important;font-family:var(--font-mono),monospace!important;resize:vertical}.calc-desc,.calc-formula{border:1px solid var(--g-border-strong);border-radius:9px;background:var(--g-deep)!important;font-size:13px!important}.calc-desc{min-height:36px;padding:0 12px;color:var(--g-body)!important}.calc-error{display:flex;align-items:flex-start;gap:6px;color:#fca5a5!important}.calc-error,.calc-preview{margin:0;font-size:12px!important}.calc-preview{color:var(--g-muted)!important}.calc-preview b{color:#6ee7b7!important;font-family:var(--font-mono),monospace!important}.calc-preview-muted{opacity:.7}.calc-add{display:flex;align-items:center;justify-content:center;gap:8px;min-height:44px;border:1px dashed var(--g-border-strong);border-radius:12px;background:transparent;color:var(--g-accent)!important;font-size:13px!important;font-weight:700;cursor:pointer}.calc-add:hover{border-color:var(--g-accent)}.metrics-panel{gap:14px;max-width:880px;margin-top:28px;padding-top:20px;border-top:1px solid var(--g-border)}.metric-card,.metrics-panel{display:flex;flex-direction:column}.metric-card{gap:8px;padding:14px;border:1px solid var(--g-border);border-radius:14px;background:var(--g-surface)}.metric-card-head{display:flex;align-items:center;gap:8px}.metric-kind{flex:none;padding:3px 8px;border-radius:999px;background:var(--g-raised);color:var(--g-body)!important;font-size:11px!important;font-weight:700;text-transform:uppercase;letter-spacing:.03em}.metric-kind-ratio{background:var(--g-accent-soft);color:#6ee7b7!important}.metric-name{flex:1;min-width:0;min-height:40px;padding:0 12px;border:1px solid var(--g-border-strong);border-radius:9px;background:var(--g-deep)!important;color:var(--g-text)!important;font-size:14px!important;font-weight:600}.metric-card-head button{display:grid;place-items:center;width:38px;height:40px;border:1px solid var(--g-border-strong);border-radius:9px;background:transparent;color:var(--g-muted);cursor:pointer}.metric-card-head button:hover{border-color:#7f1d1d;color:#fca5a5}.metric-card-body{display:flex;flex-wrap:wrap;gap:8px}.metric-card-body label,.metric-card>label{display:flex;flex-direction:column;gap:4px;flex:1 1 160px;color:var(--g-muted)!important;font-size:12px!important;font-weight:600}.metric-card-body select,.metric-card>label select{min-height:38px;border:1px solid var(--g-border-strong)!important;border-radius:9px;background:var(--g-deep)!important;color:var(--g-text)!important;font-size:13px!important}.metric-result{margin:0;color:var(--g-muted)!important;font-size:13px!important}.metric-result b{color:#6ee7b7!important;font-family:var(--font-mono),monospace!important;font-size:15px!important}.metric-add-row{display:flex;gap:10px;flex-wrap:wrap}.metric-add-row .calc-add{flex:1 1 200px}.metric-tiles{display:flex;flex-wrap:wrap;gap:10px;margin-bottom:14px}.metric-tile{display:flex;flex-direction:column;gap:4px;min-width:160px;padding:12px 16px;border:1px solid var(--g-border);border-radius:12px;background:var(--g-surface)}.metric-tile span{color:var(--g-muted)!important;font-size:12px!important;font-weight:600}.metric-tile b{color:var(--g-text)!important;font-size:20px!important;font-family:var(--font-mono),monospace!important}.pivot-card{display:flex;flex-direction:column;gap:10px;padding:14px;border:1px solid var(--g-border);border-radius:14px;background:var(--g-surface);margin-bottom:12px}.pivot-card-head{display:flex;align-items:center;gap:8px;color:var(--g-muted)}.pivot-card-head button{display:grid;place-items:center;width:34px;height:36px;border:1px solid var(--g-border-strong);border-radius:9px;background:transparent;color:var(--g-muted);cursor:pointer}.pivot-card-head button:hover:not(:disabled){border-color:var(--g-accent);color:var(--g-accent)}.pivot-card-head button:disabled{opacity:.35;cursor:not-allowed}.pivot-fields{display:flex;flex-wrap:wrap;gap:10px}.pivot-fields label,.pivot-sort{display:flex;flex-direction:column;gap:4px;flex:1 1 180px;color:var(--g-muted)!important;font-size:12px!important;font-weight:600}.pivot-fields input,.pivot-fields select,.pivot-sort select{min-height:38px;padding:0 10px;border:1px solid var(--g-border-strong)!important;border-radius:9px;background:var(--g-deep)!important;color:var(--g-text)!important;font-size:13px!important}.pivot-measures{display:flex;flex-wrap:wrap;gap:10px;margin:0;padding:10px;border:1px solid var(--g-border);border-radius:10px}.pivot-measures legend{padding:0 4px;color:var(--g-muted)!important;font-size:12px!important;font-weight:600}.pivot-measure-check{display:flex;align-items:center;gap:6px;color:var(--g-body)!important;font-size:13px!important}.comparison-metric-row{display:flex;align-items:center;gap:10px;flex:1 1 100%}.comparison-metric-row select{min-height:32px;border:1px solid var(--g-border-strong)!important;border-radius:8px;background:var(--g-deep)!important;color:var(--g-text)!important;font-size:12px!important}.pivot-grid-wrap{overflow:auto;border:1px solid var(--g-border);border-radius:12px}.pivot-grid{width:100%;border-collapse:collapse;font-size:13px!important}.pivot-grid td,.pivot-grid th{padding:8px 12px;border-bottom:1px solid #18181b;white-space:nowrap}.pivot-grid thead th{position:sticky;top:0;background:var(--g-input)!important;color:#8b8b94!important;font-weight:500;text-align:left}.pivot-grid tbody th{text-align:left;color:var(--g-text)!important;font-weight:600;background:var(--g-surface)}.pivot-grid .pivot-subtotal{background:var(--g-raised)}.pivot-grid .pivot-grandtotal{background:var(--g-raised);font-weight:700}.pivot-cell-line{display:flex;align-items:baseline;gap:6px}.pivot-cell-line span{color:var(--g-muted)!important;font-size:11px!important}.pivot-cell-line b{color:var(--g-text)!important;font-family:var(--font-mono),monospace!important}.pivot-cell-line small{color:#6ee7b7!important;font-size:11px!important}.comparison-context{margin:0;color:var(--g-muted)!important;font-size:12px!important}.comparison-view-toggle{display:flex;gap:6px}.comparison-view-toggle button{display:flex;align-items:center;gap:6px;min-height:32px;padding:0 12px;border:1px solid var(--g-border-strong);border-radius:8px;background:transparent;color:var(--g-muted)!important;font-size:12px!important;cursor:pointer}.comparison-view-toggle button.active{border-color:var(--g-accent);color:var(--g-text)!important;background:var(--g-accent-soft)}.comparison-table{width:100%;border-collapse:collapse;font-size:13px!important}.comparison-table td,.comparison-table th{padding:8px 12px;border-bottom:1px solid #18181b;text-align:left}.comparison-table thead th{color:#8b8b94!important;font-weight:500}.comparison-table tbody th{color:var(--g-text)!important;font-weight:600}.change-good{color:#6ee7b7!important;font-weight:700}.change-bad{color:#fca5a5!important;font-weight:700}.change-neutral{color:var(--g-body)!important}.comparison-breakdown{margin-top:10px}.comparison-chart{min-height:220px}.presentation-analyses{display:flex;flex-direction:column;gap:14px;margin-bottom:14px}.presentation-visibility{display:flex;flex-wrap:wrap;gap:6px}.presentation-visibility button{display:flex;align-items:center;gap:6px;min-height:30px;padding:0 10px;border:1px dashed var(--g-border-strong);border-radius:8px;background:transparent;color:var(--g-body)!important;font-size:12px!important;cursor:pointer}.presentation-visibility button.hidden-item{opacity:.5;text-decoration:line-through}.presentation-card{padding:14px;border:1px solid var(--g-border);border-radius:14px;background:var(--g-surface)}.presentation-card h3{display:flex;align-items:center;gap:8px;margin:0 0 10px;font-size:14px}.tour-overlay{position:fixed;inset:0;z-index:80}.tour-highlight{position:fixed;z-index:81;border:2px solid var(--g-accent);border-radius:10px;box-shadow:0 0 0 4000px #000a;pointer-events:none;transition:top .15s,left .15s,width .15s,height .15s}.tour-tooltip{position:fixed;z-index:82;width:300px;padding:14px;border:1px solid var(--g-border-strong);border-radius:12px;background:var(--g-surface);box-shadow:0 18px 40px #000c}.tour-tooltip-center{position:fixed;top:40%;left:50%;transform:translate(-50%,-50%)}.tour-tooltip h3{margin:0 0 6px;font-size:14px;color:var(--g-text)!important}.tour-tooltip p{margin:0 0 10px;color:var(--g-body)!important;font-size:13px!important}.tour-controls{display:flex;align-items:center;gap:8px}.tour-controls span{color:var(--g-muted)!important;font-size:12px!important;margin-right:auto}.tour-controls button{min-height:32px;padding:0 12px;border:1px solid var(--g-border-strong);border-radius:8px;background:transparent;color:var(--g-text)!important;font-size:12px!important;font-weight:600;cursor:pointer}.tour-controls button:hover:not(:disabled){border-color:var(--g-accent)}.tour-controls button:disabled{opacity:.4;cursor:not-allowed}.help-tour-start{display:flex;align-items:center;gap:6px;margin-top:10px;min-height:34px;padding:0 12px;border:1px dashed var(--g-border-strong);border-radius:9px;background:transparent;color:var(--g-accent)!important;font-size:12px!important;font-weight:700;cursor:pointer}.help-tour-start:hover{border-color:var(--g-accent)}.analysis-academy{max-width:1100px;margin:10px 0 30px;padding:20px;border:1px solid #285548;border-radius:18px;background:linear-gradient(135deg,#0c1714,#101113 55%);box-shadow:0 18px 45px #0004}.analysis-academy>header{display:flex;justify-content:space-between;align-items:end;margin-bottom:16px}.analysis-academy h2{margin:5px 0 3px;color:var(--g-text);font-size:20px}.analysis-academy header p{margin:0;color:var(--g-body);font-size:13px}.academy-eyebrow{display:flex;align-items:center;gap:6px;color:var(--g-accent);font-size:10px;font-weight:800;letter-spacing:.09em}.academy-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px}.academy-grid article{overflow:hidden;border:1px solid var(--g-border);border-radius:13px;background:var(--g-surface)}.academy-video-thumb{position:relative;display:grid;place-items:center;width:100%;height:92px;border:0;border-bottom:1px solid var(--g-border);background:radial-gradient(circle at 50% 120%,#135944,#15171a 60%);color:#79e5c2;cursor:pointer}.academy-video-thumb>span{position:absolute;left:14px;top:14px;opacity:.65}.academy-video-thumb>i{display:grid;place-items:center;width:38px;height:38px;border-radius:50%;background:#e9fff8;color:#083e2f;font-style:normal;box-shadow:0 8px 25px #0008}.academy-video-thumb>small{position:absolute;right:8px;bottom:7px;padding:2px 6px;border-radius:5px;background:#000a;color:#fff;font-size:10px}.academy-grid article>div{padding:12px}.academy-grid h3{margin:0 0 4px;color:var(--g-text);font-size:13px}.academy-grid p{min-height:32px;margin:0 0 9px;color:var(--g-muted);font-size:11px;line-height:1.45}.academy-watch{padding:0;border:0;background:transparent;color:var(--g-accent);font-size:11px;font-weight:750;cursor:pointer}.academy-modal-backdrop{position:fixed;inset:0;z-index:100;display:grid;place-items:center;padding:20px;background:#000c;backdrop-filter:blur(8px)}.academy-modal{position:relative;display:grid;grid-template-columns:minmax(0,1.45fr) minmax(300px,.75fr);width:min(1050px,96vw);max-height:92vh;overflow:auto;border:1px solid var(--g-border-strong);border-radius:20px;background:#111214;box-shadow:0 28px 90px #000}.academy-close{position:absolute;z-index:2;right:13px;top:13px;display:grid;place-items:center;width:34px;height:34px;border:1px solid #ffffff25;border-radius:50%;background:#090a0bdd;color:#fff;cursor:pointer}.academy-player{position:relative;min-height:480px;padding:22px;background:#090a0b}.academy-player-top{display:flex;align-items:center;gap:9px;color:#e7e7e9;font-size:13px;font-weight:700}.academy-player-top svg{color:var(--g-accent)}.academy-demo-stage{position:relative;display:grid;grid-template-columns:65px 1fr;height:335px;margin-top:20px;overflow:hidden;border:1px solid #303238;border-radius:12px;background:#0d0e10;box-shadow:0 20px 50px #0008}.academy-demo-sidebar{display:grid;align-content:start;gap:16px;padding:22px 16px;border-right:1px solid #24262b}.academy-demo-sidebar span{width:30px;height:7px;border-radius:5px;background:#33363d}.academy-demo-form{position:relative;padding:50px 45px}.academy-demo-form>b{display:block;margin-bottom:25px;color:#f4f4f5;font-size:20px}.academy-demo-field{display:flex;justify-content:space-between;padding:15px;border:1px solid #3a3c42;border-radius:9px;background:#16181b;color:#b8bbc2;font-size:12px}.academy-demo-field em{color:#66deb8;font-style:normal}.academy-demo-lines{display:grid;gap:12px;margin-top:26px}.academy-demo-lines span{height:9px;border-radius:5px;background:#25282d}.academy-demo-lines span:nth-child(2){width:78%}.academy-demo-lines span:nth-child(3){width:55%}.academy-cursor{position:absolute;left:52%;top:46%;width:16px;height:22px;background:linear-gradient(55deg,transparent 46%,#fff 47% 57%,transparent 58%);filter:drop-shadow(0 2px 2px #000);animation:academyCursor 1.8s ease-in-out infinite}@keyframes academyCursor{0%{transform:translate(100px,55px)}55%,to{transform:translate(0)}}.academy-play{position:absolute;left:31px;bottom:25px;display:grid;place-items:center;width:32px;height:32px;border:1px solid #3a3d43;border-radius:50%;background:#17191c;color:#fff;cursor:pointer}.academy-progress{position:absolute;left:76px;right:25px;bottom:37px;display:flex;gap:5px}.academy-progress button{height:3px;flex:1;border:0;border-radius:3px;background:#393c42;cursor:pointer}.academy-progress button.active{background:var(--g-accent)}.academy-copy{padding:44px 28px 28px}.academy-copy h2{margin:7px 0 18px;color:#fff;font-size:22px}.academy-copy ol{display:grid;gap:11px;margin:0;padding:0;list-style:none}.academy-copy li{display:flex;align-items:center;gap:9px;color:#858890;font-size:12px}.academy-copy li>span{display:grid;place-items:center;width:23px;height:23px;border:1px solid #3b3e44;border-radius:50%;font-size:10px}.academy-copy li.active{color:#fff;font-weight:700}.academy-copy li.active>span{border-color:var(--g-accent);background:var(--g-accent-soft);color:var(--g-accent)}.academy-example{margin-top:20px;padding:11px;border:1px solid var(--g-border);border-radius:9px;background:#0c0d0f}.academy-example b{color:#ddd;font-size:11px}.academy-example p{margin:4px 0 0;color:var(--g-muted);font-size:10px}.academy-apply{width:100%;margin-top:14px}.academy-notice{margin:12px 0 0;padding:9px;border-radius:8px;font-size:11px;line-height:1.4}.academy-notice.success{background:#123c30;color:#8aebca}.academy-notice.error{background:#401f23;color:#fda4af}@media (max-width:720px){.studio-stepper{overflow-x:auto}.studio-step{white-space:nowrap}.help-drawer{width:100vw}.analysis-academy{padding:14px}.academy-grid{grid-template-columns:1fr 1fr}.academy-modal{grid-template-columns:1fr}.academy-player{min-height:390px;padding:14px}.academy-demo-stage{height:270px}.academy-demo-form{padding:35px 20px}.academy-copy{padding:25px 18px}.academy-modal-backdrop{padding:8px}}