/* Taxi: the price before you get in. Quiet page, and one object with character: the fare printed as a meter
   ticket, with the roof-light green of a free Paris taxi as the only accent. */
:root { --page: #f4f5f2; --card: #ffffff; --ink: #141714; --soft: #58615b; --line: #d8ddd6; --field: #f0f2ee; --free: #14803f; --on-free: #ffffff; --busy: #b3261e; --paper: #fffef8; --paper-ink: #1b1d1a; color-scheme: light; }
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) { --page: #101311; --card: #1a1f1b; --ink: #eef2ee; --soft: #a3ada6; --line: #2d352f; --field: #101311; --free: #4fd08a; --on-free: #0b1a11; --busy: #ff8a80; color-scheme: dark; }
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--page); color: var(--ink); font: 400 17px/1.5 "Helvetica Neue", Helvetica, Arial, system-ui, sans-serif; font-variant-numeric: tabular-nums; }
main { max-width: 640px; margin: 0 auto; padding: max(20px, env(safe-area-inset-top)) 16px max(32px, env(safe-area-inset-bottom)); display: grid; gap: 20px; grid-template-columns: minmax(0, 1fr); }
a { color: inherit; }
button, input, select { font: inherit; color: inherit; }
:focus-visible { outline: 3px solid var(--free); outline-offset: 2px; }
h1 { font-size: clamp(40px, 10vw, 64px); line-height: 1; letter-spacing: -0.03em; margin: 0 0 10px; }
h2 { font-size: 20px; margin: 0 0 8px; }
p { margin: 0; }
[hidden] { display: none !important; }
.top p { color: var(--soft); max-width: 52ch; }

.card { background: var(--card); border: 1px solid var(--line); border-radius: 10px; padding: 16px; display: grid; gap: 16px; }
.place { display: grid; gap: 6px; position: relative; }
label { display: grid; gap: 4px; font-weight: 600; font-size: 15px; flex: 1 1 150px; min-width: 0; }
input, select { width: 100%; min-width: 0; min-height: 48px; border: 0; border-bottom: 2px solid var(--ink); border-radius: 4px 4px 0 0; background: var(--field); padding: 8px 10px; font-size: 16px; font-weight: 400; }
select { appearance: none; -webkit-appearance: none; padding-right: 34px; background-image: linear-gradient(45deg, transparent 50%, currentColor 50%), linear-gradient(135deg, currentColor 50%, transparent 50%);
  background-position: calc(100% - 18px) 55%, calc(100% - 12px) 55%; background-size: 6px 6px; background-repeat: no-repeat; }
.row { display: flex; flex-wrap: wrap; gap: 12px; }
.suggest { list-style: none; margin: 0; padding: 4px; border: 1px solid var(--line); border-radius: 8px; background: var(--card); display: grid; }
.suggest button { width: 100%; text-align: left; background: transparent; color: var(--ink); border: 0; border-radius: 6px; min-height: 44px; padding: 8px 10px; font-weight: 400; cursor: pointer; overflow-wrap: anywhere; }
.suggest .none { padding: 10px; color: var(--soft); font-size: 15px; }
@media (hover: hover) { .suggest button:hover { background: var(--field); } }
.picked { font-size: 14px; color: var(--free); font-weight: 600; min-height: 0; }
.quick { display: flex; flex-wrap: wrap; gap: 8px; }
.chip { min-height: 44px; padding: 0 14px; border-radius: 999px; border: 1.5px solid var(--line); background: transparent; color: var(--ink); font-size: 15px; font-weight: 600; cursor: pointer; }
#go { min-height: 52px; border: 0; border-radius: 999px; background: var(--free); color: var(--on-free); font-weight: 700; font-size: 18px; cursor: pointer; }
#go:disabled { opacity: 0.6; cursor: progress; }
.error { color: var(--busy); font-weight: 600; }

/* The meter ticket: thermal paper, torn along the bottom. It stays paper-white in dark mode, like the real thing. */
.ticket { background: var(--paper); color: var(--paper-ink); padding: 20px 18px 30px; display: grid; gap: 10px; border-radius: 4px 4px 0 0;
  --tooth: 10px; -webkit-mask: conic-gradient(from -45deg at bottom, #0000, #000 1deg 89deg, #0000 90deg) bottom / var(--tooth) 51% repeat-x, linear-gradient(#000 0 0) top / 100% 50% no-repeat;
  mask: conic-gradient(from -45deg at bottom, #0000, #000 1deg 89deg, #0000 90deg) bottom / var(--tooth) 51% repeat-x, linear-gradient(#000 0 0) top / 100% 50% no-repeat; }
.ticket-kind { font-weight: 700; font-size: 15px; color: #14803f; }
.ticket-price { font-size: clamp(44px, 13vw, 72px); font-weight: 800; letter-spacing: -0.03em; line-height: 1; }
.ticket dl { margin: 6px 0 0; display: grid; grid-template-columns: minmax(0, 9em) minmax(0, 1fr); gap: 0; border-top: 2px dashed #b9bcae; }
.ticket dt, .ticket dd { margin: 0; padding: 8px 0; border-bottom: 1px dashed #c9ccbf; font-size: 15px; overflow-wrap: anywhere; }
.ticket dt { font-weight: 700; padding-right: 10px; }
.ticket-note { font-size: 14px; color: #4a4f47; }

.compare p { color: var(--soft); }
.apps { list-style: none; padding: 0; margin: 12px 0 0; display: flex; flex-wrap: wrap; gap: 8px; }
.apps a { display: inline-flex; align-items: center; min-height: 44px; padding: 0 16px; border: 1.5px solid var(--ink); border-radius: 999px; text-decoration: none; font-weight: 600; }
footer { font-size: 14px; color: var(--soft); }
footer a { display: inline-block; padding: 4px 0; }
.noscript { padding: 16px; }
.doc { max-width: 68ch; display: block; } .doc h1 { font-size: 34px; margin: 16px 0; } .doc h2 { margin: 24px 0 8px; } .doc p, .doc ul { margin: 0 0 12px; }
@media (max-width: 420px) { .ticket dl { grid-template-columns: minmax(0, 1fr); } .ticket dt { border-bottom: 0; padding-bottom: 0; } .ticket dd { padding-top: 2px; } }
@media (max-width: 760px), (pointer: coarse) { input:not([type=checkbox]):not([type=radio]):not([type=range]), select, textarea { font-size: 16px !important; } }
