:root{--yellow:#ffd400;--ink:#0b0d0f;--panel:#14171a;--line:#2b3035;--muted:#9ba3aa;--paper:#f5f5f1;--danger:#ff5b5b;font-family:Inter,ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;color-scheme:dark}*{box-sizing:border-box}body{margin:0;background:var(--ink);color:#fff}.brand{display:flex;align-items:center;gap:12px}.brand img{width:44px;height:44px;border-radius:50%;object-fit:cover}.brand div{display:grid;line-height:1}.brand strong{font-size:18px;letter-spacing:.05em}.brand span{margin-top:5px;color:var(--yellow);font-size:10px;letter-spacing:.16em}.kicker{margin:0;color:var(--yellow);font-weight:800;font-size:11px;letter-spacing:.18em}.muted{color:var(--muted)}button,a,input,textarea,select{font:inherit}.login{min-height:100vh;display:grid;place-items:center;padding:24px;background:radial-gradient(circle at 85% 15%,#343000 0,transparent 28%),linear-gradient(135deg,#070809,#111519)}.login-card{width:min(460px,100%);padding:42px;border:1px solid var(--line);border-radius:22px;background:rgba(20,23,26,.94);box-shadow:0 28px 80px #0008}.login-card .brand{margin-bottom:50px}.login-card h1{font-size:clamp(34px,7vw,54px);line-height:.98;margin:12px 0 16px}.login-card form{display:grid;gap:16px;margin:30px 0 24px}.login-card label,.section-card label{display:grid;gap:8px;color:#cbd0d4;font-size:12px;font-weight:700;letter-spacing:.03em}.login-card input,.section-card input,.section-card textarea,.section-card select,.search input{width:100%;border:1px solid var(--line);border-radius:10px;background:#0c0f11;color:#fff;padding:13px 14px;outline:none}.login-card input:focus,.section-card input:focus,.section-card textarea:focus,.section-card select:focus,.search input:focus{border-color:var(--yellow);box-shadow:0 0 0 3px #ffd40018}.login-card button,.save-all,.editor-footer button{border:0;border-radius:10px;background:var(--yellow);color:#090a0b;padding:14px 18px;font-weight:900;cursor:pointer}.login-card a{color:#c9ced2;text-decoration:none;font-size:13px}.form-error{min-height:18px;margin:0;color:#ff8585;font-size:13px}.topbar{height:72px;display:flex;align-items:center;justify-content:space-between;padding:0 24px;border-bottom:1px solid var(--line);position:sticky;top:0;background:#0b0d0ff2;backdrop-filter:blur(12px);z-index:10}.topbar-actions,.order-actions{display:flex;gap:10px;align-items:center}.topbar a,.ghost,.danger{border:1px solid var(--line);border-radius:9px;background:transparent;color:#e7eaec;padding:9px 13px;text-decoration:none;cursor:pointer;font-size:13px}.danger{border-color:#5e2b2b;color:#ff9898}.workspace{display:grid;grid-template-columns:300px minmax(0,1fr);min-height:calc(100vh - 72px)}.sidebar{border-right:1px solid var(--line);background:#101316;padding:22px 16px;position:sticky;top:72px;height:calc(100vh - 72px);display:flex;flex-direction:column}.sidebar-head{display:flex;align-items:center;justify-content:space-between;margin-bottom:16px}.sidebar-head div{display:grid;gap:4px}.sidebar-head span{color:var(--yellow);font-size:10px;letter-spacing:.18em;font-weight:800}.sidebar-head strong{font-size:18px}.sidebar-head button{width:38px;height:38px;border:0;border-radius:9px;background:var(--yellow);color:#000;font-size:25px;cursor:pointer}.search{position:relative}.search span{position:absolute;left:12px;top:9px;color:var(--muted);font-size:20px}.search input{padding-left:38px}.model-list{display:grid;gap:7px;margin:16px -4px;overflow:auto;padding:0 4px}.model-item{display:grid;grid-template-columns:44px 1fr;gap:11px;align-items:center;padding:9px;border:1px solid transparent;border-radius:11px;background:transparent;color:#fff;text-align:left;cursor:pointer}.model-item:hover{background:#191d21}.model-item.is-active{border-color:#665b00;background:#252200}.model-item img{width:44px;height:44px;border-radius:8px;object-fit:cover;background:#222}.model-item strong{display:block;font-size:13px}.model-item span{display:block;margin-top:4px;color:var(--muted);font-size:11px}.save-all{margin-top:auto}.save-note{color:#737c83;font-size:11px;line-height:1.45;text-align:center}.editor{padding:34px clamp(22px,4vw,58px) 80px;max-width:1180px;width:100%;margin:0 auto}.editor-head{display:flex;justify-content:space-between;align-items:end;gap:20px;margin-bottom:28px}.editor-head h1{margin:8px 0 0;font-size:36px}.section-card{padding:24px;margin-bottom:16px;border:1px solid var(--line);border-radius:16px;background:var(--panel)}.section-card h2{margin:0 0 20px;font-size:17px}.section-card>div:first-child p{margin:-10px 0 20px;color:var(--muted);font-size:13px}.grid{display:grid;gap:16px}.grid.two{grid-template-columns:repeat(2,minmax(0,1fr))}.grid.four{grid-template-columns:repeat(4,minmax(0,1fr))}.span-2{grid-column:span 2}.section-card textarea{resize:vertical;line-height:1.5}.media-layout{display:grid;grid-template-columns:220px 1fr;gap:20px}.preview{aspect-ratio:4/3;border-radius:12px;overflow:hidden;background:#090b0d;border:1px solid var(--line)}.preview img{width:100%;height:100%;object-fit:cover}.media-fields{display:grid;gap:15px}.upload input{position:absolute;opacity:0;pointer-events:none}.upload span{display:block;border:1px dashed #596168;border-radius:10px;padding:13px;text-align:center;cursor:pointer}.editor-footer{display:flex;align-items:center;justify-content:space-between;gap:18px;margin-top:22px}.editor-footer span{color:var(--muted);font-size:13px}.toast{position:fixed;right:22px;bottom:22px;max-width:380px;padding:15px 18px;border-radius:12px;background:#fff;color:#111;box-shadow:0 18px 55px #0009;transform:translateY(140%);opacity:0;transition:.25s;z-index:30;font-weight:700}.toast.is-visible{transform:none;opacity:1}.toast.is-error{background:#ff7272;color:#210707}@media(max-width:980px){.workspace{grid-template-columns:1fr}.sidebar{position:static;height:auto;border-right:0;border-bottom:1px solid var(--line)}.model-list{grid-template-columns:repeat(2,minmax(0,1fr));max-height:280px}.save-all{margin-top:6px}.grid.four{grid-template-columns:repeat(2,minmax(0,1fr))}}@media(max-width:650px){.topbar{padding:0 14px}.topbar .brand span{display:none}.workspace{display:block}.editor{padding:24px 14px 70px}.editor-head{display:grid;align-items:start}.order-actions{flex-wrap:wrap}.grid.two,.grid.four,.media-layout{grid-template-columns:1fr}.span-2{grid-column:auto}.model-list{grid-template-columns:1fr}.login-card{padding:30px 22px}.editor-footer{align-items:stretch;flex-direction:column}.editor-footer button{width:100%}}
:where([hidden]){display:none!important}
.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}
.session-loading,.noscript{min-height:100svh;display:grid;place-items:center;background:#f7f7f7;color:#222;font:500 15px system-ui,sans-serif;margin:0}
button:disabled{opacity:.5;cursor:wait}
button:focus-visible,a:focus-visible,summary:focus-visible{outline:3px solid #ffd400;outline-offset:3px}
.cover-preview{margin:0;min-width:0}
.cover-preview figcaption{color:#9ba3aa;font-size:12px;line-height:1.5;margin-top:9px}
.cover-preview .preview img{object-fit:contain}
.photo-gallery{display:grid;grid-template-columns:repeat(auto-fill,minmax(120px,1fr));gap:12px}
.photo-tile{border:1px solid #2b3035;background:#0c0f11;border-radius:10px;overflow:hidden;min-width:0}
.photo-tile>img{display:block;width:100%;aspect-ratio:4/3;object-fit:contain;background:#080a0c}
.photo-tile p{font-size:11px;margin:8px 9px;color:#cbd0d4}
.photo-tile:first-child p{color:#ffd400;font-weight:700}
.photo-actions{display:flex;gap:4px;padding:0 6px 8px}
.photo-actions button{border:1px solid #384049;background:#1b2025;color:#fff;border-radius:5px;min-height:32px;padding:4px 7px;cursor:pointer;font-size:12px}
.photo-actions button:last-child{margin-left:auto;color:#ff9898}
.photo-actions button:disabled{cursor:default}
.photo-empty,.list-empty{margin:0;color:#9ba3aa;font-size:13px;line-height:1.5}
.photo-links{border-top:1px solid #2b3035;padding-top:14px}
.photo-links summary{font-size:12px;color:#cbd0d4;cursor:pointer;margin-bottom:12px}
.photo-links label+label{margin-top:12px}
.photo-links p{color:#9ba3aa;font-size:11px;line-height:1.5;margin:10px 0 0}
.upload{position:relative}
.upload:focus-within span{outline:3px solid #ffd400;outline-offset:3px}
.upload input:disabled+span{opacity:.5;cursor:wait}
.model-item>span{min-width:0}
.model-item strong{overflow-wrap:anywhere}
.editor-head h1{overflow-wrap:anywhere}
@media(max-width:650px){.photo-gallery{grid-template-columns:repeat(2,minmax(0,1fr))}.topbar .brand strong{font-size:15px}.topbar-actions{gap:6px}.topbar-actions a,.topbar-actions button{padding:8px;font-size:12px}.section-card{padding:18px}.cover-preview{max-width:320px;width:100%;margin:0 auto}}

/* Identidade oficial Mult Bikes e acabamento do painel. */
:root{--yellow:#fff24c;--yellow-soft:rgba(255,242,76,.12);--yellow-line:rgba(255,242,76,.55);--display:"Saira Condensed","Arial Narrow",sans-serif}
.login-card input:focus,.section-card input:focus,.section-card textarea:focus,.section-card select:focus,.search input:focus{border-color:var(--yellow);box-shadow:0 0 0 3px rgba(255,242,76,.16)}
button:focus-visible,a:focus-visible,summary:focus-visible{outline-color:var(--yellow)}
.photo-tile:first-child p{color:var(--yellow)}
.upload:focus-within span{outline-color:var(--yellow)}
.model-item.is-active{border-color:var(--yellow-line);background:var(--yellow-soft)}
.model-item img{object-fit:contain;background:#090a0b}
.editor-head h1,.section-card h2{font-family:var(--display);font-style:italic;font-weight:900;letter-spacing:.01em;text-transform:uppercase}
.editor-head h1{font-size:42px;line-height:1}
.section-card h2{font-size:21px}
.save-all,.editor-footer button,.sidebar-head button{box-shadow:4px 4px 0 rgba(255,242,76,.16)}
.save-all:hover,.editor-footer button:hover,.sidebar-head button:hover{background:#fff78a}
#dirty-label{display:inline-flex;align-items:center;gap:8px}
#dirty-label::before{width:8px;height:8px;border-radius:50%;background:#7b848c;content:""}
#dirty-label[data-dirty="true"]{color:var(--yellow);font-weight:800}
#dirty-label[data-dirty="true"]::before{background:var(--yellow);box-shadow:0 0 0 4px rgba(255,242,76,.13)}
#dirty-label[data-dirty="false"]::before{background:#42d17d}
