/* 5352 Workspace / FORMA — A coherent interface, not an effects collection.
   Presentation-only. Never changes task, release, automation, finance or auth logic. */
:root{
  --forma-bg:#f5f6f7;--forma-paper:#fff;--forma-paper-2:#f9fafb;--forma-text:#202631;
  --forma-muted:#697586;--forma-subtle:#929ba7;--forma-edge:#e3e7ec;
  --forma-blue:#3869d4;--forma-blue-wash:#edf3ff;
  --forma-softshadow:0 2px 4px rgba(17,30,49,.025),0 12px 34px rgba(17,30,49,.038);
  --forma-floating:0 22px 65px rgba(21,34,56,.12);
  --forma-ease:cubic-bezier(.22,1,.36,1)
}
html{background:var(--forma-bg)!important}
body{background:var(--forma-bg)!important;color:var(--forma-text)!important;letter-spacing:-.014em}
body::before,.workspace-dashboard::before,.daily-workspace-dashboard::before{display:none!important}
html,body{overflow-x:clip}
body,button,input,textarea,select{font-family:-apple-system,BlinkMacSystemFont,'SF Pro Text','PingFang SC','Microsoft YaHei',sans-serif!important}
::selection{background:rgba(76,114,209,.2)}
.at-head-symbol{display:none!important} /* The three-line navigation button is first, not an extra logo. */

