/*
 * Login / register designs (template/myaccount/layout/layout-5, 6, 7 and parts/).
 *
 * Every rule starts with ":is(.pa, #pa-boost)": it matches the .pa root but counts as
 * an id, so these rules win over the older global.css / form-popup.css rules and the
 * theme's input and button styles that use the same functional classes (.form-box,
 * .submit-btn, .alert …) without !important. Colors: --pa-accent is the dashboard color,
 * --pa-c1 / --pa-c2 the two login background colors from the settings.
 */

/* ===== Base ===== */
:is(.pa, #pa-boost) {
    --pa-accent: var(--main-color, #2563eb);
    --pa-c1: var(--pa-accent);
    --pa-c2: var(--pa-c1);
    --pa-text: #111827;
    --pa-muted: #6b7280;
    --pa-line: #e5e7eb;
    --pa-soft: #f6f7f9;
    --pa-radius: 14px;
    container: pa / inline-size;
    width: 100%;
    color: var(--pa-text);
    font-family: var(--plus_dashboard_font), Tahoma, sans-serif;
    font-size: 14px;
    line-height: 1.8;
    text-align: start;
    direction: rtl;
}
:is(.pa, #pa-boost) *, :is(.pa, #pa-boost) *::before, :is(.pa, #pa-boost) *::after { box-sizing: border-box; }
:is(.pa, #pa-boost) :where(h1, h2, h3, p, ul, li, form) { margin: 0; padding: 0; list-style: none; }
:is(.pa, #pa-boost) :where(a, a:hover, a:focus) { color: inherit; text-decoration: none; background-color: transparent; }
:is(.pa, #pa-boost) svg { display: block; flex-shrink: 0; }
:is(.pa, #pa-boost) .plus-ico { display: inline-flex; align-items: center; justify-content: center; flex-shrink: 0; width: 1em; height: 1em; font-size: 20px; font-style: normal; line-height: 1; }
:is(.pa, #pa-boost) :is(a, button, input):focus-visible { outline: 2px solid color-mix(in srgb, var(--pa-accent) 45%, #fff); outline-offset: 2px; }

/* Steps (shown / hidden by w-plus.js) */
:is(.pa, #pa-boost) .form-box {
    position: static;
    width: auto;
    max-width: none;
    height: auto;
    min-height: 0;
    margin: 0;
    padding: 0;
    border: 0;
    border-radius: 0;
    background: none;
    box-shadow: none;
    -webkit-backdrop-filter: none;
    backdrop-filter: none;
    overflow: visible;
    animation: pa-in .35s ease both;
}
:is(.pa, #pa-boost) .pa-form { display: flex; flex-direction: column; gap: 14px; }

/* Card */
:is(.pa, #pa-boost) .pa-card { width: 100%; }
:is(.pa, #pa-boost) .pa-brand { display: flex; justify-content: center; margin-bottom: 22px; }
:is(.pa, #pa-boost) .pa-logo { display: grid; place-items: center; min-width: 56px; height: 56px; padding: 0 12px; border-radius: 16px; background-color: color-mix(in srgb, var(--pa-accent) 9%, #fff); color: var(--pa-accent); font-size: 22px; font-weight: 500; }
:is(.pa, #pa-boost) .pa-logo img { display: block; max-width: 140px; max-height: 44px; width: auto; height: auto; object-fit: contain; }
:is(.pa, #pa-boost) .pa-logo.has-img { background: none; padding: 0; height: auto; }

/* Head of a step */
:is(.pa, #pa-boost) .pa-head { display: flex; flex-direction: column; align-items: center; gap: 6px; margin-bottom: 22px; text-align: center; }
:is(.pa, #pa-boost) .pa-head-icon { display: grid; place-items: center; width: 56px; height: 56px; margin-bottom: 6px; border-radius: 18px; background-color: color-mix(in srgb, var(--pa-accent) 10%, #fff); color: var(--pa-accent); }
:is(.pa, #pa-boost) .pa-head-icon .plus-ico { font-size: 26px; }
:is(.pa, #pa-boost) .pa-title { font-size: 20px; font-weight: 500; line-height: 1.6; color: var(--pa-text); }
:is(.pa, #pa-boost) .pa-sub { max-width: 340px; font-size: 13px; line-height: 1.9; color: var(--pa-muted); }
:is(.pa, #pa-boost) .pa-lead { max-width: 360px; font-size: 13.5px; line-height: 2; color: var(--pa-muted); }
:is(.pa, #pa-boost) .pa-lead :is(strong, b, .msg_strong) { color: var(--pa-text); font-size: inherit; font-weight: 500; unicode-bidi: plaintext; }

/* Fields: input, floating label, icon (also the phone field w-plus.js puts into .email_here) */
:is(.pa, #pa-boost) .pa-field { position: relative; }
:is(.pa, #pa-boost) .pa-field input {
    display: block;
    width: 100%;
    height: 56px;
    margin: 0;
    padding: 20px 48px 6px 16px;
    border: 1px solid var(--pa-line);
    border-radius: var(--pa-radius);
    background-color: var(--pa-soft);
    box-shadow: none;
    color: var(--pa-text);
    font-family: inherit;
    font-size: 14px;
    line-height: 1.4;
    text-align: start;
    transition: border-color .2s, background-color .2s, box-shadow .2s;
}
:is(.pa, #pa-boost) .pa-field input[type="password"] { padding-inline-end: 48px; letter-spacing: .08em; }
:is(.pa, #pa-boost) .pa-field input:hover { border-color: #d1d5db; }
:is(.pa, #pa-boost) .pa-field input:focus { border-color: var(--pa-accent); background-color: #fff; outline: 0; box-shadow: 0 0 0 4px color-mix(in srgb, var(--pa-accent) 12%, transparent); }
:is(.pa, #pa-boost) .pa-field > label {
    position: absolute;
    top: 50%;
    inset-inline-start: 48px;
    inset-inline-end: 48px;
    margin: 0;
    padding: 0;
    overflow: hidden;
    background: none;
    color: var(--pa-muted);
    font-size: 13px;
    line-height: 1.4;
    text-overflow: ellipsis;
    white-space: nowrap;
    pointer-events: none;
    transform: translateY(-50%);
    transition: top .2s, font-size .2s, color .2s, transform .2s;
}
:is(.pa, #pa-boost) .pa-field input:is(:focus, :not(:placeholder-shown), .has-value) + label { top: 9px; font-size: 11px; transform: none; }
/* The date picker puts the birthday input in a div of its own, so its label stays raised. */
:is(.pa, #pa-boost) .birth_day_class > div { position: static; display: block; width: 100%; margin: 0; padding: 0; }
:is(.pa, #pa-boost) .birth_day_class > label { top: 9px; font-size: 11px; transform: none; }
:is(.pa, #pa-boost) .pa-field input:focus + label { color: var(--pa-accent); }
:is(.pa, #pa-boost) .pa-field > :is(.plus-ico, svg) { position: absolute; top: 50%; inset-inline-start: 16px; width: 20px; height: 20px; margin: 0; font-size: 20px; color: #9ca3af; transform: translateY(-50%); pointer-events: none; transition: color .2s; }
:is(.pa, #pa-boost) .pa-field:focus-within > :is(.plus-ico, svg) { color: var(--pa-accent); }
:is(.pa, #pa-boost) .pa-eye { position: absolute; top: 50%; inset-inline-end: 8px; display: grid; place-items: center; width: 38px; height: 38px; margin: 0; padding: 0; border: 0; border-radius: 10px; background: none; box-shadow: none; color: #9ca3af; cursor: pointer; transform: translateY(-50%); transition: color .2s, background-color .2s; }
:is(.pa, #pa-boost) .pa-eye:hover, :is(.pa, #pa-boost) .pa-eye[aria-pressed="true"] { background-color: color-mix(in srgb, var(--pa-accent) 8%, #fff); color: var(--pa-accent); }
:is(.pa, #pa-boost) .pa-eye .plus-ico { font-size: 19px; }
:is(.pa, #pa-boost) .pa-row { display: flex; flex-direction: column; gap: 14px; }

/* One-time code */
:is(.pa, #pa-boost) .pa-otp { display: flex; justify-content: center; }
:is(.pa, #pa-boost) .pa-otp .pa-otp-input {
    width: min(100%, calc(var(--pa-digits, 4) * 54px + 24px));
    height: 64px;
    margin: 0;
    padding: 0 12px;
    border: 1px solid var(--pa-line);
    border-radius: 16px;
    background-color: var(--pa-soft);
    box-shadow: none;
    color: var(--pa-text);
    font-family: inherit;
    font-size: 26px;
    font-weight: 500;
    letter-spacing: .55em;
    text-align: center;
    text-indent: .55em;
    font-variant-numeric: tabular-nums;
    transition: border-color .2s, background-color .2s, box-shadow .2s;
}
:is(.pa, #pa-boost) .pa-otp .pa-otp-input::placeholder { color: #cbd5e1; letter-spacing: .55em; }
:is(.pa, #pa-boost) .pa-otp .pa-otp-input:focus { border-color: var(--pa-accent); background-color: #fff; outline: 0; box-shadow: 0 0 0 4px color-mix(in srgb, var(--pa-accent) 12%, transparent); }
:is(.pa, #pa-boost) .pa-resend { display: flex; justify-content: center; margin: 0; }
:is(.pa, #pa-boost) .pa-resend .resend-code, :is(.pa, #pa-boost) .pa-resend .timer { display: inline-flex; align-items: center; gap: 4px; margin: 0; color: var(--pa-muted); font-size: 12.5px; }
:is(.pa, #pa-boost) .pa-resend #countdown { color: var(--pa-text); font-variant-numeric: tabular-nums; }
:is(.pa, #pa-boost) .pa-resend .resend_otp_sms { color: var(--pa-accent); font-weight: 500; }
:is(.pa, #pa-boost) .pa-resend .resend_otp_sms:hover { color: var(--pa-accent); text-decoration: underline; }

/* Main button */
:is(.pa, #pa-boost) .submit-btn.pa-btn {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    width: 100%;
    height: 54px;
    min-height: 0;
    margin: 4px 0 0;
    padding: 0 20px;
    border: 0;
    border-radius: var(--pa-radius);
    background-color: var(--pa-accent);
    background-image: linear-gradient(180deg, rgba(255, 255, 255, .12), rgba(255, 255, 255, 0));
    box-shadow: 0 10px 22px -10px color-mix(in srgb, var(--pa-accent) 70%, transparent);
    color: #fff;
    font-family: inherit;
    font-size: 14px;
    font-weight: 500;
    line-height: 1;
    text-transform: none;
    letter-spacing: normal;
    cursor: pointer;
    transform: none;
    transition: background-color .2s, box-shadow .2s, transform .2s;
}
:is(.pa, #pa-boost) .submit-btn.pa-btn:hover { background-color: color-mix(in srgb, var(--pa-accent) 88%, #000); color: #fff; transform: translateY(-1px); box-shadow: 0 14px 26px -12px color-mix(in srgb, var(--pa-accent) 80%, transparent); }
:is(.pa, #pa-boost) .submit-btn.pa-btn:active { transform: none; }
:is(.pa, #pa-boost) .pa-btn-arrow { width: 18px; height: 18px; transition: transform .2s; }
:is(.pa, #pa-boost) .submit-btn.pa-btn:hover .pa-btn-arrow { transform: translateX(-3px); }
:is(.pa, #pa-boost) .pa-spinner { position: absolute; inset: 0; display: none; width: 22px; height: 22px; margin: auto; border: 2px solid rgba(255, 255, 255, .35); border-top-color: #fff; border-radius: 50%; background: none; animation: pa-spin .7s linear infinite; }
:is(.pa, #pa-boost) .submit-btn.pa-btn.loading { cursor: wait; transform: none; }
:is(.pa, #pa-boost) .submit-btn.pa-btn.loading :is(.btn-text, .pa-btn-arrow) { visibility: hidden; }
:is(.pa, #pa-boost) .submit-btn.pa-btn.loading .pa-spinner { display: block; }
:is(.pa, #pa-boost) .submit-btn.pa-btn[disabled] { opacity: .85; }

/* Status message of a step (w-plus.js shows it and adds .alert-error / .alert-success) */
:is(.pa, #pa-boost) .alert.pa-alert { position: static; display: none; margin: 0 0 16px; padding: 12px 14px; border: 1px solid var(--pa-line); border-radius: 12px; background-color: var(--pa-soft); box-shadow: none; color: var(--pa-text); font-size: 13px; line-height: 1.9; text-align: start; transform: none; animation: pa-in .25s ease both; }
:is(.pa, #pa-boost) .alert.pa-alert .pa-alert-icon { display: inline-block; width: 20px; height: 20px; margin: 0; margin-inline-end: 8px; vertical-align: -5px; background: none; }
:is(.pa, #pa-boost) .alert.pa-alert .pa-alert-icon svg { width: 20px; height: 20px; }
:is(.pa, #pa-boost) .alert.pa-alert :is(.svg_success, .svg_error) { display: none; }
:is(.pa, #pa-boost) .alert.pa-alert.alert-success { border-color: #bbf7d0; background-color: #f0fdf4; color: #166534; }
:is(.pa, #pa-boost) .alert.pa-alert.alert-success .svg_success { display: block; color: #16a34a; }
:is(.pa, #pa-boost) .alert.pa-alert.alert-error { border-color: #fecaca; background-color: #fef2f2; color: #991b1b; }
:is(.pa, #pa-boost) .alert.pa-alert.alert-error .svg_error { display: block; color: #dc2626; }

/* Secondary actions */
:is(.pa, #pa-boost) .extra-links.pa-links { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 8px; margin: 2px 0 0; padding: 0; }
:is(.pa, #pa-boost) .pa-links :is(.pa-chip, .show_password) {
    position: relative;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    min-height: 36px;
    margin: 0;
    padding: 0 14px;
    border: 1px solid var(--pa-line);
    border-radius: 999px;
    background-color: #fff;
    color: var(--pa-muted);
    font-size: 12.5px;
    line-height: 1.4;
    transition: border-color .2s, color .2s, background-color .2s;
}
:is(.pa, #pa-boost) .pa-links :is(.pa-chip, .show_password):hover { border-color: color-mix(in srgb, var(--pa-accent) 40%, #fff); background-color: color-mix(in srgb, var(--pa-accent) 6%, #fff); color: var(--pa-accent); }
:is(.pa, #pa-boost) .pa-chip .plus-ico { font-size: 16px; }
/* Tooltip of the chips: the older styles draw one with ::before; this one sits above the chip. */
:is(.pa, #pa-boost) .tooltip_plus::before { content: none; display: none; }
:is(.pa, #pa-boost) .tooltip_plus[data-tooltip]:not([data-tooltip=""])::after {
    content: attr(data-tooltip);
    position: absolute;
    bottom: calc(100% + 8px);
    left: 50%;
    z-index: 5;
    width: max-content;
    max-width: 220px;
    padding: 7px 10px;
    border-radius: 8px;
    background-color: #111827;
    color: #fff;
    font-size: 11.5px;
    line-height: 1.7;
    text-align: center;
    white-space: normal;
    opacity: 0;
    visibility: hidden;
    transform: translate(-50%, 4px);
    transition: opacity .2s, transform .2s, visibility .2s;
    pointer-events: none;
}
:is(.pa, #pa-boost) .tooltip_plus[data-tooltip]:hover::after { opacity: 1; visibility: visible; transform: translate(-50%, 0); }
:is(.pa, #pa-boost) .back_to_start.pa-back { display: flex; align-items: center; justify-content: center; gap: 6px; margin: 4px auto 0; color: var(--pa-muted); font-size: 12.5px; }
:is(.pa, #pa-boost) .back_to_start.pa-back:empty { display: none; }
:is(.pa, #pa-boost) .back_to_start.pa-back::before { content: ""; width: 14px; height: 14px; background-color: currentColor; -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12h14M13 6l6 6-6 6'/%3E%3C/svg%3E") center / contain no-repeat; mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12h14M13 6l6 6-6 6'/%3E%3C/svg%3E") center / contain no-repeat; }
:is(.pa, #pa-boost) .back_to_start.pa-back:hover { color: var(--pa-accent); }
:is(.pa, #pa-boost) .pa-terms { display: flex; align-items: center; justify-content: center; gap: 6px; margin-top: 4px; color: var(--pa-muted); font-size: 12px; line-height: 1.8; text-align: center; }
:is(.pa, #pa-boost) .pa-terms .plus-ico { font-size: 15px; color: var(--pa-accent); }
:is(.pa, #pa-boost) .pa-terms a:hover { color: var(--pa-accent); text-decoration: underline; }
:is(.pa, #pa-boost) .pa-captcha { display: flex; justify-content: center; }


/* Inside a popup / dropdown / checkout the host draws the frame. */
:is(.pa, #pa-boost):not(.pa-in-page) .pa-card { padding: 4px 2px; }
:is(.pa, #pa-boost):not(.pa-in-page) .pa-brand { display: none; }

/* ===== Page: shared ===== */
/* global.css sets background-repeat: no-repeat on every element; the patterns below repeat on purpose. */
.pa-page {
    position: relative;
    isolation: isolate;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 100vh;
    min-height: 100dvh;
    padding: 32px 16px;
    overflow: hidden;
    background-color: #f3f4f7;
    font-family: var(--plus_dashboard_font), Tahoma, sans-serif;
    direction: rtl;
}
.pa-page-foot { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 6px 14px; margin-top: 20px; color: #6b7280; font-size: 12px; line-height: 1.8; }
.pa-page-foot a { color: inherit; text-decoration: none; }
.pa-page-foot a:hover { color: var(--main-color, #2563eb); }
.pa-page-foot .pa-home { display: inline-flex; align-items: center; gap: 6px; }
.pa-page-foot .pa-home .plus-ico { font-size: 16px; }
.pa-page .plus-ico { display: inline-flex; align-items: center; justify-content: center; width: 1em; height: 1em; font-style: normal; line-height: 1; }

/* ===== Design 1 — card (layout-5) =====
 * A dark night sky with slowly moving aurora lights in the brand colors, a fine grid,
 * grain and shop icons floating in glass bubbles; the white card has a rotating
 * gradient edge and its logo sits on the top edge. */
@property --pa-angle { syntax: "<angle>"; inherits: false; initial-value: 0deg; }

.pa-page--card { --pa-night: #0b0e1a; background-color: var(--pa-night); color: #fff; }
.pa-page--card .pa-aurora { position: absolute; z-index: -3; border-radius: 50%; filter: blur(110px); opacity: .55; pointer-events: none; will-change: transform; }
.pa-page--card .pa-aurora--1 { top: -22vmax; inset-inline-end: -16vmax; width: 60vmax; height: 52vmax; background-color: var(--pa-c1); animation: pa-drift-1 22s ease-in-out infinite alternate; }
.pa-page--card .pa-aurora--2 { bottom: -26vmax; inset-inline-start: -18vmax; width: 64vmax; height: 56vmax; background-color: var(--pa-c2); animation: pa-drift-2 26s ease-in-out infinite alternate; }
.pa-page--card .pa-aurora--3 { top: 30%; left: 35%; width: 34vmax; height: 30vmax; background-color: var(--main-color, #2563eb); opacity: .35; animation: pa-drift-3 30s ease-in-out infinite alternate; }
.pa-page--card .pa-grid { background-repeat: repeat; position: absolute; inset: 0; z-index: -2; background-image: linear-gradient(rgba(255, 255, 255, .045) 1px, transparent 1px), linear-gradient(90deg, rgba(255, 255, 255, .045) 1px, transparent 1px); background-size: 56px 56px; -webkit-mask-image: radial-gradient(ellipse at center, #000 20%, transparent 72%); mask-image: radial-gradient(ellipse at center, #000 20%, transparent 72%); pointer-events: none; }
.pa-page--card .pa-grain { background-repeat: repeat; position: absolute; inset: 0; z-index: -1; opacity: .08; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E"); pointer-events: none; }

/* Shop icons floating around the card */
.pa-page--card .pa-floats { position: absolute; inset: 0; z-index: -1; pointer-events: none; }
.pa-page--card .pa-float { position: absolute; display: grid; place-items: center; width: 64px; height: 64px; border: 1px solid rgba(255, 255, 255, .16); border-radius: 20px; background-color: rgba(255, 255, 255, .07); box-shadow: 0 20px 40px -20px rgba(0, 0, 0, .6), inset 0 1px 0 rgba(255, 255, 255, .12); color: rgba(255, 255, 255, .85); font-size: 26px; -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); animation: pa-bob 7s ease-in-out infinite; }
.pa-page--card .pa-float--1 { top: 14%; left: 14%; transform: rotate(-10deg); animation-delay: -1s; }
.pa-page--card .pa-float--2 { top: 22%; right: 13%; width: 54px; height: 54px; font-size: 22px; animation-delay: -3s; }
.pa-page--card .pa-float--3 { bottom: 22%; left: 10%; width: 72px; height: 72px; font-size: 30px; animation-delay: -5s; }
.pa-page--card .pa-float--4 { bottom: 15%; right: 17%; animation-delay: -2s; }
.pa-page--card .pa-float--5 { top: 52%; left: 24%; width: 46px; height: 46px; border-radius: 15px; font-size: 19px; opacity: .7; animation-delay: -4s; }
.pa-page--card .pa-float--6 { top: 9%; right: 33%; width: 46px; height: 46px; border-radius: 15px; font-size: 19px; opacity: .7; animation-delay: -6s; }

.pa-page--card .pa-page-inner { position: relative; width: min(100%, 448px); padding-top: 40px; }

/* The card: white face (padding box) over a rotating gradient (border box) = a 2px moving
   edge; the same gradient, blurred, glows behind the card. */
:is(.pa, #pa-boost).pa--card.pa-in-page .pa-card {
    position: relative;
    padding: 58px 34px 30px;
    border: 2px solid transparent;
    border-radius: 28px;
    background: linear-gradient(#fff, #fff) padding-box, conic-gradient(from var(--pa-angle), var(--pa-c1), var(--pa-c2), var(--pa-accent), var(--pa-c1)) border-box;
    box-shadow: 0 50px 120px -40px rgba(0, 0, 0, .75);
    animation: pa-rotate 8s linear infinite;
}
:is(.pa, #pa-boost).pa--card.pa-in-page .pa-card::after {
    content: "";
    position: absolute;
    inset: 16px;
    z-index: -1;
    border-radius: 30px;
    background: conic-gradient(from var(--pa-angle), var(--pa-c1), var(--pa-c2), var(--pa-accent), var(--pa-c1));
    filter: blur(40px);
    opacity: .55;
    animation: pa-rotate 8s linear infinite;
}

/* Logo on the top edge */
:is(.pa, #pa-boost).pa--card.pa-in-page .pa-brand { position: absolute; top: 0; left: 50%; z-index: 2; margin: 0; transform: translate(-50%, -50%); }
:is(.pa, #pa-boost).pa--card.pa-in-page .pa-logo { display: grid; place-items: center; width: 80px; height: 80px; min-width: 0; padding: 14px; border: 5px solid #fff; border-radius: 26px; background: linear-gradient(145deg, color-mix(in srgb, var(--pa-accent) 14%, #fff), #fff); box-shadow: 0 16px 34px -14px rgba(0, 0, 0, .45); color: var(--pa-accent); font-size: 30px; }
:is(.pa, #pa-boost).pa--card.pa-in-page .pa-logo img { max-width: 100%; max-height: 100%; }

/* Light sweeping over the main button */
:is(.pa, #pa-boost).pa--card.pa-in-page .submit-btn.pa-btn { overflow: hidden; background-image: linear-gradient(120deg, var(--pa-accent), color-mix(in srgb, var(--pa-accent) 70%, var(--pa-c2))); }
:is(.pa, #pa-boost).pa--card.pa-in-page .submit-btn.pa-btn::after { content: ""; position: absolute; top: 0; bottom: 0; left: -60%; width: 40%; background: linear-gradient(100deg, transparent, rgba(255, 255, 255, .35), transparent); transform: skewX(-20deg); transition: left .6s ease; }
:is(.pa, #pa-boost).pa--card.pa-in-page .submit-btn.pa-btn:hover::after { left: 120%; }

/* Under the card */
.pa-page--card .pa-trust { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; margin: 22px 0 0; padding: 0; list-style: none; }
.pa-page--card .pa-trust li { display: inline-flex; align-items: center; gap: 6px; min-height: 34px; margin: 0; padding: 0 12px; border: 1px solid rgba(255, 255, 255, .14); border-radius: 999px; background-color: rgba(255, 255, 255, .06); color: rgba(255, 255, 255, .82); font-size: 12px; -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); }
.pa-page--card .pa-trust .plus-ico { font-size: 15px; color: #fff; }
.pa-page--card .pa-page-foot { color: rgba(255, 255, 255, .55); }
.pa-page--card .pa-page-foot a:hover { color: #fff; }

@media (max-width: 760px) {
    .pa-page--card .pa-floats { display: none; }
}
@media (max-width: 520px) {
    :is(.pa, #pa-boost).pa--card.pa-in-page .pa-card { padding: 52px 20px 24px; border-radius: 24px; }
    :is(.pa, #pa-boost).pa--card.pa-in-page .pa-logo { width: 70px; height: 70px; border-radius: 22px; }
}
@keyframes pa-rotate { to { --pa-angle: 360deg; } }
@keyframes pa-bob { 0%, 100% { translate: 0 0; } 50% { translate: 0 -14px; } }
@keyframes pa-drift-1 { to { transform: translate(-8vmax, 6vmax) scale(1.08); } }
@keyframes pa-drift-2 { to { transform: translate(10vmax, -6vmax) scale(1.1); } }
@keyframes pa-drift-3 { to { transform: translate(-12vmax, -8vmax) scale(.9); } }

/* Progress of the steps (data-pa-step on the card, set from which step is shown) */
:is(.pa, #pa-boost) .pa-progress { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 6px; margin: 0 0 24px; padding: 0; list-style: none; counter-reset: pa-step; }
:is(.pa, #pa-boost) .pa-progress li { display: flex; flex-direction: column; gap: 6px; margin: 0; color: #9ca3af; font-size: 11px; line-height: 1.4; text-align: center; transition: color .3s; }
:is(.pa, #pa-boost) .pa-progress li::before { content: ""; height: 4px; border-radius: 999px; background-color: #eef0f3; transition: background-color .4s; }
:is(.pa, #pa-boost)[data-pa-step="1"] .pa-progress li:nth-child(-n+1),
:is(.pa, #pa-boost)[data-pa-step="2"] .pa-progress li:nth-child(-n+2),
:is(.pa, #pa-boost)[data-pa-step="3"] .pa-progress li:nth-child(-n+3) { color: var(--pa-text); }
:is(.pa, #pa-boost)[data-pa-step="1"] .pa-progress li:nth-child(-n+1)::before,
:is(.pa, #pa-boost)[data-pa-step="2"] .pa-progress li:nth-child(-n+2)::before,
:is(.pa, #pa-boost)[data-pa-step="3"] .pa-progress li:nth-child(-n+3)::before { background: linear-gradient(90deg, var(--pa-c2), var(--pa-accent)); }

/* ===== Design 2 — split (layout-6) ===== */
.pa-page--split { background: linear-gradient(160deg, #f6f7fb, #eef0f6); }
.pa-split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr); width: min(100%, 1080px); min-height: min(660px, calc(100dvh - 64px)); overflow: hidden; border-radius: 30px; background-color: #fff; box-shadow: 0 40px 90px -40px rgba(17, 24, 39, .35); }
.pa-panel { position: relative; display: flex; flex-direction: column; gap: 28px; padding: 44px 44px 36px; overflow: hidden; background: linear-gradient(150deg, var(--pa-c1), var(--pa-c2)); color: #fff; }
.pa-panel::before, .pa-panel::after { content: ""; position: absolute; z-index: 0; border-radius: 50%; pointer-events: none; }
.pa-panel::before { top: -120px; inset-inline-start: -90px; width: 340px; height: 340px; background: radial-gradient(circle, rgba(255, 255, 255, .22), rgba(255, 255, 255, 0) 70%); }
.pa-panel::after { bottom: -160px; inset-inline-end: -120px; width: 420px; height: 420px; border: 1px solid rgba(255, 255, 255, .18); box-shadow: inset 0 0 0 60px rgba(255, 255, 255, .04); }
.pa-panel > * { position: relative; z-index: 1; }
.pa-panel .pa-logo-light { display: inline-grid; place-items: center; align-self: flex-start; min-width: 52px; height: 52px; padding: 0 12px; border-radius: 16px; background-color: rgba(255, 255, 255, .16); color: #fff; font-size: 22px; -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); }
.pa-panel .pa-logo-light img { display: block; max-width: 140px; max-height: 40px; object-fit: contain; }
.pa-panel .pa-logo-light.has-img { padding: 6px 14px; background-color: #fff; }
.pa-panel-copy { margin-top: auto; }
.pa-panel h1 { margin: 0 0 10px; font-size: 26px; font-weight: 500; line-height: 1.6; color: #fff; }
.pa-panel p { margin: 0; max-width: 380px; color: rgba(255, 255, 255, .85); font-size: 14px; line-height: 2; }
.pa-features { display: flex; flex-direction: column; gap: 14px; margin: 0; padding: 0; list-style: none; }
.pa-features li { display: flex; align-items: center; gap: 12px; margin: 0; }
.pa-features .pa-feature-icon { display: grid; place-items: center; flex: 0 0 42px; width: 42px; height: 42px; border-radius: 13px; background-color: rgba(255, 255, 255, .16); color: #fff; font-size: 20px; }
.pa-features strong { display: block; color: #fff; font-size: 14px; font-weight: 500; line-height: 1.6; }
.pa-features small { display: block; color: rgba(255, 255, 255, .78); font-size: 12px; line-height: 1.7; }
.pa-panel-foot { color: rgba(255, 255, 255, .7); font-size: 12px; }
.pa-split-form { display: flex; flex-direction: column; justify-content: center; padding: 44px clamp(24px, 5vw, 64px) 28px; }
.pa-split-form :is(.pa, #pa-boost) { max-width: 400px; margin: 0 auto; }
.pa-split-form .pa-page-foot { margin-top: 28px; }

/* ===== Design 3 — full screen (layout-7) ===== */
.pa-page--full { display: grid; grid-template-columns: minmax(380px, 500px) minmax(0, 1fr); align-items: stretch; padding: 0; background-color: #fff; }
.pa-side { display: flex; flex-direction: column; min-height: 100vh; min-height: 100dvh; padding: 28px clamp(24px, 4vw, 48px); background-color: #fff; }
.pa-side-top { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.pa-side-top .pa-home { display: inline-flex; align-items: center; gap: 6px; min-height: 38px; padding: 0 14px; border: 1px solid #e5e7eb; border-radius: 999px; color: #6b7280; font-size: 12.5px; text-decoration: none; transition: border-color .2s, color .2s; }
.pa-side-top .pa-home:hover { border-color: var(--main-color, #2563eb); color: var(--main-color, #2563eb); }
.pa-side-top .pa-home .plus-ico { font-size: 16px; }
.pa-side-top .pa-logo-mini { display: inline-grid; place-items: center; min-width: 44px; height: 44px; padding: 0 10px; border-radius: 14px; background-color: color-mix(in srgb, var(--main-color, #2563eb) 9%, #fff); color: var(--main-color, #2563eb); font-size: 18px; text-decoration: none; }
.pa-side-top .pa-logo-mini img { display: block; max-width: 130px; max-height: 40px; object-fit: contain; }
.pa-side-top .pa-logo-mini.has-img { padding: 0; background: none; }
.pa-side-main { display: flex; flex: 1; align-items: center; justify-content: center; padding: 32px 0; }
.pa-side-main :is(.pa, #pa-boost) { max-width: 380px; }
.pa-side .pa-page-foot { justify-content: flex-start; margin-top: 0; }
.pa-visual { position: relative; display: flex; align-items: flex-end; overflow: hidden; padding: clamp(32px, 5vw, 64px); background: linear-gradient(140deg, var(--pa-c1), var(--pa-c2)); background-position: center; background-size: cover; color: #fff; }
.pa-visual.has-img { background: var(--pa-img) center / cover no-repeat, linear-gradient(140deg, var(--pa-c1), var(--pa-c2)); }
.pa-visual::before { content: ""; position: absolute; inset: 0; background: linear-gradient(0deg, rgba(10, 12, 20, .62), rgba(10, 12, 20, .08) 55%, rgba(10, 12, 20, 0)); }
.pa-visual-grid { background-repeat: repeat; position: absolute; inset: 0; background-image: linear-gradient(rgba(255, 255, 255, .07) 1px, transparent 1px), linear-gradient(90deg, rgba(255, 255, 255, .07) 1px, transparent 1px); background-size: 48px 48px; -webkit-mask-image: radial-gradient(circle at 70% 30%, #000, transparent 70%); mask-image: radial-gradient(circle at 70% 30%, #000, transparent 70%); }
.pa-visual.has-img .pa-visual-grid { display: none; }
.pa-visual-orb { position: absolute; top: 12%; inset-inline-end: 14%; width: 260px; height: 260px; border-radius: 50%; background: radial-gradient(circle at 30% 30%, rgba(255, 255, 255, .55), rgba(255, 255, 255, 0) 62%); filter: blur(6px); animation: pa-float 9s ease-in-out infinite; }
.pa-visual.has-img .pa-visual-orb { display: none; }
.pa-visual-copy { position: relative; z-index: 1; max-width: 520px; }
.pa-visual-copy h2 { margin: 0 0 12px; font-size: clamp(24px, 2.6vw, 34px); font-weight: 500; line-height: 1.55; color: #fff; }
.pa-visual-copy p { margin: 0 0 22px; color: rgba(255, 255, 255, .85); font-size: 14.5px; line-height: 2; }
.pa-pills { display: flex; flex-wrap: wrap; gap: 10px; margin: 0; padding: 0; list-style: none; }
.pa-pills li { display: inline-flex; align-items: center; gap: 8px; min-height: 38px; margin: 0; padding: 0 14px; border: 1px solid rgba(255, 255, 255, .22); border-radius: 999px; background-color: rgba(255, 255, 255, .12); color: #fff; font-size: 12.5px; -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); }
.pa-pills .plus-ico { font-size: 16px; }

/* ===== Small screens ===== */
@media (max-width: 960px) {
    .pa-page--full { grid-template-columns: minmax(0, 1fr); }
    .pa-visual { display: none; }
    .pa-split { grid-template-columns: minmax(0, 1fr); min-height: 0; }
    .pa-panel { gap: 16px; padding: 28px 24px; }
    .pa-panel .pa-features, .pa-panel-foot { display: none; }
    .pa-panel-copy { margin-top: 0; }
    .pa-panel h1 { font-size: 20px; }
    .pa-panel p { font-size: 13px; }
}
@media (max-width: 520px) {
    .pa-page { padding: 20px 12px; }
    .pa-page--full { padding: 0; }
    .pa-split { border-radius: 24px; }
    .pa-split-form { padding: 28px 20px 22px; }
    .pa-side { padding: 20px; }
}

@keyframes pa-spin { to { transform: rotate(360deg); } }
@keyframes pa-in { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: none; } }
@keyframes pa-float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-18px); } }
@media (prefers-reduced-motion: reduce) {
    :is(.pa, #pa-boost) *, .pa-page * { animation: none !important; transition: none !important; }
}

/* Universal account page: calm, brandable and usable across business categories. */
.pa-page--card {
    --pa-ink: #17263a;
    display: block;
    min-height: 100dvh;
    padding: clamp(16px, 3vw, 42px);
    background: #edf2f6;
    color: var(--pa-ink);
    overflow: visible;
}
.pa-page--card .pa-card-layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(440px, .88fr);
    width: min(100%, 1180px);
    min-height: min(740px, calc(100dvh - 84px));
    margin: auto;
    border: 1px solid #dce4ed;
    border-radius: 30px;
    overflow: hidden;
    background: #fff;
    box-shadow: 0 28px 80px -52px rgba(21, 41, 65, .38);
}
.pa-page--card .pa-welcome {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    gap: 50px;
    min-width: 0;
    padding: clamp(28px, 4.2vw, 62px);
    background: linear-gradient(145deg, #15283c, #1b3d57 75%, color-mix(in srgb, var(--pa-c1), #183c55 78%));
    color: #fff;
}
.pa-page--card .pa-welcome-brand,
.pa-page--card .pa-mobile-brand { display: flex; align-items: center; gap: 12px; min-width: 0; font-size: 16px; }
.pa-page--card .pa-welcome-brand strong,
.pa-page--card .pa-mobile-brand strong { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-weight: 600; }
.pa-page--card .pa-welcome-logo,
.pa-page--card .pa-mobile-logo { display: grid; place-items: center; flex: 0 0 44px; width: 44px; height: 44px; border-radius: 13px; background: #fff; color: #17364f; font-size: 22px; font-weight: 700; }
.pa-page--card :is(.pa-welcome-logo, .pa-mobile-logo) img { display: block; max-width: 34px; max-height: 34px; object-fit: contain; }
.pa-page--card .pa-eyebrow { display: inline-block; margin-bottom: 16px; color: #b7d6e7; font-size: 12px; font-weight: 600; letter-spacing: .03em; }
.pa-page--card .pa-welcome h1 { margin: 0 0 18px; color: #fff; font-size: clamp(29px, 3vw, 44px); line-height: 1.5; font-weight: 700; }
.pa-page--card .pa-welcome-content > p { max-width: 440px; margin: 0; color: #d3e2eb; font-size: 15px; line-height: 2; }
.pa-page--card .pa-welcome-features { display: grid; gap: 22px; margin: 38px 0 0; padding: 0; list-style: none; }
.pa-page--card .pa-welcome-features li { display: flex; align-items: flex-start; gap: 12px; }
.pa-page--card .pa-welcome-feature-icon { display: grid; place-items: center; flex: 0 0 40px; width: 40px; height: 40px; border: 1px solid rgba(255,255,255,.15); border-radius: 12px; background: rgba(255,255,255,.08); color: #e4f4fa; }
.pa-page--card .pa-welcome-feature-icon .plus-ico { font-size: 19px; }
.pa-page--card .pa-welcome-features strong { display: block; color: #fff; font-size: 14px; font-weight: 600; }
.pa-page--card .pa-welcome-features small { display: block; color: #b8ccd9; font-size: 12px; line-height: 1.9; }
.pa-page--card .pa-welcome-foot { color: #a9c0ce; font-size: 12px; }
.pa-page--card .pa-form-side { display: flex; flex-direction: column; align-items: center; justify-content: center; min-width: 0; padding: 38px clamp(24px, 4vw, 64px); }
.pa-page--card .pa-form-side > .pa { max-width: 440px; }
.pa-page--card .pa-mobile-brand { display: none; }
:is(.pa, #pa-boost).pa--card.pa-in-page .pa-card {
    padding: 0;
    border: 0;
    border-radius: 0;
    background: #fff;
    box-shadow: none;
    animation: none;
}
:is(.pa, #pa-boost).pa--card.pa-in-page .pa-card::after,
:is(.pa, #pa-boost).pa--card.pa-in-page .pa-brand { display: none; }
:is(.pa, #pa-boost) .pa-progress { gap: 12px; margin-bottom: 34px; }
:is(.pa, #pa-boost) .pa-progress li { gap: 10px; color: #65758a; font-size: 12px; }
:is(.pa, #pa-boost) .pa-progress li::before { height: 5px; background: #e6edf3; }
:is(.pa, #pa-boost)[data-pa-step="1"] .pa-progress li:nth-child(-n+1)::before,
:is(.pa, #pa-boost)[data-pa-step="2"] .pa-progress li:nth-child(-n+2)::before,
:is(.pa, #pa-boost)[data-pa-step="3"] .pa-progress li:nth-child(-n+3)::before { background: var(--pa-accent); }
:is(.pa, #pa-boost) .pa-head { align-items: flex-start; margin-bottom: 26px; text-align: right; }
:is(.pa, #pa-boost) .pa-head-icon { width: 48px; height: 48px; margin-bottom: 12px; border-radius: 13px; }
:is(.pa, #pa-boost) .pa-title { color: #17263a; font-size: 24px; font-weight: 700; }
:is(.pa, #pa-boost) .pa-sub, :is(.pa, #pa-boost) .pa-lead { max-width: none; color: #52647a; font-size: 14px; }
:is(.pa, #pa-boost) .pa-form { gap: 16px; }
:is(.pa, #pa-boost) .pa-field input { height: 60px; border-color: #d5dfe8; border-radius: 12px; background: #fff; color: #17263a; font-size: 15px; }
:is(.pa, #pa-boost) .pa-field > label { color: #586b80; font-size: 14px; }
:is(.pa, #pa-boost) .pa-field input:focus { box-shadow: 0 0 0 3px color-mix(in srgb, var(--pa-accent) 16%, transparent); }
:is(.pa, #pa-boost) .submit-btn.pa-btn { height: 56px; margin-top: 4px; border-radius: 12px; box-shadow: none; font-size: 15px; font-weight: 700; background-image: none; }
:is(.pa, #pa-boost).pa--card.pa-in-page .submit-btn.pa-btn { background-image: none; }
:is(.pa, #pa-boost).pa--card.pa-in-page .submit-btn.pa-btn::after { display: none; }
:is(.pa, #pa-boost) .pa-links :is(.pa-chip, .show_password) { min-height: 42px; border-radius: 10px; color: #40536a; }
:is(.pa, #pa-boost) .back_to_start.pa-back { min-height: 40px; color: #40536a; font-size: 13px; }
:is(.pa, #pa-boost) .back_to_start.pa-back:empty { display: flex; }
:is(.pa, #pa-boost) .pa-terms { justify-content: flex-start; text-align: right; }
.pa-page--card .pa-page-foot { width: 100%; justify-content: center; margin-top: 30px; color: #64758a; }
.pa-page--card .pa-page-foot a:hover { color: var(--pa-accent); }
@media (max-width: 880px) {
    .pa-page--card .pa-card-layout { display: block; min-height: 0; max-width: 570px; }
    .pa-page--card .pa-welcome { display: none; }
    .pa-page--card .pa-form-side { min-height: calc(100dvh - 32px); padding: 30px clamp(20px, 6vw, 42px); }
    .pa-page--card .pa-mobile-brand { display: flex; align-self: stretch; margin-bottom: auto; }
    .pa-page--card .pa-mobile-brand + .pa { margin: 30px 0; }
    .pa-page--card .pa-page-foot { margin-top: auto; }
}
@media (max-width: 560px) {
    .pa-page--card { padding: 0; background: #fff; }
    .pa-page--card .pa-card-layout { border: 0; border-radius: 0; box-shadow: none; }
    .pa-page--card .pa-form-side { padding: 22px 20px 26px; }
    :is(.pa, #pa-boost) .pa-links { flex-direction: column; align-items: stretch; }
    :is(.pa, #pa-boost) .pa-links :is(.pa-chip, .show_password) { justify-content: center; width: 100%; }
}

/* Compact account layout. The page fits the viewport; only a long form can scroll inside. */
.pa-page--card {
    box-sizing: border-box;
    display: grid;
    place-items: center;
    width: 100%;
    height: 100dvh;
    min-height: 0;
    padding: 20px;
    overflow: hidden;
    background: radial-gradient(circle at 16% 16%, color-mix(in srgb, var(--pa-c1) 13%, #f3f5f9), transparent 32%),
                radial-gradient(circle at 86% 84%, color-mix(in srgb, var(--pa-c2) 10%, #f3f5f9), transparent 36%), #f3f5f9;
}
.pa-page--card .pa-card-layout {
    display: grid;
    grid-template-columns: minmax(0, 38%) minmax(0, 62%);
    width: min(100%, 970px);
    height: min(600px, calc(100dvh - 40px));
    min-height: 0;
    margin: 0;
    border: 1px solid #e5e9f0;
    border-radius: 26px;
    box-shadow: 0 30px 90px -55px rgba(27, 43, 62, .5);
}
.pa-page--card .pa-brand-side {
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    min-width: 0;
    min-height: 0;
    padding: 34px;
    overflow: hidden;
    background: linear-gradient(145deg, #1c314a, #122238 60%, color-mix(in srgb, var(--pa-c1) 42%, #122238));
    color: #fff;
}
.pa-page--card .pa-brand-side::before { content: ""; position: absolute; inset: auto -90px -130px auto; width: 350px; height: 350px; border-radius: 50%; background: color-mix(in srgb, var(--pa-c1) 22%, transparent); filter: blur(60px); }
.pa-page--card .pa-brand-side-top { position: relative; z-index: 1; display: flex; align-items: center; gap: 10px; min-width: 0; font-size: 14px; }
.pa-page--card .pa-brand-side-top strong { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-weight: 600; }
.pa-page--card .pa-side-logo { display: grid; place-items: center; flex: 0 0 40px; width: 40px; height: 40px; border-radius: 12px; background: #fff; color: #1c314a; font-size: 20px; font-weight: 700; }
.pa-page--card .pa-side-logo img { display: block; max-width: 32px; max-height: 32px; object-fit: contain; }
.pa-page--card .pa-brand-side-art { position: relative; display: grid; place-items: center; flex: 1; min-height: 0; }
.pa-page--card .pa-art-ring { position: absolute; width: min(270px, 80%); aspect-ratio: 1; border: 1px solid rgba(255,255,255,.16); border-radius: 50%; }
.pa-page--card .pa-art-ring--two { width: min(200px, 60%); border-color: rgba(255,255,255,.25); }
.pa-page--card .pa-art-core { display: grid; place-items: center; width: 110px; height: 110px; border: 1px solid rgba(255,255,255,.27); border-radius: 32px; background: linear-gradient(145deg, rgba(255,255,255,.25), rgba(255,255,255,.08)); box-shadow: 0 20px 70px -25px rgba(0,0,0,.45), inset 0 1px rgba(255,255,255,.25); transform: rotate(-10deg); }
.pa-page--card .pa-art-core .plus-ico { font-size: 46px; transform: rotate(10deg); }
.pa-page--card .pa-brand-side-bottom { position: relative; z-index: 1; }
.pa-page--card .pa-brand-side-bottom span { color: #c3d4e3; font-size: 12px; }
.pa-page--card .pa-brand-side-bottom h1 { max-width: 260px; margin: 8px 0 0; color: #fff; font-size: 24px; font-weight: 700; line-height: 1.6; }
.pa-page--card .pa-form-side {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    justify-content: center;
    min-height: 0;
    padding: 34px clamp(32px, 5vw, 72px);
    overflow-y: auto;
    scrollbar-width: thin;
}
.pa-page--card .pa-form-side > .pa { width: 100%; max-width: 420px; margin: auto; }
.pa-page--card .pa-mobile-brand { display: none; }
.pa-page--card .pa-under-form-link { align-self: center; margin: 26px auto 0; color: #677a90; font-size: 12px; text-decoration: none; }
.pa-page--card .pa-under-form-link:hover { color: var(--pa-accent); }
:is(.pa, #pa-boost).pa--card.pa-in-page .pa-card { padding: 0; }
:is(.pa, #pa-boost) .pa-head { align-items: flex-start; gap: 5px; margin-bottom: 22px; text-align: right; }
:is(.pa, #pa-boost) .pa-head-icon { width: 44px; height: 44px; margin-bottom: 8px; }
:is(.pa, #pa-boost) .pa-title { font-size: 23px; }
:is(.pa, #pa-boost) .pa-sub, :is(.pa, #pa-boost) .pa-lead { font-size: 13.5px; line-height: 1.8; }
:is(.pa, #pa-boost) .pa-form { gap: 12px; }
:is(.pa, #pa-boost) .pa-field input { height: 54px; }
:is(.pa, #pa-boost) .submit-btn.pa-btn { height: 52px; }
:is(.pa, #pa-boost) .extra-links.pa-links { justify-content: flex-start; }
:is(.pa, #pa-boost) .pa-links :is(.pa-chip, .show_password) { min-height: 36px; }
:is(.pa, #pa-boost) .back_to_start.pa-back { min-height: 34px; }
@media (max-width: 760px) {
    .pa-page--card { padding: 12px; }
    .pa-page--card .pa-card-layout { display: block; width: min(100%, 520px); height: min(660px, calc(100dvh - 24px)); border-radius: 22px; }
    .pa-page--card .pa-brand-side { display: none; }
    .pa-page--card .pa-form-side { height: 100%; padding: 26px clamp(22px, 6vw, 42px); }
    .pa-page--card .pa-mobile-brand { display: flex; align-items: center; gap: 10px; margin: 0 0 auto; font-size: 14px; }
    .pa-page--card .pa-mobile-brand + .pa { margin: auto 0; }
    .pa-page--card .pa-under-form-link { margin: 0 auto; }
}
@media (max-width: 560px) {
    .pa-page--card { padding: 0; background: #fff; }
    .pa-page--card .pa-card-layout { width: 100%; height: 100dvh; border: 0; border-radius: 0; box-shadow: none; }
    .pa-page--card .pa-form-side { padding: 22px; }
}

html:has(> body > .pa-page--card),
body:has(> .pa-page--card) {
    height: 100dvh;
    min-height: 0;
    max-height: 100dvh;
    overflow: hidden;
}
.pa-page--card { display: flex; align-items: center; justify-content: center; }
.pa-page--card .pa-card-layout { flex: 0 1 970px; }
@media (max-width: 760px) {
    .pa-page--card .pa-form-side { position: relative; justify-content: center; }
    .pa-page--card .pa-mobile-brand { position: absolute; top: 24px; inset-inline-start: 22px; inset-inline-end: 22px; margin: 0; }
    .pa-page--card .pa-mobile-brand + .pa { margin: 0 auto; }
    .pa-page--card .pa-under-form-link { margin: 24px auto 0; }
}

/* Form rhythm and quiet interaction states. */
:is(.pa, #pa-boost) .pa-head { gap: 10px; margin-bottom: 30px; }
:is(.pa, #pa-boost) .pa-head-icon { margin-bottom: 6px; }
:is(.pa, #pa-boost) .pa-form { gap: 18px; }
:is(.pa, #pa-boost) .pa-field input { height: 58px; border-color: #d9e0e8; background-color: #fbfcfe; }
:is(.pa, #pa-boost) .pa-field input:hover { border-color: #aebdcc; }
:is(.pa, #pa-boost) .pa-field input:focus { border-color: var(--pa-accent); background-color: #fff; box-shadow: 0 0 0 3px color-mix(in srgb, var(--pa-accent) 11%, transparent); }
:is(.pa, #pa-boost) .submit-btn.pa-btn { height: 54px; margin-top: 4px; box-shadow: none; transition: background-color .18s ease, border-color .18s ease; }
:is(.pa, #pa-boost) .submit-btn.pa-btn:hover { background-color: color-mix(in srgb, var(--pa-accent) 88%, #111827); box-shadow: none; transform: none; }
:is(.pa, #pa-boost) .submit-btn.pa-btn:active { background-color: color-mix(in srgb, var(--pa-accent) 78%, #111827); box-shadow: none; transform: none; }
:is(.pa, #pa-boost) .submit-btn.pa-btn:hover .pa-btn-arrow { transform: none; }
:is(.pa, #pa-boost) .extra-links.pa-links { gap: 10px; margin-top: 4px; }
:is(.pa, #pa-boost) .pa-links :is(.pa-chip, .show_password) { min-height: 42px; padding: 0 13px; box-shadow: none; }
:is(.pa, #pa-boost) .pa-links :is(.pa-chip, .show_password):hover { box-shadow: none; }
:is(.pa, #pa-boost) .back_to_start.pa-back { min-height: 38px; margin-top: 8px; }
:is(.pa, #pa-boost) .pa-eye:hover { box-shadow: none; }
:is(.pa, #pa-boost) .pa-otp { margin: 2px 0; }
.pa-page--card .pa-under-form-link { margin-top: 32px; }
:is(.pa, #pa-boost) .pa-google-actions { display: grid; gap: 14px; margin-top: 20px; }
:is(.pa, #pa-boost) .pa-google-divider { display: flex; align-items: center; gap: 14px; color: #8492a2; font-size: 12px; text-align: center; }
:is(.pa, #pa-boost) .pa-google-divider::before,
:is(.pa, #pa-boost) .pa-google-divider::after { content: ""; flex: 1; height: 1px; background: #e5eaf0; }
:is(.pa, #pa-boost) .pa-google-button { display: flex; align-items: center; justify-content: center; gap: 11px; min-height: 52px; border: 1px solid #d9e0e8; border-radius: 12px; background: #fff; color: #26374a; font-size: 14px; font-weight: 600; text-decoration: none; box-shadow: none; transition: background-color .18s ease, border-color .18s ease; }
:is(.pa, #pa-boost) .pa-google-button:hover { border-color: #aebdcc; background: #f7f9fc; color: #26374a; box-shadow: none; }
:is(.pa, #pa-boost) .pa-google-notice { margin-bottom: 18px; padding: 11px 13px; border: 1px solid #fecaca; border-radius: 10px; background: #fff7f7; color: #9b2c2c; font-size: 13px; line-height: 1.8; }
@media (max-width: 760px) {
    .pa-page--card .pa-under-form-link { margin: 30px auto 0; }
}

/* Layout 5: a single, content-sized account card. */
html:has(> body > .pa-v3),
body:has(> .pa-v3) { height: 100dvh; min-height: 0; max-height: 100dvh; overflow: hidden; }
.pa-page--card.pa-v3 {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100dvh;
    min-height: 0;
    padding: 16px;
    overflow: hidden;
    background: color-mix(in srgb, var(--pa-c1) 3%, #f7f8fa);
}
.pa-page--card.pa-v3 .pa-card-layout {
    position: relative;
    z-index: 1;
    display: flex;
    flex: 0 1 610px;
    flex-direction: column;
    width: min(100%, 610px);
    height: auto;
    max-height: calc(100dvh - 32px);
    min-height: 0;
    margin: 0;
    border: 1px solid #e3e9f0;
    border-radius: 14px;
    overflow: hidden;
    background: #fff;
    box-shadow: 0 12px 36px -28px rgba(25, 40, 63, .4);
}
.pa-v3 .pa-auth-top {
    position: relative;
    display: flex;
    flex: 0 0 112px;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    min-width: 0;
    padding: 22px 38px;
    overflow: hidden;
    background: color-mix(in srgb, var(--pa-c2) 32%, #202a36);
    color: #fff;
}
.pa-v3 .pa-auth-top::before { content: none; }
.pa-v3 .pa-auth-top > * { position: relative; z-index: 1; }
.pa-v3 .pa-auth-brand { display: flex; align-items: center; gap: 13px; min-width: 0; font-size: 17px; line-height: 1.5; }
.pa-v3 .pa-auth-brand strong { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-weight: 700; }
.pa-v3 .pa-auth-logo { display: grid; flex: 0 0 50px; place-items: center; width: 50px; height: 50px; border-radius: 15px; background: #fff; color: #1d344c; font-size: 23px; font-weight: 700; text-decoration: none; }
.pa-v3 .pa-auth-logo img { display: block; max-width: 39px; max-height: 39px; object-fit: contain; }
.pa-v3 .pa-auth-mark { display: grid; flex: 0 0 43px; place-items: center; width: 43px; height: 43px; border: 1px solid rgba(255, 255, 255, .23); border-radius: 13px; background: rgba(255, 255, 255, .1); color: #fff; }
.pa-v3 .pa-auth-mark .plus-ico { font-size: 22px; }
.pa-page--card.pa-v3 .pa-form-side {
    display: block;
    flex: 1 1 auto;
    width: 100%;
    min-height: 0;
    height: auto;
    padding: 31px 42px 24px;
    overflow-x: hidden;
    overflow-y: auto;
    scrollbar-width: thin;
}
.pa-page--card.pa-v3 .pa-form-side > .pa { width: 100%; max-width: none; margin: 0; }
.pa-v3 :is(.pa, #pa-boost).pa--card.pa-in-page .pa-card { padding: 0; }
.pa-v3 :is(.pa, #pa-boost) .pa-head { gap: 6px; margin-bottom: 24px; }
.pa-v3 :is(.pa, #pa-boost) .pa-title { font-size: 25px; line-height: 1.45; }
.pa-v3 :is(.pa, #pa-boost) .pa-sub,
.pa-v3 :is(.pa, #pa-boost) .pa-lead { font-size: 14px; line-height: 1.75; }
.pa-v3 :is(.pa, #pa-boost) .pa-head-icon { width: 43px; height: 43px; margin-bottom: 8px; border-radius: 12px; }
.pa-v3 :is(.pa, #pa-boost) .pa-form { gap: 16px; }
.pa-v3 :is(.pa, #pa-boost) .pa-field input { height: 58px; border-radius: 12px; background: #f9fbfd; }
.pa-v3 :is(.pa, #pa-boost) .submit-btn.pa-btn { height: 54px; margin-top: 3px; border-radius: 12px; box-shadow: none; }
.pa-v3 :is(.pa, #pa-boost) .submit-btn.pa-btn:hover { box-shadow: none; transform: none; }
.pa-v3 :is(.pa, #pa-boost) .step_password .extra-links.pa-links {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    width: 100%;
    align-items: stretch;
    gap: 12px;
}
.pa-v3 :is(.pa, #pa-boost) .step_password .extra-links.pa-links .pa-chip {
    justify-content: center;
    width: 100%;
    min-width: 0;
    min-height: 46px;
    padding: 8px 10px;
    text-align: center;
    white-space: normal;
}
.pa-v3 .pa-under-form-link { display: block; width: fit-content; margin: 25px auto 0; color: #66798d; font-size: 12px; text-align: center; text-decoration: none; }
.pa-v3 .pa-under-form-link:hover { color: var(--pa-accent); }
@media (max-width: 560px) {
    .pa-page--card.pa-v3 { padding: 12px; }
    .pa-page--card.pa-v3 .pa-card-layout { width: 100%; height: auto; max-height: calc(100dvh - 24px); border: 1px solid #e3e9f0; border-radius: 12px; box-shadow: 0 12px 30px -26px rgba(25, 40, 63, .4); }
    .pa-v3 .pa-auth-top { flex-basis: 84px; padding: 15px 22px; }
    .pa-v3 .pa-auth-brand { gap: 10px; font-size: 14px; }
    .pa-v3 .pa-auth-logo { flex-basis: 42px; width: 42px; height: 42px; border-radius: 12px; }
    .pa-v3 .pa-auth-logo img { max-width: 34px; max-height: 34px; }
    .pa-v3 .pa-auth-mark { flex-basis: 36px; width: 36px; height: 36px; }
    .pa-page--card.pa-v3 .pa-form-side { padding: 25px 24px 22px; }
    .pa-v3 :is(.pa, #pa-boost) .pa-title { font-size: 22px; }
    .pa-v3 :is(.pa, #pa-boost) .step_password .extra-links.pa-links { grid-template-columns: minmax(0, 1fr); }
    .pa-v3 .pa-under-form-link { margin-top: 22px; }
}
@media (max-height: 560px) {
    .pa-v3 .pa-auth-top { flex-basis: 72px; padding-block: 12px; }
    .pa-page--card.pa-v3 .pa-form-side { padding-block: 20px; }
}

/* Revised page frames. Keep the shared auth steps and their behavior across layouts. */
.pa-page--card.pa-v3 {
    background: linear-gradient(to bottom,
        color-mix(in srgb, var(--pa-c1) 5%, #f6f7f8) 0 38%,
        color-mix(in srgb, var(--pa-c2) 2%, #f6f7f8) 38% 100%);
}

html:has(> body > :is(.pa-page--split, .pa-page--full)),
body:has(> :is(.pa-page--split, .pa-page--full)) {
    height: 100dvh;
    min-height: 0;
    overflow: hidden;
}
.pa-page--split,
.pa-page--full {
    box-sizing: border-box;
    height: 100dvh;
    min-height: 0;
    overflow: hidden;
}
.pa-page--split {
    padding: 16px;
    background: color-mix(in srgb, var(--pa-c1) 3%, #f5f6f8);
}
.pa-page--split .pa-split {
    display: grid;
    grid-template-columns: minmax(0, .78fr) minmax(0, 1.22fr);
    width: min(100%, 940px);
    height: min(590px, calc(100dvh - 32px));
    min-height: 0;
    border: 1px solid #e1e6ec;
    border-radius: 14px;
    box-shadow: 0 18px 48px -34px rgba(23, 38, 58, .42);
}
.pa-page--split .pa-panel {
    gap: 20px;
    min-height: 0;
    padding: 32px;
    background: color-mix(in srgb, var(--pa-c2) 30%, #1b2b3c);
}
.pa-page--split .pa-panel::before,
.pa-page--split .pa-panel::after { content: none; }
.pa-page--split .pa-panel .pa-logo-light {
    width: 52px;
    min-width: 52px;
    border-radius: 10px;
    background: rgba(255, 255, 255, .12);
    backdrop-filter: none;
}
.pa-page--split .pa-panel-copy { margin: auto 0; }
.pa-page--split .pa-panel-label,
.pa-page--full .pa-visual-label {
    display: block;
    margin-bottom: 12px;
    color: rgba(255, 255, 255, .75);
    font-size: 13px;
}
.pa-page--split .pa-panel h1 {
    max-width: 20ch;
    margin: 0;
    font-size: clamp(23px, 2.5vw, 33px);
    font-weight: 700;
    line-height: 1.55;
    overflow-wrap: anywhere;
}
.pa-page--split .pa-split-form {
    min-width: 0;
    min-height: 0;
    padding: 28px clamp(24px, 4vw, 56px) 22px;
    overflow-y: auto;
    scrollbar-width: thin;
}
.pa-page--split .pa-split-form > .pa { width: 100%; max-width: 410px; }
.pa-page--split .pa-page-foot { margin-top: 24px; }

.pa-page--full {
    grid-template-columns: minmax(0, clamp(390px, 38vw, 520px)) minmax(0, 1fr);
    padding: 0;
    background: #fff;
}
.pa-page--full .pa-side {
    height: 100dvh;
    min-height: 0;
    padding: 26px clamp(24px, 4vw, 48px);
    overflow: hidden;
}
.pa-page--full .pa-side-brand {
    display: flex;
    align-items: center;
    gap: 10px;
    min-width: 0;
    max-width: 58%;
}
.pa-page--full .pa-side-brand strong {
    overflow: hidden;
    color: #22344a;
    font-size: 13px;
    font-weight: 700;
    text-overflow: ellipsis;
    white-space: nowrap;
}
.pa-page--full .pa-side-main {
    min-width: 0;
    min-height: 0;
    overflow-y: auto;
    scrollbar-width: thin;
}
.pa-page--full .pa-side-main > .pa { width: 100%; max-width: 400px; }
.pa-page--full .pa-visual {
    justify-content: center;
    align-items: center;
    min-width: 0;
    padding: clamp(32px, 5vw, 70px);
    background: color-mix(in srgb, var(--pa-c1) 10%, color-mix(in srgb, var(--pa-c2) 35%, #1b2b3c));
}
.pa-page--full .pa-visual.has-img { background: var(--pa-img) center / cover no-repeat; }
.pa-page--full .pa-visual::before { content: none; }
.pa-page--full .pa-visual.has-img::before {
    content: "";
    position: absolute;
    inset: 0;
    background: rgba(13, 25, 39, .42);
}
.pa-page--full .pa-visual-copy {
    display: flex;
    flex-direction: column;
    align-items: center;
    max-width: 650px;
    text-align: center;
}
.pa-page--full .pa-visual-logo {
    display: grid;
    place-items: center;
    width: 74px;
    height: 74px;
    margin-bottom: 28px;
    padding: 12px;
    border-radius: 14px;
    background: #fff;
    color: #203249;
    font-size: 30px;
    font-weight: 700;
    text-decoration: none;
}
.pa-page--full .pa-visual-logo img { display: block; max-width: 100%; max-height: 100%; object-fit: contain; }
.pa-page--full .pa-visual-copy h2 {
    margin: 0;
    font-size: clamp(27px, 3.5vw, 46px);
    font-weight: 700;
    line-height: 1.5;
    overflow-wrap: anywhere;
}

@media (max-width: 960px) {
    .pa-page--split .pa-split {
        grid-template-columns: minmax(0, 1fr);
        grid-template-rows: 74px minmax(0, 1fr);
        width: min(100%, 560px);
        height: min(520px, calc(100dvh - 24px));
    }
    .pa-page--split .pa-panel { flex-direction: row; align-items: center; gap: 12px; padding: 11px 24px; }
    .pa-page--split .pa-panel-copy { display: block; min-width: 0; margin: 0; }
    .pa-page--split .pa-panel-label { display: none; }
    .pa-page--split .pa-panel h1 { overflow: hidden; max-width: none; font-size: 14px; text-overflow: ellipsis; white-space: nowrap; }
    .pa-page--split .pa-split-form { padding: 24px clamp(20px, 5vw, 42px); }
    .pa-page--full { grid-template-columns: minmax(0, 1fr); }
    .pa-page--full .pa-visual { display: none; }
    .pa-page--full .pa-side { width: min(100%, 600px); margin: 0 auto; }
    .pa-page--full .pa-side-main { align-items: flex-start; justify-content: flex-start; padding: clamp(34px, 9vh, 68px) 0 20px; }
}
@media (max-width: 560px) {
    .pa-page--split { padding: 12px; }
    .pa-page--split .pa-split { border-radius: 12px; }
    .pa-page--split .pa-split-form { padding: 20px 22px; }
    .pa-page--full .pa-side { padding: 18px 20px; }
    .pa-page--full .pa-side-brand { max-width: calc(100% - 52px); }
    .pa-page--full .pa-side-top .pa-home { flex: 0 0 40px; width: 40px; min-width: 40px; padding: 0; font-size: 0; justify-content: center; }
    .pa-page--full .pa-side-top .pa-home .plus-ico { font-size: 18px; }
    .pa-page--full .pa-side-main { padding-top: 54px; }
}

/* A design-specific color is shown exactly; the shared palette keeps the existing fallback. */
.pa-page--card.pa-v3 { background: var(--pa-layout-c1, linear-gradient(to bottom, color-mix(in srgb, var(--pa-c1) 5%, #f6f7f8) 0 38%, color-mix(in srgb, var(--pa-c2) 2%, #f6f7f8) 38% 100%)); }
.pa-v3 .pa-auth-top { background: var(--pa-layout-c2, color-mix(in srgb, var(--pa-c2) 32%, #202a36)); }
.pa-page--split { background: var(--pa-layout-c1, color-mix(in srgb, var(--pa-c1) 3%, #f5f6f8)); }
.pa-page--split .pa-panel { background: var(--pa-layout-c2, color-mix(in srgb, var(--pa-c2) 30%, #1b2b3c)); }
.pa-page--full .pa-side { background: var(--pa-layout-c1, #fff); }
.pa-page--full .pa-visual:not(.has-img) { background: var(--pa-layout-c2, color-mix(in srgb, var(--pa-c1) 10%, color-mix(in srgb, var(--pa-c2) 35%, #1b2b3c))); }
.pa-v3 .pa-auth-top,
.pa-page--split .pa-panel,
.pa-page--full .pa-visual:not(.has-img) { color: var(--pa-layout-ink, #fff); }
.pa-page--split .pa-panel-label,
.pa-page--full .pa-visual:not(.has-img) .pa-visual-label { color: var(--pa-layout-ink, rgba(255, 255, 255, .75)); }

/* Layout 5: compact account form, following the supplied reference. */
.pa-page--card.pa-v3 {
    padding: 20px;
    background: var(--pa-layout-c1, color-mix(in srgb, var(--pa-c1) 1%, #fff));
}
.pa-page--card.pa-v3 .pa-card-layout {
    display: flex;
    flex: 0 1 500px;
    flex-direction: column;
    width: min(100%, 500px);
    max-height: calc(100dvh - 40px);
    margin: 0;
    border: 1px solid #dedfe3;
    border-radius: 10px;
    background: #fff;
    box-shadow: none;
    overflow: hidden;
}
.pa-page--card.pa-v3 .pa-auth-top {
    display: flex;
    flex: none;
    align-items: center;
    justify-content: center;
    min-height: 0;
    padding: 31px 36px 0;
    background: #fff;
    color: #263449;
    overflow: visible;
}
.pa-page--card.pa-v3 .pa-auth-brand {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 8px;
    width: 100%;
    min-width: 0;
    font-size: 13px;
    text-align: center;
}
.pa-page--card.pa-v3 .pa-auth-brand strong {
    max-width: 100%;
    overflow: hidden;
    color: #526276;
    font-size: 13px;
    font-weight: 700;
    line-height: 1.5;
    text-overflow: ellipsis;
    white-space: nowrap;
}
.pa-page--card.pa-v3 .pa-auth-logo {
    display: grid;
    flex: 0 0 55px;
    place-items: center;
    width: 55px;
    height: 55px;
    border: 0;
    border-radius: 8px;
    background: #fff;
    box-shadow: none;
    color: #193b46;
    font-size: 27px;
}
.pa-page--card.pa-v3 .pa-auth-logo img { display: block; max-width: 54px; max-height: 54px; object-fit: contain; }
.pa-page--card.pa-v3 .pa-form-side {
    display: block;
    flex: 1 1 auto;
    min-height: 0;
    width: 100%;
    padding: 23px 40px 39px;
    overflow-x: hidden;
    overflow-y: auto;
    scrollbar-width: thin;
}
.pa-page--card.pa-v3 .pa-form-side > .pa { width: 100%; max-width: none; margin: 0; }
.pa-page--card.pa-v3 :is(.pa, #pa-boost).pa--card.pa-in-page .pa-card { padding: 0; }
.pa-page--card.pa-v3 :is(.pa, #pa-boost) .pa-head {
    align-items: flex-start;
    gap: 7px;
    margin-bottom: 23px;
    text-align: right;
}
.pa-page--card.pa-v3 :is(.pa, #pa-boost) .pa-title {
    color: #586474;
    font-size: 22px;
    font-weight: 700;
    line-height: 1.6;
}
.pa-page--card.pa-v3 :is(.pa, #pa-boost) .pa-sub,
.pa-page--card.pa-v3 :is(.pa, #pa-boost) .pa-lead {
    max-width: none;
    color: #667486;
    font-size: 13px;
    line-height: 1.85;
}
.pa-page--card.pa-v3 :is(.pa, #pa-boost) .pa-form { gap: 15px; }
.pa-page--card.pa-v3 :is(.pa, #pa-boost) .pa-field { display: flex; flex-direction: column; gap: 8px; }
.pa-page--card.pa-v3 :is(.pa, #pa-boost) .pa-field > label,
.pa-page--card.pa-v3 :is(.pa, #pa-boost) .pa-field input:is(:focus, :not(:placeholder-shown), .has-value) + label {
    position: static;
    order: -1;
    inset: auto;
    width: auto;
    margin: 0;
    overflow: visible;
    color: #4a5b70;
    font-size: 13px;
    font-weight: 600;
    line-height: 1.6;
    text-overflow: clip;
    white-space: normal;
    transform: none;
}
.pa-page--card.pa-v3 :is(.pa, #pa-boost) .first_step .pa-field > label,
.pa-page--card.pa-v3 :is(.pa, #pa-boost) .first_step .pa-field input:is(:focus, :not(:placeholder-shown), .has-value) + label {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip-path: inset(50%);
    white-space: nowrap;
}
.pa-page--card.pa-v3 :is(.pa, #pa-boost) .pa-field input {
    height: 53px;
    padding-block: 0;
    border: 1px solid #d8dce2;
    border-radius: 9px;
    background: #fff;
    box-shadow: none;
}
.pa-page--card.pa-v3 :is(.pa, #pa-boost) .pa-field input::placeholder { color: #8b97a5; opacity: 1; }
.pa-page--card.pa-v3 :is(.pa, #pa-boost) .first_step .pa-field input { padding-inline: 15px; }
.pa-page--card.pa-v3 :is(.pa, #pa-boost) .first_step .pa-field > :is(.plus-ico, svg) { display: none; }
.pa-page--card.pa-v3 :is(.pa, #pa-boost) .pa-field > :is(.plus-ico, svg) { top: auto; bottom: 16px; transform: none; }
.pa-page--card.pa-v3 :is(.pa, #pa-boost) .pa-eye { top: auto; bottom: 7px; transform: none; }
.pa-page--card.pa-v3 :is(.pa, #pa-boost) .submit-btn.pa-btn {
    height: 53px;
    margin: 0;
    border-radius: 9px;
    background: var(--pa-layout-c2, #25a9ad);
    background-image: none;
    box-shadow: none;
    color: var(--pa-layout-ink, #fff);
    font-size: 14px;
    font-weight: 700;
}
.pa-page--card.pa-v3 :is(.pa, #pa-boost) .submit-btn.pa-btn:hover,
.pa-page--card.pa-v3 :is(.pa, #pa-boost) .submit-btn.pa-btn:active {
    background: color-mix(in srgb, var(--pa-layout-c2, #25a9ad) 88%, #000);
    box-shadow: none;
    color: var(--pa-layout-ink, #fff);
    transform: none;
}
.pa-page--card.pa-v3 :is(.pa, #pa-boost) .pa-terms { margin-top: 3px; color: #738091; font-size: 12px; line-height: 1.8; text-align: center; }
.pa-page--card.pa-v3 :is(.pa, #pa-boost) .pa-google-actions { margin-top: 18px; }
@media (max-width: 560px) {
    .pa-page--card.pa-v3 { padding: 14px; }
    .pa-page--card.pa-v3 .pa-card-layout { max-height: calc(100dvh - 28px); }
    .pa-page--card.pa-v3 .pa-auth-top { padding: 24px 20px 0; }
    .pa-page--card.pa-v3 .pa-form-side { padding: 20px 22px 27px; }
    .pa-page--card.pa-v3 :is(.pa, #pa-boost) .pa-title { font-size: 20px; }
}
@media (max-height: 590px) {
    .pa-page--card.pa-v3 .pa-auth-top { padding-top: 15px; }
    .pa-page--card.pa-v3 .pa-auth-logo { flex-basis: 42px; width: 42px; height: 42px; }
    .pa-page--card.pa-v3 .pa-form-side { padding-block: 16px 22px; }
}

/* The split and full layouts share a restrained surface and form language. */
.pa-page--split {
    background: var(--pa-layout-c1, color-mix(in srgb, var(--pa-c1) 3%, #f7f8fa));
}
.pa-page--split .pa-split {
    border-color: #e0e5ea;
    border-radius: 12px;
    box-shadow: 0 18px 44px -36px rgba(22, 37, 54, .35);
}
.pa-page--split .pa-panel {
    border-inline-start: 1px solid #e4e9ef;
    background: var(--pa-layout-c2, color-mix(in srgb, var(--pa-c2) 5%, #f6f8fa));
    color: var(--pa-layout-ink, #17263a);
}
.pa-page--split .pa-panel h1,
.pa-page--full .pa-visual:not(.has-img) h2 { color: var(--pa-layout-ink, #17263a); }
.pa-page--split .pa-panel-label,
.pa-page--full .pa-visual:not(.has-img) .pa-visual-label { color: var(--pa-layout-ink, #5d6f83); }
.pa-page--split .pa-panel .pa-logo-light {
    border: 1px solid #e0e6ed;
    background: #fff;
    color: #1e3046;
}
.pa-page--split .pa-split-form { background: #fff; }
.pa-page--full .pa-side { background: var(--pa-layout-c1, #fff); }
.pa-page--full .pa-visual:not(.has-img) {
    background: var(--pa-layout-c2, color-mix(in srgb, var(--pa-c2) 5%, #f5f7f9));
    color: var(--pa-layout-ink, #17263a);
}
.pa-page--full .pa-visual:not(.has-img) .pa-visual-logo {
    border: 1px solid #e0e6ed;
    box-shadow: none;
}
.pa-page--split :is(.pa, #pa-boost) .pa-head,
.pa-page--full :is(.pa, #pa-boost) .pa-head { align-items: flex-start; text-align: right; }
.pa-page--split :is(.pa, #pa-boost) .pa-title,
.pa-page--full :is(.pa, #pa-boost) .pa-title { font-weight: 700; }
.pa-page--split :is(.pa, #pa-boost) .submit-btn.pa-btn,
.pa-page--full :is(.pa, #pa-boost) .submit-btn.pa-btn {
    border-radius: 9px;
    background: var(--pa-button, #17263a);
    box-shadow: none;
    color: var(--pa-button-ink, #fff);
    font-weight: 700;
}
.pa-page--split :is(.pa, #pa-boost) .submit-btn.pa-btn:hover,
.pa-page--full :is(.pa, #pa-boost) .submit-btn.pa-btn:hover {
    background: color-mix(in srgb, var(--pa-button, #17263a) 88%, #000);
    box-shadow: none;
    color: var(--pa-button-ink, #fff);
    transform: none;
}
