/* =====================================
   ExamDesk Components
===================================== */

/* Cards */

.ed-card,
.ed-table-card,
.ed-stat-card {
  background: var(--ed-surface);
  color: var(--ed-text);
  border: 1px solid var(--ed-border);
  border-radius: var(--ed-radius-md);
  box-shadow: var(--ed-shadow-sm);
  overflow: hidden;
}

.ed-card-header {
  background: var(--ed-surface);
  color: var(--ed-text-strong);
  border-bottom: 1px solid var(--ed-border);
  padding: 1rem 1.15rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.ed-card-body {
  padding: 1.15rem;
}

/* Stat cards */

.ed-stat-card {
  position: relative;
}

.ed-stat-card::before {
  content: "";
  position: absolute;
  inset: 0 0 auto 0;
  height: 4px;
  background: linear-gradient(90deg, var(--ed-gold), var(--ed-primary));
}

.ed-stat-label {
  color: var(--ed-muted);
  font-size: 0.74rem;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.07em;
  margin-bottom: 0.35rem;
}

.ed-stat-value {
  color: var(--ed-text-strong);
  font-size: 2.05rem;
  font-weight: 900;
  line-height: 1;
}

.ed-stat-note {
  color: var(--ed-muted);
  font-size: 0.82rem;
  margin-top: 0.45rem;
}

/* Tables */

.ed-table {
  width: 100%;
  margin-bottom: 0;
  color: var(--ed-text);
}

.ed-table th {
  background: var(--ed-surface);
  color: var(--ed-muted);
  font-size: 0.72rem;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  border-bottom: 1px solid var(--ed-border);
  padding: 0.85rem 1rem;
}

.ed-table td {
  color: var(--ed-text);
  border-bottom: 1px solid var(--ed-border);
  padding: 0.95rem 1rem;
  vertical-align: middle;
}

.ed-table tbody tr:hover td {
  background: var(--ed-surface-muted);
}

.ed-table tbody tr:last-child td {
  border-bottom: none;
}

/* Buttons */

.ed-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  border-radius: var(--ed-radius-pill);
  font-weight: 850;
  text-decoration: none;
  border: 1px solid transparent;
  padding: 0.55rem 0.95rem;
  line-height: 1.1;
  cursor: pointer;
}

.ed-btn-sm {
  padding: 0.38rem 0.7rem;
  font-size: 0.82rem;
}

.ed-btn-primary {
  background: var(--ed-primary);
  border-color: var(--ed-primary);
  color: #ffffff;
}

.ed-btn-primary:hover {
  filter: brightness(1.05);
  color: #ffffff;
}

.ed-btn-gold {
  background: var(--ed-gold);
  border-color: var(--ed-gold);
  color: var(--ed-on-accent);
}

.ed-btn-gold:hover {
  background: #2c8a68;
  border-color: #2c8a68;
  color: #ffffff;
}

.ed-btn-soft {
  background: var(--ed-surface);
  border-color: var(--ed-border);
  color: var(--ed-text);
}

.ed-btn-soft:hover {
  background: var(--ed-surface-muted);
  color: var(--ed-text);
}

.ed-btn-danger {
  background: var(--ed-danger-soft);
  border-color: transparent;
  color: var(--ed-danger);
}

.ed-btn-danger:hover {
  background: var(--ed-danger);
  color: #ffffff;
}

/* Badges / statuses */

.ed-status {
  display: inline-flex;
  align-items: center;
  border-radius: var(--ed-radius-pill);
  padding: 0.32rem 0.62rem;
  font-size: 0.72rem;
  font-weight: 900;
  line-height: 1;
}

.ed-status-success {
  background: var(--ed-success-soft);
  color: var(--ed-success);
}

.ed-status-warning {
  background: var(--ed-warning-soft);
  color: var(--ed-warning);
}

.ed-status-danger {
  background: var(--ed-danger-soft);
  color: var(--ed-danger);
}

.ed-status-info {
  background: var(--ed-info-soft);
  color: var(--ed-info);
}

.ed-status-neutral {
  background: var(--ed-primary-soft);
  color: var(--ed-primary);
}

/* Forms */

.ed-form-label {
  color: var(--ed-muted);
  font-size: 0.78rem;
  font-weight: 850;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 0.35rem;
}

.form-control,
.form-select,
textarea {
  background: var(--ed-surface) !important;
  color: var(--ed-text) !important;
  border-color: var(--ed-border) !important;
  border-radius: 12px;
}

.form-control:focus,
.form-select:focus,
textarea:focus {
  background: var(--ed-surface) !important;
  color: var(--ed-text) !important;
  border-color: var(--ed-primary) !important;
  box-shadow: 0 0 0 0.2rem rgba(37, 99, 235, 0.16) !important;
}

/* Empty states */

.ed-empty {
  border: 1px dashed var(--ed-border-strong);
  border-radius: var(--ed-radius-md);
  padding: 1.5rem;
  background: var(--ed-surface-muted);
  color: var(--ed-muted);
  text-align: center;
}

/* Theme toggle */

.ed-theme-toggle {
  border: 1px solid var(--ed-border);
  background: var(--ed-surface);
  color: var(--ed-text);
  border-radius: var(--ed-radius-pill);
  padding: 0.45rem 0.75rem;
  font-weight: 850;
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
}

.ed-theme-toggle:hover {
  background: var(--ed-surface-muted);
}

/* Bootstrap compatibility while migrating */

.card,
.card-header,
.card-body,
.card-footer,
.dropdown-menu,
.list-group-item,
.modal-content {
  background: var(--ed-surface) !important;
  color: var(--ed-text) !important;
  border-color: var(--ed-border) !important;
}

.table {
  color: var(--ed-text) !important;
}

.table th,
.table td {
  color: var(--ed-text) !important;
  border-color: var(--ed-border) !important;
}

.dropdown-item {
  color: var(--ed-text) !important;
}

.dropdown-item:hover {
  background: var(--ed-surface-muted) !important;
}

/* =====================================
   Topbar Account Menu
===================================== */

.ed-topbar-actions {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.ed-account-menu {
  position: relative;
}

.ed-account-menu summary {
  list-style: none;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  background: var(--ed-surface);
  border: 1px solid var(--ed-border);
  color: var(--ed-text);
  border-radius: var(--ed-radius-pill);
  padding: 0.42rem 0.75rem;
  font-weight: 850;
}

.ed-account-menu summary::-webkit-details-marker {
  display: none;
}

.ed-account-dropdown {
  position: absolute;
  top: calc(100% + 0.5rem);
  right: 0;
  min-width: 210px;
  background: var(--ed-surface);
  border: 1px solid var(--ed-border);
  border-radius: 16px;
  box-shadow: var(--ed-shadow-md);
  padding: 0.4rem;
  z-index: 50;
}

.ed-account-dropdown a,
.ed-account-dropdown button {
  width: 100%;
  display: block;
  text-align: left;
  border: 0;
  background: transparent;
  color: var(--ed-text);
  padding: 0.7rem 0.8rem;
  border-radius: 12px;
  text-decoration: none;
  font-weight: 750;
  cursor: pointer;
}

.ed-account-dropdown a:hover,
.ed-account-dropdown button:hover {
  background: var(--ed-surface-muted);
}

.ed-avatar {
  width: 28px;
  height: 28px;
  border-radius: 999px;
  background: var(--ed-gold);
  color: var(--ed-on-accent);
  display: inline-grid;
  place-items: center;
  font-weight: 950;
}

.ed-pill-dot {
  width: 8px;
  height: 8px;
  border-radius: 999px;
  background: var(--ed-gold);
}

/* =====================================
   Polished Full-width Launch Panel
===================================== */

.ed-launch-full {
  border-radius: 18px;
  overflow: hidden;
}

.ed-launch-full-header {
  background: var(--ed-navy);
  color: #ffffff;
  border-bottom: 0;
  padding: 1.1rem 1.2rem;
}

.ed-launch-full-header strong {
  color: #ffffff;
  font-size: 0.98rem;
}

.ed-launch-full-header .ed-text-muted {
  color: rgba(255, 255, 255, 0.72);
}

.ed-credit-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  background: rgba(255, 255, 255, 0.08);
  color: rgba(255, 255, 255, 0.82);
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 999px;
  padding: 0.48rem 0.75rem;
  font-size: 0.78rem;
  font-weight: 850;
  white-space: nowrap;
}

.ed-credit-pill strong {
  color: var(--ed-gold);
}

/* Form shell */

.ed-launch-form {
  display: grid;
  gap: 1rem;
}

.ed-launch-form .ed-form-group {
  display: flex;
  flex-direction: column;
  gap: 0.42rem;
  margin: 0;
}

/* Form grids */

.ed-form-grid-3 {
  display: grid;
  grid-template-columns: 1.35fr 1fr 1fr;
  gap: 1rem;
}

.ed-form-grid-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

/* Labels */

.ed-launch-form .ed-form-label {
  display: block;
  color: var(--ed-muted);
  font-size: 0.72rem;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin: 0;
}

/* Inputs */

.ed-launch-form .ed-input {
  width: 100%;
  min-height: 44px;
  background: var(--ed-surface-muted);
  color: var(--ed-text);
  border: 1px solid var(--ed-border);
  border-radius: 13px;
  padding: 0.68rem 0.78rem;
  font: inherit;
  font-size: 0.92rem;
  font-weight: 650;
  outline: none;
  box-sizing: border-box;
  transition:
    border-color 0.16s ease,
    background-color 0.16s ease,
    box-shadow 0.16s ease;
}

.ed-launch-form .ed-input:hover {
  border-color: var(--ed-border-strong);
}

.ed-launch-form .ed-input:focus {
  background: var(--ed-surface);
  border-color: var(--ed-primary);
  box-shadow: 0 0 0 4px var(--ed-primary-soft);
}

.ed-launch-form select.ed-input {
  cursor: pointer;
}

.ed-launch-form textarea.ed-input {
  min-height: 92px;
  resize: vertical;
  line-height: 1.45;
}

/* Credit note */

.ed-credit-note {
  background: var(--ed-gold-soft);
  color: var(--ed-text);
  border: 1px solid rgba(var(--ed-gold-rgb), 0.28);
  border-radius: 14px;
  padding: 0.75rem 0.85rem;
  font-size: 0.86rem;
  margin: 0;
}

.ed-credit-note strong {
  color: var(--ed-text-strong);
}

/* Bottom row */

.ed-launch-bottom-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.ed-check-row-compact {
  flex: 1;
  display: flex;
  align-items: center;
  gap: 0.6rem;
  background: var(--ed-surface-muted);
  border: 1px solid var(--ed-border);
  border-radius: 14px;
  padding: 0.78rem 0.85rem;
  color: var(--ed-text);
  font-size: 0.9rem;
  font-weight: 700;
  cursor: pointer;
  margin: 0;
}

.ed-check-row-compact input {
  width: 16px;
  height: 16px;
  accent-color: var(--ed-primary);
}

.ed-launch-bottom-row .ed-btn {
  min-height: 44px;
  padding-inline: 1.35rem;
}

/* Responsive */

@media (max-width: 1000px) {
  .ed-form-grid-3,
  .ed-form-grid-2 {
    grid-template-columns: 1fr;
  }

  .ed-launch-bottom-row {
    flex-direction: column;
    align-items: stretch;
  }

  .ed-launch-bottom-row .ed-btn {
    width: 100%;
  }

  .ed-credit-pill {
    width: fit-content;
  }
}

/* =====================================
   Assessment Overview Card
===================================== */

.ed-assessment-overview {
  border-radius: var(--ed-radius-md);
}

.ed-assessment-overview .ed-card-body {
  padding: 1.2rem;
}

/* Description panel */

.ed-description-panel {
  background:
    linear-gradient(135deg, var(--ed-surface-muted), var(--ed-surface));
  border: 1px solid var(--ed-border);
  border-radius: 16px;
  padding: 1rem;
  margin-bottom: 1rem;
}

.ed-description-label {
  color: var(--ed-muted);
  font-size: 0.72rem;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.07em;
  margin-bottom: 0.45rem;
}

.ed-description-panel p {
  color: var(--ed-text);
  line-height: 1.55;
  margin: 0;
}

/* Info grid */

.ed-info-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.85rem;
}

.ed-info-item {
  background: var(--ed-surface-muted);
  border: 1px solid var(--ed-border);
  border-radius: 14px;
  padding: 0.9rem;
  min-height: 82px;
}

.ed-info-item span {
  display: block;
  color: var(--ed-muted);
  font-size: 0.72rem;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-bottom: 0.35rem;
}

.ed-info-item strong {
  display: block;
  color: var(--ed-text-strong);
  font-size: 0.98rem;
  line-height: 1.3;
}

.ed-info-highlight {
  background: var(--ed-gold-soft);
  border-color: rgba(var(--ed-gold-rgb), 0.32);
}

.ed-info-highlight span {
  color: var(--ed-muted);
}

.ed-info-highlight strong {
  color: var(--ed-text-strong);
  font-size: 1.25rem;
}

/* Responsive */

@media (max-width: 900px) {
  .ed-info-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 620px) {
  .ed-info-grid {
    grid-template-columns: 1fr;
  }
}

/* =====================================
   Candidate Report Page
===================================== */

.ed-report-layout {
  display: grid;
  grid-template-columns: 360px minmax(0, 1fr);
  gap: 1.5rem;
  align-items: start;
}

.ed-report-sidebar,
.ed-report-main {
  min-width: 0;
}

.ed-stat-status-text {
  font-size: 1.25rem;
  line-height: 1.1;
}

/* Candidate Summary */

.ed-candidate-block {
  display: flex;
  align-items: center;
  gap: 0.9rem;
  margin-bottom: 1.15rem;
}

.ed-candidate-avatar {
  width: 52px;
  height: 52px;
  border-radius: 18px;
  background: var(--ed-gold);
  color: var(--ed-on-accent);
  display: grid;
  place-items: center;
  font-weight: 950;
  font-size: 1.35rem;
  box-shadow: 0 8px 18px rgba(var(--ed-gold-rgb), 0.2);
}

.ed-candidate-block h2 {
  margin: 0;
  font-size: 1.05rem;
}

.ed-candidate-block p {
  margin: 0.25rem 0 0;
  color: var(--ed-muted);
  font-size: 0.86rem;
}

/* Callouts */

.ed-callout {
  border-radius: 14px;
  padding: 0.85rem;
  font-size: 0.88rem;
  line-height: 1.45;
}

.ed-callout-success {
  background: var(--ed-success-soft);
  color: var(--ed-success);
  border: 1px solid rgba(22, 163, 74, 0.25);
}

.ed-callout-warning {
  background: var(--ed-warning-soft);
  color: var(--ed-warning);
  border: 1px solid rgba(245, 158, 11, 0.28);
}

/* Integrity */

.ed-integrity-list {
  border: 1px solid var(--ed-border);
  border-radius: 14px;
  overflow: hidden;
}

.ed-integrity-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.82rem 0.9rem;
  border-bottom: 1px solid var(--ed-border);
  background: var(--ed-surface);
}

.ed-integrity-row:last-child {
  border-bottom: 0;
}

.ed-integrity-row span {
  color: var(--ed-muted);
  font-weight: 750;
  font-size: 0.88rem;
}

.ed-integrity-row strong {
  min-width: 32px;
  height: 28px;
  border-radius: 999px;
  display: inline-grid;
  place-items: center;
  font-size: 0.82rem;
  font-weight: 950;
}

.ed-flag-success {
  background: var(--ed-success-soft);
  color: var(--ed-success);
}

.ed-flag-warning {
  background: var(--ed-warning-soft);
  color: var(--ed-warning);
}

.ed-flag-danger {
  background: var(--ed-danger-soft);
  color: var(--ed-danger);
}

/* Skill Areas */

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

.ed-skill-item {
  display: grid;
  gap: 0.45rem;
}

.ed-skill-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.ed-skill-head strong {
  color: var(--ed-text-strong);
  font-size: 0.9rem;
}

