:root {
  color-scheme: light;
  --navy: #0A2540;
  --blue: #1E3A8A;
  --soft-blue: #E6F0FA;
  --gray: #F5F5F7;
  --success: #10B981;
  --white: #FFFFFF;
  --text: #111827;
  --muted: #6B7280;
  --line: #D9E0EA;
  --amber: #F59E0B;
  --amber-bg: #FEF3C7;
  --red: #DC2626;
  --red-bg: #FEE2E2;
  --green-bg: #D1FAE5;
  --shadow: 0 18px 44px rgb(10 37 64 / 7%);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* { box-sizing: border-box; }

body {
  margin: 0;
  min-width: 320px;
  color: var(--text);
  background: var(--gray);
  overflow-x: hidden;
}

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

a {
  color: var(--blue);
  text-decoration: none;
}

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

.sidebar {
  position: sticky;
  top: 0;
  height: 100vh;
  display: flex;
  flex-direction: column;
  gap: 26px;
  padding: 24px 18px;
  background: var(--navy);
  color: var(--white);
}

.brand-block {
  display: flex;
  gap: 12px;
  align-items: center;
  padding-bottom: 18px;
  border-bottom: 1px solid rgb(255 255 255 / 16%);
}

.brand-mark {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border-radius: 8px;
  background: var(--white);
  color: var(--navy);
  font-weight: 800;
  letter-spacing: 0.04em;
}

.brand-block h1 {
  font-size: 17px;
  line-height: 1.15;
}

.brand-block p,
.sidebar-note span {
  margin-top: 4px;
  color: rgb(255 255 255 / 68%);
  font-size: 12px;
}

.side-nav {
  display: grid;
  gap: 8px;
}

.side-nav a {
  display: block;
  padding: 11px 12px;
  border-radius: 8px;
  color: rgb(255 255 255 / 82%);
  font-size: 14px;
  font-weight: 650;
}

.side-nav a.active,
.side-nav a:hover {
  background: rgb(230 240 250 / 16%);
  color: var(--white);
}

.sidebar-note {
  margin-top: auto;
  padding: 14px;
  border: 1px solid rgb(255 255 255 / 14%);
  border-radius: 10px;
  background: rgb(255 255 255 / 7%);
}

.sidebar-note strong {
  display: block;
  margin-top: 5px;
  font-size: 13px;
  line-height: 1.35;
}

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

.app-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
  padding: 24px 30px;
  border-bottom: 1px solid var(--line);
  background: var(--white);
}

.app-header h2 {
  color: var(--navy);
  font-size: 24px;
  line-height: 1.15;
  font-weight: 800;
}

.app-header p,
.panel-head p {
  margin-top: 5px;
  color: var(--muted);
  font-size: 13px;
}

.role-switcher {
  display: grid;
  min-width: 260px;
  gap: 6px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 700;
}

select, input, textarea, button {
  font: inherit;
}

select, input, textarea {
  width: 100%;
  max-width: 100%;
  min-width: 0;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 10px 11px;
  background: var(--white);
  color: var(--text);
}

input[type="checkbox"],
input[type="radio"] {
  width: auto;
  min-width: 0;
}

select:focus, input:focus, textarea:focus {
  outline: 3px solid rgb(30 58 138 / 14%);
  border-color: var(--blue);
}

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

button {
  border: 1px solid transparent;
  border-radius: 8px;
  padding: 11px 13px;
  cursor: pointer;
  font-weight: 750;
  background: var(--white);
  color: var(--text);
}

button:hover { filter: brightness(0.98); }
button:disabled { cursor: not-allowed; opacity: 0.5; }

.primary {
  background: var(--blue);
  color: var(--white);
}

.secondary {
  border-color: var(--line);
  background: var(--white);
  color: var(--blue);
}

.danger {
  background: var(--red-bg);
  border-color: #FECACA;
  color: var(--red);
}

.shell {
  display: block;
  padding: 28px;
}

.workspace {
  display: block;
  min-width: 0;
}

.page-section {
  display: none;
}

.page-section.active-page {
  display: block;
}

.panel,
.card {
  background: var(--white);
  border: 1px solid rgb(217 224 234 / 80%);
  border-radius: 18px;
  box-shadow: var(--shadow);
}

.panel-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  padding: 18px 20px;
  border-bottom: 1px solid var(--line);
}

.panel-head h2,
.card h3 {
  color: var(--navy);
  font-size: 16px;
  line-height: 1.2;
  font-weight: 800;
}

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

.summary-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(160px, 1fr));
  gap: 14px;
  padding: 18px 20px 4px;
}

.step-strip {
  display: flex;
  gap: 8px;
  padding: 16px 20px 0;
  overflow-x: auto;
}

.step-strip span {
  flex: 0 0 auto;
  padding: 8px 10px;
  border-radius: 999px;
  background: var(--soft-blue);
  color: var(--navy);
  font-size: 12px;
  font-weight: 760;
}

.field-help {
  display: block;
  margin-top: 6px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 500;
}

.role-dashboard {
  margin: 18px 20px 0;
  padding: 16px;
  border-radius: 16px;
  background: var(--soft-blue);
  color: var(--navy);
}

.role-dashboard p {
  margin-top: 5px;
  color: var(--muted);
  font-size: 13px;
}

.participant-dashboard-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(120px, 1fr));
  gap: 10px;
  margin-top: 14px;
}

.mini-queue {
  padding: 12px;
  border-radius: 14px;
  background: var(--white);
}

.mini-queue span {
  display: block;
  color: var(--muted);
  font-size: 12px;
  font-weight: 700;
}

.mini-queue strong {
  display: block;
  margin-top: 5px;
  color: var(--navy);
  font-size: 18px;
}

.metric {
  display: grid;
  gap: 7px;
  min-height: 102px;
  padding: 15px;
  border: 1px solid #D7E5F5;
  border-radius: 12px;
  background: var(--soft-blue);
}

.metric span {
  color: var(--muted);
  font-size: 12px;
  font-weight: 760;
}

.metric strong {
  color: var(--navy);
  font-size: 28px;
  line-height: 1;
}

.metric small {
  color: var(--blue);
  font-size: 12px;
  font-weight: 700;
}

.metric.alert small { color: var(--red); }

.table-wrap {
  overflow: auto;
  padding: 16px 20px 20px;
}

table {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0;
  min-width: 1040px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 10px;
}

th, td {
  text-align: left;
  border-bottom: 1px solid var(--line);
  padding: 12px 13px;
  font-size: 13px;
  vertical-align: top;
}

th {
  color: var(--navy);
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  background: var(--soft-blue);
}

tbody tr {
  cursor: pointer;
  background: var(--white);
}

tbody tr:nth-child(even) {
  background: #FAFBFC;
}

tbody tr:hover,
tbody tr.selected {
  background: #EEF5FF;
}

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

.intake-form {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 13px;
  padding: 18px;
}

label {
  display: grid;
  gap: 7px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 720;
}

.wide,
.primary {
  grid-column: 1 / -1;
}

.checks {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px;
  border: 1px solid #D7E5F5;
  border-radius: 10px;
  padding: 12px;
  margin: 0;
  background: var(--soft-blue);
}

.checks legend {
  color: var(--navy);
  font-size: 12px;
  font-weight: 800;
  padding: 0 5px;
}

.checks label {
  display: flex;
  gap: 8px;
  align-items: center;
  color: var(--text);
  font-size: 13px;
}

.checks input {
  width: auto;
}

.review-consideration-inputs {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  padding: 12px;
  border: 1px solid rgb(37 99 235 / 14%);
  border-radius: 16px;
  background: rgb(255 255 255 / 62%);
}

.review-consideration-inputs > span {
  grid-column: 1 / -1;
  color: var(--navy);
  font-size: 12px;
  font-weight: 800;
}

.review-consideration-inputs label {
  margin: 0;
  font-weight: 650;
}

.file-input {
  border: 1px dashed #B8C7DA;
  border-radius: 10px;
  padding: 12px;
  background: #FAFCFF;
}

.detail-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(310px, 0.85fr);
  gap: 16px;
  padding: 18px;
}

.left-stack,
.right-stack {
  display: grid;
  gap: 16px;
  align-content: start;
}

.card {
  padding: 16px;
}

.card h3 {
  margin-bottom: 13px;
}

.info-panel {
  border-color: #D7E5F5;
  background: var(--soft-blue);
  box-shadow: none;
}

.status-overview {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
}

