:root{--paper:#f5f5f1;--ink:#20292a;--muted:#677170;--line:#e1e5df;--green:#1c6552;--soft:#eaf2ed;--amber:#805a20;--amber-bg:#fff6e5;--red:#aa3939;font-family:Inter,Arial,sans-serif;color:var(--ink);background:var(--paper);font-synthesis:none}*{box-sizing:border-box}body{margin:0}button,input,select,textarea{font:inherit}button,a,input,select,textarea{-webkit-tap-highlight-color:transparent}button{cursor:pointer}button:disabled{opacity:.6;cursor:wait}button:focus-visible,a:focus-visible,input:focus-visible,select:focus-visible,textarea:focus-visible{outline:3px solid #83bca8;outline-offset:3px}h1,h2,h3,p{margin-top:0}h1{font-size:clamp(26px,3.1vw,38px);letter-spacing:-1.4px;line-height:1.15;margin-bottom:10px}h2{font-size:23px;letter-spacing:-.6px;margin-bottom:16px}h3{font-size:17px;margin-bottom:10px}p{line-height:1.55}a{color:var(--green);text-underline-offset:3px}small{font-size:12px;line-height:1.5}.muted,.help{color:var(--muted)}.eyebrow{font-size:11px;font-weight:700;letter-spacing:2px;color:var(--muted);margin-bottom:14px}.brand-mark{display:flex;justify-content:center;align-items:center;background:var(--green);color:white;width:42px;height:42px;border-radius:13px;font-size:17px;font-weight:700;letter-spacing:-1px}.topbar{background:#fff;border-bottom:1px solid var(--line);padding:20px max(24px,calc((100vw - 1180px)/2));display:flex;align-items:center;justify-content:space-between;gap:20px}.brand{display:flex;align-items:center;gap:12px;color:var(--ink);text-decoration:none;font-weight:700}.brand small{display:block;font-weight:400;color:var(--muted);margin-top:3px}.account{display:flex;align-items:center;gap:20px;font-size:14px}main{max-width:1180px;margin:auto;padding:35px 24px 50px}.page-heading{display:flex;justify-content:space-between;align-items:center;gap:15px;margin-bottom:27px}.page-heading h1{font-size:30px}.page-heading .eyebrow{margin-bottom:8px}.tabs{display:flex;gap:5px;border-bottom:1px solid var(--line);margin-bottom:26px}.tabs button{background:none;border:0;padding:15px 20px;color:var(--muted);border-bottom:3px solid transparent;font-size:15px;font-weight:600}.tabs button[aria-selected=true]{border-color:var(--green);color:var(--green)}.card{background:white;border:1px solid var(--line);border-radius:18px;padding:24px;min-width:0}.section-head{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:18px}.section-head h2,.section-head h3{margin:0}.grid-two{display:grid;grid-template-columns:1fr 1fr;gap:20px;margin-top:20px}.hero{display:grid;grid-template-columns:1.07fr 1fr;gap:20px}.vehicle-card{background:radial-gradient(ellipse at 50% 80%,#3b4746,#171e20 72%);color:#fff;position:relative;overflow:hidden;padding:28px;min-height:330px}.vehicle-card h2{font-size:32px;margin:7px 0}.vehicle-card .eyebrow{color:#b6c9c0}.vehicle-card .muted{color:#c7d3ce}.vehicle-card .tag{background:#35443f;color:#d4e9dd}.car-stage{height:190px;margin:0 -15px;touch-action:pan-y}.car-stage img{width:100%;height:100%;object-fit:contain;display:block}.car-stage canvas{display:block;max-width:100%;touch-action:pan-y}.car-fallback{display:flex;align-items:center;justify-content:center;height:100%;font-size:70px;opacity:.5}.vehicle-foot{display:flex;justify-content:space-between;align-items:center;font-size:12px;gap:12px}.vehicle-foot button{color:#d4e9dd}.hero .mileage-card{display:flex;flex-direction:column;justify-content:space-between}.km-big{font-size:clamp(35px,4vw,49px);font-weight:600;letter-spacing:-2px;margin:14px 0 8px;font-variant-numeric:tabular-nums}.km-big small{font-size:17px;letter-spacing:0;font-weight:400}.tag{display:inline-flex;align-items:center;padding:5px 9px;font-size:11px;line-height:1.35;border-radius:6px;background:var(--soft);color:var(--green);font-weight:600;max-width:100%}.tag.warn{background:var(--amber-bg);color:var(--amber)}.tag.danger{background:#fbecec;color:var(--red)}.metrics{display:grid;grid-template-columns:repeat(3,1fr);gap:15px;margin-top:20px}.metric{padding:20px 22px}.metric .value{font-size:27px;font-weight:600;letter-spacing:-.7px;margin:9px 0}.metric .value small{font-weight:400;font-size:14px;letter-spacing:0}.metric p{margin:0;font-size:13px}.notice{margin:20px 0 0;background:var(--amber-bg);border:1px solid #eddfc3;border-radius:14px;padding:20px 24px}.notice h3{color:var(--amber);font-size:16px;margin-bottom:8px}.notice p{font-size:14px;margin-bottom:10px}.notice .actions{margin-top:14px}.actions{display:flex;gap:9px;flex-wrap:wrap;align-items:center}.primary,.secondary{border-radius:9px;padding:11px 15px;font-size:14px;font-weight:600;min-height:42px}.primary{border:1px solid var(--green);background:var(--green);color:#fff}.primary:hover{background:#154c40}.secondary{border:1px solid var(--line);background:#fff;color:var(--ink)}.secondary:hover{background:#f1f5f0}.text-button{background:none;border:0;color:var(--green);padding:8px 0;font-size:13px;line-height:1.4;text-align:left}.icon-button{background:none;border:0;font-size:26px;color:var(--muted);padding:4px 12px;border-radius:7px}.list-item{padding:17px 0;border-top:1px solid var(--line)}.list-item:first-of-type{border-top:0}.list-top{display:flex;justify-content:space-between;gap:12px;align-items:flex-start}.list-item p{font-size:13px;margin:7px 0}.list-item h3{font-size:15px;margin:0;line-height:1.45}.list-item .price{white-space:nowrap;font-weight:600}.detail-row{display:flex;justify-content:space-between;gap:15px;padding:7px 0;font-size:13px;border-bottom:1px solid #eff1ed}.detail-row span:first-child{color:var(--muted)}.service-card details{margin-top:12px}.service-card summary,.rule-card summary{cursor:pointer;font-size:13px;color:var(--green);padding:7px 0}.part{padding:10px 0;border-bottom:1px solid var(--line);font-size:13px;line-height:1.5}.part small{display:block;color:var(--muted)}.full{margin-top:20px}.document-name{overflow-wrap:anywhere;font-size:13px}.note{font-size:13px;color:var(--muted);white-space:pre-line}.help{font-size:12px;line-height:1.5;margin:6px 0 0}.table-wrap{overflow:auto}table{border-collapse:collapse;width:100%;font-size:13px}th,td{text-align:left;border-bottom:1px solid var(--line);padding:10px 8px;vertical-align:top;line-height:1.5}th{font-weight:600;color:var(--muted)}.rules-grid{display:grid;grid-template-columns:1fr 1fr;gap:16px}.system-title{margin:28px 0 14px;font-size:19px}.rule-card h3{font-size:16px}.rule-card .tag{margin-bottom:12px}.rule-card .interval{font-size:14px;margin:0 0 12px}.rule-card p{font-size:13px;margin-bottom:9px}.rule-card .actions{margin-top:12px}.rule-card .sources{font-size:12px;line-height:1.6}.overview{display:flex;gap:20px;align-items:center;margin-bottom:20px}.overview strong{font-size:29px;display:block}.overview p{font-size:13px;margin:0}.filter-row{display:flex;gap:10px;flex-wrap:wrap;margin:20px 0}.filter-row button{border:1px solid var(--line);background:white;border-radius:30px;padding:9px 15px;font-size:13px}.filter-row button.active{background:var(--green);color:white;border-color:var(--green)}footer{text-align:center;color:var(--muted);font-size:12px;padding:20px;border-top:1px solid var(--line)}.login-view{min-height:100svh;display:grid;place-items:center;padding:25px;background:radial-gradient(ellipse at 10% 20%,#dfeae1,transparent 60%),var(--paper)}.login-card{background:white;width:min(100%,470px);padding:40px;border:1px solid var(--line);border-radius:22px;box-shadow:0 24px 100px #1d41330d}.login-card .brand-mark{margin-bottom:30px}.login-card h1{font-size:32px}.login-card .primary{width:100%;display:flex;justify-content:space-between;margin-top:20px}.login-card label{margin-top:18px}label{display:block;font-size:13px;font-weight:600;line-height:1.5}input,select,textarea{display:block;width:100%;border:1px solid #cdd5cd;background:#fff;color:var(--ink);padding:11px 12px;border-radius:8px;margin-top:7px;min-width:0;font-size:16px}input[type=checkbox]{width:18px;height:18px;display:inline-block;margin:0;flex-shrink:0;accent-color:var(--green)}label.check{display:flex;gap:10px;align-items:flex-start;font-weight:400;margin-top:18px}textarea{min-height:85px;resize:vertical}.form-grid{display:grid;grid-template-columns:1fr 1fr;gap:16px}.form-grid .wide{grid-column:1/-1}.error{color:var(--red);font-size:14px;line-height:1.5;white-space:pre-line}.error:empty{display:none}dialog{border:1px solid var(--line);border-radius:19px;width:min(730px,calc(100vw - 28px));max-height:90svh;padding:25px;color:var(--ink)}dialog::backdrop{background:#1227217a;backdrop-filter:blur(3px)}.dialog-head{display:flex;justify-content:space-between;align-items:center;gap:12px;margin-bottom:20px}.dialog-head h2{margin:0;font-size:23px}.form-actions{display:flex;justify-content:flex-end;gap:10px;margin-top:24px;padding-top:18px;border-top:1px solid var(--line)}.form-info{font-size:13px;background:var(--soft);padding:12px 15px;border-radius:8px;margin-bottom:20px}.rows{margin-top:20px}.entry-row{border:1px solid var(--line);border-radius:10px;padding:15px;margin:10px 0;background:var(--paper)}.entry-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:10px;margin-top:10px}.entry-row .row-heading{display:flex;align-items:center;justify-content:space-between;margin-bottom:8px}.viewer-image{width:100%;height:auto;border-radius:10px}.viewer-pdf{width:100%;height:60svh;border:0}.history-item{border-top:1px solid var(--line);padding:14px 0;font-size:13px;line-height:1.55}.history-item pre{white-space:pre-wrap;overflow-wrap:anywhere;font:inherit}#toast{position:fixed;bottom:22px;left:50%;transform:translateX(-50%);padding:13px 22px;background:#193f34;color:white;border-radius:10px;box-shadow:0 5px 30px #0002;z-index:10;max-width:calc(100vw - 28px);font-size:14px}body.locked{overflow:hidden}[hidden]{display:none!important}@media(max-width:760px){.topbar{padding:16px 20px}.brand small{font-size:10px}.account{gap:12px}.account>span{display:none}main{padding:25px 16px 35px}.page-heading{align-items:flex-start;flex-direction:column;gap:2px;margin-bottom:20px}.page-heading h1{font-size:26px}.page-heading>span{font-size:12px}.tabs button{padding:13px 11px;font-size:13px}.hero,.grid-two,.rules-grid{grid-template-columns:1fr;gap:15px}.hero .vehicle-card{min-height:300px}.metrics{grid-template-columns:1fr;gap:10px;margin-top:15px}.metric{display:grid;grid-template-columns:1fr auto;padding:17px 20px;align-items:center;gap:5px}.metric .value{grid-column:2;grid-row:1/3;margin:0;font-size:24px}.metric p{font-size:11px}.metric .metric-label{font-size:13px}.card{padding:20px;border-radius:14px}.km-big{font-size:42px}.notice{padding:18px}.section-head{flex-wrap:wrap}.section-head h2{font-size:21px}.form-grid{grid-template-columns:1fr}.form-grid .wide{grid-column:1}.entry-grid{grid-template-columns:1fr 1fr}.overview{gap:16px;flex-wrap:wrap}.overview strong{font-size:24px}.login-card{padding:28px}.login-card h1{font-size:28px}dialog{padding:20px;max-height:93svh}.dialog-head h2{font-size:21px}.list-top{flex-wrap:wrap}.car-stage{height:180px}.form-actions{position:sticky;bottom:-20px;background:white;padding-bottom:15px}.detail-row{font-size:12px}.tag{font-size:10px}}@media(prefers-reduced-motion:reduce){*{scroll-behavior:auto!important}}