.ed-skill-head span {
  color: var(--ed-muted);
  font-size: 0.85rem;
  font-weight: 800;
}

.ed-progress {
  height: 8px;
  background: var(--ed-surface-muted);
  border-radius: 999px;
  overflow: hidden;
  border: 1px solid var(--ed-border);
}

.ed-progress-bar {
  height: 100%;
  background: linear-gradient(90deg, var(--ed-gold), var(--ed-primary));
  border-radius: 999px;
}

/* Insight Chips */

.ed-insight-section + .ed-insight-section {
  margin-top: 1.25rem;
}

.ed-insight-section h3 {
  font-size: 0.86rem;
  margin: 0 0 0.65rem;
  color: var(--ed-text-strong);
}

.ed-chip-list {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.ed-chip {
  display: inline-flex;
  border-radius: 999px;
  padding: 0.42rem 0.7rem;
  font-size: 0.78rem;
  font-weight: 850;
}

.ed-chip-success {
  background: var(--ed-success-soft);
  color: var(--ed-success);
}

.ed-chip-warning {
  background: var(--ed-warning-soft);
  color: var(--ed-warning);
}

/* Question Review */

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

.ed-question-card {
  background: var(--ed-surface);
  border: 1px solid var(--ed-border);
  border-radius: 16px;
  padding: 1rem;
}

.ed-question-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 0.9rem;
}

.ed-question-number {
  color: var(--ed-text-strong);
  font-size: 0.95rem;
  font-weight: 900;
}

.ed-question-text {
  color: var(--ed-text);
  line-height: 1.55;
  margin-bottom: 1rem;
}

.ed-answer-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.85rem;
}

.ed-answer-box {
  border-radius: 14px;
  padding: 0.9rem;
  border: 1px solid var(--ed-border);
  background: var(--ed-surface-muted);
}

.ed-answer-box span {
  display: block;
  color: var(--ed-muted);
  font-size: 0.72rem;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-bottom: 0.35rem;
}

.ed-answer-box strong {
  color: var(--ed-text-strong);
  line-height: 1.35;
}

.ed-answer-correct {
  border-color: rgba(22, 163, 74, 0.28);
  background: var(--ed-success-soft);
}

.ed-answer-wrong {
  border-color: rgba(220, 38, 38, 0.28);
  background: var(--ed-danger-soft);
}

.ed-explanation-box {
  margin-top: 0.9rem;
  border-radius: 14px;
  padding: 0.9rem;
  background: var(--ed-surface-muted);
  border: 1px solid var(--ed-border);
}

.ed-explanation-box strong {
  display: block;
  color: var(--ed-text-strong);
  margin-bottom: 0.35rem;
}

.ed-explanation-box p {
  margin: 0;
  color: var(--ed-text);
  line-height: 1.5;
}

@media (max-width: 1100px) {
  .ed-report-layout {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 720px) {
  .ed-answer-grid {
    grid-template-columns: 1fr;
  }

  .ed-question-header {
    flex-direction: column;
  }
}

/* =====================================
   Assessment Round Seat Cell
===================================== */

.ed-seat-cell {
  min-width: 130px;
}

.ed-seat-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  margin-bottom: 0.35rem;
}

.ed-seat-top strong {
  color: var(--ed-text-strong);
  font-size: 0.88rem;
}

.ed-seat-top span {
  color: var(--ed-muted);
  font-size: 0.78rem;
  font-weight: 800;
}

.ed-mini-progress {
  height: 7px;
  background: var(--ed-surface-muted);
  border: 1px solid var(--ed-border);
  border-radius: 999px;
  overflow: hidden;
}

.ed-mini-progress-bar {
  height: 100%;
  background: linear-gradient(90deg, var(--ed-gold), var(--ed-primary));
  border-radius: 999px;
}

/* =====================================
   Assessment Round Detail
===================================== */

.ed-round-control {
  border-radius: var(--ed-radius-md);
}

.ed-link-panel {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: end;
  gap: 1rem;
  background: var(--ed-surface-muted);
  border: 1px solid var(--ed-border);
  border-radius: 16px;
  padding: 1rem;
}

.ed-public-url {
  background: var(--ed-surface);
  border: 1px solid var(--ed-border);
  border-radius: 12px;
  padding: 0.75rem 0.85rem;
  color: var(--ed-text);
  font-size: 0.9rem;
  font-weight: 650;
  overflow-wrap: anywhere;
  margin-top: 0.4rem;
}

.ed-link-actions {
  display: flex;
  align-items: center;
  gap: 0.65rem;
}

.ed-round-actions {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  flex-wrap: wrap;
  margin-top: 1rem;
}

.ed-round-actions form {
  margin: 0;
}

.ed-flag-summary {
  display: grid;
  gap: 0.35rem;
}

@media (max-width: 760px) {
  .ed-link-panel {
    grid-template-columns: 1fr;
  }

  .ed-link-actions .ed-btn,
  .ed-round-actions .ed-btn,
  .ed-round-actions form,
  .ed-round-actions button {
    width: 100%;
  }
}

/* =====================================
   Round Access Panel
===================================== */

.ed-round-access {
  border-radius: var(--ed-radius-lg);
  overflow: hidden;
}

.ed-round-access-header {
  background:
    radial-gradient(circle at top right, var(--ed-gold-soft), transparent 34%),
    var(--ed-navy);
  color: #ffffff;
  padding: 1.15rem 1.25rem;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1rem;
}

.ed-round-access-header h2 {
  color: #ffffff;
  margin: 0 0 0.25rem;
  font-size: 1.15rem;
}

.ed-round-access-header p {
  color: rgba(255, 255, 255, 0.72);
  margin: 0;
  font-size: 0.9rem;
}

.ed-round-access-body {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 280px;
  gap: 1rem;
  padding: 1.15rem;
}

.ed-access-main {
  min-width: 0;
}

.ed-access-label {
  color: var(--ed-muted);
  font-size: 0.72rem;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.07em;
  margin-bottom: 0.45rem;
}

.ed-url-box {
  background: var(--ed-surface-muted);
  border: 1px solid var(--ed-border);
  border-radius: 15px;
  padding: 0.9rem 1rem;
  color: var(--ed-text-strong);
  font-size: 0.92rem;
  font-weight: 700;
  line-height: 1.45;
  overflow-wrap: anywhere;
}

.ed-access-actions {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.65rem;
  margin-top: 0.9rem;
}

.ed-inline-form {
  margin: 0;
}

.ed-access-side {
  display: grid;
  gap: 0.75rem;
}

.ed-access-metric {
  background: var(--ed-surface-muted);
  border: 1px solid var(--ed-border);
  border-radius: 15px;
  padding: 0.9rem;
}

.ed-access-metric span {
  display: block;
  color: var(--ed-muted);
  font-size: 0.72rem;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.07em;
  margin-bottom: 0.35rem;
}

.ed-access-metric strong {
  display: block;
  color: var(--ed-text-strong);
  font-size: 1.15rem;
  font-weight: 950;
}

.ed-access-metric small {
  display: block;
  color: var(--ed-muted);
  font-size: 0.78rem;
  margin-top: 0.35rem;
}

@media (max-width: 900px) {
  .ed-round-access-body {
    grid-template-columns: 1fr;
  }

  .ed-round-access-header {
    flex-direction: column;
  }

  .ed-access-actions .ed-btn,
  .ed-access-actions form,
  .ed-access-actions button {
    width: 100%;
  }
}

/* =====================================
   Public Assessment Compact Polish
===================================== */

.ed-public-content {
  max-width: 760px;
}

.ed-start-body {
  padding: 1.15rem;
}

/* Compact meta strip */

.ed-start-meta-strip {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.65rem;
  margin-bottom: 1rem;
}

.ed-start-meta-item {
  background: var(--ed-surface-muted);
  border: 1px solid var(--ed-border);
  border-radius: 14px;
  padding: 0.72rem 0.85rem;
  min-height: 64px;
}

.ed-start-meta-item span {
  display: block;
  color: var(--ed-muted);
  font-size: 0.68rem;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.07em;
  margin-bottom: 0.22rem;
}

.ed-start-meta-item strong {
  display: block;
  color: var(--ed-text-strong);
  font-size: 0.98rem;
  font-weight: 900;
  line-height: 1.1;
}

/* Cleaner candidate form */

.ed-candidate-start-form {
  display: grid;
  gap: 1rem;
}

.ed-candidate-form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.85rem;
}

.ed-form-group-full {
  grid-column: 1 / -1;
}

.ed-public-input {
  min-height: 44px;
  background: var(--ed-surface-muted);
  border: 1px solid var(--ed-border);
  border-radius: 14px;
  padding: 0.72rem 0.85rem;
  font-size: 0.94rem;
  font-weight: 650;
  color: var(--ed-text);
  width: 100%;
  box-sizing: border-box;
}

.ed-public-input::placeholder {
  color: var(--ed-muted);
  font-weight: 500;
}

.ed-public-input:hover {
  border-color: var(--ed-border-strong);
}

.ed-public-input:focus {
  background: var(--ed-surface);
  border-color: var(--ed-primary);
  box-shadow: 0 0 0 4px var(--ed-primary-soft);
}

/* Form heading tightening */

.ed-form-heading {
  margin-bottom: 0.85rem;
}

.ed-form-heading h2 {
  font-size: 1.05rem;
  margin-bottom: 0.2rem;
}

.ed-form-heading p {
  font-size: 0.86rem;
}

/* Instruction panel tighter */

.ed-instruction-panel {
  padding: 0.85rem;
  margin-bottom: 0.85rem;
}

.ed-instruction-panel p {
  font-size: 0.86rem;
}

/* Warning panel tighter */

.ed-warning-panel {
  padding: 0.85rem;
}

.ed-warning-panel p {
  font-size: 0.86rem;
}

/* Button polish */

.ed-btn-block {
  width: 100%;
}

.ed-candidate-start-form .ed-btn-gold {
  min-height: 46px;
  font-size: 0.95rem;
}

/* Mobile */

@media (max-width: 680px) {
  .ed-start-meta-strip,
  .ed-candidate-form-grid {
    grid-template-columns: 1fr;
  }

  .ed-public-content {
    padding-inline: 0.85rem;
  }
}

/* =====================================
   Public Assessment Compact Polish
===================================== */

.ed-public-content {
  max-width: 760px;
}

.ed-start-body {
  padding: 1.15rem;
}

/* Compact meta strip */

.ed-start-meta-strip {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.65rem;
  margin-bottom: 1rem;
}

.ed-start-meta-item {
  background: var(--ed-surface-muted);
  border: 1px solid var(--ed-border);
  border-radius: 14px;
  padding: 0.72rem 0.85rem;
  min-height: 64px;
}

.ed-start-meta-item span {
  display: block;
  color: var(--ed-muted);
  font-size: 0.68rem;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.07em;
  margin-bottom: 0.22rem;
}

.ed-start-meta-item strong {
  display: block;
  color: var(--ed-text-strong);
  font-size: 0.98rem;
  font-weight: 900;
  line-height: 1.1;
}

/* Cleaner candidate form */

.ed-candidate-start-form {
  display: grid;
  gap: 1rem;
}

.ed-candidate-form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.85rem;
}

.ed-form-group-full {
  grid-column: 1 / -1;
}

.ed-public-input {
  min-height: 44px;
  background: var(--ed-surface-muted);
  border: 1px solid var(--ed-border);
  border-radius: 14px;
  padding: 0.72rem 0.85rem;
  font-size: 0.94rem;
  font-weight: 650;
  color: var(--ed-text);
  width: 100%;
  box-sizing: border-box;
}

.ed-public-input::placeholder {
  color: var(--ed-muted);
  font-weight: 500;
}

.ed-public-input:hover {
  border-color: var(--ed-border-strong);
}

.ed-public-input:focus {
  background: var(--ed-surface);
  border-color: var(--ed-primary);
  box-shadow: 0 0 0 4px var(--ed-primary-soft);
}

/* Form heading tightening */

.ed-form-heading {
  margin-bottom: 0.85rem;
}

.ed-form-heading h2 {
  font-size: 1.05rem;
  margin-bottom: 0.2rem;
}

.ed-form-heading p {
  font-size: 0.86rem;
}

/* Instruction panel tighter */

.ed-instruction-panel {
  padding: 0.85rem;
  margin-bottom: 0.85rem;
}

.ed-instruction-panel p {
  font-size: 0.86rem;
}

/* Warning panel tighter */

.ed-warning-panel {
  padding: 0.85rem;
}

.ed-warning-panel p {
  font-size: 0.86rem;
}

/* Button polish */

.ed-btn-block {
  width: 100%;
}

.ed-candidate-start-form .ed-btn-gold {
  min-height: 46px;
  font-size: 0.95rem;
}

/* Mobile */

@media (max-width: 680px) {
  .ed-start-meta-strip,
  .ed-candidate-form-grid {
    grid-template-columns: 1fr;
  }

  .ed-public-content {
    padding-inline: 0.85rem;
  }
}
/* =====================================
   Public Assessment Compact Refinement
===================================== */

.ed-public-content {
  max-width: 720px;
}

.ed-start-card-compact {
  border-radius: 18px;
}

.ed-start-hero-compact {
  padding: 1.2rem 1.25rem;
}

.ed-start-hero-compact h1 {
  font-size: clamp(1.45rem, 2.8vw, 2rem);
  line-height: 1.08;
  margin-bottom: 0.35rem;
}

.ed-start-hero-compact p {
  font-size: 0.88rem;
}

.ed-start-body-compact {
  padding: 1rem 1.15rem 1.15rem;
}

/* Instructions */

.ed-instruction-panel-compact {
  padding: 0.8rem 0.85rem;
  margin-bottom: 0.8rem;
  border-radius: 14px;
}

.ed-instruction-panel-compact .ed-instruction-icon {
  width: 28px;
  height: 28px;
  font-size: 0.85rem;
}

.ed-instruction-panel-compact strong {
  font-size: 0.86rem;
}

.ed-instruction-panel-compact p {
  font-size: 0.82rem;
  line-height: 1.4;
}

/* Compact meta row */

.ed-start-meta-strip {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.6rem;
  margin-bottom: 1rem;
}

.ed-start-meta-item {
  background: var(--ed-surface-muted);
  border: 1px solid var(--ed-border);
  border-radius: 13px;
  padding: 0.65rem 0.75rem;
  min-height: 58px;
}

.ed-start-meta-item span {
  display: block;
  color: var(--ed-muted);
  font-size: 0.66rem;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.07em;
  margin-bottom: 0.2rem;
}

.ed-start-meta-item strong {
  display: block;
  color: var(--ed-text-strong);
  font-size: 0.94rem;
  font-weight: 900;
  line-height: 1.1;
}

/* Form heading */

.ed-form-heading-compact {
  border-top: 1px solid var(--ed-border);
  padding-top: 1rem;
  margin-bottom: 0.8rem;
}

.ed-form-heading-compact h2 {
  font-size: 1.05rem;
  margin: 0 0 0.2rem;
}

.ed-form-heading-compact p {
  font-size: 0.84rem;
  margin: 0;
  color: var(--ed-muted);
}

/* Candidate form */

.ed-candidate-start-form {
  display: grid;
  gap: 0.85rem;
}

.ed-candidate-form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.75rem;
}

.ed-form-group-full {
  grid-column: 1 / -1;
}

.ed-public-input {
  width: 100%;
  min-height: 42px;
  box-sizing: border-box;
  background: var(--ed-surface-muted);
  color: var(--ed-text);
  border: 1px solid var(--ed-border);
  border-radius: 13px;
  padding: 0.66rem 0.78rem;
  font-size: 0.92rem;
  font-weight: 650;
  outline: none;
}

.ed-public-input::placeholder {
  color: var(--ed-muted);
  font-weight: 500;
}

.ed-public-input:hover {
  border-color: var(--ed-border-strong);
}

.ed-public-input:focus {
  background: var(--ed-surface);
  border-color: var(--ed-primary);
  box-shadow: 0 0 0 4px var(--ed-primary-soft);
}

.ed-required {
  color: var(--ed-danger);
}

