:root {
  --navy: #17324a;
  --ink: #23333d;
  --muted: #68777e;
  --teal: #13788b;
  --teal-2: #eaf6f7;
  --bg: #f5f7f7;
  --panel: #fff;
  --line: #dce5e6;
  --danger: #a33a3a;
  --success: #286a4b;
  --shadow: 0 8px 24px rgba(25, 48, 60, 0.06);
  font-family:
    Inter,
    ui-sans-serif,
    system-ui,
    -apple-system,
    BlinkMacSystemFont,
    "Segoe UI",
    sans-serif;
}
* {
  box-sizing: border-box;
}
html {
  font-size: 16px;
}
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  line-height: 1.45;
}
img,
video {
  max-width: 100%;
  height: auto;
}
button,
input,
textarea,
select {
  font: inherit;
}
button {
  cursor: pointer;
}
button:disabled {
  opacity: 0.6;
  cursor: not-allowed;
}
h1,
h2,
h3,
p {
  margin-top: 0;
}
h1 {
  font-size: 30px;
  line-height: 1.15;
  letter-spacing: -0.02em;
  color: var(--navy);
  margin-bottom: 8px;
}
h2 {
  font-size: 18px;
  color: var(--navy);
  margin-bottom: 5px;
}
h3 {
  font-size: 14px;
  color: var(--navy);
}
small {
  color: var(--muted);
}
.app-shell {
  min-height: 100vh;
}
.sidebar {
  position: fixed;
  overflow-y: auto;
  inset: 0 auto 0 0;
  width: 246px;
  background: #fff;
  border-right: 1px solid var(--line);
  display: flex;
  flex-direction: column;
  padding: 22px 14px;
  z-index: 20;
}
.brand {
  display: flex;
  align-items: center;
  gap: 11px;
  padding: 2px 10px 25px;
}
.brand strong {
  display: block;
  color: var(--navy);
  font-size: 16px;
}
.brand small {
  display: block;
  font-size: 11px;
  margin-top: 1px;
}
.logo {
  width: 34px;
  height: 34px;
  border-radius: 9px;
  background: var(--navy);
  color: #fff;
  display: grid;
  place-items: center;
  font-weight: 800;
  flex: none;
}
.side-label {
  font-size: 10px;
  font-weight: 750;
  color: #8a969b;
  letter-spacing: 0.09em;
  padding: 0 11px 9px;
}
.sidebar nav {
  display: grid;
  gap: 3px;
}
.nav-item {
  width: 100%;
  border: 0;
  background: transparent;
  color: #53636a;
  display: flex;
  align-items: center;
  gap: 11px;
  text-align: left;
  padding: 10px 11px;
  border-radius: 8px;
  font-weight: 600;
  font-size: 13px;
}
.nav-item:hover {
  background: #f3f7f7;
  color: var(--navy);
}
.nav-item.active {
  background: #eaf5f6;
  color: #126d7d;
}
.nav-icon {
  width: 20px;
  height: 20px;
  display: grid;
  place-items: center;
  flex: none;
}
.nav-icon svg,
.mobile-menu svg {
  width: 17px;
  height: 17px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.mobile-drawer-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
}
.drawer-close {
  display: none;
  border: 0;
  background: #f3f7f7;
  color: var(--navy);
  width: 34px;
  height: 34px;
  border-radius: 8px;
  font-size: 22px;
  line-height: 1;
}
.sidebar-foot {
  margin-top: auto;
  border-top: 1px solid var(--line);
  padding-top: 14px;
}
.account-mini {
  display: flex;
  align-items: center;
  gap: 9px;
  padding: 5px 8px 12px;
}
.account-mini strong,
.account-mini small {
  display: block;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.account-mini strong {
  font-size: 12px;
  color: var(--navy);
  max-width: 170px;
}
.account-mini small {
  font-size: 10px;
  margin-top: 2px;
  max-width: 170px;
}
.avatar {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: #dcecef;
  color: #176678;
  display: grid;
  place-items: center;
  font-size: 11px;
  font-weight: 800;
  flex: none;
}
.signout {
  color: #68777e;
}
.main {
  margin-left: 246px;
  min-height: 100vh;
}
.topbar {
  height: 68px;
  background: #fff;
  border-bottom: 1px solid var(--line);
  display: flex;
  align-items: center;
  padding: 0 34px;
  gap: 20px;
  position: sticky;
  top: 0;
  z-index: 10;
}
.top-context {
  display: flex;
  gap: 8px;
  color: #637278;
  font-size: 12px;
  font-weight: 650;
}
.top-context span:first-child {
  color: var(--navy);
}
.dot {
  color: #b0b9bc;
}
.account {
  margin-left: auto;
  display: flex;
  align-items: center;
  gap: 9px;
}
.mobile-signout {
  display: none;
  border: 1px solid var(--line);
  background: #fff;
  color: var(--navy);
  border-radius: 8px;
  padding: 8px 10px;
  font-size: 10px;
  font-weight: 750;
}
.account strong,
.account small {
  display: block;
}
.account strong {
  font-size: 12px;
  color: var(--navy);
}
.account small {
  font-size: 10px;
  margin-top: 1px;
}
.mobile-menu {
  display: none;
  border: 0;
  background: transparent;
  color: var(--navy);
  width: 36px;
  height: 36px;
  place-items: center;
  border-radius: 8px;
}
.mobile-menu:hover {
  background: #f3f7f7;
}
.content {
  max-width: 1380px;
  margin: 0 auto;
  padding: 34px 38px 70px;
}
.page-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 25px;
  margin-bottom: 25px;
}
.page-head p {
  margin: 0;
  color: var(--muted);
  font-size: 13px;
}
.page-actions {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  justify-content: flex-end;
}
.eyebrow {
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-weight: 800;
  color: #728086;
}
.grid.two {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 18px;
  margin-bottom: 18px;
}
.panel {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 21px;
  box-shadow: var(--shadow);
  min-width: 0;
}
.panel.narrow {
  max-width: 930px;
}
.panel-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 16px;
  margin-bottom: 14px;
}
.panel-head p {
  font-size: 11px;
  color: var(--muted);
  margin: 0;
}
.link-btn {
  border: 0;
  background: transparent;
  color: var(--teal);
  font-weight: 750;
  font-size: 12px;
  padding: 3px 0;
}
.stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
  margin-bottom: 18px;
}
.stat {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 11px;
  padding: 17px;
  box-shadow: var(--shadow);
}
.stat span,
.stat small {
  display: block;
}
.stat span {
  font-size: 11px;
  color: #738087;
  font-weight: 650;
}
.stat strong {
  display: block;
  color: var(--navy);
  font-size: 28px;
  line-height: 1.1;
  margin: 7px 0 5px;
}
.stat small {
  font-size: 10px;
}
.stage-grid {
  display: grid;
  grid-template-columns: repeat(9, 1fr);
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
  border-radius: 9px;
  overflow: hidden;
}
.stage-grid div {
  background: #fff;
  padding: 14px 8px;
  text-align: center;
  min-width: 0;
}
.stage-grid strong,
.stage-grid span {
  display: block;
}
.stage-grid strong {
  font-size: 19px;
  color: var(--navy);
}
.stage-grid span {
  font-size: 10px;
  color: var(--muted);
  margin-top: 4px;
}
.record-row {
  width: 100%;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto auto;
  gap: 13px;
  align-items: center;
  border: 0;
  border-top: 1px solid var(--line);
  background: #fff;
  text-align: left;
  padding: 13px 0;
}
.record-row:first-child {
  border-top: 0;
}
.record-main {
  min-width: 0;
}
.record-main b,
.record-main small {
  display: block;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.record-main b {
  font-size: 12px;
  color: var(--navy);
}
.record-main small {
  font-size: 10px;
  margin-top: 3px;
}
.record-meta {
  font-size: 10px;
  color: #8a969b;
  white-space: nowrap;
}
.progress-mini {
  width: 90px;
  height: 6px;
  background: #e8edef;
  border-radius: 999px;
  overflow: hidden;
}
.progress-mini i {
  display: block;
  height: 100%;
  background: var(--teal);
  border-radius: inherit;
}
.badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  padding: 4px 8px;
  font-size: 9px;
  font-weight: 750;
  background: #edf1f2;
  color: #53636a;
  white-space: nowrap;
}
.badge.validated,
.badge.completed,
.badge.verified,
.badge.active {
  background: #eaf5ee;
  color: var(--success);
}
.badge.rejected,
.badge.failed {
  background: #fceeee;
  color: var(--danger);
}
.badge.high {
  background: #fff3df;
  color: #87591c;
}
.badge.in-review,
.badge.clarification,
.badge.pending {
  background: #eef5f7;
  color: #376c78;
}
.badge.in-progress,
.badge.testing,
.badge.validation {
  background: #eaf6f7;
  color: #126d7d;
}
.btn {
  border: 1px solid transparent;
  border-radius: 8px;
  padding: 10px 14px;
  font-size: 12px;
  font-weight: 750;
  line-height: 1;
  min-height: 38px;
}
.btn.primary {
  background: var(--teal);
  color: #fff;
}
.btn.primary:hover {
  background: #0e6979;
}
.btn.secondary {
  background: #eef6f7;
  color: #126d7d;
  border-color: #d8eaec;
}
.btn.ghost-btn {
  background: #fff;
  color: #5d6b71;
  border-color: var(--line);
}
.btn.danger-outline {
  background: #fff;
  color: var(--danger);
  border-color: #eccaca;
}
.btn.wide {
  width: 100%;
}
.button-row,
.actions {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}
.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}
.form-stack {
  display: grid;
  gap: 15px;
}
.form-grid label,
.form-stack label {
  display: grid;
  gap: 7px;
  font-size: 12px;
  font-weight: 700;
  color: #3d4d55;
}
.form-grid .full {
  grid-column: 1/-1;
}
.form-grid input,
.form-grid select,
.form-grid textarea,
.form-stack input,
.form-stack select,
.form-stack textarea,
.filters input,
.filters select,
.inline-form input {
  width: 100%;
  border: 1px solid #ccd9db;
  border-radius: 8px;
  background: #fff;
  color: var(--ink);
  padding: 10px 11px;
  outline: none;
}
.form-grid textarea,
.form-stack textarea {
  resize: vertical;
  min-height: 88px;
}
.form-grid input:focus,
.form-grid select:focus,
.form-grid textarea:focus,
.form-stack input:focus,
.form-stack select:focus,
.form-stack textarea:focus,
.filters input:focus,
.filters select:focus {
  border-color: #7eaeb6;
  box-shadow: 0 0 0 3px #eaf6f7;
}
.form-actions {
  display: flex;
  justify-content: flex-end;
  gap: 8px;
}
.privacy-note,
.readonly-note {
  display: flex;
  gap: 12px;
  background: #f5f8f8;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 11px 12px;
  font-size: 11px;
}
.privacy-note strong,
.readonly-note strong {
  color: var(--navy);
}
.privacy-note span,
.readonly-note span {
  color: var(--muted);
}
.filters {
  display: grid;
  grid-template-columns: minmax(0, 2fr) 1fr 1.2fr auto auto;
  gap: 8px;
  margin-bottom: 17px;
}
.table-head {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto auto;
  gap: 13px;
  padding: 0 0 8px;
  color: #8a969b;
  font-size: 9px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}
