:root { --ink: #17191d; --muted: #64707d; --canvas: #f3f5f7; --card: #ffffff; --line: #dde3ea; --brand: #087f5b; --brand-soft: #e7f7f0; --danger: #c92a2a; --radius: 12px; }
* { box-sizing: border-box; }
body { margin: 0; font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif; color: var(--ink); background: var(--canvas); }
a { color: inherit; }
.admin-shell { min-height: 100vh; display: grid; grid-template-columns: 240px 1fr; }
.sidebar { padding: 1.5rem 1rem; background: #10221d; color: #edf7f3; }
.brand { display: block; margin: .2rem .6rem 2rem; font-weight: 800; letter-spacing: -.03em; text-decoration: none; font-size: 1.1rem; }
.brand span { color: #52e3ae; }
.sidebar nav { display: grid; gap: .25rem; }
.sidebar nav a { padding: .68rem .75rem; border-radius: 8px; color: #c5d6cf; text-decoration: none; font-size: .92rem; }
.sidebar nav a:hover, .sidebar nav a.active { background: #1c3b30; color: #fff; }
.sidebar-footer { margin-top: 2rem; padding: .75rem; border-top: 1px solid #294638; font-size: .82rem; color: #a8c1b5; }
.sidebar-footer form { margin-top: .75rem; }
.sidebar-footer button { width: 100%; }
.admin-main { min-width: 0; padding: 2.25rem; }
.page-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 1rem; margin-bottom: 1.5rem; }
.page-head h1 { margin: 0; font-size: 1.7rem; letter-spacing: -.04em; }
.page-head p { margin: .4rem 0 0; color: var(--muted); }
.link-button, button { border: 0; border-radius: 8px; background: var(--brand); color: #fff; padding: .68rem 1rem; font: inherit; font-weight: 650; cursor: pointer; text-decoration: none; }
button:hover, .link-button:hover { background: #066747; }
button.secondary, .secondary { background: #e9eef0; color: #25302b; }
button.secondary:hover, .secondary:hover { background: #dce5e1; }
button.danger { background: #fff0f0; color: var(--danger); }
button.danger:hover { background: #ffd9d9; }
.flash { margin: 0 0 1rem; padding: .85rem 1rem; border-radius: 8px; border: 1px solid var(--line); background: #fff; }
.flash-success { border-color: #93d8b8; background: var(--brand-soft); color: #065b3f; }
.flash-error { border-color: #f0b5b5; background: #fff3f3; color: #a61e1e; }
.card { padding: 1.35rem; border: 1px solid var(--line); border-radius: var(--radius); background: var(--card); box-shadow: 0 1px 1px rgba(16, 24, 40, .02); }
.card + .card { margin-top: 1rem; }
.card h2, .card h3 { margin-top: 0; font-size: 1.08rem; }
.stats { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1rem; margin-bottom: 1.25rem; }
.stat-value { display: block; margin-top: .35rem; font-size: 2rem; font-weight: 750; color: var(--brand); }
.stat-label { color: var(--muted); font-size: .9rem; }
.form-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1rem; }
.form-grid .wide { grid-column: 1 / -1; }
label { display: block; color: #39433f; font-weight: 650; font-size: .88rem; }
input, textarea, select { width: 100%; margin-top: .4rem; border: 1px solid #cdd6d2; border-radius: 8px; background: #fff; color: var(--ink); padding: .7rem .75rem; font: inherit; }
textarea { min-height: 8rem; resize: vertical; }
input:focus, textarea:focus, select:focus { outline: 3px solid #c8eee0; border-color: var(--brand); }
.form-help { margin: .35rem 0 0; color: var(--muted); font-size: .82rem; line-height: 1.4; }
.form-actions { display: flex; align-items: center; gap: .75rem; margin-top: 1.25rem; }
.check-label { display: flex; align-items: center; gap: .5rem; margin-top: 1.65rem; }
.check-label input { width: auto; margin: 0; }
.table-wrap { overflow-x: auto; }
table { width: 100%; border-collapse: collapse; font-size: .92rem; }
th, td { padding: .78rem; border-bottom: 1px solid var(--line); text-align: left; vertical-align: top; }
th { color: var(--muted); font-size: .78rem; text-transform: uppercase; letter-spacing: .04em; }
tr:last-child td { border-bottom: 0; }
.status { display: inline-block; padding: .2rem .55rem; border-radius: 99px; background: #edf0f3; color: #334; font-size: .78rem; font-weight: 700; }
.status-new { background: #fff4cc; color: #865b00; }.status-reviewing { background: #e4efff; color: #1e5a99; }.status-accepted { background: #ddf6ea; color: #126b42; }.status-waitlist { background: #f4e8ff; color: #70469b; }.status-rejected { background: #ffe1e1; color: #9d2e2e; }
.pill-nav { display: flex; flex-wrap: wrap; gap: .5rem; margin-bottom: 1rem; }.pill-nav a { padding: .45rem .65rem; border: 1px solid var(--line); border-radius: 999px; color: var(--muted); text-decoration: none; font-size: .85rem; }.pill-nav a.active, .pill-nav a:hover { border-color: var(--brand); color: var(--brand); }
.item-list { display: grid; gap: .85rem; }.item-list details { border: 1px solid var(--line); border-radius: 10px; background: #fff; }.item-list summary { cursor: pointer; padding: 1rem; font-weight: 700; }.item-list details > div { padding: 0 1rem 1rem; }.inline-form { display: inline; }
.login-shell { min-height: 100vh; display: grid; place-items: center; padding: 1rem; background: #10221d; }.login-card { width: min(100%, 430px); padding: 2rem; border-radius: 16px; background: #fff; }.login-card h1 { margin-top: 0; }.login-card p { color: var(--muted); line-height: 1.55; }.login-card .form-actions { display: block; }.login-card button { width: 100%; }
.muted { color: var(--muted); }.mono { font-family: ui-monospace, SFMono-Regular, Menlo, monospace; }.spacer { flex: 1; }
@media (max-width: 820px) { .admin-shell { grid-template-columns: 1fr; }.sidebar { padding: 1rem; }.sidebar nav { grid-template-columns: repeat(2, minmax(0, 1fr)); }.sidebar-footer { display: none; }.admin-main { padding: 1.25rem; }.stats, .form-grid { grid-template-columns: 1fr; }.form-grid .wide { grid-column: auto; } }