/* Warning */

.ed-warning-panel-compact {
  padding: 0.8rem 0.85rem;
  border-radius: 14px;
}

.ed-warning-panel-compact strong {
  font-size: 0.86rem;
}

.ed-warning-panel-compact p {
  font-size: 0.82rem;
  line-height: 1.42;
}

/* Start button */

.ed-start-button {
  min-height: 44px;
  font-size: 0.94rem;
}

@media (max-width: 680px) {
  .ed-start-meta-strip,
  .ed-candidate-form-grid {
    grid-template-columns: 1fr;
  }

  .ed-public-content {
    max-width: 100%;
    padding-inline: 0.85rem;
  }
}

/* =====================================
   Missing ExamDesk Public + Utility Patch
   Add at bottom of components.css
===================================== */

/* -------------------------------
   Basic utility helpers
-------------------------------- */

.ed-small {
  font-size: 0.84rem;
}

.ed-text-muted {
  color: var(--ed-muted) !important;
}

.ed-text-right {
  text-align: right;
}

.ed-mb-1 {
  margin-bottom: 0.35rem;
}

.ed-mb-2 {
  margin-bottom: 0.65rem;
}

.ed-mb-3 {
  margin-bottom: 1rem;
}

.ed-mb-4 {
  margin-bottom: 1.5rem;
}

.ed-mt-1 {
  margin-top: 0.35rem;
}

.ed-mt-2 {
  margin-top: 0.65rem;
}

.ed-mt-3 {
  margin-top: 1rem;
}

.ed-btn-block {
  width: 100%;
}

/* -------------------------------
   Public Assessment Shell
-------------------------------- */

.ed-public-shell {
  min-height: 100vh;
  background:
    radial-gradient(circle at top left, var(--ed-gold-soft), transparent 28%),
    radial-gradient(circle at bottom right, var(--ed-primary-soft), transparent 28%),
    var(--ed-bg);
}

.ed-public-topbar {
  max-width: 760px;
  margin: 0 auto;
  padding: 1rem 1rem 0.75rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.ed-public-brand {
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  color: var(--ed-text-strong);
  text-decoration: none;
}

.ed-public-brand strong {
  display: block;
  color: var(--ed-text-strong);
  font-size: 1rem;
  line-height: 1;
}

.ed-public-brand small {
  display: block;
  color: var(--ed-muted);
  font-size: 0.78rem;
  margin-top: 0.2rem;
}

.ed-brand-mark {
  width: 38px;
  height: 38px;
  border-radius: 14px;
  background: var(--ed-gold);
  color: var(--ed-on-accent);
  display: inline-grid;
  place-items: center;
  font-weight: 950;
  box-shadow: 0 8px 20px rgba(var(--ed-gold-rgb), 0.25);
}

.ed-public-content {
  max-width: 720px;
  margin: 0 auto;
  padding: 0.5rem 1rem 3rem;
}

/* -------------------------------
   Public Start Card Base
-------------------------------- */

.ed-start-card {
  background: var(--ed-surface);
  border: 1px solid var(--ed-border);
  border-radius: 18px;
  box-shadow: var(--ed-shadow-lg);
  overflow: hidden;
}

.ed-start-hero {
  background:
    radial-gradient(circle at top right, var(--ed-gold-soft), transparent 34%),
    var(--ed-navy);
  color: #ffffff;
  padding: 1.2rem 1.25rem;
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 1rem;
}

.ed-start-hero h1 {
  color: #ffffff;
  margin: 0 0 0.35rem;
  font-size: clamp(1.45rem, 2.8vw, 2rem);
  line-height: 1.08;
}

.ed-start-hero p {
  color: rgba(255, 255, 255, 0.72);
  margin: 0;
  font-size: 0.88rem;
}

.ed-start-body {
  padding: 1rem 1.15rem 1.15rem;
}

/* -------------------------------
   Instruction Panel Base
-------------------------------- */

.ed-instruction-panel {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  background: var(--ed-primary-soft);
  border: 1px solid rgba(37, 99, 235, 0.22);
  border-radius: 14px;
  padding: 0.8rem 0.85rem;
  margin-bottom: 0.8rem;
}

.ed-instruction-icon {
  width: 28px;
  height: 28px;
  border-radius: 999px;
  display: grid;
  place-items: center;
  flex: 0 0 auto;
  background: var(--ed-primary);
  color: #ffffff;
  font-weight: 950;
  font-size: 0.85rem;
}

.ed-instruction-panel strong {
  color: var(--ed-text-strong);
  font-size: 0.86rem;
}

.ed-instruction-panel p {
  margin: 0.25rem 0 0;
  color: var(--ed-text);
  font-size: 0.82rem;
  line-height: 1.4;
}

/* -------------------------------
   Compact Meta Strip
-------------------------------- */

.ed-start-meta-strip {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.6rem;
  margin-bottom: 1rem;
}

.ed-start-meta-item {
  background: var(--ed-surface-muted);
  border: 1px solid var(--ed-border);
  border-radius: 13px;
  padding: 0.65rem 0.75rem;
  min-height: 58px;
}

.ed-start-meta-item span {
  display: block;
  color: var(--ed-muted);
  font-size: 0.66rem;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.07em;
  margin-bottom: 0.2rem;
}

.ed-start-meta-item strong {
  display: block;
  color: var(--ed-text-strong);
  font-size: 0.94rem;
  font-weight: 900;
  line-height: 1.1;
}

/* -------------------------------
   Candidate Form Base
-------------------------------- */

.ed-form-heading {
  border-top: 1px solid var(--ed-border);
  padding-top: 1rem;
  margin-bottom: 0.8rem;
}

.ed-form-heading h2 {
  color: var(--ed-text-strong);
  font-size: 1.05rem;
  margin: 0 0 0.2rem;
}

.ed-form-heading p {
  color: var(--ed-muted);
  font-size: 0.84rem;
  margin: 0;
}

.ed-candidate-start-form {
  display: grid;
  gap: 0.85rem;
}

.ed-candidate-form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.75rem;
}

.ed-form-group {
  display: flex;
  flex-direction: column;
  gap: 0.38rem;
}

.ed-form-group-full {
  grid-column: 1 / -1;
}

.ed-form-label {
  display: block;
  color: var(--ed-muted);
  font-size: 0.72rem;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.07em;
  margin: 0;
}

.ed-input,
.ed-public-input {
  width: 100%;
  min-height: 42px;
  box-sizing: border-box;
  background: var(--ed-surface-muted);
  color: var(--ed-text);
  border: 1px solid var(--ed-border);
  border-radius: 13px;
  padding: 0.66rem 0.78rem;
  font: inherit;
  font-size: 0.92rem;
  font-weight: 650;
  outline: none;
}

.ed-input::placeholder,
.ed-public-input::placeholder {
  color: var(--ed-muted);
  font-weight: 500;
}

.ed-input:hover,
.ed-public-input:hover {
  border-color: var(--ed-border-strong);
}

.ed-input:focus,
.ed-public-input:focus {
  background: var(--ed-surface);
  border-color: var(--ed-primary);
  box-shadow: 0 0 0 4px var(--ed-primary-soft);
}

.ed-required {
  color: var(--ed-danger);
}

/* -------------------------------
   Warning Panel
-------------------------------- */

.ed-warning-panel {
  background: var(--ed-warning-soft);
  border: 1px solid rgba(245, 158, 11, 0.28);
  border-radius: 14px;
  padding: 0.8rem 0.85rem;
}

.ed-warning-panel strong {
  color: var(--ed-text-strong);
  font-size: 0.86rem;
}

.ed-warning-panel p {
  color: var(--ed-text);
  margin: 0.25rem 0 0;
  font-size: 0.82rem;
  line-height: 1.42;
}

.ed-start-button {
  min-height: 44px;
  font-size: 0.94rem;
}

/* -------------------------------
   Responsive
-------------------------------- */

@media (max-width: 680px) {
  .ed-public-topbar {
    align-items: flex-start;
    gap: 1rem;
  }

  .ed-public-content {
    max-width: 100%;
    padding-inline: 0.85rem;
  }

  .ed-start-hero {
    flex-direction: column;
  }

  .ed-start-meta-strip,
  .ed-candidate-form-grid {
    grid-template-columns: 1fr;
  }
}

/* =====================================
   Public Assessment Room
===================================== */

@supports selector(:has(*)) {
  .ed-public-content:has(.ed-assessment-room) {
    max-width: 980px;
  }
}

.ed-assessment-room {
  display: grid;
  gap: 1rem;
}

.ed-assessment-room-header {
  background:
    radial-gradient(circle at top right, var(--ed-gold-soft), transparent 34%),
    var(--ed-navy);
  color: #ffffff;
  border-radius: var(--ed-radius-lg);
  padding: 1.25rem;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1rem;
  box-shadow: var(--ed-shadow-lg);
}

.ed-assessment-room-header h1 {
  color: #ffffff;
  margin: 0 0 0.35rem;
  font-size: clamp(1.45rem, 2.8vw, 2.1rem);
  line-height: 1.08;
}

.ed-assessment-room-header p {
  color: rgba(255, 255, 255, 0.72);
  margin: 0;
}

.ed-assessment-room-header p strong {
  color: #ffffff;
}

.ed-assessment-timebox {
  background: rgba(255, 255, 255, 0.09);
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 16px;
  padding: 0.75rem 0.9rem;
  min-width: 120px;
  text-align: center;
}

.ed-assessment-timebox span {
  display: block;
  color: rgba(255, 255, 255, 0.68);
  font-size: 0.68rem;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.07em;
  margin-bottom: 0.25rem;
}

.ed-assessment-timebox strong {
  color: var(--ed-gold);
  font-size: 1rem;
  font-weight: 950;
}

/* Notices */

.ed-assessment-notice-grid {
  display: grid;
  gap: 0.75rem;
}

.ed-assessment-notice {
  display: flex;
  gap: 0.75rem;
  border-radius: 16px;
  padding: 0.9rem;
  border: 1px solid var(--ed-border);
}

.ed-assessment-notice-info {
  background: var(--ed-primary-soft);
  border-color: rgba(37, 99, 235, 0.24);
}

.ed-assessment-notice-warning {
  background: var(--ed-warning-soft);
  border-color: rgba(245, 158, 11, 0.28);
}

.ed-notice-icon {
  width: 30px;
  height: 30px;
  border-radius: 999px;
  display: grid;
  place-items: center;
  flex: 0 0 auto;
  background: var(--ed-primary);
  color: #ffffff;
  font-weight: 950;
}

.ed-assessment-notice-warning .ed-notice-icon {
  background: var(--ed-warning);
  color: var(--ed-on-accent);
}

.ed-assessment-notice strong {
  color: var(--ed-text-strong);
  font-size: 0.9rem;
}

.ed-assessment-notice p {
  margin: 0.25rem 0 0;
  color: var(--ed-text);
  line-height: 1.45;
  font-size: 0.86rem;
}

/* Question cards */

.ed-question-list-public {
  display: grid;
  gap: 1rem;
}

.ed-public-question-card {
  background: var(--ed-surface);
  border: 1px solid var(--ed-border);
  border-radius: var(--ed-radius-lg);
  box-shadow: var(--ed-shadow-sm);
  overflow: hidden;
}

.ed-public-question-header {
  background: var(--ed-surface-muted);
  border-bottom: 1px solid var(--ed-border);
  padding: 0.9rem 1rem;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1rem;
}

.ed-question-kicker {
  color: var(--ed-text-strong);
  font-weight: 950;
  font-size: 0.92rem;
}

.ed-public-question-body {
  padding: 1rem;
}

.ed-public-question-text {
  color: var(--ed-text-strong);
  font-size: 1.05rem;
  font-weight: 750;
  line-height: 1.55;
  margin: 0 0 1rem;
}

/* Images / parts */

.ed-question-image-wrap {
  margin-bottom: 1rem;
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid var(--ed-border);
  background: var(--ed-surface-muted);
}

.ed-question-image {
  max-width: 100%;
  display: block;
}

.ed-question-parts {
  display: grid;
  gap: 0.55rem;
  margin-bottom: 1rem;
}

.ed-question-part {
  background: var(--ed-surface-muted);
  border: 1px solid var(--ed-border);
  border-radius: 14px;
  padding: 0.75rem;
  color: var(--ed-text);
}

.ed-question-part strong {
  color: var(--ed-text-strong);
  margin-right: 0.25rem;
}

/* Options */

.ed-option-list {
  display: grid;
  gap: 0.65rem;
}

.ed-option-card {
  display: grid;
  grid-template-columns: 24px minmax(0, 1fr);
  gap: 0.75rem;
  align-items: flex-start;
  background: var(--ed-surface-muted);
  border: 1px solid var(--ed-border);
  border-radius: 15px;
  padding: 0.85rem;
  cursor: pointer;
  transition:
    border-color 0.14s ease,
    background-color 0.14s ease,
    box-shadow 0.14s ease,
    transform 0.12s ease;
}

.ed-option-card:hover {
  border-color: var(--ed-primary);
  background: var(--ed-surface);
  transform: translateY(-1px);
}

.ed-option-radio {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.ed-option-marker {
  width: 22px;
  height: 22px;
  border-radius: 999px;
  border: 2px solid var(--ed-border-strong);
  background: var(--ed-surface);
  position: relative;
  margin-top: 0.05rem;
}

.ed-option-marker::after {
  content: "";
  position: absolute;
  inset: 4px;
  border-radius: 999px;
  background: var(--ed-primary);
  transform: scale(0);
  transition: transform 0.14s ease;
}

.ed-option-radio:checked + .ed-option-marker {
  border-color: var(--ed-primary);
  box-shadow: 0 0 0 4px var(--ed-primary-soft);
}

.ed-option-radio:checked + .ed-option-marker::after {
  transform: scale(1);
}

.ed-option-card:has(.ed-option-radio:checked) {
  border-color: var(--ed-primary);
  background: var(--ed-primary-soft);
}

.ed-option-text {
  color: var(--ed-text);
  line-height: 1.45;
  font-weight: 650;
}

/* Submit panel */

.ed-submit-panel {
  background: var(--ed-surface);
  border: 1px solid var(--ed-border);
  border-radius: var(--ed-radius-lg);
  box-shadow: var(--ed-shadow-md);
  padding: 1.1rem;
  margin: 1rem 0 2rem;
}

.ed-submit-panel h2 {
  margin: 0 0 0.3rem;
  font-size: 1.15rem;
}

.ed-submit-panel p {
  color: var(--ed-muted);
  margin: 0 0 1rem;
  line-height: 1.45;
}

@media (max-width: 720px) {
  .ed-assessment-room-header {
    flex-direction: column;
  }

  .ed-assessment-timebox {
    width: 100%;
    text-align: left;
  }

  .ed-public-question-header {
    flex-direction: column;
  }
}
/* =====================================
   Assessment Countdown Timer
===================================== */

.ed-countdown-box strong {
  font-variant-numeric: tabular-nums;
  letter-spacing: 0.02em;
}

.ed-countdown-warning {
  color: var(--ed-warning) !important;
}

.ed-countdown-danger {
  color: var(--ed-danger) !important;
  animation: edTimerPulse 1s infinite;
}

@keyframes edTimerPulse {
  0% {
    opacity: 1;
  }

  50% {
    opacity: 0.55;
  }

  100% {
    opacity: 1;
  }
}

/* =====================================
   Public Assessment Submitted Page
===================================== */

.ed-submitted-wrap {
  max-width: 720px;
  margin: 0 auto;
}

.ed-submitted-card {
  background: var(--ed-surface);
  border: 1px solid var(--ed-border);
  border-radius: var(--ed-radius-lg);
  box-shadow: var(--ed-shadow-lg);
  overflow: hidden;
}

.ed-submitted-hero {
  background:
    radial-gradient(circle at top right, var(--ed-gold-soft), transparent 34%),
    var(--ed-navy);
  color: #ffffff;
  padding: 1.4rem;
  display: flex;
  gap: 1rem;
  align-items: flex-start;
}

.ed-submitted-icon {
  width: 46px;
  height: 46px;
  border-radius: 999px;
  background: var(--ed-gold);
  color: var(--ed-on-accent);
  display: grid;
  place-items: center;
  font-weight: 950;
  font-size: 1.35rem;
  flex: 0 0 auto;
  box-shadow: 0 10px 24px rgba(var(--ed-gold-rgb), 0.26);
}

.ed-submitted-hero h1 {
  color: #ffffff;
  margin: 0 0 0.35rem;
  font-size: clamp(1.55rem, 3vw, 2.15rem);
  line-height: 1.08;
}

.ed-submitted-hero p {
  color: rgba(255, 255, 255, 0.74);
  margin: 0;
  line-height: 1.45;
}

.ed-submitted-hero p strong {
  color: #ffffff;
}

.ed-submitted-body {
  padding: 1.15rem;
}

/* Score panel */

.ed-score-panel {
  background: var(--ed-primary-soft);
  border: 1px solid rgba(37, 99, 235, 0.24);
  border-radius: 16px;
  padding: 1rem;
}

.ed-score-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1rem;
}