.records {
  min-width: 0;
}
.detail-title {
  display: flex;
  justify-content: space-between;
  gap: 15px;
}
.facts {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  margin: 18px 0;
}
.facts div {
  background: #f6f8f8;
  border-radius: 8px;
  padding: 10px;
  min-width: 0;
}
.facts dt {
  font-size: 9px;
  color: #7c898e;
}
.facts dd {
  margin: 3px 0 0;
  font-size: 11px;
  color: var(--navy);
  font-weight: 700;
  overflow-wrap: anywhere;
}
.prose {
  font-size: 13px;
  line-height: 1.7;
  color: #4f6067;
  border-top: 1px solid var(--line);
  padding-top: 16px;
}
.ai-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
}
.ai-grid div {
  background: #f6f8f8;
  border-radius: 8px;
  padding: 11px;
}
.ai-grid span,
.ai-grid b {
  display: block;
}
.ai-grid span {
  font-size: 9px;
  color: var(--muted);
}
.ai-grid b {
  font-size: 12px;
  color: var(--navy);
  margin-top: 4px;
}
.muted-block {
  background: #f6f8f8;
  border-radius: 8px;
  padding: 11px;
  color: var(--muted);
  font-size: 11px;
  line-height: 1.6;
}
.section-title {
  margin: 20px 0 8px;
}
.compact-row {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  border-top: 1px solid var(--line);
  padding: 10px 0;
  font-size: 11px;
}
.compact-row span {
  min-width: 0;
}
.compact-row small {
  display: block;
  font-size: 9px;
  margin-top: 3px;
}
.inline-form {
  display: flex;
  gap: 8px;
  margin-top: 18px;
}
.inline-form .btn {
  flex: none;
}
.comment {
  display: grid;
  grid-template-columns: 120px minmax(0, 1fr) auto;
  gap: 10px;
  border-top: 1px solid var(--line);
  padding: 12px 0;
  font-size: 11px;
}
.comment b {
  color: var(--navy);
}
.comment span {
  color: #55646b;
}
.comment small {
  font-size: 9px;
  white-space: nowrap;
}
.review-row,
.partner-card {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  align-items: center;
  border-top: 1px solid var(--line);
  padding: 17px 0;
}
.review-row:first-child,
.partner-card:first-child {
  border-top: 0;
}
.review-row h3,
.partner-card h2 {
  margin: 4px 0;
  font-size: 14px;
}
.review-row p,
.partner-card p {
  margin: 0;
  color: var(--muted);
  font-size: 11px;
}
.collab-item,
.capability-item,
.milestone,
.user-row,
.report-row,
.notification-row {
  display: flex;
  justify-content: space-between;
  gap: 15px;
  align-items: center;
  border-top: 1px solid var(--line);
  padding: 13px 0;
}
.collab-item:first-of-type,
.capability-item:first-of-type,
.milestone:first-of-type,
.user-row:first-of-type,
.report-row:first-of-type,
.notification-row:first-of-type {
  border-top: 0;
}
.collab-item b,
.collab-item small,
.capability-item b,
.capability-item small {
  display: block;
}
.collab-item b,
.capability-item b {
  font-size: 11px;
  color: var(--navy);
}
.collab-item small,
.capability-item small {
  font-size: 9px;
  margin-top: 3px;
}
.capability-item span {
  font-size: 10px;
  color: var(--muted);
  max-width: 55%;
  text-align: right;
}
.compact-form {
  border-top: 1px solid var(--line);
  margin-top: 15px;
  padding-top: 17px;
}
.project-top {
  display: flex;
  justify-content: space-between;
  gap: 15px;
  align-items: flex-start;
}
.project-top p {
  margin: 4px 0 0;
  color: var(--muted);
  font-size: 11px;
}
.project-top select {
  border: 1px solid #ccd9db;
  border-radius: 8px;
  padding: 9px;
  background: #fff;
}
.progress {
  height: 9px;
  background: #e9eff0;
  border-radius: 999px;
  overflow: hidden;
  margin-top: 20px;
}
.progress i {
  display: block;
  height: 100%;
  background: var(--teal);
  border-radius: inherit;
}
.progress-label {
  display: flex;
  justify-content: space-between;
  margin-top: 6px;
  font-size: 10px;
  color: var(--muted);
}
.progress-label b {
  color: var(--navy);
}
.milestone {
  align-items: center;
}
.milestone b,
.milestone small {
  display: block;
}
.milestone b {
  font-size: 11px;
  color: var(--navy);
}
.milestone small {
  font-size: 9px;
  color: var(--muted);
  margin-top: 3px;
}
.milestone select {
  border: 1px solid var(--line);
  border-radius: 7px;
  padding: 7px;
  font-size: 10px;
  background: #fff;
}
.validation {
  background: #f5f8f8;
  border-radius: 8px;
  padding: 12px;
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 5px 10px;
}
.validation p {
  grid-column: 1/-1;
  font-size: 10px;
  color: var(--muted);
  margin: 3px 0 0;
}
.impact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  margin-top: 12px;
}
.impact-grid div {
  background: #f6f8f8;
  border-radius: 8px;
  padding: 11px;
}
.impact-grid span,
.impact-grid b,
.impact-grid small {
  display: block;
}
.impact-grid span {
  font-size: 9px;
  color: var(--muted);
}
.impact-grid b {
  font-size: 12px;
  color: var(--navy);
  margin: 3px 0;
}
.impact-grid small {
  font-size: 9px;
}
.clean-list {
  margin: 0;
  padding-left: 20px;
  color: #596970;
  font-size: 12px;
  line-height: 1.8;
}
.user-table {
  grid-template-columns: minmax(0, 2fr) 1fr 1fr auto;
}
.user-row {
  display: grid;
  grid-template-columns: minmax(0, 2fr) 1fr 1fr auto;
}
.user-row b,
.user-row small {
  display: block;
}
.user-row b {
  font-size: 11px;
  color: var(--navy);
}
.user-row small {
  font-size: 9px;
  margin-top: 3px;
}
.report-row {
  display: grid;
  grid-template-columns: minmax(0, 2fr) 1fr 1fr 1fr;
}
.report-row span {
  font-size: 10px;
}
.report-row b,
.report-row small {
  display: block;
}
.report-row b {
  color: var(--navy);
}
.report-row small {
  color: var(--muted);
  margin-top: 2px;
}
.notification-row {
  width: 100%;
  background: #fff;
  border-left: 0;
  border-right: 0;
  border-bottom: 0;
  text-align: left;
}
.notification-row div {
  min-width: 0;
}
.notification-row b,
.notification-row small {
  display: block;
}
.notification-row b {
  font-size: 11px;
  color: var(--navy);
}
.notification-row small {
  font-size: 9px;
  margin-top: 3px;
}
.notification-row.read {
  opacity: 0.65;
}
.unread {
  font-size: 9px;
  color: var(--teal);
  font-weight: 800;
}
.profile-summary {
  text-align: center;
}
.profile-summary .large {
  width: 58px;
  height: 58px;
  margin: 0 auto 12px;
  font-size: 16px;
}
.profile-summary h2 {
  font-size: 18px;
  margin-bottom: 2px;
}
.profile-summary > p {
  font-size: 10px;
  color: var(--muted);
  margin-bottom: 18px;
}
.profile-summary .facts {
  text-align: left;
}
.alert {
  border-radius: 9px;
  padding: 12px 14px;
  font-size: 12px;
  margin-bottom: 15px;
}
.alert.error {
  background: #fff0f0;
  border: 1px solid #f0caca;
  color: #932f2f;
}
.empty {
  text-align: center;
  padding: 35px 12px;
  color: var(--muted);
  font-size: 12px;
}
.forbidden {
  max-width: 600px;
  margin: 50px auto;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 30px;
  text-align: center;
}
.forbidden p {
  color: var(--muted);
  font-size: 13px;
}
.auth-shell {
  min-height: 100vh;
  display: grid;
  place-items: center;
  padding: 30px;
  background-color: #ffffff;
  background-image:
    linear-gradient(to right, #f0f0f0 1px, transparent 1px),
    linear-gradient(to bottom, #f0f0f0 1px, transparent 1px);
  background-size: 40px 40px;
  position: relative;
  z-index: 1;
}
#auth-canvas {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: -1;
  pointer-events: none;
}
.auth-card {
  width: min(520px, 100%);
  background: #ffffffd8;
  border: 1px solid var(--line);
  border-radius: 15px;
  box-shadow: 0 20px 55px rgba(24, 49, 61, 0.09);
  padding: 34px;
  position: relative;
  z-index: 2;
}
.brand-auth {
  padding: 0;
  margin-bottom: 34px;
}
.auth-copy h1 {
  margin-top: 7px;
}
.auth-copy p {
  color: var(--muted);
  font-size: 12px;
  line-height: 1.65;
  margin-bottom: 22px;
}
.password-wrap {
  position: relative;
}
.password-wrap input {
  padding-right: 58px;
}
.password-toggle {
  position: absolute;
  right: 5px;
  top: 5px;
  height: 31px;
  border: 0;
  background: #f3f7f7;
  color: var(--teal);
  border-radius: 6px;
  padding: 0 9px;
  font-size: 10px;
  font-weight: 750;
}
.auth-note {
  border-top: 1px solid var(--line);
  margin-top: 24px;
  padding-top: 16px;
  display: flex;
  justify-content: space-between;
  gap: 15px;
  font-size: 10px;
}
.auth-note strong {
  color: var(--navy);
}
code {
  background: #f0f3f3;
  padding: 2px 5px;
  border-radius: 4px;
}
@media (max-width: 1100px) {
  .sidebar {
    width: 220px;
  }
  .main {
    margin-left: 220px;
  }
  .content {
    padding: 28px 24px;
  }
  .stage-grid {
    grid-template-columns: repeat(5, 1fr);
  }
  .stats {
    grid-template-columns: repeat(2, 1fr);
  }
  .filters {
    grid-template-columns: 1fr 1fr;
  }
  .filters input {
    grid-column: 1/-1;
  }
}
@media (max-width: 760px) {
  .sidebar {
    display: none;
  }
  .mobile-signout {
    display: inline-flex;
  }
  .drawer-open {
    overflow: hidden;
  }
  .mobile-drawer-head .brand {
    padding-bottom: 20px;
  }
  .drawer-close {
    display: grid;
    place-items: center;
  }
  .sidebar.mobile-open {
    display: flex;
    width: 260px;
    box-shadow: 10px 0 30px rgba(20, 45, 55, 0.16);
  }
  .main {
    margin-left: 0;
  }
  .topbar {
    height: 58px;
    padding: 0 15px;
  }
  .mobile-menu {
    display: block;
  }
  .top-context {
    display: none;
  }
  .account div {
    display: none;
  }
  .content {
    padding: 22px 13px 45px;
  }
  .page-head {
    display: block;
    margin-bottom: 19px;
  }
  .page-head h1 {
    font-size: 24px;
  }
  .page-actions {
    justify-content: flex-start;
    margin-top: 14px;
  }
  .page-actions .btn {
    width: 100%;
  }
  .grid.two {
    grid-template-columns: 1fr;
    gap: 13px;
  }
  .panel {
    padding: 16px;
  }
  .stats {
    grid-template-columns: 1fr 1fr;
    gap: 8px;
  }
  .stat {
    padding: 13px;
  }
  .stat strong {
    font-size: 22px;
  }
  .stage-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .record-row {
    grid-template-columns: minmax(0, 1fr) auto;
  }
  .record-row .record-meta {
    display: none;
  }
  .progress-mini {
    width: 65px;
  }
  .filters,
  .form-grid {
    grid-template-columns: 1fr;
  }
  .form-grid .full {
    grid-column: auto;
  }
  .form-actions {
    justify-content: stretch;
    flex-direction: column;
  }
  .form-actions .btn {
    width: 100%;
  }
  .facts {
    grid-template-columns: 1fr;
  }
  .ai-grid {
    grid-template-columns: 1fr 1fr;
  }
  .review-row,
  .partner-card {
    display: block;
  }
  .review-row .actions,
  .partner-card .btn {
    margin-top: 12px;
  }
  .capability-item {
    display: block;
  }
  .capability-item span {
    display: block;
    max-width: none;
    text-align: left;
    margin-top: 5px;
  }
  .table-head {
    display: none;
  }
  .user-row,
  .report-row {
    grid-template-columns: 1fr;
    gap: 7px;
  }
  .user-row .btn {
    width: max-content;
  }
  .inline-form {
    display: grid;
  }
  .inline-form .btn {
    width: 100%;
  }
  .comment {
    grid-template-columns: 1fr;
  }
  .comment small {
    grid-column: 1;
  }
  .project-top {
    display: block;
  }
  .project-top select {
    margin-top: 12px;
    width: 100%;
  }
  .auth-shell {
    padding: 12px;
  }
  .auth-card {
    padding: 24px;
  }
  .auth-note {
    display: block;
  }
  .auth-note span {
    display: block;
    margin-top: 5px;
  }
  .sidebar-foot {
    display: block;
  }
  .sidebar.mobile-open .drawer-close {
    display: grid;
  }
}
.evidence-box {
  border-top: 1px solid var(--line);
  margin-top: 18px;
  padding-top: 16px;
}
.evidence-box h3 {
  margin-bottom: 3px;
}
.evidence-box p {
  font-size: 10px;
  color: var(--muted);
  margin: 0 0 10px;
}
.upload-form {
  display: flex;
  gap: 8px;
  align-items: center;
  margin-top: 12px;
}
.upload-form input[type="file"] {
  min-width: 0;
  flex: 1;
  border: 1px dashed #bfd0d2;
  border-radius: 8px;
  padding: 9px;
  background: #fbfcfc;
  font-size: 10px;
}
.check {
  display: flex !important;
  grid-template-columns: auto 1fr;
  align-items: center;
  gap: 8px;
}
.check input {
  width: auto !important;
}
@media (max-width: 760px) {
  .upload-form {
    display: grid;
  }
  .upload-form .btn {
    width: 100%;
  }
}
.audit-row {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  border-top: 1px solid var(--line);
  padding: 13px 0;
}
.audit-row:first-child {
  border-top: 0;
}
.audit-row b,
.audit-row small {
  display: block;
}
.audit-row b {
  font-size: 11px;
  color: var(--navy);
}
.audit-row small {
  font-size: 9px;
  color: var(--muted);
  margin-top: 3px;
}
.audit-row time {
  font-size: 9px;
  color: #8a969b;
  white-space: nowrap;
}
.support-form {
  display: flex;
  gap: 8px;
  align-items: center;
}
.support-form select {
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 9px;
  background: #fff;
  font-size: 10px;
  max-width: 180px;
}
@media (max-width: 760px) {
  .support-form {
    display: grid;
  }
  .support-form select {
    max-width: none;
    width: 100%;
  }
}

/* Public website */
.public-shell {
  min-height: 100vh;
  background: #f7f9f9;
  color: var(--navy);
}
.public-nav {
  height: 78px;
  max-width: auto;
  display: flex;
  align-items: center;
  gap: 30px;
  border-radius: 10px;
  padding: 0 clamp(18px, 5vw, 72px);
  background: #ffffffdb;
  border-bottom: 1px solid var(--line);
  position: sticky;
  top: 0;
  z-index: 20;
}
.public-brand {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  color: inherit;
  min-width: 0;
  cursor: pointer;
}
.public-brand span:last-child {
  display: flex;
  flex-direction: column;
  min-width: 0;
}
.public-brand strong {
  font-size: 18px;
  line-height: 1.1;
}
.public-brand small {
  font-size: 9px;
  color: black;
  margin-top: 3px;
  white-space: nowrap;
}
.public-links {
  display: flex;
  align-items: center;
  gap: 4px;
  margin-left: auto;
}
.public-link {
  border: 0;
  background: transparent;
  padding: 10px 12px;
  border-radius: 7px;
  color: #627279;
  font: inherit;
  font-size: 11px;
  font-weight: 750;
  cursor: pointer;
}
.public-link:hover,
.public-link.active {
  background: #eef5f5;
  color: var(--teal);
}
.public-signin {
  flex: none;
}
.hero {
  max-width: 1240px;
  margin: 0 auto;
  padding: clamp(58px, 9vw, 110px) clamp(18px, 5vw, 48px) 78px;
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(300px, 0.65fr);
  gap: clamp(35px, 7vw, 90px);
  align-items: center;
}
.hero-copy h1 {
  font-size: clamp(40px, 5.2vw, 68px);
  line-height: 1.03;
  letter-spacing: -0.045em;
  max-width: 850px;
  margin: 14px 0 22px;
}
.hero-copy p {
  font-size: 16px;
  line-height: 1.75;
  color: #5c6c72;
  max-width: 720px;
}
.hero-actions {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-top: 28px;
}
.hero-panel {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 25px;
  box-shadow: 0 14px 35px rgba(24, 49, 61, 0.05);
}
.hero-points {
  margin-top: 14px;
}
.hero-points div {
  border-top: 1px solid var(--line);
  padding: 14px 0;
}
.hero-points b,
.hero-points span {
  display: block;
}
.hero-points b {
  font-size: 12px;
}
.hero-points span {
  font-size: 10px;
  line-height: 1.55;
  color: var(--muted);
  margin-top: 4px;
}
.public-section {
  width: 100%;
  padding: clamp(52px, 7vw, 84px) 0;
  box-sizing: border-box;
}
.public-container {
  width: 100%;
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 clamp(16px, 4vw, 36px);
  box-sizing: border-box;
}
.section-intro {
  max-width: 700px;
}
.section-intro h2,
.public-band h2 {
  font-size: clamp(27px, 3vw, 40px);
  letter-spacing: -0.03em;
  margin: 9px 0 10px;
}
.section-intro p,
.public-band p {
  color: var(--muted);
  font-size: 13px;
  line-height: 1.7;
}
.feature-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
  margin-top: 30px;
}
.feature-grid article,
.role-grid article {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 11px;
  padding: 21px;
}
.feature-number {
  font-size: 10px;
  font-weight: 850;
  color: var(--teal);
}
.feature-grid h3,
.role-grid h3 {
  font-size: 15px;
  margin: 22px 0 7px;
}
.feature-grid p,
.role-grid p {
  font-size: 11px;
  line-height: 1.65;
  color: var(--muted);
  margin: 0;
}
.public-band {
  background: #17324a;
  color: #fff;
  padding: 52px max(18px, calc((100vw - 1144px) / 2));
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
}
.public-band .eyebrow {
  color: #9fd0d1;
}
.public-band h2 {
  max-width: 700px;
}
.public-band p {
  max-width: 760px;
  color: #c8d3d8;
}
.public-band .secondary {
  background: #fff;
  border-color: #fff;
  color: var(--navy);
}
.public-page-head {
  max-width: 1000px;
  margin: 0 auto;
  padding: 85px clamp(18px, 5vw, 48px) 42px;
}
.public-page-head h1 {
  font-size: clamp(36px, 5vw, 58px);
  line-height: 1.05;
  letter-spacing: -0.04em;
  margin: 12px 0 16px;
}
.public-page-head p {
  font-size: 15px;
  line-height: 1.7;
  color: var(--muted);
  max-width: 720px;
}
.role-grid {
  width: 100%;
}
.compact-public {
  padding-top: 25px;
}
.tag-list {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-top: 22px;
}
.tag-list span {
  border: 1px solid var(--line);
  background: #fff;
  border-radius: 999px;
  padding: 8px 12px;
  font-size: 10px;
  font-weight: 700;
  color: #55656b;
}
.flow-list {
  max-width: 950px;
  margin: 0 auto;
  padding: 15px clamp(18px, 5vw, 48px) 80px;
}
.flow-list > div {
  display: grid;
  grid-template-columns: 52px 1fr;
  gap: 20px;
  border-top: 1px solid var(--line);
  padding: 25px 0;
}
.flow-list > div > span {
  font-size: 11px;
  font-weight: 850;
  color: var(--teal);
  padding-top: 3px;
}
.flow-list h3 {
  font-size: 16px;
  margin: 0 0 6px;
}
.flow-list p {
  font-size: 11px;
  line-height: 1.7;
  color: var(--muted);
  margin: 0;
  max-width: 720px;
}
.public-footer {
  border-top: 1px solid var(--line);
  padding: 25px clamp(18px, 5vw, 72px);
  display: flex;
  justify-content: space-between;
  gap: 20px;
  color: var(--muted);
  font-size: 9px;
}
.public-footer div {
  display: flex;
  gap: 10px;
  align-items: center;
}
.public-footer strong {
  color: var(--navy);
  font-size: 11px;
}
.back-link {
  border: 0;
  background: transparent;
  color: var(--teal);
  padding: 0;
  margin: 0 0 28px;
  font-size: 10px;
  font-weight: 800;
  cursor: pointer;
}
@media (max-width: 900px) {
  .public-nav {
    gap: 14px;
  }
  .public-links {
    order: 3;
    width: 100%;
    justify-content: center;
  }
  .public-nav {
    height: auto;
    min-height: 68px;
    flex-wrap: wrap;
    padding-top: 10px;
    padding-bottom: 10px;
  }
  .public-signin {
    margin-left: auto;
  }
  .hero {
    grid-template-columns: 1fr;
    padding-top: 60px;
  }
  .feature-grid {
    grid-template-columns: 1fr 1fr;
  }
  .role-grid {
    grid-template-columns: 1fr 1fr;
  }
  .public-band {
    display: block;
  }
  .public-band .btn {
    margin-top: 18px;
  }
}
@media (max-width: 600px) {
  .public-nav {
    align-items: center;
  }
  .public-brand small {
    display: none;
  }
  .public-links {
    overflow: auto;
    justify-content: flex-start;
    order: 4;
  }
  .public-link {
    padding: 8px 10px;
  }
  .public-signin {
    font-size: 10px;
    padding: 9px 12px;
  }
  .hero {
    padding-top: 44px;
    padding-bottom: 50px;
  }
  .hero-copy h1 {
    font-size: 39px;
  }
  .hero-copy p {
    font-size: 13px;
  }
  .hero-actions .btn {
    width: 100%;
  }
  .feature-grid,
  .role-grid {
    grid-template-columns: 1fr;
  }
  .public-section {
    padding-top: 50px;
    padding-bottom: 50px;
  }
  .public-page-head {
    padding-top: 55px;
  }
  .public-footer {
    display: block;
  }
  .public-footer span {
    display: block;
    margin-top: 8px;
  }
  .flow-list > div {
    grid-template-columns: 35px 1fr;
    gap: 12px;
  }
}

