/* WhereEmpty driver page, "Green Signs" look (2026-11-12): highway signs on a road-atlas map.
   Approved from pictures by Tim. No inline styles anywhere (the page's security rules forbid them). */
@font-face { font-family: Overpass; src: url(fonts/overpass.woff2) format("woff2"); font-weight: 600 900; font-display: swap; }
:root {
  --paper: #efe6cd; --ink: #1c1a14; --dim: #3a3528;
  --green: #00694c; --white: #fdfdf8; --black: #111; --yellow: #ffcd00; --blue: #0b4ea2; --orange: #f47b20; --red: #c8362d;
  --drop: 0 8px 13px rgba(40, 30, 0, .4);
  --sign: Overpass, "Highway Gothic", "Arial Narrow", Arial, sans-serif;
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--paper) url(map.svg) center top / cover fixed; color: #fff; font: 700 17px/1.25 var(--sign); -webkit-font-smoothing: antialiased; }
h1, h2, p { margin: 0; }
button, input { font: inherit; color: inherit; }
button { border: 0; cursor: pointer; text-align: left; -webkit-tap-highlight-color: transparent; }
button:focus-visible, input:focus-visible { outline: 4px solid #000; outline-offset: 3px; }
[hidden] { display: none !important; }
.wrap { position: relative; max-width: 430px; min-height: 100vh; min-height: 100dvh; margin: 0 auto; display: flex; flex-direction: column; gap: 16px;
  padding: max(18px, env(safe-area-inset-top)) max(18px, env(safe-area-inset-right)) max(24px, env(safe-area-inset-bottom)) max(18px, env(safe-area-inset-left)); }
.wrap.cordroom > :not(.cord):not(.full) { margin-right: 60px; }
.wrap.sentroom > .tagrow { margin-right: 62px; }
.wait { color: var(--dim); font-size: 19px; padding-top: 40px; }
.grow { flex: 1; min-height: 4px; }

/* the name plate */
.tagrow { display: flex; align-items: center; gap: 12px; }
.tag { flex: none; min-width: 132px; max-width: 190px; padding: 5px 14px 6px; text-align: center; border-radius: 9px; background: linear-gradient(#fdfdf8, #e9e7dc); color: #20315f;
  box-shadow: 0 0 0 2px #fdfdf8, 0 0 0 4px #20315f, 0 5px 9px rgba(0, 0, 0, .35); }
.tag small { display: block; font: 800 10px var(--sign); letter-spacing: .2em; }
.tag b { display: block; font: 900 29px/1.05 var(--sign); letter-spacing: .08em; text-transform: uppercase; text-shadow: 0 1px 0 #fff, 0 2px 1px rgba(0, 0, 0, .25); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.tagnote { font: 700 15px/1.25 var(--sign); color: var(--dim); min-width: 0; }
.tagnote b { display: block; font-weight: 800; font-size: 16px; color: var(--ink); }

/* green guide signs */
.gs { position: relative; display: block; background: var(--green); border-radius: 13px; padding: 19px 20px 15px;
  box-shadow: inset 0 0 0 3px var(--green), inset 0 0 0 6.5px #fff, var(--drop); }
.gs h1 { font: 800 36px/1.05 var(--sign); text-wrap: balance; }
.gs .sub { font: 700 17px/1.25 var(--sign); margin-top: 5px; }
.gs .age { font: 600 14px var(--sign); margin-top: 6px; opacity: .92; }
.gs.big { margin-top: 30px; padding: 22px 20px 16px; }
.gs.big h1 { font-size: 40px; }
.tab { position: absolute; right: 16px; top: -31px; background: var(--green); border-radius: 9px 9px 0 0; padding: 8px 14px 12px; font: 800 14px var(--sign); letter-spacing: .04em;
  box-shadow: inset 0 0 0 2.5px var(--green), inset 0 0 0 5px #fff; }
.cityrow { display: flex; align-items: stretch; gap: 13px; }
.cityrow .gs { flex: 1; min-width: 0; padding: 16px 18px 11px; border-radius: 10px; }
.cityrow .gs b { display: block; font: 800 30px/1.05 var(--sign); overflow-wrap: anywhere; }
.cityrow .gs small { display: block; font: 600 14px var(--sign); margin-top: 3px; opacity: .95; }
.bmic { flex: none; width: 84px; min-height: 84px; border-radius: 13px; background: var(--blue); display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 2px;
  box-shadow: inset 0 0 0 2.5px var(--blue), inset 0 0 0 5.5px #fff, 0 6px 10px rgba(40, 30, 0, .4); font: 800 12px var(--sign); }
.bmic.on { background: var(--red); box-shadow: inset 0 0 0 2.5px var(--red), inset 0 0 0 5.5px #fff, 0 6px 10px rgba(40, 30, 0, .4); animation: pulse 1s ease-in-out infinite; }
@keyframes pulse { 50% { transform: scale(1.05); } }
.arrows { display: flex; gap: 13px; }
.arr { flex: 1; min-width: 0; padding: 0; border-radius: 11px; overflow: hidden; background: var(--green); box-shadow: inset 0 0 0 3px var(--green), inset 0 0 0 6px #fff, var(--drop); }
.arr .in { display: flex; justify-content: space-between; align-items: flex-end; padding: 20px 12px 8px 16px; }
.arr b { font: 800 29px/1 var(--sign); }
.arr small { display: block; font: 600 14px var(--sign); padding: 0 16px 14px; }
.arr.on { box-shadow: var(--drop); }
.arr.on .in { border-radius: 11px 11px 0 0; box-shadow: inset 0 0 0 3px var(--green), inset 0 0 0 6px #fff; padding-bottom: 12px; }
.arr.on small { background: var(--yellow); color: var(--black); font: 800 14px var(--sign); letter-spacing: .05em; text-align: center; padding: 7px 4px 5px;
  box-shadow: inset 0 0 0 2.5px var(--yellow), inset 0 0 0 4.5px var(--black); }

/* white regulatory signs (actions) */
.sendrow { display: flex; align-items: flex-end; gap: 14px; }
.limit { flex: none; min-width: 136px; padding: 11px 16px 8px; border-radius: 9px; background: var(--white); color: var(--black); text-align: center;
  box-shadow: inset 0 0 0 2.5px var(--white), inset 0 0 0 5px var(--black), var(--drop); }
.limit small { display: block; font: 800 15px/1.1 var(--sign); letter-spacing: .05em; }
.limit b { display: block; font: 900 40px/1 var(--sign); margin-top: 3px; }
.limit.wide { width: 100%; }
.limit.wide b { font-size: 30px; padding: 6px 0 2px; }
.limit[aria-busy] { opacity: .6; }
.sendrow p { font: 700 16px/1.3 var(--sign); color: var(--dim); padding-bottom: 6px; }
.back, .two button, .lab { background: var(--white); color: var(--black); }
.back { align-self: flex-start; padding: 13px 18px 9px; border-radius: 9px; font: 800 19px var(--sign); box-shadow: inset 0 0 0 2.5px var(--white), inset 0 0 0 4.5px var(--black), 0 6px 10px rgba(40, 30, 0, .4); }
.two { display: flex; gap: 12px; }
.two > * { flex: 1; padding: 14px 6px 10px; border-radius: 9px; font: 800 16.5px var(--sign); text-align: center; text-decoration: none;
  box-shadow: inset 0 0 0 2.5px var(--white), inset 0 0 0 4.5px var(--black), 0 6px 10px rgba(40, 30, 0, .4); }
.two a { background: var(--blue); color: #fff; box-shadow: inset 0 0 0 2.5px var(--blue), inset 0 0 0 4.5px #fff, 0 6px 10px rgba(40, 30, 0, .4); }
.lab { align-self: flex-start; border-radius: 7px; padding: 8px 12px 5px; font: 800 15px var(--sign); letter-spacing: .03em; text-transform: uppercase; margin-top: 4px;
  box-shadow: inset 0 0 0 2px var(--white), inset 0 0 0 3.5px var(--black), 0 4px 7px rgba(40, 30, 0, .35); }
.quiet { align-self: flex-start; background: rgba(239, 230, 205, .88); color: var(--dim); font: 700 16px var(--sign); text-decoration: underline; text-underline-offset: 3px; padding: 6px 8px; border-radius: 6px; }
.fine { background: rgba(239, 230, 205, .88); color: var(--dim); font: 600 14.5px/1.35 var(--sign); padding: 6px 8px; border-radius: 6px; }

/* choices */
.grid { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.opt { background: var(--green); border-radius: 10px; padding: 15px 14px 10px; font: 800 22px/1.05 var(--sign); min-height: 58px; display: flex; align-items: center;
  box-shadow: inset 0 0 0 2.5px var(--green), inset 0 0 0 5px #fff, 0 6px 11px rgba(40, 30, 0, .4); }
.opt.on { background: var(--yellow); color: var(--black); box-shadow: inset 0 0 0 2.5px var(--black), inset 0 0 0 5px var(--yellow), 0 6px 11px rgba(40, 30, 0, .4); }
.dots { display: flex; flex-wrap: wrap; gap: 13px; padding: 4px 5px; }
.dots button { width: 46px; height: 46px; border-radius: 50%; box-shadow: 0 0 0 3px var(--white), 0 0 0 4.5px var(--dim), 0 5px 8px rgba(40, 30, 0, .4); }
.dots button.on { box-shadow: 0 0 0 3px var(--white), 0 0 0 8px var(--black), 0 5px 8px rgba(40, 30, 0, .4); }
.c-red { background: #c8362d; } .c-blue { background: #2456a6; } .c-green { background: #1f7a4d; } .c-white { background: #f2f0e8; } .c-black { background: #1c1a14; } .c-yellow { background: #e0a100; }
.field { display: block; width: 100%; background: var(--white); color: var(--black); border: 0; border-radius: 7px; padding: 13px 14px 9px; font: 800 26px var(--sign); margin-top: 10px; }
.field::placeholder { color: #8a8678; font-weight: 700; }
.timerow { display: flex; gap: 12px; align-items: stretch; }
.timerow .field { margin: 0; flex: 1; min-width: 0; box-shadow: inset 0 0 0 3px var(--black), 0 6px 11px rgba(40, 30, 0, .4); }
.timerow .opt { min-width: 64px; justify-content: center; }
.datehide { position: absolute; opacity: 0; width: 1px; height: 1px; pointer-events: none; }

/* mileage sign: loads, town suggestions */
.miles { padding: 15px 18px 9px; }
.miles h2 { display: flex; justify-content: space-between; margin: 0 0 5px; font: 700 14px var(--sign); letter-spacing: .06em; opacity: .95; text-transform: uppercase; }
.miles .row { display: flex; width: 100%; justify-content: space-between; align-items: center; gap: 10px; padding: 9px 0 7px; background: none; border-top: 2px solid rgba(255, 255, 255, .3); }
.miles .row b { display: block; font: 800 21px/1.1 var(--sign); }
.miles .row span { display: block; font: 600 14.5px var(--sign); opacity: .95; margin-top: 2px; }
.miles .row i { font: 800 34px/1 var(--sign); font-style: normal; }
.miles .row i.here { font-size: 19px; }
.miles .more { width: 100%; background: none; text-align: center; font: 800 16px var(--sign); padding: 12px 0 8px; border-top: 2px solid rgba(255, 255, 255, .3); text-decoration: underline; text-underline-offset: 3px; }
.miles .row em { display: inline-block; font: 800 12.5px var(--sign); font-style: normal; letter-spacing: .04em; background: var(--yellow); color: var(--black); padding: 4px 7px 2px; border-radius: 4px; margin-top: 5px; }
.miles .hint { font: 600 14px var(--sign); padding: 8px 0 4px; border-top: 2px solid rgba(255, 255, 255, .3); opacity: .95; }
.miles.sug .row { padding: 13px 0 10px; }
.miles.sug .row b { font-size: 25px; }

/* warning, service and work-zone signs */
.warnrow { display: flex; align-items: center; gap: 8px; }
.dia { flex: none; width: 128px; height: 128px; position: relative; filter: drop-shadow(0 7px 8px rgba(40, 30, 0, .4)); }
.dia::before { content: ""; position: absolute; inset: 19px; transform: rotate(45deg); border-radius: 9px; background: var(--yellow); box-shadow: inset 0 0 0 2.5px var(--yellow), inset 0 0 0 5px var(--black); }
.dia b { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; font: 900 30px/1 var(--sign); color: var(--black); }
.dia b small { font: 800 12.5px var(--sign); letter-spacing: .06em; }
.plq { flex: 1; background: var(--yellow); color: var(--black); border-radius: 8px; padding: 10px 12px 7px; font: 800 16px/1.25 var(--sign);
  box-shadow: inset 0 0 0 2px var(--yellow), inset 0 0 0 4px var(--black), 0 6px 9px rgba(40, 30, 0, .35); }
.plq button { display: block; margin-top: 8px; background: var(--black); color: var(--yellow); border-radius: 6px; padding: 9px 12px 6px; font: 800 16px var(--sign); }
.blue { display: flex; align-items: center; gap: 13px; background: var(--blue); border-radius: 11px; padding: 12px 16px 9px;
  box-shadow: inset 0 0 0 3px var(--blue), inset 0 0 0 6px #fff, var(--drop); }
.blue b { font: 900 44px/1 var(--sign); }
.blue p { font: 700 16.5px/1.2 var(--sign); }
.blue.act { padding: 15px 18px 11px; font: 800 21px/1.15 var(--sign); }
.blue.act small { display: block; font: 600 14px var(--sign); margin-top: 2px; }
.err { background: var(--orange); color: var(--black); border-radius: 8px; padding: 11px 13px 8px; font: 800 17px/1.25 var(--sign);
  box-shadow: inset 0 0 0 2px var(--orange), inset 0 0 0 4px var(--black), 0 6px 9px rgba(40, 30, 0, .35); }

/* the interstate, with the driver's own rig on it */
.road { position: relative; height: 92px; margin-left: -18px; margin-right: -18px; }
.wrap.cordroom > .road { margin-right: -18px; }
.road .lane { position: absolute; left: 0; right: 0; bottom: 6px; width: 100%; height: 40px; }
.road .rig { position: absolute; left: 50%; bottom: 20px; width: 132px; margin-left: -66px; filter: drop-shadow(0 4px 3px rgba(40, 30, 0, .35)); }
.road .you { position: absolute; left: 50%; bottom: 68px; transform: translateX(-50%); white-space: nowrap; font: 800 13px var(--sign); color: #fff; background: var(--red); padding: 5px 9px 3px; border-radius: 5px; box-shadow: 0 3px 5px rgba(40, 30, 0, .35); }
.road .you::after { content: ""; position: absolute; left: 50%; bottom: -7px; margin-left: -6px; border: 6px solid transparent; border-bottom: 0; border-top-color: var(--red); }

/* the air-horn cord: pull it down to send */
.cord { position: fixed; top: 0; right: max(22px, calc(50vw - 193px)); width: 54px; height: min(610px, 72vh); display: flex; flex-direction: column; align-items: center; z-index: 9; pointer-events: none;
  filter: drop-shadow(3px 5px 4px rgba(0, 0, 0, .45)); transition: transform .25s cubic-bezier(.3, 1.6, .5, 1); }
.cord.drag { transition: none; }
.cord.done { height: 74px; }
.cord i { flex: 1; width: 8px; margin-top: -140px; background: radial-gradient(circle at 50% 50%, #f4f4f4 0 2.3px, #6d7074 2.5px 3.3px, transparent 3.5px) 0 0 / 8px 9px repeat-y; }
.cord b { width: 16px; height: 16px; border-radius: 50%; border: 3.5px solid #d9dadc; box-shadow: inset 0 0 0 1px #666, 0 0 0 1px #666; margin-top: -2px; }
.cord span { pointer-events: auto; touch-action: none; user-select: none; -webkit-user-select: none; cursor: grab; margin-top: -3px; width: 54px; padding: 11px 0 10px; border-radius: 9px 9px 18px 18px; text-align: center;
  font: 800 12px/1.1 var(--sign); letter-spacing: .04em; color: #fff; background: linear-gradient(90deg, #7c1410, #d22b22 30%, #e8473c 48%, #b81f18 75%, #6f110d);
  box-shadow: inset 0 2px 0 rgba(255, 255, 255, .35), inset 0 -3px 0 rgba(0, 0, 0, .3); }
.cord.done span { cursor: default; background: linear-gradient(90deg, #1f5c2d, #3d9a4f 35%, #55b367 50%, #2f7c3f 78%, #1b4f27); }
@media (prefers-reduced-motion: reduce) { .cord, .bmic.on { transition: none; animation: none; } }
@media (max-width: 350px) { .gs.big h1 { font-size: 34px; } .arr b { font-size: 25px; } .opt { font-size: 19px; } .cityrow .gs b { font-size: 26px; } }
