:root{color-scheme:light;--bg:#f5f6f2;--ink:#1b211b;--sub:#626a60;--line:#e3e7de;--lime:#def970;--lime-hover:#d2f24f;--white:#fff;--radius:16px;font-family:Inter,"Segoe UI",sans-serif;color:var(--ink);background:var(--bg);font-synthesis:none}
*,*::before,*::after{box-sizing:border-box}
body{margin:0;min-width:280px}
button,input,textarea,select{font:inherit}
button,a,input,textarea,select,label.file-zone{-webkit-tap-highlight-color:transparent}
button{cursor:pointer}
a{color:inherit}
[hidden]{display:none!important}
:focus-visible{outline:3px solid #658c20;outline-offset:3px}
.shell{width:min(1120px,calc(100% - 72px));margin-inline:auto}
.topbar{background:#fff;border-bottom:1px solid #e5e8e0}
.topbar-inner{display:flex;min-height:69px;align-items:center;justify-content:space-between}
.home{display:inline-flex;align-items:center;gap:11px;color:var(--ink);font-weight:700;font-size:17px;letter-spacing:-.025em;text-decoration:none}
.home-mark{display:grid;place-items:center;width:37px;height:37px;border-radius:10px;background:#1b211b;color:var(--lime)}
.local{display:flex;align-items:center;gap:7px;color:#4c5e42;font-size:13px;font-weight:600;border:1px solid #e4ebd9;background:#f6f9ef;border-radius:30px;padding:6px 11px}
.local>span{width:7px;height:7px;border-radius:100%;background:#75a448}
.account{display:flex;align-items:center;gap:8px;font-size:13px;color:var(--sub);min-width:0}
.account>span{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;max-width:140px}
.account button{white-space:nowrap}
.access-panel{max-width:420px;margin:32px auto}
.access-panel h1{font-size:25px;letter-spacing:-.04em}
.access-message:has(:not([hidden])){padding:0 23px 20px}
.password-field{position:relative}
.password-field input#access-password{padding-inline-end:82px}
.password-field .text-button{position:absolute;inset-inline-end:4px;top:50%;transform:translateY(-50%);min-width:68px}
.fields .remember-session{display:flex;align-items:center;gap:8px;min-height:29px;font-weight:500;cursor:pointer}
.fields .remember-session input[type=checkbox]{width:17px;min-height:0;height:17px;margin:0;accent-color:#597c26;flex:none;cursor:pointer}
.access-switch{display:flex;justify-content:center;align-items:center;flex-wrap:wrap;gap:0 3px;text-align:center;color:var(--sub);font-size:13px}
.main{padding-block:31px 42px}
.hero{position:relative;isolation:isolate;overflow:hidden;display:flex;align-items:center;min-height:242px;border-radius:20px;background:#171b19 url('/assets/taller.png') 55% 52%/cover no-repeat;color:#fff}
.hero::before{content:"";position:absolute;inset:0;z-index:-1;background:linear-gradient(90deg,rgba(9,13,11,.81),rgba(9,13,11,.50) 42%,transparent 73%)}
.hero-content{padding:31px 39px}
h1,h2,h3,p{margin:0}
.hero h1{font-size:clamp(34px,4.2vw,52px);line-height:1.06;letter-spacing:-.057em;font-weight:750}
.hero p{font-size:15px;margin-top:12px;line-height:1.55;color:#e1e5e0}
.hero-actions{display:flex;gap:10px;margin-top:23px;flex-wrap:wrap}
.button{display:inline-flex;align-items:center;justify-content:center;gap:8px;min-height:44px;padding:10px 15px;border:1px solid transparent;border-radius:9px;font-size:14px;font-weight:700;line-height:1.15;white-space:nowrap}
.button svg{width:18px;height:18px}
.button.primary{background:var(--lime);color:#202718;border-color:#d7f169}
.button.primary:hover:not(:disabled){background:var(--lime-hover)}
.button.secondary{background:#fff;color:var(--ink);border-color:#dce1d6}
.button.secondary:hover,.text-button:hover,.icon-button:hover{background:#eef1e9}
.button.on-dark{background:rgba(255,255,255,.09);color:#fff;border-color:rgba(255,255,255,.42)}
.button.on-dark:hover{background:rgba(255,255,255,.19)}
.button:disabled{opacity:.55;cursor:default}
[data-icon]{display:inline-grid;flex:none;place-items:center}
svg{width:20px;height:20px;display:block}
.stats{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:15px;margin-block:19px 25px}
.stat{display:flex;align-items:center;gap:13px;padding:15px 17px;background:var(--white);border:1px solid var(--line);border-radius:13px;min-width:0;min-height:80px}
.stat-icon,.file-icon{width:42px;height:42px;border-radius:11px;background:#eef3e9;color:#456637}
.stat-icon.lime{background:#eff5df;color:#536e2a}
.stat-icon.blue{background:#eaf1f4;color:#395f72}
.stat-icon.sand{background:#fbf0de;color:#7f5d2f}
.stat p{color:var(--sub);font-size:13px;font-weight:500}
.stat strong{display:block;font-size:23px;letter-spacing:-.035em;line-height:1.25;margin-top:2px}
.panel{background:var(--white);border:1px solid var(--line);border-radius:var(--radius);overflow:hidden}
.panel-head{display:flex;justify-content:space-between;align-items:center;gap:18px;padding:20px 22px}
h2{font-size:23px;line-height:1.2;letter-spacing:-.037em}
.panel-head p,.dialog-head p{margin-top:4px;color:var(--sub);font-size:13px;line-height:1.45}
.search{width:min(100%,335px);display:flex;align-items:center;gap:8px;padding:0 10px 0 12px;background:#f7f8f5;border:1px solid var(--line);border-radius:9px;min-height:43px;color:#697265}
.search:focus-within{border-color:#7f985a;outline:2px solid #caddaf;outline-offset:1px}
.search input{border:0;background:transparent;outline:0;min-width:0;width:100%;padding:10px 0;color:var(--ink);font-size:14px}
.search input::-webkit-search-cancel-button{display:none}
.search .icon-button{min-width:32px;min-height:32px;margin-right:-5px}
.search .icon-button svg{width:16px;height:16px}
.table{width:100%;border-collapse:collapse;table-layout:fixed;text-align:left}
.table th{background:#f7f8f4;color:#636b5e;font-size:12px;font-weight:650;padding:12px 11px;border-block:1px solid #edf0e9}
.table th:first-child,.table td:first-child{padding-left:22px;width:27%}
.table th:nth-child(2){width:17%}
.table th:nth-child(4){width:16%}
.table th:last-child{width:56px}
.table td{padding:12px 11px;font-size:14px;border-bottom:1px solid #edf0e9;overflow-wrap:anywhere}
.table tr:last-child td{border-bottom:0}
.table tbody tr:hover{background:#fafbf8}
.vehicle{display:flex;align-items:center;gap:10px;min-width:0}
.vehicle>div{min-width:0}
.vehicle-icon{display:grid;place-items:center;background:#f0f3eb;border-radius:9px;width:39px;height:39px;color:#596754;flex:none}
.vehicle-icon img{display:block;width:100%;height:100%;object-fit:cover;border-radius:inherit}
.model{display:block;font-weight:680;line-height:1.25;margin-bottom:4px}
.plate{display:inline-block;color:#4d5849;background:#f2f4ef;border:1px solid #e7eae3;border-radius:4px;padding:1px 5px;font:600 11px/1.35 ui-monospace,Consolas,monospace;letter-spacing:.045em;white-space:nowrap}
.muted{color:var(--sub)}
.description{display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden;line-height:1.42}
.icon-button{display:inline-grid;place-items:center;min-width:42px;min-height:42px;padding:0;background:transparent;border:0;border-radius:9px;color:#596454;flex:none}
.table .icon-button{min-width:36px;min-height:36px}
.panel-foot{display:flex;justify-content:space-between;align-items:center;gap:8px;padding:10px 22px;border-top:1px solid #edf0e9;color:var(--sub);font-size:13px}
.panel-foot>span{display:flex;align-items:center;gap:6px}
.panel-foot svg,.text-button svg{width:16px;height:16px}
.text-button{display:inline-flex;align-items:center;justify-content:center;gap:6px;min-height:36px;border:0;background:transparent;text-decoration:none;border-radius:6px;color:#466124;font-size:13px;font-weight:700;padding:5px 7px;cursor:pointer}
.empty{padding:35px 20px 38px;text-align:center;color:var(--sub);line-height:1.45}
.empty>span{display:grid;margin:0 auto 10px;width:43px;height:43px;background:#eff3e9;border-radius:11px;color:#536743}
.empty h3{color:var(--ink);font-size:17px;margin-bottom:4px}
.empty .button{margin-top:15px}
.more{display:flex;justify-content:center;padding:10px;border-top:1px solid #edf0e9}
dialog{width:min(565px,calc(100% - 24px));max-height:calc(100% - 24px);padding:0;border:1px solid #dfe4d8;border-radius:17px;background:var(--white);color:var(--ink);box-shadow:0 20px 70px #151b1555;overflow:auto;overscroll-behavior:contain}
dialog::backdrop{background:rgba(23,29,23,.58)}
body:has(dialog[open]){overflow:hidden}
.dialog-head{display:flex;align-items:flex-start;justify-content:space-between;gap:15px;padding:21px 23px 17px;border-bottom:1px solid var(--line)}
.dialog-head .icon-button{margin:-5px -7px -5px 0}
.dialog-body{padding:18px 23px 20px}
.dialog-foot{position:sticky;bottom:0;display:flex;justify-content:flex-end;gap:8px;background:#fff;padding:13px 23px;border-top:1px solid var(--line);z-index:1}
.fields{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:15px 13px}
.fields .wide{grid-column:1/-1}
.fields label,.mapping label{font-size:14px;font-weight:650;min-width:0}
.fields input:not([type=file]),.fields textarea,.mapping select{display:block;width:100%;margin-top:6px;border:1px solid #d9dfd4;border-radius:8px;min-height:44px;padding:10px 11px;background:#fafbf8;color:var(--ink);font-size:16px;font-weight:400}
.fields textarea{resize:vertical;min-height:82px}
.fields input::placeholder,.fields textarea::placeholder{color:#727a6e}
.optional{margin-left:3px;font-size:11px;color:var(--sub);font-weight:500}
.file-zone{position:relative;display:flex;gap:10px;align-items:center;width:100%;padding:12px;border:1px dashed #abb7a3;border-radius:11px;background:#f8faf6;cursor:pointer;min-width:0}
.file-zone:hover,.file-zone:focus-within,.file-zone.dragging{border-color:#668b30;background:#f1f6e9}
.file-zone>span:nth-child(2){flex:1;min-width:0;overflow-wrap:anywhere}
.file-zone strong,.file-zone small{display:block}
.file-zone small{margin-top:3px;color:var(--sub);font-size:12px;font-weight:400}
.file-zone input{position:absolute;inset:0;opacity:0;width:100%;height:100%;cursor:pointer}
.photo-zone{margin-top:6px}
.photo-preview{display:flex;align-items:center;gap:10px;margin-top:8px}
.photo-preview img{width:76px;height:58px;border-radius:7px;object-fit:cover}
.notice{padding:10px 12px;border-radius:8px;font-size:13px;line-height:1.45;overflow-wrap:anywhere}
.notice.error{background:#fff1ec;color:#863c27}
.notice.good{background:#edf5e4;color:#3b5928}
.history{display:grid;gap:11px}
.history article{padding:13px;border:1px solid var(--line);border-radius:11px}
.history article.selected{border-color:#b6c890;background:#f9fbf5}
.history article p{margin-top:7px;font-size:14px;white-space:pre-wrap;overflow-wrap:anywhere}
.history time{font-size:13px;color:var(--sub);font-weight:650}
.history img{display:block;width:100%;max-height:330px;object-fit:contain;background:#eff1ec;border-radius:8px;margin-top:10px}
.import-dialog{width:min(680px,calc(100% - 24px))}
.import-body{display:grid;gap:13px}
.file-choose{font-size:12px;font-weight:650;padding:8px;border:1px solid #d7ded0;border-radius:7px;background:#fff;white-space:nowrap}
.import-help{font-size:13px;color:var(--sub);line-height:1.5}
.import-help .text-button{margin-left:-7px}
.mapping{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:9px;margin-top:8px}
.mapping select{font-size:14px;min-height:40px;padding:6px}
.import-table{overflow:auto;margin-top:9px;border:1px solid var(--line);border-radius:8px}
.import-table table{border-collapse:collapse;width:100%;font-size:13px;text-align:left}
.import-table td,.import-table th{padding:7px;border-bottom:1px solid var(--line);overflow-wrap:anywhere}
.import-table th{background:#f3f5ef}
.import-table tr:last-child td{border-bottom:0}
.import-issues{font-size:13px;margin:8px 0 0;padding-left:20px;color:#755328;line-height:1.5}
.toast{position:fixed;bottom:20px;left:50%;transform:translateX(-50%);z-index:2;display:flex;align-items:center;gap:8px;max-width:calc(100% - 24px);width:max-content;padding:12px 16px;border-radius:9px;background:#252e22;color:white;font-size:14px;box-shadow:0 6px 20px #13191344}
@media(max-width:740px){.shell{width:calc(100% - 36px)}.hero-content{padding-inline:24px}.stats{gap:8px}.stat{padding:12px;gap:8px}.stat-icon{width:35px;height:35px}.panel-head{padding-inline:15px}.table th:first-child,.table td:first-child{padding-left:15px}.table th:last-child{width:42px}.table td:last-child{padding-right:6px;padding-left:0}.table th:nth-child(4){width:18%}}
@media(max-width:600px){.shell{width:calc(100% - 28px)}.topbar-inner{min-height:57px}.main{padding-top:15px}.hero{min-height:235px;background-position:65% 52%;border-radius:15px}.hero::before{background:linear-gradient(90deg,#0b100deb,#0b100da3 57%,#0b100d40)}.hero-content{padding:22px 17px}.hero h1{font-size:clamp(29px,7.8vw,40px)}.hero p{max-width:290px;margin-top:8px;font-size:14px}.hero-actions{margin-top:17px;gap:7px}.hero-actions .button{padding-inline:10px;font-size:13px}.stats{margin-block:12px 17px;gap:6px}.stat{padding:9px;align-items:flex-start;flex-direction:column;gap:5px;min-height:100px}.stat p{font-size:11px;line-height:1.25}.stat strong{font-size:20px}.stat-icon{width:28px;height:28px;border-radius:7px}.stat-icon svg{width:16px;height:16px}.panel-head{display:grid;gap:11px;padding:14px}.panel-head h2{font-size:21px}.search{width:100%}.search input{font-size:16px}.table,.table tbody{display:block}.table thead{position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%)}.table tr{position:relative;display:grid;grid-template-columns:minmax(0,1fr) auto;gap:4px 10px;padding:12px 52px 12px 14px;border-top:1px solid #edf0e9}.table td,.table td:first-child,.table td:last-child{display:block;border:0;padding:0;width:auto}.table td:first-child{grid-column:1/-1}.table td:nth-child(2){grid-column:1;grid-row:2;font-size:12px;margin-top:4px}.table td:nth-child(3){grid-column:1/-1;grid-row:3;font-size:13px}.table td:nth-child(4){grid-column:2;grid-row:2;font-size:12px;white-space:nowrap;margin-top:4px}.table td:last-child{position:absolute;right:7px;top:10px}.table .icon-button{min-width:42px;min-height:42px}.panel-foot{padding-inline:12px}.dialog-head,.dialog-body,.dialog-foot{padding-inline:15px}.mapping{grid-template-columns:repeat(2,minmax(0,1fr))}.file-choose{display:none}}
@media(max-width:345px){.hero-actions{flex-direction:column;align-items:flex-start}.hero{min-height:255px}.fields{grid-template-columns:1fr}.fields .wide{grid-column:auto}.panel-foot{flex-wrap:wrap}}
