:root { --bg:#FCFDFC; --fg:#14213d; --muted:#5d6b85; --line:#e3e8f2; --navy:#0D24B1; --coral:#DE6471; --green:#068532; --amber:#b7791f; --soft:#EEF2FB; --cream:#FBF6EA; }
* { box-sizing:border-box; }
html, body { margin:0; background:var(--bg); color:var(--fg); font:16px/1.45 Nunito, system-ui, -apple-system, "Segoe UI", Roboto, sans-serif; }
main { max-width:620px; margin:0 auto; padding:14px 14px 40px; }
.top { display:flex; align-items:center; justify-content:space-between; padding:8px 14px; border-bottom:1px solid var(--line); background:#fff; position:sticky; top:0; z-index:5; }
.logo { display:flex; align-items:center; gap:8px; font-weight:900; font-size:18px; color:var(--navy); text-decoration:none; }
.logo img { width:30px; height:30px; }
.acts { display:flex; gap:6px; align-items:center; }
.acts button, .acts a { font:inherit; font-size:13px; font-weight:800; border:2px solid var(--line); border-radius:999px; padding:4px 10px; background:#fff; color:var(--muted); text-decoration:none; cursor:pointer; }
h1 { font-size:30px; margin:8px 0 6px; font-weight:900; color:var(--navy); letter-spacing:-.3px; }
h2 { font-size:17px; margin:18px 0 8px; font-weight:900; }
h2.green { color:var(--green); } h2.yellow { color:var(--amber); } h2.grey { color:var(--muted); }
h2 small { font-weight:700; color:var(--muted); }
.lead { color:var(--muted); margin:0 0 16px; }
.field { position:relative; margin-bottom:12px; }
.field label { display:block; font-size:13px; font-weight:800; color:var(--muted); margin-bottom:4px; }
input { width:100%; padding:12px 12px; border:2px solid #cfd8ea; border-radius:12px; font:inherit; background:#fff; }
input:focus { outline:none; border-color:var(--navy); }
.row { display:flex; gap:8px; align-items:center; }
.row input { flex:1; }
button { font:inherit; padding:10px 12px; border:2px solid #cfd8ea; background:#fff; border-radius:12px; cursor:pointer; font-weight:700; }
button.primary { background:var(--coral); color:#fff; border-color:var(--coral); font-weight:900; border-radius:999px; padding:12px 18px; flex:1; }
.sugg { position:absolute; z-index:6; left:0; right:0; background:#fff; border:2px solid #cfd8ea; border-top:0; border-radius:0 0 12px 12px; max-height:260px; overflow:auto; }
.sugg div { padding:8px 10px; cursor:pointer; display:flex; flex-direction:column; }
.sugg div:hover { background:var(--soft); }
.sugg small, .near small { color:var(--muted); }
#near { margin-top:8px; display:flex; flex-direction:column; gap:6px; }
button.near { text-align:left; display:flex; flex-direction:column; }
.err { color:var(--coral); font-weight:800; min-height:1.2em; }
details.how { margin-top:18px; background:var(--cream); border-radius:14px; padding:10px 14px; }
details.how summary { font-weight:800; cursor:pointer; }
details.how ol { margin:8px 0 0; padding-left:20px; }
.hdr { position:sticky; top:52px; background:var(--bg); padding:8px 0 10px; z-index:4; border-bottom:1px solid var(--line); }
.od { font-weight:900; font-size:17px; color:var(--navy); }
.muted { color:var(--muted); font-size:14px; }
#list { padding-top:4px; }
button.bus { width:100%; display:flex; gap:12px; align-items:flex-start; text-align:left; margin:0 0 8px; padding:10px 12px; border-width:3px; border-radius:16px; background:#fff; }
button.bus.green { border-color:var(--green); } button.bus.yellow { border-color:var(--amber); } button.bus.grey { border-color:var(--line); opacity:.85; }
.bus .num { flex:none; min-width:64px; text-align:center; font-weight:900; font-size:22px; color:#fff; background:var(--navy); border-radius:999px; padding:6px 10px; }
.bus .num.ac { background:var(--green); }
.bus.grey .num { background:#9aa5b8; }
.bus .txt { display:flex; flex-direction:column; gap:2px; }
.bus .txt b { font-size:18px; }
.bus .why { font-size:14px; color:var(--fg); }
dialog { border:3px solid var(--navy); border-radius:18px; max-width:520px; width:calc(100% - 28px); padding:18px; font:inherit; }
dialog::backdrop { background:rgba(13,36,177,.35); }
dialog h2 { margin:0 0 8px; font-size:22px; }
dialog button { margin:8px 8px 0 0; }
dialog .primary { flex:none; }
.phrase { background:var(--soft); border-radius:12px; padding:10px 12px; font-size:17px; }

.row.time { margin-bottom:10px; font-size:14px; }
.row.time select { flex:1; padding:10px; border:2px solid #cfd8ea; border-radius:12px; font:inherit; background:#fff; }
.chk { display:flex; align-items:center; gap:6px; white-space:nowrap; font-weight:800; }
.chk input { width:auto; }

#side { margin:10px 0; display:flex; flex-direction:column; gap:8px; }
.side-q { font-weight:900; font-size:17px; color:var(--navy); }
button.side { text-align:left; font-size:17px; font-weight:800; border-color:var(--navy); padding:12px 14px; }
button.side.both { border-color:var(--line); color:var(--muted); font-weight:700; }
button.lnk { border:0; background:none; color:var(--navy); text-decoration:underline; padding:0; font-size:14px; }
