:root {
  color-scheme: light;
  --ink: #24313d;
  --muted: #66727f;
  --line: #d7dde3;
  --line-soft: #e6eaee;
  --surface: #ffffff;
  --band: #f6f7f9;
  --band-strong: #eef1f4;
  --slate: #2e3944;
  --slate-dark: #24303b;
  --link: #226fca;
  --accent: #ffe600;
  --accent-dark: #2e3944;
  --accent-soft: #fff7bf;
  --good: #5f7f6a;
  --good-soft: #edf5ef;
  --warn: #a66a1f;
  --warn-soft: #fff4df;
  --danger: #a24e45;
  --danger-soft: #fae8e5;
  --shadow: 0 1px 2px rgb(31 43 55 / 10%), 0 16px 28px rgb(31 43 55 / 8%);
  --shadow-low: 0 1px 2px rgb(31 43 55 / 7%), 0 4px 14px rgb(31 43 55 / 5%);
  --shadow-inset: inset 0 1px 3px rgb(31 43 55 / 10%), inset 0 -1px 0 rgb(255 255 255 / 82%);
  --radius: 4px;
  --font-sans: "IBM Plex Sans", "Inter", "Aptos", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* {
  box-sizing: border-box;
}

img,
picture,
video,
canvas {
  max-width: 100%;
}

img,
video,
canvas {
  height: auto;
}

body {
  margin: 0;
  background:
    radial-gradient(circle at 16% 0%, rgb(255 255 255 / 78%), transparent 30%),
    linear-gradient(180deg, #fbfcfd 0%, var(--band) 100%);
  color: var(--ink);
  font: 300 14px/1.45 var(--font-sans);
  letter-spacing: 0;
}

a {
  color: var(--slate);
  font-weight: 700;
}

body.app-shell-body {
  background: #f7f8fa;
}

.app-shell {
  display: grid;
  grid-template-columns: 300px minmax(0, 1fr);
  min-height: 100vh;
}

.sidebar {
  position: sticky;
  top: 0;
  display: flex;
  flex-direction: column;
  height: 100vh;
  border-right: 1px solid var(--line);
  background: #ffffff;
  box-shadow: 1px 0 0 rgb(255 255 255 / 88%);
}

.sidebar-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  min-height: 76px;
  padding: 14px 16px;
  border-bottom: 1px solid var(--line-soft);
}

.sidebar-brand {
  min-width: 0;
  color: var(--ink);
}

.brand-text {
  display: grid;
  gap: 2px;
  min-width: 0;
}

.sidebar .brand-title {
  color: var(--ink);
  font-size: 16px;
}

.sidebar .brand-kicker {
  color: var(--muted);
  font-size: 10px;
}

.sidebar-control {
  appearance: none;
  position: relative;
  flex: 0 0 24px;
  width: 24px;
  aspect-ratio: 1 / 1;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #ffffff;
  padding: 0;
  cursor: pointer;
}

.sidebar-control::before,
.sidebar-control::after {
  position: absolute;
  content: "";
}

.sidebar-control::before {
  inset: 5px 8px 5px 5px;
  border: 1px solid var(--slate);
  border-radius: 2px;
}

.sidebar-control::after {
  top: 5px;
  bottom: 5px;
  left: 12px;
  width: 1px;
  background: var(--slate);
}

.sidebar-search {
  display: block;
  padding: 14px 16px;
  border-bottom: 1px solid var(--line-soft);
}

.sidebar-search input {
  min-height: 42px;
  padding-left: 38px;
  background:
    radial-gradient(circle at 16px 17px, transparent 5px, var(--muted) 5px, var(--muted) 6px, transparent 7px),
    linear-gradient(45deg, transparent 25px, var(--muted) 26px, var(--muted) 28px, transparent 29px),
    #ffffff;
  box-shadow: none;
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}

.side-nav {
  display: grid;
  gap: 2px;
  padding: 18px 16px 12px;
}

.side-nav a {
  display: flex;
  align-items: center;
  gap: 12px;
  width: 100%;
  min-height: 40px;
  border: 1px solid transparent;
  border-radius: var(--radius);
  padding: 8px 9px;
  color: #2d333a;
  font-size: 15px;
  font-weight: 650;
  text-decoration: none;
}

.side-nav a:hover,
.side-nav a.active {
  border-color: var(--line-soft);
  background: #f4f7fa;
}

.side-nav a.active {
  border-color: var(--line-soft);
  box-shadow: inset 3px 0 0 var(--accent), 0 1px 0 rgb(255 255 255 / 82%) inset;
}

.nav-symbol {
  position: relative;
  display: inline-block;
  flex: 0 0 22px;
  width: 22px;
  aspect-ratio: 1 / 1;
  color: var(--muted);
}

.nav-symbol::before,
.nav-symbol::after {
  position: absolute;
  content: "";
}

.nav-home::before {
  left: 5px;
  top: 8px;
  width: 12px;
  height: 10px;
  border: 2px solid currentColor;
  border-top: 0;
  border-radius: 2px;
}

.nav-home::after {
  left: 5px;
  top: 4px;
  width: 12px;
  height: 12px;
  border-left: 2px solid currentColor;
  border-top: 2px solid currentColor;
  transform: rotate(45deg);
}

.nav-session::before {
  inset: 4px 3px 5px;
  border: 2px solid currentColor;
  border-radius: 3px;
}

.nav-session::after {
  left: 7px;
  right: 7px;
  top: 8px;
  height: 8px;
  border-top: 2px solid currentColor;
  border-bottom: 2px solid currentColor;
}

.nav-access::before {
  left: 4px;
  top: 5px;
  width: 7px;
  height: 7px;
  border: 2px solid currentColor;
  border-radius: 50%;
}

.nav-access::after {
  right: 4px;
  bottom: 5px;
  width: 12px;
  height: 8px;
  border: 2px solid currentColor;
  border-radius: 10px 10px 2px 2px;
}

.nav-records::before {
  left: 4px;
  top: 5px;
  width: 14px;
  height: 12px;
  border: 2px solid currentColor;
  border-radius: 2px;
}

.nav-records::after {
  left: 8px;
  right: 8px;
  top: 9px;
  height: 4px;
  border-top: 2px solid currentColor;
  border-bottom: 2px solid currentColor;
}

.side-nav a.active .nav-symbol {
  color: var(--slate-dark);
}

.side-section {
  padding: 8px 16px 16px;
}

.side-section-title {
  display: block;
  margin-bottom: 8px;
  color: var(--muted);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.offering-nav {
  display: grid;
  gap: 4px;
}

.offering-nav a {
  display: flex;
  align-items: start;
  gap: 10px;
  min-height: 30px;
  border-radius: var(--radius);
  padding: 5px 8px;
  color: var(--ink);
  font-size: 14px;
  font-weight: 400;
  line-height: 1.35;
  text-decoration: none;
}

.offering-nav a:hover,
.offering-nav a.active {
  background: #f4f7fa;
}

.offering-nav a.active {
  color: var(--slate-dark);
  font-weight: 650;
}

.offering-dot {
  flex: 0 0 8px;
  width: 8px;
  aspect-ratio: 1 / 1;
  margin-top: 6px;
  border-radius: 50%;
  background: #b8bdc5;
}

.offering-nav a.active .offering-dot {
  background: var(--accent);
  box-shadow: 0 0 0 1px #d8c400;
}

.side-user {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  gap: 10px;
  align-items: center;
  margin-top: auto;
  padding: 14px 16px;
  border-top: 1px solid var(--line-soft);
}

.side-user strong,
.side-user small {
  display: block;
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.side-user strong {
  color: var(--ink);
  font-weight: 900;
}

.side-user small {
  color: var(--muted);
  font-size: 12px;
}

.avatar {
  display: inline-grid;
  place-items: center;
  width: 40px;
  aspect-ratio: 1 / 1;
  border-radius: 50%;
  background: var(--accent);
  color: var(--slate-dark);
  font-size: 13px;
  font-weight: 900;
  text-transform: uppercase;
}

.side-user-copy {
  min-width: 0;
}

.side-user form {
  margin: 0;
}

.icon-button {
  min-height: 32px;
  border: 1px solid var(--line);
  padding: 6px 9px;
  background: #ffffff;
  color: var(--slate);
  font-size: 12px;
  box-shadow: var(--shadow-low);
}

.app-main {
  min-width: 0;
}

.topbar.app-topbar {
  display: flex;
  min-height: 58px;
  border-bottom: 1px solid var(--line);
  background: #ffffff;
  box-shadow: none;
}

.app-context {
  display: grid;
  gap: 2px;
}

.app-context span {
  color: var(--muted);
  font-size: 10px;
  font-weight: 650;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.app-context strong {
  color: var(--ink);
  font-size: 14px;
  font-weight: 700;
}

.topbar-actions {
  display: flex;
  align-items: center;
  gap: 10px;
}

.topbar-actions form {
  margin: 0;
}

.mobile-brand {
  color: var(--ink);
}

.mobile-brand .brand-title {
  color: var(--ink);
}

.mobile-brand .brand-kicker {
  color: var(--muted);
}

.app-shell .page {
  width: 100%;
  margin: 0;
  padding: 18px 24px 38px;
}

.topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  min-height: 76px;
  padding: 12px 24px;
  border-bottom: 1px solid rgb(16 24 32 / 30%);
  background: linear-gradient(180deg, var(--slate) 0%, var(--slate-dark) 100%);
  box-shadow: 0 1px 0 rgb(255 255 255 / 9%) inset, 0 14px 34px rgb(31 43 55 / 14%);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: #ffffff;
  text-decoration: none;
}

.brand-mark {
  display: inline-grid;
  place-items: center;
  width: 38px;
  aspect-ratio: 1 / 1;
  border: 1px solid rgb(255 255 255 / 18%);
  border-radius: var(--radius);
  background: var(--accent);
  color: var(--slate-dark);
  font-size: 13px;
  font-weight: 900;
  letter-spacing: 0.08em;
}

.brand-kicker,
.eyebrow,
.panel-kicker {
  display: block;
  color: var(--muted);
  font-size: 10px;
  font-weight: 900;
  letter-spacing: 0.09em;
  text-transform: uppercase;
}

.brand-kicker {
  color: rgb(255 255 255 / 64%);
}

.brand-title {
  display: block;
  color: #ffffff;
  font-size: 15px;
  font-weight: 900;
  line-height: 1.15;
}

.primary-nav {
  display: flex;
  flex: 1 1 auto;
  align-items: center;
  justify-content: center;
  gap: 4px;
  min-width: 0;
  overflow-x: auto;
  padding: 4px;
  border: 1px solid rgb(255 255 255 / 10%);
  border-radius: var(--radius);
  background: rgb(255 255 255 / 6%);
}

.primary-nav a {
  flex: 0 0 auto;
  border: 1px solid transparent;
  border-radius: var(--radius);
  padding: 8px 10px;
  color: rgb(255 255 255 / 78%);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.03em;
  text-decoration: none;
}

.primary-nav a:hover,
.primary-nav a.active {
  border-color: rgb(255 230 0 / 72%);
  background: var(--accent);
  color: var(--slate-dark);
}

.actor {
  display: inline-flex;
  flex: 0 0 auto;
  align-items: center;
  gap: 7px;
  border: 1px solid rgb(255 255 255 / 14%);
  border-radius: var(--radius);
  padding: 7px 9px;
  background: rgb(255 255 255 / 8%);
  color: rgb(255 255 255 / 78%);
  font-size: 12px;
  font-weight: 700;
}

.actor span {
  color: rgb(255 255 255 / 50%);
  font-size: 10px;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.app-topbar .actor {
  border-color: var(--line-soft);
  background: #ffffff;
  color: var(--ink);
  box-shadow: none;
}

.app-topbar .actor span {
  color: var(--muted);
}

.page {
  width: min(1500px, calc(100% - 32px));
  margin: 24px auto 48px;
}

.heading-row,
.panel-title-row,
.button-row,
.legend {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.hero-row {
  align-items: end;
  min-height: 130px;
  margin-bottom: 18px;
  border: 1px solid var(--line-soft);
  border-radius: 6px;
  padding: 24px;
  background:
    linear-gradient(90deg, rgb(255 230 0 / 18%) 0, transparent 1px) 0 0 / 56px 56px,
    linear-gradient(0deg, rgb(46 57 68 / 5%) 1px, transparent 1px) 0 0 / 56px 56px,
    #ffffff;
  box-shadow: var(--shadow-low);
}

.app-shell-body .hero-row {
  align-items: start;
  min-height: 74px;
  margin: -2px -24px 16px;
  border-width: 0 0 1px;
  border-radius: 0;
  padding: 16px 24px 0;
  background: #ffffff;
  box-shadow: none;
}

.app-shell-body .hero-row p {
  max-width: 760px;
  margin-bottom: 13px;
  font-size: 14px;
}

.app-shell-body .hero-row .link-button {
  margin-top: 2px;
}

.hero-row .eyebrow,
.section-heading .eyebrow {
  margin-bottom: 6px;
  color: var(--slate);
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  margin-bottom: 4px;
  color: var(--ink);
  font-size: 30px;
  font-weight: 900;
  line-height: 1.06;
}

h2 {
  margin-bottom: 14px;
  color: var(--ink);
  font-size: 18px;
  font-weight: 900;
  line-height: 1.16;
}

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

.section-heading {
  margin: 24px 0 12px;
}

.section-heading h2 {
  margin-bottom: 0;
}

.panel,
.metric,
.status-banner,
.setup-steps div {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
}

.panel {
  position: relative;
  margin-bottom: 18px;
  padding: 20px;
  box-shadow: var(--shadow-low);
}

.panel::before {
  position: absolute;
  top: -1px;
  bottom: -1px;
  left: -1px;
  width: 3px;
  border-radius: var(--radius) 0 0 var(--radius);
  background: var(--accent);
  content: "";
}

.narrow {
  max-width: 560px;
}

.status-banner {
  margin-bottom: 18px;
  padding: 12px 14px;
  border-color: rgb(95 127 106 / 42%);
  background: var(--good-soft);
  color: var(--good);
  font-weight: 700;
}

.panel-title-row {
  align-items: start;
  margin-bottom: 14px;
}

.panel-title-row h2 {
  margin-bottom: 0;
}

.panel-title-row a {
  min-height: 34px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 7px 10px;
  background: #ffffff;
  color: var(--slate);
  font-size: 12px;
  text-decoration: none;
  box-shadow: var(--shadow-low);
}

.panel-kicker {
  margin-bottom: 5px;
  color: var(--slate);
}

.button-row {
  flex-wrap: wrap;
  justify-content: flex-start;
  gap: 10px;
}

.export-row {
  margin-top: 14px;
  padding-top: 14px;
  border-top: 1px solid var(--line-soft);
}

.button-row form,
.inline-form {
  margin: 0;
}

.button-row form {
  display: grid;
  gap: 4px;
}

.control-warning {
  color: var(--warn);
  font-size: 11px;
  font-weight: 700;
  text-align: center;
}

.metric-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 12px;
  margin-bottom: 18px;
}

.executive-metrics .metric {
  min-height: 106px;
}

.metric {
  padding: 15px;
  box-shadow: var(--shadow-low);
}

.metric span {
  display: block;
  color: var(--muted);
  font-size: 10px;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.metric strong {
  display: block;
  margin-top: 10px;
  color: var(--slate);
  font-size: 30px;
  font-weight: 900;
  line-height: 1;
}

.setup-steps {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 10px;
  margin-bottom: 18px;
}

.setup-steps div {
  display: flex;
  align-items: center;
  gap: 10px;
  min-height: 56px;
  padding: 10px 12px;
  box-shadow: var(--shadow-low);
}

.setup-steps span {
  display: inline-grid;
  place-items: center;
  width: 26px;
  aspect-ratio: 1 / 1;
  border-radius: var(--radius);
  background: var(--accent);
  color: var(--slate-dark);
  font-size: 10px;
  font-weight: 900;
}

.setup-steps strong {
  font-weight: 900;
}

.workflow-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
  margin-bottom: 18px;
}

.admin-workflow .panel {
  min-height: 100%;
}

.wide {
  grid-column: span 2;
}

.command-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(330px, 0.75fr);
  gap: 18px;
  align-items: start;
  margin-bottom: 18px;
}

.facilitator-workspace-layout {
  display: grid;
  grid-template-columns: minmax(292px, 330px) minmax(0, 1fr);
  gap: 14px;
  align-items: start;
}

.facilitator-side-panel {
  position: sticky;
  top: 14px;
  display: grid;
  gap: 12px;
  max-height: calc(100vh - 28px);
  overflow: auto;
  scrollbar-width: thin;
}

.facilitator-main-column {
  display: grid;
  gap: 18px;
  min-width: 0;
}

.facilitator-main-column > .panel,
.facilitator-main-column > .two-column {
  margin-bottom: 0;
}

.side-panel-toggle-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 12px;
  background: linear-gradient(180deg, #ffffff 0%, #f8fafb 100%);
  box-shadow: var(--shadow-low);
}

.operations-heading-card {
  border-left: 4px solid var(--accent);
}

.side-panel-title {
  display: grid;
  gap: 2px;
}

.side-panel-title strong {
  color: var(--slate);
  font-size: 16px;
  font-weight: 800;
}

.operations-card {
  min-width: 0;
}

.compact-session-lifecycle {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
  margin: 0;
}

.compact-session-lifecycle .lifecycle-stage {
  min-height: 42px;
}

.compact-state-row {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
  border: 1px solid var(--line-soft);
  border-radius: var(--radius);
  padding: 10px;
  background: #f7f9fb;
}

.compact-state-row form {
  display: grid;
  gap: 4px;
  min-width: 0;
}

.compact-state-row button {
  width: 100%;
  min-width: 0;
}

.state-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-left-width: 4px;
  background: #ffffff;
  color: var(--slate);
}

.state-button.state-draft {
  border-left-color: #8995a1;
}

.state-button.state-open,
.state-button.state-ratified {
  border-left-color: var(--good);
  background: var(--good-soft);
  color: #315c42;
}

.state-button.state-locked_for_reveal,
.state-button.state-revealed,
.state-button.state-discussion {
  border-left-color: #d6ae57;
  background: var(--warn-soft);
  color: #704816;
}

.state-button.state-closed {
  border-left-color: var(--slate);
  background: #eef1f4;
}

.state-button.btn-current {
  border-color: var(--slate);
  border-left-color: var(--accent);
  background: linear-gradient(180deg, #344250 0%, #25313d 100%);
  color: #ffffff;
}

.compact-export-row {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 7px;
}

.compact-export-row .link-button {
  justify-content: center;
  min-width: 0;
  text-align: center;
  white-space: normal;
}

.session-control-panel {
  border-top: 3px solid var(--slate);
  background: linear-gradient(180deg, #ffffff 0%, #fbfcfd 72%);
}

.session-control-panel .compact-title-row {
  align-items: center;
  border-bottom: 1px solid var(--line-soft);
  padding-bottom: 10px;
}

.compact-brief-button {
  min-height: 34px;
  padding: 6px 10px;
  font-size: 12px;
}

.session-control-panel .session-option-form {
  grid-template-columns: 1fr;
  align-items: stretch;
}

.session-control-panel .session-option-form button {
  width: 100%;
}

.session-control-panel .checkbox-row {
  align-items: start;
  line-height: 1.35;
}

.readiness-status-pair {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  justify-content: flex-end;
}

.compact-readiness-metrics,
.compact-lifecycle-metrics {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  margin: 10px 0 12px;
}

.compact-lifecycle-metrics {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.compact-readiness-metrics .metric,
.compact-lifecycle-metrics .metric {
  min-height: 78px;
  padding: 11px;
}

.compact-readiness-metrics .metric strong,
.compact-lifecycle-metrics .metric strong {
  margin-top: 7px;
  font-size: 22px;
}

.readiness-detail {
  border-top: 1px solid var(--line-soft);
  padding-top: 10px;
}

.readiness-detail + .readiness-detail {
  margin-top: 12px;
}

.readiness-detail summary {
  cursor: pointer;
  color: var(--slate);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.readiness-detail p {
  margin: 8px 0;
}

.next-action-strip {
  display: grid;
  grid-template-columns: minmax(280px, 0.72fr) minmax(0, 1.28fr);
  gap: 14px;
  align-items: stretch;
  margin-bottom: 18px;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 16px;
  background:
    linear-gradient(90deg, rgb(37 49 61 / 3%) 0 1px, transparent 1px) 0 0 / 38px 38px,
    #ffffff;
  box-shadow: var(--shadow-low);
}

.next-action-strip h2 {
  margin: 4px 0 6px;
  font-size: 22px;
  font-weight: 600;
  letter-spacing: 0;
}

.next-action-strip p {
  max-width: 560px;
  margin: 0;
  color: var(--muted);
  line-height: 1.45;
}

.next-action-list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
}

.next-action-card {
  display: grid;
  gap: 5px;
  min-height: 112px;
  border: 1px solid var(--line-soft);
  border-left: 3px solid #8c98a5;
  border-radius: var(--radius);
  padding: 12px;
  background: #fbfcfd;
  color: inherit;
  text-decoration: none;
  transition: border-color 150ms ease, box-shadow 150ms ease, transform 150ms ease;
}

.next-action-card:hover {
  border-color: #9aa6b2;
  box-shadow: var(--shadow-low);
  transform: translateY(-1px);
}

.next-action-card span {
  color: var(--muted);
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.next-action-card strong {
  color: var(--ink);
  font-size: 14px;
  font-weight: 600;
  line-height: 1.25;
}

.next-action-card small {
  color: var(--muted);
  font-size: 12px;
  line-height: 1.35;
}

.next-action-card.tone-clear {
  border-left-color: #5f7f6a;
}

.next-action-card.tone-warning {
  border-left-color: #d6ae57;
}

.next-action-card.tone-blocker {
  border-left-color: #b95a55;
}

.command-panel,
.preflight-panel {
  min-height: auto;
}

.launch-checklist-panel {
  margin-bottom: 18px;
}

.launch-checklist-list .preflight-check {
  grid-template-columns: minmax(0, 1fr) auto;
}

.launch-checklist-action {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  justify-content: flex-end;
}

.launch-status-stack {
  margin-top: 12px;
}

.participant-lifecycle-panel {
  margin-bottom: 18px;
}

.participant-lifecycle-metrics {
  margin: 14px 0;
}

.participant-lifecycle-table td {
  min-width: 138px;
}

.participant-lifecycle-table td:first-child,
.participant-lifecycle-table td:nth-child(6) {
  min-width: 220px;
}

.participant-management-summary {
  display: grid;
  grid-template-columns: minmax(220px, 1fr) minmax(280px, 0.9fr);
  gap: 16px;
  align-items: stretch;
  margin: 14px 0;
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background:
    linear-gradient(135deg, rgba(255, 230, 0, 0.1), rgba(255, 255, 255, 0.8) 38%),
    var(--surface);
}

.participant-management-summary p {
  margin: 6px 0 0;
  color: var(--muted);
}

.participant-action-list {
  display: grid;
  gap: 8px;
  margin: 0 0 16px;
}

.participant-action-item {
  display: grid;
  grid-template-columns: minmax(180px, 0.75fr) auto minmax(220px, 1fr);
  gap: 12px;
  align-items: center;
  padding: 10px 12px;
  border: 1px solid var(--line);
  border-left: 4px solid var(--accent);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.82);
}

.participant-action-item.status-pass {
  border-left-color: var(--success);
}

.participant-action-item.status-warning {
  border-left-color: var(--warn);
}

.participant-action-item.status-blocker {
  border-left-color: var(--danger);
}

.participant-action-item p,
.participant-action-item small,
.participant-roster-table small {
  display: block;
  margin: 3px 0 0;
  color: var(--muted);
}

.participant-roster-scroll {
  max-height: min(620px, 72vh);
  overflow: auto;
  overscroll-behavior: contain;
  border: 1px solid var(--line);
  border-radius: 8px;
  background:
    linear-gradient(to right, var(--surface) 30%, rgb(255 255 255 / 0)),
    linear-gradient(to right, rgb(255 255 255 / 0), var(--surface) 70%) 100% 0,
    linear-gradient(to right, rgb(38 50 63 / 8%), rgb(255 255 255 / 0)),
    linear-gradient(to left, rgb(38 50 63 / 8%), rgb(255 255 255 / 0)) 100% 0,
    var(--surface);
  background-attachment: local, local, scroll, scroll;
  background-repeat: no-repeat;
  background-size: 36px 100%, 36px 100%, 12px 100%, 12px 100%;
}

.participant-roster-scroll .participant-roster-table {
  min-width: 1160px;
  border-collapse: separate;
  border-spacing: 0;
}

.participant-roster-scroll th {
  position: sticky;
  top: 0;
  z-index: 4;
  background: var(--surface);
  box-shadow: 0 1px 0 var(--line);
}

.participant-roster-scroll th:first-child,
.participant-roster-scroll td:first-child {
  position: sticky;
  left: 0;
  z-index: 3;
  background: var(--surface);
  box-shadow: 1px 0 0 var(--line);
}

.participant-roster-scroll th:last-child,
.participant-roster-scroll td:last-child {
  position: sticky;
  right: 0;
  z-index: 3;
  background: var(--surface);
  box-shadow: -1px 0 0 var(--line);
}

.participant-roster-scroll th:first-child,
.participant-roster-scroll th:last-child {
  z-index: 5;
}

.participant-roster-scroll tbody tr:nth-child(even) td {
  background-color: var(--surface-muted);
}

.participant-roster-scroll tbody tr:nth-child(even) td:first-child,
.participant-roster-scroll tbody tr:nth-child(even) td:last-child {
  background-color: var(--surface-muted);
}

.participant-roster-scroll tbody tr:hover td {
  background-color: rgb(255 249 191 / 38%);
}

.participant-roster-scroll tbody tr:hover td:first-child,
.participant-roster-scroll tbody tr:hover td:last-child {
  background-color: rgb(255 249 191);
}

.participant-roster-table td {
  min-width: 140px;
  vertical-align: top;
}

.participant-roster-table td:first-child,
.participant-roster-table td:nth-child(7) {
  min-width: 220px;
}

.participant-roster-table td:last-child {
  min-width: 170px;
}

.inventory-compare-panel {
  align-self: stretch;
}

.compare-form {
  align-items: end;
  grid-template-columns: minmax(180px, 1fr) minmax(180px, 1fr) auto;
}

.compare-result {
  margin-top: 16px;
  border-top: 1px solid var(--line-soft);
  padding-top: 16px;
}

.compare-metrics {
  margin: 12px 0;
}

.compare-table {
  margin-top: 12px;
}

.compare-table h4 {
  margin: 0 0 8px;
  font-size: 14px;
}

.readiness-panel,
.matrix-panel {
  min-height: 100%;
}

.state-row button {
  min-width: 112px;
}

.invite-panel {
  margin-bottom: 18px;
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background:
    linear-gradient(90deg, rgb(37 49 61 / 3%) 0 1px, transparent 1px) 0 0 / 34px 34px,
    #fbfcfd;
}

.compact-title-row {
  min-height: auto;
  margin-bottom: 8px;
}

.compact-title-row h3 {
  margin: 2px 0 0;
  font-size: 16px;
  line-height: 1.2;
}

.invite-selection-list {
  max-height: 230px;
}

.invite-selection-list .selection-row {
  background: #ffffff;
}

.invite-summary-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 8px;
}

.invite-summary-grid span {
  display: grid;
  gap: 2px;
  min-height: 54px;
  border: 1px solid var(--line-soft);
  border-radius: var(--radius);
  padding: 9px 10px;
  background: #ffffff;
  color: var(--muted);
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.invite-summary-grid strong {
  color: var(--ink);
  font-size: 18px;
  font-weight: 600;
  letter-spacing: 0;
  line-height: 1;
  text-transform: none;
}

.action-confirmation-panel {
  display: grid;
  gap: 12px;
  border: 1px solid var(--line-soft);
  border-radius: var(--radius);
  padding: 14px;
  background: #fbfcfd;
}

.action-confirmation-panel h4 {
  margin: 0;
  font-size: 16px;
  line-height: 1.25;
}

.invite-preview {
  border: 1px solid var(--line-soft);
  border-radius: var(--radius);
  padding: 10px 12px;
  background: #ffffff;
}

.invite-preview summary {
  color: var(--ink);
  font-size: 12px;
  font-weight: 600;
}

.invite-preview div {
  display: grid;
  gap: 7px;
  margin-top: 10px;
  border-top: 1px solid var(--line-soft);
  padding-top: 10px;
}

.invite-preview p {
  margin: 0;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.45;
}

.two-column {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

table {
  width: 100%;
  border-collapse: collapse;
}

.table-scroll {
  overflow-x: auto;
}

th,
td {
  padding: 10px 8px;
  border-bottom: 1px solid var(--line-soft);
  text-align: left;
  vertical-align: top;
}

th {
  color: var(--muted);
  font-size: 10px;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

td {
  color: var(--ink);
}

td strong,
td small {
  display: block;
}

td small {
  margin-top: 3px;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.25;
}

.session-readiness-cell {
  min-width: 132px;
}

.session-readiness-cell strong {
  font-size: 15px;
  font-weight: 600;
}

.session-readiness-cell .status-pill {
  margin-bottom: 5px;
}

tbody tr:hover {
  background: var(--band);
}

.record-link {
  color: var(--link);
  font-weight: 650;
  text-decoration: none;
}

.record-link:hover {
  text-decoration: underline;
}

.status-pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 76px;
  min-height: 26px;
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 3px 9px;
  background: var(--band);
  color: var(--muted);
  font-size: 11px;
  font-weight: 900;
  text-align: center;
  text-transform: capitalize;
}

.status-submitted,
.status-complete,
.status-pass,
.status-active,
.status-open,
.status-ready,
.status-sent,
.status-clear,
.status-ratified {
  border-color: rgb(95 127 106 / 40%);
  background: var(--good-soft);
  color: var(--good);
}

.status-reopened,
.status-partial,
.status-warning,
.status-watch,
.status-draft,
.status-deferred,
.status-not_attempted,
.status-unknown,
.status-locked_for_reveal,
.status-revealed,
.status-discussion {
  border-color: rgb(166 106 31 / 38%);
  background: var(--warn-soft);
  color: var(--warn);
}

.status-unplaced,
.status-withdrawn,
.status-disputed,
.status-blocker,
.status-closed,
.status-failed,
.status-disabled {
  border-color: rgb(162 78 69 / 38%);
  background: var(--danger-soft);
  color: var(--danger);
}

.status-invited,
.status-skipped,
.status-not_applicable {
  border-color: rgb(102 114 127 / 28%);
  background: var(--band);
  color: var(--muted);
}

.status-insufficient_data {
  border-color: rgb(102 114 127 / 30%);
  background: #f2f4f6;
  color: #5c6874;
}

.command-center-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(320px, 0.8fr);
  gap: 18px;
  margin-bottom: 18px;
}

.workbench-title-row {
  display: flex;
  align-items: start;
  justify-content: space-between;
  gap: 18px;
  min-height: 74px;
  margin: -2px -24px 16px;
  padding: 16px 24px 0;
  border-bottom: 1px solid var(--line-soft);
  background: #ffffff;
}

.workbench-title-row h1 {
  margin-bottom: 12px;
  font-size: 24px;
  line-height: 1.15;
}

.workspace-tabs {
  display: flex;
  gap: 22px;
  align-items: center;
}

.workspace-tabs a {
  position: relative;
  padding-bottom: 13px;
  color: var(--muted);
  font-weight: 650;
  text-decoration: none;
}

.workspace-tabs a.active {
  color: var(--ink);
}

.workspace-tabs a.active::after {
  position: absolute;
  right: 0;
  bottom: -1px;
  left: 0;
  height: 3px;
  background: var(--slate);
  content: "";
}

.workbench-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 10px;
}

.workbench-actions .link-button {
  min-height: 34px;
  background: #ffffff;
}

.workbench-grid,
.workbench-operations-grid {
  display: grid;
  gap: 18px;
  align-items: start;
}

.workbench-grid {
  grid-template-columns: minmax(0, 1fr) minmax(330px, 0.34fr);
  margin-bottom: 18px;
}

.workbench-operations-grid {
  grid-template-columns: minmax(330px, 0.42fr) minmax(0, 1fr);
}

.workbench-panel {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #ffffff;
  box-shadow: 0 1px 2px rgb(31 43 55 / 5%);
}

.workbench-panel > .panel-title-row {
  min-height: 58px;
  margin: 0;
  padding: 14px 16px;
  border-bottom: 1px solid var(--line-soft);
}

.workbench-panel .table-scroll {
  max-height: 430px;
}

.workbench-panel table thead th {
  position: sticky;
  top: 0;
  z-index: 2;
  background: #ffffff;
  box-shadow: 0 1px 0 var(--line-soft);
}

.backup-readiness-panel {
  margin-bottom: 18px;
  overflow: hidden;
  background:
    linear-gradient(90deg, rgb(37 49 61 / 3%) 0 1px, transparent 1px) 0 0 / 42px 42px,
    linear-gradient(180deg, #ffffff 0%, #fbfcfd 100%);
}

.backup-readiness-body {
  display: grid;
  grid-template-columns: minmax(280px, 0.8fr) minmax(0, 1.2fr);
  gap: 16px;
  padding: 16px;
}

.backup-readiness-lede {
  display: grid;
  gap: 8px;
  border: 1px solid var(--line-soft);
  border-radius: 6px;
  padding: 14px;
  background: #ffffff;
}

.backup-readiness-lede strong {
  color: var(--ink);
  font-size: 15px;
  line-height: 1.35;
}

.backup-readiness-lede span {
  color: var(--muted);
  font-size: 13px;
  line-height: 1.45;
}

.backup-readiness-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
}

.backup-readiness-grid span {
  display: grid;
  gap: 6px;
  min-height: 92px;
  border: 1px solid #dde3e8;
  border-radius: 6px;
  padding: 12px;
  background: #ffffff;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.35;
}

.backup-readiness-grid strong {
  color: var(--ink);
  font-size: 12px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.module-table th,
.module-table td {
  padding: 12px 16px;
}

.module-table tr:last-child td {
  border-bottom: 0;
}

.module-table td:nth-child(3),
.module-table td:nth-child(4) {
  white-space: nowrap;
}

.module-table small {
  display: block;
  margin-top: 4px;
  color: var(--muted);
  font-size: 12px;
}

.compact-link {
  min-height: 30px;
  padding: 5px 9px;
  font-size: 12px;
}

.table-count {
  color: var(--muted);
  font-size: 12px;
  font-weight: 650;
}

.dashboard-hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(260px, 0.28fr);
  gap: 18px;
  align-items: center;
  min-height: 132px;
  margin-bottom: 16px;
  border: 1px solid var(--line-soft);
  border-radius: 6px;
  padding: 24px 26px;
  overflow: hidden;
  background:
    linear-gradient(90deg, rgb(255 230 0 / 12%) 0, transparent 1px) 0 0 / 56px 56px,
    linear-gradient(0deg, rgb(46 57 68 / 4%) 1px, transparent 1px) 0 0 / 56px 56px,
    #ffffff;
  box-shadow: var(--shadow-low);
}

.dashboard-hero-copy {
  display: grid;
  align-content: center;
  max-width: 690px;
}

.dashboard-hero .eyebrow {
  color: var(--slate);
}

.dashboard-hero h1 {
  margin-bottom: 7px;
  color: var(--ink);
  font-size: 28px;
}

.dashboard-hero p {
  max-width: 620px;
  margin-bottom: 0;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.45;
}

.overview-meta {
  display: grid;
  gap: 4px;
  justify-self: end;
  min-width: 230px;
  border-left: 3px solid var(--accent);
  padding: 8px 0 8px 16px;
}

.overview-meta span,
.overview-meta small {
  color: var(--muted);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.overview-meta strong {
  color: var(--ink);
  font-size: 16px;
  font-weight: 700;
  line-height: 1.2;
}

.dashboard-action-strip {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  margin: 0 0 18px;
}

.dashboard-action-card {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 14px;
  align-items: center;
  min-height: 82px;
  border: 1px solid var(--line-soft);
  border-radius: var(--radius);
  padding: 15px 16px;
  background: #ffffff;
  color: var(--ink);
  text-decoration: none;
  box-shadow: var(--shadow-low);
}

.dashboard-action-card:hover {
  border-color: rgb(46 57 68 / 26%);
  box-shadow: var(--shadow);
}

.dashboard-action-card strong,
.dashboard-action-card small {
  display: block;
}

.dashboard-action-card strong {
  margin-bottom: 3px;
  color: var(--ink);
  font-size: 15px;
  font-weight: 700;
}

.dashboard-action-card small {
  color: var(--muted);
  font-size: 13px;
  font-weight: 400;
  line-height: 1.35;
}

.action-icon {
  display: inline-grid;
  place-items: center;
  width: 34px;
  aspect-ratio: 1 / 1;
  border: 1px solid var(--line-soft);
  border-radius: var(--radius);
  background:
    linear-gradient(180deg, rgb(255 230 0 / 38%), rgb(255 230 0 / 8%)),
    #ffffff;
  color: var(--slate);
  font-size: 12px;
  font-weight: 700;
}

.dashboard-metrics {
  grid-template-columns: repeat(7, minmax(0, 1fr));
  gap: 0;
  margin-bottom: 18px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  background: #ffffff;
  box-shadow: var(--shadow-low);
}

.dashboard-metrics .metric {
  min-height: 68px;
  border: 0;
  border-right: 1px solid var(--line-soft);
  border-radius: 0;
  padding: 12px 14px;
  box-shadow: none;
}

.dashboard-metrics .metric:last-child {
  border-right: 0;
}

.dashboard-metrics .metric strong {
  margin-top: 5px;
  font-size: 22px;
}

.engagement-readiness-panel {
  margin-bottom: 18px;
}

.readiness-summary {
  margin: -6px 0 14px;
  color: var(--muted);
  font-size: 13px;
  font-weight: 650;
}

.readiness-metrics {
  grid-template-columns: repeat(6, minmax(0, 1fr));
}

.readiness-metrics .metric {
  min-height: 92px;
}

.readiness-metrics .metric small {
  display: block;
  margin-top: 6px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 650;
}

.readiness-detail-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.3fr) minmax(280px, 0.7fr);
  gap: 16px;
  align-items: start;
}

.readiness-detail-grid h3 {
  margin: 0 0 10px;
  color: var(--slate);
  font-size: 15px;
}

.readiness-action-list {
  display: grid;
  gap: 8px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.readiness-action-item {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 12px;
  align-items: center;
  border: 1px solid var(--line-soft);
  border-left: 4px solid var(--warn);
  border-radius: var(--radius);
  padding: 10px;
  background: #ffffff;
}

.readiness-action-item.status-blocker {
  border-left-color: var(--danger);
}

.readiness-action-item.status-warning {
  border-left-color: var(--warn);
}

.readiness-action-item div {
  display: grid;
  gap: 5px;
}

.readiness-action-item strong {
  color: var(--slate);
  font-size: 13px;
}

.readiness-action-item small {
  color: var(--muted);
  font-size: 12px;
  line-height: 1.35;
}

.readiness-status-stack {
  display: grid;
  gap: 10px;
}

.readiness-status-stack > div {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  align-items: center;
  border: 1px solid var(--line-soft);
  border-radius: var(--radius);
  padding: 10px;
  background: #ffffff;
}

.readiness-status-stack > div > span:first-child {
  flex: 0 0 100%;
  color: var(--muted);
  font-size: 11px;
  font-weight: 850;
  text-transform: uppercase;
}

.status-chip {
  display: inline-flex;
  align-items: center;
  min-height: 26px;
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 3px 9px;
  background: var(--band);
  color: var(--muted);
  font-size: 11px;
  font-weight: 850;
  text-decoration: none;
}

a.status-chip:hover {
  color: var(--link);
}

.signal-strip {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  margin-bottom: 18px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  background: #ffffff;
  box-shadow: var(--shadow-low);
}

.signal-item {
  position: relative;
  display: grid;
  gap: 6px;
  min-height: 88px;
  border-right: 1px solid var(--line-soft);
  padding: 14px 16px;
  color: var(--ink);
  text-decoration: none;
  transition:
    background 150ms ease,
    border-color 150ms ease;
}

.signal-item:last-child {
  border-right: 0;
}

.signal-item::before {
  position: absolute;
  top: 0;
  right: 0;
  left: 0;
  height: 3px;
  background: #d6dbe1;
  content: "";
}

.signal-item.is-clear::before {
  background: #417a5b;
}

.signal-item.is-warning::before {
  background: var(--accent);
}

.signal-item:hover {
  background: #fafbfc;
}

.signal-item span,
.signal-item strong,
.signal-item small {
  display: block;
  min-width: 0;
}

.signal-item span {
  color: var(--muted);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.signal-item strong {
  color: var(--ink);
  font-size: 17px;
  font-weight: 700;
  line-height: 1.15;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.signal-item small {
  color: var(--muted);
  font-size: 12px;
  line-height: 1.35;
}

.dashboard-grid,
.dashboard-operations-grid {
  display: grid;
  gap: 18px;
  align-items: start;
}

.dashboard-grid {
  grid-template-columns: minmax(0, 1fr) minmax(330px, 0.38fr);
  margin-bottom: 18px;
}

.dashboard-operations-grid {
  grid-template-columns: minmax(330px, 0.46fr) minmax(0, 1fr);
}

.dashboard-panel {
  position: relative;
  border: 1px solid var(--line-soft);
  border-radius: var(--radius);
  padding: 20px;
  background: #ffffff;
  box-shadow: var(--shadow-low);
}

.compact-module-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  margin-bottom: 0;
}

.compact-module-grid .module-card {
  min-height: 168px;
}

.activity-list {
  position: relative;
  display: grid;
  gap: 0;
  padding: 16px 18px 4px;
}

.activity-item {
  position: relative;
  display: grid;
  grid-template-columns: 14px minmax(0, 1fr);
  gap: 12px;
  padding: 0 0 18px;
}

.activity-item:not(:last-child)::after {
  position: absolute;
  top: 16px;
  bottom: 1px;
  left: 5px;
  width: 1px;
  background: var(--line-soft);
  content: "";
}

.activity-marker {
  z-index: 1;
  width: 11px;
  aspect-ratio: 1 / 1;
  margin-top: 4px;
  border: 2px solid #ffffff;
  border-radius: 50%;
  background: #9aa5b1;
  box-shadow: 0 0 0 1px var(--line);
}

.activity-copy,
.activity-line,
.activity-copy p {
  display: block;
}

.activity-line {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
  min-width: 0;
}

.activity-line strong {
  color: var(--ink);
  font-size: 13px;
  font-weight: 700;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.activity-copy p {
  margin: 3px 0 0;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.3;
}

.activity-line small {
  flex: 0 0 auto;
  color: rgb(102 114 127 / 78%);
  font-size: 11px;
}

.attention-list,
.quick-action-grid,
.module-grid {
  display: grid;
  gap: 12px;
}

.attention-item,
.module-card,
.quick-action-grid a,
.module-tabs a {
  color: var(--ink);
  text-decoration: none;
}

.attention-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 13px 14px;
  background: var(--band);
}

.attention-item strong,
.attention-item small,
.attention-item em {
  display: block;
}

.attention-item small {
  margin-top: 3px;
  color: var(--muted);
  font-size: 13px;
}

.attention-item em {
  color: var(--muted);
  font-size: 11px;
  font-style: normal;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.quick-action-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.quick-action-grid a {
  display: grid;
  place-items: center;
  min-height: 78px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 12px;
  background: linear-gradient(180deg, #ffffff 0%, var(--band) 100%);
  color: var(--slate);
  font-weight: 900;
  text-align: center;
  box-shadow: var(--shadow-low);
}

.module-grid {
  grid-template-columns: repeat(5, minmax(0, 1fr));
  margin-bottom: 24px;
}

.module-card {
  position: relative;
  min-height: 210px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 18px;
  background: #ffffff;
  box-shadow: var(--shadow-low);
}

.module-card::before {
  position: absolute;
  top: -1px;
  bottom: -1px;
  left: -1px;
  width: 3px;
  border-radius: var(--radius) 0 0 var(--radius);
  background: var(--accent);
  content: "";
}

.module-card strong {
  display: block;
  margin-top: 8px;
  color: var(--ink);
  font-size: 18px;
  font-weight: 900;
}

.module-card p {
  margin: 10px 0 18px;
  font-size: 13px;
}

.module-card-footer {
  position: absolute;
  right: 18px;
  bottom: 16px;
  left: 18px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.module-card-footer em {
  color: var(--slate);
  font-style: normal;
}

.module-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 0;
  margin-bottom: 18px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #ffffff;
  box-shadow: 0 1px 2px rgb(31 43 55 / 5%);
}

.module-tabs a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  min-height: 44px;
  border: 0;
  border-right: 1px solid var(--line-soft);
  border-radius: 0;
  padding: 10px 14px;
  background: transparent;
  box-shadow: none;
}

.module-tabs a:last-child {
  border-right: 0;
}

.module-tabs a.active {
  background: #f4f7fa;
  color: var(--ink);
  box-shadow: inset 0 -3px 0 var(--slate);
}

.module-tabs span,
.module-tabs strong {
  font-weight: 900;
}

.module-tabs strong {
  color: inherit;
  min-width: 26px;
  border-radius: 999px;
  padding: 2px 7px;
  background: var(--band-strong);
  color: var(--muted);
  font-size: 12px;
  text-align: center;
}

.module-section-nav {
  position: sticky;
  top: 0;
  z-index: 38;
  display: grid;
  grid-template-columns: minmax(160px, auto) minmax(0, 1fr);
  align-items: stretch;
  gap: 0;
  margin-bottom: 18px;
  border: 1px solid rgba(37, 49, 61, 0.12);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.96);
  box-shadow: 0 12px 28px rgba(31, 43, 55, 0.08);
  backdrop-filter: blur(10px);
}

.module-section-nav > div:first-child {
  display: grid;
  align-content: center;
  gap: 2px;
  min-height: 52px;
  border-right: 1px solid var(--line-soft);
  padding: 10px 16px;
  background: linear-gradient(90deg, rgba(255, 230, 0, 0.15), rgba(255, 255, 255, 0));
}

.module-section-nav > div:first-child strong {
  color: var(--ink);
  font-size: 14px;
  line-height: 1.2;
}

.module-section-links {
  display: flex;
  min-width: 0;
  align-items: center;
  gap: 8px;
  overflow-x: auto;
  padding: 9px 10px;
  scrollbar-width: thin;
}

.module-section-links a {
  display: inline-flex;
  min-height: 36px;
  align-items: center;
  justify-content: center;
  white-space: nowrap;
  border: 1px solid rgba(37, 49, 61, 0.12);
  border-radius: 999px;
  padding: 8px 13px;
  background: #ffffff;
  color: var(--slate);
  font-size: 13px;
  font-weight: 900;
  text-decoration: none;
  transition:
    border-color 140ms ease,
    box-shadow 140ms ease,
    transform 140ms ease,
    background 140ms ease;
}

.module-section-links a:hover,
.module-section-links a:focus-visible {
  transform: translateY(-1px);
  border-color: rgba(37, 49, 61, 0.24);
  background: #f8fafb;
  box-shadow: 0 8px 18px rgba(31, 43, 55, 0.10);
  outline: 0;
}

.module-anchor-section {
  scroll-margin-top: 96px;
}

@media (max-width: 760px) {
  .module-section-nav {
    grid-template-columns: 1fr;
    top: 0;
  }

  .module-section-nav > div:first-child {
    min-height: 0;
    border-right: 0;
    border-bottom: 1px solid var(--line-soft);
    padding: 8px 12px;
  }

  .module-section-links {
    padding: 8px;
  }

  .module-section-links a {
    min-height: 34px;
    padding: 7px 11px;
    font-size: 12px;
  }

  .module-anchor-section {
    scroll-margin-top: 118px;
  }
}

.module-layout {
  display: grid;
  grid-template-columns: minmax(300px, 0.78fr) minmax(0, 1.22fr);
  gap: 18px;
}

.module-layout .panel {
  box-shadow: 0 1px 2px rgb(31 43 55 / 5%);
}

.module-layout .panel::before {
  display: none;
}

.module-layout .full-span {
  grid-column: 1 / -1;
}

.module-form-panel,
.module-record-panel {
  min-height: 100%;
}

.empty-state {
  display: grid;
  place-items: center;
  min-height: 190px;
  border: 1px dashed var(--line);
  border-radius: var(--radius);
  padding: 18px;
  background: var(--band);
  text-align: center;
}

.workbench-panel .empty-state {
  min-height: 132px;
  border: 0;
  border-radius: 0;
  background: #ffffff;
}

.empty-state strong,
.empty-state span {
  display: block;
}

.empty-state strong {
  color: var(--ink);
  font-weight: 700;
}

.empty-state span {
  margin-top: 5px;
  color: var(--muted);
}

.compact-empty {
  min-height: 120px;
}

details summary {
  color: var(--slate);
  cursor: pointer;
  font-weight: 700;
}

details code {
  display: block;
  margin-top: 7px;
  color: var(--muted);
  font-size: 12px;
  word-break: break-all;
}

.credential-block,
.compact-facts div {
  border: 1px solid var(--line-soft);
  border-radius: var(--radius);
  padding: 10px 12px;
  background: var(--band);
}

.credential-block {
  display: grid;
  gap: 4px;
  margin-bottom: 10px;
}

.credential-block span,
.compact-facts dt {
  color: var(--muted);
  font-size: 10px;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.credential-block code {
  overflow-wrap: anywhere;
  font-size: 13px;
  font-weight: 700;
}

.security-summary,
.security-actions {
  margin-bottom: 14px;
}

.people-welcome-actions {
  align-items: stretch;
}

.people-welcome-actions form,
.security-actions form {
  display: flex;
}

.people-welcome-actions button,
.security-actions button {
  height: 100%;
}

.security-summary {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.compact-facts {
  display: grid;
  gap: 8px;
  margin: 0 0 14px;
}

.compact-facts dd {
  margin: 3px 0 0;
  overflow-wrap: anywhere;
  font-weight: 700;
}

.welcome-link-panel {
  display: grid;
  gap: 18px;
  max-width: 980px;
}

.welcome-link-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 18px;
}

.welcome-link-header h2 {
  margin: 4px 0 6px;
}

.welcome-link-header p {
  max-width: 620px;
  color: var(--muted);
}

.welcome-link-copy-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 12px;
  align-items: end;
}

.copyable-link-field {
  display: grid;
  gap: 7px;
  color: var(--muted);
  font-size: 10px;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.copyable-link-field input {
  width: 100%;
  font-size: 14px;
  text-transform: none;
  letter-spacing: 0;
}

.copy-button {
  min-height: 48px;
  white-space: nowrap;
}

.copy-button.is-copied {
  background: #35614f;
  border-color: #35614f;
  color: #ffffff;
}

.welcome-message-draft {
  margin-bottom: 0;
}

.welcome-message-draft p {
  margin: 0;
  color: var(--slate);
}

.welcome-link-warning {
  min-height: auto;
  justify-items: start;
  text-align: left;
}

.welcome-link-inline {
  display: grid;
  grid-template-columns: minmax(180px, 1fr) minmax(260px, 2fr) auto;
  gap: 10px;
  align-items: end;
  margin-top: 12px;
  padding: 12px;
  border: 1px solid rgba(53, 97, 79, 0.22);
  border-radius: var(--radius);
  background: #f3f8f5;
  box-shadow: var(--shadow-soft);
}

.welcome-link-inline:not(.has-link) {
  grid-template-columns: minmax(0, 1fr);
  align-items: center;
}

.welcome-link-inline.has-reauth {
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
}

.welcome-link-inline.is-error {
  border-color: rgba(157, 57, 45, 0.24);
  background: #fff7f5;
}

.welcome-link-inline.is-error strong {
  color: #8f3329;
}

.welcome-link-inline.is-success {
  border-color: rgba(53, 97, 79, 0.22);
  background: #f3f8f5;
}

.welcome-link-inline.is-pending {
  border-color: rgba(57, 87, 116, 0.22);
  background: #f5f8fb;
}

.welcome-link-inline.is-pending strong {
  color: #33495d;
}

.welcome-link-inline[hidden] {
  display: none;
}

.welcome-link-inline strong,
.welcome-link-inline span {
  display: block;
}

.welcome-link-inline strong {
  color: #244a3b;
}

.welcome-link-inline > div > span {
  margin-top: 3px;
  color: var(--muted);
  font-size: 12px;
}

.welcome-link-inline label {
  display: grid;
  gap: 5px;
  color: var(--muted);
  font-size: 10px;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.welcome-link-inline input {
  min-width: 0;
  width: 100%;
  background: #ffffff;
  font-size: 13px;
  letter-spacing: 0;
  text-transform: none;
}

.toast-region {
  position: fixed;
  right: 22px;
  bottom: 22px;
  z-index: 1200;
  display: grid;
  gap: 10px;
  width: min(420px, calc(100vw - 32px));
  pointer-events: none;
}

.toast-region[data-toast-region="assertive"] {
  bottom: 94px;
}

.app-toast {
  transform: translateY(8px);
  opacity: 0;
  padding: 13px 15px;
  border: 1px solid rgba(32, 46, 60, 0.14);
  border-radius: 12px;
  background: #ffffff;
  color: var(--ink);
  box-shadow: 0 18px 44px rgba(20, 33, 45, 0.18);
  font-size: 14px;
  font-weight: 800;
  line-height: 1.35;
  transition:
    opacity 180ms ease,
    transform 180ms ease;
}

.app-toast.is-visible {
  transform: translateY(0);
  opacity: 1;
}

.app-toast.is-success {
  border-color: rgba(53, 97, 79, 0.26);
  background: #f3f8f5;
  color: #244a3b;
}

.app-toast.is-warning {
  border-color: rgba(176, 112, 35, 0.28);
  background: #fff8e9;
  color: #7a4b0e;
}

.app-toast.is-error {
  border-color: rgba(157, 57, 45, 0.24);
  background: #fff7f5;
  color: #8f3329;
}

.app-breadcrumbs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
  width: min(var(--content-wide), calc(100% - 40px));
  margin: 18px auto -6px;
  color: var(--muted);
  font-size: 13px;
  font-weight: 800;
}

.app-breadcrumbs a {
  color: var(--slate);
  text-decoration: none;
}

.app-breadcrumbs a:hover,
.app-breadcrumbs a:focus-visible {
  color: var(--ink);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.app-breadcrumbs span::before {
  margin-right: 8px;
  color: var(--muted-2);
  content: "/";
}

.inline-breadcrumbs {
  width: 100%;
  margin: 0 0 14px;
}

.page-is-navigating .app-main {
  cursor: progress;
}

.page-is-navigating .side-nav a,
.page-is-navigating .topbar-command-nav a,
.page-is-navigating .module-section-nav a {
  cursor: progress;
}

.is-navigating {
  opacity: 0.86;
}

@media (max-width: 720px) {
  .welcome-link-header,
  .welcome-link-copy-grid,
  .welcome-link-inline {
    grid-template-columns: 1fr;
  }

  .toast-region {
    right: 16px;
    bottom: 16px;
  }

  .toast-region[data-toast-region="assertive"] {
    bottom: 88px;
  }

  .welcome-link-header {
    display: grid;
  }

  .copy-button {
    width: 100%;
  }
}

.preflight-list {
  display: grid;
  gap: 10px;
  margin-top: 14px;
}

.preflight-check {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--band);
}

.preflight-check strong,
.preflight-check span {
  display: block;
}

.preflight-check div > span {
  margin-top: 3px;
  color: var(--muted);
}

.preflight-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 12px;
}

.preflight-actions span {
  padding: 6px 9px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--accent-soft);
  color: var(--accent-dark);
  font-size: 13px;
  font-weight: 700;
}

.stack {
  display: grid;
  gap: 14px;
}

.compact-form {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  margin-top: 16px;
  padding-top: 16px;
  border-top: 1px solid var(--line);
}

.compact-form button {
  align-self: end;
}

.inline-form-grid {
  display: grid;
  grid-template-columns: minmax(240px, 1fr) minmax(180px, 0.5fr);
  gap: 12px;
}

label {
  display: grid;
  gap: 6px;
  color: var(--muted);
  font-size: 10px;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.checkbox-row {
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--ink);
  font-size: 13px;
  letter-spacing: 0;
  text-transform: none;
}

.checkbox-row input {
  width: 16px;
  height: 16px;
}

.selection-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 8px;
  max-height: 300px;
  overflow: auto;
  padding: 2px;
}

.compact-selection-list {
  grid-template-columns: 1fr;
  max-height: 260px;
}

.selection-toolbar {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
}

.selection-toolbar button {
  min-height: 32px;
  padding: 6px 10px;
}

.selection-toolbar span {
  color: var(--muted);
  font-size: 12px;
  font-weight: 800;
}

.selection-row {
  min-height: 58px;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  align-items: center;
  gap: 10px;
  padding: 10px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #ffffff;
  color: var(--ink);
  font-size: 13px;
  letter-spacing: 0;
  text-transform: none;
}

.selection-row input {
  width: 16px;
  height: 16px;
}

.selection-row strong,
.selection-row small {
  display: block;
  min-width: 0;
}

.selection-row small {
  margin-top: 3px;
  color: var(--muted);
  line-height: 1.35;
  overflow-wrap: anywhere;
}

.form-note {
  color: var(--muted);
  font-size: 12px;
  line-height: 1.45;
}

.session-option-form {
  grid-template-columns: minmax(260px, 1fr) auto;
  align-items: center;
}

input,
select,
textarea {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #ffffff;
  color: var(--ink);
  font: 300 14px/1.4 var(--font-sans);
  letter-spacing: 0;
  text-transform: none;
}

input,
select {
  min-height: 40px;
  padding: 8px 10px;
}

textarea {
  min-height: 120px;
  padding: 9px 10px;
  resize: vertical;
}

input[type="file"] {
  padding: 7px;
}

button,
.link-button {
  border-radius: var(--radius);
  font: inherit;
  font-weight: 700;
}

button {
  width: fit-content;
  min-height: 40px;
  border: 1px solid #e3cc00;
  padding: 8px 14px;
  background: var(--accent);
  color: var(--slate-dark);
  cursor: pointer;
  box-shadow: none;
}

button:disabled {
  cursor: default;
  opacity: 0.72;
}

.btn-secondary {
  border: 1px solid var(--line);
  background: #ffffff;
  color: var(--ink);
  box-shadow: var(--shadow-low);
}

.btn-current {
  border-color: var(--slate);
  background: var(--slate);
  color: #ffffff;
}

.link-button {
  display: inline-flex;
  align-items: center;
  min-height: 36px;
  border: 1px solid var(--line);
  padding: 7px 10px;
  background: #ffffff;
  color: var(--slate);
  font-size: 13px;
  text-decoration: none;
  box-shadow: none;
}

.link-button:hover,
button:hover:not(:disabled) {
  border-color: rgb(46 57 68 / 32%);
}

.platform-entry {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(360px, 460px);
  gap: 28px;
  align-items: stretch;
  width: min(1160px, 100%);
  margin: 18px auto 40px;
}

.platform-entry-copy {
  display: grid;
  align-content: center;
  min-height: 560px;
  border: 1px solid var(--line-soft);
  border-radius: 8px;
  padding: 42px;
  background:
    linear-gradient(90deg, rgb(37 49 61 / 4%) 1px, transparent 1px) 0 0 / 46px 46px,
    linear-gradient(0deg, rgb(37 49 61 / 3%) 1px, transparent 1px) 0 0 / 46px 46px,
    #ffffff;
  box-shadow: 0 1px 0 rgb(255 255 255 / 86%) inset, 0 20px 50px rgb(31 43 55 / 8%);
}

.platform-entry-copy h1 {
  max-width: 760px;
  margin-bottom: 16px;
  font-size: clamp(34px, 5vw, 56px);
  font-weight: 700;
  letter-spacing: 0;
  line-height: 0.98;
}

.platform-entry-copy p {
  max-width: 640px;
  margin-bottom: 28px;
  color: #596674;
  font-size: 17px;
  line-height: 1.55;
}

.entry-signal-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.entry-signal-row span {
  display: inline-flex;
  min-height: 30px;
  align-items: center;
  border: 1px solid var(--line-soft);
  border-left: 3px solid var(--accent);
  border-radius: 4px;
  padding: 5px 10px;
  background: #fbfcfd;
  color: var(--slate);
  font-size: 12px;
  font-weight: 700;
}

.platform-entry-panel {
  display: grid;
  align-content: start;
  gap: 14px;
}

.entry-card {
  display: grid;
  gap: 16px;
  border: 1px solid var(--line-soft);
  border-radius: 8px;
  padding: 22px;
  background: #ffffff;
  box-shadow: 0 1px 0 rgb(255 255 255 / 86%) inset, 0 12px 30px rgb(31 43 55 / 7%);
}

.primary-entry-card {
  border-top: 3px solid var(--accent);
}

.entry-card-heading h2 {
  margin-bottom: 0;
  font-size: 21px;
  font-weight: 700;
}

.entry-form {
  gap: 13px;
}

.entry-form button {
  width: 100%;
  justify-content: center;
}

.entry-continue-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 38px;
  border: 1px solid #25313d;
  border-radius: 4px;
  padding: 8px 12px;
  background: #25313d;
  color: #ffffff;
  text-decoration: none;
}

.legend {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  justify-content: flex-start;
  flex-wrap: wrap;
  color: var(--muted);
  font-size: 13px;
}

.dot {
  display: inline-block;
  width: 10px;
  aspect-ratio: 1 / 1;
  border-radius: 999px;
}

.participant-dot {
  background: var(--accent);
}

.centroid-dot {
  border: 2px solid var(--slate);
  background: #ffffff;
}

.cluster-dot {
  border: 1px solid rgb(46 57 68 / 28%);
  background: rgb(255 230 0 / 28%);
}

.ratified-dot {
  background: var(--good);
}

.matrix-control-strip {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 12px;
  align-items: end;
  min-width: 0;
  margin-bottom: 14px;
  padding: 12px;
  border: 1px solid var(--line-soft);
  border-radius: var(--radius);
  background: linear-gradient(180deg, #ffffff 0%, #f9fafb 100%);
}

.matrix-control-strip > label {
  flex: 1 1 300px;
  min-width: min(100%, 240px);
}

.segmented-control {
  display: inline-flex;
  flex-wrap: wrap;
  gap: 6px;
  align-items: center;
  min-width: 0;
}

.segmented-control button {
  min-height: 36px;
  padding: 7px 11px;
}

.label-mode-control {
  align-items: center;
}

.control-label {
  color: var(--muted);
  font-size: 10px;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.matrix-filter-status {
  flex: 1 1 260px;
  min-width: min(100%, 220px);
  margin: 0;
  color: var(--muted);
  font-size: 13px;
  overflow-wrap: anywhere;
}

.segment-filter-panel {
  display: grid;
  grid-template-columns: minmax(220px, 0.7fr) minmax(0, 1fr) auto;
  gap: 14px;
  align-items: end;
  margin: 0 0 14px;
  border: 1px solid var(--line-soft);
  border-radius: var(--radius);
  padding: 12px;
  background: #ffffff;
  box-shadow: var(--shadow-low);
}

.segment-filter-panel p {
  margin: 3px 0 0;
  color: var(--muted);
  font-size: 12.5px;
}

.segment-filter-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(120px, 1fr));
  gap: 10px;
}

.segment-filter-grid label {
  display: grid;
  gap: 5px;
  color: var(--muted);
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.07em;
  text-transform: uppercase;
}

.segment-filter-grid select {
  min-height: 36px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 7px 9px;
  background: #ffffff;
  color: var(--ink);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0;
  text-transform: none;
}

.segment-filter-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
  justify-content: flex-end;
}

.facilitator-matrix {
  position: relative;
  min-height: 470px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  background:
    linear-gradient(90deg, rgb(46 57 68 / 5%) 1px, transparent 1px) 0 0 / 42px 42px,
    linear-gradient(0deg, rgb(46 57 68 / 4%) 1px, transparent 1px) 0 0 / 42px 42px,
    radial-gradient(circle at 26% 18%, rgb(255 255 255 / 72%), transparent 30%),
    linear-gradient(180deg, #ffffff 0%, #f8fafb 100%);
  box-shadow: var(--shadow-inset), 0 1px 0 rgb(255 255 255 / 92%);
}

.facilitator-matrix::before,
.facilitator-matrix::after {
  position: absolute;
  z-index: 1;
  color: rgb(102 114 127 / 82%);
  font-size: 10px;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.facilitator-matrix::before {
  content: "Lower";
  left: 12px;
  bottom: 10px;
}

.facilitator-matrix::after {
  content: "Higher";
  right: 12px;
  top: 10px;
}

.matrix-axis-y,
.matrix-axis-x {
  position: absolute;
  z-index: 2;
  color: var(--slate);
  font-size: 10px;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.matrix-axis-y {
  top: 50%;
  left: 14px;
  transform: translateY(-50%) rotate(-90deg);
  transform-origin: left center;
}

.matrix-axis-x {
  left: 50%;
  bottom: 12px;
  width: min(520px, calc(100% - 88px));
  text-align: center;
  transform: translateX(-50%);
}

.matrix-line {
  position: absolute;
  z-index: 1;
  background: rgb(46 57 68 / 14%);
}

.matrix-line.vertical {
  top: 0;
  bottom: 0;
  left: 50%;
  width: 1px;
}

.matrix-line.horizontal {
  right: 0;
  left: 0;
  top: 50%;
  height: 1px;
}

.decision-spread-halo,
.cluster-halo {
  position: absolute;
  z-index: 2;
  display: none;
  place-items: center;
  border: 1px solid rgb(46 57 68 / 22%);
  border-radius: 999px;
  color: rgb(46 57 68 / 72%);
  font-size: 10px;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  transform: translate(-50%, -50%);
  pointer-events: none;
}

.decision-spread-halo {
  width: min(86%, max(48px, var(--spread-diameter)));
  height: min(86%, max(48px, var(--spread-diameter)));
  border-style: dashed;
  background:
    radial-gradient(circle, rgb(46 57 68 / 0%) 0%, rgb(46 57 68 / 0%) 58%, rgb(46 57 68 / 7%) 59%, rgb(46 57 68 / 2%) 76%, transparent 77%);
}

.cluster-halo {
  width: max(42px, var(--cluster-diameter));
  height: max(42px, var(--cluster-diameter));
  background: radial-gradient(circle, rgb(255 230 0 / 16%) 0%, rgb(255 230 0 / 8%) 55%, rgb(255 230 0 / 0%) 74%);
}

.decision-spread-halo span,
.cluster-halo span {
  padding: 2px 5px;
  border: 1px solid rgb(46 57 68 / 12%);
  border-radius: 999px;
  background: rgb(255 255 255 / 70%);
}

.cluster-tight {
  border-color: rgb(95 127 106 / 34%);
  background: radial-gradient(circle, rgb(95 127 106 / 15%) 0%, rgb(95 127 106 / 7%) 56%, transparent 75%);
}

.cluster-wide {
  border-color: rgb(162 78 69 / 34%);
  background: radial-gradient(circle, rgb(162 78 69 / 13%) 0%, rgb(162 78 69 / 7%) 56%, transparent 75%);
}

.matrix-marker {
  position: absolute;
  z-index: 3;
  display: inline-grid;
  place-items: center;
  width: 28px;
  aspect-ratio: 1 / 1;
  border: 1px solid rgb(46 57 68 / 16%);
  border-radius: 999px;
  box-shadow: 0 1px 0 rgb(255 255 255 / 64%) inset, 0 1px 2px rgb(31 43 55 / 12%), 0 10px 18px rgb(31 43 55 / 12%);
  color: var(--slate-dark);
  font-size: 11px;
  font-weight: 900;
  line-height: 1;
  white-space: nowrap;
  transform: translate(-50%, -50%);
}

.matrix-marker-number {
  display: inline-grid;
  place-items: center;
  min-width: 0;
}

.matrix-marker-title {
  position: absolute;
  left: 50%;
  top: calc(100% + 7px);
  display: none;
  width: max-content;
  max-width: min(220px, 34vw);
  border: 1px solid rgb(46 57 68 / 14%);
  border-radius: 999px;
  padding: 5px 8px;
  background: rgb(255 255 255 / 94%);
  color: var(--slate-dark);
  font-size: 11px;
  font-weight: 750;
  line-height: 1.2;
  overflow: hidden;
  text-overflow: ellipsis;
  transform: translateX(-50%);
  white-space: nowrap;
  box-shadow: 0 8px 18px rgb(31 43 55 / 12%);
}

.matrix-panel[data-label-mode="title"] .matrix-marker-title {
  display: block;
}

.matrix-panel[data-label-mode="off"] .matrix-marker-number,
.matrix-panel[data-label-mode="off"] .matrix-marker-title {
  display: none;
}

.matrix-panel[data-label-mode="title"] .matrix-marker {
  z-index: 8;
}

.participant-marker {
  background: var(--accent);
}

.centroid-marker {
  z-index: 5;
  width: 34px;
  border: 2px solid var(--slate);
  background: #ffffff;
  color: var(--slate);
  box-shadow: 0 0 0 5px rgb(255 255 255 / 72%), 0 10px 22px rgb(31 43 55 / 18%);
}

.centroid-wide {
  border-color: var(--danger);
}

.centroid-tight {
  border-color: var(--good);
}

.centroid-marker.risk-disputed {
  border-color: var(--danger);
  box-shadow:
    0 0 0 5px rgb(255 255 255 / 72%),
    0 0 0 8px rgb(162 78 69 / 20%),
    0 10px 22px rgb(31 43 55 / 18%);
}

.centroid-marker.risk-watch {
  border-color: #d6ae57;
}

.ratified-marker {
  z-index: 6;
  background: var(--good);
  color: #ffffff;
}

.matrix-panel[data-matrix-mode="centroids"] .participant-marker,
.matrix-panel[data-matrix-mode="centroids"] .decision-spread-halo,
.matrix-panel[data-matrix-mode="centroids"] .cluster-halo,
.matrix-panel[data-matrix-mode="centroids"] .ratified-marker {
  display: none;
}

.matrix-panel[data-matrix-mode="spread"] .participant-marker {
  opacity: 0.26;
}

.matrix-panel[data-matrix-mode="spread"] .cluster-halo {
  display: grid;
  z-index: 4;
  border-width: 2px;
}

.matrix-panel[data-matrix-mode="spread"] .decision-spread-halo {
  display: grid;
}

.matrix-panel[data-matrix-mode="spread"] .ratified-marker {
  display: none;
}

.matrix-panel .is-filtered-out {
  display: none;
}

.guest-link-panel {
  display: grid;
  gap: 4px;
  border: 1px solid var(--line-soft);
  border-radius: var(--radius);
  padding: 10px;
  background: var(--band);
}

.guest-link-panel a {
  overflow-wrap: anywhere;
  color: var(--ink);
  font-weight: 700;
}

.guest-link-panel small {
  color: var(--muted);
}

.consensus-ranking-panel table td:nth-child(3) {
  min-width: 180px;
}

.consensus-ranking-panel table td:nth-child(4) {
  min-width: 170px;
}

.consensus-score-cell {
  display: grid;
  gap: 4px;
}

.consensus-score-cell strong {
  color: var(--ink);
  font-size: 17px;
  font-weight: 700;
}

.consensus-score-cell small {
  color: var(--muted);
  font-size: 11px;
}

.consensus-bar {
  display: block;
  width: 100%;
  height: 7px;
  overflow: hidden;
  border-radius: 999px;
  background: var(--band-strong);
}

.consensus-bar::before {
  display: block;
  width: var(--consensus-score);
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, var(--good), var(--accent));
  content: "";
}

.quadrant-badge {
  display: inline-flex;
  align-items: center;
  width: fit-content;
  border: 1px solid #d9e1e8;
  border-radius: 999px;
  padding: 4px 9px;
  background: #ffffff;
  color: var(--ink);
  font-size: 11px;
  font-weight: 900;
  line-height: 1;
  white-space: nowrap;
}

.quadrant-badge::before {
  display: inline-block;
  width: 7px;
  aspect-ratio: 1 / 1;
  margin-right: 6px;
  border-radius: 999px;
  background: var(--muted);
  content: "";
}

.quadrant-upper_right {
  border-color: rgb(39 94 63 / 28%);
  background: rgb(39 94 63 / 7%);
}

.quadrant-upper_right::before {
  background: var(--good);
}

.quadrant-upper_left {
  border-color: rgb(166 106 31 / 30%);
  background: rgb(255 230 0 / 13%);
}

.quadrant-upper_left::before {
  background: #a66a1f;
}

.quadrant-lower_right {
  border-color: rgb(42 92 137 / 28%);
  background: rgb(42 92 137 / 8%);
}

.quadrant-lower_right::before {
  background: #2a5c89;
}

.quadrant-lower_left,
.quadrant-unplaced {
  border-color: rgb(111 124 136 / 26%);
  background: rgb(111 124 136 / 8%);
}

.quadrant-lower_left::before,
.quadrant-unplaced::before {
  background: var(--muted);
}

.quadrant-posture {
  display: block;
  margin-top: 5px;
  color: var(--muted);
  font-size: 11px;
  line-height: 1.35;
}

body.debrief-focus-mode .facilitator-hero,
body.debrief-focus-mode .lifecycle-panel,
body.debrief-focus-mode .next-action-strip,
body.debrief-focus-mode .executive-metrics,
body.debrief-focus-mode .launch-checklist-panel,
body.debrief-focus-mode .participant-lifecycle-panel,
body.debrief-focus-mode .command-grid,
body.debrief-focus-mode .readiness-panel,
body.debrief-focus-mode #participant-roster,
body.debrief-focus-mode .cluster-commentary-panel,
body.debrief-focus-mode #ratification-workbench,
body.debrief-focus-mode .table-panel:not(.consensus-ranking-panel) {
  display: none;
}

body.debrief-focus-mode .facilitator-workspace-layout {
  grid-template-columns: minmax(276px, 310px) minmax(0, 1fr);
  width: 100%;
  margin-right: auto;
  margin-left: auto;
}

body.debrief-focus-mode .facilitator-side-panel {
  top: 8px;
  max-height: calc(100vh - 16px);
}

body.debrief-focus-mode .matrix-panel,
body.debrief-focus-mode .decision-intelligence-panel,
body.debrief-focus-mode .consensus-ranking-panel {
  width: 100%;
  margin-right: auto;
  margin-left: auto;
}

body.debrief-focus-mode .facilitator-matrix {
  min-height: min(82vh, 920px);
}

body.debrief-focus-mode #debriefFocusToggle {
  border-color: rgb(46 57 68 / 24%);
  background: var(--slate);
  color: #ffffff;
}

.spread-label {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 68px;
  min-height: 24px;
  margin-right: 7px;
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 2px 8px;
  background: var(--band);
  color: var(--muted);
  font-size: 10px;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.spread-tight {
  border-color: rgb(95 127 106 / 40%);
  background: var(--good-soft);
  color: var(--good);
}

.spread-moderate {
  border-color: rgb(166 106 31 / 38%);
  background: var(--warn-soft);
  color: var(--warn);
}

.spread-wide {
  border-color: rgb(162 78 69 / 38%);
  background: var(--danger-soft);
  color: var(--danger);
}

.pattern-aligned,
.pattern-directional {
  border-color: rgb(95 127 106 / 40%);
  background: var(--good-soft);
  color: var(--good);
}

.pattern-polarized {
  border-color: rgb(162 78 69 / 38%);
  background: var(--danger-soft);
  color: var(--danger);
}

.pattern-diffuse,
.pattern-under_sampled,
.pattern-unplaced {
  border-color: rgb(166 106 31 / 38%);
  background: var(--warn-soft);
  color: var(--warn);
}

.spread-metrics {
  color: var(--muted);
  font-size: 12px;
  white-space: nowrap;
}

.inline-form {
  display: grid;
  grid-template-columns: 76px 76px minmax(140px, 1fr) auto;
  gap: 8px;
  align-items: center;
  min-width: 380px;
}

.inline-form input,
.inline-form button {
  min-height: 36px;
}

/* Type calibration: keep the enterprise console crisp without the heavy poster feel. */
.app-shell-body h1,
.app-shell-body h2,
.app-shell-body h3,
.app-shell-body .brand-title,
.app-shell-body .module-card strong,
.app-shell-body .metric strong,
.app-shell-body td strong,
.app-shell-body .activity-item strong,
.app-shell-body .attention-item strong,
.app-shell-body .preflight-check strong,
.app-shell-body .side-user strong {
  font-weight: 700;
}

.app-shell-body .side-nav a,
.app-shell-body .panel-kicker,
.app-shell-body .eyebrow,
.app-shell-body th,
.app-shell-body .metric span,
.app-shell-body .status-pill,
.app-shell-body .module-card-footer,
.app-shell-body button,
.app-shell-body .link-button,
.app-shell-body .record-link {
  font-weight: 650;
}

.app-shell-body .nav-symbol,
.app-shell-body .avatar,
.app-shell-body .brand-mark {
  font-weight: 700;
}

/* Interface refinement layer: quieter hierarchy, fewer default accents. */
body {
  background:
    linear-gradient(180deg, #fbfcfd 0%, #f4f6f8 54%, #f7f8fa 100%);
  font-weight: 400;
}

body.app-shell-body {
  background: #f5f6f8;
}

.brand-mark {
  position: relative;
  overflow: hidden;
  border-color: rgb(17 24 31 / 18%);
  background: #111820;
  color: transparent;
  box-shadow: 0 1px 0 rgb(255 255 255 / 18%) inset;
}

.brand-mark::before,
.brand-mark::after {
  position: absolute;
  content: "";
}

.brand-mark::before {
  right: 8px;
  left: 8px;
  top: 13px;
  height: 3px;
  border-radius: 999px;
  background: var(--accent);
  transform: rotate(-13deg);
  transform-origin: center;
}

.brand-mark::after {
  right: 9px;
  bottom: 10px;
  left: 14px;
  height: 1px;
  background: rgb(255 255 255 / 42%);
}

.sidebar,
.topbar.app-topbar,
.app-shell-body .hero-row,
.workbench-title-row {
  background: #fbfcfd;
}

.sidebar {
  border-right-color: #dde2e7;
  box-shadow: 1px 0 0 rgb(255 255 255 / 86%);
}

.side-nav a,
.offering-nav a,
.workspace-tabs a {
  transition: background 140ms ease, border-color 140ms ease, color 140ms ease;
}

.side-nav a:hover,
.side-nav a.active,
.offering-nav a:hover,
.offering-nav a.active {
  background: #eef3f7;
}

.side-nav a.active {
  box-shadow: inset 3px 0 0 #d9c400, 0 1px 0 rgb(255 255 255 / 82%) inset;
}

.app-shell-body .hero-row,
.workbench-title-row {
  border-bottom-color: #dde3e8;
}

.workbench-title-row h1,
.app-shell-body .hero-row h1 {
  letter-spacing: -0.01em;
}

.panel,
.metric,
.workbench-panel,
.dashboard-action-card,
.signal-strip,
.module-card,
.module-tabs,
.dashboard-metrics {
  border-color: #dde3e8;
  box-shadow: 0 1px 2px rgb(31 43 55 / 5%);
}

.app-shell-body .panel::before,
.app-shell-body .module-card::before {
  display: none;
}

.workbench-panel > .panel-title-row,
.module-tabs,
.dashboard-metrics,
.signal-strip {
  background: #ffffff;
}

th {
  color: #737d88;
  font-weight: 700;
  letter-spacing: 0.07em;
}

td {
  font-size: 13.5px;
}

tbody tr:hover {
  background: #f6f8fa;
}

.status-pill,
.count-pill,
.spread-label {
  font-weight: 700;
  letter-spacing: 0.055em;
}

button {
  border-color: #25313d;
  background: linear-gradient(180deg, #35414d 0%, #25313d 100%);
  color: #ffffff;
  box-shadow: 0 1px 0 rgb(255 255 255 / 12%) inset, 0 1px 2px rgb(31 43 55 / 10%);
}

.btn-secondary,
.link-button,
.panel-title-row a,
.workbench-actions .link-button,
.selection-toolbar button {
  border-color: #d7dde3;
  background: #ffffff;
  color: #25313d;
  box-shadow: 0 1px 1px rgb(31 43 55 / 5%);
}

.btn-current {
  border-color: #25313d;
  background: #25313d;
  color: #ffffff;
}

.link-button:hover,
button:hover:not(:disabled),
.panel-title-row a:hover {
  border-color: rgb(37 49 61 / 36%);
  box-shadow: 0 1px 2px rgb(31 43 55 / 8%);
}

.workspace-tabs a.active::after {
  height: 2px;
  background: #25313d;
}

.signal-item::before {
  height: 2px;
}

.signal-item.is-warning::before,
.offering-nav a.active .offering-dot {
  background: #d9c400;
}

.activity-list {
  padding-top: 14px;
}

.activity-item {
  grid-template-columns: 12px minmax(0, 1fr);
  gap: 10px;
  padding-bottom: 16px;
}

.activity-item:not(:last-child)::after {
  left: 5px;
  background: #dfe5ea;
}

.activity-marker {
  width: 10px;
  margin-top: 5px;
  border-width: 2px;
  background: #798696;
  box-shadow: 0 0 0 2px #ffffff, 0 0 0 3px #dfe5ea;
}

.activity-line {
  gap: 10px;
}

.activity-line strong {
  font-size: 13px;
  font-weight: 650;
}

.activity-line small {
  color: #818b96;
  font-variant-numeric: tabular-nums;
}

.activity-copy p {
  margin-top: 2px;
  font-size: 12.5px;
  line-height: 1.4;
}

input,
select,
textarea {
  border-color: #d7dde3;
  background: #fff;
  font-weight: 400;
}

input:focus,
select:focus,
textarea:focus {
  outline: 2px solid rgb(255 230 0 / 58%);
  outline-offset: 1px;
  border-color: #b7a700;
}

.facilitator-matrix {
  background:
    linear-gradient(90deg, rgb(46 57 68 / 4%) 1px, transparent 1px) 0 0 / 42px 42px,
    linear-gradient(0deg, rgb(46 57 68 / 3%) 1px, transparent 1px) 0 0 / 42px 42px,
    linear-gradient(180deg, #ffffff 0%, #f8fafb 100%);
}

.matrix-marker {
  font-weight: 750;
  box-shadow: 0 1px 0 rgb(255 255 255 / 56%) inset, 0 1px 2px rgb(31 43 55 / 14%), 0 8px 16px rgb(31 43 55 / 10%);
}

/* Stronger workbench pass: visibly productized without decorative noise. */
.app-shell {
  grid-template-columns: 282px minmax(0, 1fr);
  background: #f3f5f7;
}

body.app-sidebar-collapsed .app-shell {
  grid-template-columns: 78px minmax(0, 1fr);
}

body.app-sidebar-collapsed .sidebar-header {
  justify-content: center;
  padding-right: 10px;
  padding-left: 10px;
}

body.app-sidebar-collapsed .sidebar-brand {
  justify-content: center;
}

body.app-sidebar-collapsed .brand-text,
body.app-sidebar-collapsed .sidebar-search,
body.app-sidebar-collapsed .nav-label,
body.app-sidebar-collapsed .side-section,
body.app-sidebar-collapsed .side-user-copy {
  display: none;
}

body.app-sidebar-collapsed .side-nav {
  gap: 8px;
  padding: 14px 10px;
}

body.app-sidebar-collapsed .side-nav a {
  justify-content: center;
  min-height: 44px;
  padding: 8px;
}

body.app-sidebar-collapsed .side-nav a.active {
  box-shadow: inset 0 0 0 2px #d9c400;
}

body.app-sidebar-collapsed .side-user {
  justify-content: center;
  padding: 10px;
}

.sidebar-header {
  min-height: 82px;
  border-bottom-color: #1d2731;
  background: #111820;
}

.sidebar-brand,
.sidebar .brand-title {
  color: #ffffff;
}

.sidebar .brand-kicker {
  color: rgb(255 255 255 / 58%);
}

.sidebar-control {
  border-color: rgb(255 255 255 / 18%);
  background: rgb(255 255 255 / 8%);
}

.sidebar-control::before {
  border-color: rgb(255 255 255 / 68%);
}

.sidebar-control::after {
  background: rgb(255 255 255 / 58%);
}

.sidebar-search {
  background: #fbfcfd;
}

.side-nav {
  padding-top: 16px;
}

.side-nav a {
  border-radius: 6px;
  font-size: 14px;
}

.side-nav a.active {
  background: #eef2f6;
  box-shadow: inset 4px 0 0 #d9c400;
}

.app-shell .page {
  padding: 0 28px 42px;
}

.topbar.app-topbar {
  min-height: 62px;
  padding-right: 28px;
  padding-left: 28px;
}

.app-context strong {
  font-size: 13px;
}

.workbench-title-row,
.app-shell-body .hero-row {
  min-height: 92px;
  margin: 0 -28px 18px;
  padding: 20px 28px 0;
}

.workbench-title-row h1,
.app-shell-body .hero-row h1 {
  font-size: 26px;
}

.workspace-tabs {
  gap: 26px;
}

.workspace-tabs a {
  padding-bottom: 16px;
}

.workbench-actions .link-button:nth-child(2),
.button-row > button:first-child,
.panel-title-row form button {
  border-color: #25313d;
  background: linear-gradient(180deg, #35414d 0%, #25313d 100%);
  color: #ffffff;
}

.signal-strip {
  gap: 12px;
  border: 0;
  overflow: visible;
  background: transparent;
  box-shadow: none;
}

.signal-item {
  min-height: 104px;
  border: 1px solid #dde3e8;
  border-radius: 6px;
  background: #ffffff;
  box-shadow: 0 1px 2px rgb(31 43 55 / 5%);
}

.signal-item:last-child {
  border-right: 1px solid #dde3e8;
}

.signal-item strong {
  font-size: 19px;
}

.workbench-grid,
.workbench-operations-grid,
.command-grid,
.two-column {
  gap: 16px;
}

.workbench-panel,
.panel,
.metric {
  border-radius: 6px;
}

.workbench-panel > .panel-title-row {
  min-height: 64px;
  padding: 16px 18px;
}

.workbench-panel .table-scroll {
  max-height: 470px;
}

.module-table th,
.module-table td,
th,
td {
  padding-top: 11px;
  padding-bottom: 11px;
}

tbody tr {
  transition: background 120ms ease;
}

.activity-panel {
  background:
    linear-gradient(90deg, rgb(37 49 61 / 3%) 0 1px, transparent 1px) 0 0 / 44px 44px,
    #ffffff;
}

.activity-list {
  padding-right: 20px;
  padding-left: 20px;
}

.quick-create-panel {
  align-content: start;
  background:
    linear-gradient(90deg, rgb(37 49 61 / 3%) 0 1px, transparent 1px) 0 0 / 32px 32px,
    linear-gradient(180deg, #ffffff 0%, #fbfcfd 100%);
}

.quick-create-heading {
  display: grid;
  gap: 4px;
  margin: -2px 0 16px;
  border-bottom: 1px solid var(--line-soft);
  padding-bottom: 14px;
}

.quick-create-heading h2 {
  margin: 0;
}

.quick-create-heading p {
  max-width: 580px;
  margin: 0;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.4;
}

.quick-create-panel form {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.quick-create-panel label {
  min-width: 0;
  border: 1px solid var(--line-soft);
  border-radius: var(--radius);
  padding: 10px;
  background: rgb(255 255 255 / 82%);
}

.quick-create-panel label:focus-within {
  border-color: #8aa9c9;
  box-shadow: 0 0 0 2px rgb(34 111 202 / 10%);
}

.quick-create-panel input,
.quick-create-panel select,
.quick-create-panel textarea {
  border-color: transparent;
  padding-right: 8px;
  padding-left: 0;
  background-color: transparent;
  box-shadow: none;
}

.quick-create-panel select {
  padding-right: 34px;
}

.quick-create-panel input:focus,
.quick-create-panel select:focus,
.quick-create-panel textarea:focus {
  outline: 0;
  border-color: transparent;
}

.quick-create-panel .form-note,
.quick-create-panel .wide-field,
.quick-create-panel button {
  grid-column: 1 / -1;
}

.quick-create-panel .checkbox-row {
  min-height: 48px;
  align-items: center;
}

.quick-create-panel button {
  justify-self: start;
}

.directory-filter-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: end;
  border-bottom: 1px solid var(--line-soft);
  padding: 14px 16px;
  background: #fbfcfd;
}

.directory-filter-bar label {
  flex: 1 1 190px;
  min-width: 180px;
}

.directory-filter-bar label:first-child {
  flex-basis: 260px;
}

.directory-filter-bar input,
.directory-filter-bar select {
  background-color: #ffffff;
}

.directory-filter-bar button {
  flex: 0 0 auto;
  min-height: 40px;
}

.people-workspace-tabs,
.people-preset-strip {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
  margin: 0 0 14px;
}

.people-workspace-tabs a,
.preset-chip {
  display: inline-flex;
  align-items: center;
  min-height: 36px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 7px 11px;
  background: #ffffff;
  color: var(--slate);
  font-weight: 700;
  text-decoration: none;
  box-shadow: var(--shadow-low);
}

.people-workspace-tabs a.active,
.preset-chip.active {
  border-color: #c8d1d9;
  background: #eef3f7;
  box-shadow: inset 3px 0 0 var(--accent), var(--shadow-low);
}

.people-preset-strip {
  margin-top: -6px;
}

.people-filter-toolbar {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) minmax(220px, 0.8fr) auto;
  gap: 14px;
  align-items: start;
  margin: -2px 0 16px;
  border: 1px solid var(--line-soft);
  border-radius: 8px;
  padding: 14px;
  background: #ffffff;
  box-shadow: var(--shadow-low);
}

.people-filter-group {
  display: grid;
  gap: 8px;
  min-width: 0;
}

.people-filter-chip-row {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  align-items: center;
}

.people-filter-chip-row .preset-chip {
  min-height: 30px;
  border-radius: 999px;
  padding: 5px 10px;
  background: #f8fafb;
  box-shadow: none;
  font-size: 12px;
}

.people-filter-chip-row .preset-chip.active {
  border-color: #d9c400;
  background: #fffbe6;
  box-shadow: inset 0 0 0 1px rgb(255 230 0 / 42%);
}

.people-filter-chip-row .clear-chip {
  background: #ffffff;
  color: var(--muted);
}

.saved-view-group {
  border-left: 1px solid var(--line-soft);
  padding-left: 14px;
}

.secondary-workspace-link {
  align-self: end;
  min-height: 34px;
  white-space: nowrap;
}

.people-view-panel {
  display: none;
}

.people-view-panel.is-visible {
  display: block;
}

.setup-drawer-layout > .people-view-panel.is-visible {
  display: block;
}

.people-center-heading,
.session-roster-guidance {
  display: flex;
  gap: 16px;
  align-items: start;
  justify-content: space-between;
}

.people-center-heading h2,
.session-roster-guidance h2 {
  margin-bottom: 4px;
}

.people-center-heading p,
.session-roster-guidance p,
.people-directory-note {
  max-width: 760px;
  margin: 0;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.45;
}

.people-assignment-steps {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  margin: 16px 0;
}

.people-assignment-steps span {
  display: flex;
  gap: 8px;
  align-items: center;
  border: 1px solid var(--line-soft);
  border-radius: var(--radius);
  padding: 10px 12px;
  background: #f8fafb;
  color: var(--slate);
  font-size: 13px;
  font-weight: 800;
}

.people-assignment-steps strong {
  display: inline-grid;
  place-items: center;
  width: 24px;
  aspect-ratio: 1 / 1;
  border-radius: 999px;
  background: var(--accent);
  color: var(--slate-dark);
  font-size: 12px;
}

.people-rights-lanes,
.people-rights-referral-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  margin: 16px 0;
}

.people-rights-lanes {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.people-rights-lanes span,
.people-rights-referral-grid span {
  display: grid;
  gap: 4px;
  border: 1px solid var(--line-soft);
  border-left: 4px solid var(--accent);
  border-radius: 8px;
  padding: 12px;
  background:
    linear-gradient(180deg, #ffffff 0%, #f8fafb 100%);
  color: var(--muted);
  font-size: 13px;
  line-height: 1.35;
}

.people-rights-lanes strong,
.people-rights-referral-grid strong {
  color: var(--ink);
  font-size: 13px;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.people-rights-card.rights-admin {
  border-left: 4px solid var(--slate);
}

.people-rights-card.rights-facilitator {
  border-left: 4px solid var(--good);
}

.people-detail-hero,
.people-detail-context-strip {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 18px;
}

.people-detail-hero {
  margin-bottom: 14px;
}

.people-detail-hero h2,
.people-detail-hero p {
  margin-bottom: 0;
}

.people-detail-primary-actions,
.status-pill-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.people-detail-context-strip {
  margin: 16px 0;
  padding: 14px;
  border: 1px solid var(--line-soft);
  border-radius: var(--radius);
  background: linear-gradient(180deg, #ffffff 0%, #f9fafb 100%);
}

.people-detail-context-strip > div {
  display: grid;
  gap: 8px;
  min-width: 0;
}

.people-access-console {
  display: grid;
  gap: 16px;
  margin: 18px 0;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background:
    linear-gradient(90deg, rgb(255 230 0 / 10%), transparent 34%),
    #ffffff;
  box-shadow: var(--shadow-low);
}

.people-access-command-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}

.people-access-command-card {
  display: grid;
  align-content: space-between;
  gap: 14px;
  min-width: 0;
  min-height: 100%;
  padding: 16px;
  border: 1px solid var(--line-soft);
  border-left: 4px solid var(--accent);
  border-radius: var(--radius);
  background: linear-gradient(180deg, #ffffff 0%, #f8fafb 100%);
  box-shadow: var(--shadow-low);
}

.people-access-command-card h4 {
  margin: 4px 0;
  color: var(--ink);
  font-size: 18px;
}

.people-access-command-card p {
  margin: 0;
  color: var(--muted);
}

.people-access-command-card form {
  display: grid;
  gap: 10px;
  min-width: 0;
}

.people-access-command-card label {
  min-width: 0;
}

.people-access-command-card input,
.people-access-command-card select,
.people-access-command-card button {
  width: 100%;
}

.people-access-command-card.rights-admin {
  border-left-color: var(--slate);
}

.people-access-command-card.rights-facilitator {
  border-left-color: var(--good);
}

.people-access-command-card.rights-session {
  border-left-color: var(--accent);
}

.people-detail-table-section {
  margin-top: 18px;
}

.compact-heading {
  margin-bottom: 8px;
}

.people-assignment-accordion {
  display: grid;
  gap: 12px;
}

.people-detail-assignment-panel {
  display: grid;
  gap: 14px;
  border-top: 1px solid var(--line-soft);
  margin-top: 18px;
  padding-top: 18px;
}

.people-assignment-card {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #ffffff;
  box-shadow: var(--shadow-low);
}

.people-assignment-card summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 14px 16px;
  cursor: pointer;
  list-style: none;
}

.people-assignment-card summary::-webkit-details-marker {
  display: none;
}

.people-assignment-card summary::after {
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 4px 8px;
  color: var(--muted);
  font-size: 11px;
  font-weight: 900;
  content: "Collapse";
}

.people-assignment-card:not([open]) summary::after {
  content: "Expand";
}

.people-assignment-card summary strong {
  display: block;
  color: var(--ink);
  font-size: 16px;
}

.people-assignment-card summary small {
  display: block;
  margin-top: 2px;
  color: var(--muted);
  line-height: 1.35;
}

.people-assignment-card form {
  border-top: 1px solid var(--line-soft);
  padding: 16px;
}

.assignment-selection-list {
  max-height: 280px;
  overflow: auto;
}

.people-roster-bulk-form {
  display: grid;
  gap: 10px;
}

.people-roster-bulk-console {
  display: block;
  overflow: hidden;
  border: 1px solid var(--line-soft);
  border-radius: 8px;
  padding: 0;
  background: #ffffff;
}

.people-roster-selection-bar {
  display: grid;
  grid-template-columns: minmax(150px, auto) minmax(260px, 1fr) auto;
  gap: 10px;
  align-items: center;
  border: 1px solid var(--line-soft);
  border-radius: 8px;
  padding: 10px;
  background: #ffffff;
  box-shadow: var(--shadow-low);
}

.people-roster-selection-bar > div:first-child strong {
  display: block;
  margin-top: 2px;
  color: var(--ink);
  font-size: 15px;
}

.people-roster-selection-bar .selection-toolbar {
  justify-content: flex-start;
}

.people-roster-selection-bar .link-button {
  justify-self: end;
  white-space: nowrap;
}

.people-roster-bulk-disclosure > summary {
  display: flex;
  gap: 12px;
  align-items: center;
  justify-content: space-between;
  min-height: 54px;
  padding: 12px 14px;
  cursor: pointer;
  list-style: none;
}

.people-roster-bulk-disclosure > summary::-webkit-details-marker {
  display: none;
}

.people-roster-bulk-disclosure > summary strong,
.people-roster-bulk-disclosure > summary small {
  display: block;
}

.people-roster-bulk-disclosure > summary small {
  margin-top: 2px;
  color: var(--muted);
  font-size: 12px;
}

.people-roster-bulk-disclosure > summary::after {
  display: inline-flex;
  min-width: 92px;
  min-height: 32px;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: #ffffff;
  color: var(--slate);
  font-size: 11px;
  font-weight: 900;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  content: "Open";
  box-shadow: var(--shadow-low);
}

.people-roster-bulk-disclosure[open] > summary::after {
  content: "Hide";
}

.people-roster-bulk-body {
  display: grid;
  gap: 12px;
  border-top: 1px solid var(--line-soft);
  padding: 12px;
}

.people-roster-bulk-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 520px), 1fr));
  gap: 12px;
  align-items: stretch;
  min-width: 0;
}

.people-roster-bulk-grid .people-assignment-card {
  min-width: 0;
}

.people-roster-bulk-grid .people-assignment-card summary {
  min-height: 66px;
}

.people-roster-bulk-grid .people-assignment-card .stack {
  border-top: 1px solid var(--line-soft);
  padding: 14px;
  min-width: 0;
}

.people-roster-bulk-grid .inline-form-grid {
  grid-template-columns: minmax(0, 1.25fr) minmax(0, 0.8fr);
  align-items: end;
  min-width: 0;
}

.people-roster-bulk-grid .inline-form-grid > label,
.people-roster-bulk-grid .inline-form-grid input,
.people-roster-bulk-grid .inline-form-grid select {
  min-width: 0;
  max-width: 100%;
}

.people-roster-list {
  display: grid;
  gap: 10px;
  padding: 14px 16px 16px;
}

.people-roster-card {
  display: grid;
  grid-template-columns: minmax(220px, 0.8fr) minmax(0, 1.5fr) minmax(180px, 0.65fr) auto;
  gap: 14px;
  align-items: center;
  border: 1px solid var(--line-soft);
  border-radius: var(--radius);
  padding: 14px;
  background:
    linear-gradient(180deg, #ffffff 0%, #f9fbfc 100%);
  box-shadow: 0 1px 2px rgb(31 43 55 / 5%);
}

.people-roster-select {
  display: inline-flex;
  gap: 7px;
  align-items: center;
  color: var(--muted);
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
}

.people-roster-select input {
  width: 18px;
  aspect-ratio: 1 / 1;
}

.people-roster-identity {
  display: grid;
  gap: 5px;
  min-width: 0;
}

.people-roster-identity > strong {
  color: var(--ink);
  font-size: 16px;
}

.people-roster-identity > small,
.people-roster-context small,
.people-roster-activity span {
  color: var(--muted);
  font-size: 12px;
  line-height: 1.35;
}

.people-roster-badges,
.people-roster-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  align-items: center;
}

.people-roster-context {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 8px;
  margin: 0;
}

.people-roster-context div {
  display: grid;
  gap: 2px;
  min-width: 0;
  border-left: 1px solid var(--line-soft);
  padding-left: 10px;
}

.people-roster-context dt {
  color: var(--muted);
  font-size: 10px;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.people-roster-context dd {
  margin: 0;
  color: var(--ink);
  font-size: 15px;
  font-weight: 900;
}

.people-roster-activity {
  display: grid;
  gap: 4px;
}

.people-roster-actions {
  justify-content: end;
}

.session-roster-guidance {
  align-items: center;
  border-left: 4px solid var(--accent);
  background:
    linear-gradient(90deg, rgb(255 230 0 / 12%) 0%, transparent 46%),
    #ffffff;
}

.filter-empty-state {
  min-height: 112px;
  margin: 14px 16px 16px;
}

[data-filter-row][hidden] {
  display: none;
}

/* Enterprise refinement protocol: semantic color, quieter chrome, tighter analysis surfaces. */
.brand-mark::before {
  background: #dfe5ea;
}

.brand-mark::after {
  background: rgb(255 255 255 / 34%);
}

.avatar,
.setup-steps span,
.action-icon {
  background: #eef2f6;
  color: #25313d;
}

.hero-row,
.dashboard-hero,
.facilitator-matrix {
  background:
    linear-gradient(90deg, rgb(46 57 68 / 4%) 1px, transparent 1px) 0 0 / 56px 56px,
    linear-gradient(0deg, rgb(46 57 68 / 3%) 1px, transparent 1px) 0 0 / 56px 56px,
    #ffffff;
}

.overview-meta,
.entry-signal-row span {
  border-left-color: #cfd6dd;
}

.primary-entry-card {
  border-top-color: #cfd6dd;
}

.panel::before,
.module-card::before {
  background: #dfe5ea;
}

.side-nav a.active,
.offering-nav a.active {
  box-shadow: inset 4px 0 0 var(--accent);
}

.topbar.app-topbar {
  justify-content: flex-start;
}

.workbench-actions .link-button {
  border-color: #cfd6dd;
  background: #ffffff;
  color: #25313d;
}

.workbench-actions .primary-action,
.workbench-actions .link-button.primary-action {
  border-color: #25313d;
  background: linear-gradient(180deg, #34414d 0%, #25313d 100%);
  color: #ffffff;
}

.workbench-actions .ghost-action {
  background: transparent;
}

.workbench-actions .ghost-action:hover {
  background: #ffffff;
}

.signal-strip {
  align-items: stretch;
}

.signal-item::before {
  display: none;
}

.signal-item.is-clear,
.signal-item.is-warning {
  border-top-width: 1px;
}

.signal-item.is-clear {
  border-color: #d9e2de;
}

.signal-item.is-warning {
  border-color: #e1c48e;
  background: linear-gradient(180deg, #fffaf0 0%, #ffffff 52%);
}

.signal-status-card strong {
  display: flex;
  align-items: center;
  gap: 8px;
}

.signal-status-card strong::after {
  display: inline-flex;
  align-items: center;
  min-height: 18px;
  border: 1px solid #d9e2de;
  border-radius: 999px;
  padding: 1px 7px;
  background: #f2f7f4;
  color: #3f7156;
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.07em;
  line-height: 1;
  text-transform: uppercase;
  content: "Healthy";
}

.signal-status-card.is-warning strong::after {
  border-color: #e7c887;
  background: #fff7e5;
  color: #8a5a1e;
  content: "Review";
}

.signal-narrative {
  background:
    linear-gradient(90deg, rgb(37 49 61 / 4%) 0 1px, transparent 1px) 0 0 / 24px 24px,
    #ffffff;
}

.signal-narrative strong {
  font-size: 15px;
  white-space: normal;
}

.activity-collapse {
  margin-top: 8px;
}

.activity-collapse summary {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: #4f5c68;
  font-size: 12px;
  font-weight: 650;
  cursor: pointer;
  list-style: none;
}

.activity-collapse summary::-webkit-details-marker {
  display: none;
}

.activity-collapse summary::before {
  width: 6px;
  height: 6px;
  border-right: 1.5px solid currentColor;
  border-bottom: 1.5px solid currentColor;
  content: "";
  transform: rotate(-45deg);
  transition: transform 140ms ease;
}

.activity-collapse[open] summary::before {
  transform: rotate(45deg);
}

.activity-detail-list {
  display: grid;
  gap: 5px;
  margin-top: 7px;
  border-left: 1px solid #dfe5ea;
  padding-left: 12px;
}

.activity-detail-list span {
  color: #66727f;
  font-size: 11.5px;
  line-height: 1.35;
}

select {
  appearance: none;
  padding-right: 36px;
  background:
    linear-gradient(45deg, transparent 50%, #66727f 50%) right 17px center / 6px 6px no-repeat,
    linear-gradient(135deg, #66727f 50%, transparent 50%) right 12px center / 6px 6px no-repeat,
    linear-gradient(90deg, transparent calc(100% - 34px), #e6eaee calc(100% - 34px)) right / 100% 100% no-repeat,
    #ffffff;
}

input:focus,
select:focus,
textarea:focus {
  outline: 2px solid rgb(34 111 202 / 18%);
  border-color: #8aa9c9;
}

.file-upload-control {
  position: relative;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 10px;
  align-items: center;
  min-height: 44px;
  border: 1px dashed #c8d0d8;
  border-radius: var(--radius);
  padding: 6px;
  background: linear-gradient(180deg, #ffffff 0%, #f8fafb 100%);
}

.file-upload-control input[type="file"] {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  cursor: pointer;
}

.file-upload-action {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 30px;
  border: 1px solid #cfd6dd;
  border-radius: var(--radius);
  padding: 5px 10px;
  background: #ffffff;
  color: #25313d;
  font-size: 12px;
  font-weight: 700;
}

.file-upload-name {
  overflow: hidden;
  color: #66727f;
  font-size: 12.5px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.file-upload-control:focus-within {
  border-color: #8aa9c9;
  box-shadow: 0 0 0 2px rgb(34 111 202 / 12%);
}

.matrix-panel > .panel-title-row {
  align-items: end;
}

.facilitator-matrix {
  background:
    linear-gradient(90deg, rgb(46 57 68 / 4%) 1px, transparent 1px) 0 0 / 42px 42px,
    linear-gradient(0deg, rgb(46 57 68 / 3%) 1px, transparent 1px) 0 0 / 42px 42px,
    #ffffff;
}

.facilitator-matrix::before {
  left: 10px;
  bottom: 10px;
}

.facilitator-matrix::after {
  top: 10px;
  right: 10px;
}

.matrix-quadrant {
  position: absolute;
  z-index: 0;
  width: 50%;
  height: 50%;
  pointer-events: none;
}

.quadrant-high-principle {
  top: 0;
  right: 0;
  background: rgb(95 127 106 / 3.5%);
}

.quadrant-high-consequence {
  top: 0;
  left: 0;
  background: rgb(34 111 202 / 2.8%);
}

.quadrant-low-alignment {
  right: 0;
  bottom: 0;
  background: rgb(166 106 31 / 2.8%);
}

.quadrant-low-consequence {
  bottom: 0;
  left: 0;
  background: rgb(46 57 68 / 2.4%);
}

.matrix-legend {
  position: absolute;
  top: 8px;
  right: 8px;
  z-index: 8;
  display: inline-flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
  max-width: calc(100% - 22px);
  border: 1px solid rgb(215 221 227 / 86%);
  border-radius: var(--radius);
  padding: 6px 8px;
  background: rgb(255 255 255 / 86%);
  color: #66727f;
  font-size: 11.5px;
  font-weight: 600;
  backdrop-filter: blur(6px);
}

.matrix-legend span {
  display: inline-flex;
  gap: 5px;
  align-items: center;
}

.matrix-axis-y {
  left: 10px;
}

.matrix-axis-x {
  bottom: 10px;
}

.participant-dot,
.participant-marker {
  background: #ffd400;
}

.participant-dot,
.participant-marker {
  box-shadow:
    inset 0 0 0 2px rgb(255 255 255 / 54%),
    inset 0 0 0 3px rgb(37 49 61 / 12%),
    0 1px 2px rgb(31 43 55 / 12%);
}

.cluster-dot {
  border: 1px solid rgb(46 57 68 / 30%);
  background: rgb(46 57 68 / 12%);
}

.cluster-halo {
  background: radial-gradient(circle, rgb(46 57 68 / 10%) 0%, rgb(46 57 68 / 5%) 55%, rgb(46 57 68 / 0%) 74%);
}

.matrix-marker {
  cursor: pointer;
}

.matrix-marker::after {
  position: absolute;
  left: 50%;
  bottom: calc(100% + 10px);
  z-index: 12;
  width: max-content;
  max-width: 260px;
  border: 1px solid #d7dde3;
  border-radius: var(--radius);
  padding: 8px 9px;
  background: rgb(255 255 255 / 96%);
  color: #25313d;
  font-size: 12px;
  font-weight: 600;
  line-height: 1.25;
  opacity: 0;
  pointer-events: none;
  text-align: left;
  transform: translate(-50%, 4px);
  transition: opacity 120ms ease, transform 120ms ease;
  white-space: normal;
  content: attr(data-decision-title);
  box-shadow: 0 8px 20px rgb(31 43 55 / 12%);
}

.matrix-marker:hover::after,
.matrix-marker:focus-visible::after {
  opacity: 1;
  transform: translate(-50%, 0);
}

.matrix-marker.is-pinned {
  z-index: 9;
  box-shadow:
    0 0 0 5px rgb(255 255 255 / 86%),
    0 0 0 7px rgb(37 49 61 / 42%),
    0 10px 24px rgb(31 43 55 / 20%);
}

.matrix-pin-panel {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(360px, 0.8fr);
  gap: 18px;
  align-items: start;
  margin-top: 12px;
  border: 1px solid #dde3e8;
  border-radius: var(--radius);
  padding: 14px 16px;
  background: linear-gradient(180deg, #ffffff 0%, #fafbfc 100%);
}

.matrix-pin-panel h3 {
  margin: 3px 0 5px;
  font-size: 16px;
  line-height: 1.2;
}

.matrix-pin-panel p {
  max-width: 720px;
  margin: 0;
  color: #66727f;
  font-size: 13px;
}

.matrix-pin-panel dl {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0;
  margin: 0;
  border: 1px solid #e3e8ed;
  border-radius: var(--radius);
  overflow: hidden;
  background: #ffffff;
}

.matrix-pin-panel dl div {
  min-width: 0;
  border-right: 1px solid #e6eaee;
  padding: 9px 10px;
}

.matrix-pin-panel dl div:last-child {
  border-right: 0;
}

.matrix-pin-panel dt {
  margin-bottom: 4px;
  color: #737d88;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.07em;
  text-transform: uppercase;
}

.matrix-pin-panel dd {
  margin: 0;
  overflow: hidden;
  color: #25313d;
  font-size: 13px;
  font-weight: 650;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.decision-intelligence-panel {
  overflow: hidden;
  border-color: #cfd7df;
  background:
    linear-gradient(90deg, rgb(37 49 61 / 3%) 0 1px, transparent 1px) 0 0 / 40px 40px,
    #ffffff;
}

.intelligence-counts {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  justify-content: flex-end;
}

.intelligence-counts span {
  display: inline-grid;
  min-width: 86px;
  min-height: 50px;
  border: 1px solid var(--line-soft);
  border-radius: var(--radius);
  padding: 7px 10px;
  background: #ffffff;
  color: var(--muted);
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.07em;
  text-transform: uppercase;
}

.intelligence-counts strong {
  color: var(--ink);
  font-size: 20px;
  font-weight: 600;
  letter-spacing: 0;
  line-height: 1;
}

.portfolio-readout {
  display: grid;
  grid-template-columns: 180px minmax(0, 1fr) minmax(280px, 0.9fr);
  gap: 14px;
  margin: 18px 0;
}

.portfolio-health,
.portfolio-interpretation,
.portfolio-agenda {
  border: 1px solid var(--line-soft);
  border-radius: var(--radius);
  background: rgb(255 255 255 / 88%);
  box-shadow: var(--shadow-low);
}

.portfolio-health {
  display: grid;
  align-content: center;
  min-height: 148px;
  padding: 16px;
}

.portfolio-health strong {
  margin-top: 8px;
  color: var(--ink);
  font-size: 42px;
  font-weight: 550;
  line-height: 0.95;
}

.portfolio-health small {
  margin-top: 8px;
  color: var(--muted);
  font-size: 13px;
  font-weight: 600;
}

.portfolio-interpretation {
  display: grid;
  align-content: space-between;
  gap: 16px;
  padding: 16px;
}

.portfolio-interpretation p,
.portfolio-agenda p {
  margin: 0;
  color: var(--ink);
  font-size: 15px;
  line-height: 1.45;
}

.portfolio-interpretation dl {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  margin: 0;
}

.portfolio-interpretation dl div {
  border-top: 1px solid var(--line-soft);
  padding-top: 9px;
}

.portfolio-interpretation dt {
  margin-bottom: 4px;
  color: var(--muted);
  font-size: 9px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.portfolio-interpretation dd {
  margin: 0;
  color: var(--ink);
  font-size: 12.5px;
  line-height: 1.35;
}

.portfolio-agenda {
  display: grid;
  gap: 10px;
  padding: 16px;
}

.portfolio-agenda div {
  display: grid;
  gap: 3px;
  border-left: 2px solid var(--accent);
  padding-left: 10px;
}

.portfolio-agenda strong {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  color: var(--ink);
  font-size: 13px;
  font-weight: 600;
}

.portfolio-agenda strong span {
  min-width: 24px;
  border-radius: 999px;
  padding: 2px 7px;
  background: var(--band);
  color: var(--muted);
  font-size: 11px;
  text-align: center;
}

.portfolio-agenda small {
  color: var(--muted);
  font-size: 12px;
  line-height: 1.35;
}

.insight-card-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}

.insight-card {
  display: grid;
  gap: 10px;
  border: 1px solid var(--line-soft);
  border-left: 3px solid #c7d0d9;
  border-radius: var(--radius);
  padding: 14px;
  background: rgb(255 255 255 / 88%);
  box-shadow: var(--shadow-low);
}

.insight-card.risk-ready {
  border-left-color: var(--good);
}

.insight-card.risk-watch {
  border-left-color: #d6ae57;
}

.insight-card.risk-disputed {
  border-left-color: var(--danger);
}

.insight-card.risk-insufficient_data {
  border-left-color: #8c98a5;
}

.insight-card-topline {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}

.insight-card-topline > span:first-child {
  color: var(--muted);
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.insight-card h3 {
  margin: 0;
  font-size: 15px;
  font-weight: 600;
  line-height: 1.25;
}

.insight-card dl {
  display: grid;
  gap: 7px;
  margin: 0;
}

.insight-card dl div {
  display: grid;
  gap: 2px;
}

.insight-card dt {
  color: var(--muted);
  font-size: 9px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.insight-card dd {
  margin: 0;
  color: var(--ink);
  font-size: 12.5px;
  line-height: 1.35;
}

.insight-card p {
  margin: 0;
  color: var(--muted);
  font-size: 12.5px;
  line-height: 1.4;
}

.cluster-commentary-panel {
  border-color: #cfd7df;
}

.cluster-commentary-panel .panel-title-row {
  align-items: start;
}

.panel-note {
  max-width: 680px;
  margin: 0;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.45;
}

.cluster-commentary-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.cluster-commentary-card {
  display: grid;
  gap: 10px;
  border: 1px solid var(--line-soft);
  border-left: 3px solid #c7d0d9;
  border-radius: var(--radius);
  padding: 14px;
  background: #ffffff;
  box-shadow: var(--shadow-low);
}

.cluster-commentary-card.risk-ready {
  border-left-color: var(--good);
}

.cluster-commentary-card.risk-watch {
  border-left-color: #d6ae57;
}

.cluster-commentary-card.risk-disputed {
  border-left-color: var(--danger);
}

.cluster-commentary-card.risk-insufficient_data {
  border-left-color: #8c98a5;
}

.cluster-commentary-topline {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  justify-content: space-between;
  color: var(--muted);
  font-size: 10px;
  font-weight: 650;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.cluster-commentary-card h3 {
  margin: 0;
  color: var(--ink);
  font-size: 15px;
  font-weight: 600;
  line-height: 1.25;
}

.cluster-commentary-card p {
  margin: 0;
  color: var(--slate);
  font-size: 13px;
  line-height: 1.45;
}

.cluster-commentary-card details {
  border-top: 1px solid var(--line-soft);
  padding-top: 8px;
}

.cluster-commentary-card details summary {
  font-size: 12px;
  font-weight: 600;
}

.cluster-commentary-card details p {
  margin-top: 8px;
  color: var(--muted);
  font-size: 12px;
}

.cluster-commentary-card ol {
  display: grid;
  gap: 5px;
  margin: 8px 0 0;
  padding-left: 18px;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.35;
}

.ratification-candidate-strip {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
  margin-top: 14px;
  border-top: 1px solid var(--line-soft);
  padding-top: 12px;
}

.ratification-candidate-strip > span {
  color: var(--muted);
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.ratification-candidate-strip a {
  border: 1px solid rgb(95 127 106 / 28%);
  border-radius: 999px;
  padding: 5px 10px;
  background: var(--good-soft);
  color: var(--good);
  font-size: 12px;
  text-decoration: none;
}

@media (max-width: 1180px) {
  .platform-entry {
    grid-template-columns: 1fr;
  }

  .platform-entry-copy {
    min-height: auto;
  }

  .command-grid,
  .command-center-grid,
  .dashboard-grid,
  .dashboard-operations-grid,
  .facilitator-workspace-layout,
  .readiness-detail-grid,
  .workbench-grid,
  .workbench-operations-grid,
  .backup-readiness-body,
  .two-column,
  .segment-filter-panel,
  .matrix-control-strip,
  .matrix-pin-panel,
  .module-layout {
    grid-template-columns: 1fr;
  }

  .facilitator-side-panel {
    position: static;
    max-height: none;
  }

  .segment-filter-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .backup-readiness-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .matrix-pin-panel dl {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .dashboard-hero {
    grid-template-columns: minmax(0, 1fr);
  }

  .overview-meta {
    justify-self: stretch;
  }

  .dashboard-metrics {
    grid-template-columns: repeat(auto-fit, minmax(130px, 1fr));
  }

  .signal-strip {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .signal-item:nth-child(2) {
    border-right: 0;
  }

  .signal-item:nth-child(-n + 2) {
    border-bottom: 1px solid var(--line-soft);
  }

  .module-grid,
  .module-tabs {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 760px) {
  .segment-filter-grid {
    grid-template-columns: 1fr;
  }

  .app-shell {
    grid-template-columns: 1fr;
  }

  body.app-sidebar-collapsed .app-shell {
    grid-template-columns: 1fr;
  }

  .sidebar {
    position: static;
    height: auto;
    flex-direction: column;
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .sidebar-header {
    min-height: auto;
  }

  .sidebar-search {
    padding: 10px 14px;
  }

  .side-nav {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    padding: 10px 14px;
  }

  .side-nav a {
    min-height: 38px;
    font-size: 13px;
  }

  .side-section {
    display: none;
  }

  .side-user {
    margin-top: 0;
    border-top: 1px solid var(--line-soft);
  }

  .topbar,
  .heading-row,
  .panel-title-row {
    align-items: start;
    flex-direction: column;
  }

  .topbar {
    padding: 14px;
  }

  .brand,
  .primary-nav,
  .actor {
    width: 100%;
  }

  .primary-nav {
    justify-content: flex-start;
  }

  .page {
    width: min(100% - 20px, 720px);
    margin-top: 10px;
  }

  .app-shell .page {
    width: min(100% - 20px, 720px);
    margin: 14px auto 28px;
    padding: 0;
  }

  .platform-entry {
    gap: 14px;
    margin-top: 0;
  }

  .platform-entry-copy,
  .entry-card {
    padding: 18px;
  }

  .platform-entry-copy h1 {
    font-size: 32px;
  }

  .platform-entry-copy p {
    font-size: 15px;
  }

  .workbench-title-row {
    align-items: stretch;
    flex-direction: column;
    margin: 0 0 14px;
    padding: 16px 0 0;
  }

  .workbench-actions {
    justify-content: flex-start;
    padding-bottom: 12px;
  }

  .hero-row {
    min-height: auto;
    padding: 18px;
  }

  .dashboard-hero {
    min-height: auto;
    padding: 24px 20px;
  }

  .dashboard-hero h1 {
    font-size: 28px;
  }

  .dashboard-hero p {
    font-size: 15px;
  }

  .dashboard-action-strip {
    grid-template-columns: 1fr;
    width: 100%;
    margin: 12px 0 18px;
  }

  .signal-strip {
    grid-template-columns: 1fr;
  }

  .signal-item,
  .signal-item:nth-child(2) {
    border-right: 0;
  }

  .signal-item:not(:last-child),
  .signal-item:nth-child(-n + 2) {
    border-bottom: 1px solid var(--line-soft);
  }

  .workflow-grid,
  .setup-steps,
  .quick-action-grid,
  .compact-module-grid,
  .module-grid,
  .module-tabs {
    grid-template-columns: 1fr;
  }

  .wide {
    grid-column: auto;
  }

  .facilitator-matrix {
    min-height: 360px;
  }

  .matrix-legend {
    right: 6px;
    left: 6px;
  }

  .matrix-pin-panel dl {
    grid-template-columns: 1fr;
  }

  .matrix-pin-panel dl div {
    border-right: 0;
    border-bottom: 1px solid var(--line-soft);
  }

  .matrix-pin-panel dl div:last-child {
    border-bottom: 0;
  }

  .matrix-axis-y {
    display: none;
  }

  .inline-form,
  .compact-form,
  .session-option-form,
  .quick-create-panel form,
  .inline-form-grid {
    grid-template-columns: 1fr;
    min-width: 220px;
  }

  .button-row {
    align-items: stretch;
    flex-direction: column;
  }

  button,
  .link-button {
    width: 100%;
    justify-content: center;
  }

  .side-user .icon-button {
    width: auto;
  }
}

/* Typography quieting layer: reduce heavy emphasis while preserving hierarchy. */
.app-shell-body {
  font-weight: 400;
}

.app-shell-body h1,
.app-shell-body h2,
.app-shell-body h3,
.app-shell-body .brand-title,
.app-shell-body .side-user strong,
.app-shell-body .metric strong,
.app-shell-body .signal-item strong,
.app-shell-body .dashboard-action-card strong,
.app-shell-body .module-card strong,
.app-shell-body .module-tabs strong,
.app-shell-body .attention-item strong,
.app-shell-body .activity-line strong,
.app-shell-body .preflight-check strong,
.app-shell-body .empty-state strong,
.app-shell-body td strong,
.matrix-pin-panel dd {
  font-weight: 600;
}

.app-shell-body .panel-kicker,
.app-shell-body .eyebrow,
.app-shell-body th,
.app-shell-body label,
.app-shell-body .metric span,
.app-shell-body .overview-meta span,
.app-shell-body .overview-meta small,
.app-shell-body .status-pill,
.app-shell-body .spread-label,
.app-shell-body .count-pill,
.app-shell-body .table-count,
.matrix-pin-panel dt {
  font-weight: 600;
  letter-spacing: 0.065em;
}

.app-shell-body .side-nav a,
.app-shell-body .offering-nav a,
.app-shell-body .workspace-tabs a,
.app-shell-body button,
.app-shell-body .link-button,
.app-shell-body .record-link,
.activity-collapse summary,
.file-upload-action {
  font-weight: 600;
}

.app-shell-body .brand-mark,
.app-shell-body .avatar,
.app-shell-body .matrix-marker,
.app-shell-body .decision-spread-halo,
.app-shell-body .cluster-halo {
  font-weight: 650;
}

/* Current shell refinements: brand, search, module tabs, and operating queue. */
.brand-title {
  letter-spacing: 0;
}

.brand-mark {
  width: 40px;
  border-color: rgb(255 255 255 / 13%);
  border-radius: 10px;
  background:
    linear-gradient(135deg, rgb(255 255 255 / 8%) 0%, transparent 48%),
    #101820;
  box-shadow:
    0 1px 0 rgb(255 255 255 / 16%) inset,
    0 10px 22px rgb(0 0 0 / 18%);
}

.brand-mark::before {
  top: 13px;
  right: 9px;
  left: 9px;
  height: 2px;
  background: #dce4ec;
  transform: rotate(-9deg);
}

.brand-mark::after {
  top: 24px;
  right: auto;
  bottom: auto;
  left: 12px;
  width: 16px;
  height: 2px;
  border-radius: 999px;
  background: #7d8a97;
}

.sidebar-search {
  position: relative;
}

.sidebar-search label {
  display: block;
}

.sidebar-search::before,
.sidebar-search::after {
  position: absolute;
  z-index: 1;
  pointer-events: none;
  content: "";
}

.sidebar-search::before {
  top: 50%;
  left: 29px;
  width: 13px;
  aspect-ratio: 1 / 1;
  border: 1.6px solid #778491;
  border-radius: 50%;
  transform: translateY(-50%);
}

.sidebar-search::after {
  top: calc(50% + 8px);
  left: 41px;
  width: 8px;
  height: 1.6px;
  border-radius: 999px;
  background: #778491;
  transform: rotate(45deg);
  transform-origin: left center;
}

.sidebar-search input {
  padding-left: 39px;
  background: #ffffff;
}

.search-result-stack {
  display: grid;
  gap: 18px;
}

.search-result-group h3 {
  margin: 0 0 10px;
  color: var(--ink);
  font-size: 15px;
  letter-spacing: 0;
}

.search-result-list {
  display: grid;
  gap: 8px;
}

.search-result-card {
  display: grid;
  grid-template-columns: minmax(120px, max-content) minmax(180px, 1fr);
  gap: 6px 12px;
  align-items: center;
  padding: 12px;
  border: 1px solid var(--line-soft);
  border-radius: 8px;
  background: #ffffff;
  color: inherit;
  text-decoration: none;
}

.search-result-card strong {
  min-width: 0;
  overflow-wrap: anywhere;
}

.search-result-card small {
  grid-column: 2;
  color: var(--muted);
}

.module-tabs a {
  min-height: 42px;
  padding: 9px 14px;
}

.module-tabs span {
  font-size: 14px;
  font-weight: 600;
}

.module-tabs strong {
  min-width: 24px;
  padding: 2px 7px;
  background: #edf1f5;
  color: #66727f;
  font-size: 11px;
  font-weight: 600;
}

.operating-focus-strip .signal-item {
  min-height: 96px;
}

.operating-focus-card.status-warning {
  border-top: 1px solid #e5c384;
  background: linear-gradient(180deg, #fffaf0 0%, #ffffff 58%);
}

.signal-badge {
  display: inline-flex;
  align-items: center;
  min-height: 18px;
  border: 1px solid #d7dee5;
  border-radius: 999px;
  padding: 1px 7px;
  background: #f4f7fa;
  color: #5f6b77;
  font-size: 9px;
  font-style: normal;
  font-weight: 600;
  letter-spacing: 0.07em;
  line-height: 1;
  text-transform: uppercase;
}

.signal-badge.status-clear {
  border-color: #d9e2de;
  background: #f2f7f4;
  color: #3f7156;
}

.signal-badge.status-warning {
  border-color: #e7c887;
  background: #fff7e5;
  color: #8a5a1e;
}

.studio-cockpit {
  display: grid;
  grid-template-columns: minmax(320px, 0.82fr) minmax(0, 1.18fr);
  gap: 18px;
  margin-bottom: 18px;
}

.cockpit-lead {
  display: grid;
  align-content: start;
  min-height: 246px;
  border: 1px solid #cfd7df;
  border-radius: var(--radius);
  padding: 22px;
  background:
    linear-gradient(135deg, rgb(255 255 255 / 8%) 0%, transparent 38%),
    linear-gradient(90deg, rgb(255 255 255 / 4%) 1px, transparent 1px) 0 0 / 44px 44px,
    #25313d;
  box-shadow: var(--shadow-low);
}

.cockpit-lead .panel-kicker {
  color: rgb(255 255 255 / 62%);
}

.cockpit-lead h2 {
  max-width: 520px;
  margin: 8px 0 10px;
  color: #ffffff;
  font-size: 28px;
  font-weight: 500;
  letter-spacing: 0;
  line-height: 1.08;
}

.cockpit-lead p {
  max-width: 620px;
  margin: 0;
  color: rgb(255 255 255 / 72%);
  font-size: 14px;
  line-height: 1.5;
}

.cockpit-primary-action {
  display: inline-grid;
  gap: 3px;
  justify-self: start;
  min-width: min(360px, 100%);
  margin-top: 24px;
  border: 1px solid rgb(255 255 255 / 15%);
  border-left: 3px solid var(--accent);
  border-radius: var(--radius);
  padding: 12px 14px;
  background: rgb(255 255 255 / 8%);
  color: #ffffff;
  text-decoration: none;
  transition: background 150ms ease, border-color 150ms ease, transform 150ms ease;
}

.cockpit-primary-action:hover {
  border-color: rgb(255 255 255 / 26%);
  background: rgb(255 255 255 / 12%);
  transform: translateY(-1px);
}

.cockpit-primary-action span {
  color: rgb(255 255 255 / 56%);
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.cockpit-primary-action strong {
  color: #ffffff;
  font-size: 15px;
  font-weight: 600;
}

.cockpit-signal-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.cockpit-signal {
  position: relative;
  display: grid;
  align-content: start;
  gap: 8px;
  min-height: 117px;
  overflow: hidden;
  border: 1px solid var(--line-soft);
  border-radius: var(--radius);
  padding: 15px 16px;
  background: #ffffff;
  color: var(--ink);
  text-decoration: none;
  box-shadow: var(--shadow-low);
  transition: border-color 150ms ease, box-shadow 150ms ease, transform 150ms ease;
}

.cockpit-signal::before {
  position: absolute;
  top: 0;
  right: 0;
  left: 0;
  height: 3px;
  background: #c7d0d9;
  content: "";
}

.cockpit-signal.status-clear::before {
  background: #8faf98;
}

.cockpit-signal.status-warning::before {
  background: #d6ae57;
}

.cockpit-signal:hover {
  border-color: #c7d0d9;
  box-shadow: var(--shadow);
  transform: translateY(-1px);
}

.cockpit-signal > span {
  color: var(--muted);
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.cockpit-signal > strong {
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--ink);
  font-size: 25px;
  font-weight: 500;
  letter-spacing: 0;
  line-height: 1;
}

.cockpit-signal > small {
  max-width: 300px;
  color: var(--muted);
  font-size: 12.5px;
  line-height: 1.35;
}

.cockpit-signal .signal-badge {
  position: absolute;
  right: 12px;
  bottom: 12px;
}

.pilot-metrics-panel {
  display: grid;
  gap: 14px;
  margin-bottom: 18px;
  border: 1px solid var(--line-soft);
  border-radius: var(--radius);
  background: #ffffff;
  box-shadow: var(--shadow-low);
}

.pilot-metrics-panel > .panel-title-row {
  padding: 16px 18px 0;
}

.pilot-metric-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 10px;
  padding: 0 18px;
}

.pilot-metric-card,
.pilot-blocker-item {
  display: grid;
  align-content: start;
  gap: 7px;
  min-height: 112px;
  border: 1px solid var(--line-soft);
  border-radius: var(--radius);
  padding: 13px;
  color: var(--ink);
  text-decoration: none;
  transition: border-color 150ms ease, box-shadow 150ms ease, transform 150ms ease;
}

.pilot-metric-card {
  background: #fbfcfd;
}

.pilot-metric-card:hover,
.pilot-blocker-item:hover {
  border-color: #c7d0d9;
  box-shadow: var(--shadow-low);
  transform: translateY(-1px);
}

.pilot-metric-card span,
.pilot-blocker-item span {
  color: var(--muted);
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.pilot-metric-card strong,
.pilot-blocker-item strong {
  color: var(--ink);
  font-size: 25px;
  font-weight: 500;
  letter-spacing: 0;
  line-height: 1;
}

.pilot-metric-card small,
.pilot-blocker-item small {
  color: var(--muted);
  font-size: 12px;
  line-height: 1.35;
}

.pilot-progress-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  padding: 0 18px;
}

.pilot-progress-row span {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  min-height: 34px;
  border: 1px solid #d9e2de;
  border-radius: var(--radius);
  padding: 7px 10px;
  background: #f4f8f5;
  color: #3f7156;
  font-size: 12px;
  font-weight: 600;
}

.pilot-progress-row strong {
  color: #264936;
  font-size: 15px;
  font-weight: 700;
}

.pilot-blocker-list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  padding: 0 18px 18px;
}

.pilot-blocker-item {
  min-height: 96px;
  border-color: #efd4b1;
  background: #fff8ed;
}

.pilot-blocker-item strong,
.pilot-blocker-item span {
  color: #895326;
}

.pilot-metrics-panel .empty-state {
  margin: 0 18px 18px;
}

.action-queue-panel {
  background:
    linear-gradient(90deg, rgb(37 49 61 / 3%) 0 1px, transparent 1px) 0 0 / 44px 44px,
    #ffffff;
}

.action-queue-list {
  display: grid;
  gap: 10px;
  padding: 16px;
}

.action-queue-item {
  display: grid;
  gap: 4px;
  border: 1px solid var(--line-soft);
  border-left: 3px solid #cfd6dd;
  border-radius: var(--radius);
  padding: 12px 13px;
  background: rgb(255 255 255 / 88%);
  color: var(--ink);
  text-decoration: none;
  transition:
    border-color 150ms ease,
    box-shadow 150ms ease,
    transform 150ms ease;
}

.action-queue-item:hover {
  border-color: #b7c2cc;
  box-shadow: 0 10px 22px rgb(31 43 55 / 8%);
  transform: translateY(-1px);
}

.action-queue-item.status-warning {
  border-left-color: #d8ad53;
}

.action-queue-item.status-blocker {
  border-left-color: #b95a55;
}

.queue-action {
  color: #66727f;
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.action-queue-item strong {
  color: var(--ink);
  font-size: 14px;
  font-weight: 600;
}

.action-queue-item small {
  color: var(--muted);
  font-size: 12.5px;
  line-height: 1.35;
}

.module-command-strip {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  margin: 0 0 18px;
  border: 1px solid var(--line-soft);
  border-radius: var(--radius);
  padding: 14px 16px;
  background:
    linear-gradient(90deg, rgb(37 49 61 / 3%) 0 1px, transparent 1px) 0 0 / 36px 36px,
    #ffffff;
  box-shadow: 0 1px 2px rgb(31 43 55 / 5%);
}

.module-command-hero {
  align-items: flex-start;
  padding: 18px;
  background:
    linear-gradient(90deg, rgb(255 230 0 / 18%) 0 3px, transparent 3px),
    linear-gradient(90deg, rgb(37 49 61 / 3%) 0 1px, transparent 1px) 0 0 / 36px 36px,
    #ffffff;
}

.module-command-strip strong,
.module-command-strip small {
  display: block;
  min-width: 0;
}

.module-command-strip strong {
  margin-top: 3px;
  color: var(--ink);
  font-size: 16px;
  font-weight: 600;
}

.module-command-strip small {
  margin-top: 3px;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.35;
}

.module-command-cues {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 12px;
}

.module-command-cues span {
  display: inline-flex;
  align-items: center;
  min-height: 26px;
  border: 1px solid #dfe5eb;
  border-radius: 999px;
  padding: 4px 10px;
  background: #fbfcfd;
  color: #52606e;
  font-size: 11px;
  font-weight: 500;
}

.module-command-actions {
  display: flex;
  flex: 0 0 auto;
  flex-wrap: wrap;
  gap: 8px;
  justify-content: flex-end;
}

.setup-drawer-layout {
  grid-template-columns: minmax(0, 1fr);
}

.setup-drawer-layout > .module-record-panel,
.setup-drawer-layout > .full-span {
  grid-column: 1 / -1;
}

.setup-drawer-layout > .module-form-panel:not(.setup-drawer) {
  max-width: none;
}

.setup-drawer-scrim {
  position: fixed;
  inset: 0;
  z-index: 70;
  background: rgb(16 24 32 / 32%);
  backdrop-filter: blur(2px);
}

.setup-drawer {
  position: fixed;
  top: 16px;
  right: 16px;
  bottom: 16px;
  z-index: 80;
  width: min(620px, calc(100vw - 32px));
  max-height: calc(100vh - 32px);
  min-height: 0;
  margin: 0;
  overflow: auto;
  opacity: 0;
  pointer-events: none;
  transform: translateX(calc(100% + 36px));
  transition:
    opacity 160ms ease,
    transform 180ms ease,
    visibility 180ms ease;
  visibility: hidden;
}

.setup-drawer.is-open {
  opacity: 1;
  pointer-events: auto;
  transform: translateX(0);
  visibility: visible;
}

.setup-drawer.quick-create-panel {
  align-content: start;
  padding: 22px;
  box-shadow: 0 24px 70px rgb(16 24 32 / 22%);
}

.setup-drawer .quick-create-heading {
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: start;
  gap: 14px;
}

.drawer-close {
  min-height: 32px;
  border: 1px solid var(--line);
  padding: 5px 9px;
  background: #ffffff;
  color: #4f5c68;
  font-size: 12px;
  font-weight: 600;
}

.setup-drawer form {
  padding-bottom: 4px;
}

.session-lifecycle {
  display: grid;
  gap: 0;
  margin: 0;
  padding: 0;
  list-style: none;
}

.session-lifecycle-large {
  grid-template-columns: repeat(6, minmax(0, 1fr));
  margin-top: 6px;
}

.session-lifecycle-compact {
  grid-template-columns: repeat(6, minmax(52px, 1fr));
  min-width: 360px;
  margin-bottom: 8px;
}

.lifecycle-stage {
  position: relative;
  display: grid;
  gap: 7px;
  justify-items: center;
  min-width: 0;
  color: #7a8693;
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.05em;
  line-height: 1.15;
  text-align: center;
  text-transform: uppercase;
}

.lifecycle-stage::before {
  z-index: 2;
  width: 13px;
  aspect-ratio: 1 / 1;
  border: 2px solid #cfd6dd;
  border-radius: 999px;
  background: #ffffff;
  content: "";
}

.lifecycle-stage::after {
  position: absolute;
  top: 6px;
  left: calc(-50% + 7px);
  width: calc(100% - 14px);
  height: 1px;
  background: #dfe5ea;
  content: "";
}

.lifecycle-stage:first-child::after {
  display: none;
}

.lifecycle-stage.status-complete {
  color: #4f765e;
}

.lifecycle-stage.status-complete::before {
  border-color: #6f927a;
  background: #6f927a;
  box-shadow: 0 0 0 3px rgb(111 146 122 / 13%);
}

.lifecycle-stage.status-active {
  color: #25313d;
}

.lifecycle-stage.status-active::before {
  border-color: #25313d;
  background: #25313d;
  box-shadow: 0 0 0 4px rgb(37 49 61 / 13%);
}

.lifecycle-stage.status-attention {
  color: #8a641f;
}

.lifecycle-stage.status-attention::before {
  border-color: #d6ae57;
  background: #fff8e8;
  box-shadow: 0 0 0 4px rgb(214 174 87 / 18%);
}

.lifecycle-stage.status-blocked {
  color: #994f49;
}

.lifecycle-stage.status-blocked::before {
  border-color: #b95a55;
  background: #fff5f3;
  box-shadow: 0 0 0 4px rgb(185 90 85 / 14%);
}

.session-lifecycle-compact .lifecycle-stage {
  gap: 5px;
  font-size: 9px;
}

.session-lifecycle-compact .lifecycle-stage::before {
  width: 10px;
  border-width: 1.5px;
}

.session-lifecycle-compact .lifecycle-stage::after {
  top: 5px;
}

.lifecycle-panel {
  margin-bottom: 18px;
}

@media (max-width: 900px) {
  .module-command-strip {
    align-items: stretch;
    flex-direction: column;
  }

  .module-command-actions {
    justify-content: flex-start;
  }

  .session-lifecycle-large {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    row-gap: 16px;
  }

  .studio-cockpit,
  .cockpit-signal-grid,
  .pilot-metric-grid,
  .pilot-blocker-list,
  .insight-card-grid,
  .portfolio-readout,
  .cluster-commentary-grid,
  .next-action-strip,
  .next-action-list {
    grid-template-columns: 1fr;
  }

  .portfolio-interpretation dl {
    grid-template-columns: 1fr;
  }

  .cockpit-lead {
    min-height: auto;
  }

  .session-lifecycle-large .lifecycle-stage:nth-child(4)::after {
    display: none;
  }
}

@media (max-width: 560px) {
  .setup-drawer {
    inset: 8px;
    width: auto;
    max-height: calc(100vh - 16px);
  }

  .setup-drawer.quick-create-panel {
    padding: 16px;
  }

  .setup-drawer .quick-create-heading {
    grid-template-columns: 1fr;
  }

  .session-lifecycle-large {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .session-lifecycle-large .lifecycle-stage:nth-child(odd)::after {
    display: none;
  }

  .invite-summary-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

/* Facilitator session split: live facilitation first, administration below. */
.facilitator-view-tabs {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
  border-bottom: 1px solid var(--line);
  padding: 10px 28px;
  background: rgb(246 248 250 / 96%);
  backdrop-filter: blur(8px);
}

.facilitator-view-tabs a {
  display: inline-flex;
  min-height: 38px;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 8px 14px;
  background: #ffffff;
  color: var(--slate);
  font-size: 13px;
  font-weight: 800;
  text-decoration: none;
  box-shadow: var(--shadow-low);
}

.facilitator-view-tabs a:first-child {
  border-color: var(--slate);
  background: var(--slate);
  color: #ffffff;
}

.facilitator-workspace-layout {
  grid-template-columns: minmax(0, 1fr);
  gap: 18px;
  min-width: 0;
  overflow-x: clip;
}

.facilitator-main-column {
  display: contents;
}

.facilitator-main-column > .panel,
.facilitator-main-column > .two-column,
.facilitator-side-panel {
  min-width: 0;
}

.matrix-panel {
  order: 1;
  overflow: hidden;
}

.decision-intelligence-panel {
  order: 2;
}

.cluster-commentary-panel {
  order: 4;
}

.session-admin-console {
  order: 20;
}

.facilitator-main-column > .two-column {
  order: 21;
}

.facilitator-main-column > #ratification-workbench {
  order: 22;
}

.facilitator-main-column > .table-panel {
  order: 23;
}

.facilitator-main-column > .consensus-ranking-panel {
  order: 3;
}

.facilitator-side-panel {
  position: static;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  max-height: none;
  overflow: visible;
}

.operations-heading-card {
  grid-column: 1 / -1;
  border-left: 0;
  border-top: 4px solid var(--accent);
  padding: 18px;
}

.side-panel-title strong {
  font-size: 22px;
}

.side-panel-title small {
  max-width: 820px;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.45;
}

.session-admin-accordion.panel {
  overflow: hidden;
  padding: 0;
}

.session-admin-accordion-summary {
  display: grid;
  grid-template-columns: minmax(0, 0.7fr) minmax(0, 1fr);
  gap: 12px;
  align-items: center;
  min-height: 60px;
  border-bottom: 1px solid var(--line-soft);
  padding: 14px 16px;
  background:
    linear-gradient(90deg, rgb(255 230 0 / 52%) 0 4px, transparent 4px),
    linear-gradient(180deg, #ffffff 0%, #f8fafb 100%);
  color: var(--slate);
  cursor: pointer;
  list-style: none;
}

.session-admin-accordion-summary::-webkit-details-marker {
  display: none;
}

.session-admin-accordion-summary::after {
  justify-self: end;
  color: var(--muted);
  font-size: 18px;
  font-weight: 900;
  content: "+";
}

.session-admin-accordion[open] > .session-admin-accordion-summary::after {
  content: "-";
}

.session-admin-accordion-summary span {
  color: var(--muted);
  font-size: 10px;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.session-admin-accordion-summary strong {
  color: var(--ink);
  font-size: 17px;
  font-weight: 900;
}

.session-admin-accordion-body {
  display: grid;
  gap: 14px;
  padding: 16px;
}

.session-admin-accordion-body > .panel-title-row {
  display: none;
}

.session-control-panel .compact-state-row {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.session-control-panel .compact-export-row {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.matrix-panel > .panel-title-row {
  align-items: center;
  gap: 12px;
}

.matrix-panel > .panel-title-row .panel-kicker::before {
  content: "Run Session · ";
}

.facilitator-matrix {
  width: 100%;
  max-width: 100%;
  min-height: clamp(540px, calc(100vh - 315px), 860px);
}

.matrix-control-strip {
  overflow: hidden;
}

.matrix-control-strip > label {
  flex: 1 1 360px;
}

.matrix-pin-panel {
  grid-template-columns: minmax(0, 1fr) minmax(280px, 0.65fr);
  min-width: 0;
}

.matrix-panel[data-label-mode="title"] .matrix-marker-title {
  max-width: min(180px, 22vw);
}

body.debrief-focus-mode .facilitator-view-tabs,
body.debrief-focus-mode .session-admin-console,
body.debrief-focus-mode .facilitator-main-column > .two-column,
body.debrief-focus-mode .cluster-commentary-panel,
body.debrief-focus-mode #ratification-workbench,
body.debrief-focus-mode .facilitator-main-column > .table-panel:not(.consensus-ranking-panel) {
  display: none;
}

body.debrief-focus-mode .facilitator-workspace-layout {
  grid-template-columns: minmax(0, 1fr);
}

body.debrief-focus-mode .facilitator-matrix {
  min-height: min(82vh, 920px);
}

@media (max-width: 1180px) {
  .facilitator-side-panel,
  .session-control-panel .compact-state-row,
  .session-control-panel .compact-export-row,
  .matrix-pin-panel {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 720px) {
  .facilitator-view-tabs {
    padding: 8px 14px;
  }

  .matrix-panel > .panel-title-row,
  .session-admin-accordion-summary {
    grid-template-columns: 1fr;
  }

}

/* Consensus agenda and density interpretation pass. */
.density-dot {
  background: linear-gradient(135deg, rgb(255 230 0 / 88%), rgb(166 106 31 / 82%));
  box-shadow: 0 0 0 2px rgb(166 106 31 / 14%);
}

.matrix-density-layer {
  position: absolute;
  inset: 0;
  z-index: 1;
  overflow: hidden;
  pointer-events: none;
}

.matrix-density-layer.is-active {
  background:
    linear-gradient(135deg, rgb(255 255 255 / 36%), rgb(255 255 255 / 10%)),
    radial-gradient(circle at 50% 50%, rgb(255 255 255 / 0%), rgb(255 255 255 / 42%) 72%);
}

.density-cell {
  position: absolute;
  width: 16%;
  aspect-ratio: 1 / 1;
  border-radius: 999px;
  background:
    radial-gradient(circle, rgb(255 230 0 / 70%) 0%, rgb(46 125 101 / 34%) 43%, rgb(162 78 69 / 22%) 68%, transparent 75%);
  filter: blur(6px);
  mix-blend-mode: multiply;
}

.density-hotspot {
  position: absolute;
  display: none;
  place-items: center;
  width: var(--hotspot-diameter, 78px);
  aspect-ratio: 1 / 1;
  border: 1px solid rgb(31 43 55 / 20%);
  border-radius: 999px;
  background:
    radial-gradient(circle at 50% 45%, rgb(255 255 255 / 86%) 0 21%, rgb(255 230 0 / 78%) 22% 46%, rgb(46 125 101 / 42%) 47% 72%, rgb(31 43 55 / 18%) 73% 100%);
  color: var(--ink);
  font-size: 11px;
  font-weight: 900;
  line-height: 1;
  text-align: center;
  transform: translate(-50%, -50%);
  box-shadow:
    0 0 0 5px rgb(255 230 0 / 18%),
    0 12px 26px rgb(31 43 55 / 18%);
}

.density-hotspot.is-visible {
  display: grid;
}

.density-hotspot strong,
.density-hotspot span {
  position: relative;
  z-index: 1;
  display: block;
}

.density-hotspot span {
  margin-top: 3px;
  color: var(--muted);
  font-size: 10px;
  letter-spacing: 0.04em;
}

.density-hotspot-primary {
  border-color: rgb(31 43 55 / 44%);
  box-shadow:
    0 0 0 6px rgb(255 230 0 / 28%),
    0 16px 32px rgb(31 43 55 / 22%);
}

.matrix-density-note {
  position: absolute;
  left: 50%;
  top: 50%;
  z-index: 7;
  width: min(360px, calc(100% - 32px));
  border: 1px solid rgb(215 221 227 / 88%);
  border-radius: var(--radius);
  padding: 12px 14px;
  background: rgb(255 255 255 / 92%);
  color: var(--muted);
  font-size: 13px;
  font-weight: 700;
  line-height: 1.35;
  text-align: center;
  transform: translate(-50%, -50%);
  box-shadow: var(--shadow-low);
}

.matrix-density-note[hidden] {
  display: none;
}

.matrix-panel[data-matrix-mode="density"] .decision-spread-halo,
.matrix-panel[data-matrix-mode="density"] .cluster-halo {
  display: none;
}

.matrix-panel[data-matrix-mode="density"] .participant-marker {
  z-index: 5;
  opacity: 0.72;
}

.matrix-panel[data-matrix-mode="density"] .centroid-marker,
.matrix-panel[data-matrix-mode="density"] .ratified-marker {
  z-index: 8;
}

.density-insight-readout {
  display: grid;
  grid-template-columns: minmax(0, 1.45fr) minmax(320px, 0.9fr);
  gap: 14px;
  align-items: center;
  margin-top: 12px;
  border: 1px solid rgb(215 221 227 / 92%);
  border-radius: var(--radius);
  padding: 14px;
  background:
    linear-gradient(135deg, rgb(255 230 0 / 14%), rgb(255 255 255 / 92%) 36%, rgb(237 244 241 / 86%));
  box-shadow: 0 1px 0 rgb(255 255 255 / 90%) inset, 0 12px 28px rgb(31 43 55 / 8%);
}

.density-insight-readout[hidden] {
  display: none;
}

.density-insight-readout h3 {
  margin: 2px 0 4px;
  font-size: 18px;
}

.density-insight-readout p {
  margin: 0;
  max-width: 880px;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.45;
}

.density-readout-metrics {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
  margin: 0;
}

.density-readout-metrics div {
  min-width: 0;
  border: 1px solid rgb(215 221 227 / 82%);
  border-radius: var(--radius-sm);
  padding: 9px 10px;
  background: rgb(255 255 255 / 82%);
}

.density-readout-metrics dt {
  margin: 0 0 3px;
  color: var(--muted);
  font-size: 10px;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.density-readout-metrics dd {
  margin: 0;
  color: var(--ink);
  font-size: 13px;
  font-weight: 900;
}

.density-readout-legend {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: max-content minmax(120px, 220px) max-content;
  gap: 9px;
  align-items: center;
  color: var(--muted);
  font-size: 10px;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.density-gradient-ramp {
  height: 8px;
  border-radius: 999px;
  background: linear-gradient(90deg, rgb(46 125 101 / 24%), rgb(255 230 0 / 72%), rgb(162 78 69 / 64%));
  box-shadow: 0 0 0 1px rgb(31 43 55 / 10%) inset;
}

@media (max-width: 720px) {
  .density-insight-readout,
  .density-readout-metrics {
    grid-template-columns: 1fr;
  }

  .density-readout-legend {
    grid-template-columns: 1fr;
    justify-items: start;
  }
}

.density-guidance {
  max-width: 980px;
  margin: 14px 0 0;
  border: 1px solid var(--line-soft);
  border-left: 4px solid var(--accent);
  border-radius: var(--radius);
  padding: 11px 13px;
  background: #fffef4;
  color: #5f6670;
  font-size: 13px;
  line-height: 1.45;
}

.consensus-agenda-grid {
  grid-template-columns: repeat(2, minmax(320px, 1fr));
  margin-top: 16px;
}

.agenda-card {
  gap: 14px;
}

.agenda-card-body {
  display: grid;
  grid-template-columns: minmax(132px, 0.48fr) minmax(0, 1fr);
  gap: 14px;
  align-items: stretch;
}

.agenda-mini-matrix {
  position: relative;
  min-height: 132px;
  border: 1px solid #dce2e8;
  border-radius: var(--radius);
  overflow: hidden;
  background:
    linear-gradient(90deg, rgb(46 57 68 / 5%) 1px, transparent 1px) 0 0 / 26px 26px,
    linear-gradient(0deg, rgb(46 57 68 / 4%) 1px, transparent 1px) 0 0 / 26px 26px,
    linear-gradient(180deg, #ffffff 0%, #f8fafb 100%);
}

.agenda-mini-axis {
  position: absolute;
  z-index: 1;
  background: rgb(46 57 68 / 15%);
}

.agenda-mini-axis.axis-x {
  left: 0;
  top: 50%;
  width: 100%;
  height: 1px;
}

.agenda-mini-axis.axis-y {
  left: 50%;
  top: 0;
  width: 1px;
  height: 100%;
}

.agenda-mini-dot,
.agenda-mini-centroid,
.agenda-mini-cluster {
  position: absolute;
  z-index: 3;
  border-radius: 999px;
  transform: translate(-50%, -50%);
}

.agenda-mini-dot {
  width: 9px;
  aspect-ratio: 1 / 1;
  background: var(--accent);
  box-shadow: 0 0 0 2px rgb(255 255 255 / 78%), 0 1px 4px rgb(31 43 55 / 18%);
}

.agenda-mini-cluster {
  z-index: 2;
  width: 34px;
  aspect-ratio: 1 / 1;
  border: 1px solid rgb(166 106 31 / 40%);
  background: radial-gradient(circle, rgb(255 230 0 / 24%) 0%, rgb(255 230 0 / 10%) 58%, transparent 72%);
}

.agenda-mini-centroid {
  z-index: 4;
  width: 16px;
  aspect-ratio: 1 / 1;
  border: 2px solid var(--slate);
  background: #ffffff;
  box-shadow: 0 0 0 3px rgb(255 255 255 / 78%), 0 4px 10px rgb(31 43 55 / 16%);
}

.agenda-card dl {
  align-content: start;
}

.agenda-facilitator-move {
  display: grid;
  gap: 5px;
  border-top: 1px solid var(--line-soft);
  padding-top: 12px;
}

.agenda-facilitator-move p {
  margin: 0;
  color: var(--ink);
  font-size: 14px;
  font-weight: 800;
  line-height: 1.35;
}

.agenda-facilitator-move small {
  color: var(--muted);
  font-size: 12.5px;
  line-height: 1.42;
}

.agenda-matrix-focus {
  justify-self: start;
}

.session-admin-console {
  border: 1px solid #d8dee5;
  border-radius: var(--radius);
  padding: 16px;
  background:
    linear-gradient(180deg, #ffffff 0%, #f7f9fb 100%);
  box-shadow: 0 1px 0 rgb(255 255 255 / 86%) inset, 0 18px 42px rgb(31 43 55 / 8%);
}

.session-admin-console .operations-heading-card {
  border: 0;
  border-top: 4px solid var(--accent);
  background:
    linear-gradient(135deg, #25313d 0%, #354657 100%);
  color: #ffffff;
}

.session-admin-console .side-panel-title strong {
  color: #ffffff;
}

.session-admin-console .side-panel-title small {
  color: rgb(255 255 255 / 72%);
}

.session-admin-console .session-admin-accordion.panel {
  border-color: #dce2e8;
  background: #ffffff;
  box-shadow: 0 8px 22px rgb(31 43 55 / 6%);
}

.session-admin-console .session-admin-accordion-summary {
  grid-template-columns: minmax(120px, 0.38fr) minmax(0, 1fr) auto;
  border-bottom-color: #e3e8ed;
  background:
    linear-gradient(90deg, var(--accent) 0 4px, transparent 4px),
    linear-gradient(180deg, #ffffff 0%, #fbfcfd 100%);
}

.session-admin-console .session-admin-accordion-summary strong {
  font-size: 18px;
}

.session-admin-console .session-admin-accordion-body {
  background: #ffffff;
}

@media (max-width: 980px) {
  .consensus-agenda-grid,
  .agenda-card-body {
    grid-template-columns: 1fr;
  }

  .agenda-mini-matrix {
    min-height: 180px;
  }
}

/* Facilitator operations refinement pass. */
.session-admin-console {
  gap: 16px;
  background:
    linear-gradient(180deg, #fbfcfd 0%, #eef2f5 100%);
}

.session-admin-console .session-admin-accordion-summary {
  grid-template-columns: minmax(110px, 0.28fr) minmax(0, 1fr) auto auto;
  gap: 14px;
  min-height: 54px;
  padding: 12px 16px;
}

.session-admin-accordion-summary small {
  justify-self: end;
  border: 1px solid #dce3e9;
  border-radius: 999px;
  padding: 5px 9px;
  background: #f6f8fa;
  color: #5f6974;
  font-size: 11px;
  font-weight: 800;
  line-height: 1;
  white-space: nowrap;
}

.session-admin-console .session-admin-accordion-body {
  gap: 12px;
  padding: 14px;
}

.operation-status-strip {
  display: grid;
  grid-template-columns: minmax(150px, 0.36fr) minmax(0, 1fr);
  gap: 14px;
  align-items: center;
  border: 1px solid #dce3e9;
  border-radius: var(--radius);
  padding: 12px 14px;
  background:
    linear-gradient(135deg, rgb(255 230 0 / 16%) 0%, rgb(255 255 255 / 94%) 46%, #f6f8fa 100%);
}

.operation-status-strip strong {
  display: block;
  color: var(--ink);
  font-size: 22px;
  font-weight: 900;
  line-height: 1.1;
}

.operation-status-strip p {
  margin: 0;
  color: #5f6974;
  font-size: 13px;
  line-height: 1.42;
}

.session-admin-console .compact-session-lifecycle {
  grid-template-columns: repeat(7, minmax(82px, 1fr));
  gap: 6px;
  border: 1px solid #dce3e9;
  border-radius: var(--radius);
  padding: 8px;
  background: #ffffff;
}

.session-admin-console .compact-session-lifecycle .lifecycle-stage {
  min-height: 46px;
  border: 1px solid #d8e0e7;
  border-radius: 6px;
  background: #f8fafb;
  font-size: 11px;
}

.operation-command-toolbar {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
  border: 1px solid #dce3e9;
  border-radius: var(--radius);
  padding: 10px;
  background: #ffffff;
}

.operation-command-toolbar form {
  margin: 0;
}

.operation-command-toolbar .link-button,
.operation-command-toolbar button {
  min-height: 36px;
}

.state-action-board {
  grid-template-columns: repeat(7, minmax(92px, 1fr));
  gap: 8px;
  border: 1px solid #dce3e9;
  padding: 10px;
  background:
    linear-gradient(180deg, #ffffff 0%, #f5f7f9 100%);
}

.state-action-tile {
  position: relative;
}

.state-action-board .state-button {
  display: grid;
  gap: 4px;
  align-content: center;
  min-height: 72px;
  border: 1px solid #d1dae2;
  border-top-width: 5px;
  border-left-width: 1px;
  border-radius: 8px;
  padding: 10px 8px;
  background: #ffffff;
  box-shadow: 0 1px 0 rgb(255 255 255 / 88%) inset, 0 8px 18px rgb(31 43 55 / 5%);
  transition: transform 120ms ease, box-shadow 120ms ease, border-color 120ms ease;
}

.state-action-board .state-button:hover:not(:disabled) {
  transform: translateY(-1px);
  box-shadow: 0 1px 0 rgb(255 255 255 / 88%) inset, 0 12px 24px rgb(31 43 55 / 10%);
}

.state-action-board .state-button span {
  color: inherit;
  font-size: 13px;
  font-weight: 900;
  line-height: 1.08;
}

.state-action-board .state-button small {
  color: rgb(31 43 55 / 68%);
  font-size: 10.5px;
  font-weight: 800;
  line-height: 1.15;
}

.state-action-board .state-button.btn-current {
  border-color: var(--slate);
  border-top-color: var(--accent);
  background:
    linear-gradient(180deg, #354657 0%, #25313d 100%);
  color: #ffffff;
}

.state-action-board .state-button.btn-current small {
  color: rgb(255 255 255 / 76%);
}

.state-action-board .control-warning {
  display: block;
  margin-top: 5px;
  color: #9a6414;
  font-size: 10.5px;
  font-weight: 900;
  line-height: 1.15;
  text-align: center;
}

.operation-export-grid {
  grid-template-columns: repeat(7, minmax(96px, 1fr));
  border: 1px solid #dce3e9;
  border-radius: var(--radius);
  padding: 10px;
  background: #ffffff;
}

.operation-export-grid .link-button {
  min-height: 40px;
  border-color: #d6dee6;
  background:
    linear-gradient(180deg, #ffffff 0%, #f6f8fa 100%);
  color: var(--slate);
  font-size: 12px;
  font-weight: 850;
}

.session-control-panel .session-option-form {
  grid-template-columns: repeat(2, minmax(0, 1fr)) auto;
  gap: 12px;
  border: 1px solid #dce3e9;
  border-radius: var(--radius);
  padding: 12px;
  background: #ffffff;
}

.session-control-panel .session-option-form button {
  width: auto;
  align-self: end;
}

.session-control-panel .session-option-form:last-child {
  grid-template-columns: minmax(0, 1fr) auto;
  border-color: #e2d2bf;
  background: #fffaf3;
}

.consensus-agenda-accordion {
  overflow: hidden;
}

.consensus-agenda-summary {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  align-items: center;
  justify-content: space-between;
  margin: -24px -24px 0;
  border-bottom: 1px solid var(--line-soft);
  padding: 20px 24px;
  background:
    linear-gradient(90deg, rgb(255 230 0 / 18%) 0%, transparent 42%),
    linear-gradient(180deg, #ffffff 0%, #f8fafb 100%);
  cursor: pointer;
  list-style: none;
}

.consensus-agenda-summary::-webkit-details-marker {
  display: none;
}

.consensus-agenda-summary::after {
  border: 1px solid #d7dee6;
  border-radius: 999px;
  padding: 5px 9px;
  background: #ffffff;
  color: var(--muted);
  font-size: 12px;
  font-weight: 900;
  content: "Collapse";
}

.consensus-agenda-accordion:not([open]) > .consensus-agenda-summary::after {
  content: "Expand";
}

.consensus-agenda-body {
  display: grid;
  gap: 16px;
  padding-top: 18px;
}

:where(button, .link-button) {
  transition:
    transform 120ms ease,
    box-shadow 120ms ease,
    border-color 120ms ease,
    background-color 120ms ease,
    color 120ms ease,
    opacity 120ms ease;
}

:where(button, .link-button):not(:disabled) {
  touch-action: manipulation;
}

:where(button, .link-button):hover:not(:disabled) {
  transform: translateY(-1px);
  border-color: rgb(37 49 61 / 42%);
  box-shadow: 0 8px 18px rgb(31 43 55 / 12%);
}

:where(button, .link-button):active:not(:disabled) {
  transform: translateY(0);
  box-shadow: 0 1px 2px rgb(31 43 55 / 12%);
}

:where(button, .link-button):focus-visible {
  outline: 3px solid rgb(255 230 0 / 48%);
  outline-offset: 2px;
}

button.is-submitting {
  position: relative;
  opacity: 0.86;
  cursor: progress;
  pointer-events: none;
}

button.is-submitting::after {
  display: inline-block;
  width: 0.8em;
  height: 0.8em;
  margin-left: 8px;
  border: 2px solid currentColor;
  border-right-color: transparent;
  border-radius: 999px;
  vertical-align: -0.1em;
  content: "";
  animation: haad-button-spin 680ms linear infinite;
}

.state-action-board .state-button:hover:not(:disabled) {
  transform: translateY(-2px);
  border-color: #aeb9c5;
  border-top-color: var(--accent);
  background:
    linear-gradient(180deg, #ffffff 0%, #f9fbfd 100%);
  box-shadow: 0 1px 0 rgb(255 255 255 / 90%) inset, 0 16px 28px rgb(31 43 55 / 14%);
}

.state-action-board .state-button:active:not(:disabled) {
  transform: translateY(0);
  box-shadow: 0 1px 0 rgb(255 255 255 / 90%) inset, 0 5px 12px rgb(31 43 55 / 10%);
}

.state-action-board .state-button.is-submitting {
  border-top-color: var(--accent);
  background:
    linear-gradient(180deg, #f9fbfd 0%, #eef3f7 100%);
}

.state-action-board .state-button.is-submitting::after {
  margin: 2px auto 0;
}

@keyframes haad-button-spin {
  to {
    transform: rotate(360deg);
  }
}

@media (prefers-reduced-motion: reduce) {
  :where(button, .link-button),
  .state-action-board .state-button {
    transition: none;
  }

  :where(button, .link-button):hover:not(:disabled),
  :where(button, .link-button):active:not(:disabled),
  .state-action-board .state-button:hover:not(:disabled),
  .state-action-board .state-button:active:not(:disabled) {
    transform: none;
  }

  button.is-submitting::after {
    animation: none;
  }
}

@media (max-width: 1280px) {
  .people-roster-bulk-grid {
    grid-template-columns: 1fr;
  }

  .people-roster-card {
    grid-template-columns: minmax(220px, 0.8fr) minmax(0, 1.2fr);
  }

  .people-roster-activity,
  .people-roster-actions {
    grid-column: 1 / -1;
  }

  .people-roster-actions {
    justify-content: start;
  }

  .session-admin-console .compact-session-lifecycle,
  .state-action-board,
  .operation-export-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }

  .session-control-panel .session-option-form,
  .session-control-panel .session-option-form:last-child {
    grid-template-columns: 1fr;
  }

  .session-control-panel .session-option-form button {
    width: 100%;
  }
}

@media (max-width: 1180px) {
  .people-access-command-grid {
    grid-template-columns: 1fr;
  }

  .people-detail-context-strip {
    display: grid;
  }
}

@media (max-width: 760px) {
  .people-center-heading,
  .people-detail-hero,
  .session-roster-guidance {
    display: grid;
  }

  .people-assignment-steps,
  .people-rights-lanes,
  .people-rights-referral-grid,
  .people-roster-card,
  .people-roster-context {
    grid-template-columns: 1fr;
  }

  .people-roster-select {
    justify-content: start;
  }

  .people-roster-context div {
    border-left: 0;
    border-top: 1px solid var(--line-soft);
    padding-top: 8px;
    padding-left: 0;
  }

  .people-roster-actions {
    justify-content: start;
  }

  .session-admin-console .session-admin-accordion-summary,
  .operation-status-strip,
  .session-admin-console .compact-session-lifecycle,
  .state-action-board,
  .operation-export-grid {
    grid-template-columns: 1fr;
  }

  .session-admin-accordion-summary small {
    justify-self: start;
  }

  .consensus-agenda-summary {
    margin-right: -18px;
    margin-left: -18px;
    padding-right: 18px;
    padding-left: 18px;
  }
}

/* ADP-PROD-0063..0066 modernization wave: shared experience primitives. */
:root {
  --space-1: 4px;
  --space-2: 8px;
  --space-3: 12px;
  --space-4: 16px;
  --space-5: 20px;
  --space-6: 24px;
  --surface-muted: #f8fafb;
  --surface-tint: #fffbe0;
  --success: #557764;
  --success-soft: #edf6f0;
  --failure: #a24e45;
  --failure-soft: #fae8e5;
  --focus-ring: 0 0 0 3px rgb(255 230 0 / 44%);
  --motion-fast: 120ms cubic-bezier(0.2, 0.8, 0.2, 1);
  --motion-med: 180ms cubic-bezier(0.2, 0.8, 0.2, 1);
}

.app-topbar {
  gap: 18px;
  justify-content: space-between;
}

.topbar-command-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  justify-content: flex-end;
}

.topbar-command-nav a {
  display: inline-flex;
  min-height: 34px;
  align-items: center;
  border: 1px solid var(--line-soft);
  border-radius: 6px;
  padding: 7px 11px;
  background: #ffffff;
  color: var(--slate);
  font-size: 12px;
  font-weight: 800;
  text-decoration: none;
  transition: transform var(--motion-fast), border-color var(--motion-fast), box-shadow var(--motion-fast);
}

.topbar-command-nav a:hover,
.topbar-command-nav a:focus-visible {
  border-color: rgb(37 49 61 / 32%);
  box-shadow: var(--shadow-low);
  transform: translateY(-1px);
}

.experience-command-bar,
.experience-command-surface {
  width: min(100%, 100%);
  border: 1px solid var(--line-soft);
  border-radius: 8px;
  background:
    linear-gradient(90deg, rgb(255 230 0 / 12%) 0%, transparent 36%),
    linear-gradient(180deg, #ffffff 0%, #f8fafb 100%);
  box-shadow: var(--shadow-low);
}

.experience-command-bar {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1px;
  overflow: hidden;
}

.experience-command-bar a {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 12px;
  align-items: center;
  min-height: 82px;
  padding: 16px;
  background: rgb(255 255 255 / 78%);
  color: var(--ink);
  text-decoration: none;
  transition: background var(--motion-fast), transform var(--motion-fast), box-shadow var(--motion-fast);
}

.experience-command-bar a:hover,
.experience-command-bar a:focus-visible {
  z-index: 1;
  background: #ffffff;
  box-shadow: var(--shadow-low);
  transform: translateY(-1px);
}

.experience-command-bar strong,
.people-command-modes span,
.people-command-status-grid strong,
.session-command-ribbon strong {
  color: var(--ink);
  font-weight: 850;
}

.experience-command-bar small,
.people-command-modes small {
  display: block;
  margin-top: 2px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 650;
  line-height: 1.3;
}

.command-icon {
  display: inline-grid;
  width: 34px;
  height: 34px;
  place-items: center;
  border: 1px solid #d8dfe6;
  border-radius: 6px;
  background: #25313d;
  color: #ffffff;
  font-size: 11px;
  font-weight: 900;
}

.admin-experience-command {
  margin: -6px 0 20px;
}

.people-command-center {
  display: grid;
  grid-template-columns: minmax(220px, 0.72fr) minmax(360px, 1.25fr) minmax(220px, 0.58fr);
  gap: 18px;
  align-items: stretch;
  margin-bottom: 14px;
  padding: 18px;
}

.people-command-lede h2 {
  margin-bottom: 6px;
  font-size: 22px;
}

.people-command-lede p {
  margin: 0;
  color: var(--muted);
  line-height: 1.45;
}

.people-command-modes {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 8px;
}

.people-command-modes a,
.people-command-status-grid span,
.session-command-ribbon a {
  border: 1px solid #dce3e9;
  border-radius: 7px;
  background: #ffffff;
  color: var(--ink);
  text-decoration: none;
  box-shadow: 0 1px 0 rgb(255 255 255 / 78%) inset;
}

.people-command-modes a {
  display: grid;
  gap: 5px;
  align-content: center;
  min-height: 76px;
  padding: 12px;
  transition: transform var(--motion-fast), box-shadow var(--motion-fast), border-color var(--motion-fast);
}

.people-command-modes a.active {
  border-color: #d9c400;
  background: linear-gradient(180deg, #fffdf0 0%, #ffffff 100%);
  box-shadow: inset 0 3px 0 #ffe600;
}

.people-command-modes a:hover,
.people-command-modes a:focus-visible,
.session-command-ribbon a:hover,
.session-command-ribbon a:focus-visible {
  border-color: rgb(37 49 61 / 32%);
  box-shadow: var(--shadow-low);
  transform: translateY(-1px);
}

.people-command-status-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 8px;
}

.people-command-status-grid span {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 10px;
  align-items: center;
  padding: 10px 12px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 800;
}

.people-command-status-grid strong {
  min-width: 34px;
  color: var(--slate);
  font-size: 20px;
  line-height: 1;
}

.session-command-ribbon {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
}

.session-command-ribbon a {
  display: grid;
  gap: 3px;
  min-height: 70px;
  padding: 12px 14px;
  background:
    linear-gradient(180deg, #ffffff 0%, #f8fafb 100%);
  transition: transform var(--motion-fast), box-shadow var(--motion-fast), border-color var(--motion-fast);
}

.session-command-ribbon span {
  color: var(--muted);
  font-size: 10px;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.session-command-ribbon strong {
  font-size: 18px;
  line-height: 1.1;
}

.session-admin-console .operations-heading-card {
  min-height: 116px;
}

.session-admin-console .session-admin-accordion.panel {
  border-radius: 8px;
}

.session-admin-console .session-admin-accordion-summary {
  background:
    linear-gradient(90deg, var(--accent) 0 5px, transparent 5px),
    linear-gradient(180deg, #ffffff 0%, #f8fafb 100%);
}

.state-action-board {
  border-radius: 8px;
  background:
    linear-gradient(180deg, #ffffff 0%, #f7f9fb 100%);
}

.state-action-board .state-button {
  position: relative;
  overflow: hidden;
}

.state-action-board .state-button::before {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgb(255 230 0 / 0%) 0%, rgb(255 230 0 / 18%) 100%);
  opacity: 0;
  content: "";
  transition: opacity var(--motion-fast);
}

.state-action-board .state-button:hover::before,
.state-action-board .state-button:focus-visible::before {
  opacity: 1;
}

.state-action-board .state-button > * {
  position: relative;
}

.matrix-panel {
  max-width: 100%;
}

.matrix-panel > .panel-title-row p.panel-note {
  max-width: 720px;
  margin: 6px 0 0;
}

.matrix-control-strip {
  align-items: end;
  gap: 10px;
}

.matrix-control-strip .segmented-control {
  min-width: 0;
}

.facilitator-matrix {
  aspect-ratio: 16 / 8;
  min-height: clamp(460px, 48vw, 780px);
}

.consensus-agenda-accordion {
  border-radius: 8px;
}

.consensus-agenda-summary {
  min-height: 74px;
}

.consensus-agenda-grid {
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
}

.status-success,
.control-success {
  border-color: rgb(85 119 100 / 36%);
  background: var(--success-soft);
  color: var(--success);
}

.status-failure,
.control-failure {
  border-color: rgb(162 78 69 / 34%);
  background: var(--failure-soft);
  color: var(--failure);
}

@media (max-width: 1320px) {
  .experience-command-bar,
  .session-command-ribbon {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .people-command-center {
    grid-template-columns: 1fr;
  }

  .people-command-modes {
    grid-template-columns: repeat(auto-fit, minmax(130px, 1fr));
  }

  .people-filter-toolbar {
    grid-template-columns: 1fr;
  }

  .saved-view-group {
    border-left: 0;
    border-top: 1px solid var(--line-soft);
    padding-top: 12px;
    padding-left: 0;
  }

  .secondary-workspace-link {
    justify-self: start;
  }
}

@media (max-width: 760px) {
  .app-topbar {
    align-items: stretch;
  }

  .topbar-command-nav,
  .experience-command-bar,
  .session-command-ribbon {
    grid-template-columns: 1fr;
  }

  .topbar-command-nav a {
    flex: 1 1 auto;
    justify-content: center;
  }

  .experience-command-bar a {
    min-height: 68px;
  }
}

/* People roster refinement: compact directory rows with grouped context. */
.people-roster-bulk-console {
  border: 1px solid var(--line-soft);
  border-radius: 8px;
  margin: 0;
  padding: 0;
}

.people-roster-bulk-console > .people-center-heading {
  align-items: center;
}

.people-roster-bulk-console .selection-toolbar {
  border: 1px solid var(--line-soft);
  border-radius: 7px;
  padding: 8px;
  background: #ffffff;
}

.people-roster-card {
  grid-template-columns: minmax(240px, 0.82fr) minmax(340px, 1.18fr) minmax(220px, 0.58fr) auto;
  gap: 12px;
  border-radius: 8px;
  padding: 12px 14px;
  background:
    linear-gradient(90deg, rgb(255 230 0 / 0%) 0%, rgb(255 230 0 / 7%) 100%),
    #ffffff;
  transition: border-color var(--motion-fast), box-shadow var(--motion-fast), transform var(--motion-fast);
}

.people-roster-card:hover {
  border-color: rgb(37 49 61 / 22%);
  box-shadow: 0 1px 2px rgb(31 43 55 / 7%), 0 12px 24px rgb(31 43 55 / 6%);
  transform: translateY(-1px);
}

.people-roster-select {
  justify-content: center;
}

.people-roster-select input {
  width: 18px;
  border-radius: 4px;
}

.people-roster-identity {
  gap: 6px;
}

.people-roster-identity > strong {
  line-height: 1.15;
}

.people-roster-identity > small {
  display: inline-flex;
  width: fit-content;
  max-width: 100%;
  min-height: 25px;
  align-items: center;
  border: 1px solid #dce3e9;
  border-radius: 999px;
  padding: 4px 9px;
  background: #f8fafb;
  color: #4f5c68;
  font-size: 12px;
  line-height: 1.15;
  overflow-wrap: anywhere;
}

.people-roster-badges .status-pill {
  min-height: 24px;
  padding: 4px 9px;
  font-size: 11px;
  letter-spacing: 0.06em;
}

.people-roster-context {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.people-roster-context div {
  min-width: 126px;
  flex: 1 1 132px;
  border: 1px solid #dce3e9;
  border-left: 1px solid #dce3e9;
  border-radius: 7px;
  padding: 8px 10px;
  background:
    linear-gradient(180deg, #ffffff 0%, #f9fbfc 100%);
}

.people-roster-context dt {
  font-size: 9.5px;
  letter-spacing: 0.09em;
}

.people-roster-context dd {
  display: inline-flex;
  align-items: baseline;
  gap: 5px;
  font-size: 16px;
  line-height: 1.05;
}

.people-roster-context small {
  display: block;
  margin-top: 4px;
  overflow-wrap: anywhere;
}

.people-roster-activity {
  border: 1px solid #dce3e9;
  border-radius: 7px;
  padding: 9px 10px;
  background: #fbfcfd;
}

.people-roster-activity span {
  color: #4f5c68;
  font-size: 12px;
}

.people-roster-actions {
  display: grid;
  grid-auto-flow: row;
  justify-items: stretch;
  min-width: 96px;
}

.people-roster-actions .link-button {
  justify-content: center;
  min-height: 36px;
  white-space: nowrap;
}

@media (max-width: 1460px) {
  .people-roster-card {
    grid-template-columns: minmax(220px, 0.8fr) minmax(0, 1.2fr);
  }

  .people-roster-activity,
  .people-roster-actions {
    grid-column: 1 / -1;
  }

  .people-roster-actions {
    display: flex;
    justify-content: start;
  }
}

/* ADP-PROD-0068..0078 executive cockpit modernization wave. */
.page {
  overflow-x: clip;
}

.app-main {
  min-width: 0;
  overflow-x: clip;
}

:where(.panel, .people-roster-card, .selection-row, .metric, .link-button, button) {
  -webkit-tap-highlight-color: transparent;
}

:where(button, .link-button, .preset-chip, .people-command-modes a, .session-command-ribbon a):not(:disabled) {
  will-change: transform;
}

:where(button, .link-button, .preset-chip):hover:not(:disabled),
:where(button, .link-button, .preset-chip):focus-visible {
  text-decoration: none;
}

:where(button, .link-button):disabled {
  cursor: default;
  opacity: 0.68;
}

.people-workspace-tabs,
.facilitator-view-tabs {
  box-shadow: 0 1px 0 rgb(255 255 255 / 78%) inset, 0 10px 28px rgb(31 43 55 / 7%);
}

.people-workspace-tabs a,
.facilitator-view-tabs a {
  border-radius: 7px;
  transition: transform var(--motion-fast), box-shadow var(--motion-fast), border-color var(--motion-fast), background var(--motion-fast);
}

.people-workspace-tabs a:hover,
.people-workspace-tabs a:focus-visible,
.facilitator-view-tabs a:hover,
.facilitator-view-tabs a:focus-visible {
  transform: translateY(-1px);
  box-shadow: 0 8px 18px rgb(31 43 55 / 11%);
}

.people-workspace-tabs a.active,
.facilitator-view-tabs a:first-child {
  box-shadow: inset 0 3px 0 var(--accent), 0 8px 18px rgb(31 43 55 / 10%);
}

.people-assignment-card > summary,
.session-admin-accordion-summary,
.consensus-agenda-summary,
.readiness-detail > summary,
.invite-preview > summary,
.technical-details > summary {
  position: relative;
  min-height: 48px;
  border: 1px solid #d8e0e7;
  border-radius: 8px;
  background:
    linear-gradient(90deg, rgb(255 230 0 / 16%) 0%, transparent 34%),
    linear-gradient(180deg, #ffffff 0%, #f8fafb 100%);
  color: var(--ink);
  cursor: pointer;
  transition: border-color var(--motion-fast), box-shadow var(--motion-fast), transform var(--motion-fast), background var(--motion-fast);
}

.people-assignment-card > summary:hover,
.people-assignment-card > summary:focus-visible,
.session-admin-accordion-summary:hover,
.session-admin-accordion-summary:focus-visible,
.consensus-agenda-summary:hover,
.consensus-agenda-summary:focus-visible,
.readiness-detail > summary:hover,
.readiness-detail > summary:focus-visible,
.invite-preview > summary:hover,
.invite-preview > summary:focus-visible,
.technical-details > summary:hover,
.technical-details > summary:focus-visible {
  border-color: rgb(37 49 61 / 34%);
  box-shadow: 0 10px 22px rgb(31 43 55 / 9%);
  transform: translateY(-1px);
}

.people-assignment-card > summary::after,
.session-admin-accordion-summary::after,
.consensus-agenda-summary::after,
.readiness-detail > summary::after,
.invite-preview > summary::after,
.technical-details > summary::after {
  display: inline-flex;
  min-width: 74px;
  min-height: 30px;
  align-items: center;
  justify-content: center;
  border: 1px solid #cfd9e3;
  border-radius: 999px;
  padding: 6px 10px;
  background: #ffffff;
  color: var(--slate);
  font-size: 11px;
  font-weight: 900;
  letter-spacing: 0.06em;
  line-height: 1;
  text-transform: uppercase;
  content: "Hide";
  box-shadow: 0 1px 0 rgb(255 255 255 / 86%) inset, 0 5px 12px rgb(31 43 55 / 7%);
}

.people-assignment-card:not([open]) > summary::after,
.session-admin-accordion:not([open]) > .session-admin-accordion-summary::after,
.consensus-agenda-accordion:not([open]) > .consensus-agenda-summary::after,
.readiness-detail:not([open]) > summary::after,
.invite-preview:not([open]) > summary::after,
.technical-details:not([open]) > summary::after {
  content: "Open";
}

.readiness-detail > summary,
.invite-preview > summary,
.technical-details > summary {
  display: flex;
  gap: 12px;
  align-items: center;
  justify-content: space-between;
  padding: 10px 12px;
  list-style: none;
}

.readiness-detail > summary::-webkit-details-marker,
.invite-preview > summary::-webkit-details-marker,
.technical-details > summary::-webkit-details-marker {
  display: none;
}

.executive-bulk-console {
  position: static;
  margin-bottom: 12px;
  background:
    linear-gradient(135deg, rgb(255 230 0 / 8%) 0%, rgb(255 255 255 / 96%) 36%, #f8fafb 100%);
  box-shadow: var(--shadow-low);
}

.executive-bulk-console .people-center-heading p,
.executive-profile-console .people-center-heading p {
  margin: 5px 0 0;
  max-width: 780px;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.42;
}

.people-roster-list {
  display: grid;
  gap: 9px;
  padding: 14px;
}

.people-roster-card {
  align-items: center;
}

.people-roster-card.has-duplicate-email {
  border-color: rgb(154 100 20 / 38%);
  background:
    linear-gradient(90deg, rgb(255 230 0 / 11%) 0%, rgb(255 255 255 / 84%) 42%),
    #ffffff;
}

.people-roster-card.has-duplicate-email .people-roster-identity > small {
  border-color: rgb(154 100 20 / 26%);
  background: #fffaf0;
}

.people-roster-context div,
.people-roster-activity {
  min-height: 62px;
}

.people-roster-actions {
  gap: 7px;
}

.user-profile-console {
  grid-template-columns: minmax(340px, 0.82fr) minmax(380px, 1fr);
  align-items: start;
}

.user-profile-console .executive-profile-card {
  min-width: 0;
  border-top: 4px solid transparent;
}

.user-profile-console .assignment-command-card {
  border-top-color: var(--accent);
  background:
    linear-gradient(180deg, #ffffff 0%, #f9fbfd 100%);
}

.assignment-command-card .selection-toolbar,
.assignment-selection-list,
.compact-selection-list {
  border-radius: 8px;
}

.facilitator-hero {
  border-bottom: 1px solid var(--line-soft);
  margin-bottom: 0;
  background:
    linear-gradient(90deg, rgb(255 230 0 / 10%) 0%, transparent 34%),
    #ffffff;
}

.facilitator-view-tabs {
  top: 0;
  margin: 0 -28px 18px;
}

.facilitator-view-tabs a:first-child::before {
  margin-right: 7px;
  color: var(--accent);
  content: "●";
}

.facilitator-view-tabs a:last-child::before {
  margin-right: 7px;
  color: #7b8794;
  content: "▦";
}

.facilitator-workspace-layout {
  width: 100%;
  max-width: 100%;
}

.matrix-panel {
  width: 100%;
  max-width: 100%;
  padding: clamp(16px, 1.5vw, 24px);
}

.matrix-panel > .panel-title-row {
  grid-template-columns: minmax(0, 1fr) auto;
}

.matrix-control-strip {
  display: flex;
  flex-wrap: wrap;
  align-items: end;
  overflow: visible;
}

.matrix-control-strip label {
  min-width: min(360px, 100%);
}

.matrix-control-strip .segmented-control {
  flex-wrap: wrap;
}

.matrix-filter-status {
  flex: 1 1 100%;
}

.facilitator-matrix {
  min-height: clamp(390px, 41vw, 720px);
  aspect-ratio: 16 / 7.8;
  border-radius: 8px;
}

.matrix-pin-panel {
  border-radius: 8px;
  background:
    linear-gradient(180deg, #ffffff 0%, #f9fbfd 100%);
}

.session-admin-console {
  scroll-margin-top: 86px;
}

.session-admin-console .operations-heading-card {
  min-height: 0;
  border-radius: 8px;
  padding: 16px;
}

.session-admin-console .operations-heading-card .side-panel-title {
  display: grid;
  gap: 5px;
}

.session-admin-console .session-admin-accordion-summary {
  grid-template-columns: minmax(96px, 0.26fr) minmax(0, 1fr) auto auto;
}

.session-admin-console .session-admin-accordion-summary span {
  color: #66717c;
}

.session-admin-console .session-admin-accordion-summary small {
  background: #ffffff;
}

.operation-status-strip {
  min-height: 78px;
}

.session-admin-console .compact-session-lifecycle {
  grid-template-columns: repeat(auto-fit, minmax(86px, 1fr));
}

.session-admin-console .compact-session-lifecycle .lifecycle-stage {
  min-height: 54px;
}

.state-action-board {
  grid-template-columns: repeat(auto-fit, minmax(118px, 1fr));
}

.state-action-board .state-button {
  min-height: 82px;
  text-align: left;
}

.state-action-board .state-button span,
.state-action-board .state-button small {
  justify-self: start;
  text-align: left;
}

.operation-export-grid {
  grid-template-columns: repeat(auto-fit, minmax(132px, 1fr));
}

.operation-export-grid .link-button {
  justify-content: start;
  text-align: left;
}

.session-control-panel .session-option-form {
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
}

.consensus-agenda-summary {
  border-radius: 8px 8px 0 0;
}

.consensus-ranking-panel {
  scroll-margin-top: 86px;
}

@media (max-width: 1180px) {
  .user-profile-console {
    grid-template-columns: 1fr;
  }

  .executive-bulk-console {
    position: static;
  }
}

@media (max-width: 760px) {
  .facilitator-view-tabs {
    margin-right: -14px;
    margin-left: -14px;
  }

  .matrix-panel > .panel-title-row,
  .matrix-pin-panel,
  .session-admin-console .session-admin-accordion-summary {
    grid-template-columns: 1fr;
  }

  .session-admin-console .session-admin-accordion-summary::after {
    justify-self: start;
  }

  .facilitator-matrix {
    min-height: 420px;
  }
}

/* ADP-PROD-0091..0094 platform-wide UI/UX hardening. */
.skip-link {
  position: fixed;
  top: 12px;
  left: 12px;
  z-index: 1000;
  transform: translateY(-160%);
  border: 2px solid var(--accent);
  border-radius: 8px;
  padding: 10px 13px;
  background: #101820;
  color: #ffffff;
  font-weight: 900;
  text-decoration: none;
  box-shadow: 0 12px 28px rgb(16 24 32 / 24%);
  transition: transform var(--motion-fast);
}

.skip-link:focus,
.skip-link:focus-visible {
  transform: translateY(0);
  outline: 0;
}

#main-content:focus {
  outline: 0;
}

.page-section-navigator {
  position: fixed;
  right: 18px;
  bottom: 18px;
  z-index: 80;
  width: min(280px, calc(100vw - 36px));
  border: 1px solid rgb(37 49 61 / 20%);
  border-radius: 10px;
  background: #ffffff;
  box-shadow: 0 18px 38px rgb(31 43 55 / 17%);
}

.page-section-navigator summary {
  display: flex;
  min-height: 44px;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 10px 12px;
  color: var(--ink);
  font-weight: 900;
  cursor: pointer;
  list-style: none;
}

.page-section-navigator summary::-webkit-details-marker {
  display: none;
}

.page-section-navigator summary::after {
  width: 10px;
  height: 10px;
  border-right: 2px solid currentColor;
  border-bottom: 2px solid currentColor;
  content: "";
  transform: rotate(45deg) translateY(-2px);
}

.page-section-navigator[open] summary::after {
  transform: rotate(225deg) translateY(-2px);
}

.page-section-navigator summary strong {
  display: inline-grid;
  min-width: 24px;
  min-height: 24px;
  place-items: center;
  border-radius: 999px;
  background: var(--accent);
  color: var(--slate-dark);
  font-size: 12px;
}

.page-section-links {
  display: grid;
  gap: 4px;
  max-height: min(52vh, 420px);
  overflow: auto;
  border-top: 1px solid var(--line-soft);
  padding: 8px;
}

.page-section-links a {
  border: 1px solid transparent;
  border-radius: 7px;
  padding: 8px 10px;
  color: var(--slate);
  font-size: 12px;
  font-weight: 800;
  text-decoration: none;
}

.page-section-links a:hover,
.page-section-links a:focus-visible,
.page-section-links a.active {
  border-color: var(--line);
  background:
    linear-gradient(90deg, rgb(255 230 0 / 18%) 0%, transparent 48%),
    #f8fafb;
  outline: 0;
}

[data-page-section="true"] {
  scroll-margin-top: 90px;
}

:where(input, select, textarea):focus-visible,
:where(summary, [tabindex]):focus-visible {
  outline: 3px solid rgb(255 230 0 / 52%);
  outline-offset: 2px;
  box-shadow: 0 0 0 1px rgb(37 49 61 / 22%), 0 8px 18px rgb(31 43 55 / 10%);
}

:where(input, select, textarea) {
  max-width: 100%;
  min-width: 0;
}

.people-roster-bulk-grid,
.session-admin-console,
.operation-export-grid,
.state-action-board {
  min-width: 0;
}

.people-roster-bulk-grid .people-assignment-card,
.people-roster-bulk-grid .people-assignment-card .stack,
.session-admin-console .session-option-form,
.session-admin-console .operation-command-toolbar,
.session-admin-console .state-action-tile {
  min-width: 0;
  overflow: hidden;
}

.people-roster-bulk-grid .inline-form-grid,
.session-admin-console .inline-form-grid,
.session-admin-console .session-option-form {
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
}

.session-admin-console .form-help-text {
  grid-column: 1 / -1;
  margin: -4px 0 0;
  color: var(--muted);
  font-size: 0.84rem;
  line-height: 1.45;
}

.people-roster-bulk-grid label,
.people-roster-bulk-grid select,
.people-roster-bulk-grid input,
.session-admin-console label,
.session-admin-console select,
.session-admin-console input {
  min-width: 0;
  max-width: 100%;
}

.people-roster-bulk-grid button,
.session-admin-console button,
.session-admin-console .link-button {
  white-space: normal;
}

button[data-confirm-message] {
  border-color: rgb(162 78 69 / 34%);
}

button[data-confirm-message]:not(:disabled)::before {
  margin-right: 6px;
  color: var(--danger);
  content: "!";
}

@media (max-width: 760px) {
  .page-section-navigator {
    right: 12px;
    bottom: 12px;
    width: min(320px, calc(100vw - 24px));
  }

  .page-section-navigator:not([open]) {
    width: auto;
  }

  .page-section-navigator:not([open]) summary {
    min-width: 128px;
  }

  .participant-management-summary,
  .participant-action-item {
    grid-template-columns: 1fr;
  }

  .participant-action-item .status-pill {
    width: fit-content;
  }

  .people-roster-selection-bar {
    grid-template-columns: 1fr;
  }

  .people-roster-selection-bar .link-button {
    justify-self: stretch;
  }
}

@media (prefers-reduced-motion: reduce) {
  .skip-link,
  .page-section-navigator *,
  .page-section-navigator {
    transition: none;
  }
}

/* ADP-PROD-0120 visible executive cockpit uplift. */
.app-topbar {
  position: sticky;
  top: 0;
  z-index: 40;
  min-height: 74px;
  border-bottom: 1px solid rgb(37 49 61 / 10%);
  background:
    linear-gradient(90deg, rgb(255 230 0 / 9%) 0%, transparent 26%),
    rgb(250 252 253 / 94%);
  backdrop-filter: blur(12px);
  box-shadow: 0 1px 0 rgb(255 255 255 / 86%) inset, 0 10px 28px rgb(31 43 55 / 6%);
}

.app-context {
  gap: 1px;
}

.app-context span {
  color: var(--muted);
  font-size: 10px;
  font-weight: 900;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.app-context strong {
  color: var(--ink);
  font-size: 18px;
  letter-spacing: 0;
}

.topbar-command-nav {
  gap: 8px;
}

.topbar-command-nav a {
  min-height: 40px;
  border: 1px solid var(--line-soft);
  border-radius: 999px;
  padding: 10px 14px;
  background: #ffffff;
  box-shadow: var(--shadow-low);
}

.topbar-command-nav a:hover,
.topbar-command-nav a:focus-visible {
  border-color: rgb(255 230 0 / 80%);
  background:
    linear-gradient(180deg, #ffffff 0%, #fffbea 100%);
}

.app-shell-body .hero-row {
  position: relative;
  overflow: hidden;
  border: 1px solid rgb(215 221 227 / 90%);
  border-left: 6px solid var(--accent);
  border-radius: 10px;
  background:
    linear-gradient(120deg, rgb(255 230 0 / 16%) 0%, transparent 32%),
    linear-gradient(180deg, #ffffff 0%, #f8fafb 100%);
  box-shadow: 0 1px 2px rgb(31 43 55 / 8%), 0 18px 46px rgb(31 43 55 / 8%);
}

.app-shell-body .hero-row::after {
  position: absolute;
  inset: 0 0 auto auto;
  width: min(420px, 42vw);
  height: 100%;
  background:
    linear-gradient(90deg, transparent 0%, rgb(255 255 255 / 62%) 100%),
    repeating-linear-gradient(90deg, rgb(37 49 61 / 4%) 0 1px, transparent 1px 24px);
  content: "";
  pointer-events: none;
}

.app-shell-body .hero-row > * {
  position: relative;
  z-index: 1;
}

.app-shell-body .hero-row h1 {
  margin-top: 4px;
  font-size: clamp(30px, 3vw, 46px);
  line-height: 0.98;
}

.app-shell-body .hero-row p {
  max-width: 780px;
  color: #5d6d7c;
  font-size: 16px;
  line-height: 1.45;
}

.experience-command-surface,
.people-filter-toolbar,
.module-command-hero {
  border: 1px solid rgb(215 221 227 / 92%);
  border-radius: 10px;
  background:
    linear-gradient(120deg, rgb(255 230 0 / 12%) 0%, transparent 32%),
    linear-gradient(180deg, #ffffff 0%, #f8fafb 100%);
  box-shadow: 0 1px 2px rgb(31 43 55 / 8%), 0 16px 36px rgb(31 43 55 / 7%);
}

.people-command-center {
  grid-template-columns: minmax(320px, 0.9fr) minmax(520px, 1.55fr) minmax(220px, 0.75fr);
  gap: 18px;
  align-items: stretch;
}

.people-command-lede h2 {
  max-width: 420px;
  margin-bottom: 8px;
  font-size: clamp(26px, 2vw, 36px);
  line-height: 1.02;
}

.people-command-lede p {
  max-width: 560px;
  color: #5d6d7c;
  font-size: 15px;
}

.people-command-modes a {
  position: relative;
  overflow: hidden;
  min-height: 118px;
  border-radius: 9px;
  padding: 20px;
  background:
    linear-gradient(180deg, #ffffff 0%, #f8fafb 100%);
  box-shadow: 0 1px 2px rgb(31 43 55 / 7%);
}

.people-command-modes a::before {
  position: absolute;
  inset: 0 auto 0 0;
  width: 4px;
  background: transparent;
  content: "";
}

.people-command-modes a.active {
  border-color: rgb(255 230 0 / 88%);
  background:
    linear-gradient(135deg, rgb(255 230 0 / 22%) 0%, transparent 36%),
    #ffffff;
  box-shadow: 0 16px 30px rgb(31 43 55 / 12%);
}

.people-command-modes a.active::before {
  background: var(--accent);
}

.people-command-modes span {
  font-size: 17px;
}

.people-command-status-grid {
  gap: 10px;
}

.people-command-status-grid span {
  min-height: 58px;
  border: 1px solid var(--line-soft);
  border-radius: 9px;
  background: #ffffff;
  box-shadow: 0 1px 2px rgb(31 43 55 / 5%);
}

.people-filter-toolbar {
  align-items: center;
  padding: 18px 20px;
}

.preset-chip {
  min-height: 36px;
  border-radius: 999px;
  background: #ffffff;
}

.people-roster-card {
  border-radius: 12px;
  padding: 18px;
  background:
    linear-gradient(180deg, #ffffff 0%, #f9fbfc 100%);
  box-shadow: 0 1px 2px rgb(31 43 55 / 7%), 0 14px 34px rgb(31 43 55 / 6%);
}

.people-roster-card:hover {
  border-color: rgb(37 49 61 / 22%);
  box-shadow: 0 1px 2px rgb(31 43 55 / 8%), 0 18px 44px rgb(31 43 55 / 9%);
}

.people-roster-identity strong {
  font-size: 18px;
  line-height: 1.15;
}

.people-roster-context div,
.people-roster-activity {
  border-radius: 8px;
  background: #ffffff;
}

.people-detail-hero,
.people-access-console,
.people-detail-context-strip {
  border-radius: 10px;
  background:
    linear-gradient(135deg, rgb(255 230 0 / 11%) 0%, transparent 32%),
    #ffffff;
  box-shadow: 0 1px 2px rgb(31 43 55 / 6%);
}

.people-access-command-card {
  border-radius: 10px;
  box-shadow: 0 1px 2px rgb(31 43 55 / 8%), 0 14px 30px rgb(31 43 55 / 7%);
}

.facilitator-workspace-layout {
  gap: 20px;
  align-items: start;
}

.matrix-panel {
  border-radius: 12px;
  background:
    linear-gradient(180deg, #ffffff 0%, #f8fafb 100%);
  box-shadow: 0 1px 2px rgb(31 43 55 / 8%), 0 20px 50px rgb(31 43 55 / 9%);
}

.matrix-panel > .panel-title-row {
  border-bottom: 1px solid var(--line-soft);
  border-radius: 12px 12px 0 0;
  background:
    linear-gradient(90deg, rgb(255 230 0 / 13%) 0%, transparent 34%),
    #ffffff;
}

.matrix-control-strip {
  border-radius: 8px;
  padding: 12px;
  background: #f5f7f9;
}

.facilitator-matrix {
  border-radius: 10px;
  box-shadow: var(--shadow-inset);
}

.session-admin-console {
  display: grid;
  gap: 14px;
}

.session-admin-console .operations-heading-card,
.session-admin-console .session-admin-accordion.panel {
  border-radius: 11px;
  box-shadow: 0 1px 2px rgb(31 43 55 / 7%), 0 14px 30px rgb(31 43 55 / 6%);
}

.session-admin-console .session-admin-accordion-summary {
  min-height: 72px;
  padding: 18px 20px;
}

.state-action-board {
  gap: 8px;
  padding: 10px;
  background:
    linear-gradient(180deg, #f9fbfc 0%, #eef2f5 100%);
}

.state-action-board .state-button {
  min-height: 62px;
  border-radius: 8px;
  background:
    linear-gradient(180deg, #ffffff 0%, #f8fafb 100%);
}

.session-command-ribbon a {
  border: 1px solid var(--line-soft);
  border-radius: 10px;
}

.consensus-agenda-summary {
  border-radius: 10px 10px 0 0;
}

@media (max-width: 1320px) {
  .people-command-center {
    grid-template-columns: 1fr;
  }
}

/* ADP-PROD-0121 person-detail command workspace redesign. */
.person-command-center {
  display: grid;
  grid-template-columns: minmax(280px, 0.9fr) minmax(360px, 1.1fr) minmax(360px, 1.1fr);
  gap: 18px;
  align-items: stretch;
}

.person-command-lede {
  display: grid;
  align-content: center;
  gap: 8px;
  min-width: 0;
}

.person-command-lede h2 {
  margin: 0;
  font-size: clamp(30px, 2.8vw, 44px);
  line-height: 1;
}

.person-command-lede p {
  margin: 0;
  color: #5d6d7c;
  font-size: 15px;
}

.person-command-actions {
  margin-top: 8px;
}

.person-command-summary {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

.person-command-summary span {
  display: grid;
  gap: 5px;
  min-height: 78px;
  align-content: center;
  border: 1px solid var(--line-soft);
  border-radius: 10px;
  padding: 13px 14px;
  background: #ffffff;
  color: var(--muted);
  font-size: 11px;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  box-shadow: 0 1px 2px rgb(31 43 55 / 5%);
}

.person-command-summary strong {
  color: var(--ink);
  font-size: 20px;
  line-height: 1.05;
  letter-spacing: 0;
  text-transform: none;
}

.person-command-nav {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  align-content: center;
}

.person-command-nav a {
  display: flex;
  min-height: 58px;
  align-items: center;
  justify-content: space-between;
  border: 1px solid var(--line-soft);
  border-radius: 10px;
  padding: 13px 14px;
  background:
    linear-gradient(180deg, #ffffff 0%, #f8fafb 100%);
  color: var(--ink);
  font-weight: 900;
  text-decoration: none;
  box-shadow: 0 1px 2px rgb(31 43 55 / 5%);
}

.person-command-nav a::after {
  color: var(--muted);
  content: "Go";
  font-size: 10px;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.person-command-nav a:hover,
.person-command-nav a:focus-visible {
  border-color: rgb(255 230 0 / 82%);
  background:
    linear-gradient(135deg, rgb(255 230 0 / 20%) 0%, transparent 40%),
    #ffffff;
}

#person-welcome-access,
#person-access-rights,
#person-current-access,
#person-history {
  scroll-margin-top: 104px;
}

#person-welcome-access {
  margin-top: 0;
}

.person-command-center + .module-layout .people-view-panel {
  display: grid;
  gap: 18px;
}

.person-command-center + .module-layout .people-detail-context-strip {
  grid-template-columns: minmax(260px, 0.65fr) minmax(360px, 1fr);
}

.person-command-center + .module-layout .people-detail-context-strip > div,
.person-command-center + .module-layout .people-access-console {
  border: 1px solid var(--line-soft);
}

@media (max-width: 1320px) {
  .person-command-center {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 720px) {
  .person-command-summary,
  .person-command-nav,
  .person-command-center + .module-layout .people-detail-context-strip {
    grid-template-columns: 1fr;
  }
}

/* ADP-PROD-0122..0126 People and access management Wave 1. */
.people-workbench-command {
  position: relative;
  overflow: clip;
}

.people-command-priority {
  display: grid;
  gap: 4px;
  max-width: 520px;
  border: 1px solid rgb(255 230 0 / 42%);
  border-left: 5px solid var(--accent);
  border-radius: 9px;
  margin-top: 14px;
  padding: 12px 13px;
  background:
    linear-gradient(135deg, rgb(255 230 0 / 18%) 0%, rgb(255 255 255 / 70%) 55%),
    #ffffff;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.4;
}

.people-command-priority strong {
  color: var(--ink);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.people-workbench-nav {
  position: sticky;
  z-index: 9;
  top: 0;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1px;
  border: 1px solid var(--line-soft);
  border-radius: 9px;
  margin: 0 0 14px;
  overflow: hidden;
  background: var(--line-soft);
  box-shadow: 0 4px 18px rgb(31 43 55 / 6%);
}

.people-workbench-nav a {
  display: grid;
  gap: 3px;
  min-height: 62px;
  align-content: center;
  padding: 12px 14px;
  background:
    linear-gradient(180deg, #ffffff 0%, #f8fafb 100%);
  color: var(--ink);
  text-decoration: none;
  transition: background var(--motion-fast), box-shadow var(--motion-fast), transform var(--motion-fast);
}

.people-workbench-nav a:hover,
.people-workbench-nav a:focus-visible {
  z-index: 1;
  background:
    linear-gradient(135deg, rgb(255 230 0 / 16%) 0%, #ffffff 44%);
  box-shadow: inset 0 3px 0 var(--accent), var(--shadow-low);
}

.people-workbench-nav span {
  font-size: 14px;
  font-weight: 900;
}

.people-workbench-nav small {
  color: var(--muted);
  font-size: 11px;
  font-weight: 750;
  line-height: 1.25;
}

#people-directory,
#people-access-rights-workspace,
#people-invitations-workspace,
#people-imports-workspace {
  scroll-margin-top: 112px;
}

.people-directory-command-strip {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 16px;
  align-items: center;
  border: 1px solid var(--line-soft);
  border-radius: 9px;
  margin: 12px 0 16px;
  padding: 12px 14px;
  background:
    linear-gradient(90deg, rgb(255 230 0 / 10%) 0%, rgb(255 255 255 / 74%) 38%),
    #ffffff;
}

.people-directory-command-strip .panel-note {
  margin: 0;
}

.people-access-workbench {
  gap: 18px;
}

.people-access-pathway {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.people-access-pathway li {
  display: grid;
  gap: 4px;
  border: 1px solid var(--line-soft);
  border-radius: 10px;
  padding: 13px 14px;
  background:
    linear-gradient(180deg, #ffffff 0%, #f8fafb 100%);
  box-shadow: 0 1px 2px rgb(31 43 55 / 5%);
}

.people-access-pathway strong {
  color: var(--ink);
  font-size: 13px;
  font-weight: 900;
}

.people-access-pathway span {
  color: var(--muted);
  font-size: 12px;
  line-height: 1.35;
}

.people-access-workbench .people-rights-lanes {
  margin-top: 0;
}

.people-access-workbench .people-assignment-accordion {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.people-access-workbench .people-assignment-card {
  min-width: 0;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 1px 2px rgb(31 43 55 / 5%), 0 18px 34px rgb(31 43 55 / 5%);
}

.people-access-workbench .people-assignment-card summary {
  min-height: 86px;
  padding: 17px 18px;
  background:
    linear-gradient(90deg, var(--accent) 0 5px, transparent 5px),
    linear-gradient(180deg, #ffffff 0%, #f8fafb 100%);
}

.people-access-workbench .people-assignment-card .stack {
  padding: 16px;
}

.people-access-workbench .inline-form-grid {
  grid-template-columns: 1fr;
}

.people-access-workbench label,
.people-access-workbench select,
.people-access-workbench input,
.people-access-workbench button {
  min-width: 0;
}

.people-access-workbench button[type="submit"] {
  justify-self: start;
  min-height: 44px;
}

.people-roster-card-v2 {
  align-items: stretch;
}

.people-roster-card-v2 .people-roster-identity {
  align-content: center;
}

.people-roster-card-v2 .people-roster-actions {
  align-content: center;
  gap: 8px;
}

.people-roster-actions .primary-row-action {
  border-color: rgb(37 49 61 / 18%);
  background: var(--slate);
  color: #ffffff;
}

.people-roster-actions .primary-row-action:hover,
.people-roster-actions .primary-row-action:focus-visible {
  background: #18232e;
  color: #ffffff;
}

.people-roster-actions .secondary-row-action {
  color: var(--muted);
}

@media (max-width: 1320px) {
  .people-workbench-nav,
  .people-access-pathway,
  .people-access-workbench .people-assignment-accordion {
    grid-template-columns: 1fr;
  }

  .people-directory-command-strip {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 760px) {
  .people-workbench-nav {
    position: relative;
    top: auto;
  }
}

/* ADP-PROD-0127 prototype-informed executive cockpit convergence.
   Uses the reviewed prototype as visual direction while preserving the
   existing DOM, routes, forms, and JavaScript selectors. */
:root {
  --prototype-yellow: #ffe600;
  --prototype-black: #1a1a24;
  --prototype-ink: #2e2e38;
  --prototype-panel: #ffffff;
  --prototype-canvas: #f6f6fa;
  --prototype-canvas-2: #f1f2f6;
  --prototype-line: #d7d7dc;
  --prototype-line-strong: #b8bdc7;
  --prototype-muted: #657386;
  --prototype-blue: #4696ff;
  --prototype-green: #16875d;
  --prototype-orange: #ff7d1e;
  --prototype-red: #c0392b;
  --prototype-magenta: #ff32ff;
  --prototype-ease: cubic-bezier(0.16, 1, 0.3, 1);
  --prototype-fast: 150ms var(--prototype-ease);
  --prototype-med: 260ms var(--prototype-ease);
  --prototype-shadow-1: 0 1px 2px rgb(26 26 36 / 7%), 0 3px 10px rgb(26 26 36 / 5%);
  --prototype-shadow-2: 0 8px 24px rgb(26 26 36 / 10%), 0 2px 6px rgb(26 26 36 / 7%);
  --prototype-shadow-3: 0 18px 52px rgb(26 26 36 / 16%), 0 6px 18px rgb(26 26 36 / 8%);
}

body.app-shell-body {
  background:
    radial-gradient(circle at 18% -8%, rgb(255 255 255 / 70%), transparent 28%),
    linear-gradient(180deg, var(--prototype-canvas) 0%, var(--prototype-canvas-2) 100%);
  color: var(--prototype-ink);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

body.app-shell-body::before {
  position: fixed;
  inset: 0 0 auto;
  z-index: 1200;
  height: 3px;
  background: linear-gradient(
    90deg,
    var(--prototype-yellow) 0%,
    var(--prototype-yellow) 26%,
    var(--prototype-orange) 50%,
    var(--prototype-magenta) 74%,
    var(--prototype-blue) 100%
  );
  content: "";
  pointer-events: none;
}

body.app-shell-body ::selection {
  background: var(--prototype-yellow);
  color: var(--prototype-ink);
}

.app-shell {
  background: var(--prototype-canvas);
}

.app-main {
  background:
    linear-gradient(90deg, rgb(26 26 36 / 2%) 0 1px, transparent 1px) 0 0 / 40px 40px,
    var(--prototype-canvas);
}

.app-shell .page {
  max-width: 1640px;
}

.sidebar {
  border-right-color: rgb(255 255 255 / 8%);
  background: var(--prototype-black);
  box-shadow: 8px 0 24px rgb(26 26 36 / 12%);
}

.sidebar-header,
.sidebar-search,
.side-user {
  background: transparent;
}

.sidebar-header {
  border-bottom-color: rgb(255 255 255 / 12%);
}

.sidebar-search {
  border-bottom-color: rgb(255 255 255 / 10%);
}

.sidebar-search input {
  border-color: rgb(255 255 255 / 14%);
  background-color: rgb(255 255 255 / 8%);
  color: #ffffff;
}

.sidebar-search input::placeholder {
  color: rgb(255 255 255 / 54%);
}

.sidebar .brand-title,
.sidebar .brand-kicker,
.side-user strong,
.side-user small {
  color: #ffffff;
}

.sidebar .brand-kicker,
.side-user small {
  color: rgb(255 255 255 / 58%);
}

.brand-mark {
  border-color: rgb(255 255 255 / 12%);
  background:
    linear-gradient(145deg, rgb(255 255 255 / 10%) 0%, rgb(255 255 255 / 2%) 100%),
    var(--prototype-black);
}

.brand-mark::before {
  background: var(--prototype-yellow);
}

.side-nav a,
.offering-nav a {
  color: rgb(255 255 255 / 72%);
}

.side-nav a:hover,
.side-nav a.active,
.offering-nav a:hover,
.offering-nav a.active {
  border-color: rgb(255 255 255 / 12%);
  background: rgb(255 255 255 / 8%);
  color: #ffffff;
}

.side-nav a.active,
.offering-nav a.active {
  box-shadow: inset 4px 0 0 var(--prototype-yellow);
}

.nav-symbol {
  color: rgb(255 255 255 / 66%);
}

.side-section-title {
  color: rgb(255 255 255 / 48%);
}

.side-user {
  border-top-color: rgb(255 255 255 / 10%);
}

.side-user .avatar {
  background: rgb(255 255 255 / 10%);
  color: #ffffff;
}

.topbar.app-topbar {
  border-bottom: 1px solid var(--prototype-line);
  background: rgb(255 255 255 / 88%);
  box-shadow: 0 1px 2px rgb(26 26 36 / 6%);
  backdrop-filter: blur(14px);
}

.topbar-command-nav a,
.workspace-tabs a,
.people-workspace-tabs a,
.facilitator-view-tabs a,
.module-section-nav a,
.people-workbench-nav a {
  transition:
    transform var(--prototype-fast),
    border-color var(--prototype-fast),
    background var(--prototype-fast),
    box-shadow var(--prototype-fast),
    color var(--prototype-fast);
}

.topbar-command-nav a:hover,
.topbar-command-nav a:focus-visible,
.workspace-tabs a:hover,
.workspace-tabs a:focus-visible,
.people-workspace-tabs a:hover,
.people-workspace-tabs a:focus-visible,
.facilitator-view-tabs a:hover,
.facilitator-view-tabs a:focus-visible,
.module-section-nav a:hover,
.module-section-nav a:focus-visible,
.people-workbench-nav a:hover,
.people-workbench-nav a:focus-visible {
  transform: translateY(-1px);
}

.app-shell-body .hero-row,
.workbench-title-row,
.facilitator-hero {
  position: relative;
  overflow: hidden;
  min-height: 184px;
  border: 0;
  border-radius: 0;
  margin: 0 -28px 22px;
  padding: 32px 36px 34px;
  background:
    radial-gradient(circle at 18% 12%, rgb(255 230 0 / 20%), transparent 26%),
    radial-gradient(circle at 86% 18%, rgb(70 150 255 / 16%), transparent 28%),
    linear-gradient(135deg, #30303b 0%, var(--prototype-black) 56%, #101018 100%);
  color: #ffffff;
  box-shadow: var(--prototype-shadow-3);
}

.app-shell-body .hero-row::before,
.workbench-title-row::before,
.facilitator-hero::before {
  position: absolute;
  inset: 0 0 auto;
  height: 3px;
  background: linear-gradient(
    90deg,
    var(--prototype-yellow) 0%,
    var(--prototype-yellow) 34%,
    var(--prototype-orange) 58%,
    var(--prototype-magenta) 78%,
    var(--prototype-blue) 100%
  );
  content: "";
}

.app-shell-body .hero-row::after,
.workbench-title-row::after,
.facilitator-hero::after {
  position: absolute;
  inset: auto 0 0;
  height: 54%;
  background:
    linear-gradient(180deg, transparent 0%, rgb(255 255 255 / 4%) 100%),
    repeating-linear-gradient(90deg, rgb(255 255 255 / 4%) 0 1px, transparent 1px 36px);
  content: "";
  pointer-events: none;
}

.app-shell-body .hero-row > *,
.workbench-title-row > *,
.facilitator-hero > * {
  position: relative;
  z-index: 1;
}

.app-shell-body .hero-row h1,
.workbench-title-row h1,
.facilitator-hero h1 {
  max-width: 920px;
  color: #ffffff;
  font-size: clamp(34px, 3.2vw, 54px);
  letter-spacing: -0.02em;
  line-height: 0.98;
}

.app-shell-body .hero-row p,
.facilitator-hero p {
  max-width: 780px;
  color: rgb(255 255 255 / 76%);
}

.app-shell-body .hero-row .eyebrow,
.facilitator-hero .eyebrow {
  color: rgb(255 255 255 / 68%);
}

.app-shell-body .hero-row .link-button,
.workbench-title-row .link-button,
.workbench-actions .link-button {
  border-color: rgb(255 255 255 / 18%);
  background: rgb(255 255 255 / 9%);
  color: #ffffff;
  box-shadow: none;
}

.app-shell-body .hero-row .link-button:hover,
.workbench-title-row .link-button:hover,
.workbench-actions .link-button:hover {
  border-color: rgb(255 230 0 / 72%);
  background: rgb(255 255 255 / 14%);
}

.workspace-tabs {
  margin-top: 18px;
  gap: 8px;
}

.workspace-tabs a {
  min-height: 38px;
  border: 1px solid rgb(255 255 255 / 16%);
  border-radius: 999px;
  padding: 8px 14px;
  background: rgb(255 255 255 / 8%);
  color: rgb(255 255 255 / 72%);
}

.workspace-tabs a.active {
  border-color: var(--prototype-yellow);
  background: var(--prototype-yellow);
  color: var(--prototype-ink);
  box-shadow: none;
}

.workspace-tabs a.active::after {
  display: none;
}

.experience-command-bar,
.experience-command-surface,
.module-command-hero,
.people-filter-toolbar,
.module-section-nav,
.people-workbench-nav,
.panel,
.workbench-panel,
.dashboard-panel,
.metric,
.signal-item,
.session-command-ribbon a,
.people-roster-card,
.selection-row,
.people-access-command-card,
.people-assignment-card,
.person-command-center,
.welcome-link-inline,
.matrix-panel,
.session-admin-accordion.panel {
  border: 1px solid var(--prototype-line);
  border-radius: 8px;
  background: var(--prototype-panel);
  box-shadow: var(--prototype-shadow-1);
}

.experience-command-surface,
.module-command-hero,
.people-command-center,
.person-command-center,
.studio-cockpit {
  border-top: 3px solid var(--prototype-yellow);
  background:
    linear-gradient(180deg, #ffffff 0%, #fbfbfd 100%);
}

.panel::before,
.module-card::before,
.app-shell-body .module-card::before,
.app-shell-body .panel::before {
  display: none;
}

.panel-title-row,
.workbench-panel > .panel-title-row,
.matrix-panel > .panel-title-row {
  border-bottom: 1px solid var(--prototype-line);
  background: #ffffff;
}

.panel-kicker,
.eyebrow,
th,
.status-pill,
.count-pill,
.app-context span,
.module-card-footer,
.metric span {
  color: var(--prototype-muted);
  font-weight: 700;
  letter-spacing: 0.09em;
}

table {
  border-collapse: separate;
  border-spacing: 0;
}

th {
  background: #fbfbfd;
  border-bottom: 1px solid var(--prototype-line);
}

td {
  border-bottom: 1px solid #eceef3;
}

tbody tr:hover {
  background: #f8f9fc;
}

button,
.link-button,
.panel-title-row a,
.record-link,
.copy-button {
  border-radius: 4px;
  transition:
    transform var(--prototype-fast),
    box-shadow var(--prototype-fast),
    border-color var(--prototype-fast),
    background var(--prototype-fast),
    color var(--prototype-fast),
    opacity var(--prototype-fast);
}

button:not(:disabled):hover,
.link-button:hover,
.panel-title-row a:hover,
.record-link:hover,
.copy-button:hover {
  transform: translateY(-1px);
  box-shadow: var(--prototype-shadow-2);
}

button:not(:disabled):active,
.link-button:active,
.copy-button:active {
  transform: translateY(0);
}

button,
.btn-current,
.primary-action,
.cockpit-primary-action {
  border-color: var(--prototype-black);
  background: var(--prototype-black);
  color: #ffffff;
}

.btn-secondary,
.link-button,
.panel-title-row a,
.selection-toolbar button,
.preset-chip,
.secondary-row-action,
.ghost-action {
  border-color: var(--prototype-line);
  background: #ffffff;
  color: var(--prototype-ink);
}

.btn-secondary:hover,
.link-button:hover,
.preset-chip:hover,
.selection-toolbar button:hover {
  border-color: var(--prototype-line-strong);
  color: var(--prototype-black);
}

button:focus-visible,
.link-button:focus-visible,
a:focus-visible,
input:focus,
select:focus,
textarea:focus {
  outline: 2px solid var(--prototype-yellow);
  outline-offset: 2px;
  box-shadow: 0 0 0 4px rgb(255 230 0 / 18%);
}

.status-pill {
  border-radius: 999px;
  background: #f7f8fb;
}

.status-active,
.status-pass,
.status-sent {
  border-color: rgb(22 135 93 / 24%);
  background: #eef8f3;
  color: #126849;
}

.status-warning,
.status-deferred {
  border-color: rgb(255 125 30 / 28%);
  background: #fff6ed;
  color: #8e4d0e;
}

.status-blocker,
.status-danger,
.status-failed {
  border-color: rgb(192 57 43 / 24%);
  background: #fff2f1;
  color: #972d23;
}

.people-command-center {
  grid-template-columns: minmax(360px, 1fr) minmax(260px, 0.58fr);
  gap: 18px;
}

.people-command-priority {
  border: 1px solid var(--prototype-line);
  border-left: 4px solid var(--prototype-yellow);
  border-radius: 8px;
  background: #fbfbfd;
}

.people-command-modes {
  grid-column: 1 / -1;
  grid-template-columns: repeat(5, minmax(0, 1fr));
}

.people-command-modes a {
  min-height: 92px;
  border-color: var(--prototype-line);
  border-radius: 8px;
  padding: 16px;
  background: #ffffff;
}

.people-command-modes a.active {
  border-color: var(--prototype-yellow);
  background:
    linear-gradient(180deg, #ffffff 0%, #fbfbfd 100%);
  box-shadow: inset 0 4px 0 var(--prototype-yellow), var(--prototype-shadow-2);
}

.people-command-modes a::before {
  display: none;
}

.people-command-status-grid span {
  border-radius: 6px;
}

.people-command-status-grid {
  grid-column: 2;
  grid-row: 1;
  align-self: start;
}

.people-filter-toolbar,
.module-section-nav,
.people-workbench-nav {
  position: sticky;
  top: 62px;
  z-index: 20;
  background: rgb(255 255 255 / 92%);
  backdrop-filter: blur(12px);
}

.people-workbench-nav {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.people-workbench-nav a {
  border-color: var(--prototype-line);
  border-left: 0;
  border-radius: 0;
  background: #ffffff;
}

.people-workbench-nav a:first-child {
  border-left: 1px solid var(--prototype-line);
  border-radius: 8px 0 0 8px;
}

.people-workbench-nav a:last-child {
  border-radius: 0 8px 8px 0;
}

.people-workbench-nav a:hover,
.people-workbench-nav a:focus-visible {
  background: #fbfbfd;
}

.preset-chip.active,
.people-filter-chip-row .preset-chip.active {
  border-color: var(--prototype-yellow);
  background: var(--prototype-yellow);
  color: var(--prototype-ink);
  box-shadow: none;
}

.people-roster-list {
  gap: 10px;
  padding: 16px;
}

.people-roster-card {
  border-left: 4px solid transparent;
  background: #ffffff;
}

.people-roster-card:hover {
  border-left-color: var(--prototype-yellow);
}

.people-roster-card.has-duplicate-email {
  border-color: rgb(255 125 30 / 40%);
  border-left-color: var(--prototype-orange);
  background: #ffffff;
}

.people-roster-identity > small,
.people-roster-context div,
.people-roster-activity,
.person-command-summary span,
.people-rights-referral-grid span {
  border-color: var(--prototype-line);
  background: #fbfbfd;
}

.people-roster-identity strong,
.people-command-modes span,
.person-command-lede h2 {
  letter-spacing: -0.015em;
}

.people-roster-actions .primary-row-action {
  background: var(--prototype-black);
}

.people-access-command-card,
.people-access-workbench .people-assignment-card {
  border-top: 3px solid var(--prototype-yellow);
}

.people-access-command-card.rights-admin,
.people-access-command-card.rights-facilitator,
.people-access-command-card.rights-session {
  background: #ffffff;
}

.people-assignment-card > summary,
.session-admin-accordion-summary,
.consensus-agenda-summary,
.readiness-detail > summary,
.invite-preview > summary,
.technical-details > summary {
  background: #ffffff;
}

.people-assignment-card > summary::after,
.session-admin-accordion-summary::after,
.consensus-agenda-summary::after,
.readiness-detail > summary::after,
.invite-preview > summary::after,
.technical-details > summary::after {
  border-color: var(--prototype-line);
  background: #fbfbfd;
}

.facilitator-view-tabs {
  position: sticky;
  top: 62px;
  z-index: 22;
  border: 1px solid var(--prototype-line);
  border-radius: 8px;
  padding: 6px;
  background: rgb(255 255 255 / 92%);
  backdrop-filter: blur(12px);
}

.facilitator-view-tabs a {
  border-radius: 5px;
}

.facilitator-view-tabs a:first-child {
  border-color: var(--prototype-black);
  background: var(--prototype-black);
  color: #ffffff;
}

.session-command-ribbon a {
  min-height: 76px;
}

.session-command-ribbon a:hover,
.session-command-ribbon a:focus-visible {
  border-color: var(--prototype-yellow);
  box-shadow: var(--prototype-shadow-2);
}

.session-admin-accordion.panel {
  overflow: hidden;
}

.session-admin-accordion-summary {
  border: 0;
  border-bottom: 1px solid var(--prototype-line);
  border-radius: 0;
}

.session-admin-accordion-summary strong {
  font-size: 18px;
  letter-spacing: -0.01em;
}

.state-action-board {
  border: 1px solid var(--prototype-line);
  border-radius: 8px;
  background: #fbfbfd;
}

.state-action-board .state-button {
  min-height: 68px;
  border-color: var(--prototype-line);
  background: #ffffff;
  color: var(--prototype-ink);
  box-shadow: none;
}

.state-action-board .state-button.btn-current {
  border-color: var(--prototype-black);
  background: var(--prototype-black);
  color: #ffffff;
}

.control-warning {
  color: #8e4d0e;
}

.matrix-panel {
  overflow: hidden;
}

.matrix-control-strip {
  border: 1px solid var(--prototype-line);
  background: #fbfbfd;
}

.segmented-control button.active {
  border-color: var(--prototype-black);
  background: var(--prototype-black);
  color: #ffffff;
}

.facilitator-matrix {
  border: 1px solid var(--prototype-line);
  background:
    linear-gradient(90deg, rgb(26 26 36 / 4%) 1px, transparent 1px) 0 0 / 44px 44px,
    linear-gradient(0deg, rgb(26 26 36 / 3%) 1px, transparent 1px) 0 0 / 44px 44px,
    #ffffff;
}

.matrix-marker {
  border-color: var(--prototype-ink);
  background: #ffffff;
}

.matrix-marker.centroid-marker,
.matrix-marker.ratified-marker {
  border-color: #c7b600;
  background: var(--prototype-yellow);
  color: var(--prototype-ink);
}

.decision-spread-halo {
  border-color: rgb(70 150 255 / 30%);
  background: rgb(70 150 255 / 8%);
}

.consensus-ranking-panel tr:first-child td {
  border-top: 0;
}

.app-toast {
  border-radius: 8px;
  box-shadow: var(--prototype-shadow-3);
}

@media (max-width: 1320px) {
  .people-filter-toolbar,
  .module-section-nav,
  .people-workbench-nav,
  .facilitator-view-tabs {
    position: static;
  }

  .people-workbench-nav {
    grid-template-columns: 1fr;
  }

  .people-workbench-nav a,
  .people-workbench-nav a:first-child,
  .people-workbench-nav a:last-child {
    border: 1px solid var(--prototype-line);
    border-radius: 8px;
  }
}

@media (max-width: 760px) {
  .app-shell-body .hero-row,
  .workbench-title-row,
  .facilitator-hero {
    min-height: 148px;
    margin-right: -16px;
    margin-left: -16px;
    padding: 24px 18px;
  }

  .app-shell-body .hero-row h1,
  .workbench-title-row h1,
  .facilitator-hero h1 {
    font-size: clamp(28px, 12vw, 40px);
  }

  .workspace-tabs {
    gap: 6px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .topbar-command-nav a,
  .workspace-tabs a,
  .people-workspace-tabs a,
  .facilitator-view-tabs a,
  .module-section-nav a,
  .people-workbench-nav a,
  button,
  .link-button,
  .panel-title-row a,
  .record-link,
  .copy-button {
    transition: none;
  }

  button:not(:disabled):hover,
  .link-button:hover,
  .panel-title-row a:hover,
  .record-link:hover,
  .copy-button:hover,
  .topbar-command-nav a:hover,
  .workspace-tabs a:hover,
  .people-workspace-tabs a:hover,
  .facilitator-view-tabs a:hover,
  .module-section-nav a:hover,
  .people-workbench-nav a:hover {
    transform: none;
  }
}
