:root {
  --nib-dark: #0b1117;
  --nib-panel: #101923;
  --nib-text: #17202a;
  --nib-orange: #f28a1d;
  --nib-blue: #48aeea;
  --nib-soft: #f5f8fb;
}

body {
  color: var(--nib-text);
}

.bg-primary {
  background-color: var(--nib-panel) !important;
}

.bg-secondary,
.footer {
  background-color: var(--nib-dark) !important;
}

.copyright {
  background-color: #070b10;
}

.site-footer {
  padding: 4rem 0 0;
  color: rgba(255, 255, 255, 0.78);
  text-align: left;
}

.site-footer h4 {
  margin-bottom: 1rem;
  color: #ffffff;
  font-size: 1rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.site-footer p {
  margin-bottom: 0.85rem;
  line-height: 1.65;
}

.footer-mantra {
  color: var(--nib-orange);
  font-family: Montserrat, sans-serif;
  font-weight: 700;
  letter-spacing: 0.05em;
}

.footer-links {
  display: grid;
  gap: 0.45rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.footer-links a,
.footer-legal a {
  color: rgba(255, 255, 255, 0.78);
  text-decoration: none;
}

.footer-links a:hover,
.footer-links a:focus,
.footer-legal a:hover,
.footer-legal a:focus {
  color: var(--nib-orange);
}

.footer-social {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  align-items: center;
  margin-top: 1rem;
}

.footer-admin-access {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.75rem;
  height: 2.75rem;
  padding: 0.45rem;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.28);
  border-radius: 50%;
  opacity: 0.72;
  transition: opacity 0.18s ease, border-color 0.18s ease, background 0.18s ease;
}

.footer-admin-access:hover,
.footer-admin-access:focus {
  background: rgba(242, 138, 29, 0.16);
  border-color: var(--nib-orange);
  opacity: 1;
}

.footer-admin-access img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem 1.5rem;
  align-items: center;
  justify-content: space-between;
  margin-top: 3rem;
  padding: 1.25rem 0;
  color: rgba(255, 255, 255, 0.68);
  border-top: 1px solid rgba(255, 255, 255, 0.12);
}

.footer-legal {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
  align-items: center;
}

.footer-links form {
  margin: 0;
}

.footer-links button {
  padding: 0;
  background: transparent;
  border: 0;
  color: rgba(255, 255, 255, 0.78);
  font: inherit;
  text-align: left;
}

.footer-links button:hover,
.footer-links button:focus {
  color: var(--nib-orange);
}

.account-main {
  min-height: 72vh;
  padding: 10rem 0 6rem;
  background: var(--nib-soft);
}

.protected-context {
  margin-top: 88px;
  color: #dbe4ea;
  background: #111d27;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.protected-context-inner {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem 1.5rem;
  align-items: center;
  justify-content: space-between;
  min-height: 58px;
  padding-top: 0.65rem;
  padding-bottom: 0.65rem;
}

.protected-breadcrumbs {
  min-width: 0;
  overflow-x: auto;
  scrollbar-width: thin;
}

.protected-breadcrumbs ol {
  display: flex;
  gap: 0;
  align-items: center;
  min-width: max-content;
  margin: 0;
  padding: 0;
  list-style: none;
}

.protected-breadcrumbs li {
  display: flex;
  align-items: center;
  font-size: 0.9rem;
}

.protected-breadcrumbs li + li::before {
  margin: 0 0.65rem;
  color: #8497a5;
  content: "/";
}

.protected-breadcrumbs a,
.protected-session-context a,
.protected-session-context button {
  color: #dbe4ea;
}

.protected-breadcrumbs a:hover,
.protected-breadcrumbs a:focus,
.protected-session-context a:hover,
.protected-session-context a:focus,
.protected-session-context button:hover,
.protected-session-context button:focus {
  color: var(--nib-orange);
}

.protected-breadcrumbs [aria-current="page"] {
  color: #ffffff;
  font-weight: 700;
}

.protected-session-context {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem 0.9rem;
  align-items: center;
  font-size: 0.82rem;
}

.protected-session-context strong {
  color: #ffffff;
  overflow-wrap: anywhere;
}

.protected-session-context form {
  margin: 0;
}

.protected-session-context button {
  padding: 0;
  background: transparent;
  border: 0;
  font: inherit;
  text-decoration: underline;
}

.protected-context + .account-main {
  padding-top: 3rem;
}

.account-shell,
.account-dashboard {
  width: min(100%, 700px);
  margin: 0 auto;
}

.account-shell {
  padding: clamp(1.5rem, 4vw, 3rem);
  background: #ffffff;
  border: 1px solid rgba(23, 32, 42, 0.1);
  border-radius: 12px;
  box-shadow: 0 18px 48px rgba(11, 17, 23, 0.08);
}

.account-eyebrow {
  margin-bottom: 0.55rem;
  color: var(--nib-orange);
  font-family: Montserrat, sans-serif;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.account-shell h1,
.account-dashboard h1 {
  margin-bottom: 1rem;
  color: var(--nib-text);
}

.account-intro {
  color: #52606d;
  line-height: 1.7;
}

.account-form {
  display: grid;
  gap: 1.15rem;
  margin-top: 2rem;
}

.account-form > div {
  display: grid;
  gap: 0.45rem;
}

.account-form label {
  font-weight: 700;
}

.account-form input {
  width: 100%;
  min-height: 46px;
  padding: 0.65rem 0.8rem;
  color: var(--nib-text);
  background: #ffffff;
  border: 1px solid #b8c2cc;
  border-radius: 6px;
}

.account-form input:focus {
  border-color: var(--nib-blue);
  outline: 3px solid rgba(72, 174, 234, 0.2);
}

.account-form small,
.account-secondary-action {
  color: #687784;
}

.account-form .btn {
  justify-self: start;
  min-width: 130px;
}

.account-alert {
  margin-top: 1.5rem;
  padding: 1rem 1.15rem;
  color: #7a271a;
  background: #fff3f0;
  border-left: 4px solid #c2412d;
  border-radius: 6px;
}

.account-alert ul {
  margin: 0;
  padding-left: 1.25rem;
}

.account-alert-success {
  color: #245c3a;
  background: #effaf3;
  border-left-color: #3a8f5b;
}

.account-inline-form {
  margin-top: 1.25rem;
}

.account-main .btn-outline-secondary {
  color: var(--nib-text);
  background-color: #ffffff;
  border-color: #52606d;
}

.account-main .btn-outline-secondary:hover,
.account-main .btn-outline-secondary:focus,
.account-main .btn-outline-secondary:active {
  color: #ffffff;
  background-color: var(--nib-text);
  border-color: var(--nib-text);
}

.account-main .btn-outline-secondary:focus-visible {
  box-shadow: 0 0 0 0.25rem rgba(72, 174, 234, 0.3);
}

.account-main .btn-outline-secondary:disabled,
.account-main .btn-outline-secondary.disabled {
  color: #52606d;
  background-color: #edf1f4;
  border-color: #a8b3bc;
  opacity: 1;
}

.account-client-list {
  display: grid;
  gap: 0.7rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.account-client-list li {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem 1rem;
  justify-content: space-between;
  padding: 0.75rem 0;
  border-bottom: 1px solid rgba(23, 32, 42, 0.1);
}

.account-client-list span,
.account-help {
  color: #687784;
  font-size: 0.9rem;
}

.account-secondary-action {
  margin: 1.75rem 0 0;
  font-size: 0.92rem;
}

.account-secondary-action a {
  color: #436b84;
}

.account-dashboard {
  display: grid;
  gap: 1.5rem;
}

.account-panel {
  padding: 1.5rem;
  background: #ffffff;
  border: 1px solid rgba(23, 32, 42, 0.1);
  border-radius: 10px;
}

.account-panel h2 {
  margin-bottom: 1rem;
  font-size: 1.15rem;
}

.account-panel p:last-child {
  margin-bottom: 0;
  color: #52606d;
  line-height: 1.65;
}

.account-details {
  display: grid;
  gap: 0.8rem;
  margin: 0;
}

.account-details div {
  display: grid;
  grid-template-columns: minmax(110px, 0.35fr) 1fr;
  gap: 1rem;
}

.account-details dt {
  color: #687784;
}

.account-details dd {
  margin: 0;
  overflow-wrap: anywhere;
}

.account-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  align-items: center;
}

.account-actions form {
  margin: 0;
}

.student-dashboard-shell {
  width: min(100%, 980px);
}

.student-report-outline {
  display: grid;
  gap: 1.5rem;
  margin-top: 1.25rem;
}

.student-report-year,
.student-report-term,
.student-report-area {
  display: grid;
  gap: 0.9rem;
}

.student-report-year h3,
.student-report-term h4,
.student-report-area h5 {
  margin: 0;
}

.student-report-year h3 {
  font-size: 1.2rem;
}

.student-report-term {
  padding-left: 1rem;
  border-left: 3px solid rgba(72, 174, 234, 0.25);
}

.student-report-area {
  padding: 1rem;
  background: #f7fafc;
  border: 1px solid rgba(23, 32, 42, 0.08);
  border-radius: 8px;
}

.student-report-card-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.8rem;
}

.student-report-card {
  display: grid;
  gap: 0.35rem;
  min-height: 120px;
  padding: 1rem;
  color: var(--nib-text);
  text-decoration: none;
  background: #ffffff;
  border: 1px solid rgba(23, 32, 42, 0.12);
  border-radius: 8px;
}

.student-report-card:hover,
.student-report-card:focus {
  border-color: var(--nib-orange);
  box-shadow: 0 10px 24px rgba(11, 17, 23, 0.08);
}

.student-report-card span,
.student-report-card small {
  color: #52606d;
}

.peer-rating-options {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.65rem;
}

.peer-rating-options label {
  display: flex;
  gap: 0.65rem;
  align-items: center;
  min-height: 52px;
  padding: 0.75rem 0.85rem;
  cursor: pointer;
  background: #ffffff;
  border: 1px solid rgba(23, 32, 42, 0.12);
  border-radius: 8px;
}

.peer-rating-options label:hover,
.peer-rating-options label:focus-within {
  border-color: var(--nib-blue);
  box-shadow: 0 0 0 3px rgba(72, 174, 234, 0.12);
}

.peer-rating-options label:has(input:checked) {
  background: rgba(72, 174, 234, 0.1);
  border-color: #48aeea;
}

.peer-rating-options input {
  flex: 0 0 auto;
  width: 1.15rem;
  height: 1.15rem;
  margin: 0;
  accent-color: var(--nib-blue);
}

.peer-rating-score {
  display: grid;
  flex: 0 0 2rem;
  width: 2rem;
  height: 2rem;
  place-items: center;
  color: #ffffff;
  font-weight: 800;
  background: var(--nib-panel);
  border-radius: 50%;
}

.peer-rating-label {
  color: var(--nib-text);
  line-height: 1.3;
}

.peer-assessment-member-panel > h1 {
  margin-bottom: 0.35rem;
}

.peer-assessment-progress {
  display: grid;
  gap: 0.4rem;
  margin-bottom: 0.8rem;
}

.peer-assessment-progress p {
  margin: 0;
}

.peer-assessment-progress progress {
  width: 100%;
  height: 0.55rem;
  overflow: hidden;
  accent-color: var(--nib-orange);
  border: 0;
  border-radius: 999px;
}

