/* Palette, font stack, pills and 28px cards mirror the existing app.css. */
.remember-device{display:flex;align-items:center;gap:10px;min-height:44px;margin:0;font-size:13px;line-height:1.6;cursor:pointer}.remember-device input{flex:0 0 auto;width:20px;height:20px;margin:0;accent-color:#1570ef}.remember-device input:focus-visible{outline:3px solid #1570ef;outline-offset:3px}.remember-help{margin:0 0 22px 30px;font-size:12px;line-height:1.6;color:#667085;word-break:keep-all}
:root{--bg:#fffaf3;--bg-2:#eef8ff;--surface:rgba(255,255,255,.9);--ink:#21222c;--muted:#667085;--line:rgba(33,34,44,.1);--accent:#f97352;--accent-2:#1570ef;--mint:#a8e6cf;--shadow:0 22px 60px rgba(45,52,67,.12);--radius-lg:28px;--radius-md:22px;--radius-sm:16px}
*{box-sizing:border-box}body{margin:0;min-height:100svh;color:var(--ink);font-family:"Fredoka","Jua","Apple SD Gothic Neo","Malgun Gothic","Segoe UI",system-ui,sans-serif;background:linear-gradient(180deg,var(--bg),var(--bg-2) 58%,#f7fbef);overflow-x:hidden}button,input{font:inherit}a{color:inherit;text-decoration:none}img{display:block;max-width:100%}.shell{position:relative;max-width:1180px;margin:auto;padding:30px 28px 24px}.topbar{display:flex;align-items:center;justify-content:space-between;gap:16px;flex-wrap:wrap}.brand{display:inline-flex;align-items:center;gap:12px;padding:9px 19px 9px 10px;border-radius:999px;background:#ffffffcf;border:1px solid var(--line);box-shadow:0 8px 28px #21222c0b}.brand img{width:42px;height:42px;border-radius:14px}.brand-title{font-size:16px;font-weight:800;display:block}.brand-subtitle{display:block;font-size:11px;color:var(--muted);margin-top:3px}.welcome-pill{display:inline-flex;align-items:center;gap:8px;padding:10px 14px;background:#ffffffb3;border:1px solid var(--line);border-radius:999px;font-size:12px;color:#465b53}.welcome-pill i,.little-pill i{width:7px;height:7px;border-radius:50%;background:#65ae8f}.ambient{position:fixed;inset:0;pointer-events:none;overflow:hidden}.ambient span{position:absolute;color:#e7c891;font-size:26px}.ambient span:nth-child(1){top:21%;left:4%}.ambient span:nth-child(2){bottom:18%;right:6%;color:#9fc5ec}.ambient span:nth-child(3){bottom:7%;left:20%;color:#bedbca;font-size:16px}.ambient span:nth-child(4){top:12%;right:25%;color:#f0b6a2;font-size:18px}
.login-layout{display:grid;grid-template-columns:1fr 420px;gap:62px;align-items:center;margin:48px 30px 30px;min-height:550px}.greeting{position:relative}.eyebrow{display:inline-block;padding:8px 12px;border-radius:999px;background:#f9735217;color:#a7452d;font-size:11px;letter-spacing:.12em;font-weight:800}.greeting h1{font-size:clamp(38px,4.4vw,56px);line-height:1.23;letter-spacing:-.055em;margin:18px 0 16px;font-weight:850;word-break:keep-all}.coral{color:var(--accent)}.greeting>p{font-size:14px;color:var(--muted);line-height:1.8;margin:0}.mascot-stage{position:relative;height:270px;width:320px;max-width:100%;margin:12px auto 0}.mascot-orbit{position:absolute;left:28px;top:28px;width:247px;height:212px;background:linear-gradient(130deg,#fff1df,#dbefed);border-radius:46% 54% 43% 57%;transform:rotate(-8deg);border:2px solid #ffffffb3}.mascot{position:absolute;left:54px;top:28px;width:196px;height:196px;object-fit:contain;border-radius:50%;box-shadow:0 10px 30px #96667712}.sticker{position:absolute;display:grid;place-items:center;border-radius:18px;box-shadow:0 8px 18px #2433470a;border:2px solid white}.star{left:1px;top:61px;width:52px;height:52px;color:#9a6c0e;background:#ffedbc;font-size:30px;transform:rotate(-10deg)}.flower{right:13px;top:122px;width:48px;height:48px;color:#38856a;background:#d8f3e5;font-size:32px;transform:rotate(12deg)}.heart{right:40px;top:10px;width:39px;height:39px;color:#c85f47;background:#ffe5dd;font-size:29px;transform:rotate(9deg)}.little-pill{position:absolute;bottom:16px;left:77px;display:flex;align-items:center;gap:9px;background:white;padding:12px 19px;border-radius:999px;box-shadow:0 8px 24px #26354b12;font-weight:700;font-size:12px}
.login-card{background:linear-gradient(145deg,#fffffffa,#fffcf8f5);border:1px solid #ffffff;border-radius:var(--radius-lg);padding:36px;box-shadow:var(--shadow);position:relative}.key-badge{width:57px;height:57px;display:grid;place-items:center;color:var(--accent-2);background:#eaf3ff;border:1px solid #d5e6fc;border-radius:19px;margin-bottom:24px}.key-badge svg{width:32px;height:32px}.login-card h2{margin:0;font-size:27px;letter-spacing:-.04em;line-height:1.4}.card-description{color:var(--muted);font-size:13px;line-height:1.7;margin:10px 0 29px}form{margin:0}label{display:block;margin-bottom:10px;font-size:13px;font-weight:750}input[type=password]{width:100%;min-width:0;background:#fff;border:1.5px solid #d6dce6;border-radius:var(--radius-sm);padding:17px 15px;min-height:56px;color:var(--ink);outline:none;font-size:16px;transition:border-color .2s,box-shadow .2s}input::placeholder{font-size:13px;color:#838d9d}input[type=password]:focus{border-color:var(--accent-2);box-shadow:0 0 0 4px #1570ef12}input[aria-invalid=true]{border-color:#d5624a;background:#fff9f6}input[aria-invalid=true]:focus{box-shadow:0 0 0 4px #f973521a;border-color:#c3553f}.message{margin:11px 0 14px;min-height:22px;font-size:12px;line-height:1.75;color:#9e3f29;word-break:keep-all}.message.has-message{padding:10px 12px;background:#fff0e8;border:1px solid #f3d2c4;border-radius:12px;font-weight:600}.enter-button{width:100%;min-height:55px;display:flex;align-items:center;justify-content:center;gap:17px;border:0;border-radius:999px;color:white;background:var(--accent-2);padding:15px 20px;font-size:16px;font-weight:750;box-shadow:0 7px 17px #1570ef25;cursor:pointer}.enter-button span{font-size:22px;line-height:1}.enter-button:hover{background:#105fcf}.enter-button:focus-visible,a:focus-visible{outline:3px solid #174fc4;outline-offset:4px}.enter-button:active{transform:translateY(1px)}.card-decoration{display:flex;justify-content:center;gap:6px;margin-top:28px}.card-decoration span{width:6px;height:6px;border-radius:50%;background:#ffb6a2}.card-decoration span:nth-child(2){background:#a8e6cf}.card-decoration span:nth-child(3){background:#bed6ff}.page-footer{display:flex;align-items:center;justify-content:center;gap:14px;font-size:11px;color:#637483;padding:10px 0}.page-footer span{color:#bbccc1;font-size:13px}
.error-shell{min-height:100svh;display:grid;place-items:center;padding:28px 20px}.error-card{width:min(430px,100%);padding:34px;text-align:center;background:var(--surface);border:1px solid white;border-radius:var(--radius-lg);box-shadow:var(--shadow)}.error-card>.brand{box-shadow:none;margin-bottom:28px}.error-code{font-size:13px;letter-spacing:.2em;color:var(--accent-2);font-weight:750;margin:0 0 14px}.error-card h1{font-size:24px;line-height:1.5;margin:0 0 12px;word-break:keep-all}.error-message{font-size:14px;color:var(--muted);line-height:1.8;margin-bottom:27px;word-break:keep-all}
@media(max-width:920px){.login-layout{grid-template-columns:1fr 380px;gap:28px;margin:36px 0 24px}.login-card{padding:30px}.greeting h1{font-size:43px}}@media(max-width:700px){.shell{padding:20px 20px 18px}.brand-title{font-size:14px}.brand img{width:35px;height:35px}.brand-subtitle{font-size:10px}.welcome-pill{font-size:11px;padding:8px 11px}.login-layout{display:block;margin:28px auto 18px;max-width:420px;min-height:0}.greeting{text-align:center}.greeting h1{font-size:32px;line-height:1.3;margin:12px 0 8px}.greeting h1 br{display:none}.greeting>p{font-size:12px}.eyebrow{font-size:10px;padding:6px 11px}.mascot-stage{height:146px;width:230px;margin:5px auto 12px}.mascot-orbit{width:168px;height:131px;left:31px;top:7px}.mascot{width:118px;height:118px;left:56px;top:10px}.star{left:12px;top:40px;width:37px;height:37px;font-size:23px;border-radius:13px}.flower{right:12px;top:71px;width:34px;height:34px;font-size:23px;border-radius:12px}.heart{right:27px;top:4px;width:29px;height:29px;font-size:21px;border-radius:11px}.little-pill{display:none}.login-card{padding:26px 25px}.key-badge{display:none}.login-card h2{font-size:22px}.card-description{font-size:12px;margin:7px 0 23px}.card-decoration{margin-top:20px}.page-footer{font-size:10px}.ambient span:nth-child(1){top:16%;left:2%}.ambient span:nth-child(4){right:6%}}@media(max-width:380px){.welcome-pill{display:none}.shell{padding:17px}.login-card{padding:24px 21px}.brand{padding-right:16px}.greeting h1{font-size:30px}}
