:root {
  --bg: #f3f6fa;
  --sidebar: #171a2b;
  --surface: #ffffff;
  --surface-soft: #f5f7fb;
  --surface-warm: #f7f5fb;
  --surface-raised: #ffffff;
  --text: #171a2b;
  --text-soft: #394055;
  --muted: #626c80;
  --faint: #667085;
  --border: #dfe5ee;
  --border-strong: #c8d2e1;
  --accent: #087a86;
  --accent-dark: #055963;
  --accent-soft: #e3f4f5;
  --signal: #cf3d72;
  --signal-dark: #9d2854;
  --signal-soft: #fbeaf1;
  --critical: #c33652;
  --critical-soft: #fceaf0;
  --attention: #7559b7;
  --attention-soft: #f0ecfa;
  --context: #3568b8;
  --context-soft: #eaf1fc;
  --positive: #16735d;
  --positive-soft: #e4f5ee;
  --neutral-soft: #eef1f6;
  --violet: #6255bb;
  --violet-soft: #eeecfb;
  --font-ui: "Manrope", ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --font-code: "DM Mono", ui-monospace, SFMono-Regular, Consolas, monospace;
  --sidebar-width: 268px;
  --radius-sm: 10px;
  --radius: 16px;
  --radius-lg: 22px;
  --radius-hero: 26px;
  --shadow-sm: 0 1px 2px rgba(23, 26, 43, 0.04), 0 8px 24px rgba(38, 52, 76, 0.055);
  --shadow-md: 0 3px 8px rgba(23, 26, 43, 0.06), 0 24px 56px rgba(38, 52, 76, 0.13);
}

* { box-sizing: border-box; }

html {
  color: var(--text);
  background: var(--bg);
  font-family: var(--font-ui);
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  background: var(--bg);
  font-size: 16px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}

button, input, select { font: inherit; }
button { color: inherit; cursor: pointer; }
a { color: inherit; text-decoration: none; }
h1, h2, h3, h4, p { margin-top: 0; }
svg { width: 18px; height: 18px; }

:focus-visible {
  outline: 3px solid rgba(23, 109, 115, 0.3);
  outline-offset: 2px;
}

.skip-link {
  position: fixed;
  left: 14px;
  top: -60px;
  z-index: 200;
  padding: 9px 14px;
  border-radius: 8px;
  background: var(--text);
  color: #fff;
}

.skip-link:focus { top: 14px; }
.overlay-open { overflow: hidden; }

.app-shell { min-height: 100vh; }

.sidebar {
  position: fixed;
  inset: 0 auto 0 0;
  z-index: 30;
  display: flex;
  width: var(--sidebar-width);
  overflow-y: auto;
  flex-direction: column;
  padding: 23px 16px 16px;
  border-right: 0;
  background: var(--sidebar);
  color: #f5f7ff;
  box-shadow: 12px 0 38px rgba(37, 33, 58, 0.1);
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 2px 7px 22px;
  font-size: 20px;
  font-weight: 750;
  letter-spacing: -0.02em;
}