.status-tile {
  min-height: 86px;
  padding: 13px;
  border: 1px solid #C8DAEE;
  border-radius: 10px;
  background: rgb(255 255 255 / 72%);
}

.status-tile span {
  display: block;
  color: var(--muted);
  font-size: 11px;
  font-weight: 760;
  text-transform: uppercase;
  letter-spacing: 0.03em;
}

.status-tile strong {
  display: block;
  margin-top: 8px;
  color: var(--navy);
  font-size: 14px;
  line-height: 1.25;
}

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

.fact {
  border: 1px solid var(--line);
  border-radius: 9px;
  padding: 10px;
  background: #FCFDFE;
}

.fact span {
  display: block;
  color: var(--muted);
  font-size: 11px;
  font-weight: 750;
  margin-bottom: 4px;
}

.timeline,
.versions,
.comments,
.checklist {
  display: grid;
  gap: 10px;
}

.timeline-item,
.version-item,
.comment,
.checklist-item {
  border: 1px solid var(--line);
  border-left: 4px solid var(--line);
  border-radius: 9px;
  padding: 11px;
  background: var(--white);
}

.timeline-item.approved,
.checklist-item.complete {
  border-left-color: var(--success);
}

.timeline-item.pending,
.checklist-item.pending {
  border-left-color: var(--amber);
}

.timeline-item.rejected,
.timeline-item.changes,
.checklist-item.blocked {
  border-left-color: var(--red);
}

.item-title {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  font-weight: 760;
}

.item-title small,
.subtle {
  color: var(--muted);
  font-size: 12px;
  font-weight: 500;
}

.actions {
  display: grid;
  gap: 10px;
}

.button-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
}

.upload-row {
  display: grid;
  gap: 8px;
}

.memo {
  white-space: pre-line;
  border: 1px solid #D7E5F5;
  border-radius: 10px;
  background: #FAFCFF;
  padding: 13px;
  font-size: 13px;
  line-height: 1.5;
}

.status-pill,
.tag {
  display: inline-flex;
  align-items: center;
  min-height: 24px;
  padding: 4px 9px;
  border-radius: 999px;
  background: var(--soft-blue);
  color: var(--blue);
  font-size: 12px;
  font-weight: 800;
  white-space: nowrap;
}

.status-approved,
.status-ready,
.status-executed,
.status-final,
.tag.ok {
  background: var(--green-bg);
  color: #047857;
}

.status-pending,
.status-review,
.tag.warn {
  background: var(--amber-bg);
  color: #92400E;
}

.status-rejected,
.status-changes,
.status-overdue,
.tag.bad {
  background: var(--red-bg);
  color: var(--red);
}

.profile-card {
  display: flex;
  justify-content: space-between;
  gap: 14px;
  align-items: center;
  margin: 16px 20px 4px;
  padding: 14px;
  border: 1px solid #D7E5F5;
  border-radius: 12px;
  background: var(--white);
}

.profile-card h3,
.participant-list-head h3 {
  color: var(--navy);
  font-size: 15px;
}

.profile-card p,
.participant-list-head p {
  margin-top: 4px;
  color: var(--muted);
  font-size: 12px;
}

.profile-facts,
.role-badges {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  align-items: center;
  margin-top: 8px;
}

.profile-facts span:not(.tag) {
  color: var(--muted);
  font-size: 12px;
}

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

.participants-list {
  display: grid;
  gap: 14px;
  padding: 0 18px 18px;
}

.participant-list-head {
  padding: 14px;
  border: 1px solid #D7E5F5;
  border-radius: 10px;
  background: var(--soft-blue);
}

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

.participant-card {
  display: grid;
  gap: 8px;
  padding: 13px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: var(--white);
}

.assignment-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  margin-bottom: 12px;
  padding: 12px;
  border: 1px solid #D7E5F5;
  border-radius: 10px;
  background: rgb(255 255 255 / 72%);
}

.assignment-grid button {
  align-self: end;
}

.participant-card .tag:not(.ok):not(.warn):not(.bad) {
  background: var(--gray);
  color: var(--muted);
}

.flag-stack {
  display: flex;
  flex-wrap: wrap;
  gap: 5px;
  min-width: 170px;
}

.sla-warning,
.warning-copy,
.info-copy {
  margin-top: 12px;
  padding: 12px;
  border-radius: 10px;
  border: 1px solid #FBCACA;
  background: var(--red-bg);
  color: var(--red);
  font-size: 13px;
  line-height: 1.45;
}

.info-copy {
  border-color: #D7E5F5;
  background: var(--soft-blue);
  color: var(--navy);
}

.ai-autofill-panel {
  margin: 18px 28px 0;
  padding: 16px 18px;
  border: 1px solid rgb(96 165 250 / 24%);
  border-radius: 20px;
  background:
    linear-gradient(135deg, rgb(230 240 250 / 92%), rgb(255 255 255 / 82%));
  box-shadow:
    0 12px 28px rgb(30 58 138 / 9%),
    inset 0 1px 0 rgb(255 255 255 / 80%);
}

.ai-autofill-panel[hidden] {
  display: none;
}

.ai-autofill-panel h3 {
  color: var(--navy);
  font-size: 15px;
}

.ai-autofill-panel p {
  margin-top: 5px;
  color: var(--muted);
  font-size: 13px;
}

.ai-autofill-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  margin-top: 12px;
}

.ai-autofill-tags span,
.ai-filled-badge {
  display: inline-flex;
  align-items: center;
  width: fit-content;
  border: 1px solid rgb(37 99 235 / 18%);
  border-radius: 999px;
  background: rgb(230 240 250 / 84%);
  color: var(--blue);
  font-size: 11px;
  font-weight: 800;
}

.ai-autofill-tags span {
  padding: 6px 9px;
}

.ai-filled-badge {
  padding: 4px 8px;
}

.ai-filled-field input,
.ai-filled-field select,
.ai-filled-field textarea {
  border-color: rgb(37 99 235 / 52%);
  background: rgb(246 250 255 / 96%);
  box-shadow:
    0 0 0 4px rgb(37 99 235 / 10%),
    inset 0 1px 2px rgb(15 23 42 / 3%);
}

.vendor-history-panel {
  display: grid;
  gap: 10px;
  margin-top: -2px;
  padding: 14px 16px;
  border: 1px solid rgb(96 165 250 / 22%);
  border-radius: 18px;
  background:
    linear-gradient(145deg, rgb(255 255 255 / 82%), rgb(230 240 250 / 68%));
  box-shadow:
    0 10px 24px rgb(15 23 42 / 7%),
    inset 0 1px 0 rgb(255 255 255 / 82%);
}

.vendor-history-panel[hidden] {
  display: none;
}

.vendor-history-panel.is-empty {
  border-style: dashed;
  background: rgb(255 255 255 / 62%);
  box-shadow: none;
}

.vendor-history-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.vendor-history-head span {
  color: var(--muted);
  font-size: 11px;
  font-weight: 850;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.vendor-history-head strong {
  color: var(--navy);
  font-size: 14px;
}

.vendor-history-panel p {
  margin: 0;
  color: var(--text);
  font-size: 13px;
  line-height: 1.45;
}

.vendor-history-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
}

.vendor-history-tags span {
  display: inline-flex;
  align-items: center;
  width: fit-content;
  padding: 5px 8px;
  border: 1px solid rgb(37 99 235 / 18%);
  border-radius: 999px;
  background: rgb(230 240 250 / 82%);
  color: var(--blue);
  font-size: 11px;
  font-weight: 800;
}

.sla-warning p {
  margin-top: 7px;
}

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

.readiness-item {
  padding: 13px;
  border: 1px solid #D7E5F5;
  border-radius: 10px;
  background: var(--soft-blue);
  color: var(--navy);
  font-size: 13px;
  font-weight: 760;
}

.ai-dashboard {
  display: grid;
  gap: 14px;
  padding: 16px 20px 4px;
}

.ai-disclaimer {
  padding: 12px 14px;
  border: 1px solid #D7E5F5;
  border-radius: 10px;
  background: var(--soft-blue);
  color: var(--navy);
  font-size: 13px;
  font-weight: 720;
}

.ai-disclaimer.compact {
  margin-bottom: 12px;
  background: #FAFCFF;
}

.knowledge-search {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(180px, 220px);
  gap: 12px;
  align-items: end;
}

.knowledge-search button {
  width: 100%;
  white-space: normal;
}

.knowledge-results {
  display: grid;
  gap: 12px;
}

.knowledge-heading {
  color: var(--navy);
  font-size: 13px;
  font-weight: 800;
}

