:root {
  --ink: #162b38;
  --muted: #66757d;
  --muted-dark: #3f525c;
  --canvas: #edf1f0;
  --paper: #ffffff;
  --paper-warm: #fffdf8;
  --navy: #0c2c42;
  --navy-deep: #071b2a;
  --teal: #1a766f;
  --orange: #ef641a;
  --orange-dark: #c94c13;
  --gold: #c99d2f;
  --green: #21785a;
  --red: #b8473d;
  --blue-soft: #e5f0f5;
  --orange-soft: #fff0e8;
  --gold-soft: #f8f0d8;
  --green-soft: #e6f4ec;
  --line: #d4dddc;
  --line-dark: #aebdba;
  --shadow: 0 10px 24px rgba(16, 38, 50, 0.09);
  --radius: 7px;
}

* {
  box-sizing: border-box;
}

html {
  background: var(--canvas);
}

body {
  min-width: 320px;
  min-height: 100vh;
  margin: 0;
  background: var(--canvas);
  color: var(--ink);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 15px;
  line-height: 1.45;
}

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

button {
  cursor: pointer;
}

button:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible,
summary:focus-visible {
  outline: 3px solid rgba(239, 100, 26, 0.38);
  outline-offset: 2px;
}

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

.noscript {
  margin: 0;
  padding: 18px;
  background: var(--gold-soft);
  color: var(--ink);
}

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

.sidebar {
  position: sticky;
  top: 0;
  display: flex;
  height: 100vh;
  flex-direction: column;
  overflow-y: auto;
  border-right: 1px solid #24485a;
  background: var(--navy-deep);
  color: #edf5f4;
  padding: 20px 14px 17px;
}

.brand {
  display: flex;
  align-items: flex-start;
  flex-direction: column;
  gap: 8px;
  padding: 3px 7px 23px;
}

.brand-mark {
  display: grid;
  width: 198px;
  height: 104px;
  flex: 0 0 auto;
  place-items: center;
  overflow: visible;
  background: transparent;
}

.brand-mark img {
  display: block;
  width: 100%;
  height: 100%;
  max-width: 100%;
  object-fit: contain;
  object-position: center;
  background: transparent;
}

.brand strong,
.brand span {
  display: block;
}

.brand strong {
  color: #ffffff;
  font-size: 0.9rem;
  font-weight: 790;
  line-height: 1.14;
}

.brand span {
  margin-top: 4px;
  color: #b2c5ca;
  font-size: 0.72rem;
}

.nav-group {
  margin-bottom: 18px;
}

.nav-group > p,
.role-box > span,
.eyebrow,
.metric > p,
.metric > span,
.document-title > span,
.document-title > small,
.preview-meta span,
.preview-grid span,
.preview-bottom span,
.payslip span,
.release-line span {
  font-size: 0.68rem;
  font-weight: 760;
  letter-spacing: 0;
  text-transform: uppercase;
}

.nav-group > p {
  margin: 0 10px 7px;
  color: #91a9b1;
}

.nav-button {
  display: block;
  width: 100%;
  border: 1px solid transparent;
  border-left: 3px solid transparent;
  border-radius: 5px;
  background: transparent;
  color: #d7e5e5;
  padding: 10px 11px;
  text-align: left;
  transition: background 120ms ease, border-color 120ms ease;
}

.nav-button:hover {
  background: rgba(255, 255, 255, 0.08);
}

.nav-button.active {
  border-color: #537583;
  border-left-color: var(--orange);
  background: #173d50;
  color: #ffffff;
  font-weight: 740;
}

.role-box {
  margin-top: auto;
  border-top: 1px solid #2d5265;
  padding: 15px 5px 0;
}

.role-box > span {
  color: #a7bac0;
}

.role-box select {
  width: 100%;
  margin-top: 7px;
}

.role-box small {
  display: block;
  margin-top: 9px;
  color: #a7bac0;
  font-size: 0.72rem;
  line-height: 1.4;
}

