/* Executive workspace and Obsidian. */
body{--header-height:68px}header.executive-header{display:grid;grid-template-columns:minmax(235px,1fr) minmax(270px,1.25fr) minmax(265px,1fr);align-items:center;gap:18px;padding:9px 20px;position:sticky;top:0;z-index:30;min-height:68px}.executive-header .brand{min-width:0}.executive-header .brand>div:last-child{overflow:hidden;text-overflow:ellipsis}.executive-header .brand .tiny{white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.executive-header .top-controls{display:flex;flex-wrap:nowrap;justify-content:flex-end;gap:8px}.header-center{display:flex;gap:9px;align-items:center;min-width:0}.header-center select{max-width:180px;min-width:0}.header-center .search{min-width:90px;flex:1;max-width:none;white-space:nowrap;overflow:hidden}.header-center .search .tiny{float:right}.profile-btn{display:flex;align-items:center;gap:9px;text-align:left;min-width:0;border:1px solid var(--border);background:var(--surface);padding:6px 9px;border-radius:12px}.avatar{width:35px;height:35px;border-radius:50%;background:var(--soft);color:var(--accent);display:grid;place-items:center;font-size:13px;font-weight:800;flex:none}.profile-meta{min-width:0;white-space:nowrap;line-height:1.3}.profile-meta strong{font-size:14px;display:block;overflow:hidden;text-overflow:ellipsis}.profile-meta small{color:var(--muted);font-size:12px;display:block}.profile-caret{font-size:12px;color:var(--muted)}.appearance-trigger,.alert-trigger{position:relative;display:flex;align-items:center;gap:5px;min-height:40px}.alert-trigger b{background:#c74758;color:#fff;border-radius:50%;font-size:11px;padding:2px 5px;position:absolute;top:-5px;right:-4px}.popover{display:none;position:fixed;right:20px;top:calc(var(--header-height) + 8px);width:min(390px,calc(100vw - 24px));border:1px solid var(--border);background:var(--surface);border-radius:17px;padding:19px;box-shadow:0 18px 50px #0d14243a;z-index:41;max-height:calc(100vh - var(--header-height) - 25px);overflow:auto}.popover.open{display:block}.popover h3{margin:0 0 5px;font-size:17px}.popover p{font-size:13px;color:var(--muted);margin:0 0 16px}.popover h4{font-size:13px;margin:16px 0 8px;color:var(--muted);text-transform:uppercase;letter-spacing:.6px}.popover .themebar{display:grid;grid-template-columns:repeat(2,1fr);width:100%;gap:5px;padding:5px}.popover .themebar button{padding:11px 8px;font-size:13px;white-space:normal;text-align:left}.popover .themebar button:last-child{grid-column:span 2}.popover .palette-control{width:max-content}.popover .palette-btn{width:38px;height:36px}.popover .palette-btn span{width:20px;height:20px}.popover .design-gallery,.popover #dark{display:flex;align-items:center;justify-content:center;gap:8px;width:100%;padding:11px;margin-top:8px}.profile-summary{display:flex;gap:12px;align-items:center;margin-bottom:16px}.profile-summary .avatar{width:49px;height:49px;font-size:18px}.profile-summary strong{font-size:17px}.profile-row{display:flex;gap:10px;width:100%;text-align:left;align-items:center;padding:12px 8px;border-bottom:1px solid var(--border);border-radius:8px}.profile-row:hover{background:var(--soft);color:var(--accent)}.profile-row:last-child{border-bottom:0}.profile-row .chronos-icon{color:var(--muted)}.sidebar-company{display:flex;align-items:center;gap:9px;padding:10px 8px 15px;border-bottom:1px solid var(--border);margin-bottom:13px}.sidebar-company .mark{width:33px;height:33px}.sidebar-company strong{display:block;font-size:14px}.sidebar-company small{color:var(--muted);font-size:12px}.sidebar-version{margin-top:20px;padding:12px 10px;border-top:1px solid var(--border);font-size:12px;color:var(--muted);display:flex;justify-content:space-between;gap:5px}.compact .sidebar-company,.compact .sidebar-version{display:none}aside{top:var(--header-height);height:calc(100vh - var(--header-height))}.period{display:flex;align-items:center;gap:9px;flex-wrap:wrap;margin:0 0 21px;padding:12px 15px;border:1px solid var(--border);border-radius:13px;background:var(--surface);box-shadow:var(--shadow)}.period label{display:flex;align-items:center;gap:6px;font-size:13px;color:var(--muted)}.period input{border:1px solid var(--border);border-radius:8px;color:var(--text);background:var(--bg);padding:7px 9px;font:inherit;max-width:156px}.period button{font-size:13px;padding:8px 10px;border-radius:8px;border:1px solid var(--border)}.period button.selected{background:var(--soft);color:var(--accent);font-weight:700;border-color:transparent}.period .period-note{margin-left:auto;font-size:12px;color:var(--muted)}.executive-kpis{grid-template-columns:repeat(4,minmax(0,1fr));gap:12px;margin-bottom:19px}.metric-card{display:flex;gap:12px;align-items:flex-start;text-align:left;min-height:111px;padding:15px;cursor:pointer}.metric-card:hover{border-color:var(--accent)}.metric-card .metric-label{font-size:13px;color:var(--muted);font-weight:600}.metric-card .metric-value{font-size:clamp(20px,2vw,26px);font-weight:750;letter-spacing:-.6px;margin:6px 0 2px;white-space:nowrap}.metric-card .iconbox{width:33px;height:33px}.metric-card .metric-sub{font-size:12px;color:var(--muted)}.metric-card .positive,.metric-card .warn{font-size:12px}.executive-chart{margin-bottom:18px}.executive-chart .chart{height:190px;padding-top:10px;gap:7px;align-items:end;background:repeating-linear-gradient(to top,transparent 0,transparent calc(25% - 1px),var(--border) calc(25% - 1px),var(--border) 25%)}.chart-head{display:flex;justify-content:space-between;align-items:center;gap:12px}.chart-head small{color:var(--muted)}.chart .bar{cursor:pointer;transition:height .2s}.chart .bar:focus-visible{outline:2px solid var(--accent);outline-offset:3px}.bottom-overview{grid-template-columns:1fr 1fr 1fr;margin-bottom:20px}.mini-bar{height:6px;border-radius:20px;background:var(--border);overflow:hidden;margin-top:7px}.mini-bar>span{display:block;background:var(--accent);height:100%;border-radius:20px}.mini-stat{margin:12px 0}.mini-stat>div:first-child{display:flex;justify-content:space-between;gap:8px;font-size:13px}.mini-stat strong{white-space:nowrap}.session-demo{min-height:70vh;display:grid;place-items:center;text-align:center}.session-demo .card{max-width:400px}.session-demo .avatar{margin:10px auto;width:60px;height:60px;font-size:24px}.dark .period input{color-scheme:dark}body[data-style=obsidian]{--bg:#242832;--surface:#292e38;--sidebar:#252a34;--border:#333a46;--text:#f2f4f8;--muted:#a4adbc;--accent:#aa82f4;--soft:#373249;--shadow:7px 7px 16px #1b1e26,-4px -4px 10px #343945; color-scheme:dark;background:#242832}body[data-style=obsidian].dark{--bg:#191d26;--surface:#222733;--sidebar:#1d222d;--border:#303745;--text:#f4f5f9;--muted:#a6afbe;--accent:#b692ff;--soft:#39304c;--shadow:7px 7px 20px #12161e,-4px -4px 12px #2a303b;background:#191d26}body[data-style=obsidian][data-palette=orchid]{--accent:#d59afa;--soft:#493553}body[data-style=obsidian][data-palette=solar]{--accent:#ffc26c;--soft:#4c3c2e}body[data-style=obsidian] :is(.card,.period,header){border-color:#ffffff08;box-shadow:var(--shadow)}body[data-style=obsidian] .card{border-radius:17px}body[data-style=obsidian] .iconbox{background:#1e222c;box-shadow:inset 2px 2px 4px #11151c,inset -2px -2px 4px #373d49}body[data-style=obsidian] .sub.active{box-shadow:inset 2px 2px 7px #161923;background:#302a40}body[data-style=obsidian] .primary{color:#221b2f}body[data-style=obsidian] .positive{color:#71dbaf}body[data-style=obsidian] .warn{color:#f4ad7c}body[data-style=obsidian] .bar{background:linear-gradient(0deg,var(--accent),color-mix(in srgb,var(--accent) 72%,#fff));box-shadow:0 0 10px #a585ff25}body[data-style=obsidian] .profile-btn,body[data-style=obsidian] .control,body[data-style=obsidian] select,body[data-style=obsidian] .search{background:#222631;box-shadow:inset 1px 1px 3px #151923}body[data-style=glass] .popover{backdrop-filter:blur(28px);background:color-mix(in srgb,var(--surface) 85%,var(--bg))}body[data-style=dynamic] .metric-card:first-child{background:var(--accent);color:white}body[data-style=dynamic] .metric-card:first-child :is(.metric-label,.metric-sub,.positive){color:#f2fffc}body[data-style=dynamic].dark .metric-card:first-child{color:#182331}body[data-style=dynamic].dark .metric-card:first-child :is(.metric-label,.metric-sub,.positive){color:#202b37}@media(max-width:1150px){header.executive-header{grid-template-columns:minmax(160px,1fr) minmax(220px,1fr) auto;gap:10px;padding:9px 12px}.executive-header .brand .tiny{display:none}.executive-header .brand .mark{display:none}.header-center select{max-width:140px}.profile-meta{max-width:100px}.executive-kpis{grid-template-columns:repeat(2,minmax(0,1fr))}.bottom-overview{grid-template-columns:1fr 1fr}}@media(max-width:690px){header.executive-header{grid-template-columns:1fr auto;gap:7px}.header-center{grid-row:2;grid-column:1/-1}.header-center select{max-width:160px}.executive-header .top-controls{width:auto;grid-column:2;grid-row:1}.executive-header .brand{gap:5px}.executive-header .brand .control{padding:6px}.profile-meta,.profile-caret{display:none}.profile-btn{padding:3px;border:0}.profile-btn .avatar{width:32px;height:32px}.appearance-trigger,.alert-trigger{padding:7px}.appearance-trigger .appearance-text{display:none}.sidebar-company,.sidebar-version{display:none}.period{padding:10px;gap:6px}.period input{max-width:133px}.period-note{width:100%}.metric-card{padding:10px;gap:6px;min-height:90px;display:block}.metric-card .iconbox{display:none}.metric-card .metric-value{font-size:20px}.metric-card .metric-label{font-size:12px}.bottom-overview{grid-template-columns:1fr}.executive-chart .chart{gap:3px;height:135px}.chart-head{flex-wrap:wrap}.heading h1{font-size:25px}.popover{right:12px}}