.ed-score-header span {
  display: block;
  color: var(--ed-muted);
  font-size: 0.72rem;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.07em;
  margin-bottom: 0.25rem;
}

.ed-score-header strong {
  display: block;
  color: var(--ed-text-strong);
  font-size: 1.5rem;
  font-weight: 950;
}

.ed-score-percentage {
  background: var(--ed-surface);
  border: 1px solid var(--ed-border);
  border-radius: 999px;
  color: var(--ed-primary);
  font-size: 1rem;
  font-weight: 950;
  padding: 0.55rem 0.8rem;
}

.ed-score-bar {
  height: 9px;
  background: var(--ed-surface);
  border: 1px solid var(--ed-border);
  border-radius: 999px;
  overflow: hidden;
  margin: 0.85rem 0;
}

.ed-score-bar-fill {
  height: 100%;
  background: linear-gradient(90deg, var(--ed-gold), var(--ed-primary));
  border-radius: 999px;
}

.ed-score-panel p {
  color: var(--ed-text);
  font-size: 0.9rem;
  line-height: 1.45;
  margin: 0;
}

/* Review panel */

.ed-review-panel {
  background: var(--ed-surface-muted);
  border: 1px solid var(--ed-border);
  border-radius: 16px;
  padding: 1rem;
}

.ed-review-panel strong {
  color: var(--ed-text-strong);
  font-size: 0.95rem;
}

.ed-review-panel p {
  color: var(--ed-text);
  margin: 0.35rem 0 0;
  line-height: 1.45;
  font-size: 0.9rem;
}

/* Summary */

.ed-submitted-summary {
  display: grid;
  gap: 0.65rem;
  margin-top: 1rem;
}

.ed-submitted-summary-item {
  background: var(--ed-surface-muted);
  border: 1px solid var(--ed-border);
  border-radius: 14px;
  padding: 0.8rem 0.9rem;
}

.ed-submitted-summary-item span {
  display: block;
  color: var(--ed-muted);
  font-size: 0.68rem;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.07em;
  margin-bottom: 0.25rem;
}

.ed-submitted-summary-item strong {
  color: var(--ed-text-strong);
  font-size: 0.92rem;
  overflow-wrap: anywhere;
}

.ed-close-note {
  color: var(--ed-muted);
  text-align: center;
  font-size: 0.84rem;
  margin-top: 1.15rem;
}

@media (max-width: 640px) {
  .ed-submitted-hero {
    flex-direction: column;
  }

  .ed-score-header {
    flex-direction: column;
  }

  .ed-score-percentage {
    width: fit-content;
  }
}

/* =====================================
   Workspace Settings Page
===================================== */

.ed-settings-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 340px;
  gap: 1.5rem;
  align-items: start;
}

.ed-settings-main,
.ed-settings-side {
  min-width: 0;
}

.ed-settings-form {
  display: grid;
  gap: 0;
}

.ed-settings-form .ed-card-body {
  display: grid;
  gap: 1rem;
}

.ed-settings-form .ed-form-group {
  display: flex;
  flex-direction: column;
  gap: 0.42rem;
}

.ed-settings-form .ed-form-label {
  display: block;
  color: var(--ed-muted);
  font-size: 0.72rem;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.07em;
  margin: 0;
}

.ed-settings-form .ed-input {
  width: 100%;
  min-height: 44px;
  background: var(--ed-surface-muted);
  color: var(--ed-text);
  border: 1px solid var(--ed-border);
  border-radius: 13px;
  padding: 0.68rem 0.78rem;
  font: inherit;
  font-size: 0.92rem;
  font-weight: 650;
  outline: none;
  box-sizing: border-box;
}

.ed-settings-form .ed-input::placeholder {
  color: var(--ed-muted);
  font-weight: 500;
}

.ed-settings-form .ed-input:hover {
  border-color: var(--ed-border-strong);
}

.ed-settings-form .ed-input:focus {
  background: var(--ed-surface);
  border-color: var(--ed-primary);
  box-shadow: 0 0 0 4px var(--ed-primary-soft);
}

.ed-settings-form select.ed-input {
  cursor: pointer;
}

.ed-settings-actions {
  display: flex;
  justify-content: flex-end;
  padding-top: 0.5rem;
}

/* Summary */

.ed-summary-list {
  display: grid;
  gap: 0.65rem;
}

.ed-summary-row {
  background: var(--ed-surface-muted);
  border: 1px solid var(--ed-border);
  border-radius: 14px;
  padding: 0.8rem 0.85rem;
}

.ed-summary-row span {
  display: block;
  color: var(--ed-muted);
  font-size: 0.68rem;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.07em;
  margin-bottom: 0.25rem;
}

.ed-summary-row strong {
  display: block;
  color: var(--ed-text-strong);
  font-size: 0.9rem;
  line-height: 1.35;
  overflow-wrap: anywhere;
}

/* Note */

.ed-settings-note {
  display: flex;
  gap: 0.75rem;
  background: var(--ed-primary-soft);
  border: 1px solid rgba(37, 99, 235, 0.24);
  border-radius: 16px;
  padding: 0.95rem;
}

.ed-settings-note-icon {
  width: 30px;
  height: 30px;
  border-radius: 999px;
  display: grid;
  place-items: center;
  flex: 0 0 auto;
  background: var(--ed-primary);
  color: #ffffff;
  font-weight: 950;
}

.ed-settings-note strong {
  color: var(--ed-text-strong);
  font-size: 0.92rem;
}

.ed-settings-note p {
  color: var(--ed-text);
  margin: 0.3rem 0 0;
  line-height: 1.45;
  font-size: 0.86rem;
}

/* Responsive */

@media (max-width: 1050px) {
  .ed-settings-layout {
    grid-template-columns: 1fr;
  }

  .ed-settings-actions {
    justify-content: stretch;
  }

  .ed-settings-actions .ed-btn {
    width: 100%;
  }
}

/* =====================================
   Workspace Team Page
===================================== */

.ed-team-filter-card {
  border-radius: var(--ed-radius-md);
}

.ed-team-filter-form {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) auto;
  gap: 1rem;
  align-items: end;
}

.ed-team-filter-form .ed-form-group {
  display: flex;
  flex-direction: column;
  gap: 0.42rem;
}

.ed-team-filter-form .ed-form-label {
  display: block;
  color: var(--ed-muted);
  font-size: 0.72rem;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.07em;
  margin: 0;
}

.ed-team-filter-form .ed-input,
.ed-role-update-form .ed-input {
  width: 100%;
  min-height: 44px;
  background: var(--ed-surface-muted);
  color: var(--ed-text);
  border: 1px solid var(--ed-border);
  border-radius: 13px;
  padding: 0.68rem 0.78rem;
  font: inherit;
  font-size: 0.92rem;
  font-weight: 650;
  outline: none;
  box-sizing: border-box;
}

.ed-team-filter-form .ed-input:hover,
.ed-role-update-form .ed-input:hover {
  border-color: var(--ed-border-strong);
}

.ed-team-filter-form .ed-input:focus,
.ed-role-update-form .ed-input:focus {
  background: var(--ed-surface);
  border-color: var(--ed-primary);
  box-shadow: 0 0 0 4px var(--ed-primary-soft);
}

.ed-team-filter-action {
  display: flex;
  align-items: end;
}

.ed-team-filter-action .ed-btn {
  min-height: 44px;
}

/* Team table */

.ed-team-table td {
  vertical-align: middle;
}

.ed-team-person {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  min-width: 210px;
}

.ed-team-avatar {
  width: 38px;
  height: 38px;
  border-radius: 14px;
  background: var(--ed-gold);
  color: var(--ed-on-accent);
  display: grid;
  place-items: center;
  font-weight: 950;
  flex: 0 0 auto;
  box-shadow: 0 8px 18px rgba(var(--ed-gold-rgb), 0.2);
}

.ed-team-person strong {
  display: block;
  color: var(--ed-text-strong);
  font-size: 0.92rem;
}

.ed-team-email {
  color: var(--ed-text);
  font-weight: 650;
  overflow-wrap: anywhere;
}

.ed-role-update-form {
  display: grid;
  grid-template-columns: minmax(150px, 1fr) auto;
  gap: 0.5rem;
  align-items: center;
  min-width: 240px;
}

.ed-input-sm {
  min-height: 36px !important;
  border-radius: 999px !important;
  padding: 0.48rem 0.7rem !important;
  font-size: 0.82rem !important;
}

.ed-team-actions {
  display: flex;
  justify-content: flex-end;
  gap: 0.5rem;
  flex-wrap: wrap;
}

.ed-team-actions form {
  margin: 0;
}

/* Responsive */

@media (max-width: 1050px) {
  .ed-team-filter-form {
    grid-template-columns: 1fr;
  }

  .ed-team-filter-action .ed-btn {
    width: 100%;
  }
}

@media (max-width: 760px) {
  .ed-role-update-form {
    grid-template-columns: 1fr;
    min-width: 180px;
  }

  .ed-role-update-form .ed-btn {
    width: 100%;
  }

  .ed-team-actions {
    justify-content: stretch;
  }

  .ed-team-actions form,
  .ed-team-actions .ed-btn {
    width: 100%;
  }
}

/* =====================================
   Add Team Member Page
===================================== */

.ed-add-team-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 360px;
  gap: 1.5rem;
  align-items: start;
}

.ed-add-team-main,
.ed-add-team-side {
  min-width: 0;
}

.ed-add-team-form {
  display: grid;
  gap: 1rem;
}

.ed-add-team-form .ed-form-group {
  display: flex;
  flex-direction: column;
  gap: 0.42rem;
}

.ed-add-team-form .ed-form-label {
  display: block;
  color: var(--ed-muted);
  font-size: 0.72rem;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.07em;
  margin: 0;
}

.ed-add-team-form .ed-input {
  width: 100%;
  min-height: 44px;
  background: var(--ed-surface-muted);
  color: var(--ed-text);
  border: 1px solid var(--ed-border);
  border-radius: 13px;
  padding: 0.68rem 0.78rem;
  font: inherit;
  font-size: 0.92rem;
  font-weight: 650;
  outline: none;
  box-sizing: border-box;
}

.ed-add-team-form .ed-input::placeholder {
  color: var(--ed-muted);
  font-weight: 500;
}

.ed-add-team-form .ed-input:hover {
  border-color: var(--ed-border-strong);
}

.ed-add-team-form .ed-input:focus {
  background: var(--ed-surface);
  border-color: var(--ed-primary);
  box-shadow: 0 0 0 4px var(--ed-primary-soft);
}

.ed-add-team-form select.ed-input {
  cursor: pointer;
}

.ed-form-help {
  color: var(--ed-muted);
  font-size: 0.82rem;
  line-height: 1.45;
}

.ed-add-team-actions {
  display: flex;
  justify-content: flex-end;
  padding-top: 0.25rem;
}

/* Role guide */

.ed-role-guide-list {
  display: grid;
  gap: 0.75rem;
}

.ed-role-guide-item {
  background: var(--ed-surface-muted);
  border: 1px solid var(--ed-border);
  border-radius: 14px;
  padding: 0.9rem;
}

.ed-role-guide-item span {
  display: block;
  color: var(--ed-text-strong);
  font-size: 0.92rem;
  font-weight: 950;
  margin-bottom: 0.3rem;
}

.ed-role-guide-item p {
  color: var(--ed-muted);
  margin: 0;
  font-size: 0.86rem;
  line-height: 1.45;
}

/* Warning note */

.ed-add-team-note {
  display: flex;
  gap: 0.75rem;
  background: var(--ed-warning-soft);
  border: 1px solid rgba(245, 158, 11, 0.28);
  border-radius: 16px;
  padding: 0.95rem;
}

.ed-add-team-note-icon {
  width: 30px;
  height: 30px;
  border-radius: 999px;
  display: grid;
  place-items: center;
  flex: 0 0 auto;
  background: var(--ed-warning);
  color: var(--ed-on-accent);
  font-weight: 950;
}

.ed-add-team-note strong {
  color: var(--ed-text-strong);
  font-size: 0.92rem;
}

.ed-add-team-note p {
  color: var(--ed-text);
  margin: 0.3rem 0 0;
  line-height: 1.45;
  font-size: 0.86rem;
}

@media (max-width: 1050px) {
  .ed-add-team-layout {
    grid-template-columns: 1fr;
  }

  .ed-add-team-actions {
    justify-content: stretch;
  }

  .ed-add-team-actions .ed-btn {
    width: 100%;
  }
}

.ed-cert-action-row {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  flex-wrap: wrap;
}

/* =====================================
   Certificate Lookup
===================================== */

.ed-cert-lookup-form {
  display: grid;
  gap: 1rem;
  margin-top: 1.5rem;
}

.ed-cert-mini-lookup {
  display: flex;
  gap: 0.6rem;
  margin-top: 1.25rem;
}

.ed-cert-mini-lookup .ed-input {
  min-width: 260px;
}

@media (max-width: 640px) {
  .ed-cert-mini-lookup {
    flex-direction: column;
  }

  .ed-cert-mini-lookup .ed-input,
  .ed-cert-mini-lookup .ed-btn {
    width: 100%;
  }
}

.ed-copy-row {
  display: flex;
  gap: 0.75rem;
  align-items: center;
}

.ed-copy-row .ed-input {
  flex: 1;
}

.ed-code-value {
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
  letter-spacing: -0.04em;
}

.ed-divider {
  border: none;
  border-top: 1px solid var(--ed-border);
  margin: 1.5rem 0;
}

.ed-success-panel {
  background: rgba(16, 185, 129, 0.08);
  border: 1px solid rgba(16, 185, 129, 0.22);
  color: var(--ed-text);
  border-radius: 14px;
  padding: 0.9rem 1rem;
}

.ed-warning-panel {
  background: rgba(245, 158, 11, 0.08);
  border: 1px solid rgba(245, 158, 11, 0.28);
  color: var(--ed-text);
  border-radius: 14px;
  padding: 0.9rem 1rem;
}

.ed-checkbox-row {
  display: flex;
  align-items: flex-start;
  gap: 0.65rem;
  color: var(--ed-text);
  font-size: 0.92rem;
}

.ed-checkbox-row input {
  margin-top: 0.2rem;
}

@media (max-width: 720px) {
  .ed-copy-row {
    flex-direction: column;
    align-items: stretch;
  }
}

/* =====================================
   ExamDesk Compact UI Override
   Paste at bottom of components.css
===================================== */

/* Overall scale */
body {
  font-size: 0.94rem;
}

/* Cards */
.ed-card,
.ed-table-card,
.ed-stat-card,
.card {
  border-radius: 12px !important;
}

.ed-card-header,
.card-header {
  padding: 0.75rem 0.9rem !important;
}

.ed-card-body,
.card-body {
  padding: 0.9rem !important;
}

.ed-empty {
  padding: 1rem !important;
  border-radius: 12px !important;
}

/* Stat cards */
.ed-stat-label {
  font-size: 0.66rem !important;
  margin-bottom: 0.25rem !important;
}