.workbench {
  min-width: 0;
  background: var(--canvas);
}

.topbar {
  display: flex;
  min-height: 59px;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  border-bottom: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.94);
  padding: 10px clamp(20px, 4vw, 54px);
}

.pilot-note,
.topbar-actions,
.inline-actions,
.choice-row,
.row-actions {
  display: flex;
  align-items: center;
  gap: 8px;
}

.pilot-note {
  flex-wrap: wrap;
  color: var(--muted-dark);
  font-size: 0.78rem;
}

.pilot-note strong {
  color: var(--navy);
}

.pilot-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--teal);
}

.topbar-actions {
  flex: 0 0 auto;
}

.page-heading {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
  border-bottom: 1px solid var(--line);
  background: var(--paper-warm);
  padding: 28px clamp(20px, 4vw, 54px) 25px;
}

.page-heading h1,
.page-heading p,
.panel-head h2,
.document-heading h2,
.help-hero h2,
.help-steps h3 {
  margin: 0;
}

.page-heading .eyebrow,
.panel-head .eyebrow,
.help-hero .eyebrow {
  color: var(--teal);
}

.page-heading h1 {
  margin-top: 4px;
  color: var(--navy);
  font-size: 2.05rem;
  line-height: 1.1;
}

.page-heading > div > p:last-child {
  max-width: 730px;
  margin-top: 9px;
  color: var(--muted-dark);
}

.notice {
  max-width: 390px;
  border-left: 4px solid var(--orange);
  background: var(--orange-soft);
  color: #743516;
  padding: 11px 13px;
  font-size: 0.82rem;
  font-weight: 650;
}

.page-content {
  max-width: 1600px;
  margin: 0 auto;
  padding: 25px clamp(20px, 4vw, 54px) 46px;
}

.page-stack {
  display: grid;
  gap: 20px;
}

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

.metric {
  min-height: 130px;
  border: 1px solid var(--line);
  border-top: 4px solid var(--navy);
  background: var(--paper);
  padding: 15px;
}

.metric.orange { border-top-color: var(--orange); }
.metric.green { border-top-color: var(--green); }
.metric.gold { border-top-color: var(--gold); }

.metric > p,
.metric > span {
  display: block;
  color: var(--muted);
}

.metric > strong {
  display: block;
  margin: 10px 0 7px;
  color: var(--navy);
  font-size: 1.68rem;
  line-height: 1;
}

.metric > span {
  color: var(--muted-dark);
  font-size: 0.75rem;
  font-weight: 550;
  text-transform: none;
}

.two-column,
.procurement-layout,
.help-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(290px, 0.55fr);
  gap: 20px;
}

.control-grid {
  align-items: start;
}

.panel {
  min-width: 0;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--paper);
  box-shadow: 0 1px 1px rgba(17, 42, 56, 0.02);
  padding: 19px;
}

.panel-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 15px;
}

.panel-head h2 {
  margin-top: 3px;
  color: var(--navy);
  font-size: 1.15rem;
  line-height: 1.2;
}

.focus-list,
.release-list,
.help-request-list {
  display: grid;
  gap: 7px;
}

.focus-row {
  display: flex;
  width: 100%;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  border: 1px solid var(--line);
  border-left: 3px solid var(--orange);
  border-radius: 4px;
  background: #fbfcfb;
  padding: 10px 11px;
  color: var(--ink);
  text-align: left;
}

.focus-row:hover {
  background: var(--orange-soft);
}

.focus-row strong,
.focus-row small,
td strong,
td small {
  display: block;
}

.focus-row strong,
td strong {
  color: var(--navy);
}

.focus-row small,
td small {
  margin-top: 2px;
  color: var(--muted);
  font-size: 0.74rem;
  line-height: 1.3;
}

.process-list,
.compact-steps {
  display: grid;
  gap: 12px;
  margin: 0;
  padding: 0;
  list-style: none;
  counter-reset: process;
}

