@import url("https://fonts.googleapis.com/css2?family=DM+Sans:wght@400;500;600;700&family=Manrope:wght@400;500;600;700;800&display=swap");
:root {
  font-family: "DM Sans", system-ui, sans-serif;
  color: #25334b;
  background: #f4f7fc;
  font-synthesis: none;
  --navy: #0b1b40;
  --blue: #1769ff;
  --line: #e2e8f2;
  --muted: #607087;
  --gutter: clamp(20px, 2vw, 36px);
  --shadow: 0 3px 16px #0b1b4004, 0 1px 3px #0b1b4003;
}
* {
  box-sizing: border-box;
}
body {
  margin: 0;
  font-size: 14px;
  -webkit-font-smoothing: antialiased;
}
a {
  color: inherit;
  text-decoration: none;
}
button,
input,
select,
textarea {
  font: inherit;
}
button,
a,
input,
select,
textarea {
  outline-offset: 4px;
}
button {
  cursor: pointer;
}
button:focus-visible,
a:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible,
[tabindex="0"]:focus-visible {
  outline: 3px solid #1769ff55;
  outline-offset: 3px;
}
button:disabled {
  opacity: 0.55;
  cursor: wait;
}
button,
input,
select,
textarea {
  border: 1px solid var(--line);
  border-radius: 8px;
}
input,
select,
textarea {
  padding: 11px 12px;
  min-height: 43px;
  background: white;
  color: inherit;
  max-width: 100%;
}
textarea {
  resize: vertical;
  min-height: 100px;
}
h1,
h2,
h3 {
  font-family: Manrope, system-ui, sans-serif;
  color: var(--navy);
  margin: 0;
}
h1 {
  font-size: 30px;
  font-weight: 800;
  letter-spacing: -1px;
}
h2 {
  font-size: 19px;
  letter-spacing: -0.4px;
}
h3 {
  font-size: 16px;
}
p {
  line-height: 1.65;
  margin: 10px 0;
}
small {
  font-size: 12px;
}
.workspace {
  display: grid;
  grid-template-columns: 244px minmax(0, 1fr);
  min-height: 100vh;
}
.sidebar {
  position: sticky;
  top: 0;
  height: 100vh;
  overflow: auto;
  background: linear-gradient(168deg, #0b1b3d 0%, #0f2756 54%, #143678 100%);
  color: #c2d1ea;
  display: flex;
  flex-direction: column;
  padding: 20px 13px 16px;
  border-right: 1px solid #ffffff14;
  scrollbar-width: thin;
  scrollbar-color: #3c5276 transparent;
}
.brand {
  display: flex;
  align-items: center;
  gap: 11px;
  padding: 2px 10px 20px;
  border-bottom: 1px solid #ffffff14;
  margin-bottom: 8px;
  color: white;
  font:
    800 12px Manrope,
    sans-serif;
  letter-spacing: 0.3px;
}
.brand img {
  border-radius: 10px;
  object-fit: cover;
  box-shadow: 0 4px 12px #0004;
}
.brand small {
  display: block;
  font-size: 8px;
  letter-spacing: 1.6px;
  color: #97b3dd;
  margin-top: 4px;
}
.sidebar nav {
  padding-bottom: 16px;
  flex: 1;
}
.nav-group {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 1.6px;
  color: #7f9bc4;
  margin: 18px 12px 6px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.nav-group-toggle {
  width: 100%;
  background: none;
  border: 0;
  padding: 6px 12px;
  margin: 12px 0 3px;
  color: #86a3cc;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 1.6px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-radius: 6px;
}
.nav-group-toggle:hover {
  color: #fff;
  background: #ffffff0a;
}
.nav-group-toggle .nav-chevron {
  transition: transform 150ms ease;
  font-size: 10px;
  opacity: 0.8;
}
.nav-section.collapsed .nav-group-items {
  display: none;
}
.nav-section.collapsed .nav-group-toggle .nav-chevron {
  transform: rotate(-90deg);
}
.nav-link {
  display: flex;
  gap: 11px;
  align-items: center;
  border-radius: 9px;
  padding: 9px 12px;
  margin: 2px 0;
  font-size: 12.5px;
  font-weight: 500;
  color: #c5d4ec;
  transition:
    color 160ms ease,
    background 160ms ease,
    box-shadow 160ms ease;
}
.nav-link:hover {
  background: #ffffff14;
  color: white;
}
.nav-link.active {
  background: linear-gradient(135deg, #2575ff, #145ce6);
  color: white;
  font-weight: 600;
  box-shadow: 0 6px 18px #07143055;
}
.nav-link-text {
  flex: 1;
  min-width: 0;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.nav-badge {
  background: #ffffff1f;
  color: #eff5ff;
  font-size: 10px;
  font-weight: 700;
  padding: 2px 7px;
  border-radius: 999px;
  font-variant-numeric: tabular-nums;
  line-height: 1.3;
}
.nav-link.active .nav-badge {
  background: #ffffff33;
  color: white;
}
.nav-icon {
  width: 17px;
  height: 17px;
  flex: none;
  stroke: currentColor;
  fill: none;
  stroke-width: 1.7;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.sidebar-footer {
  margin-top: auto;
  border-top: 1px solid #ffffff1a;
  padding: 14px 8px 0;
  font-size: 11px;
  color: #d2dcee;
}
.sidebar-user {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 6px 6px;
  border-radius: 10px;
  background: #ffffff0c;
}
.sidebar-avatar {
  width: 34px;
  height: 34px;
  border-radius: 9px;
  background: linear-gradient(135deg, #2b7aff, #1756c9);
  color: white;
  font-weight: 800;
  font-size: 12px;
  display: grid;
  place-items: center;
  flex: none;
}
.sidebar-user-info {
  min-width: 0;
  flex: 1;
}
.sidebar-user-info strong {
  display: block;
  color: white;
  font-size: 12px;
  font-weight: 600;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.sidebar-user-info small {
  display: block;
  color: #93aed6;
  font-size: 10px;
  margin: 3px 0 0;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.online-dot {
  display: inline-block;
  width: 6px;
  height: 6px;
  background: #5ce0b5;
  border-radius: 100%;
  margin-right: 5px;
}
main {
  min-width: 0;
}
.topbar {
  min-height: 74px;
  background: #ffffffed;
  position: sticky;
  top: 0;
  z-index: 4;
  backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line);
  display: flex;
  gap: 18px;
  align-items: center;
  justify-content: space-between;
  padding: 14px var(--gutter);
}
.topbar-nav {
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
}
.back-button {
  min-height: 34px;
  padding: 6px 12px;
  font-size: 12px;
  font-weight: 600;
  border-radius: 7px;
  white-space: nowrap;
}
.topbar #breadcrumb {
  font-size: 13px;
  font-weight: 600;
  white-space: nowrap;
}
.global-search {
  display: flex;
  margin-left: auto;
  max-width: 420px;
  width: 100%;
  position: relative;
}
.global-search input {
  background: #f7f9fc;
  border: 0;
  width: 100%;
  padding-right: 42px;
  font-size: 12px;
}
.global-search button {
  position: absolute;
  right: 4px;
  top: 4px;
  width: 34px;
  height: 34px;
  background: none;
  border: 0;
  color: #6d7e96;
}
.operator {
  display: flex;
  align-items: center;
  gap: 10px;
  background: none;
  border: 0;
  text-align: left;
  white-space: nowrap;
  font-size: 11px;
}
.operator > span {
  width: 36px;
  height: 36px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: #edf3ff;
  color: var(--blue);
  font-weight: 700;
}
.operator small {
  display: block;
  color: var(--muted);
  font-size: 10px;
  margin-top: 4px;
}
.content {
  width: 100%;
  max-width: none;
  padding: 28px var(--gutter) 36px;
  margin: 0;
  min-height: calc(100vh - 140px);
}
.page-heading {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 22px;
}
.page-heading > :first-child {
  min-width: 0;
  flex: 1;
}
.page-heading h1 {
  overflow-wrap: anywhere;
}
.heading-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
}
.page-heading p {
  font-size: 13px;
  color: var(--muted);
  margin-bottom: 0;
}
.eyebrow {
  text-transform: uppercase;
  letter-spacing: 1.4px;
  font-size: 10px;
  font-weight: 700;
  color: #74839b;
  margin: 0 0 10px;
}
.tag {
  background: #ecf3ff;
  color: #2362c8;
  border-radius: 6px;
  padding: 6px 10px;
  font-size: 10px;
  font-weight: 700;
  white-space: nowrap;
}
.workspace-tag {
  display: inline-flex;
  align-items: center;
  gap: 7px;
}
.workspace-tag i {
  width: 6px;
  height: 6px;
  background: #1769ff;
  border-radius: 50%;
}
.primary,
.secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 41px;
  padding: 10px 16px;
  font-size: 13px;
  font-weight: 600;
  border-radius: 8px;
  transition:
    background 160ms ease,
    border-color 160ms ease,
    box-shadow 160ms ease;
}
.primary {
  background: var(--blue);
  color: white;
  border: 1px solid var(--blue);
  box-shadow: 0 4px 12px #1769ff18;
}
.primary:hover {
  background: #1158d9;
  box-shadow: 0 5px 16px #1769ff29;
}
.secondary {
  background: white;
  color: #344560;
  border: 1px solid var(--line);
}
.secondary:hover {
  background: #f4f8ff;
  border-color: #c4d5f0;
}
.text-link {
  color: var(--blue);
  font-size: 12px;
  font-weight: 600;
}
.kpis {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  margin-bottom: 20px;
}
.kpi {
  border: 1px solid var(--line);
  border-radius: 15px;
  background: white;
  padding: 19px 20px;
  box-shadow: var(--shadow);
  position: relative;
  overflow: hidden;
  transition:
    transform 160ms ease,
    border-color 160ms ease,
    box-shadow 160ms ease;
}
.kpi::before {
  content: "";
  position: absolute;
  width: 110px;
  height: 110px;
  border-radius: 50%;
  background: radial-gradient(circle, #1769ff0d, transparent 70%);
  top: -40px;
  right: -30px;
  pointer-events: none;
}
.kpi-arrow {
  position: absolute;
  right: 20px;
  bottom: 18px;
  color: #859bbb;
  opacity: 0;
  transition: opacity 160ms ease;
}
.kpi:hover .kpi-arrow,
.kpi:focus-visible .kpi-arrow {
  opacity: 1;
}
.kpi:hover {
  transform: translateY(-2px);
  border-color: #b3c9ef;
  box-shadow: 0 8px 24px #0b1b400a;
}
.kpi-top {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  align-items: center;
  font-size: 12px;
  color: #5d6c83;
}
.kpi-icon {
  display: grid;
  place-items: center;
  width: 32px;
  height: 32px;
  border-radius: 9px;
  background: #edf3ff;
  color: var(--blue);
}
.kpi strong {
  font:
    800 33px Manrope,
    sans-serif;
  display: block;
  margin-top: 12px;
  font-variant-numeric: tabular-nums;
  color: var(--navy);
}
.kpi small {
  display: block;
  color: #697b93;
  margin-top: 7px;
  font-size: 11px;
  line-height: 1.5;
  padding-right: 8px;
}
.two-column {
  display: grid;
  align-items: start;
  grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr);
  gap: 18px;
  margin-bottom: 18px;
}
.three-column {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  margin-bottom: 18px;
}
.panel {
  background: white;
  border: 1px solid var(--line);
  border-radius: 15px;
  padding: 21px;
  box-shadow: var(--shadow);
  min-width: 0;
}
.panel-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  margin-bottom: 18px;
}
.panel .eyebrow {
  color: #71819b;
  font-size: 9px;
  letter-spacing: 1.4px;
  margin-bottom: 7px;
}
.panel h2 {
  font-size: 16px;
}
.chart {
  display: flex;
  align-items: end;
  gap: 8px;
  min-height: 170px;
  padding-top: 20px;
  border-bottom: 1px solid var(--line);
}
.bar {
  display: flex;
  flex-direction: column;
  justify-content: end;
  align-items: center;
  flex: 1;
  min-width: 0;
  height: 150px;
}
.bar i {
  display: block;
  background: linear-gradient(#5592ff, #1769ff);
  width: min(35px, 80%);
  min-height: 3px;
  border-radius: 4px 4px 0 0;
}
.bar small {
  font-size: 8px;
  color: var(--muted);
  margin: 7px 0;
}
.metric-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: 12px 0;
  border-bottom: 1px solid #eef1f6;
  font-size: 12px;
}
.metric-row:last-child {
  border: 0;
}
.metric-row strong {
  color: var(--navy);
}
.metric-row .track {
  height: 5px;
  flex: 1;
  max-width: 120px;
  background: #edf2fa;
  border-radius: 4px;
}
.track i {
  display: block;
  height: 100%;
  background: #1769ff;
  border-radius: 4px;
}
.muted,
.empty {
  color: var(--muted);
  font-size: 12px;
}
.empty {
  padding: 24px 16px;
  text-align: center;
  line-height: 1.8;
  border: 1px dashed #dbe5f3;
  background: #fafcff;
  border-radius: 10px;
}
.empty p {
  margin: 10px auto 0;
  max-width: 44ch;
  font-size: 12px;
}
.empty-icon {
  display: inline-grid;
  place-items: center;
  width: 36px;
  height: 36px;
  border-radius: 11px;
  background: #edf4ff;
  color: #6c94d8;
}
.toolbar {
  display: flex;
  gap: 12px;
  align-items: flex-end;
  flex-wrap: wrap;
  margin: 0 0 18px;
}
.toolbar input {
  flex: 1;
  min-width: 180px;
}
.toolbar > input {
  max-width: 520px;
  flex-basis: 240px;
}
.toolbar [data-feature="export-list"] {
  margin-left: auto;
}
.toolbar select {
  font-size: 12px;
}
.table-panel {
  padding: 0;
  overflow: hidden;
}
.table-panel > .toolbar {
  padding: 20px;
  margin: 0;
  border-bottom: 1px solid var(--line);
}
.table-scroll {
  overflow: auto;
  scrollbar-width: thin;
  scrollbar-color: #c0cee2 transparent;
}
.table-panel > .table-scroll {
  max-height: min(68vh, 780px);
}
.table-panel > .table-scroll th {
  position: sticky;
  top: 0;
  z-index: 1;
}
table {
  width: 100%;
  border-collapse: collapse;
  text-align: left;
  font-size: 13px;
  white-space: normal;
}
th {
  background: #f8fafd;
  font-size: 11px;
  letter-spacing: 0.3px;
  color: #64728a;
  font-weight: 600;
  padding: 14px 18px;
  border-bottom: 1px solid var(--line);
  white-space: nowrap;
}
td {
  padding: 14px 18px;
  border-bottom: 1px solid #edf1f6;
  line-height: 1.65;
  vertical-align: middle;
  min-width: 100px;
  max-width: 330px;
  overflow-wrap: break-word;
}
td strong {
  color: var(--navy);
  font-weight: 600;
}
td small {
  display: block;
  color: #697b93;
  font-size: 11px;
  line-height: 1.55;
  margin-top: 3px;
}
tbody tr:last-child td {
  border-bottom: 0;
}
td:last-child:has(button, a) {
  width: 1%;
  white-space: nowrap;
}
#content[data-detail="false"][data-view="students"]
  > .table-panel
  th:nth-child(3) {
  width: 120px;
}
#content[data-detail="false"][data-view="students"]
  > .table-panel
  th:nth-child(4) {
  width: 150px;
}
#content[data-detail="false"][data-view="applications"]
  > .table-panel
  th:nth-child(3) {
  width: 34%;
}
tbody tr:hover {
  background: #f8faff;
}
.status {
  display: inline-flex;
  padding: 4px 8px;
  border-radius: 5px;
  background: #edf3ff;
  color: #2362c8;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.2px;
  white-space: nowrap;
}
.status.green {
  background: #e9f7f0;
  color: #247852;
}
.status.orange {
  background: #fff4e5;
  color: #b0731b;
}
.status.red {
  background: #ffeded;
  color: #ba4545;
}
.status.gray {
  background: #edf0f4;
  color: #778294;
}
.pagination {
  padding: 16px 20px;
  display: flex;
  gap: 12px;
  align-items: center;
  justify-content: space-between;
  font-size: 11px;
  color: var(--muted);
}
.pagination > div {
  display: flex;
  gap: 8px;
}
.pagination button {
  padding: 7px 12px;
  background: white;
  color: inherit;
  font-size: 11px;
}
.profile-title {
  display: flex;
  align-items: center;
  gap: 16px;
}
.avatar {
  width: 56px;
  height: 56px;
  border-radius: 14px;
  background: #eaf2ff;
  display: grid;
  place-items: center;
  font: 800 22px Manrope;
  color: var(--blue);
}
.tabs {
  display: flex;
  gap: 22px;
  overflow: auto;
  border-bottom: 1px solid var(--line);
  margin: 0 0 20px;
  scrollbar-width: thin;
}
.tabs a {
  border: 0;
  border-bottom: 2px solid transparent;
  border-radius: 0;
  background: none;
  white-space: nowrap;
  padding: 13px 2px;
  font-size: 13px;
  color: #6d7b90;
}
.tabs a.active {
  color: var(--blue);
  border-color: var(--blue);
  font-weight: 700;
}
.facts {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  margin: 0;
}
.facts > div {
  background: #f8fafd;
  border: 1px solid #eef2f8;
  border-radius: 10px;
  padding: 12px 14px;
  min-width: 0;
}
.facts dt {
  color: #64748b;
  font-size: 11px;
  margin-bottom: 7px;
}
.facts dd {
  color: var(--navy);
  font-size: 13px;
  line-height: 1.7;
  margin: 0;
  overflow-wrap: anywhere;
}
.activity {
  display: flex;
  gap: 13px;
  padding: 12px 0;
  border-bottom: 1px solid #edf1f6;
}
.activity-list {
  max-height: 400px;
  overflow-y: auto;
  scrollbar-width: thin;
  padding-right: 6px;
}
.activity .dot {
  width: 8px;
  height: 8px;
  margin-top: 6px;
  background: #9abdfd;
  border: 2px solid #e8f0ff;
  border-radius: 50%;
  flex: none;
}
.activity p {
  font-size: 11px;
  line-height: 1.6;
  margin: 0;
}
.activity small {
  color: var(--muted);
  font-size: 9px;
}
.cards {
  display: grid;
  gap: 15px;
  grid-template-columns: repeat(auto-fit, minmax(min(340px, 100%), 1fr));
}
.doc-card {
  display: flex;
  gap: 16px;
  align-items: center;
  padding: 18px;
  background: white;
  border: 1px solid var(--line);
  border-radius: 10px;
}
.doc-file {
  width: 42px;
  height: 48px;
  flex: none;
  border-radius: 7px;
  background: #edf3ff;
  color: #3972ca;
  display: grid;
  place-items: center;
  font-size: 9px;
  font-weight: 700;
}
.doc-info {
  flex: 1;
  min-width: 0;
}
.doc-info h3 {
  font-size: 13px;
  overflow-wrap: anywhere;
}
.doc-info p {
  font-size: 10px;
  margin: 5px 0;
  color: var(--muted);
}
.doc-actions {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}
.doc-actions button {
  background: white;
  border: 1px solid var(--line);
  padding: 8px 10px;
  font-size: 10px;
  color: var(--blue);
}
.notice {
  border-left: 3px solid #b8a06b;
  padding: 12px 16px;
  background: #fffaf1;
  border-radius: 0 7px 7px 0;
  color: #7a663f;
  font-size: 12px;
  line-height: 1.8;
  margin-bottom: 20px;
}
.feedback {
  margin: 20px var(--gutter) 0;
  padding: 13px 18px;
  background: #fff0ed;
  border: 1px solid #f4d4cc;
  border-radius: 8px;
  font-size: 12px;
  color: #9f4c37;
}
footer {
  border-top: 1px solid var(--line);
  padding: 18px var(--gutter);
  color: #8490a3;
  font-size: 10px;
  display: flex;
  justify-content: space-between;
}
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip-path: inset(50%);
}
.icon-button {
  background: none;
  border: 0;
  padding: 8px;
}
.menu {
  display: none;
}
.sidebar-close {
  display: none;
}
dialog {
  border: 1px solid var(--line);
  border-radius: 17px;
  width: min(720px, calc(100vw - 32px));
  padding: 28px;
  color: #25334b;
  box-shadow: 0 24px 100px #0b1b4040;
  max-height: calc(100dvh - 40px);
  overflow: auto;
}
dialog::backdrop {
  background: #0b1b4075;
  backdrop-filter: blur(3px);
}
dialog h2 {
  margin-bottom: 18px;
}
dialog label {
  display: grid;
  gap: 7px;
  font-size: 12px;
  margin: 17px 0;
}
#action-content form {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}
#action-content form > :not(label),
#action-content form > label:has(textarea) {
  grid-column: 1 / -1;
}
#action-content form > label {
  margin: 0;
  min-width: 0;
  align-content: start;
}
#action-content form > .eyebrow,
#action-content form > h2 {
  margin: 0;
}
#action-content form > .form-actions {
  border-top: 1px solid var(--line);
  padding-top: 18px;
  margin-top: 4px;
}
dialog pre {
  overflow-wrap: anywhere;
  white-space: pre-wrap;
  font-size: 12px;
  line-height: 1.6;
}
dialog input,
dialog select,
dialog textarea {
  width: 100%;
}
.form-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 10px;
  margin-top: 24px;
}
#connect-error {
  font-size: 12px;
  color: #bb4141;
}
.currency-row {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 14px;
  padding: 12px 0;
  border-bottom: 1px solid var(--line);
}
.currency-row strong {
  display: block;
  margin: 8px 0;
  font: 800 22px Manrope;
  color: var(--navy);
}
.currency-arrow {
  background: #edf4ff;
  color: #1769ff;
  width: 32px;
  height: 32px;
  border-radius: 10px;
  display: grid;
  place-items: center;
  flex: none;
}
.finance-due {
  color: #a26b21 !important;
}
.currency-row small {
  display: block;
  color: var(--muted);
}
.ledger-hero {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
  margin-bottom: 22px;
}
.ledger-hero .panel strong {
  display: block;
  font: 800 27px Manrope;
  margin-top: 14px;
  color: var(--navy);
}
.actions-row {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}
.code {
  font-family: ui-monospace, monospace;
  font-size: 11px;
}
.truncate {
  max-width: 300px;
  overflow-wrap: anywhere;
}
.login-state {
  max-width: 600px;
  margin: 80px auto;
  text-align: center;
}
.client-login {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 440px);
  gap: 60px;
  align-items: center;
  max-width: 1050px;
  margin: 45px auto;
}
.client-login h1 {
  font-size: 38px;
  line-height: 1.2;
  margin: 18px 0;
}
.client-login p {
  line-height: 1.8;
  color: #4b5563;
}
.preview-points {
  display: grid;
  gap: 14px;
  margin: 28px 0;
  color: #102a56;
  font-size: 14px;
}
.preview-points span::before {
  content: "✓";
  display: inline-grid;
  place-items: center;
  background: #eaf2ff;
  color: #1769ff;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  margin-right: 10px;
}
.demo-roles {
  display: flex;
  gap: 7px;
  flex-wrap: wrap;
  margin: 20px 0;
}
.demo-roles button {
  font-size: 11px;
  padding: 8px 10px;
}
.client-login .primary {
  width: 100%;
  margin: 10px 0 20px;
}
.report-value {
  display: block;
  font-size: 32px;
  margin: 14px 0;
  color: #102a56;
}
.permission-grid {
  border: 1px solid #e2e8f0;
  border-radius: 10px;
  padding: 16px;
  margin: 20px 0;
  display: grid;
  gap: 12px;
}
.permission-grid label {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 0;
  font-weight: 400;
}
.permission-grid input[type="checkbox"] {
  width: 17px;
  height: 17px;
  min-height: 0;
}
.toolbar label {
  font-size: 10px;
  display: grid;
  gap: 4px;
}
.toolbar label select {
  min-width: 125px;
}
.actions-row {
  align-items: center;
}
.actions-row button {
  white-space: nowrap;
}
.operator #operator-name {
  display: block;
  width: auto;
  height: auto;
  background: none;
  border-radius: 0;
  color: inherit;
  font-size: 12px;
  font-weight: 600;
}
.overview-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.9fr) minmax(320px, 1fr);
  gap: 18px;
  align-items: start;
}
.overview-main,
.overview-rail {
  display: grid;
  gap: 18px;
  min-width: 0;
}
.overview-directory {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}
.overview-directory > .panel {
  display: flex;
  flex-direction: column;
}
.overview-directory .ranking-list {
  flex: 1;
}
.overview-rail .activity-list {
  max-height: 250px;
}
.panel-count {
  color: #697b93;
  font-size: 11px;
  white-space: nowrap;
}
.trend-summary {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  margin-bottom: 10px;
}
.trend-summary > div {
  display: flex;
  align-items: baseline;
  flex-wrap: wrap;
  gap: 10px;
}
.trend-summary strong {
  font:
    800 30px Manrope,
    sans-serif;
  color: var(--navy);
  font-variant-numeric: tabular-nums;
}
.trend-summary span {
  font-size: 12px;
  color: var(--muted);
}
.trend-summary .trend-note {
  color: #2865bd;
  background: #f0f6ff;
  border-radius: 7px;
  padding: 6px 9px;
  font-size: 11px;
  white-space: nowrap;
}
.trend-plot {
  height: 150px;
}
.trend-plot svg {
  display: block;
  width: 100%;
  height: 100%;
}
.trend-axis {
  display: flex;
  justify-content: space-between;
  font-size: 10px;
  color: #7a8aa2;
  padding: 2px 8px 0;
}
.pipeline-summary {
  display: flex;
  gap: 9px;
  align-items: baseline;
  margin: -3px 0 14px;
}
.pipeline-summary strong {
  color: var(--navy);
  font:
    800 25px Manrope,
    sans-serif;
}
.pipeline-summary span {
  color: var(--muted);
  font-size: 12px;
}
.pipeline-row {
  display: grid;
  grid-template-columns: minmax(0, 1.5fr) minmax(40px, 0.65fr) 40px;
  gap: 12px;
  align-items: center;
  padding: 9px 0;
  border-bottom: 1px solid #edf1f7;
}
.pipeline-row:last-child {
  border-bottom: 0;
  padding-bottom: 0;
}
.pipeline-row:hover .status {
  box-shadow: 0 0 0 2px #1769ff16;
}
.pipeline-row .track {
  background: #edf2fa;
  height: 5px;
  border-radius: 8px;
}
.pipeline-row > strong {
  font-size: 12px;
  color: var(--navy);
  text-align: right;
  font-variant-numeric: tabular-nums;
}
.pipeline-row > strong small {
  margin-left: 6px;
  font-size: 9px;
  font-weight: 400;
  color: var(--muted);
}
.ranking-list {
  display: flex;
  flex-direction: column;
}
.ranking-row {
  display: flex;
  align-items: center;
  gap: 11px;
  padding: 10px 0;
  border-bottom: 1px solid #edf1f7;
  flex: 1;
}
.ranking-row:last-child {
  border-bottom: 0;
  padding-bottom: 0;
}
.rank-number {
  font-size: 10px;
  color: #7290b8;
  font-variant-numeric: tabular-nums;
  width: 24px;
  height: 26px;
  border-radius: 7px;
  display: grid;
  place-items: center;
  background: #f1f6ff;
  flex: none;
}
.rank-label {
  min-width: 0;
  flex: 1;
  font-size: 12px;
  color: #405370;
}
.rank-track {
  display: block;
  margin-top: 7px;
  height: 3px;
  width: 100%;
  background: #f1f5fb;
  border-radius: 4px;
}
.rank-track i {
  display: block;
  height: 100%;
  border-radius: inherit;
  background: #b3cdfb;
}
.ranking-row:first-child .rank-track i {
  background: #1769ff;
}
.ranking-row strong {
  color: var(--navy);
  font-size: 12px;
  font-variant-numeric: tabular-nums;
}
.attention-row {
  display: flex;
  gap: 12px;
  align-items: center;
  padding: 12px 0;
  border-bottom: 1px solid var(--line);
}
.attention-row:last-child {
  border-bottom: 0;
  padding-bottom: 0;
}
.attention-icon {
  background: #fff6e8;
  color: #bb832a;
  border: 1px solid #fae9cd;
  width: 36px;
  height: 36px;
  display: grid;
  place-items: center;
  border-radius: 10px;
  flex: none;
}
.attention-label {
  display: grid;
  gap: 5px;
  flex: 1;
  min-width: 0;
}
.attention-label strong {
  font-size: 12px;
  color: var(--navy);
}
.attention-label small {
  color: #6d7e96;
  font-size: 11px;
}
.attention-arrow {
  color: #6d91c6;
}
.detail-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.8fr) minmax(280px, 1fr);
  gap: 18px;
  align-items: start;
  margin-bottom: 16px;
}
.profile-tools {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
  margin: 0 0 18px;
}
.profile-application {
  display: flex;
  gap: 12px;
  align-items: center;
  padding: 12px 0;
  border-bottom: 1px solid var(--line);
}
.profile-application:last-child {
  border-bottom: 0;
  padding-bottom: 0;
}
.profile-application-label {
  display: grid;
  gap: 6px;
  min-width: 0;
  flex: 1;
}
.profile-application-label strong {
  font-size: 13px;
  color: var(--navy);
}
.profile-application-label small {
  color: var(--muted);
  font-size: 11px;
  overflow-wrap: anywhere;
}
.profile-history .activity-list {
  max-height: 250px;
}
.profile-stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  margin: 0 0 18px;
}
.profile-stat {
  background: white;
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 14px 18px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
}
.profile-stat span {
  color: var(--muted);
  font-size: 12px;
}
.profile-stat strong {
  color: var(--navy);
  font:
    800 23px Manrope,
    sans-serif;
}
.education-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(340px, 100%), 1fr));
  gap: 18px;
}
@media (min-width: 1280px) {
  .kpis {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}
@media (min-width: 1800px) {
  .overview-grid {
    grid-template-columns: minmax(0, 2.25fr) minmax(360px, 1fr);
  }
  .trend-plot {
    height: 170px;
  }
  .detail-grid .facts,
  #content[data-detail="true"] .two-column > .panel:first-child .facts {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}
@media (max-width: 1250px) {
  .overview-grid {
    grid-template-columns: minmax(0, 1.6fr) minmax(300px, 1fr);
  }
  .overview-directory {
    grid-template-columns: 1fr;
  }
}
@media (max-width: 1100px) {
  .client-login {
    grid-template-columns: 1fr;
    gap: 25px;
    margin: 15px auto;
    max-width: 600px;
  }
  .client-login h1 {
    font-size: 30px;
  }
}
.login-state h1 {
  font-size: 27px;
}
.login-state p {
  color: var(--muted);
  margin: 20px 0 28px;
}
@media (min-width: 1600px) {
  .content {
    padding-top: 28px;
  }
  .kpis {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}
.attention-banner-panel {
  background: linear-gradient(135deg, #0d2049 0%, #143370 60%, #19418f 100%);
  color: #e8f0ff;
  border: 1px solid #2b4c8c;
  border-radius: 16px;
  padding: 20px 22px;
  margin-bottom: 20px;
  box-shadow: 0 10px 28px #0b1b401f;
}
.attention-banner-panel .panel-head {
  margin-bottom: 14px;
}
.attention-banner-panel h2 {
  color: #ffffff;
  font-size: 16px;
  display: flex;
  align-items: center;
  gap: 9px;
}
.attention-banner-panel .eyebrow {
  color: #93b4eb;
  font-size: 9.5px;
  letter-spacing: 1.5px;
  margin-bottom: 4px;
}
.attention-banner-panel .text-link {
  color: #9ec5ff;
}
.attention-chip-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(220px, 100%), 1fr));
  gap: 10px;
}
.attention-chip {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  background: #ffffff12;
  border: 1px solid #ffffff22;
  border-radius: 11px;
  padding: 11px 14px;
  color: #ffffff;
  transition:
    background 150ms ease,
    border-color 150ms ease;
}
.attention-chip:hover {
  background: #ffffff21;
  border-color: #8ab4ff;
}
.attention-chip strong {
  font:
    800 20px Manrope,
    sans-serif;
  color: #ffffff;
  font-variant-numeric: tabular-nums;
}
.attention-chip span {
  font-size: 12px;
  color: #dbe8ff;
  line-height: 1.35;
}
.attention-chip.warn {
  border-left: 3px solid #f59e0b;
}
.attention-chip.danger {
  border-left: 3px solid #ef4444;
}
.attention-chip.info {
  border-left: 3px solid #3b82f6;
}
.summary-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(175px, 100%), 1fr));
  gap: 12px;
  margin-bottom: 18px;
}
.summary-card {
  background: white;
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 14px 16px;
  display: flex;
  flex-direction: column;
  gap: 6px;
  box-shadow: var(--shadow);
  transition:
    border-color 150ms ease,
    background 150ms ease;
}
.summary-card:hover,
.summary-card.active {
  border-color: var(--blue);
  background: #f5f9ff;
}
.summary-card span {
  font-size: 11.5px;
  color: var(--muted);
  font-weight: 500;
}
.summary-card strong {
  font:
    800 22px Manrope,
    sans-serif;
  color: var(--navy);
  font-variant-numeric: tabular-nums;
}
.summary-card small {
  font-size: 10.5px;
  color: #6b7d96;
}
.period-tabs {
  display: inline-flex;
  background: #f1f5fb;
  border-radius: 8px;
  padding: 3px;
  gap: 3px;
  flex-wrap: wrap;
}
.period-tab {
  border: 0;
  background: transparent;
  color: #54657e;
  font-size: 11px;
  font-weight: 600;
  padding: 5px 10px;
  border-radius: 6px;
  min-height: 28px;
}
.period-tab.active,
.period-tab:hover {
  background: white;
  color: var(--blue);
  box-shadow: 0 1px 3px #0b1b4014;
}
.due-overdue {
  color: #be2e2e;
  font-weight: 700;
  background: #ffeded;
  padding: 3px 7px;
  border-radius: 5px;
  display: inline-block;
  font-size: 11px;
}
.due-soon {
  color: #a86410;
  font-weight: 700;
  background: #fff4e3;
  padding: 3px 7px;
  border-radius: 5px;
  display: inline-block;
  font-size: 11px;
}
.zip-it-btn {
  background: linear-gradient(135deg, #0f2c67, #1769ff);
  color: white;
  border: 1px solid #145ce6;
  font-weight: 700;
  letter-spacing: 0.4px;
  padding: 10px 18px;
  border-radius: 9px;
  box-shadow: 0 5px 16px #1769ff30;
}
.zip-it-btn:hover {
  background: linear-gradient(135deg, #0b2252, #1055d4);
}
.progress-wrap {
  display: flex;
  align-items: center;
  gap: 8px;
  min-width: 90px;
}
.progress-bar {
  flex: 1;
  height: 6px;
  background: #edf2fa;
  border-radius: 99px;
  overflow: hidden;
}
.progress-bar i {
  display: block;
  height: 100%;
  background: #1769ff;
  border-radius: 99px;
}
.settings-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(440px, 100%), 1fr));
  gap: 18px;
  margin-bottom: 22px;
}
.settings-card form {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}
.settings-card form > .full-row,
.settings-card form > .form-actions {
  grid-column: 1 / -1;
}
.settings-card label {
  display: grid;
  gap: 5px;
  font-size: 12px;
  color: #3b4b63;
}
.settings-card label.checkbox-label {
  display: flex;
  align-items: center;
  gap: 9px;
  grid-column: 1 / -1;
  padding: 4px 0;
}
.settings-card label.checkbox-label input[type="checkbox"] {
  width: 17px;
  height: 17px;
  min-height: 0;
}
.form-section-title {
  grid-column: 1 / -1;
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--blue);
  border-bottom: 1px solid var(--line);
  padding: 8px 0 5px;
  margin: 4px 0 0;
}
@media (max-width: 1100px) {
  .workspace {
    grid-template-columns: 210px minmax(0, 1fr);
  }
  .sidebar {
    padding-inline: 10px;
  }
  .content {
    padding: 24px;
  }
  .topbar {
    padding: 16px 24px;
    gap: 15px;
  }
  .operator div {
    display: none;
  }
  .two-column,
  .three-column,
  .overview-grid,
  .detail-grid {
    grid-template-columns: 1fr;
  }
  .kpis {
    gap: 12px;
  }
  .kpi {
    padding: 18px;
  }
  .global-search {
    max-width: 340px;
  }
  .overview-directory {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .overview-rail {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    align-items: start;
  }
  .overview-rail > .panel:first-child {
    grid-row: span 2;
  }
  .ledger-hero {
    gap: 10px;
  }
  .ledger-hero .panel {
    padding: 16px;
  }
}
@media (max-width: 760px) {
  .workspace {
    display: block;
  }
  .sidebar {
    position: fixed;
    left: 0;
    z-index: 10;
    width: 244px;
    transform: translateX(-100%);
    visibility: hidden;
    pointer-events: none;
    transition: transform 0.2s;
  }
  .sidebar.open {
    visibility: visible;
    pointer-events: auto;
    transform: translateX(0);
    box-shadow: 20px 0 80px #0b1b4033;
  }
  .sidebar-close {
    display: block;
    position: absolute;
    right: 8px;
    top: 6px;
    color: #b8c6df;
    background: none;
    border: 0;
    width: 30px;
    height: 30px;
    font-size: 23px;
  }
  .menu {
    display: block;
  }
  .topbar {
    padding: 12px 16px;
    min-height: 68px;
    gap: 10px;
    flex-wrap: wrap;
  }
  .topbar > .topbar-nav {
    flex: 1;
  }
  .global-search {
    order: 4;
    max-width: none;
  }
  .content {
    padding: 22px 16px 30px;
  }
  .page-heading {
    align-items: flex-start;
    gap: 12px;
  }
  .page-heading .tag {
    display: none;
  }
  h1 {
    font-size: 25px;
  }
  .kpis {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
  }
  .kpi {
    padding: 15px;
  }
  .kpi-top {
    font-size: 11px;
  }
  .kpi-icon {
    width: 25px;
    height: 25px;
    border-radius: 7px;
  }
  .kpi-icon svg {
    width: 15px;
    height: 15px;
  }
  .kpi strong {
    font-size: 27px;
  }
  .panel {
    padding: 19px;
  }
  .table-panel {
    padding: 0;
  }
  .toolbar {
    gap: 8px;
  }
  .table-panel > .toolbar {
    padding: 14px;
  }
  .toolbar input {
    width: 100%;
    flex-basis: 100%;
  }
  .table-scroll table {
    min-width: 680px;
  }
  .table-panel > .table-scroll {
    max-height: none;
  }
  .page-heading > .primary {
    font-size: 11px;
    padding: 9px;
  }
  .ledger-hero {
    grid-template-columns: 1fr;
  }
  .facts {
    gap: 18px;
  }
  .doc-card {
    align-items: flex-start;
    flex-wrap: wrap;
  }
  .doc-actions {
    width: 100%;
    padding-left: 58px;
  }
  .feedback {
    margin: 15px 16px 0;
  }
  footer {
    padding: 18px 16px;
  }
  .profile-title {
    gap: 11px;
  }
  .avatar {
    width: 45px;
    height: 45px;
    font-size: 17px;
  }
  .tabs {
    gap: 20px;
  }
  .pagination {
    padding: 14px;
    flex-wrap: wrap;
  }
  .operator {
    padding: 0;
  }
  .login-state {
    margin: 40px auto;
  }
  dialog {
    padding: 22px;
  }
  #action-content form,
  .settings-card form {
    grid-template-columns: 1fr;
  }
  input,
  select,
  textarea {
    font-size: 16px;
  }
  .toolbar select {
    font-size: 16px;
  }
  .profile-application {
    flex-wrap: wrap;
  }
  .profile-application > .status {
    margin-left: 54px;
  }
  .heading-actions {
    width: 100%;
  }
  .heading-actions .primary {
    min-height: 42px;
  }
  .overview-directory,
  .overview-rail {
    grid-template-columns: 1fr;
  }
  .overview-rail > .panel:first-child {
    grid-row: auto;
  }
  .overview-grid,
  .overview-main,
  .overview-rail,
  .overview-directory {
    gap: 14px;
  }
  .trend-summary {
    align-items: flex-start;
    flex-wrap: wrap;
  }
  .trend-summary .trend-note {
    font-size: 10px;
  }
  .trend-plot {
    height: 130px;
  }
  .profile-stats {
    gap: 8px;
  }
  .profile-stat {
    padding: 12px;
    display: grid;
    gap: 7px;
  }
  .profile-stat span {
    font-size: 11px;
  }
  .profile-stat strong {
    font-size: 22px;
  }
  .attention-row {
    display: grid;
    grid-template-columns: 36px minmax(0, 1fr) 16px;
    gap: 8px 12px;
  }
  .attention-icon {
    grid-row: 1 / 3;
  }
  .attention-label {
    grid-column: 2;
    grid-row: 1;
  }
  .attention-label strong {
    white-space: nowrap;
  }
  .attention-row .status {
    grid-column: 2;
    grid-row: 2;
    justify-self: start;
    margin-left: 0;
  }
  .attention-row .attention-arrow {
    grid-column: 3;
    grid-row: 1 / 3;
    margin-left: 0;
  }
  .toolbar [data-feature="export-list"] {
    margin-left: 0;
  }
  .currency-row strong {
    font-size: 19px;
  }
}
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
  .kpi:hover {
    transform: none;
  }
}

