:root{font-family:Inter,Segoe UI,Arial,sans-serif;color:#253b40;background:#f4f6f4;font-synthesis:none;--ink:#172b30;--muted:#728184;--line:#e1e7e3;--green:#007b99;--brand:#00ceff;--red:#b54339;--amber:#9b6915}
*{box-sizing:border-box}body{margin:0}button,input,select,textarea{font:inherit}button,a,input,select,textarea{outline-offset:3px}button{cursor:pointer}button:disabled{cursor:wait;opacity:.6}a{color:var(--green)}h1,h2,h3,p{margin:0}h1{font-size:30px;letter-spacing:-.9px;font-weight:650}h2{font-size:19px;letter-spacing:-.3px}h3{font-size:15px}small,.muted{color:var(--muted)}small{font-size:12px}.app{display:grid;grid-template-columns:240px 1fr;min-height:100vh}.sidebar{position:sticky;top:0;height:100vh;background:var(--ink);color:#e8efec;padding:29px 18px 18px;display:flex;flex-direction:column}.brand{display:flex;align-items:center;gap:11px;padding:0 12px 32px}.brand img{width:48px;height:48px;object-fit:contain;flex:none}.brand strong{font-size:19px;letter-spacing:-.4px}.brand small{display:block;color:#90aaa7;margin-top:4px;font-size:11px;letter-spacing:.6px}.nav-label{font-size:10px;letter-spacing:1.8px;color:#91a9a6;padding:12px;margin:9px 0}.nav-item{display:flex;align-items:center;gap:12px;width:100%;padding:12px 14px;margin:4px 0;color:#b9cbc8;background:none;border:0;border-radius:9px;text-align:left;font-size:14px}.nav-item:hover{background:#ffffff08}.nav-item.active{color:var(--brand);background:#00ceff18}.nav-item svg{width:19px;height:19px;flex:none}.sidebar-bottom{margin-top:auto;border-top:1px solid #ffffff14;padding:19px 10px 0}.avatar{background:#00ceff;color:#234a3f;width:34px;height:34px;border-radius:50%;display:grid;place-items:center;font-size:12px;font-weight:700;flex:none}.profile{display:flex;align-items:center;gap:10px}.profile strong{font-size:12px}.profile small{color:#90aaa7;display:block;margin-top:3px;font-size:11px}.profile-buttons{display:flex;gap:12px;margin-top:15px}.profile-buttons button{background:none;border:0;padding:0;color:#aabfbb;font-size:12px}.main{min-width:0}.topbar{height:72px;border-bottom:1px solid var(--line);background:#ffffffa8;display:flex;align-items:center;justify-content:space-between;padding:0 38px;gap:15px;font-size:13px}.topbar .eyebrow{color:#71807c}.topbar-right{display:flex;align-items:center;gap:20px;color:#728184;font-size:12px}.dot{height:7px;width:7px;background:#00ceff;display:inline-block;border-radius:50%;margin-right:6px}.content{max-width:1520px;padding:34px 38px 50px;margin:auto}.page-heading{display:flex;justify-content:space-between;align-items:center;gap:15px;margin-bottom:28px}.page-heading p{font-size:13px;color:var(--muted);margin-top:9px;line-height:1.6}.btn{display:inline-flex;align-items:center;justify-content:center;gap:8px;border:1px solid var(--line);border-radius:8px;background:white;padding:10px 15px;font-size:13px;color:var(--ink);text-decoration:none;font-weight:550}.btn:hover{background:#f0f5f0}.btn.primary{background:var(--brand);border-color:var(--brand);color:var(--ink)}.btn.primary:hover{background:#33d8ff}.btn.small{padding:7px 10px;font-size:12px}.btn.danger{color:var(--red)}.btn svg{width:16px;height:16px}.actions{display:flex;gap:8px;flex-wrap:wrap}.stats{display:grid;grid-template-columns:repeat(4,1fr);gap:16px;margin-bottom:26px}.stat{background:white;border:1px solid var(--line);border-radius:12px;padding:21px}.stat-top{display:flex;align-items:center;justify-content:space-between;color:#7c8d85;font-size:12px}.stat-icon{display:grid;place-items:center;width:34px;height:34px;border-radius:9px;background:#f0f5f0}.stat-icon svg{width:18px;height:18px}.stat strong{display:block;font-size:32px;letter-spacing:-1px;font-weight:600;margin:12px 0 5px}.stat small{font-size:11px}.stat.warning strong{color:var(--amber)}.stat.danger strong{color:var(--red)}.grid-two{display:grid;grid-template-columns:1.45fr 1fr;gap:20px;margin-bottom:22px}.panel{background:white;border:1px solid var(--line);border-radius:12px;overflow:hidden;margin-bottom:20px}.grid-two .panel{margin-bottom:0}.panel-heading{padding:20px 22px;display:flex;align-items:center;justify-content:space-between;gap:12px;border-bottom:1px solid var(--line)}.panel-heading h2{font-size:16px}.panel-heading small{display:block;margin-top:5px}.panel-body{padding:22px}.link-button{background:none;border:0;color:var(--green);font-size:12px;padding:0}.row{display:flex;align-items:center;justify-content:space-between;gap:14px;padding:17px 22px;border-bottom:1px solid #edf0ed}.row:last-child{border-bottom:0}.row-title{font-size:13px;font-weight:600;line-height:1.5}.row-sub{font-size:12px;color:var(--muted);margin-top:4px;line-height:1.5}.row-right{text-align:right;flex:none}.badge{display:inline-flex;align-items:center;padding:5px 8px;border-radius:5px;background:#eef3ef;color:#587266;font-size:11px;font-weight:550;white-space:nowrap}.badge.red{color:var(--red);background:#fff0ed}.badge.amber{color:var(--amber);background:#fff6e5}.badge.green{color:#247353;background:#eaf5ec}.badge.blue{color:#426a8a;background:#eef4f9}.empty{padding:35px 24px;text-align:center;color:var(--muted);font-size:13px;line-height:1.8}.empty strong{display:block;color:#425a52;margin-bottom:5px;font-size:14px}.empty .btn{margin-top:15px}.toolbar{display:flex;align-items:center;gap:10px;flex-wrap:wrap;margin-bottom:18px}.toolbar input{min-width:260px;flex:1;max-width:440px}.toolbar select{min-width:150px}.toolbar input,.toolbar select{background:white}.table-wrap{overflow:auto}table{width:100%;border-collapse:collapse;text-align:left;font-size:13px}th{color:#7b8b84;font-size:10px;text-transform:uppercase;letter-spacing:.7px;font-weight:600;background:#fafcf9;padding:14px 19px;white-space:nowrap}td{padding:17px 19px;border-top:1px solid #edf0ed;vertical-align:middle}td small{display:block;margin-top:5px}tbody tr:hover{background:#fcfdfb}.plate{display:inline-block;background:#f3f5f1;border:1px solid #dce4dc;border-radius:5px;padding:4px 8px;font-size:12px;font-weight:650;letter-spacing:.5px;color:#3d4d45;white-space:nowrap}.vehicle-name{font-weight:600}.table-link{background:none;border:0;text-align:left;padding:0;color:var(--ink);font-size:13px;cursor:pointer}.table-link:hover{color:var(--green)}.intro{background:#eaf1e9;border:1px solid #d7e4d5;padding:21px 24px;border-radius:12px;margin-bottom:24px;display:flex;align-items:center;justify-content:space-between;gap:18px}.intro h2{font-size:17px}.intro p{font-size:13px;margin-top:7px;max-width:680px;line-height:1.7;color:#64816b}.detail-summary{display:grid;grid-template-columns:repeat(4,1fr);gap:18px}.detail-summary span{display:block;font-size:11px;color:var(--muted);margin-bottom:7px}.detail-summary strong{font-size:14px;font-weight:550}.tabs{display:flex;gap:24px;border-bottom:1px solid var(--line);margin-bottom:22px;overflow:auto}.tab{padding:13px 0;border:0;border-bottom:2px solid transparent;background:none;white-space:nowrap;font-size:13px;color:var(--muted)}.tab.active{color:var(--green);border-bottom-color:var(--green);font-weight:600}.back{display:inline-flex;align-items:center;gap:6px;color:var(--muted);font-size:12px;border:0;background:none;padding:0;margin-bottom:20px}.back svg{width:15px;height:15px}.definition{display:grid;grid-template-columns:1fr 1fr;gap:20px}.definition dt{font-size:11px;color:var(--muted);margin-bottom:6px}.definition dd{font-size:13px;line-height:1.6;margin:0;white-space:pre-wrap;overflow-wrap:anywhere}.timeline{padding:0 22px}.event{position:relative;margin-left:6px;border-left:1px solid #dfe8df;padding:20px 0 20px 22px}.event:before{content:'';position:absolute;left:-4px;top:25px;width:7px;height:7px;background:#00ceff;border-radius:50%}.event strong{font-size:13px}.event p{font-size:12px;margin-top:7px;color:var(--muted);line-height:1.6;white-space:pre-wrap}.event small{display:block;margin-top:6px}.files{display:flex;flex-direction:column;gap:10px}.file{display:flex;align-items:center;justify-content:space-between;border:1px solid var(--line);padding:12px 15px;border-radius:8px;gap:10px}.file a{font-size:13px;overflow-wrap:anywhere}.file small{display:block;margin-top:5px}.notice{padding:12px 15px;background:#fff7e7;color:#87641f;border:1px solid #eee0c0;border-radius:8px;font-size:12px;line-height:1.7;margin-bottom:18px}.note-input{display:flex;align-items:flex-end;gap:10px}.note-input textarea{flex:1}.totals{display:flex;justify-content:space-between;gap:15px;padding:20px 22px;background:#f3f7f0;font-size:13px}.totals strong{font-size:18px}.login-page{display:grid;grid-template-columns:1fr 1fr;min-height:100vh}.login-art{background:var(--ink);padding:65px;display:flex;flex-direction:column;justify-content:space-between;color:white}.login-art .brand{padding:0}.login-art h1{font-size:48px;line-height:1.15;letter-spacing:-1.8px;max-width:470px}.login-art p{color:#aac3b9;line-height:1.8;font-size:15px;max-width:400px;margin-top:25px}.login-art .art-label{color:#00ceff;font-size:11px;letter-spacing:2px;margin-bottom:23px}.login-footer{color:#829d94;font-size:12px}.login-form-area{display:flex;align-items:center;justify-content:center;padding:40px}.login-form{width:100%;max-width:370px}.login-form h2{font-size:25px}.login-form>p{font-size:13px;color:var(--muted);line-height:1.7;margin:12px 0 30px}.login-form .btn{width:100%;margin-top:10px;padding:13px}.form-error{color:var(--red);font-size:13px;line-height:1.6;margin:12px 0}label{display:block;font-size:12px;font-weight:550;margin-bottom:7px}input,select,textarea{width:100%;border:1px solid #dce4de;border-radius:7px;padding:10px 11px;background:#fbfcfa;color:var(--ink);font-size:13px}input:focus,select:focus,textarea:focus{outline:2px solid #00ceff;outline-offset:1px}textarea{min-height:90px;resize:vertical}.field{margin-bottom:16px}.field small{display:block;line-height:1.5;margin-top:5px}.field.wide{grid-column:1/-1}.checkboxes{display:flex;flex-wrap:wrap;gap:12px}.checkboxes label{display:flex;align-items:center;gap:7px;font-weight:400;margin:0}.checkboxes input{width:auto}.form-grid{display:grid;grid-template-columns:1fr 1fr;gap:0 18px}.section-label{grid-column:1/-1;font-size:11px;color:var(--green);text-transform:uppercase;letter-spacing:1px;margin:10px 0 20px}dialog{width:min(760px,calc(100vw - 30px));max-height:90vh;border:0;padding:0;border-radius:15px;box-shadow:0 25px 80px #0b1d2d40;color:var(--ink)}dialog::backdrop{background:#172b3066;backdrop-filter:blur(3px)}.modal-heading{display:flex;justify-content:space-between;align-items:center;padding:24px 26px;border-bottom:1px solid var(--line)}.modal-heading h2{font-size:19px}.close{border:0;background:none;padding:3px;color:var(--muted);font-size:25px}.modal-body{padding:23px 26px}.modal-footer{display:flex;align-items:center;justify-content:flex-end;gap:10px;border-top:1px solid var(--line);padding:18px 26px;background:#fafcf9}.modal-body .form-error:empty{display:none}#toast{position:fixed;bottom:25px;right:25px;z-index:50;padding:14px 20px;color:white;background:var(--ink);border-radius:9px;box-shadow:0 7px 25px #172b3033;font-size:13px;max-width:440px;display:none}#toast.visible{display:block}#toast.error{background:#963f38}.loading{padding:60px;text-align:center;color:var(--muted)}.upload-label{display:inline-flex;align-items:center;gap:7px;cursor:pointer;margin:0}.upload-label input{display:none}.mobile-brand{display:none}.status-line{display:flex;gap:8px;align-items:center;flex-wrap:wrap}.detail-right{display:flex;flex-direction:column;gap:6px;align-items:flex-end}.approval{padding:15px;border:1px solid #cde3cf;background:#f5faf3;border-radius:8px;margin-bottom:12px}.approval p{white-space:pre-wrap;font-size:13px;line-height:1.6;margin:8px 0}.approval small{display:block;line-height:1.5}.contract-card{padding:20px 22px;border-bottom:1px solid var(--line)}.contract-card:last-child{border:0}.contract-card .row{padding:0;border:0}.contract-card p{font-size:12px;margin-top:10px;color:var(--muted);line-height:1.7}.region-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:18px}.region-card{background:white;border:1px solid var(--line);border-radius:12px;padding:23px}.region-card h2{font-size:17px}.region-card p{font-size:12px;line-height:1.6;color:var(--muted);margin:10px 0 20px}.region-card .actions{margin-top:18px}.region-numbers{display:flex;gap:25px}.region-numbers strong{display:block;font-size:24px;margin-bottom:5px}.region-numbers small{font-size:11px}.section-heading{display:flex;justify-content:space-between;align-items:center;gap:10px;margin-bottom:17px;margin-top:28px}.section-heading h2{font-size:17px}.hint{font-size:12px;color:var(--muted);line-height:1.7;margin-top:12px}.mono{font-variant-numeric:tabular-nums}.readonly-note{font-size:12px;color:var(--muted);padding:10px 0}.video-preview{max-width:100%;max-height:420px}.file-preview{max-width:100%;max-height:500px;object-fit:contain;display:block;margin:auto}[hidden]{display:none!important}
pre{white-space:pre-wrap;overflow-wrap:anywhere;font-size:12px;line-height:1.6;background:#f5f7f3;padding:12px;border-radius:8px}.definition{margin-bottom:24px}.stats .stat strong{overflow-wrap:anywhere}.row-title{overflow-wrap:anywhere}
.mileage-value{display:flex;align-items:center;gap:8px;white-space:nowrap}.history-icon{display:inline-flex;align-items:center;justify-content:center;vertical-align:middle;width:29px;height:29px;padding:5px;margin-left:6px;border:1px solid var(--line);border-radius:7px;background:#f5f8f3;color:var(--green)}.history-icon:hover{background:#e7f0e4}.history-icon svg{width:17px;height:17px}.chart-summary{display:flex;justify-content:space-between;gap:14px;flex-wrap:wrap;font-size:12px;color:var(--muted);margin-bottom:18px}.chart-summary strong{color:var(--ink);font-weight:550}.mileage-chart{width:100%;overflow:auto}.mileage-chart svg{display:block;width:100%;min-width:560px;max-height:380px}.chart-grid{stroke:#e3eae3;stroke-width:1}.chart-label{fill:#728184;font:12px Segoe UI,Arial,sans-serif}.chart-line{fill:none;stroke:#00ceff;stroke-width:3;stroke-linejoin:round}.chart-point{fill:#fff;stroke:#00ceff;stroke-width:2}.chart-point:hover,.chart-point:focus{fill:#00ceff;stroke-width:3;outline:none}
@media(min-width:1600px){.content{padding-top:42px}.stats{gap:22px}}
@media(max-width:1100px){.app{grid-template-columns:205px 1fr}.content{padding:28px 24px}.topbar{padding:0 24px}.grid-two{grid-template-columns:1fr}.stats{gap:10px}.stat{padding:16px}.region-grid{grid-template-columns:repeat(2,1fr)}.login-art{padding:45px}.login-art h1{font-size:38px}}
@media(max-width:760px){.app{display:block}.sidebar{position:static;height:auto;padding:14px}.sidebar .brand,.sidebar .nav-label,.sidebar-bottom{display:none}.sidebar nav{display:flex;gap:5px;overflow:auto}.nav-item{width:auto;white-space:nowrap;font-size:12px;gap:6px;padding:9px}.nav-item svg{width:15px;height:15px}.topbar{height:60px;padding:0 18px}.mobile-brand{display:block;font-size:15px;font-weight:600}.eyebrow{display:none}.topbar-right>span{display:none}.content{padding:23px 16px}.page-heading{align-items:flex-start;flex-wrap:wrap}h1{font-size:26px}.stats{grid-template-columns:repeat(2,1fr)}.stat strong{font-size:27px}.detail-summary{grid-template-columns:repeat(2,1fr)}.definition{grid-template-columns:1fr}.region-grid{grid-template-columns:1fr}.row{padding:15px 17px;gap:9px}.row-right{max-width:135px}.row-title{font-size:12px}.panel-heading{padding:17px}.panel-body{padding:17px}.intro{align-items:flex-start;flex-direction:column}.toolbar input{min-width:100%;max-width:none}.toolbar select{min-width:0;flex:1}.form-grid{grid-template-columns:1fr}.modal-body{padding:20px}.modal-heading{padding:20px}.modal-footer{padding:15px 20px}.login-page{grid-template-columns:1fr}.login-art{padding:28px;min-height:240px}.login-art h1{font-size:30px;margin-top:30px}.login-art p,.login-footer,.art-label{display:none}.login-form-area{padding:35px 25px}.note-input{flex-wrap:wrap}.note-input textarea{flex-basis:100%}.topbar-right{gap:10px}.detail-right{align-items:flex-start}.tabs{gap:20px}.status-line{gap:5px}}

.stat-link{text-align:left;color:inherit;font:inherit;width:100%;transition:border-color .15s,box-shadow .15s}.stat-link:hover{border-color:var(--brand);box-shadow:0 3px 12px #172b3010}.stat-link:focus-visible{outline:2px solid var(--brand);outline-offset:3px}

.nav-item,.stat-link,.table-link,.tab,.back{text-decoration:none}.stat-link{display:block}.tabs .tab{display:inline-block}

.audit-deleted,.audit-deleted:hover{background:#fff0ed;color:var(--red)}.audit-deleted td small{color:var(--red)}.event-deleted{border-left-color:var(--red);background:#fff0ed}.event-deleted:before{background:var(--red)}.event-deleted strong,.event-deleted p{color:var(--red)}.deletion-notice{background:#fff0ed;border-color:#ecc7c2;color:var(--red)}


.rental-badge { background: #d9f7ff; color: #005b70; border: 1px solid #00ceff; margin-left: 6px; cursor: help; }

.nav-count { margin-left: auto; padding: 2px 7px; border-radius: 12px; background: #00ceff; color: #102c34; font-weight: 700; }
.equipment-reminder { margin-top: 8px; }
.equipment-reminder .btn { border-color: #d89b32; background: #fff4d7; color: #654600; }

.complaint-text { white-space: pre-wrap; overflow-wrap: anywhere; margin: 8px 0 0; }

.field[hidden] { display: none; }

.fleet-tooltip { position: fixed; z-index: 10000; max-width: calc(100vw - 16px); padding: 8px 12px; border-radius: 7px; background: #182e34; color: #fff; font-size: 13px; line-height: 1.4; box-shadow: 0 4px 16px #0003; pointer-events: none; }
.fleet-tooltip[hidden] { display: none; }

#equipment-form .modal-body { display: grid; gap: 22px; }
.equipment-section { display: grid; gap: 10px; }
.equipment-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.equipment-option { display: flex; align-items: center; gap: 12px; min-height: 52px; padding: 12px 14px; border: 1px solid var(--border, #dce5e2); border-radius: 9px; background: #f8fbfa; cursor: pointer; font-size: 14px; }
.equipment-option input { width: 19px; height: 19px; margin: 0; flex: none; accent-color: #00aaca; cursor: pointer; }
.equipment-option:has(input:checked) { border-color: #00bddd; background: #e8faff; }
.equipment-option:focus-within { outline: 2px solid #00ceff; outline-offset: 2px; }
@media(max-width: 540px) { .equipment-grid { grid-template-columns: 1fr; } }

.equipment-history { display: grid; gap: 22px; }
.equipment-dates { display: flex; flex-wrap: wrap; gap: 20px 48px; padding: 16px 18px; background: #f3f7f6; border-radius: 9px; }
.equipment-dates small, .equipment-dates strong { display: block; }
.equipment-dates strong { margin-top: 5px; font-size: 15px; }
.equipment-check-card { display: grid; gap: 16px; padding-top: 20px; border-top: 1px solid #dce5e2; }
.equipment-check-heading { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 8px 20px; }
.equipment-result { display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 14px 16px; border: 1px solid #dce5e2; border-radius: 9px; font-size: 14px; }
.equipment-result strong { padding: 3px 9px; border-radius: 6px; font-size: 12px; }
.equipment-result.present strong { background: #e4f5ee; color: #176d4d; }
.equipment-result.missing strong { background: #ffe8e6; color: #a43029; }
.equipment-comment { padding: 14px 16px; background: #f8faf9; border-radius: 9px; }
.equipment-comment p { margin-top: 6px; white-space: pre-wrap; overflow-wrap: anywhere; }

.sidebar-bottom > .btn { width: 100%; margin-bottom: 18px; background: transparent; border-color: #a96565; color: #ffc5c5; font-size: 12px; }
.clear-warning { margin-top: 16px; color: #a43029; line-height: 1.6; }
.btn.danger { background: #b73535; color: #fff; border-color: #b73535; }

@media(max-width:760px) {
 .sidebar nav { scrollbar-width: none; }
 .sidebar nav::-webkit-scrollbar { display: none; }
 .sidebar nav .nav-item { flex-shrink: 0; min-height: 44px; }
 .panel-heading, .modal-footer { flex-wrap: wrap; }
 .panel-heading > *, .page-heading > *, .row > div { min-width: 0; }
 .page-heading h1, .panel-heading h2, .row-sub, .file a, .definition dd { overflow-wrap: anywhere; }
 .modal-heading { gap: 12px; align-items: flex-start; }
 .modal-heading h2 { font-size: 17px; line-height: 1.45; overflow-wrap: anywhere; }
 .close { min-width: 36px; min-height: 36px; flex-shrink: 0; }
 dialog { max-height: calc(100dvh - 24px); width: calc(100vw - 24px); }
 .modal-footer .btn { flex: 1 1 auto; min-height: 44px; white-space: normal; }
 input, select, textarea { font-size: 16px; max-width: 100%; min-width: 0; }
 .btn { min-height: 44px; white-space: normal; }
 .tabs { max-width: 100%; overflow-x: auto; scrollbar-width: none; }
 .tabs .tab { flex: none; white-space: nowrap; min-height: 44px; }
 .detail-summary > div { min-width: 0; }
 .detail-summary .badge { max-width: 100%; white-space: normal; }
 .notice .btn { margin-top: 8px; }
 #toast { left: 12px; right: 12px; bottom: 12px; max-width: none; overflow-wrap: anywhere; }
 .files .file { flex-wrap: wrap; }
 .panel table { display: block; width: 100%; min-width: 0; }
 .panel thead { display: none; }
 .panel tbody { display: block; }
 .panel tbody tr { display: block; padding: 14px 16px; border-bottom: 1px solid var(--line); }
 .panel tbody tr:last-child { border-bottom: 0; }
 .panel tbody td { display: grid; grid-template-columns: minmax(85px, 34%) minmax(0, 1fr); gap: 6px 12px; width: 100%; padding: 8px 0; border: 0; white-space: normal; overflow-wrap: anywhere; }
 .panel tbody td::before { content: attr(data-label); grid-column: 1; grid-row: 1; font-size: 11px; color: var(--muted); text-transform: none; }
 .panel tbody td > * { grid-column: 2; min-width: 0; }
 .panel tbody td .badge { white-space: normal; width: fit-content; }
 .panel tbody td:not([data-label]) { display: block; }
 .stats { min-width: 0; }
 .stat { min-width: 0; }
 .stat-top { gap: 6px; }
 .equipment-dates { gap: 16px; }
 .equipment-grid { grid-template-columns: 1fr; }
}
@media(max-width:360px) { .stats { grid-template-columns: 1fr; } .detail-summary { grid-template-columns: 1fr; } }

@media (min-width: 761px) and (max-width: 1100px) { .stats { grid-template-columns: repeat(2, minmax(0, 1fr)); } .region-grid { grid-template-columns: minmax(0, 1fr); } .panel-heading { flex-wrap: wrap; } }
.table-wrap { max-width: 100%; }


.mobile-menu { display: none; }
@media(max-width:760px) { .mobile-menu { display: inline-flex; align-items: center; padding: 8px; min-height: 44px; border: 1px solid var(--line); border-radius: 8px; background: white; color: var(--ink); font-size: 13px; flex: none; } .topbar { gap: 8px; padding: 0 12px; } .mobile-brand { font-size: 13px; } .topbar-right { gap: 8px; } .sidebar.mobile-expanded nav { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); overflow: visible; } .sidebar.mobile-expanded .nav-item { white-space: normal; } .sidebar.mobile-expanded .sidebar-bottom { display: block; margin-top: 14px; } }

.export-filters { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:16px; align-items:center; }
.export-choice { display:flex; gap:10px; align-items:center; cursor:pointer; padding:8px 0; font-size:13px; }
.export-choice input { width:18px; height:18px; flex:none; margin:0; accent-color:var(--cyan,#00ceff); }
.export-fields { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:0 18px; padding:12px 0; }
.export-sections { display:grid; gap:12px; }
.export-section { border:1px solid var(--line); border-radius:12px; padding:12px 16px; }
.export-section.selected { border-color:#00ceff; background:#f5fdff; }
.export-section-head { display:flex; align-items:center; justify-content:space-between; gap:12px; }
.export-section-head .badge { flex:none; }
.export-section summary,.export-cities summary { cursor:pointer; font-size:13px; color:var(--muted); padding:8px 0; }
.export-presets { margin:18px 0; }
@media(max-width:540px) { .export-filters,.export-fields { grid-template-columns:minmax(0,1fr); } .export-section { padding:10px 12px; } .export-choice { min-height:44px; } }
