:root{--bg: #f4f6f8;--paper: #fff;--ink: #14243c;--muted: #63748c;--line: #dde4ec;--navy: #0f2b46;--teal: #0b7263;--teal-dark: #085a4f;--teal-soft: #e2f2ee;--error: #b3261e;--error-soft: #fdecea;--radius: 18px}*{box-sizing:border-box}body{margin:0;background:var(--bg);color:var(--ink);font-family:Be Vietnam Pro,system-ui,-apple-system,Segoe UI,Roboto,sans-serif;font-size:16px;line-height:1.55}.app-header{padding:18px 24px;background:var(--navy);color:#fff;font-size:20px;font-weight:700}.auth-page{min-height:calc(100vh - 64px);display:flex;align-items:center;justify-content:center;padding:24px 16px}.auth-card{display:grid;grid-template-columns:1fr 1fr;width:100%;max-width:960px;background:var(--paper);border:1px solid var(--line);border-radius:var(--radius);overflow:hidden;box-shadow:0 8px 32px #0f2b461f}.auth-photo{min-height:560px}.auth-photo img{display:block;width:100%;height:100%;object-fit:cover;object-position:center 20%}.auth-form{padding:40px 44px}.form-title{margin:0 0 6px;font-size:28px;color:var(--navy)}.form-sub{margin:0 0 24px;color:var(--muted)}.form{display:flex;flex-direction:column;gap:16px}.field{display:flex;flex-direction:column;gap:6px}.field-label{font-weight:600;font-size:15px}.input{min-height:48px;padding:10px 14px;border:1.5px solid var(--line);border-radius:12px;font:inherit;color:var(--ink);background:#fff;width:100%}.input:focus{outline:2px solid var(--teal);outline-offset:1px;border-color:var(--teal)}.password-wrap{position:relative;display:flex;align-items:center}.password-wrap .input{padding-right:64px}.password-wrap .btn-text{position:absolute;right:8px}.btn-primary{min-height:48px;border:none;border-radius:12px;background:var(--teal);color:#fff;font:inherit;font-weight:700;font-size:16px;cursor:pointer;width:100%}.btn-primary:hover:not(:disabled){background:var(--teal-dark)}.btn-primary:disabled{opacity:.6;cursor:default}.btn-google{min-height:48px;width:100%;border:1.5px solid var(--line);border-radius:12px;background:#fff;font:inherit;font-weight:600;color:var(--muted);cursor:default;display:flex;align-items:center;justify-content:center;gap:10px}.google-g{display:inline-flex;align-items:center;justify-content:center;width:24px;height:24px;border-radius:50%;background:var(--teal-soft);color:var(--teal);font-weight:800}.btn-text{background:none;border:none;padding:4px 2px;color:var(--teal);font:inherit;cursor:pointer}.btn-text.strong{font-weight:700}.divider{display:flex;align-items:center;gap:12px;color:var(--muted);font-size:14px}.divider:before,.divider:after{content:"";flex:1;border-top:1px solid var(--line)}.error{margin:0;padding:10px 12px;background:var(--error-soft);color:var(--error);border-radius:10px;font-size:15px}.notice{margin:0 0 16px;padding:10px 12px;background:var(--teal-soft);color:var(--teal-dark);border-radius:10px;font-size:15px}.hint{color:var(--muted);font-size:14px;text-align:center;margin:4px 0 0}.muted{color:var(--muted)}.form-foot{margin:0;text-align:center;color:var(--muted)}.loading{text-align:center;color:var(--muted);padding:48px 0}.profile-card{width:100%;max-width:520px;background:var(--paper);border:1px solid var(--line);border-radius:var(--radius);padding:36px 40px;display:flex;flex-direction:column;gap:14px}.profile-row{margin:0;display:flex;justify-content:space-between;gap:16px;padding-bottom:10px;border-bottom:1px solid var(--line)}.dialog-backdrop{position:fixed;top:0;right:0;bottom:0;left:0;background:#0f2b468c;-webkit-backdrop-filter:blur(2px);backdrop-filter:blur(2px);display:flex;align-items:center;justify-content:center;padding:16px;z-index:50}.dialog{width:100%;max-width:440px;background:var(--paper);border-radius:var(--radius);padding:28px;box-shadow:0 16px 48px #0f2b464d;animation:dialog-in .2s ease-out}@keyframes dialog-in{0%{opacity:0;transform:translateY(8px) scale(.98)}to{opacity:1;transform:translateY(0) scale(1)}}.dialog-title{margin:0 0 8px;font-size:24px;color:var(--navy)}.dialog-text{margin:0 0 20px;color:var(--muted)}.dialog-foot{margin:16px 0 0;text-align:center}.otp-boxes{display:flex;gap:10px;margin-bottom:16px}.otp-box{width:100%;min-width:0;height:52px;text-align:center;font-size:22px;font-weight:700;border:1.5px solid var(--line);border-radius:12px;color:var(--ink);background:#fff}.otp-box:focus{outline:2px solid var(--teal);outline-offset:1px;border-color:var(--teal)}@media (max-width: 719px){.auth-card{grid-template-columns:1fr}.auth-photo{min-height:180px;max-height:180px}.auth-photo img{object-position:center 18%}.auth-form{padding:28px 22px}.otp-box{height:48px;font-size:20px}.dialog{padding:22px}}@media (prefers-reduced-motion: reduce){.dialog{animation:none}}
