/* Account navigation is shared by desktop and mobile. */
.access-groups{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px}
.access-group{display:flex;align-items:center;justify-content:space-between;gap:16px;padding:24px;text-align:left;border-radius:12px;background:#fff;min-width:0}
.access-group strong{display:block;font-size:18px;overflow-wrap:anywhere}.access-group small{display:block;color:var(--muted);font-size:12px;margin-top:10px}.access-group>span:last-child{font-size:22px;color:#78938d}
.access-path{display:flex;align-items:center;flex-wrap:wrap;gap:10px;margin-bottom:18px}.access-path button{background:transparent;border:0;padding:8px 0;color:var(--accent)}.access-path strong{font-size:15px}.access-section-title{font-size:15px;margin:20px 0 12px}
.mobile-menu,.menu-backdrop,.schedule-mode,.schedule-list-view{display:none}
html[data-layout="mobile"]{--label:124px;font-size:15px;-webkit-text-size-adjust:100%}
html[data-layout="mobile"] body{overflow-x:hidden}
html[data-layout="mobile"] main{margin-left:0;min-width:0}
html[data-layout="mobile"] .content{padding:20px 14px 30px;width:100%;max-width:100%}
html[data-layout="mobile"] .topbar{height:auto;min-height:64px;flex-wrap:wrap;padding:10px 14px;gap:8px;position:sticky;top:0;z-index:25}
html[data-layout="mobile"] .topbar>div:first-child{display:flex;align-items:center;gap:8px;font-size:12px;min-width:0}
html[data-layout="mobile"] .topbar .slash,html[data-layout="mobile"] .topbar .sync{display:none}
html[data-layout="mobile"] .top-right{gap:6px;min-width:0;margin-left:auto;max-width:100%}
html[data-layout="mobile"] .account{max-width:145px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
html[data-layout="mobile"] .topbar button{min-height:44px}
html[data-layout="mobile"] .topbar .pill{font-size:10px;padding:4px 6px}
html[data-layout="mobile"] .demo-role-control select{max-width:115px;font-size:13px}
html[data-layout="mobile"] .topbar .mobile-brand{display:inline;font-weight:650;color:var(--ink)}
html[data-layout="mobile"] .topbar #breadcrumb{display:none}
html[data-layout="mobile"] .mobile-menu{display:inline-flex;align-items:center;justify-content:center;width:44px;flex-shrink:0;padding:0;font-size:21px;background:#f3f7f5}
html[data-layout="mobile"] .sidebar{display:flex;top:0;bottom:0;width:min(280px,85vw);transform:translateX(-105%);transition:transform .18s;z-index:60;padding-top:max(28px,env(safe-area-inset-top));overflow:auto}
html[data-layout="mobile"] .menu-open .sidebar{transform:translateX(0)}
html[data-layout="mobile"] .menu-open .menu-backdrop{display:block;position:fixed;inset:0;z-index:55;border:0;border-radius:0;background:#162e3b66}
html[data-layout="mobile"] .staff-view .sidebar,html[data-layout="mobile"] .staff-view .mobile-menu{display:none}
html[data-layout="mobile"] .page-heading{margin-bottom:18px;align-items:center;flex-wrap:wrap;gap:12px}
html[data-layout="mobile"] h1{font-size:25px;letter-spacing:-.6px;overflow-wrap:anywhere}
html[data-layout="mobile"] .page-heading .primary{min-height:44px;padding:10px 14px;font-size:14px}
html[data-layout="mobile"] button{min-height:44px;touch-action:manipulation}
html[data-layout="mobile"] input,html[data-layout="mobile"] select,html[data-layout="mobile"] textarea{font-size:16px;min-height:46px;max-width:100%;min-width:0}
html[data-layout="mobile"] .stats{grid-template-columns:repeat(2,minmax(0,1fr));margin-bottom:18px}
html[data-layout="mobile"] .stat{padding:14px 12px;min-width:0;border-bottom:1px solid var(--line)}
html[data-layout="mobile"] .stat:nth-child(2){border-right:0}html[data-layout="mobile"] .stat:nth-child(n+3){border-bottom:0}
html[data-layout="mobile"] .stat label{line-height:1.6;font-size:11px;margin-bottom:7px}
html[data-layout="mobile"] .stat strong{font-size:29px}html[data-layout="mobile"] .stat.highlight{border-radius:0 0 10px 0}
html[data-layout="mobile"] .toolbar{gap:12px;align-items:stretch}
html[data-layout="mobile"] .date-control{width:100%;flex-wrap:wrap;gap:5px}
html[data-layout="mobile"] .date-control input{flex:1;width:125px;max-width:170px}
html[data-layout="mobile"] .date-control span{margin-left:3px;font-size:12px}
html[data-layout="mobile"] .filters{width:100%;justify-content:space-between}
html[data-layout="mobile"] .filters button{font-size:13px;flex:1;padding:7px 5px}
html[data-layout="mobile"] .view-time{margin-left:0;gap:8px;justify-content:flex-end;width:100%}
html[data-layout="mobile"] .view-time input{width:130px}
html[data-layout="mobile"] .schedule-mode{display:flex;background:#e8efec;border-radius:9px;padding:4px;margin:14px 0;gap:4px}
html[data-layout="mobile"] .schedule-mode button{flex:1;border:0;background:transparent;font-size:14px}
html[data-layout="mobile"] .schedule-mode button[aria-pressed="true"]{background:white;color:#254e47;box-shadow:0 1px 4px #203c3612;font-weight:600}
html[data-layout="mobile"] #page[data-schedule-mode="list"]>.schedule-card{display:none}
html[data-layout="mobile"] #page[data-schedule-mode="list"]>.schedule-list-view{display:block}
html[data-layout="mobile"] .scroll-sheet{max-height:none;overflow-x:auto;overflow-y:hidden;overscroll-behavior-x:contain}
html[data-layout="mobile"] .sheet{min-width:calc(var(--label) + var(--count)*40px)}
html[data-layout="mobile"] .sheet-caption{padding:14px 12px;flex-wrap:wrap}
html[data-layout="mobile"] .sheet-caption strong{font-size:14px}
html[data-layout="mobile"] .company-legend{padding:10px 12px;gap:8px}
html[data-layout="mobile"] .company-legend button{font-size:12px}
html[data-layout="mobile"] .row-label{padding:12px 10px}
html[data-layout="mobile"] .row-label strong{white-space:normal;font-size:12px}
html[data-layout="mobile"] .capacity-cells button{padding:5px 1px}
.mobile-company{margin-bottom:20px}.mobile-company>header{display:flex;align-items:center;justify-content:space-between;margin-bottom:10px}.mobile-company>header button{border:0;background:transparent;padding:8px 0;text-align:left;font-weight:600}.mobile-company>header small{color:var(--muted);font-size:12px}
.mobile-trip{display:block;width:100%;text-align:left;padding:16px;margin:10px 0;border-left:4px solid var(--company-color);border-radius:10px;background:#fff}
.mobile-trip-top{display:flex;justify-content:space-between;align-items:center;gap:10px;margin-bottom:12px}.mobile-trip-top strong{font-size:20px;font-variant-numeric:tabular-nums}.mobile-trip-top strong small{font-size:11px;color:var(--muted);font-weight:400;margin-left:8px}
.mobile-trip-status{font-size:17px;color:var(--company-color);font-weight:600}.mobile-trip-times{display:flex;justify-content:space-between;gap:10px;font-size:13px;line-height:1.8;color:#617875}.mobile-trip-name{display:block;color:#71817e;font-size:12px;margin-bottom:9px}.mobile-trip-bottom{display:flex;justify-content:space-between;align-items:center;gap:8px;border-top:1px solid #eef2ef;padding-top:10px;margin-top:10px;font-size:12px;color:#71817e}.mobile-trip-bottom .short{font-size:11px;color:#b3332d;border-bottom:1px solid #c94840;padding:2px 4px}
.mobile-roster{border-top:1px solid var(--line);padding-top:18px}.mobile-roster h3{font-size:17px;margin-bottom:12px}.mobile-roster button{width:100%;display:flex;justify-content:space-between;align-items:center;gap:12px;text-align:left;margin:8px 0;padding:14px;border-radius:9px}.mobile-roster button strong{font-size:14px}.mobile-roster button small{display:block;color:var(--muted);font-size:11px;margin-top:4px}.mobile-roster button>span:last-child{display:flex;flex-direction:column;gap:4px;font-variant-numeric:tabular-nums;font-size:13px}
html[data-layout="mobile"] .data-table{min-width:0!important;width:100%;display:block;border:0;font-size:14px}
html[data-layout="mobile"] .data-table thead{position:absolute;width:1px;height:1px;clip-path:inset(50%);overflow:hidden}
html[data-layout="mobile"] .data-table tbody{display:grid;gap:14px}
html[data-layout="mobile"] .data-table tr{display:block;background:#fff;border:1px solid var(--line);border-radius:12px;padding:8px 14px;min-width:0}
html[data-layout="mobile"] .data-table td{display:grid;grid-template-columns:86px minmax(0,1fr);gap:10px;padding:12px 0;border-bottom:1px solid #edf1ef;min-width:0!important;max-width:100%!important;white-space:normal;align-items:center;overflow-wrap:anywhere}
html[data-layout="mobile"] .data-table td:last-child{border-bottom:0}
html[data-layout="mobile"] .data-table td::before{content:attr(data-label);font-size:12px;font-weight:400;color:#7b8c87;line-height:1.6}
html[data-layout="mobile"] .data-table td small{font-size:12px;line-height:1.6;margin-top:5px;grid-column:2}
html[data-layout="mobile"] .data-table td>div{min-width:0}
html[data-layout="mobile"] .table-wrap{overflow:visible;background:transparent;border:0}
html[data-layout="mobile"] .access-groups{grid-template-columns:1fr;gap:12px}
html[data-layout="mobile"] .access-group{padding:20px;min-height:95px}
html[data-layout="mobile"] .access-row-actions,html[data-layout="mobile"] .access-code-actions{flex-wrap:wrap;gap:7px}
html[data-layout="mobile"] .access-credential{display:flex!important;flex-wrap:wrap}.access-credential::before{width:86px}
html[data-layout="mobile"] .access-credential .access-code-actions{width:100%;padding-left:96px}
html[data-layout="mobile"] .access-status{justify-self:start}
html[data-layout="mobile"] .agency-view .topbar>div:first-child{display:none}
html[data-layout="mobile"] .agency-view .topbar{justify-content:flex-end}
html[data-layout="mobile"] .agency-view .top-right{flex-wrap:nowrap;width:100%;justify-content:flex-end}
html[data-layout="mobile"] .agency-tabs{gap:4px;flex-wrap:nowrap;width:100%;padding-bottom:8px;margin-bottom:20px}
html[data-layout="mobile"] .agency-tabs button{flex:1;font-size:14px;padding:10px 8px}
html[data-layout="mobile"] .agency-list{grid-template-columns:minmax(0,1fr)}
html[data-layout="mobile"] .agency-prices{gap:8px;flex-wrap:wrap;font-size:12px;margin-bottom:18px}
html[data-layout="mobile"] .agency-prices>span{flex:1;white-space:nowrap}html[data-layout="mobile"] .agency-prices strong{margin-left:3px}
html[data-layout="mobile"] .agency-trip{padding:18px}
html[data-layout="mobile"] .agency-trip-actions button{flex:1;font-size:14px}
html[data-layout="mobile"] .agency-account-filter{width:100%;justify-content:space-between;white-space:normal}
html[data-layout="mobile"] .agency-account-filter select{max-width:75%;min-width:0}
html[data-layout="mobile"] .agency-assignment{padding:14px;gap:8px;line-height:1.7}
html[data-layout="mobile"] .order-totals{grid-template-columns:1fr 1fr;row-gap:18px}
html[data-layout="mobile"] .order-totals>div:last-child{grid-column:1/-1}
html[data-layout="mobile"] .order-totals strong{font-size:25px;letter-spacing:-.5px}
html[data-layout="mobile"] .seat-inputs{gap:10px}html[data-layout="mobile"] .seat-inputs label{min-width:0}
html[data-layout="mobile"] .seat-inputs input{width:100%;font-size:28px;padding:10px 8px}
html[data-layout="mobile"] dialog{width:calc(100vw - 20px);max-width:640px;max-height:calc(100dvh - 24px);margin:auto;padding:20px 16px;overflow:auto;border-radius:14px}
html[data-layout="mobile"] .dialog-head{gap:10px;align-items:flex-start;margin-bottom:22px}
html[data-layout="mobile"] .dialog-head h2{font-size:21px;overflow-wrap:anywhere}
html[data-layout="mobile"] .dialog-head .icon-button{min-width:44px;flex-shrink:0}
html[data-layout="mobile"] .form-grid{grid-template-columns:1fr;gap:16px}
html[data-layout="mobile"] .form-grid .full{grid-column:auto}
html[data-layout="mobile"] .form-actions{position:sticky;bottom:-20px;padding:14px 0 max(4px,env(safe-area-inset-bottom));background:#fff;margin-top:22px;z-index:2}
html[data-layout="mobile"] .form-actions>button{flex:1;font-size:16px;min-height:48px}
html[data-layout="mobile"] .agency-arrival{margin-top:22px;width:100%}
html[data-layout="mobile"] .agency-arrival input{font-size:27px;width:100%;height:64px}
html[data-layout="mobile"] .dispatch-reminders{top:auto;bottom:max(12px,env(safe-area-inset-bottom));left:12px;right:12px;width:auto;z-index:70}
html[data-layout="mobile"] .reminder-list{max-height:65dvh}
html[data-layout="mobile"] .login{display:flex;min-height:100dvh;padding:90px 20px 40px;align-items:center;justify-content:center}
html[data-layout="mobile"] .login>aside{display:none}
html[data-layout="mobile"] .login-card{width:100%;max-width:420px;padding:28px 22px;margin:0;min-width:0}
html[data-layout="mobile"] .login-language,html[data-layout="mobile"] .password-change-top{top:20px;right:20px}
html[data-layout="mobile"] .login form{width:100%}
html[data-layout="mobile"] .login input{width:100%}
html[data-layout="mobile"] .login button.primary{width:100%;min-height:50px;font-size:16px}
html[data-layout="mobile"] .staff-month-scroll{--month-person:125px;--month-day:106px;max-height:75dvh}
html[data-layout="mobile"] .staff-editor-identity{grid-template-columns:1fr}
html[data-layout="mobile"] .staff-editor-shift{grid-template-columns:minmax(0,1fr) auto minmax(0,1fr) 26px}
html[data-layout="mobile"] .staff-view footer{margin:0}
@media(prefers-reduced-motion:reduce){html[data-layout="mobile"] .sidebar{transition:none}}
