:root{color:#202431;--bg:#f3f5f8;--panel:#fff;--panel-2:#f8fafc;--card:#fff;--line:#d8dee8;--muted:#5d6878;--violet:#6652d9;--violet-2:#5845c7;--cyan:#168f8a;background:#f3f5f8}
body{background:var(--bg);font-size:16px}.app-shell{background:#f3f5f8}.topbar{background:#ffffffee;border-bottom-color:#d8dee8}.brand strong,.step.current,.section-heading h1,.editor-head h2,.panel-head h2,.mini-poster strong,.task-status-card strong{color:#202431}.brand small,.eyebrow,.stage-label{color:#687386}.step{color:#8993a2}.step.current{color:#202431}.step>span{border-color:#b8c1cf}.step.done{color:#536074}.nav-button{color:#536074}.nav-button:hover,.icon-button:hover{color:#202431;background:#eef1f6}.workspace,.preview-panel{background:#eef2f7}.work-panel{background:#fff;border-right-color:#d8dee8}.section-heading p,.preview-copy p,.panel-subtitle,.prompt-content>p{color:#5d6878}.field>span,.chip-field>span{color:#394556}.field textarea,.field input,.field select,.prompt-editor textarea,.editable-card textarea{color:#202431;background:#fff;border-color:#cbd3df}.field textarea::placeholder,.field input::placeholder{color:#8b96a6}.chip-field button{color:#5d6878;background:#f8fafc;border-color:#cbd3df}.chip-field button.selected{color:#4738a8;background:#eeebff;border-color:#8d7bea}.advanced-fields,.references-block,.prompt-content{border-color:#d8dee8}.advanced-fields summary{color:#536074}.poster-wireframe,.mini-poster,.generation-canvas{background:linear-gradient(145deg,#fff,#e7ecf4);border-color:#cbd3df;box-shadow:0 25px 60px #8693a326}.floating-note,.task-status-card,.settings-card,.history-item,.result-grid figure,.reference-card,.add-reference,.ratio-card,.segmented{background:#fff;border-color:#d8dee8;color:#536074}.floating-note{color:#536074}.floating-note span{color:#5845c7}.plan-summary{background:#f2f0ff;border-color:#d8d0ff}.plan-summary>span,.quick-actions>span,.editable-card>span{color:#687386}.plan-summary p,.quick-actions button,.undo-row button{color:#5d6878}.quick-actions button:hover,.undo-row button:hover{color:#202431}.editable-card{background:#f8fafc;border-color:#d8dee8}.editable-card select,.segmented{background:#fff;color:#202431}.prompt-editor{background:#f2f0ff;border-color:#d8d0ff}.prompt-editor textarea{background:#fff}.ratio-card{color:#5d6878}.ratio-card.selected{color:#30257e;background:#eeebff;border-color:#8d7bea}.segmented button{color:#687386}.segmented button.active{color:#30257e;background:#eeebff;box-shadow:none}.result-preview,.plan-editor,.prompt-preview{background:#fff}.result-grid figure>button{background:#f4f6f9}.side-panel{background:#fff;border-left-color:#d8dee8;box-shadow:-20px 0 60px #64748b1f}.settings-card{background:#f8fafc}.key-input,.brand-form input,.brand-form textarea{background:#fff;border-color:#cbd3df;color:#202431}.toast{background:#fff;border-color:#d8dee8;color:#202431;box-shadow:0 12px 35px #64748b26}.global-loader{background:#ffffffcc;color:#5845c7}.preview-copy h2,.prompt-content h2{color:#202431}.preview-copy p{color:#687386}.generation-progress>div{background:#dfe5ee}.generation-progress strong{color:#202431}.generation-progress p{color:#687386}
.section-heading h1{font-size:clamp(32px,2.7vw,44px)}.section-heading p,.field .idea-input{font-size:16px}.field>span,.chip-field>span,.nav-button,.quick-actions button{font-size:14px}.field textarea,.field input,.field select,.prompt-editor textarea{font-size:15px}.editable-card textarea{font-size:14px}.button,.primary-action{font-size:15px}
.side-panel{font-size:15px}.side-panel .panel-head h2{font-size:28px}.side-panel .eyebrow{font-size:12px}.side-panel .panel-subtitle{font-size:14px;line-height:1.7}.security-note{font-size:14px}.security-note strong{font-size:15px}.security-note span{font-size:13px;line-height:1.6}.settings-card-head h3{font-size:17px}.settings-card-head p,.settings-card-head a,.docs-link{font-size:13px}.brand-form label{font-size:13px;gap:8px}.brand-form input,.brand-form textarea{font-size:15px;padding:12px}.brand-form textarea{min-height:90px}.button.compact{font-size:14px;padding:10px 13px}.settings-feedback,.balance-line{font-size:13px}.balance-line strong{font-size:15px}.key-input input{font-size:15px;padding:13px}.key-input button{padding:10px}.history-open h3{font-size:14px}.history-open p{font-size:12px}.empty-history h3{font-size:16px}.empty-history p{font-size:13px}
.primary-action,.button:not(.ghost):not(.text),.chip-field button.selected,.ratio-card.selected,.segmented button.active{color:#fff}.primary-action{background:linear-gradient(100deg,#5b49c9,#7562e5)}.button:not(.ghost):not(.text){background:#6652d9}.chip-field button.selected,.ratio-card.selected,.segmented button.active{background:#6652d9;border-color:#5845c7}.chip-field button.selected:hover,.ratio-card.selected:hover,.segmented button.active:hover{background:#5845c7;color:#fff}
.key-input input,.brand-form input,.brand-form textarea,.field input,.field textarea,.field select{caret-color:#5845c7}.key-input:focus-within{border-color:#6652d9;box-shadow:0 0 0 3px #6652d933}.key-input input:focus{outline:none}.brand-form input:focus,.brand-form textarea:focus,.field input:focus,.field textarea:focus,.field select:focus{border-color:#6652d9;box-shadow:0 0 0 3px #6652d933;outline:none}
.greeting-line{color:#6a4d70;font-size:18px;font-weight:600;margin-bottom:14px;letter-spacing:.02em}.greeting-line::first-letter{color:#5845c7}@media(max-width:760px){.greeting-line{font-size:16px;margin-bottom:10px}}
.result-sidebar .section-heading h1{font-size:clamp(30px,2.5vw,40px)}.result-sidebar .section-heading p{font-size:15px;line-height:1.8}.result-sidebar .task-status-card{padding:18px;gap:15px}.result-sidebar .task-icon{width:48px;height:48px}.result-sidebar .task-status-card strong{font-size:16px}.result-sidebar .task-status-card span{font-size:12px;margin-top:7px}.result-sidebar .result-meta span{font-size:12px}.result-sidebar .result-meta b{font-size:16px;margin-top:6px}.result-sidebar .result-actions button{font-size:15px;padding:14px 0}.result-sidebar .primary-action{font-size:16px;min-height:54px}.result-sidebar .error-card{font-size:14px}.result-sidebar .recover-button{font-size:14px}
