/* ===== RESET & BASE ===== */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --bg: #faf7f3;
  --surface: #ffffff;
  --surface2: #f4f0ea;
  --border: #e8e0d5;
  --text: #1a1208;
  --text2: #6b5c45;
  --text3: #a0917d;
  --accent: #b8860b;
  --accent-lt: #f5e8c8;
  --accent-dk: #8b6508;
  --green: #2d7a4a;
  --green-lt: #d4eedf;
  --red: #c0392b;
  --red-lt: #fce8e6;
  --amber: #d97706;
  --amber-lt: #fef3c7;
  --wa: #25d366;
  --wa-dk: #128c7e;
  --bridal: #9b59b6;
  --bridal-lt: #f0e6f6;
  --shadow-sm: 0 1px 3px rgba(0,0,0,0.08);
  --shadow: 0 4px 16px rgba(0,0,0,0.10);
  --shadow-lg: 0 12px 40px rgba(0,0,0,0.16);
  --radius: 14px;
  --radius-sm: 8px;
  --nav-h: 72px;
  --top-h: 58px;
  --font-display: 'Cormorant Garamond', Georgia, serif;
  --font-body: 'DM Sans', sans-serif;
  --font-mono: 'DM Mono', monospace;
}

html, body {
  height: 100%;
  overflow: hidden;
  font-family: var(--font-body);
  background: var(--bg);
  color: var(--text);
  -webkit-font-smoothing: antialiased;
}

/* ===== APP SHELL ===== */
.app-shell {
  position: fixed;
  inset: 0;
  display: flex;
  flex-direction: column;
  max-width: 768px;
  margin: 0 auto;
  background: var(--bg);
}

/* ===== TOPBAR ===== */
.topbar {
  height: var(--top-h);
  background: var(--surface);
  border-bottom: 1px solid var(--border);
  display: flex;
  align-items: center;
  padding: 0 16px;
  gap: 12px;
  flex-shrink: 0;
  position: relative;
  z-index: 10;
}

.topbar-menu {
  width: 40px; height: 40px;
  background: var(--surface2);
  border: none;
  border-radius: var(--radius-sm);
  cursor: pointer;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 5px;
  flex-shrink: 0;
}
.topbar-menu span {
  display: block;
  width: 18px; height: 2px;
  background: var(--text);
  border-radius: 1px;
}

.topbar-title {
  flex: 1;
  font-family: var(--font-display);
  font-size: 20px;
  font-weight: 600;
  color: var(--text);
  letter-spacing: -0.3px;
}

.topbar-actions {
  display: flex;
  gap: 6px;
}

.topbar-btn {
  width: 40px; height: 40px;
  background: var(--surface2);
  border: none;
  border-radius: var(--radius-sm);
  cursor: pointer;
  font-size: 16px;
  position: relative;
  display: flex; align-items: center; justify-content: center;
}
.topbar-btn.notif .notif-dot {
  position: absolute;
  top: 8px; right: 8px;
  width: 8px; height: 8px;
  background: var(--red);
  border-radius: 50%;
  border: 2px solid var(--surface);
}

/* ===== FLOATING PANELS ===== */
.floating-panel {
  position: fixed;
  top: var(--top-h);
  right: 0;
  width: 100%;
  max-width: 768px;
  background: var(--surface);
  border-bottom: 1px solid var(--border);
  z-index: 50;
  transform: translateY(-100%);
  opacity: 0;
  pointer-events: none;
  transition: all 0.25s cubic-bezier(0.4,0,0.2,1);
  box-shadow: var(--shadow);
}
.floating-panel.open {
  transform: translateY(0);
  opacity: 1;
  pointer-events: all;
}
.panel-inner { padding: 16px; }
.panel-head { font-weight: 600; margin-bottom: 12px; font-size: 15px; }

.search-input {
  width: 100%;
  padding: 10px 14px;
  border: 1.5px solid var(--border);
  border-radius: var(--radius-sm);
  font-family: var(--font-body);
  font-size: 14px;
  background: var(--surface2);
  color: var(--text);
  outline: none;
}
.search-input:focus { border-color: var(--accent); }
.search-recents { margin-top: 12px; }
.sr-label { font-size: 11px; text-transform: uppercase; letter-spacing: 1px; color: var(--text3); margin-bottom: 6px; }
.sr-item { padding: 8px 0; border-bottom: 1px solid var(--border); font-size: 13px; color: var(--text2); cursor: pointer; }
.sr-item:last-child { border-bottom: none; }

.notif-item {
  display: flex; gap: 12px; align-items: flex-start;
  padding: 10px 0; border-bottom: 1px solid var(--border);
}
.notif-item:last-child { border-bottom: none; }
.notif-item.warn .ni-icon { color: var(--amber); }
.ni-icon { font-size: 18px; width: 24px; text-align: center; padding-top: 1px; }
.ni-title { font-weight: 600; font-size: 13px; }
.ni-sub { font-size: 12px; color: var(--text3); margin-top: 2px; }

/* ===== APP DRAWER ===== */
.drawer-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.4);
  z-index: 90;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s;
  backdrop-filter: blur(2px);
}
.drawer-overlay.open { opacity: 1; pointer-events: all; }

.app-drawer {
  position: fixed;
  top: 0; left: 0;
  width: 300px;
  height: 100%;
  background: var(--surface);
  z-index: 100;
  display: flex;
  flex-direction: column;
  transform: translateX(-100%);
  transition: transform 0.3s cubic-bezier(0.4,0,0.2,1);
  box-shadow: var(--shadow-lg);
  overflow-y: auto;
}
.app-drawer.open { transform: translateX(0); }

