/* Shared mobile readability pass. Keep the approved visual and data hierarchy. */
:root {
  --text-label: 12px;
  --text-secondary: 13px;
  --text-body: 16px;
  --text-section: 20px;
  --secondary: #62645d;
  --line: #e7e7df;
  --canvas: #f8f8f4;
}
body { font-size: var(--text-body); }
.content { padding-inline: 20px; }
h1 { font-size: 28px; letter-spacing: -.5px; }
.brandbar { padding: 22px 20px 24px; gap: 12px; }
.brandmark { gap: 10px; min-width: 0; }
.brandlogo { width: 114px; }
.brandcaption { font-size: 14px; padding-left: 12px; margin-left: 0; }
.brandcaption small { font-size: 9px; letter-spacing: 1.2px; }
.brandbar .report-shortcut { font-size: 14px; padding: 0 12px; min-height: 44px; border-radius: 12px; }
.report-shortcut svg { width: 19px; height: 19px; }
.home-heading { margin: 0 0 20px; }
.home-heading h1 { font-size: 30px; }
.home-heading p { font-size: 14px; margin-top: 5px; }
.hero { border-radius: 22px; padding: 24px; }
.hero-top { gap: 10px; }
.hero-label { font-size: 15px; font-weight: 500; }
.hero .live { font: 600 16px/1.5 var(--font); padding: 5px 10px; border-radius: 8px; border-color: #ffffff66; white-space: nowrap; letter-spacing: 0; }
.hero .live::before { display: none; }
.hero-amount { margin-top: 18px; gap: 7px; }
.hero-amount strong { font-size: 56px; font-weight: 600; letter-spacing: -2px; }
.hero-amount .currency { font-size: 28px; }
.hero-unit { font-size: 12px; margin-top: 7px; }
.hero-ring { opacity: .7; }
.hero-bottom { margin-top: 24px; padding-top: 20px; }
.hero-bottom strong { font-size: 32px; }
.hero-bottom b { font-size: 14px; }
.hero-bottom p { font-size: 13px; margin-top: 7px; }
.support-stats { margin-top: 14px; border-radius: 18px; padding: 19px 18px; }
.support-stats > div { gap: 10px; }
.support-stats > div + div { padding-left: 18px; }
.support-stats strong { font-size: 26px; }
.support-stats strong small, .support-stats p { font-size: 13px; }
.support-stats p { margin-top: 4px; }
.update-row { font-size: 13px; margin: 10px 0 22px; }
.refresh { font-size: 13px; min-height: 44px; }
.section-heading { align-items: baseline; margin-bottom: 14px; gap: 12px; }
.section-heading h2 { font-size: var(--text-section); }
.section-heading span { font-size: 12px; text-align: right; }
.entry-grid { gap: 12px; }
.entry { position: relative; border-radius: 18px; padding: 18px 16px; min-height: 170px; }
.entry-title { display: block; }
.entry-title h3 { font-size: 17px; }
.entry-title svg { position: absolute; right: 16px; top: 31px; width: 18px; height: 18px; }
.entry p { font-size: 12px; line-height: 1.8; margin-top: 8px; }
.entry p span { display: block; }
.entry-icon { width: 44px; height: 44px; margin-bottom: 16px; border-radius: 13px; }
.source-footer { font-size: 12px; line-height: 1.8; margin-top: 28px; gap: 6px; flex-wrap: wrap; }
.source-footer svg { width: 14px; height: 14px; flex: none; }
.topbar { height: 76px; padding: 12px; background: #f8f8f4f5; }
.topbar-title { font-size: 19px; }
.topbar small { font-size: 12px; margin-top: 1px; }
.page-intro { padding: 10px 0 20px; }
.page-intro h1 { font-size: 26px; line-height: 1.45; }
.page-intro p { font-size: 14px; margin-top: 8px; }
.intro-title { align-items: flex-start; }
.intro-title h1 { min-width: 0; }
.intro-title .demo-tag { margin-top: 6px; }
.demo-tag { font-size: 12px; padding: 2px 7px; }
.eyebrow, .page-intro .eyebrow { font-size: 11px; letter-spacing: 1.5px; }
.summary-strip { grid-template-columns: 1.35fr 1fr 1fr; padding: 20px 16px; border-radius: 18px; margin-bottom: 20px; }
.summary-strip p { font-size: 12px; margin-bottom: 8px; }
.summary-strip strong { font-size: 24px; }
.summary-strip small { font-size: 12px; display: block; margin: 4px 0 0; }
.summary-strip > div + div { padding-left: 16px; }
.searchbox { height: 48px; margin-bottom: 14px; border-radius: 12px; }
.searchbox input { height: 46px; font-size: 16px; }
.searchbox input::placeholder { font-size: 14px; }
.sort-buttons button { min-height: 44px; font-size: 14px; padding-inline: 10px; }
.count-note { font-size: 12px; }
.list-card { border-radius: 18px; }
.staff-row { padding: 20px 14px; gap: 10px; grid-template-columns: 20px 40px minmax(0,1fr) auto; min-height: 102px; }
.rank { font-size: 13px; padding-top: 3px; }
.avatar { width: 40px; height: 40px; font-size: 15px; border-radius: 13px; }
.staff-name { font-size: 16px; white-space: normal; overflow-wrap: anywhere; }
.row-meta { font-size: 12px; line-height: 1.7; margin-top: 4px; overflow-wrap: anywhere; }
.row-metric strong { font-size: 22px; }
.row-metric p { font-size: 13px; margin-top: 6px; }
.staff-row.zero .row-metric strong { font-size: 20px; }
.staff-progress { margin-top: 10px; }
.breadcrumb { font-size: 12px; gap: 6px; padding-bottom: 18px; }
.breadcrumb a { min-height: 32px; display: inline-flex; align-items: center; }
.person-hero { padding-bottom: 22px; }
.person-hero h1 { font-size: 28px; }
.person-hero p, .product-hero p, .product-hero .product-code { font-size: 13px; }
.today-pill { font-size: 12px; padding: 4px 8px; }
.detail-total { padding: 23px 20px; border-radius: 20px; }
.detail-total .amount-label { font-size: 14px; }
.detail-total .amount { font-size: 40px; margin: 8px 0 18px; }
.detail-kpis strong, .mini-stats strong { font-size: 23px; }
.detail-kpis small, .mini-stats small { font-size: 12px; }
.detail-kpis p, .mini-stats p { font-size: 12px; margin-top: 5px; }
.list-caption { font-size: 13px; line-height: 1.7; margin: -5px 0 15px; }
.customer-row { padding: 19px 14px; min-height: 102px; }
.customer-row h3 { font-size: 16px; }
.customer-row .row-metric strong { font-size: 20px; }
.product-row { padding: 19px 14px; gap: 11px; min-height: 112px; }
.product-row h3 { font-size: 16px; }
.product-row .row-meta { font-size: 12px; }
.product-row .row-metric strong { font-size: 25px; }
.product-row .row-metric strong small, .product-row .row-metric p { font-size: 13px; }
.product-hero h1 { font-size: 27px; }
.quantity-head p { font-size: 13px; }
.quantity-head strong { font-size: 46px; }
.quantity-head .amount-side strong { font-size: 26px; }
.product-staff-row { grid-template-columns: 20px 36px minmax(0,1fr) auto 10px; gap: 8px; }
.product-staff-row .avatar { width: 36px; height: 36px; }
.product-staff-row .row-metric strong { font-size: 24px; }
.product-staff-row .row-metric strong small { font-size: 13px; }
.context-card h3 { font-size: 15px; }
.context-card p { font-size: 12px; }
.context-card > div:not(.context-qty) { min-width: 0; }
.context-qty small { font-size: 13px; }
.trace-heading h1 { font-size: 26px; }
.trace-heading p { font-size: 13px; }
.order-card-head { padding: 15px 16px; }
.order-card-head strong { font-size: 13px; }
.order-card-head span { font-size: 12px; }
.order-card-body { padding: 18px 16px; }
.order-card-products { font-size: 14px; line-height: 1.8; }
.order-card-bottom strong { font-size: 24px; }
.order-card-bottom small { font-size: 12px; }
.view-link { font-size: 13px; min-height: 44px; }
.meta-grid p { font-size: 12px; }
.meta-grid strong { font-size: 14px; overflow-wrap: anywhere; }
.order-line { padding: 19px 14px; }
.order-line h3 { font-size: 16px; }
.order-line .row-metric strong { font-size: 19px; }
.order-line .row-metric p { font-size: 13px; }
.order-totals > div { font-size: 14px; }
.view-end { font-size: 12px; padding-top: 24px; }
.empty-state h3 { font-size: 16px; }
.empty-state p, .empty-state button { font-size: 14px; }
.hint-box, .hint-box button, .toast { font-size: 13px; }
.report-caption { font-size: 13px; gap: 8px; }
.report-help { font-size: 13px; line-height: 1.8; padding-bottom: 20px; }
.report-actions a { min-height: 50px; font-size: 15px; }
.report-loading p { font-size: 14px; }
#main:focus { outline: none; }
@media (max-width: 359px) {
  .content { padding-inline: 16px; }
  .brandbar { padding-inline: 16px; gap: 8px; }
  .brandbar .brandlogo { width: 92px; }
  .brandbar .brandcaption { padding-left: 8px; font-size: 12px; }
  .brandbar .brandcaption small { font-size: 8px; }
  .brandbar .report-shortcut { font-size: 12px; padding-inline: 8px; }
  .hero { padding: 20px; }
  .hero-top { gap: 8px; }
  .hero-label { font-size: 14px; }
  .hero .live { padding-inline: 8px; }
  .hero-amount strong { font-size: 48px; }
  .support-stats { padding: 18px 14px; }
  .support-stats > div + div { padding-left: 14px; }
  .support-stats > div { gap: 8px; }
  .support-stats strong { font-size: 24px; }
  .support-stats p, .support-stats strong small { font-size: 12px; }
  .section-heading { gap: 8px; }
  .entry { padding-inline: 12px; }
  .entry-title h3 { font-size: 16px; }
  .entry p { font-size: 12px; }
  .summary-strip { padding-inline: 13px; }
  .summary-strip strong { font-size: 22px; }
  .summary-strip > div + div { padding-left: 10px; }
  .sort-buttons button { padding-inline: 8px; }
  .staff-row { padding-inline: 12px; gap: 8px; grid-template-columns: 16px 34px minmax(0,1fr) auto; }
  .avatar { width: 34px; height: 34px; }
  .row-metric strong { font-size: 20px; }
  .customer-row { padding-inline: 12px; gap: 8px; grid-template-columns: 36px minmax(0,1fr) auto 9px; }
  .customer-row .store-icon { width: 36px; height: 36px; }
  .customer-row .row-metric strong { font-size: 18px; }
  .product-row { padding-inline: 12px; grid-template-columns: 44px minmax(0,1fr) auto 9px; gap: 8px; }
  .product-row .row-metric strong { font-size: 23px; }
  .product-staff-row { grid-template-columns: 16px 30px minmax(0,1fr) auto 9px; gap: 7px; }
  .product-staff-row .avatar { width: 30px; height: 30px; font-size: 13px; }
  .product-staff-row .row-metric strong { font-size: 22px; }
  .order-line { padding-inline: 12px; gap: 9px; }
  .order-line .row-metric strong { font-size: 18px; }
  .report-caption { font-size: 12px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
}
