:root { --primary:#257fc3; --primary-dark:#174f78; --green:#2e9a67; --ink:#173243; --soft:#557184; --border:#d9e7f0; --danger:#c94f43; --danger-dark:#97372f; --shadow:0 20px 55px rgba(31,77,108,.12); }
* { box-sizing:border-box; }
body { margin:0; min-height:100vh; color:var(--ink); background:radial-gradient(circle at 12% 8%,rgba(77,169,225,.18),transparent 31%),radial-gradient(circle at 88% 18%,rgba(75,190,129,.15),transparent 27%),#f7fbfd; font-family:"Nunito Sans",sans-serif; }
button,input,select,textarea { font:inherit; }
button,a { -webkit-tap-highlight-color:transparent; }
.portal-header { border-bottom:1px solid rgba(217,231,240,.9); background:rgba(255,255,255,.82); backdrop-filter:blur(16px); }
.portal-header-inner { position:relative; width:min(1180px,calc(100% - 36px)); min-height:76px; margin:auto; display:flex; align-items:center; gap:18px; }
.brand { display:flex; align-items:center; gap:11px; color:var(--ink); text-decoration:none; }
.brand img { width:44px; height:44px; object-fit:contain; }
.brand span { display:grid; line-height:1.05; }
.brand strong,.portal-hero h1,.success-card h1,h2,h3 { font-family:"Outfit",sans-serif; }
.brand strong { font-size:1.2rem; }
.brand small { margin-top:5px; color:var(--soft); font-weight:700; }
.security-chip { padding:8px 12px; border-radius:999px; color:#176743; background:rgba(46,154,103,.11); font-size:.82rem; font-weight:900; }
.portal-nav { margin-left:auto; display:flex; align-items:center; gap:4px; }
.portal-nav a { padding:9px 10px; border-radius:9px; color:var(--soft); text-decoration:none; font-size:.88rem; font-weight:850; }
.portal-nav a:hover,.portal-nav a:focus-visible { color:var(--primary-dark); background:rgba(37,127,195,.08); outline:none; }
.portal-menu-toggle { display:none; margin-left:auto; width:42px; height:42px; border:1px solid var(--border); border-radius:10px; color:var(--ink); background:#fff; cursor:pointer; font-size:1.25rem; }
.portal-main { width:min(960px,calc(100% - 32px)); margin:0 auto; padding:64px 0 80px; }
.portal-hero { max-width:760px; margin:0 auto 32px; text-align:center; }
.eyebrow { margin:0 0 7px; color:var(--primary); font-size:.76rem; font-weight:900; letter-spacing:.12em; text-transform:uppercase; }
.portal-hero h1,.success-card h1 { margin:0; font-size:clamp(2.15rem,6vw,3.65rem); line-height:1.04; letter-spacing:-.035em; }
.portal-hero > p:last-child { max-width:700px; margin:18px auto 0; color:var(--soft); font-size:1.06rem; line-height:1.75; }
.portal-card { display:grid; gap:18px; max-width:680px; margin:0 auto 20px; padding:28px; border:1px solid rgba(217,231,240,.95); border-radius:22px; background:rgba(255,255,255,.94); box-shadow:var(--shadow); }
.portal-card > p { margin:0; color:var(--soft); line-height:1.65; }
.card-heading { display:flex; align-items:center; gap:14px; }
.card-heading > span { flex:0 0 42px; height:42px; display:grid; place-items:center; border-radius:13px; color:#fff; background:linear-gradient(135deg,var(--primary),#4eacd8); font-weight:900; }
.card-heading.danger > span { background:linear-gradient(135deg,var(--danger),#df7c67); }
.card-heading h2 { margin:0; font-size:1.55rem; }
.card-heading .eyebrow { margin-bottom:3px; }
.portal-form { display:grid; gap:16px; }
label { display:grid; gap:7px; color:var(--ink); font-weight:850; }
label small { color:var(--soft); font-weight:700; }
input,select,textarea { width:100%; border:1px solid #c9dce8; border-radius:12px; padding:13px 14px; color:var(--ink); background:#fff; outline:none; transition:border-color .18s,box-shadow .18s; }
input:focus,select:focus,textarea:focus { border-color:var(--primary); box-shadow:0 0 0 4px rgba(37,127,195,.12); }
textarea { resize:vertical; min-height:120px; }
.code-input { text-align:center; font-family:ui-monospace,SFMono-Regular,Consolas,monospace; font-size:1.15rem; font-weight:900; letter-spacing:.1em; text-transform:uppercase; }
.button { min-height:48px; display:inline-flex; align-items:center; justify-content:center; gap:9px; border:0; border-radius:12px; padding:12px 18px; cursor:pointer; text-decoration:none; font-weight:900; transition:transform .16s,box-shadow .16s,opacity .16s; }
.button:hover:not(:disabled) { transform:translateY(-1px); }
.button:focus-visible,.text-button:focus-visible { outline:3px solid rgba(37,127,195,.3); outline-offset:3px; }
.button:disabled { cursor:not-allowed; opacity:.48; }
.button-primary { color:#fff; background:linear-gradient(135deg,var(--primary),#3099ce); box-shadow:0 10px 24px rgba(37,127,195,.22); }
.button-secondary { color:var(--ink); background:#edf4f8; }
.button-google { border:1px solid var(--border); color:var(--ink); background:#fff; }
.button-google span { color:#4285f4; font-size:1.2rem; }
.button-danger { color:#fff; background:linear-gradient(135deg,var(--danger),#dc6557); box-shadow:0 10px 24px rgba(201,79,67,.2); }
.divider { display:flex; align-items:center; gap:12px; color:#8aa0ae; font-size:.8rem; font-weight:850; text-transform:uppercase; }
.divider::before,.divider::after { content:""; flex:1; height:1px; background:var(--border); }
.text-button { justify-self:start; border:0; padding:0; color:var(--primary-dark); background:transparent; cursor:pointer; font-weight:850; text-decoration:underline; }
.status-message { min-height:1.4em; margin:0; color:var(--soft); white-space:pre-line; }
.status-message.is-error { color:var(--danger-dark); font-weight:800; }
.status-message.is-success { color:#176743; font-weight:800; }
.notice-card { grid-template-columns:auto 1fr; align-items:start; }
.notice-card h2 { margin:0 0 6px; }
.notice-card p { margin:0; color:var(--soft); line-height:1.6; }
.notice-icon { font-size:2rem; }
.information-grid { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:16px; margin:30px 0 20px; }
.information-card { max-width:none; margin:0; padding:22px; align-content:start; box-shadow:0 14px 34px rgba(31,77,108,.08); }
.information-card > span { font-size:1.8rem; }
.information-card h3 { margin:0; font-size:1.12rem; }
.information-card p { font-size:.93rem; }
.deletion-card { max-width:760px; }
.irreversible { padding:15px; border:1px solid rgba(201,79,67,.22); border-radius:13px; background:rgba(201,79,67,.07); }
.irreversible p { margin:4px 0 0; color:var(--soft); }
.acknowledgement { grid-template-columns:auto 1fr; align-items:start; padding:14px; border-radius:12px; background:#f4f8fb; }
.acknowledgement input { width:20px; height:20px; margin:2px 0 0; }
.success-card { max-width:720px; justify-items:center; padding:46px 32px; text-align:center; }
.success-icon { width:66px; height:66px; display:grid; place-items:center; border-radius:50%; color:#fff; background:var(--green); font-size:2rem; font-weight:900; }
.portal-footer { border-top:1px solid var(--border); background:#173243; color:#dcebf4; }
.portal-footer-inner { width:min(1180px,calc(100% - 36px)); margin:auto; padding:36px 0; display:grid; grid-template-columns:minmax(260px,.8fr) minmax(0,1.2fr); gap:36px; align-items:start; }
.portal-footer strong { color:#fff; font-family:"Outfit",sans-serif; font-size:1.2rem; }
.portal-footer p { max-width:460px; margin:9px 0; line-height:1.55; }
.portal-footer small { color:#a9c0cf; }
.portal-footer-links { display:flex; flex-wrap:wrap; justify-content:flex-end; gap:10px 20px; }
.portal-footer-links a { color:#dcebf4; text-decoration:none; font-weight:750; }
.portal-footer-links a:hover,.portal-footer-links a:focus-visible { color:#fff; text-decoration:underline; }
.confirm-modal { position:fixed; inset:0; z-index:1000; display:grid; place-items:center; padding:18px; background:rgba(15,39,54,.66); backdrop-filter:blur(10px); }
.confirm-panel { width:min(520px,100%); display:grid; gap:17px; padding:26px; border-radius:20px; background:#fff; box-shadow:0 28px 80px rgba(10,30,43,.3); }
.confirm-panel h2,.confirm-panel p { margin:0; }
.confirm-panel > p:not(.eyebrow) { color:var(--soft); line-height:1.6; }
.confirm-actions { display:flex; justify-content:flex-end; gap:10px; }
[hidden] { display:none !important; }
@media (max-width:980px) { .portal-menu-toggle{display:grid;place-items:center}.portal-nav{position:absolute;z-index:20;top:66px;right:0;width:min(320px,calc(100vw - 24px));display:none;padding:10px;border:1px solid var(--border);border-radius:14px;background:#fff;box-shadow:var(--shadow)}.portal-nav.is-open{display:grid}.portal-nav a{padding:12px}.security-chip{margin-left:0}.portal-footer-inner{grid-template-columns:1fr}.portal-footer-links{justify-content:flex-start} }
@media (max-width:760px) { .portal-main{padding-top:42px}.information-grid{grid-template-columns:1fr}.information-card{grid-template-columns:auto 1fr}.information-card p{grid-column:1/-1}.confirm-actions{flex-direction:column}.confirm-actions .button{width:100%} }
@media (max-width:520px) { .portal-header-inner{width:calc(100% - 24px);gap:9px}.security-chip{font-size:0;width:38px;height:38px;padding:0;display:grid;place-items:center}.security-chip::first-letter{font-size:1rem}.portal-main{width:calc(100% - 22px)}.portal-card{padding:20px;border-radius:17px}.card-heading{align-items:flex-start}.portal-hero h1{font-size:2.25rem}.brand small{font-size:.72rem}.portal-footer-inner{width:calc(100% - 28px)}.portal-footer-links{display:grid;grid-template-columns:repeat(2,minmax(0,1fr))} }
@media (prefers-reduced-motion:reduce) { *{scroll-behavior:auto!important;transition:none!important} }
