:root{--font-sans: system-ui, -apple-system, "Segoe UI", Roboto, Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji";--bg: #f4f5f7;--surface: #ffffff;--text: #1a1d21;--text-muted: #5a6068;--border: #d7dbe0;--border-strong: #b4bac1;--accent: #2c5fd6;--accent-hover: #224bab;--accent-contrast: #ffffff;--danger-bg: #fdecec;--danger-border: #e3b6b6;--danger-text: #8a1f1f;--focus-ring: #1f6feb;--radius: 10px;--shadow: 0 1px 2px rgba(16, 24, 40, .06), 0 8px 24px rgba(16, 24, 40, .08)}@media(prefers-color-scheme:dark){:root{--bg: #14171b;--surface: #1d2127;--text: #e9ecf1;--text-muted: #a3acb8;--border: #333a43;--border-strong: #49515c;--accent: #6f9bff;--accent-hover: #87adff;--accent-contrast: #0f1115;--danger-bg: #3a1f1f;--danger-border: #6e3a3a;--danger-text: #ffb4b4;--focus-ring: #7aa2ff;--shadow: 0 1px 2px rgba(0, 0, 0, .4), 0 8px 24px rgba(0, 0, 0, .45)}}*,*:before,*:after{box-sizing:border-box}*{margin:0}html{-webkit-text-size-adjust:100%}body{font-family:var(--font-sans);font-size:16px;line-height:1.5;color:var(--text);background:var(--bg);min-height:100vh;-webkit-font-smoothing:antialiased}input,button{font:inherit;color:inherit}h1,h2,h3{line-height:1.2;font-weight:650}a{color:var(--accent)}a:hover{color:var(--accent-hover)}.muted{color:var(--text-muted)}:focus-visible{outline:2px solid var(--focus-ring);outline-offset:2px;border-radius:4px}.auth-page{min-height:100vh;display:grid;place-items:center;padding:1.5rem}.auth-card{width:100%;max-width:400px;background:var(--surface);border:1px solid var(--border);border-radius:var(--radius);box-shadow:var(--shadow);padding:2rem}.auth-card-header{margin-bottom:1.5rem}.auth-card-header h1{font-size:1.5rem}.auth-card-header .muted{margin-top:.35rem;font-size:.95rem}.login-form{display:flex;flex-direction:column;gap:1.1rem}.field{display:flex;flex-direction:column;gap:.4rem}.field label{font-size:.9rem;font-weight:600}.field input{width:100%;padding:.6rem .7rem;background:var(--surface);color:var(--text);border:1px solid var(--border-strong);border-radius:8px;transition:border-color .15s ease,box-shadow .15s ease}.field input::placeholder{color:var(--text-muted)}.field input:focus{outline:none;border-color:var(--accent);box-shadow:0 0 0 3px color-mix(in srgb,var(--accent) 28%,transparent)}.field input[aria-invalid=true]{border-color:var(--danger-border)}.field input:disabled{opacity:.65;cursor:not-allowed}.field-error{font-size:.85rem;color:var(--danger-text)}.password-wrap{position:relative;display:flex;align-items:center}.password-wrap input{padding-right:4.2rem}.password-toggle{position:absolute;right:.4rem;padding:.3rem .55rem;font-size:.8rem;font-weight:600;color:var(--text-muted);background:transparent;border:1px solid transparent;border-radius:6px;cursor:pointer}.password-toggle:hover{color:var(--text);background:color-mix(in srgb,var(--text) 8%,transparent)}.password-toggle:disabled{cursor:not-allowed;opacity:.6}.btn{display:inline-flex;align-items:center;justify-content:center;padding:.6rem 1rem;font-weight:600;border-radius:8px;border:1px solid transparent;cursor:pointer;transition:background .15s ease,border-color .15s ease,color .15s ease}.btn:disabled{cursor:not-allowed;opacity:.7}.btn-primary{background:var(--accent);color:var(--accent-contrast);border-color:var(--accent)}.btn-primary:hover:not(:disabled){background:var(--accent-hover);border-color:var(--accent-hover)}.btn-ghost{background:transparent;color:var(--text);border-color:var(--border-strong)}.btn-ghost:hover:not(:disabled){background:color-mix(in srgb,var(--text) 8%,transparent)}.alert{padding:.7rem .85rem;font-size:.9rem;background:var(--danger-bg);color:var(--danger-text);border:1px solid var(--danger-border);border-radius:8px}.form-footnote{font-size:.88rem;text-align:center}.admin-shell{min-height:100vh;display:flex;flex-direction:column}.topbar{display:flex;align-items:center;justify-content:space-between;gap:1rem;padding:.75rem 1.25rem;background:var(--surface);border-bottom:1px solid var(--border)}.topbar .brand{font-weight:700;font-size:1.05rem;letter-spacing:-.01em}.admin-main{flex:1;display:grid;place-items:center;padding:2rem 1.5rem}.welcome{text-align:center;max-width:480px}.welcome h1{font-size:1.4rem;margin-bottom:.5rem}.welcome .muted{font-size:.95rem}@media(prefers-reduced-motion:reduce){*,*:before,*:after{transition-duration:.01ms!important}}