.peer-assessment-form {
  display: grid;
  gap: 1rem;
  margin-top: 1.25rem;
}

.peer-criterion-card {
  min-width: 0;
  margin: 0;
  padding: 1rem;
  background: #f7fafc;
  border: 1px solid rgba(23, 32, 42, 0.14);
  border-left: 4px solid var(--nib-orange);
  border-radius: 10px;
}

.peer-criterion-card legend {
  float: none;
  width: 100%;
  margin: 0 0 0.45rem;
  padding: 0;
  color: var(--nib-panel);
  font-family: 'Montserrat', sans-serif;
  font-size: 1.05rem;
  font-weight: 800;
}

.peer-criterion-card legend span {
  display: block;
  margin-bottom: 0.2rem;
  color: var(--nib-orange);
  font-size: 0.72rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.peer-criterion-description {
  margin: 0 0 0.85rem;
  color: #52606d;
}

.peer-comment-card {
  display: grid;
  gap: 0.45rem;
  margin: 0;
  padding: 1rem;
  background: rgba(72, 174, 234, 0.07);
  border: 1px solid rgba(72, 174, 234, 0.35);
  border-radius: 10px;
}

.peer-comment-card > label {
  display: flex;
  gap: 0.75rem;
  align-items: center;
  justify-content: space-between;
  color: var(--nib-panel);
  font-family: 'Montserrat', sans-serif;
  font-weight: 800;
}

.peer-comment-card > label small {
  padding: 0.2rem 0.5rem;
  color: var(--nib-panel);
  font-family: inherit;
  font-size: 0.72rem;
  background: #ffffff;
  border: 1px solid rgba(72, 174, 234, 0.4);
  border-radius: 999px;
}

.peer-comment-help,
.peer-comment-limit {
  margin: 0;
  color: #52606d;
}

.peer-comment-card textarea {
  min-height: 9rem;
  border: 1px solid rgba(23, 32, 42, 0.25);
  border-radius: 8px;
}

.peer-comment-card textarea:focus {
  outline: 0;
  border-color: var(--nib-blue);
  box-shadow: 0 0 0 3px rgba(72, 174, 234, 0.16);
}

.peer-assessment-form .account-actions {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.65rem;
}

.peer-assessment-form .account-actions .btn {
  width: 100%;
  min-height: 48px;
}

@media (min-width: 600px) {
  .peer-rating-options {
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  }

  .peer-assessment-form .account-actions {
    display: flex;
    justify-content: space-between;
  }

  .peer-assessment-form .account-actions .btn {
    width: auto;
  }
}

.peer-review-member {
  padding: 1rem 0;
  border-bottom: 1px solid rgba(23, 32, 42, 0.1);
}

.peer-review-member:last-of-type {
  margin-bottom: 1.25rem;
}

.student-report-viewer {
  display: grid;
  gap: 1rem;
}

.student-report-viewer-header {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
  justify-content: space-between;
}

.student-report-viewer-header h2,
.student-report-viewer-header p {
  margin: 0;
}

.student-report-viewer-header p {
  color: #52606d;
}

.student-report-frame {
  width: 100%;
  min-height: 72vh;
  background: #ffffff;
  border: 1px solid rgba(23, 32, 42, 0.14);
  border-radius: 8px;
}

.grade-projection-panel {
  overflow: hidden;
  border-top: 4px solid var(--nib-orange);
}

.grade-projection-heading {
  display: grid;
  gap: 0.7rem;
}

.grade-projection-heading h2,
.grade-projection-heading p {
  margin: 0;
}

.grade-projection-badge {
  justify-self: start;
  padding: 0.35rem 0.65rem;
  color: var(--nib-panel);
  font-size: 0.78rem;
  font-weight: 800;
  background: rgba(242, 138, 29, 0.13);
  border: 1px solid rgba(242, 138, 29, 0.42);
  border-radius: 999px;
}

.grade-projection-intro {
  margin: 0.8rem 0 0;
  color: #52606d;
}

.grade-projection-ceiling {
    display: grid;
    gap: 0.9rem;
    padding: 1rem;
    border: 1px solid rgba(28, 93, 153, 0.24);
    border-radius: 1rem;
    background: linear-gradient(145deg, rgba(236, 246, 255, 0.96), rgba(255, 255, 255, 0.98));
}

.grade-projection-ceiling > div {
    display: grid;
    gap: 0.2rem;
}

.grade-projection-ceiling span {
    color: var(--color-text-muted);
    font-size: 0.88rem;
    font-weight: 700;
}

.grade-projection-ceiling strong {
    color: var(--color-primary);
    font-size: clamp(2rem, 10vw, 3rem);
    line-height: 1;
}

.grade-projection-ceiling p,
.grade-projection-ceiling ul {
    margin: 0;
}

.grade-projection-ceiling ul {
    display: grid;
    gap: 0.35rem;
    padding-left: 1.2rem;
    color: var(--color-text-muted);
    font-size: 0.9rem;
}

.grade-projection-form {
  grid-template-columns: minmax(0, 1fr);
  margin-top: 1.25rem;
  padding: 1rem;
  background: #f7fafc;
  border: 1px solid rgba(23, 32, 42, 0.12);
  border-radius: 10px;
}

.grade-projection-form input {
  font-size: 1.1rem;
  font-weight: 700;
}

.grade-projection-form .btn {
  width: 100%;
  min-height: 48px;
}

.grade-projection-alert {
  margin-top: 1rem;
}

.grade-projection-result {
  display: grid;
  gap: 1rem;
  margin-top: 1.25rem;
}

.grade-projection-summary-grid,
.grade-projection-category-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.75rem;
}

.grade-projection-summary-grid > div {
  display: flex;
  gap: 1rem;
  align-items: center;
  justify-content: space-between;
  padding: 0.8rem 1rem;
  background: var(--nib-panel);
  border-radius: 8px;
}

.grade-projection-summary-grid span {
  color: rgba(255, 255, 255, 0.78);
  font-size: 0.82rem;
}

.grade-projection-summary-grid strong {
  color: #ffffff;
  font-size: 1.5rem;
}

.grade-projection-message,
.grade-projection-category {
  padding: 1rem;
  border-radius: 9px;
}

.grade-projection-message h3,
.grade-projection-message p {
  margin: 0;
}

.grade-projection-message h3 {
  margin-bottom: 0.3rem;
  font-size: 1rem;
}

.grade-projection-message.is-success {
  color: #245c3a;
  background: #effaf3;
  border-left: 4px solid #3a8f5b;
}

.grade-projection-message.is-warning {
  color: #6d4700;
  background: #fff8e7;
  border-left: 4px solid var(--nib-orange);
}

.grade-projection-category {
  display: grid;
  gap: 0.3rem;
  background: #f7fafc;
  border: 1px solid rgba(23, 32, 42, 0.12);
}

.grade-projection-category.is-primary {
  border-left: 4px solid var(--nib-blue);
}

.grade-projection-category.is-frozen {
  border-left: 4px solid #687784;
}

.grade-projection-category > span {
  color: #52606d;
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.grade-projection-category > strong {
  color: var(--nib-panel);
  font-size: 1.05rem;
}

.grade-projection-category > small,
.grade-projection-disclaimer,
.grade-projection-warnings {
  color: #687784;
}

.grade-projection-warnings summary {
  cursor: pointer;
  font-weight: 700;
}

.grade-projection-warnings ul {
  margin: 0.7rem 0 0;
}

.grade-projection-disclaimer {
  margin: 1.25rem 0 0;
  padding-top: 1rem;
  font-size: 0.85rem;
  border-top: 1px solid rgba(23, 32, 42, 0.1);
}

@media (min-width: 680px) {
  .grade-projection-heading {
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: start;
  }

  .grade-projection-form {
    grid-template-columns: minmax(190px, 0.65fr) auto;
    align-items: end;
  }

  .grade-projection-form .btn {
    width: auto;
  }

  .grade-projection-summary-grid,
  .grade-projection-category-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .grade-projection-summary-grid > div {
    display: grid;
    gap: 0.25rem;
  }
}

.admin-shell {
  width: min(100%, 1050px);
}

.admin-card-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
}

.admin-card-link {
  color: inherit;
  text-decoration: none;
}

.admin-card-link:hover,
.admin-card-link:focus {
  border-color: var(--nib-orange);
}

.admin-card-heading {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  align-items: center;
  justify-content: space-between;
}

.admin-card-heading h2 {
  margin-bottom: 0;
}

.admin-count-badge,
.admin-status-badge,
.admin-delivery-badge {
  display: inline-flex;
  align-items: center;
  min-height: 1.75rem;
  padding: 0.2rem 0.6rem;
  font-size: 0.78rem;
  font-weight: 700;
  line-height: 1;
  border-radius: 999px;
}

.admin-count-badge,
.admin-status-new {
  color: #713d08;
  background: #fff0d9;
  border: 1px solid #e7a34f;
}

.admin-filter-form {
  display: grid;
  grid-template-columns: minmax(220px, 1.5fr) repeat(3, minmax(150px, 1fr));
  gap: 1rem;
  align-items: end;
}

.admin-filter-form > div {
  display: grid;
  gap: 0.4rem;
}

.admin-filter-form label {
  font-size: 0.88rem;
  font-weight: 700;
}

.admin-filter-form input,
.admin-filter-form select {
  width: 100%;
  min-height: 44px;
  padding: 0.55rem 0.7rem;
  color: var(--nib-text);
  background: #ffffff;
  border: 1px solid #9eabb5;
  border-radius: 6px;
}

.admin-filter-form input:focus,
.admin-filter-form select:focus {
  border-color: var(--nib-blue);
  outline: 3px solid rgba(72, 174, 234, 0.2);
}

.admin-filter-actions {
  display: flex !important;
  grid-column: 1 / -1;
  grid-template-columns: max-content max-content;
  gap: 1rem !important;
  align-items: center;
}

.admin-section-heading,
.admin-user-list li {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  align-items: center;
  justify-content: space-between;
}

.admin-user-list {
  display: grid;
  gap: 0.6rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.admin-user-list li {
  padding: 0.65rem 0;
  border-bottom: 1px solid rgba(23, 32, 42, 0.1);
}

.admin-table {
  width: 100%;
  border-collapse: collapse;
}

.admin-table th,
.admin-table td {
  padding: 0.8rem;
  text-align: left;
  border-bottom: 1px solid rgba(23, 32, 42, 0.1);
}

.admin-inquiry-table {
  min-width: 940px;
}

.admin-inquiry-table td {
  vertical-align: top;
}

.admin-inquiry-table td strong,
.admin-inquiry-table td small {
  display: block;
}

.admin-inquiry-table td small {
  margin-top: 0.25rem;
  color: #687784;
  font-size: 0.78rem;
  overflow-wrap: anywhere;
}

.admin-inquiry-new td:first-child {
  border-left: 4px solid var(--nib-orange);
}

.admin-status-reviewing,
.admin-delivery-pending {
  color: #174d6b;
  background: #e8f5fc;
  border: 1px solid #78b8d9;
}

.admin-status-replied,
.admin-status-accepted,
.admin-status-completed,
.admin-delivery-sent {
  color: #245c3a;
  background: #effaf3;
  border: 1px solid #70b487;
}

.admin-status-closed {
  color: #46535d;
  background: #edf1f4;
  border: 1px solid #9eabb5;
}

.admin-delivery-failed {
  color: #7a271a;
  background: #fff3f0;
  border: 1px solid #d58b7d;
}

.admin-pagination {
  display: flex;
  gap: 1rem;
  align-items: center;
  justify-content: center;
  margin-top: 1.5rem;
}

.admin-inline-select-form {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  align-items: center;
  margin: 0;
}

.admin-inline-select-form select {
  min-height: 38px;
  padding: 0.4rem 0.65rem;
  color: var(--nib-text);
  background: #ffffff;
  border: 1px solid #9eabb5;
  border-radius: 6px;
}

.student-report-source-table small {
  display: block;
  margin-top: 0.25rem;
  color: #687784;
  overflow-wrap: anywhere;
}

.admin-reference {
  overflow-wrap: anywhere;
}

.admin-inquiry-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.admin-inquiry-metadata {
  margin-top: 1.25rem;
}

.admin-inquiry-message {
  padding: 1rem;
  white-space: pre-wrap;
  overflow-wrap: anywhere;
  background: #f7fafc;
  border-left: 4px solid var(--nib-blue);
  border-radius: 4px;
  line-height: 1.7;
}

.admin-detail-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.5rem;
}

