/* MCPMFG account: sign in, create account, welcome, manage. */
body.acct{margin:0;min-height:100vh;background:#eef2f6;color:#14213d;font-family:Inter,system-ui,-apple-system,"Segoe UI",Roboto,sans-serif;-webkit-font-smoothing:antialiased}
.acct *{box-sizing:border-box}
.acct-shell{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1.05fr);min-height:100vh}
/* Brand panel */
.acct-hero{position:relative;overflow:hidden;display:flex;flex-direction:column;justify-content:space-between;gap:40px;padding:48px clamp(28px,5vw,72px);color:#fff;background:radial-gradient(120% 80% at 0% 0%,#1d4f9a 0%,#0a2350 55%,#050f26 100%)}
.acct-hero::before{content:"";position:absolute;inset:0;background-image:linear-gradient(#ffffff0a 1px,transparent 1px),linear-gradient(90deg,#ffffff0a 1px,transparent 1px);background-size:36px 36px;mask-image:linear-gradient(160deg,#000 20%,transparent 85%);pointer-events:none}
.acct-hero::after{content:"";position:absolute;right:-120px;bottom:-120px;width:380px;height:380px;border-radius:50%;background:radial-gradient(circle,#d90a0c55,transparent 70%);pointer-events:none}
.acct-hero>*{position:relative;z-index:1}
.acct-brand{display:flex;align-items:center;gap:14px;color:#fff;text-decoration:none}
.acct-brand img{width:60px;height:60px}
.acct-brand b{display:block;font:800 30px/1 Sora,Inter,sans-serif;letter-spacing:-.01em}
.acct-brand b em{font-style:normal;color:#ff4a3d}
.acct-brand small{display:block;margin-top:5px;font-size:11px;font-weight:700;letter-spacing:.12em;text-transform:uppercase;color:#a9bfdf}
.acct-hero h2{margin:0 0 14px;font:700 clamp(30px,3.2vw,44px)/1.1 Sora,Inter,sans-serif;letter-spacing:-.02em;max-width:15ch}
.acct-hero h2 span{color:#8db8ff}
.acct-hero p{margin:0;max-width:44ch;font-size:16px;line-height:1.55;color:#cfdcf0}
.acct-perks{list-style:none;margin:28px 0 0;padding:0;display:grid;gap:12px}
.acct-perks li{display:flex;gap:12px;align-items:flex-start;padding:12px 14px;border:1px solid #ffffff1c;border-radius:12px;background:#ffffff0a;backdrop-filter:blur(4px);font-size:14.5px;line-height:1.4;color:#e6eefb}
.acct-perks svg{flex:0 0 22px;width:22px;height:22px;color:#8db8ff}
.acct-perks b{display:block;color:#fff;font-weight:700}
.acct-foot{font-size:12.5px;color:#93a9c9}
.acct-foot a{color:#cfdcf0}
/* Card */
.acct-main{display:flex;align-items:center;justify-content:center;padding:40px 24px}
.acct-card{width:100%;max-width:460px}
.acct-back{display:inline-flex;align-items:center;gap:6px;min-height:40px;margin-bottom:10px;color:#4a5a73;font-size:14px;text-decoration:none}
.acct-back:hover{color:#0a4fa3}
.acct-panel{padding:32px;border:1px solid #dbe3ee;border-radius:20px;background:#fff;box-shadow:0 24px 60px -28px #0a235040,0 2px 6px #0a23500d}
.acct-tabs{display:grid;grid-template-columns:1fr 1fr;gap:4px;padding:4px;margin-bottom:24px;border-radius:12px;background:#eef2f7}
.acct-tabs button{min-height:42px;border:0;border-radius:9px;background:transparent;color:#4a5a73;font:600 14.5px/1 inherit;font-family:inherit;cursor:pointer;transition:background-color .15s,color .15s,box-shadow .15s}
.acct-tabs button[aria-selected="true"]{background:#fff;color:#0a2350;box-shadow:0 1px 3px #0a235026}
.acct-panel h1{margin:0 0 6px;font:700 26px/1.2 Sora,Inter,sans-serif;letter-spacing:-.015em;color:#0a2350}
.acct-sub{margin:0 0 22px;color:#53627a;font-size:14.5px;line-height:1.5}
.acct-providers{display:grid;gap:10px}
.acct-oauth{display:flex;align-items:center;justify-content:center;gap:10px;min-height:48px;padding:0 16px;border:1px solid #c9d4e3;border-radius:10px;background:#fff;color:#14213d;font-weight:600;font-size:15px;text-decoration:none;transition:border-color .15s,box-shadow .15s,background-color .15s}
.acct-oauth:hover{border-color:#0a4fa3;box-shadow:0 0 0 3px #0a4fa31a}
.acct-oauth svg{width:20px;height:20px;flex:0 0 20px}
.acct-divider{display:flex;align-items:center;gap:12px;margin:20px 0;color:#7d8ba1;font-size:12.5px;font-weight:600;text-transform:uppercase;letter-spacing:.08em}
.acct-divider::before,.acct-divider::after{content:"";flex:1;height:1px;background:#e1e7ef}
.acct-field{margin-bottom:14px}
.acct-field label{display:flex;justify-content:space-between;align-items:baseline;margin-bottom:6px;font-size:13.5px;font-weight:600;color:#26344d}
.acct-field label small{font-weight:500;color:#7d8ba1}
.acct-field input{width:100%;min-height:48px;padding:0 14px;border:1px solid #c3cedd;border-radius:10px;background:#fbfcfe;color:#14213d;font:16px/1.2 inherit;font-family:inherit;transition:border-color .15s,box-shadow .15s,background-color .15s}
.acct-field input:focus{outline:none;border-color:#0a4fa3;background:#fff;box-shadow:0 0 0 4px #0a4fa31f}
.acct-pw{position:relative}
.acct-pw input{padding-right:72px}
.acct-pw button{position:absolute;right:6px;top:50%;transform:translateY(-50%);min-height:36px;padding:0 10px;border:0;border-radius:7px;background:transparent;color:#0a4fa3;font:600 13px/1 inherit;font-family:inherit;cursor:pointer}
.acct-pw button:hover{background:#eef4fc}
.acct-hint{margin:6px 0 0;font-size:12.5px;color:#6b7a91}
.acct-more{display:inline-flex;align-items:center;gap:6px;min-height:40px;margin:0 0 6px;padding:0;border:0;background:none;color:#0a4fa3;font:600 14px/1 inherit;font-family:inherit;cursor:pointer}
.acct-more:hover{text-decoration:underline}
.acct-grid{display:grid;grid-template-columns:1fr 1fr;gap:0 12px}
.acct-grid .wide{grid-column:1 / -1}
.acct-panel fieldset{margin:0;padding:0;border:0;min-width:0}
.acct-submit{display:flex;align-items:center;justify-content:center;width:100%;min-height:50px;margin-top:6px;border:0;border-radius:10px;background:linear-gradient(180deg,#e3201b,#b5080a);color:#fff;font:700 15.5px/1 inherit;font-family:inherit;letter-spacing:.01em;cursor:pointer;box-shadow:0 8px 20px -10px #d90a0c99;transition:filter .15s,transform .05s}
.acct-submit:hover{filter:brightness(1.06)}
.acct-submit:active{transform:translateY(1px)}
.acct-submit:disabled{opacity:.65;cursor:progress}
.acct-ghost{display:flex;align-items:center;justify-content:center;width:100%;min-height:46px;border:1px solid #c9d4e3;border-radius:10px;background:#fff;color:#14213d;font:600 14.5px/1 inherit;font-family:inherit;text-decoration:none;cursor:pointer}
.acct-ghost:hover{border-color:#0a4fa3}
.acct-terms{margin:14px 0 0;font-size:12.5px;line-height:1.5;color:#6b7a91;text-align:center}
.acct-terms a{color:#0a4fa3}
.acct-message{min-height:20px;margin:14px 0 0;font-size:14px;line-height:1.45;color:#a10e14}
.acct-message[data-tone="ok"]{color:#167241}
.acct-links{display:flex;flex-wrap:wrap;justify-content:space-between;gap:6px 16px;margin-top:18px;font-size:13.5px}
.acct-links a{display:inline-flex;align-items:center;min-height:36px;color:#0a4fa3;text-decoration:none}
.acct-links a:hover{text-decoration:underline}
/* Signed-in & welcome */
.acct-me{display:flex;align-items:center;gap:14px;margin-bottom:20px;padding:14px;border-radius:14px;background:#f2f6fc}
.acct-me .av{display:grid;place-items:center;flex:0 0 52px;width:52px;height:52px;border-radius:50%;background:linear-gradient(145deg,#1d6fd6,#0a4fa3 55%,#0a2350);box-shadow:0 0 0 2px #fff,0 0 0 4px #d90a0c;color:#fff;font:800 19px/1 Sora,Inter,sans-serif}
.acct-me b{display:block;font-size:16.5px;color:#0a2350}
.acct-me span{display:block;margin-top:2px;font-size:13.5px;color:#53627a;word-break:break-all}
.acct-badge{display:inline-flex;align-items:center;gap:5px;margin-top:6px;padding:3px 8px;border-radius:999px;font-size:11.5px;font-weight:700}
.acct-badge.ok{background:#e3f5ea;color:#167241}
.acct-badge.warn{background:#fff3df;color:#8a5300}
.acct-stack{display:grid;gap:10px}
.acct-verify{display:flex;flex-wrap:wrap;gap:8px 12px;align-items:center;justify-content:space-between;margin-bottom:16px;padding:12px 14px;border:1px solid #f3d9a6;border-radius:12px;background:#fffaf0;font-size:13.5px;color:#6b4300}
.acct-verify button{min-height:36px;padding:0 12px;border:1px solid #d9a441;border-radius:8px;background:#fff;color:#6b4300;font:600 13px/1 inherit;font-family:inherit;cursor:pointer}
.acct-danger{margin-top:24px;padding-top:18px;border-top:1px solid #e6ebf2}
.acct-danger summary{min-height:36px;display:flex;align-items:center;color:#a10e14;font-size:14px;font-weight:600;cursor:pointer}
.acct-danger p{margin:8px 0 12px;font-size:13.5px;line-height:1.5;color:#53627a}
.acct-delete{display:flex;align-items:center;justify-content:center;width:100%;min-height:46px;border:1px solid #a10e14;border-radius:10px;background:#fff;color:#a10e14;font:700 14.5px/1 inherit;font-family:inherit;cursor:pointer}
.acct-delete:hover{background:#fdecec}
.acct-check{display:grid;place-items:center;width:56px;height:56px;margin:0 0 14px;border-radius:50%;background:#e3f5ea;color:#167241}
.acct :focus-visible{outline:3px solid #0a4fa3;outline-offset:2px}
[hidden]{display:none!important}
@media(max-width:900px){
 .acct-shell{grid-template-columns:1fr}
 .acct-hero{gap:18px;padding:22px 20px 26px}
 .acct-hero h2{font-size:24px;max-width:none;margin-bottom:8px}
 .acct-hero p{font-size:14.5px}
 .acct-perks,.acct-foot{display:none}
 .acct-brand img{width:46px;height:46px}.acct-brand b{font-size:24px}
 .acct-main{align-items:flex-start;padding:20px 16px 40px}
}
@media(max-width:520px){
 .acct-panel{padding:22px 18px;border-radius:16px}
 .acct-hero h2,.acct-hero p{display:none}
 .acct-grid{grid-template-columns:1fr}
}
@media(prefers-reduced-motion:reduce){.acct *{transition:none!important}}
