* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: "Avenir Next", "Segoe UI", sans-serif;
  background: #f4f7fb;
  color: #1f3f5f;
}

header {
  padding: 16px 20px 8px;
}

h1 {
  margin: 0;
  font-size: 28px;
}

h2 {
  margin: 0 0 10px;
  font-size: 20px;
}

p {
  margin: 6px 0 0;
  color: #48617c;
}

.panel {
  background: #ffffff;
  border: 1px solid #d8e1ec;
  border-radius: 10px;
  padding: 14px;
  margin: 12px 20px;
}

.utility-panel {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.row {
  display: grid;
  grid-template-columns: 160px 1fr;
  align-items: center;
  gap: 10px;
  margin-bottom: 10px;
}

label {
  font-weight: 600;
  color: #2d4d6a;
}

input,
select,
textarea {
  width: 100%;
  border: 1px solid #c8d4e2;
  border-radius: 6px;
  background: #ffffff;
  color: #19364f;
  padding: 8px;
}

button {
  border: none;
  border-radius: 6px;
  background: #0f5fa8;
  color: #ffffff;
  padding: 8px 12px;
  font-weight: 700;
  cursor: pointer;
}

button:disabled {
  cursor: not-allowed;
  opacity: 0.65;
}

.secondary-btn {
  background: #edf3fb;
  color: #1f3f5f;
  border: 1px solid #d8e1ec;
}

.value-chip {
  background: #eef4fb;
  border: 1px solid #d2deec;
  border-radius: 6px;
  color: #24445f;
  padding: 8px 10px;
  min-height: 38px;
  display: flex;
  align-items: center;
}

.actions {
  display: flex;
  gap: 8px;
}

.utility-actions {
  align-items: center;
  flex-wrap: wrap;
}

.support-panel {
  border-top: 1px solid #dfe8f3;
  padding-top: 12px;
}

.help-shell {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.help-section h3 {
  margin: 0 0 10px;
  color: #1f4568;
  font-size: 18px;
}

.help-card-grid,
.help-action-grid {
  display: grid;
  gap: 12px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.help-card,
.help-action-card {
  border: 1px solid #d9e3ee;
  border-radius: 14px;
  background: #fbfdff;
  padding: 14px;
}

.help-card-title,
.help-action-title {
  margin-bottom: 8px;
  font-size: 14px;
  font-weight: 800;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.help-card-copy {
  color: #4b647d;
  line-height: 1.5;
}

.help-card-core {
  background: linear-gradient(180deg, #f7fbff 0%, #edf5fe 100%);
  border-color: #cfe0f2;
}

.help-card-core .help-card-title {
  color: #355b80;
}

.help-card-operational {
  background: linear-gradient(180deg, #f8fcff 0%, #eef8f7 100%);
  border-color: #cfe7e1;
}

.help-card-operational .help-card-title {
  color: #356a63;
}

.help-card-cx {
  background: linear-gradient(180deg, #fffaf4 0%, #f8efe1 100%);
  border-color: #ebd8bd;
}

.help-card-cx .help-card-title {
  color: #7a5528;
}

.help-card-review {
  background: linear-gradient(180deg, #fbfbff 0%, #f2f0fb 100%);
  border-color: #ddd8ee;
}

.help-card-review .help-card-title {
  color: #62518b;
}

.help-list {
  margin: 0;
  padding-left: 18px;
  color: #31506c;
}

.help-list li + li {
  margin-top: 7px;
}

.help-list-numbered {
  padding-left: 22px;
}

.help-system-section {
  border-top: 1px solid #e1e9f2;
  padding-top: 14px;
}

.tab-bar {
  display: flex;
  gap: 8px;
  overflow-x: auto;
}

.focus-tab-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 14px;
}

.focus-tab-btn {
  border: 1px solid #d7e1ed;
  background: #f4f7fb;
  color: #355371;
  border-radius: 999px;
  padding: 10px 16px;
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  box-shadow: none;
}

.focus-tab-btn.active {
  background: #1f4f80;
  border-color: #1f4f80;
  color: #ffffff;
}

.grouped-tab-bar {
  display: block;
}

.tab-group {
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 12px;
  border: 1px solid #d7e2ef;
  border-radius: 12px;
  background: linear-gradient(180deg, #f8fbff 0%, #eef4fb 100%);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.85);
  position: relative;
}

.tab-group::before {
  content: "";
  display: block;
  width: 44px;
  height: 4px;
  border-radius: 999px;
  background: #97b7db;
}

.tab-group-label {
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #5f7993;
  margin-top: 2px;
}

.tab-group-buttons {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.tab-group-core {
  background: linear-gradient(180deg, #f7fbff 0%, #edf5fe 100%);
  border-color: #cfe0f2;
}

.tab-group-core::before {
  background: #0f5fa8;
}

.tab-group-core .tab-group-label {
  color: #365b7f;
}

.tab-group-operational {
  background: linear-gradient(180deg, #f8fcff 0%, #eef8f7 100%);
  border-color: #cfe7e1;
}

.tab-group-operational::before {
  background: #2b8c7f;
}

.tab-group-operational .tab-group-label {
  color: #356a63;
}

.tab-group-cx {
  background: linear-gradient(180deg, #fffaf4 0%, #f8efe1 100%);
  border-color: #ebd8bd;
}

.tab-group-cx::before {
  background: #b7681b;
}

.tab-group-cx .tab-group-label {
  color: #7a5528;
}

.tab-group-review {
  background: linear-gradient(180deg, #fbfbff 0%, #f2f0fb 100%);
  border-color: #ddd8ee;
}

.tab-group-review::before {
  background: #6951a8;
}

.tab-group-review .tab-group-label {
  color: #62518b;
}

.tab-group-governance {
  background: #f8fbf7;
  border-color: #d6e5d0;
}

.tab-group-governance::before {
  background: #4f7d3a;
}

.tab-group-governance .tab-group-label {
  color: #4f6d3f;
}

.tab-group-operational .tab-btn {
  background: #edf7f5;
  border-color: #d1e8e1;
  color: #295d55;
}

.tab-group-cx .tab-btn {
  background: #fbf1e5;
  border-color: #ead2b1;
  color: #6b4a21;
  white-space: normal;
  line-height: 1.2;
  text-align: center;
}

.tab-group-review .tab-btn {
  background: #f1eef9;
  border-color: #ddd5f0;
  color: #51437b;
}

.tab-group-governance .tab-btn {
  background: #eef7ec;
  border-color: #d5e7cf;
  color: #3d6330;
}

.tab-btn {
  background: #edf3fb;
  color: #1f3f5f;
  border: 1px solid #d8e1ec;
  white-space: nowrap;
  box-shadow: none;
}

.tab-btn.active {
  background: #0f5fa8;
  color: #ffffff;
  border-color: #0f5fa8;
}

.tab-group-operational .tab-btn.active {
  background: #2b8c7f;
  border-color: #2b8c7f;
  color: #ffffff;
}

.tab-group-cx .tab-btn.active {
  background: #b7681b;
  border-color: #b7681b;
  color: #ffffff;
}

.tab-group-review .tab-btn.active {
  background: #6951a8;
  border-color: #6951a8;
  color: #ffffff;
}

.tab-group-governance .tab-btn.active {
  background: #4f7d3a;
  border-color: #4f7d3a;
  color: #ffffff;
}

.subtab-bar {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-bottom: 10px;
}

.subtab-btn {
  background: #edf3fb;
  color: #1f3f5f;
  border: 1px solid #d8e1ec;
  white-space: nowrap;
}

.subtab-btn.active {
  background: #0f5fa8;
  color: #ffffff;
  border-color: #0f5fa8;
}

.table-wrap {
  border: 1px solid #d8e1ec;
  border-radius: 8px;
  overflow: auto;
  max-height: 360px;
}

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

th,
td {
  border-bottom: 1px solid #dfe8f3;
  padding: 8px;
  text-align: left;
}

thead {
  background: #ecf3fb;
}

.table-wrap thead th {
  position: sticky;
  top: 0;
  z-index: 2;
  background: #ecf3fb;
}

.tasks-table {
  table-layout: fixed;
}

.tasks-table th:nth-child(1),
.tasks-table td:nth-child(1) {
  width: 22%;
}

.tasks-table th:nth-child(2),
.tasks-table td:nth-child(2) {
  width: 10%;
}

.tasks-table th:nth-child(3),
.tasks-table td:nth-child(3) {
  width: 54%;
}

.tasks-table th:nth-child(4),
.tasks-table td:nth-child(4) {
  width: 14%;
}

.task-summary {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.task-summary-line {
  font-size: 13px;
  color: #1f3f5f;
}

.task-summary-label {
  font-weight: 700;
}

.task-summary-cell {
  vertical-align: top;
}

.task-scope-cell {
  white-space: normal;
  line-height: 1.35;
  vertical-align: top;
}

.clarification-details {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.clarification-line {
  color: #1f3f5f;
  line-height: 1.35;
}

.clarification-label {
  font-weight: 800;
}

.explanation-details {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.explanation-task-id {
  font-weight: 800;
  color: #1d3b58;
}

.explanation-insights {
  margin: 0;
  padding-left: 18px;
  color: #284763;
}

.explanation-insights li {
  margin: 0 0 4px;
}

.explanation-line {
  color: #47617b;
}

.explanation-tweak {
  margin-left: 20px;
  color: #2d4d6a;
  display: flex;
  gap: 8px;
  align-items: flex-start;
}

.explanation-tweak::before {
  content: "➜";
  color: #356b97;
  font-weight: 700;
  line-height: 1.2;
  flex: 0 0 auto;
}

.row-actions {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.risk-pill {
  display: inline-block;
  border-radius: 999px;
  padding: 4px 10px;
  font-size: 12px;
  font-weight: 700;
  border: 1px solid transparent;
}

.risk-red {
  background: #f8dfe2;
  color: #8d1f2d;
  border-color: #e8b7be;
}

.risk-orange {
  background: #fdecd9;
  color: #8b4e12;
  border-color: #efcca4;
}

.risk-green {
  background: #dff4e4;
  color: #21623b;
  border-color: #bbdfc8;
}

.risk-neutral {
  background: #ecf2f8;
  color: #32506d;
  border-color: #cbd9e8;
}

.dependency-panel {
  margin-top: 12px;
  border: 1px solid #d8e1ec;
  border-radius: 10px;
  background: #f7fbff;
  padding: 12px;
}

.dependency-panel h3 {
  margin: 0 0 8px;
  font-size: 18px;
}

.dep-graph-wrap {
  margin-bottom: 12px;
  border: 1px solid #d6e2ef;
  border-radius: 10px;
  background: #ffffff;
  min-height: 180px;
  overflow: auto;
}

.dep-graph {
  display: block;
  width: 100%;
  min-width: 760px;
  height: auto;
}

.dep-edge {
  fill: none;
  stroke-width: 2;
  stroke: #90a7c0;
}

.dep-edge-leading {
  stroke: #5f9f97;
}

.dep-edge-trailing {
  stroke: #6f86b6;
}

.dep-node-box {
  stroke-width: 1.2;
}

.dep-node-box-leading {
  fill: #e8f5f2;
  stroke: #b8ddd6;
}

.dep-node-box-trailing {
  fill: #edf1fb;
  stroke: #c1cee8;
}

.dep-node-box-selected {
  fill: #fff1dc;
  stroke: #e8c892;
}

.dep-node-text {
  fill: #213f5a;
  font-size: 12px;
  font-weight: 600;
}

.dependency-flow {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  gap: 12px;
  align-items: start;
}

.dependency-column h4 {
  margin: 0 0 8px;
  font-size: 14px;
  color: #2b4a67;
}

.dependency-center {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 6px;
  min-width: 180px;
}

.dep-arrow {
  font-size: 20px;
  font-weight: 700;
  color: #5f7892;
}

.dep-chip-list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.dep-chip {
  display: inline-block;
  border-radius: 999px;
  padding: 4px 10px;
  font-size: 12px;
  font-weight: 600;
  border: 1px solid #bdd0e4;
  background: #eef4fb;
  color: #284863;
}

.dep-leading {
  background: #e8f5f2;
  border-color: #b9dfd8;
  color: #1f675d;
}

.dep-trailing {
  background: #edf1fb;
  border-color: #c1cde7;
  color: #334e81;
}

.dep-selected {
  background: #fff1dc;
  border-color: #f1d2a5;
  color: #805113;
  font-weight: 700;
}

.dep-none {
  background: #f2f5f8;
  border-color: #d5dde7;
  color: #5a6f84;
}

.hint {
  margin: 0 0 10px;
}

.feedback-modal {
  position: fixed;
  inset: 0;
  background: rgba(21, 39, 58, 0.48);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  z-index: 1000;
}

.feedback-modal-card {
  width: min(680px, 100%);
  background: #ffffff;
  border: 1px solid #d8e1ec;
  border-radius: 14px;
  box-shadow: 0 22px 48px rgba(22, 40, 63, 0.18);
  padding: 18px;
}

.feedback-modal-card h3 {
  margin: 0 0 8px;
  color: #1d3b58;
}

.feedback-row {
  align-items: start;
}

.feedback-row textarea {
  resize: vertical;
  min-height: 150px;
  line-height: 1.45;
}

.field-input-wrap {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.field-help {
  color: #4f667d;
  font-size: 13px;
  line-height: 1.45;
}

.risk-signal-mode-block {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.risk-signal-mode-toggle {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.risk-signal-mode-btn {
  border: 1px solid #c9d7e5;
  background: #ffffff;
  color: #31526f;
  border-radius: 999px;
  padding: 8px 14px;
  font-weight: 700;
}

.risk-signal-mode-btn.active {
  background: #dcecff;
  border-color: #9ec3ef;
  color: #154a7e;
}

.risk-signal-mode-hint {
  margin-bottom: 0;
}

.risk-signal-capture {
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin-bottom: 14px;
  padding: 14px;
  border: 1px solid #d8e1ec;
  border-radius: 18px;
  background: #f8fbff;
}

.risk-signal-form-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px 18px;
}

.risk-signal-actions {
  justify-content: flex-start;
  flex-wrap: wrap;
  align-items: center;
}

.risk-signal-actions button.is-busy {
  cursor: wait;
  opacity: 0.72;
}

.risk-signal-recompute-cutoff {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  width: auto;
  color: #31526f;
  font-size: 13px;
  font-weight: 700;
}

.risk-signal-recompute-cutoff input {
  width: 150px;
  min-height: 34px;
  padding: 6px 8px;
}

.risk-signal-edit-banner {
  border: 1px solid #d6e4f1;
  border-radius: 10px;
  background: #f7fbff;
  color: #244660;
  padding: 10px 12px;
  line-height: 1.4;
}

.risk-signal-batch-panel {
  border: 1px solid #d7e2ee;
  border-radius: 12px;
  background: #ffffff;
  padding: 12px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.risk-signal-batch-header {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: space-between;
  gap: 8px;
}

.risk-signal-batch-title {
  color: #1f4f80;
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.risk-signal-batch-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
  max-height: 260px;
  overflow: auto;
}

.risk-signal-batch-item {
  border: 1px solid #d8e1ec;
  border-radius: 10px;
  background: #f9fbfe;
  padding: 10px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.risk-signal-batch-item-top {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
}

.risk-signal-batch-item-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  color: #50677f;
  font-size: 13px;
}

.risk-signal-batch-actions {
  justify-content: flex-end;
}

.feedback-modal-meta {
  display: flex;
  gap: 10px;
  margin: 4px 0 14px;
}

.feedback-review-toolbar {
  margin-bottom: 10px;
}

.feedback-review-summary {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 10px;
}

.feedback-review-chip {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 7px 10px;
  border-radius: 999px;
  background: #edf3fb;
  border: 1px solid #d8e1ec;
  color: #24445f;
}

.field-note-filter-btn {
  cursor: pointer;
  font: inherit;
}

.field-note-filter-btn.active {
  background: #244d73;
  border-color: #244d73;
  color: #ffffff;
}

.field-note-filter-btn:focus-visible {
  outline: 3px solid rgba(36, 77, 115, 0.28);
  outline-offset: 2px;
}

.feedback-review-chip-label {
  font-weight: 700;
}

.feedback-review-chip-value {
  font-weight: 800;
}

.feedback-review-table {
  table-layout: fixed;
}

.feedback-review-table th:nth-child(1),
.feedback-review-table td:nth-child(1) {
  width: 18%;
  vertical-align: top;
}

.feedback-review-table th:nth-child(2),
.feedback-review-table td:nth-child(2) {
  width: 18%;
  vertical-align: top;
}

.feedback-review-table th:nth-child(3),
.feedback-review-table td:nth-child(3) {
  width: 40%;
  vertical-align: top;
}

.feedback-review-table th:nth-child(4),
.feedback-review-table td:nth-child(4) {
  width: 24%;
  vertical-align: top;
}

.risk-signals-table th:nth-child(1),
.risk-signals-table td:nth-child(1) {
  width: 16%;
}

.risk-signals-table th:nth-child(2),
.risk-signals-table td:nth-child(2) {
  width: 16%;
}

.risk-signals-table th:nth-child(3),
.risk-signals-table td:nth-child(3) {
  width: 31%;
}

.risk-signals-table th:nth-child(4),
.risk-signals-table td:nth-child(4) {
  width: 19%;
}

.risk-signals-table th:nth-child(5),
.risk-signals-table td:nth-child(5) {
  width: 18%;
  vertical-align: top;
}

.field-note-search-toolbar {
  display: grid;
  grid-template-columns: repeat(2, minmax(220px, 1fr));
  gap: 12px;
  margin: 12px 0;
  padding: 12px;
  border: 1px solid #d8e1ec;
  border-radius: 8px;
  background: #f8fbfd;
}

.field-note-search-toolbar .row {
  margin: 0;
}

.field-note-external-ref,
.field-note-observed-at {
  color: #173b57;
  font-weight: 800;
  overflow-wrap: anywhere;
}

.field-note-linked-task {
  color: #62758a;
  font-size: 12px;
}

.field-note-show-more-btn {
  margin-top: 6px;
}

.field-note-detail-block {
  margin-top: 6px;
  overflow-wrap: anywhere;
}

.signal-review-table th:nth-child(1),
.signal-review-table td:nth-child(1) {
  width: 39%;
}

.signal-review-table th:nth-child(2),
.signal-review-table td:nth-child(2) {
  width: 35%;
}

.signal-review-table th:nth-child(3),
.signal-review-table td:nth-child(3) {
  width: 26%;
}

.signal-review-table th,
.signal-review-table td {
  padding: 7px 6px;
}

.proposal-review-section + .proposal-review-section {
  margin-top: 18px;
}

.proposal-review-section-title {
  margin: 0 0 10px;
  color: #244d73;
  font-size: 16px;
}

.proposal-review-table th:nth-child(1),
.proposal-review-table td:nth-child(1) {
  width: 38%;
  vertical-align: top;
}

.proposal-review-table th:nth-child(2),
.proposal-review-table td:nth-child(2) {
  width: 36%;
  vertical-align: top;
}

.proposal-review-table th:nth-child(3),
.proposal-review-table td:nth-child(3) {
  width: 26%;
  vertical-align: top;
}

.proposal-review-table th,
.proposal-review-table td {
  padding: 8px 7px;
}

.proposal-transition-table th:nth-child(1),
.proposal-transition-table td:nth-child(1) {
  width: 34%;
  vertical-align: top;
}

.proposal-transition-table th:nth-child(2),
.proposal-transition-table td:nth-child(2) {
  width: 40%;
  vertical-align: top;
}

.proposal-transition-table th:nth-child(3),
.proposal-transition-table td:nth-child(3) {
  width: 26%;
  vertical-align: top;
}

.proposal-transition-table th,
.proposal-transition-table td {
  padding: 8px 7px;
}

.feedback-review-details {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.feedback-review-meta {
  color: #50677f;
  font-size: 13px;
  line-height: 1.35;
}

.feedback-review-reason {
  color: #2e4f6b;
  font-size: 13px;
  line-height: 1.35;
}

.feedback-review-impact-label {
  margin-top: 6px;
  color: #225d90;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.03em;
  text-transform: uppercase;
}

.feedback-review-impact-list {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.feedback-review-impact-item {
  border-left: 3px solid #8fb7dd;
  padding-left: 8px;
}

.feedback-review-impact-summary {
  color: #21435f;
  font-weight: 700;
  line-height: 1.35;
}

.feedback-review-impact-rationale {
  color: #4b647d;
  font-size: 13px;
  line-height: 1.35;
}

.proposal-review-change-list {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.proposal-review-change-item {
  border-left: 3px solid #99bbde;
  padding-left: 8px;
  color: #25445f;
  line-height: 1.35;
}

.feedback-review-title {
  font-weight: 800;
  color: #1d3b58;
}

.feedback-review-text {
  color: #25435e;
  line-height: 1.4;
  white-space: normal;
}

.feedback-review-evidence-label {
  margin-top: 6px;
  color: #234f7d;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.02em;
  text-transform: uppercase;
}

.feedback-review-evidence-list {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.feedback-review-evidence-line {
  color: #31536f;
  line-height: 1.35;
}

.feedback-review-fragment {
  color: #355774;
  line-height: 1.35;
  white-space: normal;
}

.compact-btn {
  align-self: flex-start;
  padding: 6px 10px;
  font-size: 12px;
  font-weight: 700;
}

.feedback-review-actions {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.signal-review-table .feedback-review-actions {
  gap: 5px;
}

.signal-review-table .feedback-review-select,
.signal-review-table .feedback-review-reason-input {
  font-size: 13px;
  padding: 6px 7px;
}

.signal-review-table .feedback-review-actions button {
  align-self: flex-start;
  padding: 6px 10px;
  font-size: 12px;
}

.signal-review-impact-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.signal-review-status {
  gap: 6px;
}

.signal-review-status-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
}

.signal-review-status-source {
  color: #21435f;
  font-size: 13px;
  font-weight: 800;
  line-height: 1.3;
}

.signal-review-status .review-status-badge {
  font-size: 11px;
  padding: 4px 8px;
}

.feedback-review-select,
.feedback-review-reason-input {
  width: 100%;
}

.review-status-badge {
  width: fit-content;
}

.review-status-created {
  background: #ecf2f8;
  color: #32506d;
  border-color: #cbd9e8;
}

.review-status-in_review {
  background: #e4eefc;
  color: #22568c;
  border-color: #bed3f4;
}

.review-status-approved {
  background: #d9efe0;
  color: #1f6840;
  border-color: #b6dbc3;
}

.review-status-partially_reviewed,
.review-status-review_required {
  background: #fff3dc;
  color: #8b5c14;
  border-color: #f1d5a1;
}

.review-status-parked {
  background: #fff3dc;
  color: #8b5c14;
  border-color: #f1d5a1;
}

.review-status-rejected,
.review-status-test_ignored {
  background: #f8dfe2;
  color: #8d1f2d;
  border-color: #e8b7be;
}

.review-status-resolved,
.association-status-associated {
  background: #dff4e4;
  color: #21623b;
  border-color: #bbdfc8;
}

.review-status-superseded {
  background: #ede7fb;
  color: #60478f;
  border-color: #d4c7ef;
}

.review-status-withdrawn {
  background: #f8e7d8;
  color: #8a4c18;
  border-color: #e7c5a3;
}

.review-status-active {
  background: #e4eefc;
  color: #22568c;
  border-color: #bed3f4;
}

.review-status-generated,
.review-status-refined,
.review-status-ready {
  background: #ecf2f8;
  color: #32506d;
  border-color: #cbd9e8;
}

.review-status-corroborated {
  background: #dff4e4;
  color: #21623b;
  border-color: #bbdfc8;
}

.review-status-needs_confirmation,
.review-status-tentative,
.review-status-medium {
  background: #fff3dc;
  color: #8b5c14;
  border-color: #f1d5a1;
}

.review-status-insufficient_evidence,
.review-status-blocked_by_conflict,
.review-status-conflict,
.review-status-high {
  background: #f8dfe2;
  color: #8d1f2d;
  border-color: #e8b7be;
}

.review-status-governed_hold,
.review-status-documented_pause {
  background: #f8e7d8;
  color: #8a4c18;
  border-color: #e7c5a3;
}

.review-status-resumed_after_hold {
  background: #e4eefc;
  color: #22568c;
  border-color: #bed3f4;
}

.review-status-variance,
.review-status-before_concealment,
.review-status-next_checkpoint,
.review-status-immediate,
.review-status-current,
.review-status-downstream,
.review-status-intended_end_state,
.review-status-historical_context,
.review-status-low {
  background: #fff7df;
  color: #6b4d00;
  border-color: #e7cf82;
}

.review-status-not_needed {
  background: #ecf2f8;
  color: #32506d;
  border-color: #cbd9e8;
}

.review-status-needs_more_input {
  background: #fff3dc;
  color: #8b5c14;
  border-color: #f1d5a1;
}

.risk-signal-lineage-meta {
  color: #4f6981;
  font-size: 13px;
  line-height: 1.35;
}

.risk-signal-history-row td {
  background: #f9fbfe;
}

.risk-signal-history-wrap {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.risk-signal-history-title {
  color: #244d73;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.risk-signal-history-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.risk-signal-history-item {
  border-left: 3px solid #b8cfe6;
  padding-left: 10px;
}

.risk-signal-history-top {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  margin-bottom: 6px;
}

.proposal-kind-badge {
  background: #e8f1fb;
  color: #1f5689;
  border-color: #c6d8f0;
}

.target-domain-badge {
  background: #eef5fb;
  color: #315873;
  border-color: #d4e1ee;
}

.target-domain-cx_risk {
  background: #e7f6f3;
  color: #21675f;
  border-color: #c9e6df;
}

.writeback-status-badge {
  background: #f0f4fb;
  color: #38516d;
  border-color: #d2ddec;
}

.writeback-status-approved_for_transition {
  background: #ddf2e3;
  color: #23633d;
  border-color: #bedfc9;
}

.writeback-status-applied,
.writeback-status-no_change {
  background: #ddf2e3;
  color: #23633d;
  border-color: #bedfc9;
}

.writeback-status-eligible_for_review,
.writeback-status-pending_review,
.writeback-status-pending_writeback,
.writeback-status-not_applied {
  background: #edf3fb;
  color: #31516f;
  border-color: #d4dfec;
}

.writeback-status-rejected_for_writeback {
  background: #f8dfe2;
  color: #8d1f2d;
  border-color: #e8b7be;
}

.writeback-status-superseded {
  background: #ede7fb;
  color: #60478f;
  border-color: #d4c7ef;
}

.persona-guidance-section {
  margin-top: 1rem;
}

.persona-guidance-filter-row {
  display: flex;
  flex-wrap: wrap;
  align-items: end;
  justify-content: space-between;
  gap: 12px;
  margin: 0.75rem 0 1rem;
}

.persona-guidance-filter {
  display: flex;
  flex-direction: column;
  gap: 6px;
  font-size: 0.95rem;
  color: #38516d;
}

.persona-guidance-filter select {
  min-width: 180px;
}

.association-status-association_failed {
  background: #fdecd9;
  color: #8b4e12;
  border-color: #efcca4;
}

.advice-list {
  display: grid;
  gap: 14px;
}

.advice-card {
  border: 1px solid #d7e2ef;
  border-radius: 14px;
  background: linear-gradient(180deg, #fbfdff 0%, #f3f7fc 100%);
  padding: 16px;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.8);
}

.converged-advice-card {
  border-left: 4px solid #6686a6;
}

.converged-advice-corroborated {
  border-left-color: #2f7d68;
}

.converged-advice-refined {
  border-left-color: #4473a5;
}

.converged-advice-variance {
  border-left-color: #b9841d;
}

.converged-advice-insufficient_evidence,
.converged-advice-conflict {
  border-left-color: #b65f6b;
}

.customer-message-card {
  border-left: 4px solid #2f7d68;
}

.model-gap-card {
  border-left: 4px solid #8a6a15;
}

.proposal-kind-model_gap {
  background: #fff7df;
  color: #6b4d00;
  border-color: #e7cf82;
}

.field-issue-graph-card {
  border-left: 4px solid #7b6a18;
}

.proposal-kind-field_issue_graph {
  background: #fff7df;
  color: #6b4d00;
  border-color: #e7cf82;
}

.advice-card-header {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  align-items: flex-start;
}

.advice-card-title-wrap {
  min-width: 0;
}

.advice-card-title {
  margin: 0;
  font-size: 18px;
  line-height: 1.25;
  color: #1d4567;
}

.advice-card-subtitle {
  margin-top: 6px;
  font-size: 13px;
  color: #5c7691;
}

.advice-card-badges {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  justify-content: flex-end;
}

.advice-what-happened {
  margin-top: 14px;
  padding: 12px;
  border-radius: 10px;
  background: #edf4fb;
  border: 1px solid #d4e1ef;
}

.advice-what-happened-label {
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #5b7792;
  margin-bottom: 6px;
}

.advice-what-happened-text {
  font-size: 14px;
  line-height: 1.45;
  color: #203f5b;
}

.advice-takeaway {
  margin-top: 12px;
  padding: 12px;
  border-radius: 10px;
  background: #edf4fb;
  border: 1px solid #d4e1ef;
  color: #203f5b;
  font-size: 15px;
  line-height: 1.45;
}

.advice-response-note {
  margin-top: 10px;
  padding: 10px 12px;
  border-radius: 10px;
  background: #f5f9fd;
  border: 1px solid #d9e5f2;
  color: #47647f;
  font-size: 14px;
  line-height: 1.45;
}

.weekly-cx-list {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.weekly-cx-report {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.weekly-cx-report-preview {
  border: 1px solid #dbe7f2;
  border-radius: 8px;
  padding: 14px;
  background: #fbfdff;
}

.weekly-cx-report-head {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  align-items: flex-start;
  flex-wrap: wrap;
}

.weekly-cx-report-title {
  margin: 0;
  font-size: 18px;
  color: #1d4567;
}

.weekly-cx-report-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.weekly-cx-guidance-explain {
  margin-top: 8px;
}

.guidance-compare-panel {
  border: 1px solid #d7e2ef;
  border-radius: 8px;
  background: #f8fbff;
  padding: 12px 14px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.guidance-compare-label {
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
  color: #5a7691;
}

.guidance-compare-summary {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.guidance-compare-summary-line {
  color: #355774;
  font-size: 14px;
  line-height: 1.45;
  font-weight: 700;
}

.guidance-compare-toggle {
  margin-top: 2px;
}

.guidance-replay-window {
  border: 1px solid #d7e2ef;
  border-radius: 8px;
  background: #fbfdff;
  padding: 14px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.guidance-replay-heading {
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
  color: #5a7691;
}

.guidance-replay-summary {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.guidance-replay-summary-line {
  color: #355774;
  font-size: 14px;
  line-height: 1.45;
}

.guidance-replay-week-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.guidance-replay-week-card {
  border: 1px solid #d7e2ef;
  border-radius: 8px;
  background: #ffffff;
  padding: 12px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.guidance-replay-week-top {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 12px;
  flex-wrap: wrap;
}

.guidance-replay-week-title {
  color: #214968;
  font-size: 15px;
  font-weight: 800;
  line-height: 1.35;
}

.guidance-replay-week-meta {
  color: #5d7893;
  font-size: 12px;
  line-height: 1.4;
}

.guidance-replay-week-badge,
.guidance-replay-topic-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 10px;
  border-radius: 999px;
  background: #edf3fb;
  border: 1px solid #d8e1ec;
  color: #24445f;
  font-size: 12px;
  font-weight: 800;
}

.guidance-replay-toggle {
  margin-top: 2px;
}

.guidance-replay-week-detail {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.guidance-replay-week-summary-grid {
  display: grid;
  gap: 10px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.guidance-replay-detail-card,
.guidance-replay-topic-card {
  border: 1px solid #d7e2ef;
  border-radius: 8px;
  background: #ffffff;
  padding: 12px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.guidance-replay-detail-label {
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
  color: #5a7691;
}

.guidance-replay-detail-line {
  color: #355774;
  font-size: 14px;
  line-height: 1.5;
}

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

.guidance-replay-topic-top {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 10px;
}

.guidance-replay-topic-title {
  color: #214968;
  font-size: 14px;
  font-weight: 800;
}

.guidance-replay-topic-message {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.weekly-cx-summary-more,
.weekly-cx-secondary-more {
  margin-bottom: 10px;
}

.sentinel-tooltip-anchor {
  cursor: help;
}

.weekly-cx-more-meta {
  display: flex;
  flex-direction: column;
  gap: 6px;
  color: #4f6981;
  font-size: 13px;
  line-height: 1.45;
}

.weekly-cx-more-meta-line {
  color: #4f6981;
}

.weekly-cx-topic-list {
  display: grid;
  gap: 12px;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  align-items: start;
}

.weekly-cx-topic-card {
  border: 1px solid #d7e2ef;
  border-radius: 8px;
  background: #ffffff;
  padding: 14px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  min-height: 0;
  align-self: start;
}

.weekly-cx-topic-top {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  align-items: flex-start;
}

.weekly-cx-topic-title {
  margin: 0;
  font-size: 16px;
  color: #214968;
}

.weekly-cx-theme-label {
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
  color: #1f5f3a;
}

.weekly-cx-topic-copy {
  color: #48617c;
  font-size: 14px;
  line-height: 1.45;
}

.weekly-cx-objective-card,
.weekly-cx-strategic-card,
.weekly-cx-capture-card {
  border: 1px solid #d7e2ef;
  border-radius: 8px;
  padding: 14px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.weekly-cx-objective-card {
  background: #f2faf5;
}

.weekly-cx-strategic-card {
  background: #f8fbff;
}

.weekly-cx-capture-card {
  background: #f8fbff;
}

.weekly-cx-objective-label,
.weekly-cx-strategic-label,
.weekly-cx-capture-title,
.weekly-cx-trigger-label {
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
  color: #5a7691;
}

.weekly-cx-strategic-period {
  color: #48617c;
  font-size: 13px;
  line-height: 1.45;
}

.weekly-cx-objective-text {
  color: #1f4565;
  font-size: 16px;
  font-weight: 800;
  line-height: 1.4;
}

.weekly-cx-strategic-list {
  margin: 0;
}

.weekly-cx-provenance {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.weekly-cx-message-posture {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.weekly-cx-message-posture-summary {
  color: #355774;
  font-size: 14px;
  line-height: 1.5;
}

.weekly-cx-message-posture-grid {
  display: grid;
  gap: 12px;
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.weekly-cx-message-posture-card {
  border: 1px solid #d7e2ef;
  border-radius: 8px;
  background: #ffffff;
  padding: 12px;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.weekly-cx-message-posture-label {
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
  color: #5a7691;
}

.weekly-cx-message-posture-value {
  color: #214968;
  font-size: 14px;
  font-weight: 800;
  line-height: 1.35;
}

.weekly-cx-message-posture-detail {
  color: #5d7893;
  font-size: 12px;
  line-height: 1.4;
}

.weekly-cx-provenance-grid {
  display: grid;
  gap: 12px;
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.weekly-cx-provenance-card {
  border: 1px solid #d7e2ef;
  border-radius: 8px;
  background: #ffffff;
  padding: 12px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.weekly-cx-provenance-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}

.weekly-cx-provenance-title {
  font-size: 13px;
  font-weight: 800;
  color: #23435f;
}

.weekly-cx-provenance-copy {
  color: #48617c;
  font-size: 13px;
  line-height: 1.45;
}

.weekly-cx-provenance-badge {
  border-radius: 999px;
  padding: 3px 9px;
  font-size: 11px;
  font-weight: 800;
}

.weekly-cx-provenance-badge-active {
  background: #e8f5ec;
  color: #1f5f3a;
}

.weekly-cx-provenance-badge-baseline {
  background: #eef5fb;
  color: #305777;
}

.weekly-cx-provenance-badge-watch {
  background: #fff7e2;
  color: #7a5a00;
}

.weekly-cx-provenance-badge-limited {
  background: #f5f0ea;
  color: #7a5c45;
}

.weekly-cx-capture-copy,
.weekly-cx-trigger-copy {
  color: #355774;
  font-size: 14px;
  line-height: 1.5;
}

.weekly-cx-trigger-copy {
  font-weight: 700;
}

.weekly-cx-focus-block {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.weekly-cx-line-list {
  display: flex;
  flex-direction: column;
  gap: 6px;
  color: #4f6981;
  font-size: 13px;
}

.weekly-cx-line-list strong {
  color: #2d4d6a;
}

.weekly-cx-option-list,
.weekly-cx-evidence-block {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.weekly-cx-option-heading {
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
  color: #5a7691;
}

.weekly-cx-option-card {
  padding: 10px 12px;
  border: 1px solid #dce6f1;
  border-radius: 8px;
  background: #f8fbff;
}

.weekly-cx-option-card-empty {
  background: #fbfcfe;
}

.weekly-cx-option-card-recommended {
  border-color: #a8c7b4;
  background: #f2faf5;
}

.weekly-cx-option-card-top {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  align-items: baseline;
}

.weekly-cx-option-card-top-right {
  justify-content: flex-end;
}

.weekly-cx-option-card-title {
  font-size: 13px;
  font-weight: 800;
  color: #23435f;
}

.weekly-cx-option-card-approach {
  font-size: 12px;
  font-weight: 700;
  color: #587490;
}

.weekly-cx-option-card-copy {
  margin-top: 6px;
  font-size: 13px;
  line-height: 1.45;
  color: #46617b;
}

.weekly-cx-option-fill-band {
  margin-top: 10px;
  border: 1px solid #e6c676;
  border-radius: 8px;
  background: #fff7df;
  padding: 8px 10px;
}

.weekly-cx-option-fill-title {
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0;
  text-transform: uppercase;
  color: #8a6110;
}

.weekly-cx-option-fill-chip-row {
  margin-top: 6px;
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.weekly-cx-option-fill-chip {
  border-radius: 999px;
  padding: 4px 9px;
  background: #fff0bf;
  color: #744b00;
  font-size: 11px;
  font-weight: 700;
}

.weekly-cx-topic-more {
  margin-top: 2px;
}

.weekly-cx-topic-more-body,
.weekly-cx-option-more {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.weekly-cx-option-more {
  margin-top: 8px;
}

.weekly-cx-option-draft {
  margin-top: 10px;
  border: 1px solid #d8e4f0;
  border-radius: 8px;
  background: #ffffff;
  padding: 9px 10px;
}

.weekly-cx-option-draft-title {
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0;
  text-transform: uppercase;
  color: #587490;
}

.weekly-cx-option-draft-copy {
  margin-top: 6px;
  font-size: 13px;
  line-height: 1.45;
  color: #305777;
}

.weekly-cx-topic-actions {
  margin-top: 2px;
  display: flex;
  align-items: flex-start;
  justify-content: flex-start;
  gap: 10px;
  flex-wrap: wrap;
}

.weekly-cx-explain {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.weekly-cx-explain-body {
  border: 1px solid #dce6f1;
  border-radius: 8px;
  background: #f8fbff;
  padding: 10px 12px;
  color: #4f6981;
  font-size: 13px;
  line-height: 1.45;
}

.weekly-cx-explain-line + .weekly-cx-explain-line {
  margin-top: 6px;
}

.weekly-cx-expectation-pulse {
  margin-top: 8px;
  padding: 10px 12px;
  border: 1px solid #d7e3ef;
  border-radius: 8px;
  background: #ffffff;
}

.weekly-cx-expectation-label {
  margin-top: 8px;
  font-size: 11px;
  font-weight: 800;
  text-transform: uppercase;
  color: #5a7691;
}

.weekly-cx-frame-chip-row {
  margin-top: 6px;
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.weekly-cx-frame-chip {
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  padding: 0 10px;
  border-radius: 999px;
  border: 1px solid #c8d7e8;
  background: #eef5fb;
  color: #274861;
  font-size: 12px;
  font-weight: 700;
}

.weekly-cx-explain-nested {
  margin-top: 8px;
}

.weekly-cx-explain-nested .weekly-cx-explain-body {
  background: #ffffff;
}

.weekly-cx-evidence-list {
  margin: 0;
  padding-left: 18px;
  color: #4f6981;
  font-size: 13px;
}

.weekly-cx-evidence-list li + li {
  margin-top: 4px;
}

.weekly-cx-history {
  border-top: 1px solid #dce6f1;
  padding-top: 10px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.weekly-cx-history-item {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: 10px 12px;
  border-radius: 8px;
  background: #eef5fb;
}

.weekly-cx-tag-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 8px;
}

.weekly-cx-tag-option {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px 10px;
  border: 1px solid #d5e0ec;
  border-radius: 8px;
  background: #f8fbff;
}

.weekly-cx-tag-option input {
  width: auto;
  margin: 0;
}

.weekly-cx-tags-row {
  align-items: start;
}

.weekly-cx-message-preview {
  min-height: 88px;
  padding: 10px 12px;
  border: 1px solid #d8e4f0;
  border-radius: 8px;
  background: #f8fbff;
  color: #49657f;
  line-height: 1.5;
}

@media (max-width: 1200px) {
  .weekly-cx-provenance-grid,
  .weekly-cx-message-posture-grid,
  .weekly-cx-topic-list,
  .guidance-replay-topic-list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .guidance-replay-week-summary-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 760px) {
  .weekly-cx-provenance-grid,
  .weekly-cx-message-posture-grid,
  .weekly-cx-topic-list,
  .guidance-replay-topic-list,
  .guidance-replay-week-summary-grid {
    grid-template-columns: 1fr;
  }
}

.advice-local-graph {
  margin-top: 12px;
  padding: 12px;
  border-radius: 10px;
  border: 1px solid #d9e5f2;
  background: #f8fbff;
}

.advice-local-graph-title {
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #537191;
}

.advice-local-graph-label {
  margin-top: 10px;
  font-size: 12px;
  font-weight: 700;
  color: #5f7a93;
}

.advice-local-graph-row {
  margin-top: 8px;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
}

.advice-local-graph-row-continuing {
  gap: 10px;
}

.advice-local-chip {
  display: inline-flex;
  align-items: center;
  min-height: 30px;
  padding: 0 10px;
  border-radius: 999px;
  border: 1px solid #c8d7e8;
  background: #ffffff;
  color: #23435f;
  font-size: 13px;
  font-weight: 700;
}

.advice-local-chip-anchor {
  border-color: #9ebfe0;
  background: #eaf2fb;
  color: #1d4567;
}

.advice-local-chip-continuing {
  border-style: dashed;
  border-color: #a7c8ba;
  background: #f2faf6;
  color: #295b46;
}

.field-issue-graph {
  margin-top: 12px;
  padding: 12px;
  border-radius: 10px;
  border: 1px solid #d8c88c;
  background: #fffdf5;
}

.field-issue-graph-meta {
  margin-top: 6px;
  color: #6a5a21;
  font-size: 13px;
  font-weight: 700;
}

.field-issue-stage-chip {
  border-color: #d8c88c;
  background: #fff8dd;
  color: #5c4a10;
}

.field-issue-stage-node {
  display: inline-flex;
  flex-direction: column;
  gap: 6px;
  align-items: flex-start;
}

.field-issue-stage-participants {
  display: flex;
  flex-wrap: wrap;
  gap: 4px;
  max-width: 260px;
}

.field-issue-stage-person {
  display: inline-flex;
  align-items: center;
  min-height: 22px;
  padding: 0 8px;
  border-radius: 999px;
  border: 1px solid #c7d6ea;
  background: #f4f8fd;
  color: #31526f;
  font-size: 12px;
  font-weight: 700;
}

.field-issue-person-chip {
  border-color: #c7d6ea;
  background: #f4f8fd;
  color: #31526f;
}

.field-issue-graph-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  margin-top: 12px;
}

.field-issue-review-block {
  border-color: #d8c88c;
  background: #fffaf0;
}

.field-issue-review-actions {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-top: 10px;
}

.field-issue-review-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.field-issue-review-buttons button {
  padding: 6px 10px;
  font-size: 12px;
}

.field-issue-person-review-row {
  border-top: 1px solid #eadca7;
  margin-top: 10px;
  padding-top: 10px;
}

.persona-meta {
  margin-top: 10px;
  color: #5f7892;
  font-size: 13px;
  font-weight: 700;
}

.persona-editor {
  margin-top: 14px;
}

.customer-knowledge-intake {
  border: 1px solid #d6e4f1;
  border-radius: 8px;
  margin-top: 14px;
  padding: 14px;
  background: #fbfdff;
}

.customer-knowledge-intake h3,
.customer-knowledge-list h3 {
  margin: 0 0 12px;
  color: #21425f;
  font-size: 16px;
}

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

.persona-field {
  display: flex;
  flex-direction: column;
  gap: 6px;
  color: #24435f;
  font-size: 13px;
  font-weight: 800;
}

.persona-field span {
  color: #607891;
  font-size: 12px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.persona-field input,
.persona-field select,
.persona-field textarea {
  width: 100%;
  box-sizing: border-box;
}

.persona-field textarea {
  min-height: 82px;
  resize: vertical;
}

.persona-field:nth-child(4),
.persona-field:nth-child(n + 9) {
  grid-column: 1 / -1;
}

.customer-knowledge-note-field {
  grid-column: 1 / -1;
}

.customer-knowledge-list {
  margin-top: 16px;
}

.ci-intake-form,
.ci-detail-form,
.ci-overlay-form {
  margin-top: 10px;
}

.ci-field-wide {
  grid-column: 1 / -1;
}

.ci-workflow-bar {
  margin-top: 14px;
}

.ci-workflow-btn {
  min-width: 116px;
}

.ci-validation-card,
.ci-review-box {
  border: 1px solid #d6e4f1;
  border-radius: 8px;
  margin-top: 14px;
  padding: 12px;
  background: #ffffff;
}

.ci-validation-card h4,
.ci-review-box h4 {
  margin: 0 0 10px;
  color: #21425f;
  font-size: 15px;
}

.ci-validation-card h4 + .feedback-review-summary,
.ci-review-box h4 + .feedback-review-summary {
  margin-top: 8px;
}

.ci-blocking-list {
  margin: 10px 0 0 18px;
  color: #24435f;
  line-height: 1.45;
}

.ci-blocking-list li + li {
  margin-top: 6px;
}

.ci-review-box textarea {
  width: 100%;
  box-sizing: border-box;
  min-height: 88px;
  resize: vertical;
}

.ci-selected-card {
  border-color: #9cc0e4;
  box-shadow: 0 0 0 1px rgba(72, 127, 180, 0.16);
}

.ci-assessment-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  margin-top: 12px;
}

.ci-assessment-card {
  margin-top: 0;
}

.ci-approval-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  margin-top: 14px;
}

.ci-trait-summary {
  margin-top: 12px;
}

.ci-promotion-event {
  border-top: 1px solid #e4eef8;
  margin-top: 12px;
  padding-top: 12px;
}

.expectation-card-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  margin-top: 14px;
}

.expectation-focus-group {
  margin-top: 14px;
}

.expectation-focus-group-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 12px;
}

.expectation-focus-group-title-wrap {
  min-width: 0;
}

.expectation-focus-group-title {
  margin: 0;
  color: #21425f;
  font-size: 20px;
}

.expectation-focus-group-summary {
  margin: 6px 0 0;
  color: #5f7892;
  font-size: 14px;
  line-height: 1.5;
}

.expectation-card {
  margin-top: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.expectation-card-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 12px;
}

.expectation-card-title-wrap {
  min-width: 0;
}

.expectation-frame-eyebrow {
  margin-bottom: 4px;
  color: #5a7691;
  font-size: 11px;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.03em;
}

.expectation-card-title {
  margin: 0;
  color: #21425f;
  font-size: 18px;
}

.expectation-card-family {
  margin-top: 4px;
  color: #5f7892;
  font-size: 12px;
  font-weight: 800;
}

.expectation-badge-row {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 8px;
}

.expectation-source-badge {
  text-transform: capitalize;
}

.expectation-source-global {
  background: #eef5fb;
  border-color: #c6d9ec;
}

.expectation-source-company {
  background: #f2faf5;
  border-color: #cce2d4;
}

.expectation-source-project {
  background: #fff7df;
  border-color: #ecd08c;
}

.expectation-source-runtime_pattern {
  background: #eef5fb;
  border-color: #c6d9ec;
}

.expectation-source-customer_pulse_backfill {
  background: #f4eefb;
  border-color: #d5c6ec;
}

.expectation-source-external_knowledge {
  background: #fdf5e7;
  border-color: #ebd1a0;
}

.expectation-source-sme_authored {
  background: #f2faf5;
  border-color: #cce2d4;
}

.expectation-scope-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
}

.expectation-scope-item {
  border: 1px solid #dce6f1;
  border-radius: 8px;
  background: #f8fbff;
  padding: 8px 10px;
  color: #35516d;
  font-size: 13px;
  line-height: 1.4;
}

.expectation-signal-card {
  border: 1px solid #d6e4f1;
  border-radius: 8px;
  background: #fbfdff;
  padding: 10px 12px;
}

.expectation-signal-list {
  margin-top: 16px;
}

.expectation-discovered-summary {
  margin-top: 12px;
}

.expectation-discovered-evidence {
  background: #fffdfa;
}

.expectation-card-more {
  margin-top: 2px;
}

.expectation-library-card .expectation-scope-item {
  background: #fbfdff;
}

.expectation-empty {
  margin-top: 12px;
}

.customer-knowledge-card {
  border: 1px solid #d6e4f1;
  border-radius: 8px;
  margin-top: 10px;
  padding: 12px;
  background: #ffffff;
}

.customer-knowledge-meta {
  color: #607891;
  font-size: 12px;
  font-weight: 800;
  text-transform: capitalize;
}

.customer-knowledge-note {
  margin: 8px 0 0;
  color: #24435f;
  line-height: 1.45;
}

.customer-knowledge-candidates {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 10px;
}

.customer-knowledge-chip {
  border: 1px solid #bfd6ee;
  border-radius: 999px;
  background: #f1f7ff;
  color: #21425f;
  font-size: 12px;
  font-weight: 800;
  padding: 5px 9px;
}

.customer-knowledge-chip.muted {
  color: #7890a6;
}

@media (max-width: 760px) {
  .persona-form {
    grid-template-columns: 1fr;
  }

  .ci-assessment-grid {
    grid-template-columns: 1fr;
  }

  .ci-approval-grid {
    grid-template-columns: 1fr;
  }

  .expectation-card-grid,
  .expectation-scope-grid {
    grid-template-columns: 1fr;
  }

  .expectation-focus-group-header {
    flex-direction: column;
  }

  .persona-field:nth-child(4),
  .persona-field:nth-child(n + 9) {
    grid-column: auto;
  }
}

.field-issue-assignment-line {
  margin-top: 8px;
  color: #6a5a21;
  font-size: 13px;
  font-weight: 700;
  line-height: 1.35;
}

.advice-local-arrow {
  color: #315b7e;
  font-size: 16px;
  font-weight: 900;
  letter-spacing: 0.01em;
  white-space: nowrap;
}

.field-issue-graph-toggle {
  margin-top: 18px;
}

.advice-grid {
  margin-top: 14px;
  display: grid;
  gap: 12px;
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.advice-section-block {
  border: 1px solid #d7e2ef;
  border-radius: 10px;
  background: #ffffff;
  padding: 12px;
}

.advice-status-block {
  border: 1px solid #d7e2ef;
  border-radius: 10px;
  background: #ffffff;
  padding: 12px;
  min-height: 96px;
}

.advice-status-label {
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #5c7691;
}

.advice-status-value {
  margin-top: 8px;
  color: #1f4565;
  font-size: 16px;
  font-weight: 800;
  line-height: 1.3;
}

.advice-status-detail {
  margin-top: 6px;
  color: #5f7890;
  font-size: 13px;
  line-height: 1.35;
}

.advice-section-title {
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #5c7691;
  margin-bottom: 8px;
}

.advice-section-copy {
  margin-bottom: 8px;
  color: #47627e;
  font-size: 14px;
  line-height: 1.45;
}

.customer-message-draft {
  background: #f3faf7;
  border-color: #cfe7dd;
}

.advice-step-list {
  margin: 0;
  padding-left: 18px;
  color: #24435f;
}

.advice-step-list-ordered {
  padding-left: 22px;
}

.advice-step-item + .advice-step-item {
  margin-top: 6px;
}

.advice-step-empty {
  color: #6d8397;
}

.advice-meta-line {
  font-size: 14px;
  line-height: 1.45;
  color: #24435f;
}

.advice-meta-line + .advice-meta-line {
  margin-top: 8px;
}

.advice-meta-label {
  font-weight: 700;
  color: #234866;
}

.advice-reasoning-toggle {
  margin-top: 12px;
}

.advice-disclosure-content {
  margin-top: 12px;
  display: grid;
  gap: 10px;
}

.advice-reasoning {
  margin-top: 12px;
  border-top: 1px solid #dde7f2;
  padding-top: 12px;
}

.advice-empty {
  border: 1px dashed #c8d6e5;
  border-radius: 12px;
  background: #f8fbfe;
  color: #5d7893;
  padding: 18px;
}

.crew-ops-shell {
  display: grid;
  grid-template-columns: minmax(260px, 320px) minmax(0, 1fr);
  gap: 18px;
  align-items: start;
}

.crew-ops-search-panel,
.crew-ops-detail-panel {
  border: 1px solid #dddccf;
  border-radius: 14px;
  background: linear-gradient(180deg, #fffdf9 0%, #f8f3ea 100%);
  padding: 14px;
}

.crew-ops-search-panel label {
  display: block;
  margin-bottom: 8px;
  font-weight: 700;
  color: #5a4523;
}

.crew-ops-search-panel input {
  width: 100%;
  border: 1px solid #dbc5a4;
  background: #fffdfa;
}

.crew-ops-results-meta {
  margin: 10px 0 12px;
  color: #6e5837;
}

.crew-ops-results {
  display: flex;
  flex-direction: column;
  gap: 10px;
  max-height: 720px;
  overflow: auto;
}

.crew-ops-result {
  width: 100%;
  text-align: left;
  padding: 12px;
  border-radius: 12px;
  border: 1px solid #e1cfb4;
  background: #fffaf3;
  color: #4a3921;
  box-shadow: none;
}

.crew-ops-result:hover,
.crew-ops-result:focus-visible {
  border-color: #c7924b;
  background: #fff4e5;
  outline: none;
}

.crew-ops-result.active {
  border-color: #b7681b;
  background: #f3e3cd;
  color: #4e3414;
}

.crew-ops-result-id {
  font-weight: 800;
  color: #4d3413;
}

.crew-ops-result-meta {
  margin-top: 4px;
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: #8a6435;
}

.crew-ops-result-scope {
  margin-top: 6px;
  font-size: 14px;
  line-height: 1.4;
  color: #5e4a2c;
}

.crew-ops-empty {
  border: 1px dashed #d8c7ad;
  border-radius: 12px;
  background: #fffaf3;
  color: #6d5736;
  padding: 18px;
  line-height: 1.5;
}

.crew-ops-selected-card {
  border: 1px solid #dbc9ad;
  border-radius: 14px;
  background: #fffdf9;
  padding: 14px;
}

.crew-ops-selected-header {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  align-items: flex-start;
}

.crew-ops-task-id {
  font-size: 20px;
  font-weight: 800;
  color: #4f3716;
}

.crew-ops-task-trade {
  margin-top: 4px;
  font-size: 13px;
  font-weight: 700;
  color: #8b6434;
}

.crew-ops-task-scope {
  margin-top: 12px;
  line-height: 1.5;
  color: #3e5368;
}

.crew-ops-toggle-row {
  margin-top: 14px;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.crew-ops-detail {
  margin-top: 10px;
  border: 1px solid #e2d5c1;
  border-radius: 12px;
  background: #fcf7ef;
  padding: 12px;
}

.crew-ops-detail-line {
  color: #314b64;
  line-height: 1.45;
}

.crew-ops-detail-line + .crew-ops-detail-line {
  margin-top: 8px;
}

.crew-ops-detail-label {
  font-weight: 800;
  color: #4f3716;
}

.crew-ops-inline-why {
  border-left: 3px solid #d4a464;
  padding-left: 10px;
}

.crew-ops-inline-why + .crew-ops-inline-why {
  margin-top: 12px;
}

.crew-ops-neighborhood {
  margin-top: 18px;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.crew-ops-neighborhood-column {
  border: 1px solid #dbcbb3;
  border-radius: 14px;
  background: #fffdfa;
  padding: 14px;
}

.crew-ops-neighborhood-column h3 {
  margin: 0 0 12px;
  color: #4d3615;
}

.crew-ops-level-block + .crew-ops-level-block {
  margin-top: 14px;
}

.crew-ops-level-label {
  margin-bottom: 8px;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: #816039;
}

.crew-ops-task-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.crew-ops-task-card {
  border: 1px solid #e3d4bc;
  border-radius: 12px;
  background: #fff9f0;
  padding: 12px;
}

.crew-ops-task-card-top {
  display: flex;
  justify-content: space-between;
  gap: 8px;
  align-items: center;
}

.crew-ops-task-open {
  padding: 0;
  border: none;
  background: transparent;
  color: #9c5b16;
  font-weight: 800;
  box-shadow: none;
}

.crew-ops-task-open:hover,
.crew-ops-task-open:focus-visible {
  text-decoration: underline;
  outline: none;
}

.crew-ops-task-card-scope {
  margin-top: 8px;
  color: #445c75;
  line-height: 1.45;
}

.crew-ops-task-card-why {
  margin-top: 10px;
  border-top: 1px solid #ebddc8;
  padding-top: 10px;
}

.crew-ops-task-empty {
  border: 1px dashed #d7cab6;
  border-radius: 12px;
  background: #fffaf4;
  color: #6e5b40;
  padding: 12px;
  line-height: 1.45;
}

.visual-progression-summary {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 12px 0;
}

.visual-progression-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.visual-progression-card {
  border: 1px solid #d6e1ea;
  border-radius: 8px;
  background: #fbfdff;
  padding: 14px;
}

.visual-progression-compact {
  display: grid;
  grid-template-columns: minmax(160px, 220px) 1fr;
  gap: 14px;
  align-items: center;
}

.visual-progression-timeline {
  display: grid;
  grid-template-columns: minmax(92px, auto) 1fr minmax(92px, auto);
  align-items: center;
  gap: 10px;
}

.visual-progression-date {
  color: #28475f;
  font-size: 13px;
  font-weight: 800;
  white-space: nowrap;
}

.visual-progression-date-end {
  text-align: right;
}

.visual-progression-track {
  position: relative;
  min-height: 18px;
  border-radius: 999px;
  background: #e4edf5;
  overflow: visible;
}

.visual-progression-bar {
  position: relative;
  min-width: 72px;
  min-height: 18px;
  border-radius: 999px;
  background: linear-gradient(90deg, #97b7d2 0%, #376f9e 100%);
  box-shadow: inset 0 0 0 1px rgba(31, 79, 128, 0.18);
  overflow: hidden;
}

.visual-progression-pause-band {
  position: absolute;
  top: 0;
  bottom: 0;
  border-radius: 0;
  background: linear-gradient(90deg, #d9948b 0%, #b56b61 100%);
  box-shadow: inset 0 0 0 1px rgba(126, 62, 53, 0.2);
  z-index: 1;
}

.visual-progression-pause-band:first-child {
  border-top-left-radius: 999px;
  border-bottom-left-radius: 999px;
}

.visual-progression-pause-band:last-child {
  border-top-right-radius: 999px;
  border-bottom-right-radius: 999px;
}

.visual-progression-pause-label {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  color: #fffaf7;
  font-size: 10px;
  font-weight: 900;
  line-height: 1;
  white-space: nowrap;
  text-transform: uppercase;
  letter-spacing: 0.02em;
  text-shadow: 0 1px 1px rgba(87, 35, 29, 0.25);
}

.visual-progression-duration {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  border: 1px solid #cfdbe7;
  border-radius: 999px;
  background: #ffffff;
  color: #274862;
  padding: 5px 10px;
  font-size: 12px;
  font-weight: 900;
  white-space: nowrap;
  box-shadow: 0 1px 3px rgba(31, 79, 128, 0.14);
  z-index: 2;
}

.visual-progression-card h3 {
  margin: 0;
  color: #254a68;
  font-size: 18px;
}

.visual-progression-meta {
  margin-top: 4px;
  color: #60758a;
  font-size: 13px;
  font-weight: 700;
}

.visual-progression-storyline {
  margin-top: 12px;
  color: #304f68;
  line-height: 1.5;
}

.visual-progression-decision-summary {
  margin-top: 12px;
  border: 1px solid #d5e1ec;
  border-radius: 8px;
  background: #f8fbfd;
  padding: 12px 14px;
}

.visual-progression-decision-heading {
  margin-bottom: 8px;
  color: #254a68;
  font-size: 13px;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.visual-progression-state-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 8px;
}

.visual-progression-state-row .visual-progression-decision-heading {
  margin-bottom: 0;
}

.visual-progression-state-summary {
  margin-top: 0;
  margin-bottom: 10px;
}

.visual-progression-decision-summary ol {
  margin: 0;
  padding-left: 22px;
  color: #2f4f67;
  line-height: 1.5;
}

.visual-progression-decision-summary li + li {
  margin-top: 5px;
}

.visual-progression-details {
  margin-top: 12px;
}

.visual-progression-details summary {
  display: inline-flex;
  cursor: pointer;
  border: 1px solid #cfdbe7;
  border-radius: 6px;
  background: #f2f6fb;
  color: #254a68;
  padding: 7px 10px;
  font-weight: 800;
}

.visual-progression-details[open] summary {
  margin-bottom: 12px;
}

.visual-progression-detail-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

.visual-progression-detail-block {
  border: 1px solid #dce6ef;
  border-radius: 8px;
  background: #ffffff;
  padding: 12px;
}

.visual-progression-detail-block h4 {
  margin: 0 0 8px;
  color: #34566f;
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.visual-progression-detail-block ul,
.visual-progression-detail-block ol {
  margin: 0;
  padding-left: 18px;
  color: #3a5670;
  line-height: 1.45;
}

.visual-progression-image-block {
  grid-column: 1 / -1;
}

.visual-progression-image-strip {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 10px;
}

.visual-progression-image-strip.contains-annotated-sheets {
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
}

.visual-progression-image-card {
  display: block;
  overflow: hidden;
  border: 1px solid #dce6ef;
  border-radius: 8px;
  background: #f7fafc;
  color: #29465f;
  text-decoration: none;
}

.visual-progression-image-card.annotated-sheet {
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-self: start;
}

.visual-progression-image-card img {
  display: block;
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  background: #e5edf5;
}

.visual-progression-image-card img.annotated-sheet {
  aspect-ratio: auto;
  height: auto;
  max-height: 920px;
  object-fit: contain;
  background: #eef4f9;
}

.visual-progression-image-caption {
  padding: 7px 8px;
  font-size: 12px;
  font-weight: 800;
}

.visual-progression-image-empty {
  color: #60758a;
  line-height: 1.45;
}

.handoff-memory-list {
  display: grid;
  grid-template-columns: 1fr;
  gap: 14px;
}

.handoff-memory-card {
  display: grid;
  grid-template-columns: minmax(180px, 260px) minmax(0, 1fr);
  gap: 16px;
  border: 1px solid #dce6ef;
  border-radius: 8px;
  background: #ffffff;
  padding: 14px;
}

.handoff-memory-photo-link {
  display: block;
  overflow: hidden;
  border: 1px solid #d5e1ec;
  border-radius: 8px;
  background: #f7fafc;
  aspect-ratio: 4 / 3;
}

.handoff-memory-photo-link img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
}

.handoff-memory-body h3 {
  margin: 0;
  color: #254a68;
  font-size: 17px;
}

.handoff-memory-description {
  margin: 6px 0 12px;
  color: #4b657c;
  line-height: 1.45;
}

.handoff-memory-form {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
}

.handoff-memory-field,
.handoff-memory-note {
  display: grid;
  gap: 5px;
  color: #34566f;
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.03em;
}

.handoff-memory-field select,
.handoff-memory-note textarea {
  width: 100%;
  border: 1px solid #cbd9e5;
  border-radius: 6px;
  background: #fbfdff;
  color: #253f55;
  font: inherit;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0;
  text-transform: none;
  padding: 8px 9px;
}

.handoff-memory-note {
  margin-top: 10px;
}

.handoff-memory-note textarea {
  min-height: 78px;
  resize: vertical;
}

.handoff-memory-decision-block {
  margin-top: 10px;
  background: #f8fbfd;
}

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

.ricoh-review-workflow-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 12px;
  margin: 12px 0 14px;
}

.ricoh-review-workflow-card {
  border: 1px solid #dce6ef;
  border-radius: 8px;
  background: #fbfdff;
  padding: 12px;
}

.ricoh-review-workflow-pending_review,
.ricoh-review-workflow-pending {
  background: #fffaf2;
  border-color: #ead5ac;
}

.ricoh-review-workflow-top,
.ricoh-review-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 10px;
}

.ricoh-review-workflow-card h3,
.ricoh-review-body h3 {
  margin: 0;
  color: #254a68;
  font-size: 16px;
}

.ricoh-review-list {
  display: grid;
  gap: 14px;
}

.ricoh-review-card {
  display: grid;
  grid-template-columns: minmax(180px, 260px) minmax(0, 1fr);
  gap: 16px;
  border: 1px solid #dce6ef;
  border-radius: 8px;
  background: #ffffff;
  padding: 14px;
}

.ricoh-review-media {
  display: block;
  overflow: hidden;
  border: 1px solid #d5e1ec;
  border-radius: 8px;
  background: #f7fafc;
  aspect-ratio: 4 / 3;
}

.ricoh-review-media img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
}

.ricoh-review-body {
  display: grid;
  gap: 10px;
}

.ricoh-review-badges {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 8px;
}

.ricoh-review-form,
.ricoh-review-note-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
}

.ricoh-review-note-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.ricoh-review-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.composite-advice-card .visual-progression-detail-block:first-child {
  grid-column: 1 / -1;
}

.composite-advice-standalone-grid {
  margin-top: 12px;
}

.hidden {
  display: none !important;
}

@media (max-width: 1000px) {
  .row {
    grid-template-columns: 1fr;
  }

  .help-card-grid,
  .help-action-grid {
    grid-template-columns: 1fr;
  }

  .dependency-flow {
    grid-template-columns: 1fr;
  }

  .risk-signal-form-grid {
    grid-template-columns: 1fr;
  }

  .field-note-search-toolbar {
    grid-template-columns: 1fr;
  }

  .advice-grid {
    grid-template-columns: 1fr;
  }

  .field-issue-graph-grid {
    grid-template-columns: 1fr;
  }

  .dependency-center {
    min-width: 0;
    flex-direction: row;
  }

  .crew-ops-shell,
  .crew-ops-neighborhood,
  .visual-progression-detail-grid,
  .handoff-memory-card,
  .handoff-memory-form,
  .ricoh-review-card,
  .ricoh-review-form,
  .ricoh-review-note-grid,
  .ricoh-review-workflow-grid {
    grid-template-columns: 1fr;
  }

  .visual-progression-compact,
  .visual-progression-timeline {
    grid-template-columns: 1fr;
  }

  .visual-progression-date-end {
    text-align: left;
  }
}