.admin-detail-list div {
  grid-template-columns: minmax(100px, 0.35fr) 1fr;
}

.admin-account-links {
  display: grid;
  gap: 0.7rem;
  margin: 1rem 0 0;
  padding: 0;
  list-style: none;
}

.admin-account-links li {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 1rem;
  justify-content: space-between;
  padding: 0.7rem 0;
  border-bottom: 1px solid rgba(23, 32, 42, 0.1);
}

.admin-account-links span,
.admin-muted {
  color: #687784;
}

.admin-history-table {
  min-width: 720px;
}

.admin-history-table small {
  display: block;
  margin-top: 0.25rem;
  color: #687784;
  font-size: 0.78rem;
  overflow-wrap: anywhere;
}

.admin-reply-form {
  margin-top: 1.25rem;
}

.admin-management-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr);
  gap: 1.5rem;
}

.admin-compact-form {
  margin-top: 1.25rem;
}

.admin-compact-form textarea {
  width: 100%;
  min-height: 8rem;
  padding: 0.75rem 0.8rem;
  color: var(--nib-text);
  background: #fff;
  border: 1px solid #b8c2cc;
  border-radius: 6px;
  resize: vertical;
}

.admin-compact-form textarea:focus,
.admin-compact-form select:focus {
  border-color: var(--nib-blue);
  outline: 3px solid rgba(72, 174, 234, 0.2);
}

.admin-reply-form textarea {
  width: 100%;
  min-height: 12rem;
  padding: 0.75rem 0.8rem;
  color: var(--nib-text);
  background: #fff;
  border: 1px solid #b8c2cc;
  border-radius: 6px;
  resize: vertical;
}

.admin-reply-form textarea:focus {
  border-color: var(--nib-blue);
  outline: 3px solid rgba(72, 174, 234, 0.2);
}

.admin-fixed-recipient {
  padding: 0.75rem 0.8rem;
  overflow-wrap: anywhere;
  background: #f1f5f7;
  border: 1px solid #c7d0d7;
  border-radius: 6px;
}

.account-field-error {
  color: #9a2f20 !important;
  font-weight: 700;
}

.admin-outgoing-history {
  display: grid;
  gap: 1rem;
}

.admin-outgoing-message {
  padding: 1rem;
  background: #f7fafc;
  border: 1px solid #dce3e8;
  border-radius: 8px;
}

.admin-outgoing-message h3 {
  margin: 0 0 0.25rem;
  font-size: 1rem;
}

.admin-outgoing-message p {
  margin-bottom: 0;
}

.admin-outgoing-body {
  margin-top: 1rem;
  padding: 1rem;
  white-space: pre-wrap;
  overflow-wrap: anywhere;
  background: #fff;
  border-left: 4px solid var(--nib-blue);
  line-height: 1.65;
}

.admin-outgoing-meta {
  margin-top: 0.75rem;
  color: #687784;
  font-size: 0.84rem;
  overflow-wrap: anywhere;
}

.admin-activity-timeline {
  display: grid;
  gap: 0;
  margin: 0;
  padding: 0;
  list-style: none;
}

.admin-activity-timeline li {
  position: relative;
  display: grid;
  grid-template-columns: 1rem minmax(0, 1fr);
  gap: 1rem;
  padding-bottom: 1.25rem;
}

.admin-activity-timeline li:not(:last-child)::before {
  position: absolute;
  top: 0.85rem;
  bottom: -0.15rem;
  left: 0.43rem;
  width: 2px;
  content: "";
  background: #c7d0d7;
}

.admin-activity-timeline li:last-child {
  padding-bottom: 0;
}

.admin-activity-marker {
  position: relative;
  z-index: 1;
  width: 0.9rem;
  height: 0.9rem;
  margin-top: 0.25rem;
  background: var(--nib-blue);
  border: 3px solid #e8f5fc;
  border-radius: 50%;
}

.admin-activity-content h3 {
  margin: 0 0 0.35rem;
  font-size: 1rem;
}

.admin-activity-content p {
  margin: 0;
}

.admin-internal-note {
  padding: 0.8rem;
  white-space: pre-wrap;
  overflow-wrap: anywhere;
  background: #fff8e8;
  border-left: 4px solid var(--nib-orange);
  border-radius: 4px;
  line-height: 1.6;
}

.admin-activity-meta {
  margin-top: 0.45rem !important;
  color: #687784 !important;
  font-size: 0.82rem;
  overflow-wrap: anywhere;
}

.admin-delivery-attempt-table {
  min-width: 880px;
}

.admin-delivery-attempt-table td {
  vertical-align: top;
}

.admin-delivery-attempt-table small {
  display: block;
  margin-top: 0.3rem;
  color: #687784;
  font-size: 0.78rem;
  overflow-wrap: anywhere;
}

.admin-purchase-linkage {
  margin: 1rem 0;
}

.account-form select {
  min-height: 46px;
  padding: 0.65rem 0.8rem;
  background: #fff;
  border: 1px solid #b8c2cc;
  border-radius: 6px;
}

.account-form textarea {
    width: 100%;
    min-height: 7rem;
    resize: vertical;
    border: 1px solid var(--border-color, #c9d0d6);
    border-radius: .45rem;
    padding: .75rem;
    color: #15202b;
    background: #fff;
    font: inherit;
}

.admin-form-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1rem 1.25rem;
}

.admin-form-wide {
    grid-column: 1 / -1;
}

.catalog-form > label,
.admin-form-grid label {
    display: grid;
    gap: .4rem;
}

.short-url-result p {
    margin-bottom: 0;
    overflow-wrap: anywhere;
    font-size: 1.05rem;
}

.short-url-history-table small {
    display: block;
    margin-top: .25rem;
    color: var(--nib-muted);
    overflow-wrap: anywhere;
}

.short-url-status-created {
    color: #0f5132;
    background: #d1e7dd;
    border: 1px solid #75b798;
}

.short-url-status-failed {
    color: #842029;
    background: #f8d7da;
    border: 1px solid #ea868f;
}

.short-url-status-blocked {
    color: #664d03;
    background: #fff3cd;
    border: 1px solid #ffda6a;
}

.admin-two-column {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1.25rem;
}

.catalog-child {
    padding: 1rem 0;
    border-bottom: 1px solid rgba(20, 35, 50, .14);
}