/* HTML Reference Alignment: Sidebar, Topbar & Overview */
.sidebar {
  background: linear-gradient(180deg, #061536, #0b2560) !important;
  color: #ffffff;
}
.brand span small {
  color: #f5b524 !important;
  font-size: 10px !important;
  letter-spacing: 0.16em !important;
  font-weight: 600 !important;
}
.nav-link {
  color: #c9d6f2;
  border-radius: 12px;
  padding: 9px 14px;
}
.nav-link.active {
  background: linear-gradient(90deg, #0b4bb3, #1e7be6) !important;
  color: #ffffff !important;
  box-shadow: 0 6px 18px rgba(30, 123, 230, 0.35);
}
.nav-badge {
  min-width: 22px;
  padding: 2px 7px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.12);
  color: #dce6fa;
  font-size: 11px;
  font-weight: 700;
  text-align: center;
}
.nav-badge.urgent {
  background: #f5b524;
  color: #061536;
}
.nav-link.active .nav-badge,
.nav-link.active .nav-badge.urgent {
  background: rgba(255, 255, 255, 0.22);
  color: #ffffff;
}
.nav-chevron-svg {
  transition: transform 0.18s ease;
}
.nav-section.collapsed .nav-chevron-svg {
  transform: rotate(180deg);
}
.sidebar-avatar {
  background: #f5b524 !important;
  color: #061536 !important;
  font-weight: 700 !important;
}

/* Topbar Reference Enhancements */
.global-search-wrap {
  position: relative;
  flex: 1 1 380px;
  max-width: 500px;
  min-width: 0;
}
.global-search {
  border-radius: 999px !important;
  background: #ffffff !important;
  border: 1px solid #d9e2f1 !important;
  padding: 0 14px !important;
  height: 44px;
  display: flex;
  align-items: center;
  gap: 10px;
}
.search-icon {
  flex-shrink: 0;
}
.search-kbd {
  font-size: 11px;
  color: #56698f;
  border: 1px solid #d9e2f1;
  border-radius: 6px;
  padding: 2px 6px;
  background: #f8fafd;
  font-family: inherit;
  white-space: nowrap;
}
.search-dropdown {
  position: absolute;
  top: 50px;
  left: 0;
  right: 0;
  background: #ffffff;
  border: 1px solid #d9e2f1;
  border-radius: 14px;
  box-shadow: 0 18px 40px rgba(11, 27, 63, 0.14);
  padding: 6px;
  z-index: 60;
}
.search-result-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 12px;
  border-radius: 10px;
  color: #0b1b3f;
  text-decoration: none;
}
.search-result-item:hover {
  background: #f4f7fc;
}
.search-result-type {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.06em;
  color: #0b4bb3;
  background: #e6effd;
  border-radius: 6px;
  padding: 3px 7px;
  min-width: 72px;
  text-align: center;
}
.search-result-title {
  flex: 1;
  font-size: 13.5px;
  font-weight: 600;
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.search-result-meta {
  font-size: 12px;
  color: #56698f;
  white-space: nowrap;
}
.topbar-actions {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}
.topbar-bell {
  position: relative;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  border: 1px solid #d9e2f1;
  background: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  flex-shrink: 0;
}
.topbar-bell:hover {
  border-color: #1e7be6;
}
.topbar-bell-badge {
  position: absolute;
  top: -4px;
  right: -4px;
  min-width: 20px;
  height: 20px;
  padding: 0 5px;
  border-radius: 10px;
  background: #f5b524;
  color: #061536;
  font-size: 11px;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 2px solid #ffffff;
}
.topbar-status-pill {
  height: 42px;
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 0 14px;
  border-radius: 999px;
  border: 1px solid #d9e2f1;
  background: #ffffff;
  color: #0b1b3f;
  font-size: 12.5px;
  font-weight: 600;
  text-decoration: none;
  white-space: nowrap;
}
.topbar-status-pill:hover {
  border-color: #1e7be6;
}
.status-dot-green {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #2e9e6a;
  flex-shrink: 0;
}

/* Overview Reference Hero & KPIs */
.overview-hero .eyebrow {
  font-size: 12px;
  letter-spacing: 0.16em;
  color: #1565d8;
  font-weight: 600;
}
.overview-greeting {
  font-size: 15px;
  font-weight: 600;
  color: #33476f;
  margin-top: 4px;
}
.gold-accent-bar {
  width: 56px;
  height: 4px;
  background: #f5b524;
  border-radius: 2px;
  margin-top: 10px;
}
.kpis.kpis-ref {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 14px;
  margin-bottom: 22px;
}
.kpis.kpis-ref .kpi {
  display: block;
  background: #ffffff;
  border: 1px solid #e3e9f4;
  border-radius: 18px;
  padding: 18px 20px;
  color: #0b1b3f;
  text-decoration: none;
  transition:
    border-color 0.15s ease,
    box-shadow 0.15s ease;
}
.kpis.kpis-ref .kpi:hover {
  border-color: #1e7be6;
  box-shadow: 0 10px 24px rgba(30, 123, 230, 0.12);
}
.ref-kpi-top {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  color: #56698f;
  font-weight: 500;
}
.ref-kpi-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  flex-shrink: 0;
}
.ref-kpi-val {
  display: block;
  font-weight: 700;
  font-size: 28px;
  margin-top: 6px;
  color: #0b1b3f;
  line-height: 1.15;
}
.ref-kpi-foot {
  display: flex;
  justify-content: space-between;
  font-size: 12px;
  color: #1565d8;
  margin-top: 6px;
  font-weight: 600;
}

