


:root {
  --ink: #111419;
  --ink-soft: #596171;
  --canvas: #f6f6f3;
  --canvas-2: #edede8;
  --line: rgba(17, 20, 25, 0.12);
  --navy: #101a2a;
  --navy-2: #17243a;
  --navy-line: rgba(154, 178, 214, 0.17);
  --muted: #8d9ab0;
  --accent: #b9e4ca;
  --accent-ink: #0e3b26;
  --danger: #df5c5c;
}

* { box-sizing: border-box; }
html { background: var(--canvas); }
body { margin: 0; min-width: 320px; color: var(--ink); background: var(--canvas); font-family: Arial, Helvetica, sans-serif; }
button, input, textarea, select { font: inherit; }
button { cursor: pointer; }
a { color: inherit; text-decoration: none; }

.button { display: inline-flex; align-items: center; justify-content: center; gap: 9px; border: 0; border-radius: 999px; min-height: 48px; padding: 0 22px; font-weight: 700; transition: transform 160ms cubic-bezier(.23,1,.32,1), box-shadow 160ms ease, background 160ms ease; }
.button:hover { transform: translateY(-1px); }
.button:active { transform: scale(.97); }
.button--dark { color: #fff; background: var(--ink); box-shadow: 0 10px 24px rgba(17,20,25,.18); }
.button--light { color: var(--ink); background: #fff; border: 1px solid var(--line); }
.button--ghost { color: #fff; background: transparent; border: 1px solid rgba(255,255,255,.28); }
.eyebrow { margin: 0; color: #627086; font-size: .72rem; line-height: 1; letter-spacing: .14em; font-weight: 700; }
.icon-button { border: 0; background: transparent; display: inline-grid; place-items: center; padding: 0; }

/* Storefront */
.site-shell { min-height: 100vh; overflow: hidden; background: var(--canvas); }
.site-nav { width: min(1180px, calc(100% - 40px)); margin: 0 auto; height: 82px; display: flex; align-items: center; justify-content: space-between; }
.wordmark { display: inline-flex; align-items: center; font-weight: 700; letter-spacing: -.045em; font-size: 1.05rem; }
.wordmark__mark { display: block; width: 42px; height: 42px; border-radius: 50%; object-fit: contain; object-position: center; background: #000; box-shadow: 0 4px 10px rgba(17,20,25,.12); }
.nav-links { display: flex; align-items: center; gap: 23px; color: #525a67; font-size: .92rem; font-weight: 600; }
.nav-links a:hover { color: var(--ink); }
.nav-links .button { min-height: 39px; padding-inline: 15px; color: #fff; font-size: .84rem; }
.hero { width: min(1180px, calc(100% - 40px)); margin: 22px auto 0; min-height: 630px; padding: clamp(40px, 7vw, 88px) clamp(28px, 7vw, 90px); border-radius: 32px; position: relative; overflow: hidden; background: var(--navy); color: #fff; display: grid; grid-template-columns: 1.08fr .92fr; align-items: center; gap: 34px; }
.hero:before { content: ""; position: absolute; width: 570px; height: 570px; right: -115px; top: -155px; border-radius: 50%; background: radial-gradient(circle at center, rgba(129,173,211,.28), rgba(129,173,211,0) 68%); pointer-events: none; }
.hero__copy { position: relative; z-index: 1; }
.hero .eyebrow { color: #a7b8d4; }
.hero h1 { max-width: 670px; margin: 20px 0; font-family: "Fraunces", Georgia, serif; font-weight: 500; font-size: clamp(3.1rem, 6.4vw, 5.7rem); line-height: .98; letter-spacing: -.065em; }
.hero h1 em { color: #b9e4ca; font-style: italic; }
.hero__copy > p:not(.eyebrow) { max-width: 510px; margin: 0; color: #c0cbdc; font-size: 1.05rem; line-height: 1.65; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 34px; }
.hero__actions .button--dark { background: var(--accent); color: var(--accent-ink); box-shadow: none; }
.hero__note { margin-top: 25px; display: flex; align-items: center; gap: 8px; font-size: .82rem; color: #a7b8d4; }
.hero__card-visual { justify-self: end; position: relative; z-index: 1; width: min(100%, 420px); perspective: 1200px; }
.hero__card-image { display: block; width: 100%; aspect-ratio: 16 / 9; object-fit: contain; background: transparent; filter: drop-shadow(0 28px 24px rgba(0,0,0,.38)); transform: rotateY(-12deg) rotateX(5deg) rotateZ(-3deg); }
.smart-card { min-height: 252px; padding: 29px; border-radius: 22px; position: relative; overflow: hidden; color: #f8fafb; background: linear-gradient(145deg, #283d59, #101a2a 60%); box-shadow: 0 28px 55px rgba(0,0,0,.33); transform: rotateY(-12deg) rotateX(5deg) rotateZ(-3deg); }
.smart-card:after { content: ""; position: absolute; inset: 0; background: linear-gradient(112deg, transparent 34%, rgba(255,255,255,.11) 48%, transparent 59%); transform: translateX(-30%); }
.smart-card__top { display: flex; align-items: center; justify-content: space-between; font-size: .77rem; letter-spacing: .11em; font-weight: 700; }
.smart-card__chip { margin-top: 54px; width: 45px; height: 35px; border-radius: 7px; background: linear-gradient(135deg, #d9d4ad, #a69b6c); }
.smart-card__name { position: absolute; left: 29px; bottom: 29px; font-size: 1.08rem; font-weight: 600; }
.smart-card__nfc { position: absolute; right: 27px; bottom: 29px; opacity: .85; }
.floating-card-note { margin: 27px 0 0 auto; max-width: 300px; padding: 16px 19px; border: 1px solid rgba(185,228,202,.25); border-radius: 16px; color: #cbdbd2; background: rgba(9,15,25,.32); backdrop-filter: blur(12px); font-size: .87rem; line-height: 1.5; }
.floating-card-note strong { color: #fff; }
.proof-strip { width: min(1050px, calc(100% - 40px)); margin: 0 auto; transform: translateY(-32px); display: grid; grid-template-columns: repeat(3,1fr); border: 1px solid var(--line); border-radius: 19px; background: rgba(255,255,255,.82); box-shadow: 0 16px 40px rgba(17,20,25,.07); backdrop-filter: blur(10px); overflow: hidden; }
.proof-item { padding: 22px 27px; display: flex; gap: 13px; align-items: center; border-right: 1px solid var(--line); color: #4d5665; font-size: .86rem; line-height: 1.35; }
.proof-item:last-child { border-right: 0; }
.proof-item svg { color: #5e9c77; flex: none; }
.home-section { width: min(1120px, calc(100% - 40px)); margin: 90px auto; }
.section-heading { max-width: 670px; }
.section-heading h2 { margin: 13px 0 0; font-family: "Fraunces", Georgia, serif; font-size: clamp(2.25rem, 4.4vw, 3.7rem); line-height: 1.02; letter-spacing: -.06em; font-weight: 500; }
.offer-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; margin-top: 36px; }
.offer-card { min-height: 390px; padding: 33px; border: 1px solid var(--line); border-radius: 23px; background: #fff; display: flex; flex-direction: column; transition: transform 180ms ease, box-shadow 180ms ease; }
.offer-card:hover { transform: translateY(-4px); box-shadow: 0 20px 40px rgba(17,20,25,.09); }
.offer-card--featured { background: var(--navy); border-color: var(--navy); color: #fff; }
.offer-card__tag { display: inline-flex; align-self: flex-start; padding: 6px 10px; border-radius: 999px; color: #2f7251; background: #e0f3e6; font-size: .7rem; line-height: 1; font-weight: 700; letter-spacing: .06em; }
.offer-card h3 { margin: 23px 0 4px; font-size: 1.45rem; letter-spacing: -.04em; }
.offer-card p { margin: 0; color: #657080; line-height: 1.55; }
.offer-card--featured p { color: #aebbd0; }
.offer-price { margin: 26px 0; font-family: "Fraunces", Georgia, serif; font-size: 4rem; line-height: .9; letter-spacing: -.07em; }
.offer-price small { font-family: Arial, Helvetica, sans-serif; font-size: .86rem; letter-spacing: 0; color: #748093; }
.offer-features { list-style: none; margin: 0 0 30px; padding: 0; display: grid; gap: 10px; color: #414a58; font-size: .88rem; }
.offer-card--featured .offer-features { color: #d5dfeb; }
.offer-features li { display: flex; align-items: center; gap: 8px; }
.offer-features svg { color: #5e9c77; }
.offer-card .button { margin-top: auto; }
.offer-card--featured .button { color: var(--accent-ink); background: var(--accent); }
.how-grid { margin-top: 35px; display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.how-card { min-height: 210px; padding: 28px; border-radius: 22px; background: var(--canvas-2); }
.how-card__number { display: grid; place-items: center; width: 34px; height: 34px; margin-bottom: 30px; border-radius: 50%; background: var(--ink); color: #fff; font-family: "DM Mono", monospace; font-size: .72rem; }
.how-card h3 { margin: 0 0 8px; font-size: 1rem; letter-spacing: -.025em; }
.how-card p { margin: 0; color: var(--ink-soft); font-size: .9rem; line-height: 1.55; }
.bulk-cta { margin: 0 auto 70px; width: min(1120px, calc(100% - 40px)); padding: clamp(28px, 5vw, 54px); border-radius: 26px; background: #e1e6dd; display: flex; align-items: center; justify-content: space-between; gap: 25px; }
.bulk-cta h2 { max-width: 630px; margin: 10px 0 0; font-family: "Fraunces", Georgia, serif; font-size: clamp(1.9rem, 3.7vw, 3.2rem); line-height: 1.02; letter-spacing: -.055em; font-weight: 500; }
.site-footer { padding: 30px 20px; display: flex; justify-content: space-between; gap: 20px; color: #687385; border-top: 1px solid var(--line); font-size: .8rem; }

/* Public profile */
.public-profile-page { min-height: 100vh; position: relative; background: #f7f7f5; }
.public-profile-page__topbar { position: fixed; top: 21px; left: 21px; z-index: 5; }
.public-profile-page__back { display: inline-flex; align-items: center; gap: 6px; padding: 10px 13px; color: #272e37; background: rgba(255,255,255,.83); border: 1px solid rgba(17,20,25,.09); border-radius: 999px; box-shadow: 0 8px 18px rgba(17,20,25,.05); backdrop-filter: blur(10px); font-size: .77rem; font-weight: 700; }
.public-profile-loading { min-height: 100vh; display: grid; place-items: center; color: #667080; font-size: .9rem; }
.public-profile-unavailable { min-height: 100vh; max-width: 460px; margin: 0 auto; padding: 40px 28px; display: grid; align-content: center; text-align: center; }
.public-profile-unavailable h1 { margin: 14px 0 10px; font-family: "Fraunces", Georgia, serif; font-size: clamp(2.5rem, 12vw, 4rem); line-height: .96; letter-spacing: -.065em; font-weight: 500; }
.public-profile-unavailable > p:not(.eyebrow) { margin: 0; color: #687385; line-height: 1.55; }
.public-profile-unavailable .button { justify-self: center; margin-top: 25px; }
.portal-preview { min-height: 100vh; width: 100%; padding: clamp(158px, 22vh, 210px) 26px 36px; display: flex; flex-direction: column; align-items: center; }
.portal-preview--compact { min-height: 0; width: 100%; padding: 30px 17px 19px; border-radius: 23px; transform-origin: top center; }
.portal-preview__identity { text-align: center; }
.portal-preview__avatar { width: 142px; height: 142px; margin: 0 auto 20px; display: grid; place-items: center; border: 0; border-radius: 50%; overflow: hidden; background: #fff; box-shadow: 0 18px 34px rgba(26,35,43,.17), 0 0 28px 10px rgba(157,169,184,.16), 0 0 62px 18px rgba(255,255,255,.22); color: #445060; font-size: 2rem; font-weight: 700; letter-spacing: -.08em; }
.portal-preview--compact .portal-preview__avatar { width: 78px; height: 78px; margin-bottom: 11px; border-width: 4px; font-size: 1.2rem; }
.portal-preview__avatar img { width: 100%; height: 100%; object-fit: cover; }
.portal-preview__identity h1 { margin: 0; font-size: clamp(2.25rem, 7vw, 3.4rem); letter-spacing: -.07em; line-height: 1; }
.portal-preview--compact .portal-preview__identity h1 { font-size: 1.5rem; }
.portal-preview__identity p { margin: 11px 0 0; opacity: .62; font-size: .95rem; }
.portal-preview--compact .portal-preview__identity p { margin-top: 6px; font-size: .75rem; }
.portal-preview__links, .portal-preview__actions { width: min(100%, 70vw, 400px); display: grid; gap: 12px; }
.portal-preview__links { margin-top: 52px; }
.portal-preview--compact .portal-preview__links { margin-top: 27px; gap: 8px; }
.portal-preview__actions { margin-top: 18px; }
.portal-preview--compact .portal-preview__actions { margin-top: 11px; gap: 8px; }
.portal-preview__button { min-height: 57px; padding: 0 22px; display: flex; align-items: center; justify-content: center; gap: 12px; border: 0; border-radius: 999px; box-shadow: 0 10px 21px rgba(26,35,43,.10); font-size: .98rem; font-weight: 700; transition: transform 160ms cubic-bezier(.23,1,.32,1), box-shadow 160ms ease; }
.portal-preview__button:hover { transform: translateY(-1px); box-shadow: 0 14px 26px rgba(26,35,43,.15); }
.portal-preview__button:active { transform: scale(.98); }
.portal-preview--compact .portal-preview__button { min-height: 38px; padding: 0 12px; gap: 8px; box-shadow: 0 7px 14px rgba(26,35,43,.09); font-size: .7rem; }
.portal-preview--compact .portal-preview__button svg { width: 13px; height: 13px; }
.portal-link-dot { width: 15px; height: 15px; border: 1.8px solid currentColor; border-radius: 50%; position: relative; }
.portal-link-dot:after { content: ""; position: absolute; width: 3px; height: 3px; right: -3px; top: -2px; border-radius: 50%; background: currentColor; }
.portal-preview--compact .portal-link-dot { width: 11px; height: 11px; border-width: 1.4px; }
.portal-preview__footer { margin: 42px 0 0; font-size: .71rem; letter-spacing: .08em; text-transform: uppercase; transition: opacity 160ms ease; }
.portal-preview__footer:hover { opacity: .72; }
.portal-preview--compact .portal-preview__footer { margin-top: 22px; font-size: .56rem; }

/* Exchange modal */
.exchange-overlay { position: fixed; inset: 0; z-index: 30; display: grid; align-items: end; background: rgba(10,14,22,.38); backdrop-filter: blur(6px); }
.exchange-sheet { width: min(100%, 590px); margin: 0 auto; padding: 34px 27px calc(27px + env(safe-area-inset-bottom)); position: relative; border-radius: 28px 28px 0 0; background: #fff; box-shadow: 0 -20px 50px rgba(0,0,0,.18); animation: sheet-enter 250ms cubic-bezier(.23,1,.32,1); }
@keyframes sheet-enter { from { opacity: 0; transform: translateY(25px); } to { opacity: 1; transform: translateY(0); } }
.exchange-close { position: absolute; right: 18px; top: 17px; width: 36px; height: 36px; border-radius: 50%; color: #323944; background: #f0f1ee; }
.exchange-sheet h2 { margin: 12px 0 9px; font-family: "Fraunces", Georgia, serif; font-weight: 500; letter-spacing: -.055em; font-size: 2rem; }
.exchange-copy { margin: 0 0 25px; color: #657080; line-height: 1.55; font-size: .91rem; }
.form-stack { display: grid; gap: 15px; }
.form-stack label, .field-label { display: grid; gap: 8px; color: #344050; font-size: .82rem; font-weight: 700; }
.form-stack label span { color: var(--danger); }
.form-stack label em { margin-left: 4px; color: #8b95a4; font-style: normal; font-weight: 500; }
.form-stack input, .editor-input, .editor-select { width: 100%; min-height: 49px; padding: 0 14px; outline: none; border: 1px solid #d6d9df; border-radius: 12px; color: #202731; background: #fff; transition: border-color 150ms ease, box-shadow 150ms ease; }
.form-stack input:focus, .editor-input:focus, .editor-select:focus { border-color: #64748b; box-shadow: 0 0 0 3px rgba(100,116,139,.13); }
.exchange-success { min-height: 280px; padding: 25px 7px; display: grid; justify-items: center; align-content: center; text-align: center; }
.exchange-success svg { color: #3d9963; }
.exchange-success h2 { margin: 15px 0 5px; }
.exchange-success p { margin: 0 0 23px; color: #687385; }

/* Portal dashboard */
.portal-shell { min-height: 100vh; color: #f3f6fb; background: #101a2a; }
.portal-state { min-height: 100vh; display: grid; place-items: center; padding: 25px; color: #edf4fc; background: #101a2a; text-align: center; }
.portal-state > div { max-width: 470px; }
.portal-state h1 { margin: 14px 0 9px; font-family: "Fraunces", Georgia, serif; font-size: clamp(2.3rem, 7vw, 3.6rem); line-height: .98; letter-spacing: -.065em; font-weight: 500; }
.portal-state p:not(.eyebrow) { margin: 0; color: #9baac0; line-height: 1.55; }
.portal-state .button { margin-top: 24px; color: #10261a; background: #b9e4ca; box-shadow: none; }
.portal-header { max-width: 1180px; margin: 0 auto; padding: 31px 26px 23px; display: flex; justify-content: space-between; align-items: center; border-bottom: 1px solid var(--navy-line); }
.portal-header__title { display: flex; align-items: center; gap: 12px; }
.portal-header__mark { display: block; width: 48px; height: 48px; border: 1px solid rgba(255,255,255,.18); border-radius: 50%; object-fit: contain; object-position: center; background: #000; box-shadow: 0 5px 14px rgba(0,0,0,.24); }
.portal-header h1 { margin: 0; letter-spacing: -.055em; font-size: 1.45rem; }
.portal-header p { margin: 0; color: #94a3bb; font-size: .8rem; }
.portal-header__actions { display: flex; align-items: center; gap: 10px; }
.portal-header__link { display: inline-flex; align-items: center; gap: 7px; padding: 8px 11px; color: #aebbd0; border-radius: 9px; font-size: .8rem; font-weight: 700; }
.portal-header__link:hover { color: #fff; background: rgba(255,255,255,.06); }
.portal-container { width: min(1180px, calc(100% - 40px)); margin: 0 auto; padding: 38px 0 70px; }
.portal-nav { display: grid; grid-template-columns: repeat(6, 1fr); gap: 4px; padding: 6px; border: 1px solid var(--navy-line); border-radius: 17px; background: #131f32; }
.portal-nav button { min-height: 58px; display: flex; align-items: center; justify-content: center; color: #97a6be; border: 0; border-radius: 11px; background: transparent; font-size: .87rem; font-weight: 700; transition: background 150ms ease, color 150ms ease; }
.portal-nav button:hover { color: #fff; background: rgba(255,255,255,.05); }
.portal-nav button.active { color: #111419; background: #fff; }
.portal-nav__label { position: relative; display: inline-flex; align-items: center; justify-content: center; gap: 9px; }
.portal-nav__badge { position: absolute; top: -10px; right: -15px; z-index: 1; min-width: 18px; height: 18px; padding: 0 5px; display: inline-flex; align-items: center; justify-content: center; border: 2px solid #17253a; border-radius: 999px; background: #e5484d; color: #fff; box-shadow: 0 2px 6px rgba(57, 10, 18, .35); font-size: .62rem; font-weight: 800; line-height: 1; }
.portal-page { margin-top: 24px; }
.portal-grid { display: grid; grid-template-columns: minmax(0, .97fr) minmax(310px, .68fr); gap: 24px; align-items: start; }
.portal-panel { padding: 30px; border: 1px solid var(--navy-line); border-radius: 22px; background: #152235; }
.portal-panel h2 { margin: 0; letter-spacing: -.045em; font-size: 1.3rem; }
.portal-panel > p { margin: 7px 0 0; color: #91a0b7; font-size: .88rem; line-height: 1.5; }
.portal-form { margin-top: 28px; display: grid; gap: 19px; }
.portal-form label { color: #dbe4f1; }
.portal-form .editor-input, .portal-form .editor-select { color: #edf3fc; border-color: #33445f; background: #202f46; }
.portal-form .editor-input::placeholder { color: #7f8fa7; }
.portal-form__two { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.vcard-editor { padding: 18px; border: 1px solid #354660; border-radius: 14px; background: rgba(31,45,67,.55); }
.vcard-editor h3 { margin: 0; color: #f4f7fb; font-size: .9rem; }
.vcard-editor p { margin: 6px 0 15px; color: #91a0b7; font-size: .75rem; line-height: 1.45; }
.vcard-editor > .field-label { margin-top: 13px; }
.photo-picker { display: flex; align-items: center; gap: 14px; }
.photo-picker__avatar { width: 68px; height: 68px; display: grid; place-items: center; overflow: hidden; border: 3px solid #3d4e68; border-radius: 50%; color: #aebbd0; background: #24344d; font-weight: 700; }
.photo-picker__avatar img { width: 100%; height: 100%; object-fit: cover; }
.photo-picker input { display: none; }
.photo-picker label { display: inline-flex; align-items: center; gap: 8px; min-height: 39px; padding: 0 13px; border: 1px solid #3d4e68; border-radius: 10px; color: #fff; background: #283a55; font-size: .78rem; font-weight: 700; cursor: pointer; }
.photo-picker small { display: block; margin-top: 6px; color: #8190a7; font-size: .7rem; }
.photo-cropper-backdrop { position: fixed; inset: 0; z-index: 70; display: grid; place-items: center; padding: 20px; background: rgba(5,11,20,.78); backdrop-filter: blur(8px); }
.photo-cropper-dialog { width: min(100%, 560px); padding: 25px; border: 1px solid #40516b; border-radius: 22px; color: #eef4fc; background: #17263a; box-shadow: 0 32px 80px rgba(0,0,0,.4); }
.photo-cropper-dialog__header { display: flex; align-items: flex-start; justify-content: space-between; gap: 12px; }
.photo-cropper-dialog h2 { margin: 8px 0 0; color: #fff; font-family: "Fraunces", Georgia, serif; font-size: 2rem; line-height: 1; letter-spacing: -.06em; font-weight: 500; }
.photo-cropper-dialog > p { margin: 11px 0 18px; color: #aebbd0; font-size: .82rem; line-height: 1.5; }
.photo-cropper-dialog__close { width: 34px; height: 34px; border: 0; border-radius: 50%; color: #c3d0df; background: #263954; font-size: 1.65rem; line-height: 1; }
.photo-cropper-canvas { position: relative; height: min(64vw, 360px); min-height: 280px; overflow: hidden; border-radius: 15px; background: #0b1524; }
.photo-cropper-zoom { margin-top: 17px; display: grid; grid-template-columns: 46px 1fr; align-items: center; gap: 12px; color: #d8e3ef; font-size: .79rem; font-weight: 700; }
.photo-cropper-zoom input { width: 100%; accent-color: #b9e4ca; }
.photo-cropper-actions { margin-top: 20px; display: flex; justify-content: flex-end; gap: 10px; }
.photo-cropper-actions .secondary-button { margin-top: 0; }
.portal-panel__footer { margin-top: 28px; display: flex; align-items: center; justify-content: flex-end; gap: 11px; }
.portal-panel .button { min-height: 42px; font-size: .8rem; }
.portal-panel .button--dark { color: #10261a; background: #b9e4ca; box-shadow: none; }
.portal-url-card { margin-bottom: 23px; padding: 26px 30px; border: 1px solid var(--navy-line); border-radius: 22px; background: linear-gradient(115deg, #18263b, #152235); }
.portal-url-card h2 { margin: 0; font-size: 1.23rem; letter-spacing: -.045em; }
.portal-url-card p { margin: 7px 0 16px; color: #91a0b7; font-size: .87rem; }
.url-field { display: flex; align-items: stretch; overflow: hidden; border: 1px solid #3a4d6b; border-radius: 13px; background: #1f2d43; }
.url-field code { flex: 1; min-width: 0; padding: 14px 16px; color: #ecf2fb; font: .79rem/1.45 "DM Mono", monospace; overflow-wrap: anywhere; }
.url-field button { min-width: 94px; border: 0; color: #111419; background: #fff; font-size: .82rem; font-weight: 700; }
.url-field button:active { transform: scale(.98); }
.url-card-note { margin-top: 12px; display: flex; gap: 8px; color: #8290a7; font-size: .75rem; line-height: 1.45; }
.preview-device { padding: 10px; position: sticky; top: 20px; border: 1px solid #33445f; border-radius: 31px; background: #0d1522; box-shadow: 0 23px 48px rgba(0,0,0,.22); }
.preview-device__bar { display: flex; align-items: center; justify-content: space-between; padding: 3px 8px 10px; color: #8290a7; font-size: .66rem; font-weight: 700; }
.preview-device__dot { display: block; width: 39px; height: 11px; border-radius: 999px; background: #1c293c; }
.links-stack { margin-top: 23px; display: grid; gap: 11px; }
.link-editor-row { display: grid; gap: 10px; padding: 12px; border: 1px solid #354660; border-radius: 13px; background: #1d2c42; }
.link-editor-row--dragging { opacity: .48; border-color: #b9e4ca; }
.link-editor-row .editor-input { min-height: 39px; padding-inline: 10px; font-size: .78rem; }
.link-editor-row__hint { display: block; margin: 5px 2px -1px; color: #95a5bb; font-size: .69rem; line-height: 1.25; }
.link-editor-row__actionbar { min-width: 0; display: flex; align-items: center; gap: 6px; }
.link-editor-row__drag { color: #8090a6; cursor: grab; flex: none; }
.link-editor-row__type-icon { display: grid; place-items: center; color: #b9e4ca; }
.link-editor-row__action-spacer { flex: 1; }
.link-editor-row__fields { min-width: 0; }
.link-editor-row__remove { width: 32px; height: 32px; display: grid; place-items: center; border: 0; border-radius: 8px; color: #aab7c8; background: transparent; }
.link-editor-row__remove:hover { color: #fff; background: rgba(225,80,80,.25); }
.secondary-button { display: inline-flex; align-items: center; justify-content: center; gap: 7px; min-height: 40px; margin-top: 16px; padding: 0 13px; border: 1px dashed #47607f; border-radius: 10px; color: #c6d4e7; background: transparent; font-size: .78rem; font-weight: 700; }
.appearance-options { margin-top: 22px; display: grid; gap: 10px; }
.template-choice { display: grid; grid-template-columns: 43px 1fr auto; align-items: center; gap: 12px; padding: 12px; border: 1px solid #34465f; border-radius: 13px; background: #1d2c42; text-align: left; color: #f2f6fa; }
.template-choice.active { border-color: #b9e4ca; box-shadow: 0 0 0 1px #b9e4ca inset; }
.template-choice__sample { width: 37px; height: 37px; border-radius: 10px; border: 1px solid rgba(255,255,255,.15); }
.template-choice strong { display: block; font-size: .8rem; }
.template-choice span { display: block; margin-top: 3px; color: #8b9ab0; font-size: .7rem; }
.template-choice svg { color: #b9e4ca; }
.color-controls { margin-top: 24px; display: grid; gap: 13px; }
.color-control { display: grid; grid-template-columns: 1fr 56px 95px; align-items: center; gap: 8px; color: #d6e0ed; font-size: .78rem; font-weight: 700; }
.color-control input[type="color"] { height: 36px; width: 56px; padding: 4px; border: 1px solid #40536f; border-radius: 9px; background: #1d2c42; }
.color-control input[type="text"] { width: 95px; min-height: 36px; padding: 0 8px; border: 1px solid #40536f; border-radius: 9px; color: #d9e4f1; background: #1d2c42; font: .7rem "DM Mono", monospace; text-transform: uppercase; }
.metrics-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 14px; }
.metric-card { padding: 22px; border: 1px solid var(--navy-line); border-radius: 18px; background: #152235; }
.metric-card span { color: #91a0b7; font-size: .78rem; }
.metric-card strong { display: block; margin-top: 12px; color: #fff; font-size: 2.3rem; letter-spacing: -.08em; }
.metric-card small { display: inline-flex; align-items: center; gap: 4px; margin-top: 8px; color: #70d397; font-size: .73rem; }
.portal-empty { margin-top: 18px; padding: 34px; border: 1px dashed #40536f; border-radius: 16px; color: #97a6be; text-align: center; font-size: .86rem; }
.leads-list { margin-top: 18px; display: grid; gap: 9px; }
.lead-row { display: grid; grid-template-columns: 1.1fr 1fr 1fr auto; align-items: center; gap: 12px; padding: 15px; border: 1px solid #354660; border-radius: 12px; color: #bfcbdc; background: #1d2c42; font-size: .8rem; }
.lead-row strong { color: #fff; font-size: .87rem; }
.lead-row small { color: #8392a8; }
.settings-section { margin-top: 18px; padding-top: 22px; border-top: 1px solid var(--navy-line); }
.settings-section h3 { margin: 0 0 7px; font-size: .94rem; }
.settings-section p { margin: 0; color: #8c9cb2; font-size: .78rem; line-height: 1.5; }
.settings-password-form { margin-top: 16px; display: grid; gap: 11px; max-width: 420px; }
.settings-password-form .button { justify-self: start; margin-top: 4px; }
.portal-install-prompt { margin: -2px 0 23px; padding: 17px 19px; display: flex; align-items: center; justify-content: space-between; gap: 18px; border: 1px solid rgba(185,228,202,.34); border-radius: 17px; background: linear-gradient(105deg, rgba(185,228,202,.12), rgba(31,47,67,.86)); }
.portal-install-prompt .eyebrow { margin: 0 0 6px; color: #a9dfbd; font-size: .61rem; }
.portal-install-prompt strong { display: block; color: #f3f8fb; font-size: .91rem; }
.portal-install-prompt span { display: block; margin-top: 4px; color: #a4b4c7; font-size: .76rem; line-height: 1.45; }
.portal-install-prompt .secondary-button { flex: 0 0 auto; margin: 0; border-style: solid; border-color: #82bd99; color: #d9f0e0; white-space: nowrap; }
.portal-install-guide { margin-bottom: 20px; padding: 26px; border: 1px solid rgba(185,228,202,.32); border-radius: 22px; background: linear-gradient(125deg, #1c3049, #15253a 56%, #182b40); }
.portal-install-guide__intro { max-width: 620px; }
.portal-install-guide__intro .eyebrow { margin: 0 0 8px; color: #a9dfbd; }
.portal-install-guide h2 { margin: 0; color: #f5f8fb; font-size: 1.35rem; letter-spacing: -.045em; }
.portal-install-guide__intro > p:last-child { margin: 9px 0 0; color: #a9b7ca; font-size: .83rem; line-height: 1.55; }
.portal-install-guide__platforms { margin-top: 22px; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 13px; }
.portal-install-guide__platforms article { padding: 17px; border: 1px solid rgba(149,172,201,.3); border-radius: 16px; background: rgba(8,17,29,.34); }
.portal-install-guide__device { display: inline-flex; align-items: center; min-height: 22px; padding: 0 8px; border-radius: 999px; color: #c6f0d4; background: rgba(185,228,202,.13); font-size: .64rem; font-weight: 800; letter-spacing: .05em; text-transform: uppercase; }
.portal-install-guide h3 { margin: 12px 0 9px; color: #f3f7fb; font-size: .9rem; }
.portal-install-guide ol { margin: 0; padding-left: 19px; color: #abbacc; font-size: .76rem; line-height: 1.7; }
.portal-install-guide li::marker { color: #9bd8b3; font-weight: 800; }
.portal-install-guide strong { color: #eff6fb; }

/* Owner admin */
.admin-shell { min-height: 100vh; color: #eef4fc; background: #101a2a; }
.admin-container { width: min(1180px, calc(100% - 40px)); margin: 0 auto; padding: 32px 0 72px; }
.admin-top { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; grid-template-areas: "brand copy exit"; align-items: center; column-gap: 17px; padding-bottom: 27px; border-bottom: 1px solid var(--navy-line); }
.admin-brand { grid-area: brand; }
.admin-header__copy { grid-area: copy; min-width: 0; }
.admin-top h1 { margin: 0; font-size: 1.6rem; letter-spacing: -.06em; }
.admin-top p { margin: 6px 0 0; color: #94a3bb; font-size: .83rem; }
.admin-exit { grid-area: exit; min-height: 36px; display: inline-flex; align-items: center; justify-content: center; padding: 0 11px; border: 1px solid #40516b; border-radius: 10px; color: #d5e0ed; background: transparent; font-size: .75rem; font-weight: 800; white-space: nowrap; transition: color 160ms ease, border-color 160ms ease, background 160ms ease; }
.admin-exit:hover { border-color: #7286a1; color: #fff; background: rgba(255,255,255,.06); }
.admin-metrics { margin-top: 28px; display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.admin-gate { max-width: 620px; margin: 70px auto 0; padding: 54px 35px; display: grid; justify-items: center; border: 1px solid var(--navy-line); border-radius: 22px; background: #152235; text-align: center; }
.admin-gate__icon { width: 58px; height: 58px; margin-bottom: 22px; display: grid; place-items: center; border: 1px solid rgba(185,228,202,.35); border-radius: 50%; color: #b9e4ca; background: rgba(185,228,202,.08); }
.admin-gate h2 { margin: 12px 0 9px; color: #f5f8fc; font-family: "Fraunces", Georgia, serif; font-size: 2.2rem; letter-spacing: -.055em; font-weight: 500; }
.admin-gate > p:not(.eyebrow) { max-width: 390px; margin: 0; color: #9aaac0; font-size: .88rem; line-height: 1.55; }
.admin-gate .button { margin-top: 25px; }
.admin-modal-backdrop { position: fixed; inset: 0; z-index: 50; padding: 22px; display: grid; place-items: center; background: rgba(4,10,20,.72); backdrop-filter: blur(7px); }
.admin-modal { position: relative; width: min(100%, 510px); padding: 31px; border: 1px solid #3a4b65; border-radius: 21px; color: #edf3fa; background: #18273b; box-shadow: 0 24px 80px rgba(0,0,0,.35); }
.admin-modal h2 { margin: 11px 0 9px; color: #fff; font-family: "Fraunces", Georgia, serif; font-size: 2.3rem; letter-spacing: -.06em; font-weight: 500; }
.admin-modal > p:not(.eyebrow) { margin: 0; color: #9eacc0; font-size: .83rem; line-height: 1.55; }
.admin-modal__close { position: absolute; top: 13px; right: 16px; width: 32px; height: 32px; border: 0; color: #b2bfd1; background: transparent; font-size: 1.8rem; cursor: pointer; }
.admin-form { margin-top: 23px; display: grid; gap: 13px; }
.admin-form label:not(.admin-check) { display: grid; gap: 6px; color: #dbe6f4; font-size: .77rem; font-weight: 600; }
.admin-form input:not([type="checkbox"]) { width: 100%; min-height: 43px; padding: 0 12px; border: 1px solid #40516b; border-radius: 9px; outline: none; color: #eef4fb; background: #101d30; font: inherit; }
.admin-form input:not([type="checkbox"]):focus { border-color: #b9e4ca; box-shadow: 0 0 0 3px rgba(185,228,202,.1); }
.admin-check { display: flex; align-items: center; gap: 9px; color: #c8d6e6; font-size: .79rem; }
.admin-check input { width: 16px; height: 16px; accent-color: #b9e4ca; }
.admin-modal__actions { margin-top: 8px; display: flex; justify-content: flex-end; gap: 10px; }
.admin-metric { min-height: 157px; padding: 27px; display: flex; flex-direction: column; justify-content: space-between; border: 1px solid var(--navy-line); border-radius: 19px; background: #152235; }
.admin-metric span { color: #97a6be; font-size: .84rem; }
.admin-metric strong { display: flex; align-items: end; justify-content: space-between; font-variant-numeric: tabular-nums; font-size: 3.2rem; line-height: 1; letter-spacing: -.025em; }
.admin-metric svg { color: #7588a5; }
.admin-customer-panel { margin-top: 20px; padding: 29px; border: 1px solid var(--navy-line); border-radius: 21px; background: #152235; }
.admin-customer-panel h2 { margin: 0; font-size: 1.32rem; letter-spacing: -.05em; }
.admin-customer-panel > p { margin: 6px 0 21px; color: #95a4ba; font-size: .84rem; }
.admin-toolbar { display: flex; gap: 10px; }
.admin-search { flex: 1; display: flex; align-items: center; gap: 10px; height: 46px; padding: 0 13px; border: 1px solid #3a4d69; border-radius: 11px; background: #1d2c42; color: #9eadc3; }
.admin-search input { min-width: 0; flex: 1; outline: 0; border: 0; color: #eef4fc; background: transparent; font-size: .84rem; }
.admin-search input::placeholder { color: #8090a8; }
.admin-table-head { display: grid; grid-template-columns: 1.2fr 1.15fr .8fr .9fr .7fr; gap: 12px; margin-top: 22px; padding: 0 15px 8px; color: #7889a3; font-size: .68rem; font-weight: 700; letter-spacing: .05em; text-transform: uppercase; }
.admin-empty-state { padding: 43px 20px; border: 1px dashed #3e506b; border-radius: 14px; color: #9aa9be; text-align: center; font-size: .85rem; }
.admin-empty-state p { margin: 8px 0 0; color: #74849a; font-size: .77rem; }
.admin-rows { display: grid; gap: 8px; }
.admin-row { display: grid; grid-template-columns: 1.2fr 1.15fr .8fr .9fr .7fr; gap: 12px; align-items: center; padding: 15px; border: 1px solid #354660; border-radius: 13px; background: #1d2c42; }
.admin-row > div { min-width: 0; display: grid; gap: 4px; color: #c2cedd; font-size: .75rem; }
.admin-row strong { overflow: hidden; color: #fff; font-size: .83rem; text-overflow: ellipsis; white-space: nowrap; }
.admin-row span { overflow: hidden; color: #91a1b8; text-overflow: ellipsis; white-space: nowrap; }
.admin-row__mobile-email { display: none; }
.admin-row__nfc { width: fit-content; max-width: 100%; display: inline-flex !important; align-items: center; gap: 6px; padding: 3px 5px 3px 7px; border: 1px solid rgba(112,211,151,.28); border-radius: 8px; color: #a8dcb9 !important; background: rgba(47,116,76,.12); font-size: .63rem; white-space: normal !important; }
.admin-row__nfc code { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-family: "DM Mono", monospace; }
.admin-row__nfc button { min-height: 23px; flex: none; padding: 0 6px; border: 0; border-radius: 5px; color: #173323; background: #b9e4ca; font-size: .6rem; font-weight: 800; }
.status-pill { justify-self: start; min-height: 27px; padding: 0 10px; border: 1px solid #65748b; border-radius: 999px; color: #aab7c8; background: #27364e; font-size: .7rem; font-weight: 700; }
.status-pill--active { border-color: rgba(67,185,112,.45); color: #7be2a4; background: rgba(52,158,93,.2); }
.admin-row__actions { display: flex !important; grid-auto-flow: column; gap: 5px; }
.admin-row__actions a, .admin-row__actions button { width: 29px; height: 29px; display: grid; place-items: center; border: 0; border-radius: 8px; color: #a9b7ca; background: transparent; }
.admin-row__actions a:hover, .admin-row__actions button:hover { color: #fff; background: #30425d; }

/* Success */
.order-success-page { min-height: 100vh; display: grid; place-items: center; padding: 24px; background: radial-gradient(circle at 70% 10%, #d9eadf 0, transparent 30%), #f2f2ed; }
.order-success-card { width: min(100%, 600px); padding: clamp(30px, 6vw, 58px); border: 1px solid rgba(17,20,25,.1); border-radius: 27px; background: rgba(255,255,255,.85); box-shadow: 0 24px 55px rgba(17,20,25,.1); text-align: center; }
.success-icon { width: 70px; height: 70px; margin: 0 auto 24px; display: grid; place-items: center; border-radius: 50%; color: #327a4e; background: #dff2e4; }
.order-success-card h1 { margin: 13px 0; font-family: "Fraunces", Georgia, serif; font-size: clamp(2.2rem, 6vw, 3.4rem); line-height: 1; letter-spacing: -.065em; font-weight: 500; }
.order-success-card > p { margin: 0; color: #667080; line-height: 1.6; }
.success-note { margin: 25px 0; padding: 14px; display: flex; align-items: flex-start; gap: 9px; border-radius: 12px; color: #405164; background: #eef2ef; text-align: left; font-size: .81rem; line-height: 1.45; }
.success-note svg { flex: none; color: #478562; }
.success-form { margin-top: 18px; text-align: left; }
.success-form .button { width: 100%; margin-top: 3px; }
.activation-help { padding: 14px; display: flex; align-items: flex-start; gap: 8px; border-radius: 11px; color: #657080; background: #f0f2ef; font-size: .77rem; line-height: 1.45; text-align: left; }
.activation-help svg { flex: none; margin-top: 2px; color: #4e7b62; }
.activation-help p { margin: 0; }

/* Customer login */
.auth-page { min-height: 100vh; display: grid; place-items: center; padding: 24px; background: radial-gradient(circle at 75% 12%, #d7e9dc, transparent 28%), #f4f4ef; }
.auth-card { width: min(100%, 460px); padding: clamp(31px, 6vw, 52px); border: 1px solid rgba(17,20,25,.1); border-radius: 26px; background: rgba(255,255,255,.88); box-shadow: 0 22px 60px rgba(17,20,25,.1); }
.auth-mark { display: block; width: 70px; height: 70px; margin-bottom: 24px; border-radius: 50%; object-fit: contain; object-position: center; background: #000; box-shadow: 0 8px 18px rgba(17,20,25,.13); }
.auth-link-row { display: flex; justify-content: flex-end; margin-top: -4px; }
.auth-forgot, .auth-back { display: inline-flex; align-items: center; gap: 7px; color: #60708a; font-size: .78rem; font-weight: 800; text-decoration: underline; text-underline-offset: 3px; }
.auth-forgot:hover, .auth-back:hover { color: #16243a; }
.auth-back { margin-top: 18px; }
.auth-success-icon { width: 54px; height: 54px; margin: 10px 0 18px; display: grid; place-items: center; border-radius: 50%; color: #347c55; background: #dff2e4; }
.auth-form-error { margin: 0; color: #b23a3a; font-size: .78rem; font-weight: 700; }
.admin-brand { display: inline-flex; align-items: center; gap: 10px; margin-bottom: 15px; color: #eef3fb; font-size: .86rem; font-weight: 800; letter-spacing: -.03em; }
.admin-brand img { display: block; width: 52px; height: 52px; border: 1px solid rgba(255,255,255,.18); border-radius: 50%; object-fit: contain; object-position: center; background: #000; box-shadow: 0 5px 14px rgba(0,0,0,.24); }
.auth-card h1 { margin: 12px 0 9px; font-family: "Fraunces", Georgia, serif; font-size: 2.85rem; line-height: 1; letter-spacing: -.065em; font-weight: 500; }
.auth-card > p:not(.eyebrow) { margin: 0 0 26px; color: #687385; font-size: .89rem; line-height: 1.6; }
.auth-card .button { width: 100%; margin-top: 6px; }
.auth-note { margin-top: 22px; display: flex; align-items: flex-start; gap: 8px; color: #7a8595; font-size: .74rem; line-height: 1.5; }
.auth-note svg { flex: none; color: #518468; }

/* Checkout handoff */
.checkout-overlay { position: fixed; inset: 0; z-index: 40; display: grid; place-items: center; padding: 20px; background: rgba(8,12,19,.42); backdrop-filter: blur(7px); }
.checkout-dialog { width: min(100%, 440px); padding: 34px 30px 27px; position: relative; border-radius: 23px; background: #fff; box-shadow: 0 30px 80px rgba(0,0,0,.25); animation: checkout-enter 220ms cubic-bezier(.23,1,.32,1); }
@keyframes checkout-enter { from { opacity: 0; transform: translateY(15px) scale(.98); } to { opacity: 1; transform: translateY(0) scale(1); } }
.checkout-dialog__close { position: absolute; right: 15px; top: 15px; width: 35px; height: 35px; border-radius: 50%; color: #36404d; background: #f0f1ee; }
.checkout-dialog h2 { margin: 12px 0 8px; font-family: "Fraunces", Georgia, serif; font-size: 2rem; line-height: 1; letter-spacing: -.055em; font-weight: 500; }
.checkout-dialog > p { margin: 0; color: #667080; font-size: .88rem; line-height: 1.55; }
.checkout-dialog__total { margin: 23px 0; padding: 15px; display: flex; justify-content: space-between; align-items: center; border-radius: 12px; color: #536071; background: #f0f2ef; font-size: .82rem; }
.checkout-dialog__total strong { color: #161c23; font-size: 1rem; }
.checkout-dialog .button { width: 100%; margin-top: 20px; }
.checkout-dialog small { display: block; margin-top: 14px; color: #8490a0; font-size: .72rem; line-height: 1.45; text-align: center; }

@media (max-width: 780px) {
  .site-nav { width: min(100% - 28px, 1180px); height: 68px; }
  .nav-links a:not(.button) { display: none; }
  .hero { width: min(100% - 28px, 1180px); margin-top: 7px; min-height: auto; grid-template-columns: 1fr; padding: 45px 26px 39px; border-radius: 25px; }
  .hero h1 { font-size: clamp(3rem, 15vw, 4.4rem); }
  .hero__card-visual { width: min(100%, 355px); justify-self: center; margin-top: 16px; }
  .hero__card-image { transform: rotateY(-8deg) rotateX(3deg) rotateZ(-2deg); }
  .smart-card { min-height: 214px; }
  .smart-card__chip { margin-top: 36px; }
  .proof-strip { width: min(100% - 28px, 1050px); margin-top: 12px; transform: none; grid-template-columns: 1fr; }
  .proof-item { padding: 16px 18px; border-right: 0; border-bottom: 1px solid var(--line); }
  .proof-item:last-child { border-bottom: 0; }
  .home-section { width: min(100% - 28px, 1120px); margin: 68px auto; }
  .offer-grid, .how-grid { grid-template-columns: 1fr; }
  .offer-card { min-height: 356px; }
  .bulk-cta { width: min(100% - 28px, 1120px); margin-bottom: 40px; align-items: flex-start; flex-direction: column; }
  .site-footer { flex-direction: column; }
  .portal-header { padding: 20px 18px; }
  .portal-header__link span { display: none; }
  .portal-container { width: min(100% - 28px, 1180px); padding-top: 21px; }
  .portal-nav { grid-template-columns: repeat(3, 1fr); }
  .portal-nav button { min-height: 48px; font-size: .67rem; }
  .portal-nav button svg { width: 17px; }
  .portal-nav__label { flex-direction: column; gap: 2px; }
  .portal-nav__badge { top: -7px; right: -12px; min-width: 16px; height: 16px; padding: 0 4px; font-size: .57rem; }
  .portal-grid { grid-template-columns: 1fr; }
  .preview-device { position: static; max-width: 400px; width: 100%; margin: 0 auto; }
  .portal-panel { padding: 22px 17px; }
  .portal-form__two { grid-template-columns: 1fr; }
  .url-field { align-items: stretch; }
  .url-field code { font-size: .68rem; }
  .url-field button { min-width: 68px; font-size: .72rem; }
  .link-editor-row { padding: 12px; }
  .metrics-grid, .admin-metrics { grid-template-columns: 1fr; }
  .metric-card, .admin-metric { min-height: 125px; }
  .admin-container { width: min(100% - 28px, 1180px); padding-top: 23px; }
  .admin-top { grid-template-columns: 1fr auto; grid-template-areas: "brand exit" "copy copy"; align-items: start; row-gap: 19px; column-gap: 12px; }
  .admin-header__copy { min-width: 0; }
  .admin-top h1 { font-size: clamp(1.5rem, 8.5vw, 1.9rem); line-height: 1.06; }
  .admin-header__copy > p:not(.eyebrow) { max-width: 300px; margin-top: 9px; line-height: 1.45; }
  .admin-exit { min-width: 56px; min-height: 34px; padding-inline: 10px; }
  .admin-toolbar { flex-direction: column; }
  .admin-toolbar .button { width: 100%; }
  .admin-table-head { display: none; }
  .admin-customer-panel { padding: 21px 16px; }
  .admin-toolbar { gap: 15px; margin: 4px -4px 19px; }
  .admin-search { width: calc(100% + 8px); min-height: 54px; height: 54px; padding: 0 17px; gap: 12px; border-radius: 14px; }
  .admin-search input { font-size: .96rem; }
  .admin-row { grid-template-columns: minmax(0, 1fr) auto; grid-template-areas: "identity status" "actions actions"; gap: 14px 12px; padding: 17px; }
  .admin-row > div:nth-child(1) { grid-area: identity; }
  .admin-row > div:nth-child(2), .admin-row > div:nth-child(4) { display: none; }
  .admin-row > div:nth-child(3) { grid-area: status; align-self: center; }
  .admin-row > div:nth-child(5) { grid-area: actions; width: 100%; padding-top: 12px; border-top: 1px solid rgba(126,149,179,.2); }
  .admin-row__mobile-email { display: block; max-width: 100%; color: #bdd0e3 !important; font-size: .7rem; }
  .admin-row__nfc { width: 100%; justify-content: space-between; font-size: .61rem; }
  .admin-row__actions { justify-content: flex-start; gap: 9px; }
  .admin-row__actions a, .admin-row__actions button { width: 34px; height: 34px; border: 1px solid rgba(126,149,179,.22); background: rgba(11,22,38,.28); }
  .lead-row { grid-template-columns: 1fr 1fr; }
}

@media (prefers-reduced-motion: reduce) { *, *:before, *:after { animation-duration: .01ms !important; transition-duration: .01ms !important; } }

/* Warm, rounded display typography */
.wordmark,
.hero h1,
.section-heading h2,
.bulk-cta h2,
.offer-card h3,
.offer-price,
.public-profile-unavailable h1,
.portal-preview__identity h1,
.exchange-sheet h2,
.portal-state h1,
.portal-header h1,
.portal-panel h2,
.portal-url-card h2,
.vcard-editor h3,
.photo-cropper-dialog h2,
.admin-top h1,
.admin-gate h2,
.admin-modal h2,
.admin-customer-panel h2,
.order-success-card h1,
.auth-card h1,
.checkout-dialog h2 {
  font-family: "Nunito Sans", "DM Sans", ui-sans-serif, system-ui, sans-serif !important;
  font-weight: 760;
  letter-spacing: -.04em;
}

/* Modern link builder */
.link-builder__intro { display: flex; align-items: flex-start; justify-content: space-between; gap: 18px; }
.link-builder__intro h2 { margin-top: 8px; }
.link-builder__intro p:not(.eyebrow) { max-width: 480px; }
.link-builder__add { min-height: 42px; display: inline-flex; flex: none; align-items: center; justify-content: center; gap: 8px; padding: 0 15px; border: 0; border-radius: 12px; color: #10261a; background: #b9e4ca; box-shadow: 0 8px 18px rgba(0,0,0,.15); font-size: .78rem; font-weight: 800; transition: transform 160ms ease, box-shadow 160ms ease; }
.link-builder__add:hover { transform: translateY(-1px); box-shadow: 0 12px 23px rgba(0,0,0,.21); }
.link-builder__add--secondary { margin-top: 16px; color: #cee1f2; border: 1px dashed #4c668a; background: transparent; box-shadow: none; }
.link-builder__tip { margin-top: 22px; display: flex; align-items: flex-start; gap: 9px; padding: 13px 14px; border: 1px solid rgba(185,228,202,.18); border-radius: 13px; color: #aec0d5; background: rgba(185,228,202,.06); font-size: .76rem; line-height: 1.45; }
.link-builder__tip svg { flex: none; margin-top: 1px; color: #b9e4ca; }
.link-builder__quick { margin-top: 19px; }
.link-builder__quick > p { margin-bottom: 9px; color: #8299b2; }
.link-builder__quick > div { display: flex; flex-wrap: wrap; gap: 8px; }
.link-builder__quick button { min-height: 36px; display: inline-flex; align-items: center; gap: 6px; padding: 0 10px; border: 1px solid #3c5270; border-radius: 10px; color: #dce7f2; background: #1c2d44; font-size: .71rem; font-weight: 800; transition: transform 150ms ease, color 150ms ease, border-color 150ms ease, background 150ms ease; }
.link-builder__quick button svg:first-child { color: #b9e4ca; }
.link-builder__quick button svg:last-child { color: #7990a9; }
.link-builder__quick button:hover { transform: translateY(-1px); border-color: #b9e4ca; color: #fff; background: #263c57; }
.link-builder__quick,
.link-builder__add--secondary { display: none; }
.link-builder__cards { margin-top: 18px; display: grid; gap: 12px; }
.link-builder-card { padding: 14px; border: 1px solid #354a67; border-radius: 17px; background: linear-gradient(135deg, rgba(35,52,77,.93), rgba(24,38,58,.96)); transition: border-color 160ms ease, transform 160ms ease, box-shadow 160ms ease; }
.link-builder-card:hover { border-color: #4c668a; box-shadow: 0 12px 28px rgba(0,0,0,.15); }
.link-builder-card--dragging { opacity: .55; border-color: #b9e4ca; transform: scale(.99); }
.link-builder-card__header { display: flex; align-items: center; gap: 9px; }
.link-builder-card__drag { color: #71839d; cursor: grab; }
.link-builder-card__icon { width: 34px; height: 34px; display: grid; place-items: center; border: 1px solid rgba(185,228,202,.24); border-radius: 11px; color: #b9e4ca; background: rgba(185,228,202,.08); }
.link-builder-card__header > div { display: grid; gap: 1px; }
.link-builder-card__header strong { color: #f6f9fc; font-size: .82rem; font-weight: 800; }
.link-builder-card__header small { color: #94a8c0; font-size: .67rem; }
.link-builder-card__spacer { flex: 1; }
.link-builder-card__icon-button { width: 30px; height: 30px; display: grid; place-items: center; border: 0; border-radius: 9px; color: #9db1c7; background: transparent; transition: color 150ms ease, background 150ms ease; }
.link-builder-card__icon-button:hover { color: #fff; background: rgba(255,255,255,.09); }
.link-builder-card__icon-button--delete:hover { color: #ffd0d0; background: rgba(223,92,92,.2); }
.link-builder-card__fields { margin-top: 15px; display: grid; grid-template-columns: .9fr 1.1fr; gap: 10px; }
.link-builder-card__fields .field-label { color: #cbd7e5; font-size: .72rem; }
.link-builder-card__fields .editor-input { min-height: 43px; color: #edf4fb; border-color: #405571; background: rgba(14,27,46,.68); font-size: .81rem; }
.link-builder-card__fields .editor-input::placeholder { color: #8192a9; }
.link-builder-card__change { width: 100%; min-height: 36px; margin-top: 11px; display: flex; align-items: center; justify-content: center; gap: 7px; border: 1px solid rgba(185,228,202,.14); border-radius: 10px; color: #b9e4ca; background: rgba(185,228,202,.04); font-size: .72rem; font-weight: 800; }
.link-builder-card__change:hover { background: rgba(185,228,202,.1); }
.link-picker-backdrop { position: fixed; inset: 0; z-index: 75; display: grid; place-items: center; padding: 20px; background: rgba(4,11,20,.78); backdrop-filter: blur(9px); }
.link-picker { width: min(100%, 730px); max-height: min(790px, calc(100vh - 40px)); overflow: auto; padding: 27px; border: 1px solid #405673; border-radius: 24px; color: #f0f5fb; background: #17263a; box-shadow: 0 34px 90px rgba(0,0,0,.45); }
.link-picker__header { display: flex; align-items: flex-start; justify-content: space-between; gap: 16px; }
.link-picker__header h2 { max-width: 500px; margin: 8px 0 6px; color: #fff; font-size: clamp(1.65rem, 4vw, 2.25rem); line-height: 1.08; }
.link-picker__header p:not(.eyebrow) { max-width: 520px; margin: 0; color: #a4b4c8; font-size: .83rem; line-height: 1.5; }
.link-picker__close { width: 36px; height: 36px; display: grid; place-items: center; flex: none; border: 0; border-radius: 50%; color: #c8d6e7; background: #263a55; }
.link-picker__search { min-height: 48px; margin-top: 21px; display: flex; align-items: center; gap: 10px; padding: 0 14px; border: 1px solid #405673; border-radius: 13px; color: #9bb0c7; background: #101e31; }
.link-picker__search input { min-width: 0; flex: 1; outline: 0; border: 0; color: #f1f6fb; background: transparent; font: inherit; font-size: .85rem; }
.link-picker__search input::placeholder { color: #7e90a7; }
.link-picker__grid { margin-top: 17px; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 9px; }
.link-picker__option { min-height: 104px; padding: 13px; display: grid; align-content: start; justify-items: start; gap: 7px; border: 1px solid #354a66; border-radius: 15px; color: #eef5fb; background: #1d2d44; text-align: left; transition: transform 160ms ease, border-color 160ms ease, background 160ms ease; }
.link-picker__option:hover { transform: translateY(-2px); border-color: #b9e4ca; background: #233953; }
.link-picker__option > span { width: 34px; height: 34px; display: grid; place-items: center; border-radius: 10px; color: #b9e4ca; background: rgba(185,228,202,.1); }
.link-picker__option strong { font-size: .8rem; font-weight: 800; }
.link-picker__option small { color: #9badc1; font-size: .64rem; line-height: 1.3; }
.lead-row { display: flex; gap: 14px; align-items: center; justify-content: space-between; }
.lead-row__details { display: grid; gap: 3px; min-width: 0; }
.lead-row__download { display: inline-flex; align-items: center; justify-content: center; gap: 7px; flex: 0 0 auto; border: 1px solid #cfdae9; border-radius: 12px; background: #fff; color: #172438; padding: 9px 11px; font: inherit; font-size: .78rem; font-weight: 800; cursor: pointer; transition: border-color .18s ease, transform .18s ease; }
.lead-row__download:hover { border-color: #87caa7; transform: translateY(-1px); }
.lead-tools { margin-top: 18px; display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.lead-exchange-setting { margin-top: 20px; padding: 15px 16px; display: flex; align-items: center; justify-content: space-between; gap: 18px; border: 1px solid #40536f; border-radius: 14px; background: #1a2a40; }
.lead-exchange-setting strong { display: block; color: #f1f6fc; font-size: .84rem; }
.lead-exchange-setting p { margin: 4px 0 0; color: #9aabc2; font-size: .75rem; line-height: 1.45; }
.lead-exchange-setting [data-slot="switch"] { width: 42px; height: 24px; flex: 0 0 auto; background: #53647c; }
.lead-exchange-setting [data-slot="switch"][data-state="checked"] { background: #86d3a5; }
.lead-exchange-setting [data-slot="switch-thumb"] { width: 20px; height: 20px; background: #fff; }
.lead-tools > span { flex: 0 0 auto; color: #9aabc2; font-size: .73rem; font-weight: 700; }
.lead-search { min-width: 0; flex: 1 1 320px; display: flex; align-items: center; gap: 8px; padding: 0 12px; border: 1px solid #40536f; border-radius: 11px; color: #93a7c0; background: #1a2a40; }
.lead-search:focus-within { border-color: #9ddbb7; box-shadow: 0 0 0 3px rgba(157,219,183,.12); }
.lead-search input { min-width: 0; width: 100%; height: 40px; border: 0; outline: 0; color: #f1f6fc; background: transparent; font: inherit; font-size: .8rem; }
.lead-search input::placeholder { color: #8394ab; }
.lead-row__actions { display: inline-flex; align-items: center; justify-content: flex-end; gap: 8px; }
.lead-row__delete { display: inline-flex; align-items: center; justify-content: center; gap: 6px; flex: 0 0 auto; border: 1px solid rgba(242,125,133,.45); border-radius: 12px; background: rgba(183,52,61,.12); color: #ffb1b7; padding: 9px 10px; font: inherit; font-size: .78rem; font-weight: 800; cursor: pointer; transition: background .18s ease, border-color .18s ease, transform .18s ease; }
.lead-row__delete:hover:not(:disabled) { border-color: #ff8b94; background: rgba(183,52,61,.24); transform: translateY(-1px); }
.lead-row__delete:disabled { opacity: .55; cursor: not-allowed; }
@media (max-width: 780px) {
  .link-builder__intro { display: grid; }
  .link-builder__add { width: 100%; }
  .link-builder__quick > div { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .link-builder__quick button { justify-content: space-between; }
  .link-builder-card__fields { grid-template-columns: 1fr; }
  .link-builder-card__header { gap: 7px; }
  .link-builder-card__icon-button { width: 27px; height: 27px; }
  .link-picker-backdrop { align-items: end; padding: 0; }
  .link-picker { width: 100%; max-height: min(84vh, 760px); padding: 23px 17px calc(23px + env(safe-area-inset-bottom)); border-radius: 25px 25px 0 0; }
  .link-picker__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
  .link-picker__option { min-height: 96px; }
  .lead-row { align-items: flex-start; flex-direction: column; }
  .lead-tools { align-items: stretch; flex-direction: column; }
  .lead-exchange-setting { align-items: flex-start; }
  .lead-search { width: 100%; flex: 0 0 42px; }
  .portal-install-prompt { align-items: flex-start; flex-direction: column; gap: 14px; }
  .portal-install-prompt .secondary-button { width: 100%; }
  .portal-install-guide { padding: 22px 18px; border-radius: 19px; }
  .portal-install-guide__platforms { grid-template-columns: 1fr; }
  .lead-tools > span { text-align: right; }
  .lead-row__actions { width: 100%; }
  .lead-row__download, .lead-row__delete { flex: 1 1 0; }
}/* Standalone runtime additions */
.runtime-message{position:fixed;z-index:9999;left:50%;bottom:24px;transform:translateX(-50%);max-width:min(92vw,640px);padding:12px 16px;border-radius:12px;background:#101a2a;color:#fff;box-shadow:0 12px 40px rgba(0,0,0,.22);font-size:.9rem}.runtime-message.error{background:#7d2020}.runtime-message.success{background:#146c43}.runtime-hidden{display:none!important}.plain-icon{display:inline-flex;width:19px;height:19px;align-items:center;justify-content:center;font-size:16px;line-height:1}.admin-row__actions button[disabled]{opacity:.45;cursor:wait}.managed-banner{margin:0 0 18px;padding:11px 15px;border:1px solid #d6dce5;border-radius:12px;background:#fff8dc;color:#5b4a16;display:flex;justify-content:space-between;gap:12px;align-items:center}.managed-banner a{text-decoration:underline;font-weight:700}.portal-preview__avatar img{width:100%;height:100%;object-fit:cover}.link-runtime-row{border:1px solid var(--line);border-radius:14px;padding:14px;margin-bottom:10px;background:#fff}.link-runtime-row__head{display:flex;gap:8px;align-items:center;margin-bottom:10px}.link-runtime-row__fields{display:grid;grid-template-columns:160px 1fr;gap:10px}.link-runtime-row__fields input,.link-runtime-row__fields select{width:100%;padding:11px;border:1px solid var(--line);border-radius:9px}.link-runtime-row button{border:0;background:#f1f3f6;border-radius:8px;padding:8px 10px}.runtime-modal{position:fixed;inset:0;background:rgba(7,10,16,.62);z-index:1000;display:grid;place-items:center;padding:18px}.runtime-modal__card{width:min(520px,100%);background:#fff;border-radius:18px;padding:26px;box-shadow:0 24px 70px rgba(0,0,0,.25)}.runtime-modal__card h2{margin-top:0}.runtime-modal__close{float:right;border:0;background:transparent;font-size:26px}.runtime-actions{display:flex;gap:10px;flex-wrap:wrap}.runtime-table-note{font-size:.78rem;color:#748096}.site-footer a{text-decoration:underline}.auth-card .auth-mark{object-fit:contain}.simple-spinner{padding:60px;text-align:center;color:#6d7788}.profile-action-icon{width:18px;height:18px;display:inline-block}.portal-header__actions button{border:0;background:transparent}.appearance-swatches{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.appearance-swatches label{border:1px solid var(--line);border-radius:12px;padding:12px}.appearance-swatches input[type=color]{width:100%;height:46px;border:0;padding:0;background:none}.contact-exchange-form input{width:100%;padding:12px;border:1px solid var(--line);border-radius:10px;margin-top:6px}.contact-exchange-form label{display:block;margin:12px 0}.admin-login-hint{font-size:.82rem;color:#7d8796;margin-top:14px}@media(max-width:700px){.link-runtime-row__fields,.appearance-swatches{grid-template-columns:1fr}.runtime-actions{flex-direction:column}.runtime-actions .button{width:100%}}

/* BNN September 2026 patch. Keep the established layout; restore local artwork
   and add the requested editor, accessibility and mobile improvements. */
@font-face{font-family:'DM Sans';src:url('../fonts/dm-sans.woff') format('woff');font-style:normal;font-weight:100 1000;font-display:swap}
@font-face{font-family:'Manrope';src:url('../fonts/manrope.woff') format('woff');font-style:normal;font-weight:200 800;font-display:swap}
body{font-family:'DM Sans',Arial,sans-serif;line-height:1.5}
html{scroll-behavior:smooth;scroll-padding-top:20px;-webkit-text-size-adjust:100%}
h1,h2,h3,.hero h1,.section-heading h2,.offer-price,.bulk-cta h2,.auth-card h1,.exchange-sheet h2,.portal-state h1,.photo-cropper-dialog h2,.admin-gate h2,.admin-modal h2,.order-success-card h1{font-family:'Manrope','DM Sans',sans-serif;font-weight:800;letter-spacing:-.045em;line-height:1.15}
.hero h1{font-size:clamp(2.65rem,5.8vw,5rem)}
.hero h1 em{font-style:normal}
.offer-price small{font-family:'DM Sans',Arial,sans-serif}
.section-heading h2{font-size:clamp(2rem,4vw,3.4rem)}
.bnn-icon{display:inline-block;width:20px;height:20px;vertical-align:middle;flex:0 0 auto}
button:disabled{cursor:default;opacity:.48;transform:none}
button:focus-visible,a:focus-visible,[tabindex]:focus-visible{outline:3px solid #76b995;outline-offset:4px}
input:not([type='checkbox']):not([type='radio']):not([type='range']):not([type='color']),textarea,select{font-size:16px!important;max-width:100%;min-width:0}
input[type='checkbox'],input[type='radio']{width:18px;height:18px;min-height:0;accent-color:#518d69}
.form-stack label:has(input[type='checkbox']){display:flex;align-items:center;gap:10px}
.portal-panel,.portal-grid>*,.admin-row>*,.portal-header__title,.portal-preview__identity,.portal-preview__links,.portal-preview__actions{min-width:0}
.wordmark__mark,.portal-header__mark,.admin-brand img{object-fit:contain;background:#000}
.admin-brand img{width:56px;height:56px;border-radius:50%}
.auth-card .auth-mark{width:88px;height:88px;object-fit:contain;border-radius:20px;background:#000;margin:0 0 24px}
.hero__card-image{aspect-ratio:16/9}
.offer-grid{grid-template-columns:minmax(0,560px);justify-content:center}
.offer-grid .offer-card{background:var(--navy);color:#fff}
.offer-grid .offer-card p,.offer-grid .offer-features{color:#c0cbdc}
.offer-grid .offer-card .button{background:var(--accent);color:var(--accent-ink)}
.proof-item .bnn-icon{width:24px;height:24px;color:#52856a}
.auth-forgot,.auth-back{text-decoration:none!important;border-bottom:0!important}
.auth-note{display:flex;align-items:flex-start;gap:10px;line-height:1.6}
.auth-note .bnn-icon{margin-top:2px;width:18px;height:18px}
.auth-success-icon .bnn-icon,.success-icon .bnn-icon{width:28px;height:28px}
.portal-header__title p{font-size:15px;font-weight:700;color:#dbe5f2}
.portal-nav{overflow:visible}
.portal-nav__label{gap:9px}
.portal-panel h2,.portal-url-card h2,.portal-install-guide h2{color:#f4f8fc}
.portal-panel>.eyebrow{margin:0 0 9px;color:#a4b7cd}
.portal-panel h2{font-size:1.3rem}
.portal-panel>p{line-height:1.65}
.portal-shell .field-label{color:#dbe4f1;line-height:1.45}
.portal-shell .editor-input{color:#edf3fc;background:#1c2c43;border-color:#3a4c67}
.vcard-editor{display:grid;gap:16px}
.vcard-editor p{margin:0;line-height:1.6}
.vcard-editor>.field-label{margin:0}
.vcard-editor .portal-form__two{align-items:start}
.portal-form__two{gap:18px}
.portal-panel__footer{margin-top:24px}
.portal-panel .button,.photo-cropper-actions .button{min-height:44px}
.url-field button{display:inline-flex;align-items:center;justify-content:center;gap:6px;min-width:90px}
.url-field button .bnn-icon{width:16px;height:16px}
.portal-install-prompt{line-height:1.5}
.preview-device{overflow:hidden}
.preview-device .portal-preview{border-radius:22px;overflow:hidden;padding:44px 20px;min-height:490px}
.preview-device .portal-preview__links,.preview-device .portal-preview__actions{width:100%;max-width:360px}
.preview-device .portal-preview__avatar{width:94px;height:94px}
.preview-device .portal-preview__button{min-height:46px;font-size:14px;gap:9px}
.preview-device .portal-preview__button .bnn-icon{width:18px;height:18px}
.preview-device .portal-preview__identity h1{font-size:25px;line-height:1.2}
.portal-preview__identity h1,.portal-preview__identity p,.portal-preview__button span,.lead-row__details,.admin-row>div{overflow-wrap:anywhere}
.portal-preview__button{line-height:1.4;padding-block:12px}
.portal-preview__footer{margin-top:56px;opacity:.7}
.portal-preview__footer:hover{opacity:.9}
.preview-device .portal-preview__footer{margin-top:40px;font-size:9px}
.public-profile-page .portal-preview{padding-top:90px;min-height:100svh}
.public-profile-page .portal-preview__identity h1{font-size:clamp(1.8rem,6vw,2.9rem)}
.public-profile-page .portal-preview__avatar{width:120px;height:120px}
.contact-success-icon .bnn-icon{width:50px;height:50px;color:#438565}
.photo-cropper-dialog{width:min(100%,500px);max-height:calc(100dvh - 32px);overflow:auto}
.photo-cropper-dialog h2{font-size:1.75rem}
.crop-stage{display:block;width:min(100%,340px);height:auto;aspect-ratio:1;margin:auto;border-radius:16px;touch-action:none;cursor:grab;background:#0b1524}
.crop-stage:active{cursor:grabbing}
.photo-cropper-zoom{grid-template-columns:52px minmax(0,1fr);min-height:44px}
.photo-cropper-zoom input{min-height:32px}
.photo-cropper-dialog__close{display:grid;place-items:center;flex:none}
.photo-cropper-actions .button--dark{background:#b9e4ca;color:#10261a;box-shadow:none}
.photo-picker__avatar{flex:0 0 68px}
.link-builder__add{display:flex;width:100%;margin-top:22px}
.link-builder__tip{display:flex;align-items:flex-start;gap:9px;margin-top:14px;padding:12px;border:1px solid #3b4d64;border-radius:12px;background:rgba(185,228,202,.035);color:#9fb0c6;font-size:12px;line-height:1.6}
.link-builder__tip .bnn-icon{width:16px;height:16px;margin-top:2px}
.link-builder-card__header strong{font-size:14px}
.link-builder-card__header small{font-size:11px}
.link-builder-card__header>div{min-width:0}
.link-builder-card__spacer{min-width:0}
.link-builder-card__fields{grid-template-columns:1fr;gap:15px}
.link-builder-card__icon-button{width:36px;height:40px;flex:0 0 36px}
.link-builder-card__icon-button .bnn-icon{width:18px;height:18px}
.link-builder-card__change{min-height:42px;font-size:12px}
.link-picker__option{min-height:120px}
.link-picker__option strong{font-size:14px}
.link-picker__option small{font-size:12px}
.link-picker__search input{min-height:46px}
.link-picker{max-height:calc(100dvh - 40px);overscroll-behavior:contain}
.color-controls{gap:16px}
.color-control{grid-template-columns:minmax(0,1fr) 50px 130px;font-size:14px}
.color-control input[type='color']{width:50px;min-height:40px}
.color-control input[type='text']{width:130px;min-height:40px;font-family:'DM Sans',Arial,sans-serif}
.template-choice{width:100%;min-height:70px}
.template-choice strong{font-size:14px;color:#f2f6fa}
.template-choice span{font-size:12px}
.template-choice>span{margin:0}
.bnn-switch{display:inline-flex;align-items:center;width:46px;height:28px;min-width:46px;flex:0 0 46px;padding:3px;border:1px solid #52647a;border-radius:999px;background:#435269;transition:background .18s ease;vertical-align:middle}
.bnn-switch>span{display:block!important;width:20px;height:20px;border-radius:50%;background:#fff;box-shadow:0 2px 4px #0002;transform:translateX(0);transition:transform .18s ease;margin:0!important}
.bnn-switch[aria-checked='true']{background:#9bdab5;border-color:#9bdab5}
.bnn-switch[aria-checked='true']>span{transform:translateX(18px)}
.lead-tools{margin:22px 0 16px}
.lead-tools>span{font-size:13px}
.lead-search input{min-height:46px}
.lead-exchange-setting strong{font-size:15px}
.lead-exchange-setting p{font-size:13px}
.lead-row__details{gap:6px;font-size:14px}
.lead-row strong{font-size:16px}
.lead-row__actions .bnn-icon{width:17px;height:17px}
.metric-heading{display:flex;align-items:center;justify-content:space-between;gap:15px}
.metric-heading>.bnn-icon{color:#b9e4ca}
.metric-card strong,.admin-metric strong{font-family:'Manrope',Arial,sans-serif;font-variant-numeric:tabular-nums;line-height:1.1;letter-spacing:-.04em}
.metric-card span{font-size:14px}
.metric-card small{font-size:13px}
.settings-section{margin-top:24px;padding-top:24px}
.settings-section h3{font-size:17px}
.settings-section p{font-size:14px;line-height:1.7;overflow-wrap:anywhere}
.settings-password-form{gap:18px;max-width:500px}
.settings-result:empty{display:none}
.settings-result{color:#b9e4ca!important}
.settings-result.is-error{color:#ffb1b7!important}
.portal-install-guide__intro>p:last-child{font-size:14px;line-height:1.7}
.portal-install-guide ol{font-size:13px;line-height:1.8}
.portal-install-guide h3{font-size:15px}
.admin-header__copy>.eyebrow{color:#9bacc6;margin-bottom:8px}
.admin-header__copy h1{margin-bottom:10px}
.admin-exit{gap:7px}
.admin-exit .bnn-icon{width:16px;height:16px}
.admin-metric{padding:24px}
.admin-metric>strong{display:block;margin-top:18px}
.admin-metric .metric-heading>span:first-child{font-size:14px;line-height:1.5;color:#aab9cd}
.admin-metric__icon{width:38px;height:38px;display:grid;place-items:center;flex:none;border:1px solid #38516a;border-radius:12px;background:#1d3044;color:#b9e4ca!important}
.admin-search{gap:10px}
.admin-search .bnn-icon{width:20px;height:20px}
.admin-row__nfc button{display:inline-flex;align-items:center;gap:5px}
.admin-row__nfc button .bnn-icon{width:14px;height:14px}
.admin-row__actions{display:flex;flex-wrap:wrap;gap:8px}
.admin-row__actions a,.admin-row__actions button{display:inline-grid;place-items:center;min-width:38px;min-height:38px}
.admin-row__actions .bnn-icon{width:18px;height:18px}
.admin-row__actions .admin-delete{color:#ffadb6;border-color:#8d515e;background:#512c3b55}
.admin-row>.admin-row__actions{gap:8px}
.admin-profile-status{display:flex;flex-wrap:wrap;gap:8px;align-items:center}
.status-label{font-size:12px}
.button--danger{background:#ac2c3c;color:white}
.runtime-modal__card{max-height:calc(100dvh - 36px);overflow:auto}
.runtime-modal__card>p{font-size:14px;line-height:1.65}
.runtime-modal__card>h2{margin:14px 24px 14px 0}
.runtime-modal__card .form-stack{margin-top:22px}
.runtime-modal__close{display:grid;place-items:center;min-width:32px;min-height:32px}
.runtime-actions{gap:12px}
.exchange-sheet,.checkout-dialog{max-height:calc(100dvh - 24px);overflow:auto;overscroll-behavior:contain}
.portal-page,.auth-card,.admin-container,.order-success-card{animation:bnn-enter .24s ease-out}
.runtime-modal,.photo-cropper-backdrop,.link-picker-backdrop,.checkout-overlay,.exchange-overlay{animation:bnn-fade .18s ease-out}
.runtime-modal__card,.photo-cropper-dialog,.link-picker,.checkout-dialog{animation:bnn-enter .22s ease-out}
.is-closing{animation:bnn-fade .17s ease-in reverse both!important;pointer-events:none}
.is-closing>section,.is-closing>form,.is-closing>.exchange-sheet{animation:bnn-enter .17s ease-in reverse both!important}
.reveal-pending{opacity:0;transform:translateY(16px)}
.reveal-visible{opacity:1;transform:none;transition:opacity .45s ease,transform .45s ease}
@keyframes bnn-enter{from{opacity:0;transform:translateY(10px)}to{opacity:1;transform:translateY(0)}}
@keyframes bnn-fade{from{opacity:0}to{opacity:1}}
@media(max-width:780px){
 .portal-header{padding:22px 18px;gap:14px}.portal-header__mark{width:44px;height:44px}.portal-header__title p{font-size:13px}.portal-header__actions{gap:2px}.portal-header__link{padding:10px;font-size:12px}
 .portal-nav__label{flex-direction:column;gap:5px}.portal-nav__label .bnn-icon{width:18px;height:18px}.portal-nav button{min-height:60px;font-size:12px}.portal-nav__badge{top:-4px;right:-16px}
 .portal-panel{padding:24px 18px}.portal-container{padding-top:24px}.portal-url-card{padding:24px 18px}.portal-form{gap:20px}.portal-form__two{gap:20px;grid-template-columns:1fr}
 .preview-device{position:static;border-radius:28px}.preview-device .portal-preview{border-radius:19px;min-height:510px}
 .public-profile-page .portal-preview{padding-top:80px;padding-bottom:60px}.public-profile-page .portal-preview__links,.public-profile-page .portal-preview__actions{width:min(100%,360px)}
 .link-picker{max-height:84dvh}.link-picker__header h2{font-size:1.65rem}.link-builder-card{padding:12px}.link-builder-card__icon-button{width:32px;flex-basis:32px}.link-builder-card__header{gap:6px}
 .color-control{grid-template-columns:minmax(0,1fr) 42px 113px;gap:6px;font-size:13px}.color-control input[type='color']{width:42px}.color-control input[type='text']{width:113px;padding-inline:7px}
 .admin-row__actions{width:100%;justify-content:flex-start}.admin-row__actions a,.admin-row__actions button{min-width:44px;min-height:44px}.admin-metric{padding:20px}.admin-metric__icon{width:34px;height:34px}
 .lead-row__actions{flex-wrap:wrap}.lead-row__download,.lead-row__delete{min-height:44px;font-size:12px}
 .photo-cropper-backdrop{padding:16px}.photo-cropper-dialog{padding:22px 18px}.photo-cropper-actions{flex-wrap:wrap}.photo-cropper-dialog h2{font-size:1.5rem}
}
@media(max-width:400px){.portal-header__actions span{display:none}.portal-header__link{min-height:44px;min-width:40px}.nav-links{gap:12px}.nav-links a:not(.button){font-size:12px}.admin-top h1{font-size:1.4rem}}
@media(min-width:1000px){.admin-row,.admin-table-head{grid-template-columns:minmax(0,1.3fr) minmax(0,1.1fr) .65fr .65fr 176px}}
@media(prefers-reduced-motion:reduce){html{scroll-behavior:auto}*,*::before,*::after{animation:none!important;transition:none!important;scroll-behavior:auto!important}.reveal-pending{opacity:1;transform:none}}