.catalog-child h3 { margin-bottom: .15rem; }
.catalog-child small { color: #596876; }
.account-panel details { margin-top: 1.25rem; }
.account-panel summary { cursor: pointer; font-weight: 700; margin-bottom: 1rem; }
.admin-table td small { display: block; color: #596876; margin-top: .2rem; }

.catalog-price-list { list-style: none; padding: 0; margin: 1rem 0 0; }
.catalog-price-list li { display: flex; justify-content: space-between; gap: 1rem; padding: .55rem 0; border-top: 1px solid rgba(255,255,255,.18); }
.catalog-offer-panel details + h3 { margin-top: 1.5rem; }
.catalog-offer-panel > h3 { margin-top: 1.25rem; }

@media (max-width: 760px) {
    .admin-form-grid,
    .admin-two-column { grid-template-columns: 1fr; }
}

.admin-role-fieldset {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem 1.25rem;
  padding: 1rem;
  border: 1px solid #b8c2cc;
  border-radius: 6px;
}

.admin-role-fieldset legend {
  float: none;
  width: auto;
  padding: 0 0.4rem;
  font-size: 1rem;
  font-weight: 700;
}

@media (max-width: 767.98px) {
  .protected-context-inner {
    align-items: flex-start;
  }

  .protected-breadcrumbs,
  .protected-session-context {
    width: 100%;
  }

  .protected-session-context {
    padding-top: 0.6rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
  }

  .admin-card-grid {
    grid-template-columns: 1fr;
  }

  .admin-filter-form {
    grid-template-columns: 1fr;
  }

  .admin-detail-grid,
  .admin-management-grid {
    grid-template-columns: 1fr;
  }

  .student-report-viewer-header {
    flex-direction: column;
  }

  .student-report-viewer-header .btn {
    width: 100%;
  }
}

.text-secondary {
  color: var(--nib-text) !important;
}

.btn-primary {
  background-color: var(--nib-orange);
  border-color: var(--nib-orange);
}

.btn-primary:hover,
.btn-primary:focus {
  background-color: #d97814;
  border-color: #d97814;
}

.brand-mark {
  width: 26px;
  height: 42px;
  object-fit: contain;
}

.nib-hero {
  position: relative;
  overflow: hidden;
  background-color: var(--nib-panel);
  background-image: linear-gradient(rgba(11, 17, 23, 0.84), rgba(11, 17, 23, 0.9)), url("../img/home-bg.jpg");
  background-position: center;
  background-size: cover;
  padding-bottom: 5.5rem;
}

.nib-hero .container {
  position: relative;
  max-width: 980px;
}

.hero-logo {
  max-width: min(420px, 86vw);
  border-radius: 8px;
}

.hero-eyebrow,
.section-eyebrow {
  margin-bottom: 1rem;
  color: var(--nib-orange);
  font-family: Montserrat, sans-serif;
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.nib-hero h1 {
  max-width: 880px;
  margin-right: auto;
  margin-left: auto;
  font-size: clamp(2.6rem, 4.5vw, 4.2rem);
  line-height: 1.08;
}

.hero-mantra {
  margin-top: 1rem;
}

.hero-summary,
.hero-support {
  max-width: 780px;
  margin-right: auto;
  margin-left: auto;
  font-size: 1.22rem;
  line-height: 1.7;
}

.section-intro {
  max-width: 760px;
  margin: 0 auto 2rem;
  color: #52606d;
  font-size: 1.08rem;
  line-height: 1.7;
}

.section-intro p {
  margin-bottom: 0.9rem;
}

.section-intro p:last-child {
  margin-bottom: 0;
}

.hero-support {
  color: rgba(255, 255, 255, 0.76);
  font-size: 1.05rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  justify-content: center;
  margin-top: 2rem;
}

.hero-actions .btn {
  min-width: 180px;
}

.hero-actions .hero-secondary-btn {
  color: var(--nib-dark) !important;
  background-color: #ffffff;
  border-color: #ffffff;
}

.hero-actions .hero-secondary-btn:hover,
.hero-actions .hero-secondary-btn:focus {
  color: #ffffff !important;
  background-color: var(--nib-orange);
  border-color: var(--nib-orange);
}

.value-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  justify-content: center;
  margin-top: 2rem;
}

.value-chips span {
  padding: 0.55rem 0.85rem;
  color: #ffffff;
  background-color: rgba(255, 255, 255, 0.11);
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 999px;
  font-size: 0.88rem;
  font-weight: 700;
}

.portfolio {
  background: var(--nib-soft);
}

.portfolio .portfolio-item.service-tile {
  height: 100%;
  min-height: 260px;
  max-width: none;
  overflow: hidden;
  color: var(--nib-text);
  text-decoration: none;
  background: linear-gradient(180deg, #ffffff 0%, #fbfdff 100%);
  border: 1px solid rgba(23, 32, 42, 0.12);
  border-radius: 8px;
  box-shadow: 0 14px 30px rgba(11, 17, 23, 0.08);
  transition: transform 160ms ease, box-shadow 160ms ease, border-color 160ms ease;
}

.portfolio .portfolio-item.service-tile:hover,
.portfolio .portfolio-item.service-tile:focus {
  color: var(--nib-text);
  transform: translateY(-2px);
  border-color: rgba(72, 174, 234, 0.45);
  box-shadow: 0 18px 38px rgba(11, 17, 23, 0.13);
}

.service-tile-body {
  display: flex;
  min-height: 300px;
  flex-direction: column;
  justify-content: flex-start;
  padding: 2rem;
}

.service-kicker {
  align-self: flex-start;
  margin-bottom: 1.4rem;
  padding: 0.35rem 0.65rem;
  color: #ffffff;
  background-color: var(--nib-dark);
  border-radius: 999px;
  font-size: 0.72rem;
  font-weight: 700;
  line-height: 1;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.service-tile-body > .fa {
  margin-bottom: 1rem;
  color: var(--nib-blue);
  font-size: 2.35rem;
}

.service-tile-body h3 {
  margin-bottom: 0.8rem;
  font-size: 1.25rem;
  line-height: 1.25;
  text-transform: uppercase;
}

.service-tile-body p {
  flex: 1;
  margin-bottom: 0;
  color: #52606d;
  font-size: 1rem;
  line-height: 1.55;
}

.service-link {
  display: inline-flex;
  align-items: center;
  margin-top: 1.35rem;
  color: var(--nib-orange);
  font-weight: 700;
  text-transform: uppercase;
}

.service-link::after {
  margin-left: 0.45rem;
  content: "\f105";
  font-family: FontAwesome;
  font-weight: normal;
}

.service-group-heading {
  margin: 0 0 1.5rem;
  text-align: center;
}

.service-group-heading span {
  display: block;
  margin-bottom: 0.45rem;
  color: var(--nib-orange);
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.service-group-heading h3 {
  margin-bottom: 0;
  color: var(--nib-text);
  font-size: 1.35rem;
  text-transform: uppercase;
}

.product-heading {
  margin-top: 4rem;
}

.portfolio .portfolio-item .portfolio-item-caption {
  background-color: rgba(242, 138, 29, 0.88);
}

.section-principles,
.section-process,
.section-journal-preview {
  padding: 6rem 0;
}

.section-principles {
  background-color: #ffffff;
}

.stat-tile,
.step-card,
.story-card {
  height: 100%;
  padding: 1.75rem;
  background-color: #ffffff;
  border: 1px solid rgba(23, 32, 42, 0.12);
  border-radius: 8px;
  box-shadow: 0 14px 30px rgba(11, 17, 23, 0.07);
}

.stat-tile span,
.story-card span {
  display: block;
  margin-bottom: 0.75rem;
  color: var(--nib-orange);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.stat-tile strong {
  display: block;
  color: var(--nib-text);
  font-size: 1.08rem;
  line-height: 1.55;
}

.path-card {
  display: flex;
  flex-direction: column;
}

.path-card-primary {
  border-color: rgba(242, 138, 29, 0.34);
  box-shadow: 0 18px 38px rgba(242, 138, 29, 0.12);
}

.path-card a {
  display: inline-flex;
  align-items: center;
  align-self: flex-start;
  margin-top: 1.25rem;
  color: var(--nib-orange);
  font-weight: 700;
  text-decoration: none;
  text-transform: uppercase;
}

.path-card a::after {
  margin-left: 0.45rem;
  content: "\f105";
  font-family: FontAwesome;
  font-weight: normal;
}

.path-card a:hover,
.path-card a:focus {
  color: #d97814;
}

.about-story .lead {
  line-height: 1.7;
}

.section-process {
  background-color: var(--nib-soft);
}

.step-card {
  display: flex;
  gap: 1rem;
}

.step-card > div {
  display: flex;
  min-width: 0;
  flex: 1;
  flex-direction: column;
}

.step-card > span {
  display: inline-flex;
  flex: 0 0 3rem;
  width: 3rem;
  height: 3rem;
  align-items: center;
  justify-content: center;
  color: #ffffff;
  background-color: var(--nib-dark);
  border-radius: 8px;
  font-family: Montserrat, sans-serif;
  font-weight: 700;
}

.step-card h3,
.story-card h3 {
  margin-bottom: 0.75rem;
  color: var(--nib-text);
  font-size: 1.2rem;
  text-transform: uppercase;
}

.step-card p,
.story-card p,
.section-journal-preview .lead {
  color: #52606d;
  line-height: 1.65;
}

.step-link,
.product-link {
  display: inline-flex;
  align-items: center;
  align-self: flex-start;
  margin-top: auto;
  padding-top: 1rem;
  color: var(--nib-orange);
  font-weight: 700;
  text-decoration: none;
  text-transform: uppercase;
}

.step-link::after,
.product-link::after {
  margin-left: 0.45rem;
  content: "\f105";
  font-family: FontAwesome;
  font-weight: normal;
}

.step-link:hover,
.step-link:focus,
.product-link:hover,
.product-link:focus {
  color: #d97814;
}

.section-journal-preview {
  background-color: #ffffff;
}

.journal-list {
  display: grid;
  gap: 1rem;
}

.sample-disclaimer {
  margin-top: 1.5rem;
  padding: 1rem;
  background-color: #f8fbfd;
  border: 1px solid rgba(23, 32, 42, 0.12);
  border-radius: 8px;
}

.sample-disclaimer strong {
  display: block;
  margin-bottom: 0.4rem;
  color: var(--nib-text);
  font-family: Montserrat, sans-serif;
  font-size: 0.9rem;
  text-transform: uppercase;
}

.sample-disclaimer p {
  margin-bottom: 0;
  color: #52606d;
  font-size: 0.94rem;
  line-height: 1.6;
}

.sample-card {
  display: flex;
  flex-direction: column;
}

.sample-title-row {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
  justify-content: space-between;
}

.sample-title-row h3 {
  margin-bottom: 0.75rem;
}

.sample-status {
  display: flex;
  flex: 0 0 auto;
  flex-wrap: wrap;
  gap: 0.35rem;
  justify-content: flex-end;
}

.sample-status span {
  margin-bottom: 0;
  padding: 0.32rem 0.5rem;
  color: var(--nib-dark);
  background-color: rgba(72, 174, 234, 0.14);
  border: 1px solid rgba(72, 174, 234, 0.28);
  border-radius: 999px;
  font-size: 0.68rem;
  letter-spacing: 0.05em;
}

.product-card {
  display: flex;
  flex-direction: column;
}

.nexway-cta {
  padding: 6rem 0;
  color: #ffffff;
  background:
    linear-gradient(135deg, rgba(11, 17, 23, 0.88), rgba(16, 25, 35, 0.92)),
    url("../img/home-bg.jpg") center/cover;
}

.nexway-hero {
  position: relative;
  overflow: hidden;
  background:
    linear-gradient(135deg, rgba(11, 17, 23, 0.9), rgba(16, 25, 35, 0.94)),
    url("../img/home-bg.jpg") center/cover;
}

.nexway-hero h1 {
  max-width: 820px;
  font-size: clamp(2.35rem, 4vw, 4rem);
  line-height: 1.1;
}

.nexway-hero .hero-summary,
.nexway-hero .hero-support {
  margin-left: 0;
}

.nexway-hero-panel {
  display: grid;
  gap: 1rem;
  padding: 2rem;
  color: #ffffff;
  background-color: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 8px;
  box-shadow: 0 24px 54px rgba(0, 0, 0, 0.24);
}

.nexway-hero-panel img {
  max-width: 260px;
}

.nexway-product-logo {
  width: 168px;
  height: 168px;
  object-fit: contain;
}

.nexway-hero-panel span {
  align-self: flex-start;
  justify-self: flex-start;
  padding: 0.42rem 0.65rem;
  color: var(--nib-dark);
  background-color: var(--nib-orange);
  border-radius: 999px;
  font-weight: 700;
  text-transform: uppercase;
}

.nexway-hero-panel strong {
  line-height: 1.6;
}

.nexway-platform-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
  margin-top: 1.25rem;
}

.nexway-platform-tags span {
  display: inline-flex;
  gap: 0.45rem;
  align-items: center;
  padding: 0.55rem 0.75rem;
  color: #ffffff;
  background-color: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 999px;
  font-size: 0.9rem;
  font-weight: 700;
}

.nexway-platform-tags .fa {
  color: var(--nib-blue);
}

.nexway-section {
  padding: 6rem 0;
}

.nexway-soft {
  background-color: var(--nib-soft);
}

.nexway-feature-card,
.pricing-card,
.future-card,
.nexway-copy-card,
.important-notice {
  height: 100%;
  padding: 1.75rem;
  background-color: #ffffff;
  border: 1px solid rgba(23, 32, 42, 0.12);
  border-radius: 8px;
  box-shadow: 0 14px 30px rgba(11, 17, 23, 0.07);
}

.nexway-feature-card .fa,
.future-card .fa {
  margin-bottom: 1rem;
  color: var(--nib-blue);
  font-size: 2rem;
}

.nexway-feature-card h3,
.pricing-card h3,
.future-card h3,
.wizard-step h3 {
  margin-bottom: 0.85rem;
  color: var(--nib-text);
  font-size: 1.16rem;
  line-height: 1.3;
  text-transform: uppercase;
}

.nexway-feature-card p,
.pricing-card p,
.nexway-copy-card p,
.important-notice p {
  color: #52606d;
  line-height: 1.65;
}

.premium-card span,
.pricing-card > span {
  display: inline-flex;
  margin-bottom: 0.9rem;
  padding: 0.35rem 0.55rem;
  color: var(--nib-dark);
  background-color: rgba(242, 138, 29, 0.18);
  border-radius: 999px;
  font-size: 0.76rem;
  font-weight: 700;
  text-transform: uppercase;
}

.download-panel {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(280px, 0.8fr);
  gap: 2rem;
  align-items: center;
  padding: 2rem;
  color: #ffffff;
  background:
    linear-gradient(135deg, rgba(11, 17, 23, 0.9), rgba(16, 25, 35, 0.94)),
    url("../img/home-bg.jpg") center/cover;
  border-radius: 8px;
}

.download-panel h2 {
  color: #ffffff;
  text-transform: uppercase;
}

.download-panel p,
.download-actions small {
  color: rgba(255, 255, 255, 0.78);
  line-height: 1.65;
}

.download-actions {
  display: grid;
  gap: 0.85rem;
}

.featured-pricing {
  border-color: rgba(242, 138, 29, 0.42);
  box-shadow: 0 18px 38px rgba(242, 138, 29, 0.12);
}

.license-note {
  margin-top: 2rem;
  padding: 1rem;
  color: var(--nib-text);
  background-color: #ffffff;
  border: 1px solid rgba(23, 32, 42, 0.12);
  border-radius: 8px;
  line-height: 1.65;
}

.coverage-list {
  display: grid;
  gap: 0.85rem;
}

.coverage-list article {
  display: flex;
  gap: 0.8rem;
  align-items: flex-start;
  padding: 1rem;
  background-color: #ffffff;
  border: 1px solid rgba(23, 32, 42, 0.12);
  border-radius: 8px;
}

.coverage-list .fa {
  margin-top: 0.2rem;
  color: var(--nib-blue);
}

.future-card {
  text-align: center;
}

.important-notice {
  background-color: #fffaf4;
  border-color: rgba(242, 138, 29, 0.32);
}

.important-notice h2 {
  color: var(--nib-text);
  text-transform: uppercase;
}

.wizard-shell {
  padding: 1.5rem;
  background-color: #ffffff;
  border: 1px solid rgba(23, 32, 42, 0.12);
  border-radius: 8px;
  box-shadow: 0 18px 38px rgba(11, 17, 23, 0.1);
}

.wizard-form {
  display: grid;
  gap: 1rem;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.wizard-step {
  padding: 1.25rem;
  background-color: #f8fbfd;
  border: 1px solid rgba(23, 32, 42, 0.1);
  border-radius: 8px;
}

.wizard-step > span {
  display: inline-flex;
  width: 2.6rem;
  height: 2.6rem;
  align-items: center;
  justify-content: center;
  margin-bottom: 1rem;
  color: #ffffff;
  background-color: var(--nib-dark);
  border-radius: 8px;
  font-family: Montserrat, sans-serif;
  font-weight: 700;
}

.package-options {
  display: grid;
  gap: 0.65rem;
}

.package-options label {
  display: flex;
  gap: 0.6rem;
  align-items: flex-start;
  padding: 0.85rem;
  color: var(--nib-text);
  background-color: #ffffff;
  border: 1px solid rgba(23, 32, 42, 0.12);
  border-radius: 8px;
  line-height: 1.4;
}

.wizard-label {
  margin-bottom: 0.35rem;
  color: #52606d;
  font-size: 0.86rem;
  font-weight: 700;
  text-transform: uppercase;
}

.wizard-help {
  display: block;
  margin-top: 0.6rem;
  color: #52606d;
  line-height: 1.5;
}

.wizard-result {
  color: var(--nib-text);
  background-color: #ffffff;
}

.wizard-result > strong {
  display: block;
  margin-bottom: 0.6rem;
  color: var(--nib-orange);
  font-size: 2rem;
  line-height: 1.1;
}

.wizard-success {
  margin-top: 1rem;
  padding: 1rem;
  background-color: rgba(72, 174, 234, 0.12);
  border: 1px solid rgba(72, 174, 234, 0.28);
  border-radius: 8px;
}

.wizard-success p {
  margin-bottom: 0;
  color: #52606d;
}

.nexway-card {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(280px, 0.85fr);
  gap: 2rem;
  align-items: center;
  padding: 2.25rem;
  background-color: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 8px;
  box-shadow: 0 24px 54px rgba(0, 0, 0, 0.24);
}

.nexway-copy h2 {
  max-width: 780px;
  margin-bottom: 1rem;
  color: #ffffff;
  font-size: 2rem;
  line-height: 1.25;
  text-transform: uppercase;
}

.nexway-copy p:not(.section-eyebrow) {
  max-width: 780px;
  color: rgba(255, 255, 255, 0.8);
  font-size: 1.08rem;
  line-height: 1.7;
}

.nexway-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-top: 1.75rem;
}

.nexway-points {
  display: grid;
  gap: 1rem;
  grid-template-columns: 1fr;
}

.nexway-points article {
  display: flex;
  gap: 0.9rem;
  align-items: flex-start;
  padding: 1rem;
  background-color: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 8px;
  line-height: 1.55;
}

.nexway-points .fa {
  margin-top: 0.2rem;
  color: var(--nib-blue);
}

.about-mantra {
  margin: 2rem auto 0;
  color: var(--nib-orange);
  font-family: Montserrat, sans-serif;
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-align: center;
  text-transform: uppercase;
}

.contact-section {
  padding: 6rem 0;
  color: #ffffff;
  background: linear-gradient(135deg, var(--nib-dark), var(--nib-panel));
}

.contact-heading {
  max-width: 820px;
  margin: 0 auto 3rem;
}

.contact-heading h2 {
  color: #ffffff;
  line-height: 1.22;
}

.contact-shell {
  display: grid;
  grid-template-columns: minmax(0, 0.82fr) minmax(0, 1.18fr);
  gap: 1.5rem;
  align-items: stretch;
}

.contact-panel,
.contact-card {
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 8px;
  box-shadow: 0 24px 54px rgba(0, 0, 0, 0.22);
}

.contact-panel {
  padding: 2rem;
  background: rgba(255, 255, 255, 0.08);
}

.contact-panel h3 {
  margin: 1.5rem 0 1rem;
  color: #ffffff;
  font-size: 1.55rem;
  line-height: 1.35;
  text-transform: uppercase;
}

.contact-panel p {
  color: rgba(255, 255, 255, 0.78);
  line-height: 1.65;
}

.contact-panel h4 {
  margin: 1.5rem 0 0.9rem;
  color: #ffffff;
  font-size: 0.95rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.contact-points {
  display: grid;
  gap: 0.85rem;
  margin-top: 0;
}

.contact-points article {
  display: flex;
  gap: 0.8rem;
  align-items: center;
  padding: 0.9rem;
  color: #ffffff;
  background-color: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 8px;
}

.contact-points .fa {
  color: var(--nib-blue);
  font-size: 1.1rem;
}

.contact-card {
  padding: 1.6rem;
  background-color: #ffffff;
}

.contact-card form {
  display: flex;
  height: 100%;
  flex-direction: column;
}

.contact-card .row {
  --bs-gutter-y: 0.9rem;
}

.contact-card .form-floating > .form-control,
.contact-card .form-floating > .form-select {
  min-height: 3.25rem;
  height: 3.25rem;
  padding-top: 1.35rem;
  padding-bottom: 0.45rem;
  color: var(--nib-text);
  background-color: #f8fbfd;
  border: 1px solid rgba(23, 32, 42, 0.14);
  border-radius: 8px;
  font-size: 0.96rem;
}

.contact-card .message-field {
  display: flex;
  min-height: 300px;
  flex: 1 1 300px;
  flex-direction: column;
  margin-top: 0.9rem;
}

.contact-card .message-floating {
  display: flex;
  flex: 1 1 auto;
  min-height: 300px;
}

.contact-card .form-floating > textarea.form-control {
  min-height: 300px;
  height: 100%;
  flex: 1 1 auto;
  padding-top: 2rem;
  line-height: 1.5;
  resize: vertical;
}

.contact-card .form-floating > label {
  padding-top: 0.85rem;
  color: #667789;
  font-size: 0.9rem;
}

.contact-card .form-floating > textarea.form-control ~ label {
  padding-top: 0.75rem;
}

.message-note {
  margin-bottom: 0.45rem;
  color: #667789;
  font-size: 0.9rem;
  line-height: 1.45;
}

.contact-submit {
  width: 100%;
  margin-top: 1rem;
  padding: 0.85rem 1.25rem;
}

.form-control:focus,
.form-select:focus {
  border-color: var(--nib-blue);
  box-shadow: 0 0 0 0.25rem rgba(72, 174, 234, 0.25);
}

.modal-content {
  border: 0;
  border-radius: 8px;
  overflow: hidden;
  color: var(--nib-text);
  background-color: #ffffff;
  box-shadow: 0 24px 64px rgba(0, 0, 0, 0.28);
}

.modal-header {
  min-height: 4rem;
  background-color: #ffffff;
  border-bottom: 0;
}

.modal .btn-close {
  opacity: 1;
  filter: none;
}

.modal-body {
  background-color: #ffffff;
}

.modal-body h2.text-secondary {
  color: var(--nib-text) !important;
  line-height: 1.2;
}

.modal-body p {
  color: #52606d;
  font-size: 1.15rem;
  line-height: 1.7;
}

.student-page {
  background-color: var(--nib-soft);
}

.student-hero {
  padding: 10rem 0 4.5rem;
  color: #ffffff;
  background-color: var(--nib-panel);
  background-image: linear-gradient(rgba(11, 17, 23, 0.88), rgba(11, 17, 23, 0.94)), url("../img/home-bg.jpg");
  background-position: center;
  background-size: cover;
}

.student-hero .container {
  max-width: 900px;
}

.student-hero h1 {
  margin-bottom: 1.25rem;
  font-size: clamp(2.25rem, 4vw, 3.75rem);
  line-height: 1.12;
}

.student-hero p {
  max-width: 780px;
  margin: 0 auto;
  color: rgba(255, 255, 255, 0.82);
  font-size: 1.12rem;
  line-height: 1.75;
}

.student-main {
  padding: 4.5rem 0;
}

.student-note {
  margin: 0 auto 2.5rem;
  padding: 1rem 1.25rem;
  color: #334155;
  background-color: #ffffff;
  border-left: 4px solid var(--nib-blue);
  border-radius: 4px;
  box-shadow: 0 8px 24px rgba(11, 17, 23, 0.06);
}

.student-portal-card {
  display: flex;
  height: 100%;
  min-height: 300px;
  flex-direction: column;
  padding: 1.6rem;
  background-color: #ffffff;
  border: 1px solid rgba(23, 32, 42, 0.12);
  border-radius: 8px;
  box-shadow: 0 12px 28px rgba(11, 17, 23, 0.07);
}

.student-portal-card .fa {
  margin-bottom: 1.25rem;
  color: var(--nib-orange);
  font-size: 2rem;
}

.student-portal-card h2 {
  font-size: 1.18rem;
  line-height: 1.35;
}

.student-portal-card p {
  color: #52606d;
  line-height: 1.65;
}

.student-portal-card .btn {
  align-self: flex-start;
  margin-top: auto;
}

.resource-shell {
  max-width: 920px;
  margin: 0 auto;
}

.resource-intro,
.resource-empty,
.resource-support,
.login-preview {
  padding: 1.75rem;
  background-color: #ffffff;
  border: 1px solid rgba(23, 32, 42, 0.12);
  border-radius: 8px;
}

.resource-intro {
  margin-bottom: 2rem;
  color: #52606d;
  font-size: 1.06rem;
  line-height: 1.75;
}

.resource-list-title {
  margin-bottom: 1rem;
  font-size: 1.3rem;
}

.resource-library-heading {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 1rem;
}

.resource-library-heading p {
  margin: 0;
  color: #637080;
}

.resource-library {
  display: grid;
  gap: 1rem;
  margin-bottom: 1.5rem;
}

.resource-area-card {
  background-color: #ffffff;
  border: 1px solid rgba(23, 32, 42, 0.12);
  border-radius: 8px;
  overflow: hidden;
}

.resource-area-card summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1rem 1.25rem;
  color: #182636;
  cursor: pointer;
  list-style: none;
  background-color: #f8fafc;
  border-bottom: 1px solid transparent;
}

.resource-area-card[open] summary {
  border-bottom-color: rgba(23, 32, 42, 0.1);
}

.resource-area-card summary::-webkit-details-marker {
  display: none;
}

.resource-area-card summary span {
  font-weight: 800;
}

.resource-area-card summary small {
  color: #637080;
  font-weight: 700;
}

.resource-type-stack {
  display: grid;
  gap: 1rem;
  padding: 1rem;
}

.resource-type-card {
  padding: 1rem;
  background-color: #ffffff;
  border: 1px solid rgba(23, 32, 42, 0.1);
  border-radius: 8px;
}

.resource-type-heading {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 1rem;
}

.resource-type-heading h3 {
  margin: 0;
  font-size: 1rem;
}

.resource-type-heading span {
  color: #637080;
  font-size: 0.88rem;
  font-weight: 700;
}

.resource-card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1rem;
}

.learning-resource-card {
  display: flex;
  flex-direction: column;
  min-height: 100%;
  padding: 1rem;
  border: 1px solid rgba(23, 32, 42, 0.1);
  border-radius: 8px;
  background-color: #fbfcfe;
}

.learning-resource-card-body {
  display: grid;
  gap: 0.45rem;
  margin-bottom: 1rem;
}

.resource-card-kicker {
  margin: 0;
  color: var(--nib-blue);
  font-size: 0.78rem;
  font-weight: 800;
  text-transform: uppercase;
}

.learning-resource-card h4 {
  margin: 0;
  font-size: 1rem;
}

.article-card h3 {
  margin: 0;
  font-size: 1.05rem;
}

.learning-resource-card p {
  margin: 0;
  color: #52606d;
  line-height: 1.55;
}

.resource-card-meta,
.resource-file-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.resource-card-meta span {
  padding: 0.25rem 0.45rem;
  color: #354252;
  background-color: #eef4fa;
  border-radius: 4px;
  font-size: 0.8rem;
  font-weight: 700;
}

.article-card {
  border-left-width: 4px;
}

.article-card-blue {
  border-left-color: var(--nib-blue);
}

.article-card-green {
  border-left-color: #269466;
}

.article-card-orange {
  border-left-color: var(--nib-orange);
}

.article-card-red {
  border-left-color: #c43c35;
}

.article-card-neutral {
  border-left-color: #637080;
}

.article-tag-list {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  margin: 0.25rem 0 0;
  padding: 0;
  list-style: none;
}

.article-tag-list li {
  padding: 0.2rem 0.45rem;
  color: #354252;
  background-color: #ffffff;
  border: 1px solid rgba(23, 32, 42, 0.12);
  border-radius: 999px;
  font-size: 0.78rem;
  font-weight: 700;
}

.article-shell {
  display: grid;
  gap: 1.25rem;
  max-width: 920px;
}

.article-header {
  display: grid;
  gap: 0.75rem;
  padding: 1.5rem;
  background-color: #ffffff;
  border: 1px solid rgba(23, 32, 42, 0.12);
  border-left: 5px solid var(--nib-blue);
  border-radius: 8px;
}

.article-accent-green .article-header {
  border-left-color: #269466;
}

.article-accent-orange .article-header {
  border-left-color: var(--nib-orange);
}

.article-accent-red .article-header {
  border-left-color: #c43c35;
}

.article-accent-neutral .article-header {
  border-left-color: #637080;
}

.article-header h1,
.article-header p {
  margin: 0;
}

.article-header > p {
  color: #52606d;
  font-size: 1.02rem;
  line-height: 1.65;
}

.article-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  color: #52606d;
  font-size: 0.9rem;
  font-weight: 700;
}

.article-meta span:not(:last-child)::after {
  content: "/";
  margin-left: 0.5rem;
  color: #9aa6b2;
}

.article-cover {
  margin: 0;
}

.article-cover img {
  width: 100%;
  height: auto;
  border: 1px solid rgba(23, 32, 42, 0.12);
  border-radius: 8px;
}

.article-content {
  display: grid;
  gap: 1rem;
  padding: 1.5rem;
  color: #182636;
  background-color: #ffffff;
  border: 1px solid rgba(23, 32, 42, 0.12);
  border-radius: 8px;
  line-height: 1.75;
}

.article-content h2,
.article-content h3,
.article-content h4,
.article-content p,
.article-content ul,
.article-content ol,
.article-content blockquote,
.article-content pre,
.article-content table {
  margin: 0;
}

.article-content h2 {
  margin-top: 0.6rem;
  font-size: 1.55rem;
}

.article-content h3 {
  margin-top: 0.4rem;
  font-size: 1.25rem;
}

.article-content ul,
.article-content ol {
  padding-left: 1.4rem;
}

.article-content img {
  max-width: 100%;
  height: auto;
  border-radius: 8px;
}

.article-content blockquote,
.article-callout {
  padding: 1rem;
  background-color: #f7fafc;
  border-left: 4px solid var(--nib-blue);
  border-radius: 6px;
}

.article-callout strong {
  display: block;
  margin-bottom: 0.45rem;
}

.article-callout-warning {
  border-left-color: #c43c35;
  background-color: #fff7f5;
}

.article-callout-example {
  border-left-color: #269466;
  background-color: #f2fbf6;
}

.article-callout-quote {
  border-left-color: #637080;
}

.article-content code {
  padding: 0.1rem 0.25rem;
  color: #17324d;
  background-color: #eef4fa;
  border-radius: 4px;
}

.article-content pre {
  overflow-x: auto;
  padding: 1rem;
  background-color: #10202f;
  border-radius: 8px;
}

.article-content pre code {
  padding: 0;
  color: #f7fafc;
  background-color: transparent;
}

.article-table-wrap {
  overflow-x: auto;
}

.article-content table {
  width: 100%;
  border-collapse: collapse;
}

.article-content th,
.article-content td {
  padding: 0.65rem;
  text-align: left;
  border: 1px solid rgba(23, 32, 42, 0.14);
}

.article-content th {
  background-color: #f1f5f9;
}

.resource-file-list {
  display: grid;
  gap: 0.75rem;
  margin-top: auto;
}

.resource-file-card {
  display: grid;
  gap: 0.75rem;
  padding: 0.85rem;
  background-color: #ffffff;
  border: 1px solid rgba(23, 32, 42, 0.1);
  border-radius: 8px;
}

.resource-file-card strong,
.resource-file-card small,
.resource-file-card span {
  display: block;
}

.resource-file-card small,
.resource-file-card span {
  color: #637080;
  font-size: 0.85rem;
}

.resource-file-actions .btn {
  padding: 0.45rem 0.75rem;
}

.resource-file-actions .btn-outline-secondary {
  color: #1f2d3a;
  background-color: #ffffff;
  border-color: #415365;
}

.resource-file-actions .btn-outline-secondary:hover,
.resource-file-actions .btn-outline-secondary:focus,
.resource-file-actions .btn-outline-secondary:active {
  color: #ffffff;
  background-color: #1f2d3a;
  border-color: #1f2d3a;
}

.resource-file-actions .btn-outline-secondary:focus-visible {
  outline: 3px solid rgba(29, 111, 179, 0.35);
  outline-offset: 2px;
}

.resource-empty {
  margin-bottom: 1.5rem;
  text-align: center;
  border-style: dashed;
}

.resource-empty .fa {
  margin-bottom: 0.8rem;
  color: var(--nib-blue);
  font-size: 2rem;
}

.resource-empty p,
.resource-support p {
  margin-bottom: 0;
  color: #52606d;
  line-height: 1.65;
}

.resource-support {
  border-left: 4px solid var(--nib-orange);
}

.student-breadcrumb {
  margin-bottom: 1.5rem;
}

.student-breadcrumb a {
  color: #52606d;
  text-decoration: none;
}

.login-preview {
  margin-bottom: 1.5rem;
}

.login-preview .form-control:disabled {
  color: #75808c;
  background-color: #eef2f5;
}

.coming-soon-badge {
  display: inline-block;
  margin-bottom: 1rem;
  padding: 0.4rem 0.65rem;
  color: #70400d;
  background-color: #fff0dc;
  border-radius: 4px;
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
}

.student-page .site-footer {
  margin-top: 0;
}

.services-page {
  background-color: #ffffff;
}

.services-hero {
  padding: 10rem 0 5rem;
  color: #ffffff;
  background-color: var(--nib-panel);
  background-image: linear-gradient(rgba(11, 17, 23, 0.88), rgba(11, 17, 23, 0.94)), url("../img/home-bg.jpg");
  background-position: center;
  background-size: cover;
}

.services-hero .container {
  max-width: 940px;
}

.services-hero h1 {
  margin-bottom: 1.25rem;
  font-size: clamp(2.6rem, 4.5vw, 4.2rem);
}

.services-hero .lead {
  max-width: 800px;
  margin-right: auto;
  margin-left: auto;
  color: rgba(255, 255, 255, 0.84);
  line-height: 1.75;
}

.services-anchor-nav {
  position: sticky;
  top: 106px;
  z-index: 1020;
  background-color: #ffffff;
  border-bottom: 1px solid rgba(23, 32, 42, 0.12);
  box-shadow: 0 6px 18px rgba(11, 17, 23, 0.05);
}

.services-anchor-nav .container {
  display: flex;
  gap: 0.5rem;
  overflow-x: auto;
  overscroll-behavior-x: contain;
  padding-top: 0.75rem;
  padding-bottom: 0.75rem;
  scrollbar-width: thin;
  -webkit-overflow-scrolling: touch;
}

.services-anchor-nav a {
  flex: 0 0 auto;
  padding: 0.55rem 0.8rem;
  color: #3d4b59;
  border-radius: 4px;
  font-size: 0.88rem;
  font-weight: 700;
  text-decoration: none;
}

.services-anchor-nav a:hover,
.services-anchor-nav a:focus {
  color: #ffffff;
  background-color: var(--nib-panel);
}

.service-detail {
  scroll-margin-top: 175px;
  padding: 5rem 0;
}

.service-detail:nth-of-type(even) {
  background-color: var(--nib-soft);
}

.service-detail-header {
  max-width: 800px;
  margin-bottom: 2.25rem;
}

.service-detail-header h2 {
  margin-bottom: 1rem;
  font-size: clamp(1.9rem, 3vw, 2.8rem);
}

.service-detail-header p {
  color: #52606d;
  font-size: 1.08rem;
  line-height: 1.75;
}

.service-content-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(280px, 0.65fr);
  gap: 1.5rem;
  align-items: start;
}

.service-support-panel,
.service-purpose-panel,
.service-boundary {
  padding: 1.6rem;
  background-color: #ffffff;
  border: 1px solid rgba(23, 32, 42, 0.12);
  border-radius: 8px;
}

.service-support-panel h3,
.service-purpose-panel h3,
.service-boundary h3 {
  margin-bottom: 1rem;
  font-size: 1.12rem;
}

.service-support-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.7rem 1.25rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.service-support-list li {
  position: relative;
  padding-left: 1.35rem;
  color: #52606d;
  line-height: 1.5;
}

.service-support-list li::before {
  position: absolute;
  top: 0.42rem;
  left: 0;
  width: 0.55rem;
  height: 0.55rem;
  content: "";
  background-color: var(--nib-blue);
  border-radius: 50%;
}

.service-purpose-panel p,
.service-boundary p {
  margin-bottom: 0;
  color: #52606d;
  line-height: 1.7;
}

.service-boundary {
  margin-top: 1.5rem;
  border-left: 4px solid var(--nib-orange);
}

.service-detail-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 1.5rem;
}

.service-detail-actions .btn-outline-secondary {
  color: var(--nib-text);
  background-color: #ffffff;
  border-color: var(--nib-text);
}

.service-detail-actions .btn-outline-secondary:hover,
.service-detail-actions .btn-outline-secondary:focus,
.service-detail-actions .btn-outline-secondary:active {
  color: #ffffff;
  background-color: var(--nib-text);
  border-color: var(--nib-text);
}

.service-process-section,
.request-prep-section,
.related-works-section {
  scroll-margin-top: 175px;
  padding: 5rem 0;
}

.service-process-section {
  color: #ffffff;
  background-color: var(--nib-panel);
}

.service-process-section h2 {
  color: #ffffff;
}

.service-process-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1rem;
  margin-top: 2.5rem;
}

