/* Codex reference: quiet utility rail, restrained navigation, dominant conversation. */
:root{--studio-rail:54px;--studio-sidebar:220px}
body>.studio-rail{position:fixed;inset:0 auto 0 0;width:var(--studio-rail);z-index:31;display:flex;flex-direction:column;align-items:center;padding:23px 0 18px;background:#eef0f4;border-right:1px solid #dfe2e8;gap:25px}.studio-rail svg{width:19px;height:19px;fill:none;stroke:currentColor;stroke-width:1.5;stroke-linecap:round;stroke-linejoin:round}.studio-rail-home{display:flex;width:32px;height:32px;align-items:center;justify-content:center;color:#7196cf}.studio-rail-home svg{fill:currentColor;stroke:none;width:23px;height:23px}.studio-rail-links{display:flex;flex-direction:column;align-items:center;gap:18px}.studio-rail button{display:grid;place-items:center;width:32px;height:32px;border-radius:7px;color:#7f899c;background:none;border:0;padding:7px}.studio-rail button:hover,.studio-rail button[aria-current=page]{background:#e0e6ef;color:#486b9e}.studio-rail .studio-theme-icon{margin-top:auto}.studio-theme-control{display:flex;align-items:center;gap:6px;font-size:11px;background:none;border:0;padding:5px 0;color:#798498}.studio-theme-control svg{width:14px;height:14px;fill:none;stroke:currentColor;stroke-width:1.4;stroke-linecap:round;stroke-linejoin:round}body>aside{left:var(--studio-rail);width:var(--studio-sidebar);padding:28px 17px 0}.app{margin-left:calc(var(--studio-rail) + var(--studio-sidebar))}body>aside .brand{padding:0 10px;min-height:88px;gap:11px}body>aside .brand-logo{width:156px;max-width:100%}body>aside .brand-workspace-name{font-size:16px;font-weight:500;letter-spacing:.025em}.new-project{margin:18px 0 26px;padding:11px 12px;min-height:41px;font-size:12px;border-radius:8px}.new-project .new-chat-label{font-size:12px;font-weight:400}.new-project .new-chat-key{font-size:9px}.nav-item{letter-spacing:.01em}nav .nav-item{font-size:12px;padding:11px 12px;min-height:42px}.case-count{font-size:10px}.studio-empty-recents{font-size:10px;line-height:1.9;margin:0 12px;color:#8b94a3}.studio-view-subtitle{font-size:10px;margin-left:12px;padding-left:12px;border-left:1px solid #dfe2e8;color:#8a93a2}.header-right .avatar.small{display:none}.header-right{gap:20px}header{margin:0 34px;min-height:64px;height:64px}.breadcrumb{font-size:11px}.breadcrumb b{font-weight:400}main{padding:0 34px}main>.chat-workspace{gap:26px}.chat-main{max-width:1040px;padding-bottom:22px}.chat-scroll{padding:26px 11px 20px;min-height:150px}.chat-welcome{align-items:flex-start;text-align:left;max-width:none;min-height:100%;padding:0 0 24px;justify-content:center}.studio-welcome-mark{margin-bottom:21px;color:#8b9bbb}.studio-welcome-mark svg{display:block;width:29px;height:29px;fill:none;stroke:currentColor;stroke-width:1.1}.chat-welcome h1.premium-welcome-title{font-size:clamp(28px,2.4vw,37px);font-weight:450;letter-spacing:-.025em;line-height:1.45;margin:0 0 14px}.chat-welcome>p{font-size:13px;line-height:1.9}.chat-welcome .workspace-brand-shortcuts{justify-content:flex-start;gap:21px;margin:24px 0 0}.chat-welcome .workspace-brand-shortcuts button{background:none;border:0;border-radius:0;padding:4px 0;font-size:11px}.chat-welcome .workspace-brand-shortcuts button:hover{background:none}.chat-compose-dock{padding:0}.premium-task-modes{gap:22px;padding:0 4px;margin-bottom:13px}.premium-task-modes button{font-size:11px;gap:7px;padding:9px 0}.premium-task-modes button svg{width:14px;height:14px}.premium-task-modes .studio-tool-library{margin-left:auto}.composer{padding:20px 23px;border-radius:18px}.composer .mode-tabs{min-height:23px}.composer textarea#prompt{height:clamp(160px,24dvh,310px);min-height:160px;max-height:42dvh;font-size:15px;line-height:1.95;padding:23px 0 17px;resize:none}.composer .selected-task-title{font-size:11px;font-weight:400}.mode-tabs #changeTask{font-size:10px}.workspace-settings{margin-top:6px;padding:5px 0 0}.workspace-settings>summary{font-size:10px}.composer-options select{font-size:10px}.composer-options{gap:12px}.composer-options button{font-size:10px;padding:7px 9px;border-radius:6px}.generate{font-size:11px;font-weight:450;padding:10px 14px;border-radius:8px;min-height:36px;gap:16px}.workspace-service-note{font-size:9px;margin-top:12px;line-height:1.8}.profile{font-size:12px}.profile small{font-size:9px}.workspace-tools{flex-basis:228px;padding:26px 0 20px 23px}.tools-panel-heading h2{font-size:13px;font-weight:500}.gallery-mode .workflow-heading h2{font-size:27px;font-weight:450}.gallery-mode .workflow-heading p{font-size:12px}.portfolio-case .card-info h3{font-size:13px}.studio-rail button:focus-visible,.studio-theme-control:focus-visible{outline:2px solid #8aaee7;outline-offset:3px}
/* Default dark appearance, matched to the supplied Codex reference. */
html[data-studio-theme=dark]{color-scheme:dark;--bg:#191a1d;--sidebar:#202125;--ink:#dadce3;--muted:#a4a8b3;--line:#36383e;--studio-text:#dadce3;--studio-secondary:#a4a8b3;--studio-border:#35373d}
html[data-studio-theme=dark] body,html[data-studio-theme=dark] .app{background:#191a1d;color:#d9dbe2}
html[data-studio-theme=dark] body>.studio-rail{background:#22252c;border-color:#333740}
html[data-studio-theme=dark] .studio-rail-home{color:#7fa5dd}
html[data-studio-theme=dark] .studio-rail button{color:#a0a8b8}
html[data-studio-theme=dark] .studio-rail button:hover,html[data-studio-theme=dark] .studio-rail button[aria-current=page]{background:#333b4b;color:#b7cff5}
html[data-studio-theme=dark] body>aside{background:#202125;border-color:#33353b}
html[data-studio-theme=dark] body>aside .brand-logo{filter:brightness(0) invert(1);opacity:.91}
html[data-studio-theme=dark] body>aside .brand-workspace-name{color:#d8dce7}
html[data-studio-theme=dark] .brand-ai-word{color:#9db9e7}
html[data-studio-theme=dark] .new-project{background:transparent;color:#cdd1db;border-color:#3b3e46;box-shadow:none}
html[data-studio-theme=dark] .new-project:hover{background:#2b2d33;border-color:#505562;color:#f0f2f7}
html[data-studio-theme=dark] .new-project .new-chat-key{color:#a0a5b2}
html[data-studio-theme=dark] nav .nav-item{color:#b1b5c1}
html[data-studio-theme=dark] nav .nav-item.active{background:#32343b;color:#e8ebf3;box-shadow:none}
html[data-studio-theme=dark] .nav-item svg{color:#959dad}
html[data-studio-theme=dark] .nav-item.active svg{color:#a5bee8}
html[data-studio-theme=dark] .case-count,html[data-studio-theme=dark] .nav-label{color:#989fad}
html[data-studio-theme=dark] .studio-empty-recents,html[data-studio-theme=dark] .recent{color:#989fac}
html[data-studio-theme=dark] .aside-bottom{background:#202125}
html[data-studio-theme=dark] .profile{color:#d1d5df;border-color:#34363e}
html[data-studio-theme=dark] .profile small{color:#a4aab7}
html[data-studio-theme=dark] .profile .avatar{background:#343a48;color:#c1d1ee}
html[data-studio-theme=dark] header{border-color:#2c2e34}
html[data-studio-theme=dark] .breadcrumb{color:#9da4b2}
html[data-studio-theme=dark] .breadcrumb b{color:#c8cedb}
html[data-studio-theme=dark] .breadcrumb span{color:#838d9e}
html[data-studio-theme=dark] .studio-view-subtitle{border-color:#3d414a;color:#8e98a9}
html[data-studio-theme=dark] .workspace-header-button,html[data-studio-theme=dark] .backup-button,html[data-studio-theme=dark] .studio-theme-control,html[data-studio-theme=dark] #help{color:#aab2c1;background:transparent}
html[data-studio-theme=dark] .workspace-header-button:hover,html[data-studio-theme=dark] .studio-theme-control:hover{color:#e2e9f6}
html[data-studio-theme=dark] .chat-welcome h1.premium-welcome-title{color:#e3e5ec}
html[data-studio-theme=dark] .chat-welcome>p{color:#a6adba}
html[data-studio-theme=dark] .studio-welcome-mark{color:#a5badc}
html[data-studio-theme=dark] .chat-welcome .workspace-brand-shortcuts button{color:#a1aec4;background:none}
html[data-studio-theme=dark] .chat-welcome .workspace-brand-shortcuts button:hover{color:#c9ddff}
html[data-studio-theme=dark] .premium-task-modes button{color:#a0a9ba}
html[data-studio-theme=dark] .premium-task-modes button svg{color:#9eacc2}
html[data-studio-theme=dark] .premium-task-modes button[aria-pressed=true]{color:#d3e2fb}
html[data-studio-theme=dark] .premium-task-modes button[aria-pressed=true] svg{color:#b6cef3}
html[data-studio-theme=dark] .premium-task-modes button[aria-pressed=true]:after{background:#7897c5}
html[data-studio-theme=dark] .premium-task-modes button:hover{color:#e7edf8}
html[data-studio-theme=dark] .composer{background:#2c2e34;border-color:#3e414a;box-shadow:0 18px 45px #0000000c}
html[data-studio-theme=dark] .composer .selected-task-title,html[data-studio-theme=dark] .composer .selected-task-title svg{color:#bdc8da}
html[data-studio-theme=dark] .task-input-type,html[data-studio-theme=dark] .mode-tabs #changeTask,html[data-studio-theme=dark] .workspace-settings>summary{color:#a7b1c2}
html[data-studio-theme=dark] .composer textarea#prompt{background:transparent;color:#e1e6f0;caret-color:#a6c8ff}
html[data-studio-theme=dark] .composer textarea#prompt::placeholder{color:#a7afbf}
html[data-studio-theme=dark] .composer-options button{background:#383c45;color:#c2ccdd;border:0}
html[data-studio-theme=dark] .composer-options select{background:transparent;color:#b9c5d8}
html[data-studio-theme=dark] .generate{background:#dce4f2;color:#29374d;box-shadow:none}
html[data-studio-theme=dark] .generate:hover{background:#f0f4fc;color:#21314a}
html[data-studio-theme=dark] .workspace-service-note{color:#969fae}
html[data-studio-theme=dark] .workspace-settings{border:0}
html[data-studio-theme=dark] .task-fields label,html[data-studio-theme=dark] .task-special label,html[data-studio-theme=dark] .task-special p{color:#b1bccf}
html[data-studio-theme=dark] .task-fields input,html[data-studio-theme=dark] .task-fields select,html[data-studio-theme=dark] .task-special input,html[data-studio-theme=dark] .task-special textarea{background:#24262c;border-color:#444955;color:#d1dcec}
html[data-studio-theme=dark] .task-fields input::placeholder,html[data-studio-theme=dark] .task-special input::placeholder,html[data-studio-theme=dark] .task-special textarea::placeholder{color:#9caabd}
html[data-studio-theme=dark] .task-file-status,html[data-studio-theme=dark] #attachment{color:#b5c7e4}
html[data-studio-theme=dark] .workspace-tools{border-color:#363941;background:#191a1d}
html[data-studio-theme=dark] .tools-panel-heading h2{color:#c5d0e2}
html[data-studio-theme=dark] .tools-panel-heading button{color:#9dacc3}
html[data-studio-theme=dark] .tools-panel-intro{color:#9ba9bf}
html[data-studio-theme=dark] .tool-group{border-color:#343943}
html[data-studio-theme=dark] .tool-group>summary,html[data-studio-theme=dark] .tool-group>summary svg{color:#b3c2d9}
html[data-studio-theme=dark] .tool-group>summary small{color:#8d9db7}
html[data-studio-theme=dark] .workspace-tool-option{color:#a9b8d0}
html[data-studio-theme=dark] .workspace-tool-option:hover{background:#272e3a;color:#d3e2fb}
html[data-studio-theme=dark] .workspace-tool-option[aria-pressed=true]{background:#303e53;color:#d0e2fe}
html[data-studio-theme=dark] .active-tool-info h3{color:#becde6}
html[data-studio-theme=dark] .active-tool-info>p,html[data-studio-theme=dark] .active-tool-info dt,html[data-studio-theme=dark] .active-tool-info dd,html[data-studio-theme=dark] .active-tool-info .tool-availability{color:#9faec8}
html[data-studio-theme=dark] .active-tool-info>button{color:#acc8f4}
html[data-studio-theme=dark] .user-request>p{color:#d0dae9}
html[data-studio-theme=dark] .user-request>span{background:#334155;color:#c8dcff}
html[data-studio-theme=dark] .response-label{color:#a5b6d0}
html[data-studio-theme=dark] .task-response h2,html[data-studio-theme=dark] .task-response h3{color:#dbe4f4}
html[data-studio-theme=dark] .task-response p,html[data-studio-theme=dark] .task-response li{color:#b8c4d8}
html[data-studio-theme=dark] .task-response .brief-tags span{background:#2b3545;color:#c2d2ed}
html[data-studio-theme=dark] .task-response blockquote{background:#252d39;color:#bacbe7}
html[data-studio-theme=dark] .task-response .secondary{border-color:#465570;color:#bdd1f1}
html[data-studio-theme=dark] .task-response .csv-summary{background:#252d3a;color:#c4d3ec}
html[data-studio-theme=dark] .task-response table,html[data-studio-theme=dark] .task-response th,html[data-studio-theme=dark] .task-response td{color:#c8d7f0;border-color:#46546c}
html[data-studio-theme=dark] .gallery-mode .workflow-heading h2{color:#d9e2f2}
html[data-studio-theme=dark] .gallery-mode .workflow-heading p,html[data-studio-theme=dark] .gallery-mode .filters button,html[data-studio-theme=dark] .gallery-mode .sort{color:#9baac2}
html[data-studio-theme=dark] .gallery-mode .filters button.active{color:#e1eafa;border-color:#8ea8d1}
html[data-studio-theme=dark] .gallery-mode .workflow-heading>button{border-color:#46546a;color:#bed0ee}
html[data-studio-theme=dark] .portfolio-case .art{background:#242a34}
html[data-studio-theme=dark] .portfolio-case .art-tag{background:#20252ee8;color:#c2d0e7}
html[data-studio-theme=dark] .portfolio-case .favorite{background:#20252ee8;color:#c2d0e7}
html[data-studio-theme=dark] .portfolio-case .favorite.saved{background:#506a95;color:#eff5ff}
html[data-studio-theme=dark] .portfolio-case .card-info h3{color:#c8d8f0}
html[data-studio-theme=dark] .portfolio-case .card-meta,html[data-studio-theme=dark] .gallery-mode .empty{color:#9babca}
html[data-studio-theme=dark] .empty h3{color:#c6d7f4}
html[data-studio-theme=dark] dialog{background:#24272e;color:#d5dfee;border-color:#46516a;box-shadow:0 24px 100px #0005}
html[data-studio-theme=dark] dialog::backdrop{background:#080b118f}
html[data-studio-theme=dark] dialog p,html[data-studio-theme=dark] dialog li,html[data-studio-theme=dark] dialog .secondary{color:#b0bfd7}
html[data-studio-theme=dark] dialog h2,html[data-studio-theme=dark] dialog h3,html[data-studio-theme=dark] dialog h4{color:#d4e0f4}
html[data-studio-theme=dark] dialog input,html[data-studio-theme=dark] dialog select,html[data-studio-theme=dark] dialog textarea{background:#1c222d;color:#d3e0f5;border-color:#46546d}
html[data-studio-theme=dark] .case-order dl>div,html[data-studio-theme=dark] .case-detail-actions{border-color:#414e65}
html[data-studio-theme=dark] .case-order dt,html[data-studio-theme=dark] .case-order dd{color:#b5c7e4}
html[data-studio-theme=dark] .case-stage-tabs button,html[data-studio-theme=dark] .case-media-choices button{background:#2b3445;border-color:#44536d;color:#b4c9ec}
html[data-studio-theme=dark] .case-stage-tabs button[aria-selected=true],html[data-studio-theme=dark] .case-media-choices button[aria-pressed=true]{background:#405474;color:#e2edff;border-color:#7095ce}
html[data-studio-theme=dark] .case-evidence img,html[data-studio-theme=dark] .case-evidence video{background:#171d29}
html[data-studio-theme=dark] .case-source-link{color:#b0ccfa}
html[data-studio-theme=dark] .close{color:#b1c2de}
html[data-studio-theme=dark] .toast{background:#d7e3f7;color:#263959}
html[data-studio-theme=dark] .workspace-mobile-nav button{color:#aabbd8}
html[data-studio-theme=dark] ::selection{background:#415b83;color:#f0f5ff}
html[data-studio-theme=dark] ::-webkit-scrollbar-thumb{background:#484f60}
@media(min-width:1800px){:root{--studio-sidebar:238px}.chat-main{max-width:1180px;padding-bottom:28px}.composer textarea#prompt{height:27dvh;max-height:370px}.chat-welcome h1.premium-welcome-title{font-size:39px}}
@media(max-width:1200px){:root{--studio-sidebar:202px}header{margin:0 26px}main{padding:0 26px}.premium-task-modes{gap:18px}.premium-task-modes button{font-size:10px}.studio-view-subtitle{display:none}.chat-welcome h1.premium-welcome-title{font-size:30px}.composer{padding:19px 21px}.composer textarea#prompt{font-size:14px}.studio-theme-control{font-size:10px}.header-right{gap:16px}}
@media(max-width:1000px){html[data-studio-theme=dark] .workspace-tools{background:#20252e;border-color:#414b5e;box-shadow:0 18px 50px #0003}.workspace-tools{padding:22px}.chat-welcome h1.premium-welcome-title{font-size:28px}.premium-task-modes{gap:16px}.premium-task-modes button span{font-size:10px}.premium-task-modes .studio-tool-library span{display:none}}
@media(min-width:561px) and (max-width:850px){:root{--studio-rail:46px;--studio-sidebar:174px}body>.studio-rail{padding-top:23px}body>aside{left:46px;width:174px;padding:27px 12px 0}.app{margin-left:220px}body>aside .brand{padding:0 8px;min-height:79px}body>aside .brand-logo{width:138px}.brand-ai-word{font-size:14px}body>aside .brand-workspace-name{font-size:15px}header{margin:0 20px}main{padding:0 20px}.header-right{gap:14px}.backup-button{display:none}.chat-welcome h1.premium-welcome-title{font-size:26px}.chat-welcome>p{font-size:11px}.chat-welcome .workspace-brand-shortcuts{gap:15px}.chat-welcome .workspace-brand-shortcuts button{font-size:10px}.premium-task-modes{gap:15px;justify-content:space-between}.premium-task-modes button{gap:4px}.premium-task-modes button svg{width:12px;height:12px}.premium-task-modes .studio-tool-library{display:none}.composer{padding:17px}.composer textarea#prompt{font-size:13px}.composer-options{gap:7px}.composer-options select{max-width:72px;font-size:9px}.generate{padding:9px 11px;gap:8px;font-size:10px}.workspace-service-note{font-size:8px}}
@media(max-width:560px){body>.studio-rail{display:none}body>aside{display:none}.app{margin-left:0}header{height:58px;min-height:58px;margin:0 17px}main{padding:0 14px}.header-right{gap:15px}.studio-theme-control span{display:none}.studio-theme-control svg{width:16px;height:16px}.workspace-header-button{font-size:10px}.workspace-mobile-nav{gap:17px}.chat-main{padding-bottom:max(13px,env(safe-area-inset-bottom))}.chat-scroll{padding:20px 7px;min-height:130px}.chat-welcome{padding:0 0 23px}.studio-welcome-mark{margin-bottom:17px}.studio-welcome-mark svg{width:24px;height:24px}.chat-welcome h1.premium-welcome-title{font-size:29px;line-height:1.45;margin-bottom:12px}.chat-welcome>p{font-size:11px}.chat-welcome .workspace-brand-shortcuts{gap:22px;margin-top:22px}.chat-welcome .workspace-brand-shortcuts button{font-size:10px}.premium-task-modes{justify-content:flex-start;gap:17px;margin-bottom:10px;padding:0 3px}.premium-task-modes button{font-size:10px;gap:5px;white-space:nowrap}.premium-task-modes button svg{width:12px;height:12px}.premium-task-modes .studio-tool-library{display:none}.composer{padding:16px 18px;border-radius:16px}.composer textarea#prompt{height:clamp(145px,23dvh,230px);min-height:145px;max-height:36dvh;font-size:14px;padding:20px 0 15px}.composer .selected-task-title{font-size:10px}.mode-tabs #changeTask,.workspace-settings>summary{font-size:9px}.composer-options{gap:7px}.composer-options button{padding:7px;font-size:9px}.composer-options select{max-width:72px;font-size:9px}.generate{font-size:10px;padding:9px 11px;min-height:35px;gap:9px}.workspace-service-note{font-size:8px;margin-top:10px}.workspace-tools{padding:20px}}
@media(max-height:720px) and (min-width:561px){.chat-scroll{min-height:100px;padding-top:15px;padding-bottom:16px}.chat-welcome{padding-bottom:10px}.studio-welcome-mark{margin-bottom:12px}.chat-welcome h1.premium-welcome-title{font-size:28px;margin-bottom:10px}.chat-welcome .workspace-brand-shortcuts{margin-top:16px}.composer textarea#prompt{height:21dvh;min-height:125px}.chat-main{padding-bottom:14px}.workspace-service-note{margin-top:8px}}
@media(prefers-reduced-motion:reduce){*{scroll-behavior:auto!important}}
