/* Video shell: 32px left rail + 68px rail + 28px gutter + fluid canvas + 36px.
   At 1440 the canvas is 1276px; a 2:1 split with a 20px gutter closes exactly. */
html #app.shell[data-layout=liquid],
html[data-theme] #app.shell[data-layout=liquid]{
  --v-bg:#030712!important;
  --v-surface:rgba(15,23,42,0.78)!important;
  --v-surface2:#141923!important;
  --v-line:rgba(255,255,255,0.08)!important;
  --v-line2:rgba(56,189,248,0.25)!important;
  --v-ink:#f8fafc!important;
  --v-muted:#94a3b8!important;
  --v-soft:rgba(56,189,248,0.12)!important;
  --d-shadow:0 16px 40px -8px rgba(0,0,0,0.5)!important;
  display:block!important;
  isolation:isolate;
  background:transparent!important;
  min-height:100vh;
}
/* Completely hide redundant legacy hub service nav when liquid layout is active - stops top navbar collision */
html #app.shell[data-layout=liquid] #hubServiceNav,
html #app.shell[data-layout=liquid] .hub-service-nav,
html[data-theme] #app.shell[data-layout=liquid] #hubServiceNav,
html[data-theme] #app.shell[data-layout=liquid] .hub-service-nav {
  display:none!important;
}
/* Fixed navigation must disappear with its unauthenticated parent. */
html[data-theme] #app.shell[data-layout=liquid][hidden]{display:none!important}
html[data-theme] #app.shell[data-layout=liquid] .side{display:contents!important}
html[data-theme] #app.shell[data-layout=liquid] .side>.brand{position:fixed;z-index:42;top:26px;left:32px;display:flex!important;align-items:center;gap:10px;padding:0!important}
html[data-theme] #app.shell[data-layout=liquid] .brand .mark{width:32px;height:32px;border-radius:11px;background:linear-gradient(140deg,#d1d6e8,#757f9e);color:#11151e;box-shadow:inset 0 1px #fff9;font-size:18px}
html[data-theme] #app.shell[data-layout=liquid] .brand strong{font-size:14px;letter-spacing:.12em}
html[data-theme] #app.shell[data-layout=liquid] .brand small{display:none}
html[data-theme] #app.shell[data-layout=liquid] .side :is(.workspace-card,.side-note){display:none!important}
html[data-theme] #app.shell[data-layout=liquid] .menu-search{position:fixed;left:32px;top:112px;z-index:42;width:60px;height:48px;min-height:48px;padding:14px;justify-content:center;border:1px solid var(--v-line2);border-radius:18px;background:var(--v-surface);color:var(--v-muted);margin:0}
html[data-theme] #app.shell[data-layout=liquid] .menu-search :is(span,kbd){display:none}
html[data-theme] #app.shell[data-layout=liquid] .menu-search svg{width:20px;height:20px}
html[data-theme] #app.shell[data-layout=liquid] .workspace-nav{display:contents!important}
html[data-theme] #app.shell[data-layout=liquid] .liquid-primary{
  display:flex;
  flex-direction:row!important;
  flex-wrap:nowrap!important;
  white-space:nowrap!important;
  align-items:center;
  gap:6px;
  position:fixed;
  top:0;
  left:0;
  right:0;
  width:100%!important;
  max-width:100%!important;
  height:64px!important;
  min-height:64px!important;
  transform:none!important;
  z-index:1000;
  padding:0 clamp(20px, 3.5vw, 48px);
  border-radius:0!important;
  border:0!important;
  border-bottom:1px solid rgba(255,255,255,0.08)!important;
  background:rgba(7,8,11,0.88)!important;
  box-shadow:0 4px 24px rgba(0,0,0,0.5)!important;
  backdrop-filter:blur(20px)!important;
  -webkit-backdrop-filter:blur(20px)!important;
  overflow-x:auto!important;
  scrollbar-width:none!important;
}
html[data-theme] #app.shell[data-layout=liquid] .liquid-primary::-webkit-scrollbar{display:none!important;}
html[data-theme] #app.shell[data-layout=liquid] .workspace-nav .nav{position:relative;z-index:1;display:flex;align-items:center;justify-content:center;gap:8px;margin:0!important;padding:0 14px!important;width:auto!important;height:38px!important;min-height:38px;border:0!important;border-radius:8px!important;box-shadow:none!important;background:transparent!important;color:rgba(255,255,255,0.7)!important;font-size:13.5px!important;font-weight:500!important;white-space:nowrap}
html[data-theme] #app.shell[data-layout=liquid] .workspace-nav .nav:hover{color:#fff!important;background:rgba(255,255,255,0.06)!important}
html[data-theme] #app.shell[data-layout=liquid] .workspace-nav .nav.active{color:#fff!important;background:rgba(255,255,255,0.1)!important;font-weight:600!important;box-shadow:inset 0 1px 0 rgba(255,255,255,0.14)!important}
html[data-theme] #app.shell[data-layout=liquid] .workspace-nav .nav:before{display:none!important}
html[data-theme] #app.shell[data-layout=liquid] .workspace-nav .nav b{width:18px!important;height:18px!important;background:transparent!important;border-radius:0!important;color:inherit!important}
html[data-theme] #app.shell[data-layout=liquid] .liquid-tools{position:fixed;left:32px;top:174px;z-index:41;display:flex;flex-direction:column;gap:5px;align-items:center;width:60px;padding:7px;border-radius:24px;max-height:calc(100dvh - 198px);overflow:visible}
html[data-theme] #app.shell[data-layout=liquid] .liquid-tools .nav{width:44px!important;height:44px!important;min-height:44px;padding:0!important;border-radius:14px!important}
html[data-theme] #app.shell[data-layout=liquid] .liquid-tools .nav:is(:hover,.active){background:var(--v-soft)!important}
html[data-theme] #app.shell[data-layout=liquid] .liquid-tools .nav>span{position:absolute;left:64px;top:4px;display:none;padding:8px 12px;border:1px solid var(--v-line2);border-radius:10px;background:var(--v-bg);color:var(--v-ink);box-shadow:0 4px 18px #0003;font-size:13px;white-space:nowrap}
html[data-theme] #app.shell[data-layout=liquid] .liquid-tools .nav:is(:hover,:focus-visible)>span{display:block}
html[data-theme] #app.shell[data-layout=liquid] .liquid-tools .nav-links{display:grid;gap:5px;border-top:1px solid var(--v-line);padding-top:8px;margin-top:3px}
html[data-theme] #app.shell[data-layout=liquid] .nav-watch{display:none}
html[data-theme] #app.shell[data-layout=liquid] .content{position:relative;z-index:1;width:auto;max-width:1800px;margin:0 auto!important;padding:110px 36px 48px 128px!important;background:transparent!important;min-height:100vh}
html[data-theme] #app.shell[data-layout=liquid] .top{display:flex!important;align-items:center;justify-content:space-between;padding:0!important;margin:0 0 28px!important;gap:20px!important}
html[data-theme] #app.shell[data-layout=liquid] .top h1{font-size:clamp(26px,2.5vw,34px)!important;font-weight:600!important;letter-spacing:-.04em!important;line-height:1.2}
html[data-theme] #app.shell[data-layout=liquid] .top p{margin-top:8px;font-size:14px;color:var(--v-muted)}
html[data-theme] #app.shell[data-layout=liquid] .top-actions{max-width:none;gap:8px!important}
html[data-theme] #app.shell[data-layout=liquid] :is(.overview-panel,.detail-panel,.merged-card,.sw-workspace,.task-launcher-card){border-radius:20px!important;border-color:var(--v-line)!important;background:var(--v-surface)!important;box-shadow:var(--d-shadow)!important}
html[data-theme] #app.shell[data-layout=liquid] .merged-card{overflow:clip;margin-bottom:16px}
html[data-theme] #app.shell[data-layout=liquid] .merged-card.is-open{border-color:var(--v-line2)!important}
html[data-theme] #app.shell[data-layout=liquid] .merged-head{min-height:72px;padding:18px 20px!important}
html[data-theme] #app.shell[data-layout=liquid] .merged-head>b{background:transparent!important;border:0!important;color:var(--v-muted)}
html[data-theme] #app.shell[data-layout=liquid] .merged-body{padding:0 20px 20px}
html[data-theme] #app.shell[data-layout=liquid] .merged-body>.detail-panel{border-radius:0!important;background:transparent!important;box-shadow:none!important}
html[data-theme] #app.shell[data-layout=liquid] #overviewPanel{display:grid;grid-template-columns:minmax(0,2fr) minmax(300px,1fr);gap:20px}
html[data-theme] #app.shell[data-layout=liquid] #overviewPanel[hidden]{display:none!important}
html[data-theme] #app.shell[data-layout=liquid] #overviewPanel>.command-hero{grid-column:1/-1;border:0!important;background:transparent!important;box-shadow:none!important;padding:0 0 24px!important;min-height:0;grid-template-columns:1fr;gap:14px}
html[data-theme] #app.shell[data-layout=liquid] .command-hero :is(.command-visual,.command-kicker){display:none!important}
html[data-theme] #app.shell[data-layout=liquid] .command-hero:before,html[data-theme] #app.shell[data-layout=liquid] .command-hero:after{display:none!important}
html[data-theme] #app.shell[data-layout=liquid] .command-readouts{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:28px;border-top:1px solid var(--v-line);padding-top:20px}
html[data-theme] #app.shell[data-layout=liquid] .command-readout{border:0!important;background:transparent!important;box-shadow:none!important;padding:0!important}
html[data-theme] #app.shell[data-layout=liquid] .command-readout strong{font-size:24px!important;font-weight:500;letter-spacing:-.035em}
html[data-theme] #app.shell[data-layout=liquid] #overviewPanel>.task-launcher{grid-column:1/-1}
html[data-theme] #app.shell[data-layout=liquid] .task-launcher-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:16px}
html[data-theme] #app.shell[data-layout=liquid] .task-launcher-card{min-height:118px;padding:20px!important}
html[data-theme] #app.shell[data-layout=liquid] .task-launcher-card .task-icon{background:transparent!important;border-color:var(--v-line)!important;color:var(--v-ink)!important}
html[data-theme] #app.shell[data-layout=liquid] .overview-columns{grid-column:1/-1;grid-template-columns:minmax(0,2fr) minmax(300px,1fr);gap:20px}
html[data-theme] #app.shell[data-layout=liquid] #settingsPanel{max-width:none}
html[data-theme] #app.shell[data-layout=liquid] .mobile-menu-toggle{display:none!important}
@media(max-width:1180px){
 html[data-theme] #app.shell[data-layout=liquid] .side>.brand{top:20px;left:24px}
 html[data-theme] #app.shell[data-layout=liquid] .content{padding:106px 24px 40px 104px!important}
 html[data-theme] #app.shell[data-layout=liquid] .liquid-primary{left:auto;right:24px;transform:none;max-width:calc(100% - 220px)}
 html[data-theme] #app.shell[data-layout=liquid] .liquid-primary .nav{padding-inline:12px!important;font-size:12px!important}
 html[data-theme] #app.shell[data-layout=liquid] .liquid-primary .nav b{display:none!important}
 html[data-theme] #app.shell[data-layout=liquid] .liquid-tools{left:20px}
 html[data-theme] #app.shell[data-layout=liquid] .menu-search{left:20px}
 html[data-theme] #app.shell[data-layout=liquid] #overviewPanel{grid-template-columns:1fr}
 html[data-theme] #app.shell[data-layout=liquid] .overview-columns{grid-template-columns:1fr}
}
@media(max-width:780px){
 html[data-theme] #app.shell[data-layout=liquid] .side>.brand{position:absolute;top:18px;left:20px}
 html[data-theme] #app.shell[data-layout=liquid] .brand strong{font-size:12px}
 html[data-theme] #app.shell[data-layout=liquid] .content{padding:92px 16px 32px!important}
 html[data-theme] #app.shell[data-layout=liquid] .top{align-items:flex-start;flex-wrap:wrap;gap:14px!important;margin-bottom:24px!important}
 html[data-theme] #app.shell[data-layout=liquid] .top-actions{width:100%;justify-content:flex-start}
 html[data-theme] #app.shell[data-layout=liquid] .mobile-menu-toggle{display:flex!important;position:absolute;top:16px;right:16px;z-index:45;width:auto;gap:8px;align-items:center;height:46px;padding:0 16px!important;border-radius:999px!important;border:1px solid var(--v-line2);background:var(--v-surface);color:var(--v-ink)}
 html[data-theme] #app.shell[data-layout=liquid] .menu-search{position:absolute;top:16px;right:132px;left:auto;width:46px;height:46px;padding:12px;border-radius:999px}
 html[data-theme] #app.shell[data-layout=liquid] .workspace-nav{display:none!important}
 html[data-theme] #app.shell[data-layout=liquid] .side.menu-open .workspace-nav{display:grid!important;position:absolute;top:76px;left:16px;right:16px;z-index:44;margin:0;padding:12px;border:1px solid var(--v-line2);border-radius:24px;background:var(--v-bg);box-shadow:0 20px 60px #0009;max-height:calc(100dvh - 96px);overflow:auto;gap:8px}
 html[data-theme] #app.shell[data-layout=liquid] .side.menu-open :is(.liquid-primary,.liquid-tools){position:relative!important;inset:auto!important;transform:none!important;max-width:100%;width:100%;height:auto;max-height:none;display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr));border-radius:16px;padding:6px;gap:5px;box-shadow:none!important;backdrop-filter:none!important}
 html[data-theme] #app.shell[data-layout=liquid] .liquid-pill{display:none}
 html[data-theme] #app.shell[data-layout=liquid] .workspace-nav .nav{width:100%!important;padding:10px!important;height:auto!important;min-height:48px;white-space:normal!important;justify-content:flex-start;font-size:13px!important;border-radius:12px!important}
 html[data-theme] #app.shell[data-layout=liquid] .workspace-nav .nav.active{background:var(--v-soft)!important}
 html[data-theme] #app.shell[data-layout=liquid] .workspace-nav .nav b{display:block!important;flex:0 0 18px}
 html[data-theme] #app.shell[data-layout=liquid] .liquid-tools .nav>span{position:static;display:block;padding:0;border:0;box-shadow:none;white-space:normal;background:transparent;font-size:13px}
 html[data-theme] #app.shell[data-layout=liquid] .liquid-tools .nav-links{grid-column:1/-1;display:grid;grid-template-columns:repeat(2,minmax(0,1fr));width:100%;margin:0}
 html[data-theme] #app.shell[data-layout=liquid] .nav-watch{display:block;grid-column:1/-1}
 html[data-theme] #app.shell[data-layout=liquid] .task-launcher-grid{grid-template-columns:1fr}
 html[data-theme] #app.shell[data-layout=liquid] .task-launcher-card{min-height:100px}
 html[data-theme] #app.shell[data-layout=liquid] .command-readouts{gap:12px}
 html[data-theme] #app.shell[data-layout=liquid] .command-readout strong{font-size:19px!important}
}
@media(max-height:720px) and (min-width:781px){html[data-theme] #app.shell[data-layout=liquid] .liquid-tools{top:150px;gap:0;padding-block:4px}html[data-theme] #app.shell[data-layout=liquid] .liquid-tools .nav{height:38px!important;min-height:38px}}
/* Overview follows live service status, then operational detail, then shortcuts. */
html[data-theme] #app.shell[data-layout=liquid] #overviewPanel>:is(.command-hero,.task-launcher,.overview-metrics,.recent-panel,.flow-details){grid-column:1/-1!important;max-width:none!important;width:100%}
html[data-theme] #app.shell[data-layout=liquid] #overviewPanel>.command-hero{order:0;display:grid!important;grid-template-columns:minmax(0,1fr) minmax(420px,1fr)!important;gap:28px;padding-bottom:8px!important}
html[data-theme] #app.shell[data-layout=liquid] .command-readouts{grid-template-columns:repeat(2,minmax(0,1fr))!important;border:0!important;padding:0!important;gap:16px 24px}
html[data-theme] #app.shell[data-layout=liquid] .command-readout{min-height:0;display:block!important}
html[data-theme] #app.shell[data-layout=liquid] .command-readout :is(span,small){display:block}
html[data-theme] #app.shell[data-layout=liquid] .command-readout>span{font-size:11px;letter-spacing:.02em}
html[data-theme] #app.shell[data-layout=liquid] .command-readout strong{font-size:20px!important;line-height:1.5}
html[data-theme] #app.shell[data-layout=liquid] .command-readout small{font-size:12px!important}
html[data-theme] #app.shell[data-layout=liquid] #overviewPanel>.overview-metrics{order:1;display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:0;padding:20px 0;border-top:1px solid var(--v-line);border-bottom:1px solid var(--v-line)}
html[data-theme] #app.shell[data-layout=liquid] .overview-metrics>.overview-metric{min-height:0;padding:0 24px;border:0;border-right:1px solid var(--v-line);border-radius:0;background:transparent;box-shadow:none}
html[data-theme] #app.shell[data-layout=liquid] .overview-metrics>.overview-metric:first-child{padding-left:0}
html[data-theme] #app.shell[data-layout=liquid] .overview-metrics>.overview-metric:last-child{border-right:0}
html[data-theme] #app.shell[data-layout=liquid] .overview-metric:before{display:none}
html[data-theme] #app.shell[data-layout=liquid] .overview-metric .metric-icon{display:none}
html[data-theme] #app.shell[data-layout=liquid] #overviewPanel>.overview-duo{order:2;grid-column:1;grid-template-columns:repeat(2,minmax(0,1fr));gap:20px}
html[data-theme] #app.shell[data-layout=liquid] #overviewPanel>.activity-panel{order:3;grid-column:2;align-self:stretch}
html[data-theme] #app.shell[data-layout=liquid] #overviewPanel>.recent-panel{order:4}
html[data-theme] #app.shell[data-layout=liquid] #overviewPanel>.task-launcher{order:5}
html[data-theme] #app.shell[data-layout=liquid] #overviewPanel>.flow-details{order:6}
html[data-theme] #app.shell[data-layout=liquid] .overview-panel-head{padding:18px 20px!important;background:transparent!important;border-bottom-color:var(--v-line)!important}
html[data-theme] #app.shell[data-layout=liquid] .overview-panel-head:before{display:none!important}
@media(max-width:1180px){html[data-theme] #app.shell[data-layout=liquid] #overviewPanel>.command-hero{grid-template-columns:1fr!important}html[data-theme] #app.shell[data-layout=liquid] #overviewPanel>:is(.overview-duo,.activity-panel){grid-column:1/-1!important}}
@media(max-width:780px){html[data-theme] #app.shell[data-layout=liquid] #overviewPanel>.overview-metrics{grid-template-columns:repeat(2,minmax(0,1fr));gap:20px}html[data-theme] #app.shell[data-layout=liquid] .overview-metrics>.overview-metric{padding:0!important;border:0!important}html[data-theme] #app.shell[data-layout=liquid] .command-readouts{grid-template-columns:repeat(2,minmax(0,1fr))!important}html[data-theme] #app.shell[data-layout=liquid] #overviewPanel>.overview-duo{grid-template-columns:1fr!important}}
html[data-theme] #app.shell[data-layout=liquid] .command-copy{grid-column:1!important;grid-row:1!important}
html[data-theme] #app.shell[data-layout=liquid] .command-actions{grid-column:1!important;grid-row:2!important;margin:0!important;gap:8px}
html[data-theme] #app.shell[data-layout=liquid] .command-readouts{grid-column:2!important;grid-row:1 / span 2!important}
html[data-theme] #app.shell[data-layout=liquid] .metric-label i{display:none!important}
html[data-theme] #app.shell[data-layout=liquid] .command-status-row{margin-top:12px}
html[data-theme] #app.shell[data-layout=liquid] .nav-watch>summary::before,
html[data-theme] #app.shell[data-layout=liquid] .liquid-tools .nav-watch>summary::before,
html[data-theme] #app.shell[data-layout=liquid] .liquid-tools-list .nav-watch>summary::before{content:none!important;display:none!important;width:0!important;height:0!important}
html[data-theme] #app.shell[data-layout=liquid] .liquid-tools .nav-watch{position:static;display:block;width:100%;border-top:1px solid rgba(255,255,255,0.06);margin:6px 0 0;padding-top:4px}
@media(max-width:1180px){html[data-theme] #app.shell[data-layout=liquid] .command-readouts{grid-column:1!important;grid-row:3!important;grid-template-columns:repeat(4,minmax(0,1fr))!important}}
@media(max-width:780px){html[data-theme] #app.shell[data-layout=liquid] .command-readouts{grid-template-columns:repeat(2,minmax(0,1fr))!important}html[data-theme] #app.shell[data-layout=liquid] .liquid-tools .nav-watch{grid-column:1/-1;width:100%}html[data-theme] #app.shell[data-layout=liquid] .nav-watch>summary{font-size:13px;display:flex;gap:10px;justify-content:flex-start;padding-inline:10px}html[data-theme] #app.shell[data-layout=liquid] .nav-watch .nav{position:static;width:100%!important}}
html[data-theme=dark] #app.shell[data-layout=liquid]{--v-surface:#23262eac;--v-surface2:#2a2e38cc;--d-shadow:inset 0 1px #ffffff15,inset 0 -1px #ffffff04,0 12px 28px #0002}
html[data-theme] #app.shell[data-layout=liquid] #overviewPanel>.command-hero{grid-template-columns:1fr!important;gap:12px;padding-bottom:4px!important}
html[data-theme] #app.shell[data-layout=liquid] .command-readouts{display:none!important}
html[data-theme] #app.shell[data-layout=liquid] .command-actions{grid-column:1!important;grid-row:2!important;flex-wrap:wrap!important}
html[data-theme] #app.shell[data-layout=liquid] .command-copy :is(h2,p){margin-block:0 8px!important}
html[data-theme] #app.shell[data-layout=liquid] .command-status-row{margin-top:0!important}
html[data-theme] #app.shell[data-layout=liquid] .overview-metric small{font-size:12px!important}
/* Landscape keyboards leave room for the composer, rather than clipping Send. */
@media(max-height:600px){
 html[data-theme] #app.shell[data-layout=liquid] .sw-agent-guide{display:none}
 html[data-theme] #app.shell[data-layout=liquid] .sw-composer-wrap{padding:6px 10px!important}
 html[data-theme] #app.shell[data-layout=liquid] .sw-composer{padding:8px!important}
 html[data-theme] #app.shell[data-layout=liquid] .sw-composer textarea{min-height:36px!important;height:36px;max-height:80px}
 html[data-theme] #app.shell[data-layout=liquid][data-view=aiworkspace] .top{margin-bottom:8px!important}
}
html[data-theme] #app.shell[data-layout=liquid] .brand .mark{animation:none!important}
html[data-theme=dark]:has(#app[data-layout=liquid]:not([hidden])) body{background:#080a0e!important}
@media(max-width:780px){html[data-theme] #app.shell[data-layout=liquid] .workspace-nav .nav>span{min-width:0;overflow-wrap:anywhere}}
/* One operational pane beside two concise secondary panes. */
html[data-theme] #app.shell[data-layout=liquid] #overviewPanel>.overview-duo{display:contents!important}
html[data-theme] #app.shell[data-layout=liquid] .overview-duo>.overview-panel:first-child{grid-column:1;grid-row:3 / span 2;order:2}
html[data-theme] #app.shell[data-layout=liquid] .overview-duo>.overview-panel:last-child{grid-column:2;grid-row:3;order:3}
html[data-theme] #app.shell[data-layout=liquid] #overviewPanel>.activity-panel{grid-column:2;grid-row:4;order:4;align-self:stretch}
html[data-theme] #app.shell[data-layout=liquid] .system-list>div{min-height:48px;padding-block:12px}
html[data-theme] #app.shell[data-layout=liquid] #overviewPanel>.recent-panel{grid-row:5;order:5}
html[data-theme] #app.shell[data-layout=liquid] #overviewPanel>.task-launcher{grid-row:6;order:6}
html[data-theme] #app.shell[data-layout=liquid] #overviewPanel>.flow-details{order:7}
@media(max-width:1180px){html[data-theme] #app.shell[data-layout=liquid] .overview-duo>.overview-panel,html[data-theme] #app.shell[data-layout=liquid] #overviewPanel>:is(.activity-panel,.recent-panel,.task-launcher){grid-column:1/-1!important;grid-row:auto!important}}

/* "Qo‘shimcha": one button instead of a rail of icons; the list opens beside it (inline in the phone menu). */
html[data-theme] #app.shell[data-layout=liquid] .liquid-more{display:flex;align-items:center;justify-content:center;gap:8px;width:44px;height:44px;padding:0;border:0;border-radius:14px;background:transparent;color:var(--v-muted);cursor:pointer;font:inherit;font-size:13px}
html[data-theme] #app.shell[data-layout=liquid] .liquid-more:is(:hover,:focus-visible),html[data-theme] #app.shell[data-layout=liquid] .liquid-tools[data-open="1"] .liquid-more{background:var(--v-soft);color:var(--v-ink);outline:none}
html[data-theme] #app.shell[data-layout=liquid] .liquid-more svg{width:20px;height:20px}
html[data-theme] #app.shell[data-layout=liquid] .liquid-more-label{display:none}
html[data-theme] #app.shell[data-layout=liquid] .liquid-tools-list{display:none}
html[data-theme] #app.shell[data-layout=liquid] .liquid-tools[data-open="1"] .liquid-tools-list {
  display: flex !important;
  flex-direction: column !important;
  gap: 2px !important;
  position: absolute !important;
  left: 68px !important;
  top: 0 !important;
  width: 294px !important;
  max-height: min(85vh, 560px) !important;
  overflow-y: auto !important;
  overflow-x: hidden !important;
  padding: 10px 10px 14px !important;
  border: 1px solid rgba(255, 255, 255, 0.12) !important;
  border-radius: 22px !important;
  background: linear-gradient(180deg, rgba(14, 18, 30, 0.96) 0%, rgba(9, 12, 22, 0.98) 100%) !important;
  backdrop-filter: blur(32px) saturate(190%) !important;
  -webkit-backdrop-filter: blur(32px) saturate(190%) !important;
  box-shadow: 0 28px 75px rgba(0, 0, 0, 0.85), 0 0 35px rgba(56, 189, 248, 0.12), inset 0 1px 0 rgba(255, 255, 255, 0.14) !important;
  z-index: 9999 !important;
  scrollbar-width: thin !important;
  scrollbar-color: rgba(56, 189, 248, 0.3) transparent !important;
  animation: vibe-menu-reveal 0.2s cubic-bezier(0.16, 1, 0.3, 1) forwards !important;
}
@keyframes vibe-menu-reveal {
  from { opacity: 0; transform: translateY(-4px) scale(0.97); }
  to { opacity: 1; transform: translateY(0) scale(1); }
}
html[data-theme] #app.shell[data-layout=liquid] .liquid-tools-list::-webkit-scrollbar { width: 4px !important; }
html[data-theme] #app.shell[data-layout=liquid] .liquid-tools-list::-webkit-scrollbar-thumb { background: rgba(56, 189, 248, 0.3) !important; border-radius: 4px !important; }

html[data-theme] #app.shell[data-layout=liquid] .liquid-search {
  width: 100% !important;
  height: 40px !important;
  margin: 0 0 8px 0 !important;
  padding: 0 14px 0 36px !important;
  border: 1px solid rgba(255, 255, 255, 0.1) !important;
  border-radius: 12px !important;
  background: rgba(255, 255, 255, 0.04) !important;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='15' height='15' viewBox='0 0 24 24' fill='none' stroke='rgba(148,163,184,0.75)' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='11' cy='11' r='8'%3E%3C/circle%3E%3Cline x1='21' y1='21' x2='16.65' y2='16.65'%3E%3C/line%3E%3C/svg%3E") !important;
  background-repeat: no-repeat !important;
  background-position: 12px center !important;
  color: #f8fafc !important;
  font: inherit !important;
  font-size: 13px !important;
  font-weight: 500 !important;
  box-sizing: border-box !important;
  transition: all 0.2s ease !important;
}
html[data-theme] #app.shell[data-layout=liquid] .liquid-search:focus-visible {
  border-color: rgba(56, 189, 248, 0.6) !important;
  box-shadow: 0 0 16px rgba(56, 189, 248, 0.22), inset 0 1px 0 rgba(255, 255, 255, 0.1) !important;
  background-color: rgba(15, 23, 42, 0.85) !important;
  outline: none !important;
}
html[data-theme] #app.shell[data-layout=liquid] .liquid-tools-list [hidden] {
  display: none !important;
}

html[data-theme] #app.shell[data-layout=liquid] .liquid-tools-list .liquid-group {
  padding: 10px 8px 5px !important;
  font-size: 10px !important;
  font-weight: 750 !important;
  letter-spacing: 0.12em !important;
  text-transform: uppercase !important;
  color: #64748b !important;
  display: flex !important;
  align-items: center !important;
  gap: 6px !important;
  border-top: 1px solid rgba(255, 255, 255, 0.06) !important;
  margin-top: 6px !important;
}
html[data-theme] #app.shell[data-layout=liquid] .liquid-tools-list .liquid-group::before {
  content: "";
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: #38bdf8;
  opacity: 0.8;
  box-shadow: 0 0 6px #38bdf8;
}
html[data-theme] #app.shell[data-layout=liquid] .liquid-tools-list .liquid-group:first-of-type {
  border-top: 0 !important;
  margin-top: 2px !important;
}

html[data-theme] #app.shell[data-layout=liquid] .liquid-tools-list .nav {
  width: 100% !important;
  height: auto !important;
  min-height: 48px !important;
  padding: 6px 10px !important;
  border-radius: 12px !important;
  gap: 11px !important;
  display: flex !important;
  align-items: center !important;
  justify-content: flex-start !important;
  background: transparent !important;
  color: #cbd5e1 !important;
  text-decoration: none !important;
  box-shadow: none !important;
  border: 0 !important;
  cursor: pointer !important;
  transition: background 0.18s ease, transform 0.18s ease, color 0.18s ease !important;
}
html[data-theme] #app.shell[data-layout=liquid] .liquid-tools-list .nav:hover {
  background: rgba(56, 189, 248, 0.08) !important;
  transform: translateX(3px) !important;
  color: #ffffff !important;
}
html[data-theme] #app.shell[data-layout=liquid] .liquid-tools-list .nav b {
  display: grid !important;
  place-items: center !important;
  width: 32px !important;
  height: 32px !important;
  border-radius: 9px !important;
  background: rgba(255, 255, 255, 0.04) !important;
  border: 1px solid rgba(255, 255, 255, 0.06) !important;
  color: #94a3b8 !important;
  flex: none !important;
  transition: all 0.18s ease !important;
}
html[data-theme] #app.shell[data-layout=liquid] .liquid-tools-list .nav b svg {
  width: 17px !important;
  height: 17px !important;
}
html[data-theme] #app.shell[data-layout=liquid] .liquid-tools-list .nav:hover b {
  background: rgba(56, 189, 248, 0.16) !important;
  border-color: rgba(56, 189, 248, 0.35) !important;
  color: #38bdf8 !important;
  box-shadow: 0 0 14px rgba(56, 189, 248, 0.28) !important;
}
html[data-theme] #app.shell[data-layout=liquid] .liquid-tools-list .nav-label-box {
  display: flex !important;
  flex-direction: column !important;
  gap: 1.5px !important;
  min-width: 0 !important;
  line-height: 1.25 !important;
  text-align: left !important;
}
html[data-theme] #app.shell[data-layout=liquid] .liquid-tools-list .nav-label-box strong {
  font-size: 13.5px !important;
  font-weight: 550 !important;
  color: #f1f5f9 !important;
  white-space: nowrap !important;
  transition: color 0.18s ease !important;
}
html[data-theme] #app.shell[data-layout=liquid] .liquid-tools-list .nav:hover .nav-label-box strong {
  color: #ffffff !important;
}
html[data-theme] #app.shell[data-layout=liquid] .liquid-tools-list .nav-label-box small {
  font-size: 11px !important;
  font-weight: 400 !important;
  color: #64748b !important;
  white-space: nowrap !important;
  overflow: hidden !important;
  text-overflow: ellipsis !important;
  transition: color 0.18s ease !important;
}
html[data-theme] #app.shell[data-layout=liquid] .liquid-tools-list .nav:hover .nav-label-box small {
  color: #94a3b8 !important;
}