.knowledge-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(180px, 1fr));
  gap: 12px;
  overflow-x: auto;
}

.knowledge-group {
  min-width: 180px;
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 12px;
  background: var(--white);
}

.knowledge-group h3 {
  margin-bottom: 10px;
  color: var(--navy);
  font-size: 13px;
}

.knowledge-item {
  display: grid;
  gap: 4px;
  padding: 9px 0;
  border-top: 1px solid var(--line);
}

.knowledge-item strong {
  color: var(--text);
  font-size: 12px;
}

.knowledge-item p {
  color: var(--muted);
  font-size: 12px;
  line-height: 1.4;
}

.ai-review-card {
  border-color: #C8DAEE;
}

.ai-title-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
}

.ai-summary-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 10px;
  margin-bottom: 12px;
}

.ai-mini {
  padding: 11px;
  border: 1px solid #D7E5F5;
  border-radius: 10px;
  background: var(--soft-blue);
}

.ai-mini span,
.clause-compare span {
  display: block;
  color: var(--muted);
  font-size: 11px;
  font-weight: 780;
  text-transform: uppercase;
  letter-spacing: 0.03em;
}

.ai-mini strong {
  display: block;
  margin-top: 4px;
  color: var(--navy);
  font-size: 24px;
  line-height: 1;
}

.ai-mini small {
  display: block;
  margin-top: 5px;
  color: var(--blue);
  font-size: 12px;
  font-weight: 700;
}

.ai-sections {
  display: grid;
  gap: 10px;
}

.ai-section {
  border: 1px solid var(--line);
  border-radius: 10px;
  background: #FCFDFE;
}

.ai-section summary {
  cursor: pointer;
  padding: 11px 12px;
  color: var(--navy);
  font-size: 13px;
  font-weight: 800;
}

.ai-section-body {
  display: grid;
  gap: 10px;
  padding: 0 12px 12px;
}

.ai-finding,
.ai-list-item {
  border: 1px solid var(--line);
  border-radius: 9px;
  padding: 10px;
  background: var(--white);
  font-size: 13px;
  line-height: 1.45;
}

.ai-finding.risk {
  border-left: 4px solid var(--red);
}

.ai-list-item.strong {
  color: var(--navy);
  font-weight: 780;
}

.clause-compare {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  margin: 9px 0;
}

.clause-compare div {
  padding: 10px;
  border-radius: 8px;
  background: var(--soft-blue);
}

.clause-compare p {
  margin-top: 5px;
  color: var(--text);
  font-size: 12px;
  line-height: 1.45;
}

.package-workspace {
  display: grid;
  gap: 14px;
}

.package-card {
  display: grid;
  gap: 10px;
  padding: 14px;
  border: 1px solid #dbe7f4;
  border-radius: 10px;
  background: var(--soft-blue);
}

.package-card .memo {
  background: var(--white);
}

.package-card input,
.package-card textarea,
.package-card select {
  background: var(--white);
}

.cover-sheet-card {
  display: grid;
  gap: 14px;
}

.route-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.cover-details {
  border: 1px solid #dbe7f4;
  border-radius: 10px;
  background: var(--white);
  overflow: hidden;
}

.cover-details summary {
  cursor: pointer;
  padding: 12px 14px;
  color: var(--navy);
  font-weight: 780;
  background: var(--soft-blue);
}

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

.cover-sheet-form .wide {
  grid-column: 1 / -1;
}

.approval-table {
  display: grid;
  padding: 12px;
  gap: 8px;
}

.approval-row {
  display: grid;
  grid-template-columns: 1.15fr 1fr 1.1fr .8fr .9fr 1.2fr;
  gap: 8px;
  align-items: center;
  padding: 9px;
  border-radius: 8px;
  background: var(--light-gray);
  font-size: 12px;
}

.approval-row span:first-child {
  color: var(--navy);
  font-weight: 760;
}

.limits-grid {
  display: grid;
  gap: 8px;
  padding: 12px;
}

.limits-grid div {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding: 9px 10px;
  border-radius: 8px;
  background: var(--light-gray);
  color: var(--muted);
}

.limits-grid strong {
  color: var(--navy);
  text-align: right;
}

.empty {
  grid-column: 1 / -1;
  min-height: 260px;
  display: grid;
  place-content: center;
  text-align: center;
  color: var(--muted);
  gap: 8px;
  background: var(--soft-blue);
  border-radius: 10px;
}

.toast {
  position: fixed;
  right: 18px;
  bottom: 18px;
  max-width: 360px;
  padding: 12px 14px;
  border-radius: 10px;
  background: var(--navy);
  color: var(--white);
  box-shadow: 0 14px 34px rgb(10 37 64 / 24%);
  font-size: 13px;
  z-index: 10;
}

