/* Photo-workbench finish. Layout and responsive behaviour remain in styles.css. */
:root{--bg:#0c0c0d;--panel:#1c1c1e;--elevated:#2c2c2f;--line:#38383b;--accent:#eddf9b}
html,body{background:#0c0c0d}
.view{font-family:-apple-system,BlinkMacSystemFont,"Segoe UI","Google Sans",sans-serif}
.sidebar{background:linear-gradient(180deg,#1d1d1f,#171719);border-right-color:#303033}
.topbar{border-bottom-color:#2b2b2e}
.menu-item.active,.home-nav.active{background:#373739;color:#f3f2ee;box-shadow:inset 0 1px 0 #ffffff08}
.menu-item.active svg,.home-nav.active svg{color:#e5d995}
.nav-label{color:#929295}
.workspace-person{border-color:#343437}
.view-heading h1{font-size:24px;font-weight:550;letter-spacing:-.6px}
.view-heading p{color:#a4a4ab}
.hero-result{background:#151517;border-color:#39393d;border-radius:12px;box-shadow:0 2px 12px #0002}
.stage-toolbar{background:linear-gradient(#29292c,#252528);border-color:#3c3c40}
.stage-toolbar>#stageLabel{color:#b6b6bc}
.stage-canvas{background:radial-gradient(ellipse at 50% 45%,#222225,#141416 78%)}
.stage-actions .icon-button{color:#bdbdc3}
.stage-actions .icon-button:hover{background:#3e3e42}
.stage-actions .secondary-button{background:#363639;border-color:#49494d}
.stage-switch{background:#18181b;box-shadow:inset 0 1px 2px #0004}
.stage-switch button.active{background:linear-gradient(#4c4c51,#424247);box-shadow:inset 0 1px 0 #ffffff12,0 1px 2px #0003}
.empty-image-icon{background:linear-gradient(150deg,#343437,#252528);border-color:#535359;color:#c7c7cc;box-shadow:inset 0 1px 0 #ffffff12,0 5px 15px #0003}
.image-empty h2{font-size:20px;font-weight:500;letter-spacing:-.4px}
.image-empty p,.image-empty .text-button{color:#aaaab2}
.composer{background:linear-gradient(#242426,#202022);border-color:#48484d;border-radius:12px;box-shadow:inset 0 1px 0 #ffffff05,0 4px 18px #0002}
.prompt-text-wrap textarea{color:#ededf0}
.prompt-text-wrap textarea::placeholder{color:#a3a3ad}
.reference-options .icon-button{color:#aaaab3}
.ratio-control select,.model-disclosure>summary{background:linear-gradient(#333337,#2b2b2f);border-color:#4c4c52;border-radius:7px}
.grok-model-picker{background:#2b2b2e;border-color:#57575e;box-shadow:0 12px 40px #0009}
.grok-model-choice{border-color:#4c4c52}
.grok-model-choice:has(input:checked){background:#eddf9b0a;border-color:#a99e71}
.primary-button,.generate-button{background:linear-gradient(#f1e6b2,#e3d58d);border-color:#f4e8b5;color:#232218;box-shadow:inset 0 1px 0 #ffffff66,0 1px 3px #0004;border-radius:8px}
.secondary-button,.soft-button,.mini-upload,.icon-button{background:linear-gradient(#3a3a3e,#303034);border-color:#505056;box-shadow:inset 0 1px 0 #ffffff10,0 1px 3px #0003;border-radius:8px}
.icon-button{border-color:#48484d}
.icon-button svg{filter:drop-shadow(0 .5px 0 #ffffff30) drop-shadow(0 1px 1px #0007)}
.settings-panel{background:#202022;border-color:#3c3c41;border-radius:12px;box-shadow:0 2px 8px #0002}
.settings-panel h2{font-weight:550}
.inspector-heading span:not([data-icon]){color:#a8a8b1}
.inspector-tabs{background:#151517;border-color:#3d3d42;border-radius:8px}
.inspector-tabs button{color:#aaaab4}
.inspector-tabs button[aria-selected=true]{background:linear-gradient(#48484e,#3e3e44);box-shadow:inset 0 1px 0 #ffffff10,0 1px 2px #0003}
.filter-tabs{border-color:#424247}
.filter-tabs button{color:#b5b5bf}
.filter-tabs button.active{color:#f0efeb;border-color:#d2c78f}
.field-help{color:#adadb6}
.preset-card{background:#2c2c2f;border-color:#4c4c52;border-radius:8px}
.preset-card.active{border-color:#b7ad7e;box-shadow:0 0 0 1px #b7ad7e}
.preset-card.active:after{background:#e5dba8}
.fidelity-control{border-color:#414146}
.settings-footer,.photo-export-actions{background:#28282b;border-color:#414146}
.settings-summary-heading{color:#bfbfc8}
.selection-chip{background:#d9c9900a;border-color:#6f6a56;color:#e0dac0;border-radius:5px}
.field-pair label,.field-label{color:#c2c2ca}
select,input:not([type]),input[type=text]{background:#19191b;border-color:#45454a;border-radius:7px}
.camera-profile-note{background:#d9c99008;border-color:#847b54;color:#d6ccb0}
.source-item{background:#1a1a1d;border-color:#47474d}
.source-item.primary{border-color:#978c62}
.source-info small,.input-hint,.composer-note{color:#9999a4}
.retouch-stage{border-color:#3c3c41;border-radius:12px;background-color:#121214;background-image:repeating-conic-gradient(#ffffff02 0% 25%,transparent 0% 50%)}
.retouch-empty{background:#171719}
.retouch-controls .inspector-heading{background:linear-gradient(#29292c,#242427);border-bottom:1px solid #38383d;margin-bottom:15px}
#photoSettings details{border-color:#424247}
#photoSettings summary{font-size:13px;font-weight:550}
.range-field>span{color:#c2c2ca}
.range-field output{min-width:35px;padding:1px 5px;text-align:right;border:1px solid #414146;background:#27272b;border-radius:4px;font-size:11px;color:#dddde3}
.range-field input[type=range]{appearance:none;-webkit-appearance:none;height:18px;background:transparent;outline-offset:3px}
.range-field input[type=range]::-webkit-slider-runnable-track{height:3px;border-radius:4px;background:#55555d;border:0}
.range-field input[type=range]::-webkit-slider-thumb{appearance:none;-webkit-appearance:none;width:12px;height:12px;margin-top:-4.5px;background:linear-gradient(#f8f8fa,#d2d2d8);border:1px solid #fff9;border-radius:50%;box-shadow:0 1px 4px #0007}
.range-field input[type=range]::-moz-range-track{height:3px;border-radius:4px;background:#55555d}
.range-field input[type=range]::-moz-range-thumb{width:11px;height:11px;background:#e9e9ee;border:1px solid #fff9;border-radius:50%;box-shadow:0 1px 4px #0007}
.range-field input[type=range]:active::-webkit-slider-thumb{background:#eddf9b}
.photo-export-actions>button{font-weight:550}
.history-card{background:#222225;border-color:#3f3f45}
.history-actions button{background:linear-gradient(#3a3a40,#303035);border-color:#4e4e56}
.home-hero{border-color:#484843}
.home-tools>button,.inspiration-grid>button{background:#1e1e20;border-color:#3b3b40}
.home-tools .tool-icon{background:linear-gradient(#3c3c40,#2c2c30);border-color:#55555b;color:#d9d8cf}
@media(max-width:760px){.view-heading h1{font-size:21px}.image-empty h2{font-size:17px}.retouch-controls #photoSettings summary{font-size:15px}.range-field output{font-size:12px}.range-field input[type=range]{height:26px}.range-field input[type=range]::-webkit-slider-thumb{width:16px;height:16px;margin-top:-6.5px}}

