:root{--f-body:"IBM Plex Sans Thai","Noto Sans Thai",Thonburi,Tahoma,sans-serif;--f-display:"Mitr","IBM Plex Sans Thai",Thonburi,sans-serif;--f-mono:"IBM Plex Mono",ui-monospace,Menlo,monospace;--f-cute:"Mali","Mitr",Thonburi,cursive}
/* ---------- output sheets: print documents, deliberately light in both themes ---------- */
.sheet-scroll{overflow-x:auto}
.sheet{background:#fff;color:#1a1a1a;border-radius:4px;box-shadow:0 1px 3px rgba(0,0,0,.18);padding:28px;min-width:640px}
.sheet .ow{color:#9A5B00;font-size:.92em}
.sheet a.pl.amap{font-size:11px;color:#1F6FB2;border-bottom:0;font-weight:400}
.sheet a.pl{color:inherit;text-decoration:none;border-bottom:1px dotted #7A9AA8}.sheet a.pl.route{font-size:12px;color:#1F6FB2;border-bottom:0;white-space:nowrap}.formal a.pl{border-bottom:0}
.formal{font-family:Georgia,"Times New Roman",serif;font-size:13.5px}
.formal h2{font-family:inherit;font-weight:700;text-align:center;letter-spacing:.12em;font-size:17px;color:#111}
.formal .who{margin:14px 0;display:grid;grid-template-columns:auto 1fr;gap:2px 12px}
.formal table{border-collapse:collapse;width:100%}
.formal th,.formal td{border:1px solid #333;padding:6px 8px;vertical-align:top;text-align:left;color:#111}
.formal th{background:#eee;font-size:12.5px}
.clean{font-family:var(--f-body);font-size:13.5px}
.clean h2{color:#14272D;text-align:center;font-size:22px}
.clean .sub{text-align:center;color:#5A6F77;margin-bottom:14px}
.clean table{border-collapse:separate;border-spacing:0;width:100%}
.clean th{background:#14272D;color:#fff;padding:8px;text-align:left;font-weight:500;font-family:var(--f-display)}
.clean td{padding:7px 8px;border-bottom:1px solid rgba(0,0,0,.08);vertical-align:top;color:#1a1a1a}
.clean td.dcell{font-family:var(--f-display);font-size:15px;width:96px;color:#14272D}
.clean td.t{font-family:var(--f-mono);white-space:nowrap;font-size:12.5px}
.clean tr.d0 td{background:#FDECEF}.clean tr.d1 td{background:#E6F3FB}.clean tr.d2 td{background:#E9F6E9}.clean tr.d3 td{background:#FFF3DC}.clean tr.d4 td{background:#EFEAFA}
.cute{font-family:var(--f-cute);background:linear-gradient(#DFF3FF,#FFF4F7 40%,#FFF9E8);min-width:700px}
.cute h2{font-family:var(--f-cute);font-weight:600;font-size:34px;text-align:center;color:#E8467C;letter-spacing:.02em}
.cute .sub{text-align:center;color:#3C6E8F;font-size:16px;margin-bottom:16px}
.cute .cols{display:grid;grid-template-columns:repeat(auto-fit,minmax(200px,1fr));gap:14px}
.cute .dcol{background:#fff;border:2px dashed var(--dc);border-radius:22px;padding:12px;display:flex;flex-direction:column;gap:8px}
.cute .dtag{align-self:flex-start;background:var(--dc);color:#fff;border-radius:999px;padding:2px 14px;font-weight:600;font-size:17px}
.cute .dcity{color:#555;font-size:14px}
.cute .stop{display:grid;grid-template-columns:26px 1fr;gap:6px;align-items:start;color:#222;font-size:14px}
.cute .stop .n{width:24px;height:24px;border-radius:50%;background:var(--dc);color:#fff;display:grid;place-items:center;font-size:13px;font-weight:600}
.cute .stop .tm{color:#777;font-size:12.5px}
.cute .foot{margin-top:16px;text-align:center;color:#E8467C;font-size:15px}
/* หน้าแชร์ (อ่านอย่างเดียว) */
*{box-sizing:border-box}
body{margin:0;background:#EEF2F4;color:#1a1a1a;font-family:var(--f-body)}
.wrap{max-width:1100px;margin:0 auto;padding:16px}
.bar{display:flex;justify-content:space-between;align-items:center;gap:12px;flex-wrap:wrap;font-size:13px;color:#5A6F77;margin-bottom:10px}
.bar b{font-family:var(--f-display);color:#14272D;font-size:15px}
.hint{font-size:13px;color:#5A6F77;margin:10px 2px}
.brand{margin:22px 0 8px;text-align:center;font-size:12.5px;color:#8a9aa0}
.brand a{color:#8a9aa0}
@media (max-width:600px){.wrap{padding:8px}.sheet{padding:14px}.cute{min-width:0}.cute h2{font-size:24px}.cute .cols{grid-template-columns:1fr}}
@media print{body{background:#fff}.bar,.hint,.brand{display:none}.sheet{box-shadow:none}}
/* หน้าแชร์แบบการ์ดรายวัน (27 ก.ย. 2026) — ออกแบบให้อ่านบนมือถือก่อน */
.shv{max-width:720px;margin:0 auto;font-family:var(--f-body);color:#1a1a1a}
.shv h2{font-family:var(--f-display);font-weight:500;color:#14272D;font-size:24px;margin:6px 0 2px;text-align:center}
.shv .sub{text-align:center;color:#5A6F77;font-size:14px;margin-bottom:10px}
.shv .dnav{display:flex;gap:6px;overflow-x:auto;padding:4px 0 10px;position:sticky;top:0;background:#EEF2F4;z-index:2}
.shv .dnav a{flex:none;background:#fff;border:1px solid #D0DBDF;border-radius:999px;padding:5px 12px;font-size:13px;color:#14272D;text-decoration:none}
.sday{background:#fff;border-radius:14px;box-shadow:0 1px 3px rgba(0,0,0,.12);padding:14px;margin:0 0 14px;border-top:5px solid var(--dc,#E0457B);scroll-margin-top:52px}
.sday.c0{--dc:#E0457B}.sday.c1{--dc:#2F8FD0}.sday.c2{--dc:#2FA35E}.sday.c3{--dc:#E58A1F}.sday.c4{--dc:#7C5BD0}
.sdh{display:flex;flex-wrap:wrap;gap:4px 10px;align-items:baseline}
.sdh b{font-family:var(--f-display);font-weight:500;font-size:19px;color:#14272D}
.sdh span{color:#5A6F77;font-size:14px}
.ssum{font-size:13px;color:#5A6F77;margin:4px 0 8px}
img.daymap{display:block;width:100%;height:auto;aspect-ratio:2/1;object-fit:cover;border-radius:10px;background:#E2EAEC;margin:6px 0 8px}
.sroute{display:flex;flex-direction:column;gap:6px;margin:4px 0 10px}
.sbtn{display:block;background:#E8F2FA;color:#1F5F92;border:1px solid #BFD9EE;border-radius:10px;padding:9px 12px;font-size:14px;text-decoration:none;line-height:1.35}
.sstop{display:grid;grid-template-columns:30px 1fr;gap:8px;align-items:start;padding:6px 0}
.sstop .n{width:28px;height:28px;border-radius:50%;background:var(--dc);color:#fff;display:grid;place-items:center;font-size:14px;font-weight:600;font-family:var(--f-display)}
.sstop .n.f{background:#5A6F77}
.sstop .tm{font-family:var(--f-mono);font-size:12.5px;color:#5A6F77}
.sstop b{font-weight:600;font-size:15.5px}
.sstop b a.pl{color:#14272D;text-decoration:none;border-bottom:1px dotted #7A9AA8}
.sstop .loc{font-size:15px;color:#333}
.sstop .nt{font-size:13px;color:#5A6F77;margin-top:2px}
.sleg{margin-left:13px;padding:2px 0 2px 25px;border-left:2px dotted #C5D3D8;font-size:12.5px;color:#5A6F77}
.sstay{margin-top:8px;padding-top:8px;border-top:1px dashed #D0DBDF;font-size:14px}
.sstay a.pl{color:#14272D;text-decoration:none;border-bottom:1px dotted #7A9AA8}
.sempty{color:#8a9aa0;font-size:14px}
@media print{.shv .dnav,.sroute{display:none}.sday{box-shadow:none;break-inside:avoid;border:1px solid #ddd}}
.stheme{font-weight:600;color:#1F6F7A;font-size:14px;margin-top:2px}