.process-list li,
.compact-steps li {
  position: relative;
  min-height: 44px;
  padding-left: 42px;
  counter-increment: process;
}

.process-list li::before,
.compact-steps li::before {
  position: absolute;
  top: 0;
  left: 0;
  display: grid;
  width: 27px;
  height: 27px;
  place-items: center;
  border-radius: 50%;
  background: var(--navy);
  color: #fff;
  content: counter(process);
  font-size: 0.72rem;
  font-weight: 750;
}

.process-list strong,
.process-list span {
  display: block;
}

.process-list strong {
  color: var(--navy);
  font-size: 0.88rem;
}

.process-list span,
.muted-copy {
  color: var(--muted-dark);
  font-size: 0.82rem;
}

.muted-copy {
  margin: 0;
  line-height: 1.5;
}

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

table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.82rem;
}

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

th {
  background: #f0f4f3;
  color: #40545c;
  font-size: 0.68rem;
  font-weight: 780;
  letter-spacing: 0;
  text-transform: uppercase;
  white-space: nowrap;
}

tbody tr:hover {
  background: #fbfdfc;
}

.badge {
  display: inline-flex;
  align-items: center;
  min-height: 24px;
  border: 1px solid transparent;
  border-radius: 999px;
  padding: 3px 8px;
  font-size: 0.7rem;
  font-weight: 720;
  line-height: 1.1;
  white-space: nowrap;
}

