:root { font-family: Inter, Segoe UI, sans-serif; color: #f5f7fb; background: #07111f; }
* { box-sizing: border-box; }
body { margin: 0; min-height: 100vh; background: radial-gradient(circle at top right, #172a45 0, #07111f 42%); }
button, input, select { font: inherit; }
button { cursor: pointer; }
button:disabled { cursor: not-allowed; opacity: .55; }
.topbar { min-height: 72px; padding: 14px 28px; border-bottom: 1px solid #263a55; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 14px 20px; background: #091625; position: sticky; top: 0; z-index: 5; }
.brand { display: flex; align-items: center; gap: 13px; font-weight: 900; letter-spacing: .08em; }
.brand::before { content:""; width:42px; height:48px; flex:0 0 42px; background:url('/images/bull-business-suite-logo-dark.png') center/contain no-repeat; }
.bull { color: #ed2224; font-size: 1.55rem; }
.test-badge { color: #07111f; background: #e0b72f; border-radius: 999px; padding: 9px 15px; font-weight: 800; font-size: .78rem; }
.topbar-status { display:flex; align-items:center; justify-content:flex-end; gap:9px; margin-left:auto; }
.operator-access { position:relative; display:flex; flex-wrap:wrap; align-items:center; justify-content:flex-end; gap:.35rem; }
.cloud-trial-badge { display:inline-flex; align-items:center; margin-right:.55rem; padding:.45rem .7rem; border:1px solid rgba(238,190,33,.55); border-radius:999px; color:#f3c526; background:rgba(238,190,33,.1); font-size:.72rem; font-weight:800; letter-spacing:.04em; white-space:nowrap; }
.operator-chip { min-height:38px; display:flex; align-items:center; gap:9px; padding:6px 10px; color:#eef5ff; background:#11243a; border:1px solid #3e5877; border-radius:12px; text-align:left; }
.operator-chip span:not(.operator-dot) { display:grid; gap:1px; }
.operator-chip small { color:#91a7c0; font-size:.64rem; text-transform:uppercase; letter-spacing:.05em; }
.operator-chip strong { font-size:.82rem; white-space:nowrap; }
.operator-chip b { color:#e0b72f; font-size:.7rem; white-space:nowrap; }
.operator-dot { width:9px; height:9px; flex:0 0 9px; border-radius:50%; background:#e06a6a; box-shadow:0 0 0 3px #e06a6a22; }
.operator-chip.signed-in .operator-dot { background:#31c879; box-shadow:0 0 0 3px #31c87922; }
.operator-chip.manufacturer-access { border-color:#d5ad2d; background:#2e2916; }
.operator-chip.manufacturer-access .operator-dot { background:#e0b72f; box-shadow:0 0 0 3px #e0b72f22; }
.operator-panel { position:absolute; z-index:20; top:calc(100% + 9px); right:0; width:min(340px, calc(100vw - 28px)); padding:16px; color:#f5f7fb; background:#101f33; border:1px solid #405a79; border-radius:15px; box-shadow:0 18px 55px #000a; }
.operator-panel h3 { margin-bottom:5px; }
.operator-panel p { color:#9fb2c9; margin-bottom:8px; }
.operator-login label { margin:12px 0 6px; font-size:.8rem; }
.operator-login .password-field { margin-top:12px; }
.operator-error { margin-top:10px; padding:9px; color:#ffdede; background:#431d25; border:1px solid #a94646; border-radius:9px; font-size:.8rem; }
.business-setup-shell { padding:32px 18px; }
.business-setup-card { width:min(1100px,100%); margin:auto; padding:clamp(22px,4vw,42px); background:#101f33; border:1px solid #2a405d; border-radius:24px; box-shadow:0 24px 80px #0007; }
.setup-actions { display:flex; flex-wrap:wrap; gap:9px; margin:18px 0; }
.business-form-grid { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:13px; }
.business-form-grid label { margin:0; display:grid; gap:6px; font-size:.82rem; }
.business-wide { grid-column:1/-1; }
.logo-editor { display:grid; grid-template-columns:minmax(0,1fr) 260px; gap:18px; align-items:center; margin-top:22px; padding:18px; background:#0b192a; border:1px solid #2a405d; border-radius:16px; }
.logo-editor p { color:#9fb2c9; }
.logo-editor input[type=file] { padding:9px; }
.logo-preview { min-height:150px; display:grid; place-items:center; overflow:hidden; padding:12px; background:white; color:#4b5867; border-radius:12px; }
.logo-preview img { display:block; max-width:100%; max-height:130px; object-fit:contain; }
.nav-links { display: flex; flex-wrap: wrap; gap: 8px; }
.nav-links a, .nav-back, .button-link { color: #dce7f5; text-decoration: none; border: 1px solid #314967; border-radius: 10px; padding: 8px 11px; }
.setup-shell { padding: 42px 18px; display: grid; place-items: center; }
.setup-card { width: min(920px, 100%); background: #101f33; border: 1px solid #2a405d; border-radius: 24px; padding: clamp(24px, 5vw, 50px); box-shadow: 0 24px 80px #0007; }
h1, h2, p { margin-top: 0; }
h1 { font-size: clamp(2rem, 5vw, 3.25rem); margin-bottom: 12px; }
.lead { color: #a9bad0; line-height: 1.55; max-width: 730px; }
.eyebrow { color: #e0b72f; text-transform: uppercase; letter-spacing: .1em; font-weight: 800; font-size: .78rem; margin-bottom: 7px; }
label { display: block; color: #bdc9d9; font-weight: 700; margin: 24px 0 9px; }
input, select { width: 100%; min-height: 48px; border: 1px solid #314967; border-radius: 12px; color: #f7f9fc; background: #091625; padding: 10px 13px; }
.industry-grid, .product-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(210px, 1fr)); gap: 12px; }
.industry, .product { min-height: 112px; text-align: left; color: #f5f7fb; background: #0b192a; border: 1px solid #2a405d; border-radius: 15px; padding: 16px; display: flex; flex-direction: column; gap: 7px; }
.industry:hover, .industry.selected, .product:hover { border-color: #e0b72f; transform: translateY(-1px); }
.industry span, .product span, .product small { color: #98abc2; }
.confirm { display: flex; align-items: flex-start; gap: 10px; }
.confirm input { width: 20px; min-height: 20px; accent-color: #e0b72f; }
.primary, .secondary, .text-button { border-radius: 12px; padding: 13px 18px; font-weight: 800; }
.primary { border: 0; color: #07111f; background: #e0b72f; }
.danger { border: 1px solid #a94646; color: #ffdede; background: #431d25; border-radius: 12px; padding: 11px 16px; font-weight: 800; }
.secondary { border: 1px solid #4b6585; color: white; background: #13253b; }
.text-button { border: 0; color: #a9bad0; background: transparent; }
.wide { width: 100%; margin-top: 16px; }
.notice { border-radius: 12px; padding: 13px 15px; margin: 16px 0; display: grid; gap: 4px; border-left: 4px solid; background: #0a1727; }
.notice span { color: #acbbce; font-size: .9rem; }
.notice.verified { border-color: #31c879; }.notice.pending { border-color: #e0b72f; }.notice.blocked { border-color: #ee6868; }
.order-modes { display: flex; flex-wrap: wrap; gap: 8px; margin: 12px 0; }
.order-modes button { padding: 9px 14px; color: #bdc9d9; background: #0b192a; border: 1px solid #314967; border-radius: 999px; }
.order-modes button.selected { color: #07111f; background: #e0b72f; border-color: #e0b72f; font-weight: 800; }
.pos-shell { display: grid; grid-template-columns: minmax(0, 1fr) minmax(320px, 390px); min-height: calc(100vh - 72px); }
.products { padding: 28px; }
.section-head { display: flex; justify-content: space-between; align-items: center; gap: 15px; }
.catalog-actions { display: flex; flex-wrap: wrap; gap: 8px; justify-content: flex-end; }
.catalog-toolbar { display: grid; gap: 10px; margin: 16px 0 4px; }
.catalog-toolbar > input { max-width: 620px; }
.category-tabs { display: flex; gap: 8px; overflow-x: auto; padding: 2px 0 7px; scrollbar-width: thin; }
.category-tabs button { flex: 0 0 auto; color: #bdc9d9; background: #0b192a; border: 1px solid #314967; border-radius: 999px; padding: 8px 12px; }
.category-tabs button.selected { color: #07111f; background: #e0b72f; border-color: #e0b72f; font-weight: 800; }
.category-editor { display: grid; grid-template-columns: minmax(220px, 1fr) auto auto; gap: 9px; padding: 14px; margin-top: 12px; border: 1px solid #2a405d; background: #101f33; border-radius: 15px; }
.product-grid { grid-template-columns: repeat(auto-fill, minmax(180px, 1fr)); margin-top: 18px; }
.product { min-height: 150px; }
.product b { color: #e0b72f; font-size: 1.25rem; margin-top: auto; }
.product-add { flex: 1; display: flex; flex-direction: column; gap: 7px; text-align: left; color: white; background: transparent; border: 0; padding: 0; }
.product-add span, .product-add small { color: #98abc2; }
.product-edit { margin-top: 8px; padding: 7px 9px; color: #bdc9d9; background: #13253b; border: 1px solid #314967; border-radius: 8px; }
.editor { display: grid; grid-template-columns: repeat(3, minmax(180px, 1fr)); gap: 11px; padding: 16px; margin-top: 12px; border: 1px solid #2a405d; background: #101f33; border-radius: 15px; }
.editor label { margin: 0; display: grid; gap: 6px; font-size: .82rem; }
.editor label span { color: #a9bad0; }
.editor-check { align-content: center; grid-template-columns: 22px 1fr !important; }
.editor-check input { width: 20px; min-height: 20px; accent-color: #e0b72f; }
.editor-actions { display: flex; align-items: end; gap: 8px; }
.alcohol-marker { width: max-content; padding: 3px 7px; color: #ffd7a0 !important; background: #4b2b12; border-radius: 999px; font-weight: 800; }
.catalog-empty { margin-top: 20px; padding: 20px; text-align: center; border: 1px dashed #314967; border-radius: 12px; }
.cart { background: #0c192a; border-left: 1px solid #2a405d; padding: 28px 22px; display: flex; flex-direction: column; }
.cart-lines { flex: 1; min-height: 240px; }
.empty, .lock-text { color: #879bb5; }
.cart-line { width: 100%; display: flex; justify-content: space-between; gap: 15px; border: 0; border-bottom: 1px solid #273c57; background: transparent; color: white; padding: 15px 3px; text-align: left; }
.total { border-top: 2px solid #e0b72f; padding-top: 16px; display: flex; align-items: baseline; justify-content: space-between; font-size: 1.2rem; }
.total strong { color: #e0b72f; font-size: 2rem; }
.lock-text { text-align: center; font-size: .8rem; margin: 9px 0; }
.receipt-success { color: #8ce7b0; background: #0d2b20; border: 1px solid #28744b; border-radius: 10px; padding: 11px; text-align: center; }
.journal-count { color: #879bb5; font-size: .8rem; text-align: center; }
.terminal-info { margin-top: 10px; padding: 11px; border: 1px solid #355b7b; border-radius: 10px; background: #10283b; display: grid; gap: 4px; }
.terminal-info span, .card-proof { color: #9db8cf; font-size: .8rem; }
.card-proof { text-align: center; }
.mobile-shell, .orders-shell { width: min(1400px, 100%); margin: auto; padding: 22px; }
.mobile-shell { max-width: 640px; }
.mobile-shell-ordering { max-width: 1180px; }
.mobile-card { background: #101f33; border: 1px solid #2a405d; border-radius: 18px; padding: 18px; margin-bottom: 14px; }
.login-card { margin-top: 30px; }
.test-hint { color: #e0b72f; text-align: center; font-size: .85rem; }
.mobile-install-card { display:flex; align-items:center; justify-content:space-between; gap:14px; margin:16px 0; padding:14px; border:1px solid #3a5675; border-radius:14px; background:#0b192a; }
.mobile-install-card div { display:grid; gap:5px; }
.mobile-install-card span { color:#9fb2c9; font-size:.83rem; line-height:1.4; }
.mobile-install-card button { flex:0 0 auto; }
.install-message { margin:10px 0; padding:11px 13px; border-radius:10px; color:#dcecff; background:#10283b; border:1px solid #355b7b; line-height:1.4; }
.error-box { color: #ffdede; background: #431d25; border: 1px solid #a94646; border-radius: 10px; padding: 10px; }
.mobile-order-head { display: flex; justify-content: space-between; align-items: center; gap: 12px; }
.compact-form label { margin-top: 10px; }
textarea { width: 100%; min-height: 80px; resize: vertical; border: 1px solid #314967; border-radius: 12px; color: #f7f9fc; background: #091625; padding: 10px 13px; font: inherit; }
.mobile-products { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-bottom: 14px; }
.mobile-products button { min-height: 112px; text-align: left; color: white; background: #10243a; border: 1px solid #314967; border-radius: 15px; padding: 13px; display: flex; flex-direction: column; gap: 6px; }
.mobile-products button span { color: #91a7c0; font-size: .75rem; }
.mobile-products button b { color: #e0b72f; margin-top: auto; }
.mobile-catalog-tools { display:grid; gap:10px; margin:0 0 14px; }
.mobile-order-workspace { display:grid; grid-template-columns:minmax(0,1fr) minmax(300px,360px); gap:16px; align-items:start; }
.mobile-order-workspace .mobile-products { grid-template-columns:repeat(3,minmax(0,1fr)); margin:0; }
.mobile-order-workspace .mobile-cart { position:sticky; top:94px; margin:0; scroll-margin-top:94px; }
.mobile-cart-jump { display:none; align-items:center; justify-content:space-between; gap:12px; padding:12px 14px; color:#07111f; background:#e0b72f; border-radius:12px; text-decoration:none; font-weight:800; box-shadow:0 8px 28px #0007; }
.mobile-cart-jump strong { white-space:nowrap; }
.order-sent { margin-bottom: 14px; }
.order-columns { display: grid; grid-template-columns: repeat(3, minmax(250px, 1fr)); gap: 14px; align-items: start; }
.order-column { background: #0b1828; border: 1px solid #263a55; border-radius: 16px; padding: 12px; min-height: 180px; }
.order-column h2 { font-size: 1rem; display: flex; justify-content: space-between; color: #cbd7e6; }
.order-column h2 span { color: #e0b72f; }
.order-card { background: #13253b; border: 1px solid #314967; border-radius: 13px; padding: 13px; margin-top: 10px; }
.order-card p { margin: 6px 0; }
.order-title { display: flex; justify-content: space-between; gap: 10px; }
.order-title span, .order-total { color: #92a8c1; }
.order-note { margin: 10px 0; padding: 9px; color: #ffe9a0; background: #362f16; border-radius: 8px; }
.order-total { margin-top: 10px; font-size: .8rem; }
.order-actions { display: flex; gap: 8px; margin-top: 12px; }
.order-actions button { flex: 1; padding: 9px; }
@media (max-width: 900px) {
  .archive-shell,.cash-day-shell { grid-template-columns:1fr; padding:14px; }
  .receipt-archive-preview { position:static; }
  .cash-summary-grid { grid-template-columns:repeat(2,minmax(120px,1fr)); }
  .employee-grid { grid-template-columns:1fr; }
  .pos-shell { grid-template-columns: 1fr; }
  .cart { border-left: 0; border-top: 1px solid #2a405d; }
  .editor { grid-template-columns: 1fr 1fr; }
  .topbar { align-items: flex-start; flex-direction: column; }
  .topbar-status { width:100%; align-items:flex-start; justify-content:space-between; }
  .topbar-status { margin-left:0; }
  .operator-panel { left:0; right:auto; }
  .order-columns { grid-template-columns: 1fr 1fr; }
  .mobile-order-workspace { grid-template-columns:minmax(0,1fr) minmax(280px,330px); }
  .mobile-order-workspace .mobile-products { grid-template-columns:repeat(2,minmax(0,1fr)); }
}
@media (max-width: 700px) {
  .mobile-order-head { align-items:flex-start; flex-direction:column; }
  .mobile-order-head .order-actions { width:100%; }
  .mobile-order-head .order-actions > * { flex:1; text-align:center; }
  .mobile-order-workspace { grid-template-columns:1fr; }
  .mobile-order-workspace .mobile-products { grid-template-columns:repeat(2,minmax(0,1fr)); }
  .mobile-order-workspace .mobile-cart { position:static; scroll-margin-top:16px; }
  .mobile-cart-jump { display:flex; position:sticky; top:8px; z-index:4; margin-bottom:14px; }
}
@media (max-width: 560px) { .products { padding: 18px 12px; } .section-head { align-items:flex-start; } .catalog-actions { display:grid; } .product-grid { grid-template-columns: 1fr 1fr; } .editor, .category-editor { grid-template-columns: 1fr; } .mobile-shell { padding: 14px 10px calc(14px + env(safe-area-inset-bottom)); } .mobile-install-card { align-items:stretch; flex-direction:column; } .mobile-install-card button { width:100%; min-height:48px; } .order-columns { grid-template-columns: 1fr; } .mobile-topbar .test-badge { display: none; } }
@media (max-width: 560px) { .cloud-trial-badge { width:100%; justify-content:center; margin-right:0; } }
@media (max-width: 700px) { .business-form-grid,.logo-editor { grid-template-columns:1fr; } .business-wide { grid-column:auto; } }
.fiscal-shell { width: min(1500px, 100%); margin: auto; padding: 32px; }
.fiscal-country-tabs { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; margin: 24px 0; }
.fiscal-country-tabs button { text-align: left; display: grid; gap: 6px; padding: 18px; border: 1px solid #2a405d; border-radius: 16px; background: #101f33; color: #f7f9fc; }
.fiscal-country-tabs button.selected { border-color: #e0b72f; box-shadow: inset 0 0 0 1px #e0b72f; }
.fiscal-country-tabs span, .fiscal-checklist p { color: #91a7c0; }
.fiscal-plan { background: #101f33; border: 1px solid #2a405d; border-radius: 18px; padding: 24px; }
.fiscal-plan-head { display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.lock-pill, .pending-pill { border-radius: 999px; padding: 6px 10px; font-size: .75rem; font-weight: 800; letter-spacing: .04em; }
.lock-pill { color: #ffb3b3; background: #52252b; }
.pending-pill { color: #ffd866; background: #413719; justify-self: start; }
.pending-pill.verified-status { color: #7fffc0; background: #123d31; }
.pending-pill.ready-status { color: #b9dcff; background: #173b5e; }
.fiscal-checklist { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; margin: 20px 0; }
.fiscal-checklist article { display: grid; gap: 8px; padding: 16px; background: #0b1828; border: 1px solid #2a405d; border-radius: 14px; }
.fiscal-checklist p { margin: 0; }
.phase { color: #e0b72f; font-size: .78rem; font-weight: 800; text-transform: uppercase; }
@media (max-width: 760px) { .fiscal-shell { padding: 18px; } .fiscal-country-tabs, .fiscal-checklist { grid-template-columns: 1fr; } .fiscal-plan-head { align-items: flex-start; flex-direction: column; } }
.french-receipt, .german-receipt { background:#fff; color:#111; border:2px dashed #d9b530; border-radius:12px; padding:16px; margin-top:14px; font-family:Consolas,monospace; font-size:.82rem; }
.french-receipt h3, .german-receipt h3 { margin:.5rem 0; }
.french-receipt p, .german-receipt p { color:#222; line-height:1.35; }
.receipt-test-mark { background:#7d1220; color:#fff; font-weight:900; padding:8px; text-align:center; }
.receipt-row { display:flex; justify-content:space-between; gap:12px; border-top:1px dotted #aaa; padding:5px 0; }
.receipt-grand { font-size:1rem; border-top:2px solid #111; }
.fiscal-proof { overflow-wrap:anywhere; border-top:1px solid #111; padding-top:8px; }
.print-color-option { display:flex; align-items:center; gap:9px; margin:12px 0 0; color:#222; }
.print-color-option input { width:20px; min-height:20px; accent-color:#7d1220; }
.receipt-close { margin:0 0 12px; border:1px solid #8ba0b8; background:#eef3f8; color:#14283d; font-weight:700; }
.receipt-logo { display:block; max-width:190px; max-height:90px; object-fit:contain; margin:12px auto; filter:grayscale(1) contrast(1.15); }
.print-color .receipt-logo { filter:none; }
.receipt-footer { text-align:center; font-weight:700; }
.cash-date { margin:0 0 5px; color:#f0c528; font-size:14px; font-weight:800; text-transform:capitalize; }
.cash-open-badge { margin:0 0 14px; padding:10px 12px; border-radius:10px; background:#103628; border:1px solid #257658; color:#91efbf; font-size:13px; font-weight:700; }
.archive-shell { display:grid; grid-template-columns:minmax(420px,1fr) minmax(340px,440px); gap:22px; padding:24px; max-width:1400px; margin:0 auto; }
.archive-list,.receipt-archive-preview,.cash-day-card { background:#0d1c2e; border:1px solid #263e5a; border-radius:18px; padding:22px; }
.archive-filters { display:flex; align-items:end; flex-wrap:wrap; gap:10px; margin:18px 0; }
.archive-filters label { min-width:190px; margin:0; }
.receipt-history { display:grid; gap:8px; }
.receipt-history-row { width:100%; display:flex; align-items:center; justify-content:space-between; gap:12px; text-align:left; padding:13px 15px; border:1px solid #2b4766; border-radius:12px; background:#10243a; color:#edf5ff; }
.receipt-history-row.selected { border-color:#f0c528; box-shadow:0 0 0 2px #f0c52833; }
.receipt-history-row span,.cash-history summary span { display:grid; gap:3px; }
.receipt-history-row small,.cash-history small { color:#9db2c9; }
.receipt-archive-preview { align-self:start; position:sticky; top:94px; }
.archive-shell-single { grid-template-columns:1fr; max-width:1050px; }
.receipt-open-button { flex:0 0 auto; min-height:42px; padding:8px 16px; }
.receipt-modal-backdrop { position:fixed; inset:0; z-index:1000; background:#020914d9; display:flex; justify-content:center; align-items:center; padding:24px; overflow:hidden; }
.receipt-modal { width:min(100%,480px); max-height:calc(100vh - 48px); overflow:auto; margin:0; background:#0d1c2e; border:1px solid #3a5675; border-radius:18px; padding:0 16px 16px; box-shadow:0 28px 80px #000a; }
.receipt-modal-toolbar { position:sticky; top:0; z-index:5; display:flex; align-items:center; justify-content:space-between; gap:12px; padding:12px 0; background:#0d1c2e; border-bottom:1px solid #3a5675; }
.receipt-modal-close { min-height:42px; }
.receipt-print-host { display:none; }
.archive-filter-status { margin-top:14px; }
.empty-state { display:grid; gap:7px; padding:22px; color:#9db2c9; text-align:center; border:1px dashed #314967; border-radius:12px; }
.cash-day-shell { display:grid; grid-template-columns:minmax(420px,1fr) minmax(420px,1fr); gap:22px; padding:24px; max-width:1250px; margin:0 auto; }
.cash-form { display:grid; gap:14px; margin-top:18px; }
.cash-form label { margin:0; }
.cash-summary-grid { display:grid; grid-template-columns:repeat(3,minmax(130px,1fr)); gap:10px; margin:18px 0; }
.cash-summary-grid div { display:grid; gap:4px; padding:13px; border:1px solid #29435f; border-radius:11px; background:#10243a; }
.cash-summary-grid span { color:#9db2c9; font-size:13px; }
.cash-summary-grid strong { color:#f0c528; font-size:18px; }
.cash-summary-grid.compact strong { font-size:15px; }
.cash-history { border:1px solid #29435f; border-radius:12px; padding:13px; margin:10px 0; background:#10243a; }
.cash-history summary { display:flex; align-items:center; justify-content:space-between; gap:12px; cursor:pointer; }
.admin-section-header { display:flex; align-items:center; justify-content:space-between; gap:14px; margin-bottom:16px; }
.admin-section-header h2,.admin-section-header p { margin:0; }
.cash-report-card { grid-column:1 / -1; }
.statistics-link { display:inline-flex; width:auto; margin:0 0 8px; }
.statistics-shell { max-width:1180px; margin:0 auto; padding:24px; }
.statistics-card { width:100%; }
.statistics-heading { display:flex; align-items:end; justify-content:space-between; gap:16px; margin:28px 0 12px; }
.statistics-heading h2,.statistics-heading p { margin-bottom:0; }
.statistics-heading > span { color:#9db2c9; text-align:right; }
.article-stat-table { display:grid; gap:7px; }
.article-stat-row { display:grid; grid-template-columns:minmax(240px,2fr) repeat(4,minmax(90px,0.7fr)); align-items:center; gap:10px; padding:12px 14px; border:1px solid #2b4766; border-radius:11px; background:#10243a; }
.article-stat-row > :not(:first-child) { text-align:right; }
.article-stat-head { background:#071627; color:#9db2c9; font-size:.83rem; text-transform:uppercase; letter-spacing:.04em; }
.statistics-toggle { margin-top:18px; }
.all-articles { max-height:560px; overflow:auto; padding-right:4px; }
.report-controls { display:flex; align-items:end; flex-wrap:wrap; gap:12px; margin:16px 0; }
.report-controls label { min-width:210px; margin:0; }
.report-controls button { min-height:48px; }
.report-receipts { max-height:430px; }
.daily-receipts { display:grid; gap:7px; margin:12px 0 20px; max-height:320px; overflow:auto; }
.daily-receipts.compact { margin:12px 0 4px; max-height:240px; }
.daily-receipt-row { display:flex; align-items:center; justify-content:space-between; gap:12px; padding:10px 12px; border:1px solid #29435f; border-radius:10px; background:#09192a; }
.daily-receipt-row span { display:grid; gap:2px; }
.daily-receipt-row small { color:#9db2c9; }
.daily-receipt-row strong { color:#91efbf; }
.daily-receipt-row strong.negative { color:#ff9ea9; }
.employee-grid { display:grid; grid-template-columns:repeat(3,minmax(180px,1fr)); gap:12px; margin:20px 0; }
.employee-card { display:flex; flex-direction:column; justify-content:space-between; gap:10px; padding:16px; border:1px solid #29435f; border-radius:13px; background:#10243a; }
.employee-card h2 { font-size:1.15rem; margin-bottom:5px; }
.employee-card p { color:#9db2c9; }
.employee-editor { margin-top:20px; }
.employee-management-header { margin-top:22px; }
.employee-management-header p { color:#9db2c9; }
.employee-remove-box { display:grid; gap:10px; margin-top:10px; padding-top:16px; border-top:1px solid #3a5675; }
.manufacturer-card { max-width:920px; }
.manufacturer-card h2 { margin:24px 0 8px; }
.manufacturer-steps { line-height:1.55; padding-left:24px; }
.manufacturer-steps li { margin:7px 0; }
.action-link { display:block; box-sizing:border-box; margin-top:20px; text-align:center; text-decoration:none; }
@media print {
  @page { margin: 0; }
  html, body { min-height:0 !important; background:#fff !important; }
  body.receipt-printing > *:not(.receipt-print-host) { display:none !important; }
  body.receipt-printing > .receipt-print-host { display:block !important; width:80mm; margin:0; padding:0; }
  .receipt-print-host .print-receipt.print-target { position:static; display:block; width:80mm; box-sizing:border-box; border:none; border-radius:0; margin:0; overflow:visible; }
  .print-receipt.print-monochrome, .print-receipt.print-monochrome * {
    color:#000 !important; background:#fff !important; border-color:#000 !important;
    box-shadow:none !important; text-shadow:none !important;
    print-color-adjust:economy; -webkit-print-color-adjust:economy;
  }
  .print-receipt.print-monochrome .receipt-test-mark { border:2px solid #000 !important; }
  .print-receipt.print-color, .print-receipt.print-color * {
    print-color-adjust:exact; -webkit-print-color-adjust:exact;
  }
  .no-print { display:none !important; }
}
.password-field {
    display: grid;
    gap: .45rem;
}

.password-input-wrap {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 3rem;
    align-items: stretch;
    border: 1px solid #28415f;
    border-radius: .7rem;
    overflow: hidden;
    background: #0a192b;
}

.password-input-wrap input {
    width: 100%;
    border: 0 !important;
    border-radius: 0 !important;
    background: transparent !important;
}

.password-input-wrap input:focus {
    outline: 2px solid #d6a800;
    outline-offset: -2px;
}

.password-visibility {
    display: grid;
    place-items: center;
    min-width: 3rem;
    padding: 0;
    border: 0;
    border-left: 1px solid #28415f;
    border-radius: 0;
    background: #12243a;
    color: #e8eef7;
    cursor: pointer;
}

.password-visibility:hover,
.password-visibility:focus-visible {
    background: #1b3452;
    color: #f2c225;
}

.password-visibility svg {
    width: 1.35rem;
    height: 1.35rem;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.8;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.file-upload { display: grid; gap: .55rem; margin: 1rem 0; color: #9eb0c8; font-weight: 800; }
.file-upload input[type="file"] { width: 100%; padding: .8rem; border: 1px solid #28415f; border-radius: .8rem; background: #09192a; color: #f4f7fb; }
.confirm-check { display: flex; align-items: flex-start; gap: .65rem; margin: 1rem 0; color: #f4f7fb; line-height: 1.45; }
.confirm-check input { width: 1.15rem; height: 1.15rem; margin-top: .15rem; flex: 0 0 auto; }
.helper-text { color: #9eb0c8; font-size: .9rem; margin-top: .8rem; }

@media (max-width: 760px) {
    .statistics-shell { padding:14px; }
    .statistics-heading { align-items:flex-start; flex-direction:column; }
    .statistics-heading > span { text-align:left; }
    .article-stat-table { overflow-x:auto; }
    .article-stat-row { min-width:720px; }
    .receipt-history-row { align-items:flex-start; flex-wrap:wrap; }
    .receipt-open-button { width:100%; }
    .receipt-modal-backdrop { padding:8px; }
    .receipt-modal { max-height:calc(100vh - 16px); padding:0 8px 8px; }
    .receipt-modal-toolbar { align-items:stretch; flex-direction:column; }
}
