:root{font-family:Inter,system-ui,-apple-system,BlinkMacSystemFont,Segoe UI,sans-serif;color:#0f172a;background:#f1f5f9;line-height:1.5;font-weight:400}*{box-sizing:border-box}body{margin:0;min-width:320px;background:#f1f5f9;color:#0f172a;font-size:16px}button,input,textarea,select{font:inherit}button{cursor:pointer}.app-shell{min-height:100vh;padding:24px;background:#f1f5f9}.layout{width:min(1680px,100%);margin:0 auto;display:grid;grid-template-columns:260px 1fr;background:#fff;border:1px solid #e2e8f0;border-radius:28px;overflow:hidden;box-shadow:0 25px 60px #0f172a14}.sidebar{background:#fff;border-right:1px solid #e2e8f0}.sidebar-brand{height:80px;display:flex;align-items:center;gap:14px;padding:0 24px;border-bottom:1px solid #e2e8f0}.brand-icon{width:44px;height:44px;border-radius:16px;background:#0f172a;color:#fff;display:flex;align-items:center;justify-content:center}.brand-icon.brand-logo{width:62px;height:44px;border-radius:0;background:transparent;overflow:visible;flex:0 0 62px}.brand-logo img{display:block;width:100%;height:100%;object-fit:contain}.brand-title{font-size:20px;font-weight:700;letter-spacing:.04em}.brand-subtitle{font-size:13px;color:#64748b}.sidebar-nav{padding:16px;display:grid;gap:6px}.sidebar-item{width:100%;display:flex;align-items:center;gap:12px;border:0;background:transparent;color:#475569;padding:14px 16px;border-radius:14px;font-size:16px;font-weight:600;transition:.2s ease}.sidebar-item:hover{background:#f8fafc;color:#0f172a}.sidebar-item-active{background:#eff6ff;color:#2563eb}.sidebar-item-disabled{opacity:.45;cursor:not-allowed}.main{min-width:0;background:#f8fafc}.topbar{min-height:80px;background:#fff;border-bottom:1px solid #e2e8f0;padding:16px 32px;display:flex;align-items:center;justify-content:space-between;gap:20px}.page-title{margin:0;font-size:28px;font-weight:700}.page-subtitle{margin:4px 0 0;color:#64748b;font-size:16px}.topbar-right{display:flex;align-items:center;gap:16px;flex-wrap:wrap;justify-content:flex-end}.topbar-notifications{position:relative;display:inline-flex;align-items:center;justify-content:center;gap:8px;min-height:38px;padding:0 12px;border:1px solid #e2e8f0;border-radius:8px;background:#fff;color:#0f172a;cursor:pointer;font:inherit;font-weight:600}.topbar-notifications:hover{border-color:#93c5fd;background:#f8fbff}.topbar-notifications strong{position:absolute;top:-7px;right:-7px;min-width:18px;height:18px;padding:0 4px;border-radius:9px;background:#e24b4b;color:#fff;font-size:11px;line-height:18px}.reminders-page .table-wrap{width:100%;overflow-x:auto}.reminders-table{width:100%;min-width:680px;table-layout:fixed}.reminders-table th:nth-child(2),.reminders-table td:nth-child(2){width:160px;white-space:nowrap}.reminders-table th:nth-child(3),.reminders-table td:nth-child(3){width:150px;white-space:nowrap}.reminders-table th:nth-child(4),.reminders-table td:nth-child(4){width:120px;white-space:nowrap}.reminders-table td:first-child{overflow-wrap:anywhere}.reminders-table .empty-box{width:100%}.orders-stat-grid{grid-template-columns:repeat(4,minmax(0,1fr));gap:10px}.orders-stat-grid-three{grid-template-columns:repeat(3,minmax(0,1fr))}.orders-stat-grid .stat-card{min-height:76px;padding:12px 14px;gap:10px;border-radius:12px}.orders-stat-grid .stat-icon{width:34px;height:34px;border-radius:10px}.orders-stat-grid .stat-label{font-size:13px;line-height:1.25}.orders-stat-grid .stat-value{font-size:22px;line-height:1.2;white-space:nowrap}@media (max-width: 980px){.orders-stat-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}.search-box{display:flex;align-items:center;gap:10px;padding:10px 14px;border-radius:16px;border:1px solid #e2e8f0;background:#f8fafc;min-width:min(440px,46vw)}.search-box input{border:0;outline:none;background:transparent;width:min(420px,42vw);min-width:240px}.topbar-clock{display:inline-flex;align-items:center;gap:8px;padding:10px 14px;border-radius:16px;border:1px solid #dbeafe;background:#eff6ff;color:#1d4ed8;font-size:14px;font-weight:800;white-space:nowrap}.profile-box{display:flex;align-items:center;gap:12px;padding:10px 14px;border-radius:16px;border:1px solid #e2e8f0;background:#fff}.profile-org{font-size:15px;font-weight:700}.profile-role{font-size:13px;color:#64748b}.content{min-width:0;padding:32px;display:grid;gap:24px}.stats-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(220px,1fr));gap:16px}.stat-card{display:flex;align-items:center;gap:14px;padding:18px;border-radius:22px;border:1px solid #e2e8f0;background:#fff;box-shadow:0 8px 24px #0f172a0a}.stat-card-blue .stat-icon{background:#dbeafe;color:#2563eb}.stat-card-amber .stat-icon{background:#fef3c7;color:#b45309}.stat-card-green .stat-icon{background:#dcfce7;color:#15803d}.stat-icon{width:42px;height:42px;border-radius:14px;display:flex;align-items:center;justify-content:center;flex-shrink:0}.stat-label{font-size:15px;color:#64748b}.stat-value{margin-top:2px;font-size:28px;font-weight:700;color:#0f172a}.alert{padding:14px 16px;border-radius:16px;background:#fef3c7;color:#92400e;border:1px solid #fcd34d;font-size:15px}.startup-checklist{border:1px solid #fdba74;border-radius:8px;background:#fff7ed;padding:16px}.startup-checklist-title{display:flex;align-items:center;gap:9px;color:#9a3412;font-weight:700}.startup-checklist-items{display:flex;flex-wrap:wrap;gap:8px;margin-top:12px}.startup-checklist-item{display:inline-flex;align-items:center;gap:14px;min-height:38px;padding:8px 10px 8px 12px;border:1px solid #fed7aa;border-radius:6px;background:#fff;color:#431407;font-size:14px;font-weight:650}.startup-checklist-item:hover{border-color:#fb923c;background:#fffbeb}.startup-checklist-action{display:inline-flex;align-items:center;gap:4px;color:#c2410c;font-size:13px}.receipt-category-control{display:flex;align-items:center;gap:4px;min-width:0}.receipt-category-control select{min-width:0;flex:1}.receipt-category-control .stock-icon-button{width:28px;height:28px;flex:0 0 28px}.staff-accruals-button{width:100%;margin-top:2px}.staff-accruals-button strong{margin-left:auto;font-variant-numeric:tabular-nums}.staff-accruals-modal{width:min(1180px,calc(100vw - 32px))}.staff-accruals-modal-summary{display:flex;justify-content:space-between;gap:16px;margin-bottom:16px;color:#64748b;font-size:14px}.staff-accruals-modal-summary strong{color:#0f172a}.staff-accruals-table-wrap{padding:0}.order-inline-participation-card-invalid .order-participation-select{border-color:#f59e0b;background:#fffbeb;color:#92400e}.order-inline-participation-card-invalid small{grid-column:1 / -1;color:#b45309;font-size:11px;font-weight:700}.save-toast{position:fixed;right:24px;bottom:24px;z-index:1400;padding:14px 18px;border-radius:18px;background:#0f172a;color:#fff;border:1px solid rgba(148,163,184,.28);box-shadow:0 20px 40px #0f172a3d;font-size:15px;font-weight:700;animation:save-toast-in .22s ease}.panel{min-width:0;max-width:100%;background:#fff;border:1px solid #e2e8f0;border-radius:24px;padding:24px;box-shadow:0 8px 24px #0f172a0a}.panel-header{display:flex;justify-content:space-between;gap:16px;align-items:center;margin-bottom:20px;flex-wrap:wrap}.panel-header>div{min-width:0;max-width:100%}.panel-title{font-size:22px;font-weight:700;overflow-wrap:anywhere}.panel-subtitle{margin-top:4px;font-size:16px;color:#64748b;overflow-wrap:anywhere}.toolbar{display:flex;gap:12px;align-items:center;flex-wrap:wrap}.days-switcher{display:flex;border:1px solid #e2e8f0;border-radius:16px;overflow:hidden;background:#fff}.day-tab{min-width:56px;border:0;background:transparent;padding:10px 14px;font-size:15px;font-weight:600;color:#475569;transition:.2s ease}.day-tab:hover{background:#f8fafc}.day-tab-active{background:#2563eb;color:#fff}.primary-button,.secondary-button,.icon-button,.danger-button{border:0;transition:.2s ease}.primary-button{display:inline-flex;align-items:center;gap:8px;background:#2563eb;color:#fff;padding:11px 16px;border-radius:16px;font-weight:700;font-size:15px;box-shadow:0 12px 30px #2563eb2e}.primary-button:hover{background:#1d4ed8}.primary-button:disabled,.primary-button-disabled{background:#cbd5e1;color:#64748b;box-shadow:none;cursor:not-allowed}.primary-button:disabled:hover,.primary-button-disabled:hover{background:#cbd5e1}.secondary-button{display:inline-flex;align-items:center;gap:8px;background:#fff;color:#0f172a;padding:11px 16px;border:1px solid #dbeafe;border-radius:16px;font-weight:600;font-size:15px}.secondary-button:hover{background:#f8fafc}.secondary-button:disabled{opacity:.5;cursor:not-allowed;background:#f8fafc;color:#94a3b8}.secondary-button-success{background:#dcfce7;color:#166534;border-color:#86efac}.secondary-button-success:hover{background:#bbf7d0}.danger-button{display:inline-flex;align-items:center;gap:8px;background:#fff1f2;color:#be123c;padding:11px 16px;border:1px solid #fecdd3;border-radius:16px;font-weight:700;font-size:15px}.danger-button:hover{background:#ffe4e6}.icon-button{width:36px;height:36px;border-radius:12px;background:#f8fafc;display:inline-flex;align-items:center;justify-content:center}.icon-button:hover{background:#eef2ff}.loading-state{height:260px;display:flex;align-items:center;justify-content:center;gap:10px;color:#64748b}.spin{animation:spin 1s linear infinite}.days-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(150px,1fr));gap:12px}.day-card{border:1px solid #94a3b8;background:#fff;border-radius:6px;padding:8px 10px;text-align:center;transition:.2s ease;box-shadow:none}.day-card:hover{border-color:#64748b;background:#f8fafc}.day-card-active{border-color:#2563eb;background:#eff6ff;box-shadow:inset 0 0 0 1px #2563eb1f}.day-card-top{display:flex;justify-content:center;align-items:center;gap:4px;font-size:14px;font-weight:500;color:#0f172a}.day-card-title{margin-top:2px;font-size:13px;color:#0f172a}.records-grid{display:grid;gap:10px;margin-top:10px}.records-grid-squares{grid-template-columns:repeat(auto-fill,210px);align-items:stretch;justify-content:start;grid-auto-rows:230px}.record-card-active{border-color:#2563eb;box-shadow:0 16px 32px #2563eb29}.loading-box{min-height:180px;display:flex;align-items:center;justify-content:center;gap:10px;color:#64748b}.slots-row{display:flex;align-items:center;gap:12px;flex-wrap:wrap;margin-top:14px}.slots-label{font-size:13px;font-weight:700;color:#64748b;text-transform:uppercase;letter-spacing:.04em}.slots-list{display:flex;flex-wrap:wrap;gap:8px}.slot-chip{display:inline-flex;align-items:center;min-height:28px;padding:4px 10px;border-radius:999px;background:#eff6ff;color:#2563eb;font-size:13px;font-weight:700;border:1px solid #bfdbfe}.slot-chip-filled{background:#fff1f2;color:#be123c;border-color:#fecdd3}.record-card{width:100%;min-width:0;flex-shrink:0;border:1px solid #dbe4ef;background:#fff;border-radius:22px;padding:18px 22px 14px;text-align:left;box-shadow:0 8px 20px #0f172a0a;overflow:hidden}.record-card-square{width:210px;height:230px;min-height:230px;display:flex;flex-direction:column}.record-card-top{display:flex;justify-content:space-between;gap:10px;align-items:flex-start;margin-bottom:14px;min-width:0}.record-time{font-size:12px;font-weight:700;color:#94a3b8;text-transform:uppercase}.record-number{margin-top:6px;font-size:17px;font-weight:800;color:#0f172a;word-break:break-word}.record-main{display:grid;gap:2px}.record-client{font-size:16px;font-weight:500;color:#64748b;word-break:break-word}.record-car{font-size:17px;font-weight:800;color:#0f172a;margin-top:4px;word-break:break-word}.record-service{display:flex;align-items:flex-start;gap:6px;margin-top:10px;font-size:15px;color:#64748b;min-width:0}.record-service span{word-break:break-word}.record-open{margin-top:auto;padding-top:14px;display:flex;justify-content:flex-end;align-items:center;gap:4px;font-size:14px;font-weight:700;color:#2563eb}.badge{display:inline-flex;align-items:center;border-radius:999px;padding:6px 10px;font-size:13px;font-weight:700;border:1px solid transparent;white-space:nowrap;flex-shrink:0;max-width:100%}.badge-draft{background:#f1f5f9;color:#475569;border-color:#cbd5e1}.badge-created{background:#eff6ff;color:#2563eb;border-color:#bfdbfe}.badge-progress{background:#fef3c7;color:#b45309;border-color:#fde68a}.badge-completed{background:#f3e8ff;color:#7e22ce;border-color:#d8b4fe}.badge-closed,.badge-success{background:#dcfce7;color:#15803d;border-color:#bbf7d0}.badge-rework{background:#ffedd5;color:#c2410c;border-color:#fdba74}.badge-cancelled{background:#ffe4e6;color:#be123c;border-color:#fecdd3}.badge-deleted{background:#e5e7eb;color:#374151;border-color:#cbd5e1}.selected-list{display:grid;gap:12px;max-height:260px;overflow:auto}.selected-row{display:flex;width:100%;align-items:center;justify-content:space-between;gap:12px;border:1px solid #e2e8f0;background:#fff;border-radius:18px;padding:14px 16px;text-align:left;box-shadow:0 8px 20px #0f172a0a}.selected-row:hover{border-color:#bfdbfe;background:#f8fbff}.selected-row-title{font-size:16px;font-weight:700}.selected-row-subtitle{margin-top:4px;font-size:14px;color:#64748b}.selected-row-right{display:flex;align-items:center;gap:12px;color:#64748b}.cards-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(260px,1fr));gap:16px}.info-card{padding:20px;border-radius:22px;background:#fff;border:1px solid #e2e8f0;box-shadow:0 8px 24px #0f172a0a}.selectable-card{text-align:left;cursor:pointer;transition:border-color .2s ease,transform .2s ease,box-shadow .2s ease}.selectable-card:hover{border-color:#93c5fd;transform:translateY(-1px)}.selectable-card-active{border-color:#2563eb;box-shadow:0 10px 28px #2563eb24}.info-card-top{display:flex;justify-content:space-between;align-items:flex-start;gap:12px}.info-card-top>div{min-width:0;flex:1 1 auto}.info-card-title{font-size:19px;font-weight:700;line-height:1.3;overflow-wrap:anywhere;word-break:break-word}.info-card-subtitle{margin-top:4px;font-size:14px;color:#64748b;overflow-wrap:anywhere;word-break:break-word}.detail-list{display:grid;gap:8px;margin-top:16px;font-size:15px;color:#334155;overflow-wrap:anywhere;word-break:break-word}.gbo-required-files{display:grid;gap:8px;margin-top:18px}.gbo-required-file{display:flex;align-items:center;justify-content:space-between;gap:12px;min-height:42px;padding:8px 0;border-bottom:1px solid #e5edf8;color:#475569}.gbo-required-file>span:first-child{display:inline-flex;align-items:center;gap:8px;color:#1e293b}.gbo-required-file .secondary-button{cursor:pointer;margin:0}.info-card-note{margin-top:16px;padding-top:14px;border-top:1px solid #e2e8f0;font-size:14px;color:#64748b}.inline-chip{display:inline-flex;align-items:center;min-height:30px;padding:6px 10px;border-radius:999px;background:#eff6ff;color:#2563eb;font-size:13px;font-weight:700;white-space:nowrap}.inline-chip-success{background:#eafaf1;color:#15803d}.inline-chip-alert{background:#fff1f2;color:#be123c}.directory-layout{display:grid;grid-template-columns:minmax(0,2fr) minmax(280px,1fr);gap:20px;align-items:start}.services-layout{grid-template-columns:minmax(0,1.85fr) minmax(280px,.65fr)}.detail-panel{padding:16px 18px;border-radius:22px;background:#f8fafc;border:1px solid #e2e8f0;position:sticky;top:0}.detail-panel-head{display:flex;justify-content:space-between;gap:12px;align-items:flex-start;margin-bottom:16px}.staff-salary-panel{margin-top:22px;padding-top:18px;border-top:1px solid #e2e8f0;display:grid;gap:14px}.staff-salary-head{display:flex;align-items:center;justify-content:space-between;gap:12px;flex-wrap:wrap}.staff-salary-title{display:inline-flex;align-items:center;gap:8px;font-size:16px;font-weight:700;color:#0f172a}.staff-salary-loading{padding:14px 16px;border-radius:16px;background:#eff6ff;color:#2563eb;border:1px solid #bfdbfe;font-size:15px;font-weight:600}.staff-salary-summary-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.staff-salary-summary-grid div{padding:14px;border-radius:18px;background:#fff;border:1px solid #e2e8f0}.staff-salary-summary-grid span{display:block;font-size:13px;color:#64748b}.staff-salary-summary-grid strong{display:block;margin-top:6px;font-size:18px;color:#0f172a;font-variant-numeric:tabular-nums}.staff-salary-days{display:grid;gap:10px}.staff-shift-ledger{min-width:0;max-height:420px;overflow:auto}.staff-shift-ledger h3{font-size:15px}.staff-shift-row{display:grid;gap:5px;padding:10px 0;border-bottom:1px solid #e2e8f0;font-size:13px}.staff-shift-row label{display:flex;align-items:center;gap:8px}.staff-shift-row input[type=checkbox]{width:16px;height:16px;margin:0}.staff-shift-row small{color:#64748b}.payroll-summary{min-width:0;padding:16px 0;border-block:1px solid #e2e8f0}.payroll-summary h3{margin:0 0 14px;font-size:17px}.payroll-totals{display:grid;grid-template-columns:repeat(auto-fit,minmax(150px,1fr));gap:16px}.payroll-totals div{display:grid;gap:6px}.payroll-totals span{font-size:13px;color:#64748b}.payroll-totals strong{font-size:18px;overflow-wrap:anywhere}.payroll-table-scroll{max-width:100%;overflow:auto}.payroll-table{width:100%;min-width:680px;border-collapse:collapse;font-size:13px}.payroll-table th,.payroll-table td{padding:10px;text-align:right;border-bottom:1px solid #e2e8f0}.payroll-table th:first-child,.payroll-table td:first-child{text-align:left}.payroll-summary summary{cursor:pointer;padding:14px 0}.staff-salary-day-card{padding:14px;border-radius:18px;border:1px solid #e2e8f0;background:#fff}.staff-salary-day-top{display:flex;align-items:center;justify-content:space-between;gap:12px;flex-wrap:wrap}.staff-salary-day-metrics{display:grid;gap:6px;margin-top:10px;font-size:14px;color:#334155}.my-earnings-page{max-width:1240px}.my-earnings-toolbar{display:flex;align-items:center;justify-content:space-between;gap:16px;flex-wrap:wrap}.my-earnings-period-tabs{display:grid;grid-template-columns:repeat(3,minmax(78px,1fr));overflow:hidden;border:1px solid #dbe4ef;border-radius:8px}.my-earnings-period-tabs .staff-salary-tab{min-width:78px}.my-earnings-range{display:flex;align-items:end;gap:8px;flex-wrap:wrap}.my-earnings-range label{display:grid;gap:4px;color:#64748b;font-size:12px;font-weight:700}.my-earnings-range input{height:38px;padding:0 10px;border:1px solid #dbe4ef;border-radius:8px;color:#0f172a;font:inherit}.my-earnings-heading{display:flex;align-items:end;justify-content:space-between;gap:16px;flex-wrap:wrap}.my-earnings-heading h2{margin:4px 0 0;font-size:24px}.my-earnings-metrics{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:14px}.my-earnings-metric{min-height:150px;display:grid;align-content:center;gap:7px;padding:18px;border:1px solid #dbe4ef;border-radius:8px;background:#fff;color:#64748b}.my-earnings-metric svg{color:#2563eb}.my-earnings-metric span{font-size:14px;font-weight:700}.my-earnings-metric strong{color:#0f172a;font-size:24px;line-height:1.15;font-variant-numeric:tabular-nums}.my-earnings-metric small{font-size:12px}.my-earnings-metric-primary{border-color:#93c5fd;background:#eff6ff}.my-earnings-breakdown{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));border:1px solid #dbe4ef;border-radius:8px;background:#fff}.my-earnings-breakdown div{min-width:0;display:grid;gap:5px;padding:16px 18px;border-right:1px solid #e2e8f0}.my-earnings-breakdown div:last-child{border-right:0}.my-earnings-breakdown span{color:#64748b;font-size:13px}.my-earnings-breakdown strong{color:#0f172a;font-size:18px;font-variant-numeric:tabular-nums}.my-earnings-days{display:grid;gap:0;border:1px solid #dbe4ef;border-radius:8px;overflow:hidden;background:#fff}.my-earnings-days h3{margin:0;padding:16px 18px;border-bottom:1px solid #e2e8f0;font-size:17px}.my-earnings-day{display:grid;grid-template-columns:minmax(180px,1.4fr) minmax(130px,1fr) minmax(130px,1fr) minmax(130px,1fr);align-items:center;gap:12px;padding:14px 18px;border-bottom:1px solid #e2e8f0;color:#475569;font-size:14px}.my-earnings-day:last-child{border-bottom:0}.my-earnings-day div{display:grid;gap:3px}.my-earnings-day div strong,.my-earnings-day>strong{color:#0f172a}.my-earnings-day small{color:#64748b}.modal-shift-roster{width:min(720px,calc(100vw - 32px))}.shift-roster-intro{display:flex;gap:12px;align-items:flex-start;padding:14px;border:1px solid #bfdbfe;border-radius:8px;background:#eff6ff;color:#1e3a8a}.shift-roster-intro p{margin:0;line-height:1.45}.shift-roster-services{display:grid;gap:12px;margin-top:18px}.shift-roster-service{display:grid;gap:12px;padding:14px;border:1px solid #dbe4ef;border-radius:8px}.shift-roster-service>div:first-child{display:flex;align-items:baseline;justify-content:space-between;gap:12px}.shift-roster-service strong{color:#0f172a}.shift-roster-service span{color:#64748b;font-size:13px}.shift-roster-staff{display:flex;flex-wrap:wrap;gap:8px}.shift-roster-staff label{display:inline-flex;align-items:center;gap:8px;min-height:36px;padding:7px 10px;border:1px solid #dbe4ef;border-radius:8px;color:#334155;font-size:14px}.shift-roster-staff input{width:16px;height:16px;margin:0}.stock-small-button-alert{border-color:#fdba74;color:#c2410c;background:#fff7ed}.stock-small-button-alert strong{min-width:20px;height:20px;display:inline-flex;align-items:center;justify-content:center;border-radius:999px;background:#fed7aa;color:#9a3412;font-size:12px}.modal-purchase-recommendations{width:min(980px,calc(100vw - 32px))}.purchase-recommendations-summary{display:flex;align-items:center;gap:10px;margin-bottom:16px;padding:12px 14px;border:1px solid #fed7aa;border-radius:8px;background:#fff7ed;color:#9a3412;font-size:14px}.purchase-recommendations-table{min-width:760px}.staff-page{gap:20px;padding:24px}.staff-shell{display:grid;grid-template-columns:minmax(0,1fr) minmax(320px,380px);gap:16px;align-items:start;min-width:0}.staff-list-panel,.staff-detail-card{min-width:0;max-width:100%;border:1px solid #e2e8f0;border-radius:18px;background:#fff;box-shadow:0 12px 28px #0f172a09}.staff-list-panel{min-width:0;overflow:hidden}.staff-panel-header{min-height:84px;display:flex;align-items:center;justify-content:space-between;gap:16px;padding:20px 22px 12px}.staff-panel-header h2{margin:0;color:#0f172a;font-size:19px}.staff-panel-header p{margin:6px 0 0;color:#64748b;font-size:13px}.staff-header-actions,.staff-filter-row,.staff-filter-tools{display:flex;align-items:center;gap:10px;flex-wrap:wrap}.staff-search-box{width:310px;height:42px;display:flex;align-items:center;gap:10px;padding:0 14px;border:1px solid #dbe4ef;border-radius:10px;background:#fff;color:#64748b}.staff-search-box input{min-width:0;width:100%;border:0;outline:0;background:transparent;color:#0f172a;font-size:14px}.staff-primary-button,.staff-small-button,.staff-icon-button,.staff-danger-button{min-height:40px;display:inline-flex;align-items:center;justify-content:center;gap:8px;border-radius:10px;border:1px solid #dbe4ef;background:#fff;color:#0f172a;font-size:14px;font-weight:800;white-space:nowrap}.staff-primary-button{padding:0 18px;color:#fff;border-color:#2563eb;background:#2563eb;box-shadow:0 12px 26px #2563eb33}.staff-small-button{padding:0 14px}.staff-icon-button{width:40px;padding:0}.staff-icon-button-active{background:#eff6ff;color:#2563eb}.staff-danger-button{padding:0 14px;color:#e11d48;border-color:#fecdd3;background:#fff1f2}.staff-filter-row{justify-content:space-between;padding:8px 22px 18px}.staff-filter-tab{min-height:40px;padding:0 18px;border:1px solid #dbe4ef;border-radius:10px;background:#fff;color:#334155;font-size:13px;font-weight:800}.staff-filter-tab-active{color:#2563eb;border-color:#93c5fd;background:#eff6ff}.staff-table-wrap{width:100%;overflow-x:auto;padding:0 18px}.staff-table{width:100%;min-width:780px;border-collapse:separate;border-spacing:0 12px;table-layout:fixed}.staff-table th{padding:0 16px 8px;color:#64748b;font-size:12px;font-weight:800;text-align:left}.staff-table td{height:74px;padding:12px 16px;background:#fff;border-top:1px solid #e2e8f0;border-bottom:1px solid #e2e8f0;color:#0f172a;font-size:13px;vertical-align:middle}.staff-table td:first-child{border-left:1px solid #e2e8f0;border-radius:14px 0 0 14px}.staff-table td:last-child{border-right:1px solid #e2e8f0;border-radius:0 14px 14px 0;text-align:right}.staff-table tr{cursor:pointer}.staff-table tr:hover td{background:#f8fbff}.staff-table .staff-row-active td{border-top-color:#2563eb;border-bottom-color:#2563eb;background:#f8fbff}.staff-table .staff-row-active td:first-child{border-left-color:#2563eb}.staff-table .staff-row-active td:last-child{border-right-color:#2563eb}.staff-name-cell{min-width:0;display:flex;align-items:center;gap:14px}.staff-avatar,.staff-profile-avatar{flex:0 0 auto;display:inline-flex;align-items:center;justify-content:center;border-radius:999px;background:linear-gradient(135deg,#dbeafe,#fed7aa);color:#0f172a;font-weight:900}.staff-avatar{width:44px;height:44px;font-size:13px}.staff-name-cell span:last-child{min-width:0;display:grid;gap:4px}.staff-name-cell strong{overflow:hidden;color:#0f172a;font-size:13px;text-overflow:ellipsis;white-space:nowrap}.staff-name-cell small{color:#64748b;font-size:12px}.staff-status-pill{display:inline-flex;align-items:center;gap:6px;min-height:26px;padding:0 10px;border-radius:999px;font-size:12px;font-weight:800;white-space:nowrap}.staff-status-pill:before{content:"";width:7px;height:7px;border-radius:999px;background:currentColor}.staff-status-work{color:#16a34a;background:#dcfce7}.staff-status-rest{color:#f97316;background:#ffedd5}.staff-status-fired{color:#e11d48;background:#ffe4e6}.staff-percent-cell{display:grid;gap:8px}.staff-percent-cell strong{font-size:13px}.staff-percent-cell span{width:96px;height:5px;display:block;overflow:hidden;border-radius:999px;background:#e2e8f0}.staff-percent-cell i{display:block;height:100%;border-radius:inherit;background:#2563eb}.staff-table-footer{min-height:72px;display:flex;align-items:center;justify-content:space-between;gap:16px;padding:8px 22px 22px;color:#64748b;font-size:13px}.staff-detail-card{position:sticky;top:16px;min-width:0;padding:18px}.staff-detail-head{display:grid;gap:12px;padding-bottom:16px}.staff-detail-head h3{margin:0;color:#0f172a;font-size:20px;line-height:1.25}.staff-profile-block{display:grid;grid-template-columns:96px minmax(0,1fr);gap:18px;align-items:start;padding:10px 0 20px;border-bottom:1px solid #e2e8f0}.staff-profile-avatar{width:88px;height:88px;font-size:24px}.staff-profile-meta{display:grid;gap:5px}.staff-profile-meta span{margin-top:8px;color:#64748b;font-size:12px;font-weight:700}.staff-profile-meta strong{min-width:0;color:#0f172a;font-size:13px;overflow-wrap:anywhere}.staff-detail-salary{margin-top:18px;padding-top:18px;border-top:0}.staff-detail-salary .staff-salary-title{font-size:15px;font-weight:900}.staff-salary-tabs{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));margin-top:14px;overflow:hidden;border:1px solid #dbe4ef;border-radius:10px}.staff-salary-tab{height:38px;border:0;border-right:1px solid #dbe4ef;background:#fff;color:#334155;font-size:13px;font-weight:800}.staff-salary-tab:last-child{border-right:0}.staff-salary-tab-active{color:#fff;background:#2563eb}.staff-period-field{display:grid;gap:6px;margin-top:14px}.staff-period-field label{color:#64748b;font-size:13px;font-weight:700}.staff-period-field div{height:42px;display:flex;align-items:center;gap:8px;padding:0 12px;border:1px solid #dbe4ef;border-radius:10px;background:#fff}.staff-period-field input,.staff-period-range input{min-width:0;width:100%;border:0;outline:0;background:transparent;color:#0f172a;font-size:13px;font-weight:800}.staff-period-range{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:8px;margin-top:8px}.staff-period-range input{min-height:40px;padding:0 12px;border:1px solid #dbe4ef;border-radius:10px}.staff-salary-metrics{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;margin-top:14px}.staff-salary-metrics div{min-height:74px;display:grid;align-content:center;gap:6px;padding:12px;border:1px solid #e2e8f0;border-radius:12px;background:#fff}.staff-salary-metrics span{color:#64748b;font-size:12px;font-weight:700}.staff-salary-metrics strong{color:#0f172a;font-size:17px;line-height:1.15}.staff-minimum-note{display:grid;gap:8px;margin-top:16px;padding-top:16px;border-top:1px solid #e2e8f0}.staff-minimum-note div{display:flex;justify-content:space-between;gap:10px;align-items:center}.staff-minimum-note strong{font-size:13px}.staff-minimum-note span{padding:5px 9px;border-radius:999px;color:#e11d48;background:#ffe4e6;font-size:12px;font-weight:800}.staff-minimum-note p{margin:0;color:#334155;font-size:13px}.staff-detail-actions{display:flex;gap:10px;flex-wrap:wrap;padding-top:18px;margin-top:18px;border-top:1px solid #e2e8f0}.analytics-toolbar{display:grid;gap:12px;width:100%}.analytics-toolbar-row{display:flex;gap:12px;flex-wrap:wrap;align-items:flex-end;min-width:0}.analytics-toolbar-row-filters{justify-content:space-between}.accounting-header-actions{display:flex;gap:12px;flex-wrap:wrap}.analytics-range-toolbar{display:flex;gap:12px;align-items:flex-end;flex-wrap:wrap}.analytics-range-fields{display:flex;gap:12px;align-items:flex-end;flex-wrap:wrap;min-width:0}.analytics-service-point-field,.analytics-range-fields .field{min-width:170px}.analytics-stack{display:grid;gap:16px}.analytics-staff-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(240px,1fr));gap:12px}.analytics-staff-card{padding:16px;border-radius:18px;border:1px solid #e2e8f0;background:#fff;box-shadow:0 8px 20px #0f172a0a}.analytics-expense-list{display:grid;gap:12px}.analytics-expense-card{padding:16px;border-radius:18px;border:1px solid #e2e8f0;background:#fff;box-shadow:0 8px 20px #0f172a0a}.analytics-roadmap-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(320px,1fr));gap:16px}.analytics-roadmap-card{padding:20px;border-radius:20px;border:1px solid #dbe4f0;background:linear-gradient(180deg,#fff,#f8fbff);box-shadow:0 10px 24px #0f172a0d}.analytics-roadmap-head{display:flex;align-items:flex-start;justify-content:space-between;gap:12px}.analytics-section-stack{display:grid;gap:16px;margin-top:16px}.analytics-inline-metrics{display:grid;grid-template-columns:repeat(auto-fit,minmax(220px,1fr));gap:12px}.analytics-chip-row{display:flex;gap:10px;flex-wrap:wrap;margin-top:16px}.analytics-mini-switcher{display:flex;gap:8px;flex-wrap:wrap}.analytics-table-panel{padding:0;overflow:hidden}.analytics-leaderboard,.analytics-chart-list{display:grid;gap:14px;padding:18px}.analytics-leaderboard-row,.analytics-chart-row{display:grid;gap:10px}.analytics-leaderboard-meta,.analytics-chart-head{display:flex;align-items:center;justify-content:space-between;gap:12px;flex-wrap:wrap}.analytics-leaderboard-rank{display:inline-flex;min-width:38px;align-items:center;justify-content:center;padding:6px 8px;border-radius:999px;background:#eff6ff;color:#2563eb;font-size:12px;font-weight:800}.analytics-leaderboard-label{flex:1;min-width:180px;color:#0f172a;font-weight:600}.analytics-leaderboard-value{color:#0f172a;font-variant-numeric:tabular-nums}.analytics-bar-track{width:100%;height:10px;border-radius:999px;background:#e2e8f0;overflow:hidden}.analytics-bar-track-tall{height:12px}.analytics-bar-fill{height:100%;border-radius:inherit;background:linear-gradient(90deg,#60a5fa,#2563eb)}.analytics-bar-fill-profit{background:linear-gradient(90deg,#86efac,#16a34a)}.analytics-bar-fill-alert{background:linear-gradient(90deg,#fda4af,#e11d48)}.analytics-bar-fill-amber{background:linear-gradient(90deg,#fde68a,#d97706)}.analytics-chart-caption{font-size:13px;color:#64748b}.analytics-table-wrap{width:100%;overflow-x:auto}.analytics-table{width:100%;border-collapse:collapse;min-width:880px}.analytics-table th,.analytics-table td{padding:14px 18px;border-bottom:1px solid #e2e8f0;text-align:left;font-size:14px;color:#334155;vertical-align:top}.analytics-table th{font-size:13px;font-weight:700;letter-spacing:.02em;color:#64748b;background:#f8fafc;text-transform:uppercase}.analytics-table tbody tr:hover{background:#f8fbff}.analytics-row-highlight{background:#2563eb0f}.accounting-documents-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(260px,1fr));gap:12px}.accounting-cashflow-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px}.accounting-cashflow-card{padding:18px;border-radius:22px;border:1px solid #e2e8f0;background:#fff;box-shadow:0 8px 24px #0f172a0a;min-width:0}.accounting-cashflow-head{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:14px;flex-wrap:wrap}.analytics-detail-list{margin-top:12px}.analytics-dual-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(320px,1fr));gap:16px}.analytics-kpi-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(220px,1fr));gap:12px;padding:18px}.analytics-kpi-note{padding:0 18px 18px;font-size:14px;color:#64748b}.action-row{display:flex;gap:10px;flex-wrap:wrap}.empty-box{border:1px dashed #cbd5e1;background:#f8fafc;color:#94a3b8;border-radius:18px;padding:24px;text-align:center;font-size:15px}.receipt-form-stack{display:grid;gap:18px}.receipt-items-stack{display:grid;gap:14px}.receipt-item-card{padding:16px;border-radius:18px;border:1px solid #dbe4ef;background:#f8fafc;display:grid;gap:14px}.receipt-item-head{display:flex;align-items:center;justify-content:space-between;gap:12px;flex-wrap:wrap}.receipt-item-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px}.receipt-recent-list{margin-top:20px;display:grid;gap:10px}.receipt-recent-card{padding:12px 14px;border-radius:16px;border:1px solid #dbe4ef;background:#fff;display:grid;gap:4px;color:#334155}.receipt-recent-card strong{color:#0f172a}.receipt-recent-card-button{width:100%;text-align:left;cursor:pointer}.receipt-recent-card-button:hover{border-color:#93c5fd;background:#eff6ff}.receipt-supplier-preview{min-height:54px;padding:14px 16px;border-radius:16px;border:1px solid #dbe4ef;background:#f8fafc;color:#475569}.receipt-details-stack{display:grid;gap:18px}.receipt-details-summary{padding:18px;border:1px solid #dbe4ef;border-radius:18px;background:#f8fafc}.service-detail-grid{display:grid;gap:16px}.services-master-layout{display:grid;grid-template-columns:320px minmax(0,1fr);gap:16px;align-items:start;min-width:0}.service-category-panel{min-width:0}.service-category-panel .subcategory-tree{margin-bottom:0;max-height:640px;overflow:auto;padding-right:4px}.service-list-panel{min-width:0}.service-section-card{border:1px solid #e2e8f0;border-radius:18px;background:#fff;padding:18px}.service-section-title{display:flex;align-items:center;gap:8px;font-size:17px;font-weight:700;color:#0f172a}.service-mini-stats{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;margin-top:14px}.service-mini-stats div{border-radius:16px;border:1px solid #e2e8f0;background:#f8fafc;padding:12px;min-width:0}.service-mini-stats span{display:block;font-size:13px;color:#64748b}.service-mini-stats strong{display:block;margin-top:6px;min-width:140px;font-size:20px;color:#0f172a;font-variant-numeric:tabular-nums;white-space:nowrap}.service-section-placeholder{background:linear-gradient(180deg,#fff7ed,#fff)}.service-schedule-form{display:grid;gap:10px;margin-top:8px}.service-schedule-row{display:grid;grid-template-columns:minmax(180px,1.2fr) 120px 120px minmax(0,1fr);gap:10px;align-items:center;padding:12px;border-radius:16px;background:#f8fafc;border:1px solid #e2e8f0}.service-schedule-day{display:grid;gap:8px}.service-schedule-toggle{display:inline-flex;align-items:center;gap:8px;font-size:14px;color:#475569}.detail-list svg{vertical-align:middle;margin-right:6px;color:#64748b}.history-list{margin-top:18px;padding-top:18px;border-top:1px solid #e2e8f0}.history-entry{padding:12px 14px;border-radius:16px;background:#fff;border:1px solid #e2e8f0}.history-entry-top{display:flex;justify-content:space-between;gap:12px;align-items:flex-start;flex-wrap:wrap}.history-open-button{margin-top:10px;padding:8px 12px;border-radius:12px;font-size:13px}.entity-profile-page{display:grid;gap:16px}.entity-breadcrumbs{display:flex;align-items:center;gap:8px;color:#64748b;font-size:14px}.entity-breadcrumbs button{border:0;background:transparent;color:#64748b;font-weight:600;cursor:pointer;padding:0}.entity-breadcrumbs strong{color:#0f172a}.entity-profile-hero,.car-profile-hero{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:18px;align-items:center;padding:22px 24px;border-radius:24px;border:1px solid #dbe4ef;background:#fff;box-shadow:0 16px 44px #0f172a0d}.entity-hero-main{display:flex;align-items:center;gap:16px;min-width:0}.entity-avatar{width:56px;height:56px;border-radius:18px;display:grid;place-items:center;color:#2563eb;background:#eaf2ff}.entity-title-row{display:flex;flex-wrap:wrap;align-items:center;gap:12px}.entity-title-row h2{margin:0;font-size:clamp(24px,2vw,32px);line-height:1.1}.entity-hero-main p,.car-hero-info p,.entity-section-head p{margin:6px 0 0;color:#64748b}.entity-profile-grid{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1.2fr) minmax(260px,.6fr);gap:16px;align-items:stretch}.entity-main-grid{display:grid;grid-template-columns:minmax(0,1fr) minmax(280px,.34fr);gap:16px;align-items:start}.entity-info-card{border:1px solid #dbe4ef;background:#fff;border-radius:22px;padding:18px;box-shadow:0 14px 36px #0f172a0a;min-width:0}.entity-info-card h3{margin:0 0 14px;display:flex;align-items:center;gap:8px;font-size:18px}.entity-card-head,.entity-section-head{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:14px}.entity-info-list{display:grid;grid-template-columns:135px minmax(0,1fr);gap:12px 18px;color:#64748b}.client-cars-head{flex-wrap:wrap}.client-cars-head h3{margin-bottom:0}.client-cars-head .primary-button{max-width:100%;white-space:normal}.entity-info-list strong{color:#0f172a;font-weight:700;min-width:0;overflow-wrap:anywhere}.entity-info-list strong svg{vertical-align:middle;margin-right:5px;color:#315cb6}.entity-linked-list{display:grid;gap:10px}.entity-linked-row{display:grid;grid-template-columns:22px minmax(0,1fr);gap:12px;padding:12px;border:1px solid #dbe4ef;border-radius:16px;background:#f8fbff}.entity-linked-button{width:100%;grid-template-columns:22px minmax(0,1fr) 20px;align-items:center;text-align:left;cursor:pointer;color:inherit}.entity-linked-button:hover{border-color:#93c5fd;background:#eff6ff}.entity-linked-row strong,.entity-linked-row span{display:block;overflow-wrap:anywhere}.entity-linked-row span{margin-top:4px;color:#64748b;font-size:13px}.entity-summary-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.entity-summary-grid div{padding:12px;border-radius:16px;border:1px solid #e2e8f0;background:#f8fafc}.entity-summary-grid span{display:block;color:#64748b;font-size:13px}.entity-summary-grid strong{display:block;margin-top:6px;font-size:20px;color:#0f172a}.entity-history-card{padding:0;overflow:hidden}.entity-history-card .entity-section-head{padding:18px 18px 0}.entity-tabs{display:flex;gap:18px;padding:0 18px;border-bottom:1px solid #e2e8f0;overflow-x:auto}.entity-tabs button{border:0;border-bottom:2px solid transparent;padding:16px 0;background:transparent;color:#64748b;font-weight:700;cursor:pointer;white-space:nowrap}.entity-tabs .entity-tab-active{color:#2563eb;border-bottom-color:#2563eb}.entity-history-table-wrap{overflow-x:auto;padding:0 18px 18px}.entity-history-table{width:100%;border-collapse:separate;border-spacing:0;min-width:780px;border:1px solid #e2e8f0;border-radius:16px;overflow:hidden}.entity-history-table th,.entity-history-table td{padding:13px 14px;border-bottom:1px solid #e2e8f0;text-align:left;font-size:14px;vertical-align:middle}.entity-history-table th{color:#64748b;font-size:12px;text-transform:uppercase;letter-spacing:.04em;background:#f8fafc}.entity-history-table tr:last-child td{border-bottom:0}.clickable-row{cursor:pointer}.clickable-row:hover td{background:#f8fbff}.entity-note-box{margin:18px;display:flex;align-items:center;gap:10px;padding:14px;border-radius:16px;background:#f8fafc;border:1px solid #e2e8f0;color:#475569}.compact-action{padding:8px 12px;border-radius:12px;font-size:13px}.full-width-button{width:100%;justify-content:center;margin-top:10px}.car-profile-hero{grid-template-columns:minmax(540px,680px) minmax(240px,320px) 200px;justify-content:space-between;gap:16px;padding:16px 18px}.car-vehicle-details{display:grid;grid-template-columns:205px minmax(0,1fr);gap:14px;align-items:start;min-width:0}.car-vehicle-content{min-width:0}.car-profile-hero .entity-title-row{gap:8px}.car-profile-hero .entity-title-row h2{font-size:26px}.car-profile-hero .car-hero-info p{margin-top:4px;font-size:14px}.car-photo-placeholder{width:205px;height:140px;padding:0;overflow:hidden;border:1px solid #e2e8f0;border-radius:8px;background:#f8fafc;color:#64748b;cursor:pointer}.car-photo-placeholder img{width:100%;height:100%;object-fit:cover;display:block}.car-photo-preview:hover{border-color:#60a5fa}.car-gallery-page{display:grid;grid-template-columns:repeat(auto-fill,minmax(220px,1fr));gap:16px}.car-gallery-item{position:relative;aspect-ratio:4 / 3;overflow:hidden;border:1px solid #dbe4ef;border-radius:8px;background:#fff}.car-gallery-item img{width:100%;height:100%;object-fit:cover;display:block}.car-file-delete{position:absolute;top:7px;right:7px;width:30px;height:30px;padding:0;color:#e11d48;background:#fff;border-color:#fecdd3}.car-gallery-actions{display:contents}.car-gallery-actions .compact-action{position:absolute;bottom:7px;left:7px;max-width:calc(100% - 14px);background:#fff}.car-files-section{margin-top:22px}.car-files-section h3{display:flex;align-items:center;gap:8px;margin:0 0 12px}.car-photo-error{color:#c2410c;font-size:12px;line-height:1.35;margin-top:14px}.car-attachments-list{display:grid;gap:8px;margin-top:14px}.car-attachment-row{min-width:0;display:flex;align-items:center;justify-content:space-between;gap:10px;padding:9px 10px;border:1px solid #e2e8f0;border-radius:8px;background:#f8fafc}.car-attachment-row a{min-width:0;display:flex;align-items:center;gap:8px;color:#1d4ed8;text-decoration:none}.car-attachment-row a:hover{text-decoration:underline}.car-attachment-row a span{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.car-attachment-row .car-file-delete{position:static;flex:0 0 30px}.car-plate-line strong{display:inline-flex;padding:5px 9px;border-radius:8px;background:#edf4ff;color:#0f172a;margin-top:5px}.car-hero-specs{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px 16px}.car-vehicle-specs{margin-top:12px}.car-owner-details{min-width:0;padding-left:16px;border-left:1px solid #e2e8f0}.car-owner-details h3{display:flex;align-items:center;gap:8px;margin:0 0 10px;font-size:15px}.car-owner-specs{grid-template-columns:minmax(0,1fr)}.car-hero-actions{display:grid;justify-items:stretch;gap:6px;min-width:200px}.car-hero-actions button{justify-content:center}.car-hero-actions .primary-button,.car-hero-actions .secondary-button{min-height:36px;padding:8px 12px;font-size:14px}.car-hero-specs span{display:block;color:#64748b;font-size:11px}.car-hero-specs strong{display:block;margin-top:2px;color:#0f172a;overflow-wrap:anywhere;font-size:14px}.car-spec-wide{grid-column:1 / -1}.car-owner-link{margin-top:2px;padding:0;border:0;background:transparent;color:#2563eb;font-size:11px;font-weight:600;cursor:pointer}.car-owner-link:hover{text-decoration:underline}.warehouse-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(240px,1fr));gap:16px}.warehouse-card{border:1px solid #dbe4ef;background:linear-gradient(180deg,#fff,#f8fbff);border-radius:24px;padding:20px;text-align:left;transition:transform .2s ease,border-color .2s ease,box-shadow .2s ease;box-shadow:0 12px 30px #0f172a0d}.warehouse-card:hover{transform:translateY(-2px);border-color:#93c5fd}.warehouse-card-active{border-color:#2563eb;box-shadow:0 14px 34px #2563eb29}.warehouse-card-top{display:flex;justify-content:space-between;align-items:center;gap:12px}.warehouse-icon{width:48px;height:48px;border-radius:16px;background:#dbeafe;color:#2563eb;display:flex;align-items:center;justify-content:center}.warehouse-title{margin-top:18px;font-size:20px;font-weight:700;color:#0f172a}.warehouse-meta{margin-top:6px;font-size:14px;color:#64748b}.warehouse-metrics{margin-top:18px;display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.warehouse-metrics div{padding:12px 14px;border-radius:16px;background:#ffffffe0;border:1px solid #e2e8f0}.warehouse-metrics span{display:block;font-size:13px;color:#64748b}.warehouse-metrics strong{display:block;margin-top:4px;font-size:18px;color:#0f172a}.warehouse-detail-shell{margin-top:20px}.warehouse-switcher{display:flex;flex-wrap:wrap;gap:10px;margin-bottom:20px}.warehouse-pill{border:1px solid #dbe4ef;background:#fff;color:#334155;padding:10px 14px;border-radius:999px;font-weight:600;font-size:15px}.warehouse-pill-active{background:#2563eb;color:#fff;border-color:#2563eb;box-shadow:0 10px 24px #2563eb2e}.positions-stack{display:grid;gap:16px}.positions-toolbar{justify-content:flex-end}.positions-search-box{min-width:260px;background:#fff}.position-group{border:1px solid #e2e8f0;border-radius:22px;background:#fff;overflow:hidden;box-shadow:0 10px 24px #0f172a0a}.position-group-toggle{width:100%;display:flex;justify-content:space-between;gap:12px;align-items:flex-start;padding:20px;border:0;background:#fff;text-align:left;transition:background .2s ease}.position-group-toggle:hover,.position-group-toggle-active{background:#f8fbff}.position-group-body{padding:0 20px 20px}.position-title{font-size:19px}.subcategory-switcher{display:flex;flex-wrap:wrap;gap:10px;margin-bottom:18px}.subcategory-pill{display:inline-flex;align-items:center;gap:8px;border:1px solid #dbe4ef;background:#fff;color:#334155;padding:10px 14px;border-radius:999px;font-weight:600;font-size:15px}.subcategory-pill span{min-width:22px;height:22px;border-radius:999px;background:#eff6ff;color:#2563eb;display:inline-flex;align-items:center;justify-content:center;font-size:13px}.subcategory-pill-active{background:#2563eb;color:#fff;border-color:#2563eb;box-shadow:0 10px 24px #2563eb2e}.subcategory-pill-active span{background:#ffffff2e;color:#fff}.subcategory-tree{display:flex;flex-direction:column;gap:8px;margin-bottom:18px}.subcategory-tree-node{display:grid;gap:8px}.subcategory-pill-tree{width:100%;justify-content:flex-start;border-radius:16px}.subcategory-tree-chevron{min-width:14px;width:14px;height:14px;display:inline-flex;align-items:center;justify-content:center;color:#64748b;flex-shrink:0}.subcategory-tree-chevron-empty{opacity:0}.subcategory-pill-active .subcategory-tree-chevron{color:#fff}.subcategory-tree-marker{min-width:auto!important;width:auto!important;height:auto!important;border-radius:0!important;background:transparent!important;color:#64748b!important;font-size:12px!important;font-weight:700}.position-cards-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(220px,1fr));gap:14px;margin-top:18px}.position-card{border:1px solid #dbe4ef;border-radius:22px;background:linear-gradient(180deg,#fff,#f8fbff);padding:18px;text-align:left;box-shadow:0 10px 24px #0f172a0f;transition:transform .2s ease,border-color .2s ease,box-shadow .2s ease}.position-card:hover{transform:translateY(-2px);border-color:#93c5fd;box-shadow:0 14px 30px #2563eb1f}.position-card-top{display:flex;align-items:center;justify-content:space-between;gap:12px}.position-card-icon{width:42px;height:42px;border-radius:14px;background:#eff6ff;color:#2563eb;display:inline-flex;align-items:center;justify-content:center}.position-name{font-size:17px;font-weight:700;color:#0f172a}.position-sku{margin-top:4px;font-size:14px;color:#64748b}.position-card-metrics{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;margin-top:16px}.position-card-metrics div{padding:12px;border-radius:16px;background:#ffffffe6;border:1px solid #e2e8f0}.position-card-metrics span{display:block;font-size:12px;font-weight:700;color:#94a3b8;text-transform:uppercase;letter-spacing:.04em}.position-card-metrics strong{display:block;margin-top:6px;font-size:16px;color:#0f172a}.positions-catalog-page{grid-template-columns:minmax(0,1fr);gap:20px;padding:24px;background:#fff}.positions-catalog-head{display:flex;align-items:flex-start;justify-content:space-between;gap:16px}.positions-catalog-head h2{margin:0;font-size:24px;line-height:1.15;color:#0f172a}.positions-catalog-head p{margin:6px 0 0;color:#64748b;font-size:14px}.stock-select-block{width:230px;display:grid;gap:4px}.stock-select-block label{padding-left:18px;color:#64748b;font-size:13px;font-weight:600}.stock-select-block select{width:100%;height:34px;padding:0 28px 0 10px;border-radius:6px;border:1px solid #dbe4ef;background:#fff;color:#0f172a;font-size:13px;font-weight:600;outline:none}.stock-catalog-grid{display:grid;grid-template-columns:300px minmax(0,1fr);gap:16px;align-items:stretch;min-width:0}.stock-catalog-panel{min-width:0;overflow:hidden;border:1px solid #dbe4ef;border-radius:13px;background:#fff;box-shadow:0 10px 24px #0f172a09}.stock-panel-header{min-height:62px;display:flex;align-items:center;justify-content:space-between;gap:14px;padding:14px 16px;border-bottom:1px solid #e6eef8}.stock-panel-header h3{margin:0;font-size:17px;line-height:1.2;color:#0f172a}.stock-panel-actions{display:flex;align-items:center;justify-content:flex-end;gap:8px;min-width:0}.stock-position-actions{flex:1 1 auto}.stock-small-button,.stock-primary-button,.stock-icon-button{min-height:34px;display:inline-flex;align-items:center;justify-content:center;gap:8px;border-radius:8px;border:1px solid #dbe4ef;background:#fff;color:#0f172a;font-size:13px;font-weight:800;white-space:nowrap;transition:.18s ease}.stock-small-button{padding:0 10px}.stock-small-button-primary{color:#2563eb;background:#f8fbff}.stock-primary-button{padding:0 14px;color:#fff;border-color:#2563eb;background:#2563eb;box-shadow:0 10px 24px #2563eb38}.stock-icon-button{width:34px;padding:0}.stock-small-button:hover,.stock-icon-button:hover{border-color:#bfdbfe;background:#f8fbff}.stock-primary-button:hover{background:#1d4ed8}.stock-category-search,.stock-search-box{display:flex;align-items:center;gap:10px;height:42px;border:1px solid #dbe4ef;border-radius:9px;background:#fff;color:#64748b}.stock-category-search{margin:12px 14px;padding:0 14px}.stock-search-box{width:min(280px,26vw);min-width:190px;padding:0 12px}.stock-category-search input,.stock-search-box input{min-width:0;width:100%;border:0;outline:0;background:transparent;color:#0f172a;font-size:14px}.stock-category-search input::placeholder,.stock-search-box input::placeholder{color:#94a3b8}.stock-category-list{display:grid;align-content:start;min-height:0;max-height:640px;overflow-y:auto;padding-bottom:8px}.stock-category-node{display:grid}.stock-category-row{width:100%;min-height:44px;display:grid;grid-template-columns:22px minmax(0,1fr) auto 18px;align-items:center;gap:12px;padding:0 14px;border:0;border-bottom:1px solid #e6eef8;background:#fff;color:#0f172a;text-align:left;font-size:13px;font-weight:800}.stock-category-row:hover{background:#f8fbff}.stock-category-row-active{margin:0 8px;width:calc(100% - 16px);border:1px solid #2563eb;border-radius:9px;background:#eff6ff;color:#2563eb;box-shadow:inset 0 0 0 1px #2563eb14}.stock-category-icon{display:inline-flex;align-items:center;justify-content:center;color:currentColor}.stock-category-name{min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.stock-category-count{color:#334155;font-size:12px;font-weight:800}.stock-category-row-active .stock-category-count{color:#1d4ed8}.stock-category-arrow{color:#94a3b8}.stock-table-wrap{width:100%;overflow-x:auto}.stock-items-table{width:100%;min-width:800px;border-collapse:collapse;table-layout:fixed}.stock-items-table th,.stock-items-table td{height:58px;padding:10px 12px;border-bottom:1px solid #e6eef8;color:#0f172a;font-size:12px;vertical-align:middle}.stock-items-table th{height:44px;background:#f8fbff;color:#64748b;font-size:11px;font-weight:800;letter-spacing:.02em;text-transform:none}.stock-items-table th:nth-child(1){width:25%}.stock-items-table th:nth-child(2){width:10%}.stock-items-table th:nth-child(3){width:7%}.stock-items-table th:nth-child(4){width:14%}.stock-items-table th:nth-child(5){width:8%}.stock-items-table th:nth-child(6){width:12%}.stock-items-table th:nth-child(7){width:12%}.stock-items-table th:nth-child(8){width:8%}.stock-items-table tbody tr:hover{background:#f8fbff}.stock-item-name{width:100%;min-width:0;display:flex;align-items:center;gap:10px;border:0;background:transparent;color:#0f172a;text-align:left;font-size:12px;font-weight:800}.stock-item-copy{min-width:0;display:grid;gap:2px}.stock-item-copy strong,.stock-item-copy small{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.stock-item-copy small{color:#64748b;font-size:11px;font-weight:500}.stock-item-image{width:34px;height:34px;flex:0 0 34px;display:inline-flex;align-items:center;justify-content:center;border-radius:10px;color:#475569;background:linear-gradient(135deg,#f8fafc,#e2e8f0);border:1px solid #e2e8f0}.stock-row-actions{display:flex;align-items:center;justify-content:flex-end;gap:6px}.stock-row-action{width:26px;height:26px;display:inline-flex;align-items:center;justify-content:center;border:0;border-radius:8px;background:transparent;color:#0f172a}.stock-row-action:hover{background:#eff6ff;color:#2563eb}.stock-row-action-danger{color:#ef4444}.stock-row-action:disabled{opacity:.45;cursor:not-allowed}.stock-empty-row{min-height:180px;display:flex;align-items:center;justify-content:center;color:#94a3b8;font-weight:700}.stock-table-footer{min-height:66px;display:flex;align-items:center;justify-content:space-between;gap:16px;padding:14px 24px;color:#64748b;font-size:14px}.stock-pagination{display:flex;align-items:center;gap:10px}.stock-page-button,.stock-page-size{height:38px;min-width:38px;border:1px solid #dbe4ef;border-radius:8px;background:#fff;color:#0f172a;font-size:14px;font-weight:800}.stock-page-button{padding:0 12px}.stock-page-button-active{color:#fff;border-color:#2563eb;background:#2563eb}.stock-page-size{padding:0 34px 0 14px}.works-search-box{min-width:280px;padding:10px 14px;border-radius:16px;border:1px solid #dbe4ef;background:#fff}.works-search-box input{width:100%;border:0;outline:none;background:transparent;color:#0f172a;font-size:15px}.works-catalog-page{gap:20px;padding:24px;background:#fff}.work-catalog-heading{display:flex;align-items:flex-start;justify-content:space-between;gap:16px}.work-catalog-heading h2{margin:0;color:#0f172a;font-size:24px;line-height:1.15}.work-catalog-heading p{margin:6px 0 0;color:#64748b;font-size:14px}.work-catalog-grid{display:grid;grid-template-columns:300px minmax(0,1fr);gap:16px;align-items:stretch;min-width:0}.work-categories-panel,.work-items-panel{min-height:0}.work-categories-panel .works-tree{display:grid;align-content:start;gap:0;margin:0;min-height:0;max-height:640px;overflow-y:auto}.work-categories-panel .works-tree-node{display:grid;gap:0}.work-catalog-category-row,.work-categories-panel .works-tree-category,.work-categories-panel .works-tree-root{width:100%;min-height:44px;display:grid;grid-template-columns:22px minmax(0,1fr) auto 18px;align-items:center;gap:10px;margin:0;padding:0 14px;border:0;border-bottom:1px solid #e6eef8;border-radius:0;background:#fff;color:#0f172a;text-align:left;font-size:13px;font-weight:800;box-shadow:none}.work-catalog-category-row:hover,.work-categories-panel .works-tree-category:hover,.work-categories-panel .works-tree-root:hover{background:#f8fbff;border-color:#e6eef8}.work-catalog-category-row-active,.work-categories-panel .works-tree-category-active,.work-categories-panel .works-tree-root-active{margin:0 10px;width:calc(100% - 20px);min-height:40px;border:0;border-radius:8px;background:#eff6ff;color:#2563eb}.work-catalog-row-arrow{color:#94a3b8}.work-categories-panel .works-tree-chevron{color:currentColor}.work-categories-panel .works-tree-count{min-width:28px;height:24px;padding:0 9px;background:#f1f5f9;color:#475569;font-size:12px}.work-catalog-category-row-active .works-tree-count,.work-categories-panel .works-tree-category-active .works-tree-count,.work-categories-panel .works-tree-root-active .works-tree-count{background:#dbeafe;color:#1d4ed8}.work-items-table{width:100%;min-width:0;border-collapse:collapse;table-layout:fixed}.work-items-table th,.work-items-table td{height:58px;padding:10px 12px;border-bottom:1px solid #e6eef8;color:#0f172a;font-size:12px;vertical-align:middle}.work-items-table th{height:44px;background:#f8fbff;color:#64748b;font-size:11px;font-weight:800;text-transform:uppercase;letter-spacing:.04em}.work-items-table th:nth-child(1){width:30%}.work-items-table th:nth-child(2){width:17%}.work-items-table th:nth-child(3){width:12%}.work-items-table th:nth-child(4){width:12%}.work-items-table th:nth-child(5){width:19%}.work-items-table th:nth-child(6){width:10%}.work-items-table tbody tr:hover{background:#f8fbff}.work-table-row-active{background:#eff6ff}.work-table-name{width:100%;min-width:0;display:flex;align-items:center;gap:10px;border:0;background:transparent;color:#0f172a;text-align:left;font-size:12px;font-weight:800}.work-table-name span:last-child{min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.work-table-dot{width:6px;height:6px;flex:0 0 6px;border-radius:999px;background:#2563eb}.orders-search-box{display:flex;align-items:center;gap:10px;min-width:360px}.order-inline-search{min-width:100%;display:flex;align-items:center;gap:10px}.order-search-stack{display:grid;gap:10px}.order-search-results{display:grid;gap:8px;max-height:260px;overflow-y:auto;overscroll-behavior:contain}.order-search-results-highlighted{padding:10px;border-radius:16px;border:1px solid #bfdbfe;background:#eff6ff}.order-search-result{width:100%;display:grid;gap:2px;text-align:left;padding:12px 14px;border-radius:14px;border:1px solid #dbe4ef;background:#fff;color:#0f172a}.order-search-result:hover{border-color:#93c5fd;background:#f8fbff}.order-search-result strong{font-size:14px}.order-search-result span{font-size:13px;color:#64748b}.order-search-result-active{border-color:#2563eb;background:#dbeafe;box-shadow:inset 0 0 0 1px #2563eb2e}.order-search-hint{font-size:13px;font-weight:700;color:#1d4ed8}.works-table-wrap{margin-top:14px;max-height:640px;overflow:auto;border:1px solid #e2e8f0;border-radius:18px;background:#fff;scrollbar-gutter:stable both-edges}.orders-board{display:grid;grid-template-columns:repeat(auto-fit,minmax(220px,1fr));gap:14px;margin-top:14px;align-items:start;min-width:0}.orders-day-column{border:1px solid #dbe4ef;border-radius:18px;background:linear-gradient(180deg,#f8fbff,#fff);padding:12px;min-height:280px}.orders-day-header{padding-bottom:10px;border-bottom:1px solid #e2e8f0}.orders-day-top{display:flex;justify-content:space-between;align-items:center;gap:8px;font-size:14px;font-weight:700;color:#0f172a}.orders-day-title{margin-top:4px;font-size:15px;font-weight:700;color:#0f172a}.orders-day-date{margin-top:2px;font-size:13px;color:#64748b}.orders-day-statuses{display:flex;flex-wrap:wrap;gap:6px;margin-top:10px}.orders-day-status-badge{padding:4px 8px;font-size:11px}.orders-day-list{display:grid;gap:10px;margin-top:12px}.order-board-card{width:100%;height:auto;min-height:190px;text-align:left}.orders-empty-box{min-height:160px;display:flex;align-items:center;justify-content:center}.orders-alltime-wrap{margin-top:14px;max-height:720px}.orders-alltime-table{min-width:1120px}.orders-alltime-table tbody tr{cursor:pointer}.works-table{width:100%;border-collapse:collapse;min-width:760px}.works-table th,.works-table td{padding:14px 16px;text-align:left;border-bottom:1px solid #e2e8f0;vertical-align:top}.works-table th{position:sticky;top:0;z-index:1;font-size:13px;font-weight:800;color:#64748b;text-transform:uppercase;letter-spacing:.04em;background:#f8fbff}.works-table td{font-size:16px;color:#0f172a;line-height:1.4}.works-table tbody tr{cursor:pointer;transition:background .2s ease}.works-table tbody tr:hover{background:#f8fbff}.works-table tbody tr:last-child td{border-bottom:0}.works-table-row-active{background:#eff6ff}.works-description{margin-top:16px;padding:14px 16px;border-radius:16px;border:1px solid #dbeafe;background:linear-gradient(180deg,#fff,#f8fbff);font-size:15px;line-height:1.5;color:#1e293b}.works-tree-layout{display:grid;grid-template-columns:minmax(0,1fr) minmax(300px,380px);gap:16px;align-items:start}.works-tree-panel{min-width:0;padding:12px}.works-tree{display:grid;gap:4px;margin-top:8px}.works-tree-node{display:grid;gap:4px}.works-tree-root,.works-tree-category,.works-tree-work{width:100%;min-width:0;border:1px solid transparent;background:transparent;color:#334155;text-align:left;display:grid;align-items:center;gap:8px;border-radius:12px;transition:.16s ease}.works-tree-root{display:block;padding:10px 12px;font-weight:800;color:#0f172a;background:#f8fafc;border-color:#e2e8f0}.works-tree-root:hover,.works-tree-category:hover,.works-tree-work:hover{background:#f8fbff;border-color:#bfdbfe}.works-tree-root-active,.works-tree-category-active,.works-tree-work-active{background:#eff6ff;border-color:#2563eb;color:#1d4ed8}.works-tree-category{grid-template-columns:16px 18px minmax(0,1fr) auto;padding:9px 12px;font-size:15px;font-weight:800}.works-tree-chevron{color:#64748b;transition:transform .16s ease}.works-tree-chevron-open{transform:rotate(90deg)}.works-tree-category-name,.works-tree-work-name{min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.works-tree-count{min-width:24px;height:22px;border-radius:999px;background:#e2e8f0;color:#475569;display:inline-flex;align-items:center;justify-content:center;padding:0 7px;font-size:12px;font-weight:800}.works-tree-category-active .works-tree-count{background:#dbeafe;color:#1d4ed8}.works-tree-work{grid-template-columns:18px minmax(0,1fr) auto;padding:8px 10px;font-size:14px}.works-tree-work-meta{color:#64748b;font-size:13px;white-space:nowrap}.work-extras-head{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:12px}.work-extras-list,.work-parts-list{display:grid;gap:10px}.work-part-row{display:grid;grid-template-columns:minmax(220px,1.5fr) minmax(160px,1fr) 90px 110px 110px auto;gap:8px;align-items:center}.work-part-row input,.work-part-row select{min-width:0}.work-extra-row{display:grid;grid-template-columns:minmax(0,1fr) 160px auto;gap:10px;align-items:center}.work-extra-summary{margin-top:16px}.work-extra-summary-title{font-size:13px;font-weight:800;letter-spacing:.04em;text-transform:uppercase;color:#64748b}.work-extra-chip-list{display:flex;flex-wrap:wrap;gap:8px;margin-top:12px}.work-extra-chip{display:inline-flex;align-items:center;border-radius:999px;border:1px solid #bfdbfe;background:#eff6ff;color:#1d4ed8;padding:7px 12px;font-size:13px;font-weight:700}.works-tree-layout.work-catalog-grid{grid-template-columns:300px minmax(0,1fr);gap:16px}.work-categories-panel.works-tree-panel{padding:0}.work-categories-panel .works-tree-root,.work-categories-panel .works-tree-category{width:100%;min-height:44px;grid-template-columns:22px minmax(0,1fr) auto 18px;gap:10px;margin:0;padding:0 14px;border:0;border-bottom:1px solid #e6eef8;border-radius:0;background:#fff;color:#0f172a;box-shadow:none}.work-categories-panel .works-tree-root{display:grid}.work-categories-panel .works-tree-root-active,.work-categories-panel .works-tree-category-active{margin:0 10px;width:calc(100% - 20px);min-height:40px;border:0;border-radius:8px;background:#eff6ff;color:#2563eb}.product-detail-list{font-size:22px;line-height:1.55;gap:14px}.product-detail-description{font-size:20px;line-height:1.65}.overlay{position:fixed;top:0;right:0;bottom:0;left:0;background:#0f172a6b;display:flex;align-items:center;justify-content:center;padding:24px;z-index:1000;overflow-y:auto}.modal{width:min(880px,100%);max-height:calc(100vh - 48px);overflow:auto;background:#fff;border-radius:24px;border:1px solid #e2e8f0;padding:24px;box-shadow:0 40px 80px #0f172a2e}.modal-wide{width:min(1280px,100%)}.modal.gbo-reminder-modal{width:min(560px,calc(100vw - 28px));border-radius:12px}.gbo-reminder-modal-text{margin:0;color:var(--muted);line-height:1.5}.gbo-reminder-list{display:grid;gap:8px;margin-top:16px}.gbo-reminder-item{display:grid;gap:3px;padding:10px 12px;border:1px solid var(--border);border-radius:8px}.gbo-reminder-item strong{font-weight:700}.gbo-reminder-item span{color:var(--muted);font-size:13px}.modal.modal-record{width:min(780px,calc(100vw - 28px));padding:16px}.modal-record>.modal-header{margin-bottom:14px}.modal-record>.modal-header h3{font-size:18px}.modal-record>.record-form-grid{grid-template-columns:repeat(4,minmax(0,1fr));gap:10px 12px}.record-form-grid>.field{min-width:0;align-content:start;gap:5px}.record-form-grid>.record-post-field,.record-form-grid>.record-day-field,.record-form-grid>.record-client-field,.record-form-grid>.record-phone-field{grid-column:span 2}.modal-record .field label{font-size:13px}.modal-record .field input,.modal-record .field select,.modal-record .field textarea{min-height:36px;padding:7px 10px;font-size:14px;border-radius:8px}.modal-record .selected-row{padding:8px 10px}.modal-record .selected-row-title{font-size:14px}.modal-record>.modal-actions{margin-top:14px;gap:8px}@media (max-width: 700px){.modal-record>.record-form-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.record-form-grid>.record-post-field{grid-column:auto}}.drawer{margin-left:auto;width:min(720px,100%);height:calc(100vh - 48px);max-height:calc(100vh - 48px);background:#fff;border-left:1px solid #e2e8f0;padding:24px;box-shadow:-20px 0 60px #0f172a1f;overflow:auto}.modal-header{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:20px}.modal-header h3{margin:0;font-size:22px}.form-grid{display:grid;grid-template-columns:repeat(2,1fr);gap:16px}.field{display:grid;gap:8px}.field-full{grid-column:1 / -1}.field label{font-size:15px;font-weight:600;color:#334155}.field input,.field textarea,.field select{width:100%;border:1px solid #dbe4ef;background:#fff;border-radius:14px;padding:12px 14px;outline:none;transition:border-color .2s ease,box-shadow .2s ease;font-size:15px}.field input:focus,.field textarea:focus,.field select:focus{border-color:#60a5fa;box-shadow:0 0 0 3px #60a5fa26}.segmented-control{display:inline-flex;gap:4px;padding:4px;border:1px solid #dbe4ef;border-radius:14px;background:#f8fafc}.segmented-control button{border:0;border-radius:10px;padding:9px 14px;background:transparent;color:#64748b;font-weight:800;cursor:pointer}.segmented-control .segmented-active{background:#2563eb;color:#fff;box-shadow:0 8px 18px #2563eb33}.inline-field-head{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:8px}.compact-button{min-height:36px;padding:8px 12px;white-space:nowrap}.nested-form-list{display:grid;gap:8px}.nested-form-row{display:grid;grid-template-columns:1.2fr .9fr .9fr 1fr 1fr auto;gap:8px;align-items:center}.nested-form-row input{min-width:0}.order-meta-layout{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px;margin-bottom:18px;align-items:start}.order-editor-fieldset{margin:0;padding:0;border:0;min-width:0}.order-editor-fieldset:disabled{opacity:1}.order-meta-card{min-width:0;padding:16px;border:1px solid #dbe4ef;border-radius:20px;background:linear-gradient(180deg,#fff,#f8fbff);box-shadow:0 10px 24px #0f172a0a;overflow:hidden}.order-meta-card-full,.order-meta-card-wide{grid-column:1 / -1}.order-meta-card-title{margin-bottom:12px;font-size:14px;font-weight:800;color:#0f172a;letter-spacing:.01em}.order-meta-grid{display:grid;grid-template-columns:repeat(12,minmax(0,1fr));align-items:flex-start;gap:10px 12px;margin-bottom:0}.order-meta-grid .field{gap:5px}.order-meta-grid .field label{font-size:13px;font-weight:700;color:#64748b}.order-meta-grid .field input,.order-meta-grid .field select,.order-meta-grid .field textarea{min-height:38px;padding:8px 10px;font-size:15px;border-radius:10px}.order-meta-grid .field textarea{min-height:72px}.order-meta-field{min-width:0;width:auto}.order-meta-field-short,.order-meta-field-date{grid-column:span 3}.order-meta-field-medium{grid-column:span 4}.order-meta-field-long,.order-meta-field-client,.order-meta-field-car{grid-column:span 6}.order-meta-field-client input,.order-meta-field-car input,.order-meta-field-client .order-inline-search,.order-meta-field-car .order-inline-search{min-width:0;width:100%}.order-meta-field-client .works-search-box,.order-meta-field-car .works-search-box{width:100%}.order-meta-grid .field-full{grid-column:1 / -1;width:100%}.order-meta-grid-client{display:grid;grid-template-columns:repeat(12,minmax(0,1fr));align-items:start;gap:12px}.order-meta-grid-client .order-meta-field{width:auto;min-width:0}.order-meta-grid-client .order-meta-field-client{grid-column:1 / span 7}.order-meta-grid-client .order-meta-field-phone{grid-column:8 / span 5}.order-meta-grid-client .order-meta-field-vehicle,.order-meta-grid-client .order-meta-field-medium{grid-column:1 / span 5}.order-meta-grid-client .order-meta-field-previous-mileage{grid-column:6 / span 3}.order-meta-grid-client .order-meta-field-current-mileage{grid-column:9 / span 4}.order-meta-grid-client .order-meta-field-short{min-width:0}.order-meta-grid-client .order-search-stack,.order-meta-grid-client .order-search-results,.order-meta-grid-client .works-search-box{width:100%;min-width:0}.field-warning{padding:10px 12px;border-radius:12px;background:#fff7ed;border:1px solid #fdba74;color:#9a3412;font-size:14px}.field-hint{margin-top:6px;font-size:13px;color:#64748b;line-height:1.4}.suggest-field{position:relative}.suggest-list{position:absolute;top:calc(100% + 6px);left:0;right:0;z-index:20;display:grid;gap:4px;max-height:240px;overflow-y:auto;padding:8px;border:1px solid #dbe4ef;border-radius:16px;background:#fff;box-shadow:0 18px 42px #0f172a24}.suggest-item{width:100%;display:grid;gap:2px;padding:10px 12px;border:0;border-radius:12px;background:transparent;text-align:left;color:#0f172a}.suggest-item:hover{background:#f8fafc}.suggest-item-meta{font-size:12px;font-weight:700;color:#94a3b8;text-transform:uppercase;letter-spacing:.04em}.suggest-item-title{font-size:15px;font-weight:700}.suggest-item-subtitle{font-size:13px;color:#64748b}.suggest-empty{padding:10px 12px;font-size:14px;color:#64748b}.record-inline-actions{display:flex;gap:10px;flex-wrap:wrap}.record-inline-card{padding:18px;border:1px solid #e2e8f0;border-radius:18px;background:#f8fafc}.record-inline-title{margin-bottom:14px;font-size:18px;font-weight:700;color:#0f172a}.record-work-picker{display:flex;gap:10px;align-items:center;flex-wrap:wrap}.record-work-picker select{min-width:260px}.orders-list{max-height:720px}.orders-table-wrap{margin-top:14px;max-height:720px}.order-page-panel{margin-top:0}.orders-table td:nth-child(1){white-space:nowrap;font-weight:700}.orders-table td:nth-child(2),.orders-table td:nth-child(5){white-space:nowrap}.order-section{margin-top:18px;padding:18px;border:1px solid #cbd5e1;border-radius:22px;background:linear-gradient(180deg,#fff,#f8fbff);box-shadow:inset 0 0 0 1px #94a3b814}.order-section .service-section-title{margin-bottom:0}.order-section-actions{display:flex;justify-content:flex-start;margin:10px 0 12px}.order-edit-table-wrap{max-height:640px;min-height:220px;border-color:#d7e3f1;overflow-y:auto;overflow-x:auto;scrollbar-gutter:stable both-edges}.order-edit-table{width:100%;min-width:1120px;table-layout:fixed}.order-edit-table th:first-child,.order-edit-table td:first-child{width:44px;text-align:left;padding-left:12px}.order-edit-table th:nth-child(2),.order-edit-table td:nth-child(2){width:240px}.order-edit-table th:nth-child(3),.order-edit-table th:nth-child(5),.order-edit-table th:nth-child(6),.order-edit-table td:nth-child(3),.order-edit-table td:nth-child(5),.order-edit-table td:nth-child(6){width:94px}.order-edit-table th:nth-child(4),.order-edit-table td:nth-child(4){width:78px}.order-edit-table th:nth-child(7),.order-edit-table td:nth-child(7){width:280px}.order-edit-table th:nth-child(8),.order-edit-table td:nth-child(8){width:170px}.order-edit-table tfoot strong{display:inline-block;min-width:110px;font-variant-numeric:tabular-nums;white-space:nowrap}.order-edit-table th,.order-edit-table td{text-align:center;vertical-align:middle}.order-edit-table td select,.order-edit-table td input{min-width:0}.order-cell-primary{font-weight:700;color:#0f172a;text-align:center}.order-cell-secondary{margin-top:4px;font-size:13px;color:#64748b;text-align:center;display:flex;justify-content:center}.order-inline-participations{display:flex;align-items:center;justify-content:center;gap:8px;overflow-x:auto;padding-bottom:2px}.order-inline-participation-card{display:flex;align-items:center;justify-content:center;gap:8px;min-width:0;padding:6px 8px;border:1px solid #dbe4ef;border-radius:14px;background:#fff;flex:0 1 320px;max-width:360px}.order-participation-select{min-width:0;flex:1 1 auto;padding:9px 10px!important;font-size:16px!important;border-radius:10px!important}.order-number-input,.order-percent-input{width:84px;min-width:84px;height:38px;padding:6px 8px!important;font-size:15px!important;font-weight:600;line-height:1;border-radius:10px!important;text-align:center!important;font-variant-numeric:tabular-nums}.order-number-input::placeholder,.order-percent-input::placeholder{text-align:center}.order-percent-input{width:78px;min-width:78px}.order-edit-table td:nth-child(3) .order-number-input{width:74px;min-width:74px}.order-edit-table td:nth-child(5) .order-number-input,.order-edit-table td:nth-child(6) .order-number-input{width:86px;min-width:86px}.order-calculated-input:disabled{color:#0f172a;background:#eef4fb;border-color:#d7e3f1;cursor:not-allowed;opacity:1}.order-row-actions{display:flex;align-items:center;gap:8px;white-space:nowrap}.order-edit-table tfoot td{text-align:center}.order-picker-modal{width:min(1180px,100%)}.order-picker-toolbar{display:grid;grid-template-columns:minmax(280px,1.2fr) minmax(220px,.8fr);gap:16px;align-items:end;margin-bottom:20px}.order-picker-toolbar-goods{grid-template-columns:minmax(280px,1.1fr) minmax(220px,.7fr) minmax(220px,.7fr)}.order-picker-table-wrap{max-height:min(56vh,560px);overflow:auto;border:1px solid #dbe4ef;border-radius:10px}.order-picker-table{width:100%;min-width:760px;border-collapse:collapse}.order-picker-table th{position:sticky;top:0;z-index:1;padding:11px 12px;color:#64748b;background:#f8fafc;font-size:12px;text-align:left;text-transform:uppercase;letter-spacing:0}.order-picker-table td{padding:10px 12px;border-top:1px solid #e6eef8;vertical-align:middle;color:#334155}.order-picker-table tbody tr:hover{background:#f8fbff}.order-picker-table .order-picker-selectable-row{cursor:pointer}.order-picker-table .order-picker-selectable-row:focus{outline:2px solid #2563eb;outline-offset:-2px}.order-picker-table .order-picker-selectable-row[aria-pressed=true]{cursor:default}.order-picker-table td strong{color:#0f172a}.order-picker-table td small{display:block;max-width:360px;margin-top:3px;overflow:hidden;color:#71819a;font-size:12px;text-overflow:ellipsis;white-space:nowrap}.order-picker-row-added{background:#effcf4}.order-picker-selected{display:grid;gap:8px;margin:0 0 14px;padding:10px 12px;border:1px solid #bbf7d0;border-radius:8px;background:#f0fdf4;color:#166534}.order-picker-selected-list{display:flex;flex-wrap:wrap;gap:6px}.order-picker-selected-item{display:inline-flex;align-items:center;gap:4px;max-width:100%;padding:4px 6px 4px 8px;color:#166534;background:#dcfce7;border-radius:6px;font-size:13px}.order-picker-selected-item .icon-button{width:24px;height:24px;color:#166534}.work-extra-modal-note{margin-bottom:16px;padding:14px 16px;border:1px solid #dbe4ef;border-radius:18px;background:linear-gradient(180deg,#fff,#f8fbff);color:#475569;font-size:14px;line-height:1.5}.work-extra-form{display:grid;grid-template-columns:minmax(0,1.6fr) minmax(140px,.7fr) auto;gap:12px;align-items:end;margin-bottom:16px;padding:16px;border:1px solid #dbe4ef;border-radius:20px;background:linear-gradient(180deg,#fff,#f8fbff);box-shadow:0 10px 24px #0f172a0a}.work-extra-form input{width:100%;min-width:0;height:46px;padding:0 14px;border:1px solid #dbe4ef;border-radius:14px;background:#fff;color:#0f172a;font-size:15px;transition:border-color .2s ease,box-shadow .2s ease}.work-extra-form input:focus{border-color:#60a5fa;box-shadow:0 0 0 3px #60a5fa26;outline:none}.work-extra-form .secondary-button{height:46px;padding-inline:18px;border-radius:14px;white-space:nowrap}.work-extra-form+.alert{margin-bottom:16px}.work-extra-modal-list{display:grid;gap:12px}.work-extra-select-card{display:flex;align-items:center;justify-content:space-between;gap:14px;width:100%;text-align:left;border-radius:18px;border:1px solid #dbe4ef;background:linear-gradient(180deg,#fff,#f8fbff);padding:16px 18px;color:#0f172a;box-shadow:0 8px 20px #0f172a0a;transition:border-color .2s ease,box-shadow .2s ease,transform .2s ease,background .2s ease}.work-extra-select-card:hover{border-color:#93c5fd;box-shadow:0 14px 30px #2563eb1f;transform:translateY(-1px)}.work-extra-select-card strong{font-size:15px;font-weight:700;color:#0f172a}.work-extra-select-card span{font-size:14px;font-weight:800;color:#2563eb;white-space:nowrap}.work-extra-select-card-active{border-color:#2563eb;background:linear-gradient(180deg,#eff6ff,#dbeafe);box-shadow:0 12px 28px #2563eb29}.orders-editor-list{max-height:none}.order-participation-row{align-items:end}.order-inline-actions{align-self:end}.order-inline-actions .secondary-button{width:100%;justify-content:center}.calendar-shell{max-width:100%;min-width:0;max-height:min(720px,calc(100vh - 210px));border:1px solid #e5e7eb;border-radius:22px;overflow:auto;background:#fff;scrollbar-gutter:stable}.calendar-toolbar-actions{display:flex;align-items:center;gap:10px;flex-wrap:wrap}.calendar-view-controls{display:flex;align-items:center;min-height:38px;border:1px solid #dbe4ef;border-radius:8px;overflow:hidden;background:#f8fafc}.calendar-view-button{align-self:stretch;padding:0 12px;border:0;border-right:1px solid #dbe4ef;border-radius:0;background:transparent;color:#475569;font-size:13px;font-weight:700}.calendar-view-button:hover{background:#eff6ff;color:#1d4ed8}.calendar-view-button-active{background:#2563eb;color:#fff}.calendar-view-button-active:hover{background:#1d4ed8;color:#fff}.calendar-day-select{align-self:stretch;max-width:180px;min-width:132px;padding:0 28px 0 10px;border:0;border-radius:0;background-color:#fff;color:#0f172a;font-size:13px;font-weight:700}.calendar-shell-day{overflow-x:hidden}.calendar-shell-day .calendar-topbar,.calendar-shell-day .calendar-body{min-width:0}.calendar-shell-day .calendar-days-head,.calendar-shell-day .calendar-grid{grid-template-columns:minmax(0,1fr);width:100%}.calendar-topbar{position:sticky;top:0;z-index:5;display:grid;grid-template-columns:78px minmax(0,1fr);min-width:980px;border-bottom:1px solid #e5e7eb;background:#fff}.calendar-timezone{display:flex;align-items:center;justify-content:center;padding:14px 8px;font-size:13px;font-weight:700;color:#64748b;background:#f8fafc;border-right:1px solid #e5e7eb}.calendar-days-head{display:grid;grid-template-columns:repeat(7,minmax(120px,1fr))}.calendar-day-head{display:flex;align-items:center;justify-content:center;gap:8px;min-height:62px;border:0;border-right:1px solid #eef2f7;background:#fff;color:#0f172a;font-weight:700}.calendar-day-head:last-child{border-right:0}.calendar-day-head:hover{background:#f0f7ff}.calendar-day-head-active{background:#eef6ff}.calendar-day-head-past{color:#94a3b8}.calendar-day-week{font-size:16px;text-transform:lowercase}.calendar-day-number{min-width:28px;height:28px;border-radius:999px;display:inline-flex;align-items:center;justify-content:center;font-size:15px}.calendar-day-number-today{background:#ef4444;color:#fff;box-shadow:0 8px 18px #ef44443d}.calendar-body{display:grid;grid-template-columns:78px minmax(0,1fr);min-width:980px}.calendar-time-column{position:relative;background:#fff;border-right:1px solid #e5e7eb}.calendar-time-slot{position:absolute;left:0;right:0;padding:0 10px;text-align:right;pointer-events:none;line-height:1}.calendar-time-slot-hour{transform:translateY(-50%);font-size:13px;color:#64748b}.calendar-time-slot-half{transform:translateY(-50%);font-size:12px;color:#94a3b8}.calendar-time-slot-start{transform:none}.calendar-grid{position:relative;display:grid;grid-template-columns:repeat(7,minmax(120px,1fr));background:linear-gradient(180deg,#fff,#f7fbff)}.calendar-day-column{position:relative;border-right:1px solid #eef2f7}.calendar-day-column:last-child{border-right:0}.calendar-day-column-active{background:#3b82f60f}.calendar-day-column-past{background:#94a3b814}.calendar-day-hitarea{position:absolute;top:0;right:0;bottom:0;left:0;z-index:1}.calendar-day-hitarea-disabled{cursor:not-allowed}.calendar-hour-line{position:absolute;left:0;right:0;height:1px;background:#edf2f7}.calendar-half-hour-line{position:absolute;left:0;right:0;height:1px;border-top:1px dashed rgba(148,163,184,.28)}.calendar-selection{position:absolute;left:8px;right:8px;z-index:2;border:1px dashed #3b82f6;border-radius:10px;background:#3b82f61a;color:#1d4ed8;padding:8px 10px;font-size:13px;font-weight:700;pointer-events:none}.calendar-event{position:absolute;display:flex;flex-direction:column;gap:3px;padding:8px 9px;border:1px solid #bfdbfe;border-radius:10px;background:linear-gradient(180deg,#fff,#eff6ff);color:#16324f;text-align:left;box-shadow:0 8px 18px #2563eb14;overflow:hidden;align-items:stretch}.calendar-event{z-index:3}.calendar-event:hover{background:linear-gradient(180deg,#fff,#dbeafe);border-color:#93c5fd}.calendar-event-active-day{box-shadow:0 10px 24px #2563eb1f}.calendar-event-time{font-size:13px;font-weight:800;line-height:1.2;color:#1d4ed8}.calendar-event-title{font-size:14px;font-weight:700;line-height:1.22;color:#0f172a;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden;word-break:break-word}.calendar-event-subtitle{font-size:13px;line-height:1.24;color:#475569;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden;word-break:break-word}.calendar-event-client{margin-top:auto;font-size:12px;line-height:1.24;color:#64748b;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.calendar-event-compact{padding:4px 6px;gap:1px}.calendar-event-compact .calendar-event-time{font-size:12px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.calendar-event-compact .calendar-event-title{font-size:13px;line-height:1.15;-webkit-line-clamp:1}.calendar-event-compact .calendar-event-subtitle,.calendar-event-compact .calendar-event-client{display:none}.calendar-event-medium{gap:2px}.calendar-event-medium .calendar-event-subtitle{-webkit-line-clamp:2}.modal-actions{display:flex;justify-content:flex-end;gap:12px;margin-top:24px;flex-wrap:wrap}.confirm-text{font-size:15px;color:#334155}@media (max-width: 1440px){.services-master-layout{grid-template-columns:280px minmax(0,1fr)}}@media (max-width: 1280px){.stats-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.works-table{min-width:0;table-layout:fixed}.works-table th,.works-table td{padding:12px;font-size:14px;overflow-wrap:anywhere;word-break:break-word}}@media (max-width: 1100px){.stats-grid{grid-template-columns:1fr}.calendar-shell{overflow-x:auto}}@media (max-width: 1180px){.entity-profile-hero,.car-profile-hero,.entity-profile-grid,.entity-main-grid{grid-template-columns:minmax(0,1fr)}.car-hero-specs{padding-left:0;border-left:0;border-top:1px solid #e2e8f0;padding-top:14px}.car-vehicle-details{grid-template-columns:205px minmax(0,1fr)}.car-owner-details{padding-left:0;border-left:0;border-top:1px solid #e2e8f0;padding-top:14px}.services-layout,.services-master-layout{grid-template-columns:minmax(0,1fr)}.service-category-panel .subcategory-tree{max-height:none;overflow:visible;padding-right:0}}@media (max-width: 640px){.car-vehicle-details{grid-template-columns:minmax(0,1fr)}.car-photo-placeholder{width:100%;height:180px}.calendar-toolbar-actions{width:100%}.calendar-view-controls{flex:1 1 100%}.calendar-day-select{flex:1 1 auto;max-width:none}}@keyframes save-toast-in{0%{opacity:0;transform:translate3d(0,12px,0)}to{opacity:1;transform:translateZ(0)}}@keyframes spin{to{transform:rotate(360deg)}}@media (max-width: 980px){.layout{grid-template-columns:1fr}.sidebar{display:none}.topbar{flex-direction:column;align-items:stretch}.topbar-right{justify-content:space-between}.content{padding:20px}.form-grid,.directory-layout,.receipt-item-grid,.order-meta-layout{grid-template-columns:1fr}.order-meta-grid{grid-template-columns:repeat(6,minmax(0,1fr))}.order-meta-field,.order-meta-field-short,.order-meta-field-date,.order-meta-field-medium,.order-meta-field-long,.order-meta-field-client,.order-meta-field-car{grid-column:span 3}.order-meta-grid-client{grid-template-columns:repeat(2,minmax(0,1fr))}.order-meta-grid-client .order-meta-field-client,.order-meta-grid-client .order-meta-field-phone,.order-meta-grid-client .order-meta-field-vehicle,.order-meta-grid-client .order-meta-field-previous-mileage,.order-meta-grid-client .order-meta-field-current-mileage,.order-meta-grid-client .order-meta-field-medium{grid-column:auto}.detail-panel{position:static}.staff-shell{grid-template-columns:minmax(0,1fr)}.staff-detail-card{position:static}.staff-salary-summary-grid{grid-template-columns:1fr}.my-earnings-metrics,.my-earnings-day{grid-template-columns:repeat(2,minmax(0,1fr))}.service-mini-stats,.work-extra-row,.service-schedule-row{grid-template-columns:1fr}.records-grid-squares{grid-template-columns:repeat(auto-fit,minmax(180px,1fr))}.stats-grid,.accounting-cashflow-grid{grid-template-columns:1fr}.analytics-table{min-width:720px}.analytics-leaderboard-label{min-width:0}.orders-board{grid-template-columns:repeat(2,minmax(220px,1fr))}.calendar-shell{overflow-x:auto}.positions-toolbar{width:100%}.positions-search-box,.works-search-box{min-width:100%}.position-cards-grid{grid-template-columns:repeat(auto-fit,minmax(180px,1fr))}.order-picker-toolbar,.order-picker-toolbar-goods{grid-template-columns:1fr}}@media (max-width: 640px){.app-shell{padding:10px}.staff-accruals-modal-summary{align-items:flex-start;flex-direction:column}.my-earnings-page{padding:18px}.my-earnings-toolbar,.my-earnings-range{align-items:stretch;width:100%}.my-earnings-period-tabs{width:100%}.my-earnings-period-tabs .staff-salary-tab{min-width:0}.my-earnings-range label{flex:1 1 130px}.my-earnings-range input{width:100%}.my-earnings-metrics,.my-earnings-breakdown,.my-earnings-day{grid-template-columns:1fr}.my-earnings-breakdown div{border-right:0;border-bottom:1px solid #e2e8f0}.my-earnings-breakdown div:last-child{border-bottom:0}.panel,.modal,.drawer{padding:16px;border-radius:18px}.search-box{display:none}.toolbar{width:100%;flex-direction:column;align-items:stretch}.days-switcher{width:100%;overflow-x:auto}.primary-button,.secondary-button,.danger-button{justify-content:center}.analytics-toolbar-row,.analytics-toolbar-row-filters,.accounting-header-actions{flex-direction:column;align-items:stretch}.analytics-service-point-field,.analytics-range-fields .field{min-width:0}.analytics-range-fields{flex-direction:column;align-items:stretch}.order-meta-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.order-meta-field,.order-meta-field-short,.order-meta-field-date,.order-meta-field-medium,.order-meta-field-long,.order-meta-field-client,.order-meta-field-car{grid-column:1 / -1}.order-meta-grid-client,.orders-board{grid-template-columns:1fr}.save-toast{left:10px;right:10px;bottom:10px;text-align:center}}.auth-shell{min-height:100vh;display:grid;place-items:center;padding:32px;background:radial-gradient(circle at top left,rgba(37,99,235,.14),transparent 28%),linear-gradient(180deg,#f8fbff,#eef4ff)}.auth-card{width:min(100%,480px);background:#fffffff5;border:1px solid #d7e5ff;border-radius:28px;box-shadow:0 28px 70px #0f172a1f;padding:28px}.auth-card-head{display:flex;align-items:center;gap:14px;margin-bottom:18px}.auth-brand-badge{width:42px;height:42px;border-radius:14px;display:grid;place-items:center;color:#1d4ed8;background:linear-gradient(180deg,#dbeafe,#bfdbfe)}.auth-title{font-size:28px;font-weight:800;color:#0f172a}.auth-subtitle{margin-top:4px;color:#64748b;font-size:14px}.auth-info-box{display:flex;align-items:center;gap:10px;padding:12px 14px;border-radius:16px;margin-bottom:18px;background:#eff6ff;color:#1e3a8a}.auth-form{display:grid;gap:16px}.auth-submit-button{justify-content:center}.checkbox-row{display:flex;align-items:flex-start;gap:10px;font-size:14px;color:#334155}.checkbox-row input{margin-top:3px}.permissions-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px 14px;padding:14px;border:1px solid #dbe5f4;border-radius:18px;background:#f8fbff}.permissions-row{padding:10px 12px;border-radius:14px;background:#fff;border:1px solid #e2e8f0}.access-form-grid{grid-template-columns:repeat(2,minmax(0,1fr));align-items:start;gap:18px}.access-form-card{margin-bottom:2px}.access-grid-two{min-width:0}.access-user-card{padding:18px 20px;border:1px solid #dbe5f4;border-radius:20px;background:linear-gradient(180deg,#fff,#f8fbff);box-shadow:0 10px 24px #0f172a0a}.access-user-card-label{font-size:13px;font-weight:700;color:#64748b;text-transform:uppercase;letter-spacing:.04em}.access-user-card-name{margin-top:8px;font-size:21px;font-weight:800;color:#0f172a;word-break:break-word}.access-user-card-role{margin-top:6px;font-size:14px;color:#475569}.access-password-field input{margin-bottom:6px}.access-toggle-card{width:100%;padding:14px 16px;border:1px solid #dbe5f4;border-radius:18px;background:#f8fbff}.access-toggle-field .checkbox-row{width:100%}.access-invite-row{display:grid;grid-template-columns:auto minmax(0,1fr) auto;gap:12px;align-items:center}.access-invite-row input{width:100%}.access-permissions-grid{max-height:420px;overflow-y:auto;grid-template-columns:repeat(2,minmax(0,1fr));align-items:start;gap:12px}.access-permissions-grid .permissions-row{min-height:88px;display:grid;grid-template-columns:18px minmax(0,1fr);gap:12px;align-items:start;padding:14px 16px;line-height:1.45}.access-permissions-grid .permissions-row input{margin-top:3px}.auth-register-card{margin-bottom:18px}.topbar-logout-button{flex-shrink:0}@media (max-width: 760px){.permissions-grid,.access-form-grid,.access-invite-row,.access-permissions-grid{grid-template-columns:1fr}}body{font-size:14px}button,input,textarea,select{min-width:0}.app-shell{padding:14px}.layout{width:min(2200px,100%);grid-template-columns:220px minmax(0,1fr);border-radius:22px}.sidebar-brand{height:68px;padding:0 18px}.brand-icon{width:38px;height:38px;border-radius:14px}.brand-title{font-size:17px}.sidebar-nav{padding:12px;gap:4px}.sidebar-item{padding:11px 12px;border-radius:12px;font-size:14px}.topbar{min-height:68px;padding:12px 22px}.page-title{font-size:23px}.page-subtitle{font-size:14px}.content{padding:22px;gap:18px}.panel{padding:18px;border-radius:20px}.panel-title{font-size:19px}.panel-subtitle{font-size:14px}.stats-grid,.analytics-kpi-grid{grid-template-columns:repeat(auto-fit,minmax(180px,1fr));gap:12px}.stat-card,.info-card,.service-section-card,.analytics-staff-card,.analytics-expense-card,.accounting-cashflow-card{padding:14px;border-radius:18px}.stat-icon{width:36px;height:36px;border-radius:12px}.dashboard-page .stat-icon{width:28px;height:28px;border-radius:8px}.dashboard-page .stat-icon svg{width:15px;height:15px}.dashboard-page .stats-grid{gap:10px}.dashboard-page .stat-card{min-height:64px;gap:9px;padding:10px 12px;border-radius:12px}.dashboard-page .stat-label{font-size:12px}.dashboard-page .stat-value{margin-top:0;font-size:20px}.stat-label,.detail-list,.field label,.field input,.field textarea,.field select,.primary-button,.secondary-button,.danger-button{font-size:14px}.stat-value{font-size:23px}.primary-button,.secondary-button,.danger-button{padding:9px 13px;border-radius:13px}.search-box{min-width:min(320px,40vw);padding:8px 12px;border-radius:13px}.search-box input{min-width:160px;width:min(300px,36vw)}.cards-grid,.warehouse-grid,.accounting-documents-grid{grid-template-columns:repeat(auto-fit,minmax(220px,1fr));gap:12px}.directory-layout{grid-template-columns:minmax(0,1.5fr) minmax(260px,.8fr);gap:14px}.detail-panel{padding:14px;border-radius:18px;max-width:100%;overflow:hidden}.info-card-title{font-size:16px}.info-card-subtitle,.info-card-note,.selected-row-subtitle,.analytics-chart-caption{font-size:13px}.modal,.drawer{width:min(980px,calc(100vw - 28px));max-height:calc(100vh - 28px)}.modal-header h3{font-size:20px}.form-grid{gap:12px}.field input,.field textarea,.field select{min-height:42px;padding:9px 12px;border-radius:13px}.records-grid-squares{grid-template-columns:repeat(auto-fill,minmax(180px,1fr));grid-auto-rows:minmax(190px,auto)}.record-card-square{width:auto;height:auto;min-height:190px}.record-card{padding:14px;border-radius:18px}.record-number,.record-car{font-size:15px}.record-client,.record-service{font-size:14px}.works-table-wrap,.analytics-table-wrap{max-width:100%;overflow-x:auto}.works-table,.analytics-table{min-width:760px}.works-table th,.works-table td,.analytics-table th,.analytics-table td{padding:10px 12px;font-size:13px}.service-mini-stats strong{min-width:0;font-size:17px;white-space:normal}@media (max-width: 980px){.layout{grid-template-columns:1fr}.sidebar{border-right:0;border-bottom:1px solid #e2e8f0}.sidebar-nav{grid-template-columns:repeat(auto-fit,minmax(140px,1fr))}.directory-layout,.services-layout,.accounting-cashflow-grid,.works-tree-layout{grid-template-columns:1fr}.topbar,.topbar-right{align-items:flex-start}}.order-page-panel{padding:18px}.order-template-header{display:flex;align-items:flex-start;justify-content:space-between;gap:18px;margin-bottom:18px}.order-template-title-row{display:flex;align-items:center;gap:12px;flex-wrap:wrap}.order-template-title-row h2{margin:0;color:#0f172a;font-size:24px;line-height:1.15;font-weight:850}.order-template-status-badge{display:inline-flex;align-items:center;justify-content:center;min-height:28px;padding:6px 16px;border-radius:999px;font-size:12px;font-weight:800}.order-template-breadcrumbs{display:flex;align-items:center;gap:10px;margin-top:10px;color:#64748b;font-size:13px}.order-template-breadcrumbs strong{color:#1e3a8a}.order-template-header-actions{display:flex;align-items:center;justify-content:flex-end;gap:10px;flex-wrap:wrap}.order-page-panel>.panel-header{margin-bottom:14px}.order-page-panel>.panel-header .panel-title{font-size:22px}.order-page-panel>.panel-header .panel-subtitle{font-size:14px}.order-page-panel .secondary-button,.order-page-panel .primary-button,.order-page-panel .danger-button{min-height:36px;padding:8px 12px;border-radius:12px;font-size:14px}.order-page-panel .modal-actions{margin-top:14px;gap:8px}.order-template-layout{display:grid;gap:14px}.order-template-cards{display:grid;grid-template-columns:.95fr 1fr 1fr;gap:14px;align-items:stretch}.order-template-card,.order-template-comment-card{min-width:0;border:1px solid #dbe4ef;border-radius:16px;background:#fff;box-shadow:0 12px 28px #0f172a09}.order-template-card{padding:14px}.order-template-card-title{margin-bottom:14px;color:#0f172a;font-size:15px;font-weight:850}.order-template-info-list{display:grid;gap:10px}.order-template-info-row{display:grid;grid-template-columns:18px 112px minmax(0,1fr);gap:8px;align-items:center;min-width:0;color:#334155;font-size:13px}.order-template-info-row svg{color:#1e3a8a}.order-template-info-row span{min-width:0;color:#64748b;font-weight:700}.order-template-info-row strong{min-width:0;overflow-wrap:anywhere;color:#0f172a;font-weight:750;white-space:normal}.order-template-info-editable select,.order-template-info-editable input{width:100%;min-height:30px;padding:5px 8px;border:1px solid #dbe4ef;border-radius:9px;background:#fff;color:#0f172a;font-size:13px;font-weight:750}.order-template-car-body{display:grid;grid-template-columns:minmax(0,1fr) 145px;gap:10px;align-items:center}.order-template-car-preview{display:grid;place-items:center;min-height:108px;border-radius:18px;color:#0f172a;background:radial-gradient(circle at 50% 74%,rgba(15,23,42,.16) 0 22%,transparent 23%),linear-gradient(145deg,#eef4ff,#fff 65%)}.order-template-car-preview svg{width:86px;height:86px;color:#0f172a;stroke-width:1.4}.order-template-search-row{margin-bottom:10px}.order-template-search-row .works-search-box{min-width:0;width:100%;min-height:34px;padding:7px 10px;border-radius:10px}.order-template-comment-card{position:relative;padding:14px}.order-template-comment-card label{display:block;margin-bottom:8px;color:#0f172a;font-size:14px;font-weight:850}.order-template-comment-card textarea{width:100%;min-height:56px;padding:10px 12px;border:1px solid #dbe4ef;border-radius:12px;background:#fff;color:#0f172a;font-size:13px;resize:vertical}.order-template-comment-placeholder{position:absolute;left:27px;right:27px;bottom:25px;color:#94a3b8;font-size:13px;pointer-events:none}.order-page-panel .order-meta-layout{grid-template-columns:1fr;gap:10px;margin-bottom:12px}.order-page-panel .order-meta-card{padding:12px;border-radius:16px;box-shadow:none}.order-page-panel .order-meta-card-title{margin-bottom:10px;font-size:13px}.order-page-panel .order-meta-grid{gap:8px 10px}.order-page-panel .order-meta-card-main .order-meta-grid-compact{grid-template-columns:repeat(12,minmax(0,1fr))}.order-page-panel .order-meta-card-main .order-meta-field-status,.order-page-panel .order-meta-card-main .order-meta-field-date,.order-page-panel .order-meta-card-main .order-meta-field-record-number,.order-page-panel .order-meta-card-main .order-meta-field-previous-mileage{grid-column:span 2}.order-page-panel .order-meta-card-main .order-meta-field-opener,.order-page-panel .order-meta-card-main .order-meta-field-record-id,.order-page-panel .order-meta-card-main .order-meta-field-phone,.order-page-panel .order-meta-card-main .order-meta-field-current-mileage{grid-column:span 3}.order-page-panel .order-meta-card-main .order-meta-field-vehicle,.order-page-panel .order-meta-card-main .order-meta-field-client{grid-column:span 4}.order-page-panel .order-meta-card-main .order-meta-field-notes{grid-column:1 / -1}.order-page-panel .order-meta-grid .field{gap:4px}.order-page-panel .order-meta-grid .field label{font-size:12px}.order-page-panel .order-meta-grid .field input,.order-page-panel .order-meta-grid .field select,.order-page-panel .order-meta-grid .field textarea{min-height:34px;padding:7px 9px;border-radius:10px;font-size:14px;overflow:hidden;text-overflow:ellipsis}.order-page-panel .order-meta-grid .field textarea{min-height:52px}.order-page-panel .order-section{margin-top:0;padding:14px;border-radius:18px}.order-page-panel .order-lines-grid{display:grid;grid-template-columns:minmax(0,1fr);gap:12px;align-items:stretch}.order-page-panel .service-section-title{font-size:17px}.order-page-panel .order-section-actions{margin:8px 0 10px}.order-page-panel .order-edit-table-wrap{min-width:0;min-height:0;max-height:none;border-radius:12px;border:1px solid #dbe4ef;overflow:hidden;background:#fff}.order-page-panel .order-section{min-width:0}@media (max-width: 600px){.order-template-info-row{grid-template-columns:18px minmax(0,1fr);align-items:start}.order-template-info-row>strong,.order-template-info-row>input,.order-template-info-row>select{grid-column:2}}.order-page-panel .order-edit-table{min-width:0;width:100%;border-collapse:collapse;table-layout:fixed}.order-page-panel .order-edit-table th,.order-page-panel .order-edit-table td{padding:9px 10px;font-size:12px;border-bottom:1px solid #e6eef8;border-right:1px solid #e6eef8;vertical-align:middle}.order-page-panel .order-edit-table th:last-child,.order-page-panel .order-edit-table td:last-child{border-right:0}.order-page-panel .order-edit-table th{font-size:12px;background:#f8fbff;color:#64748b}.order-page-panel .order-edit-table tbody tr:last-child td{border-bottom:1px solid #e6eef8}.order-page-panel .order-edit-table tfoot td{border-bottom:0;background:#fff}.order-page-panel .order-edit-table th:first-child,.order-page-panel .order-edit-table td:first-child{width:42px;padding-left:10px}.order-page-panel .order-work-table th:nth-child(2),.order-page-panel .order-work-table td:nth-child(2){width:260px}.order-page-panel .order-work-table th:nth-child(3),.order-page-panel .order-work-table td:nth-child(3),.order-page-panel .order-goods-table th:nth-child(4),.order-page-panel .order-goods-table td:nth-child(4){width:60px}.order-page-panel .order-work-table th:nth-child(4),.order-page-panel .order-work-table td:nth-child(4),.order-page-panel .order-goods-table th:nth-child(5),.order-page-panel .order-goods-table td:nth-child(5){width:56px}.order-page-panel .order-work-table th:nth-child(5),.order-page-panel .order-work-table td:nth-child(5),.order-page-panel .order-goods-table th:nth-child(6),.order-page-panel .order-goods-table td:nth-child(6),.order-page-panel .order-goods-table th:nth-child(7),.order-page-panel .order-goods-table td:nth-child(7){width:100px}.order-page-panel .order-work-table th:nth-child(7),.order-page-panel .order-work-table td:nth-child(7){width:105px}.order-page-panel .order-goods-table th:nth-child(3),.order-page-panel .order-goods-table td:nth-child(3){width:auto;min-width:260px}.order-page-panel .order-work-table th:nth-child(6),.order-page-panel .order-work-table td:nth-child(6){width:380px;min-width:380px}.order-page-panel .order-work-table th:nth-child(8),.order-page-panel .order-work-table td:nth-child(8),.order-page-panel .order-goods-table th:nth-child(8),.order-page-panel .order-goods-table td:nth-child(8){width:125px;min-width:125px}.order-page-panel .order-goods-table th:nth-child(2),.order-page-panel .order-goods-table td:nth-child(2){width:150px}.order-page-panel .order-cell-primary{font-size:12px;line-height:1.25;white-space:normal;overflow:visible;text-overflow:clip}.order-page-panel .order-work-table td:nth-child(2) .order-cell-primary,.order-page-panel .order-work-table td:nth-child(2) .order-cell-secondary,.order-page-panel .order-goods-table td:nth-child(3) .order-cell-primary,.order-page-panel .order-goods-table td:nth-child(3) .order-cell-secondary{justify-content:flex-start;text-align:left}.order-page-panel .order-cell-secondary{font-size:11px;white-space:normal;overflow:visible;text-overflow:clip}.order-page-panel .order-number-input,.order-page-panel .order-percent-input{width:100%;min-width:0;height:28px;padding:3px 5px!important;border:0!important;border-radius:0!important;background:transparent!important;box-shadow:none!important;font-size:12px!important;text-align:center}.order-page-panel .order-number-input:focus,.order-page-panel .order-percent-input:focus,.order-page-panel .order-participation-select:focus{outline:1px solid #2563eb;outline-offset:-1px}.order-page-panel .order-edit-table .order-number-input{width:100%;min-width:0}.order-page-panel .order-inline-participations{justify-content:center;gap:6px;min-width:0;width:100%;overflow:visible;flex-wrap:nowrap;white-space:nowrap}.order-page-panel .order-inline-participation-card{flex:0 0 auto;max-width:none;padding:0;gap:6px;border:0;border-radius:0;background:transparent}.order-page-panel .order-participation-select{flex:0 0 120px;width:120px;min-width:120px;max-width:120px;height:28px;padding:3px 5px!important;border:0!important;border-radius:0!important;background:transparent!important;box-shadow:none!important;font-size:12px!important}.order-page-panel .order-percent-input{width:50px;flex:0 0 50px}.order-page-panel .icon-button{width:24px;height:24px;min-height:24px}.order-page-panel .inline-chip{flex:0 0 auto;min-height:22px;padding:2px 5px;font-size:12px;border-radius:0}.order-page-panel .order-row-actions{justify-content:center;gap:5px;white-space:nowrap;flex-wrap:nowrap}.order-page-panel .order-row-actions .secondary-button,.order-page-panel .order-row-actions .danger-button,.order-page-panel .order-inline-participations .secondary-button{min-height:28px;padding:4px 7px;font-size:12px}.order-page-panel .order-row-actions .order-row-delete-button{display:inline-flex;align-items:center;justify-content:center;width:28px;min-width:28px;padding:0;line-height:1}.order-master-picker-wrap{flex:0 0 auto}.order-master-picker-menu{position:fixed;z-index:1100;display:grid;min-width:190px;padding:4px;border:1px solid #dbe4ef;border-radius:8px;background:#fff;box-shadow:0 12px 28px #0f172a29}.order-master-picker-menu button{padding:7px 8px;border:0;border-radius:6px;background:transparent;color:#0f172a;font-size:13px;font-weight:600;text-align:left;white-space:nowrap}.order-master-picker-menu button:hover{background:#eff6ff;color:#1d4ed8}.order-master-picker-empty{padding:7px 8px;color:#64748b;font-size:12px;white-space:nowrap}.order-page-panel .service-mini-stats{margin-top:12px;gap:8px}.order-page-panel .service-mini-stats div{padding:10px;border-radius:14px}.order-page-panel .service-mini-stats span{font-size:12px}.order-page-panel .service-mini-stats strong{font-size:16px}@media (max-width: 1280px){.order-page-panel .order-meta-layout,.order-page-panel .service-mini-stats{grid-template-columns:1fr}.order-page-panel .order-edit-table{min-width:980px}.order-page-panel .order-edit-table-wrap{overflow-x:auto}}@media (max-width: 1320px){.order-template-cards{grid-template-columns:1fr}.order-template-car-body{grid-template-columns:minmax(0,1fr)}.order-template-car-preview{display:none}}@media (max-width: 980px){.order-page-panel .order-meta-card-main .order-meta-grid-compact{grid-template-columns:repeat(6,minmax(0,1fr))}.order-page-panel .order-meta-card-main .order-meta-field-status,.order-page-panel .order-meta-card-main .order-meta-field-date,.order-page-panel .order-meta-card-main .order-meta-field-record-number,.order-page-panel .order-meta-card-main .order-meta-field-phone,.order-page-panel .order-meta-card-main .order-meta-field-previous-mileage,.order-page-panel .order-meta-card-main .order-meta-field-current-mileage{grid-column:span 2}.order-page-panel .order-meta-card-main .order-meta-field-opener,.order-page-panel .order-meta-card-main .order-meta-field-record-id,.order-page-panel .order-meta-card-main .order-meta-field-client,.order-page-panel .order-meta-card-main .order-meta-field-vehicle{grid-column:span 3}}@media (max-width: 640px){.order-page-panel .order-meta-card-main .order-meta-grid-compact{grid-template-columns:1fr}.order-page-panel .order-meta-card-main .order-meta-field{grid-column:1 / -1}}.analytics-dashboard-page{padding:16px;background:#f8fbff}.analytics-dashboard-shell{display:grid;gap:18px;padding:22px;border:1px solid #dbe4ef;border-radius:14px;background:#fff;color:#061646}.analytics-dashboard-head{display:flex;justify-content:space-between;align-items:flex-start;gap:16px}.analytics-dashboard-head h2{margin:0;color:#061646;font-size:34px;line-height:1;letter-spacing:-.04em}.analytics-dashboard-head-actions{display:flex;align-items:center;gap:10px}.analytics-dashboard-head-actions select,.analytics-dashboard-custom-range input{height:42px;border:1px solid #dbe4ef;border-radius:9px;background:#fff;color:#061646;font-size:15px;font-weight:700}.analytics-dashboard-head-actions select{min-width:172px;padding:0 38px 0 14px}.analytics-dashboard-icon-button,.analytics-dashboard-custom-range button,.analytics-dashboard-footer button{min-height:42px;display:inline-flex;align-items:center;justify-content:center;gap:8px;border:1px solid #dbe4ef;border-radius:9px;background:#fff;color:#0f2f8f;font-size:14px;font-weight:800}.analytics-dashboard-icon-button{width:42px}.analytics-dashboard-period-tabs{width:min(720px,100%);display:grid;grid-template-columns:repeat(6,minmax(0,1fr));border:1px solid #dbe4ef;border-radius:9px;overflow:hidden}.analytics-dashboard-tab{min-height:46px;display:inline-flex;align-items:center;justify-content:center;gap:8px;border:0;border-right:1px solid #edf2f7;background:#fff;color:#061646;font-size:14px;font-weight:700}.analytics-dashboard-tab:last-child{border-right:0}.analytics-dashboard-tab-active{background:#1859f2;color:#fff;box-shadow:0 8px 16px #1859f238}.analytics-dashboard-range{min-height:58px;display:flex;align-items:center;justify-content:space-between;gap:16px;padding:0 18px;border:1px solid #dbe4ef;border-radius:12px;background:linear-gradient(180deg,#fff,#fbfdff)}.analytics-dashboard-range>div,.analytics-dashboard-compare{display:flex;align-items:center;gap:12px;color:#061646;font-size:14px}.analytics-dashboard-compare{color:#64748b}.analytics-dashboard-custom-range{display:flex;align-items:center;gap:10px;flex-wrap:wrap}.analytics-dashboard-custom-range input{padding:0 12px}.analytics-dashboard-custom-range button{padding:0 14px}.analytics-dashboard-kpi-grid{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:14px}.analytics-dashboard-kpi{min-height:152px;padding:20px;border:1px solid #dbe4ef;border-radius:13px;background:#fff;box-shadow:0 8px 18px #0f172a06;color:inherit;font:inherit;text-align:left;cursor:pointer;transition:border-color .16s ease,box-shadow .16s ease,transform .16s ease}.analytics-dashboard-kpi:hover,.analytics-dashboard-kpi:focus-visible{border-color:#93c5fd;box-shadow:0 10px 24px #2563eb1f;outline:none;transform:translateY(-1px)}.analytics-dashboard-kpi-icon{width:34px;height:34px;display:inline-flex;align-items:center;justify-content:center;margin-bottom:10px;border-radius:9px}.analytics-dashboard-kpi-icon-blue{background:#dbeafe;color:#1859f2}.analytics-dashboard-kpi-icon-red{background:#fee2e2;color:#ef4444}.analytics-dashboard-kpi-icon-orange{background:#ffedd5;color:#f97316}.analytics-dashboard-kpi-icon-purple{background:#ede9fe;color:#7c3aed}.analytics-dashboard-kpi-icon-green{background:#dcfce7;color:#059669}.analytics-dashboard-kpi-label{color:#061646;font-size:14px;font-weight:700}.analytics-dashboard-kpi strong{display:block;margin-top:12px;color:#061646;font-size:26px;line-height:1.05;letter-spacing:-.04em;white-space:nowrap}.analytics-dashboard-trend{display:inline-flex;align-items:center;gap:6px;margin-top:12px;font-size:14px;font-weight:800}.analytics-dashboard-trend-up{color:#059669}.analytics-dashboard-trend-down{color:#ef4444}.analytics-dashboard-kpi-note{display:block;margin-top:5px;color:#64748b;font-size:13px}.modal.analytics-metric-modal{width:min(560px,calc(100vw - 28px));border-radius:12px}.analytics-metric-details{display:grid;gap:16px}.analytics-metric-details>p{margin:0;color:#64748b;font-size:14px;line-height:1.45}.analytics-metric-details-lines{display:grid;border-top:1px solid #e2e8f0}.analytics-metric-details-lines>div,.analytics-metric-details-total{display:flex;align-items:center;justify-content:space-between;gap:16px;padding:12px 0;border-bottom:1px solid #e2e8f0}.analytics-metric-details-lines span{color:#475569;font-size:14px}.analytics-metric-details-lines strong{color:#0f172a;font-size:15px;white-space:nowrap}.analytics-metric-details-total{margin-top:-1px;border-top:2px solid #cbd5e1;border-bottom:0}.analytics-metric-details-total span{color:#0f172a;font-weight:800}.analytics-metric-details-total strong{color:#061646;font-size:22px;white-space:nowrap}.analytics-dashboard-main-grid{display:grid;grid-template-columns:1.35fr .95fr .75fr;gap:14px}.analytics-dashboard-card{min-width:0;border:1px solid #dbe4ef;border-radius:13px;background:#fff;box-shadow:0 8px 18px #0f172a06}.analytics-dashboard-card-title{display:flex;align-items:center;gap:9px;padding:18px 18px 8px;color:#061646;font-size:16px;font-weight:900}.analytics-dashboard-legend{display:flex;align-items:center;gap:24px;padding:6px 26px 0;color:#334155;font-size:13px;font-weight:700}.analytics-dashboard-legend span,.analytics-dashboard-donut-legend span{display:inline-flex;align-items:center;gap:8px}.analytics-dot-blue,.analytics-dot-red,.analytics-dot-green{width:14px;height:6px;display:inline-block;border-radius:999px}.analytics-dot-blue{background:#1859f2}.analytics-dot-red{background:#ef4444}.analytics-dot-green{background:#059669}.analytics-dashboard-chart{width:100%;height:260px;padding:0 18px 14px}.analytics-dashboard-chart line{stroke:#e6eef8;stroke-width:1}.analytics-dashboard-chart polyline{fill:none;stroke-width:3;stroke-linecap:round;stroke-linejoin:round}.analytics-dashboard-chart text{fill:#061646;font-size:11px;text-anchor:middle}.analytics-line-blue{stroke:#1859f2}.analytics-line-red{stroke:#ef4444}.analytics-line-green{stroke:#059669}.analytics-dashboard-profit-table,.analytics-dashboard-table{width:100%;border-collapse:collapse}.analytics-dashboard-profit-table{margin:34px 18px 18px;width:calc(100% - 36px)}.analytics-dashboard-profit-table th,.analytics-dashboard-profit-table td,.analytics-dashboard-table th,.analytics-dashboard-table td{padding:12px 10px;border-bottom:1px solid #e6eef8;color:#061646;text-align:left;font-size:13px}.analytics-dashboard-profit-table th,.analytics-dashboard-table th{color:#64748b;font-size:12px;font-weight:800}.analytics-dashboard-profit-table td:not(:first-child),.analytics-dashboard-profit-table th:not(:first-child){text-align:right;font-weight:800}.analytics-dashboard-donut-wrap{display:grid;place-items:center;gap:20px;padding:22px 18px 26px}.analytics-dashboard-donut{width:168px;height:168px;display:grid;place-items:center;border-radius:50%;background:conic-gradient(#1859f2 0 var(--work-share),#059669 var(--work-share) 100%);position:relative}.analytics-dashboard-donut:after{content:"";position:absolute;top:42px;right:42px;bottom:42px;left:42px;border-radius:50%;background:#fff}.analytics-dashboard-donut strong,.analytics-dashboard-donut span{position:relative;z-index:1;grid-area:1 / 1;color:#061646}.analytics-dashboard-donut strong{margin-top:-10px;font-size:15px}.analytics-dashboard-donut span{margin-top:28px;color:#64748b;font-size:12px}.analytics-dashboard-donut-legend{display:grid;gap:12px;color:#061646;font-size:13px;font-weight:700}.analytics-dashboard-stock-card,.analytics-dashboard-extra-card,.analytics-dashboard-months-card{padding-bottom:16px}.analytics-dashboard-stock-grid,.analytics-dashboard-extra-grid{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:0;padding:14px 18px 8px}.analytics-dashboard-stock-grid>div,.analytics-dashboard-extra-grid>div{min-height:88px;display:grid;align-content:center;gap:8px;padding:0 18px;border-right:1px solid #dbe4ef;text-align:center}.analytics-dashboard-stock-grid>div:last-child,.analytics-dashboard-extra-grid>div:last-child{border-right:0}.analytics-dashboard-stock-grid span,.analytics-dashboard-extra-grid span{color:#061646;font-size:13px}.analytics-dashboard-stock-grid strong,.analytics-dashboard-extra-grid strong{color:#061646;font-size:19px;line-height:1}.analytics-dashboard-stock-grid small{color:#64748b;font-size:11px}.analytics-dashboard-tables-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px}.analytics-dashboard-table-card,.analytics-dashboard-records-card{overflow:hidden}.analytics-dashboard-records-scroll{overflow-x:auto}.analytics-dashboard-records-table{min-width:900px}.analytics-dashboard-records-table td{white-space:nowrap}.analytics-dashboard-records-table td:nth-child(4),.analytics-dashboard-records-table td:nth-child(5),.analytics-dashboard-records-table td:nth-child(6){max-width:220px;overflow:hidden;text-overflow:ellipsis}.analytics-dashboard-table{margin:0 18px;width:calc(100% - 36px)}.analytics-dashboard-table th,.analytics-dashboard-table td{padding:9px 8px;font-size:12px;white-space:nowrap}.analytics-dashboard-table th:first-child,.analytics-dashboard-table td:first-child{width:28px;color:#64748b}.analytics-dashboard-table td:nth-child(2){max-width:150px;overflow:hidden;text-overflow:ellipsis}.analytics-dashboard-table-link{padding:14px 18px 18px;color:#1859f2;text-align:center;font-size:13px;font-weight:800}.analytics-dashboard-empty{margin:18px;padding:24px;border:1px dashed #cbd5e1;border-radius:12px;background:#f8fafc;color:#94a3b8;text-align:center;font-size:14px}.analytics-dashboard-months-head{display:flex;align-items:flex-start;justify-content:space-between;gap:16px}.analytics-dashboard-month-switcher{display:flex;gap:8px;padding:14px 18px 0;flex-wrap:wrap}.analytics-dashboard-pill{min-height:32px;padding:0 10px;border:1px solid #dbe4ef;border-radius:8px;background:#fff;color:#061646;font-size:12px;font-weight:800}.analytics-dashboard-pill-active{border-color:#1859f2;background:#1859f2;color:#fff}.analytics-dashboard-best-month{padding:2px 18px 0;color:#64748b;font-size:13px}.analytics-dashboard-best-month strong{color:#061646}.analytics-dashboard-month-list{padding:14px 18px 0}.analytics-dashboard-footer{min-height:42px;display:flex;align-items:center;justify-content:space-between;gap:14px;padding-top:4px;color:#64748b;font-size:13px}.analytics-dashboard-footer button{min-height:34px;padding:0 10px;color:#1859f2;border:0;background:transparent}.visually-hidden{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}.modal.position-detail-modal{width:min(780px,calc(100vw - 28px));padding:16px;border-radius:12px}.position-detail-modal .modal-header{margin-bottom:14px;align-items:flex-start}.position-detail-modal .modal-header h3{font-size:18px;overflow-wrap:anywhere;min-width:0}.position-detail-modal .modal-header .icon-button{flex-shrink:0}.position-detail-modal>.modal-actions{margin-top:12px}.position-detail-compact{display:grid;gap:14px;min-width:0}.position-detail-meta{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px 20px;margin:0}.position-detail-meta>div{display:grid;grid-template-columns:105px minmax(0,1fr);gap:8px;font-size:13px}.position-detail-compact dt{color:#64748b}.position-detail-compact dd{margin:0;overflow-wrap:anywhere;color:#0f172a}.position-detail-description{font-size:13px}.position-detail-description>span{color:#64748b}.position-detail-description p{margin:4px 0 0;white-space:pre-wrap;overflow-wrap:anywhere;max-height:96px;overflow-y:auto}.position-detail-metrics{display:grid;grid-template-columns:repeat(auto-fit,minmax(115px,1fr));gap:10px;margin:0;padding:12px 0;border-top:1px solid #e2e8f0;border-bottom:1px solid #e2e8f0}.position-detail-metrics dt{font-size:12px}.position-detail-metrics dd{font-size:16px;font-weight:700;margin-top:4px}.position-detail-tabs{display:flex;gap:14px;border-bottom:1px solid #e2e8f0}.position-detail-tabs button{border:0;border-bottom:2px solid transparent;background:none;padding:8px 0;font-size:13px;font-weight:600;color:#64748b;cursor:pointer}.position-detail-tabs button[aria-selected=true]{color:#2563eb;border-bottom-color:#2563eb}.position-detail-tabs span{font-size:12px;margin-left:4px}.position-detail-data{min-width:0}.position-detail-data .position-price-history-table-wrap{max-height:240px;overflow:auto}.position-detail-data .position-price-history-table{min-width:590px}.position-detail-data .position-price-history-table th,.position-detail-data .position-price-history-table td{padding:8px;font-size:12px}.position-detail-data .position-price-history-table th{position:sticky;top:0;white-space:nowrap;letter-spacing:0}.position-detail-empty{padding:14px 0;font-size:13px;color:#64748b}@media (max-width: 600px){.position-detail-meta{grid-template-columns:minmax(0,1fr)}.position-detail-metrics{grid-template-columns:repeat(2,minmax(0,1fr))}}.position-card-stack{display:grid;gap:18px}.position-price-history{border:1px solid #dbe4ef;border-radius:16px;overflow:hidden;background:#fff}.position-price-history-head{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:14px 16px;border-bottom:1px solid #dbe4ef;background:#f8fafc}.position-price-history-head h4{margin:0;font-size:16px;color:#0f172a}.position-price-history-head span{color:#64748b;font-size:13px;font-weight:700}.position-price-history-table-wrap{overflow-x:auto}.position-price-history-table{width:100%;min-width:720px;border-collapse:collapse}.position-price-history-table th,.position-price-history-table td{padding:12px 14px;border-right:1px solid #e2e8f0;border-bottom:1px solid #e2e8f0;text-align:left;font-size:13px;color:#0f172a}.position-price-history-table th{color:#64748b;font-size:11px;text-transform:uppercase;letter-spacing:.04em;background:#f8fafc}.position-price-history-table th:last-child,.position-price-history-table td:last-child{border-right:0}.position-price-history-table tr:last-child td{border-bottom:0}@media (max-width: 1440px){.analytics-dashboard-kpi-grid{grid-template-columns:repeat(4,minmax(0,1fr))}.analytics-dashboard-main-grid,.analytics-dashboard-tables-grid{grid-template-columns:1fr}}@media (max-width: 960px){.analytics-dashboard-head,.analytics-dashboard-range,.analytics-dashboard-months-head,.analytics-dashboard-footer{align-items:stretch;flex-direction:column}.analytics-dashboard-period-tabs,.analytics-dashboard-kpi-grid,.analytics-dashboard-stock-grid,.analytics-dashboard-extra-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.analytics-dashboard-stock-grid>div,.analytics-dashboard-extra-grid>div{border-right:0;border-bottom:1px solid #dbe4ef}}@media (max-width: 640px){.analytics-dashboard-shell{padding:14px}.analytics-dashboard-head h2{font-size:28px}.analytics-dashboard-kpi-grid,.analytics-dashboard-stock-grid,.analytics-dashboard-extra-grid{grid-template-columns:1fr}}.modal.receipt-modal{width:min(1280px,calc(100vw - 28px));padding:18px;border-radius:12px}.receipt-modal .modal-header{margin-bottom:14px}.receipt-modal .receipt-header-grid{grid-template-columns:repeat(4,minmax(0,1fr));gap:10px 14px}.receipt-header-half{grid-column:span 2}.receipt-modal .field{min-width:0;gap:4px}.receipt-modal .field label{font-size:13px}.receipt-modal .field input,.receipt-modal .field select{min-height:34px;padding:6px 8px;border-radius:6px;font-size:13px}.receipt-table-scroll{width:100%;overflow-x:auto;border:1px solid #dbe4ef;border-radius:6px}.receipt-entry-table{width:100%;min-width:1067px;table-layout:fixed;border-collapse:collapse;font-size:13px}.receipt-entry-table th{background:#f1f5f9;text-align:left;font-size:12px;padding:10px 6px;border-bottom:1px solid #dbe4ef}.receipt-entry-table td{vertical-align:top;padding:7px 5px;border-bottom:1px solid #e2e8f0}.receipt-entry-table tr:last-child td{border-bottom:0}.receipt-entry-table input,.receipt-entry-table select{width:100%;min-width:0;height:32px;padding:4px 5px;border:1px solid #dbe4ef;border-radius:4px;background:#fff;font-size:13px}.receipt-entry-table input:disabled,.receipt-entry-table select:disabled{background:#f8fafc;color:#64748b}.receipt-entry-table td>input+input,.receipt-entry-table td>select+input{margin-top:4px}.receipt-entry-table .icon-button{width:30px;height:32px}.receipt-line-total{text-align:right;overflow-wrap:anywhere;font-weight:600}.receipt-description{margin-top:4px;color:#64748b;font-size:12px}.receipt-description summary{cursor:pointer}.receipt-product-options{z-index:2000;overflow-y:auto;background:#fff;border:1px solid #cbd5e1;border-radius:6px;box-shadow:0 8px 24px #0f172a26}.receipt-product-option{display:grid;gap:3px;padding:9px 12px;cursor:pointer;font-size:13px;overflow-wrap:anywhere}.receipt-product-option+.receipt-product-option{border-top:1px solid #f1f5f9}.receipt-product-option:hover,.receipt-product-option.is-active{background:#eff6ff}.receipt-product-option span{color:#64748b;font-size:12px}.receipt-table-footer{display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:12px}.receipt-table-footer .receipt-total{border:0;padding:0;font-size:16px}.receipt-modal>.modal-actions{margin-top:14px}.receipts-page .search-box{display:flex;min-width:0;max-width:100%}.receipts-page .search-box input{min-width:0;width:100%}.receipt-register-filters{display:grid;grid-template-columns:repeat(2,minmax(150px,1fr)) repeat(2,minmax(140px,.7fr)) 40px;align-items:end;gap:12px;margin-bottom:18px}.receipt-register-filters .field{min-width:0}.receipt-register-scroll{overflow-x:auto}.receipt-register-table{width:100%;min-width:800px}.receipt-register-table th{white-space:nowrap;word-break:normal}.receipt-register-table td{max-width:240px;overflow-wrap:anywhere}.receipt-register-count{margin-top:12px;color:#64748b;font-size:13px}@media (max-width: 760px){.receipt-modal .receipt-header-grid,.receipt-register-filters{grid-template-columns:repeat(2,minmax(0,1fr))}.receipt-header-half{grid-column:span 2}.receipt-modal .modal-header h3{font-size:18px}}.provider-fields{border:0;padding:0;margin:0;min-width:0}.gbo-page{grid-template-columns:minmax(0,1fr)}.gbo-toolbar{display:flex;align-items:center;justify-content:space-between;gap:12px;flex-wrap:wrap}.gbo-vehicle-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:14px}.gbo-choice-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px;border-top:1px solid #e2e8f0;padding-top:20px}.gbo-page .field,.gbo-template-modal .field{min-width:0}.gbo-page input,.gbo-page select,.gbo-template-modal input,.gbo-template-modal select{max-width:100%;min-width:0}.gbo-table{width:100%;min-width:740px}.gbo-table td{max-width:280px;overflow-wrap:anywhere}.gbo-total{display:flex;justify-content:flex-end;gap:18px;align-items:baseline;flex-wrap:wrap;border-top:1px solid #e2e8f0;padding-top:16px}.gbo-total strong{font-size:24px;color:#166534}.gbo-notes{white-space:pre-wrap;overflow-wrap:anywhere}.modal.gbo-template-modal{width:min(1080px,calc(100vw - 28px));padding:20px}.settings-panel{display:flex;align-items:center;gap:14px;max-width:760px}.settings-panel-icon{display:grid;place-items:center;width:40px;height:40px;flex:0 0 40px;color:#2563eb;background:#e8f0ff;border-radius:8px}.settings-panel-copy{min-width:0;flex:1}.tour-layer{position:fixed;top:0;right:0;bottom:0;left:0;z-index:1200;pointer-events:none}.tour-card{position:absolute;right:24px;bottom:24px;width:min(410px,calc(100vw - 32px));padding:20px;pointer-events:auto;color:#0f172a;background:#fff;border:1px solid #dbe5f3;border-radius:12px;box-shadow:0 24px 56px #0f172a3d}.tour-card-header,.tour-actions,.tour-navigation{display:flex;align-items:center}.tour-card-header{justify-content:space-between;gap:12px}.tour-progress{color:#64748b;font-size:13px;font-weight:700}.tour-card h2{margin:16px 0 8px;font-size:20px;letter-spacing:0}.tour-card p{margin:0;color:#52637d;line-height:1.5}.tour-dots{display:flex;gap:5px;margin:18px 0}.tour-dot{width:6px;height:6px;border-radius:50%;background:#d7e0ec}.tour-dot-active{width:18px;border-radius:4px;background:#2563eb}.tour-actions{justify-content:space-between;gap:12px}.tour-navigation{gap:8px}@media (max-width: 640px){.settings-panel{align-items:flex-start;flex-wrap:wrap}.settings-panel .primary-button{width:100%;justify-content:center}.tour-card{right:16px;bottom:16px;padding:16px}}.gbo-template-modal fieldset{display:grid;gap:16px}.gbo-lines{display:grid;gap:12px}.gbo-line{display:grid;grid-template-columns:minmax(130px,1fr) minmax(180px,2fr) 84px 36px;align-items:end;gap:10px}.gbo-confirm{display:flex;align-items:center;gap:10px}.gbo-confirm input{width:18px;height:18px}@media (max-width: 900px){.gbo-vehicle-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}@media (max-width: 600px){.gbo-vehicle-grid,.gbo-choice-grid{grid-template-columns:minmax(0,1fr)}.gbo-line{grid-template-columns:minmax(0,1fr) 80px 36px;border-bottom:1px solid #e2e8f0;padding-bottom:12px}.gbo-line>.field:first-child{grid-column:1 / -1}.gbo-toolbar .action-row{flex-wrap:wrap}}.providers-page .table-wrap{overflow-x:auto}.providers-page .search-box{display:flex;max-width:100%;min-width:0}.providers-page .search-box input{min-width:0;width:100%}.providers-table{width:100%}.providers-table td{overflow-wrap:anywhere;max-width:360px}.providers-table .provider-working-hours{white-space:pre-wrap;min-width:160px}.receipt-register-header{display:flex;align-items:center;justify-content:space-between;gap:12px;flex-wrap:wrap}.receipt-register{min-width:0}.receipt-register-actions{display:flex;align-items:center;gap:8px;max-width:100%}.receipt-register-search{display:flex;flex:1;width:320px;max-width:100%;min-width:0}.receipt-register-search input{min-width:0;width:100%}@media (max-width: 600px){.positions-catalog-page .stock-catalog-grid{grid-template-columns:minmax(0,1fr)}.positions-catalog-page .stock-panel-header{flex-wrap:wrap}.positions-catalog-page .stock-panel-actions{flex-wrap:wrap;min-width:0}.positions-catalog-page .stock-select-block{max-width:100%}.positions-catalog-page .stock-table-footer{flex-wrap:wrap;gap:8px}.positions-catalog-page .stock-pagination{max-width:100%;flex-wrap:wrap}.positions-catalog-page .stock-search-box{width:100%;min-width:0}.receipt-register-actions{width:100%}.receipt-register .receipt-register-search{display:flex}}.receipt-total{display:flex;flex-wrap:wrap;justify-content:space-between;gap:12px;padding:16px 0;border-top:1px solid #dbe4ef;font-size:18px}.document-templates-panel{display:grid;gap:18px}.document-template-upload{display:flex;align-items:center;gap:10px;flex-wrap:wrap}.document-template-upload select{min-height:40px;padding:8px 10px;border:1px solid #dbe4ef;border-radius:8px;background:#fff}.document-template-guide{padding:16px;border:1px solid #dbe4ef;border-radius:8px;background:#f8fafc}.document-template-guide>strong{color:#0f172a;font-size:16px}.document-template-guide p{margin:8px 0;color:#475569;font-size:14px;line-height:1.5}.document-template-guide code{display:inline-block;max-width:100%;overflow-wrap:anywhere;color:#1d4ed8;font-size:13px}.document-template-list{display:grid;gap:10px}.document-template-card{display:grid;grid-template-columns:auto minmax(0,1fr) auto;align-items:center;gap:14px;padding:18px;border:1px solid #dbe4ef;border-radius:8px;background:#fff}.document-template-card>svg{color:#2563eb}.document-template-card h2{margin:0;font-size:17px}.document-template-card p{margin:5px 0 0;color:#64748b;font-size:14px}@media (max-width: 760px){.document-template-upload{align-items:stretch}.document-template-card{grid-template-columns:auto minmax(0,1fr)}}.directory-table-wrap{border:1px solid #dbe4ef;border-radius:8px}.directory-summary{display:flex;align-items:center;gap:18px;min-height:38px;padding:8px 12px;border:1px solid #dbe4ef;border-radius:8px;background:#fff;color:#64748b;font-size:13px}.directory-summary span{display:inline-flex;align-items:baseline;gap:6px;white-space:nowrap}.directory-summary strong{color:#0f172a;font-size:18px}.directory-table{min-width:900px}.directory-table td{vertical-align:middle}.directory-table td strong,.directory-table td small{display:block}.directory-table td small{margin-top:3px;color:#64748b;font-size:12px;font-weight:500}.directory-table .directory-vin{max-width:170px;overflow-wrap:anywhere;font-family:ui-monospace,SFMono-Regular,Menlo,monospace;font-size:12px}.mobile-nav-toggle{display:none}@media (max-width: 980px){.sidebar{display:block;width:100%;min-width:0;border-right:0}.sidebar-brand{height:auto;min-height:60px;padding:12px 16px}.mobile-nav-toggle{display:inline-flex;margin-left:auto;flex:0 0 40px;height:40px}.sidebar-nav{display:none}.sidebar-nav.mobile-nav-open{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));padding:8px}.sidebar-nav .sidebar-item{min-width:0;padding:10px 8px;font-size:13px;white-space:normal;text-align:left}.sidebar-nav .sidebar-item svg{flex-shrink:0}}
