/* POS accent pinned to the brand green (the POS reads --pos-accent for chips, focus rings, tints) */
:root { --pos-accent: #168A4E; --pos-accent-rgb: 22, 138, 78; }
/* ==========================================================================
   AEUX-THEME-1: admin restyled to the "AeuxGlobal" green dashboard reference.
   Desktop only (>=861px); phone drawer / bottom nav / More sheet untouched.
   Loaded LAST (after shopify-shell.css and every other admin stylesheet).
   Roll back: delete the <link> to this file in admin/index.html. Nothing else changed.

   Reference measurements (image is ~0.44x of a 1440px screen, so values are scaled up):
     frame bg      dark green  #0B3B32 -> #08272A   outer radius 24
     sidebar       256px, transparent on the frame, nav row 40px, active pill rgba(255,255,255,.08), radius 12
     canvas panel  inset 8px, radius 20, #EEF6F2
     cards         white, radius 14, no border, 16px padding, 12px gap
     CTA           near-black #0B1512 pill-rect, radius 10, white 13/600
     accent green  #2DBE6C (gauge / positive), dark card #0A1F1D
   ========================================================================== */
/* back pill exists on desktop only */
.ax-back { display: none; }
@media (min-width: 861px) {
  :root {
    --color-primary: #168A4E;  --color-primary-hover: #0F6E3E;
    --color-primary-soft: #E3F4EB;  --color-primary-soft-border: #BFE3CE;
    --color-focus-ring: rgba(22, 138, 78, .22);
    --color-chart-2: #7BD3A1;
    --color-bg: #FBFBFB;  --bg: #FBFBFB;
    --primary: #168A4E;  --primary-dark: #0F6E3E;
    --header-h: 0px;  --sidebar-w: 220px;
    --ax-frame: linear-gradient(180deg, #0B3B32 0%, #082B2B 100%);
    --ax-card-r: 14px;
  }
  html.sb-collapsed { --sidebar-w: 220px; }
  html, body { height: 100%; }
  body { background: var(--ax-frame); background-attachment: fixed; overflow: hidden; }

  /* ---------------- Sidebar (Shopify geometry: 220 wide, 28px rows, search pill under the brand) ---------------- */
  .sidebar {
    top: 0; bottom: 0; width: 220px; padding: 0; color: #D6E8E0; box-shadow: none; border: 0;
    background: linear-gradient(180deg, rgba(34, 170, 96, 0) 68%, rgba(34, 170, 96, .42) 100%);
  }
  .sidebar-brand { display: flex !important; align-items: center; gap: 8px; height: 52px; padding: 0 16px; border: 0; background: none; }
  .sidebar-brand .mark { width: 24px; height: 24px; border-radius: 6px; background: #fff; }
  .sidebar-brand .txt b { color: #fff; font-size: 14px; font-weight: 600; letter-spacing: 0; }
  .sidebar-collapse-toggle { display: none !important; }
  .sidebar .topbar-search {
    position: static; transform: none; display: flex; align-items: center; gap: 6px; width: auto; min-width: 0;
    height: 30px; margin: 0 12px 10px; padding: 0 8px; box-sizing: border-box;
    background: rgba(255, 255, 255, .10); border: 1px solid rgba(255, 255, 255, .14); border-radius: 8px; box-shadow: none;
  }
  .sidebar .topbar-search:hover { background: rgba(255, 255, 255, .14); }
  .sidebar .topbar-search:focus-within { background: rgba(255, 255, 255, .16); border-color: #5BE09B; }
  .sidebar .topbar-search i, .sidebar .topbar-search svg.i-svg.i-pol { color: #BFD6CC; width: 16px; height: 16px; font-size: 16px; }
  .sidebar .topbar-search input { color: #fff; font-size: 13px; line-height: 20px; }
  .sidebar .topbar-search input::placeholder { color: #BFD6CC; }
  .sidebar .tb-kbd kbd { background: transparent; color: #BFD6CC; font-size: 12px; min-width: 0; padding: 0 2px; }
  .sidebar-nav { padding: 0 12px 8px; }
  .sidebar .nav-section-label { display: none; }
  #navSectionPlatform .nav-section-label, #navSectionChannels .nav-section-label {
    display: flex; align-items: center; height: 28px; margin: 6px 0 0; padding: 0 8px; font-size: 13px; font-weight: 500;
    letter-spacing: 0; text-transform: none; color: #BFD6CC;
  }
  #sidebar .nav-link {
    height: 28px; margin: 0 0 2px; padding: 0 8px; gap: 8px; border-radius: 8px; color: #E6F1EC; font-size: 13px; font-weight: 500;
  }
  #sidebar .nav-link i, #sidebar .nav-link i svg.i-svg, #sidebar .nav-link i svg.i-pol, #sidebar .nav-link i svg.i-pol-f { width: 16px; height: 16px; font-size: 16px; }
  #sidebar .nav-link i { color: #BFD6CC; }
  #sidebar .nav-link:hover:not(.active) { background-color: rgba(255, 255, 255, .08); color: #fff; }
  #sidebar .nav-link:hover i { color: #fff; }
  #sidebar .nav-link.active, #sidebar .nav-link.active:hover { background-color: rgba(255, 255, 255, .16); color: #fff; font-weight: 600; }
  #sidebar .nav-link.active i, #sidebar .nav-link.active:hover i { color: #fff; }
  #sidebar .nav-link:focus-visible { outline: 2px solid #5BE09B; outline-offset: -2px; }
  #sidebar #logoutLink:hover, #sidebar #logoutLink:hover i { color: #FFB4A8; }
  .sidebar-foot { padding: 0 12px 10px; }
  .sidebar-user { display: none !important; }
  /* store row: tile + name + bell (bell element is moved here by js/aeux-shell.js) */
  .ax-store-row { display: flex; align-items: center; gap: 8px; height: 32px; margin: 4px 0 0; padding: 0 4px 0 8px; }
  .ax-store-row .ax-mark {
    flex: none; width: 24px; height: 24px; border-radius: 6px; background: #5BE09B; color: #06281C;
    font-size: 10px; font-weight: 700; display: inline-flex; align-items: center; justify-content: center; overflow: hidden;
  }
  .ax-store-row .ax-mark img { width: 100%; height: 100%; object-fit: contain; background: #fff; }
  .ax-store-row .ax-name { flex: 1; min-width: 0; color: #fff; font-size: 14px; font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
  .ax-store-row .icon-btn { position: relative; flex: none; width: 28px; height: 28px; border: 0; border-radius: 8px; background: transparent; color: #E6F1EC; }
  .ax-store-row .icon-btn:hover { background: rgba(255, 255, 255, .12); color: #fff; }
  .ax-store-row .icon-btn i, .ax-store-row .icon-btn svg.i-svg { width: 18px; height: 18px; font-size: 18px; }
  .ax-store-row .notif-dot { top: 1px; right: 0; width: 14px; height: 14px; border: 0; background: #E5372B; }
  .sidebar-plan { margin: 8px 0 0; padding: 12px 4px 0; border-top: 1px solid rgba(255, 255, 255, .14); border-radius: 0; background: none; }
  .sidebar-plan .sp-line1 { font-size: 14px; font-weight: 700; color: #fff; }
  .sidebar-plan .sp-line2 { font-size: 12px; font-weight: 400; color: #BFD6CC; }
  .sidebar-plan .sp-btn { height: 32px; margin-top: 10px; border-radius: 999px; background: #fff; color: #1A1A1A; font-weight: 550; }

  /* ---------------- Canvas panel (Shopify: 4px inset, 12px radius) ---------------- */
  .main {
    margin: 4px 4px 4px 220px; padding: 0; height: calc(100vh - 8px); overflow-y: auto; overflow-x: hidden;
    border-radius: 12px; background: #FBFBFB; scrollbar-width: thin; scrollbar-color: rgba(0, 0, 0, .2) transparent;
  }
  .topbar { display: none !important; }
  .content { position: relative; padding: 0 20px 24px 16px; }
  .page-head { display: flex; align-items: center; height: 56px; margin: 0 !important; padding: 0; }
  .page-head h1 { font-size: 14px !important; font-weight: 650 !important; line-height: 20px; letter-spacing: 0 !important; color: #303030; margin: 0; }
  .page-crumb { display: none !important; }
  .view { padding-top: 0; }

  /* ---------------- Cards + buttons ---------------- */
  .card, .dash-card { border: 1px solid #E3E3E3; border-radius: 12px; box-shadow: none; background: #fff; }
  /* ===== Shopify 3D buttons (copied from the Products header: View as / Import / Export / Add product) =====
     Secondary: white, hairline ring + darker bottom edge + 1px drop. Primary: charcoal gradient, light top/side
     bevel, black bottom edge. Pressed: fill darkens and the button sinks (inset shadow). Pills, 28px, 13px/550. */
  :root {
    --ax-sec-bg: linear-gradient(180deg, #FFFFFF 0%, #FAFAFA 100%);
    --ax-sec-sh: inset 0 -1px 0 0 #B5B5B5, inset 0 0 0 1px rgba(0, 0, 0, .10), 0 1px 0 0 rgba(26, 26, 26, .07);
    --ax-sec-sh-a: inset 0 2px 4px 0 rgba(26, 26, 26, .22), inset 0 0 0 1px rgba(0, 0, 0, .12);
    --ax-pri-bg: linear-gradient(180deg, color-mix(in srgb, #0F172A 84%, #fff) 0%, #0F172A 100%);   /* = POS Scan Barcode button */
    --ax-pri-edge: color-mix(in srgb, #0F172A 78%, #000);
    --ax-pri-sh: inset 0 1px 0 rgba(255, 255, 255, .28), inset 0 -1px 0 rgba(0, 0, 0, .14), 0 1px 2px rgba(16, 24, 40, .22);
    --ax-pri-sh-a: inset 0 2px 4px rgba(0, 0, 0, .26);
  }
  .btn, .hm-btn, .dpk-pill, #view-dashboard .dash-quick .more-tile {
    display: inline-flex; align-items: center; justify-content: center; gap: 6px; box-sizing: border-box;
    min-height: 32px; padding: 0 14px; border: 1px solid transparent; border-radius: 8px;
    font-size: 13px; font-weight: 600; line-height: 20px; letter-spacing: 0; text-decoration: none; cursor: pointer;
    transition: background-color .1s ease, box-shadow .1s ease;
  }
  .btn.btn-sm { min-height: 26px; padding: 0 10px; font-size: 12px; }
  .btn.btn-lg { min-height: 36px; padding: 0 16px; }
  /* secondary */
  .btn.btn-ghost, .btn.btn-ghost:hover:not(:disabled), .btn.btn-secondary, .btn.btn-outline,
  .hm-btn-ghost, .hm-btn-ghost:hover, .dpk-pill, .ax-back, #view-dashboard .dash-quick .more-tile {
    background: var(--ax-sec-bg); background-image: var(--ax-sec-bg); color: #303030; border-color: transparent; box-shadow: var(--ax-sec-sh);
  }
  .btn.btn-ghost:hover:not(:disabled), .btn.btn-secondary:hover:not(:disabled), .btn.btn-outline:hover:not(:disabled),
  .hm-btn-ghost:hover, .dpk-pill:hover, .ax-back:hover, #view-dashboard .dash-quick .more-tile:hover { background: #F7F7F7; background-image: none; }
  .btn.btn-ghost:active:not(:disabled), .hm-btn-ghost:active, .dpk-pill:active, .ax-back:active,
  #view-dashboard .dash-quick .more-tile:active { background: #F1F1F1; background-image: none; box-shadow: var(--ax-sec-sh-a); }
  .dpk-pill[aria-expanded="true"] { background: #F1F1F1; box-shadow: var(--ax-sec-sh-a); }
  /* primary */
  .btn.btn-primary, .btn.btn-primary:hover:not(:disabled), .hm-btn-primary, .hm-btn-primary:hover,
  #view-dashboard .dash-quick .more-tile[data-dm-route="pos"], #view-dashboard .dash-quick .more-tile[data-dm-route="pos"]:hover {
    background: var(--ax-pri-bg); background-image: var(--ax-pri-bg); color: #fff; border-color: var(--ax-pri-edge); box-shadow: var(--ax-pri-sh); filter: none;
  }
  /* no hover effect on primary buttons (the Scan Barcode hover is intentionally not copied) */
  .btn.btn-primary:active:not(:disabled), .hm-btn-primary:active, #view-dashboard .dash-quick .more-tile[data-dm-route="pos"]:active {
    background: #0F172A; background-image: none; box-shadow: var(--ax-pri-sh-a);
  }
  #view-dashboard .dash-quick .more-tile[data-dm-route="pos"] .more-tile-ic, #view-dashboard .dash-quick .more-tile[data-dm-route="pos"] .more-tile-tx { color: #fff; }
  #view-dashboard .dash-quick .more-tile .more-tile-ic { width: 16px; height: 16px; background: none; box-shadow: none; color: inherit; padding: 0; }
  #view-dashboard .dash-quick .more-tile { height: 36px; min-width: 36px; }
  /* Desktop dashboard header shortcuts: compact 32px buttons (icon-only ones are 32x32), 16px icons */
  @media screen and (min-width: 861px) {
    #view-dashboard .dash-quick .more-tile { height: 32px; min-height: 32px; min-width: 32px; padding: 0 12px; border-radius: 8px; }
    #view-dashboard .dash-quick .more-tile .more-tile-ic i.ai { width: 16px; height: 16px; font-size: 16px; }
  }
  @media screen and (min-width: 861px) and (max-width: 1439px) {
    #view-dashboard .dash-quick .more-tile:not([data-dm-route="pos"]) { width: 32px; padding: 0; }
  }
  .btn:active:not(:disabled) { transform: none; }
  .btn:disabled, .btn[disabled] { opacity: .5; box-shadow: var(--ax-sec-sh); }
  .btn.btn-primary:disabled { box-shadow: var(--ax-pri-sh); border-color: var(--ax-pri-edge); }
  .btn:focus-visible, .hm-btn:focus-visible, .dpk-pill:focus-visible, .ax-back:focus-visible { outline: 2px solid #168A4E; outline-offset: 2px; }
  .btn i.ai, .btn i svg.i-svg { width: 16px; height: 16px; font-size: 16px; }
  /* back pill in the page header (js/aeux-shell.js) */
  .ax-back {
    display: inline-flex; align-items: center; justify-content: center; width: 36px; height: 32px; margin-right: 10px; padding: 0;
    border: 1px solid transparent; border-radius: 8px; cursor: pointer;
  }
  .ax-back svg { width: 16px; height: 16px; }

  /* ---------------- Dashboard: fit the key info in one screen ---------------- */
  #view-dashboard { padding: 4px 0 16px; }
  #view-dashboard .dash-grid { gap: 12px; }
  /* KPIs: separate white cards in a row (reference top row) instead of one joined box */
  #view-dashboard .dash-kpis {
    grid-template-columns: repeat(auto-fit, minmax(190px, 1fr)); gap: 12px; background: transparent; border: 0; box-shadow: none; overflow: visible;
  }
  #view-dashboard .dash-kpi {
    min-height: 88px; padding: 14px 16px; background: #fff; border: 1px solid #E3E3E3 !important; border-radius: 12px;
    box-shadow: none;
  }
  #view-dashboard .dash-kpi:hover, #view-dashboard .dash-kpi.is-active { background: #F6FBF8; }
  #view-dashboard .dash-kpi-label { font-size: 11px; color: #6B8A7E; }
  #view-dashboard .dash-kpi-val { font-size: 22px; line-height: 28px; font-weight: 600; color: #0B1512; }
  #view-dashboard .dash-kpi-val .cur { font-size: 13px; color: #6B8A7E; }
  /* Revenue = the dominant KPI: wider card painted with the sidebar's green gradient, white type, larger value */
  #view-dashboard #statGrid.dash-kpis { grid-template-columns: minmax(0, 1.7fr) repeat(3, minmax(0, 1fr)); }
  #view-dashboard #statGrid .dash-kpi[data-metric="revenue"],
  #view-dashboard #statGrid .dash-kpi[data-metric="revenue"]:hover,
  #view-dashboard #statGrid .dash-kpi[data-metric="revenue"].is-active {
    min-height: 104px; padding: 16px 20px; border-color: transparent !important; color: #fff;
    background:
      linear-gradient(180deg, rgba(34, 170, 96, 0) 55%, rgba(34, 170, 96, .42) 100%),
      linear-gradient(180deg, #0B3B32 0%, #082B2B 100%);
    box-shadow: 0 6px 16px -6px rgba(8, 43, 43, .45);
  }
  #view-dashboard #statGrid .dash-kpi[data-metric="revenue"]:focus-visible { outline: 2px solid #7BD3A1; outline-offset: 2px; }
  #view-dashboard #statGrid .dash-kpi[data-metric="revenue"] .dash-kpi-label { font-size: 12px; font-weight: 500; color: rgba(255, 255, 255, .74); }
  #view-dashboard #statGrid .dash-kpi[data-metric="revenue"] .dash-kpi-val { font-size: 36px; line-height: 42px; font-weight: 700; letter-spacing: -.03em; color: #fff; }
  #view-dashboard #statGrid .dash-kpi[data-metric="revenue"] .dash-kpi-val .cur { font-size: 16px; font-weight: 500; color: rgba(255, 255, 255, .78); }
  #view-dashboard #statGrid .dash-kpi[data-metric="revenue"] .dash-pill { padding: 2px 8px; border-radius: 999px; background: rgba(255, 255, 255, .16); color: #fff; font-weight: 600; }
  #view-dashboard #statGrid .dash-kpi[data-metric="revenue"] .dash-pill.is-up { color: #9BE8BC; }
  #view-dashboard #statGrid .dash-kpi[data-metric="revenue"] .dash-pill.is-down { color: #FFB4B4; }
  /* Toolbar (period + quick actions) on one slim row */
  #view-dashboard .dash-toolbar { margin-bottom: 0; }
  /* Chart + target row: chart height follows the viewport so the row ends above the fold on 768px+ screens */
  #view-dashboard .dash-pair { gap: 12px; }
  #view-dashboard .dash-pair .dash-card-head { padding: 12px 16px; border-bottom: 0; }
  #view-dashboard .dash-pair .dash-chart-lg { height: clamp(190px, calc(100vh - 400px), 300px); min-height: 0; margin: 0 16px 16px; }
  #view-dashboard .dash-card-head h3 { font-size: 14px; font-weight: 600; color: #0B1512; }

  /* ---------------- Products page (reference: Shopify Products list) ---------------- */
  /* Add product moves into the page header, black pill */
  #view-products .toolbar-left, #view-products .toolbar-right { display: contents; }
  #addProductBtn { position: absolute; top: 14px; right: 20px; z-index: 5; width: auto; }
  #addProductBtn i { display: none; }
  /* filter bar: one bordered strip, status select first, search fills, extras after */
  #view-products .toolbar {
    position: static; display: flex; align-items: center; gap: 4px; height: 40px; margin: 0 0 14px; padding: 0 8px;
    background: #fff; border: 1px solid #E3E3E3; border-radius: 12px; box-shadow: 0 1px 0 rgba(0, 0, 0, .03);
  }
  #view-products #prodStatusFilter { order: 0; }
  #view-products .search-box { order: 1; flex: 1; min-width: 0; height: 30px; margin: 0; border: 0; background: transparent; box-shadow: none; }
  #view-products .search-box input { font-size: 13px; background: transparent; }
  #view-products #prodCategoryFilter { order: 2; }
  #view-products #prodStockFilter { order: 3; }
  #view-products #prodFiltersClear, #view-products #prodMissingCostChip { order: 4; }
  #view-products .dt-cols-toggle { order: 5; }
  #view-products .view-toggle { order: 6; }
  #view-products .filter-select {
    height: 28px; border: 0; background-color: transparent; box-shadow: none; font-size: 13px; font-weight: 600; color: #303030; border-radius: 8px;
  }
  #view-products .filter-select:hover { background-color: #F3F3F3; }
  #view-products .toolbar .btn-ghost.btn-sm { min-height: 28px; border-color: transparent; background: transparent; box-shadow: none; color: #303030; }
  #view-products .toolbar .btn-ghost.btn-sm:hover:not(:disabled) { background: #F3F3F3; }
  /* table: no card chrome; grey rounded header row; 48px rows with hairlines */
  #view-products .card.card-flush { background: transparent; border: 0; border-radius: 0; box-shadow: none; overflow: visible; }
  #view-products table.dtable { border-collapse: separate; border-spacing: 0; width: 100%; background: transparent; }
  #view-products table.dtable thead th {
    height: 32px; padding: 0 12px; background: #F3F3F3; border: 0; font-size: 13px; font-weight: 500; line-height: 20px;
    letter-spacing: 0; text-transform: none; color: #303030; white-space: nowrap;
  }
  #view-products table.dtable thead th:first-child { border-radius: 8px 0 0 8px; width: 40px; }
  #view-products table.dtable thead th:last-child { border-radius: 0 8px 8px 0; font-size: 0; }
  #view-products table.dtable thead th i.ai { opacity: 0; transition: opacity .12s; }
  #view-products table.dtable thead th:hover i.ai { opacity: .6; }
  #view-products table.dtable tbody td {
    height: 48px; padding: 0 12px; background: transparent; border: 0; border-bottom: 1px solid #EBEBEB;
    font-size: 13px; font-weight: 450; color: #303030; vertical-align: middle;
  }
  #view-products table.dtable tbody tr:hover td { background: #F7F7F7; }
  #view-products .row-title { display: flex; align-items: center; gap: 12px; }
  #view-products .row-thumb { width: 32px; height: 32px; border-radius: 8px; border: 1px solid #E3E3E3; object-fit: cover; background: #fff; }
  #view-products .row-title .name { font-size: 13px; font-weight: 650; color: #303030; }
  #view-products .badge { display: inline-flex; align-items: center; height: 22px; padding: 0 8px; border-radius: 8px; font-size: 12px; font-weight: 500; }
  #view-products .badge-success { background: #BEF0D3; color: #0B4F2D; border: 0; }
  #view-products .badge-muted { background: #E3E3E3; color: #4A4A4A; border: 0; }
  #view-products .inv-cell { color: #303030; }
  #view-products .inv-cell.is-out, #view-products .inv-cell.is-out .inv-main { color: #B42318; }
  #view-products .inv-sub { color: #303030; }
  /* row actions appear on hover only (the reference shows none at rest) */
  #view-products .cell-actions { opacity: 0; transition: opacity .12s; }
  #view-products tbody tr:hover .cell-actions, #view-products .cell-actions:focus-within { opacity: 1; }
  /* square checkboxes, green when checked */
  #view-products input.checkbox {
    -webkit-appearance: none; appearance: none; width: 16px; height: 16px; margin: 0; border: 1.5px solid #8A8A8A; border-radius: 4px;
    background: #fff; cursor: pointer; vertical-align: middle;
  }
  #view-products input.checkbox:checked {
    border-color: #168A4E;
    background: #168A4E url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M4 8.5l2.5 2.5L12 5.5' fill='none' stroke='%23fff' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/100% no-repeat;
  }

  /* ---------------- Whole-admin pass: title row, cards, tables, inputs, dashboard ---------------- */
  .page-head { justify-content: flex-start !important; }
  body[data-route="dashboard"] .page-head { display: flex !important; }
  body[data-route="dashboard"] .page-head h1 { font-size: 22px !important; font-weight: 700 !important; line-height: 28px; letter-spacing: -.01em !important; color: #0B1512; }
  .card-flush { background: transparent; border: 0; box-shadow: none; overflow: visible; }
  .card-flush > .table-wrap, .card-flush > .pagination-bar { background: transparent; }
  /* every list/table: grey rounded header row, 48px rows, hairlines, 13px text */
  #content .view table.dtable { border-collapse: separate; border-spacing: 0; background: transparent; }
  #content .view table.dtable thead th {
    height: 32px; padding: 0 12px; background: #F3F3F3; border: 0; font-size: 13px; font-weight: 500; line-height: 20px;
    letter-spacing: 0; text-transform: none; color: #303030; white-space: nowrap;
  }
  #content .view table.dtable thead th:first-child { border-radius: 8px 0 0 8px; }
  #content .view table.dtable thead th:last-child { border-radius: 0 8px 8px 0; }
  #content .view table.dtable tbody td { padding-top: 0; padding-bottom: 0; height: 48px; border: 0; border-bottom: 1px solid #EBEBEB; font-size: 13px; color: #303030; vertical-align: middle; background: transparent; }
  #content .view table.dtable tbody tr:hover td { background: #F7F7F7; }
  #content .view .badge-success { background: #BEF0D3; color: #0B4F2D; border: 0; border-radius: 8px; }
  #content .view .badge-muted { background: #E3E3E3; color: #4A4A4A; border: 0; border-radius: 8px; }
  /* filter strips */
  #content .view .toolbar:not(.no-strip) { background: #fff; border: 1px solid #E3E3E3; border-radius: 12px; padding: 6px 8px; box-shadow: 0 1px 0 rgba(0, 0, 0, .03); }
  /* inputs: 8px radius, light ring, green focus */
  #content :is(input[type="text"], input[type="search"], input[type="email"], input[type="number"], input[type="tel"], input[type="password"], input[type="date"], input[type="url"], select, textarea):not(.checkbox) {
    border-radius: 8px; border-color: #CFCFCF; box-shadow: inset 0 1px 0 rgba(0, 0, 0, .03);
  }
  #content :is(input, select, textarea):not(.checkbox):focus { border-color: #168A4E; outline: 0; box-shadow: 0 0 0 3px rgba(22, 138, 78, .22); }
  .search-box { border-radius: 8px; }
  /* tabs / segmented controls pick up the pill look */
  .dash-ctoggle { border-radius: 999px; border: 0; background: #F1F1F1; box-shadow: inset 0 1px 2px rgba(0, 0, 0, .08); }
  .dash-ctoggle button { border-radius: 999px; }
  /* Dashboard: bigger KPI numbers, soft green highlight on the selected metric, quieter chrome */
  #view-dashboard .dash-grid { gap: 14px; }
  #view-dashboard .dash-kpis { gap: 14px; }
  #view-dashboard .dash-kpi { min-height: 108px; padding: 16px 18px; border-radius: 14px; }
  #view-dashboard .dash-kpi.is-active { background: #F2FAF5; border-color: #BFE3CE !important; }
  #view-dashboard .dash-kpi-label { font-size: 12px; font-weight: 500; color: #5E7F73; }
  #view-dashboard .dash-kpi-val { font-size: 28px; line-height: 34px; font-weight: 650; letter-spacing: -.02em; }
  #view-dashboard .dash-kpi-val .cur { font-size: 14px; font-weight: 500; }
  .dash-pill { font-size: 12px; font-weight: 600; }
  .dash-pill.is-up { color: #168A4E; }
  .dash-pill.is-down { color: #D92D20; }
  #view-dashboard .card, #view-dashboard .dash-card, .hm-card, .hm-guide-bar { border-radius: 14px; }
  #view-dashboard .dash-card-head h3 { font-size: 15px; font-weight: 650; }
  #view-dashboard .dash-toolbar { gap: 8px; }
  #view-dashboard .dpk-pill { height: 32px; min-height: 32px; }
}
