/* BUDGETGRID — the live-mode entry gate (.portal-gate) */
.portal-gate { min-height: 100vh; }
.portal-gate .gate-stage { min-height: 100vh; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 18px; padding: 32px 16px; background: radial-gradient(1100px 560px at 50% -10%, var(--grid-wash), transparent 62%), var(--bg); }
.portal-gate .gate-card { width: min(460px, 100%); background: var(--card); border: 1px solid var(--line); border-radius: var(--r-4); box-shadow: var(--shadow-2); padding: 28px; }
.portal-gate .gate-card.is-wide { width: min(620px, 100%); }
.portal-gate .gate-brand { margin-bottom: 18px; }
.portal-gate .gate-card h1 { font-size: clamp(22px, 3vw, 28px); margin: 0 0 6px; }
.portal-gate .gate-sub { color: var(--ink-3); font-size: 14px; margin: 0 0 20px; }
.portal-gate .gate-foot { display: flex; flex-wrap: wrap; gap: 6px; justify-content: center; margin-top: 16px; padding-top: 14px; border-top: 1px solid var(--line); }
.portal-gate .gate-legal { font-size: 12px; color: var(--ink-4); text-align: center; max-width: 460px; line-height: 1.5; }
.portal-gate .gate-err { display: flex; align-items: flex-start; gap: 8px; padding: 10px 12px; border-radius: var(--r-2); background: var(--brick-wash); color: var(--brick-ink); font-size: 13.5px; font-weight: 600; }
.portal-gate .gate-err .ic { flex: none; margin-top: 1px; }
.portal-gate .gate-ok { display: flex; align-items: center; gap: 8px; padding: 12px 14px; border-radius: var(--r-2); background: var(--grid-wash); color: var(--grid-ink); font-size: 13.5px; font-weight: 600; }
.portal-gate .gate-loading { display: grid; place-items: center; padding: 28px 0; color: var(--ink-3); }
.portal-gate .gate-loading .ic { width: 28px; height: 28px; }
.portal-gate .gate-tabs { display: flex; gap: 2px; background: var(--bg-2); border-radius: var(--r-2); padding: 3px; margin-bottom: 16px; }
.portal-gate .gate-tab { flex: 1; border: none; background: transparent; padding: 8px 10px; border-radius: 9px; font: inherit; font-size: 13px; font-weight: 600; color: var(--ink-3); cursor: pointer; }
.portal-gate .gate-tab.is-on { background: var(--card); color: var(--ink); box-shadow: var(--shadow-1); }
.portal-gate .gate-plans { display: grid; gap: 8px; }
.portal-gate .gate-plan { display: block; position: relative; border: 1px solid var(--line-2); border-radius: var(--r-2); padding: 10px 12px 10px 34px; cursor: pointer; transition: border-color var(--t-fast), background var(--t-fast); }
.portal-gate .gate-plan:hover { border-color: var(--grid); }
.portal-gate .gate-plan.is-on { border-color: var(--grid); background: var(--grid-wash); }
.portal-gate .gate-plan input { position: absolute; left: 12px; top: 14px; accent-color: var(--grid); }
.portal-gate .gate-plan-h { display: flex; align-items: baseline; justify-content: space-between; gap: 8px; }
.portal-gate .gate-plan-h b { font-size: 14px; }
.portal-gate .gate-plan-h em { font-style: normal; font-size: 12.5px; color: var(--grid-ink); font-weight: 700; }
.portal-gate .gate-plan-d { display: block; font-size: 12.5px; color: var(--ink-3); margin-top: 2px; }
@media (max-width: 520px) { .portal-gate .gate-card { padding: 20px; border-radius: var(--r-3); } }