/* Public website stability and responsive finishing layer */
.public-shell {
  width: 100%;
  overflow-x: hidden;
}
.public-nav,
.public-nav *,
.hero,
.public-section,
.public-page-head,
.role-grid,
.flow-list,
.public-band,
.public-footer {
  box-sizing: border-box;
}
.public-nav {
  isolation: isolate;
}
.public-brand,
.public-link,
.public-signin {
  touch-action: manipulation;
}
.hero-copy,
.hero-panel,
.feature-grid article,
.role-grid article,
.public-band > div {
  min-width: 0;
}
.hero-copy h1,
.public-page-head h1,
.section-intro h2,
.public-band h2 {
  overflow-wrap: anywhere;
}
@media (max-width: 900px) {
  .public-nav {
    padding-left: 20px;
    padding-right: 20px;
  }
  .hero {
    gap: 28px;
  }
  .public-band {
    padding-left: 20px;
    padding-right: 20px;
  }
}
@media (max-width: 600px) {
  .public-nav {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 8px 12px;
    padding: 12px 16px;
  }
  .public-brand {
    min-width: 0;
  }
  .public-brand strong {
    font-size: 17px;
  }
  .public-signin {
    grid-column: 2;
    grid-row: 1;
    align-self: center;
  }
  .public-links {
    grid-column: 1 / -1;
    grid-row: 2;
    width: 100%;
    margin: 0;
    display: flex;
    overflow-x: auto;
    scrollbar-width: none;
    padding-bottom: 2px;
  }
  .public-links::-webkit-scrollbar {
    display: none;
  }
  .public-link {
    white-space: nowrap;
    flex: 0 0 auto;
  }
  .hero {
    display: block;
    padding-left: 16px;
    padding-right: 16px;
  }
  .hero-copy h1 {
    font-size: clamp(34px, 10vw, 44px);
    letter-spacing: -0.04em;
  }
  .hero-panel {
    margin-top: 34px;
    padding: 20px;
  }
  .public-section {
    padding-left: 16px;
    padding-right: 16px;
  }
  .public-page-head {
    padding-left: 16px;
    padding-right: 16px;
  }
  .role-grid {
    padding-left: 16px;
    padding-right: 16px;
  }
  .flow-list {
    padding-left: 16px;
    padding-right: 16px;
  }
  .public-band {
    padding-left: 16px;
    padding-right: 16px;
  }
  .public-footer {
    padding-left: 16px;
    padding-right: 16px;
  }
}
@media (max-width: 360px) {
  .hero-copy h1 {
    font-size: 32px;
  }
  .hero-actions .btn {
    padding-left: 13px;
    padding-right: 13px;
  }
  .public-signin {
    padding-left: 10px;
    padding-right: 10px;
  }
}

