* { box-sizing: border-box; }

html { background: var(--paper); font-family: Inter, ui-sans-serif, system-ui, sans-serif; color: var(--forest-950); }
body { min-width: 320px; margin: 0; }
button, input, select { font: inherit; }
button, select { cursor: pointer; }
a { color: inherit; }

.app-shell { min-height: 100vh; display: grid; grid-template-columns: var(--sidebar-width) minmax(0, 1fr); background: var(--paper); }
.sidebar { position: sticky; top: 0; height: 100vh; display: flex; flex-direction: column; gap: 28px; padding: 24px 18px; color: white; background: var(--forest-950); }
.wordmark { display: grid; gap: 2px; color: white; font-size: 22px; font-weight: 800; letter-spacing: -.04em; line-height: 1; text-decoration: none; }
.wordmark span { color: var(--lime-400); font-size: 11px; font-weight: 700; letter-spacing: .09em; text-transform: uppercase; }
.sidebar nav { display: grid; gap: 4px; }
.sidebar nav a { border-radius: var(--radius-sm); color: #d9e3dc; padding: 9px 10px; font-size: 14px; font-weight: 650; text-decoration: none; white-space: nowrap; }
.sidebar nav a:hover, .sidebar nav a[aria-current="page"] { background: var(--forest-800); color: white; }
.sidebar nav a[aria-current="page"]::before { display: inline-block; width: 7px; height: 7px; margin-right: 8px; border-radius: 99px; background: var(--lime-400); content: ''; }
.sidebar__controls { display: grid; gap: 8px; margin-top: auto; }
.sidebar__controls label { color: #c0cdc4; font-size: 12px; font-weight: 750; letter-spacing: .05em; text-transform: uppercase; }
.sidebar select { width: 100%; border: 1px solid #597060; border-radius: var(--radius-sm); padding: 9px; color: white; background: var(--forest-800); }
.button { border: 1px solid transparent; border-radius: var(--radius-sm); padding: 9px 12px; font-weight: 750; }
.button--lime { color: var(--forest-950); background: var(--lime-400); }
.button--primary { color: white; background: var(--forest-800); }
.button--quiet { color: var(--forest-950); background: var(--surface); border-color: var(--line); }
.button--danger { color: white; background: var(--red-text); }
.button:disabled { cursor: not-allowed; opacity: .5; }
.active-user { display: flex; align-items: center; gap: 9px; padding-top: 16px; border-top: 1px solid #385141; }
.active-user__avatar { display: grid; width: 32px; height: 32px; place-items: center; border-radius: 50%; color: var(--forest-950); background: var(--lime-400); font-size: 13px; font-weight: 850; }
.active-user strong, .active-user small { display: block; }
.active-user strong { font-size: 13px; }
.active-user small { color: #c0cdc4; font-size: 12px; }

.page { min-width: 0; padding: 24px clamp(20px, 2.5vw, 36px) 48px; }
.page__header { display: flex; align-items: start; justify-content: space-between; gap: 16px; margin: 10px 0 24px; }
.eyebrow { margin: 0 0 4px; color: var(--muted); font-size: 12px; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; }
h1, h2, p { margin-top: 0; }
.page h1 { margin-bottom: 6px; font-size: clamp(30px, 3.2vw, 46px); letter-spacing: -.05em; line-height: .98; }
.page__header > p:not(.eyebrow) { margin: 0; color: var(--muted); }
