.secure-login{min-height:100dvh;display:grid;place-items:center;padding:clamp(1rem,4vw,3rem);background:var(--ref-page,#f0f4f6);color:var(--ref-ink,#193447)}
.secure-login *{box-sizing:border-box}
.secure-shell{display:grid;grid-template-columns:.9fr 1.1fr;width:min(100%,960px);border-radius:1.75rem;overflow:hidden;border:1px solid #dde6e3;box-shadow:0 24px 80px #122b3712;background:#fff}
.secure-story{display:flex;flex-direction:column;justify-content:space-between;padding:clamp(1.75rem,4vw,3.25rem);background:#102f3a;color:#fff;min-width:0}
.secure-wordmark{align-self:flex-start;display:inline-flex;flex-direction:column;font-size:2.25rem;font-weight:800;letter-spacing:-.09em;line-height:1}
.secure-wordmark small{font-size:.65rem;letter-spacing:.12em;color:#87ddd2;align-self:flex-end;margin-block-start:.4rem}
.secure-wordmark[dir=rtl]{letter-spacing:0;line-height:1.4}.secure-wordmark[dir=rtl] small{letter-spacing:0}
.secure-story-copy{margin-block:2rem}.secure-eyebrow{font-size:.68rem;font-weight:700;letter-spacing:.13em;color:#91d9d0;margin:0 0 1.25rem}
.secure-headline{font-size:2rem;font-weight:750;letter-spacing:-.035em;line-height:1.25;margin:0 0 1.25rem;max-width:18ch;text-wrap:balance}
[dir=rtl] .secure-headline{max-width:15ch;letter-spacing:0;line-height:1.6}
.secure-description{color:#c2d5da;font-size:.94rem;line-height:1.85;max-width:36ch;margin:0}
.secure-route-art{color:#4b807e;margin-block:1rem}.secure-route-art svg{display:block;width:100%;max-height:165px}
.secure-features{padding:1.25rem 0 0;margin:0;list-style:none;border-block-start:1px solid #ffffff26;display:grid;gap:1rem;font-size:.8rem;color:#d8e9eb}
.secure-features li{display:flex;align-items:center;gap:.75rem}.secure-features svg{color:#89dcd0;flex-shrink:0}
.secure-card{width:min(100%,32rem);padding:clamp(1.25rem,4vw,2.5rem);border:1px solid var(--color-border,#e2e8f0);border-radius:1.5rem;background:var(--color-surface,#fff);box-shadow:0 16px 45px #0f172a0c}
.secure-brand{display:flex;align-items:center;justify-content:space-between;gap:1rem;margin-block-end:1.75rem}.secure-brand img{object-fit:contain}
.secure-card h1{font-size:clamp(1.5rem,4vw,2rem);line-height:1.3;font-weight:800;margin-block-end:.75rem}.secure-card p{line-height:1.7;color:var(--color-text-secondary,#526174);margin-block-end:1.25rem}
.secure-field{display:grid;gap:.5rem;margin-block-end:1.1rem;font-weight:600}.secure-field input{width:100%;min-width:0;min-height:48px;padding:.75rem;border:1px solid var(--color-border,#94a3b8);border-radius:.65rem;background:var(--color-surface,#fff);color:var(--color-text,#17202a);font-weight:400}.secure-field input:read-only{font-family:monospace;font-size:.9rem}
.secure-link{color:var(--color-primary,#0f766e);text-decoration:underline;text-underline-offset:3px;padding:.625rem;min-height:44px;cursor:pointer}.secure-password>.secure-link{display:block;margin-inline-start:auto;margin-block-start:-.5rem;margin-block-end:.5rem}
.secure-primary{width:100%;min-height:48px;background:var(--color-primary,#0f766e);color:#fff;border-radius:.65rem;padding:.8rem;font-weight:700;cursor:pointer}.secure-primary:disabled,.secure-link:disabled{opacity:.5;cursor:not-allowed}
.secure-actions{display:flex;flex-wrap:wrap;justify-content:center;margin-block-start:1rem;gap:.4rem}.secure-card .secure-error{color:#b91c1c;border:1px solid #fecaca;border-radius:.5rem;padding:.75rem;background:#fef2f2}.secure-setup{padding:1rem;border:1px solid var(--color-border,#e2e8f0);border-radius:.75rem;margin-block-end:1.25rem}.secure-card .secure-help{font-size:.8rem}.secure-recovery{display:grid;gap:.65rem;list-style:none;padding:1rem;border-radius:.75rem;background:var(--color-background,#f1f5f9);overflow-wrap:anywhere;font-size:clamp(.65rem,2vw,.9rem)}.secure-saved{display:flex;gap:.75rem;align-items:flex-start;padding-block:1.25rem;line-height:1.5}.secure-saved input{width:20px;height:20px;flex-shrink:0;accent-color:var(--color-primary,#0f766e)}.secure-card :focus-visible{outline:3px solid var(--color-primary,#0f766e);outline-offset:3px}
.dark .secure-login{background:#101827;color:#edf2f7}.dark .secure-card{background:#182235;border-color:#334155}.dark .secure-card p{color:#cbd5e1}.dark .secure-field input{background:#101827;color:#edf2f7;border-color:#64748b}.dark .secure-recovery{background:#101827}
.secure-shell .secure-card{width:100%;border:0;border-radius:0;box-shadow:none;padding:clamp(1.75rem,4vw,3.25rem);align-self:center;min-width:0;background:#fff}
.secure-shell .secure-brand{margin-block-end:2rem}.secure-brand>.secure-link{border:1px solid #dde6e3;border-radius:999px;min-width:70px;text-decoration:none;font-size:.8rem}
.secure-shell .secure-kicker{margin:0 0 .65rem;color:#176d66;font-weight:650;font-size:.8rem}.secure-shell h1{font-size:2rem;letter-spacing:-.025em;margin:0 0 .7rem}
.secure-shell .secure-intro{font-size:.875rem;margin-block-end:2rem;color:#536770;max-width:36ch}
.secure-shell .secure-field{font-size:.825rem;gap:.6rem;margin-block-end:1.35rem}.secure-shell .secure-field input{background:var(--ref-surface);border-color:var(--ref-line);border-radius:.75rem;min-height:52px;padding:.85rem 1rem;font-size:1rem;transition:border-color .15s,box-shadow .15s}
.secure-shell .secure-field input:focus{border-color:#0f766e;box-shadow:0 0 0 3px #0f766e18}
.secure-shell .secure-password{position:relative}.secure-shell .secure-password input{padding-inline-end:6rem}.secure-shell .secure-password>.secure-link{position:absolute;inset-inline-end:.35rem;bottom:.25rem;margin:0;text-decoration:none;font-size:.75rem;font-weight:650;color:#146c64}
.secure-shell .secure-primary{display:flex;align-items:center;justify-content:center;gap:1rem;min-height:52px;background:#0f766e;border:1px solid #0f766e;border-radius:.75rem;box-shadow:none;transition:background .15s}.secure-shell .secure-primary:hover:not(:disabled){background:#115e59}.secure-primary svg{flex-shrink:0}[dir=rtl] .secure-primary svg{transform:rotate(180deg)}
.secure-shell .secure-support{margin:1.5rem 0 0;padding-block-start:1.5rem;border-block-start:1px solid #e6ecea;font-size:.75rem;color:#5c6f77;line-height:1.8}.secure-footer{margin-block-start:2rem;font-size:.65rem;color:#64777e;letter-spacing:.02em}
.secure-login button:focus-visible,.secure-login input:focus-visible{outline:3px solid #16877c;outline-offset:3px}
.dark .secure-shell{border-color:#334155;background:#182235}.dark .secure-shell .secure-card{background:#182235}.dark .secure-shell .secure-field input{background:#101827;color:#edf2f7;border-color:#64748b}.dark .secure-brand>.secure-link{border-color:#64748b;color:#9ee9db}.dark .secure-shell .secure-password>.secure-link,.dark .secure-shell .secure-kicker{color:#9ee9db}.dark .secure-shell .secure-support{border-color:#475569}.dark .secure-footer{color:#b5c7cc}
@media(max-width:760px){.secure-login{padding:1rem}.secure-shell{grid-template-columns:1fr;max-width:460px;border-radius:1.25rem}.secure-story{padding:1.5rem;gap:1rem}.secure-wordmark,.secure-description,.secure-route-art,.secure-features{display:none}.secure-story-copy{margin:0}.secure-eyebrow{margin:0 0 .65rem;font-size:.6rem}.secure-headline,[dir=rtl] .secure-headline{font-size:1.5rem;max-width:none;margin:0;line-height:1.5}.secure-shell .secure-card{padding:1.5rem}.secure-shell .secure-brand{margin-block-end:1.75rem}.secure-shell .secure-intro{margin-block-end:1.5rem}.secure-footer{margin-block-start:1.25rem}}
@media(prefers-reduced-motion:reduce){.secure-login *{transition:none!important;animation:none!important;scroll-behavior:auto!important}}
.blacklist-page{min-width:0;color:var(--color-text,#17202a)}.blacklist-page p{line-height:1.7}.blacklist-button{min-height:44px;border:1px solid var(--color-border,#94a3b8);border-radius:.5rem;padding:.625rem 1rem;background:var(--color-surface,#fff);color:var(--color-text,#17202a);cursor:pointer;font-weight:600}.blacklist-button:disabled{opacity:.5;cursor:not-allowed}.blacklist-controls{display:flex;gap:1rem;flex-wrap:wrap;margin-block:1.25rem}.blacklist-controls label,.blacklist-add label{display:grid;gap:.5rem}.blacklist-controls form{display:flex;gap:.75rem;align-items:end;flex-wrap:wrap}.blacklist-controls form label{align-self:center}.blacklist-page input:not([type=checkbox]),.blacklist-page select{min-height:44px;border:1px solid var(--color-border,#94a3b8);border-radius:.5rem;padding:.625rem;background:var(--color-surface,#fff);color:var(--color-text,#17202a);max-width:100%}.blacklist-scroll{overflow-x:auto;max-width:100%;border:1px solid var(--color-border,#e2e8f0);border-radius:.75rem;background:var(--color-surface,#fff)}.blacklist-scroll table{width:100%;min-width:760px;border-collapse:collapse;text-align:start}.blacklist-scroll th,.blacklist-scroll td{padding:.875rem;text-align:start;border-block-end:1px solid var(--color-border,#e2e8f0)}.blacklist-scroll td{max-width:35ch;overflow-wrap:anywhere}.blacklist-pagination{display:flex;gap:1rem;align-items:center;justify-content:center;margin-block:1.25rem}.blacklist-add{padding:1.25rem;background:var(--color-surface,#fff);border:1px solid var(--color-border,#e2e8f0);border-radius:.75rem;margin-block-start:1.25rem}.blacklist-add h2{font-size:1.25rem;font-weight:700;margin-block-end:1rem}.blacklist-add form{display:grid;gap:.75rem;max-width:36rem}.blacklist-add .blacklist-confirm{display:flex;align-items:start;gap:.75rem;line-height:1.6}.blacklist-confirm input{width:20px;height:20px;flex-shrink:0;margin-block-start:.25rem}.blacklist-danger{background:#b91c1c;color:#fff;border-color:#b91c1c}.blacklist-notice{padding:1rem;color:var(--color-primary,#0f766e)}.blacklist-empty{padding:1.25rem;background:var(--color-surface,#fff);border-radius:.5rem}.blacklist-page .secure-error{padding:1rem;color:#b91c1c;background:#fef2f2;border:1px solid #fecaca;border-radius:.5rem}.blacklist-page :focus-visible{outline:3px solid var(--color-primary,#0f766e);outline-offset:3px}.dark .blacklist-page{color:#edf2f7}.dark .blacklist-add,.dark .blacklist-scroll,.dark .blacklist-button,.dark .blacklist-page input:not([type=checkbox]),.dark .blacklist-page select{background:#182235;color:#edf2f7;border-color:#64748b}@media(max-width:640px){.blacklist-controls,.blacklist-controls form{display:grid;width:100%}.blacklist-controls input,.blacklist-controls select{width:100%;min-width:0}.blacklist-pagination{gap:.5rem;flex-wrap:wrap}}

/* Match the workspace surfaces without changing authentication behavior. */
body .secure-shell{border-radius:16px;box-shadow:none}
body .secure-shell .secure-card{background:var(--ref-surface);color:var(--ref-ink)}
body .secure-shell .secure-intro{color:var(--ref-muted);max-width:none}
body .secure-shell .secure-field input{color:var(--ref-ink);caret-color:var(--ref-accent);border-radius:8px;box-shadow:none}
body .secure-shell .secure-primary{background:var(--ref-accent);border-color:var(--ref-accent);color:var(--ref-on-accent);border-radius:8px;box-shadow:none}
body .secure-shell .secure-support,body .secure-footer{color:var(--ref-muted);font-size:.8125rem;border-color:var(--ref-line)}
body .secure-shell .secure-password>.secure-link{color:var(--ref-accent)}
body .secure-shell .secure-primary:hover:not(:disabled){background:var(--ref-accent);filter:brightness(.92)}
body .secure-card .secure-error{font-size:.875rem;line-height:1.5}
body.dark .secure-login,.dark body .secure-login{background:var(--ref-page)}
@media(max-width:760px){body .secure-login{padding:12px;align-items:center}body .secure-story{display:none}body .secure-shell .secure-card{padding:24px}body .secure-shell .secure-brand{margin-block-end:24px}body .secure-shell h1{font-size:1.5rem}body .secure-shell .secure-support{margin-block-start:20px;padding-block-start:16px}}
@media(max-width:360px){body .secure-shell .secure-card{padding:16px}}
@media(min-width:761px){body .secure-login{padding:clamp(20px,3vw,48px);align-items:center}body .secure-shell{width:min(100%,1440px);min-height:min(820px,calc(100dvh - 64px));grid-template-columns:1fr 1fr}body .secure-shell .secure-card{width:100%;max-width:660px;justify-self:center;padding:clamp(28px,4vw,64px)}body .secure-story{padding:clamp(32px,4.5vw,72px)}body .secure-headline{font-size:clamp(2rem,3vw,3.25rem);max-width:18ch}}

.secure-field select{width:100%;min-width:0;min-height:48px;padding:10px 12px;border:1px solid var(--border-color,#cbd5e1);border-radius:10px;color:inherit;background:var(--card-bg,#fff)}
.dark .secure-field select{background:#0f2436;color:#e8f0f7;border-color:#486174}