.drawer-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 16px 16px;
  border-bottom: 1px solid var(--border);
  background: linear-gradient(135deg, #1a1208, #3a2a10);
  flex-shrink: 0;
}
.drawer-brand { display: flex; align-items: center; gap: 12px; }
.brand-icon { font-size: 24px; color: var(--accent); }
.brand-name { font-family: var(--font-display); font-size: 22px; font-weight: 700; color: #fff; }
.brand-sub { font-size: 10px; text-transform: uppercase; letter-spacing: 1.5px; color: rgba(255,255,255,0.5); }
.drawer-close {
  background: rgba(255,255,255,0.15);
  border: none;
  color: #fff;
  width: 32px; height: 32px;
  border-radius: 50%;
  cursor: pointer;
  font-size: 14px;
}

.drawer-profile {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 14px 16px;
  background: var(--surface2);
  border-bottom: 1px solid var(--border);
}
.profile-avatar {
  width: 42px; height: 42px;
  background: var(--accent);
  color: #fff;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-weight: 700; font-size: 14px;
  flex-shrink: 0;
}
.profile-name { font-weight: 600; font-size: 14px; }
.profile-loc { font-size: 11px; color: var(--text3); }
.profile-badge {
  margin-left: auto;
  background: var(--accent);
  color: #fff;
  font-size: 10px;
  font-weight: 700;
  padding: 3px 8px;
  border-radius: 20px;
  letter-spacing: 1px;
}

.drawer-nav { flex: 1; padding: 8px 0; overflow-y: auto; }
.drawer-section-label {
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 1.5px;
  color: var(--text3);
  padding: 12px 16px 4px;
  text-transform: uppercase;
}
.drawer-item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 11px 16px;
  font-size: 14px;
  font-weight: 500;
  color: var(--text2);
  cursor: pointer;
  border-radius: 0;
  text-decoration: none;
  transition: all 0.15s;
  position: relative;
}
.drawer-item:hover, .drawer-item.active {
  background: var(--accent-lt);
  color: var(--accent-dk);
}
.drawer-item.active { font-weight: 600; }
.drawer-item.active::before {
  content: '';
  position: absolute;
  left: 0; top: 0; bottom: 0;
  width: 3px;
  background: var(--accent);
  border-radius: 0 2px 2px 0;
}
.di-icon { font-size: 16px; opacity: 0.8; width: 20px; text-align: center; }
.di-badge {
  margin-left: auto;
  font-size: 10px;
  font-weight: 700;
  padding: 2px 7px;
  border-radius: 20px;
  background: var(--red);
  color: #fff;
  letter-spacing: 0.5px;
}
.di-badge.warn { background: var(--amber); }
.di-badge.new { background: var(--green); }

.drawer-footer {
  padding: 16px;
  border-top: 1px solid var(--border);
  background: var(--surface2);
  flex-shrink: 0;
}
.plan-label { font-size: 13px; font-weight: 600; }
.plan-renew { font-size: 11px; color: var(--text3); margin-top: 2px; }

/* ===== SCREENS ===== */
.screen {
  display: none;
  flex: 1;
  overflow: hidden;
  flex-direction: column;
}
.screen.active { display: flex; }

.screen-scroll {
  flex: 1;
  overflow-y: auto;
  padding: 16px 16px calc(var(--nav-h) + 16px);
  -webkit-overflow-scrolling: touch;
}

/* ===== SCREEN HERO ===== */
.screen-hero {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 20px;
}
.hero-label {
  font-family: var(--font-display);
  font-size: 26px;
  font-weight: 700;
  letter-spacing: -0.5px;
}
.hero-sub { font-size: 13px; color: var(--text3); margin-top: 2px; }
.hero-action {
  background: var(--accent);
  color: #fff;
  border: none;
  padding: 9px 18px;
  border-radius: 30px;
  font-family: var(--font-body);
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  white-space: nowrap;
  flex-shrink: 0;
}
.hero-action.wa { background: var(--wa); }

/* ===== DASHBOARD ===== */
.dash-greeting {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 20px;
  padding: 18px;
  background: linear-gradient(135deg, #1a1208, #3a2a10);
  border-radius: var(--radius);
  color: #fff;
}
.dg-hi { font-size: 12px; text-transform: uppercase; letter-spacing: 1.5px; color: rgba(255,255,255,0.6); }
.dg-name { font-family: var(--font-display); font-size: 22px; font-weight: 600; margin-top: 3px; }
.dg-date { font-size: 12px; color: rgba(255,255,255,0.5); }

.stats-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin-bottom: 24px;
}
.stat-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 14px;
  cursor: pointer;
  transition: all 0.15s;
}
.stat-card:active { transform: scale(0.97); }
.stat-card.accent { background: var(--accent); border-color: var(--accent); }
.stat-card.accent .sc-label { color: rgba(255,255,255,0.7); }
.stat-card.accent .sc-value { color: #fff; }
.stat-card.warn { border-color: var(--amber); background: var(--amber-lt); }
.sc-label { font-size: 11px; text-transform: uppercase; letter-spacing: 1px; color: var(--text3); font-weight: 600; }
.sc-value { font-family: var(--font-display); font-size: 26px; font-weight: 700; margin: 4px 0 2px; color: var(--text); line-height: 1; }
.stat-card.accent .sc-value { color: #fff; }
.sc-delta { font-size: 11px; color: var(--text3); }
.sc-delta.up { color: var(--green); }
.sc-delta.warn-txt, .warn-txt { color: var(--amber) !important; }

.section-title {
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--text2);
  margin-bottom: 10px;
}

/* Schedule */
.schedule-list { margin-bottom: 24px; }
.sched-item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 0;
  border-bottom: 1px solid var(--border);
}
.sched-item:last-child { border-bottom: none; }
.sched-item.now { background: linear-gradient(90deg, var(--accent-lt), transparent); margin: 0 -16px; padding: 10px 16px; border-radius: 8px; border: none; }
.sched-time { font-family: var(--font-mono); font-size: 13px; color: var(--text2); min-width: 40px; }
.sched-dot {
  width: 10px; height: 10px;
  border-radius: 50%;
  flex-shrink: 0;
}
.sched-dot.bridal { background: var(--bridal); }
.sched-dot.rental { background: var(--amber); }
.sched-dot.now { background: var(--accent); box-shadow: 0 0 0 3px var(--accent-lt); }
.sched-dot.billing { background: var(--green); }
.sched-info { flex: 1; }
.si-name { font-size: 13px; font-weight: 500; }
.si-sub { font-size: 11px; color: var(--text3); margin-top: 1px; }
.sched-tag {
  font-size: 10px;
  font-weight: 700;
  padding: 3px 8px;
  border-radius: 20px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}