@media (max-width: 1280px) {
  .shell,
  .detail-grid {
    grid-template-columns: 1fr;
  }

  .intake-panel {
    order: 2;
  }

  .summary-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (max-width: 860px) {
  .app-layout {
    grid-template-columns: 1fr;
  }

  .sidebar {
    position: static;
    height: auto;
  }

  .side-nav {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }

  .app-header {
    align-items: stretch;
    flex-direction: column;
    padding: 18px;
  }

  .role-switcher {
    min-width: 0;
  }

  .shell {
    padding: 14px;
  }

  .summary-grid,
  .ai-summary-grid,
  .intake-form,
  .participant-form,
  .participant-grid,
  .cover-sheet-form,
  .facts,
  .checks,
  .button-row,
  .status-overview,
  .assignment-grid,
  .readiness-grid,
  .knowledge-search,
  .clause-compare,
  .approval-row {
    grid-template-columns: 1fr;
  }
}

/* Premium Apple-inspired theme layer */
body {
  background:
    radial-gradient(circle at 12% 6%, rgb(255 255 255 / 95%) 0 18%, transparent 38%),
    radial-gradient(circle at 82% 12%, rgb(234 241 248 / 95%) 0 20%, transparent 42%),
    linear-gradient(135deg, #F5F5F7 0%, #FFFFFF 48%, #EAF1F8 100%);
  background-attachment: fixed;
}

.app-layout {
  grid-template-columns: 292px minmax(0, 1fr);
}

.sidebar {
  margin: 14px 0 14px 14px;
  height: calc(100vh - 28px);
  gap: 16px;
  overflow-y: auto;
  overflow-x: hidden;
  border: 1px solid rgb(255 255 255 / 12%);
  border-radius: 30px;
  border-top-right-radius: 34px;
  border-bottom-right-radius: 34px;
  background:
    linear-gradient(145deg, rgb(255 255 255 / 11%) 0%, transparent 28%),
    radial-gradient(circle at 24% 0%, rgb(96 165 250 / 20%), transparent 32%),
    linear-gradient(180deg, #071D33 0%, #0A2540 58%, #102F4D 100%);
  box-shadow:
    inset 1px 0 0 rgb(255 255 255 / 12%),
    inset -1px 0 0 rgb(255 255 255 / 6%),
    18px 24px 44px rgb(7 29 51 / 18%);
}

.brand-block {
  display: grid;
  justify-items: center;
  gap: 8px;
  padding: 2px 0 16px;
}

.brand-block > div {
  display: none;
}

.brand-logo {
  display: block;
  width: min(100%, 238px);
  height: auto;
  aspect-ratio: 900 / 500;
  flex: none;
  object-fit: contain;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow:
    0 16px 30px rgb(0 0 0 / 12%),
    0 0 32px rgb(148 194 220 / 10%);
}

.brand-mark {
  display: none;
}

.side-nav {
  gap: 5px;
}

.side-nav a {
  position: relative;
  padding: 9px 12px;
  border: 1px solid transparent;
  border-radius: 16px;
  transition: background 160ms ease, box-shadow 160ms ease, border-color 160ms ease, transform 160ms ease;
}

.side-nav a.active,
.side-nav a:hover {
  border-color: rgb(147 197 253 / 22%);
  background:
    linear-gradient(135deg, rgb(37 99 235 / 26%), rgb(230 240 250 / 10%));
  box-shadow:
    0 10px 26px rgb(37 99 235 / 18%),
    inset 0 1px 0 rgb(255 255 255 / 12%);
  transform: translateX(2px);
}

.sidebar-note {
  border-radius: 20px;
  background: linear-gradient(145deg, rgb(255 255 255 / 11%), rgb(255 255 255 / 5%));
  box-shadow: inset 0 1px 0 rgb(255 255 255 / 12%);
}

.app-header {
  margin: 14px 20px 0;
  border: 1px solid rgb(255 255 255 / 72%);
  border-radius: 28px;
  background: rgb(255 255 255 / 72%);
  box-shadow: 0 16px 38px rgb(15 23 42 / 7%);
  backdrop-filter: blur(20px);
}

.app-header h2 {
  font-size: 30px;
  letter-spacing: -0.03em;
}

.role-switcher {
  min-width: 210px;
  max-width: 260px;
}

.role-switcher select {
  padding: 9px 12px;
  border-radius: 14px;
}

.shell {
  padding: 24px 34px 34px;
}

.panel,
.card,
.profile-card,
.participant-card,
.active-request-card,
.participant-action-card,
.activity-section,
.activity-item,
.package-card,
.cover-details,
.role-dashboard {
  border: 1px solid rgb(255 255 255 / 68%);
  border-radius: 26px;
  background: rgb(255 255 255 / 78%);
  box-shadow:
    0 12px 30px rgb(15 23 42 / 8%),
    inset 0 1px 0 rgb(255 255 255 / 70%);
  backdrop-filter: blur(18px);
  transition: transform 160ms ease, box-shadow 160ms ease, border-color 160ms ease;
}

.card:hover,
.metric:hover,
.participant-card:hover,
.active-request-card:hover,
.participant-action-card:hover,
.package-card:hover {
  transform: translateY(-2px);
  box-shadow:
    0 18px 42px rgb(15 23 42 / 11%),
    inset 0 1px 0 rgb(255 255 255 / 78%);
}

.panel-head {
  padding: 24px 28px;
  border-bottom: 1px solid rgb(217 224 234 / 55%);
}

.panel-head h2,
.card h3 {
  font-size: 18px;
  letter-spacing: -0.015em;
}

select,
input,
textarea {
  border: 1px solid rgb(217 224 234 / 90%);
  border-radius: 16px;
  padding: 12px 14px;
  background: rgb(255 255 255 / 92%);
  box-shadow: inset 0 1px 2px rgb(15 23 42 / 3%);
  transition: border-color 140ms ease, box-shadow 140ms ease, background 140ms ease;
}

select:focus,
input:focus,
textarea:focus {
  outline: 0;
  border-color: rgb(37 99 235 / 55%);
  box-shadow:
    0 0 0 5px rgb(37 99 235 / 13%),
    inset 0 1px 2px rgb(15 23 42 / 3%);
}

label {
  color: #667085;
  letter-spacing: 0.005em;
}

button {
  border-radius: 15px;
  transition: transform 120ms ease, box-shadow 160ms ease, background 160ms ease, filter 160ms ease;
}

.primary {
  border-color: rgb(255 255 255 / 22%);
  background: linear-gradient(135deg, #1E3A8A 0%, #2563EB 100%);
  box-shadow: 0 8px 18px rgb(37 99 235 / 25%);
}

.primary:hover {
  filter: brightness(1.05);
  box-shadow: 0 12px 26px rgb(37 99 235 / 32%);
  transform: translateY(-1px);
}

.primary:active,
.secondary:active,
.danger:active {
  transform: translateY(1px) scale(0.99);
}

.secondary {
  border-color: rgb(217 224 234 / 80%);
  background: rgb(255 255 255 / 88%);
  color: var(--navy);
  box-shadow: 0 8px 18px rgb(15 23 42 / 6%);
}

.secondary:hover {
  background: #F4F8FF;
  box-shadow: 0 12px 26px rgb(15 23 42 / 9%);
}

.danger {
  background: linear-gradient(135deg, #FEE2E2, #FECACA);
  color: #B42318;
}

.summary-grid {
  gap: 18px;
  padding: 24px 28px 8px;
}

.metric {
  min-height: 116px;
  padding: 20px;
  border: 1px solid rgb(255 255 255 / 70%);
  border-radius: 24px;
  background:
    linear-gradient(145deg, rgb(255 255 255 / 88%), rgb(230 240 250 / 68%));
  box-shadow: 0 12px 30px rgb(15 23 42 / 7%);
  transition: transform 160ms ease, box-shadow 160ms ease;
}

.metric strong {
  font-size: 34px;
  letter-spacing: -0.04em;
}

.role-dashboard {
  margin: 22px 28px 0;
  padding: 20px;
  background:
    linear-gradient(145deg, rgb(255 255 255 / 80%), rgb(230 240 250 / 74%));
}

.section-title-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.section-title-row p {
  margin-top: 5px;
  color: #667085;
  font-size: 13px;
}

.my-submissions-panel {
  display: grid;
  gap: 16px;
  margin-top: 18px;
  padding: 18px;
  border: 1px solid rgb(255 255 255 / 72%);
  border-radius: 24px;
  background:
    linear-gradient(145deg, rgb(255 255 255 / 86%), rgb(245 248 252 / 76%));
  box-shadow:
    0 14px 30px rgb(15 23 42 / 8%),
    inset 0 1px 0 rgb(255 255 255 / 82%);
}

.my-submission-list {
  display: grid;
  gap: 12px;
}

.my-submission-row {
  display: grid;
  gap: 12px;
  padding: 16px;
  border: 1px solid rgb(217 224 234 / 68%);
  border-radius: 20px;
  background: rgb(255 255 255 / 72%);
  cursor: pointer;
  transition: transform 140ms ease, box-shadow 160ms ease, border-color 160ms ease;
}

.my-submission-row:hover {
  transform: translateY(-1px);
  border-color: rgb(37 99 235 / 22%);
  box-shadow: 0 14px 30px rgb(15 23 42 / 9%);
}

.empty-inline {
  display: grid;
  justify-items: start;
  gap: 8px;
  padding: 18px;
  border: 1px dashed rgb(148 163 184 / 50%);
  border-radius: 20px;
  background: rgb(255 255 255 / 58%);
}

.secondary-queues {
  grid-template-columns: repeat(4, minmax(120px, 1fr));
}

.active-request-grid,
.participant-action-list {
  display: grid;
  gap: 18px;
  padding: 24px 28px 28px;
}

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

.active-request-card,
.participant-action-card {
  display: grid;
  gap: 16px;
  padding: 20px;
}

.active-request-facts {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}

.active-request-facts.compact {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.active-request-facts div {
  min-width: 0;
  padding: 12px;
  border: 1px solid rgb(217 224 234 / 64%);
  border-radius: 16px;
  background: rgb(255 255 255 / 64%);
}

.active-request-facts span {
  display: block;
  color: #667085;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.025em;
  text-transform: uppercase;
}

.active-request-facts strong {
  display: block;
  min-width: 0;
  margin-top: 5px;
  color: #0A2540;
  font-size: 13px;
  line-height: 1.35;
  overflow-wrap: anywhere;
}

.participant-action-list {
  padding: 18px 0 0;
}

.participant-action-card {
  background:
    linear-gradient(145deg, rgb(255 255 255 / 84%), rgb(230 240 250 / 58%));
}

.lifecycle-card {
  display: grid;
  gap: 18px;
}

.lifecycle-track {
  position: relative;
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 10px;
  padding-top: 4px;
}

.lifecycle-track::before {
  content: "";
  position: absolute;
  top: 22px;
  left: 7%;
  right: 7%;
  height: 2px;
  background: rgb(217 224 234 / 90%);
}

.lifecycle-stage {
  position: relative;
  display: grid;
  justify-items: center;
  gap: 7px;
  min-width: 0;
  text-align: center;
  color: #667085;
}

.lifecycle-dot {
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  border: 1px solid rgb(217 224 234 / 90%);
  border-radius: 999px;
  background: rgb(255 255 255 / 96%);
  color: #667085;
  font-size: 13px;
  font-weight: 850;
  box-shadow: 0 8px 18px rgb(15 23 42 / 7%);
  z-index: 1;
}

.lifecycle-stage strong {
  color: #0A2540;
  font-size: 13px;
}

.lifecycle-stage small {
  max-width: 120px;
  color: #667085;
  font-size: 11px;
  line-height: 1.35;
}

.lifecycle-stage.complete .lifecycle-dot {
  border-color: rgb(16 185 129 / 42%);
  background: var(--success);
  color: var(--white);
}

.lifecycle-stage.current .lifecycle-dot {
  border-color: rgb(37 99 235 / 40%);
  background: linear-gradient(135deg, #1E3A8A, #2563EB);
  color: var(--white);
  box-shadow:
    0 10px 24px rgb(37 99 235 / 24%),
    0 0 0 6px rgb(37 99 235 / 10%);
}

.settings-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
  padding: 24px 28px 28px;
}

.table-wrap {
  margin: 22px 28px 28px;
  padding: 0;
  border: 1px solid rgb(255 255 255 / 70%);
  border-radius: 24px;
  background: rgb(255 255 255 / 82%);
  box-shadow: 0 12px 30px rgb(15 23 42 / 8%);
}

table {
  min-width: 1320px;
  border: 0;
  border-radius: 24px;
}

th {
  position: sticky;
  top: 0;
  z-index: 1;
  background: rgb(246 250 255 / 94%);
  color: #41536A;
}

th,
td {
  border-bottom: 1px solid rgb(217 224 234 / 58%);
}

tbody tr {
  transition: background 130ms ease, transform 130ms ease;
}

tbody tr:nth-child(even) {
  background: rgb(250 251 252 / 72%);
}

tbody tr:hover,
tbody tr.selected {
  background: #F0F7FF;
}

tbody tr[data-open-request] {
  cursor: pointer;
}

.step-strip {
  position: sticky;
  top: 0;
  z-index: 4;
  gap: 12px;
  max-width: 100%;
  padding: 22px 28px 8px;
  overflow-x: auto;
  overflow-y: hidden;
  overscroll-behavior-x: contain;
  scrollbar-width: thin;
  background: linear-gradient(180deg, rgb(255 255 255 / 92%), rgb(255 255 255 / 68%));
  backdrop-filter: blur(16px);
}

.step-pill {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  flex: 0 0 auto;
  padding: 9px 13px 9px 10px;
  border: 1px solid rgb(217 224 234 / 85%);
  border-radius: 999px;
  background: rgb(255 255 255 / 86%);
  color: #667085;
  box-shadow: 0 8px 18px rgb(15 23 42 / 5%);
}

.step-pill span {
  display: grid;
  place-items: center;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: #E5E7EB;
  color: #667085;
  font-size: 12px;
  font-weight: 850;
}

.step-pill strong {
  font-size: 13px;
}

.step-pill.is-current {
  border-color: rgb(37 99 235 / 35%);
  color: var(--navy);
  box-shadow: 0 12px 26px rgb(37 99 235 / 18%);
}

.step-pill.is-current span {
  background: linear-gradient(135deg, #1E3A8A, #2563EB);
  color: var(--white);
}

.step-pill.is-complete span {
  background: var(--success);
  color: var(--white);
}

.intake-form {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
  padding: 26px 28px 28px;
}

.submission-step {
  display: none;
  animation: stepFade 180ms ease;
}

.submission-step.is-current-step {
  display: grid;
}

label.submission-step.is-current-step,
.button-row.submission-step.is-current-step {
  display: grid;
}

.submission-step-nav {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: 120px minmax(150px, 1fr) 120px;
  gap: 12px;
  margin-top: 4px;
  padding-top: 18px;
  border-top: 1px solid rgb(217 224 234 / 60%);
}

@keyframes stepFade {
  from {
    opacity: 0;
    transform: translateY(8px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.checks {
  border: 1px solid rgb(255 255 255 / 72%);
  border-radius: 22px;
  padding: 18px;
  background:
    linear-gradient(145deg, rgb(255 255 255 / 86%), rgb(230 240 250 / 62%));
  box-shadow: inset 0 1px 0 rgb(255 255 255 / 78%);
}

.checks legend {
  padding: 0 8px;
  font-size: 13px;
}

.file-input {
  border-radius: 20px;
  border-color: rgb(37 99 235 / 22%);
  background: rgb(255 255 255 / 72%);
}

.readonly-generated {
  color: #475467;
  background:
    linear-gradient(145deg, rgb(255 255 255 / 78%), rgb(230 240 250 / 64%));
}

.participant-actions,
.button-row {
  align-items: center;
}

.participant-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 14px;
}

.detail-tabs-card {
  display: grid;
  gap: 18px;
}

.detail-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  padding: 6px;
  border: 1px solid rgb(217 224 234 / 66%);
  border-radius: 20px;
  background: rgb(255 255 255 / 58%);
  box-shadow: inset 0 1px 0 rgb(255 255 255 / 84%);
}

.detail-tabs button {
  border: 0;
  border-radius: 16px;
  padding: 10px 14px;
  background: transparent;
  color: #475467;
  font: inherit;
  font-weight: 780;
  cursor: pointer;
  transition: background 160ms ease, box-shadow 160ms ease, color 160ms ease, transform 160ms ease;
}

.detail-tabs button:hover,
.detail-tabs button.active {
  background: linear-gradient(135deg, #FFFFFF, #EAF2FF);
  color: #0A2540;
  box-shadow: 0 10px 22px rgb(15 23 42 / 9%);
  transform: translateY(-1px);
}

.detail-tab-panel {
  animation: stepFade 180ms ease both;
}

.tab-copy {
  margin-bottom: 16px;
}

.tab-copy h3 {
  margin-bottom: 6px;
}

.tab-copy p {
  max-width: 820px;
  color: #667085;
}

.approval-roles-panel {
  display: grid;
  gap: 16px;
}

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

.approval-role-card {
  display: grid;
  gap: 10px;
  padding: 16px;
  border: 1px solid rgb(217 224 234 / 72%);
  border-radius: 20px;
  background: rgb(255 255 255 / 76%);
  box-shadow: 0 10px 24px rgb(15 23 42 / 6%);
}

.approval-role-card.selected {
  border-color: rgb(37 99 235 / 24%);
  background: linear-gradient(145deg, rgb(255 255 255 / 88%), rgb(230 240 250 / 76%));
}

.role-checkline {
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
}

.role-checkline strong {
  flex: 1;
}

.approval-meta {
  color: #667085;
  font-size: 12px;
}

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

.approval-participant-card {
  display: grid;
  gap: 14px;
  padding: 17px;
  border: 1px solid rgb(217 224 234 / 74%);
  border-radius: 24px;
  background:
    linear-gradient(145deg, rgb(255 255 255 / 86%), rgb(245 248 252 / 72%));
  box-shadow: 0 12px 26px rgb(15 23 42 / 7%), inset 0 1px 0 rgb(255 255 255 / 92%);
  transition: transform 160ms ease, box-shadow 160ms ease, border-color 160ms ease;
}

.approval-participant-card:hover {
  transform: translateY(-1px);
  box-shadow: 0 18px 34px rgb(15 23 42 / 10%);
}

.approval-participant-card.selected {
  border-color: rgb(37 99 235 / 30%);
  background:
    linear-gradient(145deg, rgb(255 255 255 / 94%), rgb(230 240 250 / 82%));
}

.approval-assignment {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  max-height: 620px;
  opacity: 1;
  transition: opacity 160ms ease, max-height 180ms ease;
}

.approval-participant-card:not(.selected) .approval-assignment {
  max-height: 0;
  opacity: 0;
  overflow: hidden;
}

.approval-assignment .wide {
  grid-column: 1 / -1;
}

.approval-assignment input[readonly] {
  color: #667085;
  background: rgb(245 248 252 / 78%);
}

.participant-routing-fieldset {
  background:
    linear-gradient(145deg, rgb(255 255 255 / 90%), rgb(230 240 250 / 68%));
}

.redlining-workspace {
  display: grid;
  gap: 20px;
}

.redline-status-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.redline-workspace-form,
.redline-vendor-form,
.redline-list,
.redline-task-list {
  display: grid;
  gap: 14px;
  padding: 18px;
  border: 1px solid rgb(255 255 255 / 70%);
  border-radius: 24px;
  background:
    linear-gradient(145deg, rgb(255 255 255 / 88%), rgb(245 248 252 / 72%));
  box-shadow: 0 14px 30px rgb(15 23 42 / 8%), inset 0 1px 0 rgb(255 255 255 / 88%);
}

.redline-workspace-form,
.redline-vendor-form {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.redline-workspace-form .wide,
.redline-vendor-form .wide {
  grid-column: 1 / -1;
}

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

.redline-tags label span {
  color: #667085;
  font-size: 12px;
}

.final-clean-cert {
  align-items: center;
  border-color: rgb(16 185 129 / 22%);
  background: rgb(236 253 245 / 72%);
}

.redline-version,
.redline-task {
  display: grid;
  gap: 8px;
  padding: 15px;
  border: 1px solid rgb(217 224 234 / 70%);
  border-radius: 20px;
  background: rgb(255 255 255 / 78%);
  box-shadow: 0 10px 22px rgb(15 23 42 / 6%);
}

.redline-version.current {
  border-color: rgb(37 99 235 / 28%);
}

.redline-version.final {
  border-color: rgb(16 185 129 / 32%);
}

.redline-task-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
}

.redline-task-actions input {
  flex: 1 1 220px;
}

.activity-section {
  display: grid;
  gap: 12px;
  padding: 18px;
  margin-top: 16px;
  background:
    linear-gradient(145deg, rgb(255 255 255 / 84%), rgb(245 248 252 / 72%));
}

.activity-item {
  display: grid;
  gap: 8px;
  padding: 15px;
  border-radius: 18px;
  background: rgb(255 255 255 / 78%);
}

.activity-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.activity-meta span {
  padding: 6px 9px;
  border-radius: 999px;
  background: rgb(230 240 250 / 78%);
  color: #334155;
  font-size: 12px;
  font-weight: 700;
}

.activity-item p {
  color: #334155;
  line-height: 1.5;
}

.activity-item pre {
  max-height: 260px;
  margin: 0;
  padding: 14px;
  overflow: auto;
  border: 1px solid rgb(217 224 234 / 70%);
  border-radius: 16px;
  background: #F8FAFC;
  color: #334155;
  font: 12px/1.55 ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  white-space: pre-wrap;
  overflow-wrap: anywhere;
}

.mini {
  min-height: 34px;
  padding: 7px 12px;
  font-size: 12px;
}

.approval-table.refined {
  display: grid;
  gap: 8px;
  margin-top: 18px;
}

.detail-grid {
  gap: 22px;
  padding: 24px;
}

.card {
  padding: 20px;
}

.info-panel {
  border-color: rgb(255 255 255 / 68%);
  background:
    linear-gradient(145deg, rgb(255 255 255 / 80%), rgb(230 240 250 / 72%));
  box-shadow: 0 12px 30px rgb(15 23 42 / 7%);
}

.status-tile,
.fact,
.timeline-item,
.version-item,
.comment,
.checklist-item {
  border: 1px solid rgb(217 224 234 / 68%);
  border-radius: 18px;
  background: rgb(255 255 255 / 78%);
}

.status-pill,
.tag {
  border-radius: 999px;
  padding: 5px 10px;
  border: 1px solid rgb(217 224 234 / 70%);
  background: #F2F4F7;
  color: #475467;
  font-weight: 760;
}

.status-pill.status-approved,
.tag.ok {
  border-color: rgb(16 185 129 / 24%);
  background: #DDF8EB;
  color: #047857;
}

.status-pill.status-pending,
.tag.warn {
  border-color: rgb(245 158 11 / 26%);
  background: #FFF4D8;
  color: #A15C07;
}

.status-pill.status-rejected,
.tag.bad {
  border-color: rgb(220 38 38 / 22%);
  background: #FFE4E4;
  color: #B42318;
}

.status-pill.status-signature {
  border-color: rgb(79 70 229 / 22%);
  background: linear-gradient(135deg, #EEF2FF, #EAF2FF);
  color: #3730A3;
}

.status-pill:not(.status-approved):not(.status-pending):not(.status-rejected):not(.status-signature) {
  border-color: rgb(96 165 250 / 26%);
  background: #EAF2FF;
  color: #1E3A8A;
}

.toast {
  border-radius: 18px;
  background: rgb(7 29 51 / 92%);
  backdrop-filter: blur(18px);
  box-shadow: 0 18px 42px rgb(7 29 51 / 24%);
}

.cover-preview-step,
.official-cover-sheet {
  grid-column: 1 / -1;
}

.official-cover-sheet {
  margin-top: 18px;
  padding: 34px;
  border: 1px solid rgb(229 234 242 / 88%);
  border-radius: 12px;
  background: #FFFFFF;
  box-shadow:
    0 22px 44px rgb(15 23 42 / 10%),
    0 1px 0 rgb(255 255 255 / 90%) inset;
}

.official-cover-sheet.is-preview {
  margin-top: 10px;
}

.cover-page-header {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  padding-bottom: 22px;
  border-bottom: 1px solid #E5E7EB;
}

.cover-page-header span,
.cover-version span,
.cover-facts span,
.cover-signature-row small,
.signature-applied small {
  color: var(--muted);
  font-size: 12px;
}

.cover-page-header h3 {
  margin: 6px 0;
  color: var(--navy);
  font-size: 28px;
}

.cover-page-header p {
  margin: 0;
  color: var(--muted);
}

.cover-version {
  display: grid;
  align-content: start;
  justify-items: end;
  min-width: 150px;
}

.cover-version strong {
  color: var(--blue);
}

.cover-section {
  padding: 22px 0;
  border-bottom: 1px solid #E5E7EB;
}

.cover-section:last-child {
  border-bottom: 0;
}

.cover-section h4 {
  margin: 0 0 14px;
  color: var(--navy);
  font-size: 16px;
}

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

.cover-facts div {
  display: grid;
  gap: 5px;
  min-height: 72px;
  padding: 13px;
  border: 1px solid #EEF2F7;
  border-radius: 14px;
  background: #F8FAFC;
}

.cover-facts strong {
  color: var(--text);
  font-size: 13px;
  line-height: 1.35;
  overflow-wrap: anywhere;
}

.cover-route-summary {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 14px;
  padding: 12px 14px;
  border-radius: 16px;
  background: #EAF2FF;
  color: var(--navy);
}

.cover-signature-table {
  overflow: hidden;
  border: 1px solid #E5E7EB;
  border-radius: 16px;
  background: #FFFFFF;
}

.cover-signature-head,
.cover-signature-row {
  display: grid;
  grid-template-columns: 1fr 1.4fr 0.9fr 1.5fr 0.7fr;
  gap: 12px;
  align-items: center;
  padding: 12px 14px;
}

.cover-signature-head {
  position: sticky;
  top: 0;
  z-index: 1;
  background: #F3F6FA;
  color: var(--muted);
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
}

.cover-signature-row {
  border-top: 1px solid #EEF2F7;
}

.cover-signature-row:hover {
  background: #F8FBFF;
}

.cover-signature-row strong,
.cover-signature-row small {
  display: block;
}

.signature-line {
  height: 38px;
  border-bottom: 1px solid #CBD5E1;
  color: var(--muted);
}

.signature-line span {
  display: inline-block;
  margin-top: 16px;
  font-size: 11px;
}

.signature-applied {
  display: grid;
  gap: 4px;
}

.signature-applied img,
.signature-preview img {
  display: block;
  max-width: 190px;
  max-height: 58px;
  object-fit: contain;
}

.typed-signature {
  display: inline-block;
  color: #0A2540;
  font-family: "Brush Script MT", "Segoe Script", cursive;
  font-size: 30px;
  line-height: 1;
}

.primary.mini {
  min-height: 34px;
  padding: 7px 13px;
  border-radius: 999px;
  font-size: 12px;
}

.cover-readonly-note {
  margin-top: 16px;
  padding: 14px 16px;
  border: 1px solid #D7E7F8;
  border-radius: 16px;
  background: #EAF2FF;
  color: var(--navy);
}

.vendor-info-form,
.signature-setup {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

.vendor-info-form .wide,
.signature-setup.wide,
.signature-setup .wide,
.signature-setup > div:first-child {
  grid-column: 1 / -1;
}

.signature-setup {
  padding: 18px;
  border: 1px solid rgb(217 224 234 / 78%);
  border-radius: 22px;
  background: rgb(255 255 255 / 72%);
}

.signature-setup h3 {
  margin: 0 0 4px;
  color: var(--navy);
}

.signature-setup p {
  margin: 0;
  color: var(--muted);
}

.signature-draw,
.signature-upload,
.signature-typed {
  display: none;
}

.signature-draw.is-active,
.signature-upload.is-active,
.signature-typed.is-active {
  display: grid;
  gap: 10px;
}

#signaturePad {
  width: 100%;
  max-width: 640px;
  height: 180px;
  border: 1px solid #D7E0EA;
  border-radius: 18px;
  background: #FFFFFF;
  box-shadow: inset 0 1px 8px rgb(15 23 42 / 5%);
  touch-action: none;
}

.signature-preview {
  display: grid;
  align-items: center;
  min-height: 74px;
  padding: 12px 14px;
  border: 1px dashed #CBD5E1;
  border-radius: 18px;
  background: #F8FAFC;
}

.live-cover-page {
  max-width: 1120px;
  margin-inline: auto;
  border-radius: 18px;
}

.cover-page-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: flex-end;
  margin: 18px 0 8px;
  padding: 12px;
  border: 1px solid #E5EAF2;
  border-radius: 18px;
  background: linear-gradient(135deg, #F8FAFC, #EEF6FF);
}

.button-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 40px;
}

.cover-top-grid {
  display: grid;
  grid-template-columns: 1.12fr 0.88fr;
  gap: 18px;
  margin-top: 20px;
}

.cover-page-section {
  overflow: hidden;
  margin-top: 18px;
  border: 1px solid #DCE5F0;
  border-radius: 16px;
  background: #FFFFFF;
}

.cover-top-grid .cover-page-section {
  margin-top: 0;
}

.cover-section-bar {
  padding: 10px 14px;
  background: linear-gradient(135deg, #0A2540, #1E3A8A);
  color: #FFFFFF;
  font-size: 13px;
  font-weight: 850;
  letter-spacing: 0.01em;
}

.cover-page-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  border-top: 1px solid #DCE5F0;
}

.cover-page-section.general .cover-page-grid,
.cover-page-section.funding .cover-page-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.cover-cell {
  display: grid;
  gap: 6px;
  min-height: 76px;
  padding: 11px 12px;
  border-right: 1px solid #E7EDF5;
  border-bottom: 1px solid #E7EDF5;
  background: #FFFFFF;
}

.cover-cell.wide {
  grid-column: 1 / -1;
}

.cover-cell span {
  color: #526173;
  font-size: 11px;
  font-weight: 800;
  text-transform: uppercase;
}

.cover-cell strong {
  min-height: 22px;
  color: #111827;
  font-size: 13px;
  line-height: 1.35;
  overflow-wrap: anywhere;
}

.cover-cell input,
.cover-cell select,
.cover-cell textarea {
  width: 100%;
  min-height: 34px;
  padding: 8px 10px;
  border: 1px solid #D7E0EA;
  border-radius: 10px;
  background: #F8FAFC;
  color: #111827;
  font: inherit;
  font-size: 13px;
  transition: border-color 150ms ease, box-shadow 150ms ease, background 150ms ease;
}

.cover-cell textarea {
  resize: vertical;
  min-height: 72px;
}

.cover-cell input:focus,
.cover-cell select:focus,
.cover-cell textarea:focus {
  outline: none;
  border-color: #2563EB;
  background: #FFFFFF;
  box-shadow: 0 0 0 4px rgb(37 99 235 / 12%);
}

.text-blocks {
  padding-bottom: 0;
}

.text-blocks .cover-cell {
  border-right: 0;
}

.approval-section,
.signing-limits-section {
  margin-top: 22px;
}

.cover-signature-table,
.cover-limits-table {
  border: 0;
  border-radius: 0;
}

.cover-signature-head,
.cover-signature-row {
  grid-template-columns: 1.1fr 1.35fr 1.4fr 0.95fr 0.75fr;
}

.cover-signature-head {
  position: static;
  background: #F3F6FA;
}

.cover-limits-head,
.cover-limits-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  padding: 12px 14px;
  border-top: 1px solid #E7EDF5;
}

.cover-limits-head {
  background: #F3F6FA;
  color: #526173;
  font-size: 12px;
  font-weight: 850;
  text-transform: uppercase;
}

.cover-limits-row strong {
  color: #0A2540;
}

.official-cover-sheet {
  width: min(100%, 960px);
  max-width: 960px;
  margin: 24px auto 0;
  padding: 32px;
  border: 1px solid rgb(200 220 235 / 18%);
  border-radius: 28px;
  background:
    radial-gradient(circle at 18% 0%, rgb(255 255 255 / 8%), transparent 34%),
    linear-gradient(145deg, rgb(255 255 255 / 5%) 0%, rgb(255 255 255 / 2%) 38%, transparent 100%),
    #0A2240;
  color: #C8D8E8;
  box-shadow:
    inset 0 1px 0 rgb(255 255 255 / 16%),
    0 28px 64px rgb(7 29 51 / 22%);
}

.official-cover-sheet.is-preview {
  margin-top: 12px;
}

.official-cover-sheet .page-title {
  padding: 24px 0 30px;
  text-align: center;
  color: transparent;
  background: linear-gradient(180deg, #FFFFFF 0%, #C8D8E8 50%, #E0ECF4 100%);
  background-clip: text;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  font-size: clamp(16px, 2vw, 22px);
  font-weight: 300;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.official-cover-sheet .cover-page-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
  justify-content: flex-end;
  margin: 0 0 12px;
  padding: 12px;
  border: 1px solid rgb(200 220 235 / 16%);
  border-radius: 18px;
  background: linear-gradient(135deg, rgb(255 255 255 / 10%), rgb(255 255 255 / 4%));
  box-shadow: inset 0 1px 0 rgb(255 255 255 / 12%);
}

.official-cover-sheet .cover-version {
  display: grid;
  justify-items: start;
  margin-right: auto;
  color: rgb(200 216 232 / 70%);
}

.official-cover-sheet .cover-version strong {
  color: #FFFFFF;
  font-size: 13px;
}

.official-cover-sheet .cover-version span {
  color: rgb(200 216 232 / 62%);
  font-size: 11px;
}

.official-cover-sheet .section {
  overflow: hidden;
  margin-bottom: 16px;
  border: 1px solid rgb(200 220 235 / 15%);
  border-radius: 16px;
  background: rgb(255 255 255 / 4%);
}

.official-cover-sheet .section-header {
  position: relative;
  padding: 11px 20px;
  border-bottom: 1px solid rgb(200 220 235 / 12%);
  background:
    linear-gradient(90deg, #FFFFFF 0%, #B8CCD8 60%, #D8ECF8 100%),
    linear-gradient(135deg, rgb(255 255 255 / 8%) 0%, rgb(255 255 255 / 2%) 100%);
  background-clip: text, border-box;
  -webkit-background-clip: text, border-box;
  -webkit-text-fill-color: transparent;
  color: transparent;
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.official-cover-sheet .question-header {
  padding: 11px 20px;
  border-bottom: 1px solid rgb(200 220 235 / 8%);
  background: linear-gradient(135deg, rgb(255 255 255 / 7%) 0%, rgb(255 255 255 / 2%) 100%);
  color: rgb(220 235 245 / 82%);
  font-size: 11px;
  font-style: italic;
  font-weight: 400;
  letter-spacing: 0.04em;
}

.official-cover-sheet .cover-page-grid {
  display: grid;
  border-top: 0;
}

.official-cover-sheet .grid-2 {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.official-cover-sheet .field {
  display: grid;
  gap: 4px;
  min-height: 68px;
  padding: 10px 20px;
  border-right: 1px solid rgb(200 220 235 / 6%);
  border-bottom: 1px solid rgb(200 220 235 / 6%);
  background: transparent;
}

.official-cover-sheet .field:nth-child(2n),
.official-cover-sheet .field.no-border-right {
  border-right: none;
}

.official-cover-sheet .field.wide {
  grid-column: 1 / -1;
}

.official-cover-sheet .field-label {
  margin-bottom: 2px;
  color: rgb(180 200 215 / 58%);
  font-size: 9.5px;
  font-weight: 400;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.official-cover-sheet .field-value,
.official-cover-sheet .field-value strong {
  color: #D8E8F4;
  font-size: 13px;
  font-weight: 300;
  letter-spacing: 0.02em;
  line-height: 1.5;
}

.official-cover-sheet .field-value.highlight,
.official-cover-sheet .field-value.highlight strong {
  color: transparent;
  background: linear-gradient(90deg, #FFFFFF 0%, #C0D4E4 100%);
  background-clip: text;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  font-weight: 400;
}

.official-cover-sheet .field-value.highlight input,
.official-cover-sheet .field-value.highlight select {
  color: #F8FBFF;
  background-clip: border-box;
  -webkit-text-fill-color: #F8FBFF;
}

.official-cover-sheet input,
.official-cover-sheet select,
.official-cover-sheet textarea {
  width: 100%;
  min-height: 34px;
  padding: 7px 9px;
  border: 1px solid rgb(200 220 235 / 18%);
  border-radius: 12px;
  background: rgb(255 255 255 / 6%);
  color: #F8FBFF;
  font: inherit;
  font-size: 13px;
  box-shadow: inset 0 1px 0 rgb(255 255 255 / 8%);
  transition: border-color 150ms ease, box-shadow 150ms ease, background 150ms ease, transform 150ms ease;
}

.official-cover-sheet select option {
  color: #111827;
}

.official-cover-sheet textarea {
  min-height: 86px;
  resize: vertical;
  line-height: 1.55;
}

.official-cover-sheet input:focus,
.official-cover-sheet select:focus,
.official-cover-sheet textarea:focus {
  outline: none;
  border-color: rgb(147 197 253 / 80%);
  background: rgb(255 255 255 / 10%);
  box-shadow:
    0 0 0 4px rgb(37 99 235 / 18%),
    inset 0 1px 0 rgb(255 255 255 / 12%);
}

.official-cover-sheet .field-error {
  border-color: rgb(248 113 113 / 90%);
  box-shadow: 0 0 0 4px rgb(239 68 68 / 16%);
}

.official-cover-sheet .field-saved {
  border-color: rgb(16 185 129 / 80%);
  box-shadow: 0 0 0 4px rgb(16 185 129 / 14%);
}

.official-cover-sheet .text-blocks .field {
  min-height: 0;
  border-right: none;
}

.official-cover-sheet .review-consideration-panel {
  padding: 14px 20px;
  border-bottom: 1px solid rgb(200 220 235 / 6%);
}

.official-cover-sheet .review-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.official-cover-sheet .badge {
  display: inline-flex;
  align-items: center;
  min-height: 25px;
  padding: 3px 10px;
  border: 1px solid rgb(200 220 235 / 20%);
  border-radius: 999px;
  background: linear-gradient(135deg, rgb(255 255 255 / 12%) 0%, rgb(255 255 255 / 4%) 100%);
  color: #D8E8F4;
  font-size: 11px;
  font-weight: 400;
  letter-spacing: 0.04em;
}

.official-cover-sheet .badge.muted {
  color: rgb(200 216 232 / 56%);
}

.official-cover-sheet .cover-route-summary {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  margin: 0;
  padding: 12px 20px;
  border-radius: 0;
  border-bottom: 1px solid rgb(200 220 235 / 8%);
  background: rgb(255 255 255 / 3%);
  color: rgb(220 235 245 / 82%);
  font-size: 12px;
}

.official-cover-sheet .cover-route-summary strong {
  color: #FFFFFF;
  font-weight: 500;
}

.official-cover-sheet .cover-signature-table,
.official-cover-sheet .cover-limits-table {
  width: 100%;
  border: 0;
  border-collapse: collapse;
  border-radius: 0;
  background: transparent;
}

.official-cover-sheet .cover-signature-table th,
.official-cover-sheet .cover-limits-table th {
  padding: 10px 20px;
  border-right: 1px solid rgb(200 220 235 / 6%);
  border-bottom: 1px solid rgb(200 220 235 / 10%);
  background: linear-gradient(135deg, rgb(255 255 255 / 5%) 0%, transparent 100%);
  color: rgb(180 200 215 / 58%);
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.15em;
  line-height: 1.35;
  text-align: left;
  text-transform: uppercase;
}

.official-cover-sheet .cover-signature-table th:last-child,
.official-cover-sheet .cover-signature-table td:last-child {
  text-align: center;
}

.official-cover-sheet .cover-signature-row {
  display: table-row;
  border-top: 0;
}

.official-cover-sheet .cover-signature-table td,
.official-cover-sheet .cover-limits-table td {
  padding: 10px 20px;
  border-right: 1px solid rgb(200 220 235 / 4%);
  border-bottom: 1px solid rgb(200 220 235 / 5%);
  color: #C8D8E8;
  font-size: 12.5px;
  font-weight: 300;
  line-height: 1.45;
}

.official-cover-sheet .cover-signature-table td:last-child,
.official-cover-sheet .cover-limits-table td:last-child,
.official-cover-sheet .cover-signature-table th:last-child,
.official-cover-sheet .cover-limits-table th:last-child {
  border-right: none;
}

.official-cover-sheet .cover-signature-row:hover {
  background: rgb(255 255 255 / 4%);
}

.official-cover-sheet .role-label {
  color: rgb(180 200 215 / 68%);
  font-size: 12px;
}

.official-cover-sheet .has-name strong {
  display: block;
  color: transparent;
  background: linear-gradient(90deg, #FFFFFF 0%, #C0D4E4 100%);
  background-clip: text;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  font-weight: 400;
}

.official-cover-sheet .has-name small,
.official-cover-sheet .sign-date-cell small {
  display: block;
  margin-top: 4px;
  color: rgb(180 200 215 / 48%);
  font-size: 11px;
}

.official-cover-sheet .sign-date-cell {
  display: table-cell;
  vertical-align: middle;
}

.official-cover-sheet .sign-date-cell .tag {
  margin-bottom: 6px;
}

.official-cover-sheet .signature-line {
  width: 100%;
  min-height: 32px;
  border-bottom: 1px solid rgb(200 220 235 / 28%);
  color: rgb(180 200 215 / 42%);
}

.official-cover-sheet .signature-applied {
  justify-items: center;
  gap: 4px;
  margin-top: 5px;
}

.official-cover-sheet .signature-applied img {
  max-width: 170px;
  max-height: 52px;
  filter: drop-shadow(0 4px 10px rgb(0 0 0 / 22%));
}

.official-cover-sheet .typed-signature {
  color: #FFFFFF;
  font-family: "Brush Script MT", "Segoe Script", cursive;
  font-size: 28px;
}

.official-cover-sheet .primary.mini {
  min-height: 30px;
  margin-top: 7px;
  padding: 6px 13px;
  border-radius: 999px;
  font-size: 11px;
}

.official-cover-sheet .limits-title {
  padding: 16px 20px 10px;
  color: rgb(200 218 232 / 82%);
  font-size: 12px;
  font-weight: 400;
  letter-spacing: 0.1em;
}

.official-cover-sheet .cover-limits-table th {
  padding: 9px 12px;
  text-align: center;
  font-size: 9.5px;
  font-weight: 400;
  letter-spacing: 0.08em;
}

.official-cover-sheet .cover-limits-table th:first-child,
.official-cover-sheet .cover-limits-table td:first-child {
  padding-left: 20px;
  text-align: left;
}

.official-cover-sheet .cover-limits-table td {
  padding: 9px 12px;
  text-align: center;
  font-size: 12px;
}

.official-cover-sheet .cover-limits-table td.check {
  color: transparent;
  background: linear-gradient(90deg, #FFFFFF 0%, #C0D4E4 100%);
  background-clip: text;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  font-size: 13px;
  font-weight: 500;
}

.official-cover-sheet .cover-limits-spacer {
  height: 16px;
}

@media (max-width: 860px) {
  .official-cover-sheet {
    padding: 20px;
    border-radius: 22px;
  }

  .official-cover-sheet .grid-2 {
    grid-template-columns: 1fr;
  }

  .official-cover-sheet .field {
    border-right: none;
  }

  .official-cover-sheet .cover-signature-table,
  .official-cover-sheet .cover-limits-table {
    display: block;
    overflow-x: auto;
  }
}

@media print {
  body * {
    visibility: hidden;
  }

  .official-cover-sheet,
  .official-cover-sheet * {
    visibility: visible;
  }

  .official-cover-sheet {
    position: absolute;
    inset: 0;
    width: 100%;
    max-width: none;
    margin: 0;
    padding: 18px;
    box-shadow: none;
  }

  .cover-page-actions,
  .side-nav,
  .sidebar,
  .app-header {
    display: none !important;
  }
}

@media (max-width: 1280px) {
  .summary-grid,
  .participant-dashboard-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .active-request-grid,
  .active-request-facts,
  .active-request-facts.compact {
    grid-template-columns: 1fr;
  }

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

  .lifecycle-track {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    row-gap: 18px;
  }

  .lifecycle-track::before {
    display: none;
  }
}

@media (max-width: 860px) {
  .app-layout {
    grid-template-columns: 1fr;
  }

  .sidebar {
    margin: 0;
    height: auto;
    border-radius: 0 0 28px 28px;
  }

  .shell {
    padding: 18px;
  }

  .app-header {
    margin: 12px;
  }

  .panel-head {
    align-items: flex-start;
    flex-direction: column;
  }

  .hint {
    white-space: normal;
  }

  .section-title-row {
    align-items: flex-start;
    flex-direction: column;
  }

  .lifecycle-track,
  .secondary-queues {
    grid-template-columns: 1fr;
  }

  .intake-form,
  .submission-step-nav,
  .summary-grid,
  .participant-dashboard-grid,
  .active-request-grid,
  .active-request-facts,
  .active-request-facts.compact,
  .settings-grid,
  .approval-role-grid,
  .approval-participant-list,
  .approval-assignment,
  .redline-status-grid,
  .redline-workspace-form,
  .redline-vendor-form,
  .redline-tags {
    grid-template-columns: 1fr;
  }
}
