/* C-97 dark theme — flow-v4 dark tokens on the D-17 5 Breads greens. On when the device is in dark mode or ?dark (theme.js sets data-theme=dark). Light look untouched otherwise. */
[data-theme=dark]{color-scheme:dark}
[data-theme=dark],[data-theme=dark] body,[data-theme=dark] body.is-ordering{
  --bg:#0A1A14;--surface:#12261E;--ink:#E6F0EC;--muted:#A9C7BB;--accent:#7FD1B9;--brand:#7FD1B9;--accent-soft:#17382C;
  --gold:#7FD1B9;--off:#A9C7BB;--line:#2A4A3E;--tint:#17382C;--tint2:#0E241C;--fill:#0F6B4E;
  --shadow:0 1px 0 rgba(0,0,0,.3),0 6px 20px -12px rgba(0,0,0,.7)}
[data-theme=dark] body{background:#0A1A14;color:#E6F0EC}
/* surfaces */
[data-theme=dark] .hero,[data-theme=dark] .foot,[data-theme=dark] .items,[data-theme=dark] body.is-ordering .item,[data-theme=dark] .sheet,
[data-theme=dark] body.is-ordering .ph-head,[data-theme=dark] .chip,[data-theme=dark] .lang,[data-theme=dark] .fast,[data-theme=dark] .search__input,
[data-theme=dark] .note,[data-theme=dark] .stat .track .dot,[data-theme=dark] .notefld,[data-theme=dark] .scanv .scan-steps li{background:#12261E;color:#E6F0EC}
[data-theme=dark] .toolbar{background:rgba(10,26,20,.95)}
[data-theme=dark] .ph-head img,[data-theme=dark] .hero__logo{background:#fff;border-radius:8px;padding:2px 6px}
/* filled (brand) surfaces: flow-v4 #0F6B4E with white text (6.6:1) */
[data-theme=dark] .hero__band,[data-theme=dark] .tablebar,[data-theme=dark] .cartbar,[data-theme=dark] body.is-ordering .cartbar,[data-theme=dark] .btn--block,
[data-theme=dark] body.is-ordering .btn--pill:not(.ghost),[data-theme=dark] .chip.is-active,[data-theme=dark] .chip[aria-current="true"],
[data-theme=dark] .fast[aria-pressed="true"],[data-theme=dark] .lang:hover,[data-theme=dark] .skip,[data-theme=dark] .scanv .scan-steps li span,
[data-theme=dark] .stat .track li.done .dot,[data-theme=dark] .oq__pill,[data-theme=dark] .oq__add{background:#0F6B4E;border-color:#0F6B4E;color:#fff}
[data-theme=dark] .stat .track li.done:not(:last-child)::after{background:#0F6B4E}
[data-theme=dark] .cartbar__n{background:#fff;color:#0F6B4E}
[data-theme=dark] body.is-ordering .btn--pill.ghost{background:transparent;border:1px solid #7FD1B9;color:#E6F0EC}
/* table tent stays a white card, as in flow-v4 dark */
[data-theme=dark] .scanv .tent{background:#fff;color:#003C25;border-color:#fff}[data-theme=dark] .scanv .tent .h{color:#00574B}
[data-theme=dark] .scanv .tent .t{color:#003C25}
/* text colours that were hard-coded */
[data-theme=dark] .item-price,[data-theme=dark] .item-price .cur,[data-theme=dark] body.is-ordering .item-price,[data-theme=dark] .empty__art{color:#7FD1B9}
[data-theme=dark] .tag-fasting{background:#17382C;color:#E6F0EC}[data-theme=dark] .tag-fasting::before{background:#7FD1B9}
[data-theme=dark] .item-soldout,[data-theme=dark] .item.is-unavailable .oq .soldout{background:#17382C;color:#A9C7BB}
[data-theme=dark] .item.is-unavailable{background:#0E241C}
[data-theme=dark] .item.is-unavailable .item-name,[data-theme=dark] .item.is-unavailable .item-price,[data-theme=dark] .item.is-unavailable .item-price .cur{color:#A9C7BB}
[data-theme=dark] .item.is-unavailable .item-soldout{background:#2A4A3E;color:#E6F0EC}
[data-theme=dark] .item-thumb{background:#17382C}
[data-theme=dark] .sk{background:linear-gradient(90deg,#2A4A3E 0%,#17382C 50%,#2A4A3E 100%);background-size:200% 100%}
[data-theme=dark] #offline:not([hidden]){border-color:#2A4A3E}
[data-theme=dark] .note--err{border-color:#FFB4AB;color:#FFB4AB;background:#3A1512}
[data-theme=dark] .scrim{background:rgba(0,0,0,.6)}
[data-theme=dark] body.is-ordering .notefld{border-color:#5E8A79}
[data-theme=dark] body.is-ordering .pay input{background:radial-gradient(circle,#12261E 0 9px,#7FA394 9.5px 11px,transparent 11.5px)}
[data-theme=dark] body.is-ordering .pay input:checked{background:radial-gradient(circle,#7FD1B9 0 5px,#12261E 5.5px 8px,#7FD1B9 8.5px 11px,transparent 11.5px)}
[data-theme=dark] body.is-ordering .pay label:has(input:checked){border-color:#7FD1B9;background:#0E241C}
[data-theme=dark] .stat .ordno{background:#0E241C;color:#E6F0EC}[data-theme=dark] .stat .ordno .s,[data-theme=dark] .stat .track .s{color:#A9C7BB}
[data-theme=dark] .stat .track .dot{border-color:#5E8A79;color:#A9C7BB}
[data-theme=dark] .stat .track li{color:#E6F0EC}
[data-theme=dark] .stat .track li.now .dot{border-color:#7FD1B9;color:#7FD1B9;box-shadow:0 0 0 4px #17382C}
[data-theme=dark] .stat .paylbl,[data-theme=dark] body.is-ordering .h2{color:#E6F0EC}