.service-process-step {
  padding: 1.4rem;
  background-color: rgba(255, 255, 255, 0.07);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 8px;
}

.service-process-step span {
  display: block;
  margin-bottom: 1rem;
  color: var(--nib-orange);
  font-family: Montserrat, sans-serif;
  font-size: 1.4rem;
  font-weight: 700;
}

.service-process-step h3 {
  color: #ffffff;
  font-size: 1.05rem;
}

.service-process-step p {
  margin-bottom: 0;
  color: rgba(255, 255, 255, 0.72);
  line-height: 1.65;
}

.request-prep-layout,
.related-works-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 0.65fr);
  gap: 2.5rem;
  align-items: center;
}

.request-checklist {
  display: grid;
  gap: 0.75rem;
  margin: 0;
  padding: 1.5rem;
  list-style: none;
  background-color: var(--nib-soft);
  border-radius: 8px;
}

.request-checklist li {
  position: relative;
  padding-left: 1.6rem;
  color: #52606d;
}

.request-checklist li::before {
  position: absolute;
  left: 0;
  color: var(--nib-orange);
  font-family: FontAwesome;
  content: "\f00c";
}

.related-works-section {
  background-color: var(--nib-soft);
}

.works-page {
  background-color: var(--nib-soft);
}

.works-hero {
  padding: 10rem 0 5rem;
  color: #ffffff;
  background-color: var(--nib-panel);
  background-image: linear-gradient(rgba(11, 17, 23, 0.86), rgba(11, 17, 23, 0.94)), url("../img/home-bg.jpg");
  background-position: center;
  background-size: cover;
}

