:root{--ink:#202b49;--ink-soft:#44506e;--ink-faint:#8791a6;--paper:#f6f7f9;--surface:#fff;--line:#e3e7ec;--line-strong:#cdd4dc;--signal:#f5bd2a;--signal-soft:#fdf4dc;--go:#1f8a54;--go-soft:#e4f3ea;--stop:#c0392b;--stop-soft:#fbe9e7;--hold:#8a6d1e;--hold-soft:#f7efd6;--accent:#0d6ded;--accent-hover:#0a57bd;--radius:8px;--radius-sm:5px;--shadow:0 1px 2px #202b490f, 0 4px 12px #202b490a;color:var(--ink);background:var(--paper);-webkit-font-smoothing:antialiased;text-rendering:optimizelegibility;font-family:Inter,-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,sans-serif}*{box-sizing:border-box}body{min-height:100vh;margin:0}h1,h2,h3,h4{letter-spacing:-.01em;margin:0;font-weight:650}p{margin:0}button{cursor:pointer;background:0 0;border:none;font-family:inherit}input,select{color:var(--ink);background:var(--surface);border:1px solid var(--line-strong);border-radius:var(--radius-sm);width:100%;padding:.55rem .7rem;font-family:inherit;font-size:.9rem;transition:border-color .12s,box-shadow .12s}input:focus,select:focus{border-color:var(--accent);outline:none;box-shadow:0 0 0 3px #0d6ded24}label{color:var(--ink-soft);margin-bottom:.3rem;font-size:.78rem;font-weight:550;display:block}.btn{border-radius:var(--radius-sm);border:1px solid #0000;justify-content:center;align-items:center;gap:.4rem;padding:.55rem .95rem;font-size:.88rem;font-weight:550;transition:background .12s,border-color .12s,opacity .12s;display:inline-flex}.btn-primary{background:var(--accent);color:#fff}.btn-primary:hover{background:var(--accent-hover)}.btn-secondary{background:var(--surface);color:var(--ink);border-color:var(--line-strong)}.btn-secondary:hover{border-color:var(--ink-faint)}.btn-danger{background:var(--surface);color:var(--stop);border-color:var(--line-strong)}.btn-danger:hover{background:var(--stop-soft);border-color:var(--stop)}.btn-sm{padding:.35rem .65rem;font-size:.82rem}.btn:disabled{opacity:.5;cursor:not-allowed}.pill{white-space:nowrap;border-radius:999px;align-items:center;gap:.4rem;padding:.2rem .6rem;font-size:.76rem;font-weight:600;display:inline-flex}.pill:before{content:"";background:currentColor;border-radius:50%;width:7px;height:7px}.pill-running{background:var(--signal-soft);color:#9a6b00}.pill-not_running{background:var(--stop-soft);color:var(--stop)}.pill-maintenance{background:var(--hold-soft);color:var(--hold)}.muted{color:var(--ink-faint)}.card{background:var(--surface);border:1px solid var(--line);border-radius:var(--radius);box-shadow:var(--shadow)}@media (prefers-reduced-motion:reduce){*{transition:none!important;animation:none!important}}.app-loading{min-height:100vh;color:var(--ink-faint);place-items:center;gap:1rem;font-size:.95rem;display:grid}.app-loading-error{color:var(--stop);text-align:center;padding:2rem}@media (width<=720px){input,select,textarea{font-size:16px}.btn-sm{min-height:36px}}.form-field{margin-bottom:1.1rem}.form-row{grid-template-columns:1fr 1fr;gap:1rem;display:grid}.form-actions{justify-content:flex-end;gap:.7rem;margin-top:1.6rem;display:flex}.form-error{background:var(--stop-soft);color:var(--stop);border-radius:var(--radius-sm);border:1px solid #c0392b40;margin-bottom:1.2rem;padding:.6rem .8rem;font-size:.86rem}.form-hint{margin-top:.35rem;font-size:.82rem}@media (width<=720px){.form-row{grid-template-columns:1fr;gap:0}.form-actions{flex-direction:column-reverse;gap:.5rem}.form-actions .btn{width:100%;padding:.7rem}.photo-buttons{flex-wrap:wrap}.bulk-drop{padding:1.4rem 1rem}}textarea{color:var(--ink);background:var(--surface);border:1px solid var(--line-strong);border-radius:var(--radius-sm);resize:vertical;width:100%;padding:.55rem .7rem;font-family:inherit;font-size:.9rem;transition:border-color .12s,box-shadow .12s}textarea:focus{border-color:var(--accent);outline:none;box-shadow:0 0 0 3px #2f5ce01f}.coord-group{border:1px solid var(--line);border-radius:var(--radius-sm);margin-bottom:1.1rem;padding:.9rem 1rem .2rem}.coord-group-label{color:var(--ink-soft);margin-bottom:.7rem;font-size:.8rem;font-weight:600}.bulk-intro{margin-bottom:1.2rem;font-size:.9rem;line-height:1.5}.bulk-drop{border:1.5px dashed var(--line-strong);border-radius:var(--radius);cursor:pointer;text-align:center;flex-direction:column;align-items:center;gap:.4rem;padding:2rem;transition:border-color .12s,background .12s;display:flex}.bulk-drop:hover{border-color:var(--accent);background:#2f5ce008}.bulk-drop-icon{color:var(--ink-faint);font-size:1.6rem}.bulk-drop-text{font-size:.95rem}.bulk-drop-hint{font-size:.8rem}.bulk-columns{margin:1.2rem 0 .5rem}.bulk-columns-label{margin-bottom:.4rem;font-size:.78rem;font-weight:600}.bulk-columns code{background:var(--paper);border:1px solid var(--line);border-radius:var(--radius-sm);color:var(--ink-soft);word-break:break-word;padding:.6rem .7rem;font-size:.8rem;display:block}.notify-intro{margin-bottom:1.2rem;font-size:.88rem}.notify-sent{margin-bottom:.5rem;font-size:.95rem;line-height:1.5}.confirm-body{align-items:flex-start;gap:1rem;margin-bottom:.5rem;display:flex}.confirm-icon{border-radius:11px;flex-shrink:0;place-items:center;width:44px;height:44px;display:grid}.confirm-icon-danger{background:var(--stop-soft);color:var(--stop)}.confirm-icon-default{background:var(--signal-soft);color:#9a6b00}.confirm-message{color:var(--ink-soft);padding-top:.2rem;font-size:.95rem;line-height:1.55}.confirm-actions{margin-top:1.4rem}.confirm-extra{background:var(--accent-soft,#eaf1fe);width:100%;color:var(--accent);border:1px solid #0d6ded47;margin-top:.4rem;font-weight:600}.confirm-extra:hover{border-color:var(--accent);background:#dfeafe}.btn-danger-solid{background:var(--stop);color:#fff}.btn-danger-solid:hover{background:#a5321f}.btn-danger-solid:disabled{opacity:.45;cursor:not-allowed}.migrate-list-head{justify-content:space-between;align-items:center;margin:1.1rem 0 .5rem;font-size:.82rem;display:flex}.linklike{color:var(--accent);background:0 0;padding:0;font-size:.82rem;font-weight:600}.linklike:hover{text-decoration:underline}.migrate-list{border:1px solid var(--line);border-radius:var(--radius-sm);max-height:280px;overflow-y:auto}.migrate-row{border-bottom:1px solid var(--line);cursor:pointer;align-items:center;gap:.7rem;margin:0;padding:.6rem .8rem;font-size:.9rem;display:flex}.migrate-row:last-child{border-bottom:none}.migrate-row:hover{background:var(--paper)}.migrate-row input{width:auto}.migrate-name{flex:1;font-weight:550}.btn svg{display:block}.photo-field{border:1px solid var(--line);border-radius:var(--radius-sm);align-items:center;gap:1rem;margin-bottom:1.1rem;padding:1rem;display:flex}.photo-preview{background:#eaf1fe;border-radius:50%;flex-shrink:0;place-items:center;width:64px;height:64px;display:grid;overflow:hidden}.photo-preview img{object-fit:cover;width:100%;height:100%}.photo-initial{color:var(--accent);font-size:1.5rem;font-weight:650}.photo-actions{flex:1}.photo-label{color:var(--ink-soft);margin-bottom:.5rem;font-size:.82rem;font-weight:600}.photo-buttons{gap:.5rem;display:flex}.roster-avatar{background:#eaf1fe;border-radius:50%;flex-shrink:0;place-items:center;width:34px;height:34px;display:grid;overflow:hidden}.roster-avatar img{object-fit:cover;width:100%;height:100%}.roster-avatar-initial{color:var(--accent);font-size:.9rem;font-weight:650}.roster-name-cell{align-items:center;gap:.7rem;display:flex}.bulk-drop.is-busy{opacity:.6;pointer-events:none}.bulk-file-row{background:var(--paper);border:1px solid var(--line);border-radius:var(--radius-sm);justify-content:space-between;align-items:center;gap:.8rem;margin-bottom:1.1rem;padding:.6rem .8rem;font-size:.88rem;display:flex}.bulk-file-name{text-overflow:ellipsis;white-space:nowrap;min-width:0;font-weight:600;overflow:hidden}.bulk-file-row .linklike{cursor:pointer;flex-shrink:0;margin:0}.bulk-summary{grid-template-columns:1fr 1fr;gap:.7rem;margin-bottom:1rem;display:grid}.bulk-stat{border:1px solid var(--line);border-radius:var(--radius-sm);flex-direction:column;gap:.2rem;padding:.85rem 1rem;display:flex}.bulk-stat-num{font-size:1.5rem;font-weight:700;line-height:1}.bulk-stat-label{color:var(--ink-faint);font-size:.8rem}.bulk-stat-ok .bulk-stat-num{color:var(--go)}.bulk-stat-bad{background:var(--stop-soft);border-color:#c0392b4d}.bulk-stat-bad .bulk-stat-num{color:var(--stop)}.bulk-note{color:var(--ink-soft);margin-bottom:.8rem;font-size:.85rem;line-height:1.5}.bulk-note-warn{color:#9a6b00;background:var(--signal-soft);border-radius:var(--radius-sm);padding:.55rem .75rem}.bulk-problems{border:1px solid var(--line);border-radius:var(--radius-sm);margin-bottom:.5rem}.bulk-problems-head{color:var(--ink-soft);background:var(--paper);border-bottom:1px solid var(--line);padding:.6rem .8rem;font-size:.82rem;font-weight:600}.bulk-problems ul{max-height:220px;margin:0;padding:0;list-style:none;overflow-y:auto}.bulk-problems li{border-bottom:1px solid var(--line);gap:.7rem;padding:.5rem .8rem;font-size:.84rem;display:flex}.bulk-problems li:last-child{border-bottom:none}.bulk-problem-row{width:4.2rem;color:var(--ink-faint);flex-shrink:0}.bulk-problem-text{color:var(--ink-soft);overflow-wrap:anywhere;min-width:0}.bulk-more{padding:.5rem .8rem;font-size:.82rem}.bulk-progress{padding:.5rem 0 .8rem}.bulk-progress p:first-child{margin-bottom:.8rem;font-size:.95rem}.page-head-actions{flex-shrink:0;gap:.6rem;display:flex}@media (width<=720px){.page-head:has(.page-head-actions){flex-direction:column;align-items:stretch}.page-head-actions .btn{flex:1}}.login-shell{grid-template-columns:1.1fr 1fr;min-height:100vh;display:grid}.login-brand{background:var(--ink);color:#fff;flex-direction:column;justify-content:space-between;padding:3rem;display:flex;position:relative;overflow:hidden}.login-brand:after{content:"";pointer-events:none;background-image:radial-gradient(circle at 20% 30%,#f5bd2a33,#0000 40%),radial-gradient(circle at 80% 75%,#0d6ded33,#0000 42%);position:absolute;inset:0}.login-brand-inner{z-index:1;max-width:32ch;margin-top:2rem;position:relative}.login-logo{background:#fff;border-radius:12px;width:260px;max-width:100%;height:auto;margin-bottom:1.8rem;padding:14px 18px}.login-brand-title{margin-bottom:.9rem;font-size:1.9rem;line-height:1.15}.login-brand-sub{color:#ffffffb8;font-size:1rem;line-height:1.55}.login-brand-foot{z-index:1;color:#ffffff80;font-size:.8rem;position:relative}.login-form-side{place-items:center;padding:2rem;display:grid}.login-form{width:100%;max-width:360px}.login-form h2{margin-bottom:.35rem;font-size:1.5rem}.login-form-hint{margin-bottom:1.8rem;font-size:.9rem}.login-field{margin-bottom:1.1rem}.login-submit{width:100%;margin-top:.5rem;padding:.7rem}.login-error{background:var(--stop-soft);color:var(--stop);border-radius:var(--radius-sm);border:1px solid #c0392b40;margin-bottom:1.2rem;padding:.6rem .8rem;font-size:.86rem}@media (width<=820px){.login-shell{grid-template-columns:1fr}.login-brand{min-height:240px;padding:2rem}.login-brand-inner{margin-top:0}}.layout{grid-template-columns:236px 1fr;min-height:100vh;display:grid}.sidebar{background:var(--ink);color:#fff;flex-direction:column;height:100vh;padding:1.4rem 1rem;display:flex;position:sticky;top:0}.sidebar-brand{align-items:center;padding:0 .5rem 1.4rem;display:flex}.sidebar-logo{background:#fff;border-radius:9px;width:100%;max-width:170px;height:auto;padding:8px 12px}.sidebar-nav{flex-direction:column;flex:1;gap:.25rem;display:flex}.sidebar-nav-item{border-radius:var(--radius-sm);color:#ffffffb8;text-align:left;background:0 0;align-items:center;gap:.6rem;width:100%;padding:.6rem .7rem;font-size:.9rem;font-weight:550;transition:background .12s,color .12s;display:flex}.sidebar-nav-item:hover{color:#fff;background:#ffffff0f}.sidebar-nav-item.active{color:#fff;background:#ffffff1f}.nav-short{display:none}.nav-badge{background:var(--signal);min-width:20px;height:20px;color:var(--ink);border-radius:999px;place-items:center;margin-left:auto;padding:0 .35rem;font-size:.74rem;font-weight:700;display:grid}.sidebar-foot{border-top:1px solid #ffffff1a;padding-top:1rem}.sidebar-school{font-size:.92rem;font-weight:600}.sidebar-user{color:#ffffff80;margin-top:.15rem;font-size:.8rem}.sidebar-signout{color:#fff;background:#ffffff0f;border-color:#ffffff29;width:100%;margin-top:.9rem}.sidebar-signout:hover{background:#ffffff1a;border-color:#fff6}.content{width:100%;max-width:1200px;padding:2rem 2.4rem}@media (width<=720px){.layout{grid-template-rows:auto 1fr;grid-template-columns:1fr}.sidebar{z-index:30;height:auto;padding:.6rem .9rem;padding-top:calc(.6rem + env(safe-area-inset-top,0px));flex-direction:row;align-items:center;gap:.75rem;position:sticky;top:0}.sidebar-brand{flex-shrink:0;padding:0}.sidebar-logo{border-radius:7px;max-width:104px;padding:5px 8px}.sidebar-foot{border-top:none;align-items:center;gap:.6rem;min-width:0;margin-left:auto;padding-top:0;display:flex}.sidebar-school{white-space:nowrap;text-overflow:ellipsis;min-width:0;font-size:.85rem;overflow:hidden}.sidebar-user{display:none}.sidebar-signout{flex-shrink:0;width:auto;margin-top:0}.sidebar-nav{z-index:40;background:var(--ink);padding:.35rem .5rem;padding-bottom:calc(.35rem + env(safe-area-inset-bottom,0px));border-top:1px solid #ffffff1a;flex-direction:row;gap:0;position:fixed;bottom:0;left:0;right:0}.sidebar-nav-item{text-align:center;flex-direction:column;flex:1;justify-content:center;gap:.2rem;min-height:52px;padding:.45rem .3rem;font-size:.74rem}.sidebar-nav-item svg{width:22px;height:22px}.nav-long{display:none}.nav-badge{margin-right:-22px;position:absolute;top:2px;right:50%}.sidebar-nav-item{position:relative}.nav-short{display:inline}.content{padding:1.1rem 1rem;padding-bottom:calc(5.5rem + env(safe-area-inset-bottom,0px))}}.modal-overlay{z-index:50;background:#16202c73;place-items:center;padding:1.5rem;display:grid;position:fixed;inset:0}.modal{width:100%;max-height:90vh;animation:.14s modal-in;overflow-y:auto}@keyframes modal-in{0%{opacity:0;transform:translateY(6px)}to{opacity:1;transform:translateY(0)}}.modal-head{border-bottom:1px solid var(--line);background:var(--surface);justify-content:space-between;align-items:center;padding:1.1rem 1.4rem;display:flex;position:sticky;top:0}.modal-head h3{font-size:1.1rem}.modal-close{color:var(--ink-faint);padding:0 .3rem;font-size:1.5rem;line-height:1}.modal-close:hover{color:var(--ink)}.modal-body{padding:1.4rem}@media (width<=720px){.modal-overlay{place-items:end stretch;padding:0}.modal{border-bottom:none;border-radius:14px 14px 0 0;max-height:92vh;animation-name:sheet-in;max-width:none!important}.modal-head{z-index:1;padding:.95rem 1.1rem}.modal-close{min-width:40px;min-height:40px;padding:0 .4rem;font-size:1.8rem}.modal-body{padding:1.1rem;padding-bottom:calc(1.1rem + env(safe-area-inset-bottom,0px))}}@keyframes sheet-in{0%{opacity:0;transform:translateY(24px)}to{opacity:1;transform:translateY(0)}}@media (prefers-reduced-motion:reduce){.modal{animation:none}}.page-head{justify-content:space-between;align-items:flex-start;gap:1rem;margin-bottom:1.8rem;display:flex}.page-head h1{margin-bottom:.25rem;font-size:1.5rem}.page-head p{font-size:.92rem}.page-error{background:var(--stop-soft);color:var(--stop);border-radius:var(--radius-sm);border:1px solid #c0392b40;margin-bottom:1.2rem;padding:.7rem .9rem;font-size:.88rem}.loading-row{padding:2rem 0}.summary-strip{grid-template-columns:1.15fr 1fr;gap:1rem;margin-bottom:2rem;display:grid}.summary-cards{grid-template-columns:1fr 1fr;gap:.8rem;display:grid}.summary-card{align-items:center;gap:.8rem;padding:1rem 1.1rem;display:flex}.summary-icon{border-radius:10px;flex-shrink:0;place-items:center;width:40px;height:40px;display:grid}.summary-accent .summary-icon{color:var(--accent);background:#eaf1fe}.summary-signal .summary-icon{background:var(--signal-soft);color:#9a6b00}.summary-ink .summary-icon{color:var(--ink);background:#eef0f4}.summary-go .summary-icon{background:var(--go-soft);color:var(--go)}.summary-text{flex-direction:column;display:flex}.summary-value{color:var(--ink);font-size:1.5rem;font-weight:700;line-height:1}.summary-label{color:var(--ink-faint);margin-top:.2rem;font-size:.8rem}.summary-chart{flex-direction:column;padding:1rem 1.1rem .6rem;display:flex}.summary-chart-head{color:var(--ink-soft);margin-bottom:.6rem;font-size:.82rem;font-weight:600}.empty-state{text-align:center;padding:3rem 2rem}.empty-icon{width:56px;height:56px;color:var(--accent);background:#eaf1fe;border-radius:14px;place-items:center;margin:0 auto 1rem;display:grid}.empty-icon svg{width:26px;height:26px}.empty-state h3{margin-bottom:.4rem}.empty-state p{margin-bottom:1.2rem}.bus-grid{grid-template-columns:repeat(auto-fill,minmax(260px,1fr));align-items:stretch;gap:1rem;display:grid}.bus-card{text-align:left;flex-direction:column;gap:1.1rem;padding:1.2rem;transition:border-color .14s,transform .1s,box-shadow .14s;display:flex}.bus-card:hover{border-color:#0d6ded4d;transform:translateY(-2px);box-shadow:0 4px 16px #202b4917}.bus-card-top{flex-direction:column;align-items:flex-start;gap:.6rem;display:flex}.bus-card-id{align-items:center;gap:.6rem;display:flex}.bus-card-icon{width:34px;height:34px;color:var(--accent);background:#eaf1fe;border-radius:9px;place-items:center;display:grid}.bus-card-icon svg{width:18px;height:18px}.bus-number{word-break:break-word;font-size:1.1rem;font-weight:650}.bus-card-stats{gap:1.6rem;display:flex}.bus-card-stats>div{flex-direction:column;display:flex}.stat-num{font-size:1.3rem;font-weight:650;line-height:1}.stat-label{margin-top:.25rem;font-size:.75rem}.capacity-bar{background:var(--line);border-radius:999px;height:6px;overflow:hidden}.capacity-fill{background:var(--accent);border-radius:999px;height:100%;transition:width .3s}@media (width<=900px){.summary-strip{grid-template-columns:1fr}}@media (width<=520px){.summary-cards{grid-template-columns:1fr 1fr}}@media (width<=720px){.page-head{align-items:center;margin-bottom:1.2rem}.page-head h1{font-size:1.3rem}.page-head p{font-size:.84rem}.page-head .btn{white-space:nowrap;flex-shrink:0}.summary-strip{margin-bottom:1.4rem}.summary-card{gap:.65rem;padding:.85rem}.summary-icon{width:36px;height:36px}.summary-value{font-size:1.3rem}.bus-grid{grid-template-columns:1fr}.bus-card:hover{transform:none}}.back-btn{margin-bottom:1.4rem}.detail-head{justify-content:space-between;align-items:flex-start;gap:1rem;margin-bottom:1.6rem;display:flex}.detail-head-main{align-items:center;gap:.8rem;display:flex}.detail-head-main h1{font-size:1.6rem}.detail-head-actions{gap:.6rem;display:flex}.detail-stats{grid-template-columns:repeat(3,1fr);gap:1rem;margin-bottom:2rem;display:grid}.detail-stat{flex-direction:column;gap:.35rem;padding:1.2rem 1.3rem;display:flex}.detail-stat .stat-num{font-size:1.8rem;font-weight:650;line-height:1}.stat-of{color:var(--ink-faint);font-size:1.1rem;font-weight:550}.detail-stat .stat-label{font-size:.82rem}.roster-head{justify-content:space-between;align-items:center;margin-bottom:1rem;display:flex}.roster-head h2{font-size:1.15rem}.roster-actions{gap:.6rem;display:flex}.roster-table{overflow:hidden}.roster-row{border-bottom:1px solid var(--line);grid-template-columns:2fr 1.3fr .8fr .8fr auto;align-items:center;gap:1rem;padding:.85rem 1.2rem;font-size:.9rem;display:grid}.roster-row:last-child{border-bottom:none}.roster-row-head{color:var(--ink-faint);background:var(--paper);font-size:.76rem;font-weight:600}.roster-name{font-weight:550}.roster-row-actions{justify-content:flex-end;gap:.4rem;display:flex}.set-dot{background:var(--line-strong);border-radius:50%;width:9px;height:9px;display:inline-block}.set-dot-ok{background:var(--go)}@media (width<=720px){.detail-head{flex-direction:column;align-items:stretch}.detail-head-main h1{font-size:1.35rem}.detail-head-actions{flex-wrap:wrap}.detail-head-actions .btn{flex:calc(50% - .3rem)}.detail-stats{grid-template-columns:repeat(3,1fr);gap:.6rem}.detail-stat{padding:.9rem .8rem}.detail-stat .stat-num{font-size:1.4rem}.detail-stat .stat-label{font-size:.74rem}.roster-head{flex-direction:column;align-items:stretch;gap:.75rem}.roster-actions{flex-wrap:wrap}.roster-actions .btn{flex:auto}.roster-actions .btn-primary{flex-basis:100%;order:-1;padding:.6rem;font-size:.9rem}.roster-row{grid-template-columns:1fr auto;padding:.8rem 1rem}.roster-row-head,.roster-row>:nth-child(2),.roster-row>:nth-child(3),.roster-row>:nth-child(4){display:none}.roster-name-cell{min-width:0}.roster-name-cell .roster-name{text-overflow:ellipsis;white-space:nowrap;overflow:hidden}}.students-search{max-width:420px;margin-bottom:1.2rem}.students-table{overflow:hidden}.students-row{border-bottom:1px solid var(--line);grid-template-columns:2fr 1.2fr 1fr auto;align-items:center;gap:1rem;padding:.7rem 1.2rem;font-size:.9rem;display:grid}.students-row:last-child{border-bottom:none}.students-row-head{color:var(--ink-faint);background:var(--paper);font-size:.76rem;font-weight:600}.students-name-cell{align-items:center;gap:.7rem;display:flex}.students-row-actions{justify-content:flex-end;gap:.4rem;display:flex}.bus-tag{color:var(--accent);background:#eaf1fe;border-radius:999px;align-items:center;padding:.2rem .6rem;font-size:.78rem;font-weight:600;display:inline-flex}.bus-tag-free{background:var(--paper);color:var(--ink-faint)}@media (width<=720px){.students-search{max-width:none}.students-row-head{display:none}.students-row{grid-template-columns:1fr auto;grid-template-areas:"name bus""adm actions";gap:.35rem .75rem;padding:.85rem 1rem}.students-row>:first-child{grid-area:name;min-width:0}.students-row>:nth-child(2){grid-area:adm;padding-left:calc(34px + .7rem);font-size:.82rem}.students-row>:nth-child(3){grid-area:bus;justify-self:end}.students-row>:nth-child(4){grid-area:actions}.students-name-cell .roster-name{text-overflow:ellipsis;white-space:nowrap;overflow:hidden}}.staff-notice{background:var(--signal-soft);color:#7a5500;border-radius:var(--radius-sm);margin-bottom:1.1rem;padding:.65rem .9rem;font-size:.88rem}.staff-toolbar{align-items:center;gap:.8rem;margin-bottom:1.2rem;display:flex}.staff-toolbar input{max-width:320px}.staff-table{overflow:hidden}.staff-row{border-bottom:1px solid var(--line);grid-template-columns:2fr 1.3fr 1fr .9fr auto;align-items:center;gap:1rem;padding:.7rem 1.2rem;font-size:.9rem;display:grid}.staff-row:last-child{border-bottom:none}.staff-row-head{color:var(--ink-faint);background:var(--paper);font-size:.76rem;font-weight:600}.staff-row.is-inactive .staff-name-cell,.staff-row.is-inactive .staff-phone{opacity:.55}.staff-name-cell{align-items:center;gap:.7rem;min-width:0;display:flex}.staff-name-text{flex-wrap:wrap;align-items:center;gap:.5rem;min-width:0;display:flex}.staff-phone{color:var(--ink-soft);font-variant-numeric:tabular-nums;text-decoration:none}.staff-phone:hover{color:var(--accent)}.role-tag{border-radius:4px;padding:.1rem .45rem;font-size:.72rem;font-weight:600}.role-driver{color:var(--ink);background:#eef0f4}.role-conductor{background:var(--signal-soft);color:#7a5500}.status-dot{color:var(--ink-faint);align-items:center;gap:.4rem;font-size:.82rem;display:inline-flex}.status-dot:before{content:"";background:var(--line-strong);border-radius:50%;width:7px;height:7px}.status-dot.is-on{color:var(--go)}.status-dot.is-on:before{background:var(--go)}.field-label{color:var(--ink-soft);margin-bottom:.3rem;font-size:.78rem;font-weight:550;display:block}.segmented{background:var(--paper);border:1px solid var(--line-strong);border-radius:var(--radius-sm);gap:3px;padding:3px;display:flex}.segmented-item{color:var(--ink-soft);border-radius:4px;flex:1;padding:.45rem .7rem;font-size:.86rem;font-weight:550}.segmented-item.is-on{background:var(--surface);color:var(--ink);box-shadow:0 1px 2px #202b491f}.segmented-item:focus-visible{outline:2px solid var(--accent);outline-offset:1px}.segmented-compact{flex:none}.segmented-compact .segmented-item{flex:none;padding:.35rem .8rem}.phone-input{align-items:stretch;display:flex}.phone-prefix{background:var(--paper);border:1px solid var(--line-strong);border-radius:var(--radius-sm) 0 0 var(--radius-sm);color:var(--ink-soft);border-right:none;place-items:center;padding:0 .7rem;font-size:.9rem;display:grid}.phone-input input{border-radius:0 var(--radius-sm) var(--radius-sm) 0}.account-box{border:1px solid var(--line);border-radius:var(--radius-sm);margin-top:.4rem;padding:.8rem .9rem}.account-box-head{color:var(--ink-soft);justify-content:space-between;align-items:center;margin-bottom:.7rem;font-size:.82rem;font-weight:600;display:flex}.account-box-actions{flex-wrap:wrap;gap:.5rem;display:flex}.cred-intro{margin-bottom:1rem;font-size:.88rem;line-height:1.5}.cred-card{border:1px solid var(--line);border-radius:var(--radius);background:var(--paper)}.cred-line{justify-content:space-between;align-items:baseline;gap:1rem;padding:.85rem 1rem;display:flex}.cred-line+.cred-line{border-top:1px solid var(--line)}.cred-label{color:var(--ink-faint);font-size:.82rem}.cred-value{font-variant-numeric:tabular-nums;font-weight:600}.cred-password{letter-spacing:.06em;font-family:ui-monospace,SF Mono,Menlo,Consolas,monospace;font-size:1.35rem}.cred-actions{gap:.6rem;margin-top:1rem;display:flex}.cred-actions .btn{flex:1;text-decoration:none}.btn-whatsapp{color:#fff;background:#1f8a54}.btn-whatsapp:hover{background:#197046}@media (width<=720px){.staff-toolbar{flex-direction:column;align-items:stretch}.staff-toolbar input{max-width:none}.segmented-compact .segmented-item{flex:1}.staff-row-head{display:none}.staff-row{grid-template-columns:1fr auto;grid-template-areas:"name bus""phone actions""status actions";gap:.3rem .75rem;padding:.85rem 1rem}.staff-row>:first-child{grid-area:name}.staff-row>:nth-child(2){grid-area:phone;padding-left:calc(34px + .7rem);font-size:.85rem}.staff-row>:nth-child(3){grid-area:bus;justify-self:end}.staff-row>:nth-child(4){grid-area:status;padding-left:calc(34px + .7rem)}.staff-row>:nth-child(5){grid-area:actions;align-self:center}.cred-actions{flex-direction:column}.staff-head{flex-direction:column;align-items:stretch}}.request-panel{border-left:3px solid var(--signal);margin-bottom:1.4rem;padding:1rem 1.2rem}.request-panel-head{align-items:flex-start;gap:.8rem;margin-bottom:.9rem;display:flex}.request-panel-head h2{margin-bottom:.15rem;font-size:1.02rem}.request-panel-head p{font-size:.85rem}.request-badge{background:var(--signal);min-width:26px;height:26px;color:var(--ink);border-radius:999px;flex-shrink:0;place-items:center;padding:0 .4rem;font-size:.85rem;font-weight:700;display:grid}.request-row{border-top:1px solid var(--line);justify-content:space-between;align-items:center;gap:1rem;padding:.7rem 0;display:flex}.request-main{flex-direction:column;gap:.15rem;min-width:0;display:flex}.request-name{font-size:.92rem;font-weight:600}.request-meta{font-size:.82rem}.request-actions{flex-shrink:0;gap:.5rem;display:flex}.parent-row{grid-template-columns:1.6fr 1.2fr 1.6fr .9fr auto}.parent-children{flex-wrap:wrap;gap:.3rem;display:flex}.child-picker{border:1px solid var(--line);border-radius:var(--radius-sm);flex-direction:column;max-height:210px;display:flex;overflow-y:auto}.child-option{cursor:pointer;border-bottom:1px solid var(--line);align-items:center;gap:.6rem;padding:.55rem .75rem;font-size:.9rem;display:flex}.child-option:last-child{border-bottom:none}.child-option:hover{background:var(--paper)}.child-option.is-on{background:#eaf1fe}.child-option input{width:auto;margin:0}.child-option-name{font-weight:550}.child-option-adm{margin-left:auto;font-size:.82rem}@media (width<=720px){.request-row{flex-direction:column;align-items:stretch;gap:.6rem}.request-actions .btn{flex:1}.parent-row{grid-template-columns:1fr auto;grid-template-areas:"name actions""phone actions""kids kids""status status";gap:.3rem .75rem}.parent-row>:first-child{grid-area:name}.parent-row>:nth-child(2){grid-area:phone;padding-left:calc(34px + .7rem)}.parent-row>:nth-child(3){flex-wrap:nowrap;grid-area:kids;justify-self:stretch;padding-bottom:2px;padding-left:calc(34px + .7rem);overflow-x:auto}.parent-row>:nth-child(4){grid-area:status;padding-left:calc(34px + .7rem)}.parent-row>:nth-child(5){grid-area:actions;align-self:start}.parent-children .bus-tag{white-space:nowrap}}.compose{margin-bottom:1.8rem;padding:1.2rem}.compose textarea{resize:vertical;width:100%;min-height:84px;font:inherit;color:var(--ink);border:1px solid var(--line-strong);border-radius:var(--radius-sm);background:var(--surface);padding:.55rem .7rem}.compose textarea:focus{border-color:var(--accent);outline:none;box-shadow:0 0 0 3px #0d6ded1f}.compose-foot{justify-content:space-between;align-items:center;gap:1rem;margin-top:.4rem;display:flex}.compose-reach{font-size:.85rem}.compose-sent{color:var(--go);margin-top:.8rem;font-size:.88rem;font-weight:600}.section-title{color:var(--ink-soft);margin-bottom:.7rem;font-size:.95rem}.msg-list{overflow:hidden}.msg-row{border-bottom:1px solid var(--line);justify-content:space-between;align-items:flex-start;gap:1.2rem;padding:.85rem 1.2rem;display:flex}.msg-row:last-child{border-bottom:none}.msg-main{flex-direction:column;gap:.2rem;min-width:0;display:flex}.msg-title{font-size:.93rem;font-weight:600}.msg-body{font-size:.86rem;line-height:1.45}.msg-meta{flex-shrink:0;align-items:center;gap:.6rem;font-size:.82rem;display:flex}.msg-tag{color:var(--ink);background:#eef0f4;border-radius:4px;padding:.12rem .5rem;font-size:.72rem;font-weight:600}.msg-tag-driver{background:var(--signal-soft);color:#7a5500}@media (width<=720px){.compose-foot{flex-direction:column;align-items:stretch}.compose-foot .btn{width:100%}.compose-reach{text-align:center;order:2}.msg-row{flex-direction:column;gap:.5rem}}.settings-card{max-width:640px;padding:1.4rem 1.5rem}.settings-card h3{margin-bottom:.3rem;font-size:1rem}.settings-help{margin-bottom:1rem;font-size:.86rem}.settings-grid{grid-template-columns:1fr 1fr;gap:.9rem 1rem;display:grid}.settings-sub{margin-top:1.6rem}.settings-check{color:var(--ink);align-items:flex-start;gap:.7rem;margin-top:.6rem;font-size:.92rem;font-weight:500;display:flex}.settings-check input{width:auto;margin-top:.25rem}.settings-check small{margin-top:.2rem;font-weight:400;display:block}.settings-ok{background:var(--go-soft);color:var(--go);border-radius:var(--radius-sm);margin-top:1.1rem;padding:.7rem .9rem;font-size:.88rem}.settings-actions{margin-top:1.3rem}.settings-card .page-error{margin-top:1.1rem;margin-bottom:0}@media (width<=520px){.settings-grid{grid-template-columns:1fr}}