.brand-mark {
  display: block;
  width: 42px;
  height: 42px;
  flex: 0 0 auto;
  border-radius: 14px;
  object-fit: cover;
  box-shadow: 0 11px 26px rgba(5, 7, 24, .34), 0 0 0 1px rgba(255, 255, 255, .08);
}
.brand-copy { min-width: 0; }
.brand-copy strong,
.brand-copy small { display: block; }
.brand-copy strong { color: #fff; font-size: 20px; line-height: 1.1; letter-spacing: -0.035em; }
.brand-copy small { margin-top: 4px; color: #a9a4bb; font-family: var(--font-code); font-size: 10px; font-weight: 500; letter-spacing: 0.01em; }

.workspace-card,
.manager-card {
  display: flex;
  width: 100%;
  align-items: center;
  gap: 10px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 13px;
  background: rgba(255, 255, 255, 0.075);
  text-align: left;
  box-shadow: var(--shadow-sm);
}

.workspace-card { padding: 11px; }
.workspace-card > span:nth-child(2),
.manager-card > span:nth-child(2) { min-width: 0; flex: 1; }
.workspace-card strong,
.workspace-card small,
.manager-card strong,
.manager-card small { display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.workspace-card strong,
.manager-card strong { color: #fff; font-size: 14px; }
.workspace-card small,
.manager-card small { margin-top: 2px; color: #aaa5b9; font-size: 11px; }
.workspace-card > svg,
.manager-card > svg { width: 15px; color: #8d88a0; }

.workspace-avatar {
  display: grid;
  width: 36px;
  height: 36px;
  flex: 0 0 auto;
  place-items: center;
  border-radius: 11px;
  background: #dff2ee;
  color: #164e52;
  font-size: 14px;
  font-weight: 750;
}

.sidebar-nav { margin-top: 13px; }
.nav-label {
  padding: 17px 11px 7px;
  color: #8e899f;
  font-family: var(--font-code);
  font-size: 10px;
  font-weight: 750;
  letter-spacing: 0.11em;
  text-transform: uppercase;
}
.admin-label { margin-top: 6px; }
.nav-link {
  display: flex;
  align-items: center;
  min-height: 45px;
  gap: 12px;
  margin: 3px 0;
  padding: 10px 12px;
  border-radius: 12px;
  color: #cac6d7;
  font-size: 14px;
  font-weight: 550;
  transition: background .16s ease, color .16s ease, transform .16s ease;
}
.nav-link svg { width: 19px; color: #928da2; }
.nav-link:hover { background: rgba(255, 255, 255, 0.07); color: #fff; transform: translateX(2px); }
.nav-link.active { background: #eef3fb; color: #182039; font-weight: 750; box-shadow: 0 10px 25px rgba(8, 14, 31, 0.2); }
.nav-link.active svg { color: var(--signal); }
.sidebar-spacer { flex: 1; }

.source-health {
  display: flex;
  align-items: flex-start;
  gap: 9px;
  margin: 10px 4px 12px;
  padding: 12px;
  border: 1px solid rgba(117, 212, 195, 0.12);
  border-radius: 13px;
  background: rgba(36, 127, 123, 0.16);
}
.source-health .status-dot {
  width: 7px;
  height: 7px;
  flex: 0 0 auto;
  margin-top: 5px;
  border-radius: 50%;
  background: #6ed1b7;
  box-shadow: 0 0 0 4px rgba(110, 209, 183, 0.12);
}
.source-health strong,
.source-health small { display: block; }
.source-health strong { color: #f5f2f9; font-size: 12px; }
.source-health small { margin-top: 3px; color: #9f9aaf; font-size: 10px; line-height: 1.45; }
.manager-card { border: 0; border-top: 1px solid rgba(255,255,255,.1); border-radius: 0; background: transparent; box-shadow: none; padding: 15px 8px 4px; }

.avatar {
  display: grid;
  width: 34px;
  height: 34px;
  flex: 0 0 auto;
  place-items: center;
  border: 1px solid #dce1dc;
  border-radius: 50%;
  background: #edf0ed;
  color: #405049;
  font-size: 14px;
  font-weight: 720;
}
.avatar.small { width: 28px; height: 28px; font-size: 12px; }
.avatar.tiny { width: 24px; height: 24px; border: 2px solid #fff; font-size: 11px; }
.avatar.large { width: 44px; height: 44px; font-size: 16px; }
.avatar.xlarge { width: 58px; height: 58px; font-size: 19px; }

.main-shell { min-height: 100vh; margin-left: var(--sidebar-width); }
.topbar {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  height: 72px;
  align-items: center;
  justify-content: space-between;
  padding: 0 34px;
  border-bottom: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.88);
  backdrop-filter: blur(18px);
}
.topbar-left,
.topbar-actions,
.breadcrumbs,
.action-card-buttons,
.source-footer,
.source-footer > div,
.drawer-footer,
.drawer-footer > div { display: flex; align-items: center; }
.breadcrumbs { gap: 8px; color: var(--muted); font-size: 13px; }
.breadcrumbs svg { width: 13px; color: var(--faint); }
.breadcrumbs strong { color: var(--text); }
.topbar-actions { gap: 8px; }
.team-filter-label { color: var(--faint); font-size: 11px; }
.team-filter {
  height: 42px;
  min-width: 148px;
  padding: 0 34px 0 13px;
  border: 1px solid var(--border);
  border-radius: 11px;
  background: var(--surface-raised);
  color: var(--text-soft);
  font-size: 14px;
}
.search-button,
.icon-button,
.button {
  display: inline-flex;
  min-height: 42px;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border: 1px solid var(--border);
  border-radius: 11px;
  background: var(--surface-raised);
  box-shadow: var(--shadow-sm);
  font-weight: 650;
}
.search-button:hover,
.icon-button:hover,
.button:hover { border-color: var(--border-strong); background: #f7f9fc; transform: translateY(-1px); }
.search-button { width: 260px; justify-content: flex-start; padding: 0 13px; color: var(--muted); font-size: 13px; font-weight: 500; }
.search-button > span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.search-button svg { width: 15px; }
.search-button kbd {
  margin-left: auto;
  padding: 1px 5px;
  border: 1px solid var(--border);
  border-bottom-width: 2px;
  border-radius: 5px;
  background: #fafafa;
  color: var(--faint);
  font-size: 12px;
}
.icon-button { width: 42px; padding: 0; }
.icon-button svg { width: 16px; }
.notification-button { position: relative; }
.notification-button span {
  position: absolute;
  top: -5px;
  right: -5px;
  display: grid;
  min-width: 16px;
  height: 16px;
  place-items: center;
  border: 2px solid #fff;
  border-radius: 999px;
  background: var(--accent);
  color: #fff;
  font-size: 11px;
}
.top-avatar { border: 0; border-radius: 50%; background: transparent; padding: 2px; }
.mobile-menu { display: none; }

.page { max-width: 1360px; margin: 0 auto; padding: 42px 40px 76px; }
.page-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 27px;
}
.eyebrow {
  display: block;
  margin-bottom: 7px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 760;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}
.eyebrow.light { color: rgba(255,255,255,.58); }
.page-header h1 {
  max-width: 760px;
  margin-bottom: 7px;
  font-size: 34px;
  line-height: 1.18;
  letter-spacing: -0.035em;
}
.page-header p { max-width: 760px; margin-bottom: 0; color: var(--muted); font-size: 16px; }
.page-header-action { flex: 0 0 auto; padding-top: 12px; }

.brief-banner {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(340px, 0.7fr);
  gap: 32px;
  overflow: hidden;
  padding: 28px;
  border-radius: var(--radius-lg);
  background:
    radial-gradient(circle at 87% -30%, rgba(93, 153, 128, .35), transparent 38%),
    linear-gradient(135deg, #18251f 0%, #21352c 100%);
  color: #fff;
  box-shadow: 0 12px 35px rgba(24, 37, 31, .14);
}
.brief-banner:after {
  position: absolute;
  right: 29%;
  bottom: -80px;
  width: 190px;
  height: 190px;
  border: 1px solid rgba(255,255,255,.08);
  border-radius: 50%;
  content: "";
}
.brief-banner-copy { position: relative; z-index: 1; }
.brief-banner h2 { max-width: 650px; margin-bottom: 9px; font-size: 30px; line-height: 1.25; letter-spacing: -0.025em; }
.brief-banner p { max-width: 720px; margin: 0; color: rgba(255,255,255,.68); font-size: 15px; }
.brief-modes { position: relative; z-index: 1; display: grid; grid-template-columns: repeat(3, 1fr); align-items: stretch; border: 1px solid rgba(255,255,255,.12); border-radius: 11px; background: rgba(255,255,255,.045); }
.brief-modes > div { padding: 14px; border-right: 1px solid rgba(255,255,255,.1); }
.brief-modes > div:last-child { border-right: 0; }
.brief-modes strong,
.brief-modes small { display: block; }
.brief-modes strong { margin-top: 10px; font-size: 14px; }
.brief-modes small { margin-top: 2px; color: rgba(255,255,255,.52); font-size: 11px; line-height: 1.3; }
.mode-icon { display: grid; width: 27px; height: 27px; place-items: center; border-radius: 8px; }
.mode-icon svg { width: 13px; }
.mode-icon.critical { background: rgba(217, 70, 122, .18); color: #ff9fc0; }
.mode-icon.context { background: rgba(131, 164, 224, .16); color: #afc8f7; }
.mode-icon.positive { background: rgba(104, 183, 146, .16); color: #9cddb9; }

.section-block { margin-top: 32px; }
.section-heading { display: flex; align-items: flex-end; justify-content: space-between; gap: 20px; margin-bottom: 14px; }
.section-heading h2 { margin-bottom: 0; font-size: 22px; letter-spacing: -0.02em; }
.section-heading p { margin: 5px 0 0; color: var(--muted); font-size: 14px; }
.refresh-label { display: flex; align-items: center; gap: 6px; color: var(--faint); font-size: 12px; }
.refresh-label svg { width: 12px; }
.decision-layout { display: grid; grid-template-columns: minmax(0, 1.65fr) minmax(300px, .65fr); gap: 14px; }

.action-card {
  position: relative;
  display: flex;
  min-width: 0;
  flex-direction: column;
  padding: 19px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--surface);
  box-shadow: var(--shadow-sm);
}
.action-card:before {
  position: absolute;
  inset: 18px auto 18px 0;
  width: 3px;
  border-radius: 0 3px 3px 0;
  background: var(--border-strong);
  content: "";
}
.action-card.tone-critical:before { background: var(--critical); }
.action-card.tone-attention:before { background: var(--attention); }
.action-card.tone-context:before { background: var(--context); }
.action-card.tone-positive:before { background: var(--positive); }
.action-card.featured { min-height: 385px; padding: 24px; }
.action-card-top { display: flex; align-items: center; gap: 9px; }
.action-symbol {
  display: grid;
  width: 31px;
  height: 31px;
  flex: 0 0 auto;
  place-items: center;
  border-radius: 9px;
  background: var(--neutral-soft);
  color: var(--muted);
}
.action-symbol svg { width: 15px; }
.tone-critical .action-symbol { background: var(--critical-soft); color: var(--critical); }
.tone-attention .action-symbol { background: var(--attention-soft); color: var(--attention); }
.tone-context .action-symbol { background: var(--context-soft); color: var(--context); }
.tone-positive .action-symbol { background: var(--positive-soft); color: var(--positive); }
.action-meta { display: flex; min-width: 0; align-items: center; gap: 6px; color: var(--muted); font-size: 12px; }
.action-meta span:first-child { color: var(--text-soft); font-weight: 700; text-transform: uppercase; letter-spacing: .06em; }
.meta-separator { color: var(--border-strong); }
.status-pill { margin-left: auto; padding: 4px 8px; border-radius: 99px; background: var(--neutral-soft); color: var(--muted); font-size: 11px; font-weight: 700; }
.status-recommended { background: var(--attention-soft); color: var(--attention); }
.status-planned { background: var(--context-soft); color: var(--context); }
.status-done { background: var(--positive-soft); color: var(--positive); }
.action-card h2,
.action-card h3 { margin: 18px 0 8px; letter-spacing: -0.023em; }
.action-card h2 { max-width: 800px; font-size: 26px; line-height: 1.26; }
.action-card h3 { font-size: 20px; line-height: 1.3; }
.action-claim { margin-bottom: 17px; color: var(--muted); font-size: 15px; line-height: 1.55; }
.recommended-move { padding: 13px 14px; border: 1px solid #e2e8e4; border-radius: 9px; background: #f7f9f7; }
.recommended-move > span { display: flex; align-items: center; gap: 6px; color: var(--accent); font-size: 11px; font-weight: 760; letter-spacing: .07em; text-transform: uppercase; }
.recommended-move > span svg { width: 12px; }
.recommended-move p { margin: 6px 0 0; color: var(--text-soft); font-size: 14px; line-height: 1.5; }
.action-card-footer { display: flex; align-items: flex-end; justify-content: space-between; gap: 16px; margin-top: auto; padding-top: 18px; }
.action-context { display: flex; align-items: center; gap: 9px; color: var(--muted); font-size: 12px; }
.team-token,
.team-mark {
  display: grid;
  place-items: center;
  border-radius: 8px;
  background: var(--context-soft);
  color: var(--context);
  font-weight: 760;
}
.team-token { width: 31px; height: 31px; font-size: 12px; }
.team-token.violet,
.team-mark.violet { background: var(--violet-soft); color: var(--violet); }
.team-token.amber,
.team-mark.amber { background: var(--attention-soft); color: var(--attention); }
.action-context > span:last-child > small { display: block; margin-bottom: 3px; color: var(--muted); }
.avatar-stack { display: inline-flex; margin-right: 5px; vertical-align: middle; }
.avatar-stack .avatar + .avatar { margin-left: -7px; }
.action-card-buttons { flex: 0 0 auto; gap: 9px; }
.button { padding: 0 13px; color: var(--text-soft); font-size: 13px; }
.button svg { width: 14px; }
.button.primary { border-color: var(--accent-dark); background: var(--accent-dark); color: #fff; }
.button.primary:hover { border-color: #123c2e; background: #123c2e; }
.button:disabled { opacity: .45; cursor: not-allowed; }
.button:disabled:hover { border-color: var(--border); background: inherit; }
.button.quiet { background: var(--surface-soft); }
.button.ghost { border-color: transparent; background: transparent; box-shadow: none; }
.button.small { min-height: 31px; padding: 0 10px; font-size: 12px; }
.button.full { width: 100%; }
.text-button { display: inline-flex; align-items: center; gap: 5px; border: 0; background: transparent; color: var(--accent); padding: 0; font-size: 12px; font-weight: 700; }
.text-button svg { width: 12px; }

.next-list { overflow: hidden; border: 1px solid var(--border); border-radius: var(--radius); background: var(--surface); box-shadow: var(--shadow-sm); }
.next-list-head { padding: 18px 18px 12px; }
.next-list-head h3 { margin: 0; font-size: 18px; }
.next-item { display: grid; width: 100%; grid-template-columns: 27px 1fr 15px; gap: 10px; align-items: center; padding: 14px 17px; border: 0; border-top: 1px solid #edf0ec; background: #fff; text-align: left; }
.next-item:hover { background: #fafbf9; }
.next-number { display: grid; width: 25px; height: 25px; place-items: center; border: 1px solid var(--border); border-radius: 7px; color: var(--muted); font-size: 12px; font-weight: 720; }
.next-item small,
.next-item strong { display: block; }
.next-item small { margin-bottom: 3px; color: var(--muted); font-size: 11px; }
.next-item strong { font-size: 13px; line-height: 1.35; }
.next-item > svg { width: 13px; color: var(--faint); }
.all-actions { margin: 16px 18px; }
.empty-copy { padding: 0 18px 18px; color: var(--muted); font-size: 14px; }

.change-section { padding-top: 8px; }
.update-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.update-card { display: flex; min-height: 210px; flex-direction: column; padding: 18px; border: 1px solid var(--border); border-radius: var(--radius); background: var(--surface); }
.update-icon { display: grid; width: 31px; height: 31px; place-items: center; border-radius: 9px; background: var(--neutral-soft); color: var(--muted); }
.update-icon svg { width: 14px; }
.tone-attention .update-icon { background: var(--attention-soft); color: var(--attention); }
.tone-positive .update-icon { background: var(--positive-soft); color: var(--positive); }
.tone-context .update-icon { background: var(--context-soft); color: var(--context); }
.update-card h3 { margin: 15px 0 7px; font-size: 17px; line-height: 1.4; }
.update-card p { margin-bottom: 14px; color: var(--muted); font-size: 13px; line-height: 1.55; }
.update-card .text-button { margin-top: auto; align-self: flex-start; }

.action-toolbar { display: flex; align-items: center; justify-content: space-between; gap: 18px; margin-bottom: 16px; }
.segmented { display: flex; gap: 3px; padding: 3px; border: 1px solid var(--border); border-radius: 9px; background: #ecefeb; }
.segmented button { display: flex; align-items: center; gap: 7px; padding: 6px 10px; border: 0; border-radius: 6px; background: transparent; color: var(--muted); font-size: 12px; font-weight: 650; }
.segmented button span { display: grid; min-width: 16px; height: 16px; place-items: center; border-radius: 99px; background: rgba(0,0,0,.05); font-size: 11px; }
.segmented button.active { background: #fff; color: var(--text); box-shadow: var(--shadow-sm); }
.inline-search { display: flex; min-width: 280px; height: 36px; align-items: center; gap: 8px; padding: 0 10px; border: 1px solid var(--border); border-radius: 8px; background: #fff; }
.inline-search svg { width: 15px; color: var(--faint); }
.inline-search input { min-width: 0; flex: 1; border: 0; outline: 0; background: transparent; color: var(--text); font-size: 13px; }
.inline-search input::placeholder { color: var(--faint); }
.action-list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 13px; }
.action-list .action-card { min-height: 365px; }
.empty-state { display: grid; min-height: 300px; grid-column: 1 / -1; place-items: center; align-content: center; padding: 40px; border: 1px dashed var(--border-strong); border-radius: var(--radius); color: var(--muted); text-align: center; }
.empty-state > svg { width: 32px; height: 32px; margin-bottom: 12px; color: var(--faint); }
.empty-state h2 { margin-bottom: 6px; color: var(--text-soft); font-size: 18px; }
.empty-state p { max-width: 430px; margin: 0; font-size: 14px; }
.empty-state.compact { min-height: 180px; }

.principle-note { display: flex; align-items: flex-start; gap: 11px; margin-bottom: 18px; padding: 13px 15px; border: 1px solid #dce4df; border-radius: 10px; background: #f6faf7; color: var(--text-soft); }
.principle-note > svg { width: 17px; flex: 0 0 auto; margin-top: 1px; color: var(--accent); }
.principle-note strong,
.principle-note span { display: block; }
.principle-note strong { font-size: 13px; }
.principle-note span { margin-top: 2px; color: var(--muted); font-size: 12px; }
.team-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 13px; }
.team-card { display: flex; min-height: 480px; flex-direction: column; padding: 19px; border: 1px solid var(--border); border-radius: var(--radius); background: var(--surface); box-shadow: var(--shadow-sm); }
.team-card-head { display: flex; align-items: center; gap: 10px; }
.team-mark { width: 38px; height: 38px; font-size: 13px; }
.team-card-head .eyebrow { margin-bottom: 2px; color: var(--text-soft); }
.team-card-head p { margin: 0; color: var(--muted); font-size: 12px; }
.team-card > h2 { margin: 20px 0 8px; font-size: 22px; line-height: 1.35; letter-spacing: -0.025em; }
.team-summary { min-height: 68px; margin-bottom: 17px; color: var(--muted); font-size: 13px; line-height: 1.55; }
.team-plan { overflow: hidden; margin-bottom: 15px; border: 1px solid var(--border); border-radius: 9px; }
.team-plan-label { display: flex; justify-content: space-between; gap: 10px; padding: 10px 11px; background: var(--surface-soft); }
.team-plan-label span { font-size: 11px; font-weight: 760; text-transform: uppercase; letter-spacing: .08em; }
.team-plan-label small { color: var(--muted); font-size: 11px; }
.team-plan > button,
.person-action-list > button,
.involved-list > button,
.command-results > button,
.updates-popover > button { display: grid; width: 100%; grid-template-columns: 27px 1fr 14px; gap: 9px; align-items: center; padding: 11px; border: 0; border-top: 1px solid #edf0ec; background: #fff; text-align: left; }
.team-plan > button:hover,
.person-action-list > button:hover,
.involved-list > button:hover,
.command-results > button:hover,
.updates-popover > button:hover { background: #fafbf9; }
.team-plan button strong,
.team-plan button small,
.person-action-list button strong,
.person-action-list button small,
.involved-list button strong,
.involved-list button small,
.command-results button strong,
.command-results button small,
.updates-popover button strong,
.updates-popover button small { display: block; }
.team-plan button strong,
.person-action-list button strong,
.involved-list button strong,
.command-results button strong,
.updates-popover button strong { font-size: 12px; line-height: 1.35; }
.team-plan button small,
.person-action-list button small,
.involved-list button small,
.command-results button small,
.updates-popover button small { margin-top: 2px; overflow: hidden; color: var(--muted); font-size: 11px; line-height: 1.35; text-overflow: ellipsis; white-space: nowrap; }
.team-plan button > svg,
.person-action-list button > svg,
.involved-list button > svg,
.command-results button > svg,
.updates-popover button > svg { width: 12px; color: var(--faint); }
.mini-tone { display: grid; width: 27px; height: 27px; place-items: center; border-radius: 8px; background: var(--neutral-soft); color: var(--muted); }
.mini-tone svg { width: 13px; }
.mini-tone.critical { background: var(--critical-soft); color: var(--critical); }
.mini-tone.attention { background: var(--attention-soft); color: var(--attention); }
.mini-tone.context { background: var(--context-soft); color: var(--context); }
.mini-tone.positive { background: var(--positive-soft); color: var(--positive); }
.team-clear { padding: 15px; color: var(--muted); font-size: 13px; }
.team-card > .button { margin-top: auto; }

.person-principle { margin-top: -4px; }
.people-search { min-width: 230px; }
.people-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 13px; }
.person-card { display: flex; min-height: 465px; flex-direction: column; padding: 18px; border: 1px solid var(--border); border-radius: var(--radius); background: var(--surface); box-shadow: var(--shadow-sm); }
.person-card.no-action { background: #fafbf9; }
.person-card-head { display: flex; align-items: center; gap: 11px; }
.person-card-head h2 { margin: 0 0 2px; font-size: 17px; }
.person-card-head p { margin: 0; color: var(--muted); font-size: 12px; }
.person-brief-label { margin-top: 21px; color: var(--muted); font-size: 11px; font-weight: 760; letter-spacing: .08em; text-transform: uppercase; }
.person-card > h3 { margin: 7px 0 8px; font-size: 19px; line-height: 1.35; letter-spacing: -0.02em; }
.person-card > p { min-height: 77px; margin-bottom: 15px; color: var(--muted); font-size: 13px; line-height: 1.55; }
.person-next { margin-bottom: 15px; padding: 12px; border: 1px solid #e1e7e3; border-radius: 9px; background: #f7f9f7; }
.person-next > span { display: flex; align-items: center; gap: 5px; color: var(--accent); font-size: 11px; font-weight: 760; text-transform: uppercase; letter-spacing: .07em; }
.person-next svg { width: 11px; }
.person-next strong,
.person-next small { display: block; }
.person-next strong { margin-top: 6px; font-size: 12px; line-height: 1.45; }
.person-next small { margin-top: 6px; color: var(--muted); font-size: 11px; }
.person-clear { margin-bottom: 15px; padding: 16px 12px; border-radius: 9px; background: var(--neutral-soft); color: var(--muted); font-size: 12px; }
.person-card > .button { margin-top: auto; }

.follow-section + .follow-section { margin-top: 34px; }
.follow-list,
.outcome-list { display: grid; gap: 10px; }
.follow-card { display: grid; grid-template-columns: 38px 1fr auto; gap: 13px; align-items: center; padding: 17px; border: 1px solid var(--border); border-radius: var(--radius); background: var(--surface); }
.follow-state { display: grid; width: 36px; height: 36px; place-items: center; border-radius: 10px; background: var(--context-soft); color: var(--context); }
.follow-state svg { width: 16px; }
.follow-card small { color: var(--muted); font-size: 11px; }
.follow-card h3 { margin: 3px 0 4px; font-size: 16px; }
.follow-card p { margin: 0 0 6px; color: var(--muted); font-size: 12px; }
.follow-owner { display: inline-flex; align-items: center; gap: 5px; color: var(--context); font-size: 11px; font-weight: 650; }
.follow-owner svg { width: 11px; }
.follow-actions { display: flex; align-items: center; gap: 12px; }
.outcome-card { display: grid; grid-template-columns: 31px 1fr; gap: 12px; padding: 17px; border: 1px solid var(--border); border-radius: var(--radius); background: var(--surface); }
.outcome-check { display: grid; width: 29px; height: 29px; place-items: center; border-radius: 50%; background: var(--positive-soft); color: var(--positive); }
.outcome-check svg { width: 14px; }
.outcome-card small { color: var(--muted); font-size: 11px; }
.outcome-card h3 { margin: 3px 0 5px; font-size: 15px; }
.outcome-card p { margin-bottom: 8px; color: var(--text-soft); font-size: 13px; }
.evidence-reference { display: inline-flex; align-items: center; gap: 5px; border: 0; background: transparent; color: var(--muted); padding: 0; font-size: 11px; }
.evidence-reference svg { width: 11px; }

.admin-page { max-width: 1120px; }
.source-list { display: grid; gap: 13px; }
.cross-source-summary { display: flex; align-items: flex-start; gap: 11px; margin-bottom: 14px; padding: 13px 15px; border: 1px solid #d9e4de; border-radius: 10px; background: #f5faf7; }
.cross-source-summary > svg { width: 17px; flex: 0 0 auto; color: var(--accent); }
.cross-source-summary strong,
.cross-source-summary span { display: block; }
.cross-source-summary strong { font-size: 12px; }
.cross-source-summary span { margin-top: 2px; color: var(--muted); font-size: 11px; }
.source-card,
.settings-card { overflow: hidden; border: 1px solid var(--border); border-radius: var(--radius-lg); background: var(--surface); box-shadow: var(--shadow-sm); }
.source-card-head { display: grid; grid-template-columns: 46px 1fr auto; gap: 13px; align-items: center; padding: 20px; border-bottom: 1px solid var(--border); }
.source-logo { display: grid; width: 44px; height: 44px; place-items: center; border-radius: 11px; background: #202824; color: #fff; }
.source-logo.linear { background: #5e55c6; }
.source-logo.linear strong { font-size: 20px; }
.source-logo svg { width: 21px; }
.source-card-head .eyebrow { margin-bottom: 1px; }
.source-card-head h2 { margin: 0; font-size: 20px; }
.source-card-head p { margin: 1px 0 0; color: var(--muted); font-size: 12px; }
.connected-pill { display: inline-flex; align-items: center; gap: 6px; padding: 5px 8px; border-radius: 99px; background: var(--positive-soft); color: var(--positive); font-size: 12px; font-weight: 700; }
.connected-pill span { width: 6px; height: 6px; border-radius: 50%; background: currentColor; }
.source-body { display: grid; grid-template-columns: 1fr .9fr; gap: 20px; padding: 22px; }
.source-body h3 { margin-bottom: 5px; font-size: 15px; }
.source-body > div > p { color: var(--muted); font-size: 13px; }
.coverage-list { display: grid; grid-template-columns: 1fr 1fr; gap: 9px; margin: 17px 0 0; padding: 0; list-style: none; }
.coverage-list li { display: flex; align-items: center; gap: 7px; font-size: 12px; }
.coverage-list svg { width: 13px; color: var(--positive); }
.source-boundary { display: flex; align-items: flex-start; gap: 10px; padding: 15px; border: 1px solid #d9d1ee; border-radius: 10px; background: var(--attention-soft); }
.source-boundary > svg { width: 17px; flex: 0 0 auto; color: var(--attention); }
.source-boundary p { margin: 0; color: var(--attention); font-size: 12px; line-height: 1.55; }
.source-footer { justify-content: space-between; gap: 14px; padding: 13px 20px; border-top: 1px solid var(--border); background: var(--surface-soft); color: var(--muted); font-size: 12px; }
.source-footer > span { display: flex; align-items: center; gap: 6px; }
.source-footer svg { width: 12px; }
.source-footer > div { gap: 8px; }
.source-principles { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; margin-top: 14px; }
.source-principles > div { padding: 16px; border: 1px solid var(--border); border-radius: 11px; background: var(--surface); }
.source-principles > div > span { display: grid; width: 24px; height: 24px; place-items: center; border-radius: 7px; background: var(--accent-soft); color: var(--accent); font-size: 11px; font-weight: 750; }
.source-principles h3 { margin: 11px 0 4px; font-size: 14px; }
.source-principles p { margin: 0; color: var(--muted); font-size: 12px; }

.settings-card { margin-bottom: 14px; }
.settings-head { display: flex; align-items: flex-start; gap: 11px; padding: 19px; border-bottom: 1px solid var(--border); }
.settings-icon { display: grid; width: 35px; height: 35px; flex: 0 0 auto; place-items: center; border-radius: 9px; background: var(--accent-soft); color: var(--accent); }
.settings-icon svg { width: 16px; }
.settings-head h2 { margin-bottom: 3px; font-size: 17px; }
.settings-head p { margin: 0; color: var(--muted); font-size: 12px; }
.setting-row { display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 15px 19px; border-bottom: 1px solid #edf0ec; }
.setting-row:last-child { border-bottom: 0; }
.setting-row strong { font-size: 13px; }
.setting-row p { max-width: 690px; margin: 2px 0 0; color: var(--muted); font-size: 12px; }
.switch { display: flex; width: 36px; height: 20px; flex: 0 0 auto; align-items: center; padding: 2px; border: 0; border-radius: 99px; background: #cdd3ce; }
.switch span { width: 16px; height: 16px; border-radius: 50%; background: #fff; box-shadow: 0 1px 2px rgba(0,0,0,.15); transition: transform .16s; }
.switch.on { background: var(--accent); }
.switch.on span { transform: translateX(16px); }
.cadence-row { display: flex; align-items: center; justify-content: space-between; padding: 17px 19px; }
.cadence-row span,
.cadence-row strong { display: block; }
.cadence-row span { color: var(--muted); font-size: 12px; }
.cadence-row strong { margin-top: 2px; font-size: 13px; }

/* Performance system */
.period-control { display: flex; gap: 3px; padding: 3px; border: 1px solid var(--border); border-radius: 9px; background: #ecefeb; }
.period-control button { min-height: 30px; padding: 0 12px; border: 0; border-radius: 6px; background: transparent; color: var(--muted); font-size: 12px; font-weight: 700; }
.period-control button.active { background: #fff; color: var(--text); box-shadow: var(--shadow-sm); }
.trend-chart { width: 100%; min-width: 0; }
.trend-chart svg { display: block; width: 100%; height: auto; overflow: visible; }
.trend-chart.compact svg { max-height: 116px; }
.chart-grid-line { stroke: #e7ebe7; stroke-width: 1; }
.chart-line { fill: none; stroke-linecap: round; stroke-linejoin: round; }
.actual-line { stroke: var(--accent); stroke-width: 4; }
.comparison-line { stroke: #aeb6b0; stroke-width: 2; stroke-dasharray: 7 7; }
.chart-area { fill: rgba(36, 101, 79, .08); }
.chart-point { fill: #fff; stroke: var(--accent); stroke-width: 3; }
.chart-point.comparison-point { stroke: #aeb6b0; stroke-width: 2; }
.chart-axis-label { fill: var(--faint); font-size: 12px; }
.chart-y-label { fill: var(--faint); font-size: 11px; }
.chart-unit-label { fill: var(--muted); font-size: 11px; font-weight: 700; }
.chart-value-label { fill: var(--accent-dark); font-size: 12px; font-weight: 800; }
.chart-legend { display: flex; gap: 18px; color: var(--muted); font-size: 11px; }
.chart-legend span { display: inline-flex; align-items: center; gap: 6px; }
.chart-legend span:before { width: 19px; height: 2px; border-radius: 2px; background: var(--accent); content: ""; }
.chart-legend .target:before { height: 0; border-top: 2px dashed #aeb6b0; background: transparent; }
.movement-bar.expected { fill: #dfe4e0; }
.movement-bar.advanced { fill: var(--accent); }
.chart-legend.movement .advanced:before { height: 8px; background: var(--accent); }
.chart-legend.movement .expected:before { height: 8px; background: #dfe4e0; }
.scope-bar.standard { fill: #8db7a5; }
.scope-bar.high { fill: var(--accent-dark); }
.scope-bar.benchmark { fill: #d8ddda; }
.chart-legend.impact { flex-wrap: wrap; row-gap: 5px; }
.chart-legend.impact span:before { height: 7px; }
.chart-legend.impact .high:before { background: var(--accent-dark); }
.chart-legend.impact .standard:before { background: #8db7a5; }
.chart-legend.impact .benchmark:before { background: #d8ddda; }
.project-outcome-callout { display: flex; min-width: 135px; flex-direction: column; align-items: flex-end; }
.project-outcome-callout strong { font-size: 28px; line-height: 1; letter-spacing: -.035em; }
.project-outcome-callout span { max-width: 125px; margin-top: 5px; color: var(--muted); font-size: 11px; line-height: 1.35; text-align: right; }
.project-outcome-callout.large strong { font-size: 38px; }

.project-pulse { overflow: hidden; border: 1px solid var(--border); border-radius: var(--radius-lg); background: var(--surface); box-shadow: var(--shadow-sm); }
.project-pulse-head { display: grid; grid-template-columns: 1fr auto; gap: 24px; align-items: flex-start; padding: 21px 22px 16px; }
.project-pulse-head h2 { margin-bottom: 5px; font-size: 22px; letter-spacing: -.02em; }
.project-pulse-head p { max-width: 820px; margin: 0; color: var(--muted); font-size: 13px; }
.project-pulse-body { display: grid; grid-template-columns: 1.05fr 1fr 1fr; border-top: 1px solid var(--border); }
.project-pulse-body > div { min-width: 0; padding: 16px 18px; border-right: 1px solid var(--border); }
.project-pulse-body > div:last-child { border-right: 0; }
.pulse-chart .chart-legend { margin-top: -8px; }
.pulse-observation { display: grid; grid-template-columns: 31px 1fr; gap: 10px; align-content: start; }
.pulse-observation > span { display: grid; width: 30px; height: 30px; place-items: center; border-radius: 8px; }
.pulse-observation > span svg { width: 14px; }
.pulse-observation.positive > span { background: var(--positive-soft); color: var(--positive); }
.pulse-observation.attention > span { background: var(--attention-soft); color: var(--attention); }
.pulse-observation small,
.pulse-observation strong { display: block; }
.pulse-observation small { margin-bottom: 5px; color: var(--muted); font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: .06em; }
.pulse-observation strong { font-size: 14px; line-height: 1.35; }
.pulse-observation p { margin: 6px 0 0; color: var(--muted); font-size: 12px; line-height: 1.5; }
.project-pulse-footer { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 11px 18px; border-top: 1px solid var(--border); background: var(--surface-soft); color: var(--muted); font-size: 12px; }
.project-pulse-footer > span { display: flex; align-items: center; gap: 7px; }
.project-pulse-footer svg { width: 13px; }

.project-performance-hero { display: grid; grid-template-columns: minmax(0, 1.65fr) minmax(280px, .62fr); gap: 13px; }
.project-chart-card,
.project-forecast-card,
.person-trend-card,
.seniority-card { border: 1px solid var(--border); border-radius: var(--radius-lg); background: var(--surface); box-shadow: var(--shadow-sm); }
.project-chart-card { padding: 21px; }
.project-chart-head { display: flex; justify-content: space-between; gap: 22px; margin-bottom: 7px; }
.project-chart-head h2 { margin-bottom: 5px; font-size: 25px; letter-spacing: -.025em; }
.project-chart-head p { max-width: 720px; margin: 0; color: var(--muted); font-size: 13px; }
.project-chart-card .chart-legend { padding: 0 5px; }
.project-forecast-card { padding: 22px; background: linear-gradient(145deg, #f7faf8, #fff); }
.forecast-icon { display: grid; width: 38px; height: 38px; margin-bottom: 20px; place-items: center; border-radius: 10px; background: var(--accent-soft); color: var(--accent); }
.forecast-icon svg { width: 18px; }
.project-forecast-card h2 { margin: 0 0 9px; font-size: 24px; line-height: 1.35; letter-spacing: -.02em; }
.project-forecast-card > p { color: var(--muted); font-size: 13px; line-height: 1.55; }
.method-note { display: flex; align-items: flex-start; gap: 7px; margin-top: 20px; padding: 10px; border-radius: 8px; background: #f0f3f0; color: var(--muted); font-size: 11px; line-height: 1.45; }
.method-note svg { width: 12px; flex: 0 0 auto; }
.outcome-facts-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 10px; }
.outcome-fact { display: grid; grid-template-columns: 34px 1fr; gap: 11px; padding: 15px; border: 1px solid var(--border); border-radius: 11px; background: var(--surface); }
.outcome-fact > span { display: grid; width: 33px; height: 33px; place-items: center; border-radius: 9px; background: var(--neutral-soft); color: var(--context); }
.outcome-fact.tone-positive > span { background: var(--positive-soft); color: var(--positive); }
.outcome-fact.tone-attention > span { background: var(--attention-soft); color: var(--attention); }
.outcome-fact > span svg { width: 15px; }
.outcome-fact small,
.outcome-fact strong { display: block; }
.outcome-fact small { color: var(--muted); font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: .06em; }
.outcome-fact strong { margin-top: 4px; font-size: 24px; letter-spacing: -.025em; }
.outcome-fact h3 { margin: 1px 0 6px; font-size: 13px; line-height: 1.35; }
.outcome-fact p { margin: 0; color: var(--muted); font-size: 11px; line-height: 1.45; }
.dimension-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 10px; }
.dimension-card { padding: 15px; border: 1px solid var(--border); border-radius: 11px; background: var(--surface); }
.dimension-card > div:first-child { display: flex; justify-content: space-between; gap: 9px; color: var(--muted); font-size: 12px; }
.dimension-card em { color: var(--muted); font-style: normal; font-weight: 700; }
.dimension-card.tone-positive em { color: var(--positive); }
.dimension-card.tone-attention em { color: var(--attention); }
.dimension-card > strong { display: block; margin: 11px 0 7px; font-size: 28px; letter-spacing: -.03em; }
.dimension-bar { height: 5px; overflow: hidden; border-radius: 99px; background: #e9ece9; }
.dimension-bar span { display: block; height: 100%; border-radius: inherit; background: var(--accent); }
.dimension-card.tone-attention .dimension-bar span { background: var(--attention); }
.dimension-card p { margin: 10px 0 0; color: var(--muted); font-size: 11px; line-height: 1.45; }
.performance-readout-grid,
.person-readout-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 13px; }
.performance-readout,
.person-readout { overflow: hidden; border: 1px solid var(--border); border-radius: var(--radius-lg); background: var(--surface); }
.readout-head { display: flex; align-items: center; gap: 11px; padding: 17px 18px; border-bottom: 1px solid var(--border); }
.readout-head > span { display: grid; width: 33px; height: 33px; place-items: center; border-radius: 9px; }
.readout-head > span svg { width: 15px; }
.performance-readout.positive .readout-head > span,
.person-readout.strengths .readout-head > span { background: var(--positive-soft); color: var(--positive); }
.performance-readout.attention .readout-head > span,
.person-readout.improvements .readout-head > span { background: var(--attention-soft); color: var(--attention); }
.readout-head .eyebrow { margin-bottom: 1px; }
.readout-head h2 { margin: 0; font-size: 17px; }
.performance-readout > article,
.person-readout > article { padding: 14px 18px; border-bottom: 1px solid #edf0ec; }
.performance-readout > article:last-child,
.person-readout > article:last-child { border-bottom: 0; }
.performance-readout h3,
.person-readout h3 { margin-bottom: 4px; font-size: 14px; }
.performance-readout p,
.person-readout p { margin-bottom: 8px; color: var(--muted); font-size: 12px; line-height: 1.5; }
.accelerator-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.accelerator-grid button { display: grid; grid-template-columns: 28px 1fr 14px; gap: 10px; align-items: center; padding: 15px; border: 1px solid var(--border); border-radius: 11px; background: var(--surface); text-align: left; }
.accelerator-grid button:hover { border-color: var(--border-strong); background: #fafbf9; }
.accelerator-grid button > span { display: grid; width: 27px; height: 27px; place-items: center; border-radius: 8px; background: var(--accent-soft); color: var(--accent); font-size: 12px; font-weight: 750; }
.accelerator-grid strong { font-size: 13px; }
.accelerator-grid p { margin: 3px 0 0; color: var(--muted); font-size: 11px; }
.accelerator-grid svg { width: 12px; color: var(--faint); }
.performance-method { display: grid; grid-template-columns: 22px 1fr auto; gap: 10px; align-items: center; margin-top: 24px; padding: 13px 15px; border: 1px solid #dce4df; border-radius: 10px; background: #f6faf7; }
.performance-method > svg { width: 17px; color: var(--accent); }
.performance-method strong { display: block; font-size: 12px; }
.performance-method p { margin: 2px 0 0; color: var(--muted); font-size: 11px; }

.performance-person-card { min-height: 0; }
.person-performance-status { display: flex; align-items: center; justify-content: space-between; margin: 16px 0 4px; }
.performance-status { display: inline-flex; align-items: center; width: max-content; padding: 4px 8px; border-radius: 99px; background: var(--context-soft); color: var(--context); font-size: 11px; font-weight: 750; }
.performance-status.positive { background: var(--positive-soft); color: var(--positive); }
.performance-status.attention { background: var(--attention-soft); color: var(--attention); }
.trajectory { display: inline-flex; align-items: center; gap: 4px; color: var(--muted); font-size: 11px; }
.trajectory svg { width: 12px; }
.trajectory.up { color: var(--positive); }
.trajectory.down { color: var(--critical); }
.trajectory.steady { color: var(--muted); }
.performance-person-card .trend-chart { margin: 0 -3px 3px; }
.person-card-chart { margin-top: 8px; padding: 10px 10px 8px; border: 1px solid var(--border); border-radius: 9px; background: var(--surface-soft); }
.person-card-chart > span { display: block; color: var(--muted); font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: .055em; }
.person-card-chart .trend-chart.compact svg { max-height: 70px; }
.person-card-chart .chart-legend { margin-top: -2px; }
.person-card-chart .chart-axis-label { font-size: 11px; }
.level-review-summary { margin: 10px 0; padding: 10px; border: 1px solid #d9d1ee; border-radius: 8px; background: var(--attention-soft); }
.level-review-summary > span { display: flex; align-items: center; gap: 6px; color: var(--attention); font-size: 11px; font-weight: 750; }
.level-review-summary > span svg { width: 12px; }
.level-review-summary p { margin: 4px 0 0; color: var(--attention); font-size: 11px; line-height: 1.45; }
.person-current-focus { margin: 10px 0 13px; padding: 11px; border-left: 3px solid var(--accent); border-radius: 0 8px 8px 0; background: #f6f9f7; }
.person-current-focus small,
.person-current-focus strong,
.person-current-focus span { display: block; }
.person-current-focus small { color: var(--muted); font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: .06em; }
.person-current-focus strong { margin-top: 4px; font-size: 12px; line-height: 1.45; }
.person-current-focus span { margin-top: 5px; color: var(--muted); font-size: 11px; line-height: 1.4; }
.seniority-summary { display: grid; grid-template-columns: 1fr 20px 1fr; gap: 4px; align-items: center; margin: 4px 0 15px; padding: 10px; border: 1px solid var(--border); border-radius: 8px; background: var(--surface-soft); }
.seniority-summary small,
.seniority-summary strong { display: block; }
.seniority-summary small { color: var(--muted); font-size: 11px; }
.seniority-summary strong { margin-top: 2px; font-size: 12px; }
.seniority-summary > span { display: grid; place-items: center; color: var(--faint); }
.seniority-summary > span svg { width: 12px; }
.seniority-summary em { grid-column: 1 / -1; justify-self: start; margin-top: 5px; padding: 3px 6px; border-radius: 99px; background: var(--attention-soft); color: var(--attention); font-size: 11px; font-style: normal; font-weight: 700; }
.seniority-summary em.aligned { background: var(--positive-soft); color: var(--positive); }
.performance-person-card > h3 { font-size: 16px; }
.performance-person-card .person-next { margin-top: auto; }

.back-link { display: inline-flex; align-items: center; gap: 6px; margin-bottom: 17px; border: 0; background: transparent; color: var(--muted); padding: 0; font-size: 12px; font-weight: 650; }
.back-link svg { width: 13px; }
.person-page-header { display: flex; align-items: flex-start; justify-content: space-between; gap: 24px; margin-bottom: 22px; }
.person-page-identity { display: flex; align-items: center; gap: 14px; }
.person-page-identity .eyebrow { margin-bottom: 2px; }
.person-page-identity h1 { margin: 0 0 2px; font-size: 31px; letter-spacing: -.03em; }
.person-page-identity p { margin: 0; color: var(--muted); font-size: 13px; }
.profile-badges { display: flex; align-items: center; gap: 7px; margin-top: 9px; }
.profile-badges > span:not(.performance-status) { display: inline-flex; align-items: center; gap: 4px; padding: 4px 7px; border-radius: 99px; background: var(--neutral-soft); color: var(--muted); font-size: 11px; }
.profile-badges svg { width: 11px; }
.person-page-actions { display: flex; gap: 8px; padding-top: 8px; }
.person-performance-hero { display: grid; grid-template-columns: minmax(0, 1.55fr) minmax(300px, .55fr); gap: 13px; align-items: start; }
.person-performance-hero.no-calibration { grid-template-columns: 1fr; }
.person-trend-card,
.seniority-card { padding: 20px; }
.person-trend-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 20px; }
.person-trend-head h2 { max-width: 750px; margin: 0; font-size: 20px; line-height: 1.4; }
.person-trend-head .performance-status { flex: 0 0 auto; }
.person-impact-grid { display: grid; grid-template-columns: minmax(0, 1.45fr) minmax(230px, .55fr); gap: 11px; margin-top: 14px; }
.person-impact-chart { min-width: 0; padding: 11px 12px 9px; border: 1px solid var(--border); border-radius: 10px; background: var(--surface-soft); }
.impact-chart-toolbar { display: flex; align-items: flex-start; justify-content: space-between; gap: 14px; }
.impact-chart-toolbar strong,
.impact-chart-toolbar small { display: block; }
.impact-chart-toolbar strong { font-size: 12px; }
.impact-chart-toolbar small { margin-top: 2px; color: var(--muted); font-size: 11px; }
.benchmark-control { display: flex; align-items: center; gap: 7px; }
.benchmark-control > span { color: var(--muted); font-size: 11px; font-weight: 700; white-space: nowrap; }
.benchmark-control select { height: 28px; max-width: 185px; border: 1px solid var(--border); border-radius: 7px; background: #fff; padding: 0 24px 0 8px; color: var(--text-soft); font-size: 11px; font-weight: 700; }
.person-impact-chart .impact-scope-chart { margin-top: 5px; }
.person-impact-chart .chart-legend { margin-top: -1px; }
.impact-brief { display: flex; min-width: 0; flex-direction: column; padding: 13px; border: 1px solid #dbe4df; border-radius: 10px; background: #f5faf7; }
.impact-brief > p { margin: 5px 0 12px; color: #29463a; font-size: 12px; line-height: 1.55; }
.impact-brief > div { margin-top: auto; padding-top: 10px; border-top: 1px solid #dce8e1; }
.impact-brief > div strong,
.impact-brief > div span { display: block; }
.impact-brief > div strong { font-size: 11px; }
.impact-brief > div span { margin-top: 3px; color: var(--muted); font-size: 11px; line-height: 1.45; }
.impact-brief.compact { display: block; margin: 0 0 12px; padding: 10px; }
.impact-brief.compact small { color: var(--accent); font-size: 11px; font-weight: 750; text-transform: uppercase; letter-spacing: .055em; }
.impact-brief.compact p { margin: 4px 0 0; font-size: 11px; }
.chart-context { display: flex; align-items: flex-start; gap: 7px; padding: 9px 10px; border-radius: 8px; background: var(--surface-soft); color: var(--muted); font-size: 11px; }
.chart-context svg { width: 12px; flex: 0 0 auto; }
.seniority-card.mismatch { border-color: #d9d1ee; background: linear-gradient(145deg, #f8f6ff, #fff); }
.seniority-card > h2 { font-size: 20px; line-height: 1.35; }
.seniority-comparison { display: grid; grid-template-columns: 1fr 25px 1fr; gap: 8px; align-items: center; margin: 16px 0 12px; padding: 12px; border: 1px solid var(--border); border-radius: 9px; background: #fff; }
.seniority-comparison label > span,
.seniority-comparison div > span,
.seniority-comparison label > small,
.seniority-comparison div > small { display: block; color: var(--muted); font-size: 11px; }
.seniority-comparison select { width: 100%; height: 31px; margin: 4px 0; padding: 0 7px; border: 1px solid var(--border); border-radius: 7px; background: #fff; font-size: 12px; font-weight: 700; }
.seniority-comparison div > strong { display: block; margin: 7px 0 6px; font-size: 14px; }
.comparison-arrow { display: grid; place-items: center; color: var(--faint); }
.comparison-arrow svg { width: 13px; }
.seniority-card > p { color: var(--muted); font-size: 12px; line-height: 1.5; }
.seniority-review-callout { display: flex; gap: 9px; margin: 13px 0; padding: 11px; border-radius: 8px; }
.seniority-review-callout > span { display: grid; width: 27px; height: 27px; flex: 0 0 auto; place-items: center; border-radius: 7px; }
.seniority-review-callout svg { width: 13px; }
.seniority-review-callout.growth { background: var(--positive-soft); }
.seniority-review-callout.growth > span { background: #d8ecdf; color: var(--positive); }
.seniority-review-callout.concern { background: var(--attention-soft); }
.seniority-review-callout.concern > span { background: rgba(117, 89, 183, .14); color: var(--attention); }
.seniority-review-callout strong { display: block; font-size: 12px; }
.seniority-review-callout p { margin: 3px 0 0; color: var(--muted); font-size: 11px; line-height: 1.45; }
.seniority-aligned { display: flex; align-items: center; gap: 6px; margin-top: 14px; padding: 10px; border-radius: 8px; background: var(--positive-soft); color: var(--positive); font-size: 11px; }
.seniority-aligned svg { width: 13px; }
.recent-work-grid { display: grid; grid-template-columns: minmax(0, 1.35fr) minmax(300px, .65fr); gap: 12px; }
.recent-work-overview,
.work-rhythm-card { border: 1px solid var(--border); border-radius: var(--radius-lg); background: var(--surface); box-shadow: var(--shadow-sm); }
.recent-work-overview { padding: 18px; }
.recent-work-summary { margin: 5px 0 16px; color: var(--text-soft); font-size: 14px; line-height: 1.55; }
.current-focus-row { padding: 12px; border-radius: 9px; background: var(--accent-soft); }
.current-focus-row > span { display: flex; align-items: center; gap: 6px; color: var(--accent); }
.current-focus-row > span svg { width: 13px; }
.current-focus-row small { font-size: 11px; font-weight: 750; text-transform: uppercase; letter-spacing: .06em; }
.current-focus-row strong { display: block; margin-top: 5px; color: #29463a; font-size: 13px; line-height: 1.45; }
.recently-completed { margin-top: 15px; }
.recently-completed > span { color: var(--muted); font-size: 11px; font-weight: 750; text-transform: uppercase; letter-spacing: .06em; }
.recently-completed ul { display: grid; gap: 7px; margin: 9px 0 0; padding: 0; list-style: none; }
.recently-completed li { display: flex; align-items: center; gap: 7px; color: var(--text-soft); font-size: 12px; }
.recently-completed li svg { width: 13px; color: var(--positive); }
.linked-work-list { display: grid; gap: 10px; margin-top: 14px; }
.linked-work-card { padding: 14px; border: 1px solid var(--border); border-radius: 10px; background: #fff; }
.linked-work-head { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.work-state { color: var(--muted); font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: .055em; }
.work-priority { padding: 3px 6px; border-radius: 99px; background: var(--context-soft); color: var(--context); font-size: 11px; font-weight: 750; }
.work-priority.tone-attention { background: var(--attention-soft); color: var(--attention); }
.linked-work-card h3 { margin: 9px 0 7px; font-size: 15px; }
.linked-work-card > p { display: grid; grid-template-columns: 108px 1fr; gap: 8px; margin: 5px 0; color: var(--muted); font-size: 11px; line-height: 1.45; }
.linked-work-card > p strong { color: var(--text-soft); }
.linked-work-card > .text-button { margin-top: 9px; }
.cross-reference-card { display: grid; grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr); gap: 8px; align-items: center; margin-top: 11px; padding: 9px; border: 1px solid var(--border); border-radius: 8px; background: var(--surface-soft); }
.source-reference { display: grid; grid-template-columns: 27px 1fr; gap: 7px; align-items: center; min-width: 0; }
.source-glyph { display: grid; width: 27px; height: 27px; place-items: center; border-radius: 7px; background: #ece8ff; color: #5a49a0; font-size: 13px; font-weight: 850; }
.source-reference.github .source-glyph { background: #edf0ed; color: var(--text-soft); }
.source-glyph svg { width: 13px; }
.source-reference small,
.source-reference strong,
.source-reference em { display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.source-reference small { color: var(--muted); font-size: 10px; }
.source-reference strong { font-size: 11px; }
.source-reference em { color: var(--faint); font-size: 10px; font-style: normal; }
.reference-connector { display: flex; align-items: center; gap: 3px; color: var(--faint); }
.reference-connector svg { width: 11px; }
.reference-connector small { font-size: 10px; white-space: nowrap; }
.github-reference-list { display: grid; gap: 6px; }
.linkage-confidence { display: inline-flex; align-items: center; gap: 6px; margin-top: 10px; padding: 5px 7px; border-radius: 99px; background: var(--positive-soft); color: var(--positive); font-size: 11px; font-weight: 700; }
.linkage-confidence svg { width: 11px; }
.linked-record-detail { display: grid; grid-template-columns: 42px 1fr 1fr; gap: 12px; align-items: center; margin-top: 13px; padding: 12px; border: 1px solid var(--border); border-radius: 9px; background: #fff; }
.linked-record-detail .source-logo { width: 40px; height: 40px; }
.linked-record-detail span,
.linked-record-detail strong { display: block; }
.linked-record-detail div > span { color: var(--muted); font-size: 11px; }
.linked-record-detail div > strong { margin-top: 3px; font-size: 12px; }
.evidence-coverage-list { overflow: hidden; margin-top: 11px; border: 1px solid var(--border); border-radius: 9px; }
.evidence-coverage-list > button { display: grid; width: 100%; grid-template-columns: 30px 1fr 14px; gap: 9px; align-items: center; padding: 11px; border: 0; border-top: 1px solid var(--border); background: #fff; text-align: left; }
.evidence-coverage-list > button:first-child { border-top: 0; }
.evidence-coverage-list strong,
.evidence-coverage-list small { display: block; }
.evidence-coverage-list strong { font-size: 12px; }
.evidence-coverage-list small { margin-top: 2px; color: var(--muted); font-size: 11px; }
.evidence-coverage-list > button > svg { width: 12px; color: var(--faint); }
.work-rhythm-card { padding: 18px; }
.work-rhythm-card > div { display: grid; grid-template-columns: 34px 1fr; gap: 10px; align-items: flex-start; padding: 13px 0; border-bottom: 1px solid var(--border); }
.work-rhythm-card > div:nth-of-type(2) { border-bottom: 0; }
.work-rhythm-icon { display: grid; width: 33px; height: 33px; place-items: center; border-radius: 9px; background: var(--context-soft); color: var(--context); }
.work-rhythm-icon.gap { background: var(--attention-soft); color: var(--attention); }
.work-rhythm-icon svg { width: 15px; }
.work-rhythm-card p { margin: 0; }
.work-rhythm-card small,
.work-rhythm-card strong { display: block; }
.work-rhythm-card small { color: var(--muted); font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: .05em; }
.work-rhythm-card strong { margin-top: 4px; font-size: 12px; line-height: 1.5; }
.work-rhythm-card .work-rhythm-note { margin-top: 12px; padding: 10px; border-radius: 8px; background: var(--surface-soft); color: var(--muted); font-size: 11px; line-height: 1.45; }
.expectation-list { overflow: hidden; border: 1px solid var(--border); border-radius: var(--radius); background: var(--surface); }
.expectation-row { display: grid; grid-template-columns: minmax(230px, .65fr) 1fr; gap: 20px; align-items: center; padding: 14px 16px; border-bottom: 1px solid var(--border); border-left: 3px solid var(--context); }
.expectation-row:last-child { border-bottom: 0; }
.expectation-row.tone-positive { border-left-color: var(--positive); }
.expectation-row.tone-attention { border-left-color: var(--attention); }
.expectation-row > div { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.expectation-row span { font-size: 12px; font-weight: 750; }
.expectation-row em { flex: 0 0 auto; padding: 4px 7px; border-radius: 99px; background: var(--context-soft); color: var(--context); font-size: 11px; font-style: normal; font-weight: 750; }
.expectation-row.tone-positive em { background: var(--positive-soft); color: var(--positive); }
.expectation-row.tone-attention em { background: var(--attention-soft); color: var(--attention); }
.expectation-row p { margin: 0; color: var(--muted); font-size: 12px; line-height: 1.5; }
.person-dimension-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 9px; }
.person-dimension-grid article { padding: 12px; border: 1px solid var(--border); border-radius: 9px; background: var(--surface); }
.person-dimension-grid article > div:first-child { display: flex; justify-content: space-between; gap: 7px; margin-bottom: 7px; color: var(--muted); font-size: 11px; }
.person-dimension-grid strong { color: var(--text); }
.person-readout article > div { margin-top: 9px; padding: 9px; border-radius: 7px; background: var(--surface-soft); }
.person-readout article > div span,
.person-readout article > div strong { display: block; }
.person-readout article > div span { color: var(--muted); font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: .06em; }
.person-readout article > div strong { margin-top: 3px; font-size: 12px; line-height: 1.4; }
.interaction-timeline { overflow: hidden; border: 1px solid var(--border); border-radius: var(--radius); background: var(--surface); }
.interaction-item { display: grid; grid-template-columns: 36px 1fr; gap: 12px; padding: 17px; border-bottom: 1px solid var(--border); }
.interaction-item:last-child { border-bottom: 0; }
.interaction-marker { display: grid; width: 34px; height: 34px; place-items: center; border-radius: 10px; background: var(--context-soft); color: var(--context); }
.interaction-marker.positive { background: var(--positive-soft); color: var(--positive); }
.interaction-marker.attention { background: var(--attention-soft); color: var(--attention); }
.interaction-marker svg { width: 15px; }
.interaction-item-head { display: flex; justify-content: space-between; gap: 12px; }
.interaction-item-head > span { color: var(--muted); font-size: 11px; }
.interaction-item-head > div { display: flex; gap: 5px; flex-wrap: wrap; justify-content: flex-end; }
.interaction-item-head em { padding: 3px 6px; border-radius: 99px; background: var(--neutral-soft); color: var(--muted); font-size: 11px; font-style: normal; font-weight: 700; }
.interaction-item-head .interaction-type.positive { background: var(--positive-soft); color: var(--positive); }
.interaction-item-head .interaction-type.attention { background: var(--attention-soft); color: var(--attention); }
.interaction-item-head .interaction-type.context { background: var(--context-soft); color: var(--context); }
.interaction-item h3 { margin: 4px 0 8px; font-size: 14px; }
.interaction-item p { margin: 4px 0; color: var(--muted); font-size: 12px; }
.interaction-item p strong { display: inline-block; min-width: 112px; color: var(--text-soft); }
.interaction-item .text-button { margin-top: 8px; }

.feedback-reconsidered { display: flex; gap: 9px; border-color: #d9e3ef; background: #f3f7fc; }
.feedback-reconsidered > svg { width: 17px; flex: 0 0 auto; color: var(--context); }
.feedback-reconsidered strong { display: block; margin-bottom: 3px; font-size: 12px; }
.feedback-reconsidered p { margin: 0 0 10px; color: #53667f; font-size: 12px; line-height: 1.5; }
.feedback-reconsidered p:last-child { margin-bottom: 0; }
.feedback-reconsidered.compact { margin: 0 0 13px; padding: 10px; border: 1px solid #d9e3ef; border-radius: 8px; }
.feedback-reconsidered.compact small { display: block; margin-top: 2px; color: #53667f; font-size: 11px; line-height: 1.45; }
.feedback-modal,
.coaching-modal { width: min(650px, 100%); max-height: 84vh; overflow: auto; border: 1px solid var(--border); border-radius: 14px; background: #fff; box-shadow: var(--shadow-md); animation: pop-in .16s ease-out; }
.modal-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 18px; padding: 19px; border-bottom: 1px solid var(--border); }
.modal-head h2 { margin-bottom: 5px; font-size: 22px; }
.modal-head p { margin: 0; color: var(--muted); font-size: 12px; }
.feedback-action-summary { display: grid; grid-template-columns: 30px 1fr; gap: 9px; margin: 14px 16px; padding: 11px; border: 1px solid var(--border); border-radius: 9px; background: var(--surface-soft); }
.feedback-action-summary strong,
.feedback-action-summary small { display: block; }
.feedback-action-summary strong { font-size: 12px; }
.feedback-action-summary small { margin-top: 3px; color: var(--muted); font-size: 11px; }
.feedback-reasons { display: grid; grid-template-columns: 1fr 1fr; gap: 7px; padding: 0 16px; }
.feedback-reasons button { display: grid; grid-template-columns: 18px 1fr; gap: 8px; align-items: flex-start; padding: 10px; border: 1px solid var(--border); border-radius: 8px; background: #fff; text-align: left; }
.feedback-reasons button:hover { border-color: var(--accent); background: #f8fbf9; }
.feedback-reasons button.selected { border-color: var(--accent); background: var(--accent-soft); }
.feedback-reasons button.selected > span { color: var(--accent); }
.feedback-reasons button > span svg { width: 13px; color: var(--faint); }
.feedback-reasons strong,
.feedback-reasons small { display: block; }
.feedback-reasons strong { font-size: 12px; }
.feedback-reasons small { margin-top: 2px; color: var(--muted); font-size: 11px; }
.feedback-note { display: block; padding: 14px 16px 0; }
.feedback-note span,
.coaching-form label span { display: block; margin-bottom: 5px; color: var(--text-soft); font-size: 11px; font-weight: 700; }
.feedback-note textarea,
.coaching-form textarea,
.coaching-form input,
.coaching-form select { width: 100%; border: 1px solid var(--border); border-radius: 8px; background: #fff; padding: 9px 10px; color: var(--text); font-size: 12px; outline: 0; }
.feedback-note textarea { min-height: 64px; resize: vertical; }
.feedback-note textarea:focus,
.coaching-form textarea:focus,
.coaching-form input:focus,
.coaching-form select:focus { border-color: var(--accent); }
.feedback-policy { display: flex; gap: 9px; margin: 14px 16px 16px; padding: 10px; border-radius: 8px; background: var(--context-soft); color: var(--context); }
.feedback-policy svg { width: 15px; flex: 0 0 auto; }
.feedback-policy p { margin: 0; font-size: 11px; }
.feedback-save-row { display: flex; justify-content: flex-end; gap: 8px; padding: 0 16px 16px; }
.coaching-form { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; padding: 17px; }
.coaching-form label:first-child,
.coaching-form label:nth-child(2) { grid-column: 1 / -1; }
.coaching-form textarea { min-height: 68px; resize: vertical; }
.coaching-form label > small { display: block; margin-top: 5px; color: var(--muted); font-size: 11px; line-height: 1.4; }
.coaching-form label span em { margin-left: 4px; color: var(--faint); font-size: 11px; font-style: normal; font-weight: 600; }
.interaction-form > label:first-child,
.interaction-form > label:nth-of-type(2),
.interaction-classification-preview { grid-column: 1 / -1; }
.interaction-classification-preview { display: flex; align-items: center; gap: 9px; padding: 10px 11px; border: 1px solid #dce5df; border-radius: 8px; background: #f6faf7; color: var(--accent); }
.interaction-classification-preview > svg { width: 15px; }
.interaction-classification-preview small,
.interaction-classification-preview strong { display: block; }
.interaction-classification-preview small { color: var(--muted); font-size: 11px; }
.interaction-classification-preview strong { margin-top: 2px; color: var(--text-soft); font-size: 12px; }
.coaching-form-footer { display: flex; align-items: center; justify-content: space-between; gap: 18px; padding: 13px 17px; border-top: 1px solid var(--border); background: var(--surface-soft); }
.coaching-form-footer > div { display: flex; align-items: center; gap: 7px; color: var(--muted); font-size: 11px; }
.coaching-form-footer svg { width: 13px; color: var(--accent); }
.seniority-modal { width: min(690px, 100%); }
.seniority-modal-body { padding: 17px; }
.calibration-comparison { display: grid; grid-template-columns: 1fr 30px 1fr; gap: 10px; align-items: center; padding: 14px; border: 1px solid var(--border); border-radius: 10px; background: var(--surface-soft); }
.calibration-comparison > span { display: grid; place-items: center; color: var(--faint); }
.calibration-comparison > span svg { width: 14px; }
.calibration-comparison small,
.calibration-comparison strong,
.calibration-comparison div > span { display: block; }
.calibration-comparison small { color: var(--muted); font-size: 11px; }
.calibration-comparison strong { margin-top: 4px; font-size: 16px; }
.calibration-comparison div > span { margin-top: 3px; color: var(--faint); font-size: 11px; }
.calibration-reason { display: grid; grid-template-columns: 34px 1fr; gap: 10px; margin-top: 12px; padding: 13px; border-radius: 9px; background: var(--attention-soft); }
.calibration-reason > span { display: grid; width: 33px; height: 33px; place-items: center; border-radius: 9px; background: var(--attention-soft); color: var(--attention); }
.calibration-reason > span svg { width: 15px; }
.calibration-reason p { margin: 0; color: var(--attention); font-size: 12px; line-height: 1.5; }
.calibration-reason strong { display: block; margin-bottom: 3px; color: var(--text-soft); }
.calibration-actions { display: flex; gap: 8px; margin-top: 14px; }
.level-admin { margin-top: 16px; border-top: 1px solid var(--border); }
.level-admin summary { display: flex; align-items: center; gap: 7px; padding: 14px 2px 0; color: var(--muted); font-size: 11px; font-weight: 700; cursor: pointer; list-style: none; }
.level-admin summary::-webkit-details-marker { display: none; }
.level-admin summary svg { width: 13px; }
.level-admin > div { margin-top: 10px; padding: 14px; border: 1px solid var(--border); border-radius: 9px; background: var(--surface-soft); }
.level-admin > div > p { margin: 0 0 12px; color: var(--muted); font-size: 11px; }
.level-edit-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.level-edit-grid label span { display: block; margin-bottom: 5px; color: var(--text-soft); font-size: 11px; font-weight: 700; }
.level-edit-grid input,
.level-edit-grid select,
.level-edit-grid textarea { width: 100%; border: 1px solid var(--border); border-radius: 8px; background: #fff; padding: 9px 10px; color: var(--text); font-size: 12px; outline: 0; }
.level-edit-reason { grid-column: 1 / -1; }
.level-edit-reason textarea { min-height: 58px; resize: vertical; }
.level-admin .button { margin-top: 10px; }

.overlay-backdrop {
  position: fixed;
  inset: 0;
  z-index: 70;
  background: rgba(19, 27, 23, .3);
  backdrop-filter: blur(1px);
  animation: fade-in .14s ease-out;
}
.drawer {
  position: fixed;
  inset: 0 0 0 auto;
  z-index: 71;
  width: min(585px, 100vw);
  overflow: auto;
  background: #fff;
  box-shadow: -20px 0 50px rgba(20, 30, 25, .16);
  animation: slide-in .2s ease-out;
}
.drawer-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 18px; padding: 24px; border-bottom: 1px solid var(--border); }
.drawer-head > div:first-child { min-width: 0; }
.drawer-kicker { display: flex; align-items: center; gap: 6px; margin-bottom: 7px; color: var(--accent); font-size: 11px; font-weight: 760; letter-spacing: .09em; text-transform: uppercase; }
.drawer-kicker svg { width: 13px; }
.drawer-head h2 { margin-bottom: 7px; font-size: 26px; line-height: 1.28; letter-spacing: -0.03em; }
.drawer-head p { margin-bottom: 0; color: var(--muted); font-size: 13px; }
.drawer-meta { display: flex; gap: 6px; color: var(--muted); font-size: 12px; }
.drawer-section { padding: 20px 24px; border-bottom: 1px solid #edf0ec; }
.drawer-section > p { margin-bottom: 0; color: var(--text-soft); font-size: 14px; line-height: 1.62; }
.conclusion-section { background: var(--surface-warm); }
.drawer-claim { color: var(--text) !important; font-size: 20px !important; font-weight: 650; line-height: 1.45 !important; letter-spacing: -0.015em; }
.conclusion-section .drawer-claim + p { margin-top: 9px; color: var(--muted); font-size: 13px; }
.confidence-note { display: flex; align-items: flex-start; gap: 7px; margin-top: 13px; padding: 9px 10px; border-radius: 8px; background: #f1f4f1; color: var(--muted); font-size: 12px; }
.confidence-note svg { width: 13px; flex: 0 0 auto; color: var(--accent); }
.recommendation-section { background: #f5faf7; }
.recommendation-section > p { color: #29463a; font-size: 15px; font-weight: 600; }
.ownership-row { display: flex; align-items: center; justify-content: space-between; margin-top: 14px; padding-top: 12px; border-top: 1px solid #dfe8e3; font-size: 12px; }
.ownership-row span { display: flex; align-items: center; gap: 6px; color: var(--muted); }
.ownership-row svg { width: 13px; }
.plan-list { display: grid; gap: 10px; margin: 0; padding: 0; list-style: none; }
.plan-list li { display: grid; grid-template-columns: 25px 1fr; gap: 9px; align-items: center; }
.plan-list li > span { display: grid; width: 24px; height: 24px; place-items: center; border: 1px solid var(--border); border-radius: 7px; color: var(--muted); font-size: 11px; font-weight: 700; }
.plan-list p { margin: 0; color: var(--text-soft); font-size: 13px; }
.involved-list { overflow: hidden; border: 1px solid var(--border); border-radius: 9px; }
.involved-list > button { grid-template-columns: 34px 1fr 14px; border-top: 1px solid #edf0ec; }
.involved-list > button:first-child { border-top: 0; }
.evidence-section { background: #fafbf9; }
.evidence-heading { display: flex; align-items: flex-start; justify-content: space-between; gap: 12px; }
.evidence-heading h3 { margin: 0; font-size: 16px; }
.source-count { flex: 0 0 auto; padding: 4px 7px; border-radius: 99px; background: var(--neutral-soft); color: var(--muted); font-size: 11px; }
.evidence-intro { margin: 8px 0 13px !important; color: var(--muted) !important; font-size: 12px !important; }
.evidence-list { display: grid; gap: 9px; }
.evidence-card { padding: 13px; border: 1px solid var(--border); border-radius: 9px; background: #fff; }
.evidence-source { display: grid; grid-template-columns: 29px 1fr auto; gap: 8px; align-items: center; }
.evidence-source > span { display: grid; width: 28px; height: 28px; place-items: center; border-radius: 7px; background: #f0f2ef; }
.evidence-source svg { width: 13px; }
.evidence-source strong,
.evidence-source small { display: block; }
.evidence-source strong { font-size: 12px; }
.evidence-source small { color: var(--muted); font-size: 11px; }
.evidence-source em { color: var(--muted); font-size: 11px; font-style: normal; }
.evidence-card h4 { margin: 12px 0 4px; font-size: 14px; }
.evidence-card p { margin: 0; color: var(--muted); font-size: 12px; line-height: 1.5; }
.blind-spot { display: flex; align-items: flex-start; gap: 9px; margin-top: 12px; padding: 12px; border: 1px solid #d9d1ee; border-radius: 9px; background: var(--attention-soft); }
.blind-spot > svg { width: 15px; flex: 0 0 auto; color: var(--attention); }
.blind-spot strong { display: block; font-size: 12px; }
.blind-spot p { margin: 3px 0 0; color: var(--attention); font-size: 11px; line-height: 1.5; }
.blind-spot.standalone { margin: 20px 24px; }
.drawer-footer { position: sticky; bottom: 0; z-index: 2; justify-content: space-between; gap: 13px; padding: 14px 24px; border-top: 1px solid var(--border); background: rgba(255,255,255,.95); backdrop-filter: blur(9px); }
.drawer-footer > div { gap: 8px; }
.muted-action { color: var(--muted); }
.person-drawer-title { display: flex; align-items: center; gap: 12px; }
.person-drawer-title .drawer-kicker { margin-bottom: 3px; }
.person-drawer-title h2 { margin-bottom: 2px; }
.conversation-card { background: #f5faf7; }
.conversation-card > p { margin-bottom: 14px; color: #29463a; font-size: 15px; }
.person-action-list { overflow: hidden; border: 1px solid var(--border); border-radius: 9px; }
.person-action-list > button:first-child { border-top: 0; }
.person-no-action { padding: 16px; border: 1px solid var(--border); border-radius: 9px; background: var(--surface-soft); color: var(--muted); font-size: 12px; }

.modal-wrap { position: fixed; inset: 0; z-index: 71; display: grid; place-items: start center; padding: 9vh 20px 20px; }
.search-modal { width: min(620px, 100%); overflow: hidden; border: 1px solid var(--border); border-radius: 14px; background: #fff; box-shadow: var(--shadow-md); animation: pop-in .16s ease-out; }
.command-input { display: flex; height: 57px; align-items: center; gap: 10px; padding: 0 16px; border-bottom: 1px solid var(--border); }
.command-input > svg { width: 18px; color: var(--muted); }
.command-input input { min-width: 0; flex: 1; border: 0; outline: 0; font-size: 16px; }
.command-input kbd { padding: 2px 6px; border: 1px solid var(--border); border-radius: 5px; background: #fafafa; color: var(--faint); font-size: 11px; }
.command-results { max-height: 520px; overflow: auto; padding: 8px; }
.command-label { display: block; padding: 8px 8px 5px; color: var(--faint); font-size: 11px; font-weight: 760; letter-spacing: .1em; text-transform: uppercase; }
.people-label { margin-top: 6px; padding-top: 12px; border-top: 1px solid var(--border); }
.command-results > button { border-top: 0; border-radius: 8px; }
.command-empty { padding: 8px; color: var(--muted); font-size: 12px; }
.popover { position: fixed; z-index: 71; border: 1px solid var(--border); border-radius: 12px; background: #fff; box-shadow: var(--shadow-md); }
.updates-popover { top: 56px; right: 55px; width: 390px; padding: 8px; }
.popover-head { display: flex; align-items: flex-start; justify-content: space-between; padding: 9px 9px 12px; }
.popover-head h2 { margin: 0; font-size: 17px; }
.updates-popover > button { border-top: 1px solid var(--border); }

.toast-root { position: fixed; right: 20px; bottom: 20px; z-index: 150; display: grid; gap: 8px; }
.toast { display: flex; min-width: 300px; max-width: 430px; align-items: center; gap: 9px; padding: 12px 13px; border-radius: 9px; background: #223029; color: #fff; box-shadow: var(--shadow-md); animation: toast-in .2s ease-out; font-size: 13px; }
.toast.positive { background: var(--accent-dark); }
.toast > svg { width: 15px; }
.toast span { flex: 1; }
.toast button { display: grid; place-items: center; border: 0; background: transparent; color: rgba(255,255,255,.7); padding: 0; }
.toast button svg { width: 13px; }
.spin { animation: spin .8s linear infinite; }
.status-page { min-height: 100vh; display: grid; place-items: center; align-content: center; padding: 30px; text-align: center; }

/* Midnight Current visual system */
body {
  background:
    radial-gradient(circle at 82% 7%, rgba(53, 104, 184, .07), transparent 25rem),
    radial-gradient(circle at 48% 86%, rgba(8, 122, 134, .06), transparent 30rem),
    var(--bg);
}

::selection { background: rgba(217, 70, 122, .22); }
h1, h2, h3, h4 { color: var(--text); font-weight: 760; }
.eyebrow,
.nav-label,
.action-meta span:first-child,
.person-brief-label,
.work-state,
.recently-completed > span,
.current-focus-row small,
.person-current-focus small,
.interaction-item-head > span { font-family: var(--font-code); }

.page-header { margin-bottom: 32px; }
.page-header h1 { font-size: clamp(34px, 3vw, 40px); line-height: 1.12; }
.page-header p { max-width: 820px; line-height: 1.65; }
.eyebrow { color: var(--accent-dark); font-size: 11px; letter-spacing: .095em; }

.brief-banner {
  min-height: 198px;
  grid-template-columns: minmax(0, 1.25fr) minmax(390px, .75fr);
  align-items: center;
  gap: 42px;
  padding: 36px 38px;
  border: 1px solid rgba(255, 255, 255, .08);
  border-radius: var(--radius-hero);
  background:
    radial-gradient(circle at 91% 12%, rgba(217, 70, 122, .35), transparent 31%),
    radial-gradient(circle at 64% 128%, rgba(58, 196, 190, .26), transparent 40%),
    linear-gradient(135deg, #151a2e 0%, #1b2541 54%, #123843 100%);
  box-shadow: 0 28px 65px rgba(19, 28, 53, .2);
}
.brief-banner:after {
  right: 26%;
  bottom: -112px;
  width: 260px;
  height: 260px;
  border-color: rgba(255, 255, 255, .11);
  box-shadow:
    128px -115px 0 -122px #ef6f9d,
    -70px -85px 0 -122px #62d3cc,
    0 0 0 38px rgba(255, 255, 255, .025);
}
.brief-banner h2 { max-width: 720px; margin-bottom: 12px; color: #fff; font-size: 31px; line-height: 1.2; }
.brief-banner p { color: rgba(255,255,255,.72); font-size: 14px; line-height: 1.6; }
.brief-modes { gap: 8px; border: 0; border-radius: 0; background: transparent; }
.brief-modes > div {
  padding: 16px;
  border: 1px solid rgba(255,255,255,.1);
  border-radius: 15px;
  background: rgba(255,255,255,.065);
  backdrop-filter: blur(8px);
}
.brief-modes > div:last-child { border-right: 1px solid rgba(255,255,255,.1); }
.brief-modes strong { margin-top: 12px; color: #fff; font-size: 14px; }
.brief-modes small { margin-top: 4px; color: rgba(255,255,255,.58); font-size: 11px; line-height: 1.45; }
.mode-icon { width: 36px; height: 36px; border-radius: 12px; }
.mode-icon svg { width: 17px; }

.section-block { margin-top: 40px; }
.section-heading { margin-bottom: 18px; }
.section-heading h2 { font-size: 24px; }
.section-heading p { margin-top: 7px; font-size: 14px; line-height: 1.55; }
.decision-layout { gap: 20px; }

.action-card,
.next-list,
.update-card,
.team-card,
.person-card,
.follow-card,
.outcome-card,
.source-card,
.settings-card,
.project-pulse,
.project-chart-card,
.project-forecast-card,
.person-trend-card,
.seniority-card,
.outcome-fact,
.dimension-card,
.performance-readout,
.person-readout,
.recent-work-overview,
.work-rhythm-card,
.expectation-list,
.interaction-timeline {
  border-color: var(--border);
  background: var(--surface);
  box-shadow: var(--shadow-sm);
}
.action-card,
.update-card,
.team-card,
.person-card,
.follow-card,
.outcome-card,
.outcome-fact,
.dimension-card,
.accelerator-grid button,
.linked-work-card {
  transition: border-color .16s ease, box-shadow .16s ease, transform .16s ease;
}
.action-card:hover,
.update-card:hover,
.team-card:hover,
.person-card:hover,
.outcome-fact:hover,
.dimension-card:hover,
.accelerator-grid button:hover,
.linked-work-card:hover {
  border-color: #cbd5e3;
  box-shadow: 0 14px 34px rgba(33, 29, 43, .075);
  transform: translateY(-2px);
}

.action-card { padding: 23px; border-radius: 18px; }
.action-card:before {
  inset: 0 auto auto 26px;
  width: 92px;
  height: 4px;
  border-radius: 0 0 999px 999px;
}
.action-card.featured { min-height: 420px; padding: 29px; }
.action-symbol { width: 39px; height: 39px; border-radius: 12px; }
.action-symbol svg { width: 18px; }
.status-pill { padding: 6px 10px; font-size: 11px; }
.action-card h2 { margin-top: 22px; font-size: 27px; }
.action-card h3 { margin-top: 20px; font-size: 21px; }
.action-claim { font-size: 14px; line-height: 1.65; }
.feedback-reconsidered.compact { padding: 14px; border-radius: 12px; }
.recommended-move {
  padding: 17px 18px;
  border-color: #cee3df;
  border-radius: 14px;
  background: linear-gradient(135deg, #edf8f5, #f8fbf9);
}
.recommended-move > span { font-size: 11px; }
.recommended-move p { margin-top: 8px; font-size: 14px; line-height: 1.6; }
.action-card-footer { padding-top: 22px; }
.button { min-height: 42px; padding: 0 17px; border-radius: 11px; font-size: 13px; transition: .16s ease; }
.button.primary { border-color: var(--accent); background: var(--accent); box-shadow: 0 10px 22px rgba(23, 109, 115, .18); }
.button.primary:hover { border-color: var(--accent-dark); background: var(--accent-dark); }
.button.small { min-height: 36px; padding: 0 13px; font-size: 12px; }
.text-button { font-size: 12px; }

.next-list { border-radius: 18px; }
.next-list-head { padding: 22px 21px 15px; }
.next-list-head h3 { font-size: 19px; }
.next-item { min-height: 73px; grid-template-columns: 32px 1fr 17px; gap: 12px; padding: 15px 20px; background: var(--surface-raised); }
.next-number { width: 30px; height: 30px; border-radius: 10px; background: var(--surface-soft); }
.next-item small { margin-bottom: 4px; font-size: 11px; }
.next-item strong { font-size: 13px; line-height: 1.45; }

.update-grid { gap: 18px; }
.update-card { min-height: 232px; padding: 23px; border-radius: 18px; }
.update-icon { width: 42px; height: 42px; border-radius: 13px; }
.update-icon svg { width: 18px; }
.update-card h3 { margin-top: 19px; font-size: 18px; }
.update-card p { font-size: 13px; line-height: 1.65; }

.segmented,
.period-control { padding: 4px; border-radius: 12px; background: var(--surface-soft); }
.segmented button,
.period-control button { min-height: 36px; padding: 0 13px; border-radius: 9px; font-size: 12px; }
.inline-search { height: 42px; padding: 0 13px; border-radius: 11px; background: var(--surface-raised); }
.action-list { gap: 18px; }
.principle-note,
.cross-source-summary,
.performance-method { padding: 17px 18px; border-color: #cfe3df; border-radius: 14px; background: #edf7f4; }

.team-grid { gap: 18px; }
.team-card { min-height: 520px; padding: 24px; border-radius: 18px; }
.team-mark { width: 46px; height: 46px; border-radius: 14px; }
.team-card > h2 { margin-top: 24px; font-size: 23px; }
.team-summary { font-size: 13px; line-height: 1.65; }
.team-plan { border-radius: 13px; }

.people-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
.person-card { min-height: 570px; padding: 24px; border-radius: 19px; }
.person-card.no-action { background: var(--surface-soft); }
.person-card-head { gap: 14px; }
.person-card-head .avatar { width: 48px; height: 48px; border: 0; font-size: 14px; }
.people-grid .person-card:nth-child(4n + 1) .avatar { background: var(--signal-soft); color: var(--signal-dark); }
.people-grid .person-card:nth-child(4n + 2) .avatar { background: var(--accent-soft); color: var(--accent); }
.people-grid .person-card:nth-child(4n + 3) .avatar { background: var(--violet-soft); color: var(--violet); }
.people-grid .person-card:nth-child(4n + 4) .avatar { background: var(--context-soft); color: var(--context); }
.person-card-head h2 { font-size: 18px; }
.person-card-head p { font-size: 12px; }
.person-card > h3 { font-size: 21px; }
.person-card > p { min-height: 0; font-size: 13px; line-height: 1.65; }
.person-card-chart { padding: 14px 14px 11px; border-radius: 13px; background: var(--surface-soft); }
.person-card-chart .trend-chart.compact svg { max-height: 104px; }
.person-current-focus {
  margin: 14px 0 16px;
  padding: 15px 16px;
  border-left: 0;
  border-radius: 13px;
  background: var(--accent-soft);
  box-shadow: inset 4px 0 0 var(--accent);
}
.person-current-focus strong { font-size: 13px; }
.person-current-focus span { font-size: 12px; }
.person-next { padding: 15px; border-color: #cfe3df; border-radius: 13px; background: #edf7f4; }
.person-next strong { font-size: 13px; }

.follow-list,
.outcome-list { gap: 14px; }
.follow-card,
.outcome-card { padding: 21px; border-radius: 17px; }
.follow-state { width: 42px; height: 42px; border-radius: 13px; }
.follow-card h3 { font-size: 17px; }
.follow-card p { font-size: 13px; }

.source-list { gap: 18px; }
.source-card-head { padding: 25px; }
.source-body { padding: 26px; }
.source-principles { gap: 14px; }
.source-principles > div { padding: 20px; border-radius: 15px; }
.settings-head { padding: 23px; }
.setting-row { padding: 19px 23px; }

.actual-line { stroke: var(--signal); }
.comparison-line { stroke: #6c9ba0; }
.chart-area { fill: rgba(217, 70, 122, .09); }
.chart-point { stroke: var(--signal); }
.chart-point.comparison-point { stroke: #6c9ba0; }
.chart-value-label { fill: var(--signal-dark); }
.chart-legend span:before { background: var(--signal); }
.chart-legend .target:before { border-color: #6c9ba0; }
.scope-bar.standard { fill: #e58bb0; }
.scope-bar.high { fill: var(--signal); }
.scope-bar.benchmark { fill: #8eb7ba; }
.chart-legend.impact .high:before { background: var(--signal); }
.chart-legend.impact .standard:before { background: #e58bb0; }
.chart-legend.impact .benchmark:before { background: #8eb7ba; }
.trend-chart.compact svg { max-height: 132px; }

.project-pulse { border-radius: 22px; }
.project-pulse-head { padding: 27px 28px 21px; }
.project-pulse-head h2 { font-size: 24px; }
.project-pulse-head p { font-size: 13px; line-height: 1.65; }
.project-pulse-body { grid-template-columns: 1.15fr .925fr .925fr; }
.project-pulse-body > div { padding: 22px; }
.pulse-observation { grid-template-columns: 42px 1fr; gap: 13px; }
.pulse-observation > span { width: 40px; height: 40px; border-radius: 13px; }
.pulse-observation strong { font-size: 15px; }
.pulse-observation p { font-size: 12px; line-height: 1.6; }
.project-pulse-footer { padding: 15px 22px; }

.project-performance-hero { gap: 20px; }
.project-chart-card { padding: 27px; }
.project-chart-head h2 { font-size: 27px; }
.project-chart-head p { font-size: 13px; line-height: 1.65; }
.project-forecast-card { padding: 27px; background: linear-gradient(145deg, var(--signal-soft), var(--accent-soft) 82%); }
.forecast-icon { width: 46px; height: 46px; border-radius: 14px; }
.project-forecast-card h2 { font-size: 25px; }
.project-forecast-card > p { font-size: 13px; line-height: 1.65; }
.outcome-facts-grid,
.dimension-grid { gap: 16px; }
.outcome-fact,
.dimension-card { padding: 20px; border-radius: 16px; }
.outcome-fact > span { width: 42px; height: 42px; border-radius: 13px; }
.outcome-fact h3 { font-size: 14px; }
.outcome-fact p,
.dimension-card p { font-size: 12px; line-height: 1.55; }
.performance-readout-grid,
.person-readout-grid { gap: 18px; }
.performance-readout,
.person-readout { border-radius: 19px; }
.readout-head { padding: 21px 22px; }
.performance-readout > article,
.person-readout > article { padding: 18px 22px; }
.performance-readout p,
.person-readout p { font-size: 13px; line-height: 1.6; }
.accelerator-grid { gap: 15px; }
.accelerator-grid button { padding: 19px; border-radius: 15px; }

.person-page-header { margin-bottom: 28px; }
.person-page-identity { gap: 18px; }
.person-page-identity .avatar.xlarge { width: 68px; height: 68px; border: 0; background: linear-gradient(145deg, var(--signal-soft), var(--accent-soft)); color: var(--text-soft); font-size: 20px; box-shadow: inset 0 0 0 1px rgba(23,26,43,.06); }
.person-page-identity h1 { font-size: 36px; }
.person-page-identity p { font-size: 14px; }
.profile-badges > span:not(.performance-status),
.performance-status { padding: 6px 9px; font-size: 11px; }
.person-performance-hero { gap: 20px; }
.person-trend-card,
.seniority-card { padding: 27px; border-radius: 20px; }
.person-trend-head h2 { font-size: 22px; line-height: 1.45; }
.person-impact-grid { gap: 16px; margin-top: 20px; }
.person-impact-chart { padding: 17px 18px 14px; border-radius: 15px; background: var(--surface-soft); }
.impact-chart-toolbar strong { font-size: 13px; }
.impact-chart-toolbar small { font-size: 11px; }
.benchmark-control select { height: 36px; max-width: 215px; padding: 0 30px 0 10px; border-radius: 10px; font-size: 12px; }
.impact-brief { padding: 18px; border-color: #cfe3df; border-radius: 15px; background: #edf7f4; }
.impact-brief > p { font-size: 13px; line-height: 1.65; }
.impact-brief > div strong { font-size: 12px; }
.impact-brief > div span { font-size: 11px; }

.recent-work-grid { gap: 18px; }
.recent-work-overview,
.work-rhythm-card { padding: 24px; border-radius: 20px; }
.recent-work-summary { font-size: 14px; line-height: 1.65; }
.current-focus-row { padding: 17px; border-radius: 14px; }
.current-focus-row strong { font-size: 14px; }
.linked-work-list { gap: 14px; }
.linked-work-card { padding: 19px; border-radius: 15px; background: var(--surface-raised); }
.linked-work-card h3 { font-size: 17px; }
.linked-work-card > p { grid-template-columns: 125px 1fr; font-size: 12px; }
.cross-reference-card { gap: 11px; padding: 13px; border-radius: 12px; }
.source-reference { grid-template-columns: 34px 1fr; gap: 9px; }
.source-glyph { width: 34px; height: 34px; border-radius: 10px; }
.source-reference small,
.source-reference em,
.reference-connector small { font-size: 11px; }
.source-reference strong { font-size: 13px; }
.work-rhythm-card > div { grid-template-columns: 42px 1fr; gap: 13px; padding: 17px 0; }
.work-rhythm-icon { width: 40px; height: 40px; border-radius: 13px; }
.work-rhythm-card strong { font-size: 13px; }
.work-rhythm-card .work-rhythm-note { padding: 14px; border-radius: 12px; font-size: 12px; }

.expectation-row { padding: 18px 20px; }
.expectation-row span { font-size: 13px; }
.expectation-row p { font-size: 13px; line-height: 1.6; }
.person-dimension-grid { gap: 14px; }
.person-dimension-grid article { padding: 16px; border-radius: 14px; }
.interaction-timeline { border-radius: 19px; }
.interaction-item { position: relative; grid-template-columns: 42px 1fr; gap: 15px; padding: 21px; }
.interaction-item:not(:last-child)::after { position: absolute; top: 61px; bottom: -1px; left: 41px; width: 2px; background: linear-gradient(var(--accent-soft), var(--border)); content: ""; }
.interaction-marker { position: relative; z-index: 1; width: 40px; height: 40px; border-radius: 13px; }
.interaction-item h3 { font-size: 16px; }
.interaction-item p { font-size: 13px; line-height: 1.55; }

.drawer { width: min(650px, 100vw); background: var(--surface-raised); box-shadow: -28px 0 70px rgba(33,29,43,.18); }
.drawer-head { padding: 29px; }
.drawer-section { padding: 24px 29px; }
.drawer-footer { padding: 17px 29px; }
.recommendation-section { background: #edf7f4; }
.evidence-section { background: var(--surface-soft); }
.evidence-card { padding: 17px; border-radius: 13px; }
.feedback-modal,
.coaching-modal,
.search-modal,
.popover { border-radius: 20px; background: var(--surface-raised); }
.modal-head { padding: 24px; }
.coaching-form { gap: 16px; padding: 22px; }
.coaching-form textarea,
.coaching-form input,
.coaching-form select,
.level-edit-grid input,
.level-edit-grid select,
.level-edit-grid textarea { min-height: 42px; padding: 11px 12px; border-radius: 10px; font-size: 13px; }
.coaching-form-footer { padding: 17px 22px; }
.toast { padding: 15px 17px; border-radius: 13px; font-size: 13px; }

@keyframes fade-in { from { opacity: 0; } }
@keyframes slide-in { from { opacity: 0; transform: translateX(24px); } }
@keyframes pop-in { from { opacity: 0; transform: translateY(-5px) scale(.985); } }
@keyframes toast-in { from { opacity: 0; transform: translateY(8px); } }
@keyframes spin { to { transform: rotate(360deg); } }

@media (max-width: 1280px) {
  .topbar { padding: 0 26px; }
  .search-button { width: 190px; }
  .page { padding-right: 30px; padding-left: 30px; }
  .brief-banner { gap: 28px; padding: 32px; }
}

@media (max-width: 1180px) {
  .brief-banner { grid-template-columns: 1fr; }
  .brief-modes { max-width: 520px; }
  .decision-layout { grid-template-columns: 1fr; }
  .next-list { display: grid; grid-template-columns: repeat(3, 1fr); }
  .next-list-head,
  .all-actions { grid-column: 1 / -1; }
  .next-item { border-right: 1px solid #edf0ec; }
  .next-item:nth-of-type(3) { border-right: 0; }
  .team-grid,
  .people-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .outcome-facts-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .dimension-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .person-dimension-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}

@media (max-width: 1080px) {
  .sidebar { transform: translateX(-100%); transition: transform .2s ease; }
  .sidebar.mobile-open { transform: translateX(0); }
  .mobile-scrim { position: fixed; inset: 0; z-index: 29; border: 0; background: rgba(19,27,23,.3); }
  .main-shell { margin-left: 0; }
  .mobile-menu { display: inline-flex; }
  .topbar-left { gap: 10px; }
  .team-filter-label { display: none; }
  .page { padding: 28px 22px 54px; }
  .action-list { grid-template-columns: 1fr; }
  .action-list .action-card { min-height: 0; }
  .source-body { grid-template-columns: 1fr; }
  .source-principles { grid-template-columns: repeat(2, 1fr); }
  .project-performance-hero,
  .person-performance-hero { grid-template-columns: 1fr; }
  .recent-work-grid { grid-template-columns: 1fr; }
  .project-pulse-body { grid-template-columns: 1fr 1fr; }
  .project-pulse-body .pulse-chart { grid-column: 1 / -1; border-right: 0; border-bottom: 1px solid var(--border); }
}

@media (max-width: 720px) {
  .topbar { padding: 0 14px; }
  .breadcrumbs span,
  .breadcrumbs svg,
  .team-filter { display: none; }
  .search-button { width: 42px; padding: 0; justify-content: center; }
  .search-button span,
  .search-button kbd { display: none; }
  .page { padding: 23px 14px 45px; }
  .page-header { flex-direction: column; margin-bottom: 22px; }
  .page-header h1 { font-size: 28px; }
  .page-header-action { width: 100%; padding-top: 0; }
  .page-header-action > .button,
  .page-header-action .inline-search { width: 100%; }
  .brief-banner { padding: 24px; }
  .brief-banner h2 { font-size: 27px; }
  .brief-modes { grid-template-columns: repeat(3, 1fr); }
  .brief-modes > div { padding: 11px; }
  .decision-layout { display: block; }
  .next-list { display: block; margin-top: 12px; }
  .next-item { border-right: 0; }
  .action-card.featured { min-height: 0; padding: 19px; }
  .action-card h2 { font-size: 23px; }
  .action-card-footer { align-items: flex-start; flex-direction: column; }
  .action-card-buttons { width: 100%; justify-content: space-between; }
  .update-grid,
  .team-grid,
  .people-grid { grid-template-columns: 1fr; }
  .update-card,
  .team-card,
  .person-card { min-height: 0; }
  .team-summary,
  .person-card > p { min-height: 0; }
  .action-toolbar { align-items: stretch; flex-direction: column; }
  .segmented { width: 100%; overflow: auto; }
  .segmented button { flex: 1; white-space: nowrap; }
  .inline-search { width: 100%; min-width: 0; }
  .follow-card { grid-template-columns: 36px 1fr; align-items: flex-start; }
  .follow-actions { grid-column: 2; justify-content: space-between; }
  .source-card-head { grid-template-columns: 44px 1fr; }
  .connected-pill { grid-column: 1 / -1; justify-self: start; }
  .coverage-list { grid-template-columns: 1fr; }
  .source-footer { align-items: flex-start; flex-direction: column; }
  .source-footer > div { width: 100%; }
  .source-footer .button { flex: 1; }
  .source-principles { grid-template-columns: 1fr 1fr; }
  .project-pulse-head,
  .project-pulse-body { grid-template-columns: 1fr; }
  .project-outcome-callout { align-items: flex-start; }
  .project-outcome-callout span { text-align: left; }
  .project-pulse-body .pulse-chart { grid-column: auto; }
  .project-pulse-body > div { border-right: 0; border-bottom: 1px solid var(--border); }
  .project-pulse-body > div:last-child { border-bottom: 0; }
  .project-pulse-footer { align-items: flex-start; flex-direction: column; }
  .project-chart-head,
  .person-trend-head { flex-direction: column; }
  .person-impact-grid { grid-template-columns: 1fr; }
  .impact-chart-toolbar { align-items: stretch; flex-direction: column; }
  .benchmark-control { justify-content: space-between; }
  .benchmark-control select { max-width: none; flex: 1; }
  .project-chart-head .project-outcome-callout { align-items: flex-start; }
  .outcome-facts-grid,
  .dimension-grid,
  .performance-readout-grid,
  .person-readout-grid,
  .accelerator-grid,
  .person-dimension-grid { grid-template-columns: 1fr; }
  .performance-method { grid-template-columns: 22px 1fr; }
  .performance-method .text-button { grid-column: 2; justify-self: start; }
  .person-page-header { flex-direction: column; }
  .person-page-actions { width: 100%; }
  .person-page-actions .button { flex: 1; }
  .profile-badges { align-items: flex-start; flex-wrap: wrap; }
  .expectation-row { grid-template-columns: 1fr; gap: 6px; }
  .linked-work-card > p { grid-template-columns: 1fr; gap: 2px; }
  .cross-reference-card { grid-template-columns: 1fr; }
  .reference-connector { justify-content: center; transform: rotate(90deg); }
  .reference-connector small { display: none; }
  .linked-record-detail { grid-template-columns: 40px 1fr; }
  .linked-record-detail > div:last-child { grid-column: 2; }
  .interaction-item-head { align-items: flex-start; flex-direction: column; }
  .interaction-item-head > div { justify-content: flex-start; }
  .interaction-item p strong { display: block; min-width: 0; margin-bottom: 2px; }
  .feedback-reasons { grid-template-columns: 1fr; }
  .coaching-form { grid-template-columns: 1fr; }
  .coaching-form label { grid-column: 1 !important; }
  .coaching-form-footer { align-items: stretch; flex-direction: column; }
  .coaching-form-footer .button { width: 100%; }
  .calibration-actions { align-items: stretch; flex-direction: column; }
  .level-edit-grid { grid-template-columns: 1fr; }
  .level-edit-reason { grid-column: auto; }
  .performance-person-card { min-height: 0; }
  .drawer-head,
  .drawer-section { padding-left: 18px; padding-right: 18px; }
  .drawer-footer { align-items: stretch; flex-direction: column-reverse; padding: 12px 18px; }
  .drawer-footer > div { width: 100%; }
  .drawer-footer .button { flex: 1; }
  .updates-popover { left: 10px; right: 10px; width: auto; }
  .toast-root { right: 12px; bottom: 12px; left: 12px; }
  .toast { min-width: 0; max-width: none; }
}

@media (max-width: 430px) {
  .brief-modes { grid-template-columns: 1fr; }
  .brief-modes > div { display: grid; grid-template-columns: 27px auto; column-gap: 9px; border-right: 0; border-bottom: 1px solid rgba(255,255,255,.1); }
  .brief-modes > div:last-child { border-bottom: 0; }
  .brief-modes strong { margin-top: 0; }
  .brief-modes small { grid-column: 2; }
  .action-card-top { flex-wrap: wrap; }
  .status-pill { margin-left: 40px; }
  .action-card-buttons { align-items: stretch; flex-direction: column; }
  .action-card-buttons .button { width: 100%; }
  .source-principles { grid-template-columns: 1fr; }
  .seniority-comparison { grid-template-columns: 1fr; }
  .comparison-arrow { transform: rotate(90deg); }
  .person-page-actions { flex-direction: column; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; animation-duration: .01ms !important; transition-duration: .01ms !important; }
}