.sched-tag.bridal { background: var(--bridal-lt); color: var(--bridal); }
.sched-tag.rental { background: var(--amber-lt); color: var(--amber); }
.sched-tag.now { background: var(--accent); color: #fff; }
.sched-tag.billing { background: var(--green-lt); color: var(--green); }

/* Quick Actions */
.quick-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  margin-bottom: 24px;
}
.qa-btn {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 14px 8px;
  cursor: pointer;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  transition: all 0.15s;
}
.qa-btn:active { transform: scale(0.95); background: var(--accent-lt); }
.qa-icon { font-size: 22px; }
.qa-label { font-size: 11px; font-weight: 600; color: var(--text2); text-align: center; }

/* Transactions */
.txn-list { margin-bottom: 24px; }
.txn-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 0;
  border-bottom: 1px solid var(--border);
  cursor: pointer;
}
.txn-item:last-child { border-bottom: none; }
.txn-avatar {
  width: 38px; height: 38px;
  border-radius: 50%;
  background: var(--accent-lt);
  color: var(--accent-dk);
  display: flex; align-items: center; justify-content: center;
  font-size: 12px; font-weight: 700;
  flex-shrink: 0;
}
.txn-info { flex: 1; }
.ti-name { font-size: 13px; font-weight: 600; }
.ti-sub { font-size: 11px; color: var(--text3); margin-top: 2px; }
.txn-right { text-align: right; }
.txn-amt { font-weight: 700; font-size: 14px; font-family: var(--font-mono); }
.txn-status {
  display: inline-block;
  font-size: 10px;
  font-weight: 700;
  padding: 2px 7px;
  border-radius: 20px;
  margin-top: 3px;
}
.txn-status.paid { background: var(--green-lt); color: var(--green); }
.txn-status.pending { background: var(--amber-lt); color: var(--amber); }

/* ===== TABS ===== */
.tab-bar {
  display: flex;
  gap: 4px;
  margin-bottom: 16px;
  overflow-x: auto;
  scrollbar-width: none;
  padding: 4px;
  background: var(--surface2);
  border-radius: 30px;
}
.tab-bar::-webkit-scrollbar { display: none; }
.tab {
  flex-shrink: 0;
  padding: 7px 16px;
  border: none;
  border-radius: 30px;
  background: transparent;
  font-family: var(--font-body);
  font-size: 13px;
  font-weight: 500;
  color: var(--text2);
  cursor: pointer;
  transition: all 0.15s;
  white-space: nowrap;
}
.tab.active {
  background: var(--surface);
  color: var(--text);
  font-weight: 600;
  box-shadow: var(--shadow-sm);
}

/* ===== BILLING ===== */
.billing-stats {
  display: flex;
  gap: 10px;
  margin-bottom: 20px;
  overflow-x: auto;
  scrollbar-width: none;
}
.bs-card {
  flex-shrink: 0;
  min-width: 120px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 14px;
}
.bs-card.warn { border-color: var(--red); background: var(--red-lt); }
.bsc-l { font-size: 11px; color: var(--text3); font-weight: 600; text-transform: uppercase; letter-spacing: 0.8px; }
.bsc-v { font-family: var(--font-display); font-size: 20px; font-weight: 700; margin-top: 4px; }

.invoice-list {}
.inv-item {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  padding: 14px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  margin-bottom: 8px;
  cursor: pointer;
  transition: all 0.15s;
}
.inv-item:active { background: var(--surface2); }
.inv-num { font-family: var(--font-mono); font-size: 12px; color: var(--text3); }
.inv-cust { font-weight: 600; font-size: 14px; margin: 3px 0; }
.inv-date { font-size: 11px; color: var(--text3); }
.inv-right { text-align: right; }
.inv-amt { font-family: var(--font-display); font-size: 18px; font-weight: 700; }
.inv-tag {
  display: inline-block;
  font-size: 10px;
  font-weight: 700;
  padding: 2px 8px;
  border-radius: 20px;
  text-transform: uppercase;
  margin: 4px 0;
}
.inv-tag.paid { background: var(--green-lt); color: var(--green); }
.inv-tag.partial { background: var(--amber-lt); color: var(--amber); }
.inv-tag.overdue { background: var(--red-lt); color: var(--red); }
.inv-tag.pending { background: var(--amber-lt); color: var(--amber); }
.inv-items { font-size: 11px; color: var(--text3); }

/* ===== INVENTORY ===== */
.inv-summary {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
  margin-bottom: 16px;
}
.is-card { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-sm); padding: 12px; text-align: center; }
.is-card.warn { border-color: var(--amber); background: var(--amber-lt); }
.isc-n { font-size: 10px; color: var(--text3); font-weight: 600; text-transform: uppercase; letter-spacing: 0.8px; }
.isc-v { font-family: var(--font-display); font-size: 20px; font-weight: 700; margin-top: 4px; }

.low-stock-alert {
  background: var(--amber-lt);
  border: 1px solid var(--amber);
  border-radius: var(--radius);
  padding: 12px 14px;
  margin-bottom: 16px;
}
.lsa-title { font-size: 12px; font-weight: 700; color: var(--amber); margin-bottom: 8px; }
.lsa-item {
  display: flex;
  justify-content: space-between;
  font-size: 12px;
  padding: 4px 0;
  border-bottom: 1px solid rgba(217,119,6,0.2);
}
.lsa-item:last-child { border-bottom: none; }
.lsa-qty { font-weight: 700; color: var(--amber); }

