/* PAINEL ADMINISTRATIVO */
.adm { display: grid; grid-template-columns: 248px 1fr; min-height: 100vh; position: relative; z-index: 1; }
.adm-side { position: sticky; top: 0; height: 100vh; border-right: 1px solid var(--border); background: var(--background); padding: 20px 14px; display: flex; flex-direction: column; gap: 22px; }
.adm-brand { display: flex; align-items: center; gap: 10px; padding: 0 6px; }
.adm-brand img { width: 40px; height: 40px; object-fit: contain; }
.adm-brand b { display: block; font-family: var(--font-display); font-size: 15px; }
.adm-brand small { display: block; font-family: var(--font-mono); font-size: 10px; letter-spacing: .12em; text-transform: uppercase; color: var(--muted-foreground); }
.adm-nav-label { font-family: var(--font-mono); font-size: 10px; letter-spacing: .14em; text-transform: uppercase; color: var(--muted-foreground); padding: 0 8px; margin-bottom: 6px; }
.adm-nav { display: grid; gap: 4px; }
.adm-nav button { display: flex; align-items: center; gap: 10px; height: 40px; padding: 0 12px; border-radius: 8px; font-weight: 600; font-size: 14px; color: #cfc9bf; text-align: left; }
.adm-nav button:hover { background: var(--surface-2); color: var(--foreground); }
.adm-nav button.on { background: color-mix(in srgb, var(--primary) 12%, transparent); color: var(--primary); box-shadow: inset 2px 0 0 var(--primary); }
.adm-nav .count { margin-left: auto; font-family: var(--font-mono); font-size: 11px; padding: 1px 7px; border-radius: 99px; background: var(--surface-3); color: var(--foreground); }
.adm-info { margin-top: auto; padding: 12px; border-radius: 10px; border: 1px solid var(--border); background: var(--card); font-size: 12px; color: var(--muted-foreground); display: grid; gap: 8px; }
.adm-info b { color: var(--foreground); font-size: 12.5px; display: flex; align-items: center; gap: 6px; }
.live { width: 8px; height: 8px; border-radius: 99px; background: var(--primary); box-shadow: 0 0 10px var(--primary); animation: pulse 1.6s infinite; display: inline-block; }
.live.off { background: #e5a50a; box-shadow: 0 0 10px #e5a50a; }
@keyframes pulse { 50% { opacity: .35; } }
.adm-main { min-width: 0; display: flex; flex-direction: column; }
.adm-top { position: sticky; top: 0; z-index: 10; display: flex; align-items: center; gap: 12px; padding: 14px 28px; border-bottom: 1px solid var(--border); background: color-mix(in srgb, var(--background) 90%, transparent); backdrop-filter: blur(10px); }
.adm-top .search-sm { flex: 1; max-width: 420px; position: relative; }
.adm-top .search-sm input { width: 100%; height: 40px; border-radius: 8px; border: 1px solid var(--border); background: var(--input); padding: 0 12px 0 38px; outline: none; font-size: 14px; }
.adm-top .search-sm input:focus { border-color: var(--primary); }
.adm-top .search-sm [data-icon] { position: absolute; left: 12px; top: 50%; transform: translateY(-50%); color: var(--muted-foreground); display: grid; }
.adm-top .search-sm svg.i { width: 16px; height: 16px; }
.tb-btn { display: inline-flex; align-items: center; gap: 8px; height: 40px; padding: 0 14px; border-radius: 8px; border: 1px solid var(--border); background: var(--card); font-size: 13.5px; font-weight: 600; white-space: nowrap; }
.tb-btn:hover { border-color: var(--primary); }
.tb-btn svg.i { width: 16px; height: 16px; }
.tb-btn.on { color: var(--primary); border-color: color-mix(in srgb, var(--primary) 45%, var(--border)); }
.tb-right { margin-left: auto; display: flex; gap: 8px; align-items: center; }
.menu-btn { display: none; }
.adm-content { padding: 28px; display: grid; gap: 22px; max-width: 1280px; width: 100%; }
.adm-head small { font-family: var(--font-mono); font-size: 11px; letter-spacing: .16em; text-transform: uppercase; color: var(--primary); }
.adm-head h1 { margin: 4px 0 4px; font-family: var(--font-display); font-size: 28px; letter-spacing: -.02em; }
.adm-head p { margin: 0; color: var(--muted-foreground); font-size: 14px; }
.adm-head .last { font-family: var(--font-mono); font-size: 11px; color: var(--muted-foreground); margin-top: 6px; }
.demo-note { padding: 12px 16px; border-radius: 10px; border: 1px dashed color-mix(in srgb, var(--primary) 45%, var(--border)); background: color-mix(in srgb, var(--primary) 5%, transparent); font-size: 13px; color: #dad4ca; }
.demo-note code { font-family: var(--font-mono); color: var(--primary); font-size: 12px; }
.kpis { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.kpi { padding: 18px; border-radius: 12px; border: 1px solid var(--border); background: var(--card); position: relative; overflow: hidden; }
.kpi::after { content: ""; position: absolute; right: -40px; top: -40px; width: 120px; height: 120px; border-radius: 99px; background: radial-gradient(color-mix(in srgb, var(--primary) 18%, transparent), transparent 70%); }
.kpi .k { display: flex; align-items: center; gap: 8px; color: var(--muted-foreground); font-size: 12.5px; font-weight: 600; }
.kpi .k svg.i { width: 16px; height: 16px; color: var(--primary); }
.kpi .v { margin-top: 10px; font-family: var(--font-display); font-size: 28px; font-weight: 700; letter-spacing: -.02em; }
.kpi .s { margin-top: 4px; font-size: 12px; color: var(--muted-foreground); }
.kpi .s.up { color: var(--primary); }
.kpi .s.down { color: var(--destructive); }
.box { border-radius: 12px; border: 1px solid var(--border); background: var(--card); }
.box-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 16px 18px; border-bottom: 1px solid var(--border); flex-wrap: wrap; }
.box-head h2 { margin: 0; font-family: var(--font-display); font-size: 16px; }
.box-head p { margin: 2px 0 0; font-size: 12.5px; color: var(--muted-foreground); }
.box-body { padding: 18px; }
.two-col { display: grid; grid-template-columns: 1.6fr 1fr; gap: 14px; }
.chart { display: flex; align-items: flex-end; gap: 10px; height: 220px; padding-top: 18px; }
.bar-col { flex: 1; display: flex; flex-direction: column; align-items: center; gap: 8px; height: 100%; justify-content: flex-end; min-width: 0; }
.bar { width: 100%; max-width: 46px; border-radius: 6px 6px 2px 2px; background: linear-gradient(180deg, var(--primary), color-mix(in srgb, var(--primary) 35%, transparent)); box-shadow: 0 0 18px -4px color-mix(in srgb, var(--primary) 60%, transparent); min-height: 3px; position: relative; transition: height .4s; }
.bar.zero { background: var(--surface-3); box-shadow: none; }
.bar-val { font-family: var(--font-mono); font-size: 10.5px; color: var(--muted-foreground); white-space: nowrap; }
.bar-lbl { font-family: var(--font-mono); font-size: 10.5px; color: var(--muted-foreground); text-transform: uppercase; }
.bar-col.today .bar-lbl { color: var(--primary); }
.stats { display: grid; gap: 0; }
.stat { display: flex; justify-content: space-between; gap: 10px; padding: 11px 0; border-bottom: 1px solid var(--border); font-size: 13.5px; }
.stat:last-child { border-bottom: 0; }
.stat span { color: #c9c3b8; }
.stat b { font-family: var(--font-mono); font-size: 13px; }
.rank { display: grid; gap: 10px; }
.rank-row { display: grid; gap: 6px; }
.rank-row .row-between span { font-size: 13.5px; }
.rank-row .row-between b { font-family: var(--font-mono); font-size: 12.5px; }
.track { height: 6px; border-radius: 99px; background: var(--surface-3); overflow: hidden; }
.track i { display: block; height: 100%; border-radius: 99px; background: var(--primary); }
.muted { color: var(--muted-foreground); font-size: 13px; }
.carts { display: grid; gap: 10px; }
.cart-card { display: grid; grid-template-columns: auto 1fr auto; gap: 14px; align-items: center; padding: 14px 16px; border-radius: 10px; border: 1px solid var(--border); background: var(--surface-2); }
.cart-card.sel { border-color: color-mix(in srgb, var(--primary) 50%, var(--border)); }
.cart-card input[type=checkbox] { width: 16px; height: 16px; accent-color: var(--primary); }
.cart-card .who { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.cart-card .who b { font-family: var(--font-display); font-size: 15px; }
.cart-card .meta { margin-top: 4px; font-size: 12.5px; color: var(--muted-foreground); }
.cart-card .items { margin-top: 6px; font-size: 12.5px; color: #cfc9bf; }
.cart-card .val { text-align: right; }
.cart-card .val small { display: block; font-size: 11px; color: var(--muted-foreground); }
.cart-card .val strong { font-family: var(--font-display); font-size: 18px; color: var(--primary); }
.cart-card .acts { display: flex; gap: 8px; justify-content: flex-end; margin-top: 8px; flex-wrap: wrap; }
.tag { display: inline-flex; align-items: center; height: 22px; padding: 0 8px; border-radius: 99px; font-family: var(--font-mono); font-size: 10.5px; font-weight: 700; text-transform: uppercase; letter-spacing: .06em; }
.tag.open { background: color-mix(in srgb, var(--primary) 14%, transparent); color: var(--primary); }
.tag.aband { background: rgba(229,72,77,.14); color: #ff8a8e; }
.tag.sent { background: rgba(80,160,255,.14); color: #8cc2ff; }
.tag.seller { background: var(--surface-3); color: #cfc9bf; }
.btn-sm { height: 32px; padding: 0 12px; font-size: 12.5px; border-radius: 7px; }
.bulk { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; }
.bulk label { display: inline-flex; align-items: center; gap: 8px; font-size: 13px; cursor: pointer; }
.bulk input { accent-color: var(--primary); width: 16px; height: 16px; }
.table-wrap { overflow-x: auto; }
table.tbl { width: 100%; border-collapse: collapse; font-size: 13px; min-width: 820px; }
.tbl th { text-align: left; font-family: var(--font-mono); font-size: 10.5px; font-weight: 500; letter-spacing: .12em; text-transform: uppercase; color: var(--muted-foreground); padding: 12px 14px; border-bottom: 1px solid var(--border); white-space: nowrap; }
.tbl td { padding: 12px 14px; border-bottom: 1px solid var(--border); vertical-align: top; }
.tbl tr:hover td { background: var(--surface-2); }
.tbl td.num { font-family: var(--font-mono); white-space: nowrap; }
.tbl td.total { font-family: var(--font-display); font-weight: 700; color: var(--primary); white-space: nowrap; }
.tbl .sub { color: var(--muted-foreground); font-size: 12px; }
.empty-state { padding: 40px 16px; text-align: center; color: var(--muted-foreground); }
.empty-state svg.i { width: 34px; height: 34px; margin: 0 auto 10px; color: var(--primary); opacity: .6; }
.gate { min-height: 100vh; display: grid; place-items: center; padding: 16px; position: relative; z-index: 1; }
.gate .auth-card { text-align: center; display: grid; gap: 14px; }
.gate h1 { margin: 0; font-family: var(--font-display); font-size: 22px; }
.gate p { margin: 0; color: var(--muted-foreground); font-size: 14px; }

/* tabelas largas rolam dentro da caixa, sem empurrar a página para os lados */
.adm-content > *, #prodRoot > * { min-width: 0; }

/* ---------- PRODUTOS ---------- */
.prod-tools { display: flex; gap: 8px; flex-wrap: wrap; align-items: center; }
.sel-sm { height: 32px; width: auto; padding: 0 30px 0 10px; font-size: 12.5px; border-radius: 6px; appearance: none; -webkit-appearance: none; cursor: pointer;
  background: var(--input) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%23a39a86' stroke-width='2'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E") no-repeat right 10px center; }
table.prod-tbl { min-width: 900px; }
.prod-tbl td { vertical-align: middle; }
.prod-tbl tr.off td { opacity: .55; }
.prod-tbl tr.off td:last-child, .prod-tbl tr.off td:nth-last-child(2) { opacity: 1; }
.prod-cell { display: flex; align-items: center; gap: 12px; min-width: 240px; }
.prod-cell b { font-family: var(--font-display); font-weight: 600; font-size: 13.5px; letter-spacing: .02em; }
.thumb { width: 52px; height: 52px; border-radius: 6px; overflow: hidden; flex-shrink: 0; display: grid; place-items: center; background: #fff; border: 1px solid var(--border); color: var(--primary); }
.thumb img { width: 100%; height: 100%; object-fit: contain; }
.thumb:not(:has(img)) { background: var(--surface-3); }
.gold { color: var(--primary); font-family: var(--font-display); }
.ord { white-space: nowrap; }
.mv { width: 26px; height: 26px; border-radius: 5px; border: 1px solid var(--border); background: var(--surface-2); color: var(--primary); font-size: 10px; margin-right: 4px; }
.mv:hover:not(:disabled) { border-color: var(--primary); }
.mv:disabled { opacity: .25; cursor: default; }
.stepper { display: inline-flex; align-items: center; border: 1px solid color-mix(in srgb, var(--primary) 40%, var(--border)); border-radius: 6px; overflow: hidden; height: 32px; vertical-align: middle; margin-right: 6px; }
.stepper button { width: 28px; height: 100%; color: var(--primary); font-weight: 700; font-size: 15px; }
.stepper button:hover { background: color-mix(in srgb, var(--primary) 12%, transparent); }
.stepper input { width: 52px; height: 100%; border: 0; border-radius: 0; text-align: center; padding: 0 4px; font-weight: 600; background: var(--surface-2); }
.stepper input:focus { box-shadow: none; }
.stock-free { display: flex; align-items: center; gap: 8px; white-space: nowrap; }
.stock-ask { display: flex; align-items: center; gap: 6px; }
.stock-ask .inp { width: 92px; height: 32px; padding: 0 10px; font-size: 13px; border-color: var(--primary); }
.stock-ask .btn { height: 32px; padding: 0 12px; }
.link-btn { color: var(--primary); font-size: 12.5px; font-weight: 600; text-decoration: underline; text-underline-offset: 3px; }
.tag.low { background: rgba(229,165,10,.14); color: #f2c14e; }
.acts-cell { white-space: nowrap; text-align: right; }
.acts-cell > * { vertical-align: middle; margin-left: 6px; }
.icon-btn.sm { width: 32px; height: 32px; display: inline-grid; }
.icon-btn.sm svg.i { width: 15px; height: 15px; }
.icon-btn.danger:hover { border-color: var(--destructive); color: var(--destructive); }
.btn-danger { background: var(--destructive); color: #fff; box-shadow: none; text-shadow: none; }
.btn-danger:hover { box-shadow: 0 0 20px rgba(229,72,77,.45); }

/* ---------- BANNERS ---------- */
.bn-list { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; padding: 18px; }
.bn-card { border: 1px solid var(--border); border-radius: 8px; overflow: hidden; background: var(--surface-2); }
.bn-card.off .bn-prev { opacity: .4; filter: grayscale(.6); }
.bn-prev { position: relative; width: 100%; aspect-ratio: 16 / 7; overflow: hidden; background: #000; pointer-events: none; }
.bn-stage.banner { position: absolute; left: 0; top: 0; width: 1200px; aspect-ratio: 16 / 7 !important; transform-origin: 0 0; border: 0; border-radius: 0; box-shadow: none; }
.bn-meta { display: flex; align-items: center; gap: 10px; padding: 10px 12px; flex-wrap: wrap; }
.bn-pos { display: flex; align-items: center; gap: 2px; }
.bn-pos .muted { margin-left: 4px; font-size: 12px; }
.bn-name { flex: 1; min-width: 140px; }
.bn-name b { font-family: var(--font-display); font-size: 13.5px; font-weight: 600; letter-spacing: .03em; }
.bn-name .sub { color: var(--muted-foreground); font-size: 12px; }
.modal.pm.bn-modal { width: min(980px, 100%); }
.pm-body.bn-body { grid-template-columns: 1fr; gap: 18px; }
.bn-live .flabel { margin-bottom: 8px; }
.bn-live .bn-prev { max-width: 600px; margin: 0 auto; border-radius: 8px; border: 1px solid color-mix(in srgb, var(--primary) 35%, var(--border)); }
.bn-types { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.bn-type { display: flex; gap: 10px; align-items: flex-start; padding: 12px; border-radius: 8px; border: 1px solid var(--border); background: var(--surface-2); cursor: pointer; }
.bn-type:has(input:checked) { border-color: var(--primary); background: color-mix(in srgb, var(--primary) 8%, var(--surface-2)); }
.bn-type input { accent-color: var(--primary); margin-top: 3px; }
.bn-type b { display: block; font-size: 13.5px; }
.bn-type small { display: block; font-size: 11.5px; color: var(--muted-foreground); margin-top: 2px; }
.bn-photo { grid-template-columns: 1fr; }
.bn-drop { aspect-ratio: auto; height: 96px; }
.bn-drop .drop-txt { grid-auto-flow: row; }
.bn-modal [data-for][hidden] { display: none; }
@media (max-width: 900px) { .bn-list { grid-template-columns: 1fr; } .bn-types { grid-template-columns: 1fr; } }

/* ---------- EQUIPE ---------- */
.team-add { display: flex; gap: 10px; align-items: center; }
.team-add .input-wrap { flex: 1; max-width: 460px; }
.team-add .btn { height: 48px; padding: 0 20px; }
.team-hint { margin: 0; padding: 0 18px 18px; }
.team-add { flex-wrap: wrap; }
.team-perm { padding: 8px 12px; height: 48px; flex-shrink: 0; }
.team-perm-sm { display: inline-flex; align-items: center; gap: 8px; font-size: 12.5px; color: #cfc9bf; cursor: pointer; white-space: nowrap; }
.team-perm-sm .switch { width: 34px; height: 20px; }
.team-perm-sm .switch i::after { width: 14px; height: 14px; }
.team-perm-sm .switch input:checked + i::after { transform: translateX(14px); }
.team-list { display: grid; }
.team-row { display: flex; align-items: center; gap: 14px; padding: 14px 18px; border-top: 1px solid var(--border); }
.team-row:first-child { border-top: 0; }
.team-av { width: 38px; height: 38px; border-radius: 99px; display: grid; place-items: center; flex-shrink: 0; background: var(--gold-grad); color: var(--primary-foreground); font-family: var(--font-display); font-weight: 700; }
.team-info { flex: 1; min-width: 0; }
.team-info b { display: block; font-size: 14px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.team-info .sub { color: var(--muted-foreground); font-size: 12px; }
.team-lock { width: 32px; display: grid; place-items: center; color: var(--muted-foreground); }
.team-lock svg.i { width: 16px; height: 16px; }
.team-rm:hover { border-color: var(--destructive); color: var(--destructive); }
@media (max-width: 560px) {
  .team-add { flex-direction: column; align-items: stretch; }
  .team-add .input-wrap { max-width: none; }
  .team-row { flex-wrap: wrap; }
  .team-rm, .team-perm-sm { margin-left: 52px; }
  .team-perm-sm + .tag { margin-left: auto; }
}

/* interruptor liga/desliga */
.switch { position: relative; display: inline-block; width: 40px; height: 22px; flex-shrink: 0; cursor: pointer; }
.switch input { position: absolute; opacity: 0; width: 100%; height: 100%; margin: 0; cursor: pointer; z-index: 1; }
.switch i { position: absolute; inset: 0; border-radius: 99px; background: var(--surface-3); border: 1px solid var(--border); transition: background .2s, border-color .2s; }
.switch i::after { content: ""; position: absolute; top: 2px; left: 2px; width: 16px; height: 16px; border-radius: 99px; background: #8d8576; transition: transform .2s, background .2s; }
.switch input:checked + i { background: color-mix(in srgb, var(--primary) 28%, transparent); border-color: var(--primary); }
.switch input:checked + i::after { transform: translateX(18px); background: var(--primary-glow); box-shadow: 0 0 8px var(--primary); }
.switch input:focus-visible + i { outline: 2px solid var(--primary); outline-offset: 2px; }

/* janela de produto */
.modal.pm { width: min(860px, 100%); padding: 0; max-height: calc(100vh - 32px); display: flex; flex-direction: column; background: #0d0b08; }
.modal.pm.sm { width: min(440px, 100%); }
.pm-form { display: flex; flex-direction: column; min-height: 0; }
.pm-head { display: flex; justify-content: space-between; align-items: flex-start; gap: 12px; padding: 18px 22px; border-bottom: 1px solid var(--border); }
.pm-head small { font-family: var(--font-body); font-size: 10.5px; letter-spacing: .2em; text-transform: uppercase; color: var(--primary); }
.pm-head h3 { margin: 4px 0 0; font-family: var(--font-display); font-size: 20px; font-weight: 600; }
.pm-body { display: grid; grid-template-columns: 260px 1fr; gap: 22px; padding: 20px 22px; overflow-y: auto; }
.pm-photo { display: grid; gap: 10px; align-content: start; }
.drop { position: relative; aspect-ratio: 1; border-radius: 8px; border: 1.5px dashed color-mix(in srgb, var(--primary) 45%, var(--border)); background: var(--surface-2); cursor: pointer; overflow: hidden; display: grid; place-items: center; transition: border-color .15s, background .15s; }
.drop:hover, .drop.over, .drop:focus-visible { border-color: var(--primary); background: color-mix(in srgb, var(--primary) 6%, var(--surface-2)); outline: none; }
.drop-img { position: absolute; inset: 0; background: #fff; display: none; }
.drop-img:has(img) { display: block; }
.drop-img img { width: 100%; height: 100%; object-fit: contain; }
.drop-txt { position: relative; text-align: center; display: grid; gap: 4px; justify-items: center; padding: 12px; color: var(--muted-foreground); font-size: 12px; }
.drop-txt svg.i { width: 26px; height: 26px; color: var(--primary); }
.drop-txt b { color: var(--foreground); font-size: 13.5px; }
.drop-img:has(img) + .drop-txt { position: absolute; left: 8px; right: 8px; bottom: 8px; padding: 8px; border-radius: 6px; background: rgba(5,5,5,.82); grid-auto-flow: column; justify-content: center; align-items: center; }
.drop-img:has(img) + .drop-txt span { display: none; }
.drop-img:has(img) + .drop-txt svg.i { width: 16px; height: 16px; }
.pm-photo .link-btn { justify-self: start; color: var(--destructive); }
.pm-fields { display: grid; gap: 14px; align-content: start; }
.pm-form .field + .field { margin-top: 0; }
.pm-two { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.pm-fields .inp:disabled { opacity: .45; }
.chk { display: inline-flex !important; align-items: center; gap: 8px; cursor: pointer; }
.chk input { accent-color: var(--primary); width: 15px; height: 15px; margin: 0; }
.pm-checks { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.switch-row { display: flex; gap: 12px; align-items: center; padding: 12px; border-radius: 8px; border: 1px solid var(--border); background: var(--surface-2); cursor: pointer; }
.switch-row b { display: block; font-size: 13.5px; }
.switch-row small { display: block; font-size: 11.5px; color: var(--muted-foreground); }
.pm-foot { display: flex; justify-content: flex-end; gap: 10px; padding: 14px 22px; border-top: 1px solid var(--border); }
.pm-foot .btn { height: 40px; padding: 0 18px; }
.pm-confirm { padding: 22px; }
.pm-confirm h3 { margin: 0 0 8px; font-family: var(--font-display); font-size: 19px; }
.pm-confirm p { margin: 0 0 10px; font-size: 14px; color: #dad4ca; }
.pm-confirm .pm-foot { padding: 14px 0 0; border: 0; }

@media (max-width: 720px) {
  .pm-body { grid-template-columns: 1fr; }
  .pm-photo { grid-template-columns: 120px 1fr; align-items: start; }
  .pm-photo .drop { grid-row: span 3; }
  .drop-txt span { display: none; }
  .pm-two, .pm-checks { grid-template-columns: 1fr; }
  .prod-tools { width: 100%; }
  .prod-tools .sel-sm { flex: 1; }
}

@media (max-width: 1100px) { .kpis { grid-template-columns: repeat(2, 1fr); } .two-col { grid-template-columns: 1fr; } }
@media (max-width: 860px) {
  .adm { grid-template-columns: 1fr; }
  .adm-side { position: fixed; z-index: 50; left: 0; top: 0; width: 260px; transform: translateX(-100%); transition: transform .25s; background: #070605; }
  .adm-side.open { transform: none; box-shadow: 30px 0 60px #000; }
  .menu-btn { display: inline-flex; }
  .adm-top { padding: 12px 16px; flex-wrap: wrap; }
  .adm-top .search-sm { order: 5; flex-basis: 100%; max-width: none; }
  .tb-btn .lbl { display: none; }
  .adm-content { padding: 18px 16px; }
  .cart-card { grid-template-columns: auto 1fr; }
  .cart-card .val { grid-column: 1 / -1; text-align: left; }
  .cart-card .acts { justify-content: flex-start; }
  .chart { gap: 6px; }
  .bar-val { display: none; }
}
@media (max-width: 520px) { .kpis { grid-template-columns: 1fr 1fr; gap: 10px; } .kpi { padding: 14px; } .kpi .v { font-size: 22px; } }