html[data-theme] #app.shell[data-layout=liquid] .liquid-tools-list .nav-links {
  display: flex !important;
  flex-direction: column !important;
  gap: 2px !important;
  margin: 0 !important;
  padding: 0 !important;
  border: 0 !important;
}

html[data-theme] #app.shell[data-layout=liquid] .liquid-tools-list .nav-watch {
  margin: 6px 0 0 !important;
  border-top: 1px solid rgba(255, 255, 255, 0.06) !important;
  padding: 6px 0 0 !important;
  background: transparent !important;
  border-radius: 0 !important;
  width: 100% !important;
}
html[data-theme] #app.shell[data-layout=liquid] .liquid-tools-list .nav-watch summary,
html[data-theme] #app.shell[data-layout=liquid] .nav-watch summary,
.nav-watch summary {
  display: flex !important;
  align-items: center !important;
  gap: 11px !important;
  font-size: 13.5px !important;
  font-weight: 550 !important;
  color: #cbd5e1 !important;
  cursor: pointer !important;
  padding: 6px 10px !important;
  border-radius: 12px !important;
  min-height: 48px !important;
  background: transparent !important;
  border: 0 !important;
  list-style: none !important;
  list-style-type: none !important;
  outline: none !important;
  box-shadow: none !important;
  -webkit-tap-highlight-color: transparent !important;
  user-select: none !important;
  transition: background 0.18s ease, transform 0.18s ease, color 0.18s ease !important;
}
html[data-theme] #app.shell[data-layout=liquid] .liquid-tools-list .nav-watch summary::-webkit-details-marker,
html[data-theme] #app.shell[data-layout=liquid] .nav-watch summary::-webkit-details-marker,
.nav-watch summary::-webkit-details-marker {
  display: none !important;
  content: "" !important;
  width: 0 !important;
  height: 0 !important;
}
html[data-theme] #app.shell[data-layout=liquid] .liquid-tools-list .nav-watch summary::marker,
html[data-theme] #app.shell[data-layout=liquid] .nav-watch summary::marker,
.nav-watch summary::marker {
  display: none !important;
  content: "" !important;
  width: 0 !important;
  height: 0 !important;
  font-size: 0 !important;
}
html[data-theme] #app.shell[data-layout=liquid] .liquid-tools-list .nav-watch summary b {
  display: grid !important;
  place-items: center !important;
  width: 32px !important;
  height: 32px !important;
  border-radius: 9px !important;
  background: rgba(255, 255, 255, 0.04) !important;
  border: 1px solid rgba(255, 255, 255, 0.06) !important;
  color: #94a3b8 !important;
  flex: none !important;
  outline: none !important;
  transition: all 0.18s ease !important;
}
html[data-theme] #app.shell[data-layout=liquid] .liquid-tools-list .nav-watch summary .nav-label-box {
  display: flex !important;
  flex-direction: column !important;
  gap: 1.5px !important;
  min-width: 0 !important;
  line-height: 1.25 !important;
  text-align: left !important;
  flex: 1 1 auto !important;
}
html[data-theme] #app.shell[data-layout=liquid] .liquid-tools-list .nav-watch summary .nav-label-box strong {
  font-size: 13.5px !important;
  font-weight: 600 !important;
  color: #f1f5f9 !important;
  white-space: nowrap !important;
  overflow: hidden !important;
  text-overflow: ellipsis !important;
  transition: color 0.18s ease !important;
}
html[data-theme] #app.shell[data-layout=liquid] .liquid-tools-list .nav-watch summary:hover .nav-label-box strong {
  color: #38bdf8 !important;
}
html[data-theme] #app.shell[data-layout=liquid] .liquid-tools-list .nav-watch summary .nav-label-box small {
  font-size: 11px !important;
  font-weight: 400 !important;
  color: #64748b !important;
  white-space: nowrap !important;
  overflow: hidden !important;
  text-overflow: ellipsis !important;
  transition: color 0.18s ease !important;
}
html[data-theme] #app.shell[data-layout=liquid] .liquid-tools-list .nav-watch summary:hover .nav-label-box small {
  color: #94a3b8 !important;
}
html[data-theme] #app.shell[data-layout=liquid] .liquid-tools-list .nav-watch summary b svg {
  width: 17px !important;
  height: 17px !important;
}
html[data-theme] #app.shell[data-layout=liquid] .liquid-tools-list .nav-watch summary:hover {
  color: #fff !important;
  background: rgba(56, 189, 248, 0.08) !important;
  transform: translateX(3px) !important;
}
html[data-theme] #app.shell[data-layout=liquid] .liquid-tools-list .nav-watch summary:hover b {
  background: rgba(56, 189, 248, 0.16) !important;
  border-color: rgba(56, 189, 248, 0.35) !important;
  color: #38bdf8 !important;
  box-shadow: 0 0 14px rgba(56, 189, 248, 0.28) !important;
}
html[data-theme] #app.shell[data-layout=liquid] .liquid-tools-list .nav-watch .nav-watch-arrow {
  margin-left: auto !important;
  width: 14px !important;
  height: 14px !important;
  color: #64748b !important;
  transition: transform 0.22s ease, color 0.22s ease !important;
  flex: none !important;
}
html[data-theme] #app.shell[data-layout=liquid] .liquid-tools-list .nav-watch[open] .nav-watch-arrow {
  transform: rotate(180deg) !important;
  color: #38bdf8 !important;
}
html[data-theme] #app.shell[data-layout=liquid] .liquid-tools-list .nav-watch .nav-watch-sub {
  display: flex !important;
  flex-direction: column !important;
  gap: 3px !important;
  padding: 4px 0 4px 12px !important;
  margin: 4px 0 6px 16px !important;
  border-left: 2px solid rgba(56, 189, 248, 0.22) !important;
}
html[data-theme] #app.shell[data-layout=liquid] .liquid-tools-list .nav-watch .nav-watch-sub .nav {
  min-height: 42px !important;
  padding: 5px 8px !important;
  border-radius: 10px !important;
  font-size: 12.5px !important;
  color: #94a3b8 !important;
}
html[data-theme] #app.shell[data-layout=liquid] .liquid-tools-list .nav-watch .nav-watch-sub .nav b {
  width: 26px !important;
  height: 26px !important;
  border-radius: 7px !important;
}
html[data-theme] #app.shell[data-layout=liquid] .liquid-tools-list .nav-watch .nav-watch-sub .nav b svg {
  width: 13px !important;
  height: 13px !important;
}
html[data-theme] #app.shell[data-layout=liquid] .liquid-tools-list .nav-watch .nav-watch-sub .nav:hover {
  color: #38bdf8 !important;
  background: rgba(56, 189, 248, 0.1) !important;
}

