/* the plain pages: 404, privacy policy, team dashboard. loaded after style.css */

.page { padding-top: clamp(7rem, 14vh, 9rem); padding-bottom: var(--section-y); }

/* ---------- 404 ---------- */
.lost { min-height: calc(100svh - 6rem); display: grid; align-content: center; justify-items: start; gap: 1.25rem; }
.lost__code { font-size: clamp(6rem, 22vw, 15rem); line-height: 0.8; font-weight: 900; letter-spacing: -0.04em; margin: 0;
  background: var(--spectrum); -webkit-background-clip: text; background-clip: text; color: transparent; }
.lost .display { max-width: 16ch; text-wrap: balance; }
.lost .body-lg { max-width: 36ch; margin: 0; }
.lost__actions { display: flex; flex-wrap: wrap; gap: 0.75rem; margin-top: 0.75rem; }

/* ---------- privacy policy ---------- */
.legal { max-width: 46rem; }
.legal .display { font-size: clamp(2.5rem, 6vw, 4.5rem); text-wrap: balance; margin-top: 0.75rem; }
.legal .legal__date { margin: 1.5rem 0 0; font-size: 0.875rem; font-weight: 600; color: var(--ink-50); }
.legal__short { margin: clamp(2rem, 4vw, 3rem) 0 0; padding-left: 1.25rem; border-left: 4px solid; border-image: var(--spectrum) 1; }
.legal__short p { margin: 0; }
.legal__short p + p { margin-top: 0.75rem; }
.legal h2 { font-size: clamp(1.375rem, 2.2vw, 1.75rem); font-weight: 800; line-height: 1.15; margin: clamp(2.5rem, 5vw, 3.5rem) 0 0.75rem; text-wrap: balance; }
.legal h3 { font-size: 1.0625rem; font-weight: 700; margin: 1.5rem 0 0.4rem; }
.legal p, .legal li { font-size: 1.0625rem; line-height: 1.65; color: var(--ink-70); text-wrap: pretty; }
.legal p { margin: 0 0 0.9rem; }
.legal ul { margin: 0 0 0.9rem; padding-left: 1.25rem; }
.legal li { margin-bottom: 0.4rem; }
.legal a { color: var(--ink); text-decoration-thickness: 1.5px; text-underline-offset: 3px; }
.legal a:hover { text-decoration-color: var(--s1); }
.legal strong { color: var(--ink); font-weight: 700; }

/* ---------- team dashboard (product mode: dense, quiet) ---------- */
.team { max-width: 72rem; }
.team__h { font-size: clamp(1.75rem, 3vw, 2.25rem); font-weight: 800; margin: 0.5rem 0 0; }
.team__login { display: flex; flex-wrap: wrap; gap: 0.75rem; align-items: end; margin-top: 1.5rem; }
.team__login label span { display: block; font-family: var(--mono); font-size: 0.6875rem; letter-spacing: 0.08em; text-transform: uppercase; color: var(--ink-50); margin-bottom: 0.4rem; }
.team__login input, .team__bar select { font: inherit; font-weight: 600; padding: 0.7rem 0.9rem; border: 1.5px solid var(--ink-16); border-radius: 12px; background: #fff; color: var(--ink); min-height: 2.75rem; }
.team__login input { width: min(22rem, 100%); -webkit-user-select: text; user-select: text; }
.team__login input:focus, .team__bar select:focus { outline: 2px solid var(--s1); outline-offset: 2px; }
.team__msg { margin: 0.75rem 0 0; font-weight: 600; color: var(--ink-50); }
.team__msg.is-err { color: var(--s8); }
.team__bar { display: flex; flex-wrap: wrap; gap: 0.75rem; align-items: center; margin: 1.5rem 0 0; }
.team__bar .spacer { flex: 1; }
.team__grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(15rem, 1fr)); gap: 2rem 2.5rem; margin-top: 2.5rem; }
.team h2 { font-size: 1rem; font-weight: 800; margin: 2.5rem 0 0.6rem; }
.team__grid h2 { margin-top: 0; }
.tbl-wrap { overflow-x: auto; -webkit-overflow-scrolling: touch; }
.tbl { width: 100%; border-collapse: collapse; font-size: 0.875rem; font-variant-numeric: tabular-nums; -webkit-user-select: text; user-select: text; }
.tbl th, .tbl td { text-align: left; padding: 0.5rem 0.75rem 0.5rem 0; border-bottom: 1px solid var(--ink-08); vertical-align: top; }
.tbl th { font-family: var(--mono); font-size: 0.6875rem; font-weight: 500; letter-spacing: 0.06em; text-transform: uppercase; color: var(--ink-50); white-space: nowrap; }
.tbl td.n, .tbl th.n { text-align: right; padding-right: 0; padding-left: 0.75rem; }
.tbl tfoot td { font-weight: 800; border-bottom: 0; border-top: 1.5px solid var(--ink-16); }
.tbl .empty { color: var(--ink-50); font-weight: 600; }
.tbl--wide td, .tbl td:first-child { white-space: nowrap; }
.visually-hidden { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
/* the plain pages have no scroll script, so the fixed header gets its white background up front */
.plain .nav { background: rgba(255, 255, 255, 0.94); border-bottom-color: var(--ink-08); }
.plain .nav__logo img { height: 52px; }