@media (max-width: 420px) {
  .auth-shell {
    padding: 10px;
  }
  .auth-card {
    padding: 20px;
    border-radius: 12px;
  }
  .auth-card .btn.wide {
    min-height: 46px;
  }
  .form-stack label {
    font-size: 11px;
  }
  .password-toggle {
    right: 4px;
  }
  .public-nav {
    height: 68px;
    padding: 0 14px;
  }
  .public-links {
    display: flex;
    overflow-x: auto;
    scrollbar-width: none;
    max-width: 45vw;
  }
  .public-links::-webkit-scrollbar {
    display: none;
  }
  .public-brand small {
    display: none;
  }
  .public-signin {
    padding: 9px 12px;
    font-size: 11px;
  }
  .hero {
    padding: 48px 16px 35px;
  }
  .hero-copy h1 {
    font-size: 34px;
    line-height: 1.05;
  }
  .hero-actions {
    flex-direction: column;
  }
  .hero-actions .btn {
    width: 100%;
  }
}
.public-menu-toggle {
  display: none;
  background: transparent;
  border: 0;
  color: var(--navy);
  padding: 8px;
  cursor: pointer;
  margin-left: 10px;
}
.public-menu-toggle svg {
  width: 28px;
  height: 28px;
}

@media (max-width: 900px) {
  .public-nav {
    flex-wrap: wrap !important;
    display: flex !important;
    height: auto !important;
    padding: 10px 20px !important;
  }
  .public-menu-toggle {
    display: block !important;
    order: 3 !important;
  }
  .public-signin {
    order: 2 !important;
    margin-left: auto !important;
  }
  .public-brand {
    order: 1 !important;
  }
  .public-links {
    display: none !important;
    order: 4 !important;
    width: 100% !important;
    flex-direction: column !important;
    padding-top: 15px !important;
    margin-top: 15px !important;
    border-top: 1px solid var(--line) !important;
    max-width: none !important;
  }
  .public-nav.menu-open .public-links {
    display: flex !important;
  }
  .public-link {
    width: 100% !important;
    text-align: left !important;
    padding: 12px 16px !important;
    border-radius: 8px !important;
  }
}
@media (max-width: 900px) {
  .public-menu-close {
    display: block !important;
    background: #f3f7f7 !important;
    border: 0 !important;
    color: var(--navy) !important;
    width: 34px !important;
    height: 34px !important;
    border-radius: 8px !important;
    font-size: 22px !important;
    line-height: 1 !important;
    align-self: flex-end !important;
    margin-bottom: 20px !important;
    cursor: pointer !important;
  }
  .public-links {
    position: fixed !important;
    top: 0 !important;
    right: -280px !important;
    width: 260px !important;
    height: 100vh !important;
    background: #fff !important;
    box-shadow: -10px 0 30px rgba(20, 45, 55, 0.16) !important;
    flex-direction: column !important;
    justify-content: flex-start !important;
    padding: 20px !important;
    margin: 0 !important;
    display: flex !important;
    transition: right 0.3s cubic-bezier(0.4, 0, 0.2, 1) !important;
    z-index: 100 !important;
    border: none !important;
  }
  .public-nav.menu-open .public-links {
    right: 0 !important;
  }
  .public-nav::before {
    content: "" !important;
    position: fixed !important;
    inset: 0 !important;
    background: rgba(23, 50, 74, 0.4) !important;
    z-index: 90 !important;
    opacity: 0 !important;
    pointer-events: none !important;
    transition: opacity 0.3s ease !important;
  }
  .public-nav.menu-open::before {
    opacity: 1 !important;
    pointer-events: auto !important;
  }
}
.public-menu-close {
  display: none;
}
@media (max-width: 760px) {
  .sidebar {
    display: flex !important;
    left: -300px !important;
    transition: left 0.3s cubic-bezier(0.4, 0, 0.2, 1) !important;
  }
  .sidebar.mobile-open {
    left: 0 !important;
  }
  .app-shell::before {
    content: "" !important;
    position: fixed !important;
    inset: 0 !important;
    background: rgba(23, 50, 74, 0.4) !important;
    z-index: 15 !important;
    opacity: 0 !important;
    pointer-events: none !important;
    transition: opacity 0.3s ease !important;
  }
  body.drawer-open .app-shell::before {
    opacity: 1 !important;
    pointer-events: auto !important;
  }
}
.public-nav {
  position: fixed !important;
  top: 0 !important;
  left: 0 !important;
  width: 100% !important;
  z-index: 100 !important;
}
.public-shell {
  padding-top: 78px !important;
}
@media (max-width: 900px) {
  .public-shell {
    padding-top: 68px !important;
  }
}
@media (max-width: 900px) {
  .public-nav::before {
    z-index: -1 !important;
  }
}
@media (max-width: 900px) {
  .public-links {
    right: auto !important;
    left: -280px !important;
    transition: left 0.3s cubic-bezier(0.4, 0, 0.2, 1) !important;
    box-shadow: 10px 0 30px rgba(20,45,55,.16) !important;
  }
  .public-nav.menu-open .public-links {
    left: 0 !important;
  }
}
.public-nav {
  top: 10px !important;
  left: 10px !important;
  width: calc(100% - 20px) !important;
  border-radius: 12px !important;
  border: 1px solid var(--line) !important;
  box-shadow: 0 8px 24px rgba(25, 48, 60, 0.08) !important;
}
.public-shell {
  padding-top: 98px !important;
}
@media (max-width: 900px) {
  .public-shell {
    padding-top: 88px !important;
  }
}
.hero-right {
  display: flex;
  flex-direction: column;
  gap: 24px;
}
.hero-img {
  width: 100%;
  border-radius: 16px;
  box-shadow: 0 14px 35px rgba(24, 49, 61, 0.08);
  object-fit: cover;
  aspect-ratio: 4/3;
  display: block;
}
.hero {
  background: radial-gradient(circle at top right, #eaf6f7, transparent 60%), radial-gradient(circle at bottom left, #f5f8f8, transparent 60%);
  position: relative;
}
.public-shell {
  background: #ffffff;
}
.public-section:nth-of-type(even) {
  background: #f7f9f9;
}
.public-nav {
  background: rgba(255, 255, 255, 0.85) !important;
  backdrop-filter: blur(12px) !important;
  -webkit-backdrop-filter: blur(12px) !important;
}
.hero.hero-centered {
  background: url('./assets/main.png') center/cover no-repeat !important;
  height: 90vh !important;
  display: flex !important;
  flex-direction: column !important;
  justify-content: center !important;
  align-items: center !important;
  text-align: center !important;
  padding: 100px 20px !important;
  position: relative !important;
  margin-top: -98px; /* Pull it up under the floating nav */
}
@media (max-width: 900px) {
  .hero.hero-centered { margin-top: -88px; }
}
.hero.hero-centered::before {
  content: '' !important;
  position: absolute !important;
  inset: 0 !important;
  background: radial-gradient(circle at center top, rgba(255,255,255,0.85) 0%, rgba(255,255,255,0.3) 50%, rgba(218, 215, 215, 0.6) 100%) !important;
  z-index: 1 !important;
}
.hero.hero-centered .hero-copy {
  position: relative !important;
  z-index: 2 !important;
  max-width: 900px !important;
  display: flex !important;
  flex-direction: column !important;
  align-items: center !important;
  gap: 18px !important;
  margin: 0 auto !important;
}
.hero.hero-centered h1 {
  font-size: clamp(35px, 6vw, 78px) !important;
  font-weight: 800 !important;
  line-height: 1.05 !important;
  letter-spacing: -0.04em !important;
  color: #0b151c !important;
  margin: 0 !important;
}
.hero.hero-centered p {
  font-size: clamp(16px, 2vw, 20px) !important;
  color: #1a2a35 !important;
  font-weight: 600 !important;
  max-width: 650px !important;
  margin: 0 !important;
  line-height: 1.6 !important;
}
.pill-eyebrow {
  border: 1px solid rgba(0,0,0,0.15) !important;
  padding: 8px 20px !important;
  border-radius: 99px !important;
  font-size: 11px !important;
  font-weight: 750 !important;
  letter-spacing: 0.12em !important;
  background: rgba(255,255,255,0.6) !important;
  backdrop-filter: blur(8px) !important;
  color: #111 !important;
  text-transform: uppercase !important;
}
.dark-pill {
  background: #0a1114 !important;
  color: #fff !important;
  padding: 18px 42px !important;
  border-radius: 99px !important;
  font-size: 15px !important;
  font-weight: 750 !important;
  border: none !important;
  display: inline-flex !important;
  align-items: center !important;
  gap: 10px !important;
  transition: transform 0.2s, background 0.2s !important;
  text-decoration: none !important;
  margin-top: 15px !important;
}
.dark-pill:hover {
  background: #23343d !important;
  transform: translateY(-2px) !important;
  color: #fff !important;
}
.hero.hero-centered {
  max-width: none !important;
  width: 100% !important;
}
.hero.hero-centered {
  min-height: 100vh !important;
}
.public-nav {
  background: rgba(255, 255, 255, 0.94) !important;
  backdrop-filter: blur(16px) !important;
  -webkit-backdrop-filter: blur(16px) !important;
  border: 1px solid rgba(23, 50, 74, 0.12) !important;
  box-shadow: 0 8px 28px rgba(12, 28, 38, 0.10) !important;
  transition: all 0.25s ease !important;
}
.public-nav.scrolled {
  background: rgba(255, 255, 255, 0.98) !important;
  box-shadow: 0 10px 32px rgba(12, 28, 38, 0.14) !important;
  border-color: rgba(23, 50, 74, 0.16) !important;
}
.public-brand strong {
  color: #0b1a24 !important;
  font-size: 18px !important;
  font-weight: 800 !important;
}
.public-brand small {
  color: #556c78 !important;
  font-size: 10.5px !important;
  font-weight: 600 !important;
}
.public-brand .logo {
  background: var(--teal) !important;
  color: #ffffff !important;
  font-weight: 850 !important;
}
.public-link {
  color: #2c3e47 !important;
  font-size: 13px !important;
  font-weight: 700 !important;
  padding: 9px 14px !important;
  border-radius: 8px !important;
  transition: all 0.2s ease !important;
}
.public-link:hover {
  color: var(--teal) !important;
  background: rgba(19, 120, 139, 0.08) !important;
}
.public-link.active {
  color: var(--teal) !important;
  background: rgba(19, 120, 139, 0.12) !important;
  font-weight: 800 !important;
}
.public-signin {
  font-size: 13px !important;
  font-weight: 750 !important;
  padding: 10px 20px !important;
  border-radius: 8px !important;
}
.public-menu-toggle {
  color: #0b1a24 !important;
}
.hero.hero-centered {
  align-items: flex-start !important;
  text-align: left !important;
  padding: 120px clamp(20px, 8vw, 120px) 80px !important;
}
.hero.hero-centered::before {
  background: linear-gradient(to right, rgba(12, 23, 31, 0.74) 0%, rgba(12, 23, 31, 0.60) 45%, rgba(12, 23, 31, 0.32) 100%) !important;
}
.hero.hero-centered .hero-copy {
  align-items: flex-start !important;
  margin: 0 !important;
}
.hero.hero-centered h1 {
  font-size: clamp(28px, 6vw, 72px) !important;
  color: #ffffff !important;
}
.hero.hero-centered p {
  font-size: clamp(15px, 1.8vw, 20px) !important;
  color: rgba(255, 255, 255, 0.9) !important;
}
.pill-eyebrow {
  background: rgba(0,0,0,0.4) !important;
  border-color: rgba(255,255,255,0.3) !important;
  color: #ffffff !important;
}
.dark-pill {
  background: #ffffff !important;
  color: #000000 !important;
}
.dark-pill:hover {
  background: #eeeeee !important;
  color: #000000 !important;
}

/* ─── Page Hero (Platform & Process pages) ─── */
.page-hero {
  background: url('./assets/main.png') center/cover no-repeat !important;
  min-height: 70vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
  text-align: left;
  padding: 120px clamp(20px, 8vw, 120px) 80px;
  position: relative;
  max-width: none;
  width: 100%;
  margin-top: -98px;
  font-family: inherit;
}
@media (max-width: 900px) {
  .page-hero,
  .hero.hero-centered {
    margin-top: -88px;
    padding-top: clamp(115px, 16vw, 135px) !important;
    padding-bottom: 60px !important;
  }
}
.page-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to right, rgba(12, 23, 31, 0.74) 0%, rgba(12, 23, 31, 0.60) 45%, rgba(12, 23, 31, 0.32) 100%);
  z-index: 1;
}
.page-hero-copy {
  position: relative;
  z-index: 2;
  max-width: 900px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 18px;
  margin: 0;
}
.page-hero h1 {
  font-size: clamp(28px, 6vw, 68px);
  font-weight: 800;
  line-height: 1.05;
  letter-spacing: -0.04em;
  color: #ffffff;
  margin: 0;
}
.page-hero p {
  font-size: clamp(15px, 1.8vw, 20px);
  color: rgba(255, 255, 255, 0.9);
  font-weight: 600;
  max-width: 650px;
  margin: 0;
  line-height: 1.6;
}
@media (max-width: 600px) {
  .page-hero,
  .hero.hero-centered {
    min-height: 55vh !important;
    padding: 115px 20px 50px !important;
  }
  .page-hero h1,
  .hero.hero-centered h1 {
    font-size: clamp(28px, 7.5vw, 40px) !important;
  }
}