.ed-stat-value {
  font-size: 1.45rem !important;
}

.ed-stat-note {
  font-size: 0.76rem !important;
  margin-top: 0.3rem !important;
}

.ed-stat-card::before {
  height: 3px !important;
}

/* Tables */
.ed-table th,
.table th {
  padding: 0.62rem 0.75rem !important;
  font-size: 0.66rem !important;
}

.ed-table td,
.table td {
  padding: 0.68rem 0.75rem !important;
  font-size: 0.88rem !important;
}

/* Buttons */
.ed-btn {
  padding: 0.45rem 0.78rem !important;
  font-size: 0.86rem !important;
  border-radius: 999px !important;
  min-height: 38px;
}

.ed-btn-sm {
  padding: 0.32rem 0.6rem !important;
  font-size: 0.78rem !important;
  min-height: 32px;
}

/* Badges / statuses */
.ed-status {
  padding: 0.25rem 0.5rem !important;
  font-size: 0.66rem !important;
}

/* Forms */
.ed-form-label {
  font-size: 0.66rem !important;
  margin-bottom: 0.25rem !important;
}

.form-control,
.form-select,
textarea,
.ed-input,
.ed-public-input {
  min-height: 38px !important;
  padding: 0.52rem 0.65rem !important;
  font-size: 0.86rem !important;
  border-radius: 10px !important;
}

textarea,
textarea.ed-input,
textarea.ed-public-input {
  min-height: 78px !important;
}

/* Topbar / account */
.ed-topbar-actions {
  gap: 0.5rem !important;
}

.ed-account-menu summary {
  padding: 0.34rem 0.6rem !important;
  font-size: 0.84rem !important;
}

.ed-avatar {
  width: 24px !important;
  height: 24px !important;
  font-size: 0.78rem !important;
}

.ed-account-dropdown {
  border-radius: 12px !important;
  min-width: 190px !important;
}

.ed-account-dropdown a,
.ed-account-dropdown button {
  padding: 0.55rem 0.65rem !important;
  border-radius: 9px !important;
  font-size: 0.84rem !important;
}

/* Launch / form panels */
.ed-launch-full {
  border-radius: 14px !important;
}

.ed-launch-full-header {
  padding: 0.85rem 0.95rem !important;
}

.ed-launch-form {
  gap: 0.75rem !important;
}

.ed-form-grid-3,
.ed-form-grid-2 {
  gap: 0.75rem !important;
}

.ed-credit-pill {
  padding: 0.35rem 0.6rem !important;
  font-size: 0.72rem !important;
}

.ed-credit-note,
.ed-check-row-compact {
  padding: 0.62rem 0.7rem !important;
  border-radius: 11px !important;
  font-size: 0.82rem !important;
}

/* Assessment overview */
.ed-description-panel {
  padding: 0.8rem !important;
  border-radius: 12px !important;
  margin-bottom: 0.8rem !important;
}

.ed-description-panel p {
  font-size: 0.88rem !important;
  line-height: 1.45 !important;
}

.ed-info-grid {
  gap: 0.65rem !important;
}

.ed-info-item {
  padding: 0.7rem !important;
  min-height: 68px !important;
  border-radius: 11px !important;
}

.ed-info-item span {
  font-size: 0.66rem !important;
}

.ed-info-item strong {
  font-size: 0.88rem !important;
}

.ed-info-highlight strong {
  font-size: 1.05rem !important;
}

/* Candidate report */
.ed-report-layout {
  grid-template-columns: 320px minmax(0, 1fr) !important;
  gap: 1rem !important;
}

.ed-candidate-avatar {
  width: 44px !important;
  height: 44px !important;
  border-radius: 14px !important;
  font-size: 1.1rem !important;
}

.ed-candidate-block h2 {
  font-size: 0.98rem !important;
}

.ed-callout,
.ed-integrity-row,
.ed-question-card,
.ed-answer-box,
.ed-explanation-box {
  border-radius: 12px !important;
}

.ed-question-card {
  padding: 0.85rem !important;
}

.ed-question-text,
.ed-explanation-box p {
  line-height: 1.45 !important;
  font-size: 0.9rem !important;
}

/* Public assessment shell */
.ed-public-topbar {
  max-width: 680px !important;
  padding: 0.75rem 0.85rem 0.5rem !important;
}

.ed-public-content {
  max-width: 680px !important;
  padding: 0.35rem 0.85rem 2rem !important;
}

.ed-brand-mark {
  width: 32px !important;
  height: 32px !important;
  border-radius: 11px !important;
}

.ed-public-brand strong {
  font-size: 0.92rem !important;
}

.ed-public-brand small {
  font-size: 0.72rem !important;
}

/* Public start card */
.ed-start-card,
.ed-start-card-compact {
  border-radius: 14px !important;
}

.ed-start-hero,
.ed-start-hero-compact {
  padding: 0.95rem 1rem !important;
}

.ed-start-hero h1,
.ed-start-hero-compact h1 {
  font-size: clamp(1.25rem, 2.3vw, 1.65rem) !important;
  line-height: 1.1 !important;
}

.ed-start-hero p,
.ed-start-hero-compact p {
  font-size: 0.8rem !important;
}

.ed-start-body,
.ed-start-body-compact {
  padding: 0.85rem 0.95rem 1rem !important;
}

.ed-instruction-panel,
.ed-instruction-panel-compact,
.ed-warning-panel,
.ed-warning-panel-compact {
  padding: 0.68rem 0.72rem !important;
  border-radius: 11px !important;
  margin-bottom: 0.7rem !important;
}

.ed-instruction-icon {
  width: 24px !important;
  height: 24px !important;
  font-size: 0.75rem !important;
}

.ed-instruction-panel p,
.ed-warning-panel p {
  font-size: 0.78rem !important;
  line-height: 1.35 !important;
}

.ed-start-meta-strip {
  gap: 0.5rem !important;
  margin-bottom: 0.8rem !important;
}

.ed-start-meta-item {
  padding: 0.55rem 0.62rem !important;
  min-height: 50px !important;
  border-radius: 10px !important;
}

.ed-start-meta-item span {
  font-size: 0.6rem !important;
}

.ed-start-meta-item strong {
  font-size: 0.84rem !important;
}

.ed-form-heading,
.ed-form-heading-compact {
  padding-top: 0.75rem !important;
  margin-bottom: 0.65rem !important;
}

.ed-form-heading h2,
.ed-form-heading-compact h2 {
  font-size: 0.95rem !important;
}

.ed-form-heading p,
.ed-form-heading-compact p {
  font-size: 0.78rem !important;
}

.ed-candidate-start-form {
  gap: 0.7rem !important;
}

.ed-candidate-form-grid {
  gap: 0.6rem !important;
}

.ed-start-button {
  min-height: 40px !important;
  font-size: 0.88rem !important;
}

/* Assessment room */
@supports selector(:has(*)) {
  .ed-public-content:has(.ed-assessment-room) {
    max-width: 900px !important;
  }
}

.ed-assessment-room {
  gap: 0.8rem !important;
}

.ed-assessment-room-header {
  padding: 0.95rem !important;
  border-radius: 14px !important;
}

.ed-assessment-room-header h1 {
  font-size: clamp(1.25rem, 2.4vw, 1.75rem) !important;
}

.ed-assessment-room-header p {
  font-size: 0.84rem !important;
}

.ed-assessment-timebox {
  padding: 0.6rem 0.7rem !important;
  min-width: 105px !important;
  border-radius: 12px !important;
}

.ed-assessment-notice {
  padding: 0.72rem !important;
  border-radius: 12px !important;
}

.ed-public-question-card {
  border-radius: 14px !important;
}

.ed-public-question-header {
  padding: 0.72rem 0.85rem !important;
}

.ed-public-question-body {
  padding: 0.85rem !important;
}

.ed-public-question-text {
  font-size: 0.95rem !important;
  line-height: 1.45 !important;
  margin-bottom: 0.8rem !important;
}

.ed-option-list {
  gap: 0.5rem !important;
}

.ed-option-card {
  padding: 0.68rem !important;
  border-radius: 12px !important;
  grid-template-columns: 22px minmax(0, 1fr) !important;
}

.ed-option-marker {
  width: 19px !important;
  height: 19px !important;
}

.ed-option-text {
  font-size: 0.88rem !important;
}

.ed-submit-panel {
  padding: 0.9rem !important;
  border-radius: 14px !important;
}

.ed-submit-panel h2 {
  font-size: 1rem !important;
}

/* Submitted page */
.ed-submitted-wrap {
  max-width: 660px !important;
}

.ed-submitted-card {
  border-radius: 14px !important;
}

.ed-submitted-hero {
  padding: 1rem !important;
}

.ed-submitted-icon {
  width: 38px !important;
  height: 38px !important;
  font-size: 1.1rem !important;
}

.ed-submitted-hero h1 {
  font-size: clamp(1.3rem, 2.4vw, 1.75rem) !important;
}

.ed-submitted-body {
  padding: 0.95rem !important;
}

.ed-score-panel,
.ed-review-panel,
.ed-submitted-summary-item {
  padding: 0.78rem !important;
  border-radius: 12px !important;
}

.ed-score-header strong {
  font-size: 1.25rem !important;
}

/* Settings/team pages */
.ed-settings-layout,
.ed-add-team-layout {
  gap: 1rem !important;
}

.ed-settings-layout {
  grid-template-columns: minmax(0, 1fr) 300px !important;
}

.ed-add-team-layout {
  grid-template-columns: minmax(0, 1fr) 320px !important;
}

.ed-team-filter-form {
  gap: 0.75rem !important;
}

.ed-team-avatar {
  width: 32px !important;
  height: 32px !important;
  border-radius: 11px !important;
}

.ed-team-person strong {
  font-size: 0.86rem !important;
}

/* Mobile cleanup */
@media (max-width: 760px) {
  .ed-report-layout,
  .ed-settings-layout,
  .ed-add-team-layout {
    grid-template-columns: 1fr !important;
  }

  .ed-card-body,
  .card-body {
    padding: 0.8rem !important;
  }

  .ed-public-content {
    padding-inline: 0.7rem !important;
  }

  .ed-start-hero,
  .ed-assessment-room-header,
  .ed-submitted-hero {
    padding: 0.85rem !important;
  }

  .ed-btn {
    width: 100%;
  }
}
/* =====================================
   Extra Slim Button Override
   Paste below the compact UI override
===================================== */

.ed-btn,
.btn {
  min-height: 34px !important;
  padding: 0.30rem 0.68rem !important;
  font-size: 0.82rem !important;
  line-height: 1 !important;
  border-radius: 9px !important;
}

.ed-btn-sm,
.btn-sm {
  min-height: 28px !important;
  padding: 0.25rem 0.52rem !important;
  font-size: 0.74rem !important;
  line-height: 1 !important;
}

/* Buttons inside tables should be even tighter */
.ed-table .ed-btn,
.table .ed-btn,
.ed-table .btn,
.table .btn {
  min-height: 30px !important;
  padding: 0.16rem 0.45rem !important;
  font-size: 0.56rem !important;
}

/* Full-width action buttons should not look chunky */
.ed-btn-block,
.ed-start-button,
.ed-candidate-start-form .ed-btn-gold {
  min-height: 38px !important;
  padding-block: 0.42rem !important;
  font-size: 0.84rem !important;
}

/* Icon/avatar style buttons */
.ed-theme-toggle,
.ed-account-menu summary {
  min-height: 32px !important;
  padding: 0.28rem 0.55rem !important;
  font-size: 0.8rem !important;
}

/* =====================================
   Compact Workspace Tables
===================================== */

.ed-table-compact th {
  padding: 0.55rem 0.75rem !important;
  font-size: 0.64rem !important;
}

.ed-table-compact td {
  padding: 0.62rem 0.75rem !important;
  font-size: 0.86rem !important;
}

.ed-table-compact td strong {
  font-size: 0.88rem;
}

.ed-table-compact .ed-small {
  font-size: 0.76rem;
  margin-top: 0.12rem;
}

.ed-table-compact .ed-status {
  font-size: 0.64rem !important;
  padding: 0.22rem 0.46rem !important;
}

.ed-table-compact .ed-btn-sm {
  min-height: 28px !important;
  padding: 0.24rem 0.5rem !important;
  font-size: 0.72rem !important;
}

/* =====================================
   Sticky Launch Capacity Sidebar
===================================== */

.ed-two-col {
  align-items: start;
  overflow: visible !important;
}

.ed-main-col,
.ed-side-col {
  min-width: 0;
}

.ed-sticky-side {
  position: sticky;
  top: 1rem;
  align-self: start;
  height: fit-content;
  z-index: 10;
}

/* Compact Launch Capacity Card */

.ed-capacity-card .ed-card-header {
  padding: 0.75rem 0.9rem !important;
}

.ed-capacity-card .ed-card-body {
  padding: 0.85rem !important;
}

.ed-capacity-main {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  background: var(--ed-primary-soft);
  border: 1px solid rgba(37, 99, 235, 0.18);
  border-radius: 12px;
  padding: 0.7rem 0.8rem;
  margin-bottom: 0.7rem;
}

.ed-capacity-main span {
  color: var(--ed-muted);
  font-size: 0.66rem;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.07em;
}

.ed-capacity-main strong {
  color: var(--ed-primary);
  font-size: 1.3rem;
  font-weight: 950;
  line-height: 1;
}

.ed-capacity-list {
  display: grid;
  gap: 0.35rem;
}

.ed-capacity-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  padding: 0.5rem 0;
  border-bottom: 1px solid var(--ed-border);
}

.ed-capacity-row:last-child {
  border-bottom: 0;
}

.ed-capacity-row span {
  color: var(--ed-muted);
  font-size: 0.76rem;
  font-weight: 750;
}

.ed-capacity-row strong {
  color: var(--ed-text-strong);
  font-size: 0.86rem;
  font-weight: 900;
}

/* Mobile: normal card behavior */

@media (max-width: 900px) {
  .ed-sticky-side {
    position: static;
    top: auto;
  }
}

.ed-template-questions-cell {
  text-align: center;
  width: 90px;
}

.ed-template-questions-cell strong {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 32px;
  height: 28px;
  border-radius: 999px;
  background: var(--ed-surface-muted);
  border: 1px solid var(--ed-border);
  color: var(--ed-text-strong);
  font-size: 0.84rem;
  font-weight: 900;
}

/* =====================================
   Template Detail / Launch Cleanup
===================================== */

.ed-template-context-card .ed-card-body {
  padding: 0.85rem 0.95rem !important;
}

.ed-template-context-main {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 1rem;
  align-items: start;
  margin-bottom: 0.8rem;
}

.ed-template-context-main strong {
  display: block;
  color: var(--ed-text-strong);
  font-size: 0.92rem;
  margin-bottom: 0.2rem;
}

.ed-template-context-main p {
  color: var(--ed-muted);
  font-size: 0.84rem;
  line-height: 1.4;
  margin: 0;
}

.ed-template-context-status {
  display: flex;
  gap: 0.4rem;
  flex-wrap: wrap;
  justify-content: flex-end;
}

.ed-template-context-strip {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0.5rem;
}

.ed-template-context-strip div {
  background: var(--ed-surface-muted);
  border: 1px solid var(--ed-border);
  border-radius: 11px;
  padding: 0.55rem 0.65rem;
}

.ed-template-context-strip span {
  display: block;
  color: var(--ed-muted);
  font-size: 0.62rem;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.07em;
  margin-bottom: 0.18rem;
}

.ed-template-context-strip strong {
  color: var(--ed-text-strong);
  font-size: 0.85rem;
  font-weight: 900;
  line-height: 1.15;
}

/* Launch form */

.ed-launch-clean-card .ed-card-header {
  padding: 0.78rem 0.95rem !important;
}

.ed-launch-clean-card .ed-card-body {
  padding: 0.95rem !important;
}

.ed-launch-clean-form {
  display: grid;
  gap: 0;
}

.ed-launch-clean-form .ed-form-group {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}

