:root {
  color-scheme: dark;
  --bg: #070b13;
  --panel: rgba(20,29,46,.68);
  --raised: rgba(40,60,94,.32);
  --line: rgba(144,176,228,.16);
  --text: #edf2fa;
  --muted: #a1adbf;
  --accent: #a8c4ee;
  --danger: #ffb8b3;
  --success: #9acfc3;
  --app-width: 480px;
  font-family: Tahoma, Arial, sans-serif;
  font-size: 14px;
  line-height: 1.85;
}
* { box-sizing: border-box; }
html { background: #03060b; scroll-padding-top: 90px; }
body { margin: 0; color: var(--text); min-width: 280px; }
button, input, textarea, select { font: inherit; }
a { color: inherit; text-decoration: none; }
button, a { touch-action: manipulation; -webkit-tap-highlight-color: transparent; }
button { cursor: pointer; }
button, .button-link { min-height: 48px; border: 1px solid var(--line); border-radius: 15px; background: var(--raised); color: var(--text); padding: 11px 16px; }
button:disabled { opacity: .6; cursor: wait; }
button:focus-visible, a:focus-visible, input:focus-visible, textarea:focus-visible, select:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }
button:active, .button-link:active { filter: brightness(.9); }
svg { display: block; width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 1.65; stroke-linecap: round; stroke-linejoin: round; flex-shrink: 0; }
h1, h2, h3, p { margin: 0; }
h1 { font-size: 24px; line-height: 1.65; letter-spacing: -.7px; overflow-wrap: anywhere; }
h2 { font-size: 18px; line-height: 1.7; }
h3 { font-size: 16px; line-height: 1.8; overflow-wrap: anywhere; }
small, .muted { color: var(--muted); }
small { font-size: 11px; }
.hidden { display: none !important; }
.app-shell { width: 100%; max-width: var(--app-width); min-height: 100vh; min-height: 100dvh; margin-inline: auto; background: radial-gradient(ellipse at 85% 0, #244b7b38, transparent 48%), radial-gradient(ellipse at 0 58%, #18335c24, transparent 55%), linear-gradient(180deg, #090f1b, #05080e); }
.app-header { position: sticky; top: 0; z-index: 4; min-height: 80px; padding: calc(16px + env(safe-area-inset-top)) 20px 16px; background: linear-gradient(160deg, #1a29405e, #080d17e0); border-bottom: 1px solid #b8d3ff14; display: flex; align-items: center; justify-content: space-between; gap: 16px; -webkit-backdrop-filter: blur(24px) saturate(125%); backdrop-filter: blur(24px) saturate(125%); }
.brand { display: flex; align-items: center; gap: 12px; min-width: 0; }
.brand-mark { position: relative; overflow: hidden; display: grid; place-items: center; width: 42px; height: 42px; flex-shrink: 0; border: 1px solid #a8c8f033; border-radius: 14px; color: #c0d4f4; background: linear-gradient(145deg, #5675a347, #14233a94); box-shadow: inset 0 1px 0 #e7f1ff12; font: bold 24px Arial, sans-serif; }
.brand-copy { display: grid; gap: 1px; min-width: 0; }
.brand-copy strong { font-size: 14px; line-height: 1.6; overflow-wrap: anywhere; }
.brand-copy small { font-size: 10px; }
.icon-button { display: grid; place-items: center; width: 44px; height: 44px; min-height: 44px; padding: 0; flex-shrink: 0; border-radius: 14px; background: #243b5c55; }
.support-shortcut { color: #c2cddd; }
main { padding: 24px 20px calc(110px + env(safe-area-inset-bottom)); min-height: calc(100dvh - 80px); }
.bottom-nav { position: fixed; z-index: 5; bottom: calc(10px + env(safe-area-inset-bottom)); left: 50%; transform: translateX(-50%); width: calc(100% - 24px); max-width: calc(var(--app-width) - 24px); display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); padding: 7px; border: 1px solid #bad5ff30; border-radius: 26px; background: linear-gradient(135deg, #293d5b9e, #101b30cc 60%, #1f304db3); -webkit-backdrop-filter: blur(28px) saturate(135%); backdrop-filter: blur(28px) saturate(135%); box-shadow: inset 0 1px 0 #f1f6ff16, 0 12px 34px #0006; }
.bottom-nav a { position: relative; min-width: 0; min-height: 57px; display: flex; flex-direction: column; justify-content: center; align-items: center; gap: 5px; color: #9aa7ba; font-size: 10px; border-radius: 15px; }
.bottom-nav a svg { width: 21px; height: 21px; }
.bottom-nav a[aria-current=page] { color: #d0e2ff; background: linear-gradient(150deg, #92bfff26, #5d86ca12); box-shadow: inset 0 1px 0 #e8f2ff12; }
.bottom-nav a[aria-current=page]:before { content: ''; width: 14px; height: 2px; border-radius: 3px; background: #97bcee; position: absolute; top: 3px; }
.nav-count { position: absolute; top: 0; left: calc(50% - 27px); min-width: 16px; height: 16px; border: 1px solid #87a8d84d; border-radius: 7px; background: #294a77; color: #e0ecff; font: 10px/16px Tahoma, sans-serif; text-align: center; padding-inline: 3px; }
.welcome { position: relative; padding: 3px 0 25px; }
.eyebrow { display: flex; align-items: center; gap: 7px; font-size: 11px; color: var(--accent); margin-bottom: 10px; }
.eyebrow:before { content: ''; width: 5px; height: 5px; border-radius: 50%; background: var(--accent); }
.welcome h1 { font-size: 23px; max-width: 100%; }
.welcome p { font-size: 12px; color: var(--muted); white-space: pre-wrap; overflow-wrap: anywhere; margin-top: 9px; line-height: 2; }
.section-title { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin-bottom: 17px; }
.section-title h2 { font-size: 15px; }
.count-pill { font-size: 10px; background: #243b5c55; color: #a6b9d4; border-radius: 8px; padding: 3px 9px; white-space: nowrap; }
.grid { display: grid; grid-template-columns: minmax(0, 1fr); gap: 18px; }
.product { display: block; width: 100%; padding: 7px; text-align: right; background: linear-gradient(145deg, #30435f57, #101827b8 65%); border: 1px solid #b5ceef26; border-radius: 24px; min-width: 0; -webkit-backdrop-filter: blur(16px); backdrop-filter: blur(16px); box-shadow: inset 0 1px 0 #eef6ff0d, 0 12px 26px #0002; }
.photo { display: block; width: 100%; aspect-ratio: 16 / 9; object-fit: cover; border-radius: 15px; background: #162238; }
.product-body { display: block; padding: 14px 12px 9px; }
.product h3 { font-size: 16px; font-weight: 700; }
.product p { font-size: 12px; color: var(--muted); margin-top: 7px; line-height: 1.95; overflow-wrap: anywhere; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.price-row { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 10px; margin-top: 17px; padding-top: 13px; border-top: 1px solid #9ebce71c; }
.price { display: inline-block; font-size: 19px; line-height: 1.7; font-weight: 700; white-space: nowrap; }
.price small { font-size: 10px; font-weight: 400; margin-inline-start: 3px; color: #a4b0c4; }
.view-product { display: inline-flex; align-items: center; gap: 6px; min-height: 37px; font-size: 11px; background: #8eb9f116; color: var(--accent); border-radius: 11px; padding: 7px 11px; }
.view-product svg { width: 14px; height: 14px; }
.primary { background: linear-gradient(135deg, #315b94e6, #1f3b69f2); color: #f1f6ff; border-color: #8bb1e54d; box-shadow: inset 0 1px 0 #eaf3ff1a, 0 5px 16px #03091744; font-weight: 700; }
.primary svg { stroke-width: 2; }
.wide { width: 100%; }
.button-link { display: inline-flex; justify-content: center; align-items: center; gap: 9px; text-align: center; }
.actions { display: flex; flex-wrap: wrap; gap: 9px; align-items: center; }
.actions > * { max-width: 100%; }
.page-heading { padding: 2px 0 23px; }
.page-heading h1 { font-size: 25px; }
.page-heading p { margin-top: 8px; font-size: 12px; color: var(--muted); line-height: 2; }
.panel, .admin-panel { border: 1px solid var(--line); border-radius: 23px; background: linear-gradient(150deg, #30456345, #111b2ccc); padding: 20px; min-width: 0; -webkit-backdrop-filter: blur(20px); backdrop-filter: blur(20px); box-shadow: inset 0 1px 0 #eef6ff0b; }
.panel + .panel, .admin-panel + .admin-panel { margin-top: 18px; }
.form-stack, .form-grid { display: grid; grid-template-columns: minmax(0, 1fr); gap: 18px; }
.span-2 { grid-column: 1 / -1; }
label { display: block; min-width: 0; font-size: 12px; }
label > span { display: block; color: #bdc9db; margin-bottom: 8px; }
input, textarea, select { display: block; width: 100%; max-width: 100%; min-width: 0; min-height: 52px; border: 1px solid #9db9df33; border-radius: 14px; padding: 13px 14px; background: #080f1ccc; color: var(--text); font-size: 16px; }
input::placeholder, textarea::placeholder { color: #7c8ba2; font-size: 13px; }
textarea { min-height: 106px; resize: vertical; line-height: 1.9; }
input[type=checkbox] { min-height: 22px; width: 22px; height: 22px; margin: 0; accent-color: var(--accent); flex-shrink: 0; }
input[type=file] { font-size: 12px; padding: 10px; }
.check { display: flex; gap: 10px; align-items: center; min-height: 44px; }
.check > span { margin: 0; }
.ltr { direction: ltr; text-align: left; }
.hint, .file-note { font-size: 11px; line-height: 2; color: var(--muted); margin-top: 7px; overflow-wrap: anywhere; }
.file-note { display: block; }
.error { color: var(--danger); font-size: 12px; white-space: pre-wrap; overflow-wrap: anywhere; }
.error:empty { display: none; }
.notice { background: #17325366; color: #c0d3ed; border: 1px solid #648ec74d; padding: 14px 16px; border-radius: 15px; font-size: 12px; line-height: 2; overflow-wrap: anywhere; }
.notice.warning { background: #30291d; border-color: #60513a; color: #e4d3b6; }
.plain-text { white-space: pre-wrap; overflow-wrap: anywhere; }
.spaced { margin-top: 20px; }
.empty { text-align: center; padding: 38px 20px; border: 1px solid var(--line); border-radius: 22px; background: var(--panel); }
.empty h2, .empty h3 { font-size: 17px; }
.empty p { color: var(--muted); font-size: 12px; margin-top: 10px; line-height: 2; }
.empty .button-link, .empty button { margin-top: 22px; width: 100%; }
.state-icon { display: grid; place-items: center; width: 62px; height: 62px; border: 1px solid #89b2ed4d; border-radius: 21px; color: var(--accent); background: #3a6da333; margin: 0 auto 22px; }
.state-icon svg { width: 27px; height: 27px; }
.loading { padding: 40px 20px; font-size: 12px; color: var(--muted); text-align: center; }
.loading:before { content: ''; display: block; width: 23px; height: 23px; border: 2px solid #233a59; border-top-color: var(--accent); border-radius: 50%; margin: 0 auto 16px; animation: spin .8s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
.track-input { font: 16px/1.8 monospace; letter-spacing: .1px; }
.recent-button { display: flex; align-items: center; justify-content: space-between; gap: 12px; width: 100%; text-align: right; padding: 13px 15px; background: transparent; }
.recent-button span { display: grid; gap: 2px; min-width: 0; font-size: 12px; }
.recent-button small { font: 11px/1.7 monospace; }
.recent-button svg { width: 18px; }
.badge { display: inline-flex; align-items: center; min-height: 26px; border-radius: 8px; padding: 3px 9px; background: #243752; color: #c5d4eb; font-size: 10px; line-height: 1.8; }
.badge.approved { background: #203e3c; color: #9bcac2; }
.badge.rejected { background: #452d29; color: #ffc5bc; }
.badge.unknown { background: #273344; color: #b5c2d5; }
.customer-orders { display: grid; gap: 13px; }
.customer-order { border: 1px solid var(--line); background: var(--panel); padding: 17px; border-radius: 19px; }
.customer-order .order-top { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-bottom: 12px; }
.customer-order h2 { font-size: 15px; overflow-wrap: anywhere; }
.customer-order p { font-size: 11px; margin-top: 5px; color: var(--muted); }
.customer-order .order-bottom { display: flex; justify-content: space-between; flex-wrap: wrap; align-items: center; gap: 12px; margin-top: 17px; padding-top: 14px; border-top: 1px solid var(--line); }
.customer-order .price { font-size: 16px; }
.customer-order button { min-height: 44px; padding: 8px 13px; font-size: 11px; }
.result { margin-top: 20px; }
.result-summary { display: flex; justify-content: space-between; gap: 14px; align-items: start; }
.result-summary h2 { font-size: 16px; margin-top: 14px; }
.result-summary small { display: block; margin-top: 5px; }
.result-summary .icon-button { color: var(--muted); }
.result .plain-text { font-size: 13px; line-height: 2.1; }
.tracking-steps { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); margin-block: 25px; gap: 12px; }
.tracking-steps div { display: flex; gap: 8px; flex-direction: column; align-items: center; font-size: 10px; color: #7f91a9; }
.tracking-steps span { display: grid; place-items: center; width: 31px; height: 31px; border-radius: 11px; border: 1px solid #455b7a; }
.tracking-steps svg { width: 17px; height: 17px; }
.tracking-steps .done, .tracking-steps .current { color: var(--accent); }
.tracking-steps .done span { background: #22476a; border-color: #5d92c4; }
.tracking-steps .current span { border-color: var(--accent); }
.support-card { text-align: center; padding: 28px 20px; }
.support-card h2 { font-size: 18px; }
.support-card p { font-size: 12px; color: var(--muted); line-height: 2; margin-top: 10px; }
.support-card .button-link { margin-top: 23px; width: 100%; }
.settings-link { display: flex; justify-content: space-between; align-items: center; min-height: 58px; border-bottom: 1px solid var(--line); gap: 14px; font-size: 12px; }
.settings-link:last-child { border-bottom: 0; }
.settings-link svg { width: 18px; color: var(--muted); }
.privacy-note { font-size: 11px; line-height: 2; color: var(--muted); text-align: center; padding: 19px 12px 0; }
dialog { inset: 0; margin: 0 auto; padding: 0; width: 100%; max-width: var(--app-width); height: 100vh; height: 100dvh; max-height: 100dvh; border: 0; border-inline: 1px solid #5972934d; border-radius: 0; background: var(--bg); color: var(--text); overflow: hidden; }
dialog[open] { display: flex; flex-direction: column; }
dialog::backdrop { background: #01040ad9; -webkit-backdrop-filter: blur(5px); backdrop-filter: blur(5px); }
.modal-head { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: calc(16px + env(safe-area-inset-top)) 20px 16px; border-bottom: 1px solid var(--line); flex-shrink: 0; background: var(--bg); }
.modal-head h2 { font-size: 16px; overflow-wrap: anywhere; }
#modalBody { padding: 22px 20px calc(28px + env(safe-area-inset-bottom)); overflow: auto; overscroll-behavior-y: contain; flex: 1; min-height: 0; scrollbar-width: thin; scrollbar-color: #405b7d transparent; }
#modalBody:has(.product-detail) { display: flex; flex-direction: column; }
.product-detail { flex: 1 0 auto; }
body.modal-open { overflow: hidden; }
.detail-photo { border-radius: 21px; }
.product-detail .detail-title { font-size: 22px; margin-top: 23px; }
.detail-lead { font-size: 12px; color: var(--muted); margin-top: 9px; white-space: pre-wrap; overflow-wrap: anywhere; }
.detail-text { margin-top: 25px; padding-top: 21px; border-top: 1px solid var(--line); font-size: 14px; line-height: 2.2; padding-bottom: 22px; }
.detail-bottom { position: sticky; bottom: calc(-28px - env(safe-area-inset-bottom)); display: flex; flex-shrink: 0; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 14px; background: #0a101cf2; border-top: 1px solid #678ab14d; padding: 16px 20px calc(20px + env(safe-area-inset-bottom)); margin: 15px -20px calc(-28px - env(safe-area-inset-bottom)); -webkit-backdrop-filter: blur(16px); backdrop-filter: blur(16px); }
.detail-bottom > div { min-width: 0; }
.detail-bottom > div > small { display: block; font-size: 10px; }
.detail-bottom .primary { min-width: 128px; display: flex; align-items: center; justify-content: center; gap: 8px; }
.detail-bottom .primary svg { width: 18px; }
.mini-product { display: flex; align-items: center; gap: 13px; padding: 13px; border: 1px solid var(--line); background: var(--panel); border-radius: 17px; }
.mini-product img, .mini-product .fallback { width: 78px; height: 56px; aspect-ratio: auto; object-fit: cover; border-radius: 10px; flex-shrink: 0; }
.mini-product > div { min-width: 0; }
.mini-product h3 { font-size: 13px; }
.mini-product .price { font-size: 16px; }
.checkout-section-title { display: flex; align-items: center; gap: 9px; margin: 26px 0 14px; font-size: 14px; }
.step-number { display: grid; place-items: center; width: 25px; height: 25px; border-radius: 9px; border: 1px solid #546e92; color: var(--accent); font-size: 11px; }
.bank-card { position: relative; display: flex; flex-direction: column; justify-content: space-between; width: 100%; aspect-ratio: 1.64; min-height: 184px; overflow: hidden; padding: 23px; border: 1px solid #a5bfd44d; border-radius: 24px; color: #ecf3ff; background: radial-gradient(ellipse at 100% 0, #99bcf82b, transparent 70%), linear-gradient(135deg, #263e5e, #0d192c 65%, #243c5b); box-shadow: inset 0 1px 0 #eef6ff24, 0 14px 32px #0004; }
.bank-card:before { content: ''; position: absolute; left: -44px; top: -75px; width: 220px; height: 220px; border: 1px solid #abc4e629; border-radius: 50%; box-shadow: 0 0 0 22px #abc4e607, 0 0 0 46px #abc4e605; }
.bank-top, .card-owner { display: flex; justify-content: space-between; align-items: center; gap: 12px; position: relative; }
.bank-top { font-size: 10px; }
.bank-top > span:first-child { max-width: 75%; overflow-wrap: anywhere; }
.chip { display: block; width: 35px; height: 26px; border-radius: 7px; border: 1px solid #e4dab2; background: linear-gradient(110deg, #b2a16c, #e8dfb9, #a89664); flex-shrink: 0; }
.card-number { font: 23px/1.8 monospace; text-align: center; direction: ltr; letter-spacing: .5px; position: relative; white-space: nowrap; margin-block: 15px; }
.card-owner { align-items: end; font-size: 12px; }
.card-owner > div { min-width: 0; overflow-wrap: anywhere; }
.card-owner small { font-size: 9px; color: #a4b7d1; }
.copy-button { min-height: 36px; padding: 6px 10px; font-size: 10px; color: #dce8f9; background: #9fc1f01a; border-color: #92b2dc55; border-radius: 10px; white-space: nowrap; }
.upload-field { display: flex; gap: 13px; align-items: center; padding: 18px 14px; border: 1px dashed #7b9bc96b; border-radius: 17px; background: #22487938; position: relative; cursor: pointer; }
.upload-field > span { display: block; margin: 0; }
.upload-field input[type=file] { position: absolute; opacity: 0; width: 100%; height: 100%; inset: 0; cursor: pointer; }
.upload-field:focus-within { outline: 2px solid var(--accent); outline-offset: 3px; }
.upload-icon { width: 39px; height: 39px; display: grid !important; place-items: center; background: #315d9938; border-radius: 13px; color: var(--accent); flex-shrink: 0; }
.upload-field .file-note { margin-top: 2px; font-size: 10px; }
.selected-file { color: var(--accent); font-size: 11px; overflow-wrap: anywhere; }
.receipt-preview { max-width: 100%; max-height: 260px; margin: 0 auto; display: block; border: 1px solid var(--line); border-radius: 15px; }
.confirmation { text-align: center; padding-top: 25px; }
.confirmation h3 { font-size: 24px; margin-top: 17px; }
.confirmation > p { font-size: 12px; color: var(--muted); line-height: 2.1; margin-top: 12px; }
.confirmation .actions { display: grid; margin-top: 22px; }
.confirmation .state-icon { width: 76px; height: 76px; border-radius: 27px; }
.code-box { user-select: all; direction: ltr; text-align: center; font: 13px/1.9 monospace; overflow-wrap: anywhere; padding: 16px; margin: 20px 0; background: #0b1629; border: 1px dashed #7b9bc966; border-radius: 15px; }
.toast { position: fixed; z-index: 20; bottom: calc(105px + env(safe-area-inset-bottom)); left: 50%; transform: translateX(-50%); width: max-content; max-width: min(420px, calc(100% - 32px)); background: #13233bf2; border: 1px solid #91b4e54d; color: #e4edfb; border-radius: 16px; padding: 12px 18px; font-size: 12px; box-shadow: 0 12px 35px #0008; -webkit-backdrop-filter: blur(20px); backdrop-filter: blur(20px); }
.fallback { display: grid; place-items: center; color: var(--muted); font-size: 11px; background: #172238; }
.admin-heading { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding-bottom: 23px; }
.admin-heading h1 { font-size: 22px; }
.admin-heading small { font-size: 10px; }
.admin-heading button { font-size: 12px; min-height: 44px; }
.admin-panel h2 { font-size: 17px; }
.admin-tabs { position: fixed; z-index: 5; bottom: calc(10px + env(safe-area-inset-bottom)); left: 50%; transform: translateX(-50%); display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); width: calc(100% - 24px); max-width: calc(var(--app-width) - 24px); gap: 3px; padding: 7px; border: 1px solid #bad5ff30; border-radius: 26px; background: linear-gradient(135deg, #293d5b9e, #101b30cc 60%, #1f304db3); -webkit-backdrop-filter: blur(28px) saturate(135%); backdrop-filter: blur(28px) saturate(135%); box-shadow: inset 0 1px 0 #f1f6ff16, 0 12px 34px #0006; }
.admin-tabs button { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 5px; min-height: 57px; min-width: 0; padding: 4px 2px; border: 0; border-radius: 14px; background: transparent; color: #9aa7ba; font-size: 10px; }
.admin-tabs button[aria-selected=true] { color: var(--accent); background: #92bfff16; }
.admin-tabs svg { width: 21px; height: 21px; }
body[data-admin=true] .bottom-nav { display: none; }
.login { margin-top: 25px; }
.login h1 { font-size: 24px; }
.login > p { color: var(--muted); font-size: 12px; margin: 9px 0 24px; }
.login .eyebrow { margin-bottom: 15px; }
.admin-list { display: grid; gap: 12px; }
.admin-row { display: flex; flex-direction: column; align-items: stretch; gap: 13px; padding: 16px; border: 1px solid var(--line); border-radius: 15px; background: #0c1422b3; }
.admin-row > div { min-width: 0; }
.admin-row h3 { font-size: 13px; }
.admin-row p { font-size: 11px; color: var(--muted); margin-top: 3px; }
.admin-row .actions { justify-content: space-between; }
.admin-row button { font-size: 11px; min-height: 44px; }
.admin-find { display: grid; grid-template-columns: minmax(0, 1fr); gap: 10px; margin-bottom: 20px; }
.admin-find input { font-size: 16px; }
.admin-panel .section-title { flex-wrap: wrap; }
.admin-panel .section-title button { font-size: 11px; padding-inline: 12px; }
.receipt-large { width: 100%; display: block; max-height: 65dvh; object-fit: contain; background: #060b14; border-radius: 15px; margin-block: 18px; }
.facts { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 9px 14px; font-size: 12px; margin: 22px 0; }
.facts dt { color: var(--muted); }
.facts dd { margin: 0; overflow-wrap: anywhere; }
.more { display: block; width: 100%; margin-top: 18px; font-size: 12px; }
.success { color: var(--success); }
.danger { color: var(--danger); background: #38231e; border-color: #694339; }
@media (min-width: 481px) {
  .app-shell { border-inline: 1px solid #9bbbe71c; box-shadow: 0 0 90px #0008; }
  .bottom-nav, .admin-tabs { border-inline-color: #bad5ff30; }
}
@media (max-width: 340px) {
  main { padding-inline: 15px; }
  .app-header, .modal-head { padding-inline: 15px; gap: 10px; }
  .brand-copy strong { font-size: 12px; }
  .brand-copy small { font-size: 9px; }
  .brand-mark { width: 36px; height: 36px; border-radius: 12px; }
  .brand { gap: 9px; }
  .panel, .admin-panel { padding: 16px; }
  .product-body { padding-inline: 9px; }
  .view-product { padding-inline: 8px; font-size: 10px; }
  #modalBody { padding-inline: 15px; }
  .card-number { font-size: 18px; letter-spacing: .2px; }
  .bank-card { padding: 19px; min-height: 178px; }
  .detail-bottom { margin-inline: -15px; padding-inline: 15px; }
  .detail-bottom .primary { min-width: 113px; }
  .price { font-size: 17px; }
}

.brand-image { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.logo-preview { display: flex; align-items: center; gap: 13px; padding: 14px; border: 1px solid var(--line); border-radius: 16px; background: #0d172766; }
.logo-preview small { flex: 1; }
.delete-area { padding-top: 20px; border-top: 1px solid #b7878730; }
.customer-order { background: linear-gradient(145deg, #263b594d, #111b2cc9); -webkit-backdrop-filter: blur(16px); backdrop-filter: blur(16px); box-shadow: inset 0 1px 0 #eef6ff0b; }
.bottom-nav a, .admin-tabs button { transition: background .18s ease, color .18s ease; }
@supports not ((backdrop-filter: blur(1px)) or (-webkit-backdrop-filter: blur(1px))) {
  .app-header, .bottom-nav, .admin-tabs, .panel, .admin-panel, .product, .customer-order { background: #101a2b; }
}
@media (prefers-reduced-transparency: reduce) {
  .app-header, .bottom-nav, .admin-tabs, .panel, .admin-panel, .product, .customer-order { background: #101a2b; -webkit-backdrop-filter: none; backdrop-filter: none; }
}

@media (prefers-reduced-motion: reduce) {
  *, *:before, *:after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
}
