:root {
    color-scheme: light;
    --ink: #09090b;
    --muted: #52525b;
    --line: rgba(24, 24, 27, 0.12);
    --soft-line: rgba(212, 212, 216, 0.9);
    --paper: #ffffff;
    --mist: #f8fafc;
    --blue: #2563eb;
    --red: #dc2626;
    --yellow: #eab308;
    --green: #16a34a;
    --shadow: 0 24px 70px rgba(15, 23, 42, 0.16);
}

* {
    box-sizing: border-box;
}

html,
body {
    margin: 0;
    min-height: 100%;
    color: var(--ink);
    background: #ffffff;
    font-family: "Plus Jakarta Sans", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

body {
    min-height: 100vh;
    overflow-x: hidden;
    isolation: isolate;
}

body[data-page="home"]::before {
    content: "";
    position: fixed;
    inset: 0;
    z-index: 0;
    pointer-events: none;
    background-color: #ffffff;
    background-image: url("../img/back.svg");
    background-repeat: no-repeat;
    background-position: top center;
    background-size: 100% auto;
    opacity: 0.72;
}

body[data-page="home"].is-onboarding::before {
    background-image: url("../img/bg-on.svg");
    opacity: 0.88;
}

body[data-page="qr"]::before {
    content: "";
    position: fixed;
    inset: 0;
    z-index: 0;
    pointer-events: none;
    background-color: #ffffff;
    background-image: url("../img/bg-on.svg");
    background-repeat: no-repeat;
    background-position: top center;
    background-size: 100% auto;
    opacity: 0.88;
}

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

button,
input,
textarea {
    font: inherit;
}

button {
    cursor: pointer;
}

.is-hidden {
    display: none !important;
}

.corner-logo {
    position: fixed;
    top: 18px;
    left: 18px;
    z-index: 30;
    display: inline-flex;
    align-items: center;
}

.corner-logo img {
    width: 118px;
    height: auto;
    display: block;
}

.app-shell {
    position: relative;
    z-index: 1;
    width: min(100%, 1180px);
    margin: 0 auto;
    padding: 64px 18px 72px;
}

body[data-page="home"]:not(.is-onboarding) .app-shell {
    padding-top: 34px;
}

.search-hero {
    display: grid;
    grid-template-columns: minmax(0, 0.95fr) minmax(340px, 1.05fr);
    gap: 28px;
    align-items: center;
    min-height: calc(100svh - 110px);
    padding-top: 32px;
    text-align: left;
}

.hero-copy {
    max-width: 620px;
}

.eyebrow {
    display: inline-flex;
    align-items: center;
    border: 1px solid rgba(37, 99, 235, 0.18);
    border-radius: 999px;
    padding: 8px 13px;
    background: rgba(37, 99, 235, 0.06);
    color: var(--blue);
    font-size: 12px;
    font-weight: 900;
    letter-spacing: 0.06em;
    text-transform: uppercase;
}

h1 {
    margin: 18px 0 0;
    font-size: clamp(42px, 7vw, 84px);
    line-height: 0.95;
    letter-spacing: 0;
    font-weight: 900;
}

.hero-copy p {
    max-width: 560px;
    margin: 22px 0 0;
    color: var(--muted);
    font-size: 17px;
    line-height: 1.75;
    font-weight: 650;
}

.search-panel,
.panel {
    border: 1px solid var(--soft-line);
    border-radius: 28px;
    background: rgba(255, 255, 255, 0.94);
    box-shadow: var(--shadow);
}

.search-panel {
    padding: clamp(20px, 4vw, 34px);
    text-align: left;
}

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

.field-label,
.form-label {
    display: block;
    margin-bottom: 10px;
    color: #18181b;
    font-size: 13px;
    font-weight: 900;
}

.google-search-shell {
    min-height: 76px;
    color-scheme: light;
}

.autocomplete-host {
    color-scheme: light;
    position: relative;
}

.autocomplete-host gmp-place-autocomplete {
    width: 100%;
    min-height: 58px;
    color: var(--ink);
    color-scheme: light;
}

.local-search-box {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 10px;
    align-items: center;
}

.classic-google-input {
    width: 100%;
    min-height: 58px;
    border: 1px solid rgba(24, 24, 27, 0.14);
    border-radius: 18px;
    padding: 0 18px;
    color: #09090b !important;
    -webkit-text-fill-color: #09090b;
    background: #ffffff !important;
    box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.7);
    font-size: 16px;
    font-weight: 800;
    outline: none;
    color-scheme: light;
    text-align: left;
}

.classic-google-input:focus {
    border-color: rgba(37, 99, 235, 0.7);
    box-shadow: 0 0 0 4px rgba(37, 99, 235, 0.1);
}

.classic-google-input::placeholder {
    color: #71717a;
    -webkit-text-fill-color: #71717a;
}

.btn.local-search-button {
    position: relative;
    min-height: 58px;
    padding: 13px 18px;
    gap: 9px;
    color: #09090b;
    background: #ffffff;
    box-shadow: 0 12px 30px rgba(15, 23, 42, 0.1);
    overflow: hidden;
    white-space: nowrap;
    transition: transform 220ms ease, box-shadow 220ms ease;
    z-index: 1;
}

.btn.local-search-button::before {
    content: "";
    position: absolute;
    inset: -2px;
    border-radius: 999px;
    padding: 2px;
    background: linear-gradient(90deg, #2563eb, #dc2626, #eab308, #16a34a);
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    pointer-events: none;
}

.btn.local-search-button::after {
    content: "";
    position: absolute;
    inset: 0;
    z-index: -1;
    border-radius: 999px;
    background: rgba(37, 99, 235, 0.05);
    opacity: 0;
    transition: opacity 220ms ease;
}

.local-search-button:hover,
.local-search-button:focus-visible {
    transform: translateY(-2px);
    box-shadow: 0 16px 36px rgba(15, 23, 42, 0.14);
}

.local-search-button:hover::after,
.local-search-button:focus-visible::after {
    opacity: 1;
}

.local-search-button .shine-label {
    position: relative;
    overflow: hidden;
    font-size: 16px;
    font-weight: 950;
    z-index: 1;
}

.local-search-button .shine-label::after {
    content: "";
    position: absolute;
    top: -60%;
    bottom: -60%;
    left: -55%;
    width: 42%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.9), transparent);
    transform: skewX(-22deg) translateX(-140%);
    opacity: 0;
    pointer-events: none;
}