.ed-launch-clean-form .ed-input {
  min-height: 38px !important;
  padding: 0.52rem 0.65rem !important;
  border-radius: 10px !important;
  font-size: 0.86rem !important;
}

.ed-textarea-compact {
  min-height: 76px !important;
}

.ed-launch-estimate {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.55rem;
}

.ed-launch-estimate div {
  background: var(--ed-surface-muted);
  border: 1px solid var(--ed-border);
  border-radius: 11px;
  padding: 0.62rem 0.7rem;
}

.ed-launch-estimate span {
  display: block;
  color: var(--ed-muted);
  font-size: 0.62rem;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.07em;
  margin-bottom: 0.18rem;
}

.ed-launch-estimate strong {
  color: var(--ed-text-strong);
  font-size: 0.95rem;
  font-weight: 950;
}

.ed-credit-warning {
  background: var(--ed-warning-soft);
  border: 1px solid rgba(245, 158, 11, 0.3);
  color: var(--ed-warning);
  border-radius: 11px;
  padding: 0.65rem 0.75rem;
  font-size: 0.84rem;
  font-weight: 750;
}

/* Certificate area */

.ed-cert-simple-panel {
  border: 1px solid var(--ed-border);
  border-radius: 14px;
  background: var(--ed-surface-muted);
  padding: 0.85rem;
}

.ed-cert-simple-head {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 1rem;
  align-items: start;
  margin-bottom: 0.75rem;
}

.ed-cert-simple-head strong {
  display: block;
  color: var(--ed-text-strong);
  font-size: 0.92rem;
  margin-bottom: 0.2rem;
}

.ed-cert-simple-head p {
  color: var(--ed-muted);
  font-size: 0.82rem;
  line-height: 1.35;
  margin: 0;
}

.ed-cert-toggle-row {
  background: var(--ed-surface) !important;
}

.ed-cert-settings {
  margin-top: 0.85rem;
  padding-top: 0.85rem;
  border-top: 1px solid var(--ed-border);
}

.ed-cert-cost-note {
  background: var(--ed-gold-soft);
  border: 1px solid rgba(var(--ed-gold-rgb), 0.28);
  border-radius: 11px;
  padding: 0.65rem 0.75rem;
  color: var(--ed-text);
  font-size: 0.82rem;
  line-height: 1.4;
}

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

.ed-cert-options {
  display: grid;
  gap: 0.6rem;
}

.ed-cert-disabled-note {
  background: var(--ed-surface-muted);
  border: 1px dashed var(--ed-border-strong);
  border-radius: 13px;
  padding: 0.8rem;
}

.ed-cert-disabled-note strong {
  color: var(--ed-text-strong);
  font-size: 0.9rem;
}

.ed-cert-disabled-note p {
  color: var(--ed-muted);
  font-size: 0.82rem;
  margin: 0.25rem 0 0;
}

/* Advanced settings */

.ed-launch-advanced {
  border: 1px solid var(--ed-border);
  border-radius: 13px;
  background: var(--ed-surface);
  overflow: hidden;
}

.ed-launch-advanced summary {
  cursor: pointer;
  list-style: none;
  padding: 0.7rem 0.85rem;
  color: var(--ed-text-strong);
  font-size: 0.88rem;
  font-weight: 850;
  background: var(--ed-surface-muted);
}

.ed-launch-advanced summary::-webkit-details-marker {
  display: none;
}

.ed-launch-advanced-body {
  padding: 0.85rem;
  border-top: 1px solid var(--ed-border);
}

.ed-launch-actions {
  display: flex;
  justify-content: flex-end;
}

.ed-launch-actions .ed-btn {
  min-width: 160px;
}

/* Rounds accordion */

.ed-rounds-accordion-card .ed-card-body {
  display: grid;
  gap: 0.7rem;
}

.ed-rounds-accordion {
  border: 1px solid var(--ed-border);
  border-radius: 13px;
  background: var(--ed-surface);
  overflow: hidden;
}

.ed-rounds-accordion summary {
  list-style: none;
  cursor: pointer;
  padding: 0.72rem 0.85rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  background: var(--ed-surface-muted);
  border-bottom: 1px solid transparent;
}

.ed-rounds-accordion[open] summary {
  border-bottom-color: var(--ed-border);
}

.ed-rounds-accordion summary::-webkit-details-marker {
  display: none;
}

.ed-rounds-accordion summary span {
  color: var(--ed-text-strong);
  font-size: 0.88rem;
  font-weight: 850;
}

.ed-rounds-accordion summary strong {
  min-width: 26px;
  height: 24px;
  border-radius: 999px;
  display: inline-grid;
  place-items: center;
  background: var(--ed-surface);
  border: 1px solid var(--ed-border);
  color: var(--ed-text-strong);
  font-size: 0.78rem;
  font-weight: 950;
}

.ed-round-list {
  display: grid;
}

.ed-round-item {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 0.85rem;
  padding: 0.75rem 0.85rem;
  border-bottom: 1px solid var(--ed-border);
}

.ed-round-item:last-child {
  border-bottom: 0;
}

.ed-round-item-main {
  min-width: 0;
}

.ed-round-item-main strong {
  display: block;
  color: var(--ed-text-strong);
  font-size: 0.9rem;
  line-height: 1.25;
}

.ed-round-item-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem 0.65rem;
  margin-top: 0.25rem;
  color: var(--ed-muted);
  font-size: 0.76rem;
  font-weight: 700;
}

.ed-round-item-actions {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  white-space: nowrap;
}

.ed-empty-compact {
  padding: 0.8rem !important;
  margin: 0.75rem;
  font-size: 0.84rem;
}

/* Responsive */

@media (max-width: 900px) {
  .ed-template-context-main,
  .ed-cert-simple-head {
    grid-template-columns: 1fr;
  }

  .ed-template-context-status {
    justify-content: flex-start;
  }

  .ed-template-context-strip,
  .ed-launch-estimate,
  .ed-cert-grid,
  .ed-form-grid-3,
  .ed-form-grid-2 {
    grid-template-columns: 1fr !important;
  }

  .ed-launch-actions {
    justify-content: stretch;
  }

  .ed-launch-actions .ed-btn {
    width: 100%;
  }
}

@media (max-width: 680px) {
  .ed-round-item {
    grid-template-columns: 1fr;
  }

  .ed-round-item-actions {
    justify-content: space-between;
  }
}

/* =====================================
   Cleaner Launch Flow
===================================== */

.ed-launch-flow-card .ed-card-header {
  padding: 0.8rem 0.95rem !important;
}

.ed-launch-flow-card .ed-card-body {
  padding: 0.95rem !important;
}

.ed-launch-flow-form {
  display: grid;
  gap: 1rem;
}

.ed-launch-section {
  border: 1px solid var(--ed-border);
  border-radius: 13px;
  background: var(--ed-surface);
  padding: 0.85rem;
}

.ed-launch-section-title {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 0.75rem;
}

.ed-launch-section-title strong {
  color: var(--ed-text-strong);
  font-size: 0.92rem;
}

.ed-launch-section-title span {
  color: var(--ed-muted);
  font-size: 0.68rem;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.07em;
}

.ed-launch-summary {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.6rem;
}

.ed-launch-summary div {
  background: var(--ed-surface-muted);
  border: 1px solid var(--ed-border);
  border-radius: 11px;
  padding: 0.62rem 0.7rem;
}

.ed-launch-summary span {
  display: block;
  color: var(--ed-muted);
  font-size: 0.62rem;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.07em;
  margin-bottom: 0.18rem;
}

.ed-launch-summary strong {
  color: var(--ed-text-strong);
  font-size: 0.95rem;
  font-weight: 950;
}

/* Certificate flow */

.ed-cert-flow-section {
  background: var(--ed-surface-muted);
}

.ed-cert-enable-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 1rem;
  cursor: pointer;
  margin: 0;
}

.ed-cert-enable-row strong {
  display: block;
  color: var(--ed-text-strong);
  font-size: 0.92rem;
  margin-bottom: 0.18rem;
}

.ed-cert-enable-row span {
  display: block;
  color: var(--ed-muted);
  font-size: 0.8rem;
  line-height: 1.35;
}

.ed-cert-enable-row input {
  width: 18px;
  height: 18px;
  accent-color: var(--ed-primary);
}

.ed-cert-flow-settings {
  margin-top: 0.85rem;
  padding-top: 0.85rem;
  border-top: 1px solid var(--ed-border);
}

.ed-cert-advanced,
.ed-launch-advanced {
  border: 1px solid var(--ed-border);
  border-radius: 12px;
  background: var(--ed-surface);
  overflow: hidden;
}

.ed-cert-advanced summary,
.ed-launch-advanced summary {
  cursor: pointer;
  list-style: none;
  padding: 0.68rem 0.78rem;
  color: var(--ed-text-strong);
  font-size: 0.86rem;
  font-weight: 850;
  background: var(--ed-surface-muted);
}

.ed-cert-advanced summary::-webkit-details-marker,
.ed-launch-advanced summary::-webkit-details-marker {
  display: none;
}

.ed-cert-advanced-body,
.ed-launch-advanced-body {
  padding: 0.85rem;
  border-top: 1px solid var(--ed-border);
}

.ed-launch-final-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.ed-launch-final-row .ed-btn {
  min-width: 160px;
}

/* Warning */

.ed-credit-warning {
  background: var(--ed-warning-soft);
  border: 1px solid rgba(245, 158, 11, 0.3);
  color: var(--ed-warning);
  border-radius: 11px;
  padding: 0.65rem 0.75rem;
  font-size: 0.84rem;
  font-weight: 750;
}

/* Mobile */

@media (max-width: 900px) {
  .ed-launch-summary,
  .ed-form-grid-3,
  .ed-form-grid-2 {
    grid-template-columns: 1fr !important;
  }

  .ed-launch-final-row {
    flex-direction: column;
    align-items: stretch;
  }

  .ed-launch-final-row .ed-btn {
    width: 100%;
  }
}

/* =====================================
   Round Launch Flow - Cleaner Setup
===================================== */

.ed-launch-flow-card .ed-card-header {
  padding: 0.8rem 0.95rem !important;
}

.ed-launch-flow-card .ed-card-body {
  padding: 0.95rem !important;
}

.ed-launch-flow-form {
  display: grid;
  gap: 1rem;
}

.ed-launch-section {
  border: 1px solid var(--ed-border);
  border-radius: 14px;
  background: var(--ed-surface);
  padding: 0.9rem;
}

.ed-launch-section-title {
  margin-bottom: 0.75rem;
}

.ed-launch-section-title strong {
  display: block;
  color: var(--ed-text-strong);
  font-size: 0.95rem;
  line-height: 1.2;
}

.ed-launch-section-title span {
  display: block;
  color: var(--ed-muted);
  font-size: 0.78rem;
  margin-top: 0.15rem;
}

.ed-launch-summary {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.6rem;
}

.ed-launch-summary div {
  background: var(--ed-surface-muted);
  border: 1px solid var(--ed-border);
  border-radius: 12px;
  padding: 0.65rem 0.75rem;
}

.ed-launch-summary span {
  display: block;
  color: var(--ed-muted);
  font-size: 0.62rem;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.07em;
  margin-bottom: 0.18rem;
}

.ed-launch-summary strong {
  color: var(--ed-text-strong);
  font-size: 0.95rem;
  font-weight: 950;
}

/* Certificate section */

.ed-cert-flow-section {
  background: var(--ed-surface-muted);
}

.ed-cert-enable-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 1rem;
  margin: 0;
  cursor: pointer;
}

.ed-cert-enable-row strong {
  display: block;
  color: var(--ed-text-strong);
  font-size: 0.95rem;
  line-height: 1.2;
}

.ed-cert-enable-row span {
  display: block;
  color: var(--ed-muted);
  font-size: 0.8rem;
  line-height: 1.35;
  margin-top: 0.15rem;
}

.ed-cert-enable-row input {
  width: 18px;
  height: 18px;
  accent-color: var(--ed-primary);
}

.ed-cert-flow-settings {
  margin-top: 0.9rem;
  padding-top: 0.9rem;
  border-top: 1px solid var(--ed-border);
}

.ed-round-override-note {
  background: var(--ed-primary-soft);
  border: 1px solid rgba(37, 99, 235, 0.22);
  color: var(--ed-text);
  border-radius: 12px;
  padding: 0.65rem 0.75rem;
  font-size: 0.82rem;
  line-height: 1.4;
  margin-bottom: 0.85rem;
}

.ed-cert-group {
  background: var(--ed-surface);
  border: 1px solid var(--ed-border);
  border-radius: 12px;
  padding: 0.85rem;
}

.ed-cert-group-heading {
  margin-bottom: 0.75rem;
}

.ed-cert-group-heading strong {
  display: block;
  color: var(--ed-text-strong);
  font-size: 0.9rem;
}

.ed-cert-group-heading span {
  display: block;
  color: var(--ed-muted);
  font-size: 0.76rem;
  margin-top: 0.15rem;
}

.ed-cert-subsection,
.ed-launch-advanced {
  border: 1px solid var(--ed-border);
  border-radius: 12px;
  background: var(--ed-surface);
  overflow: hidden;
}

.ed-cert-subsection {
  margin-top: 0.75rem;
}

.ed-cert-subsection summary,
.ed-launch-advanced summary {
  list-style: none;
  cursor: pointer;
  padding: 0.68rem 0.78rem;
  background: var(--ed-surface);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.ed-cert-subsection[open] summary,
.ed-launch-advanced[open] summary {
  border-bottom: 1px solid var(--ed-border);
  background: var(--ed-surface-muted);
}

.ed-cert-subsection summary::-webkit-details-marker,
.ed-launch-advanced summary::-webkit-details-marker {
  display: none;
}

.ed-cert-subsection summary span,
.ed-launch-advanced summary span {
  color: var(--ed-text-strong);
  font-size: 0.86rem;
  font-weight: 850;
}

.ed-cert-subsection summary small,
.ed-launch-advanced summary small {
  color: var(--ed-muted);
  font-size: 0.74rem;
}

.ed-cert-subsection-body,
.ed-launch-advanced-body {
  padding: 0.85rem;
}

/* Final action */

.ed-launch-final-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  border-top: 1px solid var(--ed-border);
  padding-top: 1rem;
}

.ed-launch-final-row strong {
  display: block;
  color: var(--ed-text-strong);
  font-size: 0.9rem;
}

.ed-launch-final-row span {
  display: block;
  color: var(--ed-muted);
  font-size: 0.78rem;
  margin-top: 0.12rem;
}

.ed-launch-final-row .ed-btn {
  min-width: 160px;
}

/* Warning */

.ed-credit-warning {
  background: var(--ed-warning-soft);
  border: 1px solid rgba(245, 158, 11, 0.3);
  color: var(--ed-warning);
  border-radius: 11px;
  padding: 0.65rem 0.75rem;
  font-size: 0.84rem;
  font-weight: 750;
}

/* Mobile */

@media (max-width: 900px) {
  .ed-launch-summary,
  .ed-form-grid-3,
  .ed-form-grid-2 {
    grid-template-columns: 1fr !important;
  }

  .ed-cert-subsection summary,
  .ed-launch-advanced summary {
    flex-direction: column;
    align-items: flex-start;
  }

  .ed-launch-final-row {
    flex-direction: column;
    align-items: stretch;
  }

  .ed-launch-final-row .ed-btn {
    width: 100%;
  }
}
/* =====================================
   Flat Round Setup Cards
===================================== */

.ed-launch-setup-head {
  margin-bottom: 0.5rem;
}

.ed-launch-setup-head strong {
  display: block;
  color: var(--ed-text-strong);
  font-size: 0.95rem;
  line-height: 1.2;
}

.ed-launch-setup-head span {
  display: block;
  color: var(--ed-muted);
  font-size: 0.78rem;
  margin-top: 0.15rem;
}

.ed-launch-setup-grid {
  display: grid;
  grid-template-columns: 1.5fr 0.8fr 0.8fr;
  gap: 0.6rem;
}

