.nav-parent {
  margin-top: 4px;
}
.nav-parent.active-parent {
  background: #ffffff0b;
  color: #fff;
}
.nav-arrow {
  margin-left: auto;
  color: #647c98;
  font-size: 10px;
}
.nav-children {
  padding: 2px 0 7px 18px;
  border-left: 1px solid #29405b;
  margin-left: 22px;
}
.nav-child {
  position: relative;
  width: 100%;
  min-height: 30px;
  border: 0;
  background: transparent;
  color: #7187a0;
  text-align: left;
  padding: 6px 8px 6px 14px;
  font-size: 9.5px;
  line-height: 1.35;
  cursor: pointer;
  border-radius: 5px;
}
.nav-child > span {
  position: absolute;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: #405a77;
  left: -21px;
  top: 13px;
}
.nav-child:hover {
  color: #dce9f7;
  background: #ffffff07;
}
.nav-child.active {
  color: #fff;
  background: #1769e022;
  font-weight: 700;
}
.nav-child.active > span {
  background: #3d91ff;
  box-shadow: 0 0 0 3px #1769e035;
}
.section-kicker {
  color: var(--blue) !important;
  font: 800 10px Inter !important;
  letter-spacing: 0.6px;
  margin: 0 0 7px !important;
}
.danger-btn {
  height: 38px;
  border-radius: 7px;
  padding: 0 15px;
  font-weight: 700;
  font-size: 11px;
  cursor: pointer;
  border: 1px solid #f1c4c4;
  background: #fff;
  color: #d24b4b;
}
.crud-actions {
  align-items: center;
}
.selection-help {
  margin-left: auto;
  color: #9aa5b3;
  font-size: 10px;
  align-self: center;
}
.check-cell {
  width: 42px !important;
  text-align: center;
}
.row-check {
  display: inline-block;
  width: 15px;
  height: 15px;
  border: 1px solid #c9d2de;
  border-radius: 50%;
  vertical-align: middle;
}
.select-table tbody tr {
  cursor: pointer;
}
.select-table tr.selected td {
  background: #edf5ff;
}
.select-table tr.selected .row-check {
  border: 4px solid var(--blue);
}
@media (max-width: 760px) {
  .selection-help {
    display: none;
  }
  .crud-actions {
    margin-top: 14px;
  }
  .nav-children {
    margin-left: 20px;
  }
  .page-title .actions {
    flex-wrap: wrap;
  }
}

