body { margin: 0; background: #f4f7fb; color: #111827; font-family: Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif; }
.storefront-page { background: #ffffff; color: #102033; }
.storefront-nav { position: sticky; top: 0; z-index: 20; min-height: 72px; padding: 14px clamp(18px, 5vw, 72px); display: flex; align-items: center; justify-content: space-between; gap: 18px; background: rgba(255,255,255,.92); border-bottom: 1px solid rgba(15, 35, 64, .08); backdrop-filter: blur(14px); }
.storefront-brand { display: inline-flex; align-items: center; gap: 10px; color: #0f2340; text-decoration: none; }
.storefront-brand span { display: grid; place-items: center; width: 42px; height: 42px; border-radius: 8px; background: #f59e0b; color: #fff; font-weight: 900; }
.storefront-nav nav { display: flex; align-items: center; gap: 18px; }
.storefront-nav nav a { color: #334155; text-decoration: none; font-weight: 700; }
.storefront-login { padding: 10px 14px; border: 1px solid #d1d5db; border-radius: 8px; }
.storefront-hero { min-height: calc(100vh - 72px); display: grid; grid-template-columns: minmax(0, .95fr) minmax(320px, .55fr); align-items: center; gap: 28px; padding: clamp(44px, 7vw, 92px) clamp(18px, 5vw, 72px); background: linear-gradient(90deg, rgba(255,255,255,.98) 0%, rgba(255,255,255,.86) 42%, rgba(255,255,255,.2) 68%), url("../images/storefront/hero-boutique.png") center right/cover no-repeat; }
.storefront-hero-copy { max-width: 680px; }
.storefront-eyebrow { color: #d97706; font-size: 12px; font-weight: 900; letter-spacing: .14em; text-transform: uppercase; }
.storefront-hero h1 { margin: 12px 0 16px; font-size: clamp(38px, 6vw, 72px); line-height: .98; font-weight: 850; color: #0f2340; letter-spacing: 0; }
.storefront-hero p { max-width: 620px; color: #475569; font-size: 18px; line-height: 1.7; }
.storefront-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 24px; }
.storefront-hero-card { justify-self: end; align-self: end; width: min(310px, 100%); border: 1px solid rgba(255,255,255,.65); border-radius: 8px; padding: 18px; background: rgba(15,35,64,.88); color: #fff; box-shadow: 0 20px 50px rgba(15,35,64,.24); }
.storefront-hero-card span, .storefront-hero-card small { color: #dbeafe; }
.storefront-hero-card strong { display: block; font-size: 42px; margin: 4px 0; }
.storefront-stats { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1px; background: #dbe3ef; border-block: 1px solid #dbe3ef; }
.storefront-stats div { background: #fff; padding: 24px clamp(18px, 4vw, 44px); }
.storefront-stats span { color: #64748b; font-weight: 700; }
.storefront-stats strong { display: block; margin-top: 6px; font-size: 30px; color: #0f2340; }
.storefront-section { padding: clamp(44px, 7vw, 86px) clamp(18px, 5vw, 72px); }
.storefront-section-head { display: flex; align-items: end; justify-content: space-between; gap: 20px; margin-bottom: 24px; }
.storefront-section-head h2 { margin: 6px 0 0; font-size: clamp(28px, 4vw, 44px); color: #0f2340; font-weight: 820; }
.promo-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.promo-card { border: 1px solid #dbe3ef; border-radius: 8px; padding: 22px; background: linear-gradient(135deg, #0f2340, #1f5f8b); color: #fff; min-height: 210px; display: flex; flex-direction: column; justify-content: space-between; }
.promo-card span { color: #facc15; font-size: 12px; font-weight: 900; letter-spacing: .12em; }
.promo-card h3 { margin: 12px 0 10px; font-size: 24px; }
.promo-card p, .promo-card small { color: #dbeafe; }
.storefront-products { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
.storefront-product-card { border: 1px solid #e2e8f0; border-radius: 8px; overflow: hidden; background: #fff; box-shadow: 0 10px 26px rgba(15, 23, 42, .05); }
.storefront-product-card img { width: 100%; aspect-ratio: 1 / 1; object-fit: cover; display: block; background: #f8fafc; }
.storefront-product-card div { padding: 16px; }
.storefront-product-card span { color: #2563eb; font-size: 12px; font-weight: 850; text-transform: uppercase; letter-spacing: .08em; }
.storefront-product-card h3 { margin: 8px 0 6px; font-size: 18px; line-height: 1.25; color: #0f2340; }
.storefront-product-card p { color: #64748b; margin-bottom: 10px; }
.storefront-product-card strong { color: #0f766e; font-size: 17px; }
.workflow-section { background: #f8fafc; border-block: 1px solid #e2e8f0; }
.workflow-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; }
.workflow-grid article { background: #fff; border: 1px solid #e2e8f0; border-radius: 8px; padding: 20px; }
.workflow-grid strong { display: grid; place-items: center; width: 38px; height: 38px; border-radius: 8px; color: #fff; background: #0f2340; }
.workflow-grid h3 { margin: 16px 0 8px; font-size: 18px; color: #0f2340; }
.workflow-grid p { color: #64748b; margin: 0; }
.branch-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
.branch-grid article { display: flex; gap: 14px; align-items: center; border: 1px solid #e2e8f0; border-radius: 8px; padding: 18px; }
.branch-grid i { display: grid; place-items: center; width: 46px; height: 46px; border-radius: 8px; background: #eff6ff; color: #2563eb; }
.branch-grid h3 { margin: 0 0 4px; font-size: 18px; color: #0f2340; }
.branch-grid p { margin: 0; color: #64748b; }
.storefront-footer { display: flex; justify-content: space-between; gap: 18px; padding: 24px clamp(18px, 5vw, 72px); background: #0f2340; color: #dbeafe; }
.storefront-footer a { color: #facc15; text-decoration: none; font-weight: 800; }
.app-shell { display: grid; grid-template-columns: 292px minmax(0, 1fr); min-height: 100vh; }
.sidebar { background: linear-gradient(180deg, #0f2340 0%, #163b63 100%); color: #fff; padding: 18px 14px; overflow-y: auto; max-height: 100vh; position: sticky; top: 0; }
.brand { display: flex; gap: 12px; align-items: center; color: #fff; text-decoration: none; padding: 8px 10px 18px; }
.brand-mark { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 8px; background: #f59e0b; font-weight: 800; }
.brand small { display: block; color: #bad2ef; font-size: 12px; }
.nav-groups { display: grid; gap: 10px; }
.nav-group { border: 1px solid rgba(255,255,255,.08); border-radius: 8px; background: rgba(255,255,255,.035); overflow: hidden; }
.nav-group-title { width: 100%; border: 0; background: rgba(255,255,255,.06); color: #e5f0ff; display: flex; justify-content: space-between; align-items: center; padding: 9px 11px; font-size: 11px; text-transform: uppercase; letter-spacing: .08em; font-weight: 800; }
.nav-group-title i { font-size: 10px; transition: transform .2s ease; }
.nav-group.collapsed .nav-group-title i { transform: rotate(-90deg); }
.nav-group.collapsed .nav-list { display: none; }
.nav-list { list-style: none; padding: 10px 0; margin: 0; display: grid; gap: 2px; }
.nav-list a { display: flex; align-items: center; gap: 10px; color: #d8e6f7; text-decoration: none; padding: 10px 12px; border-radius: 8px; }
.nav-list a:hover, .nav-list a.active { background: rgba(255,255,255,.13); color: #fff; }
.nav-list a.active { box-shadow: inset 3px 0 0 #f59e0b; }
.nav-list i { width: 18px; }
.main { min-width: 0; }
.topbar { min-height: 82px; background: #fff; border-bottom: 1px solid #e5e7eb; padding: 18px 28px; display: flex; justify-content: space-between; gap: 16px; align-items: center; }
.topbar h1 { font-size: 24px; margin: 0; font-weight: 750; }
.topbar p { margin: 4px 0 0; color: #6b7280; }
.user-chip { display: flex; align-items: center; gap: 10px; white-space: nowrap; }
.content { padding: 24px 28px; }
.app-footer { border-top: 1px solid #e5e7eb; padding: 14px 28px; color: #64748b; display: flex; justify-content: space-between; gap: 12px; font-size: 13px; }
.panel { background: #fff; border: 1px solid #e5e7eb; border-radius: 8px; padding: 18px; box-shadow: 0 8px 24px rgba(15, 23, 42, .04); }
.panel h2 { font-size: 18px; margin-bottom: 16px; }
.metric-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; margin-bottom: 18px; }
.metric { background: #fff; border: 1px solid #e5e7eb; border-left: 4px solid #2563eb; border-radius: 8px; padding: 16px; }
.metric span { display: block; color: #64748b; font-size: 13px; }
.metric strong { display: block; margin-top: 8px; font-size: 22px; }
.grid-2 { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(320px, .8fr); gap: 18px; }
.chart { min-height: 320px; }
.module-hero { position: relative; overflow: hidden; border-radius: 8px; padding: 18px; margin-bottom: 16px; color: #fff; background: linear-gradient(105deg, rgba(15,35,64,.95), rgba(37,99,235,.78)), url("../images/london-kids-retail-bg.png") center right/cover; display: flex; justify-content: space-between; gap: 18px; align-items: flex-end; }
.module-hero h2 { margin: 0 0 4px; font-size: 24px; }
.module-hero p { margin: 0; color: #dceafe; }
.eyebrow { font-size: 11px; text-transform: uppercase; letter-spacing: .12em; color: #facc15; font-weight: 800; }
.module-actions { display: flex; flex-wrap: wrap; gap: 8px; justify-content: flex-end; }
.module-actions .btn { background: rgba(255,255,255,.92); border-color: rgba(255,255,255,.5); }
.list-head { display: block; margin-bottom: 16px; }
.filter-panel { display: grid; grid-template-columns: minmax(220px, 1.5fr) repeat(3, minmax(150px, 1fr)) auto; gap: 12px; align-items: end; padding: 14px; border: 1px solid #e5e7eb; background: #f8fafc; border-radius: 8px; }
.filter-panel .form-label { margin-bottom: 4px; color: #64748b; font-size: 12px; font-weight: 700; }
.filter-actions { display: flex; gap: 8px; }
.actions { white-space: nowrap; }
.form-actions { display: flex; justify-content: flex-end; gap: 10px; margin-top: 18px; }
.flow-form { display: grid; gap: 18px; }
.flow-items { display: grid; gap: 10px; margin-top: 4px; }
.flow-item-row { display: grid; grid-template-columns: minmax(260px, 1fr) 120px 160px 48px; gap: 10px; align-items: start; }
.flow-item-row.distribution-row { grid-template-columns: minmax(260px, 1fr) 120px 48px; }
.flow-item-head { color: #64748b; font-size: 12px; font-weight: 800; text-transform: uppercase; letter-spacing: .06em; align-items: center; }
.form-text { color: #64748b; font-size: 12px; margin-top: 6px; }
.ts-wrapper.form-select { padding: 0; border: 0; }
.ts-control { min-height: 42px; border-color: #d1d5db; border-radius: 8px; padding: 9px 12px; box-shadow: none; }
.ts-control, .ts-dropdown { font-size: 14px; }
.ts-dropdown { border-color: #d1d5db; border-radius: 8px; box-shadow: 0 12px 28px rgba(15, 23, 42, .12); }
.ts-dropdown .option { padding: 9px 12px; }
.ts-dropdown .active { background: #eff6ff; color: #1d4ed8; }
.no-results { padding: 10px 12px; color: #64748b; }
.detail-list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.detail-list div { border-bottom: 1px solid #e5e7eb; padding-bottom: 8px; }
.detail-list dt { color: #64748b; font-size: 12px; }
.detail-list dd { margin: 0; font-weight: 600; }
.auth-page { min-height: 100vh; display: grid; place-items: center start; background: linear-gradient(90deg, rgba(15,35,64,.76), rgba(15,35,64,.18)), url("../images/london-kids-retail-bg.png") center/cover; padding: 48px min(8vw, 96px); }
.auth-card { width: min(460px, 100%); background: rgba(255,255,255,.96); border: 1px solid rgba(255,255,255,.65); border-radius: 8px; padding: 30px; box-shadow: 0 24px 60px rgba(0,0,0,.25); backdrop-filter: blur(12px); }
.auth-brand { text-align: center; margin-bottom: 20px; }
.auth-brand span { display: inline-grid; place-items: center; width: 58px; height: 58px; border-radius: 8px; background: #f59e0b; color: #fff; font-weight: 800; }
.auth-brand h1 { font-size: 24px; margin: 14px 0 8px; }
.auth-brand p, .auth-link { color: #64748b; }
.auth-link { display: block; text-align: center; margin-top: 14px; }
.pos-grid { display: grid; grid-template-columns: minmax(0, 1.35fr) minmax(360px, .65fr); gap: 18px; align-items: start; }
.pos-toolbar { display: flex; gap: 10px; margin-bottom: 14px; }
.product-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(180px, 1fr)); gap: 10px; }
.product-card { text-align: left; border: 1px solid #e5e7eb; background: #fff; border-radius: 8px; padding: 12px; display: grid; gap: 4px; min-height: 132px; }
.product-card:hover { border-color: #2563eb; box-shadow: 0 8px 20px rgba(37,99,235,.12); }
.product-card span, .product-card small { color: #64748b; }
.cart-list { display: grid; gap: 8px; min-height: 120px; margin-bottom: 16px; }
.cart-item { display: grid; grid-template-columns: minmax(0, 1fr) 74px 90px 32px; gap: 8px; align-items: center; border-bottom: 1px solid #e5e7eb; padding-bottom: 8px; }
.total-box { margin-top: 16px; display: grid; grid-template-columns: 1fr auto; gap: 8px; border-top: 1px solid #e5e7eb; padding-top: 12px; }
.receipt-page { background: #fff; }
.receipt { width: 300px; margin: 0 auto; padding: 12px; font-family: ui-monospace, SFMono-Regular, Menlo, monospace; font-size: 12px; }
.receipt h1, .receipt p.center { text-align: center; }
.receipt-line { display: flex; justify-content: space-between; gap: 12px; margin: 6px 0; }
.receipt-line.total { font-size: 14px; font-weight: 800; }
.print-button { display: inline-block; margin: 10px 4px 0 0; padding: 8px 10px; border: 1px solid #111827; color: #111827; background: #fff; text-decoration: none; }
.info-tile { border: 1px solid #e5e7eb; border-radius: 8px; padding: 16px; height: 100%; }
.status-pill { display: inline-flex; align-items: center; min-height: 24px; padding: 3px 9px; border-radius: 999px; background: #e5e7eb; color: #334155; font-size: 12px; font-weight: 800; }
.status-aktif, .status-selesai, .status-berhasil, .status-aman, .status-rendah { background: #dcfce7; color: #166534; }
.status-nonaktif, .status-dibatalkan, .status-habis, .status-kritis { background: #fee2e2; color: #991b1b; }
.status-draft, .status-diajukan, .status-pending, .status-sedang { background: #fef3c7; color: #92400e; }
.status-disetujui, .status-dikirim, .status-tinggi { background: #dbeafe; color: #1d4ed8; }
.dt-buttons .btn, .dt-buttons button { border-radius: 6px !important; }
@media (max-width: 980px) {
  .storefront-nav { align-items: flex-start; flex-direction: column; }
  .storefront-nav nav { flex-wrap: wrap; gap: 10px; }
  .storefront-hero { min-height: auto; grid-template-columns: 1fr; background-position: center; }
  .storefront-hero-card { justify-self: start; }
  .storefront-stats, .promo-grid, .storefront-products, .workflow-grid, .branch-grid { grid-template-columns: 1fr; }
  .storefront-section-head { align-items: flex-start; flex-direction: column; }
  .app-shell { grid-template-columns: 1fr; }
  .sidebar { position: static; max-height: none; }
  .metric-grid, .grid-2, .pos-grid { grid-template-columns: 1fr; }
  .filter-panel { grid-template-columns: 1fr; }
  .flow-item-row, .flow-item-row.distribution-row { grid-template-columns: 1fr; }
  .flow-item-head { display: none; }
  .module-hero { align-items: flex-start; flex-direction: column; }
  .topbar { align-items: flex-start; flex-direction: column; }
}
@media print {
  .sidebar, .topbar, .module-actions, .filter-panel, .actions, .app-footer, .dt-buttons, .dataTables_filter, .dataTables_length, .dataTables_info, .dataTables_paginate { display: none !important; }
  .app-shell { display: block; }
  .content { padding: 0; }
  .panel, .module-hero { box-shadow: none; border: 0; }
  .module-hero { color: #111827; background: #fff; padding: 0 0 12px; }
  .print-button { display: none; }
  .receipt { width: 58mm; }
}
