:root{--cp-primary: #00248e;--cp-midnight: #000032;--cp-accent: #0893e3;--cp-sky: #5abaff;--radius: 12px;--radius-sm: 8px;--font: "DM Sans", system-ui, sans-serif;--mono: "JetBrains Mono", ui-monospace, monospace}:root,[data-theme=dark]{color-scheme:dark;--bg: #0a0e18;--bg-elevated: #12182a;--bg-soft: #1a2238;--border: #273247;--text: #e8eef9;--text-muted: #93a0b8;--accent: #5abaff;--accent-strong: #0893e3;--danger: #f07178;--topbar-bg: #000032;--topbar-text: #fff;--shadow: 0 12px 40px rgba(0, 0, 0, .4)}[data-theme=light]{color-scheme:light;--bg: #f3f6ff;--bg-elevated: #ffffff;--bg-soft: #e9f0ff;--border: #e2e8f0;--text: #1e293b;--text-muted: #475569;--accent: #00248e;--accent-strong: #0893e3;--danger: #c24141;--topbar-bg: #000032;--topbar-text: #fff;--shadow: 0 8px 24px rgba(0, 36, 142, .08)}*{box-sizing:border-box}html,body,#root{height:100%;min-height:100%;min-height:100dvh;min-width:320px;overflow:hidden}body{margin:0;font-family:var(--font);background:var(--bg);color:var(--text);-webkit-text-size-adjust:100%;text-size-adjust:100%}a{color:var(--accent-strong);text-decoration:none}a:hover{text-decoration:underline}.muted{color:var(--text-muted)}.small{font-size:.85rem}.app-shell{height:100vh;height:100dvh;max-height:100vh;max-height:100dvh;min-width:320px;display:flex;flex-direction:column;overflow:hidden}.topbar{display:flex;align-items:center;gap:24px;padding:0 20px;height:56px;flex-shrink:0;background:var(--topbar-bg);color:var(--topbar-text);border-bottom:1px solid rgba(255,255,255,.08)}.brand{display:flex;align-items:center;gap:.75rem;font-weight:700;letter-spacing:-.02em;min-width:0;text-decoration:none;color:inherit}.brand:hover .brand-product-name{color:#fff}.brand-carpow{display:flex;align-items:center;flex-shrink:0}.brand-carpow-logo{display:block;height:22px;width:auto;max-width:120px;object-fit:contain}.brand-divider{width:1px;height:22px;background:#ffffff47;flex-shrink:0}.brand-product{display:flex;align-items:center;gap:.5rem;min-width:0}.brand-mark{width:32px;height:32px;border-radius:9px;background:linear-gradient(135deg,var(--cp-accent),var(--cp-primary));display:grid;place-items:center;flex-shrink:0;box-shadow:0 0 0 1px #ffffff1f,0 8px 20px #0893e359;transition:transform .35s cubic-bezier(.34,1.4,.64,1),box-shadow .35s ease}.brand-mark-svg{width:22px;height:22px;overflow:visible}.brand-mark-needle{transform-box:view-box;transform-origin:12px 12px}.brand:hover .brand-mark{transform:scale(1.12);box-shadow:0 0 0 1px #ffffff40,0 0 22px #0893e3b3,0 12px 28px #00248e80}.brand:hover .brand-mark-needle{animation:compass-swing .9s cubic-bezier(.4,.05,.2,1) infinite}.brand:hover .brand-mark-ring{animation:compass-ring-pulse .9s ease-in-out infinite}@keyframes compass-swing{0%{transform:rotate(-42deg)}30%{transform:rotate(36deg)}55%{transform:rotate(-22deg)}75%{transform:rotate(14deg)}to{transform:rotate(-42deg)}}@keyframes compass-ring-pulse{0%,to{opacity:1}50%{opacity:.7}}@media(prefers-reduced-motion:reduce){.brand:hover .brand-mark-needle,.brand:hover .brand-mark-ring{animation:none}.brand:hover .brand-mark{transform:none}}.brand-product-name{font-size:1.05rem;white-space:nowrap;transition:color .2s ease}.nav-burger,.nav-drawer{display:none}@media(max-width:720px){.brand-carpow-logo{max-width:88px;height:18px}.brand-product-name{font-size:.95rem}.topbar{height:auto;min-height:52px;gap:8px;padding:8px 10px;padding-top:max(8px,env(safe-area-inset-top,0px));padding-left:max(10px,env(safe-area-inset-left,0px));padding-right:max(10px,env(safe-area-inset-right,0px));flex-wrap:nowrap;align-items:center}.toast-host{top:calc(60px + env(safe-area-inset-top,0px));right:max(10px,env(safe-area-inset-right,0px));left:max(10px,env(safe-area-inset-left,0px));max-width:none}.modal-backdrop{padding:max(16px,env(safe-area-inset-top,0px)) max(12px,env(safe-area-inset-right,0px)) max(16px,env(safe-area-inset-bottom,0px)) max(12px,env(safe-area-inset-left,0px));align-items:end}.modal-dialog{max-height:min(88dvh,640px);width:100%;padding:16px 14px 14px}.modal-dialog-actions{flex-direction:column-reverse;align-items:stretch}.modal-dialog-actions>*{width:100%;min-height:44px;justify-content:center}.save-dialog .checkbox-row{min-height:44px;align-items:center}.save-dialog .home-viz-pick,.save-dialog .inline.home-viz-pick{display:flex;flex-direction:column;align-items:stretch;gap:8px;width:100%}.save-dialog .home-viz-pick select{width:100%;min-height:44px}.page{padding:14px 14px 24px;padding-bottom:max(24px,env(safe-area-inset-bottom,0px))}.page.home-page,.page.dashboards-page{padding-bottom:max(28px,calc(16px + env(safe-area-inset-bottom,0px)))}.page.dashboard-detail-page{padding-bottom:max(24px,calc(12px + env(safe-area-inset-bottom,0px)))}.login-theme-toggle{top:max(12px,env(safe-area-inset-top,0px));right:max(12px,env(safe-area-inset-right,0px))}.login-card-body{padding:1.25rem 1.15rem 1rem}.login-card-footer{padding:0 1.15rem 1.1rem}.login-title{font-size:1.35rem;margin-bottom:1.1rem}.topbar .brand{gap:.45rem;flex:1 1 auto;min-width:0}.topbar .brand-divider,.topbar .brand-carpow{display:none}.topnav-desktop,.user-chip-desktop,.sign-out-desktop{display:none!important}.topbar-right{gap:4px;flex-shrink:0;margin-left:auto}.theme-toggle{width:40px;height:40px}.nav-burger{display:inline-flex;align-items:center;justify-content:center;width:40px;height:40px;padding:0;margin:0;border:1px solid rgba(255,255,255,.18);border-radius:10px;background:#ffffff0f;color:#fff;cursor:pointer;touch-action:manipulation}.nav-burger:hover,.nav-burger.is-open{background:#ffffff1f}.nav-burger-bars{display:flex;flex-direction:column;justify-content:center;gap:5px;width:18px}.nav-burger-bars span{display:block;height:2px;width:100%;border-radius:1px;background:currentColor;transition:transform .18s ease,opacity .18s ease}.nav-burger.is-open .nav-burger-bars span:nth-child(1){transform:translateY(7px) rotate(45deg)}.nav-burger.is-open .nav-burger-bars span:nth-child(2){opacity:0}.nav-burger.is-open .nav-burger-bars span:nth-child(3){transform:translateY(-7px) rotate(-45deg)}.nav-drawer{display:block;position:fixed;top:0;right:0;bottom:0;left:0;z-index:90}.nav-drawer-backdrop{position:absolute;top:0;right:0;bottom:0;left:0;border:0;padding:0;margin:0;background:color-mix(in srgb,#0a0e18 55%,transparent);-webkit-backdrop-filter:blur(2px);backdrop-filter:blur(2px);cursor:pointer}.nav-drawer-panel{position:absolute;top:0;right:0;bottom:0;width:min(320px,88vw);display:flex;flex-direction:column;gap:4px;padding:max(12px,env(safe-area-inset-top,0px)) max(14px,env(safe-area-inset-right,0px)) max(16px,env(safe-area-inset-bottom,0px)) 14px;background:var(--topbar-bg);color:var(--topbar-text);border-left:1px solid rgba(255,255,255,.1);box-shadow:-12px 0 40px #00000059;animation:nav-drawer-in .18s ease-out}@keyframes nav-drawer-in{0%{transform:translate(12px);opacity:.85}to{transform:translate(0);opacity:1}}.nav-drawer-head{display:flex;align-items:center;justify-content:space-between;gap:8px;margin-bottom:4px}.nav-drawer-title{font-weight:700;font-size:1.05rem;letter-spacing:-.02em}.nav-drawer-close{width:40px;height:40px;padding:0;font-size:1.5rem;line-height:1;color:#fff;border-radius:10px}.nav-drawer-user{margin:0 0 8px;opacity:.85;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.nav-drawer-links{display:flex;flex-direction:column;gap:4px;flex:1 1 auto;min-height:0;overflow:auto}.nav-drawer-links a{display:flex;align-items:center;min-height:48px;padding:12px 14px;border-radius:10px;color:#ffffffd9;text-decoration:none;font-weight:600;font-size:1.02rem}.nav-drawer-links a:hover,.nav-drawer-links a:focus-visible{background:#ffffff14;color:#fff;text-decoration:none;outline:none}.nav-drawer-links a.active{background:#0893e338;color:#fff;box-shadow:inset 0 0 0 1px #5abaff59}.nav-drawer-signout{margin-top:12px;width:100%;min-height:48px;justify-content:center;color:#fff;background:#ffffff14;border-color:#ffffff2e}.nav-drawer-signout:hover{background:#ffffff24;color:#fff}}.topnav{display:flex;gap:8px;flex:1}.topnav a{color:#ffffffbf;padding:8px 12px;border-radius:8px;text-decoration:none;font-weight:500}.topnav a.active,.topnav a:hover{color:#fff;background:#ffffff14;text-decoration:none}.topbar-right{display:flex;align-items:center;gap:10px}.user-chip{font-size:.85rem;opacity:.85;max-width:200px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.main{flex:1;min-height:0;overflow:hidden;display:flex;flex-direction:column}.page{padding:24px;max-width:1200px;margin:0 auto;width:100%;box-sizing:border-box;flex:1;min-height:0;overflow:auto}.page.home-page{max-width:none;width:100%;padding:20px 28px 32px}.page.dashboard-detail-page{max-width:none;width:100%;padding:20px 28px;display:flex;flex-direction:column;overflow:hidden;min-height:0}.dashboard-detail-page>.page-header,.dashboard-detail-page>.banner-error{flex-shrink:0}@media(max-width:720px){.page.dashboard-detail-page{padding:12px 14px 24px;overflow:auto;display:block}.dashboard-detail-page .dash-detail-header{flex-direction:column;align-items:stretch;gap:12px;margin-bottom:14px}.dashboard-detail-page .dash-title-button{font-size:1.3rem}.dashboard-detail-page .dash-title-input{width:100%;font-size:1.2rem}.dashboard-detail-page .dash-detail-header-right{align-items:stretch;width:100%}.dashboard-detail-page .dash-pin-status{justify-content:flex-start;max-width:none}.dashboard-detail-page .toolbar-actions{display:flex;flex-wrap:nowrap;width:100%;gap:6px}.dashboard-detail-page .toolbar-actions>*{flex:1 1 0;min-width:0;justify-content:center;text-align:center;padding:8px 6px!important;font-size:.8rem!important;white-space:nowrap}.dashboard-detail-page .tile-grid{display:flex;flex-direction:column;gap:12px;overflow:visible;min-height:0;height:auto}.dashboard-detail-page .tile{height:auto;min-height:320px;display:flex;flex-direction:column}.dashboard-detail-page .tile-grid:has(.tile:nth-child(2)) .tile{min-height:320px;height:auto}.dashboard-detail-page .tile-body{flex:1 1 auto;min-height:240px;display:flex;flex-direction:column}.dashboard-detail-page .tile-body .big-number,.dashboard-detail-page .tile-body>.big-number{flex:1 1 auto!important;align-self:stretch;width:100%;height:auto!important;min-height:240px!important;max-height:none;container-type:size;display:grid!important;place-items:center;padding:16px 18px;box-sizing:border-box;overflow:hidden}.dashboard-detail-page .tile-body .big-number-value{font-size:min(max(2.75rem,48cqh),max(2rem,24cqw),7rem)!important;line-height:1!important;letter-spacing:-.03em;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;max-width:100%;padding:0!important;margin:0;text-align:center}@supports not (font-size: 1cqh){.dashboard-detail-page .tile-body .big-number-value{font-size:clamp(2.75rem,15vw,6rem)!important}}.dashboard-detail-page .tile-body .chart-with-total,.dashboard-detail-page .tile-body .pie-layout{height:auto;min-height:0}.dashboard-detail-page .tile-body .pie-plot{flex:0 0 auto;min-height:240px;height:240px}.dashboard-detail-page .tile-body .echarts-for-react{min-height:240px!important;height:240px!important}.dashboard-detail-page .tile-body .table-wrap{height:auto;min-height:180px;max-height:min(55dvh,420px);overflow:auto;-webkit-overflow-scrolling:touch}.dashboard-detail-page .tile-body .data-table{font-size:.82rem}.dashboard-detail-page .tile-body .data-table th,.dashboard-detail-page .tile-body .data-table td{padding:6px 8px}.dashboard-detail-page .tile-viz-bar{gap:8px;width:100%}.dashboard-detail-page .tile-viz-bar .viz-select-wrap{flex:1 1 auto}}.page.dashboards-page{max-width:none;width:100%;padding:20px 28px 32px}.queries-toolbar{display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:12px 16px;margin:0 0 14px}.queries-filter-group{display:inline-flex;flex-wrap:wrap;align-items:center;gap:6px}.queries-toolbar-label{margin-right:4px}.queries-filter-btn{display:inline-flex;align-items:center;gap:6px;height:32px;padding:0 12px;margin:0;border:1px solid var(--border);border-radius:999px;background:var(--bg-elevated);color:var(--text-muted);font:inherit;font-size:.86rem;font-weight:500;line-height:1;cursor:pointer;white-space:nowrap}.queries-filter-btn:hover{color:var(--text);border-color:color-mix(in srgb,var(--accent) 35%,var(--border))}.queries-filter-btn.is-active{color:var(--text);border-color:color-mix(in srgb,var(--accent) 50%,var(--border));background:color-mix(in srgb,var(--accent) 12%,var(--bg-elevated));font-weight:600}.queries-filter-count{display:inline-flex;align-items:center;justify-content:center;min-width:1.2rem;height:1.15rem;padding:0 5px;border-radius:999px;font-size:.72rem;font-weight:700;background:color-mix(in srgb,var(--text-muted) 16%,transparent);color:inherit}.queries-filter-btn.is-active .queries-filter-count{background:color-mix(in srgb,var(--accent) 22%,transparent);color:var(--accent-strong)}.queries-sort-group{white-space:nowrap}.queries-sort-th{display:inline-flex;align-items:center;gap:2px;margin:0;padding:0;border:none;background:transparent;color:inherit;font:inherit;font-weight:inherit;cursor:pointer;white-space:nowrap}.queries-sort-th:hover{color:var(--accent-strong)}.dashboards-table-card{padding:0;overflow:hidden}.dashboards-table-wrap{max-height:none;overflow:auto}.dashboards-table{width:100%;min-width:900px;table-layout:auto}.dashboards-table th,.dashboards-table td{vertical-align:middle;padding:14px 16px}.dashboards-table .col-name{min-width:160px}.dashboards-table .col-home{min-width:280px}.dashboards-table .col-updated{white-space:nowrap}.dashboards-table .col-actions{width:1%;white-space:nowrap;text-align:right}.dashboards-table .col-actions .dash-row-actions{display:inline-flex;flex-direction:row;flex-wrap:nowrap;align-items:center;justify-content:flex-end;gap:6px;width:max-content;max-width:none}.dash-list-name{font-weight:600;color:var(--text);text-decoration:none}.dash-list-name:hover{color:var(--accent-strong);text-decoration:underline}.dash-quick-pin{display:inline-flex;flex-wrap:wrap;align-items:center;gap:6px}.pin-type-btn{display:inline-flex;align-items:center;justify-content:center;gap:5px;height:32px;padding:0 10px;margin:0;border:1px solid var(--border);border-radius:8px;background:var(--bg);color:var(--text-muted);font:inherit;font-size:.82rem;font-weight:500;line-height:1;white-space:nowrap;cursor:pointer;box-sizing:border-box}.pin-type-btn:hover:not(:disabled){border-color:color-mix(in srgb,var(--accent) 40%,var(--border));color:var(--text);background:var(--bg-soft)}.pin-type-btn:disabled{opacity:.55;cursor:default}.pin-type-btn.is-pinned{border-color:color-mix(in srgb,var(--accent) 50%,var(--border));background:color-mix(in srgb,var(--accent) 12%,var(--bg-elevated));color:var(--text)}.pin-type-icon{display:inline-flex;width:1em;justify-content:center;opacity:.9;font-size:.95em}.pin-type-label{line-height:1}.dash-row-actions{display:inline-flex;flex-direction:row;flex-wrap:nowrap!important;align-items:center;justify-content:flex-end;gap:6px;white-space:nowrap}.dash-action-btn{height:32px!important;padding:0 10px!important;font-size:.85rem!important;line-height:1!important;display:inline-flex!important;align-items:center;justify-content:center;gap:.4em;box-sizing:border-box;white-space:nowrap;text-decoration:none;flex-shrink:0}.dash-action-btn>[aria-hidden]{flex-shrink:0;line-height:1}a.dash-action-btn{border:1px solid var(--border)}.dashboards-empty{padding:20px 18px}@media(max-width:720px){.page.dashboards-page{padding:12px 14px 28px}.dashboards-page .page-header{flex-direction:column;align-items:stretch;gap:12px}.dashboards-page .page-header h1{font-size:1.35rem}.dashboards-page .page-header .btn-primary{width:100%;justify-content:center;text-align:center}.queries-toolbar{flex-direction:column;align-items:stretch;gap:10px}.queries-filter-group{width:100%}.queries-filter-select{display:block;width:100%;min-height:44px;font-size:16px!important}.queries-filter-btn{display:none!important}.queries-toolbar-label{display:none}.page.dashboards-page{overflow:auto}.dashboards-table-card{overflow:visible}.dashboards-table-wrap{overflow:visible!important;max-height:none!important}.dashboards-table{min-width:0;width:100%;border-collapse:collapse}.dashboards-table thead{display:none}.dashboards-table tbody{display:flex;flex-direction:column;gap:0}.dashboards-table tr{display:grid;grid-template-columns:minmax(0,1fr) auto;grid-template-areas:"name name" "updated updated" "home actions";gap:10px 8px;align-items:center;padding:14px 14px 16px;border-bottom:1px solid var(--border)}.dashboards-table tr:last-child{border-bottom:none}.dashboards-table th,.dashboards-table td{display:block;width:auto;min-width:0!important;padding:0;border:none;text-align:left;white-space:normal}.dashboards-table .col-name{grid-area:name}.dashboards-table .col-updated{grid-area:updated;font-size:.82rem}.dashboards-table .col-updated:before{content:"Updated ";color:var(--text-muted)}.dashboards-table .col-home{grid-area:home;min-width:0}.dashboards-table .col-actions{grid-area:actions;width:auto;text-align:right;justify-self:end}.dashboards-table .col-actions .dash-row-actions,.dash-row-actions{display:flex!important;flex-wrap:nowrap!important;width:auto;max-width:none;justify-content:flex-end;white-space:nowrap;gap:6px!important}.dash-quick-pin{width:100%}.dash-pin-popover-wrap{position:relative;width:100%;min-width:0}.dash-pin-popover-btn{width:auto;min-width:52px;max-width:100%;min-height:44px;justify-content:center;gap:4px;padding:0 8px!important}.dash-pin-popover-icon{position:relative;display:inline-flex;align-items:center;justify-content:center;font-size:1.15rem;line-height:1;padding-right:2px}.dash-pin-popover-badge{position:absolute;top:-8px;right:-10px;min-width:1.15rem;height:1.15rem;padding:0 4px;border-radius:999px;background:var(--accent-strong);color:#fff;font-size:.68rem;font-weight:700;line-height:1.15rem;text-align:center;box-shadow:0 0 0 2px var(--bg-elevated)}.dash-pin-popover-caret{font-size:.7rem;opacity:.75;line-height:1}.dash-pin-popover{position:absolute;left:0;right:auto;min-width:min(260px,70vw);top:calc(100% + 4px);z-index:30;padding:10px 12px;border-radius:12px;border:1px solid var(--border);background:var(--bg-elevated);box-shadow:var(--shadow)}.dash-pin-popover label{display:flex;align-items:center;gap:10px;min-height:40px;font-size:.95rem;cursor:pointer}.dash-quick-pin-desktop,.pin-type-btn{display:none!important}.dash-action-btn{min-width:44px!important;width:44px!important;min-height:44px!important;padding:0!important;gap:0!important;flex:0 0 44px!important;font-size:1.1rem!important}.dash-action-label{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);border:0}}.dash-pin-popover-wrap,.queries-filter-select-wrap{display:none}.visually-hidden{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}@media(max-width:720px){.dash-pin-popover-wrap{display:block}.queries-filter-select-wrap{display:block;width:100%}}.page-header{display:flex;justify-content:space-between;align-items:flex-start;gap:16px;margin-bottom:20px}.page-header h1{margin:0 0 4px;font-size:1.6rem}.home-title-row{display:flex;align-items:center;gap:12px;flex-wrap:wrap}.home-title-row h1{margin:0}.home-saving{display:inline-flex;align-items:center;gap:8px;margin:0;line-height:1}.home-saving-spinner{width:12px;height:12px;border-radius:50%;border:2px solid color-mix(in srgb,var(--text-muted) 35%,transparent);border-top-color:var(--accent-strong);animation:spin .7s linear infinite;flex-shrink:0}.home-toolbar{flex-wrap:wrap;align-items:center}.home-refresh-select{display:inline-flex;align-items:center;gap:8px;margin:0}.home-refresh-select select{min-width:6.5rem}.home-meta{display:inline-flex;align-items:center;flex-wrap:wrap;gap:.35rem .65rem;margin:0;line-height:1.3}.home-updated{font-weight:400}.home-countdown{font-variant-numeric:tabular-nums;opacity:.95}.home-countdown:before{content:"·";margin-right:.65rem;opacity:.55}.card-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(300px,100%),1fr));gap:16px}.card{background:var(--bg-elevated);border:1px solid var(--border);border-radius:var(--radius);padding:16px 18px;box-shadow:var(--shadow)}.card h2{margin:0 0 12px;font-size:1.05rem}.card-head{display:flex;justify-content:space-between;align-items:center;gap:12px;margin-bottom:8px}.card-head h2{margin:0}.list{list-style:none;margin:0;padding:0}.list li{border-top:1px solid var(--border)}.list li:first-child{border-top:0}.list a{display:flex;flex-direction:column;gap:2px;padding:12px 0;color:inherit;text-decoration:none}.list a:hover strong{color:var(--accent-strong)}.btn-primary,.btn-secondary,.btn-ghost,.btn-microsoft{border-radius:var(--radius-sm);border:1px solid transparent;padding:8px 14px;font:inherit;font-weight:600;cursor:pointer}.btn-primary{background:var(--cp-accent);color:#fff}.btn-primary:hover{filter:brightness(1.08)}.btn-secondary{background:var(--bg-soft);border-color:var(--border);color:var(--text)}.btn-secondary.active{border-color:var(--cp-accent);color:var(--accent)}.btn-ghost{background:transparent;color:inherit;border-color:transparent}.btn-ghost:hover{background:#ffffff14}.btn-ghost.danger{color:var(--danger)}.banner-error,.login-error{background:#f071781a;border:1px solid rgba(240,113,120,.35);color:var(--danger);padding:10px 12px;border-radius:var(--radius-sm);white-space:pre-wrap;word-break:break-word;max-width:100%}.loading-state{min-height:100vh;min-height:100dvh;display:grid;place-items:center;color:var(--text-muted)}.toast-host{position:fixed;top:72px;top:calc(72px + env(safe-area-inset-top,0px));right:20px;right:calc(12px + env(safe-area-inset-right,0px));left:auto;z-index:1000;display:flex;flex-direction:column;gap:10px;max-width:min(400px,calc(100vw - 32px));pointer-events:none}.toast{pointer-events:auto;display:flex;align-items:flex-start;gap:12px;padding:14px 16px;border-radius:14px;background:var(--bg-elevated);border:1px solid var(--border);box-shadow:var(--shadow);animation:toast-in .28s cubic-bezier(.22,1,.36,1)}.toast-success{border-color:color-mix(in srgb,#22c55e 45%,var(--border))}.toast-error{border-color:color-mix(in srgb,var(--danger) 45%,var(--border))}.toast-icon{flex-shrink:0;width:28px;height:28px;border-radius:50%;display:grid;place-items:center;font-size:.9rem;font-weight:700;background:#0893e326;color:var(--accent-strong)}.toast-success .toast-icon{background:#22c55e2e;color:#22c55e}.toast-error .toast-icon{background:#f0717826;color:var(--danger)}.toast-body{flex:1;min-width:0}.toast-title{display:block;font-size:.95rem;font-weight:600;color:var(--text)}.toast-detail{margin:4px 0 0;font-size:.85rem;color:var(--text-muted);line-height:1.4}.toast-close{flex-shrink:0;border:none;background:transparent;color:var(--text-muted);font-size:1.25rem;line-height:1;cursor:pointer;padding:0 2px;border-radius:6px}.toast-close:hover{color:var(--text);background:var(--bg-soft)}@keyframes toast-in{0%{opacity:0;transform:translateY(-10px) scale(.98)}to{opacity:1;transform:translateY(0) scale(1)}}.explore-layout{display:grid;grid-template-columns:300px 1fr;flex:1;min-height:0;height:100%;overflow:hidden}.field-panel{border-right:1px solid var(--border);background:var(--bg-elevated);padding:12px 12px 20px;min-height:0;overflow-x:hidden;overflow-y:auto;display:flex;flex-direction:column;gap:10px;overscroll-behavior:contain}.field-panel-head h2{margin:0 0 4px;font-size:1.15rem}.field-panel-head-row{display:flex;align-items:flex-start;justify-content:space-between;gap:8px}.field-panel-head-row h2{margin:0;flex:1;min-width:0}.field-panel-close,.fields-drawer-toggle,.fields-hint-mobile,.fields-drawer{display:none}.field-panel-desc{margin:0 0 4px;line-height:1.4}.field-panel h3{margin:16px 0 8px;font-size:.75rem;text-transform:uppercase;letter-spacing:.06em;color:var(--text-muted)}.field-accordion{display:flex;flex-direction:column;gap:6px}.field-search input{width:100%;background:var(--bg);border:1px solid var(--border);color:var(--text);border-radius:8px;padding:8px 10px;font:inherit;font-size:.9rem}.acc-section{border:1px solid var(--border);border-radius:10px;background:var(--bg);overflow:hidden}.acc-section.open{border-color:#0893e359}.acc-header{width:100%;display:flex;align-items:center;gap:8px;padding:10px 12px;border:0;background:transparent;color:var(--text);font:inherit;font-weight:600;font-size:.92rem;cursor:pointer;text-align:left}.acc-header:hover{background:var(--bg-soft)}.acc-chevron{width:1em;color:var(--text-muted);font-size:.85rem}.acc-title{flex:1;min-width:0}.acc-meta{display:flex;align-items:center;gap:6px}.acc-selected{font-size:.72rem;font-weight:600;color:var(--accent)}.field-badge.sm{font-size:.7rem;padding:2px 8px}.acc-body{padding:0 10px 10px;border-top:1px solid var(--border)}.acc-actions{display:flex;justify-content:flex-end;padding:6px 0 2px}.acc-select-all{font-size:.78rem;padding:2px 8px;color:var(--text-muted)}.acc-kind{margin:8px 0 4px;font-size:.68rem;text-transform:uppercase;letter-spacing:.06em;color:var(--text-muted);font-weight:600}.measure-tag{margin-left:6px;font-style:normal;font-size:.7rem;color:var(--accent);opacity:.85}.field-list{list-style:none;margin:0;padding:0}.field-list li{display:flex;align-items:center;gap:4px}.field-list label{display:flex;gap:8px;align-items:flex-start;padding:6px 0;cursor:pointer;font-size:.92rem;flex:1;min-width:0}.field-filter-btn{flex-shrink:0;border:0;background:transparent;color:var(--text-muted);cursor:pointer;font-size:.75rem;padding:4px 6px;border-radius:4px}.field-filter-btn:hover{background:var(--bg-soft);color:var(--accent)}.filter-builder{background:var(--bg-elevated);border:1px solid var(--border);border-radius:var(--radius);padding:12px 14px}.filter-builder-head{display:flex;flex-wrap:wrap;align-items:baseline;gap:10px;margin-bottom:10px}.filter-builder-head h3{margin:0;font-size:.95rem}.filter-empty{margin:0 0 8px}.filter-rows{display:flex;flex-direction:column;gap:8px}.filter-row{display:flex;flex-wrap:wrap;align-items:center;gap:8px}.filter-and{width:40px;flex-shrink:0}.filter-table,.filter-field{min-width:180px;flex:1 1 160px}.filter-op{min-width:150px}.filter-value{min-width:140px;flex:1 1 120px}.filter-row input{background:var(--bg);border:1px solid var(--border);color:var(--text);border-radius:8px;padding:8px 10px;font:inherit;font-size:.9rem}.filter-row select{font:inherit;font-size:.9rem}select{-moz-appearance:none;appearance:none;-webkit-appearance:none;background-color:var(--bg);background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12' fill='none'%3E%3Cpath d='M2.5 4.5L6 8L9.5 4.5' stroke='%2393a0b8' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");background-repeat:no-repeat;background-position:right .65rem center;background-size:12px;border:1px solid var(--border);color:var(--text);border-radius:8px;padding:8px 2rem 8px 10px}[data-theme=light] select{background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12' fill='none'%3E%3Cpath d='M2.5 4.5L6 8L9.5 4.5' stroke='%23475569' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E")}.filter-remove{font-size:1.2rem;line-height:1;padding:4px 10px}.filter-add{margin-top:10px}.filter-summary-list,.filter-add-mobile,.filter-head-hint-mobile,.filter-edit-backdrop{display:none}.filter-add-desktop{display:inline-flex}.filter-suggest{flex:1 1 220px;min-width:200px;max-width:420px;display:flex;flex-direction:column;gap:6px}.suggest-list{max-height:160px;overflow:auto;border:1px solid var(--border);border-radius:8px;background:var(--bg);padding:6px 8px;display:flex;flex-direction:column;gap:4px}.suggest-option{display:flex;align-items:center;gap:8px;font-size:.88rem;cursor:pointer;padding:2px 0}.suggest-option:hover{color:var(--accent)}.pii{margin-left:6px;font-style:normal;font-size:.7rem;color:var(--danger);border:1px solid rgba(240,113,120,.4);border-radius:4px;padding:0 4px}.explore-main{padding:16px 20px;min-width:0;min-height:0;overflow:hidden;overscroll-behavior:contain;display:flex;flex-direction:column;gap:12px}.explore-main>.toolbar,.explore-main>.filter-builder,.explore-main>.banner-error,.explore-main>.explore-edit-banner,.explore-main>p.muted{flex-shrink:0}.explore-edit-banner{display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:8px 12px;padding:8px 12px;border-radius:10px;border:1px solid color-mix(in srgb,var(--accent) 35%,var(--border));background:color-mix(in srgb,var(--accent) 8%,var(--bg-elevated))}.explore-edit-banner strong{color:var(--text);font-weight:600}.toolbar{display:flex;flex-wrap:wrap;gap:12px;justify-content:space-between;align-items:center}.toolbar-primary,.toolbar-secondary,.run-split{display:contents}.run-split-caret,.run-split-menu{display:none}.selected-chips{display:flex;flex-wrap:wrap;gap:6px;flex:1}.chip{border:1px solid var(--border);background:var(--bg-soft);color:var(--text);border-radius:999px;padding:4px 10px;font:inherit;font-size:.85rem;cursor:pointer}.toolbar-actions{display:flex;gap:8px;align-items:center;flex-wrap:wrap}.inline{display:flex;gap:6px;align-items:center;font-size:.9rem;color:var(--text-muted)}.inline input,.save-bar input{background:var(--bg-elevated);border:1px solid var(--border);color:var(--text);border-radius:8px;padding:8px 10px;font:inherit}.results-stage{position:relative;display:flex;flex-direction:column;gap:10px;flex:1 1 auto;min-height:0}.results-stage.is-loading .viz-bar,.results-stage.is-loading .result-panel,.results-stage.is-loading .sql-preview{opacity:.35;pointer-events:none;filter:saturate(.7);transition:opacity .2s ease}.results-loading{position:absolute;top:0;right:0;bottom:0;left:0;z-index:5;display:grid;place-items:center;background:linear-gradient(180deg,color-mix(in srgb,var(--bg) 55%,transparent),color-mix(in srgb,var(--bg) 72%,transparent));-webkit-backdrop-filter:blur(2px);backdrop-filter:blur(2px);border-radius:var(--radius);animation:results-fade-in .18s ease-out}.results-loading-card{display:flex;flex-direction:column;align-items:center;gap:12px;padding:22px 28px;border-radius:16px;background:var(--bg-elevated);border:1px solid var(--border);box-shadow:var(--shadow);min-width:min(280px,90%)}.results-loading-copy{display:flex;flex-direction:column;align-items:center;gap:2px;text-align:center}.results-loading-copy strong{font-size:.98rem;font-weight:600}.results-spinner{width:36px;height:36px;border-radius:50%;border:3px solid color-mix(in srgb,var(--accent) 25%,transparent);border-top-color:var(--accent-strong);animation:spin .75s linear infinite}.results-loading-bars{display:flex;align-items:flex-end;gap:5px;height:22px}.results-loading-bars span{width:6px;border-radius:999px;background:var(--accent-strong);animation:results-bar .9s ease-in-out infinite}.results-loading-bars span:nth-child(1){height:8px;animation-delay:0s}.results-loading-bars span:nth-child(2){height:16px;animation-delay:.12s}.results-loading-bars span:nth-child(3){height:12px;animation-delay:.24s}@keyframes results-bar{0%,to{transform:scaleY(.55);opacity:.45}50%{transform:scaleY(1);opacity:1}}@keyframes results-fade-in{0%{opacity:0}to{opacity:1}}.viz-bar{display:flex;flex-wrap:wrap;gap:8px;align-items:center;flex-shrink:0}.viz-tabs{display:flex;flex-wrap:wrap;gap:8px;align-items:center}.viz-select-wrap{display:none;align-items:center;gap:8px;min-width:0}.viz-select-label{flex-shrink:0}.viz-select{min-width:0;flex:1 1 auto;min-height:40px;font:inherit;font-size:.95rem;font-weight:600}.viz-tab{display:inline-flex;align-items:center;gap:6px;padding:7px 12px;font-weight:500;letter-spacing:.01em}.viz-tab-icon{display:inline-flex;align-items:center;justify-content:center;width:1.15em;font-size:1.05em;line-height:1;opacity:.9}.viz-tab-label{font-size:.9rem}.result-panel{background:var(--bg-elevated);border:1px solid var(--border);border-radius:var(--radius);padding:12px;min-height:0;flex:1 1 auto;display:flex;flex-direction:column;overflow:hidden}.results-stage .result-panel>.chart-with-total,.results-stage .result-panel>.table-wrap,.results-stage .result-panel>.big-number,.results-stage .result-panel>div{flex:1 1 auto;min-height:0;width:100%}.results-stage .result-panel .table-wrap{max-height:none;overflow:auto;height:100%}.results-stage .result-panel .echarts-for-react{width:100%!important;height:100%!important;min-height:240px!important}.results-stage .result-panel .chart-with-total{display:flex;flex-direction:column;min-height:0;height:100%}.results-stage .result-panel .big-number{display:flex;flex-direction:column;align-items:center;justify-content:center;text-align:center;min-height:200px}.table-wrap{overflow:auto;max-height:60vh}.data-table{width:100%;border-collapse:collapse;font-size:.9rem}.data-table th,.data-table td{text-align:left;padding:8px 10px;border-bottom:1px solid var(--border);white-space:nowrap}.data-table th{position:sticky;top:0;background:var(--bg-elevated);color:var(--text-muted);font-weight:600}.sql-preview{background:#0a1020;color:#dbe7ff;border-radius:8px;padding:12px;overflow:auto;font-family:var(--mono);font-size:12px}.save-bar{display:flex;gap:8px;align-items:center;margin-bottom:10px}.save-bar input{flex:1;max-width:320px}.save-edit-banner{margin:0 0 16px;line-height:1.45}.modal-backdrop{position:fixed;top:0;right:0;bottom:0;left:0;z-index:80;display:grid;place-items:center;padding:24px 16px;background:color-mix(in srgb,#0a0e18 55%,transparent);-webkit-backdrop-filter:blur(3px);backdrop-filter:blur(3px);animation:results-fade-in .15s ease-out}.modal-dialog{width:min(440px,100%);max-height:min(90vh,640px);overflow:auto;background:var(--bg-elevated);border:1px solid var(--border);border-radius:14px;box-shadow:var(--shadow-lg, 0 18px 48px rgba(0, 0, 0, .35));padding:18px 20px 16px;display:flex;flex-direction:column;gap:4px}.modal-dialog-head{display:flex;align-items:flex-start;justify-content:space-between;gap:12px;margin-bottom:8px}.modal-dialog-head h2{margin:0;font-size:1.15rem;line-height:1.3}.modal-close{flex-shrink:0;width:32px;height:32px;padding:0;font-size:1.35rem;line-height:1;border-radius:8px}.modal-dialog .dash-field{margin:6px 0 4px}.modal-dialog .dash-field input{width:100%;max-width:none;box-sizing:border-box}.modal-dialog-actions{display:flex;justify-content:flex-end;flex-wrap:wrap;gap:8px;margin-top:14px;padding-top:4px}.confirm-dialog-body{margin:0 0 8px;line-height:1.45;color:var(--text)}.confirm-dialog-note{margin:0 0 4px;line-height:1.4}.confirm-viz{text-transform:capitalize}.btn-primary.danger-confirm{background:var(--danger);border-color:var(--danger);color:#fff}.btn-primary.danger-confirm:hover:not(:disabled){filter:brightness(1.05)}.save-dialog .home-viz-pick{margin:4px 0 8px}.btn-ghost.linkish{display:inline;padding:0 2px;color:var(--accent-strong);text-decoration:underline;font-size:inherit;vertical-align:baseline}.btn-ghost.linkish:hover{background:transparent;color:var(--accent)}.checkbox-row{display:flex;align-items:center;gap:8px;font-size:.92rem;margin:8px 0;cursor:pointer}.checkbox-row.compact{margin:0}.home-viz-pick select{padding-top:6px;padding-bottom:6px;font:inherit}.explore-cards{display:grid;grid-template-columns:repeat(auto-fill,minmax(min(280px,100%),1fr));gap:14px}.explore-card{display:block;background:var(--bg-elevated);border:1px solid var(--border);border-radius:var(--radius);padding:16px 18px;color:inherit;text-decoration:none;box-shadow:var(--shadow);transition:border-color .15s,transform .15s}.explore-card:hover{border-color:var(--accent-strong);text-decoration:none;transform:translateY(-1px)}.explore-card-top{display:flex;justify-content:space-between;align-items:flex-start;gap:12px;margin-bottom:8px}.explore-card-top h2{margin:0;font-size:1.1rem}.field-badge{flex-shrink:0;font-size:.75rem;font-weight:600;color:var(--accent);background:#0893e31f;border:1px solid rgba(8,147,227,.28);border-radius:999px;padding:3px 10px;white-space:nowrap}.explore-card-desc{margin:0;color:var(--text-muted);font-size:.9rem;line-height:1.45}.home-page{--home-row: 72px;--home-gap: 14px;--home-cols: 24}.home-board{display:grid;grid-template-columns:repeat(var(--home-cols),minmax(0,1fr));grid-auto-rows:var(--home-row);grid-auto-flow:dense;gap:var(--home-gap);width:100%;align-items:stretch;padding-bottom:24px}.home-card{position:relative;cursor:default;-webkit-user-select:none;user-select:none;min-width:0;min-height:0;height:100%;display:flex;flex-direction:column;overflow:hidden}.home-card a{cursor:pointer;-webkit-user-select:auto;user-select:auto}.home-card-chrome{position:absolute;top:6px;left:6px;right:6px;z-index:6;display:flex;align-items:center;justify-content:space-between;pointer-events:none}.home-move-handle,.home-remove-btn{pointer-events:auto;display:inline-flex;align-items:center;justify-content:center;width:28px;height:28px;padding:0;margin:0;border:1px solid var(--border);border-radius:8px;background:color-mix(in srgb,var(--bg-elevated) 92%,transparent);color:var(--text-muted);box-shadow:var(--shadow);-webkit-backdrop-filter:blur(4px);backdrop-filter:blur(4px);opacity:0;transition:opacity .12s ease,background .12s ease,color .12s ease}.home-card:hover .home-move-handle,.home-card:hover .home-remove-btn,.home-card:focus-within .home-move-handle,.home-card:focus-within .home-remove-btn,.home-card.dragging .home-move-handle{opacity:1}.home-move-handle{cursor:grab;touch-action:none}.home-move-handle:active,.home-card.dragging .home-move-handle{cursor:grabbing}.home-move-grip{font-size:.85rem;letter-spacing:-.12em;line-height:1;transform:rotate(90deg);-webkit-user-select:none;user-select:none}.home-remove-btn{font-size:1.15rem;font-weight:500;line-height:1;cursor:pointer}.home-remove-btn:hover{color:var(--danger);border-color:color-mix(in srgb,var(--danger) 45%,var(--border));background:color-mix(in srgb,var(--danger) 12%,var(--bg-elevated))}.home-move-handle:hover{color:var(--text);border-color:color-mix(in srgb,var(--accent) 40%,var(--border))}.home-resize-handle{position:absolute;right:4px;bottom:4px;width:16px;height:16px;padding:0;border:none;border-radius:3px;cursor:nwse-resize;background:linear-gradient(135deg,transparent 0 45%,color-mix(in srgb,var(--text-muted) 55%,transparent) 45% 55%,transparent 55% 70%,color-mix(in srgb,var(--text-muted) 55%,transparent) 70% 80%,transparent 80%);opacity:.55;z-index:4}.home-resize-handle:hover,.home-card:hover .home-resize-handle{opacity:1;background-color:color-mix(in srgb,var(--bg-soft) 80%,transparent)}@media(max-width:720px){.home-page{--home-gap: 12px;padding:12px 14px 28px}.home-page .page-header{flex-direction:column;align-items:stretch;gap:10px}.home-title-row{flex-wrap:wrap;gap:6px 10px}.home-title-row h1{font-size:1.35rem}.home-toolbar{width:100%;justify-content:stretch;flex-wrap:wrap;gap:8px}.home-toolbar .home-refresh-select{flex:1 1 auto;min-width:0}.home-toolbar .home-refresh-select select{min-height:40px}.home-toolbar>.btn-secondary{flex:1 1 auto;min-height:40px}.home-board{display:flex;flex-direction:column;gap:var(--home-gap);grid-template-columns:none;grid-auto-rows:auto}.home-card{grid-column:auto!important;grid-row:auto!important;width:100%;height:auto;min-height:280px;max-height:none;-webkit-user-select:text;user-select:text}.home-card-body{flex:1 1 auto;min-height:0;display:flex;flex-direction:column}.home-card-chart{flex:1 1 auto;min-height:200px;height:auto;display:flex;flex-direction:column}.home-card-footer{flex-shrink:0}.home-card .big-number,.home-card-chart>.big-number{flex:1 1 auto!important;align-self:stretch;width:100%;height:auto!important;min-height:200px!important;max-height:none;container-type:size;container-name:homenum;display:grid!important;place-items:center;padding:16px 18px;box-sizing:border-box;overflow:hidden}.home-card .big-number-value{font-size:min(max(2.5rem,48cqh),max(2rem,26cqw),6.5rem)!important;line-height:1!important;letter-spacing:-.03em;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;max-width:100%;padding:0!important;margin:0;text-align:center}@supports not (font-size: 1cqh){.home-card .big-number-value{font-size:clamp(2.5rem,15vw,5.5rem)!important}}.home-card .chart-with-total,.home-card .pie-layout{height:auto;min-height:0}.home-card .pie-plot{flex:0 0 auto;min-height:220px;height:220px}.home-card .echarts-for-react{min-height:220px!important;height:220px!important}.home-card .chart-legend-wrap{padding:4px 4px 8px}.home-card .table-wrap{height:auto;min-height:160px;max-height:360px;overflow:auto;-webkit-overflow-scrolling:touch}.home-card .data-table{font-size:.82rem}.home-card .data-table th,.home-card .data-table td{padding:6px 8px}.home-move-handle,.home-resize-handle{display:none!important}.home-remove-btn{opacity:1;width:40px;height:40px;font-size:1.35rem}.home-card-chrome{justify-content:flex-end;top:8px;right:8px}.home-card-footer{padding:12px 8px 4px}a.home-card-title,.home-card-title{font-size:.95rem}.home-board-loading{min-height:200px;padding:20px 12px}.home-board-loading-card{padding:20px 18px;width:100%;max-width:none;min-width:0;box-sizing:border-box}.home-board-skeleton{grid-template-columns:1fr;max-width:none}}.home-card-body{position:relative;flex:1;min-height:0}.home-card-footer{display:block;flex-shrink:0;margin-top:12px;padding:14px 10px 2px;border-top:1px solid var(--border);position:relative;width:100%;box-sizing:border-box;text-align:center}a.home-card-title,.home-card-title{display:block;margin:0 auto;width:100%;max-width:100%;box-sizing:border-box;font-size:.98rem;font-weight:600;line-height:1.35;min-width:0;color:var(--text);text-decoration:none;text-align:center!important;white-space:normal;overflow-wrap:anywhere;word-break:break-word;-webkit-hyphens:auto;hyphens:auto}a.home-card-title:hover{color:var(--accent-strong);text-decoration:underline}.home-card-chart{transition:opacity .25s ease}.home-board-loading{display:grid;place-items:center;min-height:280px;padding:32px 16px;animation:results-fade-in .2s ease-out}.home-board-loading-card{display:flex;flex-direction:column;align-items:center;gap:14px;padding:28px 32px;border-radius:16px;background:var(--bg-elevated);border:1px solid var(--border);box-shadow:var(--shadow);min-width:min(320px,100%)}.home-board-skeleton{display:grid;grid-template-columns:1.2fr 1fr .8fr;gap:10px;width:100%;max-width:280px;margin-top:4px}.home-skel{height:48px;border-radius:10px;background:linear-gradient(90deg,var(--bg-soft) 0%,color-mix(in srgb,var(--accent) 12%,var(--bg-soft)) 50%,var(--bg-soft) 100%);background-size:200% 100%;animation:home-shimmer 1.2s ease-in-out infinite}.home-skel-a{height:56px}.home-skel-b{height:40px;margin-top:8px}.home-skel-c{height:48px;margin-top:4px}.home-card.is-initial-loading .home-card-body{min-height:0}.home-card-loading-subtle{position:absolute;top:0;right:0;bottom:0;left:0;z-index:2;border-radius:8px;overflow:hidden;background:var(--bg-soft)}.home-card-shimmer{display:block;width:100%;height:100%;background:linear-gradient(100deg,transparent 0%,color-mix(in srgb,var(--bg-elevated) 70%,transparent) 40%,color-mix(in srgb,var(--accent) 8%,transparent) 50%,color-mix(in srgb,var(--bg-elevated) 70%,transparent) 60%,transparent 100%);background-size:200% 100%;animation:home-shimmer 1.35s ease-in-out infinite}@keyframes home-shimmer{0%{background-position:100% 0}to{background-position:-100% 0}}.home-card.is-refreshing .home-card-chart{opacity:.72}.home-card-refresh-indicator{position:absolute;top:38px;right:10px;z-index:3;width:18px;height:18px;display:grid;place-items:center;pointer-events:none}.home-refresh-dot{width:8px;height:8px;border-radius:50%;background:var(--accent-strong);box-shadow:0 0 color-mix(in srgb,var(--accent-strong) 55%,transparent);animation:home-refresh-pulse 1.2s ease-out infinite}@keyframes home-refresh-pulse{0%{transform:scale(.85);box-shadow:0 0 color-mix(in srgb,var(--accent-strong) 50%,transparent)}70%{transform:scale(1);box-shadow:0 0 0 8px transparent}to{transform:scale(.85);box-shadow:0 0 0 0 transparent}}.home-card .result-panel,.home-card .table-wrap{max-height:none;height:100%}.home-card .big-number{min-height:0;display:grid;place-items:center;text-align:center;height:100%;width:100%;container-type:size;container-name:homenum;overflow:hidden;padding:10px 12px;box-sizing:border-box}.home-card .big-number-value{text-align:center;width:100%;max-width:100%;font-size:min(42cqh,32cqw,9rem);line-height:.95;letter-spacing:-.03em;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;padding:0;margin:0;box-sizing:border-box}@supports not (font-size: 1cqh){.home-card .big-number-value{font-size:clamp(3.25rem,12vw,8rem)}}.home-card-body{overflow:hidden;flex:1 1 auto;min-height:0;display:flex;flex-direction:column}.home-card-chart{height:100%;min-height:0;flex:1 1 auto;display:flex;flex-direction:column}.home-card-chart>div{flex:1 1 auto;height:100%!important;min-height:0!important;width:100%}.home-card-chart>.big-number{min-height:4.5rem!important;display:grid!important;place-items:center}.chart-with-total{display:flex;flex-direction:column;height:100%;min-height:0}.chart-with-total .echarts-for-react{flex:1 1 auto;min-height:180px;width:100%!important}.pie-layout{gap:6px}.pie-plot{flex:1 1 auto;min-height:140px;width:100%;position:relative}.pie-plot .echarts-for-react{position:absolute!important;top:0;right:0;bottom:0;left:0;width:100%!important;height:100%!important;min-height:0!important}.chart-legend-wrap{flex:0 0 auto;display:flex;flex-wrap:wrap;justify-content:center;align-items:center;gap:6px 14px;list-style:none;margin:0;padding:2px 6px 0;max-width:100%}.chart-legend-item{display:inline-flex;align-items:center;gap:6px;max-width:100%;font-size:.78rem;line-height:1.25;color:var(--text)}.chart-legend-swatch{flex-shrink:0;width:10px;height:10px;border-radius:2px}.chart-legend-text{text-align:left;overflow-wrap:anywhere;word-break:break-word}.chart-total{flex:0 0 auto;text-align:center;font-size:.88rem;padding:4px 8px 0;margin-top:0;border-top:1px solid var(--border)}.chart-total strong{color:var(--text);font-variant-numeric:tabular-nums;font-weight:600}.home-card.dragging{opacity:.9;outline:2px dashed var(--accent-strong);z-index:5}.home-card.drag-invalid{outline-color:#ef4444;opacity:.55}.drag-hint{-webkit-user-select:none;user-select:none}.getting-started{max-width:720px;margin-bottom:24px}.home-page .page-header{max-width:none}.getting-started h2{margin-top:0}.getting-started-steps{color:var(--text-muted);line-height:1.55;padding-left:1.25rem}.getting-started-steps li{margin-bottom:8px}.getting-started-actions{display:flex;gap:10px;margin-top:16px;flex-wrap:wrap}.big-number{display:grid;place-items:center;text-align:center;min-height:200px;width:100%;height:100%;padding:12px 16px;box-sizing:border-box;overflow:hidden;container-type:size}.big-number-value{font-size:clamp(3.5rem,14vw,8.5rem);font-weight:700;color:var(--accent);text-align:center;width:100%;max-width:100%;line-height:.95;letter-spacing:-.03em;font-variant-numeric:tabular-nums;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;padding:0;margin:0;box-sizing:border-box}@supports (font-size: 1cqh){.big-number-value{font-size:min(42cqh,28cqw,8.5rem)}}.tile-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(360px,100%),1fr));gap:16px}.dashboard-detail-page .tile-grid{flex:1 1 auto;grid-template-columns:1fr;grid-template-rows:1fr;gap:16px;min-height:0;align-content:stretch;overflow:hidden}.dashboard-detail-page .tile-grid:has(.tile:nth-child(2)){grid-template-columns:repeat(auto-fit,minmax(min(520px,100%),1fr));grid-template-rows:none;align-content:start;overflow:auto}.tile{min-height:320px;display:flex;flex-direction:column}.dashboard-detail-page .tile{min-height:0;height:100%;overflow:hidden}.dashboard-detail-page .tile-grid:has(.tile:nth-child(2)) .tile{min-height:clamp(360px,48vh,720px);height:auto}.tile-head{display:flex;align-items:flex-start;justify-content:space-between;gap:12px;margin-bottom:12px;flex-shrink:0}.tile-title-row{display:flex;flex-wrap:wrap;align-items:center;gap:8px 10px;min-width:0;flex:1}.tile-title-row h2{margin:0;font-size:1.05rem;line-height:1.3}.tile-viz-badge{flex-shrink:0;font-size:.72rem;font-weight:600;letter-spacing:.02em;text-transform:none;color:var(--accent);background:#0893e31f;border:1px solid rgba(8,147,227,.28);border-radius:999px;padding:3px 10px;white-space:nowrap}.tile-edit-query{flex-shrink:0;margin-left:auto}.tile-body{position:relative;flex:1;min-height:240px}.dashboard-detail-page .tile-body{flex:1 1 auto;min-height:0;display:flex;flex-direction:column;overflow:hidden}.dashboard-detail-page .tile-body>.chart-with-total,.dashboard-detail-page .tile-body>.table-wrap,.dashboard-detail-page .tile-body>.big-number,.dashboard-detail-page .tile-body>div:not(.tile-loading){flex:1 1 auto;min-height:0;width:100%;height:100%}.dashboard-detail-page .tile-body .table-wrap{max-height:none;overflow:auto}.dashboard-detail-page .tile-body .echarts-for-react{width:100%!important;height:100%!important;min-height:200px!important}.dashboard-detail-page .tile-body .pie-plot{flex:1 1 auto;min-height:160px}.dashboard-detail-page .tile-body .big-number{display:grid;place-items:center;text-align:center;container-type:size;overflow:hidden;padding:12px 16px;box-sizing:border-box;min-height:5rem;flex:1 1 auto;width:100%;height:100%}.dashboard-detail-page .tile-body .big-number-value{font-size:min(38cqh,28cqw,10rem);line-height:.95;letter-spacing:-.03em;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;max-width:100%;padding:0;margin:0;box-sizing:border-box}@supports not (font-size: 1cqh){.dashboard-detail-page .tile-body .big-number-value{font-size:clamp(4rem,16vw,9rem)}}.tile-loading{position:absolute;top:0;right:0;bottom:0;left:0;z-index:2;display:grid;place-items:center;border-radius:10px;background:linear-gradient(180deg,color-mix(in srgb,var(--bg-elevated) 70%,transparent),color-mix(in srgb,var(--bg) 75%,transparent));-webkit-backdrop-filter:blur(2px);backdrop-filter:blur(2px);animation:results-fade-in .18s ease-out}.tile-loading-card{display:flex;flex-direction:column;align-items:center;gap:12px;padding:20px 24px;border-radius:14px;background:var(--bg-elevated);border:1px solid var(--border);box-shadow:var(--shadow);min-width:min(240px,90%)}.tile.is-loading .tile-body>:not(.tile-loading){opacity:.25;pointer-events:none}.dash-edit-fields{display:flex;flex-direction:column;gap:10px;min-width:min(420px,100%);margin-top:6px}.dash-field{display:flex;flex-direction:column;gap:4px}.dash-field input{background:var(--bg);border:1px solid var(--border);color:var(--text);border-radius:8px;padding:8px 12px;font:inherit;font-size:1rem}.dash-field input:first-of-type{font-size:1.35rem;font-weight:650}.dash-edit-home{display:flex;flex-wrap:wrap;align-items:center;gap:16px 24px;margin-bottom:16px;padding:14px 16px}.dash-home-hint{margin:-4px 0 14px}.dash-detail-header{align-items:flex-start;gap:16px 24px}.dash-detail-title-block{min-width:0;flex:1}.dash-title-button{display:block;width:100%;margin:0;padding:0;border:none;background:transparent;color:inherit;font:inherit;font-size:1.6rem;font-weight:700;line-height:1.25;text-align:left;cursor:text;border-radius:6px}.dash-title-button:hover{color:var(--accent-strong)}.dash-title-input{display:block;width:min(520px,100%);margin:0;padding:6px 10px;border:1px solid var(--accent);border-radius:8px;background:var(--bg-elevated);color:var(--text);font:inherit;font-size:1.45rem;font-weight:700;line-height:1.25;box-sizing:border-box}.dash-title-input:focus{outline:none;box-shadow:0 0 0 3px color-mix(in srgb,var(--accent) 28%,transparent)}.dash-detail-header-right{display:flex;flex-direction:column;align-items:flex-end;gap:10px;flex-shrink:0}.dash-pin-status{display:flex;flex-wrap:wrap;align-items:center;justify-content:flex-end;gap:6px 8px;max-width:min(420px,100%)}.dash-pin-icon{font-size:.95rem;line-height:1}.dash-pin-none{opacity:.75}.dash-pin-status .tile-viz-badge{display:inline-flex;align-items:center;gap:4px;padding-right:4px}.dash-pin-remove{border:none;background:transparent;color:inherit;font:inherit;font-size:.95rem;line-height:1;padding:0 4px;margin:0;cursor:pointer;opacity:.65;border-radius:4px}.dash-pin-remove:hover{opacity:1;background:color-mix(in srgb,var(--danger) 18%,transparent)}.tile-viz-bar{margin:0 0 12px;flex-shrink:0}.dashboard-detail-page .tile-head{display:none}.dashboard-detail-page .tile-viz-bar{margin-top:0;flex-shrink:0}.tile-edit-head{display:flex;flex-wrap:wrap;gap:8px;width:100%;align-items:center}.tile-title-input{flex:1 1 160px;min-width:0;background:var(--bg);border:1px solid var(--border);color:var(--text);border-radius:8px;padding:8px 10px;font:inherit;font-weight:600}.login-page{min-height:100vh;min-height:100dvh;display:grid;place-items:center;padding:1.75rem 1.25rem;padding:max(1.25rem,env(safe-area-inset-top,0px)) max(1.25rem,env(safe-area-inset-right,0px)) max(1.25rem,env(safe-area-inset-bottom,0px)) max(1.25rem,env(safe-area-inset-left,0px));position:relative;overflow:hidden;background:var(--cp-midnight)}.login-backdrop{position:absolute;top:0;right:0;bottom:0;left:0;background:linear-gradient(145deg,#000032,#001a5c 48%,#000032);pointer-events:none}.login-glow{position:absolute;border-radius:50%;filter:blur(60px);pointer-events:none;opacity:.55}.login-glow-a{width:min(520px,70vw);height:min(520px,70vw);top:-12%;left:-8%;background:#0893e359}.login-glow-b{width:min(480px,65vw);height:min(480px,65vw);right:-10%;bottom:-18%;background:#00248e8c}.theme-toggle{display:inline-flex;align-items:center;justify-content:center;width:36px;height:36px;padding:0;border-radius:10px}.theme-toggle-icon{display:block;flex-shrink:0}.login-theme-toggle{position:absolute;top:16px;right:16px;z-index:2;color:#fff}.login-theme-toggle:hover{background:#ffffff1f}.login-shell{position:relative;z-index:1;width:min(440px,100%)}.login-card{width:100%;overflow:hidden;border-radius:18px;background:var(--bg-elevated);border:1px solid var(--border);box-shadow:0 24px 60px #00000059;text-align:center;color:var(--text)}.login-card-header{padding:1.35rem 1.5rem 1.15rem;background:linear-gradient(135deg,#000032,#001f70 55%,#00248e);color:#fff;display:flex;justify-content:center}.login-card-header .brand{justify-content:center;color:#fff}.login-card-header .brand-carpow-logo{height:26px;max-width:140px}.login-card-header .brand-divider{background:#ffffff4d}.login-card-header .brand-product-name{font-size:1.15rem}.login-card-header .brand-mark{width:34px;height:34px;background:linear-gradient(135deg,#0893e3,#5abaff);box-shadow:0 0 0 1px #ffffff2e,0 8px 18px #0893e366}.login-card-header .brand-mark-svg{width:24px;height:24px}.login-card-body{padding:1.75rem 1.75rem 1.25rem}.login-title{margin:0 0 1.35rem;font-size:1.65rem;letter-spacing:-.03em;font-weight:800;color:var(--text)}.btn-signin{width:100%;display:inline-flex;align-items:center;justify-content:center;gap:.6rem;min-height:50px;padding:.8rem 1.15rem;border-radius:999px;border:0;background:var(--cp-accent);color:#fff;font-size:.95rem;font:inherit;font-weight:700;cursor:pointer;box-shadow:0 8px 22px #0893e359;transition:transform .12s ease,box-shadow .12s ease,filter .12s ease}.btn-signin:hover:not(:disabled){transform:translateY(-1px);filter:brightness(1.06);box-shadow:0 12px 28px #0893e373}.btn-signin:disabled{opacity:.75;cursor:wait}.login-spinner{width:18px;height:18px;border-radius:50%;border:2px solid rgba(255,255,255,.35);border-top-color:#fff;animation:spin .7s linear infinite}@keyframes spin{to{transform:rotate(360deg)}}.login-loading{padding:.95rem;color:var(--text-muted);font-weight:500}.login-error{margin:1rem 0 0;padding:.7rem .85rem;border-radius:var(--radius-sm);background:#f071781a;border:1px solid rgba(240,113,120,.35);color:var(--danger);font-size:.88rem;text-align:left}.login-card-footer{padding:0 1.75rem 1.25rem}.login-footer{margin:0;padding-top:.85rem;border-top:1px solid var(--border);font-size:.78rem;color:var(--text-muted)}.dev-hint{margin-top:1rem;font-size:.82rem;color:var(--text-muted)}.error-page{min-height:100vh;display:grid;place-content:center;gap:12px;padding:24px}@media(max-width:900px){.explore-layout{grid-template-columns:1fr;grid-template-rows:minmax(180px,34vh) 1fr}.field-panel{max-height:none;border-right:0;border-bottom:1px solid var(--border)}}@media(max-width:720px){.explore-layout{grid-template-columns:1fr;grid-template-rows:minmax(0,1fr)}.field-panel-desktop{display:none!important}.fields-drawer-toggle{display:inline-flex;align-items:center;justify-content:center;gap:8px;flex-shrink:0;min-height:40px;padding:0 14px}.fields-drawer-count{display:inline-flex;align-items:center;justify-content:center;min-width:1.35rem;height:1.35rem;padding:0 6px;border-radius:999px;font-size:.75rem;font-weight:700;background:color-mix(in srgb,var(--accent) 22%,transparent);color:var(--accent-strong)}.fields-hint-desktop{display:none}.fields-hint-mobile{display:inline}.fields-drawer{display:block;position:fixed;top:0;right:0;bottom:0;left:0;z-index:85}.fields-drawer-backdrop{position:absolute;top:0;right:0;bottom:0;left:0;border:0;padding:0;margin:0;background:color-mix(in srgb,#0a0e18 55%,transparent);-webkit-backdrop-filter:blur(2px);backdrop-filter:blur(2px);cursor:pointer}.field-panel-drawer{position:absolute;top:0;left:0;bottom:0;width:min(340px,90vw);padding:max(12px,env(safe-area-inset-top,0px)) 12px max(16px,env(safe-area-inset-bottom,0px)) max(12px,env(safe-area-inset-left,0px));border-right:1px solid var(--border);border-bottom:0;box-shadow:12px 0 40px #00000047;animation:fields-drawer-in .18s ease-out;z-index:1}@keyframes fields-drawer-in{0%{transform:translate(-14px);opacity:.85}to{transform:translate(0);opacity:1}}.field-panel-close{display:inline-flex;align-items:center;justify-content:center;width:40px;height:40px;padding:0;font-size:1.5rem;line-height:1;flex-shrink:0;border-radius:10px}.field-panel-head h2{font-size:1.1rem}.acc-header{min-height:44px;padding:12px}.field-list label{min-height:40px;align-items:center;padding:8px 0}.field-filter-btn{min-width:36px;min-height:36px;font-size:.85rem;padding:6px 8px}.explore-main{padding:12px 12px 16px;gap:10px;grid-row:1;min-height:0;overflow-x:hidden;overflow-y:auto;-webkit-overflow-scrolling:touch}.explore-main>.results-stage{flex:0 0 auto;min-height:min(52vh,420px)}.explore-edit-banner{flex-direction:column;align-items:stretch;gap:10px}.explore-edit-banner .btn-ghost{min-height:40px;width:100%;justify-content:center;border:1px solid var(--border)}.toolbar{flex-direction:column;align-items:stretch;gap:10px}.toolbar-actions{order:-1;display:flex;flex-direction:column;align-items:stretch;gap:8px;width:100%}.toolbar-primary{display:grid;grid-template-columns:1fr 1fr;gap:8px;width:100%;align-items:stretch}.toolbar-primary>.fields-drawer-toggle{min-height:44px;width:100%;justify-content:center}.toolbar-run{font-size:1rem}.run-split{display:flex;position:relative;min-width:0;width:100%;border-radius:var(--radius-sm);box-shadow:none}.run-split-main{flex:1 1 auto;min-width:0;min-height:44px;justify-content:center;border-top-right-radius:0!important;border-bottom-right-radius:0!important;border-right:1px solid color-mix(in srgb,#fff 28%,transparent)}.run-split-caret{display:inline-flex;align-items:center;justify-content:center;flex:0 0 42px;width:42px;min-height:44px;padding:0!important;border-top-left-radius:0!important;border-bottom-left-radius:0!important;font-size:.75rem;line-height:1}.run-split-menu{display:block;position:absolute;top:calc(100% + 4px);right:0;z-index:40;min-width:100%;padding:4px;border-radius:10px;border:1px solid var(--border);background:var(--bg-elevated);box-shadow:var(--shadow);animation:results-fade-in .12s ease-out}.run-split-menu-item{display:flex;align-items:center;width:100%;min-height:44px;padding:10px 12px;margin:0;border:0;border-radius:8px;background:transparent;color:var(--text);font:inherit;font-weight:600;font-size:.95rem;text-align:left;cursor:pointer}.run-split-menu-item:hover:not(:disabled),.run-split-menu-item:focus-visible{background:var(--bg-soft);outline:none}.run-split-menu-item:disabled{opacity:.45;cursor:default}.export-desktop-only{display:none!important}.toolbar-secondary{display:flex;align-items:center;justify-content:space-evenly;gap:4px;width:100%;padding:2px 0;border-top:1px solid var(--border)}.toolbar-secondary-btn{flex:1 1 auto;min-height:40px;padding:8px 6px!important;font-size:.88rem!important;font-weight:600;border-radius:8px;border:none!important;background:transparent!important;color:var(--text-muted)!important;box-shadow:none!important}.toolbar-secondary-btn:hover:not(:disabled){color:var(--text)!important;background:var(--bg-soft)!important}.toolbar-secondary-btn:disabled{opacity:.45}.selected-chips{order:0;width:100%;max-height:96px;overflow-y:auto}.filter-builder{padding:10px 12px}.filter-head-hint-desktop,.filter-empty-desktop,.filter-rows-desktop,.filter-add-desktop{display:none!important}.filter-head-hint-mobile{display:inline}.filter-summary-list{display:flex;flex-direction:column;gap:8px;margin:8px 0 4px}.filter-summary-item{display:grid;grid-template-columns:auto 1fr auto;gap:8px;align-items:center;padding:10px 12px;border-radius:10px;border:1px solid var(--border);background:var(--bg)}.filter-summary-and{font-weight:600}.filter-summary-text{margin:0;font-size:.9rem;line-height:1.35;min-width:0;overflow-wrap:anywhere}.filter-summary-actions{display:flex;align-items:center;gap:4px;flex-shrink:0}.filter-summary-edit{min-height:36px;padding:6px 10px!important;font-size:.85rem!important}.filter-summary-remove{width:36px;min-height:36px;padding:0!important;font-size:1.2rem}.filter-add-mobile{display:inline-flex!important;width:100%;justify-content:center;min-height:44px}.filter-edit-backdrop{display:grid}.filter-edit-dialog{width:min(440px,100%)}.filter-row-dialog{display:flex;flex-direction:column;align-items:stretch;gap:10px;width:100%}.filter-row-dialog .filter-table,.filter-row-dialog .filter-field,.filter-row-dialog .filter-op,.filter-row-dialog .filter-value,.filter-row-dialog .filter-suggest{width:100%;min-width:0;flex:none}.filter-table,.filter-field,.filter-op,.filter-value{min-width:0;flex:1 1 100%;width:100%}.filter-and{width:auto}.filter-row{align-items:stretch}.filter-row select,.filter-row input{width:100%;box-sizing:border-box}.filter-suggest{min-width:0;max-width:none;flex:1 1 100%}.filter-remove{min-width:40px;min-height:40px;font-size:1.35rem;align-self:flex-end}.filter-add{min-height:40px;width:100%}.suggest-list{max-height:200px;-webkit-overflow-scrolling:touch}.suggest-option{min-height:40px;padding:8px 4px;font-size:.95rem}.results-loading-card,.tile-loading-card{padding:16px 18px;width:min(100%,280px);box-sizing:border-box}.chip{min-height:36px;padding:8px 12px;font-size:.9rem}.viz-tabs{display:none}.viz-select-wrap{display:flex;flex:1 1 140px;min-width:0}.viz-select{width:100%;min-height:44px;font-size:16px!important}.viz-bar{gap:8px;width:100%}.viz-meta{width:100%;flex-basis:100%}.result-panel{padding:10px;min-width:0}.table-wrap{max-width:100%}.results-stage .result-panel .big-number{flex:1 1 auto;min-height:200px;height:100%;display:grid;place-items:center;overflow:hidden;container-type:size}.results-stage .result-panel .big-number-value{font-size:min(max(2.5rem,48cqh),max(2rem,26cqw),6.5rem)!important;line-height:1!important;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;max-width:100%;padding:0!important}.results-stage .result-panel .pie-plot{min-height:220px;height:220px;flex:0 0 auto}.results-stage .result-panel .echarts-for-react{min-height:220px!important}.results-stage .result-panel .table-wrap{-webkit-overflow-scrolling:touch}.sql-preview{font-size:11px;padding:10px;max-width:100%;white-space:pre-wrap;word-break:break-word}.getting-started{max-width:none}.getting-started-actions{flex-direction:column}.getting-started-actions>*{width:100%;justify-content:center;text-align:center;min-height:44px}.page,.explore-main{overflow-x:clip}input,select,textarea{font-size:16px!important}button,a.btn-primary,a.btn-secondary,a.dash-action-btn,.chip,.pin-type-btn,.viz-tab,.queries-filter-btn,.topnav a{touch-action:manipulation}}
