/* Variante 1: clearly grouped settings, warm gold and charcoal. */
body:has(#dashboard:not(.hidden)) .wrap{background:#141615;max-width:560px}
body:has(#dashboard:not(.hidden)) .top,#dashboard:not(.hidden){background:#141615!important}
#dashboard{--muted:#afb3a8;--accent:#c5a566}
#dashboard .dashboard-nav{background:#222522;border-color:#393d36;border-radius:14px}
#dashboard .dashboard-nav button.primary,#dashboard button.primary{background:#c5a566!important;color:#141615!important}
#dashboardSettingsPane .settings-heading{margin-bottom:22px}
#dashboardSettingsPane .settings-heading h2{font-size:26px;font-weight:650;margin-bottom:8px}
#dashboardSettingsPane .settings-heading p{margin:0;font-size:15px;line-height:1.6}
#dashboard .settings-list{display:grid;gap:12px}
#dashboard .dashboard-setting{margin:0;border:1px solid #393d36!important;border-radius:16px!important;background:#222522!important;overflow:hidden;box-shadow:none}
#dashboard .dashboard-setting>summary{list-style:none;display:flex;align-items:center;gap:14px;padding:20px 18px;min-height:92px;cursor:pointer}
#dashboard .dashboard-setting>summary::-webkit-details-marker{display:none}
#dashboard .setting-icon{flex:0 0 34px;width:34px;height:34px;display:grid;place-items:center;background:#343329;color:#c5a566;border-radius:10px;font-size:21px}
#dashboard .setting-summary{display:grid;gap:6px;flex:1;min-width:0}
#dashboard .setting-summary strong{font-size:17px;color:#f2eee5;font-weight:650;line-height:1.3}
#dashboard .setting-summary small{font-size:13px;color:#afb3a8;font-weight:400;line-height:1.5}
#dashboard .setting-chevron{color:#c5a566;font-size:27px;line-height:1;transition:transform .15s ease}
#dashboard details[open]>.setting-chevron{transform:rotate(90deg)}
#dashboard .dashboard-setting[open]>summary .setting-chevron{transform:rotate(90deg)}
#dashboard .dashboard-setting[open]>summary{border-bottom:1px solid #393d36}
#dashboard .setting-body{padding:20px 18px}
#dashboard .setting-body>.muted:first-child{line-height:1.6;margin-top:0}
#dashboard .setting-body input,#dashboard .setting-body select{background:#141615!important;border-color:#454a40;color:#f2eee5!important;width:100%;min-width:0}
#dashboard .setting-body input[type=checkbox]{width:20px;height:20px;min-height:20px}
#dashboard .studio-profile{display:flex;align-items:center;gap:18px;margin-bottom:24px}
#dashboard .studio-profile img{width:72px;height:72px;object-fit:cover;object-position:center 18%;border:1px solid #c5a566;border-radius:50%}
#dashboard .studio-profile strong{font-size:20px;font-family:Georgia,serif}
#dashboard .studio-profile p{color:#c5a566;margin:7px 0 0;font-size:13px}
#dashboard .studio-facts{margin-bottom:24px}
#dashboard .studio-facts dt{font-size:13px;color:#afb3a8;margin-bottom:8px}
#dashboard .studio-facts dd{margin:0}
#dashboard .studio-facts a{color:#f2eee5;text-decoration:none}
#dashboard .setting-link{display:inline-flex;align-items:center;justify-content:center;min-height:46px;padding:10px 14px;border:1px solid #62563e;border-radius:12px;color:#e4cda3;background:#2b2c24;text-decoration:none;font-size:14px;line-height:1.4;text-align:center}
#dashboard .setting-actions{display:flex;gap:10px;flex-wrap:wrap;margin-top:14px}
#dashboard .setting-actions>*{flex:1 1 120px}
#dashboard .setting-qr{display:flex;align-items:center;flex-direction:column;gap:16px;margin:24px auto 0}
#dashboard .setting-qr img{width:246px;max-width:100%;height:auto;background:#fff;border-radius:8px}
#dashboard .setting-rules{padding-inline-start:22px;color:#f2eee5;font-size:14px;line-height:1.7;margin-bottom:20px}
#dashboard .setting-rules li{margin:12px 0}
#dashboard .settings-shortcut{width:100%;margin-top:10px;color:#e4cda3!important}
#dashboard .settings-account{margin-top:6px}
#dashboard #changePasswordForm{display:grid;gap:16px;margin-top:26px;padding-top:24px;border-top:1px solid #393d36}
#dashboard #changePasswordForm h3{font-size:18px;margin:0}
#dashboard .settings-device-note{font-size:13px;line-height:1.6}
#dashboard .hours-row{grid-template-columns:1fr 1fr;gap:10px;padding:16px 0}
#dashboard .hours-day{grid-column:1/-1}
#dashboard .closed-toggle{grid-column:1/-1}
#dashboard .hours-row input{min-width:0}
#dashboard .service-admin-row,#dashboard .service-add{grid-template-columns:1fr 1fr;gap:12px;padding-block:16px}
#dashboard .service-name,#dashboard .service-add-name{grid-column:1/-1}
#dashboard .notice,#dashboard .error{line-height:1.6}
#dashboard .setting-body button:disabled{opacity:.55;cursor:wait}
#dashboard .setting-body :focus-visible,#dashboard .dashboard-setting>summary:focus-visible{outline:2px solid #c5a566;outline-offset:3px}
@media(max-width:380px){#dashboard .dashboard-setting>summary{gap:10px;padding:17px 13px}#dashboard .setting-icon{flex-basis:28px;width:28px;height:28px}#dashboard .setting-summary strong{font-size:16px}#dashboard .setting-body{padding:18px 13px}#dashboard .setting-actions>*{flex-basis:100%}}
@media(prefers-reduced-motion:reduce){#dashboard .setting-chevron{transition:none}}