.local-search-button:hover .shine-label::after,
.local-search-button:focus-visible .shine-label::after {
    animation: searchShineSweep 0.85s ease forwards;
    opacity: 1;
}

@keyframes searchShineSweep {
    from {
        transform: skewX(-22deg) translateX(-140%);
    }
    to {
        transform: skewX(-22deg) translateX(420%);
    }
}

.business-search-results {
    position: absolute;
    left: 0;
    right: 0;
    top: calc(100% + 8px);
    z-index: 30;
    max-height: 330px;
    overflow: auto;
    border: 1px solid rgba(212, 212, 216, 0.92);
    border-radius: 18px;
    background: #ffffff;
    box-shadow: 0 20px 50px rgba(15, 23, 42, 0.16);
}

.business-search-option {
    width: 100%;
    border: 0;
    border-bottom: 1px solid rgba(24, 24, 27, 0.08);
    padding: 13px 15px;
    display: grid;
    gap: 5px;
    background: #ffffff;
    color: #09090b;
    text-align: left;
}

.business-search-option:last-child {
    border-bottom: 0;
}

.business-search-option:hover,
.business-search-option:focus {
    background: #f8fafc;
    outline: none;
}

.business-search-option strong {
    font-size: 14px;
    font-weight: 900;
}

.business-search-option span,
.business-search-option small,
.business-search-state {
    color: #52525b;
    font-size: 13px;
    font-weight: 750;
    line-height: 1.45;
}

.business-search-state {
    padding: 14px 15px;
}

.business-search-state.is-loading {
    min-height: 58px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
}

.business-search-loader {
    width: 62px;
    height: 34px;
    flex: 0 0 auto;
    object-fit: contain;
}

.recharge-search-panel {
    display: grid;
    gap: 14px;
}

.recharge-search-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
}

.recharge-search-head div {
    display: grid;
    gap: 4px;
}

.recharge-search-head strong {
    color: #111827;
    font-size: 16px;
    font-weight: 950;
}

.recharge-search-head span {
    color: var(--muted);
    font-size: 13px;
    font-weight: 750;
    line-height: 1.45;
}

.recharge-find-button {
    min-height: 38px;
    padding: 9px 13px;
    flex: 0 0 auto;
    font-size: 12px;
    line-height: 1;
    white-space: nowrap;
}

.recharge-qr-options {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
}

.recharge-qr-option {
    min-width: 0;
    min-height: 112px;
    border: 1px solid rgba(24, 24, 27, 0.1);
    border-radius: 18px;
    padding: 14px;
    display: grid;
    grid-template-columns: 42px minmax(0, 1fr);
    gap: 8px 12px;
    align-items: center;
    background: rgba(255, 255, 255, 0.88);
    color: #111827;
    text-align: left;
    box-shadow: 0 14px 34px rgba(15, 23, 42, 0.08);
    transition: transform 180ms ease, border-color 180ms ease, box-shadow 180ms ease;
}

.recharge-qr-option:hover,
.recharge-qr-option:focus-visible {
    transform: translateY(-1px);
    border-color: rgba(37, 99, 235, 0.32);
    box-shadow: 0 18px 42px rgba(15, 23, 42, 0.11);
    outline: none;
}

.recharge-qr-icon {
    display: grid;
    place-items: center;
    width: 42px;
    height: 42px;
    grid-row: span 2;
    border-radius: 14px;
    color: #09090b;
    background: #ffffff;
    box-shadow: inset 0 0 0 1px rgba(24, 24, 27, 0.08), 0 10px 22px rgba(15, 23, 42, 0.08);
}

.recharge-qr-icon svg {
    width: 22px;
    height: 22px;
}

.recharge-qr-option strong {
    min-width: 0;
    align-self: end;
    font-size: 15px;
    line-height: 1.18;
    font-weight: 950;
    overflow-wrap: anywhere;
}

.recharge-qr-option span {
    min-width: 0;
    align-self: start;
    color: var(--muted);
    font-size: 12px;
    line-height: 1.35;
    font-weight: 750;
}

.recharge-qr-scanner {
    position: relative;
    border: 1px solid rgba(24, 24, 27, 0.12);
    border-radius: 18px;
    overflow: hidden;
    background: #09090b;
}

.recharge-qr-scanner video {
    display: block;
    width: 100%;
    max-height: 320px;
    aspect-ratio: 16 / 10;
    object-fit: cover;
}

.recharge-stop-camera {
    position: absolute;
    right: 10px;
    bottom: 10px;
    min-height: 36px;
    padding: 8px 12px;
    font-size: 12px;
}

.recharge-qr-status,
.recharge-search-tip {
    border: 1px solid rgba(24, 24, 27, 0.1);
    border-radius: 14px;
    padding: 11px 13px;
    background: rgba(248, 250, 252, 0.86);
    color: var(--muted);
    font-size: 13px;
    font-weight: 800;
    line-height: 1.45;
}

.recharge-search-tip {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    cursor: pointer;
    text-align: left;
}

.recharge-search-tip > span:last-child {
    flex: 0 0 auto;
    color: var(--blue);
    font-size: 12px;
    font-weight: 950;
    text-transform: uppercase;
}

.recharge-qr-status.is-loading {
    border-color: rgba(37, 99, 235, 0.18);
    background: rgba(37, 99, 235, 0.08);
    color: #1d4ed8;
}

.recharge-qr-status.is-error {
    border-color: rgba(220, 38, 38, 0.2);
    background: rgba(254, 242, 242, 0.92);
    color: #991b1b;
}

.recharge-search-tip strong {
    color: #111827;
}

.recharge-business-search-wrap {
    display: grid;
    gap: 10px;
}

