/* Shared creation surfaces & all-workspace professional futuristic presentation. */
:root{--craft-radius:18px;--craft-gap:18px}
:root[data-theme] #shell#shell#shell#shell#shell#shell#shell :is(.director-studio,#code-studio,.professional-workspace){font-size:13px;line-height:1.55}
:root[data-theme] #shell#shell#shell#shell#shell#shell#shell :is(.ds-song-composer,.ds-audio-video,.ds-guided-creator){box-sizing:border-box;width:100%;max-width:760px;margin:12px auto 24px;padding:24px;border:1px solid var(--b1x-border);border-radius:var(--craft-radius);background:var(--b1x-solid)}
:root[data-theme] #shell#shell#shell#shell#shell#shell#shell .ds-song-composer>header{display:grid;gap:8px;margin-bottom:22px;max-width:58ch}
:root[data-theme] #shell#shell#shell#shell#shell#shell#shell .ds-song-composer>header small{font-size:10px;letter-spacing:.15em;color:var(--b1x-accent);font-weight:650}
:root[data-theme] #shell#shell#shell#shell#shell#shell#shell .ds-song-composer>header h3{font-size:26px!important;line-height:1.2;letter-spacing:-.035em}
:root[data-theme] #shell#shell#shell#shell#shell#shell#shell .ds-song-composer>header p{font-size:13px;line-height:1.65;color:var(--b1x-muted)}
:root[data-theme] #shell#shell#shell#shell#shell#shell#shell .ds-song-modes{display:flex;gap:4px;padding:5px;border-radius:14px;background:var(--b1x-control);margin-bottom:22px}
:root[data-theme] #shell#shell#shell#shell#shell#shell#shell .ds-song-modes button{flex:1;min-height:44px;border:0;border-radius:10px;background:transparent}
:root[data-theme] #shell#shell#shell#shell#shell#shell#shell .ds-song-modes button[aria-pressed=true]{background:var(--b1x-solid);color:var(--b1x-accent);box-shadow:0 1px 6px #0000000c!important}
:root[data-theme] #shell#shell#shell#shell#shell#shell#shell .ds-song-fields{display:flex;flex-direction:column;gap:18px}
:root[data-theme] #shell#shell#shell#shell#shell#shell#shell .ds-song-composer label{display:grid;gap:8px;margin:0;font-size:12px;font-weight:550}
:root[data-theme] #shell#shell#shell#shell#shell#shell#shell .ds-song-composer :is(input,select,textarea){width:100%;box-sizing:border-box;min-height:44px;padding:12px;border-radius:12px;border:1px solid var(--b1x-border);background:var(--b1x-control);color:var(--b1x-text);font:400 14px/1.6 var(--font-ui,system-ui)!important}
:root[data-theme] #shell#shell#shell#shell#shell#shell#shell .ds-song-composer textarea{resize:vertical;min-height:112px}
:root[data-theme] #shell#shell#shell#shell#shell#shell#shell .ds-song-composer[data-mode=simple] textarea{min-height:180px}
:root[data-theme] #shell#shell#shell#shell#shell#shell#shell .ds-song-composer textarea[aria-label=Lyrics]{min-height:240px}
:root[data-theme] #shell#shell#shell#shell#shell#shell#shell :is(.ds-style-directions,.ds-section-tags,.ds-lyrics-tools){display:flex;gap:8px;flex-wrap:wrap}
:root[data-theme] #shell#shell#shell#shell#shell#shell#shell :is(.ds-style-directions,.ds-section-tags) button{min-height:36px;border-radius:20px;padding:7px 12px}
:root[data-theme] #shell#shell#shell#shell#shell#shell#shell .ds-song-composer details{border:1px solid var(--b1x-border);border-radius:12px;padding:14px;background:transparent}
:root[data-theme] #shell#shell#shell#shell#shell#shell#shell .ds-song-composer summary{cursor:pointer;font-size:13px;font-weight:600;min-height:24px}
:root[data-theme] #shell#shell#shell#shell#shell#shell#shell .ds-song-composer details[open]>summary{margin-bottom:16px}
:root[data-theme] #shell#shell#shell#shell#shell#shell#shell .ds-song-delivery{margin-block:18px}
:root[data-theme] #shell#shell#shell#shell#shell#shell#shell .ds-song-delivery label{margin-block:12px}
:root[data-theme] #shell#shell#shell#shell#shell#shell#shell .ds-song-composer .ds-primary-action{width:100%;min-height:48px;border-radius:14px;background:var(--b1x-accent);color:var(--b1x-solid);font-size:14px!important;font-weight:650;margin:12px 0}
:root[data-theme] #shell#shell#shell#shell#shell#shell#shell .ds-song-composer .ds-primary-action:disabled{opacity:.5;cursor:not-allowed}
:root[data-theme] #shell#shell#shell#shell#shell#shell#shell .ds-audio-video>p{margin:14px 0;line-height:1.65;color:var(--b1x-muted)}
:root[data-theme] #shell#shell#shell#shell#shell#shell#shell .ds-audio-video label{display:grid;gap:10px;margin-block:16px}
:root[data-theme] #shell#shell#shell#shell#shell#shell#shell .ds-audio-video input[type=file]{padding:12px;width:100%;box-sizing:border-box}
:root[data-theme] #shell#shell#shell#shell#shell#shell#shell .professional-workspace[data-discipline]{max-width:1160px;margin-inline:auto;width:100%;box-sizing:border-box;padding:clamp(16px,2.5vw,28px)}
:root[data-theme] #shell#shell#shell#shell#shell#shell#shell :is(#arena-view,#visual-view,#companion-view){max-width:1180px;margin-inline:auto;width:100%;box-sizing:border-box;padding-inline:clamp(16px,3vw,40px)}
.pw-campaign-path{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px;margin:14px 0 22px}
:root[data-theme] #shell#shell#shell#shell#shell#shell#shell .pw-campaign-path button{display:flex;flex-direction:column;align-items:flex-start;gap:12px;text-align:left;padding:18px;border-radius:14px;background:var(--b1x-solid);min-height:96px}
.pw-campaign-path small{font-size:11px;color:var(--b1x-accent);letter-spacing:.12em}.pw-campaign-path strong{font-size:13px;font-weight:550}
.pw-secondary-tools{position:relative;display:flex;flex-wrap:wrap;gap:6px;align-items:center}.pw-secondary-tools>summary{padding:10px;cursor:pointer;font-size:12px}.pw-secondary-tools[open]{padding:6px;border:1px solid var(--b1x-border);border-radius:12px}
:root[data-theme] #shell#shell#shell#shell#shell#shell#shell .pw-card{border-radius:16px;padding:22px;gap:16px;background:var(--b1x-solid)}
:root[data-theme] #shell#shell#shell#shell#shell#shell#shell .pw-field{gap:9px;margin-bottom:14px}.pw-field textarea{min-height:130px}
:root[data-theme] #shell#shell#shell#shell#shell#shell#shell .cs-conversation-empty{width:min(100%,720px);padding:32px!important}
:root[data-theme] #shell#shell#shell#shell#shell#shell#shell .cs-starter-cards button{border-radius:16px;min-height:78px;padding:18px;background:var(--b1x-solid);border:1px solid var(--b1x-border);transition:border-color .15s}
:root[data-theme] #shell#shell#shell#shell#shell#shell#shell .cs-starter-cards button:hover{border-color:var(--b1x-accent)}
:root[data-theme] #shell#shell#shell#shell#shell#shell#shell .cs-experience-switch{border-radius:12px;padding:4px;gap:4px}
:root[data-theme] #shell#shell#shell#shell#shell#shell#shell .cs-experience-switch button{border-radius:9px;min-height:40px}
:root[data-theme] #shell#shell#shell#shell#shell#shell#shell #code-studio .cs-heading{position:relative!important}
:root[data-theme] #shell#shell#shell#shell#shell#shell#shell #code-studio .cs-experience-controls{justify-content:flex-start!important}
:root[data-theme] #shell#shell#shell#shell#shell#shell#shell #code-studio .cs-workbench-menu{margin-left:auto!important}
:root[data-theme] #shell#shell#shell#shell#shell#shell#shell #code-studio .cs-workbench-menu[open]{top:calc(100% + 4px)!important}
:root[data-theme] #shell#shell#shell#shell#shell#shell#shell .composer:not([data-presence=running]):not([data-presence=ready]):not(.dock-compact){border-radius:20px!important;max-width:880px;margin-inline:auto;box-sizing:border-box;padding:14px 18px!important}
:root[data-theme] #shell#shell#shell#shell#shell#shell#shell .composer:focus-within{border-color:var(--b1x-accent)!important;box-shadow:0 0 0 3px color-mix(in srgb,var(--b1x-accent) 8%,transparent)!important}
:root[data-theme] #shell#shell#shell#shell#shell#shell#shell #prompt{font-size:14px!important;line-height:1.65!important}
:root[data-theme] #shell#shell#shell#shell#shell#shell#shell .composer-toolbar :is(button,select):focus-visible{outline:2px solid var(--b1x-accent)!important;outline-offset:3px!important}
.ds-library-pairing{padding:16px;border:1px solid var(--b1x-border);border-radius:12px;line-height:1.6}.ds-library-pairing>a{display:inline-block;margin:8px 14px 8px 0}.ds-library-pairing[hidden]{display:none}

