/*
 * RN Delegation System 1.6 workspace
 * A single final design layer over the legacy component rules.
 */

#rn-app {
  --rn2-canvas: #eef1f3;
  --rn2-surface: #ffffff;
  --rn2-surface-soft: #f7f8f8;
  --rn2-ink: #18201e;
  --rn2-text: #28332f;
  --rn2-muted: #69756f;
  --rn2-line: #d7ddda;
  --rn2-line-strong: #b9c3be;
  --rn2-sidebar: #17221f;
  --rn2-sidebar-soft: #22302b;
  --rn2-green: #08766b;
  --rn2-green-dark: #075c55;
  --rn2-green-soft: #e1f2ef;
  --rn2-blue: #315ea8;
  --rn2-blue-soft: #e8eef8;
  --rn2-amber: #a96508;
  --rn2-amber-soft: #fff2d8;
  --rn2-red: #b43e46;
  --rn2-red-soft: #fbeaec;
  --rn2-shadow: 0 1px 2px rgba(22, 34, 30, 0.06), 0 8px 22px rgba(22, 34, 30, 0.05);
  min-height: 100dvh;
  color: var(--rn2-text);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  letter-spacing: 0;
}

html:has(body.rnds-app-body),
body.rnds-app-body {
  min-width: 320px;
  min-height: 100%;
  overflow-x: hidden;
  background: var(--rn2-canvas);
}

#rn-app *,
#rn-app *::before,
#rn-app *::after {
  box-sizing: border-box;
}

#rn-app button,
#rn-app input,
#rn-app select,
#rn-app textarea {
  min-width: 0;
  letter-spacing: 0;
}

#rn-app button {
  cursor: pointer;
}

#rn-app [hidden] {
  display: none !important;
}

.rn-shell {
  display: block;
  width: 100%;
  min-height: 100dvh;
  background: var(--rn2-canvas);
}

.rn-sidebar {
  position: fixed;
  inset: 0 auto 0 0;
  z-index: 80;
  display: flex;
  width: 264px;
  height: 100dvh;
  padding: 15px 12px 12px;
  flex-direction: column;
  overflow: hidden;
  border-right: 1px solid #34413c;
  background: var(--rn2-sidebar);
  color: #dce5e1;
  box-shadow: none;
}

.rn-brand {
  display: flex;
  min-height: 62px;
  margin: 0;
  padding: 5px 7px 15px;
  align-items: center;
  gap: 11px;
  flex: 0 0 auto;
  border-bottom: 1px solid #34413c;
}

.rn-mark {
  display: grid;
  width: 40px;
  height: 40px;
  flex: 0 0 40px;
  place-items: center;
  border: 1px solid #d9e3df;
  border-radius: 5px;
  background: #f5faf8;
  color: #12342e;
  font-size: 12px;
  font-weight: 850;
}

.rn-brand strong {
  display: block;
  color: #ffffff;
  font-size: 15px;
  font-weight: 800;
  line-height: 1.2;
}

.rn-brand span {
  display: block;
  margin-top: 3px;
  color: #99aaa3;
  font-size: 10px;
  line-height: 1.2;
}

.rn-nav {
  min-height: 0;
  padding: 12px 4px 18px 0;
  flex: 1 1 auto;
  overflow-x: hidden;
  overflow-y: auto;
  scrollbar-color: #4c5b55 transparent;
  scrollbar-width: thin;
}

.rn-nav-section {
  margin: 0 0 16px;
}

.rn-nav-section-title {
  padding: 0 9px 6px;
  color: #82948c;
  font-size: 9px;
  font-weight: 850;
  letter-spacing: 0;
  text-transform: uppercase;
}

.rn-nav-button {
  display: flex;
  width: 100%;
  min-height: 38px;
  margin: 1px 0;
  padding: 6px 8px;
  align-items: center;
  gap: 9px;
  border: 1px solid transparent;
  border-radius: 5px;
  background: transparent;
  color: #cbd6d1;
  font-size: 12px;
  font-weight: 650;
  text-align: left;
}

.rn-nav-button:hover {
  border-color: #3d4c46;
  background: #1e2c27;
  color: #ffffff;
}

.rn-nav-button[aria-current="page"] {
  border-color: #40534b;
  background: #293a33;
  color: #ffffff;
  box-shadow: inset 3px 0 0 #54c6b5;
}

.rn-nav-icon {
  display: grid;
  width: 26px;
  height: 26px;
  flex: 0 0 26px;
  place-items: center;
  border-radius: 4px;
  background: #24332d;
  color: #9fc1b9;
}

.rn-nav-button[aria-current="page"] .rn-nav-icon {
  background: #dff2ee;
  color: #08685f;
}

.rn-nav-icon .rn-icon {
  width: 15px;
  height: 15px;
}

.rn-sidebar-footer {
  display: flex;
  min-height: 38px;
  padding: 9px 8px 2px;
  align-items: center;
  justify-content: space-between;
  flex: 0 0 auto;
  border-top: 1px solid #34413c;
  color: #899a93;
  font-size: 10px;
}

.rn-sidebar-footer a {
  color: #d6e1dc !important;
  font-weight: 750;
  text-decoration: none;
}

.rn-sidebar-scrim {
  display: none;
}

.rn-main-shell {
  display: block;
  width: auto;
  min-width: 0;
  min-height: 100dvh;
  margin-left: 264px;
}

.rn-topbar {
  position: sticky;
  top: 0;
  z-index: 60;
  display: grid;
  width: 100%;
  min-height: 72px;
  padding: 9px 20px;
  grid-template-columns: minmax(205px, 1fr) minmax(380px, 660px) auto;
  align-items: center;
  gap: 16px;
  border-bottom: 1px solid var(--rn2-line);
  background: rgba(255, 255, 255, 0.98);
  box-shadow: 0 2px 9px rgba(27, 39, 35, 0.05);
  backdrop-filter: none;
}

.rn-topbar-leading,
.rn-topbar-workspace,
.rn-topbar-actions {
  min-width: 0;
}

.rn-topbar-leading {
  display: flex;
  align-items: center;
  gap: 9px;
}

.rn-topbar-copy {
  min-width: 0;
}

.rn-topbar-kicker {
  display: block;
  color: var(--rn2-green);
  font-size: 9px;
  font-weight: 850;
  line-height: 1;
  text-transform: uppercase;
}

.rn-topbar h1 {
  overflow: hidden;
  margin: 3px 0 0;
  color: var(--rn2-ink);
  font-size: 17px;
  font-weight: 820;
  line-height: 1.15;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.rn-topbar p {
  overflow: hidden;
  margin: 2px 0 0;
  color: var(--rn2-muted);
  font-size: 10px;
  line-height: 1.2;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.rn-topbar-workspace {
  display: grid;
  grid-template-columns: minmax(180px, 1fr) minmax(210px, 250px);
  align-items: end;
  gap: 10px;
}

.rn-global-search {
  position: relative;
  min-width: 0;
}

.rn-global-search input {
  padding-left: 13px !important;
}

.rn-scope-control,
.rn-role-control {
  display: grid;
  min-width: 0;
  gap: 3px;
}

.rn-scope-control > span,
.rn-role-control > span {
  color: var(--rn2-muted);
  font-size: 8px;
  font-weight: 850;
  line-height: 1;
  text-transform: uppercase;
}

.rn-topbar-actions {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 8px;
}

.rn-topbar-actions .rn-role-control {
  width: 112px;
}

.rn-user-chip {
  display: flex;
  max-width: 160px;
  min-width: 42px;
  min-height: 40px;
  padding: 5px 7px;
  align-items: center;
  gap: 7px;
  overflow: hidden;
  border: 1px solid var(--rn2-line);
  border-radius: 5px;
  background: var(--rn2-surface-soft);
}

.rn-user-chip img,
.rn-user-avatar {
  width: 28px;
  height: 28px;
  flex: 0 0 28px;
  border-radius: 50%;
}

.rn-user-chip img {
  object-fit: cover;
}

.rn-user-avatar {
  display: grid;
  place-items: center;
  color: #fff;
  background: var(--rn2-teal);
  font-size: 9px;
  font-weight: 800;
}

.rn-user-chip span {
  min-width: 0;
}

.rn-user-chip strong,
.rn-user-chip small {
  display: block;
  overflow: hidden;
  line-height: 1.15;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.rn-user-chip strong {
  color: var(--rn2-ink);
  font-size: 10px;
}

.rn-user-chip small {
  margin-top: 2px;
  color: var(--rn2-muted);
  font-size: 8px;
}

.rn-menu-toggle {
  display: none !important;
}

.rn-content {
  width: 100%;
  max-width: 1620px;
  min-width: 0;
  margin: 0 auto;
  padding: 22px 26px 46px;
  overflow-x: clip;
}

.rn-page-head {
  display: flex;
  min-height: 58px;
  margin: 0 0 14px;
  padding: 0 0 13px;
  align-items: flex-end;
  justify-content: space-between;
  gap: 20px;
  border-bottom: 1px solid var(--rn2-line-strong);
}

.rn-page-head > div {
  min-width: 0;
}

.rn-page-head h2 {
  margin: 0;
  color: var(--rn2-ink);
  font-size: 23px;
  font-weight: 840;
  line-height: 1.15;
}

.rn-page-head p {
  max-width: 880px;
  margin: 5px 0 0;
  color: var(--rn2-muted);
  font-size: 12px;
  line-height: 1.45;
}

#rn-app input[type="text"],
#rn-app input[type="email"],
#rn-app input[type="password"],
#rn-app input[type="search"],
#rn-app input[type="date"],
#rn-app input[type="datetime-local"],
#rn-app input[type="number"],
#rn-app input[type="file"],
#rn-app select,
#rn-app textarea {
  width: 100%;
  min-height: 38px;
  padding: 8px 10px;
  border: 1px solid var(--rn2-line-strong);
  border-radius: 5px;
  background: #ffffff;
  color: var(--rn2-ink);
  font-size: 11px;
  outline: none;
}

#rn-app textarea {
  min-height: 100px;
  resize: vertical;
}

#rn-app input:focus,
#rn-app select:focus,
#rn-app textarea:focus,
#rn-app button:focus-visible,
#rn-app a:focus-visible {
  border-color: var(--rn2-green);
  box-shadow: 0 0 0 3px rgba(8, 118, 107, 0.13);
  outline: none;
}

.rn-button,
.rn-icon-button {
  display: inline-flex;
  min-height: 36px;
  align-items: center;
  justify-content: center;
  gap: 7px;
  border: 1px solid var(--rn2-line-strong);
  border-radius: 5px;
  background: #ffffff;
  color: var(--rn2-text);
  font-size: 10px;
  font-weight: 780;
  line-height: 1.15;
  text-decoration: none;
  white-space: nowrap;
}

.rn-button {
  padding: 8px 12px;
}

.rn-button:hover,
.rn-icon-button:hover {
  border-color: #9aa8a1;
  background: #f4f6f5;
}

.rn-button-primary {
  border-color: var(--rn2-green);
  background: var(--rn2-green);
  color: #ffffff;
}

.rn-button-primary:hover {
  border-color: var(--rn2-green-dark);
  background: var(--rn2-green-dark);
  color: #ffffff;
}

.rn-button-danger {
  border-color: #e7b8bc;
  background: var(--rn2-red-soft);
  color: #8f2831;
}

.rn-button-ghost {
  min-height: 32px;
  padding: 6px 9px;
  border-color: transparent;
  background: transparent;
  color: var(--rn2-green-dark);
}

.rn-button-inverse {
  border-color: #486057;
  background: #253730;
  color: #ffffff;
}

.rn-icon-button {
  width: 36px;
  min-width: 36px;
  padding: 0;
}

.rn-icon {
  width: 16px;
  height: 16px;
  flex: 0 0 16px;
}

.rn-panel {
  min-width: 0;
  padding: 16px;
  border: 1px solid var(--rn2-line);
  border-radius: 6px;
  background: var(--rn2-surface);
  box-shadow: var(--rn2-shadow);
}

