@import "https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700&display=swap";:root{--color-bg:#fff8f3;--color-card:#fff;--color-border:#f0dcd2;--color-text:#211923;--color-text-muted:#6f5e68;--color-brand-coral:#ef6b61;--color-brand-pink:#e73077;--color-brand-orange:#f39653;--color-brand-gold:#f7ac3d;--color-brand-plum:#805074;--event-order-active:#f39653;--event-order-done:#f6e1d6;--event-child-active:#e73077;--event-child-done:#f8d6e3;--event-south-active:#f2a8c7;--event-south-done:#f9dbe8;--event-moscow-bg:#fff;--event-moscow-border:#d9c8be;--event-repair:#805074;--event-absence:#f7ac3d;--status-error:#b83f5c;--status-warning:#f7ac3d;--status-success:#7fae96;color:var(--color-text);background:var(--color-bg);font-family:Inter,Arial,sans-serif;font-size:16px;font-weight:400;line-height:1.45}*{box-sizing:border-box}.sr-only{clip:rect(0 0 0 0);clip-path:inset(50%);white-space:nowrap;border:0;width:1px;height:1px;margin:-1px;padding:0;position:absolute;overflow:hidden}body{color:var(--color-text);background:var(--color-bg);margin:0;font-size:16px;line-height:1.45}button{font:inherit}input,select,textarea{font-family:inherit;font-size:14px;line-height:1.35}.searchable-select{width:100%;min-width:0;display:block;position:relative}.searchable-select-input{width:100%;min-width:0;padding-right:34px}.searchable-select-arrow{width:26px;height:26px;min-height:26px;color:var(--color-text-muted);background:0 0;border:0;border-radius:4px;place-items:center;padding:0;display:inline-grid;position:absolute;top:50%;right:4px;transform:translateY(-50%)}.searchable-select-arrow:hover,.searchable-select-arrow:focus-visible{color:var(--color-text);background:#fff2e9;outline:none}.searchable-select-arrow:disabled{cursor:default;opacity:.45}.searchable-select-listbox{z-index:1000;background:#fff;border:1px solid #d8c8c0;border-radius:6px;padding:4px;position:fixed;overflow-y:auto;box-shadow:0 10px 28px #35232c29}.searchable-select-option{width:100%;min-height:32px;color:var(--color-text);text-align:left;white-space:normal;background:0 0;border:0;border-radius:4px;justify-content:space-between;align-items:center;gap:8px;padding:5px 8px;display:flex}.searchable-select-option:hover,.searchable-select-option.is-active{background:#fff2e9}.searchable-select-option.is-selected{font-weight:600}.searchable-select-option:disabled{color:#aa9ca3;cursor:default}.searchable-select-empty{color:var(--color-text-muted);padding:8px;font-size:13px}button{cursor:pointer}.auth-page{background:var(--color-bg);place-items:center;min-height:100dvh;padding:24px;display:grid}.auth-panel{border:1px solid var(--color-border);background:var(--color-card);border-radius:8px;gap:18px;width:min(100%,420px);padding:28px;display:grid;box-shadow:0 18px 48px #35232c1f}.auth-panel h1{margin:0;font-size:26px}.auth-panel p{color:var(--color-text-muted);margin:0}.auth-panel-heading{align-items:center;gap:12px;display:flex}.auth-form{gap:14px;display:grid}.auth-form label{color:var(--color-text-muted);gap:6px;font-size:13px;font-weight:700;display:grid}.auth-form input{width:100%;min-height:40px;color:var(--color-text);background:#fff;border:1px solid #d8c8c0;border-radius:6px;padding:8px 10px}.auth-error{color:var(--status-error);font-weight:700}.auth-success{color:var(--status-success);font-weight:700}.auth-session-bar{z-index:80;border:1px solid var(--color-border);background:#fffffff0;border-radius:8px;align-items:center;gap:8px;max-width:min(480px,100vw - 24px);padding:6px 8px 6px 10px;font-size:12px;display:inline-flex;position:fixed;top:10px;right:12px;box-shadow:0 10px 28px #35232c24}.auth-session-bar span{text-overflow:ellipsis;white-space:nowrap;max-width:220px;overflow:hidden}.auth-session-bar strong{color:var(--color-brand-plum)}.auth-password-form{z-index:80;border:1px solid var(--color-border);background:var(--color-card);border-radius:8px;gap:10px;width:min(360px,100vw - 24px);padding:14px;display:grid;position:fixed;top:58px;right:12px;box-shadow:0 14px 36px #35232c29}.auth-password-form label{color:var(--color-text-muted);gap:5px;font-size:12px;font-weight:700;display:grid}.auth-password-form input{width:100%;min-height:36px;color:var(--color-text);background:#fff;border:1px solid #d8c8c0;border-radius:6px;padding:7px 9px}.auth-password-form p{margin:0}.user-access-panel{gap:14px;display:grid}.user-access-new-row,.user-access-row{grid-template-columns:minmax(130px,1.1fr) minmax(180px,1.4fr) minmax(110px,.9fr) minmax(96px,.7fr) minmax(120px,.9fr) minmax(130px,1fr) auto;align-items:center;gap:8px;display:grid}.user-access-new-row{background:#fffaf7;border:1px solid #ead8ce;border-radius:8px;padding:10px}.user-access-table{gap:6px;display:grid;overflow-x:auto}.user-access-row{border-bottom:1px solid #f0e3dd;min-width:1120px;padding:8px 0}.user-access-row-head{color:var(--color-text-muted);font-size:12px;font-weight:700}.user-access-row input,.user-access-row select,.user-access-new-row input,.user-access-new-row select{background:#fff;border:1px solid #d8c8c0;border-radius:6px;width:100%;min-height:36px;padding:6px 8px}.user-access-active-toggle,.user-access-password-toggle{min-height:36px;color:var(--color-text-muted);align-items:center;gap:6px;font-size:13px;font-weight:700;display:inline-flex}.user-access-audit{gap:8px;padding-top:4px;display:grid}.user-access-audit-header{color:var(--color-text);align-items:center;gap:8px;display:flex}.user-access-audit-header h3{margin:0;font-size:15px}.user-access-audit-list{gap:6px;display:grid;overflow-x:auto}.user-access-audit-row{min-width:720px;color:var(--color-text-muted);border-bottom:1px solid #f0e3dd;grid-template-columns:minmax(130px,.8fr) minmax(180px,1fr) minmax(180px,1fr) minmax(180px,1fr);gap:8px;padding:8px 0;font-size:12px;display:grid}.user-access-audit-row strong{color:var(--color-text)}.app-shell{grid-template-columns:260px 1fr;height:100dvh;min-height:0;display:grid;overflow:hidden}.sidebar{z-index:30;border-right:1px solid var(--color-border);background:var(--color-card);flex-direction:column;align-self:start;gap:8px;height:100dvh;max-height:100dvh;padding:18px 14px;display:flex;position:sticky;top:0;overflow:auto}.nav-button,.secondary-button{border:1px solid var(--color-border);min-height:40px;color:var(--color-text);background:var(--color-card);border-radius:6px;justify-content:center;align-items:center;gap:8px;padding:0 12px;font-size:16px;font-weight:700;display:inline-flex}.nav-button{border-color:#0000;justify-content:flex-start}.nav-button.active,.nav-button:hover,.secondary-button:hover{color:var(--color-text);background:#fff1e8;border-color:#f0c7b5}.schedule-filters{border-top:1px solid var(--color-border);gap:8px;margin-top:12px;padding-top:14px;display:grid}.schedule-filters-header{justify-content:space-between;align-items:center;gap:8px;display:flex}.schedule-filters-toggle{min-height:28px;color:var(--color-text);text-align:left;background:0 0;border:0;justify-content:flex-start;align-items:center;gap:6px;padding:0;font-size:15px;font-weight:700;display:inline-flex}.schedule-filters-toggle strong{color:#fff;background:var(--color-brand-coral);border-radius:999px;place-items:center;min-width:22px;min-height:22px;padding:0 6px;font-size:12px;line-height:1;display:inline-grid}.schedule-filters-clear{border:1px solid var(--color-border);width:28px;min-height:28px;color:var(--color-text-muted);background:var(--color-card);border-radius:6px;place-items:center;padding:0;display:inline-grid}.schedule-filters-clear:hover:not(:disabled),.schedule-filters-clear:focus-visible:not(:disabled){color:var(--color-text);background:#fff1e8;border-color:#f0c7b5;outline:none}.schedule-filters-clear:disabled{cursor:not-allowed;opacity:.45}.schedule-filters-body{gap:10px;display:grid}.schedule-sidebar-search{gap:4px;padding-bottom:4px;display:grid}.schedule-display-options{gap:7px;padding-bottom:4px;display:grid}.schedule-display-menu{gap:6px;display:grid}.schedule-display-menu-toggle{min-height:34px;color:var(--color-text);background:var(--color-card);border:2px solid #f0c7b5;border-radius:6px;justify-content:space-between;align-items:center;gap:8px;padding:0 9px;font-size:14px;font-weight:700;display:flex}.schedule-display-menu-toggle:hover,.schedule-display-menu-toggle:focus-visible{background:#fff8f3;border-color:#e5ad9b;outline:none}.schedule-display-menu-toggle svg{color:var(--color-text-muted);flex:none;transition:transform .16s}.schedule-display-menu-toggle svg.is-open{transform:rotate(180deg)}.schedule-sidebar-display-options{border:1px solid var(--color-border);background:#fffaf7;border-radius:6px;gap:8px;padding:8px 9px}.schedule-filters label,.schedule-filters fieldset{min-width:0}.schedule-filters label{color:var(--color-text-muted);gap:4px;font-size:13px;font-weight:600}.schedule-filters input:not([type=checkbox]),.schedule-filters select{width:100%;min-height:34px;padding:0 8px;font-size:14px;font-weight:400}.schedule-sidebar-search input{background:var(--color-card);border:2px solid #f0c7b5;border-radius:6px}.schedule-filters fieldset{border:1px solid var(--color-border);background:#fffaf7;border-radius:6px;gap:6px;margin:0;padding:8px;display:grid}.schedule-filters legend{color:var(--color-text);padding:0 4px;font-size:13px;font-weight:700}.filter-check-row{min-height:24px;color:var(--color-text);align-items:center;gap:7px;font-size:13px;font-weight:500;display:flex}.filter-check-row input[type=checkbox]{width:15px;min-height:15px;margin:0}.schedule-event-kind-grid{gap:4px;display:grid}.schedule-event-kind-row{grid-template-columns:repeat(2,minmax(0,1fr));gap:6px;display:grid}.schedule-event-kind-row .filter-check-row:only-child{grid-column:1/-1}.secondary-button:disabled{cursor:not-allowed;opacity:.56}.workspace{min-width:0;height:100dvh;min-height:0;padding:20px;overflow:auto}.workspace:has(.schedule-panel){flex-direction:column;display:flex;overflow:hidden}.workspace:has(.schedule-panel) .toolbar{flex:none}.toolbar,.panel-header,.modal-header,.modal-actions{justify-content:space-between;align-items:center;gap:16px;display:flex}.toolbar{margin-bottom:16px}.storage-status{z-index:5000;max-width:min(760px,100vw - 40px);color:var(--color-text);background:#fff9f5;border:1px solid #d9c3d2;border-radius:6px;align-items:center;gap:10px;margin:0;padding:10px 12px;font-size:14px;font-weight:700;display:flex;position:fixed;top:16px;right:20px;box-shadow:0 12px 34px #21192329}.storage-status span{min-width:0}.storage-status-action{color:#8a2c24;white-space:nowrap;background:#fff;border:1px solid #f0b2a8;border-radius:6px;flex:none;align-items:center;gap:5px;min-height:28px;padding:4px 8px;font-size:12px;font-weight:800;display:inline-flex}.storage-status-action:hover,.storage-status-action:focus-visible{border-color:#d86b5f;outline:none}.storage-status-action:disabled{cursor:wait;opacity:.65}.storage-status-error{color:#8a2c24;background:#fff0ed;border-color:#f3aaa0}.toolbar-actions{flex-wrap:wrap;gap:10px;display:flex}.header-actions{flex-wrap:wrap;align-items:center;gap:10px;display:flex}.caption,.panel-header p{color:var(--color-text-muted);margin:0;font-size:15px}h1,h2{margin:0;line-height:1.25}h1{font-size:30px;font-weight:700}h2{font-size:23px;font-weight:700}.primary-button{color:#fff;background:var(--color-brand-coral);border:0;border-radius:6px;min-height:40px;padding:0 14px;font-size:16px;font-weight:700}.primary-button:hover,.primary-button:focus-visible{background:#e85a5f;outline:none}.primary-button:disabled{cursor:not-allowed;opacity:.56}.panel,.card{border:1px solid var(--color-border);background:var(--color-card);border-radius:8px}.panel{min-width:0;padding:16px}.panel-stack{gap:16px;display:grid}.reference-read-only .panel-header>.primary-button,.reference-read-only .customers-header-actions>.primary-button,.reference-read-only .drivers-header-actions>.primary-button,.reference-read-only .document-settings-actions,.reference-read-only .row-actions,.reference-read-only .empty-state button,.reference-read-only .subsection-header>button,.reference-read-only .south-edit-icon-button,.reference-read-only .south-fares-edit-button,.reference-read-only .dictionary-actions{display:none}.panel-grid{grid-template-columns:repeat(2,minmax(260px,1fr));gap:16px;display:grid}.card{padding:16px}.dictionaries-home{background:var(--color-card);min-height:calc(100vh - 132px)}.dictionary-grid{grid-template-columns:repeat(3,minmax(150px,220px));justify-content:start;gap:22px;margin-top:18px;display:grid}.dictionary-tile{min-height:74px;color:var(--color-text);text-align:center;cursor:grab;-webkit-user-select:none;user-select:none;background:#fff1e8;border:1px solid #f0c7b5;border-radius:22px;place-items:center;padding:16px 20px;transition:border-color .2s,background .2s,box-shadow .2s,opacity .2s,transform .2s;display:grid;box-shadow:0 3px 8px #2119231f}.dictionary-tile:hover,.dictionary-tile:focus-visible{border-color:var(--color-brand-coral);background:#fff6df;outline:none;transform:translateY(-2px);box-shadow:0 6px 14px #2119232e}.dictionary-tile:active{cursor:grabbing;transform:translateY(1px);box-shadow:0 2px 6px #2119231f}.dictionary-tile.dragging{opacity:.62;transform:scale(.97)}.dictionary-tile.drag-over{background:#fff6df;border-color:#8a4f7d;box-shadow:0 0 0 3px #8a4f7d29,0 6px 14px #21192329}.dictionary-tile span{font-size:17px;font-weight:700;line-height:1.2}.back-button{border:1px solid var(--color-border);min-height:38px;color:var(--color-text);background:var(--color-card);border-radius:6px;justify-self:start;padding:0 12px}.back-button:hover,.back-button:focus-visible{color:var(--color-text);background:#fff1e8;border-color:#f0c7b5;outline:none}.period-picker{flex:none;position:relative}.period-trigger{min-width:178px;min-height:42px;color:var(--color-text);background:var(--color-card);text-align:center;white-space:nowrap;border:1px solid #ead9d0;border-radius:8px;justify-content:center;align-items:center;gap:10px;padding:0 14px;font-size:15px;font-weight:700;display:inline-flex;box-shadow:0 1px #21192308}.period-trigger:hover,.period-trigger:focus-visible{background:#fffaf7;border-color:#e9c6b7;outline:none}.period-trigger-chevron{color:var(--color-text-muted)}.period-trigger span{text-overflow:ellipsis;min-width:0;overflow:hidden}.period-popover{z-index:10;border:1px solid var(--color-border);background:var(--color-card);border-radius:8px;gap:14px;width:min(360px,100vw - 40px);padding:14px;display:grid;position:absolute;top:calc(100% + 8px);right:0;box-shadow:0 18px 48px #2119232e}.year-switch{justify-content:space-between;align-items:center;gap:10px;display:flex}.year-switch button{border:1px solid var(--color-border);background:var(--color-card);border-radius:6px;width:34px;min-height:34px}.month-grid{grid-template-columns:repeat(3,1fr);gap:8px;display:grid}.month-grid button{border:1px solid var(--color-border);background:var(--color-card);border-radius:6px;min-height:36px;padding:0 8px}.month-grid button.active{color:#fff;border-color:var(--color-brand-coral);background:var(--color-brand-coral)}.range-picker{border-top:1px solid var(--color-border);gap:10px;padding-top:12px;display:grid}.payroll-period-popover{gap:12px;width:min(430px,100vw - 40px);padding:12px}.payroll-period-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:10px;display:grid}.payroll-period-card{border:1px solid var(--color-border);background:var(--color-card);border-radius:6px;display:grid;overflow:hidden}.payroll-period-card button{white-space:nowrap;background:0 0;border:0;min-height:26px;padding:0 6px;font-size:12px;font-weight:700}.payroll-period-card button:hover,.payroll-period-card button:focus-visible{background:#fff1e8;outline:none}.payroll-period-card .payroll-period-month{border-bottom:1px solid var(--color-border)}.payroll-period-halves{grid-template-columns:repeat(2,minmax(0,1fr));display:grid}.payroll-period-halves button+button{border-left:1px solid var(--color-border)}.payroll-period-card button.active,.payroll-period-card button.active:hover,.payroll-period-card button.active:focus-visible{color:#fff;border-color:var(--color-brand-coral);background:var(--color-brand-coral)}.payroll-period-popover .range-picker{grid-template-columns:minmax(0,1fr) minmax(0,1fr) auto;align-items:end;gap:8px;padding-top:10px}.payroll-period-popover .range-picker label{gap:4px;min-width:0;font-size:13px}.payroll-period-popover .range-picker .primary-button{white-space:nowrap;min-height:34px;padding:0 12px}@media (width<=760px){.payroll-period-popover{width:min(430px,100vw - 40px)}.payroll-period-grid{grid-template-columns:repeat(3,minmax(0,1fr))}.payroll-period-popover .range-picker{grid-template-columns:1fr}}.schedule-controls{grid-template-rows:auto auto;grid-template-columns:minmax(180px,1fr) minmax(460px,auto) minmax(220px,1fr);align-items:center;gap:8px 16px;margin-top:0;margin-bottom:8px;display:grid}.schedule-panel{flex-direction:column;flex:auto;min-height:0;padding:12px;display:flex;position:relative;overflow:hidden}.schedule-controls,.schedule-copy-banner{flex:none}.schedule-primary-actions{grid-area:2/1;justify-content:flex-start;align-items:center;gap:8px;min-width:0;display:flex}.schedule-panel .panel-header p{display:none}.schedule-scale-control-header{margin-left:auto}.create-event-button{border:1px solid var(--color-brand-coral);color:#fff;background:var(--color-brand-coral);border-radius:8px;justify-self:start;min-height:42px;padding:0 18px;font-size:16px;font-weight:700;box-shadow:0 8px 18px #ef6b613d}.create-event-button:hover,.create-event-button:focus-visible{background:#e85a5f;border-color:#e85a5f;outline:none;box-shadow:0 10px 22px #e85a5f47}.schedule-panel .create-event-button,.schedule-panel .today-button,.schedule-panel .period-trigger,.schedule-panel .month-link{min-height:36px}.schedule-panel .create-event-button,.schedule-panel .today-button{padding:0 14px}.schedule-panel .create-event-button{border-color:var(--color-brand-plum);background:var(--color-brand-plum);white-space:nowrap;flex:none;min-height:34px;padding:0 12px;font-size:14px;line-height:1;box-shadow:0 5px 12px #8050743d}.schedule-panel .create-event-button:hover,.schedule-panel .create-event-button:focus-visible{background:#704467;border-color:#704467;box-shadow:0 7px 16px #70446747}.schedule-today-inline{flex:none;margin-left:0}.driver-birthday-reminder{background:#fff8f3;border:1px solid #f0c7b5;border-radius:8px;flex:0 210px;gap:4px;min-width:170px;max-width:240px;padding:7px 8px;display:grid;box-shadow:0 4px 12px #21192314}.driver-birthday-reminder-header{color:var(--color-text);text-transform:uppercase;justify-content:space-between;align-items:center;gap:8px;font-size:12px;font-weight:800;line-height:1;display:flex}.driver-birthday-reminder-header button{width:22px;height:22px;min-height:22px;color:var(--color-text-muted);background:#fff;border:1px solid #efd2c3;border-radius:6px;place-items:center;padding:0;display:inline-grid}.driver-birthday-reminder-header button:hover,.driver-birthday-reminder-header button:focus-visible{border-color:var(--color-brand-coral);color:var(--color-text);outline:none}.driver-birthday-reminder ul{gap:3px;max-height:52px;margin:0;padding:0;list-style:none;display:grid;overflow:auto}.driver-birthday-reminder li{min-width:0;color:var(--color-text);align-items:baseline;gap:5px;font-size:12px;line-height:1.2;display:flex}.driver-birthday-reminder li strong{color:#d94b4b;flex:none;font-size:11px;font-weight:800}.driver-birthday-reminder li span{text-overflow:ellipsis;white-space:nowrap;min-width:0;overflow:hidden}.driver-birthday-reminder li em{color:var(--color-text-muted);flex:none;font-size:11px;font-style:normal}.schedule-reminders-card{z-index:6;background:#fff8f3;border:1px solid #f0c7b5;border-radius:8px;grid-area:1/3/span 2;place-self:start end;gap:5px;width:max-content;min-width:480px;max-width:min(980px,100%);padding:8px;display:grid;position:relative;box-shadow:0 4px 12px #21192314}.schedule-reminders-card ul{box-sizing:border-box;scrollbar-gutter:stable;gap:4px;width:100%;max-width:100%;max-height:86px;margin:0;padding:0 24px 0 0;list-style:none;display:grid;overflow:hidden auto}.schedule-reminder-item{box-sizing:border-box;width:100%;min-width:0;max-width:none;color:var(--color-text);flex-wrap:nowrap;align-items:center;gap:6px;font-size:12px;line-height:1.22;display:flex}.schedule-reminder-icon{color:#805074;flex:none;margin-top:-1px}.schedule-reminder-trafficPoliceNotice .schedule-reminder-icon,.schedule-reminder-escortNotice .schedule-reminder-icon{color:#d6192f}.schedule-reminder-diagnosticCard .schedule-reminder-icon{color:#b87900}.schedule-reminder-escort-icon{color:#fff;background:#d6192f;border:1px solid #fff;border-radius:999px;flex:0 0 15px;place-items:center;width:15px;min-width:15px;max-width:15px;height:15px;min-height:15px;max-height:15px;font-size:11px;font-weight:900;line-height:1;display:grid;box-shadow:0 1px 3px #4a121a3d}.schedule-reminder-escortNotice .schedule-reminder-escort-icon{color:#fff}.schedule-reminder-item strong{color:#d94b4b;flex:none;font-size:11px;font-weight:800}.schedule-reminder-text{text-overflow:clip;white-space:nowrap;flex:auto;min-width:0;overflow:hidden}.schedule-reminder-trafficPoliceNotice .schedule-reminder-text,.schedule-reminder-escortNotice .schedule-reminder-text{color:#8a2c24;font-weight:800}.schedule-reminder-diagnosticCard .schedule-reminder-text{color:#7a4b00;font-weight:800}.schedule-reminder-urgent{border-left:4px solid #d6192f;border-radius:6px;margin:-2px 0 -2px -3px;padding:3px 5px;animation:.85s ease-in-out infinite reminder-alert-flash}.schedule-reminder-driverBirthday.schedule-reminder-urgent{border-left-color:#ff6b4a;animation:.9s ease-in-out infinite birthday-reminder-flash}.schedule-reminder-driverBirthday.schedule-reminder-urgent .schedule-reminder-icon,.schedule-reminder-driverBirthday.schedule-reminder-urgent strong,.schedule-reminder-driverBirthday.schedule-reminder-urgent .schedule-reminder-text{color:#9a2f1e}.schedule-reminder-item em{color:var(--color-text-muted);flex:none;font-size:11px;font-style:normal}.schedule-reminder-dismiss{width:18px;height:18px;min-height:18px;color:var(--color-text-muted);background:#ffffffeb;border:1px solid #efd2c3;border-radius:5px;flex:none;place-items:center;margin-left:auto;padding:0;display:inline-grid}.schedule-reminder-dismiss:hover,.schedule-reminder-dismiss:focus-visible{border-color:var(--color-brand-coral);color:var(--color-text);outline:none}@keyframes reminder-alert-flash{0%,to{background:#ffeeeacc;box-shadow:inset 0 0 0 1px #d6192f2e,0 0 #d6192f00}50%{background:#ffd1ca;box-shadow:inset 0 0 0 2px #d6192fb3,0 0 0 3px #d6192f29}}@keyframes birthday-reminder-flash{0%,to{background:#fff7df;box-shadow:inset 0 0 0 1px #ff6b4a47,0 0 #ffb74d00}50%{background:#ffe39a;box-shadow:inset 0 0 0 2px #ff6b4ab3,0 0 9px 3px #ffb74d8c}}.schedule-toolbar{flex-wrap:nowrap;justify-content:flex-end;align-items:center;gap:8px;min-width:0;margin-left:auto;display:flex}.schedule-month-controls{min-width:0}.schedule-month-controls .month-navigation{justify-content:center}.schedule-month-stack{grid-area:1/2;align-self:center;justify-items:center;min-width:0;display:grid}.schedule-month-stack .period-trigger{min-width:0;min-height:32px;box-shadow:none;letter-spacing:0;background:0 0;border-color:#0000;padding:0 8px;font-size:25px;font-weight:800}.schedule-month-stack .period-trigger svg{width:17px;height:17px;color:var(--color-text-muted)}.schedule-month-stack .period-trigger-chevron{width:16px;height:16px;color:var(--color-text-muted)}.schedule-month-stack .period-trigger:hover,.schedule-month-stack .period-trigger:focus-visible{box-shadow:none;background:#fff8f3c7;border-color:#0000}.schedule-toolbar-panel{display:contents}.schedule-toolbar-panel>.schedule-scale-control{display:none}.schedule-top-search{min-width:220px;color:var(--color-text-muted);flex:0 260px;gap:3px;font-size:13px;font-weight:600}.schedule-top-search input{background:var(--color-card);border:2px solid #f0c7b5;border-radius:6px;width:100%;min-height:34px;padding:0 9px;font-size:14px;font-weight:400}.schedule-buffer-toggle{color:var(--color-text-muted);white-space:nowrap;font-size:14px;font-weight:500}.schedule-buffer-toggle input{width:16px;min-height:16px}.schedule-scale-control{color:var(--color-text-muted);justify-content:flex-end;align-items:center;gap:5px;font-size:14px;font-weight:600;display:flex}.schedule-scale-control button{border:1px solid var(--color-border);width:28px;height:28px;color:var(--color-text);background:#fff;border-radius:6px;place-items:center;padding:0;display:inline-grid}.schedule-scale-control button:hover,.schedule-scale-control button:focus-visible{background:#fffaf7;border-color:#e9c6b7;outline:none}.schedule-scale-control button:disabled{cursor:not-allowed;opacity:.45}.schedule-scale-control input[type=range]{width:108px;min-height:24px;accent-color:var(--color-brand-coral)}.schedule-scale-control output{min-width:42px;color:var(--color-text);font-variant-numeric:tabular-nums;text-align:right}.schedule-scale-control-floating{z-index:30;border:1px solid var(--color-border);-webkit-backdrop-filter:blur(6px);backdrop-filter:blur(6px);background:#fffffff0;border-radius:8px;justify-content:flex-start;gap:4px;width:232px;padding:6px 8px;position:fixed;bottom:18px;left:14px;box-shadow:0 10px 28px #21192324}.schedule-scale-control-floating input[type=range]{flex:auto;width:auto;min-width:58px}.schedule-scale-control-floating output{min-width:36px}.month-navigation{justify-content:flex-end;align-items:center;gap:10px;min-width:0;display:flex}.month-link{min-height:32px;color:var(--color-text-muted);white-space:nowrap;background:0 0;border:0;border-radius:0;justify-content:center;align-items:center;gap:5px;padding:0 2px;font-size:14px;font-weight:500;display:inline-flex}.month-link:hover,.month-link:focus-visible{color:var(--color-text);background:0 0;outline:none}.month-arrow{color:currentColor;font-size:21px;font-weight:400;line-height:1.12}.next-month-link{text-align:right}.today-button{border:1px solid var(--color-brand-coral);color:#fff;background:var(--color-brand-coral);border-radius:8px;min-height:42px;padding:0 20px;font-size:16px;font-weight:700;box-shadow:0 8px 18px #ef6b613d}.today-button:hover,.today-button:focus-visible{color:#fff;background:#e85a5f;border-color:#e85a5f;outline:none;box-shadow:0 10px 22px #e85a5f47}.schedule-panel .today-button{color:var(--color-text);box-shadow:inset 6px 0 0 var(--color-brand-coral), 0 5px 12px #ef6b6124;background:#ffefc6;border-color:#ef6b6173;font-size:15px}.schedule-panel .today-button:hover,.schedule-panel .today-button:focus-visible{color:var(--color-text);box-shadow:inset 6px 0 0 var(--color-brand-coral), 0 7px 16px #ef6b6133;background:#ffe8ad;border-color:#ef6b61a6}.schedule-viewport{border:1px solid var(--color-border);background:var(--color-card);flex:auto;min-height:0;max-height:none;margin-top:6px;overflow:auto}.schedule{--schedule-bus-drivers-height:36px;--schedule-bus-info-height:23px;--schedule-bus-meta-font-size:15px;--schedule-bus-number-font-size:18px;--schedule-bus-number-height:28px;--schedule-bus-seats-height:17px;--schedule-bus-summary-font-size:12px;--schedule-day-row-height:100px;--schedule-event-absence-font-size:13px;--schedule-event-absence-inset:8px;--schedule-event-alert-border-width:3px;--schedule-event-badge-font-size:12px;--schedule-event-border-width:2px;--schedule-event-font-size:15px;--schedule-event-min-height:24px;--schedule-event-money-offset:17px;--schedule-event-padding-x:5px;--schedule-event-padding-y:3px;--schedule-event-route-font-size:12px;--schedule-event-single-font-size:15px;--schedule-event-strong-border-width:3px;--schedule-event-title-padding-x:2px;--schedule-event-title-font-size:14px;--schedule-header-font-size:16px;--schedule-header-min-height:50px;--schedule-icon-size:18px;--schedule-inline-font-size:14px;--schedule-period-row-height:24px;width:max-content;min-width:100%;display:grid}.corner,.bus-header,.day-cell{z-index:1;min-height:var(--schedule-header-min-height);border-right:1px solid var(--color-border);border-bottom:1px solid var(--color-border);font-size:var(--schedule-header-font-size);background:#fff1e8;align-items:center;padding:9px;font-weight:500;display:flex;position:sticky}.corner{z-index:3;padding-right:14px;top:0;left:0}.corner-payroll-total,.corner-revenue-total,.corner-base-fuel-total{justify-content:center;align-items:flex-end;padding:0 14px 0 0}.corner-payroll-total span,.corner-revenue-total span,.corner-base-fuel-total span{width:100%;min-height:var(--schedule-bus-info-height);color:#4a2a08;font-size:var(--schedule-bus-summary-font-size);text-align:center;white-space:nowrap;background:#ffe8c2;place-items:center;padding:3px 4px;font-weight:700;line-height:1.1;display:grid}.corner-payroll-total span{color:#153f2a;background:#dff3e7}.corner-base-fuel-total span{color:#17345f;background:#dae9ff}.date-column-resizer{z-index:4;cursor:col-resize;background:0 0;border:0;width:10px;min-height:0;padding:0;position:absolute;top:0;bottom:0;right:-5px}.date-column-resizer:hover,.date-column-resizer:focus-visible{background:#ef6b612e;outline:none}.bus-header{--bus-header-top-bg:var(--color-brand-plum);--bus-header-details-bg:#fff1e8;--bus-header-moscow-bg:#fff6df;--bus-header-moscow-color:var(--color-text);z-index:2;text-align:center;flex-direction:column;justify-content:center;align-items:stretch;padding:0;top:0}.bus-header-neutral{--bus-header-top-bg:#6f5e68;--bus-header-details-bg:#f8eef4;--bus-header-moscow-bg:#fff6df;--bus-header-moscow-color:var(--color-text)}.bus-column-resizer{z-index:4;cursor:col-resize;background:0 0;border:0;width:10px;min-height:0;padding:0;position:absolute;top:0;bottom:0;right:-5px}.bus-column-resizer:hover,.bus-column-resizer:focus-visible{background:#ef6b612e;outline:none}.bus-number,.bus-seats,.bus-driver,.bus-moscow{text-overflow:ellipsis;white-space:nowrap;max-width:100%;line-height:1.1;display:block;overflow:hidden}.bus-header-number{min-height:var(--schedule-bus-number-height);color:#fff;background:var(--bus-header-top-bg);place-items:center;width:100%;padding:3px 14px 3px 4px;display:grid}.bus-header-drivers{width:100%;min-height:var(--schedule-bus-drivers-height);color:var(--color-text);background:var(--bus-header-details-bg);gap:2px;padding:4px 14px 4px 4px;display:grid}.bus-header-details{width:100%;color:var(--color-text);background:var(--bus-header-details-bg);border-top:1px solid #2119232e;gap:2px;padding:4px 14px 4px 4px;display:grid}.bus-seats{min-height:var(--schedule-bus-seats-height);color:var(--color-text);font-size:var(--schedule-bus-meta-font-size);font-weight:700}.bus-number{font-size:var(--schedule-bus-number-font-size);font-weight:700}.bus-seats-row{grid-template-columns:minmax(0,max-content);justify-content:center;align-items:center;gap:3px;min-width:0;display:grid}.bus-seats-row.has-seating-scheme{grid-template-columns:minmax(0,max-content) 18px}.seating-scheme-button{width:var(--schedule-icon-size);min-height:var(--schedule-icon-size);color:var(--color-brand-plum);background:#ffffffb8;border:1px solid #80507457;border-radius:4px;place-items:center;padding:0;display:inline-grid}.seating-scheme-button:hover,.seating-scheme-button:focus-visible{border-color:var(--color-brand-plum);background:var(--color-card);outline:none}.bus-driver{min-height:var(--schedule-bus-seats-height);color:var(--color-text);font-size:var(--schedule-bus-meta-font-size);font-weight:500}.bus-moscow{min-height:var(--schedule-bus-info-height);width:100%;color:var(--bus-header-moscow-color);background:var(--bus-header-moscow-bg);font-size:var(--schedule-bus-meta-font-size);border-top:1px solid #21192324;place-items:center;padding:3px 14px 3px 4px;font-weight:700;display:grid}.bus-payroll-summary{color:#153f2a;font-size:var(--schedule-bus-summary-font-size);text-overflow:clip;white-space:pre-line;background:#dff3e7;padding-left:4px;padding-right:6px;line-height:1.1}.bus-revenue-summary{color:#4a2a08;font-size:var(--schedule-bus-summary-font-size);text-overflow:clip;white-space:nowrap;background:#ffe8c2;padding-left:4px;padding-right:6px;line-height:1.1}.bus-base-fuel-summary{color:#17345f;font-size:var(--schedule-bus-summary-font-size);text-overflow:clip;white-space:nowrap;background:#dae9ff;padding-left:4px;padding-right:6px;line-height:1.1}.bus-moscow-empty{color:#0000}.day-cell{white-space:nowrap;background:#fff1e8;flex-wrap:wrap;gap:6px;left:0;overflow:hidden}.day-cell.non-working-day{color:var(--status-error)}.day-cell.buffer-day,.schedule-cell.buffer-day{color:#a99b94;background:#fdfbf9}.schedule-cell.buffer-day:hover{background:#faf5f1}.day-cell.today{color:var(--color-text);border:1px solid #ef6b6173;border-right:1px solid var(--color-border);box-shadow:inset 6px 0 0 var(--color-brand-coral);background:#ffefc6;font-weight:700}.today-badge{color:#fff;background:var(--color-brand-coral);min-height:18px;font-size:var(--schedule-inline-font-size);border-radius:999px;align-items:center;padding:0 6px;font-weight:700;line-height:1.12;display:inline-flex}.schedule-group-start{border-left:3px solid #d9c8be;box-shadow:inset 5px 0 #d9c8be33}.schedule-cell{grid-template-rows:repeat(4, minmax(var(--schedule-period-row-height), 1fr));min-height:var(--schedule-day-row-height);border-right:1px solid var(--color-border);border-bottom:1px solid var(--color-border);background:var(--color-card);display:grid;position:relative}.schedule-cell:hover{background:#fff1e8}.schedule-cell.quick-trip-active{outline:2px solid var(--color-brand-plum);outline-offset:-2px;background:#fff1e8;box-shadow:inset 0 0 0 3px #80507424}.schedule-cell.copy-paste-active{outline-offset:-2px;background:#f4f5ff;outline:2px solid #4c57d8;box-shadow:inset 0 0 0 3px #4c57d81f}.schedule-dorstroy-fuel-badge{top:calc(var(--dorstroy-fuel-period-index,0) * 25% + 4px);z-index:4;color:#fff;max-width:calc(100% - 8px);font-size:var(--schedule-event-badge-font-size);text-overflow:ellipsis;white-space:nowrap;pointer-events:none;background:#5b3156;border-radius:5px;padding:2px 6px;font-weight:800;line-height:1.1;position:absolute;right:4px;overflow:hidden;box-shadow:0 1px 4px #30172d38}.schedule-copy-banner{color:#222a74;background:#f4f5ff;border:1px solid #4c57d852;border-radius:7px;justify-content:space-between;align-items:center;gap:10px;margin-top:8px;padding:8px 10px;font-size:14px;font-weight:700;display:flex}.schedule-copy-banner button{min-height:28px;padding:4px 10px}.schedule-financial-status{color:#8d2f24;background:#fff4f2;border:1px solid #efb9b2;border-radius:6px;margin-top:8px;padding:7px 10px;font-size:13px;font-weight:700}.schedule-server-refresh-status{z-index:12;border:1px solid var(--color-border);max-width:min(460px,100% - 36px);color:var(--color-text-muted);pointer-events:none;background:#fffaf7f5;border-radius:4px;padding:4px 8px;font-size:12px;line-height:1.25;position:absolute;top:88px;right:18px;box-shadow:0 2px 8px #422b3714}.schedule-server-refresh-status.is-error{color:#8d2f24;background:#fff4f2fa;border-color:#efb9b2}.period{min-height:var(--schedule-period-row-height);border-bottom:1px dashed var(--color-border);padding:0}.period-night{background:#fff1e8}.period:last-child{border-bottom:0}.schedule-events{z-index:1;pointer-events:none;position:absolute;inset:3px 4px}.quick-trip-entry{z-index:4;pointer-events:auto;gap:4px;display:grid;position:absolute;top:6px;left:6px;right:6px}.quick-trip-entry input{border:2px solid var(--color-brand-coral);width:100%;height:30px;color:var(--color-text);font-size:var(--schedule-inline-font-size);text-align:center;background:#fffaf6;border-radius:5px;outline:none;padding:4px 8px;font-weight:700;box-shadow:0 4px 12px #80507424}.quick-trip-entry input:focus{border-color:var(--color-brand-plum);box-shadow:0 0 0 3px #80507429,0 4px 12px #80507424}.quick-trip-entry span{padding:var(--schedule-event-padding-y) var(--schedule-event-padding-x);color:#6d4d00;font-size:var(--schedule-event-badge-font-size);background:#fff4d6;border-radius:5px;font-weight:700;line-height:1.15}.schedule-copy-paste{z-index:6;pointer-events:auto;justify-content:center;gap:6px;display:flex;position:absolute;top:6px;left:6px;right:6px}.schedule-copy-paste button{min-height:28px;font-size:var(--schedule-event-badge-font-size);padding:4px 8px}.quick-trip-warning{z-index:5;color:#6d4d00;font-size:var(--schedule-event-badge-font-size);pointer-events:none;background:#fff4d6;border:1px solid #f7ac3dd9;border-radius:5px;padding:4px 6px;font-weight:700;line-height:1.15;position:absolute;bottom:6px;left:6px;right:6px;box-shadow:0 4px 10px #8050741f}.schedule-hover-tooltip{z-index:1000;max-width:280px;color:var(--color-text);font-size:var(--schedule-event-badge-font-size);pointer-events:none;background:#fffffff5;border:1px solid #80507457;border-radius:6px;gap:3px;padding:8px 10px;line-height:1.25;display:grid;position:fixed;box-shadow:0 10px 24px #21192329}.schedule-hover-tooltip strong{font-size:14px;font-weight:700}.schedule-hover-tooltip .schedule-hover-tooltip-title-plain{color:var(--color-text-muted);font-size:inherit;font-weight:400}.schedule-hover-tooltip span{color:var(--color-text-muted)}.schedule-hover-tooltip .schedule-hover-tooltip-note{color:var(--color-text);font-weight:700}.schedule-copy-warning{color:#222a74;background:#eef0ff;border-color:#4c57d86b}.event-block{--event-top-extension:0px;--event-bottom-extension:0px;top:calc(var(--event-visual-top,var(--period-start)) * 25% - var(--event-top-extension));min-height:var(--schedule-event-min-height);height:calc(var(--event-visual-height,var(--period-span)) * 25% + var(--event-top-extension) + var(--event-bottom-extension));border:var(--schedule-event-border-width) solid #21192338;color:var(--color-text);font-size:var(--schedule-event-font-size);text-align:center;white-space:normal;z-index:2;cursor:pointer;pointer-events:auto;border-radius:5px;align-items:flex-start;margin:0;padding:3px 5px;font-weight:500;line-height:1.18;display:flex;position:absolute;left:0;right:0;overflow:hidden}.event-block:hover .event-copy-button,.event-block:focus-within .event-copy-button{opacity:1;transform:translateY(0)}.event-copy-button{z-index:5;color:#222a74;opacity:0;background:#f4f5fff5;border:1px solid #4c57d85c;border-radius:5px;justify-content:center;align-items:center;width:22px;height:22px;min-height:22px;padding:0;display:inline-flex;position:absolute;top:2px;right:2px;transform:translateY(-2px);box-shadow:0 1px 4px #21192324}.event-copy-button:hover,.event-copy-button:focus-visible{opacity:1;border-color:#4c57d8;outline:none}.event-block.event-thin{border-width:1px;min-height:0;padding-top:0;padding-bottom:0}.event-order-closed-hatched:before{content:"";z-index:0;pointer-events:none;background-image:repeating-linear-gradient(135deg,#34604829 0 2px,#0000 2px 8px);position:absolute;inset:0}.moscow-trip-inline-editor{z-index:4;align-content:center;justify-items:center;gap:3px;width:100%;height:100%;display:grid;position:relative}.moscow-trip-inline-editor input{border:1px solid var(--color-brand-plum);width:min(100%,92px);min-height:28px;color:var(--color-text);font-size:var(--schedule-inline-font-size);text-align:center;background:#fffaf7;border-radius:4px;outline:none;padding:3px 6px;font-weight:700;box-shadow:inset 0 0 0 1px #8050741f}.moscow-trip-inline-editor span{color:#6d4d00;max-width:100%;font-size:var(--schedule-event-badge-font-size);background:#fff4d6;border-radius:4px;padding:2px 4px;font-weight:700;line-height:1.1}.event-continuation-marker{z-index:2;color:#fff;width:14px;height:14px;font-size:var(--schedule-event-badge-font-size);background:#211923b8;border-radius:999px;place-items:center;line-height:1.12;display:grid;position:absolute}.event-attention-marker{z-index:3;color:#784800;filter:drop-shadow(0 1px 2px #4a121a33);place-items:center;width:18px;height:18px;line-height:1;display:grid;position:absolute;top:1px;left:2px}.event-escort-marker{z-index:3;color:#fff;width:16px;height:16px;font-size:var(--schedule-event-badge-font-size);background:#d6192f;border:1px solid #fff;border-radius:999px;place-items:center;font-weight:800;line-height:1;display:grid;position:absolute;top:2px;left:3px;box-shadow:0 1px 4px #4a121a47}.event-escort-marker-offset{left:22px}.event-payroll-badge{z-index:3;color:#153f2a;max-width:calc(100% - 6px);font-size:var(--schedule-event-badge-font-size);text-overflow:ellipsis;white-space:nowrap;background:#d6f2e1f2;border:1px solid #1e6c4447;border-radius:5px;padding:1px 5px 2px;font-weight:600;line-height:1.12;position:absolute;bottom:3px;right:3px;overflow:hidden;box-shadow:0 1px 4px #2119231f}.event-revenue-badge{color:#4a2a08;background:#ffe6bcf5;border-color:#ba6f1457}.event-mileage-badge,.event-base-fuel-badge{color:#17345f;background:#dae9fff5;border-color:#3460a357}.event-started-before{top:1px;right:1px}.event-continues-after{bottom:1px;right:1px}.event-text{z-index:1;flex-direction:column;justify-content:center;align-items:center;gap:3px;width:100%;min-width:0;height:100%;padding:1px 0;display:flex;position:relative;overflow:hidden}.event-title{width:100%;padding:0 var(--schedule-event-title-padding-x);color:var(--color-text);font-size:var(--schedule-event-title-font-size);text-align:center;overflow-wrap:anywhere;white-space:normal;justify-content:center;align-items:center;font-weight:500;line-height:1.18;display:flex;overflow:hidden}.event-title-main{text-overflow:ellipsis;-webkit-line-clamp:2;-webkit-box-orient:vertical;min-width:0;display:-webkit-box;overflow:hidden}.event-minimum-seats-badge{color:#5d3600;font-size:var(--schedule-event-badge-font-size);white-space:nowrap;background:#fff4c4db;border:1px solid #6e3c0042;border-radius:999px;flex:none;margin-left:4px;padding:1px 5px;font-weight:700;line-height:1.1}.event-comment-badge{max-width:100%;color:var(--color-text);font-size:var(--schedule-event-badge-font-size);text-overflow:ellipsis;white-space:nowrap;background:#ffffff9e;border-left:3px solid #805074a3;border-radius:4px;flex:0 auto;margin-left:0;padding:1px 6px 2px;font-weight:500;line-height:1.15;overflow:hidden}.event-title-1{color:var(--color-text)}.event-title-1.event-title-text{font-weight:400}.event-title-2,.event-title-3{color:var(--color-text)}.event-title-route{color:#8b1e3f;font-size:var(--schedule-event-route-font-size);font-weight:800}.event-text.single-line .event-title{font-size:var(--schedule-event-single-font-size)}.event-text.single-line .event-title-route{font-size:var(--schedule-event-route-font-size)}.event-has-payroll .event-text,.event-has-money .event-text{padding-bottom:var(--schedule-event-money-offset)}.event-multi{border-left-width:var(--schedule-event-strong-border-width);border-right-width:var(--schedule-event-strong-border-width)}.event-start{border-top-left-radius:5px;border-top-right-radius:5px}.event-continuation{border-radius:0}.event-open-top{--event-top-extension:6px;border-top-width:0;border-top-left-radius:0;border-top-right-radius:0}.event-open-bottom{--event-bottom-extension:0px;border-bottom-width:0;border-bottom-right-radius:0;border-bottom-left-radius:0}.event-end{border-bottom-right-radius:5px;border-bottom-left-radius:5px}.event-group{box-shadow:none}.event-order-pending{--event-seam-cover:#f8b280;color:var(--color-text);background:#f8b280;border-color:#d96f28}.event-order-submitted{--event-seam-cover:#fbf0eb;color:var(--color-text);background:#f6e1d680;border-color:#d39a82}.event-order-request{--event-seam-cover:#fff8d4;color:var(--color-text);background:#fff1a880;border-color:#c58a16}.event-south-pending{color:var(--color-text);background:#f2a8c794;border-color:#d86a9a}.event-south-submitted{color:var(--color-text);background:#f9dbe8ad;border-color:#e9a6c2}.event-moscow{color:var(--color-text);background:#ffffff80;border-color:#b99f95}.event-repair{color:var(--color-text);box-shadow:none;background:#8050744d;border-color:#0000}.event-absence{right:var(--schedule-event-absence-inset);left:var(--schedule-event-absence-inset);color:#462d40c7;box-shadow:none;background:0 0;border-color:#0000}.event-absence-vacation,.event-absence-sickLeave{background:0 0;border-color:#0000}.event-absence .event-title,.event-absence .event-text.single-line .event-title{color:#462d40c7;font-size:var(--schedule-event-absence-font-size);overflow-wrap:normal;text-overflow:ellipsis;white-space:nowrap;font-weight:500}.event-absence .event-title-main{text-overflow:ellipsis;white-space:nowrap;display:block;overflow:hidden}.event-absence .event-title-route{color:#8b1e3f;font-weight:800}.event-absence .event-title-danger,.event-absence .event-title-danger .event-title-main{color:var(--status-error)}.event-order-closed{color:var(--color-text);background:#b8d2c6b8;border-color:#6f9f88}.event-child-highlight{border-color:#d6192f;border-left-width:var(--schedule-event-alert-border-width);border-right-width:var(--schedule-event-alert-border-width);box-shadow:none}.event-child-highlight.event-start{border-top-width:var(--schedule-event-alert-border-width)}.event-child-highlight.event-end{border-bottom-width:var(--schedule-event-alert-border-width)}.event-escort-highlight{border-color:#d6192f;border-left-width:var(--schedule-event-alert-border-width);border-right-width:var(--schedule-event-alert-border-width);box-shadow:none}.event-escort-highlight.event-start{border-top-width:var(--schedule-event-alert-border-width)}.event-escort-highlight.event-end{border-bottom-width:var(--schedule-event-alert-border-width)}.segmented{flex-wrap:wrap;gap:8px;display:flex}.segmented button,.row-actions button,.modal-header button,.modal-actions button{border:1px solid var(--color-border);min-height:34px;color:var(--color-text);background:var(--color-card);border-radius:6px;padding:0 10px}.segmented button.active{color:#fff;border-color:var(--color-brand-coral);background:var(--color-brand-coral)}.tabs{margin:14px 0}.table{background:var(--color-card);border:1px solid #f0dcd2bf;gap:0;margin-top:14px;display:grid;overflow:auto}.table-row{background:var(--color-card);grid-template-columns:repeat(5,minmax(130px,1fr));gap:0;display:grid;position:relative}.table-row+.table-row:before{content:"";pointer-events:none;background:#f0dcd2bf;height:1px;position:absolute;top:0;left:0;right:0}.table-row>span{align-items:center;min-height:46px;padding:11px;font-size:16px;font-weight:400;line-height:1.45;display:flex}.table-head{color:var(--color-text-muted);background:#fff1e8;font-weight:700}.table-head>span{text-align:center;justify-content:center;font-weight:700}.directory-edit-row{cursor:pointer}.directory-edit-row:hover{background:#fffaf7}.events-search{max-width:440px;color:var(--color-text-muted);gap:5px;margin-top:12px;font-size:14px;font-weight:700;display:grid}.events-search input{width:100%;min-height:36px;color:var(--color-text);background:var(--color-card);border:2px solid #f0c7b5;border-radius:6px;padding:0 10px;font-size:15px;font-weight:400}.events-search input:focus{border-color:var(--color-brand-coral);outline:none;box-shadow:0 0 0 3px #f6635b24}.events-selection-actions{color:var(--color-text-muted);justify-content:flex-end;align-items:center;gap:12px;margin-top:12px;font-size:15px;font-weight:700;display:flex}.events-delete-selected-button{border:1px solid var(--color-brand-coral);color:#fff;background:var(--color-brand-coral);border-radius:6px;min-height:34px;padding:0 12px;font-weight:700}.events-delete-selected-button:disabled{cursor:not-allowed;border-color:var(--color-border);color:var(--color-text-muted);background:#f5eee9}.events-table .table-row{grid-template-columns:minmax(44px,.28fr) minmax(90px,.7fr) minmax(150px,1fr) minmax(105px,.8fr) minmax(145px,1fr) minmax(130px,.95fr) minmax(130px,1fr) minmax(110px,.8fr) minmax(82px,.55fr)}.events-table .table-row.selected{background:#fff7db}.events-table .row-actions{flex-wrap:nowrap;justify-content:flex-end;gap:6px}.events-table .row-actions button{place-items:center;width:30px;min-width:30px;min-height:28px;padding:0;line-height:1;display:inline-grid}.events-table .row-actions svg{width:15px;height:15px}.event-table-delete-button{color:var(--status-error);background:#fff7f4;border-color:#efb8a8}.event-table-delete-button:hover,.event-table-delete-button:focus-visible{border-color:var(--status-error);color:#fff;background:var(--status-error)}.table-empty{color:var(--color-text-muted);text-align:center;padding:18px;font-size:16px}.event-select-cell{justify-content:center}.event-select-cell input{width:18px;height:18px;accent-color:var(--color-brand-coral)}.bus-table{background:var(--color-card);border-color:#f0dcd2bf;gap:0}.bus-table .table-row{grid-template-columns:minmax(124px,.85fr) minmax(130px,.95fr) minmax(130px,.95fr) minmax(82px,.6fr) minmax(140px,1fr) minmax(190px,1.35fr) minmax(160px,.9fr);gap:0;position:relative}.bus-table .table-row+.table-row:before{content:"";pointer-events:none;background:#f0dcd2bf;height:1px;position:absolute;top:0;left:0;right:0}.bus-table .table-row>span{text-align:left;justify-content:flex-start;align-self:stretch;align-items:center;min-height:46px;padding:11px;font-weight:400;line-height:1.45;display:flex}.bus-table .table-row>span:first-child,.bus-table .table-row>span:nth-child(2),.bus-table .table-row>span:nth-child(4){text-align:center;justify-content:center}.bus-table .table-row:not(.table-head)>span:nth-child(6){text-align:left;justify-content:center;align-items:flex-start}.bus-table .table-head>span{text-align:center;justify-content:center;font-weight:700}.bus-photo-cell{justify-content:center;place-items:center;display:flex}.bus-photo-cell button{background:0 0;border:0;border-radius:6px;place-items:center;min-height:0;padding:0;display:grid}.bus-photo-cell button:focus-visible{outline:2px solid var(--color-brand-coral);outline-offset:2px}.bus-photo-cell img{object-fit:cover;width:104px;height:68px;box-shadow:0 0 0 1px var(--color-border);border-radius:5px;display:block}.bus-table .table-row:not(.table-head)>.bus-drivers-cell{box-sizing:border-box;text-align:center;flex-direction:column;justify-content:center;align-self:stretch;align-items:center;gap:2px;height:100%;min-height:46px;font-weight:400;line-height:1.45;display:flex}.bus-table .table-row:not(.table-head)>.bus-drivers-cell span{text-align:center;min-height:0;margin:0;padding:0;line-height:1.45;display:block}.bus-file-cell{justify-content:center;align-items:center;font-weight:400;line-height:1.1;display:inline-flex}.seating-status-box{color:#0000;background:#fffaf7;border:1px solid #d8c8bf;border-radius:6px;place-items:center;width:24px;height:24px;display:inline-grid}.seating-status-box.filled{color:#fff;background:#6fa77f;border-color:#7fb08e;box-shadow:inset 0 0 0 1px #ffffff47}.bus-table .table-row:not(.table-head)>.bus-documents-cell{box-sizing:border-box;text-align:left;flex-direction:column;justify-content:center;align-self:stretch;align-items:flex-start;gap:2px;width:100%;height:100%;min-height:46px;padding-left:0;font-weight:400;line-height:1.45;display:flex}.bus-table .table-row:not(.table-head)>.bus-documents-cell span{text-align:left;width:100%;min-height:0;margin:0;padding:0;line-height:1.45;display:block}.bus-documents-cell small{min-height:0;padding:0;font-weight:400;line-height:1.45}.moscow-directory-section{margin-top:18px}.route-memory-toolbar{justify-content:space-between;align-items:center;gap:12px;margin-top:12px;display:flex}.route-memory-search{color:var(--color-text-muted);grid-template-columns:auto minmax(220px,360px);align-items:center;gap:8px;font-size:13px;font-weight:700;display:grid}.route-memory-search input{border:1px solid var(--color-border);width:100%;min-height:34px;color:var(--color-text);background:#fff;border-radius:6px;padding:0 9px;font-size:14px;font-weight:400}.route-memory-toolbar-actions{color:var(--color-text-muted);align-items:center;gap:10px;font-size:13px;font-weight:700;display:inline-flex}.route-memory-sort{flex-wrap:wrap;justify-content:flex-start;margin-top:12px}.route-memory-empty{margin-top:12px}.route-directory-header-actions{flex-wrap:wrap;justify-content:flex-end;align-items:center;gap:10px;display:inline-flex}.route-directory-sort-select{min-width:190px;color:var(--color-text-muted);font-size:13px;font-weight:700;display:block}.route-directory-sort-select select,.route-directory-sort-select .searchable-select-input{border:1px solid var(--color-border);min-height:36px;color:var(--color-text);background:#fff;border-radius:6px;padding:0 34px 0 10px;font-size:14px;font-weight:600}.route-directory-search{color:var(--color-text-muted);grid-template-columns:auto minmax(240px,420px);align-items:center;gap:8px;margin:8px 0 12px;font-size:13px;font-weight:700;display:grid}.route-directory-search input{border:1px solid var(--color-border);width:100%;min-height:34px;color:var(--color-text);background:#fff;border-radius:6px;padding:0 9px;font-size:14px;font-weight:400}.routes-memory-table .table-row{grid-template-columns:minmax(92px,.75fr) minmax(150px,1.25fr) minmax(64px,.38fr) minmax(78px,.45fr) minmax(82px,.55fr) minmax(90px,.5fr) minmax(72px,.42fr) minmax(68px,.4fr) minmax(108px,.75fr) minmax(40px,.22fr)}.routes-directory-table{margin-bottom:16px}.routes-directory-table .table-row{grid-template-columns:minmax(160px,.78fr) minmax(240px,1.25fr) minmax(100px,.42fr) minmax(104px,.34fr) minmax(160px,.8fr) minmax(118px,.32fr)}.routes-directory-table .table-row>span:nth-child(3),.routes-directory-table .table-row>span:nth-child(4){text-align:center;justify-content:center}.routes-directory-table .row-actions{flex-wrap:nowrap;justify-content:flex-end;gap:6px}.routes-directory-table .row-actions button{place-items:center;width:30px;min-width:30px;min-height:28px;padding:0;line-height:1;display:inline-grid}.routes-directory-table .row-actions svg{width:13px;height:13px}.routes-directory-table .route-delete-button{color:var(--status-error);background:#fff7f4;border-color:#efb8a8}.routes-directory-table .route-delete-button:hover,.routes-directory-table .route-delete-button:focus-visible{border-color:var(--status-error);color:#fff;background:var(--status-error)}.routes-directory-table .route-directory-group-row{background:#fffaf7}.routes-directory-table .route-directory-group-row.expanded{background:#fff4ec}.routes-directory-table .route-directory-group-row>span{align-items:center;font-weight:700}.routes-directory-table .route-directory-child-row{background:#fff}.routes-directory-table .route-directory-child-row>span:first-child{padding-left:42px}.route-memory-section{gap:10px;display:grid}.route-memory-section h3{margin:4px 0 0;font-size:18px}.routes-memory-table .table-row>span{overflow-wrap:anywhere;align-items:flex-start;min-height:38px;padding:7px 6px;font-size:13px;line-height:1.25}.routes-memory-table .table-head>.route-memory-filter-cell{justify-content:center;align-items:center;gap:4px;position:relative;overflow:visible}.route-memory-header-label{overflow-wrap:anywhere;text-align:center;min-width:0}.route-memory-filter-trigger{width:24px;min-height:24px;color:var(--color-text-muted);background:#fff;border:1px solid #e9c6b7;border-radius:6px;flex:none;place-items:center;padding:0;display:inline-grid}.route-memory-filter-cell.active .route-memory-filter-trigger,.route-memory-filter-trigger:hover:not(:disabled),.route-memory-filter-trigger:focus-visible:not(:disabled){border-color:var(--color-brand-coral);color:var(--color-text);background:#fffaf7;outline:none}.route-memory-filter-trigger:disabled{cursor:not-allowed;opacity:.45}.route-memory-filter-menu{z-index:25;width:min(260px,80vw);max-height:300px;color:var(--color-text);text-align:left;background:#fff;border:1px solid #e9c6b7;border-radius:8px;gap:8px;padding:10px;display:grid;position:fixed;top:0;left:0;overflow:auto;box-shadow:0 12px 28px #21192329}.route-memory-filter-menu-head{justify-content:space-between;align-items:center;gap:8px;display:flex}.route-memory-filter-menu-head strong{text-overflow:ellipsis;white-space:nowrap;min-width:0;overflow:hidden}.route-memory-filter-menu-count{color:var(--color-text-muted);font-size:12px;font-weight:700}.route-memory-filter-option-list{gap:4px;display:grid}.route-memory-filter-option{min-height:26px;color:var(--color-text);grid-template-columns:16px minmax(0,1fr);align-items:start;gap:7px;font-size:13px;font-weight:600;line-height:1.3;display:grid}.route-memory-filter-option-all{border-bottom:1px solid #f0dcd2cc;padding-bottom:7px;font-weight:700}.route-memory-filter-option input{width:15px;height:15px;margin:1px 0 0}.route-memory-filter-option span{overflow-wrap:anywhere;min-width:0}.routes-memory-table .table-row>span:nth-child(3),.routes-memory-table .table-row>span:nth-child(4),.routes-memory-table .table-row>span:nth-child(6),.routes-memory-table .table-row>span:nth-child(7),.routes-memory-table .table-row>span:nth-child(8),.routes-memory-table .table-row>span:nth-child(10){text-align:center;justify-content:center}.routes-memory-table .route-memory-group-row{background:#fffaf7}.routes-memory-table .route-memory-group-row.expanded{background:#fff4ec}.routes-memory-table .route-memory-group-row>span{align-items:center;font-weight:700}.route-memory-group-toggle{width:24px;min-height:24px;color:var(--color-text);background:#fff;border:1px solid #e9c6b7;border-radius:6px;flex:none;place-items:center;margin-right:6px;padding:0;display:inline-grid}.route-memory-group-toggle:hover,.route-memory-group-toggle:focus-visible{border-color:var(--color-brand-coral);background:#fff1e8;outline:none}.route-memory-group-title{text-overflow:ellipsis;min-width:0;overflow:hidden}.routes-memory-table .route-memory-group-title{overflow-wrap:anywhere;text-overflow:clip;white-space:normal;overflow:visible}.route-memory-group-count{color:#fff;background:var(--color-brand-coral);white-space:nowrap;border-radius:999px;flex:none;margin-left:8px;padding:2px 7px;font-size:12px;font-weight:700;line-height:1.25}.routes-memory-table .route-memory-child-row{background:#fff}.routes-memory-table .route-memory-child-row>span:first-child{padding-left:42px}.route-transfer-button{place-items:center;width:30px;min-width:30px;min-height:30px;padding:0;line-height:1;display:inline-grid}.route-transfer-button svg{width:16px;height:16px}.route-transfer-button.needs-transfer{border-color:var(--color-brand-coral);color:#fff;background:var(--color-brand-coral)}.route-transfer-button.needs-transfer:hover,.route-transfer-button.needs-transfer:focus-visible{color:#fff;background:#e85a5f;border-color:#e85a5f;outline:none}.subsection-header{justify-content:space-between;align-items:center;gap:12px;display:flex}.subsection-header h3{letter-spacing:0;margin:0;font-size:18px}.moscow-directory-table .table-row{grid-template-columns:minmax(150px,.9fr) minmax(130px,1fr) minmax(180px,1fr) minmax(140px,.8fr) minmax(180px,1fr)}.moscow-directory-table .table-row>span:first-child,.moscow-directory-table .table-row>span:nth-child(3),.moscow-directory-table .table-row>span:nth-child(4),.moscow-directory-table .table-row>span:nth-child(5){text-align:center;justify-content:center}.compact-empty{margin-top:12px}.south-directory{gap:18px;display:grid}.south-overview-grid{grid-template-columns:repeat(3,minmax(0,1fr));align-items:start;gap:14px;display:grid}.south-overview-card{border:1px solid var(--color-border);background:#fffdfb;border-radius:8px;gap:8px;min-width:0;padding:14px;display:grid}.south-overview-card-header{justify-content:space-between;align-items:baseline;gap:10px;display:flex}.south-overview-card-actions{align-items:center;gap:6px;display:inline-flex}.south-edit-icon-button,.south-fares-edit-button{place-items:center;width:26px;min-width:26px;height:26px;min-height:26px;padding:0;display:inline-grid}.south-overview-card-header h3{color:var(--color-text);letter-spacing:0;margin:0;font-size:20px}.south-details-button{min-height:30px;padding:5px 10px;font-size:13px}.south-overview-stops{min-height:0;color:var(--color-text-muted);margin:-4px 0 0;font-size:12px;font-weight:600;line-height:1.35}.south-season-section.compact{margin-top:2px}.south-overview-destination{color:var(--color-text);font-weight:800}.south-overview-fares{background:#fffaf7;border:1px solid #f0dcd2cc;border-radius:6px;gap:6px;padding:8px 10px;display:grid}.south-overview-fares-header{justify-content:space-between;align-items:center;gap:8px;display:flex}.south-fares-edit-button{width:24px;min-width:24px;height:24px;min-height:24px}.south-overview-fares div{gap:2px;display:grid}.south-overview-fares .south-overview-fares-header{display:flex}.south-overview-fares span{color:var(--color-text-muted);font-size:12px;font-weight:700;line-height:1.3}.south-overview-fares strong{color:var(--color-text);font-size:13px;font-weight:700}.south-overview-fares p{color:var(--color-text-muted);margin:2px 0 0;font-size:12px;font-weight:600}.south-summary{gap:10px;display:grid}.south-direction-note{border:1px solid var(--color-border);color:var(--color-text);background:#fffdfb;border-radius:6px;margin:0;padding:10px 12px;font-size:14px}.south-season-table .table-row{grid-template-columns:repeat(2,minmax(110px,150px));justify-content:start}.south-season-section.compact .south-season-table .table-row{grid-template-columns:repeat(2,minmax(0,1fr))}.south-season-table .table-row>span{min-height:34px;padding:6px 10px}.south-season-table .table-head>span{flex-direction:column;gap:2px}.south-season-table .table-head small{color:var(--color-text-muted);font-size:12px;font-weight:600}.south-season-table .table-head>span{background:#f7d5c7}.south-season-table .south-season-month-07>span{background:#fff1e885}.south-season-table .south-season-month-08>span{background:#ffe2d594}.south-season-table .south-season-month-09>span{background:#ffd0c2a3}.south-fares-table .table-row{grid-template-columns:minmax(260px,1.6fr) repeat(3,minmax(110px,.7fr))}.south-stops-table .table-row{grid-template-columns:minmax(140px,.9fr) minmax(70px,.35fr) minmax(100px,.55fr) minmax(240px,1.6fr) minmax(150px,.85fr)}.south-season-table .table-row>span,.south-fares-table .table-row>span:nth-child(n+2),.south-stops-table .table-row>span:nth-child(2),.south-stops-table .table-row>span:nth-child(3),.south-stops-table .table-row>span:nth-child(5){text-align:center;justify-content:center}.south-coordinate-link{color:var(--color-brand-plum);font-weight:700;text-decoration:none}.south-coordinate-link:hover,.south-coordinate-link:focus-visible{text-decoration:underline}.south-editor-modal{width:min(1180px,96vw)}.south-editor-tabs{margin:12px 0}.south-editor-content{gap:12px;display:grid}.south-editor-section{border:1px solid var(--color-border);background:#fffaf7;border-radius:8px;gap:10px;padding:12px;display:grid}.south-editor-section h3{color:var(--color-text);margin:0;font-size:16px}.south-editor-basic-grid,.south-editor-season-row,.south-editor-fare-row{grid-template-columns:repeat(4,minmax(0,1fr)) auto;align-items:end;gap:8px;display:grid}.south-editor-basic-grid{grid-template-columns:repeat(4,minmax(0,1fr))}.south-editor-season-list,.south-editor-fares-list,.south-editor-stops-list{gap:8px;display:grid}.south-editor-stop-row{grid-template-columns:72px minmax(120px,.85fr) 64px 92px 92px minmax(180px,1.2fr) minmax(130px,.85fr) auto auto;align-items:end;gap:8px;display:grid}.south-editor-section label{min-width:0;color:var(--color-text-muted);gap:4px;font-size:13px;font-weight:600;display:grid}.south-editor-section input,.south-editor-section select{min-width:0;min-height:34px}.south-editor-section button[aria-label^=Удалить]{min-width:34px;min-height:34px;padding:0}.south-editor-public-check{align-self:center;min-height:34px}.moscow-trip-editor-modal{width:min(680px,100vw - 32px)}.moscow-trip-editor-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:14px;display:grid}.moscow-trip-editor-grid label{color:var(--color-text-muted);gap:6px;font-size:14px;font-weight:700;display:grid}.moscow-trip-editor-grid input,.moscow-trip-editor-grid select{border:1px solid var(--color-border);min-height:40px;color:var(--color-text);font:inherit;background:#fff;border-radius:6px;padding:8px 10px}.bus-table .row-actions{flex-wrap:nowrap;justify-content:center;align-items:center;gap:6px;padding-left:6px;padding-right:6px;overflow:visible}.bus-table .row-actions button{place-items:center;width:30px;min-width:30px;min-height:28px;padding:0;display:inline-grid}.bus-table .row-actions svg{width:15px;height:15px}.bus-table .bus-delete-button{color:var(--status-error);background:#fff7f4;border-color:#efb8a8}.bus-table .bus-delete-button:hover,.bus-table .bus-delete-button:focus-visible{border-color:var(--status-error);color:#fff;background:var(--status-error)}.bus-documents-cell .active{color:#2f7d54}.bus-documents-cell .soon{color:#a66b00}.bus-documents-cell .expired{color:var(--status-error)}.bus-documents-cell .empty{color:var(--color-text-muted)}.drivers-table .table-row{grid-template-columns:minmax(126px,1.08fr) minmax(84px,.48fr) minmax(142px,.78fr) minmax(66px,.36fr) minmax(86px,.46fr) minmax(136px,.78fr) minmax(94px,.52fr) minmax(68px,.34fr) 88px;gap:0;position:relative}.drivers-table{background:var(--color-card);border-color:#f0dcd2bf;gap:0}.drivers-table .table-row+.table-row:before{content:"";pointer-events:none;background:#f0dcd2bf;height:1px;position:absolute;top:0;left:0;right:0}.drivers-table .table-row>span{text-overflow:ellipsis;white-space:nowrap;text-align:left;justify-content:flex-start;align-items:center;min-width:0;padding-left:6px;padding-right:6px;font-weight:400;display:flex;overflow:hidden}.drivers-table .table-head>span{text-align:center;justify-content:center;font-weight:700}.drivers-table .table-row:not(.table-head)>span:nth-child(2),.drivers-table .table-row:not(.table-head)>span:nth-child(3),.drivers-table .table-row:not(.table-head)>span:nth-child(4),.drivers-table .table-row:not(.table-head)>span:nth-child(5),.drivers-table .table-row:not(.table-head)>span:nth-child(6),.drivers-table .table-row:not(.table-head)>span:nth-child(7),.drivers-table .table-row:not(.table-head)>span:nth-child(8){text-align:center;justify-content:center}.drivers-table .table-row>span:nth-child(3),.drivers-table .table-row>span:nth-child(6){white-space:nowrap}.drivers-table .row-actions{flex-wrap:nowrap;justify-content:center;gap:6px;padding-left:6px;padding-right:6px;overflow:visible}.drivers-table .row-actions button{place-items:center;width:30px;min-width:30px;min-height:28px;padding:0;display:inline-grid}.drivers-table .row-actions svg{width:15px;height:15px}.drivers-table .driver-delete-button{color:var(--status-error);background:#fff7f4;border-color:#efb8a8}.drivers-table .driver-delete-button:hover,.drivers-table .driver-delete-button:focus-visible{border-color:var(--status-error);color:#fff;background:var(--status-error)}.drivers-table .driver-dismiss-button{color:#6f3b96;background:#fbf7ff;border-color:#d8c2e8}.drivers-table .driver-dismiss-button:hover,.drivers-table .driver-dismiss-button:focus-visible{color:#fff;background:#6f3b96;border-color:#6f3b96}.customers-table{background:var(--color-card);border-color:#f0dcd2bf;gap:0}.drivers-header-actions,.customers-header-actions{align-items:end;gap:10px;display:flex}.drivers-sort-control,.customers-sort-control{color:var(--color-text-muted);gap:4px;font-size:14px;font-weight:700;display:grid}.drivers-sort-control select,.drivers-sort-control .searchable-select-input,.customers-sort-control select,.customers-sort-control .searchable-select-input{min-width:180px;min-height:38px;color:var(--color-text);font-weight:400}.customers-table .table-row{grid-template-columns:minmax(92px,.58fr) minmax(120px,.5fr) minmax(112px,.58fr) minmax(120px,.72fr) max-content minmax(158px,.82fr) minmax(170px,.82fr) minmax(52px,52px) minmax(92px,92px);gap:0;position:relative}.customers-table .table-row+.table-row:before{content:"";pointer-events:none;background:#f0dcd2bf;height:1px;position:absolute;top:0;left:0;right:0}.customers-table .table-row>span{text-align:left;justify-content:flex-start;align-items:center;font-weight:400;display:flex}.customers-table .table-head>span{text-align:center;justify-content:center;font-weight:700}.customers-table .table-row:not(.table-head)>span:nth-child(3),.customers-table .table-row:not(.table-head)>span:nth-child(4),.customers-table .table-row:not(.table-head)>span:nth-child(5),.customers-table .table-row:not(.table-head)>span:nth-child(6),.customers-table .table-row:not(.table-head)>span:nth-child(8){text-align:center;justify-content:center}.customers-table .table-row>span:nth-child(6),.customers-table .table-row>span:nth-child(5){white-space:nowrap}.customers-table .table-row>span:nth-child(7){overflow-wrap:anywhere;white-space:normal}.customer-documents-cell{justify-content:center}.customer-documents-check{color:#0000;background:#fff;border:1px solid #d8c8bf;border-radius:5px;place-items:center;width:22px;height:22px;display:inline-grid}.customer-documents-check.filled{color:#fff;background:#6fa77f;border-color:#7fb08e;box-shadow:inset 0 0 0 1px #ffffff47}.customers-table .row-actions{flex-wrap:nowrap;place-content:center flex-end;align-items:center;gap:6px;padding-right:12px}.customers-table .row-actions button{place-items:center;width:30px;min-width:30px;min-height:28px;padding:0;line-height:1;display:inline-grid}.customers-table .row-actions svg{width:15px;height:15px}.customers-table .customer-delete-button{color:var(--status-error);background:#fff7f4;border-color:#efb8a8}.contractors-table{background:var(--color-card);border-color:#f0dcd2bf;gap:0}.contractors-table .table-row{grid-template-columns:minmax(110px,.62fr) minmax(220px,1.45fr) minmax(110px,.58fr) minmax(142px,.74fr) minmax(146px,.74fr) minmax(160px,.9fr) minmax(86px,.42fr) minmax(92px,92px);gap:0;position:relative}.contractors-table .table-row+.table-row:before{content:"";pointer-events:none;background:#f0dcd2bf;height:1px;position:absolute;top:0;left:0;right:0}.contractors-table .table-row>span{text-overflow:ellipsis;white-space:nowrap;text-align:left;justify-content:flex-start;align-items:center;min-width:0;padding-left:6px;padding-right:6px;font-weight:400;display:flex;overflow:hidden}.contractors-table .table-head>span,.contractors-table .table-row:not(.table-head)>span:nth-child(3),.contractors-table .table-row:not(.table-head)>span:nth-child(4),.contractors-table .table-row:not(.table-head)>span:nth-child(5),.contractors-table .table-row:not(.table-head)>span:nth-child(7){text-align:center;justify-content:center}.contractors-table .table-row>span:nth-child(2),.contractors-table .table-row>span:nth-child(6){white-space:normal}.contractors-table .row-actions{flex-wrap:nowrap;justify-content:center;gap:6px;padding-left:6px;padding-right:6px;overflow:visible}.contractors-table .row-actions button{place-items:center;width:30px;min-width:30px;min-height:28px;padding:0;display:inline-grid}.contractors-table .row-actions svg{width:15px;height:15px}.contractors-table .contractor-delete-button{color:var(--status-error);background:#fff7f4;border-color:#efb8a8}.contractors-table .contractor-delete-button:hover,.contractors-table .contractor-delete-button:focus-visible{border-color:var(--status-error);color:#fff;background:var(--status-error)}.driver-license-cell{flex-direction:column;justify-content:center;align-items:center;gap:2px;font-weight:400;display:flex}.driver-license-cell small{color:var(--color-text-muted);font-size:13px;font-weight:400;line-height:1.25}.bus-editor-modal{width:min(1080px,100%);padding:14px 16px}.driver-editor-modal{width:min(930px,100%);padding:14px 16px}.contractor-editor-modal{width:min(1080px,100%);padding:14px 16px}.contractor-requisites-header{align-items:flex-start}.contractor-requisites-header-actions{gap:8px;display:flex}.driver-editor-modal .modal-header{gap:12px}.driver-editor-modal .modal-header h2{font-size:21px}.customer-editor-modal,.expenses-modal{width:min(820px,100%)}.customer-editor-modal{width:min(1120px,100%);padding:14px 16px}.route-editor-modal{width:min(1060px,100%);padding:14px 16px}.row-actions{flex-wrap:wrap;gap:8px;display:flex}.plain-list{gap:10px;margin:14px 0 0;padding-left:18px;display:grid}.dictionary-editor{gap:14px;margin-top:14px;display:grid}.route-editor-layout{grid-template-columns:minmax(0,1.35fr) minmax(260px,.85fr);align-items:start;gap:14px;display:grid}.route-card-section{border:1px solid var(--color-border);background:#fffaf7;border-radius:8px;flex-direction:column;gap:10px;min-width:0;padding:10px;display:flex}.route-card-section h3{color:var(--color-text-muted);margin:0;font-size:14px;font-weight:700}.route-card-section label,.route-comment-field,.route-points-field{gap:4px;min-width:0;font-size:14px}.route-comment-field{display:grid}.route-comment-field>span{color:var(--color-text);font-size:14px;font-weight:700}.route-card-section input,.route-card-section select,.route-card-section textarea{box-sizing:border-box;width:100%;min-width:0;min-height:34px;font-weight:400}.route-card-section textarea{resize:vertical;min-height:92px;padding:8px 10px}.route-empty-flags{background:#fff;border:1px solid #f1ded4;border-radius:6px;flex-wrap:wrap;align-items:center;gap:10px 18px;min-height:34px;padding:8px 10px;display:flex}.route-empty-flags label{align-items:center;gap:7px;font-weight:600;display:inline-flex}.route-empty-flags input{width:16px;height:16px;min-height:0;margin:0}.route-points-field{gap:7px;display:grid}.route-points-title{color:var(--color-text);font-size:15px;font-weight:700}.route-points-list{gap:8px;display:grid}.route-point-row{grid-template-columns:minmax(0,1fr) 32px;align-items:center;gap:8px;display:grid}.route-point-row input{width:100%;min-width:0}.route-point-row button{place-items:center;min-height:32px;padding:0;display:inline-grid}.route-add-point-button{justify-self:start;margin-top:2px}.contractor-editor{flex-direction:column;gap:10px;min-width:0;margin-top:10px;display:flex}.contractor-card-sections{gap:14px;min-width:0;display:grid}.contractor-card-section{border:1px solid var(--color-border);background:#fffaf7;border-radius:8px;flex-direction:column;gap:10px;min-width:0;padding:10px;display:flex}.contractor-card-section h3{color:var(--color-text-muted);margin:0;font-size:14px;font-weight:700}.contractor-general-grid,.contractor-requisites-grid{grid-template-columns:repeat(6,minmax(0,1fr));align-items:end;gap:10px;min-width:0;display:grid}.contractor-general-grid label,.contractor-requisites-grid label{gap:4px;min-width:0;font-size:14px}.contractor-general-grid input:not([type=checkbox]),.contractor-requisites-grid input,.contractor-requisites-grid textarea{box-sizing:border-box;width:100%;min-width:0;font-weight:400}.contractor-general-grid label:first-child,.contractor-requisites-grid label:first-child,.contractor-requisites-grid label:nth-child(2),.contractor-requisites-grid label:nth-child(3){grid-column:span 2}.contractor-full-name-field,.contractor-legal-address-field,.contractor-bank-details-field{grid-column:1/-1}.contractor-active-row{background:#fff;border:1px solid #f1ded4;border-radius:6px;align-items:center;min-height:34px;padding:7px 10px;font-weight:700;display:inline-flex}.contractor-active-row input{width:16px;height:16px;margin:0 8px 0 0}.contractor-editor-actions{justify-content:flex-end}.contractor-requisites-grid textarea{resize:vertical;min-height:108px;padding:8px 10px}.driver-editor{flex-direction:column;gap:10px;min-width:0;margin-top:10px;display:flex}.driver-card-sections{flex-direction:column;gap:14px;min-width:0;display:flex}.driver-card-layout{grid-template-columns:minmax(0,1fr) minmax(0,1fr);align-items:start;gap:16px;display:grid}.driver-card-column{flex-direction:column;gap:14px;min-width:0;display:flex}.driver-top-columns{grid-template-columns:minmax(0,1fr) minmax(0,1fr);align-items:start;gap:16px;min-width:0;display:grid}.driver-card-section{border:1px solid var(--color-border);background:#fffaf7;border-radius:8px;flex-direction:column;gap:10px;min-width:0;padding:10px;display:flex}.driver-card-section h3{color:var(--color-text-muted);margin:0;font-size:14px;font-weight:700}.driver-general-grid{grid-template-columns:minmax(0,1.45fr) minmax(0,.85fr);align-items:end;gap:10px;min-width:0;display:grid}.driver-documents-grid{grid-template-columns:repeat(6,minmax(0,1fr));align-items:end;gap:10px;min-width:0;display:grid}.driver-work-grid{grid-template-columns:repeat(4,minmax(0,1fr));align-items:end;gap:10px;min-width:0;display:grid}.driver-card-right-column .driver-work-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.driver-dismissed-toggle{border:1px solid var(--color-border);background:var(--color-card);box-sizing:border-box;border-radius:6px;align-items:center;gap:8px;min-height:34px;padding:0 10px;font-weight:400;display:flex}.driver-card-sections .driver-dismissed-toggle input{width:16px;min-width:16px;min-height:16px}.driver-dismissed-toggle span{font-weight:400}.driver-work-history-section{gap:8px}.driver-work-history-header{justify-content:space-between;align-items:center;gap:10px;display:flex}.driver-work-history-list{gap:6px;display:grid}.driver-work-history-row{background:#fffdfb;border:1px solid #f0dfd5;border-radius:6px;grid-template-columns:minmax(150px,.9fr) minmax(130px,1fr) minmax(110px,.7fr) minmax(130px,1fr);align-items:center;gap:8px;min-width:0;padding:6px 8px;font-size:14px;line-height:1.2;display:grid}.driver-work-history-row strong,.driver-work-history-row span,.driver-work-history-row em{text-overflow:ellipsis;white-space:nowrap;min-width:0;overflow:hidden}.driver-work-history-row strong{font-weight:700}.driver-work-history-row em{color:var(--color-text-muted);grid-column:1/-1;font-style:normal}.driver-work-history-edit-row{grid-template-columns:minmax(92px,.72fr) minmax(92px,.72fr) minmax(130px,1fr) minmax(112px,.82fr) minmax(124px,.9fr) minmax(150px,1.1fr) 32px}.driver-card-right-column .driver-work-history-edit-row{grid-template-columns:repeat(2,minmax(0,1fr)) 32px}.driver-card-right-column .driver-work-history-comment-field{grid-column:1/3}.driver-work-history-edit-row label{gap:3px;min-width:0;font-size:12px;display:grid}.driver-work-history-edit-row input,.driver-work-history-edit-row select{min-height:30px;padding:4px 7px;font-size:14px}.driver-work-history-date-field{gap:2px}.driver-work-history-delete-button{width:30px;min-height:30px;color:var(--color-text-muted);align-self:end;padding:0}.driver-work-history-delete-button:hover,.driver-work-history-delete-button:focus-visible{color:var(--color-brand-coral)}.driver-work-history-empty{color:var(--color-text-muted);margin:0;font-size:14px;font-weight:400}.driver-card-sections label{box-sizing:border-box;gap:4px;width:100%;min-width:0;font-size:14px}.driver-card-sections input,.driver-card-sections select{box-sizing:border-box;width:100%;min-width:0;min-height:34px;font-weight:400}.driver-card-sections textarea{box-sizing:border-box;width:100%;min-width:0;min-height:54px;max-height:72px;font-weight:400}.driver-documents-grid label:first-child,.driver-documents-grid label:nth-child(2){grid-column:span 3}.driver-documents-grid label:nth-child(n+3){grid-column:span 2}.driver-phone-list{gap:10px;min-width:0;display:grid}.driver-phone-row span{grid-template-columns:minmax(0,1fr) 34px;align-items:end;gap:10px;min-width:0;display:grid}.driver-phone-row button{border:1px solid var(--color-border);min-height:34px;color:var(--color-text);background:var(--color-card);border-radius:6px;padding:0;font-size:18px;font-weight:700;line-height:1}.driver-date-field{box-sizing:border-box;gap:4px;width:100%;min-width:0;display:grid}.field-error-text{color:var(--status-error);font-size:13px;font-weight:500;line-height:1.2}.driver-editor-actions{border-top:1px solid var(--color-border);margin-top:2px;padding-top:10px}.customer-editor{margin-top:14px}.customer-card-sections{flex-direction:column;gap:14px;min-width:0;display:flex}.customer-editor-layout{grid-template-columns:minmax(0,.95fr) minmax(360px,1.05fr);align-items:start;gap:14px;min-width:0;display:grid}.customer-main-column,.customer-side-column{grid-auto-rows:minmax(0,auto);align-self:stretch;gap:14px;min-width:0;display:grid}.customer-main-column>.customer-card-section:first-child,.customer-side-column>.customer-card-section:first-child{min-height:157px}.customer-card-section{border:1px solid var(--color-border);background:#fffaf7;border-radius:8px;flex-direction:column;gap:10px;min-width:0;padding:10px;display:flex}.customer-card-section h3{color:var(--color-text-muted);margin:0;font-size:14px;font-weight:700}.section-title-row{flex-wrap:wrap;justify-content:space-between;align-items:center;gap:10px;display:flex}.customer-general-grid{grid-template-columns:125px 158px minmax(165px,1fr);align-items:end;gap:10px;min-width:0;display:grid}.customer-general-top-grid,.customer-general-bottom-grid{display:contents}.customer-registration-grid{grid-template-columns:minmax(230px,1fr) minmax(116px,126px) max-content;align-items:end;gap:8px;min-width:0;display:grid}.customer-contract-code-field input{text-align:center;text-transform:uppercase}.customer-address-list{gap:8px;min-width:0;display:grid}.customer-address-extra-list{gap:10px;min-width:0;display:grid}.customer-add-address-button{text-align:left;place-self:start;margin-top:2px;font-weight:400}.customer-requisites-inline{justify-content:end;align-self:stretch;align-items:end;min-width:0;display:flex}.customer-requisites-inline .secondary-button{border-color:var(--color-brand-plum);color:#fff;background:var(--color-brand-plum);white-space:nowrap;width:auto;height:34px;min-height:34px;padding:0 10px;font-size:14px}.customer-requisites-inline .secondary-button:hover:not(:disabled),.customer-requisites-inline .secondary-button:focus-visible:not(:disabled){color:#fff;background:#6f3f64;border-color:#6f3f64;outline:none}.customer-add-contact-button{text-align:left;place-self:start;margin-top:2px;font-weight:400}.customer-contact-list{gap:4px;min-width:0;display:grid}.customer-contact-row+.customer-contact-row{margin-top:6px}.customer-contact-row{grid-template-columns:18px minmax(96px,1fr) 158px minmax(110px,1.25fr) 34px;align-items:end;gap:10px;min-width:0;display:grid}.customer-contact-head{min-width:0;color:var(--color-text);grid-template-columns:18px minmax(96px,1fr) 158px minmax(110px,1.25fr) 34px;gap:10px;font-size:14px;font-weight:700;display:grid}.customer-default-contact-cell{place-items:center start;min-height:38px;display:grid}.customer-card-section .customer-default-contact-cell input{width:16px;min-width:16px;min-height:16px}.customer-list-row{grid-template-columns:minmax(0,1fr) 34px;align-items:start;gap:10px;min-width:0;display:grid}.customer-address-row{grid-template-columns:18px minmax(0,1fr) 34px;align-items:start;gap:10px;min-width:0;display:grid}.customer-card-section label .customer-address-row{margin-top:4px}.customer-default-address-cell{place-items:center start;min-height:38px;display:grid}.customer-card-section .customer-default-address-cell input{width:16px;min-width:16px;min-height:16px}.customer-card-section textarea.auto-grow-textarea{resize:none;min-height:38px;max-height:none;overflow:hidden}.customer-card-sections label{box-sizing:border-box;gap:4px;width:100%;min-width:0;font-size:14px}.customer-card-sections input,.customer-card-sections select,.customer-card-sections textarea{box-sizing:border-box;width:100%;min-width:0;min-height:34px;font-weight:400}.customer-card-sections textarea{resize:vertical;min-height:78px}.customer-card-section label,.customer-requisites-grid label{gap:4px;min-width:0;font-size:14px}.customer-card-section input,.customer-card-section select,.customer-card-section textarea,.customer-requisites-grid input,.customer-requisites-grid select,.customer-requisites-grid textarea{box-sizing:border-box;width:100%;min-width:0;font-weight:400}.customer-card-section textarea{resize:vertical;min-height:94px}.customer-section-note{color:var(--color-text-muted);margin:0;font-size:14px;font-weight:400;line-height:1.35}.customer-list-row button,.customer-contact-row button{border:1px solid var(--color-border);width:34px;min-height:34px;color:var(--color-text);background:var(--color-card);border-radius:6px;justify-self:start;padding:0;line-height:1}.customer-contact-row button{grid-area:1/5;justify-self:end}.customer-list-row button:hover,.customer-list-row button:focus-visible,.customer-contact-row button:hover:not(:disabled),.customer-contact-row button:focus-visible:not(:disabled){background:#fff1e8;border-color:#f0c7b5;outline:none}.customer-contact-row button:disabled{cursor:not-allowed;opacity:.45;visibility:hidden}.nested-modal-backdrop{z-index:70}.customer-requisites-modal{width:min(980px,100%)}.customer-requisites-header-actions{gap:8px;display:flex}.customer-requisites-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;min-width:0;margin-top:14px;display:grid}.individual-requisites-grid{grid-template-columns:minmax(0,1.35fr) minmax(150px,.72fr) minmax(180px,.9fr)}.individual-requisites-grid .individual-passport-number{grid-column:1/span 2}.individual-requisites-grid .individual-passport-department-code{grid-column:3}.individual-requisites-grid .individual-passport-issued-by{grid-column:1/span 2}.individual-requisites-grid .individual-passport-issue-date{grid-column:3}.customer-requisites-grid .full-width,.customer-consent-row{grid-column:1/-1}.entrepreneur-requisites-grid{grid-template-columns:repeat(6,minmax(0,1fr))}.entrepreneur-requisites-grid .requisites-field-full-name{grid-column:1/-1}.entrepreneur-requisites-grid .requisites-field-short-name,.entrepreneur-requisites-grid .requisites-field-inn,.entrepreneur-requisites-grid .requisites-field-ogrn{grid-column:span 2}.entrepreneur-requisites-grid .requisites-field-legal-address,.entrepreneur-requisites-grid .requisites-field-actual-address,.entrepreneur-requisites-grid .requisites-field-bank,.entrepreneur-requisites-grid .requisites-field-checking-account,.entrepreneur-requisites-grid .requisites-field-bik,.entrepreneur-requisites-grid .requisites-field-correspondent-account,.entrepreneur-requisites-grid .requisites-field-phone,.entrepreneur-requisites-grid .requisites-field-documents-email{grid-column:span 3}.entrepreneur-requisites-grid .requisites-field-checking-account{grid-column:1/span 3}.entrepreneur-requisites-grid .requisites-field-bank{grid-column:4/span 3}.contractor-ip-requisites-grid .contractor-active-row{grid-column:1/-1;justify-self:start;width:auto}.contractor-ip-requisites-grid .contractor-active-row input{width:16px;min-width:16px;min-height:16px}.customer-consent-row{align-content:center;min-height:38px}.customer-consent-row input{width:16px;min-height:16px}.requisites-import-backdrop{z-index:80}.requisites-import-modal{width:min(1040px,100%)}.requisites-import-layout{grid-template-columns:minmax(0,.95fr) minmax(360px,1.05fr);gap:14px;min-width:0;margin-top:14px;display:grid}.requisites-import-source{gap:6px;min-width:0;font-size:14px;display:grid}.requisites-import-source-head{justify-content:space-between;align-items:center;gap:10px;display:flex}.requisites-import-source-actions{flex-wrap:wrap;justify-content:flex-end;gap:8px;display:flex}.requisites-import-file-button{position:relative;overflow:hidden}.requisites-import-file-button input{cursor:pointer;opacity:0;position:absolute;inset:0}.requisites-import-source textarea{resize:vertical;min-height:360px}.requisites-import-preview{align-content:start;gap:10px;min-width:0;display:grid}.requisites-import-preview-title{justify-content:space-between;align-items:center;gap:10px;display:flex}.requisites-import-preview-title h3{color:var(--color-text-muted);text-transform:uppercase;margin:0;font-size:14px}.requisites-import-preview-title span{color:var(--color-text-muted);font-size:14px;font-weight:600}.requisites-import-rows{gap:6px;max-height:420px;display:grid;overflow:auto}.requisites-import-row{border:1px solid var(--color-border);background:#fffaf7;border-radius:6px;grid-template-columns:18px minmax(120px,.72fr) minmax(0,1.2fr);align-items:start;gap:8px;min-width:0;padding:8px;font-size:14px;display:grid}.requisites-import-row input{width:16px;min-height:16px;margin-top:2px}.requisites-import-row strong{overflow-wrap:anywhere;min-width:0;font-weight:600}.requisites-import-row small{color:var(--color-text-muted);overflow-wrap:anywhere;grid-column:2/-1}.requisites-import-row:not(.found){opacity:.62}.checkbox-grid{grid-template-columns:repeat(3,minmax(140px,1fr));gap:8px 14px;display:grid}.dictionary-actions{justify-content:flex-end;gap:10px;display:flex}.empty-state{border:1px dashed var(--color-border);background:#fffaf7;border-radius:8px;justify-items:start;gap:12px;margin-top:14px;padding:18px;display:grid}.empty-state p{color:var(--color-text-muted);margin:0;font-weight:600}.file-note{color:var(--color-text-muted);margin:0;font-size:14px}.date-picker{position:relative}.date-picker input{width:100%;padding-right:34px}.date-picker-toggle{color:#7f626f;width:22px;min-height:22px;box-shadow:none;background:0 0;border:0;border-radius:6px;place-items:center;padding:0;display:grid;position:absolute;top:50%;right:7px;transform:translateY(-50%)}.date-picker-toggle:hover,.date-picker-toggle:focus-visible{color:var(--color-text);background:#fff1e8;outline:none}.date-picker-popover{z-index:3000;border:1px solid var(--color-border);background:var(--color-card);border-radius:8px;gap:6px;width:238px;padding:8px;display:grid;position:absolute;box-shadow:0 18px 44px #21192333}.date-picker-popover.placement-right{top:0;left:calc(100% + 8px)}.date-picker-popover.placement-left{top:0;right:calc(100% + 8px)}.date-picker-popover.placement-top{bottom:calc(100% + 8px);left:0}.date-picker-popover.placement-bottom{top:calc(100% + 8px);left:0}.date-picker-header{text-align:center;grid-template-columns:28px 1fr 28px;align-items:center;gap:6px;font-size:14px;display:grid}.date-picker-header button,.date-picker-days button{border:1px solid var(--color-border);min-height:26px;color:var(--color-text);background:var(--color-card);border-radius:6px;padding:0}.date-picker-header button:hover,.date-picker-header button:focus-visible,.date-picker-days button:hover,.date-picker-days button:focus-visible{background:#fff1e8;border-color:#f0c7b5;outline:none}.date-picker-weekdays,.date-picker-days{grid-template-columns:repeat(7,1fr);gap:3px;display:grid}.date-picker-weekdays span{color:var(--color-text-muted);text-align:center;font-size:12px;font-weight:700}.date-picker-days button.active{border-color:var(--color-brand-coral);color:#fff;background:var(--color-brand-coral)}.date-picker-days button.highlighted:not(.active){background:#fff1e8;border-color:#efbda7;font-weight:800;box-shadow:inset 0 0 0 2px #efbda761}.date-picker-days button.today:not(.active):not(.highlighted){background:#e7f6eb;border-color:#55a86d;font-weight:800;box-shadow:inset 0 0 0 2px #55a86d52}.date-picker-days button.highlighted.today:not(.active){background:#fff1e8;border-color:#55a86d;box-shadow:inset 0 0 0 2px #55a86d7a,0 0 0 1px #55a86d52}.date-picker-days button.active.today{border-color:#55a86d;box-shadow:inset 0 0 0 2px #fff6,0 0 0 2px #55a86d61}.warning-list,.validation-list{gap:8px;margin:14px 0 0;padding:0;list-style:none;display:grid}.warning{color:var(--color-text);background:#fff6df;border-radius:6px;align-items:center;gap:8px;padding:10px;display:flex}.warning.critical{color:#fff;background:var(--status-error)}.validation-error{color:#fff;background:var(--status-error);border-radius:6px;align-items:center;gap:8px;padding:10px;font-size:14px;display:flex}.warning.compact,.compact .warning{font-size:14px}.empty{color:var(--color-text-muted);margin-bottom:0}.settings-list{grid-template-columns:repeat(2,minmax(220px,1fr));gap:12px;margin:14px 0 0;display:grid}.settings-list div{border:1px solid var(--color-border);border-radius:6px;padding:12px}.settings-list dt{color:var(--color-text-muted);font-size:14px}.settings-list dd{margin:4px 0 0;font-weight:700}.document-settings-actions{flex-wrap:wrap;justify-content:flex-end;gap:8px;display:inline-flex}.document-settings-section{gap:10px;margin-top:18px;display:grid}.contract-templates-table .table-row{grid-template-columns:minmax(220px,1.35fr) minmax(130px,.75fr) minmax(180px,1fr) minmax(110px,.55fr) minmax(100px,.55fr) minmax(100px,auto)}.contract-applications-table .table-row{grid-template-columns:minmax(130px,.7fr) minmax(220px,1.25fr) minmax(220px,1.25fr) minmax(100px,.55fr) minmax(70px,auto)}.contract-clauses-table .table-row{grid-template-columns:minmax(220px,1.25fr) minmax(260px,1.35fr) minmax(120px,.65fr) minmax(100px,.55fr) minmax(100px,auto)}.contract-editor-modal{width:min(980px,100%)}.contract-editor{grid-template-columns:minmax(0,1.1fr) minmax(260px,.9fr);align-items:start;gap:14px;margin-top:14px;display:grid}.contract-editor-main{min-width:0}.contract-template-body-textarea{min-height:220px;font-family:inherit;line-height:1.45}.contract-check-row{align-items:center;gap:8px;min-width:0;font-weight:600;display:flex}.contract-check-row input{width:16px;height:16px;min-height:0;margin:0}.contract-checkbox-list,.contract-file-field{gap:8px;display:grid}.contract-file-field>span{font-size:14px;font-weight:700}.contract-file-field input[type=file]{opacity:0;pointer-events:none;width:1px;height:1px;position:absolute}.contract-file-preview{grid-template-columns:minmax(0,1fr) 34px;align-items:center;gap:8px;display:grid}.contract-file-preview a{color:var(--color-brand-coral);text-overflow:ellipsis;white-space:nowrap;font-size:14px;font-weight:700;overflow:hidden}.contract-variant-texts{gap:10px;display:grid}.contract-variant-texts>span{color:var(--color-muted);text-transform:uppercase;font-size:12px;font-weight:700}.contract-variant-texts textarea{min-height:78px}.modal-backdrop{z-index:50;background:#2119236b;place-items:center;padding:20px;display:grid;position:fixed;inset:0}.modal{background:var(--color-card);border-radius:8px;width:min(1080px,100%);max-height:calc(100vh - 40px);padding:18px;overflow:auto;box-shadow:0 24px 80px #2119233d}.confirm-modal-backdrop{z-index:80;background:#2119237a}.confirm-modal{background:#fffaf7;border:1px solid #f0c7b5;width:min(420px,100%);padding:18px;box-shadow:0 24px 70px #21192338}.confirm-modal .modal-header{border-bottom:1px solid #f0e4dd;align-items:flex-start;padding-bottom:12px}.confirm-modal .caption{color:var(--color-brand-coral);font-weight:700}.confirm-modal h2{color:var(--color-text);font-size:22px;line-height:1.15}.confirm-modal-text{color:var(--color-text);margin:16px 0 0;font-size:15px;font-weight:600;line-height:1.4}.confirm-modal-actions{justify-content:flex-end;gap:10px;margin-top:18px}.confirm-modal-actions button{min-width:78px;font-weight:700}.driver-dismissal-modal{width:min(440px,100%)}.driver-dismissal-body{gap:14px;display:grid}.driver-dismissal-date{color:var(--color-text-muted);gap:6px;font-size:13px;font-weight:700;display:grid}.driver-dismissal-date input{border:1px solid var(--color-border);min-height:36px;color:var(--color-text);font:inherit;background:#fff;border-radius:6px;padding:0 10px}.modal-actions .confirm-cancel-button{color:var(--color-text);background:#fff;border-color:#eadbd3}.modal-actions .confirm-cancel-button:hover,.modal-actions .confirm-cancel-button:focus-visible{background:#fff1e8;border-color:#f0c7b5;outline:none}.modal-actions .confirm-delete-button{border-color:var(--color-brand-coral);color:#fff;background:var(--color-brand-coral)}.modal-actions .confirm-delete-button:hover,.modal-actions .confirm-delete-button:focus-visible{background:#e85a5f;border-color:#e85a5f;outline:none}.event-modal{grid-template-rows:auto auto minmax(0,1fr) auto;width:min(1100px,95vw);height:min(760px,100vh - 40px);padding:12px 14px 16px;display:grid;overflow:hidden}.event-modal .modal-header{gap:10px}.event-modal-header-actions{justify-items:end;gap:6px;display:grid}.order-crew-message-open-button{white-space:nowrap;gap:6px;min-height:32px;padding:0 10px;font-size:14px;font-weight:600}.order-crew-message-open-button svg{flex:none}.event-modal .tabs{margin:8px 0}.event-modal-content{align-content:start;gap:10px;min-height:0;padding:0 2px 4px;display:grid;overflow:auto}.form-grid{grid-template-columns:repeat(2,minmax(220px,1fr));gap:12px;display:grid}.moscow-top-row,.moscow-trip-card{grid-column:1/-1}.moscow-top-row{grid-template-columns:minmax(220px,1.15fr) repeat(2,minmax(180px,1fr)) auto;align-items:end;gap:10px;display:grid}.moscow-assignment-grid{display:contents}.moscow-bus-section{grid-column:1}.moscow-calculation-section{grid-column:2;justify-content:flex-start;align-items:flex-start;display:flex}.moscow-calculation-button{place-self:flex-start start;min-width:210px;margin-bottom:0;margin-left:0}.moscow-trip-card{border:1px solid var(--event-moscow-border);background:#fffdfb;border-radius:8px;gap:12px;padding:12px;display:grid}.moscow-trip-columns{grid-template-columns:repeat(2,minmax(220px,1fr));gap:14px;display:grid}.moscow-trip-leg{background:#fff9f4;border:1px solid #edd8cd;border-radius:8px;align-content:start;gap:10px;min-width:0;padding:12px;display:grid}.moscow-trip-leg:nth-child(2){background:#fbf8fc;border-color:#e2d3e0}.moscow-trip-leg h3{color:var(--color-text);margin:0;font-size:18px;font-weight:700}.moscow-trip-checkboxes{flex-wrap:wrap;align-items:center;gap:8px 14px;display:flex}.moscow-trip-checkboxes .check-row{min-height:26px;color:var(--color-text);font-size:13px;font-weight:700}.moscow-trip-leg-block{background:0 0;border:0;gap:12px;padding:0;display:grid}.moscow-trip-leg-block legend{color:var(--color-text-muted);margin-bottom:0;font-size:14px}.moscow-trip-row{grid-template-columns:repeat(2,minmax(120px,1fr));gap:8px;display:grid}.moscow-trip-start-row{grid-template-columns:minmax(116px,1fr) minmax(84px,.66fr) auto;align-items:end;gap:10px}.moscow-trip-start-field{color:var(--color-text);gap:5px;font-size:15px;font-weight:700}.moscow-trip-start-input,.moscow-trip-start-field input{background:#fff;border-color:#efbda7;width:100%;min-width:0;min-height:44px;font-size:14px;font-weight:400;box-shadow:0 0 0 3px #f396531f}.moscow-trip-time-field{min-width:0}.moscow-trip-additional-field{min-height:44px;color:var(--color-text);white-space:nowrap;justify-content:center;align-self:end;align-items:center;gap:6px;padding-bottom:1px;font-size:14px;font-weight:700;display:inline-flex}.moscow-trip-additional-field input{width:16px;height:16px;min-height:0;margin:0;padding:0}.moscow-trip-end-row{gap:8px;padding-top:2px}.moscow-trip-end-field{color:var(--color-text-muted);gap:4px;font-size:13px;font-weight:600}.moscow-trip-end-field input{min-height:32px;color:var(--color-text-muted);background:#ffffff9e;border-color:#efe5df;font-size:13px}.moscow-trip-arrival-field{grid-column:1/-1;gap:4px;min-width:0;display:grid}.moscow-trip-arrival-label{color:var(--color-text-muted);font-size:13px;font-weight:600}.moscow-trip-arrival-values{grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;display:grid}.moscow-trip-arrival-values .date-picker{min-width:0}.moscow-trip-arrival-values input{min-height:32px;color:var(--color-text-muted);background:#ffffff9e;border-color:#efe5df;font-size:13px}.moscow-trip-arrival-values .moscow-trip-arrival-status{color:var(--color-text);grid-column:1/-1;font-weight:700}.moscow-comment-section{grid-column:1/-1;gap:4px;padding:6px 8px}.south-trip-card{border:1px solid var(--event-moscow-border);background:#fffdfb;border-radius:8px;grid-column:1/-1;gap:12px;padding:12px;display:grid}.south-trip-columns{grid-template-columns:repeat(2,minmax(320px,1fr));gap:14px;display:grid}.south-route-section,.south-date-time-section{align-content:start}.south-route-layout{grid-template-columns:minmax(180px,240px) max-content;justify-content:space-between;align-items:start;gap:10px;display:grid}.south-route-main{gap:8px;min-width:0;display:grid}.south-route-main h3{margin:0}.south-route-select{color:var(--color-text);gap:5px;font-size:15px;font-weight:700;display:grid}.south-route-select select,.south-route-select .searchable-select-input,.south-date-time-grid input,.south-date-time-grid select{width:100%;min-height:38px}.south-route-hint{color:var(--color-text-muted);margin:0;font-size:13px;font-weight:600;line-height:1.35}.south-calculation-button{white-space:nowrap;justify-self:end;min-height:34px;margin-left:0;padding:7px 12px}.south-route-documents{justify-items:end;gap:6px;display:grid}.south-date-time-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;display:grid}.south-date-time-grid label{min-width:0;color:var(--color-text);gap:5px;font-size:14px;font-weight:700;display:grid}.south-trip-arrival-field{margin-top:2px}.south-trip-arrival-values input{min-height:34px}.south-documents-row{min-height:20px;margin-top:0;font-size:13px}.south-comment-section{grid-column:1/-1}.moscow-comment-section h3{color:var(--color-text-muted);margin:0;font-size:14px;font-weight:700}.moscow-comment-section textarea{resize:none;width:100%;min-height:34px;max-height:42px;padding:5px 8px}.moscow-trip-summary{grid-template-columns:repeat(3,minmax(160px,1fr));gap:8px;margin:0;display:grid}.moscow-trip-summary div{background:#fff;border:1px solid #f0e4dd;border-radius:8px;gap:4px;padding:10px;display:grid}.moscow-trip-summary dt{color:var(--color-text-muted);font-size:13px;font-weight:700}.moscow-trip-summary dd{margin:0;font-size:14px;font-weight:700}.moscow-calculation-fields{grid-template-columns:repeat(2,minmax(180px,1fr));gap:10px;display:grid}label{color:var(--color-text);gap:6px;font-size:15px;font-weight:700;display:grid}fieldset{border:0;margin:0;padding:0}legend{color:var(--color-text);margin-bottom:8px;font-weight:700}.full-width{grid-column:1/-1}.form-section{border:1px solid var(--color-border);background:#fffaf7;border-radius:8px;gap:10px;padding:12px;display:grid}.order-event-form{gap:10px;display:grid}.order-topline{border:1px solid var(--color-border);background:#fff6df;border-radius:8px;flex-wrap:nowrap;align-items:center;gap:18px;padding:8px 10px;display:flex;overflow-x:auto}.order-topline h3,.order-section h3{color:var(--color-text);letter-spacing:.04em;margin:0;font-size:15px;font-weight:700}.order-calculation-button{color:#fff;white-space:nowrap;background:#f39653;border-color:#ef8f5d;margin-left:auto;font-weight:600;box-shadow:0 6px 14px #f3965338}.order-topline-actions{align-items:center;gap:8px;margin-left:auto;display:inline-flex}.order-topline-actions .order-calculation-button,.order-topline-actions .order-documents-button{margin-left:0}.order-child-warning-row{background:#fff3f2;border:1px solid #d6192f52;border-radius:8px;flex-wrap:nowrap;justify-content:flex-start;align-items:center;gap:6px 4px;min-height:34px;padding:5px 4px;display:flex;overflow-x:auto}.order-child-warning-checkbox,.order-escort-checkbox{color:#9f1224;white-space:nowrap;width:auto;min-height:24px;font-size:14px;font-weight:700}.order-child-warning-checkbox input[type=checkbox],.order-escort-checkbox input[type=checkbox]{accent-color:#d6192f;width:17px;min-height:17px}:is(.order-child-warning-checkbox:has(input:checked),.order-escort-checkbox:has(input:checked)){color:#7f0d1a}.order-escort-checkbox{color:#7b244f}.order-escort-checkbox input[type=checkbox]{accent-color:#c91f66}.order-documents-button{color:var(--color-text);white-space:nowrap;background:#fff;border-color:#eadbd3;font-weight:600}.order-documents-button:hover,.order-documents-button:focus-visible{background:#fff1e8;border-color:#f0c7b5;outline:none}.order-calculation-button:hover,.order-calculation-button:focus-visible{color:#fff;background:#ef8543;border-color:#e8793e;outline:none}.repair-calculation-button{justify-self:start;margin-top:2px;margin-left:0}.order-calculation-indicator{color:#ffffffe0;font-size:14px;font-weight:400}.order-columns{grid-template-columns:minmax(0,1fr) minmax(0,1fr);align-items:start;gap:10px 18px;display:grid}.order-column{align-content:start;align-items:start;gap:10px;min-width:0;display:grid}.event-card-section{border:1px solid var(--color-border);background:#fffaf7;border-radius:8px;gap:10px;padding:10px;display:grid}.order-section{background:#fffaf7;gap:6px;padding:8px}.order-compact-grid,.order-date-grid,.order-customer-grid,.order-route-grid,.order-assignment-grid,.calculation-grid{gap:6px;display:grid}.order-compact-grid{grid-template-columns:repeat(3,minmax(0,1fr))}.order-assignment-grid{grid-template-columns:minmax(88px,112px) minmax(0,1fr) minmax(0,1fr) auto;align-items:end;gap:6px 8px}.order-assignment-grid label{gap:3px;min-width:0;font-weight:500}.order-assignment-grid select{border:1px solid var(--color-border);background:var(--color-card);border-radius:6px;min-height:34px;font-weight:400}.assignment-bus-field{grid-area:1/1;width:min(100%,112px)}.assignment-driver-field{grid-area:1/span 1}.assignment-remove-button{grid-area:1/4}.order-date-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.order-customer-grid{grid-template-columns:repeat(20,minmax(0,1fr))}.order-customer-short{grid-column:span 7}.order-customer-full{grid-column:span 13}.order-customer-contact,.order-customer-phone{grid-column:span 10}.order-route-header{flex-wrap:wrap;justify-content:space-between;align-items:center;gap:8px 14px;display:flex}.order-route-type-options{flex-wrap:wrap;align-items:center;gap:8px 14px;display:inline-flex}.order-route-type-option{min-width:0;color:var(--color-text);align-items:center;gap:5px;font-size:14px;font-weight:400;display:inline-flex}.order-route-type-option input[type=checkbox]{width:15px;height:15px;min-height:0;margin:0;padding:0}.order-route-grid{grid-template-columns:repeat(20,minmax(0,1fr));gap:5px 12px}.order-route-title{grid-column:span 7}.order-route-full-select{grid-column:span 13}.order-route-pickup-row,.order-route-additional-row,.order-route-arrival-row{grid-column:1/-1;grid-template-columns:minmax(0,1fr) minmax(112px,132px) 24px;align-items:end;gap:8px;min-width:0;display:grid}.order-route-additional-row{align-items:start}.order-route-add-address-button{grid-column:1/-1;justify-self:start;margin-top:2px;margin-bottom:4px}.order-route-pickup,.order-route-pickup-time,.order-route-additional-address,.order-route-additional-time,.order-route-arrival,.order-route-arrival-time{min-width:0}.order-route-remove-address{grid-area:1/3;align-self:start;margin-top:5px}.order-pickup-combobox,.order-route-memory-combobox,.order-route-full-combobox{min-width:0;display:block;position:relative}.order-route-memory-combobox>input,.order-route-full-combobox>input{padding-right:34px}.order-pickup-combobox>input{padding-right:58px}.order-field-clear-button{color:#9a8991;width:18px;min-height:18px;box-shadow:none;background:0 0;border:0;border-radius:50%;place-items:center;padding:0;display:grid;position:absolute;top:50%;right:31px;transform:translateY(-50%)}.order-field-clear-button:hover,.order-field-clear-button:focus-visible{color:var(--color-text);background:#ffffff80}.order-field-clear-button:disabled{opacity:0;pointer-events:none}.order-combobox-toggle-button{color:#7f626f;width:20px;min-height:20px;box-shadow:none;background:0 0;border:0;border-radius:6px;place-items:center;padding:0;display:grid;position:absolute;top:50%;right:7px;transform:translateY(-50%)}.order-combobox-toggle-button:hover,.order-combobox-toggle-button:focus-visible{color:var(--color-text);background:#fff1e8;outline:none}.order-combobox-toggle-button:disabled{opacity:.35;pointer-events:none}.order-pickup-options,.order-route-memory-options,.order-route-full-options{z-index:12;background:#fff;border:1px solid #e9c6b7;border-radius:6px;max-height:128px;display:grid;position:absolute;top:calc(100% + 3px);left:0;right:0;overflow:auto;box-shadow:0 10px 24px #21192324}.order-route-additional-address .order-pickup-options{top:auto;bottom:calc(100% + 3px)}.order-route-memory-options{width:100%;max-height:180px;left:0}.order-pickup-options button,.order-route-memory-options button,.order-route-full-options button{width:100%;min-height:30px;color:var(--color-text);text-align:left;background:#fff;border:0;border-bottom:1px solid #f4e4dc;border-radius:0;padding:6px 9px;font-size:14px;font-weight:400;line-height:1.25}.order-route-memory-options button{min-height:32px}.order-pickup-options button:last-child,.order-route-memory-options button:last-child,.order-route-full-options button:last-child{border-bottom:0}.order-pickup-options button:hover,.order-pickup-options button:focus-visible,.order-pickup-options button[aria-selected=true],.order-route-memory-options button:hover,.order-route-memory-options button:focus-visible,.order-route-memory-options button[aria-selected=true],.order-route-full-options button:hover,.order-route-full-options button:focus-visible,.order-route-full-options button[aria-selected=true]{background:#fff1e8;outline:none}.order-route-comment{grid-column:1/-1;gap:1px;display:grid}.order-route-comment-title{color:var(--color-text);font-size:14px;font-weight:700;line-height:1.1}.order-route-title,.order-route-full-select,.order-route-comment,.order-route-arrival,.order-route-arrival-time,.order-route-pickup,.order-route-pickup-time,.order-route-additional-address,.order-route-additional-time{min-width:0}.order-route-title input,.order-route-arrival input,.order-route-arrival-time input,.order-route-full-select input,.order-route-comment textarea,.order-route-additional-address input,.order-route-additional-time input,.order-route-pickup input,.order-route-pickup-time input,.order-route-pickup select{box-sizing:border-box;border:1px solid var(--color-border);background:var(--color-card);border-radius:6px;width:100%;max-width:100%;min-height:34px}.order-route-comment textarea{resize:vertical;min-height:24px;padding:2px 8px;line-height:1.25}.order-comment-field-box{border:1px solid var(--color-border);background:var(--color-card);border-radius:6px;width:100%;min-width:0;display:grid;overflow:hidden}.order-comment-field-box textarea{background:0 0;border:0;border-radius:0;padding:0 8px}.order-comment-attachments{flex-wrap:wrap;align-items:center;gap:2px 4px;min-width:0;min-height:0;padding:0 6px;display:flex}.order-comment-file-button{cursor:pointer;flex:none;align-items:center;gap:4px;min-height:24px;padding:2px 6px;font-size:13px;line-height:1.2;display:inline-flex}.order-comment-file-button:hover,.order-comment-file-button:focus-within{color:#6f5e68;background:#fffaf7b8}.order-comment-file-button input{clip:rect(0 0 0 0);clip-path:inset(50%);opacity:0;border:0;width:1px;height:1px;margin:-1px;position:absolute;overflow:hidden}.order-comment-attachment-list{flex-wrap:wrap;align-items:center;gap:4px;min-width:0;display:flex}.order-comment-attachment{background:#fffdfb;border:1px solid #d9c8bebf;border-radius:6px;grid-template-columns:minmax(0,1fr) 20px;align-items:center;gap:3px;max-width:170px;min-height:26px;padding:2px 3px;display:grid}.order-comment-attachment-preview{min-width:0;min-height:22px;color:var(--color-text);text-align:left;cursor:pointer;background:0 0;border:0;grid-template-columns:26px minmax(0,1fr);align-items:center;gap:5px;padding:0;font-size:12px;font-weight:600;text-decoration:none;display:grid}.order-comment-attachment-preview:hover span,.order-comment-attachment-preview:focus-visible span{color:var(--color-brand-coral)}.order-comment-attachment-preview:focus-visible{outline-offset:2px;outline:2px solid #f0c7b5}.order-comment-attachment img{object-fit:cover;border-radius:4px;width:26px;height:20px}.order-comment-attachment svg{color:var(--color-text-muted);justify-self:center}.order-comment-attachment span{text-overflow:ellipsis;white-space:nowrap;min-width:0;overflow:hidden}.order-comment-attachment>.file-save-button,.order-comment-attachment>.file-remove-button{background:0 0;border:0;width:20px;min-height:20px;padding:0}.order-schedule-comment-section{gap:0}.order-schedule-comment-grid{grid-template-columns:minmax(0,1fr) minmax(88px,104px);align-items:end;gap:8px;min-width:0;display:grid}.order-schedule-comment-grid label{min-width:0}.order-schedule-comment-input{width:100%;min-width:0;display:block;position:relative}.order-schedule-comment-input input{box-sizing:border-box;width:100%;max-width:100%;padding-right:30px}.order-schedule-comment-input button{color:#8d7b85;background:0 0;border:0;border-radius:999px;place-items:center;width:20px;height:20px;min-height:0;padding:0;display:grid;position:absolute;top:50%;right:7px;transform:translateY(-50%)}.order-schedule-comment-input button:hover:not(:disabled),.order-schedule-comment-input button:focus-visible:not(:disabled){color:var(--color-text);background:#80507414;outline:none}.order-schedule-comment-input button:disabled{cursor:default;opacity:0}.order-minimum-seats-field input{box-sizing:border-box;color:#693f00;background:#fff7e8;border-color:#efb36d;width:100%;max-width:100%;font-weight:600}.order-add-bus-button{justify-self:start;margin-top:2px}.order-quiet-button{color:#8d7b85;min-height:0;box-shadow:none;background:0 0;border-color:#0000;padding:3px 6px;font-size:14px;font-weight:400;line-height:1.2}.order-quiet-button:hover,.order-quiet-button:focus-visible{color:#6f5e68;background:#fffaf7b8;border-color:#0000;outline:none}.order-comment-file-button.order-quiet-button{min-height:0;padding:0 4px;font-size:13px;line-height:1}.compact-assignment-list{gap:6px}.order-assignment-card{box-shadow:none;background:0 0;border:0;border-radius:0;gap:6px;padding:0;display:grid}.order-assignment-card+.order-assignment-card{border-top:1px solid #f0e4dd;padding-top:6px}.order-modal .finance-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.absence-layout{grid-column:1/-1;grid-template-columns:repeat(2,minmax(0,1fr));align-items:stretch;gap:10px 18px;display:grid}.absence-column{align-content:stretch;align-items:stretch;gap:10px;min-width:0;height:100%;display:grid}.absence-detail-column{grid-template-rows:auto minmax(0,1fr)}.absence-detail-column .absence-comment-section{grid-template-rows:auto minmax(0,1fr);display:grid}.absence-detail-column .absence-comment-section textarea{height:100%;min-height:0}.absence-card-shell{grid-column:1/-1;gap:10px;min-width:0;display:grid}.absence-bus-section{grid-column:1/-1}.absence-bus-row{grid-template-columns:repeat(2,minmax(0,1fr));align-items:end;gap:10px 18px;display:grid}.absence-crew-checkbox{min-height:34px;color:var(--color-text);align-items:center;gap:7px;padding-bottom:2px;font-size:14px;font-weight:700;display:inline-flex}.absence-crew-checkbox input{width:16px;height:16px;margin:0}.absence-driver-panel{align-content:start;gap:10px}.absence-driver-select-row{grid-template-columns:minmax(0,1fr) 30px;align-items:end;gap:6px;display:grid}.absence-driver-clear-button{border:1px solid var(--color-border);width:30px;min-width:30px;min-height:34px;color:var(--color-text-muted);cursor:pointer;background:#fffdfb;border-radius:6px;justify-content:center;align-items:center;padding:0;display:inline-flex}.absence-driver-clear-button:hover:not(:disabled){color:var(--status-error);border-color:#b83f5c5c}.absence-driver-clear-button:disabled{cursor:default;opacity:.42}.absence-driver-subsection{gap:6px;min-width:0;display:grid}.absence-driver-subsection h3{color:var(--color-text-muted);margin:0;font-size:14px;font-weight:700}.absence-driver-columns{grid-template-columns:repeat(2,minmax(320px,1fr));align-items:start;gap:12px;min-width:0;display:grid}.absence-driver-card{align-content:start}.absence-driver-name{border:1px solid var(--color-border);min-height:34px;color:var(--color-text);background:#fffaf7;border-radius:6px;padding:7px 10px;font-weight:700}.absence-crew-list{gap:6px;display:grid}.absence-crew-inline{min-height:24px;color:var(--color-text);overflow-wrap:anywhere;flex-wrap:wrap;align-items:center;gap:6px;padding:2px 0;font-size:14px;font-weight:400;line-height:1.25;display:flex}.absence-inline-row{grid-template-columns:repeat(2,minmax(0,1fr));align-items:start;gap:6px 8px;display:grid}.absence-crew-inline span{color:#8d7b85;font-size:14px;font-weight:400;line-height:1.2}.absence-crew-inline .absence-stacked-label{text-align:right;line-height:1.05}.absence-crew-inline strong{color:var(--color-text);font-size:14px;font-weight:600;line-height:1.2}.absence-crew-chips{flex-wrap:wrap;gap:5px;min-width:0;display:flex}.absence-crew-chip,.absence-crew-add-button{max-width:100%;min-height:24px;color:var(--color-text);background:#fffdfb;border:1px solid #80507433;border-radius:6px;align-items:center;gap:4px;padding:3px 6px 3px 8px;font-size:13px;font-weight:500;line-height:1.15;display:inline-flex}.absence-crew-add-button,.absence-crew-chip button{cursor:pointer}.absence-crew-chip:hover,.absence-crew-add-button:hover{background:#fbf6f8;border-color:#8050745c}.absence-crew-chip>span{min-width:0;color:inherit;font-size:inherit;font-weight:inherit;text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.absence-crew-chip .searchable-select{width:92px}.absence-crew-chip select,.absence-crew-chip .searchable-select-input{border-radius:5px;width:92px;min-height:22px;padding:2px 18px 2px 6px;font-size:12px}.absence-crew-chip button{color:#8d7b85;background:0 0;border:0;justify-content:center;align-items:center;width:20px;height:20px;padding:0;display:inline-flex}.absence-crew-chips svg{color:#8d7b85;flex:none}.absence-crew-driver{background:#fffdfb;border:1px solid #8050742e;border-left:4px solid #80507480;border-radius:6px;grid-template-columns:minmax(82px,.42fr) minmax(0,1fr);align-items:center;gap:8px;min-height:32px;padding:5px 8px;display:grid}.absence-crew-driver span{color:var(--color-text-muted);text-transform:uppercase;font-size:12px;font-weight:700}.absence-crew-driver strong{min-width:0;color:var(--color-text);text-overflow:ellipsis;white-space:nowrap;font-size:15px;font-weight:700;overflow:hidden}.absence-card{height:100%}.absence-crew-top-row{grid-template-columns:repeat(2,minmax(0,1fr));align-items:end;gap:6px 8px;min-width:0;display:grid}.absence-crew-top-row label{min-width:0}.absence-crew-top-row label:only-child{grid-column:1/-1}.absence-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:6px;display:grid}.absence-date-time-block{gap:6px;min-width:0;display:grid}.absence-date-time-row{grid-template-columns:minmax(86px,.42fr) minmax(150px,1fr) minmax(112px,.62fr);align-items:end;gap:6px 8px;min-width:0;display:grid}.absence-date-time-row>span{color:var(--color-text);align-self:center;font-size:15px;font-weight:700}.absence-date-time-row input{width:100%;min-width:0}.absence-crew{flex-wrap:wrap;gap:8px;display:flex}.absence-driver-toggle{border:1px solid var(--color-border);background:#fffaf7;border-radius:6px;min-height:34px;padding:6px 10px}.absence-driver-picker{gap:8px;display:grid}.absence-driver-chips{flex-wrap:wrap;gap:6px;display:flex}.absence-driver-chips button{min-height:28px;color:var(--color-text);background:#fff6df;border:1px solid #8050743d;border-radius:999px;align-items:center;gap:5px;padding:0 8px;font-size:13px;font-weight:600;display:inline-flex}.calculation-grid{grid-template-columns:repeat(4,minmax(0,1fr))}.order-column .calculation-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.order-expenses-modal{width:min(1120px,95vw)}.order-documents-modal{width:min(1080px,95vw)}.order-crew-message-modal{width:min(880px,95vw)}.order-crew-message-toolbar{border:1px solid var(--color-border);background:#fff6df;border-radius:8px;justify-content:flex-start;align-items:center;margin-top:12px;padding:8px 10px;display:flex}.order-crew-message-header-actions{flex-wrap:wrap;justify-content:flex-end;gap:8px}.order-crew-message-header-actions button{white-space:nowrap;justify-content:center;align-items:center;gap:6px;display:inline-flex}.order-crew-message-header-actions .primary-button{border-color:var(--color-brand-coral);color:#fff;background:var(--color-brand-coral)}.order-crew-message-header-actions .primary-button:hover,.order-crew-message-header-actions .primary-button:focus-visible{color:#fff;background:#e85a5f;border-color:#e85a5f;outline:none}.order-crew-message-toolbar .check-row{min-height:24px;color:var(--color-text);font-size:14px;font-weight:700}.order-crew-message-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;margin-top:12px;display:grid}.order-crew-message-grid label{min-width:0}.order-crew-message-title-row{grid-template-columns:minmax(150px,.28fr) minmax(0,1fr);align-items:start;gap:8px;min-width:0;display:grid}.order-crew-message-grid input,.order-crew-message-grid textarea{border:1px solid var(--color-border);background:var(--color-card);border-radius:6px;width:100%;min-width:0}.order-crew-message-grid textarea{resize:vertical;min-height:72px}.order-crew-message-pickups{gap:6px;display:grid}.order-crew-message-pickup-row{grid-template-columns:minmax(116px,.36fr) minmax(0,1fr);gap:8px;min-width:0;display:grid}.order-crew-message-preview{gap:6px;margin-top:12px;display:grid}.order-crew-message-preview h3{color:var(--color-text);margin:0;font-size:15px;font-weight:700}.order-crew-message-preview-text{border:1px solid var(--color-border);min-height:118px;max-height:220px;color:var(--color-text);white-space:pre-wrap;overflow-wrap:anywhere;background:#fffaf7;border-radius:8px;margin:0;padding:10px;font-family:inherit;font-size:14px;line-height:1.45;overflow:auto}.order-crew-message-preview-row{display:block}.order-crew-message-preview-row+.order-crew-message-preview-row{margin-top:2px}.order-crew-message-preview-values{gap:2px;min-width:0;display:grid}.order-crew-message-preview-values span{overflow-wrap:anywhere}.order-crew-message-share-links{flex-wrap:wrap;gap:8px;margin-top:10px;display:flex}.order-crew-message-share-links a{border:1px solid var(--color-border);min-height:34px;color:var(--color-text);background:var(--color-card);border-radius:6px;justify-content:center;align-items:center;gap:6px;padding:0 10px;font-size:14px;font-weight:600;text-decoration:none;display:inline-flex}.order-crew-message-share-links a:hover,.order-crew-message-share-links a:focus-visible{background:#fff1e8;border-color:#f0c7b5;outline:none}.order-crew-message-status{color:var(--color-text-muted);margin:8px 0 0;font-size:14px;font-weight:600}.order-crew-message-actions{align-items:center;gap:8px;margin-top:12px}.order-crew-message-actions button{justify-content:center;align-items:center;gap:6px;display:inline-flex}.order-crew-message-actions .primary-button{border-color:var(--color-brand-coral);color:#fff;background:var(--color-brand-coral)}.order-crew-message-actions .primary-button:hover,.order-crew-message-actions .primary-button:focus-visible{color:#fff;background:#e85a5f;border-color:#e85a5f;outline:none}.partner-calculation-placeholder{min-height:160px}.modal-header-actions{align-items:center;gap:8px;display:inline-flex}.server-preview-inline-status{max-width:150px;color:var(--color-text-muted);text-overflow:ellipsis;white-space:nowrap;font-size:12px;font-weight:600;line-height:1.2;overflow:hidden}.server-preview-inline-status.is-error{color:#9d2f24}.event-unsaved-status{color:#8b6a58;white-space:nowrap;font-size:12px;font-weight:600;line-height:1.2}.order-calculation-layout{grid-template-columns:repeat(2,minmax(0,1fr));align-items:start;gap:8px 12px;display:grid}.order-calculation-left,.order-calculation-right{align-content:start;gap:8px;display:grid}.order-documents-layout{grid-template-columns:minmax(0,1fr) minmax(280px,.85fr);align-items:start;gap:12px;display:grid}.order-documents-left,.order-documents-right{flex-direction:column;gap:10px;min-width:0;display:flex}.order-contract-grid{gap:10px;display:grid}.order-contract-panel-header{grid-template-columns:minmax(0,1fr) 40px;align-items:center;gap:8px;display:grid}.order-contract-panel-header h3{min-width:0}.order-contract-import-button{cursor:pointer;justify-self:end;width:40px;height:40px}.order-contract-import-button[aria-disabled=true]{cursor:progress;opacity:.6}.order-contract-import-button input{display:none}.order-contract-top-row{grid-template-columns:minmax(0,.9fr) minmax(0,1.1fr);align-items:start;gap:10px;display:grid}.order-contract-top-row label{min-width:0}.order-contract-field{color:var(--color-text);gap:6px;font-size:15px;font-weight:500;display:grid}.order-contract-field strong{font-size:15px;line-height:1.25}.order-contract-field small{color:var(--color-text-muted);font-size:13px;font-weight:600}.order-contract-payment-textarea{min-height:98.5px;line-height:1.35}.order-contract-fixed-options{grid-template-columns:repeat(4,max-content);justify-content:start;gap:10px;display:grid}.order-contract-fixed-options .check-row{white-space:nowrap;min-width:0}.order-contract-generate{justify-content:center;gap:6px;min-height:34px;font-weight:600}.order-contract-template-links{gap:6px;display:grid}.order-contract-template-file{min-width:0;color:var(--color-brand-coral);align-items:center;gap:6px;font-size:14px;font-weight:700;text-decoration:none;display:inline-flex}.order-contract-template-file:hover,.order-contract-template-file:focus-visible{text-decoration:underline}.order-contract-template-links .order-contract-template-file{color:var(--color-text-muted);font-size:12px;font-weight:600}.order-contract-payment-row{grid-template-columns:minmax(150px,.8fr) minmax(240px,1.2fr);align-items:start;gap:10px;display:grid}.order-contract-payment-row .order-contract-field{min-width:0}.order-contract-payment-selects{gap:10px;min-width:0;display:grid}@media (width<=700px){.order-contract-payment-row,.order-contract-fixed-options{grid-template-columns:1fr}}.order-contract-clauses{gap:8px;display:grid}.order-contract-clauses>span{color:var(--color-text);font-size:15px;font-weight:700}.order-contract-clauses>div{gap:6px;display:grid}.order-contract-summary{gap:8px;margin:0;display:grid}.order-contract-summary div{grid-template-columns:minmax(120px,.8fr) minmax(0,1fr);align-items:start;gap:8px;display:grid}.order-contract-summary dt{color:var(--color-text-muted);font-size:13px}.order-contract-summary dd{min-width:0;margin:0;font-size:14px;font-weight:700}.order-contract-generate{color:var(--color-accent);background:#fff4ed;border-color:#f8703d59}.order-contract-generation-message{color:var(--color-text-muted);margin:0;font-size:14px;font-weight:600}.order-generated-contract-list{gap:10px;display:grid}.order-generated-contract{border:1px solid var(--color-border);background:#fffaf7;border-radius:8px;gap:6px;min-width:0;padding:10px;display:grid}.order-generated-contract-head{gap:2px;min-width:0;display:grid}.order-generated-contract-head>span,.order-generated-document-row{grid-template-columns:minmax(0,1fr) 38px 38px;align-items:center;gap:6px;min-width:0;display:grid}.order-generated-contract-head strong{color:var(--color-text);font-size:14px;line-height:1.2}.order-generated-contract small{min-width:0;color:var(--color-text-muted);overflow-wrap:anywhere;font-size:13px;font-weight:600}.order-generated-applications{gap:6px;min-width:0;padding-top:4px;display:grid}.order-generated-delete-button{width:38px;height:38px;color:var(--status-error)}.order-generated-replace-button{width:38px;height:38px;position:relative}.order-generated-replace-button[aria-disabled=true]{cursor:not-allowed;opacity:.55;pointer-events:none}.order-contract-import-button input,.order-generated-replace-button input{opacity:0;pointer-events:none;width:1px;height:1px;position:absolute;overflow:hidden}.order-add-application-button{justify-content:center;gap:5px}.order-documents-list-panel{min-height:190px}.order-expenses-panel{grid-column:1/-1}.order-expenses-split{grid-column:1/-1;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;display:grid}.order-calculation-panel-section{border:1px solid var(--color-border);background:#fffaf7;border-radius:8px;gap:10px;margin-top:0;padding:12px;display:grid}.order-calculation-panel-section h3{color:var(--color-text);margin:0;font-size:16px;font-weight:700}.order-expenses-modal .order-finance-grid,.order-documents-modal .order-finance-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:10px}.order-expenses-modal .compact-finance-grid,.order-documents-modal .compact-finance-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:4px 8px}.compact-finance-grid>label{grid-template-rows:24px 34px;align-items:end;gap:2px;min-width:0}.compact-finance-grid>label input,.compact-finance-grid>label select,.compact-finance-grid>label .money-input{box-sizing:border-box;width:100%;min-width:0}.compact-finance-grid>.finance-money-field{color:var(--color-text);font-weight:700}.compact-finance-grid>.finance-money-field .money-input input,.compact-finance-grid>.finance-money-field .money-input span{color:var(--color-text);font-weight:600}.order-expenses-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.order-general-info-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:6px;display:grid}.order-general-info-compact{grid-template-columns:repeat(4,minmax(0,1fr))}.order-expenses-compact-grid{grid-template-columns:repeat(5,minmax(0,1fr));gap:5px 8px}.order-fuel-grid{grid-template-columns:minmax(76px,.54fr) minmax(112px,.96fr) minmax(76px,.54fr) minmax(124px,.98fr)}.order-fuel-grid>label:first-child input,.order-fuel-grid>label:nth-child(3) input{padding-inline:6px}.add-extra-expense-button{min-height:30px;color:var(--color-text-muted);background:0 0;grid-column:1/-1;justify-self:start;padding-inline:10px;font-size:13px}.extra-expenses-list{grid-column:1/-1;gap:5px;display:grid}.extra-expense-row{grid-template-columns:minmax(110px,.7fr) minmax(0,1.3fr) auto;align-items:end;gap:8px;display:grid}.extra-expense-row label{grid-template-rows:24px 32px;font-size:12px}.extra-expense-row .money-input,.extra-expense-row input{min-height:32px}.final-calculation-layout{grid-template-columns:max-content minmax(120px,1fr);align-items:stretch;gap:12px;display:grid}.final-calculation-table{width:max-content;color:var(--color-text);background:#fff;border:1px solid #f0dfd5;border-radius:6px;font-size:13px;display:grid;overflow:hidden}.final-calculation-row{border-top:1px solid #f0dfd5;grid-template-columns:minmax(150px,1.1fr) minmax(110px,1fr);min-height:30px;display:grid}.final-calculation-row:first-child{border-top:0}.final-calculation-row>span,.final-calculation-row>strong{align-items:center;min-width:0;padding:3px 10px;display:flex}.final-calculation-row>span{color:var(--color-text-muted);text-align:right;background:#fff6f1;justify-content:flex-end;font-weight:500}.final-calculation-row>strong{border-left:1px solid #f0dfd5;justify-content:center;font-weight:600}.final-calculation-total{background:#fbede5}.final-calculation-total>span{color:var(--color-text);background:0 0;font-weight:700}.final-calculation-total>strong{font-weight:700}.final-profit-card{text-align:right;background:#fff6f1;border:1px solid #f0c7b5;border-radius:6px;align-content:center;justify-items:end;gap:4px;min-height:100%;padding:10px 12px;display:grid}.final-profit-card span{color:var(--color-text-muted);font-size:13px;font-weight:600}.final-profit-card strong{color:var(--color-text);font-size:18px;font-weight:800}.order-general-info-grid label{grid-template-rows:34px 34px;align-items:end;min-width:0;font-size:13px;line-height:1.2}.order-general-info-grid input{box-sizing:border-box;width:100%;min-width:0;min-height:34px;padding-inline:7px}.order-general-info-compact label{grid-template-rows:32px 32px;font-size:12px}.order-general-info-compact input{min-height:32px}.order-expenses-compact-grid label{grid-template-rows:28px 32px;font-size:12px}.order-expenses-compact-grid input,.order-expenses-compact-grid .money-input{min-height:32px}.order-expenses-compact-grid .money-input input{min-height:30px}.order-general-info-comment{grid-column:1/-1;grid-template-rows:auto 34px}.order-general-info-flags{grid-column:1/-1;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;display:grid}.order-general-info-review{align-items:center;min-height:34px;padding-top:0;display:flex}.order-general-info-review input{width:16px;min-height:16px;padding:0}.order-expenses-modal label{gap:4px;font-size:15px;font-weight:500}.order-expenses-modal input,.order-expenses-modal select{font-weight:400}.payroll-table .table-row{grid-template-columns:minmax(120px,1.2fr) repeat(8,minmax(84px,1fr))}.fuel-report-table .table-row{grid-template-columns:minmax(120px,1.1fr) repeat(6,minmax(118px,1fr))}.fuel-report-total-row{background:#fffaf7;font-weight:700}.fuel-report-total-row>span{font-weight:700}.counterparty-reports-modal{width:min(720px,100%)}.counterparty-report-choice-grid{grid-template-columns:repeat(2,minmax(180px,1fr));gap:14px;margin-top:18px;display:grid}.counterparty-report-choice-tile{min-height:88px;color:var(--color-text);text-align:center;background:#fff1e8;border:1px solid #f0c7b5;border-radius:8px;place-items:center;padding:16px;font-weight:700;display:grid;box-shadow:0 4px 10px #2119231f}.counterparty-report-choice-tile:hover:not(:disabled),.counterparty-report-choice-tile:focus-visible:not(:disabled){border-color:var(--color-brand-coral);background:#fff6df;outline:none;box-shadow:0 8px 18px #21192329}.counterparty-report-choice-tile:disabled{cursor:not-allowed;opacity:.52}.counterparty-finance-report-modal{width:min(1100px,100%)}.counterparty-finance-report-header{align-items:flex-start}.counterparty-finance-report-actions{flex-wrap:wrap;justify-content:flex-end;align-items:center;gap:8px;display:inline-flex}.counterparty-report-back-button{margin:0}.counterparty-tariff-row{background:#fffaf7;border:1px solid #f0dfd5;border-radius:8px;grid-template-columns:minmax(190px,240px) minmax(170px,220px) auto;align-items:end;gap:10px;margin-top:16px;padding:12px;display:grid}.counterparty-tariff-row label{min-width:0;color:var(--color-text-muted);gap:4px;font-size:14px;font-weight:700;display:grid}.counterparty-tariff-row .money-input,.counterparty-tariff-row .date-picker input{min-height:34px}.counterparty-action-row{flex-wrap:wrap;align-items:center;gap:10px;margin-top:8px;padding:0 12px;display:flex}.counterparty-fuel-entry-button,.counterparty-fuel-journal-button,.counterparty-payment-entry-button,.counterparty-payment-journal-button{white-space:nowrap;align-self:end;min-height:34px;padding:0 12px}.counterparty-fuel-journal-period-row{z-index:2;flex-wrap:wrap;align-items:end;gap:10px;margin-top:12px;display:flex;position:relative}.counterparty-fuel-journal-modal{overflow:visible}.counterparty-fuel-journal-modal .date-picker-popover{z-index:4000}.counterparty-fuel-journal-modal .counterparty-fuel-card-list-table{z-index:1;max-height:min(460px,100vh - 330px);position:relative}.counterparty-fuel-fillings-filter{background:#fffaf7;border:1px solid #f0dfd5;border-radius:8px;gap:10px;margin-top:12px;padding:10px 12px;display:grid}.counterparty-fuel-fillings-filter-dates{flex-wrap:wrap;align-items:end;gap:10px;display:flex}.counterparty-fuel-fillings-bus-filter{gap:6px;display:grid}.counterparty-fuel-fillings-filter-title{color:var(--color-text-muted);font-size:14px;font-weight:700}.counterparty-fuel-fillings-bus-list{flex-wrap:wrap;gap:6px;display:flex}.counterparty-fuel-fillings-bus-chip{min-height:30px;color:var(--color-text);cursor:pointer;font:inherit;background:#fff;border:1px solid #eadbd3;border-radius:999px;justify-content:center;align-items:center;padding:0 10px;font-size:13px;font-weight:700;display:inline-flex}.counterparty-fuel-fillings-bus-chip:hover,.counterparty-fuel-fillings-bus-chip:focus-visible{border-color:var(--color-brand-coral);background:#fff1e8;outline:none}.counterparty-fuel-fillings-bus-chip-selected{border-color:var(--color-brand-coral);color:var(--color-text);background:#fff1e8}.counterparty-fuel-card-list-table .counterparty-breakdown-row{grid-template-columns:110px minmax(160px,1fr) minmax(130px,.8fr) minmax(150px,.9fr)}.counterparty-fuel-card-list-row{width:100%;color:var(--color-text);cursor:pointer;font:inherit;text-align:left;background:#fff;border:0;border-top:1px solid #f0dfd5}.counterparty-fuel-card-list-row:hover,.counterparty-fuel-card-list-row:focus-visible{box-shadow:inset 3px 0 0 var(--color-brand-coral);background:#fffaf7;outline:none}.counterparty-fuel-card-list-row span{text-overflow:ellipsis;white-space:nowrap;min-width:0;overflow:hidden}.counterparty-fuel-card-list-total-row{color:var(--color-text);background:#fffaf7;border-top:2px solid #ead8ce;font-weight:800}.counterparty-fuel-card-list-total-row strong{font-size:15px}.counterparty-report-builder{background:#fff;border:1px solid #f0dfd5;border-radius:8px;margin-top:14px;padding:12px}.counterparty-report-builder h3{color:var(--color-text);margin:0;font-size:18px;line-height:1.2}.counterparty-report-builder-row{flex-wrap:wrap;align-items:end;gap:10px;margin-top:10px;display:flex}.counterparty-form-report-button,.counterparty-print-report-button{white-space:nowrap;justify-content:center;align-items:center;gap:6px;min-height:34px;padding:0 12px;display:inline-flex}.counterparty-period-control{width:min(320px,100%);min-width:0;color:var(--color-text-muted);gap:4px;font-size:14px;font-weight:700;display:grid}.counterparty-period-control .period-picker,.counterparty-period-control .date-picker{width:100%}.counterparty-period-control .date-picker input{width:100%;min-height:34px}.counterparty-period-control .period-trigger{justify-content:space-between;width:100%;min-width:0;min-height:34px;padding:0 10px;font-size:14px}.counterparty-report-builder .period-popover{z-index:90;gap:8px;width:min(360px,100vw - 40px);max-height:min(430px,100vh - 56px);padding:10px;position:fixed;inset:50% auto auto 50%;overflow:auto;transform:translate(-50%,-50%)}.counterparty-report-builder .payroll-period-grid{grid-template-columns:repeat(4,minmax(0,1fr));gap:6px}.counterparty-report-builder .payroll-period-card button{min-height:22px;padding:0 4px;font-size:11px}.counterparty-report-builder .year-switch button{width:28px;min-height:28px}.counterparty-report-builder .payroll-period-popover .range-picker{grid-template-columns:1fr;gap:6px;padding-top:8px}.counterparty-report-builder .payroll-period-popover .range-picker .primary-button{min-height:30px}.counterparty-price-history-button{min-height:34px;color:var(--color-text-muted);white-space:nowrap;background:#fff;border:1px solid #eadbd3;border-radius:6px;align-self:end;padding:0 10px;font-size:14px;font-weight:600}.counterparty-price-history-button:hover,.counterparty-price-history-button:focus-visible{color:var(--color-text);background:#fff1e8;border-color:#f0c7b5;outline:none}.counterparty-report-totals-table{background:#fff;border:2px solid #8791d8;border-radius:8px;margin-top:12px;display:grid;overflow:auto}.counterparty-report-totals-row{border-top:1px solid #d8ddf6;grid-template-columns:minmax(130px,.9fr) repeat(4,minmax(135px,1fr));min-width:760px;display:grid}.counterparty-report-totals-row:first-child{border-top:0}.counterparty-report-totals-row>*{min-height:44px;color:var(--color-text);text-align:right;border-left:1px solid #d8ddf6;justify-content:flex-end;align-items:center;padding:8px 10px;font-size:15px;font-weight:700;display:flex}.counterparty-report-totals-row>:first-child{text-align:left;border-left:0;justify-content:flex-start}.counterparty-report-totals-cell-button{cursor:pointer;width:100%;font:inherit;background:0 0;border-top:0;border-bottom:0;border-right:0;border-radius:0}.counterparty-report-totals-cell-button:hover,.counterparty-report-totals-cell-button:focus-visible{color:#27306a;background:#f7f8ff;outline:none}.counterparty-report-totals-row-label{font-weight:800}.counterparty-report-totals-head{background:#f4f6ff}.counterparty-report-totals-head>*{color:#38406f;min-height:36px;font-size:14px;font-weight:800}.counterparty-report-totals-balance-danger{color:#9e3127;background:#fff0ec}.counterparty-report-totals-balance-success{color:#226a3a;background:#eef8f1}.counterparty-breakdown-modal,.counterparty-print-report-modal{width:min(980px,100%)}.counterparty-print-report-sheet{color:var(--color-text);background:#fff;border:1px solid #eadbd3;border-radius:8px;gap:18px;margin-top:16px;padding:24px;display:grid}.counterparty-print-report-title{border-bottom:1px solid #f0dfd5;justify-content:space-between;align-items:flex-start;gap:16px;padding-bottom:14px;display:flex}.counterparty-print-report-title span{font-size:18px;font-weight:800}.counterparty-print-report-title strong{color:var(--color-text-muted);text-align:right;font-size:14px}.counterparty-print-report-summary{grid-template-columns:repeat(4,minmax(0,1fr));gap:10px;display:grid}.counterparty-print-report-summary-item{background:#fffaf7;border:1px solid #f0dfd5;border-radius:7px;gap:5px;min-height:66px;padding:10px;display:grid}.counterparty-print-report-summary-item span{color:var(--color-text-muted);font-size:12px;font-weight:800}.counterparty-print-report-summary-item strong{font-size:16px;font-weight:800}.counterparty-print-report-summary-item-danger{color:#9e3127;background:#fff0ec;border-color:#e2a39b}.counterparty-print-report-summary-item-success{color:#226a3a;background:#eef8f1;border-color:#a8d4b6}.counterparty-fuel-entry-modal{width:min(1040px,100%)}.counterparty-fuel-card-header-actions{justify-content:flex-end;align-items:center;gap:8px;display:inline-flex}.counterparty-fuel-card-file-button{cursor:pointer;position:relative}.counterparty-fuel-card-file-button input{opacity:0;cursor:pointer;width:100%;height:100%;position:absolute;inset:0}.counterparty-fuel-card-file-button[aria-disabled=true]{opacity:.55;pointer-events:none}.counterparty-fuel-card-attachments{gap:8px;margin-top:10px;display:grid}.counterparty-fuel-card-attachment-list{flex-wrap:wrap;align-items:center;gap:8px;display:flex}.counterparty-fuel-card-attachment{max-width:320px;color:var(--color-text);background:#f4f2ef;border:1px solid #dfd9d3;border-radius:7px;align-items:center;display:inline-flex}.counterparty-fuel-card-attachment a{min-width:0;color:inherit;align-items:center;gap:6px;padding:6px 8px;text-decoration:none;display:inline-flex}.counterparty-fuel-card-attachment a:hover,.counterparty-fuel-card-attachment a:focus-visible{color:var(--color-brand-coral)}.counterparty-fuel-card-attachment span{text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.counterparty-fuel-card-attachment .icon-button{width:28px;min-height:28px;color:var(--color-text-muted);margin-right:2px}.counterparty-fuel-card-attachments p{color:var(--color-text-muted);margin:0;font-size:13px;font-weight:600}.counterparty-payment-entry-modal{width:min(820px,100%)}.counterparty-fuel-fillings-modal,.counterparty-payments-modal{width:min(1120px,100%)}.counterparty-breakdown-actions{flex-wrap:wrap;justify-content:flex-end;align-items:center;gap:8px;display:inline-flex}.counterparty-breakdown-table{background:#fff;border:1px solid #f0dfd5;border-radius:8px;margin-top:16px;display:grid;overflow:auto}.counterparty-breakdown-row{border-top:1px solid #f0dfd5;align-items:center;gap:8px;min-width:720px;padding:8px;display:grid}.counterparty-breakdown-row:first-child{border-top:0}.counterparty-route-fuel-table .counterparty-breakdown-row{grid-template-columns:minmax(110px,.8fr) minmax(150px,1fr) minmax(100px,.8fr) minmax(130px,.8fr) minmax(130px,.8fr) 78px}.counterparty-route-fuel-row-excluded{opacity:.48;background:#f7f3f0}.counterparty-route-fuel-exclude-button{width:30px;height:30px}.counterparty-route-fuel-exclude-button:hover,.counterparty-route-fuel-exclude-button:focus-visible{color:var(--color-brand-coral);background:#fff1e8}.counterparty-route-fuel-summary{color:var(--color-text);background:#faf6f2;border:1px solid #ead8ce;border-radius:8px;gap:4px;margin-top:12px;padding:10px 12px;font-size:14px;line-height:1.35;display:grid}.counterparty-route-fuel-summary strong{font-size:15px}.counterparty-fuel-fillings-table .counterparty-breakdown-row{grid-template-columns:minmax(140px,1fr) minmax(110px,.7fr) minmax(120px,.8fr) minmax(120px,.8fr) minmax(120px,.8fr) minmax(150px,.9fr) minmax(150px,.8fr)}.counterparty-fuel-fillings-total-row{color:var(--color-text);background:#fffaf7;border-top:2px solid #ead8ce;font-weight:800}.counterparty-fuel-fillings-total-label{grid-column:1/4}.counterparty-fuel-fillings-total-value{font-size:15px}.counterparty-fuel-readonly-row{cursor:pointer}.counterparty-fuel-readonly-row:hover{background:#fff8f2}.counterparty-fuel-readonly-row-excluded{opacity:.48;background:#f7f3f0}.counterparty-fuel-readonly-row-excluded:hover{background:#f3ede8}.counterparty-fuel-report-toggle-button{justify-self:start;place-items:center;width:32px;min-height:30px;padding:0;display:inline-grid}.counterparty-fuel-entry-table .counterparty-breakdown-row{grid-template-columns:116px 124px 96px 160px 124px minmax(150px,1fr)}.counterparty-fuel-card-table .counterparty-breakdown-row{grid-template-columns:116px 124px 96px 160px 124px minmax(150px,1fr) 38px}.counterparty-fuel-entry-table .counterparty-breakdown-row>span:last-child,.counterparty-fuel-card-table .counterparty-breakdown-row>span:nth-last-child(2){text-align:center;justify-self:center}.counterparty-fuel-entry-table .counterparty-breakdown-row:not(.counterparty-breakdown-head)>:focus-within,.counterparty-fuel-card-table .counterparty-breakdown-row:not(.counterparty-breakdown-head)>:focus-within,.counterparty-fuel-entry-table .counterparty-breakdown-row:not(.counterparty-breakdown-head)>input:focus{background:#fff8f2;border-radius:7px;box-shadow:0 0 0 3px #ef6b6133}.counterparty-fuel-entry-add-button:focus,.counterparty-fuel-entry-add-button:focus-visible{border-color:var(--color-brand-coral);background:#fff8f2;outline:none;box-shadow:0 0 0 3px #ef6b6133}.counterparty-payment-entry-table .counterparty-breakdown-row{grid-template-columns:minmax(140px,.9fr) minmax(130px,.8fr) minmax(118px,.7fr) minmax(150px,1fr) minmax(220px,1.4fr)}.counterparty-payment-entry-table{overflow:visible}.counterparty-liters-input{display:block;position:relative}.counterparty-date-text-input,.counterparty-time-text-input{box-sizing:border-box;border:1px solid var(--color-border);background:var(--color-card);text-align:center;border-radius:6px}.counterparty-bus-total-cell{gap:3px;min-width:0;display:grid}.counterparty-liters-input input{box-sizing:border-box;border:1px solid var(--color-border);background:var(--color-card);border-radius:6px;width:100%;min-height:34px}.counterparty-liters-input-with-total input{padding-right:92px}.counterparty-liters-total-badge{max-width:84px;color:var(--color-text-muted);pointer-events:none;text-align:right;text-overflow:ellipsis;white-space:nowrap;background:#f7eee8;border-radius:999px;padding:3px 6px;font-size:11px;font-weight:700;line-height:1.2;position:absolute;top:50%;right:8px;overflow:hidden;transform:translateY(-50%)}.counterparty-liters-input input:focus{border-color:var(--color-brand-coral);outline:none;box-shadow:0 0 0 3px #ef6b612e}.counterparty-fuel-duplicate-warning{color:#6f4b12;background:#fff8e8;border:1px solid #f1c27d;border-radius:8px;grid-template-columns:minmax(0,1fr) auto;align-items:start;gap:8px;margin-top:12px;padding:10px 12px;font-size:14px;line-height:1.35;display:grid}.counterparty-fuel-duplicate-warning-text{gap:2px;min-width:0;display:grid}.counterparty-fuel-duplicate-close{color:#6f4b12;cursor:pointer;background:0 0;border:0;border-radius:6px;justify-content:center;align-items:center;width:24px;height:24px;display:inline-flex}.counterparty-fuel-duplicate-close:hover,.counterparty-fuel-duplicate-close:focus-visible{background:#6f4b121a;outline:none}.counterparty-fuel-duplicate-row{background:#fff8e8}.counterparty-payments-table .counterparty-breakdown-row{grid-template-columns:minmax(140px,.9fr) minmax(130px,.8fr) minmax(118px,.7fr) minmax(150px,1fr) minmax(220px,1.4fr) 78px}.counterparty-payment-row-actions{justify-content:flex-end;align-items:center;gap:6px;display:inline-flex}.counterparty-breakdown-head{color:var(--color-text-muted);background:#fff1e8;font-size:14px;font-weight:700}.counterparty-breakdown-row .date-picker input,.counterparty-breakdown-row .money-input,.counterparty-breakdown-row input,.counterparty-breakdown-row select{width:100%;min-height:34px}.counterparty-breakdown-row input:focus,.counterparty-breakdown-row select:focus{border-color:var(--color-brand-coral);outline:none}.counterparty-breakdown-row>span{min-width:0}.counterparty-breakdown-empty{color:var(--color-text-muted);margin:0;padding:14px;font-weight:600}.counterparty-fuel-entry-footer{flex-wrap:wrap;justify-content:space-between;align-items:center;gap:10px;margin-top:14px;display:flex}.counterparty-fuel-entry-save-actions{justify-content:flex-end;align-items:center;gap:8px;display:inline-flex}.counterparty-finance-table .table-row{grid-template-columns:minmax(260px,1fr)}.counterparty-finance-empty-row{background:#fffaf7}.counterparty-finance-empty-row>span{min-height:96px;color:var(--color-text-muted);font-weight:600}.counterparty-price-history-modal{width:min(760px,100%)}.counterparty-price-history-table{background:#fff;border:1px solid #f0dfd5;border-radius:8px;margin-top:16px;display:grid;overflow:auto}.counterparty-price-history-row{border-top:1px solid #f0dfd5;grid-template-columns:minmax(150px,1fr) minmax(150px,1fr) minmax(160px,1fr) 46px;align-items:center;gap:8px;min-width:620px;padding:8px;display:grid}.counterparty-price-history-row:first-child{border-top:0}.counterparty-price-history-head{color:var(--color-text-muted);background:#fff1e8;font-size:14px;font-weight:700}.counterparty-price-history-row .money-input,.counterparty-price-history-row .date-picker input{min-height:34px}.counterparty-price-history-delete-button{color:#9e3127;justify-self:center;width:34px;min-height:34px}.counterparty-price-history-delete-button:hover,.counterparty-price-history-delete-button:focus-visible{background:#fff1e8;border-color:#f0c7b5}.counterparty-price-history-empty{color:var(--color-text-muted);margin:0;padding:14px;font-weight:600}.payroll-report-header{align-items:flex-start;gap:16px}.report-period-control{flex:none}.stable-report-frame{min-height:140px;position:relative}.stable-report-frame-content{position:relative}.stable-report-frame-pending .stable-report-frame-content{opacity:.72;pointer-events:none;-webkit-user-select:none;user-select:none}.stable-report-frame-message{text-align:center;place-items:center;min-height:140px;margin:0;display:grid;position:absolute;inset:0}.stable-report-refresh-status{z-index:1;color:var(--color-text-muted);background:#fffaf7eb;border-radius:4px;padding:3px 6px;font-size:12px;line-height:1.2;position:absolute;top:-4px;right:0}.stable-report-refresh-status.is-error{color:#9d2f24;background:#fff2eff5}.control-warnings-panel{min-height:140px;position:relative}.driver-report-header{align-items:flex-start;gap:16px}.driver-report-panel{box-sizing:border-box;width:min(1100px,100%);max-width:1100px;margin-inline:auto}.driver-report-save-button,.driver-report-print-button{height:38px;min-height:38px;color:var(--color-text);background:#fffaf7;border:1px solid #eadbd3;border-radius:6px;justify-content:center;align-items:center;gap:6px;font-size:14px;font-weight:500;display:inline-flex}.driver-report-save-button{white-space:nowrap;padding:0 12px}.driver-report-print-button{width:38px;min-width:38px;padding:0}.driver-report-save-button:disabled{cursor:default;opacity:.45}.driver-report-save-button:not(:disabled):hover,.driver-report-save-button:not(:disabled):focus-visible,.driver-report-print-button:hover,.driver-report-print-button:focus-visible{background:#fff1e8;border-color:#d7b9aa;outline:none}.payroll-report-panel{box-sizing:border-box;width:100%;max-width:none;min-height:min(660px,100vh - 280px);margin-inline:0}.driver-report-controls{grid-template-columns:auto minmax(180px,240px) auto auto;align-items:end;gap:10px;display:grid}.driver-report-controls label{color:var(--color-text-muted);gap:4px;font-size:14px;font-weight:500;display:grid}.driver-report-controls select,.driver-report-controls .searchable-select-input{font-size:15px}.driver-report-list{gap:12px;margin-top:14px;display:grid}.driver-report-card{background:var(--color-card);border:1px solid #f0dcd2f2;border-radius:8px;grid-template-columns:minmax(0,1.5fr) minmax(230px,.9fr) minmax(220px,.75fr);align-items:start;gap:12px;padding:14px;display:grid}.driver-report-card-head{grid-column:1/-1;justify-content:space-between;align-items:flex-start;gap:12px;display:flex}.driver-report-title-line{flex-wrap:wrap;align-items:center;gap:8px 12px;display:flex}.driver-report-card-head h3{color:var(--color-text);margin:0;font-size:18px;line-height:1.2}.driver-report-title-line>span{min-height:26px;color:var(--color-text-muted);background:#fffaf7;border:1px solid #f0dfd5;border-radius:6px;align-items:center;padding:3px 9px;font-size:14px;font-weight:500;line-height:1.2;display:inline-flex}.driver-report-card-head p{color:var(--color-text-muted);margin:4px 0 0;font-size:14px}.driver-report-tabs{flex-wrap:wrap;gap:8px;margin-top:8px;display:flex}.driver-report-tabs button{min-height:34px;color:var(--color-text);background:#fffaf7;border-color:#eadbd3;border-radius:6px;padding:0 12px;font-weight:500}.driver-report-tabs button.active{color:var(--color-text);background:#fff1e8;border-color:#d7b9aa}.driver-report-total{text-align:right;background:#fff3eb;border-radius:6px;gap:4px;min-width:132px;padding:8px 10px;display:none}.driver-report-total span,.driver-report-summary span,.driver-report-payroll-row span{color:var(--color-text-muted);font-size:14px}.driver-report-total strong{color:var(--color-text);font-size:18px}.driver-report-summary{grid-area:2/2;grid-template-columns:1fr;gap:6px;display:grid}.driver-report-summary>div{background:#fffaf7;border:1px solid #f0dfd5;border-radius:6px;align-content:center;gap:4px;min-height:48px;padding:7px 9px;display:grid}.driver-report-summary strong{color:var(--color-text);font-size:15px}.driver-report-accrual-table{background:#fff;border:1px solid #f0dfd5;border-radius:6px;grid-area:2/2;display:grid;overflow:hidden}.driver-report-accrual-row{border-top:1px solid #f0dfd5;grid-template-columns:minmax(126px,1fr) minmax(92px,.8fr);min-height:36px;display:grid}.driver-report-accrual-row:first-child{border-top:0}.driver-report-accrual-row>span,.driver-report-accrual-row>strong,.driver-report-accrual-value{color:var(--color-text);align-items:center;padding:5px 7px;font-size:14px;line-height:1.25;display:flex}.driver-report-accrual-row>span{text-align:right;justify-content:flex-end}.driver-report-accrual-row>strong,.driver-report-accrual-value{white-space:nowrap;border-left:1px solid #f0dfd5;justify-content:flex-end}.driver-report-accrual-total span,.driver-report-accrual-total strong{font-weight:700}.driver-report-accrual-subrow span{font-size:14px;font-weight:400}.driver-report-accrual-deduction span,.driver-report-accrual-deduction strong,.driver-report-accrual-deduction .payroll-matrix-money-input input,.driver-report-accrual-deduction .payroll-matrix-money-input span{color:var(--status-error)}.driver-report-accrual-debt-balance{min-height:24px}.driver-report-accrual-debt-balance span,.driver-report-accrual-debt-balance strong{color:var(--status-error);background:#f5eee9;padding-top:3px;padding-bottom:3px;font-size:12px;font-weight:400}.driver-report-accrual-value{padding:2px}.driver-report-accrual-carryover span{font-size:13px}.driver-report-accrual-carryover strong.positive{color:var(--status-warning)}.driver-report-accrual-carryover strong.negative{color:var(--status-success)}.driver-report-accrual-muted>span,.driver-report-accrual-muted>strong{background:#f5eee9}.driver-report-accrual-small{min-height:28px}.driver-report-accrual-small>span,.driver-report-accrual-small>strong{padding-top:3px;padding-bottom:3px;font-size:14px}.driver-report-card .payroll-matrix-money-input input,.driver-report-card .payroll-matrix-money-input span{font-size:14px}.driver-report-payment-panel{background:#fffdfb;border:1px solid #f0dfd5;border-radius:6px;grid-area:2/3;grid-template-columns:1fr;gap:8px;padding:10px;display:grid}.driver-report-payment-fields{grid-template-columns:1fr;align-items:end;gap:7px;display:grid}.driver-report-payment-fields label{min-width:0;color:var(--color-text-muted);gap:4px;font-size:14px;font-weight:500;display:grid}.driver-report-payment-fields textarea{resize:none;min-height:58px;line-height:1.3;overflow:hidden}.driver-report-payment-result{order:-1;grid-template-columns:1fr;gap:8px;display:grid}.driver-report-payment-result>div,.driver-report-payment-balance{background:#fff3eb;border-radius:6px;align-content:center;gap:4px;min-height:48px;padding:7px 10px;display:grid}.driver-report-payment-result span,.driver-report-payment-balance span{color:var(--color-text-muted);font-size:14px}.driver-report-payment-result strong,.driver-report-payment-balance strong{color:var(--color-text);font-size:16px}.driver-report-payment-result strong.positive{color:var(--status-warning)}.driver-report-payment-result strong.negative{color:var(--status-success)}.driver-report-payment-balance strong.positive{color:var(--status-warning)}.driver-report-payment-balance strong.negative{color:var(--status-success)}.driver-report-debt-panel{background:#fffdfb;border:1px solid #f0dfd5;border-radius:6px;grid-area:2/1/auto/-1;grid-template-columns:1fr;align-items:start;gap:10px;padding:10px;display:grid}.driver-report-debt-overview,.driver-report-debt-deductions{gap:8px;min-width:0;display:grid}.driver-report-debt-deductions{background:#fffaf7;border:1px solid #f0dfd5;border-radius:6px;padding:10px}.driver-report-debt-head{justify-content:space-between;align-items:flex-start;gap:12px;display:flex}.driver-report-debt-head h4{color:var(--color-text);margin:0;font-size:14px;font-weight:700;line-height:1.2}.driver-report-debt-head>div{text-align:right;gap:2px;display:grid}.driver-report-debt-head span,.driver-report-debt-summary,.driver-report-debt-form label,.driver-report-debt-list p,.driver-report-debt-list small,.driver-report-debt-deductions p,.driver-report-deduction-row small{color:var(--color-text-muted);font-size:14px}.driver-report-debt-head strong{color:var(--color-text);font-size:15px}.driver-report-debt-head strong.positive{color:var(--status-warning)}.driver-report-debt-head strong.negative{color:var(--status-success)}.driver-report-debt-summary{flex-wrap:wrap;gap:12px;display:flex}.driver-report-debt-form{grid-template-columns:minmax(130px,.75fr) minmax(130px,.75fr) minmax(220px,1.2fr) auto;align-items:end;gap:6px;display:grid}.driver-report-debt-form label{gap:3px;min-width:0;font-weight:600;display:grid}.driver-report-debt-form input,.driver-report-debt-form .money-input{min-height:32px}.inline-add-button{min-height:32px;color:var(--color-text-muted);white-space:nowrap;background:0 0;padding-inline:9px;font-size:14px}.inline-add-button:hover:not(:disabled),.inline-add-button:focus-visible:not(:disabled){color:var(--color-brand-coral);border-color:var(--color-brand-coral);background:#fff7f0}.driver-report-debt-list{gap:5px;display:grid}.driver-report-debt-list>strong,.driver-report-debt-deductions>strong{color:var(--color-text);font-size:14px}.driver-report-debt-list p,.driver-report-debt-deductions p{margin:0}.driver-report-debt-table{background:#fff;border:1px solid #f0dfd5;border-radius:6px;display:grid;overflow:hidden}.driver-report-debt-table>p{color:var(--color-text-muted);margin:0;padding:10px;font-size:14px}.driver-report-debt-table-row{border-top:1px solid #f0dfd5;grid-template-columns:minmax(70px,.55fr) minmax(104px,.78fr) minmax(180px,1.45fr) minmax(104px,.78fr) minmax(118px,.86fr) 86px;min-height:34px;display:grid}.driver-report-debt-table-row:first-child{border-top:0}.driver-report-debt-table-row>span,.driver-report-debt-table-row>b,.driver-report-debt-table-row>small,.driver-report-debt-table-row>strong,.driver-report-debt-deducted-cell{min-width:0;color:var(--color-text);background:0 0;border:0;border-left:1px solid #f0dfd5;align-items:center;padding:6px 8px;font-size:14px;line-height:1.2;display:flex}.driver-report-debt-table-row>span:first-child{border-left:0}.driver-report-debt-table-row>b,.driver-report-debt-table-row>strong,.driver-report-debt-deducted-cell{white-space:nowrap;justify-content:center;font-weight:400}.driver-report-debt-table-row>small{color:var(--color-text);text-align:center;text-overflow:ellipsis;white-space:nowrap;justify-content:center;overflow:hidden}.driver-report-debt-table-row>span{text-align:center;justify-content:center}.driver-report-debt-actions{justify-content:center;gap:5px}.driver-report-debt-actions button{width:26px;min-width:26px;min-height:26px;color:var(--color-text-muted);place-items:center;padding:0;line-height:1;display:inline-grid}.driver-report-debt-actions button:hover,.driver-report-debt-actions button:focus-visible{color:var(--color-brand-coral)}.driver-report-debt-actions .driver-report-debt-delete-button{color:var(--status-error);background:#fff7f4;border-color:#efb8a8}.driver-report-debt-actions .driver-report-debt-delete-button:hover,.driver-report-debt-actions .driver-report-debt-delete-button:focus-visible{border-color:var(--status-error);color:#fff;background:var(--status-error)}.driver-report-debt-deducted-cell{cursor:pointer}.driver-report-debt-deducted-cell:hover,.driver-report-debt-deducted-cell:focus-visible{color:var(--color-brand-coral);outline:none}.driver-report-debt-table-head{background:#fbede5;font-weight:700}.driver-report-debt-table-head>span{color:var(--color-text);text-align:center;justify-content:center}.driver-report-debt-history-row{background:#fffaf7;border:1px solid #f0dfd5;border-radius:5px;grid-template-columns:50px minmax(70px,auto) minmax(0,1fr) auto;align-items:center;gap:5px;min-width:0;padding:4px 5px;display:grid}.driver-report-debt-history-row span,.driver-report-debt-history-row b{color:var(--color-text);font-size:14px}.driver-report-debt-history-row b{white-space:nowrap;justify-self:end}.driver-report-debt-history-row small{text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.driver-report-debt-history-row .driver-report-debt-paid-status{color:var(--status-success);font-weight:600}.driver-report-debt-paid-status{color:var(--status-success)!important;font-weight:700!important}.driver-report-debt-history-row button{width:24px;height:24px;color:var(--color-text-muted);padding:0}.driver-report-deduction-table{background:#fff;border:1px solid #f0dfd5;border-radius:6px;display:grid;overflow:hidden}.driver-report-deduction-row{border-top:1px solid #f0dfd5;grid-template-columns:minmax(82px,1fr) minmax(118px,1fr);min-height:34px;display:grid}.driver-report-deduction-row:first-child{border-top:0}.driver-report-deduction-row>span,.driver-report-deduction-row>b,.driver-report-deduction-row>small{min-width:0;color:var(--color-text);border-left:1px solid #f0dfd5;align-items:center;padding:5px 7px;font-size:14px;line-height:1.25;display:flex}.driver-report-deduction-row>span:first-child{border-left:0}.driver-report-deduction-row>b{white-space:nowrap;justify-content:flex-end;font-weight:600}.driver-report-deduction-row>small{text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.driver-report-deduction-head{background:#fbede5;font-weight:700}.driver-report-deduction-balance-row{background:#fff6df;font-weight:700}.driver-debt-history-modal{width:min(460px,100vw - 32px)}.driver-debt-history-header-actions{align-items:center;gap:8px;display:flex}.driver-debt-history-print-button{width:38px;min-width:38px;height:38px;min-height:38px;color:var(--color-text);background:#fffaf7;border:1px solid #eadbd3;border-radius:6px;justify-content:center;align-items:center;gap:6px;padding:0;font-size:14px;font-weight:500;display:inline-flex}.driver-debt-history-print-button:hover,.driver-debt-history-print-button:focus-visible{background:#fff1e8;border-color:#d7b9aa;outline:none}.driver-debt-history-summary{color:var(--color-text-muted);background:#fff3eb;border-radius:6px;justify-content:space-between;align-items:center;gap:12px;margin-bottom:10px;padding:8px 10px;font-size:14px;display:flex}.driver-debt-history-summary strong{color:var(--color-text);white-space:nowrap}.driver-report-events-table{background:#fff;border:1px solid #f0dfd5;border-radius:6px;grid-area:2/1/span 3;display:grid;overflow:hidden}.driver-report-events-row{border-top:1px solid #f0dfd5;grid-template-columns:minmax(104px,.62fr) minmax(0,1.12fr) minmax(98px,.55fr);min-height:36px;display:grid}.driver-report-events-row>:nth-child(2){display:none}.driver-report-events-row:first-child{border-top:0}.driver-report-events-row>span,.driver-report-events-row>strong,.driver-report-events-money-cell{min-width:0;color:var(--color-text);border-left:1px solid #f0dfd5;align-items:center;padding:6px 8px;font-size:14px;display:flex}.driver-report-events-row>span:first-child{white-space:nowrap;border-left:0}.driver-report-events-row>strong,.driver-report-events-money-cell{white-space:nowrap;justify-content:flex-end;font-weight:400}.driver-report-events-money-cell{gap:2px;padding:2px}.driver-report-events-money-cell .payroll-matrix-money-input{min-width:0}.driver-report-mechanic-reset{width:24px;height:24px;color:var(--color-text-muted);cursor:pointer;background:#fff;border:1px solid #e9c6b7;border-radius:4px;flex:0 0 24px;justify-content:center;align-items:center;padding:0;display:inline-flex}.driver-report-mechanic-reset:hover,.driver-report-mechanic-reset:focus-visible{border-color:var(--color-primary);color:var(--color-primary);outline:none}.driver-report-events-head{background:#fbede5;font-weight:700}.driver-report-events-head>span{color:var(--color-text)}.driver-report-events-empty{color:var(--color-text-muted);padding:12px;font-size:14px}.driver-report-payroll-table{border:1px solid #f0dfd5;border-radius:6px;grid-area:3/2;display:grid;overflow:hidden}.driver-report-payroll-row{border-top:1px solid #f0dfd5;grid-template-columns:minmax(140px,1fr) minmax(96px,130px);min-height:32px;display:grid}.driver-report-payroll-row:first-child{border-top:0}.driver-report-payroll-row span,.driver-report-payroll-row strong{align-items:center;padding:6px 8px;display:flex}.driver-report-payroll-row strong{color:var(--color-text);border-left:1px solid #f0dfd5;justify-content:flex-end;font-size:13px}@media (width<=900px){.driver-report-card{grid-template-columns:1fr}.driver-report-events-table,.driver-report-tabs,.driver-report-summary,.driver-report-accrual-table,.driver-report-debt-panel,.driver-report-payment-panel,.driver-report-payroll-table{grid-area:auto/1}.driver-report-controls,.driver-report-summary,.driver-report-debt-panel,.driver-report-debt-form,.driver-report-payment-panel,.driver-report-payment-fields,.driver-report-events-row{grid-template-columns:1fr}.driver-report-events-row>span,.driver-report-events-row>strong,.driver-report-events-money-cell{border-top:1px solid #f0dfd5;border-left:0}.driver-report-events-row>span:first-child{border-top:0}.driver-report-card-head{display:grid}.driver-report-total{text-align:left;width:100%}}.payroll-matrix-shell{background:var(--color-card);border:1px solid #f0dcd2f2;border-radius:8px;width:100%;max-width:100%;margin-top:14px;padding-bottom:16px;overflow:auto}.payroll-matrix{width:max-content;min-width:max-content;display:grid}.payroll-matrix-row{grid-template-columns:124px repeat(var(--payroll-columns), 86px);display:grid}.payroll-matrix-row>div{min-height:32px;color:var(--color-text);text-align:center;border-bottom:1px solid #ead8cf;border-right:1px solid #ead8cf;justify-content:center;align-items:center;padding:5px 6px;font-size:12px;line-height:1.15;display:flex}.payroll-matrix-row>div:last-child{border-right:0}.payroll-matrix-row:last-child>div{border-bottom:0}.payroll-matrix-corner,.payroll-matrix-label{z-index:2;position:sticky;left:0}.payroll-matrix-corner{background:#fffaf7}.payroll-matrix-label{text-align:left;background:#fffaf7;justify-content:flex-start;font-size:13px;font-weight:700}.payroll-right-label-row .payroll-matrix-label{text-align:right;justify-content:flex-end}.payroll-matrix-bus{background:#fffaf7;min-height:24px;font-size:11px;font-weight:700}.payroll-matrix-bus-row>div{min-height:22px;padding-top:2px;padding-bottom:2px;font-size:11px}.payroll-matrix-driver{text-transform:none;text-overflow:ellipsis;white-space:nowrap;background:#fffdfb;min-height:36px;font-size:14px;font-weight:700;overflow:hidden}.payroll-matrix-driver-row>.payroll-matrix-driver{color:#171019;min-height:36px;padding-top:4px;padding-bottom:4px;font-size:14px;font-weight:700}.payroll-matrix-driver-row>.payroll-matrix-driver-own{background:#ffe9dc}.payroll-matrix-driver-row>.payroll-matrix-driver-temporary{background:#fffdfb}.payroll-matrix-driver-open{cursor:pointer}.payroll-matrix-driver-open:hover{color:var(--color-brand-coral)}.payroll-matrix-value{white-space:nowrap;background:#fff;font-weight:400}.payroll-matrix-total-header{font-weight:700}.payroll-bus-color-0,.payroll-bus-color-1,.payroll-bus-color-2,.payroll-bus-color-3,.payroll-bus-color-4,.payroll-bus-color-5,.payroll-bus-color-empty{background:#ffe9dc}.payroll-temporary-color{background:#fffaf7}.payroll-deduction-row .payroll-matrix-label,.payroll-deduction-row .payroll-matrix-value,.payroll-deduction-row .payroll-matrix-money-input input,.payroll-deduction-row .payroll-matrix-money-input span{color:var(--status-error)}.payroll-carryover-row .payroll-matrix-label{font-size:10px}.payroll-carryover-row .payroll-matrix-value.positive{color:var(--status-warning)}.payroll-carryover-row .payroll-matrix-value.negative{color:var(--status-success)}.payroll-transfer-row .payroll-matrix-value.positive{color:var(--status-warning)}.payroll-transfer-row .payroll-matrix-value.negative{color:var(--status-success)}.payroll-payout-row .payroll-matrix-label,.payroll-payout-row .payroll-matrix-value,.payroll-paid-row .payroll-matrix-label,.payroll-paid-row .payroll-matrix-value,.payroll-transfer-row .payroll-matrix-label,.payroll-transfer-row .payroll-matrix-value{background:#fff6df}.payroll-payout-row .payroll-matrix-label,.payroll-total-row .payroll-matrix-label{font-weight:700}.payroll-right-label-row .payroll-matrix-label,.payroll-comment-row .payroll-matrix-label,.payroll-muted-row .payroll-matrix-label{text-align:right;justify-content:flex-end;font-size:11px;font-weight:400}.payroll-payout-row .payroll-matrix-label,.payroll-payout-row .payroll-matrix-value,.payroll-total-row .payroll-matrix-label,.payroll-total-row .payroll-matrix-value{font-weight:700}.payroll-thirteenth-row .payroll-matrix-label,.payroll-thirteenth-row .payroll-matrix-value,.payroll-muted-row .payroll-matrix-label,.payroll-muted-row .payroll-matrix-value{background:#f5eee9}.payroll-small-row .payroll-matrix-label,.payroll-small-row .payroll-matrix-value{min-height:20px;padding-top:2px;padding-bottom:2px;font-size:11px}.payroll-comment-row .payroll-matrix-label,.payroll-comment-row .payroll-matrix-value{background:#fff6df;min-height:22px}.payroll-comment-row .payroll-matrix-value{padding:2px}.payroll-comment-input{width:100%;min-width:0;min-height:20px;color:var(--color-text);text-align:center;background:0 0;border:1px solid #0000;border-radius:4px;padding:1px 4px;font-size:11px;line-height:1.2}.payroll-comment-input:hover,.payroll-comment-input:focus{background:#fff;border-color:#e9c6b7;outline:none}.payroll-manual-money-row .payroll-matrix-value{padding:2px}.payroll-matrix-money-input{background:0 0;border:1px solid #0000;border-radius:4px;grid-template-columns:minmax(0,1fr) auto;align-items:center;width:100%;min-height:26px;display:grid}.payroll-matrix-money-input:focus-within,.payroll-matrix-money-input:hover{background:#fff;border-color:#e9c6b7}.payroll-matrix-money-input input{width:100%;min-width:0;min-height:24px;color:var(--color-text);text-align:center;background:0 0;border:0;padding:2px 1px 2px 4px;font-size:12px;font-weight:400;line-height:1.2}.payroll-matrix-money-input input:focus{outline:none}.payroll-matrix-money-input span{color:var(--color-text-muted);padding:0 4px 0 2px;font-size:12px;font-weight:400}.payroll-matrix-money-input .payroll-debt-tooltip{text-align:left;grid-template-columns:1fr;width:max-content}.payroll-matrix-money-input .payroll-debt-tooltip strong{color:var(--color-text);padding:0;font-size:14px;font-weight:700}.payroll-matrix-money-input .payroll-debt-tooltip span{color:var(--color-text-muted);padding:0;font-size:13px;font-weight:400}.payroll-summary-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;font-size:14px;font-weight:600;display:grid}@media print{@page{size:A4 portrait;margin:7mm}*{-webkit-print-color-adjust:exact;print-color-adjust:exact}html,body{background:#fff;width:auto;min-height:auto;font-size:11px;line-height:1.2}.app-shell{min-height:auto;display:block}.sidebar,.toolbar,.back-button,.driver-report-controls,.driver-report-tabs,.driver-report-save-button,.driver-report-print-button,.schedule-hover-tooltip{display:none!important}.workspace{padding:8mm 0 0}.driver-report-panel{background:#fff;border:0;width:100%;max-width:none;margin:0;padding:0}.driver-report-header{margin-bottom:5px;display:block}.driver-report-header h2{color:var(--color-text);font-size:16px;line-height:1.15}.driver-report-list{gap:0;margin-top:5px}.driver-report-card{break-inside:avoid;page-break-inside:avoid;box-shadow:none;border-color:#d9c8be;border-radius:6px;grid-template-columns:minmax(0,1fr) minmax(0,.76fr);align-items:start;gap:6px;padding:8px;display:grid}.driver-report-card,.driver-report-debt-panel,.driver-report-payment-panel,.driver-report-accrual-table,.driver-report-events-table{background:#fff}.driver-report-card-head{grid-column:1/-1;gap:6px}.driver-report-title-line{gap:5px 8px}.driver-report-card-head h3{font-size:14px;line-height:1.15}.driver-report-title-line>span{min-height:20px;padding:2px 6px;font-size:10px}.driver-report-card-head p{margin-top:2px;font-size:10px}.driver-report-events-table{grid-area:2/1/auto/-1}.driver-report-accrual-table{grid-area:3/1}.driver-report-payment-panel{border-radius:5px;grid-area:3/2;gap:5px;padding:6px}.driver-report-events-row{grid-template-columns:minmax(82px,.42fr) minmax(0,1.35fr) minmax(74px,.42fr);min-height:20px}.driver-report-events-row>span,.driver-report-events-row>strong,.driver-report-events-money-cell{padding:3px 5px;font-size:9.5px;line-height:1.12}.driver-report-accrual-row{grid-template-columns:minmax(106px,1fr) minmax(78px,.72fr);min-height:20px}.driver-report-accrual-row>span,.driver-report-accrual-row>strong,.driver-report-accrual-value{padding:3px 5px;font-size:9.5px;line-height:1.12}.driver-report-accrual-subrow span,.driver-report-accrual-small>span,.driver-report-accrual-small>strong{font-size:9.5px}.driver-report-accrual-carryover span{font-size:8.5px}.driver-report-card .payroll-matrix-money-input{min-height:18px}.driver-report-card .payroll-matrix-money-input input{min-height:18px;padding:1px 0 1px 3px}.driver-report-card .payroll-matrix-money-input input,.driver-report-card .payroll-matrix-money-input span{font-size:9.5px}.driver-report-payment-fields{gap:4px}.driver-report-payment-fields label{gap:2px;font-size:10px}.driver-report-payment-fields input,.driver-report-payment-fields textarea,.driver-report-payment-fields .money-input{min-height:24px;font-size:10px}.driver-report-payment-result>div,.driver-report-payment-balance{border-radius:5px;min-height:36px;padding:5px 7px}.driver-report-payment-result span,.driver-report-payment-balance span{font-size:10px}.driver-report-payment-result strong,.driver-report-payment-balance strong{font-size:12px}.driver-report-debt-panel{grid-area:2/1/auto/-1;grid-template-columns:minmax(0,.9fr) minmax(0,1.1fr);gap:6px;padding:6px}.driver-report-debt-deductions{padding:6px}.driver-report-debt-head h4,.driver-report-debt-head strong,.driver-report-debt-list>strong,.driver-report-debt-deductions>strong{font-size:11px}.driver-report-debt-head span,.driver-report-debt-summary,.driver-report-debt-form label,.driver-report-debt-list p,.driver-report-debt-list small,.driver-report-debt-deductions p,.driver-report-deduction-row small,.driver-report-debt-history-row span,.driver-report-debt-history-row b,.driver-report-deduction-row>span,.driver-report-deduction-row>b,.driver-report-deduction-row>small{font-size:9.5px}.driver-report-debt-form input,.driver-report-debt-form .money-input{min-height:22px}.inline-add-button,.driver-report-debt-history-row button{display:none}.driver-report-debt-history-row,.driver-report-deduction-row{min-height:22px}body:has(.driver-debt-history-modal) .workspace{padding:10mm 0 0}:is(body:has(.driver-debt-history-modal) .driver-report-panel,body:has(.driver-debt-history-modal) .driver-report-list,body:has(.driver-debt-history-modal) .driver-report-card){width:100%;box-shadow:none;border:0;margin:0;padding:0;display:block}:is(body:has(.driver-debt-history-modal) .driver-report-panel>:not(.driver-report-list),body:has(.driver-debt-history-modal) .driver-report-card>:not(.nested-modal-backdrop)){display:none!important}body:has(.driver-debt-history-modal) .nested-modal-backdrop{background:#fff;padding:0;display:block;position:static}body:has(.driver-debt-history-modal) .driver-debt-history-modal{width:100%;max-height:none;box-shadow:none;border:0;border-radius:0;padding:0 4mm;overflow:visible}body:has(.driver-debt-history-modal) .driver-debt-history-header-actions{display:none!important}body:has(.driver-debt-history-modal) .driver-debt-history-modal .modal-actions{display:none!important}body:has(.driver-debt-history-modal) .driver-debt-history-modal .modal-header{border-bottom:1px solid #f0dfd5;margin-bottom:10px;padding-bottom:8px}body:has(.driver-debt-history-modal) .driver-debt-history-modal .caption{margin-bottom:3px;font-size:10px}body:has(.driver-debt-history-modal) .driver-debt-history-modal .modal-header h2{font-size:18px;line-height:1.25}body:has(.driver-debt-history-modal) .driver-debt-history-summary{margin-bottom:10px;padding:8px 10px;font-size:11px}body:has(.driver-debt-history-modal) .driver-report-deduction-row{min-height:28px}:is(body:has(.driver-debt-history-modal) .driver-report-deduction-row>span,body:has(.driver-debt-history-modal) .driver-report-deduction-row>b){padding:5px 8px;font-size:10.5px}}.payroll-manual-row{grid-template-columns:repeat(2,minmax(0,1fr));align-items:end;gap:8px;display:grid}.payroll-manual-row label{min-width:0}.payroll-minimum-value{background:0 0;align-content:end;gap:4px;min-height:58px;padding:0 0 6px;display:grid}.payroll-minimum-value span{color:var(--color-text-muted);font-size:13px;font-weight:500}.payroll-minimum-value strong{color:var(--color-text-muted);font-size:13px;font-weight:400}.payroll-driver-matrix{color:var(--color-text);background:#fff;border:1px solid #f0dfd5;border-radius:6px;margin-top:6px;font-size:13px;line-height:1.2;display:grid;overflow:hidden}.payroll-driver-matrix-row{border-top:1px solid #f0dfd5;align-items:stretch;min-height:28px;display:grid}.payroll-driver-matrix-row:first-child{border-top:0}.payroll-driver-matrix-row>span{border-left:1px solid #f0dfd5;align-items:center;min-width:0;min-height:28px;padding:2px 10px;display:flex}.payroll-driver-matrix-row>span:first-child{border-left:0}.payroll-driver-matrix-row>span:not(.payroll-driver-matrix-label){text-align:center;justify-content:center}.payroll-driver-matrix-head{color:var(--color-text);text-align:center;background:#fbede5;font-size:14px;font-weight:700}.payroll-driver-matrix-head>span{justify-content:center}.payroll-driver-matrix-label{color:var(--color-text-muted);text-align:right;background:#fff6f1;justify-content:flex-end;font-weight:500}.payroll-driver-matrix-total{background:#fbede5;font-weight:700}.payroll-driver-matrix-total .payroll-driver-matrix-label{background:0 0}.payroll-driver-matrix-total .payroll-driver-matrix-label,.payroll-total-cell{align-content:center;gap:1px;display:grid}.payroll-driver-matrix-row>.payroll-total-cell{justify-items:center;display:grid}.payroll-driver-matrix-total small{color:var(--color-text-muted);font-size:11px;font-weight:400;line-height:1.1}.payroll-driver-matrix .money-input{width:min(86px,100%);min-height:24px;font-size:12px}.payroll-driver-matrix .money-input input{text-align:center;min-height:22px;padding:2px 3px 2px 6px;font-size:12px}.payroll-driver-matrix .money-input span{padding-inline:4px 6px;font-size:12px}.payroll-driver-checkbox{justify-content:center}.payroll-driver-checkbox input{width:16px;height:16px;min-height:16px;margin:0;padding:0}.payroll-bottom-row{justify-content:space-between;align-items:flex-end;gap:10px;margin-top:8px;display:flex}.payroll-bus-totals{color:var(--color-text-muted);flex:none;gap:4px;font-size:14px;font-weight:400;display:grid}.payroll-bus-totals span{white-space:nowrap}.payroll-report-transfer{flex:auto;justify-content:flex-end;align-items:center;gap:6px;min-width:190px;min-height:40px;margin-left:auto;display:flex}.payroll-report-transfer-button{color:#9a4d28;text-align:center;white-space:normal;background:#fff4ee;border-color:#d96c47;grid-auto-rows:min-content;align-content:center;place-items:center;gap:1px;width:104px;min-height:40px;padding:5px 8px;font-size:13px;font-weight:700;line-height:1.05;display:inline-grid}.payroll-report-transfer-button span{width:100%;display:block}.payroll-report-transfer-button:hover{background:#ffe9dc;border-color:#c85e3c}.payroll-report-transfer-button.is-active{color:#23653a;background:#f1fbf4;border-color:#b9dcc4}.payroll-report-transfer-status{color:#258047;white-space:nowrap;justify-content:flex-end;align-items:center;gap:4px;min-width:86px;font-size:12px;font-weight:700;line-height:1;display:inline-flex}.payroll-report-transfer-status.is-placeholder{visibility:hidden}.payroll-transfer-button{white-space:normal;color:#fff;background:#d96c47;border-color:#d96c47;min-height:38px;padding-inline:14px;font-size:14px}.payroll-transfer-button:hover{background:#c85e3c;border-color:#c85e3c}.payroll-work-days,.repair-payroll-block{gap:8px;display:grid}.repair-main-section{gap:10px}.repair-driver-payroll-grid{grid-template-columns:minmax(88px,112px) minmax(0,1fr) minmax(0,1fr) auto;align-items:center;gap:8px;display:grid}.repair-payroll-row-title{color:var(--color-text);font-size:15px;font-weight:700}.repair-payroll-money-field,.repair-work-type-field{min-width:0}.repair-calculation-summary{border:1px solid var(--color-border);min-height:34px;color:var(--color-text-muted);background:#fff;border-radius:6px;justify-content:space-between;align-items:center;gap:12px;padding:6px 8px;font-size:14px;font-weight:700;display:flex}.repair-calculation-summary strong{color:var(--color-text);font-size:15px}.payroll-work-day-row,.repair-payroll-row,.settings-rate-row{grid-template-columns:minmax(120px,1fr) minmax(120px,1fr) auto;align-items:end;gap:8px;display:grid}.repair-payroll-row{grid-template-columns:minmax(120px,.9fr) minmax(160px,1.2fr) minmax(110px,.8fr) auto}.repair-payroll-block h4{margin:4px 0 0;font-size:15px}.payroll-driver-table .table-row{grid-template-columns:minmax(120px,1.2fr) repeat(4,minmax(80px,1fr))}.payroll-driver-table input{width:100%}.settings-payroll-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:14px;display:grid}.settings-payroll-grid section{align-content:start;gap:10px;display:grid}.settings-payroll-grid h3{margin:0;font-size:16px}.settings-payroll-grid label{gap:4px;display:grid}.settings-rate-add-button{justify-self:start}.schedule-payroll-total{color:#286437;background:#f2fbf3;border-radius:6px;margin-top:4px;padding:2px 5px;font-size:12px;font-weight:700;display:inline-flex}.order-section-toggle{min-height:38px;color:var(--color-text);letter-spacing:.04em;background:0 0;border:0;justify-content:space-between;align-items:center;padding:0;font-weight:700;display:flex}.order-modal label{gap:3px;font-size:15px;font-weight:500}.order-modal input,.order-modal select{min-height:34px;padding:0 8px;font-size:14px;font-weight:400;line-height:1.35}.order-modal textarea,.order-modal input::placeholder,.order-modal textarea::placeholder,.order-modal .check-row{font-weight:400}.order-modal .money-input{min-height:34px}.order-modal .money-input input{min-height:32px}.readonly-money{background:#fdfbf9}.readonly-money input{color:var(--color-text-muted)}.event-card-section h3,.assignment-card h4{color:var(--color-text);margin:0;font-weight:700}.order-status-section{background:#fff6df;justify-content:space-between;align-items:center;gap:10px;min-height:46px;padding:8px 10px;display:flex}.status-checkbox-grid{flex-wrap:wrap;align-items:center;gap:8px 14px;display:flex}.date-time-grid{grid-template-columns:repeat(2,minmax(260px,1fr));gap:10px;display:grid}.date-time-grid fieldset,.date-time-field{border:1px solid var(--color-border);background:var(--color-card);border-radius:8px;gap:8px;padding:8px 10px;display:grid}.date-time-pair{grid-template-columns:minmax(150px,1fr) minmax(120px,.8fr);gap:8px;display:grid}.route-points{gap:10px;display:grid}.assignment-card{border:1px solid var(--color-border);background:var(--color-card);border-radius:8px;gap:10px;padding:12px;display:grid}.assignment-card-header{justify-content:space-between;align-items:center;gap:12px;display:flex}.driver-select-with-clear>span>button:not(.searchable-select-arrow),.assignment-remove-button{border:1px solid var(--color-border);min-height:34px;color:var(--color-text-muted);background:var(--color-card);border-radius:6px;padding:0 10px;font-weight:400}.driver-select-with-clear>span{display:block;position:relative}.driver-select-with-clear .searchable-select-input{width:100%;padding-right:58px}.driver-select-with-clear>span>button:not(.searchable-select-arrow){color:#9a8991;width:18px;min-height:18px;box-shadow:none;background:0 0;border:0;border-radius:50%;place-items:center;padding:0;display:grid;position:absolute;top:50%;right:34px;transform:translateY(-50%)}.driver-select-with-clear>span>button:not(.searchable-select-arrow):hover,.driver-select-with-clear>span>button:not(.searchable-select-arrow):focus-visible{color:var(--color-text);background:#ffffff80}.driver-select-with-clear>span>button:not(.searchable-select-arrow):disabled{opacity:0;pointer-events:none}.assignment-remove-button{color:#9a8991;width:24px;min-height:24px;box-shadow:none;background:0 0;border:0;border-radius:5px;align-self:end;place-items:center;padding:0;display:inline-grid}.assignment-remove-button:hover,.assignment-remove-button:focus-visible{color:#6f5e68;background:#fffaf7d1;outline:none}.finance-grid{grid-template-columns:repeat(2,minmax(150px,1fr));align-items:end;gap:10px;display:grid}.expenses-button{border-color:var(--color-brand-coral);color:#fff;background:var(--color-brand-coral);min-height:34px;padding:0 12px}.expenses-button:hover,.expenses-button:focus-visible{background:#e85a5f;border-color:#e85a5f;outline:none}.compatibility-select{clip:rect(0 0 0 0);clip-path:inset(50%);opacity:0;pointer-events:none;border:0;width:1px;height:1px;min-height:1px;margin:-1px;padding:0;position:fixed;overflow:hidden}.bus-editor{flex-direction:column;gap:14px;min-width:0;margin-top:10px;display:flex}.bus-editor-top-columns{grid-template-columns:minmax(0,1fr) minmax(0,1fr);align-items:stretch;gap:16px;min-width:0;display:grid}.bus-form-general{min-height:100%}.bus-editor-right-column{grid-template-rows:auto auto auto minmax(0,1fr);gap:14px;min-width:0;display:grid}.bus-form-section{border:1px solid var(--color-border);background:#fffaf7;border-radius:8px;flex-direction:column;gap:10px;min-width:0;padding:10px;display:flex}.bus-form-section legend{color:var(--color-text-muted);letter-spacing:0;margin:0;padding:0;font-size:14px;font-weight:700}.bus-general-grid,.bus-document-grid,.bus-drivers-grid{align-items:end;gap:10px;min-width:0;display:grid}.bus-document-grid,.bus-drivers-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.bus-form-drivers .bus-drivers-grid{grid-template-columns:minmax(130px,.72fr) repeat(2,minmax(0,1fr))}.bus-driver-assignment-editor{grid-template-columns:minmax(0,1fr) minmax(0,1fr) minmax(138px,.8fr);gap:8px;display:grid}.bus-driver-info{flex-direction:column;gap:10px;display:flex}.bus-driver-info-current,.bus-driver-history-list{flex-direction:column;gap:6px;min-width:0;display:flex}.bus-driver-info-name,.bus-driver-history-row{box-sizing:border-box;background:#fff;border:1px solid #efd8cc;border-radius:6px;width:100%}.bus-driver-info-name,.bus-driver-history-name{color:var(--color-text);font:inherit;text-align:left;cursor:pointer;font-weight:400}.bus-driver-info-name{justify-content:space-between;gap:10px;padding:7px 9px;display:flex}.bus-driver-info-name small{color:var(--color-text-muted);white-space:nowrap}.bus-driver-history-row{grid-template-columns:minmax(0,1fr) 88px 112px;align-items:center;gap:8px;padding:6px 8px;line-height:1.2;display:grid}.bus-driver-history-name{background:0 0;border:0;padding:0}.bus-driver-history-row span{color:var(--color-text-muted)}.bus-driver-info-empty,.driver-history-readonly-value{color:var(--color-text-muted);margin:0;font-size:13px;font-weight:400}.driver-bus-assignment-history-row{grid-template-columns:minmax(92px,.75fr) minmax(112px,.9fr) minmax(130px,1fr) minmax(0,1fr) auto}.bus-general-grid{grid-template-columns:repeat(12,minmax(0,1fr));align-items:stretch;gap:8px}.bus-photo-compact{grid-area:3/1/auto/7}.bus-scheme-field{grid-area:3/7/auto/13}.bus-year-field{grid-area:4/1/auto/4}.bus-vin-field{grid-area:4/4/auto/13}.bus-registration-certificate-field{grid-area:5/1/auto/-1}.bus-registration-field{grid-area:1/1/auto/4}.bus-number-field{grid-area:1/4/auto/6}.bus-model-field{grid-area:1/6/auto/11}.bus-seats-field{grid-area:1/11/auto/13}.bus-type-field{grid-area:2/1/auto/5}.bus-owner-field{grid-area:2/5/auto/9}.bus-licensee-field{grid-area:2/9/auto/13}.bus-number-field input,.bus-registration-field input,.bus-seats-field input{min-height:32px}.bus-seats-field input{text-align:left}.bus-photo-compact .bus-photo-preview{grid-template-columns:126px minmax(0,1fr);gap:10px}.bus-photo-compact .bus-photo-preview img{width:126px;height:78px}.bus-photo-compact,.bus-scheme-field{grid-template-rows:auto 34px minmax(58px,1fr)}.bus-photo-compact .bus-photo-preview,.bus-photo-compact .file-note,.bus-scheme-field .bus-file-preview,.bus-scheme-field .file-note{min-height:58px}.bus-photo-compact .file-note,.bus-scheme-field .file-note{color:#9a8991;align-items:center;font-size:13px;font-weight:400;line-height:1.2;display:flex}.bus-pending-file-note{justify-content:space-between;gap:8px;min-width:0}.bus-pending-file-note>span{overflow-wrap:anywhere}.bus-pending-file-note .file-remove-button{flex:none;width:28px;min-height:28px;padding:0}.bus-save-error{margin-right:auto}.bus-card-full{grid-column:1/-1}.bus-editor label{box-sizing:border-box;gap:4px;width:100%;min-width:0;font-size:14px}.bus-editor input,.bus-editor select{box-sizing:border-box;width:100%;min-width:0;min-height:34px;font-weight:400}.bus-editor textarea{box-sizing:border-box;width:100%;min-width:0;min-height:54px;max-height:76px;font-weight:400}.bus-comment-section,.customer-comment-section{gap:8px}.customer-comment-section{grid-column:1/-1}.driver-comment-section{gap:8px}.bus-comment-section h3,.customer-comment-section h3,.driver-comment-section h3{color:var(--color-text-muted);margin:0;font-size:14px;font-weight:700}.driver-card-section h3,.customer-card-section h3,.bus-form-section legend,.bus-comment-section h3,.customer-comment-section h3,.driver-comment-section h3,.order-topline h3,.order-section h3,.event-card-section h3,.assignment-card h4,.order-calculation-panel-section h3,.moscow-trip-leg h3,.moscow-trip-leg-block legend,.form-section legend,.date-time-field legend,.date-time-grid legend{color:var(--color-text-muted);letter-spacing:0;text-transform:uppercase;margin:0;font-size:14px;font-weight:700}.event-modal label,.event-modal .moscow-trip-start-field,.event-modal .moscow-trip-end-field,.event-modal .moscow-trip-arrival-label,.event-modal .south-route-select,.event-modal .south-date-time-grid label,.event-modal .order-route-comment-title,.event-modal .absence-date-time-row>span,.event-modal .moscow-trip-summary dt{color:var(--color-text-muted);letter-spacing:0;text-transform:none;font-size:14px;font-weight:500;line-height:1.25}.event-modal .order-topline h3,.event-modal .order-section h3,.event-modal .event-card-section h3,.event-modal .assignment-card h4,.event-modal .order-calculation-panel-section h3,.event-modal .moscow-trip-leg h3,.event-modal .moscow-trip-leg-block legend,.event-modal .moscow-comment-section h3,.event-modal .form-section legend,.event-modal .date-time-field legend,.event-modal .date-time-grid legend{color:var(--color-text)}.bus-comment-section textarea,.customer-comment-section textarea,.driver-comment-section textarea{min-height:54px;max-height:76px}.bus-editor-actions{border-top:1px solid var(--color-border);margin-top:2px;padding-top:10px}.bus-editor-actions button{border:1px solid var(--color-border);min-height:34px;color:var(--color-text);background:var(--color-card);border-radius:6px;padding:0 10px;font-weight:400}.bus-editor-actions .primary-button{border-color:var(--color-brand-coral);color:#fff;background:var(--color-brand-coral);font-weight:700}.bus-photo-field{min-width:0}.bus-photo-preview{grid-template-columns:92px 1fr;align-items:center;gap:10px;min-width:0;display:grid}.bus-photo-preview img{object-fit:cover;width:92px;height:58px;box-shadow:0 0 0 1px var(--color-border);border-radius:6px}.bus-photo-preview button{border:1px solid var(--color-border);background:var(--color-card);border-radius:6px;justify-self:start;width:28px;min-height:28px;padding:0;font-weight:400}.bus-file-preview{grid-template-columns:126px minmax(0,1fr);align-items:center;gap:10px;min-width:0;display:grid}.bus-file-preview img{object-fit:cover;width:126px;height:78px;box-shadow:0 0 0 1px var(--color-border);border-radius:6px}.bus-file-preview svg{color:var(--color-text-muted);justify-self:center}.bus-file-preview span{overflow-wrap:anywhere;color:var(--color-text-muted);font-size:14px;font-weight:400}.bus-file-preview button{border:1px solid var(--color-border);background:var(--color-card);border-radius:6px;width:28px;min-height:28px;padding:0;font-weight:400}.file-remove-button{color:var(--color-text-muted);place-items:center;display:inline-grid}.file-save-button{border:1px solid var(--color-border);color:var(--color-text-muted);background:var(--color-card);border-radius:6px;place-items:center;text-decoration:none;display:inline-grid}.file-save-button:hover,.file-save-button:focus-visible,.file-remove-button:hover,.file-remove-button:focus-visible{color:var(--color-text);background:#fff1e8;border-color:#f0c7b5;outline:none}.assignment-list{gap:10px;display:grid}.assignment-row{grid-template-columns:minmax(160px,1.2fr) minmax(150px,1fr) minmax(150px,1fr) auto;align-items:end;gap:10px;display:grid}.assignment-row button{border:1px solid var(--color-border);background:var(--color-card);border-radius:6px;min-height:38px;padding:0 10px}.assignment-row button:disabled{cursor:not-allowed;opacity:.5}.compact-button{justify-self:start}.order-modal .compact-button{font-weight:600}.order-modal .order-quiet-button{font-weight:400}input,select,textarea{border:1px solid var(--color-border);min-height:38px;color:var(--color-text);background:var(--color-card);border-radius:6px;padding:0 10px;font-weight:400}.bus-select-option-own{color:var(--color-text);background:#eaf6ee}input.field-error,select.field-error,textarea.field-error{border-color:var(--status-error);background:#fff4f1;box-shadow:0 0 0 3px #ef6b6129}.money-input{border:1px solid var(--color-border);background:var(--color-card);border-radius:6px;grid-template-columns:minmax(0,1fr) auto;align-items:center;min-height:38px;display:grid;position:relative}.money-input-has-calculator{grid-template-columns:minmax(0,1fr) 24px auto}.money-input:focus-within{border-color:var(--color-brand-coral);box-shadow:0 0 0 3px #ef6b612e}.money-input input{background:0 0;border:0;width:100%;min-width:0;min-height:36px}.money-input input:focus{outline:none}:where([data-enter-navigation-root],.modal,.dictionary-editor) :is(input:not([type=checkbox]):not([type=radio]),select,textarea,[contenteditable=true]):focus{border-color:var(--color-brand-coral);outline-offset:1px;outline:2px solid #ef6b61c7;box-shadow:0 0 0 4px #ef6b6124}:where([data-enter-navigation-root],.modal,.dictionary-editor) :is(input[type=checkbox],input[type=radio]):focus{outline:2px solid var(--color-brand-coral);outline-offset:3px;box-shadow:0 0 0 5px #ef6b6124}:where([data-enter-navigation-root],.modal,.dictionary-editor) :is(label,.payroll-driver-checkbox):has(:is(input[type=checkbox],input[type=radio]):focus){color:var(--color-text);background:#fff1e8b8}:where([data-enter-navigation-root],.modal,.dictionary-editor) .money-input input:focus{box-shadow:none;outline:none}:where([data-enter-navigation-root],.modal,.dictionary-editor) :is([data-enter-navigation-save],[data-order-save-button],[data-customer-field=save],[data-driver-field=save],[data-bus-field=save]):focus{outline:2px solid var(--color-brand-coral);outline-offset:2px;box-shadow:0 0 0 4px #ef6b6124}.money-input span{color:var(--color-text-muted);padding-right:10px;font-size:14px;font-weight:400}.money-calculator-toggle{color:#9a8991;width:22px;min-height:22px;box-shadow:none;background:0 0;border:0;border-radius:5px;place-items:center;padding:0;display:grid}.money-calculator-toggle:hover,.money-calculator-toggle:focus-visible{color:var(--color-brand-coral);background:#fff1e8}.money-input .money-calculator-popover{z-index:18;background:#fff;border:1px solid #e9c6b7;border-radius:7px;gap:7px;width:min(260px,86vw);padding:8px;display:grid;position:absolute;top:calc(100% + 5px);right:0;box-shadow:0 10px 24px #21192329}.money-calculator-popover textarea{border:1px solid var(--color-border);resize:vertical;border-radius:6px;min-height:74px;padding:6px 8px;font-size:15px;line-height:1.3}.money-input .money-calculator-total{color:var(--color-text);padding:0;font-size:15px;font-weight:700}.money-input .money-calculator-actions{justify-content:flex-end;gap:6px;padding:0;display:flex}.money-calculator-actions button{min-height:30px;padding:4px 9px;font-size:14px}textarea{resize:vertical;min-height:50px;padding:8px 10px}.check-row{align-items:center;gap:8px;display:flex}.check-row input{width:18px;min-height:18px}.searchable-select .searchable-select-input{border:1px solid var(--color-border);width:100%;min-width:0;min-height:38px;color:var(--color-text);background:var(--color-card);border-radius:6px;padding:0 34px 0 10px;font-family:inherit;font-size:14px;font-weight:400;line-height:1.35}.searchable-select .searchable-select-input:focus{border-color:var(--color-brand-coral);outline-offset:0;outline:2px solid #ef6b6133}.searchable-select .searchable-select-input:disabled{cursor:default;opacity:.62}.schedule-filters .searchable-select-input,.south-editor-section .searchable-select-input,.driver-card-sections .searchable-select-input,.customer-card-sections .searchable-select-input,.order-assignment-grid .searchable-select-input,.order-modal .searchable-select-input,.bus-editor .searchable-select-input{min-height:34px}.route-directory-sort-select .searchable-select-input{min-height:36px;font-weight:600}.moscow-trip-editor-grid .searchable-select-input{min-height:40px;padding-top:8px;padding-bottom:8px}.drivers-sort-control .searchable-select,.customers-sort-control .searchable-select{min-width:180px}.drivers-sort-control .searchable-select-input,.customers-sort-control .searchable-select-input{min-height:38px}.driver-work-history-edit-row .searchable-select-input{min-height:30px;padding-top:4px;padding-bottom:4px}.south-route-select .searchable-select-input,.south-date-time-grid .searchable-select-input{min-height:38px}.compact-finance-grid>label .searchable-select,.compact-finance-grid>label .searchable-select-input,.counterparty-breakdown-row .searchable-select,.counterparty-breakdown-row .searchable-select-input{width:100%;min-width:0}.counterparty-breakdown-row .searchable-select-input{min-height:34px}.driver-report-controls .searchable-select-input{font-size:15px}.modal-actions{justify-content:flex-end;margin-top:16px}.event-modal>.modal-actions{z-index:2;border-top:1px solid var(--color-border);background:var(--color-card);flex-shrink:0;margin-top:10px;padding:12px 0 0}.event-modal>.modal-actions button{font-weight:700}.event-modal-actions{justify-content:space-between}.event-save-block-message{color:#9f1224;background:#fff3ef;border:1px solid #f0b4aa;border-radius:6px;align-items:center;gap:8px;min-width:0;max-width:560px;margin:0 auto 0 14px;padding:7px 10px;font-size:14px;font-weight:500;line-height:1.25;display:flex}.event-save-block-message span{text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.event-modal-actions-right{justify-content:flex-end;align-items:center;gap:16px;display:flex}.event-delete-button{color:var(--status-error);background:#fff7f4;border-color:#efb8a8}.event-delete-button:hover,.event-delete-button:focus-visible{border-color:var(--status-error);color:#fff;background:var(--status-error);outline:none}.modal-actions .primary-button:focus,.modal-actions .primary-button:focus-visible{outline:2px solid var(--color-brand-coral);outline-offset:2px;box-shadow:0 0 0 3px #ef6b6140}.icon-button{place-items:center;width:36px;min-height:36px;padding:0;display:inline-grid}.seating-scheme-modal{width:min(980px,100%)}.seating-scheme-modal-title{overflow-wrap:anywhere;max-width:min(720px,100vw - 260px);font-size:21px;line-height:1.2}.seating-scheme-header-actions{align-items:flex-start;gap:8px;display:inline-flex;position:relative}.seating-scheme-share{position:relative}.seating-scheme-share>button,.seating-scheme-share-menu button{border:1px solid var(--color-border);min-height:34px;color:var(--color-text);background:var(--color-card);border-radius:6px;align-items:center;gap:6px;padding:0 12px;font-weight:600;display:inline-flex}.seating-scheme-share>button:hover,.seating-scheme-share>button:focus-visible,.seating-scheme-share-menu button:hover,.seating-scheme-share-menu button:focus-visible{background:#fff1e8;border-color:#f0c7b5;outline:none}.seating-scheme-share-menu{z-index:6;border:1px solid var(--color-border);background:var(--color-card);border-radius:8px;gap:4px;min-width:150px;padding:6px;display:grid;position:absolute;top:calc(100% + 6px);right:0;box-shadow:0 12px 32px #21192329}.seating-scheme-share-menu button{border-color:#0000;justify-content:flex-start;width:100%;font-weight:500}.seating-scheme-share-note{color:var(--color-text-muted);margin:8px 0 0;font-size:14px;font-weight:400}.bus-photo-modal{width:min(980px,100%)}.bus-photo-modal-title{overflow-wrap:anywhere;max-width:min(760px,100vw - 180px);font-size:21px;line-height:1.2}.bus-photo-modal-actions{justify-content:flex-end;gap:8px;margin-top:12px;display:flex}.bus-photo-modal-actions button{border:1px solid var(--color-border);min-height:34px;color:var(--color-text);background:var(--color-card);border-radius:6px;align-items:center;gap:6px;padding:0 12px;font-weight:400;display:inline-flex}.bus-photo-modal-actions button:hover,.bus-photo-modal-actions button:focus-visible{background:#fff1e8;border-color:#f0c7b5;outline:none}.bus-photo-share-note{color:var(--color-text-muted);margin:8px 0 0;font-size:14px;font-weight:400}.bus-photo-viewer{border:1px solid var(--color-border);background:#fffaf7;border-radius:8px;place-items:center;min-height:360px;margin-top:14px;display:grid;overflow:hidden}.bus-photo-viewer img{object-fit:contain;max-width:100%;max-height:calc(100vh - 190px);display:block}.order-attachment-modal{width:min(980px,100%)}.order-attachment-modal-title{overflow-wrap:anywhere;max-width:min(760px,100vw - 180px);font-size:21px;line-height:1.2}.order-attachment-modal-actions{justify-content:flex-end;gap:8px;margin-top:12px;display:flex}.order-attachment-modal-actions a{border:1px solid var(--color-border);min-height:34px;color:var(--color-text);background:var(--color-card);border-radius:6px;align-items:center;gap:6px;padding:0 12px;font-weight:400;text-decoration:none;display:inline-flex}.order-attachment-modal-actions a:hover,.order-attachment-modal-actions a:focus-visible{background:#fff1e8;border-color:#f0c7b5;outline:none}.order-attachment-viewer{border:1px solid var(--color-border);background:#fffaf7;border-radius:8px;place-items:center;min-height:360px;margin-top:14px;display:grid;overflow:hidden}.order-attachment-viewer img{object-fit:contain;max-width:100%;max-height:calc(100vh - 220px);display:block}.order-attachment-file-preview{color:var(--color-text-muted);text-align:center;place-items:center;gap:10px;padding:28px;display:grid}.order-attachment-file-preview p{overflow-wrap:anywhere;max-width:min(620px,80vw);color:var(--color-text);margin:0;font-weight:600}.seating-scheme-viewer{border:1px solid var(--color-border);background:#fffaf7;border-radius:8px;place-items:center;min-height:360px;margin-top:14px;display:grid;overflow:hidden}.seating-scheme-viewer img{object-fit:contain;max-width:100%;max-height:calc(100vh - 190px);display:block}.seating-scheme-viewer iframe{background:var(--color-card);border:0;width:100%;height:calc(100vh - 190px);min-height:360px}@media (width<=920px){.app-shell{grid-template-columns:1fr;height:auto;min-height:100vh;overflow:visible}.sidebar{z-index:4;border-right:0;border-bottom:1px solid var(--color-border);flex-direction:row;align-items:flex-start;height:auto;max-height:none;position:sticky;top:0;overflow-x:auto}:is(.workspace,.workspace:has(.schedule-panel)){height:auto;display:block;overflow:visible}.schedule-panel{display:block;overflow:visible}.schedule-viewport{max-height:calc(100vh - 132px)}.schedule-filters{border-top:0;border-left:1px solid var(--color-border);min-width:240px;margin-top:0;margin-left:8px;padding-top:0;padding-left:12px}.toolbar,.panel-header,.modal-header,.schedule-controls,.schedule-toolbar,.schedule-toolbar-panel{flex-direction:column;align-items:flex-start}.create-event-button{width:100%}.schedule-today-inline{width:100%;margin-left:0}.month-navigation{flex-wrap:wrap;justify-content:center;width:100%;min-width:0}.month-link{flex:132px}.period-picker{flex:180px}.period-trigger{width:100%}.route-directory-search{grid-template-columns:1fr;width:100%}.route-directory-search input{min-width:0}.counterparty-report-choice-grid,.counterparty-tariff-row{grid-template-columns:1fr}.counterparty-action-row{flex-direction:column;align-items:stretch;padding:0}.counterparty-report-builder-row{flex-direction:column;align-items:stretch}.counterparty-fuel-entry-button,.counterparty-fuel-journal-button,.counterparty-payment-entry-button,.counterparty-payment-journal-button,.counterparty-form-report-button,.counterparty-print-report-button,.counterparty-period-control{width:100%}.counterparty-print-report-title{flex-direction:column}.counterparty-print-report-title strong{text-align:left}.counterparty-print-report-summary{grid-template-columns:repeat(2,minmax(0,1fr))}.counterparty-finance-report-header{flex-direction:column;align-items:stretch}.counterparty-finance-report-actions{justify-content:flex-start}.month-navigation button,.month-navigation button:last-child{text-align:center;justify-content:center}.schedule-toolbar{width:100%;margin-left:0}.schedule-top-search{width:100%;min-width:0}.schedule-month-controls{width:100%;min-width:0;margin-left:0}.schedule-controls{grid-template-rows:auto;grid-template-columns:1fr;width:100%}.schedule-primary-actions,.schedule-month-stack{grid-area:auto/1;width:100%}.schedule-month-stack{justify-items:stretch}.schedule-month-stack .period-trigger{width:100%;min-width:0}.schedule-reminders-card{z-index:auto;width:100%;min-width:0;max-width:100%;margin-left:0;position:relative;top:auto;right:auto}.schedule-toolbar-panel{justify-items:start;width:100%;margin-left:0}.schedule-scale-control{flex-wrap:wrap;justify-content:flex-start;width:100%}.schedule-scale-control input[type=range]{flex:150px}.schedule-scale-control-floating{flex-wrap:nowrap;width:auto;bottom:12px;left:12px;right:12px}.schedule-scale-control-floating input[type=range]{flex:auto;min-width:90px}.order-columns,.absence-layout,.absence-driver-columns,.order-documents-layout,.order-crew-message-grid,.order-crew-message-title-row,.order-crew-message-pickup-row,.order-compact-grid,.order-date-grid,.order-customer-grid,.order-route-grid,.order-assignment-grid,.repair-driver-payroll-grid,.calculation-grid{grid-template-columns:1fr}.order-customer-short,.order-customer-full,.order-customer-contact,.order-customer-phone,.order-route-title,.order-route-full,.order-route-full-select,.order-route-pickup,.order-route-point,.order-route-comment{grid-column:1/-1}.order-route-pickup-row,.order-route-arrival-row{grid-template-columns:1fr}.order-route-additional-row{grid-template-columns:minmax(0,1fr) minmax(96px,120px) 24px}.assignment-bus-field,.assignment-driver-field,.assignment-remove-button{grid-area:auto/1;width:100%}.order-route-memory-options{width:100%}.order-topline{flex-direction:column;align-items:flex-start}.event-modal-header-actions{justify-items:start;width:100%}.order-crew-message-open-button{white-space:normal;justify-content:center;width:100%}.order-calculation-button{justify-content:center;width:100%;margin-left:0}.panel-grid,.dictionary-grid,.form-grid,.route-editor-layout,.bus-editor-top-columns,.bus-general-grid,.bus-document-grid,.bus-drivers-grid,.driver-card-layout,.driver-top-columns,.driver-general-grid,.driver-documents-grid,.driver-work-grid,.driver-work-history-edit-row,.contractor-general-grid,.contractor-requisites-grid,.customer-editor-layout,.customer-general-grid,.customer-general-top-grid,.customer-general-bottom-grid,.customer-registration-grid,.customer-contact-head,.customer-contact-row,.customer-list-row,.customer-requisites-grid,.contract-editor,.requisites-import-layout,.settings-list,.assignment-row,.checkbox-grid,.status-checkbox-grid,.date-time-grid,.date-time-pair,.absence-date-time-row,.finance-grid,.moscow-top-row,.moscow-assignment-grid,.moscow-trip-columns,.moscow-trip-row,.south-trip-columns,.south-date-time-grid,.moscow-trip-editor-grid,.moscow-trip-summary,.moscow-calculation-fields,.bus-form-drivers .bus-drivers-grid,.bus-driver-assignment-editor,.driver-card-right-column .driver-work-grid,.driver-card-right-column .driver-work-history-edit-row{grid-template-columns:1fr}.driver-card-right-column .driver-work-history-comment-field{grid-column:1}.individual-requisites-grid .individual-passport-number,.individual-requisites-grid .individual-passport-department-code,.individual-requisites-grid .individual-passport-issued-by,.individual-requisites-grid .individual-passport-issue-date{grid-column:1/-1}.south-overview-grid{grid-template-columns:1fr}.moscow-calculation-button{justify-content:center;width:100%;min-width:0;margin-left:0}.driver-documents-grid label:first-child,.driver-documents-grid label:nth-child(2),.driver-documents-grid label:nth-child(n+3),.contractor-general-grid label,.contractor-requisites-grid label,.customer-general-grid label:last-child{grid-column:1/-1}.customer-editor-modal{width:100%;max-height:calc(100vh - 20px);padding:12px}.customer-editor{margin-top:10px}.document-settings-actions{justify-content:flex-start;width:100%}.document-settings-actions button{flex:150px}.customer-editor-layout,.customer-main-column,.customer-side-column{gap:10px}.customer-main-column>.customer-card-section:first-child,.customer-side-column>.customer-card-section:first-child{min-height:0}.customer-contact-head{display:none}.customer-contact-row{grid-template-columns:24px minmax(0,1fr) 34px;align-items:start}.customer-address-row{grid-template-columns:24px minmax(0,1fr) 34px}.customer-default-contact-cell{grid-area:1/1}.customer-contact-row label:not(.customer-default-contact-cell){grid-column:1/-1}.customer-contact-row button{grid-area:1/3;justify-self:end}.customer-requisites-inline .secondary-button{white-space:normal}.entrepreneur-requisites-grid label{grid-column:1/-1}.bus-registration-field,.bus-number-field,.bus-model-field,.bus-seats-field,.bus-type-field,.bus-owner-field,.bus-licensee-field,.bus-year-field,.bus-vin-field,.bus-registration-certificate-field,.bus-scheme-field{grid-area:auto/1/auto/-1}}