.ed-launch-setup-card {
  background: var(--ed-surface-muted);
  border: 1px solid var(--ed-border);
  border-radius: 12px;
  padding: 0.68rem 0.75rem;
}

.ed-launch-setup-card .ed-form-label {
  display: block;
  color: var(--ed-muted);
  font-size: 0.62rem !important;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.07em;
  margin-bottom: 0.35rem !important;
}

.ed-launch-setup-card .ed-input {
  min-height: 38px !important;
  padding: 0.52rem 0.65rem !important;
  border-radius: 10px !important;
  background: var(--ed-surface);
  border: 1px solid var(--ed-border);
  font-size: 0.86rem !important;
}

.ed-launch-setup-card-wide {
  min-width: 0;
}

/* remove extra boxed feeling from old section if still present */
.ed-launch-section {
  border: 0 !important;
  background: transparent !important;
  padding: 0 !important;
}

/* mobile */
@media (max-width: 900px) {
  .ed-launch-setup-grid {
    grid-template-columns: 1fr !important;
  }
}

/* =====================================
   Extra helper for remaining open rounds
   Uses existing ed-rounds-accordion styles
===================================== */

.ed-more-rounds {
  border-top: 1px solid var(--ed-border);
}

.ed-more-rounds > summary {
  list-style: none;
  cursor: pointer;
  padding: 0.65rem 0.85rem;
  color: var(--ed-primary);
  font-size: 0.84rem;
  font-weight: 850;
  background: var(--ed-surface);
}

.ed-more-rounds > summary::-webkit-details-marker {
  display: none;
}

.ed-more-rounds[open] > summary {
  border-bottom: 1px solid var(--ed-border);
}

/* =====================================
   Space Between Round Accordions
===================================== */

.ed-rounds-page-card .ed-card-body {
  display: block !important;
  padding: 0.9rem !important;
}

.ed-rounds-accordion + .ed-rounds-accordion {
  margin-top: 0.85rem;
}

/* Optional: makes each accordion feel like its own section */
.ed-rounds-accordion {
  border-radius: 13px;
  overflow: hidden;
}
/* =====================================
   Round Access Cleanup
===================================== */

.ed-round-access-header {
  padding: 1rem 1.15rem !important;
}

.ed-round-access-header h2 {
  font-size: 1.05rem !important;
  margin-bottom: 0.25rem !important;
}

.ed-round-access-header p {
  font-size: 0.86rem !important;
}

.ed-round-access-body-clean {
  display: block !important;
  padding: 0.95rem 1.15rem !important;
}

.ed-url-box {
  max-width: 680px;
  min-height: 42px;
  padding: 0.65rem 0.8rem !important;
  border-radius: 12px !important;
  font-size: 0.88rem !important;
}

.ed-access-actions-compact {
  margin-top: 0.75rem !important;
  display: flex;
  align-items: center;
  gap: 0.55rem;
  flex-wrap: wrap;
}

.ed-access-actions-compact .ed-btn {
  width: auto !important;
  min-height: 34px !important;
  padding: 0.34rem 0.68rem !important;
  font-size: 0.8rem !important;
}

/* =====================================
   Round Detail Table Cleanup
===================================== */

.ed-round-detail-table th {
  padding: 0.55rem 0.7rem !important;
  font-size: 0.63rem !important;
  white-space: nowrap;
}

.ed-round-detail-table td {
  padding: 0.65rem 0.7rem !important;
  font-size: 0.85rem !important;
  vertical-align: middle;
}

.ed-round-detail-table td strong {
  font-size: 0.86rem;
}

.ed-round-detail-table .ed-status {
  font-size: 0.64rem !important;
  padding: 0.22rem 0.46rem !important;
}

.ed-round-detail-table .ed-btn-sm {
  width: auto !important;
  min-height: 28px !important;
  padding: 0.24rem 0.5rem !important;
  font-size: 0.72rem !important;
}

/* =====================================
   Round Access Compact Fix
===================================== */

.ed-round-access-body-clean {
  padding: 0.85rem 1rem 0.95rem !important;
}

.ed-access-label {
  margin-bottom: 0.35rem !important;
  font-size: 0.68rem !important;
}

.ed-url-box {
  max-width: 690px;
  min-height: 40px !important;
  padding: 0.55rem 0.75rem !important;
  border-radius: 12px !important;
  font-size: 0.88rem !important;
  line-height: 1.25 !important;
  display: flex;
  align-items: center;
}

/* Button row */
.ed-access-actions-compact {
  margin-top: 0.65rem !important;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  flex-wrap: wrap;
}

/* Force Open Link and Copy Link to match */
.ed-access-actions-compact .ed-btn {
  width: auto !important;
  min-height: 36px !important;
  height: 36px !important;
  padding: 0 0.78rem !important;
  font-size: 0.8rem !important;
  line-height: 1 !important;
  border-radius: 9px !important;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

/* Make soft button visually equal height */
.ed-access-actions-compact .ed-btn-soft {
  background: var(--ed-surface) !important;
  border: 1px solid var(--ed-border) !important;
}

/* =====================================
   Public Access Page Alignment
===================================== */

.ed-access-content {
  padding-top: clamp(3rem, 7vh, 5rem);
  max-width: 620px;
}

.ed-access-card {
  border-radius: var(--ed-radius-lg);
}

.ed-access-hero {
  padding: 1.15rem 1.25rem;
}

.ed-access-hero h1 {
  font-size: clamp(1.45rem, 2.8vw, 2rem);
  margin-bottom: 0.35rem;
}

.ed-access-hero p {
  font-size: 0.88rem;
}

@media (max-width: 680px) {
  .ed-access-content {
    padding-top: 2rem;
  }
}
/* =====================================
   Public Certificate Lookup Page
===================================== */

.ed-cert-lookup-content {
  max-width: 620px;
  padding-top: clamp(5rem, 12vh, 8rem);
  padding-bottom: 3rem;
}

.ed-cert-lookup-card {
  border-radius: var(--ed-radius-lg);
}

.ed-cert-lookup-hero {
  padding: 1.15rem 1.25rem;
}

.ed-cert-lookup-hero h1 {
  font-size: clamp(1.45rem, 2.8vw, 2rem);
  margin-bottom: 0.35rem;
}

.ed-cert-lookup-hero p {
  font-size: 0.88rem;
}

.ed-cert-lookup-form {
  display: grid;
  gap: 1rem;
}

.ed-cert-number-input {
  text-transform: uppercase;
  letter-spacing: 0.02em;
}

@media (max-width: 680px) {
  .ed-cert-lookup-content {
    padding-top: 3.5rem;
  }
}

/* =====================================
   Public Certificate Claim Page
===================================== */

.ed-cert-claim-content {
  max-width: 680px;
  padding-top: clamp(5rem, 12vh, 8rem);
  padding-bottom: 3rem;
}

.ed-cert-claim-card {
  border-radius: var(--ed-radius-lg);
}

.ed-cert-claim-hero {
  padding: 1.15rem 1.25rem;
}

.ed-cert-claim-hero h1 {
  font-size: clamp(1.45rem, 2.8vw, 2rem);
  margin-bottom: 0.35rem;
}

.ed-cert-claim-hero p {
  font-size: 0.88rem;
}

.ed-cert-lookup-form,
.ed-claim-form {
  display: grid;
  gap: 1rem;
}

.ed-event-code-input {
  text-transform: uppercase;
  letter-spacing: 0.02em;
}

.ed-claim-event-card {
  background: var(--ed-surface-muted);
  border: 1px solid var(--ed-border);
  border-radius: 14px;
  padding: 0.9rem;
}

.ed-claim-event-head {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 1rem;
  align-items: start;
}

.ed-claim-event-head h2 {
  color: var(--ed-text-strong);
  font-size: 1.05rem;
  margin: 0.2rem 0 0;
}

.ed-claim-event-head p {
  color: var(--ed-muted);
  font-size: 0.86rem;
  margin: 0.25rem 0 0;
}

.ed-claim-event-description {
  color: var(--ed-text);
  font-size: 0.88rem;
  line-height: 1.45;
  margin-top: 0.75rem;
}

.ed-claim-event-meta {
  background: var(--ed-surface);
  border: 1px solid var(--ed-border);
  border-radius: 12px;
  padding: 0.65rem 0.75rem;
  margin-top: 0.8rem;
}

.ed-claim-event-meta span {
  display: block;
  color: var(--ed-muted);
  font-size: 0.64rem;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.07em;
  margin-bottom: 0.2rem;
}

.ed-claim-event-meta strong {
  color: var(--ed-text-strong);
  font-size: 0.9rem;
}

.ed-claim-confirm-row {
  align-items: flex-start;
}

@media (max-width: 680px) {
  .ed-cert-claim-content {
    padding-top: 3.5rem;
  }

  .ed-claim-event-head {
    grid-template-columns: 1fr;
  }

  .ed-launch-bottom-row {
    flex-direction: column;
    align-items: stretch;
  }

  .ed-launch-bottom-row .ed-btn {
    width: 100%;
  }
}
/* =====================================
   Public Certificate Lookup Page
===================================== */

.ed-public-shell .ed-public-content.ed-cert-lookup-content {
  max-width: 620px !important;
  padding-top: 0 !important;
  margin-top: clamp(5rem, 14vh, 9rem) !important;
  padding-bottom: 3rem !important;
}

.ed-cert-lookup-card {
  border-radius: var(--ed-radius-lg);
}

.ed-cert-lookup-hero {
  padding: 1.15rem 1.25rem;
}

.ed-cert-lookup-hero h1 {
  font-size: clamp(1.45rem, 2.8vw, 2rem);
  margin-bottom: 0.35rem;
}

.ed-cert-lookup-hero p {
  font-size: 0.88rem;
}

.ed-cert-lookup-form {
  display: grid;
  gap: 1rem;
}

.ed-cert-number-input {
  text-transform: uppercase;
  letter-spacing: 0.02em;
}

@media (max-width: 680px) {
  .ed-public-shell .ed-public-content.ed-cert-lookup-content {
    margin-top: 3.5rem !important;
  }
}

/* =====================================
   Public Certificate Verification Page
===================================== */

.ed-public-shell .ed-public-content.ed-cert-verify-content {
  max-width: 760px !important;
  padding-top: 0 !important;
  margin-top: clamp(4.5rem, 12vh, 8rem) !important;
  padding-bottom: 3rem !important;
}

.ed-cert-verify-card {
  border-radius: var(--ed-radius-lg);
}

.ed-cert-verify-hero {
  padding: 1.15rem 1.25rem;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1rem;
}

.ed-cert-verify-hero h1 {
  font-size: clamp(1.45rem, 2.8vw, 2rem);
  margin-bottom: 0.35rem;
}

.ed-cert-verify-hero p {
  font-size: 0.88rem;
}

.ed-verify-primary {
  background: var(--ed-primary-soft);
  border: 1px solid rgba(37, 99, 235, 0.22);
  border-radius: 14px;
  padding: 0.9rem 1rem;
}

.ed-verify-primary span {
  display: block;
  color: var(--ed-muted);
  font-size: 0.66rem;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.07em;
  margin-bottom: 0.25rem;
}

.ed-verify-primary strong {
  display: block;
  color: var(--ed-text-strong);
  font-size: 1.25rem;
  font-weight: 950;
  line-height: 1.15;
}

.ed-verify-meta-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.65rem;
}

.ed-verify-meta-grid div {
  background: var(--ed-surface-muted);
  border: 1px solid var(--ed-border);
  border-radius: 13px;
  padding: 0.75rem 0.85rem;
}

.ed-verify-meta-grid span {
  display: block;
  color: var(--ed-muted);
  font-size: 0.64rem;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.07em;
  margin-bottom: 0.25rem;
}

.ed-verify-meta-grid strong {
  display: block;
  color: var(--ed-text-strong);
  font-size: 0.9rem;
  line-height: 1.3;
  overflow-wrap: anywhere;
}

.ed-cert-action-row {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  flex-wrap: wrap;
}

.ed-cert-action-row .ed-btn {
  width: auto !important;
}

@media (max-width: 680px) {
  .ed-public-shell .ed-public-content.ed-cert-verify-content {
    margin-top: 3.5rem !important;
  }

  .ed-cert-verify-hero {
    flex-direction: column;
  }

  .ed-verify-meta-grid {
    grid-template-columns: 1fr;
  }

  .ed-cert-action-row .ed-btn {
    width: 100% !important;
  }
}

/* ===============================
   Certificate Event QR Card
================================ */

.cert-event-claim-share {
  display: grid;
  grid-template-columns: 240px minmax(0, 1fr);
  gap: 1.25rem;
  align-items: start;
}

.cert-event-qr-box {
  width: 100%;
  max-width: 240px;
  padding: 1rem;
  border: 1px solid #e5e7eb;
  border-radius: 16px;
  background: #ffffff;
  text-align: center;
}

.cert-event-qr-image {
  display: block;
  width: 100%;
  max-width: 190px;
  height: auto;
  margin: 0 auto;
  border-radius: 10px;
}

.cert-event-qr-caption {
  margin-top: 0.75rem;
  font-size: 0.82rem;
  color: #6b7280;
  line-height: 1.4;
}

.cert-event-claim-details {
  min-width: 0;
}

.cert-event-claim-details .ed-copy-row {
  min-width: 0;
}

.cert-event-claim-details .ed-input {
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* Mobile */
@media (max-width: 768px) {
  .cert-event-claim-share {
    grid-template-columns: 1fr;
  }

  .cert-event-qr-box {
    max-width: 100%;
  }

  .cert-event-qr-image {
    max-width: 220px;
  }
}

/* ===============================
   QR Print / Save as PDF
================================ */

.qr-print-sheet {
  display: none;
}

@media print {
  body * {
    visibility: hidden !important;
  }

  .qr-print-sheet,
  .qr-print-sheet * {
    visibility: visible !important;
  }

  .qr-print-sheet {
    display: flex !important;
    position: fixed;
    inset: 0;
    width: 100%;
    min-height: 100vh;
    padding: 48px;
    background: white;
    color: #111827;
    align-items: center;
    justify-content: center;
  }

  .qr-print-card {
    width: 100%;
    max-width: 560px;
    padding: 40px;
    border: 2px solid #111827;
    border-radius: 20px;
    text-align: center;
    page-break-inside: avoid;
  }

  .qr-print-eyebrow {
    margin: 0 0 8px;
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: #247a5a;
  }

  .qr-print-title {
    margin: 0;
    font-size: 28px;
    line-height: 1.15;
  }

  .qr-print-subtitle {
    margin: 10px 0 28px;
    font-size: 15px;
    color: #4b5563;
  }

  .qr-print-image {
    width: 280px;
    height: 280px;
    object-fit: contain;
    margin: 0 auto 22px;
    display: block;
  }

  .qr-print-code {
    margin: 0;
    font-size: 16px;
    font-weight: 800;
    letter-spacing: 0.04em;
  }

  .qr-print-note {
    margin: 16px auto 0;
    max-width: 420px;
    font-size: 13px;
    line-height: 1.5;
    color: #4b5563;
  }

  @page {
    size: A4;
    margin: 0;
  }
}

/* ===============================
   Certificate Event QR / Claim Share
================================ */

.cert-event-share-header {
  align-items: center;
  gap: 1rem;
}

.cert-event-claim-share {
  display: grid;
  grid-template-columns: 250px minmax(0, 1fr);
  gap: 1.35rem;
  align-items: start;
}

.cert-event-qr-box {
  width: 100%;
  max-width: 250px;
  padding: 1.1rem;
  border: 1px solid #e5e7eb;
  border-radius: 16px;
  background: #ffffff;
  text-align: center;
}

.cert-event-qr-image {
  display: block;
  width: 100%;
  max-width: 190px;
  height: auto;
  margin: 0 auto;
}

.cert-event-qr-caption {
  margin-top: 0.8rem;
  font-size: 0.82rem;
  color: #647067;
  line-height: 1.4;
}

.cert-event-claim-details {
  min-width: 0;
  display: grid;
  gap: 1.05rem;
}

.cert-event-field-group {
  min-width: 0;
}

.cert-event-share-label {
  display: block;
  margin-bottom: 0.4rem;
  color: #647067;
  font-size: 0.82rem;
  font-weight: 700;
}

.cert-event-copy-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 118px;
  gap: 0.75rem;
  align-items: center;
}