.rn-card-title {
  display: flex;
  min-width: 0;
  margin: 0 0 13px;
  padding: 0 0 11px;
  align-items: flex-start;
  justify-content: space-between;
  gap: 14px;
  border-bottom: 1px solid #e4e8e6;
}

.rn-card-title > div {
  min-width: 0;
}

.rn-card-title h3 {
  margin: 0;
  color: var(--rn2-ink);
  font-size: 14px;
  font-weight: 800;
  line-height: 1.25;
}

.rn-card-title p {
  margin: 4px 0 0;
  color: var(--rn2-muted);
  font-size: 10px;
  line-height: 1.4;
}

.rn-section-kicker {
  display: block;
  margin-bottom: 4px;
  color: var(--rn2-green);
  font-size: 8px;
  font-weight: 900;
  text-transform: uppercase;
}

.rn-status-badge {
  display: inline-flex;
  min-height: 21px;
  padding: 3px 7px;
  align-items: center;
  border: 1px solid #d7ddda;
  border-radius: 4px;
  background: #f5f7f6;
  color: #59655f;
  font-size: 8px;
  font-weight: 800;
  line-height: 1;
  white-space: nowrap;
}

.rn-status-badge.is-good {
  border-color: #acd8c2;
  background: #e7f5ed;
  color: #17633e;
}

.rn-status-badge.is-blue {
  border-color: #bdcce7;
  background: var(--rn2-blue-soft);
  color: #294f8e;
}

.rn-status-badge.is-warn {
  border-color: #efd39d;
  background: var(--rn2-amber-soft);
  color: #85510a;
}

.rn-status-badge.is-bad {
  border-color: #e7bbc0;
  background: var(--rn2-red-soft);
  color: #922c35;
}

.rn-summary-grid,
.rn-kpi-ribbon {
  display: grid;
  margin: 0 0 14px;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  overflow: hidden;
  border: 1px solid var(--rn2-line);
  border-radius: 6px;
  background: #ffffff;
  box-shadow: 0 1px 2px rgba(22, 34, 30, 0.04);
}

.rn-summary-card,
.rn-metric-tile {
  min-width: 0;
  min-height: 82px;
  padding: 12px 13px;
  border: 0;
  border-right: 1px solid var(--rn2-line);
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}

.rn-summary-card:last-child,
.rn-metric-tile:last-child {
  border-right: 0;
}

.rn-summary-card > span,
.rn-metric-tile span {
  color: var(--rn2-muted);
  font-size: 8px;
  font-weight: 850;
  text-transform: uppercase;
}

.rn-summary-card > strong,
.rn-metric-tile strong {
  display: block;
  margin-top: 6px;
  color: var(--rn2-ink);
  font-size: 21px;
  font-weight: 840;
  line-height: 1;
}

.rn-summary-card small,
.rn-metric-tile small {
  display: block;
  margin-top: 7px;
  color: var(--rn2-muted);
  font-size: 9px;
  line-height: 1.3;
}

.rn-metric-tile.is-good {
  box-shadow: inset 0 3px 0 #2c925c;
}

.rn-metric-tile.is-blue {
  box-shadow: inset 0 3px 0 var(--rn2-blue);
}

.rn-metric-tile.is-danger {
  box-shadow: inset 0 3px 0 var(--rn2-red);
}

.rn-context-bar,
.rn-filter-bar,
.rn-filter-surface,
.rn-report-toolbar,
.rn-performance-filters {
  display: grid;
  min-width: 0;
  margin: 0 0 14px;
  padding: 10px;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  align-items: end;
  gap: 9px;
  border: 1px solid var(--rn2-line);
  border-radius: 6px;
  background: #f8faf9;
  box-shadow: none;
}

.rn-report-toolbar {
  grid-template-columns: minmax(250px, 1.45fr) repeat(4, minmax(140px, 1fr));
}

.rn-context-bar > div,
.rn-context-bar > label,
.rn-inline-field,
.rn-filter-summary {
  min-width: 0;
}

.rn-context-bar span,
.rn-context-bar label,
.rn-inline-field > span,
.rn-filter-summary span {
  color: var(--rn2-muted);
  font-size: 8px;
  font-weight: 820;
  text-transform: uppercase;
}

