:root { color-scheme: light; font-family: Inter, ui-sans-serif, system-ui, sans-serif; color: #172033; background: #f4f7fb; }
* { box-sizing: border-box; }
body { margin: 0; min-height: 100vh; }
.shell { width: min(100% - 32px, 960px); margin: 0 auto; padding: 72px 0; }
.hero { max-width: 620px; margin-bottom: 32px; }
.eyebrow { margin: 0 0 8px; color: #3867d6; font-size: .75rem; font-weight: 800; letter-spacing: .12em; }
h1, h2 { margin: 0; line-height: 1.1; } h1 { font-size: clamp(2.4rem, 7vw, 4.6rem); } h2 { font-size: 1.5rem; }
.lead, .panel p { color: #59657b; line-height: 1.6; }
.panel { display: grid; grid-template-columns: 1fr 360px; gap: 40px; padding: 36px; border: 1px solid #dde4ef; border-radius: 18px; background: #fff; box-shadow: 0 18px 50px #1e3a6c12; }
form { display: grid; gap: 18px; } label { display: grid; gap: 7px; font-size: .9rem; font-weight: 650; }
input { width: 100%; padding: 12px; border: 1px solid #cbd5e1; border-radius: 8px; font: inherit; }
button { border: 0; border-radius: 8px; padding: 12px 18px; background: #2357cf; color: #fff; font: inherit; font-weight: 700; cursor: pointer; }
button:hover { background: #1947b5; } .secondary { width: max-content; background: #e8edf7; color: #233253; }
.form-message { min-height: 1.4em; margin: 0; color: #b42318 !important; font-size: .9rem; }
.module-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.module-card { display: grid; gap: 5px; padding: 16px; border: 1px solid #dbe3f0; border-radius: 10px; color: inherit; text-decoration: none; }.module-card span { color: #68758a; font-size: .85rem; }.disabled { opacity: .55; }
@media (max-width: 700px) { .shell { padding: 36px 0; }.panel { grid-template-columns: 1fr; padding: 24px; gap: 26px; }.dashboard { display: block; }.dashboard .module-grid { margin: 24px 0; } }
.status-live { color: #176b45; background: #ddf6e8; }.metric-placeholder { color: #71809a; font-size: .9rem; line-height: 1.5; }.alert-summary { display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px; margin: 0 0 18px; }.alert-summary div { padding: 10px 12px; border-left: 3px solid #e5a531; background: #fffbf0; }.alert-summary dt { color: #71809a; font-size: .78rem; }.alert-summary dd { margin: 3px 0 0; font-size: .95rem; font-weight: 750; }.readiness-list { display: grid; gap: 9px; margin: 22px 0 18px; padding: 0; list-style: none; }.readiness-list li { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 10px 12px; border: 1px solid #e7ebf3; border-radius: 8px; font-size: .88rem; }.readiness-list strong { font-size: .8rem; }.readiness-list .is-ready strong { color: #176b45; }.readiness-list .is-pending strong { color: #8a6411; }
.admin-body { background: #f7f8fc; }.admin-shell { min-height: 100vh; display: grid; grid-template-columns: 240px minmax(0, 1fr); }.sidebar { display: flex; flex-direction: column; gap: 38px; padding: 28px 18px; background: #17284b; color: #e8efff; }.brand { display: flex; align-items: center; gap: 10px; color: inherit; font-size: 1.1rem; font-weight: 800; text-decoration: none; }.brand-mark { display: grid; width: 28px; height: 28px; place-items: center; border-radius: 8px; background: #4e7cf0; }.sidebar nav { display: grid; gap: 6px; }.nav-link, .back-link { padding: 11px 12px; border-radius: 8px; color: inherit; text-decoration: none; }.nav-link.active { background: #314c82; }.nav-link.muted { color: #9baed1; cursor: not-allowed; }.nav-link small { display: block; margin-top: 3px; font-size: .7rem; }.back-link { margin-top: auto; color: #b7c6e7; }.admin-main { padding: 42px; max-width: 1440px; width: 100%; }.topbar, .card-heading { display: flex; align-items: flex-start; justify-content: space-between; gap: 20px; }.topbar h1 { font-size: clamp(1.8rem, 4vw, 2.4rem); }.date-label { color: #71809a; font-size: .85rem; }.notice { margin: 26px 0; padding: 14px 16px; border: 1px solid #d8e2ff; border-radius: 10px; color: #38517c; background: #edf3ff; line-height: 1.5; }.stats { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }.stat-card, .content-card { padding: 20px; border: 1px solid #e0e6f0; border-radius: 14px; background: #fff; box-shadow: 0 5px 16px #1e3a6c0b; }.stat-card { display: grid; gap: 8px; }.stat-card span, .stat-card small { color: #71809a; }.stat-card strong { font-size: 2rem; }.stat-card a { color: #2459d1; font-size: .85rem; font-weight: 700; text-decoration: none; }.dashboard-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; margin-top: 16px; }.activities { grid-column: span 2; }.content-card h2 { font-size: 1.15rem; }.status-pill { padding: 5px 8px; border-radius: 999px; color: #7d5d14; background: #fff4d6; font-size: .75rem; font-weight: 700; white-space: nowrap; }.period-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin: 24px 0; }.period-grid div { padding: 12px; border-radius: 9px; background: #f7f9fd; }.period-grid span { display: block; color: #71809a; font-size: .8rem; }.period-grid strong { font-size: 1.4rem; }.metric-placeholder > p, .empty-state { color: #71809a; font-size: .9rem; line-height: 1.5; }.activity-list { display: grid; gap: 12px; padding: 0; margin: 20px 0 0; list-style: none; }.activity-list li { display: flex; justify-content: space-between; gap: 16px; padding-bottom: 12px; border-bottom: 1px solid #edf0f5; font-size: .9rem; }.activity-list time { color: #71809a; font-size: .8rem; white-space: nowrap; } @media (max-width: 900px) { .admin-shell { grid-template-columns: 1fr; }.sidebar { display: none; }.admin-main { padding: 28px 16px; }.stats { grid-template-columns: repeat(2, 1fr); }.dashboard-grid { grid-template-columns: 1fr; }.activities { grid-column: span 1; } } @media (max-width: 480px) { .stats { grid-template-columns: 1fr; }.topbar { display: block; }.date-label { display: block; margin-top: 12px; }.period-grid { grid-template-columns: 1fr; } }

/* Admin dashboard: desain charcoal-gold dari backenddesain.md. */
.admin-body { color: #252525; background: #f7f7f4; }.admin-shell { display: block; min-height: 100vh; }.admin-workspace { min-width: 0; min-height: 100vh; margin-left: 272px; display: flex; flex-direction: column; }.sidebar { position: fixed; inset: 0 auto 0 0; width: 272px; gap: 20px; padding: 24px 12px 16px; overflow: hidden; background: #1f2933; color: #f7f7f4; }.brand { flex: none; padding: 0 8px 18px; border-bottom: 1px solid rgba(255,255,255,.1); letter-spacing: .05em; }.brand-mark { width: 35px; height: 35px; background: #f4b400; color: #1f2933; border-radius: 11px; }.sidebar nav { min-height: 0; flex: 1; gap: 2px; overflow-y: auto; overscroll-behavior: contain; scrollbar-width: thin; scrollbar-color: #4b5563 transparent; }.side-section { margin: 18px 8px 6px; color: #9aa2aa; font-size: .65rem; font-weight: 800; letter-spacing: .13em; }.nav-link, .back-link { padding: 10px 12px; color: #d8dde2; font-size: .85rem; }.nav-link:hover { background: rgba(255,255,255,.08); color: #fff; }.nav-link.active { color: #1f2933; background: #f4b400; }.nav-link.muted { color: #9aa2aa; }.back-link { flex: none; border-top: 1px solid rgba(255,255,255,.1); border-radius: 0; padding-top: 16px; }.topbar { min-height: 72px; align-items: center; padding: 14px 32px; border-bottom: 1px solid #e7e5e0; background: rgba(247,247,244,.96); }.topbar strong { display: block; font-size: .9rem; }.topbar-label { color: #9a7415; font-size: .62rem; font-weight: 800; letter-spacing: .12em; }.menu-toggle { display: none; padding: 8px 10px; background: #fff; color: #1f2933; border: 1px solid #e7e5e0; }.admin-main { flex: 1; padding: 30px 32px 42px; }.dashboard-intro { display: flex; align-items: start; justify-content: space-between; gap: 20px; }.dashboard-intro h1 { font-size: clamp(2rem, 4vw, 2.6rem); }.dashboard-intro p:not(.eyebrow) { color: #6b7280; }.notice { border-color: #ead69a; background: #fff8df; color: #604a10; }.stat-card, .content-card { border-color: #e7e5e0; box-shadow: 0 2px 12px rgba(31,41,51,.04); }.stat-card { min-height: 145px; border-top: 3px solid #f4b400; }.stat-card strong { color: #1f2933; }.period-grid div { background: #f7f7f4; }.status-pill { background: #fff5cf; color: #70560d; }.status-live { color: #356947; background: #edf6ef; }.admin-footer { display: flex; justify-content: space-between; gap: 16px; padding: 18px 32px; border-top: 1px solid #e7e5e0; color: #6b7280; font-size: .75rem; }
@media (max-width: 900px) { .admin-shell { grid-template-columns: 1fr; }.admin-workspace { margin-left: 0; }.sidebar { display: flex; position: fixed; z-index: 10; top: 0; bottom: 0; width: 272px; transform: translateX(-100%); transition: transform .2s ease; }.sidebar.open { transform: translateX(0); }.menu-toggle { display: inline-block; }.topbar { padding: 12px 16px; }.admin-main { padding: 24px 16px 36px; }.admin-footer { padding: 16px; } }
.primary-action, .text-action, .product-pagination button { width: max-content; padding: 10px 14px; border-radius: 9px; background: #f4b400; color: #1f2933; font-size: .85rem; }.text-action, .product-pagination button { background: #fff; border: 1px solid #e7e5e0; color: #4b535b; }.product-toolbar { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin: 22px 0 16px; padding: 14px 16px; }.product-toolbar p { margin: 0; color: #6b7280; font-size: .82rem; }.product-search { flex: 1; max-width: 440px; }.product-search input, .product-form input, .product-form select { border-color: #dedcd6; background: #fff; }.table-wrap { overflow-x: auto; }.product-pagination { display: flex; justify-content: flex-end; gap: 8px; padding: 14px 16px 0; }.product-form-panel { margin-top: 16px; }.product-form { grid-template-columns: repeat(2, minmax(0, 1fr)); max-width: 900px; }.product-form label { font-size: .82rem; }.product-form .form-message, .product-form .primary-action { grid-column: 1 / -1; } @media (max-width: 620px) { .dashboard-intro, .product-toolbar { align-items: stretch; flex-direction: column; }.product-form { grid-template-columns: 1fr; }.product-form .form-message, .product-form .primary-action { grid-column: auto; } }
.reference-create { display: grid; grid-template-columns: minmax(0, 1fr) minmax(280px, 420px); gap: 18px; align-items: start; }.reference-create h2 { margin: 0; }.reference-form { grid-template-columns: minmax(0, 1fr) auto; align-items: end; }.reference-form label { margin: 0; }.reference-create .form-message { grid-column: 1 / -1; margin: 0; } @media (max-width: 620px) { .reference-create, .reference-form { grid-template-columns: 1fr; }.reference-form .primary-action { width: 100%; } }
.purchase-tabs { position: sticky; top: 0; z-index: 2; display: flex; flex-wrap: wrap; gap: 8px; margin: 22px 0 10px; padding: 10px; border: 1px solid #e7e5e0; border-radius: 12px; background: rgba(255,255,255,.96); }.purchase-tabs a { padding: 9px 12px; border-radius: 8px; color: #374151; font-size: .84rem; font-weight: 750; text-decoration: none; }.purchase-tabs a:hover { background: #fff5cf; }.purchase-section { margin-top: 18px; scroll-margin-top: 76px; }.purchase-form { grid-template-columns: repeat(2,minmax(0,1fr)); margin-top: 18px; padding-top: 18px; border-top: 1px solid #eeeae0; }.purchase-form select,.purchase-form textarea { width: 100%; padding: 12px; border: 1px solid #dedcd6; border-radius: 8px; background: #fff; font: inherit; }.purchase-form textarea { min-height: 88px; resize: vertical; }.purchase-full { grid-column: 1/-1; }.purchase-actions { display: flex; gap: 10px; }.purchase-filter { display: flex; align-items: end; justify-content: space-between; gap: 16px; margin: 18px 0 12px; }.purchase-filter label { width: min(240px,100%); }.purchase-filter span,.purchase-context { color: #6b7280; font-size: .84rem; }.line-editor { padding: 14px; border: 1px solid #e7e5e0; border-radius: 10px; background: #fafaf8; }.product-picker { display: grid; grid-template-columns: 1fr 1fr auto; gap: 10px; align-items: end; margin-bottom: 12px; }.line-editor input { min-width: 110px; }.purchase-form[hidden] { display: none; } @media(max-width:720px){.purchase-form,.product-picker{grid-template-columns:1fr}.purchase-full{grid-column:auto}.purchase-actions{flex-wrap:wrap}.purchase-tabs{position:static}.purchase-filter{align-items:stretch;flex-direction:column}}
.purchase-subpanel { margin-top: 18px; padding-top: 18px; border-top: 1px solid #eeeae0; }
.pos-workspace { display: grid; grid-template-columns: minmax(0,1.1fr) minmax(420px,.9fr); gap: 18px; margin-top: 20px; }.pos-results { display: grid; gap: 8px; max-height: 360px; overflow-y: auto; }.pos-results button { width: 100%; text-align: left; background: #f7f7f4; color: #252525; border: 1px solid #e7e5e0; }.pos-customer { display: grid; grid-template-columns: 1fr 1fr auto; align-items: end; gap: 10px; margin-top: 18px; padding-top: 18px; border-top: 1px solid #eeeae0; }.pos-customer select,.pos-cart-card select,.pos-cart-card textarea { width: 100%; padding: 12px; border: 1px solid #dedcd6; border-radius: 8px; background: #fff; font: inherit; }.pos-total { margin: 18px 0; padding: 16px; border-radius: 10px; background: #fff8df; text-align: right; font-size: 1.25rem; }.purchase-section-nav { display: flex; flex-wrap: wrap; gap: 8px; }.purchase-section-nav a { padding: 8px 11px; border: 1px solid #e7e5e0; border-radius: 8px; color: #374151; text-decoration: none; background: #fff; }
@media(max-width:1050px){.pos-workspace{grid-template-columns:1fr}.pos-customer{grid-template-columns:1fr}}
@media print{body.printing .sidebar,body.printing .topbar,body.printing .admin-footer,body.printing .admin-main>*{visibility:hidden}body.printing .print-target,body.printing .print-target *{visibility:visible}body.printing .print-target{display:block!important;position:absolute;inset:0;padding:24px;border:0;box-shadow:none;background:#fff}}
.report-filter { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 14px; }.report-filter select { width: 100%; padding: 12px; border: 1px solid #dedcd6; border-radius: 8px; background: #fff; font: inherit; }.report-filter .purchase-actions,.report-filter .form-message { grid-column: 1/-1; }.report-summary { display: grid; grid-template-columns: repeat(4,minmax(0,1fr)); gap: 14px; margin-top: 18px; }.report-summary .stat-card { min-height: 112px; }.report-summary .stat-card strong { font-size: 1.35rem; }
@media(max-width:1000px){.report-summary{grid-template-columns:repeat(2,minmax(0,1fr))}}@media(max-width:720px){.report-filter,.report-summary{grid-template-columns:1fr}.report-filter .purchase-actions,.report-filter .form-message{grid-column:auto}}
.dashboard-section,.dashboard-filter-card,.dashboard-master-stats{margin-top:20px}.dashboard-section>.card-heading{margin-bottom:14px}.dashboard-filter{display:grid;grid-template-columns:repeat(4,minmax(140px,1fr)) auto;align-items:end;gap:12px}.dashboard-filter label{display:grid;gap:6px;color:#6b7280;font-size:.78rem;font-weight:700}.dashboard-filter input,.dashboard-filter select{width:100%;padding:10px 11px;border:1px solid #dedcd6;border-radius:8px;background:#fff;color:#252525}.dashboard-kpi-stats{grid-template-columns:repeat(5,minmax(0,1fr))}.dashboard-kpi-stats .stat-card strong,.dashboard-quick-stats .stat-card strong{font-size:clamp(1.15rem,2vw,1.7rem)}.dashboard-table{width:100%}.dashboard-table th,.dashboard-table td{padding:11px 9px;text-align:left;border-bottom:1px solid #eceae5;white-space:nowrap}.dashboard-table th{color:#6b7280;font-size:.73rem}.dashboard-table td{font-size:.84rem}.dashboard-table td small{display:block;color:#6b7280}.transaction-dashboard-grid .content-card{min-width:0}.activity-amount{display:grid;justify-items:end;font-weight:700}.activity-amount time{display:block;font-weight:400}.form-message.is-error{color:#9b2c2c}@media(max-width:1100px){.dashboard-filter{grid-template-columns:repeat(2,minmax(0,1fr))}.dashboard-kpi-stats{grid-template-columns:repeat(3,minmax(0,1fr))}}@media(max-width:620px){.dashboard-filter,.dashboard-kpi-stats{grid-template-columns:1fr}.dashboard-filter .primary-action{width:100%}.dashboard-section>.card-heading{flex-direction:column}.activity-amount{justify-items:start}}

.sidebar-close{display:none}@media(max-width:900px){.sidebar-close{display:block;flex:none;align-self:flex-end;width:auto;padding:8px 12px;background:#344454;color:#fff}}

/* Tour3 admin design adoption: navy premium, gold accent, glass cards, and spacious dashboard. */
:root {
  --brand-navy: #0b2344;
  --brand-navy-2: #16345f;
  --brand-blue: #2563eb;
  --accent-gold: #c89a44;
  --accent-yellow: #f59e0b;
  --accent-soft: #f7efe0;
  --success: #10b981;
  --danger: #ef4444;
  --warning: #f59e0b;
  --bg-light: #f7f8fb;
  --card: #ffffff;
  --text-main: #13233b;
  --text-muted: #64748b;
  --line: #e2e8f0;
}

.admin-body {
  color: var(--text-main);
  background:
    radial-gradient(circle at top right, rgba(200,154,68,.13), transparent 32rem),
    radial-gradient(circle at 18% 0, rgba(37,99,235,.09), transparent 28rem),
    var(--bg-light);
  font-family: "Segoe UI", "Helvetica Neue", Arial, sans-serif;
}

.admin-shell {
  display: block;
  min-height: 100vh;
  background: transparent;
}

.admin-workspace {
  min-width: 0;
  min-height: 100vh;
  margin-left: 272px;
  display: flex;
  flex-direction: column;
}

.sidebar {
  position: fixed;
  inset: 0 auto 0 0;
  z-index: 30;
  width: 272px;
  gap: 18px;
  padding: 24px 14px 18px;
  overflow: hidden;
  color: #e2e8f0;
  background:
    radial-gradient(circle at top left, rgba(245,158,11,.18), transparent 18rem),
    linear-gradient(180deg, var(--brand-navy) 0%, #07182f 100%);
  border-right: 1px solid rgba(255,255,255,.08);
  box-shadow: 20px 0 60px rgba(11,35,68,.18);
}

.brand {
  flex: none;
  gap: 12px;
  padding: 0 8px 20px;
  border-bottom: 1px solid rgba(255,255,255,.1);
  letter-spacing: 0;
}

.brand-mark {
  width: 42px;
  height: 42px;
  border-radius: 16px;
  color: var(--brand-navy);
  background: linear-gradient(135deg, var(--accent-yellow), var(--accent-gold));
  box-shadow: 0 12px 28px rgba(245,158,11,.28);
}

.brand strong {
  display: block;
  color: #fff;
  font-size: 1.04rem;
  line-height: 1.15;
}

.brand small {
  display: block;
  margin-top: 3px;
  color: #93a4bb;
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.sidebar nav {
  min-height: 0;
  flex: 1;
  gap: 4px;
  overflow-y: auto;
  overscroll-behavior: contain;
  scrollbar-width: thin;
  scrollbar-color: rgba(255,255,255,.22) transparent;
}

.side-section {
  margin: 18px 10px 7px;
  color: #8ea2bd;
  font-size: .66rem;
  font-weight: 900;
  letter-spacing: .16em;
}

.nav-link,
.back-link {
  position: relative;
  padding: 11px 12px 11px 16px;
  border-radius: 14px;
  border-left: 4px solid transparent;
  color: #cbd5e1;
  font-size: .88rem;
  font-weight: 750;
  transition: color .2s ease, background .2s ease, transform .2s ease, border-color .2s ease;
}

.nav-link:hover {
  color: #fff;
  background: rgba(255,255,255,.09);
  transform: translateX(2px);
}

.nav-link.active {
  color: #fff;
  border-left-color: var(--accent-gold);
  background: rgba(255,255,255,.14);
  box-shadow: inset 0 0 0 1px rgba(255,255,255,.06);
}

.back-link {
  flex: none;
  margin-top: 0;
  padding-top: 16px;
  border-top: 1px solid rgba(255,255,255,.1);
  border-radius: 0;
  color: #aebdd0;
}

.topbar {
  position: sticky;
  top: 0;
  z-index: 20;
  min-height: 72px;
  align-items: center;
  padding: 14px 32px;
  border-bottom: 1px solid var(--line);
  background: rgba(255,255,255,.88);
  backdrop-filter: blur(18px);
  box-shadow: 0 8px 30px rgba(15,23,42,.04);
}

.topbar-left {
  display: flex;
  align-items: center;
  gap: 14px;
}

.topbar strong {
  display: block;
  color: var(--text-main);
  font-size: 1rem;
}

.topbar-label {
  color: var(--accent-gold);
  font-size: .66rem;
  font-weight: 900;
  letter-spacing: .16em;
}

.view-site-button,
.primary-action,
.text-action,
.product-pagination button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: max-content;
  min-height: 40px;
  padding: 10px 16px;
  border: 0;
  border-radius: 999px;
  color: #fff;
  background: linear-gradient(135deg, var(--brand-navy), var(--brand-navy-2));
  font-size: .86rem;
  font-weight: 850;
  text-decoration: none;
  box-shadow: 0 12px 28px rgba(11,35,68,.2);
  transition: transform .2s ease, box-shadow .2s ease, filter .2s ease;
}

.view-site-button:hover,
.primary-action:hover {
  transform: translateY(-1px);
  filter: brightness(1.05);
  box-shadow: 0 18px 36px rgba(11,35,68,.24);
}

.text-action,
.product-pagination button {
  color: var(--brand-navy);
  background: #fff;
  border: 1px solid var(--line);
  box-shadow: 0 8px 24px rgba(15,23,42,.05);
}

.menu-toggle {
  display: none;
  width: 42px;
  height: 42px;
  padding: 0;
  border: 1px solid var(--line);
  border-radius: 14px;
  color: var(--brand-navy);
  background: #fff;
  font-size: 1.2rem;
  box-shadow: 0 8px 20px rgba(15,23,42,.06);
}

.admin-main {
  flex: 1;
  width: 100%;
  max-width: 1480px;
  padding: 32px;
}

.dashboard-intro {
  position: relative;
  overflow: hidden;
  align-items: center;
  padding: clamp(24px, 4vw, 38px);
  border-radius: 32px;
  color: #fff;
  background:
    radial-gradient(circle at 85% 20%, rgba(245,158,11,.32), transparent 18rem),
    linear-gradient(135deg, var(--brand-navy) 0%, var(--brand-navy-2) 100%);
  box-shadow: 0 24px 70px rgba(11,35,68,.22);
}

.dashboard-intro::after {
  content: "";
  position: absolute;
  right: -80px;
  bottom: -100px;
  width: 260px;
  height: 260px;
  border-radius: 999px;
  background: rgba(245,158,11,.25);
  filter: blur(70px);
}

.dashboard-intro > * {
  position: relative;
  z-index: 1;
}

.dashboard-intro .eyebrow {
  color: #f8d891;
}

.dashboard-intro h1 {
  font-family: Bahnschrift, "Segoe UI Black", "Arial Black", Impact, sans-serif;
  font-size: clamp(2.25rem, 5vw, 4rem);
  letter-spacing: -.04em;
}

.dashboard-intro p:not(.eyebrow) {
  max-width: 720px;
  color: #cbd5e1;
  line-height: 1.7;
}

.eyebrow {
  color: var(--accent-gold);
  font-size: .72rem;
  font-weight: 900;
  letter-spacing: .16em;
}

.dashboard-section,
.dashboard-filter-card,
.dashboard-master-stats {
  margin-top: 24px;
}

.stat-card,
.content-card {
  border: 1px solid rgba(226,232,240,.86);
  border-radius: 28px;
  background: rgba(255,255,255,.82);
  box-shadow: 0 8px 30px rgba(15,23,42,.045);
  backdrop-filter: blur(18px);
}

.stat-card {
  position: relative;
  overflow: hidden;
  min-height: 148px;
  padding: 24px;
  border-top: 0;
  transition: transform .2s ease, box-shadow .2s ease;
}

.stat-card::before {
  content: "";
  position: absolute;
  right: -36px;
  top: -42px;
  width: 116px;
  height: 116px;
  border-radius: 999px;
  background: rgba(200,154,68,.16);
}

.stat-card:hover,
.content-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 18px 48px rgba(15,23,42,.08);
}

.stat-card span,
.stat-card small {
  color: var(--text-muted);
}

.stat-card span {
  font-size: .75rem;
  font-weight: 900;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.stat-card strong {
  position: relative;
  z-index: 1;
  color: var(--brand-navy);
  font-family: Bahnschrift, "Segoe UI Black", Arial, sans-serif;
  font-size: clamp(1.75rem, 3vw, 2.45rem);
  letter-spacing: -.03em;
}

.content-card {
  padding: 24px;
}

.content-card h2,
.card-heading h2 {
  color: var(--text-main);
  font-size: 1.25rem;
  font-weight: 900;
}

.dashboard-grid {
  gap: 20px;
  margin-top: 20px;
}

.stats {
  gap: 18px;
}

.dashboard-filter {
  gap: 14px;
}

input,
select,
textarea,
.dashboard-filter input,
.dashboard-filter select,
.purchase-form select,
.purchase-form textarea,
.pos-customer select,
.pos-cart-card select,
.pos-cart-card textarea,
.report-filter select {
  border-color: var(--line);
  border-radius: 16px;
  background: #fff;
  color: var(--text-main);
}

input:focus,
select:focus,
textarea:focus {
  outline: 3px solid rgba(200,154,68,.22);
  border-color: var(--accent-gold);
}

.status-pill {
  padding: 7px 11px;
  border-radius: 999px;
  color: #8a5c10;
  background: #fff3d5;
  font-weight: 900;
}

.status-live {
  color: #047857;
  background: #dff8ed;
}

.table-wrap {
  overflow-x: auto;
}

.dashboard-table {
  border-collapse: collapse;
}

.dashboard-table th {
  color: var(--text-muted);
  font-size: .72rem;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.dashboard-table th,
.dashboard-table td {
  padding: 13px 10px;
  border-bottom: 1px solid #edf2f7;
}

.dashboard-table tbody tr {
  transition: background .18s ease;
}

.dashboard-table tbody tr:hover {
  background: rgba(247,239,224,.42);
}

.period-grid div {
  border: 1px solid #edf2f7;
  border-radius: 20px;
  background: #f8fafc;
}

.alert-summary div {
  border-left-color: var(--accent-gold);
  border-radius: 18px;
  background: var(--accent-soft);
}

.readiness-list li {
  border-color: var(--line);
  border-radius: 18px;
  background: #fff;
}

.activity-list {
  position: relative;
  gap: 0;
  margin-left: 8px;
  padding-left: 18px;
  border-left: 2px solid #edf2f7;
}

.activity-list li {
  position: relative;
  padding: 0 0 18px 14px;
  border-bottom: 0;
}

.activity-list li::before {
  content: "";
  position: absolute;
  left: -24px;
  top: 4px;
  width: 11px;
  height: 11px;
  border: 3px solid #fff;
  border-radius: 999px;
  background: var(--accent-gold);
  box-shadow: 0 0 0 2px rgba(200,154,68,.22);
}

.empty-state,
.metric-placeholder > p {
  color: var(--text-muted);
}

.admin-footer {
  padding: 18px 32px;
  border-top: 1px solid var(--line);
  color: var(--text-muted);
  background: rgba(255,255,255,.5);
}

.sidebar-backdrop {
  position: fixed;
  inset: 0;
  z-index: 25;
  background: rgba(2,6,23,.52);
  backdrop-filter: blur(4px);
}

body.sidebar-open {
  overflow: hidden;
}

.sidebar-close {
  display: none;
}

@media (max-width: 1100px) {
  .dashboard-kpi-stats {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 900px) {
  .admin-workspace {
    margin-left: 0;
  }

  .sidebar {
    display: flex;
    width: min(86vw, 310px);
    transform: translateX(-105%);
    transition: transform .24s ease;
  }

  .sidebar.open {
    transform: translateX(0);
  }

  .sidebar-close {
    display: inline-grid;
    place-items: center;
    flex: none;
    align-self: flex-end;
    width: 42px;
    height: 42px;
    padding: 0;
    border: 1px solid rgba(255,255,255,.12);
    border-radius: 14px;
    color: #fff;
    background: rgba(255,255,255,.1);
    font-size: 1.6rem;
  }

  .menu-toggle {
    display: inline-grid;
    place-items: center;
  }

  .topbar {
    padding: 12px 16px;
  }

  .admin-main {
    padding: 24px 16px 34px;
  }

  .dashboard-intro {
    align-items: flex-start;
    flex-direction: column;
  }
}

@media (max-width: 620px) {
  .view-site-button {
    padding-inline: 12px;
    font-size: .78rem;
  }

  .dashboard-intro {
    border-radius: 26px;
  }

  .content-card,
  .stat-card {
    border-radius: 24px;
  }
}

/* Furni-style admin dashboard layer requested by user screenshot, constrained by desain.md tokens. */
.admin-body {
  --furni-sidebar: #1f2a34;
  --furni-sidebar-deep: #1b252f;
  --furni-yellow: #f6b600;
  --furni-yellow-soft: #fff4cf;
  --furni-page: #f8f8f5;
  --furni-card-line: #e8e4dc;
  --furni-ink: #24303a;
  --furni-muted: #77808a;
  background: var(--furni-page);
  color: var(--furni-ink);
}

.sidebar {
  width: 344px;
  padding: 22px 16px 20px;
  background: var(--furni-sidebar);
  color: #dce3ea;
  border-right: 1px solid rgba(255,255,255,.08);
  box-shadow: 14px 0 42px rgba(31,42,52,.14);
}

.admin-workspace {
  margin-left: 344px;
}

.brand {
  min-height: 84px;
  gap: 14px;
  padding: 0 12px 22px;
  border-bottom: 1px solid rgba(255,255,255,.08);
}

.brand-mark {
  width: 48px;
  height: 48px;
  border-radius: 16px;
  color: var(--furni-sidebar);
  background: var(--furni-yellow);
  font-size: 1.3rem;
  box-shadow: none;
}

.brand strong {
  font-size: 1rem;
  letter-spacing: .04em;
  text-transform: uppercase;
}

.brand small {
  color: #aab3bd;
  font-size: .92rem;
  font-weight: 500;
  letter-spacing: 0;
  text-transform: none;
}

.side-section {
  margin: 24px 12px 10px;
  color: #98a1ac;
  font-size: .9rem;
  letter-spacing: .18em;
}

.nav-link,
.back-link {
  min-height: 48px;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 14px;
  border-left: 0;
  border-radius: 11px;
  color: #d4dae0;
  font-size: .98rem;
  font-weight: 650;
}

.nav-link:hover {
  color: #fff;
  background: rgba(255,255,255,.07);
  transform: none;
}

.nav-link.active {
  color: #111827;
  background: var(--furni-yellow);
  border-left: 0;
  box-shadow: none;
}

.back-link {
  color: #b8c1ca;
}

.topbar {
  min-height: 90px;
  display: grid;
  grid-template-columns: minmax(220px, 1fr) minmax(300px, 540px) minmax(260px, 1fr);
  gap: 28px;
  align-items: center;
  padding: 18px 40px;
  background: rgba(255,255,255,.7);
  border-bottom: 1px solid #eceae5;
  box-shadow: none;
}

.topbar-left {
  min-width: 0;
}

.admin-breadcrumb {
  display: flex;
  align-items: center;
  gap: 14px;
  min-width: 0;
  color: #9299a3;
  font-size: .98rem;
  font-weight: 650;
  white-space: nowrap;
}

.admin-breadcrumb strong {
  color: var(--furni-ink);
  font-size: .98rem;
}

.topbar-search {
  position: relative;
  display: flex;
  align-items: center;
  gap: 12px;
  height: 50px;
  margin: 0;
  padding: 0 18px;
  border: 1px solid #dedbd4;
  border-radius: 13px;
  background: #fff;
  color: #9aa2ad;
  box-shadow: 0 4px 20px rgba(31,42,52,.03);
}

.topbar-search input {
  height: auto;
  padding: 0;
  border: 0;
  border-radius: 0;
  color: var(--furni-ink);
  background: transparent;
  font-size: .98rem;
}

.topbar-search input:focus {
  outline: 0;
}

.topbar-search span {
  font-size: 1.35rem;
  line-height: 1;
}

.topbar-actions {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 10px;
  min-width: 0;
}

.icon-button {
  position: relative;
  display: inline-grid;
  place-items: center;
  width: 50px;
  height: 50px;
  padding: 0;
  border: 1px solid #e2dfd8;
  border-radius: 13px;
  color: var(--furni-ink);
  background: #fff;
  font-size: 1.25rem;
}

.icon-button.has-dot::after {
  content: "";
  position: absolute;
  top: 12px;
  right: 13px;
  width: 8px;
  height: 8px;
  border: 2px solid #fff;
  border-radius: 999px;
  background: var(--furni-yellow);
}

.topbar-divider {
  width: 1px;
  height: 38px;
  margin-inline: 4px;
  background: #e4e1da;
}

.user-chip {
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
  color: inherit;
  text-decoration: none;
}

.user-avatar {
  display: grid;
  width: 50px;
  height: 50px;
  place-items: center;
  border: 3px solid #fff;
  border-radius: 999px;
  color: #fff;
  background:
    radial-gradient(circle at 30% 20%, rgba(255,255,255,.45), transparent 24%),
    linear-gradient(135deg, #26394d, #0f172a);
  box-shadow: 0 4px 16px rgba(31,42,52,.14);
  font-weight: 900;
}

.user-chip strong {
  color: var(--furni-ink);
  font-size: .98rem;
  line-height: 1.2;
}

.user-chip small {
  display: block;
  margin-top: 4px;
  color: #7b838c;
  font-size: .84rem;
}

.admin-main {
  max-width: none;
  padding: 36px 26px 46px 40px;
}

.dashboard-intro {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 24px;
  align-items: start;
  padding: 0;
  color: var(--furni-ink);
  background: transparent;
  box-shadow: none;
  border-radius: 0;
}

.dashboard-intro::after {
  content: none;
}

.dashboard-intro .eyebrow {
  color: #a66f00;
  font-size: 1rem;
  letter-spacing: .15em;
}

.dashboard-intro h1 {
  margin-top: 14px;
  color: var(--furni-ink);
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(2.1rem, 3vw, 2.55rem);
  letter-spacing: -.04em;
}

.dashboard-intro p:not(.eyebrow) {
  max-width: 660px;
  margin-top: 12px;
  color: #717a84;
  font-size: 1rem;
}

.period-shortcuts {
  display: flex;
  gap: 8px;
  align-items: center;
  padding: 6px;
  border-radius: 14px;
  background: #ece9e3;
}

.period-shortcuts a {
  min-height: 46px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 16px;
  border: 1px solid #e3dfd8;
  border-radius: 10px;
  color: #69717c;
  background: #fff;
  font-weight: 700;
  text-decoration: none;
  white-space: nowrap;
}

.period-shortcuts a.active {
  color: #5a4210;
  background: #fff4cf;
  border-color: #f3cf64;
  box-shadow: inset 0 0 0 1px rgba(255,255,255,.55);
}

.dashboard-filter-card {
  display: none;
}

.dashboard-section,
.dashboard-master-stats {
  margin-top: 26px;
}

.dashboard-section > .card-heading {
  display: none;
}

.dashboard-quick-stats,
.dashboard-kpi-stats,
.dashboard-master-stats,
.stats {
  gap: 16px;
}

.dashboard-quick-stats {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.dashboard-kpi-stats {
  grid-template-columns: repeat(5, minmax(0, 1fr));
}

.stat-card,
.content-card {
  border: 1px solid var(--furni-card-line);
  border-radius: 19px;
  background: rgba(255,255,255,.78);
  box-shadow: 0 8px 24px rgba(31,42,52,.035);
  backdrop-filter: none;
}

.stat-card {
  min-height: 190px;
  padding: 24px;
}

.stat-card::before {
  right: -28px;
  top: auto;
  bottom: -28px;
  width: 118px;
  height: 118px;
  background: rgba(246,182,0,.12);
}

.stat-card::after {
  content: "";
  width: 48px;
  height: 48px;
  display: block;
  order: -1;
  border-radius: 13px;
  background: #fff0bd;
}

.stat-card:nth-child(2)::after {
  background: #edf1f4;
}

.stat-card:nth-child(3)::after {
  background: #f5ede4;
}

.stat-card:nth-child(4)::after {
  background: #e8f5ed;
}

.stat-card span {
  margin-top: 18px;
  color: #7d868f;
  font-size: .95rem;
  letter-spacing: .13em;
}

.stat-card strong {
  color: var(--furni-ink);
  font-family: "Segoe UI", "Helvetica Neue", Arial, sans-serif;
  font-size: clamp(1.75rem, 2.2vw, 2rem);
  font-weight: 850;
  letter-spacing: -.04em;
}

.stat-card small {
  position: absolute;
  top: 28px;
  right: 24px;
  padding: 7px 12px;
  border-radius: 999px;
  color: #4e8767;
  background: #e4f2e9;
  font-size: .88rem;
  font-weight: 850;
}

.dashboard-kpi-stats .stat-card small,
.dashboard-master-stats .stat-card small {
  position: static;
  width: max-content;
  padding: 0;
  color: #7d868f;
  background: transparent;
  font-weight: 600;
}

.dashboard-grid {
  grid-template-columns: minmax(0, 1.4fr) minmax(360px, .7fr);
  gap: 24px;
  margin-top: 26px;
}

.transaction-dashboard-grid .content-card:first-child {
  min-height: 390px;
}

.content-card {
  padding: 26px;
}

.content-card h2,
.card-heading h2 {
  color: var(--furni-ink);
  font-size: 1.6rem;
  line-height: 1.28;
}

.card-heading {
  align-items: flex-start;
}

.content-card .eyebrow {
  color: #a66f00;
}

.dashboard-table th,
.dashboard-table td {
  padding: 14px 10px;
  border-bottom-color: #ece9e3;
}

.dashboard-table tbody tr:hover {
  background: #fff8df;
}

.activities {
  grid-column: 1 / -1;
}

.activity-list {
  border-left-color: #ebe7df;
}

.activity-list li::before {
  background: var(--furni-yellow);
  box-shadow: 0 0 0 2px rgba(246,182,0,.22);
}

.period-grid div,
.readiness-list li {
  border-color: #ece9e3;
  border-radius: 15px;
  background: #fbfaf7;
}

.status-pill,
.status-live {
  color: #5a4210;
  background: #fff4cf;
}

.menu-toggle {
  color: var(--furni-ink);
  border-color: #e2dfd8;
  border-radius: 13px;
  background: #fff;
}

@media (max-width: 1280px) {
  .topbar {
    grid-template-columns: auto minmax(240px, 1fr) auto;
    gap: 16px;
    padding-inline: 24px;
  }

  .sidebar {
    width: 300px;
  }

  .admin-workspace {
    margin-left: 300px;
  }

  .dashboard-quick-stats,
  .dashboard-kpi-stats {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .dashboard-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 900px) {
  .sidebar {
    width: min(88vw, 320px);
  }

  .admin-workspace {
    margin-left: 0;
  }

  .topbar {
    grid-template-columns: auto 1fr;
    min-height: auto;
    padding: 14px 16px;
  }

  .topbar-search {
    grid-column: 1 / -1;
    order: 3;
  }

  .topbar-actions {
    gap: 8px;
  }

  .icon-button,
  .user-chip span:not(.user-avatar) {
    display: none;
  }

  .topbar-divider {
    display: none;
  }

  .dashboard-intro {
    grid-template-columns: 1fr;
  }

  .period-shortcuts {
    overflow-x: auto;
    justify-content: flex-start;
  }

  .admin-main {
    padding: 24px 16px 38px;
  }
}

@media (max-width: 620px) {
  .dashboard-quick-stats,
  .dashboard-kpi-stats,
  .dashboard-master-stats,
  .stats {
    grid-template-columns: 1fr;
  }

  .admin-breadcrumb span:first-child,
  .admin-breadcrumb span:nth-child(2) {
    display: none;
  }

  .dashboard-intro h1 {
    font-size: 2rem;
  }

  .stat-card {
    min-height: 168px;
  }
}

/* Dashboard density fix: keep requested visual style but reduce oversized dimensions. */
.admin-body { font-size: 14px; }
.sidebar { width: 280px; padding: 18px 12px 16px; }
.admin-workspace { margin-left: 280px; }
.brand { min-height: 68px; gap: 11px; padding: 0 10px 16px; }
.brand-mark { width: 40px; height: 40px; border-radius: 13px; font-size: 1.08rem; }
.brand strong { font-size: .92rem; }
.brand small { font-size: .8rem; }
.side-section { margin: 18px 10px 7px; font-size: .78rem; }
.nav-link, .back-link { min-height: 40px; padding: 9px 12px; font-size: .9rem; border-radius: 10px; }
.topbar { min-height: 70px; grid-template-columns: minmax(190px, 1fr) minmax(260px, 460px) minmax(220px, 1fr); gap: 18px; padding: 12px 26px; }
.admin-breadcrumb { gap: 10px; font-size: .9rem; }
.admin-breadcrumb strong { font-size: .9rem; }
.topbar-search { height: 42px; gap: 9px; padding: 0 14px; border-radius: 11px; }
.topbar-search input { font-size: .9rem; }
.topbar-search span { font-size: 1.15rem; }
.icon-button { width: 42px; height: 42px; border-radius: 11px; font-size: 1.05rem; }
.icon-button.has-dot::after { top: 10px; right: 11px; width: 7px; height: 7px; }
.topbar-divider { height: 30px; }
.user-chip { gap: 9px; }
.user-avatar { width: 42px; height: 42px; }
.user-chip strong { font-size: .9rem; }
.user-chip small { font-size: .76rem; }
.admin-main { padding: 28px 22px 38px 28px; }
.dashboard-intro { gap: 18px; }
.dashboard-intro .eyebrow { font-size: .82rem; }
.dashboard-intro h1 { margin-top: 10px; font-size: clamp(1.65rem, 2.3vw, 2.05rem); }
.dashboard-intro p:not(.eyebrow) { margin-top: 8px; font-size: .9rem; }
.period-shortcuts { gap: 6px; padding: 5px; border-radius: 12px; }
.period-shortcuts a { min-height: 38px; padding: 0 12px; border-radius: 9px; font-size: .88rem; }
.dashboard-section, .dashboard-master-stats { margin-top: 18px; }
.dashboard-quick-stats, .dashboard-kpi-stats, .dashboard-master-stats, .stats { gap: 12px; }
.stat-card, .content-card { border-radius: 16px; }
.stat-card { min-height: 136px; padding: 18px; }
.stat-card::before { right: -34px; bottom: -36px; width: 96px; height: 96px; }
.stat-card::after { width: 38px; height: 38px; border-radius: 11px; }
.stat-card span { margin-top: 12px; font-size: .78rem; letter-spacing: .12em; }
.stat-card strong { font-size: clamp(1.3rem, 1.7vw, 1.55rem); }
.stat-card small { top: 18px; right: 18px; padding: 5px 9px; font-size: .74rem; }
.dashboard-kpi-stats .stat-card small, .dashboard-master-stats .stat-card small { font-size: .76rem; }
.dashboard-grid { gap: 18px; margin-top: 18px; }
.transaction-dashboard-grid .content-card:first-child { min-height: 310px; }
.content-card { padding: 20px; }
.content-card h2, .card-heading h2 { font-size: 1.24rem; }
.dashboard-table th, .dashboard-table td { padding: 10px 8px; }
.period-grid { margin: 16px 0; }
.period-grid div { padding: 10px; border-radius: 12px; }
.period-grid strong { font-size: 1.15rem; }
.activity-list { margin-top: 14px; }
.activity-list li { padding-bottom: 12px; font-size: .84rem; }
@media (max-width: 1280px) { .topbar { grid-template-columns: auto minmax(220px, 1fr) auto; gap: 12px; padding-inline: 18px; } .sidebar { width: 260px; } .admin-workspace { margin-left: 260px; } }
@media (max-width: 900px) { .sidebar { width: min(88vw, 300px); } .admin-workspace { margin-left: 0; } .topbar { grid-template-columns: auto 1fr; padding: 12px 14px; } .admin-main { padding: 20px 14px 34px; } }
@media (max-width: 620px) { .stat-card { min-height: 130px; } .dashboard-intro h1 { font-size: 1.65rem; } }

/* Sidebar icon menu polish inspired by user reference. */
.sidebar nav { gap: 3px; }
.nav-link, .back-link { position: relative; display: grid; grid-template-columns: 26px minmax(0, 1fr) auto; align-items: center; column-gap: 10px; }
.nav-icon { display: inline-grid; place-items: center; width: 26px; height: 26px; color: currentColor; }
.nav-icon svg { width: 19px; height: 19px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.nav-icon svg path:first-child:last-child { fill: none; }
.nav-text { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.nav-badge { display: inline-grid; min-width: 24px; height: 24px; place-items: center; padding: 0 7px; border-radius: 999px; color: #111827; background: var(--furni-yellow); font-size: .72rem; font-weight: 900; }
.nav-link.active { color: #111827; background: var(--furni-yellow); }
.nav-link.active::before { content: ""; position: absolute; left: -12px; top: 10px; bottom: 10px; width: 4px; border-radius: 0 999px 999px 0; background: var(--furni-yellow); }
.nav-link:not(.active):hover { color: #f8fafc; background: #303b46; }
.nav-link:not(.active):hover .nav-icon { color: #eef4fb; }
.back-link { grid-template-columns: 26px minmax(0, 1fr); }
@media (max-width: 900px) { .nav-link.active::before { left: -12px; } }

/* Active sidebar state and scroll-stable navigation. */
.sidebar nav { scroll-behavior: auto; }
.nav-link[aria-current="page"] { font-weight: 850; }
.nav-link[aria-current="page"] .nav-icon svg { stroke-width: 2.2; }
.nav-link.active .nav-badge { background: #111827; color: #fff; }

/* Furni reference adoption: floating search, notification, profile, toast, and tighter warm dashboard tokens. */
.admin-body { font-family: "DM Sans", "Segoe UI", system-ui, sans-serif; background: #f7f7f4; color: #252525; }
button:focus-visible, input:focus-visible, a:focus-visible { outline: 3px solid rgba(244,180,0,.5); outline-offset: 3px; }
.sidebar { width: 272px; background: #1f2933; }
.admin-workspace { margin-left: 272px; }
.topbar { min-height: 72px; background: rgba(247,247,244,.94); backdrop-filter: blur(15px); border-bottom-color: #e7e5e0; }
.admin-main { padding: 30px 32px 42px; }
.brand-mark { box-shadow: 0 7px 20px rgba(244,180,0,.18); }
.nav-link, .back-link { width: calc(100% - 24px); margin: 2px 12px; min-height: 38px; padding: 9px 12px; border-radius: 9px; font-size: 13px; }
.side-section { color: #9aa2aa; font-size: 10px; font-weight: 800; letter-spacing: .14em; margin: 20px 20px 7px; }
.topbar-search input:focus { border-color: #f4b400; box-shadow: 0 0 0 3px rgba(244,180,0,.12); outline: 0; }
.icon-button:hover { border-color: #d4b550; transform: translateY(-1px); }
.user-chip { border: 0; background: transparent; cursor: pointer; }
.floating-panel { position: fixed; z-index: 70; background: #fff; border: 1px solid #e7e5e0; box-shadow: 0 18px 50px rgba(31,41,51,.18); opacity: 0; pointer-events: none; transform: translateY(-8px); transition: .2s ease; }
.floating-panel.show { opacity: 1; pointer-events: auto; transform: translateY(0); }
.search-panel { top: 64px; left: max(300px, calc(50% - 250px)); width: min(500px, calc(100% - 32px)); border-radius: 14px; }
.notification-panel { right: 28px; top: 64px; width: min(360px, calc(100% - 24px)); border-radius: 14px; }
.profile-menu { right: 28px; top: 64px; width: 205px; border-radius: 12px; padding: 7px; }
.floating-panel-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 12px; padding: 14px 16px; border-bottom: 1px solid #eeece7; }
.floating-panel-head strong { display: block; color: #303941; font-size: 14px; }
.floating-panel-head small { display: block; margin-top: 3px; color: #8a9198; font-size: 11px; }
.floating-panel-head button { width: 28px; height: 28px; padding: 0; border-radius: 8px; background: #fff; color: #6b7280; }
.floating-panel-list { padding: 8px; }
.floating-panel-list a, .profile-menu a { display: flex; align-items: center; gap: 12px; width: 100%; padding: 11px; border-radius: 10px; color: #354049; text-decoration: none; font-size: 12px; }
.floating-panel-list a:hover, .profile-menu a:hover { background: #faf9f6; }
.floating-panel-list small { display: block; margin-top: 3px; color: #7e878e; line-height: 1.35; }
.panel-icon { display: grid; place-items: center; flex: none; width: 32px; height: 32px; border-radius: 9px; background: #fff4cc; color: #997309; font-weight: 900; }
.panel-icon.is-danger { background: #fcedea; color: #b6534c; }
.panel-icon.is-warning { background: #fff4cc; color: #997309; }
.panel-icon.is-success { background: #edf6ef; color: #4d7c61; }
.toast { position: fixed; right: 26px; bottom: 26px; z-index: 100; display: flex; align-items: center; gap: 10px; padding: 12px 14px; border-radius: 10px; background: #1f2933; color: #fff; box-shadow: 0 12px 30px rgba(31,41,51,.25); font-size: 13px; transform: translateY(95px); opacity: 0; transition: .3s ease; }
.toast.show { transform: translateY(0); opacity: 1; }
.toast .panel-icon { width: 24px; height: 24px; border-radius: 999px; }
.toast button { display: grid; place-items: center; width: 24px; height: 24px; padding: 0; border: 0; border-radius: 999px; color: #fff; background: rgba(255,255,255,.12); }
.stat-card, .content-card { box-shadow: 0 2px 12px rgba(31,41,51,.025); }
.stat-card:hover, .content-card:hover { box-shadow: 0 10px 24px rgba(31,41,51,.07); }
@media (max-width: 1280px) { .sidebar { width: 260px; } .admin-workspace { margin-left: 260px; } .search-panel { left: 280px; } }
@media (max-width: 900px) { .sidebar { width: min(88vw, 300px); } .admin-workspace { margin-left: 0; } .search-panel, .notification-panel, .profile-menu { top: 56px; right: 12px; left: 12px; width: auto; } }

/* Dashboard page match for full Furni screenshot. */
.transaction-dashboard-grid, .dashboard-master-stats, .dashboard-master-stats + .dashboard-grid { display: none; }
.furni-analytics-grid { display: grid; grid-template-columns: minmax(0, 2fr) minmax(320px, .95fr); gap: 18px; margin-top: 18px; }
.furni-products-grid { display: grid; grid-template-columns: minmax(0, 2fr) minmax(320px, .95fr); gap: 18px; margin-top: 18px; }
.furni-chart-card { min-height: 360px; }
.furni-chart-card .card-heading, .channel-card .card-heading, .popular-products .card-heading, .online-stock .card-heading, .stock-alert .card-heading, .slow-moving .card-heading, .business-flow .card-heading { align-items: flex-start; }
.furni-chart-card .card-heading p, .channel-card .card-heading p, .popular-products .card-heading p, .online-stock .card-heading p, .stock-alert .card-heading p, .slow-moving .card-heading p, .business-flow .card-heading p { margin: 4px 0 0; color: #858c93; font-size: 13px; }
.chart-tabs { display: flex; gap: 6px; padding: 5px; border-radius: 10px; background: #f3f1ec; }
.chart-tabs span { padding: 8px 12px; border: 1px solid #e4e1db; border-radius: 8px; background: #fff; color: #6b7280; font-size: 12px; font-weight: 700; }
.chart-tabs .active { background: #fff5cf; border-color: #e9c960; color: #4b3a07; }
.chart-legend { display: flex; gap: 10px; align-items: center; margin: 18px 0 8px; color: #69717c; font-size: 13px; }
.dot { display: inline-block; width: 8px; height: 8px; border-radius: 999px; margin-right: 6px; }
.dot.gold { background: #f4b400; }.dot.muted { background: #aeb5bd; }.dot.dark { background: #34414b; }
.sales-visual { width: 100%; height: 250px; display: block; }
.chart-lines path { stroke: #eae8e3; stroke-width: 1; }
.target-line { fill: none; stroke: #b7bec7; stroke-width: 2; stroke-dasharray: 5 7; }
.sales-area { fill: url(#salesArea); }
.sales-line { fill: none; stroke: #f4b400; stroke-width: 4; stroke-linecap: round; stroke-linejoin: round; }
.sales-point { fill: #fff; stroke: #f4b400; stroke-width: 4; }
.chart-days text { fill: #899099; font-size: 11px; text-anchor: middle; }
.channel-card { min-height: 360px; }.more-dot { color: #9aa2aa; font-weight: 900; letter-spacing: .1em; }
.donut-wrap { display: grid; place-items: center; margin: 20px 0 18px; }
.donut { width: 174px; height: 174px; display: grid; place-items: center; border-radius: 999px; background: conic-gradient(#f4b400 0 67%, #34414b 67% 82%, #e8e4dc 82% 100%); position: relative; }
.donut::after { content: ""; position: absolute; inset: 28px; border-radius: inherit; background: #fff; }
.donut span { position: relative; z-index: 1; color: #899099; text-align: center; font-weight: 800; letter-spacing: .08em; }
.donut strong { display: block; margin-top: 5px; color: #263039; letter-spacing: 0; }
.channel-row { display: flex; justify-content: space-between; gap: 12px; margin-top: 12px; font-size: 13px; }.channel-row strong { white-space: nowrap; }
.channel-bar { height: 7px; margin-top: 8px; border-radius: 999px; background: #efede8; overflow: hidden; }.channel-bar span { display: block; height: 100%; border-radius: inherit; }.channel-bar.gold span { background: #f4b400; }.channel-bar.dark span { background: #34414b; }
.furni-table { min-width: 680px; }.furni-table th { color: #8a9198; font-size: 10px; text-transform: uppercase; letter-spacing: .08em; }.furni-table td { padding: 13px 16px; border-top: 1px solid #f0efeb; font-size: 12px; }.furni-table small { display: block; color: #899099; margin-top: 3px; }.stock-pill { display: inline-flex; padding: 5px 8px; border-radius: 999px; background: #edf6ef; color: #4d7c61; font-weight: 800; font-size: 11px; white-space: nowrap; }
.online-stock-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 10px; margin: 20px 0; }.online-stock-grid div { padding: 13px; border-radius: 12px; background: #f7f5f0; }.online-stock-grid div:nth-child(2){background:#fff5cf}.online-stock-grid div:nth-child(3){background:#fcedea}.online-stock-grid span { display:block; color:#8a9198; font-size:11px; font-weight:800; text-transform:uppercase; }.online-stock-grid strong { display:block; margin-top:6px; font-size:16px; }
.mini-list { display: grid; gap: 10px; margin-top: 18px; }.mini-list > div { display:flex; align-items:center; justify-content:space-between; gap:14px; padding:13px; border:1px solid #f1efea; border-radius:12px; background:#fcfbf8; }.mini-list strong { display:block; color:#3b454d; }.mini-list small { display:block; color:#899099; margin-top:3px; }.wide-action { display:flex; justify-content:center; margin-top:18px; padding:12px; border:1px solid #d7d3ca; border-radius:9px; color:#34404a; text-decoration:none; font-weight:800; }.wide-action.dark { color:#fff; background:#1f2933; border-color:#1f2933; }
.business-flow { margin-top: 18px; }.flow-grid { display:grid; grid-template-columns: repeat(7,minmax(0,1fr)); gap:10px; margin-top:18px; }.flow-grid div { padding:14px; border-radius:12px; background:#f6f5f2; }.flow-grid div.active { background:#fff7d9; }.flow-grid div.success { background:#eaf4ec; }.flow-grid span { display:block; margin-bottom:10px; color:#9a7415; }.flow-grid strong { display:block; color:#3b454d; }.flow-grid small { display:block; margin-top:6px; color:#868d94; }
.status { display:inline-flex; align-items:center; gap:5px; padding:4px 8px; border-radius:999px; font-size:10px; font-weight:800; white-space:nowrap; }.status::before { content:""; width:5px; height:5px; border-radius:50%; background:currentColor; }.status-success{background:#edf6ef;color:#4d7c61}.status-warning{background:#fff5e2;color:#b7791f}.status-danger{background:#fcedea;color:#b6534c}
@media(max-width:1100px){.furni-analytics-grid,.furni-products-grid{grid-template-columns:1fr}.flow-grid{grid-template-columns:repeat(3,minmax(0,1fr))}}
@media(max-width:620px){.online-stock-grid{grid-template-columns:1fr}.flow-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.furni-chart-card{min-height:auto}.sales-visual{height:200px}}

/* Dashboard card and typography upgrade after visual review. */
.admin-body {
  font-family: "DM Sans", "Plus Jakarta Sans", "Segoe UI", system-ui, sans-serif;
  font-feature-settings: "liga" 1, "kern" 1;
  -webkit-font-smoothing: antialiased;
  text-rendering: geometricPrecision;
}
.dashboard-intro h1,
.content-card h2,
.card-heading h2 {
  font-family: "Fraunces", Georgia, "Times New Roman", serif;
  letter-spacing: -.035em;
}
.topbar { background: rgba(247,247,244,.82); }
.dashboard-intro h1 { font-size: clamp(2rem, 3.1vw, 3rem); line-height: 1.02; color: #172433; }
.dashboard-intro .eyebrow { color: #a66f00; font-weight: 900; letter-spacing: .18em; }
.dashboard-intro p:not(.eyebrow) { color: #68727c; font-size: 1rem; }
.dashboard-quick-stats,
.dashboard-kpi-stats {
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
}
.dashboard-kpi-stats .stat-card:nth-child(n+5) { display: none; }
.stat-card {
  min-height: 152px;
  padding: 22px;
  isolation: isolate;
  border: 1px solid rgba(231,229,224,.95);
  background:
    radial-gradient(circle at 97% 98%, rgba(244,180,0,.16), transparent 4.6rem),
    linear-gradient(180deg, rgba(255,255,255,.96), rgba(255,255,255,.88));
  box-shadow:
    0 18px 38px rgba(31,41,51,.045),
    inset 0 1px 0 rgba(255,255,255,.9);
}
.stat-card:hover {
  transform: translateY(-3px);
  box-shadow:
    0 24px 54px rgba(31,41,51,.08),
    inset 0 1px 0 rgba(255,255,255,.95);
}
.stat-card::before {
  width: 105px;
  height: 105px;
  right: -30px;
  bottom: -42px;
  background: rgba(244,180,0,.13);
  z-index: -1;
}
.stat-card:nth-child(2)::before { background: rgba(95,111,126,.10); }
.stat-card:nth-child(3)::before { background: rgba(183,121,31,.10); }
.stat-card:nth-child(4)::before { background: rgba(77,124,97,.12); }
.stat-card::after {
  width: 42px;
  height: 42px;
  border-radius: 13px;
  box-shadow: inset 0 1px 0 rgba(255,255,255,.7), 0 10px 22px rgba(31,41,51,.06);
}
.stat-card span {
  margin-top: 16px;
  color: #7d8791;
  font-size: .8rem;
  font-weight: 900;
  letter-spacing: .15em;
}
.stat-card strong {
  margin-top: 2px;
  color: #182636;
  font-family: "Fraunces", Georgia, "Times New Roman", serif;
  font-size: clamp(1.75rem, 2.25vw, 2.25rem);
  line-height: 1.02;
  letter-spacing: -.045em;
}
.stat-card small {
  top: 22px;
  right: 22px;
  padding: 6px 11px;
  color: #4d7c61;
  background: #e7f4ec;
  font-size: .78rem;
  font-weight: 900;
  box-shadow: inset 0 1px 0 rgba(255,255,255,.75);
}
.dashboard-kpi-stats .stat-card small,
.dashboard-master-stats .stat-card small {
  top: auto;
  right: auto;
  position: absolute;
  padding: 6px 11px;
  color: #4d7c61;
  background: #e7f4ec;
  font-size: .78rem;
}
.content-card {
  border: 1px solid rgba(231,229,224,.96);
  border-radius: 18px;
  background: linear-gradient(180deg, rgba(255,255,255,.97), rgba(255,255,255,.92));
  box-shadow:
    0 18px 38px rgba(31,41,51,.045),
    inset 0 1px 0 rgba(255,255,255,.9);
}
.content-card:hover { transform: none; box-shadow: 0 22px 46px rgba(31,41,51,.07), inset 0 1px 0 rgba(255,255,255,.95); }
.card-heading h2,
.content-card h2 { font-size: clamp(1.35rem, 1.7vw, 1.85rem); line-height: 1.08; color: #1c2a38; }
.furni-chart-card,
.channel-card,
.popular-products,
.online-stock,
.stock-alert,
.slow-moving,
.business-flow { padding: 24px; }
.furni-chart-card .card-heading p,
.channel-card .card-heading p,
.popular-products .card-heading p,
.online-stock .card-heading p,
.stock-alert .card-heading p,
.slow-moving .card-heading p,
.business-flow .card-heading p { color:#7d8791; font-size: .92rem; }
.chart-tabs { background: #f0ede7; box-shadow: inset 0 1px 2px rgba(31,41,51,.04); }
.chart-tabs span { border-radius: 10px; font-weight: 800; }
.chart-tabs .active { box-shadow: 0 5px 14px rgba(244,180,0,.16), inset 0 1px 0 rgba(255,255,255,.85); }
.donut { box-shadow: 0 16px 28px rgba(31,41,51,.04); }
.furni-table th { color:#9aa2aa; font-size:.72rem; letter-spacing:.12em; }
.furni-table td { color:#4b535b; }
.stock-pill,
.status { box-shadow: inset 0 1px 0 rgba(255,255,255,.7); }
.mini-list > div,
.flow-grid div,
.online-stock-grid div { box-shadow: inset 0 1px 0 rgba(255,255,255,.7); }
.wide-action { transition: .2s ease; }
.wide-action:hover { transform: translateY(-1px); border-color:#c5a33a; background:#fff9e7; }
.wide-action.dark:hover { background:#34414b; }
.user-chip { background:#1f4fc1; color:#fff; border-radius:12px; padding:8px 14px 8px 10px; min-height:54px; }
.user-chip strong { color:#fff; }
.user-chip small { color:rgba(255,255,255,.72); }
.user-avatar { border-color:#fff; background:linear-gradient(135deg,#314052,#111827); }
@media(max-width:1280px){.dashboard-quick-stats,.dashboard-kpi-stats{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:620px){.dashboard-quick-stats,.dashboard-kpi-stats{grid-template-columns:1fr}.stat-card{min-height:140px}.stat-card strong{font-size:1.7rem}}

/* Typography correction: use modern sans, remove classical/latin serif feel. */
.admin-body,
.dashboard-intro h1,
.content-card h2,
.card-heading h2,
.stat-card strong {
  font-family: "DM Sans", "Plus Jakarta Sans", "Segoe UI", system-ui, -apple-system, BlinkMacSystemFont, sans-serif;
}
.dashboard-intro h1 {
  font-size: clamp(2rem, 3vw, 2.65rem);
  line-height: 1.08;
  font-weight: 800;
  letter-spacing: -.045em;
}
.content-card h2,
.card-heading h2 {
  font-weight: 800;
  letter-spacing: -.035em;
}
.stat-card strong {
  font-weight: 850;
  letter-spacing: -.04em;
}

/* Recommendation 1: calmer dashboard hierarchy and spacing. */
.admin-main {
  max-width: 1440px;
  margin: 0 auto;
  padding-top: 26px;
}
.dashboard-intro {
  align-items: center;
  grid-template-columns: minmax(0, 1fr) auto;
  margin-bottom: 18px;
  padding: 4px 0 10px;
  border-bottom: 1px solid rgba(231,229,224,.72);
}
.dashboard-intro .eyebrow {
  margin-bottom: 8px;
  font-size: .78rem;
  letter-spacing: .18em;
}
.dashboard-intro h1 {
  max-width: 780px;
  margin: 0;
  font-size: clamp(1.8rem, 2.35vw, 2.35rem);
  line-height: 1.08;
}
.dashboard-intro p:not(.eyebrow) {
  margin: 8px 0 0;
  max-width: 620px;
  font-size: .94rem;
}
.period-shortcuts {
  align-self: center;
  flex: none;
}
.dashboard-section,
.dashboard-master-stats,
.furni-analytics-grid,
.furni-products-grid,
.business-flow {
  margin-top: 18px;
}
.dashboard-section:first-of-type {
  margin-top: 20px;
}
.dashboard-quick-stats,
.dashboard-kpi-stats {
  align-items: stretch;
}
.furni-analytics-grid {
  align-items: stretch;
}
@media (max-width: 900px) {
  .admin-main { padding-top: 20px; }
  .dashboard-intro {
    grid-template-columns: 1fr;
    align-items: start;
    gap: 14px;
  }
  .period-shortcuts { max-width: 100%; overflow-x: auto; }
}
@media (max-width: 620px) {
  .dashboard-intro h1 { font-size: 1.7rem; }
  .dashboard-intro { margin-bottom: 14px; }
}

/* Recommendation 2: premium KPI card system. */
.dashboard-quick-stats .stat-card,
.dashboard-kpi-stats .stat-card {
  display: grid;
  grid-template-rows: auto 1fr auto auto;
  gap: 0;
  min-height: 166px;
  padding: 22px 24px 20px;
  border-radius: 20px;
  overflow: hidden;
  background:
    radial-gradient(circle at 102% 105%, rgba(244,180,0,.18), transparent 5.2rem),
    linear-gradient(145deg, rgba(255,255,255,.98), rgba(255,255,255,.9));
  border: 1px solid rgba(223,220,212,.95);
  box-shadow:
    0 16px 40px rgba(31,41,51,.055),
    0 1px 0 rgba(255,255,255,.86) inset;
}
.dashboard-quick-stats .stat-card::after,
.dashboard-kpi-stats .stat-card::after {
  content: "?";
  order: -2;
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  border-radius: 13px;
  color: #9a7415;
  background: #fff0bd;
  font-family: "DM Sans", "Segoe UI", sans-serif;
  font-size: 1.05rem;
  font-weight: 900;
  box-shadow: 0 10px 22px rgba(154,116,21,.11), inset 0 1px 0 rgba(255,255,255,.8);
}
.dashboard-quick-stats .stat-card:nth-child(2)::after,
.dashboard-kpi-stats .stat-card:nth-child(2)::after { content: "#"; color:#53616b; background:#edf1f4; }
.dashboard-quick-stats .stat-card:nth-child(3)::after,
.dashboard-kpi-stats .stat-card:nth-child(3)::after { content: "?"; color:#9a6b32; background:#f5ede4; }
.dashboard-quick-stats .stat-card:nth-child(4)::after,
.dashboard-kpi-stats .stat-card:nth-child(4)::after { content: "?"; color:#4d7c61; background:#e8f5ed; }
.dashboard-quick-stats .stat-card span,
.dashboard-kpi-stats .stat-card span {
  margin-top: 30px;
  color: #7b8490;
  font-size: .78rem;
  font-weight: 900;
  letter-spacing: .16em;
  text-transform: uppercase;
}
.dashboard-quick-stats .stat-card strong,
.dashboard-kpi-stats .stat-card strong {
  margin-top: 8px;
  max-width: 100%;
  overflow-wrap: anywhere;
  color: #172433;
  font-size: clamp(1.55rem, 2vw, 2.1rem);
  font-weight: 900;
  line-height: 1.05;
}
.dashboard-quick-stats .stat-card small,
.dashboard-kpi-stats .stat-card small {
  position: absolute;
  top: 24px;
  right: 22px;
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  padding: 0 12px;
  border-radius: 999px;
  color: #4d7c61;
  background: #e5f3eb;
  font-size: .78rem;
  font-weight: 900;
  white-space: nowrap;
}
.dashboard-quick-stats .stat-card small::before,
.dashboard-kpi-stats .stat-card small::before {
  content: "•";
  margin-right: 5px;
  font-size: 1rem;
  line-height: 0;
}
.dashboard-quick-stats .stat-card:hover,
.dashboard-kpi-stats .stat-card:hover {
  transform: translateY(-4px);
  box-shadow:
    0 24px 58px rgba(31,41,51,.09),
    0 1px 0 rgba(255,255,255,.9) inset;
}
@media(max-width:620px){
  .dashboard-quick-stats .stat-card,
  .dashboard-kpi-stats .stat-card { min-height: 148px; padding: 18px; }
  .dashboard-quick-stats .stat-card span,
  .dashboard-kpi-stats .stat-card span { margin-top: 22px; }
  .dashboard-quick-stats .stat-card small,
  .dashboard-kpi-stats .stat-card small { top: 18px; right: 18px; }
}

/* Recommendation 3: consistent modern sans typography scale. */
:root {
  --font-ui: "DM Sans", "Plus Jakarta Sans", "Inter", "Segoe UI", system-ui, -apple-system, BlinkMacSystemFont, sans-serif;
}
.admin-body,
button,
input,
select,
textarea,
.nav-link,
.back-link,
.topbar,
.content-card,
.stat-card,
table {
  font-family: var(--font-ui);
}
.dashboard-intro h1,
.content-card h2,
.card-heading h2,
.stat-card strong,
.donut strong,
.flow-grid strong,
.mini-list strong,
.furni-table strong {
  font-family: var(--font-ui);
  font-weight: 800;
  letter-spacing: -.035em;
}
.dashboard-intro h1 { font-weight: 800; }
.stat-card strong { font-weight: 900; }
.content-card h2,
.card-heading h2 { font-weight: 800; }
.admin-breadcrumb,
.topbar-search input,
.user-chip,
.period-shortcuts a,
.chart-tabs span,
.side-section,
.nav-text,
.furni-table th,
.dashboard-table th,
.stat-card span,
.eyebrow {
  font-family: var(--font-ui);
}
.eyebrow,
.side-section,
.stat-card span,
.furni-table th,
.dashboard-table th {
  font-weight: 800;
  letter-spacing: .13em;
}
body,
.content-card p,
.dashboard-intro p,
.floating-panel,
.furni-table td,
.dashboard-table td,
.mini-list small,
.flow-grid small {
  font-weight: 400;
}
.nav-link,
.period-shortcuts a,
.chart-tabs span,
.primary-action,
.wide-action,
.status,
.stock-pill {
  font-weight: 700;
}
.user-chip strong,
.brand strong,
.channel-row strong,
.online-stock-grid strong {
  font-weight: 800;
}
.dashboard-intro p:not(.eyebrow),
.furni-chart-card .card-heading p,
.channel-card .card-heading p,
.popular-products .card-heading p,
.online-stock .card-heading p,
.stock-alert .card-heading p,
.slow-moving .card-heading p,
.business-flow .card-heading p {
  line-height: 1.55;
}
.furni-table td,
.dashboard-table td { line-height: 1.45; }
.stat-card small,
.nav-badge,
.status,
.stock-pill { letter-spacing: .01em; }

/* Recommendation 4: more polished chart visuals. */
.furni-chart-card,
.channel-card {
  position: relative;
  overflow: hidden;
}
.furni-chart-card::before,
.channel-card::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: radial-gradient(circle at 18% 0%, rgba(244,180,0,.08), transparent 18rem);
}
.furni-chart-card > *,
.channel-card > * { position: relative; z-index: 1; }
.sales-visual {
  margin-top: 6px;
  filter: drop-shadow(0 10px 18px rgba(244,180,0,.08));
}
.chart-lines path {
  stroke: #eceae5;
  stroke-width: 1;
  shape-rendering: crispEdges;
}
.target-line {
  stroke: #aeb6bf;
  stroke-width: 2.2;
  stroke-dasharray: 6 8;
  opacity: .88;
}
.sales-area { opacity: .95; }
.sales-line {
  stroke-width: 4.5;
  filter: drop-shadow(0 6px 7px rgba(244,180,0,.18));
}
.sales-point {
  r: 7px;
  stroke-width: 4;
  filter: drop-shadow(0 4px 8px rgba(31,41,51,.16));
}
.chart-days text {
  fill: #8f979f;
  font-family: var(--font-ui);
  font-size: 11px;
  font-weight: 600;
}
.chart-legend {
  padding: 2px 0 4px;
  color: #69717c;
  font-weight: 500;
}
.chart-legend .dot,
.channel-row .dot {
  box-shadow: 0 0 0 3px rgba(244,180,0,.08);
}
.channel-card { min-height: 360px; }
.donut-wrap { margin: 18px 0 20px; }
.donut {
  width: 168px;
  height: 168px;
  background: conic-gradient(#f4b400 0 68%, #34414b 68% 84%, #e8e4dc 84% 100%);
  box-shadow:
    0 18px 40px rgba(31,41,51,.07),
    inset 0 1px 0 rgba(255,255,255,.8);
}
.donut::after { inset: 30px; box-shadow: inset 0 1px 0 rgba(31,41,51,.04); }
.donut span { color: #8d95a0; font-size: .78rem; }
.donut strong { color: #24303a; font-size: 1rem; }
.channel-row {
  align-items: center;
  color: #3b454d;
  font-size: .92rem;
}
.channel-row strong { color: #34404a; }
.channel-bar {
  height: 7px;
  background: #eeece7;
  box-shadow: inset 0 1px 2px rgba(31,41,51,.06);
}
.channel-bar span {
  box-shadow: 0 4px 10px rgba(244,180,0,.16);
}
.channel-bar.dark span { box-shadow: 0 4px 10px rgba(52,65,75,.16); }
.chart-tabs span { cursor: default; }
.more-dot { padding: 2px 4px; border-radius: 8px; }
.more-dot:hover { background: #f6f5f2; }

/* Recommendation 5: single primary KPI set, remove duplicated quick summary. */
.dashboard-quick-section { display: none; }
.dashboard-kpi-stats { grid-template-columns: repeat(4, minmax(0, 1fr)); margin-top: 0; }
.dashboard-kpi-stats .stat-card:nth-child(n+5) { display: none !important; }
.dashboard-kpi-stats .stat-card span { margin-top: 30px; }
@media(max-width:1280px){ .dashboard-kpi-stats { grid-template-columns: repeat(2, minmax(0,1fr)); } }
@media(max-width:620px){ .dashboard-kpi-stats { grid-template-columns: 1fr; } }

/* Products page: align resource UI with Furni dashboard style. */
.products-page .products-hero { margin-bottom: 18px; }
.products-summary { grid-template-columns: repeat(3, minmax(0, 1fr)); margin-bottom: 18px; }
.products-summary .compact-stat { min-height: 118px; padding: 18px; }
.products-summary .compact-stat span { margin-top: 14px; }
.products-summary .compact-stat strong { font-size: clamp(1.35rem, 1.8vw, 1.75rem); }
.furni-toolbar { display: grid; grid-template-columns: minmax(220px, 1fr) minmax(280px, 440px) auto; align-items: center; gap: 16px; margin-bottom: 18px; }
.furni-toolbar h2 { margin: 0; font-size: 1.35rem; }
.furni-toolbar p { margin: 4px 0 0; color: #7d8791; font-size: .9rem; }
.furni-toolbar #product-meta { margin: 0; justify-self: end; color: #6f7a84; font-weight: 700; }
.furni-resource-table { padding: 0; overflow: hidden; }
.furni-resource-table table { min-width: 760px; }
.furni-resource-table th { padding: 18px 20px 12px; color: #9aa2aa; font-size: .72rem; letter-spacing: .13em; text-transform: uppercase; }
.furni-resource-table td { padding: 15px 20px; border-top: 1px solid #f0efeb; color: #4b535b; }
.furni-resource-table tbody tr:hover td { background: #fffefa; }
.product-identity { display: flex; align-items: center; gap: 12px; min-width: 220px; }
.product-avatar { display: grid; place-items: center; flex: none; width: 40px; height: 40px; border-radius: 12px; color: #9a7415; background: #fff0bd; font-weight: 900; box-shadow: inset 0 1px 0 rgba(255,255,255,.85), 0 8px 18px rgba(154,116,21,.08); }
.product-identity strong { display: block; color: #263039; font-weight: 800; }
.product-identity small { display: block; margin-top: 3px; color: #8a9198; }
.resource-badge { display: inline-flex; align-items: center; min-height: 28px; padding: 0 10px; border-radius: 999px; color: #66707a; background: #f1f2f3; font-size: .78rem; font-weight: 800; white-space: nowrap; }
.resource-badge.is-category { color: #9a7415; background: #fff4cc; }
.resource-badge.is-stock { color: #4d7c61; background: #edf6ef; }
.furni-form-panel { margin-top: 18px; }
.furni-form-panel .card-heading p { margin: 4px 0 0; color: #7d8791; font-size: .9rem; }
.product-form { gap: 16px; }
.product-form label { color: #4b535b; font-weight: 800; font-size: .84rem; }
.product-form input, .product-form select { min-height: 44px; border-radius: 12px; border-color: #e3e0da; }
.product-form input:focus, .product-form select:focus { border-color: #f4b400; box-shadow: 0 0 0 3px rgba(244,180,0,.12); outline: 0; }
@media(max-width:900px){ .furni-toolbar { grid-template-columns: 1fr; } .furni-toolbar #product-meta { justify-self: start; } .products-summary { grid-template-columns: 1fr; } }