/* Dark Attention Required Block */
.attention-banner-panel {
  background: linear-gradient(120deg, #061536, #0b2d7a) !important;
  border-radius: 20px !important;
  padding: 24px 26px !important;
  margin-bottom: 22px !important;
  color: #ffffff !important;
}
.ref-att-head {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 16px;
}
.ref-att-title {
  display: flex;
  align-items: center;
  gap: 10px;
}
.ref-att-title h2 {
  font-weight: 700;
  font-size: 18px;
  margin: 0;
  color: #ffffff;
}
.ref-att-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #f5b524;
}
.ref-att-sub {
  font-size: 12px;
  color: #9fb4dc;
}
.ref-att-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
  gap: 12px;
}
.att {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 14px 16px;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.07);
  border: 1px solid rgba(255, 255, 255, 0.12);
  color: #ffffff;
  text-decoration: none;
  transition: background 0.15s ease;
}
.att:hover {
  background: rgba(255, 255, 255, 0.14);
}
.att-num {
  font-weight: 700;
  font-size: 24px;
  color: #f5b524;
  min-width: 34px;
}
.att-body {
  flex: 1;
  min-width: 0;
}
.att-text {
  display: block;
  font-size: 13.5px;
  line-height: 1.35;
  color: #ffffff;
}
.att-meta {
  display: block;
  font-size: 11px;
  color: #9fb4dc;
  margin-top: 3px;
}
.att-arrow {
  color: #8fb4f5;
  font-weight: 700;
}

