:root {
  --ink: #f2f7ff;
  --muted: #93a2b8;
  --line: rgba(135, 161, 201, .18);
  --page: #07111f;
  --panel: #0d1a2a;
  --panel-2: #0a1625;
  --sidebar: #06101d;
  --sidebar-soft: #0c1b2d;
  --purple: #2864ff;
  --purple-dark: #1f55e8;
  --purple-soft: rgba(40, 100, 255, .14);
  --cyan: #56d9ff;
  --cyan-soft: rgba(86, 217, 255, .12);
  --red: #d95c7a;
  --red-soft: rgba(217, 92, 122, .12);
  --green: #2cc9b7;
  --green-soft: rgba(44, 201, 183, .12);
  --pkc: #8ca8ff;
  --pkc-soft: rgba(140, 168, 255, .12);
  --target: #2864ff;
  --target-soft: rgba(40, 100, 255, .12);
  --blue: #56d9ff;
  --blue-soft: rgba(86, 217, 255, .12);
  --orange: #56d9ff;
  --yellow: #8ca8ff;
  --yellow-soft: rgba(140, 168, 255, .12);
  --shadow: 0 22px 70px rgba(0, 0, 0, .42);
  --shadow-small: 0 12px 34px rgba(0, 0, 0, .24);
  --radius: 18px;
  --radius-small: 12px;
}