.product-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}
.prod-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  cursor: pointer;
  transition: all 0.15s;
}
.prod-card:active { transform: scale(0.97); }
.prod-img {
  height: 100px;
  position: relative;
  display: flex;
  align-items: flex-start;
  justify-content: flex-end;
  padding: 8px;
}
.prod-badge {
  font-size: 10px;
  font-weight: 700;
  padding: 3px 8px;
  border-radius: 20px;
  background: rgba(255,255,255,0.9);
  color: var(--green);
}
.prod-badge.warn { color: var(--amber); }
.prod-badge.out { color: var(--red); }
.prod-body { padding: 10px 12px; }
.prod-name { font-size: 13px; font-weight: 600; }
.prod-meta { font-size: 11px; color: var(--text3); margin: 3px 0; }
.prod-stock { font-size: 11px; font-weight: 700; }
.prod-stock.ok { color: var(--green); }
.prod-stock.warn { color: var(--amber); }
.prod-stock.out { color: var(--red); }

/* ===== WHATSAPP ===== */
.wa-hero { background: linear-gradient(135deg, var(--wa-dk), var(--wa)); padding: 16px; border-radius: var(--radius); margin-bottom: 16px; }
.wa-hero .hero-label { color: #fff; font-size: 22px; }
.wa-hero .hero-sub { color: rgba(255,255,255,0.8); }

.wa-stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 8px;
  margin-bottom: 20px;
}
.was-item { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-sm); padding: 12px 6px; text-align: center; }
.wasi-v { font-family: var(--font-display); font-size: 20px; font-weight: 700; }
.wasi-l { font-size: 10px; color: var(--text3); font-weight: 600; margin-top: 2px; text-transform: uppercase; letter-spacing: 0.5px; }

.flow-list { margin-bottom: 20px; }
.flow-card {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 14px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  margin-bottom: 8px;
}
.fc-dot { width: 10px; height: 10px; border-radius: 50%; flex-shrink: 0; }
.fc-dot.on { background: var(--wa); box-shadow: 0 0 0 3px rgba(37,211,102,0.2); }
.fc-dot.off { background: var(--text3); }
.fc-body { flex: 1; }
.fc-name { font-size: 13px; font-weight: 600; }
.fc-desc { font-size: 11px; color: var(--text3); margin-top: 2px; }
.fc-toggle {
  font-size: 11px;
  font-weight: 700;
  padding: 5px 12px;
  border-radius: 20px;
  border: none;
  cursor: pointer;
  background: var(--surface2);
  color: var(--text3);
  letter-spacing: 0.5px;
  transition: all 0.2s;
}
.fc-toggle.on { background: var(--green-lt); color: var(--green); }

.chat-list {}
.chat-item {
  display: flex;
  gap: 12px;
  padding: 12px 0;
  border-bottom: 1px solid var(--border);
  cursor: pointer;
}
.chat-item:last-child { border-bottom: none; }
.chat-avatar {
  width: 44px; height: 44px;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 14px; font-weight: 700;
  flex-shrink: 0;
  color: #fff;
}
.chat-avatar.wa-av { background: var(--wa-dk); }
.chat-avatar.grey { background: var(--text3); }
.chat-body { flex: 1; }
.cb-name { font-size: 14px; font-weight: 600; }
.cb-msg { font-size: 12px; color: var(--text3); margin-top: 2px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; max-width: 200px; }
.chat-meta { text-align: right; }
.cm-time { font-size: 11px; color: var(--text3); }
.cm-badge {
  display: inline-block;
  background: var(--wa);
  color: #fff;
  font-size: 11px;
  font-weight: 700;
  width: 20px; height: 20px;
  border-radius: 50%;
  text-align: center;
  line-height: 20px;
  margin-top: 4px;
}

