html.gradingly-product-ui {
  --gd-brand: var(--background-color, #2563eb);
  --gd-brand-dark: color-mix(in srgb, var(--background-color, #2563eb) 78%, black);
  --gd-brand-text: color-mix(in srgb, var(--background-color, #2563eb) 65%, black);
  --gd-brand-soft: color-mix(in srgb, var(--background-color, #2563eb) 10%, white);
  --gd-brand-soft-border: color-mix(in srgb, var(--background-color, #2563eb) 35%, white);
  --gd-brand-muted-bg: color-mix(in srgb, var(--background-color, #2563eb) 8%, white);
  --gd-brand-ring: color-mix(in srgb, var(--background-color, #2563eb) 28%, transparent);
  --gd-brand-shadow: color-mix(in srgb, var(--background-color, #2563eb) 12%, transparent);
}

html.gradingly-product-ui:has(.gd-powered-footer) {
  --gd-powered-footer-height: 2.25rem;
  --gd-powered-footer-clearance: 3.25rem;
}

.gd-app-shell {
  display: flex;
  flex-direction: column;
  height: 100vh;
  overflow: hidden;
}

body.gradingly-school-shell .gd-app-shell > .app-container {
  flex: 1;
  min-height: 0;
  height: auto;
  max-height: calc(100vh - 52px);
}

html:has(.gd-app-shell) .gd-powered-footer:not(.gd-powered-footer--in-main),
html:has(.gd-app-shell) > .gd-powered-footer:not(.gd-powered-footer--in-main) {
  display: none !important;
  visibility: hidden !important;
  height: 0 !important;
  min-height: 0 !important;
  overflow: hidden !important;
  pointer-events: none !important;
}

.gd-powered-footer--in-main {
  position: sticky;
  bottom: 0;
  flex-shrink: 0;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  min-height: var(--gd-powered-footer-height, 2.25rem);
  height: var(--gd-powered-footer-height, 2.25rem);
  background: #fff;
  border-top: 1px solid #e5e7eb;
  box-shadow: 0 -2px 8px rgba(0, 0, 0, 0.04);
  pointer-events: none;
}

.gd-powered-footer--in-main .gd-powered-footer__inner {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 0.35rem 0.5rem;
  padding: 0 1rem;
  pointer-events: auto;
}

.gd-powered-footer--in-main .gd-powered-footer__copy {
  font-size: 0.75rem;
  font-weight: 600;
  color: #6b7280;
  line-height: 1.2;
}

.gd-powered-footer--in-main .gd-powered-footer__link {
  font-size: 0.75rem;
  font-weight: 500;
  color: #2563eb;
  text-decoration: none;
  line-height: 1.2;
}

.gd-powered-footer--in-main .gd-powered-footer__link:hover {
  color: #1d4ed8;
  text-decoration: underline;
}

.gd-powered-footer--in-main .gd-powered-footer__dot {
  color: #9ca3af;
  font-size: 0.75rem;
  line-height: 1;
}

.gradingly-school-shell .main-content > .content-area {
  flex: 1 1 auto;
  min-height: 0;
  overflow-y: auto;
}

body.gd-ui-tier-basic .gd-nav-pro,
body.gd-ui-tier-basic .gd-nav-premium,
body.gd-ui-tier-pro .gd-nav-premium {
  display: none !important;
}

.gd-topbar {
  min-height: 52px;
  height: 52px;
  padding-right: 1.25rem;
  padding-left: 1.25rem;
  position: relative;
  z-index: 200;
  overflow: visible;
  gap: 0.75rem;
  border-bottom: 1px solid #e5e7eb;
}

.gd-topbar-full {
  flex-shrink: 0;
  width: 100%;
}

.gd-topbar-brand {
  display: flex;
  flex-shrink: 0;
  align-items: center;
}

.gd-topbar-sep {
  width: 1px;
  height: 20px;
  background: #e5e7eb;
  flex-shrink: 0;
}

.gradingly-school-shell .main-content > .gd-topbar {
  flex-shrink: 0;
}

.gd-topbar-page-head {
  flex: 1 1 auto;
  min-width: 0;
  padding-left: 1rem;
}
.gd-topbar-page-head h1 {
  margin: 0;
  font-size: 1.15rem;
  font-weight: 700;
  line-height: 1.2;
  color: #111827;
}
.gd-topbar-page-head p {
  margin: 0.15rem 0 0;
  font-size: 13px;
  line-height: 1.3;
  color: #6b7280;
}
.gd-topbar-crumbs {
  flex: 1 1 auto;
  min-width: 0;
  padding-left: 0;
  margin-left: 0;
}

.gd-topbar-full .gd-topbar-crumbs {
  border-left: none;
}

.gd-crumb-list {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.35rem 0.4rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.gd-crumb-item {
  display: flex;
  min-width: 0;
  align-items: center;
  gap: 0.4rem;
}

.gd-crumb-sep {
  color: #d1d5db;
  user-select: none;
}

.gd-crumb-link {
  max-width: 18rem;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  color: #2563eb;
  font-size: 14px;
  line-height: 1.2;
  text-decoration: underline;
  text-decoration-color: rgba(37, 99, 235, 0.35);
  text-underline-offset: 3px;
}

.gradingly-school-shell .gd-quiz-back-to-report,
.gradingly-school-shell .Quizbody > .row.g-0:first-child:has(> .col-12 > a.no-download) {
  display: none !important;
}

.gradingly-school-shell:has(.gd-exam-root) > .gd-shell-sidebar,
.gradingly-school-shell:has(.gd-exam-root) > .nov_sidebar,
.gradingly-school-shell:has(.gd-exam-root) .gd-topbar,
.gradingly-school-shell:has(.gd-exam-root) #mobileSidebar,
.gradingly-school-shell:has(.gd-exam-root) #mobileOverlay {
  display: none !important;
}

.gradingly-school-shell:has(.gd-exam-root) .main-content,
.gradingly-school-shell:has(.gd-exam-root) .content-area {
  margin: 0 !important;
  padding: 0 !important;
  width: 100% !important;
  max-width: none !important;
}

.gd-crumb-link:hover {
  text-decoration-color: #2563eb;
}

.gd-crumb-current {
  max-width: 18rem;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  color: #111827;
  font-size: 14px;
  font-weight: 600;
  line-height: 1.2;
}

@media (max-width: 991.98px) {
  .gd-topbar-crumbs,
  .gd-topbar-page-head {
    padding-left: 0.75rem;
  }
  .gd-crumb-link,
  .gd-crumb-current {
    max-width: 10rem;
  }
}

.gd-plan-wrap {
  gap: 0.5rem;
  flex-shrink: 0;
}

.gd-plan-text {
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
  font-size: 14px;
  line-height: 1.2;
  color: #94a3b8;
  user-select: none;
  white-space: nowrap;
}

.gd-plan-prefix {
  font-weight: 400;
}

.gd-plan-sep {
  color: #94a3b8;
}

.gd-plan-name {
  font-weight: 600;
  color: #111827;
}

.gd-plan-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.4rem 0.65rem;
  border: 1px solid #e5e7eb;
  border-radius: 8px;
  background: #f9fafb;
  color: #111827;
  font-size: 13px;
  font-weight: 700;
  line-height: 1.2;
  user-select: none;
}

.gd-plan-badge.gd-tier-pro {
  border-color: var(--gd-brand-soft-border);
  background: var(--gd-brand-soft);
  color: var(--gd-brand-dark);
}

.gd-plan-badge.gd-tier-premium {
  border-color: #e9d5ff;
  background: #faf5ff;
  color: #7e22ce;
}

.gd-plan-badge-label {
  white-space: nowrap;
}

.gd-view-as-label {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #6b7280;
  margin: 0;
  white-space: nowrap;
}

.gd-plan-dd {
  position: relative;
}

.gd-plan-trigger {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.4rem 0.65rem;
  border: 1px solid #e5e7eb;
  border-radius: 8px;
  background: #f9fafb;
  color: #111827;
  font-size: 13px;
  font-weight: 700;
  line-height: 1.2;
  cursor: pointer;
  transition: border-color 0.15s ease, background-color 0.15s ease, color 0.15s ease;
}

.gd-plan-trigger:hover:not(:disabled) {
  border-color: #d1d5db;
}

.gd-plan-trigger:focus {
  outline: none;
  box-shadow: 0 0 0 3px color-mix(in srgb, var(--gd-brand) 15%, transparent);
}

.gd-plan-trigger.gd-tier-pro {
  border-color: var(--gd-brand-soft-border);
  background: var(--gd-brand-soft);
  color: var(--gd-brand-dark);
}

.gd-plan-trigger.gd-tier-premium {
  border-color: #e9d5ff;
  background: #faf5ff;
  color: #7e22ce;
}

.gd-plan-trigger.gd-tier-premium .gd-plan-chevron {
  color: #9333ea;
}

.gd-plan-trigger-label {
  white-space: nowrap;
}

.gd-plan-chevron {
  flex-shrink: 0;
  color: var(--gd-brand);
}

.gd-plan-trigger.gd-tier-basic .gd-plan-chevron.gd-chevron-muted,
.gd-plan-chevron.gd-chevron-muted {
  color: #6b7280;
}

.gd-plan-menu {
  display: none;
  position: absolute;
  right: 0;
  top: calc(100% + 6px);
  min-width: 280px;
  padding: 0.35rem 0;
  margin: 0;
  border: 1px solid #e5e7eb;
  border-radius: 10px;
  background: #fff;
  box-shadow: 0 10px 24px rgba(15, 23, 42, 0.12);
  z-index: 1200;
}

.gd-plan-dd.show .gd-plan-menu {
  display: block;
}

.gd-plan-menu-heading {
  padding: 0.5rem 0.85rem 0.35rem;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #9ca3af;
}

.gd-plan-item {
  display: flex;
  align-items: flex-start;
  gap: 0.55rem;
  width: 100%;
  padding: 0.55rem 0.85rem;
  border: 0;
  background: transparent;
  text-align: left;
  cursor: pointer;
  transition: background-color 0.12s ease;
}

.gd-plan-item:hover:not(:disabled) {
  background: #f9fafb;
}

.gd-plan-item.is-selected {
  background: #f8fafc;
}

.gd-plan-item:disabled {
  opacity: 0.45;
  cursor: not-allowed;
}

.gd-plan-item-body {
  flex: 1;
  min-width: 0;
}

.gd-plan-item-title {
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
  font-size: 13px;
  font-weight: 700;
  color: #111827;
  line-height: 1.3;
}

.gd-plan-item-desc {
  display: block;
  margin-top: 0.1rem;
  font-size: 11px;
  line-height: 1.35;
  color: #6b7280;
}

.gd-tier-check {
  flex-shrink: 0;
  margin-top: 0.15rem;
  color: var(--gd-brand);
  opacity: 0;
}

.gd-plan-item.is-selected .gd-tier-check {
  opacity: 1;
}

.gd-tier-sparkle {
  color: #9333ea;
}

.gd-plan-dot {
  width: 8px;
  height: 8px;
  margin-top: 0.2rem;
  border-radius: 50%;
  flex-shrink: 0;
}

.gd-dot-gray {
  background: #9ca3af;
}

.gd-dot-blue {
  background: var(--gd-brand);
}

.gd-dot-ring {
  box-shadow: 0 0 0 2px #fff, 0 0 0 3px color-mix(in srgb, var(--gd-brand) 45%, white);
}

.gd-dot-purple {
  background: #9333ea;
}

.gd-intake-shell { background: #f9fafb; padding: 1.5rem; min-height: calc(100vh - 52px); }

.gd-card { background: #fff; border: 1px solid #e5e7eb; border-radius: 12px; }

.gd-intake-table-card .filters-section {
  margin-bottom: 1rem;
}
.gd-intake-table-wrap.tests-table-wrapper {
  margin-bottom: 0;
}
.gd-pill { border-radius: 999px; padding: 0.2rem 0.65rem; font-size: 12px; font-weight: 600; }
.gd-pill-active { background: #d1fae5; color: #047857; }
.gd-pill-completed { background: color-mix(in srgb, var(--gd-brand) 18%, white); color: var(--gd-brand-dark); }
.gd-pill-draft { background: #f3f4f6; color: #4b5563; }
.gd-level-pill { border-radius: 999px; padding: 0.25rem 0.65rem; font-size: 12px; border: 1px solid #e5e7eb; background: #fff; }
.gd-level-pill.active { background: var(--gd-brand); color: #fff; border-color: var(--gd-brand); }

.gd-badge-level { font-size: 11px; font-weight: 700; color: #fff; border-radius: 4px; padding: 2px 8px; }
.gd-badge-a1 { background: #6b7280; }
.gd-badge-a2 { background: #7f1d1d; }
.gd-badge-b1 { background: #ea580c; }
.gd-badge-b2 { background: #16a34a; }
.gd-badge-c1 { background: #2b85f0; }
.gd-badge-c2 { background: #7c3aed; }
.gd-badge-neutral { background: #6b7280; }
.gd-avatar {
  width: 28px; height: 28px; border-radius: 50%; font-size: 11px; font-weight: 700;
  display: inline-flex; align-items: center; justify-content: center; color: #fff;
}
.gd-avatar-level-a1,
.gd-avatar-stack-item.gd-avatar-level-a1 { background-color: #6b7280; color: #fff; }
.gd-avatar-level-a2,
.gd-avatar-stack-item.gd-avatar-level-a2 { background-color: #7f1d1d; color: #fff; }
.gd-avatar-level-b1,
.gd-avatar-stack-item.gd-avatar-level-b1 { background-color: #ea580c; color: #fff; }
.gd-avatar-level-b2,
.gd-avatar-stack-item.gd-avatar-level-b2 { background-color: #16a34a; color: #fff; }
.gd-avatar-level-c1,
.gd-avatar-stack-item.gd-avatar-level-c1 { background-color: #2b85f0; color: #fff; }
.gd-avatar-level-c2,
.gd-avatar-stack-item.gd-avatar-level-c2 { background-color: #7c3aed; color: #fff; }
.gd-avatar-level-neutral,
.gd-avatar-stack-item.gd-avatar-level-neutral { background-color: #6b7280; color: #fff; }

.gd-progress { height: 6px; border-radius: 999px; }

.gd-intake-shell.gd-classes-page {
  display: flex;
  flex-direction: column;
  flex: 1 1 auto;
  min-height: 0;
  height: 100%;
  overflow: hidden;
  padding: 0;
}

.gd-classes-toolbar .gd-search-wrapper.search-input-wrapper {
  width: 100%;
  max-width: 22rem;
  flex: 1 1 auto;
}
.gd-classes-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  flex-wrap: wrap;
}
.gd-classes-page .gd-intake-table-card {
  margin-top: 0;
}
.gd-class-subtitle {
  font-size: 12px;
  color: #6b7280;
  line-height: 1.35;
}
.gd-level-chip-a1 { background: #6b7280; color: #fff; }
.gd-level-chip-b2 { background: #16a34a; color: #fff; }
.gd-level-chip-b1 { background: #ea580c; color: #fff; }
.gd-level-chip-a2 { background: #7f1d1d; color: #fff; }
.gd-level-chip-c1 { background: #2b85f0; color: #fff; }
.gd-level-chip-c2 { background: #7c3aed; color: #fff; }
.gd-level-chip-neutral { background: #6b7280; color: #fff; }
.gd-score-danger { color: #dc2626 !important; }
.gd-score-warn { color: #d97706 !important; }
.gd-score-ok { color: #16a34a !important; }

.gd-classes-empty .gd-empty-icon {
  width: 64px; height: 64px; border-radius: 50%; background: var(--gd-brand-soft); color: var(--gd-brand);
  display: flex; align-items: center; justify-content: center; font-size: 28px;
}

.gd-intake-shell.gd-class-detail-page {
  display: flex;
  flex-direction: column;
  flex: 1 1 auto;
  min-height: 0;
  height: 100%;
  overflow: hidden;
  padding: 0;
  background: #f9fafb;
}
.gd-class-detail-page .gd-page-subheader {
  margin-bottom: 0;
}

.gd-class-detail-page .font-weight-semibold { font-weight: 600 !important; }
.gd-class-detail-page .font-weight-medium { font-weight: 500 !important; }

.gd-class-detail-page .gd-avatar.gd-avatar-sm {
  width: 28px;
  height: 28px;
  font-size: 10px;
  font-weight: 700;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.gd-class-detail-page .gd-gap-row {
  transition: background 0.12s;
}
.gd-class-detail-page .gd-gap-row:hover {
  background: rgba(249, 250, 251, 0.8);
}

.gd-class-detail-page .gd-avatar-stack-item {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  border: 2px solid #fff;
  font-size: 10px;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  margin-left: -8px;
  box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.04);
}
.gd-class-detail-page .gd-avatar-stack-item:first-child {
  margin-left: 0;
}

.gd-avatar-sm { width: 28px; height: 28px; font-size: 10px; }

.gd-gen-gap-wrap {
  display: inline-block;
  margin-top: 0.25rem;
}
.gd-gen-gap-wrap .btn:disabled,
.gd-gen-gap-wrap .btn-brand:disabled {
  opacity: 0.55;
  cursor: not-allowed;
  pointer-events: none;
}
@media print {
  .btn{ display: none !important; }
  .gd-class-detail-page .col-lg-8 { flex: 0 0 100% !important; max-width: 100% !important; }
}

/* Custom Modal Design (matches React NewIntakeModal) */
.gd-custom-modal .gd-modal-content {
  border-radius: 12px;
  border: 0;
  box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
  overflow: hidden;
}
.gd-modal-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.15rem 1.5rem;
  border-bottom: 1px solid #e5e7eb;
  background: #fff;
}
.gd-modal-title {
  font-size: 17px;
  font-weight: 700;
  color: #111827;
  margin: 0;
}
.gd-modal-subtitle {
  font-size: 12px;
  color: #6b7280;
  margin-top: 2px;
  margin-bottom: 0;
}
.gd-modal-close {
  width: 30px;
  height: 30px;
  border-radius: 8px;
  border: 1px solid #e5e7eb;
  background: #fff;
  color: #6b7280;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background 0.15s;
  flex-shrink: 0;
}
.gd-modal-close:hover {
  background: #f9fafb;
}
.gd-modal-body {
  padding: 1.25rem 1.5rem;
  max-height: calc(100vh - 200px);
  overflow-y: auto;
}
.gd-info-banner {
  border-radius: 8px;
  border: 1px solid color-mix(in srgb, var(--gd-brand) 18%, white);
  background: var(--gd-brand-soft);
  padding: 0.75rem 1rem;
}
.gd-info-banner-label {
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--gd-brand-dark);
  margin-bottom: 6px;
}
.gd-info-banner-text {
  font-size: 13px;
  color: #374151;
}
.gd-dot-separator {
  color: #d1d5db;
  margin: 0 0.5rem;
}

.gd-mode-card {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  width: 100%;
  text-align: left;
  border-radius: 8px;
  border: 1px solid #e5e7eb;
  padding: 0.75rem 1rem;
  cursor: pointer;
  transition: all 0.15s;
  background: #fff;
}
.gd-mode-card .gd-mode-text {
  flex: 1;
  min-width: 0;
}
.gd-mode-card:hover {
  border-color: #d1d5db;
}
.gd-mode-card.active {
  border-color: var(--gd-brand);
  background: var(--gd-brand-soft);
  box-shadow: 0 0 0 1px var(--gd-brand);
}
.gd-mode-icon {
  width: 28px;
  height: 28px;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  margin-top: 2px;
}
.gd-mode-icon svg {
  width: 16px;
  height: 16px;
  display: block;
  stroke: currentColor;
}
.gd-mode-icon.bg-blue,
.gd-mode-icon.gd-mode-icon--brand {
  background: var(--gd-brand, var(--modal-brand-primary, var(--background-color))) !important;
  color: #fff !important;
  border-color: transparent !important;
}
.gd-mode-icon.bg-gray,
.gd-mode-icon.gd-mode-icon--muted {
  background: #f3f4f6;
  color: #6b7280;
}
.gd-mode-title {
  font-size: 13px;
  font-weight: 600;
  color: #111827;
  line-height: 1.2;
}
.gd-mode-desc {
  font-size: 11px;
  color: #6b7280;
  margin-top: 2px;
  line-height: 1.3;
}
.gd-mode-radio {
  width: 16px;
  height: 16px;
  border-radius: 50%;
  border: 2px solid #d1d5db;
  margin-top: 2px;
  margin-left: auto;
}
.gd-mode-radio.active {
  border-color: var(--gd-brand);
  background: var(--gd-brand);
  box-shadow: inset 0 0 0 3px #fff;
}
.gd-section-card {
  border: 1px solid #dee2e6;
  border-radius: 8px;
  margin-bottom: 0.75rem;
  background: #fff;
  overflow: hidden;
}
.gd-section-header {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.75rem 1rem;
  cursor: pointer;
  background: #fff;
  transition: background 0.1s;
}
.gd-section-header:hover {
  background: #f9fafb;
}
.gd-section-title-row {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  min-width: 0;
}
.gd-section-title-row .gd-section-title {
  min-width: 0;
}
.gd-section-title-row .gd-section-count {
  margin-left: auto;
  flex-shrink: 0;
  white-space: nowrap;
}
.gd-step-badge {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: var(--gd-brand);
  color: #fff;
  font-size: 11px;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
}
.gd-section-title {
  font-size: 14px;
  font-weight: 600;
  color: #111827;
  line-height: 1.2;
}
.gd-section-subtitle {
  font-size: 12px;
  color: #9ca3af;
  margin-top: 2px;
  overflow-wrap: anywhere;
}

.gd-section-body {
  padding: 0.75rem 1rem;
  border-top: 1px solid #f3f4f6;
}
.gd-search-wrapper {
  position: relative;
  width: 200px;
}
.gd-search-icon {
  position: absolute;
  left: 10px;
  top: 50%;
  transform: translateY(-50%);
  color: #9ca3af;
  font-size: 12px;
}
.gd-search-input {
  width: 100%;
  height: 32px;
  padding-left: 32px;
  font-size: 12px;
  border: 1px solid #d1d5db;
  border-radius: 6px;
  outline: none;
}
.gd-search-input:focus {
  border-color: var(--gd-brand);
  box-shadow: 0 0 0 1px var(--gd-brand);
}
.gd-filter-label {
  font-size: 11px;
  color: #9ca3af;
}
.gd-level-chip {
  padding: 4px 10px;
  border-radius: 9999px;
  font-size: 11px;
  font-weight: 600;
  border: 1px solid #e5e7eb;
  background: #fff;
  color: #4b5563;
  margin-right: 4px;
  display: inline-flex;
  align-items: center;
}
.gd-level-chip.active {
  background: var(--gd-brand);
  color: #fff;
  border-color: var(--gd-brand);
}
.gd-level-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  margin-right: 4px;
}
.gd-level-dot.A1 { background: #6b7280; }
.gd-level-dot.A2 { background: #7f1d1d; }
.gd-level-dot.B1 { background: #ea580c; }
.gd-level-dot.B2 { background: #16a34a; }
.gd-level-dot.C1 { background: #2b85f0; }
.gd-level-dot.C2 { background: #7c3aed; }

.gd-empty-row {
  text-align: center;
  color: #9ca3af;
  font-size: 14px;
  padding: 24px;
}
.gd-input-label {
  font-size: 13px;
  font-weight: 500;
  color: #374151;
}

.gd-custom-modal .gd-intake-flags {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  padding-top: 0.75rem;
  border-top: 1px solid #e5e7eb;
}

.gd-custom-modal .gd-intake-flags .form-check {
  margin: 0;
}

.gd-custom-modal .gd-intake-flags .form-check-label {
  font-size: 0.875rem;
  font-weight: 500;
  color: #374151;
}
.gd-number-stepper {
  display: flex;
  align-items: center;
  border: 1px solid #e5e7eb;
  border-radius: 8px;
  background: #fff;
  overflow: hidden;
}
.gd-step-btn {
  width: 32px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #fff;
  border: 0;
  color: #6b7280;
  font-weight: bold;
}
.gd-step-btn:hover { background: #f9fafb; }
.gd-step-input {
  width: 64px;
  height: 36px;
  text-align: center;
  font-weight: 600;
  border: 0;
  background: transparent;
  outline: none;
}
.gd-alert-blue {
  font-size: 12px;
  color: var(--gd-brand-text);
  background: var(--gd-brand-soft);
  border-left: 3px solid var(--gd-brand);
  padding: 10px;
  border-radius: 6px;
  line-height: 1.5;
}
.gd-alert-gray {
  font-size: 12px;
  color: #4b5563;
  background: #f9fafb;
  border: 1px solid #e5e7eb;
  padding: 12px 14px;
  border-radius: 8px;
  line-height: 1.55;
}
.gd-modal-footer {
  display: flex;
  justify-content: flex-end;
  align-items: center;
  gap: 0.5rem;
  padding: 0.875rem 1.5rem;
  border-top: 1px solid #e5e7eb;
  background: #f9fafb;
}
.gd-modal-footer .gd-btn-cancel,
.gd-modal-footer .gd-btn-outline,
.gd-modal-footer .gd-btn-primary,
.gd-modal-footer .gd-btn-light,
.gd-modal-footer a.gd-btn-cancel,
.gd-modal-footer a.gd-btn-outline,
.gd-modal-footer a.gd-btn-primary {
  min-height: 36px;
  height: 36px;
  padding: 0.5rem 1rem !important;
  font-size: 0.875rem;
  font-weight: 700;
  line-height: 1;
  border-radius: 999px;
  box-shadow: 3px 3px 0 #0c1222;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
.gd-modal-footer .gd-btn-cancel:hover,
.gd-modal-footer .gd-btn-outline:hover,
.gd-modal-footer .gd-btn-primary:hover,
.gd-modal-footer .gd-btn-light:hover,
.gd-modal-footer a.gd-btn-cancel:hover,
.gd-modal-footer a.gd-btn-outline:hover,
.gd-modal-footer a.gd-btn-primary:hover {
  box-shadow: 4px 4px 0 #0c1222;
}
.gd-modal-footer .gd-btn-cancel:active,
.gd-modal-footer .gd-btn-outline:active,
.gd-modal-footer .gd-btn-primary:active,
.gd-modal-footer .gd-btn-light:active,
.gd-modal-footer a.gd-btn-cancel:active,
.gd-modal-footer a.gd-btn-outline:active,
.gd-modal-footer a.gd-btn-primary:active {
  box-shadow: 1px 1px 0 #0c1222;
}
.gd-btn-cancel,
.gd-btn-primary,
.gd-btn-outline,
.gd-btn-light,
.gd-btn-table,
a.gd-btn-cancel,
a.gd-btn-primary,
a.gd-btn-outline,
a.gd-btn-light,
a.gd-btn-table {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.3rem;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 600;
  padding: 0.35rem 0.85rem !important;
  line-height: 1.25;
  min-height: 32px;
  border: 1.5px solid #0c1222;
  cursor: pointer;
  transition: background 0.15s, border-color 0.15s, color 0.15s, box-shadow 0.15s, transform 0.15s;
  white-space: nowrap;
  text-decoration: none;
  box-sizing: border-box;
  /* React hard: shadow-[2px_2px_0_#0c1222] */
  box-shadow: 2px 2px 0 #0c1222;
  transform: translate(0, 0);
}
.gd-btn-sm,
.gd-btn-cancel.btn-sm,
.gd-btn-primary.btn-sm,
.gd-btn-outline.btn-sm,
.gd-btn-light.btn-sm {
  font-size: 12px;
  padding: 0.28rem 0.7rem;
  min-height: 28px;
  border-radius: 999px;
}
.gd-btn-md,
.gd-btn-cancel.gd-btn-md,
.gd-btn-primary.gd-btn-md,
.gd-btn-outline.gd-btn-md,
.gd-btn-light.gd-btn-md,
a.gd-btn-primary.gd-btn-md,
a.gd-btn-outline.gd-btn-md,
a.gd-btn-cancel.gd-btn-md {
  min-height: 36px;
  height: 36px;
  padding: 0.5rem 1rem !important;
  font-size: 0.875rem;
  font-weight: 700;
  line-height: 1.25;
  gap: 0.375rem;
  box-shadow: 3px 3px 0 #0c1222;
}
.gd-btn-md:hover,
.gd-btn-cancel.gd-btn-md:hover,
.gd-btn-primary.gd-btn-md:hover,
.gd-btn-outline.gd-btn-md:hover,
.gd-btn-light.gd-btn-md:hover,
a.gd-btn-primary.gd-btn-md:hover,
a.gd-btn-outline.gd-btn-md:hover,
a.gd-btn-cancel.gd-btn-md:hover {
  box-shadow: 4px 4px 0 #0c1222;
  transform: translate(-1px, -1px);
}
.gd-btn-md:active,
.gd-btn-cancel.gd-btn-md:active,
.gd-btn-primary.gd-btn-md:active,
.gd-btn-outline.gd-btn-md:active,
.gd-btn-light.gd-btn-md:active,
a.gd-btn-primary.gd-btn-md:active,
a.gd-btn-outline.gd-btn-md:active,
a.gd-btn-cancel.gd-btn-md:active {
  box-shadow: 1px 1px 0 #0c1222;
  transform: translate(1px, 1px);
}
.gd-btn-cancel,
.gd-btn-outline,
.gd-btn-light {
  background: #fff;
  border-color: #0c1222;
  color: #111827;
}
.gd-btn-cancel:hover,
.gd-btn-outline:hover,
.gd-btn-light:hover,
a.gd-btn-cancel:hover,
a.gd-btn-outline:hover,
a.gd-btn-light:hover {
  background: #f9fafb;
  border-color: #0c1222;
  color: #111827;
  /* hover:shadow-[3px_3px_0_#0c1222] hover:-translate-x-px hover:-translate-y-px */
  box-shadow: 3px 3px 0 #0c1222;
  transform: translate(-1px, -1px);
}
.gd-btn-primary,
a.gd-btn-primary,
.gd-btn-table {
  appearance: none;
  -webkit-appearance: none;
  background: var(--background-color, #2563eb) !important;
  background-color: var(--background-color, #2563eb) !important;
  background-image: none !important;
  border-color: #0c1222;
  color: #fff !important;
  -webkit-text-fill-color: #fff;
  box-shadow: 2px 2px 0 #0c1222;
}
.gd-btn-primary:hover,
a.gd-btn-primary:hover,
.gd-btn-table:hover {
  background: color-mix(in srgb, var(--background-color, #2563eb) 78%, black) !important;
  background-color: color-mix(in srgb, var(--background-color, #2563eb) 78%, black) !important;
  background-image: none !important;
  border-color: #0c1222;
  color: #fff !important;
  -webkit-text-fill-color: #fff;
  box-shadow: 3px 3px 0 #0c1222;
  transform: translate(-1px, -1px);
}
.gd-btn-cancel:active,
.gd-btn-outline:active,
.gd-btn-light:active,
.gd-btn-primary:active,
.gd-btn-table:active,
a.gd-btn-cancel:active,
a.gd-btn-outline:active,
a.gd-btn-light:active,
a.gd-btn-primary:active,
a.gd-btn-table:active {
  /* active:shadow-[1px_1px_0_#0c1222] active:translate-x-px active:translate-y-px */
  box-shadow: 1px 1px 0 #0c1222;
  transform: translate(1px, 1px);
}
.gd-btn-primary:disabled,
.gd-btn-outline:disabled,
.gd-btn-cancel:disabled,
.gd-btn-light:disabled,
.gd-btn-table:disabled,
.gd-btn-table.disabled {
  opacity: 0.45;
  cursor: not-allowed;
  pointer-events: none;
  box-shadow: 2px 2px 0 #0c1222;
  transform: none;
}

html.gradingly-product-ui a.gd-btn-row,
html.gradingly-product-ui button.gd-btn-row,
html.gradingly-product-ui span.gd-btn-row,
html.gradingly-product-ui .gd-btn-row,
a.gd-btn-row,
button.gd-btn-row,
span.gd-btn-row,
.gd-btn-row {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 0.35rem !important;
  height: auto !important;
  min-height: 32px !important;
  padding: 0.35rem 0.9rem !important;
  background: #f8fafc !important;
  border: 1px solid #e5e7eb !important;
  border-radius: 999px !important;
  color: #334155 !important;
  font-size: 13px !important;
  font-weight: 600 !important;
  line-height: 1.2 !important;
  letter-spacing: 0 !important;
  text-decoration: none !important;
  white-space: nowrap !important;
  box-shadow: none !important;
  transform: none !important;
  cursor: pointer;
  box-sizing: border-box;
  appearance: none;
  -webkit-appearance: none;
  transition: background 0.15s ease, border-color 0.15s ease, color 0.15s ease;
}
html.gradingly-product-ui a.gd-btn-row:hover,
html.gradingly-product-ui button.gd-btn-row:hover,
html.gradingly-product-ui .gd-btn-row:hover,
a.gd-btn-row:hover,
button.gd-btn-row:hover,
.gd-btn-row:hover {
  background: #f1f5f9 !important;
  border-color: #d1d5db !important;
  color: #1e293b !important;
  text-decoration: none !important;
  box-shadow: none !important;
  transform: none !important;
}
html.gradingly-product-ui a.gd-btn-row:active,
html.gradingly-product-ui button.gd-btn-row:active,
html.gradingly-product-ui .gd-btn-row:active,
a.gd-btn-row:active,
button.gd-btn-row:active,
.gd-btn-row:active {
  background: #e2e8f0 !important;
  box-shadow: none !important;
  transform: none !important;
}

.gd-btn-row--arrow::after {
  content: none !important;
}
.gd-btn-row .gd-btn-row-arrow-icon,
.gd-btn-row svg.gd-btn-row-arrow-icon {
  width: 18px !important;
  height: 18px !important;
  min-width: 18px !important;
  min-height: 18px !important;
  flex-shrink: 0;
  display: block;
  stroke: currentColor;
}
.gd-btn-row.opacity-40,
.gd-btn-row.disabled,
.gd-btn-row[disabled] {
  opacity: 0.4;
  cursor: not-allowed;
  pointer-events: none;
}

/* Table-row primary: branding blue (Assign, Generate) */
html.gradingly-product-ui a.gd-btn-row-primary,
html.gradingly-product-ui button.gd-btn-row-primary,
html.gradingly-product-ui .gd-btn-row-primary,
a.gd-btn-row-primary,
button.gd-btn-row-primary,
.gd-btn-row-primary {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 0.35rem !important;
  height: auto !important;
  min-height: 32px !important;
  padding: 0.35rem 0.95rem !important;
  background: var(--gd-brand, var(--background-color, #2563eb)) !important;
  border: 1px solid var(--gd-brand, var(--background-color, #2563eb)) !important;
  border-radius: 999px !important;
  color: #fff !important;
  font-size: 13px !important;
  font-weight: 600 !important;
  line-height: 1.2 !important;
  text-decoration: none !important;
  white-space: nowrap !important;
  box-shadow: 0 1px 2px rgba(15, 23, 42, 0.12) !important;
  transform: none !important;
  cursor: pointer;
  box-sizing: border-box;
  appearance: none;
  -webkit-appearance: none;
  transition: background 0.15s ease, border-color 0.15s ease, box-shadow 0.15s ease;
}
html.gradingly-product-ui a.gd-btn-row-primary:hover,
html.gradingly-product-ui button.gd-btn-row-primary:hover,
html.gradingly-product-ui .gd-btn-row-primary:hover,
a.gd-btn-row-primary:hover,
button.gd-btn-row-primary:hover,
.gd-btn-row-primary:hover {
  background: var(--gd-brand-dark, color-mix(in srgb, var(--gd-brand, #2563eb) 82%, black)) !important;
  border-color: var(--gd-brand-dark, color-mix(in srgb, var(--gd-brand, #2563eb) 82%, black)) !important;
  color: #fff !important;
  text-decoration: none !important;
  box-shadow: 0 2px 6px rgba(15, 23, 42, 0.16) !important;
  transform: none !important;
}
html.gradingly-product-ui a.gd-btn-row-primary:active,
html.gradingly-product-ui button.gd-btn-row-primary:active,
html.gradingly-product-ui .gd-btn-row-primary:active,
a.gd-btn-row-primary:active,
button.gd-btn-row-primary:active,
.gd-btn-row-primary:active {
  box-shadow: 0 1px 2px rgba(15, 23, 42, 0.12) !important;
  transform: none !important;
}
.gd-btn-row-primary:disabled,
.gd-btn-row-primary[aria-disabled="true"] {
  opacity: 0.45;
  cursor: not-allowed;
  pointer-events: none;
  box-shadow: none !important;
}
.gd-btn-row-primary svg {
  width: 14px;
  height: 14px;
  flex-shrink: 0;
  stroke: currentColor;
}
html.gradingly-product-ui .btn.btn-warning,
html.gradingly-product-ui .gradingly-school-shell .btn.btn-warning,
html.gradingly-product-ui .gd-custom-modal .btn.btn-warning,
html.gradingly-product-ui .gd-intake-shell .btn.btn-warning,
html.gradingly-product-ui a.btn.btn-warning {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 0.3rem !important;
  background: var(--gd-brand, var(--background-color, #2563eb)) !important;
  border: 1.5px solid #0c1222 !important;
  color: #fff !important;
  border-radius: 999px !important;
  font-weight: 600 !important;
  font-size: 13px !important;
  line-height: 1.2 !important;
  padding: 0.5rem 1rem !important;
  min-height: 32px !important;
  box-shadow: 2px 2px 0 #0c1222 !important;
  transform: translate(0, 0) !important;
  transition: background 0.15s, border-color 0.15s, color 0.15s, box-shadow 0.15s, transform 0.15s !important;
  text-decoration: none !important;
}
html.gradingly-product-ui .btn.btn-warning.btn-lg,
html.gradingly-product-ui a.btn.btn-warning.btn-lg {
  font-size: 13px !important;
  padding: 0.4rem 1.1rem !important;
  min-height: 36px !important;
}
html.gradingly-product-ui .btn.btn-warning:hover,
html.gradingly-product-ui .gradingly-school-shell .btn.btn-warning:hover,
html.gradingly-product-ui .gd-custom-modal .btn.btn-warning:hover,
html.gradingly-product-ui .gd-intake-shell .btn.btn-warning:hover,
html.gradingly-product-ui a.btn.btn-warning:hover {
  background: var(--gd-brand-dark, color-mix(in srgb, var(--background-color, #2563eb) 78%, black)) !important;
  border-color: #0c1222 !important;
  color: #fff !important;
  box-shadow: 3px 3px 0 #0c1222 !important;
  transform: translate(-1px, -1px) !important;
}
html.gradingly-product-ui .btn.btn-warning:active,
html.gradingly-product-ui .gradingly-school-shell .btn.btn-warning:active,
html.gradingly-product-ui .gd-custom-modal .btn.btn-warning:active,
html.gradingly-product-ui .gd-intake-shell .btn.btn-warning:active,
html.gradingly-product-ui a.btn.btn-warning:active {
  box-shadow: 1px 1px 0 #0c1222 !important;
  transform: translate(1px, 1px) !important;
}
html.gradingly-product-ui .btn.btn-outline-secondary,
html.gradingly-product-ui .gradingly-school-shell .btn.btn-outline-secondary,
html.gradingly-product-ui .gd-custom-modal .btn.btn-outline-secondary,
html.gradingly-product-ui .gd-intake-shell .btn.btn-outline-secondary,
html.gradingly-product-ui .gradingly-school-shell .btn.btn-white {
  background: #fff !important;
  border: 1.5px solid #0c1222 !important;
  color: #111827 !important;
  border-radius: 999px !important;
  font-weight: 600;
  font-size: 13px !important;
  padding: 0.35rem 0.85rem !important;
  min-height: 32px;
  box-shadow: 2px 2px 0 #0c1222 !important;
  transform: translate(0, 0) !important;
  transition: background 0.15s, border-color 0.15s, color 0.15s, box-shadow 0.15s, transform 0.15s !important;
}
html.gradingly-product-ui .btn.btn-outline-secondary:hover,
html.gradingly-product-ui .gradingly-school-shell .btn.btn-outline-secondary:hover,
html.gradingly-product-ui .gd-custom-modal .btn.btn-outline-secondary:hover,
html.gradingly-product-ui .gd-intake-shell .btn.btn-outline-secondary:hover,
html.gradingly-product-ui .gradingly-school-shell .btn.btn-white:hover {
  background: #f9fafb !important;
  border-color: #0c1222 !important;
  color: #111827 !important;
  box-shadow: 3px 3px 0 #0c1222 !important;
  transform: translate(-1px, -1px) !important;
}
html.gradingly-product-ui .btn.btn-outline-secondary:active,
html.gradingly-product-ui .gradingly-school-shell .btn.btn-outline-secondary:active,
html.gradingly-product-ui .gd-custom-modal .btn.btn-outline-secondary:active,
html.gradingly-product-ui .gd-intake-shell .btn.btn-outline-secondary:active,
html.gradingly-product-ui .gradingly-school-shell .btn.btn-white:active {
  box-shadow: 1px 1px 0 #0c1222 !important;
  transform: translate(1px, 1px) !important;
}

.gd-intake-page {
  padding: 0;
  background: #f9fafb;
  min-height: 0;
}
.gd-page-subheader{
  flex-shrink: 0;
  z-index: 50;
  background: #fff;
  border-bottom: 1px solid #e5e7eb;
  padding: 1rem 1.5rem;
}
.gd-page-subheader-inner{
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 1rem;
  flex-wrap: wrap;
}
.gd-page-subheader-text,
.gd-page-title,
.gd-page-subtitle {
  display: none !important;
}
.gd-page-subheader-actions {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  flex-shrink: 0;
  flex-wrap: wrap;
  margin-left: 0;
}
.gd-page-subheader .gd-btn-sm {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  font-size: 12px;
  font-weight: 600;
  padding: 0.28rem 0.7rem;
  min-height: 28px;
  border-radius: 999px;
}
.gd-page-subheader-filters {
  margin-top: 0;
  width: 100%;
}
.gd-page-subheader:not(:has(.gd-page-subheader-actions)) {
  padding-top: 1rem;
  padding-bottom: 1rem;
}
.gd-page-subheader:not(:has(.gd-page-subheader-actions)) .gd-page-subheader-inner:empty,
.gd-page-subheader .gd-page-subheader-inner:empty {
  display: none;
}
.gd-tests-filters {
  margin: 0;
  width: 100%;
}
.gd-tests-filters-row {
  display: grid;
  grid-template-columns: minmax(0, 2fr) minmax(0, 1fr) minmax(0, 1fr) minmax(0, 1fr);
  gap: 0.75rem;
  width: 100%;
  align-items: end;
}
.gd-tests-filters-row-folders {
  grid-template-columns: minmax(0, 4fr) minmax(0, 2fr) minmax(0, 2fr);
}
.gd-tests-filter-search,
.gd-tests-filter {
  min-width: 0;
  width: 100%;
}
.gd-tests-page .search-input-wrapper,
.gd-tests-page .filter-select-wrapper {
  width: 100%;
}
.gd-tests-page .filter-label {
  display: block;
  font-size: 12px;
  font-weight: 500;
  color: #4b5563;
  margin-bottom: 0.35rem;
  text-transform: none;
}
.gd-tests-page .search-input,
.gd-tests-page .filter-select {
  width: 100%;
  height: 36px;
  font-size: 13px;
  border-color: #e5e7eb;
  border-radius: 8px;
}
@media (max-width: 991.98px) {
  .gd-tests-filters-row {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  }
  .gd-tests-filters-row-folders {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  }
  .gd-tests-filter-search {
    grid-column: 1 / -1;
  }
}
@media (max-width: 575.98px) {
  .gd-tests-filters-row {
    grid-template-columns: 1fr;
  }
}
.gd-tests-page .gd-intake-content {
  padding-top: 1rem;
}
.gd-tests-page .gd-intake-table-card {
  margin-top: 0;
}
.gd-tests-page .gd-results-summary {
  color: #6b7280;
  font-size: 12px;
  border-bottom: 1px solid #f3f4f6;
  padding-bottom: 0.65rem;
}
.gd-folder-chevron-head {
  width: 2.5rem;
}
.gd-folder-row {
  cursor: pointer;
  transition: background 0.15s;
}
.gd-folder-row:hover {
  background: #f9fafb;
}
.gd-folder-test-cell {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  gap: 2px;
  min-width: 0;
}
.gd-folder-title {
  display: block;
  font-weight: 600;
  color: #111827;
  line-height: 1.3;
}
.gd-folder-board {
  display: block;
  font-size: 12px;
  color: #6b7280;
  line-height: 1.3;
}
.gd-folder-meta {
  font-size: 14px;
  color: #4b5563;
  white-space: nowrap;
}
.gd-folder-duration {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 14px;
  color: #4b5563;
  white-space: nowrap;
}
.gd-folder-duration svg {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
  color: #6b7280;
}
.gd-folder-chevron {
  color: #9ca3af;
  text-align: right;
  width: 2.5rem;
}
.gd-folder-chevron svg {
  display: inline-block;
  vertical-align: middle;
}
.gd-folder-detail-header {
  background: #fff;
  border-bottom: 1px solid #e5e7eb;
  padding: 1rem 1.25rem;
  flex-shrink: 0;
}
.gd-folder-back {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 14px;
  font-weight: 500;
  color: #374151;
  text-decoration: none;
}
.gd-folder-back:hover {
  color: #111827;
  text-decoration: none;
}
.gd-folder-detail-title-row {
  margin-top: 0.75rem;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1rem;
}
.gd-folder-detail-title {
  margin: 0;
  font-size: 18px;
  font-weight: 600;
  color: #111827;
  line-height: 1.3;
}
.gd-folder-detail-meta {
  margin: 0.25rem 0 0;
  font-size: 14px;
  color: #6b7280;
}
.gd-assign-all-btn {
  flex-shrink: 0;
  gap: 0.5rem !important;
  min-height: 40px !important;
  padding: 0.55rem 1.25rem !important;
  font-size: 14px !important;
  font-weight: 600 !important;
}
.gd-assign-all-btn svg {
  width: 16px !important;
  height: 16px !important;
  flex-shrink: 0;
  stroke: currentColor;
}
.gd-tests-page .subscription-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
}
.gd-tests-page .subscription-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  display: inline-block;
}
.gd-tests-page .subscription-dot.free {
  background-color: #22c55e;
}
.gd-tests-page .subscription-dot.premium {
  background-color: #f97316;
}
.gd-tests-page .subscription-text {
  font-size: 14px;
  color: #111827;
}
.gd-test-folder-page .gd-page-subheader {
  display: none;
}
.gd-users-page,
.gd-status-page,
.gd-tests-page {
  padding: 0;
  background: #f9fafb;
  min-height: 0;
}
.gd-users-toolbar {
  display: flex;
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap;
  padding: 0.75rem 1rem;
  background: #fff;
  border-bottom: 1px solid #e5e7eb;
  border-radius: 0.5rem;
}
.gd-users-bundle {
  min-width: 200px;
}
.gd-users-bundle-meta .row {
  margin: 0;
}
.gd-users-filter-bar {
  border-bottom: 1px solid #f3f4f6;
}
.gd-users-table-card {
  border-radius: 12px;
  overflow: hidden;
  max-width: 100%;
  min-width: 0;
}
.gd-users-page .gd-users-layout {
  width: 100%;
  min-width: 0;
  overflow: visible;
}
.gd-users-page .gd-intake-content {
  min-width: 0;
  overflow-x: hidden;
}
.gd-users-page .gd-users-table-card .gd-users-table-scroll,
.gd-users-page .gd-users-table-card .table-responsive.gd-users-table-scroll {
  display: block;
  overflow-x: auto !important;
  overflow-y: visible;
  width: 100%;
  max-width: 100%;
  min-width: 0;
  -webkit-overflow-scrolling: touch;
  scrollbar-gutter: stable;
  scrollbar-width: thin;
  scrollbar-color: #cbd5e1 #f3f4f6;
}
.gd-users-page .gd-users-table-card .gd-users-table-scroll::-webkit-scrollbar,
.gd-users-page .gd-users-table-card .table-responsive.gd-users-table-scroll::-webkit-scrollbar {
  height: 8px;
}
.gd-users-page .gd-users-table-card .gd-users-table-scroll::-webkit-scrollbar-track,
.gd-users-page .gd-users-table-card .table-responsive.gd-users-table-scroll::-webkit-scrollbar-track {
  background: #f3f4f6;
}
.gd-users-page .gd-users-table-card .gd-users-table-scroll::-webkit-scrollbar-thumb,
.gd-users-page .gd-users-table-card .table-responsive.gd-users-table-scroll::-webkit-scrollbar-thumb {
  background: #cbd5e1;
  border-radius: 4px;
}
.gd-users-page .gd-users-table-card > .table-responsive-sm,
.gd-users-page .gd-users-table-card > .table-responsive-md {
  overflow-x: auto;
  overflow-y: visible;
  width: 100%;
  max-width: 100%;
}
.gd-users-page .gd-bundle-filter-menu {
  z-index: 1060;
}
.gd-users-page .gd-users-action-dropdown .dropdown-menu {
  z-index: 1060;
}
.gd-users-page .gd-users-action-dropdown.show > .dropdown-menu {
  display: block;
}
.gd-users-page .gd-users-action-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.25rem 0.4rem;
  cursor: pointer;
  border-radius: 6px;
  line-height: 1;
  text-decoration: none;
}
.gd-users-page .gd-users-action-toggle:hover,
.gd-users-page .gd-users-action-toggle[aria-expanded="true"] {
  background: #f3f4f6;
}
.gradingly-school-shell .content-area.p-0:has(.gd-users-page),
.gradingly-school-shell .content-area.p-0:has(.gd-classes-page),
.gradingly-school-shell .content-area.p-0:has(.gd-class-detail-page),
.gradingly-school-shell .content-area.p-0:has(.gd-status-page),
.gradingly-school-shell .content-area.p-0:has(.gd-tests-page),
.gradingly-school-shell .content-area.p-0:has(.gd-lesson-plan-page),
.gradingly-school-shell .content-area.p-0:has(.gd-bank-page),
.gradingly-school-shell .content-area.p-0:has(.gd-report-page),
.gradingly-school-shell .content-area.p-0:has(.gd-elab-embedded-root),
.gradingly-school-shell .content-area.p-0:has(.gd-profile-page) {
  display: flex;
  flex-direction: column;
  overflow: hidden;
  padding: 0;
  min-height: 0;
}
.gradingly-school-shell .content-area.p-0:has(.gd-users-page) > .col-12,
.gradingly-school-shell .content-area.p-0:has(.gd-classes-page) > .col-12,
.gradingly-school-shell .content-area.p-0:has(.gd-class-detail-page) > .col-12,
.gradingly-school-shell .content-area.p-0:has(.gd-status-page) > .col-12,
.gradingly-school-shell .content-area.p-0:has(.gd-tests-page) > .col-12,
.gradingly-school-shell .content-area.p-0:has(.gd-lesson-plan-page) > .col-12,
.gradingly-school-shell .content-area.p-0:has(.gd-bank-page) > .col-12,
.gradingly-school-shell .content-area.p-0:has(.gd-report-page) > .col-12,
.gradingly-school-shell .content-area.p-0:has(.gd-elab-embedded-root) > .col-12,
.gradingly-school-shell .content-area.p-0:has(.gd-profile-page) > .col-12 {
  display: flex;
  flex-direction: column;
  flex: 1 1 auto;
  min-height: 0;
  height: 100%;
  width: 100% !important;
  max-width: none !important;
  padding: 0;
}
.gradingly-school-shell #test-performance,
.gradingly-school-shell #test-performance #root,
.gradingly-school-shell #test-performance #root > * {
  display: flex;
  flex-direction: column;
  flex: 1 1 auto;
  height: 100%;
  width: 100%;
  max-width: none;
}

.gd-elab-embedded-root {
  display: flex;
  flex-direction: column;
  flex: 1 1 auto;
  min-height: 0;
  height: 100%;
  width: 100%;
  overflow-x: hidden;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
  background: #f9fafb;
}
.gd-intake-shell.gd-users-page,
.gd-intake-shell.gd-classes-page,
.gd-intake-shell.gd-class-detail-page,
.gd-intake-shell.gd-status-page,
.gd-intake-shell.gd-tests-page {
  display: flex;
  flex-direction: column;
  flex: 1 1 auto;
  min-height: 0;
  height: 100%;
  overflow: hidden;
}
html.gradingly-product-ui:has(.gd-lesson-plan-page) .gradingly-school-shell .main-content {
  padding-bottom: 0;
}
.gd-status-filters {
  gap: 0.75rem;
  margin: 0;
}
.gd-status-date-nav {
  border: 1px solid #e5e7eb;
  border-radius: 8px;
  overflow: hidden;
  background: #fff;
  width: auto;
  flex-wrap: nowrap;
}
.gd-status-date-btn {
  background: #fff;
  border: 0;
  border-right: 1px solid #e5e7eb;
  color: #374151;
  padding: 0.45rem 0.65rem;
  line-height: 1;
}
.gd-status-date-btn:last-of-type {
  border-right: 0;
  border-left: 1px solid #e5e7eb;
}
.gd-status-date-input {
  font-size: 14px;
  font-weight: 600;
  color: #111827;
  text-align: center;
  min-width: 140px;
  max-width: 180px;
  background: #fff !important;
  box-shadow: none !important;
}
.gd-status-period-select {
  appearance: none;
  background: var(--gd-brand);
  border: 1px solid var(--gd-brand);
  border-radius: 8px;
  color: #fff;
  font-size: 13px;
  font-weight: 600;
  padding: 0.45rem 2rem 0.45rem 0.85rem;
  line-height: 1.2;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='2'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 0.65rem center;
}
.gd-status-period-select:focus {
  outline: none;
  box-shadow: 0 0 0 2px color-mix(in srgb, var(--gd-brand) 25%, transparent);
}
.gd-classes-page .gd-page-subheader {
  margin-bottom: 0;
}
.b2c_height .gd-page-subheader {
  position: sticky;
  top: 0;
}
.gradingly-school-shell .content-area.p-0:has(.gd-intake-page) {
  display: flex;
  flex-direction: column;
  overflow: hidden;
  padding: 0;
  min-height: 0;
}
.gradingly-school-shell .content-area.p-0:has(.gd-intake-page) > .col-12 {
  display: flex;
  flex-direction: column;
  flex: 1 1 auto;
  min-height: 0;
  height: 100%;
  padding: 0;
}
.gd-intake-shell.gd-intake-page {
  display: flex;
  flex-direction: column;
  flex: 1 1 auto;
  min-height: 0;
  height: 100%;
  overflow: hidden;
}
.gd-intake-body-scroll {
  flex: 1 1 auto;
  min-height: 0;
  overflow-y: auto;
  overflow-x: hidden;
  -webkit-overflow-scrolling: touch;
}
.gd-intake-content {
  padding: 1.5rem;
  overflow: visible;
}
.gd-intake-content.is-place-empty {
  padding: 1.5rem;
}

.card-banner.gd-intake-handlebar {
  width: 650px !important;
  max-width: calc(100vw - 2rem);
  height: 48px;
  padding-right: 0.5rem;
  justify-content: space-between;
}
.card-banner.gd-intake-handlebar.gd-intake-handlebar--compact {
  width: 520px !important;
}
.gd-intake-handlebar-label {
  flex: 0 0 auto;
}
.gd-intake-handlebar-actions {
  flex: 0 0 auto;
  margin-left: 1.25rem;
}
.gd-intake-handlebar-actions > a,
.gd-intake-handlebar-actions > .gd-intake-class-picker {
  flex: 0 0 auto;
}

.gd-intake-picker {
  display: flex;
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap;
  background: #fff;
  border: 1px solid #e5e7eb;
  border-radius: 12px;
  padding: 0.75rem 1rem;
  margin-bottom: 1rem;
  box-shadow: 0 1px 2px rgba(15, 23, 42, 0.04);
  overflow: visible;
}
.gd-intake-picker-left {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  flex-wrap: wrap;
}
.gd-intake-session-picker {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  position: relative;
}
.gd-intake-select-form {
  position: relative;
  margin: 0;
}
.gd-intake-session-trigger {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  min-width: 220px;
  max-width: 320px;
  padding: 0.5rem 0.75rem;
  border: 0px solid var(--gd-brand-soft-border);
  border-radius: 8px;
  background: #fff;
  font-size: 14px;
  font-weight: 700;
  color: #111827;
  line-height: 1.35;
  cursor: pointer;
  text-align: left;
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}
.gd-intake-session-trigger:hover,
.gd-intake-session-trigger:focus {
  outline: none;
  border-color: color-mix(in srgb, var(--gd-brand) 45%, white);
  box-shadow: 0 0 0 3px color-mix(in srgb, var(--gd-brand) 12%, transparent);
}
.gd-intake-session-trigger.is-open {
  border-color: color-mix(in srgb, var(--gd-brand) 45%, white);
  box-shadow: 0 0 0 3px color-mix(in srgb, var(--gd-brand) 12%, transparent);
}
.gd-intake-session-trigger-label {
  flex: 1;
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.gd-intake-session-trigger-chevron {
  color: #6b7280;
  font-size: 11px;
  flex-shrink: 0;
  transition: transform 0.15s ease;
}
.gd-intake-session-trigger.is-open .gd-intake-session-trigger-chevron {
  transform: rotate(180deg);
}
.gd-intake-session-menu {
  position: absolute;
  top: calc(100% + 6px);
  left: 0;
  z-index: 50;
  min-width: 100%;
  width: max(100%, 340px);
  max-width: 420px;
  padding: 0.35rem;
  background: #fff;
  border: 1px solid #e5e7eb;
  border-radius: 12px;
  box-shadow: 0 10px 24px rgba(15, 23, 42, 0.12), 0 2px 6px rgba(15, 23, 42, 0.06);
}
.gd-intake-session-menu[hidden] {
  display: none !important;
}
.gd-intake-session-option {
  display: flex;
  align-items: flex-start;
  gap: 0.65rem;
  width: 100%;
  padding: 0.65rem 0.7rem;
  border: 0;
  border-radius: 8px;
  background: transparent;
  text-align: left;
  cursor: pointer;
  transition: background-color 0.12s ease;
}
.gd-intake-session-option:hover {
  background: #f9fafb;
}
.gd-intake-session-option.is-selected {
  background: var(--gd-brand-soft);
}
.gd-intake-session-option .gd-intake-status-dot {
  margin-top: 0.35rem;
  flex-shrink: 0;
}
.gd-intake-session-option-body {
  flex: 1;
  min-width: 0;
}
.gd-intake-session-option-title {
  display: block;
  font-size: 14px;
  font-weight: 700;
  color: #111827;
  line-height: 1.3;
}
.gd-intake-session-option.is-selected .gd-intake-session-option-title {
  color: var(--gd-brand);
}
.gd-intake-session-option-sub {
  display: block;
  margin-top: 0.15rem;
  font-size: 12px;
  font-weight: 400;
  color: #6b7280;
  line-height: 1.35;
}
.gd-intake-session-option-badge {
  flex-shrink: 0;
  align-self: center;
  border-radius: 4px;
  padding: 0.2rem 0.45rem;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.04em;
  line-height: 1.2;
  text-transform: uppercase;
}
.gd-session-badge-completed {
  background: var(--gd-brand);
  color: #fff;
}
.gd-session-badge-active {
  background: #d1fae5;
  color: #047857;
}
.gd-session-badge-draft {
  background: #f3f4f6;
  color: #6b7280;
}
.gd-intake-session-side-pill {
  flex-shrink: 0;
  text-transform: capitalize;
}
.gd-intake-status-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  box-shadow: 0 0 0 2px #f3f4f6;
}
.gd-status-active { background: #22c55e; box-shadow: 0 0 0 2px #dcfce7; }
.gd-status-completed { background: var(--gd-brand); box-shadow: 0 0 0 2px color-mix(in srgb, var(--gd-brand) 18%, white); }
.gd-status-draft { background: #9ca3af; box-shadow: 0 0 0 2px #f3f4f6; }

.gd-intake-meta {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 12px;
  color: #6b7280;
}
.gd-intake-meta-strong {
  color: #111827;
  font-weight: 600;
}

.gd-intake-progress {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  flex: 1 1 260px;
  max-width: 360px;
}
.gd-intake-progress-label {
  font-size: 10px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: #6b7280;
  white-space: nowrap;
}
.gd-progress-track {
  flex: 1;
  height: 5px;
  background: #f3f4f6;
  border-radius: 999px;
  overflow: hidden;
}
.gd-progress-fill {
  height: 100%;
  border-radius: 999px;
}
.gd-progress-green { background: #22c55e; }
.gd-progress-blue { background: var(--gd-brand); }
.gd-progress-yellow { background: #f59e0b; }
.gd-intake-progress-count {
  font-size: 11px;
  font-weight: 700;
  color: #374151;
}
.gd-intake-progress-count span {
  color: #9ca3af;
  font-weight: 500;
}

.gd-intake-actions {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-left: auto;
}

.gd-intake-action-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.375rem;
  height: 36px;
  min-height: 36px;
  padding: 0.5rem 1rem;
  border-radius: 999px;
  font-size: 0.875rem;
  font-weight: 700;
  line-height: 1.25;
  white-space: nowrap;
  border: 1.5px solid #0c1222;
  cursor: pointer;
  appearance: none;
  -webkit-appearance: none;
  text-decoration: none;
  transition: background-color 0.15s, border-color 0.15s, color 0.15s, box-shadow 0.15s, transform 0.15s;
  box-sizing: border-box;
  box-shadow: 3px 3px 0 #0c1222;
  transform: translate(0, 0);
}
a.gd-intake-action-btn:hover,
a.gd-intake-action-btn:focus {
  text-decoration: none;
}
.gd-intake-action-btn-primary {
  -webkit-appearance: none !important;
  appearance: none !important;
  background: var(--background-color, #2563eb) !important;
  background-color: var(--background-color, #2563eb) !important;
  background-image: none !important;
  color: #fff !important;
  -webkit-text-fill-color: #fff;
}
.gd-intake-action-btn-primary:hover {
  background: color-mix(in srgb, var(--background-color, #2563eb) 78%, black) !important;
  background-color: color-mix(in srgb, var(--background-color, #2563eb) 78%, black) !important;
  background-image: none !important;
  border-color: #0c1222;
  color: #fff !important;
  -webkit-text-fill-color: #fff;
  box-shadow: 3px 3px 0 #0c1222;
  transform: translate(-1px, -1px);
}
.gd-intake-action-btn-outline {
  background: #fff;
  color: #111827;
}
.gd-intake-action-btn-outline:hover {
  background: #f9fafb;
  border-color: #0c1222;
  color: #111827;
  box-shadow: 3px 3px 0 #0c1222;
  transform: translate(-1px, -1px);
}
.gd-intake-action-btn:active {
  box-shadow: 1px 1px 0 #0c1222;
  transform: translate(1px, 1px);
}

.gd-intake-seat-cap-pill {
  display: inline-flex;
  align-items: center;
  padding: 0.15rem 0.55rem;
  border-radius: 999px;
  font-size: 11px;
  font-weight: 600;
  color: var(--gd-brand-dark);
  background: var(--gd-brand-soft);
  border: 1px solid var(--gd-brand-soft-border);
}

.gd-access-code-pill {
  display: inline-block;
  padding: 0.1rem 0.45rem;
  border: 1px dashed #d1d5db;
  border-radius: 6px;
  font-size: 14px;
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
  color: #374151;
}

.gd-intake-test-title {
  display: inline-block;
  max-width: 10rem;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  vertical-align: bottom;
}

.gd-modal-cap-badge {
  background: var(--gd-brand-soft);
  color: var(--gd-brand-dark);
  border: 1px solid var(--gd-brand-soft-border);
}

.gd-section-count.gd-cap-reached,
.gd-modal-cap-badge.gd-cap-reached {
  background: #fff7ed;
  color: #c2410c;
  border-color: #fed7aa;
}

.gd-page-subheader-actions {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  flex-shrink: 0;
}

.gd-intake-table-card {
  margin-top: 1rem;
  border: 1px solid #e5e7eb;
  border-radius: 12px;
  overflow: hidden;
  background: #fff;
  margin-bottom: 1.5rem;
}
.gd-intake-filter-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
  padding: 0.75rem 1rem;
  border-bottom: 1px solid #e5e7eb;
  background: #fff;
}
.gd-intake-levels {
  display: flex;
  align-items: center;
  gap: 0.35rem;
  flex-wrap: wrap;
}
.gd-filter-label {
  font-size: 11px;
  color: #9ca3af;
  margin-right: 4px;
}
.gd-results-summary {
  padding: 0.5rem 1rem 0;
  font-size: 12px;
}
.gd-intake-table-wrap {
  margin: 0;
}
.gd-intake-table-wrap.tests-table-wrapper {
  border: 0;
  border-radius: 0;
  background: transparent;
}
.gd-intake-tests-table.tests-table {
  border-collapse: collapse;
  border-spacing: 0;
}
.gd-intake-tests-table.test-table thead th {
  padding: 0.75rem 1rem;
  border-top: 0 !important;

}
.gd-intake-tests-table.test-table tbody td {
  padding: 0.55rem 1rem;
}
.gd-intake-tests-table.tests-table thead th {
  padding: 0.5rem 1rem;
  border-top: 0 !important;
  border-left: 0 !important;
  border-right: 0 !important;
  border-bottom: 1px solid #dee2e6 !important;
  vertical-align: middle !important;
  text-transform: none;
  background-color: #f4f4f7;
  font-size: 16px;
  font-weight: 700;
  color: #374151;
  letter-spacing: 0;
}
.gd-intake-student-head,
.gd-intake-student-cell {
  display: flex;
  align-items: center;
  gap: 1rem;
}
.gd-intake-student-head .form-check,
.gd-intake-student-cell .form-check {
  flex-shrink: 0;
}
.gd-intake-student-cell .gd-avatar,
.gd-intake-student-cell .gd-student-name {
  flex-shrink: 0;
}
.gd-intake-student-cell .gd-student-name {
  min-width: 0;
}
.gd-intake-th-action {
  padding-right: 1rem !important;
}
.gradingly-school-shell .table thead th .form-check,
.gd-custom-modal .table thead th .form-check {
  font-size: 1rem;
  margin-bottom: 0;
}

.gd-intake-table-card .gd-intake-tests-table .form-check,
.gd-users-table-card .gd-intake-tests-table .form-check {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  min-height: 0;
  padding-left: 0;
  margin-bottom: 0;
  font-size: 14px;
}

.gd-intake-table-card .gd-intake-tests-table .form-check-input,
.gd-users-table-card .gd-intake-tests-table .form-check-input {
  float: none;
  width: 16px;
  height: 16px;
  min-width: 16px;
  min-height: 16px;
  margin: 0;
  border: 1px solid #d1d5db;
  border-radius: 4px;
  cursor: pointer;
  background-color: #fff;
  background-size: 12px 12px;
}

.gd-intake-table-card .gd-intake-tests-table .form-check-input:checked,
.gd-users-table-card .gd-intake-tests-table .form-check-input:checked {
  background-color: var(--gd-brand);
  border-color: var(--gd-brand);
}

.gd-intake-table-card .gd-intake-tests-table .form-check-input:focus,
.gd-users-table-card .gd-intake-tests-table .form-check-input:focus {
  border-color: var(--gd-brand);
  box-shadow: 0 0 0 3px color-mix(in srgb, var(--gd-brand) 18%, transparent);
}

.gd-intake-table-card .gd-intake-tests-table .form-check-input:disabled,
.gd-users-table-card .gd-intake-tests-table .form-check-input:disabled {
  opacity: 0.45;
  cursor: not-allowed;
}

.gd-custom-modal .gd-intake-tests-table .form-check:has(.gd-roster-check-locked) {
  position: relative;
  overflow: visible;
}
.gd-custom-modal .gd-intake-tests-table td:has(.gd-roster-check-locked) {
  overflow: visible;
}
.gd-roster-lock-tip {
  visibility: hidden;
  opacity: 0;
  position: absolute;
  z-index: 30;
  left: calc(100% + 8px);
  top: 50%;
  transform: translateY(-50%);
  width: max-content;
  max-width: 220px;
  padding: 8px 12px;
  border: 1px solid #e5e7eb;
  border-radius: 6px;
  background: #fff;
  color: #111827;
  font-size: 13px;
  font-weight: 500;
  line-height: 1.4;
  text-align: center;
  white-space: normal;
  pointer-events: none;
  box-shadow: 2px 2px 5px 2px #9e9e9e;
}
.gd-custom-modal .gd-intake-tests-table .form-check:has(.gd-roster-check-locked):hover .gd-roster-lock-tip {
  visibility: visible;
  opacity: 1;
}

#gdIntakeRemoveBtn.is-disabled,
#gdIntakeSetTagBtn.is-disabled {
  opacity: 0.45;
  cursor: not-allowed;
}

.gd-custom-modal .gd-intake-tests-table .form-check-input:checked,
.gd-custom-modal .gd-intake-tests-table .form-check-input:indeterminate {
  background-color: var(--gd-brand, var(--modal-brand-primary, var(--background-color))) !important;
  border-color: var(--gd-brand, var(--modal-brand-primary, var(--background-color))) !important;
}

.gd-intake-table-card .gd-intake-tests-table thead th .form-check,
.gd-users-table-card .gd-intake-tests-table thead th .form-check {
  font-size: 14px;
}

.gradingly-school-shell .table .form-check.mb-0,
.gd-custom-modal .table .form-check.mb-0 {
  margin-bottom: 0 !important;
}
.gd-intake-tests-table.tests-table tbody td {
  border-top: 0 !important;
  border-left: 0 !important;
  border-right: 0 !important;
  border-bottom: 0 !important;
  padding: 0.55rem 1rem;
  vertical-align: middle;
  font-size: 16px;
}
.gd-intake-table-card .gd-intake-tests-table.tests-table tbody tr td,
.gd-users-table-card .gd-intake-tests-table.tests-table tbody tr td {
  border-bottom: 1px solid #dee2e6 !important;
}
.gd-intake-table-card > .table-responsive-sm,
.gd-intake-table-card > .table-responsive-md,
.gd-users-table-card > .table-responsive-sm,
.gd-users-table-card > .table-responsive-md,
.gd-users-table-card > .gd-users-table-scroll {
  margin-bottom: 0 !important;
}
.gd-intake-row {
  cursor: pointer;
  transition: background 0.15s;
}
.gd-intake-row:hover {
  background: #f9fafb;
}
.gd-intake-row-not-selectable {
  cursor: default;
}
.gd-intake-row-not-selectable:hover {
  background: transparent;
}
.gd-row-selected {
  background: var(--gd-brand-soft);
}
.gd-row-selected:hover {
  background: var(--gd-brand-soft);
}
.gd-intake-table-card .gd-avatar {
  flex-shrink: 0;
}
.gd-student-name {
  font-weight: 600;
  color: #111827;
}
a.gd-student-name {
  text-decoration: none;
}
a.gd-student-name:hover {
  color: var(--gd-brand-dark, #1d4ed8);
}

.gd-empty {
  color: #9ca3af;
}
.gd-score {
  font-weight: 700;
  font-variant-numeric: tabular-nums;
}

.gd-tag-pill {
  display: inline-flex;
  align-items: center;
  font-size: 11px;
  font-weight: 600;
  color: #374151;
  background: #fff;
  border: 1px solid #e5e7eb;
  border-radius: 6px;
  padding: 2px 8px;
  white-space: nowrap;
}
/* .gd-tag-pill:hover {
  border-color: #60a5fa;
  background: var(--gd-brand-soft);
  color: var(--gd-brand-dark);
} */
.gd-tag-add {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: 11px;
  color: #9ca3af;
  border: 1px dashed #e5e7eb;
  border-radius: 6px;
  padding: 2px 8px;
  background: #fff;
}
.gd-tag-add:hover {
  color: var(--gd-brand);
  border-color: color-mix(in srgb, var(--gd-brand) 45%, white);
  background: var(--gd-brand-soft);
}
.gd-row-action-cell {
  vertical-align: middle;
}
.gd-intake-tests-table .gd-row-action {
  opacity: 1;
  pointer-events: auto;
}
.gd-date-cell {
  color: #6b7280;
  white-space: nowrap;
}

.gd-bulk-bar {
  position: sticky;
  bottom: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  border-top: 1px solid #e5e7eb;
  background: #fff;
  padding: 0.6rem 1rem;
  box-shadow: 0 -2px 8px rgba(0, 0, 0, 0.06);
}
.gd-bulk-count {
  font-size: 13px;
  color: #6b7280;
}
.gd-bulk-count strong {
  color: #111827;
}
.gd-bulk-actions {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.gd-intake-class-picker {
  position: relative;
}
.gd-intake-class-trigger.is-disabled,
.gd-intake-class-trigger:disabled {
  opacity: 0.55;
  cursor: not-allowed;
  pointer-events: none;
}
.gd-intake-class-create:disabled {
  opacity: 0.55;
  cursor: not-allowed;
}
.gd-intake-class-trigger-chevron {
  font-size: 10px;
  opacity: 0.9;
  transition: transform 0.15s ease;
}
.gd-intake-class-trigger.is-open .gd-intake-class-trigger-chevron {
  transform: rotate(180deg);
}
.gd-intake-class-menu {
  position: fixed;
  z-index: 1300;
  min-width: 280px;
  max-width: 360px;
  padding: 0.35rem;
  background: #fff;
  border: 1px solid #e5e7eb;
  border-radius: 12px;
  box-shadow: 0 10px 24px rgba(15, 23, 42, 0.12), 0 2px 6px rgba(15, 23, 42, 0.06);
}
.gd-intake-class-menu[hidden] {
  display: none !important;
}
.gd-intake-class-option {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  width: 100%;
  padding: 0.55rem 0.65rem;
  border: 0;
  border-radius: 8px;
  background: transparent;
  text-align: left;
  cursor: pointer;
  transition: background-color 0.12s ease;
}
.gd-intake-class-option:hover {
  background: #f9fafb;
}
.gd-intake-class-option .gd-level-chip {
  flex-shrink: 0;
  min-width: 2rem;
  text-align: center;
  font-size: 10px;
  padding: 2px 6px;
}
.gd-intake-class-option-name {
  flex: 1;
  min-width: 0;
  font-size: 13px;
  font-weight: 600;
  color: #374151;
  line-height: 1.35;
}
.gd-intake-class-menu-divider {
  height: 1px;
  margin: 0.35rem 0.5rem;
  background: #e5e7eb;
}
.gd-intake-class-create {
  display: flex;
  align-items: center;
  gap: 0.45rem;
  width: 100%;
  padding: 0.55rem 0.65rem;
  border: 0;
  border-radius: 8px;
  background: transparent;
  font-size: 13px;
  font-weight: 600;
  color: var(--gd-brand);
  cursor: pointer;
  text-align: left;
}
.gd-intake-class-create:hover {
  background: var(--gd-brand-soft);
}

.gd-search-wrapper {
  position: relative;
  width: 220px;
}
.gd-search-wrapper.flex-grow-1 {
  width: auto;
  max-width: none;
  flex: 1 1 200px;
}
.gd-intake-filter-bar .gd-search-wrapper.search-input-wrapper {
  width: 240px;
}
.gd-search-icon {
  position: absolute;
  left: 10px;
  top: 50%;
  transform: translateY(-50%);
  color: #9ca3af;
  font-size: 12px;
  z-index: 1;
  pointer-events: none;
}
.gd-search-input,
.gd-search-input.search-input {
  width: 100%;
  height: 36px;
  padding-left: 32px;
  font-size: 13px;
  border: 1px solid #e5e7eb;
  border-radius: 8px;
  outline: none;
  background: #fff;
}
.gd-search-input:focus {
  border-color: var(--gd-brand);
  box-shadow: 0 0 0 3px color-mix(in srgb, var(--gd-brand) 12%, transparent);
}
.gd-level-pill {
  border-radius: 999px;
  padding: 0.2rem 0.6rem;
  font-size: 11px;
  font-weight: 600;
  border: 1px solid #e5e7eb;
  background: #fff;
  color: #4b5563;
  display: inline-flex;
  align-items: center;
  gap: 4px;
}
.gd-level-pill.active {
  background: var(--gd-brand);
  color: #fff;
  border-color: var(--gd-brand);
}
.gd-level-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  display: inline-block;
}
.gd-level-dot.A1 { background: #6b7280; }
.gd-level-dot.A2 { background: #7f1d1d; }
.gd-level-dot.B1 { background: #ea580c; }
.gd-level-dot.B2 { background: #16a34a; }
.gd-level-dot.C1 { background: #2b85f0; }
.gd-level-dot.C2 { background: #7c3aed; }

.gd-modal-header-text {
  min-width: 0;
}
.gd-modal-section {
  margin: 0.5rem 0 0.75rem;
}
.gd-modal-section-title {
  font-size: 13px;
  font-weight: 700;
  color: #111827;
}
.gd-modal-section-subtitle {
  font-size: 12px;
  color: #6b7280;
  margin-top: 4px;
}
.gd-mode-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.5rem;
  margin-bottom: 0.75rem;
}
@media (max-width: 768px) {
  .gd-mode-grid {
    grid-template-columns: 1fr;
  }
}
.gd-mode-text {
  display: block;
}
.gd-mode-title {
  display: block;
  font-size: 13px;
  font-weight: 600;
  color: #111827;
}
.gd-mode-desc {
  display: block;
  font-size: 11px;
  color: #6b7280;
  margin-top: 2px;
}
.gd-section-text {
  min-width: 0;
  flex: 1 1 auto;
}
.gd-section-count {
  font-size: 11px;
  font-weight: 600;
  color: var(--gd-brand);
  background: color-mix(in srgb, var(--gd-brand) 18%, white);
  padding: 2px 8px;
  border-radius: 999px;
  margin-left: auto;
  flex-shrink: 0;
  white-space: nowrap;
}
.gd-roster-toolbar {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  flex-wrap: wrap;
}
.gd-level-filter {
  display: flex;
  align-items: center;
  gap: 0.35rem;
  flex-wrap: wrap;
}

.gd-modal-summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.75rem 1.5rem;
  border-top: 1px solid #e5e7eb;
  background: #f9fafb;
}
.gd-modal-summary-count {
  font-size: 13px;
  color: #6b7280;
}
.gd-modal-seat-count {
  font-size: 15px;
  font-weight: 700;
  color: #111827;
}
.gd-modal-seat-badge {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: 11px;
  font-weight: 600;
  color: #6b7280;
  background: #fff;
  border: 1px solid #e5e7eb;
  padding: 2px 8px;
  border-radius: 999px;
  margin-left: 8px;
}
.gd-modal-link {
  font-size: 12px;
  font-weight: 600;
  color: var(--gd-brand);
  background: transparent;
  border: 0;
}
.gd-modal-link:hover {
  background: var(--gd-brand-soft);
  border-radius: 6px;
}
.gd-modal-link:disabled {
  opacity: 0.4;
  cursor: not-allowed;
}

.gd-custom-modal .modal-dialog {
  margin: 1rem auto;
}
.gd-custom-modal.modal {
  padding-right: 0 !important;
}
.gd-custom-modal .modal-dialog-centered {
  display: flex;
  align-items: center;
  min-height: calc(100% - 2rem);
}
.gd-intake-add-modal .gd-modal-dialog { max-width: 820px; width: calc(100% - 2rem); }
.gd-invite-preview-modal .gd-modal-dialog { max-width: 560px; }
.gd-intake-class-modal .gd-modal-dialog { max-width: 440px; }
.gd-intake-class-modal .gd-modal-body {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}
.gd-intake-class-modal .gd-class-form-field,
.gd-classes-create-modal .gd-class-form-field {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-bottom: 0;
}
.gd-intake-class-modal .gd-class-form-field-level,
.gd-classes-create-modal .gd-class-form-field-level {
  max-width: 50%;
}
.gd-intake-class-modal .gd-class-text-input,
.gd-classes-create-modal .gd-class-text-input {
  display: block;
  width: 100%;
  height: 40px;
  padding: 0 0.75rem;
  font-size: 13px;
  font-weight: 400;
  line-height: 1.4;
  color: #111827;
  background-color: #fff;
  border: 1px solid #d1d5db;
  border-radius: 8px;
  box-shadow: none;
}
.gd-intake-class-modal .gd-class-text-input:focus,
.gd-classes-create-modal .gd-class-text-input:focus {
  outline: none;
  border-color: var(--gd-brand);
  box-shadow: 0 0 0 3px color-mix(in srgb, var(--gd-brand) 12%, transparent);
}
.gd-intake-class-modal .gd-class-text-input::placeholder,
.gd-classes-create-modal .gd-class-text-input::placeholder {
  color: #9ca3af;
}
.gd-intake-class-modal .gd-class-select-shell,
.gd-classes-create-modal .gd-class-select-shell {
  position: relative;
  width: 100%;
}
.gd-intake-class-modal .gd-class-select,
.gd-classes-create-modal .gd-class-select {
  display: block;
  width: 100%;
  height: 40px;
  padding: 0 2.25rem 0 0.75rem;
  font-size: 13px;
  font-weight: 400;
  line-height: 1.4;
  color: #111827;
  background-color: #fff;
  border: 1px solid #d1d5db;
  border-radius: 8px;
  appearance: none;
  -webkit-appearance: none;
  -moz-appearance: none;
  cursor: pointer;
  box-shadow: none;
}
.gd-intake-class-modal .gd-class-select:focus,
.gd-classes-create-modal .gd-class-select:focus {
  outline: none;
  border-color: var(--gd-brand);
  box-shadow: 0 0 0 3px color-mix(in srgb, var(--gd-brand) 12%, transparent);
}
.gd-intake-class-modal .gd-class-select-chevron,
.gd-classes-create-modal .gd-class-select-chevron {
  position: absolute;
  right: 12px;
  top: 50%;
  transform: translateY(-50%);
  pointer-events: none;
  color: #6b7280;
  font-size: 11px;
  line-height: 1;
}
.gd-intake-assign-tag-modal .gd-modal-dialog,
.gd-intake-remove-modal .gd-modal-dialog { max-width: 440px; }
.gd-classes-create-modal .gd-modal-dialog {
  max-width: 720px;
  width: calc(100% - 2rem);
}

.gd-classes-create-modal .gd-intake-table-wrap {
  max-height: min(360px, 42vh);
  overflow-y: auto;
}
.gd-classes-create-modal .gd-cc-tag-pills-row {
  flex-wrap: wrap;
  gap: 0.35rem;
}
.gd-classes-create-modal .gd-cc-modal-content {
  max-height: calc(100vh - 52px);
  display: flex;
  flex-direction: column;
}
.gd-classes-create-modal .gd-cc-modal-header {
  flex-shrink: 0;
}
.gd-classes-create-modal .gd-cc-modal-body {
  flex: 1 1 auto;
  overflow-y: auto;
  padding: 1.25rem 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}
.gd-classes-create-modal .gd-cc-field {
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.gd-classes-create-modal .gd-cc-select-shell {
  position: relative;
  width: 100%;
}
.gd-classes-create-modal .gd-cc-select {
  display: block;
  width: 100%;
  height: 40px;
  padding: 0 2.25rem 0 0.75rem;
  font-size: 13px;
  font-weight: 400;
  line-height: 1.4;
  color: #111827;
  background-color: #fff;
  border: 1px solid #d1d5db;
  border-radius: 8px;
  appearance: none;
  -webkit-appearance: none;
  -moz-appearance: none;
  cursor: pointer;
  box-shadow: none;
}
.gd-classes-create-modal .gd-cc-select:focus {
  outline: none;
  border-color: var(--gd-brand);
  box-shadow: 0 0 0 3px color-mix(in srgb, var(--gd-brand) 12%, transparent);
}
.gd-classes-create-modal .gd-cc-select-chevron {
  position: absolute;
  right: 12px;
  top: 50%;
  transform: translateY(-50%);
  pointer-events: none;
  color: #6b7280;
  font-size: 11px;
  line-height: 1;
}

.gd-classes-create-modal .gd-cc-student-table-wrap {
  border: 1px solid #e5e7eb;
  border-radius: 8px;
  max-height: min(320px, 38vh);
  overflow-x: hidden;
  overflow-y: auto;
  background: #fff;
  flex: 1 1 auto;
  min-height: 120px;
}
.gd-classes-create-modal .gd-cc-student-table-wrap .gd-intake-tests-table thead th {
  position: sticky;
  top: 0;
  z-index: 1;
  background: #f9fafb;
}
.gd-classes-create-modal .gd-cc-student-table {
  margin: 0;
  width: 100%;
  table-layout: fixed;
}

.gd-classes-create-modal .gd-cc-student-table thead th {
  position: sticky;
  top: 0;
  z-index: 1;
  background: #f9fafb;
  border-bottom: 1px solid #e5e7eb;
  padding: 0.5rem 0.75rem;
  font-size: 10px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: #6b7280;
  white-space: nowrap;
}

.gd-classes-create-modal .gd-cc-student-table td {
  padding: 0.55rem 0.75rem;
  vertical-align: middle;
  font-size: 13px;
}

.gd-classes-create-modal .gd-modal-footer {
  flex-shrink: 0;
}

.gd-classes-create-modal .gd-btn-primary#gdCcSubmit {
  background: var(--gd-brand);
  border-color: #0c1222;
  border-radius: 999px;
  min-height: 36px;
  height: 36px;
  padding: 0.5rem 1rem !important;
  font-size: 0.875rem;
  font-weight: 700;
  box-shadow: 3px 3px 0 #0c1222;
}
.gd-classes-create-modal .gd-btn-primary#gdCcSubmit:hover:not(:disabled) {
  background: var(--gd-brand-dark);
  border-color: #0c1222;
  box-shadow: 4px 4px 0 #0c1222;
  transform: translate(-1px, -1px);
}
.gd-classes-create-modal .gd-btn-primary#gdCcSubmit:active:not(:disabled) {
  box-shadow: 1px 1px 0 #0c1222;
  transform: translate(1px, 1px);
}
.gd-classes-create-modal .gd-btn-primary#gdCcSubmit:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}
html.gd-school-modal-open {
  overflow: hidden !important;
}
.gd-intake-add-modal .table-responsive-sm {
  border: 1px solid #dee2e6;
  border-radius: 8px;
  max-height: 280px;
  overflow-y: auto;
}

.gd-form-label {
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: #6b7280;
}

.gd-session-wizard-modal .gd-modal-header {
  border-bottom: 0;
  padding-bottom: 0.35rem;
}
.gd-session-stepper {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.5rem 1.5rem 1rem;
  border-bottom: 1px solid #e5e7eb;
}
.gd-session-step {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  border: 0;
  background: transparent;
  padding: 4px 12px 4px 4px;
  border-radius: 999px;
  color: #9ca3af;
  cursor: pointer;
}
.gd-session-step-index {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: #e5e7eb;
  color: #6b7280;
  font-size: 11px;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.gd-session-step-label {
  font-size: 13px;
  font-weight: 600;
  color: #6b7280;
}
.gd-session-step.is-active {
  background: color-mix(in srgb, var(--gd-brand) 12%, white);
}
.gd-session-step.is-active .gd-session-step-index,
.gd-session-step.is-complete .gd-session-step-index {
  background: var(--gd-brand);
  color: #fff;
}
.gd-session-step.is-active .gd-session-step-label {
  color: var(--gd-brand);
}
.gd-session-step.is-complete .gd-session-step-label {
  color: #374151;
}
.gd-session-step-line {
  flex: 0 0 36px;
  height: 1px;
  background: #e5e7eb;
}
.gd-session-wizard-modal .gd-modal-body {
  padding-top: 1.15rem;
}
.gd-session-wizard-modal.is-step-1 .gd-modal-body {
  overflow: visible;
}
.gd-form-input {
  display: block;
  width: 100%;
  height: 40px;
  padding: 0 0.75rem;
  font-size: 13px;
  font-weight: 400;
  line-height: 1.4;
  color: #111827;
  background-color: #fff;
  border: 1px solid #d1d5db;
  border-radius: 8px;
  box-shadow: none;
}
.gd-form-input:focus {
  outline: none;
  border-color: var(--gd-brand);
  box-shadow: 0 0 0 3px color-mix(in srgb, var(--gd-brand) 12%, transparent);
}
.gd-form-field .gd-form-label,
.gd-session-type-row .gd-form-label {
  display: block;
  margin-bottom: 6px;
}
.gd-native-select-proxy {
  position: absolute;
  width: 1px;
  height: 1px;
  opacity: 0;
  pointer-events: none;
}
.gd-test-type-dropdown {
  position: relative;
}
.gd-test-type-trigger {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  width: 100%;
  min-height: 40px;
  padding: 0 0.75rem;
  font-size: 13px;
  font-weight: 600;
  color: #111827;
  text-align: left;
  background: #fff;
  border: 1px solid #d1d5db;
  border-radius: 8px;
  cursor: pointer;
}
.gd-test-type-trigger[aria-expanded="true"],
.gd-test-type-trigger:focus {
  outline: none;
  border-color: var(--gd-brand);
  box-shadow: 0 0 0 3px color-mix(in srgb, var(--gd-brand) 12%, transparent);
}
.gd-test-type-trigger .fa-chevron-down {
  font-size: 11px;
  color: #9ca3af;
}
.gd-test-type-menu {
  position: absolute;
  z-index: 20;
  top: calc(100% + 6px);
  left: 0;
  right: 0;
  max-height: 280px;
  overflow-y: auto;
  background: #fff;
  border: 1px solid #e5e7eb;
  border-radius: 10px;
  box-shadow: 0 12px 30px rgba(15, 23, 42, 0.12);
  padding: 0.4rem 0;
}
.gd-test-type-group-label {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #9ca3af;
  padding: 0.45rem 0.85rem 0.25rem;
}
.gd-test-type-option {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 0.75rem;
  width: 100%;
  border: 0;
  background: transparent;
  text-align: left;
  padding: 0.55rem 0.85rem;
  cursor: pointer;
}
.gd-test-type-option:hover,
.gd-test-type-option.is-selected {
  background: color-mix(in srgb, var(--gd-brand) 10%, white);
}
.gd-test-type-option-title {
  display: block;
  font-size: 13px;
  font-weight: 700;
  color: #111827;
  margin-bottom: 6px;
}
.gd-test-type-check {
  color: var(--gd-brand);
  font-size: 12px;
  margin-top: 2px;
  opacity: 0;
  flex-shrink: 0;
}
.gd-test-type-option.is-selected .gd-test-type-check {
  opacity: 1;
}
.gd-skill-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}
.gd-skill-pill {
  display: inline-flex;
  align-items: center;
  border-radius: 999px;
  padding: 4px 10px;
  font-size: 12px;
  font-weight: 600;
  line-height: 1.2;
  border: 1px solid transparent;
}
.gd-skill-pill.is-active {
  background: color-mix(in srgb, var(--gd-brand) 12%, white);
  color: var(--gd-brand);
}
.gd-skill-pill.is-inactive {
  background: #f3f4f6;
  color: #9ca3af;
  border-color: #e5e7eb;
}
.gd-skill-pills--sm .gd-skill-pill {
  font-size: 10px;
  padding: 2px 7px;
}
.gd-whats-in-test {
  margin-top: 1rem;
  padding: 0.9rem 1rem;
  border: 1px solid #e5e7eb;
  border-radius: 10px;
  background: #f9fafb;
}
.gd-whats-in-test-title {
  font-size: 15px;
  font-weight: 700;
  color: #111827;
  margin: 4px 0 10px;
}
.gd-whats-in-test-copy {
  font-size: 13px;
  color: #6b7280;
  margin: 10px 0 0;
}
.gd-flag-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.75rem;
  margin-top: 1rem;
}
.gd-flag-card {
  display: flex;
  align-items: flex-start;
  gap: 0.7rem;
  margin: 0;
  padding: 0.85rem 0.9rem;
  border: 1px solid #e5e7eb;
  border-radius: 10px;
  background: #fff;
  cursor: pointer;
}
.gd-flag-card:has(.form-check-input:checked) {
  border-color: var(--gd-brand);
  background: color-mix(in srgb, var(--gd-brand) 6%, white);
  box-shadow: 0 0 0 1px var(--gd-brand);
}
.gd-session-wizard-modal .gd-roster-toolbar .gd-search-wrapper {
  width: auto;
  flex: 1;
  min-width: 0;
}
.gd-session-wizard-modal .gd-section-header {
  border-bottom: 1px solid #e5e7eb;
  cursor: default;
  align-items: flex-start;
}
.gd-session-wizard-modal .gd-section-subtitle {
  max-width: 100%;
}
.gd-session-wizard-modal .gd-intake-tests-table thead th,
.gd-session-wizard-modal .gd-intake-tests-table tbody td {
  border-top: 0 !important;
  border-left: 0 !important;
  border-right: 0 !important;
  border-bottom: 1px solid #dee2e6 !important;
}
.gd-roster-tag-wrap {
  position: relative;
  display: inline-flex;
  align-items: center;
  flex-shrink: 0;
}
.gd-roster-tag-wrap .fa-chevron-down {
  position: absolute;
  right: 0.65rem;
  top: 50%;
  transform: translateY(-50%);
  font-size: 11px;
  color: #9ca3af;
  pointer-events: none;
}
.gd-roster-tag-select {
  height: 32px;
  min-width: 118px;
  padding: 0 1.75rem 0 0.7rem;
  font-size: 12px;
  font-weight: 600;
  color: #374151;
  background-color: #fff;
  background-image: none;
  border: 1px solid #d1d5db;
  border-radius: 8px;
  appearance: none;
  -webkit-appearance: none;
  cursor: pointer;
}
.gd-roster-tag-select:focus {
  outline: none;
  border-color: var(--gd-brand);
  box-shadow: 0 0 0 3px color-mix(in srgb, var(--gd-brand) 12%, transparent);
}
.gd-session-wizard-modal .gd-roster-add-student,
.gd-session-wizard-modal .gd-roster-add-student:hover,
.gd-session-wizard-modal .gd-roster-add-student:active,
.gd-session-wizard-modal .gd-roster-add-student:focus {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 32px;
  min-height: 32px;
  padding: 0 0.85rem !important;
  font-size: 12px;
  font-weight: 600;
  line-height: 1;
  white-space: nowrap;
  border-radius: 8px;
  border: 1px solid var(--gd-brand);
  box-shadow: none;
  transform: none;
  text-decoration: none;
}
.gd-session-wizard-pane[hidden] {
  display: none !important;
}
.gd-flag-card .form-check-input {
  margin-top: 3px;
  margin-left: 0;
  flex-shrink: 0;
  position: static;
}
.gd-flag-title {
  display: block;
  font-size: 13px;
  font-weight: 700;
  color: #111827;
}
.gd-flag-desc {
  display: block;
  font-size: 12px;
  color: #6b7280;
  margin-top: 2px;
}
.gd-session-wizard-footer {
  justify-content: space-between;
}
.gd-session-wizard-actions {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-left: auto;
}
.gd-session-wizard-modal.is-step-1 .gd-modal-content {
  overflow: visible;
}
.gd-session-wizard-summary {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  min-width: 0;
}
.gd-session-wizard-summary[hidden],
.gd-session-wizard-footer [hidden] {
  display: none !important;
}
@media (max-width: 768px) {
  .gd-flag-grid {
    grid-template-columns: 1fr;
  }
}

.gd-modal-error {
  font-size: 12px;
  color: #dc2626;
  margin-top: 6px;
}

.gd-email-meta {
  font-size: 12px;
  color: #9ca3af;
}
.gd-email-label {
  color: #4b5563;
  font-weight: 600;
}
.gd-email-title {
  font-size: 16px;
  font-weight: 700;
  color: #111827;
  border-bottom: 1px solid #f3f4f6;
  padding-bottom: 10px;
  margin-bottom: 12px;
}
.gd-email-body {
  font-size: 14px;
  color: #374151;
  line-height: 1.6;
}

.gd-email-cta {
  display: inline-block;
  background: var(--gd-brand);
  color: #fff;
  font-weight: 600;
  padding: 8px 16px;
  border-radius: 8px;
  text-decoration: none;
}
.gd-email-cta:hover { background: var(--gd-brand-dark); color: #fff; }
.gd-email-footnote {
  font-size: 12px;
  color: #9ca3af;
}
.gd-email-template { font-size: 11px; color: #9ca3af; }

.gd-users-layout {
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
  align-items: stretch;
  width: 100%;
  min-width: 0;
}
.gd-users-layout--with-sidebar {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 320px;
  grid-template-rows: auto auto minmax(0, auto);
  column-gap: 1rem;
  row-gap: 0.75rem;
  align-items: start;
}

.gd-users-filterbar {
  display: contents;
}
.gd-users-filterbar-top,
.gd-users-filterbar-bottom {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  flex-wrap: wrap;
  background: transparent;
  border: 0;
  padding: 0;
}
.gd-users-filterbar-actions {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 0.5rem;
  flex-shrink: 0;
  flex-wrap: wrap;
  background: transparent;
  padding: 0;
}
.gd-users-layout--with-sidebar .gd-users-filterbar-top {
  grid-column: 1;
  grid-row: 1;
}
.gd-users-layout--with-sidebar .gd-users-filterbar-actions {
  grid-column: 2;
  grid-row: 1;
  width: 100%;
}
.gd-users-layout--with-sidebar .gd-users-filterbar-bottom {
  grid-column: 1;
  grid-row: 2;
}
.gd-users-layout--with-sidebar .gd-users-main {
  grid-column: 1;
  grid-row: 3;
  flex: 1 1 0;
  overflow: hidden;
}
.gd-users-layout--with-sidebar .gd-users-main:has(.gd-place-empty) {
  overflow: visible;
}
.gd-users-layout--with-sidebar .gd-users-sidebar {
  grid-column: 2;
  grid-row: 3;
  align-self: start;
}
.gd-users-main {
  flex: 1 1 auto;
  min-width: 0;
  max-width: 100%;
  overflow: visible;
}
.gd-users-sidebar {
  width: 320px;
  flex-shrink: 0;
}
.gd-users-filterbar-top {
  justify-content: flex-start;
  gap: 0.75rem;
}
.gd-users-search-wrap {
  position: relative;
  flex: 1 1 240px;
  min-width: 180px;
  max-width: 480px;
}
.gd-users-search-wrap .gd-search-icon {
  position: absolute;
  left: 12px;
  top: 50%;
  transform: translateY(-50%);
  color: #9ca3af;
  font-size: 12px;
  pointer-events: none;
}
.gd-users-search-input {
  width: 100%;
  height: 36px;
  padding: 0.4rem 0.85rem 0.4rem 2.15rem;
  border: 1px solid #e5e7eb;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 500;
  color: #374151;
  background: #fff;
  outline: none;
  transition: border-color .15s, box-shadow .15s;
  box-sizing: border-box;
}
.gd-users-search-input:focus {
  border-color: var(--gd-brand);
  box-shadow: 0 0 0 3px color-mix(in srgb, var(--gd-brand) 12%, transparent);
}
.gd-users-levels {
  display: flex;
  align-items: center;
  gap: 0.35rem;
  flex-wrap: wrap;
  flex: 0 1 auto;
  min-width: 0;
}
.gd-users-level-pill {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 5px 11px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 600;
  border: 1px solid #e5e7eb;
  background: #fff;
  color: #374151;
  cursor: pointer;
  transition: background .12s, border-color .12s, color .12s;
  white-space: nowrap;
}
.gd-users-level-pill:hover:not(.active) {
  background: #f8fafc;
  border-color: #d1d5db;
  color: #111827;
}
.gd-users-level-pill.active {
  background: var(--gd-brand);
  border-color: var(--gd-brand);
  color: #fff;
}
.gd-users-level-pill.active .gd-level-dot {
  box-shadow: 0 0 0 1.5px rgba(255, 255, 255, 0.55);
}
.gd-users-level-pill .gd-level-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  display: inline-block;
  flex-shrink: 0;
}
.gd-users-level-pill .gd-level-dot.B2 { background: #16a34a; }
.gd-users-level-pill .gd-level-dot.B1 { background: #ea580c; }
.gd-users-level-pill .gd-level-dot.A1 { background: #6b7280; }
.gd-users-level-pill .gd-level-dot.A2 { background: #dc2626; }
.gd-users-level-pill .gd-level-dot.C1 { background: #2563eb; }
.gd-users-level-pill .gd-level-dot.C2 { background: #0891b2; }

/* Attached to level pills — do not push to far right */
.gd-bundle-filter-wrap {
  margin-left: 0;
  position: relative;
  flex-shrink: 0;
}
.gd-bundle-filter-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 5px 12px;
  border: 1px dashed #d1d5db;
  border-radius: 999px;
  background: #fff;
  font-size: 13px;
  font-weight: 600;
  color: #374151;
  cursor: pointer;
  white-space: nowrap;
  transition: border-color .15s, background .15s;
}
.gd-bundle-filter-btn:hover,
.gd-bundle-filter-btn.is-open {
  border-color: var(--gd-brand);
  border-style: solid;
  background: #f8fafc;
}
.gd-bundle-filter-btn .chevron {
  font-size: 10px;
  color: #6b7280;
  transition: transform .15s;
}
.gd-bundle-filter-btn.is-open .chevron { transform: rotate(180deg); }
.gd-bundle-filter-menu {
  position: absolute;
  left: 0;
  right: auto;
  top: calc(100% + 6px);
  min-width: 220px;
  background: #fff;
  border: 1px solid #e5e7eb;
  border-radius: 10px;
  box-shadow: 0 8px 24px rgba(15,23,42,.12);
  z-index: 900;
  padding: 0.35rem 0;
}
.gd-bundle-filter-menu[hidden] { display: none !important; }
.gd-bundle-filter-option {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  width: 100%;
  padding: 0.5rem 0.85rem;
  font-size: 13px;
  color: #374151;
  background: transparent;
  border: 0;
  text-align: left;
  cursor: pointer;
  transition: background .1s;
}
.gd-bundle-filter-option:hover,
.gd-bundle-filter-option.active { background: var(--gd-brand-muted-bg, #eff6ff); color: var(--gd-brand); }
.gd-bundle-filter-sep {
  height: 1px;
  background: #f3f4f6;
  margin: 0.3rem 0;
}

.gd-users-layout:not(.gd-users-layout--with-sidebar) .gd-users-filterbar {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  grid-template-rows: auto auto;
  column-gap: 0.75rem;
  row-gap: 0.75rem;
  align-items: center;
}
.gd-users-layout:not(.gd-users-layout--with-sidebar) .gd-users-filterbar-top {
  grid-column: 1;
  grid-row: 1;
}
.gd-users-layout:not(.gd-users-layout--with-sidebar) .gd-users-filterbar-actions {
  grid-column: 2;
  grid-row: 1;
}
.gd-users-layout:not(.gd-users-layout--with-sidebar) .gd-users-filterbar-bottom {
  grid-column: 1 / -1;
  grid-row: 2;
}

@media (max-width: 991.98px) {
  .gd-users-layout--with-sidebar {
    display: flex;
    flex-direction: column;
  }
  .gd-users-layout--with-sidebar .gd-users-filterbar-top,
  .gd-users-layout--with-sidebar .gd-users-filterbar-actions,
  .gd-users-layout--with-sidebar .gd-users-filterbar-bottom,
  .gd-users-layout--with-sidebar .gd-users-main,
  .gd-users-layout--with-sidebar .gd-users-sidebar {
    grid-column: auto;
    grid-row: auto;
  }
  .gd-users-sidebar {
    width: 100%;
  }
  .gd-users-filterbar {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
  }
  .gd-users-layout--with-sidebar .gd-users-filterbar-top {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    flex-wrap: wrap;
  }
  .gd-users-layout--with-sidebar .gd-users-filterbar-actions {
    width: auto;
    align-self: flex-end;
  }
}
@media (max-width: 767.98px) {
  .gd-users-filterbar-top {
    flex-direction: column;
    align-items: stretch;
  }
  .gd-users-search-wrap {
    max-width: none;
    width: 100%;
  }
  .gd-users-filterbar-actions {
    justify-content: flex-end;
    width: 100%;
  }
  .gd-bundle-filter-wrap {
    margin-left: 0;
  }
}

.gd-bundle-sidebar-card {
  background: #fff;
  border: 1px solid #e5e7eb;
  border-radius: 12px;
  overflow: hidden;
}
.gd-users-page[data-gd-sidebar-move="1"] .gd-bundle-sidebar-card {
  overflow: visible;
}
.gd-bundle-sidebar-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.65rem 1rem 0.5rem;
  border-bottom: 1px solid #f3f4f6;
}
.gd-bundle-sidebar-label {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .07em;
  text-transform: uppercase;
  color: #6b7280;
}
.gd-bundle-sidebar-manage {
  font-size: 12px;
  font-weight: 600;
  color: var(--gd-brand);
  text-decoration: none;
}
.gd-bundle-sidebar-manage:hover { text-decoration: underline; }
.gd-bundle-item {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.6rem 1rem;
  border-bottom: 1px solid #f9fafb;
  cursor: pointer;
  transition: background .1s;
}
.gd-bundle-item:last-child { border-bottom: 0; }
.gd-bundle-item:hover { background: #f9fafb; }
.gd-bundle-item-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  flex-shrink: 0;
}
.gd-bundle-item-dot.active  { background: #16a34a; }
.gd-bundle-item-dot.trial   { background: #9ca3af; }
.gd-bundle-item-dot.expired { background: #f87171; }
.gd-bundle-item-body {
  flex: 1;
  min-width: 0;
}
.gd-bundle-item-name {
  font-size: 13px;
  font-weight: 600;
  color: #111827;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.gd-bundle-item-sub {
  font-size: 11px;
  color: #9ca3af;
}
.gd-bundle-item-count {
  font-size: 12px;
  font-weight: 700;
  color: #374151;
  white-space: nowrap;
}
.gd-bundle-request-btn {
  display: block;
  width: 100%;
  padding: 0.55rem 1rem;
  background: transparent;
  border: 0;
  border-top: 1px solid #f3f4f6;
  font-size: 13px;
  color: var(--gd-brand);
  font-weight: 600;
  cursor: pointer;
  text-align: center;
  transition: background .1s;
}
.gd-bundle-request-btn:hover { background: var(--gd-brand-muted-bg); }
.gd-bundle-empty-msg {
  font-size: 13px;
}

.gd-bundle-col-cell {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: 14px;
  white-space: nowrap;
}
.gd-bundle-col-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  flex-shrink: 0;
}
.gd-bundle-col-dot.active  { background: #16a34a; }
.gd-bundle-col-dot.trial   { background: #9ca3af; }
.gd-bundle-col-dot.expired { background: #f87171; }
.gd-bundle-not-in {
  color: #9ca3af;
  font-size: 14px;
}

.gd-level-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 30px;
  padding: 2px 7px;
  border-radius: 5px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .03em;
}
.gd-level-badge.A1 { background: #f3f4f6; color: #374151; }
.gd-level-badge.B2 { background: #dcfce7; color: #15803d; }
.gd-level-badge.B1 { background: #ffedd5; color: #c2410c; }
.gd-level-badge.A2 { background: #fee2e2; color: #b91c1c; }
.gd-level-badge.C1 { background: #ede9fe; color: #6d28d9; }
.gd-level-badge.C2 { background: #cffafe; color: #0e7490; }

.gd-users-access-code {
  font-size: 14px;
  color: #374151;
}
.gd-users-email {
  display: block;
  max-width: 200px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  font-size: 14px;
  color: #374151;
}
.gd-users-data-table {
  width: max-content;
  min-width: 100%;
  table-layout: auto;
  margin-bottom: 0;
}
.gd-users-data-table thead th,
.gd-users-data-table tbody td {
  vertical-align: middle;
}
.gd-users-data-table .gd-col-name {
  min-width: 160px;
  max-width: 200px;
}
.gd-users-data-table .gd-col-student-id {
  min-width: 88px;
  white-space: nowrap;
}
.gd-users-data-table .gd-col-email {
  min-width: 160px;
  max-width: 220px;
}
.gd-users-data-table .gd-col-level {
  min-width: 96px;
  white-space: nowrap;
}
.gd-users-data-table .gd-col-code {
  min-width: 108px;
  white-space: nowrap;
}
.gd-users-data-table .gd-col-bundle {
  min-width: 120px;
  max-width: 160px;
}
.gd-users-data-table .gd-col-classes {
  min-width: 88px;
  white-space: nowrap;
}
.gd-users-data-table .gd-col-tag {
  min-width: 88px;
  white-space: nowrap;
}
.gd-users-data-table .gd-col-date {
  min-width: 80px;
  white-space: nowrap;
}
.gd-users-data-table .gd-col-action {
  min-width: 52px;
  width: 52px;
  padding-right: 1rem !important;
}
.gd-users-data-table .gd-intake-student-cell .gd-student-name {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  min-width: 0;
  flex: 1 1 auto;
}
.gd-users-data-table .gd-bundle-col-cell,
.gd-users-data-table .gd-bundle-not-in {
  display: block;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.gd-users-classes-label {
  color: #374151;
  font-size: 14px;
}

.gd-users-tip {
  font-size: 12px;
  color: #9ca3af;
  padding: 0.5rem 1rem 0.6rem;
  border-top: 1px solid #f3f4f6;
}

.gd-users-row.gd-row-selected { background: var(--gd-brand-soft); }
.gd-users-row.gd-row-selected:hover { background: var(--gd-brand-soft); }

.gd-users-bulk-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  flex-wrap: wrap;
  padding: 0.65rem 1rem;
  background: var(--gd-brand-soft);
  border-top: 1px solid color-mix(in srgb, var(--gd-brand) 18%, white);
}
.gd-users-bulk-bar[hidden] { display: none !important; }
.gd-users-bulk-count { font-size: 13px; color: #374151; }
.gd-users-bulk-count strong { color: #111827; }
.gd-users-bulk-tally { font-size: 12px; color: #6b7280; }
.gd-users-bulk-actions { display: flex; gap: 0.4rem; }

.gd-bundle-card {
  border-bottom: 1px solid #f3f4f6;
  background: #fff;
  transition: box-shadow .15s, border-color .15s;
}
.gd-bundle-card:last-child { border-bottom: 0; }
.gd-bundle-card.is-filter-active {
  border: 1px solid var(--gd-brand);
  box-shadow: 0 0 0 1px var(--gd-brand);
  border-radius: 8px;
  margin: 0.35rem;
}
.gd-bundle-card-header {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  width: 100%;
  padding: 0.75rem 0.9rem;
  border: 0;
  background: transparent;
  text-align: left;
  cursor: pointer;
  transition: background .1s;
}
.gd-bundle-card-header:hover { background: #f9fafb; }
.gd-bundle-card-chevron {
  font-size: 11px;
  color: #9ca3af;
  transition: transform .15s;
  flex-shrink: 0;
}
.gd-bundle-card-chevron.is-open { transform: rotate(180deg); }
.gd-bundle-cap-dim { color: #9ca3af; font-weight: 500; }
.gd-bundle-card-body {
  padding: 0 0.9rem 0.85rem;
  border-top: 1px solid #f3f4f6;
}
.gd-bundle-card-body[hidden] { display: none !important; }
.gd-bundle-card-expiry {
  font-size: 11px;
  color: #6b7280;
  padding-top: 0.5rem;
  margin-bottom: 0.5rem;
}
.gd-bundle-level-bars { display: flex; flex-direction: column; gap: 0.35rem; margin-bottom: 0.65rem; }
.gd-bundle-level-bar-row { display: flex; align-items: center; gap: 0.45rem; }
.gd-bundle-level-chip {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 1.5rem;
  height: 1rem;
  border-radius: 3px;
  font-size: 9px;
  font-weight: 700;
  color: #fff;
  flex-shrink: 0;
}
.gd-bundle-level-track {
  flex: 1;
  height: 4px;
  background: #f3f4f6;
  border-radius: 999px;
  overflow: hidden;
}
.gd-bundle-level-fill { height: 100%; border-radius: 999px; }
.gd-bundle-level-count {
  font-size: 10px;
  font-weight: 700;
  color: #374151;
  min-width: 28px;
  text-align: right;
}
.gd-bundle-filter-link {
  width: 100%;
  padding: 0.4rem 0.5rem;
  border-radius: 6px;
  border: 1px solid transparent;
  background: transparent;
  font-size: 11px;
  font-weight: 600;
  color: #6b7280;
  cursor: pointer;
  text-align: center;
  transition: background .1s, color .1s;
}
.gd-bundle-filter-link:hover { background: #f9fafb; }
.gd-bundle-filter-link.active {
  background: var(--gd-brand-soft);
  color: var(--gd-brand);
  border-color: var(--gd-brand-soft-border);
}
.gd-bundle-fit-alert {
  display: flex;
  align-items: flex-start;
  gap: 0.35rem;
  padding: 0.45rem 0.55rem;
  border-radius: 6px;
  font-size: 11px;
  font-weight: 600;
  margin-bottom: 0.5rem;
}
.gd-bundle-fit-alert i { margin-top: 1px; flex-shrink: 0; }
.gd-bundle-fit-alert-danger {
  background: #fef2f2;
  border: 1px solid #fecaca;
  color: #b91c1c;
}
.gd-bundle-fit-alert-warn {
  background: #fffbeb;
  border: 1px solid #fde68a;
  color: #b45309;
}
.gd-bundle-move-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.35rem;
  width: 100%;
  padding: 0.5rem 0.75rem;
  border: 0;
  border-radius: 6px;
  -webkit-appearance: none;
  appearance: none;
  background: var(--background-color, #2563eb) !important;
  background-color: var(--background-color, #2563eb) !important;
  background-image: none !important;
  color: #fff !important;
  -webkit-text-fill-color: #fff;
  font-size: 12px;
  font-weight: 600;
  cursor: pointer;
  transition: background-color .15s;
}
.gd-bundle-move-btn:hover:not(.is-disabled):not(:disabled) {
  background: color-mix(in srgb, var(--background-color, #2563eb) 78%, black) !important;
  background-color: color-mix(in srgb, var(--background-color, #2563eb) 78%, black) !important;
  background-image: none !important;
  color: #fff !important;
  -webkit-text-fill-color: #fff;
}
.gd-bundle-move-btn.is-disabled,
.gd-bundle-move-btn:disabled {
  background: #f3f4f6 !important;
  background-color: #f3f4f6 !important;
  background-image: none !important;
  color: #9ca3af !important;
  -webkit-text-fill-color: #9ca3af;
  cursor: not-allowed;
}
.gd-bundle-move-dropdown {
  position: relative;
}
.gd-bundle-move-chevron {
  font-size: 10px;
  margin-left: 0.15rem;
  transition: transform .15s;
}
.gd-bundle-move-btn.is-open .gd-bundle-move-chevron {
  transform: rotate(180deg);
}
.gd-bundle-move-menu {
  position: absolute;
  left: 0;
  right: 0;
  top: calc(100% + 4px);
  z-index: 30;
  background: #fff;
  border: 1px solid #e5e7eb;
  border-radius: 6px;
  box-shadow: 0 8px 20px rgba(15, 23, 42, 0.12);
  overflow: hidden;
}
.gd-bundle-move-menu.is-floating {
  position: fixed;
  right: auto;
  z-index: 1060;
}
.gd-users-page .gd-bundle-move-menu.is-floating {
  z-index: 1060;
}
.gd-bundle-move-menu[hidden] { display: none !important; }
.gd-bundle-move-level-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
  width: 100%;
  padding: 0.5rem 0.65rem;
  border: 0;
  background: #fff;
  color: #111827;
  font-size: 12px;
  font-weight: 600;
  cursor: pointer;
  text-align: left;
}
.gd-bundle-move-level-item:hover {
  background: #f9fafb;
}
.gd-bundle-move-level-item + .gd-bundle-move-level-item {
  border-top: 1px solid #f3f4f6;
}
.gd-bundle-move-level-count {
  font-size: 11px;
  color: #6b7280;
  white-space: nowrap;
}

.gd-users-page .card-banner-users {
  width: 750px !important;
  height: auto;
  min-height: 50px;
  align-items: stretch;
}
.gd-users-page .card-banner-users-label {
  flex: 0 0 auto;
  min-width: 210px;
}
.gd-users-page .card-banner-users-actions {
  flex: 1 1 auto;
  gap: 4px;
}
.gd-users-page .card-banner-users .handlebar-action {
  white-space: nowrap;
  flex: 0 0 auto;
  min-width: max-content;
  font-size: 13px;
  line-height: 1.2;
  text-align: center;
}

.gd-ask-dock {
  --gd-ask-focus: var(--gd-brand);
  flex-shrink: 0;
  min-width: 0;
  padding: 0.55rem 0.65rem 0.65rem;
  border-top: 1px solid #e5e7eb;
  background: #fff;
}
.gd-ask-dock-inner {
  min-width: 0;
  overflow: hidden;
  border: 1px solid #e5e7eb;
  border-radius: 0.75rem;
  background: #fff;
}
.gd-ask-dock-inner:focus-within {
  border-color: var(--gd-brand-soft-border);
  box-shadow: 0 0 0 3px var(--gd-brand-ring);
}
.gd-ask-chips {
  display: flex;
  flex-wrap: nowrap;
  gap: 0.375rem;
  min-width: 0;
  padding: 0.45rem 0.6rem 0.3rem;
  overflow-x: auto;
  scrollbar-width: none;
  -ms-overflow-style: none;
}
.gd-ask-chips::-webkit-scrollbar { display: none; }
.gd-ask-chip {
  flex-shrink: 0;
  padding: 0.2rem 0.6rem;
  border: 1px solid #e5e7eb;
  border-radius: 999px;
  background: #fff;
  color: #4b5563;
  font-size: 0.68rem;
  font-weight: 700;
  line-height: 1.2;
  white-space: nowrap;
  cursor: pointer;
  transition: border-color 0.12s ease, background 0.12s ease, color 0.12s ease;
}
.gd-ask-chip:hover:not(:disabled) {
  border-color: var(--gd-brand-soft-border);
  background: var(--gd-brand-soft);
  color: var(--gd-brand-dark);
}
.gd-ask-chip:disabled {
  opacity: 0.55;
  cursor: not-allowed;
}
.gd-ask-form {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 0.4rem;
  align-items: end;
  min-width: 0;
  padding: 0.15rem 0.45rem 0.45rem;
}
.gd-ask-input {
  display: block;
  width: 100%;
  min-width: 0;
  height: 2.5rem;
  min-height: 2.5rem;
  max-height: 2.5rem;
  margin: 0;
  padding: 0.2rem 0.25rem;
  border: 0;
  outline: none;
  resize: none;
  overflow-x: hidden;
  overflow-y: auto;
  background: transparent;
  color: #111827;
  font-size: 0.8125rem;
  line-height: 1.25rem;
  box-sizing: border-box;
}
.gd-ask-input::placeholder {
  color: #9ca3af;
  opacity: 1;
}
.gd-ask-submit {
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
  width: 2rem !important;
  height: 2rem !important;
  min-width: 2rem !important;
  min-height: 2rem !important;
  margin: 0 0 0.1rem;
  padding: 0 !important;
  border: 1.5px solid #0c1222 !important;
  border-radius: 999px !important;
  background: var(--gd-brand) !important;
  color: #fff !important;
  box-shadow: 2px 2px 0 #0c1222 !important;
  cursor: pointer;
  flex-shrink: 0;
  line-height: 0;
  transform: none !important;
}
.gd-ask-submit svg {
  display: block;
  width: 14px;
  height: 14px;
  flex-shrink: 0;
  color: #fff;
  stroke: currentColor;
}
.gd-ask-submit:hover:not(:disabled) {
  background: var(--gd-brand-dark) !important;
  color: #fff !important;
  box-shadow: 3px 3px 0 #0c1222 !important;
  transform: translate(-1px, -1px) !important;
}
.gd-ask-submit:active:not(:disabled) {
  box-shadow: 1px 1px 0 #0c1222 !important;
  transform: translate(1px, 1px) !important;
}
.gd-ask-submit:disabled {
  opacity: 0.5;
  cursor: not-allowed;
  box-shadow: none !important;
  transform: none !important;
}
.gd-ask-generating {
  display: none !important;
}
.gd-ex-skeleton {
  animation: gd-ex-pulse 1.4s ease-in-out infinite;
  background: linear-gradient(90deg, #f3f4f6 25%, #e5e7eb 50%, #f3f4f6 75%);
  background-size: 200% 100%;
}
@keyframes gd-ex-pulse {
  0% { background-position: 200% 0; }
  100% { background-position: -200% 0; }
}
.gd-ex-skeleton-card {
  margin: 0 1rem 0.5rem;
  padding: 0.75rem 0.85rem;
  border: 1px solid #e5e7eb;
  border-radius: 0.45rem;
  background: #fff;
}
.gd-ex-skeleton-card .gd-ex-skeleton {
  border-radius: 0.25rem;
}
.gd-ex-skeleton-line {
  height: 0.875rem;
  width: 70%;
  margin-bottom: 0.45rem;
}
.gd-ex-skeleton-line.is-short {
  height: 0.625rem;
  width: 45%;
  margin-bottom: 0;
}
.gd-ex-skeleton-status {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  margin: 0.35rem 1rem 0.55rem;
  color: #6b7280;
  font-size: 0.75rem;
}
.gd-ex-skeleton-status svg {
  width: 0.95rem;
  height: 0.95rem;
  color: var(--gd-brand, #2563eb);
  animation: spin 1s linear infinite;
}
@keyframes spin {
  to { transform: rotate(360deg); }
}

html.gradingly-product-ui:has(.gd-report-page) .gradingly-school-shell .main-content,
html.gradingly-product-ui:has(.gd-profile-page) .gradingly-school-shell .main-content {
  padding-bottom: 0;
}
.gd-profile-page {
  --gd-brand: var(--brand-primary, var(--background-color, #2563eb));
  --gd-brand-dark: var(--brand-primary-dark, color-mix(in srgb, var(--gd-brand) 78%, black));
  display: flex !important;
  flex-direction: column !important;
  flex: 1 1 auto !important;
  min-height: 0 !important;
  height: 100% !important;
  width: 100% !important;
  max-width: none !important;
  overflow: hidden;
  background: #f9fafb;
  padding: 1.5rem 1.75rem 1.75rem;
  box-sizing: border-box;
}
@media (min-width: 768px) {
  .gd-profile-page {
    padding: 1.75rem 2.5rem 2rem;
  }
}
.gd-profile-page.gd-profile-page--nested {
  height: auto !important;
}

html:has(.gd-dist-profile-shell),
body:has(.gd-dist-profile-shell) {
  height: 100%;
  overflow: hidden;
}
.gd-dist-profile-shell {
  display: flex;
  flex-direction: column;
  height: 100vh;
  overflow: hidden;
  background: #f9fafb;
}
.gd-dist-profile-header {
  flex-shrink: 0;
}
.gd-dist-profile-main {
  flex: 1 1 auto;
  min-height: 0;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  background: #f9fafb;
}
.gd-dist-profile-main #root,
.gd-dist-profile-main #root > * {
  display: flex;
  flex-direction: column;
  flex: 1 1 auto;
  min-height: 0 !important;
  height: 100%;
  max-height: 100%;
  overflow: hidden;
}
.gd-dist-profile-main .gd-profile-page,
.gd-profile-page.gd-profile-page--dist {
  width: calc(100vw - 224px) !important;
  max-width: calc(100vw - 224px) !important;
  margin-left: auto;
  margin-right: auto;
  height: 100% !important;
  overflow: hidden;
}
.gd-dist-profile-main .gd-profile-card,
.gd-profile-page.gd-profile-page--dist .gd-profile-card {
  height: auto !important;
  flex: 1 1 auto !important;
  min-height: 0 !important;
}
@media (max-width: 1023.98px) {
  .gd-dist-profile-main .gd-profile-page,
  .gd-profile-page.gd-profile-page--dist {
    width: 100% !important;
    max-width: 100% !important;
  }
}
.gd-dist-profile-main .Quizbody {
  display: flex;
  flex-direction: column;
  flex: 1 1 auto;
  min-height: 0;
  height: 100%;
  overflow: hidden;
}
.gd-profile-card {
  display: flex !important;
  flex-direction: column !important;
  flex: 1 1 auto !important;
  min-height: 0 !important;
  height: 100% !important;
  width: 100% !important;
  max-width: none !important;
  overflow: hidden;
  background: #fff;
  border: 1px solid #e5e7eb;
  border-radius: 0.5rem;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.04);
}
.gd-profile-head {
  flex-shrink: 0;
  display: flex !important;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  width: 100%;
  padding: 1.2rem 1.75rem;
  background: var(--gd-brand, var(--background-color, #2563eb));
}
.gd-profile-head h1 {
  margin: 0;
  font-size: 1.125rem;
  font-weight: 600;
  line-height: 1.3;
  color: #fff;
}
.gd-profile-head p {
  margin: 0.5rem 0 0;
  font-size: 0.8125rem;
  line-height: 1.4;
  color: rgba(255, 255, 255, 0.82);
}
.gd-profile-head .gd-btn-outline,
.gd-profile-head .gd-report-download {
  flex-shrink: 0;
  margin: 2px 2px 2px 0;
  box-shadow: 2px 2px 0 #0c1222;
}
.gd-profile-head .gd-btn-outline:hover,
.gd-profile-head .gd-report-download:hover {
  box-shadow: 3px 3px 0 #0c1222;
  transform: translate(-1px, -1px);
}
.gd-profile-head .gd-btn-outline:active,
.gd-profile-head .gd-report-download:active {
  box-shadow: 1px 1px 0 #0c1222;
  transform: translate(1px, 1px);
}
.gd-profile-tabs {
  flex-shrink: 0;
  display: flex !important;
  align-items: center;
  gap: 0.375rem;
  width: 100%;
  padding: 0 1.25rem;
  border-bottom: 0;
  box-shadow: none;
  overflow-x: auto;
  background-image: linear-gradient(#e5e7eb, #e5e7eb);
  background-size: 100% 6px;
  background-position: bottom;
  background-repeat: no-repeat;
}
.gd-profile-body {
  display: grid !important;
  grid-template-columns: 1fr;
  grid-template-rows: minmax(0, 1fr);
  flex: 1 1 auto !important;
  min-height: 0 !important;
  width: 100% !important;
  max-width: none !important;
  align-items: stretch;
}
@media (min-width: 1024px) {
  .gd-profile-body {
    grid-template-columns: 300px minmax(0, 1fr) !important;
  }
}
.gd-profile-rail {
  display: none;
  flex-direction: column;
  min-width: 0;
  min-height: 0;
  height: 100%;
  overflow-x: hidden;
  overflow-y: auto;
  border-right: 1px solid #e5e7eb;
  background: #fff;
}
.gd-profile-rail-cefr {
  padding: 1.8rem 1.5rem 1.25rem;
  border-bottom: 1px solid #f3f4f6;
}
.gd-profile-rail-block {
  padding: 1.5rem;
  border-bottom: 1px solid #f3f4f6;
}
.gd-profile-rail-block--stack {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}
.gd-profile-rail-title {
  margin: 0 0 0.625rem;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--gd-brand, var(--background-color, #2563eb));
}
.gd-profile-rail-text {
  margin: 0;
  font-size: 0.875rem;
  line-height: 1.5;
  color: #1f2937;
}
.gd-profile-rail-text--sub {
  display: block;
  margin-top: 0.25rem;
  font-size: 0.8125rem;
  line-height: 1.4;
  color: #6b7280;
}
.gd-profile-rail-text--link {
  display: block;
  margin-top: 0.375rem;
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--gd-brand, var(--background-color, #2563eb));
}
.gd-profile-rail-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}
.gd-profile-rail-chip {
  display: inline-flex;
  align-items: center;
  gap: 0.375rem;
  border-radius: 0.25rem;
  padding: 0.375rem 0.625rem;
  font-size: 0.75rem;
  font-weight: 500;
  border: 1px solid #e5e7eb;
}
.gd-profile-rail-chip.is-strong {
  background: #f0fdf4;
  border-color: #bbf7d0;
  color: #166534;
}
.gd-profile-rail-chip.is-muted {
  background: #f9fafb;
  border-color: #e5e7eb;
  color: #4b5563;
}
.gd-profile-rail-btn {
  display: block;
  width: 100%;
  margin: 0;
  padding: 1.5rem;
  border: 0;
  border-bottom: 1px solid #f3f4f6;
  background: transparent;
  text-align: left;
  cursor: pointer;
  font-family: inherit;
}
.gd-profile-rail-btn:last-child {
  border-bottom: 0;
}
.gd-profile-rail-btn:hover .gd-profile-rail-text--link {
  text-decoration: underline;
}
.gd-profile-cefr-bars {
  display: flex;
  gap: 0.5rem;
}
.gd-profile-cefr-bars > div {
  flex: 1 1 0;
}
.gd-profile-cefr-bar {
  height: 0.625rem;
  border-radius: 999px;
  background: #e5e7eb;
}
.gd-profile-cefr-bar.is-filled {
  background: var(--gd-brand, var(--background-color, #2563eb));
}
.gd-profile-cefr-bar.is-on-accent {
  background: rgba(255, 255, 255, 0.28);
}
.gd-profile-cefr-bar.is-on-accent.is-filled {
  background: #fff;
}
.gd-profile-cefr-compact-bar {
  height: 0.375rem;
  border-radius: 999px;
  background: #e5e7eb;
}
.gd-profile-cefr-compact-bar.is-filled {
  background: var(--gd-brand, var(--background-color, #2563eb));
}
.gd-profile-cefr-compact-bar.is-on-accent {
  background: rgba(255, 255, 255, 0.28);
}
.gd-profile-cefr-compact-bar.is-on-accent.is-filled {
  background: #fff;
}
.gd-profile-cefr-labels {
  display: flex;
  gap: 0.5rem;
  margin-top: 0.625rem;
}
.gd-profile-cefr-labels > div {
  flex: 1 1 0;
  text-align: center;
}
.gd-profile-cefr-pill {
  display: inline-block;
  font-size: 0.8125rem;
  font-weight: 800;
  line-height: 1;
  border-radius: 999px;
  padding: 0.25rem 0.625rem;
  color: #fff;
  background: var(--gd-brand, var(--background-color, #2563eb));
  border: 1px solid #0c1222;
  box-shadow: 1.5px 1.5px 0 #0c1222;
}
.gd-profile-cefr-pill.is-compact {
  font-size: 0.68rem;
  padding: 0.125rem 0.375rem;
}
.gd-profile-cefr-pill.is-on-accent {
  color: var(--gd-brand, var(--background-color, #2563eb));
  background: #fff;
  border-color: #fff;
  box-shadow: none;
}
.gd-profile-level-pill {
  display: inline-flex;
  align-items: center;
  border-radius: 0.375rem;
  padding: 0.125rem 0.5rem;
  font-size: 0.75rem;
  font-weight: 600;
  color: #fff;
  background: var(--gd-brand, var(--background-color, #2563eb));
}
.gd-profile-cefr-label {
  display: inline-block;
  font-size: 0.8125rem;
  font-weight: 600;
  line-height: 1;
  color: #9ca3af;
}
.gd-profile-cefr-label.is-done {
  color: #4b5563;
}
.gd-profile-focus-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  padding: 1.5rem 1.75rem;
  border-bottom: 1px solid #e5e7eb;
  background: #f9fafb;
}
.gd-profile-focus-head h2 {
  margin: 0;
  font-size: 0.9rem;
  font-weight: 600;
  color: #111827;
}
.gd-profile-focus-head h2 span {
  font-size: 0.775rem;
  font-weight: 400;
  color: #6b7280;
  margin-left: 0.25rem;
}
.gd-profile-focus-head .gd-profile-focus-meta {
  font-size: 0.775rem;
  color: #6b7280;
  white-space: nowrap;
}
@media (min-width: 1024px) {
  .gd-profile-rail {
    display: flex !important;
  }
}
.gd-profile-identity {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.5rem 1rem;
  width: 100%;
  padding: 0.875rem 1.25rem;
  border-bottom: 1px solid #e5e7eb;
}
.gd-profile-identity button {
  color: var(--gd-brand, var(--background-color, #2563eb));
}
@media (min-width: 1024px) {
  .gd-profile-identity {
    display: none !important;
  }
}
.gd-profile-stage {
  display: flex !important;
  flex-direction: column !important;
  min-width: 0 !important;
  min-height: 0 !important;
  height: 100%;
  width: 100% !important;
  overflow: hidden;
}
.gd-profile-stage > [data-profile-panel] {
  display: none !important;
  flex: 1 1 auto;
  flex-direction: column;
  min-height: 0;
  width: 100% !important;
  overflow: auto;
}
.gd-profile-stage > [data-profile-panel].gd-is-active {
  display: flex !important;
  flex-direction: column !important;
}
.gd-profile-stage > [data-profile-panel="homework"].gd-is-active,
.gd-profile-stage > [data-profile-panel="submissions"].gd-is-active {
  overflow: hidden;
}
.gd-skill-chevron {
  width: 1rem;
  height: 1rem;
  flex-shrink: 0;
  color: #9ca3af;
  transition: transform 0.15s ease;
}
.gd-skill-chevron.is-open {
  transform: rotate(90deg);
}
.gd-skill-l2.gd-is-hidden {
  display: none !important;
}
.gd-profile-stage > [data-profile-panel] {
  align-items: stretch !important;
  text-align: left !important;
}
.gd-profile-panel-head {
  flex-shrink: 0;
  width: 100%;
  padding: 1.5rem 1.75rem;
  text-align: left;
  border-bottom: 1px solid #e5e7eb;
}
.gd-profile-panel-head h2,
.gd-profile-panel-head p {
  margin: 0;
  text-align: left !important;
}
.gd-profile-panel-head h2 {
  font-size: 0.95rem;
  font-weight: 600;
  color: #111827;
}
.gd-profile-panel-head p {
  margin-top: 0.375rem;
  font-size: 0.775rem;
  color: #6b7280;
  line-height: 1.45;
}
.gd-profile-ex-list .gd-ex-skeleton-status,
.gd-profile-ex-list .gd-ex-skeleton-card {
  margin-left: 0;
  margin-right: 0;
}
.gd-profile-ex-list {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  width: 100%;
  padding: 1rem 1.25rem 1rem;
  box-sizing: border-box;
}
.gd-profile-ex-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.85rem;
  width: 100%;
  padding: 0.7rem 1rem;
  background: #fff;
  border: 1px solid #e5e7eb;
  border-radius: 8px;
  box-sizing: border-box;
}
.gd-profile-ex-row .profile-preview-exercise {
  flex: 1;
  min-width: 0;
  margin: 0;
  padding: 0;
  border: 0;
  background: transparent;
  text-align: left;
  cursor: pointer;
}
.gd-profile-ex-row .profile-preview-exercise h3 {
  margin: 0 0 0.2rem;
  font-size: 0.875rem;
  font-weight: 600;
  color: #111827;
  line-height: 1.3;
}
.gd-profile-ex-row .profile-preview-exercise:hover h3 {
  color: var(--gd-brand, #2563eb);
}
.gd-profile-ex-row .profile-preview-exercise > div {
  font-size: 0.75rem;
  color: #6b7280;
}
.gd-profile-ex-row .lp-assign-btn,
.gd-profile-ex-row .lp-assign-btn.btn-brand {
  display: inline-flex;
  flex-shrink: 0;
  align-items: center;
  justify-content: center;
  height: 2rem;
  min-height: 2rem;
  padding: 0 0.95rem !important;
  border: 0 !important;
  border-radius: 999px !important;
  background: var(--gd-brand, var(--background-color, #2563eb)) !important;
  color: #fff !important;
  font-size: 0.75rem !important;
  font-weight: 600;
  line-height: 1;
  box-shadow: none !important;
  transform: none !important;
}
.gd-profile-ex-row .lp-assign-btn:hover:not(:disabled),
.gd-profile-ex-row .lp-assign-btn.btn-brand:hover:not(:disabled) {
  background: var(--gd-brand-dark, color-mix(in srgb, var(--gd-brand, var(--background-color, #2563eb)) 78%, black)) !important;
  box-shadow: none !important;
  transform: none !important;
}
.gd-profile-skill-list,
.gd-profile-diag-list {
  width: 100%;
  padding: 0 1.75rem 1.5rem;
  box-sizing: border-box;
}
.gd-profile-skill-block {
  width: 100%;
  padding: 0.65rem 0;
}
.gd-profile-skill-row {
  display: grid;
  grid-template-columns: 11.5rem minmax(0, 1fr) auto;
  column-gap: 0.65rem;
  align-items: center;
  width: 100%;
  font-size: 0.8rem;
}
button.gd-skill-acc-toggle.gd-profile-skill-row {
  margin: 0;
  padding: 0;
  border: 0;
  background: transparent;
  cursor: pointer;
  text-align: left;
}
.gd-profile-skill-name {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  min-width: 0;
  overflow: hidden;
  color: #111827;
  font-weight: 600;
  text-align: left;
  line-height: 1.25;
}
.gd-profile-skill-bar {
  display: block;
  height: 0.4rem;
  overflow: hidden;
  background: #f3f4f6;
  border-radius: 999px;
}
.gd-profile-skill-fill {
  display: block;
  height: 100%;
  border-radius: 999px;
  background: #f59e0b;
}
.gd-profile-skill-fill.is-strong { background: #22c55e; }
.gd-profile-skill-fill.is-medium { background: #f59e0b; }
.gd-profile-skill-fill.is-weak { background: #ef4444; }
.gd-profile-skill-fill.is-none { background: #e5e7eb; }
.gd-profile-stage .gd-report-l2 {
  margin-left: 11.5rem;
}
.gd-profile-skill-score {
  min-width: 6.5rem;
  color: #6b7280;
  font-variant-numeric: tabular-nums;
  text-align: right;
  white-space: nowrap;
}
.gd-profile-sub-list {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  flex: 1 1 auto;
  min-height: 0;
  width: 100%;
  overflow-y: auto;
  padding: 1rem 1.25rem 1rem;
  box-sizing: border-box;
}
.gd-profile-sub-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  width: 100%;
  padding: 0.7rem 1rem;
  background: #fff;
  border: 1px solid #e5e7eb;
  border-radius: 8px;
  box-sizing: border-box;
}
.gd-profile-sub-row h3 {
  margin: 0 0 0.2rem;
  font-size: 0.875rem;
  font-weight: 600;
  color: #111827;
  line-height: 1.3;
}
.gd-profile-sub-meta {
  font-size: 0.75rem;
  color: #6b7280;
  line-height: 1.35;
}
.gd-profile-sub-actions {
  display: flex;
  flex-shrink: 0;
  align-items: center;
  gap: 0.75rem;
}
.gd-profile-sub-score {
  font-size: 0.9rem;
  font-weight: 700;
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
}
.gd-profile-sub-score.is-strong { color: #16a34a; }
.gd-profile-sub-score.is-medium { color: #d97706; }
.gd-profile-sub-score.is-weak { color: #dc2626; }
.gd-profile-sub-score.is-empty { color: #9ca3af; font-weight: 500; }
.gd-profile-review {
  display: inline-flex;
  align-items: center;
  height: 1.75rem;
  padding: 0 0.7rem;
  border: 1.5px solid #0c1222;
  border-radius: 999px;
  background: #fff;
  color: #111827;
  font-size: 0.72rem;
  font-weight: 700;
  line-height: 1;
  text-decoration: none;
  box-shadow: 2px 2px 0 #0c1222;
  transition: background 0.15s, box-shadow 0.15s, transform 0.15s;
}
.gd-profile-review:hover {
  background: #f9fafb;
  color: #111827;
  text-decoration: none;
  box-shadow: 3px 3px 0 #0c1222;
  transform: translate(-1px, -1px);
}
.gd-profile-review:active {
  box-shadow: 1px 1px 0 #0c1222;
  transform: translate(1px, 1px);
}
button.gd-profile-review {
  cursor: pointer;
  font-family: inherit;
}
.gd-profile-stage .gd-ask-submit {
  border: 0 !important;
  background: var(--gd-brand, var(--background-color, #2563eb)) !important;
  box-shadow: none !important;
}
.gd-profile-stage .gd-ask-submit:hover:not(:disabled) {
  background: var(--gd-brand-dark, color-mix(in srgb, var(--gd-brand, var(--background-color, #2563eb)) 78%, black)) !important;
  box-shadow: none !important;
  transform: none !important;
}
.gd-report-page {
  display: flex;
  flex-direction: column;
  flex: 1 1 auto;
  min-height: 0;
  height: 100%;
  width: 100%;
  overflow: hidden;
  background: #f9fafb;
  text-align: left;
}
.gd-report-shell {
  display: flex;
  flex-direction: column;
  flex: 1 1 auto;
  min-height: 0;
  width: 100%;
  padding: 0.75rem 1rem 1rem;
  gap: 0.65rem;
}
.gd-report-back {
  align-self: flex-start;
  flex-shrink: 0;
  height: 2rem;
  padding: 0 0.85rem;
  font-size: 0.8125rem;
  text-decoration: none;
}
.gd-report-grid {
  display: grid;
  grid-template-columns: minmax(0, 65fr) minmax(280px, 35fr);
  gap: 0.75rem;
  flex: 1 1 auto;
  min-height: 0;
  height: 100%;
  align-items: stretch;
}
.gd-report-panel,
.gd-report-homework {
  display: flex;
  flex-direction: column;
  min-height: 0;
  height: 100%;
  max-height: 100%;
  overflow: hidden;
  background: #fff;
  border: 1px solid #e5e7eb;
  border-radius: 0.5rem;
  box-shadow: 0 1px 2px rgba(15, 23, 42, 0.04);
}
.gd-report-sticky-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  flex-shrink: 0;
  padding: 0.85rem 1rem;
  border-bottom: 1px solid #e5e7eb;
  background: #fff;
  z-index: 2;
}
.gd-report-student-name {
  margin: 0;
  font-size: 1.125rem;
  font-weight: 700;
  line-height: 1.25;
  color: #111827;
}
.gd-report-download {
  height: 2rem;
  padding: 0 0.9rem;
  font-size: 0.8125rem;
  font-weight: 600;
  flex-shrink: 0;
}
.gd-report-scroll {
  flex: 1 1 auto;
  min-height: 0;
  overflow-x: hidden;
  overflow-y: auto;
  overscroll-behavior: contain;
}
.gd-report-stats {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  border-bottom: 1px solid #e5e7eb;
}
.gd-report-stat {
  padding: 0.85rem 1rem;
  border-right: 1px solid #e5e7eb;
}
.gd-report-stat-last { border-right: 0; }
.gd-report-stat-label {
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: #6b7280;
}
.gd-report-stat-value {
  margin-top: 0.15rem;
  font-size: 1.35rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.15;
  color: #111827;
}
.gd-report-stat-value.is-strong {
  color: #059669;
}
.gd-report-stat-value.is-assigned {
  color: #059669;
}
.gd-report-stat-hw {
  font-size: 1.05rem;
  padding-top: 0.2rem;
}
.gd-report-stat-hint {
  margin-top: 0.15rem;
  font-size: 0.75rem;
  color: #6b7280;
}
.gd-report-section {
  padding: 1.15rem 1.15rem 1.25rem;
  border-bottom: 1px solid #e5e7eb;
}
.gd-report-h2 {
  margin: 0 0 0.25rem;
  font-size: 0.95rem;
  font-weight: 600;
  color: #111827;
}
.gd-report-sub {
  margin: 0 0 1rem;
  font-size: 0.8125rem;
  color: #6b7280;
  line-height: 1.4;
}
.gd-report-cefr-bars {
  display: flex;
  gap: 0.375rem;
  margin-bottom: 0.65rem;
}
.gd-report-cefr-bar-wrap {
  flex: 1 1 0;
  min-width: 0;
}
.gd-report-cefr-bar {
  height: 0.625rem;
  border-radius: 999px;
  background: #e5e7eb;
}
.gd-report-cefr-labels {
  display: flex;
  gap: 0.375rem;
}
.gd-report-cefr-label {
  flex: 1 1 0;
  min-width: 0;
  text-align: center;
}
.gd-report-cefr-pill {
  display: inline-block;
  padding: 0.2rem 0.65rem;
  border-radius: 999px;
  background: var(--gd-brand, #2563eb);
  border: 1.5px solid #0c1222;
  box-shadow: 2px 2px 0 #0c1222;
  color: #fff;
  font-size: 0.8rem;
  font-weight: 800;
}
.gd-report-cefr-achieved {
  display: block;
  margin-top: 0.15rem;
  font-size: 0.68rem;
  font-weight: 500;
  color: #6b7280;
}
.gd-report-cefr-done {
  font-size: 0.8rem;
  font-weight: 600;
  color: #374151;
}
.gd-report-cefr-todo {
  font-size: 0.8rem;
  font-weight: 600;
  color: #9ca3af;
}
.gd-report-focus-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  padding: 0.85rem 1.1rem;
  border-bottom: 1px solid #e5e7eb;
  background: #f9fafb;
}
.gd-report-focus-from {
  margin-left: 0.25rem;
  font-size: 0.775rem;
  font-weight: 400;
  color: #6b7280;
}
.gd-report-focus-count {
  font-size: 0.775rem;
  color: #6b7280;
  white-space: nowrap;
}
.gd-report-gap-row {
  display: grid;
  grid-template-columns: 4px minmax(0, 1fr) auto;
  column-gap: 0.875rem;
  align-items: start;
  min-height: 4.5rem;
  padding: 0.85rem 1.1rem 0.85rem 0;
  border-bottom: 1px solid #f3f4f6;
}
.gd-report-gap-row:hover { background: #f9fafb; }
.gd-report-gap-accent {
  align-self: stretch;
  width: 4px;
  border-radius: 0 2px 2px 0;
  background: #f59e0b;
}
.gd-report-gap-accent.is-high { background: #ef4444; }
.gd-report-gap-accent.is-medium { background: #f59e0b; }
.gd-report-gap-accent.is-low { background: #9ca3af; }
.gd-report-gap-body {
  min-width: 0;
  padding-left: 0.15rem;
}
.gd-report-gap-title {
  margin: 0 0 0.15rem;
  font-size: 0.9rem;
  font-weight: 600;
  color: #111827;
}
.gd-report-gap-blurb {
  margin: 0;
  font-size: 0.8rem;
  line-height: 1.35;
  color: #6b7280;
}
.gd-report-gap-example {
  margin-top: 0.4rem;
  padding: 0.4rem 0.65rem;
  background: #f9fafb;
  border-left: 3px solid #e5e7eb;
  border-radius: 0.25rem;
  font-size: 0.775rem;
  line-height: 1.4;
  color: #374151;
}
.gd-report-ex-wrong {
  color: #b91c1c;
  font-weight: 500;
}
.gd-report-ex-right {
  color: #15803d;
  font-weight: 500;
}
.gd-report-gap-meta {
  text-align: right;
  flex-shrink: 0;
  padding-top: 0.1rem;
}
.gd-report-priority {
  display: inline-flex;
  padding: 0.1rem 0.4rem;
  border-radius: 0.25rem;
  border: 1px solid;
  font-size: 0.68rem;
  font-weight: 500;
}
.gd-report-priority.is-high {
  background: #fef2f2;
  color: #b91c1c;
  border-color: #fecaca;
}
.gd-report-priority.is-medium {
  background: #fffbeb;
  color: #b45309;
  border-color: #fde68a;
}
.gd-report-priority.is-low {
  background: #f9fafb;
  color: #4b5563;
  border-color: #e5e7eb;
}
.gd-report-gap-score {
  display: block;
  margin-top: 0.4rem;
  font-size: 0.8rem;
  font-weight: 600;
  color: #6b7280;
  font-variant-numeric: tabular-nums;
}
.gd-report-strength-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 0.375rem;
}
.gd-report-chip {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.35rem 0.65rem;
  border-radius: 999px;
  border: 1px solid #e5e7eb;
  background: #f9fafb;
  font-size: 0.775rem;
  font-weight: 500;
  color: #4b5563;
}
.gd-report-chip strong {
  font-weight: 700;
  color: #374151;
}
.gd-report-chip.is-strong {
  background: #f0fdf4;
  border-color: #bbf7d0;
  color: #166534;
}
.gd-report-chip.is-strong strong { color: #15803d; }
.gd-report-skills {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}
.gd-report-skill-row {
  display: grid;
  grid-template-columns: 10rem minmax(0, 1fr) auto;
  column-gap: 0.65rem;
  align-items: center;
  font-size: 0.8rem;
}
.gd-report-skill-name {
  font-weight: 500;
  color: #1f2937;
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
}
.gd-report-skill-bar {
  height: 0.375rem;
  background: #f3f4f6;
  border-radius: 999px;
  overflow: hidden;
}
.gd-report-skill-fill {
  height: 100%;
  border-radius: 999px;
  background: #ef4444;
}
.gd-report-skill-fill.is-weak { background: #ef4444; }
.gd-report-skill-fill.is-medium { background: #f59e0b; }
.gd-report-skill-fill.is-strong { background: #22c55e; }
.gd-report-skill-score {
  min-width: 5rem;
  text-align: right;
  white-space: nowrap;
  color: #6b7280;
  font-variant-numeric: tabular-nums;
}
.gd-report-l2 {
  margin: 0.15rem 0 0.5rem 10rem;
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
}
.gd-report-l2-row {
  display: flex;
  align-items: baseline;
  gap: 0.5rem;
  font-size: 0.75rem;
  color: #6b7280;
}
.gd-report-l2-pct {
  font-weight: 700;
  min-width: 2.25rem;
}
.gd-report-l2-pct.is-strong { color: #15803d; }
.gd-report-l2-pct.is-medium { color: #d97706; }
.gd-report-l2-pct.is-weak { color: #dc2626; }
.gd-report-l2-pct.is-none { color: #9ca3af; }
.gd-report-l2-name { min-width: 0; }
.gd-report-samples-toggle {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  width: 100%;
  margin-top: 0.9rem;
  padding: 0.6rem 0.85rem;
  border: 1px solid #e5e7eb;
  border-radius: 0.5rem;
  background: #fff;
  font-size: 0.8125rem;
  font-weight: 600;
  color: #111827;
  cursor: pointer;
}
.gd-report-samples-toggle:hover {
  background: #f9fafb;
  border-color: #d1d5db;
}
.gd-report-samples-action {
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--gd-brand, #2563eb);
}
.gd-report-samples-panel { padding-top: 0.75rem; }
.gd-report-samples-panel.hidden { display: none; }
.gd-report-sample-group h3 {
  margin: 0.5rem 0 0.35rem;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: #6b7280;
}
.gd-report-sample-card {
  margin-bottom: 0.5rem;
  padding: 0.6rem 0.65rem;
  border-radius: 0.375rem;
  background: #fffbeb;
  border: 1px solid #fde68a;
  font-size: 0.775rem;
  line-height: 1.4;
  color: #374151;
}
.gd-report-sample-stem { margin-bottom: 0.35rem; }
.gd-report-sample-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem;
}
.gd-report-sample-chips .is-wrong,
.gd-report-sample-chips .is-right {
  display: inline-flex;
  padding: 0.1rem 0.4rem;
  border-radius: 0.25rem;
  font-size: 0.68rem;
  font-weight: 600;
}
.gd-report-sample-chips .is-wrong {
  background: #fee2e2;
  color: #b91c1c;
}
.gd-report-sample-chips .is-right {
  background: #dcfce7;
  color: #15803d;
}
.gd-report-sample-desc {
  margin-top: 0.35rem;
  color: #6b7280;
}
.gd-report-hw-head {
  flex-shrink: 0;
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
  padding: 0.85rem 1rem;
  border-bottom: 1px solid #e5e7eb;
}
.gd-report-hw-kicker {
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--gd-brand, #2563eb);
}
.gd-report-hw-head h2 {
  margin: 0;
  font-size: 0.95rem;
  font-weight: 600;
  color: #111827;
}
.gd-report-hw-head p {
  margin: 0.1rem 0 0;
  font-size: 0.775rem;
  line-height: 1.35;
  color: #6b7280;
}
.gd-report-hw-list {
  flex: 1 1 auto;
  min-height: 0;
  overflow-x: hidden;
  overflow-y: auto;
  padding: 0.5rem 0;
}
.gd-report-hw-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  padding: 0.75rem 1rem;
  border-bottom: 1px solid #f3f4f6;
}
.gd-report-hw-item h3 {
  margin: 0 0 0.15rem;
  font-size: 0.875rem;
  font-weight: 600;
  color: #111827;
  line-height: 1.3;
}
.gd-report-hw-item .profile-preview-exercise {
  flex: 1;
  min-width: 0;
  margin: 0;
  padding: 0;
  border: 0;
  background: transparent;
  text-align: left;
  cursor: pointer;
}
.gd-report-hw-item .profile-preview-exercise:hover h3 {
  color: var(--gd-brand, #2563eb);
}
.gd-report-hw-item .profile-preview-exercise > div {
  font-size: 0.75rem;
  color: #6b7280;
}
.gd-report-hw-item .lp-assign-btn.btn-brand {
  display: inline-flex;
  flex-shrink: 0;
  align-items: center;
  gap: 0.25rem;
  background-color: var(--brand-primary, var(--gd-brand)) !important;
  border: 1.5px solid #0c1222 !important;
  color: #fff !important;
  border-radius: 999px !important;
  font-weight: 700;
  font-size: 13px !important;
  padding: 0 0.65rem !important;
  min-height: 32px;
  box-shadow: 2px 2px 0 #0c1222 !important;
  transform: translate(0, 0) !important;
  transition: background 0.15s, box-shadow 0.15s, transform 0.15s !important;
}
.gd-report-hw-item .lp-assign-btn.btn-brand:hover:not(:disabled) {
  background-color: var(--brand-primary-dark, var(--gd-brand-dark)) !important;
  border-color: #0c1222 !important;
  box-shadow: 3px 3px 0 #0c1222 !important;
  transform: translate(-1px, -1px) !important;
}
.gd-report-hw-item .lp-assign-btn.btn-brand:active:not(:disabled) {
  box-shadow: 1px 1px 0 #0c1222 !important;
  transform: translate(1px, 1px) !important;
}
.gd-report-hw-item .lp-assign-btn.btn-brand:disabled {
  opacity: 0.45;
  cursor: not-allowed;
}
.gd-report-gen-btn {
  display: block;
  width: calc(100% - 2rem);
  margin: 0.75rem 1rem 0.35rem;
  height: 2.25rem;
  border-radius: 999px;
  font-size: 0.875rem;
  font-weight: 600;
}
.gd-report-gen-hint {
  margin: 0 1rem 0.75rem;
  font-size: 0.75rem;
  color: #6b7280;
  line-height: 1.35;
}
.gd-report-gen-hint-blocked {
  color: #dc2626;
}
.gd-ask-dock.is-disabled {
  opacity: 0.72;
  pointer-events: none;
}
.gd-report-homework .gd-ask-dock {
  flex-shrink: 0;
  margin-top: auto;
}
@media (max-width: 1024px) {
  .gd-report-page,
  .gd-report-shell,
  .gd-report-grid {
    height: auto;
    min-height: 0;
    overflow: visible;
  }
  .gd-report-grid { grid-template-columns: 1fr; }
  .gd-report-panel {
    height: auto;
    max-height: none;
  }
  .gd-report-scroll { overflow: visible; }
  .gd-report-homework {
    min-height: 22rem;
    height: min(70vh, 36rem);
    max-height: min(70vh, 36rem);
  }
  .gd-report-hw-list { overflow-y: auto; }
  .gd-report-stats { grid-template-columns: 1fr 1fr; }
  .gd-report-stat:nth-child(2) { border-right: 0; }
  .gd-report-stat:nth-child(1),
  .gd-report-stat:nth-child(2) { border-bottom: 1px solid #e5e7eb; }
  .gd-report-skill-row {
    grid-template-columns: 1fr;
    gap: 0.25rem;
  }
  .gd-report-skill-score { text-align: left; }
  .gd-report-l2 { margin-left: 0; }
}

.gd-bank-page {
  display: flex;
  flex-direction: column;
  flex: 1 1 auto;
  min-height: 0;
  height: 100%;
  width: 100%;
  overflow: hidden;
  background: #f9fafb;
  text-align: left;
}
.gd-bank-shell {
  display: flex;
  flex-direction: column;
  flex: 1 1 auto;
  min-height: 0;
  width: 100%;
  padding: 1rem 1.25rem 1.25rem;
}
.gd-bank-card {
  display: flex;
  flex-direction: column;
  flex: 1 1 auto;
  min-height: 0;
  width: 100%;
  background: #fff;
  border: 1px solid #e5e7eb;
  border-radius: 0.5rem;
  overflow: hidden;
  box-shadow: 0 1px 2px rgba(15, 23, 42, 0.04);
}
.gd-bank-header {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  width: 100%;
  padding: 0.85rem 1rem;
  border-bottom: 1px solid #e5e7eb;
  text-align: left;
  flex-shrink: 0;
}
.gd-bank-title-main {
  margin: 0;
  font-size: 0.9375rem;
  font-weight: 600;
  line-height: 1.3;
  color: #111827;
  text-align: left;
}
.gd-bank-count {
  margin-left: 0.35rem;
  font-size: 0.8125rem;
  font-weight: 400;
  color: #6b7280;
}
.gd-bank-filters {
  display: grid;
  grid-template-columns: minmax(14rem, 2fr) repeat(5, minmax(7rem, 1fr));
  gap: 0.65rem;
  width: 100%;
  padding: 0.7rem 1rem;
  border-bottom: 1px solid #e5e7eb;
  background: rgba(249, 250, 251, 0.85);
  flex-shrink: 0;
}
.gd-bank-filter label {
  display: block;
  margin-bottom: 0.25rem;
  font-size: 0.6875rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: #6b7280;
}
.gd-bank-filter input,
.gd-bank-filter select {
  display: block;
  width: 100%;
  height: 2rem;
  padding: 0 0.625rem;
  border: 1px solid #e5e7eb;
  border-radius: 0.375rem;
  background: #fff;
  font-size: 0.8125rem;
  color: #111827;
}
.gd-bank-table-wrap {
  flex: 1 1 auto;
  min-height: 0;
  width: 100%;
  overflow-x: hidden;
  overflow-y: auto;
}
.gd-bank-table {
  table-layout: fixed;
  width: 100%;
  max-width: 100%;
  border-collapse: collapse;
}
.gd-bank-col-exercise { width: 26%; }
.gd-bank-col-origin { width: 22%; }
.gd-bank-col-duration { width: 9%; }
.gd-bank-col-assigned { width: 14%; }
.gd-bank-col-action { width: 17%; }
.gd-bank-table thead th {
  position: sticky;
  top: 0;
  z-index: 1;
  padding: 0.65rem 1rem;
  background: #f3f4f6;
  border-bottom: 1px solid #e5e7eb;
  font-size: 0.6875rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  text-align: left;
  color: #4b5563;
  white-space: nowrap;
}
.gd-bank-table tbody td {
  padding: 0.75rem 1rem;
  border-bottom: 1px solid #f3f4f6;
  vertical-align: top;
  text-align: left;
  overflow-wrap: anywhere;
  word-break: break-word;
}
.gd-bank-table tbody tr:hover {
  background: rgba(249, 250, 251, 0.8);
}
.gd-bank-cell {
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
  min-width: 0;
  max-width: 100%;
}
.gd-bank-tip {
  display: block;
  max-width: 100%;
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
  cursor: default;
}
.gd-bank-ex-title {
  font-size: 0.875rem;
  font-weight: 600;
  line-height: 1.35;
  color: #111827;
}
a.gd-bank-preview-link {
  color: #111827;
  text-decoration: none;
  cursor: pointer;
}
a.gd-bank-preview-link:hover {
  color: var(--gd-brand, #2563eb);
  text-decoration: underline;
}
.gd-bank-ex-meta {
  font-size: 0.75rem;
  line-height: 1.35;
  color: #6b7280;
}
.gd-bank-origin-link {
  font-size: 0.8125rem;
  font-weight: 500;
  line-height: 1.35;
  color: var(--gd-brand);
  text-decoration: none;
}
.gd-bank-origin-link:hover {
  text-decoration: underline;
  color: var(--gd-brand-dark, var(--gd-brand));
}
.gd-bank-duration {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  font-size: 0.8125rem;
  color: #6b7280;
  white-space: normal;
}
.gd-bank-assigned {
  display: block;
  font-size: 0.8125rem;
  color: #4b5563;
  white-space: normal;
  overflow-wrap: anywhere;
  word-break: break-word;
}
.gd-bank-assigned strong {
  font-weight: 600;
  color: #111827;
}
.gd-bank-unused {
  font-size: 0.8125rem;
  font-weight: 500;
  color: #b45309;
  white-space: nowrap;
}
.gd-bank-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.5rem;
}
.gd-bank-assign,
.gd-bank-source {
  white-space: nowrap;
}
.gd-bank-empty {
  padding: 3rem 1rem;
  text-align: center;
  font-size: 0.875rem;
  color: #6b7280;
}
.gd-bank-tooltip {
  position: fixed;
  z-index: 9999;
  max-width: min(28rem, calc(100vw - 1.5rem));
  padding: 0.5rem 0.7rem;
  background: #fff;
  border: 1px solid #e5e7eb;
  border-radius: 0.4rem;
  box-shadow: 0 8px 24px rgba(15, 23, 42, 0.12);
  color: #111827;
  font-size: 0.75rem;
  line-height: 1.4;
  white-space: normal;
  word-break: break-word;
  pointer-events: none;
}
@media (max-width: 1100px) {
  .gd-bank-filters {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
  .gd-bank-filter-search {
    grid-column: 1 / -1;
  }
  .gd-bank-col-exercise { width: 24%; }
  .gd-bank-col-origin { width: 22%; }
  .gd-bank-col-duration { width: 10%; }
  .gd-bank-col-assigned { width: 16%; }
  .gd-bank-col-action { width: 16%; }
}
@media (max-width: 700px) {
  .gd-bank-filters {
    grid-template-columns: 1fr 1fr;
  }
}

.gd-profile-tab {
  position: relative;
  display: flex;
  align-items: center;
  background: transparent;
  border: 0;
  border-radius: 0;
  cursor: pointer;
  font-family: inherit;
  box-shadow: none;
  padding: 1rem 1.25rem !important;
  font-size: 0.875rem !important;
  font-weight: 600;
  line-height: 1.25;
}
.gd-profile-tab.is-active {
  color: #111827;
}
.gd-profile-tab.is-active::after {
  content: "";
  position: absolute;
  left: 8px;
  right: 8px;
  bottom: 0;
  height: 6px;
  background: var(--gd-brand, var(--background-color, #2563eb));
  border-radius: 2px;
  pointer-events: none;
}
.gd-profile-report .avoid-page-break {
  page-break-inside: avoid;
  break-inside: avoid;
}
.gd-profile-report.pdf-export {
  overflow: visible !important;
}
.gd-profile-report.pdf-export .no-download {
  display: none !important;
}

.gd-settings-lead {
  margin: 0.25rem 0 0;
  font-size: 13px;
  color: #6b7280;
}
.gd-settings-page {
  padding: 0 1.5rem 1.5rem;
}
.gd-settings-page .breadcrumb,
.gd-settings-page nav[aria-label="breadcrumb"] {
  display: none !important;
}
.gd-settings-stack {
  margin-top: 1rem;
}
.gd-settings-stack > [class*="col-"] {
  margin-bottom: 1rem;
}
.gd-settings-card,
.gd-teachers-card {
  overflow: hidden;
  background: #fff !important;
  border: 1px solid #e5e7eb !important;
  border-radius: 8px !important;
  box-shadow: none;
}
.gd-settings-card-head {
  padding: 0.875rem 1.25rem;
  border-bottom: 1px solid #e5e7eb;
}
.gd-settings-card-title {
  margin: 0;
  font-size: 0.95rem;
  font-weight: 600;
  color: #111827;
}
.gd-settings-card-body {
  padding: 0.75rem 1.25rem 1.25rem;
}
.gd-settings-card-body--split {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
}
.gd-settings-card-body .my-3 {
  margin-top: 0.25rem !important;
  margin-bottom: 0 !important;
}
.gd-teachers-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  padding: 0.875rem 1.25rem;
  border-bottom: 1px solid #e5e7eb;
}
.gd-teachers-title {
  margin: 0;
  font-size: 0.95rem;
  font-weight: 600;
  color: #111827;
}
.gd-teachers-sub {
  margin: 0.125rem 0 0;
  font-size: 0.775rem;
  color: #6b7280;
}
.gd-teachers-head .gd-btn-primary {
  height: 32px;
  gap: 0.375rem;
  font-size: 12px;
}
.gd-teachers-form-wrap {
  border-bottom: 1px solid #e5e7eb;
}
.gd-teachers-form {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  padding: 1rem 1.25rem;
}
.gd-teachers-fields {
  display: grid;
  gap: 1rem;
}
@media (min-width: 576px) {
  .gd-teachers-fields {
    grid-template-columns: 1fr 1fr;
  }
}
.gd-teachers-label {
  display: block;
  margin-bottom: 0.375rem;
  font-size: 12px;
  font-weight: 600;
  color: #4b5563;
}
.gd-teachers-input {
  display: block;
  width: 100%;
  height: 36px;
  padding: 0 0.75rem;
  border: 1px solid #d1d5db;
  border-radius: 8px;
  background: #fff;
  font-size: 14px;
  color: #111827;
  box-shadow: none;
}
.gd-teachers-input:focus {
  outline: none;
  border-color: #2563eb;
  box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.15);
}
.gd-teachers-class-grid {
  display: grid;
  gap: 0.5rem;
  max-height: 220px;
  overflow-y: auto;
  padding-right: 0.25rem;
}
@media (min-width: 576px) {
  .gd-teachers-class-grid {
    grid-template-columns: 1fr 1fr;
  }
}
.gd-teachers-class,
.gd-teachers-role,
.gd-teachers-invite-toggle {
  appearance: none;
  font-family: inherit;
  color: inherit;
}
.gd-teachers-role-grid {
  display: grid;
  gap: 0.5rem;
}
@media (min-width: 576px) {
  .gd-teachers-role-grid {
    grid-template-columns: 1fr 1fr;
  }
}
.gd-teachers-role {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  width: 100%;
  padding: 0.625rem 0.75rem;
  border: 1px solid #e5e7eb;
  border-radius: 8px;
  background: #fff;
  text-align: left;
  cursor: pointer;
}
.gd-teachers-role:hover {
  border-color: #d1d5db;
}
.gd-teachers-role.is-selected {
  border-color: #2563eb;
  background: #eff6ff;
}
.gd-teachers-class {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  width: 100%;
  padding: 0.625rem 0.75rem;
  border: 1px solid #e5e7eb;
  border-radius: 8px;
  background: #fff;
  text-align: left;
  cursor: pointer;
}
.gd-teachers-class:hover {
  border-color: #d1d5db;
}
.gd-teachers-class.is-selected {
  border-color: #2563eb;
  background: #eff6ff;
}
.gd-teachers-check {
  display: flex;
  flex-shrink: 0;
  align-items: center;
  justify-content: center;
  width: 20px;
  height: 20px;
  border: 1px solid #d1d5db;
  border-radius: 999px;
  background: #fff;
  color: #fff;
}
.gd-teachers-check svg {
  display: none;
}
.gd-teachers-class.is-selected .gd-teachers-check {
  border-color: #2563eb;
  background: #2563eb;
}
.gd-teachers-class.is-selected .gd-teachers-check svg {
  display: block;
}
.gd-teachers-class-copy {
  min-width: 0;
}
.gd-teachers-class-name {
  display: block;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  font-size: 14px;
  font-weight: 600;
  color: #111827;
}
.gd-teachers-class-meta {
  display: block;
  margin-top: 0.125rem;
  font-size: 11px;
  color: #6b7280;
}
.gd-teachers-empty-classes {
  margin: 0;
  font-size: 13px;
  color: #6b7280;
}
.gd-teachers-invite-toggle {
  display: flex;
  width: 100%;
  align-items: flex-start;
  gap: 0.5rem;
  padding: 0.625rem 0.75rem;
  border: 1px solid #e5e7eb;
  border-radius: 8px;
  background: #fff;
  text-align: left;
  cursor: pointer;
}
.gd-teachers-invite-toggle:hover {
  background: #f9fafb;
}
.gd-teachers-box-check {
  display: flex;
  flex-shrink: 0;
  align-items: center;
  justify-content: center;
  width: 16px;
  height: 16px;
  margin-top: 0.125rem;
  border: 1px solid #d1d5db;
  border-radius: 4px;
  background: #fff;
  color: #fff;
}
.gd-teachers-box-check svg {
  display: none;
}
.gd-teachers-invite-toggle.is-on .gd-teachers-box-check {
  border-color: #2563eb;
  background: #2563eb;
}
.gd-teachers-invite-toggle.is-on .gd-teachers-box-check svg {
  display: block;
}
.gd-teachers-invite-title {
  display: block;
  font-size: 14px;
  font-weight: 500;
  color: #111827;
}
.gd-teachers-invite-copy {
  display: block;
  margin-top: 0.125rem;
  font-size: 12px;
  color: #6b7280;
}
.gd-teachers-form-footer {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 0.5rem;
  padding: 0.75rem 1.25rem;
  border-top: 1px solid #e5e7eb;
  background: #f9fafb;
}
.gd-teachers-list {
  padding: 0.625rem;
}
.gd-teachers-empty {
  margin: 0;
  padding: 1.5rem 0.5rem;
  text-align: center;
  font-size: 13px;
  color: #6b7280;
}
.gd-teachers-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: start;
  gap: 0.625rem;
  margin-bottom: 0.375rem;
  padding: 0.625rem 0.75rem;
  border: 1px solid #e5e7eb;
  border-radius: 6px;
  background: #fff;
}
.gd-teachers-row:last-child {
  margin-bottom: 0;
}
.gd-teachers-row-copy {
  min-width: 0;
}
.gd-teachers-row-name {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.375rem;
  margin: 0 0 0.125rem;
  font-size: 0.825rem;
  font-weight: 600;
  line-height: 1.35;
  color: #111827;
}
.gd-teachers-badge {
  display: inline-flex;
  align-items: center;
  border: 1px solid #e5e7eb;
  border-radius: 999px;
  padding: 0.125rem 0.5rem;
  font-size: 11px;
  font-weight: 600;
  color: #4b5563;
  background: #f9fafb;
}
.gd-teachers-badge.is-active {
  border-color: #bbf7d0;
  background: #f0fdf4;
  color: #15803d;
}
.gd-teachers-row-meta {
  font-size: 0.72rem;
  line-height: 1.35;
  color: #6b7280;
}
.gd-teachers-row-actions {
  display: flex;
  flex-shrink: 0;
  align-items: center;
  gap: 0.375rem;
}
.gd-teachers-row-actions .gd-btn-outline {
  height: 28px;
  padding: 0 0.625rem !important;
  font-size: 0.72rem;
}
@media (max-width: 640px) {
  .gd-teachers-row {
    grid-template-columns: 1fr;
  }
  .gd-teachers-row-actions {
    justify-content: flex-end;
  }
}

.gd-place-empty {
  width: 100%;
  margin: 0;
  padding: 2.25rem 2rem 2rem;
  background: #fff;
  border: 1px solid #e5e7eb;
  border-radius: 12px;
  box-shadow: 0 1px 2px rgba(15, 23, 42, 0.04);
}
.gd-intake-picker + .gd-place-empty {
  margin-top: 1rem;
}
.gd-place-empty-inner {
  width: 100%;
  max-width: 750px;
  margin: 0 auto;
}
.gd-place-empty-kicker {
  margin: 0;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: #2563eb;
}
.gd-place-empty-title {
  margin: 0.55rem 0 0;
  font-size: 32px;
  font-weight: 800;
  letter-spacing: -0.03em;
  color: #0c1222;
  line-height: 1.15;
}
.gd-place-empty-lead {
  margin: 0.75rem 0 0;
  max-width: 60ch;
  font-size: 16px;
  line-height: 1.55;
  color: #4b5563;
}
.gd-place-empty-grid {
  margin-top: 1.75rem;
  display: grid;
  gap: 1rem;
}
@media (min-width: 720px) {
  .gd-place-empty-grid { grid-template-columns: 1fr 1fr; }
}
.gd-place-start-card {
  display: flex;
  flex-direction: column;
  min-height: 100%;
  border: 1px solid #e5ebf3;
  background: #f8fafc;
  border-radius: 14px;
  padding: 1.4rem 1.45rem 1.45rem;
}
.gd-place-start-card.is-disabled {
  opacity: 0.55;
  pointer-events: none;
}
.gd-place-start-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 999px;
  background: #dbeafe;
  color: var(--gd-brand, var(--background-color, #2563eb));
  font-size: 16px;
}
.gd-place-start-title {
  margin: 0.95rem 0 0;
  font-size: 18px;
  font-weight: 700;
  color: #0c1222;
}
.gd-place-start-body {
  margin: 0.45rem 0 1.25rem;
  flex: 1;
  font-size: 15px;
  line-height: 1.5;
  color: #6b7280;
}
.gd-place-start-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.55rem;
}
.gd-place-start-actions .gd-intake-action-btn:disabled {
  opacity: 0.45;
  cursor: not-allowed;
  pointer-events: none;
  box-shadow: 2px 2px 0 #0c1222;
  transform: none;
}
.gd-place-empty-foot {
  margin: 1.25rem 0 0;
  font-size: 14px;
  color: #9ca3af;
}

html.gd-place-onboard-open,
html.gd-place-onboard-open body {
  overflow: hidden;
}
.gd-place-onboard {
  position: fixed;
  inset: 0;
  z-index: 4000;
  display: flex;
  flex-direction: column;
  align-items: center;
  overflow-x: hidden;
  overflow-y: auto;
  padding: 1.5rem 1rem;
  overscroll-behavior: contain;
  -webkit-overflow-scrolling: touch;
}
.gd-place-onboard[hidden] { display: none !important; }
.gd-place-onboard-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(15, 23, 42, 0.45);
  backdrop-filter: blur(4px);
}
.gd-place-onboard-dialog {
  position: relative;
  width: min(840px, calc(100vw - 2rem));
  height: 750px;
  flex-shrink: 0;
  margin-block: auto;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  background: #fff;
  border-radius: 28px;
  box-shadow: 0 24px 80px rgba(15, 23, 42, 0.22);
}
.gd-place-onboard-preview-wrap {
  flex: 1 1 auto;
  min-height: 0;
  background: color-mix(in srgb, var(--gd-brand) 16%, white);
  padding: 1.25rem;
}
.gd-place-onboard-preview {
  height: 100%;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 8px 28px var(--gd-brand-shadow, rgba(37, 99, 235, 0.14));
}
.gd-place-onboard-preview-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  flex-shrink: 0;
  background: var(--gd-brand);
  padding: 0.85rem 1.25rem;
  color: #fff;
}
.gd-place-onboard-preview-bar-left {
  display: flex;
  align-items: center;
  gap: 0.55rem;
}
.gd-place-onboard-preview-label {
  font-size: 15px;
  font-weight: 700;
}
.gd-place-onboard-step-pill {
  border-radius: 999px;
  background: rgba(255,255,255,0.22);
  padding: 0.15rem 0.55rem;
  font-size: 12px;
  font-weight: 600;
}
.gd-place-onboard-intake-name {
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  font-size: 13px;
  font-weight: 500;
  color: rgba(255,255,255,0.88);
}
.gd-place-onboard-preview-body {
  flex: 1 1 auto;
  min-height: 0;
  overflow-x: hidden;
  overflow-y: auto;
  background: #fff;
  -webkit-overflow-scrolling: touch;
}
.gd-place-onboard-pane { min-height: 100%; }
.gd-place-onboard-pane[hidden] { display: none !important; }
.gd-place-preview-pad {
  box-sizing: border-box;
  min-height: 100%;
  display: flex;
  flex-direction: column;
  padding: 1.35rem 1.5rem 1.25rem;
}
.gd-place-onboard-copy {
  flex-shrink: 0;
  padding: 1.85rem 2.35rem 2rem;
}
.gd-place-onboard-title {
  margin: 0;
  max-width: 28ch;
  font-size: 34px;
  font-weight: 800;
  letter-spacing: -0.035em;
  line-height: 1.12;
  color: #0c1222;
}
.gd-place-onboard-body {
  margin: 0.7rem 0 0;
  max-width: 50ch;
  font-size: 17px;
  line-height: 1.55;
  color: #6b7280;
}
.gd-place-onboard-nav {
  margin-top: 1.75rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
}
.gd-place-onboard-dots {
  display: flex;
  align-items: center;
  gap: 0.6rem;
}
.gd-place-onboard-dot {
  width: 8px;
  height: 8px;
  padding: 0;
  border: 0;
  border-radius: 999px;
  background: #d9e1ec;
  cursor: pointer;
}
.gd-place-onboard-dot.is-active {
  width: 24px;
  background: var(--gd-brand);
}
.gd-place-onboard-frac {
  font-size: 12px;
  font-weight: 600;
  color: #94a3b8;
  font-variant-numeric: tabular-nums;
}
.gd-place-onboard-actions {
  display: flex;
  align-items: center;
  gap: 0.35rem;
}
.gd-place-onboard-text-btn {
  height: 44px;
  border: 0;
  border-radius: 999px;
  padding: 0 1rem;
  background: transparent;
  font-size: 15px;
  font-weight: 600;
  color: #5a6b82;
}
.gd-place-onboard-text-btn:hover { background: #f3f6fb; }
.gd-place-onboard-primary {
  height: 44px;
  border: 0;
  border-radius: 999px;
  padding: 0 1.45rem;
  background: var(--gd-brand);
  font-size: 15px;
  font-weight: 700;
  color: #fff;
}
.gd-place-onboard-primary:hover { background: var(--gd-brand-dark); }

.gd-place-results-preview {
  box-sizing: border-box;
  display: flex;
  flex-direction: column;
  background: #fff;
}
.gd-place-results-letterhead {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  border-bottom: 1px solid #f3f4f6;
  padding: 0.75rem 1.25rem;
}
.gd-place-results-logo {
  height: 24px;
  width: auto;
  max-width: 10rem;
  object-fit: contain;
}
.gd-place-results-letterhead-label {
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #9ca3af;
}
.gd-place-results-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1rem;
  padding: 1rem 1.25rem 0;
}
.gd-place-results-head-copy { min-width: 0; }
.gd-place-results-complete {
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
  margin-bottom: 0.4rem;
  border-radius: 999px;
  background: #ecfdf5;
  padding: 0.15rem 0.5rem;
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #15803d;
}
.gd-place-results-name {
  font-size: 18px;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: #111827;
}
.gd-place-results-id {
  margin-left: 0.35rem;
  font-weight: 400;
  color: #9ca3af;
}
.gd-place-results-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.35rem 0.9rem;
  margin-top: 0.4rem;
  font-size: 12px;
  color: #6b7280;
}
.gd-place-results-meta span {
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
}
.gd-place-results-meta svg { color: #9ca3af; }
.gd-place-results-cefr-badge {
  display: flex;
  flex-direction: column;
  align-items: center;
  flex-shrink: 0;
}
.gd-place-results-badge {
  width: 56px;
  height: 56px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  background: var(--gd-brand);
  color: #fff;
  font-size: 22px;
  font-weight: 800;
  font-variant-numeric: tabular-nums;
  line-height: 1;
}
.gd-place-results-cefr-badge span {
  margin-top: 0.25rem;
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #9ca3af;
}
.gd-place-results-section {
  min-width: 0;
  margin-top: 1rem;
  border-top: 1px solid #f3f4f6;
  padding: 1rem 1.25rem 1.15rem;
}
.gd-place-results-report-title { font-size: 16px; font-weight: 700; letter-spacing: -0.02em; color: #111827; }
.gd-place-results-report-sub {
  margin: 0.25rem 0 0;
  font-size: 13px;
  line-height: 1.5;
  color: #6b7280;
}
.gd-place-cefr { margin-top: 1rem; }
.gd-place-cefr-track { display: flex; align-items: center; gap: 0.4rem; }
.gd-place-cefr-bar { height: 10px; flex: 1; border-radius: 999px; background: #e5e7eb; }
.gd-place-cefr-bar.is-filled,
.gd-place-cefr-bar.is-current { background: var(--gd-brand); }
.gd-place-cefr-labels { display: flex; align-items: flex-start; gap: 0.4rem; margin-top: 0.5rem; }
.gd-place-cefr-col { flex: 1; min-width: 0; text-align: center; }
.gd-place-cefr-lbl { display: inline-block; font-size: 11px; font-weight: 600; color: #9ca3af; }
.gd-place-cefr-lbl.is-achieved { color: #6b7280; }
.gd-place-cefr-pill {
  display: inline-block;
  border-radius: 999px;
  background: var(--gd-brand);
  padding: 0.12rem 0.55rem;
  font-size: 11px;
  font-weight: 700;
  color: #fff;
}
.gd-place-cefr-caption {
  display: block;
  margin-top: 0.15rem;
  font-size: 10px;
  font-weight: 500;
  color: #6b7280;
}
.gd-place-results-desc {
  margin-top: 1rem;
  background: #f9fafb;
  border-radius: 12px;
  border: 1px solid #e5e7eb;
  padding: 1rem;
}
.gd-place-results-desc-row { display: flex; align-items: center; gap: 0.5rem; margin-bottom: 0.4rem; }
.gd-place-results-level-chip {
  display: inline-flex;
  height: 24px;
  align-items: center;
  border-radius: 6px;
  background: var(--gd-brand);
  padding: 0 0.4rem;
  font-size: 12px;
  font-weight: 700;
  color: #fff;
}
.gd-place-results-level-name { font-size: 13px; font-weight: 600; color: #111827; }
.gd-place-results-desc-kicker {
  margin: 0;
  font-size: 12px;
  font-weight: 500;
  color: #111827;
}
.gd-place-results-desc p { margin: 0.4rem 0 0; font-size: 13px; line-height: 1.55; color: #4b5563; }
.gd-place-results-fineprint {
  margin: 0.65rem 0 0;
  font-size: 11px;
  line-height: 1.4;
  color: #9ca3af;
}

.gd-place-students-tabs {
  display: flex;
  width: 100%;
  margin-bottom: 0.85rem;
  overflow: hidden;
  border: 1px solid #e5e7eb;
  border-radius: 10px;
  background: #fff;
}
.gd-place-students-tab {
  display: inline-flex;
  flex: 1;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  min-width: 0;
  padding: 0.65rem 0.75rem;
  border: 0;
  border-right: 1px solid #e5e7eb;
  box-shadow: inset 0 -2px 0 transparent;
  font-size: 14px;
  font-weight: 600;
  color: #94a3b8;
}
.gd-place-students-tab:last-child { border-right: 0; }
.gd-place-students-tab.is-active {
  color: var(--gd-brand);
  box-shadow: inset 0 -3px 0 var(--gd-brand);
}
.gd-place-fake-head {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.65rem;
  margin-bottom: 0.45rem;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #94a3b8;
}
.gd-place-fake-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.55rem 0.65rem;
}
.gd-place-fake-field {
  display: flex;
  align-items: center;
  min-width: 0;
  height: 44px;
  border: 1px solid #e5e7eb;
  background: #fff;
  border-radius: 12px;
  padding: 0 0.9rem;
  font-size: 15px;
  font-weight: 500;
  color: #0c1222;
}
.gd-place-fake-field.is-muted {
  border-style: dashed;
  background: #fff;
  font-weight: 400;
  color: #94a3b8;
}
.gd-place-fake-add {
  margin-top: 0.8rem;
  font-size: 14px;
  font-weight: 600;
  color: var(--gd-brand);
}
.gd-place-csv-drop {
  margin-top: auto;
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  gap: 0.7rem 0.85rem;
  border: 2px dashed #d1d5db;
  border-radius: 12px;
  background: #fff;
  padding: 0.9rem 1rem;
}
.gd-place-csv-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  flex-shrink: 0;
  border-radius: 999px;
  background: var(--gd-brand-soft);
  color: var(--gd-brand);
}
.gd-place-csv-copy {
  display: flex;
  flex-direction: column;
  min-width: 0;
  flex: 1;
  gap: 0.1rem;
}
.gd-place-csv-copy strong { font-size: 14px; font-weight: 700; color: #0c1222; }
.gd-place-csv-copy span { font-size: 13px; line-height: 1.4; color: #6b7280; }
.gd-place-csv-file {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.55rem 0.75rem;
  width: 100%;
}
.gd-place-csv-chip {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  border: 1px solid #dbe3ee;
  border-radius: 999px;
  background: #fff;
  padding: 0.25rem 0.6rem;
  font-size: 11px;
  font-weight: 600;
  color: #0c1222;
}
.gd-place-csv-template {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  font-size: 12px;
  font-weight: 600;
  color: var(--gd-brand);
}
.gd-place-fake-label {
  margin-bottom: 0.35rem;
  font-size: 12px;
  font-weight: 600;
  color: #6b7280;
}
.gd-place-fake-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.65rem;
  margin-top: 0.75rem;
}
.gd-place-fake-checks { margin-top: 1.15rem; display: flex; flex-direction: column; gap: 0.75rem; font-size: 15px; font-weight: 500; color: #0c1222; }
.gd-place-check {
  display: inline-flex;
  width: 20px;
  height: 20px;
  align-items: center;
  justify-content: center;
  margin-right: 0.5rem;
  border-radius: 5px;
  background: var(--gd-brand);
  color: #fff;
  font-size: 12px;
  font-weight: 700;
}
.gd-place-mode-cards {
  margin-top: auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.85rem;
  padding-top: 1.15rem;
}
.gd-place-mode-card {
  display: flex;
  flex-direction: column;
  min-height: 88px;
  border: 1px solid #e5e7eb;
  background: #fff;
  border-radius: 14px;
  padding: 1.05rem 1.1rem;
}
.gd-place-mode-card.is-active {
  border: 2px solid var(--gd-brand);
  background: color-mix(in srgb, var(--gd-brand) 6%, white);
}
.gd-place-mode-card strong { font-size: 15px; font-weight: 700; color: #0c1222; }
.gd-place-mode-card span { margin-top: 0.25rem; font-size: 13px; line-height: 1.4; color: #6b7280; }
.gd-place-join-modes {
  display: flex;
  gap: 0.65rem;
}
.gd-place-join-mode {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  min-width: 0;
  flex: 1;
  border: 1px solid #e5e7eb;
  background: #fff;
  border-radius: 14px;
  padding: 0.75rem 0.9rem;
}
.gd-place-join-mode.is-active {
  border: 2px solid var(--gd-brand);
  background: color-mix(in srgb, var(--gd-brand) 8%, white);
}
.gd-place-join-mode-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  flex-shrink: 0;
  border-radius: 8px;
  background: var(--gd-brand-soft);
  color: var(--gd-brand);
}
.gd-place-join-mode-icon.is-muted {
  background: #f3f4f6;
  color: #6b7280;
}
.gd-place-join-mode div strong { display: block; font-size: 13px; font-weight: 700; color: #0c1222; }
.gd-place-join-mode div span { display: block; font-size: 11px; color: #5a6b82; }
.gd-place-join-sheet {
  display: flex;
  flex-direction: column;
  min-height: 0;
  flex: 1;
  margin-top: 0.75rem;
  overflow: hidden;
  border: 1px solid #e5e7eb;
  background: #fff;
  border-radius: 12px;
}
.gd-place-join-toolbar {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  border-bottom: 1px solid #eef2f6;
  padding: 0.65rem 0.75rem;
}
.gd-place-join-search {
  position: relative;
  display: flex;
  align-items: center;
  min-width: 0;
  flex: 1;
  height: 36px;
  border: 1px solid #e5e7eb;
  background: #fff;
  border-radius: 8px;
  padding: 0 0.75rem 0 2rem;
  font-size: 12px;
  color: #9ca3af;
}
.gd-place-join-search svg {
  position: absolute;
  left: 0.65rem;
  top: 50%;
  transform: translateY(-50%);
  color: #9ca3af;
}
.gd-place-join-filter {
  display: flex;
  align-items: center;
  flex-shrink: 0;
  height: 36px;
  border: 1px solid #e5e7eb;
  background: #fff;
  border-radius: 8px;
  padding: 0 0.65rem;
  font-size: 12px;
  font-weight: 500;
  color: #3d5168;
}
.gd-place-join-add {
  display: flex;
  align-items: center;
  flex-shrink: 0;
  height: 36px;
  border-radius: 8px;
  background: var(--gd-brand);
  padding: 0 0.65rem;
  font-size: 12px;
  font-weight: 600;
  color: #fff;
}
.gd-place-join-table {
  width: 100%;
  border-collapse: collapse;
  text-align: left;
}
.gd-place-join-table thead tr {
  background: #f8fafc;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #94a3b8;
}
.gd-place-join-table th,
.gd-place-join-table td {
  padding: 0.45rem 0.25rem;
  font-size: 13px;
  font-weight: 600;
  color: #0c1222;
}
.gd-place-join-table th { padding: 0.4rem 0.25rem; font-weight: 700; }
.gd-place-join-check-col { width: 40px; padding-left: 0.75rem !important; }
.gd-place-join-tag-col { text-align: right; padding-right: 0.75rem !important; }
.gd-place-join-table tbody td { border-top: 1px solid #f3f4f6; }
.gd-place-join-table tbody td:first-child { padding-left: 0.75rem; }
.gd-place-join-table tbody td:last-child { padding-right: 0.75rem; text-align: right; }
.gd-place-join-table .gd-place-check { margin-right: 0; }
.gd-place-join-tag {
  display: inline-flex;
  border: 1px solid #e5e7eb;
  background: #f8fafc;
  border-radius: 999px;
  padding: 0.1rem 0.5rem;
  font-size: 11px;
  font-weight: 600;
  color: #3d5168;
}
.gd-place-join-dash { font-size: 11px; font-weight: 500; color: #9ca3af; }
.gd-place-join-box {
  display: inline-flex;
  width: 20px;
  height: 20px;
  border: 1px solid #d1d5db;
  background: #fff;
  border-radius: 6px;
}
.gd-place-join-foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: auto;
  border-top: 1px solid #eef2f6;
  background: #f8fafc;
  padding: 0.5rem 0.75rem;
  font-size: 12px;
  color: #6b7280;
}
.gd-place-join-foot strong { font-weight: 700; color: #0c1222; }
.gd-place-join-assign { font-weight: 600; color: var(--gd-brand); }

@media (max-width: 700px) {
  .gd-place-onboard-title { font-size: 28px; }
  .gd-place-empty-title { font-size: 26px; }
}

.gd-login-sheet-modal .gd-modal-content { max-height: 90vh; }
.gd-login-sheet-session {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  align-items: flex-start;
  padding-bottom: 0.85rem;
  border-bottom: 1px solid #e5e7eb;
  margin-bottom: 0.35rem;
}
.gd-login-sheet-session-name {
  margin: 0 0 0.2rem;
  font-size: 1.2rem;
  font-weight: 700;
  color: #111827;
}
.gd-login-sheet-school {
  margin: 0;
  font-size: 13px;
  font-weight: 600;
  color: #374151;
}
.gd-login-sheet-meta {
  margin: 0.15rem 0 0;
  font-size: 12px;
  color: #6b7280;
}
.gd-login-sheet-kicker {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #9ca3af;
  text-align: right;
  line-height: 1.35;
  flex-shrink: 0;
}
.gd-login-sheet-section-label {
  margin: 1.1rem 0 0.55rem;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #4b5563;
}
.gd-login-sheet-step1 {
  border: 2px solid #0088ff;
  background: #f4faff;
  border-radius: 12px;
  padding: 0.9rem 1.05rem;
  margin-bottom: 0.85rem;
}
.gd-login-sheet-step1-label {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #0088ff;
  margin-bottom: 0.3rem;
}
.gd-login-sheet-url {
  font-size: 1.05rem;
  font-weight: 800;
  color: #0a1834;
  word-break: break-all;
}
.gd-login-sheet-step1-note {
  margin: 0.35rem 0 0;
  font-size: 12px;
  color: #6b7280;
}
.gd-login-sheet-step {
  font-size: 13px;
  line-height: 1.55;
  margin: 0 0 0.5rem;
  color: #111827;
}
.gd-login-sheet-step strong:first-child { color: #0088ff; }
.gd-login-sheet-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 13px;
}
.gd-login-sheet-table th {
  text-align: left;
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: #6b7280;
  background: #f9fafb;
  border-bottom: 1px solid #d1d5db;
  padding: 0.45rem 0.6rem;
}
.gd-login-sheet-table td {
  padding: 0.5rem 0.6rem;
  border-bottom: 1px solid #e5e7eb;
}
.gd-login-sheet-col-num { width: 36px; }
.gd-login-sheet-code {
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-weight: 700;
}
.gd-login-sheet-empty { font-size: 13px; color: #6b7280; }
.gd-login-sheet-foot {
  display: flex;
  justify-content: space-between;
  font-size: 12px;
  color: #9ca3af;
  border-top: 1px solid #e5e7eb;
  margin-top: 0.9rem;
  padding-top: 0.65rem;
}
.gd-login-sheet-modal .gd-btn-primary svg {
  width: 16px;
  height: 16px;
  display: block;
  flex-shrink: 0;
}
#gdLoginSheetModal:not(.show) {
  display: none !important;
}
