:root { color-scheme: dark; font-family: Inter, ui-sans-serif, system-ui, sans-serif; color: #f7f4ef; background: #080808; line-height: 1.6; }
* { box-sizing: border-box; }
body { margin: 0; }
a { color: #f7f4ef; text-underline-offset: .2em; }
:focus-visible { outline: 3px solid #d7ff3f; outline-offset: 4px; }
.topbar, .footer { display: flex; flex-wrap: wrap; align-items: center; gap: 24px; padding: 20px max(20px, calc((100% - 1200px) / 2)); border-block: 1px solid #2b2b2b; }
.topbar a, .footer a { display: inline-flex; min-height: 44px; align-items: center; font-weight: 700; }
main { width: min(100% - 40px, 1200px); margin: 48px auto; min-height: 50vh; }
main > section { padding: 24px; border: 1px solid #2b2b2b; border-radius: 16px; background: #111; }
h1 { font-size: clamp(2rem, 5vw, 3.5rem); line-height: 1.1; letter-spacing: -.03em; overflow-wrap: anywhere; }
p { color: #c5c2bc; }
.hero { display: grid; gap: 24px; }
.field-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
.field { display: grid; gap: 6px; min-width: 0; }
/* More-specific legacy route Workers can replace the enhancer stylesheet.
   Keep its small section labels readable through that later injection. */
#driver-checkin-form .kfp-section-index { color: #ff6670; }
input, textarea, select, button { font: inherit; }
input, textarea, select { width: 100%; min-height: 44px; border: 1px solid #777; border-radius: 8px; padding: 10px; background: #080808; color: #f7f4ef; }
.actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 24px; }
button, .btn { display: inline-flex; align-items: center; justify-content: center; min-height: 44px; padding: 10px 20px; border: 1px solid #777; border-radius: 24px; background: #bd1d28; color: #fff; font-weight: 700; text-decoration: none; cursor: pointer; }
button[type=reset] { background: #181818; }
button:disabled { opacity: .65; cursor: wait; }
.skip-link { position: fixed; top: 8px; left: 8px; z-index: 10; padding: 8px 16px; background: #d7ff3f; color: #080808; transform: translateY(-160%); }
.skip-link:focus { transform: none; }
@media (max-width: 600px) { .field-grid { grid-template-columns: 1fr; } main { margin-block: 24px; } main > section { padding: 20px; } }
