/* VelnaroPay workspace: a quiet, structured surface for the payment team. */
.utility-page { background: var(--page); color: var(--ink); }
.utility-page button, .utility-page input, .utility-page select, .utility-page textarea { font-family: var(--sans); }
.utility-page a, .utility-page button, .utility-page input, .utility-page select, .utility-page textarea, .utility-page summary { -webkit-tap-highlight-color: transparent; }
.utility-page :is(button, a, input, textarea, select, summary):focus-visible { outline: 3px solid #829aff; outline-offset: 3px; }
.utility-page [hidden] { display: none !important; }
.admin-skip-link { position: fixed; z-index: 100; top: 10px; left: 20px; transform: translateY(-160%); padding: 12px 18px; border-radius: 6px; background: #fff; color: var(--forest); font-size: 13px; }
.admin-skip-link:focus { transform: none; }
.utility-page .brand { display: inline-flex; align-items: center; gap: 10px; flex-shrink: 0; text-decoration: none; }
.utility-page .brand-mark { display: block; width: 34px; height: 34px; flex: 0 0 auto; }
.utility-page .brand-wordmark { display: inline-flex; align-items: baseline; gap: 3px; font: 730 25px/1 var(--sans); letter-spacing: -1.2px; color: var(--ink); }
.utility-page .brand-wordmark > span { color: var(--forest); font-size: 10px; font-weight: 750; letter-spacing: .55px; }
.utility-header-label { color: var(--muted); font-size: 10px; font-weight: 650; letter-spacing: 1.35px; }
.utility-page .utility-site-header, .utility-page .site-header { height: 92px; display: flex; align-items: center; justify-content: space-between; gap: 20px; border-bottom: 1px solid var(--line); }
.utility-main { min-height: 65vh; padding-block: 52px 72px; }
.utility-card { padding: 38px; border: 1px solid var(--line); border-radius: 12px; background: #fff; box-shadow: 0 14px 38px #17294705; }
.utility-card > .eyebrow { margin: 18px 0 12px; color: var(--forest); font-size: 10px; font-weight: 700; letter-spacing: 1.7px; }
.utility-card > h1 { margin: 0 0 14px; font: 700 clamp(28px, 3.5vw, 38px)/1.15 var(--sans); letter-spacing: -1.4px; }
.utility-card > p:not(.eyebrow) { margin: 0 0 26px; color: var(--body); font-size: 14px; line-height: 1.75; }
.generator-card { max-width: 790px; margin: 0 auto; border-top: 3px solid var(--forest); }
.utility-success-mark, .utility-notice-mark { display: inline-flex; align-items: center; justify-content: center; width: 44px; height: 44px; border: 1px solid #dce5ff; border-radius: 10px; background: #eef2ff; color: var(--forest); }
.utility-success-mark svg { width: 24px; height: 24px; }
.utility-notice-mark { font-size: 23px; font-weight: 600; }
.notice-card { max-width: 610px; margin: 18px auto 40px; }
.utility-label { display: block; margin: 25px 0 9px; color: var(--ink); font-size: 12px; font-weight: 650; }
.copy-row { display: flex; gap: 10px; }
.copy-row input { width: 100%; min-width: 0; min-height: 48px; padding: 12px 14px; border: 1px solid var(--line); border-radius: 7px; background: #f7f9fd; color: var(--body); font: 12px/1.65 ui-monospace, SFMono-Regular, Consolas, monospace; }
.copy-row .button { flex: 0 0 auto; width: auto; min-height: 48px; padding: 12px 20px; border-radius: 7px; font-size: 12px; }
.utility-feedback { min-height: 20px; margin: 10px 0 18px !important; color: var(--forest) !important; font-size: 12px !important; }
.generator-summary { display: grid; grid-template-columns: 1.6fr 1fr; gap: 20px; padding: 20px 0 24px; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.generator-summary dt { margin-bottom: 7px; color: var(--muted); font-size: 11px; }
.generator-summary dd { color: var(--ink); font-size: 12px; overflow-wrap: anywhere; }
.json-response { margin: 0; padding: 20px; border: 1px solid #202e4a; border-radius: 8px; background: #111e35; color: #d6e2ff; font: 12px/1.85 ui-monospace, SFMono-Regular, Consolas, monospace; white-space: pre-wrap; overflow-wrap: anywhere; }
.utility-page .page-footer { display: flex; justify-content: space-between; align-items: center; gap: 18px; padding-block: 22px; border-top: 1px solid var(--line); color: var(--muted); font-size: 10px; }
.utility-error { padding: 12px; border-radius: 7px; color: var(--error) !important; background: var(--error-bg); }

/* The workspace shell */
.admin-workspace-page { --sidebar-width: 224px; }
.admin-sidebar { position: fixed; z-index: 20; inset: 0 auto 0 0; display: flex; flex-direction: column; width: var(--sidebar-width); padding: 30px 18px 20px; background: #0b1428; color: #d9e2f4; }
.admin-sidebar .admin-brand { margin: 0 9px 46px; }
.admin-sidebar .brand-wordmark { color: #fff; font-size: 25px; }
.admin-sidebar .brand-wordmark > span { color: #89a2ff; }
.admin-sidebar .brand-mark { width: 31px; height: 31px; }
.admin-nav-label { margin: 0 13px 13px; color: #71809e; font-size: 9px; font-weight: 650; letter-spacing: 1.8px; }
.admin-side-nav { display: grid; gap: 7px; }
.admin-side-nav > a { display: flex; align-items: center; gap: 11px; min-height: 46px; padding: 12px 13px; border: 1px solid transparent; border-radius: 7px; color: #94a4c0; font-size: 12px; font-weight: 550; line-height: 1.5; text-decoration: none; transition: color .15s, background .15s; }
.admin-side-nav > a svg { width: 18px; height: 18px; flex: 0 0 auto; }
.admin-side-nav > a:hover { color: #fff; background: #15223c; }
.admin-side-nav > a.admin-nav-current { border-color: #3d5ce3; color: #fff; background: #355cff; box-shadow: 0 4px 16px #0001; }
.admin-sidebar-caption { margin: auto 12px 18px; padding: 30px 0 20px; border-bottom: 1px solid #24304a; color: #71809e; font-size: 12px; line-height: 1.7; }
.admin-sidebar-foot { display: flex; align-items: center; gap: 8px; padding-inline: 12px; color: #9baac3; font-size: 10px; }
.admin-sidebar-foot svg { width: 16px; height: 16px; flex-shrink: 0; }
.admin-topbar { position: sticky; z-index: 15; top: 0; display: flex; align-items: center; justify-content: space-between; gap: 20px; height: 76px; margin-left: var(--sidebar-width); padding-inline: 36px; border-bottom: 1px solid var(--line); background: #fff; }
.admin-breadcrumb { display: flex; align-items: center; gap: 12px; color: var(--ink); font-size: 12px; font-weight: 600; }
.admin-breadcrumb > span { color: var(--muted); font-weight: 400; }
.admin-breadcrumb > span[aria-hidden] { color: #b8c2d1; }
.admin-topbar-account { display: flex; align-items: center; gap: 10px; }
.admin-user-avatar { display: inline-flex; align-items: center; justify-content: center; width: 31px; height: 31px; border: 1px solid #d9e1ff; border-radius: 7px; color: #355cff; background: #eef2ff; font-size: 12px; font-weight: 700; }
.admin-signed-in-user { max-width: 150px; overflow: hidden; color: var(--body); font-size: 12px; text-overflow: ellipsis; white-space: nowrap; }
.admin-topbar-account form { margin-left: 9px; padding-left: 17px; border-left: 1px solid var(--line); }
.admin-topbar-account button { display: inline-flex; align-items: center; justify-content: center; gap: 9px; min-height: 36px; padding: 6px 0; border: 0; background: none; color: var(--muted); font-size: 11px; cursor: pointer; }
.admin-topbar-account button:hover { color: var(--forest); }
.admin-topbar-account button svg { width: 16px; height: 16px; }
.admin-workspace-page .admin-main { width: auto; max-width: 1512px; min-height: calc(100vh - 160px); margin: 0 0 0 var(--sidebar-width); padding: 34px 36px 48px; }
.admin-workspace-page .admin-workspace-footer { width: auto; margin: 0 36px 0 calc(var(--sidebar-width) + 36px); padding-block: 20px; border-top: 1px solid var(--line); color: #7a879b; font-size: 10px; }
.admin-live-status { margin: 0 0 18px; padding: 10px 13px; border: 1px solid #f0debd; border-radius: 6px; color: #886025; background: #fff9ec; font-size: 11px; line-height: 1.6; }
.admin-heading { display: flex; align-items: center; justify-content: space-between; gap: 25px; margin-bottom: 27px; }
.admin-heading .eyebrow { margin: 0 0 9px; color: #6f7f99; font-size: 9px; font-weight: 650; letter-spacing: 1.55px; }
.admin-heading h1 { margin: 0; color: var(--ink); font-size: clamp(29px, 2.6vw, 36px); font-weight: 700; line-height: 1.2; letter-spacing: -1.25px; }
.admin-heading p:not(.eyebrow) { margin-top: 10px; color: var(--muted); font-size: 12px; line-height: 1.75; }
.admin-button { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 43px; padding: 10px 16px; border: 1px solid transparent; border-radius: 6px; font: 600 12px/1.5 var(--sans); text-align: center; text-decoration: none; cursor: pointer; transition: background 150ms ease, border-color 150ms ease; }
.admin-button-primary { color: #fff; background: #355cff; box-shadow: 0 3px 7px #355cff12; }
.admin-button-primary:hover:not(:disabled) { background: #2448df; }
.admin-button-secondary { border-color: #dbe2ed; color: #40506a; background: #fff; }
.admin-button-secondary:hover:not(:disabled):not([aria-disabled]) { border-color: #b9c8ec; background: #f5f7fc; color: #355cff; }
.admin-button:disabled, .admin-button[aria-disabled] { opacity: .5; cursor: not-allowed; }
.admin-button-primary > span { font-size: 16px; line-height: 1; }
.admin-feedback { margin: 0 0 22px; padding: 13px 16px; border: 1px solid #cde7e0; border-radius: 7px; font-size: 12px; line-height: 1.7; overflow-wrap: anywhere; }
.admin-feedback-success { border-color: #c9e8de; color: #267261; background: #effaf6; }
.admin-feedback-error { border-color: #f1d6d9; color: #a23d49; background: #fff2f4; }
.admin-feedback-warning { border-color: #eddfc5; color: #8b662d; background: #fff9ef; }
.admin-kicker { margin: 0 0 7px; color: #6f7f99; font-size: 9px; font-weight: 650; line-height: 1.6; letter-spacing: 1.35px; }

/* Overview and link creation */
.admin-metrics { display: grid; grid-template-columns: 1.3fr 1fr 1fr; gap: 17px; margin-bottom: 26px; }
.admin-metric { position: relative; min-width: 0; padding: 24px; border: 1px solid var(--line); border-radius: 9px; background: #fff; }
.admin-metric:first-child { border-color: #0b1428; background: #0b1428; }
.admin-metric > p { position: relative; z-index: 1; margin-bottom: 20px; padding-right: 28px; color: var(--muted); font-size: 11px; font-weight: 500; }
.admin-metric > strong { display: block; color: var(--ink); font-size: 35px; font-weight: 700; line-height: 1.15; letter-spacing: -1.3px; font-variant-numeric: tabular-nums; overflow-wrap: anywhere; }
.admin-metric > strong.admin-metric-money { font-size: clamp(22px, 2.5vw, 32px); line-height: 1.25; letter-spacing: -1px; }
.admin-metric > span:last-child { display: block; margin-top: 12px; color: #8b98ab; font-size: 10px; line-height: 1.6; }
.admin-metric-icon { position: absolute; top: 20px; right: 20px; display: inline-flex; align-items: center; justify-content: center; width: 30px; height: 30px; border-radius: 7px; color: #375cdd; background: #edf1ff; font-size: 18px; }
.admin-metric:first-child > p { color: #bcc9e2; }
.admin-metric:first-child > strong { color: #fff; }
.admin-metric:first-child > span:last-child { color: #8595b3; }
.admin-metric:first-child .admin-metric-icon { color: #b8c7ff; background: #1e2c4a; }
.admin-metric:nth-child(2) .admin-metric-icon { color: #238976; background: #e9f7f3; }
.admin-metric:nth-child(3) .admin-metric-icon { color: #bd5966; background: #fff0f2; }
.admin-create-card { display: grid; grid-template-columns: minmax(180px, 1fr) minmax(0, 1.2fr); align-items: center; gap: 32px; padding: 25px 28px; border: 1px solid var(--line); border-left: 3px solid #355cff; border-radius: 8px; background: #fff; scroll-margin-top: 96px; }
.admin-create-intro h2 { color: var(--ink); font-size: 20px; font-weight: 650; line-height: 1.4; letter-spacing: -.6px; }
.admin-create-intro > p:last-child { margin-top: 6px; color: var(--muted); font-size: 11px; line-height: 1.7; }
.admin-create-form { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: start; gap: 12px; min-width: 0; }
.admin-create-form > .admin-button { min-height: 44px; margin-top: 25px; }
.admin-form-field { min-width: 0; }
.admin-form-field label { display: block; margin: 0 0 8px; color: #40506a; font-size: 11px; font-weight: 600; line-height: 1.5; }
.admin-form-field label > span { color: #8693a6; font-weight: 400; }
.admin-form-field input, .admin-form-field select, .admin-form-field textarea { width: 100%; min-width: 0; min-height: 44px; padding: 11px 12px; border: 1px solid #dbe2ed; border-radius: 6px; background: #fff; color: var(--ink); font: 450 12px/1.6 var(--sans); transition: border-color 150ms ease; }
.admin-form-field input:hover, .admin-form-field select:hover, .admin-form-field textarea:hover { border-color: #b9c7df; }
.admin-form-field input::placeholder, .admin-form-field textarea::placeholder { color: #98a3b4; opacity: 1; }
.admin-form-field select { padding-right: 28px; }
.admin-form-field textarea { resize: vertical; }
.admin-form-field small { display: block; margin-top: 6px; color: #8a97aa; font-size: 9px; line-height: 1.65; }
.admin-amount-input { display: flex; align-items: center; min-width: 0; border: 1px solid #dbe2ed; border-radius: 6px; background: #fff; }
.admin-amount-input:focus-within { border-color: #829aff; }
.admin-amount-input input { flex: 1; width: 0; border: 0; background: transparent; }
.admin-amount-input > span { flex: 0 0 auto; margin-right: 12px; color: #667894; font-size: 10px; font-weight: 650; }
.admin-generated-card { margin-top: 18px; padding: 25px 28px; border: 1px solid #cad5fc; border-radius: 8px; background: #edf2ff; }
.admin-section-heading { display: flex; align-items: center; justify-content: space-between; gap: 20px; margin-bottom: 21px; }
.admin-section-heading h2 { color: var(--ink); font-size: 21px; font-weight: 650; line-height: 1.4; letter-spacing: -.65px; }
.admin-generated-url { display: flex; gap: 12px; min-width: 0; }
.admin-generated-url input { flex: 1; width: 0; min-width: 0; padding: 12px; border: 1px solid #d2dbf8; border-radius: 6px; color: #3450a2; background: #fff; font: 11px/1.7 ui-monospace, SFMono-Regular, Consolas, monospace; }
.admin-generated-guide { margin-top: 10px; color: #526a9b; font-size: 11px; }
.admin-generated-meta { margin-top: 8px; color: #7284a5; font-size: 10px; line-height: 1.8; overflow-wrap: anywhere; }
.admin-generated-meta > span { margin-inline: 7px; }
.admin-json-details { margin-top: 17px; padding-top: 15px; border-top: 1px solid #d5def7; }
.admin-json-details summary { width: fit-content; color: #476193; font-size: 11px; cursor: pointer; }
.admin-json-details pre { margin-block: 12px; padding: 16px; border: 1px solid #d6dff6; border-radius: 6px; color: #567092; background: #fff; font: 11px/1.8 ui-monospace, SFMono-Regular, Consolas, monospace; white-space: pre-wrap; overflow-wrap: anywhere; }
.admin-json-details .admin-button { min-height: 34px; padding: 6px 12px; font-size: 10px; }
.admin-payments-section { margin-top: 32px; padding: 26px 24px 20px; border: 1px solid var(--line); border-radius: 9px; background: #fff; }
#payments-heading { scroll-margin-top: 100px; }
.admin-page-count { color: #8b98ab; font-size: 11px; white-space: nowrap; }
.admin-page-count > span { margin-inline: 7px; color: #c1cad8; }
.admin-filters { display: grid; grid-template-columns: minmax(145px, 1.4fr) minmax(120px, 1fr) minmax(105px, .9fr) minmax(120px, 1fr) auto auto; align-items: end; gap: 10px; margin-bottom: 24px; }
.admin-filters .admin-button { min-height: 44px; padding-inline: 15px; }
.admin-clear-filters { display: inline-flex; align-items: center; justify-content: center; min-height: 44px; padding-inline: 2px; color: #7a8ba5; font-size: 11px; text-decoration: underline; text-underline-offset: 4px; }
.admin-table-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: 7px; }
.admin-payment-table { width: 100%; min-width: 920px; table-layout: fixed; border-collapse: collapse; text-align: left; }
.admin-payment-table th { padding: 13px 12px; border-bottom: 1px solid var(--line); color: #7f8da4; background: #f7f9fc; font-size: 9px; font-weight: 650; letter-spacing: .2px; line-height: 1.6; }
.admin-payment-table th:nth-child(1) { width: 24%; }
.admin-payment-table th:nth-child(2) { width: 17%; }
.admin-payment-table th:nth-child(3) { width: 15%; }
.admin-payment-table th:nth-child(4) { width: 10%; }
.admin-payment-table th:nth-child(5) { width: 14%; }
.admin-payment-table th:nth-child(6) { width: 15%; }
.admin-payment-table th:nth-child(7) { width: 5%; }
.admin-payment-table td { padding: 19px 12px; border-bottom: 1px solid #edf0f5; color: #5c6d87; font-size: 10px; line-height: 1.65; vertical-align: middle; overflow-wrap: anywhere; }
.admin-payment-table tbody tr:last-child td { border-bottom: 0; }
.admin-payment-table tbody tr:hover { background: #fafbff; }
.admin-customer-cell > a:hover { text-decoration: underline; text-underline-offset: 3px; }
.admin-customer-cell strong { color: #23334e; font-size: 11px; font-weight: 650; }
.admin-amount-cell > small, .admin-customer-cell > small { display: block; margin-top: 5px; color: #99a4b5; font-size: 9px; font-weight: 400; line-height: 1.65; }
.admin-payment-table td.admin-amount-cell { color: #2c4163; font-weight: 650; font-variant-numeric: tabular-nums; }
.admin-badge { display: inline-flex; align-items: center; min-height: 25px; padding: 4px 8px; border: 1px solid transparent; border-radius: 5px; color: #7b8ba5; background: #f0f3f8; font-size: 9px; font-weight: 550; line-height: 1.5; }
.admin-badge[data-status="approved"] { color: #27836f; background: #eaf7f2; }
.admin-badge[data-status="pending"] { color: #9a7731; background: #fff6df; }
.admin-badge[data-status="processing"] { color: #526dc3; background: #edf1ff; }
.admin-badge[data-status="rejected"] { color: #b34b5b; background: #fff0f2; }
.admin-badge[data-status="review_required"] { color: #8d64a5; background: #f6effb; }
.admin-receipt-link { color: #4266ba; font-size: 10px; white-space: nowrap; }
.admin-receipt-link > span { margin-right: 4px; }
.admin-muted { color: #9aa6b9; font-size: 10px; }
.admin-review-label { display: inline-flex; align-items: center; gap: 6px; color: #8290a7; font-size: 10px; }
.admin-review-label > span { flex: 0 0 auto; width: 5px; height: 5px; border-radius: 50%; background: #bdc7d7; }
.admin-review-label[data-review="accepted"] > span { background: #38a88c; }
.admin-review-label[data-review="flagged"] > span { background: #d2a453; }
.admin-payment-table td.admin-date-cell { color: #8d9bb0; font-size: 9px; }
.admin-row-action > a { display: inline-flex; align-items: center; justify-content: center; gap: 9px; min-width: 28px; min-height: 34px; color: #5e7bd4; font-size: 18px; }
.admin-row-action-text { display: none; }
.admin-empty-state { padding: 45px 20px; border: 1px dashed #d8e1ef; border-radius: 7px; background: #fafbfe; text-align: center; }
.admin-empty-icon { display: inline-flex; align-items: center; justify-content: center; width: 43px; height: 43px; margin-bottom: 15px; border: 1px solid #dce5ff; border-radius: 9px; color: #7590e7; background: #f0f4ff; font-size: 24px; }
.admin-empty-state h3 { color: var(--ink); font-size: 20px; font-weight: 650; letter-spacing: -.5px; }
.admin-empty-state p { margin: 9px 0 20px; color: #8595ad; font-size: 12px; line-height: 1.8; }
.admin-pagination { display: flex; align-items: center; justify-content: space-between; gap: 20px; margin-top: 18px; }
.admin-pagination > p { max-width: 390px; color: #8b9ab0; font-size: 9px; line-height: 1.8; }
.admin-pagination > p > span { display: block; }
.admin-pagination nav { display: flex; align-items: center; gap: 8px; }
.admin-pagination .admin-button { min-height: 34px; padding: 7px 11px; font-size: 10px; white-space: nowrap; }
.admin-pagination-current { padding-inline: 3px; color: #7d8ca5; font-size: 10px; white-space: nowrap; }

/* Payment details, supporting files and the review ledger */
.admin-back-link { display: inline-flex; align-items: center; min-height: 30px; margin-bottom: 16px; color: #7386a7; font-size: 11px; }
.admin-back-link:hover { color: #355cff; }
.admin-detail-heading { align-items: flex-start; margin-bottom: 24px; }
.admin-detail-reference { max-width: 680px; font-family: ui-monospace, SFMono-Regular, Consolas, monospace; font-size: 10px !important; overflow-wrap: anywhere; }
.admin-detail-heading-actions { display: flex; align-items: center; justify-content: flex-end; flex-wrap: wrap; gap: 10px; padding-top: 9px; }
.admin-detail-heading-actions .admin-badge { min-height: 30px; font-size: 10px; }
.admin-detail-heading-actions .admin-button { min-height: 39px; font-size: 11px; }
.admin-detail-grid { display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(270px, .9fr); align-items: start; gap: 20px; }
.admin-detail-main, .admin-detail-sidebar { display: grid; gap: 20px; min-width: 0; }
.admin-panel { min-width: 0; padding: 26px; border: 1px solid var(--line); border-radius: 9px; background: #fff; }
.admin-panel-heading { margin-bottom: 20px; }
.admin-panel-heading h2 { color: var(--ink); font-size: 20px; font-weight: 650; line-height: 1.4; letter-spacing: -.65px; }
.admin-panel-heading-row { display: flex; align-items: center; justify-content: space-between; gap: 15px; }
.admin-detail-amount { padding: 21px; border: 1px solid #e0e6f8; border-radius: 7px; background: #f3f6ff; }
.admin-detail-amount > span { display: block; margin-bottom: 11px; color: #7b8fb7; font-size: 10px; }
.admin-detail-amount > strong { display: block; color: #2f4e9f; font-size: clamp(24px, 2.7vw, 34px); font-weight: 650; letter-spacing: -1.2px; font-variant-numeric: tabular-nums; overflow-wrap: anywhere; }
.admin-detail-amount > small { display: block; margin-top: 9px; color: #8b9dbd; font-size: 9px; }
.admin-detail-list { margin: 17px 0 0; }
.admin-detail-list > div { display: grid; grid-template-columns: minmax(110px, .8fr) minmax(0, 1.25fr); align-items: start; gap: 16px; padding: 13px 0; border-bottom: 1px solid #edf0f5; }
.admin-detail-list > div:last-child { padding-bottom: 0; border: 0; }
.admin-detail-list dt { color: #8593aa; font-size: 10px; line-height: 1.7; }
.admin-detail-list dd { color: #425673; font-size: 11px; line-height: 1.7; overflow-wrap: anywhere; }
.admin-monospace { font-family: ui-monospace, SFMono-Regular, Consolas, monospace; font-size: 10px !important; }
.admin-empty-copy, .admin-panel-copy { color: #7f8ea6; font-size: 11px; line-height: 1.85; }
.admin-panel-note { margin-top: 14px; color: #98a5b9; font-size: 9px; line-height: 1.8; }
.admin-panel > .admin-feedback { margin-bottom: 0; }
.admin-empty-receipt { padding: 24px 18px; border: 1px dashed #d9e2f0; border-radius: 7px; background: #fafcff; text-align: center; }
.admin-empty-receipt > span { display: block; margin-bottom: 10px; color: #8ca3d3; font-size: 29px; }
.admin-empty-receipt > strong { display: block; color: #5c7193; font-size: 12px; font-weight: 600; }
.admin-empty-receipt > p { margin-top: 7px; color: #98a6bc; font-size: 10px; }
.admin-file-type { padding: 6px 9px; border: 1px solid #dce4f3; border-radius: 5px; color: #7b8fad; background: #f5f8ff; font-size: 9px; font-weight: 650; }
.admin-receipt-preview { display: flex; align-items: center; justify-content: center; min-height: 150px; max-height: 420px; margin-top: 8px; overflow: hidden; border: 1px solid #e0e6f0; border-radius: 7px; background: #f3f6fb; }
.admin-receipt-preview img { display: block; max-width: 100%; max-height: 420px; object-fit: contain; }
.admin-receipt-preview iframe { display: block; width: 100%; height: 390px; border: 0; }
.admin-receipt-pdf { flex-direction: column; gap: 10px; min-height: 190px; padding: 25px; color: #7e94b8; }
.admin-receipt-pdf > svg { width: 43px; height: 43px; }
.admin-receipt-pdf > strong { color: #506d9c; font-size: 12px; font-weight: 600; }
.admin-receipt-pdf > span { color: #92a4bf; font-size: 10px; }
.admin-receipt-pdf > div { display: flex; flex-direction: column; align-items: center; gap: 9px; padding: 24px; font-size: 11px; text-align: center; }
.admin-receipt-pdf > div > span { color: #5e7fc7; font-size: 25px; }
.admin-receipt-metadata { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 15px; margin-top: 15px; }
.admin-receipt-metadata strong { display: block; color: #586f92; font-size: 11px; font-weight: 550; overflow-wrap: anywhere; }
.admin-receipt-metadata small { display: block; margin-top: 5px; color: #9aa9bf; font-size: 9px; }
.admin-receipt-actions { display: flex; flex-wrap: wrap; gap: 7px; }
.admin-receipt-actions .admin-button { min-height: 34px; padding: 7px 10px; font-size: 10px; }
.admin-review-panel { border-top: 3px solid #355cff; padding-top: 24px; }
.admin-review-panel form { display: grid; gap: 17px; margin-top: 20px; }
.admin-review-panel .admin-button { width: 100%; margin-top: 1px; }
.admin-activity-list { list-style: none; margin: 0; padding: 0; }
.admin-activity-list > li { position: relative; display: grid; grid-template-columns: 10px minmax(0, 1fr); gap: 12px; padding-bottom: 24px; }
.admin-activity-list > li::before { position: absolute; top: 12px; bottom: 0; left: 4px; width: 1px; background: #e3e9f3; content: ''; }
.admin-activity-list > li:last-child { padding-bottom: 0; }
.admin-activity-list > li:last-child::before { display: none; }
.admin-activity-dot { z-index: 1; width: 9px; height: 9px; margin-top: 5px; border: 2px solid #a7baf1; border-radius: 50%; background: #fff; }
.admin-activity-list strong { display: block; color: #556c8f; font-size: 11px; font-weight: 600; line-height: 1.8; }
.admin-activity-list time { display: block; margin-top: 3px; color: #9aa8bd; font-size: 9px; line-height: 1.7; }
.admin-event-details { margin-top: 8px; }
.admin-event-details summary { color: #7b90b5; font-size: 9px; cursor: pointer; }
.admin-event-details dl { margin-top: 10px; padding: 11px; border: 1px solid #e5ebf5; border-radius: 6px; background: #f8faff; }
.admin-event-details dl > div + div { margin-top: 10px; }
.admin-event-details dt { color: #97a7bf; font-size: 9px; }
.admin-event-details dd { margin-top: 3px; color: #6b80a2; font-size: 10px; overflow-wrap: anywhere; }
.admin-provider-response-list { display: grid; gap: 10px; margin: 17px 0 0; padding: 0; list-style: none; }
.admin-provider-response { overflow: hidden; border: 1px solid #e0e6f1; border-radius: 6px; background: #fff; }
.admin-provider-response > summary { display: flex; align-items: center; justify-content: space-between; gap: 14px; padding: 15px; color: #586f95; background: #f9fbfe; list-style: none; cursor: pointer; }
.admin-provider-response > summary::-webkit-details-marker { display: none; }
.admin-provider-response > summary::after { content: '+'; flex: 0 0 auto; color: #8199c8; font-size: 18px; }
.admin-provider-response[open] > summary::after { content: '−'; }
.admin-provider-response-title { display: grid; gap: 4px; flex: 1; min-width: 0; }
.admin-provider-response-title strong { color: #5973a0; font-size: 10px; font-weight: 600; overflow-wrap: anywhere; }
.admin-provider-response-title time { color: #a0aec3; font-size: 9px; }
.admin-provider-response-status { color: #7e93b4; font-size: 10px; text-align: right; }
.admin-provider-response-status small { display: block; margin-top: 4px; font-size: 9px; }
.admin-provider-response-body { padding: 0 16px 17px; border-top: 1px solid #e5eaf3; }
.admin-provider-response-body .admin-detail-list > div { grid-template-columns: minmax(95px, .7fr) minmax(0, 1.4fr); }
.admin-provider-json { max-height: 420px; margin: 18px 0 0; padding: 17px; overflow: auto; border: 1px solid #24314d; border-radius: 5px; color: #b6c8eb; background: #101d35; font: 10px/1.85 ui-monospace, SFMono-Regular, Consolas, monospace; white-space: pre-wrap; overflow-wrap: anywhere; }
.admin-provider-json code { font: inherit; }
.admin-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; }
.admin-toast { position: fixed; z-index: 80; right: 24px; bottom: 24px; max-width: min(400px, calc(100vw - 48px)); padding: 13px 18px; border: 1px solid #2b3c60; border-radius: 7px; color: #fff; background: #11213d; box-shadow: 0 7px 25px #0b14282b; font-size: 12px; line-height: 1.6; }
.admin-copy-buffer { position: fixed; left: -10000px; top: 0; }

/* Sign in: a focused entry point, distinct from the payment workspace. */
.admin-login-page { min-height: 100vh; background: #0b1428; background-image: radial-gradient(ellipse at 50% 30%, #1d3157 0, transparent 62%); }
.admin-login-page .site-header { width: calc(100% - 100px); max-width: none; height: 93px; border-color: #24314a; }
.admin-login-page .brand-wordmark { color: #fff; }
.admin-login-page .brand-wordmark > span { color: #8ca5ff; }
.admin-login-page .utility-header-label { color: #667c9f; }
.admin-login-page .admin-main { display: flex; align-items: center; justify-content: center; width: calc(100% - 40px); min-height: calc(100vh - 178px); padding-block: 50px 64px; }
.admin-login-layout { width: 416px; max-width: 100%; }
.admin-login-caption { display: flex; align-items: center; justify-content: center; gap: 9px; margin-bottom: 23px; color: #8da2c8; font-size: 9px; font-weight: 600; letter-spacing: 1.7px; }
.admin-login-caption > span { width: 5px; height: 5px; background: #6d8cff; }
.admin-login-card { padding: 33px 35px 25px; border: 1px solid #e0e5ef; border-radius: 11px; background: #fff; box-shadow: 0 25px 70px #0002; }
.admin-login-symbol { display: inline-flex; align-items: center; justify-content: center; width: 47px; height: 47px; margin-bottom: 21px; border: 1px solid #dfe6ff; border-radius: 9px; color: #355cff; background: #f0f4ff; }
.admin-login-symbol svg { width: 29px; height: 29px; }
.admin-login-page .admin-login-card > h1 { margin: 0 0 10px; font-size: 26px; font-weight: 700; letter-spacing: -.9px; }
.admin-login-card > p:not(.eyebrow):not(.admin-login-footnote) { margin-bottom: 24px; color: #8a98ac; font-size: 12px; line-height: 1.8; }
.admin-login-card form { display: grid; gap: 20px; }
.admin-login-card .admin-form-field input { min-height: 47px; }
.admin-login-card form > .admin-button { justify-content: space-between; width: 100%; margin-top: 3px; padding-inline: 16px; min-height: 47px; }
.admin-login-card > p.admin-login-footnote { display: flex; align-items: center; justify-content: center; gap: 7px; margin: 24px 0 0; padding-top: 20px; border-top: 1px solid #edf0f5; color: #9ba8bc; font-size: 9px; line-height: 1.7; }
.admin-login-footnote svg { width: 14px; height: 14px; flex: 0 0 auto; }
.admin-login-tagline { margin-top: 23px; color: #637d9f; font-size: 11px; text-align: center; }
.admin-login-page .page-footer { width: calc(100% - 100px); max-width: none; padding-block: 20px; border-top: 1px solid #24314a; color: #607595; font-size: 9px; }
.generator-card { max-width: 790px; margin: auto; }
.utility-success-mark, .utility-notice-mark { display: inline-flex; align-items: center; justify-content: center; width: 45px; height: 45px; border: 1px solid #d7e2ff; border-radius: 9px; color: #355cff; background: #eff3ff; }
.utility-success-mark svg { width: 24px; height: 24px; }
.utility-notice-mark { font-size: 22px; font-weight: 600; }
.utility-card > h1 { margin: 12px 0 16px; font-size: clamp(28px, 3.5vw, 39px); font-weight: 700; line-height: 1.2; letter-spacing: -1.3px; }
.utility-card > p:not(.eyebrow) { color: #7b8ca5; font-size: 13px; line-height: 1.9; }
.utility-label { display: block; margin: 26px 0 10px; color: #52698b; font-size: 11px; font-weight: 600; }
.copy-row { display: flex; gap: 10px; }
.copy-row input { flex: 1; min-width: 0; padding: 12px; border: 1px solid #d9e1ef; border-radius: 6px; color: #486496; background: #f9fbff; font: 12px/1.7 ui-monospace, SFMono-Regular, Consolas, monospace; }
.copy-row .button { flex: 0 0 auto; min-height: 46px; padding-inline: 20px; border-radius: 6px; font-size: 12px; }
.utility-card > p.utility-feedback { min-height: 20px; margin: 9px 0 16px; color: #486cc7; font-size: 11px; }
.notice-card { max-width: 590px; margin: 24px auto 70px; }

/* Tablet and mobile keep the same actions without a hidden navigation layer. */
@media (max-width: 1250px) {
  .admin-workspace-page .admin-main { padding-inline: 27px; }
  .admin-workspace-page .admin-workspace-footer { margin-left: calc(var(--sidebar-width) + 27px); margin-right: 27px; }
  .admin-topbar { padding-inline: 27px; }
  .admin-filters { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .admin-filters .admin-search-field { grid-column: span 2; }
  .admin-filters .admin-clear-filters { justify-content: flex-start; }
  .admin-detail-grid { grid-template-columns: minmax(0, 1fr) minmax(255px, .75fr); gap: 17px; }
  .admin-panel { padding: 23px; }
  .admin-metric { padding: 21px; }
  .admin-metric-icon { right: 17px; }
}
@media (max-width: 1000px) {
  .admin-workspace-page { --sidebar-width: 198px; }
  .admin-sidebar { padding-inline: 12px; }
  .admin-sidebar .admin-brand { margin-inline: 8px; }
  .admin-sidebar .brand-wordmark { font-size: 23px; }
  .admin-sidebar .brand-mark { width: 29px; height: 29px; }
  .admin-side-nav > a { padding-inline: 10px; font-size: 11px; }
  .admin-metrics { gap: 12px; grid-template-columns: 1.2fr 1fr 1fr; }
  .admin-metric { padding: 20px 16px; }
  .admin-metric > p { font-size: 10px; }
  .admin-metric-icon { top: 17px; right: 13px; width: 24px; height: 24px; font-size: 16px; }
  .admin-metric > strong { font-size: 30px; }
  .admin-metric > strong.admin-metric-money { font-size: 23px; }
  .admin-metric > span:last-child { font-size: 9px; }
  .admin-create-card { grid-template-columns: 1fr; gap: 20px; }
  .admin-detail-grid { grid-template-columns: minmax(0, 1fr); }
  .admin-detail-heading { display: block; }
  .admin-detail-heading-actions { justify-content: flex-start; margin-top: 12px; }
  .admin-pagination { align-items: flex-start; flex-direction: column; gap: 13px; }
  .admin-pagination > p { max-width: none; }
}
@media (max-width: 800px) {
  .admin-workspace-page { --sidebar-width: 0px; }
  .admin-sidebar { position: static; width: 100%; padding: 20px 22px 0; }
  .admin-sidebar .admin-brand { margin: 0 0 22px; }
  .admin-sidebar .brand-wordmark { font-size: 25px; }
  .admin-sidebar .brand-mark { width: 31px; height: 31px; }
  .admin-nav-label, .admin-sidebar-note, .admin-sidebar-caption, .admin-sidebar-foot { display: none; }
  .admin-side-nav { display: grid; grid-template-columns: .8fr 1.2fr 1fr; gap: 8px; padding-bottom: 16px; }
  .admin-side-nav > a { justify-content: center; gap: 8px; min-height: 42px; padding: 9px; font-size: 11px; }
  .admin-side-nav > a svg { width: 15px; height: 15px; }
  .admin-topbar { position: static; height: 61px; margin-left: 0; padding-inline: 23px; }
  .admin-topbar-account { gap: 8px; }
  .admin-workspace-page .admin-main { margin-left: 0; padding: 28px 23px 38px; }
  .admin-workspace-page .admin-workspace-footer { margin-inline: 23px; }
  .admin-metric > strong.admin-metric-money { font-size: 25px; }
  .admin-heading > .admin-button { padding-inline: 13px; font-size: 11px; }
  .admin-payments-section { padding: 24px 20px 20px; }
  .utility-main { padding-block: 32px 50px; }
  .utility-card { padding: 30px; }
  .utility-header-label { font-size: 9px; letter-spacing: .8px; }
  .admin-login-page .site-header, .admin-login-page .page-footer { width: calc(100% - 48px); }
}
@media (max-width: 600px) {
  .admin-sidebar { padding: 21px 18px 0; }
  .admin-sidebar .admin-brand { margin-bottom: 20px; }
  .admin-side-nav { gap: 7px; grid-template-columns: .8fr 1.25fr 1fr; }
  .admin-side-nav > a { min-height: 43px; padding: 8px 6px; font-size: 10px; line-height: 1.55; }
  .admin-side-nav > a svg { display: none; }
  .admin-side-nav > a:last-child span { max-width: 75px; }
  .admin-topbar { height: 58px; padding-inline: 19px; }
  .admin-breadcrumb { gap: 8px; font-size: 10px; }
  .admin-breadcrumb > span:first-child { display: none; }
  .admin-breadcrumb > span:nth-child(2) { display: none; }
  .admin-signed-in-user { max-width: 87px; font-size: 10px; }
  .admin-user-avatar { width: 26px; height: 26px; font-size: 10px; }
  .admin-topbar-account form { margin-left: 1px; padding-left: 10px; }
  .admin-topbar-account button { gap: 5px; font-size: 10px; }
  .admin-workspace-page .admin-main { padding: 26px 18px 35px; }
  .admin-heading { align-items: flex-start; flex-direction: column; gap: 17px; margin-bottom: 23px; }
  .admin-heading h1 { font-size: 30px; }
  .admin-heading p:not(.eyebrow) { font-size: 11px; }
  .admin-heading > .admin-button { width: 100%; }
  .admin-metrics { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 11px; margin-bottom: 20px; }
  .admin-metric { padding: 20px 16px 17px; }
  .admin-metric:first-child { grid-column: 1 / -1; padding: 22px; }
  .admin-metric:first-child > p { margin-bottom: 14px; }
  .admin-metric:first-child > strong.admin-metric-money { font-size: 29px; }
  .admin-metric:first-child .admin-metric-icon { top: 21px; right: 21px; width: 31px; height: 31px; font-size: 20px; }
  .admin-metric > p { margin-bottom: 16px; font-size: 9px; }
  .admin-metric > strong { font-size: 29px; }
  .admin-metric > span:last-child { font-size: 8px; }
  .admin-metric-icon { width: 21px; height: 21px; top: 16px; right: 12px; font-size: 14px; }
  .admin-create-card { padding: 23px 20px; gap: 20px; scroll-margin-top: 18px; }
  .admin-create-form { grid-template-columns: 1fr; gap: 14px; }
  .admin-create-form > .admin-button { width: 100%; margin-top: 0; }
  .admin-create-intro h2 { font-size: 20px; }
  .admin-form-field input, .admin-form-field select, .admin-form-field textarea { font-size: 16px; }
  .admin-form-field label { font-size: 10px; }
  .admin-form-field small { font-size: 9px; }
  .admin-generated-card { padding: 22px 20px; }
  .admin-generated-url { flex-direction: column; gap: 10px; }
  .admin-generated-url input { width: 100%; min-height: 45px; }
  .admin-section-heading { align-items: flex-start; gap: 10px; margin-bottom: 20px; }
  .admin-section-heading h2 { font-size: 21px; }
  .admin-page-count { padding-top: 4px; font-size: 9px; }
  .admin-payments-section { margin-top: 25px; padding: 23px 16px 19px; }
  .admin-filters { grid-template-columns: 1fr 1fr; gap: 13px 10px; margin-bottom: 22px; }
  .admin-filters .admin-search-field { grid-column: 1 / -1; }
  .admin-filters .admin-button { min-height: 45px; font-size: 11px; }
  .admin-filters .admin-clear-filters { justify-content: center; }
  .admin-table-wrap { overflow: visible; border: 0; }
  .admin-payment-table { display: block; min-width: 0; }
  .admin-payment-table thead { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0, 0, 0, 0); }
  .admin-payment-table tbody { display: grid; gap: 14px; }
  .admin-payment-table tr { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); column-gap: 15px; padding: 0 16px; border: 1px solid var(--line); border-radius: 7px; background: #fff; }
  .admin-payment-table td { min-width: 0; padding: 14px 0; border-bottom: 1px solid #edf0f6 !important; font-size: 10px; }
  .admin-payment-table td::before { display: block; margin-bottom: 7px; color: #97a5bb; font-size: 9px; font-weight: 400; content: attr(data-label); }
  .admin-payment-table td.admin-customer-cell { grid-column: 1 / -1; padding-top: 16px; }
  .admin-customer-cell strong { font-size: 12px; }
  .admin-customer-cell > small { margin-top: 3px; font-size: 10px; }
  .admin-customer-cell::before { display: none !important; }
  .admin-payment-table td.admin-amount-cell { font-size: 11px; }
  .admin-payment-table td.admin-date-cell { grid-column: 1 / -1; }
  .admin-payment-table td.admin-row-action { grid-column: 1 / -1; padding-block: 12px; border: 0 !important; }
  .admin-row-action::before { display: none !important; }
  .admin-row-action > a { display: flex; justify-content: space-between; width: 100%; min-height: 23px; color: #355cff; font-size: 17px; }
  .admin-row-action-text { display: inline; font-size: 10px; font-weight: 600; }
  .admin-pagination { margin-top: 17px; gap: 17px; }
  .admin-pagination nav { justify-content: space-between; width: 100%; gap: 5px; }
  .admin-pagination .admin-button { padding-inline: 10px; }
  .admin-back-link { margin-bottom: 14px; }
  .admin-detail-heading { display: block; }
  .admin-detail-heading-actions { gap: 8px; margin-top: 15px; }
  .admin-detail-heading-actions .admin-button { padding-inline: 12px; font-size: 10px; }
  .admin-detail-reference { font-size: 10px !important; line-height: 1.9 !important; }
  .admin-detail-grid, .admin-detail-main, .admin-detail-sidebar { gap: 17px; }
  .admin-panel { padding: 22px 20px; }
  .admin-panel-heading h2 { font-size: 20px; }
  .admin-detail-list > div { grid-template-columns: minmax(88px, .85fr) minmax(0, 1.2fr); gap: 14px; }
  .admin-detail-list dt { font-size: 9px; }
  .admin-detail-list dd { font-size: 10px; }
  .admin-detail-amount { padding: 19px; }
  .admin-detail-amount > strong { font-size: 28px; }
  .admin-provider-response > summary { gap: 8px; padding-inline: 12px; }
  .admin-provider-response-status { font-size: 9px; }
  .admin-provider-response-status small { font-size: 8px; }
  .admin-provider-response-body { padding-inline: 12px; }
  .admin-provider-json { padding: 13px; font-size: 9px; }
  .admin-review-panel { padding-top: 20px; }
  .admin-workspace-page .admin-workspace-footer { justify-content: space-between; gap: 10px; margin-inline: 18px; font-size: 9px; }
  .admin-workspace-footer > span:nth-child(2) { display: none; }
  .utility-page .site-header { height: 79px; }
  .utility-page .brand-wordmark { font-size: 24px; }
  .utility-header-label { display: none; }
  .utility-main { padding-block: 26px 40px; }
  .utility-card { padding: 26px 23px; border-radius: 9px; }
  .copy-row { flex-direction: column; }
  .copy-row input { width: 100%; min-height: 47px; font-size: 11px; }
  .generator-summary { grid-template-columns: 1fr; gap: 19px; }
  .json-response { padding: 16px; font-size: 10px; }
  .utility-card > h1 { font-size: 30px; }
  .utility-card > p:not(.eyebrow) { font-size: 12px; }
  .utility-page .page-footer { flex-wrap: wrap; justify-content: space-between; gap: 13px; font-size: 9px; }
  .utility-page .page-footer > span:nth-child(2) { display: none; }
  .admin-login-page .site-header { width: calc(100% - 42px); height: 80px; }
  .admin-login-page .admin-main { width: calc(100% - 38px); min-height: calc(100vh - 160px); padding-block: 40px 48px; }
  .admin-login-caption { font-size: 8px; letter-spacing: 1.3px; }
  .admin-login-card { padding: 29px 25px 23px; }
  .admin-login-page .admin-login-card > h1 { margin: 0 0 10px; font-size: 26px; }
  .admin-login-card form { gap: 18px; }
  .admin-login-card > p.admin-login-footnote { font-size: 8px; }
  .admin-login-page .page-footer { width: calc(100% - 42px); padding-block: 18px; }
}
@media (prefers-reduced-motion: reduce) {
  .utility-page *, .utility-page *::before, .utility-page *::after { scroll-behavior: auto !important; transition: none !important; }
}
