:root {
    --canvas: #ffffff;
    --quiet: #f6f8fa;
    --hover: #f0f3f7;
    --dark-bg: #111318;
    --ink: var(--dark-bg);
    --muted: #48515e;
    --hairline: #e2e7ec;
    --strong-line: #bcc5cf;
    --signal: #111318;
    --signal-deep: #292d33;
    --signal-soft: #f0f3f7;
    --success: #0b8f55;
    --warning: #b76a00;
    --error: #d63c4a;
    --action-bg: #111318;
    --action-ink: #ffffff;
    --action-hover: #292d33;
    --action-border: #111318;
    --toast-bg: #111318;
    --toast-ink: #ffffff;
    --scrollbar-thumb: #111318;
    --focus-ring: rgba(17, 19, 24, 0.14);
    --dashboard-card-gradient: #ffffff;
    --dashboard-services-gradient: #ffffff;
    --sans: ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif;
    --shell: 1320px;
    --page-gutter: clamp(20px, 4vw, 52px);
    --header-height: 72px;
    --radius-control: 8px;
    --radius-panel: 9px;
    color-scheme: light;
    font-synthesis: none;
}

/* Administration workspace v2 */
.admin-body {
    --admin-panel: var(--canvas);
    --admin-subtle: color-mix(in srgb, var(--quiet) 82%, var(--canvas));
    --admin-accent: var(--ink);
}

.admin-body .app-sidebar {
    top: 28px;
    bottom: 28px;
    max-height: calc(100vh - 56px);
}

.admin-body .sidebar-nav {
    overflow-y: auto;
}

.admin-body .admin-sidebar-footer form {
    margin: 0;
}

.admin-body .admin-sidebar-footer .text-button {
    width: 100%;
}

.admin-body .app-main {
    width: min(100%, 1580px);
    min-height: 100vh;
    padding-top: 46px;
}

.admin-mobile-header {
    display: none;
}

.admin-dashboard-header {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 40px;
    margin-bottom: 26px;
}

.admin-dashboard-header h1 {
    margin: 5px 0 6px;
    font-size: clamp(38px, 4vw, 58px);
    letter-spacing: -0.045em;
}

.admin-dashboard-header p {
    max-width: 660px;
    margin: 0;
    color: var(--muted);
    font-size: 14px;
}

.admin-eyebrow {
    color: var(--muted);
    font-family: var(--sans);
    font-size: 9px;
    font-weight: 700;
    letter-spacing: .11em;
}

.admin-report-actions {
    display: grid;
    grid-template-columns: auto auto;
    gap: 10px 12px;
    justify-items: end;
}

.admin-range-presets {
    display: inline-flex;
    gap: 3px;
    padding: 3px;
    background: var(--canvas);
    border: 1px solid var(--hairline);
    border-radius: 9px;
}

.admin-range-presets a {
    display: grid;
    min-width: 45px;
    min-height: 34px;
    place-items: center;
    border-radius: 6px;
    color: var(--muted);
    font-size: 12px;
    font-weight: 700;
}

.admin-range-presets a:hover,
.admin-range-presets a.is-active {
    background: var(--action-bg);
    color: var(--action-ink);
}

.admin-custom-range {
    display: flex;
    align-items: end;
    gap: 7px;
}

.admin-custom-range label {
    display: grid;
    gap: 3px;
}

.admin-custom-range label span {
    color: var(--muted);
    font-size: 9px;
    font-weight: 700;
    letter-spacing: .08em;
    text-transform: uppercase;
}

.admin-custom-range input {
    width: 130px;
    min-height: 38px;
    padding: 0 9px;
    background: var(--canvas);
    border: 1px solid var(--hairline);
    border-radius: 6px;
    color: var(--ink);
    font: inherit;
    font-size: 11px;
}

.admin-report-meta {
    grid-column: 1 / -1;
    display: flex;
    align-items: center;
    gap: 8px;
}

.admin-report-meta > span {
    margin-right: 5px;
    color: var(--muted);
    font-size: 10px;
}

.admin-inline-message {
    margin: -10px 0 22px;
    color: var(--muted);
    font-size: 12px;
}

.admin-inline-message.is-warning,
.admin-inline-message.is-error {
    color: var(--error);
}

.admin-inline-message.is-success {
    color: var(--success);
}

.admin-kpi-grid {
    display: grid;
    grid-template-columns: repeat(6, minmax(0, 1fr));
    gap: 12px;
    margin-bottom: 14px;
}

.admin-kpi-card,
.admin-panel {
    background: var(--admin-panel);
    border: 1px solid var(--hairline);
    border-radius: 13px;
    box-shadow: 0 10px 32px rgba(17, 19, 24, .035);
}

.admin-kpi-card {
    min-height: 172px;
    padding: 18px;
}

.admin-kpi-card__heading {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 8px;
}

.admin-kpi-card h2 {
    margin: 0;
    color: var(--muted);
    font-size: 12px;
    font-weight: 650;
}

.admin-kpi-card > strong {
    display: block;
    margin-top: 25px;
    overflow: hidden;
    font-size: clamp(21px, 1.65vw, 30px);
    font-variant-numeric: tabular-nums;
    letter-spacing: -.035em;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.admin-kpi-card p,
.admin-kpi-card small {
    display: block;
    margin: 7px 0 0;
    color: var(--muted);
    font-size: 10px;
    line-height: 1.4;
}

.admin-kpi-card small {
    margin-top: 5px;
    opacity: .78;
}

.admin-change {
    flex: 0 0 auto;
    padding: 4px 7px;
    background: var(--quiet);
    border-radius: 999px;
    color: var(--muted);
    font-size: 9px;
    font-weight: 750;
}

.admin-change.is-up { color: var(--success); }
.admin-change.is-down { color: var(--error); }

.admin-analytics-grid,
.admin-secondary-grid,
.admin-lower-grid {
    display: grid;
    gap: 14px;
    margin-bottom: 14px;
}

.admin-analytics-grid {
    grid-template-columns: minmax(0, 1.9fr) minmax(280px, .72fr);
}

.admin-secondary-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.admin-lower-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    margin-top: 14px;
}

.admin-panel {
    min-width: 0;
    overflow: hidden;
}

.admin-panel__header {
    display: flex;
    min-height: 68px;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    padding: 14px 18px;
    border-bottom: 1px solid var(--hairline);
}

.admin-panel__header h2 {
    margin: 3px 0 0;
    font-size: 18px;
    letter-spacing: -.025em;
}

.admin-panel__header > strong {
    font-size: 22px;
    font-variant-numeric: tabular-nums;
}

.admin-panel__header > a,
.admin-panel__header > span {
    color: var(--muted);
    font-size: 11px;
}

.admin-chart-legend {
    display: flex;
    gap: 14px;
    color: var(--muted);
    font-size: 10px;
}

.admin-chart-legend span::before {
    display: inline-block;
    width: 7px;
    height: 7px;
    margin-right: 5px;
    border-radius: 50%;
    background: currentColor;
    content: '';
}

.admin-chart-legend .is-gross { color: var(--ink); }
.admin-chart-legend .is-net { color: #5575d9; }
.admin-chart-legend .is-margin { color: var(--success); }

.admin-line-chart {
    position: relative;
    padding: 20px 18px 28px;
}

.admin-line-chart svg {
    display: block;
    width: 100%;
    min-height: 220px;
    overflow: visible;
}

.admin-chart-grid {
    fill: none;
    stroke: var(--hairline);
    stroke-width: 1;
}

.admin-chart-line {
    fill: none;
    stroke: var(--ink);
    stroke-linecap: round;
    stroke-linejoin: round;
    stroke-width: 2.6;
    vector-effect: non-scaling-stroke;
}

.admin-chart-line.is-net { stroke: #5575d9; }
.admin-chart-line.is-margin { stroke: var(--success); }

.admin-chart-axis {
    position: absolute;
    right: 18px;
    bottom: 15px;
    left: 18px;
    color: var(--muted);
    font-size: 8px;
    display: flex;
    justify-content: space-between;
}

.admin-chart-axis span {
    white-space: nowrap;
}

.admin-chart-data {
    padding: 0 18px 18px;
    color: var(--muted);
    font-size: 11px;
}

.admin-chart-data summary { cursor: pointer; }
.admin-chart-data .table-wrap { margin-top: 12px; max-height: 260px; }

.admin-outcome-bar {
    height: 22px;
    margin: 28px 20px 24px;
    overflow: hidden;
    background: var(--quiet);
    border-radius: 999px;
}

.admin-outcome-bar svg { display: block; width: 100%; height: 100%; }
.admin-outcome-bar .is-completed,
.admin-outcome-dot.is-completed { background: var(--success); }
.admin-outcome-bar .is-awaiting_code,
.admin-outcome-dot.is-awaiting_code { background: #5575d9; }
.admin-outcome-bar .is-failed,
.admin-outcome-dot.is-failed { background: var(--error); }
.admin-outcome-bar .is-canceled,
.admin-outcome-dot.is-canceled { background: var(--warning); }
.admin-outcome-bar .is-refunded,
.admin-outcome-dot.is-refunded { background: #8a67c8; }
.admin-outcome-bar .is-in_flight,
.admin-outcome-dot.is-in_flight { background: var(--strong-line); }
.admin-outcome-bar rect.is-completed { fill: var(--success); }
.admin-outcome-bar rect.is-awaiting_code { fill: #5575d9; }
.admin-outcome-bar rect.is-failed { fill: var(--error); }
.admin-outcome-bar rect.is-canceled { fill: var(--warning); }
.admin-outcome-bar rect.is-refunded { fill: #8a67c8; }
.admin-outcome-bar rect.is-in_flight { fill: var(--strong-line); }

.admin-outcome-list {
    display: grid;
    gap: 0;
    margin: 0;
    padding: 0 20px 20px;
    list-style: none;
}

.admin-outcome-list li {
    display: grid;
    grid-template-columns: 9px 1fr auto 44px;
    gap: 9px;
    align-items: center;
    min-height: 37px;
    border-top: 1px solid var(--hairline);
    font-size: 11px;
}

.admin-outcome-list li small { color: var(--muted); text-align: right; }
.admin-outcome-dot { width: 7px; height: 7px; border-radius: 50%; }

.admin-ranking-list {
    padding: 8px 18px 14px;
}

.admin-ranking-row {
    display: grid;
    grid-template-columns: 24px minmax(0, 1fr) auto;
    gap: 11px;
    align-items: start;
    padding: 12px 0;
    border-bottom: 1px solid var(--hairline);
}

.admin-ranking-row:last-child { border-bottom: 0; }
.admin-ranking-row > strong { font-size: 11px; font-variant-numeric: tabular-nums; }
.admin-ranking-index { color: var(--muted); font-size: 9px; padding-top: 2px; }
.admin-ranking-row > div { display: grid; min-width: 0; gap: 5px; }
.admin-ranking-row > div > strong { overflow: hidden; font-size: 12px; text-overflow: ellipsis; white-space: nowrap; }
.admin-ranking-row small { color: var(--muted); font-size: 9px; }
.admin-ranking-track { height: 4px; overflow: hidden; background: var(--quiet); border-radius: 99px; }
.admin-ranking-track { width: 100%; border: 0; appearance: none; }
.admin-ranking-track::-webkit-progress-bar { background: var(--quiet); border-radius: 99px; }
.admin-ranking-track::-webkit-progress-value { background: var(--ink); border-radius: 99px; }
.admin-ranking-track::-moz-progress-bar { background: var(--ink); border-radius: 99px; }

.admin-bar-chart {
    height: 178px;
    padding: 25px 18px 0;
}

.admin-bar-chart svg { display: block; width: 100%; height: 100%; }
.admin-bar-chart rect { fill: var(--ink); opacity: .82; }

.admin-panel-note {
    margin: 15px 18px 18px;
    color: var(--muted);
    font-size: 10px;
}

.admin-panel--providers { margin-bottom: 14px; }
.admin-provider-table td:first-child strong,
.admin-provider-table td:first-child small { display: block; white-space: nowrap; }
.admin-provider-table td:first-child small { margin-top: 3px; color: var(--muted); font-size: 9px; }

.admin-health {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 10px;
    white-space: nowrap;
}

.admin-health::before {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: var(--warning);
    content: '';
}

.admin-health.is-good::before { background: var(--success); }
.admin-health.is-bad::before { background: var(--error); }
.admin-health.is-muted::before { background: var(--strong-line); }

.admin-exposure-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    margin: 0;
    padding: 10px 18px 18px;
}

.admin-exposure-grid div {
    padding: 14px 0;
    border-bottom: 1px solid var(--hairline);
}

.admin-exposure-grid div:nth-child(odd) { padding-right: 12px; border-right: 1px solid var(--hairline); }
.admin-exposure-grid div:nth-child(even) { padding-left: 12px; }
.admin-exposure-grid dt { color: var(--muted); font-size: 9px; }
.admin-exposure-grid dd { margin: 5px 0 0; font-size: 16px; font-weight: 750; font-variant-numeric: tabular-nums; }

.admin-queue-list,
.admin-activity-list { display: grid; }
.admin-queue-list a {
    display: grid;
    grid-template-columns: 8px minmax(0, 1fr) auto 12px;
    gap: 10px;
    align-items: center;
    min-height: 48px;
    padding: 0 18px;
    border-bottom: 1px solid var(--hairline);
    font-size: 11px;
}
.admin-queue-list a:last-child { border-bottom: 0; }
.admin-queue-list a:hover,
.admin-activity-list a:hover { background: var(--hover); }
.admin-queue-signal { width: 7px; height: 7px; border-radius: 50%; background: var(--strong-line); }
.admin-queue-signal.is-warning { background: var(--warning); }
.admin-queue-signal.is-error { background: var(--error); }

.admin-activity-list a {
    display: grid;
    grid-template-columns: 28px minmax(0, 1fr) auto;
    gap: 10px;
    align-items: center;
    min-height: 56px;
    padding: 7px 18px;
    border-bottom: 1px solid var(--hairline);
}
.admin-activity-list a:last-child { border-bottom: 0; }
.admin-activity-list a > span:nth-child(2) { display: grid; gap: 3px; min-width: 0; }
.admin-activity-list a > span:nth-child(2) strong { overflow: hidden; font-size: 11px; text-overflow: ellipsis; white-space: nowrap; }
.admin-activity-list small { overflow: hidden; color: var(--muted); font-size: 9px; text-overflow: ellipsis; white-space: nowrap; }
.admin-activity-list a > strong { font-size: 10px; }
.admin-activity-icon { width: 26px; height: 26px; background: var(--quiet); border: 1px solid var(--hairline); border-radius: 50%; }
.admin-activity-icon.is-finance { background: color-mix(in srgb, var(--success) 12%, var(--canvas)); }
.admin-activity-icon.is-provider { background: color-mix(in srgb, var(--error) 12%, var(--canvas)); }
.admin-empty { padding: 22px 18px; color: var(--muted); font-size: 11px; }

.admin-page-header {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 30px;
    margin-bottom: 28px;
}

.admin-page-header h1 {
    margin: 5px 0 7px;
    font-size: clamp(36px, 4vw, 54px);
    letter-spacing: -.04em;
}

.admin-page-header p {
    max-width: 720px;
    margin: 0;
    color: var(--muted);
    font-size: 13px;
}

.admin-management-stack {
    display: grid;
    gap: 14px;
}

.admin-two-column,
.admin-role-grid {
    display: grid;
    gap: 14px;
}

.admin-role-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    margin-bottom: 14px;
}

.admin-role-grid .admin-kpi-card {
    min-height: 126px;
}

.admin-role-grid .admin-kpi-card p {
    margin-top: 22px;
}

.admin-access-create {
    margin-bottom: 14px;
}

.admin-role-card {
    min-height: 164px;
}

.admin-role-card .admin-kpi-card__heading {
    align-items: center;
}

.admin-role-card__icon {
    display: grid;
    width: 34px;
    height: 34px;
    place-items: center;
    background: var(--quiet);
    border: 1px solid var(--hairline);
    border-radius: 9px;
    color: var(--muted);
}

.admin-role-card__icon svg {
    width: 18px;
    fill: none;
    stroke: currentColor;
    stroke-linecap: round;
    stroke-linejoin: round;
    stroke-width: 1.7;
}

.admin-role-grid .admin-role-card h2 {
    margin: 17px 0 0;
    color: var(--ink);
    font-size: 16px;
}

.admin-role-grid .admin-role-card p {
    margin-top: 8px;
    line-height: 1.5;
}

.admin-back-link {
    display: inline-block;
    margin-bottom: 18px;
    color: var(--muted);
    font-size: 11px;
}

.admin-customer-summary {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 14px;
    margin-bottom: 14px;
}

.admin-customer-summary .admin-kpi-card {
    min-height: 148px;
}

.admin-customer-action-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
    align-items: start;
    margin-bottom: 14px;
}

.admin-customer-controls > div {
    display: grid;
}

.admin-customer-controls .admin-inline-action + .admin-inline-action {
    border-top: 1px solid var(--hairline);
}

.admin-customer-controls .admin-inline-action summary {
    display: grid;
    grid-template-columns: 38px minmax(0, 1fr) 18px;
    align-items: center;
    gap: 12px;
    min-height: 76px;
    padding: 13px 18px;
    transition: background-color 160ms ease, color 160ms ease;
}

.admin-customer-controls .admin-inline-action summary:hover,
.admin-customer-controls .admin-inline-action summary:focus-visible {
    background: var(--hover);
    outline: none;
}

.admin-action-link__icon {
    display: grid;
    width: 38px;
    height: 38px;
    place-items: center;
    background: var(--quiet);
    border: 1px solid var(--hairline);
    border-radius: 9px;
    color: var(--muted);
    transition: background-color 160ms ease, border-color 160ms ease, color 160ms ease;
}

.admin-action-link__icon svg {
    width: 19px;
    fill: none;
    stroke: currentColor;
    stroke-linecap: round;
    stroke-linejoin: round;
    stroke-width: 1.7;
}

.admin-action-link__copy {
    display: grid;
    gap: 3px;
}

.admin-action-link__copy strong {
    font-size: 12px;
    text-decoration-color: transparent;
    text-underline-offset: 3px;
    transition: color 160ms ease, text-decoration-color 160ms ease;
}

.admin-action-link__copy small {
    color: var(--muted);
    font-size: 10px;
    font-weight: 450;
    line-height: 1.4;
}

.admin-customer-controls .admin-inline-action summary:hover .admin-action-link__copy strong,
.admin-customer-controls .admin-inline-action summary:focus-visible .admin-action-link__copy strong {
    color: var(--admin-accent);
    text-decoration-line: underline;
    text-decoration-color: currentColor;
}

.admin-customer-controls .admin-inline-action summary:hover .admin-action-link__icon,
.admin-customer-controls .admin-inline-action summary:focus-visible .admin-action-link__icon {
    background: var(--canvas);
    border-color: var(--strong-line);
    color: var(--ink);
}

.admin-action-link__chevron {
    width: 16px;
    fill: none;
    stroke: currentColor;
    stroke-linecap: round;
    stroke-linejoin: round;
    stroke-width: 1.8;
    transition: transform 160ms ease;
}

.admin-inline-action[open] .admin-action-link__chevron {
    transform: rotate(90deg);
}

.admin-customer-controls .admin-inline-action[open] form {
    position: static;
    width: auto;
    margin: 0;
    padding: 18px;
    background: var(--admin-subtle);
    border: 0;
    border-top: 1px solid var(--hairline);
    border-radius: 0;
    box-shadow: none;
}

.admin-tall-table {
    max-height: 520px;
    overflow: auto;
}

.admin-tall-table .ledger-table thead {
    position: sticky;
    z-index: 2;
    top: 0;
    background: var(--canvas);
}

.admin-inline-action {
    position: relative;
    min-width: 72px;
}

.admin-inline-action summary {
    cursor: pointer;
    color: var(--ink);
    font-size: 11px;
    font-weight: 700;
    list-style: none;
}

.admin-inline-action summary::-webkit-details-marker { display: none; }

.admin-inline-action--table summary {
    display: inline-flex;
    justify-content: flex-end;
    text-decoration: underline;
    text-underline-offset: 3px;
}

.admin-inline-action.admin-inline-action--table[open] form {
    position: static;
    width: 260px;
    margin: 8px 0 0 auto;
    text-align: left;
}

.admin-inline-action[open] form {
    position: absolute;
    z-index: 30;
    right: 0;
    display: grid;
    width: min(310px, 80vw);
    gap: 10px;
    margin-top: 8px;
    padding: 14px;
    background: var(--canvas);
    border: 1px solid var(--strong-line);
    border-radius: 9px;
    box-shadow: 0 18px 50px rgba(17, 19, 24, .16);
}

.admin-inline-action label {
    display: grid;
    gap: 5px;
    color: var(--muted);
    font-size: 9px;
    font-weight: 700;
    letter-spacing: .06em;
    text-transform: uppercase;
}

.admin-inline-action input,
.admin-inline-action select {
    min-height: 38px;
    width: 100%;
    padding: 0 9px;
    background: var(--quiet);
    border: 1px solid var(--hairline);
    border-radius: 6px;
    color: var(--ink);
    font: inherit;
    font-size: 12px;
    font-weight: 400;
    letter-spacing: 0;
    text-transform: none;
}

.admin-mfa-reset-list {
    display: grid;
    gap: 10px;
    padding: 18px;
}

.admin-mfa-reset-action {
    border: 1px solid var(--hairline);
    border-radius: 9px;
}

.admin-mfa-reset-action > summary {
    justify-content: flex-start !important;
    width: 100%;
    padding: 10px 12px;
}

.admin-mfa-reset-action[open] > form {
    position: static;
    width: auto;
    max-width: none;
    gap: 12px;
    margin: 0;
    padding: 14px;
    border: 0;
    border-top: 1px solid var(--hairline);
    border-radius: 0;
    box-shadow: none;
}

@media (max-width: 1100px) {
    .admin-role-grid { grid-template-columns: 1fr 1fr; }
    .admin-customer-summary { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}

@media (max-width: 1380px) {
    .admin-kpi-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
    .admin-secondary-grid { grid-template-columns: 1fr 1fr; }
    .admin-secondary-grid .admin-panel--orders { grid-column: 1 / -1; }
    .admin-lower-grid { grid-template-columns: 1fr 1fr; }
    .admin-panel--activity { grid-column: 1 / -1; }
}

@media (max-width: 1080px) {
    .admin-dashboard-header { align-items: flex-start; flex-direction: column; }
    .admin-report-actions { width: 100%; justify-items: start; }
    .admin-report-meta { justify-self: stretch; }
    .admin-analytics-grid { grid-template-columns: 1fr; }
}

@media (max-width: 960px) {
    .admin-body .app-sidebar {
        top: 0;
        bottom: 0;
        left: 0;
        display: flex !important;
        width: min(292px, calc(100vw - 42px));
        max-height: 100vh;
        border-radius: 0 16px 16px 0;
        transform: translateX(-105%);
        transition: transform 180ms ease;
    }
    .admin-body .app-sidebar.is-open { transform: translateX(0); }
    .admin-body.app-navigation-open .app-sidebar-backdrop {
        display: block !important;
    }
    .admin-mobile-header {
        position: sticky;
        z-index: 90;
        top: 0;
        display: flex;
        min-height: 62px;
        align-items: center;
        gap: 12px;
        padding: 0 18px;
        background: color-mix(in srgb, var(--quiet) 94%, transparent);
        backdrop-filter: blur(14px);
    }
    .admin-menu-button {
        display: grid;
        width: 40px;
        height: 40px;
        place-items: center;
        background: var(--canvas);
        border: 1px solid var(--hairline);
        border-radius: 8px;
        color: var(--ink);
    }
    .admin-menu-button svg { width: 20px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; }
    .admin-mobile-header strong { font-size: 14px; }
    .admin-body .app-main { min-height: calc(100vh - 62px); padding-top: 24px; padding-bottom: 50px; }
}

@media (max-width: 720px) {
    .admin-body .app-main { padding-inline: 14px; }
    .admin-dashboard-header { gap: 22px; }
    .admin-dashboard-header h1 { font-size: 38px; }
    .admin-report-actions { display: flex; align-items: stretch; flex-direction: column; }
    .admin-custom-range { display: grid; grid-template-columns: 1fr 1fr; }
    .admin-custom-range input { width: 100%; }
    .admin-custom-range .button { grid-column: 1 / -1; }
    .admin-report-meta { flex-wrap: wrap; }
    .admin-report-meta > span { width: 100%; }
    .admin-kpi-grid { grid-template-columns: 1fr 1fr; }
    .admin-two-column,
    .admin-role-grid,
    .admin-customer-action-grid,
    .admin-customer-summary { grid-template-columns: 1fr; }
    .admin-kpi-card { min-height: 150px; padding: 15px; }
    .admin-kpi-card > strong { margin-top: 18px; }
    .admin-secondary-grid,
    .admin-lower-grid { grid-template-columns: 1fr; }
    .admin-secondary-grid .admin-panel--orders,
    .admin-panel--activity { grid-column: auto; }
    .admin-chart-legend { display: none; }
    .admin-line-chart svg { min-height: 180px; }
}

.admin-support-list {
  display: grid;
  gap: 12px;
  padding: 18px 20px 20px;
}

.admin-support-ticket {
  overflow: hidden;
  border: 1px solid var(--hairline);
  border-radius: 12px;
  background: var(--admin-panel);
}

.admin-support-ticket > summary {
  align-items: center;
  cursor: pointer;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto 18px;
  gap: 24px;
  list-style: none;
  min-height: 82px;
  padding: 17px 20px;
  transition: background-color 160ms ease;
}

.admin-support-ticket > summary::-webkit-details-marker { display: none; }
.admin-support-ticket > summary::after {
  width: 8px;
  height: 8px;
  border-right: 1.5px solid currentColor;
  border-bottom: 1.5px solid currentColor;
  content: "";
  opacity: .7;
  transform: rotate(45deg);
  transition: transform 160ms ease;
}
.admin-support-ticket[open] > summary::after { transform: rotate(225deg); }
.admin-support-ticket > summary:hover,
.admin-support-ticket > summary:focus-visible { background: var(--hover); outline: none; }
.admin-support-ticket > summary span { display: grid; gap: 4px; }
.admin-support-ticket > summary span:last-child { text-align: right; }
.admin-support-ticket > summary strong { font-size: 13px; }
.admin-support-ticket > summary small { color: var(--muted); font-size: 11px; }

.admin-support-ticket__body {
  border-top: 1px solid var(--hairline);
  display: grid;
  gap: 20px;
  padding: 20px;
}

.admin-support-meta {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  margin: 0;
}

.admin-support-meta > div {
  display: grid;
  grid-template-columns: 36px minmax(0, 1fr);
  align-items: center;
  gap: 11px;
  min-height: 66px;
  padding: 12px 14px;
  background: var(--admin-subtle);
  border: 1px solid var(--hairline);
  border-radius: 10px;
}

.admin-support-meta__icon {
  display: grid;
  width: 36px;
  height: 36px;
  place-items: center;
  background: var(--canvas);
  border: 1px solid var(--hairline);
  border-radius: 9px;
  color: var(--muted);
}

.admin-support-meta__icon svg,
.admin-panel-empty__icon svg,
.admin-disclosure-button__icon svg,
.admin-table-action svg {
  width: 18px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.7;
}

.admin-support-meta dt {
  color: var(--muted);
  font-size: 9px;
  font-weight: 750;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.admin-support-meta dd {
  margin: 3px 0 0;
  overflow: hidden;
  font-size: 12px;
  font-weight: 650;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.admin-support-message-wrap {
  display: grid;
  gap: 8px;
}

.admin-support-message {
  background: var(--admin-subtle);
  border: 1px solid var(--hairline);
  border-radius: 10px;
  font-size: 13px;
  line-height: 1.65;
  margin: 0;
  padding: 16px;
  white-space: normal;
}

.admin-inline-form {
  align-items: end;
  display: grid;
  gap: 14px;
  grid-template-columns: minmax(170px, .6fr) minmax(260px, 1.5fr) auto;
  padding: 16px;
  background: var(--admin-subtle);
  border: 1px solid var(--hairline);
  border-radius: 10px;
}

.admin-support-status-form {
  grid-template-columns: minmax(0, .7fr) minmax(0, 1.3fr) auto;
}

.admin-support-status-form label,
.admin-support-status-form select {
  min-width: 0;
}

.admin-inline-form label,
.admin-action-form label {
  display: grid;
  gap: 7px;
  color: var(--muted);
  font-size: 9px;
  font-weight: 750;
  letter-spacing: .07em;
  text-transform: uppercase;
}

.admin-inline-form input,
.admin-inline-form select,
.admin-action-form input,
.admin-action-form select,
.admin-action-form textarea {
  width: 100%;
  min-height: 44px;
  padding: 10px 12px;
  background: var(--canvas);
  border: 1px solid var(--hairline);
  border-radius: 8px;
  box-shadow: none;
  color: var(--ink);
  font-size: 12px;
  font-weight: 450;
  letter-spacing: 0;
  outline: 0;
  text-transform: none;
  transition: border-color 160ms ease, box-shadow 160ms ease, background-color 160ms ease;
}

.admin-inline-form input::placeholder,
.admin-action-form input::placeholder,
.admin-action-form textarea::placeholder { color: var(--muted); opacity: .68; }

.admin-inline-form input:focus,
.admin-inline-form select:focus,
.admin-action-form input:focus,
.admin-action-form select:focus,
.admin-action-form textarea:focus {
  background: var(--canvas);
  border-color: var(--strong-line);
  box-shadow: 0 0 0 3px var(--focus-ring);
}

.admin-inline-form .button {
  min-height: 44px;
  padding-inline: 18px;
}

.admin-broadcast-composer { padding: 18px 20px 20px; }
.admin-broadcast-composer > summary { list-style: none; }
.admin-broadcast-composer > summary::-webkit-details-marker { display: none; }
.admin-disclosure-button {
  display: grid;
  grid-template-columns: 40px minmax(0, 1fr) 18px;
  align-items: center;
  gap: 12px;
  width: min(100%, 560px);
  min-height: 72px;
  padding: 12px 14px;
  background: var(--admin-subtle);
  border: 1px solid var(--hairline);
  border-radius: 10px;
  cursor: pointer;
  transition: background-color 160ms ease, border-color 160ms ease;
}

.admin-disclosure-button:hover,
.admin-disclosure-button:focus-visible {
  background: var(--hover);
  border-color: var(--strong-line);
  outline: none;
}

.admin-disclosure-button__icon {
  display: grid;
  width: 40px;
  height: 40px;
  place-items: center;
  background: var(--canvas);
  border: 1px solid var(--hairline);
  border-radius: 9px;
  color: var(--muted);
}

.admin-disclosure-button > span:nth-child(2) { display: grid; gap: 3px; }
.admin-disclosure-button strong { font-size: 12px; }
.admin-disclosure-button small { color: var(--muted); font-size: 10px; line-height: 1.4; }
.admin-disclosure-button__chevron { width: 16px; fill: none; stroke: currentColor; stroke-linecap: round; stroke-linejoin: round; stroke-width: 1.8; transition: transform 160ms ease; }
.admin-broadcast-composer[open] .admin-disclosure-button__chevron { transform: rotate(90deg); }
.admin-action-form { display: grid; gap: 14px; max-width: 760px; padding-top: 18px; }
.admin-action-form--grid { grid-template-columns: repeat(2, minmax(0, 1fr)); max-width: 920px; }
.admin-action-form--grid > p,
.admin-action-form--grid > .admin-form-span { grid-column: 1 / -1; }
.admin-action-form textarea { resize: vertical; }
.admin-empty-state { color: var(--muted); margin: 0; padding: 18px; text-align: center; }
.admin-panel-form { padding: 0 20px 20px; }

.admin-panel-empty {
  display: grid;
  justify-items: center;
  gap: 7px;
  min-height: 190px;
  align-content: center;
  padding: 30px 20px;
  border-top: 1px solid var(--hairline);
  text-align: center;
}

.admin-panel-empty__icon {
  display: grid;
  width: 42px;
  height: 42px;
  margin-bottom: 4px;
  place-items: center;
  background: var(--quiet);
  border: 1px solid var(--hairline);
  border-radius: 50%;
  color: var(--muted);
}

.admin-panel-empty strong { font-size: 13px; }
.admin-panel-empty p { max-width: 390px; margin: 0; color: var(--muted); font-size: 11px; }

.admin-status-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  min-height: 26px;
  padding: 4px 9px;
  background: var(--quiet);
  border: 1px solid var(--hairline);
  border-radius: 999px;
  font-size: 10px;
  font-weight: 700;
}

.admin-status-pill::before {
  width: 6px;
  height: 6px;
  background: var(--muted);
  border-radius: 50%;
  content: "";
}

.admin-status-pill.is-active::before { background: var(--success); }

.admin-table-action {
  display: inline-flex !important;
  align-items: center;
  justify-content: center !important;
  gap: 7px;
  min-height: 34px;
  padding: 6px 10px;
  background: var(--quiet);
  border: 1px solid var(--hairline);
  border-radius: 7px;
  text-decoration: none !important;
  transition: background-color 160ms ease, border-color 160ms ease;
}

.admin-table-action:hover,
.admin-table-action:focus-visible { background: var(--hover); border-color: var(--strong-line); outline: none; }
.admin-table-action svg { width: 15px; }

.admin-event-timeline {
  display: grid;
  gap: 0;
  list-style: none;
  margin: 0;
  padding: 8px 20px 20px;
}

.admin-event-timeline li {
  display: grid;
  gap: 12px;
  grid-template-columns: 12px 1fr;
  min-height: 72px;
}

.admin-event-timeline li > span {
  background: var(--ink);
  border: 4px solid var(--quiet);
  border-radius: 50%;
  height: 12px;
  margin-top: 5px;
  outline: 1px solid var(--hairline);
  position: relative;
  width: 12px;
}

.admin-event-timeline li:not(:last-child) > span::after {
  background: var(--hairline);
  content: "";
  left: 50%;
  position: absolute;
  top: 12px;
  transform: translateX(-50%);
  width: 1px;
  height: 54px;
}

.admin-event-timeline strong { font-size: 13px; }
.admin-event-timeline p { color: var(--muted); font-size: 12px; margin: 3px 0; }
.admin-event-timeline time { color: var(--muted); font-size: 10px; }

@media (max-width: 720px) {
  .admin-support-ticket > summary { grid-template-columns: minmax(0, 1fr) 18px; gap: 12px; }
  .admin-support-ticket > summary span:last-child { text-align: left; }
  .admin-support-ticket > summary span:nth-child(2) { grid-column: 1 / -1; grid-row: 2; }
  .admin-support-ticket > summary::after { grid-column: 2; grid-row: 1; }
  .admin-support-meta,
  .admin-action-form--grid { grid-template-columns: 1fr; }
  .admin-action-form--grid > .admin-form-span { grid-column: auto; }
  .admin-inline-form { grid-template-columns: 1fr; }
  .admin-support-status-form .button { grid-column: auto; }
  .admin-broadcast-composer { padding: 14px; }
}

@media (min-width: 721px) and (max-width: 1100px) {
  .admin-support-status-form {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1.25fr);
  }

  .admin-support-status-form .button {
    grid-column: 1 / -1;
    justify-self: start;
  }
}

@media (max-width: 480px) {
    .admin-kpi-grid { grid-template-columns: 1fr; }
    .admin-kpi-card { min-height: 132px; }
    .admin-exposure-grid { grid-template-columns: 1fr; }
    .admin-exposure-grid div:nth-child(odd) { padding-right: 0; border-right: 0; }
    .admin-exposure-grid div:nth-child(even) { padding-left: 0; }
}

* {
    scrollbar-color: var(--scrollbar-thumb) transparent;
    scrollbar-width: thin;
}

*::-webkit-scrollbar {
    width: 8px;
    height: 8px;
    background: transparent;
}

*::-webkit-scrollbar-track,
*::-webkit-scrollbar-corner {
    background: transparent;
}

*::-webkit-scrollbar-thumb {
    background: var(--scrollbar-thumb);
    border: 0;
    border-radius: 999px;
}

/* Stitch marketing homepage */
body.page-home-stitch {
    --home-bg: #ffffff;
    --home-surface: #f8f9fb;
    --home-surface-strong: #f2f4f6;
    --home-text: #191c1e;
    --home-muted: #535b66;
    --home-rule: #dfe3e8;
    --home-blue: #111318;
    font-family: var(--sans);
    font-size: 16px;
    font-weight: 400;
    background: var(--home-bg);
    color: var(--home-text);
}

.page-home-stitch h1,
.page-home-stitch h2,
.page-home-stitch h3,
.page-home-stitch strong {
    font-family: var(--sans);
    font-weight: 700;
}

.stitch-shell {
    width: min(calc(100% - 96px), 1200px);
    margin-inline: auto;
}

.stitch-header {
    --home-surface: #f8f9fb;
    --home-text: #191c1e;
    --home-muted: #535b66;
    --home-rule: #dfe3e8;
    --home-blue: #111318;
    position: sticky;
    z-index: 100;
    top: 0;
    height: 72px;
    background: var(--home-bg);
    border: 0;
}

.stitch-header__inner {
    display: flex;
    align-items: center;
    height: 100%;
}

.stitch-wordmark {
    display: inline-flex;
    align-items: center;
    flex: 0 0 auto;
    gap: 10px;
    min-height: 44px;
    color: var(--home-text);
    font-family: var(--sans);
    font-size: 17px;
    font-weight: 700;
    letter-spacing: 0.01em;
    line-height: 44px;
}

.stitch-wordmark__mark {
    width: 30px;
    height: 30px;
    flex: 0 0 auto;
    object-fit: contain;
}

.stitch-wordmark > span {
    display: inline-flex;
    align-items: baseline;
}

.stitch-navigation {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex: 1;
    min-width: 0;
    margin-left: 48px;
}

.stitch-nav,
.stitch-header__actions {
    display: flex;
    align-items: center;
}

.stitch-nav {
    gap: 32px;
}

.stitch-header__actions {
    gap: 22px;
}

.stitch-nav a,
.stitch-login {
    display: inline-flex;
    align-items: center;
    min-height: 44px;
    color: var(--home-muted);
    font-size: 15px;
    font-weight: 600;
    transition: color 160ms ease;
}

.stitch-nav a:hover,
.stitch-login:hover {
    color: var(--home-blue);
}

.stitch-menu-toggle {
    display: none;
}

.stitch-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 48px;
    padding: 0 24px;
    border: 1px solid transparent;
    border-radius: 4px;
    font-family: var(--sans);
    font-size: 16px;
    font-weight: 700;
    line-height: 1;
    text-align: center;
    transition: background-color 160ms ease, border-color 160ms ease, color 160ms ease;
}

.stitch-button--compact {
    min-height: 40px;
    padding-inline: 18px;
    font-size: 14px;
}

.stitch-button--large {
    min-height: 54px;
    padding-inline: 32px;
}

.stitch-button--dark {
    background: var(--action-bg);
    border-color: var(--action-border);
    color: var(--action-ink);
}

.stitch-button--dark:hover {
    background: var(--action-hover);
    border-color: var(--action-hover);
}

.stitch-button--outline {
    background: var(--action-bg);
    border-color: var(--action-border);
    color: var(--action-ink);
}

.stitch-button--outline:hover {
    background: var(--action-hover);
    border-color: var(--action-hover);
    color: var(--action-ink);
}

.stitch-button--full {
    width: 100%;
}

.stitch-home {
    background: var(--home-bg);
}

.stitch-hero {
    border-bottom: 1px solid var(--home-rule);
}

.stitch-hero__grid {
    display: grid;
    grid-template-columns: minmax(0, 1.15fr) minmax(360px, 0.85fr);
    gap: clamp(64px, 8vw, 128px);
    align-items: center;
    min-height: 568px;
    padding-block: 88px;
}

.stitch-hero__copy {
    max-width: 680px;
}

.stitch-coordinate,
.stitch-check__coordinate,
.stitch-field > span,
.stitch-field > label,
.stitch-step__number {
    font-family: var(--sans);
    font-weight: 600;
    letter-spacing: 0.06em;
}

.stitch-coordinate,
.stitch-check__coordinate {
    display: block;
    color: var(--home-muted);
    font-size: 10px;
    line-height: 1;
    text-transform: uppercase;
}

.stitch-hero__copy h1 {
    max-width: 680px;
    margin: 24px 0 24px;
    font-size: clamp(48px, 5vw, 68px);
    letter-spacing: -0.045em;
    line-height: 0.99;
}

.stitch-hero__copy p {
    max-width: 620px;
    margin-bottom: 32px;
    color: var(--home-muted);
    font-size: 18px;
    line-height: 1.65;
}

.stitch-check {
    position: relative;
    height: 460px;
    padding: 0;
    background: var(--home-surface);
    border: 1px solid var(--home-rule);
    border-radius: 6px;
}

.stitch-check__flipper {
    position: relative;
    width: 100%;
    height: 100%;
}

.stitch-check__face {
    position: absolute;
    inset: 0;
    padding: 36px;
}

.stitch-check__back { display: none; }

.stitch-check.is-showing-results .stitch-check__front { display: none; }

.stitch-check.is-showing-results .stitch-check__back { display: block; }

.stitch-check__coordinate {
    position: absolute;
    top: 24px;
    right: 24px;
    color: #7c8490;
    font-size: 9px;
}

.stitch-check h2 {
    margin: 0 0 28px;
    padding-right: 120px;
    font-size: 28px;
    letter-spacing: -0.025em;
    line-height: 1.1;
}

.stitch-field {
    display: block;
    margin-bottom: 18px;
}

.stitch-field > span,
.stitch-field > label {
    display: block;
    margin-bottom: 8px;
    color: var(--home-muted);
    font-size: 10px;
    text-transform: uppercase;
}

.stitch-field > select {
    width: 100%;
    height: 50px;
    padding: 0 42px 0 14px;
    background: var(--home-bg);
    border: 1px solid var(--home-rule);
    border-radius: 4px;
    color: var(--home-text);
    font: 600 16px/1 var(--sans);
}

.stitch-availability {
    border-radius: inherit;
    overflow: hidden;
}

.stitch-availability > header {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr);
    gap: 16px;
    align-items: center;
    min-height: 48px;
    padding-bottom: 18px;
    border-bottom: 1px solid var(--home-rule);
}

.stitch-availability > header strong { font-size: 14px; text-align: right; }
.stitch-availability__back { padding: 0; background: transparent; border: 0; color: var(--home-text); font: 600 12px/1 var(--sans); cursor: pointer; }

.stitch-availability__window {
    height: calc(100% - 67px);
    overflow-y: auto;
    overscroll-behavior: contain;
    scrollbar-width: thin;
}

.stitch-availability__row {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 12px 18px;
    align-items: center;
    padding: 15px 0;
}

.stitch-availability__row + .stitch-availability__row { border-top: 1px solid var(--home-rule); }
.stitch-availability__identity { min-width: 0; }
.stitch-availability__identity strong,
.stitch-availability__identity span { display: block; }
.stitch-availability__identity strong { margin-bottom: 4px; font-size: 13px; }
.stitch-availability__identity span { color: var(--home-muted); font-size: 11px; overflow-wrap: anywhere; }
.stitch-availability__purchase { display: grid; justify-items: end; gap: 7px; }
.stitch-availability__purchase strong { font-family: var(--sans); font-size: 14px; }
.stitch-availability__purchase a { min-height: 34px; padding: 8px 12px; font-size: 10px; }
.stitch-availability__empty { margin: 0; padding: 24px 0; color: var(--home-muted); font-size: 12px; text-align: center; }

.stitch-select {
    position: relative;
    width: 100%;
    min-width: 0;
    --select-surface: var(--home-surface, var(--canvas));
}

.stitch-select.is-open {
    z-index: 120;
}

.js .stitch-select__native {
    position: absolute;
    top: 0;
    left: 0;
    width: 1px;
    height: 1px;
    padding: 0;
    overflow: hidden;
    border: 0;
    clip: rect(0 0 0 0);
    clip-path: inset(50%);
    opacity: 0;
    pointer-events: none;
    white-space: nowrap;
}

.stitch-select__button {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    width: 100%;
    height: 50px;
    padding: 0 42px 0 14px;
    background-color: var(--select-surface);
    border: 1px solid var(--home-rule, var(--strong-line));
    border-radius: 6px;
    box-shadow: inset 0 1px 0 rgba(17, 19, 24, 0.03);
    color: var(--home-text, var(--ink));
    font-family: var(--sans);
    font-size: 16px;
    font-weight: 600;
    line-height: 1;
    text-align: left;
}

[data-stitch-select-value] {
    display: flex;
    min-width: 0;
    align-items: center;
    gap: 10px;
}

.stitch-select__icon,
.stitch-select__flag,
.stitch-select__service-badge {
    flex: 0 0 22px;
    width: 22px;
    height: 22px;
}

.stitch-select__icon {
    display: block;
    object-fit: contain;
}

.stitch-select__flag {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 19px;
    line-height: 1;
}

.stitch-select__service-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 1px solid currentColor;
    border-radius: 6px;
    font-family: var(--sans);
    font-size: 11px;
    font-weight: 800;
    line-height: 1;
}

.stitch-select__service-badge--tone-0 { background: #fee2e2; color: #991b1b; }
.stitch-select__service-badge--tone-1 { background: #ffedd5; color: #9a3412; }
.stitch-select__service-badge--tone-2 { background: #fef3c7; color: #854d0e; }
.stitch-select__service-badge--tone-3 { background: #dcfce7; color: #166534; }
.stitch-select__service-badge--tone-4 { background: #cffafe; color: #155e75; }
.stitch-select__service-badge--tone-5 { background: #dbeafe; color: #1e40af; }
.stitch-select__service-badge--tone-6 { background: #ede9fe; color: #5b21b6; }
.stitch-select__service-badge--tone-7 { background: #fce7f3; color: #9d174d; }

.stitch-select__option-label {
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.stitch-select__network-choice {
    min-width: 0;
    align-items: stretch;
}

.stitch-select__network-body {
    display: grid;
    width: 100%;
    min-width: 0;
    gap: 7px;
}

.stitch-select__network-heading,
.stitch-select__network-details {
    display: flex;
    min-width: 0;
    align-items: center;
}

.stitch-select__network-heading {
    justify-content: space-between;
    gap: 10px;
}

.stitch-select__network-details {
    flex-wrap: wrap;
    gap: 5px 14px;
    color: var(--home-muted, var(--muted));
    font-size: 11px;
    font-weight: 600;
    line-height: 1.25;
}

.stitch-select__network-rate,
.stitch-select__network-stock {
    display: inline-flex;
    align-items: center;
    gap: 5px;
}

.stitch-select__network-rate::before {
    width: 12px;
    height: 9px;
    border: 1.5px solid currentColor;
    border-radius: 2px;
    content: "";
}

.stitch-select__network-stock {
    color: var(--success);
}

.stitch-select__network-stock::before {
    width: 6px;
    height: 6px;
    background: currentColor;
    border-radius: 50%;
    content: "";
}

.stitch-select__network-rate.is-unavailable,
.stitch-select__network-stock.is-empty {
    color: var(--home-muted, var(--muted));
}

.stitch-select__best-rate {
    flex: 0 0 auto;
    padding: 3px 7px;
    background: #b9eff8;
    border: 1px solid #7dd7e8;
    border-radius: 999px;
    color: #164e63;
    font-size: 8px;
    font-weight: 800;
    letter-spacing: 0.12em;
    line-height: 1;
    text-transform: uppercase;
}

[data-stitch-select-value].stitch-select__network-choice {
    width: 100%;
}

.stitch-select__option.stitch-select__network-choice {
    min-height: 68px;
    padding-top: 10px;
    padding-bottom: 10px;
}

.stitch-select__button::after {
    position: absolute;
    top: 50%;
    right: 16px;
    width: 8px;
    height: 8px;
    border-right: 2px solid var(--home-muted, var(--muted));
    border-bottom: 2px solid var(--home-muted, var(--muted));
    content: "";
    transform: translateY(-65%) rotate(45deg);
}

.stitch-select__button:focus,
.stitch-select__button[aria-expanded="true"] {
    border-color: var(--home-blue, var(--signal));
    outline: 3px solid var(--focus-ring);
}

.stitch-select__button:disabled {
    cursor: not-allowed;
    opacity: 0.55;
}

.stitch-select__button[aria-invalid="true"] {
    border-color: var(--error);
}

.stitch-select__panel {
    position: absolute;
    z-index: 125;
    top: calc(100% + 6px);
    right: 0;
    left: 0;
    overflow-x: hidden;
    overflow-y: auto;
    max-height: 270px;
    padding: 6px;
    background: var(--select-surface);
    border: 1px solid var(--home-rule, var(--hairline));
    border-radius: 4px;
    box-shadow: 0 18px 40px rgba(17, 19, 24, 0.12);
    scrollbar-width: none;
}

.stitch-select__panel::-webkit-scrollbar {
    display: none;
    width: 0;
    height: 0;
}

.stitch-select__search {
    position: sticky;
    z-index: 1;
    top: 0;
    width: 100%;
    margin: 0 0 6px;
    padding: 10px;
    background: var(--select-surface);
    border: 1px solid var(--home-rule, var(--hairline));
    border-radius: 4px;
    color: var(--home-text, var(--ink));
    font: inherit;
}

.stitch-select__option {
    display: flex;
    align-items: center;
    width: 100%;
    min-height: 40px;
    padding: 0 36px 0 10px;
    background: var(--select-surface);
    border: 0;
    border-radius: 4px;
    color: var(--home-text, var(--ink));
    font-family: var(--sans);
    font-size: 15px;
    font-weight: 600;
    text-align: left;
    gap: 10px;
}

.stitch-select__option[hidden] {
    display: none;
}

.stitch-select__option:hover,
.stitch-select__option:focus {
    background: var(--home-surface-strong, var(--hover));
    outline: 0;
}

.stitch-select__option[aria-selected="true"] {
    position: relative;
    background: var(--home-surface-strong, var(--hover));
    color: var(--home-text, var(--ink));
}

.stitch-select__option:disabled {
    cursor: not-allowed;
    opacity: 0.45;
}

.field > .stitch-select .stitch-select__button,
.workbench-step .stitch-select__button {
    min-height: 50px;
    height: auto;
    padding-inline: 18px 44px;
    background: transparent;
}

.stitch-select__option[aria-selected="true"]::after {
    position: absolute;
    right: 12px;
    color: currentColor;
    content: "✓";
    font-weight: 700;
}

.stitch-services {
    padding-block: 96px;
    background: #fff;
    border-bottom: 1px solid var(--home-rule);
}

.stitch-services__heading {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(210px, 0.36fr);
    gap: clamp(48px, 8vw, 112px);
    align-items: end;
    margin-bottom: 42px;
}

.stitch-services__heading h2,
.stitch-section-heading h2 {
    margin: 0 0 16px;
    font-size: clamp(38px, 4.2vw, 56px);
    letter-spacing: -0.045em;
    line-height: 1.02;
}

.stitch-services__heading > div:first-child > p:last-child,
.stitch-section-heading > p:last-child {
    max-width: 680px;
    margin: 0;
    color: var(--home-muted);
    font-size: 17px;
    line-height: 1.6;
}

.stitch-services__count {
    display: flex;
    flex-direction: column;
    padding: 8px 0 8px 24px;
    border-left: 3px solid var(--home-text);
}

.stitch-services__count strong {
    font-size: clamp(42px, 5vw, 64px);
    letter-spacing: -0.055em;
    line-height: 0.95;
}

.stitch-services__count span {
    max-width: 190px;
    margin-top: 10px;
    color: var(--home-muted);
    font-size: 13px;
    line-height: 1.45;
}

.stitch-app-grid {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 16px;
}

.stitch-app {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    gap: 12px;
    min-height: 112px;
    padding: 18px 12px;
    background: var(--home-surface);
    border: 1px solid var(--home-rule);
    border-radius: 4px;
    color: var(--home-text);
    font-size: 15px;
    font-weight: 700;
    transition: background-color 160ms ease, border-color 160ms ease, transform 160ms ease;
}

.stitch-app:hover {
    background: #fff;
    border-color: var(--home-blue);
    transform: translateY(-2px);
}

.stitch-app__icon {
    display: grid;
    place-items: center;
    width: 28px;
    height: 28px;
}

.stitch-app__icon svg {
    width: 26px;
    height: 26px;
    fill: none;
    stroke: currentColor;
    stroke-linecap: round;
    stroke-linejoin: round;
    stroke-width: 1.6;
}

.stitch-app__icon img {
    width: 30px;
    height: 30px;
    object-fit: contain;
}

.stitch-services__action {
    display: flex;
    justify-content: center;
    margin-top: 34px;
}

.stitch-services__action .stitch-button {
    gap: 10px;
}

.stitch-reasons,
.stitch-process {
    padding-block: 96px;
    border-bottom: 1px solid var(--home-rule);
}

.stitch-section-heading {
    max-width: 800px;
    margin: 0 auto 48px;
    text-align: center;
}

.stitch-section-heading > p:last-child {
    margin-inline: auto;
}

.stitch-reason-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 18px;
}

.stitch-reason-card {
    min-height: 252px;
    padding: 30px;
    background: #fff;
    border: 1px solid var(--home-rule);
    border-radius: 4px;
}

.stitch-reason-card__icon {
    display: grid;
    place-items: center;
    width: 48px;
    height: 48px;
    margin-bottom: 38px;
    background: var(--dark-bg);
    border-radius: 4px;
    color: #fff;
}

.stitch-reason-card__icon svg {
    width: 25px;
    height: 25px;
    fill: none;
    stroke: currentColor;
    stroke-linecap: round;
    stroke-linejoin: round;
    stroke-width: 1.7;
}

.stitch-reason-card h3 {
    margin: 0 0 10px;
    font-size: 21px;
    letter-spacing: -0.025em;
}

.stitch-reason-card p {
    margin: 0;
    color: var(--home-muted);
    font-size: 15px;
    line-height: 1.55;
}

.stitch-steps {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 20px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.stitch-steps li {
    position: relative;
    min-height: 238px;
    padding: 32px 30px;
    background: var(--home-surface);
    border: 1px solid var(--home-rule);
    border-radius: 4px;
    text-align: center;
}

.stitch-step__number {
    display: grid;
    place-items: center;
    width: 48px;
    height: 48px;
    margin: 0 auto 30px;
    background: var(--dark-bg);
    border-radius: 4px;
    color: #fff;
    font-family: var(--sans);
    font-size: 18px;
    font-weight: 800;
    letter-spacing: 0;
}

.stitch-steps h3 {
    margin-bottom: 9px;
    font-size: 21px;
    letter-spacing: -0.02em;
    line-height: 1.15;
}

.stitch-steps p {
    margin: 0;
    color: var(--home-muted);
    font-size: 15px;
    line-height: 1.5;
}

/* About */
.about-page{background:var(--home-bg);color:var(--home-text)}
.about-eyebrow{display:block;margin-bottom:18px;color:var(--home-muted);font-size:10px;font-weight:800;letter-spacing:.11em;text-transform:uppercase}
.about-hero{overflow:hidden;border-bottom:1px solid var(--home-rule)}
.about-hero__grid{display:grid;grid-template-columns:minmax(0,1.05fr) minmax(360px,.75fr);gap:clamp(56px,8vw,120px);align-items:center;min-height:610px;padding-block:84px}
.about-hero__copy h1{max-width:720px;margin:0 0 26px;font-size:clamp(54px,6.2vw,82px);letter-spacing:-.06em;line-height:.94}
.about-hero__copy>p{max-width:650px;margin:0;color:var(--home-muted);font-size:18px;line-height:1.68}
.about-hero__actions{display:flex;align-items:center;gap:28px;margin-top:34px}
.about-text-link{color:var(--home-text);font-size:14px;font-weight:700}.about-text-link span{display:inline-block;margin-left:6px;transition:transform 160ms ease}.about-text-link:hover span{transform:translateX(4px)}
.about-hero__visual{position:relative;min-height:672px;background:transparent;border:0;border-radius:8px}
.about-hero__visual.about-hero__visual--foreign{width:100%;max-width:456px;min-height:0;aspect-ratio:2/3;margin-inline:auto}
.about-hero__visual>svg{position:absolute;inset:32px;width:calc(100% - 64px);height:calc(100% - 64px);fill:none;stroke:var(--home-text);stroke-linecap:round;stroke-linejoin:round;stroke-width:2}
.about-hero__visual>img{position:absolute;inset:0;width:100%;height:100%;object-fit:contain}
.about-signal-card{position:absolute;z-index:1;display:grid;gap:4px;min-width:132px;padding:13px 15px;background:var(--home-bg);border:1px solid var(--home-rule);border-radius:4px;box-shadow:0 14px 34px rgba(17,19,24,.08)}
.about-signal-card span{color:var(--home-muted);font-size:9px;font-weight:800;letter-spacing:.08em;text-transform:uppercase}.about-signal-card strong{font-size:13px}.about-signal-card--one{top:28px;left:-28px}.about-signal-card--two{top:48%;right:-34px}.about-signal-card--three{bottom:24px;left:-18px}.about-signal-card--three:before{width:7px;height:7px;background:#15966b;border-radius:50%;content:"";position:absolute;top:17px;right:14px}
.about-capabilities,.about-process{padding-block:104px;border-bottom:1px solid var(--home-rule)}
.about-section-heading{max-width:800px;margin-bottom:52px}.about-section-heading h2,.about-audience h2,.about-principles h2,.about-cta h2{margin:0;font-size:clamp(40px,4.6vw,60px);letter-spacing:-.05em;line-height:1}
.about-section-heading>p{max-width:680px;margin:20px 0 0;color:var(--home-muted);font-size:17px;line-height:1.6}
.about-capability-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));border-top:1px solid var(--home-rule);border-left:1px solid var(--home-rule)}
.about-capability{display:grid;grid-template-columns:78px minmax(0,1fr);gap:26px;min-height:250px;padding:34px;border-right:1px solid var(--home-rule);border-bottom:1px solid var(--home-rule)}
.about-capability__icon{display:grid;place-items:center;width:72px;height:72px;background:var(--home-surface);border-radius:50%}.about-capability__icon svg{width:38px;height:38px;fill:none;stroke:var(--home-text);stroke-linecap:round;stroke-linejoin:round;stroke-width:1.6}
.about-capability h3{margin:5px 0 12px;font-size:22px;letter-spacing:-.025em}.about-capability p{margin:0;color:var(--home-muted);font-size:15px;line-height:1.62}
.about-audience{padding-block:92px;border-bottom:1px solid var(--home-rule)}
.about-audience__grid{display:grid;grid-template-columns:minmax(0,1fr) minmax(360px,.72fr);gap:clamp(60px,9vw,128px);align-items:center}.about-audience h2{max-width:740px;font-size:clamp(38px,4.2vw,56px)}
.about-audience__tags{display:flex;flex-wrap:wrap;gap:10px;margin-bottom:28px}.about-audience__tags span{padding:11px 14px;background:var(--home-bg);border:1px solid var(--home-rule);border-radius:999px;font-size:13px;font-weight:700}.about-audience__grid>div:last-child>p{margin:0;color:var(--home-muted);font-size:14px;line-height:1.65}
.about-section-heading--split{display:grid;grid-template-columns:minmax(0,1fr) minmax(280px,.48fr);gap:72px;align-items:end;max-width:none}.about-section-heading--split>p{margin:0}
.about-process__list{margin:0;padding:0;border-top:1px solid var(--home-rule);list-style:none}.about-process__list li{display:grid;grid-template-columns:92px minmax(0,1fr);gap:34px;align-items:start;padding:34px 0;border-bottom:1px solid var(--home-rule)}.about-process__list li>span{color:var(--home-muted);font-size:12px;font-weight:800;letter-spacing:.08em}.about-process__list h3{margin:0 0 8px;font-size:25px;letter-spacing:-.025em}.about-process__list p{max-width:720px;margin:0;color:var(--home-muted);font-size:15px;line-height:1.55}
.about-principles{padding-block:104px;background:var(--home-bg);color:var(--home-text);border-bottom:1px solid var(--home-rule)}.about-principles__grid{display:grid;grid-template-columns:minmax(0,.7fr) minmax(420px,1fr);gap:clamp(72px,10vw,150px)}.about-principles .about-eyebrow{color:var(--home-muted)}.about-principles ul{margin:0;padding:0;border-top:1px solid var(--home-rule);list-style:none}.about-principles li{display:grid;grid-template-columns:minmax(150px,.45fr) minmax(0,1fr);gap:28px;padding:24px 0;border-bottom:1px solid var(--home-rule)}.about-principles li strong{font-size:15px}.about-principles li span{color:var(--home-muted);font-size:14px;line-height:1.55}
.about-cta{padding-block:82px}.about-cta__inner{display:flex;align-items:end;justify-content:space-between;gap:60px}.about-cta h2{max-width:760px;font-size:clamp(38px,4.4vw,58px)}.about-cta .stitch-button{flex:0 0 auto}

@media(max-width:900px){.about-hero__grid{grid-template-columns:1fr;min-height:0}.about-hero__visual{width:min(100%,560px);margin-inline:auto}.about-audience__grid{grid-template-columns:1fr;gap:44px}.about-principles__grid{grid-template-columns:1fr;gap:50px}}
@media(max-width:720px){.about-hero__grid{gap:52px;padding-block:60px 72px}.about-hero__copy h1{font-size:clamp(48px,14vw,66px)}.about-hero__copy>p{font-size:16px}.about-hero__actions{align-items:stretch;flex-direction:column;gap:20px}.about-text-link{text-align:center}.about-hero__visual{min-height:400px}.about-signal-card{min-width:116px;padding:11px 12px}.about-signal-card--one{left:12px}.about-signal-card--two{right:10px}.about-signal-card--three{left:16px}.about-capabilities,.about-process{padding-block:72px}.about-section-heading{margin-bottom:36px}.about-section-heading h2,.about-audience h2,.about-principles h2,.about-cta h2{font-size:39px}.about-capability-grid{grid-template-columns:1fr}.about-capability{grid-template-columns:58px minmax(0,1fr);gap:20px;min-height:0;padding:26px 22px}.about-capability__icon{width:54px;height:54px}.about-capability__icon svg{width:29px;height:29px}.about-capability h3{margin-top:2px;font-size:20px}.about-audience{padding-block:70px}.about-section-heading--split{grid-template-columns:1fr;gap:20px}.about-process__list li{grid-template-columns:52px minmax(0,1fr);gap:14px;padding:28px 0}.about-process__list h3{font-size:22px}.about-principles{padding-block:72px}.about-principles__grid{gap:36px}.about-principles li{grid-template-columns:1fr;gap:8px}.about-cta{padding-block:66px}.about-cta__inner{align-items:stretch;flex-direction:column;gap:32px}.about-cta .stitch-button{width:100%}}

.service-directory {
    background: var(--home-bg);
}

.service-directory__hero {
    position: relative;
    isolation: isolate;
    overflow: hidden;
    padding-block: 78px 86px;
    background:
        radial-gradient(circle at 78% 48%, rgba(69, 201, 138, 0.1), transparent 29%),
        var(--home-bg);
    border-bottom: 1px solid var(--home-rule);
}

.service-directory__hero::before {
    position: absolute;
    z-index: -1;
    inset: 0;
    background-image:
        linear-gradient(rgba(124, 132, 144, 0.055) 1px, transparent 1px),
        linear-gradient(90deg, rgba(124, 132, 144, 0.055) 1px, transparent 1px);
    background-size: 42px 42px;
    content: "";
    -webkit-mask-image: radial-gradient(circle at 79% 50%, #000, transparent 52%);
    mask-image: radial-gradient(circle at 79% 50%, #000, transparent 52%);
    pointer-events: none;
}

.service-directory__hero-grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(400px, 0.78fr);
    gap: clamp(64px, 8vw, 112px);
    align-items: center;
}

.service-directory__hero-copy {
    max-width: 720px;
}

.service-directory__eyebrow {
    display: block;
    margin-bottom: 16px;
    color: var(--home-muted);
    font-size: 10px;
    font-weight: 800;
    letter-spacing: 0.13em;
    text-transform: uppercase;
}

.service-directory__hero h1 {
    max-width: 760px;
    margin: 0 0 22px;
    font-size: clamp(50px, 6vw, 76px);
    letter-spacing: -0.055em;
    line-height: 0.97;
}

.service-directory__hero-copy > p {
    max-width: 660px;
    margin: 0;
    color: var(--home-muted);
    font-size: 18px;
    line-height: 1.65;
}

.service-matchboard {
    position: relative;
    width: min(100%, 500px);
    min-height: 380px;
    margin-left: auto;
    isolation: isolate;
    pointer-events: none;
}

.service-matchboard::before,
.service-matchboard::after {
    position: absolute;
    z-index: -2;
    border-radius: 50%;
    content: "";
}

.service-matchboard::before {
    top: 42px;
    left: 50%;
    width: 360px;
    height: 280px;
    background: radial-gradient(circle, rgba(69, 201, 138, 0.16), rgba(34, 158, 217, 0.045) 44%, transparent 72%);
    filter: blur(10px);
    transform: translateX(-50%);
}

.service-matchboard::after {
    top: 52px;
    left: 50%;
    width: 330px;
    aspect-ratio: 1;
    border: 1px solid rgba(124, 132, 144, 0.1);
    box-shadow: 0 0 0 36px rgba(124, 132, 144, 0.022);
    transform: translateX(-50%);
}

.service-matchboard__connector {
    position: absolute;
    z-index: -1;
    inset: 0;
    width: 100%;
    height: 100%;
    overflow: visible;
    fill: none;
    stroke: var(--home-muted);
    stroke-linecap: round;
    stroke-linejoin: round;
    stroke-width: 1.45;
    opacity: 0.48;
}

.service-matchboard__connector circle {
    fill: var(--home-bg);
    stroke: var(--home-text);
    stroke-width: 1.4;
}

.service-matchboard__connector-arrow {
    stroke-width: 1.8;
}

.service-matchboard__panel {
    position: absolute;
    z-index: 2;
    top: 68px;
    left: 50%;
    width: min(380px, calc(100% - 40px));
    padding: 22px;
    background: rgba(0,0,0,.2);
    border: 1px solid var(--home-rule);
    border-radius: 22px;
    box-shadow: 0 32px 86px rgba(17, 19, 24, 0.16), inset 0 1px 0 rgba(255, 255, 255, 0.62);
    transform: translateX(-50%);
}

html[data-theme="dark"] .service-matchboard__panel {
    box-shadow: 0 34px 90px rgba(0, 0, 0, 0.42), inset 0 1px 0 rgba(255, 255, 255, 0.045);
}

.service-matchboard__panel-heading,
.service-matchboard__live {
    display: flex;
    align-items: center;
}

.service-matchboard__panel-heading {
    justify-content: space-between;
    gap: 18px;
    color: var(--home-muted);
    font-size: 9px;
    font-weight: 800;
    letter-spacing: 0.1em;
    text-transform: uppercase;
}

.service-matchboard__live {
    gap: 7px;
    white-space: nowrap;
}

.service-matchboard__live i,
.service-matchboard__status {
    display: block;
    flex: 0 0 auto;
    background: #45c98a;
    border-radius: 50%;
    box-shadow: 0 0 0 4px rgba(69, 201, 138, 0.1), 0 0 14px rgba(69, 201, 138, 0.45);
}

.service-matchboard__live i {
    width: 7px;
    height: 7px;
}

.service-matchboard__prompt {
    display: grid;
    grid-template-columns: 40px minmax(0, 1fr);
    gap: 12px;
    align-items: center;
    min-height: 58px;
    margin-top: 14px;
    padding: 9px 12px;
    background: var(--home-bg);
    border: 1px solid var(--home-rule);
    border-radius: 14px;
}

.service-matchboard__prompt-icon,
.service-matchboard__callout-icon {
    display: grid;
    place-items: center;
    color: var(--home-text);
    border-radius: 12px;
}

.service-matchboard__prompt-icon {
    width: 40px;
    height: 40px;
    background: var(--home-surface-strong);
}

.service-matchboard__prompt-icon svg,
.service-matchboard__callout-icon svg {
    width: 22px;
    height: 22px;
    fill: none;
    stroke: currentColor;
    stroke-linecap: round;
    stroke-linejoin: round;
    stroke-width: 1.65;
}

.service-matchboard__prompt small,
.service-matchboard__prompt strong,
.service-matchboard__callout small,
.service-matchboard__callout strong {
    display: block;
}

.service-matchboard__prompt small,
.service-matchboard__callout small {
    color: var(--home-muted);
    font-size: 9px;
    font-weight: 800;
    letter-spacing: 0.09em;
    line-height: 1.2;
    text-transform: uppercase;
}

.service-matchboard__prompt strong {
    margin-top: 3px;
    color: var(--home-text);
    font-size: 14px;
}

.service-matchboard__apps {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 9px;
    margin-top: 14px;
}

.service-matchboard__app {
    position: relative;
    display: flex;
    align-items: center;
    min-width: 0;
    min-height: 52px;
    gap: 8px;
    padding: 9px 10px;
    background: var(--home-bg);
    border: 1px solid var(--home-rule);
    border-radius: 14px;
    color: var(--home-muted);
}

.service-matchboard__app img {
    width: 25px;
    height: 25px;
    flex: 0 0 auto;
    object-fit: contain;
}

.service-matchboard__app > span {
    overflow: hidden;
    font-size: 9px;
    font-weight: 750;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.service-matchboard__app > i {
    position: absolute;
    top: -5px;
    right: -5px;
    display: grid;
    width: 17px;
    height: 17px;
    place-items: center;
    background: #45c98a;
    color: #07130d;
    border: 2px solid var(--home-surface);
    border-radius: 50%;
    font-size: 9px;
    font-style: normal;
    font-weight: 900;
}

.service-matchboard__app.is-selected {
    border-color: rgba(69, 201, 138, 0.72);
    box-shadow: 0 0 0 4px rgba(69, 201, 138, 0.08);
    color: var(--home-text);
}

.service-matchboard__callout {
    position: absolute;
    z-index: 3;
    display: grid;
    grid-template-columns: 42px minmax(0, 1fr) auto;
    gap: 12px;
    align-items: center;
    min-height: 70px;
    padding: 11px 14px;
    background: var(--home-surface);
    border: 1px solid var(--home-rule);
    border-radius: 17px;
    box-shadow: 0 20px 54px rgba(17, 19, 24, 0.16), inset 0 1px 0 rgba(255, 255, 255, 0.55);
    animation: service-matchboard-float 6s ease-in-out infinite;
}

html[data-theme="dark"] .service-matchboard__callout {
    box-shadow: 0 22px 58px rgba(0, 0, 0, 0.4), inset 0 1px 0 rgba(255, 255, 255, 0.045);
}

.service-matchboard__callout--service {
    top: 6px;
    left: 0;
    width: 190px;
}

.service-matchboard__callout--availability {
    right: 0;
    bottom: 2px;
    width: 208px;
    animation-delay: -3s;
}

.service-matchboard__callout-icon {
    width: 42px;
    height: 42px;
    background: var(--home-surface-strong);
}

.service-matchboard__callout-icon--live {
    color: #15966b;
}

.service-matchboard__callout strong {
    margin-top: 4px;
    color: var(--home-text);
    font-size: 13px;
    white-space: nowrap;
}

.service-matchboard__status {
    width: 8px;
    height: 8px;
}

@keyframes service-matchboard-float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-4px); }
}

@media (prefers-reduced-motion: reduce) {
    .service-matchboard__callout {
        animation: none !important;
    }
}


.service-directory__catalog {
    padding-block: 88px 110px;
}

.service-directory__toolbar {
    display: flex;
    align-items: end;
    justify-content: space-between;
    gap: 40px;
    margin-bottom: 30px;
}

.service-directory__toolbar h2 {
    margin: 0 0 8px;
    font-size: clamp(34px, 4vw, 48px);
}

.service-directory__toolbar p {
    margin: 0;
    color: var(--home-muted);
}

.service-directory__search {
    flex: 0 1 380px;
}

.service-directory__search input {
    width: 100%;
    height: 54px;
    padding: 0 18px;
    background: #fff;
    border: 1px solid var(--home-rule);
    border-radius: 4px;
}

.service-directory__search input:focus {
    border-color: var(--home-blue);
    outline: 3px solid var(--focus-ring);
}

.service-directory__filters {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 28px;
    padding-bottom: 18px;
    border-bottom: 1px solid var(--home-rule);
}

.service-directory__filters button {
    min-height: 40px;
    padding: 0 15px;
    background: #fff;
    border: 1px solid var(--home-rule);
    border-radius: 4px;
    color: var(--home-muted);
    font-size: 13px;
    font-weight: 700;
}

.service-directory__filters button:hover,
.service-directory__filters button.is-active {
    background: var(--dark-bg);
    border-color: var(--dark-bg);
    color: #fff;
}

.service-directory__filters > span {
    margin-left: auto;
    color: var(--home-muted);
    font-family: var(--sans);
    font-size: 12px;
}

.service-directory__alphabet {
    display: grid;
    grid-template-columns: minmax(58px, 1.6fr) repeat(27, minmax(32px, 1fr));
    gap: 5px;
    margin-bottom: 28px;
}

.service-directory__alphabet button,
.service-directory__pagination button {
    min-height: 38px;
    padding: 0 8px;
    background: var(--home-surface);
    border: 1px solid var(--home-rule);
    border-radius: 4px;
    color: var(--home-muted);
    font-size: 12px;
    font-weight: 800;
}

.service-directory__alphabet button:hover:not(:disabled),
.service-directory__alphabet button.is-active,
.service-directory__pagination button:hover:not(:disabled),
.service-directory__pagination button.is-active {
    background: var(--dark-bg);
    border-color: var(--dark-bg);
    color: #fff;
}

.service-directory__alphabet button:disabled,
.service-directory__pagination button:disabled {
    cursor: not-allowed;
    opacity: 0.35;
}

@media (max-width: 1100px) {
    .service-directory__alphabet {
        display: flex;
        padding-bottom: 8px;
        overflow-x: auto;
        scrollbar-width: thin;
    }

    .service-directory__alphabet button {
        flex: 0 0 36px;
    }

    .service-directory__alphabet button:first-child {
        flex-basis: 58px;
    }
}

@media (min-width: 901px) and (max-width: 1100px) {
    .service-matchboard__app {
        min-height: 58px;
        flex-direction: column;
        justify-content: center;
        gap: 4px;
        padding: 6px;
    }

    .service-matchboard__app > span {
        max-width: 100%;
        font-size: 8.5px;
    }
}

.service-directory__notice {
    margin: 0 0 24px;
    padding: 13px 15px;
    background: #fff8e8;
    border: 1px solid #ecd59c;
    color: #765514;
    font-size: 14px;
}

.service-directory__grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 14px;
}

.service-directory__card {
    display: flex;
    min-width: 0;
    min-height: 164px;
    padding: 20px;
    flex-direction: column;
    border: 1px solid var(--home-rule);
    border-radius: 4px;
}

.service-directory__card-main {
    display: flex;
    align-items: center;
    gap: 14px;
}

.service-directory__card-main > img,
.service-directory__badge {
    flex: 0 0 42px;
    width: 42px;
    height: 42px;
}

.service-directory__card-main > img {
    padding: 4px;
    object-fit: contain;
}

.service-directory__badge {
    display: grid;
    place-items: center;
    border: 1px solid currentColor;
    border-radius: 8px;
    font-size: 15px;
    font-weight: 800;
}

.service-directory__badge--tone-0 { background: #fee2e2; color: #991b1b; }
.service-directory__badge--tone-1 { background: #ffedd5; color: #9a3412; }
.service-directory__badge--tone-2 { background: #fef3c7; color: #854d0e; }
.service-directory__badge--tone-3 { background: #dcfce7; color: #166534; }
.service-directory__badge--tone-4 { background: #cffafe; color: #155e75; }
.service-directory__badge--tone-5 { background: #dbeafe; color: #1e40af; }
.service-directory__badge--tone-6 { background: #ede9fe; color: #5b21b6; }
.service-directory__badge--tone-7 { background: #fce7f3; color: #9d174d; }

.service-directory__card h3 {
    max-width: 240px;
    margin: 0 0 4px;
    overflow: hidden;
    font-size: 18px;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.service-directory__card-main div > span {
    color: var(--home-muted);
    font-size: 12px;
}

.service-directory__routes {
    display: flex;
    align-items: flex-start;
    flex-wrap: wrap;
    gap: 6px;
    margin: 24px 0;
}

.service-directory__routes span {
    padding: 5px 8px;
    background: #fff;
    border: 1px solid var(--home-rule);
    border-radius: 999px;
    color: var(--home-muted);
    font-size: 11px;
    line-height: 1.2;
}

.service-directory__card > a {
    display: inline-flex;
    align-items: center;
    justify-content: space-between;
    margin-top: auto;
    padding-top: 14px;
    border-top: 1px solid var(--home-rule);
    color: var(--home-text);
    font-size: 13px;
    font-weight: 800;
}

.service-directory__card > a:hover {
    color: var(--home-blue);
}

.service-directory__empty {
    padding: 72px 24px;
    background: var(--home-surface);
    border: 1px solid var(--home-rule);
    text-align: center;
}

.service-directory__empty h3 {
    margin-bottom: 8px;
    font-size: 24px;
}

.service-directory__empty p {
    margin: 0;
    color: var(--home-muted);
}

.service-directory__pagination {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    margin-top: 34px;
}

.service-directory__pagination[hidden] {
    display: none;
}

.service-directory__pagination > button {
    min-width: 108px;
}

.service-directory__pagination-pages {
    display: flex;
    align-items: center;
    gap: 6px;
}

.service-directory__pagination-pages button {
    min-width: 38px;
}

.service-directory__pagination-gap {
    display: grid;
    min-width: 22px;
    place-items: center;
    color: var(--home-muted);
}

.admin-topup-dialog {
    width: min(520px, calc(100vw - 32px));
    padding: 0;
    background: var(--quiet);
    border: 1px solid var(--hairline);
    border-radius: 8px;
    color: var(--ink);
    box-shadow: 0 24px 80px rgba(0, 0, 0, 0.32);
}

.admin-topup-dialog::backdrop {
    background: rgba(0, 0, 0, 0.72);
}

.admin-topup-dialog form {
    display: grid;
    gap: 22px;
    padding: 28px;
}

.admin-topup-dialog header,
.admin-topup-dialog__actions {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
}

.admin-topup-dialog h2,
.admin-topup-dialog p {
    margin: 0;
}

.admin-topup-dialog h2 {
    margin-top: 6px;
    font-size: 26px;
}

.admin-topup-dialog p {
    color: var(--muted);
    line-height: 1.65;
}

.admin-topup-dialog__close {
    display: grid;
    width: 38px;
    height: 38px;
    padding: 0;
    place-items: center;
    background: transparent;
    border: 1px solid var(--hairline);
    border-radius: 50%;
    color: var(--ink);
    font-size: 22px;
}

.admin-topup-dialog__actions {
    justify-content: flex-end;
    padding-top: 4px;
}

.admin-category-dialog {
    width: min(760px, calc(100vw - 32px));
    max-width: calc(100vw - 32px);
    height: min(820px, calc(100vh - 48px));
    height: min(820px, calc(100dvh - 48px));
    max-height: min(900px, calc(100dvh - 48px));
    padding: 0;
    overflow: hidden;
    background: var(--quiet);
    border: 1px solid var(--hairline);
    border-radius: 14px;
    color: var(--ink);
    box-shadow: 0 28px 90px rgba(0, 0, 0, .42);
    white-space: normal;
}

.admin-category-dialog::backdrop {
    background: rgba(0, 0, 0, .72);
    backdrop-filter: blur(3px);
}

.admin-category-dialog .admin-category-dialog__form {
    display: grid;
    grid-template-rows: auto minmax(0, 1fr) auto;
    width: 100%;
    min-width: 0;
    height: 100%;
    min-height: 0;
    max-width: none;
    max-height: min(900px, calc(100dvh - 48px));
    gap: 0;
    overflow: hidden;
    padding: 0;
}

.admin-category-dialog__header,
.admin-category-dialog__actions {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    padding: 22px 24px;
    background: var(--canvas);
}

.admin-category-dialog__header {
    border-bottom: 1px solid var(--hairline);
}

.admin-category-dialog__header > div {
    flex: 1 1 0;
    min-width: 0;
    max-width: 100%;
}

.admin-category-dialog__header h2,
.admin-category-dialog__header p {
    margin: 0;
}

.admin-category-dialog__header h2 {
    margin-top: 4px;
    font-size: clamp(21px, 3vw, 28px);
    line-height: 1.15;
    letter-spacing: -.025em;
    overflow-wrap: anywhere;
    white-space: normal;
    word-break: break-word;
}

.admin-category-dialog__header p {
    margin-top: 6px;
    color: var(--muted);
    font-size: 11px;
    overflow-wrap: anywhere;
    white-space: normal;
}

.admin-category-dialog__close {
    display: grid;
    flex: 0 0 auto;
    width: 40px;
    height: 40px;
    padding: 0;
    place-items: center;
    background: transparent;
    border: 1px solid var(--hairline);
    border-radius: 50%;
    color: var(--ink);
    font-size: 24px;
    cursor: pointer;
}

.admin-category-dialog__fields {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    width: 100%;
    min-width: 0;
    max-width: 100%;
    min-height: 0;
    gap: 16px;
    padding: 24px;
    overflow-x: hidden;
    overflow-y: auto;
    overscroll-behavior: contain;
    scrollbar-gutter: stable;
    -webkit-overflow-scrolling: touch;
}

.admin-category-dialog__fields > label {
    display: grid;
    min-width: 0;
    gap: 7px;
}

.admin-category-dialog__fields input,
.admin-category-dialog__fields select,
.admin-category-dialog__fields textarea {
    min-width: 0;
    max-width: 100%;
}

.admin-category-dialog__wide {
    grid-column: 1 / -1;
}

.admin-category-dialog__fields textarea {
    min-height: 86px;
}

.admin-category-dialog__actions {
    justify-content: flex-end;
    border-top: 1px solid var(--hairline);
}

.admin-category-icon {
    width: 16px;
    height: 16px;
    margin-right: 7px;
    object-fit: contain;
    vertical-align: -3px;
}

@media (max-width: 640px) {
    .admin-category-dialog {
        width: 100%;
        height: calc(100vh - 32px);
        height: calc(100dvh - 32px);
        max-width: none;
        max-height: calc(100dvh - 32px);
        margin: auto 0 0;
        border-width: 1px 0 0;
        border-radius: 22px 22px 0 0;
    }

    .admin-category-dialog[open] {
        animation: mobile-select-drawer-in 180ms ease-out;
    }

    .admin-category-dialog .admin-category-dialog__form {
        max-height: calc(100dvh - 32px);
    }

    .admin-category-dialog__header,
    .admin-category-dialog__fields,
    .admin-category-dialog__actions {
        padding-right: 18px;
        padding-left: 18px;
    }

    .admin-category-dialog__fields {
        grid-template-columns: 1fr;
    }

    .admin-category-dialog__wide {
        grid-column: auto;
    }

    .admin-category-dialog__actions {
        padding-bottom: calc(18px + env(safe-area-inset-bottom));
    }
}

.stitch-final-cta {
    padding-block: 98px;
    text-align: center;
}

.stitch-final-cta h2 {
    max-width: 860px;
    margin: 0 auto 34px;
    font-size: clamp(42px, 5vw, 64px);
    letter-spacing: -0.045em;
    line-height: 1.02;
}

.status-page {
    min-height: 70vh;
    background: var(--home-bg);
}

.status-page__hero {
    padding-block: 92px;
    border-bottom: 1px solid var(--home-rule);
}

.status-page__hero-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.25fr) minmax(340px, 0.75fr);
    gap: clamp(64px, 9vw, 132px);
    align-items: end;
}

.status-page__eyebrow {
    margin: 0 0 20px;
    color: var(--home-muted);
    font-family: var(--sans);
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.13em;
    text-transform: uppercase;
}

.status-page__hero h1 {
    max-width: 720px;
    margin: 0 0 20px;
    font-size: clamp(50px, 6vw, 50px);
    letter-spacing: -0.055em;
    line-height: 0.96;
}

.status-page__hero > .stitch-shell > div:first-child > p:last-child {
    max-width: 680px;
    margin: 0;
    color: var(--home-muted);
    font-size: 18px;
    line-height: 1.6;
}

.status-page__summary {
    display: grid;
    grid-template-columns: 18px 1fr;
    gap: 16px;
    align-items: start;
    padding: 26px;
    background: #fff;
    border: 1px solid var(--home-rule);
    border-radius: 4px;
}

.status-page__pulse {
    width: 12px;
    height: 12px;
    margin-top: 5px;
    background: #7b8490;
    border-radius: 50%;
    box-shadow: 0 0 0 5px rgba(123, 132, 144, 0.14);
}

.status-page__summary--operational .status-page__pulse,
.status-component--operational .status-component__heading i {
    background: var(--success);
    box-shadow: 0 0 0 5px rgba(11, 143, 85, 0.12);
}

.status-page__summary--degraded .status-page__pulse,
.status-page__summary--unknown .status-page__pulse,
.status-component--degraded .status-component__heading i,
.status-component--maintenance .status-component__heading i,
.status-component--unknown .status-component__heading i {
    background: var(--warning);
    box-shadow: 0 0 0 5px rgba(183, 106, 0, 0.12);
}

.status-page__summary--major_outage .status-page__pulse,
.status-component--outage .status-component__heading i {
    background: var(--error);
    box-shadow: 0 0 0 5px rgba(214, 60, 74, 0.12);
}

.status-page__summary strong,
.status-page__summary span {
    display: block;
}

.status-page__summary strong {
    margin-bottom: 8px;
    font-size: 18px;
}

.status-page__summary span {
    color: var(--home-muted);
    font-size: 12px;
    line-height: 1.5;
}

.status-page__components {
    padding-block: 84px 108px;
}

.status-page__section-heading {
    display: flex;
    justify-content: space-between;
    gap: 40px;
    align-items: end;
    margin-bottom: 30px;
}

.status-page__section-heading h2 {
    margin: 0 0 8px;
    font-size: clamp(34px, 4vw, 48px);
    letter-spacing: -0.04em;
}

.status-page__section-heading p {
    margin: 0;
    color: var(--home-muted);
}

.status-page__grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    border-top: 1px solid var(--home-rule);
    border-left: 1px solid var(--home-rule);
}

.status-component {
    min-height: 174px;
    padding: 28px;
    border-right: 1px solid var(--home-rule);
    border-bottom: 1px solid var(--home-rule);
}

.status-component__heading {
    display: flex;
    justify-content: space-between;
    gap: 24px;
    align-items: center;
    margin-bottom: 24px;
}

.status-component__heading h3 {
    margin: 0;
    font-size: 20px;
    letter-spacing: -0.02em;
}

.status-component__heading span {
    display: inline-flex;
    gap: 9px;
    align-items: center;
    flex: 0 0 auto;
    color: var(--home-muted);
    font-family: var(--sans);
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

.status-component__heading i {
    width: 8px;
    height: 8px;
    background: #7b8490;
    border-radius: 50%;
}

.status-component > p {
    max-width: 560px;
    margin: 0;
    color: var(--home-muted);
    font-size: 14px;
    line-height: 1.55;
}

.status-page__note {
    max-width: 760px;
    margin: 24px 0 0;
    color: var(--home-muted);
    font-size: 12px;
    line-height: 1.55;
}

.status-page [data-status-refresh][disabled] {
    cursor: wait;
    opacity: 0.6;
}

@media (max-width: 900px) {
    .stitch-shell {
        width: min(calc(100% - 48px), 1200px);
    }

    .stitch-navigation {
        margin-left: 18px;
    }

    .stitch-nav {
        gap: 12px;
    }

    .stitch-header__actions {
        gap: 12px;
    }

    .stitch-nav a,
    .stitch-login {
        font-size: 13px;
    }

    .stitch-header .stitch-button--compact {
        padding-inline: 12px;
        font-size: 12px;
    }

    .stitch-hero__grid {
        grid-template-columns: minmax(0, 1fr) minmax(320px, 0.82fr);
        gap: 44px;
    }

    .stitch-app-grid {
        grid-template-columns: repeat(3, 1fr);
    }

    .stitch-reason-grid,
    .service-directory__grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .service-directory__hero-grid {
        grid-template-columns: 1fr;
        gap: 48px;
    }

    .service-directory__hero-copy {
        max-width: 760px;
    }

    .service-matchboard {
        width: min(100%, 520px);
        margin-inline: auto;
    }

    .status-page__hero-grid {
        grid-template-columns: 1fr;
        gap: 42px;
    }
}

@media (min-width: 721px) and (max-width: 820px) {
    .stitch-header {
        height: 68px;
    }

    .stitch-header__inner {
        justify-content: space-between;
    }

    .stitch-menu-toggle {
        display: inline-flex;
        align-items: center;
        justify-content: center;
        width: 44px;
        min-height: 44px;
        padding: 0;
        background: transparent;
        border: 0;
        color: var(--home-text);
        cursor: pointer;
    }

    .stitch-menu-toggle__icon {
        position: relative;
        display: block;
        width: 20px;
        height: 16px;
    }

    .stitch-menu-toggle__icon i {
        position: absolute;
        right: 0;
        left: 0;
        height: 2px;
        background: currentColor;
        border-radius: 999px;
        transition: opacity 160ms ease, transform 160ms ease, top 160ms ease;
    }

    .stitch-menu-toggle__icon i:first-child {
        top: 1px;
    }

    .stitch-menu-toggle__icon i:nth-child(2) {
        top: 7px;
    }

    .stitch-menu-toggle__icon i:last-child {
        top: 13px;
    }

    .stitch-menu-toggle[aria-expanded="true"] .stitch-menu-toggle__icon i:first-child {
        top: 7px;
        transform: rotate(45deg);
    }

    .stitch-menu-toggle[aria-expanded="true"] .stitch-menu-toggle__icon i:nth-child(2) {
        opacity: 0;
    }

    .stitch-menu-toggle[aria-expanded="true"] .stitch-menu-toggle__icon i:last-child {
        top: 7px;
        transform: rotate(-45deg);
    }

    .stitch-navigation {
        position: fixed;
        z-index: 99;
        top: 68px;
        right: 0;
        bottom: 0;
        left: 0;
        display: none;
        align-items: stretch;
        flex-direction: column;
        justify-content: flex-start;
        margin: 0;
        padding: 16px 24px 32px;
        overflow-y: auto;
        background: var(--home-bg);
        border: 0;
    }

    .stitch-navigation--guest {
        padding-bottom: 96px;
    }

    .stitch-navigation--guest .theme-toggle {
        position: fixed;
        left: 24px;
        bottom: max(24px, env(safe-area-inset-bottom));
    }

    .stitch-navigation.is-open {
        display: flex;
    }

    .stitch-nav,
    .stitch-header__actions {
        align-items: stretch;
        flex-direction: column;
        gap: 0;
    }

    .stitch-nav a,
    .stitch-login {
        min-height: 58px;
        border-bottom: 1px solid var(--home-rule);
        font-size: 18px;
    }

    .stitch-header__actions {
        margin-top: 24px;
        gap: 12px;
    }

    .stitch-header__actions .stitch-button {
        min-height: 48px;
    }
}

@media (max-width: 720px) {
    body.page-home-stitch {
        font-size: 16px;
    }

    .stitch-shell {
        width: min(calc(100% - 40px), 1200px);
    }

    .stitch-header {
        height: 68px;
    }

    .stitch-header__inner {
        justify-content: space-between;
    }

    .stitch-menu-toggle {
        display: inline-flex;
        align-items: center;
        justify-content: center;
        width: 44px;
        min-height: 44px;
        padding: 0;
        background: transparent;
        border: 0;
        color: var(--home-text);
        font-family: var(--sans);
        font-size: 15px;
        font-weight: 700;
    }

    .stitch-menu-toggle__icon {
        position: relative;
        display: block;
        width: 20px;
        height: 16px;
    }

    .stitch-menu-toggle__icon i {
        position: absolute;
        right: 0;
        left: 0;
        height: 2px;
        border-radius: 999px;
        background: currentColor;
        transition: opacity 160ms ease, transform 160ms ease, top 160ms ease;
    }

    .stitch-menu-toggle__icon i:first-child {
        top: 1px;
    }

    .stitch-menu-toggle__icon i:nth-child(2) {
        top: 7px;
    }

    .stitch-menu-toggle__icon i:last-child {
        top: 13px;
    }

    .stitch-menu-toggle[aria-expanded="true"] .stitch-menu-toggle__icon i:first-child {
        top: 7px;
        transform: rotate(45deg);
    }

    .stitch-menu-toggle[aria-expanded="true"] .stitch-menu-toggle__icon i:nth-child(2) {
        opacity: 0;
    }

    .stitch-menu-toggle[aria-expanded="true"] .stitch-menu-toggle__icon i:last-child {
        top: 7px;
        transform: rotate(-45deg);
    }

    .stitch-navigation {
        position: fixed;
        z-index: 99;
        top: 68px;
        right: 0;
        bottom: 0;
        left: 0;
        display: none;
        align-items: stretch;
        flex-direction: column;
        justify-content: flex-start;
        margin: 0;
        padding: 16px 20px 32px;
        overflow-y: auto;
        background: #fff;
        border: 0;
    }

    .stitch-navigation--guest {
        padding-bottom: 96px;
    }

    .stitch-navigation--guest .theme-toggle {
        position: fixed;
        left: 20px;
        bottom: max(24px, env(safe-area-inset-bottom));
    }

    .stitch-navigation.is-open {
        display: flex;
    }

    .stitch-nav,
    .stitch-header__actions {
        align-items: stretch;
        flex-direction: column;
        gap: 0;
    }

    .stitch-nav a,
    .stitch-login {
        min-height: 58px;
        border-bottom: 1px solid var(--home-rule);
        font-size: 18px;
    }

    .stitch-header__actions {
        margin-top: 24px;
        gap: 12px;
    }

    .stitch-header__actions .stitch-button {
        min-height: 48px;
    }

    .stitch-hero__grid {
        grid-template-columns: 1fr;
        gap: 48px;
        min-height: 0;
        padding-block: 64px;
    }

    .stitch-hero__copy h1 {
        margin-top: 20px;
        font-size: clamp(44px, 13vw, 58px);
        line-height: 0.98;
    }

    .stitch-hero__copy p {
        font-size: 17px;
    }

    .stitch-hero__copy .stitch-button {
        width: 100%;
    }

    .stitch-check {
        height: 460px;
        padding: 0;
    }

    .stitch-check__face {
        padding: 28px 22px 24px;
    }

    .stitch-check__coordinate {
        position: static;
        margin-bottom: 16px;
    }

    .stitch-check h2 {
        padding-right: 0;
    }

    .stitch-services {
        padding-block: 68px;
    }

    .stitch-services__heading {
        grid-template-columns: 1fr;
        gap: 30px;
        margin-bottom: 34px;
    }

    .stitch-services__heading h2,
    .stitch-section-heading h2 {
        font-size: 40px;
    }

    .stitch-services__count {
        padding-left: 18px;
    }

    .stitch-services__count span {
        max-width: 260px;
    }

    .stitch-app-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 12px;
    }

    .stitch-app {
        min-height: 104px;
    }

    .stitch-reasons,
    .stitch-process {
        padding-block: 72px;
    }

    .stitch-section-heading {
        margin-bottom: 34px;
        text-align: left;
    }

    .stitch-section-heading > p:last-child {
        margin-inline: 0;
    }

    .stitch-reason-grid,
    .service-directory__grid {
        grid-template-columns: 1fr;
    }

    .stitch-reason-card {
        min-height: 0;
        padding: 26px;
    }

    .stitch-reason-card__icon {
        margin-bottom: 28px;
    }

    .stitch-steps {
        grid-template-columns: 1fr;
        gap: 14px;
    }

    .stitch-steps li {
        min-height: 0;
        padding: 24px;
    }

    .stitch-step__number {
        margin-bottom: 24px;
    }

    .service-directory__hero {
        padding-block: 54px 64px;
    }

    .status-page__hero {
        padding-block: 64px;
    }

    .status-page__hero h1 {
        font-size: clamp(44px, 13vw, 60px);
    }

    .status-page__summary {
        padding: 22px;
    }

    .status-page__components {
        padding-block: 64px 80px;
    }

    .status-page__section-heading {
        align-items: stretch;
        flex-direction: column;
        gap: 22px;
    }

    .status-page__section-heading .stitch-button {
        width: 100%;
    }

    .status-page__grid {
        grid-template-columns: 1fr;
    }

    .status-component {
        min-height: 0;
        padding: 24px;
    }

    .status-component__heading {
        align-items: flex-start;
        flex-direction: column;
        gap: 12px;
    }

    .service-directory__hero h1 {
        font-size: clamp(46px, 13vw, 62px);
    }

    .service-directory__hero-grid {
        gap: 34px;
    }

    .service-directory__hero-copy > p {
        font-size: 16px;
        line-height: 1.58;
    }

    .service-matchboard {
        width: min(100%, 500px);
        min-height: 360px;
        margin-inline: auto;
    }

    .service-matchboard::before {
        top: 54px;
        width: min(300px, 92%);
        height: 248px;
    }

    .service-matchboard::after {
        top: 62px;
        width: min(270px, 82%);
    }

    .service-matchboard__connector {
        display: none;
    }

    .service-matchboard__panel {
        top: 48px;
        width: 100%;
        padding: 16px;
        border-radius: 19px;
    }

    .service-matchboard__prompt {
        min-height: 52px;
        margin-top: 12px;
    }

    .service-matchboard__apps {
        gap: 8px;
        margin-top: 12px;
    }

    .service-matchboard__app {
        min-height: 58px;
        flex-direction: column;
        justify-content: center;
        gap: 4px;
        padding: 6px;
    }

    .service-matchboard__app img {
        width: 25px;
        height: 25px;
    }

    .service-matchboard__app > span {
        max-width: 100%;
        font-size: 8.5px;
    }

    .service-matchboard__callout {
        min-height: 62px;
        grid-template-columns: 36px minmax(0, 1fr) auto;
        gap: 10px;
        padding: 9px 11px;
        border-radius: 15px;
    }

    .service-matchboard__callout--service {
        top: 0;
        left: 8px;
        width: 180px;
    }

    .service-matchboard__callout--availability {
        right: 8px;
        bottom: 0;
        width: 194px;
    }

    .service-matchboard__callout-icon {
        width: 36px;
        height: 36px;
        border-radius: 10px;
    }

    .service-matchboard__callout-icon svg {
        width: 20px;
        height: 20px;
    }

    .service-matchboard__callout strong {
        font-size: 12px;
    }

    .service-directory__catalog {
        padding-block: 64px 80px;
    }

    .service-directory__toolbar {
        align-items: stretch;
        flex-direction: column;
        gap: 24px;
    }

    .service-directory__search {
        flex-basis: auto;
    }

    .service-directory__filters {
        align-items: stretch;
        flex-wrap: wrap;
    }

    .service-directory__filters button {
        flex: 1 1 auto;
    }

    .service-directory__filters > span {
        width: 100%;
        margin: 8px 0 0;
        text-align: right;
    }

    .service-directory__alphabet {
        display: flex;
        padding-bottom: 8px;
        overflow-x: auto;
        scrollbar-width: thin;
    }

    .service-directory__alphabet button {
        flex: 0 0 40px;
    }

    .service-directory__alphabet button:first-child {
        flex-basis: 58px;
    }

    .service-directory__pagination {
        flex-wrap: wrap;
        gap: 8px;
    }

    .service-directory__pagination-pages {
        order: -1;
        width: 100%;
        justify-content: center;
    }

    .stitch-final-cta {
        padding-block: 76px;
    }

    .stitch-final-cta h2 {
        font-size: clamp(42px, 12vw, 56px);
    }

    .stitch-final-cta .stitch-button {
        width: 100%;
    }

}
.transaction-history {
    position: relative;
    width: min(100%, 980px);
    min-height: 70vh;
    margin-inline: auto;
}

.transaction-history__header {
    display: grid;
    grid-template-columns: 44px 1fr 44px;
    align-items: center;
    min-height: 68px;
    border-bottom: 1px solid var(--hairline);
}

.transaction-history__header > a {
    display: grid;
    width: 40px;
    height: 40px;
    place-items: center;
    color: var(--ink);
}

.transaction-history__header svg {
    width: 22px;
    height: 22px;
    fill: currentColor;
}

.transaction-history__header h1 {
    margin: 0;
    font-size: 20px;
    letter-spacing: -0.02em;
}

.transaction-filters {
    position: relative;
    z-index: 12;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 14px;
    padding: 18px 0;
    border-bottom: 1px solid var(--hairline);
}

.transaction-filters > button {
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 0;
    min-height: 48px;
    gap: 12px;
    padding: 0 18px;
    background: var(--quiet);
    border: 1px solid var(--hairline);
    border-radius: 10px;
    color: var(--ink);
    font-size: 14px;
}

.transaction-filters > button span {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.transaction-filters > button svg {
    width: 18px;
    height: 18px;
    flex: 0 0 auto;
    fill: none;
    stroke: currentColor;
    stroke-linecap: round;
    stroke-linejoin: round;
    stroke-width: 1.8;
    transition: transform 150ms ease;
}

.transaction-filters > button.is-open svg {
    transform: rotate(180deg);
}

.transaction-filter-panel {
    position: absolute;
    top: 83px;
    right: 0;
    left: 0;
    display: flex;
    z-index: 2;
    flex-wrap: wrap;
    gap: 12px;
    padding: 20px;
    background: var(--canvas);
    border: 1px solid var(--hairline);
    border-radius: 0 0 16px 16px;
    box-shadow: 0 20px 44px rgba(5, 7, 10, 0.18);
}

.transaction-filter-panel button {
    min-height: 42px;
    padding: 0 16px;
    background: var(--quiet);
    border: 1px solid var(--hairline);
    border-radius: 9px;
    color: var(--muted);
    font-size: 13px;
}

.transaction-filter-panel button.is-active {
    background: var(--action-bg);
    border-color: var(--action-border);
    color: var(--action-ink);
}

.transaction-filter-backdrop {
    position: fixed;
    z-index: 10;
    inset: 0;
    background: rgba(0, 0, 0, 0.56);
}

.transaction-history__months {
    display: grid;
    gap: 20px;
    padding-top: 18px;
}

.transaction-month {
    overflow: hidden;
    background: var(--quiet);
    border: 1px solid var(--hairline);
    border-radius: 16px;
}

.transaction-month__header {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 20px;
    margin: 0 18px;
    padding: 20px 0 16px;
    border-bottom: 1px solid var(--strong-line);
}

.transaction-month__header h2 {
    margin: 0 0 8px;
    font-size: 20px;
}

.transaction-month__header p {
    display: flex;
    flex-wrap: wrap;
    gap: 22px;
    margin: 0;
    color: var(--muted);
    font-size: 12px;
}

.transaction-month__header p strong {
    color: var(--ink);
    font-variant-numeric: tabular-nums;
}

.transaction-month__header > button {
    min-height: 38px;
    padding: 0 17px;
    background: var(--action-bg);
    border: 1px solid var(--action-border);
    border-radius: 999px;
    color: var(--action-ink);
    font-size: 12px;
}

.transaction-month__analysis {
    display: flex;
    justify-content: space-between;
    gap: 20px;
    padding: 12px 18px;
    background: var(--hover);
    border-bottom: 1px solid var(--hairline);
    color: var(--muted);
    font-size: 12px;
}

.transaction-month__list {
    padding: 8px 18px 16px;
}

.transaction-history-item {
    display: grid;
    grid-template-columns: 44px minmax(0, 1fr) auto;
    align-items: center;
    min-height: 76px;
    gap: 13px;
    color: var(--ink);
}

.transaction-history-item__icon {
    display: grid;
    width: 42px;
    height: 42px;
    place-items: center;
    background: var(--canvas);
    border: 1px solid var(--hairline);
    border-radius: 50%;
    color: var(--ink);
}

.transaction-history-item__icon svg {
    width: 21px;
    height: 21px;
    fill: none;
    stroke: currentColor;
    stroke-linecap: round;
    stroke-linejoin: round;
    stroke-width: 1.7;
}

.transaction-history-item__details,
.transaction-history-item__amount {
    display: grid;
    min-width: 0;
    gap: 5px;
}

.transaction-history-item__details strong {
    overflow: hidden;
    font-size: 14px;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.transaction-history-item__details time,
.transaction-history-item__amount small {
    color: var(--muted);
    font-family: var(--sans);
    font-size: 10px;
}

.transaction-history-item__amount {
    justify-items: end;
    text-align: right;
}

.transaction-history-item__amount strong {
    font-family: var(--sans);
    font-size: 14px;
}

.transaction-history-item__amount small {
    color: var(--ink);
}

.transaction-history__empty {
    padding: 72px 24px;
    color: var(--muted);
    text-align: center;
}

@media (max-width: 820px) {
    .page-transactions .app-topbar,
    .page-transactions .app-footer,
    .page-transactions .mobile-bottom-nav,
    .page-transactions .support-widget,
    .page-transactions .app-main > .notice {
        display: none !important;
    }

    .page-transactions .app-main {
        padding: 0;
    }

    .page-transactions .app-workspace {
        min-height: 100dvh;
    }

    .transaction-history {
        width: 100%;
        min-height: 100dvh;
        padding-bottom: env(safe-area-inset-bottom);
    }

    .transaction-history__header {
        position: sticky;
        z-index: 9;
        top: 0;
        min-height: 76px;
        padding: 0 16px;
        background: var(--canvas);
    }

    .transaction-filters {
        padding: 14px 18px;
        background: var(--canvas);
    }

    .transaction-filters > button {
        gap: 8px;
        padding-inline: 12px;
        font-size: 13px;
    }

    .transaction-filter-panel {
        top: 77px;
        padding: 18px;
        border-right: 0;
        border-left: 0;
    }

    .transaction-history__months {
        gap: 14px;
        padding: 14px 18px 24px;
    }

    .transaction-month {
        border-radius: 14px;
    }

    .transaction-month__header {
        margin-inline: 15px;
        gap: 12px;
    }

    .transaction-month__header p {
        flex-wrap: nowrap;
        gap: 10px;
        font-size: 10px;
    }

    .transaction-month__list {
        padding: 7px 15px 14px;
    }

    .transaction-history-item {
        grid-template-columns: 42px minmax(0, 1fr) auto;
        min-height: 78px;
        gap: 10px;
    }

    .transaction-history-item__icon {
        width: 40px;
        height: 40px;
    }

    .transaction-history-item__details strong,
    .transaction-history-item__amount strong {
        font-size: 12px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .stitch-app,
    .stitch-button,
    .stitch-menu-toggle__icon i {
        transition: none;
    }
}

*,
*::before,
*::after {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: calc(var(--header-height) + 24px);
}

body {
    margin: 0;
    min-width: 320px;
    background: var(--canvas);
    color: var(--ink);
    font-family: var(--sans);
    font-size: 16px;
    line-height: 1.55;
    -webkit-font-smoothing: antialiased;
    text-rendering: optimizeLegibility;
}

body.has-open-navigation {
    overflow: hidden;
}

button,
input,
select,
textarea {
    color: inherit;
    font: inherit;
}

button,
select {
    cursor: pointer;
}

button,
input,
select,
textarea {
    border-radius: var(--radius-control);
}

a {
    color: inherit;
    text-decoration: none;
}

img,
svg {
    display: block;
    max-width: 100%;
}

h1,
h2,
h3,
p,
dl,
dd,
ol,
ul {
    margin-top: 0;
}

h1,
h2,
h3 {
    letter-spacing: -0.035em;
    line-height: 1.05;
}

h1,
h2,
h3,
strong {
    font-weight: 600;
}

::selection {
    background: var(--signal);
    color: #fff;
}

a,
button,
input,
label,
select,
textarea,
[role="button"] {
    -webkit-tap-highlight-color: transparent;
}

:focus-visible {
    outline: 3px solid var(--focus-ring);
    outline-offset: 3px;
}

[hidden] {
    display: none !important;
}

.shell {
    width: min(100% - (var(--page-gutter) * 2), var(--shell));
    margin-inline: auto;
}

.mono {
    font-family: var(--sans);
    font-variant-numeric: tabular-nums;
}

.visually-hidden {
    position: absolute !important;
    width: 1px !important;
    height: 1px !important;
    padding: 0 !important;
    margin: -1px !important;
    overflow: hidden !important;
    clip: rect(0, 0, 0, 0) !important;
    white-space: nowrap !important;
    border: 0 !important;
}

.clipboard-buffer {
    position: fixed;
    top: 0;
    left: 0;
    width: 1px;
    height: 1px;
    opacity: 0;
    pointer-events: none;
}

.skip-link {
    position: fixed;
    z-index: 1000;
    top: 12px;
    left: 12px;
    padding: 10px 14px;
    background: var(--ink);
    color: #fff;
    transform: translateY(-160%);
    transition: transform 160ms ease;
}

.skip-link:focus {
    transform: translateY(0);
}

.brand {
    display: inline-flex;
    align-items: center;
    flex: 0 0 auto;
    gap: 10px;
    min-height: 44px;
}

.brand__mark {
    width: 28px;
    height: 28px;
}

.brand__wordmark {
    display: inline-flex;
    align-items: baseline;
    gap: 7px;
    color: var(--ink);
    font-size: 15px;
    letter-spacing: -0.02em;
    white-space: nowrap;
}

.brand__wordmark strong {
    font-size: 18px;
    letter-spacing: -0.06em;
}

.brand__wordmark i {
    color: var(--signal);
    font-style: normal;
    font-weight: 600;
}

.brand__wordmark span {
    font-family: var(--sans);
    font-size: 13px;
    letter-spacing: 0.14em;
}

.site-header {
    position: relative;
    z-index: 100;
    height: var(--header-height);
    background: rgba(255, 255, 255, 0.98);
    border-bottom: 1px solid var(--hairline);
}

.site-header__inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 100%;
}

.site-navigation,
.site-nav,
.site-actions {
    display: flex;
    align-items: center;
}

.site-navigation {
    align-self: stretch;
    gap: clamp(32px, 5vw, 74px);
}

.site-nav {
    align-self: stretch;
    gap: clamp(24px, 3.5vw, 48px);
}

.site-nav a,
.site-actions .text-action {
    position: relative;
    display: inline-flex;
    align-items: center;
    min-height: 44px;
    color: var(--muted);
    font-size: 14px;
    font-weight: 500;
}

.site-nav a::after,
.site-actions .text-action::after {
    position: absolute;
    right: 0;
    bottom: -14px;
    left: 0;
    height: 2px;
    background: var(--signal);
    content: "";
    opacity: 0;
    transform: scaleX(0.3);
    transition: opacity 160ms ease, transform 160ms ease;
}

.site-nav a:hover,
.site-nav a.is-current,
.site-actions .text-action:hover,
.site-actions .text-action.is-current {
    color: var(--ink);
}

.site-nav a:hover::after,
.site-nav a.is-current::after,
.site-actions .text-action:hover::after,
.site-actions .text-action.is-current::after {
    opacity: 1;
    transform: scaleX(1);
}

.site-actions {
    align-self: stretch;
    gap: 20px;
    padding-left: 28px;
    border-left: 1px solid var(--hairline);
}

.menu-toggle {
    display: none;
    align-items: center;
    gap: 10px;
    min-height: 44px;
    padding: 0 2px 0 12px;
    background: transparent;
    border: 0;
    font-family: var(--sans);
    font-size: 11px;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.menu-toggle__bars {
    display: grid;
    gap: 5px;
    width: 20px;
}

.menu-toggle__bars i {
    display: block;
    height: 1px;
    background: currentColor;
    transition: transform 160ms ease;
}

.menu-toggle[aria-expanded="true"] .menu-toggle__bars i:first-child {
    transform: translateY(3px) rotate(45deg);
}

.menu-toggle[aria-expanded="true"] .menu-toggle__bars i:last-child {
    transform: translateY(-3px) rotate(-45deg);
}

.button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    min-height: 46px;
    padding: 0 20px;
    border: 1px solid transparent;
    border-radius: var(--radius-control);
    font-size: 14px;
    font-weight: 600;
    line-height: 1;
    transition: background-color 160ms ease, border-color 160ms ease, color 160ms ease, transform 160ms ease;
}

.button:hover {
    transform: translateY(-1px);
}

.button--compact {
    min-height: 40px;
    padding-inline: 16px;
    font-size: 13px;
}

.button--large {
    min-height: 52px;
    padding-inline: 24px;
}

.button--primary {
    background: var(--action-bg);
    border-color: var(--action-border);
    color: var(--action-ink);
}

.button--primary:hover {
    background: var(--action-hover);
    border-color: var(--action-hover);
}

.button--dark {
    background: var(--action-bg);
    border-color: var(--action-border);
    color: var(--action-ink);
}

.button--dark:hover {
    background: var(--action-hover);
    border-color: var(--action-hover);
}

.button--secondary {
    background: var(--action-bg);
    border-color: var(--action-border);
    color: var(--action-ink);
}

.button--secondary:hover {
    background: var(--action-hover);
    border-color: var(--action-hover);
}

.button--full {
    width: 100%;
}

.text-action,
.directional-link,
.row-action {
    color: var(--ink);
    font-size: 14px;
    font-weight: 600;
}

.text-action:hover,
.directional-link:hover,
.row-action:hover {
    color: var(--signal);
}

.directional-link {
    display: inline-flex;
    align-items: center;
    gap: 22px;
    padding-bottom: 5px;
    border-bottom: 1px solid currentColor;
}

.status-square {
    display: inline-block;
    width: 7px;
    height: 7px;
    flex: 0 0 7px;
    background: var(--muted);
    border-radius: 1px;
}

.status-square--live,
.status-square--success {
    background: var(--success);
}

.status-square--warning {
    background: var(--warning);
}

.status-square--error {
    background: var(--error);
}

.status-square--neutral {
    background: var(--strong-line);
}

.toast-stack {
    position: fixed;
    right: 24px;
    bottom: 24px;
    z-index: 200;
    display: grid;
    width: min(390px, calc(100vw - 40px));
    gap: 10px;
}

.toast-notice {
    display: flex;
    align-items: center;
    gap: 11px;
    min-height: 54px;
    padding: 12px 14px;
    background: var(--toast-bg);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: var(--radius-control);
    box-shadow: 0 18px 45px rgba(17, 19, 24, 0.24);
    color: var(--toast-ink);
    font-size: 13px;
}

.toast-notice p {
    flex: 1;
    margin: 0;
    white-space: nowrap;
}

.toast-notice button {
    display: grid;
    width: 28px;
    height: 28px;
    padding: 6px;
    place-items: center;
    background: transparent;
    border: 0;
    color: rgba(255, 255, 255, 0.68);
    font-family: var(--sans);
    font-size: 18px;
    line-height: 1;
}

.toast-notice--success .status-square {
    background: #f4f6f8;
}

.toast-notice--error .status-square {
    background: #f4f6f8;
}

.toast-notice--warning .status-square {
    background: #f4f6f8;
}

.toast-notice--info .status-square {
    background: #f4f6f8;
}

.section-coordinate {
    position: absolute;
    top: 0;
    left: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
    color: var(--muted);
    font-family: var(--sans);
    font-size: 10px;
    letter-spacing: 0.08em;
}

.section-coordinate i {
    display: block;
    width: 1px;
    height: 54px;
    background: var(--hairline);
}

.section-index {
    display: block;
    margin-bottom: 16px;
    color: var(--muted);
    font-family: var(--sans);
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 0.1em;
    line-height: 1;
    text-transform: uppercase;
}

.section-heading {
    margin-bottom: 56px;
}

.section-heading--split {
    display: grid;
    grid-template-columns: minmax(0, 7fr) minmax(260px, 5fr);
    gap: 24px;
    align-items: end;
}

.section-heading h2,
.trust-section h2 {
    max-width: 760px;
    margin-bottom: 0;
    font-size: clamp(36px, 4vw, 54px);
}

.section-heading > p,
.trust-section p {
    max-width: 520px;
    margin-bottom: 0;
    color: var(--muted);
    font-size: 17px;
}

.section-ruled {
    border-top: 1px solid var(--hairline);
    border-bottom: 1px solid var(--hairline);
}

/* Home */
.hero {
    position: relative;
    display: grid;
    grid-template-columns: minmax(0, 7fr) minmax(380px, 5fr);
    gap: clamp(40px, 6vw, 96px);
    align-items: center;
    min-height: 680px;
    padding: 96px 0 104px 66px;
}

.hero__copy h1,
.page-intro h1 {
    max-width: 820px;
    margin-bottom: 30px;
    font-size: clamp(58px, 6vw, 82px);
    letter-spacing: -0.06em;
}

.hero__lede {
    max-width: 650px;
    margin-bottom: 34px;
    color: var(--muted);
    font-size: clamp(18px, 1.6vw, 21px);
    line-height: 1.55;
}

.action-row {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.trust-line {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 10px;
    margin: 26px 0 0;
    color: var(--muted);
    font-family: var(--sans);
    font-size: 10px;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

.trust-line i {
    display: block;
    width: 3px;
    height: 3px;
    background: var(--strong-line);
}

.number-console {
    position: relative;
    overflow: hidden;
    background: var(--canvas);
    border: 1px solid var(--strong-line);
    border-radius: var(--radius-panel);
}

.number-console__head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    min-height: 52px;
    padding: 0 18px;
    background: var(--quiet);
    border-bottom: 1px solid var(--hairline);
    color: var(--muted);
    font-family: var(--sans);
    font-size: 10px;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.number-console__head > span,
.ledger-states span,
.system-status {
    display: inline-flex;
    align-items: center;
    gap: 9px;
}

.region-switch {
    display: grid;
    grid-template-columns: 1fr 1fr;
    border-bottom: 1px solid var(--hairline);
}

.region-switch a {
    position: relative;
    display: flex;
    align-items: center;
    min-height: 50px;
    padding: 0 18px;
    color: var(--muted);
    font-size: 13px;
    font-weight: 600;
}

.region-switch a + a {
    border-left: 1px solid var(--hairline);
}

.region-switch a.is-active {
    color: var(--ink);
}

.region-switch a.is-active::after {
    position: absolute;
    right: 0;
    bottom: -1px;
    left: 0;
    height: 2px;
    background: var(--signal);
    content: "";
}

.console-ledger {
    margin: 0;
}

.console-ledger > div {
    display: grid;
    grid-template-columns: 126px 1fr;
    gap: 18px;
    align-items: center;
    min-height: 62px;
    padding: 12px 18px;
    border-bottom: 1px solid var(--hairline);
}

.console-ledger dt {
    color: var(--muted);
    font-family: var(--sans);
    font-size: 10px;
    letter-spacing: 0.07em;
    text-transform: uppercase;
}

.console-ledger dd {
    display: flex;
    justify-content: space-between;
    gap: 12px;
    margin: 0;
    font-family: var(--sans);
    font-size: 14px;
    font-variant-numeric: tabular-nums;
}

.console-ledger dd span {
    color: var(--muted);
}

.console-ledger__price {
    background: var(--quiet);
}

.console-ledger__price dd {
    color: var(--signal-deep);
    font-size: 17px;
    font-weight: 600;
}

.console-action {
    display: flex;
    align-items: center;
    justify-content: space-between;
    min-height: 58px;
    padding: 0 18px;
    background: var(--ink);
    color: #fff;
    font-size: 14px;
    font-weight: 600;
    transition: background-color 160ms ease;
}

.console-action:hover {
    background: var(--signal);
}

.scan-line {
    position: absolute;
    z-index: 2;
    top: 102px;
    right: 0;
    left: 0;
    height: 1px;
    background: var(--signal);
    opacity: 0;
    animation: console-scan 2.8s ease-in-out 400ms 1;
}

@keyframes console-scan {
    0% { opacity: 0; transform: translateY(0); }
    15% { opacity: 0.75; }
    75% { opacity: 0.45; }
    100% { opacity: 0; transform: translateY(248px); }
}

.availability-tape {
    border-top: 1px solid var(--hairline);
    border-bottom: 1px solid var(--hairline);
}

.availability-tape__inner {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
}

.availability-tape__item {
    min-width: 0;
    padding: 19px 18px;
    border-left: 1px solid var(--hairline);
}

.availability-tape__item:last-child {
    border-right: 1px solid var(--hairline);
}

.availability-tape__item strong,
.availability-tape__item span {
    display: block;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.availability-tape__item strong {
    margin-bottom: 3px;
    font-family: var(--sans);
    font-size: 12px;
}

.availability-tape__item span {
    color: var(--muted);
    font-size: 11px;
}

.process-section,
.outcomes,
.faq {
    padding-top: 118px;
    padding-bottom: 118px;
}

.process-line {
    position: relative;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    margin: 0;
    padding: 0;
    border-top: 1px solid var(--strong-line);
    list-style: none;
}

.process-line li {
    position: relative;
    min-height: 252px;
    padding: 38px 36px 32px 0;
}

.process-line li + li {
    padding-left: 36px;
    border-left: 1px solid var(--hairline);
}

.process-line li::before {
    position: absolute;
    top: -4px;
    left: 0;
    width: 7px;
    height: 7px;
    background: var(--signal);
    border-radius: 1px;
    content: "";
}

.process-line li + li::before {
    left: -4px;
}

.process-line li > span {
    color: var(--muted);
    font-family: var(--sans);
    font-size: 11px;
    letter-spacing: 0.07em;
    text-transform: uppercase;
}

.process-line h3 {
    margin: 48px 0 14px;
    font-size: 25px;
}

.process-line p {
    max-width: 330px;
    margin-bottom: 0;
    color: var(--muted);
}

.trust-section__grid {
    display: grid;
    grid-template-columns: minmax(280px, 5fr) minmax(0, 7fr);
    gap: clamp(48px, 8vw, 120px);
    padding-top: 104px;
    padding-bottom: 104px;
}

.outcome-rows {
    border-top: 1px solid var(--strong-line);
}

.outcome-row {
    display: grid;
    grid-template-columns: 70px minmax(260px, 1fr) minmax(330px, 1fr);
    gap: 32px;
    align-items: center;
    min-height: 210px;
    padding: 34px 0;
    border-bottom: 1px solid var(--hairline);
}

.outcome-row__number {
    align-self: start;
    color: var(--muted);
    font-family: var(--sans);
    font-size: 11px;
}

.outcome-row h3 {
    margin-bottom: 12px;
    font-size: 28px;
}

.outcome-row p {
    max-width: 470px;
    margin-bottom: 0;
    color: var(--muted);
}

.mini-ledger,
.mini-timeline,
.ledger-states {
    width: 100%;
    margin: 0;
    background: var(--quiet);
    border: 1px solid var(--hairline);
}

.mini-ledger > div {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    min-height: 52px;
    padding: 0 16px;
}

.mini-ledger > div + div {
    border-top: 1px solid var(--hairline);
}

.mini-ledger dt {
    color: var(--muted);
    font-size: 12px;
}

.mini-ledger dd {
    margin: 0;
    font-family: var(--sans);
    font-size: 15px;
}

.mini-timeline {
    padding: 12px 16px;
    list-style: none;
}

.mini-timeline li {
    position: relative;
    min-height: 34px;
    padding-left: 24px;
    color: var(--muted);
    font-family: var(--sans);
    font-size: 11px;
}

.mini-timeline li::before {
    position: absolute;
    top: 5px;
    left: 1px;
    width: 7px;
    height: 7px;
    background: var(--strong-line);
    border-radius: 1px;
    content: "";
}

.mini-timeline li:not(:last-child)::after {
    position: absolute;
    top: 14px;
    bottom: -2px;
    left: 4px;
    width: 1px;
    background: var(--hairline);
    content: "";
}

.mini-timeline li.is-complete::before {
    background: var(--success);
}

.mini-timeline li.is-current {
    color: var(--ink);
}

.mini-timeline li.is-current::before {
    background: var(--signal);
}

.ledger-states {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
}

.ledger-states span {
    min-height: 76px;
    padding: 0 14px;
    color: var(--muted);
    font-family: var(--sans);
    font-size: 10px;
}

.ledger-states span + span {
    border-left: 1px solid var(--hairline);
}

.trust-section {
    background: var(--ink);
    border-color: #303338;
    color: #fff;
}

.trust-section .section-index,
.trust-section p {
    color: #9da5af;
}

.technical-checklist {
    margin: 0;
    padding: 0;
    border-top: 1px solid #40444a;
    list-style: none;
}

.technical-checklist li {
    display: grid;
    grid-template-columns: 46px 1fr 34px;
    gap: 18px;
    align-items: center;
    min-height: 72px;
    border-bottom: 1px solid #303338;
}

.technical-checklist li > span {
    color: #818a95;
    font-family: var(--sans);
    font-size: 10px;
}

.technical-checklist strong {
    font-size: 16px;
    font-weight: 500;
}

.technical-checklist i {
    position: relative;
    display: block;
    width: 28px;
    height: 20px;
    border-left: 1px solid var(--signal);
    border-bottom: 1px solid var(--signal);
}

.technical-checklist i::after {
    position: absolute;
    top: 2px;
    right: 0;
    width: 4px;
    height: 4px;
    background: var(--success);
    content: "";
}

.faq-list {
    border-top: 1px solid var(--strong-line);
}

.faq-list details {
    border-bottom: 1px solid var(--hairline);
}

.faq-list summary {
    display: grid;
    grid-template-columns: 64px 1fr 26px;
    gap: 18px;
    align-items: center;
    min-height: 84px;
    cursor: pointer;
    font-size: 19px;
    font-weight: 550;
    list-style: none;
}

.faq-list summary::-webkit-details-marker {
    display: none;
}

.faq-list summary > span {
    color: var(--muted);
    font-family: var(--sans);
    font-size: 10px;
}

.faq-list summary i {
    position: relative;
    width: 18px;
    height: 18px;
}

.faq-list summary i::before,
.faq-list summary i::after {
    position: absolute;
    top: 8px;
    left: 2px;
    width: 14px;
    height: 1px;
    background: var(--ink);
    content: "";
}

.faq-list summary i::after {
    transform: rotate(90deg);
    transition: transform 160ms ease;
}

.faq-list details[open] summary i::after {
    transform: rotate(0);
}

.faq-list details > div {
    padding: 0 68px 28px 82px;
}

.faq-list details p {
    max-width: 780px;
    margin: 0;
    color: var(--muted);
}

.faq-page {
    padding-top: clamp(48px, 6vw, 78px);
    padding-bottom: clamp(76px, 9vw, 126px);
}

.faq-page__heading {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 36px;
    align-items: end;
    margin-bottom: 44px;
}

.faq-page__heading h1 {
    max-width: 720px;
    margin: 12px 0 0;
    font-size: clamp(34px, 4vw, 52px);
}

.faq-page__heading > p {
    margin: 0 0 7px;
    color: var(--muted);
    font-size: 14px;
}

.faq-page__heading a {
    color: var(--signal-deep);
    text-underline-offset: 3px;
}

.faq-page__footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 32px;
    margin-top: 64px;
    padding: 38px 0;
    border-top: 1px solid var(--strong-line);
    border-bottom: 1px solid var(--hairline);
}

.faq-page__footer h2 {
    margin: 10px 0 0;
    font-size: clamp(30px, 4vw, 46px);
}

.page-intro {
    position: relative;
    display: grid;
    grid-template-columns: minmax(0, 8fr) minmax(280px, 4fr);
    gap: 50px;
    align-items: end;
    min-height: 470px;
    padding: 88px 0 82px 66px;
}

.page-intro h1 {
    margin-bottom: 24px;
    font-size: clamp(54px, 5.5vw, 76px);
}

.page-intro > div > p {
    max-width: 680px;
    margin-bottom: 0;
    color: var(--muted);
    font-size: 19px;
}

.field {
    display: grid;
    gap: 8px;
}

.field > span:first-child,
.field__label-row {
    color: var(--muted);
    font-family: var(--sans);
    font-size: 10px;
    font-weight: 600;
    letter-spacing: 0.07em;
    line-height: 1.2;
    text-transform: uppercase;
}

.field input,
.field select,
.field textarea,
.password-field input {
    width: 100%;
    min-height: 50px;
    padding: 0 14px;
    background: var(--transparent);
    border: 1px solid var(--strong-line);
    color: var(--ink);
    font-family: var(--sans);
    font-size: 13px;
    transition: border-color 150ms ease, box-shadow 150ms ease;
}

.field textarea {
    min-height: 168px;
    padding: 14px;
    font-family: var(--sans);
    line-height: 1.55;
    resize: vertical;
}

.field input::placeholder {
    color: #8a929c;
}

.field input:focus,
.field select:focus,
.field textarea:focus,
.password-field input:focus {
    border-color: var(--signal);
    box-shadow: 0 0 0 3px var(--focus-ring);
    outline: 0;
}

/* Support */
.support-layout {
    display: grid;
    grid-template-columns: minmax(260px, 0.75fr) minmax(0, 1.25fr);
    gap: clamp(24px, 3vw, 40px);
    align-items: start;
    padding-top: clamp(48px, 6vw, 78px);
    padding-bottom: clamp(76px, 9vw, 126px);
}

.support-guidance,
.support-form-card {
    background: var(--canvas);
    border: 1px solid var(--hairline);
    border-radius: var(--radius-panel);
}

.support-guidance {
    padding: clamp(26px, 3vw, 38px);
}

.support-guidance h2 {
    margin: 16px 0 30px;
    font-size: clamp(28px, 3vw, 38px);
}

.support-guidance ul {
    margin: 0;
    padding: 0;
    border-top: 1px solid var(--hairline);
    list-style: none;
}

.support-guidance li {
    display: grid;
    gap: 4px;
    padding: 18px 0;
    border-bottom: 1px solid var(--hairline);
}

.support-guidance li strong {
    font-size: 14px;
}

.support-guidance li span,
.support-safety {
    color: var(--muted);
    font-size: 13px;
}

.support-safety {
    margin: 24px 0 18px;
    padding-left: 14px;
    border-left: 2px solid var(--warning);
}

.support-guidance > a {
    color: var(--signal-deep);
    font-family: var(--sans);
    font-size: 11px;
    overflow-wrap: anywhere;
}

.support-form-card {
    overflow: hidden;
}

.support-form-card > header {
    padding: 26px clamp(22px, 3vw, 34px);
    border-bottom: 1px solid var(--hairline);
}

.support-form-card > header > span {
    color: var(--muted);
    font-size: 9px;
    letter-spacing: 0.09em;
}

.support-form-card h1 {
    margin: 10px 0 0;
    font-size: clamp(28px, 3vw, 36px);
}

.support-contact-form {
    display: grid;
    gap: 22px;
    padding: clamp(24px, 3vw, 34px);
}

.support-field-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 18px;
}

.support-contact-form .field > small {
    color: var(--muted);
    font-size: 11px;
}

.support-contact-form .field > span small {
    font-family: var(--sans);
    font-size: 9px;
    font-weight: 400;
    letter-spacing: 0;
    text-transform: none;
}

.support-contact-form > .button {
    justify-self: start;
}

.contact-trap {
    position: absolute;
    left: -10000px;
    width: 1px;
    height: 1px;
    overflow: hidden;
}

.pagination {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 14px;
    padding: 10px 10px 5px;
}

.pagination > span {
    color: var(--muted);
    font-family: var(--sans);
    font-size: 11px;
}

/* Authentication */
.page-auth {
    --home-bg: #ffffff;
    min-height: 100vh;
    background: var(--home-bg);
}

.auth-shell {
    display: grid;
    grid-template-columns: minmax(380px, 45%) minmax(480px, 55%);
    min-height: 100vh;
}

.auth-brand {
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    overflow: hidden;
    padding: clamp(32px, 5vw, 72px);
    background: var(--home-bg);
    border-right: 1px solid var(--hairline);
}

.auth-brand::before,
.auth-brand::after {
    position: absolute;
    right: 10%;
    bottom: -18%;
    width: 1px;
    height: 58%;
    background: var(--hairline);
    content: "";
    transform: rotate(32deg);
    transform-origin: bottom;
}

.auth-brand::after {
    right: 22%;
    height: 42%;
}

.auth-brand__logo {
    position: relative;
    z-index: 1;
    align-self: flex-start;
}

.auth-brand__statement {
    position: relative;
    z-index: 1;
    max-width: 630px;
    padding: 96px 0;
}

.auth-brand__statement h1 {
    margin-bottom: 26px;
    font-size: clamp(50px, 5vw, 50px);
}

.auth-brand__statement p {
    max-width: 540px;
    margin: 0;
    color: var(--muted);
    font-size: 18px;
}

.auth-brand__telemetry,
.auth-brand__steps {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    margin: 0;
    padding: 0;
    border-top: 1px solid var(--strong-line);
}

.auth-brand__telemetry span,
.auth-brand__steps li {
    display: flex;
    min-height: 70px;
    align-items: center;
    gap: 8px;
    padding: 12px 14px 12px 0;
    color: var(--muted);
    font-family: var(--sans);
    font-size: 10px;
    list-style: none;
}

.auth-brand__telemetry span + span,
.auth-brand__steps li + li {
    padding-left: 14px;
    border-left: 1px solid var(--hairline);
}

.auth-brand__steps li {
    align-items: flex-start;
    flex-direction: column;
    justify-content: center;
}

.auth-brand__steps li span {
    color: var(--signal);
}

.auth-form-panel {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 100vh;
    padding: 56px var(--page-gutter);
    background: var(--home-bg);
}

.auth-form-panel__mobile-logo {
    display: none;
}

.auth-form-wrap {
    width: min(100%, 470px);
}

.auth-form-wrap--register {
    width: min(100%, 500px);
}

.auth-form-heading {
    margin-bottom: 36px;
}

.auth-form-heading h2 {
    margin-bottom: 12px;
    font-size: clamp(38px, 4vw, 50px);
}

.auth-form-heading p,
.auth-alternative {
    margin-bottom: 0;
    color: var(--muted);
}

.verify-email-stage {
    display: grid;
    min-height: clamp(500px, 58vh, 700px);
    padding: clamp(64px, 9vw, 112px) var(--page-gutter);
    place-items: center;
    background:
        linear-gradient(rgba(226, 231, 236, 0.52) 1px, transparent 1px),
        linear-gradient(90deg, rgba(226, 231, 236, 0.52) 1px, transparent 1px),
        var(--quiet);
    background-size: 48px 48px;
}

.verify-email-card {
    position: relative;
    width: min(100%, 590px);
    padding: clamp(34px, 5vw, 54px);
    overflow: hidden;
    background: var(--home-bg);
    border: 1px solid var(--hairline);
    border-radius: 12px;
    box-shadow: 0 24px 70px rgba(17, 19, 24, 0.1);
    text-align: center;
}

.verify-email-card::before {
    position: absolute;
    top: 0;
    right: 0;
    left: 0;
    height: 4px;
    background: var(--signal);
    content: "";
}

.verify-email-card__mark {
    display: grid;
    width: 72px;
    height: 72px;
    margin: 0 auto 24px;
    place-items: center;
    background: var(--signal-soft);
    border: 1px solid #dce3ff;
    border-radius: 50%;
}

.verify-email-card__mark img {
    width: 42px;
    height: 42px;
    object-fit: contain;
}

.verify-email-card__eyebrow {
    margin-bottom: 14px;
    color: var(--signal-deep);
    font-size: 10px;
    letter-spacing: 0.14em;
}

.verify-email-card h1 {
    margin: 0;
    font-size: clamp(36px, 5vw, 52px);
    letter-spacing: -0.055em;
    line-height: 1.02;
}

.verify-email-card > p {
    max-width: 440px;
    margin: 22px auto 30px;
    color: var(--muted);
    font-size: 16px;
    line-height: 1.65;
}

.verify-email-card form {
    margin: 0;
}

.verify-email-card small {
    display: block;
    margin-top: 18px;
    color: var(--muted);
    font-family: var(--sans);
    font-size: 10px;
}

.auth-form {
    display: grid;
    gap: 22px;
}

.google-auth-button {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    width: 100%;
    min-height: 52px;
    padding: 12px 18px;
    background: transparent;
    border: 1px solid var(--strong-line);
    border-radius: 8px;
    color: var(--ink);
    font-family: var(--sans);
    font-size: 14px;
    font-weight: 650;
    text-decoration: none;
    transition: background-color 160ms ease, border-color 160ms ease;
}

.google-auth-button:hover,
.google-auth-button:focus-visible {
    background: var(--quiet);
    border-color: var(--ink);
}

.google-auth-button svg {
    width: 20px;
    height: 20px;
    flex: 0 0 20px;
}

.google-auth-terms {
    margin: 10px 0 0;
    color: var(--muted);
    font-size: 11px;
    line-height: 1.55;
    text-align: center;
}

.google-auth-terms a {
    color: var(--ink);
    text-underline-offset: 2px;
}

.auth-divider {
    display: flex;
    align-items: center;
    gap: 14px;
    margin: 22px 0;
    color: var(--muted);
    font-family: var(--sans);
    font-size: 10px;
    letter-spacing: .08em;
    text-transform: uppercase;
}

.auth-divider::before,
.auth-divider::after {
    height: 1px;
    flex: 1;
    background: var(--hairline);
    content: "";
}

.auth-form .field small {
    color: var(--muted);
    font-size: 12px;
}

.field__label-row {
    display: flex;
    justify-content: space-between;
    gap: 18px;
}

.field__label-row a {
    color: var(--signal-deep);
    font-family: var(--sans);
    font-size: 12px;
    letter-spacing: 0;
    text-transform: none;
}

.password-field {
    position: relative;
    display: block;
}

.password-field input {
    padding-right: 70px;
}

.password-field button {
    position: absolute;
    top: 50%;
    right: 8px;
    display: none;
    min-width: 52px;
    min-height: 34px;
    padding: 0 8px;
    background: var(--quiet);
    border: 0;
    color: var(--muted);
    font-family: var(--sans);
    font-size: 10px;
    text-transform: uppercase;
    transform: translateY(-50%);
}

.js .password-field button {
    display: flex;
    align-items: center;
    justify-content: center;
}

.field .field-error,
.field-error--standalone {
    color: var(--error);
    font-size: 12px;
}

.check-field {
    display: flex;
    align-items: flex-start;
    gap: 11px;
    color: var(--muted);
    font-size: 13px;
}

.check-field input {
    width: 16px;
    height: 16px;
    flex: 0 0 16px;
    margin: 2px 0 0;
    accent-color: var(--signal);
    border-radius: 2px;
}

.check-field a,
.auth-alternative a {
    color: var(--ink);
    font-weight: 600;
    text-decoration: underline;
    text-decoration-color: var(--strong-line);
    text-underline-offset: 3px;
}

.auth-alternative {
    margin-top: 28px;
    padding-top: 24px;
    border-top: 1px solid var(--hairline);
    font-size: 14px;
}

/* Error */
.error-screen {
    position: relative;
    display: grid;
    grid-template-columns: minmax(200px, 4fr) minmax(360px, 8fr);
    gap: 48px;
    align-items: center;
    min-height: 610px;
    padding-top: 80px;
    padding-bottom: 100px;
}

.error-screen__code {
    color: var(--hairline);
    font-family: var(--sans);
    font-size: clamp(110px, 17vw, 240px);
    font-weight: 600;
    letter-spacing: -0.12em;
    line-height: 0.8;
}

.error-screen__content {
    position: relative;
    z-index: 1;
    max-width: 650px;
}

.error-screen h1 {
    margin-bottom: 20px;
    font-size: clamp(42px, 5vw, 66px);
}

.error-screen p {
    max-width: 560px;
    margin-bottom: 32px;
    color: var(--muted);
    font-size: 18px;
}

.error-screen__signal {
    position: absolute;
    right: 0;
    bottom: 36px;
    display: flex;
    align-items: end;
    gap: 7px;
    height: 54px;
}

.error-screen__signal i {
    display: block;
    width: 4px;
    background: var(--hairline);
}

.error-screen__signal i:nth-child(1) { height: 10px; }
.error-screen__signal i:nth-child(2) { height: 18px; }
.error-screen__signal i:nth-child(3) { height: 28px; }
.error-screen__signal i:nth-child(4) { height: 40px; }
.error-screen__signal i:nth-child(5) { height: 54px; background: var(--error); }

/* Customer and administration workspace */
.muted {
    color: var(--muted);
}

.app-body {
    background: var(--quiet);
}

.app-shell {
    min-height: 100vh;
}

.app-sidebar {
    position: fixed;
    z-index: 150;
    top: 106px;
    left: 28px;
    display: flex;
    width: 272px;
    flex-direction: column;
    background: var(--canvas);
    border: 0;
    border-radius: 16px;
    box-shadow: 0 18px 48px rgba(17, 19, 24, 0.06);
    overflow: hidden;
}

.sidebar-profile {
    display: flex;
    align-items: center;
    gap: 13px;
    padding: 22px 22px 18px;
}

.sidebar-profile__avatar {
    display: grid;
    width: 48px;
    height: 48px;
    flex: 0 0 48px;
    overflow: hidden;
    place-items: center;
    background: linear-gradient(145deg, var(--quiet), color-mix(in srgb, var(--signal) 12%, var(--canvas)));
    border: 1px solid color-mix(in srgb, var(--signal) 38%, var(--hairline));
    border-radius: 50%;
    color: var(--signal);
    font-size: 18px;
    font-weight: 800;
}

.sidebar-profile__copy {
    display: grid;
    min-width: 0;
    gap: 3px;
}

.sidebar-profile__copy strong {
    overflow: hidden;
    font-size: 15px;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.sidebar-profile__copy small,
.sidebar-profile__copy a {
    color: var(--muted);
    font-size: 12px;
}

.sidebar-profile__verification {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    font-size: 11px !important;
    line-height: 1.25;
}


.sidebar-profile__copy a {
    color: var(--signal);
    line-height: 1.3;
}

.sidebar-nav {
    display: grid;
    gap: 5px;
    padding: 0 16px 18px;
}

.sidebar-link {
    position: relative;
    display: grid;
    grid-template-columns: 24px 1fr;
    gap: 13px;
    align-items: center;
    min-height: 48px;
    padding: 0 15px;
    border-radius: 9px;
    color: var(--muted);
    font-size: 14px;
    transition: background-color 150ms ease, color 150ms ease;
}

.sidebar-link__icon,
.sidebar-secondary__icon {
    display: inline-grid;
    width: 22px;
    height: 22px;
    flex: 0 0 22px;
    place-items: center;
}

.sidebar-link__icon svg,
.sidebar-secondary__icon svg {
    width: 20px;
    height: 20px;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.75;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.sidebar-link:hover,
.sidebar-link.is-active {
    color: var(--ink);
    border: 1px solid var(--hairline);
}

.sidebar-secondary {
    display: grid;
    gap: 4px;
    margin-top: auto;
    padding: 20px 24px 24px;
    border-top: 1px solid var(--hairline);
}

.sidebar-secondary a,
.text-button {
    display: inline-flex;
    align-items: center;
    min-height: 34px;
    padding: 0;
    background: transparent;
    border: 0;
    color: var(--muted);
    font-size: 13px;
    text-align: left;
}

.sidebar-secondary a,
.sidebar-secondary .text-button {
    gap: 12px;
}

.app-sidebar-backdrop {
    display: none;
}

.sidebar-secondary a:hover,
.text-button:hover {
    color: var(--signal);
}

.text-button:disabled,
.text-button:disabled:hover {
    color: var(--muted);
    cursor: not-allowed;
    opacity: 0.48;
}

.sidebar-secondary .text-button.is-confirming,
.sidebar-secondary .text-button.is-confirming:hover {
    color: var(--error);
}

.app-workspace {
    min-width: 0;
    margin-left: 328px;
}

.app-topbar {
    position: sticky;
    z-index: 90;
    top: 0;
    display: flex;
    align-items: center;
    justify-content: space-between;
    min-height: 74px;
    margin-left: -328px;
    padding: 0 clamp(24px, 4vw, 52px);
    background: var(--quiet);
    border: 0;
}

.app-breadcrumb {
    color: var(--muted);
    font-size: 10px;
    letter-spacing: 0.07em;
    text-transform: uppercase;
}

.app-topbar-actions,
.button-row,
.receiver-actions {
    display: flex;
    align-items: center;
    gap: 10px;
}

.balance-link {
    display: flex;
    align-items: center;
    gap: 10px;
    min-height: 42px;
    padding: 0 14px 0 10px;
    background: var(--canvas);
    border: 1px solid var(--hairline);
    border-radius: 999px;
    font-size: 11px;
    transition: transform 150ms ease, box-shadow 150ms ease;
}

.balance-link:hover {
    box-shadow: 0 8px 22px rgba(17, 19, 24, 0.12);
    transform: translateY(-1px);
}

.balance-link__icon {
    display: grid;
    width: 26px;
    height: 26px;
    place-items: center;
    background: var(--action-bg);
    border-radius: 50%;
    color: var(--action-ink);
}

.balance-link__icon svg {
    width: 15px;
    height: 15px;
    fill: none;
    stroke: currentColor;
    stroke-linecap: round;
    stroke-linejoin: round;
    stroke-width: 1.6;
}

.balance-link strong {
    color: var(--ink);
    font-size: 13px;
}

.notification-center {
    position: relative;
}

.notification-bell,
.theme-toggle {
    position: relative;
    display: grid;
    width: 42px;
    height: 42px;
    padding: 0;
    place-items: center;
    background: var(--canvas);
    border: 1px solid var(--hairline);
    border-radius: 50%;
    color: var(--ink);
}

.notification-bell:hover,
.notification-bell[aria-expanded="true"],
.theme-toggle:hover {
    background: var(--hover);
    border-color: var(--strong-line);
}

.notification-bell svg,
.theme-toggle svg {
    width: 21px;
    height: 21px;
    fill: none;
    stroke: currentColor;
    stroke-linecap: round;
    stroke-linejoin: round;
    stroke-width: 1.65;
}

:root[data-theme="light"] .theme-toggle__sun,
:root[data-theme="dark"] .theme-toggle__moon {
    display: none;
}

.notification-unread-dot {
    position: absolute;
    top: 7px;
    right: 7px;
    width: 8px;
    height: 8px;
    background: #e5484d;
    border: 2px solid var(--canvas);
    border-radius: 50%;
    box-sizing: content-box;
}

.notification-panel {
    position: absolute;
    z-index: 120;
    top: calc(100% + 12px);
    right: 0;
    width: min(390px, calc(100vw - 32px));
    overflow: hidden;
    background: var(--canvas);
    border: 1px solid var(--hairline);
    border-radius: 14px;
    box-shadow: 0 24px 70px rgba(0, 0, 0, 0.22);
}

.notification-panel__header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    min-height: 70px;
    padding: 14px 16px;
    border-bottom: 1px solid var(--hairline);
}

.notification-panel__header div {
    display: grid;
    gap: 3px;
}

.notification-panel__header strong {
    font-size: 15px;
}

.notification-panel__header span {
    color: var(--muted);
    font-family: var(--sans);
    font-size: 10px;
}

.notification-panel__header button {
    padding: 0;
    background: transparent;
    border: 0;
    color: var(--ink);
    font-size: 12px;
    font-weight: 700;
}

.notification-panel__header button:disabled {
    cursor: default;
    opacity: 0.42;
}

.notification-panel__back {
    display: none;
}

.notification-panel__back svg {
    width: 20px;
    height: 20px;
    fill: none;
    stroke: currentColor;
    stroke-linecap: round;
    stroke-linejoin: round;
    stroke-width: 2;
}

.notification-filters {
    display: flex;
    gap: 8px;
    padding: 10px 12px;
    border-bottom: 1px solid var(--hairline);
}

.notification-filters button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 5px;
    min-height: 34px;
    padding: 0 12px;
    background: var(--quiet);
    border: 1px solid var(--hairline);
    border-radius: 999px;
    color: var(--muted);
    font-size: 11px;
}

.notification-filters button.is-active {
    background: var(--action-bg);
    border-color: var(--action-border);
    color: var(--action-ink);
}

.notification-filters button span {
    display: inline-grid;
    min-width: 17px;
    height: 17px;
    padding-inline: 4px;
    place-items: center;
    background: var(--canvas);
    border-radius: 999px;
    color: var(--ink);
    font-family: var(--sans);
    font-size: 8px;
}

.notification-list {
    max-height: min(470px, calc(100vh - 150px));
    overflow-y: auto;
}

.notification-item {
    display: grid;
    grid-template-columns: 42px minmax(0, 1fr) 7px;
    gap: 12px;
    align-items: start;
    padding: 15px 16px;
    border-bottom: 1px solid var(--hairline);
    color: var(--ink);
}

.notification-item:last-child {
    border-bottom: 0;
}

.notification-item:hover {
    background: var(--hover);
}

.notification-item__icon {
    display: grid;
    width: 42px;
    height: 42px;
    place-items: center;
    background: var(--quiet);
    border: 1px solid var(--hairline);
    border-radius: 11px;
}

.notification-item__icon svg {
    width: 21px;
    height: 21px;
    fill: none;
    stroke: currentColor;
    stroke-linecap: round;
    stroke-linejoin: round;
    stroke-width: 1.6;
}

.notification-item__content {
    min-width: 0;
}

.notification-item__content strong,
.notification-item__content span,
.notification-item__content time {
    display: block;
}

.notification-item__content strong {
    margin-bottom: 3px;
    font-size: 13px;
}

.notification-item__content span {
    color: var(--muted);
    font-size: 12px;
    line-height: 1.45;
}

.notification-item__content time {
    color: var(--muted);
    font-family: var(--sans);
    font-size: 9px;
}

.notification-item__unread {
    width: 7px;
    height: 7px;
    margin-top: 7px;
    background: #e5484d;
    border-radius: 50%;
}

.notification-item.is-read .notification-item__unread {
    visibility: hidden;
}

.notification-empty {
    margin: 0;
    padding: 36px 20px;
    color: var(--muted);
    font-size: 13px;
    text-align: center;
}

.transaction-receipt {
    display: grid;
    width: min(100%, 680px);
    min-height: 0;
    margin-inline: auto;
    gap: 12px;
    align-content: start;
}

.transaction-receipt__back {
    display: inline-flex;
    align-items: center;
    justify-self: start;
    gap: 8px;
    min-height: 38px;
    color: var(--ink);
    font-size: 14px;
}

.transaction-receipt__back svg {
    width: 19px;
    height: 19px;
    flex: 0 0 auto;
    fill: none;
    stroke: currentColor;
    stroke-linecap: round;
    stroke-linejoin: round;
    stroke-width: 2;
}

.stitch-availability__back svg {
    width: 18px;
    height: 18px;
    flex: 0 0 auto;
    fill: currentColor;
    vertical-align: middle;
}

.transaction-receipt__summary,
.transaction-receipt__details {
    background: var(--quiet);
    border: 1px solid var(--hairline);
    border-radius: 16px;
}

.transaction-receipt__summary {
    position: relative;
    display: grid;
    min-height: 164px;
    padding: 38px 22px 20px;
    place-items: center;
    align-content: center;
    text-align: center;
}

.transaction-receipt__mark {
    position: absolute;
    top: -20px;
    display: grid;
    width: 42px;
    height: 42px;
    place-items: center;
    background: #111318;
    border: 5px solid var(--canvas);
    border-radius: 50%;
    color: var(--action-ink);
}

.transaction-receipt__mark img {
    width: 22px;
    height: 22px;
    object-fit: contain;
    filter: none !important;
}

.transaction-receipt__summary p {
    margin: 0 0 9px;
    font-size: 13px;
}

.transaction-receipt__summary h1 {
    margin: 0 0 9px;
    font-family: var(--sans);
    font-size: clamp(28px, 4vw, 36px);
    letter-spacing: -0.035em;
}

.transaction-receipt__details {
    padding: 16px 18px;
}

.transaction-receipt__details h2 {
    margin: 0 0 12px;
    font-size: 14px;
}

.transaction-receipt__details dl,
.transaction-receipt__details dl div {
    display: grid;
    gap: 9px;
}

.transaction-receipt__details dl {
    margin: 0;
}

.transaction-receipt__details dl div {
    grid-template-columns: minmax(120px, 0.75fr) minmax(0, 1.25fr);
    align-items: start;
    font-size: 12px;
}

.transaction-receipt__details dt {
    color: var(--muted);
}

.transaction-receipt__details dd {
    margin: 0;
    text-align: right;
}

.transaction-receipt__details dd button {
    margin-left: 6px;
    padding: 0;
    background: transparent;
    border: 0;
    color: var(--ink);
    font-size: 11px;
    font-weight: 700;
}

.transaction-receipt__details dd button svg {
    width: 15px;
    height: 15px;
    fill: none;
    stroke: currentColor;
    stroke-linecap: round;
    stroke-linejoin: round;
    stroke-width: 1.6;
    vertical-align: middle;
}

.pre-line {
    white-space: pre-line;
}

.transaction-receipt__share {
    align-self: end;
    width: min(100%, 360px);
    min-height: 46px;
    margin: auto auto 0;
    background: var(--action-bg);
    border: 1px solid var(--action-border);
    border-radius: 999px;
    color: var(--action-ink);
    font-size: 13px;
    font-weight: 750;
}

.transaction-receipt__share:hover {
    background: var(--action-hover);
}

/* Stable, compact layout used only by the PNG receipt renderer. */
.transaction-receipt.is-receipt-export {
    display: block;
    width: 680px;
    min-height: 0;
    margin: 0;
    padding: 30px 24px 24px;
}

.transaction-receipt.is-receipt-export .transaction-receipt__summary {
    display: flex;
    min-height: 164px;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    margin-bottom: 12px;
}

.transaction-receipt.is-receipt-export .transaction-receipt__mark {
    display: flex;
    align-items: center;
    justify-content: center;
}

.transaction-receipt.is-receipt-export .transaction-receipt__details dl {
    display: block;
}

.transaction-receipt.is-receipt-export .transaction-receipt__details dl div {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 28px;
    margin-top: 9px;
}

.transaction-receipt.is-receipt-export .transaction-receipt__details dt {
    flex: 0 0 34%;
}

.transaction-receipt.is-receipt-export .transaction-receipt__details dd {
    max-width: 62%;
}

.transaction-receipt.is-receipt-export-mobile {
    width: 100%;
    padding: 25px 14px 18px;
}

.transaction-receipt.is-receipt-export-mobile .transaction-receipt__summary {
    min-height: 150px;
}

.transaction-receipt.is-receipt-export-mobile .transaction-receipt__details {
    padding: 15px 16px;
}

.transaction-receipt.is-receipt-export-mobile .transaction-receipt__details dl div {
    gap: 12px;
}

.transaction-receipt.is-receipt-export-mobile .transaction-receipt__details dt {
    flex-basis: 38%;
}

.transaction-receipt.is-receipt-export-mobile .transaction-receipt__details dd {
    max-width: 58%;
}

.transaction-reference-link {
    color: var(--ink);
    text-decoration-color: var(--strong-line);
    text-underline-offset: 3px;
}

.ledger-table tr.is-clickable {
    cursor: pointer;
}

.ledger-table tr.is-clickable:hover td {
    background: var(--hover);
}

.icon-button {
    display: inline-grid;
    width: 40px;
    height: 40px;
    place-items: center;
    background: var(--canvas);
    border: 1px solid var(--hairline);
    border-radius: var(--radius-control);
}

.icon-button:hover {
    border-color: var(--strong-line);
    color: var(--signal);
}

.app-menu-button {
    display: none;
}

.app-mobile-brand {
    display: none;
}

.app-main {
    width: min(100%, 1500px);
    min-height: calc(100vh - 132px);
    margin-inline: auto;
    padding: clamp(32px, 4vw, 58px) clamp(24px, 4vw, 52px) 80px;
}

.app-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    min-height: 58px;
    padding: 0 clamp(24px, 4vw, 52px);
    background: var(--canvas);
    border-top: 1px solid var(--hairline);
    color: var(--muted);
    font-family: var(--sans);
    font-size: 9px;
}

.app-footer nav {
    display: flex;
    gap: 20px;
}

.app-footer a:hover {
    color: var(--signal);
}

.mobile-bottom-nav {
    display: none;
}

.mobile-buy-sheet,
.mobile-buy-sheet-backdrop {
    display: none;
}

.page-heading {
    display: flex;
    align-items: end;
    justify-content: space-between;
    gap: 36px;
    margin-bottom: 52px;
}

.page-heading .section-coordinate {
    position: static;
    display: block;
    margin-bottom: 16px;
    font-size: 10px;
}

.page-heading h1 {
    margin-bottom: 12px;
    font-size: clamp(42px, 5vw, 66px);
}

.page-heading.compact h1 {
    font-size: clamp(20px, 1vw, 30px);
}

.page-heading p {
    max-width: 700px;
    margin: 0;
    color: var(--muted);
}

.dashboard-heading {
    align-items: stretch;
}

.balance-panel {
    display: flex;
    min-width: 330px;
    flex-direction: column;
    justify-content: center;
    padding: 26px;
    background: var(--canvas);
    border: 1px solid var(--hairline);
    border-radius: var(--radius-panel);
}

.balance-panel > span {
    font-size: 10px;
    letter-spacing: 0.07em;
    text-transform: uppercase;
}

.balance-panel small {
    margin-bottom: 18px;
    color: var(--muted);
    font-family: var(--sans);
    font-size: 10px;
}

.data-display {
    margin: 8px 0 2px;
    font-family: var(--sans);
    font-size: clamp(30px, 3vw, 42px);
    font-variant-numeric: tabular-nums;
}

.balance-panel__action {
    align-self: flex-start;
    margin-top: 20px;
}

.button-primary {
    background: var(--action-bg);
    border-color: var(--action-border);
    color: var(--action-ink);
}

.button-primary:hover {
    background: var(--action-hover);
    border-color: var(--action-hover);
}

.button-secondary {
    background: var(--action-bg);
    border-color: var(--action-border);
    color: var(--action-ink);
}

.button-secondary:hover {
    background: var(--action-hover);
    border-color: var(--action-hover);
}

.button-danger {
    background: var(--action-bg);
    border-color: var(--action-border);
    color: var(--action-ink);
}

.button-danger:hover {
    background: var(--action-hover);
    border-color: var(--action-hover);
}

.button-block {
    width: 100%;
}

.button:disabled,
.button[aria-disabled="true"] {
    cursor: not-allowed;
    opacity: 0.48;
    transform: none;
}

.dashboard-grid,
.admin-grid {
    display: grid;
    grid-template-columns: minmax(0, 2fr) minmax(280px, 0.85fr);
    gap: 24px;
    margin-bottom: 32px;
}

.ruled-section {
    background: transparent;
    border: 1px solid var(--hairline);
    border-radius: var(--radius-panel);
    margin-bottom: 35px;
}

.quick-order-panel,
.number-receiver,
.otp-payload,
.sms-history,
.event-timeline,
.funding-workspace,
.quote-ledger {
    background: var(--dashboard-card-gradient);
    border: 1px solid var(--hairline);
    border-radius: var(--radius-panel);
}

.section-heading-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    min-height: 72px;
    padding: 16px 22px;
    border-bottom: 1px solid var(--hairline);
}

.section-heading-row h2 {
    margin: 0;
    font-size: 20px;
    letter-spacing: -0.025em;
}

.section-heading-row > a {
    color: var(--muted);
    font-size: 12px;
}

.section-heading-row > a:hover {
    color: var(--signal);
}

.empty-state {
    display: flex;
    min-height: 148px;
    align-items: center;
    gap: 14px;
    padding: 28px 22px;
    color: var(--muted);
}

.empty-state p,
.empty-state h2 {
    margin: 0;
}

.empty-state a:not(.button) {
    margin-left: auto;
    color: var(--ink);
    font-weight: 600;
}

.empty-state .button {
    margin-left: auto;
    color: #fff;
}

.error-state {
    display: grid;
    grid-template-columns: 8px 1fr;
}

.error-state p {
    grid-column: 2;
}

.operation-list {
    display: grid;
}

.operation-row {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 24px;
    align-items: center;
    min-height: 82px;
    padding: 14px 22px;
    border-bottom: 1px solid var(--hairline);
    transition: background-color 150ms ease;
}

.operation-row:last-child {
    border-bottom: 0;
}

.operation-row:hover {
    background: var(--quiet);
}

.operation-row > div {
    display: grid;
    gap: 5px;
}

.operation-row > div:last-child {
    justify-items: end;
}

.operation-row strong {
    font-size: 15px;
}

.operation-row .mono {
    color: var(--muted);
    font-size: 11px;
}

.status-line {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 12px;
    white-space: nowrap;
}

.status-blue {
    background: var(--signal);
}

.status-green {
    background: var(--success);
}

.status-amber {
    background: var(--warning);
}

.status-red {
    background: var(--error);
}

.quick-order-panel {
    align-self: stretch;
    padding: 28px;
}

.quick-order-panel > span {
    display: block;
    margin-bottom: 36px;
    font-size: 10px;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.quick-order-panel h2 {
    margin-bottom: 14px;
    font-size: 30px;
}

.quick-order-panel p {
    margin-bottom: 28px;
    color: var(--muted);
}

.dashboard-operations {
    margin-bottom: 32px;
}

/* Stitch dashboard Variant 1. The application navigation intentionally keeps
   its existing styling and geometry; these rules are scoped to main content. */
.dashboard-home {
    display: grid;
    width: min(100%, 830px);
    margin-inline: auto;
    gap: 16px;
}

.app-main > .dashboard-home:first-child {
    margin-top: -28px;
}

.dashboard-welcome,
.dashboard-active-numbers,
.dashboard-history-card,
.dashboard-buy-card,
.dashboard-quick-services {
    position: relative;
    overflow: hidden;
    border: 1px solid var(--hairline);
    border-radius: 16px;
    color: var(--ink);
    isolation: isolate;
}

.dashboard-active-numbers {
    padding: 22px;
}

.dashboard-section-heading {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
}

.dashboard-section-heading {
    margin-bottom: 20px;
}

.dashboard-section-heading h2 {
    margin: 2px 0 0;
    font-size: 20px;
}

.dashboard-section-heading > a {
    color: var(--muted);
    font-size: 12px;
    font-weight: 700;
}

.dashboard-section-heading > a:hover {
    color: var(--ink);
}

.dashboard-section-kicker {
    color: var(--muted);
    font-size: 9px;
    font-weight: 800;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.dashboard-active-empty {
    display: grid;
    padding: 12px 0 4px;
    gap: 5px;
    color: var(--muted);
    font-size: 12px;
}

.dashboard-active-empty strong {
    color: var(--ink);
    font-size: 14px;
}

.dashboard-number-table-wrap {
    overflow-x: auto;
    margin: 0 -22px -22px;
}

.dashboard-number-table {
    width: 100%;
    min-width: 880px;
    border-collapse: collapse;
    text-align: left;
}

.dashboard-number-table th,
.dashboard-number-table td {
    padding: 13px 14px;
    border-top: 1px solid var(--hairline);
    font-size: 11px;
    vertical-align: middle;
}

.dashboard-number-table th {
    color: var(--muted);
    font-size: 9px;
    font-weight: 800;
    letter-spacing: 0.06em;
    text-transform: uppercase;
}

.dashboard-number-table th:first-child,
.dashboard-number-table td:first-child {
    padding-left: 22px;
}

.dashboard-number-table th:last-child,
.dashboard-number-table td:last-child {
    padding-right: 22px;
}

.dashboard-number-table td:first-child,
.dashboard-number-sms {
    min-width: 170px;
}

.dashboard-number-table td:first-child small,
.dashboard-number-sms small {
    display: flex;
    align-items: center;
    gap: 6px;
    margin-top: 5px;
    color: var(--muted);
    font-size: 9px;
}

.dashboard-number-id,
.dashboard-number-phone,
.dashboard-number-time {
    white-space: nowrap;
}

.dashboard-number-phone {
    font-size: 13px !important;
    font-weight: 750;
}

.dashboard-number-sms {
    max-width: 260px;
    line-height: 1.45;
}

.dashboard-number-time {
    color: var(--success);
    font-weight: 750;
}

.dashboard-number-time .is-expired {
    color: var(--warning);
}

.clickable-table-row {
    cursor: pointer;
    transition: background-color 140ms ease;
}

.clickable-table-row:hover,
.clickable-table-row:focus-visible {
    background: var(--hover);
    outline: none;
}

.dashboard-welcome::before,
.dashboard-buy-card::before {
    position: absolute;
    z-index: -1;
    inset: 0;
    background: var(--dashboard-card-gradient);
    content: "";
}

.dashboard-welcome::after,
.dashboard-buy-card::after {
    position: absolute;
    z-index: -1;
    inset: 0;
    background-image: linear-gradient(118deg, transparent 30%, rgba(255, 255, 255, 0.035) 51%, transparent 68%);
    content: "";
    opacity: 0.8;
}

.dashboard-welcome {
    min-height: 176px;
    padding: 28px;
}

.dashboard-welcome__top,
.dashboard-welcome__label {
    display: flex;
    align-items: center;
}

.dashboard-welcome__top {
    justify-content: space-between;
    gap: 20px;
}

.dashboard-welcome__label {
    gap: 7px;
    color: var(--muted);
    font-size: 13px;
    font-weight: 700;
}

.dashboard-history-link {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    color: var(--muted);
    font-size: 13px;
    font-weight: 700;
}

.dashboard-history-link__icon {
    display: none;
    width: 20px;
    height: 20px;
    fill: none;
    stroke: currentColor;
    stroke-linecap: round;
    stroke-linejoin: round;
    stroke-width: 1.7;
}

.dashboard-history-link:hover {
    color: var(--ink);
}

.dashboard-welcome__balance-row {
    display: grid;
    gap: 20px;
    margin-top: 34px;
    justify-content: flex-start;
}

.dashboard-welcome__balance-row > strong,
.wallet-balance-values > strong {
    font-size: clamp(36px, 4.2vw, 48px);
    font-variant-numeric: tabular-nums;
    font-weight: 750;
    letter-spacing: -0.045em;
    line-height: 1;
}

.dashboard-fund-button,
.dashboard-buy-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: var(--action-bg);
    border: 1px solid var(--action-border);
    border-radius: 999px;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.08);
    color: var(--action-ink);
    font-size: 14px;
    font-weight: 700;
    transition: background-color 150ms ease, transform 150ms ease;
}

.dashboard-fund-button {
    min-height: 46px;
    gap: 10px;
    padding: 0 20px;
}

.dashboard-fund-button svg {
    width: 22px;
    height: 22px;
    fill: none;
    stroke: currentColor;
    stroke-linecap: round;
    stroke-width: 1.6;
}

.dashboard-fund-button:hover,
.dashboard-buy-button:hover {
    background: var(--action-hover);
    border-color: var(--action-hover);
    transform: translateY(-1px);
}

.dashboard-balance-toggle {
    display: grid;
    width: 24px;
    height: 24px;
    padding: 0;
    place-items: center;
    background: transparent;
    border: 0;
    border-radius: 50%;
    color: var(--muted);
}

.dashboard-balance-toggle:hover {
    background: var(--hover);
    color: var(--ink);
}

.dashboard-balance-toggle svg {
    width: 18px;
    height: 18px;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.45;
}

.dashboard-balance-toggle[aria-pressed="true"] svg {
    opacity: 0.55;
}

.dashboard-history-card {
    padding: 10px 18px;
    background: transparent;
    border-color: var(--hairline);
}

.dashboard-history-item {
    display: grid;
    grid-template-columns: 42px minmax(0, 1fr) auto;
    align-items: center;
    gap: 12px;
    min-height: 72px;
    color: var(--ink);
}

.dashboard-history-item + .dashboard-history-item {
    border-top: 1px solid var(--hairline);
}

.dashboard-history-item__icon {
    display: grid;
    width: 42px;
    height: 42px;
    place-items: center;
    background: var(--quiet);
    border-radius: 50%;
    color: var(--ink);
}

.dashboard-history-item__icon svg {
    width: 21px;
    height: 21px;
    fill: none;
    stroke: currentColor;
    stroke-linecap: round;
    stroke-linejoin: round;
    stroke-width: 1.7;
}

.dashboard-history-item__details,
.dashboard-history-item__amount {
    display: grid;
    min-width: 0;
    gap: 4px;
}

.dashboard-history-item__details strong {
    overflow: hidden;
    font-size: 13px;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.dashboard-history-item__details time,
.dashboard-history-item__amount small {
    color: var(--muted);
    font-family: var(--sans);
    font-size: 9px;
}

.dashboard-history-item__amount {
    justify-items: end;
    text-align: right;
}

.dashboard-history-item__amount strong {
    font-family: var(--sans);
    font-size: 13px;
}

.dashboard-history-item__amount small {
    color: var(--muted);
}

.dashboard-history-item:hover .dashboard-history-item__details strong,
.dashboard-history-item:hover .dashboard-history-item__amount strong {
    text-decoration: underline;
}

.dashboard-history-empty {
    display: flex;
    align-items: center;
    width: 100%;
    min-height: 68px;
    margin: 0;
    color: var(--muted);
    font-size: 13px;
}

.dashboard-buy-card {
    min-height: 194px;
    padding: 40px 28px 20px;
}

.dashboard-feature-icon,
.dashboard-quick-service__icon {
    display: grid;
    place-items: center;
    background: linear-gradient(145deg, rgba(255, 255, 255, 0.18), rgba(21, 23, 25, 0.72));
}

.dashboard-feature-icon {
    width: 46px;
    height: 46px;
    margin-bottom: 8px;
    border-radius: 12px;
}

.dashboard-feature-icon svg,
.dashboard-quick-service__icon svg {
    fill: none;
    stroke: currentColor;
    stroke-linecap: round;
    stroke-linejoin: round;
    stroke-width: 1.5;
}

.dashboard-feature-icon svg {
    width: 25px;
    height: 25px;
}

.dashboard-buy-card h2,
.dashboard-quick-services h2 {
    margin: 0;
    font-size: 18px;
    letter-spacing: -0.02em;
}

.dashboard-buy-card p {
    margin: 1px 0 9px;
    color: var(--muted);
    font-size: 13px;
}

.dashboard-buy-button {
    min-height: 32px;
    padding: 0 16px;
    font-size: 12px;
    margin-top: 10px;
}

.dashboard-quick-services {
    padding: 20px 28px;
    background: var(--dashboard-services-gradient);
    border-color: var(--hairline);
}

.dashboard-quick-services__list {
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 16px;
    margin-top: 0;
}

.dashboard-quick-service {
    display: grid;
    min-width: 52px;
    padding: 0;
    justify-items: center;
    gap: 6px;
    background: transparent;
    border: 0;
    border-radius: 10px;
    color: var(--ink);
    font-size: 13px;
    line-height: 1.3;
    text-align: center;
}

.dashboard-quick-service__icon {
    width: 48px;
    height: 48px;
    border-radius: 13px;
    transition: border-color 150ms ease, transform 150ms ease;
}

.dashboard-quick-service__icon svg {
    width: 25px;
    height: 25px;
}

.dashboard-quick-service:hover .dashboard-quick-service__icon,
.dashboard-quick-service:focus-visible .dashboard-quick-service__icon {
    border-color: rgba(255, 255, 255, 0.7);
    transform: translateY(-2px);
}

.dashboard-quick-service:focus-visible {
    outline: 2px solid currentColor;
    outline-offset: 4px;
}

.ledger-section {
    margin-top: 24px;
}

.table-wrap {
    overflow-x: auto;
}

.ledger-table {
    width: 100%;
    border-collapse: collapse;
    text-align: left;
}

.ledger-table th,
.ledger-table td {
    padding: 13px 18px;
    border-bottom: 1px solid var(--hairline);
    font-size: 13px;
    white-space: nowrap;
}

.ledger-table th {
    height: 45px;
    color: var(--muted);
    font-family: var(--sans);
    font-size: 9px;
    letter-spacing: 0.07em;
    text-transform: uppercase;
}

.ledger-table td {
    height: 62px;
}

.ledger-table tbody tr:hover {
    background: var(--quiet);
}

.ledger-table tr:last-child td {
    border-bottom: 0;
}

.ledger-table .number {
    text-align: right;
}

.wallet-pagination {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    gap: 8px;
    padding-top: 24px;
    margin-bottom: 10px;
}

.wallet-pagination a,
.wallet-pagination span {
    display: grid;
    width: 34px;
    height: 34px;
    place-items: center;
    border-radius: 50%;
    color: var(--muted);
    font-size: 13px;
    font-weight: 700;
}

.wallet-pagination a:hover,
.wallet-pagination span {
    background: var(--ink);
    color: var(--canvas);
}

.positive {
    color: var(--success);
}

.negative {
    color: var(--ink);
}

.notice {
    position: relative;
    display: block;
    margin: 16px 0;
    padding: 0 0 0 15px;
    background: transparent;
    border: 0;
    border-radius: 0;
    color: var(--muted);
    font-size: 13px;
}

.notice::before {
    position: absolute;
    top: 0.55em;
    left: 0;
    width: 7px;
    height: 7px;
    background: var(--muted);
    border-radius: 1px;
    content: "";
}

.notice .notice-action {
    font-weight: 700;
    text-decoration: none;
    transition: opacity 150ms ease;
}

.notice .notice-action:hover,
.notice .notice-action:focus-visible {
    opacity: 0.58;
}

.notice-warning {
    color: var(--muted);
}

.notice-warning::before {
    background: var(--warning);
}

.notice-error {
    color: var(--ink);
}

.notice-error::before {
    background: var(--error);
}

.inline-feedback {
    display: block;
    margin: 8px 0 0;
    padding: 0;
    color: var(--muted);
    font-size: 12px;
    line-height: 1.5;
}

.inline-feedback--error {
    color: var(--error);
}

.inline-feedback--success {
    color: var(--ink);
}

.inline-feedback--warning {
    color: var(--warning);
}

.filter-toolbar {
    display: flex;
    align-items: end;
    gap: 14px;
    padding: 18px 20px;
    border-bottom: 1px solid var(--hairline);
}

.filter-toolbar .field {
    min-width: 190px;
}

/* Purchase workbench */
.purchase-workbench {
    display: grid;
    grid-template-columns: minmax(0, 7fr) minmax(340px, 5fr);
    gap: clamp(24px, 3vw, 38px);
    align-items: start;
}

.step-form {
    background: var(--dashboard-card-gradient);
    border: 1px solid var(--hairline);
    border-radius: var(--radius-panel);
}

.workbench-step {
    display: grid;
    grid-template-columns: 42px minmax(0, 1fr);
    gap: 22px;
    padding: 36px 30px;
    border-bottom: 1px solid var(--hairline);
}

.workbench-step:last-child {
    border-bottom: 0;
}

.step-index {
    color: var(--muted);
    font-size: 10px;
}

.workbench-step h2 {
    margin: 0 0 26px;
    font-size: 26px;
}

.workbench-step .field {
    gap: 10px;
}

.workbench-step > div > div.usa-options,
.workbench-step [data-usa-options] {
    display: grid;
    gap: 18px;
    margin-top: 20px;
}

.workbench-step > div > div.usa-options .check-row,
.workbench-step [data-usa-options] .check-row {
    margin-top: 0;
}

.workbench-step > div > .field + .check-row {
    margin-top: 18px;
}

.workbench-step .field input,
.workbench-step .field select {
    min-height: 54px;
    padding-inline: 18px;
}

.network-metric-note {
    max-width: 620px;
    margin: 11px 2px 0;
    color: var(--muted);
    font-size: 11px;
    line-height: 1.5;
}

.network-support-card {
    display: flex;
    max-width: 620px;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-top: 14px;
    padding: 12px 14px;
    border: 1px solid var(--hairline);
    border-radius: 12px;
    color: var(--ink);
    font-size: 12px;
    line-height: 1.4;
}

@media (max-width: 520px) {
    .network-support-card {
        align-items: flex-start;
        flex-direction: column;
    }
}

.choice-grid,
.asset-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
}

.asset-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
}

.choice-cell {
    position: relative;
    display: block;
    min-width: 0;
}

.choice-cell input {
    position: absolute;
    width: 1px;
    height: 1px;
    opacity: 0;
}

.choice-cell > span {
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 14px 16px;
    border: 1px solid var(--strong-line);
    border-radius: var(--radius-control);
    transition: background-color 150ms ease, border-color 150ms ease;
}

.choice-cell input:checked + span {
    border-color: var(--signal);
}

.choice-cell input:checked + span::before {
    opacity: 1;
}

.choice-cell input:focus-visible + span {
    outline: 3px solid var(--focus-ring);
    outline-offset: 2px;
}

.choice-cell--region > span {
    align-items: center;
    flex-direction: row;
    gap: 5px;
}

.choice-cell__region-icon {
    display: grid;
    width: 26px;
    height: 26px;
    flex: 0 0 26px;
    place-items: center;
}

.choice-cell__region-flag,
.choice-cell__region-globe {
    font-size: 23px;
    line-height: 1;
}

.choice-cell strong,
.choice-cell small {
    overflow: hidden;
    text-overflow: ellipsis;
}

.choice-cell small {
    margin-top: 4px;
    color: var(--muted);
    font-size: 11px;
}

.choice-cell__asset-icon {
    width: 30px;
    height: 30px;
    flex: 0 0 30px;
    object-fit: contain;
}

.check-row {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-top: 14px;
    color: var(--muted);
    font-size: 13px;
}

.check-row input {
    width: 16px;
    height: 16px;
    accent-color: var(--signal);
}

.quote-ledger {
    position: sticky;
    top: 98px;
    overflow: hidden;
}

.quote-ledger dl {
    margin: 0;
}

.quote-ledger dl > div,
.bank-details > div,
.definition-list > div,
.crypto-destination dl > div {
    display: grid;
    grid-template-columns: minmax(110px, 0.8fr) minmax(0, 1.2fr);
    gap: 18px;
    align-items: center;
    min-height: 58px;
    padding: 11px 20px;
}

.definition-list > div:last-child {
    border-bottom: 0;
}

.quote-ledger dt,
.bank-details dt,
.definition-list dt,
.crypto-destination dt {
    color: var(--muted);
    font-family: var(--sans);
    font-size: 9px;
    letter-spacing: 0.06em;
    text-transform: uppercase;
}

.quote-ledger dd,
.bank-details dd,
.definition-list dd,
.crypto-destination dd {
    margin: 0;
    text-align: right;
}

.profile-phone-value {
    display: inline-flex;
    align-items: center;
    justify-content: flex-end;
    gap: 8px;
}

.profile-phone-edit {
    display: grid;
    width: 26px;
    height: 26px;
    padding: 4px;
    place-items: center;
    background: transparent;
    border: 0;
    border-radius: 6px;
    color: var(--muted);
    cursor: pointer;
}

.profile-phone-edit:hover,
.profile-phone-edit:focus-visible {
    border-color: var(--strong-line);
    color: var(--signal);
}

.profile-phone-edit svg {
    width: 100%;
    height: 100%;
    fill: none;
    stroke: currentColor;
    stroke-linecap: round;
    stroke-linejoin: round;
    stroke-width: 1.8;
}

.phone-edit-dialog {
    width: min(460px, calc(100% - 32px));
    padding: 0;
    background: var(--canvas);
    border: 1px solid var(--hairline);
    border-radius: 16px;
    color: var(--ink);
    box-shadow: 0 24px 80px rgba(0, 0, 0, 0.32);
}

.phone-edit-dialog::backdrop {
    background: rgba(0, 0, 0, 0.72);
}

.phone-edit-dialog__form {
    position: relative;
    display: grid;
    gap: 18px;
    padding: 30px;
}

.phone-edit-dialog__form h2,
.phone-edit-dialog__form p {
    margin: 0;
}

.phone-edit-dialog__form h2 {
    padding-right: 30px;
    font-size: 26px;
}

.phone-edit-dialog__form p {
    color: var(--muted);
    font-size: 13px;
    line-height: 1.6;
}

.phone-edit-dialog__close {
    position: absolute;
    top: 18px;
    right: 20px;
    width: 34px;
    height: 34px;
    padding: 0;
    background: transparent;
    border: 0;
    color: var(--muted);
    font-size: 26px;
    line-height: 1;
    cursor: pointer;
}

.phone-edit-dialog__actions {
    display: grid;
    gap: 10px;
    padding-top: 4px;
}

.quote-total {
    display: flex;
    align-items: center;
    justify-content: space-between;
    min-height: 84px;
    padding: 16px 20px;
    border-bottom: 1px solid var(--hairline);
}

.quote-total span {
    color: var(--muted);
    font-size: 12px;
}

.quote-total strong {
    font-family: var(--sans);
    font-size: 28px;
}

.quote-actions {
    display: grid;
    gap: 14px;
    padding: 20px;
}

.quote-actions .notice,
.quote-actions form {
    margin: 0;
}

.quote-actions small {
    display: block;
    color: var(--muted);
    font-size: 11px;
    line-height: 1.55;
}

.stock-empty-card {
    overflow: hidden;
    margin: 0;
    border: 1px solid var(--strong-line);
    border-radius: var(--radius-control);
}

.stock-empty-card__heading {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    padding: 15px 16px 13px;
}

.stock-empty-card__icon {
    display: grid;
    width: 34px;
    height: 34px;
    flex: 0 0 34px;
    place-items: center;
    border: 1px solid var(--strong-line);
    border-radius: 10px;
}

.stock-empty-card__icon svg {
    width: 18px;
    height: 18px;
    fill: none;
    stroke: currentColor;
    stroke-linecap: round;
    stroke-linejoin: round;
    stroke-width: 1.6;
}

.stock-empty-card__heading strong {
    display: block;
    font-size: 13px;
}

.stock-empty-card__heading p {
    margin: 4px 0 0;
    color: var(--muted);
    font-size: 11px;
    line-height: 1.45;
}

.stock-empty-card__link {
    display: flex;
    width: 100%;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 12px 16px;
    background: color-mix(in srgb, var(--signal) 4%, transparent);
    border: 0;
    color: var(--signal-deep);
    font: 600 11px/1.3 var(--sans);
    text-align: left;
    cursor: pointer;
    border-radius: 0;
}

.stock-empty-card__link:hover {
    background: color-mix(in srgb, var(--signal) 10%, transparent);
}

.stock-empty-card__link span {
    font-size: 18px;
    line-height: 1;
}

.stock-info-dialog {
    width: min(460px, calc(100% - 40px));
    padding: 0;
    background: var(--dashboard-card-gradient);
    border: 1px solid var(--strong-line);
    border-radius: var(--radius-panel);
    box-shadow: 0 24px 80px rgba(0, 0, 0, 0.35);
    color: var(--ink);
}

.stock-info-dialog::backdrop {
    background: rgba(5, 7, 10, 0.72);
    backdrop-filter: blur(4px);
}

.stock-info-dialog__inner {
    position: relative;
    display: grid;
    gap: 14px;
    padding: 30px;
}

.stock-info-dialog__close {
    position: absolute;
    top: 16px;
    right: 16px;
    display: grid;
    width: 32px;
    height: 32px;
    place-items: center;
    padding: 0;
    background: transparent;
    border: 1px solid var(--hairline);
    border-radius: 50%;
    color: var(--muted);
    font-size: 22px;
    line-height: 1;
    cursor: pointer;
}

.stock-info-dialog__close:hover {
    color: var(--ink);
    border-color: var(--strong-line);
}

.stock-info-dialog h2 {
    max-width: 320px;
    margin: 0;
    font-size: 26px;
    letter-spacing: -0.04em;
}

.stock-info-dialog p {
    margin: 0;
    color: var(--muted);
    font-size: 13px;
    line-height: 1.6;
}

.stock-info-dialog .button {
    margin-top: 4px;
}

@media (max-width: 720px) {
    .stock-info-dialog {
        position: fixed;
        inset: auto 0 0;
        width: 100%;
        max-width: none;
        margin: 0;
        border-right: 0;
        border-bottom: 0;
        border-left: 0;
        border-radius: 22px 22px 0 0;
    }

    .stock-info-dialog__inner {
        padding: 28px 20px calc(22px + env(safe-area-inset-bottom));
    }
}

/* Active receiver */
.receiver-layout {
    display: grid;
    grid-template-columns: minmax(0, 8fr) minmax(300px, 4fr);
    gap: 28px;
    align-items: start;
}

.receiver-sidebar {
    position: sticky;
    top: 98px;
    display: grid;
    min-width: 0;
    gap: 20px;
    align-content: start;
}

.receiver-guidance {
    position: relative;
    overflow: hidden;
    background:
        radial-gradient(circle at 82% 18%, color-mix(in srgb, var(--warning) 14%, transparent), transparent 42%),
        var(--dashboard-card-gradient);
    border: 1px solid var(--hairline);
    border-radius: var(--radius-panel);
}

.receiver-guidance--mobile {
    display: none;
}

.receiver-guidance__topline {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    min-height: 48px;
    padding: 0 18px;
    border-bottom: 1px solid var(--hairline);
    color: var(--muted);
    font-size: 9px;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.receiver-guidance__topline > span:first-child {
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.receiver-guidance__topline svg {
    width: 15px;
    height: 15px;
    fill: none;
    stroke: var(--warning);
    stroke-linecap: round;
    stroke-linejoin: round;
    stroke-width: 1.8;
}

.receiver-guidance__slides {
    display: grid;
    min-height: 174px;
}

.receiver-guidance__slide {
    display: grid;
    grid-template-columns: 46px minmax(0, 1fr);
    gap: 15px;
    align-content: center;
    align-items: start;
    padding: 24px 20px 20px;
    animation: receiver-guidance-enter 180ms ease-out;
}

.receiver-guidance__icon {
    display: grid;
    width: 46px;
    height: 46px;
    place-items: center;
    background: color-mix(in srgb, var(--warning) 10%, var(--quiet));
    border: 1px solid color-mix(in srgb, var(--warning) 32%, var(--hairline));
    border-radius: 14px;
    color: var(--warning);
}

.receiver-guidance__icon svg {
    width: 23px;
    height: 23px;
    fill: none;
    stroke: currentColor;
    stroke-linecap: round;
    stroke-linejoin: round;
    stroke-width: 1.6;
}

.receiver-guidance__slide h2 {
    margin: 1px 0 8px;
    font-size: 18px;
    letter-spacing: -0.025em;
}

.receiver-guidance__slide p {
    margin: 0;
    color: var(--muted);
    font-size: 12px;
    line-height: 1.55;
}

.receiver-guidance__slide strong {
    display: inline-block;
    margin-top: 10px;
    color: var(--ink);
    font-size: 11px;
    line-height: 1.45;
}

.receiver-guidance__controls {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    min-height: 42px;
    border-top: 1px solid var(--hairline);
}

.receiver-guidance__controls button {
    width: 8px;
    height: 8px;
    padding: 0;
    background: var(--strong-line);
    border: 0;
    border-radius: 50%;
    cursor: pointer;
}

.receiver-guidance__controls button[aria-pressed="true"] {
    width: 22px;
    background: var(--warning);
    border-radius: 999px;
}

@keyframes receiver-guidance-enter {
    from { opacity: 0; transform: translateY(4px); }
    to { opacity: 1; transform: translateY(0); }
}

.number-receiver,
.otp-payload,
.sms-history {
    overflow: hidden;
    margin-bottom: 20px;
}

.sms-history__list {
    margin: 0;
    padding: 0;
    list-style: none;
}

.sms-history__item {
    padding: 18px 20px;
    border-bottom: 1px solid var(--hairline);
}

.sms-history__item:last-child {
    border-bottom: 0;
}

.sms-history__meta,
.sms-history__message-row {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 18px;
}

.sms-history__meta {
    color: var(--muted);
    font-size: 10px;
}

.sms-history__code {
    display: block;
    margin-top: 12px;
    color: var(--signal-deep);
    font-size: 24px;
    letter-spacing: 0.06em;
}

.sms-history__message-row {
    margin-top: 10px;
}

.sms-history__message-row p {
    margin: 0;
    overflow-wrap: anywhere;
    font-size: 13px;
    line-height: 1.55;
    white-space: pre-wrap;
}

.sms-history__message-row .button {
    flex: 0 0 auto;
}

.receiver-meta,
.receiver-status {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    min-height: 50px;
    padding: 0 20px;
    border-bottom: 1px solid var(--hairline);
    color: var(--muted);
    font-size: 10px;
}

.copy-data-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    padding: 28px 20px;
}

.phone-display {
    font-size: clamp(26px, 4vw, 46px);
    font-variant-numeric: tabular-nums;
    letter-spacing: -0.05em;
}

.number-receiver > .phone-display {
    display: block;
    padding: 28px 20px;
}

.otp-payload .empty-state {
    display: grid;
    grid-template-columns: 7px minmax(0, 1fr);
    align-items: center;
}

.otp-payload .empty-state > .status-square {
    align-self: center;
}

.otp-payload .empty-state > h2,
.otp-payload .empty-state > p {
    grid-column: 2;
}

.otp-display {
    color: var(--signal-deep);
    font-size: clamp(38px, 6vw, 72px);
    font-variant-numeric: tabular-nums;
    letter-spacing: 0.08em;
}

.countdown-track {
    display: block;
    width: 100%;
    height: 3px;
    border: 0;
    border-radius: 0;
    appearance: none;
}

.countdown-track::-webkit-progress-bar {
    background: var(--hairline);
}

.countdown-track::-webkit-progress-value {
    background: var(--signal);
}

.countdown-track::-moz-progress-bar {
    background: var(--signal);
}

.otp-payload > p {
    padding: 0 20px 20px;
    color: var(--muted);
    font-size: 12px;
}

.listening-state {
    position: relative;
    display: grid;
    min-height: 180px;
    place-items: center;
    overflow: hidden;
    color: var(--muted);
}

.listening-state p {
    position: relative;
    z-index: 1;
}

.signal-scan {
    position: absolute;
    top: 0;
    right: 0;
    left: 0;
    height: 1px;
    background: var(--signal);
    animation: receiver-scan 2.7s ease-in-out infinite;
}

@keyframes receiver-scan {
    0% { opacity: 0; transform: translateY(0); }
    20% { opacity: 0.8; }
    80% { opacity: 0.4; }
    100% { opacity: 0; transform: translateY(178px); }
}

.receiver-actions {
    justify-content: flex-end;
}

.receiver-actions form {
    margin: 0;
}

.event-timeline {
    position: static;
    overflow: hidden;
}

.event-timeline ol {
    margin: 0;
    padding: 14px 20px 24px;
    list-style: none;
}

.event-timeline li {
    position: relative;
    display: grid;
    grid-template-columns: 80px 1fr;
    gap: 16px;
    min-height: 54px;
    padding: 12px 0 12px 19px;
    border-left: 1px solid var(--hairline);
}

.event-timeline li::before {
    position: absolute;
    top: 18px;
    left: -4px;
    width: 7px;
    height: 7px;
    background: var(--signal);
    content: "";
}

.event-timeline time {
    color: var(--muted);
    font-size: 9px;
}

.event-timeline strong {
    font-size: 13px;
}

/* Wallet and funding */
.wallet-balance-card {
    margin-bottom: 28px;
}

.wallet-balance-values {
    display: flex;
    align-items: flex-start;
    flex-direction: column;
    gap: 8px;
}

.wallet-held-balance {
    color: #ff6b6b;
    font-size: 13px;
    font-weight: 700;
}

.funding-workspace {
    overflow: visible;
    margin-bottom: 28px;
}

.funding-tabs {
    display: grid;
    grid-template-columns: 1fr 1fr;
    border-bottom: 1px solid var(--hairline);
}

.funding-tabs button {
    position: relative;
    min-height: 56px;
    background: transparent;
    border: 0;
    border-radius: 0;
    color: var(--muted);
    font-weight: 600;
}

.funding-tabs button:focus,
.funding-tabs button:focus-visible {
    outline: none;
}

.funding-tabs button + button {
    border-left: 1px solid var(--hairline);
}

.funding-tabs button.is-active {
    color: var(--ink);
}

.funding-tabs button.is-active::after {
    position: absolute;
    right: 0;
    bottom: -1px;
    left: 0;
    height: 2px;
    background: var(--signal);
    content: "";
}

.funding-panel {
    padding: 24px;
}

.funding-panel form {
    display: grid;
    gap: 10px;
}

.bank-phone-gate {
    display: grid;
    min-height: 150px;
    place-content: center;
    gap: 12px;
    text-align: center;
}

.bank-phone-gate p {
    margin: 0;
}

.bank-phone-gate__link {
    padding: 0;
    background: transparent;
    border: 0;
    border-bottom: 1px solid currentColor;
    border-radius: 0;
    color: var(--ink);
    font: inherit;
    font-weight: 700;
    cursor: pointer;
}

.bank-phone-gate__link:hover,
.bank-phone-gate__link:focus-visible {
    color: var(--signal);
    outline: 2px solid var(--focus-ring);
    outline-offset: 4px;
}

.bank-deposit-countdown {
    display: flex;
    align-items: center;
    gap: 8px;
    margin: -4px 0 8px;
    color: var(--signal);
    font-size: 14px;
    font-weight: 600;
    font-variant-numeric: tabular-nums;
}

.bank-deposit-countdown svg {
    width: 18px;
    height: 18px;
    flex: 0 0 18px;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.8;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.bank-deposit-cancel {
    margin-top: 14px;
}

.bank-deposit-cancel .button.button-danger {
    background: #c93443;
    border-color: #c93443;
    color: #ffffff;
}

.bank-deposit-cancel .button.button-danger:hover {
    background: #aa2533;
    border-color: #aa2533;
}

.bank-deposit-submitted {
    margin-top: 10px;
}

.bank-deposit-processing {
    display: grid;
    gap: 22px;
    margin-top: 8px;
    padding: 24px 20px;
    background: color-mix(in srgb, var(--signal) 5%, var(--canvas));
    border: 1px solid var(--hairline);
    border-radius: 10px;
}

.bank-deposit-processing__heading {
    display: flex;
    align-items: center;
    gap: 12px;
}

.bank-deposit-processing__heading strong {
    display: block;
    font-size: 16px;
}

.bank-deposit-processing__heading p {
    margin: 4px 0 0;
    color: var(--muted);
    font-size: 13px;
}

.bank-deposit-processing__spinner {
    width: 20px;
    height: 20px;
    flex: 0 0 20px;
    border: 2px solid var(--hairline);
    border-top-color: var(--signal);
    border-radius: 50%;
    animation: bank-deposit-spin 800ms linear infinite;
}

@keyframes bank-deposit-spin {
    to { transform: rotate(360deg); }
}

@media (prefers-reduced-motion: reduce) {
    .bank-deposit-processing__spinner,
    .bank-deposit-progress__spinner {
        animation: none;
    }
}

.bank-details,
.definition-list,
.crypto-destination dl {
    margin: 0;
}

.account-number-row dd,
.profile-reference-row dd {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 16px;
}

.account-number-row strong {
    font-size: 20px;
    letter-spacing: 0.05em;
}

.account-number-copy {
    display: inline-grid;
    width: 20px;
    height: 20px;
    padding: 0;
    place-items: center;
    flex: 0 0 20px;
    background: transparent;
    border: 0;
    color: currentColor;
}

.account-number-copy svg {
    width: 20px;
    height: 20px;
    fill: none;
    stroke: currentColor;
    stroke-linecap: round;
    stroke-linejoin: round;
    stroke-width: 1.6;
}

.account-number-copy:hover,
.account-number-copy[data-copy-state="success"] {
    color: var(--signal);
}

.copy-icon-button {
    display: inline-grid;
    width: 36px;
    height: 36px;
    padding: 0;
    place-items: center;
    flex: 0 0 36px;
    background: transparent;
    border: 0;
    color: var(--ink);
}

.copy-icon-button svg {
    width: 20px;
    height: 20px;
    fill: none;
    stroke: currentColor;
    stroke-linecap: round;
    stroke-linejoin: round;
    stroke-width: 1.6;
}

.copy-icon-button:hover,
.copy-icon-button[data-copy-state="success"] {
    color: var(--signal);
}

.copy-icon-button:focus-visible {
    outline: 2px solid var(--signal);
    outline-offset: 2px;
}

.crypto-form {
    display: grid;
    gap: 20px;
}

.money-input {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr);
    align-items: center;
    overflow: hidden;
    background: transparent;
    border: 1px solid var(--strong-line);
    border-radius: var(--radius-control);
    transition: border-color 150ms ease, box-shadow 150ms ease;
}

.money-input > span {
    padding-left: 14px;
    color: var(--muted);
    font-family: var(--mono);
}

.money-input input,
.money-input input:focus {
    border: 0;
    border-radius: 0;
    background: transparent;
    box-shadow: none;
    outline: 0;
}

.money-input:focus-within {
    border-color: var(--signal);
    box-shadow: 0 0 0 3px var(--focus-ring);
}

.crypto-destination {
    display: grid;
    grid-template-columns: 150px 1fr;
    gap: 24px;
    margin-top: 28px;
    padding-top: 28px;
    border-top: 1px solid var(--hairline);
}

.qr-placeholder {
    display: grid;
    width: 150px;
    height: 150px;
    place-items: center;
    background: var(--quiet);
    border: 1px solid var(--strong-line);
    font-family: var(--sans);
    font-size: 11px;
}

.break-data {
    overflow-wrap: anywhere;
    word-break: break-word;
}

.crypto-destination dd .text-button {
    margin-left: auto;
}

.crypto-claim-form {
    display: grid;
    gap: 16px;
    margin-top: 20px;
}

.crypto-claim-form .button {
    justify-self: start;
}

.crypto-claims {
    margin-top: 28px;
    border-top: 1px solid var(--hairline);
}

.crypto-hash-cell {
    max-width: 180px;
}

.manual-review-actions,
.manual-review-actions form {
    display: grid;
    gap: 10px;
}

.manual-review-actions form {
    grid-template-columns: minmax(130px, 1fr) auto;
    align-items: end;
}

/* Settings */
.settings-subpage {
    display: grid;
    width: min(100%, 920px);
    gap: 24px;
    margin: 0 auto;
}

.settings-subpage__titlebar {
    display: flex;
    align-items: center;
    gap: 20px;
    min-height: 70px;
    padding: 0 24px;
    background: transparent;
    border: 1px solid var(--hairline);
    border-radius: 14px;
}

.settings-back-button {
    display: grid;
    width: 32px;
    height: 32px;
    flex: 0 0 32px;
    place-items: center;
    color: var(--muted);
}

.settings-back-button svg {
    width: 24px;
    height: 24px;
    fill: none;
    stroke: currentColor;
    stroke-linecap: round;
    stroke-linejoin: round;
    stroke-width: 2;
}

.settings-subpage__titlebar h1 {
    margin: 0;
    font-size: clamp(26px, 3vw, 34px);
}

.settings-subpage .settings-panel {
    margin: 0;
    padding: 24px 26px 28px;
    background: transparent;
    border: 1px solid var(hairline);
    border-radius: 14px;
}

.settings-hub {
    display: grid;
    width: min(100%, 920px);
    gap: 24px;
    margin: 0 auto;
}

.settings-hub__heading,
.settings-profile-card,
.settings-hub__list,
.settings-signout {
    border: 1px solid var(--hairline);
    border-radius: 14px;
}

.settings-hub__heading {
    display: none;
    align-items: center;
    gap: 20px;
    min-height: 70px;
    padding: 0 24px;
}

.settings-hub__heading h1 {
    margin: 0;
    font-size: clamp(26px, 3vw, 34px);
}

.settings-profile-card {
    display: grid;
    grid-template-columns: 56px 1fr auto;
    gap: 16px;
    align-items: center;
    min-height: 122px;
    padding: 20px 24px;
}

.settings-profile-card__avatar {
    display: grid;
    width: 56px;
    height: 56px;
    overflow: hidden;
    place-items: center;
    background: linear-gradient(145deg, var(--quiet), color-mix(in srgb, var(--signal) 12%, var(--canvas)));
    border: 1px solid color-mix(in srgb, var(--signal) 38%, var(--hairline));
    border-radius: 50%;
    color: var(--signal);
    font-size: 21px;
    font-weight: 800;
}

.settings-profile-card > span:nth-child(2) {
    display: grid;
    gap: 5px;
}

.settings-profile-card small {
    color: var(--signal);
    font-size: 12px;
    font-weight: 700;
}

.settings-hub__section {
    display: grid;
    gap: 9px;
}

.settings-hub__section > h2 {
    margin: 0 6px;
    color: var(--muted);
    font-size: 11px;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.settings-hub__list {
    overflow: hidden;
}

.settings-hub__list > a {
    display: grid;
    grid-template-columns: 48px 1fr auto;
    gap: 16px;
    align-items: center;
    min-height: 82px;
    padding: 12px 22px;
}

.settings-hub__list > a + a {
    border-top: 1px solid var(--hairline);
}

.settings-hub__list > a:hover,
.settings-profile-card:hover,
.settings-signout button:hover {
    background: color-mix(in srgb, var(--ink) 4%, var(--canvas));
}

.settings-hub__icon {
    display: grid;
    width: 42px;
    height: 42px;
    place-items: center;
    background: color-mix(in srgb, var(--signal) 8%, var(--canvas));
    border-radius: 10px;
    color: var(--muted);
}

.settings-hub__icon svg {
    width: 22px;
    height: 22px;
    fill: none;
    stroke: currentColor;
    stroke-linecap: round;
    stroke-linejoin: round;
    stroke-width: 1.8;
}

.settings-hub__chevron {
    color: var(--muted);
    font-size: 28px;
    line-height: 1;
}

.settings-signout {
    overflow: hidden;
}

.settings-signout button {
    display: grid;
    width: 100%;
    grid-template-columns: 48px 1fr auto;
    gap: 16px;
    align-items: center;
    min-height: 82px;
    padding: 12px 22px;
    background: transparent;
    border: 0;
    color: var(--ink);
    text-align: left;
}

.settings-signout button > small {
    color: var(--muted);
    font-size: 11px;
}

.settings-signout button.is-confirming {
    color: var(--signal);
}

.settings-grid {
    display: grid;
    grid-template-columns: 210px minmax(0, 1fr);
    gap: 26px;
    align-items: start;
}

.settings-content {
    display: grid;
    min-width: 0;
    gap: 22px;
}

.settings-index {
    position: sticky;
    top: 98px;
    display: grid;
    background: var(--canvas);
    border-top: 1px solid var(--strong-line);
}

.settings-index a {
    position: relative;
    min-height: 48px;
    padding: 14px 16px;
    border-bottom: 1px solid var(--hairline);
    color: var(--muted);
    font-size: 13px;
}

.settings-index a.is-active {
    background: var(--quiet);
    color: var(--ink);
}

.settings-index a.is-active::before {
    position: absolute;
    top: 0;
    bottom: 0;
    left: 0;
    width: 2px;
    background: var(--signal);
    content: "";
}

.settings-grid .ruled-section {
    margin-bottom: 22px;
    padding-bottom: 24px;
}

.settings-grid .settings-panel {
    padding: 24px 26px 28px;
}

.settings-content .ruled-section {
    margin-bottom: 0;
}

.settings-grid .ruled-section > h2,
.settings-grid .ruled-section > p {
    margin-right: 20px;
    margin-left: 20px;
}

.settings-grid .ruled-section > h2 {
    margin-top: 24px;
}

.settings-grid .settings-panel > h2,
.settings-grid .settings-panel > p {
    margin-right: 0;
    margin-left: 0;
}

.settings-grid .settings-panel > h2 {
    margin-top: 0;
}

.settings-action {
    display: flex;
    align-items: center;
    margin: 20px;
}

.danger-zone {
    border-color: color-mix(in srgb, var(--error) 42%, var(--hairline));
}

.settings-subpage .settings-panel.danger-zone {
    border: 1px solid color-mix(in srgb, var(--error) 42%, var(--hairline));
}

.danger-zone h2 {
    color: var(--error);
}

.danger-zone > p {
    max-width: 760px;
    line-height: 1.65;
}

.account-deletion-flow {
    margin: 22px 20px 0;
}

.account-deletion-form {
    display: grid;
    max-width: 460px;
    gap: 16px;
}

.account-deletion-form .field-label {
    color: var(--muted);
    font-family: var(--sans);
    font-size: 10px;
    font-weight: 600;
    letter-spacing: 0.07em;
    text-transform: uppercase;
}

.account-deletion-otp {
    display: flex;
    max-width: 410px;
    gap: clamp(8px, 2vw, 14px);
}

.account-deletion-otp input {
    width: auto;
    min-width: 0;
    max-width: 48px;
    height: 58px;
    flex: 1 1 0;
    padding: 0;
    background: transparent;
    border: 0;
    border-bottom: 2px solid var(--strong-line);
    border-radius: 0;
    box-shadow: none;
    color: var(--muted);
    caret-color: var(--signal);
    font-size: 25px;
    font-weight: 600;
    text-align: center;
    transition: border-color 150ms ease, color 150ms ease;
}

.account-deletion-otp input:focus {
    border-bottom-color: var(--signal);
    color: var(--signal);
    box-shadow: none;
    outline: 0;
}

.account-deletion-otp input.is-filled {
    border-bottom-color: var(--ink);
    color: var(--ink);
}

.account-deletion-otp input.is-filled:focus {
    border-bottom-color: var(--signal);
    color: var(--signal);
}

.account-deletion-otp.is-invalid input {
    border-bottom-color: var(--error);
}

.account-deletion-otp.is-submitting {
    opacity: 0.58;
    pointer-events: none;
}

.account-deletion-help,
.account-deletion-status {
    margin: 0;
    color: var(--muted);
    font-size: 12px;
    line-height: 1.55;
}

.account-deletion-status {
    min-height: 19px;
    margin-top: 14px;
}

.account-deletion-status.is-success {
    color: var(--success);
}

.account-deletion-status.is-error {
    color: var(--error);
}

.password-reset-flow {
    margin: 22px 20px 0;
}

.password-reset-form {
    display: grid;
    max-width: 460px;
    gap: 16px;
}

.password-reset-form .field-label {
    color: var(--muted);
    font-family: var(--sans);
    font-size: 10px;
    font-weight: 600;
    letter-spacing: 0.07em;
    text-transform: uppercase;
}

.password-reset-help,
.password-reset-status {
    margin: 0;
    color: var(--muted);
    font-size: 12px;
    line-height: 1.55;
}

.password-reset-status {
    min-height: 19px;
    margin-top: 14px;
}

.password-reset-status.is-success { color: var(--success); }
.password-reset-status.is-error { color: var(--error); }

.password-reset-form .field { display: grid; gap: 8px; }
.password-reset-form .button { justify-self: start; }

.password-visibility-toggle svg {
    width: 20px;
    height: 20px;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.7;
}

.password-eye--closed { display: none; }
.password-visibility-toggle[aria-pressed="true"] .password-eye--open { display: none; }
.password-visibility-toggle[aria-pressed="true"] .password-eye--closed { display: block; }

.password-field .password-visibility-toggle {
    min-width: 42px;
    padding: 0;
}

.password-field .password-visibility-toggle--bare {
    background: transparent;
}

.recovery-otp-form { gap: 14px; }
.recovery-code-note { margin: 0; color: var(--muted); font-size: 12px; }
.recovery-resend { justify-self: start; }
.recovery-status { margin-top: 18px; }

.mfa-flow {
    margin: 22px 20px 0;
}

.mfa-setup {
    display: grid;
    grid-template-columns: 190px minmax(0, 1fr);
    max-width: 720px;
    gap: 24px 28px;
    align-items: start;
}

.mfa-qr-frame {
    display: grid;
    width: 190px;
    height: 190px;
    place-items: center;
    padding: 10px;
    background: #fff;
    border: 1px solid var(--hairline);
}

.mfa-qr-frame img { display: block; width: 100%; height: 100%; }
.mfa-setup-copy h3 { margin: 0 0 10px; font-size: 20px; }
.mfa-setup-copy p { margin: 0 0 14px; color: var(--muted); line-height: 1.55; }
.mfa-secret-label { font-family: var(--sans); font-size: 10px; letter-spacing: .06em; text-transform: uppercase; }
.mfa-secret { display: inline-block; max-width: 100%; padding: 10px 12px; background: var(--quiet); color: var(--ink); overflow-wrap: anywhere; letter-spacing: .08em; }
.mfa-code-form { display: grid; grid-column: 1 / -1; max-width: 460px; gap: 14px; }
.mfa-code-form .field-label { color: var(--muted); font-family: var(--sans); font-size: 10px; font-weight: 600; letter-spacing: .07em; text-transform: uppercase; }
.mfa-code-form > p { margin: 0; color: var(--muted); font-size: 12px; line-height: 1.55; }

@media (max-width: 640px) {
    .mfa-setup { grid-template-columns: 1fr; }
    .mfa-code-form { grid-column: 1; }
}

@media (max-width: 480px) {
    .dashboard-history-link {
        display: grid;
        flex: 0 0 36px;
        width: 36px;
        height: 36px;
        border-radius: 50%;
        justify-content: end;
    }

    .dashboard-history-link:hover,
    .dashboard-history-link:focus-visible {
        color: var(--ink);
    }

    .dashboard-history-link__label,
    .dashboard-history-link__chevron {
        display: none;
    }

    .dashboard-history-link__icon {
        display: block;
    }
}

/* Footer */
.site-footer {
    border-top: 1px solid var(--strong-line);
}

.site-footer__main {
    display: grid;
    grid-template-columns: minmax(280px, 2.2fr) repeat(3, 1fr);
    gap: 48px;
    padding: 74px 0 72px;
}

.brand--footer .brand__mark {
    width: 32px;
    height: 32px;
}

.site-footer__statement p {
    max-width: 380px;
    margin: 22px 0 0;
    color: var(--muted);
}

.footer-column {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 13px;
}

.footer-column__title {
    margin-bottom: 8px;
    color: var(--muted);
    font-family: var(--sans);
    font-size: 10px;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.footer-column a {
    color: var(--muted);
    font-size: 14px;
}

.footer-column a:hover {
    color: var(--signal);
}

.site-footer__bottom {
    display: flex;
    align-items: center;
    justify-content: space-between;
    min-height: 64px;
    border-top: 1px solid var(--hairline);
    color: var(--muted);
    font-family: var(--sans);
    font-size: 10px;
    letter-spacing: 0.03em;
}

.system-status:hover {
    color: var(--ink);
}

@media (max-width: 1080px) {
    .site-navigation {
        gap: 26px;
    }

    .site-nav {
        gap: 22px;
    }

    .site-actions {
        gap: 14px;
        padding-left: 20px;
    }

    .hero {
        grid-template-columns: minmax(0, 1.12fr) minmax(340px, 0.88fr);
        gap: 42px;
        padding-left: 52px;
    }

    .outcome-row {
        grid-template-columns: 46px minmax(220px, 0.8fr) minmax(300px, 1.2fr);
    }

    .auth-shell {
        grid-template-columns: minmax(340px, 43%) minmax(460px, 57%);
    }

    .auth-brand__telemetry,
    .auth-brand__steps {
        grid-template-columns: 1fr;
    }

    .auth-brand__telemetry span,
    .auth-brand__steps li {
        min-height: 42px;
    }

    .auth-brand__telemetry span + span,
    .auth-brand__steps li + li {
        padding-left: 0;
        border-top: 1px solid var(--hairline);
        border-left: 0;
    }

    .purchase-workbench {
        grid-template-columns: minmax(0, 1.25fr) minmax(310px, 0.75fr);
    }

    .asset-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 960px) {
    .app-navigation-open {
        overflow: hidden;
    }

    .app-navigation-open .app-sidebar-backdrop {
        position: fixed;
        z-index: 140;
        top: 0;
        right: 0;
        bottom: 0;
        left: min(292px, calc(100vw - 42px));
        display: block;
        padding: 0;
        background: rgba(17, 19, 24, 0.28);
        border: 0;
    }

    .app-sidebar,
    .app-sidebar-backdrop {
        display: none !important;
    }

    .app-workspace {
        margin-left: 0;
    }

    .app-topbar {
        display: flex;
        margin-left: 0;
    }

    .page-settings .app-topbar,
    .page-settings .mobile-bottom-nav {
        display: none;
    }

    .page-settings .app-main {
        padding-bottom: 30px;
    }

    .page-settings-index .settings-hub__heading {
        display: flex;
    }

    .page-settings .settings-back-button__shaft {
        display: none;
    }

    .app-mobile-brand {
        display: inline-grid;
        width: 40px;
        height: 40px;
        flex: 0 0 40px;
        place-items: center;
    }

    .app-main {
        padding-bottom: 112px;
    }

    .mobile-bottom-nav {
        position: fixed;
        z-index: 120;
        right: 0;
        bottom: 0;
        left: 0;
        display: grid;
        grid-template-columns: repeat(4, 1fr);
        min-height: 66px;
        padding-bottom: env(safe-area-inset-bottom);
        background: rgba(255, 255, 255, 0.98);
    }

    .mobile-bottom-nav--customer {
        grid-template-columns: repeat(5, minmax(0, 1fr));
    }

    .mobile-bottom-nav a,
    .mobile-bottom-nav .mobile-nav-buy {
        position: relative;
        display: grid;
        min-width: 0;
        padding: 0;
        align-content: center;
        gap: 3px;
        place-items: center;
        background: transparent;
        border: 0;
        color: var(--muted);
        cursor: pointer;
        font: inherit;
        -webkit-tap-highlight-color: transparent;
    }

    .mobile-bottom-nav a svg,
    .mobile-bottom-nav .mobile-nav-buy svg {
        width: 24px;
        height: 24px;
        fill: none;
        stroke: currentColor;
        stroke-width: 1.75;
        stroke-linecap: round;
        stroke-linejoin: round;
    }

    .mobile-bottom-nav a .mobile-nav-label,
    .mobile-bottom-nav .mobile-nav-buy .mobile-nav-label {
        max-width: 100%;
        overflow: hidden;
        font-size: 10px;
        font-weight: 600;
        line-height: 1.1;
        text-overflow: ellipsis;
        white-space: nowrap;
    }

    .mobile-bottom-nav a .mobile-nav-avatar {
        display: grid;
        width: 26px;
        height: 26px;
        overflow: hidden;
        place-items: center;
        background: linear-gradient(145deg, var(--quiet), color-mix(in srgb, var(--signal) 12%, var(--canvas)));
        border: 1px solid color-mix(in srgb, var(--signal) 38%, var(--hairline));
        border-radius: 50%;
        color: var(--signal);
        font-size: 11px;
        font-weight: 800;
        line-height: 1;
    }

    .mobile-bottom-nav a.is-active,
    .mobile-bottom-nav .mobile-nav-buy.is-active {
        color: var(--ink);
    }

    .mobile-nav-buy__icon {
        display: grid;
        width: 42px;
        height: 42px;
        margin-top: -20px;
        place-items: center;
        background: var(--ink);
        border: 4px solid var(--canvas);
        border-radius: 50%;
        color: var(--canvas);
        box-shadow: 0 8px 22px rgba(6, 8, 12, 0.2);
    }

    .mobile-nav-buy__icon svg {
        width: 21px !important;
        height: 21px !important;
    }

    .mobile-buy-sheet-backdrop {
        position: fixed;
        z-index: 148;
        inset: 0;
        display: block;
        width: 100%;
        height: 100%;
        padding: 0;
        background: rgba(5, 7, 11, 0.62);
        border: 0;
        backdrop-filter: blur(4px);
    }

    .mobile-buy-sheet {
        position: fixed;
        z-index: 150;
        right: 0;
        bottom: 0;
        left: 0;
        display: block;
        max-height: calc(100vh - 56px);
        padding: 12px 18px calc(24px + env(safe-area-inset-bottom));
        overflow-y: auto;
        background: var(--canvas);
        border: 1px solid var(--strong-line);
        border-bottom: 0;
        border-radius: 22px 22px 0 0;
        box-shadow: 0 -18px 50px rgba(4, 6, 10, 0.22);
    }

    .mobile-buy-sheet[hidden],
    .mobile-buy-sheet-backdrop[hidden] {
        display: none !important;
    }

    .mobile-buy-sheet__handle {
        width: 42px;
        height: 4px;
        margin: 0 auto 16px;
        background: var(--strong-line);
        border-radius: 999px;
    }

    .mobile-buy-sheet > header {
        display: flex;
        margin-bottom: 18px;
        align-items: flex-start;
        justify-content: space-between;
        gap: 16px;
    }

    .mobile-buy-sheet > header h2 {
        margin: 5px 0 0;
        font-size: 21px;
    }

    .mobile-buy-sheet > header button {
        width: 36px;
        height: 36px;
        flex: 0 0 36px;
        background: var(--quiet);
        border: 0;
        border-radius: 50%;
        color: var(--ink);
        font-size: 22px;
    }

    .mobile-buy-sheet__choices {
        display: grid;
        gap: 10px;
    }

    .mobile-buy-sheet__choices a {
        display: grid;
        min-height: 76px;
        padding: 13px;
        grid-template-columns: 42px minmax(0, 1fr) auto;
        align-items: center;
        gap: 12px;
        border: 1px solid var(--hairline);
        border-radius: 13px;
        color: var(--ink);
    }

    .mobile-buy-sheet__choice-icon {
        display: grid;
        width: 42px;
        height: 42px;
        place-items: center;
        background: var(--quiet);
        border-radius: 11px;
    }

    .mobile-buy-sheet__choice-icon svg {
        width: 22px;
        height: 22px;
        fill: none;
        stroke: currentColor;
        stroke-linecap: round;
        stroke-linejoin: round;
        stroke-width: 1.6;
    }

    .mobile-buy-sheet__choices a > span:nth-child(2) {
        display: grid;
        min-width: 0;
        gap: 4px;
    }

    .mobile-buy-sheet__choices strong {
        font-size: 13px;
    }

    .mobile-buy-sheet__choices small {
        color: var(--muted);
        font-size: 10px;
    }

    body.has-open-mobile-buy {
        overflow: hidden;
    }

    .dashboard-grid,
    .admin-grid,
    .purchase-workbench,
    .receiver-layout {
        grid-template-columns: 1fr;
    }

    .quote-ledger,
    .event-timeline,
    .receiver-sidebar {
        position: static;
    }

    .receiver-guidance--desktop {
        display: none;
    }

    .receiver-guidance--mobile {
        display: block;
        margin-bottom: 20px;
    }

    .receiver-guidance__slides {
        min-height: 154px;
    }

    .receiver-guidance__slide {
        padding: 22px 20px 18px;
    }

    .quote-ledger {
        grid-row: 2;
    }

    .app-footer {
        padding-bottom: 66px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .receiver-guidance__slide {
        animation: none;
    }
}

@media (max-width: 820px) {
    body.has-open-notifications {
        overflow: hidden;
    }

    body.has-open-notifications .mobile-bottom-nav,
    body.has-open-notifications .support-widget {
        display: none !important;
    }

    .notification-panel {
        position: fixed;
        z-index: 2000;
        inset: 0;
        width: 100%;
        height: 100dvh;
        overflow: hidden;
        background: var(--quiet);
        border: 0;
        border-radius: 0;
        box-shadow: none;
    }

    .notification-panel__header {
        min-height: 76px;
        padding: 14px 18px;
        background: var(--quiet);
        border-bottom: 0;
    }

    .notification-panel__header div {
        flex: 1;
    }

    .notification-panel__header div span {
        display: none;
    }

    .notification-panel__header strong {
        font-size: 18px;
        font-weight: 500;
    }

    .notification-panel__back {
        display: grid;
        width: 24px;
        height: 40px;
        place-items: center;
        color: var(--ink);
        font-size: 18px;
        font-weight: 400;
    }

    .mobile-title-back__shaft {
        display: none;
    }

    .notification-panel__header > [data-notification-read-all] {
        width: 72px;
        visibility: hidden;
    }

    .notification-filters {
        min-height: 70px;
        padding: 14px 18px;
        gap: 10px;
        background: var(--quiet);
        border-bottom: 0;
    }

    .notification-filters button {
        flex: 1;
        min-height: 40px;
        padding-inline: 10px;
        background: var(--canvas);
        border: 0;
        font-size: 12px;
    }

    .notification-list {
        height: calc(100dvh - 146px);
        max-height: none;
        padding: 18px 18px 28px;
        background: var(--quiet);
    }

    .notification-item {
        grid-template-columns: 38px minmax(0, 1fr) 7px;
        margin-bottom: 14px;
        padding: 18px;
        background: var(--canvas);
        border: 0;
        border-radius: 14px;
    }

    .notification-item:last-child {
        border-bottom: 0;
    }

    .notification-item:hover {
        background: color-mix(in srgb, var(--ink) 4%, var(--canvas));
    }

    .notification-item__icon {
        width: 38px;
        height: 38px;
        background: color-mix(in srgb, var(--signal) 8%, var(--canvas));
        border: 0;
        border-radius: 10px;
    }

    .notification-item__content strong {
        margin-bottom: 12px;
        font-size: 16px;
    }

    .notification-item__content span {
        min-height: 42px;
        font-size: 13px;
    }

    .notification-item__content time {
        font-size: 10px;
    }

    .notification-item__content time::after {
        float: right;
        color: var(--ink);
        content: "View  ›";
        font-family: var(--sans);
        font-size: 12px;
        font-weight: 700;
    }

    .app-body:has(.transaction-receipt) .app-topbar,
    .app-body:has(.transaction-receipt) .app-footer,
    .app-body:has(.transaction-receipt) .mobile-bottom-nav,
    .app-body:has(.transaction-receipt) .support-widget {
        display: none;
    }

    .app-body:has(.transaction-receipt) .app-main {
        min-height: 100dvh;
        padding: 0 18px 22px;
    }

    .transaction-receipt {
        min-height: 0;
        gap: 10px;
    }

    .transaction-receipt__back {
        min-height: 58px;
        font-size: 18px;
        font-weight: 500;
    }

    .transaction-receipt__summary {
        min-height: 150px;
        padding: 36px 16px 18px;
    }

    .transaction-receipt__summary p {
        font-size: 12px;
    }

    .transaction-receipt__summary h1 {
        font-size: clamp(26px, 8vw, 34px);
    }

    .transaction-receipt__details {
        padding: 15px 16px;
    }

    .transaction-receipt__details dl div {
        grid-template-columns: minmax(90px, 0.7fr) minmax(0, 1.3fr);
        gap: 10px;
        font-size: 12px;
    }

    .transaction-receipt__share {
        min-height: 46px;
        margin-top: 0;
    }

    :root {
        --header-height: 64px;
        --page-gutter: 20px;
    }

    body.has-open-navigation .site-header {
        position: fixed;
        top: 0;
        right: 0;
        left: 0;
    }

    .site-header__inner {
        position: relative;
    }

    .menu-toggle {
        display: inline-flex;
    }

    .site-navigation {
        position: absolute;
        top: 63px;
        right: calc(var(--page-gutter) * -1);
        left: calc(var(--page-gutter) * -1);
        display: flex;
        flex-direction: column;
        align-items: stretch;
        gap: 0;
        padding: 0 var(--page-gutter) 24px;
        background: var(--canvas);
        border-bottom: 1px solid var(--strong-line);
    }

    .js .site-navigation:not(.is-open) {
        display: none;
    }

    .site-nav,
    .site-actions {
        display: flex;
        flex-direction: column;
        align-items: stretch;
        gap: 0;
    }

    .site-nav a,
    .site-actions .text-action {
        min-height: 58px;
        border-bottom: 1px solid var(--hairline);
        font-size: 16px;
    }

    .site-nav a::after,
    .site-actions .text-action::after {
        top: 0;
        right: auto;
        bottom: 0;
        left: -20px;
        width: 2px;
        height: auto;
        transform: none;
    }

    .site-actions {
        align-self: auto;
        padding: 10px 0 0;
        border: 0;
    }

    .site-actions .button {
        margin-top: 12px;
    }

    .hero {
        grid-template-columns: 1fr;
        gap: 50px;
        min-height: 0;
        padding: 70px 0 76px 38px;
    }

    .hero__copy h1,
    .page-intro h1 {
        font-size: clamp(45px, 12vw, 62px);
    }

    .number-console {
        margin-left: -38px;
    }

    .availability-tape__inner {
        grid-template-columns: repeat(3, 1fr);
    }

    .availability-tape__item:nth-child(4) {
        border-left: 1px solid var(--hairline);
    }

    .availability-tape__item:nth-child(n + 4) {
        border-top: 1px solid var(--hairline);
    }

    .section-heading--split,
    .trust-section__grid,
    .page-intro {
        grid-template-columns: 1fr;
    }

    .section-heading--split {
        gap: 28px;
    }

    .process-line {
        grid-template-columns: 1fr;
        border-top: 0;
        border-left: 1px solid var(--strong-line);
    }

    .process-line li,
    .process-line li + li {
        min-height: 0;
        padding: 8px 0 44px 34px;
        border: 0;
    }

    .process-line li::before,
    .process-line li + li::before {
        top: 4px;
        left: -4px;
    }

    .process-line h3 {
        margin-top: 22px;
    }

    .trust-section__grid {
        gap: 54px;
    }

    .outcome-row {
        grid-template-columns: 42px 1fr;
        gap: 20px;
    }

    .outcome-row > :last-child {
        grid-column: 2;
    }

    .page-intro {
        gap: 42px;
        min-height: 0;
        padding: 72px 0 64px 38px;
    }

    .auth-shell {
        grid-template-columns: 1fr;
    }

    .auth-brand {
        display: none;
    }

    .auth-form-panel {
        display: block;
        min-height: 100vh;
        padding-top: 28px;
    }

    .auth-form-panel__mobile-logo {
        display: inline-flex;
        margin-bottom: 70px;
    }

    .auth-form-wrap,
    .auth-form-wrap--register {
        margin-inline: auto;
    }

    .error-screen {
        grid-template-columns: 1fr;
        gap: 36px;
        min-height: 540px;
    }

    .error-screen__code {
        font-size: 110px;
    }

    .site-footer__main {
        grid-template-columns: 2fr 1fr 1fr;
    }

    .site-footer__statement {
        grid-column: 1 / -1;
        margin-bottom: 22px;
    }

    .page-heading {
        align-items: stretch;
        flex-direction: column;
    }

    .balance-panel {
        width: 100%;
        min-width: 0;
    }

    .settings-grid {
        grid-template-columns: 1fr;
    }

    .support-layout {
        grid-template-columns: 1fr;
    }

    .support-form-card {
        grid-row: 1;
    }

    .support-guidance {
        grid-row: 2;
    }

    .settings-index {
        position: static;
        grid-template-columns: repeat(2, 1fr);
    }

    .settings-index a + a {
        border-left: 1px solid var(--hairline);
    }
}

/* Theme-specific surface tokens are selected before first paint by the shared
   layout initializer and can then be changed from the workspace switcher. */
    :root[data-theme="dark"] {
        --canvas: #151820;
        --quiet: #0d0f13;
        --hover: rgba(0,0,0,.2);
        --ink: #f4f6f8;
        --muted: #a6afbb;
        --hairline: #292f38;
        --strong-line: #444c58;
        --signal: #ffffff;
        --signal-deep: #f4f6f8;
        --signal-soft: #1c212a;
        --success: #45c98a;
        --warning: #e3a64d;
        --error: #ff7480;
        --action-bg: #f4f6f8;
        --action-ink: #111318;
        --action-hover: #dfe3e8;
        --action-border: #f4f6f8;
        --toast-bg: #111318;
        --toast-ink: #ffffff;
        --scrollbar-thumb: #ffffff;
        --focus-ring: rgba(255, 255, 255, 0.08);
        --dashboard-card-gradient: linear-gradient(135deg, #08090a 0%, #151719 42%, #35383c 100%);
        --dashboard-services-gradient: linear-gradient(135deg, #0b0c0d 0%, #16181a 58%, #25282b 100%);
        color-scheme: dark;
    }

    html[data-theme="dark"] body.page-home-stitch,
    html[data-theme="dark"] .stitch-header {
        --home-bg: #0d0f13;
        --home-surface: #151820;
        --home-surface-strong: #1c212a;
        --home-text: #f4f6f8;
        --home-muted: #a6afbb;
        --home-rule: #292f38;
        --home-blue: #ffffff;
    }

    html[data-theme="dark"] body.page-auth {
        --home-bg: #0d0f13;
    }

    html[data-theme="dark"] .site-header {
        background: rgba(13, 15, 19, 0.96);
    }

    html[data-theme="dark"] .site-navigation,
    html[data-theme="dark"] .mobile-bottom-nav {
        background: var(--canvas);
    }

    html[data-theme="dark"] .app-sidebar {
        background: var(--dashboard-card-gradient);
    }

    html[data-theme="dark"] .stitch-navigation {
        background: transparent;
    }

    @media (max-width: 720px) {
        html[data-theme="dark"] .stitch-navigation {
            background: var(--home-bg);
        }
    }

    html[data-theme="dark"] .stitch-services,
    html[data-theme="dark"] .stitch-reason-card,
    html[data-theme="dark"] .service-directory__search input,
    html[data-theme="dark"] .service-directory__filters button,
    html[data-theme="dark"] .service-directory__routes span,
    html[data-theme="dark"] .status-page__summary {
        background: var(--home-bg);
    }

    html[data-theme="dark"] .stitch-app:hover {
        background: var(--home-surface-strong);
    }

    html[data-theme="dark"] .service-directory__notice {
        background: #271f12;
        border-color: #6c5428;
        color: #f1c879;
    }

    html[data-theme="dark"] .button-danger {
        background: var(--action-bg);
        border-color: var(--action-border);
        color: var(--action-ink);
    }

    html[data-theme="dark"] .button-danger:hover {
        background: var(--action-hover);
        border-color: var(--action-hover);
    }

    html[data-theme="dark"] .stitch-select__button:focus,
    html[data-theme="dark"] .stitch-select__button[aria-expanded="true"] {
        border-color: var(--strong-line);
    }

    html[data-theme="dark"] .stitch-select__search:focus {
        border-color: var(--hairline);
        box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.08);
        outline: 0;
    }

    html[data-theme="dark"] .verify-email-stage {
        background:
            linear-gradient(rgba(68, 76, 88, 0.34) 1px, transparent 1px),
            linear-gradient(90deg, rgba(68, 76, 88, 0.34) 1px, transparent 1px),
            var(--quiet);
    }

    html[data-theme="dark"] .verify-email-card,
    html[data-theme="dark"] .toast-notice {
        box-shadow: 0 24px 70px rgba(0, 0, 0, 0.34);
    }

    html[data-theme="dark"] img[src$="logo-mark-black.png"] {
        filter: invert(1);
    }

    html[data-theme="dark"] .transaction-receipt__mark img {
        filter: invert(1);
    }

@media (max-width: 620px) {
    .settings-subpage {
        gap: 18px;
    }

    .settings-subpage__titlebar {
        min-height: 62px;
        padding: 0 18px;
    }

    .settings-subpage .settings-panel {
        padding: 20px 18px 22px;
    }

    .toast-stack {
        right: 16px;
        bottom: 16px;
        width: calc(100vw - 32px);
    }

    .toast-notice {
        font-size: 12px;
    }

    .settings-action .button {
        width: 100%;
    }

    .support-field-grid {
        grid-template-columns: 1fr;
    }

    .support-contact-form > .button {
        width: 100%;
    }

    .hero,
    .page-intro {
        padding-left: 32px;
    }

    .number-console {
        margin-left: -32px;
    }

    .section-coordinate i {
        height: 38px;
    }

    .hero__copy h1,
    .page-intro h1 {
        font-size: clamp(43px, 13vw, 54px);
    }

    .hero__lede {
        font-size: 17px;
    }

    .action-row {
        display: grid;
        grid-template-columns: 1fr;
    }

    .action-row .button {
        width: 100%;
    }

    .trust-line {
        display: grid;
        grid-template-columns: 1fr;
        gap: 7px;
    }

    .trust-line i {
        display: none;
    }

    .number-console__head {
        align-items: flex-start;
        flex-direction: column;
        justify-content: center;
        gap: 2px;
        min-height: 62px;
    }

    .console-ledger > div {
        grid-template-columns: 104px 1fr;
    }

    .console-ledger dd {
        font-size: 12px;
    }

    .availability-tape__inner {
        grid-template-columns: repeat(2, 1fr);
    }

    .availability-tape__item:nth-child(n + 3) {
        border-top: 1px solid var(--hairline);
    }

    .process-section,
    .outcomes,
    .faq {
        padding-top: 78px;
        padding-bottom: 78px;
    }

    .section-heading {
        margin-bottom: 42px;
    }

    .section-heading h2,
    .trust-section h2 {
        font-size: 38px;
    }

    .trust-section__grid {
        padding-top: 76px;
        padding-bottom: 76px;
    }

    .outcome-row {
        grid-template-columns: 28px 1fr;
        padding: 30px 0;
    }

    .outcome-row h3 {
        font-size: 24px;
    }

    .ledger-states {
        grid-template-columns: 1fr;
    }

    .ledger-states span {
        min-height: 52px;
    }

    .ledger-states span + span {
        border-top: 1px solid var(--hairline);
        border-left: 0;
    }

    .faq-list summary {
        grid-template-columns: 30px 1fr 20px;
        min-height: 76px;
        font-size: 16px;
    }

    .faq-list details > div {
        padding: 0 26px 24px 48px;
    }

    .faq-page__heading {
        grid-template-columns: 1fr;
        gap: 16px;
    }

    .faq-page__heading > p {
        margin: 0;
    }

    .faq-page__footer {
        align-items: stretch;
        flex-direction: column;
    }

    .pagination {
        justify-content: space-between;
    }

    .auth-form-panel__mobile-logo {
        margin-bottom: 54px;
    }

    .auth-form-heading h2 {
        font-size: 40px;
    }

    .auth-form {
        gap: 20px;
    }

    .error-screen {
        padding-top: 56px;
        padding-bottom: 72px;
    }

    .site-footer__main {
        grid-template-columns: 1fr 1fr;
        gap: 42px 28px;
        padding: 58px 0;
    }

    .site-footer__statement {
        grid-column: 1 / -1;
    }

    .site-footer__bottom {
        align-items: flex-start;
        flex-direction: column;
        justify-content: center;
        gap: 8px;
        min-height: 82px;
    }

    .app-topbar {
        min-height: 64px;
        padding-inline: 16px;
    }

    .app-breadcrumb {
        display: none;
    }

    .balance-link {
        gap: 8px;
        padding-right: 11px;
    }

    .app-main {
        padding: 30px 16px 102px;
    }

    .app-main > .dashboard-home:first-child {
        margin-top: 0;
    }

    .dashboard-home {
        gap: 14px;
    }

    .dashboard-welcome {
        min-height: 172px;
        padding: 24px 20px;
    }

    .dashboard-active-numbers {
        padding: 18px 14px;
    }

    .dashboard-number-table-wrap {
        margin-inline: -14px;
        margin-bottom: -18px;
    }

    .dashboard-welcome__balance-row {
        align-items: flex-end;
        flex-direction: row;
        margin-top: 30px;
    }

    .dashboard-welcome__balance-row > strong {
        font-size: 34px;
    }

    .dashboard-fund-button {
        min-height: 42px;
    }

    .dashboard-balance-toggle {
        position: static;
    }

    .dashboard-history-card {
        padding-inline: 14px;
    }

    .dashboard-history-item {
        grid-template-columns: 38px minmax(0, 1fr) auto;
        gap: 10px;
    }

    .dashboard-history-item__icon {
        width: 38px;
        height: 38px;
    }

    .dashboard-buy-card {
        min-height: 205px;
        padding: 34px 20px 20px;
    }

    .dashboard-quick-services {
        padding: 24px 20px 20px;
    }

    .dashboard-quick-services__list {
        grid-template-columns: repeat(3, minmax(0, 1fr));
        gap: 18px 12px;
    }

    .app-footer {
        display: none;
    }

    .page-heading {
        margin-bottom: 34px;
    }

    .page-heading h1,
    .page-heading.compact h1 {
        font-size: 20px;
    }

    .balance-panel,
    .quick-order-panel {
        padding: 22px;
    }

    .button-row {
        display: grid;
        grid-template-columns: 1fr 1fr;
    }

    .section-heading-row {
        align-items: flex-start;
        flex-wrap: wrap;
        min-height: 55px;
        padding: 15px 16px 0;
    }

    .empty-state {
        align-items: flex-start;
        flex-wrap: wrap;
        min-height: 126px;
        padding: 24px 16px;
    }

    .empty-state a:not(.button) {
        width: 100%;
        margin-left: 20px;
    }

    .empty-state .button {
        width: 100%;
        margin-left: 0;
    }

    .operation-row {
        grid-template-columns: 1fr;
        gap: 10px;
        padding: 16px;
    }

    .operation-row > div:last-child {
        grid-template-columns: 1fr auto;
        justify-items: start;
    }

    .ledger-table {
        min-width: 720px;
    }

    .filter-toolbar {
        align-items: stretch;
        flex-direction: column;
        padding: 16px;
    }

    .filter-toolbar .field {
        width: 100%;
        min-width: 0;
    }

    .workbench-step {
        grid-template-columns: 34px 1fr;
        gap: 12px;
        padding: 28px 20px;
    }

    .choice-grid,
    .asset-grid {
        grid-template-columns: 1fr;
    }

    .copy-data-row {
        align-items: stretch;
        flex-direction: column;
        padding: 24px 16px;
    }

    .copy-data-row .button {
        width: 100%;
    }

    .phone-display {
        font-size: 28px;
    }

    .otp-display {
        font-size: 48px;
    }

    .receiver-meta,
    .receiver-status {
        align-items: flex-start;
        flex-direction: column;
        justify-content: center;
        gap: 5px;
        min-height: 62px;
        padding: 10px 16px;
    }

    .number-receiver > .phone-display {
        padding: 24px 16px;
    }

    .receiver-actions {
        display: grid;
        grid-template-columns: 1fr 1fr;
    }

    .receiver-actions .button,
    .receiver-actions form {
        width: 100%;
    }

    .event-timeline li {
        grid-template-columns: 66px 1fr;
    }

    .funding-panel {
        padding: 18px 16px;
    }

    .bank-details > div,
    .crypto-destination dl > div {
        grid-template-columns: 1fr;
        gap: 5px;
        align-items: start;
        padding: 14px 0;
    }

.definition-list > div {
        grid-template-columns: 1fr;
        gap: 6px;
        align-items: start;
        min-height: 72px;
        padding: 16px 20px;
    }

    .bank-details dd,
    .definition-list dd,
    .crypto-destination dd {
        text-align: left;
    }

    .account-number-row dd,
    .profile-reference-row dd,
    .profile-phone-value {
        align-items: center;
        flex-direction: row;
        justify-content: flex-start;
    }

    .phone-edit-dialog {
        position: fixed;
        inset: auto 0 0;
        width: 100%;
        max-width: none;
        margin: 0;
        border-right: 0;
        border-bottom: 0;
        border-left: 0;
        border-radius: 22px 22px 0 0;
    }

    .phone-edit-dialog__form {
        padding: 28px 20px calc(22px + env(safe-area-inset-bottom));
    }

    .crypto-destination {
        grid-template-columns: 1fr;
    }

    .settings-index {
        overflow-x: auto;
    }
}

/* Sitewide surface treatment: controls stay visually open while menus keep a
   solid layer of their own, and card corners never fall below eight pixels. */
body input:not([type="button"]):not([type="submit"]):not([type="reset"]):not([type="checkbox"]):not([type="radio"]):not([type="range"]):not([type="color"]):not([type="file"]):not([type="hidden"]):not([type="image"]):not(.stitch-select__search),
body select,
body textarea,
.stitch-select__button {
    background: transparent !important;
    background-color: transparent !important;
}

.stitch-select__panel,
.stitch-select__panel .stitch-select__search {
    background: var(--select-surface) !important;
    background-color: var(--select-surface) !important;
}

select option,
select optgroup {
    background: var(--canvas);
    color: var(--ink);
}

.stitch-check,
.stitch-app,
.stitch-reason-card,
.stitch-steps li,
.about-signal-card,
.service-directory__card,
.status-page__summary {
    border-radius: 8px;
}

.stitch-button,
.stitch-select__button,
.stitch-select__option,
.admin-range-presets a,
.admin-table-action,
.service-directory__filters button,
.service-directory__alphabet button,
.service-directory__pagination button {
    border-radius: 8px;
}

.page-home .stitch-check,
.page-home .stitch-app,
.page-home .stitch-app:hover,
.page-home .stitch-reason-card,
.page-home .stitch-steps li {
    background: transparent;
}

.stitch-reason-card,
.stitch-reason-card__icon {
    background: transparent;
}

.stitch-reason-card__icon {
    margin-bottom: 18px;
    color: var(--home-text);
}

.page-home-stitch .stitch-header {
    background: inherit;
}

.page-support,
.page-faq,
.page-content,
.page-error {
    --home-bg: #ffffff;
    background: var(--home-bg);
}

.page-support .stitch-header,
.page-faq .stitch-header,
.page-content .stitch-header,
.page-error .stitch-header {
    background: var(--home-bg);
}

.page-support .support-guidance,
.page-support .support-form-card {
    background: transparent;
}

html[data-theme="dark"] :is(.page-support, .page-faq, .page-content, .page-error) {
    --home-bg: #0d0f13;
}


@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        scroll-behavior: auto !important;
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}
/* Hide native number-input spinner controls sitewide. */
input[type="number"]{-moz-appearance:textfield;appearance:textfield}
input[type="number"]::-webkit-inner-spin-button,
input[type="number"]::-webkit-outer-spin-button{-webkit-appearance:none;margin:0}

.mobile-select-backdrop{position:fixed;z-index:990;inset:0;background:rgba(0,0,0,.58);backdrop-filter:blur(5px);-webkit-backdrop-filter:blur(5px);pointer-events:auto;touch-action:none;cursor:default}
.mobile-select-backdrop[hidden]{display:none;pointer-events:none}

@media(max-width:640px){
    body.mobile-select-open{overflow:hidden}
    .stitch-select.is-open{z-index:auto}
    .stitch-select__panel{position:fixed!important;z-index:1000!important;top:auto!important;right:0!important;bottom:0!important;left:0!important;width:100%!important;max-width:none!important;max-height:min(68dvh,560px)!important;margin:0!important;padding:40px 22px calc(18px + env(safe-area-inset-bottom))!important;overflow-x:hidden!important;overflow-y:auto!important;background:var(--select-surface)!important;border:0!important;border-radius:24px 24px 0 0!important;box-shadow:0 -18px 50px rgba(0,0,0,.28)!important;overscroll-behavior:contain;scrollbar-width:none;animation:mobile-select-drawer-in 180ms ease-out}
    .stitch-select__panel::-webkit-scrollbar{display:none;width:0;height:0}
    .stitch-select__panel::before{position:absolute;top:16px;left:50%;width:44px;height:4px;border-radius:999px;background:var(--muted);content:"";opacity:.55;transform:translateX(-50%)}
    .stitch-select__search{top:-24px;min-height:54px;margin:0 0 10px;padding:0 16px;background:var(--select-surface);border:1px solid var(--hairline);border-radius:10px}
    .stitch-select__option{min-height:58px;padding:0 16px;border:0!important;border-radius:10px;background:transparent;color:var(--ink)}
    .stitch-select__option:hover,
    .stitch-select__option:focus{background:var(--hover)}
    .stitch-select__option[aria-selected=true]{background:var(--hover);color:var(--ink)}
}

@keyframes mobile-select-drawer-in{from{transform:translateY(100%)}to{transform:translateY(0)}}

/* Purchase consent dialog */
.purchase-dialog{width:min(440px,calc(100% - 32px));padding:0;background:var(--canvas);color:var(--ink);border:1px solid var(--hairline);border-radius:24px;box-shadow:0 28px 90px rgba(0,0,0,.38)}
.purchase-dialog::backdrop{background:rgba(4,7,12,.72);backdrop-filter:blur(5px)}
.purchase-dialog>form{position:relative;display:grid;gap:20px;padding:34px}
.purchase-dialog section{display:grid;gap:20px}
.purchase-dialog h2{margin:0;font-size:28px;letter-spacing:-.04em}
.purchase-dialog p{margin:0;color:var(--muted);line-height:1.55}
.purchase-dialog__close{position:absolute;top:18px;right:20px;width:36px;height:36px;padding:0;background:transparent;color:var(--muted);border:0;font-size:26px;cursor:pointer}
.purchase-consent-dialog{width:min(560px,calc(100% - 32px))}
.purchase-consent-dialog>form{gap:16px}
.purchase-consent-dialog__eligible{display:grid;gap:18px}
.purchase-consent-check{display:grid;grid-template-columns:24px minmax(0,1fr);gap:14px;align-items:start;padding:18px;border:1px solid var(--hairline);border-radius:8px;cursor:pointer}
.purchase-consent-check input{width:20px;height:20px;margin:2px 0 0;accent-color:var(--signal)}
.purchase-consent-check span{color:var(--muted);font-size:14px;line-height:1.55}.purchase-consent-check strong{color:var(--ink)}
.purchase-consent-dialog__actions{display:grid}
@media(max-width:640px){.purchase-dialog{width:100%;max-width:none;margin:auto 0 0;max-height:88dvh;border-width:1px 0 0;border-radius:24px 24px 0 0}.purchase-dialog>form{padding:34px 24px calc(28px + env(safe-area-inset-bottom))}.purchase-dialog[open]{animation:mobile-select-drawer-in 180ms ease-out}}

@media (max-width: 620px) {
    .settings-hub {
        gap: 18px;
    }

    .settings-hub__heading {
        min-height: 62px;
        padding: 0 18px;
    }

    .settings-profile-card {
        min-height: 104px;
        padding: 18px;
    }

    .settings-hub__list > a,
    .settings-signout button {
        min-height: 72px;
        padding: 10px 16px;
    }

    .settings-signout button {
        grid-template-columns: 48px 1fr;
    }

    .settings-signout button > small {
        display: none;
    }
}

/* Home hero: live verification constellation */
.stitch-hero {
    position: relative;
    isolation: isolate;
    background:
        radial-gradient(circle at 78% 46%, rgba(21, 150, 107, 0.1), transparent 31%),
        var(--home-bg);
}

.stitch-hero::before {
    position: absolute;
    z-index: -1;
    inset: 0;
    background-image:
        linear-gradient(rgba(124, 132, 144, 0.06) 1px, transparent 1px),
        linear-gradient(90deg, rgba(124, 132, 144, 0.06) 1px, transparent 1px);
    background-size: 42px 42px;
    content: "";
    mask-image: radial-gradient(circle at 77% 48%, #000 0%, transparent 54%);
    pointer-events: none;
}

.stitch-hero__grid {
    grid-template-columns: minmax(0, 1.04fr) minmax(400px, 0.96fr);
    gap: clamp(48px, 6vw, 92px);
    min-height: 620px;
    padding-block: 56px;
}

.stitch-hero__eyebrow,
.stitch-hero__service-label {
    color: var(--home-muted);
    font-size: 10px;
    font-weight: 800;
    letter-spacing: 0.13em;
    text-transform: uppercase;
}

.stitch-hero__eyebrow {
    transition: color 160ms ease;
}

.stitch-hero__eyebrow:hover {
    color: var(--home-text);
}

.stitch-hero__copy h1 {
    margin: 14px 0 22px;
    font-size: clamp(54px, 5.3vw, 72px);
    line-height: 0.96;
}

.stitch-hero__copy p {
    max-width: 590px;
    margin: 0 0 28px;
    color: color-mix(in srgb, var(--home-muted) 90%, var(--home-text));
}

.stitch-hero__actions {
    display: flex;
    align-items: center;
    gap: 24px;
}

.stitch-hero__text-link {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    min-height: 48px;
    color: var(--home-text);
    font-size: 14px;
    font-weight: 700;
}

.stitch-hero__text-link span {
    transition: transform 160ms ease;
}

.stitch-hero__text-link:hover span {
    transform: translateX(3px);
}

.stitch-hero__proof {
    display: flex;
    flex-wrap: wrap;
    gap: 10px 20px;
    margin: 24px 0 0;
    padding: 0;
    color: var(--home-muted);
    font-size: 12px;
    font-weight: 650;
    list-style: none;
}

.stitch-hero__proof li {
    display: inline-flex;
    align-items: center;
    gap: 9px;
}

.stitch-hero__proof li::before {
    width: 5px;
    height: 5px;
    flex: 0 0 auto;
    background: #45c98a;
    border-radius: 50%;
    box-shadow: 0 0 0 4px rgba(69, 201, 138, 0.09);
    content: "";
}

.stitch-hero__visual {
    position: relative;
    z-index: 0;
    display: grid;
    min-width: 0;
    min-height: 620px;
    place-items: center;
    isolation: isolate;
}

.stitch-hero__visual::before,
.stitch-hero__visual::after {
    position: absolute;
    z-index: -1;
    border-radius: 50%;
    content: "";
    pointer-events: none;
}

.stitch-hero__visual::before {
    width: min(560px, 112%);
    aspect-ratio: 1;
    background: radial-gradient(circle, rgba(69, 201, 138, 0.13), rgba(34, 158, 217, 0.04) 42%, transparent 70%);
    filter: blur(4px);
}

.stitch-hero__visual::after {
    width: min(500px, 100%);
    aspect-ratio: 1;
    border: 1px solid rgba(124, 132, 144, 0.12);
    box-shadow: 0 0 0 42px rgba(124, 132, 144, 0.025), 0 0 0 84px rgba(124, 132, 144, 0.018);
}

body.page-home-stitch .stitch-hero .stitch-check {
    position: relative;
    z-index: 3;
    width: min(100%, 500px);
    height: 490px;
    margin: auto;
    background: linear-gradient(145deg, rgba(255, 255, 255, 0.98), #f1f4f6);
    border: 1px solid rgba(25, 28, 30, 0.13);
    border-radius: 22px;
    box-shadow: 0 34px 90px rgba(17, 19, 24, 0.16), inset 0 1px 0 rgba(255, 255, 255, 0.78);
}

html[data-theme="dark"] body.page-home-stitch .stitch-hero .stitch-check {
    background: rgba(0,0,0,.2);
    border-color: rgba(166, 175, 187, 0.2);
    box-shadow: 0 38px 100px rgba(0, 0, 0, 0.42), inset 0 1px 0 rgba(255, 255, 255, 0.055);
}

.stitch-hero .stitch-check__face {
    padding: 34px;
}

.stitch-check__heading {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 26px;
}

.stitch-check__heading h2 {
    margin: 0;
    padding: 0;
    font-size: clamp(24px, 2.2vw, 28px);
    white-space: nowrap;
}

.stitch-check__live {
    display: inline-flex;
    align-items: center;
    flex: 0 0 auto;
    gap: 8px;
    color: var(--home-muted);
    font-size: 10px;
    font-weight: 750;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

.stitch-check__live i {
    width: 8px;
    height: 8px;
    background: #45c98a;
    border-radius: 50%;
    box-shadow: 0 0 0 5px rgba(69, 201, 138, 0.1), 0 0 18px rgba(69, 201, 138, 0.55);
}

.stitch-hero .stitch-field > select,
.stitch-hero .stitch-select__button {
    background: rgba(255, 255, 255, 0.48) !important;
    border-color: rgba(25, 28, 30, 0.14);
}

html[data-theme="dark"] .stitch-hero .stitch-field > select,
html[data-theme="dark"] .stitch-hero .stitch-select__button {
    background: rgba(6, 8, 11, 0.42) !important;
    border-color: rgba(166, 175, 187, 0.18);
}

.stitch-hero__service-stage {
    position: absolute;
    z-index: 2;
    inset: 0;
    pointer-events: none;
}

.stitch-hero__service-label {
    display: none;
}

.stitch-hero__constellation {
    position: absolute;
    inset: 0;
}

.stitch-hero__service-badge {
    position: absolute;
    display: grid;
    width: 54px;
    height: 54px;
    place-items: center;
    background: rgba(255, 255, 255, 0.86);
    border: 1px solid rgba(25, 28, 30, 0.12);
    border-radius: 17px;
    box-shadow: 0 16px 42px rgba(17, 19, 24, 0.14), inset 0 1px 0 rgba(255, 255, 255, 0.72);
    opacity: 0.92;
    animation: hero-badge-drift 6.5s ease-in-out infinite alternate;
    transition: opacity 180ms ease, transform 180ms ease, border-color 180ms ease, box-shadow 180ms ease;
}

html[data-theme="dark"] .stitch-hero__service-badge {
    background: rgba(21, 24, 32, 0.9);
    border-color: rgba(166, 175, 187, 0.18);
    box-shadow: 0 18px 46px rgba(0, 0, 0, 0.36), inset 0 1px 0 rgba(255, 255, 255, 0.06);
}

.stitch-hero__service-badge img {
    width: 29px;
    height: 29px;
    object-fit: contain;
}

.stitch-hero__service-badge.is-active {
    z-index: 2;
    border-color: rgba(69, 201, 138, 0.62);
    box-shadow: 0 18px 48px rgba(21, 150, 107, 0.22), 0 0 0 5px rgba(69, 201, 138, 0.09);
    opacity: 1;
    animation: none;
    transform: translateY(-4px) scale(1.1);
}

.stitch-hero__service-badge--google { top: 22px; left: 13%; animation-delay: -1.2s; }
.stitch-hero__service-badge--facebook { top: 22px; right: 13%; opacity: 0.78; animation-delay: -3.4s; }
.stitch-hero__service-badge--whatsapp { top: 34%; left: -24px; animation-delay: -2.2s; }
.stitch-hero__service-badge--telegram { top: 36%; right: -24px; animation-delay: -4.4s; }
.stitch-hero__service-badge--instagram { bottom: 88px; left: -24px; opacity: 0.82; animation-delay: -0.6s; }
.stitch-hero__service-badge--discord { right: -24px; bottom: 88px; opacity: 0.8; animation-delay: -5s; }

.stitch-hero__sms-preview {
    position: absolute;
    z-index: 4;
    right: 11%;
    bottom: 4px;
    display: grid;
    grid-template-columns: 42px minmax(0, 1fr) 28px;
    gap: 12px;
    align-items: center;
    width: 242px;
    min-height: 78px;
    padding: 13px 14px;
    background: rgba(255, 255, 255, 0.94);
    border: 1px solid rgba(25, 28, 30, 0.14);
    border-radius: 17px;
    box-shadow: 0 22px 58px rgba(17, 19, 24, 0.2);
    color: #191c1e;
    pointer-events: none;
}

html[data-theme="dark"] .stitch-hero__sms-preview {
    background: rgba(17, 20, 26, 0.96);
    border-color: rgba(166, 175, 187, 0.2);
    box-shadow: 0 24px 62px rgba(0, 0, 0, 0.44);
    color: #f4f6f8;
}

.stitch-hero__sms-icon {
    display: grid;
    width: 42px;
    height: 42px;
    place-items: center;
    background: rgba(124, 132, 144, 0.12);
    border-radius: 13px;
}

.stitch-hero__sms-icon svg {
    width: 23px;
    fill: none;
    stroke: currentColor;
    stroke-linecap: round;
    stroke-linejoin: round;
    stroke-width: 1.6;
}

.stitch-hero__sms-preview small,
.stitch-hero__sms-preview strong {
    display: block;
}

.stitch-hero__sms-preview small {
    margin-bottom: 3px;
    color: var(--home-muted);
    font-size: 9px;
    font-weight: 750;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.stitch-hero__sms-preview strong {
    font-size: 18px;
    letter-spacing: 0.08em;
}

.stitch-hero__sms-preview > i {
    display: grid;
    width: 27px;
    height: 27px;
    place-items: center;
    background: #45c98a;
    color: #07130d;
    border-radius: 50%;
    font-size: 15px;
    font-style: normal;
    font-weight: 900;
}

@keyframes hero-badge-drift {
    from { transform: translate3d(0, -3px, 0); }
    to { transform: translate3d(0, 4px, 0); }
}

/* Consolidated support launcher */
.support-widget {
    position: fixed;
    z-index: 160;
    right: 20px;
    bottom: max(20px, env(safe-area-inset-bottom));
    display: grid;
    justify-items: end;
    transition: opacity 180ms ease, visibility 180ms ease, transform 180ms ease;
}

.support-widget__launcher {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    min-height: 54px;
    padding: 0 18px;
    background: #fff;
    color: #191c1e;
    border: 1px solid rgba(17, 19, 24, 0.1);
    border-radius: 999px;
    box-shadow: 0 18px 44px rgba(17, 19, 24, 0.16);
    font: 750 14px/1 var(--sans);
    cursor: pointer;
}

.support-widget__launcher:hover,
.support-widget__launcher[aria-expanded="true"] {
    border-color: rgba(21, 150, 107, 0.36);
    box-shadow: 0 22px 50px rgba(17, 19, 24, 0.2), 0 0 0 5px rgba(69, 201, 138, 0.08);
    transform: translateY(-1px);
}

.support-widget__icon,
.support-widget__channel-icon {
    display: inline-grid;
    place-items: center;
}

.support-widget__icon {
    width: 25px;
    height: 25px;
    color: #15966b;
}

.support-widget__icon svg,
.support-widget__channel-icon svg {
    width: 100%;
    height: 100%;
}

.support-widget__popover {
    position: absolute;
    right: 0;
    bottom: calc(100% + 12px);
    width: min(320px, calc(100vw - 32px));
    padding: 20px;
    background: #fff;
    color: #191c1e;
    border: 1px solid rgba(17, 19, 24, 0.12);
    border-radius: 20px;
    box-shadow: 0 28px 80px rgba(17, 19, 24, 0.22);
}

.support-widget__eyebrow,
.support-widget__title {
    margin: 0;
}

.support-widget__eyebrow {
    color: #68717d;
    font-size: 9px;
    font-weight: 800;
    letter-spacing: 0.1em;
    text-transform: uppercase;
}

.support-widget__title {
    margin-top: 4px;
    font-size: 18px;
    font-weight: 750;
}

.support-widget__link {
    display: grid;
    grid-template-columns: 38px minmax(0, 1fr);
    gap: 12px;
    align-items: center;
    min-height: 66px;
    margin-top: 12px;
    padding: 11px 12px;
    background: #f4f6f8;
    color: #191c1e;
    border: 1px solid #dfe3e8;
    border-radius: 13px;
}

.support-widget__link:hover {
    border-color: #b7bec7;
    transform: translateY(-1px);
}

.support-widget__channel-icon {
    width: 38px;
    height: 38px;
    padding: 7px;
    background: #fff;
    border-radius: 12px;
}

.support-widget__link--telegram .support-widget__channel-icon { color: #229ed9; }
.support-widget__link--whatsapp .support-widget__channel-icon { color: #25d366; }

.support-widget__copy strong,
.support-widget__copy small {
    display: block;
}

.support-widget__copy strong {
    font-size: 14px;
}

.support-widget__copy small {
    margin-top: 3px;
    color: #68717d;
    font-size: 11px;
}

html[data-theme="dark"] .support-widget__launcher,
html[data-theme="dark"] .support-widget__popover {
    background: #151820;
    color: #f4f6f8;
    border-color: rgba(255, 255, 255, 0.15);
    box-shadow: 0 24px 70px rgba(0, 0, 0, 0.42);
}

html[data-theme="dark"] .support-widget__link {
    background: #0d0f13;
    color: #f4f6f8;
    border-color: #292f38;
}

html[data-theme="dark"] .support-widget__channel-icon {
    background: #1c212a;
}

html[data-theme="dark"] .support-widget__eyebrow,
html[data-theme="dark"] .support-widget__copy small {
    color: #a6afbb;
}

body.has-open-notifications .support-widget,
.page-transactions .support-widget,
.app-body:has(.transaction-receipt) .support-widget,
body.mobile-select-open .support-widget,
body:has(.stitch-navigation.is-open) .support-widget {
    display: none !important;
}

@media (max-width: 960px) {
    .stitch-hero__grid {
        grid-template-columns: 1fr;
        gap: 42px;
        min-height: 0;
        padding-block: 52px 62px;
    }

    .stitch-hero__copy {
        max-width: 760px;
    }

    .stitch-hero__visual {
        display: flex;
        width: min(100%, 600px);
        min-height: 0;
        flex-direction: column;
        margin-inline: auto;
        padding-bottom: 88px;
    }

    .stitch-hero__visual::before,
    .stitch-hero__visual::after {
        top: 50%;
        left: 50%;
        transform: translate(-50%, -42%);
    }

    .stitch-hero__service-stage {
        position: static;
        width: 100%;
        margin-bottom: 20px;
    }

    .stitch-hero__service-label {
        display: block;
        margin-bottom: 12px;
        text-align: center;
    }

    .stitch-hero__constellation {
        position: static;
        display: flex;
        align-items: center;
        justify-content: center;
        gap: 12px;
    }

    .stitch-hero__service-badge,
    .stitch-hero__service-badge--google,
    .stitch-hero__service-badge--facebook,
    .stitch-hero__service-badge--whatsapp,
    .stitch-hero__service-badge--telegram,
    .stitch-hero__service-badge--instagram,
    .stitch-hero__service-badge--discord {
        position: static;
        width: 50px;
        height: 50px;
        opacity: 0.9;
        animation: none;
    }

    .stitch-hero__sms-preview {
        right: 28px;
        bottom: 2px;
    }
}

@media (max-width: 720px) {
    .stitch-hero__grid {
        gap: 28px;
        padding-block: 36px 50px;
    }

    .stitch-hero__copy h1 {
        margin: 12px 0 18px;
        font-size: clamp(42px, 12.5vw, 52px);
        line-height: 0.96;
    }

    .stitch-hero__copy p {
        margin-bottom: 22px;
        font-size: 16px;
        line-height: 1.55;
    }

    .stitch-hero__actions {
        align-items: stretch;
        flex-direction: column;
        gap: 8px;
    }

    .stitch-hero__actions .stitch-button {
        width: 100%;
    }

    .stitch-hero__text-link {
        justify-content: center;
        min-height: 42px;
    }

    .stitch-hero__proof {
        gap: 8px 14px;
        margin-top: 17px;
        font-size: 11px;
    }

    .stitch-hero__visual {
        width: 100%;
        padding-bottom: 0;
    }

    .stitch-hero__service-stage {
        margin-bottom: 16px;
    }

    .stitch-hero__constellation {
        justify-content: space-between;
        gap: 7px;
    }

    .stitch-hero__service-badge,
    .stitch-hero__service-badge--google,
    .stitch-hero__service-badge--facebook,
    .stitch-hero__service-badge--whatsapp,
    .stitch-hero__service-badge--telegram,
    .stitch-hero__service-badge--instagram,
    .stitch-hero__service-badge--discord {
        width: 44px;
        height: 44px;
        border-radius: 14px;
    }

    .stitch-hero__service-badge img {
        width: 25px;
        height: 25px;
    }

    body.page-home-stitch .stitch-hero .stitch-check {
        height: 476px;
        border-radius: 20px;
    }

    .stitch-hero .stitch-check__face {
        padding: 27px 21px 23px;
    }

    .stitch-check__heading {
        align-items: flex-start;
        flex-direction: column;
        gap: 9px;
        margin-bottom: 20px;
    }

    .stitch-hero__sms-preview {
        display: none;
    }

    .support-widget {
        right: 16px;
        bottom: max(16px, env(safe-area-inset-bottom));
    }

    .support-widget__launcher {
        width: 52px;
        min-height: 52px;
        justify-content: center;
        padding: 0;
    }

    .support-widget__label {
        position: absolute;
        width: 1px;
        height: 1px;
        padding: 0;
        overflow: hidden;
        clip: rect(0, 0, 0, 0);
        white-space: nowrap;
        border: 0;
    }

    .support-widget__popover {
        position: fixed;
        right: 16px;
        bottom: calc(80px + env(safe-area-inset-bottom));
        left: 16px;
        width: auto;
    }

    body.page-home-stitch .support-widget.is-hero-visible {
        visibility: hidden;
        opacity: 0;
        pointer-events: none;
        transform: translateY(8px);
    }
}

@media (prefers-reduced-motion: reduce) {
    .stitch-hero__service-badge {
        animation: none !important;
    }

    .stitch-hero__text-link span,
    .support-widget,
    .support-widget__launcher {
        transition: none;
    }
}

/* Homepage storefront: shared number and digital-product shopping */
.stitch-shopper {
    display: flex;
    width: 100%;
    min-width: 0;
    min-height: 650px;
    flex-direction: column;
    justify-content: center;
    place-items: stretch;
}

.stitch-shopper__tabs {
    position: relative;
    z-index: 8;
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    width: min(100%, 500px);
    margin: 0 auto 16px;
    padding: 0;
    background: color-mix(in srgb, var(--home-surface) 82%, transparent);
    border: 1px solid color-mix(in srgb, var(--home-rule) 86%, transparent);
    border-radius: 13px;
    box-shadow: 0 14px 42px rgba(17, 19, 24, 0.08);
    backdrop-filter: blur(16px);
}

.stitch-shopper__tab {
    min-height: 42px;
    padding: 0 10px;
    background: transparent;
    color: var(--home-muted);
    border: 0;
    border-right: 1px solid color-mix(in srgb, var(--home-rule) 86%, transparent);
    border-radius: 0;
    font: 750 12px/1.15 var(--sans);
    cursor: pointer;
    transition: background 160ms ease, color 160ms ease, box-shadow 160ms ease;
}

.stitch-shopper__tab:first-child {
    border-radius: 12px 0 0 12px;
}

.stitch-shopper__tab:last-child {
    border-right: 0;
    border-radius: 0 12px 12px 0;
}

.stitch-shopper__tab[aria-selected="true"] {
    background: var(--home-text);
    color: var(--home-bg);
    box-shadow: 0 8px 22px rgba(17, 19, 24, 0.16);
}

.stitch-shopper__tab:focus-visible {
    outline: 3px solid color-mix(in srgb, #22b8cf 72%, transparent);
    outline-offset: 3px;
}

.stitch-shopper__panel {
    position: relative;
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    width: 100%;
    min-width: 0;
    min-height: 520px;
    place-items: center;
}

.stitch-shopper__panel[hidden] {
    display: none !important;
}

.stitch-product-picker {
    display: block;
    width: min(100%, 500px);
    max-width: 100%;
    min-width: 0;
    padding: 34px;
    justify-self: center;
    contain: inline-size;
}

.stitch-product-picker .stitch-field,
.stitch-product-picker .stitch-select,
.stitch-product-picker .stitch-select__button,
.stitch-product-picker [data-stitch-select-value] {
    max-width: 100%;
    min-width: 0;
}

.stitch-product-picker .stitch-select__button,
.stitch-product-picker [data-stitch-select-value] {
    overflow: hidden;
}

.stitch-product-picker [data-stitch-select-value],
.stitch-product-picker .stitch-select__option-label {
    flex: 1 1 auto;
}

[data-digital-picker] {
    height: auto !important;
    min-height: 460px;
}

select[data-digital-category] + .stitch-select__button,
select[data-digital-product] + .stitch-select__button {
    height: auto;
    min-height: 50px;
    padding-top: 11px;
    padding-bottom: 11px;
    line-height: 1.3;
}

select[data-digital-category] + .stitch-select__button .stitch-select__option-label,
select[data-digital-product] + .stitch-select__button .stitch-select__option-label,
select[data-digital-category] ~ .stitch-select__panel .stitch-select__option-label,
select[data-digital-product] ~ .stitch-select__panel .stitch-select__option-label {
    overflow: visible;
    text-overflow: clip;
    white-space: normal;
    line-height: 1.35;
    overflow-wrap: anywhere;
}

select[data-digital-category] ~ .stitch-select__panel .stitch-select__option,
select[data-digital-product] ~ .stitch-select__panel .stitch-select__option {
    height: auto;
    min-height: 44px;
    padding-top: 7px;
    padding-bottom: 7px;
    align-items: center;
}

select[data-digital-product] ~ .stitch-select__panel .stitch-select__option.has-option-status:disabled {
    background: color-mix(in srgb, var(--home-muted) 7%, var(--select-surface));
    cursor: not-allowed;
    opacity: 1;
}

select[data-digital-product] ~ .stitch-select__panel .stitch-select__option.has-option-status:disabled .stitch-select__option-label {
    color: var(--home-muted, var(--muted));
    opacity: 0.55;
}

.stitch-select__option-status {
    flex: 0 0 auto;
    align-self: flex-start;
    margin-top: 2px;
    padding: 4px 7px;
    background: color-mix(in srgb, var(--error) 14%, var(--select-surface));
    border: 1px solid color-mix(in srgb, var(--error) 48%, transparent);
    border-radius: 999px;
    color: var(--error);
    font-size: 9px;
    font-weight: 800;
    line-height: 1;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    white-space: nowrap;
}

.stitch-product-picker__summary {
    display: grid;
    grid-template-columns: 1.15fr 1fr 0.8fr;
    gap: 8px;
    margin: 17px 0 12px;
}

.stitch-product-picker__summary > span {
    min-width: 0;
    padding: 11px 12px;
    background: color-mix(in srgb, var(--home-muted) 8%, transparent);
    border: 1px solid color-mix(in srgb, var(--home-rule) 80%, transparent);
    border-radius: 10px;
}

.stitch-product-picker__summary small,
.stitch-product-picker__summary strong {
    display: block;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.stitch-product-picker__summary small {
    margin-bottom: 4px;
    color: var(--home-muted);
    font-size: 9px;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.stitch-product-picker__summary strong {
    color: var(--home-text);
    font-size: 13px;
}

.stitch-product-picker__status {
    min-height: 32px;
    margin: 0 0 12px;
    color: var(--home-muted);
    font-size: 12px;
    line-height: 1.4;
}

.stitch-product-picker__directory-link {
    display: block;
    margin-top: 15px;
    color: var(--home-muted);
    font-size: 11px;
    font-weight: 750;
    text-align: center;
    text-decoration: none;
}

.stitch-product-picker__directory-link:hover {
    color: var(--home-text);
}

.stitch-boosting-picker .stitch-product-picker__summary {
    margin-top: 12px;
}

.stitch-product-picker.stitch-boosting-picker {
    height: auto !important;
    min-height: 490px;
    padding: 0;
}

.stitch-boosting-picker .stitch-check__flipper {
    height: auto;
}

.stitch-boosting-picker .stitch-check__face {
    position: relative;
    inset: auto;
    min-height: 490px;
    padding: 34px;
}

.stitch-boosting-picker__intro {
    max-width: 360px;
    margin: 24px auto 0;
    color: var(--home-muted);
    font-size: 13px;
    line-height: 1.6;
    text-align: center;
}

.stitch-boosting-config__header {
    display: grid;
    grid-template-columns: 34px minmax(0, 1fr);
    align-items: start;
    gap: 12px;
    padding-bottom: 16px;
    border-bottom: 1px solid var(--home-rule);
}

.stitch-boosting-config__header .stitch-availability__back {
    display: grid;
    width: 34px;
    height: 34px;
    place-items: center;
    border: 0;
    border-radius: 9px;
}

.stitch-boosting-config__header .stitch-availability__back:hover {
    background: color-mix(in srgb, var(--home-muted) 8%, transparent);
}

.stitch-boosting-config__header > div {
    min-width: 0;
}

.stitch-boosting-config__header small {
    display: block;
    color: var(--home-muted);
    font-size: 9px;
    font-weight: 800;
    letter-spacing: .09em;
    text-transform: uppercase;
}

.stitch-boosting-config__header .stitch-boosting-picker__selection {
    max-width: none;
    margin: 5px 0 0;
    padding: 0;
    font-size: clamp(14px, 1.5vw, 18px);
    line-height: 1.28;
    white-space: normal;
}

.stitch-boosting-config .stitch-product-picker__summary {
    margin-top: 15px;
}

.stitch-boosting-config .stitch-product-picker__status {
    min-height: 20px;
    margin-bottom: 5px;
}

.stitch-boosting-config .boosting-quantity-calculator--hero {
    margin-top: 10px;
}

.stitch-boosting-picker__selection {
    display: block;
    margin: 20px 0 0;
    color: var(--home-text);
    font-size: clamp(13px, 1.55vw, 18px);
    font-weight: 800;
    letter-spacing: -0.015em;
    line-height: 1.3;
    hyphens: auto;
    overflow-wrap: anywhere;
    text-wrap: balance;
}

.stitch-boosting-picker__selection[hidden] {
    display: none;
}

@media (max-width: 720px) {
    .stitch-boosting-picker .stitch-check__face {
        min-height: 476px;
        padding: 27px 21px 23px;
    }

    .stitch-boosting-config__header .stitch-boosting-picker__selection {
        font-size: 14px;
    }
}

.stitch-product-picker__unavailable {
    display: grid;
    min-height: 320px;
    padding: 40px;
    place-items: center;
    color: var(--home-muted);
    border: 1px dashed var(--home-rule);
    border-radius: 14px;
    text-align: center;
    line-height: 1.6;
}

.stitch-button.is-disabled,
.stitch-button[aria-disabled="true"] {
    opacity: 0.48;
    cursor: not-allowed;
    transform: none !important;
}

.stitch-kicker {
    color: #15966b;
    font-size: 11px;
    font-weight: 850;
    letter-spacing: 0.14em;
    text-transform: uppercase;
}

.stitch-story {
    padding: clamp(76px, 9vw, 128px) 0;
    border-block: 1px solid var(--home-rule);
}

.stitch-story__heading {
    max-width: 790px;
    margin-bottom: clamp(50px, 7vw, 84px);
}

.stitch-story__heading h2,
.stitch-assurance__intro h2,
.stitch-home-faq__intro h2,
.public-marketplace__catalog-heading h2{
    margin: 12px 0 0;
    color: var(--home-text);
    font-size: clamp(34px, 4.7vw, 62px);
    letter-spacing: -0.055em;
    line-height: 0.98;
}

.stitch-story__heading > p,
.stitch-assurance__intro > p,
.stitch-home-faq__intro > p,
.public-marketplace__catalog-heading p {
    max-width: 650px;
    margin: 22px 0 0;
    color: var(--home-muted);
    font-size: clamp(16px, 1.65vw, 19px);
    line-height: 1.65;
}

.stitch-story__services {
    border-top: 1px solid var(--home-rule);
}

.stitch-story__service {
    display: grid;
    min-height: 470px;
    grid-template-columns: minmax(0, 0.82fr) minmax(400px, 1.18fr);
    gap: clamp(44px, 8vw, 112px);
    align-items: center;
    padding: clamp(58px, 7vw, 92px) 0;
    border-bottom: 1px solid var(--home-rule);
}

.stitch-story__service--reverse .stitch-story__copy {
    grid-column: 2;
}

.stitch-story__service--reverse .stitch-story__art {
    grid-row: 1;
    grid-column: 1;
}

.stitch-story__copy {
    min-width: 0;
}

.stitch-story__number {
    display: block;
    margin-bottom: 34px;
    color: #15966b;
    font-family: var(--mono);
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 0.12em;
}

.stitch-story__copy h3 {
    margin: 0;
    color: var(--home-text);
    font-size: clamp(32px, 4vw, 52px);
    letter-spacing: -0.05em;
    line-height: 1;
}

.stitch-story__copy p {
    max-width: 570px;
    margin: 24px 0 28px;
    color: var(--home-muted);
    font-size: 17px;
    line-height: 1.7;
}

.stitch-story__link,
.public-marketplace__signin {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    color: var(--home-text);
    font-size: 14px;
    font-weight: 820;
    text-decoration: none;
}

.stitch-story__link span,
.public-marketplace__signin span {
    transition: transform 160ms ease;
}

.stitch-story__link:hover span,
.public-marketplace__signin:hover span {
    transform: translateX(3px);
}

.stitch-story__link:focus-visible,
.public-marketplace__signin:focus-visible {
    outline: 3px solid var(--focus-ring);
    outline-offset: 4px;
}

.stitch-story__art {
    position: relative;
    display: grid;
    width: min(100%, 420px);
    min-width: 0;
    min-height: 0;
    aspect-ratio: 2 / 3;
    margin-inline: auto;
    place-items: center;
    overflow: visible;
    background: transparent;
    border: 0;
    border-radius: 0;
}

.stitch-story__art img {
    position: absolute;
    inset: 0;
    display: block;
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.stitch-process,
.stitch-home-faq {
    padding: clamp(72px, 8vw, 112px) 0;
    background: var(--home-bg);
}

.stitch-story__heading--compact {
    max-width: 720px;
    margin-bottom: 46px;
}

.stitch-story__heading--compact h2 {
    font-size: clamp(34px, 4.4vw, 56px);
}

.stitch-process__grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    margin: 0;
    padding: 0;
    border-block: 1px solid var(--home-rule);
    list-style: none;
}

.stitch-process__grid li {
    display: grid;
    min-width: 0;
    grid-template-columns: auto minmax(0, 1fr);
    gap: 20px;
    padding: 34px 30px;
}

.stitch-process__grid li + li {
    border-left: 1px solid var(--home-rule);
}

.stitch-process__grid li > span {
    color: #15966b;
    font-family: var(--mono);
    font-size: 11px;
    font-weight: 800;
}

.stitch-process__grid h3,
.stitch-assurance__grid h3 {
    margin: 0 0 12px;
    color: var(--home-text);
    font-size: 19px;
    letter-spacing: -0.025em;
}

.stitch-process__grid p,
.stitch-assurance__grid p {
    margin: 0;
    color: var(--home-muted);
    font-size: 14px;
    line-height: 1.65;
}

.stitch-assurance {
    padding: clamp(72px, 8vw, 112px) 0;
    border-block: 1px solid var(--home-rule);
}

.stitch-assurance__layout {
    display: grid;
    grid-template-columns: minmax(260px, 0.72fr) minmax(0, 1.28fr);
    gap: clamp(48px, 8vw, 112px);
    align-items: start;
}

.stitch-assurance__intro h2 {
    font-size: clamp(36px, 4vw, 54px);
}

.stitch-assurance__grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    border-top: 1px solid var(--home-rule);
}

.stitch-assurance__grid article {
    min-width: 0;
    padding: 31px 26px 31px 0;
    border-bottom: 1px solid var(--home-rule);
}

.stitch-assurance__grid article:nth-child(even) {
    padding-right: 0;
    padding-left: 26px;
    border-left: 1px solid var(--home-rule);
}

.stitch-assurance__grid i {
    display: block;
    width: 8px;
    height: 8px;
    margin-bottom: 22px;
    background: #45c98a;
    border-radius: 50%;
    box-shadow: 0 0 0 5px rgba(69, 201, 138, 0.1);
}

.stitch-home-faq__layout {
    display: grid;
    grid-template-columns: minmax(260px, 0.72fr) minmax(0, 1.28fr);
    gap: clamp(48px, 8vw, 112px);
    align-items: start;
}

.stitch-home-faq__intro h2 {
    font-size: clamp(36px, 4vw, 54px);
}

.stitch-home-faq__intro .stitch-story__link {
    margin-top: 28px;
}

.stitch-home-faq__list {
    border-top: 1px solid var(--home-rule);
}

.stitch-home-faq__list details {
    border-bottom: 1px solid var(--home-rule);
}

.stitch-home-faq__list summary {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 24px;
    gap: 24px;
    align-items: center;
    padding: 25px 0;
    color: var(--home-text);
    font-size: 17px;
    font-weight: 780;
    line-height: 1.4;
    cursor: pointer;
    list-style: none;
}

.stitch-home-faq__list summary::-webkit-details-marker {
    display: none;
}

.stitch-home-faq__list summary span {
    position: relative;
    width: 18px;
    height: 18px;
}

.stitch-home-faq__list summary span::before,
.stitch-home-faq__list summary span::after {
    position: absolute;
    top: 8px;
    left: 2px;
    width: 14px;
    height: 2px;
    background: currentColor;
    content: "";
}

.stitch-home-faq__list summary span::after {
    transform: rotate(90deg);
    transition: transform 160ms ease;
}

.stitch-home-faq__list details[open] summary span::after {
    transform: rotate(0);
}

.stitch-home-faq__list summary:focus-visible {
    outline: 3px solid var(--focus-ring);
    outline-offset: 4px;
}

.stitch-home-faq__list details > p {
    max-width: 670px;
    margin: -5px 48px 25px 0;
    color: var(--home-muted);
    font-size: 15px;
    line-height: 1.7;
}

.public-marketplace__closing {
    padding: clamp(60px, 7vw, 88px) 0;
    background: var(--home-surface);
    border-top: 1px solid var(--home-rule);
}

/* Public Accounts & Tools directory */
.public-marketplace {
    background: var(--home-bg);
    color: var(--home-text);
}

.public-marketplace__hero {
    padding: clamp(70px, 8vw, 112px) 0;
    overflow: hidden;
    background: var(--home-bg);
    border-bottom: 1px solid var(--home-rule);
}

.public-marketplace__hero-grid {
    display: grid;
    grid-template-columns: minmax(0, 0.92fr) minmax(420px, 1.08fr);
    gap: clamp(50px, 8vw, 110px);
    align-items: center;
}

.public-marketplace__hero-copy h1 {
    max-width: 720px;
    margin: 16px 0 0;
    color: var(--home-text);
    font-size: clamp(48px, 6.2vw, 82px);
    letter-spacing: -0.065em;
    line-height: 0.94;
}

.public-marketplace__hero-copy > p {
    max-width: 620px;
    margin: 26px 0 31px;
    color: var(--home-muted);
    font-size: clamp(16px, 1.7vw, 19px);
    line-height: 1.65;
}

.public-marketplace__hero-copy ul {
    display: flex;
    flex-wrap: wrap;
    gap: 10px 24px;
    margin: 30px 0 0;
    padding: 0;
    color: var(--home-muted);
    font-size: 12px;
    font-weight: 720;
    list-style: none;
}

.public-marketplace__hero-copy li::before {
    display: inline-block;
    width: 7px;
    height: 7px;
    margin-right: 9px;
    background: #45c98a;
    border-radius: 50%;
    content: "";
}

.public-marketplace__hero-art {
    position: relative;
    display: grid;
    width: min(100%, 456px);
    min-width: 0;
    min-height: 0;
    aspect-ratio: 2 / 3;
    margin-inline: auto;
    place-items: center;
    overflow: visible;
    background: transparent;
    border: 0;
    border-radius: 0;
}

.public-marketplace__hero-art img {
    position: absolute;
    inset: 0;
    display: block;
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.public-marketplace__catalog {
    padding: clamp(76px, 8vw, 112px) 0;
    background: var(--home-surface);
}

.public-marketplace__catalog-heading {
    display: flex;
    align-items: end;
    justify-content: space-between;
    gap: 40px;
    margin-bottom: 38px;
}

.public-marketplace__catalog-heading > div {
    max-width: 760px;
}

.public-marketplace__catalog-heading h2 {
    font-size: clamp(36px, 4.4vw, 58px);
}

.public-marketplace__catalog-total {
    flex: 0 0 auto;
    padding: 13px 16px;
    background: var(--home-bg);
    border: 1px solid var(--home-rule);
    border-radius: 999px;
    color: var(--home-muted);
    font-size: 12px;
}

.public-marketplace__catalog-total strong {
    color: var(--home-text);
}

.public-marketplace__controls {
    position: sticky;
    z-index: 12;
    top: 82px;
    display: grid;
    grid-template-columns: minmax(280px, 1.7fr) repeat(2, minmax(180px, 0.65fr));
    gap: 12px;
    margin: 26px 0 22px;
    padding: 15px;
    background: color-mix(in srgb, var(--home-surface) 94%, transparent);
    border: 1px solid var(--home-rule);
    border-radius: 18px;
    box-shadow: 0 18px 45px rgba(17, 19, 24, 0.08);
    backdrop-filter: blur(18px);
}

html[data-theme="dark"] .public-marketplace__controls {
    box-shadow: 0 20px 54px rgba(0, 0, 0, 0.28);
}

.public-marketplace__controls label,
.public-marketplace__controls label > span:first-child {
    display: block;
    min-width: 0;
}

.public-marketplace__controls label > span:first-child {
    margin: 0 0 8px 3px;
    color: var(--home-muted);
    font-size: 10px;
    font-weight: 820;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.public-marketplace__controls input,
.public-marketplace__controls select {
    width: 100%;
    height: 50px;
    padding: 0 14px;
    background: var(--home-bg);
    border: 1px solid var(--home-rule);
    border-radius: 11px;
    color: var(--home-text);
    font: inherit;
    font-size: 14px;
}

.public-marketplace__controls input:focus,
.public-marketplace__controls select:focus {
    border-color: #15966b;
    outline: 3px solid var(--focus-ring);
}

.public-marketplace__search-field {
    position: relative;
    display: block;
}

.public-marketplace__search-field svg {
    position: absolute;
    top: 50%;
    left: 15px;
    width: 18px;
    height: 18px;
    fill: none;
    stroke: var(--home-muted);
    stroke-width: 1.8;
    transform: translateY(-50%);
    pointer-events: none;
}

.public-marketplace__search-field input {
    padding-left: 44px;
}

.public-marketplace__results-heading {
    display: flex;
    min-height: 38px;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    margin-bottom: 17px;
}

.public-marketplace__results-heading p {
    margin: 0;
    color: var(--home-muted);
    font-size: 13px;
    font-weight: 750;
}

.public-marketplace__results-heading button {
    padding: 7px 0;
    background: transparent;
    border: 0;
    color: var(--home-text);
    font-size: 12px;
    font-weight: 800;
    cursor: pointer;
}

.public-marketplace__grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 14px;
}

.public-marketplace-card {
    display: flex;
    min-width: 0;
    min-height: 330px;
    flex-direction: column;
    padding: 23px;
    background: var(--dashboard-card-gradient);
    border: 1px solid var(--home-rule);
    border-radius: 16px;
}

.public-marketplace-card[hidden] {
    display: none;
}

.public-marketplace-card__top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    color: var(--home-muted);
    font-size: 10px;
    font-weight: 820;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.public-marketplace-card__top > span {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.public-marketplace-card__status {
    width: 8px;
    height: 8px;
    flex: 0 0 auto;
    background: var(--home-muted);
    border-radius: 50%;
}

.public-marketplace-card__status--available {
    background: #45c98a;
    box-shadow: 0 0 0 5px rgba(69, 201, 138, 0.1);
}

.public-marketplace-card h3 {
    display: -webkit-box;
    margin: 28px 0;
    overflow: hidden;
    color: var(--home-text);
    font-size: 20px;
    letter-spacing: -0.025em;
    line-height: 1.35;
    overflow-wrap: anywhere;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 3;
    line-clamp: 3;
}

.public-marketplace-card__details {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px;
    margin-top: auto;
}

.public-marketplace-card__details > span {
    min-width: 0;
    padding: 12px;
    border: 1px solid var(--home-rule);
    border-radius: 10px;
}

.public-marketplace-card__details small,
.public-marketplace-card__details strong {
    display: block;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.public-marketplace-card__details small {
    margin-bottom: 5px;
    color: var(--home-muted);
    font-size: 9px;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.public-marketplace-card__details strong {
    color: var(--home-text);
    font-size: 13px;
}

.public-marketplace-card__action {
    margin-top: 15px;
}

.public-marketplace-card__action .stitch-button {
    min-height: 48px;
}

.public-marketplace-card__action button:disabled {
    opacity: 0.46;
    cursor: not-allowed;
}

.public-marketplace-card__action p {
    margin: 8px 2px 0;
    color: var(--home-muted);
    font-size: 10px;
    line-height: 1.4;
}

.public-marketplace__empty,
.public-marketplace__no-results {
    padding: clamp(48px, 7vw, 84px);
    background: var(--home-bg);
    border: 1px dashed var(--home-rule);
    border-radius: 18px;
    text-align: center;
}

.public-marketplace__empty h2,
.public-marketplace__no-results h2 {
    margin: 0;
    color: var(--home-text);
    font-size: clamp(26px, 3vw, 38px);
    letter-spacing: -0.04em;
}

.public-marketplace__empty p,
.public-marketplace__no-results p {
    margin: 15px auto 0;
    color: var(--home-muted);
    line-height: 1.6;
}

.public-marketplace__empty > div {
    display: flex;
    justify-content: center;
    gap: 28px;
    margin-top: 26px;
}

.public-marketplace__pagination {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 18px;
    margin-top: 30px;
}

.public-marketplace__pagination[hidden] {
    display: none;
}

.public-marketplace__pagination button {
    min-height: 42px;
    padding: 0 17px;
    background: var(--home-bg);
    border: 1px solid var(--home-rule);
    border-radius: 10px;
    color: var(--home-text);
    font-size: 12px;
    font-weight: 780;
    cursor: pointer;
}

.public-marketplace__pagination button:disabled {
    opacity: 0.4;
    cursor: not-allowed;
}

.public-marketplace__pagination span {
    min-width: 112px;
    color: var(--home-muted);
    font-size: 12px;
    text-align: center;
}

html[data-theme="dark"] .stitch-shopper__tabs {
    box-shadow: 0 22px 62px rgba(0, 0, 0, 0.28);
}

@media (max-width: 960px) {
    .stitch-shopper {
        width: min(100%, 600px);
        min-height: 0;
        padding-bottom: 64px;
    }

    .stitch-shopper__panel {
        min-height: 520px;
    }

    .stitch-shopper__panel .stitch-hero__service-stage {
        position: static;
    }

    .stitch-story__service {
        min-height: 0;
        grid-template-columns: minmax(0, 0.85fr) minmax(340px, 1.15fr);
        gap: 42px;
    }

    .stitch-story__art {
        min-height: 0;
    }

    .stitch-process__grid {
        grid-template-columns: 1fr;
    }

    .stitch-process__grid li + li {
        border-top: 1px solid var(--home-rule);
        border-left: 0;
    }

    .stitch-assurance__layout,
    .stitch-home-faq__layout {
        grid-template-columns: 1fr;
        gap: 48px;
    }

    .public-marketplace__hero-grid {
        grid-template-columns: 1fr;
    }

    .public-marketplace__hero-art {
        min-height: 0;
    }

    .public-marketplace__controls {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .public-marketplace__search {
        grid-column: 1 / -1;
    }

    .public-marketplace__grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

}

@media (max-width: 720px) {
    .stitch-shopper {
        padding-bottom: 0;
    }

    .stitch-shopper__tabs {
        margin-bottom: 12px;
    }

    .stitch-shopper__tab {
        min-height: 48px;
        padding-inline: 7px;
        font-size: 10px;
    }

    .stitch-shopper__panel {
        min-height: 0;
    }

    .stitch-product-picker {
        min-height: 476px;
        height: auto !important;
        padding: 27px 21px 23px;
    }

    .stitch-product-picker__summary {
        grid-template-columns: 1fr 1fr;
    }

    .stitch-product-picker__summary > span:first-child {
        grid-column: 1 / -1;
    }

    .stitch-story__service,
    .stitch-story__service--reverse {
        grid-template-columns: 1fr;
        gap: 34px;
        padding: 48px 0;
    }

    .stitch-story__service--reverse .stitch-story__copy,
    .stitch-story__service--reverse .stitch-story__art {
        grid-row: auto;
        grid-column: auto;
    }

    .stitch-story__art {
        width: min(100%, 340px);
        min-height: 0;
    }

    .stitch-story__number {
        margin-bottom: 22px;
    }

    .stitch-story__copy p {
        font-size: 15px;
    }

    .stitch-process__grid li {
        padding: 28px 0;
    }

    .stitch-assurance__grid {
        grid-template-columns: 1fr;
    }

    .stitch-assurance__grid article,
    .stitch-assurance__grid article:nth-child(even) {
        padding: 27px 0;
        border-left: 0;
    }

    .stitch-home-faq__list summary {
        gap: 16px;
        padding: 22px 0;
        font-size: 15px;
    }

    .stitch-home-faq__list details > p {
        margin-right: 0;
        font-size: 14px;
    }

    .public-marketplace__hero {
        padding-top: 54px;
    }

    .public-marketplace__hero-copy h1 {
        font-size: clamp(43px, 13vw, 62px);
    }

    .public-marketplace__hero-art {
        width: min(100%, 340px);
        min-height: 0;
    }

    .public-marketplace__catalog-heading {
        align-items: flex-start;
        flex-direction: column;
    }

    .public-marketplace__controls {
        position: static;
        grid-template-columns: 1fr;
    }

    .public-marketplace__search {
        grid-column: auto;
    }

    .public-marketplace__grid {
        grid-template-columns: 1fr;
    }

    .public-marketplace-card {
        min-height: 310px;
    }

    .public-marketplace__empty > div {
        align-items: center;
        flex-direction: column;
    }
}

@media (prefers-reduced-motion: reduce) {
    .stitch-shopper__tab,
    .stitch-story__link span,
    .public-marketplace__signin span,
    .stitch-home-faq__list summary span::after {
        transition: none;
    }

    .stitch-story__link:hover span,
    .public-marketplace__signin:hover span {
        transform: none;
    }
}
/* Final cascade for the services catalogue browser */
.service-directory__toolbar {
    display: block;
    margin-bottom: 26px;
}

.service-directory__toolbar .service-directory__eyebrow {
    margin-bottom: 13px;
}

.service-directory__controls {
    position: sticky;
    z-index: 18;
    top: 84px;
    margin-bottom: 26px;
    padding: 14px;
    background: var(--home-surface);
    border: 1px solid var(--home-rule);
    border-radius: 17px;
    box-shadow: 0 18px 48px rgba(17, 19, 24, 0.08);
}

html[data-theme="dark"] .service-directory__controls {
    box-shadow: 0 22px 60px rgba(0, 0, 0, 0.3);
}

.service-directory__control-row {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 14px;
    align-items: center;
}

.service-directory__search {
    position: relative;
    display: block;
    min-width: 0;
}

.service-directory__search > svg {
    position: absolute;
    z-index: 1;
    top: 50%;
    left: 16px;
    width: 19px;
    height: 19px;
    fill: none;
    stroke: var(--home-muted);
    stroke-linecap: round;
    stroke-linejoin: round;
    stroke-width: 1.7;
    pointer-events: none;
    transform: translateY(-50%);
}

.service-directory__search input {
    width: 100%;
    height: 52px;
    padding: 0 47px;
    background: var(--home-bg) !important;
    border: 1px solid var(--home-rule);
    border-radius: 12px;
    color: var(--home-text);
    font-size: 15px;
}

.service-directory__search input::placeholder {
    color: var(--home-muted);
    opacity: 0.78;
}

.service-directory__search input:focus {
    border-color: var(--home-blue);
    outline: 3px solid var(--focus-ring);
}

.service-directory__search input::-webkit-search-cancel-button {
    display: none;
}

.service-directory__search button {
    position: absolute;
    z-index: 1;
    top: 50%;
    right: 8px;
    display: grid;
    width: 36px;
    height: 36px;
    place-items: center;
    padding: 0;
    background: transparent;
    border: 0;
    border-radius: 50%;
    color: var(--home-muted);
    cursor: pointer;
    transform: translateY(-50%);
}

.service-directory__search button:hover,
.service-directory__search button:focus-visible {
    background: var(--home-surface-strong);
    color: var(--home-text);
}

.service-directory__search button[hidden] {
    display: none;
}

.service-directory__search button svg {
    width: 17px;
    height: 17px;
    fill: none;
    stroke: currentColor;
    stroke-linecap: round;
    stroke-linejoin: round;
    stroke-width: 1.8;
}

.service-directory__meta {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 12px;
    min-width: 0;
}

.service-directory__scope {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    min-width: 0;
    max-width: 245px;
    padding: 9px 12px;
    background: var(--home-bg);
    border: 1px solid var(--home-rule);
    border-radius: 999px;
    color: var(--home-muted);
    font-size: 11px;
    font-weight: 750;
    line-height: 1.2;
    white-space: nowrap;
}

.service-directory__scope span {
    overflow: hidden;
    text-overflow: ellipsis;
}

.service-directory__scope > i {
    width: 7px;
    height: 7px;
    flex: 0 0 auto;
    background: #45c98a;
    border-radius: 50%;
    box-shadow: 0 0 0 4px rgba(69, 201, 138, 0.1);
}

.service-directory.is-searching .service-directory__scope > i {
    background: var(--home-blue);
    box-shadow: 0 0 0 4px rgba(124, 132, 144, 0.12);
}

.service-directory__filters {
    display: block;
    margin: 0;
    padding: 0;
    border: 0;
}

.service-directory__filters > span {
    display: block;
    width: auto;
    margin: 0;
    color: var(--home-muted);
    font-family: var(--sans);
    font-size: 12px;
    white-space: nowrap;
}

.service-directory__alphabet-frame {
    position: relative;
    margin-top: 14px;
    padding-top: 14px;
    border-top: 1px solid var(--home-rule);
}

.service-directory__alphabet {
    display: grid;
    grid-template-columns: minmax(60px, 1.65fr) repeat(27, minmax(32px, 1fr));
    gap: 5px;
    margin: 0;
}

.service-directory__alphabet button,
.service-directory__pagination button {
    min-height: 38px;
    padding: 0 8px;
    background: var(--home-bg);
    border: 1px solid var(--home-rule);
    border-radius: 10px;
    color: var(--home-muted);
    font-size: 12px;
    font-weight: 800;
    transition: background 160ms ease, border-color 160ms ease, color 160ms ease, transform 160ms ease;
}

.service-directory__alphabet button:hover:not(:disabled),
.service-directory__alphabet button.is-active,
.service-directory__pagination button:hover:not(:disabled),
.service-directory__pagination button.is-active {
    background: var(--home-text);
    border-color: var(--home-text);
    color: var(--home-bg);
}

.service-directory__alphabet button:hover:not(:disabled),
.service-directory__pagination button:hover:not(:disabled) {
    transform: translateY(-1px);
}

.service-directory__alphabet button:disabled,
.service-directory__pagination button:disabled {
    cursor: not-allowed;
    opacity: 0.35;
}

.service-directory.is-searching .service-directory__alphabet button:not(.is-active) {
    opacity: 0.72;
}

.service-directory__grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 12px;
}

.service-directory__card {
    display: block;
    min-width: 0;
    min-height: 0;
    padding: 0;
    overflow: hidden;
    border: 1px solid var(--home-rule);
    border-radius: 16px;
    transition: border-color 160ms ease, box-shadow 160ms ease, transform 160ms ease;
}

.service-directory__card:hover {
    border-color: var(--strong-line);
    box-shadow: 0 14px 32px rgba(17, 19, 24, 0.08);
    transform: translateY(-2px);
}

html[data-theme="dark"] .service-directory__card:hover {
    box-shadow: 0 18px 38px rgba(0, 0, 0, 0.26);
}

.service-directory__card:focus-within {
    border-color: var(--home-blue);
    outline: 3px solid var(--focus-ring);
    outline-offset: 2px;
}

.service-directory__card > a {
    display: grid;
    grid-template-columns: 46px minmax(0, 1fr) auto;
    gap: 13px;
    align-items: center;
    min-height: 108px;
    margin: 0;
    padding: 16px;
    border-top: 0;
    color: var(--home-text);
    text-decoration: none;
}

.service-directory__card > a:hover {
    color: var(--home-text);
}

.service-directory__icon {
    display: grid;
    width: 46px;
    height: 46px;
    place-items: center;
    flex: 0 0 46px;
    background: var(--home-bg);
    border: 1px solid var(--home-rule);
    border-radius: 13px;
}

.service-directory__icon img {
    width: 30px;
    height: 30px;
    object-fit: contain;
}

.service-directory__badge {
    display: grid;
    width: 100%;
    height: 100%;
    place-items: center;
    border: 0;
    border-radius: 11px;
    font-size: 15px;
    font-weight: 800;
}

.service-directory__card-copy {
    min-width: 0;
}

.service-directory__card h3 {
    max-width: none;
    margin: 0 0 6px;
    overflow: hidden;
    font-size: 16px;
    letter-spacing: -0.02em;
    line-height: 1.2;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.service-directory__availability {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    max-width: 100%;
    color: var(--home-muted);
    font-size: 11px;
    line-height: 1.25;
    white-space: nowrap;
}

.service-directory__availability > i {
    width: 7px;
    height: 7px;
    flex: 0 0 auto;
    background: #45c98a;
    border-radius: 50%;
    box-shadow: 0 0 0 4px rgba(69, 201, 138, 0.1);
}

.service-directory__availability.is-empty > i {
    background: #7b8490;
    box-shadow: none;
}

.service-directory__card-action {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    padding: 9px 10px;
    background: var(--home-bg);
    border: 1px solid var(--home-rule);
    border-radius: 999px;
    color: var(--home-muted);
    font-size: 11px;
    font-weight: 800;
    line-height: 1;
    white-space: nowrap;
    transition: background 160ms ease, border-color 160ms ease, color 160ms ease;
}

.service-directory__card:hover .service-directory__card-action,
.service-directory__card > a:focus-visible .service-directory__card-action {
    background: var(--home-text);
    border-color: var(--home-text);
    color: var(--home-bg);
}

.service-directory__card-action svg {
    width: 15px;
    height: 15px;
    fill: none;
    stroke: currentColor;
    stroke-linecap: round;
    stroke-linejoin: round;
    stroke-width: 1.8;
}

.service-directory__card > a:focus-visible {
    outline: 0;
}

.service-directory__pagination {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    margin-top: 30px;
    padding-top: 22px;
    border-top: 1px solid var(--home-rule);
}

.service-directory__pagination[hidden] {
    display: none;
}

.service-directory__pagination > button {
    min-width: 108px;
}

.service-directory__pagination-pages {
    display: flex;
    align-items: center;
    gap: 6px;
}

.service-directory__pagination-pages button {
    min-width: 38px;
}

.service-directory__pagination-gap {
    display: grid;
    min-width: 22px;
    place-items: center;
    color: var(--home-muted);
}

@media (max-width: 1100px) {
    .service-directory__alphabet-frame {
        overflow: hidden;
    }

    .service-directory__alphabet {
        display: flex;
        padding-inline: 2px;
        overflow-x: auto;
        scrollbar-width: none;
    }

    .service-directory__alphabet::-webkit-scrollbar {
        display: none;
    }

    .service-directory__alphabet button {
        flex: 0 0 38px;
    }

    .service-directory__alphabet button:first-child {
        flex-basis: 58px;
    }

    .service-directory__alphabet-frame::before,
    .service-directory__alphabet-frame::after {
        position: absolute;
        z-index: 2;
        top: 14px;
        bottom: 0;
        width: 28px;
        content: "";
        opacity: 0;
        pointer-events: none;
        transition: opacity 160ms ease;
    }

    .service-directory__alphabet-frame::before {
        left: 0;
        background: linear-gradient(90deg, var(--home-surface), transparent);
    }

    .service-directory__alphabet-frame::after {
        right: 0;
        background: linear-gradient(270deg, var(--home-surface), transparent);
    }

    .service-directory__alphabet-frame.has-overflow:not(.is-at-start)::before,
    .service-directory__alphabet-frame.has-overflow:not(.is-at-end)::after {
        opacity: 1;
    }
}

@media (max-width: 900px) {
    .service-directory__grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .service-directory__control-row {
        grid-template-columns: 1fr;
        gap: 10px;
    }

    .service-directory__meta {
        justify-content: space-between;
    }
}

@media (max-width: 720px) {
    .service-directory__catalog {
        padding-block: 64px 80px;
    }

    .service-directory__toolbar {
        margin-bottom: 20px;
    }

    .service-directory__toolbar h2 {
        font-size: clamp(34px, 10vw, 44px);
    }

    .service-directory__controls {
        top: 76px;
        margin-inline: -4px;
        margin-bottom: 20px;
        padding: 11px;
        border-radius: 15px;
    }

    .service-directory__search input {
        height: 48px;
        padding-inline: 44px;
        font-size: 14px;
    }

    .service-directory__search > svg {
        left: 14px;
    }

    .service-directory__meta {
        align-items: center;
        gap: 8px;
    }

    .service-directory__scope {
        max-width: min(70%, 245px);
        padding: 8px 10px;
        font-size: 10px;
    }

    .service-directory__filters > span {
        font-size: 11px;
    }

    .service-directory__alphabet-frame {
        margin-top: 11px;
        padding-top: 11px;
    }

    .service-directory__alphabet-frame::before,
    .service-directory__alphabet-frame::after {
        top: 11px;
    }

    .service-directory__alphabet button {
        flex-basis: 36px;
        min-height: 36px;
    }

    .service-directory__alphabet button:first-child {
        flex-basis: 54px;
    }

    .service-directory__grid {
        grid-template-columns: 1fr;
        gap: 10px;
    }

    .service-directory__card > a {
        grid-template-columns: 44px minmax(0, 1fr) 36px;
        gap: 11px;
        min-height: 88px;
        padding: 12px;
    }

    .service-directory__icon {
        width: 44px;
        height: 44px;
        flex-basis: 44px;
        border-radius: 12px;
    }

    .service-directory__card h3 {
        margin-bottom: 5px;
        font-size: 15px;
    }

    .service-directory__availability {
        font-size: 10.5px;
    }

    .service-directory__card-action {
        display: grid;
        width: 34px;
        height: 34px;
        padding: 0;
        place-items: center;
    }

    .service-directory__card-action > span {
        position: absolute;
        width: 1px;
        height: 1px;
        overflow: hidden;
        clip: rect(0, 0, 0, 0);
        white-space: nowrap;
    }

    .service-directory__pagination {
        flex-wrap: wrap;
        gap: 8px;
        margin-top: 24px;
        padding-top: 18px;
    }

    .service-directory__pagination-pages {
        order: -1;
        width: 100%;
        justify-content: center;
    }
}

@media (prefers-reduced-motion: reduce) {
    .service-directory__scope > i,
    .service-directory__alphabet button,
    .service-directory__card,
    .service-directory__card-action,
    .service-directory__search button {
        transition: none;
    }
}

/* Keep the signed-in support launcher clear of the fixed mobile navigation. */
@media (max-width: 960px) {
    body.app-body .support-widget {
        bottom: calc(82px + env(safe-area-inset-bottom));
    }

    body.app-body .support-widget__popover {
        bottom: calc(148px + env(safe-area-inset-bottom));
    }
}

/* Keep searchable select controls fixed while only their option list scrolls. */
.stitch-select__panel {
    display: flex;
    flex-direction: column;
    overflow: hidden !important;
}

.stitch-select__search {
    position: relative;
    z-index: 2;
    top: auto;
    flex: 0 0 auto;
    background: var(--select-surface) !important;
    background-color: var(--select-surface) !important;
}

.stitch-select__options {
    min-height: 0;
    flex: 1 1 auto;
    overflow-x: hidden;
    overflow-y: auto;
    overscroll-behavior: contain;
    scrollbar-width: none;
}

.stitch-select__options::-webkit-scrollbar {
    display: none;
    width: 0;
    height: 0;
}

.stitch-select__panel--chunked .stitch-select__option {
    height: auto;
    min-height: 44px;
    padding-top: 6px;
    padding-bottom: 6px;
    align-items: center;
}

.stitch-select__panel--chunked .stitch-select__option-label {
    overflow: visible;
    text-overflow: clip;
    white-space: normal;
    line-height: 1.35;
    overflow-wrap: anywhere;
}

@media (max-width: 640px) {
    .stitch-select__panel {
        overflow: hidden !important;
    }

    .stitch-select__search {
        position: relative;
        top: auto;
    }

    .stitch-select__options {
        min-height: 0;
        overflow-y: auto;
    }
}

/* Customer digital-product marketplace. Supplier identity and fulfilment data
   are intentionally absent from these reusable presentation primitives. */
.sr-only {
    position: absolute !important;
    width: 1px !important;
    height: 1px !important;
    padding: 0 !important;
    overflow: hidden !important;
    clip: rect(0, 0, 0, 0) !important;
    white-space: nowrap !important;
    border: 0 !important;
}

.dashboard-service-market {
    padding: 22px;
    background: var(--dashboard-services-gradient);
    border: 1px solid var(--hairline);
    border-radius: 16px;
}

.dashboard-service-market__grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
}

.dashboard-service-card {
    display: grid;
    min-width: 0;
    padding: 14px 12px;
    grid-template-columns: auto minmax(0, 1fr) auto;
    align-items: center;
    gap: 10px;
    border: 1px solid var(--hairline);
    border-radius: 13px;
    color: var(--ink);
    transition: border-color 150ms ease, transform 150ms ease, background-color 150ms ease;
}

.dashboard-service-card:hover,
.dashboard-service-card:focus-visible {
    background: var(--hover);
    border-color: var(--strong-line);
    outline: none;
    transform: translateY(-2px);
}

.dashboard-service-card__icon {
    display: grid;
    width: 38px;
    height: 38px;
    place-items: center;
    background: var(--canvas);
    border: 1px solid var(--hairline);
    border-radius: 11px;
}

.dashboard-service-card__icon svg {
    width: 21px;
    height: 21px;
    fill: none;
    stroke: currentColor;
    stroke-linecap: round;
    stroke-linejoin: round;
    stroke-width: 1.55;
}

.dashboard-service-card > span:nth-child(2) {
    display: grid;
    min-width: 0;
    gap: 3px;
}

.dashboard-service-card strong,
.dashboard-service-card small {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.dashboard-service-card strong {
    font-size: 12px;
}

.dashboard-service-card small {
    color: var(--muted);
    font-size: 9px;
}

.purchases-page,
.purchase-detail {
    width: min(100%, 1180px);
    margin-inline: auto;
}

.purchases-heading,
.purchase-detail__header {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 24px;
    margin-bottom: 24px;
}

.purchases-heading h1,
.purchase-detail__header h1 {
    margin: 4px 0 7px;
    letter-spacing: -0.045em;
    line-height: 1;
}

.purchases-heading p,
.purchase-detail__header p {
    max-width: 660px;
    margin: 0;
    color: var(--muted);
    line-height: 1.55;
}

.marketplace-eyebrow {
    color: var(--muted);
    font-size: 10px;
    font-weight: 800;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.purchase-kind-tabs {
    display: flex;
    overflow-x: auto;
    margin-bottom: 24px;
    gap: 8px;
    scrollbar-width: none;
}

.purchase-kind-tabs::-webkit-scrollbar {
    display: none;
}

.purchase-kind-tabs a {
    display: inline-flex;
    min-height: 38px;
    padding: 0 16px;
    flex: 0 0 auto;
    align-items: center;
    justify-content: center;
    background: var(--canvas);
    border: 1px solid var(--hairline);
    border-radius: 999px;
    color: var(--muted);
    font-size: 12px;
    font-weight: 750;
}

.purchase-kind-tabs a:hover,
.purchase-kind-tabs a.is-active {
    background: var(--ink);
    border-color: var(--ink);
    color: var(--canvas);
}

.purchase-detail__layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 350px;
    align-items: start;
    gap: 24px;
}

.purchase-flash {
    margin: 0 0 24px;
    padding: 14px 16px;
    border: 1px solid var(--strong-line);
    border-radius: 10px;
    color: var(--ink);
    font-size: 14px;
    font-weight: 650;
    line-height: 1.5;
}

.purchase-flash--error,
.purchase-flash--warning {
    background: color-mix(in srgb, var(--error) 10%, var(--canvas));
    border-color: color-mix(in srgb, var(--error) 48%, var(--hairline));
    border-left-color: var(--error);
}

.purchase-fulfilment,
.purchase-receipt {
    background: var(--dashboard-card-gradient);
    border: 1px solid var(--hairline);
    border-radius: 16px;
}

.purchase-receipt {
    position: sticky;
    top: 92px;
    padding: 22px;
}

.purchase-fulfilment__gate > span {
    display: grid;
    width: 48px;
    height: 48px;
    margin-bottom: 6px;
    place-items: center;
    background: var(--quiet);
    border-radius: 13px;
}

.purchase-fulfilment__gate svg {
    width: 25px;
    height: 25px;
    fill: none;
    stroke: currentColor;
    stroke-linecap: round;
    stroke-linejoin: round;
    stroke-width: 1.5;
}

.purchase-receipt dl {
    margin: 0;
}

.purchase-receipt dl > div {
    display: flex;
    padding: 10px 0;
    align-items: baseline;
    justify-content: space-between;
    gap: 16px;
    border-top: 1px solid var(--hairline);
}

.purchase-receipt dt {
    color: var(--muted);
    font-size: 11px;
}

.purchase-receipt dd {
    margin: 0;
    font-size: 12px;
    font-weight: 700;
    text-align: right;
}

.purchase-receipt__total {
    display: flex;
    margin: 6px 0 10px;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
}

.purchase-receipt__total strong {
    font-size: 22px;
}

.marketplace-quote-expiry {
    min-height: 16px;
    margin: 0;
    color: var(--warning);
    font-size: 10px;
}

.marketplace-directory-page,
.marketplace-category-page,
.marketplace-checkout-page,
.marketplace-unavailable {
    width: min(100%, 1180px);
    margin-inline: auto;
}

.marketplace-page-heading {
    display: flex;
    margin-bottom: 28px;
    align-items: flex-end;
    justify-content: space-between;
    gap: 24px;
}

.marketplace-page-heading h1,
.marketplace-unavailable h1 {
    margin: 5px 0 10px;
    font-size: clamp(20px, 1vw, 30px);
    letter-spacing: -0.045em;
    line-height: 1;
}

.marketplace-page-heading p,
.marketplace-unavailable p {
    max-width: 680px;
    margin: 0;
    color: var(--muted);
    line-height: 1.55;
}

.marketplace-directory-page > .notice,
.marketplace-category-page > .notice {
    margin-bottom: 20px;
}

body.has-open-marketplace-disclaimer {
    overflow: hidden;
}

.marketplace-disclaimer-dialog {
    width: min(860px, calc(100vw - 32px));
    max-width: none;
    max-height: calc(100vh - 48px);
    margin: auto;
    padding: 0;
    overflow: visible;
    background: transparent;
    border: 0;
    color: var(--ink);
}

.marketplace-disclaimer-dialog::backdrop {
    background: rgba(6, 8, 12, 0.68);
    backdrop-filter: blur(6px);
}

.marketplace-disclaimer {
    position: relative;
    max-height: calc(100vh - 48px);
    padding: clamp(20px, 3vw, 28px);
    overflow-x: hidden;
    overflow-y: auto;
    background: var(--dashboard-card-gradient);
    border: 1px solid var(--strong-line);
    border-radius: 16px;
    box-shadow: var(--shadow);
}

.marketplace-disclaimer:focus {
    outline: none;
}

.marketplace-disclaimer__close {
    position: absolute;
    z-index: 1;
    top: 16px;
    right: 16px;
    width: 34px;
    height: 34px;
    padding: 0;
    background: transparent;
    border: 0;
    border-radius: 0;
    color: var(--ink);
    cursor: pointer;
    font-size: 20px;
    line-height: 1;
}

.marketplace-disclaimer__close:focus {
    outline: none;
    box-shadow: none;
}

.marketplace-disclaimer::before {
    position: absolute;
    top: 0;
    left: 0;
    width: 4px;
    height: 100%;
    background: var(--error);
    content: "";
}

.marketplace-disclaimer__header {
    display: flex;
    padding-right: 42px;
    align-items: flex-start;
    gap: 14px;
}

.marketplace-disclaimer__icon {
    display: grid;
    width: 34px;
    height: 34px;
    flex: 0 0 auto;
    place-items: center;
    background: var(--quiet);
    border: 1px solid var(--hairline);
    border-radius: 50%;
    color: var(--error);
    font-size: 16px;
    font-weight: 850;
}

.marketplace-disclaimer__header h2 {
    margin: 4px 0 5px;
    font-size: clamp(18px, 2vw, 23px);
}

.marketplace-disclaimer__header p,
.marketplace-disclaimer__grid p {
    margin: 0;
    color: var(--muted);
    font-size: 11px;
    line-height: 1.65;
}

.marketplace-disclaimer__grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 20px 28px;
    margin-top: 22px;
}

.marketplace-disclaimer__grid section {
    min-width: 0;
}

.marketplace-disclaimer__grid h3 {
    margin: 0 0 8px;
    font-size: 12px;
}

.marketplace-disclaimer__grid ul {
    display: grid;
    margin: 0;
    padding-left: 17px;
    gap: 7px;
    color: var(--muted);
    font-size: 11px;
    line-height: 1.55;
}

.marketplace-disclaimer__grid .marketplace-disclaimer__danger {
    grid-column: 1 / -1;
    margin-top: 4px;
    padding: 12px 14px;
    background: color-mix(in srgb, var(--error) 11%, var(--canvas));
    border: 1px solid color-mix(in srgb, var(--error) 55%, var(--hairline));
    border-radius: 10px;
    color: var(--error);
}

.marketplace-disclaimer__danger strong {
    display: block;
    margin-bottom: 4px;
    color: var(--error);
    font-size: 12px;
}

.marketplace-disclaimer__danger p {
    margin: 0;
    color: inherit;
}

.marketplace-disclaimer__grid p + p {
    margin-top: 8px;
}

.marketplace-disclaimer__link {
    display: inline-flex;
    margin-top: 10px;
    align-items: center;
    gap: 7px;
    color: var(--ink);
    font-size: 11px;
    font-weight: 750;
    text-decoration: underline;
    text-underline-offset: 3px;
}

.marketplace-disclaimer__link svg {
    width: 17px;
    height: 17px;
    flex: 0 0 auto;
    fill: currentColor;
}

.marketplace-disclaimer__link:hover,
.marketplace-disclaimer__link:focus-visible {
    text-decoration: none;
}

.marketplace-disclaimer__terms {
    margin: 20px 0 0;
    padding-top: 14px;
    border-top: 1px solid var(--hairline);
    color: var(--muted);
    font-size: 10px;
}

.catalog-directory {
    margin: 0;
    padding: 0;
    list-style: none;
}

.marketplace-card-search {
    display: grid;
    grid-template-columns: minmax(220px, 440px) auto;
    margin-bottom: 18px;
    align-items: end;
    justify-content: space-between;
    gap: 8px 18px;
}

.marketplace-card-search > label {
    grid-column: 1;
    color: var(--muted);
    font-size: 10px;
    font-weight: 750;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.marketplace-card-search__control {
    position: relative;
    grid-column: 1;
}

.marketplace-card-search__control svg {
    position: absolute;
    top: 50%;
    left: 14px;
    width: 17px;
    height: 17px;
    transform: translateY(-50%);
    fill: none;
    stroke: var(--muted);
    stroke-linecap: round;
    stroke-width: 1.8;
    pointer-events: none;
}

.marketplace-card-search__control input {
    width: 100%;
    height: 46px;
    padding: 0 14px 0 42px;
    background: var(--canvas);
    border: 1px solid var(--strong-line);
    border-radius: 11px;
    color: var(--ink);
    font: inherit;
    font-size: 13px;
}

.marketplace-card-search__control input::placeholder {
    color: var(--muted);
}

.marketplace-card-search__control input:focus {
    border-color: var(--ink);
    outline: none;
    box-shadow: 0 0 0 3px color-mix(in srgb, var(--ink) 12%, transparent);
}

.marketplace-card-search__status {
    grid-column: 2;
    grid-row: 2;
    padding-bottom: 14px;
    color: var(--muted);
    font-size: 10px;
}

[data-marketplace-directory-card][hidden],
[data-marketplace-product][hidden],
[data-marketplace-directory-no-results][hidden],
[data-marketplace-products-no-results][hidden] {
    display: none;
}

.catalog-directory--root {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 16px;
}

.catalog-directory__node {
    min-width: 0;
}

.catalog-directory--root > .catalog-directory__node {
    padding: 16px;
    border: 1px solid var(--hairline);
    border-radius: 13px;
    background: var(--dashboard-card-gradient);
}

.catalog-directory:not(.catalog-directory--root) {
    display: grid;
    margin-top: 9px;
    gap: 6px;
}

.catalog-directory:not(.catalog-directory--root) .catalog-directory__entry {
    padding-top: 12px;
    border-top: 1px solid var(--hairline);
}

.catalog-directory__entry > a,
.catalog-directory__heading {
    display: flex;
    min-height: 42px;
    padding: 8px 10px;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    border-radius: 9px;
    color: var(--ink);
    font-size: 12px;
    font-weight: 750;
}

.catalog-directory__entry > a:hover,
.catalog-directory__entry > a:focus-visible {
    background: var(--hover);
    outline: none;
}

.catalog-directory__title {
    display: inline-flex;
    min-width: 0;
    align-items: center;
    gap: 9px;
}

.catalog-directory__icon {
    display: inline-block;
    flex: 0 0 auto;
    width: 18px;
    height: 18px;
    object-fit: contain;
}

.marketplace-page-heading__icon {
    display: inline-block;
    flex: 0 0 auto;
    font-size: 20px;
    line-height: 1;
}

.marketplace-page-heading__icon {
    margin-right: 10px;
    vertical-align: 0.06em;
}

.catalog-directory__count {
    flex: 0 0 auto;
    color: var(--muted);
    font-size: 9px;
    font-weight: 650;
}

.catalog-directory__node.is-group > .catalog-directory__entry > .catalog-directory__heading {
    color: var(--muted);
}

.marketplace-directory-empty,
.marketplace-category-empty {
    display: grid;
    min-height: 220px;
    place-content: center;
    justify-items: center;
    gap: 10px;
    text-align: center;
}

.marketplace-directory-empty h3,
.marketplace-category-empty h2,
.marketplace-directory-empty p,
.marketplace-category-empty p {
    margin: 0;
}

.marketplace-directory-empty p,
.marketplace-category-empty p {
    color: var(--muted);
}

.marketplace-category-total {
    padding-bottom: 6px;
    color: var(--muted);
    font-size: 11px;
}

.marketplace-product-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 12px;
}

.marketplace-product-card {
    display: flex;
    min-width: 0;
    min-height: 250px;
    padding: 18px;
    flex-direction: column;
    background: var(--dashboard-card-gradient);
    border: 1px solid var(--hairline);
    border-radius: 13px;
}

.marketplace-product-card__heading {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
}

.marketplace-product-card__availability {
    color: var(--success);
    font-size: 9px;
    font-weight: 750;
    text-align: right;
    text-transform: uppercase;
}

.marketplace-product-card__availability.is-unavailable {
    color: var(--muted);
}

.marketplace-product-card h2 {
    overflow-wrap: anywhere;
    margin: 17px 0 8px;
    font-size: 17px;
    line-height: 1.25;
}

.marketplace-product-card > p {
    display: -webkit-box;
    margin: 0 0 20px;
    overflow: hidden;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 4;
    color: var(--muted);
    font-size: 11px;
    line-height: 1.55;
}

.marketplace-product-card__price {
    margin-top: auto;
    font-size: 15px;
}

.marketplace-product-card__actions {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px;
    margin-top: 16px;
}

.marketplace-product-card__actions .button {
    min-width: 0;
    padding-inline: 10px;
}

.product-details-dialog {
    width: min(560px, calc(100vw - 32px));
    max-width: none;
    margin: auto;
    padding: 0;
    background: transparent;
    border: 0;
    color: var(--ink);
}

.product-details-dialog::backdrop {
    background: rgba(6, 8, 12, 0.66);
    backdrop-filter: blur(6px);
}

.product-details-dialog__surface {
    position: relative;
    padding: 28px;
    background: var(--canvas);
    border: 1px solid var(--strong-line);
    border-radius: 18px;
    box-shadow: var(--shadow);
}

.product-details-dialog__surface h2 {
    overflow-wrap: anywhere;
    margin: 7px 34px 12px 0;
    font-size: 25px;
}

.product-details-dialog__surface > p {
    margin: 0 0 22px;
    color: var(--muted);
    line-height: 1.65;
    white-space: pre-wrap;
}

.product-details-dialog__surface dl {
    margin: 0 0 20px;
}

.product-details-dialog__surface dl > div {
    display: flex;
    padding: 11px 0;
    justify-content: space-between;
    gap: 18px;
    border-top: 1px solid var(--hairline);
}

.product-details-dialog__surface dt {
    color: var(--muted);
    font-size: 10px;
    text-transform: uppercase;
}

.product-details-dialog__surface dd {
    margin: 0;
    font-size: 12px;
    font-weight: 750;
    text-align: right;
}

.product-details-dialog__close {
    position: absolute;
    top: 18px;
    right: 18px;
    width: 34px;
    height: 34px;
    background: var(--quiet);
    border: 0;
    border-radius: 50%;
    color: var(--ink);
    cursor: pointer;
    font-size: 20px;
}

.marketplace-checkout-heading {
    margin-bottom: 26px;
}

.marketplace-checkout-heading h1 {
    margin-top: 6px;
}

.marketplace-checkout-review {
    padding: clamp(24px, 4vw, 42px);
}

.marketplace-checkout-review__heading {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
}

.marketplace-checkout-review > h2 {
    overflow-wrap: anywhere;
    margin: 22px 0 12px;
    line-height: 1.12;
}

.marketplace-checkout-review > p {
    margin: 0 0 28px;
    color: var(--muted);
    line-height: 1.7;
    white-space: pre-wrap;
}

.marketplace-checkout-review__facts {
    margin: 0;
    border-top: 1px solid var(--hairline);
}

.marketplace-checkout-review__facts > div {
    padding-inline: 0;
}

.marketplace-checkout-workbench .quote-ledger dd {
    overflow-wrap: anywhere;
}

.marketplace-unavailable {
    display: grid;
    min-height: 60vh;
    place-content: center;
    justify-items: start;
}

.marketplace-unavailable__actions {
    display: flex;
    margin-top: 26px;
    flex-wrap: wrap;
    gap: 10px;
}

.purchases-ledger {
    margin-top: 0;
}

.purchases-filter {
    grid-template-columns: minmax(220px, 1fr) minmax(160px, 240px);
}

.purchases-table {
    min-width: 920px;
    table-layout: fixed;
}

.purchases-table th:first-child { width: 190px; }
.purchases-table th:nth-child(3) { width: 100px; }
.purchases-table th:nth-child(4) { width: 130px; }
.purchases-table th:nth-child(5) { width: 140px; }
.purchases-table th:nth-child(6) { width: 130px; }

.purchases-table .purchases-table__purchase {
    white-space: normal;
}

.purchases-table__purchase strong {
    line-height: 1.45;
    overflow-wrap: anywhere;
}

.purchases-empty h2,
.purchases-empty p {
    margin: 0;
}

.purchases-empty p {
    color: var(--muted);
}

.purchases-table td strong,
.purchases-table__meta {
    display: block;
}

.purchases-table__meta {
    margin-top: 4px;
    color: var(--muted);
    font-size: 10px;
}

.purchase-kind-badge {
    display: inline-flex;
    min-height: 25px;
    padding: 0 9px;
    align-items: center;
    background: var(--quiet);
    border: 1px solid var(--hairline);
    border-radius: 999px;
    font-size: 10px;
    font-weight: 700;
}

.purchase-detail__back {
    display: block;
    margin-bottom: 22px;
    color: var(--muted);
    font-size: 12px;
    font-weight: 700;
}

.purchase-detail__status {
    min-height: 36px;
    padding: 0 13px;
    background: var(--quiet);
    border: 1px solid var(--hairline);
    border-radius: 999px;
}

.purchase-detail__main {
    display: grid;
    min-width: 0;
    gap: 18px;
}

.purchase-fulfilment {
    padding: 24px;
}

.purchase-fulfilment .section-heading-row {
    align-items: flex-start;
}

.purchase-fulfilment .section-heading-row h2 {
    margin: 4px 0 0;
    font-size: 20px;
}

.purchase-fulfilment__gate {
    display: grid;
    min-height: 210px;
    padding: 24px;
    grid-template-columns: auto minmax(0, 1fr) auto;
    align-items: center;
    gap: 16px;
    background: var(--quiet);
    border-radius: 13px;
}

.purchase-fulfilment__gate h3,
.purchase-fulfilment__gate p {
    margin: 0;
}

.purchase-fulfilment__gate p {
    margin-top: 4px;
    color: var(--muted);
    font-size: 12px;
}

.purchase-fulfilment__items {
    display: grid;
    gap: 12px;
}

.purchase-fulfilment-item {
    padding: 16px;
    background: var(--quiet);
    border: 1px solid var(--hairline);
    border-radius: 12px;
}

.purchase-fulfilment-item > header,
.purchase-fulfilment-item dl > div {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
}

.purchase-fulfilment-item > header {
    margin-bottom: 10px;
}

.purchase-fulfilment-item dl {
    margin: 0;
}

.purchase-fulfilment-item dl > div {
    padding: 9px 0;
    border-top: 1px solid var(--hairline);
}

.purchase-fulfilment-item dt {
    color: var(--muted);
    font-size: 11px;
}

.purchase-fulfilment-item dd {
    overflow-wrap: anywhere;
    margin: 0;
    font-family: var(--sans);
    font-size: 12px;
    font-weight: 700;
    text-align: right;
}

.purchase-fulfilment-item details {
    padding-top: 10px;
    border-top: 1px solid var(--hairline);
}

.purchase-fulfilment-item summary {
    color: var(--muted);
    cursor: pointer;
    font-size: 10px;
    font-weight: 700;
}

.purchase-fulfilment-item pre {
    overflow-x: auto;
    margin: 10px 0 0;
    padding: 10px;
    background: var(--canvas);
    border-radius: 8px;
    font: 11px/1.5 var(--sans);
    white-space: pre-wrap;
    word-break: break-all;
}

.purchase-fulfilment__actions {
    display: flex;
    margin-top: 14px;
    flex-wrap: wrap;
    gap: 9px;
}

.purchase-fulfilment__actions form {
    margin: 0;
}

.purchase-receipt h2 {
    font-size: 17px;
}

.purchase-receipt__total {
    padding-top: 16px;
    border-top: 1px solid var(--hairline);
}

.purchase-receipt > p {
    margin: 16px 0 0;
    color: var(--muted);
    font-size: 10px;
    line-height: 1.5;
}

@media (max-width: 1100px) {
    .dashboard-service-market__grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .marketplace-product-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 860px) {
    .purchase-detail__layout {
        grid-template-columns: 1fr;
    }

    .purchase-receipt {
        position: static;
    }
}

@media (max-width: 640px) {
    .dashboard-service-market {
        padding: 18px 14px;
    }

    .dashboard-service-market__grid {
        grid-template-columns: 1fr;
    }

    .dashboard-service-card:last-child {
        grid-column: auto;
    }

    .purchases-heading,
    .purchase-detail__header {
        align-items: flex-start;
        flex-direction: column;
    }

    .purchases-heading .button {
        width: 100%;
    }

    .purchase-fulfilment,
    .purchase-receipt {
        padding: 18px 14px;
        border-radius: 13px;
    }

    .marketplace-page-heading {
        align-items: flex-start;
        flex-direction: column;
    }

    .marketplace-card-search {
        grid-template-columns: 1fr;
    }

    .marketplace-card-search__status {
        grid-column: 1;
        grid-row: auto;
        padding-bottom: 0;
    }

    .marketplace-disclaimer__grid {
        grid-template-columns: 1fr;
    }

    .marketplace-disclaimer-dialog {
        width: 100%;
        max-height: calc(100vh - 42px);
        margin: auto 0 0;
    }

    .marketplace-disclaimer-dialog .marketplace-disclaimer {
        max-height: calc(100vh - 42px);
        padding: 24px 18px calc(22px + env(safe-area-inset-bottom));
        border-right: 0;
        border-bottom: 0;
        border-left: 0;
        border-radius: 22px 22px 0 0;
    }

    .catalog-directory--root,
    .marketplace-product-grid {
        grid-template-columns: 1fr;
    }

    .marketplace-product-card {
        min-height: 230px;
    }

    .product-details-dialog {
        width: 100%;
        max-width: none;
        margin: auto 0 0;
    }

    .product-details-dialog__surface {
        max-height: calc(100vh - 42px);
        padding: 24px 18px calc(22px + env(safe-area-inset-bottom));
        overflow-y: auto;
        border-right: 0;
        border-bottom: 0;
        border-left: 0;
        border-radius: 22px 22px 0 0;
    }

    .marketplace-checkout-review {
        padding: 24px 18px;
    }

    .purchases-filter {
        grid-template-columns: 1fr;
    }

    .purchase-fulfilment__gate {
        padding: 22px 16px;
        grid-template-columns: 1fr;
        justify-items: start;
    }

    .purchase-fulfilment__gate .button,
    .purchase-fulfilment__actions,
    .purchase-fulfilment__actions .button,
    .purchase-fulfilment__actions form {
        width: 100%;
    }
}

@media (prefers-reduced-motion: reduce) {
    .dashboard-service-card {
        transition: none;
    }
}
/* Boosting catalog and responsive service dialog */
.boosting-page {
    width: min(100%, 1320px);
    margin-inline: auto;
}

.boosting-heading {
    padding-bottom: 30px;
    border-bottom: 1px solid var(--hairline);
}

.boosting-heading h1 {
    margin: 7px 0 9px;
    font-size: clamp(34px, 4vw, 52px);
    letter-spacing: -.045em;
    line-height: 1;
}

.boosting-heading p {
    max-width: 700px;
    margin: 0;
    color: var(--muted);
    line-height: 1.55;
}

.boosting-page > .notice {
    margin: 22px 0 0;
}

.boosting-filter-toolbar {
    display: grid;
    grid-template-columns: minmax(240px, 1.2fr) minmax(210px, 1fr) minmax(190px, .7fr);
    gap: 14px;
    align-items: end;
    padding: 26px 0 20px;
    border-bottom: 1px solid var(--hairline);
}

.boosting-filter-toolbar .field {
    min-width: 0;
}

.boosting-results-heading {
    display: flex;
    min-height: 96px;
    align-items: end;
    justify-content: space-between;
    gap: 20px;
    padding: 28px 2px 16px;
}

.boosting-results-heading h2 {
    margin: 5px 0 0;
    font-size: 22px;
    letter-spacing: -.025em;
}

.boosting-results-heading__clear {
    padding: 0;
    background: transparent;
    border: 0;
    color: var(--muted);
    cursor: pointer;
    font-size: 12px;
    font-weight: 700;
}

.boosting-results-heading__clear:hover {
    color: var(--ink);
}

.boosting-service-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 16px;
}

.boosting-pagination {
    display: flex;
    margin-top: 24px;
    align-items: center;
    justify-content: center;
    gap: 12px;
}

.boosting-pagination__pages {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
}

.boosting-pagination__page {
    display: grid;
    min-width: 36px;
    height: 36px;
    padding: 0 8px;
    place-items: center;
    background: transparent;
    border: 1px solid var(--hairline);
    border-radius: 8px;
    color: var(--muted);
    cursor: pointer;
    font: 750 11px/1 var(--sans);
}

.boosting-pagination__page:hover,
.boosting-pagination__page.is-current {
    background: var(--ink);
    border-color: var(--ink);
    color: var(--canvas);
}

.boosting-pagination__ellipsis {
    padding-inline: 2px;
    color: var(--muted);
}

.boosting-service-card {
    display: flex;
    min-width: 0;
    min-height: 350px;
    padding: 20px;
    flex-direction: column;
    background: var(--dashboard-card-gradient);
    border: 1px solid var(--hairline);
    border-radius: 14px;
    transition: border-color 160ms ease, box-shadow 160ms ease, transform 160ms ease;
}

.boosting-service-card[hidden] {
    display: none;
}

.boosting-checkout-page .purchase-form-column {
    display: grid;
    gap: 18px;
}

.boosting-checkout-form {
    display: grid;
    padding: clamp(24px, 4vw, 36px);
    gap: 18px;
}

.boosting-checkout-form .field {
    gap: 9px;
}

.boosting-checkout-form .field input {
    min-height: 54px;
}

.boosting-quantity-calculator {
    display: grid;
    min-width: 0;
    margin: 18px 0;
    padding: 16px;
    grid-template-columns: minmax(0, 1fr) minmax(150px, auto);
    align-items: end;
    gap: 12px 16px;
}

.boosting-quantity-calculator[hidden] {
    display: none;
}

.boosting-quantity-calculator__field {
    display: grid;
    min-width: 0;
    gap: 7px;
}

.boosting-quantity-calculator__field > span,
.boosting-quantity-calculator__estimate > span {
    color: var(--muted);
    font-size: 9px;
    font-weight: 800;
    letter-spacing: .09em;
    text-transform: uppercase;
}

.boosting-quantity-calculator__field input {
    width: 100%;
    min-width: 0;
    min-height: 46px;
    padding: 0 13px;
    background: var(--canvas);
    border: 1px solid var(--strong-line);
    border-radius: 9px;
    color: var(--ink);
    font: 750 15px/1 var(--sans);
}

.boosting-quantity-calculator__field input:focus {
    border-color: var(--ink);
    outline: 2px solid color-mix(in srgb, var(--ink) 16%, transparent);
    outline-offset: 2px;
}

.boosting-quantity-calculator__estimate {
    display: grid;
    min-width: 0;
    gap: 7px;
}

.boosting-quantity-calculator__estimate strong {
    min-height: 23px;
    overflow-wrap: anywhere;
    font-size: clamp(17px, 2vw, 22px);
    letter-spacing: -.035em;
}

.boosting-quantity-calculator__status {
    min-height: 17px;
    margin: 0;
    grid-column: 1 / -1;
    color: var(--muted);
    font-size: 10px;
    line-height: 1.55;
}

.boosting-quantity-calculator__status.is-error {
    color: var(--error);
}

.boosting-quantity-calculator--checkout {
    margin-block: 18px 0;
    grid-template-columns: 1fr;
}

.boosting-quantity-calculator--hero {
    margin-bottom: 0;
}

[data-boosting-quantity-checkout].is-disabled {
    opacity: .52;
}

.boosting-service-card:hover {
    border-color: var(--strong-line);
    box-shadow: 0 12px 34px rgba(7, 12, 20, .08);
    transform: translateY(-2px);
}

html[data-theme="dark"] .boosting-service-card:hover {
    box-shadow: 0 14px 38px rgba(0, 0, 0, .28);
}

.boosting-service-card__badges,
.boosting-dialog__badges {
    display: flex;
    min-width: 0;
    flex-wrap: wrap;
    gap: 7px;
}

.boosting-service-card__badges span,
.boosting-dialog__badges span {
    display: inline-flex;
    max-width: 100%;
    min-height: 27px;
    padding: 5px 9px;
    align-items: center;
    overflow: hidden;
    background: var(--quiet);
    border: 1px solid var(--hairline);
    border-radius: 6px;
    color: var(--muted);
    font-size: 9px;
    font-weight: 800;
    letter-spacing: .08em;
    text-overflow: ellipsis;
    text-transform: uppercase;
    white-space: nowrap;
}

.boosting-service-card h3 {
    display: -webkit-box;
    min-height: 51px;
    margin: 17px 0 20px;
    overflow: hidden;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
    font-size: 18px;
    letter-spacing: -.025em;
    line-height: 1.4;
}

.boosting-service-card h3 a {
    color: inherit;
    text-decoration: none;
}

.boosting-service-card h3 a:hover {
    text-decoration: underline;
    text-decoration-thickness: 1px;
    text-underline-offset: 4px;
}

.boosting-service-card__price {
    display: flex;
    align-items: baseline;
    gap: 8px;
}

.boosting-service-card__price strong {
    overflow: hidden;
    font-size: clamp(22px, 1.7vw, 30px);
    letter-spacing: -.045em;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.boosting-service-card__price span {
    flex: 0 0 auto;
    color: var(--muted);
    font-size: 11px;
}

.boosting-service-card__limits {
    display: grid;
    grid-template-columns: 1fr 1fr;
    margin: 17px 0 0;
    padding: 15px 0;
    border-top: 1px solid var(--hairline);
    border-bottom: 1px solid var(--hairline);
}

.boosting-service-card__limits div {
    min-width: 0;
}

.boosting-service-card__limits dt {
    margin-bottom: 5px;
    color: var(--muted);
    font-size: 9px;
    font-weight: 800;
    letter-spacing: .09em;
    text-transform: uppercase;
}

.boosting-service-card__limits dd {
    overflow: hidden;
    margin: 0;
    font-size: 12px;
    font-weight: 750;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.boosting-service-card__capabilities {
    display: flex;
    min-height: 39px;
    padding: 10px 0 8px;
    flex-wrap: wrap;
    gap: 6px;
}

.boosting-service-card__capabilities span {
    color: var(--muted);
    font-size: 9px;
    font-weight: 700;
}

.boosting-service-card__capabilities span + span::before {
    margin-right: 6px;
    content: "·";
}

.boosting-service-card__actions {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px;
    margin-top: auto;
}

.boosting-service-card__actions .button,
.boosting-dialog__actions .button {
    min-width: 0;
}

.boosting-service-card__actions .button-secondary,
.boosting-dialog__actions .button-secondary {
    background: transparent;
    border-color: var(--strong-line);
    color: var(--ink);
}

.boosting-service-card__actions .button-secondary:hover,
.boosting-dialog__actions .button-secondary:hover {
    background: var(--hover);
    border-color: var(--ink);
}

.boosting-empty-state {
    min-height: 220px;
    justify-content: space-between;
    background: var(--dashboard-card-gradient);
    border: 1px solid var(--hairline);
    border-radius: 14px;
}

.boosting-empty-state h2 {
    margin-bottom: 8px;
    color: var(--ink);
    font-size: 22px;
}

body.has-open-boosting-dialog {
    overflow: hidden;
}

.boosting-dialog {
    width: min(680px, calc(100vw - 32px));
    max-width: none;
    max-height: calc(100dvh - 48px);
    margin: auto;
    padding: 0;
    overflow: visible;
    background: transparent;
    border: 0;
    color: var(--ink);
}

.boosting-dialog::backdrop {
    background: rgba(5, 8, 13, .7);
    backdrop-filter: blur(6px);
}

.boosting-dialog__surface {
    position: relative;
    max-height: calc(100dvh - 48px);
    padding: 30px;
    overflow-y: auto;
    background: var(--dashboard-card-gradient);
    border: 1px solid var(--strong-line);
    border-radius: 20px;
    box-shadow: 0 28px 90px rgba(0, 0, 0, .34);
    overscroll-behavior: contain;
}

.boosting-dialog__close {
    position: absolute;
    z-index: 2;
    top: 20px;
    right: 20px;
    display: grid;
    width: 36px;
    height: 36px;
    padding: 0;
    place-items: center;
    background: var(--quiet);
    border: 1px solid var(--hairline);
    border-radius: 9px;
    color: var(--ink);
    cursor: pointer;
    font-size: 23px;
}

.boosting-dialog__close:hover {
    background: var(--hover);
    border-color: var(--strong-line);
}

.boosting-dialog__details h2,
.boosting-dialog__checkout h2 {
    max-width: calc(100% - 44px);
    margin: 12px 0 20px;
    overflow-wrap: anywhere;
    font-size: clamp(24px, 4vw, 31px);
    letter-spacing: -.04em;
    line-height: 1.2;
}

.boosting-dialog__facts {
    display: grid;
    grid-template-columns: 1fr 1fr;
    margin: 0;
    border-top: 1px solid var(--hairline);
}

.boosting-dialog__facts > div {
    padding: 17px 4px;
    border-bottom: 1px solid var(--hairline);
}

.boosting-dialog__facts dt {
    margin-bottom: 7px;
    color: var(--muted);
    font-size: 9px;
    font-weight: 800;
    letter-spacing: .1em;
    text-transform: uppercase;
}

.boosting-dialog__facts dd {
    margin: 0;
    font-size: 13px;
    font-weight: 750;
}

.boosting-dialog__description {
    margin: 22px 0;
    padding: 17px;
    background: transparent;
    border: 1px solid var(--hairline);
    border-radius: 10px;
    color: var(--muted);
    font-size: 13px;
    line-height: 1.65;
}

.boosting-dialog__details .boosting-quantity-calculator {
    margin-top: 0;
}

.boosting-dialog__actions {
    display: flex;
    justify-content: flex-end;
    gap: 10px;
}

.boosting-dialog__checkout > p {
    margin: -10px 0 22px;
    color: var(--muted);
}

.boosting-dialog__checkout form {
    display: grid;
    gap: 14px;
}

.boosting-dialog__back {
    margin: 0 48px 18px 0;
    padding: 0;
    background: transparent;
    border: 0;
    color: var(--muted);
    cursor: pointer;
    font: 700 11px/1.2 var(--sans);
}

.boosting-dialog__back:hover {
    color: var(--ink);
}

.boosting-dialog__privacy {
    display: block;
    margin-top: 15px;
    color: var(--muted);
    font-size: 10px;
    line-height: 1.5;
}

.boosting-dialog [hidden] {
    display: none;
}

.boosting-purchase-detail .purchase-fulfilment__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.boosting-purchase-target {
    min-width: 0;
    overflow-wrap: anywhere;
}

.boosting-purchase-target a {
    color: inherit;
    text-decoration: underline;
    text-underline-offset: 3px;
}

.boosting-purchase-target--error {
    color: var(--error);
}

@media (max-width: 1260px) {
    .boosting-service-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}

@media (max-width: 980px) {
    .boosting-filter-toolbar { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
    .boosting-filter-toolbar__search { grid-column: 1 / -1; }
    .boosting-service-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 640px) {
    .boosting-heading { padding-bottom: 22px; }
    .boosting-heading h1 { font-size: 34px; }
    .boosting-filter-toolbar { grid-template-columns: 1fr; padding-top: 20px; }
    .boosting-filter-toolbar__search { grid-column: auto; }
    .boosting-results-heading { min-height: 82px; }
    .boosting-service-grid { grid-template-columns: 1fr; }
    .boosting-service-card { min-height: 330px; }
    .boosting-service-card__price strong { font-size: 29px; }
    .boosting-pagination { align-items: stretch; gap: 7px; }
    .boosting-pagination > .button { min-width: 0; padding-inline: 10px; }
    .boosting-pagination__pages { gap: 4px; }
    .boosting-pagination__page { min-width: 32px; width: 32px; height: 34px; padding: 0; }
    .boosting-empty-state { align-items: flex-start; flex-direction: column; }
    .boosting-empty-state .button { width: 100%; margin-left: 0; }
    .boosting-dialog { width: 100%; max-width: none; max-height: calc(100dvh - 38px); margin: auto 0 0; }
    .boosting-dialog__surface { max-height: calc(100dvh - 38px); padding: 25px 18px calc(24px + env(safe-area-inset-bottom)); border-right: 0; border-bottom: 0; border-left: 0; border-radius: 22px 22px 0 0; }
    .boosting-dialog[open] { animation: mobile-select-drawer-in 180ms ease-out; }
    .boosting-dialog__close { top: 17px; right: 17px; }
    .boosting-dialog__facts { grid-template-columns: 1fr 1fr; }
    .boosting-dialog__actions { display: grid; grid-template-columns: 1fr 1fr; }
    .boosting-quantity-calculator { grid-template-columns: 1fr; padding: 14px; }
    .boosting-quantity-calculator__status { grid-column: auto; }
}

/* Public boosting service directory */
.public-boosting {
    background: var(--home-bg);
}

.public-boosting__hero {
    position: relative;
    isolation: isolate;
    overflow: hidden;
    padding-block: 82px 90px;
    border-bottom: 1px solid var(--home-rule);
}

.public-boosting__hero::before {
    position: absolute;
    z-index: -1;
    inset: 0;
    background:
        radial-gradient(circle at 78% 45%, rgba(69, 201, 138, .14), transparent 30%),
        linear-gradient(rgba(124, 132, 144, .05) 1px, transparent 1px),
        linear-gradient(90deg, rgba(124, 132, 144, .05) 1px, transparent 1px);
    background-size: auto, 44px 44px, 44px 44px;
    content: "";
    -webkit-mask-image: linear-gradient(90deg, transparent 3%, #000 42%, #000 100%);
    mask-image: linear-gradient(90deg, transparent 3%, #000 42%, #000 100%);
}

.public-boosting__hero-grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(330px, .62fr);
    gap: clamp(56px, 9vw, 132px);
    align-items: center;
}

.public-boosting__hero-copy {
    max-width: 780px;
}

.public-boosting__hero h1 {
    margin: 0 0 24px;
    font-size: clamp(50px, 6vw, 78px);
    letter-spacing: -.06em;
    line-height: .96;
}

.public-boosting__hero-copy > p {
    max-width: 680px;
    margin: 0 0 32px;
    color: var(--home-muted);
    font-size: 18px;
    line-height: 1.65;
}

.boosting-matchboard {
    position: relative;
    width: min(100%, 520px);
    min-height: 420px;
    margin-left: auto;
    isolation: isolate;
    pointer-events: none;
}

.boosting-matchboard::before,
.boosting-matchboard::after {
    position: absolute;
    z-index: -2;
    border-radius: 50%;
    content: "";
}

.boosting-matchboard::before {
    top: 48px;
    left: 50%;
    width: 390px;
    height: 305px;
    background: radial-gradient(circle, rgba(69, 201, 138, .2), rgba(34, 158, 217, .055) 48%, transparent 72%);
    filter: blur(10px);
    transform: translateX(-50%);
}

.boosting-matchboard::after {
    top: 52px;
    left: 50%;
    width: 350px;
    aspect-ratio: 1;
    border: 1px solid rgba(124, 132, 144, .11);
    box-shadow: 0 0 0 38px rgba(124, 132, 144, .025);
    transform: translateX(-50%);
}

.boosting-matchboard__connector {
    position: absolute;
    z-index: -1;
    inset: 0;
    width: 100%;
    height: 100%;
    fill: none;
    stroke: var(--home-muted);
    stroke-dasharray: 5 7;
    stroke-linecap: round;
    stroke-width: 1.2;
    opacity: .6;
}

.boosting-matchboard__connector circle {
    fill: var(--signal);
    stroke: none;
}

.boosting-matchboard__arrow {
    stroke-dasharray: none;
}

.boosting-matchboard__panel {
    position: absolute;
    top: 48px;
    right: 12px;
    width: min(420px, calc(100% - 48px));
    min-height: 326px;
    padding: 25px;
    background: transparent;
    border: 1px solid var(--home-rule);
    border-radius: 10px;
    box-shadow: 0 28px 70px rgba(17, 19, 24, .12);
}

.boosting-matchboard__panel-heading,
.boosting-matchboard__metric {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
}

.boosting-matchboard__panel-heading {
    color: var(--home-muted);
    font-size: 9px;
    font-weight: 800;
    letter-spacing: .1em;
    text-transform: uppercase;
}

.boosting-matchboard__live {
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.boosting-matchboard__live i,
.boosting-matchboard__status {
    width: 6px;
    height: 6px;
    background: var(--signal);
    border-radius: 50%;
    box-shadow: 0 0 0 4px rgba(69, 201, 138, .12);
}

.boosting-matchboard__metric {
    margin-top: 25px;
}

.boosting-matchboard__metric > span:first-child {
    display: grid;
    gap: 4px;
}

.boosting-matchboard__metric small {
    color: var(--home-muted);
    font-size: 10px;
}

.boosting-matchboard__metric strong {
    font-size: 28px;
    letter-spacing: -.05em;
}

.boosting-matchboard__trend {
    padding: 7px 9px;
    background: rgba(69, 201, 138, .1);
    border: 1px solid rgba(69, 201, 138, .25);
    border-radius: 999px;
    color: var(--signal);
    font-size: 10px;
    font-weight: 800;
}

.boosting-matchboard__chart {
    height: 124px;
    margin-top: 14px;
}

.boosting-matchboard__chart svg {
    width: 100%;
    height: 100%;
    overflow: visible;
}

.boosting-matchboard__chart-grid {
    fill: none;
    stroke: var(--home-rule);
    stroke-width: 1;
}

.boosting-matchboard__chart-fill { fill: url(#boosting-chart-fill); }
.boosting-matchboard__chart-line { fill: none; stroke: var(--signal); stroke-linecap: round; stroke-width: 2.5; }
.boosting-matchboard__chart circle { fill: var(--signal); stroke: var(--home-surface); stroke-width: 3; }

.boosting-matchboard__services {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 7px;
    margin-top: 10px;
}

.boosting-matchboard__services span {
    position: relative;
    display: flex;
    min-width: 0;
    padding: 8px;
    align-items: center;
    gap: 6px;
    overflow: hidden;
    border: 1px solid var(--home-rule);
    border-radius: 7px;
    color: var(--home-muted);
    font-size: 8px;
    font-weight: 750;
    white-space: nowrap;
}

.boosting-matchboard__services span.is-selected {
    border-color: rgba(69, 201, 138, .4);
    color: var(--home-text);
}

.boosting-matchboard__services span > i {
    display: grid;
    width: 23px;
    height: 23px;
    flex: 0 0 23px;
    place-items: center;
    background: var(--quiet);
    border-radius: 5px;
    color: var(--home-text);
    font-size: 7px;
    font-style: normal;
    font-weight: 900;
}

.boosting-matchboard__services em {
    margin-left: auto;
    color: var(--signal);
    font-style: normal;
}

.boosting-matchboard__callout {
    position: absolute;
    z-index: 3;
    display: flex;
    min-width: 174px;
    padding: 13px 15px;
    align-items: center;
    gap: 11px;
    background: transparent;
    border: 1px solid var(--home-rule);
    border-radius: 8px;
    box-shadow: 0 15px 38px rgba(17, 19, 24, .13);
}

.boosting-matchboard__callout--platform { top: 11px; left: -20px; }
.boosting-matchboard__callout--delivery { right: -12px; bottom: 7px; }

.boosting-matchboard__callout-icon {
    display: grid;
    width: 34px;
    height: 34px;
    flex: 0 0 34px;
    place-items: center;
    background: var(--quiet);
    border-radius: 7px;
}

.boosting-matchboard__callout-icon svg {
    width: 19px;
    height: 19px;
    fill: none;
    stroke: var(--home-text);
    stroke-linecap: round;
    stroke-linejoin: round;
    stroke-width: 1.7;
}

.boosting-matchboard__callout-icon--live svg { stroke: var(--signal); }

.boosting-matchboard__callout > span:nth-child(2) {
    display: grid;
    gap: 3px;
}

.boosting-matchboard__callout small {
    color: var(--home-muted);
    font-size: 8px;
    font-weight: 800;
    letter-spacing: .09em;
    text-transform: uppercase;
}

.boosting-matchboard__callout strong {
    font-size: 12px;
}

.boosting-matchboard__callout > .boosting-matchboard__status {
    margin-left: auto;
}

.public-boosting__catalog {
    padding-block: 96px 112px;
    border-bottom: 1px solid var(--home-rule);
    scroll-margin-top: 76px;
}

.page-public-boosting .boosting-heading h2 {
    margin: 7px 0 10px;
    font-size: clamp(36px, 4vw, 54px);
    letter-spacing: -.05em;
    line-height: 1;
}

.page-public-boosting .boosting-service-card {
    background: var(--dashboard-card-gradient);
}

.public-boosting__steps {
    padding-block: 96px 110px;
}

.public-boosting__steps h2 {
    margin: 0 0 44px;
    font-size: clamp(38px, 4.5vw, 58px);
    letter-spacing: -.05em;
    line-height: 1;
}

.public-boosting__step-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    border-top: 1px solid var(--home-rule);
    border-left: 1px solid var(--home-rule);
}

.public-boosting__step-grid article {
    min-height: 240px;
    padding: 30px;
    border-right: 1px solid var(--home-rule);
    border-bottom: 1px solid var(--home-rule);
}

.public-boosting__step-grid article > span {
    color: var(--home-muted);
    font-size: 10px;
    font-weight: 800;
    letter-spacing: .1em;
}

.public-boosting__step-grid h3 {
    margin: 54px 0 12px;
    font-size: 22px;
    letter-spacing: -.03em;
}

.public-boosting__step-grid p {
    margin: 0;
    color: var(--home-muted);
    font-size: 14px;
    line-height: 1.6;
}

@media (max-width: 900px) {
    .public-boosting__hero-grid { grid-template-columns: 1fr; gap: 48px; }
    .boosting-matchboard { margin-inline: auto; }
}

@media (max-width: 720px) {
    .public-boosting__hero { padding-block: 56px 66px; }
    .public-boosting__hero h1 { font-size: clamp(45px, 13vw, 62px); }
    .public-boosting__hero-copy > p { font-size: 16px; }
    .public-boosting__hero-copy .stitch-button { width: 100%; }
    .boosting-matchboard { min-height: 390px; }
    .boosting-matchboard__panel { top: 48px; right: 0; width: calc(100% - 18px); padding: 20px 17px; }
    .boosting-matchboard__callout--platform { left: 0; }
    .boosting-matchboard__callout--delivery { right: 0; }
    .boosting-matchboard__connector { display: none; }
    .boosting-matchboard__services span { padding: 6px; }
    .boosting-matchboard__services span > i { display: none; }
    .public-boosting__catalog { padding-block: 70px 82px; }
    .public-boosting__steps { padding-block: 72px 82px; }
    .public-boosting__step-grid { grid-template-columns: 1fr; }
    .public-boosting__step-grid article { min-height: 0; padding: 26px 22px; }
    .public-boosting__step-grid h3 { margin-top: 32px; }
}

/* Public, indexable boosting service detail pages */
.public-boosting-detail {
    background: var(--home-bg);
}

.public-boosting-detail__hero {
    padding-block: 42px 92px;
    background:
        radial-gradient(circle at 82% 46%, rgba(69, 201, 138, .11), transparent 30%),
        var(--home-bg);
    border-bottom: 1px solid var(--home-rule);
}

.public-boosting-detail__breadcrumbs {
    display: flex;
    margin-bottom: 62px;
    align-items: center;
    flex-wrap: wrap;
    gap: 9px;
    color: var(--home-muted);
    font-size: 11px;
}

.public-boosting-detail__breadcrumbs a {
    color: inherit;
}

.public-boosting-detail__hero-grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(330px, .52fr);
    gap: clamp(58px, 9vw, 128px);
    align-items: center;
}

.public-boosting-detail__hero h1 {
    max-width: 820px;
    margin: 0 0 24px;
    overflow-wrap: anywhere;
    letter-spacing: -.06em;
    line-height: .98;
}

.public-boosting-detail__hero-grid > div > p {
    max-width: 700px;
    margin: 0;
    color: var(--home-muted);
    font-size: 17px;
    line-height: 1.65;
}

.public-boosting-detail__actions {
    display: flex;
    margin-top: 32px;
    align-items: center;
    gap: 28px;
}

.public-boosting-detail__summary {
    display: grid;
    padding: 30px;
    border: 1px solid var(--home-rule);
    border-radius: 12px;
    box-shadow: 0 24px 66px rgba(17, 19, 24, .1);
}

.public-boosting-detail__summary-heading {
    display: flex;
    align-items: center;
    justify-content: space-between;
    color: var(--home-muted);
    font-size: 9px;
    font-weight: 800;
    letter-spacing: .1em;
    text-transform: uppercase;
}

.public-boosting-detail__summary-heading i {
    width: 7px;
    height: 7px;
    background: var(--signal);
    border-radius: 50%;
    box-shadow: 0 0 0 5px rgba(69, 201, 138, .12);
}

.public-boosting-detail__summary > strong {
    margin-top: 28px;
    font-size: clamp(34px, 4vw, 48px);
    letter-spacing: -.055em;
}

.public-boosting-detail__summary > span:not(.button) {
    color: var(--home-muted);
    font-size: 11px;
}

.public-boosting-detail__summary dl {
    display: grid;
    grid-template-columns: 1fr 1fr;
    margin: 28px 0 22px;
    border-top: 1px solid var(--home-rule);
}

.public-boosting-detail__summary dl div {
    padding: 14px 0;
    border-bottom: 1px solid var(--home-rule);
}

.public-boosting-detail__summary dt {
    margin-bottom: 5px;
    color: var(--home-muted);
    font-size: 8px;
    font-weight: 800;
    letter-spacing: .08em;
    text-transform: uppercase;
}

.public-boosting-detail__summary dd {
    margin: 0;
    font-size: 12px;
    font-weight: 750;
}

.public-boosting-detail__summary > small {
    margin-top: 12px;
    color: var(--home-muted);
    font-size: 9px;
    text-align: center;
}

.public-boosting-detail__content,
.public-boosting-detail__related {
    padding-block: 92px;
    border-bottom: 1px solid var(--home-rule);
}

.public-boosting-detail__content-grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(330px, .65fr);
    gap: clamp(58px, 9vw, 128px);
}

.public-boosting-detail__content h2,
.public-boosting-detail__related h2 {
    margin: 0 0 26px;
    font-size: clamp(34px, 4vw, 50px);
    letter-spacing: -.05em;
    line-height: 1.05;
}

.public-boosting-detail__content p {
    max-width: 720px;
    margin: 0 0 18px;
    color: var(--home-muted);
    font-size: 15px;
    line-height: 1.72;
}

.public-boosting-detail__requirements {
    padding: 30px;
    border: 1px solid var(--home-rule);
    border-radius: 10px;
}

.public-boosting-detail__requirements h2 {
    margin-bottom: 22px;
    font-size: 24px;
}

.public-boosting-detail__requirements ul {
    display: grid;
    margin: 0;
    padding: 0;
    gap: 14px;
    list-style: none;
}

.public-boosting-detail__requirements li {
    position: relative;
    padding-left: 22px;
    color: var(--home-muted);
    font-size: 13px;
    line-height: 1.55;
}

.public-boosting-detail__requirements li::before {
    position: absolute;
    top: .5em;
    left: 0;
    width: 7px;
    height: 7px;
    background: var(--signal);
    border-radius: 50%;
    content: "";
}

.public-boosting-detail__related-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 14px;
}

.public-boosting-detail__related-grid a {
    display: grid;
    min-height: 174px;
    padding: 22px;
    align-content: space-between;
    border: 1px solid var(--home-rule);
    border-radius: 10px;
    color: var(--home-text);
    text-decoration: none;
    transition: border-color 160ms ease, transform 160ms ease;
}

.public-boosting-detail__related-grid a:hover {
    border-color: var(--strong-line);
    transform: translateY(-2px);
}

.public-boosting-detail__related-grid span,
.public-boosting-detail__related-grid small {
    color: var(--home-muted);
    font-size: 9px;
    font-weight: 800;
    letter-spacing: .07em;
    text-transform: uppercase;
}

.public-boosting-detail__related-grid strong {
    margin-block: 18px;
    overflow-wrap: anywhere;
    font-size: 16px;
    line-height: 1.4;
}

@media (max-width: 900px) {
    .public-boosting-detail__hero-grid,
    .public-boosting-detail__content-grid { grid-template-columns: 1fr; gap: 48px; }
    .public-boosting-detail__summary { width: min(100%, 520px); }
    .public-boosting-detail__related-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 640px) {
    .public-boosting-detail__hero { padding-block: 28px 66px; }
    .public-boosting-detail__breadcrumbs { margin-bottom: 44px; }
    .public-boosting-detail__hero-grid > div > p { font-size: 16px; }
    .public-boosting-detail__actions { align-items: stretch; flex-direction: column; gap: 20px; }
    .public-boosting-detail__actions .stitch-button { width: 100%; }
    .public-boosting-detail__actions .about-text-link { text-align: center; }
    .public-boosting-detail__summary { padding: 24px 20px; }
    .public-boosting-detail__content,
    .public-boosting-detail__related { padding-block: 70px; }
    .public-boosting-detail__related-grid { grid-template-columns: 1fr; }
}
