450;500;550;600;650;700&family=Manrope:wght@400;500;600;650;700;750;800&display=swap");
:root {
  --navy: #112b3c;
  --teal: #087f78;
  --ink: #1d3445;
  --muted: #82909c;
  --line: #e7ecef;
  --bg: #f6f8fa;
}
* {
  box-sizing: border-box;
}
body {
  margin: 0;
  font:
    14px "DM Sans",
    sans-serif;
  color: var(--ink);
  background: var(--bg);
}
button,
input,
select {
  font: inherit;
}
button,
a,
input,
select {
  outline-offset: 4px;
}
button,
a {
  -webkit-tap-highlight-color: transparent;
}
button {
  cursor: pointer;
}
a {
  color: inherit;
  text-decoration: none;
}
aside {
  position: fixed;
  width: 250px;
  inset: 0 auto 0 0;
  background: var(--navy);
  color: #b0c1cc;
  padding: 33px 20px;
  display: flex;
  flex-direction: column;
}
.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  color: white;
  font: 800 29px Manrope;
}
.brand small {
  font: 8px "DM Sans";
  letter-spacing: 2px;
  display: block;
  margin-top: 6px;
  color: #97b0bc;
}
.thin {
  font-weight: 400;
}
.logo {
  background: #1b4b55;
  border: 1px solid #387378;
  border-radius: 12px;
  width: 43px;
  height: 46px;
  display: grid;
  place-items: center;
  color: #69d5b6;
  position: relative;
}
.logo span {
  font-size: 17px;
  position: absolute;
  right: 0;
  bottom: 0;
}
.workspace {
  display: flex;
  align-items: center;
  gap: 10px;
  border: 1px solid #304657;
  padding: 13px 10px;
  border-radius: 9px;
  margin: 35px 0 28px;
  font-size: 12px;
  color: #e3ebef;
}
.workspace small,
.profile small {
  display: block;
  font-size: 10px;
  color: #8ea6b5;
  margin-top: 5px;
}
.square {
  background: #334d5e;
  padding: 8px 10px;
  border-radius: 6px;
}
.nav-label {
  font-size: 9px;
  letter-spacing: 1.7px;
  color: #6e8b9c;
  padding-left: 14px;
  margin-bottom: 12px;
}
nav a {
  display: flex;
  align-items: center;
  gap: 13px;
  padding: 13px 14px;
  margin: 4px 0;
  border-radius: 7px;
  font-size: 12px;
}
nav a:hover {
  background: #1b3a4d;
}
nav a.active {
  background: #214b54;
  color: #95e4cf;
}
nav a b {
  font-size: 17px;
  font-weight: 400;
  width: 19px;
}
nav a em {
  font: 10px "DM Sans";
  margin-left: auto;
  background: #315563;
  padding: 3px 7px;
  border-radius: 5px;
}
.sidebar-bottom {
  margin-top: auto;
}
.sandbox {
  padding: 16px 12px;
  border: 1px solid #304757;
  border-radius: 8px;
  font-size: 11px;
  color: #d0e2e7;
  margin: 25px 0;
}
.sandbox p {
  color: #89a3b3;
  font-size: 10px;
  line-height: 1.8;
  margin-bottom: 0;
}
.dot {
  display: inline-block;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #31b392;
  margin-right: 6px;
}
.profile {
  border: 0;
  border-top: 1px solid #2b4455;
  background: none;
  color: #e4edf2;
  display: flex;
  align-items: center;
  gap: 10px;
  width: 100%;
  padding: 20px 0 0;
  text-align: left;
  font-size: 11px;
}
.avatar {
  border-radius: 50%;
  background: #dfeee9;
  color: #34776a;
  width: 34px;
  height: 34px;
  display: inline-grid;
  place-items: center;
  font-size: 11px;
  font-weight: 700;
  flex-shrink: 0;
}
.small {
  width: 30px;
  height: 30px;
}
.shell {
  margin-left: 250px;
}
header {
  height: 77px;
  background: white;
  border-bottom: 1px solid var(--line);
  padding: 0 38px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 11px;
}
.muted {
  color: var(--muted);
}
.slash {
  padding: 0 14px;
  color: #c7cfd4;
}
.header-right {
  display: flex;
  gap: 25px;
  align-items: center;
}
.env {
  color: #987335;
  background: #fbf6e8;
  border: 1px solid #eee2c6;
  font-size: 8px;
  letter-spacing: 1.3px;
  padding: 6px 9px;
  border-radius: 4px;
}
.icon-button {
  border: 0;
  background: none;
  font-size: 22px;
  color: #687f8e;
  position: relative;
}
.icon-button i {
  width: 5px;
  height: 5px;
  background: #e5ac55;
  position: absolute;
  right: 3px;
  top: 4px;
  border-radius: 50%;
}
main {
  padding: 34px 38px;
  max-width: 1600px;
  margin: auto;
}
.eyebrow {
  font-size: 9px;
  letter-spacing: 1.8px;
  color: #78918f;
  font-weight: 700;
  margin-bottom: 10px;
}
h1,
h2,
h3 {
  font-family: Manrope, sans-serif;
}
h1 {
  font-size: 27px;
  letter-spacing: -1px;
  margin: 0 0 9px;
  font-weight: 800;
}
h2 {
  font-size: 14px;
  margin: 0;
  font-weight: 800;
}
h3 {
  font-size: 12px;
  margin: 0 0 8px;
}
p.sub {
  font-size: 12px;
  color: #7e8c96;
  margin: 0;
  line-height: 1.7;
}
.page-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 27px;
}
.actions {
  display: flex;
  gap: 10px;
}
.btn {
  border: 1px solid #dfe6e9;
  background: white;
  border-radius: 6px;
  padding: 10px 15px;
  color: #4c6270;
  font-size: 11px;
  font-weight: 600;
  display: inline-flex;
  gap: 9px;
  align-items: center;
  justify-content: center;
}
.btn.primary {
  background: var(--teal);
  color: white;
  border-color: var(--teal);
}
.btn:hover {
  filter: brightness(0.96);
}
.hero {
  background: #eaf4f1;
  border: 1px solid #d8e8e3;
  border-radius: 10px;
  padding: 24px 27px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  position: relative;
  overflow: hidden;
  margin-bottom: 24px;
}
.hero h2 {
  font-size: 19px;
  letter-spacing: -0.6px;
  margin-bottom: 8px;
}
.hero p {
  color: #69847e;
  font-size: 11px;
  max-width: 490px;
  line-height: 1.7;
  margin: 0;
}
.hero .eyebrow {
  color: #298574;
}
.hero-art {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 0 18px;
  color: #8fb5a7;
}
.art-node {
  width: 49px;
  height: 49px;
  border-radius: 14px;
  background: #f8fcfa;
  border: 1px solid #cfe1d9;
  display: grid;
  place-items: center;
  color: #398474;
  font-size: 25px;
  box-shadow: 0 7px 16px #38786608;
}
.art-node.large {
  height: 68px;
  width: 68px;
  background: #157c70;
  color: white;
  font-size: 36px;
  transform: rotate(-5deg);
}
.stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 17px;
  margin-bottom: 24px;
}
.card {
  background: white;
  border: 1px solid var(--line);
  border-radius: 9px;
}
.stat {
  padding: 19px;
}
.stat-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 11px;
  color: #788997;
}
.stat-icon {
  background: #edf5f6;
  color: #5e9395;
  border-radius: 7px;
  padding: 7px 9px;
  font-size: 16px;
}
.stat-value {
  font: 800 27px Manrope;
  letter-spacing: -0.8px;
  margin: 9px 0;
}
.stat-bottom {
  font-size: 9px;
  color: #8d99a1;
}
.positive {
  color: #32947d;
}
.grid {
  display: grid;
  grid-template-columns: 1fr 300px;
  gap: 22px;
}
.card-head {
  padding: 21px 22px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.card-head p {
  font-size: 10px;
  color: #8a98a1;
  margin: 6px 0 0;
}
.text-link {
  border: 0;
  background: none;
  color: #21877a;
  font-size: 10px;
}
.workflow {
  padding: 2px 23px 24px;
  display: flex;
}
.flow-step {
  position: relative;
  flex: 1;
}
.flow-step:after {
  content: "";
  position: absolute;
  top: 17px;
  left: 37px;
  right: 6px;
  height: 1px;
  background: #dce8e4;
}
.flow-step:last-child:after {
  display: none;
}
.step-icon {
  width: 33px;
  height: 33px;
  background: #f0f7f4;
  border: 1px solid #deece5;
  border-radius: 9px;
  display: grid;
  place-items: center;
  color: #3d9683;
  font-size: 16px;
}
.flow-step h3 {
  font-size: 9px;
  margin: 12px 0 5px;
}
.flow-step p {
  font-size: 8px;
  line-height: 1.6;
  color: #93a0a9;
  margin: 0;
}
.workflow-card {
  margin-bottom: 22px;
}
.toolbar {
  display: flex;
  gap: 10px;
  padding: 0 22px 17px;
}
.search {
  border: 1px solid var(--line);
  border-radius: 6px;
  padding: 9px 12px;
  min-width: 0;
  flex: 1;
  font-size: 10px;
  background: #fcfdfe;
  color: var(--ink);
}
select {
  border: 1px solid var(--line);
  border-radius: 6px;
  background: white;
  color: #768893;
  font-size: 10px;
  padding: 8px;
}
table {
  width: 100%;
  border-collapse: collapse;
  text-align: left;
}
th {
  font-size: 8px;
  letter-spacing: 0.6px;
  color: #8a99a4;
  background: #fafbfd;
  font-weight: 500;
  padding: 12px 15px;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
td {
  font-size: 10px;
  padding: 16px 15px;
  border-bottom: 1px solid #f0f3f5;
}
tbody tr {
  cursor: pointer;
}
tbody tr:hover {
  background: #f8fcfa;
}
td:first-child {
  color: #496374;
  font-weight: 600;
}
.cell-small {
  display: block;
  color: #9aa5ad;
  font-size: 9px;
  margin-top: 4px;
}
.badge {
  display: inline-block;
  font-size: 8px;
  padding: 5px 8px;
  border-radius: 4px;
  white-space: nowrap;
  background: #eef3f6;
  color: #688196;
}
.badge.verified {
  color: #30876d;
  background: #eaf6ef;
}
.badge.awaiting-consent {
  color: #b5893c;
  background: #fcf5e7;
}
.badge.pending-capture {
  color: #6589ba;
  background: #edf3fb;
}
.badge.submitted {
  background: #f0edfb;
  color: #8c74ba;
}
.badge.rejected {
  background: #fbeeee;
  color: #b76161;
}
.table-bottom {
  padding: 14px 21px;
  font-size: 9px;
  color: #93a0a9;
  display: flex;
  justify-content: space-between;
}
.side-card {
  margin-bottom: 20px;
}
.health {
  padding: 0 21px 16px;
}
.health-row {
  display: flex;
  justify-content: space-between;
  padding: 13px 0;
  border-bottom: 1px solid #f0f2f4;
  font-size: 10px;
}
.health-row:last-child {
  border: 0;
}
.health-row span:last-child {
  color: #38977e;
  font-size: 9px;
}
.health-note {
  background: #f4f8f6;
  padding: 11px;
  border-radius: 5px;
  color: #789086;
  font-size: 9px;
  line-height: 1.6;
}
.activity {
  padding: 0 21px 20px;
}
.activity-item {
  display: flex;
  gap: 10px;
  padding: 12px 0;
}
.activity-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #82b4a7;
  margin-top: 5px;
  flex-shrink: 0;
}
.activity-item p {
  font-size: 10px;
  line-height: 1.7;
  margin: 0;
  color: #617787;
}
.activity-item small {
  font-size: 8px;
  color: #a1adb5;
}
.callout {
  background: #edf1f7;
  padding: 21px;
  border: 1px solid #e2e8ef;
  border-radius: 8px;
}
.callout p {
  font-size: 10px;
  line-height: 1.8;
  color: #8090a0;
}
.callout .text-link {
  padding: 0;
}
footer {
  padding: 0 38px 22px;
  display: flex;
  justify-content: space-between;
  font-size: 9px;
  color: #9ba7af;
}
dialog {
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 28px;
  width: 520px;
  max-width: calc(100vw - 30px);
  box-shadow: 0 30px 90px #0d293b40;
  color: var(--ink);
}
dialog::backdrop {
  background: #112b3c66;
  backdrop-filter: blur(3px);
}
dialog h2 {
  font-size: 20px;
  margin-bottom: 10px;
}
dialog p {
  font-size: 12px;
  line-height: 1.8;
  color: #7c8c97;
}
.form-row {
  margin: 17px 0;
}
.form-row label {
  display: block;
  font-size: 11px;
  margin-bottom: 7px;
}
.form-row input,
.form-row select {
  width: 100%;
  padding: 12px;
  border: 1px solid #dfe6e9;
  border-radius: 6px;
  font-size: 12px;
}
.dialog-actions {
  display: flex;
  justify-content: flex-end;
  gap: 10px;
  margin-top: 24px;
}
.detail-line {
  display: flex;
  justify-content: space-between;
  padding: 13px 0;
  border-bottom: 1px solid var(--line);
  font-size: 12px;
}
.check {
  display: flex;
  gap: 9px;
  align-items: start;
  font-size: 12px;
  line-height: 1.7;
  margin: 16px 0;
}
#toast {
  position: fixed;
  bottom: 25px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--navy);
  color: white;
  padding: 14px 24px;
  border-radius: 8px;
  display: none;
  z-index: 10;
  font-size: 12px;
}
.journey-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}
.journey-card {
  padding: 23px;
}
.journey-card .number {
  font: 800 27px Manrope;
  color: #a6c9be;
  margin-bottom: 18px;
}
.journey-card p {
  font-size: 11px;
  line-height: 1.8;
  color: #84959f;
}
.entity-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.entity {
  padding: 25px;
}
.entity h2 {
  margin: 17px 0 9px;
}
.entity p {
  font-size: 11px;
  color: #84959f;
  line-height: 1.8;
}
.empty {
  padding: 30px;
  text-align: center;
  color: #84959f;
}
@media (min-width: 1450px) {
  main {
    padding-top: 42px;
  }
  .hero {
    padding: 30px;
  }
  .stats {
    gap: 22px;
  }
  .stat {
    padding: 24px;
  }
  td {
    padding: 19px 18px;
  }
}
@media (max-width: 1150px) {
  aside {
    width: 215px;
    padding: 28px 14px;
  }
  .shell {
    margin-left: 215px;
  }
  main {
    padding: 27px 24px;
  }
  .grid {
    grid-template-columns: 1fr;
  }
  .right-col {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
  }
  .callout {
    display: none;
  }
  .hero-art {
    gap: 5px;
    padding: 0;
  }
  .art-node {
    width: 40px;
  }
  .stats {
    gap: 10px;
  }
}
@media (max-width: 760px) {
  aside {
    position: static;
    width: 100%;
    padding: 16px;
  }
  .brand {
    font-size: 23px;
  }
  .brand small,
  .workspace,
  .nav-label,
  .sidebar-bottom {
    display: none;
  }
  nav {
    display: flex;
    overflow: auto;
    margin-top: 15px;
  }
  nav a {
    white-space: nowrap;
    padding: 10px;
  }
  nav a b,
  nav a em {
    display: none;
  }
  .shell {
    margin: 0;
  }
  header {
    height: 57px;
    padding: 0 20px;
  }
  .header-right {
    gap: 12px;
  }
  main {
    padding: 25px 18px;
  }
  .page-top {
    align-items: flex-start;
    gap: 15px;
  }
  .page-top .actions {
    flex-direction: column;
  }
  .hero {
    padding: 20px;
  }
  .hero-art {
    display: none;
  }
  .stats {
    grid-template-columns: repeat(2, 1fr);
  }
  .grid {
    gap: 15px;
  }
  .right-col {
    grid-template-columns: 1fr;
  }
  .workflow {
    overflow: auto;
    gap: 12px;
  }
  .flow-step {
    min-width: 75px;
  }
  .table-wrap {
    overflow: auto;
  }
  table {
    min-width: 590px;
  }
  .journey-grid,
  .entity-grid {
    grid-template-columns: 1fr;
  }
  footer {
    padding: 0 18px 20px;
    gap: 10px;
    font-size: 8px;
  }
  h1 {
    font-size: 24px;
  }
}
/* Institution management */
button:disabled {
  opacity: 0.45;
  cursor: not-allowed;
}
textarea {
  font: inherit;
  resize: vertical;
}
button,
input,
select,
textarea {
  transition:
    border-color 0.15s,
    background 0.15s;
}
input:focus,
select:focus,
textarea:focus {
  outline: 2px solid #b0dbd1;
  outline-offset: 1px;
}
.perspective {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 15px;
  background: #edf4f4;
  border: 1px solid #dce9e7;
  border-radius: 7px;
  padding: 12px 17px;
  margin-bottom: 22px;
  font-size: 10px;
}
.institution-stats .stat {
  padding: 20px 23px;
}
.institution-stats .stat-value {
  font-size: 30px;
}
.institution-stats .stat-top {
  color: #5f7583;
}
.entity-tabs,
.profile-tabs {
  display: flex;
  gap: 25px;
  border-bottom: 1px solid #dfe7eb;
  margin: 6px 0 24px;
  overflow: auto;
}
.entity-tabs button,
.profile-tabs button {
  background: transparent;
  border: 0;
  border-bottom: 2px solid transparent;
  color: #81909c;
  padding: 15px 3px;
  font-size: 11px;
  white-space: nowrap;
}
.entity-tabs button.selected,
.profile-tabs button.selected {
  color: #087f78;
  border-color: #087f78;
  font-weight: 700;
}
.tab-count {
  font-size: 9px;
  padding: 3px 6px;
  border-radius: 4px;
  background: #e7efed;
  margin-left: 5px;
}
.entity-toolbar {
  flex-wrap: wrap;
}
.entity-toolbar .search {
  min-width: 180px;
}
.entity-toolbar select {
  max-width: 200px;
}
.entity-table {
  min-width: 760px;
}
.entity-table td {
  padding: 19px 17px;
}
.entity-name {
  padding: 0;
  display: flex;
  align-items: center;
  gap: 12px;
  border: 0;
  background: none;
  text-align: left;
  color: #284454;
  font-size: 11px;
  font-weight: 600;
}
.entity-name small {
  display: block;
  font-weight: 400;
  font-size: 9px;
  margin-top: 6px;
  color: #98a7ae;
}
.entity-monogram {
  display: grid;
  place-items: center;
  width: 35px;
  height: 35px;
  border-radius: 8px;
  background: #ebf3f2;
  color: #387f76;
  font: 700 11px Manrope;
  flex-shrink: 0;
}
.entity-monogram.big {
  width: 55px;
  height: 55px;
  font-size: 18px;
}
.badge.active,
.badge.approved {
  color: #2c856a;
  background: #eaf5ef;
}
.badge.pending-approval,
.badge.inactive {
  color: #ad843d;
  background: #faf3e5;
}
.badge.draft {
  color: #728b9b;
  background: #edf2f7;
}
.badge.suspended {
  color: #a37542;
  background: #faf0e6;
}
.badge.deactivated,
.badge.terminated {
  color: #ad6266;
  background: #f8eded;
}
.notice {
  background: #edf6f2;
  border: 1px solid #dcece5;
  border-radius: 7px;
  padding: 15px 18px;
  font-size: 11px;
  color: #5f8174;
  line-height: 1.8;
  margin-bottom: 20px;
}
.notice strong {
  color: #33715f;
}
.notice.amber {
  color: #988156;
  background: #fcf7ed;
  border-color: #eee3cb;
}
.notice.amber strong {
  color: #a48340;
}
.notice ul {
  margin: 8px 0 0;
  padding-left: 17px;
}
.prototype-note {
  font-size: 10px;
  line-height: 1.8;
  color: #8c9ca5;
  margin: 23px 0 0;
}
.back-link {
  padding: 0;
  margin: 0 0 18px;
}
.entity-profile-header {
  display: flex;
  gap: 17px;
  align-items: center;
  padding: 25px;
}
.entity-profile-header h2 {
  font-size: 20px;
}
.entity-profile-header .eyebrow {
  font-size: 8px;
  margin-bottom: 7px;
}
.entity-profile-header p {
  font-size: 10px;
  color: #8b9ba5;
  margin: 9px 0 0;
}
.profile-header-status {
  margin-left: auto;
  display: flex;
  gap: 20px;
}
.profile-header-status > div {
  display: flex;
  flex-direction: column;
  gap: 8px;
  font-size: 9px;
}
.profile-card {
  margin-bottom: 20px;
  overflow: hidden;
}
.profile-padding {
  padding: 0 24px 24px;
}
.profile-tabs {
  margin-top: 6px;
}
.summary-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}
.summary-block {
  margin: 0 0 20px;
}
.summary-block h3 {
  font-size: 12px;
  border-bottom: 1px solid var(--line);
  padding-bottom: 12px;
  margin: 10px 0 6px;
}
.summary-block > div {
  display: flex;
  justify-content: space-between;
  gap: 15px;
  padding: 10px 0;
  font-size: 10px;
  line-height: 1.7;
}
.summary-block > div > span {
  color: #8698a3;
  max-width: 47%;
}
.summary-block strong {
  font-weight: 500;
  text-align: right;
  overflow-wrap: anywhere;
  max-width: 55%;
}
.summary-block p {
  font-size: 11px;
  line-height: 1.8;
  color: #6c8491;
}
.meta-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}
.meta-grid > div {
  display: flex;
  flex-direction: column;
  gap: 7px;
  font-size: 10px;
}
.meta-grid span {
  color: #8a9ba5;
}
.meta-grid strong {
  font-weight: 500;
}
.compare-table {
  min-width: 550px;
  table-layout: fixed;
}
.compare-table td {
  vertical-align: top;
  overflow-wrap: anywhere;
  line-height: 1.8;
}
.compare-table td:first-child {
  color: #8b9da7;
}
.compare-table td:last-child {
  background: #f6faf8;
  color: #376e5e;
}
.section-heading {
  margin: 25px 0 13px;
}
.review-documents {
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
  margin-bottom: 22px;
}
.service-options {
  padding: 17px 0;
  border: 0;
  margin: 15px 0;
}
.service-options legend {
  font-size: 11px;
  font-weight: 600;
  padding: 0;
}
.service-options label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 11px;
  padding: 10px 15px 10px 0;
}
.service-options small {
  display: block;
  color: #91a1ab;
  font-size: 10px;
  line-height: 1.8;
}
.service-options input,
.check input,
.obligations input {
  accent-color: #087f78;
}
.field-label {
  font-size: 11px;
  display: block;
  margin: 14px 0 8px;
}
.full-select {
  width: 100%;
  border: 1px solid #dfe7e9;
  border-radius: 6px;
  padding: 12px;
  font-size: 11px;
  color: var(--ink);
  background: #fff;
}
.danger {
  color: #b96565;
}
.notification-item {
  padding: 16px 0;
  border-bottom: 1px solid var(--line);
}
.notification-item strong {
  font-size: 12px;
  font-weight: 500;
}
.notification-item small {
  display: block;
  font-size: 10px;
  color: #8e9da7;
  margin-top: 7px;
}
.wide-dialog {
  width: 970px;
  max-height: 90vh;
  padding: 0;
}
.wide-dialog > div {
  padding: 28px;
}
.wide-dialog:has(.editor-layout) > div {
  padding: 0;
}
.editor-heading {
  display: flex;
  justify-content: space-between;
  padding: 25px 30px 15px;
  border-bottom: 1px solid var(--line);
}
.editor-heading h2 {
  font-size: 20px;
}
.editor-heading p {
  font-size: 11px;
  margin: 7px 0;
}
.editor-layout {
  display: grid;
  grid-template-columns: 210px 1fr;
  min-height: 350px;
  max-height: calc(90vh - 220px);
}
.editor-steps {
  display: flex;
  flex-direction: column;
  background: #f8fafb;
  border-right: 1px solid var(--line);
  padding: 20px 12px;
  gap: 6px;
  overflow: auto;
}
.editor-steps button {
  display: flex;
  align-items: center;
  gap: 10px;
  color: #8496a2;
  background: none;
  border: 0;
  border-radius: 6px;
  padding: 12px 8px;
  text-align: left;
  font-size: 10px;
}
.editor-steps button span {
  display: grid;
  place-items: center;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: #e9eff2;
  font-size: 9px;
  flex-shrink: 0;
}
.editor-steps button.current {
  background: #e8f2ee;
  color: #2f7f6b;
  font-weight: 700;
}
.editor-steps button.current span {
  background: #137e70;
  color: white;
}
.editor-body {
  padding: 25px 30px;
  overflow: auto;
}
.editor-body > h2 {
  font-size: 18px;
}
.editor-body > p {
  font-size: 11px;
  margin: 7px 0 20px;
}
.editor-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-top: 1px solid var(--line);
  padding: 18px 25px;
  background: #fcfdfd;
  gap: 15px;
}
.editor-footer > span {
  font-size: 9px;
}
.editor-footer .btn {
  font-size: 10px;
}
.entity-form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px 17px;
  margin: 15px 0;
}
.entity-field {
  display: flex;
  flex-direction: column;
  gap: 8px;
  min-width: 0;
}
.entity-field label {
  font-size: 10px;
  color: #526d7b;
  font-weight: 500;
}
.required {
  color: #b67b62;
}
.entity-field input,
.entity-field select,
.entity-field textarea {
  background: #fff;
  padding: 11px 12px;
  border: 1px solid #dce5e9;
  border-radius: 6px;
  color: #365365;
  font-size: 11px;
  width: 100%;
  min-height: 39px;
}
.entity-field input::placeholder {
  color: #b0bdc5;
  font-size: 10px;
}
.entity-field small {
  font-size: 9px;
  color: #97a6af;
  line-height: 1.6;
}
.span-two {
  grid-column: 1/-1;
}
.obligations {
  background: #f6f9fa;
  padding: 12px;
  border-radius: 7px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin: 18px 0;
}
.obligations label {
  font-size: 10px;
  color: #738a96;
  display: flex;
  align-items: center;
  gap: 8px;
}
.obligations small {
  font-size: 9px;
  color: #97a6af;
  line-height: 1.6;
}
.field-error {
  color: #b75d5d !important;
  font-size: 10px;
  display: block;
  margin-top: 3px;
}
.error-summary {
  background: #fff3f1;
  border: 1px solid #f1d8d4;
  color: #a8645d;
  border-radius: 7px;
  padding: 14px;
  font-size: 11px;
  margin: 18px 0;
}
.error-summary button {
  display: block;
  text-align: left;
  border: 0;
  background: none;
  color: #a8645d;
  text-decoration: underline;
  font-size: 10px;
  padding: 5px 0;
}
.document-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 13px;
}
.document-slot {
  padding: 16px;
  border: 1px dashed #cfdfdb;
  border-radius: 7px;
  background: #fbfdfc;
  display: flex;
  flex-direction: column;
  gap: 13px;
  align-items: flex-start;
}
.document-slot strong {
  font-size: 10px;
  font-weight: 600;
}
.document-slot .cell-small {
  font-size: 9px;
  line-height: 1.6;
}
.document-attached {
  display: flex;
  gap: 8px;
  align-items: center;
  width: 100%;
  justify-content: space-between;
}
.document-attached .text-link {
  font-size: 9px;
  overflow-wrap: anywhere;
  text-align: left;
  padding: 0;
}
.upload-label {
  border: 1px solid #dce7e2;
  padding: 8px 12px;
  border-radius: 5px;
  color: #528273;
  font-size: 10px;
  cursor: pointer;
  position: relative;
  overflow: hidden;
  background: #fff;
}
.upload-label input {
  position: absolute;
  opacity: 0;
  inset: 0;
  width: 100%;
  cursor: pointer;
}
.document-slot:focus-within {
  outline: 2px solid #b0dbd1;
}
.onboarding-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}
.readiness-ring {
  border: 4px solid #d0e7dd;
  width: 52px;
  height: 52px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  font-size: 12px;
  font-weight: 600;
  color: #458871;
}
.readiness-list > div {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 15px 0;
  border-bottom: 1px solid #eef2f4;
  font-size: 11px;
}
.readiness-list small {
  font-size: 9px;
  color: #92a39d;
  margin-left: auto;
}
.readiness-check {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: #f0f2f3;
  display: grid;
  place-items: center;
  color: #a5b1b7;
}
.readiness-check.done {
  color: #2f8c70;
  background: #e6f4eb;
}
.readiness-list {
  margin-bottom: 22px;
}
.status-action {
  border-top: 1px solid var(--line);
  padding-top: 10px;
}
.status-action .btn {
  margin-top: 16px;
}
.subscription-row {
  display: flex;
  gap: 16px;
  align-items: center;
  padding: 20px 0;
  border-bottom: 1px solid var(--line);
}
.subscription-row .badge {
  margin-left: auto;
}
.subscription-row h3 {
  margin-bottom: 6px;
}
.subscription-row:last-of-type {
  margin-bottom: 20px;
}
.subscription-select {
  max-width: 150px;
}
.timeline-item {
  display: flex;
  gap: 12px;
  padding: 16px 0;
  border-bottom: 1px solid #eff3f5;
}
.timeline-item strong {
  font-size: 11px;
  font-weight: 500;
  line-height: 1.8;
}
.timeline-item p {
  font-size: 9px;
  color: #98a7b0;
  margin: 5px 0;
}
.history-entry {
  display: flex;
  align-items: start;
  gap: 12px;
  padding: 16px 0;
  border-bottom: 1px solid var(--line);
}
.history-version {
  background: #eaf5ef;
  border-radius: 7px;
  padding: 8px;
  color: #4a8a73;
  font-size: 11px;
}
.history-entry p {
  font-size: 10px;
  color: #8d9da7;
  line-height: 1.8;
}
.history-entry small {
  font-size: 9px;
  color: #82969e;
}
.history-entry .text-link {
  margin-left: auto;
  white-space: nowrap;
  font-size: 9px;
}
.setting-toggle {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 25px;
  padding: 20px;
  background: #eff7f3;
  border: 1px solid #dae9e1;
  border-radius: 8px;
  margin: 24px 0;
}
.setting-toggle strong {
  font-size: 12px;
}
.setting-toggle small {
  display: block;
  font-size: 10px;
  line-height: 1.8;
  color: #8a9e94;
  max-width: 490px;
  margin-top: 8px;
}
.setting-toggle input {
  accent-color: #168470;
  width: 30px;
  height: 22px;
}
.document-settings > div {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  padding: 13px 0;
  border-bottom: 1px solid var(--line);
  font-size: 11px;
}
.document-settings select {
  min-width: 150px;
}
.add-document {
  display: flex;
  gap: 12px;
  margin-top: 20px;
}
@media (max-width: 1150px) {
  .entity-page-top {
    align-items: flex-start;
    gap: 15px;
  }
  .entity-page-top .actions {
    flex-direction: column;
  }
  .entity-profile-header {
    flex-wrap: wrap;
  }
  .profile-header-status {
    margin-left: 0;
  }
  .onboarding-grid {
    grid-template-columns: 1fr;
  }
  .summary-grid {
    gap: 15px;
  }
}
@media (max-width: 760px) {
  .perspective {
    align-items: flex-start;
    font-size: 9px;
  }
  .perspective strong {
    display: block;
  }
  .perspective .dot {
    display: none;
  }
  .institution-stats .stat {
    padding: 17px;
  }
  .entity-tabs,
  .profile-tabs {
    gap: 15px;
  }
  .entity-profile-header {
    padding: 20px;
    gap: 13px;
  }
  .entity-profile-header h2 {
    font-size: 16px;
  }
  .entity-profile-header .profile-header-status {
    width: 100%;
    margin-left: 0;
    flex-direction: row;
  }
  .summary-grid {
    grid-template-columns: 1fr;
  }
  .meta-grid {
    grid-template-columns: 1fr 1fr;
  }
  .profile-padding {
    padding: 0 17px 20px;
  }
  .editor-heading {
    padding: 20px;
  }
  .editor-layout {
    display: flex;
    flex-direction: column;
    max-height: calc(90vh - 250px);
  }
  .editor-steps {
    flex-direction: row;
    padding: 10px;
    flex-shrink: 0;
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }
  .editor-steps button {
    white-space: nowrap;
    padding: 8px;
  }
  .editor-body {
    padding: 20px;
  }
  .entity-form-grid,
  .document-grid {
    grid-template-columns: 1fr;
  }
  .span-two {
    grid-column: auto;
  }
  .editor-footer {
    padding: 14px;
    flex-direction: column;
  }
  .editor-footer .actions {
    width: 100%;
    justify-content: flex-end;
  }
  .wide-dialog > div {
    padding: 20px;
  }
  .wide-dialog:has(.editor-layout) > div {
    padding: 0;
  }
  .entity-toolbar .search {
    width: 100%;
    flex-basis: 100%;
  }
  .entity-toolbar select {
    flex: 1;
    min-width: 90px;
  }
  .subscription-row {
    flex-wrap: wrap;
  }
  .subscription-select {
    width: 100%;
    max-width: none;
  }
  .entity-profile-header > .btn {
    width: 100%;
  }
  .document-settings > div {
    font-size: 10px;
    gap: 10px;
  }
  .document-settings select {
    min-width: 120px;
    font-size: 9px;
  }
  .add-document {
    flex-direction: column;
  }
}
/* Institution requests and independent Veri-Hub agents */
.request-filters {
  flex-wrap: wrap;
}
.request-filters .search {
  min-width: 240px;
}
.request-filters input[type="date"] {
  border: 1px solid var(--line);
  background: white;
  border-radius: 6px;
  padding: 8px;
  color: #6e8491;
  font-size: 10px;
}
.request-filters select {
  max-width: 190px;
}
.request-register {
  min-width: 940px;
}
.request-reference {
  text-align: left;
  font-size: 10px;
  padding: 0;
  font-weight: 600;
  line-height: 1.7;
}
.request-detail-reference {
  overflow-wrap: anywhere;
  font-size: 18px;
  line-height: 1.7;
}
.request-detail-top {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 15px 0 22px;
}
.request-detail-grid {
  display: grid;
  grid-template-columns: 1fr 270px;
  gap: 30px;
  margin-top: 10px;
}
.qr-card {
  background: #f2f8f5;
  border: 1px solid #dcebe4;
  border-radius: 9px;
  text-align: center;
  padding: 22px 16px;
  height: fit-content;
}
.qr-image {
  width: 180px;
  height: 180px;
  background: white;
  display: grid;
  place-items: center;
  margin: 0 auto 20px;
  border: 1px solid #e3ece7;
  border-radius: 9px;
  overflow: hidden;
  color: #90a49b;
  font-size: 11px;
}
.qr-image img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}
.qr-card h3 {
  font-size: 13px;
}
.qr-card p {
  font-size: 11px;
  line-height: 1.8;
}
.qr-card .actions {
  justify-content: center;
  gap: 6px;
}
.qr-card .btn {
  font-size: 9px;
  padding: 9px;
}
.qr-card small {
  display: block;
  color: #8fa59a;
  font-size: 9px;
  line-height: 1.8;
  margin-top: 15px;
}
.delivery-list {
  margin: 15px 0;
}
.delivery-list > div {
  padding: 13px 0;
  border-bottom: 1px solid var(--line);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 15px;
  font-size: 11px;
}
.response-card {
  border: 1px solid #dce9e2;
  background: #f7fbf9;
  border-radius: 7px;
  padding: 20px;
  margin-top: 25px;
}
.response-card > p {
  font-size: 11px;
  color: #81938d;
  line-height: 1.8;
}
.api-example {
  font:
    11px/1.9 ui-monospace,
    SFMono-Regular,
    Consolas,
    monospace;
  padding: 20px;
  border: 1px solid #dfe9e6;
  background: #f6faf8;
  color: #466b5d;
  border-radius: 7px;
  overflow: auto;
  white-space: pre-wrap;
  overflow-wrap: anywhere;
}
.adapter-tools {
  padding: 22px 0;
  border-top: 1px solid var(--line);
  margin-top: 24px;
}
.adapter-tools .btn,
.adapter-tools select {
  margin-top: 13px;
}
.adapter-tools select {
  margin-right: 12px;
}
.request-history {
  max-height: 360px;
  overflow: auto;
  margin: 10px 0 20px;
}
.agent-banner {
  display: flex;
  gap: 17px;
  align-items: center;
  padding: 22px;
  border: 1px solid #dbe8e3;
  background: #edf6f1;
  border-radius: 9px;
  margin-bottom: 25px;
}
.agent-banner h2 {
  font-size: 16px;
}
.agent-banner p {
  font-size: 11px;
  color: #799189;
  margin-bottom: 0;
  line-height: 1.8;
}
.agent-banner .badge {
  margin-left: auto;
}
.agent-work-grid {
  display: grid;
  grid-template-columns: 340px 1fr;
  gap: 23px;
  align-items: start;
}
.lookup-card {
  position: sticky;
  top: 20px;
}
.lookup-card .profile-padding {
  padding-top: 0;
}
.lookup-card .full-select {
  font-size: 11px;
}
.lookup-card .full-width {
  margin-top: 20px;
}
.full-width {
  width: 100%;
  justify-content: center;
}
.lookup-footnote {
  border-top: 1px solid var(--line);
  padding: 16px 22px;
  color: #91a19b;
  font-size: 10px;
  line-height: 1.9;
  background: #f9fcfa;
  border-radius: 0 0 9px 9px;
}
.agent-placeholder {
  padding: 70px 35px;
  text-align: center;
  border-style: dashed;
  background: #fafcfb;
  min-height: 350px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}
