
:root {
  color-scheme: light;
  --paper: #f8f7f2;
  --ink: #18201d;
  --muted: #4d5953;
  --yellow: #f4cb3d;
  --border: #d8ded7;
  font-family: system-ui, "Segoe UI", sans-serif;
  color: var(--ink);
  background: var(--paper);
}
* { box-sizing: border-box; }
body { margin: 0; min-height: 100svh; }
.frame { width: min(100% - 2.75rem, 70rem); margin-inline: auto; }
.head { border-bottom: 1px solid var(--border); }
.head .frame { min-height: 4.55rem; display: flex; align-items: center; }
.wordmark {
  color: var(--ink); text-decoration: none; font-size: 1.35rem; font-weight: 800;
  letter-spacing: -.05em; display: inline-flex; align-items: center; gap: .65rem;
}
.wordmark::before { content: ""; width: .85rem; height: .85rem; border-radius: .22rem; background: var(--yellow); }
main { display: grid; min-height: calc(100svh - 5rem); align-content: center; padding-block: 3.75rem 6rem; }
.lead { border-left: 5px solid var(--yellow); padding-inline-start: clamp(1.25rem, 4vw, 3.25rem); }
h1 { font-size: clamp(2.6rem, 8.7vw, 6rem); font-weight: 800; letter-spacing: -.065em; line-height: .98; margin: 0; max-width: 13ch; }
p { font-size: clamp(1rem, 2.6vw, 1.2rem); color: var(--muted); line-height: 1.62; max-width: 41ch; margin: 1.65rem 0 0; }
.return { display: inline-block; color: var(--ink); margin-top: 1.6rem; font-weight: 650; text-underline-offset: .22em; }
a:focus-visible { outline: 3px solid #8b6400; outline-offset: 6px; }
@media (min-width: 58rem) {
  main { min-height: 38rem; }
}
@media (max-width: 34rem) {
  .frame { width: calc(100% - 2rem); }
  main { padding-block: 2.8rem 4rem; }
}

.workspace { display: block; min-height: auto; padding-block: 2rem 4rem; }
.workspace h1 { font-size: clamp(2.1rem, 5.4vw, 3.4rem); max-width: 25ch; margin-bottom: 1.4rem; }
.workspace h2 { margin: 0 0 1rem; font-size: 1.3rem; letter-spacing: -.03em; }
.workspace p { max-width: 55ch; margin: 0 0 .85rem; }
.toolbar { display: flex; justify-content: space-between; align-items: center; color: var(--muted); gap: 1rem; margin-bottom: 1rem; }
.card { background: white; border: 1px solid var(--border); border-radius: .9rem; margin-block: 1rem; padding: clamp(1.1rem, 3vw, 1.8rem); }
.access { max-width: 30rem; }
.form-grid { display: grid; grid-template-columns: repeat(auto-fit,minmax(min(100%, 14rem),1fr)); gap: .8rem; align-items: end; }
label { display: grid; gap: .4rem; font-size: .9rem; font-weight: 650; margin-bottom: .8rem; }
.form-grid label { margin-bottom: 0; }
input, select, button { font: inherit; border-radius: .38rem; }
input:not([type=checkbox]), select { width: 100%; min-height: 2.7rem; color: var(--ink); background: white; border: 1px solid #a9b5ac; padding: .45rem .6rem; }
button, .site-link { font-weight: 700; color: var(--ink); background: var(--yellow); border: 1px solid transparent; padding: .56rem .9rem; min-height: 2.7rem; cursor: pointer; }
.site-link { display:inline-block; text-decoration:none; border-radius:.38rem; margin-top:1.3rem; }
.secondary { background: white; border-color: var(--border); }
.check { display: flex; align-items: center; gap: .4rem; }
details { border-bottom: 1px solid var(--border); padding: .85rem 0; }
details:last-child { border-bottom: 0; padding-bottom: 0; }
summary { cursor: pointer; font-weight: 750; }
details[open] summary { margin-bottom: 1rem; }
.state { color: var(--muted); font-weight: 450; margin-left: .5rem; }
.table-wrap { overflow-x: auto; }
table { width: 100%; border-collapse: collapse; }
th, td { padding: .7rem .6rem; border-bottom: 1px solid var(--border); text-align: left; }
.notice { background: #faebba; padding: .8rem; border-radius: .4rem; }
.otp-key { display: block; overflow-wrap: anywhere; padding: .8rem; margin: 1rem 0; background: var(--paper); }
.driver-actions { display: grid; justify-items: start; gap: .35rem; }
.driver-actions button { min-height: 2rem; font-size: .82rem; }
.loc-detail { display: block; font-size: .79rem; color: var(--muted); margin-top: .3rem; }
