/* Embeddable price widget (/widget, /en/widget). Colours: brand tokens, ?theme=dark|light forces one */
@font-face { font-family: 'Inter'; font-style: normal; font-display: swap; font-weight: 100 900; src: url('/fonts/inter-latin-wght-normal.woff2') format('woff2'); }
:root {
    --primary: #20792e; --bg: #ffffff; --text: #263238; --text-muted: #5f7480; --border: #e3e8ec;
    --price-low: #20792e; --price-mid: #f9a825; --price-high: #d32f2f;
    --price-low-soft: rgba(47, 179, 68, 0.14); --price-mid-soft: rgba(249, 168, 37, 0.18); --price-high-soft: rgba(211, 47, 47, 0.12);
}
@media (prefers-color-scheme: dark) {
    :root:not([data-theme="light"]) {
        --primary: #2fb344; --bg: #1c1f23; --text: #e6e8ea; --text-muted: #9aa8b0; --border: #2e3338;
        --price-low: #2fb344; --price-mid: #fbc02d; --price-high: #ef5350;
        --price-low-soft: rgba(47, 179, 68, 0.18); --price-mid-soft: rgba(251, 192, 45, 0.16); --price-high-soft: rgba(239, 83, 80, 0.16);
    }
}
:root[data-theme="dark"] {
    --primary: #2fb344; --bg: #1c1f23; --text: #e6e8ea; --text-muted: #9aa8b0; --border: #2e3338;
    --price-low: #2fb344; --price-mid: #fbc02d; --price-high: #ef5350;
    --price-low-soft: rgba(47, 179, 68, 0.18); --price-mid-soft: rgba(251, 192, 45, 0.16); --price-high-soft: rgba(239, 83, 80, 0.16);
}
* { box-sizing: border-box; }
html, body { margin: 0; height: 100%; }
body { font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif; background: var(--bg); color: var(--text); -webkit-font-smoothing: antialiased; }
.w { display: flex; flex-direction: column; gap: 6px; height: 100%; padding: 14px 16px 12px; color: inherit; text-decoration: none; border: 1px solid var(--border); border-radius: 16px; }
.w-head { display: flex; align-items: center; justify-content: space-between; gap: 8px; }
.w-label { font-size: 12px; font-weight: 600; color: var(--text-muted); }
.w-chip { font-size: 11px; font-weight: 700; padding: 2px 8px; border-radius: 999px; }
.w-chip.low { background: var(--price-low-soft); color: var(--price-low); }
.w-chip.mid { background: var(--price-mid-soft); color: var(--text); }
.w-chip.high { background: var(--price-high-soft); color: var(--price-high); }
.w-price { font-size: 34px; font-weight: 800; letter-spacing: -0.02em; line-height: 1.1; }
.w-price small { font-size: 14px; font-weight: 600; color: var(--text-muted); margin-left: 4px; }
.w-sub { font-size: 12px; color: var(--text-muted); }
.bars { display: flex; align-items: flex-end; gap: 1px; flex: 1; min-height: 40px; margin-top: 4px; }
.bars i { flex: 1; border-radius: 1px 1px 0 0; background: var(--price-low); }
.bars i.mid { background: var(--price-mid); }
.bars i.high { background: var(--price-high); }
.bars i.past { opacity: 0.35; }
.bars i.now { outline: 1.5px solid var(--text); }
.w-foot { display: flex; align-items: center; gap: 6px; font-size: 12px; font-weight: 600; }
.w-foot img { border-radius: 4px; }
.w-more { margin-left: auto; color: var(--primary); }
.w:hover .w-more { text-decoration: underline; }
