:root {
  --ink: #151513;
  --ink-2: #242421;
  --paper: #f5f5f1;
  --surface: #fff;
  --muted: #77776f;
  --line: #e7e7df;
  --lime: #d9ff43;
  --lime-strong: #c9f22c;
  --blue: #5b6cff;
  --orange: #ff8b55;
  --red: #dc4d4d;
  --green: #168c5a;
  --shadow: 0 20px 55px rgba(26, 26, 22, .08);
  --radius: 18px;
  --sidebar: 222px;
}

* { box-sizing: border-box; }
html { height: 100%; }
body {
  margin: 0;
  min-width: 320px;
  min-height: 100%;
  color: var(--ink);
  background: var(--paper);
  font-family: "DM Sans", system-ui, sans-serif;
  -webkit-font-smoothing: antialiased;
}
button, input, select { font: inherit; color: inherit; }
button { border: 0; cursor: pointer; }
button:disabled { cursor: not-allowed; }
input, select {
  border: 1px solid var(--line);
  border-radius: 10px;
  background: #fff;
  outline: 0;
}
input:focus, select:focus { border-color: #aaa; box-shadow: 0 0 0 3px rgba(21,21,19,.05); }
svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.svg-sprite { position: absolute; width: 0; height: 0; overflow: hidden; }
.hidden { display: none !important; }
.eyebrow { display: block; color: #8d8d84; font-size: 10px; font-weight: 800; letter-spacing: .16em; line-height: 1.4; }
.eyebrow.light { color: rgba(255,255,255,.55); }
h1, h2, h3, p { margin-top: 0; }
h1, h2, h3 { font-family: "Manrope", sans-serif; }
.icon-button { display: grid; width: 40px; height: 40px; place-items: center; border-radius: 10px; background: transparent; }
.icon-button:hover { background: rgba(0,0,0,.05); }
.button { display: inline-flex; align-items: center; justify-content: center; gap: 9px; min-height: 42px; padding: 0 16px; border-radius: 10px; font-weight: 700; white-space: nowrap; transition: .2s ease; }
.button svg { width: 17px; height: 17px; }
.button:hover { transform: translateY(-1px); }
.button-dark { color: #fff; background: var(--ink); box-shadow: 0 7px 18px rgba(0,0,0,.13); }
.button-dark:hover { background: #000; }
.button-soft { color: #55554f; background: #eeeeea; }
.button-outline { border: 1px solid var(--line); background: #fff; }
.button-wide { width: 100%; height: 52px; }
.button-wide svg { margin-left: auto; }
.text-button { padding: 0; color: #575751; background: none; font-size: 13px; font-weight: 700; }
.text-button:hover { color: #000; }
.text-button.danger { color: var(--red); }
.danger-outline { color: var(--red); border-color: #f0c8c8; }
.status-pill { display: inline-flex; align-items: center; justify-content: center; padding: 5px 9px; border-radius: 999px; font-size: 11px; font-weight: 800; white-space: nowrap; }
.status-pill.good { color: #107348; background: #dcf7e9; }
.status-pill.warning { color: #986414; background: #fff1d3; }
.status-pill.danger { color: #af3232; background: #fee7e7; }

/* Login */
.login-screen { display: grid; min-height: 100vh; grid-template-columns: minmax(500px, 1.25fr) minmax(400px, .75fr); background: #fff; }
.login-brand { position: relative; display: flex; min-height: 700px; padding: 42px 58px; color: #fff; background: #151513; flex-direction: column; overflow: hidden; }
.login-brand::before {
  position: absolute; right: -14%; bottom: -28%; width: 620px; height: 620px; content: "";
  border: 150px solid var(--lime); border-radius: 50%; opacity: .94; transform: rotate(-20deg);
}
.login-brand::after {
  position: absolute; top: 12%; right: 4%; width: 290px; height: 290px; content: "";
  border: 1px solid rgba(255,255,255,.1); border-radius: 50%; box-shadow: 0 0 0 55px rgba(255,255,255,.025), 0 0 0 110px rgba(255,255,255,.02);
}
.login-wordmark, .mobile-wordmark, .wordmark { display: flex; align-items: center; gap: 11px; font-family: "Manrope"; font-size: 15px; font-weight: 800; letter-spacing: .08em; }
.brand-mark { display: flex; width: 27px; height: 27px; align-items: flex-end; gap: 2px; padding: 6px 5px; border-radius: 7px; color: var(--ink); background: var(--lime); transform: rotate(-7deg); }
.brand-mark i { display: block; width: 4px; border-radius: 3px; background: currentColor; }
.brand-mark i:nth-child(1) { height: 6px; }.brand-mark i:nth-child(2) { height: 11px; }.brand-mark i:nth-child(3) { height: 15px; }
.login-copy { position: relative; z-index: 1; max-width: 650px; margin: auto 0 100px; }
.login-copy h1 { margin: 18px 0 24px; font-size: clamp(58px, 6vw, 92px); line-height: .98; letter-spacing: -.06em; }
.login-copy p { max-width: 470px; margin: 0; color: rgba(255,255,255,.57); font-size: 17px; line-height: 1.7; }
.login-preview { position: relative; z-index: 2; display: flex; width: 310px; padding: 18px 20px; align-items: end; justify-content: space-between; border: 1px solid rgba(255,255,255,.12); border-radius: 15px; background: rgba(255,255,255,.07); backdrop-filter: blur(12px); }
.login-preview span { display: block; margin-bottom: 7px; color: rgba(255,255,255,.5); font-size: 11px; }
.login-preview strong { font: 700 21px "Manrope"; }
.mini-spark { display: flex; height: 40px; align-items: end; gap: 3px; }
.mini-spark i { display: block; width: 5px; border-radius: 3px; background: var(--lime); }
.mini-spark i:nth-child(1) { height: 20%; }.mini-spark i:nth-child(2) { height: 45%; }.mini-spark i:nth-child(3) { height: 35%; }.mini-spark i:nth-child(4) { height: 65%; }.mini-spark i:nth-child(5) { height: 52%; }.mini-spark i:nth-child(6) { height: 72%; }.mini-spark i:nth-child(7) { height: 66%; }.mini-spark i:nth-child(8) { height: 95%; }
.login-panel { display: grid; padding: 50px; place-items: center; }
.login-form { width: min(390px, 100%); }
.mobile-wordmark { display: none; margin-bottom: 70px; }
.login-form h2 { margin: 11px 0 8px; font-size: 38px; letter-spacing: -.04em; }
.login-form > p { margin-bottom: 37px; color: var(--muted); }
.login-form label, .form-grid label, .modal-form label { display: grid; margin-bottom: 17px; gap: 8px; color: #55554e; font-size: 12px; font-weight: 700; }
.login-form input, .form-grid input, .form-grid select, .modal-form input, .modal-form select { width: 100%; height: 48px; padding: 0 13px; font-size: 14px; }
.form-error { min-height: 24px; color: var(--red); font-size: 12px; }
.demo-hint { display: flex; margin-top: 22px; align-items: center; justify-content: center; gap: 9px; color: #99998f; font-size: 12px; }
.demo-hint span { width: 6px; height: 6px; border-radius: 50%; background: var(--green); box-shadow: 0 0 0 4px #e3f4eb; }

/* Shell */
.app-shell { min-height: 100vh; padding-left: var(--sidebar); }
.sidebar { position: fixed; z-index: 40; inset: 0 auto 0 0; display: flex; width: var(--sidebar); padding: 29px 19px 18px; color: #d7d7cf; background: #171715; flex-direction: column; }
.sidebar .wordmark { height: 36px; margin: 0 8px 37px; color: #fff; font-size: 13px; }
.sidebar-close { display: none; position: absolute; top: 20px; right: 14px; color: #fff; }
.primary-nav { display: grid; gap: 5px; }
.nav-item { position: relative; display: flex; width: 100%; height: 44px; padding: 0 12px; align-items: center; gap: 12px; border-radius: 10px; color: #989890; background: transparent; font-size: 13px; font-weight: 600; text-align: left; transition: .2s ease; }
.nav-item svg { width: 18px; height: 18px; }
.nav-item:hover { color: #fff; background: rgba(255,255,255,.045); }
.nav-item.active { color: #121210; background: var(--lime); font-weight: 800; }
.nav-item em { margin-left: auto; padding: 2px 7px; border-radius: 20px; color: #fff; background: #373732; font-size: 10px; font-style: normal; }
.nav-item.active em { color: #fff; background: #171715; }
.sidebar-bottom { display: grid; margin-top: auto; gap: 8px; }
.counter-card { margin: 11px 0 6px; padding: 13px 14px; border: 1px solid #30302d; border-radius: 11px; background: rgba(255,255,255,.025); }
.counter-card > span { color: #686862; font-size: 8px; font-weight: 800; letter-spacing: .14em; }
.counter-card div { display: flex; margin-top: 8px; align-items: center; gap: 8px; }
.counter-card i { display: block; width: 7px; height: 7px; border-radius: 50%; background: var(--lime); box-shadow: 0 0 0 3px rgba(217,255,67,.11); }
.counter-card strong { color: #e7e7df; font-size: 11px; }
.counter-card small { display: block; margin: 5px 0 0 15px; color: #686862; font-size: 9px; }
.profile-mini { display: flex; width: 100%; padding: 10px 7px; align-items: center; gap: 9px; color: #fff; border-radius: 10px; background: transparent; text-align: left; }
.profile-mini:hover { background: rgba(255,255,255,.04); }
.avatar { display: grid; width: 31px; height: 31px; place-items: center; border-radius: 9px; color: var(--ink); background: #f1b7a1; font-size: 10px; font-weight: 800; }
.profile-mini > span:nth-child(2) { display: grid; gap: 2px; flex: 1; }
.profile-mini strong { font-size: 10px; }.profile-mini small { color: #72726b; font-size: 9px; }
.profile-mini svg { width: 14px; }
.sidebar-shade { display: none; }
.main { min-width: 0; min-height: 100vh; }
.topbar { position: relative; z-index: 20; display: flex; height: 80px; padding: 0 28px; align-items: center; justify-content: space-between; border-bottom: 1px solid var(--line); background: rgba(245,245,241,.94); backdrop-filter: blur(10px); }
.topbar-left { display: flex; align-items: center; gap: 12px; }
.topbar h2 { margin: 3px 0 0; font-size: 20px; letter-spacing: -.03em; }
.topbar-actions { display: flex; align-items: center; gap: 10px; }
.global-search { display: flex; width: min(360px, 32vw); height: 40px; padding: 0 10px; align-items: center; gap: 8px; border: 1px solid var(--line); border-radius: 10px; background: #fff; }
.global-search svg { width: 16px; color: #96968e; }
.global-search input { min-width: 0; padding: 0; border: 0; background: transparent; flex: 1; font-size: 12px; box-shadow: none; }
kbd { padding: 3px 6px; border: 1px solid #deded8; border-bottom-width: 2px; border-radius: 5px; color: #92928b; background: #f7f7f4; font: 600 9px "DM Sans"; }
.notification-button { position: relative; border: 1px solid var(--line); background: #fff; }
.notification-badge { position: absolute; top: -6px; right: -6px; display: grid; min-width: 18px; height: 18px; padding: 0 5px; place-items: center; border: 2px solid var(--paper); border-radius: 20px; color: #fff; background: var(--red); font-size: 8px; font-weight: 800; }
.live-clock { min-width: 85px; color: #676760; font-size: 11px; font-weight: 700; text-align: right; }
.admin-quick-add { min-height: 40px; font-size: 11px; box-shadow: none; }
.mobile-menu { display: none; }
.view { display: none; }
.view.active { display: block; }

/* POS */
.pos-layout { display: grid; min-height: calc(100vh - 80px); grid-template-columns: minmax(0, 1fr) 365px; }
.catalog { min-width: 0; padding: 27px 27px 60px; }
.catalog-toolbar { display: flex; margin-bottom: 20px; align-items: center; justify-content: space-between; }
.catalog-toolbar h3 { margin: 0 0 4px; font-size: 16px; }.catalog-toolbar p { margin: 0; color: var(--muted); font-size: 11px; }
.filter-row { display: flex; margin: 0 -4px 21px; padding: 4px; gap: 4px; overflow-x: auto; scrollbar-width: none; }
.filter-row::-webkit-scrollbar { display: none; }
.filter-chip { min-height: 34px; padding: 0 14px; border: 1px solid transparent; border-radius: 8px; color: #6d6d66; background: transparent; font-size: 11px; font-weight: 700; white-space: nowrap; }
.filter-chip:hover { background: #eeeeea; }
.filter-chip.active { border-color: #ddddD6; color: #1c1c19; background: #fff; box-shadow: 0 3px 10px rgba(0,0,0,.04); }
.filter-chip span { margin-left: 5px; color: #a0a098; font-size: 9px; }
.product-grid { display: grid; grid-template-columns: repeat(4, minmax(145px, 1fr)); gap: 13px; }
.product-card { position: relative; display: flex; min-height: 185px; padding: 0; border: 1px solid var(--line); border-radius: 15px; background: #fff; flex-direction: column; overflow: hidden; text-align: left; transition: .18s ease; }
.product-card:hover { border-color: #c8c8c0; box-shadow: 0 13px 30px rgba(21,21,19,.08); transform: translateY(-2px); }
.product-card:active { transform: scale(.98); }
.product-add { display: flex; width: 100%; height: 100%; padding: 0; background: transparent; flex: 1; flex-direction: column; text-align: left; }
.product-details-button { position: absolute; z-index: 3; right: 9px; bottom: 9px; display: grid; width: 28px; height: 28px; padding: 0; place-items: center; border: 1px solid var(--line); border-radius: 7px; color: #6d6d66; background: rgba(255,255,255,.92); opacity: .82; transition: .18s ease; }
.product-details-button svg { width: 13px; height: 13px; }
.product-card:hover .product-details-button, .product-details-button:focus-visible { opacity: 1; }
.product-details-button:hover { color: #fff; border-color: var(--ink); background: var(--ink); }
.product-visual { position: relative; display: grid; height: 100px; place-items: center; background: var(--product-bg, #eeeee9); overflow: hidden; }
.product-visual::before { position: absolute; width: 100px; height: 100px; content: ""; border: 1px solid rgba(0,0,0,.06); border-radius: 50%; transform: translate(45px, -34px); }
.product-glyph { position: relative; display: grid; width: 48px; height: 68px; place-items: center; border: 3px solid #272725; border-radius: 9px; color: #272725; background: rgba(255,255,255,.55); box-shadow: inset 0 0 0 2px rgba(255,255,255,.8), 5px 7px 0 rgba(0,0,0,.08); transform: rotate(-7deg); }
.product-glyph.accessory { width: 62px; height: 42px; border-radius: 13px; transform: rotate(-5deg); }
.product-glyph.round { width: 51px; height: 51px; border-radius: 50%; transform: rotate(0); }
.product-glyph small { max-width: 42px; font: 800 7px/1.05 "Manrope"; letter-spacing: -.04em; text-align: center; overflow-wrap: anywhere; }
.product-stock { position: absolute; top: 9px; left: 9px; padding: 4px 7px; border-radius: 5px; color: #696962; background: rgba(255,255,255,.84); font-size: 8px; font-weight: 800; backdrop-filter: blur(4px); }
.product-stock.low { color: #a85c25; background: #fff1d8; }
.product-stock.out { color: #a83a3a; background: #fee6e6; }
.product-info { display: flex; width: 100%; min-height: 84px; padding: 11px 42px 12px 12px; flex-direction: column; }
.product-info h4 { display: -webkit-box; margin: 0 0 3px; overflow: hidden; font-size: 11px; line-height: 1.3; -webkit-box-orient: vertical; -webkit-line-clamp: 2; }
.product-info small { color: #999990; font-size: 8px; letter-spacing: .04em; }
.product-info strong { margin-top: auto; font: 800 13px "Manrope"; }
.product-card.out { opacity: .58; filter: grayscale(.4); }
.empty-state { padding: 80px 20px; color: var(--muted); text-align: center; }
.empty-state svg { width: 40px; height: 40px; margin-bottom: 15px; }.empty-state h3 { color: var(--ink); margin-bottom: 8px; }.empty-state p { font-size: 13px; }
.cart-panel { position: sticky; top: 0; display: flex; height: calc(100vh - 80px); min-height: 610px; padding: 23px 22px 16px; border-left: 1px solid var(--line); background: #fff; flex-direction: column; }
.cart-heading { display: flex; margin-bottom: 15px; align-items: flex-start; justify-content: space-between; }
.cart-heading h3 { margin: 3px 0 0; font-size: 16px; }
.customer-picker { display: flex; width: 100%; min-height: 52px; padding: 8px 10px; align-items: center; gap: 10px; border: 1px solid var(--line); border-radius: 10px; background: #fafaf8; text-align: left; }
.customer-picker:hover { border-color: #c6c6be; }
.customer-icon { display: grid; width: 34px; height: 34px; place-items: center; border-radius: 8px; background: #e8e8e3; }
.customer-icon svg { width: 16px; }
.customer-picker > span:nth-child(2) { display: grid; gap: 2px; flex: 1; }
.customer-picker small { color: #999990; font-size: 8px; font-weight: 800; letter-spacing: .11em; }
.customer-picker strong { font-size: 11px; }
.customer-picker > svg { width: 14px; color: #999; }
.cart-items { margin: 14px -5px 0; padding: 0 5px; overflow-y: auto; scrollbar-color: #d7d7d0 transparent; }
.cart-item { display: grid; padding: 12px 0; align-items: center; border-bottom: 1px solid #eeeeea; grid-template-columns: 40px minmax(0,1fr) auto; gap: 9px; }
.cart-item-visual { display: grid; width: 40px; height: 44px; place-items: center; border-radius: 8px; background: var(--product-bg, #eee); font: 800 8px "Manrope"; }
.cart-item-info { min-width: 0; }
.cart-item-info h4 { margin: 0 0 4px; overflow: hidden; font-size: 10px; text-overflow: ellipsis; white-space: nowrap; }
.cart-item-info > span { display: flex; align-items: center; gap: 7px; }
.qty-control { display: inline-flex; height: 24px; align-items: center; border: 1px solid var(--line); border-radius: 6px; }
.qty-control button { display: grid; width: 23px; height: 100%; padding: 0; place-items: center; background: transparent; }
.qty-control button:hover { background: #f0f0ec; }.qty-control svg { width: 11px; }
.qty-control b { min-width: 22px; font-size: 9px; text-align: center; }
.cart-item-info small { color: #999; font-size: 8px; }
.cart-item-price { display: grid; height: 40px; align-content: space-between; justify-items: end; }
.cart-item-price strong { font: 800 10px "Manrope"; }
.cart-remove { padding: 0; color: #aaa; background: none; line-height: 0; }.cart-remove:hover { color: var(--red); }.cart-remove svg { width: 13px; height: 13px; }
.empty-cart { display: grid; margin: auto; padding: 30px; place-items: center; text-align: center; }
.empty-cart > div { display: grid; width: 66px; height: 66px; margin-bottom: 14px; place-items: center; border-radius: 50%; color: #777; background: #f3f3ef; }
.empty-cart svg { width: 24px; }.empty-cart h3 { margin-bottom: 6px; font-size: 13px; }.empty-cart p { max-width: 160px; margin: 0; color: #999; font-size: 10px; line-height: 1.5; }
.cart-summary { display: grid; margin-top: auto; padding: 15px 0 11px; gap: 9px; border-top: 1px solid var(--line); }
.cart-summary > div, .cart-summary > button { display: flex; padding: 0; align-items: center; justify-content: space-between; color: #72726b; background: none; font-size: 10px; }
.cart-summary strong { color: #3b3b37; font-size: 10px; }.cart-summary em { margin-left: 5px; color: var(--blue); font-style: normal; }
.cart-summary .cart-total { margin-top: 3px; color: var(--ink); font-size: 14px; font-weight: 800; }
.cart-summary .cart-total strong { font: 800 21px "Manrope"; color: var(--ink); }
.checkout-button { display: grid; min-height: 51px; padding: 0 17px; align-items: center; border-radius: 11px; color: var(--ink); background: var(--lime); grid-template-columns: 1fr 1fr auto; font-weight: 800; transition: .2s; }
.checkout-button span { text-align: left; }.checkout-button strong { font: 800 14px "Manrope"; text-align: right; }.checkout-button svg { width: 17px; margin-left: 13px; }
.checkout-button:not(:disabled):hover { background: var(--lime-strong); transform: translateY(-1px); box-shadow: 0 8px 20px rgba(142,175,15,.2); }
.checkout-button:disabled { color: #aaa; background: #eeeeea; }
.cart-shortcuts { display: flex; padding-top: 10px; justify-content: center; gap: 16px; color: #aaa; font-size: 8px; }

/* Interior pages */
.page-view { padding: 34px 34px 60px; }
.page-heading { display: flex; margin-bottom: 27px; align-items: end; justify-content: space-between; gap: 20px; }
.page-heading h1 { margin: 5px 0 5px; font-size: 30px; letter-spacing: -.045em; }
.page-heading p { margin: 0; color: var(--muted); font-size: 13px; }
.date-chip { padding: 9px 13px; border: 1px solid var(--line); border-radius: 9px; background: #fff; font-size: 11px; font-weight: 700; }
.metric-grid { display: grid; margin-bottom: 16px; grid-template-columns: repeat(4, 1fr); gap: 13px; }
.metric-card { position: relative; min-height: 125px; padding: 18px; border: 1px solid var(--line); border-radius: 15px; background: #fff; overflow: hidden; }
.metric-card::after { position: absolute; right: -25px; bottom: -40px; width: 100px; height: 100px; content: ""; border-radius: 50%; background: var(--accent, #eee); opacity: .16; }
.metric-card-head { display: flex; align-items: center; justify-content: space-between; color: #85857d; font-size: 10px; font-weight: 700; }
.metric-icon { display: grid; width: 29px; height: 29px; place-items: center; border-radius: 8px; color: var(--accent-text, #333); background: var(--accent, #eee); }
.metric-icon svg { width: 14px; height: 14px; }.metric-card h3 { margin: 14px 0 2px; font-size: 21px; letter-spacing: -.04em; }.metric-card small { color: #9b9b92; font-size: 9px; }.metric-card small b { color: var(--green); }
.panel { border: 1px solid var(--line); border-radius: var(--radius); background: #fff; }
.panel-heading { display: flex; align-items: flex-start; justify-content: space-between; gap: 10px; }
.panel-heading h3 { margin: 4px 0 0; font-size: 15px; }
.trend-up { padding: 5px 8px; border-radius: 6px; color: var(--green); background: #e3f7ec; font-size: 9px; font-weight: 800; }
.dashboard-grid { display: grid; grid-template-columns: 1.45fr 1fr; gap: 14px; }
.dashboard-grid > .panel { min-width: 0; padding: 19px; }
.revenue-panel { min-height: 310px; }
.sales-chart { display: flex; height: 195px; padding-top: 24px; align-items: end; gap: 6px; border-bottom: 1px solid var(--line); background: repeating-linear-gradient(to bottom, transparent 0, transparent 48px, #f0f0ec 49px); }
.chart-bar { position: relative; flex: 1; min-width: 9px; border-radius: 5px 5px 0 0; background: var(--lime); transition: .5s ease; }
.chart-bar:hover { background: var(--lime-strong); }
.chart-bar span { position: absolute; top: -20px; left: 50%; display: none; padding: 3px 5px; border-radius: 4px; color: #fff; background: #222; font-size: 8px; transform: translateX(-50%); white-space: nowrap; }
.chart-bar:hover span { display: block; }
.chart-axis { display: flex; padding-top: 8px; justify-content: space-between; color: #aaa; font-size: 8px; }
.stock-attention { display: grid; margin-top: 15px; gap: 11px; }
.stock-row { display: grid; align-items: center; grid-template-columns: 35px minmax(0,1fr) auto; gap: 10px; }
.stock-row-icon { display: grid; width: 35px; height: 35px; place-items: center; border-radius: 8px; background: var(--product-bg); font: 800 8px "Manrope"; }
.stock-row div:nth-child(2) { min-width: 0; }.stock-row h4 { margin: 0 0 4px; overflow: hidden; font-size: 10px; text-overflow: ellipsis; white-space: nowrap; }.stock-row small { color: #999; font-size: 8px; }.stock-row > strong { color: var(--red); font: 800 11px "Manrope"; }
.top-products-panel, .activity-panel { min-height: 265px; }
.rank-row { display: grid; padding: 12px 0; align-items: center; border-bottom: 1px solid #efefeb; grid-template-columns: 25px minmax(0,1fr) auto; gap: 8px; }
.rank-row:last-child { border: 0; }.rank-row > b { color: #a5a59d; font: 800 10px "Manrope"; }.rank-row h4 { margin: 0 0 3px; font-size: 10px; }.rank-row small { color: #999; font-size: 8px; }.rank-row > strong { font: 800 10px "Manrope"; }
.activity-row { display: grid; padding: 11px 0; align-items: center; border-bottom: 1px solid #efefeb; grid-template-columns: 34px minmax(0,1fr) auto; gap: 10px; }
.activity-row:last-child { border: 0; }.activity-dot { display: grid; width: 32px; height: 32px; place-items: center; border-radius: 50%; color: #58721a; background: #effbd1; }.activity-dot svg { width: 13px; }.activity-row h4 { margin: 0 0 2px; font-size: 10px; }.activity-row small { color: #999; font-size: 8px; }.activity-row > strong { font: 800 10px "Manrope"; }
.mini-stat-grid { display: grid; margin-bottom: 16px; grid-template-columns: repeat(4,1fr); gap: 12px; }
.mini-stat { padding: 14px 16px; border: 1px solid var(--line); border-radius: 12px; background: #fff; }
.mini-stat span { color: #8d8d84; font-size: 9px; font-weight: 700; }.mini-stat strong { display: block; margin-top: 5px; font: 800 18px "Manrope"; }
.table-panel { overflow: hidden; }
.table-toolbar { display: flex; padding: 14px; align-items: center; gap: 10px; border-bottom: 1px solid var(--line); }
.table-search { display: flex; height: 40px; min-width: 220px; padding: 0 11px; align-items: center; gap: 8px; border: 1px solid var(--line); border-radius: 9px; background: #fff; flex: 1; }
.table-search svg { width: 15px; color: #999; }.table-search input { width: 100%; padding: 0; border: 0; background: transparent; font-size: 11px; box-shadow: none; }
.table-toolbar select, .table-toolbar > input, .large-select { height: 40px; padding: 0 12px; color: #666; font-size: 11px; }
.table-wrap { overflow-x: auto; }
table { width: 100%; border-collapse: collapse; white-space: nowrap; }
th { height: 40px; padding: 0 14px; color: #92928a; background: #fafaf8; font-size: 8px; font-weight: 800; letter-spacing: .09em; text-align: left; text-transform: uppercase; }
td { height: 59px; padding: 0 14px; border-top: 1px solid #eeeeea; color: #4c4c47; font-size: 10px; }
td strong { color: var(--ink); }.table-product { display: flex; align-items: center; gap: 9px; }.table-product-icon { display: grid; width: 34px; height: 36px; place-items: center; border-radius: 7px; background: var(--product-bg); font: 800 7px "Manrope"; }.table-product span { display: grid; gap: 3px; }.table-product small { color: #999; font-size: 8px; }
.row-actions { display: flex; justify-content: flex-end; gap: 3px; }.row-actions button { display: grid; width: 29px; height: 29px; padding: 0; place-items: center; border-radius: 7px; color: #777; background: transparent; }.row-actions button:hover { color: #111; background: #eeeeea; }.row-actions svg { width: 13px; height: 13px; }
.customer-toolbar { display: flex; margin-bottom: 16px; align-items: center; justify-content: space-between; gap: 15px; }
.customer-toolbar .table-search { max-width: 390px; }.customer-toolbar > span { color: #888; font-size: 11px; }
.customer-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 13px; }
.customer-card { padding: 17px; border: 1px solid var(--line); border-radius: 15px; background: #fff; transition: .2s; }
.customer-card:hover { border-color: #ccccC5; box-shadow: 0 10px 28px rgba(0,0,0,.05); transform: translateY(-1px); }
.customer-card-head { display: flex; margin-bottom: 17px; align-items: center; gap: 11px; }.customer-avatar { display: grid; width: 39px; height: 39px; place-items: center; border-radius: 11px; color: #32322f; background: var(--avatar-bg, #e7e7e1); font: 800 11px "Manrope"; }.customer-card-head > div { flex: 1; }.customer-card h3 { margin: 0 0 3px; font-size: 12px; }.customer-card-head small { color: #999; font-size: 8px; }.customer-card-head button { color: #777; }
.customer-card-stats { display: grid; padding: 12px 0; border-block: 1px solid #eeeeea; grid-template-columns: 1fr 1fr; }.customer-card-stats div + div { padding-left: 13px; border-left: 1px solid #eeeeea; }.customer-card-stats span { display: block; margin-bottom: 4px; color: #999; font-size: 8px; }.customer-card-stats strong { font: 800 11px "Manrope"; }.customer-card-footer { display: flex; padding-top: 12px; align-items: center; justify-content: space-between; color: #888; font-size: 8px; }.customer-card-footer b { color: var(--green); }
.reports-grid { display: grid; grid-template-columns: 1.35fr 1fr; gap: 14px; }.reports-grid > .panel { min-width: 0; min-height: 300px; padding: 20px; }.panel-total { font: 800 15px "Manrope"; }
#view-reports .metric-card-head { font-size: 12px; }
#view-reports .metric-card h3 { font-size: 25px; }
#view-reports .metric-card small { font-size: 11px; }
#view-reports .panel-heading .eyebrow { font-size: 11px; }
#view-reports .panel-heading h3 { font-size: 18px; }
#view-reports .panel-total { font-size: 18px; }
.report-bar-chart { display: flex; height: 205px; padding-top: 26px; align-items: end; gap: 10px; border-bottom: 1px solid var(--line); background: repeating-linear-gradient(to bottom, transparent 0, transparent 51px, #f0f0ec 52px); }.report-bar { position: relative; border-radius: 5px 5px 0 0; background: #20201d; flex: 1; }.report-bar.today { background: var(--lime); }.report-bar span { position: absolute; top: -17px; left: 50%; color: #999; font-size: 7px; transform: translateX(-50%); }.report-axis { display: flex; padding-top: 9px; justify-content: space-around; color: #999; font-size: 8px; }
.report-bar span { font-size: 9px; }
.report-axis { font-size: 10px; font-weight: 600; }
.donut-wrap { display: grid; height: 225px; margin-top: 15px; align-items: center; grid-template-columns: 145px 1fr; gap: 25px; }.donut { position: relative; width: 145px; height: 145px; border-radius: 50%; background: conic-gradient(var(--lime) 0 38%, #20201d 38% 68%, #ff9c69 68% 84%, #6875f5 84% 94%, #ddd 94%); }.donut::after { position: absolute; inset: 28px; display: grid; content: attr(data-total); place-items: center; border-radius: 50%; background: #fff; font: 800 15px "Manrope"; }.legend-list { display: grid; gap: 12px; }.legend-row { display: grid; align-items: center; grid-template-columns: 8px 1fr auto; gap: 8px; font-size: 9px; }.legend-row i { width: 7px; height: 7px; border-radius: 2px; background: var(--legend); }.legend-row span { color: #777; }.legend-row strong { font-size: 9px; }
.donut::after { font-size: 17px; }
.legend-row { font-size: 11px; }
.legend-row strong { font-size: 11px; }
.payment-breakdown, .profitability-list { display: grid; margin-top: 20px; gap: 15px; }.progress-row > div:first-child { display: flex; margin-bottom: 7px; align-items: center; justify-content: space-between; font-size: 9px; }.progress-row span { color: #666; }.progress-row small { margin-left: 5px; color: #aaa; }.progress-track { height: 7px; border-radius: 9px; background: #eeeeea; overflow: hidden; }.progress-track i { display: block; height: 100%; border-radius: inherit; background: var(--bar, #222); }
#view-reports .progress-row > div:first-child { font-size: 11px; }
#view-reports .progress-row small { font-size: 10px; }
.settings-layout { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }.settings-card { padding: 21px; }.settings-card > h3 { margin: 4px 0 22px; font-size: 16px; }.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 0 14px; }.form-grid .span-2 { grid-column: 1 / -1; }.form-grid input, .form-grid select { height: 43px; }.connection-card { display: flex; min-height: 118px; padding: 21px; align-items: center; gap: 16px; grid-column: 1 / -1; }.connection-icon { display: grid; width: 49px; height: 49px; place-items: center; border-radius: 13px; background: #f0f0eb; }.connection-icon span { width: 14px; height: 14px; border: 4px solid #999; border-radius: 50%; }.connection-card > div:nth-child(2) { flex: 1; }.connection-card h3 { margin: 3px 0 5px; font-size: 14px; }.connection-card p, .settings-copy { margin: 0; color: #777; font-size: 10px; line-height: 1.6; }.connection-card code { padding: 2px 4px; background: #f0f0ec; }.settings-copy { margin-bottom: 16px; }
.field-hint { color: #999; font-size: 8px; font-weight: 500; line-height: 1.4; }
.form-grid label.setting-check { display: flex; min-height: 58px; padding: 10px 12px; align-items: center; gap: 11px; border: 1px solid var(--line); border-radius: 10px; background: #fafaf8; cursor: pointer; }
.setting-check > input { position: absolute; width: 1px; height: 1px; opacity: 0; pointer-events: none; }
.setting-check-box { display: grid; width: 24px; height: 24px; place-items: center; border: 1px solid #ccccC5; border-radius: 7px; color: transparent; background: #fff; transition: .2s; flex: 0 0 auto; }
.setting-check-box svg { width: 14px; height: 14px; stroke-width: 2.5; }
.setting-check > input:checked + .setting-check-box { color: #111; border-color: var(--lime-strong); background: var(--lime); }
.setting-check > span:last-child { display: grid; gap: 3px; }
.setting-check strong { color: var(--ink); font-size: 10px; }
.setting-check small { color: #888; font-size: 8px; font-weight: 500; }

/* Modal, checkout and receipt */
.modal-backdrop { position: fixed; z-index: 100; inset: 0; display: grid; padding: 20px; place-items: center; background: rgba(15,15,13,.65); backdrop-filter: blur(4px); animation: fade-in .18s ease; }
.modal { width: min(530px, 100%); max-height: calc(100vh - 40px); border-radius: 20px; background: #fff; box-shadow: 0 30px 90px rgba(0,0,0,.25); overflow-y: auto; animation: modal-in .22s ease; }
.modal.wide { width: min(730px,100%); }.modal.compact { width: min(430px,100%); }
.modal-header { display: flex; padding: 21px 22px 14px; align-items: flex-start; justify-content: space-between; border-bottom: 1px solid var(--line); }.modal-title { margin: 4px 0 0; font-size: 21px; letter-spacing: -.03em; }.modal-body { padding: 21px 22px 23px; }
.modal-form { display: grid; grid-template-columns: 1fr 1fr; gap: 0 13px; }.modal-form label.full { grid-column: 1 / -1; }.modal-actions { display: flex; margin-top: 8px; justify-content: flex-end; gap: 9px; grid-column: 1 / -1; }
.modal-form .pta-field { display: flex; min-height: 58px; margin-bottom: 17px; padding: 10px 12px; align-items: center; gap: 12px; border: 1px solid var(--line); border-radius: 10px; background: #fafaf8; }
.pta-field input { position: absolute; width: 1px; height: 1px; opacity: 0; pointer-events: none; }
.pta-switch { position: relative; width: 42px; height: 24px; border-radius: 20px; background: #d3d3cc; transition: .2s; flex: 0 0 auto; }
.pta-switch::after { position: absolute; top: 3px; left: 3px; width: 18px; height: 18px; content: ""; border-radius: 50%; background: #fff; box-shadow: 0 2px 5px rgba(0,0,0,.18); transition: .2s; }
.pta-field input:checked + .pta-switch { background: var(--ink); }
.pta-field input:checked + .pta-switch::after { transform: translateX(18px); }
.pta-field div { display: grid; gap: 3px; }
.pta-field strong { font-size: 10px; }
.pta-field small { color: #888; font-size: 8px; font-weight: 500; line-height: 1.35; }
.product-detail-hero { display: grid; margin: -21px -22px 20px; padding: 25px 24px; align-items: center; background: var(--product-bg, #e5e5df); grid-template-columns: 105px minmax(0,1fr); gap: 20px; overflow: hidden; }
.product-detail-visual { position: relative; display: grid; height: 105px; place-items: center; border-radius: 18px; background: rgba(255,255,255,.5); }
.product-detail-visual .product-glyph { transform: rotate(-5deg) scale(1.16); }
.product-detail-copy h3 { margin: 6px 0 7px; font-size: 20px; letter-spacing: -.035em; }
.product-detail-copy p { margin: 0 0 11px; color: #666; font-size: 10px; }
.product-detail-copy strong { font: 800 21px "Manrope"; }
.product-detail-grid { display: grid; margin-bottom: 20px; border: 1px solid var(--line); border-radius: 12px; grid-template-columns: 1fr 1fr; overflow: hidden; }
.product-detail-grid div { min-height: 65px; padding: 12px 14px; }
.product-detail-grid div:nth-child(even) { border-left: 1px solid var(--line); }
.product-detail-grid div:nth-child(n+3) { border-top: 1px solid var(--line); }
.product-detail-grid span { display: block; margin-bottom: 5px; color: #999; font-size: 8px; font-weight: 800; letter-spacing: .09em; }
.product-detail-grid strong { font: 800 11px "Manrope"; }
.admin-action-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.admin-action { display: flex; min-height: 92px; padding: 15px; align-items: flex-start; gap: 11px; border: 1px solid var(--line); border-radius: 12px; background: #fff; text-align: left; transition: .18s ease; }
.admin-action:hover { border-color: #bdbdb5; box-shadow: 0 8px 22px rgba(0,0,0,.06); transform: translateY(-1px); }
.admin-action > span { display: grid; width: 34px; height: 34px; place-items: center; border-radius: 9px; background: #f0f0eb; }
.admin-action svg { width: 16px; height: 16px; }
.admin-action div { display: grid; gap: 4px; }
.admin-action strong { font-size: 11px; }
.admin-action small { color: #888; font-size: 9px; line-height: 1.4; }
.notification-summary { display: flex; margin-bottom: 11px; padding: 10px 12px; align-items: center; justify-content: space-between; border-radius: 10px; background: #f4f4f0; }
.notification-summary span { color: #777; font-size: 9px; }
.notification-list { display: grid; max-height: 430px; overflow-y: auto; }
.notification-row { position: relative; display: grid; width: 100%; min-height: 70px; padding: 12px 26px 12px 4px; align-items: center; border-bottom: 1px solid #eeeeea; background: #fff; grid-template-columns: 39px minmax(0,1fr) auto; gap: 11px; text-align: left; }
.notification-row:hover { background: #fafaf7; }
.notification-row.unread { background: #fcfdf7; }
.notification-row-icon { display: grid; width: 38px; height: 38px; place-items: center; border-radius: 10px; color: #9a5b1d; background: #fff0d7; }
.notification-row.out .notification-row-icon { color: #a83838; background: #fee5e5; }
.notification-row-icon svg { width: 17px; height: 17px; }
.notification-row-copy { min-width: 0; }
.notification-row-copy strong { display: block; margin-bottom: 3px; overflow: hidden; font-size: 10px; text-overflow: ellipsis; white-space: nowrap; }
.notification-row-copy span { display: block; color: #777; font-size: 9px; line-height: 1.45; }
.notification-row > small { color: #999; font-size: 8px; white-space: nowrap; }
.notification-unread { position: absolute; top: 50%; right: 8px; width: 6px; height: 6px; border-radius: 50%; background: var(--blue); transform: translateY(-50%); }
.notification-empty { padding: 45px 20px; text-align: center; }
.notification-empty > span { display: grid; width: 52px; height: 52px; margin: 0 auto 13px; place-items: center; border-radius: 50%; color: #697636; background: #eff9d6; }
.notification-empty h3 { margin-bottom: 6px; font-size: 13px; }.notification-empty p { margin: 0 0 15px; color: #888; font-size: 9px; line-height: 1.5; }
.payment-total { padding: 16px; border-radius: 12px; color: #fff; background: #191917; text-align: center; }.payment-total span { color: #999; font-size: 9px; font-weight: 800; letter-spacing: .12em; }.payment-total strong { display: block; margin-top: 4px; font: 800 30px "Manrope"; }
.payment-methods { display: grid; margin: 16px 0; grid-template-columns: repeat(3,1fr); gap: 8px; }.payment-method { min-height: 62px; padding: 8px; border: 1px solid var(--line); border-radius: 10px; background: #fff; font-size: 10px; font-weight: 700; }.payment-method:hover { border-color: #aaa; }.payment-method.active { border-color: var(--ink); box-shadow: inset 0 0 0 1px var(--ink); background: #f7f7f4; }.cash-area { display: grid; margin-bottom: 16px; grid-template-columns: 1fr 1fr; gap: 10px; }.cash-area label { color: #777; font-size: 9px; font-weight: 700; }.cash-area input { width: 100%; height: 44px; margin-top: 6px; padding: 0 11px; }.change-box { padding: 8px 11px; border-radius: 9px; background: #f0f0ec; }.change-box small { color: #888; font-size: 8px; }.change-box strong { display: block; margin-top: 3px; font: 800 13px "Manrope"; }
.quick-cash { display: flex; margin: -6px 0 17px; gap: 6px; }.quick-cash button { padding: 6px 9px; border-radius: 6px; color: #666; background: #eeeeea; font-size: 9px; font-weight: 700; }
.customer-option { display: flex; width: 100%; padding: 11px 5px; align-items: center; gap: 10px; border-bottom: 1px solid #eee; background: #fff; text-align: left; }.customer-option:hover { background: #f8f8f5; }.customer-option .customer-avatar { width: 34px; height: 34px; }.customer-option span:nth-child(2) { display: grid; gap: 3px; flex: 1; }.customer-option strong { font-size: 10px; }.customer-option small { color: #999; font-size: 8px; }.customer-option svg { width: 15px; }
.picker-search { display: flex; height: 42px; margin-bottom: 10px; padding: 0 10px; align-items: center; gap: 8px; border: 1px solid var(--line); border-radius: 9px; }.picker-search input { width: 100%; padding: 0; border: 0; box-shadow: none; }.picker-search svg { width: 15px; }
.discount-choices { display: grid; grid-template-columns: 1fr 1fr; gap: 9px; }.discount-choices button { min-height: 50px; border: 1px solid var(--line); border-radius: 9px; background: #fff; font-weight: 700; }.discount-choices button.active { border-color: #222; background: #f5f5f1; }.discount-input { display: flex; margin: 14px 0; align-items: center; border: 1px solid var(--line); border-radius: 10px; }.discount-input input { width: 100%; height: 48px; padding: 0 13px; border: 0; box-shadow: none; }.discount-input span { padding-right: 13px; color: #888; font-weight: 800; }
.success-modal { text-align: center; }.success-check { display: grid; width: 64px; height: 64px; margin: 0 auto 16px; place-items: center; border-radius: 50%; color: var(--ink); background: var(--lime); }.success-check svg { width: 29px; height: 29px; stroke-width: 2.6; }.success-modal h2 { margin-bottom: 6px; font-size: 25px; }.success-modal > p { color: #777; font-size: 11px; }.success-details { display: grid; margin: 20px 0; padding: 13px 0; border-block: 1px solid var(--line); grid-template-columns: 1fr 1fr; }.success-details div + div { border-left: 1px solid var(--line); }.success-details span { display: block; color: #999; font-size: 8px; }.success-details strong { display: block; margin-top: 4px; font: 800 13px "Manrope"; }.success-actions { display: flex; gap: 9px; }.success-actions button { flex: 1; }
.receipt { width: 310px; margin: 0 auto; color: #222; font-family: monospace; }.receipt-head { text-align: center; }.receipt-head h2 { margin: 8px 0 4px; font-size: 18px; }.receipt-head p { margin: 0; font-size: 9px; line-height: 1.5; }.receipt-rule { margin: 13px 0; border-top: 1px dashed #999; }.receipt-meta { display: grid; gap: 4px; font-size: 9px; }.receipt-meta div, .receipt-line, .receipt-totals div { display: flex; justify-content: space-between; gap: 12px; }.receipt-items { display: grid; gap: 8px; }.receipt-line { font-size: 9px; }.receipt-line span:first-child { max-width: 195px; }.receipt-totals { display: grid; gap: 5px; font-size: 9px; }.receipt-totals .grand { margin-top: 3px; font-size: 12px; font-weight: 800; }.receipt-foot { text-align: center; font-size: 9px; line-height: 1.5; }
.toast-root { position: fixed; z-index: 200; right: 18px; bottom: 18px; display: grid; gap: 9px; }.toast { display: flex; min-width: 260px; max-width: 380px; padding: 13px 15px; align-items: center; gap: 9px; border-radius: 10px; color: #fff; background: #20201d; box-shadow: 0 15px 40px rgba(0,0,0,.2); font-size: 11px; animation: toast-in .22s ease; }.toast i { width: 7px; height: 7px; border-radius: 50%; background: var(--lime); }.toast.error i { background: #ff7979; }
@keyframes fade-in { from { opacity: 0; } }
@keyframes modal-in { from { opacity: 0; transform: translateY(14px) scale(.98); } }
@keyframes toast-in { from { opacity: 0; transform: translateY(10px); } }

@media (max-width: 1250px) {
  .product-grid { grid-template-columns: repeat(3,minmax(135px,1fr)); }
  .pos-layout { grid-template-columns: minmax(0,1fr) 340px; }
}
@media (max-width: 1020px) {
  :root { --sidebar: 205px; }
  .product-grid { grid-template-columns: repeat(2,minmax(135px,1fr)); }
  .global-search { width: 250px; }
  .metric-grid { grid-template-columns: repeat(2,1fr); }
  .customer-grid { grid-template-columns: repeat(2,1fr); }
}
@media (max-width: 850px) {
  .login-screen { grid-template-columns: 1fr; }.login-brand { display: none; }.mobile-wordmark { display: flex; }
  .app-shell { padding-left: 0; }
  .sidebar { left: -255px; width: 245px; transform: none; transition: left .25s ease; }.sidebar.open { left: 0; transform: none; }.sidebar-close { display: grid; }
  .sidebar-shade { position: fixed; z-index: 35; inset: 0; display: block; visibility: hidden; background: rgba(0,0,0,.45); opacity: 0; transition: .25s; }.sidebar-shade.open { visibility: visible; opacity: 1; }
  .mobile-menu { display: grid; }
  .pos-layout { grid-template-columns: minmax(0,1fr) 345px; }
  .catalog { padding: 22px 18px 50px; }
  .topbar { padding: 0 18px; }.global-search { width: 220px; }.live-clock { display: none; }
  .page-view { padding: 28px 22px 50px; }
}
@media (max-width: 700px) {
  .topbar { height: 68px; }.topbar h2 { font-size: 17px; }.topbar-actions { flex: 1; justify-content: flex-end; }.global-search { width: min(230px,58vw); }
  .pos-layout { display: block; min-height: calc(100vh - 68px); }.catalog { padding-bottom: 450px; }.product-grid { grid-template-columns: repeat(2,minmax(135px,1fr)); }
  .cart-panel { position: fixed; z-index: 30; top: auto; right: 0; bottom: 0; left: 0; height: auto; min-height: 0; max-height: 58vh; padding: 12px 17px 12px; border-top: 1px solid var(--line); border-left: 0; border-radius: 18px 18px 0 0; box-shadow: 0 -15px 35px rgba(0,0,0,.1); }
  .cart-heading, .customer-picker, .cart-items, .empty-cart, .cart-summary > div:not(.cart-total), .cart-summary > button, .cart-shortcuts { display: none; }.cart-summary { padding: 4px 0 9px; border: 0; }.cart-summary .cart-total { display: flex; }.checkout-button { min-height: 49px; }
  .cart-panel.expanded { height: 80vh; max-height: 80vh; }.cart-panel.expanded .cart-heading, .cart-panel.expanded .customer-picker, .cart-panel.expanded .cart-items { display: flex; }.cart-panel.expanded .cart-heading { flex-shrink: 0; }.cart-panel.expanded .customer-picker { flex-shrink: 0; }.cart-panel.expanded .cart-items { display: block; }.cart-panel.expanded .empty-cart:not(.hidden) { display: grid; }.cart-panel.expanded .cart-summary > div:not(.cart-total), .cart-panel.expanded .cart-summary > button { display: flex; }
  .page-heading { align-items: flex-start; flex-direction: column; }.page-heading > button, .page-heading > select { align-self: stretch; }
  .metric-grid, .mini-stat-grid { grid-template-columns: repeat(2,1fr); }.dashboard-grid, .reports-grid, .settings-layout { grid-template-columns: 1fr; }.connection-card { grid-column: auto; }
  .customer-grid { grid-template-columns: 1fr; }.table-toolbar { align-items: stretch; flex-direction: column; }.table-search { min-width: 0; }.table-toolbar select, .table-toolbar > input { width: 100%; }
}
@media (max-width: 470px) {
  .login-panel { padding: 28px; }.login-form h2 { font-size: 32px; }.mobile-wordmark { margin-bottom: 55px; }
  .topbar { padding: 0 12px; }.topbar-left .eyebrow { display: none; }.topbar h2 { margin: 0; }.global-search { width: 36px; padding: 0; justify-content: center; border: 0; background: transparent; }.global-search input, .global-search kbd { display: none; }.global-search svg { width: 19px; color: #333; }
  .admin-quick-add { width: 36px; min-height: 36px; padding: 0; border-radius: 9px; }.admin-quick-add span { display: none; }
  .catalog-toolbar { align-items: flex-start; }.catalog-toolbar .button { width: 40px; padding: 0; }.catalog-toolbar .button { font-size: 0; }.catalog-toolbar .button svg { margin: 0; }
  .catalog { padding: 18px 12px 430px; }.product-grid { gap: 9px; }.product-card { min-height: 173px; }.product-visual { height: 91px; }
  .page-view { padding: 23px 14px 45px; }.page-heading h1 { font-size: 26px; }
  .metric-grid, .mini-stat-grid { grid-template-columns: 1fr 1fr; gap: 9px; }.metric-card { padding: 14px; }.metric-card h3 { font-size: 17px; }.mini-stat { padding: 12px; }.mini-stat strong { font-size: 15px; }
  .modal-backdrop { padding: 10px; }.modal { max-height: calc(100vh - 20px); }.modal-header, .modal-body { padding-inline: 17px; }.modal-form, .cash-area { grid-template-columns: 1fr; }.modal-form label.full { grid-column: auto; }.payment-methods { grid-template-columns: repeat(2,1fr); }.success-actions { flex-direction: column; }
  .product-detail-hero { margin-inline: -17px; grid-template-columns: 82px minmax(0,1fr); gap: 14px; }.product-detail-visual { height: 88px; }.product-detail-copy h3 { font-size: 16px; }.product-detail-copy strong { font-size: 17px; }.admin-action-grid { grid-template-columns: 1fr; }
  .form-grid { grid-template-columns: 1fr; }.form-grid .span-2 { grid-column: auto; }.connection-card { align-items: flex-start; flex-wrap: wrap; }.connection-card .status-pill { margin-left: 65px; }
}
@media print {
  body > * { display: none !important; }
  #modalRoot { display: block !important; }
  .modal-backdrop { position: static; display: block; padding: 0; background: none; }
  .modal { width: 100%; max-height: none; box-shadow: none; }
  .modal-header, .receipt-actions { display: none !important; }
  .modal-body { padding: 0; }
  .receipt { width: 76mm; }
}