.account-request-btn {
  width: 100%;
  height: 42px;
  margin-top: 10px;
  border: 1px solid #cfe0f5;
  border-radius: 8px;
  background: #f5f9ff;
  color: #1769e0;
  font-weight: 700;
  font-size: 11px;
  cursor: pointer;
}
.account-request-btn:hover {
  background: #eaf3ff;
}
.identity-corner {
  position: fixed;
  right: 22px;
  bottom: 18px;
  z-index: 90;
  min-width: 205px;
  padding: 10px 14px;
  border: 1px solid #dce4ee;
  border-radius: 9px;
  background: #fff;
  box-shadow: 0 10px 28px #102b4f1c;
  text-align: right;
}
.identity-corner small,
.identity-corner b {
  display: block;
}
.identity-corner small {
  margin-bottom: 3px;
  color: #93a0af;
  font-size: 8px;
  letter-spacing: 1px;
}
.identity-corner b {
  color: #24354c;
  font-size: 11px;
}
.toast {
  bottom: 75px;
}
.account-hierarchy {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
  margin-bottom: 17px;
}
.account-hierarchy article {
  position: relative;
  min-height: 150px;
  padding: 19px;
  border: 1px solid var(--line);
  border-radius: 11px;
  background: #fff;
  overflow: hidden;
}
.account-hierarchy article:after {
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 3px;
  background: #1769e0;
}
.account-hierarchy article:nth-child(2):after {
  background: #19a98b;
}
.account-hierarchy article:nth-child(3):after {
  background: #f28b38;
}
.account-hierarchy article:nth-child(4):after {
  background: #8659d7;
}
.account-hierarchy span {
  display: block;
  color: #9aa8b8;
  font: 700 9px Inter;
  letter-spacing: 1px;
}
.account-hierarchy b {
  display: block;
  margin: 12px 0 8px;
  font-size: 14px;
}
.account-hierarchy p {
  margin: 0;
  color: var(--muted);
  font-size: 10px;
  line-height: 1.6;
}
.account-hierarchy em {
  display: inline-block;
  margin-top: 12px;
  padding: 4px 8px;
  border-radius: 20px;
  background: #eef4fb;
  color: #4c6f98;
  font-style: normal;
  font-size: 9px;
  font-weight: 700;
}
.account-summary {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  margin-bottom: 22px;
}
.account-summary > div {
  padding: 17px 19px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: #fff;
}
.account-summary small,
.account-summary b {
  display: block;
}
.account-summary small {
  color: var(--muted);
  font-size: 9px;
}
.account-summary b {
  margin-top: 5px;
  font-size: 17px;
}
.account-section {
  margin-top: 22px;
}
.account-section-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  margin-bottom: 10px;
}
.account-section-head h2 {
  margin: 0;
  font-size: 15px;
}
.account-section-head p {
  margin: 4px 0 0;
  color: var(--muted);
  font-size: 10px;
}
.cell-sub {
  display: block;
  margin-top: 3px;
  color: #8b98a8;
  font-size: 9px;
}
.request-actions {
  white-space: nowrap;
}
.mini-btn.reject {
  border-color: #efd2d2;
  background: #fff5f5;
  color: #c84f4f;
}
.empty-account-row {
  padding: 30px;
  text-align: center;
  color: #95a0ae;
}
.account-section .table-card {
  overflow-x: auto;
}
.account-section table {
  min-width: 820px;
}
@media (max-width: 1100px) {
  .account-hierarchy {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (max-width: 760px) {
  .identity-corner {
    right: 12px;
    bottom: 12px;
    min-width: 180px;
  }
  .toast {
    bottom: 67px;
  }
  .account-hierarchy,
  .account-summary {
    grid-template-columns: 1fr;
  }
  .account-hierarchy article {
    min-height: auto;
  }
  .account-section {
    margin-top: 18px;
  }
}
.source-link {
  display: flex;
  align-items: center;
  gap: 14px;
  background: linear-gradient(100deg, #edf5ff, #f8fbff);
  border: 1px solid #cfe1f8;
  border-radius: 10px;
  padding: 15px 17px;
  margin: -7px 0 16px;
}
.source-link-icon {
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  background: #1769e0;
  color: #fff;
  border-radius: 9px;
  font-size: 18px;
}
.source-link > div:nth-child(2) {
  flex: 1;
}
.source-link small,
.source-link b,
.source-link p {
  display: block;
}
.source-link small {
  font-size: 9px;
  color: #4f83c4;
  font-weight: 800;
  margin-bottom: 3px;
}
.source-link b {
  font-size: 11px;
}
.source-link p {
  font-size: 9px;
  color: #7b8ba0;
  margin: 4px 0 0;
}
@media (max-width: 760px) {
  .source-link {
    align-items: flex-start;
    flex-wrap: wrap;
  }
  .source-link button {
    margin-left: 52px;
  }
}

.account-list-btn {
  width: 100%;
  height: 42px;
  margin-top: 26px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fafbfc;
  color: #33415a;
  font-weight: 700;
  font-size: 11px;
  cursor: pointer;
}
.account-list-btn:hover {
  background: #f1f5fa;
  border-color: #cfe0f5;
  color: #1769e0;
}
.account-picker {
  display: grid;
  gap: 16px;
  margin-top: 6px;
}
.account-picker section {
  display: grid;
  gap: 6px;
}
.account-picker h3 {
  margin: 0 0 2px;
  font-size: 9px;
  font-weight: 800;
  letter-spacing: 1.2px;
  color: #9aa5b3;
  text-transform: uppercase;
}
.account-picker-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  width: 100%;
  padding: 11px 13px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  cursor: pointer;
  text-align: left;
}
.account-picker-item:hover {
  border-color: #1769e0;
  background: #f5f9ff;
}
.account-picker-info b {
  display: block;
  font-size: 12px;
  color: #1b2942;
}
.account-picker-info small {
  display: block;
  font-size: 10px;
  color: var(--muted);
  margin-top: 2px;
}
.account-picker-item em {
  flex: none;
  font-style: normal;
  font-size: 10px;
  font-weight: 700;
  color: #1769e0;
  background: #eef4fd;
  border-radius: 5px;
  padding: 4px 7px;
}
.reference-notice {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin: 14px 0;
  padding: 14px 16px;
  border: 1px solid #d7c9ff;
  border-left: 4px solid #6d4bd1;
  border-radius: 10px;
  background: #f8f5ff;
  color: #44376a;
}
.reference-notice span,
.reference-label {
  display: inline-flex;
  align-items: center;
  width: max-content;
  border-radius: 999px;
  background: #6d4bd1;
  color: #fff;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.02em;
  padding: 4px 8px;
  white-space: nowrap;
}
.reference-notice p {
  margin: 0;
  line-height: 1.55;
}
.reference-row td {
  background: #fbf9ff;
}
.reference-row:hover td {
  background: #f5f0ff !important;
}
.reference-row .reference-label {
  display: flex;
  margin-top: 5px;
}
.reference-archive {
  margin: 18px 0;
  padding: 17px;
  border: 1px solid #d7c9ff;
  border-radius: 12px;
  background: #fbf9ff;
}
.reference-archive-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 13px;
}
.reference-archive-head span {
  display: inline-flex;
  padding: 4px 8px;
  border-radius: 999px;
  background: #6d4bd1;
  color: #fff;
  font-size: 9px;
  font-weight: 800;
}
.reference-archive-head h2 {
  margin: 7px 0 3px;
  font-size: 15px;
  color: #33245e;
}
.reference-archive-head p {
  margin: 0;
  color: #766a96;
  font-size: 10px;
  line-height: 1.55;
}
.reference-archive-head > b {
  flex: none;
  color: #6d4bd1;
  font-size: 12px;
}
.reference-archive-list,
.reference-organization-list {
  display: grid;
  gap: 9px;
}
.reference-archive-list > article,
.reference-organization-list > article {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 15px;
  padding: 13px 14px;
  border: 1px solid #e2d9fb;
  border-radius: 9px;
  background: #fff;
}
.reference-archive-list small,
.reference-organization-list small {
  color: #6d4bd1;
  font-size: 9px;
  font-weight: 800;
}
.reference-archive-list h3,
.reference-organization-list h3 {
  margin: 4px 0;
  font-size: 12px;
}
.reference-archive-list p,
.reference-organization-list p {
  margin: 0;
  color: #718094;
  font-size: 9px;
}
.reference-archive-list span {
  display: inline-block;
  margin-top: 5px;
  color: #594784;
  font-size: 9px;
}
.reference-organization-list {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}
.reference-organization-list > article {
  display: block;
}
.reference-organization-list header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 10px;
}
.reference-organization-list header > span {
  padding: 3px 7px;
  border-radius: 999px;
  background: #6d4bd1;
  color: #fff;
  font-size: 8px;
  font-weight: 800;
}
.reference-organization-list ul {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 5px;
  margin: 10px 0 0;
  padding: 0;
  list-style: none;
}
.reference-organization-list li {
  display: flex;
  justify-content: space-between;
  gap: 7px;
  padding: 6px 8px;
  border-radius: 6px;
  background: #f7f3ff;
  font-size: 9px;
}
.reference-organization-list li span {
  color: #796b98;
  text-align: right;
}
.reference-assignment-table {
  margin-top: 0;
}
@media (max-width: 760px) {
  .reference-archive-head {
    display: block;
  }
  .reference-archive-head > b {
    display: block;
    margin-top: 8px;
  }
  .reference-archive-list > article {
    align-items: flex-start;
    flex-direction: column;
  }
  .reference-organization-list {
    grid-template-columns: 1fr;
  }
  .reference-organization-list ul {
    grid-template-columns: 1fr;
  }
}