/* A navigation rail that belongs to the active theme. Never invert light mode. */
.workspace-sidebar,html:not([data-theme="dark"]) .workspace-sidebar{
  background:#f9fafb!important;color:#293241!important;
  border:0!important;border-right:1px solid #e1e5ea!important;
  box-shadow:none!important;backdrop-filter:blur(24px) saturate(1.16)!important;
}
.workspace-sidebar::before{display:none!important}
.workspace-brand{border-bottom:1px solid #e5e8ed!important;margin-bottom:16px!important;min-height:72px!important;padding:5px 4px 19px!important;z-index:1}
.workspace-brand-mark,.workspace-sidebar .workspace-brand-mark{
  background:#fff!important;border:1px solid #e3e5e8!important;border-radius:12px!important;
  box-shadow:none!important;overflow:hidden!important;
}
.workspace-brand-mark img{max-width:83%!important;max-height:82%!important;object-fit:contain!important;filter:none!important}
.workspace-brand strong{color:#1f2936!important;font-size:14px!important;letter-spacing:-.045em!important}
.workspace-brand span{color:#9199a6!important;font-size:10px!important;letter-spacing:0!important}
.nav-section-label{color:#a1a9b4!important;font-size:10px!important;letter-spacing:.11em!important;margin-bottom:7px!important}
.workspace-nav{gap:3px!important}
.workspace-nav-item,html:not([data-theme="dark"]) .workspace-nav-item{
  color:#647083!important;background:transparent!important;border:1px solid transparent!important;
  border-radius:10px!important;min-height:43px!important;padding:8px 11px!important;
  transition:color .18s,background .18s,border-color .18s,transform .22s var(--forma-ease)!important
}
.workspace-nav-item .nav-icon{color:#8892a0!important;background:transparent!important;border-radius:8px!important}
.workspace-nav-item:hover,html:not([data-theme="dark"]) .workspace-nav-item:hover{
  color:#243043!important;background:#f0f3f8!important;border-color:transparent!important;transform:none!important
}
.workspace-nav-item:hover .nav-icon{transform:none!important;color:#4167aa!important}
.workspace-nav-item.active,html:not([data-theme="dark"]) .workspace-nav-item.active{
  color:#1c3768!important;background:#e8f0ff!important;border-color:rgba(69,104,166,.09)!important;
  box-shadow:none!important
}
.workspace-nav-item.active::before{left:-9px!important;top:12px!important;bottom:12px!important;width:3px!important;box-shadow:none!important;background:#4476d9!important}
.workspace-nav-item.active .nav-icon{background:transparent!important;color:#3164ca!important}
.workspace-nav-item b{background:#d9e8ff!important;color:#3d6db9!important}
.workspace-sidebar-foot{border-color:#e2e7ed!important;color:#8792a0!important}
.workspace-sidebar-foot span,.workspace-sidebar-foot small{color:#96a0ad!important}
.workspace-sidebar .navigation-close{z-index:7!important;background:#f2f4f7!important;border:1px solid #dee4ed!important;color:#485669!important;box-shadow:none!important}
.workspace-sidebar .navigation-close:hover{background:#e9eef7!important}

/* A quiet, precise header. The menu button is the first element at every drawer width. */
.workspace-topbar,html:not([data-theme="dark"]) .workspace-topbar{
  position:sticky!important;top:0!important;min-height:64px!important;height:64px!important;
  margin:0!important;padding:0 clamp(15px,2.25vw,34px)!important;
  border:0!important;border-bottom:1px solid #e4e8ed!important;border-radius:0!important;
  background:rgba(255,255,255,.88)!important;
  box-shadow:none!important;
  backdrop-filter:blur(22px) saturate(1.12)!important;-webkit-backdrop-filter:blur(22px) saturate(1.12)!important;
  z-index:95!important
}
.workspace-topbar::before{display:none!important}
body.at-scrolled .workspace-topbar,html:not([data-theme="dark"]) body.at-scrolled .workspace-topbar{
  background:rgba(255,255,255,.94)!important;border-color:#dce3ec!important;box-shadow:0 8px 24px rgba(19,35,63,.045)!important
}
.workspace-heading{min-width:0!important;gap:12px!important}
.navigation-toggle{order:-1!important;flex:0 0 38px!important;width:38px!important;height:38px!important;
  background:#f5f7fa!important;border:1px solid #e0e5ec!important;color:#253447!important;
  border-radius:11px!important;box-shadow:none!important;transform:none!important
}
.navigation-toggle:hover{background:#eaf0f9!important;border-color:#cbd8e9!important;transform:none!important}
.module-title-block>span{font-size:10.5px!important;color:#8b95a4!important;letter-spacing:0!important}
.module-title-block>strong{font-size:16px!important;font-weight:750!important;color:#263143!important;letter-spacing:-.035em!important}
.topbar-actions{gap:7px!important}
.profile-trigger,.v11-theme-toggle,.sync-pill{background:#fff!important;border:1px solid #e3e7ed!important;
  color:#4e5a6c!important;border-radius:10px!important;min-height:36px!important;
  box-shadow:none!important;transition:background .18s,border-color .18s,transform .2s var(--forma-ease)!important
}
.profile-trigger:hover,.v11-theme-toggle:hover{background:#f4f7fa!important;border-color:#cfd8e4!important;box-shadow:none!important;transform:none!important}
.primary-button,.round-add-button{background:#3268d8!important;color:#fff!important;border:1px solid #3268d8!important;
  border-radius:10px!important;box-shadow:0 3px 9px rgba(45,97,206,.14)!important;
  transition:transform .19s var(--forma-ease),background .19s,box-shadow .19s!important
}
.primary-button:hover,.round-add-button:hover{background:#2458c0!important;box-shadow:0 7px 16px rgba(46,91,183,.19)!important;transform:translateY(-1px)!important}
.primary-button:active,.round-add-button:active{transform:scale(.97)!important}
.profile-popover{background:var(--forma-paper)!important;border:1px solid var(--forma-edge)!important;border-radius:15px!important;box-shadow:var(--forma-floating)!important}
.at-scroll-track{left:0!important;right:0!important;bottom:-1px!important;height:2px!important}
.at-scroll-track span{background:#628de2!important;opacity:.7!important}

/* A lighter visual hierarchy. Less cover art / more instrument panel. */
.workspace-dashboard:not(.daily-workspace-dashboard),.daily-workspace-dashboard{padding-bottom:76px!important}
.v11-page-heading,.v12-hero-heading{margin-top:7px!important;margin-bottom:20px!important}
.v11-page-heading h1,.v12-hero-heading h1{font-size:clamp(39px,4.1vw,59px)!important;
  font-weight:790!important;letter-spacing:-.07em!important;line-height:1.04!important;color:#202b3b!important}
.v12-word-accent{color:#7a8799!important}.v11-period{color:#4b7ae1!important}
.v11-eyebrow,.v11-overline,.v11-section-heading>div>span,.v11-feature-heading,
.v12-context-title>span,.panel-eyebrow,.release-section-head>div>span{font-size:11px!important;letter-spacing:.09em!important;color:#8190a3!important;font-weight:750!important}
.v11-page-heading p{font-size:14px!important;color:#637183!important;line-height:1.55!important}
.v12-report-stamp{background:transparent!important;border:0!important;box-shadow:none!important;padding:0!important}
.v12-report-icon{background:#ecf2fd!important;color:#4f73b9!important;border:1px solid #dce8fb!important}
.v12-floating-toolbar,html:not([data-theme="dark"]) .v12-floating-toolbar{
  border-radius:15px!important;background:rgba(255,255,255,.90)!important;
  border:1px solid #e3e8ee!important;box-shadow:var(--forma-softshadow)!important;
  backdrop-filter:blur(20px) saturate(1.15)!important;-webkit-backdrop-filter:blur(20px) saturate(1.15)!important;
  padding:6px!important
}
.v12-liquid-tabs,.v12-platform-switch{background:#f1f3f6!important;border-radius:10px!important;padding:3px!important}
.v12-tab-glider,.v12-platform-glider{
  border-radius:8px!important;background:#fff!important;border:1px solid #e4e8f0!important;
  box-shadow:0 1px 3px rgba(24,40,65,.09)!important;
  transition:transform .38s cubic-bezier(.2,.85,.24,1.08),width .3s var(--forma-ease)!important
}
.v12-liquid-tabs button,.v12-platform-switch button{font-size:12px!important;font-weight:680!important;color:#687688!important}
.v12-liquid-tabs button.active,.v12-platform-switch button.active{color:#233b68!important}
.v12-source-label{color:#8491a2!important}

/* The chart is an editorial focal point, not a collection of gradients. */
.daily-workspace-dashboard .v11-feature-grid{
  border-radius:19px!important;padding:0!important;background:#172130!important;
  border:1px solid #233147!important;box-shadow:0 16px 36px rgba(22,35,55,.11)!important;gap:0!important;overflow:hidden!important
}
@media(min-width:1121px){
 .daily-workspace-dashboard .v11-feature-grid{grid-template-columns:minmax(0,1.88fr) minmax(305px,.78fr)!important}
 .daily-workspace-dashboard .v11-graph-card{grid-area:1/1!important;min-height:438px!important;border-radius:19px 0 0 19px!important;padding:31px!important;background:#172130!important}
 .daily-workspace-dashboard .v11-big-metric{grid-area:1/2!important;min-height:438px!important;
  border-radius:0 19px 19px 0!important;padding:30px 27px!important;
  border:0!important;border-left:1px solid rgba(220,231,255,.12)!important;background:#1d293a!important}
}
.daily-workspace-dashboard .v11-graph-card{background:#172130!important;box-shadow:none!important;border:0!important;color:#f5f7fa!important}
.daily-workspace-dashboard .v11-graph-card::before{opacity:.4!important}
.daily-workspace-dashboard .v11-big-metric{background:#1d293a!important;color:#eef3fb!important;box-shadow:none!important}
.daily-workspace-dashboard .v11-big-metric::before{opacity:0!important}
.v11-big-metric::after,.v11-graph-card::after,.workspace-hero::after,.release-hero::after{display:none!important}
.daily-workspace-dashboard .v11-big-metric .v11-display-num{font-size:clamp(40px,4.2vw,69px)!important;color:#fff!important;font-weight:775!important;letter-spacing:-.064em!important}
.daily-workspace-dashboard .v11-big-metric .v11-metric-caption,
.daily-workspace-dashboard .v11-big-metric .v11-feature-heading,.daily-workspace-dashboard .v11-big-metric .v11-composition-legends,
.daily-workspace-dashboard .v11-big-metric .v11-composition span,.daily-workspace-dashboard .v11-big-metric .v11-composition b{color:#b4c4d8!important}
.v11-graph-footer,.v11-feature-heading,.v11-metric-caption{font-size:12.5px!important}
.v11-graph-overline h2{font-size:23px!important;letter-spacing:-.045em!important}

/* Instead of four identical KPI cards: one cohesive metrics ledger. */
.v11-metric-strip{border-radius:15px!important;border:1px solid var(--forma-edge)!important;
  background:#fff!important;box-shadow:var(--forma-softshadow)!important;padding:4px!important;gap:0!important}
.v11-metric-mini,.v11-metric-strip .v11-metric-mini{
  background:transparent!important;border:0!important;border-right:1px solid #e7ebf0!important;
  box-shadow:none!important;border-radius:8px!important;padding:23px 21px!important;min-height:118px!important;
  transition:background .2s,border-color .2s!important
}
.v11-metric-strip .v11-metric-mini:last-child{border-right:0!important}
.v11-metric-mini::before,.v12-portfolio-card::after,.v11-insight::before{display:none!important}
.v11-metric-mini:hover,.v11-metric-strip .v11-metric-mini:hover{background:#f5f8fc!important;
  transform:none!important;box-shadow:none!important;border-color:#e7ebf0!important}
.v11-metric-revenue,.v11-metric-strip .v11-metric-revenue{background:#f0f5ff!important}
.v11-metric-mini strong{font-size:clamp(27px,2.4vw,39px)!important;letter-spacing:-.055em!important}
.v11-metric-mini>span,.v11-metric-mini .v11-overline{font-size:12.5px!important;color:#718095!important}

/* Account cards: simple, recognisable content, not hover-gradient ornaments. */
.v12-portfolio-card,.v11-overview .stream-account-card,.v11-accounts-page .stream-account-card{
  background:#fff!important;border:1px solid #e3e8ef!important;border-radius:15px!important;
  box-shadow:var(--forma-softshadow)!important;padding:23px!important;
  transition:transform .28s var(--forma-ease),box-shadow .28s,border-color .28s!important
}
.v12-portfolio-card:hover,.v11-overview .stream-account-grid .v12-portfolio-card:hover{
  background:#fff!important;transform:translateY(-2px)!important;
  border-color:#bed0eb!important;box-shadow:0 9px 24px rgba(26,51,92,.085)!important
}
.v11-overview .stream-account-grid.new .v12-portfolio-card:nth-child(2),
.v11-overview .stream-account-grid.core .v12-portfolio-card:first-child{background:#fff!important}
.v12-portfolio-card .stream-account-identity h3{font-size:18px!important;font-weight:730!important}
.v12-portfolio-card .stream-account-number strong{font-size:clamp(30px,2.7vw,43px)!important;color:#26374c!important}
.v11-insight{background:#fff!important;border:1px solid #e2e8ee!important;border-radius:14px!important;box-shadow:none!important;min-height:145px!important}
.v11-insight:hover{transform:none!important;box-shadow:none!important}

/* Todos / Releases: elevated layout quality, unchanged grid and selected-day position. */
.workspace-hero,.release-hero,html:not([data-theme="dark"]) .workspace-hero,html:not([data-theme="dark"]) .release-hero{
  background:#fff!important;border:1px solid var(--forma-edge)!important;
  color:#283549!important;border-radius:17px!important;
  box-shadow:var(--forma-softshadow)!important;min-height:154px!important
}
.workspace-hero::before,.release-hero::before{display:none!important}
.workspace-hero h2,.release-hero h2,.workspace-hero .hero-copy h2,.release-hero .hero-copy h2{color:#26354a!important;letter-spacing:-.06em!important;font-weight:765!important}
.workspace-hero p,.release-hero p{color:#7c8899!important}
.workspace-hero .hero-metric,.workspace-hero .hero-progress,.workspace-hero .hero-highlight,.workspace-hero .hero-today-progress{
  background:#f5f7fb!important;border:1px solid #e7eaf0!important;backdrop-filter:none!important
}
.workspace-hero .hero-metric span,.workspace-hero .hero-metric small,.workspace-hero .hero-progress span,.workspace-hero .hero-progress small{color:#728093!important}
.workspace-hero .hero-metric strong,.workspace-hero .hero-progress strong{color:#243346!important}
.stat-card,.calendar-card,.day-panel,.release-calendar-card,.release-day-panel,.catalog-sheet,.release-overview-card,.automation-panel{
  border-radius:15px!important;background:#fff!important;
  border:1px solid #e4e8ed!important;box-shadow:var(--forma-softshadow)!important
}
.stat-card{min-height:120px!important;background:#fff!important}
.stat-card:hover{transform:none!important}
.day-panel,.release-day-panel{overflow:hidden!important}
.calendar-toolbar,.day-panel-header,.release-day-head{background:#fbfcfd!important;border-color:#e7eaf0!important}
.calendar-cell,.release-calendar-cell{border-color:#e9ecf1!important}
.calendar-cell.selected,.release-calendar-cell.selected{background:#eff5ff!important;box-shadow:inset 0 0 0 1.5px #aac3ed!important}
.calendar-cell:hover,.release-calendar-cell:hover{background:#f6f9fe!important}
.day-panel .task-row:hover,.release-day-item:hover{transform:none!important}
.release-overview-card,.ro-item,.ro-empty,.ro-readonly{
  background:#fff!important;border-color:#e1e7ed!important;box-shadow:none!important
}
.ro-item{border-radius:13px!important;overflow:hidden}
.ro-card-trigger:hover{background:#f7f9fc!important}
.ro-song>strong,.ro-head h3{color:#273444!important}
.ro-readonly{color:#687789!important}
.ro-detail{background:#fcfdff!important;border-color:#e6ebf2!important}
.ro-tasks-section{border-color:#e7ebf1!important}
.ro-task-item{background:#fff!important;border-color:#e4e9f1!important}
.ro-timeline-track::before{background:#d8e1ef!important}
.catalog-sheet,.automation-panel{background:#fff!important}
.catalog-table-row:hover,.catalog-song-row:hover{background:#f5f8fc!important}

/* Motion: crisp, restrained. No mouse-following gradient, no exaggerated card lift. */
.at-ripple,.at-ripple-shell>.at-ripple{display:none!important}
button,.task-row,.release-chip,.release-video-chip{transition-duration:.22s!important}
.at-ui-enter{animation-duration:.44s!important}
@keyframes at-ui-enter{from{opacity:.42;transform:translateY(7px)}to{opacity:1;transform:none}}
.modal-backdrop,.stream-modal-backdrop{backdrop-filter:blur(7px) saturate(.84)!important}
.task-dialog,.release-dialog,.stream-account-modal{border:1px solid #e1e6ef!important;box-shadow:var(--forma-floating)!important}

/* REAL dark mode — all surfaces, not just the calendar shell. */
html[data-theme="dark"]{
  --forma-bg:#11161e;--forma-paper:#1a222d;--forma-paper-2:#202a37;--forma-text:#e9eef6;
  --forma-muted:#a7b5c5;--forma-subtle:#8494a8;--forma-edge:#303b4b;
  --forma-blue:#87aaff;--forma-blue-wash:#202f49;
  --forma-softshadow:0 2px 5px rgba(0,0,0,.1),0 14px 34px rgba(0,0,0,.12);
  --forma-floating:0 28px 70px rgba(0,0,0,.38)
}
html[data-theme="dark"],html[data-theme="dark"] body{background:var(--forma-bg)!important;color:var(--forma-text)!important}
html[data-theme="dark"] .workspace-sidebar{
  background:#171f29!important;color:#dfe8f3!important;border:0!important;border-right:1px solid #2c3949!important;box-shadow:none!important
}
html[data-theme="dark"] .workspace-brand{border-color:#2d3948!important}
html[data-theme="dark"] .workspace-brand-mark{background:#fff!important;border-color:#dfe3e8!important}
html[data-theme="dark"] .workspace-brand strong{color:#e6edf6!important}
html[data-theme="dark"] .workspace-brand span,html[data-theme="dark"] .workspace-sidebar-foot span,html[data-theme="dark"] .workspace-sidebar-foot small{color:#95a5b9!important}
html[data-theme="dark"] .nav-section-label{color:#8494a6!important}
html[data-theme="dark"] .workspace-nav-item{color:#aab8c8!important;background:transparent!important;border-color:transparent!important}
html[data-theme="dark"] .workspace-nav-item .nav-icon{color:#9aaec5!important;background:transparent!important}
html[data-theme="dark"] .workspace-nav-item:hover{color:#eff4fc!important;background:#222e3c!important;transform:none!important}
html[data-theme="dark"] .workspace-nav-item.active{color:#cbdfff!important;background:#243650!important;border-color:rgba(139,174,236,.11)!important;box-shadow:none!important}
html[data-theme="dark"] .workspace-nav-item.active .nav-icon{color:#90b3ff!important}
html[data-theme="dark"] .workspace-nav-item b{background:#2c4465!important;color:#b4cfff!important}
html[data-theme="dark"] .workspace-sidebar-foot{border-color:#303b49!important}
html[data-theme="dark"] .workspace-sidebar .navigation-close{background:#222c3a!important;border-color:#38475a!important;color:#d4e2f3!important}
html[data-theme="dark"] .workspace-topbar,html[data-theme="dark"] body.at-scrolled .workspace-topbar{
  background:rgba(24,32,43,.94)!important;border:0!important;border-bottom:1px solid #303c4b!important;
  box-shadow:none!important
}
html[data-theme="dark"] .module-title-block>strong{color:#edf2fa!important}
html[data-theme="dark"] .module-title-block>span{color:#92a3b7!important}
html[data-theme="dark"] .navigation-toggle,html[data-theme="dark"] .profile-trigger,
html[data-theme="dark"] .v11-theme-toggle,html[data-theme="dark"] .sync-pill{
  background:#232f3d!important;color:#d7e4f3!important;border-color:#344454!important;box-shadow:none!important
}
html[data-theme="dark"] .navigation-toggle:hover,html[data-theme="dark"] .profile-trigger:hover,
html[data-theme="dark"] .v11-theme-toggle:hover{background:#2c394a!important}
html[data-theme="dark"] .profile-popover{background:#1c2734!important;border-color:#364354!important;color:#eef3fc!important}
html[data-theme="dark"] .v11-page-heading h1,html[data-theme="dark"] .v12-hero-heading h1{color:#f1f5fb!important}
html[data-theme="dark"] .v12-word-accent{color:#9cabc0!important}
html[data-theme="dark"] .v11-page-heading p{color:#9faec0!important}
html[data-theme="dark"] .v12-report-icon{background:#24344a!important;color:#b5cdfb!important;border-color:#354967!important}
html[data-theme="dark"] .v12-floating-toolbar{background:#1b2532!important;border-color:#344252!important;box-shadow:var(--forma-softshadow)!important}
html[data-theme="dark"] .v12-liquid-tabs,html[data-theme="dark"] .v12-platform-switch{background:#273342!important}
html[data-theme="dark"] .v12-tab-glider,html[data-theme="dark"] .v12-platform-glider{background:#405774!important;border-color:#526987!important;box-shadow:0 2px 8px rgba(0,0,0,.17)!important}
html[data-theme="dark"] .v12-liquid-tabs button,html[data-theme="dark"] .v12-platform-switch button{color:#a6b7ce!important}
html[data-theme="dark"] .v12-liquid-tabs button.active,html[data-theme="dark"] .v12-platform-switch button.active{color:#fff!important}
html[data-theme="dark"] .daily-workspace-dashboard .v11-feature-grid{background:#16202d!important;border-color:#36475b!important}
html[data-theme="dark"] .daily-workspace-dashboard .v11-graph-card{background:#172130!important}
html[data-theme="dark"] .daily-workspace-dashboard .v11-big-metric{background:#1e2b3a!important}
html[data-theme="dark"] .v11-metric-strip{background:#1b2531!important;border-color:#364252!important}
html[data-theme="dark"] .v11-metric-strip .v11-metric-mini{background:transparent!important;color:#eaf0f8!important;border-color:#344151!important}
html[data-theme="dark"] .v11-metric-strip .v11-metric-mini:hover{background:#263445!important}
html[data-theme="dark"] .v11-metric-strip .v11-metric-revenue{background:#243654!important}
html[data-theme="dark"] .v11-metric-mini strong{color:#f0f4fa!important}
html[data-theme="dark"] .v12-portfolio-card,html[data-theme="dark"] .v11-overview .stream-account-card,
html[data-theme="dark"] .v11-accounts-page .stream-account-card,
html[data-theme="dark"] .v11-overview .stream-account-grid.new .v12-portfolio-card:nth-child(2),
html[data-theme="dark"] .v11-overview .stream-account-grid.core .v12-portfolio-card:first-child{
  background:#1c2733!important;border-color:#344252!important;box-shadow:var(--forma-softshadow)!important;color:#e9eef8!important
}
html[data-theme="dark"] .v12-portfolio-card:hover{background:#232f3f!important;border-color:#57769d!important}
html[data-theme="dark"] .v12-portfolio-card .stream-account-number strong,html[data-theme="dark"] .v12-portfolio-card .stream-account-identity h3{color:#f1f5fc!important}
html[data-theme="dark"] .v11-insight{background:#1e2935!important;border-color:#344252!important;color:#dfe9f6!important}
html[data-theme="dark"] .workspace-hero,html[data-theme="dark"] .release-hero,
html[data-theme="dark"] .stat-card,html[data-theme="dark"] .calendar-card,
html[data-theme="dark"] .day-panel,html[data-theme="dark"] .release-calendar-card,
html[data-theme="dark"] .release-day-panel,html[data-theme="dark"] .catalog-sheet,
html[data-theme="dark"] .automation-panel{
  background:#1b2530!important;color:#e9f1fb!important;border-color:#334253!important;box-shadow:var(--forma-softshadow)!important
}
html[data-theme="dark"] .workspace-hero h2,html[data-theme="dark"] .release-hero h2,
html[data-theme="dark"] .workspace-hero .hero-copy h2,html[data-theme="dark"] .release-hero .hero-copy h2{color:#eff5ff!important}
html[data-theme="dark"] .workspace-hero p,html[data-theme="dark"] .release-hero p{color:#aebdd0!important}
html[data-theme="dark"] .workspace-hero .hero-metric,html[data-theme="dark"] .workspace-hero .hero-progress,
html[data-theme="dark"] .workspace-hero .hero-highlight,html[data-theme="dark"] .workspace-hero .hero-today-progress{background:#253343!important;border-color:#394a5e!important}
html[data-theme="dark"] .workspace-hero .hero-metric span,html[data-theme="dark"] .workspace-hero .hero-progress span{color:#aabacf!important}
html[data-theme="dark"] .workspace-hero .hero-metric strong,html[data-theme="dark"] .workspace-hero .hero-progress strong{color:#f0f4fb!important}
html[data-theme="dark"] .calendar-toolbar,html[data-theme="dark"] .day-panel-header,
html[data-theme="dark"] .release-day-head,html[data-theme="dark"] .automation-panel-head{
  background:#202b38!important;border-color:#344354!important;color:#dfe9f7!important
}
html[data-theme="dark"] .calendar-cell,html[data-theme="dark"] .release-calendar-cell,
html[data-theme="dark"] .release-calendar-day,html[data-theme="dark"] .release-day-cell{background:#1b2530!important;border-color:#303d4c!important;color:#e3eaf5!important}
html[data-theme="dark"] .calendar-cell.selected,html[data-theme="dark"] .release-calendar-cell.selected{background:#253854!important;box-shadow:inset 0 0 0 1.5px #5679b1!important}
html[data-theme="dark"] .calendar-cell:hover,html[data-theme="dark"] .release-calendar-cell:hover{background:#233243!important}
html[data-theme="dark"] .weekday-row,html[data-theme="dark"] .release-weekday-row{background:#202b38!important;color:#acbed1!important}
html[data-theme="dark"] .day-panel .task-row,html[data-theme="dark"] .release-day-item{color:#dce8f6!important}
/* CRITICAL: the entire Release Overview, including every nested row, is graphite. */
html[data-theme="dark"] .release-overview,html[data-theme="dark"] .release-overview-card,
html[data-theme="dark"] .ro-item,html[data-theme="dark"] .ro-item.is-open,
html[data-theme="dark"] .ro-empty,html[data-theme="dark"] .ro-readonly,
html[data-theme="dark"] .ro-detail,html[data-theme="dark"] .ro-task-item,
html[data-theme="dark"] .ro-more{
  background:#1c2733!important;color:#dce7f5!important;border-color:#344456!important;box-shadow:none!important
}
html[data-theme="dark"] .ro-item:hover,html[data-theme="dark"] .ro-card-trigger:hover,
html[data-theme="dark"] .ro-more:hover{background:#253343!important}
html[data-theme="dark"] .ro-card-trigger{background:transparent!important;color:#e3edf8!important}
html[data-theme="dark"] .ro-song>strong,html[data-theme="dark"] .ro-head h3,
html[data-theme="dark"] .ro-schedule>strong,html[data-theme="dark"] .ro-progress>strong,
html[data-theme="dark"] .ro-subheading>strong,html[data-theme="dark"] .ro-timeline-node>strong,
html[data-theme="dark"] .ro-timeline-date,html[data-theme="dark"] .ro-task-main strong{
 color:#edf3fb!important
}
html[data-theme="dark"] .ro-account,html[data-theme="dark"] .ro-progress>small,
html[data-theme="dark"] .ro-head p,html[data-theme="dark"] .ro-countdown.past,
html[data-theme="dark"] .ro-timeline-note,html[data-theme="dark"] .ro-task-main span,
html[data-theme="dark"] .ro-task-item>small{color:#a3b5cc!important}
html[data-theme="dark"] .ro-timeline-dot,html[data-theme="dark"] .ro-task-status{background:#263547!important;border-color:#55667e!important;color:#d7e3f5!important;box-shadow:0 0 0 4px #1c2733!important}
html[data-theme="dark"] .ro-timeline-node.is-done .ro-timeline-dot{background:#279b77!important;border-color:#279b77!important}
html[data-theme="dark"] .ro-timeline-node.milestone .ro-timeline-dot{background:#337ceb!important;border-color:#337ceb!important}
html[data-theme="dark"] .ro-timeline-track::before{background:#42516a!important}
html[data-theme="dark"] .ro-progress-line{background:#3a4658!important}
html[data-theme="dark"] .ro-tasks-section,html[data-theme="dark"] .ro-detail{border-color:#344252!important}
html[data-theme="dark"] .ro-task-item{background:#222f3e!important}
html[data-theme="dark"] .ro-task-status{box-shadow:none!important}
html[data-theme="dark"] .ro-more{background:#222e3d!important}
html[data-theme="dark"] .automation-panel-head h3,html[data-theme="dark"] .automation-rule-row strong{color:#edf4fe!important}
html[data-theme="dark"] .automation-editor{background:#222f3f!important}
html[data-theme="dark"] .automation-editor input,html[data-theme="dark"] .automation-editor select{background:#192532!important;color:#e7f0fc!important;border-color:#43556b!important}
html[data-theme="dark"] .catalog-table-row:hover,html[data-theme="dark"] .catalog-song-row:hover{background:#273647!important}
html[data-theme="dark"] .task-dialog,html[data-theme="dark"] .release-dialog,html[data-theme="dark"] .stream-account-modal{background:#1c2734!important;border-color:#3c4b5d!important;box-shadow:var(--forma-floating)!important}

/* Responsive: protect the leftmost menu and the right-side detail. */
@media(max-width:2200px){
  .workspace-heading{display:flex!important;order:0!important;gap:10px!important}
  .navigation-toggle{display:grid!important;order:-1!important;margin:0!important;align-self:center!important}
  .workspace-sidebar{border-radius:0 17px 17px 0!important;box-shadow:16px 0 60px rgba(22,35,54,.16)!important}
  .workspace-sidebar .workspace-brand{padding-right:42px!important}
}
@media(min-width:2201px){
  .workspace-sidebar{width:230px!important}
  .workspace-content{min-width:0!important}
  .workspace-topbar{padding-left:32px!important}
}
@media(max-width:1120px){
  .v11-feature-grid,.daily-workspace-dashboard .v11-feature-grid{grid-template-columns:1fr!important}
  .daily-workspace-dashboard .v11-graph-card{min-height:345px!important;border-radius:18px 18px 0 0!important;padding:26px!important}
  .daily-workspace-dashboard .v11-big-metric{min-height:250px!important;border-radius:0 0 18px 18px!important;padding:25px!important}
  .v11-metric-strip{grid-template-columns:repeat(2,minmax(0,1fr))!important}
  .v11-metric-strip .v11-metric-mini:nth-child(2){border-right:0!important}
  .v11-metric-strip .v11-metric-mini:nth-child(-n+2){border-bottom:1px solid var(--forma-edge)!important}
}
@media(max-width:760px){
 .workspace-topbar{min-height:56px!important;height:56px!important;padding:0 10px!important}
 .workspace-heading{gap:8px!important}
 .navigation-toggle{width:36px!important;height:36px!important;flex-basis:36px!important}
 .module-title-block>span{font-size:9px!important}
 .module-title-block>strong{font-size:13.5px!important}
 .profile-trigger,.v11-theme-toggle,.sync-pill{min-height:32px!important}
 .v12-hero-heading h1,.v11-page-heading h1{font-size:42px!important}
 .v12-floating-toolbar{top:56px!important}
 .daily-workspace-dashboard .v11-graph-card{padding:20px 14px!important;min-height:330px!important}
 .daily-workspace-dashboard .v11-big-metric{padding:20px!important}
 .v11-metric-strip .v11-metric-mini{padding:20px 14px!important}
 .v12-portfolio-card{padding:18px!important}
 .workspace-hero,.release-hero{min-height:125px!important}
 .stat-card,.calendar-card,.day-panel,.release-calendar-card,.release-day-panel{border-radius:13px!important}
}
@media(prefers-reduced-motion:reduce){
 .at-ui-enter{animation:none!important}
 .v12-portfolio-card,.v12-tab-glider,.v12-platform-glider{transition:none!important}
}

/* Same header geometry in both themes: no floating dark-only capsule. */
html[data-theme="dark"] .workspace-topbar{
  position:sticky!important;top:0!important;margin:0!important;
  padding:0 clamp(15px,2.25vw,34px)!important;
  height:64px!important;min-height:64px!important;border-radius:0!important;
}
html[data-theme="dark"] body.at-scrolled .workspace-topbar{
  position:sticky!important;top:0!important;margin:0!important;border-radius:0!important
}
/* Dark high-density controls must never fall back to white pills. */
html[data-theme="dark"] .calendar-toolbar .month-picker select,
html[data-theme="dark"] .calendar-toolbar button,
html[data-theme="dark"] .todo-assignee-filter button,
html[data-theme="dark"] .todo-type-filter button,
html[data-theme="dark"] .day-filters button,
html[data-theme="dark"] .release-subnav button,
html[data-theme="dark"] .release-section-controls button,
html[data-theme="dark"] .release-account-chip,
html[data-theme="dark"] .release-account-chip.active,
html[data-theme="dark"] .release-day-panel button:not(.round-add-button),
html[data-theme="dark"] .history-actions button{
  background:#253344!important;color:#cbd7e8!important;
  border-color:#394c63!important;box-shadow:none!important
}
html[data-theme="dark"] .calendar-toolbar button.active,
html[data-theme="dark"] .todo-assignee-filter button.active,
html[data-theme="dark"] .todo-type-filter button.active,
html[data-theme="dark"] .day-filters button.active,
html[data-theme="dark"] .release-subnav button.active,
html[data-theme="dark"] .release-section-controls button.active,
html[data-theme="dark"] .release-account-chip.selected{
  background:#3d5474!important;color:#f7faff!important;border-color:#5a779c!important
}
html[data-theme="dark"] .calendar-toolbar .month-picker select:focus,
html[data-theme="dark"] .calendar-toolbar button:focus-visible{outline-color:#90acf0!important}
html[data-theme="dark"] .release-overview .ro-timeline-node.milestone>strong,
html[data-theme="dark"] .release-overview .ro-countdown:not(.past){color:#a9c5ff!important}
html[data-theme="dark"] .release-overview .ro-head .ro-eyebrow,
html[data-theme="dark"] .release-overview .ro-timeline-node>small{color:#aab9cb!important}
@media(max-width:760px){html[data-theme="dark"] .workspace-topbar{height:56px!important;min-height:56px!important;padding:0 10px!important}}
/* Remove the pale native segmented track left underneath dark filters. */
html[data-theme="dark"] .todo-assignee-filter,
html[data-theme="dark"] .todo-type-filter{background:#1d2b3b!important;border:1px solid #344559!important}
html[data-theme="dark"] .todo-assignee-filter button,
html[data-theme="dark"] .todo-type-filter button{
  background:transparent!important;border:0!important;color:#a9b8cd!important;
  outline:0!important;box-shadow:none!important
}
html[data-theme="dark"] .todo-assignee-filter button.active,
html[data-theme="dark"] .todo-type-filter button.active{
  background:#394e6a!important;color:#f0f5fc!important;
  outline:0!important;border:0!important;box-shadow:none!important
}
/* Release overview has readable content labels at normal viewing distance. */
.ro-head h3{font-size:21px!important}
.ro-head p,.ro-readonly{font-size:11.5px!important}
.ro-song>strong{font-size:clamp(13.5px,.96vw,15px)!important}
.ro-account,.ro-progress>small,.ro-countdown{font-size:11px!important}
.ro-schedule>strong{font-size:12.5px!important}
.ro-task-main strong,.ro-timeline-node>strong{font-size:12px!important}
.ro-task-main span,.ro-timeline-date{font-size:11px!important}
.ro-timeline-note{font-size:10.5px!important}
/* Auth and mobile navigation use the same materials as the workspace. */
.auth-shell{background:#f5f6f7!important}
.auth-shell::before{display:none!important}
.auth-card{background:#fff!important;border:1px solid #e2e8ef!important;border-radius:20px!important;box-shadow:0 20px 68px rgba(25,42,70,.1)!important}
html[data-theme="dark"] .auth-shell{background:#11161e!important}
html[data-theme="dark"] .auth-card{background:#1c2733!important;border-color:#374658!important;color:#e8eef8!important}
.mobile-module-nav{backdrop-filter:blur(18px) saturate(1.16)!important;-webkit-backdrop-filter:blur(18px) saturate(1.16)!important}
html[data-theme="dark"] .mobile-module-nav{background:rgba(27,37,49,.95)!important;border-color:#394b60!important}
html[data-theme="dark"] .mobile-module-nav button{color:#9dacc0!important}
html[data-theme="dark"] .mobile-module-nav button.active{color:#e4efff!important;background:#354d70!important}
