@charset "UTF-8";
/* Shared storefront, checkout and management design. Security state selectors
   and the native hidden attribute remain controlled by the existing flows. */
:root {
  --ink: #12213b; --muted: #64738b; --line: #e3eaf3;
  --surface: #fff; --canvas: #f5f8fc; --navy: #112b56;
  --blue: #246bee; --blue-dark: #1858ce; --lavender: #eaf2ff;
  --shadow: 0 8px 30px rgba(23, 53, 97, .045);
  --radius: 18px; --container: 1224px;
}
body { color: var(--ink); font-size: 15px; line-height: 1.65; }
h1, h2, h3 { letter-spacing: -.025em; }
button, a, input, select, textarea, summary { -webkit-tap-highlight-color: transparent; }
.site-header { background: rgba(255,255,255,.98); border-bottom-color: #edf1f7; }
.header-inner { min-height: 80px; gap: 24px; }
.brand-mark { background: linear-gradient(140deg,#4593ff,#1955ce); border-radius: 11px; box-shadow: 0 4px 12px #246bee20; }
.brand-mark-logo { background: #fff; box-shadow: none; }
.brand-name, .brand-name span { color: var(--navy); letter-spacing: -.035em; }
.main-nav { gap: 25px; min-width: 0; }
.main-nav a { position: relative; padding-block: 12px; color: #3d4c65; font-size: .83rem; }
.main-nav a[aria-current="page"] { color: var(--blue); }
.main-nav a[aria-current="page"]::after { content: ''; position: absolute; height: 2px; background: var(--blue); bottom: 3px; inset-inline: 0; border-radius: 2px; }
.button { border-radius: 10px; min-height: 44px; font-size: .85rem; gap: 9px; transition: background .18s, border-color .18s, box-shadow .18s; }
.button:hover:not(:disabled) { transform: none; }
.button-primary { background: linear-gradient(115deg,#2d7bf5,#1c5cdb); box-shadow: 0 5px 14px #246bee18; }
.button-primary:hover { box-shadow: 0 6px 18px #246bee26; }
.button-dark { background: var(--navy); }
.button-outline { border-color: #dce5f1; color: #243956; }
.button-ghost:hover { background: #eef5ff; }
.button-small { min-height: 36px; font-size: .78rem; }
.button:disabled, button[disabled] { cursor: not-allowed; }
.section-kicker { color: #4e80d0; font-size: .67rem; letter-spacing: .13em; font-weight: 650; }
.panel, .summary-card, .form-panel, .info-card, .account-card, .stat-card { border-color: var(--line); box-shadow: var(--shadow); border-radius: 16px; }
.panel, .form-panel { padding: 26px; }
.panel-head h2, .form-panel-heading h2 { font-size: 1.08rem; letter-spacing: -.015em; }
.panel-head { gap: 14px; }
.panel-head p, .panel-head > span { color: var(--muted); }
.notice { padding: 13px 16px; border-radius: 10px; font-size: .84rem; }
.notice p { margin: 5px 0 0; }
.notice-wrap { margin-top: 18px; }
.field label { color: #30435f; font-size: .82rem; font-weight: 650; }
.field input:not([type="checkbox"]):not([type="radio"]), .field select, .field textarea,
.stack-form input:not([type="checkbox"]):not([type="radio"]), .lookup-card input {
  border-color: #dce5f0; border-radius: 10px; background: #fff; color: var(--ink);
}
.field input:focus, .field select:focus, .field textarea:focus { border-color: #75a5f5; box-shadow: 0 0 0 3px #246bee0c; }
input::placeholder, textarea::placeholder { color: #8c99ac; }
.field small, .fine-print, .form-hint, .q-muted, .agent-note { color: #697990; font-size: .76rem; line-height: 1.75; }
.field small { margin-top: 7px; }
input[type="checkbox"], input[type="radio"] { accent-color: var(--blue); }
:focus-visible { outline: 3px solid #8eb8fa; outline-offset: 3px; }
details > summary { cursor: pointer; color: #3a5478; font-size: .82rem; font-weight: 600; line-height: 1.65; }
details > summary:hover { color: var(--blue); }
details[open] > summary { margin-bottom: 12px; }
details p { line-height: 1.8; }
.ui-help { padding: 16px 0; border-top: 1px solid var(--line); color: var(--muted); }
.ui-help p { font-size: .8rem; margin: 10px 0 0; }
.ui-help + .ui-help { margin-top: 10px; }
.ui-help-box { padding: 15px 17px; margin-block: 18px; background: #f6f9fe; border: 1px solid #e6edf7; border-radius: 10px; }
.ui-help-box p:last-child { margin-bottom: 0; }
.ui-short-intro { font-size: .85rem; color: var(--muted); margin-bottom: 20px; }

/* Home: one brand moment, followed immediately by the catalog. */
.q-catalog-page.ui-catalog { padding-top: 24px; padding-bottom: 34px; }
.ui-store-hero { position: relative; isolation: isolate; overflow: hidden; min-height: 370px; border-radius: 22px; background: #edf6ff; display: flex; align-items: center; margin-bottom: 24px; }
.ui-store-hero-copy { position: relative; z-index: 2; width: 57%; padding: 48px 44px; }
.ui-store-hero .section-kicker { color: #528ee8; letter-spacing: .24em; font-size: .64rem; }
.ui-store-hero h1 { font-size: clamp(2.55rem,4.25vw,3.8rem); line-height: 1.25; letter-spacing: -.055em; color: #0b2449; margin: 18px 0 18px; font-weight: 760; }
.ui-store-hero p { font-size: .88rem; color: #4d6382; line-height: 1.9; max-width: 460px; margin-bottom: 24px; overflow-wrap: anywhere; }
.ui-hero-actions { display: flex; gap: 12px; flex-wrap: wrap; }
.ui-hero-actions .button-primary { min-height: 46px; padding-inline: 23px; }
.ui-store-art { position: absolute; z-index: 0; right: 0; top: 0; height: 100%; width: 62%; object-fit: cover; object-position: 68% 50%; }
.ui-store-hero::after { content: ''; position: absolute; z-index: 1; inset: 0; background: linear-gradient(90deg,#edf6ff 15%,#edf6fff0 31%,#edf6ff00 58%); pointer-events: none; }
.ui-catalog .store-announcement { border-width: 0 0 1px; border-radius: 0; background: transparent; padding: 16px 4px 23px; margin-bottom: 28px; box-shadow: none; }
.ui-catalog .store-announcement-symbol { width: 28px; height: 28px; background: #eaf2ff; color: var(--blue); font-size: .9rem; border-radius: 8px; }
.ui-catalog .store-announcement h2 { font-size: .85rem; }
.ui-catalog .store-announcement p { font-size: .8rem; line-height: 1.8; }
.ui-catalog .q-catalog-toolbar { align-items: end; margin: 35px 0 22px; scroll-margin-top: 25px; }
.ui-catalog .q-catalog-toolbar h2 { font-size: 1.75rem; margin-top: 8px; }
.ui-catalog-count { color: var(--muted); font-size: .78rem; }
.ui-catalog .q-product-grid, .ui-catalog .q-product-grid-four { gap: 18px; align-items: stretch; }
.ui-catalog .q-product-card { padding: 25px 24px 21px; border-radius: 16px; box-shadow: 0 4px 18px #24457004; }
.ui-catalog .q-product-card::before { display: none; }
.ui-catalog .q-product-card:first-child { border-color: #c8ddfa; background: linear-gradient(155deg,#f2f7ff,#fff 35%); box-shadow: inset 0 3px #5f9ef7,0 8px 25px #246bee06; }
.ui-catalog .q-product-card:hover { transform: translateY(-3px); border-color: #9ec1f3; box-shadow: 0 10px 28px #2445700b; }
.ui-catalog .q-product-top { margin-bottom: 20px; }
.ui-catalog .q-product-symbol { background: #eef4fc; color: var(--navy); width: 52px; height: 52px; font-size: 2rem; border-radius: 14px; }
.ui-catalog .q-product-content h3 { font-size: 1.12rem; margin: 0 0 13px; line-height: 1.55; min-height: 3.1em; }
.ui-catalog .q-product-modes { min-height: 25px; gap: 6px; }
.ui-catalog .q-product-modes span { background: #eef4fc; color: #47658f; padding: 3px 7px; border-radius: 6px; font-size: .67rem; }
.ui-product-description { margin-top: 13px; }
.ui-product-description summary { color: #6b7d98; font-size: .72rem; font-weight: 400; }
.ui-catalog .ui-product-description p { display: block; overflow: visible; font-size: .76rem; min-height: 0; white-space: pre-line; overflow-wrap: anywhere; }
.ui-catalog .q-product-footer { display: flex; flex-direction: column; align-items: stretch; gap: 0; border-top-color: #e8eef6; margin-top: 22px; padding-top: 21px; }
.ui-catalog .q-price { color: #195cce; gap: 3px; }
.ui-catalog .q-price strong { font-size: clamp(1.5rem,2.25vw,2.1rem); font-variant-numeric: tabular-nums; letter-spacing: -.045em; }
.ui-catalog .q-price small { font-size: .69rem; color: #7788a1; margin-left: auto; }
.ui-catalog .q-sold-count { font-size: .73rem; margin-top: 10px; color: #71819a; }
.ui-catalog .q-card-action { justify-content: center; margin-top: 19px; padding: 11px; min-height: 43px; border-radius: 9px; font-size: .84rem; background: #edf4ff; color: #1a5dce; }
.ui-catalog .q-product-card:first-child .q-card-action { background: linear-gradient(110deg,#337ef5,#2062db); color: white; }
.ui-catalog .q-card-action:hover { background: #1c5ed5; color: white; }
.ui-purchase-guide { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 30px; align-items: center; padding: 29px 34px; margin-top: 28px; margin-bottom: 22px; border-radius: 16px; background: linear-gradient(120deg,#eef5fd,#f3f8fe); scroll-margin-top: 24px; }
.ui-purchase-guide h2 { font-size: 1.22rem; line-height: 1.5; margin: 0; }
.ui-purchase-guide > div { display: flex; gap: 15px; align-items: center; border-left: 1px solid #dbe5f2; padding-left: 26px; min-width: 0; }
.ui-purchase-guide h3 { margin: 0 0 6px; font-size: .9rem; }
.ui-purchase-guide p { color: #647993; font-size: .76rem; margin: 0; }
.ui-guide-icon { display: grid; place-items: center; width: 43px; height: 43px; flex: none; border-radius: 12px; color: #214d8c; background: #e1edfc; font-size: 1.5rem; }

/* Forms and customer flows. */
.auth-section { grid-template-columns: 1fr 440px; gap: 80px; padding-top: 55px; padding-bottom: 65px; min-height: 660px; align-items: center; }
.auth-aside { padding: 30px 0; align-self: stretch; display: flex; flex-direction: column; justify-content: center; }
.auth-aside h1 { font-size: clamp(2.2rem,3.8vw,3.3rem); line-height: 1.3; color: var(--navy); margin: 16px 0; }
.auth-aside > p { max-width: 390px; color: #6a7c95; font-size: .9rem; }
.auth-decoration { position: relative; inset: auto; flex: none; width: 100%; max-width: 460px; height: 210px; margin-top: 25px; border: 0; border-radius: 20px; background: #edf6ff url('/css/commerce-star-v1.webp') 70% 53% / cover no-repeat; overflow: hidden; }
.auth-decoration::before, .auth-decoration::after, .auth-decoration span { display: none; }
.auth-card { border-radius: 20px; padding: 34px; box-shadow: 0 12px 40px #21467507; border: 1px solid #e4ebf5; }
.auth-card-head { margin-bottom: 25px; }
.auth-card-head h2 { font-size: 1.5rem; }
.auth-card-head .mini-icon { background: #ecf3ff; color: var(--blue); width: 45px; height: 45px; border-radius: 13px; margin-bottom: 17px; }
.auth-card-head p { color: #728199; font-size: .8rem; }
.auth-switch { color: #6b7d96; font-size: .79rem; }
.auth-page { max-width: 620px; padding-block: 48px 70px; }
.auth-page .auth-card { max-width: none; width: 100%; }
.auth-page h1 { font-size: 1.65rem; margin-bottom: 16px; }
.auth-page p { font-size: .84rem; color: #60728d; overflow-wrap: anywhere; }
.auth-page .field { margin: 19px 0; }
.auth-page form + form { margin-top: 14px; }
.auth-page .button { width: 100%; }
.auth-page pre, .auth-page code { overflow-wrap: anywhere; white-space: pre-wrap; }
.registration-email-row { gap: 8px; }
.registration-email-row .button { font-size: .73rem; padding-inline: 11px; }
.registration-email-status, .registration-captcha-status { font-size: .73rem; }
.password-toggle { color: #2464c0; font-size: .74rem; }
.q-checkout-page, .q-order-page, .result-page { padding-top: 27px; padding-bottom: 55px; }
.breadcrumb { font-size: .79rem; color: #687e9b; }
.q-page-heading, .page-heading { margin-bottom: 25px; }
.q-page-heading h1, .page-heading h1, .checkout-main > h1 { font-size: 2rem; margin-block: 9px; }
.q-page-heading p, .page-heading p { font-size: .84rem; color: #6c7e96; }
.q-checkout-layout, .result-grid { gap: 24px; }
.q-selected-symbol, .q-mode-icon, .q-order-icon, .info-icon, .panel-step { background: #edf4ff; color: #316ad0; }
.q-selected-product h2 { font-size: 1.12rem; }
.q-selected-price { color: #195ecf; }
.q-product-description { font-size: .8rem; margin-top: 16px; padding-bottom: 15px; }
.q-delivery-option { background: #fff; border-color: #dfe7f2; padding: 16px; border-radius: 12px; }
.q-delivery-option:has(input:checked) { border-color: #7ca8f0; background: #f2f7ff; box-shadow: 0 0 0 1px #7ca8f01a; }
.q-delivery-option:has(input:focus-visible) { outline: 3px solid #9cbdf6; outline-offset: 2px; }
.q-mode-text strong { font-size: .9rem; }
.q-mode-text small { font-size: .76rem; line-height: 1.7; color: #6b7e96; }
.q-session-readiness { padding: 18px 20px; background: #edf5ff; border: 1px solid #ddeafb; border-radius: 12px; }
.q-session-readiness .q-muted { margin: 0 0 12px; }
.q-inline-note, .q-session-help, .q-confidential, .q-privacy-card { border-color: #e1eaf7; background: #f2f7fd; color: #61738e; border-radius: 11px; }
.q-inline-note p, .q-confidential p { font-size: .76rem; }
.q-session-help summary { font-size: .8rem; color: #3d5c87; }
.q-session-help[open] { margin-bottom: 20px; }
.q-session-dialog { width: min(660px,calc(100vw - 28px)); border-radius: 20px; }
.q-session-dialog::backdrop { background: #0c22416b; backdrop-filter: blur(3px); }
.q-session-capture .panel-head h2 { font-size: 1.25rem; }
.q-session-capture textarea { font-size: .79rem; }
.q-consent { font-size: .78rem; line-height: 1.8; color: #4b5f7b; }
.q-session-instructions { font-size: .78rem; }
.summary-card { padding: 25px; border-top: 3px solid #78a9ef; }
.summary-card h2 { font-size: 1.1rem; margin-block: 8px 20px; }
.summary-total strong { color: #1c60d4; font-size: 1.9rem; font-variant-numeric: tabular-nums; }
.summary-note { color: #72829a; text-align: left; font-size: .73rem; }
.q-scan-panel, .delivery-panel { border-top: 3px solid #94bafa; }
.q-order-heading h1, .result-hero h1 { font-size: 1.9rem; }
.q-order-steps { border-color: #e2eaf5; background: #fff; }
.q-confirmed-stage { background: #f2f7ff; border-color: #dfeafa; }
.q-confirmed-stage strong { color: #416697; }
.q-confirmed-stage p { color: #687e9b; }
.q-confirmed-stage-success { background: #f0faf5; border-color: #dcefe4; }
.q-confirmed-stage-success strong { color: #277456; }
.q-confirmed-stage-success p { color: #538370; }
.detail-list dt { color: #728199; }
.q-session-account, .q-session-feedback, .detail-list dd, .delivery-item code { overflow-wrap: anywhere; }
.redeem-hero { background: linear-gradient(115deg,#10284d,#2e5896); padding: 43px 0 62px; }
.redeem-hero h1 { font-size: 2.2rem; }
.redeem-layout { margin-top: -28px; }
.error-page { padding-block: 75px 95px; }
.error-symbol { color: #2d70df; background: #eaf2ff; width: 66px; height: 66px; font-size: 2.5rem; }
.error-page h1 { font-size: 2rem; }
.error-page p { font-size: .86rem; }

/* Management uses the same components with a denser working layout. */
.dashboard-page, .admin-page, .agent-page { padding-top: 33px; padding-bottom: 50px; }
.admin-nav, .agent-nav { background: #eaf0f8; border: 1px solid #e2e9f3; border-radius: 12px; padding: 5px; gap: 4px; margin: 0 0 24px; overflow-x: auto; }
.admin-nav a, .agent-nav a { border: 0; border-radius: 8px; background: transparent; padding: 10px 15px; color: #64758e; font-size: .8rem; white-space: nowrap; }
.admin-nav a[aria-current="page"], .agent-nav a[aria-current="page"] { background: #fff; color: #2164d1; box-shadow: 0 2px 7px #15396709; }
.admin-nav a:hover, .agent-nav a:hover { color: #2164d1; background: #ffffffa6; }
.account-cards, .admin-stats, .agent-stats { gap: 16px; }
.account-card, .stat-card { padding: 23px; }
.account-card strong, .stat-card strong { color: #1d385e; font-size: 1.9rem; font-variant-numeric: tabular-nums; }
.account-card-accent { background: #edf5ff; border-color: #dae8fc; }
.stat-symbol { background: #edf4ff; color: #326dce; }
.data-table { font-size: .8rem; }
.data-table th { background: #f4f7fc; color: #607490; padding: 13px 14px; font-weight: 600; }
.data-table td { padding: 15px 14px; border-color: #edf1f7; }
.data-table tbody tr:hover { background: #f9fbff; }
.data-table .table-sub { color: #7a8ba1; }
.table-scroll { border-radius: 10px; }
.status { border-radius: 6px; padding: 4px 9px; font-weight: 600; font-size: .71rem; }
.agent-scope { background: #edf4fc; border-color: #dfe9f7; border-radius: 11px; padding: 13px 17px; }
.agent-scope span { font-size: .78rem; color: #627994; }
.agent-domain, .agent-domain-card, .agent-domain-item, .agent-domain-flow, .agent-domain-replacement, .agent-product-card { border-color: #e1eaf6; border-radius: 13px; }
.agent-domain-flow, .agent-domain-replacement { background: #f7faff; }
.agent-domain-records { background: #fff; border: 1px solid #e1eaf5; border-radius: 10px; }
.agent-domain-records code, .agent-domain-records dd { overflow-wrap: anywhere; }
.agent-record { background: #f5f8fe; border-color: #e2eaf7; }
.agent-form h2, .agent-branding-section h2 { font-size: 1.1rem; }
.agent-branding-section p, .agent-branding-preview-heading p { font-size: .78rem; color: #6d819b; }
.agent-branding-preview { background: linear-gradient(150deg,#fff,#f4f8ff); }
.agent-branding-preview-header { border-bottom-color: #e1eaf6; }
.q-admin-product-card { border-radius: 15px; border-color: #dfe8f5; }
.q-admin-product-symbol, .q-admin-product-symbol.q-tone-1, .q-admin-product-symbol.q-tone-2, .q-admin-product-symbol.q-tone-3 { color: #326cc8; background: #edf4fd; }
.admin-form { max-width: 950px; }
.password-panel { margin-bottom: 28px; }
.site-footer { background: #fff; border-top: 1px solid #e6edf5; padding-top: 0; }
.footer-inner { padding-block: 26px; align-items: center; }
.footer-inner p { color: #73839b; font-size: .76rem; margin: 9px 0 0; }
.footer-links { font-size: .78rem; gap: 25px; }
.footer-bottom { font-size: .69rem; color: #8592a5; padding-block: 15px; border-top-color: #eef2f8; }

@media (min-width: 1100px) { .ui-catalog .q-product-grid-four { grid-template-columns: repeat(4,minmax(0,1fr)); } }
@media (max-width: 1100px) {
  .header-inner { flex-wrap: wrap; padding-block: 14px; gap: 12px 20px; }
  .header-actions { margin-left: auto; }
  .main-nav { order: 3; width: 100%; justify-content: flex-start; overflow-x: auto; scrollbar-width: thin; gap: 26px; border-top: 1px solid #edf2f8; padding-top: 3px; }
  .ui-store-hero-copy { padding: 38px 30px; width: 60%; }
  .auth-section { grid-template-columns: 1fr 420px; gap: 40px; }
  .ui-purchase-guide { gap: 20px; padding-inline: 26px; }
  .ui-purchase-guide > div { padding-left: 20px; gap: 10px; }
}
@media (max-width: 760px) {
  .container { width: calc(100% - 32px); }
  .header-inner { min-height: 68px; }
  .main-nav a { font-size: .78rem; }
  .header-register { display: inline-flex; }
  .ui-store-hero { min-height: 335px; border-radius: 17px; }
  .ui-store-hero-copy { width: 68%; padding: 33px 25px; }
  .ui-store-hero h1 { font-size: 2.4rem; }
  .ui-store-hero p { font-size: .81rem; }
  .ui-store-art { width: 67%; opacity: .8; }
  .ui-catalog .q-product-grid, .ui-catalog .q-product-grid-four { grid-template-columns: repeat(2,minmax(0,1fr)); gap: 14px; }
  .ui-catalog .q-product-card { padding: 22px 19px 19px; }
  .ui-catalog .q-price strong { font-size: 1.8rem; }
  .ui-purchase-guide { grid-template-columns: 1fr 1fr; gap: 18px; padding: 24px; }
  .ui-purchase-guide > h2 { grid-column: 1/-1; font-size: 1.14rem; }
  .ui-purchase-guide > h2 br { display: none; }
  .ui-purchase-guide > div { padding-left: 0; border: 0; }
  .auth-section { grid-template-columns: 1fr; padding-top: 25px; gap: 20px; min-height: 0; }
  .auth-aside { padding: 10px 0 0; text-align: center; align-items: center; }
  .auth-aside h1 { font-size: 1.85rem; margin: 8px 0 10px; }
  .auth-aside h1 br { display: none; }
  .auth-aside > p { margin-bottom: 0; font-size: .8rem; }
  .auth-decoration { display: none; }
  .auth-card { width: 100%; max-width: 470px; padding: 28px; }
  .q-checkout-layout, .result-grid { grid-template-columns: 1fr; gap: 20px; }
  .q-page-heading h1, .page-heading h1 { font-size: 1.75rem; }
  .panel, .form-panel { padding: 21px; }
  .summary-card { position: static; }
  .footer-inner { gap: 18px; }
  .footer-links { gap: 18px; }
  .q-scan-layout { grid-template-columns: 1fr; }
  .q-qr-frame { margin-inline: auto; }
}
@media (max-width: 480px) {
  .header-inner .brand-name { max-width: 160px; }
  .brand-name { font-size: 1rem; }
  .main-nav { gap: 23px; }
  .header-actions .button { font-size: .77rem; padding-inline: 11px; min-height: 35px; }
  .ui-store-hero { min-height: 375px; align-items: flex-start; }
  .ui-store-hero-copy { width: 100%; padding: 28px 23px 135px; }
  .ui-store-hero h1 { font-size: 2.2rem; margin-block: 14px; }
  .ui-store-hero p { width: 85%; font-size: .8rem; margin-bottom: 20px; }
  .ui-store-art { width: 100%; height: 70%; top: auto; bottom: -50px; object-position: 75% 60%; opacity: .55; }
  .ui-store-hero::after { background: linear-gradient(180deg,#edf6ff 15%,#edf6ffee 38%,#edf6ff00 90%); }
  .ui-hero-actions { gap: 3px; }
  .ui-hero-actions .button { font-size: .79rem; padding-inline: 15px; }
  .ui-catalog .q-catalog-toolbar h2 { font-size: 1.5rem; }
  .ui-catalog .q-product-grid, .ui-catalog .q-product-grid-four { gap: 12px; }
  .ui-catalog .q-product-card { padding: 17px 14px 15px; border-radius: 13px; }
  .ui-catalog .q-product-top { margin-bottom: 14px; }
  .ui-catalog .q-product-symbol { width: 40px; height: 40px; font-size: 1.7rem; border-radius: 11px; }
  .ui-catalog .q-product-content h3 { font-size: .9rem; min-height: 4.65em; }
  .ui-catalog .q-product-modes { gap: 4px; }
  .ui-catalog .q-product-modes span { font-size: .61rem; padding-inline: 5px; }
  .ui-catalog .q-price strong { font-size: 1.36rem; }
  .ui-catalog .q-price > span { font-size: .72rem; }
  .ui-catalog .q-price small { font-size: .58rem; }
  .ui-catalog .q-card-action { font-size: .76rem; padding-inline: 5px; gap: 5px; }
  .ui-catalog .q-product-footer { margin-top: 15px; padding-top: 17px; }
  .ui-purchase-guide { grid-template-columns: 1fr; padding: 23px; gap: 19px; }
  .ui-purchase-guide > h2 { margin-bottom: 3px; }
  .ui-guide-icon { width: 38px; height: 38px; }
  .auth-card { padding: 25px 21px; border-radius: 16px; }
  .auth-page { padding-top: 26px; }
  .auth-page h1 { font-size: 1.4rem; }
  .auth-page .auth-card { padding: 24px 20px; }
  .q-checkout-main .panel, .q-session-dialog .q-session-capture { padding: 20px; }
  .q-selected-product { flex-wrap: wrap; gap: 12px; }
  .q-selected-symbol { width: 46px; height: 46px; border-radius: 12px; }
  .q-selected-product > div:nth-child(2) { min-width: 160px; }
  .q-selected-price { margin-left: 58px; }
  .q-delivery-option { padding: 14px 12px; gap: 10px; }
  .q-mode-text strong { font-size: .83rem; }
  .q-mode-text small { font-size: .72rem; }
  .summary-card { padding: 22px; }
  .page-heading { gap: 15px; }
  .agent-scope { align-items: flex-start; gap: 5px; flex-direction: column; }
  .data-table { font-size: .77rem; }
  .admin-nav a, .agent-nav a { padding: 9px 12px; font-size: .77rem; }
  .account-card, .stat-card { padding: 18px; }
  .account-card strong, .stat-card strong { font-size: 1.55rem; }
  .footer-inner { align-items: flex-start; padding-block: 24px; }
  .footer-bottom { gap: 6px; align-items: flex-start; }
}
@media (max-width: 350px) {
  .ui-catalog .q-product-grid, .ui-catalog .q-product-grid-four { grid-template-columns: 1fr; }
  .ui-catalog .q-product-content h3 { min-height: 0; }
  .ui-catalog .q-price strong { font-size: 1.8rem; }
}
@media (prefers-reduced-motion: reduce) {
  .ui-catalog .q-product-card:hover { transform: none; }
}
/* Compact guidance: text labels remain visible; icons are decorative. */
.ui-icon { display: inline-block; width: 18px; height: 18px; flex: 0 0 18px; vertical-align: -.2em; color: currentColor; }
.ui-info-chips { display: flex; flex-wrap: wrap; gap: 7px; margin: 10px 0 16px; padding: 0; list-style: none; }
.ui-info-chips > span, .ui-info-chips > li { display: inline-flex; align-items: center; gap: 6px; max-width: 100%; padding: 6px 10px; border: 1px solid #e1eaf8; border-radius: 8px; background: #f4f8ff; color: #456181; font-size: .74rem; line-height: 1.5; }
.ui-info-chips .ui-icon { color: #5682bf; width: 15px; height: 15px; flex-basis: 15px; }
.ui-compact-note { display: flex; align-items: flex-start; gap: 8px; color: #62758f; font-size: .76rem; line-height: 1.6; margin: 10px 0; }
.ui-compact-note .ui-icon { margin-top: 2px; color: #527cad; }
.ui-compact-note > div { min-width: 0; }
.ui-compact-note p { margin: 3px 0; }
.ui-help-details { margin: 12px 0; border: 1px solid #e4ecf7; border-radius: 10px; background: #f9fbfe; padding: 0 13px; color: #64758d; font-size: .76rem; line-height: 1.7; }
.ui-help-details > summary { display: flex; align-items: center; gap: 7px; padding: 10px 0; color: #4c678a; font-size: .76rem; font-weight: 600; cursor: pointer; list-style: none; }
.ui-help-details > summary::-webkit-details-marker { display: none; }
.ui-help-details > summary::after { content: '+'; margin-left: auto; font-size: 1.1rem; font-weight: 400; color: #6c86a9; }
.ui-help-details[open] > summary::after { content: '−'; }
.ui-help-details[open] { padding-bottom: 10px; }
.ui-help-details p { margin: 6px 0 9px; }
.ui-help-details ul, .ui-help-details ol { padding-left: 20px; margin: 8px 0; }
.ui-help-details summary:focus-visible { outline: 2px solid #246bee; outline-offset: 3px; border-radius: 3px; }
.ui-mini-steps { display: flex; flex-wrap: wrap; align-items: stretch; gap: 8px; list-style: none; counter-reset: ui-step; padding: 0; margin: 14px 0; }
.ui-mini-steps > li { display: flex; flex: 1 1 115px; align-items: center; gap: 8px; padding: 11px 12px; border-radius: 10px; background: #f1f6ff; color: #4c6587; font-size: .77rem; font-weight: 550; counter-increment: ui-step; }
.ui-mini-steps > li::before { content: counter(ui-step, decimal-leading-zero); color: #397ae0; font-size: .68rem; font-weight: 700; font-variant-numeric: tabular-nums; }
.ui-mini-steps > li .ui-icon { color: #5782bd; }
.ui-symbol { display: inline-flex; align-items: center; justify-content: center; width: 34px; height: 34px; border-radius: 10px; background: #edf4ff; color: #4076c0; flex-shrink: 0; }
.ui-guide-icon .ui-icon { width: 22px; height: 22px; }
.field > .ui-info-chips { margin-bottom: 0; }
/* Keep automatic authorization hints within the selected recharge mode. */
.q-session-readiness:has([data-auto-session-open][hidden]) { display: none; }
.agent-domain-settings > .panel-head > .agent-note { white-space: nowrap; flex: none; }
.domain-manager-page .page-heading { align-items: center; }
.domain-refresh-button { display: inline-flex; align-items: center; gap: 8px; flex: none; }
.domain-refresh-button[aria-busy="true"] .ui-icon { animation: domain-refresh-spin 1s linear infinite; }
.domain-manager-page .agent-domain-settings { padding: 25px; }
.domain-manager-page .agent-domain-list { gap: 18px; }
.domain-manager-page .agent-domain-heading { margin-bottom: 15px; }
.domain-manager-page .agent-domain-ready { border: 0; padding: 0; }
.domain-manager-page .agent-domain-ready .button { margin-top: 0; }
.domain-setup-steps { margin: 0 0 22px; }
.domain-setup-steps > li { flex-basis: 0; min-width: 0; }
.domain-switch-addresses { display: grid; grid-template-columns: minmax(0,1fr) 20px minmax(0,1fr); align-items: center; gap: 12px; margin: 16px 0; }
.domain-switch-addresses small { display: block; font-size: .72rem; color: #7b8ba3; margin-bottom: 5px; }
.domain-switch-addresses strong { font-size: .9rem; overflow-wrap: anywhere; }
.domain-switch-addresses > span { color: #7b8ba3; }
.domain-manager-history { padding-top: 12px; margin-top: 12px; border-top: 1px solid #e8eef7; }
.domain-manager-history > summary { cursor: pointer; font-size: .78rem; color: #71839f; }
.domain-manager-history > summary:focus-visible { outline: 3px solid #9fc7fb; outline-offset: 4px; }
.domain-manager-history[open] > summary { margin-bottom: 12px; }
.domain-manager-page [data-domain-check-form] { margin-top: 15px; }
.domain-manager-page [data-domain-check-form] { display: inline-block; }
.domain-manager-page [data-domain-check-form] + .agent-actions { display: inline-flex; margin-left: 8px; vertical-align: baseline; }
.domain-manager-page .agent-domain-settings > [data-domain-advanced-help] { margin-top: 20px; padding-top: 16px; border-top: 1px solid #e8eef7; }
.domain-manager-page .agent-domain-settings > .agent-domain-poll-status { margin: 18px 0 0; }
@keyframes domain-refresh-spin { to { transform: rotate(360deg); } }
@media (prefers-reduced-motion: reduce) { .domain-refresh-button[aria-busy="true"] .ui-icon { animation: none; } }
@media (max-width: 620px) {
 .domain-manager-page .agent-domain-settings { padding: 18px; }
 .domain-manager-page .page-heading h1 { font-size: 1.75rem; }
 .domain-manager-page .page-heading { flex-direction: row; justify-content: space-between; text-align: left; }
 .domain-refresh-button { padding: 10px 12px; font-size: .76rem; }
 .domain-setup-steps > li { font-size: .7rem; padding: 10px 7px; gap: 5px; }
 .domain-switch-addresses { gap: 7px; grid-template-columns: minmax(0,1fr) 15px minmax(0,1fr); }
}
@media (max-width: 480px) {
 .ui-mini-steps { gap: 6px; }
 .ui-mini-steps > li { flex-basis: 85px; padding: 10px 8px; font-size: .72rem; gap: 6px; }
 .ui-info-chips > span, .ui-info-chips > li { font-size: .7rem; padding: 5px 8px; }
}
/* Last: no visual rule may expose inactive or sensitive hidden content. */
[hidden] { display: none !important; }
