:root{--font-sans:"Avenir Next", "Segoe UI", "Trebuchet MS", sans-serif;--font-mono:"SFMono-Regular", "Menlo", "Monaco", monospace;--app-height:100vh;--background:#f4efe7;--surface:#fff8f0d6;--surface-strong:#fff7ec;--panel-border:#382b1d1f;--text:#26190d;--muted:#6a5744;--primary:#0e6351;--primary-soft:#0e63511f;--accent:#d97a33;--danger:#b4423c;--warning:#9c6a00;--success:#13745c;--shadow:0 20px 60px #3f280a24}*{box-sizing:border-box}html{background:radial-gradient(circle at 0 0,#d97a332e,#0000 25%),radial-gradient(circle at 100% 100%,#0e63512e,#0000 28%),linear-gradient(#f9f2e7 0%,#f4efe7 100%);min-width:0;min-height:100%}body{color:var(--text);font-family:var(--font-sans);min-height:var(--app-height);padding-bottom:env(safe-area-inset-bottom);margin:0;overflow-x:hidden}a{color:inherit;text-decoration:none}button,input,select,textarea{font:inherit}button{cursor:pointer}.sr-only{clip:rect(0, 0, 0, 0);white-space:nowrap;border:0;width:1px;height:1px;margin:-1px;padding:0;position:absolute;overflow:hidden}.auth-page,.main-content{min-width:0;padding:1.25rem;overflow-x:clip}.main-content{z-index:20;position:relative}.auth-page{place-items:center;min-height:100vh;display:grid}.auth-card,.panel{-webkit-backdrop-filter:blur(16px);backdrop-filter:blur(16px);background:var(--surface);border:1px solid var(--panel-border);box-shadow:var(--shadow);border-radius:24px}.auth-card{width:min(100%,460px);padding:2rem}.max-page .auth-card{width:min(100%,560px)}.max-auth-card{gap:1rem;display:grid}.auth-card h1{margin:0;font-size:2rem}.auth-brand{text-align:center;justify-items:center;gap:.75rem;margin-bottom:.25rem;display:grid}.auth-brand-logo{width:72px;height:auto}.auth-card p{color:var(--muted)}.app-shell{gap:1rem;display:grid}.sidebar{z-index:50;color:#fff7ec;box-shadow:var(--shadow);background:#21180feb;flex-direction:column;gap:1rem;padding:1rem 1.25rem;display:flex;position:sticky;top:0}.brand{align-items:center;gap:.75rem;display:flex}.brand-logo{flex:none;width:44px;height:auto}.brand-copy,.sidebar-user-meta{min-width:0}.brand-user-link{color:inherit;white-space:nowrap;text-overflow:ellipsis;font-weight:700;line-height:1.1;display:block;overflow:hidden}.brand p,.sidebar-footer p,.panel-heading p,.helper-text{color:var(--muted);margin:.2rem 0 0}.sidebar-nav{scrollbar-width:none;gap:.5rem;display:flex;overflow-x:auto}.max-compact-nav{display:none}.sidebar-nav::-webkit-scrollbar{display:none}.toolbar::-webkit-scrollbar{display:none}.sidebar-nav a{background:#fff7ec14;border-radius:999px;flex:none;padding:.7rem 1rem}.max-compact-nav-primary{grid-template-columns:repeat(4,minmax(0,1fr));gap:.35rem;display:grid}.max-compact-link,.max-compact-more-trigger,.max-compact-more-link{color:#fff7ec;text-align:center;background:#fff7ec14;border-radius:12px;justify-content:center;align-items:center;min-height:2.15rem;padding:.42rem .48rem;font-size:.78rem;line-height:1.05;display:inline-flex}.max-compact-more{position:relative}.max-compact-more[open] .max-compact-more-trigger{background:#fff7ec29}.max-compact-more-label--open,.max-compact-more[open] .max-compact-more-label--closed{display:none}.max-compact-more[open] .max-compact-more-label--open{display:inline}.max-compact-more summary{cursor:pointer;list-style:none}.max-compact-more summary::-webkit-details-marker{display:none}.max-compact-more-panel{z-index:60;background:#21180ffa;border:1px solid #fff7ec1a;border-radius:14px;gap:.32rem;min-width:190px;padding:.4rem;display:grid;position:absolute;top:calc(100% + .35rem);right:0;box-shadow:0 16px 34px #120c0742}.max-compact-more-link{background:#fff7ec0d;justify-content:flex-start;font-size:.86rem}.sidebar-footer{justify-content:space-between;align-items:center;gap:1rem;display:flex}.page-head{justify-content:space-between;align-items:flex-start;gap:1rem;margin-bottom:1rem;display:flex}.page-head h1{margin:0;font-size:clamp(1.7rem,3vw,2.4rem)}.page-head p{color:var(--muted);margin:.35rem 0 0}.stats-grid,.grid-2,.grid-3{gap:1rem;display:grid}.stats-grid{isolation:isolate;grid-template-columns:repeat(auto-fit,minmax(180px,1fr));margin-bottom:1rem}.grid-2{grid-template-columns:repeat(auto-fit,minmax(280px,1fr))}.grid-3{grid-template-columns:repeat(auto-fit,minmax(220px,1fr))}.stat-card{isolation:isolate;flex-direction:column;justify-content:space-between;min-height:150px;padding:.8rem .8rem 2.15rem;display:flex;position:relative}.stat-card-link{transition:transform .18s,box-shadow .18s,border-color .18s;display:block}.stat-card-link:hover,.stat-card-link:focus-visible{border-color:#0e635147;transform:translateY(-2px);box-shadow:0 20px 40px #3f280a2e}.stat-card-head{display:block}.stat-card-label{color:var(--muted);max-width:calc(100% - .5rem);min-height:2.8rem;font-size:.9rem;line-height:1.15;display:block}.info-chip{width:1.18rem;height:1.18rem;color:var(--muted);cursor:help;z-index:3;background:#fff7ecf2;border:1px solid #382b1d29;border-radius:999px;place-items:center;font-size:.72rem;font-weight:700;line-height:1;display:grid;position:absolute;bottom:.75rem;right:.8rem}.info-chip:after{content:attr(data-tooltip);color:#fff7ec;opacity:0;pointer-events:none;text-align:left;z-index:30;background:#21180ff5;border-radius:12px;width:min(220px,100vw - 3rem);min-width:160px;max-width:220px;padding:.65rem .75rem;font-size:.78rem;line-height:1.35;transition:opacity .16s;position:absolute;bottom:calc(100% + .55rem);right:0;box-shadow:0 16px 30px #21180f38}.info-chip:hover:after,.info-chip:focus-visible:after{opacity:1}.info-chip:hover,.info-chip:focus-visible{z-index:31}:is(.stat-card:has(.info-chip:hover),.stat-card:has(.info-chip:focus-visible)){z-index:40}.stats-grid>:first-child .info-chip:after,.stats-grid>:nth-child(2) .info-chip:after{left:0;right:auto}.stat-card strong{margin-top:.55rem;font-size:1.8rem;line-height:1;display:block}.panel{min-width:0;margin-bottom:1rem;padding:1rem}.panel-heading{justify-content:space-between;gap:1rem;margin-bottom:1rem;display:flex}.panel h2{margin:0;font-size:1.1rem}.table-wrap{overflow-x:auto}.table-wrap-compact-schedule{margin-top:.15rem}.mobile-only{display:none}.desktop-only{display:block}table{border-collapse:collapse;width:100%;min-width:720px}.schedule-table{min-width:620px}th,td{text-align:left;vertical-align:top;border-bottom:1px solid #382b1d14;padding:.8rem .7rem}th{text-transform:uppercase;letter-spacing:.04em;color:var(--muted);font-size:.82rem}.badge{background:#26190d14;border-radius:999px;align-items:center;gap:.3rem;padding:.3rem .7rem;font-size:.82rem;display:inline-flex}.schedule-table .badge{padding:.22rem .52rem;font-size:.73rem;line-height:1.1}.schedule-cell-stack{gap:.1rem;display:grid}.schedule-cell-title{font-size:.92rem;line-height:1.18}.schedule-cell-meta{color:var(--muted);font-size:.75rem;line-height:1.12}.schedule-cell-text{word-break:break-word;font-size:.88rem;line-height:1.24}.badge-success{color:var(--success);background:#13745c24}.badge-warning{color:var(--warning);background:#9c6a0024}.badge-danger{color:var(--danger);background:#b4423c24}.actions-row,.form-grid,.toolbar{gap:.75rem;display:grid}.actions-row{grid-template-columns:repeat(auto-fit,minmax(160px,max-content));align-items:start}.dashboard-actions{grid-template-columns:repeat(auto-fit,minmax(220px,1fr));align-items:stretch}.quick-action-button{text-align:center;white-space:normal;justify-content:center;align-items:center;width:100%;min-height:4.25rem;line-height:1.2}.toolbar{grid-template-columns:repeat(auto-fit,minmax(120px,max-content));align-items:start;margin-bottom:1rem}.form-grid{grid-template-columns:repeat(auto-fit,minmax(180px,1fr))}.form-grid>*{min-width:0}.trip-primary-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.trip-primary-grid-full{grid-column:1/-1}label{gap:.35rem;min-width:0;font-size:.95rem;display:grid}input,select,textarea{width:100%;min-width:0;max-width:100%;color:var(--text);background:#ffffffb8;border:1px solid #382b1d29;border-radius:16px;padding:.78rem .9rem}input[type=date],input[type=time]{inline-size:100%;min-width:0;-webkit-min-logical-width:0;min-inline-size:0;display:block}.compact-native-field{width:100%;min-height:3.1rem;color:var(--text);background:#ffffffb8;border:1px solid #382b1d29;border-radius:16px;align-items:center;padding:.78rem .9rem;display:flex;position:relative;overflow:hidden}.compact-native-field-input{opacity:.01;cursor:pointer;z-index:1;width:100%;height:100%;margin:0;position:absolute;inset:0}.compact-native-field-value{white-space:nowrap;text-overflow:ellipsis;pointer-events:none;width:100%;font-size:.98rem;line-height:1.2;display:block;overflow:hidden}.compact-native-field-value--placeholder{color:var(--muted)}textarea{resize:vertical;min-height:108px}.checkbox-list{gap:.45rem;display:grid}.admin-trip-target-picker{background:#ffffff57;border:1px solid #382b1d14;border-radius:18px;gap:.85rem;padding:.95rem;display:grid}.admin-trip-target-children{gap:.25rem;display:grid}.checkbox-item{align-items:center;gap:.6rem;display:flex}.checkbox-item input{width:auto}.primary-button,.ghost-button,.danger-button{border:none;border-radius:14px;justify-content:center;align-items:center;width:auto;min-height:2.5rem;padding:.62rem .95rem;font-size:.95rem;font-weight:500;line-height:1.15;transition:background-color .16s,border-color .16s,color .16s,transform .16s;display:inline-flex}.primary-button{color:#fff;background:linear-gradient(135deg,#0e6351,#15816b);box-shadow:0 10px 18px #0e635129}.ghost-button{color:var(--primary);background:#26190d0d;border:1px solid #382b1d14}.ghost-button-active{color:#0d5e4d;background:#0e635124;border-color:#0e635157;box-shadow:inset 0 0 0 1px #0e635114}.danger-button{color:var(--danger);background:#b4423c1a}.icon-button{aspect-ratio:1;width:2.5rem;min-width:2.5rem;padding:0}.icon-button--compact{border-radius:12px;width:2rem;min-width:2rem;min-height:2rem}.icon-button--toolbar{width:2.6rem;min-width:2.6rem}.action-icon{flex:none;width:1rem;height:1rem}.primary-button:hover,.ghost-button:hover,.danger-button:hover,.primary-button:focus-visible,.ghost-button:focus-visible,.danger-button:focus-visible{transform:translateY(-1px)}.inline-form{display:inline}.alert{color:#624100;background:#9c6a001f;border-radius:18px;margin-bottom:1rem;padding:.9rem 1rem}.flash-toast-stack{z-index:120;pointer-events:none;gap:.55rem;width:min(360px,100vw - 2rem);display:grid;position:fixed;top:1rem;right:1rem}.flash-toast{-webkit-backdrop-filter:blur(10px);backdrop-filter:blur(10px);pointer-events:auto;border:1px solid #382b1d1a;border-radius:14px;justify-content:space-between;align-items:flex-start;gap:.75rem;padding:.72rem .82rem;display:flex;box-shadow:0 14px 34px #22180e24}.flash-toast-success{color:#0e6351;background:#f6f1e8f5}.flash-toast-info{color:#0d5a74;background:#eff7f5f7}.flash-toast-danger{color:#9f2f26;background:#fff5f3f7}.flash-toast-text{font-size:.84rem;line-height:1.25}.flash-toast-close{color:inherit;cursor:pointer;background:0 0;border:none;flex:none;padding:.1rem;font-size:1rem;line-height:1}.empty-state{text-align:center;color:var(--muted);border:1px dashed #382b1d2e;border-radius:16px;padding:1rem}.mono{font-family:var(--font-mono)}.mobile-list{gap:.85rem;display:grid}.mobile-card{background:#ffffffa8;border:1px solid #382b1d1a;border-radius:18px;padding:.9rem;box-shadow:0 10px 24px #3f280a14}.mobile-card-head{justify-content:space-between;align-items:flex-start;gap:.75rem;margin-bottom:.3rem;display:flex}.mobile-card-title{margin:0;font-size:1rem;font-weight:700}.mobile-card-subtitle{color:var(--muted);margin:.2rem 0 0;font-size:.88rem}.mobile-card-body{gap:.55rem;display:grid}.mobile-card-row{gap:.16rem;display:grid}.mobile-card-label{color:var(--muted);text-transform:uppercase;letter-spacing:.03em;font-size:.8rem}.mobile-card-value{word-break:break-word;font-size:.98rem;line-height:1.35}.mobile-card-actions{flex-wrap:wrap;gap:.55rem;margin-top:.9rem;display:flex}.history-archive-item{border-bottom:1px solid #382b1d14;justify-content:space-between;align-items:flex-start;gap:.75rem;padding:.55rem 0;display:flex}.history-archive-item:last-child{border-bottom:none;padding-bottom:0}.history-archive-select{flex:auto;min-width:0}.history-archive-summary{gap:.16rem;display:grid}.history-archive-meta,.history-archive-warning{color:var(--muted);font-size:.86rem;line-height:1.35}.history-archive-warning{color:#a45f22}.history-archive-open{flex:none;min-height:2.1rem}.history-archive-actions{flex-wrap:wrap;flex:none;align-items:center;gap:.3rem;display:flex}.history-modal-overlay{z-index:140;-webkit-backdrop-filter:blur(10px);backdrop-filter:blur(10px);background:#1a130b6b;padding:1rem;position:fixed;inset:0;overflow-y:auto}.history-modal{background:#fff8f0fa;border:1px solid #382b1d1f;border-radius:24px;width:min(760px,100%);max-height:calc(100vh - 2rem);margin:0 auto;padding:1rem;overflow-y:auto;box-shadow:0 24px 60px #1f160d38}.history-modal-head{z-index:1;background:#fff8f0fa;justify-content:space-between;align-items:flex-start;gap:1rem;margin-bottom:1rem;padding-bottom:.75rem;display:flex;position:sticky;top:0}.history-modal-head h2{margin:0;font-size:1.15rem}.history-modal-head p{color:var(--muted);margin:.25rem 0 0}.history-modal-close{min-width:92px}.history-modal-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:.85rem;display:grid}.history-modal-item,.history-modal-section{gap:.2rem;display:grid}.history-modal-section{margin-top:1rem}.history-modal-label{color:var(--muted);text-transform:uppercase;letter-spacing:.04em;font-size:.78rem}.history-modal-section p{margin:0;line-height:1.4}@media (max-width:720px){.history-archive-item{flex-direction:column;align-items:stretch}.history-archive-open{align-self:flex-start}.history-modal-overlay{padding:.75rem}.history-modal{border-radius:20px;max-height:calc(100vh - 1.5rem)}.history-modal-grid{grid-template-columns:1fr}}.template-select-button{white-space:nowrap;flex:none;min-height:2.15rem;padding:.42rem .8rem}.compact-stack{gap:.75rem;display:grid}.finance-search-form{align-items:center;gap:.55rem;margin-bottom:.9rem;display:flex}.finance-search-form input[type=search]{flex:auto;min-width:0}.finance-controls-panel{gap:.8rem;margin-bottom:1rem;display:grid}.finance-period-toolbar{margin-bottom:0}.finance-export-row{gap:.6rem}.compact-admin-heading{align-items:center}.compact-catalog-shell{gap:.55rem;margin-bottom:.45rem;display:grid}.compact-catalog-toolbar{margin-bottom:0}.compact-admin-summary{color:var(--muted);align-items:baseline;gap:.5rem;display:inline-flex}.compact-admin-summary strong{color:var(--text);font-size:1.35rem;line-height:1}.compact-admin-badges{flex-wrap:wrap;justify-content:flex-end;gap:.5rem;display:flex}.compact-admin-form{align-items:end;gap:.55rem;display:grid}.compact-admin-form--locations{grid-template-columns:minmax(180px,1.1fr) minmax(220px,1.5fr) auto;width:100%}.compact-admin-form--routes{grid-template-columns:minmax(180px,1fr) minmax(180px,1fr) 110px auto;width:100%}.compact-admin-table-wrap{margin-top:.2rem}.compact-admin-table{min-width:0}.compact-admin-table th,.compact-admin-table td{padding:.58rem .52rem}.compact-admin-table th{font-size:.72rem}.compact-admin-list{gap:.65rem}.compact-admin-card{padding:.75rem .8rem}.compact-row-actions{flex-wrap:wrap;align-items:center;gap:.4rem;display:flex}.compact-row-actions--end{justify-content:flex-end}.compact-actions-head{text-align:right}.compact-row-button{border-radius:12px;min-height:2rem;padding:.42rem .7rem;font-size:.82rem}.compact-row-button.icon-button{padding:0}.compact-route-hint{color:var(--muted);margin-top:-.1rem;font-size:.84rem;line-height:1.3}.compact-route-table{min-width:760px}.compact-route-form{align-items:end;gap:.5rem;display:grid}.compact-route-form--inline{grid-template-columns:84px auto;gap:.4rem}.compact-route-form--inline input{border-radius:12px;min-width:0;padding:.48rem .62rem}.compact-route-form--inline .ghost-button{border-radius:12px;min-height:2rem;padding:.45rem .72rem;font-size:.86rem}.compact-route-name{font-size:.92rem;line-height:1.2}.compact-admin-table.compact-route-table td{vertical-align:middle}.sticky-mobile-action{z-index:5;background:linear-gradient(#f4efe700,#f4efe7eb 28%,#f4efe7 100%);padding-top:.75rem;position:sticky;bottom:0}.template-apply-hint{color:var(--primary);background:#0e635114;border:1px solid #0e635124;border-radius:12px;margin-bottom:.6rem;padding:.42rem .58rem;font-size:.76rem;line-height:1.28}.template-date-field{background:#0e63510a;border:1px solid #0e63511f;border-radius:18px;padding:.45rem}.template-date-field input{background:#ffffffe0}.max-embedded .auth-page,.max-embedded .main-content{padding:.62rem .7rem .85rem}.max-embedded .panel,.max-embedded .form-grid{overflow-x:clip}.max-embedded .auth-page{min-height:var(--app-height)}.max-embedded .app-shell{gap:.55rem}.max-embedded .sidebar{z-index:50;border-radius:0 0 16px 16px;gap:.5rem;margin:0 -.7rem;padding:.58rem .7rem .62rem;position:static;box-shadow:0 10px 26px #3f280a29}.max-embedded .brand strong{font-size:1rem;line-height:1.05}.max-embedded .brand-logo{width:34px}.max-embedded .brand-user-link{font-size:.9rem}.max-embedded .brand p,.max-embedded .sidebar-user-meta p,.max-embedded .page-head p,.max-embedded .panel-heading p{display:none}.max-embedded .sidebar-nav{margin:0;padding-bottom:0}.max-embedded .sidebar-nav a{padding:.48rem .72rem;font-size:.86rem;line-height:1.05}.max-embedded .sidebar-nav--default{display:none}.max-embedded .max-compact-nav{gap:.38rem;display:grid}.max-embedded .max-compact-more{z-index:51}.max-embedded .max-compact-more[open]{z-index:60}.max-embedded .max-compact-more-panel{z-index:61}.max-embedded .sidebar-footer{justify-content:flex-end;align-items:center;gap:.6rem;display:flex}.max-embedded .sidebar-user-meta,.max-embedded .sidebar-footer form{display:none}.max-embedded .sidebar-footer .ghost-button{min-height:2.2rem;padding:.48rem .78rem;font-size:.88rem}.max-embedded .page-head{gap:.5rem;margin-bottom:.65rem}.max-embedded .page-head h1{font-size:1.7rem;line-height:1.02}.max-embedded .page-head>.primary-button,.max-embedded .page-head>.ghost-button{width:100%}.max-embedded .panel{border-radius:18px;margin-bottom:.72rem;padding:.72rem}.max-embedded .panel-heading{margin-bottom:.6rem}.max-embedded .panel h2{font-size:1rem}.max-embedded .mobile-card{padding:.75rem}.max-embedded .mobile-card-head{margin-bottom:.22rem}.max-embedded .mobile-card-actions{margin-top:.7rem}.max-embedded .template-select-button{min-height:1.95rem;padding:.34rem .64rem;font-size:.78rem}.max-embedded .form-grid,.max-embedded .compact-stack{gap:.65rem}.max-embedded .trip-primary-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.max-embedded label{gap:.28rem;font-size:.9rem}.max-embedded input,.max-embedded select,.max-embedded textarea{border-radius:13px;padding:.7rem .8rem;font-size:.96rem}.max-embedded .compact-native-field{border-radius:13px;min-height:2.85rem;padding:.7rem .8rem}.max-embedded .compact-native-field-value{font-size:.92rem}.max-embedded textarea{min-height:88px}.max-embedded .primary-button,.max-embedded .ghost-button,.max-embedded .danger-button{min-height:2.65rem;padding:.56rem .84rem;font-size:.92rem}.max-embedded .sticky-mobile-action{padding-top:.55rem}.max-embedded .template-apply-hint{border-radius:10px;margin-bottom:.42rem;padding:.38rem .5rem;font-size:.5rem;line-height:1.22}.max-embedded .template-date-field{border-radius:14px;padding:.36rem}.max-embedded .toolbar{gap:.38rem;margin-bottom:.62rem}.max-embedded .toolbar .ghost-button{border-radius:11px;min-height:2rem;padding:.36rem .62rem;font-size:.78rem}.max-embedded .table-wrap-compact-schedule{margin:0 -.18rem}.max-embedded .schedule-table{min-width:560px}.max-embedded .schedule-table th,.max-embedded .schedule-table td{padding:.46rem .42rem}.max-embedded .schedule-table th{letter-spacing:.03em;font-size:.64rem}.max-embedded .schedule-cell-title,.max-embedded .schedule-cell-text{font-size:.76rem;line-height:1.16}.max-embedded .schedule-cell-meta{font-size:.64rem}.max-embedded .schedule-table .badge{padding:.16rem .38rem;font-size:.62rem}.max-embedded .schedule-table .ghost-button{min-height:2rem;padding:.28rem .56rem;font-size:.72rem}.max-embedded .schedule-breadcrumbs--admin,.max-embedded .schedule-page-head--admin .schedule-page-subtitle,.max-embedded .schedule-page-actions--admin{display:none}.max-embedded .schedule-page-head--admin{gap:.35rem;margin-bottom:.45rem}.max-embedded .schedule-page-head--admin h1{font-size:1.48rem;line-height:1}.max-embedded .schedule-admin-shell{gap:.42rem}.max-embedded .schedule-admin-controls-panel{z-index:35;-webkit-backdrop-filter:blur(14px);backdrop-filter:blur(14px);background:#fff8f0f2;border-radius:18px;gap:0;padding:.44rem .48rem;position:sticky;top:.35rem;box-shadow:0 12px 28px #3f280a1f}.schedule-admin-quick-actions{display:none}.max-embedded .schedule-admin-quick-actions,.max-embedded .schedule-legend{flex-wrap:wrap;align-items:stretch;gap:.34rem;display:flex;overflow:visible}.max-embedded .schedule-admin-quick-actions>*{text-align:center;flex:calc(50% - .17rem);justify-content:center;min-width:0}.max-embedded .schedule-admin-toolbar-row{flex-direction:column;align-items:stretch;gap:.36rem;padding-bottom:0}.max-embedded .schedule-admin-filter-row{flex-wrap:nowrap;margin:0;padding-bottom:0;overflow-x:auto}.max-embedded .schedule-admin-filter-row>*{text-align:center;flex:none;justify-content:center;min-width:max-content}.max-embedded .schedule-admin-action-row{flex-wrap:nowrap;justify-content:flex-start;align-items:stretch;gap:.45rem;width:100%;margin:0;display:flex}.max-embedded .schedule-admin-action-row-main{flex-wrap:wrap;flex:auto;justify-content:flex-start;align-items:center;gap:.34rem;min-width:0;display:flex}.max-embedded .schedule-admin-action-row-main .schedule-actualization-controls,.max-embedded .schedule-admin-action-row-main .schedule-actualization-controls form,.max-embedded .schedule-admin-action-row-main #bulk-schedule-actions,.max-embedded .schedule-admin-action-row-main .schedule-admin-share-action{display:contents}.max-embedded .schedule-admin-action-row-main>*,.max-embedded .schedule-admin-action-row-main button,.max-embedded .schedule-admin-action-row-main a{flex:none}.max-embedded .schedule-admin-action-row-cta{flex:none;justify-content:center;align-self:stretch;align-items:center;width:2.6rem;min-width:2.6rem;padding:0;display:flex}.max-embedded .schedule-actualization-controls,.max-embedded .schedule-admin-bulk-actions{flex-wrap:nowrap;align-items:center;gap:.34rem;margin:0;display:flex}.max-embedded .schedule-actualization-controls{flex:none}.max-embedded .schedule-actualization-controls form{display:flex}.max-embedded .schedule-admin-bulk-actions{flex:none}.max-embedded .schedule-admin-share-action{justify-content:flex-end;align-items:center;margin-left:0;display:flex}.max-embedded .schedule-admin-share-action .ghost-button{width:2rem;min-width:2rem;padding:0}.max-embedded .schedule-admin-controls-panel .primary-button,.max-embedded .schedule-admin-controls-panel .ghost-button,.max-embedded .schedule-admin-controls-panel .danger-button{border-radius:10px;min-height:1.92rem;padding:.3rem .56rem;font-size:.74rem;line-height:1}.max-embedded .schedule-admin-controls-panel .icon-button{width:1.95rem;min-width:1.95rem;padding:0}.max-embedded .schedule-admin-controls-panel .icon-button--toolbar{width:2rem;min-width:2rem}.max-embedded .schedule-admin-controls-panel .action-icon{width:.92rem;height:.92rem}.max-embedded .schedule-legend{gap:.28rem;margin:0;padding-bottom:0;font-size:.64rem;line-height:1.1}.max-embedded .schedule-legend>*{flex:100%}.max-embedded .schedule-legend-item{background:#26190d0a;border-radius:999px;padding:.16rem .36rem}.max-embedded .schedule-legend-swatch{width:.62rem;height:.62rem}.schedule-admin-mobile-list{display:none}.schedule-admin-mobile-group,.schedule-admin-mobile-card{border-radius:16px}.schedule-admin-mobile-group{background:#e9f2e8f5;border:1px solid #3f70531f;overflow:hidden}.schedule-admin-mobile-trip-list{gap:.45rem;display:grid}.schedule-admin-mobile-card{background:#fffbf5fa;border:1px solid #382b1d14;gap:.4rem;padding:.62rem .68rem;display:grid}.schedule-admin-mobile-card--group{background:#eff7edfa}.schedule-admin-mobile-card-top{justify-content:space-between;align-items:center;gap:.45rem;display:flex}.schedule-admin-mobile-check{align-items:center;gap:.45rem;font-size:.82rem;font-weight:700;line-height:1.1;display:inline-flex}.schedule-admin-mobile-field,.schedule-admin-mobile-note,.schedule-admin-mobile-meta-item{gap:.18rem;min-width:0;display:grid}.schedule-admin-mobile-label{letter-spacing:.01em;color:#3a3128b8;text-transform:uppercase;font-size:.62rem;font-weight:700;line-height:1}.schedule-admin-mobile-field--route strong,.schedule-admin-mobile-meta-item strong{font-size:.84rem;line-height:1.15}.schedule-admin-mobile-meta-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:.42rem;display:grid}.schedule-admin-mobile-card .schedule-time-form,.schedule-admin-mobile-card .schedule-driver-form,.schedule-admin-mobile-card .schedule-inline-control{width:100%}.schedule-admin-mobile-card .schedule-actions-compact--row{margin-top:.1rem}.schedule-admin-mobile-card .schedule-advanced-form--compact{padding:.62rem .68rem}.schedule-admin-mobile-details{margin-top:0}.max-embedded .schedule-admin-mobile-list{grid-template-columns:minmax(0,1fr);gap:.5rem;min-width:0;display:grid}.max-embedded .schedule-admin-table-desktop{display:none}.max-embedded .schedule-group-summary{padding:.68rem .72rem}.max-embedded .schedule-group-summary-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:.45rem}.max-embedded .schedule-group-summary-section strong{font-size:.78rem}.max-embedded .schedule-group-content{gap:.5rem;padding:0 .55rem .6rem}.max-embedded .table-wrap-compact-schedule{margin-top:0}@media (max-width:767px){.auth-page,.main-content{padding:.85rem}.app-shell{gap:.75rem}.sidebar{border-radius:0 0 20px 20px;gap:.6rem;margin:0 -.85rem;padding:.85rem .9rem;position:static}.brand-logo{width:38px}.brand{gap:.6rem}.brand-copy{flex:1}.brand-user-link{font-size:.98rem}.sidebar-nav{margin:0 -.1rem;padding-bottom:.15rem}.sidebar-nav--default{display:none}.max-compact-nav{display:grid}.max-compact-nav-primary{grid-template-columns:repeat(4,minmax(0,1fr));gap:.28rem}.max-compact-link,.max-compact-more-trigger{letter-spacing:-.01em;min-height:1.95rem;padding:.34rem .3rem;font-size:.68rem}.max-compact-more-panel{min-width:180px}.max-compact-more-link{font-size:.78rem}.sidebar-nav a{white-space:nowrap;padding:.7rem .9rem;font-size:.95rem}.sidebar-footer{justify-content:flex-end;gap:.55rem}.sidebar-user-meta{display:none}.page-head{flex-direction:column;gap:.75rem;margin-bottom:.85rem}.page-head h1{font-size:2rem;line-height:1.05}.page-head p{font-size:.98rem;line-height:1.35}.page-head>.primary-button,.page-head>.ghost-button{width:100%}.panel{border-radius:20px;margin-bottom:.85rem;padding:.85rem}.panel-heading{flex-direction:column;align-items:stretch;gap:.7rem;margin-bottom:.75rem}.panel h2{font-size:1.02rem}.stats-grid,.grid-2,.grid-3,.form-grid{grid-template-columns:minmax(0,1fr);gap:.75rem}.trip-primary-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.compact-catalog-shell{gap:.7rem}.stat-card{padding:.9rem}.stat-card strong{font-size:1.8rem}.toolbar{align-items:center;gap:.55rem;margin:0 -.15rem .85rem;padding-bottom:.1rem;display:flex;overflow-x:auto}.toolbar>*{white-space:nowrap;flex:none}.actions-row{grid-template-columns:minmax(0,1fr)}.quick-action-button{min-height:3.2rem}.compact-admin-heading{align-items:stretch}.compact-admin-badges{justify-content:flex-start}.compact-admin-form--locations,.compact-admin-form--routes,.compact-route-form--inline{grid-template-columns:minmax(0,1fr)}.compact-route-hint{font-size:.78rem}.compact-row-actions{width:100%}.finance-search-form{flex-direction:column;align-items:stretch}.finance-export-row{grid-template-columns:minmax(0,1fr)}input,select,textarea{border-radius:14px;padding:.78rem .88rem;font-size:.98rem}.compact-native-field{border-radius:14px;min-height:2.95rem;padding:.78rem .88rem}.compact-native-field-value{font-size:.95rem}.checkbox-item{align-items:flex-start}.checkbox-item input{margin-top:.15rem}.primary-button,.ghost-button,.danger-button{width:auto;max-width:100%;min-height:2.85rem;font-size:.95rem}.table-wrap{margin:0 -.2rem}table{min-width:640px}.table-wrap-compact-schedule{margin:0 -.12rem}.schedule-table{min-width:600px}.schedule-table th,.schedule-table td{padding:.55rem .48rem}.schedule-table th{font-size:.68rem}.schedule-cell-title,.schedule-cell-text{font-size:.82rem;line-height:1.18}.schedule-cell-meta{font-size:.68rem}.schedule-table .badge{padding:.18rem .42rem;font-size:.66rem}.schedule-table .ghost-button{min-height:2.1rem;padding:.34rem .6rem;font-size:.76rem}.mobile-only{display:block}.desktop-only{display:none}}@media (max-width:380px){.max-embedded .auth-page,.max-embedded .main-content{padding:.5rem .58rem .8rem}.max-embedded .sidebar{gap:.45rem;margin:0 -.58rem;padding:.5rem .58rem .56rem}.max-embedded .brand strong{font-size:.94rem}.max-embedded .brand-logo{width:30px}.max-embedded .sidebar-nav a{padding:.42rem .62rem;font-size:.81rem}.max-embedded .max-compact-nav-primary{gap:.3rem}.max-embedded .max-compact-link,.max-embedded .max-compact-more-trigger{min-height:2rem;padding:.38rem .45rem;font-size:.76rem}.max-embedded .max-compact-more-panel{min-width:170px;padding:.35rem}.max-embedded .max-compact-more-link{font-size:.8rem}.max-embedded .sidebar-footer strong{font-size:.88rem}.max-embedded .page-head{margin-bottom:.55rem}.max-embedded .page-head h1{font-size:1.52rem}.max-embedded .panel{border-radius:16px;padding:.64rem}.max-embedded .panel h2{font-size:.95rem}.max-embedded .mobile-card{padding:.68rem}.max-embedded input,.max-embedded select,.max-embedded textarea{padding:.64rem .74rem;font-size:.92rem}.max-embedded .primary-button,.max-embedded .ghost-button,.max-embedded .danger-button{min-height:2.45rem;font-size:.88rem}.max-embedded .toolbar .ghost-button{min-height:1.9rem;padding:.3rem .5rem;font-size:.72rem}.max-embedded .schedule-page-head--admin{margin-bottom:.4rem}.max-embedded .schedule-page-head--admin h1{font-size:1.38rem}.max-embedded .schedule-admin-controls-panel{gap:0;padding:.4rem .44rem;top:.28rem}.max-embedded .schedule-admin-controls-panel .primary-button,.max-embedded .schedule-admin-controls-panel .ghost-button,.max-embedded .schedule-admin-controls-panel .danger-button{min-height:1.82rem;padding:.26rem .5rem;font-size:.7rem}.max-embedded .schedule-admin-controls-panel .icon-button{width:1.86rem;min-width:1.86rem}.max-embedded .schedule-admin-controls-panel .icon-button--toolbar{width:1.92rem;min-width:1.92rem}.max-embedded .schedule-legend{font-size:.6rem}.max-embedded .schedule-table{min-width:540px}.max-embedded .schedule-table th,.max-embedded .schedule-table td{padding:.4rem .36rem}.max-embedded .schedule-cell-title,.max-embedded .schedule-cell-text{font-size:.72rem}.max-embedded .schedule-cell-meta{font-size:.6rem}.max-embedded .schedule-table .badge{font-size:.58rem}}@media (min-width:1024px){.app-shell{grid-template-columns:280px minmax(0,1fr);align-items:start}.sidebar{gap:1.5rem;min-height:100vh;padding:1.5rem}.sidebar-nav{flex-direction:column;overflow:visible}.main-content{padding:1.5rem 1.5rem 2rem 0}}.breadcrumbs{color:#6b7280;flex-wrap:wrap;gap:.35rem;margin-bottom:.75rem;font-size:.9rem;display:flex}.breadcrumbs-item{align-items:center;gap:.35rem;display:inline-flex}.breadcrumbs-link{color:inherit;text-decoration:none}.breadcrumbs-link:hover{text-decoration:underline}.breadcrumbs-current{color:#111827;font-weight:600}.ordered-location-input{gap:.75rem;display:grid}.ordered-location-head{justify-content:space-between;align-items:center;gap:.75rem;display:flex}.ordered-location-list{gap:.6rem;display:grid}.ordered-location-row{grid-template-columns:minmax(0,1fr) auto;align-items:center;gap:.6rem;display:grid}.ordered-location-actions{flex-wrap:wrap;gap:.4rem;display:flex}.trip-route-editor{gap:.75rem;display:grid}.trip-route-editor .ordered-location-list{margin-top:0}.trip-route-editor--dense{gap:.55rem}.trip-route-editor--dense .ordered-location-head{gap:.5rem}.trip-route-editor--dense .ordered-location-head strong{font-size:.82rem;line-height:1.15}.trip-route-editor--dense .ordered-location-list,.trip-route-editor--dense .ordered-location-row{gap:.45rem}.trip-route-editor--dense .schedule-cell-meta{font-size:.64rem}.trip-route-editor-button--dense{border-radius:10px;min-height:1.9rem;padding:.24rem .5rem;font-size:.68rem;line-height:1.05}.segmented-choice{flex-wrap:wrap;gap:.5rem;margin-top:.45rem;display:flex}.return-trip-toggle{color:var(--primary);cursor:pointer;background:#26190d0d;border:1px solid #382b1d14;border-radius:12px;justify-content:center;align-items:center;padding:.45rem .7rem;font-size:.86rem;line-height:1.1;list-style:none;display:inline-flex}.return-trip-toggle::-webkit-details-marker{display:none}.return-trip-toggle:before{content:"↔";margin-right:.4rem;font-weight:700}.schedule-toolbar-sticky{z-index:5;background:inherit;padding-bottom:.5rem;position:sticky;top:0}.schedule-filter-action-row{justify-content:space-between;align-items:center;gap:.65rem;margin-bottom:1rem;display:flex}.schedule-filter-tabs{flex:auto;min-width:0;margin-bottom:0}.schedule-new-trip-button{flex:none}.schedule-compact-list{gap:.5rem;display:grid}.schedule-compact-card{background:#fffaf4eb;border:1px solid #382b1d14;border-radius:14px;flex-direction:column;gap:.32rem;min-width:0;padding:.62rem .78rem;display:flex;position:relative}.schedule-compact-header{align-items:center;gap:.55rem;min-width:0;display:flex}.schedule-compact-time{color:var(--primary);font-variant-numeric:tabular-nums;flex:none;font-size:1rem;font-weight:800;line-height:1.05}.schedule-compact-route{min-width:0;color:var(--text);text-overflow:ellipsis;white-space:nowrap;flex:auto;font-size:1rem;font-weight:700;line-height:1.05;overflow:hidden}.schedule-compact-driver{min-width:0;max-width:40%;color:var(--text);text-align:right;text-overflow:ellipsis;white-space:nowrap;flex:none;font-size:1rem;font-weight:700;line-height:1.05;overflow:hidden}.schedule-compact-action{flex:none;justify-content:flex-end;align-items:center;min-width:2rem;display:flex}.schedule-compact-action .icon-button{width:2rem;min-width:2rem;height:2rem;padding:0}.schedule-compact-card--grouped{border-left:3px solid var(--accent);padding-left:calc(.78rem - 2px)}.schedule-compact-group{color:var(--accent);font-variant-numeric:tabular-nums;background:#d97a3324;border-radius:999px;flex:none;align-items:center;gap:.18rem;padding:.06rem .38rem;font-size:.78rem;font-weight:700;line-height:1.2;display:inline-flex}.schedule-compact-group svg{width:.92rem;height:.92rem}.schedule-compact-waypoints{min-width:0;color:var(--muted);word-break:break-word;font-size:.8rem;line-height:1.2}.schedule-compact-waypoints strong{color:var(--text);font-weight:700}.schedule-compact-children,.schedule-compact-comment{min-width:0;color:var(--text);word-break:break-word;font-size:.88rem;font-weight:400;line-height:1.25}@media (max-width:480px){.schedule-compact-driver{max-width:32%;font-size:.92rem}.schedule-compact-route,.schedule-compact-time{font-size:.94rem}}.schedule-grid-card-comment,.schedule-comment-inline{width:100%;min-width:0;color:var(--text);word-break:break-word;overflow-wrap:anywhere;font-size:.86rem;font-weight:700;line-height:1.25}.schedule-driver-decline-btn{color:var(--muted,#6b7280);transition:color .15s,opacity .15s}.schedule-driver-decline-btn:hover{color:var(--warning,#c07c00);opacity:1}.schedule-admin-shell{gap:1rem;display:grid}.schedule-admin-controls-panel{gap:0;display:grid}.schedule-admin-toolbar-row{flex-direction:column;align-items:stretch;gap:.4rem;min-width:0;display:flex}.schedule-admin-filter-row{flex-wrap:nowrap;gap:.55rem;width:100%;min-width:0;margin-bottom:0;padding-bottom:0;display:flex;overflow-x:auto}.schedule-admin-filter-row>*{flex:none}.schedule-admin-action-row{flex-wrap:nowrap;justify-content:flex-start;align-items:stretch;gap:.45rem;width:100%;margin-left:0;display:flex}.schedule-admin-action-row-main{flex-wrap:wrap;flex:auto;justify-content:flex-start;align-items:center;gap:.34rem;min-width:0;display:flex}.schedule-admin-action-row-main>*{flex:none}.schedule-admin-action-row-cta{flex:none;justify-content:center;align-self:stretch;align-items:center;width:2.8rem;min-width:2.8rem;padding:0;display:flex}.schedule-actualization-controls,.schedule-admin-bulk-actions{flex-wrap:nowrap}.schedule-actualization-controls form{display:flex}.schedule-admin-share-action{align-items:stretch;display:flex}@media (min-width:1024px){.schedule-admin-controls-panel{z-index:8;background:#fff8f0f5;align-self:start;position:sticky;top:1rem;box-shadow:0 18px 40px #3f280a24}.schedule-admin-controls-panel .schedule-toolbar-sticky{padding-bottom:0;position:static}}.schedule-legend{color:var(--muted);flex-wrap:wrap;align-items:center;gap:.55rem .8rem;font-size:.78rem;line-height:1.2;display:flex}.schedule-legend-item{background:#fffbf5b8;border:1px solid #382b1d14;border-radius:999px;align-items:center;gap:.4rem;padding:.24rem .55rem;display:inline-flex}.schedule-legend-swatch{border:1px solid #382b1d1a;border-radius:999px;flex:none;width:12px;height:12px}.schedule-legend-swatch--group{background:#dcebdafa}.schedule-legend-swatch--linked{background:#ecf6ecfa}.schedule-legend-swatch--cancelled{background:#fce3e3fa}.schedule-table-admin-v2{table-layout:fixed;width:100%;min-width:0;font-size:.78rem}.schedule-admin-table-desktop{overflow-x:hidden}.schedule-table-admin-blocks{border-collapse:separate;border-spacing:0}.schedule-table-admin-v2 th,.schedule-table-admin-v2 td{vertical-align:top;padding:.42rem .32rem}.schedule-table-admin-v2 th{letter-spacing:.03em;font-size:.64rem}.schedule-table-admin-blocks thead th{padding-top:0;padding-bottom:.15rem}.schedule-col-check{width:3%}.schedule-col-date{width:12%}.schedule-col-route{width:18%}.schedule-col-children{width:17%}.schedule-col-driver{width:20%}.schedule-col-type,.schedule-col-comment{width:11%}.schedule-col-actions{width:8%}.schedule-block td{background:#fffbf5f5;border-top:1px solid #382b1d14;border-bottom:1px solid #382b1d14}.schedule-block tr td:first-child{border-left:1px solid #382b1d14}.schedule-block tr td:last-child{border-right:1px solid #382b1d14}.schedule-block tr+tr td{border-top:0}.schedule-block+.schedule-block tr:first-child td{background-clip:padding-box;border-top:.75rem solid #0000;box-shadow:inset 0 1px #382b1d14}.schedule-block tr:first-child td:first-child{border-top-left-radius:18px}.schedule-block tr:first-child td:last-child{border-top-right-radius:18px}.schedule-block tr:last-child td:first-child{border-bottom-left-radius:18px}.schedule-block tr:last-child td:last-child{border-bottom-right-radius:18px}.schedule-block--group td{background:#e9f2e8f5}.schedule-block--group tr td:first-child{border-left:3px solid #3f70534d}.schedule-block--group tr td:last-child{border-right:3px solid #3f705329}.schedule-block--single td{background:#fffaf4fa}.schedule-block--linked td{background:#f0f7effa}.schedule-group-row{background:0 0}.schedule-group-shell-cell{padding:0!important}.schedule-group-details{gap:.75rem;display:grid}.schedule-group-summary{cursor:pointer;background:#dcebdafa;padding:.8rem .9rem;list-style:none;display:block}.schedule-group-summary::-webkit-details-marker{display:none}.schedule-group-summary:before{content:"▾";color:var(--primary);margin-right:.45rem;font-weight:700;transition:transform .12s;display:inline-block}.schedule-group-details:not([open])>.schedule-group-summary:before{transform:rotate(-90deg)}.schedule-group-summary-grid{grid-template-columns:1.1fr 1.5fr .7fr 1fr .75fr 1fr;align-items:start;gap:.8rem;display:grid}.schedule-group-summary-section{gap:.2rem;min-width:0;display:grid}.schedule-group-summary-section strong{font-size:.82rem;line-height:1.15}.schedule-group-content{gap:.7rem;padding:0 .7rem .75rem;display:grid}.schedule-group-editor-details{margin-top:0}.schedule-group-trip-list{gap:.55rem;display:grid}.schedule-group-trip-card{background:#eff7edfa;border:1px solid #3f70531f;border-radius:16px;gap:.5rem;padding:.7rem .75rem;display:grid}.schedule-group-trip-grid{grid-template-columns:2rem minmax(0,.82fr) minmax(0,1.38fr) minmax(0,.86fr) minmax(0,1.05fr) minmax(0,.74fr) minmax(0,.72fr) 4.25rem;align-items:start;gap:.45rem;display:grid}.schedule-group-trip-check{justify-content:center;align-items:flex-start;padding-top:.15rem;display:flex}.schedule-group-trip-details{margin-top:0}.schedule-row-cancelled td{background:#fce3e3fa}.schedule-row-linked td{background:#ecf6ecfa}.schedule-group-trip-card.schedule-row-cancelled{background:#fce3e3fa}.schedule-compact-card.schedule-row-cancelled,.schedule-admin-mobile-card.schedule-row-cancelled,.schedule-admin-mobile-card--compact.schedule-row-cancelled{background:#fce3e3fa;border-color:#c4505040}.schedule-group-trip-card.schedule-row-linked{background:#ecf6ecfa}.schedule-link-row td{background:#f7faf4fa}.schedule-link-banner{background:#14532d0f;border:1px solid #14532d33;border-radius:10px;padding:.36rem .48rem;font-size:.7rem;line-height:1.2}.schedule-linked-meta{color:#14532d;margin-top:.12rem;font-size:.65rem;line-height:1.15;display:block}.inline-edit-form{flex-wrap:wrap;align-items:center;gap:.45rem;display:flex}.schedule-inline-stack{gap:.18rem;min-width:0;display:grid}.schedule-inline-stack strong,.schedule-cell-stack strong{font-size:.8rem;line-height:1.15}.schedule-table-admin-v2 .schedule-cell-meta{font-size:.66rem;line-height:1.1}.schedule-table-admin-v2 .badge{padding:.16rem .42rem;font-size:.64rem}.schedule-table-admin-v2 .ghost-button,.schedule-table-admin-v2 .danger-button{border-radius:10px;min-height:1.8rem;padding:.22rem .46rem;font-size:.69rem;line-height:1}.schedule-time-form{place-items:start;gap:.28rem;width:100%;display:grid}.schedule-time-form strong{display:block}.schedule-inline-control{grid-template-columns:minmax(0,1fr) auto;align-items:center;gap:.3rem;width:100%;display:grid}.schedule-inline-submit{white-space:nowrap}.schedule-driver-form{align-items:stretch;gap:.28rem;width:100%;display:grid}.schedule-actions-compact{flex-wrap:wrap;align-items:center;gap:.26rem;display:flex}.schedule-actions-compact form{display:contents}.schedule-actions-compact .ghost-button,.schedule-actions-compact .danger-button{width:auto}.schedule-actions-compact .icon-button{flex:none;width:2rem;min-width:2rem}.schedule-actions-compact--row{flex-wrap:nowrap;justify-content:flex-start}.schedule-date-cell,.schedule-route-cell,.schedule-children-cell,.schedule-driver-cell,.schedule-status-cell,.schedule-comment-cell,.schedule-actions-cell{overflow-wrap:anywhere;min-width:0}.inline-edit-form input[type=time],.inline-edit-form input[type=text],.inline-edit-form select{min-width:110px;max-width:180px;padding:.38rem .45rem;font-size:.82rem}.schedule-table-admin-v2 .inline-edit-form input[type=time],.schedule-table-admin-v2 .inline-edit-form input[type=text],.schedule-table-admin-v2 .inline-edit-form select{border-radius:10px;width:100%;min-width:0;max-width:100%;padding:.26rem .34rem;font-size:.72rem}.schedule-table-admin-v2 .schedule-inline-control{grid-template-columns:minmax(0,1fr) minmax(1.75rem,auto)}.schedule-advanced-details{margin-top:.18rem}.schedule-group-row--editor .schedule-advanced-details,.schedule-group-subrow .schedule-advanced-details{margin-top:0}.schedule-advanced-summary,.schedule-return-summary{cursor:pointer;color:#3a3128;font-size:.78rem;font-weight:600;line-height:1.2;list-style:none}.schedule-advanced-summary::-webkit-details-marker{display:none}.schedule-return-summary::-webkit-details-marker{display:none}.schedule-advanced-summary:before,.schedule-return-summary:before{content:"▾";color:var(--primary);margin-right:.35rem;transition:transform .12s;display:inline-block}.schedule-advanced-details:not([open])>.schedule-advanced-summary:before,.schedule-return-details:not([open])>.schedule-return-summary:before{transform:rotate(-90deg)}.schedule-advanced-form--compact{background:#ffffff7a;border:1px solid #382b1d14;border-radius:14px;gap:.6rem;margin-top:.55rem;padding:.7rem .8rem;display:grid}.schedule-advanced-form--compact label{gap:.24rem;font-size:.78rem;line-height:1.15;display:grid}.schedule-advanced-form--compact input,.schedule-advanced-form--compact select,.schedule-advanced-form--compact textarea{border-radius:12px;padding:.5rem .62rem;font-size:.82rem}.schedule-advanced-form--compact textarea{min-height:88px}.schedule-advanced-grid{gap:.6rem}.schedule-advanced-section{margin-top:0}.schedule-return-details{border-top:1px dashed #382b1d1f;margin-top:.1rem;padding-top:.2rem}.schedule-return-toggle{margin-top:.5rem;font-size:.76rem}.schedule-advanced-actions{margin-top:.1rem}.schedule-advanced-actions .ghost-button{min-height:2rem;padding:.28rem .7rem}@media (max-width:900px){.ordered-location-row{grid-template-columns:minmax(0,1fr)}.schedule-admin-mobile-list{gap:.5rem;display:grid}.schedule-admin-table-desktop{display:none}.schedule-table-admin-v2{font-size:.74rem}.schedule-table-admin-v2 th,.schedule-table-admin-v2 td{padding:.34rem .24rem}.schedule-col-date{width:13%}.schedule-col-route{width:18%}.schedule-col-children{width:16%}.schedule-col-driver{width:21%}.schedule-col-type{width:12%}.schedule-col-comment{width:10%}.schedule-col-actions{width:7%}.schedule-table-admin-v2 .ghost-button,.schedule-table-admin-v2 .danger-button{padding:.2rem .38rem;font-size:.64rem}.schedule-admin-shell{gap:.8rem}.schedule-legend{gap:.45rem .55rem;font-size:.72rem}.schedule-legend-item{padding:.22rem .46rem}.schedule-table-admin-blocks{border-spacing:0}.schedule-block+.schedule-block tr:first-child td{border-top-width:.55rem}.schedule-advanced-form--compact{padding:.6rem}.schedule-advanced-form--compact input,.schedule-advanced-form--compact select,.schedule-advanced-form--compact textarea{font-size:.78rem}.schedule-advanced-grid,.schedule-group-summary-grid{grid-template-columns:minmax(0,1fr)}.schedule-group-content{padding-inline:.55rem}}@media (min-width:901px) and (max-width:1180px){.schedule-table-admin-v2{font-size:.7rem}.schedule-table-admin-v2 th,.schedule-table-admin-v2 td{padding:.32rem .22rem}.schedule-table-admin-v2 th{letter-spacing:.02em;font-size:.58rem}.schedule-col-check{width:2.5%}.schedule-col-date{width:11%}.schedule-col-route{width:19%}.schedule-col-children{width:16%}.schedule-col-driver{width:19%}.schedule-col-type{width:12%}.schedule-col-comment{width:11%}.schedule-col-actions{width:9.5%}.schedule-group-summary{padding:.62rem .7rem}.schedule-group-summary-grid{grid-template-columns:1fr 1.35fr .58fr .9fr .68fr .8fr;gap:.5rem}.schedule-group-summary-section strong,.schedule-inline-stack strong,.schedule-cell-stack strong{font-size:.72rem}.schedule-group-trip-grid{grid-template-columns:1.65rem minmax(0,.72fr) minmax(0,1.3fr) minmax(0,.78fr) minmax(0,1fr) minmax(0,.72fr) minmax(0,.68fr) 3.7rem;gap:.32rem}.schedule-table-admin-v2 .schedule-cell-meta,.schedule-linked-meta{font-size:.58rem}.schedule-table-admin-v2 .badge{padding:.12rem .28rem;font-size:.56rem}.schedule-table-admin-v2 .ghost-button,.schedule-table-admin-v2 .danger-button{min-height:1.6rem;padding:.18rem .28rem;font-size:.58rem}.schedule-table-admin-v2 .inline-edit-form input[type=time],.schedule-table-admin-v2 .inline-edit-form input[type=text],.schedule-table-admin-v2 .inline-edit-form select{padding:.2rem .26rem;font-size:.62rem}.schedule-actions-compact .icon-button{width:1.7rem;min-width:1.7rem}}.schedule-group-summary--compact{flex-wrap:wrap;align-items:center;gap:.5rem .75rem;padding:.55rem .75rem .55rem 1.65rem;font-size:.85rem;line-height:1.25;display:flex}.schedule-group-summary--compact .schedule-group-time{font-variant-numeric:tabular-nums;min-width:2.6rem;font-weight:600}.schedule-group-summary--compact .schedule-group-count{color:var(--color-text-muted,#5b6573);text-transform:uppercase;letter-spacing:.04em;font-size:.78rem}.schedule-group-summary--compact .schedule-group-path{white-space:nowrap;text-overflow:ellipsis;flex:240px;min-width:160px;font-weight:500;overflow:hidden}.schedule-group-summary--compact .schedule-group-kids,.schedule-group-summary--compact .schedule-group-driver{color:var(--color-text-muted,#5b6573);white-space:nowrap;font-size:.82rem}.schedule-group-summary--compact .badge{margin-left:auto}.schedule-admin-mobile-card--compact{box-sizing:border-box;background:#fffaf4eb;border:1px solid #382b1d14;border-radius:14px;flex-direction:column;gap:.32rem;width:100%;min-width:0;max-width:100%;padding:.62rem .78rem;display:flex;overflow:hidden}.schedule-admin-mobile-card-header{align-items:center;gap:.5rem;width:100%;min-width:0;display:flex}.schedule-admin-mobile-card-check{flex:none;align-items:center;display:flex}.schedule-admin-mobile-card-time{color:var(--primary);font-variant-numeric:tabular-nums;flex:none;font-size:1rem;font-weight:800;line-height:1.05}.schedule-admin-mobile-card-route{min-width:0;color:var(--text);text-overflow:ellipsis;white-space:nowrap;flex:auto;font-size:1rem;font-weight:700;line-height:1.05;overflow:hidden}.schedule-admin-mobile-card-driver{min-width:0;max-width:38%;color:var(--text);text-align:right;text-overflow:ellipsis;white-space:nowrap;flex:none;font-size:1rem;font-weight:700;line-height:1.05;overflow:hidden}.schedule-admin-mobile-card-action{flex:none;width:2rem;min-width:2rem;height:2rem;padding:0}.schedule-admin-mobile-card-waypoints{min-width:0;color:var(--muted);word-break:break-word;font-size:.8rem;line-height:1.2}.schedule-admin-mobile-card-waypoints strong{color:var(--text);font-weight:700}.schedule-admin-mobile-card-children,.schedule-admin-mobile-card-comment{min-width:0;color:var(--text);word-break:break-word;font-size:.88rem;font-weight:400;line-height:1.25}.schedule-admin-mobile-card-meta{flex-wrap:wrap;align-items:center;gap:.4rem;margin-top:.15rem;display:flex}.schedule-admin-mobile-card-type{color:var(--muted);font-size:.75rem;line-height:1.1}@media (max-width:480px){.schedule-admin-mobile-card-time,.schedule-admin-mobile-card-route,.schedule-admin-mobile-card-driver{font-size:.92rem}.schedule-admin-mobile-card-driver{max-width:36%}.schedule-admin-mobile-card-header{gap:.35rem}.schedule-admin-mobile-card--compact{padding:.55rem .6rem}}.max-embedded .schedule-admin-mobile-card--compact{padding:.55rem .6rem}.max-embedded .schedule-admin-mobile-card-header{gap:.35rem}.max-embedded .schedule-admin-mobile-card-time,.max-embedded .schedule-admin-mobile-card-route,.max-embedded .schedule-admin-mobile-card-driver{font-size:.92rem}.max-embedded .schedule-admin-mobile-card-driver{max-width:36%}.max-embedded .schedule-admin-mobile-card-action{width:1.85rem;min-width:1.85rem;height:1.85rem}.schedule-return-tag{color:var(--color-text-muted,#5b6573);white-space:nowrap;margin-left:.25rem;font-size:.78rem;font-weight:400}.schedule-row-return{border-left:2px dashed var(--color-border-strong,#d6dae3)}@media (max-width:720px){.schedule-group-summary--compact .schedule-group-path{white-space:normal;flex-basis:100%}.schedule-group-summary--compact .badge{margin-left:0}}.schedule-grid-wrap{display:none}.schedule-admin-table-desktop--hidden{display:none!important}.schedule-admin-view-switch{gap:.25rem;margin-left:auto;display:inline-flex}@media (min-width:720px){.schedule-grid-wrap{background:var(--color-surface-muted,#f6f7fa);border-radius:.55rem;max-height:calc(100vh - 180px);padding:.2rem .2rem .55rem;font-size:.78rem;display:block;overflow:auto}.schedule-grid{grid-auto-columns:minmax(170px,1fr);grid-auto-flow:column;align-items:start;gap:.4rem;display:grid}}.schedule-dnd-root{display:contents}.schedule-grid-col{background:var(--color-surface,#fff);border:1px solid var(--color-border,#e1e4eb);border-radius:.45rem;flex-direction:column;align-self:stretch;min-width:0;transition:box-shadow .12s,border-color .12s;display:flex}.schedule-grid-col--no-driver{background:#fff8e7;border-color:#e3b865}.schedule-grid-col--empty{background:#fafbfc;border-style:dashed;border-color:#cdd2dc}.schedule-grid-col--drop-active{background:#2f8a4f0f;border-style:solid;border-color:#2f8a4f;box-shadow:0 0 0 2px #2f8a4f47}.schedule-grid-col--drop-active .schedule-grid-col-header{background:#2f8a4f1f}.schedule-grid-col-header{z-index:4;background:var(--color-surface,#fff);border-bottom:1px solid var(--color-border,#e1e4eb);cursor:default;border-top-left-radius:.45rem;border-top-right-radius:.45rem;flex-direction:column;gap:.1rem;padding:.4rem .5rem;transition:background .12s;display:flex;position:sticky;top:0}.schedule-grid-col--no-driver .schedule-grid-col-header{background:#fff8e7}.schedule-grid-col--empty .schedule-grid-col-header{background:#fafbfc}.schedule-grid-col-empty-hint{color:#97a0ad;text-align:center;flex:1;justify-content:center;align-items:center;padding:1rem .5rem;font-size:.78rem;font-style:italic;display:flex}.schedule-grid-col-title{white-space:nowrap;text-overflow:ellipsis;font-size:.84rem;overflow:hidden}.schedule-grid-col-body{flex-direction:column;gap:.3rem;padding:.3rem;display:flex}.schedule-grid-card{border:1px solid var(--color-border,#e1e4eb);padding:.35rem .45rem;background:var(--color-surface,#fff);cursor:grab;border-radius:.4rem;flex-direction:column;gap:.18rem;padding-top:.55rem;font-size:.76rem;line-height:1.25;display:flex;position:relative}.schedule-grid-status-dot{pointer-events:none;border-radius:50%;flex-shrink:0;width:9px;height:9px;position:absolute;top:5px;right:5px}.schedule-grid-status-dot--success{background:#13745c}.schedule-grid-status-dot--warning{background:#c07c00}.schedule-grid-status-dot--danger{background:#b4423c}.schedule-grid-card:active{cursor:grabbing}.schedule-grid-card--dragging{opacity:.5}.schedule-grid-card--group{background:#eef6ee;border-color:#cbe1cb}.schedule-grid-card--cancelled{opacity:.85;background:#fdecec;border-color:#f0b6b6}.schedule-grid-card--return{border-left:2px dashed #b9bcc6}.schedule-grid-card--conflict{border:1.5px solid #d2553f;box-shadow:0 0 0 2px #d2553f2e}.schedule-grid-card-header{align-items:center;gap:.35rem;display:flex}.schedule-grid-card-time{font-variant-numeric:tabular-nums;font-size:.82rem;font-weight:600}.schedule-grid-card-time-edit input[type=time]{width:4.2rem;padding:.14rem .26rem;font-size:.72rem}.schedule-grid-card-route{word-break:break-word;font-weight:500}.schedule-grid-card-meta{min-width:0;color:var(--color-text-muted,#5b6573);overflow-wrap:anywhere;word-break:break-word;flex-wrap:wrap;align-items:center;gap:.15rem .3rem;font-size:.72rem;display:flex}.schedule-grid-card-meta>*{min-width:0;max-width:100%}.schedule-grid-card-footer{flex-wrap:wrap;align-items:center;gap:.25rem;margin-top:.1rem;display:flex}.schedule-grid-card-driver{flex:110px;min-width:100px}.schedule-grid-card-driver select{width:100%;padding:.16rem .26rem;font-size:.72rem}.schedule-grid-card-conflict-note{color:#c0392b;font-size:.7rem;font-weight:500}.schedule-grid-card-trips-summary{cursor:pointer;color:var(--color-text-muted,#5b6573);font-size:.72rem;list-style:none}.schedule-grid-card-trips-summary::-webkit-details-marker{display:none}.schedule-grid-card-trips-summary:before{content:"▸ "}.schedule-grid-card-trips[open]>.schedule-grid-card-trips-summary:before{content:"▾ "}.schedule-grid-card-trips-list{flex-direction:column;gap:.12rem;margin:.18rem 0 0;padding:0;font-size:.72rem;list-style:none;display:flex}@media (max-width:719px){.schedule-admin-view-switch{display:none!important}}.schedule-admin-shell .schedule-admin-controls-panel{padding:.45rem .65rem}.schedule-admin-shell .schedule-admin-filter-row .ghost-button,.schedule-admin-shell .schedule-admin-filter-row a.ghost-button,.schedule-admin-shell .schedule-admin-action-row .ghost-button,.schedule-admin-shell .schedule-admin-action-row a.ghost-button{padding:.32rem .7rem;font-size:.78rem}.schedule-admin-shell .schedule-admin-action-row .icon-button{width:1.85rem;min-width:1.85rem;height:1.85rem}.schedule-grid-card-trips-list li{white-space:nowrap;text-overflow:ellipsis;overflow:hidden}@media (max-width:720px){.schedule-grid-wrap,.schedule-admin-table-desktop--hidden{display:none!important}}.schedule-inline-control input[type=time],.schedule-inline-control select{border-radius:.4rem}.users-create-collapse{interpolate-size:allow-keywords;margin-bottom:1rem}.users-create-collapse>summary.users-create-toggle{background:var(--primary);color:#fff;cursor:pointer;-webkit-user-select:none;user-select:none;border:none;border-radius:999px;align-items:center;gap:.55rem;padding:.5rem .95rem .5rem .7rem;font-size:.92rem;font-weight:600;list-style:none;transition:transform .18s,box-shadow .18s,background .18s;display:inline-flex;box-shadow:0 4px 14px #0b40242e}.users-create-collapse>summary.users-create-toggle::-webkit-details-marker{display:none}.users-create-collapse>summary.users-create-toggle:hover{transform:translateY(-1px);box-shadow:0 8px 22px #0b402438}.users-create-collapse>summary.users-create-toggle .users-create-toggle-icon{background:#ffffff2e;border-radius:999px;justify-content:center;align-items:center;width:1.5rem;height:1.5rem;font-size:1.2rem;font-weight:700;line-height:1;transition:transform .3s cubic-bezier(.4,0,.2,1);display:inline-flex}.users-create-collapse[open]>summary.users-create-toggle .users-create-toggle-icon{transform:rotate(45deg)}.users-create-collapse>.users-create-content{opacity:0;margin-top:.85rem;transition:opacity .28s,transform .28s;overflow:clip;transform:translateY(-.4rem)}.users-create-collapse[open]>.users-create-content{opacity:1;transform:translateY(0)}.max-embedded .schedule-compact-time,.max-embedded .schedule-compact-route,.max-embedded .schedule-compact-driver{font-size:1.08rem}.max-embedded .schedule-compact-children,.max-embedded .schedule-compact-comment{font-size:.95rem}@media (max-width:480px){.max-embedded .schedule-compact-time,.max-embedded .schedule-compact-route,.max-embedded .schedule-compact-driver{font-size:1.02rem}}@media (max-width:900px){.schedule-admin-action-row-main .schedule-actualization-controls,.schedule-admin-action-row-main .schedule-actualization-controls form,.schedule-admin-action-row-main #bulk-schedule-actions,.schedule-admin-action-row-main .schedule-admin-share-action{display:contents}.schedule-admin-action-row-main>*,.schedule-admin-action-row-main button,.schedule-admin-action-row-main a{flex:none}}.schedule-admin-mobile-card-time--service{color:#dc2626}.schedule-admin-mobile-card-driver-select{flex:none;align-items:center;min-width:0;max-width:40%;display:flex}.schedule-admin-mobile-card-driver-select .schedule-driver-form,.schedule-admin-mobile-card-driver-select .schedule-driver-form .schedule-inline-control{align-items:center;width:100%;min-width:0;display:flex}.schedule-admin-mobile-card-driver-select select{border-radius:8px;width:100%;min-width:0;max-width:100%;padding:.28rem .4rem;font-size:.86rem}@media (max-width:480px){.schedule-admin-mobile-card-driver-select{max-width:44%}.schedule-admin-mobile-card-driver-select select{padding:.22rem .3rem;font-size:.8rem}}.max-embedded .schedule-admin-mobile-card-driver-select select{font-size:.84rem}.schedule-date-separator td.schedule-date-separator-cell{color:var(--text);letter-spacing:.02em;text-transform:uppercase;background:0 0;border:none;padding:.65rem .5rem .35rem;font-size:.92rem;font-weight:700}.schedule-date-separator+.schedule-block tr:first-child td{border-top:1px solid #382b1d1f}.schedule-group-summary--row:before{content:none;display:none}.schedule-group-summary--row{cursor:pointer;grid-template-columns:3% 12% 18% 17% 20% 11% 11% 8%;align-items:center;gap:0 .4rem;padding:.5rem .42rem;font-size:.85rem;line-height:1.2;list-style:none;display:grid}.schedule-group-summary--row::-webkit-details-marker{display:none}.schedule-group-summary--row .sgs-cell{min-width:0}.schedule-group-summary--row .sgs-arrow:before{content:"▶";color:var(--color-text-muted,#5b6573);font-size:.7rem;transition:transform .15s;display:inline-block}.schedule-group-details[open]>.schedule-group-summary--row .sgs-arrow:before{transform:rotate(90deg)}.schedule-group-summary--row .sgs-time{font-variant-numeric:tabular-nums;font-weight:700}.schedule-group-summary--row .sgs-route{flex-direction:column;gap:.1rem;display:flex}.schedule-group-summary--row .sgs-group-label{text-transform:uppercase;letter-spacing:.04em;color:var(--color-text-muted,#5b6573);font-size:.66rem}.schedule-group-summary--row .sgs-path{white-space:nowrap;text-overflow:ellipsis;font-weight:600;overflow:hidden}.schedule-group-summary--row .sgs-kids,.schedule-group-summary--row .sgs-driver{color:var(--color-text-muted,#5b6573);white-space:nowrap;text-overflow:ellipsis;font-size:.82rem;overflow:hidden}
