@font-face{font-family:Inter;src:url(/assets/inter-cyr.woff2) format("woff2");font-weight:400 900;font-display:swap;unicode-range:U+0301,U+0400-045F,U+0490-0491,U+04B0-04B1,U+2116}
@font-face{font-family:Inter;src:url(/assets/inter-latin.woff2) format("woff2");font-weight:400 900;font-display:swap;unicode-range:U+0000-00FF,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}
:root{font-family:Inter,Arial,sans-serif;color:#17231e;background:#fcfcf9;--ink:#17231e;--green:#c4f54b;--line:#d8dfd6;--muted:#53635a;--error:#8b3028;-webkit-font-smoothing:antialiased}
*{box-sizing:border-box}
[hidden]{display:none!important}
body{margin:0;min-width:280px}
.shell{width:min(1120px,calc(100% - clamp(32px,9vw,120px)));margin-inline:auto}
.top{border-bottom:1px solid var(--line);background:#fff}
.bar,.head-actions,.desk-heading,.section-heading,.dialog-heading,.card-actions,.dialog-actions,.meta,.card-heading{display:flex;align-items:center;gap:14px}
.bar{justify-content:space-between;min-height:78px}
.brand,.quiet,.phone{text-decoration:none;color:inherit}
.brand{display:inline-flex;align-items:center;gap:11px;font-size:1.8rem;letter-spacing:-.09em;font-weight:880}
.quiet{color:var(--muted);font-size:.94rem;font-weight:560}
.quiet:hover,.link:hover,.phone:hover{text-decoration:underline}
main{padding-block:clamp(30px,6vw,80px)}
button,input,select,a{font:inherit}
button,select{cursor:pointer}
button,.call{border:1px solid transparent;border-radius:9px;min-height:43px;padding:10px 16px;font-size:.92rem;font-weight:625;line-height:1.3;touch-action:manipulation}
button:disabled{opacity:.55;cursor:wait}
:focus-visible{outline:3px solid #678b12;outline-offset:3px}
button.primary{background:var(--green);color:var(--ink)}
button.primary:hover:not(:disabled){background:#b8e941}
button.outline,.call{display:inline-flex;align-items:center;justify-content:center;background:white;border-color:#bfcabe;color:var(--ink)}
button.outline:hover,.call:hover{background:#eef3eb}
button.danger-outline{color:#8b3028;border-color:#ddb9b4;background:white}
button.danger-outline:hover:not(:disabled){background:#fff1ef}
button.danger-solid{color:white;background:#9b332b}
button.danger-solid:hover:not(:disabled){background:#7b241d}
button.link{padding-inline:0;background:transparent;color:#3d5c15;text-align:left}
.login{display:grid;grid-template-columns:1fr minmax(320px,.84fr);border:1px solid var(--line);border-radius:20px;overflow:hidden;background:#fff}
.login-art{position:relative;isolation:isolate;min-height:440px;padding:clamp(28px,4.5vw,60px);display:flex;align-items:flex-end;color:white;background:#20352b url(/assets/hero.webp) 60% center/cover no-repeat}
.login-art::before{content:"";position:absolute;inset:0;z-index:-1;background:linear-gradient(0deg,#0c2018f0,#10271e80 65%,#13251e25)}
h1,h2,h3,p,dl,dd{margin:0}
h1,h2,h3{line-height:1.1;letter-spacing:-.052em;overflow-wrap:anywhere}
h1{font-size:clamp(2.35rem,4.9vw,4.2rem);font-weight:670}
h1 span{color:#779935}
.login-art h1 span{color:var(--green)}
.login-art p{margin-top:16px;font-size:1rem;line-height:1.5}
.login-panel{padding:clamp(25px,4.4vw,56px);display:flex;flex-direction:column;justify-content:center}
form{display:grid;gap:16px}
h2{font-size:clamp(1.48rem,2.8vw,2.15rem);font-weight:660}
h3{font-size:1.2rem;line-height:1.22;font-weight:670}
.muted,.optional,.ref,.empty{color:var(--muted)}
p{line-height:1.5}
label{display:grid;gap:7px;font-size:.92rem;font-weight:580;min-width:0}
input,select{width:100%;border:1px solid #b9c5ba;border-radius:8px;background:#fff;color:var(--ink);padding:10px 12px;min-width:0;font-size:1rem;line-height:1.4;min-height:44px}
select{appearance:none;background-image:linear-gradient(45deg,transparent 50%,var(--muted) 50%),linear-gradient(135deg,var(--muted) 50%,transparent 50%);background-position:calc(100% - 15px) 51%,calc(100% - 10px) 51%;background-size:5px 5px;background-repeat:no-repeat;padding-right:34px}
input::placeholder{color:#6d796e}
.desk-heading,.section-heading,.card-heading,.dialog-heading{justify-content:space-between}
.desk-heading{align-items:flex-end}
.desk-heading h1{font-size:clamp(2.2rem,4.6vw,3.55rem)}
.tabs{display:flex;gap:5px;margin-block:24px 32px;width:max-content;max-width:100%;border:1px solid var(--line);background:#edf1eb;border-radius:13px;padding:4px}
.tabs button{background:transparent;color:var(--muted);padding-inline:24px}
.tabs button[aria-pressed=true]{background:var(--ink);color:white}
.tabs{flex-wrap:wrap}
#calendar-list{max-width:34rem}
#calendar-choice{max-width:25rem;margin-bottom:18px}
#calendar-widget:not(:empty){padding:clamp(8px,2vw,18px);border:1px solid var(--line);border-radius:14px;background:#fff}
@media(max-width:530px){.tabs{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));width:100%}}
.section-heading{align-items:flex-end;flex-wrap:wrap;margin-bottom:20px}
.filter{display:flex;align-items:center;gap:9px;color:var(--muted)}
.filter select{width:auto}
.lead-filters{display:flex;align-items:flex-end;flex-wrap:wrap;gap:12px 20px;margin-bottom:6px}
.lead-filters label:first-child{flex:1 1 280px}
#lead-search-hint{margin-bottom:18px;font-size:.86rem}
.lead-pages{display:flex;justify-content:center;align-items:center;gap:12px;flex-wrap:wrap;margin-top:20px}
.lead-pages span{font-size:.9rem;color:var(--muted)}
.lead-pages button:disabled{cursor:default}
.empty .link{display:block}
.message,.error,.empty{padding:13px 16px;border-radius:9px;overflow-wrap:anywhere}
.message{margin-bottom:16px;background:#e9f2e3}
.error,.message.error{background:#fff0ec;color:var(--error)}
.empty{padding:30px 20px;background:white;border:1px dashed #c8d2c6}
.cars-list,.leads-list{display:grid;gap:14px}
.cars-list{grid-template-columns:repeat(auto-fit,minmax(min(285px,100%),1fr))}
.mileage-summary{display:flex;justify-content:space-between;align-items:center;flex-wrap:wrap;gap:12px 20px;margin-bottom:18px;padding:16px 18px;border:1px solid var(--line);border-radius:14px;background:#f2f6ee}
.mileage-summary .metadata{margin-top:5px}
article{min-width:0;padding:20px;border:1px solid var(--line);border-radius:14px;background:#fff}
.car-card{display:grid;align-content:start;gap:14px}
.car-image{width:100%;height:140px;object-fit:contain;background:#f2f4f0;border-radius:8px}
.card-heading{align-items:flex-start;flex-wrap:wrap;gap:9px}
.badge{display:inline-block;flex-shrink:0;font-size:.875rem;font-weight:600;line-height:1.2;padding:5px 9px;background:#edf1eb;color:#344038;border-radius:6px}
.badge.pending{color:#684705;background:#fff0c3}
.badge.confirmed,.badge.active{color:#27522f;background:#e4f3d8}
.ref{line-height:1.45;font-size:.86rem;margin-top:5px;overflow-wrap:anywhere}
.details{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(145px,100%),1fr));margin-block:18px;gap:13px 18px}
dt{font-size:.875rem;color:var(--muted);margin-bottom:5px}
dd{line-height:1.4;font-weight:530;overflow-wrap:anywhere}
.price{font-weight:680}
.metadata{color:var(--muted);font-size:.94rem;line-height:1.5;overflow-wrap:anywhere}
.phone{color:#345716}
.card-actions,.dialog-actions{flex-wrap:wrap;gap:8px}
.leads-list .card-actions{border-top:1px solid #e7ebe5;padding-top:14px}
.call{text-decoration:none}
dialog{width:min(470px,calc(100vw - 24px));max-height:calc(100dvh - 32px);padding:23px;border:1px solid var(--line);border-radius:16px;color:var(--ink);box-shadow:0 11px 55px #15251d29}
dialog::backdrop{background:#12271ec4}
body:has(dialog[open]){overflow:hidden}
.dialog-heading{margin-bottom:18px}
.dialog-heading h2{font-size:1.48rem}
.close{font-family:Arial,sans-serif;border-radius:50%;font-size:1.6rem;line-height:1;min-height:38px;width:38px;padding:0;color:var(--ink);background:#edf1eb;flex-shrink:0}
.dialog-actions{justify-content:flex-end;margin-top:7px}
#confirmation .dialog-actions,#confirm-error{margin-top:18px}
#reschedule{width:min(520px,calc(100vw - 24px))}
#reschedule .dialog-heading{margin-bottom:8px}
#reschedule-guide{margin:6px 0 12px}
#reschedule-preview,#reschedule-error{margin-top:12px}
#reschedule .dialog-actions{margin-top:16px}
#confirm-info{white-space:pre-line;overflow-wrap:anywhere}
#analytics-history{width:min(620px,calc(100vw - 20px));padding:clamp(13px,3vw,24px)}
#analytics-history .dialog-heading{margin-bottom:4px}
#history-period{color:var(--muted)}
#history-table{width:100%;border-collapse:collapse;font-variant-numeric:tabular-nums;margin-top:14px}
#history-table :is(td,th){border-bottom:1px solid var(--line);padding:10px 6px;text-align:left;vertical-align:top}
#history-table th:first-child{padding-left:0}
#history-table :is(td,th):last-child{padding-right:0;text-align:right}
#history-table thead th{color:var(--muted);font-size:.87rem}
#history-table tbody th{text-transform:capitalize;font-weight:600}
#history-table small{display:block;color:var(--muted);font-size:.81rem;line-height:1.45}
#history-table meter{display:block;width:min(75px,100%);height:8px;accent-color:#47753b}
#history-status,#history-retry{margin-top:14px}
@media(max-width:420px){#history-table{font-size:.9rem}#history-table :is(td,th){padding-inline:3px}#history-table small{font-size:.77rem}}
.deposit-ack{display:flex;align-items:flex-start;margin-top:14px;gap:9px;line-height:1.45}
.deposit-ack input{width:19px;height:19px;min-height:19px;padding:0;flex:none;margin:1px 0 0;accent-color:#467024}
.pickup-map{display:block;width:fit-content;color:#345716;text-decoration:underline;text-underline-offset:2px;margin-top:4px}
.two{display:grid;grid-template-columns:1fr 1fr;gap:14px}
#promotion-dialog{width:min(570px,calc(100vw - 24px));overscroll-behavior:contain}
#promotion-rule,#promotion-copy-preview{display:grid;gap:8px}
#promotion-rule .metadata{font-size:.86rem}
#promotion-form .site-text-field{border:0;padding:0}
#promotion-copy-preview{padding:14px;border-radius:10px;background:#f1f5ef;overflow-wrap:anywhere}
#promotion-preview-heading{font-size:.86rem;color:var(--muted);letter-spacing:0}
#promotion-preview-text{white-space:pre-line}
@media(max-width:530px){#promotion-form .dialog-actions{position:sticky;bottom:-23px;z-index:1;padding:10px 0 14px;background:white;border-top:1px solid var(--line)}}
.optional{font-size:.83rem;font-weight:400}
.car-photos{margin:0;padding:0;min-inline-size:0;border:0;display:grid;gap:10px}
.car-photos legend{padding:0;margin:0 0 6px;font-size:1rem;font-weight:670}
.car-photos .metadata,#photo-count,#photo-progress{font-size:.86rem;color:var(--muted);line-height:1.45}
#photo-list{display:grid;gap:8px;list-style:none;margin:0;padding:0}
#photo-list:empty{display:none}
.point-photos{margin-block:18px}
.point-photos h3{margin:0}
#point-photo-list{display:grid;gap:8px;margin:10px 0;padding:0;list-style:none}
#point-photo-list:empty{display:none}
#point-photo-list .photo-thumb{width:64px;height:54px;object-fit:contain;background:#f1f3ef}
#point-photo-feedback.error{color:var(--danger,#963a2a)}
.photo-row{display:grid;grid-template-columns:64px minmax(0,1fr);gap:10px;align-items:center;border:1px solid var(--line);border-radius:10px;padding:8px}
.photo-thumb{width:64px;height:36px;object-fit:contain;border-radius:6px;background:#fff}
.photo-title{font-size:.85rem;font-weight:650}
.photo-compare{grid-column:1/-1;min-width:0;font-size:.85rem}
.photo-compare summary{cursor:pointer;padding:6px 0}
.photo-pair{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}
.photo-pair figure{margin:0;min-width:0}
.photo-pair img,.photo-pair canvas{display:block;width:100%;height:auto;aspect-ratio:16/9;object-fit:contain;background:#fff;border-radius:6px}
.photo-actions,.photo-toolbar{display:flex;align-items:center;flex-wrap:wrap;gap:5px}
.photo-actions{margin-top:3px}
.photo-actions button{font-size:.8rem;min-height:36px;padding:5px 8px;border:1px solid var(--line);background:#fff;color:var(--ink)}
.photo-actions button:disabled,.photo-picker:has(input:disabled){opacity:.48;cursor:default}
.photo-picker{position:relative;overflow:hidden;display:inline-flex;align-items:center;justify-content:center;min-height:44px;padding:8px 14px;border:1px solid #bfcabe;border-radius:9px;background:white;cursor:pointer}
.photo-picker:focus-within{outline:3px solid #678b12;outline-offset:2px}
.photo-picker input{position:absolute;inset:0;width:100%;height:100%;opacity:0;cursor:pointer}
.photo-toolbar{gap:12px}
#photo-error{white-space:pre-line}
@media(pointer:coarse){.photo-actions button{min-height:44px;min-width:44px}}
.customers-list{display:grid;gap:12px}
.analytics-heading .metadata{margin-top:6px}
.report-picker{min-width:0;max-width:100%}
.report-month{display:flex;align-items:center;gap:5px;margin-top:7px;max-width:100%}
.report-month input{width:12.5rem;flex:1 1 auto}
.report-month button{width:44px;min-height:44px;flex:none;font-size:1.45rem;padding:0}
.report-total-title{margin-bottom:10px}
.report-summary{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:8px;margin:0 0 24px}
.report-summary>div{min-width:0;border:1px solid var(--line);border-radius:12px;background:white;padding:14px 16px}
.report-summary>div:first-child{background:#ecf4e6;border-color:#c8d9bf}
.report-summary dd{font-size:clamp(1.25rem,2.7vw,1.9rem);font-weight:670;line-height:1.2;font-variant-numeric:tabular-nums}
.report-table{width:100%;border-spacing:0;background:white;border:1px solid var(--line);border-radius:12px;font-size:.95rem;font-variant-numeric:tabular-nums}
.report-table caption{text-align:left;font-size:1.2rem;font-weight:670;margin-bottom:10px}
.report-table caption span{display:block;font-weight:400;margin-top:3px}
.report-table th,.report-table td{border-top:1px solid var(--line);padding:10px 14px;text-align:right}
.report-table thead th{border-top:0;font-size:.85rem;color:var(--muted);font-weight:600}
.report-table th:first-child,.report-table tr>:nth-child(2){text-align:left}
.report-table td:nth-last-child(2){font-weight:665}
.report-action{font-size:.82rem;padding:7px 10px;min-height:40px}
.report-excluded{margin-top:18px;border:1px solid var(--line);background:white;border-radius:12px}
.report-excluded summary{font-weight:600;cursor:pointer;padding:13px 16px}
.report-excluded ul{list-style:none;margin:0;padding:0 16px}
.report-excluded li{display:flex;justify-content:space-between;gap:12px;align-items:center;flex-wrap:wrap;padding:10px 0;border-top:1px solid var(--line)}
.report-excluded li span{overflow-wrap:anywhere}
.report-car{color:#345716;background:none;border:0;text-decoration:underline;text-underline-offset:3px;min-height:36px;padding:4px 0;text-align:left;overflow-wrap:anywhere}
.report-status{display:block;color:var(--muted);font-size:.8rem;font-weight:500}
.report-mobile-label{display:none}
.report-days{display:inline-block;font-size:.9rem}
.report-days meter{display:block;width:100%;height:7px;border:0;appearance:none;background:#e6ece3;border-radius:6px;margin-top:5px}
.report-days meter::-webkit-meter-bar{height:7px;border:0;background:#e6ece3;border-radius:6px}
.report-days meter::-webkit-meter-optimum-value{background:#5c8643;border-radius:6px}
.report-days meter::-moz-meter-bar{background:#5c8643;border-radius:6px}
.report-method{margin-top:18px;max-width:70ch;color:var(--muted);font-size:.92rem}
.report-method summary{cursor:pointer;font-weight:600;color:var(--ink);width:fit-content}
.report-method p{margin-top:6px}
#fees-form{max-width:38rem}
#fee-fields{min-width:0;margin:0;background:white;border:1px solid var(--line);border-radius:14px;padding:16px clamp(12px,3vw,24px) 20px}
#fee-fields legend{font-weight:660;font-size:1.2rem;padding:0 6px}
#fee-fields .metadata{margin:6px 0 14px}
#fee-fields h3{margin-top:20px}
.fee-row{display:grid;grid-template-columns:minmax(0,1fr) minmax(5rem,8rem);align-items:center;gap:10px;padding:9px 0;border-top:1px solid var(--line)}
.fee-input{display:flex;align-items:center;gap:7px;color:var(--muted)}
.fee-input input{width:100%;text-align:right}
.places-heading{display:flex;align-items:center;justify-content:space-between;flex-wrap:wrap;gap:8px;margin-top:22px}
#fee-fields .places-heading h3{margin:0}
.fee-choice{display:grid;grid-template-columns:auto minmax(0,1fr);align-items:center;gap:4px 10px;overflow-wrap:anywhere}
.fee-choice input{width:22px;height:22px;min-height:22px;accent-color:#35602f}
.fee-choice small{grid-column:2;font-size:.8rem;font-weight:400;color:var(--muted)}
.fee-row:has(.fee-choice input:not(:checked)) .fee-choice span{color:var(--muted)}
.fee-row .fee-fixed{font-size:.9rem;text-align:right}
#point-new-settings{display:grid;gap:12px;margin:0 0 16px}
#point-public[hidden],#point-label-row[hidden],#point-new-settings[hidden]{display:none}
#save-fees{margin-top:12px}
#settings-list{display:grid;align-items:start;gap:24px}
#handover-points{max-width:40rem;min-width:0;scroll-margin-top:16px}
#point-fields{min-width:0;margin:0;padding:16px clamp(12px,3vw,24px) 20px;border:1px solid var(--line);border-radius:14px;background:white}
#point-fields legend{font-size:1.2rem;font-weight:660;padding:0 6px}
#point-fields>label,#point-fields>.point-coordinates{margin-bottom:14px}
#point-fields label .optional{font-size:.82rem;font-weight:400;margin-top:-5px}
#point-fields textarea{width:100%;min-height:64px;resize:vertical;border:1px solid #b9c5ba;border-radius:8px;color:var(--ink);background:white;padding:10px 12px;font:inherit;font-size:1rem;font-weight:400}
#point-map-hint{margin:4px 0 8px}
#point-map{height:clamp(245px,37vh,345px);width:100%;border:1px solid var(--line);border-radius:10px;background:#eff2ed;isolation:isolate}
#point-map .leaflet-interactive{cursor:grab}
#point-map .leaflet-control-attribution{font-size:10px}
.handover-pin{background:transparent;border:0}
.handover-pin::before{content:"";position:absolute;width:24px;height:24px;left:3px;top:3px;border:3px solid white;border-radius:50% 50% 50% 0;transform:rotate(-45deg);background:#426922;box-shadow:0 2px 5px #18291e70}
.handover-pin::after{content:"";position:absolute;width:7px;height:7px;left:14px;top:14px;background:white;border-radius:50%}
.point-coordinates{display:grid;grid-template-columns:1fr 1fr;gap:12px;margin-top:12px}
.point-actions{display:flex;flex-wrap:wrap;gap:8px;margin-bottom:14px}
#point-public,.point-jump{font-size:.9rem;color:#3e5731}
#point-status{margin:0}
@media(min-width:980px){#settings-list{grid-template-columns:minmax(0,1fr) minmax(0,1.18fr)}.point-jump{display:none}}
@media(max-width:760px){
  .report-summary{grid-template-columns:repeat(2,minmax(0,1fr))}
  .report-summary>div{padding:12px}
  .report-table,.report-table caption,.report-table tbody{display:block}
  .report-table{border:0;background:transparent}
  .report-table thead{position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%)}
  .report-table tbody{display:grid;gap:10px}
  .report-table tbody tr{display:block;border:1px solid var(--line);border-radius:12px;background:white;padding:10px 14px}
  .report-table tbody th{display:block;padding:0 0 5px;border:0}
  .report-table tbody td{display:flex;align-items:center;justify-content:space-between;gap:8px;border:0;padding:4px 0;text-align:right;overflow-wrap:anywhere}
  .report-table tbody td:nth-last-child(2){margin-top:4px;border-top:1px solid var(--line);padding-top:8px}
  .report-table tbody td:last-child{justify-content:flex-end;padding-top:9px}
  .report-action{min-height:44px}
  .report-mobile-label{display:inline;color:var(--muted);font-weight:500;text-align:left;font-size:.875rem}
}
.customer-row{display:flex;align-items:center;justify-content:space-between;gap:14px;flex-wrap:wrap}
.customer-row .metadata{margin-top:7px}
.customer-search{max-width:100%;width:260px}
.customer-identity{margin-bottom:18px;font-weight:630}
.check-row{display:flex;align-items:center;gap:10px}
.check-row input{width:20px;min-height:20px;height:20px;accent-color:var(--ink);flex-shrink:0}
@media(max-width:360px){.tabs button[id]{padding-inline:10px}}
@media(max-width:730px){.login{grid-template-columns:1fr}.login-art{min-height:165px;padding:22px 24px;background-position:65% 60%}.login-art h1{font-size:2.2rem}.login-art h1 br{display:none}.login-art h1 br::after{content:" "}.login-art p{margin-top:8px}.login-panel{padding:24px}.bar{min-height:63px}.brand{font-size:1.55rem}.brand img{width:31px;height:31px}}
@media(max-width:480px){.shell{width:calc(100% - 28px)}main{padding-top:24px}.head-actions{gap:10px}.brand{gap:7px}.bar button{padding:8px 10px}.desk-heading{align-items:flex-start;flex-wrap:wrap}.tabs{margin-block:16px 24px}.tabs button{padding-inline:18px}.section-heading{align-items:flex-start}.filter{width:100%}.filter select{flex:1}.details{grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.card-actions{gap:6px}.card-actions button,.call{font-size:.88rem;padding:9px 11px}article{padding:15px}.dialog-actions>*{flex-grow:1}.login-art p{font-size:.92rem}}
