@font-face{font-family:Inter;src:url("/assets/inter.woff2") format("woff2");font-style:normal;font-weight:100 900;font-display:swap}
:root{font-family:Inter,system-ui,sans-serif;color:#222a25;background:#f5f6f4;font-synthesis:none;--ink:#222a25;--muted:#606b63;--line:#e3e8e1;--paper:#fff;--green:#24543d;--green-deep:#193e2c;--green-wash:#eaf1e9;--shadow:0 1px 2px #26362a08,0 8px 24px #26362a06;--radius:17px}
*{box-sizing:border-box}
[hidden]{display:none!important}
body{margin:0;min-width:280px;font-size:14px;line-height:1.55}
a{color:inherit;text-decoration:none}
button,input,textarea,select{font:inherit}
button{cursor:pointer}
button:disabled{cursor:wait;opacity:.58}
a:focus-visible,button:focus-visible,input:focus-visible,textarea:focus-visible,select:focus-visible,summary:focus-visible{outline:2px solid #327d54;outline-offset:3px}
h1,h2,p{margin:0}
h1{font-size:clamp(2rem,4vw,3.15rem);line-height:1.06;letter-spacing:-.057em}
h2{font-size:1.15rem;letter-spacing:-.033em;line-height:1.3}
small{color:var(--muted)}
svg{flex:none}
.visually-hidden,.skip:not(:focus){position:absolute;width:1px;height:1px;clip-path:inset(50%);overflow:hidden;white-space:nowrap}
.skip:focus{position:fixed;z-index:12;left:12px;top:12px;background:white;padding:10px 15px}
.button{display:inline-flex;align-items:center;justify-content:center;gap:9px;min-height:43px;padding:9px 15px;border-radius:9px;border:1px solid transparent;font-weight:650;line-height:1.2;white-space:nowrap;transition:background .16s,border-color .16s}
.button.primary{background:var(--green);color:white}
.button.primary:hover{background:var(--green-deep)}
.button.secondary{background:white;border-color:#dce3db;color:#344239}
.button.secondary:hover{background:#f5f8f4;border-color:#c9d4ca}
.button.full{width:100%}
.button.compact{min-height:35px;font-size:.8rem;padding:6px 9px}
.icon-button{display:inline-grid;place-items:center;width:38px;height:38px;border:1px solid transparent;border-radius:8px;background:transparent;color:var(--muted);padding:0;cursor:pointer}
.icon-button:hover{background:var(--green-wash);color:var(--green-deep)}
.panel{background:var(--paper);border:1px solid var(--line);border-radius:var(--radius);box-shadow:var(--shadow)}
.brand{display:inline-flex;align-items:center;gap:12px;line-height:1.12;white-space:nowrap}
.brand strong{display:block;font-size:.99rem;font-weight:800;letter-spacing:.1em}
.brand small{display:block;margin-top:5px;font-size:.53rem;font-weight:740;letter-spacing:.125em}
.brand-mark{display:grid;place-content:center;grid-auto-flow:column;align-items:baseline;width:42px;height:42px;border-radius:11px;background:var(--green-deep);color:#fff;font-size:1.48rem;font-weight:820;letter-spacing:-.08em}
.brand-mark span{color:#b3dc9d}
.eyebrow{color:var(--green);font-weight:760;font-size:.68rem;letter-spacing:.14em;margin-bottom:10px}
.auth{display:grid;align-items:center;min-height:100vh;padding:28px}
.auth-wrap{width:min(100%,1020px);margin:auto;display:grid;grid-template-columns:1.05fr 1fr;min-height:610px;border:1px solid var(--line);border-radius:26px;overflow:hidden;box-shadow:0 22px 80px #1d362415;background:white}
.auth-story{isolation:isolate;position:relative;background:#193e2c;color:#f6fff4;padding:38px;display:flex;flex-direction:column;justify-content:space-between;overflow:hidden}
.auth-story::before,.auth-story::after{content:"";position:absolute;z-index:-1;width:480px;height:480px;border:1px solid #a8cfb033;border-radius:42%;transform:rotate(-28deg);right:-230px;bottom:-160px}
.auth-story::after{width:570px;height:570px;right:-256px;bottom:-183px;box-shadow:0 0 0 48px #a8cfb010,0 0 0 96px #a8cfb00a}
.auth-story .brand-mark{background:#d0e7c6;color:#153c27}
.auth-story .brand-mark span,.auth-story .brand small,.auth-story .eyebrow{color:#a7cf9d}
.auth-story h1{font-size:clamp(2.7rem,6vw,4.75rem);line-height:.99}
.auth-story p{max-width:285px;margin-top:20px;color:#e2f0e1;font-size:.94rem}
.auth-story-footer{display:flex;align-items:center;gap:10px;color:#b7d0b6;font-size:.58rem;letter-spacing:.15em;font-weight:720}
.auth-story-footer span{width:24px;height:1px;background:#82a988}
.auth-card{align-self:center;padding:45px 55px}
.auth-card h2{font-size:2rem}
.auth-card>p{color:var(--muted);margin:7px 0 25px}
.auth-icon{display:grid;place-items:center;width:48px;height:48px;border-radius:12px;background:var(--green-wash);color:var(--green);margin-bottom:16px}
.auth-private{display:flex;justify-content:center;align-items:center;gap:7px;margin-top:20px;color:var(--muted);font-size:.79rem}
.error-page{max-width:520px;padding:30px;margin:auto}
.error-page h1,.error-page p{margin:18px 0}
.sidebar{position:fixed;inset:0 auto 0 0;z-index:4;width:235px;display:flex;flex-direction:column;background:#fbfcfa;border-right:1px solid var(--line);padding:27px 18px 14px}
.sidebar-brand{padding:0 7px}
.nav-caption{padding:0 12px;margin:43px 0 8px;color:#69766b;font-size:.65rem;font-weight:750;letter-spacing:.14em}
.sidebar nav{display:grid;gap:4px}
.sidebar nav a{display:flex;gap:12px;align-items:center;min-height:45px;border-radius:9px;padding:9px 12px;font-weight:580;color:#48554c}
.sidebar nav a:hover{background:#f0f3ee}
.sidebar nav a[aria-current]{color:var(--green-deep);background:#e7efe4;font-weight:740}
.side-foot{margin-top:auto;padding:13px 0 0;border-top:1px solid var(--line);display:flex;align-items:center;gap:8px;min-width:0}
.avatar{display:grid;place-items:center;width:33px;height:33px;flex:none;border-radius:50%;background:#e3ede0;color:#284f38;font-weight:750}
.user-info{flex:1;min-width:0}
.user-info strong,.user-info small{display:block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:.72rem}
.user-info small{font-size:.67rem}
.mobile-bar{display:none}
.main{max-width:1590px;margin-left:235px;padding:0 clamp(20px,4vw,56px) 55px;min-height:100vh}
.top-line{height:66px;border-bottom:1px solid var(--line);display:flex;align-items:center;gap:9px;color:var(--muted);font-size:.8rem}
.top-line strong{color:var(--ink);font-weight:640}
.slash{color:#829084}
.page-head{display:flex;align-items:flex-end;justify-content:space-between;gap:20px;margin:32px 0 24px}
.page-head>div>p:last-child{margin-top:9px;color:var(--muted)}
.stats{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:15px;margin-bottom:25px}
.stat{display:grid;gap:3px;padding:17px;transition:border-color .18s,transform .18s}
.stat:hover{border-color:#a4b9a8;transform:translateY(-2px)}
.stat-top{display:flex;justify-content:space-between;align-items:flex-start;margin-bottom:10px}
.stat-icon{display:grid;place-items:center;width:39px;height:39px;border-radius:11px;background:#e7f0e5;color:#2d5b3d}
.stat.reserved .stat-icon{background:#fbf1df;color:#765819}
.stat.sold .stat-icon{background:#e7eef5;color:#34556f}
.stat.draft .stat-icon{background:#eef0ed;color:#536057}
.stat-arrow{color:#708076}
.stat-label{font-weight:660;font-size:.85rem}
.stat>strong{font-size:2.05rem;font-weight:730;letter-spacing:-.075em;line-height:1.12}
.stat small{font-size:.72rem}
.panel-head{display:flex;justify-content:space-between;align-items:center;gap:13px;padding:19px 21px;border-bottom:1px solid var(--line)}
.panel-head p,.editor-header p,.publish-panel p,.settings-panel>p{color:var(--muted);font-size:.84rem;margin-top:3px}
.empty{min-height:270px;display:grid;place-content:center;justify-items:center;gap:8px;text-align:center;padding:25px}
.empty-icon{display:grid;place-items:center;width:54px;height:54px;border-radius:16px;background:var(--green-wash);color:var(--green);margin-bottom:4px}
.empty strong{font-size:1.06rem;letter-spacing:-.025em}
.empty p{color:var(--muted);font-size:.85rem}
.empty .button{margin-top:7px}
.table-scroll{overflow:visible}
table{width:100%;border-collapse:collapse;text-align:left}
th,td{padding:12px 9px}
th:first-child,td:first-child{padding-left:21px}
th:last-child,td:last-child{padding-right:20px}
thead{background:#f7f9f6;color:var(--muted);font-size:.72rem}
td{font-size:.81rem;border-bottom:1px solid var(--line)}
tr:last-child td{border-bottom:0}
td.price{font-weight:730;white-space:nowrap}
.car-cell{display:flex;align-items:center;gap:10px}
.car-cell strong,.car-cell small{display:block}
.car-cell strong{font-size:.84rem}
.car-cell:hover strong{text-decoration:underline}
.car-cell small{font-size:.69rem}
.car-thumb{width:59px;height:43px;object-fit:cover;border-radius:7px;flex:none}
.car-thumb.placeholder{display:grid;place-items:center;background:#edf1ec;color:#61766a}
.badge{display:inline-flex;align-items:center;gap:6px;white-space:nowrap;padding:4px 8px;background:#eef0ed;color:#4e5b53;border-radius:999px;font-size:.71rem;font-weight:690}
.badge::before{content:"";width:6px;height:6px;background:currentColor;border-radius:50%}
.badge.active{background:#e7f3e5;color:#2c5a36}.badge.reserved{background:#fff1d7;color:#735016}.badge.sold{background:#e9eff7;color:#355575}
.row-actions{width:1%;text-align:right}
.action-menu{position:relative}
.action-menu summary{list-style:none}
.action-menu summary::-webkit-details-marker{display:none}
.action-popup{position:absolute;right:0;top:40px;z-index:3;min-width:175px;background:white;border:1px solid var(--line);border-radius:10px;box-shadow:0 8px 22px #1d362426;padding:5px;text-align:left}
.action-popup>*{display:block;width:100%;padding:7px 9px;text-align:left;border:0;border-radius:5px;background:transparent;white-space:nowrap;color:var(--ink)}
.action-popup>*:hover{background:#eef3ee}
.danger-text{color:#a22a37!important}
.filters{display:grid;grid-template-columns:minmax(160px,1fr) auto auto auto;gap:10px;padding:15px 20px 8px}
.filters select{min-width:120px}
.search-field{position:relative}
.search-field svg{position:absolute;top:13px;left:12px;color:#647167}
.search-field input{padding-left:40px}
.result-count{padding:4px 21px 10px;color:var(--muted);font-size:.78rem}
label{display:block;color:#38463c;font-weight:650;font-size:.8rem}
input:not([type=checkbox]):not([type=file]),textarea,select{display:block;width:100%;min-height:43px;border:1px solid #dce4da;border-radius:8px;background:#fff;color:var(--ink);padding:9px 11px;font-weight:480;margin-top:5px}
.filters input,.filters select{margin-top:0!important}
.filters .search-field input{padding-left:39px}
input::placeholder,textarea::placeholder{color:#727e74;opacity:1}
textarea{resize:vertical}
input[type=checkbox]{width:17px;height:17px;accent-color:var(--green);flex:none}
.stack{display:grid;gap:14px}
.field-hint{display:block;margin-top:5px;font-size:.73rem;font-weight:460}
.back-link{display:inline-flex;gap:6px;align-items:center;margin-top:23px;color:var(--green);font-weight:660;font-size:.82rem}
.back-link:hover{text-decoration:underline}
.editor-title{margin-top:13px}
.editor{display:grid;grid-template-columns:minmax(0,1fr) minmax(230px,285px);gap:18px;align-items:start}
.editor-main{display:grid;gap:17px}
.editor-side{position:sticky;top:18px;display:grid;gap:12px}
.editor-section,.publish-panel,.settings-panel{padding:20px}
.editor-section{scroll-margin-top:12px}
.editor-header{display:flex;align-items:flex-start;gap:11px;margin-bottom:17px}
.step-number{border-radius:8px;background:var(--green-wash);color:var(--green);font-size:.72rem;font-weight:760;display:grid;place-items:center;min-width:34px;height:34px}
.field-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:13px}
.span-all{grid-column:1/-1}
.required{color:var(--green)}
fieldset{padding:0;border:0;margin:0;min-width:0}
legend{font-weight:700;margin-bottom:7px;font-size:.8rem}
.equipment{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:7px}
.equipment label{display:flex;gap:5px;align-items:center;border:1px solid var(--line);border-radius:7px;padding:5px;font-size:.72rem;overflow-wrap:anywhere}
.publish-panel>p,.settings-panel>p{margin-bottom:15px}
.toggle-line{display:flex;align-items:flex-start;gap:6px;background:#f7f9f6;border:1px solid var(--line);border-radius:8px;padding:9px 7px}
.toggle-line small{display:block;margin-top:1px;font-size:.69rem;font-weight:480}
.jump-nav{display:grid;gap:6px;padding:5px 10px}
.jump-nav a{font-size:.76rem;color:var(--muted)}
.jump-nav a:hover{text-decoration:underline}
.drop-zone{min-height:145px;display:grid;place-content:center;justify-items:center;gap:4px;text-align:center;border:1px dashed #9eb8a1;border-radius:11px;background:#f5f9f3;position:relative;padding:12px;cursor:pointer}
.drop-zone.drag-over,.drop-zone:focus-within{outline:2px solid #4d8660;outline-offset:2px;background:#e8f3e6}
.drop-zone input{position:absolute;inset:0;width:100%;height:100%;opacity:0;cursor:pointer}
.drop-zone small{font-weight:480}
.photo-meta{display:flex;justify-content:space-between;gap:8px;margin:11px 0;color:var(--muted);font-size:.73rem}
.photo-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:9px}
.photo-card{min-width:0;border:1px solid var(--line);border-radius:9px;background:#f9faf8;overflow:hidden}
.photo-card.drag-over{outline:2px solid var(--green)}
.photo-open{display:block;padding:0;border:0;width:100%;position:relative;background:#eaf0e9;cursor:zoom-in}
.photo-open img{width:100%;aspect-ratio:4/3;display:block;object-fit:cover}
.photo-tag{position:absolute;left:5px;top:5px;background:#173d2c;color:white;font-size:.6rem;padding:3px 5px;border-radius:4px;font-weight:690}
.photo-tag.pending{background:#eaf1e9;color:#244c36;top:auto;bottom:5px}
.photo-actions{display:flex;justify-content:space-around;padding:4px;gap:1px}
.photo-actions .icon-button{width:29px;height:30px;font-size:1rem}
dialog{border:1px solid var(--line);border-radius:12px;padding:8px;max-width:calc(100vw - 24px);max-height:95dvh}
dialog::backdrop{background:#101b16bb}
dialog img{max-width:100%;max-height:81dvh;display:block}
dialog .icon-button{display:grid;margin-left:auto}
.settings-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px;align-items:start}
.settings-panel button[type=submit]{justify-self:start}
.endpoint-list{padding:11px;background:#f5f8f4;border-radius:8px;overflow-wrap:anywhere;font-size:.76rem}
.endpoint-list dt{font-weight:710}
.endpoint-list dd{margin:0 0 7px}
.endpoint-list a{text-decoration:underline}
.admin-list{list-style:none;padding:0;margin:0 0 15px}
.admin-list li{display:flex;gap:8px;align-items:center;justify-content:space-between;border-bottom:1px solid var(--line);padding:7px 0;overflow-wrap:anywhere}
.admin-list small{display:block;font-size:.68rem}
.error-box{border:1px solid #ecc3c7;border-radius:8px;background:#fff3f4;color:#8b2533;padding:9px 10px;font-size:.8rem;margin-bottom:9px}
.form-alert{margin:0}
.toast{position:fixed;z-index:10;right:20px;bottom:20px;background:var(--green-deep);color:white;border-radius:8px;padding:11px 14px;box-shadow:0 7px 20px #172b1c3b;max-width:calc(100vw - 40px)}
.toast.error{background:#8b2533}
@media(max-width:1120px){.sidebar{width:200px}.main{margin-left:200px}.stats{gap:10px}.stat{padding:13px}.equipment{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:930px){.sidebar{width:175px;padding-inline:12px}.main{margin-left:175px;padding-inline:18px}.editor{grid-template-columns:minmax(0,1fr) minmax(190px,220px);gap:10px}.editor-section,.publish-panel,.settings-panel{padding:14px}.car-thumb{width:47px;height:37px}.car-cell{gap:6px}.filters{grid-template-columns:minmax(125px,1fr) auto auto}.filters button{justify-self:start}}
@media(max-width:760px){.mobile-bar{display:flex;position:sticky;top:0;z-index:5;align-items:center;justify-content:space-between;padding:9px 15px;background:#fbfcfa;border-bottom:1px solid var(--line)}.mobile-bar .brand-mark{width:35px;height:35px;font-size:1.26rem}.sidebar{display:none;inset:56px 0 auto;width:100%;padding:10px 15px 13px;border-bottom:1px solid var(--line);box-shadow:var(--shadow);max-height:calc(100dvh - 56px);overflow:auto}.sidebar.open{display:flex}.sidebar-brand,.nav-caption{display:none}.side-foot{margin-top:8px}.main{margin-left:0;padding:0 14px 38px}.top-line{height:42px}.page-head{margin-top:22px}.stats{grid-template-columns:repeat(2,minmax(0,1fr));margin-bottom:17px}.auth{padding:16px}.auth-wrap{grid-template-columns:1fr;min-height:0}.auth-story{padding:22px;gap:28px}.auth-story h1{font-size:2.85rem}.auth-story p{margin-top:9px}.auth-story-footer{display:none}.auth-card{padding:26px 25px}.editor-section{scroll-margin-top:70px}}
@media(max-width:550px){.page-head{align-items:flex-start;flex-direction:column;gap:12px}.page-head>.button{min-height:40px}.panel-head{padding:13px;align-items:flex-start}.panel-head .button{min-height:36px;padding:6px 8px;font-size:.69rem}.panel-head .button svg{display:none}.filters{grid-template-columns:1fr 1fr;padding:12px}.filters select{min-width:0}.filters .search-field{grid-column:1/-1}.result-count{padding-left:12px}.cars-table,.cars-table tbody{display:block}.cars-table thead{position:absolute;width:1px;height:1px;clip-path:inset(50%);overflow:hidden}.cars-table tr{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));position:relative;border-bottom:1px solid var(--line);padding:10px 12px;gap:3px 7px}.cars-table tr:last-child{border:0}.cars-table td{padding:0;border:0;min-width:0}.cars-table td:first-child{grid-column:1/-1;padding-right:42px;margin-bottom:5px}.cars-table td[data-label]:not(:first-child)::before{content:attr(data-label);display:block;font-size:.63rem;color:var(--muted);font-weight:550}.cars-table .row-actions{position:absolute;right:8px;top:8px;width:auto}.editor,.settings-grid{grid-template-columns:1fr}.editor-side{position:static}.jump-nav{display:none}.photo-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.editor-title{margin-top:11px}.empty{min-height:215px}}
@media(max-width:330px){.field-grid,.equipment{grid-template-columns:1fr}}
@media(prefers-reduced-motion:reduce){*,*::before,*::after{transition:none!important;scroll-behavior:auto!important}}
