@font-face{font-family:Be Vietnam Pro;font-style:normal;font-weight:400;font-display:swap;src:url(/_next/static/media/cd79e1ff94fa521b-s.p.woff2) format("woff2");unicode-range:u+0102-0103,u+0110-0111,u+0128-0129,u+0168-0169,u+01a0-01a1,u+01af-01b0,u+0300-0301,u+0303-0304,u+0308-0309,u+0323,u+0329,u+1ea0-1ef9,u+20ab}@font-face{font-family:Be Vietnam Pro;font-style:normal;font-weight:400;font-display:swap;src:url(/_next/static/media/89362aa296165c6d-s.woff2) format("woff2");unicode-range:u+0100-02ba,u+02bd-02c5,u+02c7-02cc,u+02ce-02d7,u+02dd-02ff,u+0304,u+0308,u+0329,u+1d00-1dbf,u+1e00-1e9f,u+1ef2-1eff,u+2020,u+20a0-20ab,u+20ad-20c4,u+2113,u+2c60-2c7f,u+a720-a7ff}@font-face{font-family:Be Vietnam Pro;font-style:normal;font-weight:400;font-display:swap;src:url(/_next/static/media/e11f95d95ac59fa4-s.p.woff2) format("woff2");unicode-range:u+00??,u+0131,u+0152-0153,u+02bb-02bc,u+02c6,u+02da,u+02dc,u+0304,u+0308,u+0329,u+2000-206f,u+20ac,u+2122,u+2191,u+2193,u+2212,u+2215,u+feff,u+fffd}@font-face{font-family:Be Vietnam Pro;font-style:normal;font-weight:500;font-display:swap;src:url(/_next/static/media/00f4982f357db61e-s.p.woff2) format("woff2");unicode-range:u+0102-0103,u+0110-0111,u+0128-0129,u+0168-0169,u+01a0-01a1,u+01af-01b0,u+0300-0301,u+0303-0304,u+0308-0309,u+0323,u+0329,u+1ea0-1ef9,u+20ab}@font-face{font-family:Be Vietnam Pro;font-style:normal;font-weight:500;font-display:swap;src:url(/_next/static/media/62a3c74fa0e47362-s.woff2) format("woff2");unicode-range:u+0100-02ba,u+02bd-02c5,u+02c7-02cc,u+02ce-02d7,u+02dd-02ff,u+0304,u+0308,u+0329,u+1d00-1dbf,u+1e00-1e9f,u+1ef2-1eff,u+2020,u+20a0-20ab,u+20ad-20c4,u+2113,u+2c60-2c7f,u+a720-a7ff}@font-face{font-family:Be Vietnam Pro;font-style:normal;font-weight:500;font-display:swap;src:url(/_next/static/media/8201559e247ad180-s.p.woff2) format("woff2");unicode-range:u+00??,u+0131,u+0152-0153,u+02bb-02bc,u+02c6,u+02da,u+02dc,u+0304,u+0308,u+0329,u+2000-206f,u+20ac,u+2122,u+2191,u+2193,u+2212,u+2215,u+feff,u+fffd}@font-face{font-family:Be Vietnam Pro;font-style:normal;font-weight:600;font-display:swap;src:url(/_next/static/media/2173e4bb28c315da-s.p.woff2) format("woff2");unicode-range:u+0102-0103,u+0110-0111,u+0128-0129,u+0168-0169,u+01a0-01a1,u+01af-01b0,u+0300-0301,u+0303-0304,u+0308-0309,u+0323,u+0329,u+1ea0-1ef9,u+20ab}@font-face{font-family:Be Vietnam Pro;font-style:normal;font-weight:600;font-display:swap;src:url(/_next/static/media/c6f81e539d11fc99-s.woff2) format("woff2");unicode-range:u+0100-02ba,u+02bd-02c5,u+02c7-02cc,u+02ce-02d7,u+02dd-02ff,u+0304,u+0308,u+0329,u+1d00-1dbf,u+1e00-1e9f,u+1ef2-1eff,u+2020,u+20a0-20ab,u+20ad-20c4,u+2113,u+2c60-2c7f,u+a720-a7ff}@font-face{font-family:Be Vietnam Pro;font-style:normal;font-weight:600;font-display:swap;src:url(/_next/static/media/25ab8995c98996d7-s.p.woff2) format("woff2");unicode-range:u+00??,u+0131,u+0152-0153,u+02bb-02bc,u+02c6,u+02da,u+02dc,u+0304,u+0308,u+0329,u+2000-206f,u+20ac,u+2122,u+2191,u+2193,u+2212,u+2215,u+feff,u+fffd}@font-face{font-family:Be Vietnam Pro;font-style:normal;font-weight:700;font-display:swap;src:url(/_next/static/media/9ddf1512dbee9c99-s.p.woff2) format("woff2");unicode-range:u+0102-0103,u+0110-0111,u+0128-0129,u+0168-0169,u+01a0-01a1,u+01af-01b0,u+0300-0301,u+0303-0304,u+0308-0309,u+0323,u+0329,u+1ea0-1ef9,u+20ab}@font-face{font-family:Be Vietnam Pro;font-style:normal;font-weight:700;font-display:swap;src:url(/_next/static/media/8247d8d2a376ae43-s.woff2) format("woff2");unicode-range:u+0100-02ba,u+02bd-02c5,u+02c7-02cc,u+02ce-02d7,u+02dd-02ff,u+0304,u+0308,u+0329,u+1d00-1dbf,u+1e00-1e9f,u+1ef2-1eff,u+2020,u+20a0-20ab,u+20ad-20c4,u+2113,u+2c60-2c7f,u+a720-a7ff}@font-face{font-family:Be Vietnam Pro;font-style:normal;font-weight:700;font-display:swap;src:url(/_next/static/media/e270c9fc4fe96f5a-s.p.woff2) format("woff2");unicode-range:u+00??,u+0131,u+0152-0153,u+02bb-02bc,u+02c6,u+02da,u+02dc,u+0304,u+0308,u+0329,u+2000-206f,u+20ac,u+2122,u+2191,u+2193,u+2212,u+2215,u+feff,u+fffd}@font-face{font-family:Be Vietnam Pro Fallback;src:local("Arial");ascent-override:90.61%;descent-override:24.01%;line-gap-override:0.00%;size-adjust:110.36%}.__className_021202{font-family:Be Vietnam Pro,Be Vietnam Pro Fallback;font-style:normal}:root{--bg:#f4f8fc;--panel:#ffffff;--card:#ffffff;--line:#d7e3ef;--text:#0f172a;--muted:#5b6b7c;--accent:#0284c7;--ok:#059669;--warn:#d97706;--danger:#e11d48;--violet:#7c3aed;--orange:#ea580c;--pink:#db2777}*{box-sizing:border-box}body,html{margin:0;padding:0;min-height:100%;background:radial-gradient(circle at 90% -8%,rgba(14,165,233,.22),transparent 34%),radial-gradient(circle at 6% 0,rgba(167,139,250,.18),transparent 32%),radial-gradient(circle at 50% 100%,rgba(16,185,129,.12),transparent 38%),linear-gradient(180deg,#eaf4ff 0,var(--bg) 36%);color:var(--text);font-family:Be Vietnam Pro,Inter,Segoe UI,Arial,sans-serif}.page{max-width:1600px;margin:0 auto;padding:28px 20px 48px}.hero{display:flex;justify-content:space-between;gap:20px;align-items:center;flex-wrap:nowrap}.hero>div:first-child{min-width:0;flex:1 1 auto}.eyebrow{margin:0 0 8px;color:var(--accent);font-size:12px;font-weight:700;letter-spacing:.12em;text-transform:uppercase}.hero h1{margin:0 0 8px;font-size:36px}.hero p{margin:0;color:var(--muted);max-width:520px}.stat-grid{display:flex;flex-direction:row;flex-wrap:nowrap;align-items:stretch;justify-content:flex-end;gap:10px;flex:0 0 auto}.stat{min-width:148px;padding:10px 14px;border:1px solid var(--line);border-radius:14px;background:#ffffff;box-shadow:0 8px 20px rgba(15,23,42,.04)}.stat-files{border-color:#bae6fd;background:linear-gradient(180deg,#e0f2fe,#ffffff)}.stat-files strong{color:#0369a1}.stat-trips{border-color:#ddd6fe;background:linear-gradient(180deg,#ede9fe,#ffffff)}.stat-trips strong{color:#6d28d9}.stat-money{border-color:#a7f3d0;background:linear-gradient(180deg,#d1fae5,#ffffff)}.stat-money strong{color:#047857}.stat-partners{border-color:#fbcfe8;background:linear-gradient(180deg,#fce7f3,#ffffff)}.stat-partners strong{color:#be185d}.stat span{display:block;color:var(--muted);font-size:11px;margin-bottom:4px}.stat strong{font-size:18px;white-space:nowrap}.card{margin-top:24px;background:#ffffff;border:1px solid var(--line);border-radius:20px;padding:22px;box-shadow:0 12px 28px rgba(15,23,42,.05)}.card-head{display:flex;justify-content:space-between;align-items:flex-start;flex-wrap:wrap;gap:12px;margin-bottom:16px}.card-head h2{margin:0 0 4px}.card-head p{margin:0;color:var(--muted);font-size:14px}.selected-total{display:flex;flex-direction:column;align-items:flex-end;gap:4px;min-width:180px;text-align:right}.selected-total span{color:var(--muted);font-size:12px;font-weight:600}.selected-total strong{color:#047857;font-size:20px;font-feature-settings:"tnum";font-variant-numeric:tabular-nums}.selected-total .ghost{margin-top:2px}.import-form{display:flex;flex-direction:column;gap:14px}.dropzone{position:relative;display:flex;align-items:center;gap:16px;min-height:120px;padding:20px;overflow:hidden;border:1.5px dashed #93c5fd;border-radius:18px;background:#f0f9ff;cursor:pointer}.dropzone input{position:absolute;inset:0;z-index:1;width:100%;height:100%;opacity:0;cursor:pointer}.dropzone p,.dropzone strong{display:block}.dropzone p{margin:4px 0 0;color:var(--muted);font-size:14px}.dropzone.has-file,.dropzone.is-dragging{border-color:var(--accent);background:#e0f2fe}.drop-icon{display:inline-flex;align-items:center;justify-content:center;min-width:52px;height:52px;border-radius:14px;background:linear-gradient(135deg,#34d399,#0ea5e9);color:#ffffff;font-size:12px;font-weight:700;letter-spacing:.04em;text-transform:uppercase}.import-actions{display:flex;flex-wrap:wrap;gap:10px}.area-picker{display:grid;grid-template-columns:minmax(220px,280px) minmax(280px,1fr);grid-gap:12px;gap:12px;align-items:end}.area-picker-row{display:flex;gap:8px}.area-picker-row input{flex:1 1;min-width:0}.area-tag{display:inline-block;max-width:160px;padding:4px 10px;border-radius:999px;background:#ccfbf1;color:#0f766e;font-size:13px;font-weight:700;line-height:1.35;white-space:normal}.header h1{margin:0 0 8px;font-size:32px}.header p{margin:0;color:var(--muted)}.ghost,button{border:0;border-radius:10px;padding:10px 16px;font-weight:600;cursor:pointer}button{background:linear-gradient(180deg,#38bdf8,#0284c7);color:#ffffff;box-shadow:0 8px 18px rgba(2,132,199,.22)}.btn-success{background:linear-gradient(180deg,#34d399,#059669);box-shadow:0 8px 18px rgba(5,150,105,.22)}.btn-success:disabled{background:#e2e8f0;color:#94a3b8;box-shadow:none}button:disabled{opacity:.7;cursor:not-allowed}.ghost{background:#ffffff;color:#334155;border:1px solid #cbd5e1;box-shadow:none}.danger{background:linear-gradient(180deg,#fb7185,#e11d48);color:#ffffff;box-shadow:0 8px 18px rgba(225,29,72,.18)}.row-actions{display:flex;gap:8px;flex-wrap:wrap}.rename-input{width:min(360px,100%);background:#ffffff;color:var(--text);border:1px solid var(--line);border-radius:8px;padding:8px 10px}.status{margin-top:12px;color:var(--muted)}.status.ok{color:var(--ok)}.status.error{color:var(--danger)}.conflict-list,.import-errors ul{margin:8px 0 0;padding-left:18px;color:#be123c;font-size:14px}.import-errors{margin-top:14px;padding:12px 14px;border-radius:12px;border:1px solid #fecdd3;background:#fff1f2}.import-errors strong{display:block;margin-bottom:6px;color:#9f1239}table{width:100%;border-collapse:collapse;margin-top:8px}td,th{text-align:left;padding:12px 10px;border-bottom:1px solid var(--line);font-size:14px}th{color:var(--muted);font-weight:600;white-space:nowrap}th .sort-button{display:inline-flex;align-items:center;gap:6px;padding:0;border:0;border-radius:0;background:transparent;box-shadow:none;color:inherit;font:inherit;font-weight:600}th .sort-button.is-active,th .sort-button:hover{color:#0369a1}.sort-mark{width:12px;color:#94a3b8;font-size:12px;line-height:1}th .sort-button.is-active .sort-mark{color:#0284c7}.column-picker{position:relative;display:flex;justify-content:flex-end;margin-bottom:10px}.column-picker-menu{position:absolute;top:calc(100% + 6px);right:0;z-index:8;display:grid;min-width:220px;padding:8px;border:1px solid var(--line);border-radius:14px;background:#ffffff;box-shadow:0 16px 36px rgba(15,23,42,.12)}.column-picker-menu label{display:flex;align-items:center;gap:8px;padding:7px 8px;border-radius:8px;color:var(--text);font-size:14px;font-weight:600;cursor:pointer}.column-picker-menu label:hover{background:#f0f9ff}.column-picker-menu input{width:16px;height:16px;accent-color:#0284c7}.price,.price-left{white-space:nowrap;font-feature-settings:"tnum";font-variant-numeric:tabular-nums;color:#047857;font-weight:600}.price{text-align:right}.price-left{text-align:left}.money-today{color:#0369a1}.money-total{color:#047857}.notes{max-width:280px;white-space:normal}.total-row td{border-bottom:0;font-weight:700;color:var(--text);background:linear-gradient(90deg,#d1fae5,#f0fdf4)}.badge{display:inline-block;padding:4px 10px;border-radius:999px;font-size:12px;font-weight:700;background:#e2e8f0;color:#334155}.badge.ready,.badge.st-locked,.badge.st-paid{background:#d1fae5;color:#047857}.badge.busy,.badge.st-neutral{background:#e0f2fe;color:#0369a1}.badge.maintain,.badge.st-pending,.badge.st-unpaid{background:#ffedd5;color:#c2410c}.badge.st-coord{background:#ede9fe;color:#6d28d9}.badge.st-coord-ok{background:#ccfbf1;color:#0f766e}.empty{color:var(--muted);padding:24px 0}.file-link{display:inline-flex;align-items:center;gap:8px;color:var(--text);font-weight:600;text-decoration:none}.file-link:hover{color:var(--accent)}.file-badge{display:inline-flex;align-items:center;justify-content:center;padding:3px 7px;border-radius:999px;background:linear-gradient(180deg,#34d399,#059669);color:#ffffff;font-size:11px;font-weight:700}.badge-plate{background:linear-gradient(180deg,#818cf8,#4f46e5)}.empty-box{padding:28px 12px;text-align:center;color:var(--muted);border:1px dashed var(--line);border-radius:16px;background:#f8fbff}.empty-box strong{display:block;margin-bottom:6px;color:var(--text)}.table-wrap{max-width:100%;overflow-x:auto;-webkit-overflow-scrolling:touch}.file-table{min-width:760px}.file-table.contract-table{min-width:0}.trip-table{min-width:1080px}.file-table tbody tr:nth-child(2n){background:#f8fbff}.file-table tbody tr.is-selected{background:#eff6ff}.file-table .check-col{width:36px;text-align:center;vertical-align:middle}.file-table .check-col input{width:16px;height:16px;accent-color:#2563eb;cursor:pointer}.file-table tbody tr:hover,table tbody tr:hover{background:#e0f2fe}.row-dirty{background:#fef3c7!important}.click-row{cursor:pointer}.driver-card-modal{width:min(420px,100%);padding:16px 14px 18px;display:flex;flex-direction:column;align-items:center}.driver-poster{width:380px;max-width:100%;overflow:hidden;border:3px solid #0e3a62;border-radius:16px;background:radial-gradient(120px 80px at 8% 12%,rgba(14,58,98,.07),transparent 70%),radial-gradient(180px 120px at 96% 92%,rgba(196,162,39,.2),transparent 68%),radial-gradient(circle at 50% 0,rgba(255,255,255,.7),transparent 55%),repeating-radial-gradient(circle at 12px 12px,rgba(14,58,98,.035) 0 1px,transparent 1px 14px),linear-gradient(180deg,#fffdf8,#f6edd8)}.driver-poster-hero{display:flex;align-items:center;justify-content:center;padding:16px 16px 10px;background:transparent}.driver-poster-frame{width:100%;height:252px;overflow:hidden;border-radius:12px;transform:translateZ(0)}.driver-poster-hero img{display:block;width:100%;height:100%;object-fit:cover;object-position:center}.driver-poster-empty{display:grid;place-items:center;width:100%;height:252px;border-radius:12px;background:rgba(255,255,255,.35);color:#5b7390;font-weight:600}.driver-poster-footer span{color:#1a5f8a}.driver-poster-sheet{position:relative;padding:6px 16px 16px;background:transparent}.driver-poster-row{position:relative;z-index:1;display:flex;align-items:center;gap:10px;min-height:48px}.driver-poster-icon{flex:0 0 42px;display:grid;place-items:center;width:42px;height:42px;border-radius:50%;color:#fff}.driver-poster-icon svg{width:24px;height:24px}.driver-poster-row.tone-navy .driver-poster-icon{background:#0e3a62;box-shadow:0 4px 10px rgba(14,58,98,.28)}.driver-poster-row.tone-teal .driver-poster-icon{background:#0f6e62;box-shadow:0 4px 10px rgba(15,110,98,.28)}.driver-poster-row.tone-gold .driver-poster-icon{background:#b68a14;box-shadow:0 4px 10px rgba(182,138,20,.28)}.driver-poster-row.tone-blue .driver-poster-icon{background:#1d5fa8;box-shadow:0 4px 10px rgba(29,95,168,.28)}.driver-poster-row.tone-rose .driver-poster-icon{background:#a24b3a;box-shadow:0 4px 10px rgba(162,75,58,.28)}.driver-poster-label{flex:0 0 84px}.driver-poster-colon,.driver-poster-label{color:#0e3a62;font-size:14px;font-weight:600}.driver-poster-colon{flex:0 0 10px}.driver-poster-row strong{flex:1 1;min-width:0;color:#1a5f8a;font-size:18px;font-weight:700;line-height:1.25;white-space:nowrap}.driver-poster-footer{position:relative;z-index:1;margin:10px 2px 0;color:#0e3a62;font-size:20px;text-align:right}.partner-address{margin:16px 0 0;color:var(--muted)}.row-actions .danger,.row-actions .ghost,.row-actions button{padding:8px 12px;font-size:13px}.app-nav{display:flex;align-items:center;gap:6px;flex:1 1}.topbar{position:-webkit-sticky;position:sticky;top:0;z-index:30;border-bottom:1px solid #dbeafe;background:rgba(255,255,255,.86);-webkit-backdrop-filter:blur(14px);backdrop-filter:blur(14px)}.topbar-inner{max-width:1600px;margin:0 auto;padding:12px 20px;justify-content:space-between;gap:20px}.brand,.topbar-inner{display:flex;align-items:center}.brand{flex-shrink:0;text-decoration:none;color:#0f172a}.brand-logo{display:block;height:46px;width:auto;object-fit:contain}.nav-link{padding:8px 14px;border-radius:8px;color:#334155;text-decoration:none;font-size:14px;font-weight:600}.nav-link:hover{color:#0f172a;background:#e0f2fe}.nav-link.active{background:linear-gradient(180deg,#38bdf8,#0284c7);color:#ffffff}.nav-user{display:flex;align-items:center;gap:10px;margin-left:auto}.nav-toggle{display:none;position:relative;width:42px;height:42px;padding:0;border:1px solid #cbd5e1;background:#ffffff;box-shadow:none;flex:0 0 auto}.nav-toggle span,.nav-toggle span:after,.nav-toggle span:before{position:absolute;left:11px;width:18px;height:2px;border-radius:2px;background:#0f172a;content:""}.nav-toggle span{top:20px}.nav-toggle span:before{top:-6px}.nav-toggle span:after{top:6px}.nav-toggle.is-open span{background:transparent}.nav-toggle.is-open span:before{top:0;transform:rotate(45deg)}.nav-toggle.is-open span:after{top:0;transform:rotate(-45deg)}.nav-user span{display:flex;flex-direction:column;align-items:flex-end;min-width:0;max-width:240px;font-size:13px;font-weight:600;color:#0f172a;line-height:1.2}.nav-user strong{max-width:100%;overflow:hidden;font-size:13px;font-weight:600;text-overflow:ellipsis;white-space:nowrap}.nav-user small{color:#64748b;font-size:11px;font-weight:500}.login-page{min-height:calc(100vh - 24px);display:flex;align-items:center;justify-content:center}.login-card{width:min(460px,100%);margin-top:0;padding:32px 32px 28px}.login-card .login-brand{margin:0 0 8px;line-height:0}.login-card .login-brand img{display:block;height:148px;width:auto;max-width:100%;object-fit:contain}.login-card .eyebrow,.login-card h1{margin:0 0 12px}.login-card h1{line-height:1.25}.login-card>p{color:var(--muted);margin:0 0 28px;line-height:1.5}.login-card form{display:flex;flex-direction:column;gap:20px}.login-card .filter-field{gap:10px}.login-card .filter-field input{padding:12px 14px}.login-card form>button{margin-top:8px;align-self:flex-start}.back-link{display:inline-block;margin-bottom:12px;color:#0369a1;font-weight:600;text-decoration:none}.back-link:hover{color:#075985}.form-grid{display:grid;grid-template-columns:1.4fr 1fr;grid-gap:12px;gap:12px;margin-bottom:18px}.driver-grid{grid-template-columns:repeat(3,minmax(0,1fr));margin-bottom:0}.form-wide{grid-column:1/-1}.photo-upload{display:flex;align-items:center;gap:14px}.photo-preview,.photo-thumb{width:88px;height:64px;object-fit:cover;border-radius:10px;border:1px solid #dbe7f3;background:#f8fbff}.photo-preview.is-empty,.photo-thumb.is-empty{display:grid;place-items:center;color:#7b8da3;font-size:12px}.photo-thumb{width:56px;height:40px}.photo-thumb-link{display:inline-flex}.photo-upload-actions{display:flex;flex-wrap:wrap;align-items:center;gap:8px}.photo-upload-actions p{width:100%;margin:0;color:#64748b;font-size:12px}.photo-pick{position:relative;display:inline-flex;align-items:center;justify-content:center;min-height:36px;padding:0 12px;border:1px solid #cfe0f0;border-radius:10px;background:#fff;color:#0f172a;font-size:13px;font-weight:600;cursor:pointer}.photo-pick input{position:absolute;inset:0;opacity:0;cursor:pointer}.partner-form{display:flex;flex-direction:column;gap:18px}.form-section h3{display:flex;align-items:baseline;gap:8px;margin:0 0 10px;font-size:14px;font-weight:700}.form-section h3 em{font-style:normal;font-weight:600;font-size:12px;color:var(--accent)}.partner-grid{grid-template-columns:1.1fr .7fr 1.2fr;margin-bottom:0}.vehicle-editor h3{margin:0}.vehicle-driver-list{display:flex;flex-direction:column;gap:8px;margin-bottom:10px}.driver-picker{position:relative;flex:1 1}.driver-picker input{width:100%;background:#ffffff;color:var(--text);border:1px solid var(--line);border-radius:10px;padding:10px 12px}.driver-picker-list{position:absolute;z-index:8;left:0;right:0;top:calc(100% + 4px);max-height:280px;overflow:auto;background:#ffffff;border:1px solid #d7e3ef;border-radius:12px;box-shadow:0 16px 32px rgba(15,23,42,.12)}.driver-picker-item{display:flex;flex-direction:column;align-items:flex-start;gap:4px;width:100%;padding:12px 14px;border-bottom:1px solid #eef4f9;background:#ffffff;color:#0f172a;font-family:inherit;font-size:14px;font-weight:400;line-height:1.4;cursor:pointer}.driver-picker-item:last-of-type{border-bottom:0}.driver-picker-item:focus,.driver-picker-item:hover{background:#e0f2fe;outline:none}.driver-picker-item strong{color:#0f172a;font-family:inherit;font-size:14px;font-weight:700}.driver-picker-item span{font-family:inherit}.driver-picked p,.driver-picker-item span{color:#5b6b7c;font-size:13px;font-weight:400}.driver-picked p{margin:4px 0 0}.driver-picked{display:flex;justify-content:space-between;gap:12px;align-items:center;padding:8px 10px 8px 12px;border:1px solid #e2e8f0;border-radius:10px;background:#f8fafc}.driver-picked strong{font-size:14px}.quick-driver{margin-top:20px;padding:18px;border:1px solid #e2e8f0;border-radius:16px;background:#f8fafc}.quick-driver .card-head{margin-bottom:14px}.quick-driver h3{margin:0 0 4px;font-size:16px}.quick-driver .card-head p{margin:0;color:var(--muted);font-size:13px}.form-actions{margin-top:14px}.form-actions,.form-footer{display:flex;justify-content:flex-end}.form-footer{margin-top:4px;padding-top:14px;border-top:1px solid var(--line)}.filters{display:grid;grid-template-columns:repeat(auto-fit,minmax(220px,1fr));grid-gap:12px;gap:12px;margin:12px 0 16px}.filter-field{display:flex;flex-direction:column;gap:6px;min-width:0;color:var(--muted);font-size:13px}.filter-field select.is-invalid{border-color:#e11d48;background:#fff1f2}.filter-field input,.filter-field select,.filter-field textarea{width:100%;min-width:0;max-width:100%;background:#ffffff;color:var(--text);border:1px solid var(--line);border-radius:10px;padding:10px 12px;font-size:14px;font-family:inherit}.filter-search{grid-column:1/-1}.filter-field input[type=date]{color-scheme:light}.password-field{position:relative;display:block}.filter-field .password-field input,.login-card .filter-field .password-field input{width:100%;padding-right:58px}.password-toggle{position:absolute;top:50%;right:8px;transform:translateY(-50%);border:0;background:transparent;color:#0369a1;font-weight:700;font-size:12px;cursor:pointer;padding:4px}.date-picks{display:flex;flex-direction:column;gap:8px;margin-bottom:16px;color:var(--muted);font-size:13px}.date-chips{display:flex;flex-wrap:wrap;gap:8px}.chip{display:inline-flex;align-items:center;gap:6px;padding:6px 10px;border:1px solid var(--line);border-radius:999px;background:#ffffff;color:var(--text);cursor:pointer}.chip.active{border-color:#818cf8;background:#ede9fe;color:#5b21b6}.status-legend{display:flex;flex-wrap:wrap;gap:8px;margin-top:16px}.table-toolbar{display:flex;justify-content:flex-end;align-items:center;flex-wrap:wrap;gap:10px;margin-bottom:12px}.table-toolbar input[type=file]{display:none}.status-select{min-width:180px;background:#ffffff;color:var(--text);border:1px solid var(--line);border-radius:8px;padding:8px 10px;font-weight:600}.status-select.ready,.status-select.st-locked,.status-select.st-paid{border-color:#6ee7b7;background:#d1fae5;color:#047857}.status-select.busy,.status-select.st-neutral{border-color:#7dd3fc;background:#e0f2fe;color:#0369a1}.status-select.maintain,.status-select.st-pending,.status-select.st-unpaid{border-color:#fdba74;background:#ffedd5;color:#c2410c}.status-select.st-coord{border-color:#c4b5fd;background:#ede9fe;color:#6d28d9}.status-select.st-coord-ok{border-color:#5eead4;background:#ccfbf1;color:#0f766e}.toast-stack{position:fixed;right:24px;bottom:24px;z-index:50;gap:10px;width:min(380px,calc(100vw - 32px))}.toast,.toast-stack{display:flex;flex-direction:column}.toast{gap:12px;padding:14px 16px;border-radius:14px;border:1px solid var(--line);background:#ffffff;box-shadow:0 16px 40px rgba(15,23,42,.12);animation:toast-in .2s ease}.toast-ok{border-color:#6ee7b7;background:linear-gradient(180deg,#ecfdf5,#ffffff)}.toast-error{border-color:#fda4af;background:linear-gradient(180deg,#fff1f2,#ffffff)}.toast-warn{border-color:#fcd34d;background:linear-gradient(180deg,#fffbeb,#ffffff)}.toast-body strong{display:block;margin-bottom:4px}.toast-body p{margin:0;color:var(--muted);font-size:14px}.toast-actions{display:flex;justify-content:flex-end;gap:8px}@keyframes toast-in{0%{opacity:0;transform:translateY(8px)}to{opacity:1;transform:translateY(0)}}.modal-backdrop{position:fixed;inset:0;z-index:40;display:flex;align-items:flex-start;justify-content:center;padding:24px 16px;overflow:auto;background:rgba(15,23,42,.35)}.modal{width:min(860px,100%);margin-bottom:24px;background:#ffffff;border:1px solid var(--line);border-radius:18px;padding:18px 20px 16px;box-shadow:0 24px 60px rgba(15,23,42,.16)}.modal-confirm{width:min(440px,100%);margin-top:12vh;border-color:#fecdd3}.modal-confirm .import-actions{justify-content:flex-end}.modal-head{display:flex;justify-content:space-between;gap:12px;align-items:center;margin-bottom:12px}.modal-head h2,.modal-head p,.previous-days h3,.today-box h3{margin:0}.modal-head h2{font-size:22px;line-height:1.2}.modal-head p{margin-top:2px;color:var(--muted);font-size:14px}.previous-days,.today-box{margin-top:12px;padding-top:12px;border-top:1px solid var(--line)}.today-box{display:flex;flex-direction:column;gap:10px}.previous-days h3,.today-box h3{margin-bottom:0;font-size:16px}.today-fields{display:grid;grid-template-columns:1fr 1fr 1fr;grid-gap:10px;gap:10px}.today-box .filter-field{gap:4px}.today-box textarea{min-height:64px;resize:vertical}.previous-days .empty{padding:8px 0 4px;margin:0}.contract-toolbar{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:8px}.contract-toolbar .back-link{margin-bottom:0}.contract-columns{display:grid;grid-template-columns:1fr 1fr;grid-gap:16px;gap:16px}.contract-columns .card{margin-top:16px}.party-card h3{margin:0 0 14px;font-size:22px}.party-kicker{margin:0 0 6px;font-size:12px;font-weight:700;letter-spacing:.08em;text-transform:uppercase}.party-a{border-color:#7dd3fc;background:linear-gradient(180deg,#e0f2fe,#ffffff 46%)}.party-a .party-kicker,.party-a h3{color:#0369a1}.party-b{border-color:#c4b5fd;background:linear-gradient(180deg,#ede9fe,#ffffff 46%)}.party-b .party-kicker,.party-b h3{color:#6d28d9}.contract-fields{display:grid;grid-template-columns:1fr 1fr;grid-gap:10px;gap:10px;margin:0}.contract-fields div{display:grid;grid-gap:2px;gap:2px;padding:8px 10px;border-radius:12px;background:rgba(255,255,255,.72)}.contract-fields .is-wide{grid-column:1/-1}.contract-fields dt{color:var(--muted);font-size:12px;font-weight:600}.contract-fields dd{margin:0;font-weight:600;line-height:1.45}.plate{align-self:center;padding:8px 14px;border:2px solid #a16207;border-radius:10px;background:linear-gradient(180deg,#fef08a,#facc15);color:#422006;font-size:20px;font-weight:700;letter-spacing:.04em;white-space:nowrap}.plate-mini{padding:3px 8px;border-width:1.5px;border-radius:8px;letter-spacing:.02em}.party-tag,.plate-mini{display:inline-block;font-size:13px}.party-tag{max-width:220px;padding:4px 10px;border-radius:999px;font-weight:700;line-height:1.35}.party-tag-a{background:#e0f2fe;color:#0369a1}.party-tag-b{background:#ede9fe;color:#6d28d9}.seat-count-row{display:flex;flex-wrap:wrap;gap:8px;margin-top:10px}.seat-count{display:inline-flex;align-items:center;padding:5px 10px}.seat-count,.seat-tag{border-radius:999px;background:#e2e8f0;color:#334155;font-size:13px;font-weight:700}.seat-tag{display:inline-block;max-width:240px;padding:4px 10px;line-height:1.35;white-space:normal}.seat-tag-29{background:#d1fae5;color:#047857}.seat-tag-45{background:#fbcfe8;color:#9d174d}.seat-tag-47{background:#ffedd5;color:#c2410c}.fleet-tags{display:flex;flex-wrap:wrap;gap:6px}.fleet-mark{display:inline-block;padding:4px 10px;border-radius:999px;background:#e0f2fe;color:#0369a1;font-size:12px;font-weight:700}.fleet-table-wrap{overflow-x:auto}.fleet-table{width:100%;min-width:640px;border-collapse:collapse}.fleet-table th{padding:10px 12px;background:#163a5f;color:#fff;font-size:13px;font-weight:700;text-align:center}.fleet-table td{padding:12px;border:1px solid #d7e3ef;vertical-align:middle;line-height:1.45}.fleet-table td.is-center{text-align:center;white-space:nowrap}.fleet-table tbody tr:nth-child(2n) td{background:#f8fafc}.fleet-facts{margin-top:14px}.stt-col{width:52px;text-align:center;color:var(--muted);font-feature-settings:"tnum";font-variant-numeric:tabular-nums}.file-table tbody tr.seat-row-45{background:#fdf2f8}.file-table tbody tr.seat-row-45:hover{background:#fce7f3}.file-table tbody tr.seat-row-47{background:#fff7ed}.file-table tbody tr.seat-row-47:hover{background:#ffedd5}.file-table tbody tr.is-selected{box-shadow:inset 3px 0 0 #0284c7}.contract-list-tools{display:flex;align-items:center;flex-wrap:wrap;justify-content:flex-end;gap:10px}.seat-select-29{border-color:#6ee7b7;background:#d1fae5;color:#047857}.seat-select-45{border-color:#f9a8d4;background:#fce7f3;color:#9d174d}.seat-select-47{border-color:#fdba74;background:#ffedd5;color:#c2410c}.contract-facts{display:grid;grid-template-columns:repeat(3,1fr);grid-gap:10px;gap:10px}.fact{padding:12px 14px;border:1px solid var(--line);border-radius:14px;background:#f8fafc}.fact span{display:block;margin-bottom:4px;color:var(--muted);font-size:12px;font-weight:600}.fact strong{display:block;font-size:15px;line-height:1.4}.fact-term{border-color:#fde68a;background:#fffbeb}.fact-term strong{color:#b45309}.fact-money{border-color:#a7f3d0;background:#ecfdf5}.fact-money strong{color:#047857}.fact-day{border-color:#ddd6fe;background:#f5f3ff}.fact-day strong{color:#6d28d9}.fact-deposit{border-color:#bae6fd;background:#f0f9ff}.fact-deposit strong{color:#0369a1}.fact-driver{border-color:#fed7aa;background:#fff7ed}.fact-driver strong{color:#c2410c}.fact-penalty{border-color:#fecdd3;background:#fff1f2}.fact-penalty strong{color:#be123c}.fact-area{border-color:#99f6e4;background:#f0fdfa}.fact-area strong{color:#0f766e}.contract-paynote{margin:12px 0 0;padding:12px 14px;border-radius:14px;background:#f8fafc;color:#334155;line-height:1.5}.contract-articles{display:grid;grid-gap:10px;gap:10px}.contract-articles article{padding:14px 16px;border:1px solid var(--line);border-radius:16px}.contract-articles h3{display:flex;align-items:center;gap:10px;margin:0 0 8px;font-size:15px}.contract-articles h3 span{display:inline-flex;align-items:center;justify-content:center;width:28px;height:28px;border-radius:999px;color:#ffffff;font-size:13px;flex:0 0 auto}.contract-articles article:nth-child(6n+1){border-color:#bae6fd;background:#f0f9ff}.contract-articles article:nth-child(6n+1) h3 span{background:#0284c7}.contract-articles article:nth-child(6n+2){border-color:#ddd6fe;background:#f5f3ff}.contract-articles article:nth-child(6n+2) h3 span{background:#7c3aed}.contract-articles article:nth-child(6n+3){border-color:#a7f3d0;background:#ecfdf5}.contract-articles article:nth-child(6n+3) h3 span{background:#059669}.contract-articles article:nth-child(6n+4){border-color:#fde68a;background:#fffbeb}.contract-articles article:nth-child(6n+4) h3 span{background:#d97706}.contract-articles article:nth-child(6n+5){border-color:#fecdd3;background:#fff1f2}.contract-articles article:nth-child(6n+5) h3 span{background:#e11d48}.contract-articles article:nth-child(6n+6){border-color:#bfdbfe;background:#eff6ff}.contract-articles article:nth-child(6n+6) h3 span{background:#2563eb}.contract-articles p,.contract-raw{margin:0;line-height:1.55;white-space:pre-wrap}.contract-file{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:12px;padding:12px 14px;border:1px solid #bae6fd;border-radius:14px;background:linear-gradient(180deg,#e0f2fe,#ffffff)}.contract-file p{margin:2px 0 0;color:var(--muted);font-size:13px}.contract-raw-wrap{border:1px solid var(--line);border-radius:14px;background:#f8fafc}.contract-raw-wrap summary{padding:12px 14px;color:#0369a1;font-weight:600;cursor:pointer}.contract-raw{padding:0 14px 14px;color:#334155}.contract-note{margin:16px 0 0;padding:12px 14px;border:1px solid #fde68a;border-radius:14px;background:#fffbeb;color:#b45309;font-size:14px}a.ghost{display:inline-flex;align-items:center;text-decoration:none}@media (max-width:1200px){.hero{flex-wrap:wrap;align-items:flex-start}.stat-grid{width:100%;flex-wrap:wrap;justify-content:flex-start}.stat{flex:1 1 160px;min-width:0}.contract-list-tools{flex:1 1 280px;justify-content:flex-start}}@media (max-width:1080px){.topbar-inner{flex-wrap:wrap;gap:10px}.brand{order:1}.nav-user{order:2;margin-left:auto}.nav-toggle{display:inline-flex;order:3}.app-nav{display:none;order:4;flex:1 1 100%;flex-direction:column;align-items:stretch;gap:4px;padding-top:4px}.app-nav.is-open{display:flex}.nav-link{padding:12px 14px}}@media (max-width:800px){.page{padding:16px 12px 36px}.topbar-inner{padding:10px 12px}.card{padding:16px;border-radius:16px}.header h1,.hero h1,.login-card h1{font-size:26px}.stat{flex-grow:1;flex-shrink:1;flex-basis:calc(50% - 10px)}.stat strong{font-size:16px;white-space:normal}.area-picker,.contract-columns,.contract-facts,.contract-fields,.driver-grid,.form-grid,.partner-grid,.staff-modal .form-grid,.today-fields{grid-template-columns:1fr}.contract-file,.contract-toolbar,.contract-vehicle .card-head,.selected-total{align-items:flex-start;flex-direction:column;text-align:left}.selected-total{width:100%;min-width:0}.contract-list-tools,.contract-list-tools .rename-input,.contract-list-tools .status-select{width:100%}.contract-list-tools .rename-input{max-width:none}.form-actions,.form-footer,.import-actions,.table-toolbar{align-items:stretch;justify-content:flex-start}.form-actions>button,.form-footer>button,.import-actions>button,.table-toolbar>button{flex:1 1 180px}.area-picker-row,.photo-upload{align-items:flex-start;flex-wrap:wrap}.area-picker-row button,.area-picker-row input{width:100%}.login-card{padding:22px 16px 18px}.modal{padding:16px}.modal-confirm{margin-top:8vh}.party-card h3{font-size:18px}.toast-stack{right:12px;bottom:12px;left:12px;width:auto}.filter-field input,.filter-field select,.filter-field textarea,.rename-input,.status-select,input,select,textarea{font-size:16px}}@media (max-width:560px){.stat{flex:1 1 100%}.nav-user span{max-width:46vw}.brand-logo{height:40px}td,th{padding:10px 8px}}.finance-layout{display:grid;grid-template-columns:minmax(0,380px) minmax(0,1fr);grid-gap:16px;gap:16px;margin-top:16px}.finance-layout>.finance-stack:first-child .form-grid{grid-template-columns:1fr}.finance-stack{display:flex;flex-direction:column;gap:16px}.fund-note{margin:8px 0 0;color:var(--muted);font-size:13px}.range-row,.type-switch{display:flex;flex-wrap:wrap;gap:8px}.range-row button,.type-switch button{border:1px solid var(--line);background:#fff;color:var(--text);border-radius:999px;padding:7px 12px;font-weight:650;cursor:pointer}.range-row button.is-active,.type-switch button.is-active{background:#0f172a;border-color:#0f172a;color:#fff}.type-switch button.is-in.is-active{background:#047857;border-color:#047857}.type-switch button.is-out.is-active{background:#be123c;border-color:#be123c}.finance-charts{display:grid;grid-template-columns:1.3fr .9fr;grid-gap:16px;gap:16px}.month-chart{display:flex;align-items:flex-end;gap:10px;min-height:180px;overflow-x:auto;padding-top:8px}.month-col{flex:1 0 54px;display:flex;flex-direction:column;align-items:center;gap:6px}.month-bars{display:flex;align-items:flex-end;gap:4px;height:140px}.month-bars span{width:14px;border-radius:7px 7px 3px 3px;min-height:4px}.month-bars .bar-in{background:#059669}.month-bars .bar-out{background:#e11d48}.month-col small{color:var(--muted);font-size:11px}.category-list{display:flex;flex-direction:column;gap:10px}.category-row{display:grid;grid-template-columns:118px minmax(0,1fr) auto;grid-gap:8px;gap:8px;align-items:center;font-size:13px}.category-track{height:8px;border-radius:99px;background:#e8eef5;overflow:hidden}.category-track span{display:block;height:100%;border-radius:inherit}.category-track .is-in{background:#059669}.category-track .is-out{background:#e11d48}.money-in{color:#047857;font-weight:700}.money-out{color:#be123c;font-weight:700}.badge-in,.badge-out{display:inline-flex;border-radius:999px;padding:2px 8px;font-size:12px;font-weight:700}.badge-in{background:#d1fae5;color:#047857}.badge-out{background:#ffe4e6;color:#be123c}@media (max-width:980px){.finance-charts,.finance-layout{grid-template-columns:1fr}}.asset-form .form-grid{grid-template-columns:1fr}.asset-detail{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);grid-gap:18px;gap:18px;align-items:start}.asset-detail h3,.asset-facts+form h3,.card>h3{margin:0 0 10px;font-size:16px}.asset-facts{display:grid;grid-template-columns:132px minmax(0,1fr);grid-gap:8px 12px;gap:8px 12px;margin:0;font-size:14px}.asset-facts dt{color:var(--muted)}.asset-facts dd{margin:0;font-weight:650}.asset-bar{background:#0369a1}.asset-bar.is-in_stock{background:#0284c7}.asset-bar.is-assigned{background:#059669}.asset-bar.is-repair{background:#d97706}.asset-bar.is-lost{background:#e11d48}.asset-bar.is-retired{background:#64748b}.badge-assigned,.badge-expired,.badge-lost,.badge-overdue,.badge-repair,.badge-retired,.badge-soon,.badge-stock{display:inline-flex;border-radius:999px;padding:2px 8px;font-size:12px;font-weight:700}.badge-stock{background:#e0f2fe;color:#0369a1}.badge-assigned{background:#d1fae5;color:#047857}.badge-repair{background:#fef3c7;color:#b45309}.badge-retired{background:#e2e8f0;color:#475569}.badge-expired,.badge-lost,.badge-overdue{background:#ffe4e6;color:#be123c}.badge-soon{background:#ffedd5;color:#c2410c}tr.is-selected td{background:#f0f9ff}.staff-avatar,.staff-portrait{width:84px;height:84px;border-radius:18px;object-fit:cover;border:1px solid #dbe7f3;background:#e0f2fe;color:#0369a1;font-weight:750}.staff-avatar.is-empty,.staff-portrait.is-empty{display:grid;place-items:center}.staff-avatar{width:42px;height:42px;border-radius:12px;font-size:14px}.staff-cell,.staff-head{display:flex;align-items:center;gap:10px}.staff-section{margin:18px 0 8px;font-size:15px}tr.is-link{cursor:pointer}tr.is-link:hover td{background:#f8fafc}.staff-profile{justify-content:space-between}.staff-profile,.staff-profile-main{display:flex;align-items:center;gap:16px}.staff-profile-main{min-width:0}.staff-profile .staff-portrait{width:112px;height:112px;border-radius:24px;flex:none;font-size:36px}.staff-profile h1{margin:0 0 4px;font-size:32px}.staff-profile p{margin:0;color:var(--muted)}.staff-profile-actions,.staff-profile-meta{display:flex;flex-wrap:wrap;gap:8px}.staff-profile-meta{margin-top:10px}.staff-profile-grid{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);grid-gap:16px;gap:16px;margin-top:16px}.staff-profile-grid .card{margin-top:0}.staff-profile-grid h2{margin:0 0 14px;font-size:18px}.staff-modal{width:min(920px,100%)}.staff-modal .form-grid{grid-template-columns:1fr 1fr}.finance-opening-modal{width:min(440px,100%);margin-top:12vh}.badge-staff-active,.badge-staff-leave,.badge-staff-missing,.badge-staff-probation,.badge-staff-resigned{display:inline-flex;border-radius:999px;padding:2px 8px;font-size:12px;font-weight:700}.badge-staff-active{background:#d1fae5;color:#047857}.badge-staff-probation{background:#ffedd5;color:#c2410c}.badge-staff-leave{background:#e0f2fe;color:#0369a1}.badge-staff-missing,.badge-staff-resigned{background:#e2e8f0;color:#475569}@media (max-width:980px){.asset-detail,.staff-profile-grid{grid-template-columns:1fr}.staff-profile,.staff-profile-main{align-items:flex-start;flex-direction:column}}