/* WorkForge brand colors, taken from the logo */
:root {
  --navy: #002f66;
  --navy-dark: #001f45;
  --slate: #555257;
  --orange: #f99f1b;
  --bg: #f4f5f7;
  --card: #ffffff;
  --text: #1d2430;
  --muted: #5f6672;
  --border: #dde1e6;
  --radius: 8px;
}

* { box-sizing: border-box; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font: 16px/1.5 "Segoe UI", system-ui, -apple-system, Roboto, Helvetica, Arial, sans-serif;
}

.container { max-width: 960px; margin: 0 auto; padding: 0 16px; }
main.container { padding-top: 32px; padding-bottom: 48px; }

h1 { font-size: 1.6rem; margin: 0 0 8px; color: var(--navy); }
h2 { font-size: 1.2rem; margin: 0 0 8px; color: var(--navy); }
a { color: var(--navy); }
code { background: #eef0f3; padding: 1px 5px; border-radius: 4px; }

.muted { color: var(--muted); }

/* Header */
.dev-banner {
  background: var(--orange); color: #3a2400; text-align: center;
  font-size: .85rem; font-weight: 600; padding: 4px 16px;
}
.site-header { background: #fff; border-bottom: 4px solid var(--orange); }
/* Menu bar under the logo row: one line always, scrolls sideways on small screens. */
.main-nav { border-top: 1px solid var(--border); background: #fff; }
.nav-row { display: flex; gap: 4px; overflow-x: auto; scrollbar-width: none; }
.nav-row::-webkit-scrollbar { display: none; }
.nav-row a { flex: 0 0 auto; padding: 11px 14px 9px; color: var(--slate); font-weight: 600; font-size: .95rem;
  text-decoration: none; border-bottom: 3px solid transparent; white-space: nowrap; }
.nav-row a:hover { color: var(--navy); border-bottom-color: #f7d3a0; }
.nav-row a.active { color: var(--navy); border-bottom-color: var(--navy); }
.nav-row .nav-secondary { margin-left: auto; font-weight: 500; color: var(--muted); }
.header-row { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding-top: 12px; padding-bottom: 12px; }
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; }
.brand img { height: 27px; width: auto; }
.brand-sub { color: var(--slate); font-weight: 600; border-left: 1px solid var(--border); padding-left: 12px; white-space: nowrap; }
.user-nav { display: flex; align-items: center; gap: 16px; font-size: .95rem; white-space: nowrap; }
.user-nav form { margin: 0; }
.user-name { color: var(--muted); }

/* Cards */
.card {
  background: var(--card); border: 1px solid var(--border); border-radius: var(--radius);
  padding: 28px; margin-bottom: 24px; box-shadow: 0 1px 2px rgba(0, 0, 0, .04);
}
.card.narrow { max-width: 480px; margin-left: auto; margin-right: auto; }
.dev-card { border-style: dashed; border-color: var(--orange); }

/* Buttons */
.button {
  display: inline-block; padding: 10px 18px; border-radius: 6px; cursor: pointer;
  border: 1px solid var(--border); background: #fff; color: var(--text);
  font: inherit; text-decoration: none; text-align: left;
}
.button:hover { border-color: var(--navy); }
.button-primary { background: var(--navy); border-color: var(--navy); color: #fff; text-align: center; }
.button-primary:hover { background: var(--navy-dark); }
.button-block { display: block; width: 100%; }
.link-button { background: none; border: 0; padding: 0; color: var(--navy); font: inherit; text-decoration: underline; cursor: pointer; }

.dev-users { list-style: none; margin: 16px 0 0; padding: 0; display: grid; gap: 8px; }
.dev-users .button { display: flex; flex-direction: column; }
.dev-users .muted { font-size: .85rem; }

/* Messages */
.notice, .message { padding: 12px 16px; border-radius: 6px; background: #fff7e8; border: 1px solid #f5d9a8; }
.message { margin-bottom: 16px; }
.message-success { background: #edf7ee; border-color: #b9dfbd; }
.message-error { background: #fdeeee; border-color: #f2bcbc; }

/* Visible keyboard focus everywhere */
:focus-visible { outline: 3px solid var(--orange); outline-offset: 2px; }

.badge {
  display: inline-block; margin-left: 6px; padding: 1px 8px; border-radius: 999px;
  background: #e8eef7; color: var(--navy); font-size: .75rem; font-weight: 600; vertical-align: middle;
}

/* Breadcrumbs, forms and tables */
.breadcrumb { margin: 0 0 16px; font-size: .9rem; color: var(--muted); }
.steps { padding-left: 20px; }
.steps li { margin-bottom: 6px; }
.form .field { margin: 20px 0; }
.form label { display: block; font-weight: 600; margin-bottom: 6px; }
.form label.checkbox { display: flex; gap: 8px; align-items: center; font-weight: 600; }
.form input[type="file"] { font: inherit; }
.help { color: var(--muted); font-size: .9rem; margin: 6px 0 0; }
.error { color: #a1261e; font-weight: 600; margin: 6px 0 0; }
.field-error input[type="file"] { outline: 2px solid #e3a5a0; }
.actions { display: flex; gap: 12px; flex-wrap: wrap; align-items: center; margin-top: 16px; }

.table-wrap { overflow-x: auto; }
.table { width: 100%; border-collapse: collapse; font-size: .92rem; }
.table th, .table td { text-align: left; padding: 8px 10px; border-bottom: 1px solid var(--border); vertical-align: top; }
.table th { background: #f7f8fa; color: var(--slate); font-weight: 600; white-space: nowrap; }
ul.plain { list-style: none; margin: 0; padding: 0; }
ul.plain li + li { margin-top: 4px; }
ul.columns { columns: 2 220px; padding-left: 20px; }

.stats { display: flex; flex-wrap: wrap; gap: 12px; margin: 20px 0 4px; }
.stat { flex: 1 1 120px; border: 1px solid var(--border); border-radius: 6px; padding: 12px 14px; color: var(--muted); }
.stat-number { display: block; font-size: 1.6rem; font-weight: 700; color: var(--navy); }
.stat-error { border-color: #f2bcbc; background: #fdeeee; }
.stat-error .stat-number { color: #a1261e; }
.card-error { border-color: #f2bcbc; }
.card-error h2 { color: #a1261e; }

/* Status pills */
.status { display: inline-block; padding: 2px 10px; border-radius: 999px; font-size: .8rem; font-weight: 600;
  background: #eef0f3; color: var(--slate); vertical-align: middle; white-space: nowrap; }
.status-open, .status-self_in_progress { background: #fff3dc; color: #7a4b00; }
.status-self_submitted { background: #e8eef7; color: var(--navy); }
.status-complete { background: #e3f3e5; color: #1f6b2c; }
.status-closed { background: #eef0f3; color: var(--muted); }

.details { margin: 16px 0; }
.details summary { cursor: pointer; font-weight: 600; }

/* Review forms: one question per block, like Microsoft Forms */
.form-intro h1 { margin-bottom: 4px; }
.section-title { border-bottom: 2px solid var(--orange); padding-bottom: 6px; margin-bottom: 4px; }
.question { padding: 18px 0; border-bottom: 1px solid var(--border); }
.question:last-child { border-bottom: 0; padding-bottom: 0; }
.question-label { display: block; font-weight: 600; margin: 0 0 4px; }
.question-number { color: var(--navy); margin-right: 2px; }
.required { color: #a1261e; margin-left: 2px; }
.question textarea { width: 100%; margin-top: 10px; padding: 10px 12px; font: inherit; border: 1px solid #c4cad3;
  border-radius: 6px; resize: vertical; min-height: 120px; }
.question textarea:focus { border-color: var(--navy); }
.question-error textarea, .question-error .choices { border-color: #d9534f; }
.question-error .question-label { color: #a1261e; }
.choices { display: grid; gap: 8px; margin-top: 10px; }
.choice { display: flex; gap: 10px; align-items: flex-start; padding: 10px 12px; border: 1px solid var(--border);
  border-radius: 6px; cursor: pointer; }
.choice:hover { border-color: var(--navy); }
.choice input { margin-top: 4px; }
.choice:has(input:checked) { border-color: var(--navy); background: #f0f4fa; }
.answer { margin-top: 6px; padding: 10px 12px; background: #f7f8fa; border-radius: 6px; }
.form-actions { display: flex; gap: 12px; align-items: center; flex-wrap: wrap; position: sticky; bottom: 0; }

.center { text-align: center; }
.center-actions { justify-content: center; }
.big-check { width: 64px; height: 64px; line-height: 64px; margin: 0 auto 12px; border-radius: 50%;
  background: #e3f3e5; color: #1f6b2c; font-size: 2rem; font-weight: 700; }
.card ul { margin-top: 6px; }

.task { display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap;
  padding: 14px 0; border-top: 1px solid var(--border); }
.task:first-of-type { border-top: 0; }
.task p { margin: 4px 0 0; }

/* Manager review: the employee's answer sits above the manager's question */
.count { display: inline-block; min-width: 24px; padding: 0 8px; border-radius: 999px; background: var(--navy);
  color: #fff; font-size: .8rem; text-align: center; vertical-align: middle; }
.employee-answer { margin-top: 18px; padding: 12px 14px; border-left: 4px solid var(--orange); background: #fffaf2; border-radius: 0 6px 6px 0; }
.employee-answer .answer { background: #fff; }
.employee-answer-label { margin: 0; font-size: .9rem; color: var(--slate); font-weight: 600; }
.employee-only { margin-bottom: 18px; }
.employee-answer + .question { border-top: 0; padding-top: 12px; }

/* Combined review */
.facts { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 12px 24px; margin: 16px 0; }
.facts dt { font-size: .8rem; text-transform: uppercase; letter-spacing: .04em; color: var(--muted); }
.facts dd { margin: 2px 0 0; font-weight: 600; }
.header-flags { display: flex; gap: 8px; flex-wrap: wrap; }
.pill { display: inline-block; padding: 4px 12px; border-radius: 999px; font-weight: 600; font-size: .9rem; }
.pill-alert { background: #fdeeee; color: #a1261e; }

.pair { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; padding: 18px 0; border-bottom: 1px solid var(--border); }
.pair:last-child, .single:last-child { border-bottom: 0; }
.single { padding: 18px 0; border-bottom: 1px solid var(--border); }
.side-label { margin: 0 0 4px; font-size: .78rem; font-weight: 700; text-transform: uppercase; letter-spacing: .05em; color: #9a5b00; }
.side-label-manager { color: var(--navy); }
.pair-question { margin: 0 0 8px; font-weight: 600; font-size: .95rem; }
.pair-side .answer, .single .answer { margin-top: 0; }
@media (max-width: 700px) { .pair { grid-template-columns: 1fr; } }

/* Retention indicator: colour plus words, never colour alone */
.retention { margin-top: 18px; padding: 14px 18px; border-radius: 8px; border-left: 6px solid; }
.retention-label { margin: 0; font-size: .8rem; text-transform: uppercase; letter-spacing: .05em; font-weight: 700; }
.retention-level { margin: 2px 0 6px; font-size: 1.35rem; font-weight: 700; }
.retention-text { margin: 0; }
.retention-aligned, .retention-pill-aligned { background: #e8f5ea; border-color: #2e7d3a; color: #1f5a28; }
.retention-watch, .retention-pill-watch { background: #fff6e0; border-color: #c98a00; color: #6b4a00; }
.retention-retention_risk, .retention-pill-retention_risk { background: #fdeceb; border-color: #c0362c; color: #8a1f17; }
.retention-fit_concern, .retention-pill-fit_concern { background: #f1ebfa; border-color: #6b45a8; color: #4a2c7a; }
.retention-not_determined, .retention-pill-not_determined { background: #eef0f3; border-color: #7a828e; color: #3d4450; }
.legend ul { padding-left: 20px; }
.legend li { margin-bottom: 8px; }

@media print {
  .site-header .user-nav, .dev-banner, .no-print, .messages { display: none !important; }
  body { background: #fff; }
  .card { box-shadow: none; border: 0; padding: 0 0 12px; break-inside: avoid-page; }
  .pair { grid-template-columns: 1fr 1fr; }
}

/* HR status board */
.title-row { display: flex; justify-content: space-between; align-items: flex-start; gap: 16px; flex-wrap: wrap; }
.stat-link { text-decoration: none; }
.stat-link:hover { border-color: var(--navy); }
.status-overdue { background: #fdeceb; color: #8a1f17; }
.filters { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; margin-bottom: 8px; }
.filters input[type="text"], .filters select { font: inherit; padding: 8px 10px; border: 1px solid #c4cad3; border-radius: 6px; background: #fff; max-width: 220px; }
.filters .checkbox { display: flex; gap: 6px; align-items: center; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.nowrap { white-space: nowrap; }
.board td { vertical-align: middle; }
.inline-form { border-top: 1px solid var(--border); padding-top: 4px; }
.inline-form:first-of-type { border-top: 0; }
.inline-form select, .inline-form textarea { font: inherit; padding: 8px 10px; border: 1px solid #c4cad3; border-radius: 6px; width: 100%; max-width: 520px; }

/* Acknowledgement */
.ack-list { margin: 8px 0 0; display: grid; gap: 12px; }
.ack-item { padding: 12px 14px; border: 1px solid var(--border); border-radius: 6px; }
.ack-item dt { font-weight: 700; color: var(--muted); }
.ack-item dd { margin: 4px 0 0; }
.ack-done { border-color: #b9dfbd; background: #f3faf4; }
.ack-done dt { color: #1f6b2c; }
.ack-comment { margin-top: 8px; padding: 8px 10px; background: #fff; border-left: 4px solid var(--orange); }
.ack-form { margin-top: 18px; padding-top: 6px; border-top: 1px solid var(--border); }
.ack-form h3 { margin: 12px 0 4px; color: var(--navy); }
.ack-form input[type="date"] { font: inherit; padding: 8px 10px; border: 1px solid #c4cad3; border-radius: 6px; }
.form textarea { width: 100%; font: inherit; padding: 10px 12px; border: 1px solid #c4cad3; border-radius: 6px; }
.status-awaiting_conversation, .status-awaiting_employee_ack { background: #e8eef7; color: var(--navy); }
.status-acknowledged { background: #e3f3e5; color: #1f6b2c; }
a.status { text-decoration: none; }

.stat-ack .stat-number { color: #1f6b2c; }
.card-highlight { border-color: var(--navy); border-left: 6px solid var(--orange); }
.card-highlight h2 { margin: 0; }

/* Task rows: details (name, dates, tags) on the left, buttons on one line on the right */
.task-main { flex: 1 1 260px; min-width: 0; }
.task-actions { display: flex; gap: 8px; align-items: center; flex: 0 0 auto; }
.task-actions .button { padding: 8px 14px; white-space: nowrap; }
.tags { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 8px; }
@media (max-width: 640px) {
  .task-actions { flex: 1 1 100%; flex-wrap: wrap; }
}

/* Quarterly check-ins */
.goals { display: grid; gap: 12px; }
.goals-intro { margin: 0; color: var(--muted); }
.goal .answer { margin-top: 4px; }
.reply { border-left: 6px solid var(--navy); }
.status-ci-not_started { background: #eef0f3; color: var(--slate); }
.status-ci-draft { background: #fff3dc; color: #7a4b00; }
.status-ci-submitted { background: #e8eef7; color: var(--navy); }
.status-ci-replied { background: #e3f3e5; color: #1f6b2c; }
.status-ci-missed { background: #fdeceb; color: #8a1f17; }

.panel summary { cursor: pointer; }
.panel-item { padding: 14px 0; border-bottom: 1px solid var(--border); }
.panel-item:last-child { border-bottom: 0; }
.panel-label { margin: 8px 0 4px; font-weight: 600; font-size: .9rem; }

/* Manager notes */
.note { padding: 14px 0; border-bottom: 1px solid var(--border); }
.note:last-child { border-bottom: 0; }
.note-head { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; margin-bottom: 8px; }
.note-kind { background: #e8eef7; color: var(--navy); }
.note-follow { margin: 8px 0 0; }
.note-actions { display: flex; gap: 14px; align-items: center; margin-top: 8px; font-size: .92rem; }
.note-actions form { margin: 0; }
.note-form-row { display: flex; gap: 16px; flex-wrap: wrap; }
.note-form input[type="date"], .note-form select, .note-form input[type="text"] { font: inherit; padding: 8px 10px;
  border: 1px solid #c4cad3; border-radius: 6px; background: #fff; }
.note-form input[type="text"] { width: 100%; }
.notes-warning { margin-bottom: 8px; }

/* 1:1s */
.line-item { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 8px 0; border-bottom: 1px solid var(--border); }
.line-item:last-of-type { border-bottom: 0; }
.line-item form { margin: 0; }
.line-item form.inline { display: inline; }
.line-item.done > span { color: var(--muted); }
.line-item.done > span strong { color: var(--muted); }
.tick { background: none; border: 0; font-size: 1.15rem; cursor: pointer; padding: 0 4px 0 0; color: var(--navy); }
.inline-add { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 12px; }
.inline-add input[type="text"] { flex: 1 1 240px; font: inherit; padding: 8px 10px; border: 1px solid #c4cad3; border-radius: 6px; }
.inline-add select, .inline-add input[type="date"], .actions input[type="date"] { font: inherit; padding: 8px 10px; border: 1px solid #c4cad3; border-radius: 6px; background: #fff; }
.mtg-note { padding: 10px 0; border-bottom: 1px solid var(--border); }
.mtg-note textarea { width: 100%; font: inherit; padding: 8px 10px; border: 1px solid #c4cad3; border-radius: 6px; }
.action-line { padding: 4px 0; }

/* Home: welcome banner, manager tiles and team cards */
.hero { background: linear-gradient(120deg, var(--navy) 0%, #0b4a94 100%); color: #fff; border-radius: var(--radius);
  padding: 28px 28px 24px; margin-bottom: 20px; position: relative; overflow: hidden; }
.hero::after { content: ""; position: absolute; right: -40px; top: -40px; width: 180px; height: 180px; border-radius: 50%;
  background: radial-gradient(circle, rgba(249,159,27,.55), rgba(249,159,27,0) 70%); }
.hero h1 { color: #fff; font-size: 1.8rem; margin: 2px 0 4px; }
.hero-date { margin: 0; font-size: .85rem; letter-spacing: .06em; text-transform: uppercase; color: #ffd18a; font-weight: 700; }
.hero-sub { margin: 0; color: #d6e2f3; }
.hero-summary { margin: 14px 0 0; font-size: 1.05rem; }
.hero-summary strong { color: #ffd18a; }

.tiles { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 12px; margin-bottom: 24px; }
.tile { display: flex; flex-direction: column; gap: 2px; padding: 14px 16px; min-width: 0; border-radius: var(--radius); background: var(--card);
  border: 1px solid var(--border); text-decoration: none; color: var(--text); box-shadow: 0 1px 2px rgba(0,0,0,.04);
  transition: transform .12s ease, box-shadow .12s ease, border-color .12s ease; }
.tile:hover { transform: translateY(-2px); box-shadow: 0 6px 16px rgba(0,47,102,.12); border-color: var(--navy); }
.tile-number { font-size: 2rem; font-weight: 800; line-height: 1.1; color: var(--navy); }
.tile-label { font-weight: 700; }
.tile-hint { font-size: .85rem; color: var(--muted); }
.tile-hot { border-top: 4px solid var(--orange); }
.tile-hot .tile-number { color: #c46a00; }

.people { display: grid; grid-template-columns: repeat(auto-fill, minmax(270px, 1fr)); gap: 18px 14px; margin-top: 16px; }
.person { position: relative; border: 1px solid var(--border); border-radius: var(--radius); padding: 16px 16px 14px;
  display: flex; flex-direction: column; gap: 12px; background: #fff; }
.person-needs { border-color: #f2c27c; box-shadow: inset 0 3px 0 var(--orange); }
/* Sits on the card's top edge, so it never moves anything inside the card. */
.needs-flag { position: absolute; top: -10px; right: 14px; white-space: nowrap; font-size: .7rem; font-weight: 700;
  text-transform: uppercase; letter-spacing: .05em; color: #7a4300; background: #ffe2b8; border: 1px solid #f2c27c;
  padding: 2px 9px; border-radius: 999px; line-height: 1.4; }
.person-head { display: flex; align-items: center; gap: 12px; min-height: 44px; }
.person-name { display: flex; flex-direction: column; min-width: 0; }
.person-name strong, .person-name .muted { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.person-name .muted { font-size: .88rem; }
.avatar { flex: 0 0 auto; width: 42px; height: 42px; border-radius: 50%; display: inline-flex; align-items: center;
  justify-content: center; line-height: 1; font-weight: 800; font-size: .95rem; color: #fff; }
.avatar-0 { background: var(--navy); } .avatar-1 { background: #0b6e8a; } .avatar-2 { background: #c46a00; }
.avatar-3 { background: #5a4a9c; } .avatar-4 { background: #3d7a3a; }
/* Label on the left, value on the right, every row the same height. */
.person-facts { margin: 0; border-top: 1px solid #eef0f3; }
.person-facts > div { display: flex; justify-content: space-between; align-items: center; gap: 10px; min-height: 34px;
  border-bottom: 1px solid #eef0f3; }
.person-facts dt { font-size: .82rem; color: var(--muted); white-space: nowrap; }
.person-facts dd { margin: 0; font-size: .92rem; text-align: right; white-space: nowrap; }
.person-facts .status { font-size: .78rem; padding: 2px 10px; }
.person-links { display: flex; gap: 8px; align-items: center; flex-wrap: nowrap; margin-top: auto; min-height: 34px; }
.person-notes { margin-left: auto; font-size: .9rem; white-space: nowrap; }
.button-small { padding: 6px 12px; font-size: .88rem; line-height: 1.3; white-space: nowrap; }
.title-row-center { align-items: center; }
.quick-links { display: flex; gap: 8px; flex-wrap: wrap; }
.section-heading { margin: 28px 0 12px; color: var(--navy); }
@media (max-width: 640px) { .hero { padding: 22px 18px; } .hero h1 { font-size: 1.45rem; } }

@media (max-width: 640px) {
  .brand img { height: 22px; }
  .brand-sub { font-size: .82rem; white-space: normal; max-width: 120px; line-height: 1.2; }
  .user-name { display: none; }
}

/* HR dashboard */
.tile-of { font-size: 1.1rem; font-weight: 600; color: var(--muted); }
.needs { list-style: none; margin: 12px 0 0; padding: 0; }
.need { display: grid; grid-template-columns: 170px minmax(0, 1fr) auto; gap: 14px; align-items: center;
  padding: 12px 0; border-top: 1px solid #eef0f3; }
.need:first-child { border-top: 0; }
.need-kind { font-size: .75rem; font-weight: 700; text-transform: uppercase; letter-spacing: .05em; color: var(--slate);
  white-space: nowrap; }
.need-urgent .need-kind { color: #8a1f17; }
.need-urgent .need-kind::before { content: ""; display: inline-block; width: 8px; height: 8px; border-radius: 50%;
  background: #c0362c; margin-right: 7px; vertical-align: 1px; }
.need-text { min-width: 0; }
.need-text .muted { display: block; font-size: .88rem; }
@media (max-width: 640px) { .need { grid-template-columns: 1fr; gap: 6px; } .need .button { justify-self: start; } }

.progress { display: flex; height: 14px; border-radius: 999px; overflow: hidden; background: #eef0f3; margin-top: 14px; }
.progress-seg { display: block; height: 100%; }
/* Six equal columns under the bar: count on top, short label below. */
.progress-legend { list-style: none; display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 12px;
  margin: 14px 0 0; padding: 0; }
.progress-legend li { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.legend-count { display: flex; align-items: center; gap: 7px; font-size: 1.25rem; font-weight: 800; color: var(--navy); line-height: 1.2; }
.legend-label { font-size: .82rem; color: var(--slate); padding-left: 17px; }
.progress-legend .dot { flex: 0 0 auto; width: 10px; height: 10px; border-radius: 50%; }
@media (max-width: 640px) { .progress-legend { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.stage-0 { background: #c9ced6; } .stage-1 { background: #f2c27c; } .stage-2 { background: #6f9bd1; }
.stage-3 { background: #3e6fb3; } .stage-4 { background: #1f4d8f; } .stage-5 { background: #2e7d3a; }

/* HR 1:1s overview */
.oo-ok { background: #e3f3e5; color: #1f6b2c; }
.oo-stale { background: #fff3dc; color: #7a4b00; }
.oo-overdue { background: #fdeceb; color: #8a1f17; }
.oo-paused { background: #eef0f3; color: var(--slate); }
.oo-earlier { background: #eef0f3; color: var(--muted); }
.nudge-list { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 12px; margin-top: 12px; }
.nudge { border: 1px solid var(--border); border-radius: var(--radius); padding: 12px 14px; }
.nudge p { margin: 6px 0 0; font-size: .9rem; }
