:root { color-scheme: light; font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif; color: #182338; background: #f3f6fb; }
* { box-sizing: border-box; }
body { margin: 0; min-height: 100vh; }
a { color: inherit; text-decoration: none; }
.landing { display: grid; min-height: 100vh; place-items: center; padding: 24px; background: radial-gradient(circle at 70% 20%, #dbeafe, transparent 38%), #f3f6fb; }
.hero { width: min(760px, 100%); padding: 64px; border: 1px solid #dbe4f2; border-radius: 28px; background: rgba(255,255,255,.86); box-shadow: 0 24px 80px rgba(32,57,102,.12); }
h1 { margin: 0 0 16px; font-size: clamp(30px, 5vw, 58px); line-height: 1.05; letter-spacing: -.04em; }
h2 { margin: 0; font-size: 18px; }
.eyebrow { margin: 0 0 12px; color: #4773d1; font-size: 12px; font-weight: 700; letter-spacing: .16em; }
.muted, .message { color: #64748b; }
.actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
.button { display: inline-flex; align-items: center; justify-content: center; min-height: 40px; padding: 0 16px; border: 1px solid #d4ddeb; border-radius: 10px; color: #25314a; background: #fff; cursor: pointer; font: inherit; }
.button.primary { border-color: #2b6fe8; color: #fff; background: #2b6fe8; }
.admin-page { background: #f5f7fb; }
.auth-card { width: min(440px, calc(100% - 32px)); margin: 10vh auto; padding: 36px; border: 1px solid #dce4f1; border-radius: 20px; background: #fff; box-shadow: 0 18px 70px rgba(31,54,93,.12); }
.stack { display: grid; gap: 14px; }
label { display: grid; gap: 6px; color: #475569; font-size: 13px; }
input, select, textarea { width: 100%; min-height: 40px; padding: 9px 11px; border: 1px solid #d6dfed; border-radius: 8px; color: #1e293b; background: #fff; font: inherit; }
textarea { min-height: 90px; resize: vertical; }
.admin-shell { display: grid; min-height: 100vh; grid-template-columns: 240px 1fr; }
.sidebar { display: flex; flex-direction: column; gap: 18px; padding: 24px 16px; color: #dce7ff; background: #17243d; }
.brand { padding: 0 10px 14px; font-weight: 800; font-size: 20px; }
.brand span { display: block; margin-top: 3px; color: #9db3dc; font-size: 11px; font-weight: 500; }
.nav { display: grid; gap: 4px; }
.nav-button { padding: 10px; border: 0; border-radius: 8px; color: #b7c5df; background: transparent; text-align: left; cursor: pointer; font: inherit; }
.nav-button:hover, .nav-button.active { color: #fff; background: #2d4670; }
.sidebar > .button { margin-top: auto; color: #dce7ff; border-color: #52678d; background: transparent; }
.admin-main { min-width: 0; padding: 30px; }
.page-header, .panel-header { display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.page-header { margin-bottom: 26px; }
.page-header h1 { font-size: 34px; }
.cards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; margin-bottom: 18px; }
.card { display: grid; gap: 10px; padding: 18px; border: 1px solid #e0e7f1; border-radius: 14px; background: #fff; }
.card span { color: #718096; font-size: 13px; }
.card strong { font-size: 22px; }
.panel { padding: 20px; border: 1px solid #e0e7f1; border-radius: 16px; background: #fff; }
.create-form { margin: 18px 0; padding: 14px; border: 1px dashed #bdcbe0; border-radius: 10px; }
.create-form form { display: flex; flex-wrap: wrap; gap: 8px; }
.create-form input, .create-form select { width: auto; min-width: 160px; }
.table-wrap { overflow: auto; margin-top: 18px; }
table { width: 100%; border-collapse: collapse; font-size: 13px; }
th, td { padding: 11px 9px; border-bottom: 1px solid #edf1f6; text-align: left; vertical-align: top; white-space: nowrap; }
th { color: #64748b; font-weight: 600; background: #f8fafc; }
.message { min-height: 20px; margin: 12px 0 0; font-size: 13px; }
.message.error { color: #b42318; }
@media (max-width: 800px) { .admin-shell { grid-template-columns: 1fr; } .sidebar { position: static; } .nav { grid-template-columns: repeat(3, 1fr); } .sidebar > .button { margin-top: 0; } .admin-main { padding: 18px; } .cards { grid-template-columns: 1fr; } .hero { padding: 34px 24px; } }
