:root { color-scheme: dark; font-family: Inter, ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif; background: #0c1727; color: #f6f8ff; }
* { box-sizing: border-box; }
body { margin: 0; }
button, textarea { font: inherit; }
button { cursor: pointer; }
.shell { max-width: 1080px; margin: 0 auto; padding: 30px 20px 60px; }
.header { display: flex; justify-content: space-between; align-items: flex-start; gap: 25px; }
.eyebrow { text-transform: uppercase; letter-spacing: .11em; color: #91b2e8; font-size: .8rem; font-weight: 700; }
h1 { font-size: clamp(1.65rem, 4vw, 2.7rem); line-height: 1.16; margin: 5px 0 8px; }
.intro { color: #b8c7dc; margin: 0 0 25px; }
.controls { display: flex; align-items: center; gap: 16px; flex-shrink: 0; }
#clock { font-variant-numeric: tabular-nums; font-size: 1.4rem; font-weight: 700; }
button { border: 1px solid #43618b; border-radius: 9px; padding: 9px 12px; background: #1c3150; color: #f5f8ff; }
button:hover, button:focus-visible { border-color: #a4caff; background: #264269; }
button:disabled { opacity: .5; cursor: wait; }
.notice { padding: 12px 15px; border: 1px solid #365475; background: #162b45; color: #c5d9f6; border-radius: 10px; }
.board { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 17px; }
.stop-card { background: #152238; border: 1px solid #2d405d; border-radius: 15px; overflow: hidden; min-width: 0; }
.stop-top { padding: 18px 19px 11px; display: flex; align-items: center; gap: 14px; }
.line { font-size: 1.38rem; font-weight: 800; background: #e7f2ff; color: #123457; border-radius: 9px; width: 60px; height: 47px; display: grid; place-items: center; flex-shrink: 0; }
.stop-name { font-size: 1.16rem; font-weight: 700; margin: 0 0 3px; }
.meta { color: #9eb3ce; font-size: .82rem; }
.direction { padding: 12px 19px 16px; border-top: 1px solid #2b3c53; }
.direction h3 { margin: 0 0 11px; font-size: .96rem; color: #c5d8ef; font-weight: 600; }
.times { display: flex; flex-wrap: wrap; align-items: center; gap: 9px; min-height: 43px; }
.time { background: #25456b; padding: 7px 10px; border-radius: 8px; font-size: 1.2rem; font-variant-numeric: tabular-nums; font-weight: 700; }
.time small { display: block; font-weight: 400; color: #c0d3ed; font-size: .7rem; }
.empty { color: #aabed6; font-size: .87rem; }
details { border-top: 1px solid #2b3c53; padding: 13px 19px 18px; }
summary { cursor: pointer; color: #b4cdea; font-size: .85rem; }
label { display: block; margin: 13px 0 6px; font-size: .84rem; }
textarea { width: 100%; resize: vertical; background: #0b192a; color: white; border: 1px solid #47638a; padding: 9px; border-radius: 7px; }
.hint { font-size: .78rem; color: #a3b7d3; margin: 7px 0 13px; }
.actions { display: flex; flex-wrap: wrap; gap: 9px; }
.candidates { display: flex; flex-direction: column; gap: 7px; margin-top: 9px; }
.candidates button { text-align: left; font-size: .8rem; overflow-wrap: anywhere; }
.status { margin: 9px 19px 16px; font-size: .76rem; color: #9ab2d1; }
footer { color: #829ab9; font-size: .75rem; margin-top: 25px; }
@media(max-width: 720px) { .header { flex-direction: column; gap: 6px; } .controls { width: 100%; justify-content: space-between; margin-bottom: 12px; } .board { grid-template-columns: 1fr; } .shell { padding: 20px 13px 40px; } }