.agent-placeholder .step-icon {
  width: 55px;
  height: 55px;
  margin-bottom: 25px;
  font-size: 27px;
}
.agent-placeholder h2 {
  font-size: 18px;
}
.agent-placeholder p {
  font-size: 12px;
  line-height: 1.9;
  color: #93a39c;
  max-width: 330px;
}
.agent-request-card .card-head {
  align-items: start;
  gap: 10px;
}
.agent-request-card h2 {
  font-size: 13px;
}
.agent-request-card .request-detail-top {
  margin-top: 0;
}
.consent-statement {
  padding: 20px;
  background: #f0f7f3;
  border: 1px solid #dceae2;
  border-radius: 7px;
}
.consent-statement p {
  font-size: 11px;
  line-height: 1.9;
  color: #789184;
}
.scan-actions {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin: 15px 0;
}
.scan-actions .btn {
  font-size: 10px;
  padding: 9px;
}
.scan-file-label {
  position: relative;
  overflow: hidden;
  cursor: pointer;
}
.scan-file-label input {
  position: absolute;
  opacity: 0;
  inset: 0;
  width: 100%;
  cursor: pointer;
}
#scanner-video {
  width: 100%;
  max-height: 240px;
  border-radius: 7px;
  background: #183342;
}
.agent-directory {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.agent-directory-card {
  padding: 24px;
}
.agent-card-title {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 24px;
}
.agent-directory-card h2 {
  font-size: 16px;
  line-height: 1.6;
}
.agent-directory-card p {
  font-size: 11px;
  line-height: 1.9;
  color: #8a9fa6;
}
.agent-directory-card .full-width {
  margin-top: 18px;
}
.agent-directory-card .detail-line {
  font-size: 10px;
}
.setting-toggle.compact {
  margin: 12px 0;
  padding: 16px;
}
.setting-toggle.compact small {
  margin-top: 4px;
}
.badge.pending-consent,
.badge.pending-biometric-capture {
  background: #fcf5e6;
  color: #ad8a46;
}
.badge.pending-nira-verification {
  background: #edf0fb;
  color: #8088b9;
}
.badge.verification-completed {
  background: #e7f5ec;
  color: #398765;
}
.badge.verification-failed,
.badge.processing-error,
.badge.consent-rejected {
  background: #fbeeee;
  color: #b27373;
}
.badge.cancelled,
.badge.expired {
  background: #edf0f3;
  color: #85939e;
}
@media (max-width: 1150px) {
  .agent-work-grid {
    grid-template-columns: 300px 1fr;
  }
  .agent-directory {
    grid-template-columns: 1fr 1fr;
  }
  .request-detail-grid {
    grid-template-columns: 1fr 240px;
    gap: 20px;
  }
  .request-filters .search {
    flex-basis: 100%;
  }
}
@media (max-width: 900px) {
  .agent-work-grid {
    grid-template-columns: 1fr;
  }
  .lookup-card {
    position: static;
  }
}
@media (max-width: 760px) {
  .request-detail-grid {
    grid-template-columns: 1fr;
  }
  .qr-card {
    max-width: 100%;
  }
  .request-filters select {
    flex: 1;
    min-width: 110px;
    max-width: none;
  }
  .request-filters .search {
    min-width: 0;
  }
  .request-filters input[type="date"] {
    max-width: 150px;
  }
  .agent-directory {
    grid-template-columns: 1fr;
  }
  .agent-banner {
    flex-wrap: wrap;
    padding: 17px;
  }
  .agent-banner h2 {
    font-size: 14px;
  }
  .agent-banner p {
    font-size: 10px;
  }
  .agent-banner .badge {
    margin-left: 0;
  }
  .agent-placeholder {
    padding: 40px 25px;
    min-height: 250px;
  }
  .delivery-list > div {
    flex-wrap: wrap;
  }
  .request-detail-reference {
    font-size: 15px;
  }
  .agent-request-card .card-head {
    flex-wrap: wrap;
  }
  .agent-request-card .request-detail-reference {
    font-size: 12px;
  }
  .adapter-tools .btn {
    width: 100%;
  }
}
#header-profile {
  border: 0;
  cursor: pointer;
}
.operator-table {
  min-width: 860px;
}
.operator-group-member {
  padding: 15px 0;
  border-top: 1px solid var(--line);
  font-size: 12px;
}
.operator-group-member strong {
  display: block;
}
.operator-group-member small {
  display: block;
  color: #8ca098;
  font-size: 10px;
  line-height: 1.8;
  margin: 5px 0;
}
.qr-card .actions {
  flex-wrap: wrap;
}
#capture-operator-gps {
  margin-bottom: 12px;
}
.agent-directory-card .actions {
  flex-wrap: wrap;
}
.history-filters {
  padding: 0 22px 22px;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 17px;
}
.history-filters .entity-field input,
.history-filters .entity-field select {
  font-size: 11px;
  min-width: 0;
}
.history-filters > .btn {
  align-self: end;
  height: 39px;
}
.history-table {
  min-width: 1050px;
}
.history-table td {
  vertical-align: top;
  line-height: 1.8;
}
.history-table .cell-small {
  line-height: 1.8;
}
.history-filter-error {
  color: #b26760;
  font-size: 11px;
  padding: 0 22px 15px;
}
.history-filter-error:empty {
  display: none;
}
.history-pagination {
  align-items: center;
  gap: 15px;
}
.history-pagination > div {
  display: flex;
  align-items: center;
  gap: 12px;
}
.history-pagination .btn {
  padding: 7px 11px;
  font-size: 9px;
}
@media (max-width: 1100px) {
  .history-filters {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}
@media (max-width: 760px) {
  .history-filters {
    grid-template-columns: 1fr 1fr;
    padding: 0 17px 17px;
    gap: 14px;
  }
  .history-pagination {
    flex-direction: column;
    align-items: start;
  }
  .history-pagination > div {
    width: 100%;
    justify-content: space-between;
  }
}
