@import url('https://fonts.googleapis.com/css2?family=Barlow:wght@400;500;600;700;800&display=swap');
:root{--red:#f52332;--bg:#101012;--panel:#1a1a1f;--line:#3a3a44;--muted:#b0b0bd}*{box-sizing:border-box}body{margin:0;background:var(--bg);color:#f7f7f8;font-family:Barlow,Arial,sans-serif;font-size:16px;line-height:1.5}button,input,select,textarea{font:inherit}button,a,input,select,textarea{touch-action:manipulation}a{color:inherit;text-decoration:none}button{cursor:pointer}h1,h2,h3,p{margin:0}h1{font-size:clamp(1.8rem,4vw,2.5rem);line-height:1.15;letter-spacing:-.03em}h2{font-size:1.75rem;line-height:1.2}h3{font-size:1.125rem}button:focus-visible,a:focus-visible,input:focus-visible,textarea:focus-visible,select:focus-visible{outline:2px solid #fff;outline-offset:3px}[hidden]{display:none!important}.admin-header{display:flex;align-items:center;justify-content:space-between;padding:18px max(5%,calc((100vw - 1080px)/2));gap:24px;border-bottom:1px solid var(--line)}.admin-header img{display:block;width:200px;height:67px;object-fit:contain}.site-link{font-size:.875rem;padding:12px 20px;border:1px solid var(--line);border-radius:12px}main{max-width:1080px;margin:auto;padding:48px 24px 80px}.loading{padding:50px 0;text-align:center;color:var(--muted)}.eyebrow{font-size:.75rem;font-weight:700;letter-spacing:.14em;color:#fb858e;margin-bottom:12px}.login-card{max-width:460px;margin:25px auto 0;border:1px solid var(--line);border-radius:24px;background:var(--panel);padding:36px}.login-card>p:not(.eyebrow){color:var(--muted);margin-top:18px}.login-card form{margin-top:28px;display:grid;gap:20px}label{display:block;font-size:.875rem;font-weight:500}input:not([type=checkbox]):not([type=file]),select,textarea{display:block;width:100%;min-height:48px;margin-top:8px;border:1px solid #50505c;border-radius:12px;background:#101014;color:#fff;padding:12px 14px}input::placeholder,textarea::placeholder{color:#858591}select{color-scheme:dark}input:disabled{color:#b0b0bd;background:#25252b}input[type=checkbox]{accent-color:var(--red);width:18px;height:18px;vertical-align:middle;margin:0 10px 0 0}.password-row{position:relative}.password-row input{padding-right:80px!important}.password-row button{position:absolute;right:8px;top:8px;min-height:44px;background:none;border:0;color:#c8c8d2;font-size:.875rem}.btn{display:inline-flex;justify-content:center;align-items:center;min-height:48px;border:1px solid transparent;border-radius:14px;padding:12px 22px;color:white;font-size:.875rem;font-weight:600;gap:8px}.primary{background:var(--red)}.primary:hover{background:#d91d2c}.secondary{border-color:#555561;background:transparent}.secondary:hover{background:#2d2d36}.danger{background:transparent;border-color:#b84b54;color:#ff9ba3}.btn:disabled,button:disabled{cursor:wait;opacity:.5}.small{font-size:.875rem!important;color:var(--muted)}.form-error{color:#ff9ba3;font-size:.875rem;line-height:1.6;white-space:pre-line}.form-error:empty{display:none}.dashboard-heading{display:flex;align-items:center;justify-content:space-between;gap:24px}.dashboard-heading>div>p:last-child{font-size:.875rem;color:var(--muted);margin-top:12px}.list-toolbar{display:flex;gap:16px;margin-top:36px}.search-label{flex:1}.search-label input{margin:0!important}.list-info{display:flex;justify-content:space-between;align-items:center;margin:24px 0;color:var(--muted);font-size:.875rem}.link-btn{background:transparent;border:0;color:#f98d96;padding:10px;font-size:.875rem}.moto-list{display:grid;gap:14px}.moto-row{display:flex;align-items:center;gap:24px;padding:20px;border:1px solid var(--line);border-radius:20px;background:var(--panel)}.moto-thumb{flex:0 0 130px;width:130px;height:88px;object-fit:cover;border-radius:12px}.moto-info{flex:1;min-width:0}.moto-info h2{font-size:1.2rem;line-height:1.3}.moto-meta{display:flex;flex-wrap:wrap;gap:8px 16px;margin-top:8px;color:var(--muted);font-size:.875rem}.status{display:inline-flex;border:1px solid #555561;border-radius:999px;padding:3px 9px;font-size:.75rem;vertical-align:middle;margin-left:10px;font-weight:400;color:#ceced7}.status.hidden-status{color:#ffa3aa;border-color:#81424b}.demo-tag{font-size:.75rem;color:#d9ba7b;display:block;margin-top:7px}.empty{padding:60px 20px;text-align:center;color:var(--muted)}.empty h2{color:#fff;margin-bottom:12px}dialog{background:var(--panel);color:#f7f7f8;border:1px solid #555561;border-radius:24px;padding:0;width:min(800px,94vw);max-height:92dvh;overscroll-behavior:contain}dialog::backdrop{background:#000b;backdrop-filter:blur(6px)}body:has(dialog[open]){overflow:hidden}.editor-header{padding:28px 32px;display:flex;gap:24px;justify-content:space-between;border-bottom:1px solid var(--line)}.close{display:grid;place-content:center;flex:0 0 40px;width:40px;height:40px;background:none;border:1px solid #666671;color:white;border-radius:50%;font-size:26px}.form-section{padding:28px 32px;border-bottom:1px solid var(--line)}.form-section h3{display:flex;justify-content:space-between;align-items:center;gap:16px}.form-section h3 span{font-size:.875rem;color:var(--muted);font-weight:400}.form-section>p{font-size:.875rem;line-height:1.6;color:var(--muted);margin:12px 0 20px}.form-grid{display:grid;grid-template-columns:1fr 1fr;gap:20px;margin-top:24px}.wide{grid-column:1/-1}.photo-list{display:flex;gap:12px;overflow-x:auto;padding-bottom:12px}.photo-card{flex:0 0 126px;width:126px;position:relative}.photo-card img{display:block;width:126px;height:92px;object-fit:cover;border-radius:12px}.photo-tools{display:flex;justify-content:space-between;gap:8px;margin-top:8px}.photo-tools button{font-size:.75rem;padding:7px 5px;border:0;background:none;color:#e3e3e9;min-height:34px}.photo-tools .remove-photo{color:#ff9ba3}.cover-label{position:absolute;top:5px;left:5px;border-radius:6px;padding:3px 7px;background:#f52332;font-size:.7rem;font-weight:600}.upload-label{position:relative;display:inline-flex;align-items:center;justify-content:center;padding:12px 18px;border:1px dashed #74747e;border-radius:12px;min-height:48px;cursor:pointer}.upload-label input{position:absolute;inset:0;opacity:0;cursor:pointer;width:100%}.upload-label:focus-within{outline:2px solid white;outline-offset:3px}.publish-row{padding:24px 32px}.publish-row label{font-size:1rem}.publish-row p{font-size:.875rem;color:var(--muted);margin:12px 0 0 28px}#save-error{padding:0 32px 16px}.editor-actions{display:flex;justify-content:flex-end;gap:12px;flex-wrap:wrap;padding:24px 32px;border-top:1px solid var(--line)}#delete-moto{margin-right:auto}#admin-toast{position:fixed;bottom:24px;right:24px;z-index:10;max-width:360px;padding:18px 24px;border:1px solid #777782;border-radius:16px;background:#25252c;box-shadow:0 10px 35px #0008;font-size:.875rem}.sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}@media(max-width:600px){main{padding:28px 18px 60px}.admin-header{padding:14px 20px}.admin-header img{width:160px;height:53px}.site-link{padding:10px 14px}.login-card{padding:28px 24px;margin-top:12px}.list-toolbar{flex-direction:column;margin-top:28px}.moto-row{gap:14px;flex-wrap:wrap;padding:16px}.moto-thumb{width:90px;height:74px;flex-basis:90px}.moto-row .btn{width:100%}.moto-info h2{font-size:1rem}.status{margin-left:0;margin-top:6px}.moto-meta{gap:4px 12px}.dashboard-heading{gap:12px;align-items:flex-start}.dashboard-heading .btn{padding:10px 14px}.form-section{padding:24px 20px}.editor-header{padding:24px 20px}.form-grid{grid-template-columns:1fr;gap:18px}.wide{grid-column:auto}.publish-row{padding:24px 20px}.editor-actions{padding:20px;gap:10px}.editor-actions .btn{flex:1}#delete-moto{width:100%;flex-basis:100%;order:3;margin:4px 0 0}#save-error{padding-left:20px;padding-right:20px}.contact-picker-note{font-size:.875rem}}
.row-actions{display:flex;align-items:center;gap:12px;flex-shrink:0}.row-actions .btn{white-space:nowrap}.field-help{display:block;color:var(--muted);font-size:.75rem;line-height:1.5;margin-top:7px;font-weight:400}#delete-confirm{width:min(480px,92vw)}.delete-confirm-inner{padding:32px}.delete-confirm-inner h2{margin:14px 0 20px}.delete-confirm-inner>p:not(.eyebrow){color:var(--muted);line-height:1.65;font-size:1rem}.delete-confirm-inner strong{color:white;overflow-wrap:anywhere}.delete-confirm-inner #delete-error{color:#ff9ba3;margin-top:16px;font-size:.875rem}.delete-confirm-actions{display:flex;justify-content:flex-end;flex-wrap:wrap;gap:12px;margin-top:28px}@media(max-width:800px){.moto-row{flex-wrap:wrap}.row-actions{margin-left:auto}}@media(max-width:600px){.row-actions{width:100%;gap:12px}.moto-row .row-actions .btn{width:auto;flex:1;padding-left:12px;padding-right:12px}.delete-confirm-inner{padding:28px 24px}.delete-confirm-actions{flex-direction:column-reverse}.delete-confirm-actions .btn{width:100%}}
.success{background:#16803d;border-color:#16803d;color:#fff}.success:hover{background:#116531;border-color:#116531}.price-btn{min-width:48px;width:48px;padding:8px;font-size:1.35rem;line-height:1;font-weight:700}#price-editor{width:min(440px,92vw)}.price-editor-inner{padding:28px}.price-editor-heading{display:flex;justify-content:space-between;align-items:center;gap:16px}.price-editor-heading h2{font-size:1.5rem}#price-moto-name{color:var(--muted);font-size:1rem;margin-top:14px;overflow-wrap:anywhere}#price-form{display:grid;gap:20px;margin-top:24px}.price-editor-actions{display:flex;justify-content:flex-end;gap:12px;flex-wrap:wrap}.row-actions .price-btn{flex:0 0 48px}@media(max-width:600px){.moto-row .row-actions .price-btn{flex:0 0 48px;width:48px;padding:8px}.price-editor-inner{padding:24px}.price-editor-actions .btn{flex:1;padding-left:14px;padding-right:14px}}