.registered-business-results {
    max-height: 420px;
    overflow: auto;
    display: grid;
    gap: 10px;
    padding-right: 4px;
}

.registered-business-card {
    border: 1px solid rgba(24, 24, 27, 0.1);
    border-radius: 18px;
    padding: 14px;
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 12px;
    align-items: center;
    background: #ffffff;
    text-align: left;
}

.registered-business-card.is-disabled,
.registered-business-card.is-existing {
    background: rgba(248, 250, 252, 0.82);
}

.registered-business-card h3 {
    margin: 8px 0 0;
    color: #111827;
    font-size: 17px;
    line-height: 1.25;
    font-weight: 950;
}

.registered-business-card p,
.registered-business-card small {
    display: block;
    margin-top: 5px;
    color: var(--muted);
    font-size: 13px;
    font-weight: 750;
    line-height: 1.45;
}

.registered-business-card .btn {
    white-space: nowrap;
}

.recharge-empty {
    border: 1px dashed rgba(24, 24, 27, 0.16);
    border-radius: 18px;
    padding: 18px;
    display: grid;
    gap: 10px;
    justify-items: start;
    color: var(--muted);
    background: rgba(255, 255, 255, 0.72);
    font-size: 14px;
    font-weight: 800;
    line-height: 1.5;
}

.recharge-empty strong {
    color: #111827;
    font-size: 15px;
}

.pac-container {
    z-index: 99999;
    border: 1px solid rgba(212, 212, 216, 0.92);
    border-radius: 18px;
    margin-top: 8px;
    background: #ffffff;
    box-shadow: 0 20px 50px rgba(15, 23, 42, 0.16);
    overflow: hidden;
    font-family: "Plus Jakarta Sans", system-ui, sans-serif;
}

.pac-item {
    padding: 12px 14px;
    color: #52525b;
    font-size: 13px;
    line-height: 1.5;
    cursor: pointer;
}

.pac-item:hover,
.pac-item-selected {
    background: #f8fafc;
}

.pac-item-query {
    color: #09090b;
    font-size: 14px;
    font-weight: 900;
}

.notice {
    border: 1px solid rgba(220, 38, 38, 0.24);
    border-radius: 16px;
    padding: 14px 15px;
    background: rgba(254, 242, 242, 0.92);
    color: #991b1b;
    font-size: 14px;
    font-weight: 800;
    line-height: 1.55;
}

.google-attribution {
    margin-top: 15px;
    display: flex;
    align-items: center;
    gap: 8px;
    color: #71717a;
    font-size: 12px;
    font-weight: 750;
}

.google-attribution img {
    width: 56px;
    height: auto;
    flex: 0 0 auto;
}

.status-lookup-panel {
    margin-top: 28px;
}

.status-search-row {
    margin-top: 18px;
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 12px;
    align-items: end;
}

.status-search-field {
    min-width: 0;
}

.status-results {
    margin-top: 18px;
    display: grid;
    gap: 0;
}

.status-result-card {
    padding: 20px 0;
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(240px, 0.42fr);
    gap: 18px;
    align-items: start;
    border-top: 1px solid rgba(24, 24, 27, 0.1);
}

.status-result-card:first-child {
    border-top: 0;
}

.status-result-main h3 {
    margin: 12px 0 0;
}

.compact-meta {
    gap: 8px;
}

.status-qr-wrap {
    display: grid;
    gap: 12px;
}

.status-qr-wrap .pending-poster-card {
    width: min(100%, 360px);
    margin: 0 auto;
}

.status-open-page {
    justify-self: center;
}

.content-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.4fr) minmax(280px, 0.8fr);
    gap: 22px;
    margin-top: 28px;
}

.is-onboarding .search-hero {
    display: none;
}

.is-onboarding .app-shell {
    padding-top: 28px;
}

.onboarding-shell {
    margin-top: 28px;
}

body.is-resolving-place .app-shell,
body.is-resolving-place .corner-logo {
    filter: blur(6px);
    transform: scale(0.995);
    pointer-events: none;
    user-select: none;
}

.place-resolve-overlay {
    position: fixed;
    inset: 0;
    z-index: 80;
    display: grid;
    place-items: center;
    padding: 24px;
    background: rgba(255, 255, 255, 0.34);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
}

.place-resolve-loader {
    display: grid;
    justify-items: center;
    place-items: center;
    gap: 10px;
    color: #111827;
    text-align: center;
}

.place-resolve-loader strong {
    font-size: 16px;
    font-weight: 950;
}

.place-resolve-loader img {
    width: clamp(138px, 24vw, 210px);
    height: auto;
    object-fit: contain;
}

.onboarding-panel {
    width: min(100%, 1040px);
    margin: 0 auto;
    border: 0;
    border-radius: 0;
    background: transparent;
    box-shadow: none;
    padding-inline: 0;
}

.onboarding-topbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    margin-bottom: 22px;
}

.stepper {
    display: flex;
    align-items: center;
    gap: 8px;
    margin: 0 0 28px;
    padding: 8px;
    border: 1px solid rgba(24, 24, 27, 0.09);
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.74);
    box-shadow: 0 14px 40px rgba(15, 23, 42, 0.1);
    backdrop-filter: blur(14px);
}

.step-dot {
    position: relative;
    flex: 1 1 0;
    min-width: 0;
    border: 0;
    border-radius: 999px;
    padding: 11px 14px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    background: transparent;
    color: var(--muted);
    text-align: center;
    box-shadow: none;
    transition: color 180ms ease, background 180ms ease, box-shadow 180ms ease, transform 180ms ease;
}

.step-dot::before {
    content: "";
    width: 7px;
    height: 7px;
    flex: 0 0 7px;
    border-radius: 999px;
    background: rgba(82, 82, 91, 0.28);
}

.step-dot strong {
    max-width: 100%;
    overflow-wrap: anywhere;
    font-size: 13px;
    font-weight: 900;
}

.step-dot.is-active {
    background: #ffffff;
    color: var(--blue);
    box-shadow: 0 10px 26px rgba(37, 99, 235, 0.16);
    transform: translateY(-1px);
}