/* Gemini-class Live Chat Composer Capabilities: Follow-up Bar, @ Mentions, / Commands */
.b1x-followup-bar,.b1x-live-chips,.b1x-live-palette{
  box-sizing:border-box;
  width:min(100%,880px);
  max-width:880px;
  margin:0 auto 8px;
}
.b1x-followup-bar[hidden],.b1x-live-chips[hidden],.b1x-live-palette[hidden]{display:none!important}
.b1x-followup-bar{
  display:flex;
  flex-wrap:wrap;
  align-items:center;
  gap:6px;
  padding:4px 2px;
}
.b1x-followup-chip{
  display:inline-flex;
  align-items:center;
  gap:5px;
  min-height:30px;
  padding:4px 11px;
  border-radius:999px;
  border:1px solid color-mix(in srgb,var(--b1x-accent,#38bdf8) 28%,var(--b1x-border,#2a3441));
  background:color-mix(in srgb,var(--b1x-solid,#141918) 88%,transparent);
  color:var(--b1x-text,#edf1ee);
  font:550 11.5px/1.2 var(--font-ui,system-ui);
  cursor:pointer;
  transition:border-color .15s,background .15s,transform .12s;
}
.b1x-followup-chip:hover{
  border-color:var(--b1x-accent,#38bdf8);
  background:color-mix(in srgb,var(--b1x-accent,#38bdf8) 14%,var(--b1x-solid,#141918));
}
.b1x-live-chips{
  display:flex;
  flex-wrap:wrap;
  gap:6px;
  padding:4px 2px;
}
.b1x-live-chip{
  display:inline-flex;
  align-items:center;
  gap:6px;
  padding:4px 10px;
  border-radius:999px;
  background:color-mix(in srgb,var(--b1x-accent,#38bdf8) 15%,var(--b1x-control,#1c2321));
  border:1px solid color-mix(in srgb,var(--b1x-accent,#38bdf8) 40%,transparent);
  color:var(--b1x-text,#edf1ee);
  font:600 11.5px/1.2 var(--font-ui,system-ui);
}
.b1x-live-chip-remove{
  border:0;
  background:transparent;
  color:inherit;
  cursor:pointer;
  padding:0 2px;
  font-size:13px;
  line-height:1;
  opacity:.75;
}
.b1x-live-chip-remove:hover{opacity:1}
.b1x-live-palette{
  display:grid;
  gap:4px;
  padding:8px;
  border-radius:14px;
  border:1px solid var(--b1x-border,#2a3441);
  background:var(--b1x-solid,#141918);
  box-shadow:0 12px 32px rgba(0,0,0,.28);
  max-height:220px;
  overflow-y:auto;
}
.b1x-live-palette-item{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:12px;
  width:100%;
  text-align:left;
  padding:8px 12px;
  border:0;
  border-radius:10px;
  background:transparent;
  color:var(--b1x-text,#edf1ee);
  cursor:pointer;
}
.b1x-live-palette-item:hover,.b1x-live-palette-item:focus-visible{
  background:color-mix(in srgb,var(--b1x-accent,#38bdf8) 14%,transparent);
}
.b1x-live-palette-item strong{font-size:12px;font-weight:650}
.b1x-live-palette-item small{font-size:11px;color:var(--b1x-muted,#9aa6b2)}

@media(max-width:700px){
 :root[data-theme] #shell#shell#shell#shell#shell#shell#shell :is(.ds-song-composer,.ds-audio-video,.ds-guided-creator){padding:16px;margin:8px auto 16px;border-radius:14px}
 :root[data-theme] #shell#shell#shell#shell#shell#shell#shell .ds-song-composer>header h3{font-size:23px!important}
 :root[data-theme] #shell#shell#shell#shell#shell#shell#shell .professional-workspace[data-discipline=marketing] .pw-tabs{flex-wrap:wrap!important;overflow:visible!important;gap:6px}
 .pw-campaign-path{grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;margin:12px 0}
 :root[data-theme] #shell#shell#shell#shell#shell#shell#shell .pw-campaign-path button{min-height:86px;padding:14px}
 :root[data-theme] #shell#shell#shell#shell#shell#shell#shell .cs-conversation-empty{padding:16px!important}
 :root[data-theme] #shell#shell#shell#shell#shell#shell#shell .composer:not([data-presence=running]):not([data-presence=ready]):not(.dock-compact){padding:10px 12px!important;border-radius:16px!important;max-width:calc(100% - 20px)}
 :root[data-theme] #shell#shell#shell#shell#shell#shell#shell :is(.ds-song-composer,.pw-tabs) button{min-height:44px}
 :root[data-theme] #shell#shell#shell#shell#shell#shell#shell :is(#thread,#arena-view,#visual-view,#companion-view,.director-studio,#code-studio,.professional-workspace){
   -webkit-overflow-scrolling:touch;
   overscroll-behavior-y:contain;
 }
 .b1x-followup-bar{
   flex-wrap:nowrap;
   overflow-x:auto;
   -webkit-overflow-scrolling:touch;
   padding-bottom:6px;
   max-width:calc(100% - 20px);
 }
 .b1x-followup-chip{flex:0 0 auto}
 .ds-account-library-filters{flex-wrap:wrap}.ds-account-library-filters select{flex:1 1 130px;min-width:130px;max-width:100%}.ds-account-library-filters>button{flex:1 1 130px}.ds-account-library-layouts{flex-basis:100%}
}
@media(prefers-reduced-motion:reduce){.cs-starter-cards button,.b1x-followup-chip{transition:none!important}}
