/* 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}}

#dashboard .studio-identity-grid{display:grid;grid-template-columns:1fr 1fr;gap:14px;margin-bottom:18px}#dashboard .studio-identity-grid .full{grid-column:1/-1}#dashboard .studio-profile img:not([src]){visibility:hidden}.qr-placeholder{width:160px;height:160px;display:grid;place-items:center;border:1px dashed #c5a566;border-radius:12px;color:#c5a566;font-size:34px;margin-bottom:10px}@media(max-width:560px){#dashboard .studio-identity-grid{grid-template-columns:1fr}}

#dashboard #customerQRCode[hidden],#dashboard #downloadCustomerQR[hidden]{display:none}


/* Classic card retains its full landscape proportions on every screen. */
#dashboard .setting-qr #customerQRCode{display:block;width:100%;max-width:680px;height:auto;aspect-ratio:17/11;object-fit:contain;padding:0;background:#111514;border-radius:0;border:0}

/* Matching gold symbols for the six settings sections. */
#dashboard .dashboard-setting>summary .setting-icon{color:#cfb887!important;background:transparent!important}
#dashboard .setting-icon svg{display:block;width:26px;height:26px;flex:none}

/* Compact booking link for the barber's social profile biography. */
#dashboard .booking-link-card{padding:20px 18px;margin:0 0 16px;border:1px solid #75623d;border-radius:16px;background:#1b211d;color:#f2eee5}
#dashboard .booking-link-heading{display:flex;align-items:center;gap:14px;margin-bottom:16px}
#dashboard .booking-link-card svg{display:block;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round;flex:none;width:22px;height:22px;color:#dfbd72}
#dashboard .booking-link-heading>svg{width:30px;height:30px}
#dashboard .booking-link-heading h3{font-size:17px;line-height:1.3;margin:0 0 6px;color:#f2eee5}
#dashboard .booking-link-heading p{font-size:13px;line-height:1.5;color:#afb3a8;margin:0}
#dashboard .booking-link-field{display:flex;min-width:0;border:1px solid #a18a59;border-radius:10px;overflow:hidden}
#dashboard .booking-link-field input{flex:1;width:0;min-width:0;border:0!important;background:#141a16!important;color:#f2eee5!important;border-radius:0;padding:12px 10px;font-size:13px;text-overflow:ellipsis}
#dashboard .booking-link-field button{display:flex;align-items:center;justify-content:center;gap:7px;flex:none;min-height:46px;margin:0;padding:10px;border:0;border-inline-start:1px solid #a18a59;border-radius:0;background:#21271f;color:#dfbd72;font-size:13px}
#dashboard .booking-link-field button:disabled{opacity:.5}
#dashboard .booking-link-social{display:flex;align-items:center;gap:12px;flex-wrap:wrap;margin-top:14px;font-size:12px;color:#afb3a8}
#dashboard .booking-social-chip{display:grid;justify-items:center;gap:5px;border:1px solid #75623d;border-radius:10px;padding:9px 10px;min-width:58px;color:#dfbd72;font-size:11px}
#dashboard .booking-social-chip svg{width:23px;height:23px}
#dashboard .booking-link-card :focus-visible{outline:2px solid #dfbd72;outline-offset:-3px}
#dashboard #socialBookingMessage:empty{display:none}
#dashboard button.booking-social-chip{background:transparent;cursor:pointer;font-family:inherit;line-height:1.3}
#dashboard button.booking-social-chip:hover{background:#30372b;border-color:#dfbd72}
#dashboard button.booking-social-chip:disabled{opacity:.5;cursor:default}
@media(max-width:360px){#dashboard .booking-link-card{padding:16px 13px}#dashboard .booking-link-field button{gap:5px;padding:9px 7px;font-size:12px}}

#dashboard .booking-link-card button{color:#dfbd72!important;background:#21271f!important}
#dashboard .booking-link-field button{border-radius:0!important}
#dashboard button.booking-social-chip{background:transparent!important;padding:9px 10px!important;border-radius:10px!important;border-color:#75623d!important;min-height:0}

/* Card-first combined section; the original landscape card image is unchanged. */
#dashboard #customerLinkCard .setting-qr{margin:0 0 16px;gap:8px}
#dashboard #customerLinkCard .combined-card-actions{display:grid;gap:9px;margin-bottom:20px}
#dashboard #customerLinkCard .combined-card-actions>*{display:flex;align-items:center;justify-content:center;width:100%;box-sizing:border-box;min-height:46px;border:1px solid #a18a59!important;border-radius:10px!important;background:#21271f!important;color:#dfbd72!important;font-size:14px;padding:11px 12px;text-align:center;text-decoration:none}
#dashboard #customerLinkCard .booking-link-card{padding:20px 0 0;margin:0;border:0;border-top:1px solid #75623d;border-radius:0;background:transparent}
#dashboard #customerLinkCard .combined-card-legacy[hidden],#dashboard #customerLinkCard .combined-card-actions>[hidden]{display:none!important}
