:root { color-scheme: light; --bg: #f5f7fb; --surface: #ffffff; --surface-2: #f7f9fd; --surface-hover: #eef2fa; --text: #131a26; --muted: #566079; --line: #e3e8f2; --line-strong: #c8d1e2; --accent: #3557c7; --accent-hover: #2b48ac; --accent-ink: #ffffff; --accent-soft: #e6ecfb; --hero-from: #3557c7; --hero-to: #3f6cc8; --hero-ink: #ffffff; --danger: #b3342a; --danger-soft: #fdecea; --success: #16734d; --success-soft: #e1f5ea; --warning: #8a5000; --warning-soft: #fff2d8; --mint: #e3f4ee; --peach: #fdece2; --lilac: #e9e7fb; --sun: #fdf2cd; --chart-1: #3557c7; --chart-2: #24957c; --chart-3: #e0915a; --chart-4: #8a76de; --chart-5: #e2706f; --chart-6: #d99f22; --font: "Segoe UI", system-ui, -apple-system, "Helvetica Neue", Arial, sans-serif; --space-1: 4px; --space-2: 8px; --space-3: 12px; --space-4: 16px; --space-5: 24px; --space-6: 32px; --space-7: 48px; --text-2xs: .6875rem; --text-xs: .75rem; --text-sm: .8125rem; --text-md: .9375rem; --text-lg: 1.0625rem; --text-xl: 1.375rem; --text-2xl: clamp(1.6rem, 1.2rem + 1.6vw, 2.25rem); --radius-xs: 6px; --radius-sm: 10px; --radius: 16px; --radius-lg: 22px; --radius-pill: 999px; --dur-1: 120ms; --dur-2: 200ms; --dur-3: 320ms; --dur-reveal: 640ms; --dur-float: 3s; --dur-orbit: 16s; --dur-letter: 18ms; --ease-out: cubic-bezier(.22, 1, .36, 1); --ease-pop: cubic-bezier(.34, 1.56, .64, 1); --ease: var(--ease-out); --shadow-1: 0 1px 2px rgba(19, 26, 38, .06), 0 1px 1px rgba(19, 26, 38, .04); --shadow-2: 0 6px 18px rgba(19, 26, 38, .08), 0 2px 4px rgba(19, 26, 38, .05); --shadow-3: 0 18px 48px rgba(19, 26, 38, .16), 0 4px 12px rgba(19, 26, 38, .08); --shadow-card: var(--shadow-1); --z-topbar: 20; --z-sidebar: 30; --z-bar: 40; --z-fab: 45; --z-dialog: 60; --z-toast: 80; --z-tip: 90; --sidebar-w: 276px; --sidebar-w-mini: 86px; --mobile-bar-h: 68px; --topbar-h: 68px; --content-max: 1760px; --art-opacity: 1; --brand-from: #3557c7; --brand-to: #27408f; --brand-ink: #ffffff; --profile-ink: #8a5a00; --text-hero: clamp(2rem, 1.4rem + 2vw, 3.1rem); --text-3xl: clamp(1.9rem, 1.3rem + 2.4vw, 2.9rem); --leading-tight: 1.15; --leading-normal: 1.55; --tracking-tight: -.022em; --tracking-caps: .09em; --shadow-accent: 0 6px 16px color-mix(in srgb, var(--accent) 22%, transparent); --ring: 0 0 0 3px var(--accent-soft); }
.sign-in-page { display:grid; place-items:center; min-height:100svh; padding:var(--space-4); }
.sign-in-card { width:min(100%, 26rem); background:var(--surface); border:1px solid var(--line); border-radius:var(--radius); box-shadow:var(--shadow-2); }
.sign-in-card, .sign-in-card form { display:grid; gap:var(--space-3); }
*, *::before, *::after { box-sizing: border-box; }
body { margin: 0; min-height: 100vh; background: var(--bg); color: var(--text); font: 400 var(--text-md)/var(--leading-normal) var(--font); -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; }
h1, h2, h3, h4, p, ul, ol { margin: 0; }
h1, h2, h3 { line-height: var(--leading-tight); letter-spacing: var(--tracking-tight); text-wrap: balance; }
h1 { font-size: var(--text-3xl); font-weight: 700; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; background: none; border: 0; padding: 0; text-align: inherit; }
[hidden] { display: none !important; }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 2px; border-radius: var(--radius-xs); }
.primary, .secondary, .ghost, .danger { display: inline-flex; align-items: center; justify-content: center; gap: var(--space-2); min-height: 44px; padding: 0 var(--space-4); border: 1px solid transparent; border-radius: var(--radius-sm); font-weight: 700; font-size: var(--text-md); line-height: 1.2; letter-spacing: -.006em; text-decoration: none; white-space: nowrap; transition: background var(--dur-1) var(--ease-out), border-color var(--dur-1) var(--ease-out), color var(--dur-1) var(--ease-out), box-shadow var(--dur-2) var(--ease-out), transform var(--dur-1) var(--ease-out); }
.primary { background: var(--accent); color: var(--accent-ink); box-shadow: var(--shadow-accent); }
.primary:hover { background: var(--accent-hover); }
.secondary { background: var(--surface); color: var(--text); border-color: var(--line-strong); }
.secondary:hover { background: var(--surface-hover); border-color: color-mix(in srgb, var(--accent) 60%, var(--line-strong)); color: var(--accent); }
.primary:active, .secondary:active, .ghost:active, .danger:active { transform: translateY(1px) scale(.99); }
.field { display: grid; gap: var(--space-1); font-size: var(--text-sm); font-weight: 600; color: var(--muted); }
.field input:not([type="checkbox"]), .field select, .field textarea, #data-tools input[type="text"] { width: 100%; min-height: 44px; padding: var(--space-2) var(--space-3); border: 1px solid var(--line-strong); border-radius: var(--radius-sm); background: var(--surface-2); color: var(--text); font-weight: 400; font-size: var(--text-md); transition: background var(--dur-2), border-color var(--dur-2), box-shadow var(--dur-2); }
.field input:not([type="checkbox"]):hover, .field select:hover, .field textarea:hover { border-color: color-mix(in srgb, var(--accent) 55%, var(--line-strong)); }
.field textarea { min-height: 96px; resize: vertical; line-height: 1.5; }
.field input:focus, .field select:focus, .field textarea:focus { outline: 0; border-color: var(--accent); box-shadow: var(--ring); }
.field input[type="checkbox"] { width: 18px; height: 18px; accent-color: var(--accent); }
.panel { padding: var(--space-5); }