/* Shared account and legal appearance, using the homepage palette. */
html[data-theme="dark"] { color-scheme: dark; }
html[data-theme="light"] { color-scheme: light; }
.home-theme { position:relative; flex:0 0 auto; color:var(--access-text,var(--text)); }
.home-theme summary { display:flex; align-items:center; justify-content:center; width:44px; height:44px; list-style:none; border:1px solid var(--access-border,var(--border)); border-radius:50%; cursor:pointer; }
.home-theme summary::-webkit-details-marker { display:none; }
.home-theme summary svg { width:20px; height:20px; }
.home-theme summary:focus-visible,.home-theme input:focus-visible { outline:2px solid #469B9E; outline-offset:3px; }
.home-theme fieldset { position:absolute; z-index:20; top:calc(100% + 12px); right:0; box-sizing:border-box; width:200px; margin:0; padding:12px; border:1px solid var(--access-border,var(--border)); border-radius:12px; background:var(--access-surface,var(--surface)); }
.home-theme legend { padding:0 8px; font-size:14px; font-weight:600; }
.home-theme label { min-height:44px; display:flex; align-items:center; gap:12px; padding:0 8px; font-size:14px; cursor:pointer; }
.home-theme input { width:20px; height:20px; accent-color:#469B9E; }
.legal-theme { --surface:#071C2B; --bg:#040A12; --border:#164454; --text:#F6F8F7; --text-secondary:#9BB1C0; --text-muted:#738C9D; --accent:#469B9E; }
html[data-theme="light"] .legal-theme { --surface:#FCFAF5; --bg:#F7F4EC; --border:#A9BFBA; --text:#102D46; --text-secondary:#596B70; --text-muted:#596B70; --accent:#37797B; }
body.legal-theme { background:var(--bg); }
.legal-theme .site-header { background:var(--bg); }
.legal-theme .legal-card { background:var(--surface); box-shadow:none; }
.legal-theme .brand { min-height:44px; }
.legal-theme .header-inner { width:100%; max-width:none; margin:0; flex-wrap:wrap; gap:16px; padding-block:16px; }
.legal-theme .website-return { margin-left:auto; min-height:44px; display:flex; align-items:center; }
@media(max-width:767px) { .legal-theme .header-inner { padding-inline:16px; } }