.badge.success { border-color: #aed4bf; background: var(--green-soft); color: #1d6548; }
.badge.warning { border-color: #e8ca83; background: var(--gold-soft); color: #795a0d; }
.badge.danger { border-color: #efbbb5; background: #fff0ee; color: #92382f; }
.badge.neutral { border-color: #cbd7db; background: #edf3f4; color: #49606b; }

.primary-button,
.secondary-button,
.quiet-button,
.plain-button,
.add-line-button,
.icon-button {
  border-radius: 5px;
  font-weight: 730;
  line-height: 1.15;
  transition: background 120ms ease, border-color 120ms ease, color 120ms ease;
}

.primary-button {
  border: 1px solid var(--orange-dark);
  background: var(--orange);
  color: #fff;
  padding: 10px 13px;
}

.primary-button:hover { background: var(--orange-dark); }

.secondary-button {
  border: 1px solid #376578;
  background: #fff;
  color: var(--navy);
  padding: 9px 11px;
}

.secondary-button:hover { background: var(--blue-soft); }

.quiet-button,
.plain-button {
  border: 1px solid transparent;
  background: transparent;
  color: var(--navy);
  padding: 8px 9px;
}

.quiet-button:hover,
.plain-button:hover { background: #edf3f3; }

.compact {
  padding: 6px 8px;
  font-size: 0.72rem;
}

.icon-button {
  display: inline-grid;
  width: 34px;
  height: 34px;
  place-items: center;
  border: 1px solid #a9bfc5;
  background: #fff;
  color: var(--navy);
  font-weight: 800;
}

.icon-button:hover { background: var(--blue-soft); }

.icon-button.small {
  width: 28px;
  height: 28px;
  border-color: #dfb9b1;
  color: var(--red);
}

.add-line-button {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  border: 1px solid #6c9aa7;
  background: #fff;
  color: var(--navy);
  padding: 8px 10px;
}

.add-line-button:hover { background: var(--blue-soft); }

.add-line-button span {
  display: inline-grid;
  width: 18px;
  height: 18px;
  place-items: center;
  border-radius: 50%;
  background: var(--navy);
  color: #fff;
  font-size: 1rem;
  line-height: 1;
}

.document-sheet {
  min-width: 0;
  border: 1px solid #cbd6d5;
  border-radius: 4px;
  background: var(--paper-warm);
  box-shadow: var(--shadow);
  padding: clamp(18px, 3vw, 34px);
}

.document-topline {
  height: 6px;
  margin: -34px -34px 24px;
  border-radius: 4px 4px 0 0;
  background: var(--orange);
}

.document-heading {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 18px;
}

.document-company {
  display: flex;
  align-items: center;
  gap: 10px;
}

.document-symbol {
  display: grid;
  width: 38px;
  height: 38px;
  place-items: center;
  border-radius: 5px;
  background: var(--navy);
  color: #fff;
  font-size: 0.78rem;
  font-weight: 850;
}

.document-company strong,
.document-company small {
  display: block;
}

.document-company strong {
  color: var(--navy);
  font-size: 0.96rem;
}

.document-company small {
  color: var(--muted);
  font-size: 0.72rem;
}

.document-title {
  min-width: 210px;
  text-align: right;
}

.document-title > span,
.document-title > small {
  display: block;
  color: var(--muted);
}

.document-title h2 {
  margin: 3px 0 2px;
  color: var(--navy);
  font-size: 1.4rem;
}

.document-rule {
  height: 1px;
  margin: 18px 0;
  background: var(--line-dark);
}

.document-intro {
  max-width: 820px;
  margin: 0 0 18px;
  color: var(--muted-dark);
  font-size: 0.86rem;
}

.form-grid {
  display: grid;
  gap: 12px;
  margin-bottom: 13px;
}

.form-grid.four { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.form-grid.three { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.form-grid.two { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.form-grid.one { grid-template-columns: minmax(0, 1fr); }

label,
.choice-field > span,
.selector-label,
.search-field > span {
  display: grid;
  gap: 5px;
  color: #41545c;
  font-size: 0.72rem;
  font-weight: 760;
}

input,
select,
textarea {
  width: 100%;
  min-height: 37px;
  border: 1px solid #b8c8c8;
  border-radius: 4px;
  background: #fff;
  color: var(--ink);
  padding: 8px 9px;
}

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

input::placeholder,
textarea::placeholder { color: #8a9aa0; }

.choice-field {
  display: grid;
  align-content: start;
  gap: 7px;
  border-left: 3px solid var(--gold);
  background: #fff9ea;
  padding: 10px 12px;
}

.choice-row {
  margin-bottom: 3px;
  flex-wrap: wrap;
}

.choice-row label {
  display: flex;
  width: auto;
  align-items: center;
  gap: 6px;
  color: var(--muted-dark);
  font-size: 0.78rem;
  font-weight: 600;
}

.choice-row input {
  width: 15px;
  min-height: auto;
  margin: 0;
}

.section-label {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin: 21px 0 8px;
  border-bottom: 2px solid var(--navy);
  padding-bottom: 7px;
}

.section-label span {
  color: var(--navy);
  font-size: 0.82rem;
  font-weight: 800;
  text-transform: uppercase;
}

.section-label small {
  color: var(--muted);
  font-size: 0.74rem;
}

.document-table table {
  min-width: 0;
  border: 1px solid var(--line);
  table-layout: fixed;
}

.document-table th {
  background: #e8efef;
  color: var(--navy);
  white-space: normal;
}

.document-table th:nth-child(1) { width: 33%; }
.document-table th:nth-child(2) { width: 10%; }
.document-table th:nth-child(3) { width: 11%; }
.document-table th:nth-child(4) { width: 17%; }
.document-table th:nth-child(5) { width: 20%; }
.document-table th:nth-child(6) { width: 42px; }

.document-table td {
  padding: 5px;
}

.document-table input {
  min-height: 33px;
  border-color: transparent;
  background: transparent;
  padding: 6px;
}

.document-table input:focus {
  border-color: var(--orange);
  background: #fff;
}

.amount {
  color: var(--navy);
  font-weight: 760;
  white-space: nowrap;
}

.inline-actions {
  justify-content: space-between;
  margin-top: 10px;
  flex-wrap: wrap;
}

.inline-actions small {
  color: var(--muted);
  font-size: 0.74rem;
}

.lower-fields { margin-top: 16px; }

.document-footer {
  display: grid;
  grid-template-columns: repeat(3, minmax(130px, 1fr)) auto;
  align-items: end;
  gap: 12px;
  margin-top: 24px;
  border-top: 1px solid var(--line-dark);
  padding-top: 15px;
}

.document-footer > div {
  display: grid;
  gap: 3px;
}

.document-footer span {
  color: var(--muted);
  font-size: 0.69rem;
  font-weight: 720;
  text-transform: uppercase;
}

.document-footer strong {
  color: var(--navy);
  font-size: 0.94rem;
}

.document-footer .document-total {
  border-left: 3px solid var(--orange);
  padding-left: 10px;
}

.document-footer .document-total strong {
  color: var(--orange-dark);
  font-size: 1.08rem;
}

.guide-rail {
  display: grid;
  align-content: start;
  gap: 14px;
}

.guide-rail .panel {
  box-shadow: none;
}

.check-list {
  display: grid;
  gap: 9px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.check-list li {
  position: relative;
  padding-left: 21px;
  color: var(--muted-dark);
  font-size: 0.82rem;
}

.check-list li::before {
  position: absolute;
  top: 0.39rem;
  left: 0;
  width: 9px;
  height: 9px;
  border: 2px solid var(--teal);
  border-radius: 50%;
  content: "";
}

.compact-steps li {
  min-height: 28px;
  padding-left: 38px;
  color: var(--muted-dark);
  font-size: 0.82rem;
}

.compact-steps li::before {
  width: 24px;
  height: 24px;
  background: var(--teal);
}

.inline-link {
  margin-top: 14px;
  padding-left: 0;
  color: var(--teal);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.match-steps {
  display: grid;
  gap: 7px;
}

.match-steps span {
  border-left: 4px solid var(--gold);
  background: #fffaf0;
  padding: 8px 10px;
  color: var(--navy);
  font-size: 0.81rem;
  font-weight: 720;
}

.document-preview {
  overflow: hidden;
  border: 1px solid #bfcfcd;
  background: #fff;
}

.preview-ribbon {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  background: var(--navy);
  color: #fff;
  padding: 12px 16px;
}

.preview-ribbon span { font-size: 0.82rem; font-weight: 650; }
.preview-ribbon strong { font-size: 1.12rem; }

.preview-meta {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
  padding: 16px;
}

.preview-meta > div,
.preview-grid > div {
  display: grid;
  gap: 3px;
}

.preview-meta span,
.preview-grid span,
.preview-bottom span {
  color: var(--muted);
}

.preview-meta strong,
.preview-grid strong,
.preview-bottom strong {
  color: var(--navy);
}

.preview-meta small .badge { margin-top: 3px; }

.preview-grid {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 18px;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  padding: 15px 16px;
}

.preview-grid p {
  margin: 3px 0 0;
  color: var(--muted-dark);
  font-size: 0.78rem;
  line-height: 1.45;
}

.preview-table { padding: 0 16px; }
.preview-table table { min-width: 570px; }

.preview-bottom {
  display: grid;
  grid-template-columns: 1fr 270px;
  gap: 20px;
  align-items: end;
  padding: 16px;
}

.preview-bottom > div:first-child {
  display: grid;
  gap: 4px;
}

.preview-total {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 4px 16px;
  border-left: 3px solid var(--orange);
  background: var(--orange-soft);
  padding: 10px 12px;
}

.preview-total b {
  color: var(--navy);
  text-align: right;
}

.preview-total strong {
  margin-top: 4px;
  color: var(--orange-dark);
}

.release-list {
  gap: 0;
}

.release-line {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  border-bottom: 1px solid var(--line);
  padding: 11px 0;
}

.release-line:first-child { padding-top: 0; }
.release-line:last-child { border-bottom: 0; padding-bottom: 0; }
.release-line strong,
.release-line span { display: block; }
.release-line strong { color: var(--navy); font-size: 0.84rem; }
.release-line span { margin-top: 2px; color: var(--muted); text-transform: none; font-size: 0.72rem; }

.batch-total {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 12px;
  margin: 16px 0;
  border-left: 4px solid var(--gold);
  background: #fffaf0;
  padding: 12px;
}

.batch-total span { color: var(--muted-dark); font-size: 0.8rem; }
.batch-total strong { color: var(--navy); font-size: 1.12rem; }
.status-copy { display: flex; align-items: center; gap: 8px; color: var(--muted-dark); font-size: 0.8rem; }

.selector-label { margin-bottom: 14px; }

.payslip {
  border: 1px solid #aebdbb;
  background: var(--paper-warm);
}

.payslip header,
.payslip-person,
.payslip-lines {
  padding: 14px;
}

.payslip header {
  display: flex;
  justify-content: space-between;
  gap: 14px;
  background: var(--navy);
  color: #fff;
}

.payslip header div { display: grid; gap: 2px; }
.payslip header span { color: #c1d7df; }
.payslip-person { display: grid; gap: 2px; border-bottom: 1px solid var(--line); }
.payslip-person strong { color: var(--navy); }
.payslip-person span { color: var(--muted-dark); font-size: 0.8rem; }
.payslip-lines { display: grid; gap: 8px; }
.payslip-lines div { display: flex; justify-content: space-between; gap: 12px; color: var(--muted-dark); font-size: 0.82rem; }
.payslip-lines strong { color: var(--navy); }
.payslip-lines .net { margin-top: 5px; border-top: 1px solid var(--line); padding-top: 10px; font-size: 0.9rem; font-weight: 800; }
.payslip-lines .net strong { color: var(--orange-dark); }

.policy-banner {
  display: grid;
  gap: 4px;
  margin-bottom: 15px;
  border-left: 4px solid var(--orange);
  background: var(--orange-soft);
  padding: 13px 14px;
}

.policy-banner strong { color: #743516; }
.policy-banner span { color: var(--muted-dark); font-size: 0.82rem; }

.help-hero {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
  border-left: 7px solid var(--orange);
  background: var(--navy);
  color: #fff;
  padding: clamp(22px, 4vw, 38px);
}

.help-hero .eyebrow { color: #a8d3d0; }
.help-hero h2 { max-width: 670px; margin-top: 4px; font-size: 1.8rem; line-height: 1.12; }
.help-hero p:last-child { max-width: 720px; margin: 10px 0 0; color: #c7d8dd; }

.help-steps {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  border: 1px solid var(--line);
  background: var(--paper);
}

.help-steps article {
  min-height: 184px;
  border-right: 1px solid var(--line);
  padding: 18px;
}

.help-steps article:last-child { border-right: 0; }
.help-steps span { color: var(--orange); font-size: 0.78rem; font-weight: 850; }
.help-steps h3 { margin-top: 10px; color: var(--navy); font-size: 0.98rem; }
.help-steps p { margin: 7px 0 0; color: var(--muted-dark); font-size: 0.8rem; }

.search-field { margin-bottom: 15px; }
.faq-list { display: grid; gap: 7px; }
.faq { border: 1px solid var(--line); background: #fbfcfb; }
.faq[open] { border-left: 4px solid var(--teal); }
.faq summary { cursor: pointer; color: var(--navy); padding: 11px 13px; font-size: 0.87rem; font-weight: 730; }
.faq p { margin: 0; border-top: 1px solid var(--line); padding: 11px 13px; color: var(--muted-dark); font-size: 0.82rem; }

.help-request-list { margin-top: 15px; }
.help-request-list > div { display: grid; gap: 3px; border-left: 3px solid var(--gold); background: #fffaf0; padding: 9px 11px; }
.help-request-list strong { color: var(--navy); font-size: 0.78rem; }
.help-request-list span { color: var(--muted-dark); font-size: 0.8rem; }
.help-request-list small { color: var(--muted); font-size: 0.7rem; }

@media (max-width: 1200px) {
  .suite-shell { grid-template-columns: 234px minmax(0, 1fr); }
  .brand-mark { width: 202px; }
  .metrics-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .procurement-layout { grid-template-columns: minmax(0, 1fr); }
  .guide-rail { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .form-grid.four { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .document-footer { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .document-footer .primary-button { grid-column: 1 / -1; justify-self: end; }
}

@media (max-width: 860px) {
  .suite-shell { display: block; }
  .sidebar { position: static; height: auto; min-height: 0; overflow: visible; border-right: 0; padding: 15px; }
  .brand { flex-direction: row; align-items: center; padding-bottom: 12px; }
  .brand-mark { width: 145px; height: 78px; }
  .sidebar nav { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 10px; }
  .nav-group { margin-bottom: 11px; }
  .role-box { margin-top: 7px; }
  .topbar, .page-heading { padding-right: 20px; padding-left: 20px; }
  .page-content { padding-right: 20px; padding-left: 20px; }
  .two-column, .help-grid { grid-template-columns: minmax(0, 1fr); }
  .help-steps { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .help-steps article:nth-child(2) { border-right: 0; }
  .help-steps article:nth-child(-n + 2) { border-bottom: 1px solid var(--line); }
}

@media (max-width: 640px) {
  body { font-size: 14px; }
  .sidebar { padding: 12px; }
  .brand { gap: 8px; padding: 0 0 9px; }
  .brand-mark { width: 110px; height: 58px; }
  .sidebar nav { display: flex; gap: 5px; overflow-x: auto; padding: 2px 0 8px; scrollbar-width: none; }
  .sidebar nav::-webkit-scrollbar { display: none; }
  .nav-group { display: contents; }
  .nav-group > p { display: none; }
  .nav-button { width: auto; flex: 0 0 auto; padding: 8px 9px; white-space: nowrap; }
  .role-box { display: grid; grid-template-columns: auto minmax(0, 1fr); align-items: center; gap: 7px 9px; margin-top: 0; padding-top: 9px; }
  .role-box select { margin: 0; }
  .role-box small { grid-column: 1 / -1; margin-top: 0; }
  .topbar, .page-heading, .document-heading, .help-hero { align-items: flex-start; flex-direction: column; }
  .topbar-actions { width: 100%; justify-content: space-between; }
  .page-heading h1 { font-size: 1.7rem; }
  .metrics-grid, .guide-rail, .help-steps { grid-template-columns: minmax(0, 1fr); }
  .help-steps article, .help-steps article:nth-child(2) { border-right: 0; border-bottom: 1px solid var(--line); }
  .help-steps article:last-child { border-bottom: 0; }
  .document-sheet { padding: 18px; }
  .document-topline { margin: -18px -18px 18px; }
  .document-title { min-width: 0; text-align: left; }
  .document-table table { min-width: 560px; table-layout: auto; }
  .form-grid.four, .form-grid.three, .form-grid.two, .preview-meta, .preview-grid, .preview-bottom { grid-template-columns: minmax(0, 1fr); }
  .document-footer { grid-template-columns: minmax(0, 1fr); }
  .document-footer .primary-button { grid-column: auto; justify-self: stretch; }
  .preview-ribbon { align-items: flex-start; flex-direction: column; }
  .preview-total { border-left: 0; border-top: 3px solid var(--orange); }
  .panel { padding: 14px; }
}

@media print {
  body { background: #fff; }
  .sidebar, .topbar, .page-heading, .guide-rail, .metrics-grid, .help-hero, .help-steps, .panel-head > button, .inline-actions, .document-footer button { display: none !important; }
  .suite-shell, .workbench, .page-content, .page-stack { display: block; }
  .page-content { max-width: none; padding: 0; }
  .document-sheet, .document-preview, .panel { box-shadow: none; border-color: #8b9998; }
  .panel { margin-bottom: 16px; }
}
