.theme-control{display:inline-flex;gap:2px;padding:3px;border:1px solid var(--line,#51434e);border-radius:7px;align-items:center;flex-shrink:0;max-width:100%;background:var(--paper,#242025)}
.theme-control button{min-height:34px;padding:6px 10px;border:0;border-radius:4px;font:600 12px/1.3 system-ui,sans-serif;background:transparent;color:var(--muted,#b9afb6);white-space:normal;max-width:130px}
.theme-control button[aria-pressed="true"]{background:var(--blush,#38232f);color:var(--ink,#f6f1f4)}
.theme-control button:focus-visible{outline:2px solid #c45479;outline-offset:2px}
:root[data-theme="dark"]{color-scheme:dark}
:root[data-theme="light"]{color-scheme:light;--bg:#f5f6f8;--paper:#fff;--ink:#28252e;--muted:#625c69;--pink:#ad3159;--pinkDark:#982548;--blush:#f7e7ed;--line:#d8d3dc;--lav:#ede7f6;--lavInk:#684389;--mint:#f6eacb;--mintInk:#74551b;--peach:#f6e6dd;--peachInk:#8b4934;--shadow:0 12px 36px #3024390c;background:var(--bg);color:var(--ink)}
html[data-theme="light"] body{background:var(--bg);color:var(--ink)}
html[data-theme="light"] a{color:#9e3156}
html[data-theme="light"] .brand,html[data-theme="light"] .owner-header a{color:var(--ink)}
html[data-theme="light"] .muted,html[data-theme="light"] .preview,html[data-theme="light"] .language-control,html[data-theme="light"] .hint,html[data-theme="light"] .breadcrumb,html[data-theme="light"] .datechip{color:var(--muted)}
html[data-theme="light"] input,html[data-theme="light"] select,html[data-theme="light"] textarea,html[data-theme="light"] button{background:#fff;color:var(--ink);border-color:#c9c2ce}
html[data-theme="light"] input::placeholder,html[data-theme="light"] textarea::placeholder{color:#77717e}
html[data-theme="light"] .primary,html[data-theme="light"] .button:not(.outline):not(.soft):not(.danger),html[data-theme="light"] .feedback-composer button{background:#a8325a;border-color:#a8325a;color:#fff}
html[data-theme="light"] .button.soft,html[data-theme="light"] .button.outline,html[data-theme="light"] .tabs [aria-pressed="true"],html[data-theme="light"] .theme-control button[aria-pressed="true"]{background:#f5e5eb;color:#8c2449;border-color:#d8b3c1}
html[data-theme="light"] .theme-control button:not([aria-pressed="true"]){background:transparent;color:var(--muted)}
html[data-theme="light"] .button.danger{background:#fae8e4;color:#932f2b}
html[data-theme="light"] .billing-panel,html[data-theme="light"] #acceptForm,html[data-theme="light"] #inviteForm,html[data-theme="light"] .member,html[data-theme="light"] .tabs{border-color:var(--line)}
html[data-theme="light"] .billing-plan span,html[data-theme="light"] .member small,html[data-theme="light"] #pendingDescription{color:var(--muted)}
html[data-theme="light"] .billing-plan-details .billing-annual,html[data-theme="light"] .billing-plan-details .billing-savings,html[data-theme="light"] #accountStatus{color:#8b2c50}
html[data-theme="light"] .member span{background:#f4e5eb;color:#882c50}
html[data-theme="light"] .plan-comparison th,html[data-theme="light"] .plan-comparison td{border-color:var(--line);color:var(--ink)}
html[data-theme="light"] .plan-comparison .plan-included{color:#774e15}
html[data-theme="light"] .sidebar,html[data-theme="light"] .hero,html[data-theme="light"] .card,html[data-theme="light"] .tile,html[data-theme="light"] .item,html[data-theme="light"] .clock,html[data-theme="light"] .envelope,html[data-theme="light"] .notification-panel,html[data-theme="light"] .notification-item{background:var(--paper);border-color:var(--line)}
html[data-theme="light"] .hero p,html[data-theme="light"] .field label,html[data-theme="light"] .navbutton,html[data-theme="light"] .notification-copy{color:var(--muted)}
html[data-theme="light"] .navbutton.active,html[data-theme="light"] .notification-item.unread{background:#f4e5ed;color:#8b2c50}
html[data-theme="light"] .navbutton:not(.active){background:transparent;border-color:transparent}
html[data-theme="light"] #loggedInBar{background:#fff!important;border-color:var(--line)!important;color:var(--ink)!important}
html[data-theme="light"] .roulettedisplay,html[data-theme="light"] .paper,html[data-theme="light"] .empty,html[data-theme="light"] .idea-result,html[data-theme="light"] .spotlight{background:#f3eff5;border-color:var(--line);color:var(--ink)}
html[data-theme="light"] .home-photo,html[data-theme="light"] .home-photo img,html[data-theme="light"] .home-photo-actions{background:#efebf1;border-color:#c8bac8}
html[data-theme="light"] .home-photo-empty strong{color:var(--ink)}
html[data-theme="light"] .pillow-mode,html[data-theme="light"] .pillow-player-row select,html[data-theme="light"] .answer-choice,html[data-theme="light"] .reaction-button{background:#f0ebf3;color:var(--ink);border-color:var(--line)}
html[data-theme="light"] .pillow-mode input:checked+span{background:#81475f;color:#fff}
html[data-theme="light"] .pillow-mode span,html[data-theme="light"] .pillow-consent label{color:var(--muted)}
html[data-theme="light"] .pillow-result h3,html[data-theme="light"] .pillow-entry strong{color:#78541f}
html[data-theme="light"] .memory-album-spread,html[data-theme="light"] .memory-album-page,html[data-theme="light"] .album-photo-placeholder{background:#fff;border-color:var(--line);color:var(--ink)}
html[data-theme="light"] .feedback-panel{background:#fff;color:var(--ink);border-color:var(--line)}
html[data-theme="light"] .feedback-heading,html[data-theme="light"] .feedback-composer,html[data-theme="light"] .feedback-thread{border-color:var(--line)}
html[data-theme="light"] .feedback-body p,html[data-theme="light"] .feedback-message p,html[data-theme="light"] .feedback-composer label{color:var(--ink)}
html[data-theme="light"] .feedback-notice{color:var(--muted)!important}
html[data-theme="light"] .feedback-icon,html[data-theme="light"] .feedback-message small,html[data-theme="light"] .feedback-thread small,html[data-theme="light"] .feedback-status{color:#8b3155}
html[data-theme="light"] .owner-header,html[data-theme="light"] .owner-band,html[data-theme="light"] .owner-metric,html[data-theme="light"] th,html[data-theme="light"] td{border-color:var(--line)}
html[data-theme="light"] .owner-header span,html[data-theme="light"] .owner-metric p,html[data-theme="light"] .owner-metric small,html[data-theme="light"] .owner-actions label,html[data-theme="light"] caption,html[data-theme="light"] .chart-label,html[data-theme="light"] .chart-legend,html[data-theme="light"] .owner-charts figcaption span{color:var(--muted)}
html[data-theme="light"] .owner-metric strong,html[data-theme="light"] #ownerStatus,html[data-theme="light"] .business-editor summary,html[data-theme="light"] #businessStatus,html[data-theme="light"] th{color:#813354}
html[data-theme="light"] .owner-funnel strong,html[data-theme="light"] .owner-retention{color:#75531d}
html[data-theme="light"] .owner-funnel span{color:var(--muted)}
html[data-theme="light"] .daily-table thead{background:#f0edf3}
html[data-theme="light"] .owner-login button,html[data-theme="light"] .business-editor button{background:#a8325a;color:#fff}
@media(max-width:620px){.topbar-right{flex-wrap:wrap;justify-content:flex-end}.theme-control button{max-width:110px}.owner-header{flex-wrap:wrap}}
