html[data-customer-theme=dark]{color-scheme:dark}html[data-customer-theme=dark] html,html[data-customer-theme=dark] body{background:#080808!important;color:#f5f5f5!important}html[data-customer-theme=dark] .card,html[data-customer-theme=dark] .panel,html[data-customer-theme=dark] .receipt{background:#171717!important;color:#f5f5f5!important;border-color:#404040!important}html[data-customer-theme=dark] .receipt-header{background:#202020!important}html[data-customer-theme=dark] input:not([type=color]):not([type=checkbox]):not([type=radio]):not([type=range]),html[data-customer-theme=dark] textarea,html[data-customer-theme=dark] select{background:#101010!important;color:#f5f5f5!important;border-color:#555!important}html[data-customer-theme=dark] input::placeholder,html[data-customer-theme=dark] textarea::placeholder{color:#aaa!important;opacity:1}html[data-customer-theme=dark] .muted,html[data-customer-theme=dark] .note,html[data-customer-theme=dark] .receipt-header p,html[data-customer-theme=dark] .receipt-note,html[data-customer-theme=dark] .receipt-meta span,html[data-customer-theme=dark] .receipt-total small{color:#c2c2c2!important}html[data-customer-theme=dark] a{color:#8ab4ff}html[data-customer-theme=dark] .selected-summary,html[data-customer-theme=dark] .number-chip,html[data-customer-theme=dark] .secondary{background:#292929!important;color:#f5f5f5!important}html[data-customer-theme=dark] th{background:#252525!important;color:#ddd!important}html[data-customer-theme=dark] td,html[data-customer-theme=dark] .table th,html[data-customer-theme=dark] .table td{border-color:#444!important}html[data-customer-theme=dark] .receipt-total{background:#222!important;border-color:#85703c!important}html[data-customer-theme=dark] .receipt-total span,html[data-customer-theme=dark] .receipt-total strong{color:#ffe5a0!important}html[data-customer-theme=dark] .brand{color:#ffe5a0!important}html[data-customer-theme=dark] .msg,html[data-customer-theme=dark] .ok{background:#14382c!important;color:#d3ffe7!important}html[data-customer-theme=dark] .err,html[data-customer-theme=dark] .error,html[data-customer-theme=dark] .receipt-error{background:#481b23!important;color:#ffe4e6!important}html[data-customer-theme=dark] .num{background:#353535;color:#fff}html[data-customer-theme=dark] .num:hover,html[data-customer-theme=dark] .num.selected{background:#2563eb}html[data-customer-theme=dark] .num.taken{background:#252525!important;color:#888!important}html[data-customer-theme=dark] .remaining-full,html[data-customer-theme=dark] .guess-row.full input{background:#292929!important;color:#aaa!important}html[data-customer-theme=dark] :focus-visible{outline:3px solid #8ab4ff;outline-offset:2px}

html[data-customer-theme=light]{color-scheme:light}
.customer-theme-control{display:flex;justify-content:flex-end;align-items:center;gap:8px;margin:0 0 14px;font:600 15px Arial,sans-serif;color:inherit}
.customer-theme-control select{width:auto!important;min-width:100px;padding:8px 12px;border:1px solid #888;border-radius:9px;background:#fff;color:#171717;font:inherit;cursor:pointer}
html[data-customer-theme=light] body{background:#f4f5f7;color:#171717}
html[data-customer-theme=light] .receipt{background:#fff;color:#202636}
.home-theme-control{position:fixed;top:12px;right:16px;z-index:10;color:#fff;background:#171717d9;padding:8px 12px;border-radius:10px}
@media(max-width:767px) and (orientation:portrait){.home-theme-control{top:auto;bottom:10px;right:10px;margin:0;padding:6px 8px;font-size:12px}}

/* Product text has inline admin colors; dark mode overrides them for readability. */
html[data-customer-theme=dark] .hero > div:last-child,
html[data-customer-theme=dark] .hero > div:last-child :is(h1,div,b,p,span){color:#fff!important}

/* All receipt text must stay readable in dark mode. */
html[data-customer-theme=dark] .receipt,html[data-customer-theme=dark] .receipt *{color:#fff!important;-webkit-text-fill-color:#fff!important}