* { box-sizing: border-box; }
html { min-height: 100%; scroll-behavior: smooth; }
body { margin: 0; color: var(--ink); background: radial-gradient(circle at 86% 2%, rgba(124,92,255,.18), transparent 27rem), radial-gradient(circle at 62% 100%, rgba(53,215,255,.09), transparent 35rem), var(--page); font-family: Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif; -webkit-font-smoothing: antialiased; }
.app-body.theme-electric { --purple: #56d9ff; --purple-dark: #2abfe9; --purple-soft: rgba(86,217,255,.14); }
.app-body.theme-ember { --purple: #3f66d8; --purple-dark: #3154c2; --purple-soft: rgba(63,102,216,.14); }
.app-body.theme-mint { --purple: #2aa8c7; --purple-dark: #208da9; --purple-soft: rgba(42,168,199,.14); }
.app-body.theme-midnight { --purple: #6f7c91; --purple-dark: #59667b; --purple-soft: rgba(111,124,145,.14); }
button, input, select, textarea { font: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
a { color: inherit; text-decoration: none; }
img { max-width: 100%; }
h1, h2, h3, p, dl, dd { margin: 0; }
h1 { font-size: clamp(2rem, 4vw, 3.15rem); line-height: 1.05; letter-spacing: -.045em; }
h2 { font-size: 1.35rem; line-height: 1.2; letter-spacing: -.025em; }
h3 { font-size: 1.2rem; line-height: 1.25; }
p { line-height: 1.62; }
.sr-only { position: absolute!important; width: 1px!important; height: 1px!important; overflow: hidden!important; clip: rect(0,0,0,0)!important; white-space: nowrap!important; }
.hidden { display: none!important; }

/* Shell */
.app-shell { min-height: 100vh; }
.sidebar { position: fixed; inset: 0 auto 0 0; z-index: 30; width: 260px; padding: 30px 20px 22px; overflow-y: auto; color: #eef4ff; background: linear-gradient(175deg, var(--sidebar-soft), var(--sidebar) 58%, #101d35); border-right: 1px solid rgba(255,255,255,.08); display: flex; flex-direction: column; }
.brand { display: inline-flex; align-items: center; gap: 12px; font-size: .98rem; }
.brand > span:last-child { display: flex; flex-direction: column; gap: 2px; }
.brand strong { font-size: 1.02rem; letter-spacing: -.01em; }
.brand small { color: #a9b9d6; font-size: .69rem; font-weight: 700; letter-spacing: .11em; text-transform: uppercase; }
.brand.light { color: #fff; }
.brand.dark { color: var(--ink); }
.brand-mark { position: relative; flex: 0 0 auto; width: 41px; height: 41px; overflow: hidden; border: 3px solid #fff; border-radius: 50%; background: linear-gradient(to bottom, #ef5965 0 44%, #263754 44% 56%, #fff 56% 100%); box-shadow: 0 10px 24px rgba(4,13,29,.3); }
.brand-mark::before { content: ""; position: absolute; z-index: 2; width: 13px; height: 13px; left: 50%; top: 50%; border: 4px solid #263754; border-radius: 50%; background: #fff; transform: translate(-50%,-50%); }
.brand-mark::after { content: ""; position: absolute; width: 8px; height: 4px; left: 7px; top: 6px; border-radius: 50%; background: rgba(255,255,255,.46); transform: rotate(-28deg); }
.brand-mark span { display: none; }
.brand-mark.small { width: 32px; height: 32px; border-width: 2px; }
.brand-mark.small::before { width: 9px; height: 9px; border-width: 3px; }
.nav-list { margin-top: 46px; display: flex; flex-direction: column; gap: 5px; }
.nav-item { min-height: 44px; padding: 0 13px; border-radius: 11px; color: #aaa0b2; display: flex; align-items: center; gap: 12px; font-size: .9rem; font-weight: 650; transition: .18s ease; }
.nav-item > span { width: 19px; text-align: center; font-size: 1rem; }
.nav-item:hover { color: #fff; background: rgba(255,255,255,.055); }
.nav-item.active { color: #fff; background: var(--sidebar-soft); box-shadow: inset 3px 0 var(--yellow); }
.nav-count { margin-left: auto; min-width: 22px; height: 22px; padding: 0 7px; border-radius: 999px; color: #2a1730; background: var(--yellow); display: inline-flex; align-items: center; justify-content: center; font-size: .62rem; font-weight: 900; }
.external-nav b { margin-left: auto; color: #756d7c; font-size: .72rem; }
.nav-label { margin: 22px 13px 7px; color: #716777; font-size: .65rem; font-weight: 800; letter-spacing: .15em; text-transform: uppercase; }
.site-dot { width: 8px; height: 8px; flex: 0 0 8px; border-radius: 50%; background: #aaa; box-shadow: 0 0 0 4px rgba(255,255,255,.04); }
.site-dot.pkc { background: var(--pkc); }
.site-dot.target { background: var(--target); }
.site-dot.sams { background: var(--blue); }
.sidebar-user { margin-top: auto; padding-top: 20px; border-top: 1px solid rgba(255,255,255,.08); display: flex; align-items: center; gap: 10px; }
.avatar { width: 36px; height: 36px; flex: 0 0 36px; border-radius: 11px; display: inline-flex; align-items: center; justify-content: center; color: #55349f; background: #e4d9ff; font-size: .82rem; font-weight: 850; text-transform: uppercase; }
.avatar.small { width: 30px; height: 30px; flex-basis: 30px; border-radius: 9px; }
.avatar.large { width: 58px; height: 58px; flex-basis: 58px; border-radius: 17px; font-size: 1.25rem; }
.sidebar-user-copy { min-width: 0; flex: 1; display: flex; flex-direction: column; }
.sidebar-user-copy strong { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-size: .8rem; }
.sidebar-user-copy small { margin-top: 2px; color: #867c8d; font-size: .68rem; }
.icon-button { width: 34px; height: 34px; padding: 0; border: 0; border-radius: 9px; color: #a89faf; background: transparent; cursor: pointer; display: inline-flex; align-items: center; justify-content: center; }
.icon-button:hover { color: #fff; background: rgba(255,255,255,.08); }
.main-area { min-height: 100vh; margin-left: 260px; }
.page-wrap { width: min(1260px, 100%); margin: 0 auto; padding: 54px 52px 80px; }
.mobile-header, .sidebar-scrim { display: none; }

/* Common */
.page-heading { margin-bottom: 34px; display: flex; align-items: flex-end; justify-content: space-between; gap: 28px; }
.page-heading > div:first-child { max-width: 770px; }
.page-heading h1 { margin-top: 8px; }
.page-heading p { max-width: 690px; margin-top: 11px; color: var(--muted); font-size: .95rem; }
.heading-actions { display: flex; align-items: center; justify-content: flex-end; gap: 12px; }
.preview-banner { margin: -22px 0 34px; padding: 14px 16px; border: 1px solid #d8cef1; border-radius: 14px; color: #4f3b83; background: #f4f0ff; display: flex; align-items: center; justify-content: space-between; gap: 18px; box-shadow: var(--shadow-small); }
.preview-banner > div { display: flex; flex-direction: column; gap: 3px; }
.preview-banner strong { font-size: .86rem; }
.preview-banner span { font-size: .76rem; }
.hero-heading { position: relative; min-height: 172px; padding: 30px 34px; overflow: hidden; border: 1px solid #dfe7f5; border-radius: 24px; background: linear-gradient(125deg, #fff 0%, #f7f5ff 58%, #fff8d9 100%); box-shadow: var(--shadow-small); align-items: center; }
.hero-heading::before, .hero-heading::after { content: ""; position: absolute; pointer-events: none; border-radius: 50%; }
.hero-heading::before { width: 124px; height: 124px; right: 120px; bottom: -76px; border: 18px solid rgba(237,89,101,.10); }
.hero-heading::after { width: 64px; height: 64px; right: 30px; top: -22px; border: 13px solid rgba(54,127,197,.11); }
.hero-heading > * { position: relative; z-index: 1; }
.form-heading { align-items: flex-end; }
.back-link { margin-bottom: 16px; color: var(--muted); display: block; font-size: .78rem; font-weight: 750; }
.back-link:hover, .text-link:hover { color: var(--purple); }
.eyebrow { color: #857e8c; display: block; font-size: .66rem; font-weight: 850; letter-spacing: .16em; text-transform: uppercase; }
.eyebrow.purple { color: var(--purple); }
.eyebrow.pkc { color: #9b7600; }
.eyebrow.target { color: var(--target); }
.eyebrow.sams { color: var(--blue); }
.button { min-height: 43px; padding: 0 18px; border: 1px solid transparent; border-radius: 11px; display: inline-flex; align-items: center; justify-content: center; gap: 10px; font-size: .82rem; font-weight: 800; line-height: 1; cursor: pointer; transition: transform .16s, box-shadow .16s, background .16s, border-color .16s; }
.button:hover { transform: translateY(-1px); }
.button.primary { color: #fff; background: var(--purple); box-shadow: 0 8px 22px rgba(120,87,215,.2); }
.button.primary:hover { background: var(--purple-dark); box-shadow: 0 10px 26px rgba(120,87,215,.3); }
.button.primary.pkc { color: #4d3a00; background: var(--pkc); }
.button.primary.target { background: var(--target); }
.button.primary.sams { background: var(--blue); }
.button.pkc { color: #765a00; border-color: #ecd77e; background: var(--pkc-soft); }
.button.target { color: #a43540; border-color: #f1c2c7; background: var(--target-soft); }
.button.sams { color: #2569a6; border-color: #c3dcf2; background: var(--blue-soft); }
.button.secondary { color: #51485a; background: #fff; border-color: var(--line); box-shadow: var(--shadow-small); }
.button.secondary:hover { border-color: #d7cfe0; }
.button.ghost { color: #706878; background: transparent; border-color: var(--line); box-shadow: none; }
.button.danger { color: #c04450; }
.button.wide { width: 100%; }
.button.small { min-height: 35px; padding: 0 13px; border-radius: 9px; font-size: .74rem; }
.button.disabled { pointer-events: none; opacity: .45; }
.text-link { color: var(--purple); font-size: .78rem; font-weight: 800; }
.panel { padding: 26px; border: 1px solid var(--line); border-radius: var(--radius); background: rgba(255,255,255,.96); box-shadow: var(--shadow-small); }
.panel-header { margin-bottom: 22px; display: flex; align-items: center; justify-content: space-between; gap: 18px; }
.panel-header h2 { margin-top: 7px; }
.count-badge { min-width: 36px; height: 28px; padding: 0 10px; border-radius: 9px; color: #665c70; background: #f2eff5; display: inline-flex; align-items: center; justify-content: center; font-size: .75rem; font-weight: 800; }
.two-column { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 24px; }
.notice { margin: -12px 0 24px; padding: 13px 15px; border: 1px solid; border-radius: 12px; display: flex; align-items: center; gap: 12px; font-size: .85rem; }
.notice > span:first-child { width: 24px; height: 24px; flex: 0 0 24px; border-radius: 50%; display: inline-flex; align-items: center; justify-content: center; font-size: .72rem; font-weight: 900; }
.notice p { flex: 1; line-height: 1.4; }
.notice button { border: 0; color: inherit; background: transparent; cursor: pointer; font-size: 1.25rem; }
.notice.success { color: #176c4b; border-color: #bce9d4; background: #ecfaf4; }
.notice.success > span { color: #fff; background: var(--green); }
.notice.error { color: #9e3440; border-color: #f2c7cd; background: #fff1f2; }
.notice.error > span { color: #fff; background: var(--red); }
.notice.info { color: #4f3b83; border-color: #d8cef1; background: #f4f0ff; }
.notice.info > span { color: #fff; background: var(--purple); }

/* Member overview */
.summary-strip { margin-bottom: 44px; padding: 22px 26px; border: 1px solid var(--line); border-radius: var(--radius); background: #fff; box-shadow: var(--shadow-small); display: grid; grid-template-columns: repeat(4, 1fr); }
.summary-item { min-width: 0; padding: 3px 22px; border-right: 1px solid var(--line); display: flex; align-items: center; gap: 13px; }
.summary-item:first-child { padding-left: 0; }
.summary-item:last-child { border: 0; }
.summary-icon { width: 40px; height: 40px; flex: 0 0 40px; border-radius: 12px; display: inline-flex; align-items: center; justify-content: center; font-weight: 900; }
.summary-icon.lavender { color: #6e4fc8; background: #eee8ff; }
.summary-icon.peach { color: #c96a36; background: #fff0e8; }
.summary-icon.mint { color: #18845a; background: #e6f7ef; }
.summary-icon.sky { color: #2670b6; background: #e5f2ff; }
.summary-item p { min-width: 0; display: flex; flex-direction: column; line-height: 1.2; }
.summary-item strong { font-size: 1.3rem; letter-spacing: -.03em; }
.summary-item small { margin-top: 4px; color: var(--muted); font-size: .69rem; white-space: nowrap; }
.section-heading { margin: 0 0 20px; display: flex; align-items: flex-end; justify-content: space-between; gap: 20px; }
.section-heading h2 { margin-top: 7px; font-size: 1.5rem; }
.section-heading > p { max-width: 430px; color: var(--muted); font-size: .82rem; text-align: right; }
.retailer-grid { margin-bottom: 38px; display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.retailer-card { position: relative; min-height: 330px; padding: 27px 24px 24px; overflow: hidden; border: 1px solid var(--line); border-top-width: 5px; border-radius: 22px; background: #fff; box-shadow: var(--shadow-small); display: flex; flex-direction: column; transition: transform .2s, box-shadow .2s, border-color .2s; }
.retailer-card.pkc { border-top-color: var(--pkc); }
.retailer-card.target { border-top-color: var(--target); }
.retailer-card.sams { border-top-color: var(--blue); }
.retailer-card::after { content: ""; position: absolute; width: 160px; height: 160px; right: -85px; top: -85px; border-radius: 50%; opacity: .6; }
.retailer-card.pkc::after { background: var(--pkc-soft); }
.retailer-card.target::after { background: var(--target-soft); }
.retailer-card.sams::after { background: var(--blue-soft); }
.retailer-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.retailer-card.pkc:hover { border-color: #ead26e; }
.retailer-card.target:hover { border-color: #efabb2; }
.retailer-card.sams:hover { border-color: #b1d4f2; }
.retailer-card-top { position: relative; z-index: 1; margin-bottom: 26px; display: flex; align-items: center; justify-content: space-between; }
.site-emblem { width: 43px; height: 43px; flex: 0 0 43px; border-radius: 13px; color: #fff; display: inline-flex; align-items: center; justify-content: center; font-size: .75rem; font-weight: 900; letter-spacing: -.03em; }
.site-emblem.pkc { color: #4f3c00; background: var(--pkc); }
.site-emblem.target { background: var(--target); }
.site-emblem.sams { background: var(--blue); }
.site-emblem.large { width: 58px; height: 58px; flex-basis: 58px; border-radius: 17px; font-size: .9rem; }
.site-emblem.small { width: 35px; height: 35px; flex-basis: 35px; border-radius: 10px; font-size: .64rem; }
.arrow-chip { width: 30px; height: 30px; border-radius: 9px; color: #8a818e; background: #f5f2f6; display: inline-flex; align-items: center; justify-content: center; transition: .18s; }
.retailer-card:hover .arrow-chip { color: #fff; background: var(--purple); }
.site-kicker { color: var(--muted); font-size: .65rem; font-weight: 800; letter-spacing: .11em; text-transform: uppercase; }
.retailer-card h3 { margin-top: 5px; font-size: 1.45rem; }
.retailer-card p { margin-top: 9px; color: var(--muted); font-size: .78rem; line-height: 1.55; }
.slot-progress { margin-top: auto; padding-top: 25px; }
.slot-progress > div:first-child { margin-bottom: 9px; display: flex; align-items: center; justify-content: space-between; font-size: .72rem; }
.slot-progress span { color: var(--muted); }
.slot-progress small { margin-top: 9px; color: var(--muted); display: block; font-size: .67rem; }
.progress-track, .usage-track { height: 5px; overflow: hidden; border-radius: 999px; background: #eeeaf0; }
.progress-track i, .usage-track i { height: 100%; border-radius: inherit; display: block; background: var(--purple); }
.retailer-card.pkc .progress-track i { background: var(--pkc); }
.retailer-card.target .progress-track i { background: var(--target); }
.retailer-card.sams .progress-track i { background: var(--blue); }
.lower-grid { margin-top: 26px; }
.readiness-list, .ticket-list, .activity-list { display: flex; flex-direction: column; }
.readiness-row { padding: 13px 2px; border-bottom: 1px solid var(--line); display: flex; align-items: center; gap: 12px; }
.readiness-row:last-child { border: 0; }
.readiness-row > span:nth-child(2) { min-width: 0; flex: 1; display: flex; flex-direction: column; }
.readiness-row strong { font-size: .82rem; }
.readiness-row small { margin-top: 4px; color: var(--muted); font-size: .68rem; }
.status-pill { width: max-content; padding: 6px 9px; border-radius: 999px; font-size: .62rem; font-weight: 850; letter-spacing: .03em; text-transform: capitalize; white-space: nowrap; }
.status-pill.ready { color: #16714c; background: var(--green-soft); }
.status-pill.needs { color: #b14652; background: var(--red-soft); }
.status-pill.progress { color: #9c5b23; background: #fff0dc; }
.panel-footnote { margin-top: 12px; color: var(--muted); font-size: .68rem; }
.action-row { padding: 13px 0; border-bottom: 1px solid var(--line); display: flex; align-items: center; gap: 12px; }
.action-row:last-child { border: 0; }
.action-symbol { width: 36px; height: 36px; flex: 0 0 36px; border-radius: 10px; color: var(--purple); background: var(--purple-soft); display: inline-flex; align-items: center; justify-content: center; font-weight: 900; }
.action-row > span:nth-child(2) { min-width: 0; flex: 1; display: flex; flex-direction: column; }
.action-row strong { font-size: .82rem; }
.action-row small { margin-top: 4px; color: var(--muted); font-size: .68rem; }
.action-row b { color: #aaa1af; }
.empty-compact { min-height: 105px; display: flex; align-items: center; justify-content: center; gap: 14px; color: var(--muted); }
.empty-compact > span { width: 38px; height: 38px; flex: 0 0 38px; border-radius: 12px; color: var(--purple); background: var(--purple-soft); display: inline-flex; align-items: center; justify-content: center; font-weight: 900; }
.empty-compact strong { color: var(--ink); font-size: .84rem; }
.empty-compact p { margin-top: 4px; font-size: .7rem; }

/* Profiles */
.heading-with-emblem { display: flex; align-items: center; gap: 16px; }
.heading-with-emblem h1 { margin-top: 4px; }
.site-usage-bar { margin-bottom: 28px; padding: 18px 22px; border-left: 4px solid; border-radius: 14px; background: #fff; box-shadow: var(--shadow-small); display: grid; grid-template-columns: 1fr 1fr 1fr 2fr; align-items: center; gap: 25px; }
.site-usage-bar.pkc { border-color: var(--pkc); }
.site-usage-bar.target { border-color: var(--target); }
.site-usage-bar.sams { border-color: var(--blue); }
.site-usage-bar > div:not(.usage-track) { display: flex; flex-direction: column; gap: 3px; }
.site-usage-bar span { color: var(--muted); font-size: .65rem; }
.site-usage-bar strong { font-size: .83rem; }
.site-usage-bar.pkc .usage-track i { background: var(--pkc); }
.site-usage-bar.target .usage-track i { background: var(--target); }
.site-usage-bar.sams .usage-track i { background: var(--blue); }
.profile-grid { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 18px; }
.profile-card { padding: 22px; border: 1px solid var(--line); border-radius: 17px; background: #fff; box-shadow: var(--shadow-small); }
.profile-card-head { padding-bottom: 17px; border-bottom: 1px solid var(--line); display: flex; align-items: center; gap: 12px; }
.profile-number { width: 37px; height: 37px; flex: 0 0 37px; border-radius: 11px; color: #786f80; background: #f1eef4; display: inline-flex; align-items: center; justify-content: center; font-size: .72rem; font-weight: 850; }
.profile-title { min-width: 0; flex: 1; display: flex; flex-direction: column; }
.profile-title > span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-size: .94rem; font-weight: 800; }
.profile-title small { margin-top: 3px; color: var(--muted); font-size: .68rem; }
.profile-facts { padding: 13px 0; display: grid; grid-template-columns: 1fr 1fr; gap: 13px 20px; }
.profile-facts div { min-width: 0; display: flex; flex-direction: column; gap: 3px; }
.profile-facts dt { color: var(--muted); font-size: .62rem; font-weight: 700; text-transform: uppercase; }
.profile-facts dd { overflow: hidden; text-overflow: ellipsis; font-size: .75rem; font-weight: 650; white-space: nowrap; }
.run-label { width: max-content; padding: 4px 7px; border-radius: 6px; font-size: .6rem; font-weight: 900; letter-spacing: .06em; }
.run-label.on { color: #126947; background: var(--green-soft); }
.run-label.off { color: #776f7d; background: #f0edf2; }
.missing-line { margin-bottom: 14px; padding: 10px 12px; border-radius: 9px; color: #9a3d48; background: var(--red-soft); font-size: .68rem; line-height: 1.45; }
.profile-actions { padding-top: 14px; border-top: 1px solid var(--line); display: flex; align-items: center; gap: 9px; }
.profile-actions form { margin-left: auto; }
.empty-state { min-height: 380px; padding: 48px 24px; border: 1px dashed #d9d2df; border-radius: 20px; background: rgba(255,255,255,.58); display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; }
.empty-state.compact { min-height: 250px; }
.empty-emblem { width: 58px; height: 58px; border-radius: 18px; color: #fff; display: inline-flex; align-items: center; justify-content: center; font-size: 1.45rem; font-weight: 500; }
.empty-emblem.pkc { color: #4f3c00; background: var(--pkc); }
.empty-emblem.target { background: var(--target); }
.empty-emblem.sams { background: var(--blue); }
.empty-emblem.cards { color: var(--purple); background: var(--purple-soft); }
.empty-state h2 { margin-top: 19px; }
.empty-state > p { max-width: 440px; margin: 8px 0 20px; color: var(--muted); font-size: .82rem; }
.empty-tip { margin: -5px 0 20px; padding: 10px 13px; border-radius: 9px; color: #5f5665; background: #f1edf5; font-size: .72rem; }
.empty-tip a { color: var(--purple); font-weight: 800; }

/* Forms */
.stack-form { display: flex; flex-direction: column; gap: 17px; }
.form-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; }
.field { min-width: 0; display: flex; flex-direction: column; gap: 7px; }
.field > span { color: #514a58; font-size: .7rem; font-weight: 800; }
.field em { margin-left: 4px; color: #a39ca8; font-size: .6rem; font-style: normal; font-weight: 600; }
.field input, .field select, .field textarea, .search-bar input { width: 100%; min-height: 44px; padding: 10px 12px; outline: 0; border: 1px solid #ded8e3; border-radius: 10px; color: var(--ink); background: #fff; font-size: .82rem; transition: border-color .15s, box-shadow .15s; }
.field textarea { min-height: 110px; resize: vertical; line-height: 1.5; }
.field input:focus, .field select:focus, .field textarea:focus, .search-bar input:focus { border-color: #9d82e5; box-shadow: 0 0 0 3px rgba(120,87,215,.11); }
.field input:disabled { color: #8c8491; background: #f5f3f6; }
.field small { color: var(--muted); font-size: .64rem; line-height: 1.45; }
.field small a { color: var(--purple); font-weight: 800; }
.field .field-error { color: #ba3e4b; font-weight: 700; }
.generated-profile-label, .fixed-membership { min-height: 76px; padding: 11px 13px; border: 1px solid #dddaf5; border-radius: 11px; background: linear-gradient(135deg, #f7f5ff, #fff); justify-content: center; }
.generated-profile-label > strong, .fixed-membership > strong { color: var(--ink); font-size: .94rem; letter-spacing: -.01em; }
.generated-profile-label > strong::before { content: "◆"; margin-right: 7px; color: var(--yellow); font-size: .68rem; }
.fixed-membership { border-color: #c5dff5; background: linear-gradient(135deg, var(--blue-soft), #fff); }
.fixed-membership > strong::before { content: "★"; margin-right: 7px; color: var(--blue); }
.span-2 { grid-column: span 2; }
.password-field > div { position: relative; }
.password-field > div input { padding-right: 64px; }
.password-field > div button { position: absolute; top: 5px; right: 5px; bottom: 5px; min-width: 49px; border: 0; border-radius: 7px; color: var(--purple); background: #f1ecff; cursor: pointer; font-size: .65rem; font-weight: 850; }
.field-alert { margin-bottom: 17px; padding: 11px 13px; border-radius: 9px; color: #a13945; background: var(--red-soft); display: flex; align-items: center; gap: 9px; font-size: .75rem; }
.field-alert span { width: 21px; height: 21px; flex: 0 0 21px; border-radius: 50%; color: #fff; background: var(--red); display: inline-flex; align-items: center; justify-content: center; font-weight: 900; }
.profile-form { display: flex; flex-direction: column; gap: 18px; }
.form-section { position: relative; padding: 27px 28px 29px 82px; border: 1px solid var(--line); border-radius: var(--radius); background: #fff; box-shadow: var(--shadow-small); }
.form-section-number { position: absolute; top: 27px; left: 27px; width: 35px; height: 35px; border-radius: 11px; color: var(--purple); background: var(--purple-soft); display: flex; align-items: center; justify-content: center; font-size: .73rem; font-weight: 900; }
.form-section-title { margin-bottom: 23px; }
.form-section-title p { margin-top: 5px; color: var(--muted); font-size: .72rem; }
.check-card { margin-bottom: 20px; padding: 13px 15px; border: 1px solid var(--line); border-radius: 11px; display: flex; align-items: center; gap: 11px; cursor: pointer; }
.check-card input { position: absolute; opacity: 0; pointer-events: none; }
.check-ui { width: 23px; height: 23px; flex: 0 0 23px; border: 1px solid #d5cedb; border-radius: 7px; color: transparent; display: inline-flex; align-items: center; justify-content: center; font-size: .72rem; font-weight: 900; }
.check-card input:checked + .check-ui { color: #fff; border-color: var(--purple); background: var(--purple); }
.check-card > span:last-child { display: flex; flex-direction: column; }
.check-card strong { font-size: .75rem; }
.check-card small { margin-top: 3px; color: var(--muted); font-size: .63rem; }
.run-check { margin: 22px 0 0; background: #faf9fb; }
.form-actions { margin-top: 22px; display: flex; align-items: center; justify-content: flex-end; gap: 10px; }
.form-actions .danger { margin-right: auto; }
.sticky-actions { position: sticky; bottom: 14px; z-index: 5; padding: 13px; border: 1px solid var(--line); border-radius: 14px; background: rgba(255,255,255,.94); box-shadow: var(--shadow); backdrop-filter: blur(12px); }
.single-form { max-width: 760px; }
.security-chip { padding: 9px 12px; border: 1px solid #dcd5e2; border-radius: 999px; color: var(--muted); background: #fff; font-size: .67rem; font-weight: 750; box-shadow: var(--shadow-small); white-space: nowrap; }
.security-chip span, .privacy-banner > span { color: var(--green); }

/* Cards */
.privacy-banner { margin-bottom: 26px; padding: 15px 18px; border: 1px solid #cce9dc; border-radius: 13px; color: #27694f; background: #eefaf5; display: flex; align-items: center; gap: 13px; }
.privacy-banner > span { font-size: .7rem; }
.privacy-banner strong { font-size: .78rem; }
.privacy-banner p { margin-top: 2px; color: #56806f; font-size: .68rem; }
.cards-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 22px; }
.admin-cards-grid { margin-bottom: 38px; }
.payment-card-wrap { padding: 18px; border: 1px solid var(--line); border-radius: 18px; background: #fff; box-shadow: var(--shadow-small); }
.payment-card { aspect-ratio: 1.72 / 1; padding: 24px; border-radius: 17px; color: #fff; background: linear-gradient(145deg, #30293b, #17131d); box-shadow: 0 15px 35px rgba(31,25,38,.22); display: flex; flex-direction: column; justify-content: space-between; }
.payment-card.visa { background: linear-gradient(145deg, #3f55ae, #202967); }
.payment-card.amex { background: linear-gradient(145deg, #248f9a, #0d4f62); }
.payment-card.mastercard { background: linear-gradient(145deg, #ba5949, #5e292a); }
.payment-card.discover { background: linear-gradient(145deg, #c47735, #65391e); }
.card-top, .card-bottom { display: flex; align-items: center; justify-content: space-between; }
.card-top strong { font-size: .78rem; letter-spacing: .08em; text-transform: uppercase; }
.chip { width: 35px; height: 25px; border-radius: 6px; background: linear-gradient(145deg, #efda91, #aa8735); }
.card-number { font-size: clamp(.85rem,2vw,1.05rem); font-weight: 650; letter-spacing: .08em; }
.card-bottom span { display: flex; flex-direction: column; gap: 3px; font-size: .72rem; font-weight: 700; }
.card-bottom span:last-child { text-align: right; }
.card-bottom small { color: rgba(255,255,255,.62); font-size: .48rem; letter-spacing: .11em; }
.card-record { padding: 17px 3px 1px; display: flex; align-items: center; gap: 15px; }
.card-record > div:first-child { min-width: 0; flex: 1; display: flex; flex-direction: column; }
.card-record strong { font-size: .82rem; }
.card-record small { margin-top: 4px; overflow: hidden; color: var(--muted); font-size: .64rem; text-overflow: ellipsis; white-space: nowrap; }
.row-actions { display: flex; align-items: center; gap: 7px; }

/* Account and support */
.account-layout { grid-template-columns: 1.25fr .75fr; }
.membership-panel { position: relative; overflow: hidden; color: #fff; border: 0; background: linear-gradient(145deg, #2d2337, #17131e); }
.membership-panel::after { content: ""; position: absolute; width: 220px; height: 220px; right: -95px; top: -100px; border-radius: 50%; background: rgba(151,119,238,.2); }
.membership-panel .eyebrow { color: #b9a9ce; }
.membership-panel h2 { margin-top: 8px; font-size: 1.7rem; }
.membership-panel > p { margin: 12px 0 22px; color: #bfb5c6; font-size: .75rem; }
.membership-star { position: absolute; top: 24px; right: 26px; color: #b595ff; font-size: 1.3rem; }
.membership-panel dl { display: flex; flex-direction: column; }
.membership-panel dl div { padding: 10px 0; border-top: 1px solid rgba(255,255,255,.09); display: flex; align-items: center; justify-content: space-between; }
.membership-panel dt { color: #aaa0b2; font-size: .69rem; }
.membership-panel dd { font-size: .74rem; font-weight: 800; }
.support-layout { grid-template-columns: .9fr 1.1fr; align-items: start; }
.ticket-row { padding: 13px 2px; border-bottom: 1px solid var(--line); display: flex; align-items: center; justify-content: space-between; gap: 13px; }
.ticket-row:last-child { border: 0; }
.ticket-row > div { min-width: 0; display: flex; flex-direction: column; }
.ticket-row strong { margin-top: 4px; overflow: hidden; font-size: .78rem; text-overflow: ellipsis; white-space: nowrap; }
.ticket-row small { margin-top: 4px; color: var(--muted); font-size: .63rem; }
.ticket-category { width: max-content; color: var(--purple); font-size: .58rem; font-weight: 850; letter-spacing: .08em; text-transform: uppercase; }
.ticket-history { border-bottom: 1px solid var(--line); }
.ticket-history:last-child { border-bottom: 0; }
.ticket-history .ticket-row { border-bottom: 0; }
.member-reply { margin: 0 0 13px; padding: 12px 13px; border-left: 3px solid var(--purple); border-radius: 0 9px 9px 0; background: #f7f3ff; }
.member-reply strong { color: #5c3dac; font-size: .68rem; }
.member-reply p { margin-top: 5px; color: #51485a; font-size: .7rem; white-space: pre-wrap; }
.member-reply small { margin-top: 6px; color: var(--muted); display: block; font-size: .58rem; }
.ticket-row.linked { transition: padding .15s, background .15s; }
.ticket-row.linked:hover { margin: 0 -8px; padding-left: 10px; padding-right: 10px; border-radius: 8px; background: #faf8fc; }

/* Admin */
.export-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.export-card { padding: 21px; border: 1px solid var(--line); border-top: 3px solid; border-radius: 16px; background: #fff; box-shadow: var(--shadow-small); }
.export-card.pkc { border-top-color: var(--pkc); }
.export-card.target { border-top-color: var(--target); }
.export-card.sams { border-top-color: var(--blue); }
.export-card > div:nth-child(2) { margin-top: 16px; }
.export-card h3 { margin-top: 4px; }
.export-card p { margin-top: 5px; color: var(--muted); font-size: .7rem; }
.export-actions { margin-top: 18px; display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.admin-lower { margin-top: 36px; }
.activity-row { padding: 11px 0; border-bottom: 1px solid var(--line); display: flex; align-items: flex-start; gap: 11px; }
.activity-row:last-child { border: 0; }
.activity-dot { width: 9px; height: 9px; flex: 0 0 9px; margin-top: 4px; border-radius: 50%; background: #aaa; }
.activity-dot.pkc { background: var(--pkc); }
.activity-dot.target { background: var(--target); }
.activity-dot.sams { background: var(--blue); }
.activity-dot.account { background: var(--purple); }
.activity-row > div { min-width: 0; display: flex; flex-direction: column; }
.activity-row strong { font-size: .74rem; font-weight: 750; text-transform: capitalize; }
.activity-row small { margin-top: 4px; color: var(--muted); font-size: .62rem; }
.directory-panel { padding: 0; overflow: hidden; }
.search-bar { padding: 22px 24px; border-bottom: 1px solid var(--line); display: flex; gap: 9px; }
.search-bar label { flex: 1; }
.table-meta { padding: 14px 24px; color: var(--muted); background: #fbfafc; display: flex; align-items: center; justify-content: space-between; gap: 15px; font-size: .67rem; }
.table-meta strong { color: var(--ink); font-size: .75rem; }
.data-table-wrap { width: 100%; overflow-x: auto; }
.data-table { width: 100%; border-collapse: collapse; text-align: left; }
.data-table th { padding: 12px 16px; color: #8e8794; background: #f5f3f7; font-size: .58rem; font-weight: 850; letter-spacing: .08em; text-transform: uppercase; white-space: nowrap; }
.data-table td { padding: 14px 16px; border-top: 1px solid var(--line); color: #5d5663; font-size: .7rem; vertical-align: middle; }
.data-table tbody tr:hover { background: #fcfbfd; }
.person-cell { min-width: 215px; display: flex; align-items: center; gap: 11px; }
.person-cell > div { min-width: 0; display: flex; flex-direction: column; }
.person-cell strong { color: var(--ink); font-size: .77rem; }
.person-cell small, .cell-sub { margin-top: 3px; color: var(--muted); display: block; font-size: .62rem; }
.tier-pill { width: max-content; margin-right: 6px; padding: 6px 8px; border-radius: 8px; display: inline-block; font-size: .61rem; font-weight: 800; }
.tier-pill.trainer { color: #52606b; background: #edf0f2; }
.tier-pill.master { color: #6541bf; background: var(--purple-soft); }
.person-hero { display: flex; align-items: center; gap: 15px; }
.customer-heading { align-items: center; }
.admin-customer-grid { margin-bottom: 38px; display: grid; grid-template-columns: 1.25fr .75fr; gap: 22px; }
.account-side-stack { display: flex; flex-direction: column; gap: 24px; }
.avatar-editor { text-align: center; }
.avatar-editor .panel-header { text-align: left; }
.avatar-preview { width: 118px; height: 118px; margin: 0 auto 22px; overflow: hidden; border: 5px solid #fff; border-radius: 34px; background: var(--purple-soft); box-shadow: 0 12px 32px rgba(31,49,80,.16); display: flex; align-items: center; justify-content: center; }
.avatar-preview img { width: 100%; height: 100%; object-fit: cover; }
.avatar-preview > span { color: var(--purple); font-size: 2.8rem; font-weight: 900; }
.avatar-upload-form { margin-bottom: 12px; }
.file-picker { padding: 16px; border: 1px dashed #bdc8da; border-radius: 13px; background: #f9fbff; display: flex; flex-direction: column; gap: 5px; cursor: pointer; text-align: left; }
.file-picker input { width: 100%; color: var(--muted); font-size: .72rem; }
.file-picker span { color: var(--ink); font-size: .76rem; font-weight: 800; }
.file-picker small { color: var(--muted); font-size: .65rem; }
.theme-picker { margin: 4px 0 3px; padding: 0; border: 0; display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 10px; }
.theme-picker legend { margin-bottom: 9px; color: #514a58; font-size: .7rem; font-weight: 800; }
.theme-choice { position: relative; padding: 12px; border: 1px solid var(--line); border-radius: 12px; background: #fff; cursor: pointer; display: flex; align-items: center; gap: 10px; }
.theme-choice input { position: absolute; opacity: 0; }
.theme-choice:has(input:checked) { border-color: var(--purple); box-shadow: 0 0 0 3px color-mix(in srgb, var(--purple) 13%, transparent); }
.theme-choice strong { font-size: .7rem; }
.theme-swatch { width: 38px; height: 25px; padding: 4px; border-radius: 7px; background: #eef0f7; display: flex; align-items: flex-end; gap: 2px; }
.theme-swatch i { width: 7px; border-radius: 3px; background: #6256c8; display: block; }.theme-swatch i:nth-child(1){height:9px}.theme-swatch i:nth-child(2){height:16px}.theme-swatch i:nth-child(3){height:12px}
.theme-choice.electric .theme-swatch { background:#0a2430 }.theme-choice.electric i{background:#56d9ff}.theme-choice.ember .theme-swatch{background:#0b1837}.theme-choice.ember i{background:#3f66d8}.theme-choice.mint .theme-swatch{background:#09242d}.theme-choice.mint i{background:#2aa8c7}.theme-choice.midnight .theme-swatch{background:#101823}.theme-choice.midnight i{background:#6f7c91}
.connection-status { margin: 16px 0 4px; display: flex; flex-wrap: wrap; gap: 7px; }
.discord-summary { grid-template-columns: repeat(3,1fr); }
.discord-missing-panel { margin-top: 24px; }
.discord-missing-panel .activity-row { align-items: center; }
.profile-add-actions { flex-wrap: wrap; }
.profile-admin-footer { margin-top: 16px; padding-top: 14px; border-top: 1px solid var(--line); display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.profile-admin-footer .updated-line { margin: 0; }
.slot-editor { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.mini-stat-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 9px; }
.mini-stat-grid div { padding: 16px 8px; border-radius: 11px; background: #f6f3f8; display: flex; flex-direction: column; align-items: center; text-align: center; }
.mini-stat-grid strong { font-size: 1.35rem; }
.mini-stat-grid span { margin-top: 3px; color: var(--muted); font-size: .59rem; }
.detail-list { margin-top: 20px; }
.detail-list div { padding: 11px 0; border-top: 1px solid var(--line); display: flex; align-items: center; justify-content: space-between; gap: 15px; }
.detail-list dt { color: var(--muted); font-size: .65rem; }
.detail-list dd { overflow: hidden; font-size: .69rem; font-weight: 700; text-overflow: ellipsis; white-space: nowrap; }
.updated-line { color: var(--muted); font-size: .61rem; }
.filter-tabs { width: max-content; margin-bottom: 24px; padding: 4px; border: 1px solid var(--line); border-radius: 11px; background: #fff; box-shadow: var(--shadow-small); display: flex; gap: 3px; }
.filter-tabs a { padding: 9px 13px; border-radius: 8px; color: var(--muted); font-size: .7rem; font-weight: 800; }
.filter-tabs a.active { color: #fff; background: var(--purple); }
.support-admin-list { display: flex; flex-direction: column; gap: 16px; }
.support-admin-card { scroll-margin-top: 20px; }
.support-admin-card.highlight-card { border-color: #a78bea; box-shadow: 0 0 0 4px rgba(120,87,215,.10), var(--shadow); }
.support-ticket-head { padding-bottom: 18px; border-bottom: 1px solid var(--line); display: flex; align-items: flex-start; justify-content: space-between; gap: 20px; }
.support-ticket-head h2 { margin-top: 7px; }
.support-ticket-head p { margin-top: 7px; color: var(--muted); font-size: .68rem; }
.support-ticket-head a { color: var(--purple); font-weight: 750; }
.ticket-message { margin: 18px 0; padding: 15px; border-radius: 10px; color: #504957; background: #f8f6f9; font-size: .78rem; line-height: 1.65; white-space: pre-wrap; }
.support-update-form { display: grid; grid-template-columns: 180px minmax(0,1fr) auto; align-items: end; gap: 13px; }
.support-update-form .note-field textarea { min-height: 72px; }
.audit-panel { padding: 0; overflow: hidden; }
.audit-table code { max-width: 290px; overflow: hidden; color: #6f6578; display: block; font-family: ui-monospace, SFMono-Regular, Consolas, monospace; font-size: .59rem; text-overflow: ellipsis; white-space: nowrap; }
.audit-action { color: var(--purple); font-weight: 800; text-transform: capitalize; }

/* Orders, exports, and billing */
.avatar-image { object-fit: cover; }
.muted-copy { max-width: 560px; color: var(--muted); font-size: .68rem; line-height: 1.55; }
.export-builder { padding: 0; overflow: hidden; }
.export-builder-head { padding: 24px; border-bottom: 1px solid var(--line); display: flex; align-items: end; justify-content: space-between; gap: 24px; }
.export-builder-head h2 { margin-top: 5px; }
.export-builder-head p, .billing-sync-panel p { margin-top: 6px; color: var(--muted); font-size: .7rem; }
.format-field { width: min(240px,100%); flex: 0 0 240px; }
.selector-toolbar { padding: 12px 24px; border-bottom: 1px solid var(--line); color: var(--muted); background: #fbfafc; display: flex; align-items: center; justify-content: space-between; font-size: .66rem; }
.export-queue-alert { margin: 0 24px 18px; padding: 14px 16px; border: 1px solid rgba(229,173,82,.35); border-radius: 12px; background: #fff7e8; display: flex; align-items: center; gap: 12px; }
.export-queue-alert strong { display: block; color: #6f4517; font-size: .78rem; }
.export-queue-alert p { margin-top: 3px; color: #8a673d; font-size: .66rem; line-height: 1.45; }
.export-queue-icon { width: 30px; height: 30px; flex: 0 0 30px; border-radius: 9px; color: #81500f; background: #ffe6ad; display: inline-flex; align-items: center; justify-content: center; font-weight: 900; }
.mini-check { color: var(--ink); display: flex; align-items: center; gap: 8px; cursor: pointer; font-size: .68rem; font-weight: 800; }
.profile-selector { max-height: 560px; overflow-y: auto; }
.profile-select-row { padding: 15px 24px; border-bottom: 1px solid var(--line); display: grid; grid-template-columns: auto auto minmax(0,1fr) auto; align-items: center; gap: 12px; cursor: pointer; }
.profile-select-row:hover { background: #fcfbfd; }
.profile-select-row > input { position: absolute; opacity: 0; pointer-events: none; }
.profile-select-row .check-ui { width: 22px; height: 22px; border: 1px solid #d4cdd9; border-radius: 6px; color: transparent; background: #fff; display: flex; align-items: center; justify-content: center; font-size: .7rem; font-weight: 900; }
.profile-select-row > input:checked + .check-ui { border-color: var(--purple); color: #fff; background: var(--purple); }
.profile-select-row.missing { opacity: .55; cursor: not-allowed; }
.profile-select-copy, .profile-select-meta { display: flex; flex-direction: column; gap: 4px; }
.profile-select-title { min-width: 0; display: flex; align-items: center; gap: 8px; }
.profile-select-copy strong { font-size: .76rem; }
.profile-select-copy small, .profile-select-meta small { color: var(--muted); font-size: .61rem; }
.export-status { width: max-content; padding: 4px 7px; border: 1px solid transparent; border-radius: 999px; display: inline-flex; align-items: center; font-size: .56rem; font-weight: 900; letter-spacing: .05em; line-height: 1; text-transform: uppercase; white-space: nowrap; }
.export-status.new { color: #8a5415; border-color: #edc477; background: #fff0cf; }
.export-status.updated { color: #485ba5; border-color: #b5c1ec; background: #edf0ff; }
.export-status.exported { color: #667181; border-color: #d5dbe3; background: #f1f3f6; }
.profile-status-stack { display: flex; flex-direction: column; align-items: flex-end; gap: 6px; }
.profile-select-meta { align-items: flex-end; text-align: right; }
.export-builder > .form-actions { margin: 0; padding: 18px 24px; border-top: 1px solid var(--line); }
.order-list, .admin-order-list { display: flex; flex-direction: column; gap: 13px; }
.order-card { padding: 16px 18px; border: 1px solid var(--line); border-radius: 14px; background: #fff; box-shadow: var(--shadow-small); display: flex; align-items: center; gap: 15px; }
.order-thumb { width: 58px; height: 58px; flex: 0 0 58px; overflow: hidden; border-radius: 11px; color: var(--purple); background: var(--purple-soft); display: flex; align-items: center; justify-content: center; font-size: 1rem; font-weight: 900; }
.order-thumb img { width: 100%; height: 100%; object-fit: cover; }
.order-main { min-width: 0; flex: 1; }
.order-title-row { display: flex; align-items: flex-start; justify-content: space-between; gap: 14px; }
.order-title-row h3 { max-width: 680px; margin-top: 4px; overflow: hidden; font-size: .82rem; text-overflow: ellipsis; white-space: nowrap; }
.order-meta { margin-top: 9px; color: var(--muted); display: flex; flex-wrap: wrap; gap: 7px 18px; font-size: .64rem; }
.order-detail-grid { align-items: start; }
.item-list { margin: 4px 0 18px; }
.item-row { padding: 11px 0; border-bottom: 1px solid var(--line); display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.item-row span { display: flex; flex-direction: column; gap: 4px; }
.item-row strong { font-size: .73rem; }.item-row small { color: var(--muted); font-size: .61rem; }.item-row b { font-size: .7rem; }
.address-card { padding: 14px; border-radius: 10px; background: #f8f6f9; display: flex; flex-direction: column; gap: 3px; font-style: normal; font-size: .68rem; }
.admin-order-card { padding: 20px; }
.admin-order-head { display: flex; align-items: center; gap: 15px; }
.admin-order-copy { min-width: 0; flex: 1; }.admin-order-copy h2 { margin-top: 4px; overflow: hidden; font-size: .9rem; text-overflow: ellipsis; white-space: nowrap; }.admin-order-copy p { margin-top: 6px; color: var(--muted); font-size: .64rem; }
.admin-order-details { margin-top: 17px; padding-top: 17px; border-top: 1px solid var(--line); }
.compact-details { margin: 0 0 16px; display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 0 24px; }
.order-update-form { display: grid; grid-template-columns: minmax(180px,1.3fr) repeat(3,minmax(130px,1fr)) auto; align-items: end; gap: 10px; }
.order-update-form .button { margin-bottom: 1px; }
.month-picker { display: flex; align-items: end; gap: 8px; }
.month-picker .field { min-width: 190px; }
.billing-sync-panel { margin: 24px 0 36px; display: flex; align-items: center; justify-content: space-between; gap: 25px; }
.billing-sync-panel h2 { margin-top: 5px; }
.slot-control-panel { margin-bottom: 38px; }
.slot-control-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 12px; }
.slot-control { padding: 14px; border: 1px solid var(--line); border-radius: 12px; display: grid; grid-template-columns: auto minmax(0,1fr) auto auto; align-items: center; gap: 11px; }
.slot-control > div { display: flex; flex-direction: column; gap: 3px; }.slot-control > div strong { font-size: .7rem; }.slot-control > div small { color: var(--muted); font-size: .58rem; }.slot-control > b { font-size: 1.35rem; }
.slot-control form { display: flex; gap: 5px; }.slot-button { width: 30px; height: 30px; border: 1px solid var(--line); border-radius: 8px; color: #6f6578; background: #fff; cursor: pointer; font-size: 1rem; font-weight: 800; }.slot-button.add { border-color: var(--purple); color: #fff; background: var(--purple); }.slot-button:hover { transform: translateY(-1px); }

/* Authentication */
.auth-body { min-height: 100vh; background: #f4f1f7; }
.auth-shell { min-height: 100vh; display: grid; grid-template-columns: 1.05fr .95fr; }
.auth-brand-panel { position: relative; overflow: hidden; padding: 52px clamp(38px,7vw,95px); color: #fff; background: linear-gradient(145deg, #211728, #130f18); display: flex; }
.auth-brand-panel::before { content: ""; position: absolute; width: 520px; height: 520px; top: -310px; right: -180px; border-radius: 50%; border: 90px solid rgba(142,105,228,.12); }
.auth-brand-panel::after { content: ""; position: absolute; width: 420px; height: 420px; bottom: -300px; left: -200px; border-radius: 50%; background: rgba(119,81,200,.11); }
.auth-brand-content { position: relative; z-index: 1; width: min(580px,100%); display: flex; flex-direction: column; }
.auth-message { margin: auto 0 70px; }
.auth-message .eyebrow { color: #a88ded; }
.auth-message h1, .auth-message h2 { max-width: 540px; margin-top: 15px; font-size: clamp(2.5rem,5vw,4.4rem); }
.auth-message p { max-width: 510px; margin-top: 20px; color: #afa5b7; font-size: .94rem; }
.auth-features { display: grid; grid-template-columns: repeat(3,1fr); gap: 15px; }
.auth-features > div { padding-top: 15px; border-top: 1px solid rgba(255,255,255,.11); display: flex; align-items: flex-start; gap: 10px; }
.auth-features > div > span { color: #9271df; font-size: .61rem; font-weight: 850; }
.auth-features p { display: flex; flex-direction: column; }
.auth-features strong { font-size: .7rem; }
.auth-features small { margin-top: 4px; color: #8f8596; font-size: .6rem; line-height: 1.45; }
.auth-form-panel { padding: 40px; display: flex; align-items: center; justify-content: center; }
.auth-card { width: min(440px,100%); padding: 42px; border: 1px solid var(--line); border-radius: 22px; background: #fff; box-shadow: var(--shadow); }
.auth-icon { width: 45px; height: 45px; margin-bottom: 25px; border-radius: 14px; color: var(--purple); background: var(--purple-soft); display: flex; align-items: center; justify-content: center; font-size: 1.2rem; }
.auth-card h1, .auth-card h2 { margin-top: 9px; font-size: 1.65rem; }
.auth-card > p { margin: 11px 0 24px; color: var(--muted); font-size: .78rem; }
.auth-help { margin: 18px 0 0!important; text-align: center; font-size: .67rem!important; }
.auth-link-row { margin-top: 12px; display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 9px; }
.auth-link-row .button { padding: 0 11px; font-size: .7rem; }
.membership-links { margin-top: 18px; display: flex; flex-wrap: wrap; gap: 8px; }
.honeypot { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.compact-auth { padding: 45px 20px; display: flex; align-items: center; justify-content: center; }
.verify-wrap { width: min(455px,100%); }
.verify-wrap > .brand { margin: 0 auto 28px; width: max-content; }
.verify-card { width: 100%; text-align: center; }
.verify-card .auth-icon { margin-left: auto; margin-right: auto; }
.verify-card .field { text-align: left; }
.code-input { text-align: center; font-size: 1.45rem!important; font-weight: 800; letter-spacing: .35em; }
.dev-code { margin: -7px 0 20px; padding: 13px; border: 1px dashed #b9a8e2; border-radius: 10px; color: #6650a0; background: #f4f0ff; display: flex; align-items: center; justify-content: space-between; font-size: .67rem; }
.discord-connect-card { width: min(520px,100%); }
.discord-link-code { margin: 4px 0 10px; padding: 18px 12px; border: 1px solid rgba(86,217,255,.35); border-radius: 14px; color: #dff8ff; background: rgba(40,100,255,.1); text-align: center; font-size: clamp(1.55rem,7vw,2.25rem); font-weight: 900; letter-spacing: .22em; font-variant-numeric: tabular-nums; }
.connect-steps { margin: 22px 0; padding-left: 22px; color: var(--muted); text-align: left; font-size: .76rem; line-height: 1.65; }
.connect-steps li + li { margin-top: 8px; }
.connect-steps strong { color: var(--ink); }
.connect-finish { margin-top: 10px; }
.dev-code strong { font-size: 1rem; letter-spacing: .15em; }
.inline-resend { margin-top: 15px; }
.inline-resend button { border: 0; color: var(--purple); background: transparent; cursor: pointer; font-size: .7rem; font-weight: 800; }
.error-number { color: #ddd4e4; font-size: 4rem; font-weight: 900; letter-spacing: -.06em; }
.error-card h1 { margin-top: -5px; }

@media (max-width: 1080px) {
  .sidebar { width: 230px; }
  .main-area { margin-left: 230px; }
  .page-wrap { padding: 44px 32px 70px; }
  .retailer-grid, .export-grid { grid-template-columns: 1fr; }
  .retailer-card { min-height: 250px; }
  .summary-item { padding: 3px 13px; }
  .summary-icon { width: 35px; height: 35px; flex-basis: 35px; }
  .auth-shell { grid-template-columns: 1fr 1fr; }
  .auth-features { grid-template-columns: 1fr; }
  .auth-features > div:nth-child(n+3) { display: none; }
  .support-update-form { grid-template-columns: 140px 1fr; }
  .support-update-form .button { grid-column: 2; justify-self: end; }
  .order-update-form { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .order-update-form .button { justify-self: start; }
}

@media (max-width: 820px) {
  body.nav-open { overflow: hidden; }
  .sidebar { width: min(286px,86vw); transform: translateX(-102%); transition: transform .22s ease; box-shadow: 20px 0 55px rgba(20,14,25,.3); }
  body.nav-open .sidebar { transform: translateX(0); }
  .sidebar-scrim { position: fixed; inset: 0; z-index: 25; background: rgba(23,17,28,.45); backdrop-filter: blur(2px); }
  body.nav-open .sidebar-scrim { display: block; }
  .main-area { margin-left: 0; }
  .mobile-header { position: sticky; top: 0; z-index: 20; height: 62px; padding: 0 18px; border-bottom: 1px solid var(--line); background: rgba(255,255,255,.93); backdrop-filter: blur(12px); display: flex; align-items: center; justify-content: space-between; }
  .mobile-header .icon-button { color: var(--ink); }
  .mobile-brand { display: flex; align-items: center; gap: 8px; font-size: .8rem; font-weight: 850; }
  .page-wrap { padding: 35px 20px 70px; }
  .summary-strip { grid-template-columns: 1fr 1fr; gap: 0; }
  .summary-item { padding: 12px; border-bottom: 1px solid var(--line); }
  .summary-item:nth-child(2) { border-right: 0; }
  .summary-item:nth-child(3), .summary-item:nth-child(4) { border-bottom: 0; }
  .summary-item:nth-child(3) { padding-left: 12px; }
  .two-column, .account-layout, .support-layout, .admin-customer-grid { grid-template-columns: 1fr; }
  .discord-summary { grid-template-columns: repeat(3,1fr); }
  .profile-grid, .cards-grid { grid-template-columns: minmax(0, 1fr); }
  .site-usage-bar { grid-template-columns: repeat(3,1fr); }
  .site-usage-bar .usage-track { grid-column: 1 / -1; }
  .auth-shell { grid-template-columns: 1fr; }
  .auth-brand-panel { display: none; }
  .auth-form-panel { min-height: 100vh; padding: 24px; }
  .admin-profile-grid { grid-template-columns: 1fr; }
  .slot-control-grid { grid-template-columns: 1fr; }
  .export-builder-head, .billing-sync-panel { align-items: stretch; flex-direction: column; }
  .format-field { width: 100%; flex-basis: auto; }
}

@media (max-width: 560px) {
  html, body { max-width: 100%; overflow-x: hidden; }
  h1 { font-size: 2.15rem; }
  .page-heading { margin-bottom: 25px; align-items: stretch; flex-direction: column; }
  .hero-heading { min-height: 0; padding: 25px 22px; }
  .hero-heading::before { right: -45px; }
  .heading-actions { justify-content: space-between; flex-wrap: wrap; }
  .preview-banner { margin-top: -10px; align-items: stretch; flex-direction: column; }
  .preview-banner .button { width: 100%; }
  .page-heading > .button { width: 100%; }
  .hero-heading .button { width: max-content; }
  .section-heading { align-items: flex-start; flex-direction: column; }
  .section-heading > p { text-align: left; }
  .summary-strip { padding: 10px; }
  .summary-item { gap: 9px; }
  .summary-item strong { font-size: 1.1rem; }
  .summary-icon { width: 32px; height: 32px; flex-basis: 32px; }
  .retailer-card { min-height: 280px; }
  .panel, .profile-card { padding: 20px; }
  .site-usage-bar { padding: 16px; gap: 17px 9px; }
  .site-usage-bar strong { font-size: .72rem; }
  .profile-facts { grid-template-columns: 1fr; }
  .form-section { padding: 68px 19px 23px; }
  .form-section-number { top: 20px; left: 19px; }
  .form-section-title { margin-bottom: 18px; }
  .form-grid { grid-template-columns: 1fr; }
  .span-2 { grid-column: span 1; }
  .form-actions { align-items: stretch; flex-direction: column-reverse; }
  .form-actions .danger { margin-right: 0; }
  .sticky-actions { position: static; }
  .security-chip { width: max-content; }
  .payment-card { padding: 20px; }
  .card-record { align-items: flex-start; flex-direction: column; }
  .card-record > div:first-child { width: 100%; max-width: 100%; }
  .row-actions { width: 100%; }
  .row-actions > * { flex: 1; }
  .row-actions .button { width: 100%; }
  .profile-add-actions { width: 100%; }
  .profile-add-actions .button { flex: 1 1 100%; }
  .profile-admin-footer { align-items: stretch; flex-direction: column; }
  .search-bar { flex-wrap: wrap; }
  .search-bar label { flex-basis: 100%; }
  .table-meta { align-items: flex-start; flex-direction: column; }
  .slot-editor { grid-template-columns: 1fr; }
  .support-update-form { grid-template-columns: 1fr; }
  .support-update-form .button { grid-column: 1; width: 100%; }
  .auth-card { padding: 29px 23px; }
  .auth-link-row { grid-template-columns: 1fr; }
  .compact-auth { padding: 28px 16px; }
  .filter-tabs { width: 100%; overflow-x: auto; }
  .filter-tabs a { flex: 1 0 max-content; text-align: center; }
  .order-card, .admin-order-head { align-items: flex-start; flex-wrap: wrap; }
  .order-card > .button { width: 100%; }
  .order-title-row { flex-direction: column; }
  .order-title-row h3 { white-space: normal; }
  .profile-select-row { padding: 14px 16px; grid-template-columns: auto minmax(0,1fr); }
  .profile-select-row > input { display: none; }
  .profile-select-meta { grid-column: 2; align-items: flex-start; text-align: left; }
  .compact-details, .order-update-form { grid-template-columns: 1fr; }
  .theme-picker { grid-template-columns: 1fr; }
  .order-update-form .button { width: 100%; }
  .month-picker { width: 100%; }.month-picker .field { min-width: 0; flex: 1; }
}

@media (max-width: 420px) {
  .summary-strip { grid-template-columns: 1fr; }
  .discord-summary { grid-template-columns: 1fr; }
  .summary-item, .summary-item:nth-child(3) { padding: 11px 7px; border-right: 0; border-bottom: 1px solid var(--line); }
  .summary-item:last-child { border-bottom: 0; }
  .hero-heading .button { width: 100%; }
}

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

/* PULL DEPT. brand system ---------------------------------------------------- */
body { background: radial-gradient(circle at 82% 0%, rgba(40,100,255,.09), transparent 30rem), var(--page); }
body::before { content: ""; position: fixed; inset: 0; z-index: -1; pointer-events: none; background: linear-gradient(90deg, transparent 0 49.94%, rgba(86,217,255,.025) 50%, transparent 50.06%); background-size: 96px 100%; opacity: .7; }
.app-shell, .auth-shell { position: relative; z-index: 1; }
.brand-mark { width: 44px; height: 44px; border: 0; border-radius: 12px; background: #07111f url('/assets/brand/pull-dept-icon-512.png') center/cover no-repeat; box-shadow: 0 10px 28px rgba(0,0,0,.34); }
.brand-mark::before, .brand-mark::after { display: none; }
.brand-mark.small { width: 34px; height: 34px; border-width: 0; border-radius: 10px; }
.brand strong { color: #f2f7ff; font-weight: 900; letter-spacing: .045em; text-transform: uppercase; }
.brand small { color: #8493aa; letter-spacing: .13em; }
.brand.dark { color: #f2f7ff; }
.sidebar { background: linear-gradient(180deg, #0a1829, #06101d 72%); border-right-color: rgba(40,100,255,.22); box-shadow: 16px 0 48px rgba(0,0,0,.24); }
.sidebar::before { display: none; }
.nav-item { color: #8d9bb1; }
.nav-item:hover { color: #f2f7ff; background: rgba(40,100,255,.08); }
.nav-item.active { color: #fff; background: rgba(40,100,255,.15); box-shadow: inset 3px 0 var(--purple); }
.nav-label { color: #63728a; }
.external-nav b, .sidebar-user-copy small { color: #6f7c91; }
.sidebar-user { border-top-color: rgba(135,161,201,.14); }
.avatar { color: #eef5ff; background: rgba(40,100,255,.24); border: 1px solid rgba(40,100,255,.34); }
.icon-button { color: #93a2b8; }
.main-area { background: linear-gradient(145deg, rgba(40,100,255,.025), transparent 32%); }
.page-heading p, .section-heading > p { color: var(--muted); }
.eyebrow { color: #7f8ea5; }
.eyebrow.purple, .text-link, .back-link:hover, .text-link:hover { color: var(--cyan); }
.hero-heading { border-color: rgba(40,100,255,.3); background: #0b1828; box-shadow: 0 18px 52px rgba(0,0,0,.3), inset 4px 0 #2864ff; }
.hero-heading::before { width: 108px; height: 1px; right: 30px; top: 30px; bottom: auto; border: 0; border-radius: 0; background: linear-gradient(90deg, transparent, rgba(86,217,255,.68)); box-shadow: none; }
.hero-heading::after { display: none; }
.panel, .summary-strip, .retailer-card, .site-usage-bar, .profile-card, .form-section, .payment-card-wrap, .export-card, .order-card { color: var(--ink); border-color: var(--line); background: #0d1a2a; box-shadow: var(--shadow-small); }
.panel:hover, .profile-card:hover, .order-card:hover { border-color: rgba(40,100,255,.34); }
.summary-strip { border-color: rgba(40,100,255,.2); }
.summary-item { border-right-color: var(--line); }
.summary-icon.lavender, .summary-icon.peach { color: #a8baff; background: rgba(88,116,205,.15); }
.summary-icon.mint { color: #65decd; background: rgba(44,201,183,.13); }
.summary-icon.sky { color: #72dfff; background: rgba(86,217,255,.13); }
.retailer-card::after { opacity: .13; filter: none; }
.retailer-card:hover { transform: translateY(-3px); box-shadow: 0 20px 48px rgba(0,0,0,.34); }
.retailer-card.pkc:hover { border-color: rgba(140,168,255,.58); }
.retailer-card.target:hover { border-color: rgba(40,100,255,.65); }
.retailer-card.sams:hover { border-color: rgba(86,217,255,.55); }
.arrow-chip, .profile-number, .count-badge { color: #aab6ca; background: rgba(135,161,201,.1); }
.progress-track, .usage-track { background: rgba(135,161,201,.13); }
.button.primary { color: #fff; background: var(--purple); box-shadow: 0 9px 24px color-mix(in srgb, var(--purple) 24%, transparent); }
.button.primary:hover { background: var(--purple-dark); box-shadow: 0 12px 30px color-mix(in srgb, var(--purple) 30%, transparent); }
.button.secondary { color: #dce6f7; background: #122238; border-color: rgba(135,161,201,.22); box-shadow: none; }
.button.secondary:hover { color: #fff; border-color: color-mix(in srgb, var(--purple) 65%, transparent); background: rgba(40,100,255,.1); }
.button.ghost { color: #aab5c7; border-color: var(--line); }
.button.danger { color: #f08ba3; }
.button.pkc { color: #bdcaff; border-color: rgba(140,168,255,.32); background: var(--pkc-soft); }
.button.target { color: #82a5ff; border-color: rgba(40,100,255,.38); background: var(--target-soft); }
.button.sams { color: #7de2ff; border-color: rgba(86,217,255,.32); background: var(--blue-soft); }
.button.primary.target { color: #fff; }
.button.primary.sams { color: #06101d; }
.count-badge { border: 1px solid var(--line); }
.action-row:hover, .readiness-row:hover, .activity-row:hover { background: linear-gradient(90deg, rgba(40,100,255,.07), transparent); }
.action-row, .readiness-row, .activity-row, .ticket-row, .item-row { border-color: var(--line); }
.action-symbol, .empty-compact > span { color: var(--cyan); background: var(--purple-soft); border: 1px solid rgba(40,100,255,.24); }
.status-pill.ready, .run-label.on { color: #65decd; background: var(--green-soft); }
.status-pill.needs, .missing-line { color: #f08ba3; background: var(--red-soft); }
.status-pill.progress { color: #a8baff; background: rgba(140,168,255,.12); }
.export-status.new { color: #efc270; border-color: rgba(229,173,82,.28); background: rgba(229,173,82,.12); }
.export-status.updated { color: #a8baff; border-color: rgba(140,168,255,.28); background: rgba(140,168,255,.12); }
.export-status.exported { color: #8d9bb1; border-color: rgba(135,161,201,.2); background: rgba(135,161,201,.08); }
.export-queue-alert { border-color: rgba(229,173,82,.24); background: rgba(229,173,82,.08); }
.export-queue-alert strong { color: #efc270; }
.export-queue-alert p { color: #aeb9ca; }
.export-queue-icon { color: #efc270; background: rgba(229,173,82,.13); }
.run-label.off { color: #8d9bb1; background: rgba(135,161,201,.1); }
.empty-state { border-color: rgba(135,161,201,.22); background: rgba(8,19,32,.58); }
.empty-tip, .mini-stat-grid div, .address-card, .ticket-message, .member-reply { color: #b7c2d4; background: rgba(135,161,201,.08); }
.member-reply strong { color: #7edfff; }
.member-reply p, .ticket-message { color: #c8d1df; }
.field > span, .theme-picker legend { color: #c8d1df; }
.field input, .field select, .field textarea, .search-bar input { color: #f2f7ff; border-color: rgba(135,161,201,.22); background: #081421; box-shadow: inset 0 1px rgba(255,255,255,.02); }
.field input::placeholder, .field textarea::placeholder, .search-bar input::placeholder { color: #5d6b80; }
.field input:focus, .field select:focus, .field textarea:focus, .search-bar input:focus { border-color: var(--purple); box-shadow: 0 0 0 3px color-mix(in srgb, var(--purple) 16%, transparent); }
.field input:disabled { color: #75839a; background: #0a1522; }
.field select option { color: #f2f7ff; background: #0d1a2a; }
.generated-profile-label, .fixed-membership { border-color: rgba(40,100,255,.24); background: rgba(40,100,255,.08); }
.fixed-membership { border-color: rgba(86,217,255,.24); }
.password-field > div button { color: #8fe6ff; background: rgba(86,217,255,.1); }
.form-section-number { border: 1px solid rgba(40,100,255,.3); }
.check-card, .check-ui { border-color: rgba(135,161,201,.22); }
.run-check { background: #081421; }
.sticky-actions { background: rgba(8,20,33,.94); border-color: rgba(40,100,255,.22); }
.security-chip { color: #a5b2c6; border-color: rgba(135,161,201,.2); background: #0b1828; }
.privacy-banner { color: #70dfcf; border-color: rgba(44,201,183,.24); background: rgba(44,201,183,.08); }
.privacy-banner p { color: #89afa9; }
.payment-card, .payment-card.visa, .payment-card.mastercard, .payment-card.discover { border: 1px solid rgba(86,217,255,.12); background: linear-gradient(145deg, #173967, #091625); box-shadow: 0 16px 38px rgba(0,0,0,.34); }
.payment-card.amex { background: linear-gradient(145deg, #126480, #09243a); }
.membership-panel { background: #101f34; border: 1px solid rgba(40,100,255,.3); }
.membership-panel::after { background: rgba(40,100,255,.14); }
.membership-star { color: var(--cyan); text-shadow: none; }
.table-meta, .selector-toolbar { background: rgba(8,20,33,.72); }
.data-table th { color: #8998af; background: #091522; }
.data-table td { color: #b5c0d1; }
.data-table tbody tr:hover, .profile-select-row:hover, .ticket-row.linked:hover { background: rgba(40,100,255,.06); }
.tier-pill.trainer { color: #aeb9ca; background: rgba(111,124,145,.14); }
.tier-pill.master { color: #91b0ff; background: rgba(40,100,255,.14); }
.avatar-preview { border-color: rgba(40,100,255,.28); background: var(--purple-soft); box-shadow: 0 14px 38px rgba(0,0,0,.32); }
.file-picker { border-color: rgba(135,161,201,.24); background: #081421; }
.theme-choice { background: #091624; }
.theme-swatch { background: #0d1a2a; }
.theme-choice.indigo .theme-swatch { background:#0a1730 }.theme-choice.indigo i{background:#2864ff}
.theme-choice.electric .theme-swatch { background:#0a2430 }.theme-choice.electric i{background:#56d9ff}
.theme-choice.ember .theme-swatch { background:#0b1837 }.theme-choice.ember i{background:#3f66d8}
.theme-choice.mint .theme-swatch { background:#09242d }.theme-choice.mint i{background:#2aa8c7}
.theme-choice.midnight .theme-swatch { background:#101823 }.theme-choice.midnight i{background:#6f7c91}
.filter-tabs { background: #0b1828; }
.filter-tabs a.active { background: var(--purple); }
.profile-select-row .check-ui { background: #081421; border-color: rgba(135,161,201,.24); }
.slot-button { color: #b8c3d3; background: #081421; }
.notice.success { color: #75dfd0; border-color: rgba(44,201,183,.24); background: rgba(44,201,183,.08); }
.notice.error, .field-alert { color: #f09aad; border-color: rgba(217,92,122,.24); background: rgba(217,92,122,.09); }
.notice.info, .preview-banner { color: #a9bdff; border-color: rgba(40,100,255,.28); background: rgba(40,100,255,.09); }
.auth-body { background: #07111f; }
.auth-brand-panel { background: linear-gradient(145deg, #091827, #06101d); }
.auth-brand-panel::before { width: 320px; height: 320px; inset: auto 8% 50%; transform: translateY(50%); border: 0; border-radius: 72px; background: url('/assets/brand/pull-dept-icon-512.png') center/contain no-repeat; opacity: .13; }
.auth-brand-panel::after { width: 1px; height: 50%; left: auto; right: 9%; bottom: 25%; border: 0; border-radius: 0; background: linear-gradient(transparent, rgba(86,217,255,.55), transparent); box-shadow: none; }
.auth-message .eyebrow { color: #7edfff; }
.auth-message p, .auth-features small { color: #9aa8bd; }
.auth-features > div { border-top-color: rgba(135,161,201,.18); }
.auth-features > div > span { color: var(--cyan); }
.auth-form-panel { background: #07111f; }
.auth-card { border-color: rgba(40,100,255,.24); background: #0d1a2a; box-shadow: 0 26px 68px rgba(0,0,0,.4); }
.auth-icon { color: #8fe6ff; background: rgba(40,100,255,.14); border: 1px solid rgba(40,100,255,.24); }
.dev-code { color: #9db6ff; border-color: rgba(40,100,255,.4); background: rgba(40,100,255,.09); }
.error-number { color: #34455d; }
.mobile-header { color: var(--ink); border-bottom-color: rgba(40,100,255,.22); background: rgba(7,17,31,.94); }
.mobile-header .icon-button { color: #dfe8f5; }
.app-body.theme-electric .button.primary:not(.pkc):not(.target):not(.sams),
.app-body.theme-mint .button.primary:not(.pkc):not(.target):not(.sams) { color: #06101d; }

/* Readable accents and narrow-screen containment. */
.eyebrow.target { color: #82a5ff; }
.eyebrow.pkc { color: #e7c92e; }
.field small a, .ticket-category, .support-ticket-head a, .audit-action { color: #7edfff; }
.audit-table code { color: #aab6ca; }
.payment-card-wrap, .payment-card, .card-top, .card-bottom { min-width: 0; }

@media (max-width: 560px) {
  .payment-card { padding: 20px; }
}

/* Website guide ------------------------------------------------------------ */
.guide-heading { margin-bottom: 18px; }
.guide-jump { position: sticky; top: 18px; z-index: 8; display: grid; grid-template-columns: repeat(5,minmax(0,1fr)); gap: 7px; margin: 0 0 26px; padding: 8px; border: 1px solid rgba(40,100,255,.22); border-radius: 17px; background: rgba(7,17,31,.9); box-shadow: 0 14px 34px rgba(0,0,0,.25); backdrop-filter: blur(16px); }
.guide-jump a { display: flex; align-items: center; justify-content: center; gap: 9px; min-height: 42px; padding: 8px 10px; color: #b6c2d5; border-radius: 11px; font-size: .8rem; font-weight: 800; text-decoration: none; }
.guide-jump a:hover { color: #fff; background: rgba(40,100,255,.13); }
.guide-jump b { color: var(--cyan); font-size: .65rem; letter-spacing: .08em; }
.guide-step { scroll-margin-top: 92px; display: grid; grid-template-columns: minmax(0,1fr) minmax(360px,.9fr); gap: clamp(28px,5vw,72px); align-items: center; margin: 0 0 26px; padding: clamp(28px,5vw,68px); border: 1px solid var(--line); border-radius: 28px; background: #0d1a2a; box-shadow: var(--shadow-small); overflow: hidden; }
.guide-step.reverse .guide-copy { order: 2; }
.guide-step.reverse .guide-visual { order: 1; }
.guide-copy { min-width: 0; }
.guide-copy > .eyebrow { display: block; margin: 0 0 10px; }
.guide-copy h2 { max-width: 680px; margin: 0 0 18px; color: #f1f6ff; font-size: clamp(1.55rem,2.8vw,2.3rem); line-height: 1.08; }
.guide-copy > p { color: #aeb9ca; line-height: 1.7; }
.guide-number { display: inline-grid; place-items: center; width: 47px; height: 47px; margin: 0 0 23px; color: #07111f; border-radius: 15px; background: var(--cyan); font-size: .78rem; font-weight: 900; letter-spacing: .12em; box-shadow: 0 10px 26px rgba(86,217,255,.18); }
.guide-list { display: grid; gap: 13px; margin: 24px 0; padding: 0; list-style: none; counter-reset: guide-item; }
.guide-list li { position: relative; min-height: 34px; padding: 5px 0 5px 44px; color: #c4cedd; line-height: 1.55; counter-increment: guide-item; }
.guide-list li::before { content: counter(guide-item); position: absolute; left: 0; top: 2px; display: grid; place-items: center; width: 30px; height: 30px; color: #8fe6ff; border: 1px solid rgba(86,217,255,.24); border-radius: 10px; background: rgba(86,217,255,.08); font-size: .7rem; font-weight: 900; }
.guide-note { margin: 22px 0 0; padding: 16px 18px; color: #9cb0c9; border: 1px solid rgba(40,100,255,.24); border-radius: 14px; background: rgba(40,100,255,.07); line-height: 1.55; }
.guide-note strong { color: #dbe7f8; }
.guide-visual { margin: 0; }
.guide-visual img { display: block; width: 100%; height: auto; border-radius: 22px; box-shadow: 0 22px 48px rgba(0,0,0,.28); }
.guide-visual figcaption { margin: 13px 6px 0; color: #75849a; font-size: .75rem; line-height: 1.45; text-align: center; }
.guide-tier-grid { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 12px; margin: 24px 0 20px; }
.guide-tier-grid article { padding: 19px; border: 1px solid var(--line); border-radius: 17px; background: rgba(7,17,31,.46); }
.guide-tier-grid h3 { margin: 14px 0 7px; color: #edf4ff; font-size: 1rem; }
.guide-tier-grid p { margin: 0; color: #8998ad; font-size: .83rem; line-height: 1.55; }
.guide-rules { display: grid; gap: 9px; margin: 24px 0; }
.guide-rules .rule { position: relative; display: grid; gap: 4px; padding: 14px 16px 14px 21px; border: 1px solid var(--line); border-radius: 13px; background: rgba(7,17,31,.45); overflow: hidden; }
.guide-rules .rule::before { content: ""; position: absolute; inset: 0 auto 0 0; width: 4px; background: var(--purple); }
.guide-rules .rule.pkc::before { background: #e7c92e; }.guide-rules .rule.target::before { background: #e8505b; }.guide-rules .rule.sams::before { background: #56d9ff; }
.guide-rules strong { color: #eef4ff; }.guide-rules span { color: #8f9db1; font-size: .8rem; line-height: 1.5; }
.status-guide, .guide-checks { display: grid; gap: 12px; margin: 24px 0; padding: 0; list-style: none; }
.status-guide li { display: grid; grid-template-columns: 104px 1fr; gap: 12px; align-items: center; color: #aeb9ca; font-size: .84rem; }
.status-pill.review { color: #efc270; background: rgba(229,173,82,.12); }.status-pill.shipped { color: #83dfff; background: rgba(86,217,255,.12); }
.guide-checks li { position: relative; padding-left: 31px; color: #bdc7d6; line-height: 1.6; }
.guide-checks li::before { content: "✓"; position: absolute; left: 0; top: 0; color: #65decd; font-weight: 900; }
.guide-actions { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 24px; }
.guide-finish { border-color: rgba(44,201,183,.25); background: linear-gradient(135deg,#0d1a2a,rgba(44,201,183,.06)); }

@media (max-width: 980px) {
  .guide-step { grid-template-columns: 1fr; }
  .guide-step.reverse .guide-copy, .guide-step.reverse .guide-visual { order: initial; }
  .guide-visual { max-width: 680px; }
}
@media (max-width: 680px) {
  .guide-jump { position: static; grid-template-columns: repeat(5,1fr); }
  .guide-jump a { min-height: 38px; padding: 6px 2px; font-size: 0; }
  .guide-jump b { font-size: .68rem; }
  .guide-step { padding: 24px 19px; border-radius: 21px; }
  .guide-tier-grid { grid-template-columns: 1fr; }
  .status-guide li { grid-template-columns: 96px 1fr; }
}

/* Public website ---------------------------------------------------------- */
.landing-body { min-height: 100vh; overflow-x: hidden; color: #eef5ff; background: radial-gradient(circle at 74% 2%,rgba(40,100,255,.21),transparent 30rem),radial-gradient(circle at 18% 33%,rgba(86,217,255,.07),transparent 30rem),#06101d; }
.marketing-header { position: relative; z-index: 20; width: min(1360px,calc(100% - 48px)); min-height: 92px; margin: 0 auto; display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 28px; border-bottom: 1px solid rgba(135,161,201,.13); }
.marketing-header.compact { min-height: 78px; }
.marketing-brand { justify-self: start; color: #eef5ff; }
.marketing-nav { display: flex; align-items: center; justify-content: center; gap: 30px; color: #a7b5c9; font-size: .79rem; font-weight: 750; }
.marketing-nav a { display: inline-flex; align-items: center; gap: 7px; transition: color .18s ease; }
.marketing-nav a:hover { color: #fff; }
.nav-status-dot { width: 7px; height: 7px; border-radius: 50%; background: #2cc9b7; box-shadow: 0 0 0 5px rgba(44,201,183,.1); }
.marketing-login { justify-self: end; }
.button.large { min-height: 50px; padding: 0 22px; border-radius: 13px; font-size: .86rem; }

.marketing-hero { position: relative; width: min(1360px,calc(100% - 48px)); min-height: 690px; margin: 0 auto; padding: 86px 0 90px; display: grid; grid-template-columns: minmax(0,.9fr) minmax(500px,1.1fr); align-items: center; gap: clamp(45px,7vw,105px); }
.hero-grid-light { position: absolute; inset: 0; pointer-events: none; opacity: .17; background-image: linear-gradient(rgba(135,161,201,.14) 1px,transparent 1px),linear-gradient(90deg,rgba(135,161,201,.14) 1px,transparent 1px); background-size: 54px 54px; mask-image: radial-gradient(circle at 64% 46%,black,transparent 68%); }
.marketing-hero-copy,.hero-art { position: relative; z-index: 1; }
.marketing-kicker { width: max-content; max-width: 100%; margin-bottom: 24px; padding: 8px 12px; color: #a9b9d0; border: 1px solid rgba(86,217,255,.2); border-radius: 999px; background: rgba(86,217,255,.06); display: inline-flex; align-items: center; gap: 9px; font-size: .68rem; font-weight: 800; letter-spacing: .04em; text-transform: uppercase; }
.marketing-kicker i { width: 7px; height: 7px; border-radius: 50%; background: var(--cyan); box-shadow: 0 0 13px rgba(86,217,255,.8); }
.marketing-hero h1 { max-width: 720px; font-size: clamp(3.2rem,6vw,6.2rem); line-height: .93; letter-spacing: -.065em; }
.marketing-hero h1 span { color: #7f9eff; background: linear-gradient(100deg,#7f9eff,#56d9ff); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; }
.marketing-hero-copy > p { max-width: 620px; margin-top: 28px; color: #9baabd; font-size: 1rem; line-height: 1.78; }
.hero-actions { margin-top: 34px; display: flex; align-items: center; gap: 12px; flex-wrap: wrap; }
.hero-proof { margin-top: 34px; display: flex; gap: 22px; flex-wrap: wrap; color: #7e8da3; font-size: .69rem; font-weight: 750; }
.hero-proof span { display: inline-flex; align-items: center; gap: 7px; }
.hero-proof b { color: #56d9ff; font-size: .59rem; letter-spacing: .08em; }
.hero-art { min-width: 0; padding: 18px; border: 1px solid rgba(86,217,255,.18); border-radius: 30px; background: linear-gradient(145deg,rgba(17,36,59,.9),rgba(7,17,31,.92)); box-shadow: 0 46px 100px rgba(0,0,0,.5),inset 0 1px rgba(255,255,255,.04); transform: perspective(1100px) rotateY(-3deg); }
.hero-art > img { width: 100%; aspect-ratio: 3/1; object-fit: cover; display: block; border-radius: 19px; }
.hero-dashboard-card { width: 88%; margin: -8px auto 0; padding: 19px 21px 20px; border: 1px solid rgba(135,161,201,.16); border-radius: 0 0 18px 18px; background: #0b1828; box-shadow: 0 18px 40px rgba(0,0,0,.28); }
.mini-window-bar { display: flex; align-items: center; gap: 5px; }
.mini-window-bar > span { width: 6px; height: 6px; border-radius: 50%; background: #30415b; }
.mini-window-bar > span:nth-child(1) { background: #d95c7a; }.mini-window-bar > span:nth-child(2) { background: #e7c96b; }.mini-window-bar > span:nth-child(3) { background: #2cc9b7; }
.mini-window-bar small { margin-left: auto; color: #8999af; font-size: .55rem; font-weight: 800; letter-spacing: .07em; text-transform: uppercase; }
.mini-readiness { margin-top: 17px; display: flex; align-items: center; justify-content: space-between; font-size: .76rem; }.mini-readiness b { color: #6ce0d1; font-size: .68rem; }
.mini-progress { height: 5px; margin-top: 10px; overflow: hidden; border-radius: 99px; background: #14243a; }.mini-progress i { display: block; width: 100%; height: 100%; background: linear-gradient(90deg,#2864ff,#56d9ff); }
.mini-sites { margin-top: 14px; display: grid; grid-template-columns: repeat(3,1fr); gap: 8px; }.mini-sites span { min-width: 0; padding: 9px; border: 1px solid rgba(135,161,201,.12); border-radius: 9px; color: #aab7c9; background: #091522; display: flex; align-items: center; gap: 7px; font-size: .58rem; white-space: nowrap; }.mini-sites b { margin-left: auto; color: #65decd; font-size: .5rem; }

.retailer-ribbon { width: min(1120px,calc(100% - 48px)); margin: 0 auto; padding: 19px 25px; border: 1px solid rgba(135,161,201,.14); border-radius: 16px; color: #9cabc0; background: rgba(10,22,37,.72); display: flex; align-items: center; justify-content: center; gap: clamp(18px,4vw,56px); font-size: .75rem; }
.retailer-ribbon > span { color: #65758c; font-size: .65rem; font-weight: 850; letter-spacing: .13em; text-transform: uppercase; }.retailer-ribbon strong { display: flex; align-items: center; gap: 9px; }
.marketing-section { width: min(1220px,calc(100% - 48px)); margin: 0 auto; padding: 125px 0; }
.marketing-section-heading { margin-bottom: 48px; display: flex; justify-content: space-between; align-items: end; gap: 50px; }.marketing-section-heading.centered { text-align: center; display: block; }.marketing-section-heading.centered p { margin: 18px auto 0; }
.marketing-section-heading h2,.workflow-copy h2,.trust-section h2 { max-width: 720px; margin-top: 12px; font-size: clamp(2.1rem,4vw,3.55rem); line-height: 1.03; letter-spacing: -.05em; }.marketing-section-heading > p { max-width: 470px; color: #8f9db1; font-size: .9rem; }
.value-grid { display: grid; grid-template-columns: repeat(4,1fr); gap: 14px; }
.value-grid article { min-height: 285px; padding: 28px; border: 1px solid rgba(135,161,201,.15); border-radius: 19px; background: linear-gradient(155deg,#0d1a2a,#081421); display: flex; flex-direction: column; transition: transform .2s,border-color .2s; }.value-grid article:hover { transform: translateY(-4px); border-color: rgba(86,217,255,.32); }
.feature-number { width: 39px; height: 39px; margin-bottom: auto; border: 1px solid rgba(86,217,255,.2); border-radius: 11px; color: #7ee3ff; background: rgba(86,217,255,.08); display: grid; place-items: center; font-size: .64rem; font-weight: 900; letter-spacing: .08em; }.value-grid h3 { margin: 32px 0 10px; color: #eff5ff; }.value-grid p { color: #8998ad; font-size: .79rem; line-height: 1.65; }

.memberships-section { width: min(1080px,calc(100% - 48px)); }
.membership-compare { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); align-items: stretch; gap: 22px; }
.public-plan-card { position: relative; overflow: hidden; border: 1px solid rgba(135,161,201,.17); border-radius: 26px; background: #0b1828; box-shadow: 0 24px 64px rgba(0,0,0,.25); }.public-plan-card.pull-plan { border-color: rgba(40,100,255,.52); box-shadow: 0 28px 80px rgba(21,57,157,.23); }
.plan-cover { aspect-ratio: 16/8.3; overflow: hidden; background: #07111f; }.plan-cover img { width: 100%; height: 100%; object-fit: cover; display: block; }.plan-content { padding: 30px 32px 34px; }.plan-label { color: #7f90a7; font-size: .65rem; font-weight: 850; letter-spacing: .12em; text-transform: uppercase; }.plan-content h3 { margin-top: 8px; font-size: 1.7rem; }.plan-price { margin: 18px 0; display: flex; align-items: baseline; gap: 8px; }.plan-price strong { font-size: 2.35rem; letter-spacing: -.045em; }.plan-price span { color: #78879c; font-size: .73rem; }.plan-content > p { min-height: 51px; color: #98a6ba; font-size: .81rem; }.plan-content ul { min-height: 198px; margin: 25px 0 30px; padding: 0; list-style: none; display: grid; align-content: start; gap: 12px; }.plan-content li { position: relative; padding-left: 27px; color: #bec9d8; font-size: .78rem; line-height: 1.5; }.plan-content li::before { content: "✓"; position: absolute; left: 0; color: #5cd9ca; font-weight: 900; }.popular-chip { position: absolute; z-index: 3; top: 18px; right: 18px; padding: 7px 10px; border: 1px solid rgba(255,255,255,.18); border-radius: 99px; color: #fff; background: rgba(7,17,31,.75); backdrop-filter: blur(12px); font-size: .58rem; font-weight: 900; letter-spacing: .1em; text-transform: uppercase; }.plan-note { max-width: 760px; margin: 22px auto 0; color: #68778c; font-size: .68rem; line-height: 1.6; text-align: center; }

.workflow-section { display: grid; grid-template-columns: .82fr 1.18fr; align-items: center; gap: clamp(55px,8vw,115px); }.workflow-copy > p { max-width: 500px; margin: 23px 0 25px; color: #96a5b8; font-size: .88rem; }.text-link.bright { color: #75dcff; }.workflow-stack { padding: 22px; border: 1px solid rgba(40,100,255,.23); border-radius: 25px; background: linear-gradient(150deg,#0d1a2a,#081421); box-shadow: 0 35px 90px rgba(0,0,0,.3); display: grid; gap: 9px; }.workflow-row { min-height: 70px; padding: 12px 15px; border: 1px solid rgba(135,161,201,.11); border-radius: 13px; color: #7e8ca1; background: rgba(7,17,31,.55); display: flex; align-items: center; gap: 13px; }.workflow-row > span { width: 35px; height: 35px; flex: 0 0 35px; border: 1px solid rgba(135,161,201,.18); border-radius: 10px; display: grid; place-items: center; font-size: .61rem; font-weight: 900; }.workflow-row > div { min-width: 0; flex: 1; display: flex; flex-direction: column; gap: 4px; }.workflow-row strong { color: #b7c3d3; font-size: .79rem; }.workflow-row small { color: #66758b; font-size: .66rem; }.workflow-row > b { font-size: .6rem; text-transform: uppercase; }.workflow-row.complete > span { color: #051712; border-color: #2cc9b7; background: #2cc9b7; }.workflow-row.complete > b { color: #65decd; }.workflow-row.current { border-color: rgba(86,217,255,.35); background: rgba(86,217,255,.06); }.workflow-row.current > span { color: #7ee3ff; border-color: rgba(86,217,255,.3); }.workflow-row.current > b { color: #7ee3ff; }

.trust-section { padding-top: 85px; border-top: 1px solid rgba(135,161,201,.12); }.trust-section > div:first-child { margin-bottom: 45px; }.trust-grid { display: grid; grid-template-columns: repeat(4,1fr); gap: 14px; }.trust-grid article { padding: 26px; border: 1px solid rgba(135,161,201,.13); border-radius: 18px; background: rgba(12,26,42,.72); }.trust-grid article > span { width: 39px; height: 39px; margin-bottom: 30px; border-radius: 11px; color: #83e3ff; background: rgba(86,217,255,.09); display: grid; place-items: center; font-weight: 900; }.trust-grid h3 { font-size: .98rem; }.trust-grid p { margin-top: 9px; color: #8796aa; font-size: .75rem; line-height: 1.6; }

.faq-section { padding-top: 90px; }.faq-grid { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 10px 18px; }.faq-grid details { border: 1px solid rgba(135,161,201,.14); border-radius: 14px; background: rgba(11,24,40,.72); }.faq-grid summary { min-height: 70px; padding: 18px 20px; cursor: pointer; list-style: none; display: flex; align-items: center; justify-content: space-between; gap: 18px; font-size: .8rem; font-weight: 800; }.faq-grid summary::-webkit-details-marker { display: none; }.faq-grid summary span { color: #65dfff; font-size: 1.1rem; transition: transform .18s; }.faq-grid details[open] summary span { transform: rotate(45deg); }.faq-grid details p { padding: 0 20px 21px; color: #8e9db1; font-size: .76rem; line-height: 1.65; }
.marketing-cta { width: min(1220px,calc(100% - 48px)); margin: 25px auto 100px; padding: clamp(38px,6vw,68px); border: 1px solid rgba(40,100,255,.37); border-radius: 28px; background: radial-gradient(circle at 82% 0,rgba(86,217,255,.13),transparent 22rem),linear-gradient(140deg,#101e35,#0a1727); box-shadow: 0 35px 90px rgba(0,0,0,.3); display: flex; align-items: center; justify-content: space-between; gap: 35px; }.marketing-cta h2 { margin: 10px 0 12px; font-size: clamp(2rem,4vw,3.3rem); }.marketing-cta p { color: #96a5b9; }.marketing-cta > div:last-child { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.marketing-footer { width: min(1360px,calc(100% - 48px)); min-height: 150px; margin: 0 auto; padding: 35px 0; border-top: 1px solid rgba(135,161,201,.13); display: grid; grid-template-columns: auto minmax(260px,1fr) auto; align-items: center; gap: 50px; }.marketing-footer.compact { min-height: 110px; grid-template-columns: 1fr auto; }.marketing-footer > p { max-width: 670px; justify-self: center; color: #64748a; font-size: .63rem; line-height: 1.65; }.marketing-footer nav { display: flex; gap: 22px; color: #8796aa; font-size: .7rem; font-weight: 750; }.marketing-footer nav a:hover { color: #fff; }

/* Public status ---------------------------------------------------------- */
.status-shell { width: min(850px,calc(100% - 48px)); min-height: calc(100vh - 230px); margin: 0 auto; padding: 90px 0 100px; }.status-hero { margin-bottom: 32px; }.status-title-row { margin-top: 12px; display: flex; align-items: end; justify-content: space-between; gap: 30px; }.status-title-row h1 { max-width: 630px; font-size: clamp(2.5rem,5vw,4rem); }.status-title-row p { margin-top: 15px; color: #8d9caf; }.overall-status { flex: 0 0 auto; padding: 10px 14px; border: 1px solid rgba(44,201,183,.25); border-radius: 99px; color: #72dfd0; background: rgba(44,201,183,.08); display: inline-flex; align-items: center; gap: 9px; font-size: .68rem; font-weight: 850; }.overall-status.attention { color: #efb178; border-color: rgba(229,173,82,.25); background: rgba(229,173,82,.08); }.overall-status i { width: 7px; height: 7px; border-radius: 50%; background: currentColor; box-shadow: 0 0 12px currentColor; }.status-panel { overflow: hidden; border: 1px solid rgba(135,161,201,.16); border-radius: 20px; background: #0c1929; }.service-status { min-height: 88px; padding: 19px 22px; border-bottom: 1px solid rgba(135,161,201,.12); display: flex; align-items: center; justify-content: space-between; gap: 20px; }.service-status:last-child { border: 0; }.service-status > div { display: flex; align-items: center; gap: 14px; }.service-status > div > span:last-child { display: flex; flex-direction: column; gap: 5px; }.service-status strong { font-size: .82rem; }.service-status small { color: #78889e; font-size: .68rem; }.service-icon { width: 38px; height: 38px; border-radius: 11px; display: grid; place-items: center; font-weight: 900; }.service-icon.up { color: #65decd; background: rgba(44,201,183,.1); }.service-icon.down { color: #efb178; background: rgba(229,173,82,.1); }.status-meta { padding: 13px 6px; color: #66758b; display: flex; align-items: center; justify-content: space-between; font-size: .63rem; }.status-help { margin-top: 42px; padding: 24px; border: 1px solid rgba(40,100,255,.22); border-radius: 17px; background: rgba(40,100,255,.07); display: flex; align-items: center; justify-content: space-between; gap: 25px; }.status-help > div { display: flex; align-items: center; gap: 14px; }.status-help > div > span { width: 36px; height: 36px; flex: 0 0 36px; border-radius: 10px; color: #8ea9ff; background: rgba(40,100,255,.12); display: grid; place-items: center; font-weight: 900; }.status-help p { display: flex; flex-direction: column; gap: 4px; }.status-help strong { font-size: .78rem; }.status-help small { color: #8494aa; font-size: .68rem; }

/* Member onboarding and owner marketing -------------------------------- */
.onboarding-panel { margin-bottom: 44px; overflow: hidden; }.onboarding-panel.complete { border-color: rgba(44,201,183,.24); }.onboarding-head { display: flex; align-items: center; justify-content: space-between; gap: 30px; }.onboarding-head h2 { margin-top: 7px; }.onboarding-head p { margin-top: 8px; color: var(--muted); font-size: .76rem; }.onboarding-score { width: 76px; height: 76px; flex: 0 0 76px; border: 1px solid rgba(86,217,255,.22); border-radius: 18px; background: rgba(86,217,255,.07); display: flex; align-items: center; justify-content: center; flex-direction: column; }.onboarding-score strong { color: #83e4ff; font-size: 1.25rem; }.onboarding-score span { margin-top: 2px; color: #91a1b7; font-size: .56rem; font-weight: 850; text-transform: uppercase; }.onboarding-progress { height: 6px; margin: 22px 0; overflow: hidden; border-radius: 99px; background: #14243a; }.onboarding-progress i { display: block; height: 100%; border-radius: inherit; background: linear-gradient(90deg,#2864ff,#56d9ff); transition: width .3s ease; }.onboarding-items { display: grid; grid-template-columns: repeat(5,minmax(0,1fr)); gap: 8px; }.onboarding-item { min-width: 0; min-height: 132px; padding: 15px; border: 1px solid rgba(135,161,201,.13); border-radius: 13px; background: rgba(7,17,31,.42); display: flex; align-items: flex-start; flex-direction: column; }.onboarding-item > span { width: 29px; height: 29px; border: 1px solid rgba(135,161,201,.18); border-radius: 9px; color: #8392a7; display: grid; place-items: center; font-size: .57rem; font-weight: 900; }.onboarding-item > div { margin-top: 18px; display: flex; flex-direction: column; gap: 5px; }.onboarding-item strong { font-size: .7rem; line-height: 1.35; }.onboarding-item small { color: #7c8ca2; font-size: .59rem; line-height: 1.45; }.onboarding-item > b { margin-top: auto; padding-top: 11px; color: #75dcff; font-size: .57rem; text-transform: uppercase; }.onboarding-item.done > span { color: #061712; border-color: #2cc9b7; background: #2cc9b7; }.onboarding-item.done > b { color: #65decd; }.onboarding-item.pending:hover { border-color: rgba(86,217,255,.32); background: rgba(86,217,255,.04); }
.marketing-window-tabs { width: max-content; margin-bottom: 24px; }.marketing-bars { display: grid; gap: 18px; }.marketing-bars > div > span { display: flex; align-items: center; justify-content: space-between; margin-bottom: 8px; }.marketing-bars strong { font-size: .76rem; text-transform: capitalize; }.marketing-bars b { color: #91a0b5; font-size: .68rem; }.marketing-bars i { height: 7px; overflow: hidden; border-radius: 99px; background: #14243a; display: block; }.marketing-bars em { height: 100%; border-radius: inherit; background: linear-gradient(90deg,#2864ff,#56d9ff); display: block; }.table-sub { margin-top: 4px; color: #718198; display: block; font-size: .63rem; }

@media (max-width: 1080px) {
  .marketing-header { grid-template-columns: 1fr auto; }.marketing-nav { display: none; }
  .marketing-hero { grid-template-columns: 1fr; padding-top: 70px; }.marketing-hero-copy { max-width: 820px; }.hero-art { max-width: 850px; transform: none; }
  .value-grid,.trust-grid { grid-template-columns: repeat(2,1fr); }.workflow-section { grid-template-columns: 1fr; }.workflow-copy { max-width: 680px; }
  .onboarding-items { grid-template-columns: repeat(3,1fr); }
}
@media (max-width: 760px) {
  .marketing-header { width: min(100% - 30px,1360px); min-height: 76px; }.marketing-brand small { display: none; }.marketing-login { min-height: 39px; padding: 0 13px; font-size: .71rem; }
  .marketing-hero { width: min(100% - 30px,1360px); min-height: 0; padding: 60px 0 70px; gap: 52px; }.marketing-hero h1 { font-size: clamp(3rem,14vw,5rem); }.marketing-hero-copy > p { font-size: .9rem; }.hero-actions { align-items: stretch; flex-direction: column; }.hero-actions .button { width: 100%; }.hero-proof { gap: 11px 19px; }.hero-art { padding: 10px; border-radius: 20px; }.hero-art > img { border-radius: 13px; }.hero-dashboard-card { width: 94%; padding: 15px; }.mini-sites { grid-template-columns: 1fr; }
  .retailer-ribbon { width: min(100% - 30px,1120px); padding: 17px; justify-content: flex-start; overflow-x: auto; }.retailer-ribbon > span { display: none; }.retailer-ribbon strong { flex: 0 0 auto; }
  .marketing-section { width: min(100% - 30px,1220px); padding: 85px 0; }.marketing-section-heading { align-items: flex-start; flex-direction: column; gap: 18px; }.value-grid,.membership-compare,.trust-grid,.faq-grid { grid-template-columns: 1fr; }.value-grid article { min-height: 240px; }.plan-content { padding: 25px 23px 27px; }.plan-content ul { min-height: 0; }.workflow-section { gap: 45px; }.workflow-stack { padding: 13px; }.workflow-row { min-height: 64px; }.workflow-row small { line-height: 1.35; }
  .marketing-cta { width: min(100% - 30px,1220px); margin-bottom: 70px; align-items: flex-start; flex-direction: column; }.marketing-cta > div:last-child,.marketing-cta .button { width: 100%; }
  .marketing-footer,.marketing-footer.compact { width: min(100% - 30px,1360px); padding: 35px 0; grid-template-columns: 1fr; gap: 24px; }.marketing-footer > p { justify-self: start; }.marketing-footer nav { flex-wrap: wrap; }
  .status-shell { width: min(100% - 30px,850px); padding: 65px 0 75px; }.status-title-row { align-items: flex-start; flex-direction: column; }.service-status { align-items: flex-start; }.service-status > .status-pill { display: none; }.status-help { align-items: stretch; flex-direction: column; }.status-help .button { width: 100%; }
  .onboarding-head { align-items: flex-start; }.onboarding-items { grid-template-columns: 1fr; }.onboarding-item { min-height: 0; display: grid; grid-template-columns: 31px 1fr auto; align-items: center; gap: 12px; }.onboarding-item > div { margin: 0; }.onboarding-item > b { margin: 0; padding: 0; }.onboarding-score { width: 64px; height: 64px; flex-basis: 64px; }.marketing-window-tabs { width: 100%; }
}
@media (max-width: 430px) {
  .marketing-header .brand strong { font-size: .88rem; }.marketing-header .brand-mark { width: 36px; height: 36px; }.marketing-login span { display: none; }
  .marketing-kicker { width: 100%; justify-content: center; font-size: .57rem; }.hero-proof { display: grid; }.onboarding-head { flex-direction: column; }.onboarding-score { width: 100%; height: 55px; flex-basis: 55px; flex-direction: row; gap: 7px; }
  .status-meta { align-items: flex-start; flex-direction: column; gap: 5px; }
}

/* Guided setup, attention center, and installable mobile shell -------------- */
.profile-rule { margin: -17px 0 22px; padding: 14px 17px; border: 1px solid var(--line); border-left: 4px solid var(--purple); border-radius: 12px; color: #aab7ca; background: #0b1828; display: flex; gap: 12px; align-items: baseline; font-size: .76rem; line-height: 1.5; }
.profile-rule strong { flex: 0 0 auto; color: #edf4ff; }.profile-rule.pkc{border-left-color:#e7c92e}.profile-rule.target{border-left-color:#e8505b}.profile-rule.sams{border-left-color:#56d9ff}
.wizard-progress { margin: 0 0 17px; padding: 8px; border: 1px solid var(--line); border-radius: 16px; background: #0b1828; display: grid; grid-template-columns: repeat(5,1fr); gap: 7px; }
.wizard-progress button { min-width: 0; min-height: 49px; padding: 7px 10px; border: 0; border-radius: 10px; color: #74849a; background: transparent; cursor: pointer; display: flex; align-items: center; justify-content: center; gap: 9px; font: inherit; }
.wizard-progress button span { width: 25px; height: 25px; flex: 0 0 25px; border: 1px solid rgba(135,161,201,.2); border-radius: 8px; display: grid; place-items: center; font-size: .59rem; font-weight: 900; }
.wizard-progress button b { overflow: hidden; font-size: .66rem; text-overflow: ellipsis; white-space: nowrap; }.wizard-progress button:hover{color:#c8d3e3;background:rgba(40,100,255,.06)}.wizard-progress button.active{color:#fff;background:rgba(40,100,255,.14)}.wizard-progress button.active span{color:#07111f;border-color:var(--cyan);background:var(--cyan)}.wizard-progress button.complete{color:#78dccc}.wizard-progress button.complete span{color:#07111f;border-color:#2cc9b7;background:#2cc9b7}
.js-ready .profile-wizard .wizard-step { display: none; }.js-ready .profile-wizard .wizard-step.active { display: block; animation: wizard-in .18s ease-out; }.wizard-step{scroll-margin-top:20px}.wizard-kicker{display:block;margin-bottom:7px;color:#72dcfa;font-size:.58rem;font-weight:900;letter-spacing:.11em;text-transform:uppercase}
@keyframes wizard-in { from { opacity: 0; transform: translateY(7px); } to { opacity: 1; transform: none; } }
.wizard-actions { margin-top: 25px; padding-top: 18px; border-top: 1px solid var(--line); display: flex; align-items: center; justify-content: space-between; gap: 10px; }.wizard-empty-card{margin-top:18px;padding:15px;border:1px solid rgba(229,173,82,.25);border-radius:12px;background:rgba(229,173,82,.08);display:flex;align-items:center;justify-content:space-between;gap:15px}.wizard-empty-card strong{font-size:.74rem;color:#efc270}
.wizard-review { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 9px; }.wizard-review>div{min-width:0;padding:15px;border:1px solid var(--line);border-radius:12px;background:#081421;display:flex;flex-direction:column;gap:6px}.wizard-review span{color:#718198;font-size:.59rem;font-weight:850;letter-spacing:.08em;text-transform:uppercase}.wizard-review strong{overflow:hidden;color:#e9f1fd;font-size:.77rem;text-overflow:ellipsis;white-space:nowrap}.save-explainer{margin-top:17px;padding:16px;border:1px solid rgba(44,201,183,.23);border-radius:13px;background:rgba(44,201,183,.07);display:flex;align-items:flex-start;gap:12px}.save-explainer>span{width:27px;height:27px;flex:0 0 27px;border-radius:9px;color:#061712;background:#2cc9b7;display:grid;place-items:center;font-weight:900}.save-explainer div{display:flex;flex-direction:column;gap:5px}.save-explainer strong{font-size:.74rem}.save-explainer small{color:#89a9a5;font-size:.66rem;line-height:1.5}.wizard-final{position:static;margin-top:20px}
.attention-panel { margin: 0 0 40px; border-color: rgba(229,173,82,.21); }.attention-list{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}.attention-row{min-width:0;padding:14px;border:1px solid var(--line);border-radius:12px;background:#081421;display:grid;grid-template-columns:auto minmax(0,1fr) auto;align-items:center;gap:11px}.attention-row:hover{border-color:rgba(86,217,255,.3);background:rgba(40,100,255,.05)}.attention-icon{width:31px;height:31px;border-radius:9px;color:#f2a4b5;background:rgba(217,92,122,.11);display:grid;place-items:center;font-size:.69rem;font-weight:900}.attention-icon.export{color:#efc270;background:rgba(229,173,82,.11)}.attention-row>span:nth-child(2){min-width:0;display:flex;flex-direction:column;gap:4px}.attention-row strong{font-size:.71rem}.attention-row small{overflow:hidden;color:#7d8ca2;font-size:.62rem;text-overflow:ellipsis;white-space:nowrap}.attention-row>b{color:#65dfff}.install-action{width:100%;border:0;text-align:left;font:inherit;cursor:pointer;color:inherit;background:transparent;appearance:none}
.mobile-bottom-nav { display: none; }
.install-guide-overlay{position:fixed;z-index:1000;inset:0;padding:20px;background:rgba(2,8,18,.78);backdrop-filter:blur(10px);display:grid;place-items:center}.install-guide-card{position:relative;width:min(430px,100%);padding:30px;border:1px solid rgba(86,217,255,.25);border-radius:21px;color:#edf4ff;background:radial-gradient(circle at 90% 0,rgba(40,100,255,.14),transparent 18rem),#0d1a2a;box-shadow:0 28px 90px rgba(0,0,0,.55)}.install-guide-card h2{margin:7px 0 17px;font-size:1.55rem}.install-guide-card ol{margin:0 0 17px;padding-left:21px;color:#b4c1d3;display:grid;gap:11px;font-size:.77rem;line-height:1.55}.install-guide-card p{margin-bottom:22px;color:#7f91aa;font-size:.68rem;line-height:1.6}.install-guide-card>.button{width:100%}.install-guide-icon{width:42px;height:42px;margin-bottom:18px;border-radius:12px;color:#061421;background:#56d9ff;display:grid;place-items:center;font-size:1.1rem;font-weight:900}.install-guide-close{position:absolute;top:15px;right:15px;width:34px;height:34px;border:1px solid var(--line);border-radius:10px;color:#9aabc0;background:#081421;cursor:pointer;font-size:1.1rem}.install-guide-close:hover{color:#fff;border-color:rgba(86,217,255,.35)}
.admin-action-grid{margin-bottom:28px;display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:10px}.admin-action-card{min-width:0;padding:16px;border:1px solid var(--line);border-radius:14px;background:#0d1a2a;display:grid;grid-template-columns:auto minmax(0,1fr);align-items:center;gap:13px}.admin-action-card>span{width:37px;height:37px;border-radius:11px;color:#91a1b7;background:rgba(135,161,201,.1);display:grid;place-items:center;font-weight:900}.admin-action-card>div{min-width:0;display:flex;flex-direction:column;gap:3px}.admin-action-card strong{font-size:1.15rem}.admin-action-card b{font-size:.68rem}.admin-action-card small{overflow:hidden;color:#7f91aa;font-size:.58rem;line-height:1.45;text-overflow:ellipsis;white-space:nowrap}.admin-action-card.urgent{border-color:rgba(217,92,122,.25)}.admin-action-card.urgent>span{color:#f19caf;background:rgba(217,92,122,.11)}.admin-action-card.attention{border-color:rgba(229,173,82,.23)}.admin-action-card.attention>span{color:#efc270;background:rgba(229,173,82,.1)}.admin-action-card.clear>span{color:#65decd;background:rgba(44,201,183,.09)}.admin-action-card:hover{transform:translateY(-2px);border-color:rgba(86,217,255,.3)}.system-health-panel{margin-bottom:38px}.service-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px}.service-tile{min-width:0;padding:13px;border:1px solid var(--line);border-radius:11px;background:#081421;display:grid;grid-template-columns:auto minmax(0,1fr) auto;align-items:center;gap:10px}.service-tile>span{width:28px;height:28px;border-radius:8px;display:grid;place-items:center;font-size:.65rem;font-weight:900}.service-tile>div{min-width:0;display:flex;flex-direction:column;gap:3px}.service-tile strong{font-size:.67rem}.service-tile small{overflow:hidden;color:#7f91aa;font-size:.57rem;text-overflow:ellipsis;white-space:nowrap}.service-tile>b{font-size:.54rem;text-transform:uppercase}.service-tile.up>span,.service-tile.up>b{color:#65decd}.service-tile.up>span{background:rgba(44,201,183,.1)}.service-tile.down>span,.service-tile.down>b{color:#efc270}.service-tile.down>span{background:rgba(229,173,82,.1)}
.owner-billing-overview{margin:-16px 0 40px;overflow:hidden;border-color:rgba(44,201,183,.22);background:radial-gradient(circle at 92% 0,rgba(44,201,183,.09),transparent 25rem),#0d1a2a}.owner-billing-head{display:flex;align-items:center;justify-content:space-between;gap:28px}.owner-billing-head h2{margin-top:5px}.owner-billing-head p{margin-top:7px;color:#7f91aa;font-size:.68rem}.owner-billing-actions{display:flex;align-items:center;justify-content:flex-end;gap:9px;flex-wrap:wrap}.sync-state{padding:8px 10px;border:1px solid rgba(44,201,183,.2);border-radius:99px;color:#75dbcc;background:rgba(44,201,183,.06);display:inline-flex;align-items:center;gap:7px;font-size:.58rem;font-weight:850;text-transform:uppercase}.sync-state.needs{color:#efc270;border-color:rgba(229,173,82,.22);background:rgba(229,173,82,.07)}.sync-state i{width:6px;height:6px;border-radius:50%;background:currentColor;box-shadow:0 0 9px currentColor}.owner-billing-metrics{margin-top:20px;padding-top:18px;border-top:1px solid var(--line);display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:8px}.owner-billing-metrics>div{min-width:0;padding:14px;border:1px solid rgba(135,161,201,.12);border-radius:12px;background:rgba(7,17,31,.48);display:flex;flex-direction:column;gap:5px}.owner-billing-metrics span{color:#8393a9;font-size:.58rem;font-weight:850;text-transform:uppercase;letter-spacing:.06em}.owner-billing-metrics strong{overflow:hidden;color:#f1f6ff;font-size:1.12rem;text-overflow:ellipsis}.owner-billing-metrics small{color:#708198;font-size:.57rem}.owner-customer-form{max-width:850px}.owner-slot-fields{margin-top:26px;padding-top:24px;border-top:1px solid var(--line)}.owner-slot-fields>div:first-child{margin-bottom:17px}.owner-slot-fields h2{margin-top:5px}.owner-slot-fields p{margin-top:6px;color:#7f91aa;font-size:.68rem}.slot-input-grid{grid-template-columns:repeat(3,minmax(0,1fr))}

@media (max-width: 820px) {
  .app-body { padding-bottom: calc(74px + env(safe-area-inset-bottom)); }
  .mobile-bottom-nav { position: fixed; z-index: 45; inset: auto 0 0; min-height: 66px; padding: 7px 8px calc(7px + env(safe-area-inset-bottom)); border-top: 1px solid rgba(135,161,201,.17); background: rgba(7,17,31,.95); backdrop-filter: blur(18px); display: grid; grid-template-columns: repeat(5,1fr); box-shadow: 0 -16px 36px rgba(0,0,0,.3); }
  .mobile-bottom-nav a { min-width:0;padding:5px 2px;border-radius:9px;color:#718198;display:flex;align-items:center;justify-content:center;flex-direction:column;gap:3px;text-decoration:none }.mobile-bottom-nav span{font-size:.9rem}.mobile-bottom-nav b{font-size:.53rem;letter-spacing:.03em}.mobile-bottom-nav a.active{color:#7ee3ff;background:rgba(40,100,255,.1)}
  .wizard-progress { position: sticky; top: 67px; z-index: 7; }.wizard-progress button{padding:7px 4px}.wizard-progress button b{display:none}.wizard-progress button span{width:28px;height:28px;flex-basis:28px}.attention-list{grid-template-columns:1fr}
  .admin-action-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.service-grid{grid-template-columns:1fr}.owner-billing-head{align-items:flex-start;flex-direction:column}.owner-billing-actions{width:100%;justify-content:flex-start}.owner-billing-metrics{grid-template-columns:repeat(2,minmax(0,1fr))}
}
@media (max-width: 560px) {
  .profile-rule{align-items:flex-start;flex-direction:column;gap:4px}.wizard-progress{gap:3px;padding:6px}.wizard-review{grid-template-columns:1fr}.wizard-actions,.wizard-empty-card{align-items:stretch;flex-direction:column-reverse}.wizard-actions .button,.wizard-empty-card .button{width:100%}.wizard-final{display:grid;grid-template-columns:1fr 1fr}.wizard-final .button{width:100%}.wizard-final .button.primary{grid-column:1/-1;grid-row:1}.form-section.wizard-step{padding-top:27px}
  .admin-action-grid{grid-template-columns:1fr}.admin-action-card small,.service-tile small{white-space:normal}.owner-billing-metrics,.slot-input-grid{grid-template-columns:1fr}.owner-billing-actions form,.owner-billing-actions .button{width:100%}.owner-billing-actions form .button{width:100%}.sync-state{width:100%;justify-content:center}.owner-heading-actions{width:100%;display:grid;grid-template-columns:1fr}.owner-heading-actions .button{width:100%}.install-guide-card{padding:25px 21px}
}
@media (display-mode: standalone) { .mobile-header { padding-top: env(safe-area-inset-top); } }
