@import url('https://fonts.googleapis.com/css2?family=DM+Mono:wght@400;500&family=Manrope:wght@400;500;600;700;800&family=Space+Grotesk:wght@500;600;700&display=swap');

:root {
  color-scheme: dark;
  --bg: #0d100f;
  --bg-2: #121714;
  --panel: #171c19;
  --panel-2: #1d2420;
  --line: rgba(210, 232, 213, .12);
  --line-strong: rgba(210, 232, 213, .22);
  --ink: #edf1e9;
  --muted: #96a197;
  --faint: #657067;
  --acid: #cbff5c;
  --acid-soft: rgba(203, 255, 92, .11);
  --cyan: #82e7d4;
  --red: #ff8888;
  --orange: #f5c36a;
  --shadow: 0 24px 80px rgba(0, 0, 0, .28);
}

* { box-sizing: border-box; }
html { min-width: 320px; scroll-behavior: smooth; }
body { margin: 0; min-height: 100vh; background: var(--bg); color: var(--ink); font: 14px/1.6 Manrope, ui-sans-serif, system-ui, sans-serif; }
body::before { content: ''; position: fixed; z-index: -1; inset: 0; pointer-events: none; opacity: .33; background-image: linear-gradient(rgba(255,255,255,.025) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.025) 1px, transparent 1px); background-size: 72px 72px; mask-image: linear-gradient(to bottom, black, transparent 78%); }
body::after { content: ''; position: fixed; z-index: -1; width: 600px; height: 600px; top: -230px; right: -100px; border-radius: 50%; background: rgba(111, 158, 65, .18); filter: blur(100px); pointer-events: none; }
a { color: inherit; text-decoration: none; }
button, input, textarea { font: inherit; }
button { cursor: pointer; }
h1, h2, h3, p { margin-top: 0; }
h1, h2, h3 { font-family: 'Space Grotesk', Manrope, sans-serif; letter-spacing: -.045em; }
h1 { margin-bottom: 14px; font-size: clamp(2.3rem, 5vw, 4.7rem); line-height: 1.02; }
h2 { font-size: 1.45rem; line-height: 1.15; }
h3 { font-size: 1.05rem; }
em { color: var(--acid); font-style: normal; }
.icon { display: inline-block; width: 18px; height: 18px; flex: 0 0 auto; vertical-align: middle; }
.skip-link { position: fixed; top: 10px; left: 10px; z-index: 20; transform: translateY(-150%); padding: 9px 13px; background: var(--acid); color: #10200c; border-radius: 8px; font-weight: 800; }
.skip-link:focus { transform: translateY(0); }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }

.admin-layout { display: flex; }
.sidebar { position: fixed; z-index: 5; inset: 0 auto 0 0; width: 256px; display: flex; flex-direction: column; padding: 30px 18px 18px; background: rgba(16, 20, 17, .93); border-right: 1px solid var(--line); backdrop-filter: blur(20px); }
.workspace { min-width: 0; flex: 1; margin-left: 256px; }
.brand { display: inline-flex; align-items: center; gap: 11px; color: var(--ink); font-family: 'Space Grotesk', sans-serif; font-size: 14px; font-weight: 700; letter-spacing: .14em; line-height: 1.12; }
.brand > span:last-child { display: grid; gap: 3px; }
.brand small { color: var(--faint); font: 10px/1.2 Manrope, sans-serif; letter-spacing: .04em; font-weight: 600; }
.brand-mark { display: inline-grid; place-items: center; width: 34px; height: 34px; border: 1px solid var(--acid); border-radius: 10px 10px 10px 2px; color: var(--acid); font: 800 19px/1 'Space Grotesk', sans-serif; letter-spacing: -.1em; transform: rotate(-5deg); }
.brand-mark span { color: var(--ink); }
.nav-heading { margin: 56px 12px 13px; color: var(--faint); font: 11px/1 'DM Mono', monospace; letter-spacing: .16em; }
.side-nav { display: grid; gap: 6px; }
.side-nav a { position: relative; display: flex; align-items: center; gap: 12px; min-height: 45px; padding: 0 13px; border: 1px solid transparent; border-radius: 11px; color: var(--muted); font-weight: 650; transition: .2s ease; }
.side-nav a:hover { color: var(--ink); background: rgba(255,255,255,.04); }
.side-nav a.active { color: var(--acid); background: var(--acid-soft); border-color: rgba(203, 255, 92, .15); }
.side-nav a.active .icon { filter: drop-shadow(0 0 8px rgba(203,255,92,.45)); }
.nav-dot { width: 5px; height: 5px; margin-left: auto; border-radius: 50%; background: var(--acid); box-shadow: 0 0 9px var(--acid); }
.sidebar-bottom { margin-top: auto; }
.sidebar-note { margin: 0 4px 18px; padding: 15px; border: 1px solid var(--line); border-radius: 14px; background: linear-gradient(135deg, rgba(203,255,92,.08), transparent); }
.sidebar-note > .icon { color: var(--acid); margin-bottom: 8px; }
.sidebar-note strong { display: block; font-size: 12px; }
.sidebar-note p { margin: 6px 0 0; color: var(--faint); font-size: 11px; line-height: 1.65; }
.customer-entry { display: flex; align-items: center; gap: 9px; margin: 0 4px 18px; padding: 11px 12px; color: var(--muted); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); font-size: 12px; }
.customer-entry .icon:last-child { width: 14px; height: 14px; margin-left: auto; }
.admin-profile { display: flex; align-items: center; gap: 10px; padding: 11px 8px 0; border-top: 1px solid var(--line); }
.avatar { display: grid; place-items: center; width: 31px; height: 31px; border-radius: 50%; background: var(--acid); color: #1a2810; font-weight: 800; }
.admin-profile > div { display: grid; gap: 1px; min-width: 0; }
.admin-profile strong { font-size: 12px; }
.admin-profile small { color: var(--faint); font-size: 10px; }
.admin-profile form { margin-left: auto; }
.icon-button { display: grid; place-items: center; padding: 6px; border: 0; background: transparent; color: var(--faint); }
.icon-button:hover { color: var(--red); }
.icon-button .icon { width: 16px; height: 16px; }
.topbar { height: 78px; display: flex; align-items: center; justify-content: space-between; padding: 0 5.3vw; border-bottom: 1px solid var(--line); background: rgba(13,16,15,.72); backdrop-filter: blur(20px); }
.admin-layout .topbar { padding: 0 5.2vw; }
.breadcrumb { display: flex; align-items: center; gap: 10px; color: var(--faint); font-size: 12px; }
.breadcrumb strong { color: var(--ink); font-weight: 650; }
.topbar-link { display: inline-flex; align-items: center; gap: 7px; color: var(--muted); font-size: 12px; }
.topbar-link:hover { color: var(--acid); }
.topbar-link .icon { width: 14px; height: 14px; }
.shell { width: min(1180px, calc(100% - 48px)); margin: 0 auto; padding: 68px 0 74px; }
.site-footer { display: flex; justify-content: space-between; width: min(1180px, calc(100% - 48px)); margin: 0 auto; padding: 18px 0 25px; color: var(--faint); border-top: 1px solid var(--line); font-size: 11px; }
.footer-dot { color: var(--acid); padding: 0 8px; }
.eyebrow { color: var(--acid); font: 600 10px/1.2 'DM Mono', monospace; letter-spacing: .17em; }
.eyebrow span { color: var(--faint); }
.muted { max-width: 580px; margin-bottom: 0; color: var(--muted); }
.subtle-label { color: var(--faint); font: 10px 'DM Mono', monospace; letter-spacing: .13em; }
.button { display: inline-flex; align-items: center; justify-content: center; gap: 9px; min-height: 42px; padding: 0 17px; border: 1px solid var(--line-strong); border-radius: 9px; background: var(--panel-2); color: var(--ink); font-weight: 750; transition: .2s ease; }
.button:hover { border-color: var(--acid); transform: translateY(-1px); box-shadow: 0 8px 24px rgba(0,0,0,.18); }
.button.primary { border-color: var(--acid); background: var(--acid); color: #17220e; box-shadow: 0 8px 24px rgba(203,255,92,.09); }
.button.primary:hover { background: #ddff8d; box-shadow: 0 10px 30px rgba(203,255,92,.16); }
.button.ghost { background: transparent; color: var(--muted); }
.button.small { min-height: 34px; padding: 0 12px; font-size: 12px; }
.button.full { width: 100%; }
.button .icon { width: 16px; height: 16px; }
.page-head { display: flex; align-items: end; justify-content: space-between; gap: 25px; margin-bottom: 34px; }
.page-head h1 { max-width: 720px; }
.panel { position: relative; overflow: hidden; padding: 25px; border: 1px solid var(--line); border-radius: 18px; background: linear-gradient(145deg, rgba(29,36,32,.84), rgba(20,25,22,.85)); box-shadow: 0 17px 50px rgba(0,0,0,.13); }
.panel::after { content: ''; position: absolute; top: -80px; right: -70px; width: 200px; height: 200px; border-radius: 50%; background: rgba(203,255,92,.035); filter: blur(10px); pointer-events: none; }
.metrics { display: grid; grid-template-columns: repeat(3, 1fr); gap: 15px; margin-bottom: 15px; }
.metric { min-height: 177px; }
.metric-top, .section-title { display: flex; align-items: start; justify-content: space-between; gap: 15px; }
.metric-top > span { color: var(--muted); font-size: 12px; font-weight: 650; }
.metric-top > .icon { color: var(--acid); }
.metric-value { display: block; margin: 25px 0 2px; font: 600 40px/1 'Space Grotesk', sans-serif; letter-spacing: -.06em; }
.metric-value span { margin-left: 6px; color: var(--faint); font: 12px Manrope, sans-serif; letter-spacing: 0; }
.metric p, .section-title p { margin: 0; color: var(--faint); font-size: 11px; }
.metric-index { position: absolute; right: 23px; bottom: 15px; color: rgba(203,255,92,.16); font: 11px 'DM Mono', monospace; }
.quick-start { display: flex; align-items: center; gap: 20px; margin-bottom: 15px; padding: 21px 24px; border-color: rgba(203,255,92,.25); background: linear-gradient(105deg, rgba(203,255,92,.09), rgba(26,34,27,.86) 55%); }
.quick-start h2 { margin: 7px 0 5px; }
.quick-start p { margin: 0; color: var(--muted); font-size: 12px; }
.quick-start .button { margin-left: auto; }
.quick-visual { display: grid; place-items: center; width: 47px; height: 47px; border: 1px solid rgba(203,255,92,.35); border-radius: 13px; color: var(--acid); background: rgba(203,255,92,.08); }
.quick-visual .icon { width: 25px; height: 25px; }
.table-panel { padding-bottom: 15px; }
.table-panel h2 { margin-bottom: 5px; }
.count { display: inline-grid; place-items: center; min-width: 23px; height: 20px; margin-left: 5px; padding: 0 6px; border: 1px solid var(--line-strong); border-radius: 99px; color: var(--muted); font: 10px 'DM Mono', monospace; vertical-align: middle; letter-spacing: 0; }
.table-scroll { overflow-x: auto; margin-top: 23px; }
table { width: 100%; border-collapse: collapse; font-size: 12px; }
th, td { padding: 14px 11px; border-bottom: 1px solid var(--line); text-align: left; vertical-align: middle; }
th { color: var(--faint); font: 10px 'DM Mono', monospace; letter-spacing: .08em; text-transform: uppercase; }
td { color: var(--muted); }
tbody tr { transition: background .16s ease; }
tbody tr:hover { background: rgba(255,255,255,.025); }
tbody tr:last-child td { border-bottom: 0; }
.cell-icon { display: inline-flex; align-items: center; gap: 8px; color: var(--ink); }
.cell-icon .icon { width: 16px; height: 16px; color: var(--acid); }
.mono, code { font-family: 'DM Mono', monospace; }
.time-cell { white-space: nowrap; }
.badge { display: inline-flex; align-items: center; gap: 5px; min-height: 23px; padding: 0 9px; border: 1px solid var(--line-strong); border-radius: 99px; font-size: 10px; font-weight: 700; }
.badge .icon { width: 12px; height: 12px; }
.badge.success { color: var(--acid); border-color: rgba(203,255,92,.28); background: var(--acid-soft); }
.badge.warning { color: var(--orange); border-color: rgba(245,195,106,.25); background: rgba(245,195,106,.08); }
.badge.danger { color: var(--red); border-color: rgba(255,136,136,.28); background: rgba(255,136,136,.08); }
.badge.neutral { color: var(--muted); background: rgba(255,255,255,.035); }
.empty-state { display: grid; justify-items: center; padding: 56px 25px 48px; text-align: center; }
.empty-icon { display: grid; place-items: center; width: 52px; height: 52px; margin-bottom: 15px; border: 1px dashed var(--line-strong); border-radius: 15px; color: var(--faint); }
.empty-state h3 { margin-bottom: 5px; }
.empty-state p { margin-bottom: 14px; color: var(--faint); font-size: 12px; }
.text-link { display: inline-flex; align-items: center; gap: 6px; color: var(--acid); font-size: 12px; font-weight: 700; }
.text-link .icon { width: 14px; height: 14px; }
.text-danger { min-height: auto; padding: 0; border: 0; background: transparent; color: var(--red); font-size: 12px; }
.version-chip { display: inline-block; padding: 4px 8px; border-radius: 6px; background: var(--acid-soft); color: var(--acid); font: 11px 'DM Mono', monospace; }

.workflow { display: grid; grid-template-columns: repeat(3, 1fr); gap: 9px; margin: 0 0 25px; padding: 0; list-style: none; counter-reset: step; }
.workflow li { display: flex; align-items: center; gap: 11px; min-height: 61px; padding: 12px 15px; border: 1px solid var(--line); border-radius: 12px; background: rgba(255,255,255,.02); color: var(--faint); }
.workflow li.current { border-color: rgba(203,255,92,.28); background: var(--acid-soft); color: var(--ink); }
.workflow li > span { display: grid; place-items: center; width: 29px; height: 29px; border: 1px solid currentColor; border-radius: 50%; color: var(--faint); font: 10px 'DM Mono', monospace; }
.workflow li.current > span { border-color: var(--acid); color: var(--acid); }
.workflow strong, .workflow small { display: block; }
.workflow strong { font-size: 12px; }
.workflow small { margin-top: 2px; color: var(--faint); font-size: 10px; }
.import-layout { display: grid; grid-template-columns: minmax(0, 1.43fr) minmax(280px, .75fr); gap: 15px; align-items: start; }
.import-form { padding: 0; }
.form-section { padding: 27px; border-bottom: 1px solid var(--line); }
.form-section h2 { display: flex; align-items: center; gap: 10px; margin-bottom: 5px; font-size: 17px; }
.form-section p { color: var(--faint); font-size: 11px; }
.step-tag { display: grid; place-items: center; width: 25px; height: 25px; border-radius: 7px; color: var(--acid); background: var(--acid-soft); font: 10px 'DM Mono', monospace; }
.field-label { display: flex; gap: 8px; align-items: center; margin: 23px 0 8px; color: var(--muted); font-size: 12px; font-weight: 700; }
.field-label > span { padding: 2px 6px; border-radius: 4px; color: var(--faint); background: rgba(255,255,255,.05); font: 9px 'DM Mono', monospace; }
input, textarea { width: 100%; border: 1px solid var(--line-strong); border-radius: 10px; outline: none; background: rgba(5,8,6,.42); color: var(--ink); transition: .2s ease; }
input { height: 44px; padding: 0 13px; }
textarea { min-height: 145px; padding: 13px; resize: vertical; font: 12px/1.75 'DM Mono', monospace; }
input::placeholder, textarea::placeholder { color: #59655c; }
input:focus, textarea:focus { border-color: var(--acid); box-shadow: 0 0 0 3px rgba(203,255,92,.1); }
.field-hint { display: flex; align-items: center; gap: 4px; margin: 9px 0 0; color: var(--faint); font-size: 10px; }
.field-hint code { padding: 2px 4px; color: var(--cyan); background: rgba(130,231,212,.08); }
.file-type { padding: 4px 7px; border: 1px solid var(--line-strong); border-radius: 5px; color: var(--faint); font: 9px 'DM Mono', monospace; }
.upload-zone { display: grid; justify-items: center; gap: 5px; min-height: 175px; margin-top: 21px; padding: 27px; border: 1px dashed #4e6850; border-radius: 13px; color: var(--muted); background: rgba(203,255,92,.025); text-align: center; cursor: pointer; transition: .2s ease; }
.upload-zone:hover, .upload-zone.dragging { border-color: var(--acid); background: rgba(203,255,92,.08); }
.upload-zone strong { color: var(--ink); font-size: 13px; }
.upload-zone > span:not(.upload-symbol), .upload-zone small { font-size: 10px; }
.upload-zone small { color: var(--faint); }
.upload-zone input { display: none; }
.upload-symbol { display: grid; place-items: center; width: 42px; height: 42px; margin-bottom: 4px; border-radius: 12px; color: var(--acid); background: var(--acid-soft); }
.upload-symbol .icon { width: 21px; height: 21px; }
.form-bottom { display: flex; align-items: center; justify-content: space-between; gap: 18px; padding: 18px 27px; }
.form-bottom p { display: flex; align-items: center; gap: 8px; margin: 0; color: var(--faint); font-size: 10px; }
.form-bottom p .icon { color: var(--acid); width: 15px; height: 15px; }
.form-bottom .button { min-width: 180px; }
.import-aside { display: grid; gap: 15px; }
.guide-panel h2 { max-width: 190px; margin: 8px 0 25px; font-size: 22px; }
.rule-list, .package-preview ul { display: grid; gap: 17px; margin: 0; padding: 0; list-style: none; }
.rule-list li { display: grid; grid-template-columns: 20px 1fr; gap: 10px; }
.rule-list li > .icon { width: 16px; height: 16px; color: var(--acid); }
.rule-list strong { display: block; font-size: 11px; }
.rule-list p { margin: 3px 0 0; color: var(--faint); font-size: 10px; line-height: 1.6; }
.package-preview h3 { display: flex; align-items: center; gap: 8px; margin: 13px 0 21px; }
.package-preview h3 .icon { color: var(--acid); }
.package-preview li { display: flex; align-items: center; gap: 8px; color: var(--muted); font: 11px 'DM Mono', monospace; }
.package-preview li .icon { width: 15px; height: 15px; color: var(--faint); }
.package-preview li span { margin-left: auto; color: var(--faint); font: 10px Manrope, sans-serif; }
.package-preview p { margin: 23px 0 0; padding-top: 14px; border-top: 1px solid var(--line); color: var(--faint); font-size: 10px; }
.error-panel { border-color: rgba(255,136,136,.25); }
.alert { display: flex; align-items: flex-start; gap: 12px; padding: 14px 15px; border: 1px solid var(--line); border-radius: 11px; }
.alert .icon { margin-top: 1px; }
.alert strong { display: block; margin-bottom: 3px; }
.alert p { margin: 0; font-size: 11px; }
.alert.error { border-color: rgba(255,136,136,.3); background: rgba(255,136,136,.07); color: #ffbcbc; }
.alert.error .icon { color: var(--red); }
.error-panel > .alert { margin-bottom: 19px; }

.login-shell { display: grid; grid-template-columns: 1.1fr minmax(360px, .76fr); gap: 8vw; align-items: center; min-height: 67vh; }
.login-art { position: relative; min-height: 520px; padding-top: 8vh; }
.login-art h1 { max-width: 600px; margin-top: 24px; font-size: clamp(3.5rem, 7vw, 6.5rem); }
.login-art > p { max-width: 430px; color: var(--muted); }
.login-orbit { position: absolute; right: 6%; bottom: 25px; width: 245px; height: 245px; border: 1px solid rgba(203,255,92,.12); border-radius: 50%; }
.login-orbit::before, .login-orbit::after { content: ''; position: absolute; inset: 22px; border: 1px dashed rgba(203,255,92,.2); border-radius: 50%; }
.login-orbit::after { inset: 52px; border-style: solid; opacity: .4; }
.login-orbit span { position: absolute; width: 7px; height: 7px; border-radius: 50%; background: var(--acid); box-shadow: 0 0 15px var(--acid); }
.login-orbit span:nth-child(1) { top: 13px; left: 54px; }.login-orbit span:nth-child(2) { right: 29px; bottom: 48px; background: var(--cyan); box-shadow: 0 0 15px var(--cyan); }.login-orbit span:nth-child(3) { bottom: 27px; left: 56px; }
.login-orbit i { position: absolute; inset: 0; display: grid; place-items: center; color: var(--acid); font-style: normal; }.login-orbit i .icon { width: 34px; height: 34px; filter: drop-shadow(0 0 13px rgba(203,255,92,.5)); }
.login-stats { display: flex; gap: 31px; margin-top: 80px; }
.login-stats span { display: grid; gap: 2px; color: var(--faint); font-size: 10px; }.login-stats strong { color: var(--ink); font: 600 18px 'Space Grotesk', sans-serif; }
.login-card { align-self: center; padding: 34px; }.login-card-head { display: flex; align-items: center; gap: 13px; margin-bottom: 19px; }.login-card-head h2 { margin: 5px 0 0; font-size: 27px; }.login-card > .muted { margin-bottom: 25px; font-size: 12px; }.login-card .stack { gap: 15px; }.login-card .field-label { display: grid; align-items: start; gap: 8px; margin: 0; color: var(--muted); }.login-card .field-label input { margin-top: 1px; }.login-footnote { display: flex; align-items: center; justify-content: center; gap: 5px; margin: 24px 0 0; color: var(--faint); font-size: 10px; }.login-footnote .icon { width: 13px; height: 13px; }

.result-hero { display: flex; align-items: center; gap: 20px; padding: 12px 0 33px; }.result-check { display: grid; place-items: center; width: 57px; height: 57px; border: 1px solid rgba(203,255,92,.4); border-radius: 17px; color: var(--acid); background: var(--acid-soft); box-shadow: 0 0 30px rgba(203,255,92,.08); }.result-check .icon { width: 28px; height: 28px; }.result-hero h1 { margin: 8px 0; }.result-hero p { margin: 0; color: var(--muted); }.result-hero strong { color: var(--ink); }.issued-panel { max-width: 900px; }.issued-list { display: grid; gap: 0; margin-top: 24px; }.issued-row { display: grid; grid-template-columns: 40px minmax(150px, .6fr) 1fr; align-items: center; gap: 14px; padding: 15px 0; border-top: 1px solid var(--line); }.issued-number { color: var(--faint); font: 11px 'DM Mono', monospace; }.issued-email span { display: block; color: var(--faint); font-size: 10px; }.issued-email strong { display: block; margin-top: 2px; font-size: 12px; }.cdk-field { display: flex; align-items: center; justify-content: space-between; gap: 10px; min-height: 40px; padding: 0 8px 0 12px; border: 1px solid var(--line-strong); border-radius: 8px; background: rgba(0,0,0,.22); }.code { overflow: hidden; color: var(--acid); font: 12px 'DM Mono', monospace; text-overflow: ellipsis; white-space: nowrap; }.copy-button { display: grid; place-items: center; width: 28px; height: 28px; flex: 0 0 auto; border: 0; border-radius: 6px; color: var(--muted); background: transparent; }.copy-button:hover { color: var(--acid); background: var(--acid-soft); }.copy-button .icon { width: 15px; height: 15px; }.result-actions { display: flex; gap: 10px; margin-top: 20px; }.customer-result { margin-bottom: 8px; }.separator { margin: 0 6px; color: var(--faint); }.download-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 13px; }.download-card { display: flex; flex-direction: column; min-height: 235px; padding: 20px; border: 1px solid var(--line); border-radius: 15px; background: linear-gradient(155deg, rgba(29,36,32,.9), rgba(18,22,19,.92)); transition: .2s ease; }.download-card:hover { transform: translateY(-3px); border-color: rgba(203,255,92,.45); box-shadow: var(--shadow); }.download-card-icon { display: grid; place-items: center; width: 38px; height: 38px; margin-bottom: auto; border-radius: 10px; color: var(--acid); background: var(--acid-soft); }.download-card-icon .icon { width: 20px; height: 20px; }.download-card strong { display: block; margin-bottom: 3px; font-size: 13px; }.download-card p { margin: 0 0 17px; color: var(--faint); font-size: 10px; }.download-card .button { width: 100%; }.download-note { display: flex; align-items: center; gap: 8px; margin-top: 18px; color: var(--faint); font-size: 11px; }.download-note > .icon { color: var(--acid); width: 15px; height: 15px; }.download-note .back-link { margin-left: auto; display: inline-flex; align-items: center; gap: 5px; color: var(--acid); font-weight: 700; }.download-note .back-link .icon { width: 14px; height: 14px; }

.delivery-hero { display: grid; grid-template-columns: minmax(0, 1.05fr) .8fr; gap: 5vw; align-items: center; min-height: 560px; }.hero-copy h1 { max-width: 690px; margin-top: 25px; font-size: clamp(3rem, 6.5vw, 6rem); }.hero-copy > p { max-width: 540px; margin-bottom: 31px; color: var(--muted); font-size: 15px; }.delivery-form { display: flex; max-width: 620px; gap: 10px; }.cdk-input-wrap { display: flex; align-items: center; flex: 1; gap: 9px; padding: 0 12px; border: 1px solid var(--line-strong); border-radius: 9px; background: rgba(0,0,0,.26); }.cdk-input-wrap:focus-within { border-color: var(--acid); box-shadow: 0 0 0 3px rgba(203,255,92,.1); }.cdk-input-wrap > .icon { color: var(--acid); width: 17px; height: 17px; }.cdk-input-wrap input { height: 48px; padding: 0; border: 0; background: transparent; box-shadow: none; }.cdk-input-wrap > span { color: var(--faint); font: 16px 'DM Mono', monospace; }.delivery-form > .button { min-height: 48px; }.hero-copy .alert { max-width: 620px; margin-top: 16px; }.trust-row { display: flex; flex-wrap: wrap; gap: 18px; margin-top: 23px; color: var(--faint); font-size: 10px; }.trust-row span { display: inline-flex; align-items: center; gap: 6px; }.trust-row .icon { width: 14px; height: 14px; color: var(--acid); }.hero-visual { position: relative; min-height: 440px; }.visual-ring { position: absolute; top: 50%; left: 50%; width: 350px; height: 350px; border: 1px solid rgba(203,255,92,.13); border-radius: 50%; transform: translate(-50%, -50%); }.ring-two { width: 230px; height: 230px; border-style: dashed; border-color: rgba(130,231,212,.2); }.visual-card { position: absolute; top: 50%; left: 50%; width: 226px; height: 285px; padding: 24px; border: 1px solid rgba(203,255,92,.4); border-radius: 17px; background: linear-gradient(145deg, rgba(42,53,38,.96), rgba(16,21,17,.96)); box-shadow: 20px 25px 60px rgba(0,0,0,.3), 0 0 50px rgba(203,255,92,.07); transform: translate(-50%, -50%) rotate(6deg); }.visual-card strong { display: block; margin-top: 50px; color: var(--acid); font: 700 54px 'Space Grotesk', sans-serif; letter-spacing: -.09em; }.visual-lines { display: grid; gap: 9px; margin-top: 29px; }.visual-lines i { display: block; height: 5px; border-radius: 99px; background: rgba(237,241,233,.16); }.visual-lines i:nth-child(1) { width: 90%; background: rgba(203,255,92,.55); }.visual-lines i:nth-child(2) { width: 62%; }.visual-lines i:nth-child(3) { width: 78%; }.visual-status { position: absolute; right: 20px; bottom: 19px; display: flex; align-items: center; gap: 4px; color: var(--acid); font: 9px 'DM Mono', monospace; }.visual-status .icon { width: 12px; height: 12px; }.float-chip { position: absolute; display: inline-flex; align-items: center; gap: 5px; padding: 8px 10px; border: 1px solid var(--line-strong); border-radius: 8px; color: var(--muted); background: rgba(24,30,26,.85); box-shadow: 0 10px 30px rgba(0,0,0,.2); font: 9px 'DM Mono', monospace; }.float-chip .icon { width: 13px; height: 13px; color: var(--acid); }.chip-a { top: 16%; left: 1%; transform: rotate(-8deg); }.chip-b { right: 1%; bottom: 18%; transform: rotate(7deg); color: var(--cyan); }.chip-b .icon { color: var(--cyan); }.delivery-info { display: grid; grid-template-columns: .8fr 1.2fr; gap: 5vw; align-items: center; padding: 25px 0; border-top: 1px solid var(--line); }.delivery-info h2 { margin: 11px 0 0; font-size: 25px; }.format-list { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }.format-list span { display: flex; align-items: center; gap: 11px; padding: 11px 13px; border: 1px solid var(--line); border-radius: 8px; color: var(--muted); font-size: 11px; }.format-list b { color: var(--acid); font: 10px 'DM Mono', monospace; }
.toast { position: fixed; right: 22px; bottom: 22px; z-index: 30; max-width: 310px; padding: 11px 14px; border: 1px solid var(--acid); border-radius: 8px; color: var(--acid); background: #1e2a17; box-shadow: var(--shadow); opacity: 0; transform: translateY(10px); pointer-events: none; transition: .2s ease; font-size: 12px; }.toast.show { opacity: 1; transform: translateY(0); }

@media (max-width: 1000px) { .sidebar { width: 218px; }.workspace { margin-left: 218px; }.download-grid { grid-template-columns: repeat(2, 1fr); }.login-shell { gap: 35px; }.hero-visual { transform: scale(.84); }.delivery-hero { gap: 0; } }
@media (max-width: 760px) { .admin-layout { display: block; }.sidebar { position: static; width: 100%; min-height: auto; padding: 15px 16px; border-right: 0; border-bottom: 1px solid var(--line); }.sidebar .nav-heading, .sidebar-note, .customer-entry { display: none; }.sidebar-bottom { margin-top: 17px; }.side-nav { grid-template-columns: repeat(4, 1fr); gap: 5px; }.side-nav a { justify-content: center; min-height: 38px; padding: 0; }.side-nav a span:not(.nav-dot) { display: none; }.side-nav a .nav-dot { position: absolute; top: 6px; right: 10px; margin: 0; }.admin-profile { display: none; }.workspace { margin-left: 0; }.topbar, .admin-layout .topbar { height: 64px; padding: 0 20px; }.breadcrumb { font-size: 11px; }.topbar-link { display: none; }.shell { width: min(100% - 32px, 620px); padding: 42px 0 55px; }.site-footer { width: calc(100% - 32px); gap: 8px; flex-direction: column; }.page-head { align-items: start; flex-direction: column; margin-bottom: 26px; }.page-head h1 { font-size: 2.7rem; }.metrics { grid-template-columns: 1fr; }.metric { min-height: 135px; }.metric-value { margin-top: 16px; }.quick-start { align-items: start; flex-wrap: wrap; }.quick-start .button { width: 100%; margin-left: 0; }.workflow { grid-template-columns: 1fr; }.workflow li { min-height: 51px; }.import-layout { grid-template-columns: 1fr; }.form-section { padding: 21px 18px; }.form-bottom { align-items: stretch; flex-direction: column; padding: 16px 18px; }.form-bottom .button { width: 100%; }.download-grid { grid-template-columns: 1fr 1fr; }.download-card { min-height: 207px; }.login-shell { display: block; min-height: auto; }.login-art { min-height: auto; padding: 40px 0 25px; }.login-art h1 { font-size: 3.5rem; }.login-orbit { display: none; }.login-stats { margin-top: 35px; gap: 18px; }.login-card { padding: 23px; }.result-hero { align-items: start; }.result-hero h1 { font-size: 2.7rem; }.issued-row { grid-template-columns: 30px 1fr; gap: 8px; }.cdk-field { grid-column: 2; }.delivery-hero { display: block; min-height: auto; padding: 45px 0 60px; }.hero-copy h1 { font-size: 3.5rem; }.hero-copy > p { font-size: 13px; }.delivery-form { display: grid; }.delivery-form > .button { width: 100%; }.hero-visual { min-height: 330px; margin-top: 28px; transform: scale(.8); }.delivery-info { display: block; }.format-list { margin-top: 20px; }.download-note { align-items: start; flex-wrap: wrap; }.download-note .back-link { width: 100%; margin-left: 23px; }.float-chip { display: none; } }
@media (max-width: 430px) { .brand { font-size: 12px; }.brand small { display: none; }.public-layout .topbar .button { padding: 0 9px; }.public-layout .topbar .button .icon { display: none; }.download-grid { grid-template-columns: 1fr; }.download-card { min-height: 174px; }.login-stats { display: grid; grid-template-columns: 1fr 1fr 1fr; }.login-stats strong { font-size: 15px; }.login-stats span { font-size: 9px; }.format-list { grid-template-columns: 1fr; } }

/* Light paper theme */
:root {
  color-scheme: light;
  --bg: #f3f6ef;
  --bg-2: #eaf0e8;
  --panel: #fffefb;
  --panel-2: #f1f5ee;
  --line: rgba(48, 73, 57, .13);
  --line-strong: rgba(48, 73, 57, .24);
  --ink: #16231b;
  --muted: #506158;
  --faint: #7b897f;
  --acid: #66852a;
  --acid-soft: rgba(102, 133, 42, .11);
  --cyan: #18796f;
  --red: #b34a4a;
  --orange: #a66d17;
  --shadow: 0 24px 80px rgba(43, 65, 49, .12);
}

body {
  background: var(--bg);
}

body::before {
  opacity: .5;
  background-image: linear-gradient(rgba(54, 84, 58, .045) 1px, transparent 1px), linear-gradient(90deg, rgba(54, 84, 58, .045) 1px, transparent 1px);
  mask-image: linear-gradient(to bottom, black, transparent 82%);
}

body::after {
  background: rgba(154, 180, 105, .18);
}

.sidebar {
  background: rgba(235, 241, 232, .94);
  box-shadow: 8px 0 36px rgba(55, 78, 59, .05);
}

.side-nav a:hover {
  color: var(--ink);
  background: rgba(102, 133, 42, .06);
}

.side-nav a.active {
  border-color: rgba(102, 133, 42, .22);
}

.side-nav a.active .icon {
  filter: drop-shadow(0 0 7px rgba(102, 133, 42, .25));
}

.sidebar-note {
  background: linear-gradient(135deg, rgba(142, 169, 91, .14), rgba(255, 255, 255, .48));
}

.topbar {
  background: rgba(243, 246, 239, .84);
  box-shadow: 0 1px 0 rgba(48, 73, 57, .02);
}

.button {
  box-shadow: 0 2px 0 rgba(48, 73, 57, .03);
}

.button:hover {
  box-shadow: 0 8px 24px rgba(72, 103, 47, .12);
}

.button.primary {
  color: #fbfff5;
  background: #66852a;
  border-color: #66852a;
  box-shadow: 0 8px 18px rgba(102, 133, 42, .18);
}

.button.primary:hover {
  background: #58751f;
  border-color: #58751f;
  box-shadow: 0 11px 25px rgba(102, 133, 42, .24);
}

.button.ghost {
  background: rgba(255, 255, 255, .65);
}

.panel,
.metric,
.download-card,
.login-card {
  background: rgba(255, 254, 251, .9);
  box-shadow: 0 13px 38px rgba(56, 78, 59, .06);
}

.panel:hover,
.download-card:hover {
  box-shadow: 0 18px 48px rgba(56, 78, 59, .1);
}

.metric-index {
  color: rgba(102, 133, 42, .12);
}

.quick-visual {
  background: rgba(102, 133, 42, .1);
}

.quick-visual .icon {
  filter: drop-shadow(0 7px 12px rgba(102, 133, 42, .18));
}

.table-panel table tr:hover {
  background: rgba(102, 133, 42, .045);
}

input,
textarea {
  background: #fbfcf8;
  box-shadow: inset 0 1px 2px rgba(48, 73, 57, .025);
}

input::placeholder,
textarea::placeholder {
  color: #9aa69d;
}

input:focus,
textarea:focus {
  box-shadow: 0 0 0 3px rgba(102, 133, 42, .12), inset 0 1px 2px rgba(48, 73, 57, .025);
}

.upload-zone {
  border-color: #aebca9;
  background: rgba(102, 133, 42, .035);
}

.upload-zone:hover,
.upload-zone.dragging {
  background: rgba(102, 133, 42, .09);
}

.workflow li {
  background: rgba(255, 255, 255, .55);
}

.workflow li.current {
  background: rgba(102, 133, 42, .1);
}

.rule-list li,
.package-preview li {
  background: rgba(243, 246, 239, .68);
}

.alert.error {
  color: #963f3f;
  background: rgba(179, 74, 74, .08);
  border-color: rgba(179, 74, 74, .22);
}

.alert.success {
  color: #3e6e3c;
  background: rgba(102, 133, 42, .09);
  border-color: rgba(102, 133, 42, .22);
}

.result-check {
  background: rgba(102, 133, 42, .12);
}

.cdk-input-wrap {
  background: rgba(255, 255, 255, .72);
  box-shadow: 0 3px 14px rgba(48, 73, 57, .04);
}

.cdk-input-wrap:focus-within {
  box-shadow: 0 0 0 3px rgba(102, 133, 42, .12), 0 3px 14px rgba(48, 73, 57, .04);
}

.visual-ring {
  border-color: rgba(102, 133, 42, .2);
}

.ring-two {
  border-color: rgba(24, 121, 111, .22);
}

.visual-card {
  border-color: rgba(102, 133, 42, .42);
  background: linear-gradient(145deg, #fffefb, #e9f1e4);
  box-shadow: 20px 25px 60px rgba(52, 76, 54, .14), 0 0 50px rgba(102, 133, 42, .08);
}

.visual-lines i {
  background: rgba(22, 35, 27, .12);
}

.visual-lines i:nth-child(1) {
  background: rgba(102, 133, 42, .55);
}

.float-chip {
  background: rgba(255, 254, 251, .88);
  box-shadow: 0 10px 30px rgba(52, 76, 54, .1);
}

.toast {
  color: #3e6e3c;
  background: #f3faec;
  box-shadow: var(--shadow);
}

.login-orbit span {
  border-color: rgba(102, 133, 42, .22);
}

.login-orbit i {
  background: #66852a;
  color: #fbfff5;
  box-shadow: 0 11px 25px rgba(102, 133, 42, .22);
}

.upload-zone {
  position: relative;
  overflow: hidden;
}

.upload-zone input {
  display: block;
  position: absolute;
  inset: 0;
  z-index: 2;
  width: 100%;
  height: 100%;
  margin: 0;
  opacity: 0;
  cursor: pointer;
}

.cdk-reveal {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, .8fr);
  gap: 22px;
  align-items: center;
  margin-bottom: 15px;
  padding: 21px 24px;
  border-color: rgba(102, 133, 42, .28);
  background: linear-gradient(105deg, rgba(102, 133, 42, .11), rgba(255, 254, 251, .9) 60%);
}

.batch-redeem {
  display: grid;
  grid-template-columns: .85fr 1.15fr;
  gap: 28px;
  align-items: center;
  margin-bottom: 25px;
  padding: 24px;
  border-color: rgba(102, 133, 42, .22);
  background: linear-gradient(120deg, rgba(102, 133, 42, .08), rgba(255, 254, 251, .9) 70%);
}

.batch-copy h2 {
  margin: 8px 0 5px;
  font-size: 25px;
}

.batch-copy p {
  max-width: 420px;
  margin: 0;
  color: var(--muted);
  font-size: 11px;
}

.batch-form {
  display: grid;
  gap: 10px;
}

.batch-form textarea {
  min-height: 112px;
}

.batch-hint {
  margin-top: -2px;
  color: var(--muted);
  font-size: 11px;
  line-height: 1.5;
}

.batch-form .button {
  justify-self: end;
}

.batch-redeem .alert {
  grid-column: 1 / -1;
  margin: 0;
}

.cdk-reveal h2 {
  margin: 7px 0 5px;
  font-size: 20px;
}

.cdk-reveal p {
  margin: 0;
  color: var(--muted);
  font-size: 11px;
}

.cdk-reveal-field,
.cdk-table-value {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 9px;
  min-width: 0;
  padding: 7px 8px 7px 12px;
  border: 1px solid var(--line-strong);
  border-radius: 9px;
  background: rgba(255, 255, 255, .72);
}

.cdk-table-value {
  min-width: 270px;
}

@media (max-width: 760px) {
  .cdk-reveal,
  .batch-redeem {
    grid-template-columns: 1fr;
  }

  .batch-form .button {
    width: 100%;
  }
}

@media (max-width: 760px) {
  .sidebar {
    background: rgba(235, 241, 232, .98);
  }
}



.health-notice {
  display: flex;
  gap: 13px;
  align-items: flex-start;
  margin-bottom: 18px;
  padding: 15px 18px;
  border-color: rgba(102, 133, 42, .2);
  background: rgba(102, 133, 42, .07);
}

.health-notice .icon {
  width: 19px;
  height: 19px;
  flex: 0 0 auto;
  color: var(--acid);
}

.health-notice strong {
  display: block;
  margin-bottom: 2px;
}

.health-notice p {
  margin: 0;
  color: var(--muted);
  font-size: 11px;
}

.health-message {
  display: block;
  max-width: 260px;
  margin: 3px 0 0 25px;
  color: var(--faint);
  font-size: 10px;
}

.health-remaining {
  color: var(--acid);
  font: 14px 'DM Mono', monospace;
}

.text-button {
  padding: 4px 0;
  color: var(--muted);
  font-size: 11px;
}

.text-button:hover {
  color: var(--acid);
}