/* ─── Public Layout Alignment & Modern Components ─── */

.section-intro {
  max-width: 780px;
  margin-bottom: clamp(24px, 4vw, 40px);
}
.section-intro .eyebrow {
  display: inline-block;
  font-size: 11px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--teal);
  margin-bottom: 8px;
}
.section-intro h2 {
  font-size: clamp(24px, 3.4vw, 38px);
  font-weight: 800;
  color: var(--navy);
  letter-spacing: -0.035em;
  margin: 0 0 12px;
  line-height: 1.18;
}
.section-intro p {
  font-size: clamp(13.5px, 1.4vw, 15.5px);
  color: #556770;
  line-height: 1.65;
  margin: 0;
}

/* ─── Cards Common Modern UI ─── */
.feature-card,
.role-card {
  background: #ffffff;
  border: 1px solid #e1e9eb;
  border-radius: 14px;
  padding: clamp(22px, 3vw, 30px);
  box-shadow: 0 4px 18px rgba(23, 50, 74, 0.04);
  transition: transform 0.25s cubic-bezier(0.2, 0, 0, 1), box-shadow 0.25s cubic-bezier(0.2, 0, 0, 1), border-color 0.25s ease;
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}
.feature-card::before,
.role-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--teal), #1ae599);
  opacity: 0;
  transition: opacity 0.25s ease;
}
.feature-card:hover,
.role-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 36px rgba(23, 50, 74, 0.09);
  border-color: #b5d7dc;
}
.feature-card:hover::before,
.role-card:hover::before {
  opacity: 1;
}