@media (max-width: 780px) {
  html[data-theme] #app.shell[data-layout=liquid] .liquid-tools[data-open="1"] .liquid-tools-list {
    position: static !important;
    width: 100% !important;
    max-height: none !important;
    box-shadow: none !important;
    background: transparent !important;
    border: 0 !important;
    padding: 6px 0 0 !important;
  }
}

/* Strict suppression of ghost buttons, duplicate nav items, and admin-only links for guests */
html[data-owner="false"] #app.shell[data-layout=liquid] .workspace-nav :is([data-admin-only="true"], .admin-only, [data-view="development"], [data-view="market"], [data-view="videoeditor"], #shadowOfficeNav),
#hubServiceNav,
#shadowHomeButton,
#shadowOfficeButton,
.workspace-nav > .nav-links,
.side > .nav-links,
html #app.shell[data-layout=liquid] .workspace-nav > :not(.liquid-primary):not(.liquid-tools),
html[data-theme] #app.shell[data-layout=liquid] .workspace-nav > :not(.liquid-primary):not(.liquid-tools) {
  display: none !important;
}

/* Mobile landscape, low-height & keyboard constraints for AI Workspace */
@media (max-height: 500px), (max-width: 900px) and (orientation: landscape) {
  html[data-theme] #app.shell[data-layout=liquid][data-view="aiworkspace"] .side {
    display: none !important;
  }
  html[data-theme] #app.shell[data-layout=liquid][data-view="aiworkspace"] .content {
    padding: 6px 12px !important;
  }
  html[data-theme] #app.shell[data-layout=liquid][data-view="aiworkspace"] .top {
    display: none !important;
  }
}
:root[data-keyboard="true"] html[data-theme] #app.shell[data-layout=liquid][data-view="aiworkspace"] .side,
html[data-keyboard="true"][data-theme] #app.shell[data-layout=liquid][data-view="aiworkspace"] .side,
:root[data-keyboard="true"] #app.shell[data-layout=liquid][data-view="aiworkspace"] .side {
  display: none !important;
}
:root[data-keyboard="true"] html[data-theme] #app.shell[data-layout=liquid][data-view="aiworkspace"] .content,
html[data-keyboard="true"][data-theme] #app.shell[data-layout=liquid][data-view="aiworkspace"] .content,
:root[data-keyboard="true"] #app.shell[data-layout=liquid][data-view="aiworkspace"] .content {
  padding: 4px 8px !important;
}
:root[data-keyboard="true"] html[data-theme] #app.shell[data-layout=liquid][data-view="aiworkspace"] .top,
html[data-keyboard="true"][data-theme] #app.shell[data-layout=liquid][data-view="aiworkspace"] .top,
:root[data-keyboard="true"] #app.shell[data-layout=liquid][data-view="aiworkspace"] .top {
  display: none !important;
}

/* Phone menu: toolbar entries keep a 44 px touch target when the menu is open (tests/liquid-navigation.browser.cjs). */
html[data-theme] #app.shell[data-layout=liquid] .side.menu-open .liquid-primary .nav{min-height:44px!important}
