:root{--blue:#1f5fbf;--blue-dark:#174a96;--blue-soft:#e6eefb;--green:#1d7a46;--green-soft:#e3f4ea;--amber:#9a5b00;--amber-soft:#fff3dc;--red:#b42318;--red-soft:#fde8e6;--bg:#f4f6f9;--surface:#fff;--surface-2:#f8f9fb;--line:#dde2ea;--text:#1b1f24;--muted:#5b6573;--shadow:0 1px 2px #1018280f, 0 1px 3px #10182814;--radius:14px;--nav-height:64px;--grid-line:#eef1f5;--hatch-a:#eef1f5;--hatch-b:#d5dbe4;--lightningcss-light:initial;--lightningcss-dark: ;color-scheme:light;color:var(--text);background:var(--bg);-webkit-text-size-adjust:100%;font-family:system-ui,-apple-system,Segoe UI,Roboto,Helvetica Neue,Arial,sans-serif;font-size:16px;line-height:1.45}@media (prefers-color-scheme:dark){:root{--blue:#6aa1ff;--blue-dark:#8fb8ff;--blue-soft:#1c2b45;--green:#5fd391;--green-soft:#173325;--amber:#ffc361;--amber-soft:#3a2b12;--red:#ff8a80;--red-soft:#3d1b19;--bg:#111418;--surface:#1a1e24;--surface-2:#20252c;--line:#2e353f;--text:#e8ebef;--muted:#a3acb8;--shadow:none;--grid-line:#262c34;--hatch-a:#20252c;--hatch-b:#353d48;--lightningcss-light: ;--lightningcss-dark:initial;color-scheme:dark}}*{box-sizing:border-box}body{background:var(--bg);min-height:100vh;margin:0}body.no-scroll{overflow:hidden}h1,h2,h3{margin:0;line-height:1.25}h1{font-size:1.25rem}h2{font-size:1.05rem}h3{font-size:.98rem}p{margin:.4rem 0}a{color:var(--blue)}.app{min-height:100vh;padding-bottom:calc(var(--nav-height) + env(safe-area-inset-bottom) + 16px)}.topbar{z-index:20;min-height:56px;padding:calc(env(safe-area-inset-top) + 8px) 16px 8px;background:var(--surface);border-bottom:1px solid var(--line);align-items:center;gap:8px;display:flex;position:sticky;top:0}.topbar h1{text-overflow:ellipsis;white-space:nowrap;flex:1;min-width:0;overflow:hidden}.content{width:100%;max-width:760px;margin:0 auto;padding:16px}.content-wide{max-width:1200px}.bottomnav{z-index:30;height:calc(var(--nav-height) + env(safe-area-inset-bottom));padding-bottom:env(safe-area-inset-bottom);background:var(--surface);border-top:1px solid var(--line);justify-content:space-around;display:flex;position:fixed;inset:auto 0 0}.bottomnav a{color:var(--muted);flex-direction:column;flex:1;justify-content:center;align-items:center;gap:2px;font-size:.72rem;text-decoration:none;display:flex;position:relative}.bottomnav a.active{color:var(--blue);font-weight:600}.nav-dot{background:var(--red);color:#fff;text-align:center;border-radius:9px;min-width:18px;height:18px;padding:0 5px;font-size:.68rem;font-weight:700;line-height:18px;position:absolute;top:8px;left:calc(50% + 8px)}@media (width>=900px){.app{padding-bottom:24px;padding-left:220px}.bottomnav{border-top:0;border-right:1px solid var(--line);flex-direction:column;justify-content:flex-start;width:220px;height:100vh;padding:16px 8px;inset:0 auto 0 0}.bottomnav a{border-radius:10px;flex-direction:row;flex:none;justify-content:flex-start;gap:12px;padding:10px 12px;font-size:.95rem}.bottomnav a.active{background:var(--blue-soft)}.nav-dot{position:static}}.section{margin-bottom:20px}.section-head{justify-content:space-between;align-items:center;gap:12px;margin-bottom:8px;display:flex}.card{background:var(--surface);border:1px solid var(--line);border-radius:var(--radius);box-shadow:var(--shadow);padding:14px}.card+.card{margin-top:10px}.card-click{cursor:pointer}.card-click:active{background:var(--surface-2)}.row{align-items:center;gap:8px;display:flex}.row-wrap{flex-wrap:wrap}.row-between{justify-content:space-between}.gap-s{gap:6px}.stack>*+*{margin-top:10px}.grow{flex:1;min-width:0}.muted{color:var(--muted)}.small{font-size:.86rem}.strong{font-weight:600}.nowrap{white-space:nowrap}.right{text-align:right}.grid-2{grid-template-columns:1fr 1fr;gap:10px;display:grid}.grid-2>*,.grid-3>*,.row>*{min-width:0}.row>svg,.row>.icon-btn{flex-shrink:0}.time-range{grid-template-columns:1fr auto 1fr;align-items:center;gap:8px;display:grid}.grid-3{grid-template-columns:repeat(3,1fr);gap:8px;display:grid}.grid-4{grid-template-columns:repeat(4,1fr);gap:8px;display:grid}.grid-4>*{min-width:0}@media (width<=420px){.grid-4{grid-template-columns:1fr 1fr}.grid-2.collapse{grid-template-columns:1fr}}.btn{border:1px solid var(--line);background:var(--surface);min-height:44px;color:var(--text);font:inherit;text-align:center;cursor:pointer;border-radius:12px;justify-content:center;align-items:center;gap:6px;padding:0 16px;font-weight:600;line-height:1.25;text-decoration:none;display:inline-flex}.btn:disabled,.btn[aria-disabled=true]{opacity:.55;cursor:default}.btn-two-line>span{flex-direction:column;align-items:center;line-height:1.2;display:flex}.btn-two-line small{font-size:12px;font-weight:400}.ride-reason{text-align:center;margin:-4px 0 0}.btn-primary{border-color:var(--blue);background:var(--blue);color:#fff}@media (prefers-color-scheme:dark){.btn-primary{color:#0b1220}}.btn-ghost{color:var(--blue);background:0 0;border-color:#0000}.btn-danger{border-color:var(--red);color:var(--red);background:0 0}.btn-small{white-space:nowrap;border-radius:10px;min-height:36px;padding:0 12px;font-size:.9rem}.btn-block{width:100%}.icon-btn{width:40px;height:40px;color:var(--text);cursor:pointer;background:0 0;border:0;border-radius:10px;justify-content:center;align-items:center;display:inline-flex}.icon-btn:hover{background:var(--surface-2)}.field{flex-direction:column;gap:4px;margin-bottom:12px;display:flex}.field-label{font-size:.88rem;font-weight:600}.field-hint{color:var(--muted);font-size:.82rem}.input{border:1px solid var(--line);background:var(--surface);width:100%;min-width:0;min-height:44px;color:var(--text);font:inherit;border-radius:10px;padding:10px 12px}.input:focus{outline:2px solid var(--blue);outline-offset:0;border-color:var(--blue)}.textarea{resize:vertical;min-height:120px}.select{appearance:auto}.input-small{min-height:38px;padding:6px 8px}.toggle{cursor:pointer;align-items:center;gap:10px;min-height:40px;display:flex}.toggle input{width:20px;height:20px;accent-color:var(--blue)}.banner{border-radius:12px;align-items:flex-start;gap:10px;margin-bottom:12px;padding:12px;font-size:.93rem;display:flex}.banner svg{flex:none;margin-top:1px}.banner-info{background:var(--blue-soft);color:var(--text)}.banner-warn{background:var(--amber-soft);color:var(--text)}.banner-warn svg{color:var(--amber)}.banner-error{background:var(--red-soft);color:var(--text)}.banner-error svg{color:var(--red)}.banner-success{background:var(--green-soft)}.banner-success svg{color:var(--green)}.badge{white-space:nowrap;border-radius:999px;align-items:center;gap:4px;padding:2px 8px;font-size:.76rem;font-weight:600;display:inline-flex}.badge-neutral{background:var(--surface-2);color:var(--muted);border:1px solid var(--line)}.badge-blue{background:var(--blue-soft);color:var(--blue)}.badge-green{background:var(--green-soft);color:var(--green)}.badge-amber{background:var(--amber-soft);color:var(--amber)}.badge-red{background:var(--red-soft);color:var(--red)}.loading,.empty{color:var(--muted);text-align:center;flex-direction:column;align-items:center;gap:10px;padding:36px 16px;display:flex}.spinner{border:3px solid var(--line);border-top-color:var(--blue);border-radius:50%;width:26px;height:26px;animation:.8s linear infinite spin}.spinner-inline{border-width:2px;width:16px;height:16px}@keyframes spin{to{transform:rotate(360deg)}}.sheet-backdrop{z-index:50;background:#0006;justify-content:center;align-items:flex-end;display:flex;position:fixed;inset:0}.sheet{background:var(--surface);width:100%;max-width:640px;max-height:92vh;padding-bottom:env(safe-area-inset-bottom);border-radius:18px 18px 0 0;flex-direction:column;display:flex}@media (width>=700px){.sheet-backdrop{align-items:center}.sheet{border-radius:18px}}.sheet-head{justify-content:space-between;align-items:center;gap:8px;padding:14px 12px 8px 16px;display:flex}.sheet-body{padding:4px 16px 16px;overflow-y:auto}.sheet-foot{border-top:1px solid var(--line);justify-content:flex-end;gap:8px;padding:12px 16px;display:flex}.toast{left:50%;bottom:calc(var(--nav-height) + env(safe-area-inset-bottom) + 16px);z-index:60;color:#fff;background:#1b1f24;border-radius:12px;max-width:calc(100% - 32px);padding:12px 16px;position:fixed;transform:translate(-50%);box-shadow:0 6px 24px #00000040}.tabs{background:var(--surface-2);border:1px solid var(--line);border-radius:12px;gap:4px;margin-bottom:12px;padding:4px;display:flex}.tabs button{min-height:40px;color:var(--muted);font:inherit;cursor:pointer;background:0 0;border:0;border-radius:9px;flex:1;font-weight:600}.tabs button.active{background:var(--surface);color:var(--text);box-shadow:var(--shadow)}.list{background:var(--surface);border:1px solid var(--line);border-radius:var(--radius);margin:0;padding:0;list-style:none;overflow:hidden}.list>li+li{border-top:1px solid var(--line)}.list-item{color:inherit;align-items:center;gap:10px;padding:12px 14px;text-decoration:none;display:flex}.list-check{cursor:pointer;align-items:center;padding:0 4px 0 14px;display:flex}.list-check input{width:22px;height:22px;accent-color:var(--blue)}.list>li.inactive .list-item{color:var(--muted)}a.list-item:active,button.list-item:active{background:var(--surface-2)}button.list-item{width:100%;font:inherit;text-align:left;cursor:pointer;background:0 0;border:0}.stat{background:var(--surface-2);border:1px solid var(--line);border-radius:12px;padding:10px}.stat-value{font-size:1.15rem;font-weight:700}.stat-label{color:var(--muted);font-size:.78rem}.weeknav{justify-content:space-between;align-items:center;gap:8px;margin-bottom:12px;display:flex}.weeknav strong{text-align:center}.timeline{position:relative}.leg{border-left:2px dashed var(--line);color:var(--muted);align-items:center;gap:8px;margin:2px 0 2px 18px;padding:6px 0 6px 18px;font-size:.86rem;display:flex}.ride-line{color:var(--green);align-items:flex-start;gap:6px;margin-top:2px;display:flex}.ride-line svg{flex:none;margin-top:1px}.leg-missing{border-left-color:var(--red);color:var(--red)}.stop{border:1px solid var(--line);border-radius:var(--radius);background:var(--surface);box-shadow:var(--shadow);gap:12px;padding:12px;display:flex}.stop-time{flex:none;width:52px;font-weight:700}.stop-time small{color:var(--muted);font-weight:400;display:block}.stop-new{border-color:var(--blue);background:var(--blue-soft)}.stop-off{opacity:.5}.stop-appt{border:1px dashed var(--line);border-radius:var(--radius);box-shadow:none;color:var(--muted);background:0 0;padding:8px 12px}.stop-home{color:var(--muted);align-items:center;gap:12px;padding:8px 12px;font-size:.9rem;display:flex}.check{border:2px solid var(--blue);background:var(--blue);color:#fff;cursor:pointer;border-radius:7px;flex:none;justify-content:center;align-items:center;width:26px;height:26px;display:inline-flex}.check.off{color:#0000;border-color:var(--line);background:0 0}.map{border-radius:var(--radius);border:1px solid var(--line);z-index:0;height:260px;overflow:hidden}.map-tall{height:360px}.map-number{background:var(--blue);color:#fff;border:2px solid #fff;border-radius:50%;justify-content:center;align-items:center;width:26px;height:26px;font-size:.8rem;font-weight:700;display:flex;box-shadow:0 1px 4px #00000059}.map-home{background:#1b1f24}.weekgrid{grid-template-columns:repeat(7,minmax(120px,1fr));gap:8px;padding-bottom:6px;display:grid;overflow-x:auto}.weekgrid-day{border:1px solid var(--line);background:var(--surface);border-radius:12px;min-height:120px;padding:8px}.weekgrid-day.today{border-color:var(--blue)}.weekgrid-day h3{margin-bottom:6px;font-size:.86rem}.chip-lesson{border:0;border-left:4px solid var(--blue);background:var(--surface-2);width:100%;color:var(--text);font:inherit;text-align:left;cursor:pointer;border-radius:6px;margin-bottom:4px;padding:4px 6px;font-size:.8rem;display:block}.chip-busy{border-left-color:var(--amber);color:var(--muted);cursor:default}.copybox{white-space:pre-wrap;background:var(--surface-2);border:1px solid var(--line);border-radius:12px;padding:12px;font-size:.93rem}.table{border-collapse:collapse;width:100%;font-size:.9rem}.table th,.table td{border-bottom:1px solid var(--line);text-align:left;vertical-align:top;padding:8px}.table-compact th,.table-compact td{padding:6px 4px}.table-compact th{-webkit-hyphens:manual;hyphens:manual;font-size:.8rem;font-weight:600}.scroll-x{overflow-x:auto}.login{flex-direction:column;justify-content:center;max-width:400px;min-height:100vh;margin:0 auto;padding:24px;display:flex}.login img{border-radius:18px;width:72px;height:72px;margin-bottom:16px}button.link{color:var(--blue);font:inherit;cursor:pointer;background:0 0;border:0;padding:0;text-decoration:underline}.steps{margin:0 0 8px;padding-left:22px}.steps li{margin-bottom:6px}.recovery-codes{white-space:normal;grid-template-columns:repeat(2,minmax(0,1fr));gap:6px 16px;font-family:ui-monospace,SFMono-Regular,Menlo,Consolas,monospace;font-size:1rem;display:grid}.filters{grid-template-columns:repeat(auto-fill,minmax(170px,1fr));gap:8px;margin-bottom:10px;display:grid}.filters-sort{grid-column:1/-1}.students-card{padding:0;overflow-x:auto}.students-table th,.students-table td{vertical-align:middle}.students-table tbody tr:last-child td{border-bottom:0}.students-table tr.inactive td{color:var(--muted)}.students-table .cell-check{text-align:center;width:1%}.students-table .cell-check input{width:22px;height:22px;accent-color:var(--blue)}.student-link{color:inherit;padding:2px 0;font-weight:600;text-decoration:none;display:block}.student-link:hover{text-decoration:underline}.sort-btn{color:inherit;font:inherit;white-space:nowrap;cursor:pointer;background:0 0;border:0;align-items:center;gap:4px;padding:0;font-weight:600;display:inline-flex}.sort-arrow{min-width:.8em;color:var(--blue);font-size:.7rem}.prio-select{width:auto;min-width:104px}.prio-1{color:var(--blue);font-weight:600}.tf-note{white-space:pre-wrap}.cell-select{width:auto;max-width:100%}.student-selects{gap:6px;margin-top:4px;display:grid}.student-selects .cell-select{width:100%;min-width:0}.week-table tr.chosen td{background:color-mix(in srgb, var(--blue) 6%, transparent)}@media (width<=759px){.week-table td{vertical-align:top}}@media (width>=760px){.week-hints{min-width:170px}}.week-table .student-selects .prio-select{width:100%}.week-sessions{gap:4px;display:grid}.week-hints{gap:2px;margin-top:4px;display:grid}.week-table td .week-hints:first-child{margin-top:0}@media (width<=759px){.wide-only{display:none}}@media (width>=760px){.narrow-only{display:none}}.tf-page{max-width:560px;padding:calc(env(safe-area-inset-top) + 16px) 16px calc(env(safe-area-inset-bottom) + 24px);margin:0 auto}.tf-head{margin-bottom:12px}.tf-school{color:var(--blue);font-size:.88rem;font-weight:600}.tf-h2{margin:0;font-size:1.05rem}.tf-steps{gap:6px;margin:0 0 14px;padding:0;list-style:none;display:flex}.tf-steps li{background:var(--surface-2);border:1px solid var(--line);color:var(--muted);text-align:center;white-space:nowrap;border-radius:999px;flex:1;padding:6px 8px;font-size:.82rem}.tf-steps li.on{background:var(--blue);border-color:var(--blue);color:#fff;font-weight:600}.tf-steps li.done{color:var(--text)}.tf-page .card+.card,.tf-page .stack>.card+.card{margin-top:12px}.tf-box{border:1px solid var(--line);background:var(--surface-2);border-radius:12px;padding:12px}.tf-box.tf-bad{border-color:var(--red)}.tf-box .field,.tf-address .field{margin-bottom:0}.tf-chip{border:1px solid var(--line);background:var(--surface);min-height:36px;color:var(--text);font:inherit;cursor:pointer;border-radius:999px;padding:6px 12px;font-size:.9rem}.tf-chip.on{border-color:var(--blue);background:var(--blue-soft);color:var(--blue-dark);font-weight:600}.tf-check,.inline-check{cursor:pointer;align-items:center;gap:8px;min-height:36px;display:flex}.tf-check input,.inline-check input{width:20px;height:20px;accent-color:var(--blue)}.tf-times{grid-template-columns:1fr 1fr auto;align-items:end;gap:8px;display:grid}.tf-add,.tf-textbtn{color:var(--blue);font:inherit;cursor:pointer;background:0 0;border:0;align-self:flex-start;padding:6px 0;font-weight:600}.tf-textbtn{color:var(--muted);font-size:.9rem;font-weight:500}.tf-hits{border:1px solid var(--line);background:var(--surface);box-shadow:var(--shadow);border-radius:10px;margin:4px 0 0;padding:4px;list-style:none}.tf-hits button{width:100%;color:var(--text);font:inherit;text-align:left;cursor:pointer;background:0 0;border:0;border-radius:8px;padding:10px 8px}.tf-hits button:hover,.tf-hits button:focus{background:var(--blue-soft)}.tf-hits button,.tf-picked-text{flex-direction:column;gap:2px;display:flex}.tf-hit-name{font-weight:600}.tf-hit-address{color:var(--muted);font-size:.88rem}.tf-picked{border:1px solid var(--line);background:var(--surface);border-radius:10px;justify-content:space-between;align-items:center;gap:12px;padding:8px 8px 8px 12px;display:flex}.tf-picked-text{overflow-wrap:anywhere;min-width:0}.tf-tag{background:var(--blue-soft);color:var(--blue-dark);border-radius:999px;margin-left:4px;padding:1px 8px;font-size:.78rem;font-weight:600}.tf-gap{margin:4px 0 0}.tf-ok{color:var(--green);margin:0;font-size:.88rem;font-weight:600}.tf-ok:before{content:"✓ "}.tf-err,.tf-warn{color:var(--red);margin:0;font-size:.88rem;font-weight:600}.tf-warn{color:var(--amber)}.tf-zone{color:var(--blue-dark)}.tf-week{gap:6px;display:grid}.tf-week-row{grid-template-columns:2.5em 1fr;gap:8px;display:grid}.tf-line{display:block}.tf-foot{margin-top:16px}.tf-facts{grid-template-columns:auto 1fr;gap:4px 12px;margin:0 0 12px;display:grid}.tf-facts dt{color:var(--muted)}.tf-facts dd{margin:0}.tf-list{margin:0;padding-left:1.2em}.tf-review-places{margin:0;padding:0;list-style:none}.tf-review-places li+li{border-top:1px solid var(--line);margin-top:10px;padding-top:10px}.tf-compare{grid-template-columns:2.5em 1fr 1fr;gap:8px 12px;font-size:.93rem;display:grid}.tf-span2{grid-column:span 2}.tg-scroll{margin:0 -4px;padding:0 4px 6px;overflow:auto hidden}.tg{min-width:700px}.tg.tg-single{min-width:0}.tg-swipe{touch-action:pan-y pinch-zoom}.tg-row{column-gap:0;display:grid}.tg-heads{padding-bottom:4px}.tg-dayhead{min-width:0;padding:4px 6px;font-size:.8rem}.tg-dayhead strong{font-size:.9rem;display:block}.tg-dayhead.today strong{color:var(--blue)}.tg-dayhead .tg-warn{background:var(--amber-soft);color:var(--amber);border-radius:6px;margin-top:3px;padding:2px 6px}.tg-axis{position:relative}.tg-axis span{color:var(--muted);font-variant-numeric:tabular-nums;font-size:.7rem;position:absolute;right:6px;transform:translateY(-50%)}.tg-axis span:first-child{transform:none}.tg-col{border-left:1px solid var(--line);background-color:var(--surface);min-width:0;position:relative;overflow:hidden}.tg-col:last-child{border-right:1px solid var(--line)}.tg-col.today{box-shadow:inset 0 0 0 2px var(--blue-soft)}.tg-col-collapsed{background:var(--surface-2)}.tg-band{background:var(--surface-2);pointer-events:none;position:absolute;left:0;right:0}.tg-band span,.tg-late span{color:var(--muted);font-size:.68rem;position:absolute;top:3px;left:6px}.tg-band-after span{top:auto;bottom:3px}.tg-late{border-top:1px dashed var(--amber);pointer-events:none;position:absolute;left:0;right:0}.tg-late span{color:var(--amber);left:auto;right:6px}.tg-drive{background:repeating-linear-gradient(135deg, var(--hatch-a) 0 6px, var(--hatch-b) 6px 12px);pointer-events:none;border-radius:4px;justify-content:center;align-items:center;display:flex;position:absolute;left:18%;right:18%;overflow:hidden}.tg-drive.tight{background:repeating-linear-gradient(135deg, var(--red-soft) 0 6px, #f3b8b1 6px 12px)}.tg-drive span{background:var(--surface);color:var(--muted);white-space:nowrap;border-radius:3px;padding:0 4px;font-size:.65rem;font-weight:600;line-height:1.2}.tg-drive.tight span{color:var(--red)}.tg-window{pointer-events:none;background:#1d7a461f;border:1px solid #1d7a4673;border-radius:6px;position:absolute;left:2px;right:2px}.tg-blocked{pointer-events:none;background:repeating-linear-gradient(135deg,#b423181a 0 6px,#b4231838 6px 12px);border-radius:6px;position:absolute;left:2px;right:2px}.tg-pause{border:1px dashed var(--green,#2e7d32);color:var(--green,#2e7d32);pointer-events:none;border-radius:8px;padding:2px 6px;font-size:.72rem;font-weight:600;line-height:1.2;position:absolute;left:4px;right:4px;overflow:hidden}.tg-pause>span{white-space:nowrap;text-overflow:ellipsis;display:block;overflow:hidden}.tg-pause-time{font-weight:500}.tg-pause-flat{white-space:nowrap;align-items:center;padding-top:0;padding-bottom:0;display:flex}.tg-pause-flat>span{flex:none;display:inline}.tg-pause-flat>.tg-pause-time{text-overflow:ellipsis;flex:auto;min-width:0;overflow:hidden}.tg-appt{border:1px solid var(--line);background:var(--surface-2);color:var(--muted);pointer-events:none;border-radius:8px;padding:3px 6px;font-size:.72rem;position:absolute;left:4px;right:4px;overflow:hidden}.tg-appt.tg-closed{background:repeating-linear-gradient(135deg, var(--surface-2) 0 8px, var(--line) 8px 9px);color:var(--muted);cursor:default}.tg-appt strong{color:var(--text);text-overflow:ellipsis;white-space:nowrap;display:block;overflow:hidden}.tg-appt .tg-line{text-overflow:ellipsis;white-space:nowrap;display:block;overflow:hidden}.tg-appt .tg-note{color:var(--text);white-space:normal;overflow-wrap:anywhere;font-style:italic}.tg-appt[class*=entry-color-]{border-color:var(--entry);background:var(--entry-soft);border-left-width:4px}.tg-appt.clickable{z-index:2;font:inherit;text-align:left;cursor:pointer;pointer-events:auto;-webkit-user-select:none;user-select:none;-webkit-touch-callout:none;font-size:.72rem;line-height:1.25}.tg-appt.draggable{cursor:grab;touch-action:pan-y}.tg-appt.dragging{z-index:5;cursor:grabbing;box-shadow:0 6px 18px #10182840}.tg-appt.dragging.warned{box-shadow:0 0 0 2px var(--amber), 0 6px 18px #10182840}.tg-appt.blocked{border-color:var(--red);background:var(--red-soft)}.entry-color-blue{--entry:#2f6fd6;--entry-soft:#e3edfc}.entry-color-teal{--entry:#0f8a8a;--entry-soft:#dcf3f2}.entry-color-green{--entry:#2f8f4e;--entry-soft:#e2f3e7}.entry-color-yellow{--entry:#b88a00;--entry-soft:#fbf3d0}.entry-color-orange{--entry:#d0661a;--entry-soft:#fde9da}.entry-color-red{--entry:#c43a30;--entry-soft:#fbe3e1}.entry-color-purple{--entry:#7a4fc4;--entry-soft:#eee6fa}.entry-color-pink{--entry:#c2407f;--entry-soft:#fbe4ef}@media (prefers-color-scheme:dark){.entry-color-blue{--entry:#6aa1ff;--entry-soft:#1c2b45}.entry-color-teal{--entry:#4fd1c9;--entry-soft:#123232}.entry-color-green{--entry:#5fd391;--entry-soft:#173325}.entry-color-yellow{--entry:#f2cc4a;--entry-soft:#352d10}.entry-color-orange{--entry:#ff9f5a;--entry-soft:#3a2414}.entry-color-red{--entry:#ff8a80;--entry-soft:#3d1b19}.entry-color-purple{--entry:#b79bff;--entry-soft:#2a2140}.entry-color-pink{--entry:#ff8fc4;--entry-soft:#3a1a2b}}.entry-dot{border:2px solid var(--entry,var(--line));background:var(--entry-soft,var(--surface-2));border-radius:50%;flex:none;width:12px;height:12px}.color-pick{flex-wrap:wrap;gap:8px;display:flex}.color-pick .swatch{border:2px solid var(--entry,var(--line));background:var(--entry-soft,var(--surface-2));cursor:pointer;border-radius:50%;width:36px;height:36px;padding:0}.color-pick .swatch[aria-checked=true]{box-shadow:0 0 0 2px var(--surface), 0 0 0 4px var(--entry,var(--muted))}.tg-busy{background:repeating-linear-gradient(180deg, #f3b8b1 0 3px, var(--red-soft) 3px 6px);pointer-events:none;width:5px;position:absolute;right:0}.tg-block{z-index:2;background:var(--blue-soft);color:var(--text);font:inherit;text-align:left;cursor:pointer;-webkit-user-select:none;user-select:none;-webkit-touch-callout:none;border:1px solid #9db9e6;border-radius:8px;flex-direction:column;gap:1px;padding:3px 6px 8px;font-size:.74rem;line-height:1.25;display:flex;position:absolute;left:4px;right:4px;overflow:hidden}.tg-block.draggable{cursor:grab;touch-action:pan-y}.tg-block .tg-name{text-overflow:ellipsis;white-space:nowrap;font-size:.78rem;font-weight:700;overflow:hidden}.tg-block .tg-sub{color:var(--muted);text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.tg-block .tg-tags{flex-wrap:wrap;gap:3px;display:flex}.tg-ride-frame{z-index:3;border:2px solid var(--blue);pointer-events:none;border-radius:12px;position:absolute;left:1px;right:1px}.tg-ride-box{z-index:1;background:var(--blue-soft);color:var(--blue-dark);pointer-events:none;border:1px solid #9db9e6;border-radius:9px;align-items:center;gap:6px;padding:4px 8px;font-size:12px;line-height:1.25;display:flex;position:absolute;bottom:4px;left:5px;right:5px;box-shadow:0 1px 2px #1018281a}.tg-ride-box.one{padding:2px 6px;font-size:11px}.tg-ride-text{flex-direction:column;min-width:0;display:flex}.tg-ride-text>*,.tg-ride-box.one .tg-ride-text{text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.tg-ride-box.one .tg-ride-text{display:block}.tg-block:has(.tg-ride-box){container-type:inline-size}@container (width<=200px){.tg-ride-box{padding:3px 5px;font-size:11px;left:3px;right:3px}.tg-ride-box>svg,.tg-ride-box .rb-pre,.tg-ride-box.one .rb-who,.tg-ride-box.one .rb-arrow{display:none}}@media (prefers-color-scheme:dark){.tg-ride-box{box-shadow:none;border-color:#3d5f96}}.chip-ride{color:var(--blue-dark);align-items:center;gap:4px;font-weight:600;display:flex}.tg-tag{background:var(--surface);border:1px solid;border-radius:6px;padding:0 5px;font-size:.66rem;font-weight:600}.tg-block.hint{background:var(--amber-soft);border-color:#d9a44a}.tg-block.hint .tg-tag-hint{color:var(--amber)}.tg-block.off{z-index:1;border-color:var(--line);background:var(--surface-2);opacity:.8}.tg-block.off.selected{z-index:3}.tg-block.off .tg-name{color:var(--muted);text-decoration:line-through}.tg-block.status-accepted{background:var(--amber-soft);border-color:#e2b866}.tg-block.status-entered{background:var(--green-soft);border-color:#8fcaa6}.tg-block.status-done{border-color:var(--line);background:var(--surface-2)}.tg-block.status-changed{border-color:var(--red);background:var(--red-soft)}.board-compare{overflow-x:auto}@media (width<=600px){.board-compare .table{font-size:13px}.board-compare th,.board-compare td{padding-left:4px;padding-right:4px}}.tg-block.moved{border:2px dashed var(--amber)}.tg-tag-moved{color:var(--amber);font-weight:600}.tg-block.selected{box-shadow:0 0 0 2px var(--blue)}.tg-block.dragging{z-index:5;cursor:grabbing;box-shadow:0 6px 18px #10182840}.tg-block.blocked{border-color:var(--red);background:var(--red-soft)}.tg-ghost{z-index:1;color:var(--muted);pointer-events:none;border:2px dashed #9db9e6;border-radius:8px;padding:3px 6px;font-size:.68rem;position:absolute;left:4px;right:4px}.tg-delta{background:var(--surface);border-radius:5px;padding:0 4px;font-size:.66rem;font-weight:700;position:absolute;top:3px;right:3px}.tg-resize{cursor:ns-resize;touch-action:none;background:0 0;border:0;height:10px;padding:0;position:absolute;bottom:0;left:0;right:0}.tg-resize:after{content:"";opacity:.45;background:currentColor;border-radius:2px;width:26px;height:3px;margin:4px auto 0;display:block}.tg-gap{z-index:1;border:1px dashed var(--green);color:var(--green);font:inherit;cursor:pointer;background:#1d7a4612;border-radius:8px;justify-content:center;align-items:center;padding:2px 4px;font-size:.72rem;font-weight:600;display:flex;position:absolute;left:4px;right:4px}.tg-gap.selected{box-shadow:0 0 0 2px var(--green)}.tg-collapse{border:1px solid var(--line);background:var(--surface);width:100%;min-height:36px;color:var(--text);font:inherit;cursor:pointer;border-radius:8px;justify-content:center;align-items:center;font-size:.8rem;font-weight:600;display:flex}.board-layout{align-items:start;gap:14px;display:grid}@media (width>=1100px){.board-layout{grid-template-columns:minmax(0,1fr) 300px}.board-side{position:sticky;top:72px}}.board-cards{grid-template-columns:repeat(auto-fit,minmax(150px,1fr));gap:10px;margin-bottom:12px;display:grid}.board-card{border:1px solid var(--line);border-radius:var(--radius);background:var(--surface);padding:10px 12px}.board-card .label{color:var(--muted);font-size:.75rem}.board-card .value{font-variant-numeric:tabular-nums;font-size:1.25rem;font-weight:700}.board-card .sub{font-size:.75rem}.board-status{border:1px solid var(--line);background:var(--surface);border-radius:12px;min-height:48px;margin-bottom:12px;padding:8px 12px}.board-status.tone-blue{background:var(--blue-soft);border-color:#9db9e6}.board-status.tone-green{background:var(--green-soft);border-color:#8fcaa6}.board-status.tone-amber{background:var(--amber-soft);border-color:#e2b866}.board-status.tone-red{border-color:var(--red);background:var(--red-soft);color:var(--red)}.board-status-float{top:calc(env(safe-area-inset-top) + 64px);z-index:25;pointer-events:none;position:fixed;left:12px;right:12px;box-shadow:0 6px 18px #0000002e}.board-status .title{font-weight:600}.board-status-slot{margin-bottom:12px;position:relative}.board-status-slot>.board-status{margin-bottom:0}.board-status.held{z-index:20;position:absolute;top:0;left:0;right:0;box-shadow:0 6px 18px #10182824}.board-status.with-action{justify-content:space-between;align-items:center;gap:10px;display:flex}.board-status .text{font-size:.85rem}.day-tabs{gap:4px;margin-bottom:8px;display:flex;overflow-x:auto}.day-tabs button{border:1px solid var(--line);background:var(--surface);min-width:48px;min-height:44px;color:var(--text);font:inherit;cursor:pointer;border-radius:10px;flex:1 0 auto;padding:2px 6px;font-size:.8rem;font-weight:600;line-height:1.15;position:relative}.day-tabs button small{color:var(--muted);font-weight:400;display:block}.day-tabs button.active{border-color:var(--blue);background:var(--blue-soft)}.day-tabs .dot{background:var(--amber);border-radius:50%;width:7px;height:7px;position:absolute;top:4px;right:5px}.day-buttons{gap:6px;display:flex}.day-buttons button{border:1px solid var(--line);background:var(--surface);min-height:44px;color:var(--text);font:inherit;cursor:pointer;border-radius:10px;flex:1 1 0;padding:0;font-weight:600}.day-buttons button[aria-pressed=true]{border-color:var(--blue);background:var(--blue-soft);color:var(--blue-dark)}.legend{grid-template-columns:22px minmax(0,1fr);align-items:center;gap:6px 8px;font-size:.82rem;display:grid}.legend>span:nth-child(odd){border-radius:4px;width:22px;height:14px}.unplaced-item{touch-action:pan-y}.unplaced-item .grip{cursor:grab}.facts{grid-template-columns:auto minmax(0,1fr);gap:4px 12px;margin:8px 0;font-size:.88rem;display:grid}.facts dt{color:var(--muted)}.facts dd{margin:0}.hint-list{background:var(--amber-soft);color:var(--amber);border-radius:10px;margin:8px 0;padding:8px 12px 8px 26px;font-size:.86rem}.ok-note{background:var(--green-soft);color:var(--green);border-radius:10px;margin:8px 0;padding:8px 12px;font-size:.86rem}