.rn-context-bar strong,
.rn-filter-summary strong {
  display: block;
  overflow: hidden;
  margin-top: 3px;
  color: var(--rn2-ink);
  font-size: 11px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

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

.rn-form-grid-3 {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.rn-form-grid label,
.rn-framework-source-grid label,
.rn-scope-control-grid label {
  display: grid;
  min-width: 0;
  align-content: start;
  gap: 5px;
  color: var(--rn2-text);
  font-size: 10px;
  font-weight: 760;
}

.rn-span-2 {
  grid-column: 1 / -1;
}

.rn-tabs {
  display: flex;
  min-width: 0;
  margin: 0 0 14px;
  padding: 4px;
  gap: 3px;
  overflow-x: auto;
  border: 1px solid var(--rn2-line);
  border-radius: 6px;
  background: #dde3e0;
}

.rn-tab {
  min-height: 32px;
  padding: 6px 12px;
  flex: 0 0 auto;
  border: 1px solid transparent;
  border-radius: 4px;
  background: transparent;
  color: #55625c;
  font-size: 10px;
  font-weight: 780;
}

.rn-tab[aria-selected="true"] {
  border-color: #bcc6c1;
  background: #ffffff;
  color: var(--rn2-ink);
  box-shadow: 0 1px 2px rgba(22, 34, 30, 0.08);
}

.rn-table-wrap {
  width: 100%;
  max-width: 100%;
  overflow-x: auto;
  border: 1px solid var(--rn2-line);
  border-radius: 5px;
  background: #ffffff;
}

.rn-table {
  width: 100%;
  min-width: 760px;
  border-collapse: collapse;
  color: var(--rn2-text);
  font-size: 10px;
}

.rn-table th {
  padding: 9px 10px;
  border-bottom: 1px solid var(--rn2-line-strong);
  background: #f1f4f2;
  color: #5d6963;
  font-size: 8px;
  font-weight: 850;
  text-align: left;
  text-transform: uppercase;
  white-space: nowrap;
}

.rn-table td {
  padding: 10px;
  border-bottom: 1px solid #e7eae8;
  vertical-align: middle;
}

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

.rn-table tbody tr:hover td {
  background: #f8faf9;
}

.rn-compact-table {
  min-width: 650px;
}

.rn-row-actions {
  display: flex;
  min-width: 0;
  flex-wrap: wrap;
  gap: 5px;
}

.rn-empty,
.rn-alert,
.rn-callout,
.rn-policy-note,
.rn-period-unavailable {
  padding: 13px;
  border: 1px solid var(--rn2-line);
  border-radius: 5px;
  background: #f7f9f8;
  color: var(--rn2-muted);
  font-size: 10px;
  line-height: 1.45;
}

/* Dashboard */

.rn-ops-brief {
  display: grid;
  min-width: 0;
  margin-bottom: 14px;
  grid-template-columns: minmax(0, 1.25fr) minmax(420px, 0.75fr);
  border: 1px solid var(--rn2-line-strong);
  border-left: 4px solid var(--rn2-green);
  border-radius: 6px;
  background: #ffffff;
  box-shadow: var(--rn2-shadow);
}

.rn-ops-brief.is-attention {
  border-left-color: var(--rn2-amber);
}

.rn-ops-brief-main {
  min-width: 0;
  padding: 16px 18px;
}

.rn-ops-state h3 {
  margin: 4px 0 6px;
  color: var(--rn2-ink);
  font-size: 18px;
  font-weight: 830;
  line-height: 1.25;
}

.rn-ops-state p {
  max-width: 760px;
  margin: 0;
  color: var(--rn2-muted);
  font-size: 11px;
  line-height: 1.45;
}

.rn-eyebrow {
  color: var(--rn2-green);
  font-size: 8px;
  font-weight: 900;
  text-transform: uppercase;
}

.rn-brief-actions {
  display: flex;
  margin-top: 13px;
  flex-wrap: wrap;
  gap: 7px;
}

.rn-ops-brief-stats {
  display: grid;
  min-width: 0;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  border-left: 1px solid var(--rn2-line);
  background: #f7f9f8;
}

.rn-ops-brief-stats > div {
  min-width: 0;
  padding: 15px 12px;
  align-content: center;
  border-right: 1px solid var(--rn2-line);
}

.rn-ops-brief-stats > div:last-child {
  border-right: 0;
}

.rn-ops-brief-stats span,
.rn-ops-brief-stats small {
  display: block;
  color: var(--rn2-muted);
  font-size: 8px;
}

.rn-ops-brief-stats strong {
  display: block;
  overflow: hidden;
  margin: 7px 0 6px;
  color: var(--rn2-ink);
  font-size: 20px;
  line-height: 1;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.rn-dashboard-deep-grid,
.rn-dashboard-canvas {
  display: grid;
  min-width: 0;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  align-items: start;
  gap: 14px;
}

.rn-dashboard-span-4 { grid-column: span 4; }
.rn-dashboard-span-5 { grid-column: span 5; }
.rn-dashboard-span-6 { grid-column: span 6; }
.rn-dashboard-span-7 { grid-column: span 7; }
.rn-dashboard-span-8 { grid-column: span 8; }
.rn-dashboard-span-12 { grid-column: span 12; }

.rn-action-table {
  min-width: 850px;
}

.rn-queue-reason {
  display: inline-flex;
  min-width: 68px;
  min-height: 22px;
  padding: 4px 7px;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--rn2-line);
  border-radius: 4px;
  background: #f3f5f4;
  color: #58645e;
  font-size: 8px;
  font-weight: 850;
}

.rn-queue-reason.is-danger {
  border-color: #e6b8bd;
  background: var(--rn2-red-soft);
  color: #912c35;
}

.rn-queue-reason.is-warn {
  border-color: #edd19a;
  background: var(--rn2-amber-soft);
  color: #845008;
}

.rn-queue-reason.is-blue {
  border-color: #bdcbe4;
  background: var(--rn2-blue-soft);
  color: #2c518e;
}

.rn-task-title-link {
  display: grid;
  min-width: 180px;
  padding: 0;
  gap: 3px;
  border: 0;
  background: transparent;
  color: var(--rn2-ink);
  text-align: left;
}

.rn-task-title-link strong,
.rn-task-title-link small {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.rn-task-title-link small {
  color: var(--rn2-muted);
  font-size: 8px;
}

.rn-team-stack {
  display: flex;
  min-width: 150px;
  align-items: center;
}

.rn-team-stack > span {
  display: grid;
  width: 24px;
  height: 24px;
  margin-right: -6px;
  place-items: center;
  border: 2px solid #ffffff;
  border-radius: 50%;
  background: #dbe9e5;
  color: #1b5e54;
  font-size: 8px;
  font-weight: 850;
}

.rn-team-stack > small {
  overflow: hidden;
  max-width: 120px;
  margin-left: 12px;
  color: var(--rn2-muted);
  font-size: 8px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.rn-progress {
  display: grid;
  min-width: 100px;
  grid-template-columns: minmax(70px, 1fr) 32px;
  align-items: center;
  gap: 6px;
}

.rn-progress-track,
.rn-workload-bar {
  height: 6px;
  overflow: hidden;
  border-radius: 3px;
  background: #e4e9e6;
}

.rn-progress-track span,
.rn-workload-bar span {
  display: block;
  height: 100%;
  border-radius: inherit;
  background: var(--rn2-green);
}

.rn-progress small {
  color: var(--rn2-muted);
  font-size: 8px;
}

.rn-pulse-stack {
  display: grid;
  gap: 12px;
}

.rn-pulse-primary {
  display: flex;
  padding: 11px 12px;
  align-items: baseline;
  justify-content: space-between;
  border-left: 3px solid var(--rn2-green);
  background: #f1f6f4;
}

.rn-pulse-primary strong {
  color: var(--rn2-ink);
  font-size: 24px;
}

.rn-pulse-primary span,
.rn-pulse-row > span {
  color: var(--rn2-muted);
  font-size: 9px;
  font-weight: 750;
}

.rn-pulse-row {
  display: grid;
  gap: 6px;
}

.rn-pulse-stack dl,
.rn-ai-health dl,
.rn-detail-stack dl {
  display: grid;
  margin: 0;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  border: 1px solid var(--rn2-line);
}

.rn-pulse-stack dl > div,
.rn-ai-health dl > div,
.rn-detail-stack dl > div {
  padding: 9px;
  border-right: 1px solid var(--rn2-line);
  border-bottom: 1px solid var(--rn2-line);
}

.rn-pulse-stack dt,
.rn-ai-health dt,
.rn-detail-stack dt {
  color: var(--rn2-muted);
  font-size: 8px;
}

.rn-pulse-stack dd,
.rn-ai-health dd,
.rn-detail-stack dd {
  margin: 4px 0 0;
  color: var(--rn2-ink);
  font-size: 11px;
  font-weight: 800;
}

.rn-score-bands {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  border: 1px solid var(--rn2-line);
}

.rn-score-bands span {
  padding: 8px 5px;
  text-align: center;
  border-right: 1px solid var(--rn2-line);
}

.rn-score-bands span:last-child {
  border-right: 0;
}

.rn-score-bands i,
.rn-score-bands strong {
  display: block;
  font-style: normal;
}

.rn-score-bands i {
  color: var(--rn2-muted);
  font-size: 7px;
}

.rn-score-bands strong {
  margin-top: 3px;
  color: var(--rn2-ink);
  font-size: 13px;
}

.rn-dense-list,
.rn-workload-list,
.rn-attention-stack,
.rn-framework-mini {
  display: grid;
  gap: 6px;
}

.rn-dense-list article,
.rn-workload-list button,
.rn-attention-stack button,
.rn-framework-mini article {
  display: grid;
  min-width: 0;
  min-height: 45px;
  padding: 8px 9px;
  align-items: center;
  gap: 9px;
  border: 1px solid #e1e6e3;
  border-radius: 4px;
  background: #fafbfa;
  color: var(--rn2-text);
  text-align: left;
}

.rn-dense-list article {
  grid-template-columns: minmax(0, 1fr) auto;
}

.rn-workload-list button {
  grid-template-columns: minmax(130px, 1fr) minmax(90px, 1fr) 68px;
}

.rn-dense-list strong,
.rn-dense-list small,
.rn-workload-list strong,
.rn-workload-list small {
  display: block;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.rn-dense-list strong,
.rn-workload-list strong {
  color: var(--rn2-ink);
  font-size: 10px;
}

.rn-dense-list small,
.rn-workload-list small {
  margin-top: 3px;
  color: var(--rn2-muted);
  font-size: 8px;
}

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

.rn-report-shortcuts button {
  display: grid;
  min-width: 0;
  padding: 12px;
  gap: 5px;
  border: 1px solid var(--rn2-line);
  border-radius: 5px;
  background: #f8faf9;
  color: var(--rn2-text);
  text-align: left;
}

.rn-report-shortcuts span,
.rn-report-shortcuts small {
  color: var(--rn2-muted);
  font-size: 8px;
}

.rn-report-shortcuts strong {
  overflow-wrap: anywhere;
  color: var(--rn2-ink);
  font-size: 12px;
}

/* Framework workspace */

.rn-framework-layout,
.rn-sop-layout,
.rn-admin-split,
.rn-ai-settings-grid {
  display: grid;
  min-width: 0;
  grid-template-columns: minmax(0, 1.6fr) minmax(290px, 0.7fr);
  align-items: start;
  gap: 14px;
}

.rn-framework-composer {
  display: grid;
  min-width: 0;
  gap: 14px;
}

.rn-framework-form-section {
  padding: 18px;
}

.rn-form-section-head {
  display: flex;
  margin-bottom: 15px;
  padding-bottom: 12px;
  align-items: flex-start;
  gap: 10px;
  border-bottom: 1px solid var(--rn2-line);
}

.rn-form-section-head > span {
  display: grid;
  width: 27px;
  height: 27px;
  flex: 0 0 27px;
  place-items: center;
  border-radius: 4px;
  background: var(--rn2-green-soft);
  color: var(--rn2-green-dark);
  font-size: 9px;
  font-weight: 900;
}

.rn-form-section-head h3 {
  margin: 0;
  color: var(--rn2-ink);
  font-size: 14px;
  font-weight: 820;
}

.rn-form-section-head p {
  margin: 4px 0 0;
  color: var(--rn2-muted);
  font-size: 10px;
  line-height: 1.4;
}

.rn-framework-scope-composer {
  display: grid;
  min-width: 0;
  gap: 12px;
}

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

.rn-scope-choice {
  position: relative;
  display: grid;
  min-width: 0;
  min-height: 78px;
  padding: 10px;
  grid-template-columns: 28px minmax(0, 1fr);
  align-items: start;
  gap: 8px;
  border: 1px solid var(--rn2-line);
  border-radius: 5px;
  background: #fafbfa;
  cursor: pointer;
}

.rn-scope-choice:has(input:checked) {
  border-color: var(--rn2-green);
  background: #f0f8f6;
  box-shadow: inset 0 0 0 1px var(--rn2-green);
}

.rn-scope-choice > input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.rn-scope-choice-icon {
  display: grid;
  width: 28px;
  height: 28px;
  place-items: center;
  border-radius: 4px;
  background: #e7ecea;
  color: #58665f;
}

.rn-scope-choice:has(input:checked) .rn-scope-choice-icon {
  background: var(--rn2-green);
  color: #ffffff;
}

.rn-scope-choice strong,
.rn-scope-choice small {
  display: block;
}

.rn-scope-choice strong {
  color: var(--rn2-ink);
  font-size: 10px;
}

.rn-scope-choice small {
  margin-top: 4px;
  color: var(--rn2-muted);
  font-size: 8px;
  line-height: 1.35;
}

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

.rn-scope-control-grid label > span {
  color: var(--rn2-muted);
  font-size: 8px;
  font-weight: 550;
}

.rn-framework-people-picker {
  overflow: hidden;
  border: 1px solid var(--rn2-line);
  border-radius: 5px;
}

.rn-picker-toolbar {
  display: grid;
  padding: 9px 10px;
  grid-template-columns: minmax(0, 1fr) minmax(180px, 280px);
  align-items: center;
  gap: 10px;
  border-bottom: 1px solid var(--rn2-line);
  background: #f2f5f3;
}

.rn-picker-toolbar strong,
.rn-picker-toolbar small {
  display: block;
}

.rn-picker-toolbar strong {
  color: var(--rn2-ink);
  font-size: 10px;
}

.rn-picker-toolbar small {
  margin-top: 2px;
  color: var(--rn2-muted);
  font-size: 8px;
}

.rn-framework-people-list {
  display: grid;
  max-height: 330px;
  padding: 8px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 6px;
  overflow-y: auto;
  background: #ffffff;
}

.rn-framework-person-option {
  display: grid;
  min-width: 0;
  min-height: 54px;
  padding: 7px 8px;
  grid-template-columns: 18px 30px minmax(0, 1fr) 24px;
  align-items: center;
  gap: 7px;
  border: 1px solid #e1e6e3;
  border-radius: 4px;
  background: #fafbfa;
  cursor: pointer;
}

.rn-framework-person-option:has(input:checked) {
  border-color: #78b8ae;
  background: #eef8f5;
}

.rn-framework-person-option input {
  width: 15px;
  height: 15px;
  accent-color: var(--rn2-green);
}

.rn-framework-person-option img {
  width: 30px;
  height: 30px;
  border-radius: 50%;
  object-fit: cover;
}

.rn-framework-person-option span,
.rn-framework-person-option strong,
.rn-framework-person-option small {
  display: block;
  min-width: 0;
}

.rn-framework-person-option strong,
.rn-framework-person-option small {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.rn-framework-person-option strong {
  color: var(--rn2-ink);
  font-size: 9px;
}

.rn-framework-person-option small {
  margin-top: 3px;
  color: var(--rn2-muted);
  font-size: 7px;
}

.rn-framework-person-option > i {
  display: grid;
  width: 22px;
  height: 22px;
  place-items: center;
  border-radius: 50%;
  background: #e9eeec;
  color: #627069;
}

.rn-framework-person-option:has(input:checked) > i {
  background: var(--rn2-green);
  color: #ffffff;
}

.rn-framework-person-option:has(input:checked) > i .rn-icon {
  transform: rotate(45deg);
}

.rn-framework-audience-preview {
  display: grid;
  min-width: 0;
  min-height: 58px;
  padding: 10px 12px;
  grid-template-columns: 28px minmax(0, 1fr) auto;
  align-items: center;
  gap: 10px;
  border: 1px solid #b9d9d2;
  border-radius: 5px;
  background: #eff8f6;
}

.rn-framework-audience-preview > span {
  display: grid;
  width: 28px;
  height: 28px;
  place-items: center;
  color: var(--rn2-green-dark);
}

.rn-framework-audience-preview strong,
.rn-framework-audience-preview p {
  display: block;
  margin: 0;
}

.rn-framework-audience-preview strong {
  color: var(--rn2-ink);
  font-size: 9px;
}

.rn-framework-audience-preview p {
  margin-top: 3px;
  color: var(--rn2-muted);
  font-size: 8px;
  line-height: 1.35;
}

.rn-framework-audience-preview b {
  min-width: 38px;
  color: var(--rn2-green-dark);
  font-size: 22px;
  text-align: right;
}

.rn-framework-source-grid {
  display: grid;
  grid-template-columns: minmax(250px, 0.8fr) minmax(0, 1.2fr);
  gap: 12px;
}

.rn-file-drop {
  min-height: 140px;
  padding: 16px;
  align-content: center !important;
  justify-items: center;
  border: 1px dashed #8fa49b;
  border-radius: 5px;
  background: #f7faf8;
  text-align: center;
}

.rn-file-drop input {
  max-width: 100%;
}

.rn-file-drop span {
  color: var(--rn2-ink);
  font-size: 10px;
}

.rn-file-drop small {
  color: var(--rn2-muted);
  font-size: 8px;
}

.rn-framework-submit-bar {
  position: sticky;
  bottom: 10px;
  z-index: 15;
  display: flex;
  min-width: 0;
  padding: 10px 12px;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  border: 1px solid #98aaa2;
  border-radius: 6px;
  background: rgba(247, 250, 248, 0.98);
  box-shadow: 0 10px 28px rgba(22, 34, 30, 0.14);
}

.rn-framework-submit-bar strong,
.rn-framework-submit-bar span {
  display: block;
}

.rn-framework-submit-bar strong {
  color: var(--rn2-ink);
  font-size: 10px;
}

.rn-framework-submit-bar span {
  margin-top: 3px;
  color: var(--rn2-muted);
  font-size: 8px;
}

.rn-framework-measure-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  align-items: start;
  gap: 14px;
}

.rn-measure-choice-list {
  display: grid;
  max-height: 360px;
  gap: 6px;
  overflow-y: auto;
}

.rn-measure-choice-list label {
  display: grid;
  min-width: 0;
  padding: 8px;
  grid-template-columns: 18px minmax(0, 1fr);
  align-items: start;
  gap: 8px;
  border: 1px solid var(--rn2-line);
  border-radius: 4px;
  background: #fafbfa;
  cursor: pointer;
}

.rn-measure-choice-list label:has(input:checked) {
  border-color: #8dbeb5;
  background: #eff8f5;
}

.rn-measure-choice-list input {
  width: 15px;
  height: 15px;
  accent-color: var(--rn2-green);
}

.rn-measure-choice-list span,
.rn-measure-choice-list strong,
.rn-measure-choice-list small {
  display: block;
  min-width: 0;
}

.rn-measure-choice-list strong {
  margin-top: 5px;
  color: var(--rn2-ink);
  font-size: 9px;
}

.rn-measure-choice-list small {
  margin-top: 3px;
  color: var(--rn2-muted);
  font-size: 8px;
}

/* Existing feature surfaces */

.rn-dashboard-grid,
.rn-performance-grid,
.rn-report-table,
.rn-sop-grid,
.rn-proposal-grid,
.rn-health-grid,
.rn-execution-grid,
.rn-insight-columns,
.rn-dossier-split,
.rn-participant-grid {
  min-width: 0;
  gap: 14px;
}

.rn-board,
.rn-calendar-shell,
.rn-performance-hero,
.rn-report-heading,
.rn-summary-dossier,
.rn-task-dossier,
.rn-assigned-framework {
  border: 1px solid var(--rn2-line);
  border-radius: 6px;
  background: #ffffff;
  box-shadow: var(--rn2-shadow);
}

.rn-performance-hero,
.rn-report-heading {
  padding: 18px;
  color: var(--rn2-text);
}

.rn-performance-hero h2,
.rn-report-heading h2 {
  color: var(--rn2-ink);
  font-size: 20px;
}

.rn-task-card,
.rn-sop-card,
.rn-proposal-card,
.rn-verification-card,
.rn-work-summary-card,
.rn-board-column {
  border: 1px solid var(--rn2-line);
  border-radius: 5px;
  background: #ffffff;
  box-shadow: 0 1px 2px rgba(22, 34, 30, 0.05);
}

.rn-drawer {
  width: min(680px, 100vw);
  border-left: 1px solid var(--rn2-line-strong);
  background: #ffffff;
  box-shadow: -18px 0 44px rgba(22, 34, 30, 0.18);
}

.rn-drawer-head,
.rn-drawer-actions {
  background: #f5f7f6;
}

.rn-search-results {
  overflow: hidden;
  border: 1px solid var(--rn2-line-strong);
  border-radius: 5px;
  background: #ffffff;
  box-shadow: 0 12px 28px rgba(22, 34, 30, 0.14);
}

.screen-reader-text {
  position: absolute !important;
  width: 1px;
  height: 1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.rn-person-search {
  position: relative;
  z-index: 20;
  display: grid;
  min-width: 230px;
  gap: 6px;
}

.rn-person-search-current {
  display: grid;
  min-width: 0;
  grid-template-columns: minmax(0, 1fr) 24px;
  align-items: center;
}

.rn-person-search-current > span {
  grid-column: 1 / -1;
  color: var(--rn2-muted);
  font-size: 8px;
  font-weight: 820;
  text-transform: uppercase;
}

.rn-person-search-current strong {
  overflow: hidden;
  color: var(--rn2-ink);
  font-size: 10px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.rn-person-search-current button {
  display: grid;
  width: 22px;
  height: 22px;
  padding: 0;
  place-items: center;
  border: 1px solid var(--rn2-line);
  border-radius: 4px;
  background: #ffffff;
  color: var(--rn2-muted);
  cursor: pointer;
}

.rn-person-search-current .rn-icon {
  width: 12px;
  height: 12px;
}

.rn-person-search input {
  width: 100%;
  min-height: 34px;
  font-size: 10px;
}

.rn-person-search-results {
  position: absolute;
  top: calc(100% + 4px);
  right: 0;
  left: 0;
  z-index: 80;
  display: none;
  max-height: 290px;
  padding: 5px;
  gap: 3px;
  overflow-y: auto;
  border: 1px solid var(--rn2-line-strong);
  border-radius: 6px;
  background: #ffffff;
  box-shadow: 0 16px 34px rgba(22, 34, 30, 0.18);
}

.rn-person-search:focus-within .rn-person-search-results {
  display: grid;
}

.rn-person-search-results button {
  display: grid;
  min-width: 0;
  min-height: 48px;
  padding: 6px 7px;
  grid-template-columns: 32px minmax(0, 1fr);
  align-items: center;
  gap: 8px;
  border: 1px solid transparent;
  border-radius: 4px;
  background: #ffffff;
  color: var(--rn2-text);
  text-align: left;
  cursor: pointer;
}

.rn-person-search-results button:hover,
.rn-person-search-results button:focus,
.rn-person-search-results button.is-selected {
  border-color: #9fc8c0;
  background: #edf7f4;
  outline: none;
}

.rn-person-search-results img,
.rn-person-search-results .rn-picker-avatar {
  display: grid;
  width: 32px;
  height: 32px;
  place-items: center;
  border-radius: 50%;
  background: #e5efec;
  color: var(--rn2-green-dark);
  font-size: 8px;
  font-weight: 850;
  object-fit: cover;
}

.rn-person-search-results strong,
.rn-person-search-results small {
  display: block;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.rn-person-search-results strong {
  color: var(--rn2-ink);
  font-size: 9px;
}

.rn-person-search-results small {
  margin-top: 2px;
  color: var(--rn2-muted);
  font-size: 8px;
}

.rn-holiday-context {
  display: grid;
  min-width: 0;
  margin: 0 0 14px;
  padding: 12px 14px;
  grid-template-columns: minmax(230px, 0.7fr) minmax(0, 1.3fr);
  gap: 14px;
  border: 1px solid #e2c98d;
  border-left: 4px solid #bd7b16;
  border-radius: 6px;
  background: #fff9ec;
}

.rn-holiday-context span,
.rn-holiday-context strong {
  display: block;
}

.rn-holiday-context > div:first-child span {
  color: #85510a;
  font-size: 8px;
  font-weight: 850;
  text-transform: uppercase;
}

.rn-holiday-context > div:first-child strong {
  margin-top: 4px;
  color: #583705;
  font-size: 11px;
  line-height: 1.45;
}

.rn-holiday-context > div:last-child {
  display: flex;
  min-width: 0;
  align-content: center;
  flex-wrap: wrap;
  gap: 5px;
}

.rn-holiday-context > div:last-child span,
.rn-holiday-flag,
.rn-holiday-note {
  color: #754907;
  font-size: 8px;
}

.rn-holiday-context > div:last-child span,
.rn-holiday-flag {
  padding: 4px 6px;
  border: 1px solid #e5cd99;
  border-radius: 4px;
  background: #ffffff;
  font-weight: 780;
}

.rn-holiday-note {
  display: block;
  margin-top: 4px;
  line-height: 1.3;
}

.rn-calendar-cell.is-holiday {
  background: #fffaf0;
}

.rn-calendar-holiday {
  margin: 4px 5px 1px;
  padding: 5px 6px;
  border-left: 3px solid #bd7b16;
  background: #ffffff;
}

.rn-calendar-holiday strong,
.rn-calendar-holiday small {
  display: block;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.rn-calendar-holiday strong {
  color: #6b4308;
  font-size: 8px;
}

.rn-calendar-holiday small {
  margin-top: 2px;
  color: #966920;
  font-size: 7px;
}

.rn-holiday-alert {
  display: grid;
  gap: 4px;
  border-color: #e2c98d;
  background: #fff9ec;
  color: #754907;
}

.rn-holiday-departments {
  margin: 0;
  padding: 10px;
  border: 1px solid var(--rn2-line);
  border-radius: 5px;
}

.rn-holiday-departments legend {
  padding: 0 5px;
  color: var(--rn2-muted);
  font-size: 9px;
  font-weight: 800;
}

.rn-holiday-departments > div {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 7px;
}

.rn-department-wide-toggle {
  display: grid;
  margin-top: 9px;
  padding: 10px;
  grid-template-columns: 18px minmax(0, 1fr);
  align-items: start;
  gap: 9px;
  border: 1px solid #a8c9c3;
  border-radius: 5px;
  background: #eff8f5;
  cursor: pointer;
}

.rn-department-wide-toggle input {
  width: 16px;
  height: 16px;
  accent-color: var(--rn2-green);
}

.rn-department-wide-toggle strong,
.rn-department-wide-toggle small {
  display: block;
}

.rn-department-wide-toggle strong {
  color: var(--rn2-ink);
  font-size: 10px;
}

.rn-department-wide-toggle small {
  margin-top: 3px;
  color: var(--rn2-muted);
  font-size: 8px;
  line-height: 1.4;
}

.rn-operational-remarks {
  display: grid;
  min-width: 0;
  margin: 12px 0;
  grid-template-columns: repeat(auto-fit, minmax(190px, 1fr));
  border: 1px solid var(--rn2-line);
  border-radius: 6px;
  background: #ffffff;
}

.rn-operational-remarks article {
  min-width: 0;
  padding: 10px 11px;
  border-right: 1px solid var(--rn2-line);
}

.rn-operational-remarks article:last-child {
  border-right: 0;
}

.rn-operational-remarks span {
  color: var(--rn2-blue);
  font-size: 8px;
  font-weight: 850;
  text-transform: uppercase;
}

.rn-operational-remarks p {
  margin: 5px 0 0;
  color: var(--rn2-text);
  font-size: 9px;
  line-height: 1.5;
}

.rn-report-dimensions {
  display: grid;
  min-width: 0;
  margin: 0 0 14px;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  border: 1px solid var(--rn2-line);
  border-radius: 6px;
  background: #ffffff;
}

.rn-report-dimensions > header {
  min-width: 0;
  padding: 14px 16px;
  grid-column: 1 / -1;
  border-bottom: 1px solid var(--rn2-line);
  background: #f5f8f7;
}

.rn-report-dimensions > header span {
  color: var(--rn2-green);
}

.rn-report-dimensions > header h3 {
  margin: 3px 0 4px;
  color: var(--rn2-ink);
  font-size: 15px;
}

.rn-report-dimensions > header p {
  max-width: 980px;
  margin: 0;
  color: var(--rn2-muted);
  font-size: 10px;
  line-height: 1.5;
}

.rn-report-dimensions article {
  min-width: 0;
  padding: 11px 12px;
  border-right: 1px solid var(--rn2-line);
  border-bottom: 1px solid var(--rn2-line);
}

.rn-report-dimensions article > div {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
}

.rn-report-dimensions span {
  color: var(--rn2-muted);
  font-size: 8px;
  font-weight: 800;
  text-transform: uppercase;
}

.rn-report-dimensions strong {
  color: var(--rn2-ink);
  font-size: 14px;
}

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

.rn-monthly-person {
  min-width: 0;
  padding: 13px;
  border: 1px solid var(--rn2-line);
  border-radius: 6px;
  background: #fbfcfb;
}

.rn-monthly-person > header,
.rn-monthly-person > footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}

.rn-monthly-person > header > div:last-child {
  text-align: right;
}

.rn-monthly-person > header > div:last-child > strong {
  display: block;
  margin-bottom: 5px;
  color: var(--rn2-ink);
  font-size: 22px;
}

.rn-monthly-person > footer {
  justify-content: flex-end;
}

.rn-monthly-mini-dimensions {
  display: grid;
  margin: 12px 0;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  border-top: 1px solid var(--rn2-line);
  border-left: 1px solid var(--rn2-line);
}

.rn-monthly-mini-dimensions > div {
  min-width: 0;
  padding: 7px;
  border-right: 1px solid var(--rn2-line);
  border-bottom: 1px solid var(--rn2-line);
}

.rn-monthly-mini-dimensions span,
.rn-monthly-mini-dimensions strong {
  display: block;
}

.rn-monthly-mini-dimensions span {
  overflow: hidden;
  color: var(--rn2-muted);
  font-size: 7px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.rn-monthly-mini-dimensions strong {
  margin-top: 4px;
  color: var(--rn2-ink);
  font-size: 11px;
}

.rn-table-remark {
  min-width: 190px;
  max-width: 330px;
  color: var(--rn2-text);
  font-size: 8px;
  line-height: 1.45;
  white-space: normal;
}

.rn-search-field {
  min-width: min(360px, 100%);
  min-height: 42px;
  display: grid;
  grid-template-columns: 20px minmax(0, 1fr) 32px;
  align-items: center;
  gap: 7px;
  padding: 0 6px 0 11px;
  border: 1px solid var(--rn2-line-strong);
  background: #fff;
  border-radius: 6px;
}

.rn-search-field:focus-within {
  border-color: var(--rn2-blue);
  box-shadow: 0 0 0 3px rgba(37, 99, 235, .10);
}

.rn-search-field input {
  min-width: 0;
  width: 100%;
  height: 40px;
  padding: 0;
  border: 0;
  outline: 0;
  box-shadow: none;
}

.rn-search-field > .rn-icon {
  color: var(--rn2-muted);
}

.rn-search-field .rn-icon-button {
  width: 30px;
  height: 30px;
  border: 0;
}

.rn-filter-count {
  color: var(--rn2-muted);
  font-size: 12px;
  font-weight: 700;
  white-space: nowrap;
}

.rn-report-release {
  display: grid;
  grid-template-columns: minmax(240px, .7fr) minmax(0, 1.3fr);
  gap: 18px;
  align-items: center;
  margin-bottom: 14px;
  padding: 14px 16px;
  border: 1px solid #bfdbfe;
  border-left: 4px solid var(--rn2-blue);
  background: #eff6ff;
  border-radius: 6px;
}

.rn-report-release > div {
  display: grid;
  grid-template-columns: 22px minmax(0, 1fr);
  column-gap: 9px;
  align-items: center;
}

.rn-report-release > div .rn-icon {
  grid-row: 1 / 3;
  color: var(--rn2-blue);
}

.rn-report-release span,
.rn-report-release p {
  color: #475569;
  font-size: 12px;
}

.rn-report-release strong {
  color: #172554;
  font-size: 14px;
}

.rn-report-release p {
  margin: 0;
  line-height: 1.55;
}

.rn-report-kpis {
  grid-template-columns: repeat(6, minmax(0, 1fr));
}

.rn-report-people {
  display: grid;
  gap: 14px;
}

.rn-report-person {
  border: 1px solid var(--rn2-line);
  background: #fff;
  border-radius: 7px;
  overflow: hidden;
}

.rn-report-person > header {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  align-items: center;
  padding: 16px;
  border-bottom: 1px solid var(--rn2-line);
  background: #f8fafc;
}

.rn-report-person.is-unscored > header {
  border-left: 4px solid #64748b;
}

.rn-report-person-score {
  flex: 0 0 auto;
  min-width: 150px;
  text-align: right;
}

.rn-report-person-score > span {
  display: block;
  color: var(--rn2-muted);
  font-size: 11px;
  font-weight: 800;
  text-transform: uppercase;
}

.rn-report-person-score > strong {
  display: block;
  margin: 2px 0 6px;
  color: var(--rn2-ink);
  font-size: 26px;
  line-height: 1;
}

.rn-report-person-scorecard .rn-report-dimensions {
  margin: 0;
  border-width: 0 0 1px;
  border-radius: 0;
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.rn-report-evidence-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  border-bottom: 1px solid var(--rn2-line);
}

.rn-report-evidence-grid > div {
  min-width: 0;
  padding: 13px 15px;
  border-right: 1px solid var(--rn2-line);
  border-bottom: 1px solid var(--rn2-line);
}

.rn-report-evidence-grid > div:nth-child(3n) {
  border-right: 0;
}

.rn-report-evidence-grid span,
.rn-report-evidence-grid small {
  display: block;
  color: var(--rn2-muted);
  font-size: 11px;
}

.rn-report-evidence-grid strong {
  display: block;
  margin: 4px 0 2px;
  color: var(--rn2-ink);
  font-size: 14px;
}

.rn-report-person > .rn-operational-remarks {
  margin: 0;
  border-width: 0 0 1px;
  border-radius: 0;
}

.rn-report-person > footer {
  padding: 13px 15px;
  background: #f8fafc;
}

.rn-framework-source-access {
  display: grid;
  grid-template-columns: minmax(230px, .65fr) minmax(0, 1.35fr);
  gap: 16px;
  align-items: start;
  margin-top: 16px;
  padding: 15px;
  border: 1px solid var(--rn2-line);
  border-left: 4px solid var(--rn2-green);
  background: #f8fafc;
  border-radius: 6px;
}

.rn-framework-source-access h4,
.rn-framework-source-access p {
  margin: 3px 0 0;
}

.rn-framework-source-access p {
  color: var(--rn2-muted);
  font-size: 12px;
  line-height: 1.5;
}

.rn-framework-source-access details {
  min-width: 0;
  border: 1px solid var(--rn2-line);
  background: #fff;
  border-radius: 5px;
}

.rn-framework-source-access summary {
  padding: 10px 12px;
  cursor: pointer;
  color: var(--rn2-ink);
  font-size: 12px;
  font-weight: 800;
}

.rn-framework-source-text {
  max-height: 260px;
  overflow: auto;
  padding: 12px;
  border-top: 1px solid var(--rn2-line);
  color: #334155;
  font-size: 12px;
  line-height: 1.65;
  white-space: pre-wrap;
  overflow-wrap: anywhere;
}

.rn-recurring-holiday-fields {
  padding: 12px;
  border: 1px solid #bfdbfe;
  background: #eff6ff;
  border-radius: 6px;
}

@media (max-width: 1460px) {
  .rn-topbar {
    min-height: 104px;
    padding: 9px 16px;
    grid-template-areas:
      "leading actions"
      "workspace workspace";
    grid-template-columns: minmax(220px, 1fr) auto;
    gap: 7px 12px;
  }

  #rn-app .rn-topbar > .rn-topbar-leading { grid-area: leading; }
  #rn-app .rn-topbar > .rn-topbar-workspace { grid-area: workspace; }
  #rn-app .rn-topbar > .rn-topbar-actions { grid-area: actions; }

  .rn-topbar-workspace {
    grid-template-columns: minmax(200px, 1fr) minmax(230px, 300px);
  }

  .rn-user-chip {
    max-width: 48px;
    padding: 5px 8px;
  }

  .rn-user-chip span {
    display: none;
  }

  .rn-topbar-actions .rn-role-control {
    width: 104px;
  }

  .rn-topbar p {
    display: none;
  }

  .rn-ops-brief {
    grid-template-columns: minmax(0, 1fr);
  }

  .rn-ops-brief-stats {
    border-top: 1px solid var(--rn2-line);
    border-left: 0;
  }
}

@media (max-width: 1180px) {
  .rn-sidebar {
    width: 274px;
    transform: translateX(-102%);
    transition: transform 180ms ease;
  }

  .rn-shell.is-menu-open .rn-sidebar {
    transform: translateX(0);
  }

  .rn-sidebar-scrim {
    position: fixed;
    inset: 0;
    z-index: 70;
    display: none;
    border: 0;
    background: rgba(16, 25, 22, 0.48);
  }

  .rn-shell.is-menu-open .rn-sidebar-scrim {
    display: block;
  }

  .rn-main-shell {
    margin-left: 0;
  }

  .rn-menu-toggle {
    display: inline-flex !important;
  }

  .rn-dashboard-span-4,
  .rn-dashboard-span-5,
  .rn-dashboard-span-6,
  .rn-dashboard-span-7,
  .rn-dashboard-span-8 {
    grid-column: span 12;
  }

  .rn-framework-layout,
  .rn-sop-layout,
  .rn-admin-split,
  .rn-ai-settings-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .rn-monthly-people {
    grid-template-columns: minmax(0, 1fr);
  }

  .rn-report-kpis {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 820px) {
  .rn-topbar {
    min-height: 96px;
    padding: 8px 11px;
    grid-template-areas:
      "leading actions"
      "workspace workspace";
    grid-template-columns: minmax(0, 1fr) auto;
  }

  .rn-topbar-kicker,
  .rn-topbar p,
  .rn-global-search,
  .rn-assign-top,
  .rn-role-control > span {
    display: none;
  }

  .rn-topbar h1 {
    font-size: 15px;
  }

  .rn-topbar-workspace {
    display: block;
  }

  .rn-scope-control {
    width: 100%;
  }

  .rn-topbar-actions {
    gap: 5px;
  }

  .rn-topbar-actions .rn-role-control {
    width: 96px;
  }

  .rn-user-chip {
    width: 38px;
    min-width: 38px;
    min-height: 36px;
    padding: 4px;
    justify-content: center;
  }

  .rn-user-chip img,
  .rn-user-avatar {
    width: 27px;
    height: 27px;
  }

  .rn-content {
    padding: 16px 11px 34px;
  }

  .rn-page-head {
    min-height: 0;
    align-items: flex-start;
    flex-wrap: wrap;
  }

  .rn-page-head h2 {
    font-size: 20px;
  }

  .rn-page-head .rn-button {
    width: 100%;
  }

  .rn-kpi-ribbon,
  .rn-summary-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .rn-summary-card,
  .rn-metric-tile {
    border-right: 1px solid var(--rn2-line);
    border-bottom: 1px solid var(--rn2-line);
  }

  .rn-ops-brief-stats {
    grid-template-columns: minmax(0, 1fr);
  }

  .rn-ops-brief-stats > div {
    border-right: 0;
    border-bottom: 1px solid var(--rn2-line);
  }

  .rn-form-grid,
  .rn-form-grid-3,
  .rn-scope-control-grid,
  .rn-framework-source-grid,
  .rn-framework-measure-grid,
  .rn-picker-toolbar {
    grid-template-columns: minmax(0, 1fr);
  }

  .rn-report-toolbar {
    grid-template-columns: minmax(0, 1fr);
    align-items: stretch;
  }

  .rn-report-release,
  .rn-framework-source-access {
    grid-template-columns: minmax(0, 1fr);
  }

  .rn-report-person-scorecard .rn-report-dimensions,
  .rn-report-evidence-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .rn-report-evidence-grid > div,
  .rn-report-evidence-grid > div:nth-child(3n) {
    border-right: 1px solid var(--rn2-line);
  }

  .rn-report-evidence-grid > div:nth-child(2n) {
    border-right: 0;
  }

  .rn-holiday-context,
  .rn-holiday-departments > div {
    grid-template-columns: minmax(0, 1fr);
  }

  .rn-operational-remarks article {
    border-right: 0;
    border-bottom: 1px solid var(--rn2-line);
  }

  .rn-operational-remarks article:last-child {
    border-bottom: 0;
  }

  .rn-scope-choice-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .rn-framework-people-list {
    grid-template-columns: minmax(0, 1fr);
  }

  .rn-framework-submit-bar {
    position: static;
    align-items: stretch;
    flex-direction: column;
  }

  .rn-framework-submit-bar .rn-button {
    width: 100%;
  }

  .rn-workload-list button {
    grid-template-columns: minmax(0, 1fr) 58px;
  }

  .rn-workload-list button .rn-workload-bar {
    grid-column: 1 / -1;
    grid-row: 2;
  }

  .rn-card-title {
    flex-wrap: wrap;
  }

  .rn-card-title > .rn-button,
  .rn-card-title > div + div {
    max-width: 100%;
  }

  .rn-person-search {
    min-width: 0;
  }
}

@media (max-width: 480px) {
  .rn-topbar-actions .rn-notification-button {
    display: none;
  }

  .rn-topbar-actions .rn-role-control {
    width: 88px;
  }

  .rn-summary-grid,
  .rn-kpi-ribbon,
  .rn-report-kpis,
  .rn-scope-choice-grid,
  .rn-report-shortcuts,
  .rn-pulse-stack dl,
  .rn-ai-health dl,
  .rn-detail-stack dl {
    grid-template-columns: minmax(0, 1fr);
  }

  .rn-summary-card,
  .rn-metric-tile {
    min-height: 72px;
  }

  .rn-ops-brief-main,
  .rn-panel,
  .rn-framework-form-section {
    padding: 13px;
  }

  .rn-score-bands {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .rn-monthly-mini-dimensions {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .rn-report-person > header {
    align-items: flex-start;
    flex-direction: column;
  }

  .rn-report-person-score {
    min-width: 0;
    text-align: left;
  }

  .rn-report-person-scorecard .rn-report-dimensions,
  .rn-report-dimensions,
  .rn-report-evidence-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .rn-report-evidence-grid > div,
  .rn-report-evidence-grid > div:nth-child(2n),
  .rn-report-evidence-grid > div:nth-child(3n) {
    border-right: 0;
  }
}

/* Task template operations */

.rn-template-command {
  display: grid;
  grid-template-columns: minmax(0, 1.3fr) minmax(320px, 0.7fr);
  align-items: center;
  gap: 22px;
  margin: 14px 0;
  border-left: 4px solid var(--rn2-green);
}

.rn-template-command-copy h3 {
  margin: 5px 0 6px;
  color: var(--rn2-ink);
  font-size: 17px;
}

.rn-template-command-copy p {
  max-width: 760px;
  margin: 0;
  color: var(--rn2-muted);
  font-size: 11px;
  line-height: 1.55;
}

.rn-template-command-steps {
  display: grid;
  gap: 7px;
}

.rn-template-command-steps span {
  display: flex;
  min-height: 34px;
  padding: 8px 10px;
  align-items: center;
  gap: 10px;
  border: 1px solid var(--rn2-line);
  border-radius: 5px;
  background: #f7f9f8;
  color: var(--rn2-text);
  font-size: 10px;
  font-weight: 720;
}

.rn-template-command-steps strong {
  color: var(--rn2-green-dark);
  font-size: 9px;
}

.rn-template-filter {
  margin-bottom: 12px;
}

.rn-template-filter > label {
  min-width: min(420px, 100%);
  flex: 1 1 320px;
}

.rn-template-filter > strong {
  margin-left: auto;
  color: var(--rn2-muted);
  font-size: 10px;
}

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

.rn-template-card {
  display: grid;
  min-width: 0;
  padding: 16px;
  gap: 13px;
  border: 1px solid var(--rn2-line);
  border-radius: 6px;
  background: #ffffff;
  box-shadow: 0 4px 14px rgba(22, 34, 30, 0.05);
}

.rn-template-card-head {
  display: grid;
  min-width: 0;
  grid-template-columns: 36px minmax(0, 1fr) auto;
  align-items: center;
  gap: 10px;
}

.rn-template-card-icon {
  display: grid;
  width: 36px;
  height: 36px;
  place-items: center;
  border-radius: 5px;
  background: var(--rn2-green-soft);
  color: var(--rn2-green-dark);
}

.rn-template-card-head > div:nth-child(2) {
  min-width: 0;
}

.rn-template-card-head span,
.rn-template-facts small {
  color: var(--rn2-muted);
  font-size: 8px;
  font-weight: 760;
  text-transform: uppercase;
}

.rn-template-card-head h3 {
  margin: 3px 0 0;
  overflow-wrap: anywhere;
  color: var(--rn2-ink);
  font-size: 14px;
}

.rn-template-description {
  min-height: 34px;
  margin: 0;
  color: var(--rn2-text);
  font-size: 10px;
  line-height: 1.55;
}

.rn-template-facts {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  border: 1px solid var(--rn2-line);
  border-radius: 5px;
  background: #f8faf9;
}

.rn-template-facts > div {
  display: flex;
  min-width: 0;
  padding: 10px;
  align-items: flex-start;
  gap: 7px;
  border-right: 1px solid var(--rn2-line);
}

.rn-template-facts > div:last-child {
  border-right: 0;
}

.rn-template-facts .rn-icon {
  width: 15px;
  flex: 0 0 15px;
  color: var(--rn2-blue);
}

.rn-template-facts span {
  display: grid;
  min-width: 0;
  gap: 3px;
}

.rn-template-facts strong {
  overflow-wrap: anywhere;
  color: var(--rn2-ink);
  font-size: 9px;
  line-height: 1.35;
}

.rn-template-audience {
  min-height: 31px;
  padding: 8px 10px;
  border-left: 3px solid var(--rn2-blue);
  background: #f1f6f8;
  color: var(--rn2-text);
  font-size: 9px;
  line-height: 1.45;
}

.rn-template-card-actions {
  display: flex;
  align-items: center;
  gap: 7px;
}

.rn-template-card-actions .rn-button-primary {
  margin-right: auto;
}

.rn-icon-button.is-danger {
  color: #a43f3f;
}

.rn-template-composer {
  display: grid;
  gap: 14px;
}

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

.rn-template-scope-switch > label {
  display: grid;
  min-width: 0;
  padding: 12px;
  grid-template-columns: 17px minmax(0, 1fr);
  align-items: start;
  gap: 8px;
  border: 1px solid var(--rn2-line);
  border-radius: 5px;
  background: #f8faf9;
  cursor: pointer;
}

.rn-template-scope-switch > label.is-selected {
  border-color: var(--rn2-green);
  background: var(--rn2-green-soft);
}

.rn-template-scope-switch span {
  display: grid;
  gap: 3px;
}

.rn-template-scope-switch strong {
  color: var(--rn2-ink);
  font-size: 10px;
}

.rn-template-scope-switch small {
  color: var(--rn2-muted);
  font-size: 9px;
  line-height: 1.4;
}

.rn-template-weekdays {
  padding: 10px 12px 12px;
  border: 1px solid var(--rn2-line);
  border-radius: 5px;
}

.rn-template-weekdays legend {
  padding: 0 5px;
  color: var(--rn2-muted);
  font-size: 9px;
  font-weight: 760;
}

.rn-template-weekdays > div {
  display: grid;
  grid-template-columns: repeat(7, minmax(0, 1fr));
  gap: 6px;
}

.rn-template-weekdays .rn-checkbox {
  min-width: 0;
  padding: 8px 5px;
  justify-content: center;
  border: 1px solid var(--rn2-line);
  border-radius: 4px;
  background: #ffffff;
}

.rn-template-people,
.rn-template-verifiers {
  max-height: 330px;
  overflow-y: auto;
}

@media (max-width: 980px) {
  .rn-template-command,
  .rn-template-register {
    grid-template-columns: minmax(0, 1fr);
  }
}

@media (max-width: 620px) {
  .rn-template-facts,
  .rn-template-scope-switch {
    grid-template-columns: minmax(0, 1fr);
  }

  .rn-template-facts > div {
    border-right: 0;
    border-bottom: 1px solid var(--rn2-line);
  }

  .rn-template-facts > div:last-child {
    border-bottom: 0;
  }

  .rn-template-weekdays > div {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }

  .rn-template-card-actions {
    flex-wrap: wrap;
  }

  .rn-template-card-actions .rn-button-primary {
    width: 100%;
    margin-right: 0;
  }
}

@media print {
  .rn-sidebar,
  .rn-sidebar-scrim,
  .rn-topbar,
  .rn-page-head,
  .rn-button,
  .rn-icon-button,
  .rn-framework-submit-bar {
    display: none !important;
  }

  .rn-main-shell {
    margin-left: 0;
  }

  .rn-content {
    max-width: none;
    padding: 0;
  }

  .rn-panel,
  .rn-board,
  .rn-calendar-shell {
    box-shadow: none;
  }
}

/* Operational settings, evidence, and review workflows. */

.rn-settings-command {
  display: grid;
  grid-template-columns: 248px minmax(0, 1fr);
  align-items: start;
  gap: 16px;
}

.rn-settings-index {
  position: sticky;
  top: 92px;
  display: grid;
  padding: 18px;
  gap: 13px;
  border: 1px solid var(--rn2-line);
  border-top: 4px solid var(--rn2-green);
  border-radius: 6px;
  background: #ffffff;
  box-shadow: var(--rn2-shadow);
}

.rn-settings-index h3,
.rn-settings-index p {
  margin: 0;
}

.rn-settings-index h3 {
  color: var(--rn2-ink);
  font-size: 18px;
}

.rn-settings-index p {
  color: var(--rn2-muted);
  font-size: 10px;
  line-height: 1.55;
}

.rn-settings-index dl {
  display: grid;
  margin: 0;
  border: 1px solid var(--rn2-line);
  border-radius: 5px;
  background: var(--rn2-surface-soft);
}

.rn-settings-index dl > div {
  display: flex;
  padding: 9px 10px;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  border-bottom: 1px solid var(--rn2-line);
}

.rn-settings-index dl > div:last-child {
  border-bottom: 0;
}

.rn-settings-index dt,
.rn-settings-index dd {
  margin: 0;
  font-size: 9px;
}

.rn-settings-index dt {
  color: var(--rn2-muted);
}

.rn-settings-index dd {
  color: var(--rn2-ink);
  font-weight: 760;
  text-align: right;
}

.rn-settings-links {
  display: grid;
  gap: 5px;
}

.rn-settings-links button {
  display: flex;
  min-height: 36px;
  padding: 7px 8px;
  align-items: center;
  gap: 8px;
  border: 1px solid transparent;
  border-radius: 4px;
  background: transparent;
  color: var(--rn2-text);
  font-size: 10px;
  font-weight: 720;
  text-align: left;
}

.rn-settings-links button:hover {
  border-color: var(--rn2-line);
  background: var(--rn2-surface-soft);
}

.rn-settings-links .rn-icon {
  width: 15px;
  color: var(--rn2-blue);
}

.rn-settings-editor {
  display: grid;
  min-width: 0;
  gap: 14px;
}

.rn-settings-section {
  display: grid;
  gap: 16px;
}

.rn-settings-section-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
}

.rn-settings-section-head > div {
  min-width: 0;
}

.rn-settings-section-head > div > span,
.rn-settings-section-head > div > p {
  color: var(--rn2-muted);
  font-size: 9px;
}

.rn-settings-section-head > div > span {
  font-weight: 820;
  text-transform: uppercase;
}

.rn-settings-section-head h3,
.rn-settings-section-head p {
  margin: 3px 0 0;
}

.rn-settings-section-head h3 {
  color: var(--rn2-ink);
  font-size: 15px;
}

.rn-settings-section-head p {
  line-height: 1.5;
}

.rn-settings-savebar {
  position: sticky;
  bottom: 12px;
  z-index: 8;
  display: flex;
  min-height: 62px;
  padding: 11px 13px;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  border: 1px solid #b6c7c1;
  border-radius: 6px;
  background: rgba(248, 252, 250, 0.97);
  box-shadow: 0 10px 26px rgba(22, 34, 30, 0.12);
  backdrop-filter: blur(8px);
}

.rn-settings-savebar > div {
  display: grid;
  gap: 3px;
}

.rn-settings-savebar strong {
  color: var(--rn2-ink);
  font-size: 10px;
}

.rn-settings-savebar span {
  color: var(--rn2-muted);
  font-size: 9px;
}

.rn-switch {
  display: inline-flex;
  min-height: 26px;
  align-items: center;
  gap: 8px;
  color: var(--rn2-text);
  font-size: 9px;
  font-weight: 740;
  cursor: pointer;
}

.rn-switch input {
  position: absolute;
  width: 1px;
  height: 1px;
  opacity: 0;
}

.rn-switch > span {
  position: relative;
  width: 34px;
  height: 19px;
  flex: 0 0 34px;
  border: 1px solid #aab5b0;
  border-radius: 10px;
  background: #dfe5e2;
  transition: background 140ms ease, border-color 140ms ease;
}

.rn-switch > span::after {
  position: absolute;
  top: 2px;
  left: 2px;
  width: 13px;
  height: 13px;
  border-radius: 50%;
  background: #ffffff;
  box-shadow: 0 1px 3px rgba(22, 34, 30, 0.22);
  content: "";
  transition: transform 140ms ease;
}

.rn-switch input:checked + span {
  border-color: var(--rn2-green);
  background: var(--rn2-green);
}

.rn-switch input:checked + span::after {
  transform: translateX(15px);
}

.rn-switch input:focus-visible + span {
  outline: 2px solid var(--rn2-blue);
  outline-offset: 2px;
}

.rn-switch-icon {
  justify-content: center;
}

.rn-notification-matrix {
  overflow: hidden;
  border: 1px solid var(--rn2-line);
  border-radius: 5px;
}

.rn-notification-matrix-head,
.rn-notification-row {
  display: grid;
  grid-template-columns: minmax(180px, 1.7fr) 72px 72px 72px minmax(105px, 0.7fr);
  align-items: center;
}

.rn-notification-matrix-head {
  min-height: 36px;
  background: #edf2f0;
  color: var(--rn2-muted);
  font-size: 8px;
  font-weight: 840;
  text-transform: uppercase;
}

.rn-notification-matrix-head > span,
.rn-notification-row > * {
  min-width: 0;
  padding: 8px 10px;
}

.rn-notification-row {
  min-height: 52px;
  border-top: 1px solid var(--rn2-line);
  background: #ffffff;
}

.rn-notification-row:nth-child(odd) {
  background: #fafcfb;
}

.rn-notification-row > div {
  display: grid;
  gap: 2px;
}

.rn-notification-row strong {
  color: var(--rn2-ink);
  font-size: 10px;
}

.rn-notification-row small {
  overflow-wrap: anywhere;
  color: var(--rn2-muted);
  font-size: 8px;
}

.rn-compact-number {
  position: relative;
  display: block;
}

.rn-compact-number input {
  width: 100%;
  padding-right: 30px !important;
}

.rn-compact-number span {
  position: absolute;
  top: 50%;
  right: 16px;
  color: var(--rn2-muted);
  font-size: 8px;
  transform: translateY(-50%);
}

.rn-switch-line {
  display: flex;
  min-height: 62px;
  padding: 11px 12px;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  border: 1px solid var(--rn2-line);
  border-radius: 5px;
  background: var(--rn2-surface-soft);
}

.rn-switch-line > span {
  display: grid;
  gap: 3px;
}

.rn-switch-line strong {
  color: var(--rn2-ink);
  font-size: 10px;
}

.rn-switch-line small {
  color: var(--rn2-muted);
  font-size: 8px;
}

.rn-escalation-editor {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  border: 1px solid var(--rn2-line);
  border-radius: 5px;
  background: #ffffff;
}

.rn-escalation-editor > * {
  display: grid;
  min-width: 0;
  min-height: 104px;
  padding: 13px;
  align-content: start;
  gap: 7px;
  border-right: 1px solid var(--rn2-line);
}

.rn-escalation-editor > *:last-child {
  border-right: 0;
}

.rn-escalation-editor > * > span {
  color: var(--rn2-muted);
  font-size: 8px;
  font-weight: 820;
  text-transform: uppercase;
}

.rn-escalation-editor article strong {
  color: var(--rn2-red);
  font-size: 17px;
}

.rn-escalation-editor small {
  color: var(--rn2-muted);
  font-size: 8px;
  line-height: 1.4;
}

.rn-escalation-editor label > div,
.rn-file-limit-grid label > div {
  position: relative;
}

.rn-escalation-editor label input,
.rn-file-limit-grid label input {
  width: 100%;
  padding-right: 46px !important;
}

.rn-escalation-editor label b,
.rn-file-limit-grid label b {
  position: absolute;
  top: 50%;
  right: 10px;
  color: var(--rn2-muted);
  font-size: 8px;
  transform: translateY(-50%);
}

.rn-category-editor {
  display: grid;
  gap: 7px;
}

.rn-category-row {
  display: grid;
  grid-template-columns: 84px minmax(160px, 1fr) 105px 80px;
  min-height: 60px;
  padding: 8px 10px;
  align-items: center;
  gap: 10px;
  border: 1px solid var(--rn2-line);
  border-radius: 5px;
  background: #ffffff;
}

.rn-category-row label:not(.rn-switch) {
  display: grid;
  gap: 4px;
  color: var(--rn2-muted);
  font-size: 8px;
  font-weight: 760;
}

.rn-color-control {
  grid-template-columns: 30px minmax(0, 1fr);
  align-items: center;
}

.rn-color-control input {
  width: 30px !important;
  height: 30px;
  padding: 2px !important;
}

.rn-weight-total {
  min-width: 62px;
  padding: 8px 10px;
  border: 1px solid #9bc9bd;
  border-radius: 5px;
  background: var(--rn2-green-soft);
  color: var(--rn2-green-dark);
  font-size: 15px;
  text-align: center;
}

.rn-weight-total.is-invalid {
  border-color: #e2a9ad;
  background: var(--rn2-red-soft);
  color: var(--rn2-red);
}

.rn-weight-editor,
.rn-file-limit-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
}

.rn-weight-editor > label,
.rn-file-limit-grid > label {
  display: grid;
  min-width: 0;
  padding: 12px;
  align-content: start;
  gap: 8px;
  border: 1px solid var(--rn2-line);
  border-radius: 5px;
  background: var(--rn2-surface-soft);
}

.rn-weight-editor span,
.rn-file-limit-grid span {
  color: var(--rn2-ink);
  font-size: 9px;
  font-weight: 760;
}

.rn-weight-editor small {
  color: var(--rn2-muted);
  font-size: 8px;
  line-height: 1.45;
}

.rn-weekday-editor {
  display: grid;
  grid-template-columns: repeat(7, minmax(0, 1fr));
  gap: 6px;
}

.rn-weekday-editor label {
  display: grid;
  min-height: 42px;
  place-items: center;
  border: 1px solid var(--rn2-line);
  border-radius: 4px;
  background: #ffffff;
  color: var(--rn2-muted);
  cursor: pointer;
}

.rn-weekday-editor label.is-selected {
  border-color: var(--rn2-green);
  background: var(--rn2-green-soft);
  color: var(--rn2-green-dark);
}

.rn-weekday-editor input {
  position: absolute;
  width: 1px;
  height: 1px;
  opacity: 0;
}

.rn-weekday-editor span {
  font-size: 9px;
  font-weight: 820;
  text-transform: uppercase;
}

.rn-general-switch {
  margin-top: 10px;
}

.rn-retention-lock {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  border-left: 4px solid var(--rn2-blue);
}

.rn-retention-lock > div {
  display: flex;
  min-width: 0;
  align-items: center;
  gap: 12px;
}

.rn-retention-lock .rn-icon {
  width: 22px;
  color: var(--rn2-blue);
}

.rn-retention-lock strong,
.rn-retention-lock p {
  margin: 0;
}

.rn-retention-lock strong {
  color: var(--rn2-ink);
  font-size: 11px;
}

.rn-retention-lock p {
  margin-top: 3px;
  color: var(--rn2-muted);
  font-size: 9px;
  line-height: 1.45;
}

.rn-evidence-register,
.rn-task-comments {
  display: grid;
  gap: 7px;
}

.rn-evidence-file {
  display: grid;
  grid-template-columns: 34px minmax(0, 1fr) auto;
  min-height: 54px;
  padding: 8px 10px;
  align-items: center;
  gap: 10px;
  border: 1px solid var(--rn2-line);
  border-radius: 5px;
  background: #ffffff;
  color: var(--rn2-text);
  text-decoration: none;
}

.rn-evidence-file:hover {
  border-color: var(--rn2-blue);
  background: var(--rn2-blue-soft);
}

.rn-evidence-file > span {
  display: grid;
  width: 34px;
  height: 34px;
  place-items: center;
  border-radius: 4px;
  background: var(--rn2-blue-soft);
  color: var(--rn2-blue);
}

.rn-evidence-file > div {
  display: grid;
  min-width: 0;
  gap: 3px;
}

.rn-evidence-file strong {
  overflow-wrap: anywhere;
  color: var(--rn2-ink);
  font-size: 10px;
}

.rn-evidence-file small,
.rn-evidence-file b {
  color: var(--rn2-muted);
  font-size: 8px;
}

.rn-evidence-upload,
.rn-task-comment-form {
  display: flex;
  margin-top: 10px;
  padding: 10px;
  align-items: end;
  gap: 10px;
  border: 1px dashed var(--rn2-line-strong);
  border-radius: 5px;
  background: var(--rn2-surface-soft);
}

.rn-evidence-upload label,
.rn-task-comment-form label {
  display: grid;
  min-width: 0;
  flex: 1 1 auto;
  gap: 5px;
  color: var(--rn2-muted);
  font-size: 8px;
  font-weight: 760;
}

.rn-task-comments article {
  display: grid;
  grid-template-columns: 34px minmax(0, 1fr);
  padding: 10px;
  align-items: start;
  gap: 9px;
  border-bottom: 1px solid var(--rn2-line);
}

.rn-task-comments article > div {
  min-width: 0;
}

.rn-task-comments header {
  display: flex;
  align-items: center;
  gap: 7px;
}

.rn-task-comments p {
  margin: 5px 0;
  overflow-wrap: anywhere;
  color: var(--rn2-text);
  font-size: 10px;
  line-height: 1.5;
}

.rn-task-comments small {
  color: var(--rn2-muted);
  font-size: 8px;
}

.rn-performance-span-12 {
  grid-column: span 12;
}

.rn-performance-review-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(320px, 0.95fr);
  gap: 14px;
}

.rn-review-ledger,
.rn-review-controls {
  display: grid;
  align-content: start;
  gap: 9px;
}

.rn-review-ledger h4 {
  margin: 5px 0 0;
  color: var(--rn2-muted);
  font-size: 8px;
  text-transform: uppercase;
}

.rn-review-ledger article {
  padding: 10px 11px;
  border-left: 3px solid var(--rn2-blue);
  background: #f3f6f8;
}

.rn-review-ledger article > div {
  display: flex;
  justify-content: space-between;
  gap: 10px;
}

.rn-review-ledger strong {
  color: var(--rn2-ink);
  font-size: 10px;
}

.rn-review-ledger small {
  color: var(--rn2-muted);
  font-size: 8px;
}

.rn-review-ledger p {
  margin: 5px 0 0;
  color: var(--rn2-text);
  font-size: 9px;
  line-height: 1.5;
}

.rn-review-controls > form {
  display: grid;
  padding: 12px;
  gap: 9px;
  border: 1px solid var(--rn2-line);
  border-radius: 5px;
  background: var(--rn2-surface-soft);
}

.rn-review-controls > form > label {
  display: grid;
  gap: 5px;
  color: var(--rn2-muted);
  font-size: 8px;
  font-weight: 760;
}

.rn-review-controls > form > .rn-button {
  justify-self: end;
}

@media (max-width: 980px) {
  .rn-settings-command,
  .rn-performance-review-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .rn-performance-span-12 {
    grid-column: 1 / -1;
  }

  .rn-settings-index {
    position: static;
  }

  .rn-settings-index dl {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .rn-settings-index dl > div {
    border-right: 1px solid var(--rn2-line);
    border-bottom: 0;
  }

  .rn-settings-index dl > div:last-child {
    border-right: 0;
  }
}

@media (max-width: 720px) {
  .rn-settings-section-head,
  .rn-settings-savebar,
  .rn-evidence-upload,
  .rn-task-comment-form {
    align-items: stretch;
    flex-direction: column;
  }

  .rn-settings-savebar .rn-button,
  .rn-evidence-upload .rn-button,
  .rn-task-comment-form .rn-button {
    width: 100%;
  }

  .rn-notification-matrix {
    overflow-x: auto;
  }

  .rn-notification-matrix-head,
  .rn-notification-row {
    min-width: 620px;
  }

  .rn-escalation-editor,
  .rn-weight-editor,
  .rn-file-limit-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .rn-escalation-editor > * {
    min-height: 80px;
    border-right: 0;
    border-bottom: 1px solid var(--rn2-line);
  }

  .rn-escalation-editor > *:last-child {
    border-bottom: 0;
  }

  .rn-category-row {
    grid-template-columns: 72px minmax(0, 1fr);
  }

  .rn-category-row > :nth-child(3),
  .rn-category-row > :nth-child(4) {
    justify-self: start;
  }

  .rn-weekday-editor {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }

  .rn-settings-index dl {
    grid-template-columns: minmax(0, 1fr);
  }

  .rn-settings-index dl > div {
    border-right: 0;
    border-bottom: 1px solid var(--rn2-line);
  }
}

/* Weekly plan command center */
.rn-weekly-command {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(190px, 260px);
  min-height: 190px;
  margin-bottom: 14px;
  padding: 28px 30px;
  align-items: end;
  gap: 28px;
  overflow: hidden;
  border: 1px solid #263e37;
  border-radius: 6px;
  background: #172b25;
  color: #f5faf8;
  box-shadow: 0 14px 34px rgba(16, 34, 28, 0.16);
}

.rn-weekly-command::before {
  position: absolute;
  inset: 0 auto 0 0;
  width: 5px;
  background: #e5aa45;
  content: "";
}

.rn-weekly-command .rn-eyebrow {
  color: #9edbd0;
}

.rn-weekly-command h3 {
  max-width: 760px;
  margin: 8px 0 7px;
  color: #ffffff;
  font-size: 24px;
  line-height: 1.15;
}

.rn-weekly-command p {
  max-width: 780px;
  margin: 0;
  color: #c9d8d2;
  font-size: 12px;
  line-height: 1.65;
}

.rn-weekly-command-score {
  display: grid;
  min-height: 116px;
  padding: 17px;
  align-content: center;
  border-left: 1px solid #41564f;
}

.rn-weekly-command-score span,
.rn-weekly-command-score small {
  color: #aabdb6;
  font-size: 9px;
  font-weight: 700;
}

.rn-weekly-command-score strong {
  margin: 5px 0;
  color: #ffffff;
  font-size: 28px;
  line-height: 1.05;
}

.rn-weekly-toolbar {
  margin-bottom: 14px;
}

.rn-weekly-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 14px;
}

.rn-weekly-layout.has-policies {
  grid-template-columns: minmax(0, 1.35fr) minmax(350px, 0.85fr);
  align-items: start;
}

.rn-weekly-policy-console {
  position: sticky;
  top: 94px;
}

.rn-weekly-upload-panel {
  display: grid;
  grid-template-columns: minmax(220px, 0.7fr) minmax(340px, 1.3fr);
  margin-bottom: 14px;
  gap: 24px;
  border-top: 3px solid var(--rn2-green);
}

.rn-weekly-upload-panel > div h3 {
  margin: 5px 0 7px;
}

.rn-weekly-upload-panel > div p,
.rn-weekly-not-required p {
  margin: 0;
  color: var(--rn2-muted);
  font-size: 10px;
  line-height: 1.6;
}

.rn-weekly-upload-panel form,
.rn-weekly-policy-form,
.rn-weekly-review-form {
  display: grid;
  gap: 12px;
}

.rn-weekly-upload-panel form > label,
.rn-weekly-policy-form > label,
.rn-weekly-review-form > label {
  display: grid;
  gap: 5px;
  color: var(--rn2-muted);
  font-size: 9px;
  font-weight: 760;
}

.rn-file-drop {
  position: relative;
  display: grid !important;
  min-height: 112px;
  place-items: center;
  align-content: center;
  border: 1px dashed var(--rn2-line-strong);
  background: #f2f7f5;
  text-align: center;
}

.rn-file-drop:hover {
  border-color: var(--rn2-green);
  background: var(--rn2-green-soft);
}

.rn-file-drop input {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  cursor: pointer;
}

.rn-file-drop > span {
  display: grid;
  width: 30px;
  height: 30px;
  place-items: center;
  border: 1px solid var(--rn2-line);
  border-radius: 50%;
  background: #fff;
  color: var(--rn2-green);
}

.rn-file-drop strong {
  color: var(--rn2-ink);
  font-size: 11px;
}

.rn-file-drop small {
  color: var(--rn2-muted);
  font-size: 8px;
}

.rn-weekly-plan-list {
  display: grid;
  gap: 10px;
}

.rn-weekly-plan-card {
  display: grid;
  gap: 12px;
  padding: 16px;
  border: 1px solid var(--rn2-line);
  border-left: 4px solid var(--rn2-green);
  border-radius: 5px;
  background: var(--rn2-surface);
}

.rn-weekly-plan-card.is-pending {
  border-left-color: var(--rn2-blue);
}

.rn-weekly-plan-card.is-denied {
  border-left-color: var(--rn2-red);
}

.rn-weekly-plan-card > header,
.rn-weekly-plan-card > footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.rn-weekly-plan-card > header > div:last-child,
.rn-weekly-plan-card > footer {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 7px;
}

.rn-weekly-plan-card > footer > span {
  color: var(--rn2-red);
  font-size: 9px;
  font-weight: 700;
}

.rn-weekly-plan-facts,
.rn-weekly-dashboard-stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  border: 1px solid var(--rn2-line);
  background: var(--rn2-surface-soft);
}

.rn-weekly-plan-facts > div,
.rn-weekly-dashboard-stats > div {
  display: grid;
  min-height: 66px;
  padding: 11px 13px;
  align-content: center;
  border-right: 1px solid var(--rn2-line);
}

.rn-weekly-manager-self {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  margin-top: 14px;
  padding: 15px 16px;
  border: 1px solid var(--rn2-line);
  border-left: 4px solid var(--rn2-teal);
  background: #f7faf9;
}

.rn-weekly-manager-self.is-missing {
  border-left-color: var(--rn2-red);
  background: var(--rn2-red-soft);
}

.rn-weekly-manager-self div {
  display: grid;
  gap: 3px;
}

.rn-weekly-manager-self span,
.rn-weekly-manager-self small {
  color: var(--rn2-muted);
}

.rn-weekly-manager-self strong {
  color: var(--rn2-ink);
  font-size: 16px;
}

.rn-weekly-plan-facts > div:last-child,
.rn-weekly-dashboard-stats > div:last-child {
  border-right: 0;
}

.rn-weekly-plan-facts span,
.rn-weekly-plan-facts small,
.rn-weekly-dashboard-stats span,
.rn-weekly-dashboard-stats small,
.rn-plan-note span,
.rn-plan-review span {
  color: var(--rn2-muted);
  font-size: 8px;
  font-weight: 750;
}

.rn-weekly-plan-facts strong,
.rn-weekly-dashboard-stats strong {
  color: var(--rn2-ink);
  font-size: 11px;
}

.rn-weekly-dashboard-stats {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.rn-weekly-dashboard-stats strong {
  margin: 3px 0;
  font-size: 20px;
}

.rn-plan-note,
.rn-plan-review {
  padding: 11px 13px;
  border-left: 2px solid var(--rn2-line-strong);
  background: var(--rn2-surface-soft);
}

.rn-plan-review {
  border-left-color: var(--rn2-green);
  background: #eef7f4;
}

.rn-plan-note p,
.rn-plan-review p {
  margin: 4px 0;
  color: var(--rn2-text);
  font-size: 10px;
  line-height: 1.55;
}

.rn-plan-review small {
  color: var(--rn2-muted);
  font-size: 8px;
}

.rn-weekly-current {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
}

.rn-weekly-current > div {
  display: grid;
}

.rn-weekly-current span,
.rn-weekly-current small {
  color: var(--rn2-muted);
  font-size: 9px;
}

.rn-weekly-current strong {
  color: var(--rn2-ink);
  font-size: 15px;
}

.rn-weekly-policy-form {
  padding-top: 4px;
}

.rn-weekly-policy-form fieldset,
.rn-weekly-review-form fieldset {
  min-width: 0;
  margin: 0;
  padding: 12px;
  border: 1px solid var(--rn2-line);
}

.rn-weekly-policy-form legend,
.rn-weekly-review-form legend {
  padding: 0 6px;
  color: var(--rn2-ink);
  font-size: 9px;
  font-weight: 800;
}

.rn-weekly-policy-form fieldset > p {
  margin: 0 0 9px;
  color: var(--rn2-muted);
  font-size: 8px;
  line-height: 1.5;
}

.rn-policy-scope {
  width: 100%;
}

.rn-policy-scope label {
  position: relative;
  flex: 1;
  text-align: center;
}

.rn-policy-scope input {
  position: absolute;
  opacity: 0;
}

.rn-policy-scope span {
  display: block;
  padding: 8px 10px;
  border: 1px solid transparent;
  color: var(--rn2-muted);
  cursor: pointer;
}

.rn-policy-scope input:checked + span {
  border-color: var(--rn2-green);
  background: var(--rn2-green-soft);
  color: var(--rn2-green-dark);
}

.rn-policy-check-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  max-height: 190px;
  gap: 6px;
  overflow-y: auto;
}

.rn-policy-people-list {
  display: grid;
  max-height: 260px;
  margin-top: 8px;
  gap: 5px;
  overflow-y: auto;
}

.rn-policy-register {
  margin-top: 18px;
  padding-top: 14px;
  border-top: 1px solid var(--rn2-line);
}

.rn-policy-register > h4 {
  margin: 0 0 9px;
  color: var(--rn2-ink);
  font-size: 10px;
}

.rn-policy-list {
  display: grid;
  gap: 7px;
}

.rn-policy-list > article {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  padding: 11px;
  gap: 7px 10px;
  border: 1px solid var(--rn2-line);
  background: var(--rn2-surface-soft);
}

.rn-policy-list > article > div {
  display: grid;
  align-content: start;
  gap: 3px;
}

.rn-policy-list > article > div:nth-child(2) {
  justify-items: end;
}

.rn-policy-list strong {
  color: var(--rn2-ink);
  font-size: 10px;
}

.rn-policy-list small {
  color: var(--rn2-muted);
  font-size: 8px;
  line-height: 1.45;
}

.rn-policy-list footer {
  grid-column: 1 / -1;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 6px;
}

.rn-decision-options {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
}

.rn-decision-options label {
  position: relative;
}

.rn-decision-options input {
  position: absolute;
  opacity: 0;
}

.rn-decision-options span {
  display: grid;
  min-height: 90px;
  padding: 12px;
  align-content: center;
  gap: 5px;
  border: 1px solid var(--rn2-line);
  background: var(--rn2-surface-soft);
  cursor: pointer;
}

.rn-decision-options input:checked + span {
  border-color: var(--rn2-green);
  box-shadow: inset 0 0 0 1px var(--rn2-green);
  background: var(--rn2-green-soft);
}

.rn-decision-options strong {
  color: var(--rn2-ink);
  font-size: 10px;
}

.rn-decision-options small {
  color: var(--rn2-muted);
  font-size: 8px;
  line-height: 1.45;
}

@media (max-width: 1180px) {
  .rn-weekly-layout.has-policies,
  .rn-weekly-upload-panel {
    grid-template-columns: minmax(0, 1fr);
  }

  .rn-weekly-policy-console {
    position: static;
  }
}

@media (max-width: 720px) {
  .rn-weekly-manager-self {
    align-items: stretch;
    flex-direction: column;
  }

  .rn-weekly-manager-self .rn-button {
    width: 100%;
  }

  .rn-weekly-command {
    grid-template-columns: minmax(0, 1fr);
    min-height: 0;
    padding: 21px 18px;
    align-items: start;
  }

  .rn-weekly-command h3 {
    font-size: 20px;
  }

  .rn-weekly-command-score {
    min-height: 0;
    padding: 12px 0 0;
    border-top: 1px solid #41564f;
    border-left: 0;
  }

  .rn-weekly-dashboard-stats,
  .rn-weekly-plan-facts,
  .rn-decision-options,
  .rn-policy-check-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .rn-weekly-dashboard-stats > div,
  .rn-weekly-plan-facts > div {
    border-right: 0;
    border-bottom: 1px solid var(--rn2-line);
  }

  .rn-weekly-dashboard-stats > div:last-child,
  .rn-weekly-plan-facts > div:last-child {
    border-bottom: 0;
  }

  .rn-weekly-plan-card > header,
  .rn-weekly-plan-card > footer,
  .rn-weekly-current {
    align-items: stretch;
    flex-direction: column;
  }

  .rn-weekly-plan-card > footer .rn-button {
    width: 100%;
  }
}
