/* Titanium study: scoped to Today; existing controls and live data stay intact. */
html[data-console-theme] #todayScreen {
 --text:#f4f7fb;--text-muted:#b0bac9;--border:#ffffff20;
 color:var(--text);padding:24px;border-radius:28px;
 background:radial-gradient(ellipse at 86% 0%,#153b514a,transparent 48%),radial-gradient(ellipse at 0% 85%,#30404440,transparent 55%),#11161e;
 font-family:-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;
}
html[data-console-theme] #todayScreen .td-overview {gap:16px;grid-template-columns:1fr 1fr .85fr;}
html[data-console-theme] #todayScreen .td-card,
html[data-console-theme] #todayScreen .today-panel {
 color:var(--text)!important;background:linear-gradient(145deg,#ffffff0e,#ffffff02 48%),#202731!important;
 border:1px solid #ffffff20!important;border-radius:22px!important;padding:22px;
 box-shadow:inset 0 1px 0 #ffffff14,0 12px 28px #00000026;
}
html[data-console-theme] #todayScreen .td-result {background:radial-gradient(ellipse at 100% 0%,#3e97c949,transparent 72%),linear-gradient(145deg,#2b3745,#1b232e)!important;}
html[data-console-theme] #todayScreen .td-result>strong {letter-spacing:-1.5px;font-size:36px;color:#f2f8ff;}
html[data-console-theme] #todayScreen .td-chart h3 {font-size:15px;font-weight:600;}
html[data-console-theme] #todayScreen .td-ring {width:130px;filter:drop-shadow(0 4px 8px #0005);}
html[data-console-theme] #todayScreen .td-chart-body {margin-top:24px;gap:16px;}
html[data-console-theme] #todayScreen .td-metrics {gap:14px;margin:18px 0 24px;}
html[data-console-theme] #todayScreen .td-metric {position:relative;padding:20px;gap:10px;transition:transform .2s ease,box-shadow .2s ease;}
html[data-console-theme] #todayScreen .td-metric:hover {transform:translateY(-3px);box-shadow:inset 0 1px 0 #ffffff30,0 16px 32px #0005;border-color:#84ceff65!important;}
html[data-console-theme] #todayScreen .td-icon {display:grid;place-items:center;width:40px;height:40px;border-radius:13px;background:linear-gradient(145deg,#75cfff,#287ba9);color:#eefaff;box-shadow:inset 0 1px 0 #ffffff70,0 4px 12px #0004;margin-bottom:4px;}
html[data-console-theme] #todayScreen .td-icon svg {width:23px;height:23px;}
html[data-console-theme] #todayScreen .td-metric:nth-child(2) .td-icon {background:linear-gradient(145deg,#71d9bc,#277e70);}
html[data-console-theme] #todayScreen .td-metric:nth-child(3) .td-icon {background:linear-gradient(145deg,#e6ba72,#986522);}
html[data-console-theme] #todayScreen .td-metric:nth-child(4) .td-icon {background:linear-gradient(145deg,#a7b9d4,#546680);}
html[data-console-theme] #todayScreen .td-metric:nth-child(5) .td-icon {background:linear-gradient(145deg,#b3b9c4,#646e7b);}
html[data-console-theme] #todayScreen .td-metric>strong {position:absolute;right:20px;top:22px;font-size:32px;font-weight:600;}
html[data-console-theme] #todayScreen .td-metric>span:not(.td-icon) {font-size:13px;font-weight:600;}
html[data-console-theme] #todayScreen .btn {color:#edf4fc!important;background:linear-gradient(180deg,#ffffff20,#ffffff06),#303a47!important;border:1px solid #ffffff2e!important;border-radius:10px!important;box-shadow:inset 0 1px 0 #ffffff18,0 3px 6px #0003;font-weight:500;transition:filter .18s,transform .18s;}
html[data-console-theme] #todayScreen .btn:hover {filter:brightness(1.15);}
html[data-console-theme] #todayScreen .btn:active {transform:translateY(1px);}
html[data-console-theme] #todayScreen .btn--primary {background:linear-gradient(180deg,#63b9ea,#348ac0)!important;color:#071b2b!important;}
html[data-console-theme] #todayScreen .today-grid {gap:16px;}
html[data-console-theme] #todayScreen .today-panel__head {border-color:#ffffff15;}
html[data-console-theme] #todayScreen :is(p,small,.text-muted,.muted) {color:var(--text-muted);}
html[data-console-theme] #todayScreen :is(button,a):focus-visible {outline:2px solid #8bd5ff;outline-offset:4px;}
@media(min-width:1100px){html[data-console-theme] #todayScreen .today-panel {background:linear-gradient(145deg,#ffffff0c,#ffffff03),#1c242ddd!important;backdrop-filter:blur(12px);}}
@media(max-width:1200px){html[data-console-theme] #todayScreen .td-overview{grid-template-columns:1fr 1fr;}html[data-console-theme] #todayScreen .td-result{grid-column:1/-1;}}
@media(max-width:760px){html[data-console-theme] #todayScreen{padding:12px;}html[data-console-theme] #todayScreen .td-overview{grid-template-columns:1fr;}html[data-console-theme] #todayScreen .td-metrics{grid-template-columns:repeat(2,minmax(0,1fr));}html[data-console-theme] #todayScreen .td-card{padding:16px;}}
@media(prefers-reduced-motion:reduce){html[data-console-theme] #todayScreen *{animation:none!important;transition:none!important;}html[data-console-theme] #todayScreen .td-metric:hover{transform:none;}}
/* Navigation: a stable frame with one independent scrolling region. */
html[data-console-theme] #mainSidebar{display:flex;flex-direction:column;overflow:hidden;background:linear-gradient(155deg,#313e4caa,#171e28ed 45%,#111821f5)!important;border:1px solid #ffffff26!important;border-radius:24px!important;box-shadow:inset 0 1px 0 #ffffff20,0 18px 48px #0004;backdrop-filter:blur(18px);color:#edf4fc;}
html[data-console-theme] #mainSidebar .studio-brand{flex:0 0 auto;min-height:108px;padding:22px 20px 18px;border-bottom:1px solid #ffffff12;background:transparent!important;}
html[data-console-theme] #mainSidebar .studio-clock{background:none!important;box-shadow:none!important;border:0!important;padding:0;color:#f3f8ff;}
html[data-console-theme] #mainSidebar .studio-clock__time{font-size:32px;letter-spacing:-1.4px;font-weight:600;color:#f3f8ff;}
html[data-console-theme] #mainSidebar .studio-clock__date{color:#a9b7c9;font-size:11px;}
html[data-console-theme] #mainSidebar .sidebar__nav{flex:1 1 0;min-height:0;overflow-y:auto;overflow-x:hidden;padding:12px 10px 20px;overscroll-behavior:contain;scrollbar-width:thin;scrollbar-color:#72859d55 transparent;scrollbar-gutter:stable;}
html[data-console-theme] #mainSidebar .sidebar__nav::-webkit-scrollbar{width:4px;}
html[data-console-theme] #mainSidebar .sidebar__nav::-webkit-scrollbar-thumb{background:#72859d66;border-radius:8px;}
html[data-console-theme] #mainSidebar .sidebar__group{margin:0 0 8px;padding:0;border:0;}
html[data-console-theme] #mainSidebar .sidebar__group-label{color:#8f9eb1;font-size:9px;font-weight:650;letter-spacing:1.5px;padding:8px 12px 5px;margin:0;}
html[data-console-theme] #mainSidebar .sidebar__btn{display:flex;align-items:center;width:100%;gap:10px;min-height:40px;padding:4px 10px;margin:1px 0;border:1px solid transparent!important;border-radius:12px!important;background:transparent!important;color:#c8d3e2!important;font:500 12px/1.25 -apple-system,BlinkMacSystemFont,sans-serif;text-align:left;white-space:normal;box-shadow:none;transition:background .18s,color .18s,border-color .18s;}
html[data-console-theme] #mainSidebar .sidebar__btn:hover{background:#ffffff09!important;color:#fff!important;}
html[data-console-theme] #mainSidebar .sidebar__btn.active{background:linear-gradient(115deg,#73caff28,#a9cce512)!important;border-color:#a3d5fa36!important;color:#fff!important;box-shadow:inset 0 1px 0 #ffffff18,0 4px 12px #0002;}
html[data-console-theme] #mainSidebar .sidebar__btn>.ui-icon{width:30px!important;height:30px!important;flex:0 0 30px;display:inline-flex;align-items:center;justify-content:center;padding:6px;border-radius:9px;background:linear-gradient(145deg,#91a4bc32,#45516540);box-shadow:inset 0 1px 0 #ffffff20,0 2px 4px #0002;opacity:1;color:#c4d8ef;}
html[data-console-theme] #mainSidebar .sidebar__btn>.ui-icon svg{width:18px!important;height:18px!important;opacity:1;}
html[data-console-theme] #mainSidebar .sidebar__btn.active>.ui-icon{background:linear-gradient(145deg,#74cdff,#277fab);color:#fff;box-shadow:inset 0 1px 0 #ffffff60,0 3px 10px #0004;}
html[data-console-theme] #mainSidebar .sidebar__group--finance .ui-icon{color:#9de1c4;background:linear-gradient(145deg,#639b7738,#2c544b40);}
html[data-console-theme] #mainSidebar .sidebar__group--team .ui-icon{color:#ecd1a2;background:linear-gradient(145deg,#bb9b6530,#64513530);}
html[data-console-theme] #mainSidebar .sidebar__brand{flex:0 0 auto;background:#141c26e8!important;border-top:1px solid #ffffff16;padding:14px 12px;}
html[data-console-theme] #mainSidebar .sidebar__session{border:0;padding:0;background:none;}
html[data-console-theme] #mainSidebar .sidebar__session-text{color:#e0e8f3!important;font-size:12px;}
html[data-console-theme] #mainSidebar .sidebar__session-photo-btn{color:#9baec5!important;font-size:11px;}
html[data-console-theme] #mainSidebar .admin-avatar{width:38px;height:38px;background:linear-gradient(145deg,#748399,#354153);border:1px solid #ffffff30;box-shadow:inset 0 1px 0 #fff3;color:white;font-size:14px;}
html[data-console-theme] #mainSidebar #btnConsoleLogout{background:linear-gradient(#ffffff12,#ffffff03),#2b3543!important;border:1px solid #ffffff25!important;border-radius:9px!important;color:#e6eef9!important;min-height:32px;font-size:11px;}
html[data-console-theme] #mainSidebar .console-theme-switcher{background:#0c121b!important;border:1px solid #ffffff14;border-radius:10px;padding:3px;}
html[data-console-theme] #mainSidebar .console-theme-option{color:#aebed0!important;border-radius:7px!important;font-size:10px;}
html[data-console-theme] #mainSidebar .console-theme-option[aria-pressed=true]{background:linear-gradient(#546476,#334154)!important;color:#fff!important;box-shadow:inset 0 1px 0 #ffffff20;}
html[data-console-theme] #mainSidebar :is(button,a):focus-visible{outline:2px solid #86d0ff;outline-offset:-2px;}
@media(min-width:901px){html[data-console-theme] #mainSidebar{width:252px!important;left:12px;top:12px;bottom:12px;height:calc(100dvh - 24px);}html[data-console-theme] .main-content{margin-left:280px!important;width:calc(100% - 294px)!important;}html[data-console-theme] .workspace-status{left:280px;}}
@media(prefers-reduced-motion:reduce){html[data-console-theme] #mainSidebar *{transition:none!important;}}
html[data-console-theme] #mainSidebar .sidebar__btn>.ui-icon:has(.sidebar-art){width:30px!important;height:30px!important;flex-basis:30px;padding:0!important;background:none!important;box-shadow:none!important;overflow:visible;}
html[data-console-theme] #mainSidebar .sidebar__btn>.ui-icon .sidebar-art{display:block;width:30px!important;height:30px!important;filter:none!important;opacity:1!important;}
html[data-console-theme] #mainSidebar .sidebar__btn>.ui-icon:has(.sidebar-art)::before,html[data-console-theme] #mainSidebar .sidebar__btn>.ui-icon:has(.sidebar-art)::after{display:none!important;}
/* More space for navigation; profile options slide out only when needed. */
html[data-console-theme] #mainSidebar > .studio-companion,
html[data-console-theme] .workspace-status { display:none!important; }
html[data-console-theme] #mainSidebar .sidebar__brand { padding:10px!important; position:relative; }
html[data-console-theme] #mainSidebar .sidebar-profile-trigger {
 display:flex;align-items:center;gap:10px;width:100%;padding:10px 12px;border:1px solid #ffffff28;
 border-radius:10px;background:linear-gradient(#394657,#253140);color:#edf4ff;cursor:pointer;font-size:12px;
}
.sidebar-profile-trigger span:last-child { margin-left:auto; }
html[data-console-theme] #mainSidebar .sidebar-profile-panel {
 position:absolute;bottom:64px;left:8px;right:8px;margin:0!important;padding:12px!important;
 background:#202b3b!important;border:1px solid #75859b;border-radius:12px;box-shadow:0 -8px 32px #0005;
 z-index:5;visibility:hidden;opacity:0;transform:translateY(18px);transition:transform .2s ease,opacity .2s ease,visibility .2s;
}
html[data-console-theme] #mainSidebar.profile-open .sidebar-profile-panel { visibility:visible;opacity:1;transform:translateY(0); }
.sidebar-profile-close { display:block;margin:0 0 10px auto;background:none;border:0;color:#d7e4f6;cursor:pointer;padding:4px; }
@media(min-width:901px){html[data-console-theme] .main-content { padding-top:12px!important; }}
