@import url('https://fonts.googleapis.com/css2?family=DM+Mono:wght@400;500&family=Sora:wght@400;500;600;700;800&display=swap');

:root {
    color-scheme: light;
    --ink: #161719;
    --muted: #606875;
    --paper: #f7f8fb;
    --white: #ffffff;
    --line: #dce1eb;
    --red: #ff612e;
    --red-dark: #e94d1f;
    --green: #161719;
    --mint: #eef3ff;
    --yellow: #0055ff;
    --error: #a73d32;
}

* { box-sizing: border-box; }
body { margin: 0; min-height: 100vh; color: var(--ink); background: var(--paper); font-family: "Sora", sans-serif; }
a { color: inherit; }
button, input { font: inherit; }
.topbar { min-height: 76px; padding: 0 clamp(20px, 6vw, 88px); display: flex; align-items: center; justify-content: space-between; gap: 24px; background: var(--white); border-bottom: 1px solid var(--line); }
.wordmark { color: var(--green); font-size: 21px; font-weight: 700; text-decoration: none; }
.wordmark-dot { color: var(--red); }
.wordmark-sub { margin-left: 9px; color: var(--muted); font-size: 13px; font-weight: 500; }
.site-nav, .mobile-nav { display: flex; align-items: center; flex-wrap: wrap; gap: 22px; font-size: 13px; }
.site-nav > a, .mobile-nav > a { text-decoration: none; }
.site-nav > a:hover, .auth-switch a:hover, .site-footer a:hover { color: var(--red-dark); }
.nav-cta { padding: 10px 15px; border: 1px solid var(--line); border-radius: 15px; }
.nav-form { display: inline-flex; margin: 0; }
.nav-button { padding: 0; border: 0; color: inherit; background: transparent; cursor: pointer; }
.hero-band { min-height: 540px; display: grid; grid-template-columns: minmax(0, 1fr) minmax(280px, 0.8fr); align-items: center; gap: 8vw; padding: 72px clamp(24px, 9vw, 132px); overflow: hidden; background: var(--ink); color: var(--white); }
.hero-copy { max-width: 610px; animation: arrive .55s ease-out both; }
.eyebrow { margin: 0 0 16px; color: var(--red); font-family: "DM Mono", monospace; font-size: 11px; letter-spacing: 1.5px; text-transform: uppercase; }
.hero-band .eyebrow { color: var(--yellow); }
.hero-band h1, .page-heading h1, .welcome-row h1, .auth-panel h1 { margin: 0 0 18px; font-family: "Sora", sans-serif; font-weight: 500; line-height: 1.06; }
.hero-band h1 { font-size: clamp(48px, 7vw, 82px); }
.hero-band h1 em { color: var(--yellow); }
.hero-lead { max-width: 470px; margin: 0 0 30px; color: #d9deea; font-size: 16px; line-height: 1.75; }
.button { min-height: 46px; display: inline-flex; align-items: center; justify-content: center; gap: 12px; padding: 0 19px; border: 0; border-radius: 15px; color: white; background: var(--red); font-size: 13px; font-weight: 700; text-decoration: none; cursor: pointer; transition: background .16s ease, transform .16s ease; }
.button:hover:not(:disabled) { background: var(--red-dark); transform: translateY(-1px); }
.button:disabled { opacity: .48; cursor: not-allowed; }
.hero-note { margin: 16px 0 0; color: #c4cbd8; font-size: 11px; }
.hero-art { min-height: 330px; position: relative; display: grid; place-items: center; border: 1px solid #53565e; background: repeating-linear-gradient(135deg, transparent, transparent 17px, #ffffff0b 18px, #ffffff0b 19px); animation: arrive .7s .12s ease-out both; }
.hero-art::before, .hero-art::after { position: absolute; width: 70px; height: 70px; content: ""; border-color: var(--yellow); border-style: solid; }
.hero-art::before { top: 16px; left: 16px; border-width: 1px 0 0 1px; }
.hero-art::after { right: 16px; bottom: 16px; border-width: 0 1px 1px 0; }
.sound-disc { width: 205px; height: 205px; display: flex; align-items: center; justify-content: center; gap: 7px; border: 1px solid #d9deea; border-radius: 50%; }
.sound-disc span { width: 5px; height: 33px; border-radius: 5px; background: var(--yellow); transform: rotate(12deg); }
.sound-disc span:nth-child(2), .sound-disc span:nth-child(8) { height: 63px; }
.sound-disc span:nth-child(3), .sound-disc span:nth-child(7) { height: 91px; }
.sound-disc span:nth-child(4), .sound-disc span:nth-child(6) { height: 118px; }
.sound-disc span:nth-child(5) { height: 76px; }
.hero-art > p { position: absolute; top: 20px; right: 28px; color: #d9deea; font-family: "DM Mono", monospace; font-size: 10px; line-height: 1.7; }
.art-index { position: absolute; bottom: 21px; left: 26px; color: #d9deea; font-family: "DM Mono", monospace; font-size: 10px; }
.steps-band { display: grid; grid-template-columns: repeat(3, 1fr); gap: 36px; padding: 54px clamp(24px, 9vw, 132px) 68px; }
.steps-band > div { padding-top: 18px; border-top: 1px solid var(--line); }
.step-number, .link-index { color: var(--red); font-family: "DM Mono", monospace; font-size: 11px; }
.steps-band h2 { margin: 15px 0 7px; font-family: "Sora", sans-serif; font-size: 23px; font-weight: 500; }
.steps-band p, .body-copy { margin: 0; color: var(--muted); font-size: 14px; line-height: 1.7; }
.site-footer { display: flex; justify-content: space-between; padding: 20px clamp(24px, 9vw, 132px); border-top: 1px solid var(--line); color: var(--muted); font-family: "DM Mono", monospace; font-size: 10px; text-transform: uppercase; }
.site-footer a { text-decoration: none; }
.app-shell, .manage-shell { background: var(--paper); }
.app-frame { min-height: 100vh; display: grid; grid-template-columns: 268px minmax(0, 1fr); }
.app-sidebar { min-height: 100vh; position: sticky; top: 0; align-self: start; display: flex; flex-direction: column; padding: 28px 20px 21px; color: var(--ink); background: var(--white); border-right: 1px solid var(--line); }
.app-sidebar-brand { display: flex; align-items: center; justify-content: space-between; padding: 0 6px 24px; border-bottom: 1px solid var(--line); }
.app-sidebar .wordmark { color: var(--ink); font-size: 22px; font-weight: 800; text-decoration: none; }
.app-sidebar .wordmark span { color: var(--ink); }
.app-sidebar .wordmark i { color: var(--red); font-style: normal; }
.app-suite-label { padding: 5px 7px; border: 1px solid var(--line); border-radius: 15px; color: var(--muted); font-family: "DM Mono", monospace; font-size: 8px; text-transform: uppercase; }
.app-sidebar-user { min-width: 0; display: flex; align-items: center; gap: 11px; padding: 22px 6px 19px; }
.app-sidebar-user > span:last-child { min-width: 0; }
.app-avatar { width: 35px; height: 35px; flex: none; display: grid; place-items: center; border-radius: 15px; color: var(--white); background: var(--yellow); font-weight: 700; }
.app-sidebar-user strong, .app-sidebar-user small { display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.app-sidebar-user strong { font-size: 12px; }
.app-sidebar-user small { max-width: 175px; margin-top: 3px; color: var(--muted); font-size: 10px; }
.app-nav { display: grid; gap: 5px; padding-top: 9px; border-top: 1px solid var(--line); }
.app-nav-label { margin: 2px 9px 9px; color: var(--muted); font-family: "DM Mono", monospace; font-size: 8px; text-transform: uppercase; }
.app-nav-group { display: grid; gap: 3px; }
.app-nav-toggle { min-height: 38px; width: 100%; display: flex; align-items: center; gap: 9px; padding: 0 11px; border: 0; border-radius: 13px; color: var(--muted); background: none; font-family: "DM Mono", monospace; font-size: 8.5px; letter-spacing: .04em; text-transform: uppercase; cursor: pointer; text-align: left; }
.app-nav-toggle:hover { color: var(--ink); background: #f7f8fb; }
.app-nav-group.is-open > .app-nav-toggle { color: var(--ink); }
.app-nav-chevron { margin-left: auto; color: var(--muted); font-size: 10px; transition: transform .18s ease; }
.app-nav-group.is-open .app-nav-chevron { transform: rotate(90deg); }
.app-subnav { display: none; gap: 2px; margin: 0 0 6px; padding-left: 8px; border-left: 1px solid var(--line); }
.app-nav-group.is-open > .app-subnav { display: grid; }
.app-subnav-link { min-height: 32px; display: flex; align-items: center; gap: 9px; padding: 0 10px; border-radius: 11px; color: var(--muted); font-size: 11.5px; font-weight: 500; text-decoration: none; }
.app-subnav-link:hover { color: var(--ink); background: #f7f8fb; }
.app-subnav-link.is-active { color: var(--yellow); background: var(--mint); font-weight: 600; }
.app-subnav-dot { width: 5px; height: 5px; flex: none; border-radius: 50%; background: currentColor; opacity: .45; }
.app-subnav-link.is-active .app-subnav-dot { opacity: 1; }
.app-subnav-lock { margin-left: auto; color: var(--muted); font-size: 10px; opacity: .7; }
.app-subnav-link.is-locked { color: #a9b0c0; cursor: not-allowed; }
.app-subnav-link.is-locked:hover { color: #a9b0c0; background: none; }
.app-nav-locked-note { display: grid; gap: 7px; margin: 4px 0 8px; padding: 11px 12px; border: 1px dashed var(--line); border-radius: 13px; background: #fbfcff; }
.app-nav-locked-note span { color: var(--muted); font-family: "DM Mono", monospace; font-size: 8px; letter-spacing: .04em; text-transform: uppercase; }
.app-nav-locked-note a { color: var(--yellow); font-size: 11px; font-weight: 600; text-decoration: none; }
.app-sidebar-locked { color: var(--muted); font-size: 12.5px; font-weight: 600; }
.app-nav-link { min-height: 44px; display: flex; align-items: center; gap: 11px; padding: 0 11px; border-radius: 15px; color: var(--muted); font-size: 12px; font-weight: 600; text-decoration: none; }
.app-nav-link:hover { color: var(--ink); background: #f7f8fb; }
.app-nav-link.is-active { color: var(--ink); background: var(--mint); }
.app-nav-icon { width: 19px; color: var(--yellow); font-size: 20px; line-height: 1; text-align: center; }
.app-sidebar-status { display: grid; gap: 8px; margin-top: auto; padding: 16px 10px; border: 1px solid var(--line); border-radius: 15px; background: #f7f8fb; }
.app-sidebar-status > span:first-child { color: var(--muted); font-family: "DM Mono", monospace; font-size: 8px; text-transform: uppercase; }
.app-sidebar-status .status-pill { justify-self: start; }
.app-sidebar-balance { color: var(--ink); font-size: 23px; font-weight: 600; }
.app-sidebar-balance small { color: var(--muted); font-family: "DM Mono", monospace; font-size: 9px; }
.app-sidebar-footer { display: flex; justify-content: space-between; gap: 10px; margin-top: 18px; padding: 0 5px; }
.app-sidebar-footer a, .app-sidebar-footer button { padding: 0; border: 0; color: var(--muted); background: none; font-size: 10px; text-decoration: none; cursor: pointer; }
.app-sidebar-footer a span { color: var(--red); padding-left: 3px; }
.app-sidebar-footer form { margin: 0; }
.app-canvas { min-width: 0; }
.app-topbar { min-height: 72px; display: flex; align-items: center; gap: 20px; padding: 20px; border-bottom: 1px solid var(--line); background: var(--white); }
.app-topbar-context { color: var(--muted); font-family: "DM Mono", monospace; font-size: 9px; text-transform: uppercase; }
.app-topbar-cta { margin-left: auto; min-height: 38px; display: inline-flex; align-items: center; gap: 10px; padding: 0 14px; border: 1px solid var(--line); border-radius: 15px; color: var(--ink); font-size: 11px; text-decoration: none; }
.app-topbar-cta span { color: var(--red); }
.app-menu-toggle { display: none; }
.app-sidebar-scrim { display: none; }
body.app-menu-open { overflow: hidden; }
.app-main { width: 100%; min-height: calc(100vh - 72px); margin: 0; padding: 20px; }
.app-page-header { display: flex; align-items: flex-end; justify-content: space-between; gap: 20px; margin-bottom: 24px; }
.app-page-header h1 { margin: 0 0 4px; font-size: clamp(21px, 1.9vw, 23px); font-weight: 600; line-height: 1.25; letter-spacing: -0.015em; }
.app-page-header .body-copy { max-width: 560px; font-size: 10px; line-height: 1.6; }
.app-page-header .eyebrow { margin-bottom: 7px; font-size: 8px; }
.app-page-header > .button { flex: none; margin-top: 20px; }
.app-page-header > .status-pill { flex: none; margin-top: 3px; }
.app-date-mark { color: var(--muted); font-family: "DM Mono", monospace; font-size: 9px; line-height: 1.8; text-align: right; }
.app-stat-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 11px; margin-bottom: 23px; }
.app-stat-grid-earning { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.app-stat-footnote { margin-top: auto; padding-top: 14px; color: var(--muted); font-family: "DM Mono", monospace; font-size: 8px; text-transform: uppercase; }
.app-status-banner { display: flex; align-items: flex-start; gap: 17px; margin-bottom: 19px; padding: 21px; border: 1px solid #e1d5b4; border-radius: 15px; background: #f8f3e5; }
.app-status-icon { width: 31px; height: 31px; flex: none; display: grid; place-items: center; border-radius: 50%; color: var(--white); background: #a97832; font-weight: 700; }
.app-status-banner > div > span { color: #957235; font-family: "DM Mono", monospace; font-size: 8px; text-transform: uppercase; }
.app-status-banner h2 { margin: 7px 0 6px; font-size: 20px; font-weight: 600; }
.app-status-banner p { max-width: 650px; margin: 0; color: var(--muted); font-size: 11px; line-height: 1.8; }
.app-activation-callout { display: grid; grid-template-columns: 1.2fr .8fr; gap: 25px; margin-bottom: 14px; padding: 25px 27px; border-radius: 15px; color: var(--white); background: var(--ink); }
.app-activation-copy .eyebrow { margin-bottom: 8px; color: #d8e2fa; }
.app-activation-copy h2 { margin: 0 0 7px; font-size: 25px; font-weight: 600; }
.app-activation-copy p { max-width: 500px; margin: 0 0 16px; color: #d5dbe8; font-size: 11px; line-height: 1.8; }
.app-activation-steps { display: grid; align-content: center; gap: 10px; padding-left: 24px; border-left: 1px solid #ffffff3d; }
.app-activation-steps > div { display: flex; align-items: flex-start; gap: 11px; }
.app-activation-steps span { color: var(--yellow); font-family: "DM Mono", monospace; font-size: 9px; }
.app-activation-steps p { margin: 0; color: #d5dbe8; font-size: 10px; line-height: 1.65; }
.app-recording-metrics { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 1px; margin-bottom: 14px; overflow: hidden; border: 1px solid var(--line); border-radius: 15px; background: var(--line); }
.app-recording-metrics article { min-height: 99px; display: flex; flex-direction: column; justify-content: space-between; padding: 14px 16px; background: var(--white); }
.app-recording-metrics span { color: var(--muted); font-family: "DM Mono", monospace; font-size: 8px; text-transform: uppercase; }
.app-recording-metrics strong { color: var(--ink); font-size: 26px; font-weight: 600; }
.app-recording-metrics small { color: var(--muted); font-family: "DM Mono", monospace; font-size: 8px; text-transform: uppercase; }
.app-quick-actions { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 11px; margin-bottom: 22px; }
.app-quick-actions > a { min-height: 125px; position: relative; display: block; padding: 18px; border: 1px solid var(--line); border-radius: 15px; color: var(--ink); background: var(--white); text-decoration: none; transition: border-color .15s, transform .15s; }
.app-quick-actions > a:hover { border-color: var(--yellow); transform: translateY(-2px); }
.app-quick-actions span { color: var(--red); font-family: "DM Mono", monospace; font-size: 9px; }
.app-quick-actions strong { display: block; margin-top: 15px; font-size: 13px; }
.app-quick-actions p { margin: 5px 0 0; color: var(--muted); font-size: 10px; line-height: 1.55; }
.app-quick-actions b { position: absolute; top: 17px; right: 17px; color: var(--yellow); font-size: 16px; font-weight: 400; }
.app-dashboard-columns { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.app-panel-link { color: var(--ink); font-size: 10px; font-weight: 600; text-decoration: none; }
.app-panel-link span { padding-left: 5px; color: var(--red); }
.app-transaction-list, .app-submission-list { border-top: 1px solid var(--line); }
.app-transaction-row { display: grid; grid-template-columns: 80px minmax(0, 1fr) auto; gap: 10px; align-items: center; padding: 12px 0; border-bottom: 1px solid var(--line); font-size: 10px; }
.app-transaction-kind { color: var(--muted); font-family: "DM Mono", monospace; font-size: 8px; text-transform: uppercase; }
.app-transaction-row strong, .app-transaction-row small { display: block; }
.app-transaction-row strong { font-size: 10px; }
.app-transaction-row small { margin-top: 3px; color: var(--muted); font-size: 9px; }
.app-transaction-row > b { color: var(--green); font-size: 10px; }
.app-transaction-row > b.is-debit { color: var(--error); }
.app-submission-row { display: flex; align-items: flex-start; justify-content: space-between; gap: 12px; padding: 12px 0; border-bottom: 1px solid var(--line); }
.app-submission-row h3 { margin: 0 0 5px; font-size: 11px; font-weight: 600; line-height: 1.45; }
.app-submission-row small { color: var(--muted); font-size: 9px; }
.app-compact-empty { padding: 22px 0 16px; }
.app-compact-empty > span { font-size: 12px; font-weight: 600; }
.app-compact-empty > p { margin: 5px 0 0; color: var(--muted); font-size: 10px; line-height: 1.7; }
.app-page-balance { color: var(--ink); font-size: 22px; font-weight: 600; text-align: right; }
.app-page-balance small { display: block; margin-top: 4px; color: var(--muted); font-family: "DM Mono", monospace; font-size: 8px; font-weight: 400; text-transform: uppercase; }
.account-summary-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 11px; margin-bottom: 14px; }
.account-summary-card { min-width: 0; display: flex; flex-direction: column; gap: 7px; padding: 15px 17px; border: 1px solid var(--line); border-radius: 15px; background: var(--white); }
.account-summary-card > span { color: var(--muted); font-family: "DM Mono", monospace; font-size: 8px; text-transform: uppercase; }
.account-summary-card > strong { overflow: hidden; font-size: 11px; font-weight: 600; text-overflow: ellipsis; white-space: nowrap; }
.account-summary-card > small { color: var(--muted); font-size: 9px; }
.account-activation-grid { display: grid; grid-template-columns: 1.35fr .65fr; gap: 12px; margin-bottom: 14px; }
.account-price-row { display: flex; justify-content: space-between; gap: 15px; padding: 15px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); color: var(--muted); font-size: 11px; }
.account-price-row strong { color: var(--ink); font-size: 17px; font-weight: 600; }
.account-inline-status { margin: 19px 0; padding: 14px 15px; border-radius: 15px; background: #f7f8fb; }
.account-inline-status strong { font-size: 12px; }
.account-inline-status p { margin: 5px 0 0; color: var(--muted); font-size: 10px; line-height: 1.7; }
.account-inline-status.is-active { background: #edf7ef; }
.account-inline-status.is-suspended { background: #fcf2e4; }
.account-action-row { display: flex; flex-wrap: wrap; align-items: center; gap: 17px; }
.account-activation-paths { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; margin-top: 16px; }
.account-activation-paths a { display: grid; gap: 5px; padding: 14px 15px; border: 1px solid var(--line); border-radius: 15px; color: var(--ink); text-decoration: none; background: #fbfcff; }
.account-activation-paths a:hover { border-color: #b9c6e4; }
.account-activation-paths b { color: var(--yellow); font-family: "DM Mono", monospace; font-size: 8px; font-weight: 400; }
.account-activation-paths strong { font-size: 12px; font-weight: 600; }
.account-activation-paths span { color: var(--muted); font-size: 10px; line-height: 1.6; }
.account-text-link { color: var(--ink); font-size: 10px; font-weight: 600; text-decoration: none; }
.account-text-link span { padding-left: 4px; color: var(--red); }
.account-instructions { margin-top: 17px; padding: 14px; border-radius: 15px; background: #f7f8fb; }
.account-purchase-form { display: grid; gap: 10px; margin-top: 16px; }
.account-purchase-form input:not([type="hidden"]), .account-purchase-form select { min-height: 43px; }
.account-purchase-form .button { margin-top: 5px; }
.account-footnote { margin: 14px 0 0; color: var(--muted); font-size: 9px; line-height: 1.6; }
.account-side-panel { min-height: 330px; color: var(--white); background: var(--ink); border-color: var(--ink); }
.account-side-panel h2 { margin: 30px 0 10px; font-size: 23px; font-weight: 600; line-height: 1.25; }
.account-side-panel > p { margin: 0 0 20px; color: #d5dbe8; font-size: 11px; line-height: 1.8; }
.account-side-steps { display: grid; gap: 9px; margin-bottom: 22px; }
.account-side-steps span { display: flex; gap: 10px; color: #d5dbe8; font-size: 10px; line-height: 1.5; }
.account-side-steps b { color: var(--yellow); font-family: "DM Mono", monospace; font-size: 9px; font-weight: 400; }
.account-side-panel > a { color: var(--white); font-size: 10px; font-weight: 600; text-decoration: none; }
.account-side-panel > a span { color: var(--yellow); padding-left: 4px; }
.account-history-panel { padding-bottom: 9px; }
.account-history-list { border-top: 1px solid var(--line); }
.account-history-row { display: grid; grid-template-columns: 2fr .9fr .9fr .8fr; gap: 14px; align-items: center; padding: 14px 0; border-bottom: 1px solid var(--line); }
.account-history-row > div > span, .account-history-row > div > strong { display: block; font-size: 10px; }
.account-history-row > div > span { margin-bottom: 5px; color: var(--muted); font-family: "DM Mono", monospace; font-size: 8px; text-transform: uppercase; }
.account-history-row > div > strong { overflow: hidden; font-weight: 600; text-overflow: ellipsis; white-space: nowrap; }

/* Activation: code entry + buy-code checkout */
.activation-back-link { color: var(--ink); font-size: 11px; font-weight: 600; text-decoration: none; white-space: nowrap; }
.activation-back-link span { padding-left: 4px; color: var(--red); }
.activation-split { display: grid; grid-template-columns: 1.4fr .6fr; gap: 12px; align-items: start; }
.activation-side { display: grid; gap: 12px; }
.activation-entry-panel { min-height: 100%; }
.activation-code-form { display: grid; gap: 10px; margin-top: 6px; }
.activation-code-form label { color: var(--muted); font-family: "DM Mono", monospace; font-size: 8px; letter-spacing: .04em; text-transform: uppercase; }
.activation-code-form input[type="text"], .activation-code-form input:not([type="hidden"]):not([type="submit"]) { min-height: 52px; padding: 0 16px; border: 1px solid var(--line); border-radius: 15px; background: var(--white); color: var(--ink); font-family: "DM Mono", monospace; font-size: 16px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; }
.activation-code-form input:focus { outline: none; border-color: var(--yellow); box-shadow: 0 0 0 3px #0055ff1a; }
.activation-hint { margin: 0; color: var(--muted); font-size: 10px; line-height: 1.7; }
.activation-hint b { color: var(--ink); font-family: "DM Mono", monospace; font-size: 9px; }
.activation-code-form .button { margin-top: 4px; justify-self: start; }
.activation-prefix-list { margin-top: 20px; padding-top: 16px; border-top: 1px solid var(--line); display: grid; gap: 8px; }
.activation-prefix-label, .activation-steps-title, .activation-help-title, .checkout-section-title { color: var(--muted); font-family: "DM Mono", monospace; font-size: 8px; letter-spacing: .04em; text-transform: uppercase; }
.activation-prefix-row { display: flex; align-items: center; gap: 10px; padding: 9px 12px; border: 1px solid var(--line); border-radius: 12px; background: #fbfcff; }
.activation-prefix-row b { color: var(--yellow); font-family: "DM Mono", monospace; font-size: 10px; }
.activation-prefix-row span { font-size: 11px; font-weight: 600; }
.activation-prefix-row small { margin-left: auto; color: var(--muted); font-size: 9px; }
.activation-buy-panel { color: var(--white); background: var(--ink); border-color: var(--ink); }
.activation-buy-panel h2 { margin: 26px 0 10px; font-size: 22px; font-weight: 600; line-height: 1.25; }
.activation-buy-panel p { margin: 0 0 18px; color: #d5dbe8; font-size: 11px; line-height: 1.8; }
.activation-buy-panel .aside-mark { color: #ffffff2e; }
.activation-steps-panel { display: grid; gap: 12px; }
.activation-steps { display: grid; gap: 10px; margin: 0; padding: 0; list-style: none; }
.activation-steps li { display: flex; gap: 10px; align-items: flex-start; color: var(--muted); font-size: 10.5px; line-height: 1.6; }
.activation-steps li b { flex: none; color: var(--muted); font-family: "DM Mono", monospace; font-size: 9px; font-weight: 400; }
.activation-steps li.is-current { color: var(--ink); font-weight: 600; }
.activation-steps li.is-current b { color: var(--yellow); }
.activation-steps li.is-done { color: var(--muted); text-decoration: line-through; text-decoration-color: #c7cede; }
.activation-help-panel { display: grid; gap: 8px; }
.activation-help-panel p { margin: 0; color: var(--muted); font-size: 10.5px; line-height: 1.7; }
.activation-help-panel a, .activation-cancel-form button { color: var(--ink); font-size: 10.5px; font-weight: 600; text-decoration: none; background: none; border: 0; padding: 0; cursor: pointer; text-align: left; }
.activation-help-panel a span, .activation-cancel-form button span { padding-left: 3px; color: var(--red); }
.activation-cancel-form { margin: 0; }

.checkout-progress { display: flex; flex-wrap: wrap; gap: 10px; margin: 0 0 14px; padding: 0; list-style: none; }
.checkout-progress li { display: flex; align-items: center; gap: 8px; padding: 8px 14px; border: 1px solid var(--line); border-radius: 15px; color: var(--muted); font-size: 10.5px; }
.checkout-progress li b { font-family: "DM Mono", monospace; font-size: 8px; font-weight: 400; }
.checkout-progress li.is-current { color: var(--ink); border-color: var(--yellow); background: var(--mint); font-weight: 600; }
.checkout-progress li.is-current b { color: var(--yellow); }
.checkout-progress li.is-done { color: var(--muted); }
.checkout-plans { display: grid; gap: 12px; }
.checkout-plan-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
.checkout-plan-card { display: grid; gap: 9px; padding: 18px; border: 1px solid var(--line); border-radius: 18px; background: var(--white); color: var(--ink); text-decoration: none; transition: border-color .16s ease, box-shadow .16s ease, transform .16s ease; }
.checkout-plan-card:hover { border-color: #b9c6e4; box-shadow: 0 8px 24px #1617190f; transform: translateY(-1px); }
.checkout-plan-card.is-selected { border-color: var(--yellow); box-shadow: 0 0 0 2px #0055ff26; }
.checkout-plan-card.is-featured .checkout-plan-top strong { color: var(--yellow); }
.checkout-plan-top { display: flex; align-items: center; justify-content: space-between; gap: 8px; }
.checkout-plan-top strong { font-size: 15px; font-weight: 600; }
.checkout-plan-price { color: var(--ink); font-size: 26px; font-weight: 600; line-height: 1.1; }
.checkout-plan-price small { color: var(--muted); font-family: "DM Mono", monospace; font-size: 9px; }
.checkout-plan-tagline { color: var(--muted); font-size: 10.5px; line-height: 1.6; }
.checkout-plan-points { display: grid; gap: 5px; padding-top: 9px; border-top: 1px solid var(--line); }
.checkout-plan-points span { color: var(--muted); font-size: 10px; }
.checkout-plan-cta { margin-top: 4px; color: var(--yellow); font-size: 10.5px; font-weight: 600; }
.checkout-plan-cta span { padding-left: 3px; }
.checkout-pay-panel { margin-top: 2px; }
.checkout-inner { grid-template-columns: 1.5fr .5fr; }
.checkout-pay-main { display: grid; gap: 12px; align-content: start; }
.checkout-account-name { margin: 0; color: var(--ink); font-size: 13px; font-weight: 600; }
.checkout-field-list { display: grid; gap: 1px; margin: 0; border: 1px solid var(--line); border-radius: 15px; overflow: hidden; background: var(--line); }
.checkout-field { display: flex; align-items: center; justify-content: space-between; gap: 14px; padding: 11px 14px; background: var(--white); }
.checkout-field dt { color: var(--muted); font-family: "DM Mono", monospace; font-size: 8px; letter-spacing: .04em; text-transform: uppercase; }
.checkout-field dd { margin: 0; color: var(--ink); font-size: 11.5px; font-weight: 600; text-align: right; word-break: break-word; }
.checkout-field.is-amount dd { color: var(--yellow); font-size: 14px; }
.checkout-form { display: grid; gap: 9px; padding-top: 14px; border-top: 1px solid var(--line); }
.checkout-form label { color: var(--muted); font-family: "DM Mono", monospace; font-size: 8px; letter-spacing: .04em; text-transform: uppercase; }
.checkout-form input:not([type="hidden"]):not([type="submit"]), .checkout-form select { min-height: 44px; }
.checkout-form .button { margin-top: 4px; justify-self: start; }
.checkout-summary { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; margin-bottom: 16px; }
.checkout-summary > div { padding: 13px 15px; border: 1px solid var(--line); border-radius: 15px; background: #fbfcff; }
.checkout-summary span { display: block; margin-bottom: 5px; color: var(--muted); font-family: "DM Mono", monospace; font-size: 8px; letter-spacing: .04em; text-transform: uppercase; }
.checkout-summary strong { color: var(--ink); font-size: 13px; font-weight: 600; word-break: break-word; }
.checkout-summary > div.checkout-amount strong { color: var(--yellow); font-size: 19px; }
.checkout-summary strong small { color: var(--muted); font-family: "DM Mono", monospace; font-size: 9px; }
.checkout-account, .checkout-confirm { display: grid; gap: 9px; padding-top: 15px; margin-top: 15px; border-top: 1px solid var(--line); }
.checkout-confirm p { margin: 0; color: var(--muted); font-size: 10.5px; line-height: 1.7; }
.checkout-confirm .button { justify-self: start; }
.table-prompt { max-width: 260px; white-space: normal; font-size: 11px; line-height: 1.6; }
.table-actions { display: flex; gap: 6px; }
.table-actions form { margin: 0; }
.small-button-muted { color: var(--ink); background: #f0f2f7; }
.sr-only { width: 1px; height: 1px; position: absolute; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; }
.task-catalogue, .task-proficiency { margin-bottom: 12px; }
.task-toolbar { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; margin-bottom: 21px; }
.task-toolbar > div > span { display: block; margin-bottom: 8px; color: var(--muted); font-family: "DM Mono", monospace; font-size: 8px; text-transform: uppercase; }
.task-toolbar h2 { margin: 0 0 5px; font-size: 21px; font-weight: 600; }
.task-toolbar p { margin: 0; color: var(--muted); font-size: 11px; line-height: 1.7; }
.task-search { width: min(100%, 260px); flex: none; }
.task-search input { width: 100%; min-height: 42px; padding: 0 13px; border: 1px solid var(--line); border-radius: 15px; color: var(--ink); background: #fff; font-size: 11px; }
.task-search input::placeholder { color: #939baa; }
.language-table { overflow: hidden; border: 1px solid var(--line); border-radius: 15px; }
.language-table-head, .language-row { display: grid; grid-template-columns: minmax(0, 1.4fr) .85fr .65fr 60px; align-items: center; gap: 12px; padding: 0 16px; }
.language-table-head { min-height: 37px; color: var(--muted); background: #f7f8fb; font-family: "DM Mono", monospace; font-size: 8px; text-transform: uppercase; }
.language-row { min-height: 61px; border-top: 1px solid var(--line); cursor: pointer; }
.language-row:hover { background: #f8f9fc; }
.language-row:has(input:checked) { background: var(--mint); }
.language-row-name { min-width: 0; display: flex; align-items: center; gap: 10px; }
.language-row-name > b { width: 29px; height: 29px; flex: none; display: grid; place-items: center; border-radius: 9px; color: var(--yellow); background: #edf2ff; font-size: 11px; }
.language-row-name strong, .language-row-name small { display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.language-row-name strong { font-size: 11px; font-weight: 600; }
.language-row-name small { margin-top: 3px; color: var(--muted); font-family: "DM Mono", monospace; font-size: 8px; }
.language-availability { justify-self: start; padding: 5px 7px; border-radius: 7px; font-family: "DM Mono", monospace; font-size: 8px; text-transform: uppercase; }
.language-availability.is-open { color: #236d47; background: #e5f3e9; }
.language-availability.is-limited { color: #866322; background: #f8f0d9; }
.language-availability.is-paused { color: var(--muted); background: #eef0f4; }
.language-task-count { color: var(--muted); font-size: 10px; }
.language-check { position: relative; width: 23px; height: 23px; justify-self: end; }
.language-check input { width: 23px; height: 23px; position: absolute; inset: 0; margin: 0; opacity: 0; cursor: pointer; }
.language-check i { width: 23px; height: 23px; display: block; border: 1px solid #bdc6d6; border-radius: 7px; background: #fff; }
.language-check input:checked + i { border-color: var(--yellow); background: var(--yellow); }
.language-check input:checked + i::after { width: 10px; height: 6px; display: block; margin: 6px 0 0 6px; content: ""; border-bottom: 2px solid #fff; border-left: 2px solid #fff; transform: rotate(-45deg); }
.language-no-results { margin: 0; padding: 22px; color: var(--muted); font-size: 11px; text-align: center; }
.proficiency-options { display: flex; flex-wrap: wrap; gap: 8px; }
.proficiency-options label { flex: 1 1 130px; position: relative; }
.proficiency-options input { position: absolute; opacity: 0; }
.proficiency-options span { min-height: 40px; display: flex; align-items: center; justify-content: center; border: 1px solid var(--line); border-radius: 15px; color: var(--muted); font-size: 10px; cursor: pointer; }
.proficiency-options input:checked + span { border-color: var(--yellow); color: var(--ink); background: var(--mint); font-weight: 600; }
.studio-grid { display: grid; grid-template-columns: minmax(0, 1.45fr) minmax(240px, .55fr); gap: 12px; align-items: start; }
.studio-main { padding: 25px; }
.studio-meta-row { display: grid; grid-template-columns: .7fr 1.3fr; gap: 20px; padding-bottom: 17px; border-bottom: 1px solid var(--line); }
.studio-meta-row > div > span { display: block; margin-bottom: 7px; color: var(--muted); font-family: "DM Mono", monospace; font-size: 8px; text-transform: uppercase; }
.studio-meta-row > div > strong { display: block; font-size: 14px; font-weight: 600; line-height: 1.4; }
.studio-prompt { font-size: 12px !important; line-height: 1.6 !important; }
.studio-prompt-note { margin: 18px 0; padding: 13px 15px; border-radius: 15px; background: #f7f8fb; }
.studio-prompt-note span { color: var(--muted); font-family: "DM Mono", monospace; font-size: 8px; text-transform: uppercase; }
.studio-prompt-note p { margin: 5px 0 9px; color: var(--muted); font-size: 10px; line-height: 1.65; }
.studio-prompt-note a { color: var(--ink); font-size: 10px; font-weight: 600; text-decoration: none; }
.studio-prompt-note a span { color: var(--red); padding-left: 4px; }
.studio-recorder { padding: 17px; border: 1px solid var(--line); border-radius: 15px; background: #fafbfd; }
.studio-timer-row { display: flex; align-items: center; gap: 9px; }
.studio-live-dot { width: 8px; height: 8px; flex: none; border-radius: 50%; background: #c4ccd9; }
.studio-live-dot.is-recording { background: var(--red); box-shadow: 0 0 0 4px #ffdcd2; animation: pulse 1.2s infinite; }
#record-status { color: var(--muted); font-size: 10px; }
.studio-timer { margin-left: auto; color: var(--ink); font-family: "DM Mono", monospace; font-size: 26px; font-weight: 400; }
.studio-timer.is-paused { color: #a97832; }
.studio-limit { color: var(--muted); font-family: "DM Mono", monospace; font-size: 8px; }
.studio-waveform { width: 100%; height: 110px; margin: 12px 0; border-radius: 10px; background: #fff; }
.studio-waveform.is-recorded { background: #f4f7ff; }
.studio-actions { display: flex; flex-wrap: wrap; gap: 8px; }
.studio-pause { min-height: 46px; }
.studio-delete { padding: 0 5px; border: 0; color: var(--error); background: none; font-size: 10px; text-decoration: underline; text-underline-offset: 3px; cursor: pointer; }
#recording-preview { width: 100%; height: 36px; margin: 8px 0; }
.studio-consent { display: flex; align-items: flex-start; gap: 9px; margin: 17px 0 0 !important; color: var(--muted); font-size: 10px; font-weight: 400; line-height: 1.6; }
.studio-consent input { width: 16px; height: 16px; flex: none; margin: 1px 0 0; accent-color: var(--yellow); }
.studio-submit-row { margin-top: 19px; }
.studio-side { color: var(--white); background: var(--ink); border-color: var(--ink); }
.studio-side h2 { margin: 26px 0 15px; font-size: 24px; font-weight: 600; }
.studio-side .aside-mark { color: #bcc8db; font-size: 8px; }
.studio-guidelines { display: grid; gap: 12px; margin-bottom: 22px; }
.studio-guidelines span { display: flex; gap: 9px; color: #d5dbe8; font-size: 10px; line-height: 1.6; }
.studio-guidelines b { color: var(--yellow); font-family: "DM Mono", monospace; font-size: 9px; font-weight: 400; }
.studio-spec { display: grid; gap: 8px; padding-top: 16px; border-top: 1px solid #ffffff3d; }
.studio-spec span { display: flex; justify-content: space-between; gap: 10px; color: #bcc8db; font-size: 9px; }
.studio-spec strong { color: #fff; font-weight: 500; }
.studio-side > a { display: inline-block; margin-top: 18px; color: #fff; font-size: 10px; font-weight: 600; text-decoration: none; }
.studio-side > a span { color: var(--yellow); }
.submission-table { border-top: 1px solid var(--line); }
.submission-head, .submission-row { display: grid; grid-template-columns: 1.1fr 1fr .7fr .55fr .95fr .85fr; gap: 12px; align-items: start; padding: 14px 0; }
.submission-head { color: var(--muted); font-family: "DM Mono", monospace; font-size: 8px; text-transform: uppercase; }
.submission-row { border-top: 1px solid var(--line); }
.submission-row > div > span:first-child { display: block; margin-bottom: 6px; color: var(--muted); font-family: "DM Mono", monospace; font-size: 8px; text-transform: uppercase; }
.submission-row > div > strong { display: block; overflow: hidden; font-size: 10px; font-weight: 600; text-overflow: ellipsis; }
.submission-row > div > small { display: block; margin-top: 5px; color: var(--muted); font-size: 9px; line-height: 1.4; }
.submission-prompt { max-width: 220px; }
.submission-status.is-accepted, .submission-status.is-ready { color: #236d47; background: #e5f3e9; }
.submission-status.is-rejected { color: #a24637; background: #fae9e5; }
.submission-status.is-pending { color: #866322; background: #f8f0d9; }
.submission-reason { color: #a24637 !important; }
.manage-language-add { margin-bottom: 14px; padding: 18px 20px; border: 1px solid var(--line); border-radius: 15px; background: var(--white); }
.manage-language-form { display: grid; grid-template-columns: 1.2fr .7fr .65fr auto; gap: 11px; align-items: end; }
.manage-language-form label { display: block; margin-bottom: 6px; font-size: 10px; }
.manage-language-form input { width: 100%; min-height: 41px; padding: 0 11px; border: 1px solid var(--line); border-radius: 15px; font-size: 11px; }
.manage-language-form .button { min-height: 41px; padding: 0 13px; font-size: 10px; }
.app-language-panel { padding-bottom: 9px; }
.manage-language-list { border-top: 1px solid var(--line); }
.manage-language-row { min-height: 66px; display: grid; grid-template-columns: 1.3fr .7fr 1fr; gap: 14px; align-items: center; border-bottom: 1px solid var(--line); }
.manage-language-name strong, .manage-language-name small { display: block; }
.manage-language-name strong { font-size: 11px; }
.manage-language-name small { margin-top: 4px; color: var(--muted); font-family: "DM Mono", monospace; font-size: 8px; text-transform: uppercase; }
.manage-language-row form { margin: 0; }
.manage-language-row select { min-height: 35px; padding: 0 9px; border: 1px solid var(--line); border-radius: 10px; font-size: 10px; }
.manage-language-target { display: flex; align-items: center; gap: 8px; }
.manage-language-target label { display: flex; align-items: center; gap: 6px; color: var(--muted); font-size: 9px; }
.manage-language-target input { width: 60px; min-height: 34px; padding: 0 7px; border: 1px solid var(--line); border-radius: 10px; font-size: 10px; }
.manage-settings-heading { margin-bottom: 15px; }
.manage-settings-heading span { color: var(--muted); font-family: "DM Mono", monospace; font-size: 8px; text-transform: uppercase; }
.manage-settings-heading h2 { margin: 8px 0 5px; font-size: 20px; font-weight: 600; }
.manage-settings-heading p { margin: 0; color: var(--muted); font-size: 10px; }
.manage-language-editor { border-bottom: 1px solid var(--line); }
.manage-language-state { color: var(--muted); font-size: 10px; }
.manage-language-edit { padding: 0; border: 0; color: var(--yellow); background: none; font-family: "DM Mono", monospace; font-size: 9px; text-transform: uppercase; cursor: pointer; }
.manage-language-edit span { padding-left: 4px; color: var(--red); }
.manage-language-row { border-top: 1px solid var(--line); border-bottom: 0; }
.manage-language-row:last-child { border-bottom: 1px solid var(--line); }
.modal { position: fixed; inset: 0; z-index: 100; display: grid; place-items: center; padding: 20px; visibility: hidden; opacity: 0; transition: opacity .16s ease, visibility .16s ease; }
.modal.is-open { visibility: visible; opacity: 1; }
.modal-backdrop { position: absolute; inset: 0; background: #1617198c; backdrop-filter: blur(2px); }
.modal-dialog { width: min(100%, 455px); max-height: calc(100vh - 40px); position: relative; overflow-y: auto; padding: 25px; border-radius: 15px; background: var(--white); box-shadow: 0 24px 65px #16171945; transform: translateY(8px) scale(.985); transition: transform .18s ease; }
.modal.is-open .modal-dialog { transform: translateY(0) scale(1); }
.modal-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 18px; margin-bottom: 21px; }
.modal-head > div > span { color: var(--muted); font-family: "DM Mono", monospace; font-size: 8px; text-transform: uppercase; }
.modal-head h2 { margin: 7px 0 0; font-size: 22px; font-weight: 600; line-height: 1.25; }
.modal-close { width: 34px; height: 34px; flex: none; display: grid; place-items: center; padding: 0; border: 1px solid var(--line); border-radius: 15px; color: var(--ink); background: var(--white); font-size: 20px; line-height: 1; cursor: pointer; }
.modal-form { display: grid; gap: 12px; }
.modal-form input:not([type="checkbox"]), .modal-form select { width: 100%; min-height: 43px; padding: 0 12px; border: 1px solid var(--line); border-radius: 15px; color: var(--ink); background: #fafbfd; font-size: 11px; }
.modal-form input::placeholder { color: #939baa; }
.modal-form label:not(.modal-check) { display: block; margin-bottom: 6px; font-size: 10px; }
.modal-form-split { display: grid; grid-template-columns: 1fr 1fr; gap: 11px; }
.modal-check { display: flex; align-items: center; gap: 8px; padding-top: 3px; color: var(--muted); font-size: 10px; font-weight: 400; }
.modal-check input { width: 16px; height: 16px; margin: 0; accent-color: var(--yellow); }
.modal-actions { display: flex; align-items: center; gap: 12px; margin-top: 8px; }
.modal-actions .button { flex: 1; }
.modal-cancel { padding: 8px 2px; border: 0; color: var(--muted); background: none; font-size: 10px; cursor: pointer; }
body.modal-open { overflow: hidden; }

@media (max-width: 650px) {
    .modal { padding: 12px; align-items: end; }
    .modal-dialog { width: 100%; max-height: calc(100vh - 24px); padding: 20px 18px; }
    .modal-head h2 { font-size: 20px; }
    .manage-language-row { grid-template-columns: minmax(0, 1fr) auto; padding: 13px 0; }
    .manage-language-state { display: none; }
}
.admin-suite-label { color: #b8c2d6; border-color: #ffffff2e; }
.admin-nav-label { margin-top: 17px; }
.admin-nav-label:first-child { margin-top: 0; }
.app-nav-count { min-width: 22px; margin-left: auto; padding: 3px 6px; border-radius: 7px; color: var(--yellow); background: #eef3ff; font-family: "DM Mono", monospace; font-size: 8px; font-weight: 400; text-align: center; }
.app-nav-link.is-active .app-nav-count { color: var(--white); background: var(--yellow); }
.admin-sidebar-users { color: var(--muted); font-size: 10px; }
.admin-sidebar-users small { display: block; margin-top: 4px; font-family: "DM Mono", monospace; font-size: 8px; text-transform: uppercase; }
.admin-stat-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.admin-activity-row, .admin-submission-row { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 13px 0; border-bottom: 1px solid var(--line); color: var(--ink); text-decoration: none; }
.admin-activity-row > div strong, .admin-activity-row > div small, .admin-submission-row > div h3, .admin-submission-row > div small { display: block; }
.admin-activity-row > div strong { font-size: 11px; }
.admin-activity-row > div small, .admin-submission-row > div small { margin-top: 4px; color: var(--muted); font-size: 9px; }
.admin-activity-row > span { color: var(--ink); font-size: 10px; font-weight: 600; }
.admin-submission-row h3 { margin: 0; font-size: 11px; font-weight: 600; line-height: 1.4; }
.admin-submission-row > strong { color: var(--green); font-size: 11px; font-weight: 600; }
.admin-activity-row:hover, .admin-submission-row:hover { background: #f8f9fc; }

@media (max-width: 650px) {
    .admin-stat-grid { grid-template-columns: 1fr; }
    .app-nav-count { margin-left: 4px; }
}
@keyframes pulse { 50% { opacity: .48; } }

@media (max-width: 1000px) {
    .studio-grid { grid-template-columns: 1fr; }
    .submission-head, .submission-row { grid-template-columns: 1.2fr 1fr .8fr .7fr; }
    .submission-head span:nth-child(5), .submission-head span:nth-child(6), .submission-row > div:nth-child(5), .submission-row > div:nth-child(6) { grid-column: span 2; }
    .manage-language-form { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 650px) {
    .task-toolbar { align-items: stretch; flex-direction: column; gap: 16px; }
    .task-search { width: 100%; }
    .language-table-head { display: none; }
    .language-row { grid-template-columns: minmax(0, 1fr) auto; gap: 7px 12px; padding: 12px 13px; }
    .language-row-name { grid-row: span 2; }
    .language-availability { grid-column: 2; grid-row: 1; justify-self: end; }
    .language-task-count { grid-column: 2; grid-row: 2; text-align: right; }
    .language-check { display: none; }
    .language-row:has(input:checked) { box-shadow: inset 3px 0 0 var(--yellow); }
    .studio-meta-row { grid-template-columns: 1fr; gap: 13px; }
    .studio-actions .button { flex: 1 1 auto; }
    .studio-delete { width: 100%; text-align: left; }
    .submission-head { display: none; }
    .submission-row { grid-template-columns: 1fr 1fr; gap: 13px; padding: 15px 0; }
    .submission-row > div:nth-child(1), .submission-row > div:nth-child(5) { grid-column: span 2; }
    .submission-row > div:nth-child(5) { display: flex; align-items: center; gap: 9px; }
    .submission-row > div:nth-child(5) > span:first-child { margin: 0; }
    .manage-language-row { grid-template-columns: 1fr 1fr; padding: 13px 0; }
    .manage-language-name { grid-column: span 2; }
    .manage-language-form { grid-template-columns: 1fr; }
}

.app-stat-card { min-height: 181px; display: flex; flex-direction: column; align-items: flex-start; padding: 20px; border: 1px solid var(--line); border-radius: 15px; background: var(--white); }
.app-stat-card > span { color: var(--muted); font-family: "DM Mono", monospace; font-size: 8px; text-transform: uppercase; }
.app-stat-card > strong { margin: auto 0 17px; color: var(--ink); font-size: 29px; font-weight: 600; line-height: 1.05; }
.app-stat-card > strong small { display: inline-block; margin-left: 7px; color: var(--muted); font-family: "DM Mono", monospace; font-size: 9px; font-weight: 400; line-height: 1.4; vertical-align: middle; text-transform: uppercase; }
.app-stat-card a { color: var(--ink); font-size: 10px; text-decoration: none; }
.app-stat-card a span { padding-left: 5px; color: var(--red); }
.app-stat-primary { color: var(--white); background: var(--yellow); border-color: var(--yellow); }
.app-stat-primary > span, .app-stat-primary > strong { color: var(--white); }
.app-stat-primary > strong small { color: #dce5ff; }
.app-stat-primary a { color: #edf2ff; }
.app-stat-primary a span { color: var(--white); }
.app-stat-status { color: var(--green) !important; }
.app-dashboard-split { display: grid; grid-template-columns: 1.15fr .85fr; gap: 12px; }
.app-panel { padding: 26px; border: 1px solid var(--line); border-radius: 15px; background: var(--white); }
.app-dashboard-split > .app-panel:first-child { border-top: 4px solid var(--yellow); }
.app-panel-heading { display: flex; align-items: flex-start; justify-content: space-between; gap: 15px; margin-bottom: 18px; }
.app-panel-heading > div > span { color: var(--muted); font-family: "DM Mono", monospace; font-size: 8px; text-transform: uppercase; }
.app-panel-heading h2 { margin: 10px 0 0; font-size: 24px; font-weight: 600; line-height: 1.2; }
.app-panel-mark { color: var(--yellow); font-size: 27px; line-height: 1; }
.app-panel > p { max-width: 560px; margin: 0 0 21px; color: var(--muted); font-size: 12px; line-height: 1.8; }
.app-panel-meta { display: flex; justify-content: space-between; gap: 15px; margin: 0 0 22px; padding-top: 16px; border-top: 1px solid var(--line); color: var(--muted); font-family: "DM Mono", monospace; font-size: 8px; text-transform: uppercase; }
.app-panel-quiet { background: #f7f8fb; }
.app-profile-list { display: grid; grid-template-columns: 95px minmax(0, 1fr); gap: 13px 10px; padding: 5px 0 19px; }
.app-profile-list span { color: var(--muted); font-size: 10px; }
.app-profile-list strong { overflow: hidden; color: var(--ink); font-size: 11px; font-weight: 600; text-overflow: ellipsis; }
.app-inline-link { color: var(--ink); font-size: 11px; font-weight: 600; text-decoration: none; }
.app-inline-link span { padding-left: 5px; color: var(--red); }
.app-recordings-summary { display: grid; grid-template-columns: repeat(3, 1fr); gap: 11px; margin-bottom: 23px; }
.app-recordings-summary > div { min-height: 103px; display: flex; flex-direction: column; justify-content: space-between; padding: 16px 19px; border: 1px solid var(--line); border-radius: 15px; background: var(--white); }
.app-recordings-summary span { color: var(--muted); font-family: "DM Mono", monospace; font-size: 8px; text-transform: uppercase; }
.app-recordings-summary strong { color: var(--ink); font-size: 21px; font-weight: 600; }
.app-recordings-summary small { color: var(--muted); font-family: "DM Mono", monospace; font-size: 9px; font-weight: 400; }
.app-recordings-panel { padding-bottom: 13px; }
.app-recording-list { border-top: 1px solid var(--line); }
.app-recording-row { display: grid; grid-template-columns: minmax(0, 1fr) 120px auto; gap: 17px; align-items: center; padding: 17px 0; border-bottom: 1px solid var(--line); }
.app-recording-prompt > span { color: var(--muted); font-family: "DM Mono", monospace; font-size: 8px; text-transform: uppercase; }
.app-recording-prompt h3 { margin: 5px 0 4px; font-size: 12px; font-weight: 600; line-height: 1.4; }
.app-recording-prompt small { color: var(--muted); font-size: 10px; }
.app-recording-reward span, .app-recording-reward strong { display: block; }
.app-recording-reward span { color: var(--muted); font-family: "DM Mono", monospace; font-size: 8px; text-transform: uppercase; }
.app-recording-reward strong { margin-top: 5px; color: var(--green); font-size: 12px; }
.app-empty-state { display: flex; flex-direction: column; align-items: flex-start; padding: 35px 0 34px; }
.app-empty-state > span { color: var(--yellow); font-size: 28px; }
.app-empty-state h3 { margin: 14px 0 7px; font-size: 20px; }
.app-empty-state p { max-width: 400px; margin: 0 0 19px; color: var(--muted); font-size: 12px; line-height: 1.8; }

@media (max-width: 860px) {
    .app-frame { display: block; }
    .app-sidebar { position: fixed; inset: 0 auto 0 0; z-index: 60; width: min(285px, calc(100vw - 42px)); transform: translateX(-105%); transition: transform .22s ease; box-shadow: 14px 0 40px #16171926; }
    .app-frame.is-menu-open .app-sidebar { transform: translateX(0); }
    .app-sidebar-scrim { position: fixed; inset: 0; z-index: 55; display: block; visibility: hidden; background: #16171980; opacity: 0; transition: opacity .22s, visibility .22s; }
    .app-frame.is-menu-open + .app-sidebar-scrim { visibility: visible; opacity: 1; }
    .app-menu-toggle { width: 40px; height: 40px; flex: none; display: flex; flex-direction: column; justify-content: center; align-items: center; gap: 4px; padding: 0; border: 1px solid var(--line); border-radius: 15px; background: var(--white); cursor: pointer; }
    .app-menu-toggle span { width: 16px; height: 2px; display: block; background: var(--ink); }
    .app-topbar { min-height: 65px; }
    .app-main { width: 100%; min-height: calc(100vh - 65px); padding: 20px; }
}

@media (max-width: 650px) {
    .app-topbar { gap: 13px; padding: 0 18px; }
    .app-topbar-context { overflow: hidden; font-size: 8px; text-overflow: ellipsis; white-space: nowrap; }
    .app-topbar-cta { min-height: 36px; padding: 0 10px; font-size: 9px; }
    .app-page-header { align-items: flex-start; flex-direction: column; gap: 11px; margin-bottom: 21px; }
    .app-page-header h1 { font-size: 21px; }
    .app-page-header > .button { margin-top: 0; }
    .app-date-mark { display: none; }
    .app-stat-grid, .app-recordings-summary { grid-template-columns: 1fr; }
    .app-stat-grid-earning, .app-recording-metrics, .account-summary-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .app-activation-callout, .account-activation-grid, .app-dashboard-columns { grid-template-columns: 1fr; }
    .activation-split, .checkout-inner { grid-template-columns: minmax(0, 1fr); }
    .checkout-plan-grid { grid-template-columns: minmax(0, 1fr); }
    .checkout-summary { grid-template-columns: minmax(0, 1fr); }
    .activation-back-link { font-size: 10px; }
    .app-quick-actions { grid-template-columns: 1fr; }
    .app-activation-steps { padding: 17px 0 0; border-top: 1px solid #ffffff3d; border-left: 0; }
    .account-history-row { grid-template-columns: 1fr 1fr; }
    .app-transaction-row { grid-template-columns: 65px minmax(0, 1fr) auto; }
    .app-stat-card { min-height: 144px; }
    .app-dashboard-split { grid-template-columns: 1fr; }
    .app-panel { padding: 21px 18px; }
    .app-panel-heading h2 { font-size: 21px; }
    .app-recording-row { grid-template-columns: minmax(0, 1fr) auto; gap: 12px; }
    .app-recording-reward { grid-column: 1 / 2; }
    .app-recording-row .status-pill { grid-column: 2 / 3; grid-row: 1 / 3; }
    .app-profile-list { grid-template-columns: 85px minmax(0, 1fr); }
}

.welcome-row { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; margin-bottom: 38px; }
.welcome-row h1, .page-heading h1 { font-size: clamp(22px, 2vw, 24px); }
.balance-panel { min-width: 210px; padding: 18px 20px; border: 1px solid var(--line); border-radius: 15px; background: var(--white); }
.balance-panel span, .balance-panel strong { display: block; }
.balance-panel span { margin-bottom: 9px; color: var(--muted); font-size: 11px; }
.balance-panel strong { color: var(--green); font-family: "Sora", sans-serif; font-size: 23px; font-weight: 500; }
.workspace-links { border-top: 1px solid var(--line); }
.workspace-link { min-height: 90px; display: grid; grid-template-columns: 58px 1fr 30px; align-items: center; padding: 0 15px; border: 1px solid var(--line); border-radius: 15px; margin-top: 10px; text-decoration: none; }
.workspace-link > span:nth-child(2) strong, .workspace-link > span:nth-child(2) small { display: block; }
.workspace-link strong { font-family: "Sora", sans-serif; font-size: 20px; font-weight: 500; }
.workspace-link small { margin-top: 5px; color: var(--muted); font-size: 12px; }
.link-arrow { color: var(--red); font-size: 20px; }
.page-heading { max-width: 760px; margin-bottom: 16px; }
.page-heading h1 { margin-bottom: 5px; font-size: clamp(22px, 2vw, 24px); font-weight: 600; line-height: 1.25; letter-spacing: -0.015em; }
.page-heading .eyebrow { margin-bottom: 8px; font-size: 8px; }
.page-heading .body-copy { display: -webkit-box; overflow: hidden; font-size: 10px; line-height: 1.55; -webkit-box-orient: vertical; -webkit-line-clamp: 1; }
.detail-grid { display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(240px, .7fr); gap: 14px; align-items: start; }
.detail-main, .detail-aside, .task-section, .auth-panel { border: 1px solid var(--line); border-radius: 15px; background: var(--white); }
.detail-main { padding: 28px; }
.status-row { min-height: 48px; display: flex; align-items: center; justify-content: space-between; gap: 16px; border-bottom: 1px solid var(--line); font-size: 13px; }
.status-row > span { color: var(--muted); }
.status-row > strong { font-size: 13px; }
.status-pill { display: inline-flex; align-items: center; padding: 6px 9px; border-radius: 2px; color: #795c1e; background: #f4ecd3; font-family: "DM Mono", monospace; font-size: 10px; text-transform: uppercase; }
.status-pill.is-ready { color: var(--green); background: var(--mint); }
.detail-main > .button { margin-top: 24px; }
.detail-aside { min-height: 230px; padding: 25px; background: var(--ink); color: var(--white); }
.aside-mark { color: var(--yellow); font-family: "DM Mono", monospace; font-size: 11px; }
.detail-aside h2 { margin: 34px 0 8px; font-family: "Sora", sans-serif; font-size: 25px; font-weight: 500; }
.detail-aside p { margin: 0; color: #d9deea; font-size: 13px; line-height: 1.7; }
.purchase-form { margin-top: 24px; }
.price-line { display: flex; justify-content: space-between; margin: 0 0 16px; color: var(--muted); font-size: 13px; }
.price-line strong { color: var(--ink); }
.payment-instructions, .muted-copy { margin: 0 0 18px; color: var(--muted); font-size: 13px; line-height: 1.7; }
.activation-code-box, .pending-box { margin-top: 24px; padding: 20px; border-radius: 15px; background: #f0f3ed; }
.activation-code-box h2 { margin: 0 0 7px; font-family: "Sora", sans-serif; font-size: 23px; font-weight: 500; }
.activation-code-box p, .pending-box p { color: var(--muted); font-size: 13px; line-height: 1.6; }
.activation-code-box form { display: grid; gap: 10px; }
.pending-box strong { font-size: 14px; }
.pending-box span { color: var(--muted); font-family: "DM Mono", monospace; font-size: 10px; overflow-wrap: anywhere; }
.auth-shell { min-height: 100vh; display: grid; grid-template-rows: auto 1fr; padding: 28px clamp(20px, 6vw, 88px); background: linear-gradient(140deg, #eef3ff 0%, #ffffff 100%); }
.auth-content { display: grid; place-items: center; padding: 38px 0; }
.auth-panel { width: min(100%, 430px); padding: 34px; box-shadow: 12px 12px 0 #214f4210; }
.auth-panel h1 { font-size: 40px; }
.auth-panel form { display: grid; gap: 11px; }
label { font-size: 12px; font-weight: 700; }
input:not([type="checkbox"]):not([type="hidden"]), select { width: 100%; min-height: 44px; padding: 10px 12px; border: 1px solid var(--line); border-radius: 15px; color: var(--ink); background: #fff; }
.auth-panel form .button { margin-top: 10px; }
.auth-switch { margin: 20px 0 0; color: var(--muted); font-size: 12px; }
.auth-switch a { color: var(--green); font-weight: 700; }
.task-heading { margin-bottom: 28px; }
.task-form { display: grid; gap: 18px; }
.task-section { padding: 25px 28px; }
.section-heading { display: flex; gap: 16px; align-items: flex-start; margin-bottom: 20px; }
.section-heading > span { padding-top: 4px; color: var(--red); font-family: "DM Mono", monospace; font-size: 11px; }
.section-heading h2 { margin: 0 0 5px; font-family: "Sora", sans-serif; font-size: 23px; font-weight: 500; }
.section-heading p { margin: 0; color: var(--muted); font-size: 12px; line-height: 1.6; }
.language-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(140px, 1fr)); gap: 8px; }
.language-choice { min-height: 43px; display: flex; align-items: center; gap: 10px; padding: 0 12px; border: 1px solid var(--line); border-radius: 15px; font-size: 12px; cursor: pointer; }
.language-choice:has(input:checked) { border-color: var(--yellow); background: var(--mint); }
.language-choice input { accent-color: var(--green); }
.prompt-box { margin: 0 0 19px 32px; padding: 17px 19px; border-left: 3px solid var(--yellow); background: var(--mint); }
.prompt-box span { color: var(--muted); font-family: "DM Mono", monospace; font-size: 10px; text-transform: uppercase; }
.prompt-box p { margin: 8px 0 0; font-family: "Sora", sans-serif; font-size: 19px; }
.recorder-controls { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; }
.button-secondary { border: 1px solid var(--line); color: var(--ink); background: transparent; }
.button-secondary:hover:not(:disabled) { color: white; }
.record-dot { width: 8px; height: 8px; border-radius: 50%; background: #fff; }
#record-status { color: var(--muted); font-size: 11px; }
#recording-preview { width: min(100%, 420px); height: 40px; margin-top: 16px; }
.task-submit-row { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 18px 0 0; border-top: 1px solid var(--line); }
.task-submit-row p { margin: 0; color: var(--muted); font-size: 12px; }
.task-submit-row strong { margin-left: 7px; color: var(--green); }
.form-hint { margin: -10px 0 0; color: var(--muted); font-size: 10px; }
.notice { margin-bottom: 18px; padding: 13px 15px; border-left: 3px solid var(--green); background: #e6eee7; font-size: 12px; line-height: 1.6; }
.notice-error { border-color: var(--error); background: #f7e9e5; color: #742d25; }
.notice-warning { border-color: #b19036; background: #f4efd9; }
.compact-heading { margin-bottom: 14px; }
.issued-code { margin-bottom: 25px; padding: 20px; border: 1px solid #d3bd70; border-radius: 15px; background: #f7f0d7; }
.issued-code span, .issued-code strong { display: block; }
.issued-code span { color: var(--muted); font-family: "DM Mono", monospace; font-size: 10px; text-transform: uppercase; }
.issued-code strong { margin: 9px 0; color: var(--green); font-family: "DM Mono", monospace; font-size: 24px; letter-spacing: 2px; }
.issued-code p { margin: 0; color: var(--muted); font-size: 12px; }
.table-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: 15px; background: var(--white); }
table { width: 100%; border-collapse: collapse; text-align: left; font-size: 12px; }
th, td { padding: 14px 16px; border-bottom: 1px solid var(--line); white-space: nowrap; }
th { color: var(--muted); font-family: "DM Mono", monospace; font-size: 10px; font-weight: 400; text-transform: uppercase; }
td strong, td small { display: block; }
td small { margin-top: 4px; color: var(--muted); }
.small-button { padding: 8px 10px; border: 0; border-radius: 15px; color: white; background: var(--green); font-size: 10px; cursor: pointer; }
.empty-table { padding: 28px; color: var(--muted); text-align: center; }
.text-link { color: var(--green); text-underline-offset: 4px; }
@keyframes arrive { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: translateY(0); } }

@media (max-width: 720px) {
    .hero-band { grid-template-columns: 1fr; gap: 42px; padding-top: 58px; padding-bottom: 56px; }
    .hero-art { min-height: 260px; }
    .steps-band { grid-template-columns: 1fr; gap: 22px; }
    .welcome-row { align-items: flex-start; flex-direction: column; }
    .balance-panel { width: 100%; }
    .detail-grid { grid-template-columns: 1fr; }
}

@media (max-width: 560px) {
    .topbar { align-items: flex-start; flex-direction: column; justify-content: center; padding-top: 15px; padding-bottom: 15px; }
    .site-nav, .mobile-nav { gap: 14px; }
    .app-main { width: 100%; padding: 20px; }
    .auth-panel { padding: 27px 22px; }
    .task-section, .detail-main { padding: 20px 17px; }
    .task-submit-row { align-items: flex-start; flex-direction: column; }
}

.public-header { position: sticky; z-index: 30; top: 0; min-height: 78px; padding: 0 clamp(22px, 5vw, 76px); }
.public-header .wordmark { color: var(--ink); font-size: 23px; font-weight: 800; }
.public-header .wordmark span { color: var(--ink); }
.public-header .wordmark i { color: var(--red); font-style: normal; }
.site-nav { gap: 22px; font-size: 12px; }
.site-nav > a, .nav-dropdown summary { min-height: 40px; display: inline-flex; align-items: center; gap: 7px; }
.site-nav .nav-signin { margin-left: 8px; }
.site-nav .nav-cta { min-height: 42px; padding: 0 15px; border: 0; border-radius: 15px; background: var(--yellow); }
.nav-dropdown { position: relative; }
.nav-dropdown summary { list-style: none; cursor: pointer; }
.nav-dropdown summary::-webkit-details-marker { display: none; }
.nav-dropdown summary span { color: var(--red); }
.nav-menu { position: absolute; top: calc(100% + 15px); right: -24px; z-index: 40; width: 280px; display: grid; padding: 10px 18px; border: 1px solid var(--line); border-radius: 15px; background: var(--white); box-shadow: 0 16px 36px #16171920; }
.nav-menu a { min-height: 42px; display: flex; align-items: center; justify-content: space-between; border-bottom: 1px solid var(--line); font-size: 12px; text-decoration: none; }
.nav-menu a:last-child { border-bottom: 0; }
.nav-menu a span { color: var(--red); }
.public-hero { min-height: 610px; position: relative; display: flex; align-items: center; overflow: hidden; color: var(--white); background: var(--ink); }
.public-hero-image { position: absolute; inset: 0 0 0 40%; width: 60%; height: 100%; object-fit: cover; object-position: center 42%; }
.hero-image-wash { position: absolute; inset: 0; background: linear-gradient(90deg, var(--ink) 0%, var(--ink) 32%, #161719e8 47%, #16171945 76%, #16171920 100%), linear-gradient(0deg, #16171980 0%, transparent 32%); }
.public-hero-copy { width: min(760px, 68%); position: relative; z-index: 2; padding: 76px 0 90px clamp(24px, 9vw, 136px); animation: arrive .55s ease-out both; }
.hero-kicker { display: flex; align-items: center; gap: 14px; margin: 0 0 30px; color: #d3dcf2; font-family: "DM Mono", monospace; font-size: 10px; text-transform: uppercase; }
.hero-kicker span { padding: 7px 9px; color: var(--ink); background: var(--yellow); }
.public-hero h1 { margin: 0; font-size: 74px; font-weight: 600; line-height: 1.06; }
.public-hero h1 em { color: var(--yellow); font-style: normal; }
.public-hero-lead { max-width: 500px; margin: 24px 0 28px; color: #d2d7e1; font-size: 15px; line-height: 1.85; }
.hero-action, .closing-action { min-height: 50px; display: inline-flex; align-items: center; justify-content: space-between; gap: 30px; padding: 0 17px; border-radius: 15px; color: var(--white); background: var(--red); font-size: 12px; font-weight: 700; text-decoration: none; }
.hero-action span, .closing-action span { font-size: 18px; }
.hero-action:hover { background: #e94d1f; }
.hero-caption { position: absolute; right: clamp(24px, 6vw, 84px); bottom: 25px; left: clamp(24px, 9vw, 136px); z-index: 2; display: flex; justify-content: space-between; color: #d2d7e1; font-family: "DM Mono", monospace; font-size: 9px; }
.hero-side-mark { position: absolute; top: 34px; right: 28px; color: #ffffffa6; font-family: "DM Mono", monospace; font-size: 10px; line-height: 1.6; }
.page-index-bar { min-height: 55px; display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 0 clamp(24px, 9vw, 136px); color: var(--muted); background: var(--white); font-family: "DM Mono", monospace; font-size: 9px; text-transform: uppercase; }
.page-index-bar b { padding: 0 5px; color: var(--red); }
.marketing-section { min-height: 400px; display: grid; grid-template-columns: minmax(0, .86fr) minmax(0, 1.14fr); gap: 9%; align-items: start; padding: 78px clamp(24px, 9vw, 136px) 84px; }
.tone-paper { color: var(--ink); background: var(--white); }
.tone-blue { color: var(--white); background: var(--yellow); }
.tone-ink { color: var(--white); background: var(--ink); }
.section-heading-block { max-width: 440px; }
.section-overline { display: flex; align-items: center; gap: 9px; margin: 0 0 24px; color: var(--muted); font-family: "DM Mono", monospace; font-size: 9px; text-transform: uppercase; }
.section-overline > span { color: var(--red); }
.section-overline i { width: 24px; height: 1px; display: inline-block; background: currentColor; }
.tone-blue .section-overline, .tone-ink .section-overline { color: #dce5ff; }
.tone-blue .section-overline > span, .tone-ink .section-overline > span { color: #fff; }
.marketing-section h2 { max-width: 420px; margin: 0; font-size: 38px; font-weight: 600; line-height: 1.2; }
.section-copy-block { max-width: 600px; }
.section-intro { margin: 0 0 25px; color: var(--muted); font-size: 14px; line-height: 1.85; }
.tone-blue .section-intro, .tone-ink .section-intro { color: #e2e8fa; }
.section-point { display: grid; grid-template-columns: 35px minmax(0, 1fr); gap: 8px; padding: 17px 0; border-top: 1px solid var(--line); }
.tone-blue .section-point, .tone-ink .section-point { border-color: #ffffff4d; }
.section-point > span { padding-top: 3px; color: var(--red); font-family: "DM Mono", monospace; font-size: 9px; }
.tone-blue .section-point > span, .tone-ink .section-point > span { color: #fff; }
.section-point h3 { margin: 0 0 6px; font-size: 13px; font-weight: 700; }
.section-point p { margin: 0; color: var(--muted); font-size: 12px; line-height: 1.75; }
.tone-blue .section-point p, .tone-ink .section-point p { color: #e2e8fa; }
.closing-callout { display: grid; grid-template-columns: .65fr 1.5fr auto; align-items: end; gap: 36px; padding: 68px clamp(24px, 9vw, 136px) 74px; color: var(--white); background: var(--ink); }
.closing-callout .eyebrow { margin: 0 0 15px; color: var(--yellow); }
.closing-callout h2 { margin: 0; font-size: 39px; font-weight: 600; line-height: 1.18; }
.closing-callout > div > p { margin: 13px 0 0; color: #d2d7e1; font-size: 12px; }
.closing-action { color: var(--ink); background: var(--yellow); }
.closing-action:hover { background: #dce5ff; }
.public-footer { display: grid; grid-template-columns: 1fr 1.4fr; gap: 45px; padding: 52px clamp(24px, 9vw, 136px) 20px; color: var(--ink); background: var(--white); font-family: "Sora", sans-serif; font-size: 12px; text-transform: none; }
.footer-brand .wordmark { display: inline-block; font-family: "Sora", sans-serif; }
.footer-brand p { max-width: 260px; margin: 13px 0 25px; color: var(--muted); font-size: 12px; line-height: 1.7; }
.footer-admin { color: var(--muted); font-family: "DM Mono", monospace; font-size: 9px; text-transform: uppercase; }
.footer-pages { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px 20px; align-content: start; }
.footer-pages > span { grid-column: 1 / -1; margin-bottom: 4px; color: var(--muted); font-family: "DM Mono", monospace; font-size: 9px; text-transform: uppercase; }
.footer-pages a { text-decoration: none; }
.footer-pages a:hover { color: var(--yellow); }
.footer-bottom { grid-column: 1 / -1; display: flex; justify-content: space-between; gap: 20px; padding-top: 19px; border-top: 1px solid var(--line); color: var(--muted); font-family: "DM Mono", monospace; font-size: 9px; text-transform: uppercase; }
button { border-radius: 15px; }

@media (max-width: 900px) {
    .site-nav { gap: 13px; }
    .site-nav > a, .nav-dropdown summary { font-size: 11px; }
    .public-hero h1 { font-size: 62px; }
    .marketing-section { gap: 6%; }
    .closing-callout { grid-template-columns: 1fr auto; }
    .closing-callout > .eyebrow { grid-column: 1 / -1; }
}

@media (max-width: 650px) {
    .public-header { gap: 8px; padding: 14px 20px; }
    .public-header .wordmark { font-size: 21px; }
    .site-nav { width: 100%; justify-content: space-between; gap: 10px; }
    .site-nav > a:not(.nav-cta):not(.nav-signin) { display: none; }
    .site-nav .nav-signin { margin-left: auto; }
    .site-nav .nav-cta { min-height: 38px; padding: 0 11px; }
    .nav-menu { right: auto; left: 0; width: min(280px, calc(100vw - 40px)); }
    .public-hero { min-height: 620px; align-items: flex-start; }
    .public-hero-image { inset: 0; width: 100%; opacity: .53; object-position: 63% center; }
    .hero-image-wash { background: linear-gradient(90deg, #161719f2 0%, #161719c7 56%, #16171966 100%), linear-gradient(0deg, #161719b8 0%, transparent 75%); }
    .public-hero-copy { width: 100%; padding: 92px 24px 120px; }
    .hero-kicker { align-items: flex-start; flex-direction: column; gap: 11px; margin-bottom: 24px; }
    .public-hero h1 { font-size: 48px; }
    .public-hero-lead { max-width: 440px; font-size: 13px; }
    .hero-caption { right: 22px; bottom: 20px; left: 24px; gap: 14px; font-size: 8px; }
    .hero-side-mark { right: 18px; top: 18px; }
    .page-index-bar { min-height: 60px; align-items: flex-start; flex-direction: column; justify-content: center; gap: 5px; padding: 10px 24px; font-size: 8px; }
    .marketing-section { min-height: unset; grid-template-columns: 1fr; gap: 25px; padding: 57px 24px 62px; }
    .marketing-section h2 { font-size: 32px; }
    .section-overline { margin-bottom: 17px; }
    .section-intro { font-size: 13px; }
    .closing-callout { grid-template-columns: 1fr; gap: 21px; padding: 54px 24px 60px; }
    .closing-callout > .eyebrow { grid-column: auto; }
    .closing-callout h2 { font-size: 32px; }
    .closing-action { justify-self: start; }
    .public-footer { grid-template-columns: 1fr; gap: 32px; padding: 40px 24px 18px; }
    .footer-pages { grid-template-columns: repeat(2, 1fr); }
    .footer-bottom { flex-direction: column; gap: 8px; }
}

.public-footer { color: #fff; background: var(--ink); }
.public-footer .wordmark, .public-footer .wordmark span { color: #fff; }
.public-footer .wordmark i { color: var(--red); }
.public-footer .footer-brand p, .public-footer .footer-admin, .public-footer .footer-bottom { color: #b7bfce; }
.public-footer .footer-pages a { color: #f3f5fa; }
.public-footer .footer-pages a:hover { color: var(--red); }
.public-footer .footer-bottom { border-color: #ffffff30; }

.mobile-menu-toggle, .mobile-sidebar, .mobile-menu-backdrop { display: none; }

.auth-shell { display: block; min-height: 100vh; padding: 0; background: var(--white); }
.auth-header { min-height: 78px; display: flex; align-items: center; justify-content: space-between; padding: 0 clamp(24px, 5vw, 76px); border-bottom: 1px solid var(--line); background: var(--white); }
.auth-header .wordmark { color: var(--ink); font-size: 23px; font-weight: 800; text-decoration: none; }
.auth-header .wordmark span { color: var(--ink); }
.auth-header .wordmark i { color: var(--red); font-style: normal; }
.auth-header > a:last-child { color: var(--muted); font-size: 12px; text-decoration: none; }
.auth-header > a:last-child span { padding-left: 5px; color: var(--yellow); }
.auth-layout { min-height: calc(100vh - 78px); display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); }
.auth-story, .auth-form-column { grid-column: span 6; position: relative; min-width: 0; }
.auth-story { min-height: 680px; display: flex; align-items: flex-end; overflow: hidden; color: var(--white); background: var(--ink); }
.auth-story-image, .auth-story-shade { position: absolute; inset: 0; width: 100%; height: 100%; }
.auth-story-image { object-fit: cover; object-position: 58% center; opacity: .68; }
.auth-story-shade { background: linear-gradient(180deg, #16171916 0%, #16171945 40%, #161719ed 100%), linear-gradient(90deg, #1617194d, transparent); }
.auth-story-copy { position: relative; z-index: 1; width: min(660px, 100%); padding: 48px clamp(28px, 6vw, 92px) 68px; }
.auth-story-kicker, .auth-story-index { color: #d7dbea; font-family: "DM Mono", monospace; font-size: 9px; letter-spacing: 1px; }
.auth-story-copy h1 { max-width: 520px; margin: 24px 0 16px; font-size: clamp(38px, 4vw, 58px); font-weight: 600; line-height: 1.12; }
.auth-story-copy > p { max-width: 400px; margin: 0 0 48px; color: #d7dbea; font-size: 13px; line-height: 1.8; }
.auth-story-index { display: inline-flex; align-items: center; gap: 12px; }
.auth-story-index::before { width: 30px; height: 2px; content: ""; background: var(--yellow); }
.auth-form-column { display: flex; flex-direction: column; align-items: center; justify-content: center; padding: 50px clamp(25px, 5vw, 78px); }
.auth-form-meta, .auth-security-note { width: min(100%, 440px); }
.auth-form-meta { display: flex; justify-content: space-between; margin-bottom: 34px; color: var(--muted); font-family: "DM Mono", monospace; font-size: 9px; text-transform: uppercase; }
.auth-form-meta span:last-child { display: inline-flex; align-items: center; gap: 8px; }
.auth-form-meta i { width: 26px; height: 1px; background: var(--red); }
.auth-form-column .auth-panel { width: min(100%, 440px); margin: 0; padding: 0; border: 0; background: transparent; box-shadow: none; }
.auth-form-column .auth-panel h1 { margin-bottom: 14px; font-size: 38px; font-weight: 600; }
.auth-form-column .auth-panel .eyebrow { margin-bottom: 11px; }
.auth-form-column .auth-panel form { gap: 12px; }
.auth-form-column .auth-panel label { margin-top: 6px; color: var(--ink); font-size: 11px; }
.auth-form-column .auth-panel input { min-height: 50px; border-radius: 15px; background: #f8f9fc; }
.auth-form-column .auth-panel input::placeholder { color: #9299a7; opacity: 1; }
.auth-form-column .auth-panel .button { min-height: 50px; margin-top: 12px; border-radius: 15px; }
.auth-form-column .auth-panel .notice { margin-bottom: 18px; }
.auth-optional { margin-left: 5px; color: var(--muted); font-family: "DM Mono", monospace; font-size: 8px; font-weight: 400; text-transform: uppercase; }
.auth-helper, .auth-intro { margin: 1px 0 4px; color: var(--muted); font-size: 10px; line-height: 1.6; }
.auth-intro { margin: -1px 0 17px; font-size: 12px; }
.auth-form-row { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin: 3px 0 0; }
.auth-form-row > a { color: var(--ink); font-size: 10px; text-decoration: underline; text-underline-offset: 3px; }
.auth-check { display: inline-flex; align-items: center; gap: 7px; color: var(--muted); font-size: 10px; font-weight: 400; }
.auth-check input { width: 15px; height: 15px; margin: 0; accent-color: var(--yellow); }
.auth-dev-link { margin-top: 20px; padding: 15px; border: 1px dashed #c5cddd; border-radius: 15px; background: #f7f8fb; }
.auth-dev-link strong { display: block; margin-bottom: 5px; font-size: 11px; }
.auth-dev-link p { margin: 0 0 10px; color: var(--muted); font-size: 10px; line-height: 1.6; }
.auth-dev-link a { color: var(--yellow); font-size: 11px; font-weight: 600; text-decoration: none; }
.auth-verified-status { display: flex; gap: 12px; align-items: flex-start; margin-bottom: 19px; padding: 14px; border: 1px solid var(--line); border-radius: 15px; background: #f7f8fb; }
.auth-verified-status .status-dot { width: 10px; height: 10px; flex: none; margin-top: 3px; border-radius: 50%; background: #c88130; box-shadow: 0 0 0 4px #f4ecd9; }
.auth-verified-status .status-dot.is-verified { background: #2d8d59; box-shadow: 0 0 0 4px #e3f1e8; }
.auth-verified-status strong { display: block; font-size: 11px; }
.auth-verified-status p { margin: 4px 0 0; color: var(--muted); font-size: 10px; line-height: 1.5; }
.auth-form-column .auth-panel:has(#referral_code) { padding-bottom: 8px; }
.auth-security-note { margin: 26px 0 0; color: var(--muted); font-size: 10px; }

@media (max-width: 760px) {
    .auth-layout { grid-template-columns: 1fr; }
    .auth-story, .auth-form-column { grid-column: 1; }
    .auth-story { min-height: 340px; }
    .auth-story-copy { padding: 35px 30px 38px; }
    .auth-story-copy h1 { max-width: 430px; margin: 15px 0 10px; font-size: 36px; }
    .auth-story-copy > p { margin-bottom: 22px; }
    .auth-form-column { padding: 48px 24px 56px; }
    .auth-form-row { align-items: flex-start; }
}

@media (max-width: 650px) {
    .public-header { align-items: center; flex-direction: row; justify-content: space-between; }
    .public-header .site-nav { display: none; }
    .mobile-menu-toggle { width: 46px; height: 46px; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 6px; border: 1px solid var(--line); border-radius: 15px; color: var(--ink); background: var(--white); cursor: pointer; }
    .mobile-menu-toggle span { width: 18px; height: 2px; display: block; background: currentColor; }
    .mobile-menu-backdrop { position: fixed; inset: 0; z-index: 49; display: block; visibility: hidden; background: #16171988; opacity: 0; transition: opacity .22s ease, visibility .22s ease; }
    .mobile-menu-backdrop.is-visible { visibility: visible; opacity: 1; }
    .mobile-sidebar { position: fixed; inset: 0 auto 0 0; z-index: 50; width: min(350px, calc(100vw - 42px)); display: flex; flex-direction: column; padding: 22px 24px 26px; color: var(--ink); background: var(--white); box-shadow: 14px 0 44px #00000024; transform: translateX(-105%); transition: transform .24s ease; }
    .mobile-sidebar.is-open { transform: translateX(0); }
    .mobile-sidebar-head { display: flex; align-items: center; justify-content: space-between; padding-bottom: 24px; border-bottom: 1px solid var(--line); }
    .mobile-sidebar-head .wordmark { color: var(--ink); font-size: 22px; font-weight: 800; text-decoration: none; }
    .mobile-sidebar-head .wordmark span { color: var(--ink); }
    .mobile-sidebar-head .wordmark i { color: var(--red); font-style: normal; }
    .mobile-menu-close { width: 42px; height: 42px; border: 1px solid var(--line); border-radius: 15px; background: var(--white); font-size: 25px; line-height: 1; cursor: pointer; }
    .mobile-menu-label { margin: 24px 0 11px; color: var(--muted); font-family: "DM Mono", monospace; font-size: 9px; text-transform: uppercase; }
    .mobile-nav { display: grid; gap: 0; overflow-y: auto; }
    .mobile-nav a { min-height: 49px; display: flex; align-items: center; justify-content: space-between; border-bottom: 1px solid var(--line); font-size: 13px; text-decoration: none; }
    .mobile-nav a[aria-current="page"] { color: var(--yellow); font-weight: 700; }
    .mobile-nav a span:last-child { color: var(--red); }
    .mobile-sidebar-actions { display: grid; gap: 10px; margin-top: auto; padding-top: 20px; }
    .mobile-sidebar-actions a { min-height: 46px; display: flex; align-items: center; justify-content: center; border: 1px solid var(--line); border-radius: 15px; font-size: 12px; text-decoration: none; }
    .mobile-sidebar-actions a:last-child { border-color: var(--yellow); color: var(--white); background: var(--yellow); }
    .mobile-sidebar-actions a:last-child span { margin-left: 12px; }
    body.menu-open { overflow: hidden; }
}

.marketing-section { position: relative; }
.marketing-section .section-overline { grid-column: 1 / -1; }
.section-layout-editorial { grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr); }
.section-layout-editorial .section-heading-block { grid-column: 1; }
.section-layout-editorial .section-editorial-copy { grid-column: 2; grid-row: 2; }
.section-layout-editorial .section-intro { max-width: 560px; margin-bottom: 20px; font-size: 15px; }
.section-editorial-copy .section-point { grid-template-columns: 38px minmax(0, 1fr); padding: 18px 0; }

.section-layout-cards { display: block; padding-top: 70px; padding-bottom: 78px; }
.section-layout-cards .section-heading-block { max-width: 940px; display: grid; grid-template-columns: minmax(0, 1fr) minmax(260px, .7fr); align-items: end; gap: 7%; margin-bottom: 34px; }
.section-layout-cards .section-heading-block h2 { max-width: 550px; font-size: 44px; }
.section-layout-cards .section-intro { margin: 0 0 4px; }
.section-card-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
.section-feature-card { min-height: 235px; position: relative; display: flex; flex-direction: column; align-items: flex-start; padding: 27px 30px 32px; border: 1px solid #dce1eb; border-radius: 15px; color: var(--ink); background: #f7f8fb; }
.section-feature-card:nth-child(2) { color: #fff; border-color: var(--ink); background: var(--ink); }
.feature-card-index { margin-bottom: auto; color: var(--yellow); font-family: "DM Mono", monospace; font-size: 11px; }
.section-feature-card h3 { margin: 28px 0 8px; font-size: 20px; font-weight: 600; }
.section-feature-card p { max-width: 450px; margin: 0; color: var(--muted); font-size: 12px; line-height: 1.8; }
.section-feature-card:nth-child(2) p { color: #d2d7e1; }
.feature-card-rule { width: 35px; height: 3px; position: absolute; right: 30px; bottom: 31px; background: var(--red); }

.section-layout-steps { display: grid; grid-template-columns: minmax(0, .82fr) minmax(0, 1.18fr); column-gap: 8%; align-items: start; }
.section-layout-steps .section-heading-block { grid-column: 1; }
.section-layout-steps .section-heading-block .section-intro { margin-top: 18px; }
.section-step-track { position: relative; grid-column: 2; grid-row: 2; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; padding-top: 13px; }
.section-step-track::before { height: 1px; position: absolute; top: 34px; right: 15%; left: 15%; content: ""; background: var(--line); }
.section-step { position: relative; z-index: 1; }
.step-node { width: 43px; height: 43px; display: grid; place-items: center; margin-bottom: 28px; border: 1px solid var(--red); border-radius: 50%; color: var(--red); background: var(--white); font-family: "DM Mono", monospace; font-size: 10px; }
.tone-blue .step-node, .tone-ink .step-node { color: #fff; border-color: #fff; background: transparent; }
.section-step h3 { margin: 0 0 8px; font-size: 14px; font-weight: 600; }
.section-step p { max-width: 270px; margin: 0; color: var(--muted); font-size: 12px; line-height: 1.8; }
.tone-blue .section-step p, .tone-ink .section-step p { color: #e2e8fa; }

.section-layout-statement { grid-template-columns: minmax(0, .75fr) minmax(0, 1.25fr); column-gap: 8%; align-items: center; }
.section-layout-statement .section-heading-block { grid-column: 1; }
.section-statement-copy { grid-column: 2; grid-row: 2; }
.section-statement { max-width: 750px; margin: 0; font-size: clamp(25px, 3.2vw, 43px); font-weight: 500; line-height: 1.35; }
.statement-notes { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 25px; margin-top: 35px; }
.statement-notes p { display: flex; gap: 11px; align-items: flex-start; margin: 0; padding-top: 13px; border-top: 1px solid var(--line); font-size: 11px; line-height: 1.6; }
.statement-notes span { color: var(--red); font-family: "DM Mono", monospace; font-size: 9px; }
.tone-blue .statement-notes p, .tone-ink .statement-notes p { border-color: #ffffff4d; }
.tone-blue .statement-notes span, .tone-ink .statement-notes span { color: #fff; }

.section-layout-spotlight { grid-template-columns: minmax(0, .82fr) minmax(0, 1.18fr); column-gap: 8%; align-items: center; }
.section-layout-spotlight .section-heading-block { grid-column: 1; }
.section-layout-spotlight .section-heading-block .section-intro { order: 2; margin: 20px 0 0; }
.section-layout-spotlight .section-heading-block h2 { order: 1; }
.section-spotlight-card { grid-column: 2; grid-row: 2; padding: 31px 34px; border-radius: 15px; color: #fff; background: var(--yellow); }
.section-spotlight-card > span { color: #ffffffc9; font-family: "DM Mono", monospace; font-size: 9px; }
.section-spotlight-card h3 { max-width: 470px; margin: 46px 0 12px; font-size: 25px; font-weight: 600; line-height: 1.3; }
.section-spotlight-card > p, .section-spotlight-card > div > p { max-width: 480px; margin: 0; color: #edf2ff; font-size: 12px; line-height: 1.8; }
.section-spotlight-card > div { margin-top: 29px; padding-top: 17px; border-top: 1px solid #ffffff63; }
.section-spotlight-card > div > strong { display: block; margin-bottom: 6px; font-size: 12px; }

.section-layout-rail { grid-template-columns: minmax(0, .75fr) minmax(0, 1.25fr); column-gap: 9%; align-items: start; }
.section-layout-rail .section-heading-block { grid-column: 1; }
.section-layout-rail .section-heading-block .section-intro { order: 2; margin: 0 0 23px; }
.section-layout-rail .section-heading-block h2 { order: 1; margin-bottom: 20px; }
.section-rail-list { grid-column: 2; grid-row: 2; border-top: 1px solid var(--line); }
.section-rail-item { min-height: 92px; display: grid; grid-template-columns: 32px minmax(130px, .75fr) minmax(0, 1.25fr) 20px; gap: 12px; align-items: start; padding: 19px 0; border-bottom: 1px solid var(--line); }
.section-rail-item > span { padding-top: 3px; color: var(--red); font-family: "DM Mono", monospace; font-size: 9px; }
.section-rail-item h3 { margin: 0; font-size: 12px; font-weight: 600; }
.section-rail-item p { margin: 0; color: var(--muted); font-size: 11px; line-height: 1.7; }
.section-rail-item b { color: var(--red); font-size: 17px; font-weight: 400; }
.tone-blue .section-rail-list, .tone-ink .section-rail-list, .tone-blue .section-rail-item, .tone-ink .section-rail-item { border-color: #ffffff63; }
.tone-blue .section-rail-item p, .tone-ink .section-rail-item p { color: #e2e8fa; }
.tone-blue .section-rail-item > span, .tone-ink .section-rail-item > span, .tone-blue .section-rail-item b, .tone-ink .section-rail-item b { color: #fff; }

@media (max-width: 760px) {
    .section-layout-editorial, .section-layout-steps, .section-layout-statement, .section-layout-spotlight, .section-layout-rail { grid-template-columns: 1fr; gap: 27px; }
    .section-layout-editorial .section-heading-block, .section-layout-steps .section-heading-block, .section-layout-statement .section-heading-block, .section-layout-spotlight .section-heading-block, .section-layout-rail .section-heading-block { grid-column: 1; }
    .section-layout-editorial .section-editorial-copy, .section-layout-steps .section-step-track, .section-statement-copy, .section-spotlight-card, .section-rail-list { grid-column: 1; grid-row: auto; }
    .section-layout-cards .section-heading-block { grid-template-columns: 1fr; gap: 17px; }
}

@media (max-width: 560px) {
    .section-layout-cards { padding-top: 57px; padding-bottom: 62px; }
    .section-layout-cards .section-heading-block h2 { font-size: 32px; }
    .section-card-grid { grid-template-columns: 1fr; }
    .section-feature-card { min-height: 205px; padding: 23px; }
    .section-step-track { grid-template-columns: 1fr; gap: 23px; }
    .section-step-track::before { width: 1px; height: auto; top: 20px; right: auto; bottom: 30px; left: 21px; }
    .section-step { display: grid; grid-template-columns: 43px minmax(0, 1fr); column-gap: 15px; align-items: start; }
    .step-node { grid-row: span 2; margin: 0; }
    .section-step h3 { padding-top: 3px; }
    .section-step p { grid-column: 2; }
    .section-statement { font-size: 27px; }
    .statement-notes { grid-template-columns: 1fr; gap: 15px; }
    .section-spotlight-card { padding: 25px; }
    .section-spotlight-card h3 { margin-top: 32px; font-size: 22px; }
    .section-rail-item { grid-template-columns: 28px minmax(0, 1fr) 20px; gap: 9px; }
    .section-rail-item p { grid-column: 2; }
    .section-rail-item b { grid-column: 3; grid-row: 1; }
}

.breadcrumb-intro { min-height: 340px; position: relative; display: flex; flex-direction: column; justify-content: space-between; padding: 27px clamp(24px, 9vw, 136px) 46px; border-top: 4px solid var(--yellow); background: var(--mint); }
.breadcrumbs { display: flex; align-items: center; gap: 10px; color: var(--muted); font-family: "DM Mono", monospace; font-size: 9px; text-transform: uppercase; }
.breadcrumbs a { color: var(--ink); text-decoration: none; }
.breadcrumbs span:last-child { color: var(--red); }
.breadcrumb-heading { max-width: 850px; margin-top: 40px; }
.breadcrumb-heading .eyebrow { margin-bottom: 12px; }
.breadcrumb-heading h1 { margin: 0 0 13px; font-size: clamp(42px, 6vw, 66px); font-weight: 600; line-height: 1.1; }
.breadcrumb-heading h1 em { color: var(--yellow); font-style: normal; }
.breadcrumb-heading > p:last-child { max-width: 650px; margin: 0 0 24px; color: var(--muted); font-size: 14px; line-height: 1.8; }
.breadcrumb-intro { padding-bottom: 84px; }
.breadcrumb-index { position: absolute; right: clamp(24px, 9vw, 136px); bottom: 49px; display: flex; align-items: center; gap: 10px; color: var(--muted); font-family: "DM Mono", monospace; font-size: 9px; text-transform: uppercase; }
.breadcrumb-index i { width: 25px; height: 1px; background: var(--red); }

.section-layout-image { display: block; padding-top: 64px; padding-bottom: 72px; }
.section-image-layout { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); align-items: center; gap: clamp(30px, 7vw, 100px); }
.section-image-copy h2 { max-width: 520px; margin: 0 0 20px; font-size: clamp(32px, 4vw, 48px); font-weight: 600; line-height: 1.15; }
.section-image-copy > .section-intro { max-width: 500px; margin-bottom: 23px; font-size: 13px; }
.section-image-notes article { display: grid; grid-template-columns: 35px minmax(0, 1fr); gap: 8px; padding: 15px 0; border-top: 1px solid var(--line); }
.section-image-notes article > span { padding-top: 2px; color: var(--red); font-family: "DM Mono", monospace; font-size: 9px; }
.section-image-notes h3 { margin: 0 0 5px; font-size: 12px; font-weight: 700; }
.section-image-notes p { margin: 0; color: var(--muted); font-size: 11px; line-height: 1.7; }
.tone-blue .section-image-notes article { border-color: #ffffff63; }
.tone-blue .section-image-notes article > span { color: #fff; }
.tone-blue .section-image-notes p { color: #e2e8fa; }
.section-image-frame { min-height: 310px; position: relative; margin: 0; overflow: hidden; border-radius: 15px; aspect-ratio: 4 / 3; background: var(--ink); }
.section-image-frame::after { position: absolute; inset: 0; content: ""; border: 1px solid #16171920; border-radius: 15px; pointer-events: none; }
.section-image-frame img { width: 100%; height: 100%; display: block; object-fit: cover; }
.section-image-frame figcaption { position: absolute; right: 12px; bottom: 12px; left: 12px; z-index: 1; padding: 9px 11px; border-radius: 15px; color: white; background: #161719b8; font-family: "DM Mono", monospace; font-size: 8px; text-transform: uppercase; }

@media (max-width: 760px) {
    .section-image-layout { grid-template-columns: 1fr; gap: 24px; }
    .section-image-frame { min-height: 230px; }
}

@media (max-width: 560px) {
    .breadcrumb-intro { min-height: 320px; padding: 22px 24px 48px; }
    .breadcrumb-heading { margin-top: 42px; }
    .breadcrumb-heading h1 { font-size: 42px; }
    .breadcrumb-heading > p:last-child { font-size: 12px; }
    .breadcrumb-index { right: 24px; bottom: 13px; font-size: 8px; }
    .section-layout-image { padding-top: 57px; padding-bottom: 62px; }
    .section-image-copy h2 { font-size: 32px; }
    .section-image-frame { min-height: 210px; }
}

/* ---- Wallet, earnings and withdrawals ---------------------------------- */

.wallet-hero { display: grid; grid-template-columns: 1.25fr .75fr; gap: 12px; margin-bottom: 12px; }
.wallet-hero-main { padding: 25px; border-radius: 15px; color: var(--white); background: var(--ink); }
.wallet-hero-main > span { color: #b8c2d6; font-family: "DM Mono", monospace; font-size: 8px; text-transform: uppercase; }
.wallet-hero-main > strong { display: flex; align-items: baseline; gap: 9px; margin: 12px 0 6px; font-size: clamp(32px, 4vw, 44px); font-weight: 600; line-height: 1.05; }
.wallet-hero-main > strong small { color: #b8c2d6; font-family: "DM Mono", monospace; font-size: 10px; font-weight: 400; text-transform: uppercase; }
.wallet-hero-main > p { margin: 0 0 19px; color: #d5dbe8; font-size: 11px; line-height: 1.7; }
.wallet-hero-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 16px; }
.wallet-hero-link { color: var(--white); font-size: 10px; font-weight: 600; text-decoration: none; }
.wallet-hero-link span { padding-left: 4px; color: var(--yellow); }
.wallet-hero-split { display: grid; gap: 12px; }
.wallet-hero-split article { display: flex; flex-direction: column; gap: 7px; padding: 18px 20px; border: 1px solid var(--line); border-radius: 15px; background: var(--white); }
.wallet-hero-split span { color: var(--muted); font-family: "DM Mono", monospace; font-size: 8px; text-transform: uppercase; }
.wallet-hero-split strong { font-size: 25px; font-weight: 600; line-height: 1.1; }
.wallet-hero-split small { color: var(--muted); font-size: 9px; }

.wallet-metrics { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 11px; margin-bottom: 14px; }
.wallet-metrics article { min-height: 96px; display: flex; flex-direction: column; justify-content: space-between; padding: 16px 18px; border: 1px solid var(--line); border-radius: 15px; background: var(--white); }
.wallet-metrics span { color: var(--muted); font-family: "DM Mono", monospace; font-size: 8px; text-transform: uppercase; }
.wallet-metrics strong { font-size: 23px; font-weight: 600; line-height: 1.1; }
.wallet-metrics strong small { display: block; margin-top: 5px; color: var(--muted); font-family: "DM Mono", monospace; font-size: 8px; font-weight: 400; text-transform: uppercase; }

.wallet-columns { display: grid; grid-template-columns: minmax(0, 1.6fr) minmax(260px, .6fr); gap: 12px; align-items: start; }
.wallet-panel { padding-bottom: 9px; }
.wallet-panel + .wallet-panel, .wallet-columns + .wallet-panel, .bank-panel { margin-top: 12px; }

.wallet-ledger { border-top: 1px solid var(--line); }
.wallet-ledger-head, .wallet-ledger-row { display: grid; grid-template-columns: 1.05fr 1.5fr .6fr .8fr .9fr; gap: 12px; align-items: start; padding: 13px 0; }
.wallet-ledger-head { color: var(--muted); font-family: "DM Mono", monospace; font-size: 8px; text-transform: uppercase; }
.wallet-ledger-row { border-top: 1px solid var(--line); }
.wallet-ledger-row > div > span:first-child { display: block; margin-bottom: 6px; color: var(--muted); font-family: "DM Mono", monospace; font-size: 8px; text-transform: uppercase; }
.wallet-ledger-row > div > strong { display: block; overflow: hidden; font-size: 10px; font-weight: 600; text-overflow: ellipsis; }
.wallet-ledger-row > div > small { display: block; margin-top: 4px; color: var(--muted); font-size: 9px; }
.wallet-type { display: inline-flex; padding: 5px 8px; border-radius: 7px; font-family: "DM Mono", monospace; font-size: 8px; text-transform: uppercase; }
.wallet-type.is-credit { color: #236d47; background: #e5f3e9; }
.wallet-type.is-debit { color: #a24637; background: #fae9e5; }
.wallet-amount { color: #236d47; font-size: 11px !important; }
.wallet-amount.is-debit { color: #a24637; }
.wallet-amount.is-muted { color: var(--muted); }
.wallet-amount small { color: var(--muted); font-family: "DM Mono", monospace; font-size: 8px; font-weight: 400; }
.wallet-status.is-completed { color: #236d47; background: #e5f3e9; }
.wallet-status.is-pending { color: #866322; background: #f8f0d9; }
.wallet-status.is-failed, .wallet-status.is-rejected { color: #a24637; background: #fae9e5; }

.wallet-breakdown-list { display: grid; gap: 1px; overflow: hidden; border: 1px solid var(--line); border-radius: 15px; background: var(--line); }
.wallet-breakdown-list > span { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 12px 14px; background: var(--white); font-size: 10px; }
.wallet-breakdown-list b { color: var(--muted); font-weight: 500; }
.wallet-breakdown-list strong { font-size: 11px; font-weight: 600; }
.wallet-breakdown-list > span.is-total { background: #f7f8fb; }
.wallet-breakdown-list > span.is-total b { color: var(--ink); font-weight: 600; }
.wallet-breakdown-list > span.is-total strong { font-size: 14px; }
.wallet-breakdown-note { margin: 14px 0 12px; color: var(--muted); font-size: 9px; line-height: 1.7; }
.wallet-breakdown-links { display: flex; flex-wrap: wrap; gap: 14px; padding-top: 12px; border-top: 1px solid var(--line); }

.earnings-filters { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)) auto; gap: 11px; align-items: end; }
.earnings-filter-panel { margin-bottom: 12px; padding: 18px 20px; }
.earnings-filters label { display: block; margin-bottom: 6px; color: var(--muted); font-size: 9px; }
.earnings-filters input, .earnings-filters select { width: 100%; min-height: 41px; padding: 0 11px; border: 1px solid var(--line); border-radius: 15px; color: var(--ink); background: #fff; font-size: 10px; }
.earnings-filter-actions { display: flex; align-items: center; gap: 12px; }
.earnings-filter-actions .button { min-height: 41px; padding: 0 14px; font-size: 10px; }
.earnings-reset { color: var(--muted); font-size: 10px; text-decoration: none; }

.earnings-table { border-top: 1px solid var(--line); }
.earnings-head, .earnings-row { display: grid; grid-template-columns: 1.4fr .8fr .7fr .7fr .8fr .8fr; gap: 12px; align-items: start; padding: 13px 0; }
.earnings-head { color: var(--muted); font-family: "DM Mono", monospace; font-size: 8px; text-transform: uppercase; }
.earnings-row { border-top: 1px solid var(--line); }
.earnings-row > div > span:first-child { display: block; margin-bottom: 6px; color: var(--muted); font-family: "DM Mono", monospace; font-size: 8px; text-transform: uppercase; }
.earnings-row > div > strong { display: block; overflow: hidden; font-size: 10px; font-weight: 600; text-overflow: ellipsis; }
.earnings-row > div > small { display: block; margin-top: 4px; color: var(--muted); font-size: 9px; }

.earnings-language-list { display: grid; gap: 13px; }
.earnings-language-row { display: grid; grid-template-columns: minmax(0, 1fr) 68px; gap: 6px 10px; align-items: center; }
.earnings-language-row strong { display: block; font-size: 11px; font-weight: 600; }
.earnings-language-row small { display: block; margin-top: 3px; color: var(--muted); font-size: 9px; }
.earnings-language-row > span { color: var(--ink); font-family: "DM Mono", monospace; font-size: 10px; text-align: right; }
.earnings-language-bar { grid-column: 1; grid-row: 2; height: 4px; overflow: hidden; border-radius: 4px; background: #eef0f4; }
.earnings-language-bar i { display: block; height: 100%; border-radius: 4px; background: var(--yellow); }

.withdrawal-grid { display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(250px, .7fr); gap: 12px; margin-bottom: 12px; align-items: stretch; }
.withdrawal-amount-row { display: flex; justify-content: space-between; gap: 12px; color: var(--muted); font-size: 9px; }
.withdrawal-blocked h2 { color: var(--ink); }
.withdrawal-shortfall { margin-top: 7px !important; color: #957235 !important; font-family: "DM Mono", monospace; font-size: 9px !important; text-transform: uppercase; }
.withdrawal-blocked-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 16px; margin-top: 15px; }
.withdrawal-check { display: inline-flex; margin-left: auto; padding: 3px 6px; border-radius: 6px; color: #866322; background: #f8f0d9; font-family: "DM Mono", monospace; font-size: 8px; font-weight: 400; text-transform: uppercase; }
.withdrawal-check.is-met { color: #236d47; background: #e5f3e9; }
.account-side-steps span { align-items: center; }

.bank-list { border-top: 1px solid var(--line); }
.bank-row { display: grid; grid-template-columns: 38px minmax(0, 1fr) auto auto auto; gap: 12px; align-items: center; padding: 13px 0; border-bottom: 1px solid var(--line); }
.bank-mark { width: 34px; height: 34px; display: grid; place-items: center; border-radius: 10px; color: var(--yellow); background: #edf2ff; font-family: "DM Mono", monospace; font-size: 10px; }
.bank-row strong { display: block; font-size: 11px; font-weight: 600; }
.bank-row small { display: block; margin-top: 4px; color: var(--muted); font-size: 9px; }
.bank-status.is-verified { color: #236d47; background: #e5f3e9; }
.bank-status.is-unverified { color: #866322; background: #f8f0d9; }
.bank-status.is-rejected { color: #a24637; background: #fae9e5; }
.bank-default { padding: 4px 7px; border: 1px solid var(--line); border-radius: 7px; color: var(--muted); font-family: "DM Mono", monospace; font-size: 8px; text-transform: uppercase; }
.bank-actions { display: flex; gap: 10px; justify-self: end; }
.bank-actions form { margin: 0; }
.bank-action { padding: 0; border: 0; color: var(--ink); background: none; font-size: 9px; font-weight: 600; text-decoration: underline; text-underline-offset: 3px; cursor: pointer; }
.bank-action.is-danger { color: var(--error); }
.modal-note { margin: 0; color: var(--muted); font-size: 9px; line-height: 1.65; }

.withdrawal-table { border-top: 1px solid var(--line); }
.withdrawal-head, .withdrawal-row { display: grid; grid-template-columns: .9fr 1.2fr .8fr .8fr .95fr .7fr; gap: 12px; align-items: start; padding: 13px 0; }
.withdrawal-head { color: var(--muted); font-family: "DM Mono", monospace; font-size: 8px; text-transform: uppercase; }
.withdrawal-row { border-top: 1px solid var(--line); }
.withdrawal-row > div > span:first-child { display: block; margin-bottom: 6px; color: var(--muted); font-family: "DM Mono", monospace; font-size: 8px; text-transform: uppercase; }
.withdrawal-row > div > strong { display: block; overflow: hidden; font-size: 10px; font-weight: 600; text-overflow: ellipsis; }
.withdrawal-row > div > small { display: block; margin-top: 4px; color: var(--muted); font-size: 9px; }
.withdrawal-status.is-pending { color: #866322; background: #f8f0d9; }
.withdrawal-status.is-processing { color: #1d4ea8; background: #e7eefd; }
.withdrawal-status.is-successful { color: #236d47; background: #e5f3e9; }
.withdrawal-status.is-failed, .withdrawal-status.is-rejected { color: #a24637; background: #fae9e5; }
.withdrawal-reason { color: #a24637 !important; }

.wallet-filter-tabs { display: flex; flex-wrap: wrap; gap: 7px; margin-bottom: 12px; }
.wallet-filter-tabs a { min-height: 34px; display: inline-flex; align-items: center; padding: 0 12px; border: 1px solid var(--line); border-radius: 15px; color: var(--muted); background: var(--white); font-size: 9px; text-decoration: none; }
.wallet-filter-tabs a.is-active { border-color: var(--yellow); color: var(--ink); background: var(--mint); font-weight: 600; }

.admin-withdrawal-list { border-top: 1px solid var(--line); }
.admin-withdrawal-row { display: grid; grid-template-columns: 1.4fr 1.1fr .6fr .8fr 1.3fr; gap: 13px; align-items: start; padding: 15px 0; border-bottom: 1px solid var(--line); }
.admin-withdrawal-row > div > span:first-child { display: block; margin-bottom: 6px; color: var(--muted); font-family: "DM Mono", monospace; font-size: 8px; text-transform: uppercase; }
.admin-withdrawal-row > div > strong { display: block; overflow: hidden; font-size: 10px; font-weight: 600; text-overflow: ellipsis; }
.admin-withdrawal-row > div > small { display: block; margin-top: 4px; color: var(--muted); font-size: 9px; }
.admin-withdrawal-actions { display: flex; flex-wrap: wrap; gap: 6px; justify-self: end; }
.admin-withdrawal-actions form { margin: 0; }
.admin-withdrawal-final { color: var(--muted); font-family: "DM Mono", monospace; font-size: 8px; text-transform: uppercase; }

@media (max-width: 1100px) {
    .wallet-hero { grid-template-columns: 1fr; }
    .wallet-hero-split { grid-template-columns: 1fr 1fr; }
    .wallet-columns, .withdrawal-grid { grid-template-columns: 1fr; }
    .earnings-filters { grid-template-columns: 1fr 1fr; }
    .earnings-filter-actions { grid-column: span 2; }
    .admin-withdrawal-row { grid-template-columns: 1fr 1fr; }
    .admin-withdrawal-actions { grid-column: span 2; justify-self: start; }
}

@media (max-width: 700px) {
    .wallet-metrics { grid-template-columns: 1fr 1fr; }
    .wallet-hero-split { grid-template-columns: 1fr; }
    .wallet-ledger-head, .earnings-head, .withdrawal-head { display: none; }
    .wallet-ledger-row, .earnings-row, .withdrawal-row { grid-template-columns: 1fr 1fr; gap: 13px; padding: 15px 0; }
    .wallet-ledger-row > div:nth-child(2), .earnings-row > div:nth-child(1), .withdrawal-row > div:nth-child(2) { grid-column: span 2; }
    .earnings-filters { grid-template-columns: 1fr; }
    .earnings-filter-actions { grid-column: auto; }
    .bank-row { grid-template-columns: 34px minmax(0, 1fr) auto; }
    .bank-default { grid-column: 2; grid-row: 2; justify-self: start; }
    .bank-actions { grid-column: 3; grid-row: 1 / 3; }
}

/* ---- Split payout pages ------------------------------------------------ */
.payout-grid { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(250px, .6fr); gap: 12px; align-items: start; }
.payout-inline-link { margin: -4px 0 4px; color: var(--muted); font-size: 9px; }
.payout-inline-link a { color: var(--ink); font-weight: 600; text-decoration: none; }
.payout-inline-link a span { padding-left: 3px; color: var(--red); }
.bank-note { margin: 14px 0 0; color: var(--muted); font-size: 9px; line-height: 1.7; }
#bank_code { width: 100%; min-height: 43px; padding: 0 12px; border: 1px solid var(--line); border-radius: 15px; color: var(--ink); background: #fafbfd; font-size: 11px; }
@media (max-width: 1000px) { .payout-grid { grid-template-columns: 1fr; } }


/* ---- Profile, security, notifications, referral, support ---------------- */
.profile-summary { display: grid; grid-template-columns: 58px minmax(0, 1fr) auto; gap: 16px; align-items: center; margin-bottom: 14px; padding: 20px 22px; border: 1px solid var(--line); border-radius: 15px; background: var(--white); }
.profile-avatar { width: 54px; height: 54px; display: grid; place-items: center; border-radius: 15px; color: #fff; font-size: 21px; font-weight: 700; }
.profile-summary strong { display: block; font-size: 16px; font-weight: 600; }
.profile-summary small { display: block; margin-top: 4px; color: var(--muted); font-size: 10px; }
.profile-summary p { margin: 8px 0 0; color: var(--muted); font-size: 10px; line-height: 1.6; }
.profile-summary-meta { display: flex; gap: 24px; }
.profile-summary-meta span { color: var(--ink); font-family: "DM Mono", monospace; font-size: 10px; text-align: right; }
.profile-summary-meta b { display: block; margin-bottom: 5px; color: var(--muted); font-family: "DM Mono", monospace; font-size: 8px; font-weight: 400; text-transform: uppercase; }
.profile-grid, .security-grid { display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(260px, .7fr); gap: 12px; align-items: start; }
.profile-form-split { display: grid; grid-template-columns: 1fr 1fr; gap: 11px; }
.profile-optional { margin-left: 5px; color: var(--muted); font-family: "DM Mono", monospace; font-size: 8px; text-transform: uppercase; }
.account-purchase-form textarea { width: 100%; min-height: 74px; padding: 10px 12px; border: 1px solid var(--line); border-radius: 15px; color: var(--ink); background: #fafbfd; font-family: "Sora", sans-serif; font-size: 11px; resize: vertical; }
.account-purchase-form textarea:focus, .account-purchase-form input:focus, .account-purchase-form select:focus { outline: 2px solid #dbe4ff; outline-offset: 1px; }
.account-purchase-form input:disabled { color: var(--muted); background: #f2f4f8; }

.security-checks { display: grid; gap: 1px; overflow: hidden; border: 1px solid var(--line); border-radius: 15px; background: var(--line); }
.security-checks > span { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 11px 14px; background: var(--white); font-size: 10px; }
.security-checks b { color: var(--muted); font-weight: 500; }
.security-summary { background: var(--white); }

.session-list { border-top: 1px solid var(--line); }
.session-row { display: grid; grid-template-columns: 34px minmax(0, 1fr) auto auto; gap: 12px; align-items: center; padding: 13px 0; border-bottom: 1px solid var(--line); }
.session-row.is-revoked { opacity: .6; }
.session-icon { width: 32px; height: 32px; display: grid; place-items: center; border-radius: 10px; color: var(--yellow); background: #edf2ff; }
.session-row strong { display: block; font-size: 11px; font-weight: 600; }
.session-row small { display: block; margin-top: 4px; color: var(--muted); font-size: 9px; }
.session-row form { margin: 0; }
.session-status.is-active { color: #236d47; background: #e5f3e9; }
.session-status.is-revoked { color: var(--muted); background: #eef0f4; }

.notification-list { border-top: 1px solid var(--line); }
.notification-row { display: grid; grid-template-columns: 88px minmax(0, 1fr) auto; gap: 14px; align-items: start; padding: 14px 0; border-bottom: 1px solid var(--line); }
.notification-row.is-unread { background: linear-gradient(90deg, #eef3ff 0, #eef3ff 3px, transparent 3px); }
.notification-row strong { display: block; font-size: 11px; font-weight: 600; }
.notification-row p { margin: 5px 0 0; color: var(--muted); font-size: 10px; line-height: 1.65; }
.notification-row small { display: block; margin-top: 6px; color: var(--muted); font-family: "DM Mono", monospace; font-size: 8px; text-transform: uppercase; }
.notification-kind { justify-self: start; padding: 5px 8px; border-radius: 7px; font-family: "DM Mono", monospace; font-size: 8px; text-transform: uppercase; }
.notification-kind.is-activation { color: #1d4ea8; background: #e7eefd; }
.notification-kind.is-submission { color: #866322; background: #f8f0d9; }
.notification-kind.is-approval { color: #236d47; background: #e5f3e9; }
.notification-kind.is-payment { color: #236d47; background: #e5f3e9; }
.notification-kind.is-security { color: #a24637; background: #fae9e5; }
.notification-kind.is-system { color: var(--muted); background: #eef0f4; }
.notification-actions { display: flex; align-items: center; gap: 12px; }
.notification-actions form { margin: 0; }
.notification-prefs { display: grid; gap: 12px; justify-items: start; }

.referral-code-value { font-family: "DM Mono", monospace; font-size: 16px !important; letter-spacing: .04em; }
.referral-link-box { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 10px; align-items: center; }
.referral-link-box > span { grid-column: 1 / -1; color: var(--muted); font-family: "DM Mono", monospace; font-size: 8px; text-transform: uppercase; }
.referral-link-box input { width: 100%; min-height: 43px; padding: 0 12px; border: 1px solid var(--line); border-radius: 15px; color: var(--ink); background: #fafbfd; font-family: "DM Mono", monospace; font-size: 10px; }
.referral-list { border-top: 1px solid var(--line); }
.referral-row { display: grid; grid-template-columns: 34px minmax(0, 1fr) auto auto; gap: 12px; align-items: center; padding: 13px 0; border-bottom: 1px solid var(--line); }
.referral-row strong { display: block; font-size: 11px; font-weight: 600; }
.referral-row small { display: block; margin-top: 4px; color: var(--muted); font-size: 9px; }
.referral-approvals { color: var(--muted); font-family: "DM Mono", monospace; font-size: 9px; text-transform: uppercase; }

.ticket-list { border-top: 1px solid var(--line); }
.ticket-row { display: grid; grid-template-columns: minmax(0, 1fr) auto auto; gap: 14px; align-items: center; padding: 14px 0; border-bottom: 1px solid var(--line); color: var(--ink); text-decoration: none; }
.ticket-row:hover { background: #f8f9fc; }
.ticket-row > div > span { display: block; margin-bottom: 5px; color: var(--muted); font-family: "DM Mono", monospace; font-size: 8px; text-transform: uppercase; }
.ticket-row strong { display: block; font-size: 11px; font-weight: 600; }
.ticket-row small { display: block; margin-top: 4px; color: var(--muted); font-size: 9px; }
.ticket-open { color: var(--muted); font-size: 9px; }
.ticket-open span { padding-left: 3px; color: var(--red); }
.ticket-status.is-open { color: #1d4ea8; background: #e7eefd; }
.ticket-status.is-awaiting_reply { color: #866322; background: #f8f0d9; }
.ticket-status.is-resolved { color: #236d47; background: #e5f3e9; }
.ticket-status.is-closed { color: var(--muted); background: #eef0f4; }
.ticket-thread { display: grid; gap: 11px; padding: 4px 0 18px; border-top: 1px solid var(--line); }
.ticket-message { max-width: 78%; padding: 13px 15px; border: 1px solid var(--line); border-radius: 15px; background: #fafbfd; }
.ticket-message.is-staff { margin-left: auto; border-color: #cdd9f6; background: #eef3ff; }
.ticket-message-meta { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; margin-bottom: 7px; }
.ticket-message-meta strong { font-size: 10px; font-weight: 600; }
.ticket-message-meta small { color: var(--muted); font-family: "DM Mono", monospace; font-size: 8px; text-transform: uppercase; }
.ticket-message p { margin: 0; font-size: 10px; line-height: 1.75; }
.ticket-reply { display: grid; gap: 8px; padding-top: 14px; border-top: 1px solid var(--line); }
.ticket-reply label { color: var(--muted); font-size: 9px; }
.ticket-reply textarea { width: 100%; min-height: 78px; padding: 10px 12px; border: 1px solid var(--line); border-radius: 15px; font-family: "Sora", sans-serif; font-size: 11px; resize: vertical; }
.ticket-reply-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 16px; }

.footer-legal { grid-column: auto; }

@media (max-width: 1000px) {
    .profile-grid, .security-grid { grid-template-columns: 1fr; }
    .profile-summary { grid-template-columns: 54px minmax(0, 1fr); }
    .profile-summary-meta { grid-column: span 2; justify-content: flex-start; }
    .profile-summary-meta span { text-align: left; }
}

@media (max-width: 700px) {
    .profile-form-split { grid-template-columns: 1fr; }
    .notification-row { grid-template-columns: 1fr; gap: 9px; }
    .session-row, .referral-row { grid-template-columns: 32px minmax(0, 1fr) auto; }
    .session-row form, .referral-approvals { grid-column: 2 / 4; justify-self: start; }
    .ticket-message { max-width: 100%; }
    .ticket-row { grid-template-columns: minmax(0, 1fr) auto; }
}


/* ---- Top-right flash toasts -------------------------------------------- */
.flash-stack { position: fixed; top: 18px; right: 18px; z-index: 200; display: flex; flex-direction: column; gap: 9px; width: min(360px, calc(100vw - 24px)); pointer-events: none; }
.flash-toast { display: grid; grid-template-columns: 22px minmax(0, 1fr) 22px; gap: 10px; align-items: start; padding: 13px 14px; border: 1px solid var(--line); border-left-width: 3px; border-radius: 15px; background: var(--white); box-shadow: 0 16px 40px #16171926; pointer-events: auto; animation: flash-in .24s ease-out both; }
.flash-toast.is-leaving { animation: flash-out .2s ease-in both; }
.flash-toast.is-success { border-left-color: #2d8d59; background: #f3faf5; }
.flash-toast.is-error { border-left-color: var(--error); background: #fdf4f2; }
.flash-toast.is-warning { border-left-color: #b19036; background: #fbf7e9; }
.flash-icon { width: 20px; height: 20px; display: grid; place-items: center; border-radius: 50%; font-family: "DM Mono", monospace; font-size: 10px; font-weight: 500; }
.flash-toast.is-success .flash-icon { color: #fff; background: #2d8d59; }
.flash-toast.is-error .flash-icon { color: #fff; background: var(--error); }
.flash-toast.is-warning .flash-icon { color: #fff; background: #b19036; }
.flash-toast p { margin: 0; padding-top: 2px; color: var(--ink); font-size: 10px; line-height: 1.6; }
.flash-close { width: 22px; height: 22px; display: grid; place-items: center; padding: 0; border: 0; border-radius: 8px; color: var(--muted); background: none; font-size: 16px; line-height: 1; cursor: pointer; }
.flash-close:hover { color: var(--ink); background: #00000010; }

@keyframes flash-in { from { opacity: 0; transform: translateY(-8px) scale(.98); } to { opacity: 1; transform: translateY(0) scale(1); } }
@keyframes flash-out { to { opacity: 0; transform: translateY(-6px); } }

@media (max-width: 520px) {
    .flash-stack { top: 12px; right: 12px; left: 12px; width: auto; }
}

@media (prefers-reduced-motion: reduce) {
    .flash-toast, .flash-toast.is-leaving { animation: none; }
}


/* ---- Language profile + single-account task/bank pages ------------------ */
.task-language-strip { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-bottom: 12px; padding: 15px 19px; border: 1px solid var(--line); border-radius: 15px; background: var(--white); }
.task-language-current span { display: block; margin-bottom: 6px; color: var(--muted); font-family: "DM Mono", monospace; font-size: 8px; text-transform: uppercase; }
.task-language-current strong { display: block; font-size: 14px; font-weight: 600; }
.task-language-current small { display: block; margin-top: 4px; color: var(--muted); font-size: 9px; }
.task-grid { display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(250px, .7fr); gap: 12px; margin-bottom: 12px; align-items: stretch; }
.task-card { display: flex; flex-direction: column; align-items: flex-start; padding: 26px; border: 1px solid var(--line); border-top: 4px solid var(--yellow); border-radius: 15px; background: var(--white); }
.task-card-index { color: var(--muted); font-family: "DM Mono", monospace; font-size: 8px; text-transform: uppercase; }
.task-card h2 { margin: 12px 0 8px; font-size: 24px; font-weight: 600; line-height: 1.2; }
.task-card > p { max-width: 460px; margin: 0 0 18px; color: var(--muted); font-size: 11px; line-height: 1.8; }
.task-card-specs { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1px; width: 100%; margin-bottom: 20px; overflow: hidden; border: 1px solid var(--line); border-radius: 15px; background: var(--line); }
.task-card-specs span { padding: 12px 14px; background: #f7f8fb; color: var(--ink); font-size: 10px; font-weight: 600; }
.task-card-specs b { display: block; margin-bottom: 5px; color: var(--muted); font-family: "DM Mono", monospace; font-size: 8px; font-weight: 400; text-transform: uppercase; }
.task-card .button.is-disabled { opacity: .48; pointer-events: none; }
.task-side { min-height: auto; }
.task-progress-bar { height: 6px; overflow: hidden; border-radius: 6px; background: #eef0f4; }
.task-progress-bar i { display: block; height: 100%; border-radius: 6px; background: var(--yellow); }
.task-progress p { margin: 10px 0 0; color: var(--muted); font-size: 10px; }

.language-profile { display: grid; grid-template-columns: minmax(0, 1.55fr) minmax(250px, .6fr); gap: 12px; align-items: start; }
.language-search-block { width: 100%; margin-bottom: 12px; display: block; }
.language-table .language-row { grid-template-columns: minmax(0, 1fr) 78px 46px 40px; gap: 10px; }
.language-row.is-selected { background: var(--mint); }
.language-row.is-paused { opacity: .55; cursor: not-allowed; }
.language-check, .language-primary { position: relative; width: 23px; height: 23px; justify-self: end; }
.language-primary input { position: absolute; inset: 0; width: 23px; height: 23px; margin: 0; opacity: 0; cursor: pointer; }
.language-primary i { width: 23px; height: 23px; display: block; border: 1px solid #bdc6d6; border-radius: 50%; background: #fff; }
.language-primary input:checked + i { border-color: var(--yellow); border-width: 6px; background: #fff; }
.language-primary input:disabled { cursor: not-allowed; }
.language-proficiency { margin: 18px 0 4px; }
.language-proficiency > span { display: block; margin-bottom: 9px; color: var(--muted); font-family: "DM Mono", monospace; font-size: 8px; text-transform: uppercase; }

.bank-single-grid { display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(250px, .6fr); gap: 12px; align-items: start; }
.bank-detail { display: flex; align-items: center; gap: 13px; padding: 16px; border: 1px solid var(--line); border-radius: 15px; background: #fafbfd; }
.bank-detail strong { display: block; font-size: 14px; font-weight: 600; }
.bank-detail small { display: block; margin-top: 5px; color: var(--muted); font-size: 10px; }
.bank-detail-meta { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 11px; margin: 14px 0 18px; }
.bank-detail-meta span { color: var(--ink); font-size: 10px; }
.bank-detail-meta b { display: block; margin-bottom: 5px; color: var(--muted); font-family: "DM Mono", monospace; font-size: 8px; font-weight: 400; text-transform: uppercase; }

@media (max-width: 1000px) {
    .task-grid, .language-profile, .bank-single-grid { grid-template-columns: 1fr; }
}

@media (max-width: 700px) {
    .task-language-strip { flex-direction: column; align-items: flex-start; gap: 10px; }
    .task-card-specs, .bank-detail-meta { grid-template-columns: 1fr 1fr; }
    .language-table .language-row { grid-template-columns: minmax(0, 1fr) auto; }
    .language-row .language-primary { grid-column: 2; grid-row: 2; }
}


/* ---- Marketing site: home + shared sections ----------------------------- */
.mkt-header { gap: 28px; }
.mkt-nav { gap: 26px; }
.mkt-nav a[aria-current="page"] { font-weight: 600; }
.mkt-header-actions { display: flex; align-items: center; gap: 14px; margin-left: auto; }

.mkt-hero { position: relative; display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr); gap: clamp(30px, 6vw, 90px); align-items: center; padding: clamp(50px, 7vw, 104px) clamp(24px, 7vw, 110px); background: radial-gradient(1100px 520px at 82% -10%, #e3ebff 0, #f7f9ff 46%, #ffffff 100%); }
.mkt-pill { display: inline-flex; align-items: center; gap: 8px; padding: 7px 13px; border: 1px solid #d3ddf6; border-radius: 100px; color: #1f3f8f; background: #fff; font-family: "DM Mono", monospace; font-size: 10px; text-transform: uppercase; }
.mkt-pill-dot { width: 7px; height: 7px; border-radius: 50%; background: #2d8d59; box-shadow: 0 0 0 3px #dcf0e4; }
.mkt-hero h1 { margin: 22px 0 0; font-size: clamp(38px, 5.2vw, 66px); font-weight: 600; line-height: 1.05; letter-spacing: -.02em; }
.mkt-hero h1 em { color: var(--yellow); font-style: normal; }
.mkt-hero-lead { max-width: 540px; margin: 20px 0 0; color: var(--muted); font-size: clamp(14px, 1.2vw, 16px); line-height: 1.75; }
.mkt-hero-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; margin-top: 30px; }
.mkt-button-primary, .mkt-button-outline { min-height: 50px; display: inline-flex; align-items: center; justify-content: center; gap: 10px; padding: 0 24px; border-radius: 15px; font-size: 13px; font-weight: 600; text-decoration: none; transition: transform .15s ease, background .15s ease; }
.mkt-button-primary { color: #fff; background: var(--red); }
.mkt-button-primary:hover { background: var(--red-dark); transform: translateY(-1px); }
.mkt-button-ghost { min-height: 50px; display: inline-flex; align-items: center; padding: 0 22px; border: 1px solid var(--line); border-radius: 15px; color: var(--ink); background: #fff; font-size: 13px; font-weight: 600; text-decoration: none; }
.mkt-button-ghost:hover { border-color: var(--ink); }
.mkt-button-outline { color: #fff; border: 1px solid #ffffff5c; }
.mkt-button-outline:hover { background: #ffffff1f; }
.mkt-trust { display: flex; flex-wrap: wrap; gap: 34px; margin: 40px 0 0; padding: 22px 0 0; border-top: 1px solid #e2e8f5; list-style: none; }
.mkt-trust li { display: flex; flex-direction: column; gap: 3px; }
.mkt-trust b { font-size: 19px; font-weight: 600; }
.mkt-trust span { color: var(--muted); font-family: "DM Mono", monospace; font-size: 9px; text-transform: uppercase; }

.mkt-hero-art { position: relative; }
.mkt-hero-card { padding: 22px; border: 1px solid #dbe3f4; border-radius: 24px; background: #fff; box-shadow: 0 30px 70px #1d3a7a1f; }
.mkt-hero-card-top { display: flex; align-items: center; gap: 10px; font-family: "DM Mono", monospace; font-size: 10px; text-transform: uppercase; color: var(--muted); }
.mkt-hero-card-top strong { margin-left: auto; color: var(--ink); font-size: 13px; }
.mkt-rec-dot { width: 9px; height: 9px; border-radius: 50%; background: var(--red); box-shadow: 0 0 0 4px #ffe3da; animation: pulse 1.6s infinite; }
.mkt-wave { height: 150px; display: flex; align-items: center; gap: 5px; margin: 20px 0; padding: 0 4px; }
.mkt-wave span { flex: 1; border-radius: 4px; background: linear-gradient(180deg, #7aa0ff, #0055ff); opacity: .85; }
.mkt-hero-card-bottom { display: flex; justify-content: space-between; padding-top: 15px; border-top: 1px solid #eef1f8; color: var(--muted); font-family: "DM Mono", monospace; font-size: 9px; text-transform: uppercase; }
.mkt-float { position: absolute; display: flex; flex-direction: column; gap: 2px; padding: 12px 16px; border-radius: 14px; background: #fff; box-shadow: 0 18px 40px #1d3a7a24; }
.mkt-float span { color: var(--muted); font-family: "DM Mono", monospace; font-size: 8px; text-transform: uppercase; }
.mkt-float strong { font-size: 17px; font-weight: 600; }
.mkt-float-a { right: -14px; top: 34px; color: #236d47; }
.mkt-float-b { left: -22px; bottom: 42px; }

.mkt-section { padding: clamp(52px, 7vw, 92px) clamp(24px, 7vw, 110px); }
.mkt-section-head { max-width: 720px; margin-bottom: 38px; }
.mkt-head-split { max-width: none; display: flex; align-items: flex-end; justify-content: space-between; gap: 28px; }
.mkt-overline { display: inline-block; color: var(--red); font-family: "DM Mono", monospace; font-size: 10px; letter-spacing: .08em; text-transform: uppercase; }
.mkt-overline-light { color: #a8c2ff; }
.mkt-section h2 { margin: 12px 0 0; font-size: clamp(26px, 3.2vw, 40px); font-weight: 600; line-height: 1.15; letter-spacing: -.015em; }
.mkt-section-head p { max-width: 620px; margin: 14px 0 0; color: var(--muted); font-size: 14px; line-height: 1.8; }
.mkt-link-arrow { flex: none; color: var(--ink); font-size: 12px; font-weight: 600; text-decoration: none; }
.mkt-link-arrow span { padding-left: 5px; color: var(--red); }

.mkt-steps { background: #fff; }
.mkt-step-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; }
.mkt-step { position: relative; padding: 24px; border: 1px solid var(--line); border-radius: 18px; background: #fff; }
.mkt-step:nth-child(2) { border-color: var(--ink); background: var(--ink); color: #fff; }
.mkt-step:nth-child(2) p { color: #cdd6e6; }
.mkt-step-num { display: inline-grid; place-items: center; width: 34px; height: 34px; border-radius: 10px; color: var(--yellow); background: #eef3ff; font-family: "DM Mono", monospace; font-size: 11px; }
.mkt-step:nth-child(2) .mkt-step-num { color: #fff; background: #ffffff26; }
.mkt-step h3 { margin: 18px 0 8px; font-size: 15px; font-weight: 600; }
.mkt-step p { margin: 0; color: var(--muted); font-size: 12px; line-height: 1.7; }

.mkt-languages { background: #f7f9ff; }
.mkt-language-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
.mkt-language-group { padding: 22px; border: 1px solid #e0e7f6; border-radius: 18px; background: #fff; }
.mkt-language-group header { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.mkt-language-group h3 { margin: 0; font-size: 14px; font-weight: 600; }
.mkt-language-group header span { padding: 3px 8px; border-radius: 7px; color: var(--yellow); background: #eef3ff; font-family: "DM Mono", monospace; font-size: 9px; }
.mkt-language-group p { margin: 9px 0 16px; color: var(--muted); font-size: 11px; line-height: 1.65; }
.mkt-language-chips { display: flex; flex-wrap: wrap; gap: 7px; }
.mkt-chip { display: inline-flex; align-items: center; gap: 6px; padding: 6px 10px; border: 1px solid #e4e9f4; border-radius: 100px; font-size: 11px; }
.mkt-chip i { font-style: normal; font-size: 13px; line-height: 1; }

.mkt-why { background: #fff; }
.mkt-benefit-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
.mkt-benefit { padding: 24px; border: 1px solid var(--line); border-radius: 18px; }
.mkt-benefit h3 { margin: 0 0 9px; font-size: 14px; font-weight: 600; }
.mkt-benefit p { margin: 0; color: var(--muted); font-size: 12px; line-height: 1.75; }

.mkt-earnings { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, .85fr); gap: clamp(30px, 6vw, 80px); align-items: center; background: #f7f9ff; }
.mkt-check-list { display: grid; gap: 10px; margin: 22px 0; padding: 0; list-style: none; }
.mkt-check-list li { display: flex; align-items: flex-start; gap: 10px; color: var(--ink); font-size: 13px; }
.mkt-check-list span { display: grid; place-items: center; width: 20px; height: 20px; flex: none; border-radius: 50%; color: #fff; background: #2d8d59; font-size: 10px; }
.mkt-disclaimer { margin: 0 0 20px; padding: 13px 15px; border-left: 3px solid #b19036; background: #fbf7e9; color: #6f5a24; font-size: 11px; line-height: 1.7; }
.mkt-earnings-panel { padding: 22px; border-radius: 22px; color: #fff; background: var(--ink); box-shadow: 0 30px 60px #16171926; }
.mkt-wallet-row { display: flex; align-items: baseline; justify-content: space-between; padding-bottom: 16px; border-bottom: 1px solid #ffffff2b; }
.mkt-wallet-row span { color: #b8c2d6; font-family: "DM Mono", monospace; font-size: 9px; text-transform: uppercase; }
.mkt-wallet-row strong { font-size: 28px; font-weight: 600; }
.mkt-wallet-row small { color: #b8c2d6; font-size: 10px; font-weight: 400; }
.mkt-wallet-list { display: grid; gap: 12px; padding: 18px 0; }
.mkt-wallet-list div { display: flex; justify-content: space-between; gap: 12px; font-size: 12px; }
.mkt-wallet-list span { color: #d5dbe8; }
.mkt-wallet-list b { font-weight: 600; }
.mkt-wallet-list b.is-credit { color: #7fd6a2; }
.mkt-wallet-list b.is-debit { color: #ff9d84; }
.mkt-wallet-foot { display: flex; justify-content: space-between; padding-top: 14px; border-top: 1px solid #ffffff2b; color: #b8c2d6; font-family: "DM Mono", monospace; font-size: 9px; text-transform: uppercase; }
.mkt-wallet-foot strong { color: #fff; font-weight: 500; }

.mkt-faq { background: #fff; }
.mkt-faq-list { display: grid; gap: 10px; max-width: 900px; }
.mkt-faq-item { border: 1px solid var(--line); border-radius: 15px; background: #fbfcff; }
.mkt-faq-item summary { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 17px 20px; cursor: pointer; font-size: 13px; font-weight: 600; list-style: none; }
.mkt-faq-item summary::-webkit-details-marker { display: none; }
.mkt-faq-item summary span { color: var(--red); font-size: 18px; font-weight: 400; transition: transform .15s ease; }
.mkt-faq-item[open] summary span { transform: rotate(45deg); }
.mkt-faq-item p { margin: 0; padding: 0 20px 18px; color: var(--muted); font-size: 12px; line-height: 1.8; }

.mkt-final { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 28px; padding: clamp(44px, 6vw, 76px) clamp(24px, 7vw, 110px); color: #fff; background: linear-gradient(120deg, #0b2a86, #0055ff 58%, #2b6bff); }
.mkt-final h2 { margin: 10px 0 0; color: #fff; font-size: clamp(26px, 3.4vw, 40px); font-weight: 600; line-height: 1.15; }
.mkt-final p { max-width: 520px; margin: 12px 0 0; color: #d8e4ff; font-size: 13px; line-height: 1.75; }
.mkt-final-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.mkt-final .mkt-button-primary { background: #fff; color: #0b2a86; }
.mkt-final .mkt-button-primary:hover { background: #eef3ff; }

.mkt-footer { padding: clamp(44px, 6vw, 72px) clamp(24px, 7vw, 110px) 24px; color: #fff; background: var(--ink); }
.mkt-footer-top { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.45fr); gap: clamp(30px, 6vw, 80px); }
.mkt-footer-brand .wordmark { color: #fff; font-size: 23px; font-weight: 800; text-decoration: none; }
.mkt-footer-brand .wordmark span { color: #fff; }
.mkt-footer-brand .wordmark i { color: var(--red); font-style: normal; }
.mkt-footer-brand p { max-width: 330px; margin: 14px 0 20px; color: #b7bfce; font-size: 12px; line-height: 1.75; }
.mkt-social { display: flex; gap: 8px; }
.mkt-social a { width: 34px; height: 34px; display: grid; place-items: center; border: 1px solid #ffffff2e; border-radius: 10px; color: #dfe5f2; font-family: "DM Mono", monospace; font-size: 10px; text-decoration: none; }
.mkt-social a:hover { color: var(--ink); background: #fff; }
.mkt-footer-links { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.mkt-footer-column { display: grid; align-content: start; gap: 11px; }
.mkt-footer-column > span { color: #8d97a8; font-family: "DM Mono", monospace; font-size: 9px; text-transform: uppercase; }
.mkt-footer-column a { color: #f0f3f9; font-size: 12px; text-decoration: none; }
.mkt-footer-column a:hover { color: var(--red); }
.mkt-footer-bottom { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px; margin-top: 38px; padding-top: 18px; border-top: 1px solid #ffffff1f; color: #8d97a8; font-family: "DM Mono", monospace; font-size: 9px; text-transform: uppercase; }
.mkt-footer-bottom .footer-admin { color: #8d97a8; }

@media (max-width: 1080px) {
    .mkt-hero { grid-template-columns: 1fr; }
    .mkt-hero-art { order: -1; max-width: 520px; }
    .mkt-step-grid, .mkt-language-grid, .mkt-benefit-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .mkt-earnings { grid-template-columns: 1fr; }
    .mkt-footer-top { grid-template-columns: 1fr; }
}

@media (max-width: 860px) {
    .mkt-nav, .mkt-header-actions { display: none; }
}

@media (max-width: 700px) {
    .mkt-step-grid, .mkt-language-grid, .mkt-benefit-grid, .mkt-footer-links { grid-template-columns: 1fr; }
    .mkt-trust { gap: 20px; }
    .mkt-float-a, .mkt-float-b { display: none; }
    .mkt-head-split { flex-direction: column; align-items: flex-start; gap: 14px; }
    .mkt-final { flex-direction: column; align-items: flex-start; }
}


/* ---- Contact form ------------------------------------------------------- */
.contact-block { display: grid; grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr); gap: clamp(28px, 5vw, 72px); padding: clamp(46px, 6vw, 82px) clamp(24px, 7vw, 110px); background: #f7f9ff; border-top: 1px solid var(--line); }
.contact-block-intro h2 { margin: 12px 0 0; font-size: clamp(24px, 2.8vw, 34px); font-weight: 600; line-height: 1.18; letter-spacing: -.015em; }
.contact-block-intro > p { margin: 14px 0 0; color: var(--muted); font-size: 13px; line-height: 1.8; }
.contact-details { display: grid; gap: 14px; margin-top: 26px; padding-top: 22px; border-top: 1px solid var(--line); }
.contact-details div { display: flex; flex-direction: column; gap: 3px; }
.contact-details span { color: var(--muted); font-family: "DM Mono", monospace; font-size: 9px; text-transform: uppercase; }
.contact-details a, .contact-details strong { color: var(--ink); font-size: 13px; font-weight: 600; text-decoration: none; }
.contact-details a:hover { color: var(--red); }
.contact-form { display: grid; gap: 14px; align-content: start; padding: clamp(22px, 3vw, 32px); border: 1px solid #dbe3f4; border-radius: 20px; background: #fff; box-shadow: 0 24px 60px #1d3a7a12; }
.contact-field-row { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
.contact-field { display: grid; gap: 7px; }
.contact-field > span { color: var(--ink); font-size: 11px; font-weight: 600; }
.contact-field input, .contact-field select, .contact-field textarea { width: 100%; padding: 12px 13px; border: 1px solid var(--line); border-radius: 12px; color: var(--ink); background: #fcfdff; font-size: 13px; }
.contact-field textarea { min-height: 130px; resize: vertical; line-height: 1.7; }
.contact-field input:focus, .contact-field select:focus, .contact-field textarea:focus { border-color: var(--yellow); background: #fff; outline: none; box-shadow: 0 0 0 3px #eef3ff; }
.contact-field.has-error input, .contact-field.has-error select, .contact-field.has-error textarea { border-color: #d38170; background: #fdf7f5; }
.contact-field em { color: var(--error); font-size: 11px; font-style: normal; }
.contact-form-foot { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 14px; margin-top: 4px; }
.contact-form-foot p { margin: 0; color: var(--muted); font-size: 11px; }

@media (max-width: 1080px) {
    .contact-block { grid-template-columns: 1fr; }
}

@media (max-width: 700px) {
    .contact-field-row { grid-template-columns: 1fr; }
    .contact-form-foot { flex-direction: column; align-items: stretch; }
    .contact-form-foot .button { justify-content: center; }
}


/* ---- Admin portal ------------------------------------------------------- */
.admin-shell { --admin-ink: #101827; --admin-surface: #ffffff; --admin-border: #e3e8f2; --admin-muted: #64708a; --admin-accent: #0055ff; }
.admin-frame { grid-template-columns: 268px minmax(0, 1fr); }
.admin-sidebar { padding: 24px 16px 18px; height: 100vh; max-height: 100vh; overflow: hidden; }
.admin-sidebar .app-sidebar-brand,
.admin-sidebar .app-sidebar-user,
.admin-sidebar .app-sidebar-status,
.admin-sidebar .app-sidebar-footer { flex: none; }
.admin-sidebar .app-sidebar-status { margin-top: 14px; }
.admin-nav { gap: 2px; overflow-y: auto; overflow-x: hidden; min-height: 0; flex: 1 1 auto; scrollbar-width: none; -ms-overflow-style: none; padding-right: 2px; }
.admin-nav::-webkit-scrollbar { width: 0; height: 0; display: none; }
.admin-nav::-webkit-scrollbar-thumb { background: transparent; }
.admin-nav::-webkit-scrollbar-track { background: transparent; }
.admin-nav .app-nav-label { margin: 14px 9px 5px; color: #97a1b6; font-size: 8px; letter-spacing: .09em; }
.admin-nav .app-nav-label:first-child { margin-top: 6px; }
.admin-nav .app-nav-link { min-height: 34px; padding: 0 10px; border-radius: 10px; font-size: 12px; font-weight: 500; flex: none; }
.admin-nav .app-nav-link.is-active { color: #fff; background: var(--admin-accent); }
.admin-nav .app-nav-link.is-active .app-nav-icon { color: #fff; }
.app-nav-icon { width: 17px; font-size: 15px; color: var(--admin-muted); }
.app-nav-count { margin-left: auto; min-width: 20px; padding: 1px 6px; border-radius: 7px; color: #9d3b23; background: #ffe7de; font-family: "DM Mono", monospace; font-size: 9px; text-align: center; }
.admin-nav .app-nav-link.is-active .app-nav-count { color: #fff; background: #ffffff3d; }
.admin-suite-label { color: #fff; border-color: var(--admin-accent); background: var(--admin-accent); }
.admin-sidebar-identity { color: var(--ink); font-size: 12px; font-weight: 600; }
.admin-topbar { justify-content: space-between; padding: 20px; }
.admin-topbar-actions { display: flex; align-items: center; gap: 12px; margin-left: auto; }
.admin-topbar-link { display: inline-flex; align-items: center; gap: 7px; padding: 7px 12px; border: 1px solid var(--admin-border); border-radius: 10px; font-size: 11px; font-weight: 600; text-decoration: none; }
.admin-topbar-link:hover { border-color: var(--admin-accent); color: var(--admin-accent); }
.admin-pill { min-width: 18px; padding: 1px 5px; border-radius: 6px; color: #fff; background: var(--red); font-family: "DM Mono", monospace; font-size: 9px; text-align: center; }
.admin-topbar-avatar { width: 32px; height: 32px; display: grid; place-items: center; border-radius: 10px; color: #fff; font-size: 13px; font-weight: 700; text-decoration: none; }
.admin-main { width: 100%; min-height: calc(100vh - 72px); margin: 0; padding: 20px; }

.admin-page-head { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 16px; margin-bottom: 20px; }
.admin-page-head h1 { margin: 0; font-size: 22px; font-weight: 600; letter-spacing: -.01em; }
.admin-page-head p { margin: 5px 0 0; color: var(--admin-muted); font-size: 12px; }
.admin-page-actions { display: flex; flex-wrap: wrap; gap: 8px; }
.admin-breadcrumb { display: flex; gap: 6px; margin-bottom: 10px; color: var(--admin-muted); font-family: "DM Mono", monospace; font-size: 9px; text-transform: uppercase; }

.admin-btn { display: inline-flex; align-items: center; gap: 7px; min-height: 36px; padding: 0 14px; border: 1px solid var(--admin-border); border-radius: 10px; color: var(--admin-ink); background: #fff; font-size: 11px; font-weight: 600; text-decoration: none; cursor: pointer; }
.admin-btn:hover { border-color: var(--admin-accent); color: var(--admin-accent); }
.admin-btn-primary { color: #fff; border-color: var(--admin-accent); background: var(--admin-accent); }
.admin-btn-primary:hover { color: #fff; background: #0044cc; }
.admin-btn-danger { color: #9d3b23; border-color: #f3cec2; background: #fff4f0; }
.admin-btn-danger:hover { color: #7d2d19; border-color: #e0a391; }
.admin-btn-success { color: #1e6b45; border-color: #c5e5d3; background: #f2fbf6; }
.admin-btn-success:hover { color: #155235; border-color: #97cfb1; }
.admin-btn-sm { min-height: 28px; padding: 0 10px; font-size: 10px; border-radius: 8px; }
.admin-btn:disabled { opacity: .45; cursor: not-allowed; }

.admin-toolbar { display: flex; flex-wrap: wrap; align-items: flex-end; gap: 10px; margin-bottom: 16px; padding: 14px; border: 1px solid var(--admin-border); border-radius: 14px; background: #fff; }
.admin-field { display: grid; gap: 5px; }
.admin-field > span { color: var(--admin-muted); font-family: "DM Mono", monospace; font-size: 8px; text-transform: uppercase; }
.admin-field input, .admin-field select, .admin-field textarea { min-height: 34px; padding: 7px 10px; border: 1px solid var(--admin-border); border-radius: 9px; color: var(--admin-ink); background: #fbfcfe; font-size: 12px; }
.admin-field textarea { min-height: 74px; resize: vertical; line-height: 1.6; }
.admin-field input:focus, .admin-field select:focus, .admin-field textarea:focus { border-color: var(--admin-accent); background: #fff; outline: none; box-shadow: 0 0 0 3px #e8efff; }
.admin-field-grow { flex: 1 1 200px; }

.admin-stat-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; margin-bottom: 16px; }
.admin-stat { padding: 16px; border: 1px solid var(--admin-border); border-radius: 14px; background: #fff; }
.admin-stat > span { display: flex; align-items: center; gap: 7px; color: var(--admin-muted); font-family: "DM Mono", monospace; font-size: 8px; text-transform: uppercase; }
.admin-stat strong { display: block; margin: 9px 0 4px; font-size: 24px; font-weight: 600; font-variant-numeric: tabular-nums; }
.admin-stat small { color: var(--admin-muted); font-size: 10px; }
.admin-stat-accent { border-color: #c9d9ff; background: linear-gradient(150deg, #eff4ff, #ffffff); }
.admin-stat-danger { border-color: #f3cec2; background: linear-gradient(150deg, #fff4f0, #ffffff); }
.admin-stat-dark { border-color: var(--ink); color: #fff; background: var(--ink); }
.admin-stat-dark > span, .admin-stat-dark small { color: #9fabc3; }

.admin-delta { display: inline-flex; align-items: center; gap: 3px; padding: 1px 6px; border-radius: 6px; font-family: "DM Mono", monospace; font-size: 9px; }
.admin-delta.is-up { color: #1e6b45; background: #e9f8f0; }
.admin-delta.is-down { color: #9d3b23; background: #ffeae3; }

.admin-panel { padding: 18px; border: 1px solid var(--admin-border); border-radius: 16px; background: #fff; }
.admin-panel-head { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 10px; margin-bottom: 14px; }
.admin-panel-head h2 { margin: 0; font-size: 13px; font-weight: 600; }
.admin-panel-head span { color: var(--admin-muted); font-size: 10px; }
.admin-panel-head a { color: var(--admin-accent); font-size: 10px; font-weight: 600; text-decoration: none; }
.admin-split { display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr); gap: 14px; margin-bottom: 14px; }
.admin-split-even { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.admin-stack { display: grid; gap: 14px; }

.admin-table-wrap { overflow-x: auto; border: 1px solid var(--admin-border); border-radius: 14px; background: #fff; }
.admin-table { width: 100%; border-collapse: collapse; font-size: 11px; }
.admin-table thead th { padding: 10px 13px; border-bottom: 1px solid var(--admin-border); color: var(--admin-muted); background: #f8fafd; font-family: "DM Mono", monospace; font-size: 8px; font-weight: 500; text-align: left; text-transform: uppercase; white-space: nowrap; }
.admin-table tbody td { padding: 11px 13px; border-bottom: 1px solid #f0f3f9; vertical-align: middle; }
.admin-table tbody tr:last-child td { border-bottom: 0; }
.admin-table tbody tr:hover { background: #fbfcff; }
.admin-table .num { text-align: right; font-variant-numeric: tabular-nums; white-space: nowrap; }
.admin-table .strong { font-weight: 600; }
.admin-table .muted { color: var(--admin-muted); }
.admin-table .actions { display: flex; gap: 6px; justify-content: flex-end; }
.admin-empty { padding: 34px 18px; color: var(--admin-muted); font-size: 12px; text-align: center; }

.admin-badge { display: inline-flex; align-items: center; gap: 4px; padding: 2px 8px; border-radius: 100px; font-family: "DM Mono", monospace; font-size: 9px; text-transform: uppercase; white-space: nowrap; }
.admin-badge-green { color: #1e6b45; background: #e9f8f0; }
.admin-badge-amber { color: #7a5a10; background: #fdf5e2; }
.admin-badge-red { color: #9d3b23; background: #ffeae3; }
.admin-badge-blue { color: #0d3fa5; background: #e9f0ff; }
.admin-badge-grey { color: #59637a; background: #f0f3f8; }

.admin-pagination { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 10px; margin-top: 14px; color: var(--admin-muted); font-size: 11px; }
.admin-pagination-links { display: flex; gap: 5px; }
.admin-pagination-links a, .admin-pagination-links span { min-width: 28px; height: 28px; display: grid; place-items: center; border: 1px solid var(--admin-border); border-radius: 8px; font-size: 11px; text-decoration: none; }
.admin-pagination-links a:hover { border-color: var(--admin-accent); color: var(--admin-accent); }
.admin-pagination-links .is-current { color: #fff; border-color: var(--admin-accent); background: var(--admin-accent); }

.admin-chart { display: flex; align-items: flex-end; gap: 3px; height: 132px; padding-top: 8px; }
.admin-chart-bar { flex: 1; min-width: 3px; border-radius: 3px 3px 0 0; background: linear-gradient(180deg, #4c85ff, #0055ff); position: relative; }
.admin-chart-bar:hover { background: var(--red); }
.admin-chart-legend { display: flex; justify-content: space-between; margin-top: 8px; color: var(--admin-muted); font-family: "DM Mono", monospace; font-size: 8px; }

.admin-list { display: grid; gap: 2px; }
.admin-list-row { display: flex; align-items: center; gap: 10px; padding: 9px 4px; border-bottom: 1px solid #f2f5fa; font-size: 11px; }
.admin-list-row:last-child { border-bottom: 0; }
.admin-list-row .avatar { width: 28px; height: 28px; flex: none; display: grid; place-items: center; border-radius: 9px; color: #fff; background: var(--admin-accent); font-size: 11px; font-weight: 700; }
.admin-list-row .grow { min-width: 0; flex: 1; }
.admin-list-row .grow strong { display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-size: 11px; font-weight: 600; }
.admin-list-row .grow small { color: var(--admin-muted); font-size: 10px; }
.admin-list-row .amount { font-variant-numeric: tabular-nums; font-weight: 600; white-space: nowrap; }

.admin-tabs { display: flex; flex-wrap: wrap; gap: 4px; margin-bottom: 16px; padding: 4px; border: 1px solid var(--admin-border); border-radius: 12px; background: #fff; }
.admin-tab { padding: 7px 12px; border-radius: 9px; color: var(--admin-muted); font-size: 11px; font-weight: 600; text-decoration: none; }
.admin-tab:hover { color: var(--admin-ink); background: #f5f8fd; }
.admin-tab.is-active { color: #fff; background: var(--admin-accent); }

.admin-tab-panel { display: none; }
.admin-tab-panel.is-active { display: block; }
.admin-nojs .admin-tab-panel { display: block; }

.admin-detail-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.admin-detail-grid div { padding: 10px 12px; border: 1px solid #eef2f9; border-radius: 10px; background: #fbfcff; }
.admin-detail-grid span { display: block; color: var(--admin-muted); font-family: "DM Mono", monospace; font-size: 8px; text-transform: uppercase; }
.admin-detail-grid strong { display: block; margin-top: 4px; font-size: 12px; font-weight: 600; }

.admin-review-layout { display: grid; grid-template-columns: minmax(0, 1.35fr) minmax(0, 1fr); gap: 14px; align-items: start; }
.admin-wave { height: 96px; display: flex; align-items: center; gap: 2px; padding: 0 12px; border-radius: 12px; background: #101827; }
.admin-wave i { flex: 1; border-radius: 2px; background: linear-gradient(180deg, #7ba4ff, #2b6bff); }
.admin-audio { width: 100%; margin-top: 12px; }

.admin-form-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.admin-form-grid .span-2 { grid-column: 1 / -1; }
.admin-check { display: flex; align-items: center; gap: 8px; font-size: 11px; }
.admin-check input { width: 15px; height: 15px; accent-color: var(--admin-accent); }
.admin-form-foot { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 8px; margin-top: 14px; padding-top: 14px; border-top: 1px solid #f0f3f9; }

.admin-permission-grid { display: grid; gap: 12px; }
.admin-permission-group { padding: 12px 14px; border: 1px solid #eef2f9; border-radius: 11px; background: #fbfcff; }
.admin-permission-group h4 { margin: 0 0 8px; font-family: "DM Mono", monospace; font-size: 9px; text-transform: uppercase; color: var(--admin-muted); }
.admin-permission-list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 6px; }

.admin-timeline { display: grid; gap: 0; }
.admin-timeline-row { display: grid; grid-template-columns: 84px 1fr; gap: 12px; padding: 10px 0; border-bottom: 1px solid #f2f5fa; font-size: 11px; }
.admin-timeline-row time { color: var(--admin-muted); font-family: "DM Mono", monospace; font-size: 9px; }
.admin-timeline-row:last-child { border-bottom: 0; }

.admin-thread { display: grid; gap: 10px; max-height: 420px; overflow-y: auto; padding-right: 4px; }
.admin-message { max-width: 84%; padding: 10px 13px; border-radius: 12px; font-size: 11px; line-height: 1.7; }
.admin-message small { display: block; margin-top: 5px; font-family: "DM Mono", monospace; font-size: 8px; opacity: .7; text-transform: uppercase; }
.admin-message-user { justify-self: start; background: #f2f5fb; border: 1px solid #e7ecf6; }
.admin-message-staff { justify-self: end; color: #fff; background: var(--admin-accent); }

.admin-code { padding: 2px 7px; border: 1px solid #e4e9f4; border-radius: 6px; background: #f8fafd; font-family: "DM Mono", monospace; font-size: 11px; letter-spacing: .06em; }
.admin-codes-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 8px; }
.admin-codes-grid code { padding: 9px; border: 1px dashed #c9d9ff; border-radius: 9px; background: #f4f8ff; font-family: "DM Mono", monospace; font-size: 12px; text-align: center; letter-spacing: .08em; }

.admin-note { padding: 11px 13px; border-left: 3px solid #b19036; border-radius: 0 9px 9px 0; background: #fdf8ea; color: #6f5a24; font-size: 11px; line-height: 1.7; }
.admin-note-info { border-left-color: var(--admin-accent); background: #eff4ff; color: #26417f; }
.admin-note-danger { border-left-color: #c2644d; background: #fff4f0; color: #8b3320; }

.admin-mini-bar { height: 6px; border-radius: 4px; background: #eef2f9; overflow: hidden; }
.admin-mini-bar i { display: block; height: 100%; border-radius: 4px; background: var(--admin-accent); }

.admin-forbidden { max-width: 520px; margin: 60px auto; padding: 32px; border: 1px solid var(--admin-border); border-radius: 18px; background: #fff; text-align: center; }
.admin-forbidden h1 { margin: 0 0 10px; font-size: 20px; font-weight: 600; }
.admin-forbidden p { margin: 0 0 18px; color: var(--admin-muted); font-size: 12px; line-height: 1.7; }

.admin-print { padding: 26px; background: #fff; }
.admin-print table { width: 100%; border-collapse: collapse; font-size: 11px; }
.admin-print th, .admin-print td { padding: 7px 9px; border-bottom: 1px solid #e3e8f2; text-align: left; }

@media (max-width: 1180px) {
    .admin-stat-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
    .admin-split, .admin-review-layout { grid-template-columns: 1fr; }
}

@media (max-width: 900px) {
    .admin-stat-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .admin-detail-grid, .admin-form-grid, .admin-permission-list { grid-template-columns: 1fr; }
}

@media (max-width: 620px) {
    .admin-stat-grid { grid-template-columns: 1fr; }
    .admin-split-even { grid-template-columns: 1fr; }
    .admin-toolbar { flex-direction: column; align-items: stretch; }
    .admin-page-head { flex-direction: column; align-items: flex-start; }
}


/* ---- Admin authentication ---------------------------------------------- */
.admin-auth-shell { margin: 0; min-height: 100vh; background: var(--paper); font-family: "Sora", sans-serif; }
.admin-auth { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); min-height: 100vh; }
.admin-auth-brand { display: flex; flex-direction: column; justify-content: space-between; gap: 28px; padding: clamp(28px, 4vw, 56px); color: #fff; background: linear-gradient(155deg, #0b1b3d, #0b2a86 45%, #0055ff); }
.admin-auth-brand .wordmark { color: #fff; font-size: 22px; font-weight: 800; text-decoration: none; }
.admin-auth-brand .wordmark span { color: #fff; }
.admin-auth-brand .wordmark i { color: var(--red); font-style: normal; }
.admin-auth-badge { display: inline-block; padding: 5px 11px; border: 1px solid #ffffff40; border-radius: 100px; font-family: "DM Mono", monospace; font-size: 9px; letter-spacing: .08em; text-transform: uppercase; }
.admin-auth-brand h1 { margin: 18px 0 0; color: #fff; font-size: clamp(28px, 3.4vw, 44px); font-weight: 500; line-height: 1.12; letter-spacing: -.02em; }
.admin-auth-brand p { max-width: 430px; margin: 16px 0 0; color: #cddaff; font-size: 13px; line-height: 1.8; }
.admin-auth-points { display: grid; gap: 10px; margin: 0; padding: 0; list-style: none; }
.admin-auth-points li { display: flex; align-items: flex-start; gap: 9px; color: #e2eaff; font-size: 12px; }
.admin-auth-points li::before { content: "✓"; flex: none; width: 18px; height: 18px; display: grid; place-items: center; border-radius: 50%; background: #ffffff29; font-size: 10px; }
.admin-auth-copy { color: #8fa6d8; font-family: "DM Mono", monospace; font-size: 9px; text-transform: uppercase; }
.admin-auth-panel { display: grid; place-items: center; padding: clamp(24px, 4vw, 56px); }
.admin-auth-card { width: 100%; max-width: 400px; padding: clamp(22px, 3vw, 34px); border: 1px solid var(--line); border-radius: 20px; background: #fff; box-shadow: 0 24px 60px #1d3a7a14; }
.admin-auth-kicker { margin: 0; color: var(--red); font-family: "DM Mono", monospace; font-size: 9px; letter-spacing: .08em; text-transform: uppercase; }
.admin-auth-card h2 { margin: 8px 0 0; font-size: 24px; font-weight: 600; letter-spacing: -.015em; }
.admin-auth-lead { margin: 8px 0 20px; color: var(--muted); font-size: 12px; line-height: 1.7; }
.admin-auth-form { display: grid; gap: 12px; }
.admin-auth-form .admin-field input { min-height: 42px; font-size: 13px; }
.admin-auth-row { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px; }
.admin-auth-row a, .admin-auth-back { color: var(--muted); font-size: 11px; text-decoration: none; }
.admin-auth-row a:hover, .admin-auth-back:hover { color: var(--yellow); }
.admin-auth-submit { justify-content: center; min-height: 44px; margin-top: 4px; }
.admin-auth-back { display: inline-block; margin-top: 16px; }
.admin-code-input { min-height: 48px !important; font-family: "DM Mono", monospace; font-size: 22px !important; letter-spacing: .34em; text-align: center; }
.admin-auth-centred { grid-template-columns: 1fr; place-items: center; padding: 24px; }
.admin-auth-centred .admin-auth-card { max-width: 420px; }

@media (max-width: 920px) {
    .admin-auth { grid-template-columns: 1fr; }
    .admin-auth-brand { min-height: 260px; gap: 18px; }
    .admin-auth-points { display: none; }
}

/* Admin overflow containment: allow table wrappers to scroll inside grids. */
.admin-main { min-width: 0; overflow-x: hidden; }
.admin-main > *, .admin-stack > *, .admin-split > *, .admin-review-layout > * { min-width: 0; }
.admin-table-wrap { max-width: 100%; -webkit-overflow-scrolling: touch; }
.admin-table-wrap table { min-width: 100%; }
.admin-thread { min-width: 0; }
.admin-permission-list { min-width: 0; }
.admin-form-grid > * { min-width: 0; }
@media (max-width: 900px) {
    .admin-table { font-size: 10px; }
    .admin-table thead th, .admin-table tbody td { padding: 8px 9px; }
}

/* Admin submenu ---------------------------------------------------------- */
.admin-nav-top { margin-bottom: 4px; }
.admin-nav-group { margin-bottom: 2px; }
.admin-nav-toggle { width: 100%; min-height: 34px; display: flex; align-items: center; gap: 8px; padding: 0 10px; border: 0; border-radius: 10px; color: #4b5568; background: transparent; font-family: inherit; font-size: 10px; font-weight: 600; letter-spacing: .04em; text-transform: uppercase; cursor: pointer; transition: background .14s ease, color .14s ease; }
.admin-nav-toggle:hover { color: var(--ink); background: #f2f5fb; }
.admin-nav-toggle-label { flex: 1; text-align: left; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.admin-nav-chevron { color: #97a1b6; font-size: 13px; line-height: 1; transition: transform .18s ease; transform: rotate(0deg); }
.admin-nav-group.is-open > .admin-nav-toggle .admin-nav-chevron { transform: rotate(90deg); }
.admin-nav-group.is-current > .admin-nav-toggle { color: var(--admin-accent); }
.admin-nav-group.is-current > .admin-nav-toggle .admin-nav-count { color: #fff; background: var(--admin-accent); }
.admin-subnav { display: grid; gap: 1px; overflow: hidden; max-height: 0; opacity: 0; padding-left: 6px; margin-left: 9px; border-left: 1px solid #e6ebf5; transition: max-height .2s ease, opacity .16s ease; }
.admin-nav-group.is-open > .admin-subnav { max-height: 420px; opacity: 1; margin-bottom: 4px; }
.admin-subnav-link { min-height: 32px; padding: 0 9px; border-radius: 8px; font-size: 11.5px; font-weight: 500; color: var(--muted); }
.admin-subnav-link:hover { color: var(--ink); background: #f4f7fc; }
.admin-subnav-link.is-active { color: var(--admin-accent); background: #eaf0ff; font-weight: 600; }
.admin-subnav-link.is-active .app-nav-count { color: #fff; background: var(--admin-accent); }
.admin-subnav-dot { width: 5px; height: 5px; flex: none; border-radius: 50%; background: #c7d0e0; }
.admin-subnav-link.is-active .admin-subnav-dot { background: var(--admin-accent); box-shadow: 0 0 0 3px #d5e2ff; }
.admin-nav .app-nav-count { margin-left: auto; }
.admin-nav-toggle .app-nav-count { margin-left: auto; }

@media (prefers-reduced-motion: reduce) {
    .admin-subnav, .admin-nav-chevron { transition: none; }
}

/* ---- Plans (participant) ---------------------------------------------- */
.plan-current { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 14px; padding: 16px; margin-bottom: 16px; border: 1px solid #c9d9ff; border-radius: 14px; background: linear-gradient(150deg, #eff4ff, #ffffff); }
.plan-current-label { display: block; color: var(--yellow); font-family: "DM Mono", monospace; font-size: 8px; text-transform: uppercase; }
.plan-current strong { display: block; margin-top: 3px; font-size: 17px; font-weight: 600; }
.plan-current small { color: var(--muted); font-size: 11px; }
.plan-current-facts { display: flex; flex-wrap: wrap; gap: 18px; font-size: 11px; }
.plan-current-facts span { color: var(--muted); }
.plan-current-facts b { display: block; color: var(--ink); font-size: 15px; font-weight: 600; }

.plan-form { display: grid; gap: 16px; }
.plan-picker { margin: 0; padding: 0; border: 0; }
.plan-picker legend { margin-bottom: 10px; color: var(--muted); font-family: "DM Mono", monospace; font-size: 9px; text-transform: uppercase; }
.plan-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(210px, 1fr)); gap: 10px; }
.plan-card { position: relative; display: block; cursor: pointer; }
.plan-card input { position: absolute; opacity: 0; width: 0; height: 0; }
.plan-card-body { display: grid; gap: 8px; height: 100%; padding: 16px; border: 1px solid var(--line); border-radius: 14px; background: #fff; transition: border-color .15s ease, box-shadow .15s ease; }
.plan-card:hover .plan-card-body { border-color: #b9c9ea; }
.plan-card input:checked + .plan-card-body { border-color: var(--yellow); box-shadow: 0 0 0 3px #e8efff; }
.plan-card input:focus-visible + .plan-card-body { outline: 2px solid var(--yellow); outline-offset: 2px; }
.plan-card.is-featured .plan-card-body { background: #f8fbff; }
.plan-card-top { display: flex; align-items: center; justify-content: space-between; gap: 8px; }
.plan-card-top strong { font-size: 14px; font-weight: 600; }
.plan-card-tag { padding: 2px 7px; border-radius: 6px; color: #0d3fa5; background: #e9f0ff; font-family: "DM Mono", monospace; font-size: 8px; text-transform: uppercase; white-space: nowrap; }
.plan-card-price { font-size: 24px; font-weight: 600; letter-spacing: -.02em; }
.plan-card-price small { color: var(--muted); font-size: 11px; font-weight: 500; }
.plan-card-tagline { color: var(--muted); font-size: 11px; line-height: 1.6; }
.plan-card-points { display: grid; gap: 4px; margin-top: 2px; padding-top: 9px; border-top: 1px solid #eef2f9; }
.plan-card-points > span { display: flex; gap: 6px; color: #4b5568; font-size: 10.5px; line-height: 1.5; }
.plan-card-points > span::before { content: "✓"; color: #2d8d59; font-weight: 700; }
.plan-payment { display: grid; gap: 7px; padding-top: 14px; border-top: 1px solid var(--line); }
.plan-payment label { color: var(--ink); font-size: 11px; font-weight: 600; }
.plan-payment select, .plan-payment input { width: 100%; min-height: 40px; padding: 9px 12px; border: 1px solid var(--line); border-radius: 10px; font-size: 12px; }
.plan-payment button { margin-top: 4px; }

/* ---- Contact links (participant) -------------------------------------- */
.support-highlight { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px; padding: 20px; margin-bottom: 16px; border-radius: 16px; color: #fff; background: linear-gradient(130deg, #0b2a86, #0055ff 62%, #2b6bff); }
.support-highlight-label { display: block; color: #b9cfff; font-family: "DM Mono", monospace; font-size: 8px; text-transform: uppercase; }
.support-highlight h2 { margin: 6px 0 0; color: #fff; font-size: 18px; font-weight: 600; }
.support-highlight p { max-width: 520px; margin: 6px 0 0; color: #d8e4ff; font-size: 12px; line-height: 1.7; }
.support-highlight .button { flex: none; color: #0b2a86; background: #fff; }
.support-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 10px; margin-bottom: 16px; }
.support-card { display: flex; align-items: center; gap: 12px; padding: 14px 16px; border: 1px solid var(--line); border-radius: 14px; background: #fff; text-decoration: none; transition: border-color .15s ease, transform .15s ease; }
.support-card:hover { border-color: var(--yellow); transform: translateY(-1px); }
.support-card.is-primary { border-color: #c9d9ff; background: #f8fbff; }
.support-card-icon { width: 38px; height: 38px; flex: none; display: grid; place-items: center; border-radius: 11px; background: #eef3ff; font-size: 17px; }
.support-card-body { min-width: 0; flex: 1; }
.support-card-body strong { display: block; font-size: 13px; font-weight: 600; }
.support-card-body small { display: block; margin-top: 2px; color: var(--muted); font-size: 10.5px; line-height: 1.5; }
.support-card-arrow { color: var(--muted); font-size: 13px; }
.support-channels { margin-bottom: 14px; }
.support-channel-list { display: grid; gap: 2px; }
.support-channel-row { display: grid; grid-template-columns: 200px minmax(0, 1fr); gap: 12px; align-items: start; padding: 11px 0; border-bottom: 1px solid #f2f5fa; }
.support-channel-row:last-child { border-bottom: 0; }
.support-channel-purpose { color: var(--muted); font-family: "DM Mono", monospace; font-size: 9px; text-transform: uppercase; }
.support-channel-links { display: flex; flex-wrap: wrap; gap: 8px; }
.support-channel-links a { padding: 5px 10px; border: 1px solid var(--line); border-radius: 8px; font-size: 11px; text-decoration: none; }
.support-channel-links a:hover { border-color: var(--yellow); color: var(--yellow); }
.support-footnote { color: var(--muted); font-size: 11px; line-height: 1.7; }

@media (max-width: 700px) {
    .support-highlight { flex-direction: column; align-items: flex-start; }
    .support-channel-row { grid-template-columns: 1fr; gap: 6px; }
}