.preview-layout{display:grid;grid-template-columns:270px minmax(0,1120px);gap:24px;max-width:1450px;margin:auto;padding:0 24px;align-items:start}.preview-layout>#page{width:100%;min-width:0;padding:0 8px}.settings-panel{position:sticky;top:20px;margin-top:38px;background:#fff;border:1px solid #e0e8df;border-radius:18px;padding:24px 20px;max-height:calc(100vh - 40px);overflow:auto}.settings-heading{display:flex;align-items:center;justify-content:space-between;margin-bottom:12px}.preview-badge{font-size:10px;letter-spacing:1px;background:#edf4ec;color:#59816f;border-radius:4px;padding:4px 7px}.settings-panel .settings-intro{font-size:12px;color:#77877a;line-height:1.7;margin:0 0 20px}.settings-panel fieldset{border:0;border-top:1px solid #e8eee6;margin:20px 0 0;padding:18px 0 0;min-width:0}.settings-panel legend{font-size:14px;font-weight:600;padding:0 8px 0 0}.settings-panel label{font-size:12px;margin:12px 0 7px}.settings-panel input[type=range]{width:100%;accent-color:#256b5e}.settings-panel .check-label{display:flex;align-items:center;gap:9px}.check-label input{accent-color:#256b5e;width:16px;height:16px}.range-label{display:flex;justify-content:space-between;align-items:center;font-size:12px;color:#6c7d70}.range-label output{font-size:16px;color:#256b5e}.settings-help{font-size:11px;color:#849284;line-height:1.65;margin:8px 0}.settings-actions{display:flex;gap:8px;margin-top:22px}.settings-actions .primary{margin:0;flex:1;width:auto}.settings-actions .button{font-size:12px;padding:10px}.settings-status{font-size:11px;line-height:1.7;color:#658574;margin:12px 0 0;min-height:36px}.settings-panel :disabled{opacity:.5}.settings-panel input:focus-visible{outline:3px solid #cb9c41;outline-offset:3px}body[data-background=mist]{background:#e8eef0}body[data-background=mist] .hero{background:#d9e4e8}body[data-background=mist] .sun{background:#e5e7d6;box-shadow:0 0 0 22px #eef0ea66}body[data-background=mist] .scene{filter:saturate(.35)}body[data-background=night]{background:#1f303b}body[data-background=night] .topbar,body[data-background=night] .page-heading h1,body[data-background=night] #date,body[data-background=night] .section:not(.card)>.section-heading{color:#dae9e5}body[data-background=night] .topbar{border-color:#43545c}body[data-background=night] .location-label{color:#23443f}body[data-background=night] .hero{background:#d0dce5}body[data-background=night] .sun{background:#f3f1d7;box-shadow:0 0 0 20px #f3f1d71a}body[data-background=night] .scene{filter:saturate(.4)}body[data-background=night] #status:not(.error),body[data-background=night] footer,body[data-background=night] .footer-brand{color:#b3c9c6}body[data-background=night] .brand-icon{color:#c2dbd3}.footer-top{gap:14px;flex-wrap:wrap}
@media(min-width:1100px){body>.topbar{max-width:1402px;padding:0 8px}}@media(max-width:1050px){.preview-layout{grid-template-columns:235px minmax(0,1fr);gap:18px;padding:0 18px}.settings-panel{padding:20px 15px}.advice-grid{grid-template-columns:1fr}.brand-en,.tagline{display:none}}@media(max-width:760px){.preview-layout{display:flex;flex-direction:column;padding:0 20px;gap:0}.settings-panel{position:static;margin-top:22px;width:100%;max-height:none;padding:20px}.preview-layout>#page{padding:0}.settings-panel fieldset{margin-top:16px}.settings-actions{max-width:360px}.settings-panel .settings-intro{margin-bottom:10px}}

.comfort-options{display:flex;padding:3px;background:#f5f7f8;border-radius:9px;gap:3px;margin-top:8px}.comfort-options button{background:transparent;border:0;border-radius:7px;padding:8px 10px;font-size:12px;flex:1;min-height:40px;white-space:nowrap;color:#23443f}.comfort-options .selected{background:#fff;box-shadow:0 2px 6px #1b414911;color:#287e78;font-weight:650}.theme-options{display:flex;gap:8px;margin-top:10px}.theme-options button{border:1px solid #e8eef0;background:#fff;border-radius:10px;padding:7px;font-size:11px;flex:1;min-height:63px;color:#23443f}.theme-options button.selected{border-color:#287e78;color:#287e78;background:#edf6f3}.swatch{display:block;height:21px;border-radius:5px;margin-bottom:5px}.swatch.day{background:linear-gradient(120deg,#d6efdf,#a5d6dd)}.swatch.mist{background:linear-gradient(120deg,#eee8df,#c6cfdc)}.swatch.night{background:linear-gradient(120deg,#243851,#8193b4)}.range-ends{display:flex;justify-content:space-between;color:#83939b;font-size:10px;font-weight:400}

body[data-background=night] .section:not(.card)>.section-heading .muted{color:#b3c9c6}