/* Card Badges */
.card-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 9px;
  background: var(--teal-2);
  color: var(--teal);
  font-size: 13px;
  font-weight: 850;
  margin-bottom: 18px;
  letter-spacing: -0.02em;
  font-family: inherit;
}
.role-badge {
  display: inline-flex;
  width: fit-content;
  padding: 4px 11px;
  border-radius: 999px;
  background: #eef6f7;
  color: var(--teal);
  font-size: 10px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 16px;
  font-family: inherit;
}

.feature-card h3,
.role-card h3 {
  font-size: clamp(16px, 1.8vw, 18px);
  font-weight: 750;
  color: var(--navy);
  margin: 0 0 9px;
  line-height: 1.25;
}
.feature-card p,
.role-card p {
  font-size: 13.5px;
  line-height: 1.65;
  color: #5c6e76;
  margin: 0;
}

/* ─── Feature Grid (Home Page - 4 columns) ─── */
.feature-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
  width: 100%;
  margin-top: 24px;
}
@media (max-width: 1024px) {
  .feature-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (max-width: 600px) {
  .feature-grid {
    grid-template-columns: 1fr;
    gap: 14px;
  }
}

/* ─── Role Grid (About Page - 3 columns / responsive) ─── */
.role-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  width: 100%;
  margin-top: 20px;
}
@media (max-width: 960px) {
  .role-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (max-width: 600px) {
  .role-grid {
    grid-template-columns: 1fr;
    gap: 14px;
  }
}

/* ─── Solutions Grid (Solutions Page - 3 columns) ─── */
.solutions-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  width: 100%;
  margin-top: 24px;
}
@media (max-width: 960px) {
  .solutions-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (max-width: 600px) {
  .solutions-grid {
    grid-template-columns: 1fr;
    gap: 14px;
  }
}

/* ─── Journey Track (Home Page) ─── */
.journey-track {
  display: inline-flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 6px 0;
  background: #ffffff;
  border: 1px solid #d7e4e6;
  border-radius: 999px;
  padding: 6px 18px;
  margin-top: 18px;
  box-shadow: 0 4px 14px rgba(23, 50, 74, 0.04);
}
.journey-step {
  display: inline-flex;
  align-items: center;
}
.journey-pill {
  font-size: 12px;
  font-weight: 750;
  color: var(--teal);
  letter-spacing: 0.02em;
  padding: 4px 6px;
}
.journey-sep {
  color: #9abec4;
  font-weight: 800;
  font-size: 13px;
  padding: 0 8px;
}
@media (max-width: 600px) {
  .journey-track {
    border-radius: 14px;
    padding: 8px 12px;
    gap: 4px;
  }
  .journey-pill {
    font-size: 11px;
  }
  .journey-sep {
    padding: 0 4px;
  }
}

/* ─── Ecosystem Box (About Page) ─── */
.ecosystem-box {
  margin-top: clamp(36px, 6vw, 56px);
  padding-top: clamp(28px, 4vw, 42px);
  border-top: 1px solid #e4ecee;
}
.tag-list {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 14px;
}
.tag-list span {
  display: inline-flex;
  align-items: center;
  padding: 9px 18px;
  border-radius: 999px;
  background: #ffffff;
  border: 1px solid #d5e1e3;
  font-size: 12px;
  font-weight: 650;
  color: #3b4e56;
  box-shadow: 0 2px 8px rgba(24, 49, 61, 0.03);
  transition: all 0.2s ease;
}
.tag-list span:hover {
  transform: translateY(-2px);
  border-color: var(--teal);
  color: var(--teal);
  box-shadow: 0 6px 16px rgba(19, 120, 139, 0.12);
}

/* ─── Flow Timeline (Process Page) ─── */
.flow-timeline {
  position: relative;
  max-width: 860px;
  margin: 28px 0 0;
  padding-left: 58px;
}
.flow-timeline::before {
  content: '';
  position: absolute;
  left: 20px;
  top: 16px;
  bottom: 16px;
  width: 2px;
  background: linear-gradient(180deg, var(--teal) 0%, #1ae599 50%, var(--teal) 100%);
  border-radius: 2px;
}
.flow-step {
  position: relative;
  margin-bottom: 22px;
}
.flow-step:last-child {
  margin-bottom: 0;
}
.flow-step-node {
  position: absolute;
  left: -58px;
  top: 16px;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: #ffffff;
  border: 2px solid var(--teal);
  color: var(--teal);
  font-size: 13px;
  font-weight: 850;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 14px rgba(19, 120, 139, 0.16);
  z-index: 2;
  font-family: inherit;
}
.flow-step-card {
  background: #ffffff;
  border: 1px solid #e1e9eb;
  border-radius: 14px;
  padding: clamp(18px, 2.5vw, 24px) clamp(20px, 3vw, 28px);
  box-shadow: 0 4px 18px rgba(24, 49, 61, 0.04);
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}
.flow-step-card:hover {
  transform: translateX(4px);
  box-shadow: 0 12px 28px rgba(24, 49, 61, 0.08);
  border-color: #b5d7dc;
}
.flow-step-card h3 {
  font-size: clamp(16px, 1.8vw, 18px);
  font-weight: 750;
  color: var(--navy);
  margin: 0 0 6px;
  line-height: 1.3;
}
.flow-step-card p {
  font-size: 13.5px;
  line-height: 1.65;
  color: #5c6e76;
  margin: 0;
}
@media (max-width: 600px) {
  .flow-timeline {
    padding-left: 46px;
  }
  .flow-timeline::before {
    left: 15px;
  }
  .flow-step-node {
    left: -46px;
    width: 32px;
    height: 32px;
    font-size: 11px;
    top: 14px;
  }
  .flow-step-card {
    padding: 16px 18px;
  }
}

/* ─── Unified Public Footer ─── */
.public-footer {
  border-top: 1px solid var(--line);
  background: #ffffff;
  padding: 30px 0;
  width: 100%;
}
.public-footer-inner {
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 clamp(16px, 4vw, 36px);
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  color: var(--muted);
  font-size: 12px;
  box-sizing: border-box;
}
.public-footer-inner div {
  display: flex;
  gap: 12px;
  align-items: center;
}
.public-footer-inner strong {
  color: var(--navy);
  font-size: 14px;
}
.public-footer-inner div span {
  display: inline !important;
  margin-top: 0 !important;
}
@media (max-width: 680px) {
  .public-footer-inner {
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
  }
  .public-footer-inner div {
    flex-wrap: wrap;
    gap: 6px 12px;
  }
  .public-footer-inner span:last-child {
    font-size: 11px;
  }
}

