/* Graphite dashboard with Liquid Glass controls. The user's dark-dashboard
   reference owns the layout/palette; glass is confined to navigation/controls. */
html[data-theme] body.workspace-redesign.liquid-workspace {
  --text:#25252f; --text-secondary:#62626f; --text-tertiary:#686875;
  --surface:#fff; --surface-subtle:#f2f2f6; --surface-raised:#fff;
  --border:rgba(35,35,55,.1); --border-strong:rgba(35,35,55,.23);
  --accent:#6a4fc0; --accent-soft:#eee8fc; --accent-border:#d2c4ef;
  --danger:#ad304c; --danger-soft:#fcecf0; --glass-edge:rgba(255,255,255,.8);
  --glass-shadow:0 4px 16px rgba(25,25,42,.07),inset 0 1px 0 var(--glass-edge);
  --glass-bg:linear-gradient(140deg,rgba(255,255,255,.83),rgba(244,244,249,.76));
  --glass-input:#f5f5f8; --glass-active:rgba(255,255,255,.75);
  color:var(--text); background:#f5f5f8; isolation:isolate; font-family:Inter,system-ui,sans-serif;
}
html[data-theme=dark] body.workspace-redesign.liquid-workspace {
  --text:#f1f1f5; --text-secondary:#b4b4c2; --text-tertiary:#a5a5b5;
  --surface:#1b1b23; --surface-subtle:#23232d; --surface-raised:#252530;
  --border:rgba(230,230,255,.09); --border-strong:rgba(225,225,248,.2);
  --accent:#c3adff; --accent-soft:rgba(169,141,235,.14); --accent-border:rgba(185,158,255,.28);
  --danger:#ffb3c2; --danger-soft:#3a2630;
  --glass-edge:rgba(225,222,255,.15); --glass-shadow:0 6px 20px rgba(0,0,0,.18),inset 0 1px 0 var(--glass-edge);
  --glass-bg:linear-gradient(140deg,rgba(70,67,87,.66),rgba(32,31,42,.82));
  --glass-input:#24242e; --glass-active:rgba(186,169,230,.14);
  background:#111116;
}
html[data-theme] body.workspace-redesign.liquid-workspace::before{display:none}
html[data-theme] body.workspace-redesign.liquid-workspace .app-shell{background:transparent}
html[data-theme] body.workspace-redesign.liquid-workspace .studio-rail {
  top:0;bottom:0;left:0;width:212px;height:100dvh;padding:22px 14px 14px;
  background:var(--surface);border:0;border-right:1px solid var(--border);border-radius:0;
  box-shadow:none;backdrop-filter:none;
}
html[data-theme] body.workspace-redesign.liquid-workspace .studio-rail .brand{padding:0 12px 20px;margin:0 0 18px;border:0;filter:none}
html[data-theme] body.workspace-redesign.liquid-workspace .studio-rail-link{border-radius:12px;min-height:44px;padding:10px 12px;color:var(--text-secondary);border:1px solid transparent;margin-bottom:4px;gap:12px}
html[data-theme] body.workspace-redesign.liquid-workspace .studio-rail-link.active{color:var(--accent);background:var(--glass-bg);border-color:var(--glass-edge);box-shadow:var(--glass-shadow);backdrop-filter:blur(16px)}
html[data-theme] body.workspace-redesign.liquid-workspace .studio-rail-link:hover{background:var(--glass-active);color:var(--text)}
html[data-theme] body.workspace-redesign.liquid-workspace .studio-plan{border-color:var(--border);padding:18px 14px}
html[data-theme] body.workspace-redesign.liquid-workspace .studio-main{margin-left:240px;background:transparent}
html[data-theme] body.workspace-redesign.liquid-workspace .topbar{background:transparent;border:0;box-shadow:none;min-height:44px;height:44px;padding-block:6px}
html[data-theme] body.workspace-redesign.liquid-workspace .studio-rail{gap:12px}
html[data-theme] body.workspace-redesign.liquid-workspace .studio-rail .brand{padding-bottom:8px;margin-bottom:4px}
html[data-theme] body.workspace-redesign.liquid-workspace .studio-rail-bottom{padding-top:10px;gap:8px}
html[data-theme] body.workspace-redesign.liquid-workspace .studio-rail-link{min-height:42px;padding-block:9px;margin-bottom:2px}
html[data-theme] body.workspace-redesign.liquid-workspace .studio-topbar{background:transparent;border:0;min-height:66px;padding:16px 32px 0;box-shadow:none}
html[data-theme] body.workspace-redesign.liquid-workspace :is(.v3-home,.settings-view,.calendar-view,.personal-cloud-view){padding:26px 32px 40px;max-width:1600px;margin-inline:auto}
html[data-theme] body.workspace-redesign.liquid-workspace :is(.workspace-page-heading h1,.creation-intro h1,.calendar-toolbar h1,.calendar-toolbar h2){font-size:28px;line-height:1.2;letter-spacing:-.6px;font-weight:600;color:var(--text)}
html[data-theme] body.workspace-redesign.liquid-workspace .workspace-page-heading{margin-bottom:20px}
html[data-theme] body.workspace-redesign.liquid-workspace .workspace-page-heading p{color:var(--text-secondary)}
html[data-theme] body.workspace-redesign.liquid-workspace :is(.workspace-home-status,.workspace-current,.workspace-upcoming,.studio-month-card,.workspace-settings-section>.panel,.analytics-main-chart,.personal-cloud-toolbar,#remixFeaturePanel){
  background:var(--surface);border:1px solid var(--border);border-radius:18px;box-shadow:none;backdrop-filter:none;
}
html[data-theme] body.workspace-redesign.liquid-workspace .workspace-home-status>div{padding:16px 24px;background:transparent;min-height:94px}
html[data-theme] body.workspace-redesign.liquid-workspace .workspace-home-status>div+div{border-color:var(--border)}
html[data-theme] body.workspace-redesign.liquid-workspace .workspace-home-status strong{font-size:32px;font-weight:550}
html[data-theme] body.workspace-redesign.liquid-workspace .workspace-home-columns{gap:20px;grid-template-columns:minmax(0,1.8fr) minmax(240px,1fr);align-items:start}
html[data-theme] body.workspace-redesign.liquid-workspace .workspace-upcoming{grid-column:1;grid-row:1}
html[data-theme] body.workspace-redesign.liquid-workspace .workspace-current{grid-column:2;grid-row:1}
html[data-theme] body.workspace-redesign.liquid-workspace .workspace-home-side{grid-column:2;grid-row:1;display:flex;flex-direction:column;gap:16px;min-width:0}
html[data-theme] body.workspace-redesign.liquid-workspace .studio-nav-icon{display:grid;place-items:center;width:24px;height:24px;flex:0 0 24px}
html[data-theme] body.workspace-redesign.liquid-workspace .studio-icon{stroke:currentColor;flex:0 0 auto}
html[data-theme] body.workspace-redesign.liquid-workspace .workspace-home-status>div{position:relative;padding:18px 22px}
html[data-theme] body.workspace-redesign.liquid-workspace .workspace-home-status .studio-icon{position:absolute;right:20px;top:20px;color:var(--accent);width:32px;height:32px;padding:6px;background:var(--accent-soft);border-radius:10px;box-sizing:border-box}
html[data-theme] body.workspace-redesign.liquid-workspace .workspace-home-status span{padding-right:34px}
html[data-theme] body.workspace-redesign.liquid-workspace .workspace-week{grid-column:2;grid-row:2;padding:16px;background:var(--surface);border:1px solid var(--border);border-radius:18px}
html[data-theme] body.workspace-redesign.liquid-workspace .workspace-week header{display:flex;align-items:center;gap:10px;margin-bottom:12px}
html[data-theme] body.workspace-redesign.liquid-workspace .workspace-week header svg{color:var(--accent)}
html[data-theme] body.workspace-redesign.liquid-workspace .workspace-week h2{font-size:16px;font-weight:600;margin:0}
html[data-theme] body.workspace-redesign.liquid-workspace .workspace-week-days{display:grid;grid-template-columns:repeat(7,minmax(0,1fr));gap:8px}
html[data-theme] body.workspace-redesign.liquid-workspace .workspace-week-days button{display:flex;flex-direction:column;align-items:center;gap:6px;background:transparent;border:0;padding:0;color:var(--text-secondary);cursor:pointer}
html[data-theme] body.workspace-redesign.liquid-workspace .workspace-week-days b{font-size:12px;font-weight:500}
html[data-theme] body.workspace-redesign.liquid-workspace .workspace-week-days small{font-size:12px}
html[data-theme] body.workspace-redesign.liquid-workspace .workspace-week-bar{height:32px;width:100%;max-width:24px;border-radius:6px;display:flex;align-items:end;background:var(--surface-subtle);overflow:hidden}
html[data-theme] body.workspace-redesign.liquid-workspace .workspace-week-bar i{width:100%;border-radius:6px;background:var(--accent);opacity:.7}
html[data-theme] body.workspace-redesign.liquid-workspace .workspace-week-days button:hover i{opacity:1}
html[data-theme] body.workspace-redesign.liquid-workspace .workspace-week-note{font-size:12px;line-height:1.5;color:var(--text-secondary);margin:18px 0 0}
html[data-theme] body.workspace-redesign.liquid-workspace .workspace-week-note:empty{display:none}
html[data-theme] body.workspace-redesign.liquid-workspace :is(.workspace-current,.workspace-upcoming){padding:24px}
html[data-theme] body.workspace-redesign.liquid-workspace .workspace-current{padding:18px}
html[data-theme] body.workspace-redesign.liquid-workspace .workspace-current [data-continue-copy]{margin:12px 0}
html[data-theme] body.workspace-redesign.liquid-workspace .workspace-upcoming-row{color:var(--text);border-color:var(--border);padding:14px 4px;min-height:72px}
html[data-theme] body.workspace-redesign.liquid-workspace .workspace-upcoming-row:hover{background:var(--surface-subtle);border-radius:12px}
html[data-theme] body.workspace-redesign.liquid-workspace .workspace-upcoming-row>span:last-child{color:var(--text-secondary)}
html[data-theme] body.workspace-redesign.liquid-workspace .workspace-attention{background:var(--surface-subtle);border:1px solid var(--border-strong);border-radius:20px;padding:12px 18px;margin-bottom:20px;color:var(--text)}
html[data-theme] body.workspace-redesign.liquid-workspace :is(.button,button.segment-button){border-radius:12px;min-height:40px;padding:9px 15px;color:var(--text);border:1px solid var(--border-strong);background:var(--glass-bg);box-shadow:inset 0 1px 0 var(--glass-edge);font-size:13px;font-weight:550;transition:background-color .15s ease,transform .15s ease}
html[data-theme] body.workspace-redesign.liquid-workspace .button:hover:not(:disabled){background:var(--glass-active);transform:translateY(-1px)}
html[data-theme] body.workspace-redesign.liquid-workspace .button:active:not(:disabled){transform:translateY(0)}
html[data-theme] body.workspace-redesign.liquid-workspace .button.button-primary{background:linear-gradient(150deg,#cfbcff,#ad93e6);color:#24153e;border-color:#d9c9ff;box-shadow:0 4px 12px rgba(93,65,151,.16),inset 0 1px 0 rgba(255,255,255,.48)}
html[data-theme] body.workspace-redesign.liquid-workspace .button.button-primary:hover:not(:disabled){background:#c7aff9;color:#24153e}
html[data-theme] body.workspace-redesign.liquid-workspace .button:disabled{opacity:.5;box-shadow:none;cursor:not-allowed}
html[data-theme] body.workspace-redesign.liquid-workspace .button:is([aria-pressed=true],[aria-selected=true]){background:var(--accent-soft);color:var(--accent);border-color:var(--accent);box-shadow:inset 0 1px 0 var(--glass-edge)}
html[data-theme] body.workspace-redesign.liquid-workspace :is(input:not([type=checkbox]):not([type=radio]):not([type=range]),select,textarea,.select-field){border:1px solid var(--border-strong);border-radius:14px;background:var(--glass-input);color:var(--text);min-height:42px;box-shadow:inset 0 1px 2px rgba(15,35,80,.04);caret-color:var(--accent)}
html[data-theme] body.workspace-redesign.liquid-workspace :is(input,textarea)::placeholder{color:var(--text-secondary);opacity:1}
html[data-theme] body.workspace-redesign.liquid-workspace select option{background:var(--surface-raised);color:var(--text)}
html[data-theme] body.workspace-redesign.liquid-workspace input:is([type=checkbox],[type=radio]){accent-color:var(--accent);flex:0 0 auto}
html[data-theme] body.workspace-redesign.liquid-workspace :is(button,a,input,select,summary):focus-visible{outline:2px solid var(--accent);outline-offset:3px}
html[data-theme] body.workspace-redesign.liquid-workspace ::selection{background:#a7c1ff;color:#14213b}
html[data-theme] body.workspace-redesign.liquid-workspace *{scrollbar-color:var(--border-strong) transparent;scrollbar-width:thin}
html[data-theme] body.workspace-redesign.liquid-workspace.creation-flow #editorView.workspace.creation-wizard{padding:0 32px 32px;max-width:1600px}
html[data-theme] body.workspace-redesign.liquid-workspace #editorView #remixFeaturePanel{padding:0;overflow:visible}
html[data-theme] body.workspace-redesign.liquid-workspace .creation-wizard-nav{border-radius:18px 18px 0 0;background:var(--surface-subtle);border-bottom:1px solid var(--border);padding:12px;gap:8px;backdrop-filter:blur(20px)}
html[data-theme] body.workspace-redesign.liquid-workspace .creation-wizard-nav button{border-radius:22px;background:transparent;color:var(--text-secondary)}
html[data-theme] body.workspace-redesign.liquid-workspace .creation-wizard-nav button[aria-current=step]{color:var(--text);background:var(--glass-active);box-shadow:inset 0 1px 0 var(--glass-edge),0 3px 8px rgba(25,50,100,.08)}
html[data-theme] body.workspace-redesign.liquid-workspace .creation-wizard-page{padding:24px}
html[data-theme] body.workspace-redesign.liquid-workspace .creation-wizard-footer{background:var(--surface);border-top:1px solid var(--border);border-radius:0 0 18px 18px;padding:12px 20px;backdrop-filter:blur(20px)}
html[data-theme] body.workspace-redesign.liquid-workspace #creation-page-1:has(#seriesCalendar:not(:checked)){grid-template-columns:1fr 1fr;gap:24px}
html[data-theme] body.workspace-redesign.liquid-workspace #creation-page-1:has(#seriesCalendar:not(:checked))>.creation-step{grid-column:auto;grid-row:auto;border:0;padding:0;margin:0}
html[data-theme] body.workspace-redesign.liquid-workspace .remix-feature-card{border-radius:18px;background:var(--surface-subtle);border-color:var(--border)}
html[data-theme] body.workspace-redesign.liquid-workspace :is(.remix-color-options,.workspace-series-summary){border-radius:18px;background:var(--surface-subtle);border-color:var(--border);box-shadow:none}
html[data-theme] body.workspace-redesign.liquid-workspace .creation-step{border-color:var(--border);background:transparent}
html[data-theme] body.workspace-redesign.liquid-workspace .simple-source-account{border-color:var(--border);padding-block:12px}
html[data-theme] body.workspace-redesign.liquid-workspace .calendar-toolbar{margin-bottom:14px;gap:14px}
html[data-theme] body.workspace-redesign.liquid-workspace .calendar-toolbar>div>p{display:none}
html[data-theme] body.workspace-redesign.liquid-workspace .calendar-toolbar h1{margin:0 0 16px}
html[data-theme] body.workspace-redesign.liquid-workspace .calendar-toolbar-actions{gap:8px}
html[data-theme] body.workspace-redesign.liquid-workspace .calendar-workspace-filters{margin:14px 0 4px;gap:12px}
html[data-theme] body.workspace-redesign.liquid-workspace .calendar-workspace-filters label{gap:4px;font-size:12px}
html[data-theme] body.workspace-redesign.liquid-workspace .calendar-projection-summary{margin:4px 0;font-size:12px}
html[data-theme] body.workspace-redesign.liquid-workspace .calendar-live-bar{margin:4px 0 12px}
html[data-theme] body.workspace-redesign.liquid-workspace .studio-month-card{padding:18px}
html[data-theme] body.workspace-redesign.liquid-workspace .studio-month-card .calendar-day{border:0;border-top:1px solid var(--border);border-radius:0;background:transparent;min-height:76px;height:clamp(76px,10vh,104px);padding:8px}
html[data-theme] body.workspace-redesign.liquid-workspace .studio-month-card .calendar-day:hover{background:var(--glass-active);border-radius:12px}
html[data-theme] body.workspace-redesign.liquid-workspace .studio-month-card .calendar-day.selected{background:var(--glass-active);box-shadow:inset 0 0 0 1px var(--glass-edge);border-radius:14px}
html[data-theme] body.workspace-redesign.liquid-workspace dialog:modal{background:var(--surface-raised);border:1px solid var(--glass-edge);border-radius:28px;color:var(--text);box-shadow:var(--glass-shadow);backdrop-filter:blur(28px)}
html[data-theme] body.workspace-redesign.liquid-workspace dialog::backdrop{background:rgba(5,15,40,.36);backdrop-filter:blur(7px)}
html[data-theme] body.workspace-redesign.liquid-workspace dialog.calendar-day-window:modal{position:fixed;inset:12px 12px 12px auto;margin:0;width:480px;max-width:calc(100vw - 24px);height:calc(100dvh - 24px);max-height:calc(100dvh - 24px);padding:0;overflow:hidden}
html[data-theme] body.workspace-redesign.liquid-workspace .calendar-day-window .studio-day-card{height:100%;max-height:100%;padding:24px;gap:0;border-radius:0;background:transparent;display:flex;flex-direction:column;overflow:hidden}
html[data-theme] body.workspace-redesign.liquid-workspace .calendar-day-window #studioDaySummary{flex:1;min-height:80px;max-height:none;overflow:auto;padding:0 4px 0 0;display:block}
html[data-theme] body.workspace-redesign.liquid-workspace .calendar-day-window .studio-day-heading{padding-bottom:16px}
html[data-theme] body.workspace-redesign.liquid-workspace .calendar-day-window .studio-day-entry-head{display:flex;align-items:center;justify-content:flex-start;gap:12px;padding-bottom:8px}
html[data-theme] body.workspace-redesign.liquid-workspace .calendar-day-window .studio-day-entry-head .checkbox-line{display:flex;width:auto;min-width:76px;gap:8px;white-space:nowrap;word-break:normal;overflow-wrap:normal;font-size:12px}
html[data-theme] body.workspace-redesign.liquid-workspace .calendar-day-window .studio-day-entry-head input{width:16px;height:16px;margin:0;min-height:0}
html[data-theme] body.workspace-redesign.liquid-workspace .calendar-day-window .studio-day-entry-head time{font-size:15px;flex:1}
html[data-theme] body.workspace-redesign.liquid-workspace .calendar-day-window .studio-day-entry{padding-block:14px;border-color:var(--border)}
html[data-theme] body.workspace-redesign.liquid-workspace .calendar-day-window .studio-day-footer{background:transparent;padding-top:12px;flex:0 0 auto;border-top:1px solid var(--border)}
html[data-theme] body.workspace-redesign.liquid-workspace .calendar-day-window .studio-day-scope-delete{padding-top:12px}
html[data-theme] body.workspace-redesign.liquid-workspace .calendar-day-window :is(.studio-day-scope-delete button,.studio-day-delete){color:var(--danger);background:var(--danger-soft)}
@media(max-width:1100px){html[data-theme] body.workspace-redesign.liquid-workspace .workspace-home-columns{grid-template-columns:1fr}html[data-theme] body.workspace-redesign.liquid-workspace :is(.workspace-current,.workspace-upcoming,.workspace-week,.workspace-home-side){grid-column:1;grid-row:auto}html[data-theme] body.workspace-redesign.liquid-workspace #creation-page-1:has(#seriesCalendar:not(:checked)){grid-template-columns:1fr}}
@media(max-width:760px){
  html[data-theme] body.workspace-redesign.liquid-workspace .studio-rail{position:sticky;top:8px;left:auto;bottom:auto;width:calc(100% - 16px);height:auto;margin:8px;padding:10px;border-radius:24px;z-index:20}
  html[data-theme] body.workspace-redesign.liquid-workspace .studio-rail .brand{display:none}
  html[data-theme] body.workspace-redesign.liquid-workspace .studio-rail-link{min-height:44px;margin:0;padding:10px}
  html[data-theme] body.workspace-redesign.liquid-workspace .studio-main{margin-left:0}
  html[data-theme] body.workspace-redesign.liquid-workspace .studio-topbar{padding:8px 16px;min-height:48px}
  html[data-theme] body.workspace-redesign.liquid-workspace :is(.v3-home,.settings-view,.calendar-view,.personal-cloud-view){padding:16px 16px 28px}
  html[data-theme] body.workspace-redesign.liquid-workspace.creation-flow #editorView.workspace.creation-wizard{padding:0 12px 24px}
  html[data-theme] body.workspace-redesign.liquid-workspace .workspace-page-heading h1{font-size:28px}
  html[data-theme] body.workspace-redesign.liquid-workspace .workspace-home-status>div{padding:14px 10px}
  html[data-theme] body.workspace-redesign.liquid-workspace .workspace-home-status .studio-icon{display:none}
  html[data-theme] body.workspace-redesign.liquid-workspace .workspace-home-status span{padding-right:0;font-size:11px}
  html[data-theme] body.workspace-redesign.liquid-workspace .studio-rail{padding:6px;border-radius:16px}
  html[data-theme] body.workspace-redesign.liquid-workspace .studio-rail-link{gap:7px;font-size:12px}
  html[data-theme] body.workspace-redesign.liquid-workspace :is(.workspace-current,.workspace-upcoming,.creation-wizard-page){padding:18px}
  html[data-theme] body.workspace-redesign.liquid-workspace .calendar-workspace-filters{gap:8px}
  html[data-theme] body.workspace-redesign.liquid-workspace .studio-month-card{padding:10px}
  html[data-theme] body.workspace-redesign.liquid-workspace .studio-month-card .calendar-day{padding:4px;min-height:70px;height:70px}
  html[data-theme] body.workspace-redesign.liquid-workspace dialog.calendar-day-window:modal{inset:8px;margin:0;width:calc(100vw - 16px);max-width:calc(100vw - 16px);height:calc(100dvh - 16px);max-height:calc(100dvh - 16px);border-radius:24px}
}
@media(prefers-reduced-transparency:reduce){html[data-theme] body.workspace-redesign.liquid-workspace{--glass-bg:var(--surface-raised);--glass-input:var(--surface-raised);--glass-active:var(--surface-raised)}html[data-theme] body.workspace-redesign.liquid-workspace::before{display:none}}
@media(prefers-reduced-motion:reduce){html[data-theme] body.workspace-redesign.liquid-workspace .button{transition:none;transform:none}}
@media(forced-colors:active){html[data-theme] body.workspace-redesign.liquid-workspace::before{display:none}html[data-theme] body.workspace-redesign.liquid-workspace :is(.studio-rail,.workspace-current,.workspace-upcoming,.studio-month-card,.button){background:Canvas;color:CanvasText;border:1px solid CanvasText;backdrop-filter:none}}
