/* Rides — one look for the rider, the driver and the office. Two colours: warm paper ground + one accent (per business,
   --accent). Type as the architecture: big numbers, hairlines, mono for prices and plates. Works on old phones: no grid gap,
   no clamp, no aspect-ratio; everything visible without JavaScript. */
:root { --accent: #0f5c4a; --ink: #161616; --paper: #f7f4ee; --card: #fffdf9; --line: #e3ded4; --muted: #6b665d; --ok: #1f7a3f; --warn: #a66b00; --err: #b3261e; --radius: 14px; }
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--paper); color: var(--ink); font: 17px/1.45 -apple-system, "Segoe UI", Roboto, Helvetica, Arial, sans-serif; min-height: 100vh; }
a { color: var(--accent); }
h1, h2, h3 { font-family: "Iowan Old Style", "Palatino Linotype", Palatino, Georgia, "Times New Roman", serif; font-weight: 600; letter-spacing: -0.01em; margin: 0 0 .4em; line-height: 1.15; }
h1 { font-size: 30px; } h2 { font-size: 21px; margin-top: 1.1em; } h2:first-child { margin-top: 0; }
code, .plate, .price, .fare b, .tile b, .big, .code, .key { font-family: ui-monospace, Menlo, Consolas, "Liberation Mono", monospace; }
.muted { color: var(--muted); } .small { font-size: 14px; } .center { text-align: center; } .r { text-align: right; } .neg { color: var(--err); }
.eyebrow { font-family: ui-monospace, Menlo, monospace; font-size: 12px; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); margin: 0 0 .5em; }
.lead { font-size: 19px; max-width: 34em; }
/* top bar */
.top { display: -webkit-box; display: -webkit-flex; display: flex; -webkit-box-align: center; -webkit-align-items: center; align-items: center; -webkit-box-pack: justify; -webkit-justify-content: space-between; justify-content: space-between; padding: 10px 16px; background: var(--card); border-bottom: 1px solid var(--line); }
.brand { text-decoration: none; color: var(--ink); display: -webkit-box; display: flex; -webkit-box-align: baseline; align-items: baseline; }
.brand small { font-family: ui-monospace, Menlo, monospace; font-size: 11px; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); margin-left: 8px; }
.wordmark { font-family: "Iowan Old Style", "Palatino Linotype", Palatino, Georgia, serif; font-size: 24px; font-weight: 700; letter-spacing: -0.02em; color: var(--accent); }
.modes { display: -webkit-box; display: flex; }
.modes a, .modes .who, .modes .linkish { display: -webkit-box; display: flex; -webkit-box-align: center; align-items: center; text-decoration: none; color: var(--ink); padding: 8px 10px; border-radius: 10px; font-size: 15px; margin-left: 2px; position: relative; }
.modes a.on { background: var(--accent); color: #fff; }
.modes a .ic { margin-right: 6px; }
.modes .badge { position: absolute; top: 2px; right: 2px; background: var(--err); color: #fff; font-size: 11px; border-radius: 9px; padding: 0 5px; min-width: 18px; text-align: center; }
.ic { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; vertical-align: -4px; }
.main { padding: 16px; max-width: 620px; margin: 0 auto; }
.app.wide .main, .office .main { max-width: none; }
.foot { padding: 20px 16px 36px; text-align: center; color: var(--muted); font-size: 14px; }
.foot span { margin: 0 10px; }
/* cards */
.card { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 18px 18px 20px; margin: 0 0 14px; }
.card.narrow { max-width: 460px; margin-left: auto; margin-right: auto; }
.card-head { display: -webkit-box; display: flex; -webkit-box-pack: justify; justify-content: space-between; -webkit-box-align: center; align-items: center; -webkit-flex-wrap: wrap; flex-wrap: wrap; margin-bottom: 8px; }
.card-head h1, .card-head h2 { margin: 0; }
.two { display: -webkit-box; display: flex; -webkit-flex-wrap: wrap; flex-wrap: wrap; margin: 0 -7px; }
.two > * { -webkit-box-flex: 1; -webkit-flex: 1 1 320px; flex: 1 1 320px; margin: 0 7px 14px; }
.grid3 { display: -webkit-box; display: flex; -webkit-flex-wrap: wrap; flex-wrap: wrap; margin: 0 -6px; }
.grid3 > .field { -webkit-flex: 1 1 200px; flex: 1 1 200px; margin: 0 6px 12px; }
/* buttons */
.btn { display: inline-block; border: 1px solid var(--line); background: var(--card); color: var(--ink); padding: 10px 16px; border-radius: 12px; font: inherit; font-weight: 600; text-decoration: none; cursor: pointer; line-height: 1.2; min-height: 44px; }
.btn:hover { border-color: var(--accent); }
.btn-primary { background: var(--accent); border-color: var(--accent); color: #fff; }
.btn-plain { background: transparent; }
.btn-danger { background: var(--err); border-color: var(--err); color: #fff; }
.btn-danger-text { color: var(--err); border-color: transparent; }
.btn-big { padding: 14px 22px; font-size: 18px; border-radius: 14px; }
.btn-huge { padding: 22px 28px; font-size: 24px; border-radius: 18px; width: 100%; }
.btn-block { display: block; width: 100%; text-align: center; margin: 8px 0; }
.btn-sm { padding: 6px 10px; min-height: 34px; font-size: 14px; border-radius: 9px; }
.btn-round { width: 46px; height: 46px; border-radius: 50%; padding: 0; display: -webkit-inline-box; display: inline-flex; -webkit-box-align: center; align-items: center; -webkit-box-pack: center; justify-content: center; }
.btn:disabled { opacity: .45; cursor: default; }
.linkish { background: none; border: 0; padding: 0; color: var(--accent); text-decoration: underline; font: inherit; cursor: pointer; }
.btn-choice { display: -webkit-box; display: flex; -webkit-box-pack: justify; justify-content: space-between; -webkit-box-align: center; align-items: center; width: 100%; text-align: left; padding: 14px 16px; margin: 0 0 10px; border-radius: 14px; }
.btn-choice small { display: block; font-weight: 400; color: var(--muted); font-size: 14px; }
.btn-choice .price { font-size: 24px; font-weight: 700; }
.btn-choice-sm { padding: 10px 12px; margin: 0 6px 6px 0; text-align: center; }
.btn-choice-sm small { display: block; font-weight: 400; color: var(--muted); font-size: 13px; }
.btn-star { font-size: 22px; padding: 8px 10px; margin-right: 4px; color: #c98c00; }
.row { display: -webkit-box; display: flex; -webkit-flex-wrap: wrap; flex-wrap: wrap; -webkit-box-align: end; align-items: flex-end; }
.row > * { margin: 0 8px 8px 0; }
.row > .field { -webkit-box-flex: 1; flex: 1 1 160px; }
.row > .field.grow { flex: 2 1 220px; }
.row.wrap .check { margin-right: 12px; }
.inline { display: inline; }
.actions > * { margin: 0 8px 8px 0; }
/* forms */
.field { margin: 0 0 14px; }
.field label { display: block; font-size: 14px; font-weight: 600; margin: 0 0 5px; color: #333; }
.field .hint, .hint { font-size: 13px; color: var(--muted); margin-top: 4px; }
input, select, textarea { font: inherit; color: var(--ink); background: #fff; border: 1px solid #cfc9bd; border-radius: 10px; padding: 11px 12px; width: 100%; min-height: 46px; }
input[type=checkbox] { width: auto; min-height: 0; }
input[size], input[style*="max-width"] { width: auto; }
.row input[size] { width: 7em; }
input:focus, select:focus, textarea:focus { outline: 2px solid var(--accent); outline-offset: 1px; border-color: var(--accent); }
input.big { font-size: 22px; padding: 14px; }
input.code { letter-spacing: .3em; text-align: center; font-size: 28px; }
.check { display: inline-block; font-weight: 400; }
.flash { padding: 12px 14px; border-radius: 12px; margin: 0 0 14px; border: 1px solid; }
.flash-ok { background: #e8f5ec; border-color: #bfe0c9; color: #164d2a; }
.flash-err { background: #fbe9e7; border-color: #f0c0bb; color: #7a1a12; }
.flash-warn { background: #fff5e0; border-color: #f2dba6; color: #5d3d00; }
.flash-info { background: #eef2f6; border-color: #d4dce6; color: #2b3b4d; }
.tag { display: inline-block; font-size: 12px; font-weight: 600; letter-spacing: .04em; padding: 2px 8px; border-radius: 8px; background: #ece8df; color: #4a463f; vertical-align: middle; }
.st-wait { background: #fff1cc; color: #6b4a00; } .st-go { background: #dcefe6; color: #0f5c4a; } .st-here { background: #d9ecff; color: #114a7a; } .st-done { background: #e3f2e7; color: #1f5a33; } .st-cx { background: #f2dcd9; color: #7a1a12; }
.stars { color: #c98c00; letter-spacing: 1px; }
ul.plain { list-style: none; margin: 0; padding: 0; }
.row-line { display: -webkit-box; display: flex; -webkit-box-pack: justify; justify-content: space-between; -webkit-box-align: center; align-items: center; padding: 9px 0; border-bottom: 1px solid var(--line); }
.row-line:last-child { border-bottom: 0; }
.row-line a { text-decoration: none; color: var(--ink); }
.key { display: inline-block; min-width: 26px; height: 26px; line-height: 26px; text-align: center; border-radius: 7px; background: var(--ink); color: #fff; font-size: 14px; }
/* the front page */
.site .main { max-width: 900px; }
.hero { padding: 26px 0 18px; }
.hero h1 { font-size: 40px; max-width: 14em; }
.hero .actions { margin-top: 18px; }
.ways { display: -webkit-box; display: flex; -webkit-flex-wrap: wrap; flex-wrap: wrap; border-top: 1px solid var(--line); padding-top: 10px; }
.way { -webkit-box-flex: 1; flex: 1 1 240px; padding: 14px 18px 14px 0; }
.way .num { font-family: ui-monospace, Menlo, monospace; color: var(--accent); font-size: 13px; letter-spacing: .1em; }
.way h2 { margin: 4px 0 6px; } .way code { background: #efebe2; padding: 2px 6px; border-radius: 6px; font-size: 14px; }
/* the order form */
.order h1 { font-size: 34px; }
.addr { position: relative; }
.addr .locbtn { position: absolute; right: 6px; top: 6px; min-height: 34px; }
.addr.has-loc input { padding-right: 132px; }
.saved + .addr input { margin-top: 6px; }
.chips { margin: 0 0 12px; }
.chip { font: inherit; font-size: 14px; border: 1px solid var(--line); background: #fff; border-radius: 20px; padding: 6px 12px; margin: 4px 6px 0 0; cursor: pointer; }
.ac-list { position: absolute; list-style: none; margin: 0; padding: 4px 0; background: #fff; border: 1px solid var(--line); border-radius: 10px; box-shadow: 0 8px 24px rgba(0,0,0,.08); z-index: 50; max-height: 260px; overflow: auto; }
.ac-list li { padding: 9px 12px; cursor: pointer; font-size: 15px; }
.ac-list li b { display: block; font-weight: 600; } .ac-list li span { color: var(--muted); font-size: 13px; }
.ac-list li.on, .ac-list li:hover { background: #f1eee6; }
.ac-list .ac-by { font-size: 11px; color: var(--muted); text-align: right; cursor: default; }
/* quote + live */
.route { margin: 10px 0; }
.route span { display: block; padding: 6px 0; border-bottom: 1px solid var(--line); }
.route span:last-child { border-bottom: 0; }
.map { display: block; width: 100%; height: auto; border-radius: 12px; border: 1px solid var(--line); margin: 10px 0; background: #eef1ec; }
.live h1 { font-size: 32px; }
.dots { display: inline-block; width: 1.2em; text-align: left; }
.eta { font-size: 20px; margin: 4px 0 10px; }
.eta b { font-size: 26px; }
.driver { display: -webkit-box; display: flex; -webkit-box-align: center; align-items: center; padding: 12px; border: 1px solid var(--line); border-radius: 12px; margin: 10px 0; }
.driver > div { -webkit-box-flex: 1; flex: 1; margin: 0 10px; }
.avatar { display: -webkit-inline-box; display: inline-flex; -webkit-box-align: center; align-items: center; -webkit-box-pack: center; justify-content: center; width: 44px; height: 44px; border-radius: 50%; background: var(--accent); color: #fff; font-weight: 700; font-size: 20px; }
.plate { background: #fff; border: 1px solid #999; border-radius: 4px; padding: 1px 6px; font-size: 15px; }
.fare { font-size: 18px; margin: 8px 0; } .fare b { font-size: 26px; }
.receipt .kv, .kv { width: 100%; border-collapse: collapse; }
.kv td { padding: 7px 0; border-bottom: 1px solid var(--line); vertical-align: top; }
.kv td:first-child { color: var(--muted); width: 36%; }
.kv tr.total td { font-weight: 700; font-size: 18px; border-bottom: 0; }
.tips { display: -webkit-box; display: flex; -webkit-flex-wrap: wrap; flex-wrap: wrap; -webkit-box-align: center; align-items: center; }
.tips .custom { display: -webkit-box; display: flex; -webkit-box-align: center; align-items: center; margin-bottom: 6px; }
.tips .custom input { width: 7em; margin-right: 6px; }
.starrow { margin: 6px 0 10px; }
/* driver */
.online .pulse { color: var(--ok); }
.online .pulse:before { content: ""; display: inline-block; width: 9px; height: 9px; border-radius: 50%; background: var(--ok); margin-right: 8px; vertical-align: 1px; }
.offer h1 { font-size: 38px; }
.offer .row > form { -webkit-box-flex: 1; flex: 1 1 140px; }
.trip .who { display: -webkit-box; display: flex; -webkit-box-align: center; align-items: center; font-size: 19px; }
.trip .who .avatar { margin-right: 10px; }
.trip .who .btn-round { margin-left: auto; }
.note { background: #fff8e1; border: 1px solid #f2dba6; border-radius: 10px; padding: 8px 12px; }
.navs .btn { -webkit-box-flex: 1; flex: 1 1 120px; text-align: center; }
.earn .row-line { border-bottom: 0; padding: 4px 0; }
.big { font-size: 28px; font-weight: 700; }
/* office */
.office .frame { display: -webkit-box; display: flex; -webkit-box-align: start; align-items: flex-start; }
.office .side { display: none; }
.office .side nav a { display: -webkit-box; display: flex; -webkit-box-align: center; align-items: center; padding: 10px 14px; text-decoration: none; color: var(--ink); border-radius: 10px; margin: 2px 8px; font-weight: 600; }
.office .side nav a .ic { margin-right: 10px; }
.office .side nav a.on { background: var(--accent); color: #fff; }
.office .main { -webkit-box-flex: 1; flex: 1; min-width: 0; }
@media (min-width: 900px) { .office .side { display: block; width: 210px; -webkit-flex: 0 0 210px; flex: 0 0 210px; padding: 12px 0; position: -webkit-sticky; position: sticky; top: 0; } .office .main { padding: 18px 22px; } }
@media (max-width: 899px) { .office .main:before { content: ""; } .office .side { display: block; width: 100%; overflow-x: auto; white-space: nowrap; border-bottom: 1px solid var(--line); background: var(--card); } .office .side nav { display: -webkit-box; display: flex; } .office .side nav a { padding: 10px 12px; margin: 4px; font-size: 14px; } .office .frame { display: block; } }
.tiles { display: -webkit-box; display: flex; -webkit-flex-wrap: wrap; flex-wrap: wrap; margin: 0 -6px 10px; }
.tile { -webkit-box-flex: 1; flex: 1 1 140px; margin: 0 6px 12px; background: var(--card); border: 1px solid var(--line); border-radius: 12px; padding: 12px 14px; text-decoration: none; color: var(--ink); }
.tile b { display: block; font-size: 26px; } .tile span { font-size: 13px; color: var(--muted); }
table.list { width: 100%; border-collapse: collapse; font-size: 15px; }
table.list th { text-align: left; font-size: 12px; letter-spacing: .06em; text-transform: uppercase; color: var(--muted); font-weight: 600; padding: 6px 8px 6px 0; border-bottom: 1px solid var(--line); }
table.list th.r { text-align: right; }
table.list td { padding: 8px 8px 8px 0; border-bottom: 1px solid var(--line); vertical-align: top; }
table.list tr:nth-child(even) td { background: rgba(0,0,0,.015); }
table.edit input { min-height: 38px; padding: 6px 8px; }
.tabs { display: -webkit-box; display: flex; -webkit-flex-wrap: wrap; flex-wrap: wrap; border-bottom: 1px solid var(--line); margin: 0 0 12px; }
.tabs a { padding: 8px 12px; text-decoration: none; color: var(--muted); border-bottom: 2px solid transparent; margin-bottom: -1px; font-weight: 600; }
.tabs a.on { color: var(--accent); border-color: var(--accent); }
.timeline li { padding: 4px 0; border-bottom: 1px dotted var(--line); font-size: 14px; }
pre { white-space: pre-wrap; font-size: 13px; }
details summary { cursor: pointer; color: var(--accent); }
.demo-bar { display: -webkit-box; display: flex; -webkit-box-align: center; align-items: center; background: #fff3cd; border-bottom: 1px solid #f2dba6; padding: 8px 16px; font-size: 14px; }
.demo-bar .ic { margin-right: 8px; -webkit-flex: none; flex: none; }
.ifw { border: 1px solid #cfc9bd; border-radius: 10px; background: #fff; height: 46px; overflow: hidden; }
.ifw iframe { border: 0; width: 100%; height: 46px; display: block; }
.err { display: block; color: var(--err); font-size: 14px; min-height: 1em; }
.confirm h1 { font-size: 26px; }
@media (max-width: 420px) { .main { padding: 12px; } .card { padding: 14px; } h1 { font-size: 26px; } .hero h1 { font-size: 32px; } .top { padding: 8px 10px; } .modes a span { display: none; } .modes a .ic { margin: 0; } .modes a.on span { display: inline; margin-left: 6px; } .modes a.on .ic { margin-right: 0; } }
@media print { .top, .foot, .side, .modes, .btn, form { display: none !important; } body { background: #fff; } .card { border: 0; } }
