/* Embeddable widgets (MotorDee /embed/<kind>/, tools/vehicle_embed.py). The site tokens vehicle_calc.css reads,
   system fonts only (no third-party requests), light/dark from the reader's device or ?theme=. */
:root { --bg: #ffffff; --surface: #ffffff; --ink: #18202c; --muted: #5d6879; --line: #d9dee7; --accent: #c2410c; --accent-ink: #fff;
  --price: #b35a00; --good: #1f7a4d; --warn: #a1361f; --chip: #efece6;
  --f-body: "IBM Plex Sans Thai", "Noto Sans Thai", "Sarabun", "Leelawadee UI", "Thonburi", system-ui, sans-serif;
  --f-display: var(--f-body); --f-data: ui-monospace, "SFMono-Regular", Menlo, Consolas, monospace }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) { --bg: #1a1c22; --surface: #1a1c22; --ink: #e7ebf2; --muted: #9aa5b6;
  --line: #2c2f38; --accent: #fb923c; --accent-ink: #1b0d04; --price: #f2a54a; --good: #5fd39a; --warn: #ff8a70; --chip: #24272f; color-scheme: dark } }
:root[data-theme="dark"] { --bg: #1a1c22; --surface: #1a1c22; --ink: #e7ebf2; --muted: #9aa5b6; --line: #2c2f38; --accent: #fb923c;
  --accent-ink: #1b0d04; --price: #f2a54a; --good: #5fd39a; --warn: #ff8a70; --chip: #24272f; color-scheme: dark }
* { box-sizing: border-box }
html, body { margin: 0; background: var(--bg); color: var(--ink); font: 14.5px/1.5 var(--f-body) }
a { color: var(--accent) }
.emb-w { padding: 8px }
.emb-w .vc { margin: 0; border-radius: 10px }
.emb-by { margin: 6px 2px 0; font-size: 12.5px; color: var(--muted); text-align: right }
.emb-by a { font-weight: 600; text-decoration: none }
.emb-by a:hover { text-decoration: underline }
/* fuel widget */
.emw .vc-form { grid-template-columns: repeat(auto-fill, minmax(min(100%, 170px), 1fr)); margin-bottom: 8px }
.emw .vc-out { min-height: 120px }
.emw .emw-big { font: 700 1.9rem/1.1 var(--f-display); color: var(--ink) }
.emw .emw-big small { font: 500 .95rem var(--f-body); color: var(--muted) }
.emw .emw-name { font-weight: 600; margin: 0 0 2px }
.emw .emw-note { font-size: 12px; color: var(--muted); margin: 6px 0 0; line-height: 1.4 }
.emw .emw-sub { display: flex; flex-wrap: wrap; gap: 4px 16px; font-size: 13.5px; margin-top: 4px }
.emw .emw-sub b { font-family: var(--f-data) }
.emw .emw-two { display: grid; gap: 10px; grid-template-columns: repeat(auto-fit, minmax(min(100%, 180px), 1fr)) }
.emw .lbl { font-size: 12.5px; color: var(--muted) }
