/* Task-focused editing and architectural light study. */
.brush-hud{display:flex;align-items:center;justify-content:space-between;padding:12px 16px;gap:12px;background:#f2f0e6;border-bottom:1px solid var(--line)}.brush-hud small{display:block;font-size:10px;color:#78816c;margin-bottom:3px}.brush-hud strong{font-size:14px}.brush-hud-actions{display:flex;align-items:center;gap:5px}.brush-hud-actions button{min-height:36px;padding:6px 10px}.brush-hud-actions span{font-size:12px;min-width:28px;text-align:center}.brush-hud-actions button:last-child{margin-left:8px}.lighting-sidebar{display:none;padding:20px}.lighting-sidebar .sun-panel{padding:0;border:0;background:none}.lighting-sidebar .sun-heading{display:block}.lighting-sidebar .sun-heading>div{display:flex;flex-wrap:wrap;gap:6px;align-items:center}.lighting-sidebar .sun-heading .small{width:100%;margin-bottom:10px}.lighting-sidebar .sun-heading button{width:100%;margin-bottom:16px}body[data-view="3d"] .workspace>.settings{display:none}body[data-view="3d"] .lighting-sidebar{display:block}body[data-view="3d"] .stage-toolbar,body[data-view="3d"] .brush-hud,body[data-view="3d"] .selection-bar{display:none}.light-views{display:flex;gap:4px;margin:0 0 18px}.light-views button{flex:1;padding:9px 4px;font-size:10px}.light-views button.active{background:var(--green);color:white}.site-sun-controls label{display:block;font-size:12px;margin:17px 0 7px}.site-sun-controls output{float:right;color:#56704b}.site-sun-controls input[type="range"],.site-sun-controls select,.site-sun-controls input[type="date"]{width:100%;accent-color:var(--green)}.site-sun-controls select,.site-sun-controls input:not([type="range"]):not([type="checkbox"]){border:1px solid var(--line);background:#fffdf7;padding:9px;border-radius:5px;box-sizing:border-box}.site-sun-controls .context-check{display:flex;align-items:center;gap:8px;line-height:1.5}.context-check input{width:17px;height:17px}.time-ticks{display:flex;justify-content:space-between}.time-ticks button{border:0;background:none;padding:8px 4px;font-size:11px;color:#6c795f}#sunStatus{background:#eee7d3;color:#635536;padding:12px;font-size:12px;line-height:1.65;border-left:3px solid #ba9660;margin:10px 0 20px}#sunStatus.no-direct{background:#e7eae2;color:#64705d;border-color:#94a286}.site-details,.manual-light{border-top:1px solid var(--line);margin-top:16px;padding-top:12px}.site-details summary,.manual-light summary,#starterPatterns>summary{cursor:pointer;font-size:12px;color:#647454;padding:8px 0}.site-fields{display:grid;grid-template-columns:1fr 1fr;gap:8px}.site-fields label{min-width:0}.site-fields input{width:100%;min-width:0}.lighting-sidebar .light-sliders{display:grid;grid-template-columns:1fr;gap:10px}.site-sun-controls .micro{line-height:1.6;margin:14px 0}.lighting-sidebar .sun-presets{display:grid;grid-template-columns:1fr 1fr;gap:6px;margin-top:10px}.lighting-sidebar .sun-presets button{font-size:10px}#starterPatterns{border-top:1px solid var(--line);margin-top:22px;padding-top:10px}#starterPatterns>summary{font-size:12px}#starterPatterns .panel-heading{display:none}#starterPatterns .presets{max-height:260px;overflow:auto}.brush-ghost{pointer-events:none;opacity:.55}.shared-banner{display:flex;align-items:center;justify-content:space-between;background:#edf2e7;border:1px solid #cbd7bf;border-radius:8px;padding:10px 16px;margin-bottom:16px;font-size:13px}.shared-banner[hidden]{display:none}.shared-banner button{background:none;border:0}.share-panel{max-width:600px}.share-panel p{line-height:1.6}.share-panel label{display:block;font-size:12px;margin:20px 0 8px}.share-panel textarea{width:100%;box-sizing:border-box;border:1px solid var(--line);border-radius:6px;padding:12px;background:#f4f3eb;resize:vertical;word-break:break-all;font:12px monospace}.share-actions{display:flex;gap:10px;margin:15px 0}.selection-actions button[hidden]{display:none}.cell.selected{filter:drop-shadow(0 0 2px #426d2c)}
@media(min-width:901px){.lighting-sidebar{max-height:calc(100vh - 30px);overflow:auto}.stage{position:sticky;top:15px}}
@media(max-width:700px),(max-width:900px) and (pointer:coarse){.workspace>.lighting-sidebar{display:none!important}.header-actions #export{display:none}.header-actions #shareDesign{min-height:44px;padding:9px 13px;font-size:13px}.brush-hud{padding:6px 9px;min-height:49px;flex-shrink:0;gap:5px}.brush-hud strong{font-size:12px}.brush-hud small{font-size:9px}.brush-hud-actions{gap:2px}.brush-hud-actions button{min-height:38px;min-width:34px;padding:5px}.brush-hud-actions button:last-child{font-size:10px;min-width:50px;max-width:62px;margin-left:4px}.brush-hud-actions span{font-size:10px;min-width:22px}.mobile-panel-open .brush-hud{display:none}.selection-actions{grid-template-columns:36px 1fr 1fr 1.4fr 38px}.selection-actions button{font-size:11px}.shared-banner{position:fixed;z-index:45;top:64px;left:8px;right:8px;font-size:11px;padding:9px;box-shadow:0 5px 20px #394a3220}.mobile-sheet .sun-heading{display:flex;align-items:center;justify-content:space-between}.mobile-sheet .sun-heading>div{display:block}.mobile-sheet .sun-heading .small{display:none}.mobile-sheet .light-views button{font-size:12px}.mobile-sheet .site-sun-controls label{font-size:13px}.mobile-sheet .site-fields label{margin:8px 0}.mobile-sheet #sunStatus{font-size:12px;padding:10px;margin:8px 0}.mobile-sheet .site-details summary,.mobile-sheet .manual-light summary,.mobile-sheet #starterPatterns>summary{font-size:13px;padding:14px 0}.mobile-sheet #starterPatterns .presets{max-height:none}.mobile-sheet .light-sliders{display:grid;grid-template-columns:1fr}.mobile-sheet .light-sliders label input{width:100%}.share-actions button{flex:1}.site-sun-controls input[type="range"]{min-height:32px}
}

@media(min-width:701px) and (max-width:1200px){body[data-view="3d"] .lighting-sidebar{grid-column:1/-1;max-height:none}.lighting-sidebar .sun-panel{display:grid;grid-template-columns:1fr 1fr;gap:20px}.lighting-sidebar .sun-heading,.lighting-sidebar .light-views{grid-column:1/-1}.lighting-sidebar .light-views{margin:0}}

#starterPatterns{grid-column:1/-1}.brush-hud-actions button:disabled{opacity:.4;cursor:default}
.shortcut-guide h3{font-size:13px;color:#647454;margin:22px 0 10px}.shortcut-guide dl{margin:0}.shortcut-guide dl>div{display:grid;grid-template-columns:minmax(130px,40%) 1fr;gap:14px;padding:9px 0;border-bottom:1px solid var(--line);align-items:start}.shortcut-guide dt{font-size:11px}.shortcut-guide dd{margin:0;font-size:12px;line-height:1.5}kbd{font:inherit;background:#f0f0e8;border:1px solid #dddfd2;border-bottom-width:2px;border-radius:4px;padding:3px 6px;display:inline-block}.shortcut-toggle{display:flex;align-items:center;gap:10px;font-size:12px;margin-top:22px}.shortcut-toggle input{accent-color:var(--green);width:18px;height:18px}#keyboardHelp{white-space:nowrap}
@media(max-width:700px),(max-width:900px) and (pointer:coarse){.view-tabs>#keyboardHelp{display:none}.shortcut-guide dl>div{grid-template-columns:40% 1fr}.shortcut-guide dd{font-size:13px}}
.clipboard-tools{display:flex;align-items:center;gap:5px;flex-wrap:wrap;padding:10px 14px;border-top:1px solid var(--line);background:#f6f5ec}.clipboard-tools button{padding:7px 9px;font-size:10px}.clipboard-tools button:disabled{opacity:.4;cursor:default}.clipboard-tools button[aria-pressed="true"]{background:var(--green);color:white}.clipboard-tools>span{flex-basis:100%;font-size:10px;line-height:1.5;color:#6c795f;margin-top:4px}.clipboard-tools.placing{background:#e6eedf}.clipboard-tools.placing>span{color:#315c3e}body[data-view="3d"] .clipboard-tools{display:none}#transferGhost{pointer-events:none}
@media(max-width:700px),(max-width:900px) and (pointer:coarse){.clipboard-tools{padding:5px 8px;gap:4px;flex-shrink:0;max-height:108px;overflow:auto}.clipboard-tools button{font-size:10px;min-height:36px;padding:5px 8px}.clipboard-tools>span{font-size:9px;margin-top:0}.mobile-panel-open .clipboard-tools{display:none}.selection-bar small{display:none}.selection-actions{margin-top:5px}}
.combo-filters{display:flex;flex-wrap:wrap;gap:4px;margin:12px 0}.combo-filters button{font-size:9px;padding:6px 8px;border-radius:20px}.combo-filters button.active{background:var(--green);border-color:var(--green);color:white}.combo-grid{max-height:540px;overflow:auto}.combo-grid button:focus-visible{outline-offset:-2px}
@media(max-width:700px),(max-width:900px) and (pointer:coarse){.combo-filters button{font-size:11px;padding:7px 10px;min-height:38px}.clipboard-tools{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));max-height:112px}.clipboard-tools #addSelection{grid-column:auto;font-size:9px}.clipboard-tools #clipboardStatus{grid-column:1/-1}.clipboard-tools #cancelPlacement:not([hidden]){grid-column:1/-1;min-height:30px}.clipboard-tools button{padding:4px;min-width:0}.mobile-panel-open .clipboard-tools{display:none}}
.sun-panel .scene-toggles label{display:flex;align-items:center;gap:8px;font-size:11px;margin:12px 0}.sun-panel .scene-toggles input{accent-color:var(--green)}
.global-units{display:flex;gap:6px;align-items:center;font-size:10px;color:#6c795f}.global-units select{width:58px;padding:9px;font-size:12px;background:#fffdf7}
@media(max-width:700px),(max-width:900px) and (pointer:coarse){.global-unit-label{display:none}.global-units select{width:51px;min-height:44px;padding:7px;font-size:13px}.header-actions{gap:5px}header{gap:5px}.brand{font-size:18px}.brand-icon{font-size:23px;margin-right:0}}
@media(max-width:380px){.brand>span:last-child{display:none}}