.works-hero .container {
  max-width: 940px;
}

.works-hero h1 {
  margin-bottom: 1.25rem;
  font-size: clamp(2.6rem, 4.5vw, 4.2rem);
}

.works-hero .lead {
  max-width: 820px;
  margin-right: auto;
  margin-left: auto;
  color: rgba(255, 255, 255, 0.82);
  line-height: 1.75;
}

.works-main {
  padding: 4.5rem 0;
}

.works-notice {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 1.25rem;
  max-width: 980px;
  margin: 0 auto 3rem;
  padding: 1.6rem;
  background-color: #ffffff;
  border: 1px solid rgba(23, 32, 42, 0.12);
  border-left: 4px solid var(--nib-orange);
  border-radius: 8px;
}

.works-notice > .fa {
  color: var(--nib-orange);
  font-size: 1.75rem;
}

.works-notice h2 {
  margin-bottom: 0.75rem;
  font-size: 1.3rem;
}

.works-notice p {
  color: #52606d;
  line-height: 1.7;
}

.works-catalog-summary .status-guide-item {
  display: grid;
  gap: 0.75rem;
}

.works-catalog-summary h3 {
  margin: 0;
  color: var(--nib-text);
  font-size: 1.05rem;
}

.status-guide {
  max-width: 980px;
  margin: 0 auto 4rem;
}

