/* Shared public login and trial registration. */
body.auth-page {
    --auth-ink: #14223a;
    --auth-soft: #60758b;
    --auth-line: #cfdae3;
    --auth-accent: #067c9f;
    --auth-radius: 12px;
    display: block;
    min-height: 100svh;
    height: auto;
    margin: 0;
    padding: 0;
    color: var(--auth-ink);
    background: #fff;
    font-family: "DM Sans", system-ui, sans-serif;
}
.auth-page .auth-shell {
    box-sizing: border-box;
    display: grid;
    grid-template-columns: minmax(350px, .86fr) minmax(0, 1.14fr);
    align-items: stretch;
    justify-items: stretch;
    gap: clamp(12px, 2vw, 36px);
    width: 100%;
    max-width: 1720px;
    min-height: 100svh;
    margin: 0 auto;
    padding: clamp(12px, 1.8vw, 30px);
}
.auth-shell > .login-card-wrap, .auth-shell > .form-side {
    align-self: center;
    box-sizing: border-box;
    width: 100%;
    min-width: 0;
    max-width: 520px;
    margin: 0 auto;
    padding: clamp(20px, 3.8vw, 68px);
}
.auth-shell .login-card, .auth-shell .form-wrap {
    width: 100%;
    max-width: none;
    margin: 0;
    padding: 0;
    overflow: visible;
    text-align: left;
    background: transparent;
    border: 0;
    box-shadow: none;
}
.auth-shell .login-card::before { display: none; }
.auth-shell .login-logo-head, .auth-shell .topbar {
    display: flex;
    justify-content: flex-start;
    align-items: center;
    margin: 0 0 clamp(30px, 6vh, 72px);
}
.auth-shell .topbar { justify-content: space-between; }
.auth-shell .brand { display: inline-flex; align-items: center; gap: 10px; font-size: 18px; color: var(--auth-ink); }
.auth-shell .brand img { width: 36px; height: 36px; border-radius: 10px; }
.auth-shell .login-brand-icon { width: 35px; height: 35px; filter: none; }
.auth-shell .login-brand-wordmark { width: 108px; }
.auth-shell .login-brand-lockup { gap: 8px; }
.auth-shell .entry-title {
    margin: 0 0 28px;
    color: var(--auth-ink);
    font-size: clamp(29px, 3vw, 45px);
    line-height: 1.1;
    letter-spacing: -.045em;
    font-weight: 650;
}
.auth-methods { display: grid; gap: 10px; }
.auth-shell .auth-method, .auth-shell .auth-email > summary {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 11px;
    box-sizing: border-box;
    width: 100%;
    min-height: 48px;
    padding: 12px 16px;
    color: var(--auth-ink);
    text-decoration: none;
    text-align: center;
    background: #fff;
    border: 1px solid var(--auth-line);
    border-radius: var(--auth-radius);
    cursor: pointer;
    font-family: inherit;
    font-size: 15px;
    font-weight: 600;
    line-height: 1.3;
}
.auth-shell .auth-method svg, .auth-email > summary svg { width: 20px; height: 20px; flex: none; }
.auth-shell .auth-method:hover { border-color: var(--auth-accent); background: #f1fbfd; }
.auth-shell .auth-method:disabled { color: #657688; background: #f5f7f9; border-color: #e0e7ec; cursor: default; }
.auth-method:focus-visible, .auth-email > summary:focus-visible, .preview-picks label:focus-visible {
    outline: 3px solid var(--auth-accent);
    outline-offset: 3px;
}
.auth-email { margin: 10px 0 0; }
.auth-shell .auth-email > summary {
    list-style: none;
    color: #fff;
    background: #126784;
    border-color: #126784;
}
.auth-email > summary::-webkit-details-marker { display: none; }
.auth-shell .auth-email > summary:hover { background: #0b5874; }
.auth-email[open] > summary { margin-bottom: 16px; }
.auth-shell .login-btn, .auth-shell .submit { min-height: 45px; font-size: 15px; }
.auth-shell .register-link[aria-disabled] { color: #6b7280; background: #f1f3f5; border: 0; cursor: default; }
.auth-shell .register-link { margin-top: 22px; }
.auth-shell .terms { line-height: 1.5; }
.auth-shell .fields { margin: 0; }
.auth-shell .flash-bubble { z-index: 6; }
.auth-showcase {
    display: grid;
    align-items: center;
    position: relative;
    min-width: 0;
    overflow: hidden;
    border-radius: 28px;
    background: radial-gradient(ellipse at 84% 10%, #cdf4ee 0%, transparent 60%), radial-gradient(ellipse at 15% 70%, #94cede 0%, transparent 55%), linear-gradient(134deg, #acd7ef, #b8dfec 68%, #dcefea);
    color: #123451;
}
.preview-selector { width: 100%; position: relative; }
.preview-selector > input { position: absolute; width: 1px; height: 1px; clip-path: inset(50%); }
.preview-art { padding: 5% 5% 5% 7%; }
.preview-window {
    box-sizing: border-box;
    width: 100%;
    aspect-ratio: 1.49;
    container-type: inline-size;
    overflow: hidden;
    background: #fff;
    border: 1px solid rgba(255,255,255,.85);
    border-radius: 15px;
    box-shadow: 0 24px 60px -24px #24547280, 0 0 0 1px #ffffff69;
}
.preview-bar {
    position: relative; display: flex; align-items: center; gap: 4px;
    padding: 1.8% 2.5%; height: 8%; background: #f3f6f9; border-bottom: 1px solid #e2e7ed;
}
.preview-bar i { width: 1cqw; height: 1cqw; border-radius: 100%; background: #afc0cc; }
.preview-bar span { position: absolute; left: 38%; width: 24%; border-radius: 4px; background: #e4ebef; text-align: center; font: 500 1.65cqw/1.45 system-ui,sans-serif; color: #495a6a; }
.preview-body { height: 92%; display: grid; grid-template-columns: 22% minmax(0,1fr); font: 500 1.85cqw/1.4 system-ui,sans-serif; }
.preview-nav { display: flex; flex-direction: column; gap: 1.6cqw; padding: 3cqw 1.25cqw; color: #d4e7f5; background: #142d46; }
.preview-nav img { width: 5cqw; height: 5cqw; margin: 0 1cqw 2cqw; border-radius: 1.2cqw; }
.preview-nav b { margin: 0 1cqw; font-size: 1.42cqw; font-weight: 600; color: #a3c0d5; }
.preview-nav span { padding: .8cqw 1cqw; border-radius: .65cqw; }
#preview-deals:checked ~ .preview-art .nav-deals, #preview-calendar:checked ~ .preview-art .nav-calendar { color: white; background: #24627d; }
.preview-main { padding: 4cqw 2.8cqw; background: #f7f9fb; overflow: hidden; }
.preview-main small { font-size: 1.65cqw; color: #5a6c7e; }
.preview-main h3 { margin: 1cqw 0 3.5cqw; font-size: 3.8cqw; line-height: 1.22; letter-spacing: -.045em; color: #24354b; }
.preview-board, .preview-week { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 1cqw; }
.preview-board > div { padding: 1.1cqw; min-height: 33cqw; background: #ecf1f5; border-top: .5cqw solid #37a7be; border-radius: .9cqw; }
.preview-board > div:nth-child(2) { border-color: #e1a949; }
.preview-board > div:nth-child(3) { border-color: #52a787; }
.preview-main h4 { margin: .6cqw .4cqw 1.4cqw; font-size: 1.95cqw; }
.preview-main article { display: grid; align-content: start; gap: .8cqw; margin: 0 0 1.2cqw; padding: 1.6cqw 1.2cqw; font-size: 1.7cqw; line-height: 1.4; border-radius: .8cqw; background: #fff; box-shadow: 0 1px 3px #213f5620; color: #34495b; }
.preview-main article i { width: 3.8cqw; height: .55cqw; border-radius: 5px; background: #acd7e5; }
.preview-main article span { color: #65788a; font-size: 1.45cqw; }
.preview-week { gap: 0; background: #fff; border: 1px solid #e1e8ee; border-radius: .9cqw; overflow: hidden; }
.preview-week > div { min-height: 32cqw; border-right: 1px solid #e1e8ee; background: repeating-linear-gradient(0deg, transparent, transparent calc(7cqw - 1px), #edf1f4 calc(7cqw - 1px), #edf1f4 7cqw); }
.preview-week b { display: block; padding: 1.2cqw; font-size: 1.7cqw; background: #f1f5f8; }
.preview-week article { margin: 2.3cqw .8cqw; border-left: .55cqw solid #3e9eb5; background: #e5f3f7; }
.preview-week > div:nth-child(2) article { margin-top: 13cqw; background: #fff3dd; border-color: #dfa942; }
.preview-week > div:nth-child(3) article { margin-top: 8cqw; background: #eaf5ec; border-color: #65a684; }
.preview-caption { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 12px; margin: 0 5% 0 7%; }
.preview-caption h2 { font-size: clamp(20px,2.1vw,32px); font-weight: 600; letter-spacing: -.04em; margin: 0; line-height: 1.2; }
.preview-picks { display: flex; gap: 2px; padding: 3px; border-radius: 100px; background: #ffffff75; }
.preview-picks label { cursor: pointer; padding: 5px 11px; border-radius: 100px; font: 600 12px/1.5 system-ui,sans-serif; }
#preview-deals:checked ~ .preview-caption label[for=preview-deals], #preview-calendar:checked ~ .preview-caption label[for=preview-calendar] { background: #fff; }
#preview-deals:focus-visible ~ .preview-caption label[for=preview-deals], #preview-calendar:focus-visible ~ .preview-caption label[for=preview-calendar] { outline: 2px solid #145677; }
#preview-deals:checked ~ * .screen-calendar, #preview-deals:checked ~ * .caption-calendar,
#preview-calendar:checked ~ * .screen-deals, #preview-calendar:checked ~ * .caption-deals { display: none; }
@media (max-width: 740px) {
    .auth-page .auth-shell { display: block; max-width: 560px; padding: 0; }
    .auth-shell > .login-card-wrap, .auth-shell > .form-side { padding: 36px 24px; max-width: none; }
    .auth-shell .entry-title { font-size: 32px; }
    .auth-showcase { margin: 0 12px 12px; border-radius: 18px; }
    .preview-selector { padding: 15px 0 20px; }
    .preview-caption h2 { font-size: 19px; }
}
@media (max-width: 360px) {
    .auth-shell > .login-card-wrap, .auth-shell > .form-side { padding: 26px 17px; }
    .preview-caption { align-items: start; flex-direction: column; }
}
.auth-shell .login-brand-lockup { display: inline-flex; align-items: center; }
.auth-shell .login-brand-lockup .st0 { fill: #acddf6; }
.auth-shell .login-brand-lockup .st1 { fill: #0d1625; }
.auth-shell .login-brand-lockup .st2 { fill: #4ebbec; }
.auth-shell .login-brand-lockup .st3 { fill: #27357b; }