/* ===== BRIDAL ===== */
.bridal-hero { background: linear-gradient(135deg, var(--bridal), #c49ade) !important; padding: 16px; border-radius: var(--radius); margin-bottom: 16px; }
.bridal-hero .hero-label { color: #fff; font-size: 22px; }
.bridal-hero .hero-sub { color: rgba(255,255,255,0.8); }

.bridal-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
  margin-bottom: 20px;
}
.brs-item { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-sm); padding: 12px 8px; text-align: center; }
.brsi-v { font-family: var(--font-display); font-size: 22px; font-weight: 700; }
.brsi-l { font-size: 10px; color: var(--text3); font-weight: 600; margin-top: 2px; text-transform: uppercase; letter-spacing: 0.5px; }

.appt-list { margin-bottom: 20px; }
.appt-card {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  padding: 14px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  margin-bottom: 8px;
  cursor: pointer;
}
.appt-time-col { text-align: center; min-width: 36px; }
.atc-time { font-family: var(--font-mono); font-size: 14px; font-weight: 700; }
.atc-dur { font-size: 10px; color: var(--text3); margin-top: 2px; }
.appt-body { flex: 1; }
.ab-name { font-size: 14px; font-weight: 600; }
.ab-type { font-size: 12px; color: var(--text3); margin-top: 2px; }
.ab-tags { display: flex; gap: 6px; margin-top: 6px; flex-wrap: wrap; }
.appt-tag {
  font-size: 10px;
  font-weight: 600;
  padding: 2px 8px;
  border-radius: 20px;
  background: var(--bridal-lt);
  color: var(--bridal);
}
.appt-status { font-size: 18px; }
.appt-status.confirmed { color: var(--green); }
.appt-status.pending { color: var(--text3); }

.bride-list {}
.bride-item {
  display: flex;
  gap: 12px;
  padding: 14px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  margin-bottom: 8px;
  cursor: pointer;
}
.bride-avatar {
  width: 44px; height: 44px;
  border-radius: 50%;
  background: var(--bridal-lt);
  color: var(--bridal);
  display: flex; align-items: center; justify-content: center;
  font-weight: 700; font-size: 14px;
  flex-shrink: 0;
}
.bride-info { flex: 1; }
.bri-name { font-size: 14px; font-weight: 600; }
.bri-wed { font-size: 12px; color: var(--text3); margin-top: 2px; margin-bottom: 8px; }
.bri-progress-bar { height: 4px; background: var(--border); border-radius: 2px; margin-bottom: 6px; overflow: hidden; }
.bri-progress { height: 100%; background: var(--bridal); border-radius: 2px; }
.bri-stages { display: flex; gap: 4px; flex-wrap: wrap; }
.bs {
  font-size: 9px;
  padding: 2px 7px;
  border-radius: 20px;
  background: var(--surface2);
  color: var(--text3);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.3px;
}
.bs.active { background: var(--bridal-lt); color: var(--bridal); }
.bs.current { background: var(--bridal); color: #fff; }

/* ===== RENTAL ===== */
.rental-hero { background: linear-gradient(135deg, #b8860b, #d4a017) !important; padding: 16px; border-radius: var(--radius); margin-bottom: 16px; }
.rental-hero .hero-label { color: #fff; font-size: 22px; }
.rental-hero .hero-sub { color: rgba(255,255,255,0.8); }

.rental-stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 8px;
  margin-bottom: 16px;
}
.rs-card { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-sm); padding: 10px 6px; text-align: center; }
.rs-card.warn { border-color: var(--red); background: var(--red-lt); }
.rsc-v { font-family: var(--font-display); font-size: 18px; font-weight: 700; }
.rsc-l { font-size: 9px; color: var(--text3); font-weight: 600; margin-top: 2px; text-transform: uppercase; letter-spacing: 0.5px; }

.rental-item {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 14px;
  margin-bottom: 10px;
  cursor: pointer;
}
.rental-item.overdue { border-color: var(--red); background: var(--red-lt); }
.rental-item.active-rental { border-color: var(--green); }
.ri-header { display: flex; align-items: center; justify-content: space-between; margin-bottom: 8px; }
.ri-code { font-family: var(--font-mono); font-size: 12px; color: var(--text3); }
.ri-status { font-size: 10px; font-weight: 700; padding: 3px 10px; border-radius: 20px; text-transform: uppercase; letter-spacing: 0.5px; }
.ri-status.overdue-tag { background: var(--red); color: #fff; }
.ri-status.due-tag { background: var(--amber); color: #fff; }
.ri-status.active-tag { background: var(--green-lt); color: var(--green); }
.rib-name { font-size: 14px; font-weight: 600; }
.rib-item { font-size: 12px; color: var(--text3); margin-top: 3px; }
.rib-dates { display: flex; align-items: center; gap: 6px; margin-top: 6px; font-size: 12px; color: var(--text2); }
.rib-sep { color: var(--text3); }
.ri-actions { display: flex; gap: 8px; margin-top: 12px; }
.ri-btn {
  flex: 1;
  padding: 8px 12px;
  border: 1.5px solid var(--border);
  border-radius: 30px;
  background: transparent;
  font-family: var(--font-body);
  font-size: 12px;
  font-weight: 600;
  cursor: pointer;
  color: var(--text2);
  transition: all 0.15s;
}
.ri-btn.primary { background: var(--accent); border-color: var(--accent); color: #fff; }

/* ===== CUSTOMERS ===== */
.search-bar-inline { margin-bottom: 14px; }
.sbi-input {
  width: 100%;
  padding: 10px 14px;
  border: 1.5px solid var(--border);
  border-radius: 30px;
  font-family: var(--font-body);
  font-size: 13px;
  background: var(--surface);
  outline: none;
}
.sbi-input:focus { border-color: var(--accent); }

.cust-list {}
.cust-item {
  display: flex;
  gap: 12px;
  align-items: center;
  padding: 12px 0;
  border-bottom: 1px solid var(--border);
  cursor: pointer;
}
.cust-item:last-child { border-bottom: none; }
.cust-avatar {
  width: 44px; height: 44px;
  border-radius: 50%;
  color: #fff;
  display: flex; align-items: center; justify-content: center;
  font-weight: 700; font-size: 14px;
  flex-shrink: 0;
}
.cust-info { flex: 1; }
.ci-name { font-size: 14px; font-weight: 600; }
.ci-meta { font-size: 11px; color: var(--text3); margin-top: 2px; }
.ci-tags { display: flex; gap: 4px; margin-top: 5px; }
.ctag {
  font-size: 10px;
  font-weight: 600;
  padding: 2px 7px;
  border-radius: 20px;
  background: var(--surface2);
  color: var(--text2);
}
.ctag.bridal { background: var(--bridal-lt); color: var(--bridal); }
.ctag.rental { background: var(--amber-lt); color: var(--amber); }
.cust-val { font-family: var(--font-display); font-size: 16px; font-weight: 700; }

/* ===== SUPPLIERS ===== */
.supplier-list {}
.supplier-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 14px;
  margin-bottom: 10px;
  cursor: pointer;
}
.supc-header { display: flex; align-items: center; justify-content: space-between; margin-bottom: 6px; }
.supc-name { font-size: 14px; font-weight: 600; }
.supc-tag { font-size: 10px; font-weight: 600; padding: 2px 8px; border-radius: 20px; background: var(--accent-lt); color: var(--accent-dk); }
.supc-meta { font-size: 12px; color: var(--text3); margin-bottom: 8px; }
.supc-row { display: flex; justify-content: space-between; font-size: 12px; padding: 3px 0; }

/* ===== REPORTS ===== */
.report-cards {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin-bottom: 20px;
}
.rep-card { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: 16px; }
.rc-label { font-size: 11px; text-transform: uppercase; letter-spacing: 1px; color: var(--text3); font-weight: 600; }
.rc-value { font-family: var(--font-display); font-size: 24px; font-weight: 700; margin: 6px 0 2px; }
.rc-delta { font-size: 11px; color: var(--green); }

.chart-placeholder {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 16px;
  margin-bottom: 20px;
}
.cp-label { font-size: 12px; font-weight: 600; color: var(--text2); margin-bottom: 16px; }
.chart-bars { display: flex; align-items: flex-end; gap: 6px; height: 80px; }
.bar-group { flex: 1; display: flex; flex-direction: column; align-items: center; gap: 4px; height: 100%; }
.bar {
  width: 100%;
  background: var(--accent-lt);
  border-radius: 4px 4px 0 0;
  border-bottom: 2px solid var(--accent);
  flex-shrink: 0;
  transition: all 0.3s;
}
.bar.today { background: var(--accent); border-color: var(--accent-dk); }
.bl { font-size: 9px; color: var(--text3); }
.today-l { color: var(--accent); font-weight: 700; }

.top-prod-list {}
.tp-item { display: flex; align-items: center; gap: 12px; padding: 10px 0; border-bottom: 1px solid var(--border); }
.tp-item:last-child { border-bottom: none; }
.tp-rank { width: 24px; height: 24px; border-radius: 50%; background: var(--accent); color: #fff; display: flex; align-items: center; justify-content: center; font-size: 12px; font-weight: 700; flex-shrink: 0; }
.tp-info { flex: 1; }
.tpi-name { font-size: 13px; font-weight: 600; }
.tpi-qty { font-size: 11px; color: var(--text3); }
.tp-rev { font-family: var(--font-mono); font-size: 13px; font-weight: 700; }

/* ===== STAFF ===== */
.staff-list {}
.staff-item { display: flex; gap: 12px; align-items: center; padding: 14px 0; border-bottom: 1px solid var(--border); cursor: pointer; }
.staff-item:last-child { border-bottom: none; }
.staff-avatar { width: 44px; height: 44px; border-radius: 50%; background: var(--accent-lt); color: var(--accent-dk); display: flex; align-items: center; justify-content: center; font-weight: 700; font-size: 14px; flex-shrink: 0; }
.staff-info { flex: 1; }
.sti-name { font-size: 14px; font-weight: 600; }
.sti-role { font-size: 12px; color: var(--text3); margin-top: 2px; }
.sti-meta { font-size: 11px; color: var(--text3); margin-top: 2px; }
.staff-status { font-size: 10px; font-weight: 700; padding: 4px 10px; border-radius: 20px; letter-spacing: 1px; }
.staff-status.on { background: var(--green-lt); color: var(--green); }
.staff-status.off { background: var(--surface2); color: var(--text3); }

/* ===== BOTTOM NAV ===== */
.bottom-nav {
  position: fixed;
  bottom: 0; left: 0; right: 0;
  height: var(--nav-h);
  background: var(--surface);
  border-top: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: space-around;
  padding: 0 8px;
  z-index: 20;
  max-width: 768px;
  margin: 0 auto;
  box-shadow: 0 -4px 20px rgba(0,0,0,0.06);
}

.bn-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 3px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px 16px;
  border-radius: var(--radius-sm);
  transition: all 0.15s;
  flex: 1;
}
.bn-icon { font-size: 20px; color: var(--text3); transition: color 0.15s; }
.bn-label { font-size: 10px; font-weight: 600; color: var(--text3); transition: color 0.15s; letter-spacing: 0.3px; }
.bn-item.active .bn-icon, .bn-item.active .bn-label { color: var(--accent); }

.bn-fab {
  background: var(--accent);
  border: none;
  width: 56px; height: 56px;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  cursor: pointer;
  box-shadow: 0 4px 16px rgba(184,134,11,0.4);
  flex-shrink: 0;
  transition: all 0.15s;
  margin: 0 4px;
}
.bn-fab:active { transform: scale(0.92); }
.fab-inner { font-size: 28px; color: #fff; line-height: 1; margin-top: -2px; }

/* ===== BOTTOM SHEETS ===== */
.sheet-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.4);
  z-index: 40;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s;
  backdrop-filter: blur(2px);
}
.sheet-overlay.open { opacity: 1; pointer-events: all; }

.bottom-sheet {
  position: fixed;
  bottom: 0; left: 0; right: 0;
  background: var(--surface);
  border-radius: 24px 24px 0 0;
  z-index: 50;
  max-width: 768px;
  margin: 0 auto;
  transform: translateY(100%);
  transition: transform 0.35s cubic-bezier(0.4,0,0.2,1);
  max-height: 80vh;
  display: flex;
  flex-direction: column;
  box-shadow: var(--shadow-lg);
}
.bottom-sheet.tall { max-height: 90vh; }
.bottom-sheet.open { transform: translateY(0); }

.sheet-handle {
  width: 40px; height: 4px;
  background: var(--border);
  border-radius: 2px;
  margin: 10px auto 0;
  flex-shrink: 0;
}

.sheet-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 20px 12px;
  border-bottom: 1px solid var(--border);
  flex-shrink: 0;
}
.sh-title {
  font-family: var(--font-display);
  font-size: 20px;
  font-weight: 600;
  letter-spacing: -0.3px;
}
.sh-close {
  width: 32px; height: 32px;
  border-radius: 50%;
  background: var(--surface2);
  border: none;
  cursor: pointer;
  font-size: 14px;
  color: var(--text2);
}

.sheet-body {
  overflow-y: auto;
  padding: 16px 20px;
  flex: 1;
  -webkit-overflow-scrolling: touch;
}
.sheet-body.no-pad { padding: 0; display: flex; flex-direction: column; }

/* ===== FORMS ===== */
.form-field { margin-bottom: 14px; }
.form-field label {
  display: block;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.8px;
  color: var(--text3);
  margin-bottom: 6px;
}
.form-input, .form-select, .form-textarea {
  width: 100%;
  padding: 10px 14px;
  border: 1.5px solid var(--border);
  border-radius: var(--radius-sm);
  font-family: var(--font-body);
  font-size: 14px;
  background: var(--surface2);
  color: var(--text);
  outline: none;
  transition: border-color 0.15s;
  appearance: none;
}
.form-input:focus, .form-select:focus, .form-textarea:focus { border-color: var(--accent); background: var(--surface); }
.form-textarea { resize: vertical; min-height: 80px; }
.form-row { display: flex; gap: 10px; }
.form-field.half { flex: 1; min-width: 0; }

.item-adder {}
.added-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 12px;
  background: var(--surface2);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  font-size: 13px;
  margin-bottom: 6px;
}
.ai-right { display: flex; align-items: center; gap: 8px; font-weight: 600; }
.ai-del {
  background: none;
  border: none;
  cursor: pointer;
  color: var(--text3);
  font-size: 12px;
}
.add-item-btn {
  width: 100%;
  padding: 9px;
  border: 1.5px dashed var(--border);
  border-radius: var(--radius-sm);
  background: transparent;
  font-family: var(--font-body);
  font-size: 13px;
  color: var(--accent);
  font-weight: 600;
  cursor: pointer;
}

.bill-total-row {
  display: flex;
  justify-content: space-between;
  padding: 6px 0;
  font-size: 13px;
  color: var(--text2);
  border-bottom: 1px solid var(--border);
}
.bill-total-row:last-of-type { border-bottom: none; }
.bill-total-row.bold { font-weight: 700; font-size: 15px; color: var(--text); margin-top: 4px; padding-top: 8px; border-top: 1.5px solid var(--border); }

.payment-modes { display: flex; gap: 6px; flex-wrap: wrap; }
.payment-modes.wrap { flex-wrap: wrap; }
.pm-btn {
  padding: 7px 14px;
  border: 1.5px solid var(--border);
  border-radius: 30px;
  background: transparent;
  font-family: var(--font-body);
  font-size: 12px;
  font-weight: 600;
  cursor: pointer;
  color: var(--text2);
  transition: all 0.15s;
}
.pm-btn.active { background: var(--accent); border-color: var(--accent); color: #fff; }

.size-chips { display: flex; gap: 6px; flex-wrap: wrap; }
.size-chip {
  padding: 6px 14px;
  border: 1.5px solid var(--border);
  border-radius: 30px;
  background: transparent;
  font-family: var(--font-body);
  font-size: 12px;
  font-weight: 600;
  cursor: pointer;
  color: var(--text2);
  transition: all 0.15s;
}
.size-chip.active { background: var(--accent-lt); border-color: var(--accent); color: var(--accent-dk); }

.sheet-actions {
  display: flex;
  gap: 8px;
  margin-top: 20px;
  padding-top: 16px;
  border-top: 1px solid var(--border);
  flex-wrap: wrap;
}
.sa-btn {
  flex: 1;
  min-width: 100px;
  padding: 12px 16px;
  border-radius: 30px;
  font-family: var(--font-body);
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  border: 1.5px solid var(--border);
  background: transparent;
  color: var(--text2);
  transition: all 0.15s;
}
.sa-btn.primary { background: var(--accent); border-color: var(--accent); color: #fff; }
.sa-btn.secondary { background: var(--surface2); border-color: var(--border); }
.sa-btn:active { transform: scale(0.97); }

/* ===== SHEET-SPECIFIC ===== */
.inv-detail-header { display: flex; align-items: flex-start; justify-content: space-between; margin-bottom: 16px; padding-bottom: 14px; border-bottom: 1px solid var(--border); }
.idh-name { font-size: 16px; font-weight: 600; }
.idh-sub { font-size: 12px; color: var(--text3); margin-top: 3px; }
.inv-items-list { margin-bottom: 12px; }
.iil-item { display: flex; justify-content: space-between; font-size: 13px; padding: 6px 0; border-bottom: 1px solid var(--border); }

.template-item {
  background: var(--surface2);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 12px;
  margin-bottom: 10px;
}
.tpl-name { font-size: 13px; font-weight: 600; margin-bottom: 6px; }
.tpl-msg { font-size: 12px; color: var(--text2); line-height: 1.5; margin-bottom: 10px; }
.tpl-actions { display: flex; gap: 6px; }
.tpl-btn {
  padding: 5px 14px;
  border-radius: 20px;
  border: 1.5px solid var(--border);
  background: transparent;
  font-size: 11px;
  font-weight: 600;
  cursor: pointer;
  color: var(--text2);
}
.tpl-btn.primary { background: var(--green-lt); border-color: var(--green); color: var(--green); }
.tpl-btn.off { background: var(--surface2); color: var(--text3); }

.bride-profile-head { display: flex; gap: 14px; align-items: center; margin-bottom: 16px; padding-bottom: 14px; border-bottom: 1px solid var(--border); }
.bph-avatar { width: 52px; height: 52px; border-radius: 50%; background: var(--bridal-lt); color: var(--bridal); display: flex; align-items: center; justify-content: center; font-weight: 700; font-size: 16px; flex-shrink: 0; }
.bph-name { font-size: 16px; font-weight: 600; }
.bph-wed { font-size: 12px; color: var(--bridal); margin-top: 3px; }
.bph-phone { font-size: 12px; color: var(--text3); margin-top: 2px; }

.measure-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; margin-bottom: 16px; }
.mg-item { background: var(--surface2); border-radius: var(--radius-sm); padding: 10px; text-align: center; }
.mgi-l { font-size: 10px; color: var(--text3); font-weight: 600; text-transform: uppercase; letter-spacing: 0.5px; }
.mgi-v { font-size: 16px; font-weight: 700; margin-top: 3px; }

.fitting-timeline { margin-bottom: 16px; }
.ft-step { display: flex; gap: 12px; align-items: flex-start; padding-bottom: 16px; position: relative; }
.ft-step:not(:last-child)::after {
  content: '';
  position: absolute;
  left: 9px; top: 20px;
  width: 2px;
  height: calc(100% - 20px);
  background: var(--border);
}
.fts-dot {
  width: 20px; height: 20px;
  border-radius: 50%;
  flex-shrink: 0;
  background: var(--border);
  border: 2px solid var(--border);
  margin-top: 2px;
  z-index: 1;
}
.ft-step.done .fts-dot { background: var(--green); border-color: var(--green); }
.fts-dot.current { background: var(--bridal); border-color: var(--bridal); box-shadow: 0 0 0 4px var(--bridal-lt); }
.fts-dot.pending { background: var(--surface); border: 2px solid var(--border); }
.fts-name { font-size: 13px; font-weight: 600; }
.fts-date { font-size: 11px; color: var(--text3); margin-top: 2px; }

.cust-stats-row { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; margin-bottom: 4px; }
.csr-item { background: var(--surface2); border-radius: var(--radius-sm); padding: 12px; text-align: center; }
.csr-v { font-family: var(--font-display); font-size: 20px; font-weight: 700; }
.csr-l { font-size: 10px; color: var(--text3); font-weight: 600; margin-top: 2px; text-transform: uppercase; }

.rental-detail-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-bottom: 8px; }
.rdg-item { background: var(--surface2); border-radius: var(--radius-sm); padding: 10px; }
.rdg-l { font-size: 10px; color: var(--text3); font-weight: 600; text-transform: uppercase; letter-spacing: 0.5px; margin-bottom: 4px; }
.rdg-v { font-size: 14px; font-weight: 600; }

.prod-detail-hero { height: 140px; border-radius: var(--radius); margin-bottom: 14px; display: flex; align-items: flex-end; justify-content: flex-end; padding: 12px; }
.pdh-badge { font-size: 11px; font-weight: 700; padding: 4px 10px; border-radius: 20px; background: rgba(255,255,255,0.9); color: var(--green); }
.prod-detail-info { margin-bottom: 16px; }
.pdi-name { font-family: var(--font-display); font-size: 22px; font-weight: 700; }
.pdi-price { font-size: 16px; font-weight: 700; margin: 4px 0; }
.pdi-cost { font-size: 12px; font-weight: 400; color: var(--text3); }
.pdi-meta { font-size: 12px; color: var(--text3); }
.size-stock-grid { background: var(--surface2); border-radius: var(--radius); overflow: hidden; margin-bottom: 8px; }
.ssg-head, .ssg-row { display: grid; grid-template-columns: 1fr 2fr 1fr; padding: 8px 12px; font-size: 12px; }
.ssg-head { background: var(--border); font-weight: 700; font-size: 10px; text-transform: uppercase; letter-spacing: 0.5px; color: var(--text2); }
.ssg-row { border-bottom: 1px solid var(--border); }
.ssg-row:last-child { border-bottom: none; }
.ok { color: var(--green); font-weight: 600; }

.chat-thread { flex: 1; overflow-y: auto; padding: 16px; display: flex; flex-direction: column; gap: 10px; background: #f0ebe3; }
.ct-msg { display: flex; flex-direction: column; }
.ct-msg.incoming { align-items: flex-start; }
.ct-msg.outgoing { align-items: flex-end; }
.ctm-bubble { max-width: 80%; padding: 10px 14px; border-radius: 16px; font-size: 13px; line-height: 1.5; }
.incoming .ctm-bubble { background: var(--surface); border-radius: 4px 16px 16px 16px; }
.outgoing .ctm-bubble { background: #d9fdd3; border-radius: 16px 4px 16px 16px; }
.outgoing.auto .ctm-bubble { background: #e8f5e9; border: 1px dashed var(--green); }
.ctm-time { font-size: 10px; color: var(--text3); margin-top: 3px; padding: 0 4px; }
.chat-composer { display: flex; gap: 8px; padding: 12px 16px; border-top: 1px solid var(--border); background: var(--surface); align-items: center; flex-shrink: 0; }
.cc-input { flex: 1; padding: 10px 14px; border: 1.5px solid var(--border); border-radius: 30px; font-family: var(--font-body); font-size: 13px; outline: none; }
.cc-input:focus { border-color: var(--wa); }
.cc-template, .cc-send { width: 38px; height: 38px; border-radius: 50%; border: none; cursor: pointer; font-size: 16px; display: flex; align-items: center; justify-content: center; }
.cc-template { background: var(--surface2); }
.cc-send { background: var(--wa); color: #fff; }

.supplier-info-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.sig-item { background: var(--surface2); border-radius: var(--radius-sm); padding: 10px; }
.sig-l { font-size: 10px; color: var(--text3); font-weight: 600; text-transform: uppercase; letter-spacing: 0.5px; margin-bottom: 3px; }
.sig-v { font-size: 13px; font-weight: 600; }
.po-item { display: flex; align-items: center; justify-content: space-between; padding: 10px 0; border-bottom: 1px solid var(--border); font-size: 13px; }
.po-item:last-child { border-bottom: none; }
.po-right { display: flex; align-items: center; gap: 8px; }

.pick-list {}
.pick-item { display: flex; align-items: center; justify-content: space-between; padding: 12px 0; border-bottom: 1px solid var(--border); cursor: pointer; }
.pick-item:last-child { border-bottom: none; }
.pick-item:active { opacity: 0.6; }
.pi-info { flex: 1; }
.pi-name { font-size: 13px; font-weight: 600; }
.pi-sku { font-size: 11px; color: var(--text3); margin-top: 2px; font-family: var(--font-mono); }
.pi-price { font-weight: 700; font-family: var(--font-mono); color: var(--accent-dk); }

/* ===== TABLET OPTIMIZATIONS ===== */
@media (min-width: 540px) {
  .stats-row { grid-template-columns: repeat(4, 1fr); }
  .quick-grid { grid-template-columns: repeat(6, 1fr); }
  .product-grid { grid-template-columns: repeat(3, 1fr); }
  .rental-stats { gap: 12px; }
  .wa-stats { gap: 12px; }
}

@media (min-width: 640px) {
  .topbar { padding: 0 24px; }
  .screen-scroll { padding: 20px 24px calc(var(--nav-h) + 20px); }
  .bottom-sheet { max-width: 640px; left: 50%; right: auto; transform: translateX(-50%) translateY(100%); }
  .bottom-sheet.open { transform: translateX(-50%) translateY(0); }
  .floating-panel { max-width: 640px; right: auto; left: 50%; transform: translateX(-50%) translateY(-100%); }
  .floating-panel.open { transform: translateX(-50%) translateY(0); }
}

/* Scrollbar */
::-webkit-scrollbar { width: 4px; height: 4px; }
::-webkit-scrollbar-track { background: transparent; }
::-webkit-scrollbar-thumb { background: var(--border); border-radius: 2px; }
