:root {
  --yellow: #ffe000;
  --blue: #1456d9;
  --green: #129447;
  --ink: #1f2937;
  --muted: #6b7280;
  --line: #e5e7eb;
  --bg: #f5f6f8;
  --surface: #fff;
  --soft-blue: #eaf1ff;
  --soft-green: #e9f8ef;
  --soft-yellow: #fff8cc;
  --danger: #dc2626;
  --shadow: 0 12px 30px rgba(31, 41, 55, .1);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; overflow-x: hidden; }
body { margin: 0; min-height: 100vh; overflow-x: hidden; font-family: Inter, "Segoe UI", Arial, sans-serif; color: var(--ink); background: var(--bg); }
button, input, select, textarea { font: inherit; }
button { cursor: pointer; }
button:disabled { cursor: not-allowed; opacity: .55; }
h1, h2, h3, p { margin: 0; }
.shell { min-height: 100vh; }
.admin-shell { background: #eef4ff; }
.user-shell { background: linear-gradient(180deg,#fff7c4 0,#f5f6f8 210px); }
.wrap { width: min(1240px, calc(100% - 28px)); margin: 0 auto; }
.topline { background: var(--yellow); border-bottom: 1px solid rgba(0,0,0,.08); }
.topline .wrap { display: flex; justify-content: space-between; gap: 16px; padding: 8px 0; font-size: .8rem; font-weight: 700; }
.nav { position: sticky; top: 0; z-index: 20; background: var(--yellow); box-shadow: 0 6px 18px rgba(31,41,55,.13); }
.app-toast { position: fixed; top: 76px; right: 18px; z-index: 100; display: grid; gap: 3px; max-width: min(360px,calc(100vw - 24px)); padding: 13px 15px; border: 1px solid rgba(18,148,71,.22); border-left: 5px solid var(--green); border-radius: 10px; background: #fff; box-shadow: 0 14px 34px rgba(15,23,42,.18); }
.app-toast strong { color: var(--green); font-size: .94rem; }
.app-toast span { color: var(--muted); font-size: .8rem; line-height: 1.35; }
.app-toast.error { border-color: rgba(220,38,38,.25); border-left-color: var(--danger); }
.app-toast.error strong { color: var(--danger); }
.nav-main { display: grid; grid-template-columns: auto minmax(240px,1fr) auto; align-items: center; gap: 16px; padding: 13px 0; }
.brand { display: flex; align-items: center; gap: 9px; border: 0; background: transparent; font-weight: 900; color: var(--ink); }
.brand-mark { display: grid; place-items: center; width: 42px; height: 42px; border: 3px solid var(--blue); border-radius: 7px; background: #fff; color: var(--green); }
.brand small { display: block; color: #655800; font-size: .68rem; }
.search { display: grid; grid-template-columns: 1fr auto; min-height: 46px; border: 2px solid rgba(31,41,55,.18); border-radius: 6px; overflow: hidden; background: #fff; }
.search input { min-width: 0; border: 0; outline: 0; padding: 0 14px; }
.search button { width: 70px; border: 0; background: #f3f4f6; font-weight: 800; }
.nav-actions, .actions, .badges, .filters, .mini-actions { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }
.nav-link { border: 0; background: transparent; font-weight: 800; }
.clean-nav-main { grid-template-columns: auto 1fr; }
.brand-brasil { font-size: 1rem; }
.user-top-brand { align-items: center; min-width: 0; text-align: left; gap: 10px; }
.user-brand-copy { display: grid; gap: 2px; min-width: 0; line-height: 1.04; }
.brand-word { display: inline-flex; align-items: baseline; gap: 0; width: max-content; max-width: 100%; font-size: 1.08rem; font-weight: 950; letter-spacing: 0; line-height: 1; white-space: nowrap; }
.logo-re { color: var(--blue); }
.logo-use { color: var(--green); }
.logo-brasil { color: #d4a700; text-shadow: none; }
.user-brand-copy .brand-word { padding: 4px 7px; border-radius: 8px; background: rgba(255,255,255,.96); box-shadow: 0 3px 10px rgba(15,23,42,.12); }
.brand-on-light { padding: 4px 7px; border-radius: 8px; background: rgba(255,255,255,.96); box-shadow: 0 3px 10px rgba(15,23,42,.12); }
.brand-on-light .logo-brasil { color: #d4a700; text-shadow: none; }
.user-brand-copy .brand-word { font-size: 1.08rem; }
.user-brand-copy small { display: block; max-width: 250px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; color: #655800; font-size: .74rem; font-weight: 850; }
.user-top-actions { gap: 9px; }
.brand-flag { position: relative; display: grid; place-items: center; width: 52px; height: 52px; flex: 0 0 52px; border-radius: 13px; overflow: hidden; background: url("assets/app-icons/reusebrasil-top-mark.svg") center/cover no-repeat; box-shadow: 0 5px 14px rgba(15,23,42,.18), inset 0 0 0 1px rgba(255,255,255,.78); }
.brand-flag::before, .brand-flag i { display: none; }
.clean-actions { justify-content: flex-end; }
.guest-menu, .account-menu { display: flex; gap: 8px; align-items: center; justify-content: flex-end; }
.account-menu strong { max-width: 190px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-size: .88rem; }
.icon-link { display: inline-flex; gap: 8px; align-items: center; min-height: 44px; padding: 0 12px; border: 1px solid rgba(31,41,55,.12); border-radius: 12px; background: rgba(255,255,255,.92); color: var(--ink); font-size: .82rem; font-weight: 950; box-shadow: 0 5px 12px rgba(31,41,55,.08); }
.icon-link span { display: grid; place-items: center; width: 32px; height: 32px; border-radius: 50%; background: var(--soft-blue); color: var(--blue); }
.menu-account { border-color: rgba(20,86,217,.25); color: var(--blue); }
.menu-buy { border-color: rgba(20,86,217,.28); background: linear-gradient(135deg,var(--blue),#0f49bd); color: #fff; }
.menu-seller { border-color: rgba(18,148,71,.35); background: linear-gradient(135deg,var(--green),#087a38); color: #fff; }
.menu-settings { border-color: rgba(212,167,0,.32); color: #8a6500; }
.menu-account span { background: var(--soft-blue); color: var(--blue); }
.menu-buy span { background: rgba(255,255,255,.18); color: #fff; }
.menu-seller span { background: rgba(255,255,255,.18); color: #fff; }
.menu-settings span { background: var(--soft-yellow); color: #8a6500; }
.icon-link.icon-only { width: 50px; min-width: 50px; padding: 0; justify-content: center; }
.menu-account.active { border-color: var(--blue); color: var(--blue); box-shadow: inset 0 -3px 0 var(--blue), 0 5px 12px rgba(31,41,55,.08); }
.menu-buy:hover { transform: translateY(-1px); box-shadow: 0 8px 18px rgba(20,86,217,.22); }
.menu-seller.active { border-color: #066b33; color: #fff; box-shadow: inset 0 -3px 0 rgba(255,255,255,.32), 0 8px 18px rgba(18,148,71,.22); }
.menu-settings.active { border-color: #d4a700; color: #8a6500; box-shadow: inset 0 -3px 0 #d4a700, 0 5px 12px rgba(31,41,55,.08); }
.menu-account.active span { background: var(--blue); color: #fff; }
.menu-seller.active span { background: rgba(255,255,255,.22); color: #fff; }
.menu-settings.active span { background: #d4a700; color: #fff; }
.icon-link svg { width: 19px; height: 19px; fill: none; stroke: currentColor; stroke-width: 2.35; stroke-linecap: round; stroke-linejoin: round; }
.icon-link:hover { transform: translateY(-1px); }
.page { padding: 22px 0 46px; }
.primary, .secondary, .ghost, .chip { min-height: 40px; padding: 0 14px; border-radius: 6px; font-weight: 800; transition: transform .15s ease; }
.primary { border: 0; background: var(--blue); color: #fff; }
.buy-button { background: var(--buy, var(--blue)); }
.secondary { border: 1px solid var(--line); background: #fff; color: var(--ink); }
.ghost { border: 0; background: transparent; color: var(--ink); }
.primary:hover, .secondary:hover, .ghost:hover, .chip:hover { transform: translateY(-1px); }
.wide { width: 100%; }
.mobile-nav { display: none; grid-template-columns: repeat(4,1fr); gap: 6px; padding-bottom: 10px; }
.mobile-nav button { min-height: 35px; border: 0; border-radius: 6px; background: rgba(255,255,255,.55); font-weight: 800; font-size: .75rem; }
.hero { display: grid; grid-template-columns: 1.1fr .9fr; gap: 16px; }
.hero-main { min-height: 340px; display: flex; flex-direction: column; justify-content: space-between; padding: 34px; border-radius: 8px; color: #fff; background: linear-gradient(95deg,rgba(20,86,217,.93),rgba(18,148,71,.75)),var(--hero-image) center/cover; box-shadow: var(--shadow); }
.hero h1 { max-width: 680px; font-size: clamp(2rem,5vw,4.7rem); line-height: .97; }
.hero p { max-width: 620px; margin-top: 14px; color: rgba(255,255,255,.92); line-height: 1.5; }
.hero-badges span, .badge, .status { padding: 7px 10px; border-radius: 999px; font-size: .76rem; font-weight: 900; }
.hero-badges span { display: inline-block; margin: 0 5px 8px 0; border: 1px solid rgba(255,255,255,.3); background: rgba(255,255,255,.17); }
.hero-side { display: grid; gap: 12px; }
.deal { min-height: 164px; display: flex; flex-direction: column; justify-content: space-between; padding: 20px; border-radius: 8px; background: linear-gradient(135deg,rgba(255,224,0,.94),rgba(255,255,255,.8)),url("https://images.unsplash.com/photo-1556742502-ec7c0e9f34b1?auto=format&fit=crop&w=900&q=80") center/cover; box-shadow: var(--shadow); }
.deal.green { color: #fff; background: linear-gradient(135deg,rgba(18,148,71,.92),rgba(20,86,217,.78)),url("https://images.unsplash.com/photo-1581092921461-39b9d08a9b21?auto=format&fit=crop&w=900&q=80") center/cover; }
.deal h3 { font-size: 1.55rem; }
.community-panel { display: grid; grid-template-columns: 1fr auto; gap: 20px; align-items: center; border-left: 5px solid var(--green); }
.community-panel h2 { max-width: 740px; font-size: clamp(1.5rem,3vw,2.4rem); line-height: 1.08; }
.community-panel p { max-width: 780px; margin-top: 8px; color: var(--muted); line-height: 1.55; }
.shop-hero { display: grid; grid-template-columns: minmax(0,1fr) minmax(210px,.28fr); gap: 16px; align-items: stretch; margin-bottom: 16px; padding: 24px; border-radius: 8px; background: linear-gradient(112deg,#fff6b8 0,#fff 48%,#eaf1ff 100%); border: 1px solid rgba(20,86,217,.12); box-shadow: var(--shadow); }
.shop-hero h1 { max-width: 780px; font-size: clamp(1.7rem,4vw,3rem); line-height: 1.02; }
.shop-hero p { max-width: 760px; margin-top: 9px; color: var(--muted); line-height: 1.5; }
.shop-hero-card { display: grid; align-content: center; gap: 7px; padding: 18px; border-radius: 8px; background: var(--blue); color: #fff; }
.shop-hero-card strong { font-size: 2.5rem; line-height: 1; }
.shop-hero-card span { color: rgba(255,255,255,.86); font-weight: 800; line-height: 1.3; }
.shop-hero-card .secondary { border: 0; color: var(--blue); }
.shop-page { padding-top: 12px; }
.shop-market-shell { display: grid; gap: 10px; }
.onboard-card { display: grid; gap: 12px; margin-bottom: 12px; padding: 14px; border: 1px solid rgba(20,86,217,.18); border-left: 5px solid var(--blue); border-radius: 12px; background: linear-gradient(110deg,#eaf1ff,#fff); box-shadow: 0 10px 24px rgba(31,41,55,.1); }
.onboard-card h2 { font-size: 1.35rem; line-height: 1.08; }
.onboard-card p, .onboard-card small { color: var(--muted); line-height: 1.35; }
.onboard-actions { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }
.seller-onboard-btn { border-color: rgba(18,148,71,.25); background: var(--soft-green); color: var(--green); }
.compact-onboard { grid-template-columns: repeat(3,minmax(0,1fr)) auto; align-items: center; }
.compact-onboard > div { display: grid; gap: 3px; min-height: 72px; padding: 10px; border: 1px solid rgba(255,255,255,.32); border-radius: 9px; background: rgba(255,255,255,.94); }
.compact-onboard span { color: var(--blue); font-size: .7rem; font-weight: 950; text-transform: uppercase; }
.compact-onboard strong { font-size: .86rem; }
.sell-onboard { border-color: rgba(18,148,71,.28); border-left-color: var(--green); background: linear-gradient(110deg,#dff8e8,#f7fff9); box-shadow: 0 12px 26px rgba(18,148,71,.14); }
.sell-onboard span { color: var(--green); }
.onboard-close { align-self: center; background: var(--green); border-color: var(--green); color: #fff; box-shadow: 0 8px 16px rgba(18,148,71,.18); }
.shop-banner-carousel-shell { position: relative; overflow: hidden; border-radius: 14px; box-shadow: 0 10px 26px rgba(31,41,55,.09); }
.shop-banner-carousel { display: grid; grid-auto-flow: column; grid-auto-columns: 100%; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; -ms-overflow-style: none; }
.shop-banner-carousel::-webkit-scrollbar { display: none; }
.shop-banner-slide { scroll-snap-align: start; min-height: 142px; display: grid; align-items: center; padding: 20px 74px; color: #fff; background: linear-gradient(90deg,rgba(20,86,217,.94),rgba(18,148,71,.76)),var(--banner) center/cover; }
.shop-banner-slide div { max-width: min(680px, calc(100% - 40px)); margin-left: 0; }
.shop-banner-slide span { display: inline-flex; min-height: 25px; align-items: center; padding: 0 9px; border-radius: 999px; background: var(--yellow); color: #5c4c00; font-size: .72rem; font-weight: 950; text-transform: uppercase; }
.shop-banner-slide h2 { margin-top: 8px; font-size: clamp(1.35rem,3vw,2.35rem); line-height: 1.02; }
.shop-banner-slide p { max-width: 620px; margin-top: 6px; color: rgba(255,255,255,.9); font-weight: 750; line-height: 1.35; }
.shop-banner-slide .secondary { margin-top: 12px; border: 0; color: var(--blue); }
.banner-arrow { position: absolute; top: 50%; z-index: 4; width: 34px; height: 44px; border: 0; border-radius: 999px; background: rgba(255,255,255,.9); color: var(--blue); font-size: 1.45rem; font-weight: 950; box-shadow: 0 8px 18px rgba(31,41,55,.18); transform: translateY(-50%); }
.banner-arrow.prev { left: 14px; }
.banner-arrow.next { right: 14px; }
.banner-dots { position: absolute; left: 0; right: 0; bottom: 9px; z-index: 4; display: flex; justify-content: center; gap: 6px; pointer-events: none; }
.banner-dots button { width: 20px; height: 6px; border: 0; border-radius: 999px; background: rgba(255,255,255,.55); pointer-events: auto; }
.banner-dots button.active { width: 32px; background: var(--yellow); }
.shop-controls { display: grid; gap: 8px; margin-bottom: 0; padding: 10px; border: 1px solid rgba(20,86,217,.14); border-radius: 8px; background: #fff; box-shadow: 0 6px 18px rgba(31,41,55,.06); }
.modern-shop-controls { position: sticky; top: 121px; z-index: 14; grid-template-columns: minmax(260px,1.25fr) minmax(360px,.85fr); align-items: center; margin-bottom: 0; border-radius: 12px; }
.shop-controls input,.shop-controls select { width: 100%; min-height: 42px; border: 1px solid var(--line); border-radius: 6px; background: #fff; padding: 0 12px; outline: 0; font-weight: 750; }
.shop-controls input { border-color: rgba(20,86,217,.28); font-size: 1rem; }
.shop-filter-row { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.shop-showcase { display: grid; grid-template-columns: minmax(0,1fr) 170px; gap: 12px; align-items: stretch; }
.shop-feature-card { display: grid; grid-template-columns: minmax(230px,.42fr) minmax(0,1fr); overflow: hidden; border: 1px solid rgba(20,86,217,.16); border-radius: 14px; background: linear-gradient(135deg,#fff 0%,#f6f9ff 58%,#fff8c9 100%); box-shadow: 0 12px 30px rgba(31,41,55,.09); }
.shop-feature-media { position: relative; min-height: 230px; background: #edf2f7; }
.shop-feature-media img { width: 100%; height: 100%; object-fit: cover; display: block; }
.shop-feature-info { display: grid; align-content: center; gap: 10px; padding: 20px; }
.shop-feature-info h1 { max-width: 680px; font-size: clamp(1.45rem,3vw,2.4rem); line-height: 1.05; }
.shop-feature-info p { color: var(--muted); font-weight: 750; }
.shop-feature-price { display: flex; gap: 10px; align-items: baseline; flex-wrap: wrap; }
.shop-feature-price span { color: var(--muted); text-decoration: line-through; font-weight: 800; }
.shop-feature-price strong { color: var(--blue); font-size: clamp(1.6rem,3vw,2.2rem); }
.shop-feature-actions { display: flex; gap: 8px; flex-wrap: wrap; }
.shop-live-strip { display: grid; gap: 8px; }
.shop-live-strip div { display: grid; align-content: center; min-height: 72px; padding: 14px; border: 1px solid rgba(18,148,71,.16); border-radius: 12px; background: #fff; box-shadow: 0 7px 18px rgba(31,41,55,.06); }
.shop-live-strip strong { color: var(--green); font-size: 1.45rem; line-height: 1; }
.shop-live-strip span { margin-top: 4px; color: var(--muted); font-size: .72rem; font-weight: 900; text-transform: uppercase; }
.shop-category-strip { display: flex; gap: 8px; overflow-x: auto; padding: 2px 1px 8px; }
.shop-category-chip { flex: 0 0 auto; display: grid; grid-template-columns: 28px minmax(80px,1fr) auto; gap: 7px; align-items: center; min-height: 44px; padding: 7px 10px; border: 1px solid var(--line); border-radius: 999px; background: #fff; box-shadow: 0 5px 12px rgba(31,41,55,.05); }
.shop-category-chip span { display: grid; place-items: center; width: 28px; height: 28px; border-radius: 50%; background: var(--soft-blue); color: var(--blue); font-size: .72rem; font-weight: 950; }
.shop-category-chip strong { font-size: .78rem; white-space: nowrap; }
.shop-category-chip small { min-width: 24px; color: var(--muted); font-size: .72rem; font-weight: 900; text-align: right; }
.shop-category-chip.active { border-color: var(--blue); background: var(--blue); color: #fff; }
.shop-category-chip.active span { background: rgba(255,255,255,.2); color: #fff; }
.shop-category-chip.active small { color: rgba(255,255,255,.85); }
.shop-list-head { display: flex; justify-content: space-between; gap: 10px; align-items: center; padding: 0 2px; }
.shop-list-head strong, .shop-list-head small { display: block; }
.shop-list-head small { margin-top: 2px; color: var(--muted); font-size: .78rem; font-weight: 750; }
.shop-product-grid { gap: 12px; align-items: stretch; }
.shop-flash-banner { position: relative; display: grid; gap: 8px; overflow: hidden; border: 1px solid rgba(255,224,0,.55); border-radius: 14px; background: linear-gradient(100deg,#fffbe7,#fff 52%,#eef7ff); box-shadow: 0 8px 22px rgba(31,41,55,.07); }
.shop-flash-head { position: relative; z-index: 2; display: flex; justify-content: space-between; gap: 12px; align-items: center; padding: 11px 13px 0; }
.shop-flash-head strong { display: block; margin-top: 2px; font-size: 1.02rem; }
.shop-flash-head small { color: var(--muted); font-weight: 850; }
.shop-carousel { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(270px,1fr); gap: 10px; overflow-x: auto; scroll-snap-type: x proximity; padding: 0 52px 14px; }
.shop-carousel { scrollbar-width: none; -ms-overflow-style: none; }
.shop-carousel::-webkit-scrollbar { display: none; }
.shop-carousel-card { scroll-snap-align: start; display: grid; grid-template-columns: 92px minmax(0,1fr); gap: 10px; align-items: center; min-width: 0; min-height: 104px; padding: 9px; border: 1px solid rgba(20,86,217,.12); border-radius: 12px; background: #fff; box-shadow: 0 5px 15px rgba(31,41,55,.06); cursor: pointer; transition: transform .16s ease, box-shadow .16s ease; }
.shop-carousel-card:hover { transform: translateY(-2px); box-shadow: 0 11px 24px rgba(31,41,55,.11); }
.shop-carousel-card.main { border-color: rgba(255,224,0,.85); box-shadow: inset 4px 0 0 var(--yellow), 0 8px 20px rgba(31,41,55,.08); }
.shop-carousel-card img { width: 92px; height: 84px; border-radius: 10px; object-fit: cover; background: #eef2f7; }
.shop-carousel-card div { display: grid; align-content: center; min-width: 0; min-height: 84px; }
.shop-carousel-card strong { display: -webkit-box; overflow: hidden; -webkit-line-clamp: 2; -webkit-box-orient: vertical; margin-top: 5px; font-size: .88rem; line-height: 1.18; }
.shop-carousel-card b { display: block; margin-top: 5px; color: var(--blue); font-size: 1.02rem; }
.shop-carousel-card small { display: block; margin-top: 5px; color: var(--muted); font-weight: 800; }
.carousel-arrow { position: absolute; bottom: 39px; z-index: 3; display: grid; place-items: center; width: 34px; height: 54px; border: 0; border-radius: 999px; background: rgba(20,86,217,.92); color: #fff; font-size: 1.65rem; font-weight: 900; box-shadow: 0 8px 18px rgba(31,41,55,.16); }
.carousel-arrow.prev { left: 10px; }
.carousel-arrow.next { right: 10px; }
.carousel-arrow:hover { transform: translateY(-1px); }
.shop-category-grid { display: grid; grid-template-columns: repeat(7,minmax(0,1fr)); gap: 8px; }
.shop-category-tile { display: grid; justify-items: center; align-content: center; gap: 6px; min-height: 78px; padding: 8px 6px; border: 1px solid color-mix(in srgb, var(--cat) 24%, #d7dee8); border-radius: 13px; background: linear-gradient(180deg,#fff,color-mix(in srgb, var(--cat) 9%, #fff)); box-shadow: 0 6px 16px rgba(31,41,55,.06); color: var(--ink); }
.shop-category-tile span, .category-icon, .category-preview-icon { display: grid; place-items: center; width: 38px; height: 38px; border-radius: 13px; background: var(--cat, var(--blue)); color: #fff; }
.shop-category-tile svg, .category-icon svg, .category-preview-icon svg { width: 21px; height: 21px; fill: none; stroke: currentColor; stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; }
.shop-category-tile strong { font-size: .82rem; line-height: 1; }
.shop-category-tile small { color: var(--muted); font-size: .68rem; font-weight: 850; }
.shop-category-tile.active { border-color: var(--cat); background: var(--cat); color: #fff; box-shadow: 0 9px 22px color-mix(in srgb, var(--cat) 26%, transparent); }
.shop-category-tile.active span { background: rgba(255,255,255,.18); }
.shop-category-tile.active small { color: rgba(255,255,255,.86); }
.status.flash { display: inline-flex; align-items: center; min-width: max-content; white-space: nowrap; background: #fff3bf; color: #8a5a00; border: 1px solid rgba(245,158,11,.25); }
.highlight-editor-list { display: grid; gap: 10px; margin-top: 12px; }
.highlight-edit-card { display: grid; grid-template-columns: 140px minmax(0,1fr); gap: 10px; align-items: stretch; padding: 10px; border: 1px solid var(--line); border-radius: 10px; background: #fff; }
.highlight-edit-card img { width: 140px; height: 116px; border-radius: 8px; object-fit: cover; background: #e5e7eb; }
.account-settings-grid { grid-template-columns: 1.1fr .9fr; }
.category-fixed-editor .category-edit-row { grid-template-columns: 42px minmax(160px,1fr) 74px 52px 38px; }
.category-edit-row { border-left: 4px solid var(--cat); }
.category-preview-icon { width: 34px; height: 34px; border-radius: 10px; }
.category-preview-icon svg { width: 19px; height: 19px; }
.featured-section { padding: 18px; border: 1px solid rgba(18,148,71,.18); border-radius: 8px; background: linear-gradient(180deg,#ffffff,#f7fff9); }
.account-hero { display: grid; grid-template-columns: 1fr auto; gap: 12px; align-items: center; padding: 16px; border-radius: 8px; background: linear-gradient(110deg,#fff,#fff7c4); border: 1px solid rgba(255,224,0,.45); box-shadow: var(--shadow); }
.account-hero h1 { font-size: clamp(1.7rem,4vw,2.8rem); line-height: 1; }
.account-hero p { max-width: 640px; margin-top: 7px; color: var(--muted); line-height: 1.45; }
.account-dashboard-clean { grid-template-columns: minmax(0,1.2fr) minmax(300px,.8fr); align-items: start; }
.account-deals-panel { align-self: start; }
.compact-head { margin-bottom: 8px; align-items: center; }
.deal-list { display: grid; gap: 8px; }
.deal-row { display: grid; grid-template-columns: minmax(0,1fr) auto; gap: 10px; align-items: center; min-height: 58px; padding: 9px 10px; border: 1px solid var(--line); border-radius: 9px; background: linear-gradient(90deg,#fff,#f8fbff); }
.media-deal-row { grid-template-columns: 46px minmax(0,1fr) auto; }
.media-deal-row .mini-cover { width: 46px; height: 46px; border-radius: 8px; object-fit: cover; }
.deal-row strong { display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-size: .88rem; }
.deal-row p { margin-top: 3px; color: var(--muted); font-size: .78rem; font-weight: 750; }
.deal-row p span { display: inline-flex; margin-left: 5px; padding: 2px 7px; border-radius: 999px; background: var(--soft-yellow); color: #8a5a00; font-size: .67rem; font-weight: 950; }
.deal-row .mini { min-height: 32px; padding: 0 10px; font-size: .72rem; }
.seller-hero { background: linear-gradient(110deg,#eaf1ff,#fff); border-color: #c7d7ff; }
.section { margin-top: 24px; }
.section-head { display: flex; justify-content: space-between; gap: 14px; align-items: end; margin-bottom: 12px; }
.section-head h2 { font-size: clamp(1.3rem,2.8vw,2rem); }
.section-head p, .muted, .form-note { margin-top: 5px; color: var(--muted); line-height: 1.45; }
.grid { display: grid; gap: 14px; }
.grid > *, .stat, .panel, .card, .form-card, .detail-media, .detail-info, .chat { min-width: 0; }
.categories { grid-template-columns: repeat(7,minmax(110px,1fr)); }
.products { grid-template-columns: repeat(4,minmax(0,1fr)); }
.stats { grid-template-columns: repeat(4,minmax(0,1fr)); }
.compact-kpis { grid-template-columns: repeat(4,minmax(92px,1fr)); gap: 8px; margin-top: 10px; }
.compact-kpis .stat { min-height: 82px; padding: 12px; overflow: hidden; }
.compact-kpis .stat span { display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-size: .72rem; }
.compact-kpis .stat strong { margin-top: 4px; font-size: 1.45rem; }
.dashboard { grid-template-columns: 1.25fr .75fr; }
.category, .card, .panel, .stat, .form-card, .detail-media, .detail-info, .chat { border: 1px solid var(--line); border-radius: 8px; background: var(--surface); box-shadow: 0 7px 20px rgba(31,41,55,.07); }
.category { min-height: 108px; padding: 15px 12px; text-align: left; }
.category strong { display: block; margin-top: 12px; }
.category-icon { color: var(--blue); font-size: 1.35rem; font-weight: 900; }
.card { overflow: hidden; border: 0; }
.featured-card { outline: 2px solid rgba(255,224,0,.75); box-shadow: 0 10px 28px rgba(20,86,217,.12); }
.reserved-card { opacity: .88; }
.product-image { position: relative; aspect-ratio: 1/1; background: #e5e7eb; overflow: hidden; }
.product-image img, .detail-media img { width: 100%; height: 100%; object-fit: cover; display: block; }
.discount { position: absolute; top: 10px; left: 10px; padding: 6px 8px; border-radius: 999px; background: var(--yellow); font-size: .72rem; font-weight: 950; box-shadow: 0 5px 12px rgba(0,0,0,.14); }
.featured-ribbon { position: absolute; left: 10px; bottom: 10px; padding: 6px 8px; border-radius: 5px; background: rgba(20,86,217,.96); color: #fff; font-size: .72rem; font-weight: 900; }
.photo-pill { position: absolute; left: 10px; bottom: 10px; max-width: calc(100% - 56px); padding: 6px 8px; border-radius: 999px; background: rgba(255,255,255,.95); color: var(--blue); font-size: .66rem; font-weight: 950; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.condition-pill { display: inline-flex; align-items: center; gap: 5px; background: var(--condition, var(--blue)); color: #fff; box-shadow: 0 4px 12px rgba(0,0,0,.16); }
.condition-pill b { display: grid; place-items: center; width: 16px; height: 16px; border-radius: 50%; background: rgba(255,255,255,.22); font-size: .58rem; }
.photo-icon { position: absolute; right: 10px; bottom: 10px; display: grid; place-items: center; width: 32px; height: 32px; border-radius: 50%; background: var(--blue); color: #fff; font-size: .68rem; font-weight: 900; box-shadow: 0 4px 12px rgba(0,0,0,.18); }
.seller-seal { position: absolute; right: 10px; bottom: 10px; display: grid; place-items: center; min-width: 30px; height: 30px; padding: 0 7px; border-radius: 999px; background: var(--seal, var(--blue)); color: #fff; font-size: .62rem; font-weight: 950; box-shadow: 0 4px 12px rgba(0,0,0,.2); }
.compact-card .product-image img, .compact-card h3, .shop-open-card { cursor: pointer; }
.favorite { position: absolute; top: 10px; right: 10px; width: 38px; height: 38px; border: 1px solid rgba(255,255,255,.78); border-radius: 50%; background: #d4a700; color: #fff; font-size: 1.08rem; font-weight: 950; box-shadow: 0 7px 16px rgba(31,41,55,.22); }
.favorite.active { background: #b88a00; color: #fff; border-color: rgba(255,255,255,.9); }
.compact-card { display: grid; grid-template-rows: auto 1fr; overflow: hidden; }
.card-body { display: grid; grid-template-rows: auto auto auto; align-content: start; padding: 12px; }
.card-body h3 { display: -webkit-box; min-height: 42px; margin-top: 0; overflow: hidden; font-size: .98rem; line-height: 1.28; -webkit-line-clamp: 2; -webkit-box-orient: vertical; }
.price-row { display: grid; grid-template-columns: auto auto minmax(0,1fr); gap: 6px; align-items: center; min-width: 0; margin-top: 8px; white-space: nowrap; }
.price-row-clean { grid-template-columns: auto minmax(0,1fr); }
.price { min-width: 0; margin-top: 0; overflow: hidden; color: var(--ink); font-size: clamp(1.05rem,1.8vw,1.42rem); font-weight: 950; text-align: right; text-overflow: ellipsis; }
.old-price { min-width: 0; margin-top: 0; color: var(--muted); text-decoration: line-through; font-size: .76rem; }
.deal-percent { padding: 3px 6px; border-radius: 999px; background: var(--soft-green); color: var(--green); font-size: .64rem; font-weight: 950; white-space: nowrap; }
.card-meta-line { display: flex; gap: 6px; align-items: center; justify-content: space-between; min-width: 0; margin-top: 7px; color: var(--muted); font-size: .68rem; font-weight: 800; }
.card-meta-line span { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.locked { margin-top: 11px; padding: 10px; border-radius: 6px; background: var(--soft-yellow); color: #5c4c00; font-size: .86rem; font-weight: 800; }
.card-actions { display: grid; grid-template-columns: 1fr 1fr; gap: 6px; margin-top: 9px; }
.card-actions .buy-button { min-width: 0; min-height: 36px; padding: 0 6px; border-radius: 8px; font-size: .78rem; font-weight: 950; }
.clickable-thumb { cursor: pointer; transition: transform .15s ease, box-shadow .15s ease; }
.clickable-thumb:hover { transform: scale(1.06); box-shadow: 0 6px 14px rgba(20,86,217,.22); }
.media-list { gap: 8px; }
.media-list-item { display: grid; grid-template-columns: 52px minmax(0,1fr) auto; gap: 10px; align-items: center; }
.media-list-item > div { min-width: 0; }
.media-list-item strong, .media-list-item p { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.mini-cover { width: 52px; height: 52px; border-radius: 8px; object-fit: cover; border: 1px solid var(--line); background: #fff; }
.split-actions { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.detail-actions-wrap { margin-top: 15px; }
.detail-action-row { display: grid; grid-template-columns: minmax(0,1.25fr) minmax(0,1fr) 48px; gap: 8px; align-items: center; }
.detail-action-row button { min-height: 48px; border-radius: 12px; font-weight: 950; }
.detail-action-row.buy-only { grid-template-columns: minmax(0,1fr) 48px; }
.detail-buy { min-height: 54px !important; background: linear-gradient(135deg,var(--buy),#0f4fc7); font-size: 1rem; box-shadow: 0 10px 22px rgba(20,86,217,.26); }
.detail-proposal { min-height: 42px !important; border-color: rgba(18,148,71,.35); color: var(--green); background: var(--soft-green); font-size: .82rem; }
.detail-fav { display: grid; place-items: center; width: 48px; height: 48px; border: 1px solid rgba(255,224,0,.75); border-radius: 14px; background: #fff; color: #a07a00; font-size: 1.35rem; box-shadow: 0 8px 18px rgba(31,41,55,.1); }
.detail-fav.active { background: var(--yellow); color: #5c4c00; }
.payment-options-card { display: grid; gap: 7px; margin: 12px 0; padding: 11px; border: 1px solid rgba(20,86,217,.16); border-radius: 10px; background: #f8fbff; }
.payment-options-card div { display: flex; flex-wrap: wrap; gap: 6px; }
.payment-options-card span { display: inline-flex; min-height: 30px; align-items: center; padding: 0 10px; border-radius: 999px; background: var(--soft-green); color: var(--green); font-size: .78rem; font-weight: 950; }
.payment-options-card small { color: var(--muted); font-size: .74rem; line-height: 1.3; }
.account-notification-list { grid-template-columns: repeat(2,minmax(0,1fr)); }
.negotiation-actions { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 7px; margin-top: 12px; }
.negotiation-actions button { min-height: 36px; padding: 0 8px; font-size: .76rem; }
.success-action { background: var(--green) !important; color: #fff !important; border-color: var(--green) !important; }
.confirm-action { background: var(--blue) !important; color: #fff !important; border-color: var(--blue) !important; }
.meta { display: flex; justify-content: space-between; gap: 8px; margin: 10px 0; color: var(--muted); font-size: .75rem; }
.badge { background: var(--soft-blue); color: var(--blue); }
.badge.green, .status.ok { background: var(--soft-green); color: var(--green); }
.badge.yellow, .status.wait { background: var(--soft-yellow); color: #685700; }
.status.info { background: var(--soft-blue); color: var(--blue); }
.badge.danger, .status.bad { background: #fee2e2; color: var(--danger); }
.toolbar { display: grid; grid-template-columns: 1fr auto auto; gap: 10px; margin-bottom: 14px; }
.toolbar input, .toolbar select, .field input, .field select, .field textarea, .chat-input input { width: 100%; min-height: 44px; border: 1px solid var(--line); border-radius: 6px; background: #fff; padding: 0 12px; outline: 0; }
.field textarea { min-height: 94px; padding: 12px; resize: vertical; }
.chip { border: 1px solid var(--line); background: #fff; }
.chip.active { border-color: var(--blue); background: var(--blue); color: #fff; }
.detail, .form-layout { display: grid; grid-template-columns: minmax(0,.95fr) minmax(320px,.65fr); gap: 16px; align-items: start; }
.detail-media { overflow: hidden; }
.main-photo { aspect-ratio: 1/.78; }
.video { padding: 14px; border-top: 1px solid var(--line); background: #f9fafb; }
.video a { color: var(--blue); font-weight: 800; word-break: break-all; }
.detail-info, .form-card, .panel, .chat { padding: 17px; }
.detail-info h1 { margin: 10px 0; font-size: clamp(1.6rem,4vw,2.6rem); line-height: 1.1; }
.product-top-tags { gap: 6px; }
.seller { margin-top: 15px; padding: 14px; border: 1px solid var(--line); border-radius: 8px; background: #f9fafb; }
.seller p { margin-top: 7px; color: var(--muted); }
.seller-detail-box { display: grid; gap: 7px; }
.seller-detail-box > div { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }
.seller-detail-tags { display: flex; flex-wrap: wrap; gap: 6px; }
.seller-detail-tags span { padding: 4px 8px; border-radius: 999px; background: #eef4ff; color: var(--blue); font-size: .68rem; font-weight: 950; }
.seller-detail-tags span:last-child:not(:first-child) { background: var(--soft-green); color: var(--green); }
.source-note { display: grid; gap: 4px; margin-top: 14px; padding: 13px; border: 1px solid #c7d7ff; border-radius: 8px; background: var(--soft-blue); }
.source-note a { color: var(--blue); font-weight: 900; }
.source-note span { color: var(--muted); font-size: .82rem; line-height: 1.35; }
.questions-panel { margin-top: 16px; }
.question-list { display: grid; gap: 9px; margin-bottom: 12px; }
.question-item { padding: 12px; border: 1px solid var(--line); border-radius: 7px; background: #fff; }
.question-item p { margin: 5px 0; color: var(--ink); line-height: 1.4; }
.question-item small { display: block; color: var(--green); font-weight: 800; line-height: 1.35; }
.question-form { display: grid; grid-template-columns: 1fr auto; gap: 8px; }
.question-form input { min-height: 42px; border: 1px solid var(--line); border-radius: 6px; padding: 0 12px; outline: 0; }
.proposal-summary { display: grid; grid-template-columns: 160px 1fr; gap: 14px; align-items: center; }
.proposal-summary img { width: 160px; aspect-ratio: 1/1; border-radius: 8px; object-fit: cover; }
.proposal-box { display: grid; gap: 4px; margin: 12px 0; padding: 12px; border: 1px solid #c7d7ff; border-radius: 8px; background: var(--soft-blue); }
.proposal-box strong { color: var(--blue); font-size: 1.4rem; }
.proposal-box span, .proposal-box small { color: var(--muted); font-weight: 800; line-height: 1.35; }
.negotiation-start-page { max-width: 1000px; }
.buy-start-card { display: grid; grid-template-columns: minmax(220px,.72fr) minmax(0,1.28fr); gap: 16px; align-items: stretch; padding: 14px; }
.buy-start-media { position: relative; min-height: 320px; overflow: hidden; border-radius: 12px; background: #eef2f7; }
.buy-start-media img { width: 100%; height: 100%; object-fit: cover; }
.buy-start-media .badge { position: absolute; top: 12px; left: 12px; }
.buy-start-info { display: grid; gap: 12px; align-content: start; }
.buy-start-info h1 { font-size: clamp(1.45rem,3vw,2.2rem); line-height: 1.08; }
.buy-price-line { display: flex; flex-wrap: wrap; gap: 8px 14px; align-items: baseline; }
.buy-price-line span { color: var(--muted); font-weight: 850; text-decoration: line-through; }
.buy-price-line strong { color: var(--blue); font-size: clamp(1.8rem,4vw,2.8rem); line-height: 1; }
.buy-facts { display: grid; grid-template-columns: repeat(4,minmax(0,1fr)); gap: 8px; }
.buy-facts span { min-width: 0; padding: 9px; border: 1px solid var(--line); border-radius: 9px; background: #f8fbff; }
.buy-facts small, .buy-facts strong { display: block; }
.buy-facts small { color: var(--muted); font-size: .68rem; font-weight: 900; text-transform: uppercase; }
.buy-facts strong { overflow: hidden; margin-top: 2px; font-size: .78rem; text-overflow: ellipsis; white-space: nowrap; }
.checkout-options { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; padding: 10px; border: 1px solid rgba(20,86,217,.14); border-radius: 12px; background: #f8fbff; }
.checkout-options .field { min-width: 0; }
.checkout-options .field label { margin-bottom: 5px; font-size: .72rem; text-transform: uppercase; }
.freight-summary { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 7px; }
.freight-summary div { min-width: 0; padding: 9px; border: 1px solid var(--line); border-radius: 10px; background: #fff; }
.freight-summary span, .freight-summary strong { display: block; }
.freight-summary span { color: var(--muted); font-size: .68rem; font-weight: 900; text-transform: uppercase; }
.freight-summary strong { overflow: hidden; margin-top: 3px; color: var(--blue); font-size: .9rem; text-overflow: ellipsis; white-space: nowrap; }
.freight-advantage { display: grid; gap: 3px; margin: 10px 0; padding: 11px 12px; border: 1px solid rgba(18,148,71,.18); border-radius: 10px; background: #e8f8ef; color: #075f2d; }
.freight-advantage strong { font-size: .95rem; }
.freight-advantage span { color: #0b6f37; font-size: .78rem; font-weight: 800; line-height: 1.3; }
.freight-advantage.platform { border-color: rgba(20,86,217,.18); background: #eaf1ff; color: var(--blue); }
.freight-advantage.platform span { color: #164aa5; }
.trust-flow { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 8px; }
.trust-flow div { display: grid; gap: 4px; padding: 10px; border: 1px solid rgba(18,148,71,.18); border-radius: 10px; background: var(--soft-green); }
.trust-flow b { display: grid; place-items: center; width: 26px; height: 26px; border-radius: 999px; background: var(--green); color: #fff; font-size: .78rem; }
.trust-flow strong { font-size: .82rem; }
.trust-flow small { color: var(--muted); font-size: .7rem; line-height: 1.25; }
.buy-start-actions { display: grid; grid-template-columns: minmax(0,1fr) 50px; gap: 8px; align-items: center; }
.buy-start-actions.app-only { grid-template-columns: 1fr; }
.buy-start-actions .primary { min-height: 48px; border-radius: 12px; }
.proposal-inline { min-height: 42px; color: var(--green); border-color: rgba(18,148,71,.35); background: var(--soft-green); }
.freight-table { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 8px; }
.freight-table div { display: grid; gap: 3px; padding: 10px; border: 1px solid var(--line); border-radius: 9px; background: #fff; }
.freight-table b { color: var(--green); }
.freight-table small { color: var(--muted); line-height: 1.3; }
.freight-settings-panel .compact-form-grid { grid-template-columns: repeat(5,minmax(0,1fr)); }
.freight-rules-region { display: grid; grid-template-columns: repeat(5,minmax(0,1fr)); gap: 8px; margin: 12px 0; }
.freight-rules-region span { min-width: 0; padding: 10px; border: 1px solid var(--line); border-radius: 8px; background: #f8fbff; }
.freight-rules-region strong, .freight-rules-region small { display: block; }
.freight-rules-region small { margin-top: 3px; color: var(--muted); font-size: .68rem; line-height: 1.25; }
.freight-rule-table th, .freight-rule-table td { text-align: left; vertical-align: top; }
.freight-rule-table td:first-child { min-width: 170px; }
.freight-rule-table td strong, .freight-rule-table td small { display: block; }
.freight-rule-table td small { margin-top: 3px; color: var(--muted); font-size: .68rem; line-height: 1.25; }
.freight-rule-table input, .freight-rule-table select { width: 100%; min-width: 96px; min-height: 34px; border: 1px solid var(--line); border-radius: 7px; padding: 0 8px; font-weight: 800; }
.form-grid { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 12px; margin-top: 15px; }
.field.full { grid-column: 1/-1; }
.field label { display: block; margin-bottom: 6px; color: var(--muted); font-size: .82rem; font-weight: 800; }
.image-preview { display: grid; grid-template-columns: 92px 1fr; gap: 12px; align-items: center; min-height: 92px; margin-bottom: 9px; padding: 10px; border: 1px dashed var(--line); border-radius: 6px; background: #f9fafb; color: var(--muted); font-weight: 700; }
.image-preview img { width: 92px; height: 72px; border-radius: 6px; object-fit: cover; }
.image-preview.empty { display: grid; place-items: center; text-align: center; }
.create-product-head { margin-bottom: 10px; }
.seller-create-layout { display: grid; gap: 10px; margin-top: 0; }
.announce-form { padding: 14px; }
.compact-head { align-items: center; margin-bottom: 8px; }
.announce-grid { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 10px; }
.announce-grid .field.full { grid-column: 1/-1; }
.price-with-discount { position: relative; }
.price-with-discount input { padding-right: 86px; }
.price-with-discount span { position: absolute; right: 8px; bottom: 7px; display: grid; place-items: center; min-height: 28px; padding: 0 8px; border-radius: 999px; font-size: .72rem; font-weight: 900; }
.discount-yellow { background: var(--yellow) !important; color: #5c4c00 !important; }
.discount-green { background: var(--soft-green) !important; color: var(--green) !important; }
.discount-red { background: #fee2e2 !important; color: var(--danger) !important; }
.discount-neutral { background: #e5e7eb !important; color: var(--muted) !important; }
.upload-field input[type="file"] { padding: 8px; }
.product-photo-first { padding: 8px; border: 1px solid #b8caf5; border-radius: 8px; background: #f3f7ff; }
.product-upload-zone { display: grid !important; grid-template-columns: 42px 1fr auto; gap: 10px; align-items: center; min-height: 58px; margin: 0 !important; padding: 9px 12px; border: 2px dashed var(--blue); border-radius: 8px; background: #fff; color: var(--ink) !important; cursor: pointer; transition: border-color .2s,background .2s; }
.product-upload-zone:hover { background: var(--soft-blue); }
.product-upload-zone.selected { border-style: solid; border-color: var(--green); background: var(--soft-green); }
.product-upload-zone .upload-icon { display: grid; place-items: center; width: 38px; height: 38px; border-radius: 7px; background: var(--blue); color: #fff; }
.product-upload-zone.selected .upload-icon { background: var(--green); }
.product-upload-zone svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.product-upload-zone strong,.product-upload-zone small { display: block; }
.product-upload-zone strong { font-size: .9rem; }
.product-upload-zone small { margin-top: 2px; color: var(--muted); font-size: .68rem; }
.product-upload-zone b { min-width: 78px; padding: 8px 10px; border-radius: 6px; background: var(--blue); color: #fff; text-align: center; font-size: .72rem; }
.product-upload-zone.selected b { background: var(--green); }
.product-file-input { position: absolute; width: 1px; height: 1px; opacity: 0; pointer-events: none; }
.product-image-preview { margin: 8px 0 0; background: #fff; }
.product-image-preview.empty { display: none; }
.product-image-preview img { width: 112px; height: 88px; }
.product-image-preview span strong,.product-image-preview span small { display: block; }
.product-image-preview span small { margin-top: 4px; color: var(--muted); font-size: .72rem; }
.clear-product-image { min-height: 28px; margin-top: 6px; padding: 0 10px; font-size: .72rem; }
.admin-ad-mode-tabs { display: inline-grid; grid-template-columns: repeat(2,minmax(120px,1fr)); gap: 8px; margin: 8px 0 12px; }
.admin-ad-mode-tabs button { min-height: 42px; border: 1px solid var(--line); border-radius: 10px; background: #fff; color: var(--ink); font-weight: 950; cursor: pointer; }
.admin-ad-mode-tabs .products-mode.active { border-color: var(--blue); background: var(--blue); color: #fff; }
.admin-ad-mode-tabs .lots-mode.active { border-color: var(--green); background: var(--green); color: #fff; }
.admin-lot-create-panel { border-left: 5px solid var(--green); }
.lot-media-preview { display: flex; flex-wrap: wrap; gap: 8px; min-height: 58px; margin-top: 8px; padding: 8px; border: 1px dashed var(--line); border-radius: 8px; background: #f8fafc; color: var(--muted); font-size: .8rem; font-weight: 800; }
.lot-media-preview.empty { align-items: center; justify-content: center; }
.lot-media-preview img { width: 72px; height: 72px; border-radius: 8px; object-fit: cover; }
.lot-hero { display: grid; grid-template-columns: minmax(0,1fr) auto; gap: 14px; align-items: center; padding: 18px; border-radius: 12px; background: linear-gradient(135deg,#e8f8ef,#eaf1ff); border: 1px solid rgba(18,148,71,.18); }
.lot-hero h1 { max-width: 780px; font-size: clamp(1.7rem,4vw,3rem); line-height: 1.02; }
.lot-hero p { max-width: 720px; margin-top: 8px; color: var(--muted); font-weight: 800; line-height: 1.4; }
.lot-card .lot-sheet-link { min-height: 34px; margin-top: 8px; font-size: .78rem; text-align: center; }
.lot-media-grid { display: grid; grid-template-columns: repeat(5,minmax(0,1fr)); gap: 6px; padding: 8px; background: #fff; border-top: 1px solid var(--line); }
.lot-media-grid img,.lot-media-grid a { width: 100%; aspect-ratio: 1/1; border-radius: 7px; object-fit: cover; }
.lot-media-grid a { display: grid; place-items: center; background: var(--soft-blue); color: var(--blue); font-weight: 950; text-decoration: none; }
@media (max-width: 680px) {
  .product-photo-first { padding: 7px; }
  .product-upload-zone { grid-template-columns: 36px 1fr auto; gap: 7px; min-height: 54px; padding: 8px; }
  .product-upload-zone .upload-icon { width: 34px; height: 34px; }
  .product-upload-zone strong { font-size: .82rem; }
  .product-upload-zone small { font-size: .64rem; line-height: 1.25; }
  .product-upload-zone b { min-width: 58px; padding: 7px 6px; font-size: .62rem; }
  .product-image-preview { grid-template-columns: 88px 1fr; min-height: 78px; padding: 7px; }
  .product-image-preview.empty { grid-template-columns: 1fr; min-height: 34px; }
  .product-image-preview img { width: 88px; height: 68px; }
  .admin-ad-mode-tabs { grid-template-columns: repeat(2,minmax(0,1fr)); width: 100%; }
  .lot-hero { grid-template-columns: 1fr; padding: 14px; }
  .lot-media-grid { grid-template-columns: repeat(3,minmax(0,1fr)); }
}
.create-ad-button { margin-top: 12px; }
.tips-grid { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 10px; }
.tip-card { min-height: 92px; padding: 14px; }
.tip-card strong { display: block; margin-bottom: 6px; }
.tip-card p { color: var(--muted); font-size: .84rem; line-height: 1.35; }
.stat { padding: 14px; }
.stat strong { display: block; margin-top: 6px; font-size: 1.45rem; }
.table-wrap { overflow-x: auto; }
.table { width: 100%; border-collapse: collapse; margin-top: 10px; }
.table th, .table td { padding: 11px 8px; border-bottom: 1px solid var(--line); text-align: left; vertical-align: top; }
.table th { color: var(--muted); font-size: .74rem; text-transform: uppercase; }
.compact-table th, .compact-table td { padding: 8px 7px; font-size: .86rem; vertical-align: middle; }
.thumb { width: 54px; height: 42px; border-radius: 6px; object-fit: cover; background: #e5e7eb; }
.seller-product-cell { display: grid; grid-template-columns: 64px minmax(0,1fr); gap: 10px; align-items: center; min-width: 220px; }
.seller-thumb { width: 64px; height: 52px; border-radius: 7px; object-fit: cover; background: #e5e7eb; }
.seller-quick-actions { display: flex; gap: 6px; align-items: center; flex-wrap: nowrap; }
.seller-products-table td:last-child { width: 132px; }
.seller-products-table small b { display: inline-flex; align-items: center; min-height: 20px; padding: 0 6px; border-radius: 999px; font-size: .68rem; }
.admin-list-toolbar { display: grid; grid-template-columns: 1fr auto; gap: 10px; align-items: center; margin: 12px 0; }
.admin-list-filters { display: grid; grid-template-columns: minmax(120px,150px) minmax(180px,1fr) minmax(150px,220px); gap: 8px; }
.admin-list-filters.two-fields { grid-template-columns: minmax(180px,1fr) minmax(150px,220px); }
.admin-list-filters input, .admin-list-filters select { min-height: 40px; border: 1px solid var(--line); border-radius: 6px; background: #fff; padding: 0 10px; outline: 0; }
.icon-actions, .row-icons, .sub-tabs { display: flex; gap: 6px; align-items: center; }
.icon-actions button, .row-icons button, .sub-tabs button { min-height: 34px; padding: 0 10px; border: 1px solid var(--line); border-radius: 6px; background: #fff; font-size: .72rem; font-weight: 900; }
.icon-btn { display: inline-grid; place-items: center; width: 34px; min-width: 34px; padding: 0; border-radius: 50%; color: var(--blue); }
.icon-actions .icon-btn { background: var(--soft-blue); border-color: #c7d7ff; }
.row-icons .icon-btn:hover { background: var(--soft-blue); }
.danger-icon { color: var(--danger); }
.row-icons { flex-wrap: nowrap; }
.sub-tabs { margin: 14px 0 0; padding: 8px; border: 1px solid var(--line); border-radius: 8px; background: #fff; }
.sub-tabs button.active { border-color: var(--blue); background: var(--blue); color: #fff; }
.admin-ad-row.partner-row td,.admin-ad-row.prime-row td { background: var(--seal-bg); }
.admin-ad-row.partner-row td:first-child,.admin-ad-row.prime-row td:first-child { border-left: 4px solid var(--seal-line); }
.user-plan-row.partner-row td { background: #edf4ff; }
.user-plan-row.prime-row td { background: linear-gradient(90deg,#fff7d1,#fff); }
.user-plan-row.prime-row td:first-child { border-left: 4px solid #d4a700; }
.user-plan-row.partner-row td:first-child { border-left: 4px solid var(--blue); }
.table-edit { display: grid; gap: 7px; min-width: 190px; }
.table-edit label { color: var(--muted); font-size: .72rem; font-weight: 900; }
.table-edit input, .table-edit select, .table-edit textarea { width: 100%; min-height: 38px; border: 1px solid var(--line); border-radius: 6px; background: #fff; padding: 0 9px; outline: 0; }
.table-edit textarea { min-height: 82px; padding: 10px; resize: vertical; }
.photo-state { color: var(--muted); font-size: .78rem; font-weight: 800; }
.danger-action { color: var(--danger); }
.logout-red { background: var(--danger) !important; color: #fff !important; }
.logout-red svg { width: 17px; height: 17px; fill: none; stroke: currentColor; stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; vertical-align: -3px; }
.compact-account-form { margin-top: 12px; }
.capacity-panel { border-left: 5px solid var(--blue); }
.capacity-summary { display: grid; grid-template-columns: repeat(4,minmax(0,1fr)); gap: 10px; margin: 14px 0; }
.capacity-summary div { padding: 13px; border: 1px solid var(--line); border-radius: 7px; background: #f9fafb; }
.capacity-summary span { display: block; color: var(--muted); font-size: .76rem; font-weight: 800; }
.capacity-summary strong { display: block; margin-top: 6px; font-size: 1.22rem; }
.capacity-list { display: grid; gap: 10px; }
.capacity-row { display: grid; grid-template-columns: minmax(180px,1fr) minmax(180px,1.2fr) auto; gap: 12px; align-items: center; padding: 12px; border: 1px solid var(--line); border-radius: 7px; background: #fff; }
.capacity-row strong, .capacity-row span { display: block; }
.capacity-row span { margin-top: 4px; color: var(--muted); font-size: .78rem; line-height: 1.35; }
.capacity-meter { height: 11px; overflow: hidden; border-radius: 999px; background: #e5e7eb; }
.capacity-meter span { display: block; height: 100%; border-radius: inherit; background: linear-gradient(90deg,var(--green),var(--blue)); }
.migration-note { margin-top: 12px; padding: 12px; border-radius: 7px; background: var(--soft-yellow); color: #5c4c00; font-size: .86rem; line-height: 1.45; }
.list { display: grid; gap: 10px; margin-top: 12px; }
.list-item { padding: 13px; border: 1px solid var(--line); border-radius: 7px; background: #fff; }
.list-item p { margin: 5px 0; color: var(--muted); }
.messages { display: grid; gap: 10px; margin: 14px 0; }
.message { max-width: 78%; padding: 10px 12px; border-radius: 8px; background: #f3f4f6; }
.message.me { justify-self: end; background: var(--soft-blue); }
.message.system { justify-self: center; max-width: 92%; background: var(--soft-yellow); color: #5c4c00; font-size: .82rem; font-weight: 800; }
.chat-input { display: grid; grid-template-columns: 1fr auto; gap: 8px; }
.chat-title { display: flex; justify-content: space-between; gap: 14px; align-items: start; }
.kanban { display: grid; grid-template-columns: repeat(5,minmax(210px,1fr)); gap: 10px; overflow-x: auto; padding-bottom: 4px; }
.kanban-col { min-width: 210px; padding: 12px; border: 1px solid var(--line); border-radius: 8px; background: #f9fafb; }
.kanban-col:nth-child(1) { border-top: 5px solid var(--yellow); }
.kanban-col:nth-child(2) { border-top: 5px solid var(--yellow); }
.kanban-col:nth-child(3) { border-top: 5px solid var(--blue); }
.kanban-col:nth-child(4) { border-top: 5px solid var(--green); }
.kanban-col:nth-child(5) { border-top: 5px solid var(--danger); }
.simple-kanban { grid-template-columns: repeat(5,minmax(170px,1fr)); }
.simple-kanban .kanban-col:nth-child(1) { border-top-color: var(--yellow); }
.simple-kanban .kanban-col:nth-child(2) { border-top-color: var(--blue); }
.simple-kanban .kanban-col:nth-child(3) { border-top-color: var(--green); }
.simple-kanban .kanban-col:nth-child(4) { border-top-color: #047857; }
.simple-kanban .kanban-col:nth-child(5) { border-top-color: var(--danger); }
.kanban-head { display: flex; justify-content: space-between; gap: 8px; align-items: center; }
.kanban-head span { display: grid; place-items: center; min-width: 28px; height: 28px; border-radius: 50%; background: var(--blue); color: #fff; font-size: .78rem; font-weight: 900; }
.kanban-col:nth-child(1) .kanban-head span { background: var(--yellow); color: #5c4c00; }
.kanban-col:nth-child(2) .kanban-head span { background: var(--yellow); color: #5c4c00; }
.kanban-col:nth-child(3) .kanban-head span { background: var(--blue); }
.kanban-col:nth-child(4) .kanban-head span { background: var(--green); }
.kanban-col:nth-child(5) .kanban-head span { background: var(--danger); }
.simple-kanban .kanban-col:nth-child(1) .kanban-head span { background: var(--yellow); color: #5c4c00; }
.simple-kanban .kanban-col:nth-child(2) .kanban-head span { background: var(--blue); color: #fff; }
.simple-kanban .kanban-col:nth-child(3) .kanban-head span { background: var(--green); color: #fff; }
.simple-kanban .kanban-col:nth-child(4) .kanban-head span { background: #047857; color: #fff; }
.simple-kanban .kanban-col:nth-child(5) .kanban-head span { background: var(--danger); color: #fff; }
.kanban-col > p { min-height: 38px; margin-top: 6px; color: var(--muted); font-size: .76rem; line-height: 1.3; }
.kanban-list { display: grid; gap: 8px; margin-top: 10px; }
.deal-ticket { display: grid; gap: 6px; padding: 10px; border: 1px solid var(--line); border-radius: 7px; background: #fff; }
.deal-ticket span { color: var(--green); font-weight: 900; }
.deal-ticket small { color: var(--muted); line-height: 1.35; }
.compact-purchase-flow { display: grid; gap: 10px; }
.stage-tabs { display: grid; grid-template-columns: repeat(5,minmax(0,1fr)); gap: 8px; }
.stage-tab { min-height: 50px; display: flex; align-items: center; justify-content: space-between; gap: 8px; padding: 8px 10px; border: 1px solid var(--line); border-radius: 9px; background: #fff; color: var(--ink); font-weight: 950; box-shadow: inset 0 -2px 0 rgba(255,255,255,.55); }
.stage-tab b { display: grid; place-items: center; min-width: 24px; height: 24px; padding: 0 6px; border-radius: 999px; background: rgba(255,255,255,.72); font-size: .78rem; }
.stage-tab.wait { border-color: #f1d56c; background: #fff7cc; color: #765600; }
.stage-tab.info { border-color: #bcd2ff; background: #eaf1ff; color: #1247a8; }
.stage-tab.deliver { border-color: #a9dfc4; background: #e9fff3; color: #047857; }
.stage-tab.done { border-color: #8ecfb1; background: #dff8ea; color: #064e3b; }
.stage-tab.bad { border-color: #fecaca; background: #fff1f1; color: #991b1b; }
.stage-tab.wait.active { border-color: #b88900; background: #b88900; color: #fff; }
.stage-tab.info.active { border-color: var(--blue); background: var(--blue); color: #fff; }
.stage-tab.deliver.active { border-color: var(--green); background: var(--green); color: #fff; }
.stage-tab.done.active { border-color: #047857; background: #047857; color: #fff; }
.stage-tab.bad.active { border-color: var(--danger); background: var(--danger); color: #fff; }
.stage-tab.active b { background: rgba(255,255,255,.22); color: #fff; }
.stage-list { display: grid; gap: 8px; }
.compact-stage-ticket { grid-template-columns: minmax(0,1fr) auto; align-items: center; }
.compact-stage-ticket strong { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.compact-stage-ticket button { grid-column: 2; grid-row: 1 / span 3; min-height: 34px; padding: 0 12px; }
.small-empty { padding: 12px; font-size: .78rem; }
.deal-stage-list { display: grid; gap: 8px; margin-top: 12px; }
.deal-stage-list button { display: grid; gap: 4px; width: 100%; padding: 10px; border: 1px solid var(--line); border-radius: 7px; background: #fff; text-align: left; font-weight: 900; }
.deal-stage-list button small { color: var(--muted); font-weight: 700; line-height: 1.3; }
.deal-stage-list button.active { border-color: var(--blue); background: var(--soft-blue); color: var(--blue); }
.compact-deal-page { max-width: 920px; padding-top: 12px; }
.deal-back { margin-bottom: 8px; }
.deal-summary-card { padding: 14px; }
.deal-product-head { display: grid; grid-template-columns: 72px minmax(0,1fr) auto; gap: 12px; align-items: center; }
.deal-product-head img { width: 72px; height: 72px; border-radius: 7px; object-fit: cover; }
.deal-product-head h2 { margin: 3px 0 6px; font-size: 1rem; line-height: 1.25; }
.deal-product-head small { color: var(--muted); font-size: .72rem; font-weight: 800; }
.deal-product-head > div > strong { color: var(--blue); font-size: 1.25rem; }
.deal-progress { position: relative; display: grid; grid-auto-flow: column; grid-auto-columns: 1fr; margin: 16px 0 12px; }
.deal-progress::before { position: absolute; top: 13px; right: 9%; left: 9%; height: 3px; background: #dfe5ee; content: ""; }
.deal-progress div { position: relative; z-index: 1; display: grid; justify-items: center; gap: 5px; color: var(--muted); font-size: .68rem; font-weight: 800; text-align: center; }
.deal-progress i { display: grid; place-items: center; width: 28px; height: 28px; border: 3px solid #dfe5ee; border-radius: 50%; background: #fff; font-style: normal; font-size: .65rem; }
.deal-progress div.done i { border-color: var(--blue); background: var(--blue); color: #fff; }
.deal-progress div.active i { border-color: var(--green); background: var(--green); color: #fff; }
.deal-progress div.active span { color: var(--green); }
.deal-simple-status { display: grid; gap: 4px; margin: 12px 0; padding: 13px; border-left: 5px solid var(--blue); border-radius: 9px; background: #f8fbff; box-shadow: inset 0 0 0 1px rgba(20,86,217,.12); }
.deal-simple-status span { color: var(--blue); font-size: .68rem; font-weight: 950; text-transform: uppercase; }
.deal-simple-status strong { font-size: .9rem; line-height: 1.35; }
.deal-simple-status.wait { border-left-color: var(--yellow); background: #fff8cc; box-shadow: inset 0 0 0 1px rgba(255,224,0,.5); }
.deal-simple-status.wait span { color: #685700; }
.deal-simple-status.info { border-left-color: var(--blue); background: var(--soft-blue); box-shadow: inset 0 0 0 1px rgba(20,86,217,.18); }
.deal-simple-status.info span { color: var(--blue); }
.deal-simple-status.ok { border-left-color: var(--green); background: var(--soft-green); box-shadow: inset 0 0 0 1px rgba(18,148,71,.18); }
.deal-simple-status.ok span { color: var(--green); }
.deal-simple-status.bad { border-left-color: var(--danger); background: #fee2e2; box-shadow: inset 0 0 0 1px rgba(220,38,38,.18); }
.deal-simple-status.bad span { color: var(--danger); }
.deal-guide { display: grid; grid-template-columns: repeat(4,minmax(0,1fr)); gap: 8px; margin: 12px 0; }
.deal-guide span { display: grid; grid-template-columns: auto minmax(0,1fr); gap: 2px 7px; align-items: center; padding: 9px; border: 1px solid var(--line); border-radius: 8px; background: #fff; }
.deal-guide b { grid-row: 1 / span 2; display: grid; place-items: center; width: 24px; height: 24px; border-radius: 999px; background: #e5e7eb; color: var(--muted); font-size: .72rem; }
.deal-guide strong { font-size: .78rem; }
.deal-guide small { color: var(--muted); font-size: .66rem; line-height: 1.2; }
.deal-guide span.done b, .deal-guide span.active b { background: var(--green); color: #fff; }
.deal-guide span.active { border-color: var(--blue); background: var(--soft-blue); }
.deal-guide span.active b { background: var(--blue); }
.simple-deal-flow { display: grid; grid-template-columns: repeat(4,minmax(0,1fr)); gap: 6px; margin: 10px 0; }
.simple-deal-flow span { min-height: 34px; display: grid; place-items: center; border: 1px solid var(--line); border-radius: 999px; background: #fff; color: var(--muted); font-size: .76rem; font-weight: 950; }
.simple-deal-flow span.done { border-color: rgba(18,148,71,.35); background: var(--soft-green); color: var(--green); }
.simple-deal-flow span.active { border-color: rgba(20,86,217,.35); background: var(--soft-blue); color: var(--blue); }
.mini-deal-flow { max-width: 430px; margin: -4px 0 10px auto; }
.mini-deal-flow span { min-height: 26px; padding: 0 10px; font-size: .64rem; }
.upgraded-negotiation { display: grid; gap: 10px; }
.negotiation-tabs { display: grid; grid-template-columns: repeat(4,minmax(0,1fr)); gap: 6px; padding: 6px; border-radius: 12px; background: #eef4ff; }
.negotiation-tabs button { min-height: 42px; display: inline-flex; gap: 7px; align-items: center; justify-content: center; border: 1px solid transparent; border-radius: 10px; background: #fff; color: var(--blue); font-size: .78rem; font-weight: 950; cursor: pointer; }
.negotiation-tabs button span { display: grid; place-items: center; width: 22px; height: 22px; border-radius: 999px; background: rgba(255,255,255,.62); }
.negotiation-tabs .deal-tab-resumo { color: var(--blue); background: #eaf1ff; }
.negotiation-tabs .deal-tab-chat { color: var(--green); background: #e8f8ef; }
.negotiation-tabs .deal-tab-combinado { color: #8a6500; background: #fff7cc; }
.negotiation-tabs .deal-tab-avaliar { color: #a16207; background: #fff0bd; }
.negotiation-tabs button.active { color: #fff; box-shadow: 0 7px 16px rgba(20,86,217,.18); }
.negotiation-tabs .deal-tab-resumo.active { background: var(--blue); }
.negotiation-tabs .deal-tab-chat.active { background: var(--green); }
.negotiation-tabs .deal-tab-combinado.active { background: #b88900; }
.negotiation-tabs .deal-tab-avaliar.active { background: #d4a700; }
.deal-tab-panel { display: grid; gap: 10px; }
.deal-facts { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; padding: 9px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.deal-facts span { min-width: 0; }
.deal-facts small,.deal-facts strong { display: block; }
.deal-facts small { margin-bottom: 2px; color: var(--muted); font-size: .65rem; font-weight: 800; text-transform: uppercase; }
.deal-facts strong { overflow: hidden; font-size: .78rem; text-overflow: ellipsis; white-space: nowrap; }
.deal-primary-actions { display: flex; flex-wrap: wrap; gap: 7px; margin-top: 11px; }
.deal-primary-actions button { min-height: 36px; }
.deal-primary-actions a { min-height: 36px; }
.deal-primary-actions .chat-action { color: var(--blue); border-color: var(--blue); }
.deal-primary-actions .negotiate-action { color: #8a6500; border-color: #d8a900; }
.deal-note { margin: 9px 0 0; color: var(--muted); font-size: .72rem; line-height: 1.35; }
.safety-strip { display: grid; gap: 4px; padding: 11px; border: 1px solid rgba(20,86,217,.16); border-left: 4px solid var(--blue); border-radius: 10px; background: #f8fbff; }
.safety-strip p { color: var(--muted); font-size: .78rem; line-height: 1.35; }
.handoff-grid { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 8px; }
.handoff-grid article { display: grid; gap: 5px; padding: 11px; border: 1px solid var(--line); border-radius: 10px; background: #fff; }
.handoff-grid span { display: grid; place-items: center; width: 26px; height: 26px; border-radius: 999px; background: var(--soft-yellow); color: #8a6500; font-weight: 950; }
.handoff-grid strong { font-size: .86rem; }
.handoff-grid p { color: var(--muted); font-size: .75rem; line-height: 1.35; }
.deal-feedback { display: grid; gap: 7px; margin-top: 11px; padding: 11px; border: 1px solid #c7d7ff; border-radius: 8px; background: var(--soft-blue); }
.deal-feedback p { color: var(--muted); font-size: .78rem; line-height: 1.35; }
.deal-feedback div { display: grid; grid-template-columns: 1fr 1fr; gap: 7px; }
.evaluation-card { max-width: 760px; margin: 0 auto; }
.evaluation-head { margin-bottom: 16px; padding-bottom: 14px; border-bottom: 1px solid var(--line); }
.evaluation-form { display: grid; gap: 14px; }
.evaluation-options { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 10px; }
.evaluation-options label { display: grid; gap: 5px; min-height: 96px; padding: 14px; border: 2px solid var(--line); border-radius: 10px; background: #fff; cursor: pointer; }
.evaluation-options input { position: absolute; opacity: 0; }
.evaluation-options label:has(input:checked), .evaluation-options label.checked { border-color: var(--blue); background: var(--soft-blue); box-shadow: inset 0 0 0 1px rgba(20,86,217,.15); }
.evaluation-options strong { font-size: 1.08rem; }
.evaluation-options span { color: var(--muted); font-weight: 800; line-height: 1.3; }
.star-rating { display: inline-flex; justify-content: flex-start; gap: 3px; }
.star-rating button { display: grid; place-items: center; width: 39px; height: 39px; min-height: 39px; padding: 0; border: 1px solid #e5e7eb; border-radius: 9px; background: #f3f4f6; color: #c8a200; font-size: 1.35rem; line-height: 1; cursor: pointer; }
.star-rating button.selected, .star-rating button:hover { border-color: #f5d13f; background: var(--soft-yellow); color: #8a6500; transform: translateY(-1px); }
.compact-evaluation { max-width: 620px; }
.compact-evaluation .evaluation-head { margin-bottom: 10px; padding-bottom: 10px; }
.compact-evaluation .evaluation-head img { width: 56px; height: 56px; border-radius: 8px; object-fit: cover; }
.compact-evaluation .evaluation-head h2 { font-size: 1.05rem; line-height: 1.25; }
.compact-evaluation .evaluation-form { gap: 10px; }
.compact-evaluation .evaluation-form h3 { font-size: 1.15rem; margin: 0; }
.evaluation-options.simple { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.evaluation-options.simple label { min-height: 48px; display: flex; align-items: center; justify-content: center; padding: 10px 12px; border-radius: 9px; }
.evaluation-options.simple strong { font-size: 1rem; }
.better-evaluation .yes-no-options label { min-height: 54px; color: #fff; border: 0; box-shadow: 0 8px 16px rgba(31,41,55,.1); }
.better-evaluation .yes-option { background: #16a34a; }
.better-evaluation .no-option { background: #dc2626; }
.better-evaluation .yes-no-options label:has(input:checked), .better-evaluation .yes-no-options label.checked { outline: 3px solid rgba(20,86,217,.22); box-shadow: 0 10px 18px rgba(31,41,55,.18), inset 0 0 0 2px rgba(255,255,255,.72); }
.reason-panel { display: none; gap: 8px; padding: 10px; border: 1px solid var(--line); border-radius: 9px; background: #f8fafc; }
.reason-panel strong { font-size: .88rem; }
.evaluation-form.concluded-sim .positive-reasons { display: grid; }
.evaluation-form.concluded-nao .negative-reasons { display: grid; }
.evaluation-form:has(input[name="concluded"][value="sim"]:checked) .positive-reasons { display: grid; }
.evaluation-form:has(input[name="concluded"][value="nao"]:checked) .negative-reasons { display: grid; }
.reason-chips { display: flex; flex-wrap: wrap; gap: 6px; }
.reason-chips label { cursor: pointer; }
.reason-chips input { position: absolute; opacity: 0; }
.reason-chips span { display: inline-flex; min-height: 30px; align-items: center; padding: 0 10px; border: 1px solid var(--line); border-radius: 999px; background: #fff; color: var(--muted); font-size: .76rem; font-weight: 900; }
.reason-chips input:checked + span { border-color: var(--blue); background: var(--soft-blue); color: var(--blue); }
.compact-stars { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.compact-stars > label { margin: 0; }
.compact-evaluation textarea { min-height: 84px; }
.deal-chat-panel { margin-top: 10px; padding: 12px; border: 1px solid var(--line); border-radius: 8px; background: #fff; }
.deal-chat-panel.always-open { margin-top: 0; }
.deal-chat-head { display: flex; justify-content: space-between; align-items: center; }
.compact-messages { max-height: 300px; overflow-y: auto; margin: 10px 0; padding: 8px; background: #f7f8fa; border-radius: 7px; }
.compact-messages .message { padding: 8px 10px; font-size: .8rem; line-height: 1.35; }
.compact-messages .message small { display: block; margin-bottom: 2px; color: var(--muted); font-size: .62rem; font-weight: 950; text-transform: uppercase; }
@media (max-width: 680px) {
  .buy-start-card { grid-template-columns: 1fr; padding: 10px; gap: 10px; }
  .buy-start-media { min-height: 220px; max-height: 260px; }
  .buy-facts { grid-template-columns: repeat(2,minmax(0,1fr)); gap: 6px; }
  .checkout-options { grid-template-columns: 1fr; gap: 7px; padding: 8px; }
  .freight-summary { grid-template-columns: repeat(3,minmax(0,1fr)); gap: 5px; }
  .freight-summary div { padding: 7px 5px; }
  .freight-summary span { font-size: .55rem; }
  .freight-summary strong { font-size: .72rem; }
  .freight-rules-region { grid-template-columns: repeat(2,minmax(0,1fr)); gap: 6px; }
  .freight-rules-region span { padding: 7px; }
  .freight-rule-table { min-width: 720px; }
  .trust-flow { grid-template-columns: 1fr; gap: 6px; }
  .trust-flow div { grid-template-columns: auto minmax(0,1fr); align-items: center; padding: 8px; }
  .trust-flow small { grid-column: 2; }
  .buy-start-actions { grid-template-columns: minmax(0,1fr) 46px; }
  .negotiation-tabs { grid-template-columns: repeat(4,minmax(68px,1fr)); overflow-x: auto; padding: 5px; }
  .negotiation-tabs button { min-height: 36px; padding: 0 8px; font-size: .68rem; white-space: nowrap; }
  .handoff-grid { grid-template-columns: 1fr; gap: 6px; }
  .compact-deal-page { padding-top: 7px; }
  .deal-summary-card { padding: 10px; }
  .deal-product-head { grid-template-columns: 58px minmax(0,1fr); gap: 8px; }
  .deal-product-head img { width: 58px; height: 58px; }
  .deal-product-head .status { grid-column: 1/-1; justify-self: start; }
  .deal-product-head h2 { font-size: .86rem; }
  .deal-product-head > div > strong { font-size: 1.05rem; }
  .deal-progress { margin: 12px 0 9px; }
  .deal-progress div { font-size: .58rem; }
  .deal-progress i { width: 24px; height: 24px; border-width: 2px; font-size: .58rem; }
  .deal-progress::before { top: 11px; }
  .deal-facts { grid-template-columns: 1fr; gap: 6px; }
  .deal-primary-actions { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); }
  .deal-primary-actions button { min-height: 38px; padding: 0 6px; font-size: .7rem; }
  .deal-primary-actions .chat-action { grid-column: 1/-1; }
  .deal-chat-panel { padding: 9px; }
  .chat-input { grid-template-columns: 1fr; }
}
.empty { padding: 24px; border: 1px dashed #cbd5e1; border-radius: 8px; background: #fff; color: var(--muted); text-align: center; font-weight: 700; }
.access-page { padding-top: 26px; }
.simple-access-page { min-height: calc(100vh - 120px); display: grid; align-items: start; }
.simple-auth { width: min(760px,100%); margin: 0 auto; display: grid; gap: 12px; }
.simple-auth-head { display: flex; gap: 12px; align-items: center; padding: 12px 0; }
.simple-auth-head h1 { font-size: clamp(1.6rem,4vw,2.4rem); line-height: 1; }
.simple-auth-head p { margin-top: 4px; color: var(--muted); }
.compact-login { padding: 14px; border-top: 4px solid var(--blue); }
.login-inline { display: grid; grid-template-columns: minmax(160px,1fr) minmax(120px,.8fr) auto; gap: 10px; align-items: end; }
.auth-toggle-row { display: flex; gap: 8px; align-items: center; justify-content: center; }
.clean-signup { border-top-color: var(--yellow); }
.simple-uf { border: 1px solid var(--line); border-top: 4px solid var(--yellow); border-radius: 8px; }
.login-landing { padding: 0; background: linear-gradient(90deg,#eaf1ff 0,#f8fbff 58%,#eef4ff 100%); }
.login-access-layout { min-height: calc(100vh - 68px); grid-template-columns: minmax(0,1.04fr) minmax(390px,.78fr); gap: 0; align-items: stretch; }
.retail-access-left { position: sticky; top: 68px; display: grid; border-radius: 0; box-shadow: none; background: #f8fbff; }
.retail-cover { min-height: 610px; align-items: start; padding: clamp(24px,4vw,44px); background: linear-gradient(90deg,rgba(248,251,255,.98) 0,rgba(248,251,255,.88) 39%,rgba(248,251,255,.14) 72%), url("assets/reusebrasil-login-varejo.png") center bottom/cover no-repeat; color: var(--ink); }
.retail-cover .access-offer { max-width: 660px; }
.retail-cover h1 { max-width: 520px; margin: 12px 0 9px; color: var(--blue); font-size: clamp(2.35rem,4.7vw,4.35rem); line-height: .92; letter-spacing: 0; }
.retail-cover p { max-width: 460px; color: var(--green); font-size: clamp(.94rem,1.15vw,1.04rem); font-weight: 900; line-height: 1.34; }
.retail-tags { display: flex; flex-wrap: wrap; gap: 8px; max-width: 560px; margin-top: 18px; }
.retail-tags span { padding: 8px 10px; border-radius: 999px; background: #fff; color: var(--blue); font-size: .78rem; font-weight: 950; box-shadow: 0 7px 18px rgba(20,86,217,.1); }
.access-uf { border: 0; border-top: 1px solid rgba(20,86,217,.14); background: rgba(255,255,255,.9); }
.retail-auth-stack { align-content: center; justify-content: center; gap: 14px; padding: clamp(22px,4vw,48px) clamp(18px,3vw,36px); background: #f8fafc; box-shadow: -24px 0 60px rgba(20,86,217,.07); }
.retail-auth-stack > * { width: min(430px,100%); justify-self: center; }
.retail-login-card, .retail-signup-intro, .retail-signup-form { border: 0; border-radius: 8px; box-shadow: 0 18px 40px rgba(15,23,42,.14); }
.retail-login-card { padding: 24px; background: #103b7f; color: #fff; }
.retail-login-card .access-kicker, .retail-login-card .form-note, .retail-login-card label { color: rgba(255,255,255,.86); }
.retail-login-card h2, .retail-signup-intro h2 { margin-bottom: 8px; font-size: 1.35rem; }
.retail-login-card .field input { min-height: 46px; border: 0; background: #fff; color: var(--ink); }
.retail-login-card .primary { min-height: 46px; margin-top: 10px; background: #145fe6; }
.retail-login-card .text-link { margin-top: 10px; padding: 0; color: #fff; text-align: left; }
.login-compact-lines { display: grid; gap: 10px; }
.password-line > div { display: grid; grid-template-columns: minmax(0,1fr) 46px; gap: 8px; }
.enter-icon { display: grid; place-items: center; min-height: 46px; border: 0; border-radius: 7px; background: var(--green); color: #fff; box-shadow: 0 8px 18px rgba(18,148,71,.25); }
.enter-icon svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 2.5; stroke-linecap: round; stroke-linejoin: round; }
.retail-signup-intro { padding: 20px; background: #0b8741; color: #fff; }
.retail-signup-intro .access-kicker, .retail-signup-intro .form-note { color: rgba(255,255,255,.88); }
.retail-signup-intro .secondary { margin-top: 10px; border: 0; color: var(--green); }
.retail-signup-intro .ghost { margin-top: 6px; color: #fff; }
.retail-signup-form { padding: 18px; border-left: 5px solid var(--yellow); background: var(--green); color: #fff; }
.retail-signup-form .access-kicker, .retail-signup-form .form-note, .retail-signup-form label { color: rgba(255,255,255,.9); }
.retail-signup-form .section-head .ghost { color: #fff; }
.retail-signup-form .plan-auto { border-color: rgba(255,255,255,.26); background: rgba(255,255,255,.12); color: #fff; }
.retail-signup-form .plan-auto span { color: rgba(255,255,255,.82); }
.admin-access-page { min-height: 100vh; display: grid; place-items: center; padding: 24px 0; }
.admin-login-shell { width: min(460px, calc(100% - 28px)); margin: 0 auto; }
.admin-login-card { border-top: 6px solid var(--blue); box-shadow: 0 22px 50px rgba(20,86,217,.16); }
.admin-login-card h1 { color: var(--blue); font-size: clamp(2rem,5vw,3rem); line-height: 1; }
.access-layout { display: grid; grid-template-columns: minmax(0,1.08fr) minmax(390px,.92fr); gap: 18px; align-items: start; }
.clean-access .signup-card { border-top-color: var(--yellow); }
.clean-access .signup-card .access-kicker { color: #6b5b00; }
.access-left { position: sticky; top: 92px; overflow: hidden; border-radius: 8px; background: #fff; box-shadow: var(--shadow); }
.access-photo { min-height: 620px; display: flex; align-items: end; padding: 34px; color: #fff; background: linear-gradient(180deg,rgba(12,28,52,.05) 18%,rgba(10,30,46,.9) 100%),url("https://images.unsplash.com/photo-1556742049-0cfed4f6a45d?auto=format&fit=crop&w=1400&q=85") center/cover; }
.access-photo.retail-cover { min-height: 610px; align-items: start; padding: clamp(24px,4vw,44px); color: var(--ink); background: linear-gradient(90deg,rgba(248,251,255,.98) 0,rgba(248,251,255,.88) 39%,rgba(248,251,255,.14) 72%), url("assets/reusebrasil-login-varejo.png") center bottom/cover no-repeat; }
.access-offer { max-width: 620px; }
.access-offer h1 { margin: 13px 0; font-size: clamp(2.1rem,4.7vw,4.5rem); line-height: .98; }
.access-offer p { max-width: 520px; margin-bottom: 20px; color: rgba(255,255,255,.9); font-size: 1.02rem; line-height: 1.5; }
.retail-cover .access-offer h1 { max-width: 520px; margin: 12px 0 9px; color: var(--blue); font-size: clamp(2.35rem,4.7vw,4.35rem); line-height: .92; }
.retail-cover .access-offer p { max-width: 460px; margin-bottom: 0; color: var(--green); font-size: clamp(.94rem,1.15vw,1.04rem); font-weight: 900; line-height: 1.34; }
.uf-bar { display: grid; grid-template-columns: 1fr 110px; gap: 16px; align-items: center; padding: 18px 20px; border-top: 5px solid var(--yellow); background: #fff; }
.uf-bar strong, .uf-bar span { display: block; }
.uf-bar span { margin-top: 4px; color: var(--muted); font-size: .82rem; }
.uf-bar select { width: 100%; min-height: 46px; border: 2px solid var(--blue); border-radius: 6px; background: #fff; color: var(--blue); text-align: center; font-weight: 900; }
.auth-stack { display: grid; gap: 14px; }
.login-card, .signup-card { box-shadow: var(--shadow); }
.login-card { border-top: 5px solid var(--blue); }
.signup-card { border-top: 5px solid var(--green); }
.access-kicker { display: block; margin-bottom: 7px; color: var(--blue); font-size: .72rem; font-weight: 900; }
.signup-card .access-kicker { color: var(--green); }
.login-actions { display: flex; justify-content: space-between; gap: 12px; align-items: center; margin: 13px 0; }
.check { display: flex; gap: 8px; align-items: flex-start; color: var(--muted); font-size: .82rem; line-height: 1.4; }
.check input { width: 17px; height: 17px; margin: 1px 0 0; accent-color: var(--blue); }
.terms { margin: 14px 0; }
.text-link { min-height: 32px; border: 0; background: transparent; color: var(--blue); font-size: .8rem; font-weight: 800; }
.login-card .wide + .wide { margin-top: 8px; }
.demo-access { display: grid; gap: 3px; margin-top: 13px; padding: 10px 12px; border-left: 4px solid var(--yellow); background: var(--soft-yellow); color: #5c4c00; font-size: .78rem; }
.signup-open-row { display: grid; gap: 9px; padding: 18px; border: 0; border-left: 5px solid var(--yellow); border-radius: 8px; background: var(--green); color: #fff; box-shadow: 0 12px 26px rgba(18,148,71,.22); }
.signup-open-row .access-kicker { margin-bottom: 0; color: rgba(255,255,255,.86); }
.signup-open-row strong { font-size: 1.08rem; }
.signup-open-row .primary { background: #fff; color: var(--green); }
.login-collapsed { padding: 16px 18px; }
.login-collapsed .secondary { margin-top: 8px; border: 0; color: var(--blue); }
.signup-compact-grid { gap: 10px; }
.access-benefits { display: grid; grid-template-columns: repeat(4,minmax(0,1fr)); gap: 10px; padding: 14px; }
.access-benefits article { min-width: 0; padding: 13px; border-radius: 8px; background: #fff; border: 1px solid rgba(20,86,217,.1); box-shadow: 0 8px 20px rgba(31,41,55,.07); }
.access-benefits strong, .access-benefits span { display: block; }
.access-benefits strong { color: var(--blue); font-size: .88rem; line-height: 1.15; }
.access-benefits span { margin-top: 5px; color: var(--green); font-size: .72rem; font-weight: 800; line-height: 1.25; }
.mobile-benefits { display: none; }
.plan-auto { display: grid; gap: 4px; padding: 12px; border: 1px solid #bde8cc; border-radius: 6px; background: var(--soft-green); color: var(--green); }
.plan-auto span { color: #38634a; font-size: .8rem; line-height: 1.4; }
.user-panel-head { position: sticky; top: 66px; z-index: 19; border-bottom: 1px solid rgba(255,255,255,.18); background: var(--blue); box-shadow: 0 8px 18px rgba(20,86,217,.18); }
.user-panel-inner, .admin-bar-inner { display: flex; justify-content: center; gap: 18px; align-items: center; padding: 8px 0; }
.user-panel-inner strong, .admin-bar-inner strong { display: block; font-size: 1.08rem; }
.user-tabs { display: flex; gap: 7px; align-items: center; width: 100%; min-width: 0; }
.account-tabs { justify-content: space-between; overflow: hidden; }
.tabs-main, .tabs-tools { display: flex; gap: 7px; align-items: center; }
.tabs-main { min-width: 0; overflow-x: auto; }
.tabs-tools { flex: 0 0 auto; justify-content: flex-end; }
.user-tabs button { flex: 0 0 auto; min-height: 34px; padding: 0 16px; border: 1px solid rgba(255,255,255,.22); border-radius: 6px; background: rgba(255,255,255,.12); color: #fff; font-weight: 900; }
.user-tabs button.active { border-color: #fff; background: #fff; color: var(--blue); }
.user-tabs .icon-tab { width: 38px; min-width: 38px; padding: 0; }
.user-tabs .icon-tab span { display: grid; place-items: center; }
.user-tabs svg { width: 17px; height: 17px; fill: none; stroke: currentColor; stroke-width: 2.15; stroke-linecap: round; stroke-linejoin: round; }
.seller-switch { justify-content: flex-start; }
.notice-link { position: relative; }
.notif-bubble { position: absolute; top: -7px; right: -6px; display: grid; place-items: center; min-width: 19px; height: 19px; padding: 0 5px; border: 2px solid var(--yellow); border-radius: 999px; background: var(--danger); color: #fff; font-size: .62rem; line-height: 1; box-shadow: 0 5px 12px rgba(220,38,38,.22); }
.notification-panel { border-left: 5px solid var(--green); }
.seller-alert-columns { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 10px; margin-top: 12px; }
.seller-alert-columns h4 { margin-bottom: 7px; font-size: .82rem; color: var(--blue); text-transform: uppercase; letter-spacing: .04em; }
.seller-alert-columns .notification-item { margin-bottom: 7px; }
.notification-total { display: grid; place-items: center; min-width: 42px; height: 42px; border-radius: 999px; background: var(--yellow); color: #5c4c00; font-size: 1.15rem; font-weight: 900; }
.notification-list { display: grid; grid-template-columns: repeat(4,minmax(0,1fr)); gap: 10px; margin-top: 12px; }
.notification-item { display: grid; gap: 6px; min-width: 0; padding: 12px; border: 1px solid var(--line); border-radius: 8px; background: #fff; }
.notification-item span { color: var(--blue); font-size: .7rem; font-weight: 900; text-transform: uppercase; }
.notification-item strong, .notification-item p { overflow: hidden; text-overflow: ellipsis; }
.notification-item p { color: var(--muted); font-size: .8rem; line-height: 1.35; }
.evaluate-button { border-color: rgba(18,148,71,.28); background: var(--green); color: #fff; }
.chat-settings-disabled { border-left: 5px solid #64748b; opacity: .96; }
.chat-settings-disabled textarea { min-height: 76px; resize: vertical; }
.chat-config-grid { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 10px; }
.chat-config-grid label { display: grid; gap: 6px; color: var(--muted); font-size: .72rem; font-weight: 950; text-transform: uppercase; }
.chat-config-grid input, .chat-config-grid textarea { width: 100%; border: 1px solid var(--line); border-radius: 8px; background: #f8fafc; padding: 10px; color: #64748b; font: inherit; text-transform: none; }
.chat-disabled-note { display: flex; justify-content: space-between; gap: 12px; align-items: center; margin-top: 12px; padding: 12px; border: 1px dashed #94a3b8; border-radius: 8px; background: #f8fafc; }
.chat-disabled-note p { color: var(--muted); line-height: 1.35; }
.personalization-panel { border-left: 5px solid var(--blue); }
.personalize-grid { display: grid; grid-template-columns: minmax(0,1.6fr) minmax(280px,.7fr); gap: 12px; align-items: start; }
.personalize-subtabs { margin-top: 0; overflow-x: auto; }
.compact-form-grid { grid-template-columns: repeat(4,minmax(0,1fr)); }
.editable-list { display: grid; gap: 7px; margin-top: 10px; }
.editable-row { display: grid; grid-template-columns: minmax(120px,1fr) 62px 54px 36px 36px; gap: 6px; align-items: center; min-height: 42px; padding: 6px; border: 1px solid var(--line); border-radius: 7px; background: #fff; }
.editable-row input { width: 100%; min-height: 32px; border: 1px solid var(--line); border-radius: 6px; padding: 0 8px; }
.editable-row input[type="color"] { padding: 2px; }
.editable-row .action-icon { width: 34px; height: 34px; }
.editable-row.add-row { grid-template-columns: minmax(140px,1fr) 62px 54px auto; background: #f8fafc; }
.seal-editor .editable-row { grid-template-columns: 90px minmax(130px,1fr) 70px 54px 36px; }
.seller-subtabs .icon-tab { width: 36px; min-width: 36px; padding: 0; justify-content: center; }
.seller-subtabs svg { width: 16px; height: 16px; }
.color-grid input[type="color"] { min-height: 46px; padding: 4px; }
.campaign-preview { border-left: 5px solid var(--yellow); }
.campaign-preview h3 { margin-top: 10px; font-size: 1.5rem; line-height: 1.05; }
.campaign-preview p { margin-top: 8px; color: var(--muted); line-height: 1.45; }
.preview-colors { display: grid; grid-template-columns: repeat(4,1fr); gap: 8px; margin-top: 14px; }
.preview-colors i { display: block; height: 44px; border-radius: 7px; border: 1px solid rgba(31,41,55,.12); }
.layout-editor-panel { display: grid; gap: 10px; }
.layout-fieldset { display: grid; gap: 8px; padding: 10px; border: 1px solid var(--line); border-radius: 9px; background: #f8fbff; }
.layout-fieldset > span { color: var(--blue); font-size: .73rem; font-weight: 950; text-transform: uppercase; }
.benefit-editor-grid { grid-template-columns: repeat(2,minmax(0,1fr)); gap: 8px; }
.benefit-edit-card { display: grid; gap: 7px; padding: 8px; border: 1px solid rgba(20,86,217,.14); border-radius: 8px; background: #fff; }
.account-toolbar { display: grid; grid-template-columns: minmax(180px,1fr) minmax(150px,240px); gap: 8px; margin: 14px 0; }
.account-toolbar input, .account-toolbar select { min-height: 42px; border: 1px solid var(--line); border-radius: 6px; background: #fff; padding: 0 12px; outline: 0; }
.admin-bar { background: #111827; color: #fff; }
.admin-shell .admin-bar { background: linear-gradient(90deg,#0f3fa8,#1456d9); }
.admin-bar span { display: block; margin-bottom: 4px; color: var(--yellow); font-size: .72rem; font-weight: 900; }
.table-select { min-height: 36px; border: 1px solid var(--line); border-radius: 6px; background: #fff; padding: 0 8px; font-weight: 700; }
.admin-page { padding-top: 18px; }
.admin-tabs { position: sticky; top: 82px; z-index: 12; display: flex; gap: 8px; overflow-x: auto; margin: 0 0 16px; padding: 10px; border: 1px solid var(--line); border-radius: 8px; background: rgba(255,255,255,.96); box-shadow: 0 8px 20px rgba(31,41,55,.08); }
.admin-tabs button { flex: 0 0 auto; min-height: 38px; padding: 0 13px; border: 1px solid var(--line); border-radius: 6px; background: #fff; color: var(--ink); font-weight: 900; }
.admin-tabs button.active { border-color: var(--blue); background: var(--blue); color: #fff; }
.admin-hero-panel { display: grid; grid-template-columns: 1fr minmax(220px,.32fr); gap: 16px; align-items: stretch; padding: 22px; border-radius: 8px; color: #fff; background: linear-gradient(115deg,rgba(17,24,39,.96),rgba(20,86,217,.82)),url("https://images.unsplash.com/photo-1554224155-6726b3ff858f?auto=format&fit=crop&w=1400&q=80") center/cover; box-shadow: var(--shadow); }
.admin-hero-panel h2 { margin: 6px 0; font-size: clamp(1.8rem,4vw,3.2rem); line-height: 1; }
.admin-hero-panel p { max-width: 720px; color: rgba(255,255,255,.86); line-height: 1.5; }
.admin-hero-panel .access-kicker { color: var(--yellow); }
.admin-hero-metric { display: grid; align-content: center; padding: 18px; border: 1px solid rgba(255,255,255,.25); border-radius: 8px; background: rgba(255,255,255,.12); }
.admin-hero-metric span, .admin-hero-metric small { color: rgba(255,255,255,.8); font-weight: 800; }
.admin-hero-metric strong { margin: 6px 0; font-size: 2rem; }
.admin-kpis { margin-top: 14px; }
.stat small { display: block; margin-top: 5px; color: var(--muted); font-size: .75rem; font-weight: 700; }
.compact-stats { grid-template-columns: repeat(2,minmax(0,1fr)); margin-top: 14px; }
.mini-chart { display: grid; gap: 10px; margin-top: 13px; }
.chart-row { display: grid; grid-template-columns: minmax(110px,.8fr) minmax(120px,1.4fr) auto; gap: 10px; align-items: center; }
.chart-row span { color: var(--muted); font-size: .82rem; font-weight: 800; }
.chart-row div { height: 12px; overflow: hidden; border-radius: 999px; background: #e5e7eb; }
.chart-row i { display: block; height: 100%; border-radius: inherit; background: linear-gradient(90deg,var(--yellow),var(--green),var(--blue)); }
.chart-row b { font-size: .85rem; }
.sales-dashboard { display: grid; gap: 16px; }
.sales-kpis { display: grid; grid-template-columns: repeat(6,minmax(0,1fr)); gap: 10px; margin-top: 12px; }
.sales-dashboard .kanban { grid-template-columns: repeat(5,minmax(180px,1fr)); }
.settings-tabs { display: grid; gap: 14px; }
.settings-tabs article { padding: 14px; border: 1px solid var(--line); border-radius: 8px; background: #f9fafb; }
.settings-tabs h4 { margin: 0 0 10px; }
.process-flow { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 10px; }
.process-flow div { padding: 13px; border: 1px solid var(--line); border-radius: 7px; background: #fff; }
.process-flow p { margin-top: 5px; color: var(--muted); line-height: 1.4; }
.admin-ops-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.ops-queue { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 9px; margin-top: 12px; }
.ops-queue article { display: grid; gap: 6px; padding: 12px; border: 1px solid var(--line); border-left: 4px solid var(--blue); border-radius: 8px; background: #fff; }
.ops-queue span { color: var(--muted); font-size: .72rem; font-weight: 900; text-transform: uppercase; }
.ops-queue strong { font-size: 1.7rem; }
.ops-queue p { color: var(--muted); font-size: .78rem; line-height: 1.3; }
.danger-maintenance { border-left: 4px solid var(--danger); background: #fff7f7; }
.upgrade-head { max-width: 760px; margin: 10px auto 24px; text-align: center; }
.upgrade-head h1 { margin: 13px 0; font-size: clamp(2rem,5vw,4rem); line-height: 1; }
.upgrade-head p { color: var(--muted); line-height: 1.55; }
.upgrade-grid { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 16px; max-width: 900px; margin: 0 auto; }
.upgrade-card { padding: 24px; border: 1px solid var(--line); border-top: 6px solid var(--blue); border-radius: 8px; background: #fff; box-shadow: var(--shadow); }
.upgrade-card.prime { border-top-color: var(--green); }
.upgrade-card h2 { margin: 8px 0; }
.upgrade-card p { color: var(--muted); line-height: 1.5; }
.upgrade-card ul { margin: 18px 0; padding-left: 20px; line-height: 1.9; }
.whatsapp-button { display: flex; align-items: center; justify-content: center; text-decoration: none; background: var(--green); }
.footer { background: #111827; color: #fff; }
.footer .wrap { display: grid; grid-template-columns: 1fr auto; gap: 20px; align-items: center; padding: 28px 0; }
.footer p { margin-top: 5px; color: #cbd5e1; }

@media (max-width: 980px) {
  .nav-main { grid-template-columns: 1fr; }
  .clean-nav-main { grid-template-columns: auto 1fr; }
  .mobile-nav { display: grid; }
  .hero, .detail, .form-layout, .dashboard { grid-template-columns: 1fr; }
  .access-layout, .shop-hero { grid-template-columns: 1fr; }
  .login-access-layout { min-height: 0; grid-template-columns: 1fr; }
  .retail-access-left { position: static; }
  .access-photo.retail-cover { min-height: 420px; }
  .desktop-benefits { display: none; }
  .mobile-benefits { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); padding: 0; }
  .retail-auth-stack { padding: 18px; }
  .upgrade-grid { grid-template-columns: 1fr; }
  .access-left { position: static; }
  .access-photo { min-height: 480px; }
  .categories { grid-template-columns: repeat(3,1fr); }
  .products, .stats { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .kanban { grid-template-columns: repeat(5,210px); }
  .capacity-summary { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .capacity-row { grid-template-columns: 1fr; }
  .sales-kpis { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .notification-list { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .sales-dashboard .kanban { grid-template-columns: repeat(5,210px); }
  .admin-list-toolbar, .admin-list-filters, .process-flow { grid-template-columns: 1fr; }
}
@media (max-width: 620px) {
  .topline { display: none; }
  .wrap { width: min(100% - 12px,1240px); }
  .app-toast { top: 58px; right: 8px; left: 8px; max-width: none; padding: 11px 12px; }
  .nav { box-shadow: 0 4px 12px rgba(31,41,55,.11); }
  .nav-main { gap: 7px; padding: 7px 0 5px; }
  .clean-nav-main { grid-template-columns: auto 1fr; align-items: center; }
  .brand { justify-content: flex-start; gap: 7px; font-size: .9rem; }
  .brand-mark { width: 32px; height: 32px; border-width: 2px; border-radius: 6px; font-size: .78rem; }
  .user-top-brand { gap: 7px; }
  .brand-flag { width: 42px; height: 42px; flex-basis: 42px; border-radius: 10px; }
  .brand-brasil .user-brand-copy { max-width: 170px; }
  .brand-word { font-size: .92rem; }
  .user-brand-copy .brand-word { font-size: .9rem; }
  .brand-on-light, .user-brand-copy .brand-word { padding: 3px 5px; border-radius: 7px; }
  .user-brand-copy small { display: block; max-width: 160px; font-size: .62rem; }
  .search { min-height: 36px; border-width: 1px; }
  .search input { padding: 0 10px; font-size: .86rem; }
  .search button { width: 54px; font-size: .76rem; }
  .nav-actions { display: none; }
  .clean-actions { display: flex; justify-content: flex-end; min-width: 0; }
  .guest-menu { gap: 5px; }
  .guest-menu .primary, .guest-menu .secondary { min-height: 31px; padding: 0 8px; font-size: .7rem; }
  .account-menu { gap: 5px; min-width: 0; }
  .account-menu strong { display: none; }
  .icon-link { width: 40px; min-width: 40px; min-height: 38px; justify-content: center; padding: 0; border-radius: 11px; background: #fff; font-size: 0; box-shadow: 0 4px 10px rgba(31,41,55,.12); }
  .icon-link.menu-buy, .icon-link.menu-seller { width: auto; min-width: 78px; padding: 0 7px; gap: 5px; font-size: .68rem; color: #fff; white-space: nowrap; }
  .icon-link.menu-buy { background: linear-gradient(135deg,var(--blue),#0f49bd); }
  .icon-link.menu-seller { background: linear-gradient(135deg,var(--green),#087a38); border-color: rgba(18,148,71,.35); }
  .icon-link.icon-only { width: 39px; min-width: 39px; }
  .icon-link span { width: 27px; height: 27px; border-radius: 50%; }
  .menu-account span { background: var(--soft-blue); color: var(--blue); }
  .menu-seller span { background: rgba(255,255,255,.18); color: #fff; }
  .menu-settings span { background: var(--soft-yellow); color: #8a6500; }
  .menu-account.active span { background: var(--blue); color: #fff; }
  .menu-seller.active { color: #fff; }
  .menu-seller.active span { background: rgba(255,255,255,.22); color: #fff; }
  .menu-settings.active span { background: #d4a700; color: #fff; }
  .notif-bubble { top: -6px; right: -5px; min-width: 16px; height: 16px; padding: 0 4px; font-size: .54rem; border-width: 1px; }
  .icon-link svg { width: 18px; height: 18px; }
  .mobile-nav { gap: 4px; padding-bottom: 6px; }
  .mobile-nav button { min-height: 30px; border-radius: 5px; font-size: .68rem; }
  .page { padding: 12px 0 28px; }
  .section { margin-top: 15px; }
  .hero { gap: 8px; }
  .hero-main { min-height: 260px; padding: 18px; }
  .hero h1 { font-size: 2rem; }
  .hero p { margin-top: 8px; font-size: .88rem; line-height: 1.4; }
  .hero-badges span, .badge, .status { padding: 5px 7px; font-size: .64rem; }
  .hero-side { grid-template-columns: 1fr 1fr; gap: 8px; }
  .deal { min-height: 118px; padding: 12px; }
  .deal h3 { font-size: .95rem; line-height: 1.15; }
  .deal .secondary { min-height: 32px; padding: 0 8px; font-size: .72rem; }
  .login-landing { background: #f8fafc; }
  .access-photo.retail-cover { min-height: 0; aspect-ratio: 16/7.2; padding: 14px; background-size: cover; background-position: 67% 58%; }
  .retail-cover h1, .retail-cover .access-offer h1 { max-width: 280px; font-size: 1.45rem; line-height: .98; }
  .retail-cover p, .retail-cover .access-offer p { display: none; }
  .retail-tags { gap: 6px; margin-top: 10px; }
  .retail-tags span { padding: 6px 8px; font-size: .64rem; }
  .access-uf { grid-template-columns: 1fr 82px; padding: 12px; }
  .retail-auth-stack { gap: 10px; padding: 12px 6px 20px; }
  .retail-login-card, .retail-signup-intro, .retail-signup-form { padding: 14px; border-radius: 8px; }
  .login-collapsed { padding: 12px; }
  .signup-open-row { padding: 12px; }
  .password-line > div { grid-template-columns: minmax(0,1fr) 42px; gap: 6px; }
  .enter-icon { min-height: 42px; }
  .mobile-benefits { gap: 7px; }
  .access-benefits article { padding: 10px; }
  .access-benefits strong { font-size: .74rem; }
  .access-benefits span { font-size: .62rem; }
  .retail-login-card .field input, .retail-login-card .primary { min-height: 42px; }
  .shop-hero { gap: 9px; margin-bottom: 10px; padding: 14px; }
  .shop-hero h1 { font-size: 1.45rem; }
  .shop-hero p { font-size: .82rem; line-height: 1.35; }
  .shop-hero-card { grid-template-columns: auto 1fr; align-items: center; padding: 12px; }
  .shop-hero-card strong { font-size: 1.55rem; }
  .shop-hero-card .secondary { grid-column: 1/-1; min-height: 32px; }
  .shop-page { padding-top: 7px; }
  .shop-banner-carousel-shell { border-radius: 10px; }
  .shop-banner-slide { min-height: 116px; padding: 14px 46px; }
  .shop-banner-slide div { max-width: 100%; }
  .shop-banner-slide h2 { font-size: 1.03rem; line-height: 1.08; }
  .shop-banner-slide p { display: none; }
  .shop-banner-slide .secondary { min-height: 31px; margin-top: 8px; padding: 0 10px; font-size: .68rem; }
  .banner-arrow { width: 26px; height: 36px; font-size: 1.05rem; }
  .banner-arrow.prev { left: 7px; }
  .banner-arrow.next { right: 7px; }
  .banner-dots { bottom: 6px; }
  .banner-dots button { width: 14px; height: 5px; }
  .banner-dots button.active { width: 24px; }
  .shop-controls { gap: 6px; margin-bottom: 8px; padding: 7px; border-radius: 7px; }
  .modern-shop-controls { position: sticky; top: 82px; grid-template-columns: 1fr; margin-bottom: 0; border-radius: 10px; }
  .shop-controls input,.shop-controls select { min-height: 36px; padding: 0 9px; font-size: .78rem; }
  .shop-filter-row { grid-template-columns: repeat(2,minmax(0,1fr)); gap: 6px; }
  .shop-showcase { grid-template-columns: 1fr; gap: 8px; }
  .shop-feature-card { grid-template-columns: 112px minmax(0,1fr); border-radius: 10px; }
  .shop-feature-media { min-height: 132px; }
  .shop-feature-info { gap: 6px; padding: 10px; }
  .shop-feature-info h1 { font-size: 1rem; line-height: 1.15; }
  .shop-feature-info p { display: none; }
  .shop-feature-price { gap: 6px; }
  .shop-feature-price strong { font-size: 1.15rem; }
  .shop-feature-actions { display: grid; grid-template-columns: 1fr 1fr; gap: 6px; }
  .shop-feature-actions button { min-height: 34px; padding: 0 7px; font-size: .7rem; }
  .shop-live-strip { grid-template-columns: repeat(3,minmax(0,1fr)); gap: 6px; }
  .shop-live-strip div { min-height: 54px; padding: 8px 6px; border-radius: 9px; }
  .shop-live-strip strong { font-size: 1rem; }
  .shop-live-strip span { font-size: .58rem; }
  .shop-category-strip { gap: 6px; padding-bottom: 5px; }
  .shop-category-chip { grid-template-columns: 23px minmax(56px,1fr) auto; gap: 5px; min-height: 36px; padding: 5px 8px; }
  .shop-category-chip span { width: 23px; height: 23px; font-size: .58rem; }
  .shop-category-chip strong, .shop-category-chip small { font-size: .64rem; }
  .shop-list-head { align-items: flex-end; }
  .shop-list-head small { display: none; }
  .shop-flash-banner { border-radius: 10px; }
  .shop-flash-head { padding: 9px 9px 5px; }
  .shop-flash-head strong { font-size: .86rem; }
  .shop-flash-head small { display: none; }
  .shop-carousel { grid-auto-columns: minmax(220px,78vw); gap: 7px; padding: 0 40px 10px; }
  .shop-carousel-card { grid-template-columns: 76px minmax(0,1fr); min-height: 86px; padding: 7px; border-radius: 10px; }
  .shop-carousel-card img { width: 76px; height: 70px; border-radius: 8px; }
  .shop-carousel-card div { min-height: 70px; }
  .shop-carousel-card strong { margin-top: 4px; font-size: .76rem; }
  .shop-carousel-card b { margin-top: 3px; font-size: .9rem; }
  .shop-carousel-card .badge { padding: 3px 5px; font-size: .58rem; }
  .carousel-arrow { bottom: 31px; width: 28px; height: 44px; font-size: 1.25rem; }
  .carousel-arrow.prev { left: 6px; }
  .carousel-arrow.next { right: 6px; }
  .shop-category-grid { grid-template-columns: repeat(4,minmax(0,1fr)); gap: 5px; }
  .shop-category-tile { min-height: 58px; gap: 3px; padding: 6px 3px; border-radius: 9px; }
  .shop-category-tile span { width: 25px; height: 25px; border-radius: 8px; }
  .shop-category-tile svg { width: 14px; height: 14px; }
  .shop-category-tile strong { font-size: .6rem; }
  .shop-category-tile small { font-size: .5rem; }
  .featured-section { padding: 10px; }
  .account-hero { grid-template-columns: 1fr; gap: 10px; padding: 14px; }
  .account-hero h1 { font-size: 1.45rem; }
  .account-hero p { font-size: .82rem; }
  .onboard-card { margin-bottom: 8px; padding: 10px; border-radius: 10px; }
  .onboard-card h2 { font-size: 1.02rem; }
  .onboard-actions { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); }
  .onboard-actions .ghost { grid-column: 1/-1; }
  .compact-onboard { grid-template-columns: 1fr; gap: 7px; }
  .compact-onboard > div { min-height: auto; padding: 8px; }
  .compact-onboard .ghost { width: 100%; }
  .account-dashboard-clean { grid-template-columns: 1fr; }
  .deal-row { min-height: 52px; padding: 8px; }
  .deal-row strong { font-size: .8rem; }
  .deal-row p { font-size: .72rem; }
  .access-photo { min-height: 430px; padding: 23px; }
  .access-offer h1 { font-size: 2.4rem; }
  .uf-bar { grid-template-columns: 1fr 86px; padding: 15px; }
  .login-actions { align-items: flex-start; flex-direction: column; }
  .login-inline, .account-toolbar { grid-template-columns: 1fr; }
  .user-panel-inner, .admin-bar-inner { align-items: center; flex-direction: row; }
  .user-panel-head { top: 39px; z-index: 19; }
  .user-panel-inner, .admin-bar-inner { gap: 6px; padding: 6px 0; }
  .user-panel-inner strong, .admin-bar-inner strong { font-size: .95rem; }
  .user-panel-inner small { font-size: .72rem; }
  .user-tabs { width: 100%; min-width: 0; gap: 5px; padding-bottom: 2px; }
  .account-tabs { justify-content: space-between; overflow: hidden; }
  .tabs-main { gap: 5px; overflow-x: auto; }
  .tabs-tools { gap: 5px; }
  .user-tabs button { flex: 0 0 auto; min-height: 30px; padding: 0 10px; font-size: .68rem; }
  .user-tabs .icon-tab { width: 32px; min-width: 32px; }
  .user-tabs svg { width: 15px; height: 15px; }
  .admin-tabs { top: 0; gap: 5px; margin-bottom: 10px; padding: 6px; border-radius: 6px; }
  .admin-tabs button { min-height: 32px; padding: 0 10px; font-size: .72rem; }
  .admin-hero-panel { grid-template-columns: 1fr; }
  .admin-hero-panel { padding: 15px; }
  .admin-hero-panel h2 { font-size: 1.55rem; }
  .admin-hero-panel p { font-size: .84rem; line-height: 1.35; }
  .admin-hero-metric { padding: 12px; }
  .admin-hero-metric strong { font-size: 1.35rem; }
  .chart-row { grid-template-columns: 1fr; }
  .community-panel { grid-template-columns: 1fr; }
  .sales-kpis { grid-template-columns: 1fr; }
  .icon-actions { justify-content: flex-start; flex-wrap: wrap; }
  .admin-list-toolbar { gap: 7px; }
  .admin-list-filters { gap: 7px; }
  .icon-actions button, .row-icons button, .sub-tabs button { min-height: 30px; padding: 0 8px; font-size: .66rem; }
  .icon-btn { width: 30px; min-width: 30px; }
  .table th, .table td { padding: 8px 6px; }
  .compact-table th, .compact-table td { font-size: .78rem; }
  .thumb { width: 44px; height: 36px; }
  .compact-admin-toolbar { grid-template-columns: 1fr; gap: 7px; }
  .compact-admin-toolbar .admin-list-filters { grid-template-columns: 1fr; }
  .admin-ads-wrap { margin-inline: -8px; padding-inline: 8px; }
  .upgraded-admin-ads { min-width: 860px; }
  .admin-ad-thumb { width: 44px; height: 44px; }
  .stat { padding: 11px; }
  .stat strong { font-size: 1.2rem; }
  .capacity-summary div, .list-item, .deal-ticket { padding: 10px; }
  .kanban { grid-template-columns: repeat(5,176px); gap: 7px; }
  .kanban-col { min-width: 176px; padding: 9px; }
  .kanban-col > p { min-height: auto; font-size: .7rem; }
  .sales-dashboard .kanban { grid-template-columns: repeat(5,176px); }
  .stage-tabs { grid-template-columns: repeat(5, minmax(92px, 1fr)); overflow-x: auto; padding-bottom: 4px; }
  .stage-tab { min-height: 44px; padding: 7px 8px; font-size: .78rem; white-space: nowrap; }
  .compact-stage-ticket { grid-template-columns: minmax(0,1fr) auto; }
  .better-evaluation .yes-no-options label { min-height: 48px; }
  .compact-stars { align-items: flex-start; flex-direction: column; gap: 6px; }
  .categories { display: flex; gap: 8px; overflow-x: auto; padding-bottom: 2px; scroll-snap-type: x proximity; }
  .category { flex: 0 0 112px; min-height: 78px; padding: 10px; scroll-snap-align: start; }
  .category strong { margin-top: 6px; font-size: .78rem; }
  .category small { font-size: .68rem; }
  .products { grid-template-columns: repeat(2,minmax(0,1fr)); gap: 8px; }
  .stats { grid-template-columns: repeat(2,minmax(0,1fr)); gap: 8px; }
  .compact-kpis { grid-template-columns: repeat(4,minmax(0,1fr)); gap: 6px; }
  .compact-kpis .stat { min-height: 62px; padding: 8px 6px; }
  .compact-kpis .stat span { font-size: .58rem; line-height: 1.1; }
  .compact-kpis .stat strong { font-size: 1rem; margin-top: 3px; }
  .form-grid { grid-template-columns: 1fr; }
  .announce-form { padding: 12px; }
  .announce-grid { grid-template-columns: 1fr; gap: 8px; }
  .announce-grid .field input, .announce-grid .field select, .announce-grid .field textarea { min-height: 42px; }
  .price-with-discount input { padding-right: 80px; }
  .price-with-discount span { min-height: 26px; bottom: 8px; font-size: .64rem; }
  .seller-table-wrap { overflow: visible; }
  .seller-products-table, .seller-products-table tbody, .seller-products-table tr, .seller-products-table td { display: block; width: 100%; }
  .seller-products-table thead { display: none; }
  .seller-products-table tr { margin-bottom: 9px; padding: 9px; border: 1px solid var(--line); border-radius: 8px; background: #fff; box-shadow: 0 6px 16px rgba(31,41,55,.06); }
  .seller-products-table td { padding: 4px 0; border: 0; }
  .seller-products-table td:last-child { width: 100%; }
  .seller-product-cell { grid-template-columns: 54px minmax(0,1fr); min-width: 0; gap: 8px; }
  .seller-thumb { width: 54px; height: 48px; }
  .seller-quick-actions { justify-content: flex-end; }
  .seller-product-edit .seller-product-cell { grid-template-columns: 54px minmax(0,1fr); align-items: start; }
  .seller-product-edit + tr { margin-top: -6px; }
  .tips-grid { grid-template-columns: 1fr; gap: 8px; }
  .tip-card { min-height: auto; padding: 11px; }
  .product-image { aspect-ratio: 1/1; }
  .discount { top: 6px; left: 6px; padding: 4px 6px; font-size: .58rem; }
  .featured-ribbon, .photo-pill { left: 6px; bottom: 6px; padding: 4px 6px; font-size: .58rem; }
  .condition-pill { max-width: calc(100% - 46px); gap: 3px; }
  .condition-pill b { width: 13px; height: 13px; font-size: .48rem; }
  .photo-icon, .seller-seal { right: 6px; bottom: 6px; min-width: 24px; width: auto; height: 24px; padding: 0 5px; font-size: .52rem; }
  .favorite { top: 6px; right: 6px; width: 30px; height: 30px; font-size: .78rem; }
  .card-body { padding: 8px; }
  .card-body .badges { gap: 4px; }
  .card-body .badges .badge:nth-child(2) { display: none; }
  .card-body h3 { min-height: 38px; margin-top: 0; font-size: .76rem; line-height: 1.22; }
  .price-row { grid-template-columns: auto auto minmax(0,1fr); gap: 3px; margin-top: 5px; }
  .old-price { font-size: .54rem; }
  .deal-percent { padding: 2px 4px; font-size: .5rem; }
  .price { font-size: .86rem; letter-spacing: 0; }
  .card-meta-line { gap: 4px; margin-top: 5px; font-size: .54rem; }
  .card-meta-line span:first-child { max-width: 58%; }
  .locked { margin-top: 7px; padding: 7px; font-size: .7rem; line-height: 1.25; }
  .meta { display: block; margin: 7px 0; font-size: .66rem; line-height: 1.35; }
  .primary, .secondary, .ghost, .chip { min-height: 34px; padding: 0 9px; border-radius: 5px; font-size: .78rem; }
  .buy-button { min-height: 32px; }
  .card-actions { gap: 4px; margin-top: 7px; }
  .card-actions .buy-button { min-height: 30px; padding: 0 4px; font-size: .62rem; border-radius: 7px; }
  .split-actions { grid-template-columns: 1fr; }
  .detail-action-row { grid-template-columns: minmax(0,1fr) minmax(0,.85fr) 42px; gap: 6px; }
  .detail-action-row.buy-only { grid-template-columns: minmax(0,1fr) 42px; }
  .detail-action-row button { min-height: 42px; border-radius: 10px; font-size: .76rem; padding: 0 8px; }
  .detail-buy { min-height: 48px !important; font-size: .86rem; }
  .detail-proposal { min-height: 38px !important; font-size: .72rem; }
  .detail-fav { width: 42px; height: 42px; font-size: 1.12rem; padding: 0; }
  .account-notification-list { grid-template-columns: 1fr; }
  .negotiation-actions { grid-template-columns: 1fr; gap: 6px; }
  .negotiation-actions button { min-height: 32px; font-size: .7rem; }
  .toolbar { gap: 7px; }
  .toolbar input, .toolbar select, .field input, .field select, .field textarea, .chat-input input { min-height: 38px; font-size: .86rem; }
  .filters { flex-wrap: nowrap; overflow-x: auto; padding-bottom: 3px; }
  .chip { flex: 0 0 auto; }
  .detail-info, .form-card, .panel, .chat { padding: 13px; }
  .detail-info h1 { font-size: 1.45rem; }
  .main-photo { aspect-ratio: 1/1; }
  .question-form, .proposal-summary { grid-template-columns: 1fr; }
  .proposal-summary img { width: 100%; }
  .proposal-box strong { font-size: 1.15rem; }
  .capacity-summary { grid-template-columns: 1fr; }
  .notification-list { grid-template-columns: 1fr; }
  .seller-alert-columns { grid-template-columns: 1fr; gap: 7px; }
  .seller-alert-columns h4 { margin-bottom: 4px; font-size: .72rem; }
  .seller-alert-columns .notification-item { grid-template-columns: minmax(0,1fr) auto; align-items: center; gap: 6px; padding: 8px; }
  .seller-alert-columns .notification-item span { grid-column: 1 / -1; font-size: .58rem; }
  .seller-alert-columns .notification-item p { display: none; }
  .seller-alert-columns .notification-item .secondary { min-height: 30px; padding: 0 8px; font-size: .68rem; }
  .kanban { grid-template-columns: 1fr; overflow: visible; gap: 6px; }
  .kanban-col { min-width: 0; padding: 8px; border-top-width: 0; border-left: 5px solid var(--blue); }
  .kanban-col:nth-child(1), .kanban-col:nth-child(2) { border-left-color: var(--yellow); }
  .kanban-col:nth-child(3) { border-left-color: var(--blue); }
  .kanban-col:nth-child(4) { border-left-color: var(--green); }
  .kanban-col:nth-child(5) { border-left-color: var(--danger); }
  .kanban-head strong { font-size: .82rem; }
  .kanban-head span { min-width: 23px; height: 23px; font-size: .68rem; }
  .kanban-col > p { display: none; }
  .kanban-list { margin-top: 7px; gap: 6px; }
  .deal-ticket { display: grid; grid-template-columns: minmax(0,1fr) auto; gap: 4px 7px; padding: 8px; }
  .deal-ticket span, .deal-ticket small { font-size: .68rem; }
  .deal-ticket button { grid-row: 1 / span 2; grid-column: 2; min-height: 30px; padding: 0 8px; font-size: .68rem; }
  .deal-guide { grid-template-columns: repeat(2,minmax(0,1fr)); gap: 6px; }
  .deal-guide span { padding: 7px; }
  .deal-guide small { display: none; }
  .simple-deal-flow { gap: 4px; margin: 8px 0; }
  .simple-deal-flow span { min-height: 30px; font-size: .66rem; }
  .admin-ops-grid, .ops-queue { grid-template-columns: 1fr; }
  .preview-colors { grid-template-columns: repeat(2,1fr); }
  .toolbar { grid-template-columns: 1fr; }
  .section-head, .footer .wrap { display: block; }
  .section-head h2 { font-size: 1.18rem; }
  .section-head p { font-size: .82rem; }
  .footer .wrap { padding: 20px 0; }
}






/* Compactacao visual do ADM e paineis de configuracao */
.admin-page { padding-top: 10px; }
.admin-page > .section-head { align-items: center; margin-bottom: 8px; }
.admin-page > .section-head h2 { font-size: clamp(1.45rem,2.4vw,2rem); }
.admin-page > .section-head p { margin-top: 3px; font-size: .9rem; }
.admin-tabs { top: 70px; gap: 6px; margin-bottom: 12px; padding: 8px; }
.admin-tabs button, .sub-tabs button { min-height: 32px; padding: 0 11px; font-size: .78rem; }
.admin-hero-panel { grid-template-columns: minmax(0,1fr) minmax(180px,.24fr); gap: 12px; padding: 16px 20px; }
.admin-hero-panel h2 { margin: 4px 0; font-size: clamp(1.8rem,3.5vw,3rem); }
.admin-hero-panel p { max-width: 680px; font-size: .94rem; line-height: 1.35; }
.admin-hero-metric { padding: 14px 16px; }
.admin-hero-metric strong { margin: 4px 0; font-size: 1.65rem; }
.admin-kpis { grid-template-columns: repeat(5,minmax(0,1fr)); gap: 8px; margin-top: 10px; }
.admin-kpis .stat, .sales-kpis .stat, .compact-stats .stat { min-height: 74px; padding: 10px 12px; }
.admin-kpis .stat span, .sales-kpis .stat span, .compact-stats .stat span { font-size: .78rem; }
.admin-kpis .stat strong, .sales-kpis .stat strong, .compact-stats .stat strong { margin-top: 3px; font-size: 1.35rem; }
.admin-kpis .stat small, .sales-kpis .stat small, .compact-stats .stat small { margin-top: 3px; font-size: .68rem; line-height: 1.2; }
.admin-page .section { margin-top: 16px; }
.admin-page .panel, .settings-tabs .panel { padding: 14px; }
.admin-page .section-head { margin-bottom: 8px; }
.admin-page .section-head h3, .admin-page .panel h3 { font-size: 1.1rem; }
.admin-page .section-head p { font-size: .86rem; line-height: 1.3; }
.settings-nav { margin: 8px 0 12px; padding: 6px; }
.settings-tabs { gap: 10px; }
.capacity-panel { border-left-width: 4px; }
.capacity-summary { grid-template-columns: repeat(4,minmax(0,1fr)); gap: 8px; margin: 10px 0; }
.capacity-summary div { padding: 10px 12px; }
.capacity-summary strong { margin-top: 4px; font-size: 1.1rem; }
.capacity-row { grid-template-columns: minmax(180px,.42fr) minmax(220px,1fr) 54px; gap: 8px; padding: 9px 12px; }
.capacity-row span { margin-top: 2px; font-size: .72rem; line-height: 1.25; }
.capacity-meter { height: 9px; }
.migration-note { margin-top: 10px; padding: 10px 12px; font-size: .8rem; line-height: 1.35; }
.personalization-panel .section-head { align-items: center; }
.personalization-panel .section-head h4 { margin: 0; font-size: 1.05rem; }
.personalization-panel .section-head p { font-size: .84rem; }
.personalization-panel .status { padding: 6px 9px; font-size: .68rem; }
.personalization-panel .form-grid { margin-top: 10px; gap: 8px; }
.personalization-panel .color-grid { grid-template-columns: repeat(4,minmax(0,1fr)); }
.personalization-panel .color-grid .field:nth-child(5), .personalization-panel .color-grid .field:nth-child(6) { grid-column: span 2; }
.personalization-panel .field label { margin-bottom: 4px; font-size: .72rem; }
.personalization-panel .field input, .personalization-panel .field textarea { min-height: 34px; padding: 0 10px; font-size: .88rem; }
.personalization-panel .field textarea { min-height: 56px; padding: 9px 10px; }
.personalization-panel .field input[type="color"] { width: 100%; min-height: 34px; padding: 3px; }
.personalization-panel .primary.section { min-height: 36px; margin-top: 10px; padding: 0 12px; }
.campaign-preview h3 { font-size: 1.18rem; }
.campaign-preview p { font-size: .84rem; line-height: 1.35; }
.preview-colors { gap: 6px; margin-top: 10px; }
.preview-colors i { height: 30px; }
.notification-list { gap: 8px; margin-top: 10px; }
.notification-item { padding: 10px; }

@media (max-width: 980px) {
  .admin-kpis { grid-template-columns: repeat(3,minmax(0,1fr)); }
  .capacity-row { grid-template-columns: minmax(160px,.42fr) minmax(180px,1fr) 50px; }
}

@media (max-width: 620px) {
  .admin-page { padding-top: 10px; }
  .admin-page > .section-head h2 { font-size: 1.35rem; }
  .admin-tabs { top: 0; gap: 4px; padding: 5px; margin-bottom: 10px; }
  .admin-tabs button, .sub-tabs button { min-height: 29px; padding: 0 8px; font-size: .66rem; }
  .admin-hero-panel { gap: 8px; padding: 12px; }
  .admin-hero-panel h2 { font-size: 1.5rem; }
  .admin-hero-panel p { font-size: .78rem; }
  .admin-hero-metric { padding: 10px; }
  .admin-hero-metric strong { font-size: 1.2rem; }
  .admin-kpis { grid-template-columns: repeat(2,minmax(0,1fr)); gap: 6px; }
  .admin-kpis .stat { min-height: 62px; padding: 8px; }
  .admin-kpis .stat span { font-size: .68rem; }
  .admin-kpis .stat strong { font-size: 1.1rem; }
  .admin-kpis .stat small { font-size: .6rem; }
  .admin-page .panel, .settings-tabs .panel { padding: 10px; }
  .settings-nav { padding: 5px; }
  .capacity-summary { grid-template-columns: repeat(4,minmax(0,1fr)); gap: 5px; }
  .capacity-summary div { padding: 7px 5px; overflow: hidden; }
  .capacity-summary span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-size: .56rem; }
  .capacity-summary strong { font-size: .92rem; }
  .capacity-row { grid-template-columns: minmax(0,.8fr) minmax(86px,1fr) 38px; gap: 6px; padding: 8px; }
  .capacity-row strong { font-size: .82rem; }
  .capacity-row span { font-size: .62rem; }
  .capacity-meter { height: 7px; }
  .migration-note { padding: 8px; font-size: .72rem; }
  .personalization-panel .section-head { display: flex; gap: 8px; }
  .personalization-panel .section-head p { display: none; }
  .personalization-panel .color-grid { grid-template-columns: repeat(4,minmax(0,1fr)); gap: 6px; }
  .personalization-panel .color-grid .field:nth-child(-n+4) label { height: 22px; margin-bottom: 3px; font-size: .52rem; line-height: 1.05; }
  .personalization-panel .color-grid .field:nth-child(-n+4) input { min-height: 30px; padding: 2px; }
  .personalization-panel .color-grid .field:nth-child(5), .personalization-panel .color-grid .field:nth-child(6) { grid-column: span 2; }
  .personalization-panel .field.full { grid-column: 1/-1; }
  .benefit-editor-grid { grid-template-columns: 1fr; }
  .layout-fieldset { padding: 8px; }
  .personalization-panel .field input, .personalization-panel .field textarea { min-height: 32px; font-size: .78rem; }
  .personalization-panel .field textarea { min-height: 48px; }
  .personalization-panel .primary.section { width: 100%; min-height: 34px; }
  .personalize-grid { grid-template-columns: 1fr; gap: 8px; }
  .editable-row { grid-template-columns: minmax(86px,1fr) 40px 40px 30px 30px; gap: 4px; padding: 5px; }
  .editable-row input { min-height: 29px; padding: 0 6px; font-size: .72rem; }
  .editable-row .action-icon { width: 29px; height: 29px; }
  .editable-row.add-row { grid-template-columns: minmax(90px,1fr) 40px 40px 66px; }
  .seal-editor .editable-row { grid-template-columns: 56px minmax(80px,1fr) 42px 40px 30px; }
  .seal-editor .editable-row strong { font-size: .62rem; overflow: hidden; text-overflow: ellipsis; }
  .preview-colors { grid-template-columns: repeat(4,1fr); }
  .preview-colors i { height: 24px; }
}

/* Novo painel ADM: topo fixo, barra verde e acoes modernas */
.admin-shell { background: #eef4ff; }
.admin-shell .nav, .admin-shell .topline, .admin-shell .mobile-nav { display: none !important; }
.admin-top { position: sticky; top: 0; z-index: 40; background: #1456d9 !important; color: #fff; box-shadow: 0 8px 18px rgba(20,86,217,.2); }
.admin-top-inner { display: grid; grid-template-columns: auto 1fr; gap: 14px; align-items: center; min-height: 58px; }
.admin-brand { display: inline-flex; align-items: center; gap: 9px; border: 0; background: transparent; color: #fff; font-weight: 900; }
.admin-brand .brand-flag { width: 44px; height: 44px; flex-basis: 44px; border-radius: 11px; box-shadow: 0 4px 12px rgba(0,0,0,.18), inset 0 0 0 1px rgba(255,255,255,.72); }
.admin-brand .brand-word { font-size: 1.05rem; }
.admin-brand em { padding-left: 8px; border-left: 1px solid rgba(255,255,255,.35); font-style: normal; color: #fff; font-size: .78rem; }
.admin-brand b { padding: 4px 7px; border-radius: 999px; background: rgba(255,255,255,.16); color: var(--yellow); font-size: .68rem; line-height: 1; }
.admin-top-actions { display: flex; justify-content: flex-end; gap: 9px; min-width: 0; overflow-x: auto; }
.admin-top-actions [data-admin-tab="resumo"], .admin-top-actions .logout-admin { display: none !important; }
.admin-nav-icon { position: relative; display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 0 13px; border: 1px solid rgba(255,255,255,.28); border-radius: 10px; background: rgba(255,255,255,.14); color: #fff; font-weight: 950; box-shadow: 0 6px 14px rgba(0,0,0,.12); }
.admin-nav-icon svg { width: 19px; height: 19px; fill: none; stroke: currentColor; stroke-width: 2.25; stroke-linecap: round; stroke-linejoin: round; }
.admin-nav-icon[data-admin-tab="anuncios"] { background: #0f4fc7; }
.admin-nav-icon[data-admin-tab="usuarios"] { background: #129447; }
.admin-nav-icon[data-admin-tab="vendas"] { background: #0ea5e9; }
.admin-nav-icon[data-admin-tab="ajustes"] { background: #d4a700; }
.admin-nav-icon.active { background: #fff; color: var(--blue); }
.admin-nav-icon[data-admin-tab="usuarios"].active { color: var(--green); }
.admin-nav-icon[data-admin-tab="vendas"].active { color: #0b7eb3; }
.admin-nav-icon[data-admin-tab="ajustes"].active { color: #8a6500; }
.logout-admin { border-color: rgba(255,255,255,.28); background: #dc2626; }
.admin-titlebar { position: sticky; top: 58px; z-index: 35; background: var(--green); color: #fff; box-shadow: 0 5px 12px rgba(18,148,71,.18); }
.admin-titlebar .wrap { display: flex; align-items: center; justify-content: space-between; gap: 12px; min-height: 36px; }
.admin-titlebar strong { font-size: .95rem; }
.admin-titlebar span { color: rgba(255,255,255,.86); font-size: .76rem; font-weight: 800; }
.admin-refresh-line { display: flex; align-items: center; justify-content: flex-end; gap: 8px; margin-left: auto; }
.admin-refresh-line small { color: rgba(255,255,255,.88); font-size: .72rem; font-weight: 900; white-space: nowrap; }
.admin-refresh-btn { display: inline-flex; align-items: center; gap: 7px; min-height: 32px; padding: 0 11px; border: 1px solid rgba(255,255,255,.32); border-radius: 999px; background: linear-gradient(135deg,#16a34a,#0f8a3a); color: #fff; font-size: .74rem; font-weight: 950; box-shadow: 0 6px 14px rgba(0,0,0,.14); }
.admin-refresh-btn svg { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 2.3; stroke-linecap: round; stroke-linejoin: round; }
.admin-refresh-btn.loading, .admin-refresh-btn:disabled { opacity: .88; cursor: progress; }
.admin-refresh-btn.loading svg { animation: spin-refresh .9s linear infinite; }
@keyframes spin-refresh { to { transform: rotate(360deg); } }
.admin-page { padding-top: 14px; }
.admin-page > .section-head { display: none; }
.adm-single-row { grid-template-columns: repeat(6,minmax(0,1fr)); }
.admin-summary-grid { grid-template-columns: 1.15fr .85fr; }
.category-admin-list { display: grid; gap: 7px; }
.category-admin-list.compact { grid-template-columns: repeat(2,minmax(0,1fr)); }
.category-admin-row { display: grid; grid-template-columns: 14px minmax(0,1fr) auto auto; gap: 8px; align-items: center; padding: 8px 10px; border: 1px solid var(--line); border-radius: 7px; background: #fff; }
.category-admin-row span { width: 12px; height: 12px; border-radius: 4px; background: var(--cat); }
.category-admin-row strong { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.category-admin-row b { color: var(--ink); }
.category-admin-row small { color: var(--muted); font-weight: 800; }
.category-pill-admin { display: inline-flex; align-items: center; min-height: 24px; padding: 0 8px; border-radius: 999px; background: color-mix(in srgb, var(--cat) 14%, #fff); color: var(--cat); font-size: .72rem; font-weight: 900; white-space: nowrap; }
.alert-grid { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 8px; margin-top: 10px; }
.alert-card { padding: 10px; border: 1px solid var(--line); border-left: 4px solid var(--blue); border-radius: 7px; background: #fff; }
.alert-card.danger { border-left-color: var(--danger); }
.alert-card.ok { border-left-color: var(--green); }
.alert-card span { display: block; color: var(--muted); font-size: .68rem; font-weight: 900; text-transform: uppercase; }
.alert-card strong { display: block; margin-top: 4px; font-size: 1rem; }
.alert-card small { color: var(--muted); font-weight: 800; }
.admin-list-toolbar { grid-template-columns: 1fr auto; }
.admin-list-filters { grid-template-columns: minmax(150px,180px) minmax(170px,1fr) minmax(150px,210px) minmax(150px,190px); }
.admin-list-filters.two-fields { grid-template-columns: minmax(180px,1fr) minmax(150px,220px); }
.pagination { display: flex; align-items: center; justify-content: flex-end; gap: 8px; margin-top: 10px; }
.pagination span { color: var(--muted); font-size: .78rem; font-weight: 900; }
.admin-row-icons { gap: 5px; flex-wrap: nowrap; }
.action-icon { display: inline-grid; place-items: center; width: 33px; height: 33px; border: 0; border-radius: 8px; color: #fff; box-shadow: 0 6px 14px rgba(31,41,55,.12); }
.action-icon svg { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; }
.action-icon.ver { background: #1456d9; }
.action-icon.editar { background: #f59e0b; }
.action-icon.only-edit { width: 38px; height: 38px; border-radius: 11px; background: linear-gradient(135deg,#f59e0b,#d97706); box-shadow: 0 8px 18px rgba(217,119,6,.28); }
.action-icon.status { background: #129447; }
.action-icon.save { background: #129447; }
.action-icon.cancel { background: #6b7280; }
.action-icon.excluir { background: #dc2626; }
.mobile-admin-exit { display: none; background: #dc2626 !important; color: #fff !important; border-color: #dc2626 !important; }
.admin-products-table td:last-child { min-width: 146px; }
.admin-ads-panel { padding-bottom: 12px; }
.compact-admin-head { margin-bottom: 10px; }
.compact-admin-toolbar { display: grid; grid-template-columns: minmax(220px,.9fr) minmax(420px,1.2fr); gap: 10px; align-items: center; margin-bottom: 8px; }
.compact-admin-toolbar > input { width: 100%; min-height: 38px; border: 1px solid var(--line); border-radius: 6px; padding: 0 10px; }
.compact-admin-toolbar .admin-list-filters { margin: 0; display: grid; grid-template-columns: repeat(3,minmax(130px,1fr)); gap: 8px; }
.admin-ads-wrap { overflow-x: auto; }
.upgraded-admin-ads { table-layout: fixed; min-width: 920px; }
.upgraded-admin-ads th, .upgraded-admin-ads td { padding: 7px 8px; }
.upgraded-admin-ads th:nth-child(1), .upgraded-admin-ads td:nth-child(1) { width: 66px; }
.upgraded-admin-ads th:nth-child(2), .upgraded-admin-ads td:nth-child(2) { width: 270px; }
.upgraded-admin-ads th:nth-child(3), .upgraded-admin-ads td:nth-child(3) { width: 150px; }
.upgraded-admin-ads th:nth-child(4), .upgraded-admin-ads td:nth-child(4) { width: 105px; }
.upgraded-admin-ads th:nth-child(5), .upgraded-admin-ads td:nth-child(5) { width: 180px; }
.upgraded-admin-ads th:nth-child(6), .upgraded-admin-ads td:nth-child(6) { width: 112px; }
.upgraded-admin-ads th:nth-child(7), .upgraded-admin-ads td:nth-child(7) { width: 68px; text-align: center; }
.admin-ad-thumb { display: block; width: 48px; height: 48px; aspect-ratio: 1 / 1; border-radius: 7px; object-fit: cover; object-position: center; }
.admin-ad-title { display: grid; gap: 3px; min-width: 0; }
.admin-ad-title strong { display: block; max-width: 100%; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; line-height: 1.2; }
.admin-ad-title small, .upgraded-admin-ads td small { display: block; color: var(--muted); line-height: 1.18; }
.upgraded-admin-ads td:nth-child(3) span { display: block; max-width: 100%; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.ad-mini-metrics { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 5px; }
.ad-mini-metrics span { min-width: 0; padding: 5px 4px; border: 1px solid #d7e2ef; border-radius: 7px; background: #fff; text-align: center; }
.ad-mini-metrics b, .ad-mini-metrics small { display: block; }
.ad-mini-metrics b { color: var(--ink); font-size: .9rem; line-height: 1; }
.ad-mini-metrics small { margin-top: 3px; font-size: .58rem; font-weight: 800; color: var(--muted); text-transform: uppercase; }
.compact-actions { justify-content: center; }
.upgraded-admin-ads .status { display: inline-flex; justify-content: center; min-width: 86px; padding: 6px 8px; }
.upgraded-admin-ads .is-editing .table-edit { gap: 5px; }
.upgraded-admin-ads .is-editing input, .upgraded-admin-ads .is-editing select { min-height: 34px; font-size: .78rem; }
.upgraded-admin-ads tr.is-editing { background: linear-gradient(90deg,#fff8d8,#fffdf1) !important; box-shadow: inset 4px 0 0 var(--yellow); }
.upgraded-admin-ads tr.is-editing td { padding-top: 10px; padding-bottom: 10px; vertical-align: middle; border-bottom-color: #eadfba; }
.edit-photo-stack { display: grid; justify-items: center; gap: 6px; }
.edit-photo-stack .status { min-width: 0; padding: 4px 6px; font-size: .55rem; }
.edit-main-fields, .edit-price-fields, .edit-media-fields { min-width: 0; }
.edit-two { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 6px; }
.edit-two label { display: grid; gap: 4px; }
.edit-price-fields { grid-template-columns: repeat(2,minmax(0,1fr)); align-items: end; }
.edit-price-fields label:nth-of-type(3), .edit-price-fields input[name="stock"] { grid-column: span 2; }
.edit-media-fields input[type="file"] { padding: 6px; font-size: .72rem; }
.admin-edit-actions { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 6px; min-width: 190px; }
.edit-action-btn { display: inline-flex; align-items: center; justify-content: center; gap: 6px; min-height: 34px; padding: 0 9px; border: 0; border-radius: 9px; color: #fff; font-size: .68rem; font-weight: 950; box-shadow: 0 8px 18px rgba(31,41,55,.12); }
.edit-action-btn svg { width: 14px; height: 14px; fill: none; stroke: currentColor; stroke-width: 2.3; stroke-linecap: round; stroke-linejoin: round; }
.edit-action-btn.save { background: linear-gradient(135deg,#129447,#0b7a39); }
.edit-action-btn.suspend { background: linear-gradient(135deg,#eab308,#c68a05); }
.edit-action-btn.block { background: linear-gradient(135deg,#334155,#111827); }
.edit-action-btn.delete { background: linear-gradient(135deg,#ef4444,#b91c1c); }
.edit-action-btn.cancel { grid-column: 1/-1; background: #64748b; }
.compact-category-panel { margin-top: 12px; }
.detailed-storage { border-left: 0; }
.storage-head { display: flex; justify-content: space-between; gap: 12px; align-items: start; }
.storage-head h3 { margin-top: 3px; }
.storage-main-meter { height: 11px; overflow: hidden; border-radius: 999px; background: #dfe6ee; margin: 11px 0; }
.storage-main-meter span { display: block; height: 100%; background: var(--green); }
.storage-status-line { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; margin-bottom: 12px; }
.storage-status-line b { color: var(--muted); font-size: .78rem; }
.storage-detail-grid { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 10px; margin-top: 14px; }
.storage-detail-grid div, .storage-list { padding: 12px; border: 1px solid #d7e2ef; border-radius: 8px; background: #fff; }
.storage-detail-grid strong, .storage-detail-grid b, .storage-detail-grid small { display: block; }
.storage-detail-grid b { margin-top: 5px; color: var(--green); }
.storage-detail-grid small { margin-top: 5px; color: var(--muted); font-weight: 800; }
.storage-bottom-grid { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 12px; margin-top: 14px; }
.storage-list { background: #eef5fb; }
.storage-list > span { display: block; margin-bottom: 8px; color: var(--green); font-size: .72rem; font-weight: 900; letter-spacing: .06em; text-transform: uppercase; }
.storage-list p { display: grid; grid-template-columns: minmax(0,1fr) auto auto; gap: 10px; margin: 0 0 7px; padding: 8px; border: 1px solid #d7e2ef; border-radius: 6px; background: #fff; }
.storage-list p:last-child { margin-bottom: 0; }
.storage-list small { color: var(--muted); font-weight: 800; }
.storage-control-panel .storage-menu { margin: 12px 0; }
.storage-control-panel .storage-menu button { min-width: 96px; }
.storage-tab-content { display: grid; gap: 12px; }
.storage-title-row { padding-bottom: 4px; border-bottom: 1px solid var(--line); }
.storage-info-card { padding: 12px; border: 1px solid #d7e2ef; border-radius: 8px; background: #fff; }
.storage-info-card strong, .storage-info-card b, .storage-info-card small { display: block; }
.storage-info-card b { margin-top: 5px; color: #021a33; font-size: 1.12rem; }
.storage-info-card small { margin-top: 4px; color: var(--muted); font-weight: 800; line-height: 1.25; }
.storage-note { padding: 12px; border-radius: 8px; background: #fff6c2; color: #6b4b00; font-size: .86rem; line-height: 1.35; }
.storage-action-panel { display: grid; align-content: start; gap: 10px; padding: 13px; border: 1px solid #d7e2ef; border-radius: 8px; background: #fff; }
.storage-action-panel strong { display: block; font-size: 1rem; }
.storage-action-panel p { margin: 4px 0 0; color: var(--muted); font-size: .82rem; line-height: 1.35; }
.storage-clean-row { display: flex; gap: 8px; align-items: center; flex-wrap: wrap; }
.storage-clean-row select { min-height: 38px; flex: 1 1 170px; }
.danger-zone { border-left: 5px solid var(--danger); background: #fff8f8; }
.danger-button { min-height: 38px; padding: 0 14px; border: 0; border-radius: 7px; background: var(--danger); color: #fff; font-weight: 900; cursor: pointer; }
.trash-list p strong { text-transform: capitalize; }
.category-color-editor { margin-top: 12px; padding-top: 10px; border-top: 1px solid var(--line); }
.category-color-editor h4 { margin: 4px 0 8px; }
.category-color-editor label { display: grid; grid-template-columns: 16px minmax(0,1fr) 46px; gap: 8px; align-items: center; min-height: 38px; margin-bottom: 6px; padding: 6px 8px; border: 1px solid var(--line); border-radius: 7px; background: #fff; }
.category-color-editor i { width: 14px; height: 14px; border-radius: 4px; background: var(--cat); }
.category-color-editor strong { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.category-color-editor input[type="color"] { width: 42px; min-height: 28px; padding: 2px; }

@media (max-width: 980px) {
  .adm-single-row { grid-template-columns: repeat(3,minmax(0,1fr)); }
  .admin-summary-grid, .storage-bottom-grid { grid-template-columns: 1fr; }
  .admin-list-toolbar, .admin-list-filters { grid-template-columns: 1fr; }
}

@media (max-width: 620px) {
  .admin-shell { background: #eef4ff !important; }
  .admin-shell .nav, .admin-shell .topline, .admin-shell .footer { display: none !important; }
  .admin-top { background: #1456d9 !important; }
  .admin-top-inner { min-height: 50px; gap: 8px; }
  .admin-brand .brand-word { display: inline-flex; font-size: .76rem; }
  .admin-brand em { padding-left: 4px; font-size: .58rem; }
  .admin-brand b { padding: 2px 4px; font-size: .48rem; }
  .logout-admin { display: none; }
  .mobile-admin-exit { display: inline-flex; align-items: center; justify-content: center; }
  .admin-top-actions { gap: 7px; }
  .admin-nav-icon { min-width: 42px; min-height: 42px; padding: 0 10px; border-radius: 11px; }
  .admin-nav-icon span { display: none; }
  .admin-nav-icon svg { width: 20px; height: 20px; }
  .admin-titlebar { top: 50px; }
  .admin-titlebar .wrap { min-height: 31px; }
  .admin-titlebar span { display: none; }
  .admin-refresh-line small { font-size: .58rem; }
  .admin-refresh-btn { min-height: 28px; padding: 0 8px; border-radius: 999px; font-size: 0; }
  .admin-refresh-btn svg { width: 15px; height: 15px; }
  .adm-single-row { grid-template-columns: repeat(3,minmax(0,1fr)); gap: 6px; }
  .admin-summary-grid { grid-template-columns: 1fr; }
  .category-admin-list.compact { grid-template-columns: 1fr; }
  .category-admin-row { grid-template-columns: 12px minmax(0,1fr) auto; padding: 7px; }
  .category-admin-row small { display: none; }
  .alert-grid, .storage-detail-grid { grid-template-columns: repeat(2,minmax(0,1fr)); gap: 7px; }
  .alert-card { padding: 8px; }
  .storage-head { align-items: center; }
  .storage-detail-grid div, .storage-list { padding: 9px; }
  .storage-detail-grid strong { font-size: .78rem; }
  .storage-detail-grid b { font-size: .86rem; }
  .storage-detail-grid small { font-size: .62rem; }
  .storage-list p { grid-template-columns: minmax(0,1fr) auto; gap: 6px; }
  .storage-list small { display: none; }
  .storage-control-panel .storage-menu { display: grid; grid-template-columns: repeat(5,minmax(0,1fr)); gap: 5px; overflow: visible; }
  .storage-control-panel .storage-menu button { min-width: 0; padding: 0 4px; font-size: .58rem; }
  .storage-info-card { padding: 8px; }
  .storage-clean-row { display: grid; grid-template-columns: 1fr; }
  .storage-action-panel { padding: 10px; }
  .action-icon { width: 30px; height: 30px; border-radius: 7px; }
  .admin-products-table td:last-child { min-width: 132px; }
  .category-color-editor label { grid-template-columns: 14px minmax(0,1fr) 40px; min-height: 34px; }
}
