:root{--ink: #000000;--surface: #ffffff;--muted: #595959;--nav-height: 80px;--preview-height: 0px;--bar-height: calc(var(--nav-height) + var(--preview-height) + env(safe-area-inset-bottom));color:var(--ink);background:var(--surface);font-family:Inter,Arial,sans-serif;font-synthesis:none}:root.dark{--ink: #ffffff;--surface: #000000;--muted: #ffffff;color-scheme:dark}:root.large-text{font-size:125%}:root:has(.alert-strip){--preview-height: 48px}@layer base{html{background:var(--surface);scroll-behavior:smooth;scroll-padding-bottom:calc(var(--bar-height) + 12px)}body{margin:0;min-height:100vh;background:var(--surface);color:var(--ink);font-size:1rem;line-height:1.5}*,*:before,*:after{box-sizing:border-box}button,select{color:inherit;font:inherit}button{background:transparent;border:0;padding:0;cursor:pointer}button:disabled{opacity:.65;cursor:default}button,a{-webkit-tap-highlight-color:transparent}:focus-visible{outline:3px solid var(--ink);outline-offset:4px}h1,h2,h3,p{max-width:70ch}}.app-shell{width:100%;max-width:760px;min-height:100vh;margin:0 auto;padding:0 20px calc(var(--bar-height) + 24px);background:var(--surface)}.skip-link{position:fixed;z-index:100;top:8px;left:8px;translate:0 -150%;border:4px solid var(--ink);padding:8px 16px;background:var(--surface);color:var(--ink);font-weight:900}.skip-link:focus{translate:0}.topbar{display:flex;align-items:center;justify-content:space-between;min-height:80px;border-bottom:2px solid var(--ink)}.wordmark{font-size:1.5rem;font-weight:900;letter-spacing:-.06em}.wordmark span{margin-left:3px}.mode-button{display:inline-flex;align-items:center;gap:8px;min-height:44px;font-size:.75rem;font-weight:900;letter-spacing:.06em}.icon{flex:none;fill:none;stroke:currentColor;stroke-width:2;stroke-linecap:square;stroke-linejoin:miter}.doko{flex:none;color:var(--ink);fill:none;stroke:currentColor;stroke-width:2.5;stroke-linecap:round;stroke-linejoin:round}.welcome{display:grid;grid-template-columns:1fr auto;gap:16px;align-items:end;padding:40px 0 32px}h1{margin:4px 0 8px;font-size:clamp(2rem,9vw,3rem);font-weight:900;line-height:1.05;letter-spacing:-.045em}h2{margin:0;font-size:1.5rem;font-weight:900;line-height:1.2;letter-spacing:-.025em}h3{margin:2px 0 0;font-size:1.25rem;font-weight:900;line-height:1.25}.lede{color:var(--muted);font-size:1.125rem;line-height:1.5}.board-control{min-height:44px;padding:4px 8px;margin-bottom:16px;border:2px solid var(--ink);font-weight:700}.board-feedback{margin:0 0 16px}.button{display:inline-flex;min-height:52px;align-items:center;justify-content:center;gap:10px;border:2px solid var(--ink);padding:12px 16px;background:var(--ink);color:var(--surface);font-size:.8125rem;font-weight:900;letter-spacing:.03em;text-align:center}.button:active{transform:translate(2px,2px)}.button.full{width:100%;margin-top:24px}.trip-card{border:2px solid var(--ink);padding:20px}.status{display:inline-flex;width:fit-content;align-items:center;gap:5px;border:2px solid currentColor;padding:3px 7px;font-size:.75rem;font-style:normal;font-weight:700;line-height:1.4}.status b{font-size:.9375rem;line-height:1}.status-warning{border-width:4px;background:var(--ink);color:var(--surface)}.section-block{padding:40px 0 8px}.settings-section{border-top:2px solid var(--ink);padding:24px 0 32px}.settings-section h2{margin-bottom:12px}.toggle-row{display:flex;width:100%;min-height:64px;align-items:center;justify-content:space-between;gap:16px;border-bottom:2px solid var(--ink);text-align:left}.toggle-row{font-weight:700}.switch{display:flex;width:52px;height:30px;flex:none;align-items:center;border:2px solid var(--ink);padding:3px}.switch span{width:20px;height:20px;background:var(--ink)}.switch.on{justify-content:flex-end;background:var(--ink)}.switch.on span{background:var(--surface)}.bottom-bar{position:fixed;z-index:20;right:0;bottom:0;left:0;width:min(100%,760px);padding-bottom:env(safe-area-inset-bottom);margin:0 auto;background:var(--surface)}.alert-strip{display:flex;height:var(--preview-height);color:var(--surface);background:var(--ink);border:2px solid var(--ink)}.alert-preview{flex:1;min-width:0;padding:0 8px;text-align:left}.alert-preview b,.alert-preview span{display:block;font-size:.75rem}.alert-preview span{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.dismiss-alert{padding:0 10px;border-left:2px solid currentColor;font-size:.75rem}.bottom-nav{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));min-height:var(--nav-height);border-top:2px solid var(--ink)}.bottom-nav button{display:flex;min-width:0;flex-direction:column;align-items:center;justify-content:center;gap:4px;border-right:2px solid var(--ink);font-size:.6875rem;font-weight:700}.bottom-nav button:first-child{border-left:2px solid var(--ink)}.bottom-nav button[aria-current=page]{background:var(--ink);color:var(--surface)}.sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}@media(max-width:540px){.welcome{align-items:center;padding-top:32px}.welcome .doko{width:72px;height:72px}}@media(min-width:800px){.app-shell{border-right:2px solid var(--ink);border-left:2px solid var(--ink)}}.trip-card label,.settings-section label{display:block;margin-top:16px;font-weight:700}.trip-card select,.settings-section select{display:block;width:100%;min-height:44px;margin-block:6px 16px;border:2px solid var(--ink);padding:6px;background:var(--surface)}.data-list{margin:16px 0 0;padding:0;list-style:none;border-top:2px solid var(--ink)}.data-list li{display:grid;justify-items:start;gap:6px;padding-block:12px;border-bottom:2px solid var(--ink);overflow-wrap:anywhere}.station-link{min-height:44px;text-decoration:underline;font-weight:700}.bottom-bar button:focus-visible{outline-offset:-5px;outline-color:currentColor}@media(max-height:320px){:root{--nav-height: 48px}.bottom-nav button{line-height:1.15}.bottom-nav .icon{display:none}}@media(prefers-reduced-motion:reduce){html{scroll-behavior:auto}}