.status-guide-header {
  margin-bottom: 1.25rem;
}

.status-guide-header h2 {
  font-size: 1.55rem;
}

.status-guide-header p {
  margin-bottom: 0;
  color: #52606d;
}

.status-guide-list {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0.75rem;
}

.status-guide-item {
  padding: 1rem;
  background-color: #ffffff;
  border: 1px solid rgba(23, 32, 42, 0.1);
  border-radius: 8px;
}

.status-guide-item p {
  margin: 0.65rem 0 0;
  color: #667789;
  font-size: 0.9rem;
  line-height: 1.5;
}

.work-status {
  display: inline-flex;
  align-items: center;
  padding: 0.35rem 0.55rem;
  color: #25313d;
  background-color: #e7eef4;
  border-radius: 4px;
  font-size: 0.74rem;
  font-weight: 700;
  text-transform: uppercase;
}

.work-status-updated {
  color: #155b3a;
  background-color: #dff4e9;
}

.work-status-supported {
  color: #145275;
  background-color: #dceff9;
}

.work-status-review {
  color: #75440f;
  background-color: #fff0dc;
}

.work-status-archived {
  color: #5f6670;
  background-color: #e9ebee;
}

.works-category {
  scroll-margin-top: 110px;
  padding: 4.5rem 0;
}

.works-category:nth-of-type(even) {
  background-color: #ffffff;
}

.works-category-header {
  max-width: 780px;
  margin-bottom: 2rem;
}

.works-category-header h2 {
  margin-bottom: 1rem;
  font-size: clamp(1.9rem, 3vw, 2.7rem);
}

.works-category-header p {
  color: #52606d;
  font-size: 1.06rem;
  line-height: 1.7;
}

.work-sample-card {
  display: grid;
  grid-template-columns: 72px minmax(0, 1fr) auto;
  gap: 1.5rem;
  align-items: start;
  padding: 1.75rem;
  background-color: #ffffff;
  border: 1px solid rgba(23, 32, 42, 0.12);
  border-radius: 8px;
  box-shadow: 0 12px 28px rgba(11, 17, 23, 0.06);
}

.works-category:nth-of-type(even) .work-sample-card {
  background-color: var(--nib-soft);
}

.work-sample-icon {
  display: grid;
  width: 72px;
  height: 72px;
  color: #ffffff;
  background-color: var(--nib-panel);
  border-radius: 8px;
  font-size: 1.8rem;
  place-items: center;
}

.work-sample-title {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  align-items: center;
  margin-bottom: 0.75rem;
}

.work-sample-title h3 {
  margin: 0;
  font-size: 1.35rem;
}

.work-sample-card p {
  margin-bottom: 0;
  color: #52606d;
  line-height: 1.7;
}

.work-sample-card .btn:disabled {
  color: #66717c;
  background-color: #edf0f2;
  border-color: #cfd5da;
  opacity: 1;
}

.works-library {
  display: grid;
  gap: 1.5rem;
  padding: 0 0 4.5rem;
}

.works-library-heading {
  padding: 0 0 2rem;
}

.works-library-heading h2 {
  margin-bottom: 0.75rem;
  font-size: clamp(1.9rem, 3vw, 2.7rem);
}

.works-library-heading p:not(.section-eyebrow) {
  max-width: 760px;
  margin-bottom: 0;
  color: #52606d;
  line-height: 1.7;
}

.works-section-card {
  background-color: #ffffff;
  border-top: 1px solid rgba(23, 32, 42, 0.08);
  border-bottom: 1px solid rgba(23, 32, 42, 0.08);
}

.works-section-card > summary {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  max-width: 1140px;
  margin: 0 auto;
  padding: 1.35rem 0;
  color: var(--nib-text);
  font-family: Montserrat, sans-serif;
  font-size: 1.35rem;
  font-weight: 800;
  cursor: pointer;
}

.works-section-card > summary::marker {
  content: "";
}

.works-section-card > summary small {
  align-self: center;
  color: #667789;
  font-family: Lato, sans-serif;
  font-size: 0.95rem;
  font-weight: 700;
}

.works-section-body {
  display: grid;
  gap: 2rem;
  max-width: 1140px;
  margin: 0 auto;
  padding: 0 0 2.5rem;
}

.works-category-card {
  padding: 1.75rem;
  background-color: var(--nib-soft);
  border: 1px solid rgba(23, 32, 42, 0.1);
  border-radius: 8px;
}

.works-sample-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.25rem;
}

.sample-work-card {
  display: grid;
  gap: 1rem;
  align-content: start;
  min-height: 100%;
  padding: 1.4rem;
  background-color: #ffffff;
  border: 1px solid rgba(23, 32, 42, 0.1);
  border-left: 4px solid var(--nib-blue);
  border-radius: 8px;
  box-shadow: 0 12px 24px rgba(11, 17, 23, 0.06);
}

.sample-work-accent-green {
  border-left-color: #178252;
}

.sample-work-accent-orange {
  border-left-color: var(--nib-orange);
}

.sample-work-accent-red {
  border-left-color: #b24a3b;
}

.sample-work-accent-neutral {
  border-left-color: #66717c;
}

.sample-work-card-header {
  display: grid;
  grid-template-columns: 56px minmax(0, 1fr);
  gap: 1rem;
  align-items: start;
}

.sample-work-card-header .work-sample-icon {
  width: 56px;
  height: 56px;
  font-size: 1.35rem;
}

.sample-work-card h3 {
  margin: 0;
  font-size: 1.18rem;
  line-height: 1.35;
}

.sample-work-card p {
  margin: 0;
  color: #52606d;
  line-height: 1.65;
}

.sample-work-chip-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
}

.sample-work-chip-row span {
  padding: 0.32rem 0.5rem;
  color: #2d3a46;
  background-color: #eef4f8;
  border-radius: 4px;
  font-size: 0.78rem;
  font-weight: 700;
}

.sample-work-demo {
  display: grid;
  gap: 0.55rem;
  padding: 0.9rem;
  background-color: #f6f9fb;
  border: 1px solid rgba(23, 32, 42, 0.08);
  border-radius: 8px;
}

.sample-work-demo small {
  color: #667789;
  font-weight: 700;
}

.sample-work-file-list {
  display: grid;
  gap: 0.75rem;
}

.sample-work-file-card {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 1rem;
  align-items: center;
  padding: 0.85rem;
  background-color: #f9fbfc;
  border: 1px solid rgba(23, 32, 42, 0.08);
  border-radius: 8px;
}

.sample-work-file-card strong,
.sample-work-file-card small,
.sample-work-file-card span {
  display: block;
}

.sample-work-file-card small,
.sample-work-file-card span {
  color: #667789;
  line-height: 1.45;
}

.sample-work-pending-action {
  padding: 0.35rem 0.55rem;
  color: #66717c;
  background-color: #edf0f2;
  border-radius: 4px;
  font-size: 0.74rem;
  font-weight: 800;
  text-transform: uppercase;
  white-space: nowrap;
}

.sample-work-file-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  justify-content: flex-end;
}

.sample-work-file-actions .btn {
  padding: 0.45rem 0.7rem;
  font-size: 0.78rem;
  line-height: 1.2;
}

.sample-work-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: auto;
}

.sample-work-actions .btn:disabled {
  color: #66717c;
  background-color: #edf0f2;
  border-color: #cfd5da;
  opacity: 1;
}

.works-empty {
  max-width: 720px;
  margin: 0 auto;
  padding: 2rem;
  text-align: center;
  background-color: #ffffff;
  border: 1px solid rgba(23, 32, 42, 0.1);
  border-radius: 8px;
}

