/* Seal POS shared auth shell (login / register / forgot) */
* { box-sizing: border-box; margin: 0; padding: 0; }
        html, body { min-height: 100%; }
        body {
            font-family: var(--seal-font);
            background: var(--seal-bg);
            color: var(--seal-ink);
        }

        .auth-shell {
            min-height: 100vh;
            display: grid;
            grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
        }

        /* —— Left marketing panel —— */
        .auth-hero {
            position: relative;
            background: radial-gradient(120% 80% at 10% 0%, #14264a 0%, var(--seal-navy-deep) 45%, #020b16 100%);
            color: #fff;
            padding: 1.75rem 2.25rem 1.5rem;
            overflow: hidden;
            display: flex;
            flex-direction: column;
            min-height: 100vh;
        }
        .auth-hero::before {
            content: "";
            position: absolute;
            inset: 0;
            background:
                radial-gradient(ellipse 50% 40% at 70% 60%, rgba(0, 135, 90, 0.18), transparent 60%),
                url("data:image/svg+xml,%3Csvg width='600' height='600' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M-40 120 C120 40, 280 200, 440 80 S720 160, 820 40' fill='none' stroke='%2300875a' stroke-opacity='0.18' stroke-width='1.5'/%3E%3Cpath d='M-60 280 C100 200, 260 360, 420 240 S700 320, 860 200' fill='none' stroke='%2300875a' stroke-opacity='0.12' stroke-width='1.2'/%3E%3Cpath d='M-20 460 C140 380, 300 520, 460 400 S740 480, 900 360' fill='none' stroke='%2300875a' stroke-opacity='0.1' stroke-width='1'/%3E%3C/svg%3E");
            background-size: cover;
            pointer-events: none;
        }
        .auth-hero > * { position: relative; z-index: 1; }

        .hero-top {
            display: flex;
            align-items: center;
            justify-content: space-between;
            gap: 1rem;
            margin-bottom: 2.5rem;
        }
        .hero-nav {
            display: flex;
            gap: 1.1rem;
            font-size: 0.68rem;
            font-weight: 700;
            letter-spacing: 0.12em;
            text-transform: uppercase;
            color: rgba(255,255,255,0.72);
            white-space: nowrap;
        }
        .hero-nav span { opacity: 0.9; }

        .hero-body {
            flex: 1;
            display: grid;
            grid-template-columns: minmax(0, 1fr) minmax(220px, 0.85fr);
            gap: 1.5rem;
            align-items: center;
        }

        .hero-copy h1 {
            font-size: clamp(2.4rem, 4.2vw, 3.6rem);
            font-weight: 800;
            letter-spacing: -0.035em;
            line-height: 1.05;
            margin-bottom: 1rem;
            color: #fff;
        }
        .hero-copy h1 .accent { color: var(--seal-green); }
        .hero-copy .lead {
            font-size: 1rem;
            line-height: 1.55;
            color: rgba(255,255,255,0.78);
            max-width: 34rem;
            margin-bottom: 1.75rem;
        }

        .hero-features {
            list-style: none;
            display: flex;
            flex-direction: column;
            gap: 1.1rem;
        }
        .hero-features li {
            display: grid;
            grid-template-columns: 42px 1fr;
            gap: 0.85rem;
            align-items: start;
        }
        .hero-feat-icon {
            width: 42px;
            height: 42px;
            border-radius: 50%;
            border: 1.5px solid rgba(0, 135, 90, 0.65);
            background: rgba(0, 135, 90, 0.12);
            display: flex;
            align-items: center;
            justify-content: center;
            color: var(--seal-lime);
            font-size: 1.1rem;
        }
        .hero-feat-text strong {
            display: block;
            font-size: 0.95rem;
            font-weight: 700;
            color: #fff;
            margin-bottom: 0.15rem;
        }
        .hero-feat-text span {
            font-size: 0.84rem;
            color: rgba(255,255,255,0.68);
            line-height: 1.4;
        }

        .hero-receipt-wrap {
            display: flex;
            justify-content: center;
            align-items: center;
            perspective: 900px;
            padding: 0.75rem 0.25rem 1rem;
        }
        .receipt-card {
            width: min(282px, 100%);
            background: #fbfaf6;
            color: #172033;
            border-radius: 3px 3px 1px 1px;
            padding: 1.05rem 1.05rem 1.2rem;
            box-shadow:
                0 32px 60px rgba(0,0,0,0.48),
                0 1px 0 rgba(255,255,255,0.8) inset;
            transform: rotate(-4deg) rotateY(2deg);
            transform-origin: 50% 50%;
            font-family: "Public Sans", Arial, sans-serif;
            font-size: 0.57rem;
            line-height: 1.35;
            position: relative;
            font-variant-numeric: tabular-nums;
        }
        .receipt-card::after {
            content: "";
            position: absolute;
            left: 0;
            right: 0;
            bottom: -9px;
            height: 10px;
            background:
                linear-gradient(135deg, #fbfaf6 50%, transparent 51%) 0 0 / 10px 10px,
                linear-gradient(225deg, #fbfaf6 50%, transparent 51%) 5px 0 / 10px 10px;
        }
        .receipt-head {
            text-align: center;
            margin-bottom: 0.55rem;
        }
        .receipt-brand {
            display: flex;
            align-items: center;
            justify-content: center;
            gap: 0.48rem;
            margin-bottom: 0.5rem;
        }
        .receipt-brand img {
            width: 37px;
            height: 37px;
            object-fit: contain;
        }
        .receipt-wordmark {
            text-align: left;
            line-height: 1;
        }
        .receipt-wordmark strong {
            display: block;
            font-weight: 800;
            font-size: 1.08rem;
            letter-spacing: -0.035em;
            color: #0b2742;
        }
        .receipt-wordmark .pos { color: #047857; }
        .receipt-wordmark small {
            display: block;
            margin-top: 0.26rem;
            font-size: 0.34rem;
            font-weight: 800;
            letter-spacing: 0.17em;
            color: #526071;
        }
        .receipt-merchant {
            color: #344054;
            font-size: 0.5rem;
            line-height: 1.45;
        }
        .receipt-title {
            margin-top: 0.38rem;
            font-size: 0.59rem;
            font-weight: 800;
            letter-spacing: 0.07em;
            color: #101828;
        }
        .receipt-meta {
            display: grid;
            grid-template-columns: 1fr auto;
            column-gap: 0.55rem;
            margin: 0.45rem 0 0.55rem auto;
            width: max-content;
            max-width: 100%;
            color: #344054;
            font-size: 0.47rem;
        }
        .receipt-meta span:nth-child(odd) { text-align: right; }
        .receipt-meta span:nth-child(even) {
            text-align: right;
            font-family: "JetBrains Mono", "Courier New", ui-monospace, monospace;
            color: #172033;
        }
        .receipt-table {
            width: 100%;
            border-collapse: collapse;
            margin-bottom: 0.45rem;
            color: #172033;
        }
        .receipt-table th {
            padding: 0.3rem 0.12rem;
            border-top: 1px solid #77808d;
            border-bottom: 1px solid #77808d;
            font-size: 0.47rem;
            font-weight: 800;
            text-align: right;
            white-space: nowrap;
        }
        .receipt-table th:first-child,
        .receipt-table td:first-child { text-align: left; padding-left: 0; }
        .receipt-table th:last-child,
        .receipt-table td:last-child { padding-right: 0; }
        .receipt-table td {
            padding: 0.25rem 0.12rem 0.06rem;
            text-align: right;
            font-size: 0.5rem;
            color: #344054;
        }
        .receipt-rule {
            border: 0;
            border-top: 1px dashed #a9afb7;
            margin: 0.32rem 0;
        }
        .receipt-summary { padding: 0.08rem 0; }
        .receipt-summary-row {
            display: grid;
            grid-template-columns: 1fr auto;
            gap: 0.75rem;
            color: #344054;
            margin: 0.14rem 0;
            font-size: 0.5rem;
        }
        .receipt-summary-row strong {
            color: #101828;
            font-size: 0.72rem;
            letter-spacing: 0.015em;
        }
        .receipt-summary-row.total {
            align-items: baseline;
            margin: 0.35rem 0;
        }
        .receipt-summary-row.total strong:last-child {
            font-size: 0.82rem;
        }
        .receipt-thanks {
            text-align: center;
            margin: 0.58rem 0 0.5rem;
            font-size: 0.44rem;
            color: #475467;
        }
        .receipt-fiscal {
            display: grid;
            grid-template-columns: 76px 1fr;
            gap: 0.65rem;
            align-items: center;
        }
        .receipt-qr {
            display: block;
            width: 76px;
            height: 76px;
            padding: 3px;
            background: #fff;
            border: 1px solid #d0d5dd;
            object-fit: contain;
        }
        .receipt-zimra {
            text-align: left;
            color: #172033;
        }
        .receipt-zimra-mark {
            display: flex;
            align-items: center;
            gap: 0.35rem;
            margin-bottom: 0.42rem;
        }
        .receipt-zimra-seal {
            width: 30px;
            height: 30px;
            border: 2px solid #c89b24;
            border-radius: 50%;
            display: inline-flex;
            align-items: center;
            justify-content: center;
            color: #047857;
            font-size: 0.75rem;
            font-weight: 800;
            background: #fffdf5;
        }
        .receipt-zimra-name strong {
            display: block;
            font-size: 0.82rem;
            line-height: 1;
            letter-spacing: 0.02em;
        }
        .receipt-zimra-name small {
            display: block;
            margin-top: 0.18rem;
            font-size: 0.34rem;
            color: #475467;
            white-space: nowrap;
        }
        .receipt-code-label {
            font-size: 0.36rem;
            letter-spacing: 0.06em;
            color: #667085;
        }
        .receipt-code {
            margin-top: 0.12rem;
            font-family: "JetBrains Mono", "Courier New", ui-monospace, monospace;
            font-size: 0.47rem;
            font-weight: 700;
            color: #172033;
            white-space: nowrap;
        }
        .receipt-verified {
            display: flex;
            align-items: center;
            justify-content: center;
            gap: 0.35rem;
            margin-top: 0.6rem;
            background: #047857;
            color: #fff;
            font-weight: 700;
            font-size: 0.5rem;
            padding: 0.36rem 0.55rem;
            border-radius: 999px;
            box-shadow: 0 2px 5px rgba(0,135,90,0.2);
        }
        .receipt-footer {
            border-top: 1px dashed #a9afb7;
            margin-top: 0.6rem;
            padding-top: 0.42rem;
            text-align: center;
            color: #667085;
            font-size: 0.38rem;
            line-height: 1.55;
        }

        .hero-bottom {
            margin-top: 2rem;
            display: flex;
            align-items: flex-end;
            justify-content: space-between;
            gap: 1.5rem;
            flex-wrap: wrap;
        }
        .powered {
            display: inline-flex;
            align-items: center;
            gap: 0.45rem;
            font-size: 0.72rem;
            font-weight: 600;
            letter-spacing: 0.06em;
            text-transform: uppercase;
            color: rgba(255,255,255,0.7);
        }
        .powered .dot {
            width: 18px; height: 18px; border-radius: 50%;
            background: var(--seal-green);
            display: inline-flex; align-items: center; justify-content: center;
            color: #fff; font-size: 0.65rem;
        }
        .steps {
            display: flex;
            gap: 1.25rem;
            flex-wrap: wrap;
        }
        .step {
            display: flex;
            align-items: center;
            gap: 0.45rem;
            font-size: 0.78rem;
            color: rgba(255,255,255,0.75);
        }
        .step strong {
            color: var(--seal-gold, #cba135);
            font-family: var(--seal-font-mono);
            font-variant-numeric: tabular-nums;
            font-size: 0.85rem;
        }
        .step.is-active { color: #fff; font-weight: 600; }

        /* —— Right form panel —— */
        .auth-panel {
            background: var(--seal-bg);
            position: relative;
            display: flex;
            flex-direction: column;
            min-height: 100vh;
            padding: 1.5rem 2rem 1.25rem;
            overflow: hidden;
        }
        .auth-panel::after {
            content: "";
            position: absolute;
            right: -10%;
            bottom: -8%;
            width: 55%;
            height: 40%;
            background: url("data:image/svg+xml,%3Csvg width='500' height='300' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M0 200 C80 120, 160 260, 260 160 S420 220, 520 100' fill='none' stroke='%2300875a' stroke-opacity='0.08' stroke-width='2'/%3E%3Cpath d='M0 250 C100 180, 180 300, 300 200 S460 260, 560 140' fill='none' stroke='%2300875a' stroke-opacity='0.06' stroke-width='1.5'/%3E%3C/svg%3E") no-repeat right bottom;
            background-size: contain;
            pointer-events: none;
        }
        .auth-panel > * { position: relative; z-index: 1; }

        .panel-top {
            display: flex;
            justify-content: flex-end;
            margin-bottom: 1.5rem;
        }
        .panel-top .sealpos-login-net {
            margin: 0;
        }

        .panel-main {
            flex: 1;
            display: flex;
            flex-direction: column;
            justify-content: center;
            max-width: 420px;
            width: 100%;
            margin: 0 auto;
            padding: 0.5rem 0 1.5rem;
        }

        .panel-logo {
            display: flex;
            justify-content: center;
            margin-bottom: 1.75rem;
        }
        .panel-logo .seal-brand-mark img { width: 52px; height: 52px; }
        .panel-logo .seal-brand-wordmark .seal-name {
            font-size: 1.55rem;
            color: var(--seal-ink);
        }
        .panel-logo .seal-brand-wordmark .seal-by {
            color: var(--seal-muted);
            opacity: 1;
        }

        .panel-main h1 {
            font-size: 2rem;
            font-weight: 800;
            letter-spacing: -0.03em;
            color: var(--seal-ink);
            margin-bottom: 0.4rem;
            text-align: center;
        }
        .panel-main .sub {
            text-align: center;
            color: var(--seal-muted);
            font-size: 0.95rem;
            margin-bottom: 1.75rem;
            line-height: 1.45;
        }

        .alert {
            border-radius: var(--seal-radius);
            padding: 0.75rem 0.9rem;
            font-size: 0.88rem;
            margin-bottom: 1rem;
            display: flex;
            gap: 0.5rem;
            align-items: flex-start;
        }
        .alert-danger { background: var(--seal-danger-bg); color: #991b1b; border: 1px solid #fecaca; }
        .alert-success { background: var(--seal-success-bg); color: #065f46; border: 1px solid #a7f3d0; }

        .field { margin-bottom: 1rem; }
        .field label {
            display: block;
            font-size: 0.84rem;
            font-weight: 600;
            color: var(--seal-ink-soft);
            margin-bottom: 0.4rem;
        }
        .field-row {
            display: flex;
            justify-content: space-between;
            align-items: center;
            margin-bottom: 0.4rem;
        }
        .field-row label { margin-bottom: 0; }
        .forgot {
            font-size: 0.84rem;
            font-weight: 600;
            color: var(--seal-green);
            text-decoration: none;
        }
        .forgot:hover { text-decoration: underline; }

        .control {
            position: relative;
            display: flex;
            align-items: center;
        }
        .control > i.leading {
            position: absolute;
            left: 0.95rem;
            color: var(--seal-muted);
            font-size: 1rem;
            pointer-events: none;
        }
        .control input {
            width: 100%;
            height: 48px;
            border: 1.5px solid var(--seal-line-strong);
            border-radius: var(--seal-radius);
            padding: 0 2.75rem 0 2.65rem;
            font: inherit;
            font-size: 0.95rem;
            color: var(--seal-ink);
            background: #fff;
            outline: none;
            transition: border-color .15s, box-shadow .15s;
        }
        .control input::placeholder { color: #98a2b3; }
        .control input:focus {
            border-color: var(--seal-green);
            box-shadow: 0 0 0 3px rgba(0, 135, 90, 0.15);
        }
        .control .pw-toggle {
            position: absolute;
            right: 0.55rem;
            border: 0;
            background: transparent;
            color: var(--seal-muted);
            width: 36px;
            height: 36px;
            border-radius: 8px;
            cursor: pointer;
            display: inline-flex;
            align-items: center;
            justify-content: center;
        }
        .control .pw-toggle:hover { color: var(--seal-ink); background: var(--seal-bg-soft); }

        .form-meta {
            display: flex;
            align-items: center;
            justify-content: space-between;
            gap: 0.75rem;
            margin: 0.35rem 0 1.15rem;
            flex-wrap: wrap;
        }
        .remember {
            display: inline-flex;
            align-items: center;
            gap: 0.5rem;
            font-size: 0.88rem;
            color: var(--seal-ink-soft);
            cursor: pointer;
            user-select: none;
        }
        .remember input {
            width: 16px;
            height: 16px;
            accent-color: var(--seal-green);
        }

        .btn-primary {
            width: 100%;
            height: 50px;
            border: 0;
            border-radius: var(--seal-radius);
            background: var(--seal-green);
            color: #fff;
            font: inherit;
            font-weight: 700;
            font-size: 1rem;
            cursor: pointer;
            display: inline-flex;
            align-items: center;
            justify-content: center;
            gap: 0.5rem;
            transition: background .15s, transform .05s;
        }
        .btn-primary:hover { background: var(--seal-green-hover); }
        .btn-primary:active { transform: translateY(1px); }

        .auth-signup {
            margin: 1.15rem 0 0;
            text-align: center;
            font-size: 0.9rem;
            color: var(--seal-muted);
        }
        .auth-signup a {
            color: var(--seal-green);
            font-weight: 600;
            text-decoration: none;
        }
        .auth-signup a:hover { text-decoration: underline; }

        .panel-foot {
            display: flex;
            justify-content: space-between;
            align-items: center;
            gap: 1rem;
            padding-top: 1rem;
            font-size: 0.78rem;
            color: var(--seal-muted);
        }
        .panel-foot a {
            color: var(--seal-muted);
            text-decoration: none;
            margin-left: 0.65rem;
        }
        .panel-foot a:hover { color: var(--seal-green); }

        @media (max-width: 980px) {
            /* Below this width the hero + form can't sit side by side, and the hero's
               headline/features/receipt mockup is too tall to stack above the form
               without turning the login page into a long scroll. Mobile gets the form
               only, filling the screen — the brand still shows via the small logo in
               .panel-logo, it just drops the marketing content. Desktop is unaffected. */
            .auth-shell { grid-template-columns: 1fr; }
            .auth-hero { display: none; }
        }
        @media (max-width: 520px) {
            .auth-panel {
                padding-left: 1.15rem;
                padding-right: 1.15rem;
                /* 100vh on mobile browsers can be taller than what's actually visible
                   under the address bar; 100dvh tracks the real visible height so the
                   form doesn't get pushed into a sliver of extra scroll. */
                min-height: 100dvh;
            }
            .panel-main h1 { font-size: 1.65rem; }
        }


/* —— Forgot / reset extras —— */
.auth-dev-link {
  margin: 0 0 1rem;
  padding: 0.75rem 0.9rem;
  border-radius: var(--seal-radius);
  background: #fffbeb;
  border: 1px solid #fcd34d;
  font-size: 0.8rem;
  color: #92400e;
  word-break: break-all;
  line-height: 1.45;
}
.auth-dev-link a {
  color: var(--seal-green);
  font-weight: 600;
}
.auth-panel a.btn-primary {
  display: inline-flex;
  width: 100%;
}

/* —— Register page extras (fit form panel in one viewport, no scroll) —— */
@media (min-width: 981px) {
  html:has(.auth-panel.is-register),
  body:has(.auth-panel.is-register) {
    height: 100%;
    max-height: 100vh;
    max-height: 100dvh;
    overflow: hidden;
  }
  .auth-shell:has(.is-register) {
    height: 100vh;
    height: 100dvh;
    max-height: 100vh;
    max-height: 100dvh;
    overflow: hidden;
  }
  .auth-shell:has(.is-register) .auth-hero {
    min-height: 0;
    height: 100%;
    overflow: hidden;
  }
  .auth-panel.is-register {
    height: 100%;
    max-height: 100%;
    min-height: 0;
    overflow: hidden !important;
  }
}
.auth-panel.is-register {
  padding: 0.75rem 1.5rem 0.85rem;
  display: flex;
  flex-direction: column;
  box-sizing: border-box;
}
.auth-panel.is-register::after {
  display: none;
}
.auth-panel.is-register .panel-top {
  position: absolute;
  top: 0.65rem;
  right: 1rem;
  margin: 0;
  z-index: 2;
}
.auth-panel.is-register .panel-main {
  flex: 1 1 auto;
  min-height: 0;
  justify-content: center;
  max-width: 560px;
  width: 100%;
  padding: 0;
  overflow: hidden;
  margin: 0 auto;
}
.auth-panel.is-register .panel-logo {
  display: none;
}
.auth-panel.is-register .panel-main h1 {
  font-size: clamp(1.35rem, 2.8vh, 1.7rem);
  margin-bottom: 0.2rem;
}
.auth-panel.is-register .panel-main .sub {
  font-size: clamp(0.85rem, 1.7vh, 0.95rem);
  margin-bottom: clamp(0.65rem, 1.6vh, 1rem);
}
.auth-panel.is-register .field {
  margin-bottom: clamp(0.4rem, 1.1vh, 0.65rem);
}
.auth-panel.is-register .field label {
  font-size: 0.82rem;
  margin-bottom: 0.25rem;
}
.auth-panel.is-register .control input {
  height: clamp(42px, 5vh, 48px);
  font-size: 0.95rem;
  padding: 0 2.6rem 0 2.55rem;
}
.auth-panel.is-register .control > i.leading {
  left: 0.9rem;
  font-size: 1rem;
}
.auth-panel.is-register .control .pw-toggle {
  width: 34px;
  height: 34px;
  right: 0.45rem;
}
.auth-panel.is-register .btn-primary {
  height: clamp(44px, 5.4vh, 50px);
  font-size: 0.98rem;
  margin-top: clamp(0.35rem, 1vh, 0.55rem);
}
.auth-panel.is-register .password-strength-meter {
  display: none;
}
.auth-panel.is-register .password-requirements {
  display: none !important;
}
.auth-panel.is-register .panel-foot {
  display: none;
}
.auth-panel.is-register .alert {
  padding: 0.45rem 0.6rem;
  font-size: 0.78rem;
  margin-bottom: 0.45rem;
}
.field-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(0.45rem, 1.2vh, 0.7rem) 0.9rem;
  margin-bottom: 0;
}
.field-grid + .field-grid {
  margin-top: clamp(0.45rem, 1.2vh, 0.7rem);
}
.field-grid .field { margin-bottom: 0; }
.field .hint {
  display: none;
}
.section-label {
  font-size: 0.62rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--seal-muted);
  margin: clamp(0.4rem, 1.1vh, 0.6rem) 0 clamp(0.25rem, 0.7vh, 0.35rem);
  padding-bottom: 0.2rem;
  border-bottom: 1px solid var(--seal-line);
}
.section-label:first-of-type { margin-top: 0; }
.check-rows {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.45rem 1.25rem;
  margin: clamp(0.4rem, 1.1vh, 0.65rem) 0;
}
.check-row {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  margin: 0;
  font-size: 0.86rem;
  color: var(--seal-ink-soft);
  line-height: 1.35;
  cursor: pointer;
  user-select: none;
}
.check-row input {
  width: 16px;
  height: 16px;
  margin-top: 0.15rem;
  accent-color: var(--seal-green);
  flex-shrink: 0;
}
.check-row a {
  color: var(--seal-green);
  font-weight: 600;
  text-decoration: none;
}
.check-row a:hover { text-decoration: underline; }
.tenant-validation {
  position: absolute;
  right: 0.75rem;
  top: 50%;
  transform: translateY(-50%);
  font-size: 0.72rem;
  font-weight: 600;
  pointer-events: none;
  white-space: nowrap;
}
.tenant-validation.tenant-available { color: var(--seal-green); }
.tenant-validation.tenant-taken { color: var(--seal-danger); }
.tenant-suggestions {
  position: absolute;
  left: 0;
  right: 0;
  top: calc(100% + 4px);
  background: #fff;
  border: 1px solid var(--seal-line-strong);
  border-radius: var(--seal-radius);
  box-shadow: var(--seal-shadow-sm);
  z-index: 20;
  overflow: hidden;
}
.tenant-suggestions .suggestion-item {
  padding: 0.55rem 0.75rem;
  font-size: 0.85rem;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 0.5rem;
}
.tenant-suggestions .suggestion-item:hover { background: var(--seal-green-soft); }
.tenant-suggestions .badge {
  font-size: 0.68rem;
  font-weight: 700;
  color: var(--seal-green);
  background: var(--seal-green-soft);
  padding: 0.15rem 0.45rem;
  border-radius: 999px;
}
.password-strength-meter {
  height: 3px;
  background: var(--seal-line);
  border-radius: 999px;
  margin-top: 0.3rem;
  overflow: hidden;
}
.password-strength-fill {
  height: 100%;
  width: 0;
  border-radius: 999px;
  transition: width .2s, background .2s;
}
.password-strength-fill.strength-weak { width: 25%; background: #ef4444; }
.password-strength-fill.strength-fair { width: 50%; background: #f59e0b; }
.password-strength-fill.strength-good { width: 75%; background: #14264a; }
.password-strength-fill.strength-strong { width: 100%; background: var(--seal-green); }
.password-requirements {
  margin-top: 0.3rem;
  font-size: 0.68rem;
  color: var(--seal-muted);
  display: grid;
  gap: 0.1rem;
}
.password-requirements .requirement-item.valid { color: var(--seal-green); }
.form-text-status {
  margin-top: 0.35rem;
  font-size: 0.78rem;
}
.form-text-status.text-success { color: var(--seal-green); }
.form-text-status.text-danger { color: var(--seal-danger); }
.control.has-trailing-status input { padding-right: 6.5rem; }
.control input.is-valid { border-color: var(--seal-green); }
.control input.is-invalid { border-color: var(--seal-danger); }
.success-next {
  margin-top: 0.85rem;
  font-size: 0.88rem;
}
.success-next ul {
  list-style: none;
  margin: 0.5rem 0 0;
  padding: 0;
  display: grid;
  gap: 0.4rem;
}
.success-next li {
  display: flex;
  gap: 0.45rem;
  align-items: flex-start;
}
.success-next i { color: var(--seal-green); margin-top: 0.1rem; }
.auth-modal-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(15, 23, 42, 0.45);
  z-index: 1000;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 1rem;
}
.auth-modal-backdrop.is-open { display: flex; }
.auth-modal {
  background: #fff;
  border-radius: var(--seal-radius-lg);
  max-width: 640px;
  width: 100%;
  max-height: min(80vh, 720px);
  display: flex;
  flex-direction: column;
  box-shadow: var(--seal-shadow);
}
.auth-modal-header, .auth-modal-footer {
  padding: 1rem 1.25rem;
  border-bottom: 1px solid var(--seal-line);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
}
.auth-modal-footer { border-bottom: 0; border-top: 1px solid var(--seal-line); justify-content: flex-end; }
.auth-modal-header h2 {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--seal-ink);
  margin: 0;
}
.auth-modal-close {
  border: 0;
  background: transparent;
  font-size: 1.35rem;
  line-height: 1;
  color: var(--seal-muted);
  cursor: pointer;
}
.auth-modal-body {
  padding: 1rem 1.25rem;
  overflow-y: auto;
  font-size: 0.9rem;
  color: var(--seal-ink-soft);
  line-height: 1.55;
}
.auth-modal-body h3 {
  font-size: 0.95rem;
  color: var(--seal-ink);
  margin: 1rem 0 0.4rem;
}
.auth-modal-body h3:first-child { margin-top: 0; }
.auth-modal-body ul { padding-left: 1.2rem; margin: 0.35rem 0; }
.btn-modal {
  height: 40px;
  padding: 0 1.1rem;
  border: 0;
  border-radius: var(--seal-radius);
  background: var(--seal-green);
  color: #fff;
  font: inherit;
  font-weight: 700;
  cursor: pointer;
}
.btn-modal:hover { background: var(--seal-green-hover); }
@media (max-width: 980px) {
  body:has(.auth-panel.is-register) {
    height: auto;
    overflow: auto;
  }
  .auth-shell:has(.is-register) {
    height: auto;
    overflow: visible;
  }
  .auth-panel.is-register {
    height: auto;
    max-height: none;
    min-height: auto;
    overflow: visible !important;
  }
  .auth-panel.is-register .panel-top {
    position: static;
    display: flex;
    justify-content: flex-end;
    margin-bottom: 0.35rem;
  }
  .auth-panel.is-register .panel-main {
    overflow: visible;
    justify-content: flex-start;
  }
  /* Same call as login: below 980px the marketing hero is dropped entirely
     rather than squeezed into a slim strip, so register matches login and
     neither page makes mobile scroll past brand content to reach the form.
     This selector is more specific than the plain .auth-hero rule above, so
     it has to repeat display:none here rather than relying on that one. */
  .auth-shell:has(.is-register) .auth-hero {
    display: none;
  }
}

@media (max-width: 420px) {
  .field-grid { grid-template-columns: 1fr; }
}
