.ne-nbs-viewer { display: inline; }
.ne-nbs-launch { margin: .25rem; background: #303641 !important; border-color: #303641 !important; white-space: nowrap; }
.ne-nbs-backdrop { position: fixed; inset: 0; z-index: 20000; display: flex; align-items: center; justify-content: center; padding: 2vh 2vw; background: rgba(20, 28, 42, .62); text-align: left; color: #303641; font: 14px/1.5 Arial, sans-serif; cursor: default; }
.ne-nbs-dialog { width: 1380px; max-width: 100%; height: 94vh; display: flex; flex-direction: column; border-radius: 8px; background: #fff; box-shadow: 0 18px 70px #0005; overflow: hidden; }
.ne-nbs-dialog *, .ne-nbs-dialog *::before, .ne-nbs-dialog *::after { box-sizing: border-box; }
.ne-nbs-dialog h2, .ne-nbs-dialog h3, .ne-nbs-dialog p { margin: 0 0 .65rem; line-height: 1.45; }
.ne-nbs-dialog h2 { font-size: 21px; font-weight: 600; }
.ne-nbs-dialog h3 { font-size: 16px; font-weight: 600; }
.ne-nbs-dialog-header { display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding: 16px 22px; border-bottom: 1px solid #e5e8ee; flex-shrink: 0; background: #f9fafc; }
.ne-nbs-dialog-header h2 { margin: 0; }
.ne-nbs-readonly { display: inline-block; margin-top: 4px; border-radius: 20px; padding: 2px 10px; background: #e8f5ef; color: #246547; font-size: 12px; font-weight: 600; }
.ne-nbs-dialog-body { padding: 20px 24px 30px; overflow-y: auto; overscroll-behavior: contain; flex: 1; min-height: 0; }
.ne-nbs-context { color: #637087; overflow-wrap: anywhere; }
.ne-nbs-error { padding: 12px 16px; background: #fff0f0; color: #8e2626; border-left: 4px solid #bb4040; border-radius: 4px; margin-bottom: 14px; }
.ne-nbs-duplicate-note { padding: 12px 16px; background: #fff8e8; border-left: 4px solid #e6a23c; color: #765416; border-radius: 4px; }
.ne-nbs-contract-select { display: flex; flex-direction: column; gap: 5px; max-width: 850px; margin: 15px 0 8px; }
.ne-nbs-contract-select label { font-weight: 600; }
.ne-nbs-contract-select select { width: 100%; padding: 11px 12px; border: 1px solid #bdc5d2; background: #fff; color: #303641; font: inherit; border-radius: 4px; }
.ne-nbs-contract-summary { font-size: 13px; color: #637087; }
.ne-nbs-button, .ne-nbs-tab, .ne-nbs-student-tab { font: inherit; cursor: pointer; border: 1px solid #cbd2dd; border-radius: 4px; padding: 8px 14px; background: #fff; color: #303641; line-height: 1.4; }
.ne-nbs-button:hover, .ne-nbs-tab:hover, .ne-nbs-student-tab:hover { background: #f1f5fa; }
.ne-nbs-dialog button:focus-visible, .ne-nbs-dialog select:focus-visible { outline: 3px solid #4f84d8; outline-offset: 2px; }
.ne-nbs-dialog button:disabled { opacity: .55; cursor: wait; }
.ne-nbs-student-tabs { display: flex; flex-wrap: wrap; gap: 8px; padding: 15px 0; margin-bottom: 12px; border-bottom: 1px solid #d9dfe8; }
.ne-nbs-student-tab { display: flex; align-items: center; gap: 12px; font-weight: 600; }
.ne-nbs-student-tab small { font-size: 11px; font-weight: 400; border-radius: 12px; background: #edf0f5; padding: 2px 7px; }
.ne-nbs-student-tab.is-active { background: #303641; color: #fff; border-color: #303641; }
.ne-nbs-student-tab.is-active small { color: #303641; }
.ne-nbs-profile { border: 1px solid #e4e8ee; border-radius: 5px; overflow: hidden; }
.ne-nbs-profile-header { display: flex; align-items: center; gap: 20px; padding: 25px; background: #f7f9fc; }
.ne-nbs-avatar { display: flex; align-items: center; justify-content: center; flex: 0 0 78px; width: 78px; height: 78px; border-radius: 50%; background: #3872ad; color: #fff; font-size: 36px; }
.ne-nbs-person { flex: 1; min-width: 0; overflow-wrap: anywhere; }
.ne-nbs-person p { margin-bottom: 3px; color: #566479; }
.ne-nbs-validity { min-width: 180px; display: flex; flex-direction: column; padding: 15px 18px; border-left: 3px solid #366ba5; background: #eaf0f8; border-radius: 3px; }
.ne-nbs-validity strong { font-size: 17px; }
.ne-nbs-validity small { color: #66758a; }
.ne-nbs-progress { display: flex; flex-wrap: wrap; gap: 10px 25px; padding: 12px 25px; border-top: 1px solid #e7ebf0; border-bottom: 1px solid #e7ebf0; }
.ne-nbs-progress small { margin-left: auto; color: #68768b; }
.ne-nbs-tabs, .ne-nbs-subtabs { display: flex; flex-wrap: wrap; gap: 2px; padding: 12px 20px 0; border-bottom: 1px solid #dce1e9; }
.ne-nbs-tab { border: 0; border-bottom: 3px solid transparent; border-radius: 0; background: transparent; padding: 11px 14px; }
.ne-nbs-tab.is-active { border-bottom-color: #337ab7; color: #245783; background: #f1f6fc; font-weight: 600; }
.ne-nbs-subtabs { padding: 0; margin: 24px 0 12px; }
.ne-nbs-profile-content { padding: 22px; }
.ne-nbs-profile-content > div > section { margin: 20px 0; }
.ne-nbs-metrics { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 10px; }
.ne-nbs-metric { display: flex; flex-direction: column; border: 1px solid #e0e6ef; border-top: 3px solid #397eb6; padding: 14px 12px; border-radius: 4px; background: #fafcfe; }
.ne-nbs-metric strong { font-size: 22px; font-weight: 600; }
.ne-nbs-metric span { color: #68768b; font-size: 12px; }
.ne-nbs-skills { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; margin: 22px 0; }
.ne-nbs-skill { display: flex; flex-direction: column; gap: 3px; padding: 14px; border: 1px solid #e4e8ef; border-radius: 4px; }
.ne-nbs-skill small { color: #68768b; }
.ne-nbs-skill-track { height: 7px; background: #e8eef5; border-radius: 7px; overflow: hidden; margin: 5px 0; }
.ne-nbs-skill-track span { display: block; height: 100%; background: #4b90bc; }
.ne-nbs-ranking { background: #f6f8fc; border: 1px solid #e3e9f2; border-radius: 4px; padding: 16px; }
.ne-nbs-note { display: block; color: #68768b; font-size: 12px; }
.ne-nbs-empty { color: #68768b; padding: 16px 0; }
.ne-nbs-table-scroll { overflow-x: auto; width: 100%; margin-bottom: 14px; }
.ne-nbs-table { width: 100%; border-collapse: collapse; font-size: 12px; }
.ne-nbs-table th, .ne-nbs-table td { border: 1px solid #e0e5ed; padding: 9px 10px; vertical-align: top; text-align: left; white-space: normal; min-width: 85px; overflow-wrap: anywhere; }
.ne-nbs-table th { background: #f2f5f9; color: #43536a; font-weight: 600; }
.ne-nbs-table tbody tr:nth-child(even) { background: #fafbfd; }
.ne-nbs-table td:last-child { min-width: 130px; }
.ne-nbs-fields { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0 24px; margin: 0; }
.ne-nbs-fields > div { padding: 13px 0; border-bottom: 1px solid #e6eaf1; min-width: 0; }
.ne-nbs-fields dt { font-size: 12px; color: #6a778b; font-weight: 600; margin-bottom: 4px; }
.ne-nbs-fields dd { margin: 0; white-space: pre-wrap; overflow-wrap: anywhere; }
.ne-nbs-timeline { list-style: none; padding: 0; margin: 0 0 18px; }
.ne-nbs-timeline > li { display: grid; grid-template-columns: 145px minmax(0, 1fr); gap: 18px; margin-bottom: 16px; }
.ne-nbs-timeline-time { display: flex; flex-direction: column; color: #68768b; font-size: 12px; padding-top: 12px; }
.ne-nbs-timeline-event { border-left: 4px solid #4f85bb; padding: 13px 17px; background: #f3f7fc; border-radius: 3px; }
.ne-nbs-timeline-event h3 { margin: 0 0 4px; }
.ne-nbs-timeline-event strong { font-size: 12px; color: #6b7c91; }
.ne-nbs-timeline-event p { margin: 7px 0 0; white-space: pre-wrap; overflow-wrap: anywhere; }
@media (max-width: 1000px) {
  .ne-nbs-metrics { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .ne-nbs-skills { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .ne-nbs-fields { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 650px) {
  .ne-nbs-backdrop { padding: 0; }
  .ne-nbs-dialog { width: 100%; height: 100dvh; max-height: 100dvh; border-radius: 0; }
  .ne-nbs-dialog-header { padding: 12px; }
  .ne-nbs-dialog-header h2 { font-size: 17px; }
  .ne-nbs-dialog-body { padding: 14px 10px 24px; }
  .ne-nbs-profile-header { flex-wrap: wrap; padding: 16px 12px; gap: 12px; }
  .ne-nbs-avatar { width: 52px; height: 52px; flex-basis: 52px; font-size: 25px; }
  .ne-nbs-person h2 { font-size: 18px; }
  .ne-nbs-validity { width: 100%; }
  .ne-nbs-progress { padding: 10px 12px; }
  .ne-nbs-progress small { width: 100%; margin: 0; }
  .ne-nbs-tabs { padding: 5px 5px 0; }
  .ne-nbs-tab { padding: 9px 10px; font-size: 12px; }
  .ne-nbs-student-tabs { flex-wrap: nowrap; overflow-x: auto; }
  .ne-nbs-student-tab { min-width: 185px; flex-direction: column; align-items: flex-start; gap: 5px; text-align: left; }
  .ne-nbs-profile-content { padding: 14px 10px; }
  .ne-nbs-metrics { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .ne-nbs-metric strong { font-size: 18px; }
  .ne-nbs-fields { grid-template-columns: 1fr; }
  .ne-nbs-timeline > li { grid-template-columns: 1fr; gap: 5px; }
  .ne-nbs-timeline-time { padding: 0; }
  .ne-nbs-table-scroll { overflow: visible; }
  .ne-nbs-table thead { display: none; }
  .ne-nbs-table tr { display: block; border: 1px solid #dbe2ed; border-radius: 4px; margin-bottom: 12px; }
  .ne-nbs-table td { display: grid; grid-template-columns: minmax(90px, 34%) minmax(0, 1fr); gap: 10px; border: 0; border-bottom: 1px solid #edf0f5; min-width: 0; padding: 7px 10px; }
  .ne-nbs-table td::before { content: attr(data-label); color: #68768b; font-weight: 600; }
}

.ne-nbs-page { min-width: 0; color: #303641; font: 14px/1.5 Arial, sans-serif; text-align: left; background: #fff; border: 1px solid #e2e6ee; border-radius: 8px; }
.ne-nbs-page *, .ne-nbs-page *::before, .ne-nbs-page *::after { box-sizing: border-box; }
.ne-nbs-page h1, .ne-nbs-page h2, .ne-nbs-page h3, .ne-nbs-page p { margin: 0 0 .65rem; line-height: 1.45; }
.ne-nbs-page h1 { font-size: 21px; font-weight: 600; margin: 0; }
.ne-nbs-page h2 { font-size: 21px; font-weight: 600; }
.ne-nbs-page h3 { font-size: 16px; font-weight: 600; }
.ne-nbs-page-header { display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding: 16px 22px; border-bottom: 1px solid #e5e8ee; background: #f9fafc; border-radius: 8px 8px 0 0; }
.ne-nbs-page .ne-nbs-dialog-body { overflow: visible; }
.ne-nbs-return { flex: 0 0 auto; }
.collection-actions-grid .ne-nbs-nav-button { margin: 0; width: 100%; min-height: 32px; }
@media (max-width: 650px) { .ne-nbs-page-header { padding: 12px; align-items: flex-start; flex-wrap: wrap; } .ne-nbs-page h1 { font-size: 19px; } .ne-nbs-page h2 { font-size: 18px; } }