.step-dot.is-active::before {
    background: var(--blue);
}

.step-dot.is-complete {
    color: #166534;
}

.step-dot.is-complete::before {
    background: #16a34a;
}

.step-dot:disabled {
    cursor: default;
    opacity: 0.72;
}

.onboarding-content {
    min-height: 360px;
}

.onboarding-content.is-next {
    animation: wizardSlideNext 340ms ease both;
}

.onboarding-content.is-back {
    animation: wizardSlideBack 340ms ease both;
}

@keyframes wizardSlideNext {
    from {
        opacity: 0;
        transform: translateX(28px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes wizardSlideBack {
    from {
        opacity: 0;
        transform: translateX(-28px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.step-layout {
    display: grid;
    grid-template-columns: minmax(0, 1.2fr) minmax(260px, 0.8fr);
    gap: 28px;
    align-items: start;
}

.step-side {
    border-left: 1px solid rgba(24, 24, 27, 0.1);
    padding-left: 24px;
    min-width: 0;
}

.step-side h3,
.step-heading h2 {
    margin: 12px 0 0;
}

.step-heading p {
    max-width: 720px;
    margin: 12px 0 0;
    line-height: 1.65;
    font-weight: 700;
}

.centered-heading {
    text-align: center;
}

.centered-heading p {
    margin-left: auto;
    margin-right: auto;
}

.step-options {
    max-width: 760px;
}

.business-contact-grid {
    width: 100%;
    grid-template-columns: 1fr;
    max-width: 420px;
}

.business-contact-grid .form-field {
    min-width: 0;
}

.panel {
    padding: clamp(20px, 3vw, 30px);
}

.panel h2,
.panel h3 {
    margin: 0;
    font-size: clamp(24px, 3vw, 36px);
    line-height: 1.05;
    letter-spacing: 0;
    font-weight: 900;
}

.panel h3 {
    font-size: 23px;
}

.muted {
    color: var(--muted);
}

.business-meta {
    margin-top: 18px;
    display: grid;
    gap: 12px;
}

.business-details-box {
    border: 1px solid rgba(24, 24, 27, 0.1);
    border-radius: 22px;
    padding: clamp(18px, 3vw, 26px);
    background: rgba(255, 255, 255, 0.88);
    box-shadow: 0 18px 46px rgba(15, 23, 42, 0.1);
}

.selected-business-title {
    margin-top: 0;
}

.selected-business-meta .meta-row {
    padding: 12px 14px;
    border: 1px solid rgba(24, 24, 27, 0.08);
    border-radius: 16px;
    background: rgba(255, 255, 255, 0.72);
}

.selected-business-meta .meta-row-primary span {
    color: var(--ink);
    font-size: 16px;
    font-weight: 900;
}

.meta-row {
    display: grid;
    grid-template-columns: 126px minmax(0, 1fr);
    gap: 14px;
    align-items: start;
    font-size: 14px;
    line-height: 1.5;
}

.meta-row span {
    min-width: 0;
    overflow-wrap: anywhere;
}

.meta-row strong {
    color: #27272a;
    font-weight: 900;
}

.status-pill {
    display: inline-flex;
    align-items: center;
    border-radius: 999px;
    padding: 8px 12px;
    font-size: 12px;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.status-new {
    color: #166534;
    background: rgba(22, 163, 74, 0.11);
    border: 1px solid rgba(22, 163, 74, 0.22);
}

.status-existing {
    color: #1d4ed8;
    background: rgba(37, 99, 235, 0.1);
    border: 1px solid rgba(37, 99, 235, 0.22);
}

.status-warning {
    color: #92400e;
    background: rgba(234, 179, 8, 0.14);
    border: 1px solid rgba(234, 179, 8, 0.28);
}

.actions {
    margin-top: 22px;
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.actions-right {
    justify-content: flex-end;
}

.btn {
    border: 0;
    border-radius: 999px;
    padding: 14px 19px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    min-height: 48px;
    color: #fff;
    background: #09090b;
    font-weight: 900;
    box-shadow: 0 14px 32px rgba(15, 23, 42, 0.18);
}

.btn.secondary {
    color: var(--ink);
    border: 1px solid var(--line);
    background: #fff;
    box-shadow: none;
}

.btn.blue {
    background: var(--blue);
}

.btn.green {
    color: #09090b;
    background: #ffffff;
    box-shadow: 0 12px 30px rgba(15, 23, 42, 0.1);
}

.btn:disabled {
    cursor: not-allowed;
    opacity: 0.58;
}

.btn.google-outline,
.btn.green {
    position: relative;
    color: #09090b;
    background: #ffffff;
    overflow: hidden;
    z-index: 1;
    box-shadow: 0 12px 30px rgba(15, 23, 42, 0.1);
    transition: transform 220ms ease, box-shadow 220ms ease;
}

.btn.google-outline::before,
.btn.green::before {
    content: "";
    position: absolute;
    inset: -2px;
    border-radius: 999px;
    padding: 2px;
    background: linear-gradient(90deg, #2563eb, #dc2626, #eab308, #16a34a);
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    pointer-events: none;
}

.btn.google-outline::after,
.btn.green::after {
    content: "";
    position: absolute;
    inset: 0;
    z-index: -1;
    border-radius: 999px;
    background: rgba(37, 99, 235, 0.05);
    opacity: 0;
    transition: opacity 220ms ease;
}

.btn.google-outline:hover,
.btn.google-outline:focus-visible,
.btn.green:hover,
.btn.green:focus-visible {
    transform: translateY(-2px);
    box-shadow: 0 16px 36px rgba(15, 23, 42, 0.14);
}

.btn.google-outline:hover::after,
.btn.google-outline:focus-visible::after,
.btn.green:hover::after,
.btn.green:focus-visible::after {
    opacity: 1;
}

.flow-panel,
.payment-panel,
.result-panel {
    margin-top: 22px;
}

.segmented,
.plan-grid,
.form-grid {
    margin-top: 18px;
}

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

.qr-type-box,
.payment-method-box,
.payment-details-box {
    width: min(100%, 820px);
    margin: 0 auto;
    border: 1px solid rgba(24, 24, 27, 0.1);
    border-radius: 24px;
    padding: clamp(18px, 3vw, 28px);
    background: rgba(255, 255, 255, 0.9);
    box-shadow: 0 18px 46px rgba(15, 23, 42, 0.1);
}

.qr-type-box .step-options {
    margin-left: auto;
    margin-right: auto;
}

.choice-card,
.plan-card,
.payment-method-card {
    position: relative;
    width: 100%;
    border: 1px solid var(--line);
    border-radius: 18px;
    padding: 16px;
    text-align: left;
    background: #fff;
}

.choice-card {
    min-height: 132px;
    padding-right: 96px;
    overflow: hidden;
}

.choice-card-icon {
    position: absolute;
    right: -10px;
    bottom: -12px;
    width: 112px;
    height: 112px;
    object-fit: contain;
    pointer-events: none;
}

.choice-card.is-selected,
.plan-card.is-selected,
.payment-method-card.is-selected {
    border-color: rgba(37, 99, 235, 0.55);
    box-shadow: 0 0 0 4px rgba(37, 99, 235, 0.09);
}

.choice-card strong,
.plan-card strong,
.payment-method-card strong {
    display: block;
    font-size: 16px;
    font-weight: 900;
}

.choice-card span,
.plan-card span,
.payment-method-card span {
    display: block;
    margin-top: 5px;
    color: var(--muted);
    font-size: 13px;
    font-weight: 700;
    line-height: 1.5;
}

.payment-method-options {
    width: min(100%, 360px);
    margin: 18px auto 0;
}

.payment-method-box {
    width: min(100%, 560px);
    display: grid;
    justify-items: center;
    gap: 16px;
    text-align: center;
}

.payment-method-box .actions {
    justify-content: center;
    margin-top: 4px;
}

.payment-method-card {
    text-align: center;
}

.ai-modal-overlay {
    position: fixed;
    inset: 0;
    z-index: 118;
    display: grid;
    place-items: center;
    padding: 18px;
    background: rgba(15, 23, 42, 0.16);
    backdrop-filter: blur(6px);
}

.ai-modal {
    width: min(100%, 560px);
    max-height: min(88svh, 720px);
    overflow: auto;
    border-radius: 24px;
    background: #ffffff;
    box-shadow: 0 22px 70px rgba(15, 23, 42, 0.24);
    animation: ai-modal-in 220ms ease-out both;
}

@keyframes ai-modal-in {
    from {
        opacity: 0;
        transform: translateY(18px) scale(0.98);
    }

    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

.ai-modal-header {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 14px;
    padding: 22px 24px 16px;
    border-bottom: 1px solid rgba(24, 24, 27, 0.08);
}

.ai-modal-header h2 {
    margin: 0;
    color: #111827;
    font-size: clamp(23px, 4vw, 30px);
    line-height: 1.05;
    font-weight: 950;
}

.ai-modal-header p {
    margin: 8px 0 0;
    color: var(--muted);
    font-size: 14px;
    font-weight: 700;
    line-height: 1.45;
}

.ai-modal-body {
    display: grid;
    gap: 16px;
    padding: 18px 24px 24px;
}

.ai-field {
    display: grid;
    gap: 10px;
}

.ai-field > strong,
.ai-context-head strong {
    color: #111827;
    font-size: 14px;
    font-weight: 950;
}

.ai-option-grid {
    display: grid;
    gap: 10px;
}

.ai-option-grid-three {
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.ai-option {
    min-height: 76px;
    border: 1px solid rgba(24, 24, 27, 0.12);
    border-radius: 16px;
    padding: 12px;
    background: #ffffff;
    text-align: left;
    transition: border-color 180ms ease, box-shadow 180ms ease, transform 180ms ease;
}

.ai-option:hover,
.ai-option:focus-visible {
    transform: translateY(-1px);
    border-color: rgba(37, 99, 235, 0.42);
}

.ai-option.is-selected {
    border-color: rgba(37, 99, 235, 0.55);
    box-shadow: 0 0 0 4px rgba(37, 99, 235, 0.09);
}

.ai-option span,
.ai-option small {
    display: block;
}

.ai-option span {
    color: #111827;
    font-size: 15px;
    font-weight: 950;
}

.ai-option small {
    margin-top: 5px;
    color: var(--muted);
    font-size: 12px;
    font-weight: 750;
    line-height: 1.35;
}

.ai-context-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
}

.ai-edit-btn {
    min-height: 34px;
    padding: 8px 14px;
    font-size: 13px;
}

.ai-context-preview,
.ai-context-input {
    width: 100%;
    margin: 0;
    border: 1px solid rgba(24, 24, 27, 0.12);
    border-radius: 16px;
    padding: 14px;
    color: #27272a;
    background: #fafafa;
    font-size: 14px;
    font-weight: 700;
    line-height: 1.55;
}

.ai-context-input {
    min-height: 128px;
    resize: vertical;
    outline: none;
}

.ai-context-input:focus {
    border-color: rgba(37, 99, 235, 0.55);
    box-shadow: 0 0 0 4px rgba(37, 99, 235, 0.08);
    background: #ffffff;
}

.ai-modal-actions {
    justify-content: flex-end;
    margin-top: 2px;
}

.upi-modal-overlay {
    position: fixed;
    inset: 0;
    z-index: 120;
    display: grid;
    place-items: end center;
    padding: 16px 16px 0;
    background: rgba(15, 23, 42, 0.12);
    backdrop-filter: blur(4px);
    overflow: hidden;
}

.upi-modal {
    width: min(100%, 520px);
    max-height: min(88svh, 680px);
    overflow: auto;
    border-radius: 22px 22px 0 0;
    background: #ffffff;
    box-shadow: 0 22px 70px rgba(15, 23, 42, 0.24);
    animation: upi-sheet-in 260ms ease-out both;
    scrollbar-gutter: stable;
}

@keyframes upi-sheet-in {
    from {
        opacity: 0;
        transform: translateY(90px) scale(0.98);
    }

    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

.upi-modal-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    padding: 20px 26px 16px;
    border-bottom: 1px solid rgba(24, 24, 27, 0.08);
}

.upi-modal-header h2 {
    margin: 0;
    color: #07883e;
    font-size: clamp(25px, 4vw, 31px);
    line-height: 1;
    font-weight: 950;
}

.modal-close {
    width: 38px;
    height: 38px;
    border: 0;
    border-radius: 999px;
    color: #a1a1aa;
    background: transparent;
    font-size: 30px;
    line-height: 1;
    font-weight: 650;
    box-shadow: none;
}

.modal-close:hover,
.modal-close:focus-visible {
    color: #52525b;
    background: rgba(24, 24, 27, 0.06);
}

.upi-modal-body {
    display: grid;
    justify-items: center;
    gap: 11px;
    padding: 22px 26px 26px;
    text-align: center;
}

.upi-scan-title {
    margin: 0;
    color: #52525b;
    font-size: clamp(17px, 3vw, 21px);
    font-weight: 900;
}

.upi-modal-qr {
    width: min(100%, 250px);
    min-height: 250px;
    border-style: solid;
    border-color: rgba(24, 24, 27, 0.12);
    border-radius: 16px;
    padding: 10px;
}

.upi-modal-qr canvas,
.upi-modal-qr img {
    max-width: 220px;
}

.gateway-checkout-box {
    width: min(100%, 430px);
    border: 1px solid rgba(24, 24, 27, 0.1);
    border-radius: 18px;
    padding: 20px;
    display: grid;
    gap: 7px;
    justify-items: center;
    background: linear-gradient(180deg, #ffffff 0%, rgba(248, 250, 252, 0.92) 100%);
}

.gateway-checkout-box strong {
    color: #111827;
    font-size: 17px;
    font-weight: 950;
}

.gateway-checkout-box span {
    color: #52525b;
    font-size: 13px;
    font-weight: 750;
    line-height: 1.5;
}

.gateway-contact-grid {
    width: min(100%, 430px);
    display: grid;
    gap: 10px;
}

.gateway-checkout-frame {
    width: min(100%, 430px);
    height: min(62vh, 560px);
    min-height: 430px;
    border: 1px solid rgba(24, 24, 27, 0.12);
    border-radius: 16px;
    background: #ffffff;
}

.upi-modal-amount {
    display: inline-flex;
    align-items: baseline;
    justify-content: center;
    gap: 6px;
    font-size: clamp(24px, 4vw, 30px);
    line-height: 1;
    font-weight: 950;
}

.upi-modal-amount .price-number {
    font-size: clamp(32px, 5vw, 38px);
}

.payment-reference-field {
    width: min(100%, 360px);
    display: grid;
    gap: 8px;
    text-align: left;
}

.payment-reference-field span {
    color: #3f3f46;
    font-size: 13px;
    font-weight: 950;
}

.payment-reference-field input {
    width: 100%;
    border: 1px solid rgba(24, 24, 27, 0.14);
    border-radius: 14px;
    padding: 13px 14px;
    color: #111827;
    background: #ffffff;
    font: inherit;
    font-size: 14px;
    font-weight: 800;
    outline: none;
}

.payment-reference-field input:focus {
    border-color: rgba(37, 99, 235, 0.58);
    box-shadow: 0 0 0 4px rgba(37, 99, 235, 0.09);
}

.upi-secure {
    width: min(100%, 430px);
    margin-top: 4px;
    padding-top: 14px;
    border-top: 1px solid rgba(24, 24, 27, 0.08);
    color: #71717a;
    font-size: 12px;
    font-weight: 950;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.upi-logo-row {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    gap: 14px;
    padding: 0 0 8px;
}

.upi-logo-img {
    display: block;
    max-width: 88px;
    height: 30px;
    object-fit: contain;
}

.upi-logo-img-phonepe,
.upi-logo-img-gpay,
.upi-logo-img-paytm {
    max-width: 82px;
}

.upi-logo-img-bhim {
    max-width: 84px;
}

.upi-modal-actions {
    width: 100%;
    justify-content: center;
    margin-top: 4px;
}

.payment-confirm-btn {
    width: min(100%, 460px);
    min-height: 58px;
    color: #ffffff;
    background: #07944b;
    box-shadow: none;
    font-size: clamp(15px, 3vw, 18px);
}

.payment-confirm-btn:hover,
.payment-confirm-btn:focus-visible {
    background: #07883e;
}

.plan-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 12px;
}

.price {
    margin-top: 12px;
    display: flex;
    align-items: baseline;
    gap: 4px;
    font-size: 26px;
    font-weight: 950;
}

.plan-card .price {
    margin: 10px 0 4px;
    font-size: clamp(24px, 3vw, 32px);
    line-height: 1;
    font-weight: 950;
    flex-wrap: nowrap;
    white-space: nowrap;
}

.price small {
    color: var(--muted);
    -webkit-text-fill-color: var(--muted);
    font-size: 12px;
}

.plan-badge {
    display: inline-flex !important;
    width: max-content;
    max-width: 100%;
    margin: 0 0 12px !important;
    border-radius: 999px;
    padding: 6px 10px;
    color: #ffffff !important;
    -webkit-text-fill-color: #ffffff;
    font-size: 10px !important;
    font-weight: 950 !important;
    letter-spacing: 0.08em;
    line-height: 1 !important;
    text-transform: uppercase;
}

.plan-badge-green {
    background: #16a34a;
    box-shadow: 0 8px 18px rgba(22, 163, 74, 0.18);
}

.plan-badge-red {
    background: #dc2626;
    box-shadow: 0 8px 18px rgba(220, 38, 38, 0.18);
}

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

.form-field input,
.form-field textarea {
    width: 100%;
    min-height: 48px;
    border: 1px solid var(--line);
    border-radius: 16px;
    padding: 13px 14px;
    color: var(--ink);
    background: #fff;
    outline: none;
}

.form-field input:focus,
.form-field textarea:focus {
    border-color: rgba(37, 99, 235, 0.7);
    box-shadow: 0 0 0 4px rgba(37, 99, 235, 0.1);
}

.payment-summary,
.result-grid {
    margin-top: 18px;
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(240px, 0.6fr);
    gap: 18px;
    align-items: start;
}

.summary-list {
    display: grid;
    gap: 10px;
    color: var(--muted);
    font-size: 14px;
    font-weight: 750;
}

.summary-list b {
    color: var(--ink);
}

.summary-value {
    color: var(--ink);
    font-weight: 900;
}

.summary-amount {
    display: inline-block;
    font-weight: 950;
}

.price-currency {
    color: #09090b;
    -webkit-text-fill-color: #09090b;
}

.price-number {
    font-weight: 950;
}

.plan-card .price-number {
    display: inline-flex;
    font-size: clamp(38px, 4.4vw, 50px);
    letter-spacing: 0;
}

.summary-amount .price-number {
    font-size: 1em;
}

.price-google-blue {
    color: #2563eb;
    -webkit-text-fill-color: #2563eb;
}

.price-google-red {
    color: #dc2626;
    -webkit-text-fill-color: #dc2626;
}

.price-google-yellow {
    color: #ca8a04;
    -webkit-text-fill-color: #ca8a04;
}

.price-google-green {
    color: #16a34a;
    -webkit-text-fill-color: #16a34a;
}

.qr-box {
    display: grid;
    place-items: center;
    min-height: 260px;
    border: 1px dashed rgba(24, 24, 27, 0.24);
    border-radius: 22px;
    background: #fff;
    padding: 18px;
}

.qr-box canvas,
.qr-box img {
    max-width: 220px;
    width: 100%;
    height: auto;
}

.payment-qr-timer {
    margin: 0;
    border: 1px solid rgba(37, 99, 235, 0.18);
    border-radius: 999px;
    padding: 8px 12px;
    color: #1d4ed8;
    background: rgba(37, 99, 235, 0.08);
    font-size: 13px;
    font-weight: 950;
    text-align: center;
}

.payment-qr-timer.is-expired {
    color: #dc2626;
    background: rgba(220, 38, 38, 0.08);
    border-color: rgba(220, 38, 38, 0.22);
}

.payment-auto-status {
    margin: 0;
    padding: 10px 12px;
    border: 1px solid rgba(15, 23, 42, 0.08);
    border-radius: 12px;
    background: rgba(52, 168, 83, 0.1);
    color: #0f5132;
    font-size: 0.86rem;
    font-weight: 800;
    line-height: 1.45;
}

.payment-auto-status.is-warning {
    background: rgba(251, 188, 5, 0.14);
    border-color: rgba(251, 188, 5, 0.3);
    color: #7a4d00;
}

.payment-close-confirm {
    position: absolute;
    inset: 0;
    z-index: 3;
    display: grid;
    place-items: center;
    padding: 18px;
    background: rgba(15, 23, 42, 0.45);
}

.payment-close-confirm-box {
    width: min(360px, 100%);
    border: 1px solid rgba(15, 23, 42, 0.12);
    border-radius: 18px;
    background: #ffffff;
    padding: 18px;
    box-shadow: 0 24px 80px rgba(15, 23, 42, 0.28);
}

.payment-close-confirm-box h3 {
    margin: 0 0 8px;
    font-size: 1.1rem;
    line-height: 1.2;
}

.payment-close-confirm-box p {
    margin: 0 0 14px;
    color: var(--muted);
    font-size: 0.9rem;
    line-height: 1.45;
}

.qr-expired {
    min-height: 220px;
    border-style: solid;
    color: #dc2626;
    background: rgba(220, 38, 38, 0.04);
    text-align: center;
}

.qr-expired strong,
.qr-expired span {
    display: block;
}

.qr-expired span {
    margin-top: 8px;
    color: var(--muted);
    font-size: 13px;
    font-weight: 800;
}

.manual-payment-summary {
    grid-template-columns: minmax(0, 1fr) minmax(260px, 0.62fr);
}

.payment-details-box {
    margin-top: 18px;
}

.upi-payment-box {
    display: grid;
    gap: 12px;
}

.pending-poster-card {
    width: min(100%, 480px);
    margin: 22px auto 0;
    display: grid;
    gap: 14px;
    justify-items: center;
}

.business-details-box .pending-poster-card {
    margin-top: 20px;
}

.pending-poster-copy {
    text-align: center;
}

.pending-poster-copy h3 {
    margin: 0;
    font-size: 24px;
}

.pending-poster-copy p {
    margin: 8px auto 0;
    max-width: 44ch;
    font-size: 13px;
    font-weight: 750;
    line-height: 1.55;
}

.tapqr-poster {
    position: relative;
    width: min(100%, 360px);
    aspect-ratio: 1587 / 2245;
    overflow: hidden;
    border-radius: 18px;
    background: #ffffff;
    box-shadow: 0 22px 58px rgba(15, 23, 42, 0.18);
}

.tapqr-poster-template {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.tapqr-poster-qr {
    position: absolute;
    right: 10.5%;
    bottom: 14.7%;
    width: 36%;
    aspect-ratio: 1;
    display: grid;
    place-items: center;
    border-radius: 10px;
    background: #ffffff;
    padding: 2%;
    box-shadow: 0 12px 28px rgba(15, 23, 42, 0.16);
}

.tapqr-poster-qr canvas,
.tapqr-poster-qr img {
    display: block;
    width: 100% !important;
    height: 100% !important;
}

.tapqr-poster-qr-caption {
    position: absolute;
    right: 10.5%;
    bottom: 11.8%;
    width: 36%;
    color: #09090b;
    font-size: 10px;
    line-height: 1;
    font-weight: 950;
    text-align: center;
    letter-spacing: 0;
    white-space: nowrap;
}

.thank-overlay {
    position: fixed;
    inset: 0;
    z-index: 100;
    display: grid;
    place-items: center;
    background: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(8px);
}

.thank-overlay img {
    width: min(138px, 34vw);
    height: auto;
    filter: drop-shadow(0 18px 34px rgba(15, 23, 42, 0.18));
}

body.is-thanking .app-shell {
    filter: blur(8px);
    transition: filter 180ms ease;
}

.toast {
    position: fixed;
    right: 18px;
    bottom: 18px;
    z-index: 50;
    width: min(420px, calc(100vw - 36px));
    border: 1px solid var(--line);
    border-radius: 18px;
    padding: 14px 16px;
    background: #09090b;
    color: #fff;
    box-shadow: var(--shadow);
    font-size: 14px;
    font-weight: 800;
}

.small-note {
    margin-top: 12px;
    color: #71717a;
    font-size: 12px;
    font-weight: 700;
    line-height: 1.6;
}

.manual-entry {
    margin-top: 18px;
    border-top: 1px solid rgba(24, 24, 27, 0.1);
    padding-top: 16px;
    text-align: left;
}

.manual-entry-head {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 8px 12px;
    font-size: 13px;
    font-weight: 900;
    line-height: 1.75;
}

.manual-summary-actions {
    display: inline-flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 8px 12px;
}

.manual-toggle-link {
    border: 0;
    padding: 0;
    cursor: pointer;
    color: var(--red);
    background: transparent;
    border-bottom: 1px solid rgba(234, 67, 53, 0.36);
    font: inherit;
    font-weight: 950;
    line-height: 1.2;
}

.manual-toggle-link:hover,
.manual-toggle-link:focus-visible {
    outline: none;
    border-bottom-color: currentColor;
}

.manual-summary-link {
    cursor: pointer;
    color: var(--blue);
    border-bottom: 1px solid rgba(37, 99, 235, 0.35);
    font-weight: 950;
    line-height: 1.2;
}

.manual-summary-link-recharge {
    color: var(--green);
    border-bottom-color: rgba(22, 163, 74, 0.36);
}

.manual-summary-link:hover,
.manual-summary-link:focus-visible {
    outline: none;
    border-bottom-color: currentColor;
}

.manual-link-form {
    margin-top: 14px;
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: end;
    gap: 12px;
    text-align: left;
}

.manual-link-form.is-hidden {
    display: none;
}

.manual-link-button {
    min-height: 48px;
    white-space: nowrap;
}

@media (max-width: 900px) {
    .search-hero,
    .content-grid,
    .step-layout,
    .payment-summary,
    .result-grid,
    .status-result-card {
        grid-template-columns: 1fr;
    }

    .search-hero {
        padding-top: 0;
        text-align: left;
    }

    body[data-page="home"]:not(.is-onboarding) .app-shell {
        padding-top: 86px;
    }

    .step-side {
        border-left: 0;
        border-top: 1px solid rgba(24, 24, 27, 0.1);
        padding-left: 0;
        padding-top: 20px;
    }

    .business-contact-grid {
        max-width: 100%;
    }

    .stepper {
        gap: 6px;
    }

    .plan-grid,
    .form-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 640px) {
    body[data-page="home"]::before {
        position: absolute;
        height: 100svh;
        bottom: auto;
        background-size: auto 100%;
        background-position: top center;
        opacity: 1;
    }

    .corner-logo {
        top: 12px;
        left: 12px;
    }

    .corner-logo img {
        width: 92px;
    }

    .app-shell {
        padding: 42px 12px 48px;
    }

    body[data-page="home"]:not(.is-onboarding) .app-shell {
        padding-top: 70px;
    }

    .search-hero {
        min-height: auto;
        gap: 18px;
    }

    .stepper {
        gap: 4px;
        padding: 6px;
        overflow-x: auto;
        border-radius: 18px;
        scrollbar-width: none;
    }

    .stepper::-webkit-scrollbar {
        display: none;
    }

    .step-dot {
        flex: 0 0 auto;
        padding: 9px 10px;
    }

    .step-dot strong {
        font-size: 12px;
    }

    .segmented,
    .plan-grid,
    .form-grid,
    .stepper,
    .local-search-box,
    .registered-business-card,
    .manual-link-form,
    .status-search-row {
        grid-template-columns: 1fr;
    }

    .recharge-search-head {
        align-items: stretch;
        flex-direction: column;
    }

    .recharge-find-button {
        width: max-content;
        max-width: 100%;
    }

    .recharge-qr-options {
        grid-template-columns: 1fr;
    }

    .recharge-qr-option {
        min-height: 96px;
    }

    .registered-business-results {
        max-height: 70svh;
        padding-right: 0;
    }

    .onboarding-topbar,
    .actions {
        align-items: stretch;
        flex-direction: column;
    }

    .actions-right {
        align-items: flex-end;
    }

    .actions-right .btn {
        width: min(100%, 180px);
    }

    .upi-modal-overlay {
        padding: 10px 10px 0;
        align-items: end;
        justify-items: center;
        overflow: hidden;
    }

    .upi-modal {
        border-radius: 20px 20px 0 0;
        max-height: 90svh;
    }

    .upi-modal-header {
        padding: 22px 20px 18px;
    }

    .upi-modal-body {
        padding: 22px 18px 24px;
    }

    .upi-modal-qr {
        min-height: 220px;
        width: min(100%, 230px);
    }

    .upi-modal-qr canvas,
    .upi-modal-qr img {
        max-width: 205px;
    }

    .ai-modal-overlay {
        padding: 12px;
        align-items: end;
    }

    .ai-modal {
        border-radius: 22px 22px 0 0;
        max-height: 90svh;
    }

    .ai-modal-header {
        padding: 20px 18px 14px;
    }

    .ai-modal-body {
        padding: 16px 18px 22px;
    }

    .ai-option-grid-three {
        grid-template-columns: 1fr;
    }

    .ai-option {
        min-height: auto;
    }

    .ai-modal-actions {
        align-items: stretch;
    }

    .upi-logo-row {
        gap: 10px 14px;
    }

    .upi-logo-img {
        max-width: 78px;
        height: 27px;
    }

    .pending-poster-copy h3 {
        font-size: 20px;
    }

    .tapqr-poster-qr-caption {
        font-size: 8px;
    }

    .meta-row {
        grid-template-columns: 1fr;
        gap: 4px;
    }
}
