:root{--theme-bg:#f7f4ed;--theme-surface:#fffdf8;--theme-ink:#151831;--theme-muted:#74788b;--theme-accent:#a17332;--theme-accent-soft:#f3dfb5;--theme-glow:rgba(217,174,99,.24)}
body[data-theme]{background:var(--theme-bg);color:var(--theme-ink);transition:background-color .35s ease,color .35s ease}
body[data-theme] .hero-card{background:var(--theme-ink);box-shadow:0 24px 70px var(--theme-glow)}
body[data-theme] .hero-card:after{border-color:var(--theme-accent)}
body[data-theme] .hero h1 em,body[data-theme] .eyebrow{color:var(--theme-accent)}
body[data-theme] .stat.accent,body[data-theme] .chip.active{background:var(--theme-accent-soft);border-color:var(--theme-accent);color:var(--theme-ink)}
body[data-theme] .tea-card:hover{border-color:var(--theme-accent);box-shadow:0 16px 34px var(--theme-glow)}
body[data-theme] .map-provider-control{border-color:color-mix(in srgb,var(--theme-accent) 38%,#dfe9e4)}
.theme-picker{display:flex;align-items:center;gap:7px;color:var(--theme-muted);font-size:12px;white-space:nowrap}.theme-picker label{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0)}.theme-picker select{height:40px;border:1px solid var(--line);border-radius:999px;background:#fff;padding:0 12px;color:var(--theme-ink);cursor:pointer;max-width:180px}.theme-picker select:focus-visible{outline:3px solid color-mix(in srgb,var(--theme-accent) 45%,transparent);outline-offset:2px}
body[data-theme="coffee"]{--theme-bg:#f1e8df;--theme-surface:#fffaf4;--theme-ink:#3d281f;--theme-muted:#806e63;--theme-accent:#9a5d38;--theme-accent-soft:#ead3bf;--theme-glow:rgba(154,93,56,.22)}
body[data-theme="tea"]{--theme-bg:#eef5ee;--theme-surface:#fffefa;--theme-ink:#173b32;--theme-muted:#657c70;--theme-accent:#5f8d70;--theme-accent-soft:#dcecdf;--theme-glow:rgba(95,141,112,.2)}
body[data-theme="china-tea"]{--theme-bg:#edf2e9;--theme-surface:#fffef8;--theme-ink:#183b35;--theme-muted:#6c7b6e;--theme-accent:#aa7a3d;--theme-accent-soft:#e9dfbd;--theme-glow:rgba(170,122,61,.2)}
body[data-theme="japan-tea"]{--theme-bg:#f1f0eb;--theme-surface:#fffefb;--theme-ink:#27312c;--theme-muted:#737a72;--theme-accent:#7c8d78;--theme-accent-soft:#e1e4d9;--theme-glow:rgba(124,141,120,.18)}
body[data-theme="vietnam"]{--theme-bg:#edf6ed;--theme-surface:#fffefa;--theme-ink:#19463b;--theme-muted:#668078;--theme-accent:#4f9874;--theme-accent-soft:#d7ecdd;--theme-glow:rgba(79,152,116,.2)}
body[data-theme="russia"]{--theme-bg:#f5eee9;--theme-surface:#fffaf6;--theme-ink:#4a2928;--theme-muted:#806b67;--theme-accent:#9b4f49;--theme-accent-soft:#ecd4cb;--theme-glow:rgba(155,79,73,.2)}
body[data-theme="sheng-puer"]{--theme-bg:#eaf3e7;--theme-surface:#fbfff9;--theme-ink:#234a37;--theme-muted:#6b806c;--theme-accent:#6e9c63;--theme-accent-soft:#d9ead1;--theme-glow:rgba(110,156,99,.2)}
body[data-theme="shu-puer"]{--theme-bg:#eee7df;--theme-surface:#fffaf4;--theme-ink:#3e2c25;--theme-muted:#7d6e63;--theme-accent:#a4653d;--theme-accent-soft:#ead3bb;--theme-glow:rgba(164,101,61,.22)}
body[data-theme="oolong-light"]{--theme-bg:#f5f0df;--theme-surface:#fffdf5;--theme-ink:#4a4230;--theme-muted:#857b61;--theme-accent:#b58b42;--theme-accent-soft:#f0e2b9;--theme-glow:rgba(181,139,66,.2)}
body[data-theme="oolong-dark"]{--theme-bg:#eee5da;--theme-surface:#fffaf4;--theme-ink:#402d25;--theme-muted:#7b6a60;--theme-accent:#a9653b;--theme-accent-soft:#ecd2bd;--theme-glow:rgba(169,101,59,.22)}
body[data-theme="japan-tea"] .hero-card{border-radius:14px}
body[data-theme="japan-tea"] .tea-card{border-radius:12px}
@media(max-width:680px){.theme-picker{flex:1;min-width:0}.theme-picker select{width:100%;max-width:none}.top-actions{flex-wrap:wrap}.theme-picker+*{flex-basis:100%}}
@media(prefers-reduced-motion:reduce){body[data-theme],body[data-theme] .hero,body[data-theme] .hero-card{transition:none}}