.cert-event-copy-input {
  min-width: 0;
  width: 100%;
  font-weight: 700;
  overflow: hidden;
  text-overflow: ellipsis;
}

.cert-event-code-input {
  letter-spacing: 0.02em;
}

.cert-event-copy-btn {
  width: 100%;
  justify-content: center;
  white-space: nowrap;
}

.cert-event-share-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
  padding-top: 0.1rem;
}

.cert-event-confirmation {
  padding-top: 0.15rem;
}

/* Mobile */
@media (max-width: 900px) {
  .cert-event-claim-share {
    grid-template-columns: 1fr;
  }

  .cert-event-qr-box {
    max-width: 100%;
  }

  .cert-event-qr-image {
    max-width: 220px;
  }
}

@media (max-width: 640px) {
  .cert-event-copy-row {
    grid-template-columns: 1fr;
  }

  .cert-event-copy-btn {
    width: 100%;
  }

  .cert-event-share-header {
    align-items: flex-start;
    flex-direction: column;
  }
}

/* ===============================
   QR SHARE CARD — SPACING FIX
   Keep QR large, add breathing room between QR box and links
================================ */

.cert-event-claim-share {
  display: grid;
  grid-template-columns: 290px minmax(0, 1fr);
  column-gap: 2.75rem;
  row-gap: 1.5rem;
  align-items: start;
}

/* Keep the QR box large */
.cert-event-qr-box {
  width: 100%;
  max-width: 290px;
  padding: 1.35rem;
  border: 1px solid #e5e7eb;
  border-radius: 16px;
  background: #ffffff;
  text-align: center;
}

/* Keep QR image big */
.cert-event-qr-image {
  display: block;
  width: 100%;
  max-width: 210px;
  height: auto;
  margin: 0 auto;
}

/* Add actual padding before the right-side link controls */
.cert-event-claim-details {
  min-width: 0;
  padding-left: 0.5rem;
}

/* Keep link/input rows neat */
.cert-event-copy-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 128px;
  gap: 0.85rem;
  align-items: center;
}

.cert-event-copy-input {
  min-width: 0;
  width: 100%;
  font-weight: 700;
  overflow: hidden;
  text-overflow: ellipsis;
}

.cert-event-copy-btn {
  width: 100%;
  justify-content: center;
  white-space: nowrap;
}

/* Space between groups */
.cert-event-field-group {
  margin-bottom: 1rem;
}

.cert-event-share-actions {
  margin-top: 0.25rem;
  margin-bottom: 1rem;
}

/* Responsive */
@media (max-width: 900px) {
  .cert-event-claim-share {
    grid-template-columns: 1fr;
    column-gap: 0;
  }

  .cert-event-qr-box {
    max-width: 100%;
  }

  .cert-event-qr-image {
    max-width: 230px;
  }

  .cert-event-claim-details {
    padding-left: 0;
  }
}

@media (max-width: 640px) {
  .cert-event-copy-row {
    grid-template-columns: 1fr;
  }
}

.ed-sidebar {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}

.ed-sidebar-main {
  flex: 1;
}

.ed-sidebar-bottom {
  margin-top: 0%;
  padding-top: 1rem;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.ed-logout-form {
  margin: 0;
}

.ed-nav-logout {
  width: 100%;
  border: 0;
  background: transparent;
  cursor: pointer;
  font: inherit;
  text-align: left;
}

.ed-nav-link-muted {
  opacity: 0.9;
}

.ed-nav-logout:hover,
.ed-nav-link-muted:hover {
  background: rgba(255, 255, 255, 0.06);
}

.ed-sidebar-bottom {
  margin-top: auto;
  margin-bottom: 3rem;
  padding-top: 1rem;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

/* =========================================================
   ExamDesk Dark Mode
   Requires: html.ed-dark
   Paste at bottom of main app/admin CSS
========================================================= */

html.ed-dark {
  color-scheme: dark;
}

/* Page shell */
html.ed-dark body {
  background: #0f1f1b !important;
  color: #f8fafc !important;
}

html.ed-dark .ed-app,
html.ed-dark .ed-main,
html.ed-dark .ed-content,
html.ed-dark .ed-page,
html.ed-dark main {
  background: #0f1f1b !important;
  color: #f8fafc !important;
}

/* Sidebar */
html.ed-dark .ed-sidebar {
  background: #0b1714 !important;
  border-color: rgba(255, 255, 255, 0.08) !important;
}

html.ed-dark .ed-brand-title,
html.ed-dark .ed-nav-label,
html.ed-dark .ed-nav-link,
html.ed-dark .ed-nav-link span,
html.ed-dark .ed-nav-link i {
  color: rgba(255, 255, 255, 0.86) !important;
}

html.ed-dark .ed-brand-subtitle {
  color: rgba(255, 255, 255, 0.55) !important;
}

html.ed-dark .ed-nav-link:hover {
  background: rgba(255, 255, 255, 0.07) !important;
  color: #ffffff !important;
}

html.ed-dark .ed-nav-link.active {
  background: rgba(36, 122, 90, 0.34) !important;
  color: #ffffff !important;
}

/* Headers */
html.ed-dark .ed-page-header,
html.ed-dark .ed-page-header-inner {
  background: #142822 !important;
  border-color: rgba(255, 255, 255, 0.08) !important;
  color: #f8fafc !important;
}

html.ed-dark .ed-page-header h1,
html.ed-dark h1,
html.ed-dark h2,
html.ed-dark h3,
html.ed-dark h4,
html.ed-dark strong {
  color: #f8fafc !important;
}

html.ed-dark .ed-eyebrow,
html.ed-dark .ed-section-label {
  color: #7dd3af !important;
}

/* Cards */
html.ed-dark .ed-card,
html.ed-dark .ed-stat-card,
html.ed-dark .ed-table-card,
html.ed-dark .cert-event-qr-box,
html.ed-dark .cert-event-claim-share,
html.ed-dark .cert-event-field-group {
  background: #142822 !important;
  border-color: rgba(255, 255, 255, 0.09) !important;
  color: #f8fafc !important;
}

html.ed-dark .ed-card-header {
  background: #142822 !important;
  border-color: rgba(255, 255, 255, 0.09) !important;
  color: #f8fafc !important;
}

html.ed-dark .ed-card-body {
  background: transparent !important;
  color: #f8fafc !important;
}

/* Stats */
html.ed-dark .ed-stat-label,
html.ed-dark .ed-stat-note,
html.ed-dark .ed-small,
html.ed-dark .ed-text-muted,
html.ed-dark .cert-event-qr-caption,
html.ed-dark .cert-event-share-label {
  color: #a7b7af !important;
}

html.ed-dark .ed-stat-value,
html.ed-dark .ed-code-value {
  color: #f8fafc !important;
}

/* Forms */
html.ed-dark .ed-input,
html.ed-dark input,
html.ed-dark select,
html.ed-dark textarea {
  background: #0f1f1b !important;
  border-color: rgba(255, 255, 255, 0.14) !important;
  color: #f8fafc !important;
}

html.ed-dark .ed-input::placeholder,
html.ed-dark input::placeholder,
html.ed-dark textarea::placeholder {
  color: #7f9188 !important;
}

html.ed-dark .ed-input:focus,
html.ed-dark input:focus,
html.ed-dark select:focus,
html.ed-dark textarea:focus {
  border-color: #38b487 !important;
  box-shadow: 0 0 0 4px rgba(56, 180, 135, 0.16) !important;
  outline: none !important;
}

/* Tables */
html.ed-dark .ed-table {
  color: #f8fafc !important;
}

html.ed-dark .ed-table th {
  background: #10221d !important;
  color: #c9d6d0 !important;
  border-color: rgba(255, 255, 255, 0.08) !important;
}

html.ed-dark .ed-table td {
  background: #142822 !important;
  color: #f8fafc !important;
  border-color: rgba(255, 255, 255, 0.08) !important;
}

html.ed-dark .ed-table tbody tr:hover td {
  background: #18322a !important;
}

html.ed-dark .ed-table-scroll {
  background: #142822 !important;
}

/* Empty states */
html.ed-dark .ed-empty {
  background: #0f1f1b !important;
  border-color: rgba(255, 255, 255, 0.1) !important;
  color: #a7b7af !important;
}

/* Buttons */
html.ed-dark .ed-btn-soft {
  background: rgba(255, 255, 255, 0.08) !important;
  border-color: rgba(255, 255, 255, 0.12) !important;
  color: #f8fafc !important;
}

html.ed-dark .ed-btn-soft:hover {
  background: rgba(255, 255, 255, 0.13) !important;
}

html.ed-dark .ed-btn-primary {
  background: #247a5a !important;
  border-color: #247a5a !important;
  color: #ffffff !important;
}

html.ed-dark .ed-btn-primary:hover {
  background: #1f6b4f !important;
}

/* Status badges */
html.ed-dark .ed-status {
  border-color: rgba(255, 255, 255, 0.12) !important;
}

html.ed-dark .ed-status-success {
  background: rgba(34, 197, 94, 0.16) !important;
  color: #86efac !important;
}

html.ed-dark .ed-status-warning {
  background: rgba(245, 158, 11, 0.18) !important;
  color: #fcd34d !important;
}

html.ed-dark .ed-status-info {
  background: rgba(59, 130, 246, 0.18) !important;
  color: #93c5fd !important;
}

html.ed-dark .ed-status-danger {
  background: rgba(239, 68, 68, 0.18) !important;
  color: #fca5a5 !important;
}

html.ed-dark .ed-status-neutral {
  background: rgba(255, 255, 255, 0.08) !important;
  color: #cbd5e1 !important;
}

/* QR area */
html.ed-dark .cert-event-qr-box {
  background: #ffffff !important;
  color: #111827 !important;
}

html.ed-dark .cert-event-qr-box .ed-empty {
  background: #f8fafc !important;
  color: #64748b !important;
}

html.ed-dark .cert-event-claim-details {
  color: #f8fafc !important;
}

html.ed-dark .cert-event-copy-input {
  background: #0f1f1b !important;
  color: #f8fafc !important;
}

/* Flash messages / alerts */
html.ed-dark .alert,
html.ed-dark .ed-alert,
html.ed-dark .flash {
  background: #142822 !important;
  border-color: rgba(255, 255, 255, 0.1) !important;
  color: #f8fafc !important;
}

/* Dropdowns / menus if any */
html.ed-dark .dropdown-menu,
html.ed-dark .ed-dropdown,
html.ed-dark .ed-menu {
  background: #142822 !important;
  border-color: rgba(255, 255, 255, 0.1) !important;
  color: #f8fafc !important;
}

html.ed-dark .dropdown-item,
html.ed-dark .ed-menu-item {
  color: #f8fafc !important;
}

html.ed-dark .dropdown-item:hover,
html.ed-dark .ed-menu-item:hover {
  background: rgba(255, 255, 255, 0.08) !important;
}

/* Links */
html.ed-dark a {
  color: inherit;
}

html.ed-dark .ed-table a,
html.ed-dark .ed-card a:not(.ed-btn) {
  color: #7dd3fc !important;
}

/* Scrollbar optional */
html.ed-dark ::-webkit-scrollbar {
  width: 10px;
  height: 10px;
}

html.ed-dark ::-webkit-scrollbar-track {
  background: #0f1f1b;
}

html.ed-dark ::-webkit-scrollbar-thumb {
  background: #2f4a42;
  border-radius: 999px;
}

html.ed-dark ::-webkit-scrollbar-thumb:hover {
  background: #3d6156;
}

/* =========================================================
   MakoraDesk Home — Pricing Preview
   Light + Dark compatible
========================================================= */

.md-pricing {
  background:
    radial-gradient(circle at top right, rgba(36, 122, 90, 0.08), transparent 30rem),
    transparent;
}

.md-pricing__inner {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(320px, 0.75fr);
  gap: 2rem;
  align-items: stretch;
}

.md-pricing__copy {
  padding: 2.25rem;
  border-radius: 1.5rem;
  background: #ffffff;
  border: 1px solid #e5e7eb;
  box-shadow: 0 18px 45px rgba(15, 23, 42, 0.07);
}

.md-pricing__copy h2 {
  margin: 0.65rem 0 0.85rem;
  max-width: 760px;
}

.md-pricing__copy p {
  max-width: 760px;
  color: #64748b;
  line-height: 1.7;
}

.md-pricing__points {
  margin-top: 1.5rem;
  display: grid;
  gap: 0.9rem;
}

.md-pricing__points div {
  padding: 1rem;
  border-radius: 1rem;
  background: #f8fafc;
  border: 1px solid #e5e7eb;
}

.md-pricing__points strong {
  display: block;
  margin-bottom: 0.25rem;
  color: #111827;
}

.md-pricing__points span {
  display: block;
  color: #64748b;
  line-height: 1.55;
  font-size: 0.94rem;
}

.md-pricing-card {
  position: relative;
  overflow: hidden;
  padding: 2rem;
  border-radius: 1.5rem;
  background:
    radial-gradient(circle at top left, rgba(251, 194, 87, 0.18), transparent 16rem),
    linear-gradient(145deg, #10251f, #0b201a);
  color: #ffffff;
  box-shadow: 0 24px 60px rgba(15, 23, 42, 0.18);
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.md-pricing-card__eyebrow {
  display: inline-flex;
  width: fit-content;
  margin-bottom: 0.85rem;
  padding: 0.35rem 0.7rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.10);
  color: #a7f3d0;
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.03em;
  text-transform: uppercase;
}

.md-pricing-card h3 {
  margin: 0;
  font-size: clamp(1.55rem, 3vw, 2.1rem);
  line-height: 1.1;
  letter-spacing: -0.04em;
  color: #ffffff;
}

.md-pricing-card p {
  margin: 0.9rem 0 1.35rem;
  color: rgba(255, 255, 255, 0.76);
  line-height: 1.65;
}

.md-pricing-card__list {
  display: grid;
  gap: 0.6rem;
  margin-bottom: 1.5rem;
}

.md-pricing-card__list span {
  position: relative;
  padding-left: 1.35rem;
  color: rgba(255, 255, 255, 0.88);
  font-weight: 650;
}

.md-pricing-card__list span::before {
  content: "✓";
  position: absolute;
  left: 0;
  top: 0;
  color: #7dd3af;
  font-weight: 900;
}

/* Dark mode */
html.ed-dark .md-pricing__copy,
html[data-theme="dark"] .md-pricing__copy {
  background: #10251f;
  border-color: rgba(255, 255, 255, 0.10);
  box-shadow: 0 18px 45px rgba(0, 0, 0, 0.22);
}

html.ed-dark .md-pricing__copy p,
html[data-theme="dark"] .md-pricing__copy p {
  color: #a7b7af;
}

html.ed-dark .md-pricing__points div,
html[data-theme="dark"] .md-pricing__points div {
  background: #0f1f1b;
  border-color: rgba(255, 255, 255, 0.10);
}

html.ed-dark .md-pricing__points strong,
html[data-theme="dark"] .md-pricing__points strong {
  color: #f8fafc;
}

html.ed-dark .md-pricing__points span,
html[data-theme="dark"] .md-pricing__points span {
  color: #a7b7af;
}

html.ed-dark .md-pricing-card,
html[data-theme="dark"] .md-pricing-card {
  background:
    radial-gradient(circle at top left, rgba(251, 194, 87, 0.10), transparent 16rem),
    linear-gradient(145deg, #10251f, #081611);
  border: 1px solid rgba(255, 255, 255, 0.10);
}

/* Responsive */
@media (max-width: 900px) {
  .md-pricing__inner {
    grid-template-columns: 1fr;
  }

  .md-pricing__copy,
  .md-pricing-card {
    padding: 1.5rem;
  }
}