:root {
  --system-green: #357a28;
  --system-green-dark: #205c20;
  --system-ink: #142017;
  --system-muted: #647066;
  --system-line: #dce4d9;
  --system-soft: #f3f6f1;
  --system-white: #fff;
  --system-warning: #fff2c8;
  --system-danger: #fee8e5;
}

/* Roadmap de desenvolvimento */
.roadmap-heading { align-items:center; }
.roadmap-save-state { padding:9px 13px; border:1px solid #d7e4d5; border-radius:999px; background:#f5f9f3; color:#557052; font-size:12px; font-weight:800; white-space:nowrap; }
.roadmap-save-state.saving { color:#7a6423; background:#fff9e8; border-color:#eddfac; }
.roadmap-save-state.saved { color:#1f6f31; background:#edf8ed; border-color:#bcdcbc; }
.roadmap-save-state.error { color:#9e342b; background:#fff1ef; border-color:#efc6c1; }
.roadmap-overview { display:grid; grid-template-columns:minmax(220px,.55fr) minmax(300px,1.45fr); align-items:center; gap:30px; margin-bottom:18px; padding:26px 28px; border-radius:14px; color:#fff; background:linear-gradient(135deg,#123f22,#1f7132); box-shadow:0 16px 38px rgba(16,63,33,.14); }
.roadmap-overview-copy { display:grid; grid-template-columns:auto 1fr; align-items:end; column-gap:14px; }
.roadmap-overview-copy > span { grid-column:1/-1; font-size:13px; font-weight:800; opacity:.8; text-transform:uppercase; letter-spacing:.08em; }
.roadmap-overview-copy strong { font-size:48px; line-height:1; margin-top:8px; }
.roadmap-overview-copy small { padding-bottom:5px; opacity:.83; }
.roadmap-overall-track,.roadmap-module-track { overflow:hidden; border-radius:999px; background:rgba(255,255,255,.2); }
.roadmap-overall-track { height:14px; }
.roadmap-overall-track i,.roadmap-module-track i { display:block; height:100%; border-radius:inherit; transition:width .25s ease; }
.roadmap-overall-track i { background:linear-gradient(90deg,#c8ef94,#fff); box-shadow:0 0 16px rgba(255,255,255,.35); }
.roadmap-module-track i { background:linear-gradient(90deg,#2c7d37,#70ac46); }
.roadmap-toolbar { display:flex; align-items:end; justify-content:space-between; gap:18px; margin-bottom:20px; padding:16px 18px; border:1px solid #dfe8dc; border-radius:12px; background:#fff; }
.roadmap-search { display:grid; gap:6px; flex:1; max-width:580px; color:#566653; font-size:12px; font-weight:800; }
.roadmap-search input { width:100%; min-height:44px; border:1px solid #cbd8c8; border-radius:8px; padding:9px 13px; font:inherit; font-weight:500; }
.roadmap-search input:focus { outline:3px solid rgba(44,125,55,.13); border-color:#2d7d37; }
.roadmap-filters { display:flex; gap:6px; padding:4px; border-radius:9px; background:#eef3eb; }
.roadmap-filters button { border:0; border-radius:7px; padding:9px 13px; background:transparent; color:#586555; font:inherit; font-size:12px; font-weight:800; cursor:pointer; }
.roadmap-filters button.active { color:#fff; background:#1f6f31; box-shadow:0 3px 8px rgba(31,111,49,.2); }
.roadmap-grid { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); align-items:start; gap:18px; }
.roadmap-module { overflow:hidden; border:1px solid #dfe8dc; border-radius:13px; background:#fff; box-shadow:0 7px 24px rgba(34,69,37,.055); }
.roadmap-module-head { display:grid; grid-template-columns:auto 1fr auto; align-items:center; gap:12px; padding:18px 20px 13px; }
.roadmap-module-icon { display:grid; place-items:center; width:42px; height:42px; border-radius:10px; background:#eef6e9; font-size:21px; }
.roadmap-module-head h2 { margin:0; color:#1c3522; font-size:17px; }
.roadmap-module-head small { display:block; margin-top:2px; color:#738070; font-size:11px; font-weight:700; }
.roadmap-module-head > strong { color:#1f6f31; font-size:18px; }
.roadmap-module-track { height:5px; margin:0 20px 12px; background:#e7ede5; }
.roadmap-checklist { padding:0 12px 14px; }
.roadmap-checklist h3 { margin:15px 8px 6px; color:#677263; font-size:11px; letter-spacing:.08em; text-transform:uppercase; }
.roadmap-task { display:flex; align-items:flex-start; gap:11px; padding:9px 8px; border-radius:8px; color:#344333; cursor:pointer; transition:background .15s ease,color .15s ease; }
.roadmap-task:hover { background:#f5f8f3; }
.roadmap-task input { appearance:none; flex:0 0 20px; width:20px; height:20px; margin:0; border:2px solid #aebdab; border-radius:6px; background:#fff; cursor:pointer; }
.roadmap-task input:checked { border-color:#26813a; background:#26813a; }
.roadmap-task input:checked::after { content:""; display:block; width:8px; height:4px; margin:5px 0 0 4px; border-left:2px solid #fff; border-bottom:2px solid #fff; transform:rotate(-45deg); }
.roadmap-task span { padding-top:1px; line-height:1.4; }
.roadmap-task.completed span { color:#7b8878; text-decoration:line-through; text-decoration-color:#9aae96; }
.roadmap-task[hidden],.roadmap-module[hidden] { display:none !important; }
.roadmap-vision { display:grid; grid-template-columns:auto 1fr; gap:16px; margin-top:22px; padding:24px; border:1px solid #dce8d8; border-radius:13px; background:linear-gradient(135deg,#f7faf5,#eef6e9); }
.roadmap-vision h2 { margin:5px 0 8px; color:#183d24; font-size:22px; }
.roadmap-vision p { max-width:1050px; margin:0; color:#526150; line-height:1.65; }
@media (max-width:900px) { .roadmap-overview { grid-template-columns:1fr; gap:18px; } .roadmap-grid { grid-template-columns:1fr; } }
@media (max-width:620px) { .roadmap-toolbar { align-items:stretch; flex-direction:column; } .roadmap-filters { overflow-x:auto; } .roadmap-filters button { flex:1; } .roadmap-overview { padding:22px 20px; } .roadmap-overview-copy strong { font-size:40px; } .roadmap-save-state { white-space:normal; } }

/* Roadmap editável */
.roadmap-heading-actions { display:flex; align-items:center; gap:10px; flex-wrap:wrap; justify-content:flex-end; }
.roadmap-new-module { display:grid; grid-template-columns:minmax(180px,1fr) 90px minmax(220px,1.2fr) minmax(220px,1fr) auto auto; align-items:end; gap:12px; margin:0 0 18px; padding:18px; border:1px solid #cfe0cb; border-radius:12px; background:#f7faf5; }
.roadmap-new-module[hidden] { display:none; }
.roadmap-new-module > div { align-self:center; }
.roadmap-new-module > div strong,.roadmap-new-module > div small { display:block; }
.roadmap-new-module > div small { margin-top:3px; color:var(--system-muted); }
.roadmap-new-module label { display:grid; gap:6px; color:#586555; font-size:11px; font-weight:800; }
.roadmap-new-module input { min-width:0; min-height:42px; padding:8px 10px; border:1px solid #cbd8c8; border-radius:7px; font:inherit; }
.roadmap-module-head { grid-template-columns:auto 1fr auto auto; }
.roadmap-delete-form { margin:0; }
.roadmap-delete-form button { display:grid; place-items:center; width:29px; height:29px; padding:0; border:0; border-radius:7px; background:transparent; color:#8c9990; font:700 21px/1 Arial,sans-serif; cursor:pointer; }
.roadmap-delete-form button:hover { color:#a52f26; background:#fff0ee; }
.roadmap-task { display:grid; grid-template-columns:minmax(0,1fr) minmax(185px,.72fr) auto; align-items:center; gap:12px; border-bottom:1px solid #edf1eb; }
.roadmap-task:last-child { border-bottom:0; }
.roadmap-task-status { display:flex; align-items:flex-start; gap:11px; min-width:0; cursor:pointer; }
.roadmap-task-status input { appearance:none; flex:0 0 20px; width:20px; height:20px; margin:0; border:2px solid #aebdab; border-radius:6px; background:#fff; cursor:pointer; }
.roadmap-task-status input:checked { border-color:#26813a; background:#26813a; }
.roadmap-task-status input:checked::after { content:""; display:block; width:8px; height:4px; margin:5px 0 0 4px; border-left:2px solid #fff; border-bottom:2px solid #fff; transform:rotate(-45deg); }
.roadmap-task-status > span { min-width:0; padding-top:1px; line-height:1.4; }
.roadmap-task.completed .roadmap-task-status > span { color:#7b8878; text-decoration:line-through; text-decoration-color:#9aae96; }
.roadmap-item-progress { display:grid; grid-template-columns:minmax(90px,1fr) 62px; align-items:center; gap:8px; }
.roadmap-task .roadmap-item-progress input { appearance:auto; flex:none; height:auto; margin:0; background:initial; }
.roadmap-item-progress input[type=range] { width:100%; accent-color:#2a813b; cursor:pointer; }
.roadmap-item-progress label { display:flex; align-items:center; border:1px solid #ced9cb; border-radius:7px; background:#fff; overflow:hidden; }
.roadmap-item-progress input[type=number] { width:43px; min-height:32px; padding:4px 2px 4px 7px; border:0; outline:0; background:transparent; color:#236b32; font-size:12px; font-weight:800; }
.roadmap-item-progress label span { padding-right:6px; color:#567052; font-size:11px; font-weight:800; }
.roadmap-delete-item button { width:26px; height:26px; font-size:18px; }
.roadmap-add-item { display:grid; grid-template-columns:minmax(150px,1fr) minmax(130px,.7fr) auto; gap:8px; padding:12px; border-top:1px solid #dfe8dc; background:#f8faf7; }
.roadmap-add-item input { min-width:0; min-height:37px; padding:7px 9px; border:1px solid #ccd8c9; border-radius:7px; font:inherit; font-size:12px; }
.roadmap-add-item button { border:1px solid #bdd2b9; border-radius:7px; padding:7px 11px; color:#226b31; background:#edf6ea; font:inherit; font-size:11px; font-weight:900; cursor:pointer; }
.roadmap-add-item button:hover { color:#fff; background:#267839; border-color:#267839; }
.roadmap-empty { padding:13px 8px; color:#7a8777; font-size:12px; }
.roadmap-no-modules { grid-column:1/-1; display:grid; place-items:center; gap:5px; min-height:180px; border:1px dashed #bdcdb9; border-radius:12px; color:#60705d; background:#f8faf7; }
@media (max-width:1100px) { .roadmap-new-module { grid-template-columns:90px 1fr 1fr auto; } .roadmap-new-module > div { grid-column:1/-1; } .roadmap-new-module .admin-secondary-action { display:none; } }
@media (max-width:620px) { .roadmap-heading-actions { align-items:stretch; width:100%; flex-direction:column; } .roadmap-new-module { grid-template-columns:1fr; } .roadmap-new-module > div { grid-column:auto; } .roadmap-task { grid-template-columns:minmax(0,1fr) auto; } .roadmap-item-progress { grid-column:1/-1; grid-row:2; } .roadmap-delete-item { grid-column:2; grid-row:1; } .roadmap-add-item { grid-template-columns:1fr; } }

* { box-sizing: border-box; }
body.system-body { margin: 0; color: var(--system-ink); background: var(--system-soft); font-family: Arial, sans-serif; }
.install-shell { width: min(760px, calc(100% - 32px)); margin: 48px auto; }
.install-shell > img { display: block; width: 104px; margin: 0 auto 24px; }
.system-card { background: var(--system-white); border: 1px solid var(--system-line); border-radius: 8px; padding: clamp(24px, 5vw, 44px); box-shadow: 0 18px 50px rgba(27, 52, 30, .08); }
.system-card h1 { margin: 8px 0 12px; font-size: clamp(28px, 5vw, 44px); letter-spacing: 0; }
.system-card p { color: var(--system-muted); line-height: 1.6; }
.system-eyebrow { color: var(--system-green-dark); font-size: 12px; font-weight: 900; text-transform: uppercase; }
.system-form fieldset { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; border: 0; border-top: 1px solid var(--system-line); margin: 28px 0 0; padding: 24px 0; }
.system-form legend { padding-right: 12px; font-weight: 900; }
.system-form label { display: grid; gap: 7px; color: #405044; font-weight: 800; }
.system-form input, .system-form select, .system-form textarea { width: 100%; min-height: 46px; border: 1px solid #cbd7c8; border-radius: 6px; padding: 10px 12px; background: #fff; font: inherit; }
.system-primary { display: inline-flex; align-items: center; justify-content: center; min-height: 46px; padding: 0 20px; border: 0; border-radius: 6px; background: var(--system-green); color: #fff; font-weight: 900; text-decoration: none; cursor: pointer; }
.system-primary:hover { background: var(--system-green-dark); }
.system-alert { margin: 16px 0; border-radius: 6px; padding: 12px 14px; font-weight: 700; }
.system-alert.error { background: var(--system-danger); color: #8f2f28; }
.system-alert.success { background: #e3f3dc; color: var(--system-green-dark); }
.system-note { margin-top: 22px; font-size: 13px; }
.system-note code { color: var(--system-ink); }

.app-shell { min-height: 100vh; background: #f4f6f2; }
.app-topbar { position: sticky; top: 0; z-index: 40; display: flex; align-items: center; min-height: 68px; padding: 0 max(24px, calc((100vw - 1440px) / 2)); background: #fff; border-bottom: 1px solid var(--system-line); }
.app-topbar img { width: 58px; }
.app-topbar nav { display: flex; align-items: center; gap: 8px; margin-left: 34px; }
.app-topbar nav a, .app-topbar .topbar-end a { color: #445047; font-weight: 800; text-decoration: none; padding: 10px 12px; border-radius: 6px; }
.app-topbar nav a.active, .app-topbar nav a:hover { color: var(--system-green-dark); background: #edf4e9; }
.admin-nav-badge {
  margin-left: auto;
  padding: 4px 8px;
  border-radius: 999px;
  color: #536055;
  background: #eef4eb;
  font-size: .72rem;
  font-weight: 900;
  line-height: 1;
  white-space: nowrap;
}
.admin-nav-badge.has-alert {
  color: #11320e;
  background: #dff3d7;
}
.app-topbar nav a.active .admin-nav-badge,
.app-topbar nav a:hover .admin-nav-badge {
  color: #143812;
  background: rgba(255,255,255,.75);
}
.admin-nav-group { position: relative; }
.admin-nav-group summary {
  display: flex; align-items: center; gap: 7px; min-height: 40px; padding: 0 12px;
  border-radius: 6px; color: #445047; font-weight: 800; cursor: pointer; list-style: none;
}
.admin-nav-group summary::-webkit-details-marker { display: none; }
.admin-nav-group summary::after {
  content: ""; width: 7px; height: 7px; margin-top: -4px;
  border-right: 2px solid currentColor; border-bottom: 2px solid currentColor; transform: rotate(45deg);
}
.admin-nav-group.active summary,.admin-nav-group summary:hover,.admin-nav-group[open] summary {
  color: var(--system-green-dark); background: #edf4e9;
}
.admin-nav-dropdown {
  position: absolute; z-index: 80; top: calc(100% + 8px); left: 0; display: grid; min-width: 210px;
  padding: 8px; border: 1px solid var(--system-line); border-radius: 8px; background: #fff;
  box-shadow: 0 18px 40px rgba(22,43,25,.16);
}
.admin-nav-dropdown a { display: block; padding: 11px 12px !important; }
.admin-nav-group:not([open]) .admin-nav-dropdown { display: none; }
@media (hover:hover) {
  .admin-nav-group:hover .admin-nav-dropdown { display: grid; }
}
.app-topbar .topbar-end { margin-left: auto; display: flex; align-items: center; gap: 10px; }
.app-content { width: min(1400px, calc(100% - 40px)); margin: 32px auto 64px; }
.page-heading { display: flex; align-items: end; justify-content: space-between; gap: 24px; margin-bottom: 22px; }
.page-heading h1 { margin: 4px 0 6px; font-size: clamp(30px, 4vw, 48px); letter-spacing: 0; }
.page-heading p { margin: 0; color: var(--system-muted); }
.data-panel { background: #fff; border: 1px solid var(--system-line); border-radius: 8px; overflow: hidden; }
.data-toolbar { display: flex; gap: 12px; padding: 16px; border-bottom: 1px solid var(--system-line); }
.data-toolbar input, .data-toolbar select { min-height: 42px; border: 1px solid #ccd7c9; border-radius: 6px; padding: 8px 12px; font: inherit; }
.data-toolbar input { flex: 1; }
.admin-product-filters { flex-wrap: wrap; background: #fff; border: 1px solid var(--system-line); border-radius: 8px; }
.admin-product-filters input { min-width: 240px; }
.offer-toolbar { display: grid; grid-template-columns: repeat(4,minmax(150px,1fr)); gap: 12px; align-items: end; padding: 16px; border-bottom: 1px solid var(--system-line); }
.offer-toolbar label { display: grid; gap: 5px; color: var(--system-muted); font-size: 12px; font-weight: 800; }
.offer-toolbar input, .offer-toolbar select { width: 100%; min-height: 42px; border: 1px solid #ccd7c9; border-radius: 6px; padding: 8px 10px; font: inherit; }
.data-table { width: 100%; border-collapse: collapse; }
.data-table th, .data-table td { padding: 15px 18px; text-align: left; border-bottom: 1px solid #edf0eb; vertical-align: middle; }
.data-table th { background: #eef3ea; color: #4a574c; font-size: 12px; text-transform: uppercase; }
.data-table tr:last-child td { border-bottom: 0; }
.data-table small { display: block; color: var(--system-muted); margin-top: 4px; }
.status-pill { display: inline-flex; border-radius: 999px; padding: 5px 9px; background: #e1f3d8; color: #276820; font-size: 12px; font-weight: 900; }
.status-pill.off { background: #edf0ed; color: #667068; }
.text-action { color: var(--system-green-dark); font-weight: 900; text-decoration: none; }
.empty-state { padding: 48px 24px; text-align: center; color: var(--system-muted); }
.editor-grid { display: grid; grid-template-columns: minmax(0, 1.6fr) minmax(280px, .7fr); gap: 22px; align-items: start; }
.editor-card { background: #fff; border: 1px solid var(--system-line); border-radius: 8px; padding: 22px; }
.editor-card h2 { margin-top: 0; }
.field-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.field-grid label { display: grid; gap: 7px; color: #405044; font-weight: 800; }
.field-grid .wide { grid-column: 1 / -1; }
.field-grid input, .field-grid select, .field-grid textarea { min-height: 44px; border: 1px solid #cbd7c8; border-radius: 6px; padding: 10px 12px; font: inherit; }
.checkbox-row { display: flex !important; align-items: center; grid-template-columns: auto 1fr !important; }
.checkbox-row input { min-height: auto; width: 18px; height: 18px; }
.flash-stack { display: grid; gap: 8px; margin-bottom: 16px; }
.dynamic-product-image { display: grid; place-items: center; width: 100%; aspect-ratio: 1 / 1; overflow: hidden; border-radius: 7px; background: #fff; color: var(--system-muted); }
.dynamic-product-image img, .dynamic-product-detail-image img { display: block; width: 100%; height: 100%; object-fit: contain; }
.dynamic-product-detail-image { min-height: 520px; display: grid; place-items: center; color: var(--system-muted); }
.stock-warning { display: block; color: #9b6400; font-size: 12px; font-weight: 900; margin: 8px 0; }
.catalog-price { display: block; margin-top: 12px; font-size: 20px; color: var(--system-green-dark); }
.catalog-old-price { display: block; margin-top: 10px; color: var(--system-muted); font-size: 13px; }
.catalog-offer-badge { display: inline-flex; width: fit-content; margin-top: 10px; border-radius: 999px; padding: 5px 9px; background: #e1f3d8; color: #276820; font-size: 12px; font-weight: 900; }
.live-product-page { width: min(1240px, calc(100% - 36px)); margin: 26px auto 70px; }
.live-product-breadcrumb { display: flex; gap: 8px; margin-bottom: 16px; color: var(--system-muted); font-size: 14px; }
.live-product-breadcrumb a { color: var(--system-green-dark); text-decoration: none; }
.live-product-shell { display: grid; grid-template-columns: minmax(380px, 1.2fr) minmax(300px, .9fr) minmax(280px, .65fr); gap: 28px; align-items: start; padding: 28px; border: 1px solid var(--system-line); border-radius: 8px; background: #fff; }
.live-product-media { display: grid; place-items: center; min-height: 520px; background: #fff; }
.live-product-media img { width: 100%; max-height: 520px; object-fit: contain; }
.live-product-placeholder { color: var(--system-muted); }
.live-product-brand { color: var(--system-green-dark); font-size: 13px; font-weight: 900; text-transform: uppercase; }
.live-product-copy h1 { margin: 10px 0; font-size: clamp(28px, 3vw, 42px); line-height: 1.08; letter-spacing: 0; }
.live-product-reference,.live-product-description { color: var(--system-muted); line-height: 1.55; }
.live-product-facts { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 10px; margin-top: 24px; }
.live-product-facts div { padding: 14px; border: 1px solid var(--system-line); border-radius: 7px; }
.live-product-facts dt { color: var(--system-muted); font-size: 12px; }
.live-product-facts dd { margin: 5px 0 0; font-weight: 900; }
.live-buy-box { position: sticky; top: 86px; display: grid; gap: 12px; padding: 20px; border: 1px solid var(--system-line); border-radius: 8px; }
.live-buy-box del { color: var(--system-muted); }
.live-product-price { font-size: 30px; }
.live-installment { color: var(--system-green-dark); font-weight: 800; }
.live-payment-methods { display: flex; flex-wrap: wrap; gap: 6px; }
.live-payment-methods span { padding: 5px 8px; border-radius: 999px; background: var(--system-soft); color: var(--system-muted); font-size: 12px; }
.live-stock-note,.live-buy-box p { margin: 2px 0; color: var(--system-muted); line-height: 1.5; }
.live-add-form { display: grid; gap: 12px; margin-top: 8px; }
.live-add-form label { display: grid; gap: 6px; color: var(--system-muted); font-size: 13px; font-weight: 800; }
.live-add-form input { min-height: 44px; border: 1px solid #cbd7c8; border-radius: 6px; padding: 10px 12px; font: inherit; }
.live-box-title { font-size: 20px; }
.live-header-cart { position: relative; }
.live-header-cart > strong { position: absolute; top: -8px; right: -8px; display: grid; place-items: center; min-width: 22px; height: 22px; padding: 0 5px; border-radius: 999px; color: #fff; background: var(--system-green-dark); font-size: 11px; }
.related-products { margin-top: 24px; padding: 24px; border: 1px solid var(--system-line); border-radius: 8px; background: #fff; }
.related-products-heading { display: flex; align-items: end; justify-content: space-between; gap: 20px; margin-bottom: 18px; }
.related-products-heading span { color: var(--system-green-dark); font-size: 12px; font-weight: 900; text-transform: uppercase; }
.related-products-heading h2 { margin: 5px 0 0; font-size: 24px; }
.related-products-heading > a { color: var(--system-green-dark); font-weight: 900; text-decoration: none; }
.related-products-grid { display: grid; grid-template-columns: repeat(6,minmax(0,1fr)); gap: 14px; }
.related-product-card { display: flex; min-width: 0; flex-direction: column; gap: 6px; }
.related-product-card > a:first-child { color: inherit; text-decoration: none; }
.related-product-image { display: grid; place-items: center; width: 100%; aspect-ratio: 1 / 1; overflow: hidden; border-radius: 7px; background: #fff; color: var(--system-muted); font-size: 12px; }
.related-product-image img { width: 100%; height: 100%; object-fit: contain; }
.related-product-card small,.related-product-card span { color: var(--system-muted); }
.related-product-card h3 { min-height: 42px; margin: 7px 0; overflow: hidden; font-size: 14px; line-height: 1.35; }
.related-product-card > strong { font-size: 19px; }
.related-product-card > span { font-size: 12px; }
.related-price-link { color: var(--system-green-dark); font-size: 13px; font-weight: 900; text-decoration: none; }
.filter-panel details a { display: block; padding: 7px 0; color: inherit; text-decoration: none; }
.admin-edit-tabs a {
  min-height: 40px; display: inline-flex; align-items: center; padding: 0 16px;
  border-radius: 6px; color: #596555; font-weight: 900; white-space: nowrap; text-decoration: none;
}
.admin-edit-tabs a.active, .admin-edit-tabs a:hover { color: #0b5a25; background: #eaf4e1; }
.admin-back-row { margin: -8px 0 18px; }
.admin-back-row a { display: inline-flex; align-items: center; gap: 7px; color: var(--system-green-dark); font-weight: 900; text-decoration: none; }
.admin-back-row a:hover { text-decoration: underline; }
.image-folder-import { display: grid; grid-template-columns: minmax(220px,.55fr) minmax(360px,1fr); gap: 28px; align-items: start; margin-top: 20px; }
.image-folder-import h2 { margin-bottom: 8px; }
.image-folder-import p { margin: 0; }
.image-import-status { grid-column: 1 / -1; min-height: 0; border-radius: 6px; font-weight: 800; }
.image-import-status.working,.image-import-status.success,.image-import-status.error { padding: 12px 14px; }
.image-import-status.working { color: #405044; background: #eef3ea; }
.image-import-status.success { color: var(--system-green-dark); background: #e3f3dc; }
.image-import-status.error { color: #8f2f28; background: var(--system-danger); }
.checkout-summary { position: sticky; top: 90px; }
.checkout-summary > p { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; color: var(--system-muted); }
.checkout-summary > p strong { color: var(--system-ink); text-align: right; }
.checkout-summary-total { font-size: 18px; }
.checkout-summary-total strong { font-size: 24px; }
.summary-divider { height: 1px; margin: 14px 0; background: var(--system-line); }
.checkout-choice-summary { margin: 16px 0; border: 1px solid var(--system-line); border-radius: 8px; overflow: hidden; background: #fff; }
.checkout-choice-summary summary { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 13px; cursor: pointer; list-style: none; background: #eef4e9; }
.checkout-choice-summary summary::-webkit-details-marker { display: none; }
.checkout-choice-summary summary::after { content: "⌄"; color: var(--system-green-dark); font-weight: 900; }
.checkout-choice-summary[open] summary::after { content: "⌃"; }
.checkout-choice-summary summary > span { font-weight: 900; }
.checkout-choice-summary summary > strong { margin-left: auto; color: var(--system-green-dark); font-size: 13px; text-align: right; }
.checkout-choice-fields { display: grid; gap: 12px; padding: 13px; }
.checkout-choice-fields > label,.checkout-carrier-fields label { display: grid; gap: 5px; color: #405044; font-size: 12px; font-weight: 800; }
.checkout-choice-fields select,.checkout-carrier-fields input { width: 100%; min-height: 40px; border: 1px solid #cbd7c8; border-radius: 6px; padding: 8px 10px; background: #fff; font: inherit; }
.checkout-freight-options { display: grid; gap: 8px; margin: 0; padding: 0; border: 0; }
.checkout-freight-options legend { margin-bottom: 7px; font-size: 12px; font-weight: 900; }
.checkout-freight-options label { display: flex; align-items: flex-start; gap: 9px; padding: 10px; border: 1px solid var(--system-line); border-radius: 7px; cursor: pointer; }
.checkout-freight-options input { margin-top: 3px; }
.checkout-freight-options span { display: grid; gap: 2px; }
.checkout-freight-options small { color: var(--system-muted); }
.checkout-carrier-fields,.checkout-carrier-fields > div { display: grid; gap: 10px; }
.checkout-installment-preview { display: grid; grid-template-columns: 1fr auto; gap: 4px 10px; padding: 11px; border-radius: 7px; background: #f1f6ed; }
.checkout-installment-preview span,.checkout-installment-preview small { color: var(--system-muted); }
.checkout-installment-preview strong { color: var(--system-green-dark); text-align: right; }
.checkout-installment-preview small { grid-column: 1 / -1; font-size: 12px; }
.checkout-credit-note { display: grid; gap: 4px; padding: 11px; border-radius: 7px; background: var(--system-warning); color: #6f4b00; font-size: 12px; line-height: 1.4; }
.order-view-tabs { display: flex; gap: 8px; margin: 0 0 18px; }
.order-view-tabs a { display: inline-flex; align-items: center; gap: 8px; min-height: 40px; padding: 0 14px; border: 1px solid var(--system-line); border-radius: 6px; color: var(--system-muted); background: #fff; font-weight: 900; text-decoration: none; }
.order-view-tabs a.active { color: #fff; border-color: var(--system-green); background: var(--system-green); }
.order-view-tabs span { display: grid; place-items: center; min-width: 22px; height: 22px; padding: 0 6px; border-radius: 999px; background: rgba(255,255,255,.22); font-size: 11px; }
.order-tracking-panel + .order-tracking-panel { margin-top: 20px; }
.admin-panel-head { display: flex; align-items: center; justify-content: space-between; gap: 18px; padding: 20px; border-bottom: 1px solid var(--system-line); }
.admin-panel-head h2 { margin: 0 0 4px; }
.admin-panel-head p { margin: 0; color: var(--system-muted); }
.order-review-group { margin-bottom: 20px; }
.order-review-actions { justify-content: flex-end; align-items: center; }
.client-profile-content { max-width: 1180px; }
.client-profile-hero { display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 26px; border: 1px solid var(--system-line); border-radius: 8px; background: #fff; }
.client-profile-hero h1 { margin: 5px 0; font-size: clamp(28px,4vw,46px); }
.client-profile-hero p { margin: 0; color: var(--system-muted); }
.client-profile-metrics { display: grid; grid-template-columns: repeat(4,minmax(0,1fr)); gap: 14px; margin: 18px 0; }
.client-profile-metrics article { display: grid; gap: 4px; padding: 18px; border: 1px solid var(--system-line); border-radius: 8px; background: #fff; }
.client-profile-metrics article.warning { border-color: #efd88c; background: #fffaf0; }
.client-profile-metrics span { color: var(--system-green-dark); font-size: 27px; font-weight: 900; }
.client-profile-metrics small { color: var(--system-muted); }
.profile-section { margin-top: 18px; }
.client-order-list { display: grid; }
.client-order-row { display: flex; align-items: center; justify-content: space-between; gap: 18px; padding: 17px 20px; border-bottom: 1px solid var(--system-line); color: inherit; text-decoration: none; }
.client-order-row:last-child { border-bottom: 0; }
.client-order-row:hover { background: #f7faf5; }
.client-order-row > div { display: grid; gap: 5px; }
.client-order-row small,.client-order-state span { color: var(--system-muted); }
.client-order-state { text-align: right; }
.client-profile-actions { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 14px; }
.client-access-panel { margin:18px 0; }
.client-user-grid { display:grid; grid-template-columns:repeat(auto-fit,minmax(290px,1fr)); gap:14px; padding:18px; }
.client-user-card { display:grid; gap:12px; padding:16px; border:1px solid var(--system-line); border-radius:8px; background:#fbfdf8; }
.client-user-card-new { border-style:dashed; background:#fff; }
.inline-check { display:flex; align-items:center; gap:8px; font-weight:800; }
.inline-check input { width:auto; }
.client-user-actions { display:flex; align-items:center; justify-content:space-between; gap:10px; }
.client-condition-toolbar { display:flex; flex-wrap:wrap; gap:10px; padding:16px 18px; border-bottom:1px solid var(--system-line); }
.client-condition-groups { display:grid; gap:12px; padding:18px; }
.client-condition-group { border:1px solid #d9e5d4; border-radius:8px; background:#fff; overflow:hidden; }
.client-condition-group summary { display:flex; align-items:center; justify-content:space-between; gap:16px; padding:15px 17px; cursor:pointer; list-style:none; background:#f4f8f1; }
.client-condition-group summary::-webkit-details-marker { display:none; }
.client-condition-group summary div { display:grid; gap:3px; }
.client-condition-group summary strong { color:var(--system-green-dark); font-size:18px; }
.client-condition-group summary small { color:var(--system-muted); }
.client-condition-group summary span { color:var(--system-green-dark); font-weight:900; }
.client-condition-group-actions { display:flex; flex-wrap:wrap; gap:12px; padding:12px 17px; border-top:1px solid var(--system-line); }
.client-condition-list { display:grid; }
.client-condition-row { display:grid; grid-template-columns:minmax(170px,1fr) minmax(150px,.75fr) minmax(120px,.55fr) minmax(130px,.65fr) minmax(180px,1fr); gap:12px; align-items:end; padding:14px 17px; border-top:1px solid #edf0eb; }
.client-condition-row > strong { align-self:center; }
.client-condition-row label { display:grid; gap:5px; color:var(--system-muted); font-size:12px; font-weight:900; }
.client-condition-row input,.client-condition-row select { width:100%; min-height:38px; }
.profile-collapsible { border: 1px solid var(--system-line); border-radius: 8px; background: #fff; overflow: hidden; }
.profile-collapsible summary { padding: 18px 20px; cursor: pointer; list-style: none; }
.profile-collapsible summary::-webkit-details-marker { display: none; }
.profile-collapsible summary > div { display: flex; justify-content: space-between; gap: 14px; }
.profile-collapsible summary span { color: var(--system-muted); font-size: 13px; }
.profile-detail-body { display: grid; gap: 0; padding: 0 20px 16px; }
.profile-detail-body p { display: flex; justify-content: space-between; gap: 14px; margin: 0; padding: 11px 0; border-top: 1px solid var(--system-line); }
.order-status-large { display: inline-flex; padding: 9px 13px; border-radius: 999px; color: var(--system-green-dark); background: #e1f3d8; font-weight: 900; }
.order-contact-card { margin-top: 20px; }
.order-contact-card p { display: flex; justify-content: space-between; gap: 16px; color: var(--system-muted); }
.order-contact-card p strong { color: var(--system-ink); }
.order-summary-condition { display: grid; gap: 4px; margin-top: 12px; padding: 13px; border-radius: 7px; background: #eef4e9; }
.order-summary-condition span,.order-summary-condition small { color: var(--system-muted); }
.order-tracking-status { display: grid; gap: 5px; margin-top: 16px; padding: 13px; border-left: 4px solid var(--system-green); background: var(--system-soft); }
.order-tracking-status span { color: var(--system-muted); font-size: 13px; line-height: 1.45; }

@media (max-width: 800px) {
  .system-form fieldset, .field-grid, .editor-grid { grid-template-columns: 1fr; }
  .field-grid .wide { grid-column: auto; }
  .app-topbar { padding: 10px 16px; flex-wrap: wrap; }
  .app-topbar nav { order: 3; width: 100%; margin: 8px 0 0; overflow-x: auto; }
  .admin-nav-group { flex: 0 0 auto; }
  .admin-nav-dropdown { position: fixed; top: auto; left: 16px; right: 16px; min-width: 0; margin-top: 8px; }
  .app-content { width: min(100% - 24px, 1400px); }
  .page-heading { align-items: flex-start; flex-direction: column; }
  .data-panel { overflow-x: auto; }
  .data-table { min-width: 760px; }
  .offer-toolbar { grid-template-columns: 1fr; }
  .live-product-shell { grid-template-columns: 1fr; padding: 18px; }
  .live-product-media { min-height: 300px; }
  .live-buy-box { position: static; }
  .image-folder-import { grid-template-columns: 1fr; }
  .related-products-grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .checkout-summary { position: static; }
  .client-profile-hero { align-items: flex-start; flex-direction: column; }
  .client-profile-metrics { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .client-profile-actions { grid-template-columns: 1fr; }
  .client-order-row { align-items: flex-start; flex-direction: column; }
  .client-order-state { text-align: left; }
  .client-condition-row { grid-template-columns:1fr 1fr; }
  .order-view-tabs { overflow-x: auto; }
}

/* Unified client and administration surfaces */
.responsive-table { width: 100%; overflow-x: auto; }
.admin-dashboard-card {
  display: grid;
  align-content: start;
  min-height: 132px;
  padding: 24px;
  border: 1px solid var(--system-line);
  border-radius: 8px;
  color: var(--system-ink);
  background: #fff;
  text-decoration: none;
  box-shadow: 0 14px 34px rgba(27,52,30,.06);
}
.admin-dashboard-card:hover { border-color: #8fbd76; transform: translateY(-1px); }
.admin-dashboard-card span { margin-bottom: 14px; color: var(--system-green-dark); font-size: 34px; font-weight: 900; }
.admin-dashboard-card p { margin: 6px 0 0; color: var(--system-muted); }
.financeiro-heading { display:flex; align-items:center; justify-content:space-between; gap:20px; margin-bottom:14px; color:var(--system-muted); }
.financeiro-heading > div { display:grid; gap:3px; }
.financeiro-heading strong { color:#12391f; font-size:22px; }
.financeiro-tabs { margin-bottom:24px; overflow:visible; flex-wrap:wrap; }
.financeiro-tabs a { white-space:nowrap; }
.finance-import-panel form,.finance-import-confirm { display:flex; align-items:end; gap:12px; flex-wrap:wrap; }
.finance-import-panel label { display:grid; gap:8px; flex:1 1 420px; }
.finance-import-confirm { justify-content:flex-end; margin-top:18px; }
.finance-import-confirm label { margin-right:auto; }
.finance-receipt-import { display:grid; gap:18px; margin:18px 0 20px; padding:22px; border:1px solid #dce8d5; border-radius:12px; background:#f8fbf5; }
.finance-receipt-dialog .page-heading { margin-bottom: 24px; gap: 18px; }
.finance-receipt-dialog .page-heading > div { min-width: 0; }
.finance-inline-import { display:grid; grid-template-columns:minmax(240px,1fr) auto; align-items:end; gap:12px; }
.finance-inline-import label { display:grid; gap:6px; color:var(--system-muted); font-size:12px; font-weight:900; }
.finance-inline-import input[type=file] { min-height:42px; padding:10px 12px; border:1px solid #cbd7c8; border-radius:8px; background:#fff; }
.finance-import-preview-head { display:flex; align-items:center; justify-content:space-between; gap:14px; flex-wrap:wrap; padding-bottom:10px; border-bottom:1px solid #dce8d5; }
.finance-import-preview-head div { display:grid; gap:4px; min-width:0; }
.finance-import-preview-head span { color:var(--system-muted); font-size:13px; }
.finance-import-required-fields {
  display: grid;
  grid-template-columns: repeat(2, minmax(240px, 1fr));
  gap: 16px;
}
.finance-import-required-fields label {
  display: grid;
  gap: 7px;
  font-weight: 900;
  color: var(--system-muted);
}
.finance-import-required-fields select,
.finance-import-required-fields input,
.finance-import-client-select {
  min-height: 44px;
  width: 100%;
  min-width: 0;
  padding: 10px 12px;
  border: 1px solid #cbd7c8;
  border-radius: 8px;
  background: #fff;
  color: var(--system-ink);
  font: inherit;
  font-weight: 800;
}
.finance-import-client-select,
.finance-import-seller-select {
  min-height: 44px;
  width: 100%;
  min-width: 0;
  padding: 10px 12px;
  border: 1px solid #cbd7c8;
  border-radius: 8px;
  background: #fff;
  color: var(--system-ink);
  font: inherit;
  font-weight: 800;
  max-width: none;
}
.finance-import-combobox {
  position: relative;
  width: 100%;
  min-width: 0;
}
.finance-import-combobox input[type=search] {
  min-height: 44px;
  width: 100%;
  padding: 10px 12px;
  border: 1px solid #cbd7c8;
  border-radius: 8px;
  background: #fff;
  font: inherit;
  font-weight: 800;
}
.finance-import-bulk-actions {
  display: grid;
  grid-template-columns: minmax(180px,.5fr) minmax(420px,1.35fr) minmax(280px,.75fr) auto;
  gap: 16px;
  align-items: end;
  margin: 16px 0 10px;
}
.finance-import-bulk-status {
  font-size: 14px;
  color: var(--system-muted);
}
.finance-import-bulk-actions label {
  display: grid;
  gap: 7px;
  font-weight: 900;
  color: var(--system-muted);
}
.finance-import-bulk-actions select {
  min-height: 44px;
  width: 100%;
  min-width: 0;
  padding: 10px 12px;
  border: 1px solid #cbd7c8;
  border-radius: 8px;
  background: #fff;
  font: inherit;
  font-weight: 800;
}
.finance-inline-preview {
  max-height: 55vh;
  min-height: 280px;
  overflow: auto;
  border: 1px solid var(--system-line);
  border-radius: 12px;
  background: #fff;
}
.finance-inline-preview .data-table {
  width: 100%;
  border-collapse: collapse;
  min-width: 0;
}
.finance-inline-preview .data-table th,
.finance-inline-preview .data-table td {
  padding: 14px 14px;
  vertical-align: top;
  white-space: normal;
}
.finance-inline-preview .data-table thead th {
  position: sticky;
  top: 0;
  background: #f8fbf5;
  z-index: 2;
}
.finance-inline-preview .data-table th:first-child,
.finance-inline-preview .data-table td:first-child {
  width: 40px;
  text-align: center;
}
.finance-inline-preview .data-table small {
  display: block;
  color: var(--system-muted);
  margin-top: 4px;
}
.admin-app-shell {
  padding-left: 248px;
}
.admin-app-shell .app-topbar {
    position: fixed;
    inset: 0 auto 0 0;
    width: 248px;
    height: 100vh;
    min-height: 0;
    padding: 22px 16px;
    flex-direction: column;
    align-items: stretch;
    background: #102b1b;
    border: 0;
    color: #fff;
    box-shadow: 8px 0 30px rgba(16,43,27,.12);
}
.admin-app-shell .app-topbar > a { display:flex; justify-content:center; padding-bottom:18px; border-bottom:1px solid rgba(255,255,255,.12); }
.admin-app-shell .app-topbar img { width: 78px; filter: brightness(0) invert(1); }
.admin-app-shell .app-topbar nav { margin: 18px 0 0; display:grid; gap:5px; align-items:stretch; }
.admin-app-shell .app-topbar nav > a,
.admin-app-shell .app-topbar .topbar-end a,
.admin-app-shell .admin-nav-group summary {
    display:flex;
    align-items:center;
    min-height:44px;
    padding:10px 12px;
    border-radius:6px;
    color:#e8f2e8;
    font-weight:800;
}
.admin-app-shell .app-topbar nav > a.active,
.admin-app-shell .app-topbar nav > a:hover,
.admin-app-shell .admin-nav-group.active summary,
.admin-app-shell .admin-nav-group[open] summary,
.admin-app-shell .admin-nav-group summary:hover {
    color:#fff;
    background:#2f7f2b;
}
.admin-app-shell .app-topbar .admin-nav-badge {
    color:#cfe0d2;
    background:rgba(255,255,255,.1);
}
.admin-app-shell .app-topbar .admin-nav-badge.has-alert {
    color:#12320f;
    background:#dff3d7;
}
.admin-app-shell .app-topbar nav > a.active .admin-nav-badge,
.admin-app-shell .app-topbar nav > a:hover .admin-nav-badge {
    color:#12320f;
    background:rgba(255,255,255,.72);
}
.admin-app-shell .admin-nav-group { position:static; }
.admin-app-shell .admin-nav-dropdown {
    position:static;
    min-width:0;
    margin:4px 0 8px 12px;
    padding:4px 0 4px 12px;
    border:0;
    border-left:2px solid rgba(255,255,255,.18);
    border-radius:0;
    background:transparent;
    box-shadow:none;
}
.admin-app-shell .admin-nav-dropdown a { color:#c8d8ca!important; padding:8px 10px!important; }
.admin-app-shell .admin-nav-dropdown a:hover,
.admin-app-shell .admin-nav-dropdown a.active { color:#fff!important; background:rgba(255,255,255,.09)!important; }
.admin-app-shell .admin-main-nav { overflow-y:auto; padding-right:2px; }
.admin-app-shell .admin-nav-group summary { justify-content:space-between; gap:8px; cursor:pointer; }
.admin-app-shell .admin-nav-group summary::after { opacity:.72; }
.admin-app-shell .admin-nav-group.active summary { box-shadow:inset 3px 0 0 #dff3d7; }
.admin-app-shell .app-topbar .topbar-end { margin:auto 0 0; display:grid; gap:4px; border-top:1px solid rgba(255,255,255,.12); padding-top:14px; }
.admin-app-shell .app-topbar .topbar-end span { padding:8px 12px; color:#9fbea6; font-size:13px; }
.admin-app-shell > .app-content {
    display: block;
    width: min(1500px, calc(100% - 48px));
    max-width: 1500px;
    min-width: 0;
    margin: 28px auto 64px;
    padding-inline: 0;
}
.admin-app-shell > .app-content > .data-panel,
.admin-app-shell > .app-content > form,
.admin-app-shell > .app-content > section {
    max-width: 100%;
}

.analytics-filter {
  display:flex;
  align-items:end;
  gap:12px;
  flex-wrap:wrap;
  margin-bottom:18px;
}
.analytics-filter label { display:grid; gap:6px; color:var(--system-muted); font-size:13px; font-weight:800; }
.analytics-kpis { display:grid; grid-template-columns:repeat(5,minmax(0,1fr)); gap:12px; margin-bottom:16px; }
.finance-dashboard-kpis { grid-template-columns:repeat(9,minmax(118px,1fr)); }
.analytics-kpi { min-height:108px; padding:18px; border:1px solid var(--system-line); border-top:4px solid var(--system-green); border-radius:7px; background:#fff; color:inherit; text-decoration:none; }
.analytics-kpi small { display:block; color:var(--system-muted); font-weight:800; }
.analytics-kpi strong { display:block; margin-top:10px; color:#12391f; font-size:25px; }
.analytics-kpi:hover { border-color:#8ab77c; transform:translateY(-1px); }
.admin-command-heading { align-items:flex-end; }
.admin-attention-grid {
  display:grid;
  grid-template-columns:repeat(6,minmax(0,1fr));
  gap:12px;
  margin-bottom:16px;
}
.admin-attention-card {
  display:grid;
  min-height:124px;
  gap:8px;
  padding:16px;
  border:1px solid var(--system-line);
  border-top:4px solid #7c9a78;
  border-radius:7px;
  background:#fff;
  color:inherit;
  text-decoration:none;
}
.admin-attention-card:hover { border-color:#8ab77c; transform:translateY(-1px); }
.admin-attention-card.warning { border-top-color:#c28a2c; }
.admin-attention-card.opportunity { border-top-color:#2f7f2b; }
.admin-attention-card span { color:var(--system-muted); font-size:13px; font-weight:900; }
.admin-attention-card strong { color:#12391f; font-size:28px; line-height:1; }
.admin-attention-card small { color:#5b655c; line-height:1.35; }
.admin-command-grid {
  display:grid;
  grid-template-columns:repeat(6,minmax(0,1fr));
  gap:12px;
  margin-bottom:16px;
}
.admin-command-grid a {
  display:grid;
  gap:7px;
  min-height:138px;
  padding:18px;
  border:1px solid var(--system-line);
  border-radius:7px;
  background:#fff;
  color:inherit;
  text-decoration:none;
}
.admin-command-grid a:hover { border-color:#8ab77c; background:#fbfdf9; }
.admin-command-grid span { color:#2f7f2b; font-size:12px; font-weight:900; text-transform:uppercase; letter-spacing:0; }
.admin-command-grid strong { color:#12391f; font-size:18px; }
.admin-command-grid small { color:var(--system-muted); line-height:1.45; }
.report-type-tabs { display:flex; flex-wrap:wrap; gap:6px; margin:0 0 16px; padding:6px; border:1px solid var(--system-line); border-radius:7px; background:#fff; }
.report-type-tabs a { padding:10px 14px; border-radius:6px; color:var(--system-text); font-weight:800; text-decoration:none; }
.report-type-tabs a.active,.report-type-tabs a:hover { background:var(--system-soft); color:var(--system-green-dark); }
.report-section { margin-top:18px; }
.print-only { display:none; }
.finance-report-heading { align-items:flex-end; }
.report-actions { display:flex; gap:10px; align-items:center; flex-wrap:wrap; justify-content:flex-end; }
.finance-report-kpis { display:grid; grid-template-columns:repeat(4,minmax(0,1fr)); gap:10px; margin:16px 0; }
.finance-report-kpis article { min-width:0; padding:16px; border:1px solid var(--system-line); border-radius:8px; background:#fff; }
.finance-report-kpis span { display:block; margin-bottom:8px; color:var(--system-muted); font-size:12px; font-weight:900; text-transform:uppercase; letter-spacing:0; }
.finance-report-kpis strong { display:block; color:#082e1b; font-size:22px; line-height:1.15; overflow-wrap:anywhere; }
.finance-report-kpis .is-negative strong { color:#9b1c1c; }
.finance-report-grid { display:grid; grid-template-columns:minmax(0,1fr) minmax(360px,.72fr); gap:14px; margin:16px 0; }
.finance-report-card { min-width:0; }
.finance-report-split,.finance-report-status { display:grid; gap:14px; padding:18px; }
.finance-report-split > div { display:grid; grid-template-columns:minmax(130px,1fr) minmax(110px,.55fr) minmax(180px,1.4fr) 58px; gap:12px; align-items:center; }
.finance-report-split span,.finance-report-status span { color:var(--system-muted); font-weight:900; }
.finance-report-split strong,.finance-report-status strong { color:#102d1b; }
.finance-report-split i,.finance-report-bars i { display:block; height:12px; overflow:hidden; border-radius:999px; background:#e8eee5; }
.finance-report-split b,.finance-report-bars b { display:block; height:100%; border-radius:inherit; background:#2f7f2b; }
.finance-report-split b.internal { background:#6b7f2b; }
.finance-report-split b.office { background:#245d72; }
.finance-report-split small,.finance-report-status small { color:var(--system-muted); }
.finance-report-status { grid-template-columns:repeat(3,minmax(0,1fr)); }
.finance-report-status > div { min-width:0; padding:14px; border:1px solid var(--system-line); border-radius:8px; background:#fbfcfa; }
.finance-report-status strong { display:block; margin:7px 0; font-size:20px; overflow-wrap:anywhere; }
.finance-report-bars { display:grid; gap:12px; padding:18px; }
.finance-report-bars > div { display:grid; grid-template-columns:minmax(170px,.8fr) minmax(220px,1.4fr) minmax(110px,.45fr); gap:12px; align-items:center; }
.finance-report-bars span { min-width:0; font-weight:900; overflow-wrap:anywhere; }
.finance-report-bars strong { text-align:right; color:#102d1b; }
.finance-report-table { min-width:1060px; }
.finance-report-table th,.finance-report-table td { vertical-align:top; }
.finance-report-table small { display:block; margin-top:4px; color:var(--system-muted); }
.finance-office-breakdown { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:1px; background:var(--system-line); }
.finance-office-breakdown > div { display:flex; justify-content:space-between; gap:14px; padding:18px; background:#fff; }
.finance-office-breakdown .total { grid-column:1/-1; background:var(--system-soft); font-size:18px; }
@media print {
  .system-sidebar,.system-mobile-header,.no-print,.financeiro-tabs,.app-topbar { display:none !important; }
  .print-only { display:grid !important; }
  .admin-app-shell,.app-content,.system-shell,.system-content { display:block !important; margin:0 !important; padding:0 !important; max-width:none !important; width:100% !important; }
  body { background:#fff !important; color:#111 !important; font-size:10.5px; }
  .data-panel,.admin-dashboard-card,.finance-report-card,.finance-print-section { box-shadow:none !important; break-inside:avoid; }
  .report-title { border-bottom:2px solid #1f6f31; padding-bottom:12px; }
  .finance-report-cover { margin:0 0 12px; padding:14px 0; border-bottom:1px solid #999; gap:3px; }
  .finance-report-cover strong { font-size:15px; }
  .finance-report-cover span { font-size:20px; font-weight:900; }
  .finance-report-kpis { grid-template-columns:repeat(4,1fr); gap:6px; }
  .finance-report-kpis article { padding:9px; border-color:#aaa; }
  .finance-report-kpis strong { font-size:15px; }
  .finance-report-grid { grid-template-columns:1fr 1fr; gap:8px; }
  .finance-report-split,.finance-report-status,.finance-report-bars { padding:10px; gap:8px; }
  .finance-report-split > div { grid-template-columns:1fr .8fr 1.2fr 42px; gap:6px; }
  .finance-report-status { grid-template-columns:repeat(3,1fr); }
  .finance-report-bars > div { grid-template-columns:1fr 1.5fr .65fr; gap:6px; }
  .responsive-table { overflow:visible !important; }
  .finance-report-table,.data-table { min-width:0 !important; width:100% !important; }
  .data-table th,.data-table td { padding:5px !important; font-size:9.5px; }
  .admin-panel-head { padding:10px !important; }
}
.analytics-grid { display:grid; grid-template-columns:minmax(0,1.6fr) minmax(300px,.8fr); gap:16px; }
.analytics-panel { padding:20px; border:1px solid var(--system-line); border-radius:7px; background:#fff; }
.analytics-panel h2 { margin:0 0 4px; font-size:18px; }
.analytics-panel > p { margin:0 0 18px; color:var(--system-muted); }
.bar-chart { display:flex; align-items:end; gap:12px; min-height:230px; padding-top:20px; border-bottom:1px solid var(--system-line); }
.bar-chart-item { flex:1; display:grid; grid-template-rows:1fr auto; align-items:end; gap:8px; height:210px; text-align:center; color:var(--system-muted); font-size:12px; }
.bar-chart-item i { display:block; min-height:6px; border-radius:5px 5px 0 0; background:linear-gradient(180deg,#68b745,#26752e); }
.ranking-list { display:grid; gap:13px; }
.ranking-row { display:grid; grid-template-columns:minmax(100px,1fr) 2fr auto; align-items:center; gap:10px; font-size:13px; }
.ranking-track { height:9px; overflow:hidden; border-radius:8px; background:#e7eee4; }
.ranking-track i { display:block; height:100%; border-radius:inherit; background:#45a13d; }

/* Financial reports: analytical screen and purpose-built print document */
.finance-bi-grid { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:14px; }
.finance-bi-card { min-width:0; overflow:hidden; }
.finance-bi-card .admin-panel-head { border-bottom:1px solid #e7ece5; }
.finance-bi-bars { display:grid; gap:13px; padding:18px; }
.finance-bi-bars > div { display:grid; grid-template-columns:26px minmax(105px,.8fr) minmax(90px,1.25fr) auto 42px; gap:9px; align-items:center; min-width:0; }
.finance-bi-bars em { display:grid; place-items:center; width:24px; height:24px; border-radius:6px; background:#edf4eb; color:#286b2d; font-size:11px; font-style:normal; font-weight:900; }
.finance-bi-bars span { overflow:hidden; color:#24382a; font-size:12px; font-weight:850; text-overflow:ellipsis; white-space:nowrap; }
.finance-bi-bars i,.report-print-chart i { display:block; height:10px; overflow:hidden; border-radius:3px; background:#e8eee6; }
.finance-bi-bars i b,.report-print-chart i b { display:block; height:100%; border-radius:inherit; background:linear-gradient(90deg,#205f32,#62a545); }
.finance-bi-bars strong { color:#102d1b; font-size:12px; text-align:right; white-space:nowrap; }
.finance-bi-bars small { color:#748078; font-size:10px; text-align:right; }
.seller-consolidated-panel { border-top:4px solid #2f7f2b; }
.seller-consolidated-table { min-width:1180px; }
.seller-consolidated-table td { vertical-align:middle; }
.seller-consolidated-table td:first-child { max-width:260px; }
.seller-consolidated-table small { display:block; margin-top:3px; color:var(--system-muted); }
.data-table tfoot th,.data-table tfoot td { padding:12px 10px; border-top:2px solid #3b7d3b; background:#eff6ed; color:#123a20; font-weight:900; }
.finance-bi-section-title { margin:22px 0 -5px; padding-left:10px; border-left:4px solid #367d39; }
.finance-bi-section-title span { color:#367d39; font-size:11px; font-weight:900; letter-spacing:.08em; text-transform:uppercase; }
.finance-bi-section-title h2 { margin:2px 0 0; color:#12351d; font-size:19px; }
.internal-summary-grid { display:grid; grid-template-columns:repeat(auto-fit,minmax(220px,1fr)); gap:12px; }
.internal-summary-grid article { padding:16px; border-top:4px solid #617e2d; }
.internal-summary-grid span,.internal-summary-grid small { display:block; color:var(--system-muted); }
.internal-summary-grid span { font-weight:900; }
.internal-summary-grid strong { display:block; margin:8px 0; color:#123a20; font-size:23px; }
.internal-summary-grid div { display:flex; justify-content:space-between; gap:8px; font-size:11px; }
.report-settings-dialog { width:min(620px,calc(100% - 32px)); padding:0; border:0; border-radius:12px; box-shadow:0 24px 70px rgba(8,35,18,.3); }
.report-settings-dialog::backdrop { background:rgba(6,28,14,.55); backdrop-filter:blur(2px); }
.report-settings-dialog header,.report-settings-dialog footer { display:flex; justify-content:space-between; gap:16px; align-items:center; padding:20px; }
.report-settings-dialog header { border-bottom:1px solid var(--system-line); }
.report-settings-dialog header h2,.report-settings-dialog header p { margin:3px 0 0; }
.report-settings-dialog header > button { border:0; background:transparent; font-size:28px; cursor:pointer; }
.report-settings-options { display:grid; grid-template-columns:1fr 1fr; gap:10px; padding:20px; }
.report-settings-options label { display:flex; gap:10px; align-items:center; padding:13px; border:1px solid var(--system-line); border-radius:7px; background:#f8faf7; font-weight:800; cursor:pointer; }
.report-settings-dialog footer { justify-content:flex-end; border-top:1px solid var(--system-line); }

@media (max-width:1180px) {
  .finance-bi-grid { grid-template-columns:1fr; }
}

@media print {
  @page { size:A4 landscape; margin:10mm 9mm 13mm; }
  .report-title,.finance-report-screen { display:none !important; }
  .report-print-document { display:block !important; color:#172219; font-family:Arial,sans-serif; font-size:8.5pt; }
  .report-print-header { display:grid; grid-template-columns:145px 1fr auto; gap:18px; align-items:center; padding:0 0 10px; border-bottom:3px solid #286b32; }
  .report-print-header > img { display:block; width:132px; max-height:48px; object-fit:contain; object-position:left center; }
  .report-print-header span { color:#50705a; font-size:7.5pt; font-weight:800; letter-spacing:.09em; text-transform:uppercase; }
  .report-print-header h1 { margin:2px 0 3px; color:#12361e; font-size:18pt; line-height:1.05; }
  .report-print-header p { margin:0; color:#536158; }
  .report-print-header aside { display:grid; gap:3px; padding:8px 10px; border-left:1px solid #d5ddd3; text-align:right; }
  .report-print-header aside strong { font-size:7pt; text-transform:uppercase; }
  .report-print-filters { display:grid; grid-template-columns:repeat(4,1fr); gap:1px; margin:8px 0; overflow:hidden; border:1px solid #dce3da; border-radius:4px; background:#dce3da; }
  .report-print-filters span { display:grid; gap:2px; padding:6px 8px; background:#f7f9f6; }
  .report-print-filters b { color:#667169; font-size:6.5pt; text-transform:uppercase; }
  .report-print-kpis { display:grid !important; grid-template-columns:repeat(6,1fr); gap:5px; margin:7px 0 10px; }
  .report-print-kpis div { padding:8px; border:1px solid #d8e0d6; border-radius:4px; background:#fff; }
  .report-print-kpis span { display:block; margin-bottom:4px; color:#68736b; font-size:6.5pt; font-weight:800; text-transform:uppercase; }
  .report-print-kpis strong { color:#123b20; font-size:12pt; }
  .report-print-charts { display:grid !important; grid-template-columns:1.25fr 1fr 1fr; gap:7px; margin-bottom:11px; break-inside:avoid; }
  .report-print-chart { padding:8px; border:1px solid #d8e0d6; border-radius:5px; }
  .report-print-chart h2 { margin:0 0 7px; color:#173d22; font-size:9pt; }
  .report-print-chart > div { display:grid; grid-template-columns:minmax(70px,.8fr) 1.2fr auto; gap:6px; align-items:center; margin-top:4px; }
  .report-print-chart > div span { overflow:hidden; font-size:6.5pt; text-overflow:ellipsis; white-space:nowrap; }
  .report-print-chart > div strong { font-size:6.5pt; white-space:nowrap; }
  .report-print-chart i { height:5px; }
  [data-report-hidden] { display:none !important; }
  .report-print-charts-gross { border-top:2px solid #a7b9a3; padding-top:7px; }
  .report-print-section-title { margin:10px 0 7px; padding-left:8px; border-left:4px solid #367d39; }
  .report-print-section-title > span { color:#367d39; font-size:6.5pt; font-weight:900; letter-spacing:.08em; text-transform:uppercase; }
  .report-print-section-title h2 { margin:2px 0; color:#14371f; font-size:13pt; }
  .report-print-section-title p { margin:0; color:#677168; }
  .report-print-industry { margin:0 0 9px; border:1px solid #cfd8cc; border-radius:5px; break-inside:avoid; overflow:hidden; }
  .report-print-industry > header { display:grid; grid-template-columns:58px 1fr auto; gap:10px; align-items:center; min-height:39px; padding:6px 9px; background:#eff5ed; border-bottom:1px solid #cfd8cc; }
  .report-print-industry > header img { width:52px; height:34px; object-fit:contain; object-position:left center; }
  .industry-logo-fallback { display:grid; place-items:center; width:34px; height:34px; border-radius:50%; background:#286b32; color:#fff; font-size:9pt; font-weight:900; }
  .report-print-industry header small { color:#69756b; font-size:6pt; font-weight:800; text-transform:uppercase; }
  .report-print-industry h3 { margin:1px 0 0; color:#12391f; font-size:11pt; }
  .report-print-industry > header > strong { color:#12391f; font-size:12pt; }
  .report-print-industry table { width:100%; border-collapse:collapse; table-layout:fixed; }
  .report-print-industry th { padding:5px 6px; background:#fafbfa; border-bottom:1px solid #dfe5dd; color:#5c695f; font-size:6pt; text-align:left; text-transform:uppercase; }
  .report-print-industry td { padding:5px 6px; border-bottom:1px solid #edf0ec; font-size:6.8pt; vertical-align:top; }
  .report-print-industry td:first-child,.report-print-industry th:first-child { width:19%; }
  .report-print-industry td:nth-child(2),.report-print-industry th:nth-child(2) { width:12%; }
  .report-print-industry td small { display:block; margin-top:2px; color:#788178; font-size:5.8pt; }
  .report-print-industry tfoot th { padding:6px; border-top:2px solid #39783b; background:#eaf3e8; color:#12391f; text-align:left; }
  .report-print-internal-summary { display:grid; grid-template-columns:repeat(4,1fr); gap:5px; margin-bottom:8px; }
  .report-print-internal-summary > div { display:grid; gap:2px; padding:7px; border:1px solid #d8e1d6; border-radius:4px; }
  .report-print-internal-summary span { color:#263a2b; font-weight:900; }
  .report-print-internal-summary small,.report-print-internal-summary em { color:#6b776e; font-size:6pt; font-style:normal; }
  .report-print-internal-summary strong { color:#12391f; font-size:10pt; }
  .report-print-generic { margin-top:12px; }
  .report-print-summary-grid { display:grid; grid-template-columns:repeat(4,1fr); gap:4px; margin:0 0 8px; }
  .report-print-summary-grid > div { display:grid; gap:3px; padding:7px; border:1px solid #dce3da; border-radius:3px; }
  .report-print-summary-grid span { color:#68736b; font-size:6pt; font-weight:800; text-transform:uppercase; }
  .report-print-summary-grid strong { color:#14391f; font-size:9pt; }
  .report-print-table { width:100%; border:1px solid #d7dfd5; border-collapse:collapse; table-layout:fixed; break-inside:auto; }
  .report-print-table thead { display:table-header-group; }
  .report-print-table tr { break-inside:avoid; }
  .report-print-table th { padding:5px 6px; background:#eff5ed; border-bottom:1px solid #cad6c7; color:#536158; font-size:6.2pt; text-align:left; text-transform:uppercase; }
  .report-print-table td { padding:5px 6px; border-bottom:1px solid #e7ece5; font-size:7pt; }
  .report-print-table tfoot th { padding:6px; border-top:2px solid #39783b; background:#eaf3e8; color:#12391f; text-align:left; }
  .report-print-document > footer { position:fixed; right:0; bottom:-8mm; left:0; padding-top:4px; border-top:1px solid #d9dfd7; color:#707970; font-size:6.5pt; text-align:center; }
  .report-page-number::after { content:counter(page); }
}
.dashboard-table { margin-top:16px; }
.finance-pending-grid { grid-template-columns:repeat(2,minmax(0,1fr)); margin-top:16px; }
.finance-pending-list { display:grid; gap:10px; }
.finance-pending-list a {
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:16px;
  padding:12px 14px;
  border:1px solid var(--system-line);
  border-radius:7px;
  background:#fbfdf9;
  color:inherit;
  text-decoration:none;
}
.finance-pending-list a:hover { border-color:#8ab77c; background:#fff; }
.finance-pending-list strong,
.finance-pending-list small { display:block; }
.finance-pending-list small { margin-top:4px; color:var(--system-muted); }
.finance-pending-list em { color:#12391f; font-style:normal; font-weight:900; white-space:nowrap; }
.finance-month-summary { display:grid; grid-template-columns:repeat(6,minmax(0,1fr)); gap:10px; margin:16px 0; }
.finance-month-summary article { padding:15px; border:1px solid var(--system-line); border-radius:7px; background:#fff; }
.finance-month-summary small { display:block; color:var(--system-muted); font-weight:800; }
.finance-month-summary strong { display:block; margin-top:7px; color:#12391f; font-size:18px; }
.finance-ofx-panel { margin-top:16px; }
.finance-ofx-reconcile { margin-top:16px; }
.finance-ofx-done { margin-top:16px; }
.finance-reconcile-table th:nth-child(1),.finance-reconcile-table td:nth-child(1) { width:120px; }
.finance-reconcile-table th:nth-child(3),.finance-reconcile-table td:nth-child(3) { width:190px; }
.finance-reconcile-table th:nth-child(5),.finance-reconcile-table td:nth-child(5) { width:120px; }
.finance-reconcile-table tr[id] { scroll-margin-top:18px; }
.finance-ofx-choice { display:grid; grid-template-columns:minmax(150px,.55fr) minmax(360px,1.45fr) 120px auto; gap:8px; align-items:start; width:100%; }
.finance-ofx-choice select,.finance-ofx-choice input { min-height:40px; min-width:0; padding:8px; border:1px solid #cbd7c8; border-radius:6px; background:#fff; }
.finance-ofx-choice button { min-height:40px; white-space:nowrap; }
.finance-target-picker { min-width:0; width:100%; }
.finance-target-picker > input[type="search"] { width:100%; }
.finance-target-results { position:fixed !important; z-index:1200; display:grid; box-sizing:border-box; gap:6px; max-height:320px; overflow:auto; padding:10px; border:1px solid #cbd7c8; border-radius:7px; background:#fff; box-shadow:0 12px 32px rgba(18,57,31,.2); }
.finance-target-results[hidden] { display:none !important; }
.finance-target-results.is-open { display:grid !important; }
.finance-target-results button { display:block; width:100%; min-height:0; padding:10px 12px; border:1px solid #e2eadf; border-radius:6px; background:#fff; color:#0b1f13; text-align:left; white-space:normal; cursor:pointer; }
.finance-target-results button:hover,.finance-target-results button:focus { border-color:#2d7f2a; background:#eef7e9; outline:none; }
.finance-target-results strong { display:block; font-size:14px; line-height:1.35; }
.finance-target-results span { display:block; margin-top:4px; color:var(--system-muted); font-size:13px; line-height:1.35; }
.finance-target-results p { margin:0; padding:10px 12px; color:var(--system-muted); }
.finance-ofx-links { display:grid; gap:6px; margin-bottom:8px; }
.finance-ofx-link-action { display:flex; align-items:center; flex-wrap:wrap; gap:6px; color:var(--system-muted); }
.finance-ofx-link-action small { flex-basis:100%; margin-left:76px; }
.finance-link-details { margin:4px 0 8px 76px; color:var(--system-muted); font-size:13px; }
.finance-link-details summary { cursor:pointer; color:var(--system-green-dark); font-weight:800; }
.finance-link-details ul { display:grid; gap:4px; max-height:180px; margin:6px 0 0; padding:8px 10px; overflow:auto; border:1px solid var(--system-line); border-radius:6px; background:#f7faf5; }
.finance-link-details li { display:flex; justify-content:space-between; gap:12px; }
.finance-link-details li span { min-width:0; }
.finance-link-details li strong { white-space:nowrap; color:var(--system-green-dark); }
.finance-positive { color:#176c2b; font-weight:900; white-space:nowrap; }
.finance-negative { color:#9b251f; font-weight:900; white-space:nowrap; }
.inline-quantity-form { display:flex; align-items:center; gap:8px; }
.inline-quantity-form input { width:84px; }
.bulk-selection-count { display:inline-flex; align-items:center; margin-left:auto; color:var(--system-muted); font-size:13px; }
.bulk-selection-count strong { margin-right:4px; color:var(--system-green-dark); }
.dialog-delete-action { position:fixed; z-index:1002; right:calc(50% - 380px); bottom:calc(50% - 280px); }

@media (max-width:1100px) {
  .analytics-kpis,.finance-dashboard-kpis { grid-template-columns:repeat(3,minmax(0,1fr)); }
  .admin-attention-grid,.admin-command-grid { grid-template-columns:repeat(3,minmax(0,1fr)); }
  .finance-month-summary { grid-template-columns:repeat(3,minmax(0,1fr)); }
}
@media (max-width:700px) {
  .analytics-kpis,.finance-dashboard-kpis,.finance-month-summary,.admin-attention-grid,.admin-command-grid { grid-template-columns:1fr 1fr; }
  .analytics-grid,.finance-pending-grid { grid-template-columns:1fr; }
}
.icon-action {
  display: inline-grid; place-items: center; min-width: 36px; height: 36px; padding: 0 8px;
  border: 1px solid var(--system-line); border-radius: 6px; color: var(--system-green-dark);
  background: #fff; font-size: 12px; font-weight: 900; text-decoration: none;
}
.admin-bulk-toolbar { flex-wrap: wrap; }
.admin-bulk-toolbar input { flex: 0 1 180px; }
.admin-product-cell { display: grid; grid-template-columns: 38px minmax(0,1fr); align-items: center; gap: 10px; min-width: 210px; }
.admin-product-thumb { display: grid; place-items: center; width: 38px; height: 38px; overflow: hidden; border-radius: 5px; background: #fff; }
.admin-product-thumb img { width: 100%; height: 100%; object-fit: contain; }
.admin-editor-dialog {
  width: min(920px,calc(100vw - 30px)); max-height: calc(100vh - 36px); overflow: auto;
  padding: 24px; border: 0; border-radius: 10px; color: var(--system-ink); background: #fff;
  box-shadow: 0 24px 70px rgba(0,0,0,.24);
}
.admin-editor-dialog::backdrop { background: rgba(4,14,7,.48); }
.finance-receipt-dialog {
  width: min(1380px, calc(100vw - 40px));
  max-width: calc(100vw - 40px);
  max-height: calc(100vh - 40px);
}
.finance-receipt-dialog > .page-heading,
.finance-receipt-dialog > .page-heading + * {
  min-width: 0;
}
@media (max-width: 1180px) {
  .finance-receipt-dialog {
    width: min(1040px, calc(100vw - 32px));
  }
  .finance-import-required-fields {
    grid-template-columns: 1fr;
  }
  .finance-import-bulk-actions {
    grid-template-columns: 1fr;
  }
}
@media (max-width: 860px) {
  .finance-receipt-dialog {
    width: calc(100vw - 24px);
  }
  .finance-inline-import {
    grid-template-columns: 1fr;
  }
  .finance-import-preview-head {
    flex-direction: column;
    align-items: stretch;
  }
}
.offer-product-picker { max-height: 360px; overflow: auto; margin: 20px 0; border: 1px solid var(--system-line); border-radius: 8px; }
.offer-product-picker > label { display: flex; align-items: center; gap: 10px; padding: 11px 15px; border-top: 1px solid #edf0eb; }
.offer-product-picker > label span { display: grid; gap: 3px; }
.offer-product-picker small { color: var(--system-muted); }
.navigation-editor { display: grid; gap: 10px; margin: 18px 0; }
.navigation-editor > div { display: grid; grid-template-columns: minmax(120px,.65fr) minmax(180px,1.35fr) 36px; gap: 8px; }
.navigation-editor input { min-width: 0; min-height: 42px; padding: 8px 10px; border: 1px solid #ccd7c9; border-radius: 6px; }
.navigation-editor button { border: 0; border-radius: 6px; cursor: pointer; }
.crm-note-list { display: grid; gap: 10px; max-height: 310px; overflow: auto; margin-top: 18px; }
.crm-note-list article { padding: 12px; border-radius: 7px; background: var(--system-soft); }
.crm-note-list p { margin: 6px 0; line-height: 1.45; }
.crm-note-list small { color: var(--system-muted); }
.admin-report-filters { align-items: end; flex-wrap: wrap; margin-bottom: 18px; border: 1px solid var(--system-line); border-radius: 8px; background: #fff; }
.admin-report-filters label { display: grid; gap: 5px; color: var(--system-muted); font-size: 12px; font-weight: 800; }
.admin-report-details { align-self: start; }
.admin-report-details summary { display: flex; justify-content: space-between; gap: 12px; padding: 20px; cursor: pointer; }
.admin-report-details summary span { color: var(--system-muted); }

.client-account-shell,.client-order-detail-page,.unified-cart-page { width: min(1240px,calc(100% - 36px)); }
.client-account-heading { margin-bottom: 18px; }
.client-account-heading h1 { margin: 4px 0; font-size: clamp(30px,4vw,48px); }
.client-account-heading p { margin: 0; color: var(--system-muted); }
.client-account-layout { display: grid; grid-template-columns: 230px minmax(0,1fr); gap: 18px; align-items: start; }
.client-account-nav { position: sticky; top: 84px; display: grid; padding: 8px; border: 1px solid var(--system-line); border-radius: 8px; background: #fff; }
.client-account-nav a { display: flex; justify-content: space-between; gap: 10px; padding: 12px; border-radius: 6px; color: #465147; font-weight: 800; text-decoration: none; }
.client-account-nav a.active,.client-account-nav a:hover { color: var(--system-green-dark); background: #edf4e9; }
.client-account-nav a span { display: grid; place-items: center; min-width: 22px; height: 22px; border-radius: 999px; color: #725000; background: #fff1bf; font-size: 11px; }
.client-account-main { min-width: 0; }
.client-profile-metrics a { display: grid; gap: 4px; min-height: 112px; padding: 18px; border: 1px solid var(--system-line); border-radius: 8px; color: inherit; background: #fff; text-decoration: none; }
.client-profile-metrics a.warning { border-color: #ecd89b; background: #fffaf0; }
.client-profile-metrics a:hover { border-color: #91bc7b; }
.profile-document-list { display: grid; }
.profile-document-list article { display: grid; grid-template-columns: minmax(160px,1fr) auto minmax(300px,1fr); align-items: center; gap: 14px; padding: 14px 0; border-top: 1px solid var(--system-line); }
.profile-document-list article > div { display: grid; gap: 4px; }
.profile-document-list article small { color: var(--system-muted); }
.profile-document-list article form { display: flex; align-items: center; gap: 8px; min-width: 0; }
.profile-document-list input[type=file] { min-width: 0; }
.trash-icon {
  display: block;
  width: 22px;
  height: 22px;
  border: 0;
  background: url("./assets/icons/delete-recycle.png") center / contain no-repeat;
}
.trash-icon::before,
.trash-icon::after {
  content: none !important;
  display: none !important;
}
.cart-review-items { display: grid; padding: 0 20px; }
.cart-review-item { display: grid; grid-template-columns: 58px minmax(180px,1fr) minmax(280px,.8fr) 120px; align-items: center; gap: 14px; padding: 15px 0; border-bottom: 1px solid var(--system-line); }
.cart-review-item:last-child { border-bottom: 0; }
.cart-review-thumb { display: grid; place-items: center; width: 58px; height: 58px; overflow: hidden; border-radius: 7px; background: #fff; }
.cart-review-thumb img { width: 100%; height: 100%; object-fit: contain; }
.cart-review-copy { display: grid; gap: 4px; }
.cart-review-copy small { color: var(--system-muted); }
.cart-review-quantity { display: grid; grid-template-columns: 42px minmax(76px,104px); gap: 7px; }
.cart-review-quantity input { min-width: 0; border: 1px solid #ccd7c9; border-radius: 6px; text-align: center; }
.cart-trash { display:grid; place-items:center; width:42px; min-height:42px; border:1px solid #e8c5c1; border-radius:8px; color:#9a3029; background:#fff5f3; cursor:pointer; transition:background 150ms ease,border-color 150ms ease,transform 150ms ease; }
.cart-trash .trash-icon { width: 22px; height: 22px; }
.cart-trash:hover { border-color:#cf8179; background:#ffe9e6; transform:translateY(-1px); }
.system-primary.disabled,.system-primary:disabled { pointer-events:none; opacity:.42; filter:grayscale(.35); cursor:not-allowed; box-shadow:none; }
.cart-review-line-total { text-align: right; }
.checkout-edit-items { display: grid; }
.checkout-edit-items .cart-review-item { grid-template-columns:58px minmax(180px,1fr) minmax(130px,.45fr) 120px; padding:16px 18px; }
.checkout-edit-items button[value="update_cart"] { display:none; }

.checkout-edit-items .cart-review-item {
  grid-template-columns: 72px minmax(260px, 1fr) minmax(150px, auto) minmax(112px, auto);
  align-items: center;
  gap: 18px;
  min-height: 106px;
}

.checkout-edit-items .cart-review-thumb {
  width: 72px;
  height: 72px;
  padding: 6px;
  background: #fff;
}

.checkout-edit-items .cart-review-thumb img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.checkout-edit-items .cart-review-copy {
  min-width: 0;
}

.checkout-unit-price {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 5px 10px;
  margin-top: 5px;
  color: var(--system-muted);
  font-size: .82rem;
  line-height: 1.35;
}

.checkout-unit-price strong {
  color: var(--system-ink);
  font-size: .94rem;
}

.checkout-unit-price del {
  color: #7b8577;
}

.checkout-unit-price .checkout-discount {
  width: 100%;
  color: #0b6b2a;
  font-weight: 800;
}

.admin-price-form {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}

.admin-price-form input[name="quantity"] {
  width: 82px;
}

.admin-price-form input[name="manual_unit_price"] {
  width: 130px;
}

.admin-pricing-panel {
  overflow: hidden;
}

.admin-pricing-table th,
.admin-pricing-table td {
  vertical-align: middle;
}

.admin-pricing-table input[type="number"] {
  width: 92px;
  min-height: 34px;
  padding: 5px 7px;
  border: 1px solid #bfcdbb;
  border-radius: 5px;
  background: #fff;
}

.admin-pricing-table input[data-net-price] {
  width: 124px;
}

.admin-price-thumb {
  display: grid;
  place-items: center;
  width: 50px;
  height: 50px;
  overflow: hidden;
  border: 1px solid var(--system-line);
  border-radius: 4px;
  background: #fff;
}

.admin-price-thumb img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  padding: 3px;
}

.admin-discount-control {
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

.admin-discount-control span {
  color: #9a3029;
  font-size: 12px;
  font-weight: 800;
}

.admin-row-actions {
  display: inline-flex;
  align-items: center;
  gap: 5px;
}

.icon-action {
  display: inline-grid;
  place-items: center;
  width: 30px;
  height: 30px;
  border: 1px solid var(--system-line);
  border-radius: 5px;
  color: var(--system-green-dark);
  background: #f7faf5;
  cursor: pointer;
}

.icon-action.danger {
  color: #9a3029;
}
.icon-action.danger {
  font-size: 0;
}

.admin-pricing-summary {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 12px;
  padding: 14px 18px;
  border-top: 1px solid var(--system-line);
  text-align: center;
}

.admin-pricing-summary span {
  color: var(--system-muted);
  font-size: 12px;
}

.admin-pricing-summary strong {
  display: block;
  margin-top: 4px;
  color: var(--system-ink);
  font-size: 16px;
}

.admin-order-condition-card p {
  display: flex;
  justify-content: space-between;
  gap: 16px;
}

.admin-pricing-workspace,
.admin-order-workspace {
  display: grid;
  gap: 18px;
}

.admin-pricing-savebar {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 18px;
  padding: 14px 18px;
  border: 1px solid var(--system-line);
  border-radius: 8px;
  background: #fff;
}

.admin-pricing-savebar p {
  margin: 0;
  color: var(--system-muted);
}

.admin-row-delete {
  min-height: 34px;
  padding: 0 12px;
  border: 1px solid #efc7bf;
  border-radius: 6px;
  color: #9a3029;
  background: #fff7f5;
  font: inherit;
  font-weight: 900;
  cursor: pointer;
}

.admin-row-delete:hover {
  background: #ffe9e4;
}

button[aria-label="Remover"],
button[title="Remover linha"] {
  min-width: 38px;
  min-height: 38px;
  border: 0;
  border-radius: 8px;
  color: #0b5a25;
  background: #eef5e9;
  font-size: 0;
  cursor: pointer;
}

button[aria-label="Remover"]:hover,
button[title="Remover linha"]:hover {
  background: #dcefd4;
}

.admin-order-condition-strip {
  padding: 20px 22px;
}

.admin-order-condition-strip .admin-panel-head {
  margin-bottom: 18px;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--system-line);
}

.admin-order-condition-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(150px, 1fr));
  gap: 12px;
}

.admin-order-condition-grid label {
  display: grid;
  gap: 7px;
  color: var(--system-muted);
  font-weight: 900;
}

.admin-order-condition-grid input,
.admin-order-condition-grid select {
  min-height: 42px;
  padding: 8px 11px;
  border: 1px solid #cbd7c8;
  border-radius: 6px;
  background: #fff;
  color: var(--system-ink);
  font: inherit;
  font-weight: 900;
}

.admin-order-summary {
  display: grid;
  grid-template-columns: repeat(4, minmax(150px, 1fr));
  gap: 12px;
  margin-top: 18px;
}

.admin-order-summary span {
  display: grid;
  gap: 5px;
  padding: 13px 14px;
  border: 1px solid var(--system-line);
  border-radius: 8px;
  background: #f7faf5;
  color: var(--system-muted);
  font-weight: 900;
}

.admin-order-summary strong {
  color: var(--system-ink);
  font-size: 20px;
}

.admin-pricing-table td small {
  display: block;
  margin-top: 4px;
  color: var(--system-muted);
}

.clickable-row {
  cursor: pointer;
}

.clickable-row:hover {
  background: #f7faf5;
}

@media (max-width: 1000px) {
  .admin-order-condition-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .admin-order-summary {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 640px) {
  .admin-pricing-savebar {
    align-items: stretch;
    flex-direction: column;
  }
  .admin-order-condition-grid,
  .admin-order-summary {
    grid-template-columns: 1fr;
  }
}

.checkout-edit-items .cart-review-quantity {
  justify-self: end;
}

.checkout-edit-items .cart-review-line-total {
  min-width: 104px;
  justify-self: end;
  text-align: right;
}
.checkout-profile-contact { margin-top: 14px; color: var(--system-muted); font-size: 13px; }
.checkout-profile-contact a { color: var(--system-green-dark); font-weight: 900; }
.checkout-stock-warning { display:grid; gap:5px; padding:12px 13px; border:1px solid #e5c66d; border-radius:8px; color:#744d00; background:#fff6d9; font-size:12px; line-height:1.45; }
.checkout-stock-warning strong { color:#744d00; font-size:13px; }
.editor-grid > * { min-width: 0; }
.editor-card,.data-panel { max-width: 100%; }
.catalog-add-form { display: grid; gap: 8px; margin-top: 12px; }
.catalog-add-form > span { color: var(--system-muted); font-size: 12px; font-weight: 800; }
.catalog-quantity-control {
  display: grid !important;
  grid-template-columns: 38px minmax(58px,1fr) 38px !important;
  align-items: stretch;
  width: 100%;
  min-height: 38px;
  overflow: hidden;
  border: 1px solid #cbd7c8;
  border-radius: 7px;
  background: #fff;
}
.catalog-quantity-control button {
  display: grid; place-items: center; width: 38px; min-width: 38px; min-height: 38px;
  padding: 0; border: 0; color: var(--system-green-dark); background: #eef4e9;
  font-size: 18px; font-weight: 900; cursor: pointer;
}
.catalog-quantity-control input {
  width: 100% !important; min-width: 0; height: 38px; padding: 0 6px;
  border: 0 !important; border-radius: 0 !important; text-align: center; font: inherit; font-weight: 900;
  appearance: textfield;
}
.catalog-quantity-control input::-webkit-inner-spin-button,
.catalog-quantity-control input::-webkit-outer-spin-button { appearance: none; margin: 0; }
.catalog-filter-panel > summary { cursor: pointer; list-style: none; }
.catalog-filter-panel > summary::-webkit-details-marker { display: none; }
.catalog-filter-panel > summary::after { content: "⌃"; float: right; color: var(--system-green-dark); }
.catalog-filter-panel:not([open]) > summary::after { content: "⌄"; }
.catalog-filter-body { display: contents; }
.live-catalog-page .catalog-flash {
  position: relative;
  z-index: 1;
  margin: 14px auto;
  width: min(100% - 64px, 1224px);
  transition: opacity 240ms ease, transform 240ms ease, max-height 240ms ease, margin 240ms ease, padding 240ms ease;
}
.live-catalog-page .catalog-flash.is-dismissing {
  max-height: 0;
  margin-top: 0;
  margin-bottom: 0;
  padding-top: 0;
  padding-bottom: 0;
  overflow: hidden;
  opacity: 0;
  transform: translateY(-6px);
}
.live-catalog-page .filter-panel {
  max-height: none;
  overflow: visible;
}
.live-catalog-page .catalog-filter-options {
  max-height: none;
  overflow: visible;
}
.catalog-filter-tree {
  display: grid;
  gap: 8px;
}
.catalog-filter-branch {
  padding: 0 !important;
  border-top: 0 !important;
}
.catalog-filter-branch > summary {
  min-height: auto;
  padding: 0;
}
.catalog-filter-branch > summary::after {
  content: none !important;
}
.catalog-filter-branch > summary a {
  font-weight: 900;
}
.catalog-filter-children {
  display: grid;
  gap: 2px;
  margin: 5px 0 0 10px;
  padding-left: 10px;
  border-left: 2px solid #dfe8dc;
}
.catalog-filter-children > span {
  display: block;
}
.is-hidden-filter-child {
  display: none !important;
}
.catalog-filter-more {
  margin: 6px 0 8px 20px;
  padding: 0;
  border: 0;
  color: var(--system-green-dark);
  background: transparent;
  font: inherit;
  font-size: 13px;
  font-weight: 900;
  cursor: pointer;
}
.catalog-category-trail {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 5px;
  color: var(--system-muted);
  font-size: 12px;
  line-height: 1.35;
}
.catalog-category-trail a {
  color: var(--system-muted);
  text-decoration: none;
}
.catalog-category-trail a.active,
.catalog-category-trail a:hover {
  color: var(--system-green-dark);
  font-weight: 900;
}
.catalog-filter-current {
  display: block;
  margin-top: 4px;
  color: var(--system-ink);
  font-size: 17px;
  line-height: 1.25;
}
.catalog-filter-empty {
  margin: 0;
  color: var(--system-muted);
  font-size: 13px;
}
.catalog-filter-children.contextual {
  margin-left: 0;
}
.department-bar .departments-dropdown {
  color: #1f281d;
  background: #ffffff;
  border: 1px solid #e5e8df;
  box-shadow: 0 24px 60px rgba(16, 22, 15, 0.18);
}
.department-bar .department-tabs {
  background: #ffffff;
}
.department-bar .department-columns {
  display: block;
  min-width: min(620px, calc(100vw - 300px));
  background: #fff8e4;
}
.department-bar .department-submenu {
  display: none;
  grid-template-columns: repeat(2, minmax(170px, 1fr));
  gap: 4px 26px;
}
.department-bar .department-submenu.active {
  display: grid;
}
.department-bar .department-tabs a,
.department-bar .department-columns a {
  color: #465044;
  font-weight: 700;
  opacity: 1;
}
.department-bar .department-tabs a.active {
  color: #0b5a25;
  font-weight: 900;
  background: #eef3e9;
}
.department-bar .department-tabs a:hover,
.department-bar .department-tabs a.active,
.department-bar .department-columns a:hover {
  color: #071006;
  background: #eef3e9;
}
.department-bar .departments-menu.is-open > .departments-all,
.department-bar .departments-menu:hover > .departments-all {
  color: var(--brand, #60c313);
}
.catalog-menu-editor {
  align-self: start;
}
.catalog-menu-category-list {
  display: grid;
  gap: 8px;
  max-height: 460px;
  overflow: auto;
  padding-right: 3px;
}
.catalog-menu-category-row {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) 78px;
  align-items: center;
  gap: 10px;
  padding: 10px;
  border: 1px solid #d8e3d2;
  border-radius: 8px;
  background: #fff;
}
.catalog-menu-category-row span,
.catalog-menu-category-row strong,
.catalog-menu-category-row small {
  display: block;
  min-width: 0;
}
.catalog-menu-category-row small {
  margin-top: 3px;
  color: var(--system-muted);
  font-size: 12px;
}
.catalog-menu-category-row input[type="number"] {
  width: 100%;
  min-width: 0;
  padding-inline: 8px;
}

@media (max-width: 920px) {
  .client-account-layout { grid-template-columns: 1fr; }
  .client-account-nav { position: static; grid-template-columns: repeat(3,minmax(0,1fr)); overflow-x: auto; }
  .cart-review-item,.checkout-edit-items .cart-review-item { grid-template-columns: 52px minmax(0,1fr); }
  .cart-review-quantity,.cart-review-line-total { grid-column: 2; }
  .cart-review-line-total { text-align: left; }
  .profile-document-list article { grid-template-columns: 1fr auto; }
  .profile-document-list article form { grid-column: 1 / -1; }
}
@media (max-width: 600px) {
  .client-account-shell,.client-order-detail-page,.unified-cart-page { width: min(100% - 20px,1240px); }
  .client-account-nav { grid-template-columns: 1fr 1fr; }
  .client-profile-metrics { grid-template-columns: 1fr 1fr; }
  .client-condition-row { grid-template-columns:1fr; }
  .client-user-actions { align-items:flex-start; flex-direction:column; }
  .cart-review-quantity { grid-template-columns: 38px minmax(64px,90px) auto; }
  .navigation-editor > div { grid-template-columns: 1fr 36px; }
  .navigation-editor > div input:nth-child(2) { grid-column: 1; }
  .profile-document-list article form { flex-direction: column; align-items: stretch; }
  .financeiro-heading { align-items:flex-start; flex-direction:column; }
  .financeiro-dashboard,.financeiro-quick-links { grid-template-columns:1fr; }
  .finance-receipt-item { grid-template-columns:1fr; padding:12px; border:1px solid var(--system-line); border-radius:8px; }
  .finance-inline-import { grid-template-columns:1fr; }
  .finance-ofx-choice { grid-template-columns:1fr; }
  .finance-ofx-link-action small { margin-left:0; }
  .financeiro-report-summary { grid-template-columns:1fr; }
}
@media (max-width: 800px) {
  .store-layout { display: block; }
  .catalog-filter-panel { margin-bottom: 14px; }
  .catalog-filter-panel:not([open]) { max-height: 58px; overflow: hidden; }
  .catalog-filter-panel > .filter-title { min-height: 58px; display: block; padding: 19px 20px; }
  .catalog-filter-body { display: block; max-height: none; overflow: visible; }
  .catalog-results { min-width: 0; }
}

.catalog-filter-settings-panel {
  margin-top: 20px;
}

.catalog-filter-settings-table input,
.catalog-filter-settings-table select {
  min-width: 120px;
  width: 100%;
}

.catalog-filter-settings-table .compact-number {
  min-width: 72px;
  width: 84px;
}

.catalog-filter-toggles {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 14px;
  min-width: 240px;
}

.catalog-filter-toggles label {
  align-items: center;
  display: inline-flex;
  gap: 6px;
  white-space: nowrap;
}

.catalog-filter-toggles input {
  min-width: 0;
  width: auto;
}

.catalog-structure-board {
  display: grid;
  gap: 16px;
  margin-top: 18px;
  padding: 16px;
  border: 1px solid var(--system-line);
  border-radius: 8px;
  background: #f8faf6;
}

.catalog-structure-board-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
}

.catalog-structure-board-head div,
.catalog-tree-main span {
  display: grid;
  gap: 3px;
  min-width: 0;
}

.catalog-structure-board-head strong {
  font-size: 18px;
}

.catalog-structure-board-head span,
.catalog-structure-board-head em,
.catalog-organizer-controls p,
.catalog-tree-main small,
.catalog-root-drop small {
  color: var(--system-muted);
  font-size: 13px;
  font-style: normal;
}

.catalog-organizer-controls {
  display: grid;
  grid-template-columns: minmax(220px, 1fr) minmax(220px, .8fr) auto;
  align-items: end;
  gap: 12px;
}

.catalog-organizer-controls label {
  display: grid;
  gap: 6px;
  color: var(--system-muted);
  font-size: 12px;
  font-weight: 900;
}

.catalog-organizer-controls input,
.catalog-organizer-controls select {
  min-height: 42px;
  border: 1px solid #ccd7c9;
  border-radius: 7px;
  padding: 0 12px;
  background: #fff;
}

.catalog-organizer-controls p {
  grid-column: 1 / -1;
  margin: 0;
}

.catalog-tree-shell {
  display: grid;
  gap: 12px;
}

.catalog-root-drop,
.catalog-tree-node {
  border: 1px solid #d9e3d5;
  border-radius: 8px;
  background: #fff;
  transition: border-color 150ms ease, background 150ms ease, box-shadow 150ms ease;
}

.catalog-root-drop {
  display: grid;
  gap: 3px;
  min-height: 64px;
  padding: 12px 14px;
  color: var(--system-green-dark);
  text-align: left;
  cursor: pointer;
}

.catalog-tree,
.catalog-tree-children {
  display: grid;
  gap: 8px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.catalog-tree-children {
  margin: 8px 0 0 23px;
  padding-left: 14px;
  border-left: 2px solid #dfe8dc;
}

.catalog-tree-item {
  min-width: 0;
}

.catalog-tree-node {
  display: grid;
  grid-template-columns: 28px 28px minmax(260px, 1fr) auto auto;
  align-items: center;
  gap: 10px;
  min-height: 58px;
  padding: 8px 10px;
}

.catalog-tree-node:hover,
.catalog-root-drop:hover,
.catalog-tree-node.is-drag-over,
.catalog-root-drop.is-drag-over,
.catalog-tree-main.is-drag-over {
  border-color: #69a84d;
  background: #eef7e9;
  box-shadow: 0 10px 24px rgba(27, 89, 38, .08);
}

.catalog-tree-check {
  display: grid;
  place-items: center;
}

.catalog-tree-collapse,
.catalog-tree-collapse-spacer {
  display: grid;
  place-items: center;
  width: 24px;
  height: 24px;
  flex: 0 0 auto;
}

.catalog-tree-collapse {
  border: 0;
  border-radius: 6px;
  color: var(--system-green-dark);
  background: #e8f3e2;
  font-weight: 900;
  cursor: pointer;
}

.catalog-tree-collapse:hover {
  background: #d9edcf;
}

.catalog-tree-item.is-collapsed > .catalog-tree-children {
  display: none;
}

.catalog-tree-main {
  display: flex;
  align-items: center;
  gap: 10px;
  width: 100%;
  min-width: 0;
  padding: 0;
  border: 0;
  color: inherit;
  text-align: left;
  background: transparent;
  cursor: grab;
}

.catalog-tree-node > .category-edit {
  justify-self: end;
}

.admin-add-product-panel {
  position: relative;
  display: grid;
  grid-template-columns: minmax(320px, 1fr) 140px auto;
  align-items: end;
  gap: 12px;
  margin-bottom: 18px;
  padding: 16px;
  overflow: visible !important;
}

.admin-add-product-popover {
  position: relative;
  z-index: 10000;
  overflow: visible !important;
}

.admin-add-product-panel.has-open-results {
  z-index: 10000;
  margin-bottom: min(380px, 46vh);
}

.admin-add-product-panel label {
  position: relative;
  display: grid;
  gap: 6px;
  color: var(--system-muted);
  font-size: 12px;
  font-weight: 900;
}

.admin-add-product-panel label:first-of-type {
  z-index: 10001;
}

.admin-add-product-panel select,
.admin-add-product-panel input {
  min-height: 42px;
  min-width: 0;
  padding: 8px 10px;
  border: 1px solid #cbd7c8;
  border-radius: 7px;
  background: #fff;
  color: var(--system-ink);
  font: inherit;
  font-weight: 800;
}

.is-hidden-native-select {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  overflow: hidden !important;
  opacity: 0 !important;
  pointer-events: none !important;
}

.admin-product-search-input {
  width: 100%;
}

.admin-product-results {
  position: absolute;
  z-index: 10002;
  top: calc(100% + 8px);
  left: 0;
  right: 0;
  display: grid;
  max-height: min(520px, 58vh);
  overflow: auto;
  padding: 7px;
  border: 1px solid #cbd7c8;
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 18px 42px rgba(19, 43, 20, .18);
}

.admin-product-results[hidden] {
  display: none !important;
}

.admin-pricing-workspace,
.admin-order-workspace {
  position: relative;
  z-index: 1;
}

.admin-bulk-discount-bar {
  display: flex;
  align-items: end;
  gap: 12px;
  flex-wrap: wrap;
  padding: 14px 16px;
  border-bottom: 1px solid var(--system-line);
  background: #f8fbf5;
}

.admin-filter-toolbar {
  align-items: end;
  gap: 12px;
  flex-wrap: wrap;
  border-bottom: 1px solid var(--system-line);
}

.admin-filter-toolbar label {
  display: grid;
  gap: 6px;
  min-width: min(280px, 100%);
  color: var(--system-muted);
  font-size: 12px;
  font-weight: 900;
}

.admin-filter-toolbar input,
.admin-filter-toolbar select {
  min-height: 40px;
  padding: 8px 10px;
  border: 1px solid #cbd7c8;
  border-radius: 7px;
  background: #fff;
  color: var(--system-ink);
  font: inherit;
  font-weight: 800;
}

.admin-bulk-discount-bar label {
  display: grid;
  gap: 6px;
  color: var(--system-muted);
  font-size: 12px;
  font-weight: 900;
}

.admin-bulk-discount-bar .checkbox-row {
  display: flex;
  align-items: center;
  min-height: 42px;
  color: var(--system-ink);
  font-size: 14px;
}

.admin-bulk-discount-bar input[type=number] {
  min-height: 38px;
  width: 130px;
  padding: 8px 10px;
  border: 1px solid #cbd7c8;
  border-radius: 7px;
  background: #fff;
  font: inherit;
  font-weight: 800;
}

.admin-product-results button {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 58px;
  align-items: center;
  gap: 12px;
  width: 100%;
  padding: 10px 12px;
  border: 0;
  border-bottom: 1px solid #edf0eb;
  color: var(--system-ink);
  text-align: left;
  background: #fff;
  cursor: pointer;
}

.admin-product-results button:last-of-type {
  border-bottom: 0;
}

.admin-product-results button:hover,
.admin-product-results button:focus {
  color: #fff;
  background: #4d2f83;
}

.admin-product-results button span {
  display: grid;
  gap: 5px;
  min-width: 0;
}

.admin-product-results button small {
  color: inherit;
  opacity: .78;
}

.admin-product-results img,
.admin-product-results em {
  display: grid;
  place-items: center;
  width: 58px;
  height: 58px;
  border: 1px solid #dfe5d9;
  border-radius: 6px;
  background: #fff;
  color: #657060;
  font-size: 10px;
  font-style: normal;
  object-fit: contain;
}

.admin-product-results p {
  margin: 0;
  padding: 12px;
  color: var(--system-muted);
}

.catalog-tree-main strong {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.catalog-tree-folder {
  display: grid;
  place-items: center;
  flex: 0 0 34px;
  width: 34px;
  height: 34px;
  border-radius: 8px;
  background: #e8f2e2;
}

.catalog-tree-folder::before {
  content: "";
  width: 18px;
  height: 14px;
  border-radius: 3px;
  background: #2c7c30;
  box-shadow: 0 -5px 0 -2px #2c7c30;
}

.catalog-list-panel {
  margin-top: 14px;
  border: 1px solid var(--system-line);
  border-radius: 8px;
  background: #fff;
}

.catalog-list-panel summary {
  padding: 14px 16px;
  color: var(--system-green-dark);
  font-weight: 900;
  cursor: pointer;
}

.catalog-list-panel .responsive-table {
  border-top: 1px solid var(--system-line);
}

@media (max-width: 900px) {
  .catalog-organizer-controls,
  .catalog-tree-node {
    grid-template-columns: 1fr;
  }

  .catalog-tree-check {
    place-items: start;
  }

  .catalog-tree-children {
    margin-left: 10px;
  }
}

@media (max-width: 780px) {
  .admin-add-product-panel {
    grid-template-columns: 1fr;
  }
}

.admin-chat-shell { display:grid; grid-template-columns:340px minmax(0,1fr); min-height:640px; overflow:hidden; border:1px solid var(--system-line); border-radius:8px; background:#fff; }
.admin-chat-list { border-right:1px solid var(--system-line); background:#f7f9f5; }
.admin-chat-list-head { display:flex; align-items:center; justify-content:space-between; padding:18px; border-bottom:1px solid var(--system-line); }
.admin-chat-list-head span { display:grid; place-items:center; min-width:26px; height:26px; border-radius:999px; color:#fff; background:var(--system-green); font-size:12px; font-weight:900; }
.admin-chat-session { position:relative; display:grid; width:100%; gap:6px; padding:15px 18px; border:0; border-bottom:1px solid var(--system-line); text-align:left; background:transparent; cursor:pointer; }
.admin-chat-session:hover,.admin-chat-session.active { background:#eaf3e4; }
.admin-chat-session span { display:grid; gap:2px; }
.admin-chat-session small,.admin-chat-session em { color:var(--system-muted); font-size:12px; font-style:normal; }
.admin-chat-session em { overflow:hidden; text-overflow:ellipsis; white-space:nowrap; }
.admin-chat-session b { position:absolute; top:15px; right:15px; display:grid; place-items:center; min-width:22px; height:22px; padding:0 6px; border-radius:999px; color:#fff; background:#267332; font-size:11px; }
.admin-chat-conversation { display:grid; grid-template-rows:auto minmax(0,1fr) auto; min-width:0; }
.admin-chat-conversation > header { padding:17px 20px; border-bottom:1px solid var(--system-line); }
.admin-chat-conversation > header div { display:grid; gap:3px; }
.admin-chat-conversation > header small { color:var(--system-muted); }
.admin-chat-messages { display:flex; flex-direction:column; gap:10px; padding:20px; overflow-y:auto; background:#fbfcfa; }
.admin-chat-message { max-width:74%; }
.admin-chat-message p { margin:0; padding:11px 13px; border-radius:10px; background:#edf1ea; line-height:1.45; }
.admin-chat-message small { display:block; margin-top:4px; color:var(--system-muted); font-size:11px; }
.admin-chat-message.admin { align-self:flex-end; text-align:right; }
.admin-chat-message.admin p { color:#fff; background:#2f7d32; }
.admin-chat-reply { display:grid; grid-template-columns:minmax(0,1fr) auto auto; gap:8px; padding:14px; border-top:1px solid var(--system-line); }
.admin-chat-reply input { min-width:0; min-height:42px; border:1px solid #cbd7c8; border-radius:7px; padding:0 12px; }
.user-summary-grid { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:14px; margin:0 0 18px; }
.user-summary-grid article { display:grid; gap:4px; min-height:112px; padding:20px; border:1px solid var(--system-line); border-radius:8px; background:#fff; box-shadow:0 12px 28px rgba(23,53,31,.06); }
.user-summary-grid span { color:var(--system-muted); font-weight:700; }
.user-summary-grid strong { color:var(--system-green); font-size:30px; line-height:1; }
.user-summary-grid small { color:var(--system-muted); }
.user-search-toolbar { margin-bottom:16px; border:1px solid var(--system-line); border-radius:8px; background:#fff; }
.company-access-panel { margin-bottom:18px; }
.company-table td { vertical-align:middle; }
.company-table td:first-child { min-width:220px; }
.user-access-panel { margin-top:0; }
.user-company-choice > small { display:block; margin-top:8px; color:var(--system-muted); }
.status-pill.warning { color:#7b5200; background:#fff0c6; }
.company-filter-toolbar { display:grid; grid-template-columns:minmax(260px,1fr) 120px minmax(170px,.55fr) minmax(180px,.55fr) auto auto; align-items:center; }
.company-filter-toolbar input,.company-filter-toolbar select { width:100%; min-width:0; }
.company-map-panel { margin-bottom:18px; }
.company-map-panel-modern { overflow:hidden; }
.company-map-panel-modern summary { list-style:none; cursor:pointer; }
.company-map-panel-modern summary::-webkit-details-marker { display:none; }
.company-map-toggle-head { user-select:none; }
.company-map-toggle-head::after {
  content:"Abrir mapa";
  justify-self:end;
  padding:10px 14px;
  border:1px solid #cbd8c6;
  border-radius:7px;
  color:var(--system-green-dark);
  background:#fff;
  font-weight:900;
  white-space:nowrap;
}
.company-map-panel-modern[open] .company-map-toggle-head::after { content:"Fechar mapa"; }
.company-map-layout { display:grid; grid-template-columns:minmax(480px,1.45fr) minmax(280px,.75fr); gap:20px; padding:20px; }
.company-map { position:relative; min-height:380px; overflow:hidden; border:1px solid #d6e0d1; border-radius:8px; background:linear-gradient(145deg,#f5f8f2,#e8efe4); }
.map-state { position:absolute; display:grid; place-items:center; border:2px solid #b9c9b2; color:#789173; background:#dde8d8; font-size:22px; font-weight:900; opacity:.72; }
.map-acre { left:7%; top:21%; width:47%; height:31%; border-radius:55% 24% 48% 42%; transform:rotate(-8deg); }
.map-rondonia { right:8%; bottom:13%; width:51%; height:46%; border-radius:28% 52% 34% 43%; transform:rotate(5deg); }
.map-state strong { opacity:.55; }
.map-points { position:absolute; inset:0; }
.company-map-point { position:absolute; z-index:2; display:grid; place-items:center; width:var(--point-size); height:var(--point-size); padding:0; transform:translate(-50%,-50%); border:3px solid rgba(255,255,255,.9); border-radius:999px; color:#fff; background:#217532; box-shadow:0 4px 12px rgba(20,75,31,.24); cursor:help; }
.company-map-point span { font-size:11px; font-weight:900; }
.company-map-point em { position:absolute; top:calc(100% + 4px); left:50%; max-width:120px; transform:translateX(-50%); overflow:hidden; color:#304334; font-size:10px; font-style:normal; font-weight:800; white-space:nowrap; text-overflow:ellipsis; }
.map-note { position:absolute; left:14px; bottom:12px; color:var(--system-muted); font-size:11px; }
.company-map-ranking { min-width:0; padding:4px 4px 4px 0; }
.company-map-ranking h3 { margin:0 0 16px; }
.company-city-row { display:grid; grid-template-columns:minmax(110px,1fr) minmax(80px,.8fr) 32px; align-items:center; gap:10px; padding:9px 0; border-bottom:1px solid var(--system-line); }
.company-city-row > span { display:grid; gap:2px; min-width:0; }
.company-city-row small { color:var(--system-muted); }
.company-city-row i { display:block; height:7px; overflow:hidden; border-radius:99px; background:#edf1ea; }
.company-city-row i b { display:block; height:100%; border-radius:inherit; background:#2f7d32; }
.company-city-row em { color:var(--system-muted); text-align:right; font-style:normal; }
.company-map-panel-modern .company-map-layout { grid-template-columns:minmax(520px,1.45fr) minmax(330px,.72fr); gap:18px; padding:18px; }
.company-map-shell { display:grid; gap:9px; min-width:0; }
.company-map-panel-modern .company-map {
  min-height:480px;
  z-index:0;
  border:1px solid #cfdcca;
  border-radius:8px;
  background:#eef3ea;
  box-shadow:inset 0 0 0 1px rgba(255,255,255,.5);
}
.company-map-panel-modern .leaflet-container { font:inherit; }
.company-map-panel-modern .map-note {
  position:static;
  display:block;
  padding:9px 11px;
  border:1px solid #dfe8da;
  border-radius:7px;
  color:var(--system-muted);
  background:#f8fbf5;
  font-size:12px;
}
.company-map-ranking-head { display:grid; gap:10px; margin-bottom:12px; }
.company-map-ranking-head h3 { margin:0; }
.company-map-ranking-head label { display:grid; gap:6px; color:var(--system-muted); font-size:12px; font-weight:900; }
.company-map-ranking-head select {
  min-height:40px;
  width:100%;
  border:1px solid #cbd7c8;
  border-radius:7px;
  padding:0 10px;
  color:#132012;
  background:#fff;
  font-weight:800;
}
.company-state-row,
.company-city-row {
  width:100%;
  border:0;
  text-align:left;
  background:transparent;
  cursor:pointer;
}
.company-state-row {
  display:grid;
  grid-template-columns:minmax(86px,.7fr) minmax(100px,1fr) 42px;
  align-items:center;
  gap:10px;
  margin-bottom:8px;
  padding:12px;
  border:1px solid #dce7d6;
  border-radius:8px;
  background:#fbfdf8;
}
.company-state-row:hover,
.company-state-row.active { border-color:#7bbd55; background:#f0f8e9; }
.company-state-row > span { display:grid; gap:2px; }
.company-state-row strong { color:#063f1d; font-size:18px; }
.company-state-row small { color:var(--system-muted); }
.company-state-row i { display:block; height:8px; overflow:hidden; border-radius:99px; background:#e7eee3; }
.company-state-row i b { display:block; height:100%; border-radius:inherit; background:#2f7d32; }
.company-state-row em { color:#52604f; text-align:right; font-style:normal; font-weight:900; }
.company-city-list {
  max-height:300px;
  overflow:auto;
  margin-top:12px;
  padding-top:10px;
  border-top:1px solid var(--system-line);
}
.company-map-panel-modern .company-city-row { grid-template-columns:minmax(130px,1fr) minmax(90px,.7fr) 42px; padding:9px 4px; }
.company-map-panel-modern .company-city-row:hover strong { color:var(--system-green-dark); }
.company-import-dialog { width:min(1100px,calc(100% - 28px)); }
.company-import-guide { display:grid; grid-template-columns:1fr 1.5fr; gap:12px; margin:0 0 18px; }
.company-import-guide div { display:grid; gap:4px; padding:14px; border-radius:7px; background:#f1f6ed; }
.company-import-guide span { color:var(--system-muted); }
.file-drop-field { display:grid; gap:8px; padding:22px; border:1px dashed #9caf96; border-radius:8px; background:#fafcf8; font-weight:800; }
.file-drop-field input { min-height:42px; padding:8px; border:1px solid var(--system-line); border-radius:6px; background:#fff; }
.company-import-preview { max-height:55vh; overflow:auto; border:1px solid var(--system-line); border-radius:7px; }
.company-import-confirm { display:flex; justify-content:flex-end; padding-top:16px; }
.table-pagination {
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:12px;
  padding:12px 16px;
  border-top:1px solid var(--system-line);
  color:var(--system-muted);
  background:#fbfdf9;
  font-size:13px;
}
.table-pagination > div { display:flex; align-items:center; justify-content:flex-end; gap:6px; flex-wrap:wrap; }
.table-pagination button {
  min-width:34px;
  min-height:34px;
  padding:0 10px;
  border:1px solid #ccd8c8;
  border-radius:7px;
  color:#234126;
  background:#fff;
  font-weight:900;
  cursor:pointer;
}
.table-pagination button:hover:not(:disabled) { border-color:#78b857; background:#f0f8ea; }
.table-pagination button.active {
  color:#fff;
  border-color:#2f7d32;
  background:#2f7d32;
}
.table-pagination button:disabled { opacity:.45; cursor:not-allowed; }
.table-pagination span { white-space:nowrap; }
.user-company-choice { display:grid; gap:12px; padding:15px; border:1px solid var(--system-line); border-radius:8px; }
.user-company-mode { display:flex; flex-wrap:wrap; gap:12px 20px; }
.user-company-mode label { display:flex; align-items:center; gap:7px; }
.user-company-mode input { width:auto; min-height:0; }
.user-new-company[hidden],[data-existing-company][hidden] { display:none; }
.finance-main-actions { justify-content:flex-end; margin:-10px 0 14px; }
.finance-package-editor,
.finance-package-add-item,
.finance-package-items,
.finance-import-page { overflow:visible; }
.finance-package-header-form,
.finance-package-item-form { display:grid; gap:16px; }
.finance-package-item-grid {
  display:grid;
  grid-template-columns:minmax(320px,1.6fr) minmax(260px,1.1fr) minmax(130px,.55fr) minmax(110px,.45fr) minmax(220px,.9fr) auto;
  gap:12px;
  align-items:start;
}
.finance-package-bulk,
.finance-import-bulk-actions {
  display:grid;
  grid-template-columns:auto minmax(280px,1fr) minmax(260px,1fr) minmax(110px,.35fr) auto;
  gap:12px;
  align-items:start;
  padding:14px 16px;
  border-top:1px solid var(--system-line);
  background:#fbfdf9;
}
.finance-import-bulk-actions { grid-template-columns:minmax(180px,.5fr) minmax(420px,1.35fr) minmax(280px,.75fr) auto; border:1px solid var(--system-line); border-radius:8px; margin:14px 0; }
.finance-import-preview-head {
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:16px;
  margin-bottom:14px;
}
.finance-import-preview-head span { display:block; color:var(--system-muted); }
.finance-import-confirm-fields { margin-bottom:12px; }
.finance-package-table-wrap,
.finance-inline-preview { max-height:65vh; overflow:auto; }
.finance-package-table {
  min-width:2260px;
  table-layout:fixed;
}
.finance-import-table { min-width:1500px; }
.finance-package-table th,
.finance-package-table td {
  padding:14px 12px;
  vertical-align:middle;
}
.finance-package-table th:nth-child(1),
.finance-package-table td:nth-child(1) { width:48px; text-align:center; }
.finance-package-table th:nth-child(2),
.finance-package-table td:nth-child(2) { width:390px; }
.finance-package-table th:nth-child(3),
.finance-package-table td:nth-child(3) { width:300px; }
.finance-package-table th:nth-child(4),
.finance-package-table td:nth-child(4) { width:190px; }
.finance-package-table th:nth-child(5),
.finance-package-table td:nth-child(5) { width:300px; }
.finance-package-table th:nth-child(6),
.finance-package-table td:nth-child(6) { width:135px; }
.finance-package-table th:nth-child(7),
.finance-package-table td:nth-child(7),
.finance-package-table th:nth-child(8),
.finance-package-table td:nth-child(8),
.finance-package-table th:nth-child(10),
.finance-package-table td:nth-child(10),
.finance-package-table th:nth-child(11),
.finance-package-table td:nth-child(11),
.finance-package-table th:nth-child(12),
.finance-package-table td:nth-child(12) { width:125px; }
.finance-package-table th:nth-child(9),
.finance-package-table td:nth-child(9) { width:105px; }
.finance-package-table th:nth-child(13),
.finance-package-table td:nth-child(13) { width:130px; }
.finance-package-client-cell,
.finance-package-seller-cell { vertical-align:top; }
.finance-package-title-cell strong,
.finance-package-title-cell small {
  display:block;
  white-space:normal;
  line-height:1.25;
}
.finance-package-title-cell small { color:var(--system-muted); margin-top:3px; }
.finance-package-table input[type="number"],
.finance-package-table input[type="text"],
.finance-package-doc-input {
  width:100%;
  min-width:0;
  min-height:38px;
  box-sizing:border-box;
  padding:7px 9px;
}
.finance-money-cell {
  white-space:nowrap;
  text-align:right;
  line-height:1.25;
  font-variant-numeric:tabular-nums;
}
.finance-search-select,
.finance-import-combobox {
  position:relative;
  min-width:0;
}
.finance-search-select input[type="search"],
.finance-import-combobox input[type="search"] {
  width:100%;
  min-height:42px;
  padding:9px 10px;
  border:1px solid #cdd8c9;
  border-radius:7px;
  background:#fff;
}
.finance-search-results,
.finance-client-results {
  position:absolute;
  z-index:30;
  left:0;
  right:0;
  min-width:min(620px,calc(100vw - 42px));
  max-height:330px;
  overflow:auto;
  margin-top:4px;
  border:1px solid #cdd8c9;
  border-radius:8px;
  box-shadow:0 14px 30px rgba(13,38,20,.16);
  background:#fff;
}
.finance-search-results button,
.finance-client-results button {
  display:block;
  width:100%;
  padding:10px 12px;
  border:0;
  border-bottom:1px solid #edf2eb;
  background:#fff;
  color:#102412;
  text-align:left;
  cursor:pointer;
}
.finance-search-results button:hover,
.finance-client-results button:hover { background:#eef6e9; }
.finance-search-results strong,
.finance-client-results strong {
  display:block;
  white-space:normal;
  line-height:1.35;
}
.finance-import-table .finance-import-combobox { min-width:360px; }
.finance-import-table .finance-import-seller-select { min-width:240px; }
.finance-column-map-form { display:grid; gap:16px; padding-top:14px; }
.finance-column-map-grid {
  display:grid;
  grid-template-columns:repeat(3,minmax(220px,1fr));
  gap:14px;
}
.finance-column-map-grid label { display:grid; gap:7px; font-weight:900; color:#405044; }
.finance-column-map-grid select {
  min-height:44px;
  width:100%;
  min-width:0;
  border:1px solid #cbd7c8;
  border-radius:6px;
  padding:9px 10px;
  font:inherit;
}
.finance-column-map-sample { max-height:34vh; overflow:auto; border:1px solid var(--system-line); border-radius:8px; }
.finance-column-map-sample .data-table { min-width:980px; }
.finance-column-map-sample th,
.finance-column-map-sample td { white-space:nowrap; max-width:260px; overflow:hidden; text-overflow:ellipsis; }
.form-actions { display:flex; justify-content:flex-end; margin-top:14px; }
@media (max-width: 980px) {
  .admin-app-shell {
    padding-left: 0;
  }
  .admin-app-shell .app-topbar {
    position: sticky;
    inset: auto;
    width: auto;
    height: auto;
    min-height: 68px;
    padding: 10px 16px;
    flex-direction: row;
    flex-wrap: wrap;
    align-items: center;
  }
  .admin-app-shell .app-topbar > a {
    padding-bottom: 0;
    border-bottom: 0;
  }
  .admin-app-shell .app-topbar img {
    width: 58px;
  }
  .admin-app-shell .app-topbar nav {
    order: 3;
    width: 100%;
    margin: 8px 0 0;
    display: flex;
    overflow-x: auto;
  }
  .admin-app-shell .admin-nav-dropdown {
    position: absolute;
    min-width: 220px;
    margin: 6px 0 0;
    padding: 8px;
    border: 1px solid var(--system-line);
    border-radius: 8px;
    background: #fff;
    box-shadow: var(--shadow);
  }
  .admin-app-shell .admin-nav-dropdown a {
    color: #445047!important;
  }
  .admin-app-shell .admin-nav-dropdown a:hover,
  .admin-app-shell .admin-nav-dropdown a.active {
    color: var(--system-green-dark)!important;
    background: #edf4e9!important;
  }
  .admin-app-shell .app-topbar .topbar-end {
    margin-left: auto;
    display: flex;
    border-top: 0;
    padding-top: 0;
  }
  .admin-app-shell > .app-content {
    width: min(100% - 24px, 1400px);
    margin: 24px auto 48px;
  }
  .admin-chat-shell { grid-template-columns:1fr; }
  .admin-chat-list { max-height:280px; overflow:auto; border-right:0; border-bottom:1px solid var(--system-line); }
  .user-summary-grid { grid-template-columns:1fr; }
  .company-filter-toolbar { grid-template-columns:1fr 1fr; }
  .company-filter-toolbar input { grid-column:1 / -1; }
  .company-map-layout { grid-template-columns:1fr; }
  .company-map-panel-modern .company-map-layout { grid-template-columns:1fr; }
  .finance-package-item-grid,
  .finance-package-bulk,
  .finance-import-bulk-actions { grid-template-columns:1fr; }
  .finance-column-map-grid { grid-template-columns:1fr; }
}
@media (max-width: 620px) {
  .company-filter-toolbar,.company-import-guide { grid-template-columns:1fr; }
  .company-filter-toolbar input { grid-column:auto; }
  .company-map-layout { padding:12px; }
  .company-map { min-height:310px; }
  .company-map-panel-modern .company-map { min-height:360px; }
  .company-state-row,
  .company-map-panel-modern .company-city-row { grid-template-columns:1fr 42px; }
  .company-state-row i,
  .company-map-panel-modern .company-city-row i { grid-column:1 / -1; }
  .table-pagination { align-items:flex-start; flex-direction:column; }
  .table-pagination > div { justify-content:flex-start; }
}
