* { box-sizing: border-box; }
[hidden] { display: none !important; }
:root { color-scheme: light; font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif; color: #19333c; background: #f4f7f6; }
body { margin: 0; line-height: 1.5; }
a { color: inherit; }
button, input, select { font: inherit; }
button, a, input, select { -webkit-tap-highlight-color: transparent; }
button { cursor: pointer; }
button:disabled { cursor: wait; opacity: .65; }
:focus-visible { outline: 3px solid #dd9c3b; outline-offset: 3px; }
.driver-header { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 16px max(16px, calc((100vw - 920px) / 2)); background: #123e50; color: white; }
.driver-brand { display: flex; align-items: center; gap: 12px; text-decoration: none; font-size: 17px; font-weight: 700; }
.driver-brand__mark { display: grid; place-items: center; width: 43px; height: 43px; border: 1px solid #ffffff70; border-radius: 13px; font-size: 16px; flex-shrink: 0; }
.driver-brand__subtitle { display: block; font-size: 12px; font-weight: 400; color: #d3e7ea; }
.driver-main { width: min(100%, 920px); margin: 0 auto; padding: 26px 16px 48px; }
h1, h2, h3, h4, p { margin-top: 0; }
h1 { font-size: clamp(28px, 5vw, 38px); letter-spacing: -.8px; margin-bottom: 6px; }
.driver-heading p { margin-bottom: 18px; }
.driver-eyebrow { color: #426b75; font-size: 13px; font-weight: 650; margin-bottom: 5px !important; }
.driver-controls { display: flex; align-items: end; flex-wrap: wrap; gap: 12px; padding: 18px; background: white; border: 1px solid #dde6e5; border-radius: 16px; }
.driver-field { display: flex; flex-direction: column; gap: 5px; min-width: 0; }
.driver-controls .driver-field { flex: 1 1 130px; }
.driver-field label { font-size: 13px; font-weight: 650; }
.driver-field input, .driver-field select { display: block; width: 100%; min-width: 0; min-height: 44px; border: 1px solid #bacdd1; border-radius: 9px; background: white; color: #19333c; padding: 8px 10px; }
.driver-button { min-height: 44px; padding: 10px 17px; background: #166579; border: 1px solid #166579; border-radius: 9px; color: white; font-weight: 650; }
.driver-button--secondary { background: white; color: #16495b; border-color: #a7c2ca; }
.driver-link-button { border: 0; background: transparent; color: white; padding: 8px 0; font-size: 13px; text-decoration: underline; }
.driver-link-button--dark { color: #16495b; }
.driver-status { padding: 15px 3px; color: #48626c; font-size: 13px; }
.driver-status--error { color: #944229; font-weight: 600; }
.driver-day { margin-bottom: 20px; border: 1px solid #dde6e5; border-radius: 16px; background: white; overflow: hidden; }
.driver-day > h2 { padding: 15px 18px; margin: 0; background: #e8f0ef; color: #214f59; font-size: 18px; }
.driver-kind { padding: 14px 18px 2px; }
.driver-kind h3 { font-size: 12px; text-transform: uppercase; letter-spacing: .6px; color: #537079; margin-bottom: 8px; }
.driver-event { display: grid; grid-template-columns: 112px minmax(0, 1fr); gap: 16px; padding: 12px 0; border-top: 1px solid #edf1f1; }
.driver-event__when span { display: block; font-size: 12px; color: #5f727a; }
.driver-event__when strong { font-size: 21px; }
.driver-event__detail h4 { font-size: 17px; margin-bottom: 3px; overflow-wrap: anywhere; }
.driver-event__detail p { font-size: 14px; color: #48626c; margin-bottom: 0; overflow-wrap: anywhere; }
.driver-empty { padding: 30px 18px; border: 1px dashed #b9cccd; border-radius: 15px; text-align: center; color: #48626c; background: white; }
.driver-tools { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; margin: 28px 0 20px; }
.driver-tools > div { padding: 18px; background: #eaf0ee; border-radius: 14px; }
.driver-tools h2 { font-size: 16px; margin-bottom: 10px; }
.driver-help { color: #536e77; font-size: 13px; margin: 10px 0 0; overflow-wrap: anywhere; }
.driver-auth-card { max-width: 440px; margin: 32px auto; background: white; border: 1px solid #dde6e5; border-radius: 18px; padding: 25px; }
.driver-auth-card h1 { font-size: 29px; }
.driver-auth-form { display: grid; gap: 16px; margin: 22px 0; }
.driver-flash { padding: 14px 16px; margin-bottom: 18px; background: #e3f1e7; border: 1px solid #bad2c1; border-radius: 12px; }
.driver-flash--error { background: #fff1e9; border-color: #e5b59e; }
@media (max-width: 540px) {
  .driver-main { padding-top: 22px; }
  .driver-header { padding: 14px 16px; }
  .driver-controls { gap: 10px; padding: 14px; }
  .driver-controls .driver-button { width: 100%; }
  .driver-event { grid-template-columns: 94px minmax(0, 1fr); gap: 12px; }
  .driver-kind { padding-inline: 14px; }
  .driver-day > h2 { padding-inline: 14px; }
  .driver-tools { grid-template-columns: 1fr; gap: 14px; }
}
