
:root{--bg:#f4f6f4;--paper:#fff;--ink:#172d32;--muted:#647676;--teal:#17665d;--soft:#e8f3ef;--line:#dbe3de;--purple:#514987;--purple-soft:#eeebf7;--gray:#879694;--amber:#8a4f08;--amber-soft:#fff3dd;--red:#a43139;--red-soft:#fcecee;--nav:#edf2ee;--radius:18px}
*{box-sizing:border-box}body{margin:0;background:var(--bg);color:var(--ink);font:14px/1.55 system-ui,-apple-system,BlinkMacSystemFont,'Segoe UI',sans-serif}button,input,select,textarea{font:inherit;color:inherit}button,a,input,select{touch-action:manipulation}button{cursor:pointer}a{color:var(--teal)}button{border:0}button:disabled{opacity:.45;cursor:not-allowed}button:focus-visible,a:focus-visible,input:focus-visible,select:focus-visible,textarea:focus-visible,summary:focus-visible{outline:3px solid #2b9b88;outline-offset:3px}h1,h2,h3,h4,p{margin:0}h1{font-size:31px;line-height:1.2;letter-spacing:-1px;font-weight:650}h2{font-size:19px;letter-spacing:-.35px;line-height:1.3}h3{font-size:15px}small,.small{font-size:12px}.muted{color:var(--muted)}.eyebrow{font-size:10px;letter-spacing:1.8px;text-transform:uppercase;font-weight:700;color:var(--teal)}.ico{width:19px;height:19px;flex:none;vertical-align:middle}.app{display:grid;grid-template-columns:204px minmax(0,1fr);min-height:100vh}.sidebar{position:sticky;top:0;height:100vh;background:var(--nav);border-right:1px solid var(--line);padding:29px 16px 18px;display:flex;flex-direction:column;gap:27px}.brand{display:flex;align-items:center;gap:11px;padding:0 7px;font-size:22px;letter-spacing:-.8px;font-weight:700}.brand-mark{display:grid;place-items:center;background:var(--teal);color:white;width:36px;height:39px;border-radius:11px}.brand small{display:block;color:var(--muted);font-size:10px;text-transform:uppercase;letter-spacing:1.6px;font-weight:550}.nav-title{font-size:10px;letter-spacing:1.5px;color:#7a8987;padding:0 13px;margin-bottom:8px;text-transform:uppercase}.nav-group{display:grid;gap:5px;margin-bottom:24px}.nav-btn{display:flex;align-items:center;gap:11px;text-align:left;padding:12px 13px;border-radius:11px;background:transparent;color:#586d6a;font-weight:530;width:100%;min-height:44px}.nav-btn:hover{background:#e1e9e3}.nav-btn[aria-current=page]{background:var(--ink);color:white}.nav-count{margin-left:auto;background:#ffffff22;border-radius:5px;padding:0 6px;font-size:11px}.sidebar-bottom{margin-top:auto;display:grid;gap:16px}.help-card{background:#fff9;padding:13px;border:1px solid var(--line);border-radius:12px;font-size:12px}.profile{display:flex;gap:10px;align-items:center;border-top:1px solid var(--line);padding:17px 7px 0}.avatar{width:34px;height:34px;border-radius:50%;background:#dbe9e2;display:grid;place-items:center;font-size:11px;font-weight:700}.profile strong{font-size:12px}.profile small{display:block;font-size:10px;color:var(--muted)}.workarea{min-width:0}.topbar{height:70px;border-bottom:1px solid var(--line);display:flex;align-items:center;justify-content:space-between;gap:16px;padding:0 30px;background:#f9faf8}.crumb{display:flex;align-items:center;gap:9px;font-size:12px;color:var(--muted)}.crumb span:last-child{color:var(--ink)}.top-actions,.row{display:flex;align-items:center;gap:10px}.spread{justify-content:space-between}.wrap{flex-wrap:wrap}.demo{display:inline-flex;gap:7px;align-items:center;border:1px solid #dccbab;color:#825717;background:#faf5e9;border-radius:6px;padding:4px 8px;font-size:10px;letter-spacing:.35px;font-weight:600;white-space:nowrap}.demo:before{content:'';width:5px;height:5px;border-radius:50%;background:#b28749}.role-btn{background:#fff;border:1px solid var(--line);border-radius:9px;display:flex;align-items:center;gap:8px;padding:8px 11px;font-size:11px}.main{max-width:1510px;margin:auto;padding:31px 31px 45px}.page-head{display:flex;justify-content:space-between;align-items:center;gap:20px;margin-bottom:26px}.page-head p{color:var(--muted);margin-top:7px;max-width:720px}.btn{display:inline-flex;justify-content:center;align-items:center;gap:8px;border:1px solid var(--line);background:white;border-radius:10px;min-height:41px;padding:9px 15px;font-size:12px;font-weight:600;white-space:nowrap}.btn:hover{border-color:#9bab9f;background:#f6f9f5}.btn.primary{background:var(--teal);border-color:var(--teal);color:white}.btn.primary:hover{background:#12554d}.btn.dark{background:var(--ink);border-color:var(--ink);color:white}.btn.quiet{background:transparent;border-color:transparent;padding:6px;color:var(--teal)}.btn.purple{color:var(--purple);background:var(--purple-soft);border-color:#ded8ef}.icon-btn{display:inline-flex;align-items:center;justify-content:center;background:white;border:1px solid var(--line);border-radius:9px;width:38px;height:38px}.panel{background:white;border:1px solid var(--line);border-radius:var(--radius);padding:22px;min-width:0}.panel-head{display:flex;justify-content:space-between;align-items:center;gap:12px;margin-bottom:19px}.pill{display:inline-flex;align-items:center;gap:5px;font-size:10px;line-height:1.4;font-weight:600;white-space:nowrap;border-radius:6px;padding:4px 7px;background:var(--soft);color:var(--teal)}.pill.purple{background:var(--purple-soft);color:var(--purple)}.pill.amber{background:var(--amber-soft);color:var(--amber)}.pill.gray{background:#eef1ee;color:#62736d}.pill.red{background:var(--red-soft);color:var(--red)}.pill.dot:before{content:'';height:5px;width:5px;background:currentColor;border-radius:50%}.grid2{display:grid;grid-template-columns:minmax(0,1.65fr) minmax(280px,1fr);gap:20px}.equal2{display:grid;grid-template-columns:1fr 1fr;gap:20px}.stack{display:grid;gap:18px}.kpis{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:14px;margin-bottom:23px}.kpi{padding:20px;background:#fff;border:1px solid var(--line);border-radius:15px}.kpi .label{font-size:11px;color:var(--muted)}.kpi strong{display:block;font-size:30px;letter-spacing:-1px;line-height:1.4;font-weight:600;font-variant-numeric:tabular-nums;margin:6px 0}.kpi small{font-size:10px;color:var(--muted)}.kpi.feature{background:var(--teal);color:white;border-color:var(--teal)}.kpi.feature .label,.kpi.feature small{color:#c5ded6}.change{color:var(--teal)!important}.toolbar{display:flex;gap:9px;align-items:center;margin-bottom:19px;flex-wrap:wrap}.search{position:relative;flex:1;min-width:180px}.search .ico{position:absolute;left:12px;top:12px;color:var(--muted)}input,select,textarea{width:100%;border:1px solid var(--line);border-radius:9px;background:white;min-height:42px;padding:9px 12px;outline:none}input[type=checkbox]{width:17px;min-height:17px;accent-color:var(--teal);margin:0}input[type=time]{min-width:110px}.search input{padding-left:39px}.toolbar select{width:auto;max-width:230px;font-size:12px}.field{display:grid;gap:7px;font-size:12px;font-weight:550}.field>small{font-weight:400;color:var(--muted)}.field textarea{resize:vertical;min-height:88px}.tabs{display:flex;gap:20px;border-bottom:1px solid var(--line);margin-bottom:22px}.tab{background:transparent;color:var(--muted);padding:11px 0;border-bottom:2px solid transparent;font-size:12px}.tab.active{color:var(--teal);border-bottom-color:var(--teal);font-weight:650}.chips{display:flex;gap:7px;flex-wrap:wrap}.chip{border:1px solid var(--line);background:white;border-radius:8px;padding:6px 10px;font-size:11px}.chip.active{background:var(--soft);color:var(--teal);border-color:#acc9be}.report-layout{display:grid;grid-template-columns:232px minmax(0,1fr);gap:24px;align-items:start}.report-layout>div{min-width:0}.report-list{display:grid;gap:10px}.report-card{display:block;text-align:left;width:100%;background:#fff;border:1px solid var(--line);border-radius:13px;padding:16px;position:relative;transition:background .15s}.report-card.active{border-color:var(--teal);box-shadow:0 0 0 1px var(--teal);background:#f4faf6}.report-card h3{font-size:13px;margin:11px 0 5px;line-height:1.4}.report-card .meta{font-size:10px;color:var(--muted);display:flex;justify-content:space-between;margin-top:15px}.report-thumb{display:flex;gap:3px;align-items:flex-end;height:29px;width:64px;margin:13px 0 0}.report-thumb span{width:8px;background:#bfd3c8;border-radius:2px 2px 0 0}.report-card.active .report-thumb span{background:#438776}.library-title{display:flex;justify-content:space-between;align-items:center;margin-bottom:13px;font-size:10px;color:var(--muted);text-transform:uppercase;letter-spacing:1px}.report-tools{display:flex;justify-content:space-between;align-items:center;gap:10px;margin:0 0 12px}.report-tools span{font-size:11px;color:var(--muted)}.sheet{background:white;border:1px solid #d7ded5;box-shadow:0 8px 28px #233a2c08;border-radius:4px;padding:38px 40px 28px;min-width:0}.sheet-top{display:flex;justify-content:space-between;align-items:center;border-bottom:1px solid var(--line);padding-bottom:17px;margin-bottom:26px}.sheet-brand{font-size:17px;font-weight:700;letter-spacing:-.5px}.sheet-brand span{font-weight:400;color:var(--muted);font-size:10px;letter-spacing:0;margin-left:9px}.sheet h2{font-size:32px;letter-spacing:-1px;font-weight:620;margin:9px 0 9px}.sheet-intro{font-size:12px;color:var(--muted);max-width:620px}.report-meta{display:flex;flex-wrap:wrap;gap:6px 18px;font-size:10px;color:var(--muted);margin-top:17px}.insight{background:#eff5f0;border-left:3px solid var(--teal);padding:18px 20px;margin:25px 0}.insight strong{display:block;font-size:14px;line-height:1.55;font-weight:580}.insight p{font-size:11px;color:var(--muted);margin-top:5px}.section-number{font-size:10px;letter-spacing:1px;color:var(--teal);font-weight:600;margin:25px 0 12px}.bar-row{padding:13px 0;border-bottom:1px solid #edf0eb}.bar-title{display:flex;justify-content:space-between;gap:10px;align-items:center;font-size:12px;margin-bottom:9px}.bar-title small{color:var(--muted);white-space:nowrap;font-size:10px}.stack-bar{height:25px;display:flex;overflow:hidden;border-radius:4px;background:#e9eee8}.stack-bar span{display:flex;align-items:center;justify-content:center;color:white;font-size:10px;font-weight:600;min-width:0}.for{background:var(--teal)}.against{background:var(--purple)}.abstain{background:var(--gray)}.legend{display:flex;gap:16px;flex-wrap:wrap;margin:13px 0;font-size:10px;color:var(--muted)}.legend span{display:flex;gap:6px;align-items:center}.legend i{height:7px;width:7px;display:inline-block;border-radius:2px}.report-bottom{display:grid;grid-template-columns:1fr 1fr;gap:24px;margin:20px 0}.report-bottom h4{font-size:12px;margin-bottom:7px}.report-bottom p{font-size:11px;color:var(--muted)}.sheet-footer{display:flex;justify-content:space-between;gap:12px;border-top:1px solid var(--line);padding-top:15px;font-size:9px;color:var(--muted);margin-top:25px}.sheet-footer strong{font-weight:500}.report-add{border:1px dashed #b9c9be;background:transparent;min-height:49px;font-size:11px;color:var(--teal);border-radius:10px;width:100%;margin-top:3px}.aside-note{font-size:11px;color:var(--muted);line-height:1.65;padding:8px 4px}.table-wrap{overflow-x:auto}table{width:100%;border-collapse:collapse;text-align:left}th{font-size:10px;color:var(--muted);font-weight:500;padding:0 12px 13px;border-bottom:1px solid var(--line);white-space:nowrap}td{padding:17px 12px;border-bottom:1px solid #edf0eb;font-size:12px;vertical-align:middle}td:first-child,th:first-child{padding-left:0}td:last-child,th:last-child{padding-right:0}tr:last-child td{border-bottom:0}.table-link{padding:0;background:transparent;text-align:left;color:var(--ink);font-weight:600;line-height:1.45}.table-link:hover{color:var(--teal)}.tiny-bar{display:flex;height:5px;width:96px;border-radius:4px;overflow:hidden;margin-top:5px}.tiny-bar span{display:block}.topic-mark{width:36px;height:36px;display:grid;place-items:center;background:var(--soft);color:var(--teal);border-radius:10px;flex:none}.topic-mark.purple{background:var(--purple-soft);color:var(--purple)}.empty{text-align:center;padding:55px 24px;color:var(--muted)}.empty h3{color:var(--ink);margin:12px 0 5px}.notice{padding:14px 17px;border:1px solid var(--line);background:var(--soft);border-radius:11px;font-size:12px;display:flex;gap:12px;align-items:flex-start;line-height:1.6}.notice.amber{background:var(--amber-soft);border-color:#ecdab9;color:var(--amber)}.notice.purple{background:var(--purple-soft);color:var(--purple);border-color:#dcd6ed}.metric-big{font-size:42px;letter-spacing:-1.8px;line-height:1.3;font-weight:600}.mini-stats{display:flex;gap:36px;padding:20px 0}.mini-stats strong{font-size:25px;font-weight:600;display:block}.mini-stats small{color:var(--muted);font-size:10px}.chart{width:100%;height:200px;display:block;overflow:visible}.chart text{font:10px system-ui;fill:#7d8b85}.chart .gridline{stroke:#e7ece6;stroke-width:1}.activity{display:grid;gap:0}.activity-item{display:flex;gap:12px;padding:15px 0;border-bottom:1px solid #edf0eb}.activity-item:last-child{border-bottom:0}.activity-item p{font-size:12px}.activity-item small{color:var(--muted);font-size:10px}.activity-icon{width:31px;height:31px;background:var(--soft);color:var(--teal);border-radius:9px;display:grid;place-items:center;flex:none}.schedule-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:18px}.schedule-top{display:flex;justify-content:space-between;align-items:flex-start;margin-bottom:15px}.schedule-top h3{margin:10px 0 4px}.schedule-info{display:grid;grid-template-columns:1fr 1fr;gap:18px;margin:22px 0;font-size:12px}.schedule-info small{display:block;color:var(--muted);margin-bottom:4px;font-size:10px}.schedule-footer{border-top:1px solid var(--line);padding-top:15px;display:flex;align-items:center;justify-content:space-between;gap:8px}.switch{width:37px;height:21px;background:#cad6cc;border-radius:14px;position:relative;flex:none}.switch:after{content:'';position:absolute;left:3px;top:3px;width:15px;height:15px;background:white;border-radius:50%;transition:left .2s}.switch[aria-checked=true]{background:var(--teal)}.switch[aria-checked=true]:after{left:19px}.pipeline{display:grid;grid-template-columns:repeat(3,1fr);gap:14px;position:relative}.node{text-align:left;border:1px solid var(--line);background:white;border-radius:14px;padding:18px;min-height:130px;display:flex;flex-direction:column;align-items:flex-start}.node:hover,.node.active{border-color:var(--teal);background:#f4faf5}.node strong{font-size:13px;margin:11px 0 4px}.node small{font-size:10px;color:var(--muted)}.node .node-head{display:flex;width:100%;align-items:center;justify-content:space-between}.node .step{font-size:10px;font-weight:600;color:var(--muted)}.connection-details{margin-top:18px;display:grid;grid-template-columns:1fr 1fr;gap:22px}.code-line{font:11px/1.8 ui-monospace,Consolas,monospace;color:var(--purple);overflow-wrap:anywhere}.list-row{display:flex;justify-content:space-between;align-items:center;gap:15px;padding:12px 0;border-bottom:1px solid #edf0eb;font-size:12px}.list-row:last-child{border:0}.progress{height:5px;background:#e8eee7;border-radius:3px;overflow:hidden;margin-top:8px}.progress>span{display:block;height:100%;background:var(--teal)}.org-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:18px}.org-logo{height:43px;width:43px;background:var(--purple-soft);color:var(--purple);border-radius:11px;display:grid;place-items:center;font-size:13px;font-weight:700}.org-card h3{margin:17px 0 3px}.org-card p{font-size:11px;color:var(--muted)}.org-card .list-row{font-size:11px}.org-card .btn{width:100%;margin-top:16px}.customer-banner{background:var(--purple);color:white;padding:16px 22px;border-radius:13px;margin-bottom:23px;display:flex;align-items:center;justify-content:space-between;gap:15px}.customer-banner p{font-size:11px;color:#dbd6ef}.customer-banner .btn{background:#ffffff16;color:white;border-color:#ffffff45}.customer-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:18px}.cover{background:#edf3e9;border-radius:11px;padding:20px;min-height:173px;display:flex;flex-direction:column;justify-content:space-between}.cover.purple{background:var(--purple-soft)}.cover h3{font-size:25px;font-weight:600;letter-spacing:-.8px;line-height:1.2;max-width:200px}.cover .eyebrow{font-size:8px}.customer-card .meta{font-size:10px;color:var(--muted);margin:15px 0}.customer-card .btn{width:100%}.status-line{font-size:11px;display:flex;align-items:center;gap:7px;margin-top:13px;color:var(--muted)}.split-metric{display:grid;grid-template-columns:1fr 1fr;gap:20px}.section-gap{margin-top:23px}.checkline{display:flex;align-items:center;gap:9px;font-size:12px;padding:10px 0}.checkline .ico{color:var(--teal);width:16px;height:16px}.seg-control{display:flex;background:#eaf0e9;padding:4px;gap:4px;border-radius:9px}.seg-control button{background:transparent;font-size:11px;padding:7px 12px;border-radius:6px;color:var(--muted)}.seg-control button.active{background:white;color:var(--ink);box-shadow:0 1px 4px #00000008}.form-grid{display:grid;grid-template-columns:1fr 1fr;gap:17px}.full{grid-column:1/-1}.check-grid{display:grid;grid-template-columns:1fr 1fr;gap:3px 15px}.mini-paper{padding:22px;background:white;border:1px solid var(--line);border-radius:6px;margin-top:17px}.mini-paper h3{font-size:21px;margin:18px 0 8px}.step-list{display:flex;gap:8px;margin-bottom:23px}.step-list span{font-size:10px;background:#e9eee8;padding:5px 9px;border-radius:5px;color:var(--muted)}.step-list .active{background:var(--soft);color:var(--teal)}dialog{padding:0;border:1px solid var(--line);border-radius:20px;color:var(--ink);width:min(880px,calc(100vw - 32px));max-height:90vh;box-shadow:0 25px 100px #172d3228;background:var(--bg)}dialog::backdrop{background:#142c3257;backdrop-filter:blur(3px)}.modal-head{display:flex;justify-content:space-between;align-items:center;gap:15px;padding:23px 28px;border-bottom:1px solid var(--line);background:white;position:sticky;top:0;z-index:2}.modal-head h2{font-size:21px}.modal-head p{font-size:11px;color:var(--muted);margin-top:4px}.modal-body{padding:26px 28px;overflow-y:auto;max-height:calc(90vh - 173px)}.modal-foot{border-top:1px solid var(--line);padding:16px 28px;display:flex;align-items:center;justify-content:space-between;gap:12px;background:white;position:sticky;bottom:0}.modal-foot .small{color:var(--muted);font-size:10px}.modal-cols{display:grid;grid-template-columns:1.15fr 1fr;gap:25px}.modal-preview{background:#eaf0e7;padding:18px;border-radius:12px}.drawer{width:min(900px,calc(100vw - 32px))}.toast{position:fixed;bottom:26px;left:calc(50% + 70px);transform:translateX(-50%) translateY(20px);opacity:0;pointer-events:none;background:var(--ink);color:white;border-radius:11px;padding:13px 20px;font-size:12px;box-shadow:0 10px 35px #172d3230;z-index:100;transition:.2s;max-width:calc(100vw - 40px)}.toast.visible{transform:translateX(-50%) translateY(0);opacity:1}.spinner{width:17px;height:17px;border:2px solid #ccd9cf;border-top-color:var(--teal);border-radius:50%;animation:spin .7s linear infinite}@keyframes spin{to{transform:rotate(360deg)}}.menu-mobile{display:none}.screen-note{margin-top:25px;color:var(--muted);font-size:10px;text-align:center}.skeleton-text{height:5px;background:#dce5d8;border-radius:2px;margin-top:7px}.stat-cards{display:grid;grid-template-columns:repeat(3,1fr);gap:15px}.stat-card{padding:19px;border:1px solid var(--line);background:#fff;border-radius:14px;text-align:left}.stat-card:hover{border-color:var(--teal)}.stat-card h3{min-height:42px;margin:12px 0;font-size:13px}.stat-card strong{font-size:24px;font-weight:600;display:block;margin:10px 0 3px}.audit-row{padding:13px 0;border-bottom:1px solid #edf0eb;font-size:12px}.audit-row small{display:block;color:var(--muted);margin-top:3px}.text-link{background:transparent;padding:0;color:var(--teal);text-decoration:underline;text-underline-offset:3px;font-size:11px}.no-margin{margin:0}.export-option{display:flex;justify-content:space-between;align-items:center;width:100%;background:white;border:1px solid var(--line);border-radius:11px;padding:15px;margin:9px 0;text-align:left}.export-option:hover{border-color:var(--teal)}.export-option small{display:block;color:var(--muted);font-size:11px;margin-top:3px}.print-area{display:none}.sr-only{position:absolute;clip:rect(0,0,0,0);width:1px;height:1px;overflow:hidden}.mobile-close{display:none}.trend-tip{font-size:10px;color:var(--muted);margin-top:7px}
@media(min-width:1550px){.main{padding:38px 45px}.report-layout{grid-template-columns:265px minmax(0,1fr);gap:30px}.sheet{padding:45px 60px}.report-card{padding:19px}.sheet h2{font-size:38px}}
@media(max-width:1190px){.app{grid-template-columns:178px minmax(0,1fr)}.sidebar{padding:25px 11px 16px}.main{padding:26px 22px}.topbar{padding:0 22px}.report-layout{grid-template-columns:195px minmax(0,1fr);gap:18px}.sheet{padding:29px 27px}.sheet h2{font-size:29px}.report-card{padding:13px}.top-actions .demo{font-size:9px}.kpi{padding:16px}.grid2{grid-template-columns:minmax(0,1.4fr) minmax(240px,1fr)}.customer-grid,.org-grid{grid-template-columns:repeat(2,1fr)}.sheet-brand span{display:none}}
@media(max-width:960px){.app{grid-template-columns:160px minmax(0,1fr)}.nav-btn{padding:11px 9px;font-size:12px}.brand{font-size:19px;gap:8px;padding:0}.brand-mark{width:30px;height:34px}.help-card{display:none}.topbar .crumb{display:none}.topbar{justify-content:flex-end}.kpis{grid-template-columns:repeat(2,1fr)}.grid2,.equal2{grid-template-columns:1fr}.report-layout{grid-template-columns:1fr}.report-list{display:flex;overflow-x:auto;padding:2px 2px 7px}.report-card{min-width:185px;flex:1}.report-thumb{display:none}.library-title,.report-add,.aside-note{display:none}.sheet{padding:30px}.stat-cards{grid-template-columns:repeat(2,1fr)}.page-head{align-items:flex-start}.page-head .row{flex-wrap:wrap;justify-content:flex-end}.modal-cols{grid-template-columns:1fr}.modal-preview{display:none}.schedule-grid{grid-template-columns:1fr}.pipeline{grid-template-columns:repeat(2,1fr)}}
@media(max-width:650px){.app{display:block}.sidebar{position:fixed;left:0;top:0;z-index:20;width:210px;transform:translateX(-100%);transition:transform .2s;box-shadow:8px 0 40px #172d3220}.sidebar.open{transform:translateX(0)}.mobile-close{display:inline-flex}.menu-mobile{display:inline-flex}.topbar{height:59px;padding:0 15px;justify-content:space-between}.top-actions{gap:6px}.role-btn{padding:7px;font-size:10px}.demo{font-size:8px!important;padding:4px 6px;letter-spacing:0}.top-actions .role-btn .ico{display:none}.main{padding:23px 16px 35px}.page-head{display:block;margin-bottom:20px}.page-head>.row{margin-top:15px;justify-content:flex-start}h1{font-size:27px}.page-head p{font-size:12px}.btn{padding:9px 12px;font-size:11px}.report-tools{flex-wrap:wrap}.report-tools .row{gap:6px}.sheet{padding:24px 19px}.sheet h2{font-size:27px}.sheet-brand{font-size:15px}.sheet-top{margin-bottom:20px}.report-bottom{grid-template-columns:1fr;gap:15px}.bar-title{align-items:flex-start}.bar-title small{font-size:9px}.report-card{min-width:170px}.report-card h3{font-size:12px}.sheet-footer{font-size:8px}.sheet-footer span{max-width:55%}.insight{padding:14px;margin:21px 0}.insight strong{font-size:12px}.panel{padding:18px}.kpis{gap:9px}.kpi strong{font-size:26px}.kpi .label{font-size:10px}.kpi small{font-size:9px}.customer-grid,.org-grid,.stat-cards{grid-template-columns:1fr}.customer-banner{align-items:flex-start;padding:17px}.customer-banner h2{font-size:16px}.customer-banner .btn{white-space:normal;font-size:10px;min-width:91px}.toolbar{gap:7px}.toolbar .search{flex-basis:100%}.toolbar select{max-width:100%;flex:1;min-width:110px}.form-grid,.check-grid,.connection-details{grid-template-columns:1fr}.panel-head{align-items:flex-start}.panel-head .btn{white-space:normal}.report-meta{gap:5px 11px}.sheet .section-number{font-size:9px}.modal-head{padding:19px}.modal-body{padding:19px}.modal-foot{padding:14px 19px}.modal-foot .small{max-width:40%}.modal-foot .btn{white-space:normal}.toast{left:50%;font-size:11px}.pipeline{gap:9px}.node{padding:13px}.node strong{font-size:12px}.node small{font-size:9px}.schedule-footer{flex-wrap:wrap}.split-metric{gap:14px}.mini-stats{gap:20px}.tabs{gap:16px;overflow-x:auto}.tab{white-space:nowrap}.profile{margin-top:0}}
@media(prefers-reduced-motion:reduce){*{scroll-behavior:auto!important;animation:none!important;transition:none!important}}
@media print{body{background:white}.app,dialog,.toast{display:none!important}.print-area{display:block}.print-area .sheet{border:0;box-shadow:none;padding:12mm;border-radius:0}.sheet{break-inside:avoid}.sheet h2{font-size:28px}@page{size:A4;margin:8mm}}
/* Focused workbench. Only the cube changes the surrounding application chrome. */
.cube-mode{background:#fff}.cube-mode .app{grid-template-columns:72px minmax(0,1fr)}.cube-mode .sidebar{padding:22px 12px;gap:34px;background:#edf2ee}.cube-mode .brand{padding:0;justify-content:center}.cube-mode .brand>div,.cube-mode .nav-title,.cube-mode .nav-count,.cube-mode .help-card,.cube-mode .profile>div{display:none}.cube-mode .nav-btn{font-size:0;justify-content:center;padding:12px;min-height:46px;border-radius:7px;gap:0}.cube-mode .nav-btn .ico{width:21px;height:21px}.cube-mode .nav-group{gap:9px;margin-bottom:26px}.cube-mode .profile{padding:15px 0 0;justify-content:center}.cube-mode .topbar{height:58px;background:white;padding:0 28px}.cube-mode .main{max-width:none;padding:0}.cube-mode .toast{left:50%}
.cube-titlebar{height:82px;padding:0 30px;display:flex;align-items:center;justify-content:space-between;gap:16px}.cube-titlebar h1{font-size:25px;letter-spacing:-.7px}.cube-title-actions{display:flex;align-items:center;gap:20px}.cube-titlebar .btn{border-radius:5px;padding:7px 14px;font-size:12px}.cube-text-btn{display:inline-flex;align-items:center;justify-content:center;gap:7px;background:none;color:#526764;padding:5px 0;font-size:12px;line-height:1.4}.cube-text-btn:hover{color:var(--teal)}.cube-text-btn .ico{width:16px;height:16px}.cube-contextbar{display:flex;align-items:center;gap:24px;padding:0 30px 20px;min-width:0}.cube-contextbar label{font-size:10px;text-transform:uppercase;letter-spacing:.8px;color:#75847e;min-width:0}.cube-contextbar select{display:block;border:0;border-bottom:1px solid #dce3df;border-radius:0;padding:6px 25px 6px 0;background:white;font-size:12px;min-height:32px;width:100%;color:#263b36;max-width:365px}.cube-contextbar label:first-child{width:220px}.cube-contextbar .cube-question{flex:1;max-width:385px}.cube-context-info{margin-left:auto;align-self:flex-end;margin-bottom:6px}
.cube-workbench{display:grid;grid-template-columns:244px 288px minmax(0,1fr);border-top:1px solid #dce3df;min-height:calc(100vh - 214px);align-items:stretch}.cube-workbench>*{min-width:0}.cube-column-title{display:flex;align-items:center;gap:10px;height:34px;margin-bottom:17px}.cube-column-title h2{font-size:14px;font-weight:650;letter-spacing:0}.cube-step{font:600 11px/22px system-ui;width:23px;height:23px;text-align:center;border-radius:50%;background:#eaf0ed;color:#536c62;flex:none}.cube-column-title>.field-info{margin-left:auto}.cube-catalog{padding:21px 18px 18px;background:#fff;border-right:1px solid #dce3df;display:flex;flex-direction:column}.cube-search{position:relative;margin-bottom:9px}.cube-search>.ico{position:absolute;width:16px;height:16px;left:10px;top:10px;color:#71827c}.cube-search input{font-size:12px;border:0;background:#f1f4f2;border-radius:5px;padding:8px 10px 8px 33px;min-height:36px;width:100%}.cube-catalog-options select{border:0;padding:4px 18px 4px 0;border-radius:0;background:transparent;font-size:11px;color:#63776e;min-height:29px;width:100%}.cube-catalog-body{padding:8px 0 16px;max-height:calc(100vh - 420px);min-height:270px;overflow:auto;scrollbar-width:thin;scrollbar-color:#bccbc3 transparent}.cube-field-group{margin-bottom:16px}.cube-field-group h3{font-size:11px;font-weight:650;color:#24594c;display:flex;justify-content:space-between;align-items:center;margin:5px 6px 7px}.cube-field-group.dimension h3{color:#346b9c}.cube-field-group h3 span{font-size:10px;color:#85948c;font-weight:400}.cube-field{min-height:37px;display:flex;align-items:center;gap:1px;border-radius:4px;cursor:grab;user-select:none;position:relative}.cube-field:hover{background:#f0f5f1}.cube-field.dimension:hover{background:#edf5fc}.cube-field.selected{background:#d9eae1;box-shadow:inset 3px 0 #17665d}.cube-field.dimension.selected{background:#e4effa;box-shadow:inset 3px 0 #386fa2}.cube-field-name{background:transparent;text-align:left;padding:9px 4px 9px 6px;display:flex;align-items:center;gap:9px;min-width:0;flex:1;cursor:grab;font-size:12px;font-weight:500}.cube-field-name>.ico{width:16px;height:16px;color:#20745b}.cube-field.dimension .cube-field-name>.ico{color:#386fa2}.cube-field-name>span{flex:1;min-width:0}.cube-used{width:11px!important;height:11px!important}.cube-grip{color:#9ca9a2;font-size:15px;width:12px;opacity:.5;pointer-events:none}.field-info{background:transparent;display:inline-grid;place-items:center;color:#6c8074;padding:0;width:24px;height:28px;flex:none}.field-info .ico{width:14px;height:14px}.field-info.status-new,.field-info.status-derived{color:#966d15}.cube-field .field-info{opacity:.5}.cube-field:hover .field-info,.cube-field:focus-within .field-info{opacity:1}.cube-field.unavailable{opacity:.45;cursor:default}.cube-field.unavailable .cube-field-name{cursor:pointer}.cube-field.unavailable .cube-grip{visibility:hidden}.cube-field.is-dragging,.cube-drop-target.is-dragging{opacity:.4}.cube-no-fields{font-size:12px;color:#667970;padding:15px 4px}.cube-catalog-foot{margin-top:auto;border-top:1px solid #edf0ee;padding-top:14px;display:grid;gap:12px}.cube-catalog-foot label{font-size:11px;color:#6a7a71;display:flex;align-items:center;gap:7px}.cube-catalog-foot input{margin:0;accent-color:var(--teal)}.cube-catalog-foot .cube-text-btn{justify-content:flex-start}
.cube-recipe{padding:21px 23px 23px;background:#f9faf8;border-right:1px solid #dce3df;display:flex;flex-direction:column}.cube-recipe .cube-column-title{margin-bottom:4px}.cube-drag-caption{font-size:11px;color:#78877e;margin:0 0 20px 33px}.cube-axes{display:grid;gap:13px}.cube-drop{--drop-color:#3e709e;--drop-soft:#f0f6fd;border:1.5px dashed #91b1cf;border-radius:6px;background:var(--drop-soft);padding:13px;position:relative;transition:background .12s,box-shadow .12s,opacity .12s;min-height:100px}.cube-drop.y{--drop-color:#207458;--drop-soft:#edf7f1;border-color:#82b99f}.cube-drop.z{--drop-color:#666181;--drop-soft:#f5f3f9;border-color:#b7afc9;min-height:85px;margin-top:8px}.cube-drop.filter{--drop-color:#6e7765;--drop-soft:#f4f5ef;border-color:#c0c6b5;margin-top:13px;min-height:84px}.cube-drop.filled{border-style:solid}.cube-drop-label{display:flex;align-items:center;gap:8px;color:var(--drop-color);font-size:11px;margin-bottom:9px}.cube-axis-letter{font-size:14px;font-weight:700;line-height:20px;width:18px}.cube-drop-label strong{font-weight:600}.cube-drop-label small{margin-left:auto;font-size:10px;color:#81877e;font-weight:400}.cube-drop-label>.ico{width:15px;height:15px}.cube-drop-content{display:flex;align-items:center;min-width:0}.cube-drop-target{background:transparent;display:flex;align-items:center;gap:8px;padding:4px 0;min-height:34px;font-size:12px;color:var(--drop-color);width:100%;text-align:left;border-radius:3px}.cube-drop-target[draggable=true]{cursor:grab;color:#203b34;font-weight:650}.cube-drop-target>.ico{width:16px;height:16px;color:var(--drop-color)}.cube-drop-target>span{min-width:0}.cube-plus{font-size:24px;font-weight:300;line-height:20px;width:19px;text-align:center;flex:none}.cube-remove{border:0;background:transparent;color:#62736c;display:grid;place-items:center;width:26px;height:30px;padding:4px;flex:none;border-radius:3px}.cube-remove .ico{width:14px;height:14px}.cube-remove:hover{background:#ffffffa0;color:var(--red)}.cube-drop.can-drop{border-style:solid;box-shadow:0 0 0 3px color-mix(in srgb,var(--drop-color) 19%,transparent);border-color:var(--drop-color)}.cube-drop.cannot-drop{opacity:.35}.cube-drop.drop-hover{background:color-mix(in srgb,var(--drop-color) 20%,white);box-shadow:0 0 0 4px color-mix(in srgb,var(--drop-color) 28%,transparent)}.cube-drop.drop-hover:after{content:'Pustit sem';position:absolute;right:10px;top:-10px;background:var(--drop-color);color:white;padding:2px 8px;border-radius:3px;font-size:10px}.cube-filter-chip{display:flex;align-items:center;gap:8px;padding-bottom:5px}.cube-filter-chip label{font-size:10px;color:#5d6c60;min-width:0;flex:1}.cube-filter-chip select{padding:5px 4px;border:0;background:#fff9;border-radius:3px;width:100%;font-size:12px;min-height:30px}.cube-generate-area{margin-top:auto;padding-top:19px}.cube-selection-hint{min-height:32px;font-size:11px;line-height:1.4;color:#6d7e74;margin-bottom:9px}.cube-generate{display:flex;align-items:center;justify-content:center;gap:10px;width:100%;padding:13px 12px;background:#17665d;color:white;border-radius:5px;font-size:13px;font-weight:600;min-height:48px}.cube-generate>.ico{width:17px;height:17px}.cube-generate>.ico:last-child{margin-left:auto}.cube-generate:hover:not(:disabled){background:#10544c}.cube-generate:disabled{background:#dfe6df;color:#718075;opacity:1}
.cube-preview{padding:21px 29px 17px;background:#fff;display:flex;flex-direction:column;min-height:590px}.cube-preview .cube-column-title{margin-bottom:26px}.cube-preview .cube-step{background:#f0f2ef;color:#758279}.cube-view-toggle{margin-left:auto;display:flex;align-items:center;gap:12px}.cube-view-toggle button{background:transparent;color:#7a8980;display:flex;align-items:center;gap:5px;font-size:11px;border-bottom:2px solid transparent;padding:7px 0}.cube-view-toggle button .ico{width:14px;height:14px}.cube-view-toggle button.active{color:var(--teal);border-bottom-color:var(--teal)}.cube-empty-result{flex:1;display:flex;align-items:center;justify-content:center;flex-direction:column;color:#728479;text-align:center;padding:55px 10px 90px;min-height:370px}.cube-empty-result>.ico{width:60px;height:60px;stroke-width:1;color:#bbcfc0;margin-bottom:22px}.cube-empty-result h3{font-size:17px;font-weight:550;color:#6a8070;letter-spacing:-.3px}.cube-empty-result p{font-size:12px;color:#85928a;margin:8px 0 18px}.cube-empty-result .cube-text-btn{font-size:11px;text-decoration:underline;text-underline-offset:4px}.cube-result-heading h3{font-size:19px;letter-spacing:-.4px;line-height:1.3;font-weight:600}.cube-result-heading p{font-size:11px;color:#7b8881;margin-top:7px;line-height:1.5}.cube-summary{display:flex;align-items:baseline;flex-wrap:wrap;column-gap:9px;row-gap:2px;margin:30px 0 28px;padding-bottom:18px;border-bottom:1px solid #eef1ee}.cube-summary>strong{font-size:32px;letter-spacing:-1px;font-weight:550;line-height:1.2;color:#235448}.cube-summary>span{font-size:10px;color:#7a8b7f}.cube-summary .cube-sample{width:100%;margin-top:4px}.cube-chart{min-height:210px}.cube-chart-row{margin:18px 0;display:grid;grid-template-columns:92px minmax(0,1fr);gap:15px;align-items:center}.cube-chart-row>strong{font-size:11px;font-weight:500;color:#536b5c}.cube-chart-series{display:grid;gap:4px}.cube-track{height:24px;margin-right:54px;background:transparent;position:relative}.cube-track>span{height:100%;display:block;min-width:2px;border-radius:0 2px 2px 0}.cube-track b{position:absolute;left:calc(100% + 9px);top:3px;white-space:nowrap;font-size:11px;font-weight:500;color:#415b4b;font-variant-numeric:tabular-nums}.cube-chart-legend{display:flex;gap:12px;flex-wrap:wrap;font-size:10px;color:#60776a;margin-bottom:20px}.cube-chart-legend i{display:inline-block;width:7px;height:7px;margin-right:5px;border-radius:1px}.cube-chart-axis{display:flex;justify-content:space-between;gap:16px;font-size:10px;color:#8a968e;border-top:1px solid #edf0ed;padding-top:11px;margin-top:24px}.cube-result-filters{margin-top:16px;font-size:11px;color:#6a7c70}.cube-result-actions{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-top:auto;padding:32px 0 13px}.cube-result-actions>div{display:flex;gap:8px}.cube-result-actions .btn{border-radius:4px;font-size:11px;padding:7px 10px}.cube-result-actions .btn .ico{width:16px;height:16px}.cube-result-note{font-size:10px;color:#8c988f;margin-top:auto;padding-top:14px;text-align:right}.cube-table th,.cube-table td{font-size:11px;padding:10px 9px}.cube-table td.metric{font-weight:600;font-variant-numeric:tabular-nums}.cube-table .denom{font-size:9px;font-weight:400;display:block;color:#7e8c81;margin-top:4px}.cube-locked{padding:50px 8px;flex:1;color:#78632d}.cube-locked>.ico{width:32px;height:32px;margin-bottom:18px}.cube-locked h3{font-size:17px;margin-bottom:12px}.cube-locked p{font-size:12px;color:#7d8171;line-height:1.6;margin-bottom:22px;max-width:360px}.cube-locked .cube-text-btn{display:block;margin-top:14px;font-size:11px}
/* Existing secondary data views remain available in dialogs and report snapshots. */
.cube-fact{display:grid;grid-template-columns:125px 1fr;gap:14px;padding:13px 0;border-bottom:1px solid var(--line);font-size:12px}.cube-fact>span{color:var(--muted)}.cube-dictionary-table td{vertical-align:top;min-width:145px}.cube-data-card{display:grid;grid-template-columns:repeat(4,1fr);gap:10px;margin-bottom:18px}.cube-data-card>div{padding:13px;background:var(--bg);font-size:11px}.cube-data-card strong{display:block;font-size:23px;font-weight:600}.cube-recipe-list{display:grid;gap:10px}.cube-recipe-row{border-bottom:1px solid var(--line);padding:13px 0;display:flex;justify-content:space-between;align-items:center;gap:12px}.cube-recipe-row small{display:block;color:var(--muted)}
@media(min-width:1500px){.cube-workbench{grid-template-columns:270px 320px minmax(0,1fr)}.cube-catalog{padding:24px}.cube-recipe{padding:24px 28px}.cube-preview{padding:24px 40px}.cube-field-name{font-size:13px}.cube-field{min-height:40px}}
@media(max-width:1120px){.cube-workbench{grid-template-columns:220px 254px minmax(0,1fr)}.cube-catalog{padding:20px 14px}.cube-recipe{padding:20px 18px}.cube-preview{padding:20px}.cube-field-name{font-size:11px;gap:7px}.cube-drop{padding:11px}.cube-chart-row{grid-template-columns:65px minmax(0,1fr);gap:9px}.cube-contextbar{gap:18px}.cube-contextbar label:first-child{width:185px}.cube-result-actions{flex-wrap:wrap}.cube-preview .cube-column-title{flex-wrap:wrap;height:auto}.cube-view-toggle{gap:9px}.cube-result-heading h3{font-size:17px}.cube-context-info{font-size:0}.cube-context-info .ico{width:17px;height:17px}}
@media(max-width:960px){.cube-workbench{grid-template-columns:235px minmax(0,1fr)}.cube-preview{grid-column:1/-1;border-top:1px solid #dce3df;min-height:470px}.cube-catalog-body{max-height:450px}.cube-recipe{border-right:0}.cube-axes{grid-template-columns:1fr 1fr;gap:12px}.cube-drop.z{grid-column:1/-1;margin-top:0;min-height:75px}.cube-preview .cube-column-title{height:34px;flex-wrap:nowrap}.cube-chart-row{grid-template-columns:120px minmax(0,1fr)}.cube-empty-result{min-height:250px;padding:25px 0 50px}.cube-result-actions{margin-top:20px}.cube-contextbar{flex-wrap:wrap;gap:12px 20px}.cube-contextbar .cube-question{max-width:none;min-width:210px}.cube-contextbar .cube-question select{max-width:100%}.cube-workbench{min-height:0}}
@media(max-width:700px){.cube-mode .app{display:block}.cube-mode .sidebar{width:210px;transform:translateX(-100%);position:fixed;z-index:20;top:0;left:0;height:100vh}.cube-mode .sidebar.open{transform:translateX(0)}.cube-mode .sidebar .brand>div,.cube-mode .sidebar .nav-title,.cube-mode .sidebar .profile>div{display:block}.cube-mode .sidebar .nav-btn{font-size:12px;justify-content:flex-start;gap:10px}.cube-mode .menu-mobile{display:inline-flex}.cube-mode .topbar{height:56px;padding:0 16px;justify-content:space-between}.cube-titlebar{padding:0 18px;height:70px}.cube-titlebar h1{font-size:22px}.cube-title-actions{gap:12px}.cube-title-actions .cube-text-btn{font-size:0;gap:0}.cube-title-actions .cube-text-btn .ico{width:20px;height:20px}.cube-contextbar{padding:0 18px 16px;gap:8px 15px}.cube-contextbar label:first-child{flex:1;width:auto}.cube-contextbar .cube-question{order:3;flex-basis:100%}.cube-context-info{display:none}.cube-workbench{grid-template-columns:minmax(150px,43%) minmax(0,1fr)}.cube-catalog{padding:15px 10px}.cube-recipe{padding:15px 12px}.cube-column-title{gap:6px;margin-bottom:12px}.cube-column-title h2{font-size:12px}.cube-step{width:20px;height:20px;line-height:20px;font-size:10px}.cube-drag-caption{font-size:10px;margin:0 0 14px;line-height:1.4}.cube-axes{grid-template-columns:1fr;gap:10px}.cube-drop{padding:10px;min-height:93px}.cube-drop-target{font-size:11px}.cube-drop.z{grid-column:auto;min-height:75px}.cube-drop-label{font-size:10px;gap:5px}.cube-drop-label small{font-size:9px}.cube-field-name{font-size:11px;gap:6px;padding:9px 2px}.cube-field-name>.ico{width:14px;height:14px}.cube-field .field-info{width:21px;opacity:.55}.cube-grip{display:none}.cube-field{min-height:42px}.cube-catalog-body{max-height:490px}.cube-search input{padding-left:27px;font-size:11px}.cube-search>.ico{left:7px;width:14px}.cube-generate{font-size:11px;gap:6px;padding:12px 8px}.cube-generate>.ico:last-child{display:none}.cube-preview{padding:19px 18px}.cube-field-group h3{font-size:10px;margin-left:2px}.cube-selection-hint{font-size:10px;min-height:28px}.cube-catalog-foot label{font-size:10px}.cube-catalog-foot .cube-text-btn{font-size:10px}.cube-chart-row{grid-template-columns:76px minmax(0,1fr);gap:8px}.cube-fact{grid-template-columns:1fr;gap:4px}.cube-data-card{grid-template-columns:1fr 1fr}.cube-titlebar .btn{font-size:11px;padding:6px 9px}}
@media(prefers-reduced-motion:reduce){.cube-drop{transition:none}}
/* Keep the primary action visible on a 720px-high desktop. */
@media(min-width:961px){.cube-preview{min-height:490px}.cube-drop{min-height:82px;padding:10px 12px}.cube-axes{gap:10px}.cube-drop-label{margin-bottom:5px}.cube-drop.z{min-height:68px;margin-top:3px}.cube-drop.filter{min-height:68px;margin-top:10px}.cube-drop-target{min-height:29px}.cube-drag-caption{margin-bottom:14px}.cube-generate-area{padding-top:10px}.cube-selection-hint{min-height:16px;margin-bottom:9px}.cube-generate{min-height:44px;padding:11px 12px}.cube-catalog-body{max-height:calc(100vh - 365px)}.cube-empty-result{min-height:330px;padding:30px 10px 60px}}
@media(min-width:961px){.cube-workbench{height:calc(100vh - 208px);min-height:490px}.cube-catalog-body{flex:1;min-height:0;max-height:none}.cube-preview{min-height:0;overflow-y:auto}.cube-recipe{overflow-y:auto}.cube-recipe .cube-column-title{margin-bottom:13px}.cube-drag-caption{display:none}.cube-drop.z,.cube-drop.filter{padding:8px 11px}.cube-generate-area{position:sticky;bottom:-23px;background:#f9faf8;padding-bottom:2px}.cube-empty-result{min-height:260px}.cube-catalog-foot{flex-shrink:0}}
@media(min-width:961px){.cube-workbench{grid-template-rows:minmax(0,1fr)}.cube-workbench>*{min-height:0}.cube-catalog{overflow:hidden}}

/* Chart controls and field definitions; the existing workbench stays in place. */
.cube-chart-controls{display:flex;align-items:center;margin:15px 0 18px}
.cube-chart-controls label{display:flex;align-items:center;gap:8px;color:#526764;min-width:0}
.cube-chart-controls .ico{width:17px;height:17px;flex-shrink:0}
.cube-chart-controls select{font-size:12px;color:#263b36;border:0;border-bottom:1px solid #dce3df;border-radius:0;background:#fff;padding:7px 25px 7px 0;min-height:34px;max-width:100%}
.cube-plot{display:block;width:100%;height:auto;overflow:visible;font-family:inherit}
.cube-gridline{stroke:#e6ebe7;stroke-width:1}
.cube-tick{font-size:14px;fill:#62736a}
.cube-label{font-size:15px;fill:#263b36;font-weight:600}
.cube-value{font-size:14px;fill:#263b36;font-variant-numeric:tabular-nums}
.cube-segment-value{font-size:13px;fill:#fff;font-weight:600;pointer-events:none}
.cube-mark{transition:opacity .15s}.cube-mark:hover{opacity:.8}
.cube-axis-caption{font-size:11px;color:#62736a;text-align:right;margin-top:10px}
.cube-pie-legend{display:grid;gap:9px;max-width:390px;margin:6px auto 15px;font-size:12px}
.cube-pie-legend>div{display:grid;grid-template-columns:minmax(0,1fr) 60px 62px;align-items:center;gap:12px}
.cube-pie-legend span{display:flex;gap:8px;align-items:center;min-width:0}
.cube-pie-legend i{width:9px;height:9px;flex-shrink:0;border-radius:2px}
.cube-pie-legend strong,.cube-pie-legend small{text-align:right;font-variant-numeric:tabular-nums}
.cube-pie-legend small{color:#62736a;font-size:11px}
.cube-field-dialog{max-width:460px}.cube-field-definition{font-size:15px;line-height:1.7;color:#263b36}
.cube-field-areas{color:#738179;font-size:12px;margin-top:20px}
.modal-head p:empty{display:none}
.cube-dictionary-dialog .cube-dictionary-table td{white-space:normal;min-width:0}
.cube-dictionary-dialog .cube-dictionary-table td:first-child{width:170px}
@media(max-width:700px){.cube-chart-controls{margin:12px 0}.cube-pie-legend>div{gap:6px}.cube-plot{min-width:0}}
/* v5: viewport-bound workspace and result. Charts never create page scrolling. */
.cube-mode .app{height:100dvh;min-height:0;overflow:clip}
.cube-mode .sidebar{overflow-x:hidden;overflow-y:auto}
.cube-mode .workarea{height:100dvh;min-height:0;display:grid;grid-template-rows:58px minmax(0,1fr)}
.cube-mode .main{display:grid;grid-template-rows:68px 62px minmax(0,1fr);min-height:0;overflow:visible;width:100%;margin:0}
.cube-titlebar{height:auto}.cube-contextbar{padding-bottom:12px;align-items:center;min-height:0}
.cube-workbench{height:auto;min-height:0;grid-template-rows:minmax(0,1fr);grid-template-columns:220px 250px minmax(0,1fr)}
.cube-workbench>*{min-height:0}.cube-catalog{overflow:hidden;padding:18px 16px}
.cube-catalog-body{min-height:0;max-height:none;flex:1}.cube-catalog-foot{padding-top:9px;gap:8px;flex-shrink:0}
.cube-recipe{overflow:auto;padding:18px 20px}.cube-drag-caption{display:none!important}
.cube-selection-hint{position:absolute;width:1px;height:1px;padding:0;overflow:hidden;clip-path:inset(50%);white-space:nowrap;margin:0;min-height:0}
.cube-generate-area{position:sticky;bottom:-18px;margin-top:auto;padding:12px 0 0;background:#f9faf8}
.cube-preview{grid-column:auto;padding:18px 22px 14px;overflow:hidden;min-height:0;border-top:0}
.cube-preview .cube-column-title{flex:none;flex-wrap:nowrap;height:34px;min-height:34px;margin-bottom:18px;gap:8px}
.cube-result-tools{display:flex;align-items:center;gap:12px;margin-left:auto;min-width:0}
.cube-chart-controls{margin:0;min-width:0;display:block}
.cube-chart-controls select{width:160px;max-width:100%;min-height:32px;padding:5px 20px 5px 7px;font-size:11px;border:1px solid #e1e6ef;border-radius:5px;color:#30405c;background:#fff}
.cube-view-toggle{margin-left:0;gap:3px}.cube-view-toggle button{width:27px;height:31px;justify-content:center;padding:4px}
.cube-result-body{flex:1;min-height:0;display:flex;flex-direction:column;gap:14px}
.cube-result-heading{flex:none}.cube-result-heading h3{font-size:20px;letter-spacing:-.5px;color:#172744}.cube-result-heading p{color:#657187;font-size:12px;line-height:1.4;margin-top:5px}
.cube-chart-stage{display:flex;flex-direction:column;flex:1;min-height:0;overflow:hidden}
.cube-chart-stage .cube-plot{flex:1;min-height:0;width:100%;height:100%;overflow:hidden}
.cube-chart-legend{flex:none;display:flex;align-content:flex-start;gap:0 12px;margin:0;font-size:11px;line-height:19px;color:#647087}
.cube-chart-legend span{white-space:nowrap}.cube-chart-legend i{height:8px;width:8px;border-radius:50%;margin-right:5px}
.cube-gridline{stroke:#e8edf5}.cube-tick{font-size:11px;fill:#77839a}.cube-label{font-size:12px;fill:#23334f;font-weight:500}.cube-value{font-size:11px;fill:#23334f;font-weight:600}.cube-segment-value{font-size:10px;fill:#fff;paint-order:stroke;stroke:#0002;stroke-width:1px}
.cube-result-actions{flex:none;height:44px;min-height:44px;margin:0;padding:8px 0 0;flex-wrap:nowrap}.cube-result-actions>div{margin-left:auto}
.cube-result-filters{flex:none;margin:0;font-size:11px}.cube-table-stage{flex:1;min-height:0;overflow:auto}
.cube-empty-result{min-height:0;padding:0;flex:1}.cube-locked{min-height:0;padding:20px 5px;overflow:auto}
.cube-context-label{display:block;font-size:10px;text-transform:uppercase;letter-spacing:.8px;color:#75847e}
.cube-question{position:relative;min-width:0;flex:1;max-width:430px}
.cube-question-trigger{display:flex;justify-content:space-between;align-items:center;gap:15px;width:100%;min-height:32px;background:white;border-bottom:1px solid #dce3df;padding:6px 0;color:#263b36;font-size:12px;text-align:left}
.cube-question-trigger>span:first-child{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.cube-question-options{position:absolute;z-index:12;right:0;top:100%;width:min(410px,calc(100vw - 32px));max-height:calc(100dvh - 190px);overflow-y:auto;padding:12px;background:#fff;box-shadow:0 12px 40px #17274422;border:1px solid #e1e6ef;border-radius:8px;display:grid;gap:4px}
.cube-question-options label{display:flex;align-items:center;gap:10px;padding:10px 8px;width:100%!important;font-size:12px;text-transform:none;letter-spacing:0;color:#23334f;cursor:pointer}
.cube-question-options label:hover{background:#f1f5ff;border-radius:4px}.cube-question-options input{accent-color:#2563eb;flex:none;width:16px;height:16px;margin:0}
.cube-question-options .btn{justify-self:end;margin-top:6px;padding:6px 14px}
.cube-question-tabs{display:flex;gap:6px;flex:none;margin:-6px 0 13px}
.cube-question-tabs button{width:28px;height:27px;background:#f2f5fa;color:#5e6c83;border:1px solid transparent;border-radius:5px;font-size:11px;font-weight:600}
.cube-question-tabs button[aria-pressed=true]{background:#2563eb;color:#fff;box-shadow:0 3px 8px #2563eb24}
.cube-mobile-switch{display:none}.cube-report-question{margin:26px 0 10px}
@media(min-width:1500px){.cube-workbench{grid-template-columns:250px 280px minmax(0,1fr)}.cube-preview{padding:22px 34px}}
@media(min-width:901px) and (max-width:1100px){.cube-workbench{grid-template-columns:198px 222px minmax(0,1fr)}.cube-recipe{padding:16px}.cube-preview{padding:16px}.cube-result-tools{gap:6px}.cube-chart-controls select{width:143px}.cube-preview .cube-column-title{gap:6px}.cube-column-title h2{font-size:13px}}
@media(max-height:740px) and (min-width:901px){.cube-mode .main{grid-template-rows:56px 56px minmax(0,1fr)}.cube-catalog,.cube-recipe,.cube-preview{padding-top:12px;padding-bottom:10px}.cube-column-title{margin-bottom:12px}.cube-drop{min-height:68px;padding:8px 10px}.cube-drop.z,.cube-drop.filter{min-height:58px}.cube-drop-label{margin-bottom:3px}.cube-generate-area{bottom:-10px}.cube-catalog-foot{gap:4px}.cube-catalog-foot .cube-text-btn{font-size:10px}}
@media(max-width:900px){
 .cube-mode .workarea{grid-template-rows:56px minmax(0,1fr)}.cube-mode .topbar{height:56px}
 .cube-mode .main{grid-template-rows:96px 92px minmax(0,1fr)}
 .cube-titlebar{padding:0 18px 32px;position:relative}.cube-titlebar h1{font-size:22px}
 .cube-mobile-switch{position:absolute;bottom:6px;left:18px;display:flex;gap:20px;height:28px}
 .cube-mobile-switch button{background:none;padding:4px 0;border-bottom:2px solid transparent;color:#77839a;font-size:12px}
 .cube-mobile-switch button[aria-pressed=true]{border-color:#2563eb;color:#2563eb}
 .cube-contextbar{flex-wrap:wrap;padding:0 18px 12px;gap:4px 15px;align-items:center}
 .cube-contextbar label:first-child{flex:1;width:auto}.cube-contextbar .cube-question{order:3;flex-basis:100%;max-width:none;min-width:0}
 .cube-workbench{grid-template-columns:minmax(145px,43%) minmax(0,1fr);grid-template-rows:minmax(0,1fr)}
 .cube-catalog{padding:12px 10px}.cube-recipe{padding:12px;min-height:0;border-right:0}.cube-catalog-body{min-height:0;max-height:none}
 .cube-axes{grid-template-columns:1fr;gap:8px}.cube-drop{min-height:64px;padding:8px 10px}.cube-drop-label{margin-bottom:3px}.cube-drop.z{grid-column:auto;min-height:58px}.cube-drop.filter{min-height:58px;margin-top:8px;padding:8px 10px}
 .cube-generate-area{bottom:-12px;padding-top:10px}.cube-generate{min-height:42px}.cube-recipe .cube-column-title{margin-bottom:10px}
 .cube-preview{display:none;grid-column:1/-1;padding:14px 18px 12px;min-height:0}
 .cube-result-visible .cube-catalog,.cube-result-visible .cube-recipe{display:none}.cube-result-visible .cube-preview{display:flex}
 .cube-result-tools{gap:6px}.cube-chart-controls select{width:140px}.cube-view-toggle{gap:0}.cube-view-toggle button{width:25px}
 .cube-preview .cube-column-title{gap:5px;margin-bottom:15px}.cube-preview .cube-column-title h2{font-size:13px}
 .cube-result-heading h3{font-size:19px}.cube-result-heading p{font-size:11px}
 .cube-question-options{width:100%;max-height:calc(100dvh - 260px)}.cube-field{min-height:37px}.cube-field-name{padding:8px 2px}
}
@media(max-height:560px) and (min-width:601px) and (max-width:900px){
 .cube-mode.cube-result-visible .workarea{grid-template-rows:minmax(0,1fr)}
 .cube-mode.cube-result-visible .topbar{display:none}
 .cube-mode.cube-result-visible .main{grid-template-rows:52px minmax(0,1fr)}
 .cube-result-visible .cube-titlebar{padding:0 18px;gap:20px}
 .cube-result-visible .cube-titlebar h1{display:none}
 .cube-result-visible .cube-mobile-switch{position:static;margin-right:auto;flex-shrink:0}
 .cube-result-visible .cube-contextbar{display:none}
 .cube-result-visible .cube-preview{padding:10px 18px 8px}
 .cube-result-visible .cube-preview .cube-column-title{margin-bottom:6px}
 .cube-result-visible .cube-question-tabs{margin:0 0 8px}
 .cube-result-visible .cube-result-body{gap:8px}
 .cube-result-visible .cube-result-heading h3{font-size:17px}
}

/* v6: distinguish choosing, assembling and reading without changing the workflow. */
.cube-mode{--studio-ink:#17243b;--studio-blue:#315bff;--studio-mint:#54e6bf;color:var(--studio-ink)}
.cube-mode .sidebar{background:#142137;border-right:0;scrollbar-width:thin;scrollbar-color:#42516b transparent}
.cube-mode .brand-mark{background:#54e6bf;color:#122d2c;border-radius:12px}
.cube-mode .nav-btn{color:#b7c4d7;border-radius:12px;transition:background .16s,color .16s,transform .16s;position:relative}
.cube-mode .nav-btn:hover{background:#253550;color:#fff;transform:translateY(-1px)}
.cube-mode .nav-btn[aria-current=page]{background:#315bff;color:#fff;box-shadow:0 5px 16px #07112855}
.cube-mode .nav-btn[aria-current=page]:before{content:'';position:absolute;left:-12px;top:16px;width:3px;height:16px;border-radius:0 3px 3px 0;background:#54e6bf}
.cube-mode .profile{border-color:#ffffff1c}.cube-mode .avatar{background:#2c3e58;color:#dce8f7}
.cube-mode .sidebar .brand,.cube-mode .sidebar .profile strong{color:#f2f6ff}
.cube-mode .sidebar .brand small,.cube-mode .sidebar .profile small,.cube-mode .sidebar .nav-title{color:#a9b8ce}
.cube-mode .topbar{border-color:#edf0f6}.cube-mode .crumb{color:#7b8597}
.cube-mode .topbar .role-btn,.cube-mode .topbar .icon-btn{border-color:#e6eaf2;border-radius:9px;color:#495671}
.cube-titlebar h1{color:#14213b;font-size:28px;font-weight:750;letter-spacing:-1.1px}
.cube-title-actions .btn{border-color:#dce3ef;color:#263956;border-radius:8px}
.cube-title-actions .cube-text-btn{color:#65718a}
.cube-contextbar{gap:20px}
.cube-contextbar label,.cube-context-label{color:#707b91;font-size:9px;letter-spacing:1.05px;font-weight:650}
.cube-contextbar select,.cube-question-trigger{border:0;border-radius:7px;background:#f2f5fa;color:#2a3954;font-size:12px;padding-left:10px;padding-right:24px;margin-top:4px;min-height:33px}
.cube-question-trigger{padding-right:12px;background:#ecf0ff;color:#2442b9;font-weight:650}
.cube-question-trigger[aria-expanded=true]{box-shadow:0 0 0 2px #315bff}
.cube-question-options{border:1px solid #e3e8f3;box-shadow:0 14px 45px #152d5730;border-radius:12px;padding:10px}
.cube-question-options label{border-radius:7px;font-weight:500}
.cube-question-options label:has(input:checked){background:#eef2ff;color:#223ea1}
.cube-question-options input{accent-color:#315bff}
.cube-question-options .btn{background:#315bff;color:white;border-color:#315bff;border-radius:7px}
.cube-workbench{border-color:#e8edf5}
.cube-column-title h2{font-size:14px;font-weight:750;letter-spacing:-.2px}
.cube-step{background:#e8edf5;color:#5f6f88;width:24px;height:24px;line-height:24px;font-size:10px;font-weight:750}
.cube-catalog{background:#fbfcff;border-right:0}
.cube-catalog .cube-column-title h2{color:#44516b}
.cube-search input{background:#eef2f8;border:1px solid transparent;border-radius:8px;color:#263856}
.cube-search input:focus{background:white;border-color:#315bff}
.cube-catalog-options select{color:#6c7890}
.cube-catalog-body{scrollbar-color:#d0d8e7 transparent}
.cube-field-group h3,.cube-field-group.dimension h3{color:#75819a;font-size:10px;letter-spacing:.5px;font-weight:700;margin:8px 6px}
.cube-field{min-height:40px;border-radius:8px;transition:background .14s,transform .14s,box-shadow .14s}
.cube-field:hover{background:#eaf9f3;transform:translateX(2px)}
.cube-field.dimension:hover{background:#edf1ff}
.cube-field-name{font-size:12px;font-weight:600;color:#34445f;gap:8px;padding-top:7px;padding-bottom:7px}
.cube-field-name>.ico{width:25px;height:25px;padding:5px;border-radius:7px;background:#e0f4ea;color:#19764f;stroke-width:1.8}
.cube-field.dimension .cube-field-name>.ico{background:#e6edff;color:#315bdf}
.cube-field-name>.cube-used{padding:0;background:transparent;color:#607b94}
.cube-field.selected{background:#ddf4e8;box-shadow:inset 3px 0 #159567}
.cube-field.dimension.selected{background:#e0e8ff;box-shadow:inset 3px 0 #315bff}
.cube-field .field-info{color:#7c8ba4}.cube-grip{color:#8797b1;opacity:.7}
.cube-catalog-foot{border-color:#e4eaf3}.cube-catalog-foot label,.cube-catalog-foot .cube-text-btn{color:#728099}
.cube-recipe{background:#192841;border:0;color:#f3f7ff;box-shadow:inset 1px 0 #ffffff08,inset -1px 0 #0c17291a;scrollbar-width:thin;scrollbar-color:#455777 transparent}
.cube-recipe .cube-column-title{margin-bottom:18px}
.cube-recipe .cube-column-title h2{color:#f3f7ff}
.cube-recipe .cube-step{background:#34465f;color:#e1ebfc}
.cube-recipe .field-info{color:#a1b2ca}.cube-recipe .field-info:hover{color:#fff}
.cube-axes{gap:12px}
.cube-drop{--drop-color:#7192ff;--drop-soft:#223550;background:#20324d;border:1px dashed #61728d;border-radius:11px;transition:background .16s,border-color .16s,box-shadow .16s,transform .16s}
.cube-drop.y{--drop-color:#54e6bf;--drop-soft:#203d40;border-color:#597e7a;background:#20383e}
.cube-drop.z{--drop-color:#b59bff;--drop-soft:#30324f;border-color:#716789;background:#2b304b}
.cube-drop.filled{border:1px solid #ffffff14;box-shadow:inset 3px 0 var(--drop-color)}
.cube-drop-label{color:#c3d0e4;gap:8px;font-size:10px}
.cube-axis-letter{display:grid;place-items:center;width:25px;height:25px;border-radius:7px;background:var(--drop-color);color:#132139;font-size:12px;font-weight:800}
.cube-drop-label small{color:#a2afc6;font-size:9px}
.cube-drop-target{color:#c4d2e8;gap:8px;border-radius:5px}
.cube-drop-target[draggable=true]{color:#fff;font-size:13px;font-weight:650}
.cube-drop-target>.ico{color:var(--drop-color)}
.cube-drop-target .cube-plus{color:var(--drop-color);font-weight:400}
.cube-remove{color:#aebbd2;border-radius:6px}.cube-remove:hover{background:#ffffff15;color:#fff}
.cube-drop.filter{--drop-color:#b0bfd5;background:transparent;border-color:#50617d;border-style:dashed;border-radius:10px;box-shadow:none}
.cube-drop.filter .cube-drop-target{color:#b3c1d8}
.cube-filter-chip label{color:#bfcee4}.cube-filter-chip select{background:#30445f;color:#fff;border-radius:5px}
.cube-drop.can-drop{opacity:1;border:1px solid var(--drop-color);box-shadow:0 0 0 2px color-mix(in srgb,var(--drop-color) 25%,transparent);background:var(--drop-soft)}
.cube-drop.cannot-drop{opacity:.28}
.cube-drop.drop-hover{transform:scale(1.018);background:color-mix(in srgb,var(--drop-color) 20%,#192841);box-shadow:0 0 0 3px color-mix(in srgb,var(--drop-color) 45%,transparent),0 8px 24px #080f2350}
.cube-drop.drop-hover:after{color:#112239;background:var(--drop-color);border-radius:5px;font-weight:750;padding:3px 9px}
.cube-generate-area{background:#192841;padding-top:16px}
.cube-generate{background:#54e6bf;color:#123834;border-radius:10px;font-size:13px;font-weight:750;box-shadow:0 4px 15px #03191e30;transition:background .16s,box-shadow .16s,transform .16s}
.cube-generate:hover:not(:disabled){background:#79f2d1;box-shadow:0 6px 20px #020f194d;transform:translateY(-2px)}
.cube-generate:active:not(:disabled){transform:translateY(0)}
.cube-generate:disabled{background:#30415b;color:#91a3be;box-shadow:none}
.cube-preview{background:white}
.cube-preview .cube-step{background:#e8edff;color:#315bff}
.cube-preview .cube-column-title h2{color:#203153;font-weight:750}
.cube-chart-controls select{background:#f4f6fb;border:1px solid #e3e8f3;border-radius:8px;color:#364666;font-weight:550}
.cube-view-toggle{padding:2px;background:#f0f3f9;border-radius:7px}
.cube-view-toggle button{border:0;border-radius:5px;color:#8391aa;height:27px}
.cube-view-toggle button.active{background:#fff;color:#315bff;box-shadow:0 1px 4px #14295818;border:0}
.cube-question-tabs{gap:6px}
.cube-question-tabs button{border:0;background:#f0f3f9;color:#667899;border-radius:7px;font-weight:700;transition:background .14s,color .14s,transform .14s}
.cube-question-tabs button:hover{background:#dfe7ff;color:#2547d0;transform:translateY(-1px)}
.cube-question-tabs button[aria-pressed=true]{background:#315bff;color:white;box-shadow:0 3px 9px #315bff26}
.cube-result-heading h3{font-size:23px;font-weight:750;letter-spacing:-.8px;color:#1b2b4b}
.cube-result-heading p{font-size:12px;color:#71809a;line-height:1.45;max-width:550px}
.cube-chart-legend{color:#637493;font-weight:500}
.cube-chart-legend i{box-shadow:0 0 0 3px #f5f7fc}
.cube-gridline{stroke:#edf1f7}.cube-tick{fill:#7b89a3}.cube-label{fill:#405170}.cube-value{fill:#24385b;font-weight:650}
.cube-mark{transition:opacity .16s,filter .16s}
.cube-chart-stage:has(.cube-mark:hover) .cube-mark:not(:hover){opacity:.36}
.cube-mark:hover{opacity:1;filter:brightness(1.06) drop-shadow(0 3px 4px #203c6a24)}
.cube-result-body{animation:cube-result-enter .24s ease-out both}
.cube-result-actions .btn{border-color:#e1e7f1;border-radius:7px;color:#50617d;background:white}
.cube-result-actions .btn[data-action=cube-report]{background:#edf2ff;border-color:#edf2ff;color:#3150bf}
.cube-result-actions .btn:hover:not(:disabled){background:#e3ebff;border-color:#cad7ff;color:#2447d1}
.cube-empty-result{background:radial-gradient(ellipse at center,#f3f6ff 0%,#fff 67%);border-radius:20px}
.cube-empty-result>.ico{color:#728aef;width:66px;height:66px;stroke-width:1.3;margin-bottom:18px}
.cube-empty-result h3{color:#576c99;font-weight:600;font-size:18px}
.cube-empty-result .cube-text-btn{color:#315bff;margin-top:10px}
.cube-mode button:focus-visible,.cube-mode input:focus-visible,.cube-mode select:focus-visible{outline:3px solid #315bff;outline-offset:3px}
.cube-recipe button:focus-visible,.cube-recipe select:focus-visible{outline-color:#54e6bf}
.cube-mobile-switch button[aria-pressed=true]{color:#315bff;border-color:#315bff;font-weight:700}
@keyframes cube-result-enter{from{opacity:0;transform:translateY(7px)}to{opacity:1;transform:translateY(0)}}
@media(min-width:1500px){.cube-result-heading h3{font-size:26px}.cube-field-name{font-size:13px}}
@media(max-width:1100px){.cube-field-name{font-size:11px;gap:6px}.cube-field-name>.ico{width:23px;height:23px;padding:4px}.cube-result-heading h3{font-size:21px}}
@media(max-height:740px) and (min-width:901px){.cube-recipe .cube-column-title{margin-bottom:12px}.cube-axes{gap:10px}.cube-axis-letter{width:23px;height:23px}.cube-drop-target[draggable=true]{font-size:12px}}
@media(max-width:900px){.cube-titlebar h1{font-size:24px}.cube-contextbar{gap:4px 15px}.cube-drop{border-radius:9px}.cube-axis-letter{width:22px;height:22px}.cube-drop-target[draggable=true]{font-size:12px}.cube-recipe .cube-column-title{margin-bottom:12px}.cube-axes{gap:8px}.cube-result-heading h3{font-size:22px}.cube-generate{font-size:11px;border-radius:8px}.cube-catalog-foot label,.cube-catalog-foot .cube-text-btn{font-size:9px}.cube-preview .cube-column-title h2{font-size:14px}}
@media(max-width:600px){.cube-field-name{gap:5px;font-size:10px;padding-left:2px}.cube-field-name>.ico{width:22px;height:22px;flex-shrink:0}.cube-field .field-info{width:19px}.cube-title-actions{gap:12px}.cube-result-heading h3{font-size:21px}.cube-drop-label small{font-size:8px}.cube-drop-label{gap:6px;font-size:9px}.cube-recipe .cube-column-title h2{font-size:12px}}
@media(max-height:560px) and (min-width:601px) and (max-width:900px){.cube-result-visible .cube-result-heading h3{font-size:18px}}
@media(prefers-reduced-motion:reduce){.cube-mode *,.cube-mode *:before,.cube-mode *:after{animation:none!important;transition:none!important;scroll-behavior:auto!important}}
@media(max-width:900px){.cube-mode .main{grid-template-rows:96px 120px minmax(0,1fr)}.cube-question-options{max-height:calc(100dvh - 286px)}}
/* Explicit chart labels; axes, legend and tooltips remain available. */
.cube-values-toggle{height:31px;min-width:32px;padding:0 6px;border:1px solid #e1e7f1;border-radius:7px;background:#f4f6fb;color:#71809a;font-size:10px;font-weight:750;font-variant-numeric:tabular-nums;flex:none}
.cube-values-toggle[aria-pressed=true]{background:#e9efff;border-color:#becdff;color:#2b4acf}
.cube-values-toggle:hover{border-color:#315bff}
.cube-result-tools{gap:8px}
@media(max-width:1100px){.cube-result-tools{gap:5px}.cube-chart-controls select{width:130px}}
@media(max-width:370px){.cube-chart-controls select{width:98px}.cube-values-toggle{min-width:28px;padding:0 4px}}
/* Multiple fields remain individually visible and removable on each axis. */
.cube-axis-fields{display:grid;gap:4px}
.cube-axis-chip{display:flex;align-items:center;gap:4px;min-width:0;border-radius:6px;background:#ffffff08}
.cube-axis-chip .cube-drop-target{flex:1;min-width:0;padding:5px 3px}
.cube-axis-chip .cube-drop-target span{overflow-wrap:anywhere}
.cube-axis-chip .cube-remove{flex:none;position:static;width:24px;height:28px;display:grid;place-items:center;padding:4px}
.cube-axis-add{width:100%;min-height:23px!important;font-size:10px!important;opacity:.8;padding:4px 3px;margin-top:3px}
.cube-axis-add:hover{opacity:1;background:#ffffff0a}
.cube-axis-add .cube-plus{font-size:17px}
.cube-metric-tabs{display:flex;flex-wrap:wrap;gap:5px;margin:0 0 12px;flex:none}
.cube-metric-tabs button{font-size:11px;padding:5px 9px;border:1px solid #e1e6ef;border-radius:5px;color:#52647e;background:#fff}
.cube-metric-tabs button[aria-pressed=true]{color:#294ede;background:#eef1ff;border-color:#bbc8ff}
.cube-chart-pager{display:flex;justify-content:flex-end;align-items:center;gap:9px;flex:none;height:25px;font-size:10px;color:#647087}
.cube-chart-pager button{width:27px;height:25px;background:#f0f3f9;border-radius:5px;color:#315bdf}
.cube-chart-pager button:disabled{opacity:.3;cursor:default}
.cube-chart-legend{flex-wrap:wrap;overflow:auto}