.works-empty .fa {
  margin-bottom: 1rem;
  color: var(--nib-blue);
  font-size: 2rem;
}

.works-related,
.works-inquiry {
  padding: 4.5rem 0;
}

.works-related {
  color: #ffffff;
  background-color: var(--nib-panel);
}

.works-related h2 {
  color: #ffffff;
}

.works-related p {
  max-width: 760px;
  color: rgba(255, 255, 255, 0.75);
  line-height: 1.7;
}

.works-related-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 1.5rem;
}

.works-related-links .btn-outline-light:hover,
.works-related-links .btn-outline-light:focus {
  color: var(--nib-text);
  background-color: #ffffff;
}

.works-inquiry {
  background-color: #ffffff;
}

.works-inquiry-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 2rem;
  align-items: center;
}

.works-inquiry-layout p {
  max-width: 760px;
  margin-bottom: 0;
  color: #52606d;
  line-height: 1.7;
}

.policy-page {
  background-color: var(--nib-soft);
}

.policy-hero {
  padding: 9.5rem 0 3.5rem;
  color: #ffffff;
  background-color: var(--nib-panel);
}

.policy-hero .container {
  max-width: 960px;
}

.policy-hero h1 {
  margin-bottom: 1rem;
  font-size: clamp(2.35rem, 4vw, 3.75rem);
}

.policy-updated {
  margin-bottom: 0;
  color: rgba(255, 255, 255, 0.72);
  font-weight: 700;
}

.policy-main {
  padding: 4.5rem 0;
}

.policy-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 280px;
  gap: 2.5rem;
  align-items: start;
}

.policy-content {
  padding: 2rem;
  background-color: #ffffff;
  border: 1px solid rgba(23, 32, 42, 0.1);
  border-radius: 8px;
}

.policy-intro {
  padding-bottom: 1.5rem;
  color: #3f4d5a;
  font-size: 1.08rem;
  line-height: 1.75;
  border-bottom: 1px solid rgba(23, 32, 42, 0.1);
}

.policy-section {
  scroll-margin-top: 120px;
  padding: 1.75rem 0;
  border-bottom: 1px solid rgba(23, 32, 42, 0.1);
}

.policy-section:last-child {
  padding-bottom: 0;
  border-bottom: 0;
}

.policy-section h2 {
  margin-bottom: 1rem;
  font-size: 1.4rem;
  line-height: 1.35;
}

.policy-section p,
.policy-section li {
  color: #52606d;
  line-height: 1.72;
}

.policy-section ul {
  display: grid;
  gap: 0.45rem;
  margin-bottom: 0;
}

.policy-price {
  margin: 1.25rem 0;
  padding: 1rem 1.25rem;
  color: var(--nib-text);
  background-color: #f3f7fa;
  border-left: 4px solid var(--nib-blue);
  border-radius: 4px;
  font-family: Montserrat, sans-serif;
  font-weight: 700;
}

.policy-sidebar {
  position: sticky;
  top: 120px;
  padding: 1.4rem;
  background-color: #ffffff;
  border: 1px solid rgba(23, 32, 42, 0.1);
  border-radius: 8px;
}

.policy-sidebar h2 {
  margin-bottom: 1rem;
  font-size: 1rem;
  text-transform: uppercase;
}

.policy-sidebar nav {
  display: grid;
  gap: 0.6rem;
}

.policy-sidebar a {
  color: #52606d;
  font-size: 0.92rem;
  text-decoration: none;
}

.policy-sidebar a:hover,
.policy-sidebar a:focus,
.policy-sidebar a[aria-current="page"] {
  color: var(--nib-orange);
}

.student-resource-note {
  margin-top: 1.5rem;
  padding: 1.4rem;
  color: #52606d;
  background-color: #f8fbfd;
  border: 1px solid rgba(23, 32, 42, 0.1);
  border-left: 4px solid var(--nib-blue);
  border-radius: 8px;
}

.student-resource-note h2 {
  margin-bottom: 0.75rem;
  color: var(--nib-text);
  font-size: 1.1rem;
}

.student-resource-note p {
  line-height: 1.65;
}

@media (max-width: 575.98px) {
  .masthead h1 {
    font-size: 2.5rem;
  }

  .masthead h2 {
    font-size: 1.1rem;
    line-height: 1.6;
  }

  .service-tile-body {
    min-height: 260px;
    padding: 1.5rem;
  }

  .section-principles,
  .section-process,
  .section-journal-preview,
  .nexway-section,
  .nexway-cta,
  .contact-section {
    padding: 4rem 0;
  }

  .student-hero {
    padding: 8.5rem 0 3.5rem;
  }

  .student-main {
    padding: 3.5rem 0;
  }

  .services-hero {
    padding: 8.5rem 0 3.75rem;
  }

  .works-hero {
    padding: 8.5rem 0 3.75rem;
  }

  .policy-hero {
    padding: 8rem 0 3rem;
  }

  .service-detail,
  .service-process-section,
  .request-prep-section,
  .related-works-section,
  .works-main,
  .works-category,
  .works-related,
  .works-inquiry,
  .policy-main {
    padding: 4rem 0;
  }

  .download-panel,
  .wizard-shell {
    padding: 1.25rem;
  }

  .sample-title-row {
    flex-direction: column;
    gap: 0.35rem;
  }

  .sample-status {
    justify-content: flex-start;
  }

  .step-card {
    flex-direction: column;
  }
}

@media (max-width: 991.98px) {
  .services-anchor-nav {
    top: 74px;
  }

  .service-detail,
  .service-process-section,
  .request-prep-section,
  .related-works-section {
    scroll-margin-top: 145px;
  }

  .contact-shell,
  .download-panel,
  .wizard-form,
  .nexway-card,
  .service-content-grid,
  .request-prep-layout,
  .related-works-layout,
  .works-inquiry-layout,
  .policy-layout {
    grid-template-columns: 1fr;
  }

  .contact-card form {
    height: auto;
  }

  .contact-card .message-field,
  .contact-card .message-floating {
    flex: none;
    min-height: 0;
  }

  .contact-card .form-floating > textarea.form-control {
    min-height: 18rem;
    height: 18rem;
  }

  .contact-submit {
    position: relative;
    z-index: 1;
    display: block;
    clear: both;
    margin-top: 1.25rem;
  }

  .policy-sidebar {
    position: static;
  }

  .service-process-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .status-guide-list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .works-section-card > summary,
  .works-section-body {
    max-width: calc(100% - 2rem);
  }

  .works-sample-grid {
    grid-template-columns: 1fr;
  }

  .work-sample-card {
    grid-template-columns: 64px minmax(0, 1fr);
  }

  .work-sample-icon {
    width: 64px;
    height: 64px;
  }

  .work-sample-card > .btn {
    grid-column: 2;
    justify-self: start;
  }

  .nexway-hero .hero-actions {
    justify-content: center !important;
  }
}

@media (max-width: 575.98px) {
  .contact-card {
    padding: 1.15rem;
  }

  .contact-card .form-floating > textarea.form-control {
    min-height: 16rem;
    height: 16rem;
  }

  .service-support-list,
  .service-process-grid,
  .status-guide-list {
    grid-template-columns: 1fr;
  }

  .works-notice,
  .work-sample-card {
    grid-template-columns: 1fr;
  }

  .works-section-card > summary {
    flex-direction: column;
  }

  .works-category-card,
  .sample-work-card {
    padding: 1rem;
  }

  .sample-work-card-header,
  .sample-work-file-card {
    grid-template-columns: 1fr;
  }

  .sample-work-pending-action {
    justify-self: start;
    white-space: normal;
  }

  .sample-work-file-actions {
    justify-content: flex-start;
  }

  .work-sample-card > .btn {
    grid-column: auto;
  }
}

.verification-page {
  background: #f3f7fb;
}

.verification-hero {
  padding: 7rem 0 3rem;
  background: linear-gradient(180deg, #eef6ff 0%, #f8fbff 100%);
}

.verification-hero h1 {
  max-width: 58rem;
  color: #0b1d33;
}

.verification-hero .lead {
  max-width: 54rem;
  color: #52657a;
}

.verification-section {
  padding: 2rem 0 4rem;
}

.verification-layout {
  display: grid;
  grid-template-columns: minmax(18rem, 24rem) minmax(0, 1fr);
  gap: 1.5rem;
  align-items: start;
}

.verification-summary,
.verification-status-card,
.verification-preview-page {
  border: 1px solid #d7e1ec;
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 20px 50px rgba(26, 48, 72, 0.08);
}

.verification-summary,
.verification-status-card {
  padding: 1.5rem;
}

.verification-summary {
  position: sticky;
  top: 1.5rem;
}

.verification-summary h2,
.verification-note h3 {
  color: #0b1d33;
}

.verification-summary dl {
  display: grid;
  gap: 0.9rem;
  margin: 1rem 0;
}

.verification-summary dl div {
  border-bottom: 1px solid #edf2f7;
  padding-bottom: 0.75rem;
}

.verification-summary dt {
  color: #60748a;
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
}

.verification-summary dd {
  margin: 0.2rem 0 0;
  color: #152539;
  font-weight: 700;
}

.verification-note,
.verification-limitation {
  color: #52657a;
}

.verification-preview-list {
  display: grid;
  gap: 1.25rem;
}

.verification-preview-page {
  position: relative;
  overflow: hidden;
  padding: 1rem;
}

.verification-preview-page::before,
.verification-preview-page::after {
  position: absolute;
  z-index: 1;
  color: rgba(11, 29, 51, 0.1);
  font-size: clamp(0.75rem, 2vw, 1.25rem);
  font-weight: 800;
  letter-spacing: 0;
  pointer-events: none;
  text-transform: uppercase;
}

.verification-preview-page::before {
  content: attr(data-watermark);
  top: 1.5rem;
  left: 1.5rem;
}

.verification-preview-page::after {
  right: 1.5rem;
  bottom: 3.25rem;
  content: "NIBNEXUS VERIFIED COUNTER-COPY";
}

.verification-preview-page img {
  display: block;
  width: 100%;
  height: auto;
  border: 1px solid #e1e8f0;
  background: #fff;
  user-select: none;
  -webkit-touch-callout: none;
  -webkit-user-drag: none;
}

.verification-preview-page figcaption {
  margin-top: 0.75rem;
  color: #60748a;
  font-size: 0.9rem;
  text-align: center;
}

.verification-watermark {
  position: absolute;
  inset: 1rem;
  z-index: 1;
  display: grid;
  place-items: center;
  color: rgba(11, 29, 51, 0.12);
  font-size: clamp(1.25rem, 5vw, 4rem);
  font-weight: 800;
  letter-spacing: 0;
  line-height: 1.1;
  pointer-events: none;
  text-align: center;
  transform: rotate(-18deg);
}

@media (max-width: 991.98px) {
  .verification-layout {
    grid-template-columns: 1fr;
  }

  .verification-summary {
    position: static;
  }
}

@media print {
  .verification-preview-list {
    display: none;
  }

  .verification-section::before {
    display: block;
    border: 1px solid #0b1d33;
    padding: 1rem;
    color: #0b1d33;
    content: "Verification previews are intentionally not printed from this public page. Scan the QR code or open the verification URL to review the current counter-copy.";
  }
}