/* Overview 2-Col & 3-Col Grids */
.overview-two-col {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(360px, 1fr));
  gap: 18px;
  margin-bottom: 18px;
}
.overview-three-col {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 18px;
  margin-bottom: 18px;
}
.overview-bottom-stack {
  display: grid;
  gap: 18px;
}

/* Applications by Status Horizontal Bars & Legend */
.ref-status-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.ref-status-row {
  display: grid;
  grid-template-columns: minmax(120px, 190px) minmax(0, 1fr) 36px;
  align-items: center;
  gap: 12px;
  font-size: 13px;
  color: #33476f;
  text-decoration: none;
}
.ref-status-row:hover .ref-status-label {
  color: #1565d8;
}
.ref-status-label {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.ref-status-track {
  display: block;
  height: 10px;
  background: #eef3fc;
  border-radius: 6px;
  overflow: hidden;
}
.ref-status-fill {
  display: block;
  height: 10px;
  border-radius: 6px;
}
.ref-status-val {
  font-weight: 600;
  text-align: right;
  color: #0b1b3f;
}
.ref-status-legend {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 16px;
  font-size: 12px;
  color: #56698f;
}
.ref-status-legend span {
  display: flex;
  align-items: center;
  gap: 6px;
}
.ref-status-legend i {
  width: 10px;
  height: 10px;
  border-radius: 3px;
  display: inline-block;
}

/* Applications Over Time Vertical Bar Chart */
.ref-bar-chart {
  display: flex;
  align-items: flex-end;
  gap: 16px;
  height: 200px;
  padding: 0 6px;
  border-bottom: 1px solid #e3e9f4;
  margin-top: 12px;
}
.ref-bar-col {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  justify-content: flex-end;
  height: 100%;
  min-width: 0;
}
.ref-bar-val {
  font-size: 12.5px;
  font-weight: 600;
  color: #0b1b3f;
}
.ref-bar-fill {
  width: 100%;
  max-width: 54px;
  border-radius: 10px 10px 4px 4px;
  background: linear-gradient(180deg, #1e7be6, #0b4bb3);
}
.ref-bar-labels {
  display: flex;
  gap: 16px;
  padding: 8px 6px 0;
}
.ref-bar-labels > div {
  flex: 1;
  text-align: center;
  font-size: 11.5px;
  color: #56698f;
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

/* Students by Country */
.ref-country-list,
.ref-uni-list,
.ref-schol-list,
.ref-activity-list {
  display: flex;
  flex-direction: column;
}
.ref-country-row {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 9px 0;
  border-bottom: 1px solid #f0f3f9;
  font-size: 13.5px;
  color: #0b1b3f;
  text-decoration: none;
}
.ref-country-row:last-child,
.ref-uni-row:last-child,
.ref-activity-row:last-child {
  border-bottom: 0;
}
.ref-country-name {
  flex: 1;
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.ref-country-track {
  display: block;
  width: 110px;
  height: 8px;
  background: #eef3fc;
  border-radius: 5px;
  overflow: hidden;
  flex-shrink: 0;
}
.ref-country-fill {
  display: block;
  height: 8px;
  border-radius: 5px;
  background: #0b4bb3;
}
.ref-country-val {
  width: 36px;
  text-align: right;
  font-weight: 600;
}

/* Applications by University */
.ref-uni-row {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 0;
  border-bottom: 1px solid #f0f3f9;
  font-size: 13.5px;
  color: #0b1b3f;
  text-decoration: none;
}
.ref-uni-rank {
  width: 26px;
  height: 26px;
  border-radius: 8px;
  background: #eef3fc;
  color: #0b4bb3;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 12px;
  flex-shrink: 0;
}
.ref-uni-name {
  flex: 1;
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.ref-uni-val {
  font-weight: 600;
}

/* Applications by Scholarship */
.ref-schol-bar {
  display: flex;
  height: 16px;
  border-radius: 8px;
  overflow: hidden;
  margin-bottom: 16px;
  background: #eef3fc;
}
.ref-schol-row {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 7px 0;
  font-size: 13.5px;
  color: #0b1b3f;
  text-decoration: none;
}
.ref-schol-swatch {
  width: 10px;
  height: 10px;
  border-radius: 3px;
  flex-shrink: 0;
}
.ref-schol-name {
  flex: 1;
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.ref-schol-val {
  font-weight: 600;
}

/* Recent Activity */
.ref-activity-row {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 12px 0;
  border-bottom: 1px solid #f0f3f9;
  color: #0b1b3f;
  font-size: 13.5px;
  text-decoration: none;
}
.ref-activity-row:hover .ref-activity-text {
  color: #1565d8;
}
.ref-activity-time {
  font-weight: 600;
  color: #56698f;
  width: 48px;
  flex-shrink: 0;
}
.ref-activity-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  flex-shrink: 0;
}
.ref-activity-text {
  flex: 1;
  min-width: 0;
}
.ref-activity-arrow {
  color: #1565d8;
  font-weight: 600;
}

@media (max-width: 960px) {
  .topbar-status-pill,
  .search-kbd {
    display: none;
  }
  .overview-two-col,
  .overview-three-col {
    grid-template-columns: 1fr;
  }
}
@media (max-width: 560px) {
  .ref-status-row {
    grid-template-columns: minmax(100px, 135px) minmax(0, 1fr) 32px;
    gap: 8px;
  }
  .ref-country-track {
    width: 72px;
  }
  .kpis.kpis-ref {
    grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
  }
}

.workload-table-wrap table {
  width: 100%;
  table-layout: auto;
}
.workload-table-wrap th,
.workload-table-wrap td {
  padding: 10px 8px;
  white-space: nowrap;
}
.workload-table-wrap th:first-child,
.workload-table-wrap td:first-child {
  white-space: normal;
  min-width: 130px;
}
.actions-row .secondary.active {
  background: #e8f1ff;
  border-color: #1565d8;
  color: #0b2d7a;
  font-weight: 700;
}
