/* ArchU — the look, one file (docs/brand: ARCHU-MASCOT-HANDOFF.md §2). One colour a role; lime only for actions and the mascot's top. */
:root {
  --ink: #17190F; --lime: #D4F542; --lime-soft: #E4FA7A; --page: #FAFAF8; --page-admin: #F3F4EF;
  --grey: #5E6256; --faint: #9A9A9A; --line: #DADDD2; --soft: #ECEBE6; --ok: #2E7D32; --warn: #8A2B2B;
}
* { box-sizing: border-box; }
html, body { margin: 0; height: 100%; }
body { font-family: Manrope, system-ui, sans-serif; color: var(--ink); background: var(--page); -webkit-font-smoothing: antialiased; }
a { color: inherit; }
/* the button of the brand: a white pill, a 1.5px outline, a 3px foot */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; height: 44px; padding: 0 22px; border-radius: 24px;
  border: 1.5px solid #111; box-shadow: 0 3px 0 #111; background: #fff; font: 800 14px Manrope, system-ui, sans-serif; color: var(--ink); text-decoration: none; cursor: pointer; }
.btn.go { background: var(--lime); }
.chip { display: inline-flex; align-items: center; height: 24px; padding: 0 10px; border-radius: 12px; background: var(--soft); font-size: 11.5px; font-weight: 800; white-space: nowrap; }
.chip.ok { background: #E7F1E4; color: var(--ok); }
/* the header logo: the mascot's quiet mark and the name */
.logo { display: inline-flex; align-items: center; gap: 8px; text-decoration: none; }
.logo .mk { width: 28px; height: 28px; flex: none; }
.logo b { font-weight: 600; font-size: 22px; color: #5E5E5E; letter-spacing: -.01em; }

/* ---- the first page, until the site itself has moved ---- */
.hello { min-height: 100%; display: flex; flex-direction: column; }
.hello header { padding: 22px 24px; }
.hello main { flex: 1; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 14px; padding: 0 24px 80px; text-align: center; }
.hello .mascot { width: 128px; height: 128px; }
.hello h1 { margin: 0; font-size: clamp(28px, 5vw, 40px); font-weight: 600; letter-spacing: -.02em; }
.hello p { margin: 0; max-width: 460px; font-size: 15px; line-height: 1.55; color: var(--grey); }

/* ---- the admin ---- */
.adm { background: var(--page-admin); min-height: 100%; display: flex; }
.adm nav { width: 208px; flex: none; background: #fff; border-right: 1px solid var(--line); padding: 20px 12px 16px; display: flex; flex-direction: column; gap: 2px; position: sticky; top: 0; height: 100vh; }
.adm nav .logo { padding: 0 10px 22px; }
.adm nav a.it { display: flex; align-items: center; gap: 11px; height: 42px; padding: 0 12px; border-radius: 12px; font-size: 14.5px; font-weight: 600; text-decoration: none; }
.adm nav a.it[aria-current=page] { background: var(--soft); font-weight: 800; }
.adm nav a.it svg { width: 18px; height: 18px; flex: none; }
.adm main { flex: 1; min-width: 0; padding: 18px 28px 40px; }
.adm h1 { margin: 0; font-size: 22px; font-weight: 800; letter-spacing: -.01em; }
.adm .sub { font-size: 13px; color: var(--grey); min-height: 18px; }
.adm .tabs { display: flex; gap: 22px; margin: 14px 0 16px; min-height: 30px; border-bottom: 1px solid var(--line); }
.adm .tabs span { font-size: 14.5px; font-weight: 600; color: var(--grey); padding-bottom: 8px; border-bottom: 3px solid transparent; margin-bottom: -1px; }
.adm .tabs span[aria-current=true] { color: var(--ink); font-weight: 800; border-bottom-color: var(--lime); }
.card { background: #fff; border: 1px solid var(--line); border-radius: 18px; padding: 18px 20px; }
.card + .card { margin-top: 16px; }
.card h2 { margin: 0 0 2px; font-size: 15px; }
.card .sub { margin-bottom: 12px; }
.stats { display: flex; gap: 16px; margin-bottom: 16px; }
.stat { flex: 1; background: #fff; border: 1px solid var(--line); border-radius: 18px; padding: 16px 18px; min-height: 104px; }
.stat.key { background: var(--lime-soft); border-color: var(--ink); }
.stat small { display: block; font-size: 11px; font-weight: 800; letter-spacing: .08em; color: var(--grey); }
.stat b { display: block; font-size: 30px; letter-spacing: -.02em; margin-top: 4px; min-height: 40px; }
.rows { min-height: 920px; /* twenty lines stand from the first paint — nothing jumps when the list arrives */ }
.rows .r { display: grid; grid-template-columns: 1.4fr 1.2fr 110px; gap: 0 16px; align-items: center; min-height: 46px; border-bottom: 1px solid var(--soft); font-size: 13.5px; }
.rows .r.h { min-height: 30px; font-size: 10.5px; font-weight: 800; letter-spacing: .08em; color: var(--faint); border-bottom-color: var(--line); }
.empty { display: flex; flex-direction: column; align-items: center; gap: 10px; text-align: center; padding: 70px 20px; color: var(--grey); font-size: 14px; line-height: 1.5; }
.empty .mascot { width: 96px; height: 96px; }
.empty b { color: var(--ink); font-size: 17px; }
@media (max-width: 760px) {
  .adm { flex-direction: column; }
  .adm nav { width: auto; height: auto; position: static; flex-direction: row; overflow-x: auto; padding: 10px; gap: 4px; border-right: 0; border-bottom: 1px solid var(--line); }
  .adm nav .logo { padding: 0 10px 0 4px; } .adm nav a.it { flex: none; height: 40px; } .adm main { padding: 14px; }
  .stats { flex-direction: column; } .rows .r { grid-template-columns: 1fr 96px; } .rows .r span:nth-child(2) { display: none; }
}
