/* Simple admin: same dark look as the store (black, white product cards, Fluxo green). */
:root{--green:#80cc49;--ink:#f2f2f2;--line:#262626;--muted:#9b9b9b;--bg:#0a0a0a;--danger:#ff6b5e;--red:#ff3d2e;--card:#141414}
body{background:var(--bg);color:var(--ink)}
:focus-visible{outline-color:var(--green)}
button,.button{background:#161616;border-color:#333;color:var(--ink)}
button:hover,.button:hover{border-color:var(--green)}
.primary{background:var(--green);border-color:var(--green);color:#0a0a0a}
.quiet{background:transparent;border-color:transparent}
input,select,textarea{background:#0f0f0f;border-color:#333;color:var(--ink)}
input::placeholder{color:#666}
.sidebar{background:#050505;border-right:1px solid #1c1c1c}
.sidebar nav a{color:#bdbdbd}
.sidebar nav a:hover{background:#171717}
.sidebar nav a[aria-current=page]{color:#0a0a0a}
.nav-number{display:none}
.sidebar nav a.nav-main{font-size:16px;font-weight:800;padding:13px 16px}
.nav-group{display:block;margin:22px 0 4px;padding:0 14px;font-size:10px;font-weight:700;letter-spacing:1.6px;text-transform:uppercase;color:#6b6b6b}
.sidebar nav a:not(.nav-main){font-size:13px;padding:8px 14px;color:#8d8d8d}
.admin-header{background:#0a0a0a;border-color:#1c1c1c}
.panel,.stat,.table-wrap{background:var(--card);border-color:var(--line)}
th{background:#101010}
td{border-color:#1f1f1f}
.tag{background:#222;color:#cfcfcf}.tag.green{background:#1d3311;color:#a6e27a}.tag.amber{background:#3a2d0c;color:#f3c763}.tag.red{background:#3b1512;color:#ff9a90}
.banner{background:#16220f;border-color:#2c4320}.banner.warning{background:#2a2209;border-color:#4a3c12}
.editor{background:#111;border-color:#2a2a2a;color:var(--ink)}
.editor>header{background:#111;border-color:#222}
.form-actions{border-color:#222}
.sticky-actions{background:#0a0a0af2;border-color:#222}
.section-form details{border-color:#2a2a2a}
.preview-image,.product-cell img{background:#f2f2f2;border-color:#2a2a2a}
.form-error{background:#3b1512;color:#ffb3ab}
#notice{background:#3b1512;color:#ffd2cd;border-color:#5a2420}
#notice.success{background:#16260d;color:#bdf09a;border-color:#2c4a1a}
.boot{color:var(--muted)}
.timeline>div{border-color:#222}

/* Catalog */
.cat-head{display:flex;justify-content:space-between;align-items:flex-end;gap:16px;margin-bottom:20px}
.cat-head h1{font:800 italic 38px/1 Barlow,sans-serif;letter-spacing:-.5px;text-transform:uppercase}
.cat-head h1 span{color:var(--green)}
.cat-head p{margin-top:8px;color:var(--muted);font-size:14px}
.cat-new{min-height:48px;padding:0 22px;border-radius:999px;font-size:14px}
.cat-tools{display:grid;gap:10px;margin-bottom:8px}
#cat-search{max-width:460px;min-height:46px;border-radius:14px;padding:0 16px;font-size:15px}
.cat-chips{display:flex;flex-wrap:wrap;gap:8px}
.cat-chips button{border-radius:999px;padding:9px 18px;font-weight:800;font-size:13px;letter-spacing:.4px}
.cat-chips.small button{padding:7px 14px;font-size:12px;font-weight:700;color:#bdbdbd}
.cat-chips button[aria-pressed=true]{background:var(--green);border-color:var(--green);color:#0a0a0a}
.cat-count{margin:12px 0;color:var(--muted);font-size:13px}
.cat-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(210px,1fr));gap:18px}
.cat-card{display:flex;flex-direction:column;min-width:0}
.cat-photo{position:relative;display:block;padding:0;border:0;border-radius:22px;overflow:hidden;background:#f2f2f2;aspect-ratio:1}
.cat-photo img{width:100%;height:100%;object-fit:cover;display:block;transition:transform .25s}
.cat-photo:hover img{transform:scale(1.04)}
.cat-card.is-hidden .cat-photo img{opacity:.35;filter:grayscale(1)}
.cat-card.is-clearance .cat-photo{box-shadow:0 0 0 3px var(--red)}
.cat-badge{position:absolute;left:10px;top:10px;padding:5px 11px;border-radius:999px;font-size:10px;font-weight:800;letter-spacing:1px;text-transform:uppercase}
.hidden-badge{background:#0a0a0a;color:#fff}
.clearance-badge{background:var(--red);color:#fff}
.cat-body{padding:10px 4px 0;display:flex;flex-direction:column;gap:4px;flex:1}
.cat-brand{font-size:10px;font-weight:800;letter-spacing:1.4px;text-transform:uppercase;color:var(--muted)}
.cat-body h3{font:800 italic 16px/1.2 Barlow,sans-serif;text-transform:uppercase}
.cat-price{display:flex;align-items:baseline;gap:8px}
.cat-price strong{font:800 italic 20px/1 Barlow,sans-serif;color:var(--green)}
.cat-price strong.red{color:var(--red)}
.cat-price s{font-size:12px;color:#6d6d6d}
.cat-sizes{display:flex;flex-wrap:wrap;gap:4px;margin-top:4px}
.cat-sizes span{font-size:11px;font-weight:700;padding:3px 7px;border:1px solid #333;border-radius:7px;color:#d6d6d6}
.cat-sizes span.out{color:#555;border-style:dashed;text-decoration:line-through}
.cat-sizes em{font-size:12px;color:#777}
.cat-foot{display:flex;justify-content:space-between;align-items:center;gap:8px;margin-top:auto;padding-top:10px}
.cat-edit{padding:7px 14px;border-radius:999px;font-size:12px;font-weight:800}
.cat-empty{grid-column:1/-1;padding:50px 0;text-align:center;color:var(--muted)}
.switch{display:inline-flex;align-items:center;gap:8px;font-size:12px;font-weight:700;cursor:pointer;user-select:none}
.switch input{position:absolute;opacity:0;width:1px;height:1px}
.switch span{position:relative;width:38px;height:22px;border-radius:99px;background:#333;transition:background .15s;flex:none}
.switch span::after{content:"";position:absolute;left:3px;top:3px;width:16px;height:16px;border-radius:50%;background:#fff;transition:transform .15s}
.switch input:checked+span{background:var(--green)}
.switch input:checked+span::after{transform:translateX(16px)}
.switch input:focus-visible+span{outline:3px solid var(--green);outline-offset:2px}
.switch input:disabled+span{opacity:.5}
.switch.big{font-size:14px;margin-top:6px}
.switch.big span{width:46px;height:26px}.switch.big span::after{width:20px;height:20px}.switch.big input:checked+span::after{transform:translateX(20px)}

/* Simple product editor */
#editor.simple-editor{width:min(980px,calc(100% - 24px))}
.sp-grid{display:grid;grid-template-columns:minmax(0,.95fr) minmax(0,1.05fr);gap:26px}
.sp-photos{display:grid;gap:10px;align-content:start}
.sp-extra{display:grid;grid-template-columns:repeat(3,1fr);gap:10px}
.sp-photo{position:relative;aspect-ratio:1;border-radius:18px;overflow:hidden;background:#f2f2f2;display:grid;place-items:center}
.sp-photo img{width:100%;height:100%;object-fit:cover}
.sp-photo-empty{font-size:12px;font-weight:700;color:#777}
.sp-upload{position:absolute;right:8px;bottom:8px;display:inline-block;padding:7px 13px;border-radius:999px;background:#0a0a0ad9;color:#fff;font-size:12px;font-weight:800;cursor:pointer}
.sp-photo:not(.main) .sp-upload{padding:5px 9px;font-size:10px;right:6px;bottom:6px}
.sp-upload input{position:absolute;opacity:0;width:1px;height:1px}
.sp-clear{position:absolute;right:6px;top:6px;width:26px;height:26px;min-height:0;padding:0;border-radius:50%;background:#0a0a0ad9;color:#fff;border:0;font-size:12px;justify-content:center}
.sp-fields{display:grid;gap:14px;align-content:start}
.sp-fields label{font-size:12px;color:#bdbdbd}
.sp-field{display:grid;gap:7px}
.sp-field>span{font-size:12px;font-weight:600;color:#bdbdbd}
.sp-chips{display:flex;flex-wrap:wrap;gap:6px}
.chip{display:inline-flex;cursor:pointer}
.chip input{position:absolute;opacity:0;width:1px;height:1px}
.chip span{padding:8px 15px;border:1px solid #333;border-radius:999px;font-size:13px;font-weight:800;color:#cfcfcf}
.chip input:checked+span{background:var(--green);border-color:var(--green);color:#0a0a0a}
.chip input:focus-visible+span{outline:3px solid var(--green);outline-offset:2px}
.sp-prices{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px}
.sp-clearance input{border-color:#5a2420}
.sp-clearance input:not(:placeholder-shown){border-color:var(--red);color:#ff8f86}
.sp-sizes{margin-top:24px;padding-top:20px;border-top:1px solid #222}
.sp-sizes-head{display:flex;align-items:baseline;gap:14px;flex-wrap:wrap;margin-bottom:12px}
.sp-sizes-head h3{margin:0;font:800 italic 20px Barlow;text-transform:uppercase}
.sp-sizes-head p{font-size:13px;color:var(--muted)}
.sp-size-list{display:grid;grid-template-columns:repeat(auto-fill,minmax(86px,1fr));gap:8px}
.sp-size-list em{grid-column:1/-1;color:#777;font-size:13px}
.size-chip{display:grid;justify-items:center;gap:2px;padding:10px 6px;min-height:58px;border-radius:14px;border:1px solid var(--green);background:#13200c;color:#fff;font-size:18px;font-weight:800}
.size-chip small{font-size:10px;font-weight:700;color:#a6e27a;letter-spacing:.3px}
.size-chip.out{border:1px dashed #3a3a3a;background:transparent;color:#5c5c5c;text-decoration:line-through}
.size-chip.out small{color:#ff8f86;text-decoration:none}
.sp-add-size{display:flex;gap:8px;margin-top:12px;max-width:420px}
.sp-add-size input{margin:0}
.sp-add-size button{white-space:nowrap}

@media(max-width:760px){
 .sidebar{border-right:0;border-bottom:1px solid #1c1c1c}
 .nav-group{display:none}
 .sidebar nav a.nav-main{font-size:13px;padding:9px 14px}
 .cat-head{align-items:flex-start;flex-direction:column}
 .cat-head h1{font-size:30px}
 .cat-new{width:100%}
 #cat-search{max-width:none}
 .cat-chips{flex-wrap:nowrap;overflow-x:auto;scrollbar-width:none;margin-right:-16px;padding-right:16px}
 .cat-chips button{flex:none}
 .cat-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}
 .cat-photo{border-radius:16px}
 .cat-body h3{font-size:14px}
 .cat-foot{flex-wrap:wrap}
 .sp-grid{grid-template-columns:1fr;gap:18px}
 .sp-prices{grid-template-columns:1fr 1fr}
 .sp-clearance{grid-column:1/-1}
 #editor.simple-editor{width:calc(100% - 12px);max-height:calc(100dvh - 12px)}
 .editor>div{padding:16px}
}
.cat-off{margin-left:auto;padding:2px 8px;border-radius:999px;background:var(--green);color:#0a0a0a;font-size:11px;font-weight:900;font-style:normal}
.cat-off.red{background:var(--red);color:#fff}
.sp-off{font-size:13px;color:var(--muted);margin-top:-4px}
.sp-off b{color:var(--green);font-size:15px}.sp-off b.red{color:var(--red)}
/* Size grid: dashed = hidden, grey = available, red = sold out. "Ocultar" appears on hover (always on touch screens). */
.size-legend{display:flex;gap:14px;margin:-4px 0 12px;font-size:12px;color:var(--muted)}
.size-legend span::before{content:"";display:inline-block;width:12px;height:12px;border-radius:4px;margin-right:6px;vertical-align:-2px;border:1px solid #444;background:#1c1c1c}
.size-legend .out::before{background:#3a1512;border-color:var(--red)}
.size-legend .hidden::before{background:transparent;border-style:dashed}
.size-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(70px,1fr));gap:9px}
.size-cell{position:relative}
.size-main{width:100%;min-height:56px;justify-content:center;border-radius:14px;font-size:16px;font-weight:800;background:#1b1b1b;border:1px solid #3a3a3a;color:#e6e6e6}
.size-cell.out .size-main{background:#3a1512;border-color:var(--red);color:#ff6b5e}
.size-cell.hidden .size-main{background:transparent;border:1px dashed #2f2f2f;color:#4f4f4f}
.size-cell.hidden .size-main:hover{color:#bbb;border-color:#666}
.size-hide{position:absolute;left:50%;top:-12px;translate:-50% 0;min-height:0;padding:4px 9px;border-radius:999px;font-size:10px;font-weight:800;background:#000;border:1px solid #444;color:#fff;opacity:0;pointer-events:none;transition:opacity .12s;z-index:2}
.size-cell:hover .size-hide,.size-hide:focus-visible{opacity:1;pointer-events:auto}
@media(hover:none){.size-hide{opacity:1;pointer-events:auto;top:auto;bottom:-9px;padding:2px 7px;font-size:9px}.size-grid{row-gap:16px}}
.sp-sizes-head .red{color:var(--red)}
/* Photo slot actions: upload a file or paste a link. */
.sp-photo-actions{position:absolute;right:8px;bottom:8px;display:flex;gap:6px}
.sp-photo-actions .sp-upload{position:static}
.sp-link{min-height:0;padding:7px 13px;border-radius:999px;background:#0a0a0ad9;color:#fff;border:0;font-size:12px;font-weight:800}
.sp-photo:not(.main) .sp-photo-actions{right:6px;bottom:6px;gap:4px}
.sp-photo:not(.main) .sp-link{padding:5px 8px;font-size:10px}
.sp-search{display:grid;justify-items:center;gap:2px;width:100%;min-height:52px;border-radius:16px;border:1px dashed var(--green);background:#13200c;color:#d9f5c4;font-weight:800;font-size:14px}
.sp-search small{font-size:11px;font-weight:600;color:#9cc47e}
.sp-search:hover{background:#1a2c10}
.sp-find{background:#1d3311e6!important;color:#c9f0a8!important}
.sp-photo:not(.main) .sp-photo-actions{left:6px;right:6px;flex-wrap:wrap;justify-content:flex-end}
.sp-photo:not(.main) .sp-find{font-size:10px}
/* Small photo slots: icon-only actions so the photo stays visible. */
.sp-photo:not(.main) .sp-photo-actions{left:auto;right:6px;bottom:6px;flex-wrap:nowrap;gap:4px}
.sp-photo:not(.main) .sp-photo-actions>*{font-size:0!important;width:30px;height:30px;padding:0!important;border-radius:50%;display:grid;place-items:center}
.sp-photo:not(.main) .sp-find::before{content:"🔍";font-size:13px}
.sp-photo:not(.main) .sp-upload::before{content:"⬆";font-size:14px;color:#fff}
.sp-photo:not(.main) .sp-link:not(.sp-find)::before{content:"🔗";font-size:13px}
.sp-delete{margin-right:auto;background:transparent;border-color:#5a2420;color:#ff8f86}
.sp-delete:hover{background:#3b1512;border-color:var(--red);color:#fff}

/* Estadísticas */
.st-periods{margin-bottom:18px}
.st-cards{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px;margin-bottom:16px}
.st-card{background:var(--card);border:1px solid var(--line);border-radius:14px;padding:16px 18px;display:grid;gap:4px}
.st-card span{font-size:11px;font-weight:800;letter-spacing:1.4px;color:var(--muted)}
.st-card strong{font:800 italic 40px/1.05 Barlow,sans-serif;color:var(--ink)}
.st-card:nth-child(2) strong{color:var(--green)}
.st-card small{font-size:12px;color:var(--muted)}
.st-panel{background:var(--card);border:1px solid var(--line);border-radius:14px;padding:18px;margin-bottom:16px;min-width:0}
.st-panel h2{font-size:13px;font-weight:800;letter-spacing:1.2px;text-transform:uppercase;margin:0 0 14px}
.st-panel h2.st-sub{margin-top:22px}
.st-two{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:0 16px}
.st-chart{display:block;width:100%;height:180px}
.st-chart .st-people{fill:var(--green)}
.st-chart .st-wa{fill:#f2f2f2}
.st-chart g:hover rect{opacity:.8}
.st-ticks{display:flex;justify-content:space-around;margin-top:6px;font-size:11px;color:var(--muted);text-transform:capitalize}
.st-ticks.spread{justify-content:space-between}
.st-legend{display:flex;align-items:center;gap:6px;margin:10px 0 0;font-size:12px;color:var(--muted)}
.st-dot{width:10px;height:10px;border-radius:3px;display:inline-block;margin-left:8px}
.st-dot.people{background:var(--green);margin-left:0}.st-dot.wa{background:#f2f2f2}
.st-bars{list-style:none;margin:0;padding:0;display:grid;gap:12px}
.st-bars div{display:flex;justify-content:space-between;gap:10px;font-size:13px;margin-bottom:5px}
.st-bars b{font-weight:700;color:var(--muted);white-space:nowrap}
.st-bars i{display:block;height:8px;border-radius:99px;background:var(--green)}
.st-hours{display:flex;align-items:flex-end;gap:3px;height:90px}
.st-hours i{flex:1;background:var(--green);border-radius:3px 3px 0 0;opacity:.85}
.st-products{list-style:none;margin:0;padding:0;display:grid;gap:8px}
.st-products li{display:grid;grid-template-columns:48px 1fr auto auto;align-items:center;gap:10px;font-size:13px}
.st-products img{width:48px;height:36px;object-fit:contain;background:#f2f2f2;border-radius:6px}
.st-products span small{display:block;font-size:11px;color:var(--muted)}
.st-products b{font-size:12px;color:var(--muted);white-space:nowrap}
.st-products b.wa{color:var(--green)}
.st-table{overflow-x:auto}
.st-table table{width:100%;border-collapse:collapse;font-size:13px}
.st-table th,.st-table td{padding:9px 10px;text-align:right;border-bottom:1px solid #1f1f1f}
.st-table th:first-child,.st-table td:first-child{text-align:left;text-transform:capitalize}
.st-table td:nth-child(4){color:var(--green);font-weight:700}
.st-empty,.st-note{color:var(--muted);font-size:13px}
.st-note{margin:4px 0 30px}
@media (max-width:900px){
 .st-cards{grid-template-columns:repeat(2,minmax(0,1fr))}
 .st-two{grid-template-columns:1fr}
 .st-card strong{font-size:32px}
 .st-products li{grid-template-columns:40px 1fr auto}
 .st-products li b:last-child{grid-column:2/4;justify-self:start;margin-top:-6px}
 .st-table table{font-size:12px}
 .st-table th,.st-table td{padding:8px 5px;white-space:nowrap}
 .st-table th{font-size:9px}
}

/* Reorder photos by dragging one onto another. */
.simple-product .sp-photo img{cursor:grab;-webkit-user-select:none;user-select:none;-webkit-touch-callout:none}
.sp-photo.drag-from{opacity:.35}
.sp-photo.drag-over{outline:3px solid var(--green);outline-offset:-3px}
.sp-drag-ghost{position:fixed;left:0;top:0;width:80px;height:80px;object-fit:cover;border-radius:14px;pointer-events:none;z-index:1000;box-shadow:0 10px 30px #000a;opacity:.9}
.sp-drag-hint{margin:0;font-size:11px;color:#8a8a8a;text-align:center}

/* Stock del día */
.sk-drop{display:grid;justify-items:center;gap:6px;padding:42px 20px;border:2px dashed var(--green);border-radius:18px;background:#13200c;color:#d9f5c4;text-align:center;cursor:pointer;margin-bottom:12px}
.sk-drop:hover{background:#1a2c10}
.sk-drop input{position:absolute;width:1px;height:1px;opacity:0}
.sk-drop strong{font:800 italic 26px/1.1 Barlow,sans-serif;text-transform:uppercase}
.sk-drop span{font-size:13px;color:#9cc47e}
.sk-drop.busy{opacity:.6;cursor:wait}
.sk-last{color:var(--muted);font-size:13px;margin:0 0 18px}
.sk-file{display:flex;justify-content:space-between;align-items:center;gap:16px;flex-wrap:wrap}
.sk-file>div:first-child{display:grid;gap:3px;min-width:0}
.sk-file b{overflow-wrap:anywhere}
.sk-file small{color:var(--muted);font-size:12px}
.sk-label{font-size:11px;font-weight:800;letter-spacing:1.4px;color:var(--muted)}
.sk-actions{display:flex;gap:8px}
.sk-warn,.sk-ok{padding:12px 16px;border-radius:12px;margin:0 0 16px;font-size:14px}
.sk-warn{background:#3b1512;color:#ffb4ad;border:1px solid #5a2420}
.sk-ok{background:#13200c;color:#c9f0a8;border:1px solid #2c4a1a}
.st-card.red strong{color:var(--red)}
.sk-cards .st-card:nth-child(2) strong{color:var(--green)}
.sk-section summary{display:flex;justify-content:space-between;align-items:center;cursor:pointer;list-style:none}
.sk-section summary::-webkit-details-marker{display:none}
.sk-section summary h2{margin:0;flex:1}
.sk-section summary b{font-size:13px;color:var(--muted)}
.sk-section summary::after{content:"▾";margin-left:10px;color:var(--muted)}
.sk-section[open] summary{margin-bottom:14px}
.sk-section[open] summary::after{content:"▴"}
.sk-note{font-size:13px;color:var(--muted);margin:0 0 12px}
.sk-shoes{list-style:none;margin:0;padding:0;display:grid;gap:10px}
.sk-shoes li{display:grid;grid-template-columns:52px minmax(140px,1fr) 2fr;align-items:center;gap:12px;font-size:13px}
.sk-shoes img{width:52px;height:40px;object-fit:contain;background:#f2f2f2;border-radius:8px}
.sk-shoes span b{display:block}
.sk-shoes small{font-size:11px;color:var(--muted)}
.sk-sizes{display:flex;flex-wrap:wrap;gap:6px}
.sk-sizes i{font-style:normal;font-weight:800;font-size:12px;padding:4px 9px;border-radius:999px;background:#1f1f1f;border:1px solid var(--line);white-space:nowrap}
.sk-sizes em{font-style:normal;font-weight:600;color:var(--muted)}
@media(max-width:760px){
 .sk-shoes li{grid-template-columns:44px 1fr}
 .sk-sizes{grid-column:1/-1}
 .sk-actions{width:100%}.sk-actions button{flex:1}
}
/* Mi web */
.pb-list,.gt-list{list-style:none;margin:14px 0;padding:0;counter-reset:pb}
.pb-row{display:grid;grid-template-columns:auto 220px 1fr auto;align-items:center;gap:14px;padding:12px;border:1px solid var(--line);border-radius:14px;background:#0f0f0f;margin-bottom:10px;counter-increment:pb}
.pb-row::before{content:counter(pb);width:28px;height:28px;border-radius:50%;background:var(--green);color:#0a0a0a;font-weight:800;display:grid;place-items:center}
.pb-row>img{width:220px;aspect-ratio:16/9;object-fit:cover;border-radius:10px;background:#1a1a1a}
.pb-fields{display:grid;gap:8px;min-width:0}
.pb-fields label{display:grid;gap:5px;font-size:12px;color:var(--muted)}
.pb-fields label[hidden]{display:none}
.pb-tools{display:flex;gap:6px}
.pb-tools button{width:38px;height:38px;padding:0;border-radius:10px;font-size:16px}
.gt-list{display:grid;grid-template-columns:repeat(auto-fill,minmax(130px,1fr));gap:10px}
.gt-item{position:relative;border-radius:12px;overflow:hidden;background:#1a1a1a;counter-increment:pb}
.gt-item::before{content:counter(pb);position:absolute;top:8px;left:8px;width:24px;height:24px;border-radius:50%;background:var(--green);color:#0a0a0a;font-weight:800;font-size:12px;display:grid;place-items:center}
.gt-item img{display:block;width:100%;aspect-ratio:3/4;object-fit:cover}
.gt-item .pb-tools{position:absolute;left:0;right:0;bottom:0;justify-content:center;padding:8px;background:linear-gradient(transparent,#000c)}
.gt-item .pb-tools button{width:34px;height:34px;background:#000a}
.pb-add{display:inline-flex;align-items:center;justify-content:center;min-height:44px;padding:0 18px;border:2px dashed var(--green);border-radius:12px;color:#d9f5c4;background:#13200c;font-weight:700;cursor:pointer;position:relative}
.pb-add:hover{background:#1a2c10}
.pb-add.busy{opacity:.7;pointer-events:none}
.pb-add input{position:absolute;width:1px;height:1px;opacity:0}
@media(max-width:760px){
 .pb-row{grid-template-columns:auto 1fr;gap:10px}
 .pb-row>img{width:100%;grid-column:2}
 .pb-fields,.pb-row .pb-tools{grid-column:1/-1}
 .pb-row .pb-tools{justify-content:flex-end}
 .gt-list{grid-template-columns:repeat(2,1fr)}
}
.mw-pending{display:flex;flex-wrap:wrap;align-items:center;gap:10px;padding:14px 16px;margin-bottom:14px;border:1px solid #6b5313;background:#2a210a;border-radius:14px;color:#f3d98a}
.mw-pending span{flex:1;min-width:220px}
.mw-sec{background:var(--card);border:1px solid var(--line);border-radius:18px;margin-bottom:12px;overflow:hidden}
.mw-sec>summary{display:flex;align-items:center;gap:14px;padding:18px 20px;cursor:pointer;list-style:none}
.mw-sec>summary::-webkit-details-marker{display:none}
.mw-sec>summary::after{content:"";width:9px;height:9px;border-right:2px solid var(--muted);border-bottom:2px solid var(--muted);transform:rotate(45deg);margin:0 4px 4px 0;transition:transform .15s;flex:none}
.mw-sec[open]>summary::after{transform:rotate(-135deg);margin:4px 4px 0 0}
.mw-sec>summary:hover{background:#181818}
.mw-sec>summary>span{flex:1;min-width:0}
.mw-sec h2{margin:0;font-size:18px}
.mw-sec>summary p{margin:3px 0 0;color:var(--muted);font-size:13px}
.mw-count{font-size:12px;font-weight:700;color:#cfe9bb;background:#1d3311;border-radius:99px;padding:5px 10px;white-space:nowrap}
.mw-body{padding:4px 20px 22px;border-top:1px solid var(--line)}
.mw-help{color:var(--muted);font-size:13px;margin:14px 0 4px}
.mw-sub{font-size:12px;letter-spacing:1.2px;text-transform:uppercase;color:var(--green);margin:22px 0 10px}
.mw-grid{display:grid;grid-template-columns:1fr 1fr;gap:12px}
.mw-grid.three{grid-template-columns:repeat(3,1fr)}
.mw-grid.one{grid-template-columns:1fr}
.mw-grid label,.mw-card label,.mw-brand label:not(.switch),.mw-color label{font-size:12px;color:#bdbdbd}
.mw-wide{grid-column:1/-1}
.mw-card{display:grid;gap:10px;padding:12px;border:1px solid var(--line);border-radius:14px;background:#0f0f0f}
.mw-brands{display:grid;grid-template-columns:repeat(4,1fr);gap:12px;margin-top:12px}
.mw-brand{display:grid;gap:10px;align-content:start;padding:14px;border:1px solid var(--line);border-radius:14px;background:#0f0f0f}
.mw-brand .switch{font-size:15px}
.mw-photo{display:grid;gap:8px}
.mw-photo img{width:100%;aspect-ratio:2/1;object-fit:contain;background:#1a1a1a;border-radius:10px}
.mw-photo.wide img{aspect-ratio:4/3;object-fit:cover}
.mw-file{display:flex;align-items:center;justify-content:center;min-height:38px;border:1px solid #333;border-radius:10px;background:#161616;font-size:13px;font-weight:700;color:var(--ink);cursor:pointer;position:relative}
.mw-file:hover{border-color:var(--green)}
.mw-file.busy{opacity:.7;pointer-events:none}
.mw-file input{position:absolute;width:1px;height:1px;opacity:0}
.mw-store{display:grid;grid-template-columns:minmax(220px,340px) 1fr;gap:18px;margin-top:16px;align-items:start}
.mw-phone{display:flex;align-items:stretch}
.mw-phone i{display:grid;place-items:center;padding:0 12px;border:1px solid #333;border-right:0;border-radius:10px 0 0 10px;background:#161616;font-style:normal;color:var(--muted)}
.mw-phone input{border-radius:0 10px 10px 0;flex:1;min-width:0}
.mw-color{display:flex;align-items:end;gap:12px;margin-top:16px}
.mw-color input[type=color]{width:80px;height:42px;padding:3px}
.mw-feats{list-style:none;margin:12px 0;padding:0;counter-reset:pb}
.mw-feat{display:grid;grid-template-columns:auto 52px 1fr auto;align-items:center;gap:12px;padding:8px 10px;border:1px solid var(--line);border-radius:12px;background:#0f0f0f;margin-bottom:8px;counter-increment:pb}
.mw-feat::before{content:counter(pb);width:24px;height:24px;border-radius:50%;background:var(--green);color:#0a0a0a;font-weight:800;font-size:12px;display:grid;place-items:center}
.mw-feat img{width:52px;height:52px;object-fit:contain;background:#fff;border-radius:8px}
.mw-feat span{display:grid;min-width:0}
.mw-feat small{color:var(--muted)}
.mw-feat .pb-tools button{width:34px;height:34px}
[data-mw-add-featured]{max-width:420px;width:100%}
.mw-versions{list-style:none;margin:12px 0 0;padding:0;display:grid;gap:8px}
.mw-versions li{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:10px 12px;border:1px solid var(--line);border-radius:12px}
.mw-versions span{display:grid}
.mw-versions small{color:var(--muted)}
.mw-history{margin-top:22px}
.mw-actions{margin-top:18px}
.mw-frame{width:100%;height:70vh;border:1px solid #333;border-radius:12px;margin-top:12px;background:#000}
@media(max-width:1100px){.mw-brands{grid-template-columns:repeat(2,1fr)}}
@media(max-width:760px){
 .mw-sec>summary{padding:16px}
 .mw-body{padding:4px 14px 18px}
 .mw-grid,.mw-grid.three,.mw-store,.mw-brands{grid-template-columns:1fr}
 .mw-actions .actions{flex:1;display:grid;grid-template-columns:1fr 1fr;gap:8px}
 .mw-actions #mw-state{display:none}
}
