/* FerreiraStore — a focused, protected 2FA workspace. */
:root {
  --canvas: #f3f6fb; --surface: #ffffff; --ink: #13243a; --muted: #64748b;
  --blue: #275df6; --blue-hover: #1749db; --blue-soft: #e8efff;
  --green: #167a63; --line: #e3e9f2; --amber: #986517;
  --display: 'Bahnschrift', 'Aptos Display', 'Segoe UI', sans-serif;
  --body: 'Segoe UI', 'Helvetica Neue', Arial, sans-serif;
  --mono: 'Cascadia Code', 'Consolas', monospace;
  --radius: 16px; --shadow: 0 6px 24px #13243a05;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; font-family: var(--body); color: var(--ink); background: var(--canvas); font-size: 14px; line-height: 1.55; -webkit-font-smoothing: antialiased; }
button, input, select { font: inherit; }
button, a, input, select, summary { -webkit-tap-highlight-color: transparent; }
a { color: inherit; text-decoration: none; }
button { cursor: pointer; }
button:disabled { cursor: not-allowed; opacity: .5; }
button, input, select { color: inherit; }
button { border: 0; }
button, a, input, select, summary { outline-offset: 4px; }
:focus-visible { outline: 3px solid var(--blue); }
h1, h2, h3, p { margin: 0; }
h1, h2, h3 { font-family: var(--display); font-weight: 600; line-height: 1.2; }
h1 { font-size: clamp(32px, 3.1vw, 46px); letter-spacing: -1.5px; }
h2 { font-size: 22px; letter-spacing: -.5px; }
h3 { font-size: 21px; letter-spacing: -.4px; }
p { color: var(--muted); }
.icon { display: inline-block; flex: 0 0 auto; vertical-align: middle; }
.sr-only { position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }
[hidden] { display: none !important; }
.skip-link { position: fixed; top: -80px; left: 20px; z-index: 100; padding: 12px 20px; background: var(--ink); color: white; border-radius: 8px; }
.skip-link:focus { top: 12px; }
.blue-text { color: var(--blue); }
.green-text { color: var(--green); }
.muted { color: var(--muted); }
.eyebrow, .nav-label, .tiny-label { display: block; font-size: 10px; font-weight: 700; letter-spacing: 1.5px; color: var(--muted); }
.eyebrow { margin-bottom: 14px; color: var(--blue); }
.button { min-height: 44px; display: inline-flex; align-items: center; justify-content: center; gap: 11px; padding: 11px 18px; border-radius: 9px; border: 1px solid transparent; font-size: 13px; font-weight: 600; line-height: 1.5; transition: background .18s, box-shadow .18s, transform .18s; white-space: nowrap; }
.button:hover:not(:disabled) { transform: translateY(-1px); }
.button-primary { background: var(--blue); color: white; box-shadow: 0 4px 8px #275df618; }
.button-primary:hover:not(:disabled) { background: var(--blue-hover); box-shadow: 0 5px 12px #275df628; }
.button-secondary { background: var(--surface); border-color: var(--line); color: var(--ink); }
.button-secondary:hover { background: var(--canvas); }
.button-white { background: white; color: #204cd4; }
.button-white:hover { background: var(--blue-soft); }
.button-dark { background: var(--ink); color: white; }
.button-dark:hover { background: #243c59; }
.full-width { width: 100%; }
.text-link { display: inline-flex; align-items: center; gap: 8px; font-size: 12px; font-weight: 600; color: var(--blue); background: transparent; padding: 0; }
.text-link:hover { text-decoration: underline; text-underline-offset: 4px; }
.text-link .icon { width: 16px; height: 16px; }
.icon-button { display: inline-flex; align-items: center; justify-content: center; width: 36px; height: 36px; flex: 0 0 auto; border-radius: 7px; background: transparent; color: var(--muted); transition: background .15s, color .15s; }
.icon-button:hover:not(:disabled) { color: var(--blue); background: var(--blue-soft); }
.icon-tile { display: inline-flex; width: 52px; height: 52px; flex: 0 0 auto; align-items: center; justify-content: center; border: 1px solid #dbe6ff; border-radius: 14px; background: var(--blue-soft); color: var(--blue); }
.icon-tile .icon { width: 24px; height: 24px; }
.icon-tile.small { width: 38px; height: 38px; border-radius: 10px; }
.icon-tile.small .icon { width: 20px; height: 20px; }
.badge, .subtle-badge, .light-badge { display: inline-flex; align-items: center; gap: 6px; font-size: 10px; line-height: 1.5; font-weight: 600; white-space: nowrap; border-radius: 6px; padding: 5px 9px; }
.badge .icon, .light-badge .icon { width: 14px; height: 14px; }
.badge-blue { color: #2452cd; background: var(--blue-soft); }
.badge-green { color: var(--green); background: #e8f5ef; }
.badge-neutral, .subtle-badge { color: var(--muted); background: #edf1f6; }
.badge-amber { color: var(--amber); background: #fff3df; }
.status-dot { width: 5px; height: 5px; background: currentColor; border-radius: 50%; }
.panel { border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); box-shadow: var(--shadow); }

/* Persistent navigation */
.sidebar { position: fixed; width: 232px; left: 0; top: 0; bottom: 0; display: flex; flex-direction: column; padding: 29px 19px 0; background: var(--surface); border-right: 1px solid var(--line); z-index: 40; overflow-y: auto; }
.brand { display: flex; align-items: center; gap: 10px; padding: 0 9px; font-family: var(--display); font-size: 23px; line-height: 1; font-weight: 600; letter-spacing: -.8px; }
.brand-mark { position: relative; width: 34px; height: 35px; display: flex; align-items: center; justify-content: center; background: var(--blue); border-radius: 10px; color: white; font-size: 33px; font-weight: 700; padding: 2px 2px 0 0; letter-spacing: -2px; }
.brand-mark span { position: absolute; height: 5px; width: 5px; background: #a9c3ff; bottom: 9px; right: 6px; border-radius: 1px; }
.brand-suffix { display: block; font-family: var(--body); font-size: 9px; font-weight: 600; letter-spacing: 4.8px; text-transform: uppercase; margin-top: 5px; color: var(--muted); }
.workspace-label { display: flex; align-items: center; gap: 10px; padding: 13px 10px; border: 1px solid var(--line); border-radius: 10px; margin: 32px 0 28px; font-size: 12px; font-weight: 600; }
.workspace-label small { display: block; font-size: 10px; font-weight: 400; color: var(--muted); margin-top: 1px; }
.workspace-label > .icon { width: 13px; margin-left: auto; color: #8796aa; }
.workspace-avatar { display: flex; align-items: center; justify-content: center; width: 31px; height: 33px; border-radius: 8px; background: #edf2f9; color: var(--ink); font-weight: 700; font-size: 15px; }
.nav-label { font-size: 9px; letter-spacing: 1.6px; padding-left: 12px; color: #8c99ab; margin-bottom: 12px; }
.main-nav { display: grid; gap: 6px; }
.main-nav > a { display: flex; align-items: center; gap: 12px; min-height: 45px; padding: 10px 13px; font-size: 12px; color: #65758b; border-radius: 8px; font-weight: 500; }
.main-nav > a:hover { background: #f4f7fc; color: var(--ink); }
.main-nav > a[aria-current='page'] { background: var(--blue-soft); color: var(--blue); font-weight: 650; }
.main-nav .icon { width: 18px; height: 18px; }
.nav-tag { font-family: var(--mono); font-size: 9px; padding: 1px 5px; margin-left: auto; background: #e5ebf4; color: #64748b; border-radius: 4px; }
.sidebar-bottom { margin-top: auto; padding-top: 60px; }
.sidebar-support { background: #f6f8fc; border: 1px solid #edf1f6; padding: 17px 13px; border-radius: 11px; }
.sidebar-support > strong { display: block; font-size: 12px; margin-top: 12px; }
.sidebar-support > p { font-size: 10px; margin: 5px 0 13px; }
.sidebar-support > a { font-size: 11px; font-weight: 600; display: flex; justify-content: space-between; align-items: center; }
.sidebar-support > a .icon { width: 14px; height: 14px; }
.admin-link { display: flex; gap: 10px; align-items: center; padding: 20px 11px; color: #738299; font-size: 11px; }
.admin-link .icon { width: 16px; height: 16px; }
.admin-link .icon:last-child { margin-left: auto; width: 12px; }
.admin-link:hover, .admin-link.active { color: var(--blue); }
.sidebar-footer { margin: 0 -19px; border-top: 1px solid var(--line); padding: 19px; font-size: 9px; color: #8895a8; display: flex; gap: 8px; align-items: center; }
.mini-mark { font-family: var(--display); color: #7486a0; font-size: 17px; font-weight: 700; }
.app-shell { margin-left: 232px; min-height: 100vh; display: flex; flex-direction: column; }
.topbar { height: 76px; flex: 0 0 auto; padding: 0 42px; display: flex; align-items: center; justify-content: space-between; background: #ffffffc7; border-bottom: 1px solid var(--line); }
.breadcrumb { display: flex; align-items: center; gap: 13px; color: #8b98aa; font-size: 11px; }
.breadcrumb > .icon { width: 12px; height: 12px; }
.breadcrumb strong { color: #4f6076; font-weight: 500; }
.topbar-end { display: flex; align-items: center; gap: 22px; }
.private-label { display: flex; align-items: center; gap: 6px; font-size: 10px; color: #7b899d; }
.private-label .icon { height: 14px; width: 14px; }
.profile-avatar { display: grid; place-items: center; width: 31px; height: 31px; border-radius: 50%; background: #e8eefb; color: #4e6fa6; border: 3px solid white; outline: 1px solid var(--line); font-size: 11px; font-weight: 600; }
.main-content { width: 100%; max-width: 1390px; padding: 39px 42px 32px; margin: 0 auto; flex: 1; outline: none; }
.page-footer { padding: 22px 42px; display: flex; justify-content: space-between; gap: 15px; font-size: 10px; color: #8a97a9; border-top: 1px solid var(--line); }
.page-footer a { color: #65758b; }
.footer-dot { margin: 0 8px; }
.mobile-menu, .nav-backdrop { display: none; }

/* Overview and the access-pass signature */
.page-heading { display: flex; justify-content: space-between; align-items: flex-end; gap: 24px; margin-bottom: 30px; }
.page-heading p { font-size: 13px; margin-top: 12px; }
.heading-help { padding-bottom: 3px; }
.welcome-banner { position: relative; background: #2556e8; color: white; border-radius: 18px; min-height: 316px; display: grid; grid-template-columns: 1fr 1fr; overflow: hidden; }
.welcome-copy { position: relative; z-index: 2; padding: 31px 34px 25px; }
.light-badge { color: #e3ebff; border: 1px solid #ffffff29; background: #ffffff0a; font-size: 9px; letter-spacing: 1.1px; padding: 6px 9px; }
.welcome-copy h2 { font-size: 34px; line-height: 1.08; letter-spacing: -.9px; margin: 18px 0 11px; }
.welcome-copy p { color: #c6d6ff; font-size: 12px; line-height: 1.65; }
.welcome-copy .button { margin-top: 23px; min-height: 42px; font-size: 12px; }
.banner-footnote { display: flex; align-items: center; gap: 6px; font-size: 8px; color: #c5d4ff; margin-top: 15px; }
.banner-footnote .icon { width: 11px; height: 11px; }
.verification-art { position: relative; display: flex; align-items: center; justify-content: center; margin-right: 30px; min-width: 0; }
.verification-art::before { content: ''; position: absolute; inset: -10px -30px -10px -50px; background-image: radial-gradient(#b7ceff50 .8px, transparent .8px); background-size: 20px 20px; mask-image: linear-gradient(to left, black, transparent); }
.art-orbit { position: absolute; border: 1px solid #ffffff20; border-radius: 50%; width: 350px; height: 350px; }
.orbit-two { width: 440px; height: 440px; }
.art-ticket { width: 313px; position: relative; padding: 21px 21px 16px; border-radius: 15px; background: #f9fbff; color: var(--ink); transform: rotate(-7deg); box-shadow: 8px 19px 0 #1f45bc, 10px 22px 45px #132b8233; }
.ticket-top { display: flex; align-items: center; gap: 8px; font-size: 7px; font-weight: 700; letter-spacing: 1.15px; color: #8290a7; }
.ticket-top > .icon { margin-left: auto; color: var(--blue); width: 16px; }
.ticket-mark { font-family: var(--display); font-size: 23px; line-height: 1; font-weight: 700; color: var(--blue); }
.ticket-service { font-family: var(--display); font-size: 27px; font-weight: 600; margin: 25px 0 16px; display: flex; align-items: center; gap: 10px; }
.ticket-service > span { font-family: var(--mono); border: 1px solid #cfdcfa; padding: 3px 6px; font-size: 10px; color: var(--blue); border-radius: 4px; }
.ticket-digits { display: flex; gap: 5px; }
.ticket-digits > span { display: grid; place-items: center; background: #edf2ff; border: 1px solid #dce5fa; border-radius: 6px; flex: 1; height: 43px; color: var(--blue); font-size: 21px; }
.ticket-digits > span:nth-child(3) { margin-right: 7px; }
.ticket-bottom { border-top: 1px dashed #d5deee; display: flex; align-items: center; justify-content: space-between; font-size: 8px; color: #7c8ba2; margin: 23px -21px 0; padding: 15px 21px 0; }
.ticket-bottom .icon { width: 14px; height: 14px; }
.ticket-bottom i { display: inline-block; width: 5px; height: 5px; background: var(--green); border-radius: 50%; margin-right: 4px; }
.floating-check { position: absolute; z-index: 2; width: 48px; height: 48px; border: 5px solid #527aef; border-radius: 50%; background: white; color: var(--blue); top: 36px; right: 15px; transform: rotate(8deg); box-shadow: 0 8px 12px #10389b28; }
.floating-check .icon { width: 100%; height: 100%; padding: 7px; stroke-width: 2.6; }
.art-caption { position: absolute; bottom: 20px; color: #b4c8ff; font-family: var(--mono); font-size: 7px; letter-spacing: 1.2px; }
.section-heading { display: flex; justify-content: space-between; align-items: center; margin: 30px 0 18px; }
.section-heading h2 { font-size: 20px; }
.section-heading p { font-size: 11px; margin-top: 4px; }
.products-grid { display: grid; grid-template-columns: 1.04fr .95fr 1fr; gap: 18px; }
.product-card { border: 1px solid #d6e1f7; background: white; border-radius: 14px; padding: 23px 23px 0; transition: border-color .2s, box-shadow .2s; }
.product-card:hover { border-color: #9bb7ff; box-shadow: 0 8px 25px #275df60c; }
.product-top { display: flex; align-items: center; justify-content: space-between; gap: 7px; }
.service-logo { display: grid; place-items: center; width: 47px; height: 47px; background: #e5f4ee; color: #187e62; border-radius: 12px; }
.service-logo .icon { width: 28px; height: 28px; }
.product-card h3 { margin-top: 22px; font-size: 22px; }
.product-card p { font-size: 11px; margin: 8px 0 18px; }
.product-meta { display: flex; flex-wrap: wrap; gap: 10px; font-size: 9px; color: #8290a4; }
.product-meta > span { display: inline-flex; gap: 4px; align-items: center; }
.product-meta .icon { width: 12px; height: 12px; }
.product-action { display: flex; align-items: center; justify-content: space-between; color: var(--blue); font-size: 11px; font-weight: 650; padding: 15px 0; margin-top: 18px; border-top: 1px solid var(--line); }
.round-arrow { display: grid; place-items: center; width: 29px; height: 29px; border-radius: 50%; background: var(--blue-soft); }
.round-arrow .icon { width: 15px; height: 15px; }
.coming-card { padding: 25px 22px; border: 1px dashed #ced8e8; background: #edf2f970; border-radius: 14px; position: relative; overflow: hidden; }
.coming-icon { display: grid; place-items: center; width: 43px; height: 43px; border: 1px dashed #c8d4e7; border-radius: 12px; color: #91a3be; margin-bottom: 23px; }
.coming-card .subtle-badge { font-size: 8px; letter-spacing: 1.1px; background: #e3eaf5; color: #72849f; }
.coming-card h3 { font-size: 20px; line-height: 1.25; margin: 10px 0; color: #637795; }
.coming-card p { font-size: 10px; color: #8696ae; }
.coming-line { display: block; height: 4px; width: 40px; margin-top: 22px; border-radius: 5px; background: #d7e2f2; }
.quick-guide { padding: 4px 5px 0 10px; }
.quick-guide > .eyebrow { font-size: 8px; letter-spacing: 1.3px; margin-bottom: 12px; }
.quick-guide h3 { font-size: 22px; line-height: 1.14; }
.mini-steps { list-style: none; margin: 20px 0; padding: 0; display: grid; gap: 17px; }
.mini-steps li { display: flex; gap: 10px; align-items: flex-start; }
.mini-steps li > span { display: grid; place-items: center; font-family: var(--mono); color: #758cae; border: 1px solid #dbe4f1; background: #edf2f9; border-radius: 50%; width: 22px; height: 22px; flex: 0 0 auto; font-size: 10px; }
.mini-steps strong { font-size: 10px; font-weight: 600; display: block; }
.mini-steps small { font-size: 9px; color: #7c8ba1; display: block; margin-top: 3px; }
.bottom-note { display: flex; align-items: center; gap: 10px; margin-top: 27px; padding: 15px 18px; border-radius: 9px; border: 1px solid var(--line); }
.bottom-note > .icon { width: 16px; height: 16px; color: #8496b3; }
.bottom-note p { font-size: 10px; }
.bottom-note > a { margin-left: auto; display: inline-flex; align-items: center; gap: 6px; white-space: nowrap; font-size: 10px; color: #5d7396; }
.bottom-note > a .icon { width: 13px; height: 13px; }

/* Authentication */
.compact-heading { display: flex; justify-content: space-between; align-items: center; margin-bottom: 25px; }
.back-link { font-size: 12px; color: #6a7d98; }
.back-link:hover { color: var(--blue); }
.login-layout { display: grid; grid-template-columns: 1fr 1.04fr; border: 1px solid var(--line); border-radius: 18px; overflow: hidden; box-shadow: var(--shadow); background: white; }
.login-story { position: relative; overflow: hidden; min-height: 550px; padding: 39px; background: #1d47c4; color: white; display: flex; flex-direction: column; }
.login-story h1 { font-size: clamp(29px, 2.8vw, 43px); line-height: 1.16; letter-spacing: -1.1px; margin-top: 28px; position: relative; z-index: 1; }
.login-story h1 > span { color: #92b8ff; }
.login-story > p { font-size: 12px; color: #c2d3ff; margin-top: 19px; max-width: 300px; position: relative; z-index: 1; }
.login-story > .light-badge { align-self: flex-start; font-size: 8px; }
.login-key-art { min-height: 155px; position: relative; display: flex; align-items: center; justify-content: center; margin-top: 15px; }
.login-key-art > .icon { width: 83px; height: 83px; color: #d3e3ff; stroke-width: .8; transform: rotate(-15deg); z-index: 1; }
.key-halo { position: absolute; width: 146px; height: 146px; border-radius: 50%; border: 1px solid #ffffff20; background: #ffffff05; box-shadow: 0 0 0 28px #ffffff03, 0 0 0 29px #ffffff10, 0 0 0 58px #ffffff02, 0 0 0 59px #ffffff08; }
.key-art-label { position: absolute; bottom: 0; right: 0; font-family: var(--mono); font-size: 7px; letter-spacing: 1.5px; color: #a4c0ff; transform: rotate(-90deg); transform-origin: bottom right; }
.story-bottom { display: flex; gap: 8px; align-items: center; font-size: 9px; color: #bacfff; margin-top: auto; padding-top: 32px; z-index: 1; }
.story-bottom .icon { width: 15px; height: 15px; }
.login-form-panel { padding: 42px 42px 30px; display: flex; flex-direction: column; justify-content: center; }
.login-form-panel h2, .admin-login-card h2 { margin: 22px 0 9px; font-size: 28px; letter-spacing: -.8px; }
.login-form-panel > p, .admin-login-card > p { font-size: 12px; }
.stack-form { margin-top: 29px; }
label { display: block; font-size: 11px; font-weight: 650; margin-bottom: 8px; }
input, select { border: 1px solid #d9e2ef; border-radius: 8px; background: white; padding: 12px 13px; min-width: 0; width: 100%; font-size: 12px; min-height: 44px; }
input::placeholder { color: #94a1b4; opacity: 1; }
input:focus, select:focus { border-color: var(--blue); }
.input-with-icon { display: flex; align-items: center; position: relative; }
.input-with-icon > .icon { position: absolute; left: 13px; color: #8b9cb4; width: 17px; height: 17px; }
.input-with-icon > input { padding-left: 40px; padding-right: 48px; height: 48px; }
.input-with-icon > button { position: absolute; right: 6px; }
.stack-form > small { display: block; font-size: 10px; color: #8895a8; margin-top: 8px; }
.stack-form > .button { margin-top: 22px; min-height: 47px; }
.login-facts { display: grid; grid-template-columns: 1fr 1fr; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); margin-top: 29px; padding: 18px 0; gap: 12px; }
.login-facts > div { display: flex; align-items: flex-start; gap: 8px; }
.login-facts .icon { width: 16px; height: 16px; color: #6d89b7; margin-top: 2px; }
.login-facts strong { display: block; font-size: 10px; font-weight: 650; }
.login-facts small { display: block; font-size: 8px; color: #8392a8; margin-top: 4px; }
.form-help { font-size: 10px; color: #8491a5; margin-top: 22px; }
.form-help a { color: var(--blue); font-weight: 600; }
.form-help .icon { width: 11px; height: 11px; }
.sellers-bar { display: flex; justify-content: space-between; gap: 24px; align-items: center; padding: 25px 2px; }
.sellers-bar > div:first-child { display: flex; align-items: center; gap: 11px; }
.sellers-bar strong { font-size: 11px; font-weight: 600; }
.sellers-bar small { display: block; font-size: 10px; color: var(--muted); margin-top: 3px; }
.seller-links { display: flex; gap: 20px; flex-wrap: wrap; }
.seller-links > a { display: flex; align-items: center; gap: 6px; font-size: 11px; color: #6c7e99; }
.seller-links > a:hover { color: var(--blue); }
.seller-links .icon { width: 12px; height: 12px; }
.alert { display: flex; gap: 9px; align-items: flex-start; padding: 13px 14px; border-radius: 8px; font-size: 12px; margin-top: 20px; border: 1px solid; }
.alert .icon { width: 16px; height: 16px; margin-top: 1px; }
.alert-error { color: #a7353d; background: #fff1f1; border-color: #f6d6d9; }
.alert-warning { color: #886019; background: #fff7e9; border-color: #f4e3c3; }

/* Live code and credentials */
.small-heading h1 { font-size: clamp(29px, 2.6vw, 38px); letter-spacing: -1px; }
.small-heading .eyebrow { margin-bottom: 10px; }
.small-heading p { font-size: 12px; }
.access-summary { display: grid; grid-template-columns: 1.12fr 1fr 1fr; background: var(--surface); border: 1px solid var(--line); padding: 22px 10px; border-radius: 13px; margin-bottom: 25px; box-shadow: var(--shadow); }
.access-summary > div { padding: 0 19px; display: flex; align-items: center; gap: 13px; border-right: 1px solid var(--line); }
.access-summary > div:last-child { border: 0; }
.summary-icon { color: #7a91b5; }
.summary-icon .icon { width: 23px; height: 23px; }
.access-summary small { display: block; font-size: 8px; color: #8d9aab; margin-top: 4px; }
.access-summary small:first-child { letter-spacing: .8px; font-size: 8px; margin: 0 0 5px; }
.access-summary strong { display: block; font-size: 12px; font-weight: 650; }
.access-grid { display: grid; grid-template-columns: 1.38fr 1fr; align-items: start; gap: 22px; }
.panel-heading { padding: 20px 23px; display: flex; align-items: center; justify-content: space-between; gap: 15px; border-bottom: 1px solid var(--line); }
.panel-title { display: flex; align-items: center; gap: 9px; }
.panel-title > .icon { color: #7189af; width: 18px; height: 18px; }
.panel-title h2 { font-size: 15px; letter-spacing: -.2px; }
.code-panel { overflow: hidden; }
.code-panel .panel-heading { padding: 20px; }
.code-panel .badge { font-size: 8px; padding: 4px 7px; }
.code-stage { padding: 34px 23px 26px; display: flex; flex-direction: column; align-items: center; text-align: center; background-image: radial-gradient(#b7c7e121 .7px, transparent .7px); background-size: 14px 14px; }
.code-stage > .eyebrow { font-size: 9px; letter-spacing: 1.6px; color: #8a9ab3; margin-bottom: 22px; }
.code-digits { display: flex; justify-content: center; gap: 7px; width: 100%; }
.code-digits > span { flex: 1; max-width: 57px; aspect-ratio: .76; display: grid; place-items: center; background: #f3f6fd; border: 1px solid #dce5f5; border-bottom: 3px solid #d6e1f7; color: #a7b9d8; border-radius: 9px; font-family: var(--mono); font-size: clamp(26px, 3.1vw, 46px); line-height: 1; }
.code-digits > span.group-break { margin-right: 9px; }
.code-digits.ready > span { color: var(--blue); background: #f0f4ff; border-color: #c5d5fb; }
.code-status { font-size: 11px; margin: 17px 0 21px; min-height: 34px; max-width: 335px; display: flex; align-items: center; justify-content: center; }
.copy-code { min-width: 185px; }
.code-received { display: block; color: #8c9aaf; font-size: 9px; margin-top: 12px; min-height: 14px; }
.poll-controls { display: flex; align-items: center; justify-content: space-between; gap: 6px; padding: 12px 20px; border-top: 1px solid var(--line); background: #fcfdff; }
.poll-controls > span { display: flex; align-items: center; gap: 6px; color: #8091aa; font-size: 9px; }
.poll-controls > span .icon { width: 13px; height: 13px; }
.poll-controls > div { display: flex; align-items: center; gap: 7px; }
.poll-controls .text-link { font-size: 10px; }
.poll-controls .icon-button { width: 28px; height: 28px; }
.poll-controls .icon-button .icon { width: 14px; height: 14px; }
.account-body { padding: 24px; }
.account-body > p { font-size: 11px; margin-bottom: 24px; }
.account-body label { font-size: 10px; }
.credential-field { display: flex; align-items: center; background: #f7f9fd; border: 1px solid var(--line); border-radius: 7px; padding-right: 4px; margin-bottom: 19px; }
.credential-field input { width: 100%; border: 0; background: transparent; padding: 12px 10px; font-family: var(--mono); font-size: 10px; }
.credential-field .icon-button { width: 28px; height: 30px; }
.credential-field .icon { width: 15px; height: 15px; }
.account-body > .button { margin-top: 4px; font-size: 12px; }
.credential-note { display: flex; align-items: flex-start; gap: 7px; font-size: 9px; line-height: 1.7; color: #8b99ad; margin-top: 19px; }
.credential-note > .icon { width: 13px; height: 13px; margin-top: 1px; }
.tiny-label { font-size: 8px; letter-spacing: 1px; }
.history-panel .panel-heading { padding: 18px 22px; }
.empty-history { display: flex; align-items: center; gap: 12px; padding: 31px 22px; }
.empty-history strong { display: block; font-size: 11px; font-weight: 600; }
.empty-history p { font-size: 9px; margin-top: 5px; }
.code-history { margin: 0; padding: 0; list-style: none; }
.code-history li { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 10px 22px; border-bottom: 1px solid #eff3f8; }
.code-history li:last-child { border: 0; }
.code-history code { font-family: var(--mono); font-size: 15px; letter-spacing: 2px; color: #506989; }
.code-history time { font-size: 10px; color: #8393aa; margin-left: auto; }
.code-history .history-state { font-size: 9px; color: var(--muted); }
.next-step-card { padding: 25px 24px; background: #eaf0fb; border: 1px solid #dfe7f7; border-radius: 13px; }
.next-step-card h3 { font-size: 18px; margin: 17px 0 11px; }
.next-step-card p { font-size: 11px; line-height: 1.8; }
.next-step-card > a { margin-top: 16px; }

/* Token administration */
.admin-login-wrap { display: grid; grid-template-columns: 1.1fr 1fr; gap: 65px; align-items: center; max-width: 900px; margin: 40px auto; }
.admin-login-card { padding: 40px; }
.admin-login-card h2 { font-size: 25px; }
.admin-login-aside h2 { font-size: 39px; line-height: 1.12; }
.admin-login-aside > p { font-size: 12px; max-width: 310px; margin: 21px 0 30px; line-height: 1.85; }
.admin-feature { display: flex; align-items: center; gap: 10px; font-size: 11px; color: #697c98; margin: 16px 0; }
.admin-feature .icon { width: 16px; height: 16px; color: #7393c5; }
.admin-stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; margin: 25px 0; }
.stat-card { border: 1px solid var(--line); border-radius: 12px; background: white; padding: 20px; position: relative; }
.stat-card > span:first-child { display: block; color: #64748b; font-size: 11px; }
.stat-card > strong { display: block; font-family: var(--display); font-size: 32px; font-weight: 500; margin-top: 10px; }
.stat-card > .icon { position: absolute; top: 52px; right: 18px; color: #aac0e5; width: 29px; height: 29px; }
.stat-detail { display: block; font-size: 10px; color: #71819a; margin-top: 3px; }
.generate-panel { padding: 25px; display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 20px; margin-bottom: 26px; }
.generate-panel > div:first-child { flex: 1; min-width: 200px; }
.generate-panel .icon-tile { float: left; margin-right: 12px; }
.generate-panel h2 { font-size: 16px; letter-spacing: -.2px; }
.generate-panel p { font-size: 10px; margin-top: 6px; }
.generate-panel form { display: flex; gap: 10px; align-items: flex-end; }
.generate-panel .form-field { width: 145px; }
.generate-panel .count-field { width: 82px; }
.generate-panel label { font-size: 9px; }
.generate-panel input { padding: 11px; }
.generate-panel .button { font-size: 11px; padding: 11px 14px; }
.generation-result { width: 100%; padding: 14px; background: #e8f5ef; border: 1px solid #c4e4d6; color: var(--green); border-radius: 8px; font-size: 12px; }
.generation-result > a { margin-left: 12px; text-decoration: underline; }
.generation-result.error { background: #fff1f1; color: #a7353d; border-color: #f6d6d9; }
.table-filters { display: flex; gap: 11px; padding: 18px 22px; align-items: center; }
.search-field { position: relative; max-width: 360px; flex: 1; }
.search-field > .icon { position: absolute; left: 12px; top: 14px; width: 16px; height: 16px; color: #96a4b9; }
.search-field > input { padding-left: 36px; }
.table-filters select { width: 200px; }
.table-filters .button { font-size: 11px; }
.table-scroll { position: relative; overflow-x: auto; }
table { width: 100%; border-collapse: collapse; text-align: left; white-space: nowrap; }
th { background: #f7f9fd; color: #61748e; font-size: 11px; font-weight: 500; padding: 12px 21px; border-block: 1px solid var(--line); }
td { padding: 12px 21px; border-bottom: 1px solid #edf1f7; font-size: 12px; color: #64748b; }
td:last-child { padding: 7px 17px; }
tr:last-child td { border: 0; }
.token-text { font-family: var(--mono); color: #516a8b; font-size: 12px; }
.usage-number { font-family: var(--mono); color: #445d7e; font-size: 12px; }
.pagination { display: flex; align-items: center; justify-content: space-between; padding: 16px 22px; border-top: 1px solid var(--line); }
.pagination > span { font-size: 10px; color: #8997ac; }
.pagination > div { display: flex; gap: 8px; }
.pagination .button { font-size: 10px; min-height: 35px; padding: 7px 11px; }
.pagination .icon { width: 13px; height: 13px; }
.table-empty { text-align: center; padding: 50px 20px !important; white-space: normal; }
.table-empty > .icon { width: 25px; height: 25px; color: #9bafce; margin-bottom: 16px; }
.table-empty strong { display: block; font-weight: 600; color: #526a8b; }
.table-empty p { font-size: 11px; margin-top: 7px; }

/* Help, recoverable states, and feedback */
.status-layout { max-width: 530px; margin: 38px auto; }
.status-card { padding: 36px 45px; text-align: center; }
.status-illustration { position: relative; display: grid; place-items: center; margin: 10px auto 39px; width: 89px; height: 89px; border-radius: 25px; background: var(--blue-soft); color: var(--blue); transform: rotate(-7deg); }
.status-illustration > .icon { width: 41px; height: 41px; transform: rotate(7deg); stroke-width: 1.5; }
.status-orbit { position: absolute; inset: -10px; border: 1px dashed #b7caed; border-radius: 30px; }
.status-amber { color: #a8782b; background: #fff2d9; }
.status-amber > .status-orbit { border-color: #edd6ae; }
.status-card .eyebrow { font-size: 9px; color: #8d9ab0; margin-bottom: 15px; }
.status-card h1 { font-size: 36px; line-height: 1.17; letter-spacing: -1px; }
.status-description { font-size: 12px; margin: 20px auto 25px; line-height: 1.9; }
.status-info { display: flex; align-items: flex-start; text-align: left; gap: 10px; padding: 17px; background: #f5f8fc; border: 1px solid var(--line); border-radius: 9px; margin: 25px 0; }
.status-info > .icon { color: #8299bd; width: 17px; height: 17px; margin-top: 2px; }
.status-info p { font-size: 11px; line-height: 1.75; }
.status-card .button { margin-top: 11px; }
.status-card > .back-link, .status-card > .text-link { display: inline-flex; margin-top: 23px; font-size: 11px; }
.status-footer { font-size: 10px; color: #8e9bb0; text-align: center; margin-top: 24px; }
.error-number { font-family: var(--mono); font-size: 75px; line-height: 1.2; color: #b8caf0; letter-spacing: -6px; display: block; margin: 5px 0 25px; }
.help-layout { display: grid; grid-template-columns: 1.7fr 1fr; gap: 28px; align-items: start; }
.guide-panel { padding: 28px; }
.full-steps { list-style: none; padding: 0; margin: 29px 0 0; }
.full-steps li { position: relative; display: flex; gap: 16px; padding-bottom: 28px; }
.full-steps li:last-child { padding-bottom: 0; }
.full-steps li:not(:last-child)::before { content: ''; position: absolute; left: 15px; top: 37px; bottom: 5px; width: 1px; background: #e0e8f6; }
.full-steps li > span { display: grid; place-items: center; width: 32px; height: 32px; flex: 0 0 auto; border: 1px solid #d8e3fa; border-radius: 10px; background: #eff4ff; color: #5e80bc; font-size: 12px; font-family: var(--mono); }
.full-steps h3 { font-size: 15px; margin: 6px 0 8px; }
.full-steps p { font-size: 11px; line-height: 1.8; }
.support-card { padding: 29px 25px; border: 1px solid #d9e4fa; border-radius: 14px; background: #eaf0fc; }
.support-card h2 { font-size: 29px; line-height: 1.14; margin: 22px 0 17px; }
.support-card > p { font-size: 11px; line-height: 1.85; margin-bottom: 26px; }
.support-card .button { font-size: 11px; margin-top: 10px; }
.help-tip { padding: 25px; }
.help-tip > .icon { color: #839cbd; display: block; margin-bottom: 12px; }
.help-tip strong { font-size: 12px; }
.help-tip p { font-size: 11px; line-height: 1.8; margin-top: 9px; }
.faq-section { margin-top: 33px; }
.faq-section > h2 { font-size: 20px; margin-bottom: 20px; }
.faq-list { border: 1px solid var(--line); border-radius: 12px; background: white; overflow: hidden; }
details { border-bottom: 1px solid var(--line); padding: 0 22px; }
details:last-child { border: 0; }
summary { list-style: none; display: flex; align-items: center; justify-content: space-between; gap: 15px; padding: 20px 0; cursor: pointer; font-size: 12px; font-weight: 600; }
summary::-webkit-details-marker { display: none; }
summary > .icon { width: 16px; height: 16px; color: #8b9cb7; }
details[open] summary > .icon { transform: rotate(45deg); }
details p { font-size: 11px; line-height: 1.9; padding-bottom: 22px; }
.toast { position: fixed; bottom: 24px; left: calc(50% + 116px); z-index: 70; max-width: calc(100vw - 32px); padding: 12px 20px; border: 1px solid #354d69; border-radius: 10px; background: #0f1929; color: #f4f7fb; font-size: 12px; box-shadow: 0 14px 34px #02061173; transform: translate(-50%, 18px); opacity: 0; visibility: hidden; transition: opacity .2s, transform .2s, visibility .2s; text-align: center; }
.toast.visible { opacity: 1; transform: translate(-50%, 0); visibility: visible; }
.is-loading .icon { opacity: .6; }
@keyframes arrive { from { opacity: .5; transform: translateY(7px); } to { opacity: 1; transform: translateY(0); } }
.main-content { animation: arrive .3s ease-out both; }

@media (min-width: 1600px) { .main-content { padding-top: 48px; } .welcome-banner { min-height: 343px; } .welcome-copy { padding: 36px 43px; } .welcome-copy h2 { font-size: 39px; } .products-grid { gap: 24px; } .product-card, .coming-card { padding-inline: 27px; } }
@media (max-width: 1190px) {
  .sidebar { width: 210px; padding-inline: 15px; }
  .brand { font-size: 21px; gap: 8px; padding-inline: 4px; }
  .sidebar-footer { margin-inline: -15px; padding-inline: 15px; font-size: 8px; }
  .app-shell { margin-left: 210px; }
  .main-content { padding: 30px 28px; }
  .topbar, .page-footer { padding-inline: 28px; }
  .welcome-copy { padding-inline: 27px; }
  .welcome-copy h2 { font-size: 31px; }
  .art-ticket { width: 270px; padding-inline: 17px; }
  .ticket-bottom { margin-inline: -17px; padding-inline: 17px; }
  .floating-check { right: -7px; }
  .art-caption { font-size: 6px; }
  .products-grid { gap: 14px; }
  .product-card, .coming-card { padding-inline: 18px; }
  .product-top { align-items: flex-start; }
  .product-top .badge { font-size: 8px; }
  .quick-guide { padding-left: 4px; }
  .quick-guide h3 { font-size: 20px; }
  .mini-steps { gap: 14px; }
  .mini-steps strong { font-size: 9px; }
  .mini-steps small { font-size: 8px; }
  .login-form-panel, .login-story { padding: 31px; }
  .sellers-bar { flex-wrap: wrap; gap: 18px; }
  .access-grid { grid-template-columns: 1.25fr 1fr; gap: 17px; }
  .access-summary > div { padding-inline: 12px; gap: 8px; }
  .access-summary strong { font-size: 11px; }
  .panel-heading { padding-inline: 18px; }
  .code-panel .panel-heading { flex-wrap: wrap; gap: 8px; }
  .account-body { padding: 21px 18px; }
  .poll-controls { padding-inline: 12px; flex-wrap: wrap; }
  .admin-login-wrap { gap: 38px; }
  .admin-login-card { padding: 28px; }
  .generate-panel form { width: 100%; }
  .generate-panel .form-field { flex: 1; }
  .generate-panel .count-field { max-width: 100px; }
  .stat-card { padding: 16px; }
  .stat-card > span:first-child { font-size: 9px; }
  .help-layout { gap: 20px; grid-template-columns: 1.5fr 1fr; }
  .toast { left: calc(50% + 105px); }
}
@media (max-width: 960px) {
  .sidebar { width: 195px; padding-inline: 12px; }
  .brand { font-size: 20px; }
  .brand-mark { width: 30px; height: 33px; }
  .app-shell { margin-left: 195px; }
  .main-content { padding-inline: 23px; }
  .topbar, .page-footer { padding-inline: 23px; }
  .sidebar-footer { margin-inline: -12px; padding-inline: 12px; }
  .welcome-banner { grid-template-columns: 1.05fr 1fr; }
  .welcome-copy { padding: 27px 23px; }
  .welcome-copy h2 { font-size: 29px; }
  .welcome-copy p { font-size: 10px; }
  .welcome-copy .button { font-size: 10px; padding-inline: 12px; }
  .banner-footnote { font-size: 7px; }
  .verification-art { margin-right: 20px; }
  .art-ticket { width: 224px; padding: 18px 15px 14px; }
  .ticket-top { font-size: 6px; }
  .ticket-top > .icon { width: 12px; }
  .ticket-service { font-size: 24px; margin: 19px 0 14px; }
  .ticket-digits > span { height: 36px; font-size: 17px; }
  .ticket-digits { gap: 4px; }
  .ticket-bottom { font-size: 6px; margin-inline: -15px; padding-inline: 15px; }
  .floating-check { width: 41px; height: 41px; top: 54px; }
  .art-caption { max-width: 160px; text-align: center; bottom: 23px; }
  .products-grid { grid-template-columns: 1fr 1fr; gap: 19px; }
  .product-top .badge { font-size: 9px; }
  .quick-guide { grid-column: 1 / -1; border: 1px solid var(--line); border-radius: 12px; padding: 23px; }
  .quick-guide h3 br { display: none; }
  .mini-steps { display: flex; gap: 16px; justify-content: space-between; }
  .mini-steps li { flex: 1; }
  .mini-steps strong { font-size: 10px; }
  .mini-steps small { font-size: 9px; }
  .bottom-note > a { display: none; }
  .login-story { padding: 29px 23px; }
  .login-story h1 { font-size: 30px; }
  .login-form-panel { padding: 30px 24px; }
  .login-form-panel h2 { font-size: 25px; }
  .login-facts { grid-template-columns: 1fr; gap: 12px; }
  .login-facts small { font-size: 9px; }
  .form-help a { display: block; margin-top: 4px; }
  .small-heading { align-items: flex-start; }
  .small-heading h1 { font-size: 29px; }
  .small-heading > form .button { font-size: 10px; padding-inline: 12px; }
  .access-grid { grid-template-columns: 1fr; }
  .code-panel { grid-row: 1; }
  .account-panel { grid-row: 2; }
  .code-digits > span { font-size: 43px; }
  .code-panel .panel-heading { flex-wrap: nowrap; }
  .access-summary { gap: 10px; }
  .access-summary .summary-icon { display: none; }
  .access-summary > div { padding-inline: 8px; }
  .access-summary strong { font-size: 10px; }
  .access-summary small { font-size: 7px; }
  .help-layout { grid-template-columns: 1fr; }
  .help-aside { display: grid; grid-template-columns: 1.3fr 1fr; }
  .admin-login-wrap { gap: 26px; grid-template-columns: 1.3fr 1fr; }
  .admin-login-aside h2 { font-size: 30px; }
  .admin-login-card { padding: 24px; }
  .admin-login-card h2 { font-size: 21px; }
  .admin-stats { gap: 10px; grid-template-columns: 1fr 1fr; }
  .table-filters { flex-wrap: wrap; }
  .search-field { min-width: 200px; max-width: none; }
  .table-filters select { width: 170px; }
  .tokens-panel .tiny-label { display: none; }
  .toast { left: calc(50% + 97px); }
}
@media (max-width: 740px) {
  .sidebar { width: 244px; transform: translateX(-100%); transition: transform .2s; padding-inline: 20px; }
  .nav-open .sidebar { transform: translateX(0); }
  .nav-open { overflow: hidden; }
  .nav-open .nav-backdrop { display: block; position: fixed; inset: 0; width: 100%; height: 100%; background: #13243a65; z-index: 39; cursor: pointer; }
  .brand { font-size: 23px; }
  .sidebar-footer { margin-inline: -20px; padding-inline: 20px; }
  .sidebar-bottom { padding-top: 40px; }
  .mobile-menu { display: inline-flex; margin-left: -7px; margin-right: 1px; }
  .app-shell { margin-left: 0; }
  .topbar { height: 65px; padding-inline: 21px; }
  .breadcrumb { gap: 8px; font-size: 10px; }
  .breadcrumb > span { display: none; }
  .breadcrumb > .icon { display: none; }
  .private-label { font-size: 9px; }
  .topbar-end { gap: 13px; }
  .profile-avatar { width: 29px; height: 29px; }
  .main-content { padding: 27px 21px; }
  h1 { font-size: 37px; }
  .page-heading { gap: 15px; margin-bottom: 26px; }
  .page-heading p { font-size: 12px; }
  .heading-help { display: none; }
  .eyebrow { font-size: 9px; letter-spacing: 1.2px; }
  .welcome-copy { padding: 29px 25px; }
  .welcome-copy h2 { font-size: 32px; }
  .welcome-copy p { font-size: 11px; }
  .banner-footnote { font-size: 7px; }
  .welcome-copy .button { font-size: 11px; padding-inline: 15px; }
  .page-footer { padding: 21px; font-size: 9px; }
  .page-footer > span:last-child { max-width: 170px; text-align: right; }
  .login-layout { grid-template-columns: 1fr; }
  .login-story { min-height: 0; padding: 28px; }
  .login-story h1 { font-size: 35px; max-width: 350px; margin-top: 19px; }
  .login-story h1 br:nth-child(2) { display: none; }
  .login-story > p { font-size: 11px; max-width: 280px; margin-top: 15px; }
  .login-key-art { position: absolute; right: -45px; bottom: -35px; opacity: .14; width: 200px; height: 200px; }
  .story-bottom { font-size: 8px; padding-top: 22px; }
  .login-form-panel { padding: 30px; }
  .login-form-panel h2 { font-size: 28px; }
  .login-facts { grid-template-columns: 1fr 1fr; }
  .form-help a { display: inline; }
  .login-facts strong { font-size: 11px; }
  .sellers-bar { padding-top: 23px; }
  .seller-links { gap: 23px; }
  .seller-links a { font-size: 10px; }
  .compact-heading .badge { font-size: 8px; }
  .compact-heading .back-link { font-size: 10px; }
  .small-heading { flex-wrap: wrap; align-items: center; }
  .small-heading h1 { font-size: 32px; }
  .small-heading .button { font-size: 11px; min-height: 39px; }
  .access-summary { padding-block: 17px; gap: 0; }
  .access-summary strong { font-size: 10px; }
  .access-summary > div { padding-inline: 11px; }
  .access-summary small { font-size: 8px; }
  .access-summary small:first-child { font-size: 7px; letter-spacing: .4px; }
  .admin-login-wrap { grid-template-columns: 1fr; gap: 30px; margin: 25px auto; }
  .admin-login-card { padding: 30px; }
  .admin-login-card h2 { font-size: 27px; }
  .admin-login-aside { padding: 15px 8px; }
  .admin-login-aside h2 br { display: none; }
  .admin-login-aside > p { max-width: 400px; }
  .admin-stats { gap: 12px; }
  .stat-card > span:first-child { font-size: 10px; }
  .stat-detail { font-size: 9px; }
  .generate-panel { padding: 23px 20px; }
  .generate-panel form { flex-wrap: wrap; gap: 12px; }
  .generate-panel .form-field { flex: 1; width: auto; }
  .generate-panel .count-field { max-width: 90px; }
  .table-filters { padding-inline: 17px; }
  .table-filters select { flex: 1; min-width: 150px; }
  .search-field { flex-basis: 100%; }
  .status-layout { margin: 23px auto; }
  .status-card { padding: 34px 27px; }
  .status-card h1 { font-size: 33px; }
  .help-aside { grid-template-columns: 1fr; }
  .guide-panel { padding: 24px; }
  .toast { left: 50%; }
}
@media (max-width: 520px) {
  .welcome-banner { grid-template-columns: 1fr; }
  .welcome-copy { padding: 28px 25px 24px; }
  .welcome-copy h2 { font-size: 35px; }
  .welcome-copy p { font-size: 12px; }
  .welcome-copy .button { font-size: 12px; }
  .banner-footnote { font-size: 8px; }
  .verification-art { height: 218px; margin: 0; }
  .verification-art::before { inset: -50px 0 -30px; mask-image: linear-gradient(to top, black, transparent); }
  .art-ticket { width: 253px; transform: rotate(-7deg) translateY(-17px); }
  .ticket-digits > span { height: 33px; }
  .ticket-service { margin: 14px 0 11px; font-size: 22px; }
  .ticket-top { font-size: 6px; }
  .ticket-bottom { margin-top: 16px; padding-top: 12px; }
  .art-caption { bottom: 13px; max-width: none; }
  .floating-check { top: -6px; right: calc(50% - 137px); }
  .orbit-one { width: 290px; height: 290px; }
  .orbit-two { width: 355px; height: 355px; }
  .products-grid { grid-template-columns: 1fr; gap: 16px; }
  .product-card { padding: 23px 24px 0; }
  .product-card h3 { font-size: 25px; margin-top: 16px; }
  .product-card p { font-size: 12px; }
  .product-meta { font-size: 10px; }
  .product-action { font-size: 12px; }
  .coming-card { padding: 24px; }
  .coming-card .coming-icon { float: right; margin-bottom: 0; }
  .coming-card h3 br, .coming-card p br { display: none; }
  .coming-card p { font-size: 11px; max-width: 250px; }
  .coming-line { margin-top: 16px; }
  .quick-guide { grid-column: auto; padding: 25px; }
  .quick-guide h3 { font-size: 24px; }
  .quick-guide > .eyebrow { font-size: 9px; }
  .mini-steps { display: grid; gap: 20px; }
  .mini-steps strong { font-size: 12px; }
  .mini-steps small { font-size: 10px; }
  .mini-steps li { gap: 12px; }
  .mini-steps li > span { height: 25px; width: 25px; }
  .section-heading > .subtle-badge { font-size: 8px; }
  .bottom-note { align-items: flex-start; padding: 14px; }
  .bottom-note > .icon { margin-top: 2px; }
  .bottom-note p { font-size: 10px; line-height: 1.8; }
  .access-summary { grid-template-columns: 1fr; padding: 0 19px; }
  .access-summary > div { border: 0; border-bottom: 1px solid var(--line); padding: 15px 0; gap: 15px; }
  .access-summary .summary-icon { display: block; }
  .access-summary strong { font-size: 12px; }
  .access-summary small { font-size: 9px; }
  .access-summary small:first-child { font-size: 8px; }
  .panel-title h2 { font-size: 13px; }
  .panel-title { gap: 6px; }
  .code-panel .panel-heading { padding: 18px 14px; gap: 5px; }
  .code-panel .badge { font-size: 7px; }
  .code-stage { padding-inline: 20px; }
  .code-digits { gap: 5px; }
  .code-digits > span { font-size: 34px; border-radius: 7px; }
  .code-digits > span.group-break { margin-right: 6px; }
  .poll-controls { padding-inline: 13px; }
  .poll-controls > span { font-size: 8px; }
  .poll-controls .text-link { font-size: 9px; }
  .poll-controls > div { gap: 3px; }
  .empty-history { padding-inline: 18px; }
  .empty-history strong { font-size: 10px; }
  .empty-history p { font-size: 9px; }
  .credential-field input { font-size: 11px; }
  .generate-panel form > .button { width: 100%; }
  .generate-panel h2 { font-size: 15px; }
  .generate-panel .icon-tile { display: none; }
  .table-filters { gap: 8px; }
  .pagination { padding-inline: 17px; }
  .pagination > span { font-size: 9px; }
  .sellers-bar strong { font-size: 10px; }
  .sellers-bar small { font-size: 9px; }
  .seller-links { gap: 16px; }
  .login-form-panel { padding: 29px 23px; }
  .login-story { padding: 27px 24px; }
  .login-story h1 { font-size: 32px; }
  .login-facts small { font-size: 8px; }
  .login-facts strong { font-size: 10px; }
  .full-steps { margin-top: 25px; }
  .full-steps li { gap: 13px; }
  .full-steps h3 { font-size: 14px; }
  .full-steps p { font-size: 11px; }
  .guide-panel { padding: 23px 20px; }
  .faq-section > h2 { font-size: 22px; max-width: 260px; }
  summary { font-size: 11px; }
}
@media (max-width: 359px) {
  .main-content { padding-inline: 15px; }
  .topbar, .page-footer { padding-inline: 15px; }
  .private-label { display: none; }
  .login-facts { grid-template-columns: 1fr; }
  .code-digits > span { font-size: 28px; }
  .code-panel .panel-heading { flex-wrap: wrap; }
  .poll-controls { gap: 10px; }
  .compact-heading { flex-wrap: wrap; gap: 13px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
}

.admin-overview { grid-template-columns:.8fr .8fr 1fr auto; }
.admin-overview small { display:block;color:var(--muted);font-size:8px; }
.monitor-state.online { color:var(--green); }
.monitor-state.unavailable,.monitor-state.starting { color:var(--amber); }
.admin-password-label { margin-top:17px; }

/* FerreiraStore — monitor-specific identity and admin surfaces. */
.live-support { background: linear-gradient(145deg,#f3f7ff,#eef5ff); }
.signal-orb { width: 38px; height: 38px; display: inline-grid; place-items: center; position: relative; border-radius: 50%; background:#e8efff; border:1px solid #cedbfb; }
.signal-orb::before,.signal-orb::after { content:''; position:absolute; border:1px solid #9fb7ef; border-radius:50%; }
.signal-orb::before { inset:7px; }.signal-orb::after { inset:12px; }
.signal-orb i { width:6px; height:6px; border-radius:50%; background:var(--blue); box-shadow:0 0 0 4px #275df626; z-index:1; }
.signal-orb.large { width:52px;height:52px; }
.codes-hero { min-height:330px; }
.signal-art { position:relative; min-width:0; display:grid; place-items:center; overflow:hidden; }
.signal-art::before { content:''; position:absolute; inset:0; background-image:radial-gradient(#bdd0ff55 .8px,transparent .8px); background-size:18px 18px; mask-image:linear-gradient(to left,black,transparent); }
.radar-ring { position:absolute; border:1px solid #ffffff25; border-radius:50%; width:330px;height:330px; }
.radar-two { width:440px;height:440px; }.scan-line { position:absolute; width:1px;height:200px;background:linear-gradient(transparent,#9fbaff); transform-origin:bottom; transform:translateY(-100px) rotate(35deg); }
.live-ticket { position:relative; z-index:2; width:min(330px,82%); border-radius:16px; padding:23px; background:#fbfdff; color:var(--ink); transform:rotate(-4deg); box-shadow:10px 17px 0 #193fae,0 25px 45px #12307c33; }
.live-chip { margin-left:auto; color:var(--green); background:#e7f5ef; padding:3px 7px; border-radius:5px; font-size:8px; letter-spacing:.7px; }
.live-chip i { display:inline-block;width:5px;height:5px;border-radius:50%;background:currentColor;margin-right:3px; }
.monitor-email { font-family:var(--mono); font-size:13px; color:#506a8e; margin:27px 0 16px; white-space:nowrap;overflow:hidden;text-overflow:ellipsis; }
.blue-logo { color:var(--blue); background:var(--blue-soft); }.green-logo { color:var(--green); background:#e8f5ef; }
.static-card { cursor:default; }.static-card:hover { border-color:#d6e1f7; box-shadow:none; }
.static-card .product-action > .icon { width:16px;color:var(--green); }
.feature-guide { padding-top:18px; }.code-login-story { background:#1f52dd; }
.alert-success { color:var(--green);background:#e8f5ef;border-color:#c6e5d8;margin:0 0 20px; }
.admin-tabs { display:flex;gap:6px;margin:-8px 0 25px;border-bottom:1px solid var(--line); }
.admin-tabs a { display:flex;gap:8px;align-items:center;padding:13px 17px;color:#6d7f99;font-size:12px;border-bottom:2px solid transparent;margin-bottom:-1px; }
.admin-tabs a:hover { color:var(--blue); }.admin-tabs a[aria-current='page'] { color:var(--blue);border-color:var(--blue);font-weight:650; }
.admin-tabs .icon { width:17px;height:17px; }
.admin-nav-label { margin-top: 26px; }
.admin-side-nav { padding-bottom: 8px; }
.admin-side-nav a { background: #f7f9fd; border: 1px solid transparent; }
.admin-side-nav a[aria-current='page'] { border-color: #d6e3ff; box-shadow: inset 3px 0 0 var(--blue); }
.admin-account-layout { display:grid;grid-template-columns:340px 1fr;gap:24px;align-items:start; }
.account-create { position:sticky;top:20px; }.account-create .panel-heading { padding:20px; }.account-create .tiny-label { font-size:7px; }
.account-form { padding:22px; }.account-form label:not(:first-of-type) { margin-top:17px; }.account-form .button { margin-top:22px; }
.input-with-icon.no-leading-icon > input { padding-left:13px; }.form-caption { font-size:10px;line-height:1.7;margin-top:10px; }
.admin-overview { min-height:85px;display:grid;grid-template-columns:1fr 1fr auto;align-items:center;gap:10px;padding:16px 19px;background:white;border:1px solid var(--line);border-radius:12px;margin-bottom:14px; }
.admin-overview > div { padding-left:14px;border-left:2px solid #dce6f8; }.admin-overview span { display:block;color:var(--muted);font-size:9px; }.admin-overview strong { font-family:var(--display);font-size:25px;font-weight:500; }
.account-search { display:flex;gap:9px;margin-bottom:14px; }.account-search .search-field { max-width:none; }.account-search .button { min-height:44px; }
.account-admin-grid { display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px; }
.account-admin-card { padding:19px;min-width:0; }.account-admin-card.paused { background:#f7f9fc; }
.account-card-top { display:flex;align-items:center;gap:10px;min-width:0; }.account-avatar { display:grid;place-items:center;width:38px;height:38px;flex:0 0 auto;border-radius:10px;background:var(--blue-soft);color:var(--blue);font-weight:700; }
.account-card-top > span:nth-child(2) { min-width:0;flex:1; }.account-card-top strong { display:block;font-size:12px; }.account-card-top small { display:block;color:var(--muted);font-size:9px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis; }
.account-card-data { display:grid;gap:8px;margin:17px 0;padding:13px 0;border-block:1px solid var(--line);color:#73849c;font-size:10px; }.account-card-data span { display:flex;gap:7px;align-items:center; }.account-card-data .icon { width:14px;height:14px; }
.account-admin-card details { padding:0;border:0; }.account-admin-card summary { padding:8px 0;font-size:10px;color:var(--blue); }.compact-edit { padding:12px;background:#f7f9fd;border-radius:9px; }.compact-edit label { font-size:9px;margin-top:9px; }.compact-edit label:first-child { margin-top:0; }.compact-edit label small { font-weight:400;color:var(--muted); }.compact-edit input { margin-top:5px;min-height:39px;padding:9px; }.compact-edit .button { margin-top:12px;min-height:39px;font-size:10px; }
.account-toggle { margin-top:9px;font-size:10px; }.account-empty { grid-column:1/-1;border:1px solid var(--line);border-radius:12px; }
.token-generate .account-select { width:260px; }.token-generate .account-select select { width:100%; }.cell-subtext { display:block;color:var(--muted);font-size:9px;margin-top:3px; }.tokens-panel form { margin:0; }
.token-generate { display: grid; grid-template-columns: minmax(220px,.55fr) minmax(420px,1.45fr); align-items: stretch; }
.token-generate > div:first-child { display: flex; min-width: 0; flex-direction: column; justify-content: center; padding-right: 10px; }
.token-generate .icon-tile { float: none; margin: 0 0 14px; }
.token-generate form { display: grid; grid-template-columns: minmax(180px,1fr) 92px; align-items: end; gap: 12px; width: 100%; }
.token-generate .token-account-picker { grid-column: 1 / -1; width: 100%; }
.token-generate form > .button { justify-self: end; grid-column: 1 / -1; min-width: 180px; }
.token-account-picker { width: min(420px, 100%); max-height: 190px; overflow: auto; display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 7px; margin: 0; padding: 11px; border: 1px solid var(--line); border-radius: 9px; background: #f8fafd; }
.token-account-picker legend { padding: 0 5px; color: var(--muted); font-size: 9px; font-weight: 700; letter-spacing: .6px; text-transform: uppercase; }
.token-account-picker label { display: flex; align-items: flex-start; gap: 8px; margin: 0; padding: 8px; border: 1px solid #e3eaf4; border-radius: 7px; background: white; cursor: pointer; }
.token-account-picker input { width: 15px; min-width: 15px; height: 15px; min-height: 15px; margin: 2px 0 0; padding: 0; }
.token-account-picker strong { display: block; font-size: 10px; line-height: 1.35; word-break: break-word; }
.token-account-picker small { display: block; margin-top: 1px; color: var(--muted); font-size: 8px; }
.token-account-picker p { font-size: 10px; }
.token-access-list { display: grid; gap: 3px; min-width: 170px; }
.token-access-list span { overflow: hidden; max-width: 220px; color: var(--ink); font-size: 9px; text-overflow: ellipsis; white-space: nowrap; }
.token-access-list small { color: var(--muted); font-size: 8px; }
.token-packs-panel { margin-bottom: 18px; overflow: hidden; }
.token-pack-grid { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 12px; padding: 0 20px 20px; }
.token-pack-card { display: grid; grid-template-columns: minmax(150px,.8fr) minmax(180px,1fr) auto; align-items: start; gap: 14px; padding: 16px; border: 1px solid var(--line); border-radius: 10px; background: #f8fafd; }
.token-pack-card:hover { border-color: #cbdaf4; box-shadow: 0 8px 20px #13243a08; }
.token-pack-card strong { display: block; font-size: 12px; }
.token-pack-card small { display: block; margin-top: 2px; color: var(--muted); font-size: 8px; }
.token-pack-access { position: relative; }
.token-pack-access summary { list-style: none; cursor: pointer; }
.token-pack-access summary::-webkit-details-marker { display: none; }
.token-pack-access form { min-width: 260px; display: grid; gap: 9px; margin-top: 8px; padding: 10px; border: 1px solid var(--line); border-radius: 9px; background: var(--surface); box-shadow: 0 10px 24px #13243a12; }
.compact-picker { width: 100%; max-height: 220px; padding: 8px; grid-template-columns: 1fr; }
.token-batch-access { display: grid; gap: 5px; margin: 18px 0 2px; padding: 12px; color: #5d6f86; background: #f8fafd; border: 1px solid var(--line); border-radius: 9px; text-align: left; }
.token-batch-access strong { color: var(--ink); font-size: 10px; }
.token-batch-access span { font-size: 10px; word-break: break-word; }
.wide-status { max-width:680px; }.generated-list { display:grid;gap:8px;max-height:370px;overflow:auto;margin:22px 0;text-align:left; }.generated-list > div { display:flex;align-items:center;gap:7px;background:#f5f8fd;border:1px solid var(--line);border-radius:8px;padding:7px 9px; }.generated-list code { font-family:var(--mono);font-size:11px;word-break:break-all;flex:1; }
.monitor-note { position:relative; }.monitor-note .signal-orb { margin-bottom:4px; }.monitor-panel .code-stage { min-height:340px;justify-content:center; }.code-history-panel { min-height:180px; }
@keyframes scan { from { transform:translateY(-100px) rotate(0deg); } to { transform:translateY(-100px) rotate(360deg); } }
.scan-line { animation:scan 8s linear infinite; }

@media (max-width:1100px) { .admin-account-layout { grid-template-columns:300px 1fr;gap:17px; }.account-admin-grid { grid-template-columns:1fr; }.signal-art .live-ticket { width:260px; }.monitor-email { font-size:11px; }.token-generate { grid-template-columns:1fr; }.token-generate > div:first-child { padding-right:0; }.token-generate .account-select { width:auto; } }
@media (max-width:840px) { .admin-account-layout { grid-template-columns:1fr; }.account-create { position:static; }.account-admin-grid { grid-template-columns:repeat(2,minmax(0,1fr)); }.admin-overview { grid-template-columns:1fr 1fr; }.admin-overview form { grid-column:1/-1; }.admin-overview .button { width:100%; }.token-generate .account-select { flex-basis:100%;max-width:none; }.token-generate form { grid-template-columns:1fr 92px; }.token-pack-grid { grid-template-columns:1fr; }.token-pack-card { grid-template-columns:1fr; } }
@media (max-width:740px) { .codes-hero { grid-template-columns:1fr; }.signal-art { min-height:235px; }.signal-art .live-ticket { width:280px;transform:rotate(-4deg) translateY(-15px); }.account-admin-grid { grid-template-columns:1fr; }.admin-tabs { overflow-x:auto; }.admin-tabs a { white-space:nowrap; }.monitor-panel .code-stage { min-height:310px; }.token-generate .account-select { flex-basis:100%; }.token-generate form .button { width:100%; }.token-account-picker { grid-template-columns:1fr; } }
@media (max-width:420px) { .admin-overview { grid-template-columns:1fr 1fr;padding-inline:11px; }.admin-overview > div { padding-left:8px; }.account-search { flex-wrap:wrap; }.account-search .search-field { flex-basis:100%; }.signal-art .live-ticket { width:255px; }.monitor-email { font-size:10px; }.admin-account-card { padding:16px; }.codes-hero .welcome-copy h2 { font-size:34px; } }
.admin-overview { grid-template-columns:.8fr .8fr 1fr auto; }
.admin-overview small { display:block;color:var(--muted);font-size:8px; }
.monitor-state.online { color:var(--green); }
.monitor-state.unavailable,.monitor-state.starting { color:var(--amber); }
@media (max-width:840px) { .admin-overview { grid-template-columns:1fr 1fr; }.admin-overview form { grid-column:1/-1; } }

/* Focused token entry */
.system-login-body {
  min-height: 100vh;
  background:
    radial-gradient(circle at 50% -10%, #dce7ff 0, #edf3ff 25%, transparent 48%),
    radial-gradient(#a9bce92b .7px, transparent .7px),
    #f5f7fb;
  background-size: auto, 19px 19px, auto;
}
.system-login-page {
  min-height: 100vh;
  display: grid;
  place-items: center;
  padding: 42px 20px;
}
.system-login-shell { width: min(100%, 470px); text-align: center; }
.system-brand {
  width: max-content;
  display: inline-flex;
  align-items: center;
  gap: 11px;
  margin-bottom: 25px;
  text-align: left;
}
.system-brand .brand-mark { width: 40px; height: 41px; font-size: 38px; border-radius: 12px; box-shadow: 0 8px 22px #275df62b; }
.system-brand-copy { font-family: var(--display); font-size: 25px; font-weight: 650; line-height: .9; letter-spacing: -.8px; }
.system-brand-copy > span { display: block; margin-top: 7px; color: var(--blue); font-family: var(--body); font-size: 9px; font-weight: 750; line-height: 1; letter-spacing: 5px; text-transform: uppercase; }
.system-login-card {
  position: relative;
  padding: 38px 40px 34px;
  overflow: hidden;
  text-align: left;
  background: #ffffff;
  border: 1px solid #dde5f2;
  border-radius: 20px;
  box-shadow: 0 22px 60px #1c376414, 0 3px 10px #19355f08;
}
.system-login-card::before { content: ''; position: absolute; inset: 0 0 auto; height: 4px; background: linear-gradient(90deg, var(--blue), #789bff); }
.system-service-tag { display: inline-flex; align-items: center; gap: 6px; float: right; margin-top: 5px; color: #6d7e96; font-size: 8px; font-weight: 750; letter-spacing: 1.15px; }
.system-service-tag .icon { width: 13px; height: 13px; color: var(--green); }
.system-login-icon { margin-bottom: 22px; }
.system-login-card h1 { clear: both; font-size: 35px; letter-spacing: -1.25px; }
.system-login-card h1 span { color: var(--blue); }
.system-purpose { margin-top: 12px; font-size: 13px; line-height: 1.7; }
.system-purpose strong { color: var(--ink); font-weight: 650; }
.system-token-form { margin-top: 27px; padding-top: 25px; border-top: 1px solid var(--line); }
.system-token-form label { font-size: 11px; }
.system-token-form .input-with-icon { margin-top: 8px; }
.system-token-form .input-with-icon input { min-height: 49px; }
.system-token-form > small { display: block; margin: 8px 0 18px; color: #8492a6; font-size: 9px; }
.system-token-form .button { min-height: 49px; }
.system-login-card .alert { clear: both; margin-top: 20px; }
.system-login-notes { display: flex; justify-content: center; flex-wrap: wrap; gap: 12px 22px; margin-top: 24px; padding-top: 20px; border-top: 1px solid var(--line); color: #74839a; font-size: 9px; }
.system-login-notes span { display: inline-flex; align-items: center; gap: 6px; }
.system-login-notes .icon { width: 13px; height: 13px; color: var(--blue); }
.system-login-help { margin-top: 18px; font-size: 10px; }
.system-admin-link { display: inline-block; margin-top: 7px; color: #77869a; font-size: 9px; text-decoration: underline; text-decoration-color: #bdc8d8; text-underline-offset: 3px; }
.system-admin-link:hover { color: var(--blue); }

@media (max-width: 520px) {
  .system-login-page { place-items: start center; padding: 27px 15px; }
  .system-brand { margin-bottom: 20px; }
  .system-brand .brand-mark { width: 36px; height: 37px; font-size: 34px; }
  .system-brand-copy { font-size: 23px; }
  .system-login-card { padding: 29px 23px 27px; border-radius: 16px; }
  .system-login-card h1 { font-size: 30px; }
  .system-purpose { font-size: 12px; }
  .system-service-tag { max-width: 100px; text-align: right; }
  .system-token-form { margin-top: 23px; padding-top: 21px; }
  .system-login-notes { display: grid; justify-content: start; gap: 9px; }
}

/* Global client catalog */
.global-panel-heading { align-items: center; }
.global-access-summary { grid-template-columns: 1fr 1.15fr 1fr; }
.accounts-monitor { display: grid; gap: 18px; }
.accounts-monitor-bar { display: flex; align-items: center; justify-content: space-between; gap: 18px; padding: 15px 18px; background: #eaf0fb; border: 1px solid #dbe5f7; border-radius: 13px; }
.accounts-monitor-bar > div { display: flex; align-items: center; gap: 12px; }
.accounts-monitor-bar strong { display: block; font-size: 12px; }
.accounts-monitor-bar small { display: block; margin-top: 2px; color: #75869f; font-size: 9px; }
.accounts-monitor-bar .signal-orb { width: 34px; height: 34px; background: white; }
.accounts-monitor-bar .button { min-height: 38px; padding-block: 8px; font-size: 10px; }
.all-accounts-grid { display: grid; grid-template-columns: repeat(auto-fit,minmax(min(100%,420px),1fr)); align-items: start; gap: 18px; }
.client-account-card { min-width: 0; overflow: hidden; box-shadow: 0 7px 26px #21385408; }
.client-account-head { display: flex; align-items: center; gap: 11px; padding: 18px 20px; border-bottom: 1px solid var(--line); }
.client-account-title { min-width: 0; flex: 1; }
.client-account-title small { display: block; color: #8795a8; font-size: 7px; font-weight: 700; letter-spacing: 1.2px; }
.client-account-title strong { display: block; margin-top: 2px; font-family: var(--display); font-size: 16px; line-height: 1.25; }
.client-account-title > span { display: block; overflow: hidden; margin-top: 2px; color: #6f8098; font-family: var(--mono); font-size: 9px; text-overflow: ellipsis; white-space: nowrap; }
.client-account-head > .badge { flex: 0 0 auto; font-size: 8px; }
.client-credentials { padding: 20px 20px 4px; }
.client-section-title { display: flex; align-items: center; gap: 7px; margin-bottom: 17px; color: #627691; font-size: 10px; }
.client-section-title .icon { width: 15px; height: 15px; color: var(--blue); }
.client-credentials label { display: block; margin-bottom: 6px; color: #708097; font-size: 9px; }
.client-credentials .credential-field { margin-bottom: 14px; }
.client-code-area { display: flex; flex-direction: column; align-items: center; padding: 20px; text-align: center; background: #f9fbff; border-top: 1px solid var(--line); }
.client-code-area .client-section-title { align-self: stretch; justify-content: center; }
.client-code-area .code-digits { max-width: 330px; }
.client-code-area .code-digits > span { max-width: 46px; font-size: clamp(25px,3vw,36px); }
.account-live-message { min-height: 34px; display: grid; place-items: center; margin: 14px 0 13px; font-size: 10px; }
.account-code-copy { min-width: 165px; min-height: 40px; font-size: 11px; }
.account-code-time { min-height: 20px; margin-top: 12px; color: #5d6f86; font-size: 12px; font-weight: 650; }
.account-code-alert { display: flex; align-items: flex-start; justify-content: center; gap: 7px; max-width: 340px; margin-top: 10px; padding: 10px 12px; color: #7d5615; background: #fff7e8; border: 1px solid #f2dcae; border-radius: 8px; font-size: 10px; line-height: 1.45; text-align: left; }
.account-code-alert .icon { width: 15px; height: 15px; margin-top: 1px; flex: 0 0 auto; }
.client-history { border-top: 1px solid var(--line); }
.client-history-head { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 14px 20px; }
.client-history-head > span:first-child { display: flex; align-items: center; gap: 7px; color: #657892; font-size: 10px; }
.client-history-head .icon { width: 14px; height: 14px; }
.client-history-head .subtle-badge { font-size: 8px; }
.account-history-empty { display: grid; gap: 3px; padding: 17px 20px 20px; color: #7889a1; font-size: 9px; border-top: 1px solid #eef2f7; }
.account-history-empty strong { color: #536985; font-size: 10px; }
.account-history-list { max-height: 175px; overflow-y: auto; border-top: 1px solid #eef2f7; }
.account-history-list li { padding-inline: 20px; }
.account-history-list code { font-size: 13px; }
.account-history-list time { font-size: 8px; }
.catalog-empty { padding: 55px 30px; text-align: center; }
.catalog-empty > .icon { width: 36px; height: 36px; color: #8aa0c1; }
.catalog-empty h2 { margin-top: 15px; }
.catalog-empty p { max-width: 430px; margin: 8px auto 0; font-size: 11px; }
.global-panel-note { display: flex; align-items: center; gap: 9px; margin-top: 20px; padding: 13px 16px; color: #74849b; font-size: 9px; background: white; border: 1px solid var(--line); border-radius: 10px; }
.global-panel-note > .icon { width: 15px; height: 15px; color: var(--blue); }
.global-panel-note a { display: inline-flex; align-items: center; gap: 6px; margin-left: auto; color: var(--blue); font-weight: 650; }
.global-panel-note a .icon { width: 13px; height: 13px; }
.client-token-label { width: 225px; }

@media (max-width: 740px) {
  .global-panel-heading { align-items: flex-start; }
  .global-panel-heading form, .global-panel-heading .button { width: 100%; }
  .global-access-summary { grid-template-columns: 1fr; }
  .accounts-monitor-bar { align-items: flex-start; }
  .accounts-monitor-bar > div:last-child { display: grid; justify-items: end; }
  .global-panel-note { align-items: flex-start; flex-wrap: wrap; }
  .global-panel-note a { width: 100%; margin: 4px 0 0 24px; }
  .client-token-label { width: auto; flex: 1 1 190px; }
}
@media (max-width: 480px) {
  .accounts-monitor-bar { display: grid; }
  .accounts-monitor-bar > div:last-child { grid-template-columns: 1fr 1fr; justify-items: stretch; }
  .accounts-monitor-bar .badge, .accounts-monitor-bar .button { justify-content: center; text-align: center; white-space: normal; }
  .client-account-head { padding: 16px; }
  .client-account-head > .badge { max-width: 95px; text-align: center; white-space: normal; }
  .client-credentials, .client-code-area { padding-inline: 16px; }
  .client-code-area .code-digits { gap: 4px; }
  .client-code-area .code-digits > span { font-size: 25px; }
  .client-code-area .code-digits > span.group-break { margin-right: 5px; }
  .account-code-time { font-size: 11px; }
  .account-code-alert { max-width: 100%; font-size: 9px; }
}

/* Support, Google sources and operations center */
.support-fab { position: fixed; right: 25px; bottom: 24px; z-index: 55; width: 66px; height: 66px; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 2px; border-radius: 50%; color: white; background: linear-gradient(145deg,#275df6,#1747d5); box-shadow: 0 12px 30px #1644c64a; transition: transform .18s,box-shadow .18s; }
.support-fab:hover { transform: translateY(-3px); box-shadow: 0 16px 36px #1644c65a; }
.support-fab .icon { width: 23px; height: 23px; }
.support-fab span { font-size: 8px; font-weight: 700; letter-spacing: .3px; }
.access-limit-warning { display: flex; align-items: center; gap: 13px; margin: -8px 0 22px; padding: 15px 17px; color: #7d5615; background: #fff7e8; border: 1px solid #f2dcae; border-radius: 12px; }
.access-limit-warning.critical { color: #9b353b; background: #fff0f1; border-color: #f1cdd1; }
.access-limit-warning > .icon { width: 20px; height: 20px; }
.access-limit-warning > div { flex: 1; }
.access-limit-warning strong { font-size: 11px; }
.access-limit-warning p { margin-top: 2px; color: inherit; opacity: .78; font-size: 9px; }
.access-limit-warning a { display: inline-flex; align-items: center; gap: 6px; color: inherit; font-size: 10px; font-weight: 700; white-space: nowrap; }
.access-limit-warning a .icon { width: 13px; height: 13px; }
.access-status-shell { max-width: 480px; }
.access-status-card { text-align: center; }
.access-status-card .system-service-tag { float: none; position: absolute; top: 31px; right: 35px; color: var(--amber); }
.access-status-card .status-warning-icon { display: flex; margin: 0 auto 25px; color: var(--amber); background: #fff4df; border-color: #f1dab1; }
.access-status-card h1 { font-size: 34px; }
.access-status-card .system-purpose { max-width: 360px; margin-inline: auto; }
.status-support-button { margin-top: 28px; }
.status-back-link { justify-content: center; width: 100%; margin-top: 18px; }
.badge-google { color: #a4433d; background: #fff0ef; }
.account-source-row { display: flex; align-items: center; justify-content: space-between; gap: 8px; margin: 14px 0 3px; }
.account-source-row .badge { font-size: 8px; }
.account-source-row .badge .icon { width: 12px; height: 12px; }
.source-mini-state { color: #8795a8; font-size: 8px; }
.source-mini-state.online { color: var(--green); }
.source-mini-state.unavailable { color: #a24349; }
.account-form select,.compact-edit select { width: 100%; min-height: 44px; margin-top: 7px; padding: 10px 12px; color: var(--ink); background: white; border: 1px solid var(--line); border-radius: 7px; }
.source-caption { margin-bottom: 16px; }
.google-source-fields { margin: 21px -4px 0; padding: 17px; background: #f7f9fd; border: 1px solid #e1e8f3; border-radius: 10px; }
.google-fields-head { display: flex; align-items: center; gap: 9px; margin-bottom: 16px; }
.google-fields-head > .icon { width: 19px; height: 19px; color: #c34e45; }
.google-fields-head strong { display: block; font-size: 11px; }
.google-fields-head small { display: block; color: var(--muted); font-size: 8px; }
.google-source-fields label:not(:first-of-type) { margin-top: 14px; }
.google-source-fields input { background: white; }
.compact-google { margin: 12px 0 0; padding: 12px; }
.account-source-overview { grid-template-columns: .8fr .8fr 1fr auto; }
.operations-kpis { display: grid; grid-template-columns: repeat(4,minmax(0,1fr)); gap: 13px; margin-bottom: 17px; }
.operation-kpi { display: flex; align-items: center; gap: 13px; min-width: 0; padding: 18px; }
.operation-icon { width: 39px; height: 39px; display: grid; place-items: center; flex: 0 0 auto; border-radius: 10px; }
.operation-icon .icon { width: 18px; height: 18px; }
.operation-icon.blue { color: var(--blue); background: var(--blue-soft); }.operation-icon.green { color: var(--green); background: #e8f5ef; }.operation-icon.violet { color: #7256c6; background: #f0edff; }.operation-icon.amber { color: var(--amber); background: #fff3df; }.operation-icon.red { color: #b44a43; background: #fff0ef; }
.operation-kpi small { display: block; color: #8895a8; font-size: 7px; letter-spacing: .9px; }
.operation-kpi strong { display: block; margin-top: 1px; font-family: var(--display); font-size: 26px; line-height: 1.1; }
.operation-kpi p { overflow: hidden; margin-top: 3px; font-size: 8px; text-overflow: ellipsis; white-space: nowrap; }
.operations-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 17px; margin-bottom: 17px; }
.operation-panel { overflow: hidden; }
.token-health-list { display: grid; grid-template-columns: 1fr 1fr; gap: 0; padding: 9px 20px 18px; }
.token-health-list > div { display: flex; align-items: center; gap: 10px; padding: 12px 8px; }
.health-dot { width: 8px; height: 8px; flex: 0 0 auto; border-radius: 50%; box-shadow: 0 0 0 5px #eef2f8; }
.health-dot.green { background: var(--green); }.health-dot.blue { background: var(--blue); }.health-dot.amber { background: #d28b25; }.health-dot.red { background: #c94a52; }.health-dot.gray { background: #8290a5; }
.token-health-list strong { display: block; font-family: var(--mono); font-size: 16px; }
.token-health-list small { display: block; color: var(--muted); font-size: 8px; }
.source-overview { display: grid; gap: 0; padding: 8px 20px 18px; }
.source-overview > div { display: flex; align-items: center; gap: 12px; padding: 13px 7px; border-bottom: 1px solid var(--line); }
.source-overview > div:last-child { border: 0; }
.source-overview small { display: block; color: #8895a8; font-size: 7px; letter-spacing: .8px; }
.source-overview strong { display: block; margin-top: 2px; font-size: 12px; }
.source-overview p { margin-top: 2px; font-size: 8px; }
.attention-panel,.recent-access-panel { overflow: hidden; margin-bottom: 17px; }
.attention-list { display: grid; }
.attention-list > div { display: grid; grid-template-columns: 38px 1fr 1.2fr; align-items: center; gap: 10px; padding: 13px 20px; border-bottom: 1px solid var(--line); }
.attention-list > div:last-child { border: 0; }
.attention-list strong { display: block; font-size: 10px; }.attention-list small { display: block; margin-top: 2px; color: var(--muted); font-size: 8px; }
.token-metrics-strip { display: grid; grid-template-columns: repeat(4,1fr); gap: 12px; margin-bottom: 16px; }
.token-metrics-strip article { padding: 15px 17px; }
.token-metrics-strip small { display: block; color: #8996a9; font-size: 7px; letter-spacing: 1px; }
.token-metrics-strip strong { display: block; font-family: var(--display); font-size: 25px; }.token-metrics-strip span { color: var(--muted); font-size: 8px; }
.token-management-table { min-width: 1180px; }
.token-actions { display: grid; justify-items: start; gap: 7px; min-width: 108px; }
.token-actions .text-link { font-size: 9px; }
.token-actions .subtle-action { color: #8491a4; }
.token-action-explainer { display: flex; align-items: flex-start; gap: 8px; padding: 13px 18px; color: #74849a; background: #f8fafd; border-top: 1px solid var(--line); font-size: 8px; }
.token-action-explainer .icon { width: 14px; height: 14px; }

@media (max-width: 1100px) { .operations-kpis,.token-metrics-strip { grid-template-columns: 1fr 1fr; }.account-source-overview { grid-template-columns:1fr 1fr; }.account-source-overview form { grid-column:1/-1; }.account-source-overview .button { width:100%; } }
@media (max-width: 840px) { .operations-grid { grid-template-columns: 1fr; }.operation-kpi p { white-space: normal; }.support-fab { right: 18px; bottom: 18px; } }
@media (max-width: 520px) { .operations-kpis,.token-metrics-strip { grid-template-columns: 1fr 1fr; gap: 8px; }.operation-kpi { padding: 13px; }.operation-kpi .operation-icon { display:none; }.token-health-list { grid-template-columns:1fr; }.attention-list > div { grid-template-columns: 34px 1fr; }.attention-list > div > span:last-child { grid-column:2; }.access-limit-warning { align-items:flex-start; flex-wrap:wrap; }.access-limit-warning a { width:100%; margin-left:33px; }.support-fab { width:60px;height:60px; }.access-status-card .system-service-tag { position:static; display:flex; justify-content:center; margin-bottom:18px; }.access-status-card .status-warning-icon { margin-bottom:16px; } }

/* Theme control — dark is the FerreiraStore default. */
html { color-scheme: dark; }
html[data-theme='light'] { color-scheme: light; }
.theme-toggle {
  min-height: 36px; display: inline-flex; align-items: center; justify-content: center; gap: 7px;
  padding: 7px 11px; color: var(--muted); background: var(--surface); border: 1px solid var(--line);
  border-radius: 9px; font-size: 10px; font-weight: 650; line-height: 1; white-space: nowrap;
  box-shadow: 0 4px 16px #02061712; transition: color .18s, border-color .18s, background .18s, transform .18s;
}
.theme-toggle:hover { color: var(--blue); border-color: color-mix(in srgb, var(--blue) 42%, var(--line)); transform: translateY(-1px); }
.theme-toggle .icon { width: 15px; height: 15px; }
.theme-icon { display: inline-flex; }
html[data-theme='dark'] .theme-icon-moon, html[data-theme='light'] .theme-icon-sun { display: none; }
.auth-theme-toggle { position: fixed; z-index: 20; top: 20px; right: 22px; }

html[data-theme='dark'] {
  --canvas: #0b1220; --surface: #111c2d; --ink: #e8eef8; --muted: #93a4bb;
  --blue: #6f94ff; --blue-hover: #8aa8ff; --blue-soft: #192b50;
  --green: #55c9a9; --line: #25344a; --amber: #e4b866;
  --shadow: 0 16px 44px #02061142;
}
html[data-theme='dark'] body { background: var(--canvas); }
html[data-theme='dark'] .topbar { background: #0e1828e8; backdrop-filter: blur(16px); }
html[data-theme='dark'] .sidebar { background: #0e1828; }
html[data-theme='dark'] .workspace-avatar,
html[data-theme='dark'] .profile-avatar { color: #b8caff; background: #1c2c45; border-color: #0e1828; }
html[data-theme='dark'] .main-nav > a { color: #9aaac0; }
html[data-theme='dark'] .main-nav > a:hover { color: var(--ink); background: #17243a; }
html[data-theme='dark'] .admin-side-nav a { background: #101c2e; border-color: #1f3048; }
html[data-theme='dark'] .admin-side-nav a[aria-current='page'] { border-color: #36558b; }
html[data-theme='dark'] .nav-tag,
html[data-theme='dark'] .badge-neutral,
html[data-theme='dark'] .subtle-badge { color: #aebbd0; background: #223149; }
html[data-theme='dark'] .sidebar-support,
html[data-theme='dark'] .live-support { background: linear-gradient(145deg,#15233a,#132033); border-color: #263956; }
html[data-theme='dark'] .signal-orb { background: #192b4d; border-color: #35558c; }
html[data-theme='dark'] .signal-orb::before,
html[data-theme='dark'] .signal-orb::after { border-color: #5377b2; }
html[data-theme='dark'] .breadcrumb { color: #8292a8; }
html[data-theme='dark'] .breadcrumb strong { color: #c4cede; }
html[data-theme='dark'] .private-label { color: #96a6ba; }
html[data-theme='dark'] .page-footer,
html[data-theme='dark'] .page-footer a { color: #8998ad; }
html[data-theme='dark'] .panel,
html[data-theme='dark'] .product-card,
html[data-theme='dark'] .login-layout,
html[data-theme='dark'] .admin-overview,
html[data-theme='dark'] .global-panel-note { background: var(--surface); border-color: var(--line); }
html[data-theme='dark'] .product-card:hover { border-color: #496aa8; box-shadow: 0 12px 32px #02061755; }
html[data-theme='dark'] .static-card:hover { border-color: var(--line); }
html[data-theme='dark'] .coming-card,
html[data-theme='dark'] .account-admin-card.paused { background: #101a2a; border-color: #314056; }
html[data-theme='dark'] .coming-icon { border-color: #3b4b62; color: #7f91aa; }
html[data-theme='dark'] .coming-card .subtle-badge { background: #25344a; color: #9cabc0; }
html[data-theme='dark'] .coming-card h3 { color: #aab8cb; }
html[data-theme='dark'] .coming-card p { color: #8191a7; }
html[data-theme='dark'] .coming-line { background: #314158; }
html[data-theme='dark'] .quick-guide { border-color: var(--line); }
html[data-theme='dark'] .mini-steps li > span { color: #a9bfff; background: #192943; border-color: #304568; }
html[data-theme='dark'] input,
html[data-theme='dark'] select { color: var(--ink); background: #0d1726; border-color: #314158; }
html[data-theme='dark'] input::placeholder { color: #708097; }
html[data-theme='dark'] input:focus,
html[data-theme='dark'] select:focus { border-color: var(--blue); box-shadow: 0 0 0 3px #6f94ff1f; }
html[data-theme='dark'] .button-secondary { background: #152236; border-color: #30415a; color: var(--ink); }
html[data-theme='dark'] .button-secondary:hover { background: #1b2b43; }
html[data-theme='dark'] .button-dark { background: #dfe8f7; color: #101827; }
html[data-theme='dark'] .button-dark:hover { background: #ffffff; }
html[data-theme='dark'] .icon-tile { border-color: #304a78; }
html[data-theme='dark'] .badge-blue { color: #a9bdff; }
html[data-theme='dark'] .badge-green,
html[data-theme='dark'] .alert-success,
html[data-theme='dark'] .operation-icon.green,
html[data-theme='dark'] .green-logo { color: #68d5b6; background: #16372f; border-color: #28594b; }
html[data-theme='dark'] .badge-amber,
html[data-theme='dark'] .operation-icon.amber { color: #f0c979; background: #3a2b17; }
html[data-theme='dark'] .badge-google,
html[data-theme='dark'] .operation-icon.red { color: #ffaaa3; background: #3b2023; }
html[data-theme='dark'] .operation-icon.violet { color: #c0afff; background: #2c2549; }
html[data-theme='dark'] .alert-error { color: #ffb3b8; background: #3c2027; border-color: #6b303a; }
html[data-theme='dark'] .alert-warning,
html[data-theme='dark'] .access-limit-warning { color: #f0ce8d; background: #382b19; border-color: #68502c; }
html[data-theme='dark'] .access-limit-warning.critical { color: #ffb3b8; background: #3c2027; border-color: #6b303a; }
html[data-theme='dark'] .access-status-card .status-warning-icon { color: #f0c979; background: #3a2b17; border-color: #68502c; }
html[data-theme='dark'] .search-field,
html[data-theme='dark'] .credential-field,
html[data-theme='dark'] .compact-edit,
html[data-theme='dark'] .google-source-fields,
html[data-theme='dark'] .token-account-picker,
html[data-theme='dark'] .token-pack-access form,
html[data-theme='dark'] .token-batch-access,
html[data-theme='dark'] .generated-list > div { background: #0e1929; border-color: var(--line); }
html[data-theme='dark'] .token-account-picker label { background: #111c2d; border-color: var(--line); }
html[data-theme='dark'] .token-pack-card { background: #0e1929; border-color: var(--line); }
html[data-theme='dark'] .google-source-fields input,
html[data-theme='dark'] .account-form select,
html[data-theme='dark'] .compact-edit select { background: #0b1523; }
html[data-theme='dark'] .code-stage,
html[data-theme='dark'] .client-code-area { background-color: #0d1726; background-image: radial-gradient(#52688728 .7px,transparent .7px); }
html[data-theme='dark'] .code-digits > span { color: #72839b; background: #142136; border-color: #2b3d58; border-bottom-color: #354968; }
html[data-theme='dark'] .code-digits.ready > span { color: #9cb5ff; background: #17294a; border-color: #3e5e9d; }
html[data-theme='dark'] .account-code-time { color: #b3c1d4; }
html[data-theme='dark'] .account-code-alert { color: #f0ce8d; background: #382b19; border-color: #68502c; }
html[data-theme='dark'] .poll-controls,
html[data-theme='dark'] .token-action-explainer { background: #0e1929; }
html[data-theme='dark'] .accounts-monitor-bar { background: #14233a; border-color: #2b4163; }
html[data-theme='dark'] .accounts-monitor-bar .signal-orb { background: #1a2a42; }
html[data-theme='dark'] .account-history-empty,
html[data-theme='dark'] .account-history-list,
html[data-theme='dark'] .code-history li { border-color: var(--line); }
html[data-theme='dark'] .account-history-empty strong { color: #b8c5d8; }
html[data-theme='dark'] .table-scroll { scrollbar-color: #40526c #111c2d; }
html[data-theme='dark'] th { color: #9eacc0; background: #0e1929; }
html[data-theme='dark'] td { border-color: var(--line); }
html[data-theme='dark'] tr:hover td { background: #142136; }
html[data-theme='dark'] .health-dot { box-shadow: 0 0 0 5px #1e2b40; }
html[data-theme='dark'] .system-login-body {
  background: radial-gradient(circle at 50% -10%,#172b50 0,#101c31 26%,transparent 51%), radial-gradient(#5f76a522 .7px,transparent .7px), #0b1220;
  background-size: auto,19px 19px,auto;
}
html[data-theme='dark'] .system-login-card { background: #111c2d; border-color: #293a52; box-shadow: 0 28px 70px #02061188,0 3px 10px #02061166; }
html[data-theme='dark'] .system-login-notes,
html[data-theme='dark'] .system-token-form { border-color: var(--line); }
html[data-theme='dark'] .system-service-tag,
html[data-theme='dark'] .system-login-notes { color: #9aa9bd; }
html[data-theme='dark'] .art-ticket,
html[data-theme='dark'] .live-ticket { background: #f7f9fe; color: #13243a; }

@media (max-width: 740px) {
  .theme-toggle { width: 36px; padding: 0; }
  .theme-toggle .theme-label { display: none; }
  .topbar-end { gap: 9px; }
  .private-label { display: none; }
  .page-heading > form { width: auto; }
  .admin-tabs { scrollbar-width: thin; padding-bottom: 2px; }
  .table-scroll { max-width: calc(100vw - 42px); }
  .token-management-table { min-width: 900px; }
  .page-footer { flex-wrap: wrap; }
  .page-footer > span:last-child { max-width: none; text-align: left; }
}
@media (max-width: 520px) {
  .auth-theme-toggle { top: 13px; right: 14px; }
  .system-login-page { padding-top: 68px; }
  .main-content { padding-inline: 16px; }
  .topbar, .page-footer { padding-inline: 16px; }
  .page-heading { align-items: flex-start; }
  .page-heading > form, .page-heading > form .button { width: 100%; }
  .admin-tabs { margin-inline: -16px; padding-inline: 16px; }
  .operations-kpis, .token-metrics-strip { grid-template-columns: 1fr; }
  .operation-kpi .operation-icon { display: grid; }
  .admin-overview, .account-source-overview { grid-template-columns: 1fr; }
  .admin-overview form, .account-source-overview form { grid-column: auto; }
  .admin-overview > div { border-left: 0; border-bottom: 1px solid var(--line); padding: 4px 0 12px; }
  .generate-panel .form-field, .generate-panel .count-field { flex: 1 1 100%; max-width: none; }
  .table-filters .button, .account-search .button { flex: 1; }
  .pagination { align-items: stretch; flex-direction: column; gap: 12px; }
  .pagination > div { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 8px; }
  .pagination .button { width: 100%; white-space: normal; }
  .support-fab { right: 14px; bottom: 14px; width: 56px; height: 56px; }
}
