/* ============================================================================
 * PRÜFUNGSTRAINING HUB – DARK BLACK & NEON CYAN (#00FFFF) BLOGGER THEME
 * Served from Cloudflare R2: /static/simulation-tests/pruefungstraining.css
 * Matches bibliothek-pro.css theme & Blogger responsive width breakout @media
 * ============================================================================ */

@import url('https://fonts.googleapis.com/css2?family=Crimson+Text:ital,wght@0,400;0,700;1,400;1,700&family=IBM+Plex+Serif:ital,wght@0,400;0,600;1,400;1,600&family=Libre+Baskerville:ital,wght@0,400;0,700;1,400&family=Lora:ital,wght@0,400;0,700;1,400;1,700&family=Merriweather:ital,wght@0,400;0,700;1,400;1,700&family=Montserrat:ital,wght@0,500;0,700;1,500&family=Oswald:wght@400;600&family=PT+Serif:ital,wght@0,400;0,700;1,400;1,700&family=Playfair+Display:ital,wght@0,500;0,700;1,400;1,700&family=Raleway:ital,wght@0,500;0,700;1,500&family=Roboto+Condensed:ital,wght@0,400;0,700;1,400&family=Source+Serif+4:ital,wght@0,400;0,700;1,400&display=swap');

:root {
  --bg: #050505;
  --card-bg: #121212;
  --neon: #00FFFF;
  --text: #e0e0e0;
  --pt-bg: #050505;
  --pt-surface: #111111;
  --pt-surface-alt: #181818;
  --pt-surface-subtle: #0c0c0c;
  --pt-border: #262626;
  --pt-border-strong: #383838;
  --pt-text: #f0f6fc;
  --pt-text-secondary: #b0bec5;
  --pt-text-muted: #78909c;
  --pt-neon: #00FFFF;
  --pt-neon-dim: rgba(0, 255, 255, 0.12);
  --pt-neon-border: rgba(0, 255, 255, 0.45);
  --pt-neon-glow: 0 0 16px rgba(0, 255, 255, 0.25);
  --pt-success: #00e676;
  --pt-success-soft: rgba(0, 230, 118, 0.1);
  --pt-success-border: rgba(0, 230, 118, 0.45);
  --pt-danger: #ff5252;
  --pt-danger-soft: rgba(255, 82, 82, 0.1);
  --pt-danger-border: rgba(255, 82, 82, 0.45);
  --pt-warning: #ffab00;
  --pt-warning-soft: rgba(255, 171, 0, 0.12);
  --pt-radius-sm: 6px;
  --pt-radius-md: 10px;
  --pt-radius-lg: 14px;
  --pt-font: 'Roboto', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --pt-mono: 'JetBrains Mono', ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
}

body {
  background-color: var(--bg) !important;
  color: var(--text);
}

.post-body-container::before {
  display: none;
}

#dlm-pruefungstraining-root,
.dlm-pt-root,
.dlm-pt-root * {
  box-sizing: border-box;
}

#dlm-pruefungstraining-root,
.dlm-pt-root {
  font-family: var(--pt-font);
  color: var(--pt-text);
  background: var(--pt-bg);
  border: 1px solid #1f1f1f;
  border-radius: var(--pt-radius-lg);
  padding: 28px;
  margin-top: 10px;
  margin-bottom: 40px;
  line-height: 1.6;
  box-shadow: 0 12px 36px rgba(0, 0, 0, 0.75);
}

/* Custom Cyan Scrollbars matching bibliothek-pro.css */
.dlm-pt-root ::-webkit-scrollbar {
  width: 6px;
  height: 6px;
}
.dlm-pt-root ::-webkit-scrollbar-track {
  background: #1a1a1a;
}
.dlm-pt-root ::-webkit-scrollbar-thumb {
  background-color: var(--pt-neon);
  border-radius: 10px;
}

/* ----------------------------------------------------------------------------
 * HEADER & STICKY FORMAT SELECTOR
 * ---------------------------------------------------------------------------- */
.dlm-pt-header {
  text-align: center;
  border-bottom: 1px solid var(--pt-border);
  padding-bottom: 22px;
  margin-bottom: 24px;
}

.dlm-pt-eyebrow {
  font-size: 11px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  color: var(--pt-neon);
  margin-bottom: 8px;
}

.dlm-pt-title {
  font-size: 2.2rem;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: -0.5px;
  color: #ffffff;
  margin: 0 0 10px 0;
}

.dlm-pt-subtitle {
  font-size: 14px;
  color: var(--pt-text-secondary);
  margin: 0 auto;
  max-width: 780px;
}

.dlm-pt-section-label {
  font-size: 11px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--pt-neon);
  margin: 0 0 12px 0;
}

.dlm-pt-format-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(210px, 1fr));
  gap: 12px;
  margin-bottom: 28px;
}

.dlm-pt-format-card {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  text-align: left;
  background: var(--pt-surface);
  border: 1px solid var(--pt-border);
  border-radius: var(--pt-radius-md);
  padding: 15px 16px;
  cursor: pointer;
  transition: all 0.25s ease;
}

.dlm-pt-format-card:hover {
  border-color: var(--pt-neon);
  box-shadow: var(--pt-neon-glow);
  transform: translateY(-2px);
}

.dlm-pt-format-card.is-selected {
  border: 1.5px solid var(--pt-neon);
  background: linear-gradient(180deg, rgba(0, 255, 255, 0.1) 0%, #111111 100%);
  box-shadow: var(--pt-neon-glow);
}

.dlm-pt-format-card.is-upcoming {
  opacity: 0.55;
}

.dlm-pt-format-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  margin-bottom: 8px;
}

.dlm-pt-level-tag {
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.06em;
  padding: 2px 8px;
  border-radius: 4px;
  background: #222222;
  color: var(--pt-text-secondary);
  border: 1px solid #333333;
}

.dlm-pt-format-card.is-selected .dlm-pt-level-tag {
  background: var(--pt-neon);
  color: #000000;
  border-color: var(--pt-neon);
  box-shadow: 0 0 10px rgba(0, 255, 255, 0.4);
}

.dlm-pt-status-tag {
  font-size: 10px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  padding: 2px 7px;
  border-radius: 4px;
  background: var(--pt-neon-dim);
  color: var(--pt-neon);
  border: 1px solid var(--pt-neon-border);
}

.dlm-pt-status-tag.is-muted {
  background: #1a1a1a;
  color: var(--pt-text-muted);
  border-color: #2c2c2c;
}

.dlm-pt-format-name {
  font-size: 15px;
  font-weight: 700;
  color: #ffffff;
  margin: 0 0 4px 0;
}

.dlm-pt-format-meta {
  font-size: 12px;
  color: var(--pt-text-muted);
}

/* ----------------------------------------------------------------------------
 * CUSTOM SECTION TOGGLE CONFIGURATOR
 * ---------------------------------------------------------------------------- */
.dlm-pt-config-panel {
  background: var(--pt-surface);
  border: 1px solid var(--pt-border);
  border-radius: var(--pt-radius-lg);
  padding: 24px;
  margin-bottom: 24px;
}

.dlm-pt-config-head {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
  padding-bottom: 18px;
  margin-bottom: 22px;
  border-bottom: 1px solid var(--pt-border);
}

.dlm-pt-config-title {
  font-size: 18px;
  font-weight: 800;
  color: #ffffff;
  margin: 0 0 6px 0;
}

.dlm-pt-config-desc {
  font-size: 13.5px;
  color: var(--pt-text-secondary);
  margin: 0;
  max-width: 760px;
}

.dlm-pt-quick-actions {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.dlm-pt-btn-ghost {
  font-size: 11.5px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--pt-text-secondary);
  background: #181818;
  border: 1px solid #333333;
  border-radius: 20px;
  padding: 7px 14px;
  cursor: pointer;
  transition: all 0.2s ease;
}

.dlm-pt-btn-ghost:hover {
  border-color: var(--pt-neon);
  color: var(--pt-neon);
  background: var(--pt-neon-dim);
}

.dlm-pt-group-block {
  margin-bottom: 22px;
}

.dlm-pt-group-block:last-of-type {
  margin-bottom: 0;
}

.dlm-pt-group-title {
  font-size: 11px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--pt-neon);
  margin: 0 0 10px 0;
}

.dlm-pt-part-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 14px;
}

.dlm-pt-part-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  background: var(--pt-surface-subtle);
  border: 1px solid var(--pt-border);
  border-radius: var(--pt-radius-md);
  padding: 16px;
  cursor: pointer;
  user-select: none;
  transition: all 0.22s ease;
}

.dlm-pt-part-card:hover:not(.is-disabled) {
  border-color: var(--pt-neon);
  box-shadow: 0 4px 14px rgba(0, 255, 255, 0.12);
}

.dlm-pt-part-card.is-active {
  background: #141b1d;
  border-color: var(--pt-neon);
  box-shadow: 0 0 14px rgba(0, 255, 255, 0.15);
}

.dlm-pt-part-card.is-disabled {
  opacity: 0.42;
  cursor: not-allowed;
  background: #0d0d0d;
}

.dlm-pt-part-info {
  min-width: 0;
  flex: 1;
}

.dlm-pt-part-name {
  font-size: 15px;
  font-weight: 700;
  color: #ffffff;
  margin: 0 0 3px 0;
}

.dlm-pt-part-sub {
  font-size: 12px;
  color: var(--pt-text-secondary);
  margin: 0 0 8px 0;
}

.dlm-pt-part-specs {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.dlm-pt-spec-pill {
  font-size: 10.5px;
  font-weight: 700;
  color: #b0bec5;
  background: #1e1e1e;
  border: 1px solid #303030;
  padding: 2px 8px;
  border-radius: 4px;
  white-space: nowrap;
  flex-shrink: 0;
}

.dlm-pt-spec-pill.is-pool {
  color: #80deea;
  background: rgba(0, 255, 255, 0.06);
  border-color: rgba(0, 255, 255, 0.24);
}

.dlm-pt-part-card.is-active .dlm-pt-spec-pill {
  background: rgba(0, 255, 255, 0.12);
  color: var(--pt-neon);
  border-color: rgba(0, 255, 255, 0.35);
}

/* Pure CSS Neon Toggle Switch */
.dlm-pt-toggle-wrap {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 5px;
  flex-shrink: 0;
}

.dlm-pt-toggle-track {
  position: relative;
  width: 46px;
  height: 24px;
  background: #2a2a2a;
  border: 1px solid #444444;
  border-radius: 999px;
  transition: all 0.2s ease;
}

.dlm-pt-part-card.is-active .dlm-pt-toggle-track {
  background: rgba(0, 255, 255, 0.22);
  border-color: var(--pt-neon);
  box-shadow: 0 0 10px rgba(0, 255, 255, 0.35);
}

.dlm-pt-toggle-thumb {
  position: absolute;
  top: 2px;
  left: 3px;
  width: 18px;
  height: 18px;
  background: #888888;
  border-radius: 50%;
  transition: transform 0.2s ease, background-color 0.2s ease;
}

.dlm-pt-part-card.is-active .dlm-pt-toggle-thumb {
  transform: translateX(20px);
  background: var(--pt-neon);
  box-shadow: 0 0 8px var(--pt-neon);
}

.dlm-pt-toggle-state {
  font-size: 10px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--pt-text-muted);
}

.dlm-pt-part-card.is-active .dlm-pt-toggle-state {
  color: var(--pt-neon);
}

/* ----------------------------------------------------------------------------
 * SUMMARY BAR & LAUNCH / SEED CONTROLS
 * ---------------------------------------------------------------------------- */
.dlm-pt-summary-strip {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(155px, 1fr));
  gap: 14px;
  background: #0b0b0b;
  border: 1px solid #262626;
  border-radius: var(--pt-radius-md);
  padding: 18px;
  margin-top: 24px;
}

.dlm-pt-metric {
  display: flex;
  flex-direction: column;
}

.dlm-pt-metric-label {
  font-size: 10.5px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--pt-text-muted);
  margin-bottom: 3px;
}

.dlm-pt-metric-val {
  font-size: 20px;
  font-weight: 900;
  color: var(--pt-neon);
  font-variant-numeric: tabular-nums;
}

.dlm-pt-metric-note {
  font-size: 11.5px;
  color: var(--pt-text-secondary);
}

.dlm-pt-launch-grid {
  display: grid;
  grid-template-columns: 1.15fr 1fr;
  gap: 16px;
  margin-top: 20px;
}

@media (max-width: 860px) {
  .dlm-pt-launch-grid {
    grid-template-columns: 1fr;
  }
}

.dlm-pt-launch-box,
.dlm-pt-seed-box {
  background: #0d0d0d;
  border: 1px solid var(--pt-border);
  border-radius: var(--pt-radius-md);
  padding: 20px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 16px;
}

.dlm-pt-box-title {
  font-size: 15px;
  font-weight: 800;
  color: #ffffff;
  margin: 0 0 5px 0;
}

.dlm-pt-box-text {
  font-size: 13px;
  color: var(--pt-text-secondary);
  margin: 0;
}

.dlm-pt-box-text code {
  color: var(--pt-neon);
  font-family: var(--pt-mono);
  background: #181818;
  padding: 2px 6px;
  border-radius: 4px;
}

.dlm-pt-btn-primary {
  font-size: 13.5px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: #000000;
  background: var(--pt-neon);
  border: 1px solid var(--pt-neon);
  border-radius: var(--pt-radius-sm);
  padding: 12px 20px;
  cursor: pointer;
  text-align: center;
  box-shadow: 0 0 15px rgba(0, 255, 255, 0.3);
  transition: all 0.2s ease;
}

.dlm-pt-btn-primary:hover:not(:disabled) {
  background: #55ffff;
  box-shadow: 0 0 22px rgba(0, 255, 255, 0.55);
  transform: translateY(-1px);
}

.dlm-pt-btn-primary:disabled {
  opacity: 0.35;
  cursor: not-allowed;
  box-shadow: none;
}

.dlm-pt-btn-secondary {
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--pt-neon);
  background: transparent;
  border: 1px solid var(--pt-neon);
  border-radius: var(--pt-radius-sm);
  padding: 10px 16px;
  cursor: pointer;
  transition: all 0.2s ease;
}

.dlm-pt-btn-secondary:hover:not(:disabled) {
  background: var(--pt-neon);
  color: #000000;
  box-shadow: 0 0 14px rgba(0, 255, 255, 0.35);
}

.dlm-pt-btn-secondary:disabled {
  opacity: 0.35;
  cursor: not-allowed;
}

/* Symbol / Icon Buttons (Copy, Pause inside Timer, Submit, Prev/Next Arrow) */
.dlm-pt-icon-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  padding: 0;
  border-radius: var(--pt-radius-sm);
  border: 1px solid var(--pt-neon);
  background: transparent;
  color: var(--pt-neon);
  cursor: pointer;
  transition: all 0.2s ease;
  flex-shrink: 0;
}

.dlm-pt-icon-btn:hover:not(:disabled) {
  background: var(--pt-neon);
  color: #000000;
  box-shadow: 0 0 14px rgba(0, 255, 255, 0.4);
}

.dlm-pt-icon-btn.is-primary {
  background: var(--pt-neon);
  color: #000000;
  box-shadow: 0 0 14px rgba(0, 255, 255, 0.3);
}

.dlm-pt-icon-btn.is-primary:hover:not(:disabled) {
  background: #55ffff;
  box-shadow: 0 0 20px rgba(0, 255, 255, 0.55);
}

.dlm-pt-icon-btn.is-danger {
  border-color: var(--pt-danger-border);
  background: var(--pt-danger-soft);
  color: var(--pt-danger);
}

.dlm-pt-icon-btn.is-danger:hover:not(:disabled) {
  background: var(--pt-danger);
  border-color: var(--pt-danger);
  color: #000000;
  box-shadow: 0 0 14px rgba(255, 82, 82, 0.45);
}

.dlm-pt-icon-btn:disabled {
  opacity: 0.35;
  cursor: not-allowed;
}

.dlm-pt-icon-btn svg {
  width: 19px;
  height: 19px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2.2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.dlm-pt-seed-row {
  display: flex;
  gap: 10px;
}

@media (max-width: 520px) {
  .dlm-pt-seed-row {
    flex-direction: column;
  }
}

.dlm-pt-seed-input {
  flex: 1;
  font-family: var(--pt-mono);
  font-size: 14px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: #ffffff;
  background: #141414;
  border: 1px solid #333333;
  border-radius: var(--pt-radius-sm);
  padding: 10px 14px;
}

.dlm-pt-seed-input:focus {
  outline: none;
  border-color: var(--pt-neon);
  box-shadow: 0 0 12px rgba(0, 255, 255, 0.2);
}

/* ----------------------------------------------------------------------------
 * ACTIVE EXAM WORKSPACE & STICKY TOP BAR
 * ---------------------------------------------------------------------------- */
.dlm-pt-exam-shell {
  position: relative;
}

.dlm-pt-topbar {
  position: sticky;
  top: 0;
  z-index: 50;
  container-type: inline-size;
  container-name: dlm-topbar;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  background: rgba(14, 14, 14, 0.96);
  backdrop-filter: blur(8px);
  border: 1px solid var(--pt-neon-border);
  border-radius: var(--pt-radius-md);
  padding: 12px 16px;
  margin-bottom: 18px;
  box-shadow: 0 6px 24px rgba(0, 0, 0, 0.8);
}

.dlm-pt-topbar-left {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
}

.dlm-pt-exam-heading {
  font-size: 15px;
  font-weight: 800;
  color: #ffffff;
  margin: 0;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.dlm-pt-seed-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--pt-mono);
  font-size: 12px;
  font-weight: 700;
  color: var(--pt-neon);
  background: #161616;
  border: 1px solid #333333;
  border-radius: var(--pt-radius-sm);
  padding: 4px 6px 4px 10px;
}

.dlm-pt-copy-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 26px;
  height: 26px;
  color: #ffffff;
  background: #242424;
  border: 1px solid #3c3c3c;
  border-radius: 4px;
  padding: 0;
  cursor: pointer;
  transition: all 0.18s ease;
}

.dlm-pt-copy-link:hover {
  border-color: var(--pt-neon);
  color: var(--pt-neon);
  background: rgba(0, 255, 255, 0.12);
}

.dlm-pt-copy-link svg {
  width: 14px;
  height: 14px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2.2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.dlm-pt-topbar-right {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
}

.dlm-pt-progress-text {
  font-size: 12.5px;
  font-weight: 700;
  color: var(--pt-text-secondary);
  white-space: nowrap;
}

/* Integrated Timer + Right-Side Pause Button */
.dlm-pt-timer-unit {
  display: inline-flex;
  align-items: stretch;
  background: #0a0a0a;
  border: 1px solid var(--pt-neon-border);
  border-radius: var(--pt-radius-sm);
  overflow: hidden;
  box-shadow: inset 0 0 10px rgba(0, 255, 255, 0.12);
  height: 40px;
}

.dlm-pt-timer-unit.is-low {
  background: var(--pt-danger-soft);
  border-color: var(--pt-danger-border);
}

.dlm-pt-timer-box {
  font-family: var(--pt-mono);
  font-size: 16.5px;
  font-weight: 900;
  font-variant-numeric: tabular-nums;
  color: var(--pt-neon);
  padding: 0 14px;
  min-width: 82px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.dlm-pt-timer-unit.is-low .dlm-pt-timer-box {
  color: var(--pt-danger);
}

.dlm-pt-timer-pause-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  background: rgba(0, 255, 255, 0.1);
  border: none;
  border-left: 1px solid var(--pt-neon-border);
  color: var(--pt-neon);
  cursor: pointer;
  padding: 0;
  transition: all 0.18s ease;
}

.dlm-pt-timer-pause-btn:hover {
  background: var(--pt-neon);
  color: #000000;
}

.dlm-pt-timer-pause-btn svg {
  width: 15px;
  height: 15px;
  fill: currentColor;
}

/* Section Navigation Tabs */
.dlm-pt-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 18px;
}

.dlm-pt-tab {
  font-size: 13px;
  font-weight: 700;
  color: var(--pt-text-secondary);
  background: #141414;
  border: 1px solid #2c2c2c;
  border-radius: 20px;
  padding: 9px 16px;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: all 0.2s ease;
}

.dlm-pt-tab:hover {
  border-color: var(--pt-neon);
  color: #ffffff;
}

.dlm-pt-tab.is-current {
  color: #000000;
  background: var(--pt-neon);
  border-color: var(--pt-neon);
  box-shadow: 0 0 14px rgba(0, 255, 255, 0.4);
}

.dlm-pt-tab-count {
  font-family: var(--pt-mono);
  font-size: 11px;
  font-weight: 800;
  padding: 1px 7px;
  border-radius: 10px;
  background: #242424;
  color: var(--pt-neon);
}

.dlm-pt-tab.is-current .dlm-pt-tab-count {
  background: rgba(0, 0, 0, 0.25);
  color: #000000;
}

/* Mobile Compact Section Dropdown Bar & Sliding Bottom Sheet (All Mock Tests) */
.dlm-pt-mobile-tab-bar {
  display: none;
  margin-bottom: 14px;
}

.dlm-pt-mobile-tab-trigger {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 11px 14px;
  background: #10161d;
  border: 1px solid var(--pt-neon-border);
  border-radius: var(--pt-radius-md);
  color: #ffffff;
  font-family: var(--pt-font);
  font-size: 13.5px;
  font-weight: 800;
  cursor: pointer;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.45);
  transition: border-color 0.18s ease, background 0.18s ease;
}

.dlm-pt-mobile-tab-trigger:hover,
.dlm-pt-mobile-tab-trigger:active {
  border-color: var(--pt-neon);
  background: #141e27;
}

.dlm-pt-mobile-tab-label-wrap {
  display: flex;
  align-items: center;
  gap: 8px;
  min-width: 0;
  flex: 1;
  text-align: left;
}

.dlm-pt-mobile-tab-label {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  color: #ffffff;
}

.dlm-pt-mobile-tab-count {
  font-family: var(--pt-mono);
  font-size: 12px;
  font-weight: 800;
  color: var(--pt-neon);
  white-space: nowrap;
  flex-shrink: 0;
}

.dlm-pt-mobile-tab-caret {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--pt-neon);
  flex-shrink: 0;
  transition: transform 0.2s ease;
}

.dlm-pt-mobile-tab-caret svg {
  width: 18px;
  height: 18px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2.3;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.dlm-pt-mobile-tab-trigger[aria-expanded="true"] .dlm-pt-mobile-tab-caret {
  transform: rotate(180deg);
}

.dlm-pt-tabs-sheet-backdrop {
  position: fixed;
  inset: 0;
  z-index: 9600;
  background: rgba(0, 0, 0, 0.72);
  backdrop-filter: blur(4px);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.22s ease, visibility 0.22s ease;
}

.dlm-pt-tabs-sheet-backdrop.is-open {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

.dlm-pt-tabs-sheet {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 9610;
  background: #0b1016;
  border-top: 2px solid var(--pt-neon);
  border-radius: 18px 18px 0 0;
  box-shadow: 0 -14px 40px rgba(0, 0, 0, 0.88);
  max-height: 76vh;
  display: flex;
  flex-direction: column;
  transform: translateY(104%);
  visibility: hidden;
  pointer-events: none;
  transition: transform 0.24s cubic-bezier(0.22, 1, 0.36, 1), visibility 0.24s ease;
}

.dlm-pt-tabs-sheet.is-open {
  transform: translateY(0);
  visibility: visible;
  pointer-events: auto;
}

.dlm-pt-sheet-handle {
  width: 40px;
  height: 4px;
  border-radius: 99px;
  background: #2f4150;
  margin: 9px auto 2px auto;
  flex-shrink: 0;
}

.dlm-pt-tabs-sheet-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 8px 16px 12px 16px;
  border-bottom: 1px solid #1f2c38;
  flex-shrink: 0;
}

.dlm-pt-tabs-sheet-title {
  font-size: 13px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--pt-neon);
}

.dlm-pt-tabs-sheet-list {
  overflow-y: auto;
  padding: 10px 14px 20px 14px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.dlm-pt-tabs-sheet-item {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 12px 14px;
  background: #121820;
  border: 1px solid #263340;
  border-radius: var(--pt-radius-sm);
  color: #eef4f8;
  text-align: left;
  cursor: pointer;
  transition: border-color 0.16s ease, background 0.16s ease;
}

.dlm-pt-tabs-sheet-item:hover {
  border-color: var(--pt-neon);
  background: #16202b;
}

.dlm-pt-tabs-sheet-item.is-current {
  background: rgba(0, 255, 255, 0.14);
  border-color: var(--pt-neon);
  box-shadow: 0 0 12px rgba(0, 255, 255, 0.22);
}

.dlm-pt-tabs-sheet-item-info {
  display: flex;
  flex-direction: column;
  gap: 2px;
  min-width: 0;
  flex: 1;
}

.dlm-pt-tabs-sheet-item-name {
  font-size: 14px;
  font-weight: 800;
  color: #ffffff;
}

.dlm-pt-tabs-sheet-item.is-current .dlm-pt-tabs-sheet-item-name {
  color: var(--pt-neon);
}

.dlm-pt-tabs-sheet-item-sub {
  font-size: 11.5px;
  color: var(--pt-text-secondary);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.dlm-pt-tabs-sheet-badge {
  font-family: var(--pt-mono);
  font-size: 12px;
  font-weight: 800;
  padding: 4px 10px;
  border-radius: 99px;
  background: #1c2630;
  border: 1px solid #2f4050;
  color: var(--pt-neon);
  white-space: nowrap;
  flex-shrink: 0;
}

.dlm-pt-tabs-sheet-item.is-current .dlm-pt-tabs-sheet-badge {
  background: var(--pt-neon);
  border-color: var(--pt-neon);
  color: #000000;
}

.dlm-pt-tabs-sheet-badge.is-complete {
  background: rgba(34, 197, 94, 0.18);
  border-color: rgba(34, 197, 94, 0.55);
  color: #4ade80;
}

.dlm-pt-tabs-sheet-item.is-current .dlm-pt-tabs-sheet-badge.is-complete {
  background: var(--pt-neon);
  border-color: var(--pt-neon);
  color: #000000;
}

@media (max-width: 920px) {
  .dlm-pt-tabs {
    display: none;
  }
  .dlm-pt-mobile-tab-bar {
    display: block;
  }
}

/* Anti-Cheat Blur & Pause Overlay */
.dlm-pt-workspace.is-paused {
  filter: blur(18px);
  pointer-events: none;
  user-select: none;
}

.dlm-pt-pause-veil {
  position: fixed;
  inset: 0;
  z-index: 9999;
  background: rgba(0, 0, 0, 0.88);
  backdrop-filter: blur(12px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
}

.dlm-pt-pause-dialog {
  background: #111111;
  border: 1.5px solid var(--pt-neon);
  border-radius: var(--pt-radius-lg);
  padding: 32px;
  max-width: 460px;
  width: 100%;
  text-align: center;
  box-shadow: 0 0 30px rgba(0, 255, 255, 0.25);
}

.dlm-pt-pause-tag {
  display: inline-block;
  font-size: 11px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--pt-warning);
  background: var(--pt-warning-soft);
  border: 1px solid rgba(255, 171, 0, 0.4);
  padding: 4px 10px;
  border-radius: 4px;
  margin-bottom: 14px;
}

/* ----------------------------------------------------------------------------
 * SECTION WORKSPACE PANELS (LV1, LV2, LV3, SB1, SB2)
 * ---------------------------------------------------------------------------- */
.dlm-pt-task-card {
  background: var(--pt-surface);
  border: 1px solid var(--pt-border);
  border-radius: var(--pt-radius-md);
  padding: 22px;
  margin-bottom: 18px;
}

.dlm-pt-instruction {
  font-size: 13.5px;
  font-weight: 600;
  color: var(--pt-text);
  background: #161b1d;
  border-left: 3px solid var(--pt-neon);
  padding: 12px 16px;
  border-radius: 0 var(--pt-radius-sm) var(--pt-radius-sm) 0;
  margin-bottom: 20px;
}

.dlm-pt-split-layout {
  display: grid;
  grid-template-columns: 1.08fr 0.92fr;
  gap: 20px;
  align-items: start;
}

.dlm-pt-split-layout.is-lv3 {
  grid-template-columns: 0.68fr 1.52fr;
}

.dlm-pt-lv3-ads-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  align-items: stretch;
}

.dlm-pt-lv3-ad-banner {
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  background: #0c0c0c;
  border: 1px solid var(--pt-border);
  border-radius: var(--pt-radius-md);
  padding: 16px 18px;
  margin: 0;
  transition: border-color 0.2s ease;
}

.dlm-pt-lv3-ad-banner.banner-double {
  border: 3px double #3d4852;
  background: #0e1012;
}

.dlm-pt-lv3-ad-banner.banner-dashed {
  border: 1.5px dashed #4a5568;
  background: #0b0d0e;
}

.dlm-pt-lv3-ad-banner.banner-top-bar {
  border-top: 3px solid var(--pt-neon);
  background: #0e1315;
}

.dlm-pt-lv3-ad-banner.banner-left-bar {
  border-left: 3px solid var(--pt-neon);
  border-radius: 4px var(--pt-radius-md) var(--pt-radius-md) 4px;
  background: #0d1113;
}

.dlm-pt-lv3-ad-banner.banner-framed {
  border: 1px solid rgba(0, 255, 255, 0.28);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.04);
  background: #0a0e10;
}

.dlm-pt-lv3-ad-head {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin-bottom: 10px;
  padding-bottom: 8px;
  border-bottom: 1px solid #22282c;
}

.dlm-pt-lv3-ad-body {
  color: #e6edf3;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.dlm-pt-lv3-prose-chunk {
  margin: 0;
}

.dlm-pt-lv3-list-block {
  margin: 2px 0;
}

.dlm-pt-lv3-list-lead {
  margin-bottom: 4px;
}

.dlm-pt-lv3-bullet-list {
  margin: 0;
  padding-left: 18px;
  list-style-type: disc;
  display: flex;
  flex-direction: column;
  gap: 3px;
}

.dlm-pt-lv3-bullet-list li {
  margin: 0;
  padding: 0;
}

.dlm-pt-lv3-inline-bullets {
  display: flex;
  flex-wrap: wrap;
  gap: 6px 14px;
  margin-top: 2px;
}

.dlm-pt-lv3-inline-bullet-item {
  display: inline-block;
}

.dlm-pt-lv3-footer-line {
  padding-top: 6px;
  margin-top: 2px;
  border-top: 1px dashed rgba(255, 255, 255, 0.14);
}

.dlm-pt-lv3-endpoint {
  display: inline-block;
  margin-top: 2px;
}

.dlm-pt-scroll-pane {
  max-height: clamp(460px, calc(100vh - 205px), 780px);
  overflow-y: auto;
  padding-right: 8px;
}

@media (max-width: 920px) {
  .dlm-pt-split-layout,
  .dlm-pt-split-layout.is-lv3 {
    grid-template-columns: 1fr;
  }
  .dlm-pt-lv3-ads-grid {
    grid-template-columns: 1fr;
  }
  .dlm-pt-scroll-pane {
    max-height: none;
    overflow-y: visible;
    padding-right: 0;
  }
}

.dlm-pt-heading-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-bottom: 20px;
}

.dlm-pt-heading-item {
  display: flex;
  align-items: center;
  gap: 12px;
  background: #0d0d0d;
  border: 1px solid var(--pt-border);
  border-radius: var(--pt-radius-sm);
  padding: 11px 15px;
  font-size: 14.5px;
  color: var(--pt-text);
  transition: opacity 0.15s ease;
}

.dlm-pt-heading-text {
  display: inline-block;
  line-height: 1.45;
  color: #f4f8fb;
}

.dlm-pt-heading-item.is-used {
  opacity: 0.38;
  background: #080808;
}

.dlm-pt-letter-code {
  font-family: var(--pt-mono);
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
  color: var(--pt-neon);
  background: rgba(0, 255, 255, 0.12);
  border: 1px solid rgba(0, 255, 255, 0.3);
  padding: 2px 8px;
  border-radius: 4px;
  flex-shrink: 0;
}

.dlm-pt-reading-block {
  background: #0c0c0c;
  border: 1px solid var(--pt-border);
  border-radius: var(--pt-radius-md);
  padding: 20px;
  margin-bottom: 16px;
}

.dlm-pt-reading-title {
  font-size: 17px;
  font-weight: 800;
  color: var(--pt-neon);
  margin: 0 0 12px 0;
}

.dlm-pt-reading-prose p {
  font-size: 14.5px;
  line-height: 1.75;
  color: #e6edf3;
  margin: 0 0 14px 0;
}

.dlm-pt-reading-prose p:last-child {
  margin-bottom: 0;
}

.dlm-pt-question-box {
  background: #0e0e0e;
  border: 1px solid var(--pt-border);
  border-radius: var(--pt-radius-md);
  padding: 16px;
  margin-bottom: 14px;
}

.dlm-pt-question-box.is-correct {
  border-color: var(--pt-success-border);
  background: var(--pt-success-soft);
}

.dlm-pt-question-box.is-wrong {
  border-color: var(--pt-danger-border);
  background: var(--pt-danger-soft);
}

.dlm-pt-q-head {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 6px 10px;
  margin-bottom: 10px;
}

.dlm-pt-q-num {
  font-family: var(--pt-mono);
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
  color: var(--pt-neon);
  white-space: nowrap;
}

.dlm-pt-q-prompt {
  font-size: 14px;
  font-weight: 700;
  color: #ffffff;
  margin: 0 0 12px 0;
}

.dlm-pt-select {
  width: 100%;
  font-size: 13.5px;
  font-weight: 600;
  color: #ffffff;
  background: #181818;
  border: 1px solid #383838;
  border-radius: var(--pt-radius-sm);
  padding: 10px 12px;
  cursor: pointer;
}

.dlm-pt-select:focus {
  outline: none;
  border-color: var(--pt-neon);
  box-shadow: 0 0 10px rgba(0, 255, 255, 0.2);
}

.dlm-pt-option-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.dlm-pt-option-btn {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  width: 100%;
  text-align: left;
  font-size: 13.5px;
  color: var(--pt-text);
  background: #151515;
  border: 1px solid #2c2c2c;
  border-radius: var(--pt-radius-sm);
  padding: 10px 12px;
  cursor: pointer;
  transition: all 0.18s ease;
}

.dlm-pt-option-btn:hover:not(:disabled) {
  border-color: var(--pt-neon);
}

.dlm-pt-option-btn.is-selected {
  border-color: var(--pt-neon);
  background: rgba(0, 255, 255, 0.14);
  color: #ffffff;
  font-weight: 700;
  box-shadow: 0 0 12px rgba(0, 255, 255, 0.18);
}

.dlm-pt-option-btn.is-selected .dlm-pt-letter-code {
  background: var(--pt-neon);
  color: #000000;
}

.dlm-pt-wordbox-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(165px, 1fr));
  gap: 12px 8px;
  padding-top: 6px;
  margin-bottom: 18px;
}

.dlm-pt-wordbox-grid .dlm-pt-wordbox-item {
  position: relative;
  padding: 10px 12px;
  gap: 9px;
  min-width: 0;
  align-items: center;
}

.dlm-pt-wordbox-word {
  flex: 1 1 auto;
  min-width: 0;
  line-height: 1.3;
  overflow-wrap: break-word;
}

.dlm-pt-wordbox-grid .dlm-pt-wordbox-item.is-used {
  opacity: 1;
  background: #080808;
  border-color: rgba(0, 255, 255, 0.28);
}

.dlm-pt-wordbox-grid .dlm-pt-wordbox-item.is-used .dlm-pt-letter-code,
.dlm-pt-wordbox-grid .dlm-pt-wordbox-item.is-used .dlm-pt-wordbox-word {
  opacity: 0.45;
}

.dlm-pt-wordbox-grid .dlm-pt-wordbox-item .dlm-pt-assigned-tag {
  position: absolute;
  top: -8px;
  right: 6px;
  z-index: 2;
  max-width: calc(100% - 12px);
  overflow: hidden;
  text-overflow: ellipsis;
  padding: 1px 6px;
  font-size: 10px;
  line-height: 1.35;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.72);
}

@media (max-width: 680px) {
  .dlm-pt-wordbox-grid {
    grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
  }
}

.dlm-pt-gap-badge {
  display: inline-block;
  font-family: var(--pt-mono);
  font-size: 12px;
  font-weight: 800;
  padding: 1px 8px;
  margin: 0 2px;
  border-radius: 4px;
  background: rgba(0, 255, 255, 0.15);
  color: var(--pt-neon);
  border: 1px solid var(--pt-neon-border);
}

/* ----------------------------------------------------------------------------
 * GRADING RESULTS & EXPLANATIONS
 * ---------------------------------------------------------------------------- */
.dlm-pt-result-banner {
  background: #111111;
  border: 1.5px solid var(--pt-neon);
  border-radius: var(--pt-radius-lg);
  padding: 24px;
  margin-bottom: 20px;
}

.dlm-pt-result-banner.is-passed {
  border-color: var(--pt-success);
  box-shadow: 0 0 20px rgba(0, 230, 118, 0.15);
}

.dlm-pt-result-banner.is-failed {
  border-color: var(--pt-danger);
  box-shadow: 0 0 20px rgba(255, 82, 82, 0.15);
}

.dlm-pt-result-top {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 16px;
}

.dlm-pt-verdict-pill {
  display: inline-block;
  font-size: 11px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  padding: 4px 10px;
  border-radius: 4px;
}

.dlm-pt-verdict-pill.is-passed {
  background: var(--pt-success-soft);
  color: var(--pt-success);
  border: 1px solid var(--pt-success-border);
}

.dlm-pt-verdict-pill.is-failed {
  background: var(--pt-danger-soft);
  color: var(--pt-danger);
  border: 1px solid var(--pt-danger-border);
}

.dlm-pt-explanation {
  margin-top: 10px;
  padding-top: 10px;
  border-top: 1px solid #2b2b2b;
  font-size: 12.5px;
  color: #cfd8dc;
}

.dlm-pt-alert {
  background: var(--pt-danger-soft);
  border: 1px solid var(--pt-danger-border);
  color: var(--pt-danger);
  padding: 12px 16px;
  border-radius: var(--pt-radius-sm);
  font-size: 13.5px;
  font-weight: 600;
  margin-bottom: 16px;
}

.dlm-pt-footer-nav {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-top: 20px;
  padding-top: 16px;
  border-top: 1px solid var(--pt-border);
}

/* ----------------------------------------------------------------------------
 * CYBERSECURITY GATE (REGISTERED BLOG USERS ONLY)
 * ---------------------------------------------------------------------------- */
.dlm-pt-auth-gate {
  background: #0c1014;
  border: 1.5px solid var(--pt-neon-border);
  border-radius: var(--pt-radius-lg);
  padding: 36px 28px;
  max-width: 640px;
  margin: 24px auto;
  text-align: center;
  box-shadow: 0 0 28px rgba(0, 255, 255, 0.14);
}

.dlm-pt-auth-badge {
  display: inline-block;
  font-size: 11px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--pt-neon);
  background: var(--pt-neon-soft);
  border: 1px solid var(--pt-neon-border);
  padding: 4px 12px;
  border-radius: 20px;
  margin-bottom: 14px;
}

/* ----------------------------------------------------------------------------
 * ONGOING EXAM RESUME / DELETE BANNER IN HUB
 * ---------------------------------------------------------------------------- */
.dlm-pt-ongoing-banner {
  background: linear-gradient(135deg, #0d191e 0%, #0b1115 100%);
  border: 1.5px solid var(--pt-neon);
  border-radius: var(--pt-radius-md);
  padding: 20px 22px;
  margin-bottom: 24px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  box-shadow: 0 0 22px rgba(0, 255, 255, 0.16);
}

.dlm-pt-ongoing-info {
  flex: 1 1 320px;
}

.dlm-pt-ongoing-tags {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  margin-bottom: 8px;
}

.dlm-pt-ongoing-tag {
  display: inline-flex;
  align-items: center;
  font-size: 10.5px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: #000000;
  background: var(--pt-neon);
  padding: 3px 9px;
  border-radius: 4px;
}

.dlm-pt-ongoing-fmt-badge {
  display: inline-flex;
  align-items: center;
  font-size: 11px;
  font-weight: 700;
  color: #e6edf3;
  background: rgba(255, 255, 255, 0.07);
  border: 1px solid rgba(255, 255, 255, 0.18);
  padding: 3px 9px;
  border-radius: 4px;
}

.dlm-pt-ongoing-cloud-badge {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: 11px;
  font-weight: 700;
  color: var(--pt-neon);
  background: rgba(0, 255, 255, 0.08);
  border: 1px solid rgba(0, 255, 255, 0.35);
  padding: 3px 9px;
  border-radius: 4px;
}

.dlm-pt-ongoing-title {
  font-size: 1.15rem;
  font-weight: 800;
  color: #ffffff;
  margin: 0 0 6px 0;
}

.dlm-pt-ongoing-meta {
  font-size: 13px;
  color: var(--pt-text-secondary);
  display: flex;
  flex-wrap: wrap;
  gap: 10px 18px;
}

.dlm-pt-ongoing-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
}

.dlm-pt-ongoing-resume-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 10px 18px;
}

.dlm-pt-btn-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 15px;
  height: 15px;
}

.dlm-pt-btn-icon svg {
  width: 15px;
  height: 15px;
  fill: currentColor;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

/* Cloud Sync Status Pill in Exam Topbar */
.dlm-pt-sync-pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  min-width: 144px;
  height: 30px;
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: 0.02em;
  padding: 0 10px;
  border-radius: 99px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  background: rgba(255, 255, 255, 0.04);
  color: var(--pt-text-secondary);
  white-space: nowrap;
  flex-shrink: 0;
  transition: color 0.2s ease, border-color 0.2s ease, background 0.2s ease;
}

.dlm-pt-sync-pill.is-saved {
  color: var(--pt-neon);
  border-color: rgba(0, 255, 255, 0.35);
  background: rgba(0, 255, 255, 0.07);
}

.dlm-pt-sync-pill.is-saving {
  color: #ffffff;
  border-color: rgba(0, 255, 255, 0.55);
  background: rgba(0, 255, 255, 0.12);
}

.dlm-pt-sync-pill.is-offline {
  color: #ffcf6e;
  border-color: rgba(255, 207, 110, 0.45);
  background: rgba(255, 207, 110, 0.09);
}

.dlm-pt-sync-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 14px;
  height: 14px;
  flex-shrink: 0;
}

.dlm-pt-sync-icon svg {
  width: 14px;
  height: 14px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

@media (max-width: 640px) {
  .dlm-pt-sync-pill {
    min-width: 132px;
    height: 28px;
    font-size: 11px;
    padding: 0 8px;
  }
  .dlm-pt-ongoing-actions {
    width: 100%;
    justify-content: flex-start;
  }
  .dlm-pt-ongoing-resume-btn {
    flex: 1 1 auto;
  }
}

.dlm-pt-btn-danger {
  font-family: var(--pt-font);
  font-size: 13px;
  font-weight: 700;
  color: var(--pt-danger);
  background: var(--pt-danger-soft);
  border: 1px solid var(--pt-danger-border);
  border-radius: var(--pt-radius-sm);
  padding: 10px 16px;
  cursor: pointer;
  transition: all 0.2s ease;
}

.dlm-pt-btn-danger:hover {
  background: var(--pt-danger);
  color: #000000;
}

/* ----------------------------------------------------------------------------
 * HÖRVERSTEHEN TEIL 1–3 AUDIO CONSOLE & STATEMENT CARDS
 * ---------------------------------------------------------------------------- */
.dlm-pt-audio-console {
  background: #0d1318;
  border: 1.5px solid var(--pt-neon-border);
  border-radius: var(--pt-radius-md);
  padding: 18px 20px;
  margin-bottom: 20px;
  box-shadow: inset 0 0 18px rgba(0, 255, 255, 0.06);
}

.dlm-pt-audio-top {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 14px;
}

.dlm-pt-audio-title-wrap {
  display: flex;
  align-items: center;
  gap: 10px;
}

.dlm-pt-audio-title {
  font-size: 14.5px;
  font-weight: 800;
  color: #ffffff;
}

.dlm-pt-audio-status {
  font-family: var(--pt-mono);
  font-size: 11px;
  font-weight: 700;
  color: var(--pt-neon);
  background: rgba(0, 255, 255, 0.1);
  border: 1px solid var(--pt-neon-border);
  padding: 3px 10px;
  border-radius: 12px;
}

.dlm-pt-audio-controls {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px 14px;
}

.dlm-pt-audio-play-btn {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--pt-neon);
  color: #000000;
  border: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  flex-shrink: 0;
  box-shadow: 0 0 14px rgba(0, 255, 255, 0.35);
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.dlm-pt-audio-play-btn:hover {
  transform: scale(1.05);
  box-shadow: 0 0 20px rgba(0, 255, 255, 0.55);
}

.dlm-pt-audio-play-btn svg {
  width: 18px;
  height: 18px;
  fill: currentColor;
}

.dlm-pt-audio-progress-wrap {
  flex: 1 1 180px;
  min-width: 140px;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.dlm-pt-audio-seek {
  width: 100%;
  accent-color: var(--pt-neon);
  height: 6px;
  background: #232d35;
  border-radius: 4px;
  cursor: pointer;
}

.dlm-pt-audio-time-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 10px;
  font-family: var(--pt-mono);
  font-size: 12px;
  color: var(--pt-text-secondary);
}

.dlm-pt-audio-time-row span {
  white-space: nowrap;
  flex-shrink: 0;
}

/* Mobile & Split-Pane Audio Console: Full-Width Seek Bar Row + Clean Controls Row */
.dlm-pt-split-layout .dlm-pt-audio-controls .dlm-pt-audio-progress-wrap {
  order: -1;
  flex: 1 0 100%;
  width: 100%;
  min-width: 0;
}

.dlm-pt-split-layout .dlm-pt-audio-controls .dlm-pt-audio-mute-btn {
  margin-left: auto;
}

@media (max-width: 680px) {
  .dlm-pt-audio-console {
    padding: 14px;
  }
  .dlm-pt-audio-top {
    gap: 8px;
    margin-bottom: 12px;
  }
  .dlm-pt-audio-title {
    font-size: 13.5px;
  }
  .dlm-pt-audio-controls {
    gap: 10px;
  }
  .dlm-pt-audio-progress-wrap {
    order: -1;
    flex: 1 0 100%;
    width: 100%;
    min-width: 0;
  }
  .dlm-pt-audio-mute-btn {
    margin-left: auto;
  }
}

.dlm-pt-audio-mute-btn {
  width: 38px;
  height: 38px;
  border-radius: var(--pt-radius-sm);
  background: #161f26;
  border: 1px solid #2b3945;
  color: var(--pt-neon);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  flex-shrink: 0;
}

.dlm-pt-audio-mute-btn:hover {
  border-color: var(--pt-neon);
  background: rgba(0, 255, 255, 0.12);
}

.dlm-pt-audio-mute-btn svg {
  width: 17px;
  height: 17px;
  stroke: currentColor;
  fill: none;
  stroke-width: 2;
}

.dlm-pt-hv-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.dlm-pt-hv-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
}

.dlm-pt-hv-statement {
  flex: 1 1 380px;
  font-size: 15px;
  line-height: 1.55;
  color: #f2f6f8;
  font-weight: 500;
}

.dlm-pt-rf-group {
  display: inline-flex;
  gap: 10px;
  flex-shrink: 0;
}

.dlm-pt-rf-btn {
  min-width: 124px;
  padding: 9px 14px;
  font-family: var(--pt-font);
  font-size: 13.5px;
  font-weight: 700;
  color: var(--pt-text-secondary);
  background: #14191d;
  border: 1px solid #2e3840;
  border-radius: var(--pt-radius-sm);
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  transition: all 0.18s ease;
}

.dlm-pt-rf-btn:hover:not(:disabled) {
  border-color: var(--pt-neon);
  color: #ffffff;
}

.dlm-pt-rf-btn.is-selected {
  color: #000000;
  background: var(--pt-neon);
  border-color: var(--pt-neon);
  box-shadow: 0 0 12px rgba(0, 255, 255, 0.35);
}

.dlm-pt-rf-btn.is-selected .dlm-pt-letter-code {
  background: rgba(0, 0, 0, 0.22);
  color: #000000;
}

/* Post-Grading Collapsible Hörtext / Transkript */
.dlm-pt-transcript-details {
  background: #0e1419;
  border: 1px solid #273640;
  border-radius: var(--pt-radius-md);
  margin-bottom: 20px;
  overflow: hidden;
}

.dlm-pt-transcript-summary {
  padding: 13px 18px;
  font-size: 13.5px;
  font-weight: 800;
  color: var(--pt-neon);
  cursor: pointer;
  user-select: none;
  background: rgba(0, 255, 255, 0.06);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.dlm-pt-transcript-body {
  padding: 18px 20px;
  border-top: 1px solid #22303a;
  max-height: 440px;
  overflow-y: auto;
  font-size: 14.5px;
  line-height: 1.68;
  color: #dde6ec;
}

/* ----------------------------------------------------------------------------
 * MOCK TEST HISTORY SECTION (PRÜFUNGSHISTORIE & SEED SHARING)
 * ---------------------------------------------------------------------------- */
.dlm-pt-history-panel {
  background: var(--pt-surface);
  border: 1px solid var(--pt-border);
  border-radius: var(--pt-radius-md);
  padding: 22px;
  margin-top: 24px;
}

.dlm-pt-history-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-top: 14px;
}

.dlm-pt-history-card {
  background: #101519;
  border: 1px solid #253038;
  border-radius: var(--pt-radius-sm);
  padding: 15px 18px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  transition: border-color 0.2s ease;
}

.dlm-pt-history-card:hover {
  border-color: var(--pt-neon-border);
}

.dlm-pt-history-main {
  flex: 1 1 320px;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.dlm-pt-history-top {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
}

.dlm-pt-history-score {
  font-size: 15px;
  font-weight: 800;
  color: #ffffff;
}

.dlm-pt-history-date {
  font-family: var(--pt-mono);
  font-size: 12px;
  color: var(--pt-text-secondary);
}

.dlm-pt-history-sub {
  font-size: 12.5px;
  color: var(--pt-text-secondary);
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
}

.dlm-pt-history-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
}

/* ----------------------------------------------------------------------------
 * PER-SECTION REPORT BUTTON & MODAL (TELEGRAM BOT REPORTING)
 * ---------------------------------------------------------------------------- */
.dlm-pt-instruction-row {
  display: flex;
  flex-wrap: nowrap;
  align-items: flex-start;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 20px;
}

.dlm-pt-instruction-row .dlm-pt-instruction {
  flex: 1 1 auto;
  min-width: 0;
  margin-bottom: 0;
}

.dlm-pt-report-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  padding: 0;
  color: var(--pt-warning);
  background: rgba(255, 171, 0, 0.08);
  border: 1px solid rgba(255, 171, 0, 0.38);
  border-radius: var(--pt-radius-sm);
  cursor: pointer;
  flex-shrink: 0;
  transition: all 0.18s ease;
}

.dlm-pt-report-btn:hover {
  background: rgba(255, 171, 0, 0.18);
  border-color: var(--pt-warning);
  color: #ffffff;
}

.dlm-pt-report-btn.is-reported {
  color: var(--pt-success);
  background: var(--pt-success-soft);
  border-color: var(--pt-success-border);
}

.dlm-pt-report-btn svg {
  width: 15px;
  height: 15px;
  stroke: currentColor;
  fill: none;
  stroke-width: 2;
}

.dlm-pt-report-box {
  background: #0d1318;
  border: 1.5px solid var(--pt-warning);
  border-radius: var(--pt-radius-md);
  padding: 18px 20px;
  margin-bottom: 18px;
  box-shadow: 0 0 22px rgba(255, 171, 0, 0.12);
}

.dlm-pt-report-head {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 12px;
}

.dlm-pt-report-title {
  font-size: 15px;
  font-weight: 800;
  color: #ffffff;
  margin: 0;
}

.dlm-pt-report-id {
  font-family: var(--pt-mono);
  font-size: 11.5px;
  color: var(--pt-neon);
  background: rgba(0, 255, 255, 0.1);
  border: 1px solid var(--pt-neon-border);
  padding: 2px 9px;
  border-radius: 4px;
}

.dlm-pt-report-reasons {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 12px;
}

.dlm-pt-reason-pill {
  font-family: var(--pt-font);
  font-size: 12.5px;
  font-weight: 600;
  color: var(--pt-text-secondary);
  background: #141b22;
  border: 1px solid #2b3844;
  border-radius: 18px;
  padding: 7px 13px;
  cursor: pointer;
  transition: all 0.16s ease;
}

.dlm-pt-reason-pill:hover {
  border-color: var(--pt-neon);
  color: #ffffff;
}

.dlm-pt-reason-pill.is-selected {
  color: #000000;
  background: var(--pt-neon);
  border-color: var(--pt-neon);
  font-weight: 800;
}

.dlm-pt-report-textarea {
  width: 100%;
  min-height: 68px;
  box-sizing: border-box;
  font-family: var(--pt-font);
  font-size: 13.5px;
  color: #ffffff;
  background: #080b0e;
  border: 1px solid #283540;
  border-radius: var(--pt-radius-sm);
  padding: 10px 12px;
  resize: vertical;
  margin-bottom: 12px;
}

.dlm-pt-report-textarea:focus {
  outline: none;
  border-color: var(--pt-neon);
}

.dlm-pt-report-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: flex-end;
  gap: 10px;
}

.dlm-pt-report-toast {
  background: var(--pt-success-soft);
  border: 1px solid var(--pt-success-border);
  color: var(--pt-success);
  padding: 10px 14px;
  border-radius: var(--pt-radius-sm);
  font-size: 13px;
  font-weight: 700;
  margin-bottom: 16px;
}

/* ----------------------------------------------------------------------------
 * GOETHE-ZERTIFIKAT B2 SPECIALIZED SECTION UI/UX COMPONENTS
 * ---------------------------------------------------------------------------- */
.dlm-pt-example-box {
  background: rgba(0, 255, 255, 0.045);
  border: 1px dashed rgba(0, 255, 255, 0.42);
  border-radius: var(--pt-radius-md);
  padding: 14px 16px;
  margin-bottom: 16px;
}

.dlm-pt-example-tag {
  display: inline-block;
  font-family: var(--pt-mono);
  font-size: 10.5px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: #000000;
  background: var(--pt-neon);
  padding: 2px 8px;
  border-radius: 4px;
}

.dlm-pt-gap-badge.is-example {
  background: rgba(0, 255, 255, 0.28);
  color: #ffffff;
  border-style: dashed;
}

.dlm-pt-person-card {
  background: #0c0e12;
  border: 1px solid var(--pt-border);
  border-left: 3px solid var(--pt-neon);
  border-radius: var(--pt-radius-md);
  padding: 16px 18px;
  margin-bottom: 14px;
}

.dlm-pt-person-head {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 10px;
  padding-bottom: 8px;
  border-bottom: 1px solid #22282e;
}

.dlm-pt-person-title {
  font-size: 15.5px;
  font-weight: 800;
  color: #ffffff;
}

.dlm-pt-pill-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.dlm-pt-pill-btn {
  flex: 1 1 56px;
  min-width: 52px;
  padding: 8px 10px;
  font-family: var(--pt-font);
  font-size: 13px;
  font-weight: 700;
  color: var(--pt-text-secondary);
  background: #14191e;
  border: 1px solid #2c3640;
  border-radius: var(--pt-radius-sm);
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  transition: all 0.16s ease;
}

.dlm-pt-pill-btn:hover:not(:disabled) {
  border-color: var(--pt-neon);
  color: #ffffff;
}

.dlm-pt-pill-btn.is-selected,
.dlm-pt-pill-btn.is-selected:hover:not(:disabled) {
  color: #000000;
  background: var(--pt-neon);
  border-color: var(--pt-neon);
  box-shadow: 0 0 12px rgba(0, 255, 255, 0.32);
}

.dlm-pt-pill-btn.is-selected:hover:not(:disabled) {
  background: #55ffff;
  border-color: #55ffff;
}

.dlm-pt-pill-btn.is-selected .dlm-pt-letter-code,
.dlm-pt-pill-btn.is-selected:hover:not(:disabled) .dlm-pt-letter-code {
  background: rgba(0, 0, 0, 0.22);
  color: #000000;
  border-color: transparent;
}

.dlm-pt-rf-btn.is-selected:hover:not(:disabled) {
  color: #000000;
  background: #55ffff;
  border-color: #55ffff;
}

/* Goethe-Zertifikat C1 Hören Teil 2: 3-way stimmt / stimmt nicht / dazu wird nichts gesagt bar */
.dlm-pt-gc1-rfn-group {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
}

.dlm-pt-gc1-rfn-btn {
  width: 100%;
  min-width: 0;
  padding: 10px 12px;
  font-family: var(--pt-font);
  font-size: 13px;
  font-weight: 700;
  color: var(--pt-text-secondary);
  background: #14191e;
  border: 1px solid #2c3640;
  border-radius: var(--pt-radius-sm);
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: flex-start;
  gap: 8px;
  text-align: left;
  line-height: 1.3;
  transition: all 0.16s ease;
}

.dlm-pt-gc1-rfn-btn:hover:not(:disabled) {
  border-color: var(--pt-neon);
  color: #ffffff;
  background: #18222a;
}

.dlm-pt-gc1-rfn-btn.is-selected,
.dlm-pt-gc1-rfn-btn.is-selected:hover:not(:disabled) {
  color: #000000;
  background: var(--pt-neon);
  border-color: var(--pt-neon);
  box-shadow: 0 0 12px rgba(0, 255, 255, 0.32);
}

.dlm-pt-gc1-rfn-btn.is-selected:hover:not(:disabled) {
  background: #55ffff;
  border-color: #55ffff;
}

.dlm-pt-gc1-rfn-btn.is-selected .dlm-pt-letter-code,
.dlm-pt-gc1-rfn-btn.is-selected:hover:not(:disabled) .dlm-pt-letter-code {
  background: rgba(0, 0, 0, 0.22);
  color: #000000;
  border-color: transparent;
}

.dlm-pt-gc1-rfn-btn.is-correct-opt {
  border-color: var(--pt-success) !important;
  background: rgba(0, 230, 118, 0.16) !important;
  color: #ffffff !important;
  font-weight: 700;
}

.dlm-pt-gc1-rfn-btn.is-correct-opt .dlm-pt-letter-code {
  background: var(--pt-success) !important;
  color: #000000 !important;
  border-color: var(--pt-success) !important;
}

.dlm-pt-gc1-rfn-btn.is-wrong-opt {
  border-color: var(--pt-danger) !important;
  background: rgba(255, 82, 82, 0.16) !important;
  color: #ffd5d5 !important;
}

.dlm-pt-gc1-rfn-btn.is-wrong-opt .dlm-pt-letter-code {
  background: var(--pt-danger) !important;
  color: #000000 !important;
  border-color: var(--pt-danger) !important;
}

@media (max-width: 720px) {
  .dlm-pt-gc1-rfn-group {
    grid-template-columns: 1fr;
  }
}

.dlm-pt-opinion-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

@media (max-width: 920px) {
  .dlm-pt-opinion-grid {
    grid-template-columns: 1fr;
  }
}

.dlm-pt-opinion-card {
  background: #0c0e12;
  border: 1px solid var(--pt-border);
  border-radius: var(--pt-radius-md);
  padding: 14px 16px;
  transition: opacity 0.18s ease, border-color 0.18s ease;
}

.dlm-pt-opinion-card.is-used {
  opacity: 0.38;
  background: #08090b;
}

.dlm-pt-opinion-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  margin-bottom: 8px;
  padding-bottom: 6px;
  border-bottom: 1px solid #20262c;
}

.dlm-pt-opinion-author {
  font-size: 13.5px;
  font-weight: 800;
  color: var(--pt-neon);
}

.dlm-pt-speaker-strip {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(210px, 1fr));
  gap: 12px;
  margin-bottom: 18px;
}

.dlm-pt-speaker-card {
  background: #0e141a;
  border: 1px solid #263644;
  border-radius: var(--pt-radius-sm);
  padding: 12px 14px;
  display: flex;
  align-items: center;
  gap: 12px;
}

.dlm-pt-speaker-info {
  display: flex;
  flex-direction: column;
  min-width: 0;
}

.dlm-pt-speaker-name {
  font-size: 14px;
  font-weight: 800;
  color: #ffffff;
}

.dlm-pt-speaker-role {
  font-size: 12px;
  color: var(--pt-text-secondary);
}

.dlm-pt-hv1-group {
  background: #0b0e12;
  border: 1px solid #242d36;
  border-radius: var(--pt-radius-md);
  padding: 16px 18px;
  margin-bottom: 16px;
}

.dlm-pt-hv1-group-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding-bottom: 10px;
  margin-bottom: 14px;
  border-bottom: 1px solid #1f2830;
}

.dlm-pt-hv1-group-title {
  font-size: 14px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--pt-neon);
}

.dlm-pt-doc-banner {
  font-size: 16px;
  font-weight: 800;
  color: var(--pt-neon);
  background: #0d1418;
  border: 1px solid #243642;
  border-radius: var(--pt-radius-sm);
  padding: 12px 16px;
  margin-bottom: 14px;
}

/* ----------------------------------------------------------------------------
 * GOETHE-ZERTIFIKAT B1 – PRESS ARTICLES, FORUM DEBATE & SITUATION CONTEXT
 * ---------------------------------------------------------------------------- */
.dlm-pt-gb1-press-card {
  background: #0b0f13;
  border: 1px solid #222e38;
  border-radius: var(--pt-radius-md);
  padding: 16px 18px;
  margin-bottom: 16px;
  transition: border-color 0.18s ease, box-shadow 0.18s ease;
}

.dlm-pt-gb1-press-card:last-child {
  margin-bottom: 0;
}

.dlm-pt-gb1-press-head {
  display: flex;
  align-items: flex-start;
  gap: 11px;
  padding-bottom: 11px;
  margin-bottom: 12px;
  border-bottom: 1px solid #1e2a34;
}

.dlm-pt-gb1-press-title {
  font-size: 16px;
  font-weight: 800;
  color: #ffffff;
  line-height: 1.35;
}

.dlm-pt-gb1-press-source {
  font-size: 12px;
  color: var(--pt-text-muted);
  margin-top: 3px;
}

.dlm-pt-gb1-text-group {
  margin-bottom: 20px;
}

.dlm-pt-gb1-text-group:last-child {
  margin-bottom: 0;
}

.dlm-pt-gb1-text-group-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 10px;
  padding-bottom: 6px;
  border-bottom: 1px solid #1e2830;
}

.dlm-pt-gb1-situation-note {
  background: rgba(0, 255, 255, 0.06);
  border: 1px solid rgba(0, 255, 255, 0.24);
  border-left: 3px solid var(--pt-neon);
  border-radius: var(--pt-radius-sm);
  padding: 10px 14px;
  margin-bottom: 14px;
  font-size: 13.5px;
  color: #dce7ef;
  line-height: 1.5;
}

.dlm-pt-gb1-forum-banner {
  background: linear-gradient(135deg, rgba(0, 255, 255, 0.09) 0%, #0d131a 60%, #0b0e12 100%);
  border: 1px solid rgba(0, 255, 255, 0.3);
  border-radius: var(--pt-radius-md);
  padding: 16px 20px;
  margin-bottom: 16px;
}

.dlm-pt-gb1-forum-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 10.5px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--pt-neon);
  margin-bottom: 6px;
}

.dlm-pt-gb1-forum-title {
  font-size: 17px;
  font-weight: 800;
  color: #ffffff;
  margin-bottom: 4px;
}

.dlm-pt-gb1-forum-question {
  font-size: 14.5px;
  font-weight: 600;
  color: #d7eff4;
  line-height: 1.45;
}

.dlm-pt-gb1-forum-example {
  margin-bottom: 18px;
}

.dlm-pt-gb1-forum-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.dlm-pt-gb1-comment-card {
  display: flex;
  flex-direction: column;
  margin-bottom: 0;
}

.dlm-pt-gb1-comment-body {
  flex: 1;
  font-size: 14px;
  line-height: 1.62;
  margin-bottom: 12px;
}

.dlm-pt-gb1-comment-body p:last-child {
  margin-bottom: 0;
}

.dlm-pt-gb1-comment-foot {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 10px 14px;
  padding-top: 10px;
  border-top: 1px solid #202a32;
}

.dlm-pt-gb1-comment-prompt {
  flex: 1 1 200px;
  font-size: 13.5px;
  font-weight: 700;
  color: #e6f2f5;
  line-height: 1.4;
}

@media (max-width: 980px) {
  .dlm-pt-gb1-forum-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 640px) {
  .dlm-pt-gb1-press-card {
    padding: 13px 14px;
  }
  .dlm-pt-gb1-forum-banner {
    padding: 13px 14px;
  }
  .dlm-pt-gb1-comment-foot {
    flex-direction: column;
    align-items: stretch;
  }
}

/* ----------------------------------------------------------------------------
 * TELC DEUTSCH C1 HOCHSCHULE & SECTION UX POLISH
 * ---------------------------------------------------------------------------- */

/* Per-Section Question Navigator Strip */
.dlm-pt-qnav {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 10px 14px;
  background: #0b1014;
  border: 1px solid #222c34;
  border-radius: var(--pt-radius-md);
  padding: 10px 14px;
  margin-bottom: 16px;
}

.dlm-pt-qnav-left {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px;
  flex: 1 1 320px;
}

.dlm-pt-qnav-title {
  font-size: 11px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.09em;
  color: var(--pt-text-muted);
  margin-right: 6px;
}

.dlm-pt-qnav-pill {
  min-width: 30px;
  height: 28px;
  padding: 0 7px;
  border-radius: 6px;
  border: 1px solid #2c3640;
  background: #14191e;
  color: var(--pt-text-secondary);
  font-family: var(--pt-mono);
  font-size: 12px;
  font-weight: 700;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: all 0.15s ease;
}

.dlm-pt-qnav-pill:hover {
  border-color: var(--pt-neon);
  color: #ffffff;
}

.dlm-pt-qnav-pill.is-answered {
  background: rgba(0, 255, 255, 0.16);
  border-color: rgba(0, 255, 255, 0.5);
  color: var(--pt-neon);
}

.dlm-pt-qnav-pill.is-active-q {
  box-shadow: 0 0 0 2px var(--pt-neon);
  color: #ffffff;
}

.dlm-pt-qnav-pill.is-correct {
  background: var(--pt-success-soft);
  border-color: var(--pt-success);
  color: var(--pt-success);
}

.dlm-pt-qnav-pill.is-wrong {
  background: var(--pt-danger-soft);
  border-color: var(--pt-danger);
  color: var(--pt-danger);
}

.dlm-pt-qnav-right {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}

.dlm-pt-qnav-stat {
  font-family: var(--pt-mono);
  font-size: 11.5px;
  font-weight: 700;
  color: var(--pt-text-secondary);
}

.dlm-pt-next-open-btn {
  font-family: var(--pt-font);
  font-size: 11.5px;
  font-weight: 700;
  color: var(--pt-neon);
  background: rgba(0, 255, 255, 0.08);
  border: 1px solid rgba(0, 255, 255, 0.35);
  border-radius: 6px;
  padding: 5px 10px;
  cursor: pointer;
  transition: all 0.15s ease;
}

.dlm-pt-next-open-btn:hover {
  background: var(--pt-neon);
  color: #000000;
}

/* Interactive Gap Badges inside Reading Texts & Slides */
button.dlm-pt-gap-badge {
  font-family: var(--pt-mono);
  cursor: pointer;
  transition: all 0.16s ease;
  vertical-align: baseline;
  line-height: 1.45;
}

button.dlm-pt-gap-badge:hover {
  background: var(--pt-neon);
  color: #000000;
  border-color: var(--pt-neon);
  box-shadow: 0 0 10px rgba(0, 255, 255, 0.35);
}

.dlm-pt-gap-badge.is-filled {
  background: rgba(0, 255, 255, 0.24);
  color: #ffffff;
  border-color: var(--pt-neon);
}

.dlm-pt-gap-badge.is-active-q {
  background: var(--pt-neon);
  color: #000000;
  border-color: var(--pt-neon);
  box-shadow: 0 0 12px rgba(0, 255, 255, 0.45);
}

.dlm-pt-gap-badge.is-correct {
  background: var(--pt-success-soft) !important;
  color: var(--pt-success) !important;
  border-color: var(--pt-success) !important;
}

.dlm-pt-gap-badge.is-wrong {
  background: var(--pt-danger-soft) !important;
  color: #ff8a80 !important;
  border-color: var(--pt-danger) !important;
}

/* Question Box Active Target, Clear Button & Post-Grading Option Highlights */
.dlm-pt-question-box {
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.dlm-pt-question-box.is-active-q {
  border-color: var(--pt-neon);
  box-shadow: 0 0 14px rgba(0, 255, 255, 0.16);
}

.dlm-pt-question-box.is-flash {
  box-shadow: 0 0 0 2px var(--pt-neon), 0 0 22px rgba(0, 255, 255, 0.32);
}

.dlm-pt-q-head-meta {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  flex-shrink: 0;
}

.dlm-pt-clear-btn {
  width: 26px;
  height: 26px;
  min-width: 26px;
  flex-shrink: 0;
  border-radius: 5px;
  border: 1px solid #383838;
  background: #181818;
  color: var(--pt-text-secondary);
  font-size: 14px;
  font-weight: 700;
  line-height: 1;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  transition: all 0.15s ease;
}

.dlm-pt-clear-btn:hover {
  border-color: var(--pt-danger);
  color: var(--pt-danger);
  background: var(--pt-danger-soft);
}

.dlm-pt-active-target-pill {
  font-size: 10px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: #000000;
  background: var(--pt-neon);
  padding: 2px 7px;
  border-radius: 4px;
}

.dlm-pt-option-btn.is-correct-opt,
.dlm-pt-pill-btn.is-correct-opt,
.dlm-pt-rf-btn.is-correct-opt {
  border-color: var(--pt-success) !important;
  background: rgba(0, 230, 118, 0.16) !important;
  color: #ffffff !important;
  font-weight: 700;
}

.dlm-pt-option-btn.is-correct-opt .dlm-pt-letter-code,
.dlm-pt-pill-btn.is-correct-opt .dlm-pt-letter-code,
.dlm-pt-rf-btn.is-correct-opt .dlm-pt-letter-code {
  background: var(--pt-success) !important;
  color: #000000 !important;
  border-color: var(--pt-success) !important;
}

.dlm-pt-option-btn.is-wrong-opt,
.dlm-pt-pill-btn.is-wrong-opt,
.dlm-pt-rf-btn.is-wrong-opt {
  border-color: var(--pt-danger) !important;
  background: rgba(255, 82, 82, 0.16) !important;
  color: #ffd5d5 !important;
}

.dlm-pt-option-btn.is-wrong-opt .dlm-pt-letter-code,
.dlm-pt-pill-btn.is-wrong-opt .dlm-pt-letter-code,
.dlm-pt-rf-btn.is-wrong-opt .dlm-pt-letter-code {
  background: var(--pt-danger) !important;
  color: #000000 !important;
  border-color: var(--pt-danger) !important;
}

.dlm-pt-exp-badge {
  display: inline-block;
  font-family: var(--pt-mono);
  font-size: 10.5px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  padding: 2px 7px;
  border-radius: 4px;
  margin-right: 6px;
}

.dlm-pt-exp-badge.is-correct {
  background: var(--pt-success-soft);
  color: var(--pt-success);
  border: 1px solid var(--pt-success-border);
}

.dlm-pt-exp-badge.is-wrong {
  background: var(--pt-danger-soft);
  color: var(--pt-danger);
  border: 1px solid var(--pt-danger-border);
}

/* Clickable Satzkasten / Aussagen Cards (C1 LV1 & HV1) */
.dlm-pt-heading-item.is-clickable {
  cursor: pointer;
  transition: border-color 0.16s ease, background-color 0.16s ease, opacity 0.16s ease, transform 0.12s ease;
}

.dlm-pt-heading-item.is-clickable:hover {
  border-color: var(--pt-neon);
  background: #131c20;
}

.dlm-pt-heading-item.is-example-card {
  opacity: 0.92;
  border-style: dashed;
  border-color: rgba(0, 255, 255, 0.35);
  background: rgba(0, 255, 255, 0.04);
}

.dlm-pt-assigned-tag {
  font-family: var(--pt-mono);
  font-size: 11px;
  font-weight: 800;
  color: #000000;
  background: var(--pt-neon);
  padding: 2px 8px;
  border-radius: 4px;
  white-space: nowrap;
  flex-shrink: 0;
}

.dlm-pt-assigned-tag.is-dup {
  background: var(--pt-warning);
  color: #000000;
}

.dlm-pt-assign-row {
  display: flex;
  align-items: center;
  gap: 8px;
}

.dlm-pt-assign-row .dlm-pt-select {
  flex: 1;
  min-width: 0;
}

/* C1 LV2: 5-Column Single-Row Clean A-E Boxes & Abschnitt Badges */
.dlm-pt-c1-lv2-pills {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 8px;
}

.dlm-pt-c1-lv2-pills.is-4col {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.dlm-pt-c1-lv2-pills.is-3col {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.dlm-pt-c1-lv2-pills .dlm-pt-pill-btn,
.dlm-pt-c1-rfn-row .dlm-pt-pill-btn {
  min-width: 0;
  min-height: 40px;
  padding: 8px 6px;
  font-family: var(--pt-mono);
  font-size: 14px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  white-space: nowrap;
}

.dlm-pt-abschn-tags {
  margin-left: auto;
  display: inline-flex;
  flex-wrap: wrap;
  gap: 4px;
}

/* C1 LV3: Legend Box, Continuous Scientific Article & Clean 3-Col A/B/C Boxes */
.dlm-pt-c1-rfn-legend {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px 16px;
  background: #0d151b;
  border: 1px solid rgba(0, 255, 255, 0.3);
  border-radius: var(--pt-radius-sm);
  padding: 10px 14px;
  margin-bottom: 14px;
  font-size: 13px;
  color: #e6edf3;
}

.dlm-pt-c1-rfn-legend-item {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-weight: 600;
}

.dlm-pt-c1-lv3-article {
  background: #0c0e12;
  border: 1px solid var(--pt-border);
  border-radius: var(--pt-radius-md);
  padding: 18px 20px;
}

.dlm-pt-c1-lv3-para {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 12px;
  align-items: start;
  padding: 10px 0;
  border-bottom: 1px dashed rgba(255, 255, 255, 0.08);
}

.dlm-pt-c1-lv3-para:first-child {
  padding-top: 2px;
}

.dlm-pt-c1-lv3-para:last-child {
  padding-bottom: 2px;
  border-bottom: none;
}

.dlm-pt-c1-lv3-para-badge {
  font-family: var(--pt-mono);
  font-size: 11px;
  font-weight: 800;
  color: var(--pt-neon);
  background: rgba(0, 255, 255, 0.1);
  border: 1px solid rgba(0, 255, 255, 0.28);
  border-radius: 4px;
  padding: 2px 7px;
  margin-top: 3px;
  white-space: nowrap;
}

.dlm-pt-c1-lv3-para-body p {
  font-size: 14.5px;
  line-height: 1.74;
  color: #e6edf3;
  margin: 0;
}

.dlm-pt-c1-rfn-row {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
}

@media (max-width: 520px) {
  .dlm-pt-c1-lv3-para {
    grid-template-columns: 1fr;
    gap: 6px;
  }
  .dlm-pt-c1-lv3-para-badge {
    justify-self: start;
  }
}

/* Gap Badge Spacing: Breathing Room Before Words, Flush Before Punctuation */
.dlm-pt-gap-badge {
  margin: 0 3px 0 2px;
}

.dlm-pt-gap-badge.is-punct-after {
  margin-right: 0;
}

/* Sticky Topbar Minimize / Maximize States */
.dlm-pt-topbar-full {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  grid-template-areas:
    "brand seed"
    "status actions";
  align-items: center;
  gap: 10px 16px;
  width: 100%;
}

.dlm-pt-topbar-brand {
  grid-area: brand;
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
}

.dlm-pt-topbar-menu-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 36px;
  padding: 0 12px;
  font-size: 12.5px;
  white-space: nowrap;
  flex-shrink: 0;
}

.dlm-pt-topbar-seed {
  grid-area: seed;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  min-width: 0;
}

.dlm-pt-topbar-status {
  grid-area: status;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
  min-width: 0;
}

.dlm-pt-topbar-actions {
  grid-area: actions;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 6px;
  flex-shrink: 0;
}

.dlm-pt-topbar-full .dlm-pt-icon-btn {
  width: 36px;
  height: 36px;
}

.dlm-pt-topbar-full .dlm-pt-timer-unit {
  height: 36px;
}

.dlm-pt-topbar-full .dlm-pt-timer-box {
  font-size: 15px;
  padding: 0 11px;
  min-width: 72px;
}

.dlm-pt-topbar-full .dlm-pt-timer-pause-btn {
  width: 34px;
}

@container dlm-topbar (min-width: 1160px) {
  .dlm-pt-topbar-full {
    grid-template-columns: auto auto minmax(0, 1fr) auto;
    grid-template-areas: "brand seed status actions";
    gap: 12px;
  }

  .dlm-pt-topbar-status {
    justify-content: center;
  }
}

@container dlm-topbar (max-width: 640px) {
  .dlm-pt-topbar-full {
    grid-template-columns: minmax(0, 1fr);
    grid-template-areas:
      "brand"
      "seed"
      "status"
      "actions";
    gap: 8px;
  }

  .dlm-pt-topbar-brand {
    justify-content: space-between;
    flex-wrap: wrap;
  }

  .dlm-pt-topbar-seed {
    justify-content: flex-start;
  }

  .dlm-pt-topbar-status {
    justify-content: space-between;
  }

  .dlm-pt-topbar-actions {
    justify-content: space-between;
    width: 100%;
    flex-wrap: wrap;
  }
}

.dlm-pt-topbar-mini {
  display: none;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  width: 100%;
}

.dlm-pt-topbar.is-minimized {
  padding: 8px 12px;
}

.dlm-pt-topbar.is-minimized .dlm-pt-topbar-full {
  display: none;
}

.dlm-pt-topbar.is-minimized .dlm-pt-topbar-mini {
  display: flex;
}

.dlm-pt-topbar-mini-actions {
  display: flex;
  align-items: center;
  gap: 6px;
  flex-shrink: 0;
}

.dlm-pt-topbar-mini .dlm-pt-icon-btn {
  width: 36px;
  height: 36px;
}

.dlm-pt-topbar-mini .dlm-pt-timer-unit {
  height: 36px;
}

.dlm-pt-topbar-mini .dlm-pt-timer-box {
  font-size: 14.5px;
  padding: 0 10px;
  min-width: 68px;
}

.dlm-pt-topbar-mini .dlm-pt-timer-pause-btn {
  width: 34px;
}

/* LV1 Gap Context Snippet & Jump-Back Button + Mobile Non-Blocking Picker Sheet */
.dlm-pt-jump-text-btn {
  font-family: var(--pt-font);
  font-size: 11px;
  font-weight: 700;
  color: var(--pt-neon);
  background: rgba(0, 255, 255, 0.08);
  border: 1px solid rgba(0, 255, 255, 0.35);
  border-radius: 5px;
  padding: 3px 8px;
  cursor: pointer;
  transition: all 0.15s ease;
  white-space: nowrap;
}

.dlm-pt-jump-text-btn:hover {
  background: var(--pt-neon);
  color: #000000;
}

.dlm-pt-lv1-ctx-snippet {
  font-size: 12.5px;
  line-height: 1.55;
  color: #c2d1dc;
  background: #0b1015;
  border-left: 2px solid rgba(0, 255, 255, 0.45);
  border-radius: 0 6px 6px 0;
  padding: 7px 10px;
  margin-bottom: 10px;
}

.dlm-pt-lv1-ctx-mark {
  display: inline-block;
  font-family: var(--pt-mono);
  font-size: 11px;
  font-weight: 800;
  color: #000000;
  background: var(--pt-neon);
  border-radius: 4px;
  padding: 0 6px;
  margin: 0 3px;
}

.dlm-pt-gap-badge.is-flash {
  box-shadow: 0 0 0 3px var(--pt-neon), 0 0 18px rgba(0, 255, 255, 0.65);
}

.dlm-pt-c1-sheet {
  display: flex;
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 9500;
  background: rgba(10, 14, 19, 0.985);
  border-top: 2px solid var(--pt-neon);
  border-radius: 18px 18px 0 0;
  box-shadow: 0 -10px 36px rgba(0, 0, 0, 0.88);
  max-height: 45vh;
  flex-direction: column;
  transform: translateY(104%);
  visibility: hidden;
  pointer-events: none;
  transition: transform 0.24s cubic-bezier(0.22, 1, 0.36, 1), visibility 0.24s ease;
}

.dlm-pt-c1-sheet.is-open {
  transform: translateY(0);
  visibility: visible;
  pointer-events: auto;
}

.dlm-pt-c1-sheet-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  padding: 6px 14px 10px 14px;
  border-bottom: 1px solid #22303c;
  flex-shrink: 0;
}

.dlm-pt-c1-sheet-title {
  font-family: var(--pt-mono);
  font-size: 13px;
  font-weight: 800;
  color: var(--pt-neon);
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.dlm-pt-c1-sheet-nav {
  display: flex;
  align-items: center;
  gap: 6px;
  flex-shrink: 0;
}

.dlm-pt-c1-sheet-btn {
  height: 30px;
  min-width: 30px;
  padding: 0 8px;
  border-radius: 6px;
  border: 1px solid #30404e;
  background: #141c24;
  color: #e6edf3;
  font-family: var(--pt-mono);
  font-size: 12px;
  font-weight: 700;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.dlm-pt-c1-sheet-btn:hover:not(:disabled) {
  border-color: var(--pt-neon);
  color: var(--pt-neon);
}

.dlm-pt-c1-sheet-btn:disabled {
  opacity: 0.35;
  cursor: not-allowed;
}

.dlm-pt-c1-sheet-body {
  overflow-y: auto;
  padding: 10px 14px 16px 14px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.dlm-pt-c1-sheet-prompt {
  font-size: 14px;
  font-weight: 600;
  line-height: 1.5;
  color: #f3f7fa;
  background: #111820;
  border-left: 2.5px solid var(--pt-neon);
  border-radius: 0 6px 6px 0;
  padding: 8px 11px;
}

.dlm-pt-c1-sheet-legend {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px 12px;
  font-size: 11.5px;
  font-weight: 700;
  color: var(--pt-text-secondary);
  background: #0d131a;
  border: 1px solid #202e3a;
  border-radius: 6px;
  padding: 6px 10px;
}

.dlm-pt-c1-sheet-legend strong {
  color: var(--pt-neon);
  font-family: var(--pt-mono);
}

.dlm-pt-c1-sheet-jump-row {
  display: flex;
  align-items: center;
  gap: 6px;
  overflow-x: auto;
  padding-bottom: 2px;
  -webkit-overflow-scrolling: touch;
}

.dlm-pt-c1-sheet-jump-label {
  font-size: 10.5px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--pt-text-muted);
  white-space: nowrap;
  flex-shrink: 0;
}

.dlm-pt-c1-sheet-jump-chip {
  font-family: var(--pt-mono);
  font-size: 11.5px;
  font-weight: 800;
  color: var(--pt-neon);
  background: rgba(0, 255, 255, 0.08);
  border: 1px solid rgba(0, 255, 255, 0.3);
  border-radius: 99px;
  padding: 4px 10px;
  cursor: pointer;
  white-space: nowrap;
  flex-shrink: 0;
  transition: background 0.15s ease, color 0.15s ease;
}

.dlm-pt-c1-sheet-jump-chip:hover,
.dlm-pt-c1-sheet-jump-chip.is-active-jump {
  background: var(--pt-neon);
  color: #000000;
  border-color: var(--pt-neon);
}

.dlm-pt-c1-sheet-item {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  width: 100%;
  text-align: left;
  background: #121820;
  border: 1px solid #283440;
  border-radius: var(--pt-radius-sm);
  padding: 10px 12px;
  color: #eef4f8;
  font-size: 13.5px;
  line-height: 1.45;
  cursor: pointer;
  transition: all 0.15s ease;
}

.dlm-pt-c1-sheet-item.is-selected {
  background: rgba(0, 255, 255, 0.16);
  border-color: var(--pt-neon);
}

.dlm-pt-c1-sheet-item.is-used-other {
  opacity: 0.55;
}

.dlm-pt-c1-sheet-item.is-correct-opt {
  background: rgba(34, 197, 94, 0.16);
  border-color: #22c55e;
}

.dlm-pt-c1-sheet-item.is-wrong-opt {
  background: rgba(239, 68, 68, 0.16);
  border-color: #ef4444;
}

.dlm-pt-c1-sheet-item:disabled {
  cursor: default;
}

.dlm-pt-c1-sheet .dlm-pt-option-grid-2col {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.dlm-pt-c1-sheet .dlm-pt-option-btn {
  padding: 9px 11px;
  font-size: 13.5px;
}

.dlm-pt-c1-sheet .dlm-pt-explanation {
  margin-top: 2px;
}

.dlm-pt-c1-sheet .dlm-pt-rf-group {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
  width: 100%;
}

.dlm-pt-c1-sheet .dlm-pt-rf-btn {
  min-width: 0;
  width: 100%;
  justify-content: center;
}

.dlm-pt-sheet-pill-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(52px, 1fr));
  gap: 7px;
}

.dlm-pt-sheet-pill-grid .dlm-pt-pill-btn {
  min-width: 0;
  min-height: 38px;
  padding: 6px 4px;
  justify-content: center;
  font-family: var(--pt-mono);
  font-size: 13.5px;
  font-weight: 800;
}

.dlm-pt-sheet-word-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 11px 7px;
  padding-top: 6px;
}

.dlm-pt-sheet-word-grid .dlm-pt-c1-sheet-item {
  position: relative;
  padding: 9px 10px;
  gap: 7px;
  font-size: 13px;
  align-items: center;
  min-width: 0;
}

.dlm-pt-sheet-word-grid .dlm-pt-c1-sheet-item.is-used-other {
  opacity: 1;
  background: #0d1218;
}

.dlm-pt-sheet-word-grid .dlm-pt-c1-sheet-item.is-used-other .dlm-pt-letter-code,
.dlm-pt-sheet-word-grid .dlm-pt-c1-sheet-item.is-used-other .dlm-pt-wordbox-word {
  opacity: 0.5;
}

.dlm-pt-sheet-word-grid .dlm-pt-c1-sheet-item .dlm-pt-assigned-tag {
  position: absolute;
  top: -7px;
  right: 5px;
  z-index: 2;
  max-width: calc(100% - 10px);
  overflow: hidden;
  text-overflow: ellipsis;
  padding: 1px 5px;
  font-size: 9.5px;
  line-height: 1.35;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.72);
}

.dlm-pt-opinion-card.is-clickable,
.dlm-pt-lv3-ad-banner.is-clickable {
  cursor: pointer;
  transition: border-color 0.16s ease, box-shadow 0.16s ease, opacity 0.16s ease;
}

.dlm-pt-opinion-card.is-clickable:hover,
.dlm-pt-lv3-ad-banner.is-clickable:hover {
  border-color: var(--pt-neon);
  box-shadow: 0 0 12px rgba(0, 255, 255, 0.22);
}

.dlm-pt-lv3-ad-banner.is-used {
  opacity: 0.48;
}

.dlm-pt-person-card.is-flash,
.dlm-pt-c1-lv3-para.is-flash,
.dlm-pt-opinion-card.is-flash,
.dlm-pt-lv3-ad-banner.is-flash,
.dlm-pt-gb1-press-card.is-flash,
.dlm-pt-para-block.is-flash {
  box-shadow: 0 0 0 2px var(--pt-neon), 0 0 18px rgba(0, 255, 255, 0.45);
  border-radius: var(--pt-radius-sm);
}

.dlm-pt-exam-shell.has-sheet-open {
  padding-bottom: 48vh;
}

/* Compact Satzkasten / Aussagen Alignment on Mobile */
.dlm-pt-heading-text {
  min-width: 0;
}

@media (max-width: 680px) {
  .dlm-pt-heading-item {
    align-items: flex-start;
    gap: 9px;
    padding: 10px 12px;
  }
  .dlm-pt-assigned-tag {
    padding: 2px 6px;
    font-size: 10.5px;
  }
}

/* History Overall Statistics Dashboard & Format Badge */
.dlm-pt-stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(148px, 1fr));
  gap: 12px;
  background: #0b0f13;
  border: 1px solid #222e38;
  border-radius: var(--pt-radius-md);
  padding: 16px;
  margin: 14px 0 18px 0;
}

.dlm-pt-stat-card {
  display: flex;
  flex-direction: column;
  gap: 2px;
  background: #10161c;
  border: 1px solid #1e2a34;
  border-radius: var(--pt-radius-sm);
  padding: 11px 13px;
}

.dlm-pt-stat-label {
  font-size: 10px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--pt-text-muted);
}

.dlm-pt-stat-val {
  font-family: var(--pt-mono);
  font-size: 18px;
  font-weight: 900;
  color: var(--pt-neon);
  font-variant-numeric: tabular-nums;
}

.dlm-pt-stat-val.is-success {
  color: var(--pt-success);
}

.dlm-pt-stat-note {
  font-size: 11px;
  color: var(--pt-text-secondary);
}

.dlm-pt-history-format-tag {
  font-size: 10.5px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--pt-neon);
  background: rgba(0, 255, 255, 0.1);
  border: 1px solid rgba(0, 255, 255, 0.28);
  padding: 2px 8px;
  border-radius: 4px;
}

/* C1 SB1: Compact 2x2 Option Grid */
.dlm-pt-option-grid-2col {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
}

@media (max-width: 560px) {
  .dlm-pt-option-grid-2col {
    grid-template-columns: 1fr;
  }
}

/* C1 HV1-HV3: Topic Banner, Sticky Audio & Skip Buttons, HV3 Lecture Slides */
.dlm-pt-topic-banner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  background: #0e141a;
  border: 1px solid #243442;
  border-radius: var(--pt-radius-sm);
  padding: 9px 14px;
  margin-bottom: 14px;
  font-size: 13.5px;
  color: #e6edf3;
}

.dlm-pt-topic-label {
  font-size: 10.5px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--pt-neon);
  background: rgba(0, 255, 255, 0.12);
  border: 1px solid rgba(0, 255, 255, 0.3);
  padding: 2px 7px;
  border-radius: 4px;
}

.dlm-pt-audio-skip-group {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  flex-shrink: 0;
}

.dlm-pt-audio-skip-btn {
  height: 34px;
  padding: 0 9px;
  border-radius: var(--pt-radius-sm);
  background: #161f26;
  border: 1px solid #2b3945;
  color: var(--pt-text-secondary);
  font-family: var(--pt-mono);
  font-size: 11px;
  font-weight: 800;
  cursor: pointer;
  transition: all 0.15s ease;
}

.dlm-pt-audio-skip-btn:hover {
  border-color: var(--pt-neon);
  color: var(--pt-neon);
  background: rgba(0, 255, 255, 0.1);
}

.dlm-pt-slide-meta {
  font-size: 13.5px;
  font-weight: 600;
  color: #d6e4ee;
  background: #11181f;
  border-left: 2px solid rgba(0, 255, 255, 0.45);
  padding: 8px 12px;
  border-radius: 0 6px 6px 0;
  margin-bottom: 12px;
  line-height: 1.55;
}

.dlm-pt-slide-list {
  margin: 0;
  padding-left: 18px;
  list-style-type: disc;
  display: flex;
  flex-direction: column;
  gap: 7px;
  color: #e6edf3;
  font-size: 14.5px;
  line-height: 1.6;
}

.dlm-pt-slide-sublist {
  margin: 5px 0 2px 0;
  padding-left: 18px;
  list-style-type: none;
  display: flex;
  flex-direction: column;
  gap: 5px;
}

.dlm-pt-slide-subitem {
  position: relative;
  padding-left: 14px;
  color: #d8e3eb;
}

.dlm-pt-slide-subitem::before {
  content: '\2013';
  position: absolute;
  left: 0;
  color: var(--pt-neon);
  font-weight: 700;
}

.dlm-pt-slide-sub2list {
  margin: 4px 0 2px 0;
  padding-left: 16px;
  list-style-type: circle;
  display: flex;
  flex-direction: column;
  gap: 4px;
  color: #c5d4df;
  font-size: 14px;
}

.dlm-pt-slide-group-head {
  font-size: 11px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--pt-neon);
  background: rgba(0, 255, 255, 0.08);
  border: 1px solid rgba(0, 255, 255, 0.25);
  border-radius: 6px;
  padding: 6px 12px;
  margin: 14px 0 10px 0;
}

.dlm-pt-slide-group-head:first-child {
  margin-top: 0;
}

.dlm-pt-note-row {
  display: flex;
  align-items: center;
  gap: 8px;
}

.dlm-pt-note-input {
  flex: 1;
  min-width: 0;
  font-family: var(--pt-font);
  font-size: 14px;
  font-weight: 500;
  color: #ffffff;
  background: #141414;
  border: 1px solid #383838;
  border-radius: var(--pt-radius-sm);
  padding: 10px 12px;
}

.dlm-pt-note-input:focus {
  outline: none;
  border-color: var(--pt-neon);
  box-shadow: 0 0 12px rgba(0, 255, 255, 0.2);
}

.dlm-pt-note-after {
  font-size: 13px;
  color: var(--pt-text-secondary);
  margin-top: 7px;
  padding-left: 10px;
  border-left: 2px solid #2c3a46;
}

/* ----------------------------------------------------------------------------
 * PRACTICE MODE VS TEST MODE SWITCHER, STOPWATCH, FULL POOL TABLE & ANALYTICS
 * ---------------------------------------------------------------------------- */
.dlm-pt-mode-switcher {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  margin-bottom: 20px;
}

@media (max-width: 740px) {
  .dlm-pt-mode-switcher {
    grid-template-columns: 1fr;
  }
}

.dlm-pt-mode-tab {
  display: flex;
  align-items: flex-start;
  gap: 13px;
  text-align: left;
  padding: 15px 17px;
  background: var(--pt-surface);
  border: 1.5px solid var(--pt-border);
  border-radius: var(--pt-radius-md);
  cursor: pointer;
  transition: all 0.22s ease;
  color: var(--pt-text);
}

.dlm-pt-mode-tab:hover {
  border-color: var(--pt-border-strong);
  background: #15191e;
}

.dlm-pt-mode-tab.is-active.is-test {
  border-color: var(--pt-neon);
  background: linear-gradient(135deg, rgba(0, 255, 255, 0.11) 0%, #101519 100%);
  box-shadow: 0 0 18px rgba(0, 255, 255, 0.16);
}

.dlm-pt-mode-tab.is-active.is-practice {
  border-color: var(--pt-success);
  background: linear-gradient(135deg, rgba(0, 230, 118, 0.12) 0%, #0e1612 100%);
  box-shadow: 0 0 18px rgba(0, 230, 118, 0.16);
}

.dlm-pt-mode-tab-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  border-radius: var(--pt-radius-sm);
  background: #1a1f24;
  border: 1px solid #2d353e;
  color: var(--pt-text-secondary);
  flex-shrink: 0;
}

.dlm-pt-mode-tab-icon svg {
  width: 20px;
  height: 20px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2.1;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.dlm-pt-mode-tab.is-active.is-test .dlm-pt-mode-tab-icon {
  background: rgba(0, 255, 255, 0.15);
  border-color: var(--pt-neon-border);
  color: var(--pt-neon);
}

.dlm-pt-mode-tab.is-active.is-practice .dlm-pt-mode-tab-icon {
  background: rgba(0, 230, 118, 0.16);
  border-color: var(--pt-success-border);
  color: var(--pt-success);
}

.dlm-pt-mode-tab-body {
  display: flex;
  flex-direction: column;
  gap: 4px;
  min-width: 0;
}

.dlm-pt-mode-tab-title {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  font-size: 14.5px;
  font-weight: 800;
  color: #ffffff;
}

.dlm-pt-mode-tab-sub {
  font-size: 12px;
  color: var(--pt-text-secondary);
  line-height: 1.45;
}

.dlm-pt-mode-chip {
  font-size: 10px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  padding: 2px 7px;
  border-radius: 4px;
}

.dlm-pt-mode-chip.is-test {
  background: rgba(0, 255, 255, 0.12);
  color: var(--pt-neon);
  border: 1px solid rgba(0, 255, 255, 0.35);
}

.dlm-pt-mode-chip.is-practice {
  background: rgba(0, 230, 118, 0.14);
  color: var(--pt-success);
  border: 1px solid rgba(0, 230, 118, 0.4);
}

.dlm-pt-mode-chip.is-muted {
  background: #1c1c1c;
  color: var(--pt-text-muted);
  border: 1px solid #303030;
}

.dlm-pt-mode-badge {
  display: inline-flex;
  align-items: center;
  font-size: 10.5px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  padding: 3px 8px;
  border-radius: 4px;
  white-space: nowrap;
}

.dlm-pt-mode-badge.is-practice {
  background: rgba(0, 230, 118, 0.14);
  color: var(--pt-success);
  border: 1px solid rgba(0, 230, 118, 0.45);
}

.dlm-pt-mode-badge.is-test {
  background: rgba(0, 255, 255, 0.12);
  color: var(--pt-neon);
  border: 1px solid rgba(0, 255, 255, 0.35);
}

.dlm-pt-ongoing-banner.is-practice {
  border-color: var(--pt-success);
  background: linear-gradient(135deg, #0d1d16 0%, #0b1210 100%);
  box-shadow: 0 0 22px rgba(0, 230, 118, 0.16);
}

.dlm-pt-ongoing-banner.is-practice .dlm-pt-ongoing-tag {
  background: var(--pt-success);
  color: #000000;
}

/* Stopwatch Timer Accent in Practice Mode */
.dlm-pt-topbar.is-practice {
  border-color: var(--pt-success-border);
}

.dlm-pt-timer-unit.is-stopwatch {
  border-color: var(--pt-success-border);
  background: #08130e;
  box-shadow: inset 0 0 10px rgba(0, 230, 118, 0.14);
}

.dlm-pt-timer-unit.is-stopwatch .dlm-pt-timer-box {
  color: var(--pt-success);
  padding: 0 11px 0 6px;
  min-width: 68px;
}

.dlm-pt-timer-unit.is-stopwatch .dlm-pt-timer-pause-btn {
  background: rgba(0, 230, 118, 0.12);
  border-left-color: rgba(0, 230, 118, 0.35);
  color: var(--pt-success);
}

.dlm-pt-timer-unit.is-stopwatch .dlm-pt-timer-pause-btn:hover {
  background: var(--pt-success);
  color: #000000;
}

.dlm-pt-timer-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding-left: 10px;
  color: var(--pt-success);
}

.dlm-pt-timer-icon svg {
  width: 17px;
  height: 17px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2.1;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.dlm-pt-pause-dialog.is-practice {
  border-color: var(--pt-success);
  box-shadow: 0 0 36px rgba(0, 230, 118, 0.2);
}

.dlm-pt-pause-tag.is-practice {
  background: rgba(0, 230, 118, 0.16);
  color: var(--pt-success);
  border-color: var(--pt-success-border);
}

/* Collapsible Group Dropdown Accordions (Both Test Mode & Practice Mode, All Formats) */
.dlm-pt-group-accordion {
  margin-bottom: 12px;
  background: #0c1014;
  border: 1px solid var(--pt-border);
  border-radius: var(--pt-radius-md);
  overflow: hidden;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.dlm-pt-group-accordion:last-of-type {
  margin-bottom: 0;
}

.dlm-pt-group-accordion.is-open {
  border-color: rgba(0, 255, 255, 0.34);
}

.dlm-pt-practice-panel .dlm-pt-group-accordion.is-open {
  border-color: rgba(0, 230, 118, 0.38);
}

.dlm-pt-group-toggle {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 14px 16px;
  background: #101419;
  border: none;
  color: var(--pt-text);
  text-align: left;
  cursor: pointer;
  transition: background-color 0.18s ease;
}

.dlm-pt-group-toggle:hover {
  background: #141a21;
}

.dlm-pt-group-toggle-left {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px 12px;
  min-width: 0;
}

.dlm-pt-group-heading {
  font-size: 13px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.11em;
  color: var(--pt-neon);
}

.dlm-pt-group-toggle.is-practice .dlm-pt-group-heading {
  color: var(--pt-success);
}

.dlm-pt-group-meta {
  font-size: 12px;
  font-weight: 600;
  color: var(--pt-text-secondary);
}

.dlm-pt-group-meta.is-muted {
  color: var(--pt-text-muted);
}

.dlm-pt-group-active-pill {
  font-size: 10.5px;
  font-weight: 800;
  color: #000000;
  background: var(--pt-success);
  padding: 2px 8px;
  border-radius: 999px;
}

.dlm-pt-group-caret {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 26px;
  height: 26px;
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid #28333d;
  color: var(--pt-text-secondary);
  flex-shrink: 0;
  transition: transform 0.2s ease, color 0.18s ease, border-color 0.18s ease;
}

.dlm-pt-group-caret svg {
  width: 16px;
  height: 16px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2.3;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.dlm-pt-group-accordion.is-open .dlm-pt-group-caret {
  transform: rotate(180deg);
  color: var(--pt-neon);
  border-color: var(--pt-neon-border);
}

.dlm-pt-practice-panel .dlm-pt-group-accordion.is-open .dlm-pt-group-caret {
  color: var(--pt-success);
  border-color: var(--pt-success-border);
}

.dlm-pt-group-body {
  padding: 14px 16px 16px 16px;
  border-top: 1px solid #1e262e;
  background: #0b0e12;
}

/* Practice Pool Panel & Subsection Selector (matched font scale to Prüfungsmodus) */
.dlm-pt-practice-panel {
  border-color: rgba(0, 230, 118, 0.32);
}

.dlm-pt-practice-overview-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
}

.dlm-pt-spec-pill.is-practice-cov {
  color: var(--pt-success);
  background: rgba(0, 230, 118, 0.1);
  border-color: rgba(0, 230, 118, 0.35);
}

.dlm-pt-practice-sub-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 14px;
}

.dlm-pt-practice-sub-card {
  display: flex;
  flex-direction: column;
  gap: 8px;
  text-align: left;
  padding: 16px;
  background: var(--pt-surface-subtle);
  border: 1px solid var(--pt-border);
  border-radius: var(--pt-radius-md);
  cursor: pointer;
  color: var(--pt-text);
  transition: all 0.2s ease;
}

.dlm-pt-practice-sub-card:hover {
  border-color: var(--pt-success-border);
  background: #101714;
}

.dlm-pt-practice-sub-card.is-selected {
  border: 1.5px solid var(--pt-success);
  background: linear-gradient(180deg, rgba(0, 230, 118, 0.1) 0%, #0d1411 100%);
  box-shadow: 0 0 14px rgba(0, 230, 118, 0.14);
}

.dlm-pt-practice-sub-top {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
}

.dlm-pt-practice-sub-name {
  font-size: 15px;
  font-weight: 700;
  color: #ffffff;
}

.dlm-pt-practice-sub-desc {
  font-size: 12px;
  color: var(--pt-text-secondary);
  line-height: 1.45;
}

.dlm-pt-practice-sub-prog {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: 2px;
}

.dlm-pt-practice-prog-track {
  flex: 1;
  height: 5px;
  background: #1d2529;
  border-radius: 999px;
  overflow: hidden;
}

.dlm-pt-practice-prog-fill {
  display: block;
  height: 100%;
  background: var(--pt-success);
  border-radius: 999px;
  transition: width 0.25s ease;
}

.dlm-pt-practice-prog-text {
  font-size: 11.5px;
  font-family: var(--pt-mono);
  color: var(--pt-text-muted);
  white-space: nowrap;
}

.dlm-pt-practice-sub-card.is-selected .dlm-pt-practice-prog-text {
  color: var(--pt-success);
}

.dlm-pt-pool-loading {
  margin-top: 20px;
  padding: 28px 18px;
  text-align: center;
  font-size: 13.5px;
  color: var(--pt-text-secondary);
  background: #0b0f12;
  border: 1px dashed #293842;
  border-radius: var(--pt-radius-md);
}

/* Practice Pool Table Card */
.dlm-pt-pool-table-card {
  margin-top: 20px;
  background: #0b0e11;
  border: 1px solid #243038;
  border-radius: var(--pt-radius-md);
  overflow: hidden;
}

.dlm-pt-pool-toolbar {
  padding: 16px 18px;
  background: #0f1418;
  border-bottom: 1px solid #222e36;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.dlm-pt-pool-toolbar-head {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
}

.dlm-pt-pool-title {
  font-size: 15.5px;
  font-weight: 800;
  color: #ffffff;
  margin: 0 0 4px 0;
}

.dlm-pt-pool-subtitle {
  font-size: 12.5px;
  color: var(--pt-text-secondary);
  margin: 0;
}

.dlm-pt-pool-random-btn {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 8px 14px;
  font-size: 12px;
  flex-shrink: 0;
}

.dlm-pt-pool-random-btn .dlm-pt-btn-icon svg {
  fill: none;
}

.dlm-pt-pool-controls {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 10px 14px;
}

.dlm-pt-pool-filter-group {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
}

.dlm-pt-pool-search-cluster {
  display: flex;
  align-items: center;
  gap: 8px;
  flex: 1 1 260px;
  max-width: 440px;
}

.dlm-pt-pool-search-wrap {
  position: relative;
  display: flex;
  align-items: center;
  flex: 1 1 auto;
  min-width: 0;
}

.dlm-pt-pool-search-icon {
  position: absolute;
  left: 11px;
  display: inline-flex;
  color: var(--pt-text-muted);
  pointer-events: none;
}

.dlm-pt-pool-search-icon svg {
  width: 15px;
  height: 15px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2.1;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.dlm-pt-pool-search-input {
  width: 100%;
  font-family: var(--pt-font);
  font-size: 13px;
  color: #ffffff;
  background: #141a20;
  border: 1px solid #2b3844;
  border-radius: var(--pt-radius-sm);
  padding: 8px 66px 8px 33px;
}

.dlm-pt-pool-search-input:focus {
  outline: none;
  border-color: var(--pt-success);
  box-shadow: 0 0 10px rgba(0, 230, 118, 0.16);
}

.dlm-pt-pool-match-count {
  position: absolute;
  right: 10px;
  font-family: var(--pt-mono);
  font-size: 11px;
  font-weight: 700;
  color: var(--pt-text-muted);
  pointer-events: none;
}

.dlm-pt-view-toggle-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  padding: 0;
  border-radius: var(--pt-radius-sm);
  border: 1px solid #2b3844;
  background: #141a20;
  color: var(--pt-text-secondary);
  cursor: pointer;
  flex-shrink: 0;
  transition: all 0.18s ease;
}

.dlm-pt-view-toggle-btn:hover {
  border-color: var(--pt-neon);
  color: var(--pt-neon);
  background: rgba(0, 255, 255, 0.08);
}

.dlm-pt-view-toggle-btn.is-active {
  border-color: var(--pt-success);
  color: #000000;
  background: var(--pt-success);
  box-shadow: 0 0 12px rgba(0, 230, 118, 0.28);
}

.dlm-pt-view-toggle-btn svg {
  width: 17px;
  height: 17px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2.1;
  stroke-linecap: round;
  stroke-linejoin: round;
}

/* Range Pill Bar (1-10, 11-20, 21-30, ...) */
.dlm-pt-range-bar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 7px;
  padding-top: 10px;
  border-top: 1px solid #1c262e;
}

.dlm-pt-range-bar-label {
  font-size: 11px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--pt-text-muted);
  margin-right: 4px;
}

.dlm-pt-range-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-family: var(--pt-mono);
  font-size: 12px;
  font-weight: 800;
  color: var(--pt-text-secondary);
  background: #141a20;
  border: 1px solid #2b3844;
  border-radius: 999px;
  padding: 6px 13px;
  cursor: pointer;
  transition: all 0.18s ease;
}

.dlm-pt-range-pill:hover {
  border-color: var(--pt-success);
  color: #ffffff;
  background: rgba(0, 230, 118, 0.08);
}

.dlm-pt-range-pill.is-active {
  background: var(--pt-success);
  border-color: var(--pt-success);
  color: #000000;
  box-shadow: 0 0 12px rgba(0, 230, 118, 0.28);
}

.dlm-pt-range-pill.is-all-done:not(.is-active) {
  border-color: rgba(0, 230, 118, 0.42);
  color: var(--pt-success);
}

.dlm-pt-range-done-badge {
  font-size: 10px;
  font-weight: 800;
  padding: 1px 6px;
  border-radius: 999px;
  background: rgba(0, 230, 118, 0.16);
  color: var(--pt-success);
}

.dlm-pt-range-pill.is-active .dlm-pt-range-done-badge {
  background: rgba(0, 0, 0, 0.18);
  color: #000000;
}

.dlm-pt-pool-collapsed-hint {
  padding: 24px 18px;
  text-align: center;
  font-size: 13px;
  color: var(--pt-text-secondary);
  line-height: 1.55;
}

.dlm-pt-pool-collapsed-hint strong {
  color: var(--pt-success);
}

/* Ultra-Compact Number Grid (6x7 for 42 items) */
.dlm-pt-grid-wrap {
  padding: 16px 18px 18px 18px;
}

.dlm-pt-grid-legend {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px 16px;
  margin-bottom: 12px;
  font-size: 11.5px;
  color: var(--pt-text-secondary);
}

.dlm-pt-grid-legend-item {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.dlm-pt-grid-dot {
  width: 9px;
  height: 9px;
  border-radius: 3px;
  display: inline-block;
}

.dlm-pt-grid-dot.is-new {
  background: #13252d;
  border: 1px solid var(--pt-neon-border);
}

.dlm-pt-grid-dot.is-mastery {
  background: var(--pt-success);
}

.dlm-pt-grid-dot.is-pass {
  background: var(--pt-neon);
}

.dlm-pt-grid-dot.is-low {
  background: var(--pt-danger);
}

.dlm-pt-compact-grid {
  display: grid;
  grid-template-columns: repeat(7, minmax(0, 1fr));
  gap: 8px;
}

@media (max-width: 720px) {
  .dlm-pt-compact-grid {
    grid-template-columns: repeat(6, minmax(0, 1fr));
    gap: 6px;
  }
}

@media (max-width: 440px) {
  .dlm-pt-compact-grid {
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 6px;
  }
}

.dlm-pt-grid-tile {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 2px;
  padding: 9px 4px;
  border-radius: var(--pt-radius-sm);
  border: 1px solid #253642;
  background: #10171d;
  color: #ffffff;
  cursor: pointer;
  transition: transform 0.14s ease, border-color 0.16s ease, box-shadow 0.16s ease;
}

.dlm-pt-grid-tile:hover:not(:disabled) {
  transform: translateY(-1px);
  border-color: var(--pt-neon);
  box-shadow: 0 0 10px rgba(0, 255, 255, 0.22);
}

.dlm-pt-grid-tile.is-new {
  border-color: rgba(0, 255, 255, 0.28);
  background: #0f181f;
}

.dlm-pt-grid-tile.is-new .dlm-pt-grid-tile-num {
  color: var(--pt-neon);
}

.dlm-pt-grid-tile.is-mastery {
  border-color: rgba(0, 230, 118, 0.55);
  background: rgba(0, 230, 118, 0.14);
}

.dlm-pt-grid-tile.is-mastery .dlm-pt-grid-tile-num,
.dlm-pt-grid-tile.is-mastery .dlm-pt-grid-tile-sub {
  color: var(--pt-success);
}

.dlm-pt-grid-tile.is-pass {
  border-color: rgba(0, 255, 255, 0.55);
  background: rgba(0, 255, 255, 0.12);
}

.dlm-pt-grid-tile.is-pass .dlm-pt-grid-tile-num,
.dlm-pt-grid-tile.is-pass .dlm-pt-grid-tile-sub {
  color: var(--pt-neon);
}

.dlm-pt-grid-tile.is-low {
  border-color: rgba(255, 82, 82, 0.55);
  background: rgba(255, 82, 82, 0.13);
}

.dlm-pt-grid-tile.is-low .dlm-pt-grid-tile-num,
.dlm-pt-grid-tile.is-low .dlm-pt-grid-tile-sub {
  color: var(--pt-danger);
}

.dlm-pt-grid-tile-num {
  font-family: var(--pt-mono);
  font-size: 13px;
  font-weight: 800;
  line-height: 1.2;
}

.dlm-pt-grid-tile-sub {
  font-family: var(--pt-mono);
  font-size: 9.5px;
  font-weight: 700;
  color: var(--pt-text-muted);
  line-height: 1.1;
}

.dlm-pt-pool-table-scroll {
  width: 100%;
  overflow-x: auto;
}

.dlm-pt-pool-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 13.5px;
}

.dlm-pt-pool-table thead th {
  text-align: left;
  font-size: 10.5px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.09em;
  color: var(--pt-text-muted);
  background: #0d1216;
  padding: 11px 14px;
  border-bottom: 1px solid #222e36;
  white-space: nowrap;
}

.dlm-pt-pool-table tbody td {
  padding: 11px 14px;
  border-bottom: 1px solid #192229;
  vertical-align: middle;
}

.dlm-pt-pool-row {
  cursor: pointer;
  transition: background-color 0.16s ease;
}

.dlm-pt-pool-row:hover {
  background: rgba(0, 230, 118, 0.06);
}

.dlm-pt-pool-row.is-completed {
  background: rgba(0, 230, 118, 0.025);
}

.dlm-pt-pool-row:last-child td {
  border-bottom: none;
}

.dlm-pt-pool-num-pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 44px;
  font-family: var(--pt-mono);
  font-size: 12.5px;
  font-weight: 800;
  color: var(--pt-neon);
  background: #131c22;
  border: 1px solid #253642;
  border-radius: 5px;
  padding: 3px 8px;
}

.dlm-pt-pool-row.is-completed .dlm-pt-pool-num-pill {
  color: var(--pt-success);
  background: rgba(0, 230, 118, 0.1);
  border-color: rgba(0, 230, 118, 0.35);
}

.dlm-pt-pool-topic-title {
  font-size: 13.5px;
  font-weight: 700;
  color: #f0f6fc;
  line-height: 1.4;
}

.dlm-pt-pool-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.dlm-pt-pool-tag {
  font-size: 12px;
  font-weight: 600;
  color: #dbe6ef;
  background: #151e25;
  border: 1px solid #273642;
  border-radius: 5px;
  padding: 3px 9px;
}

.dlm-pt-pool-submeta {
  font-size: 11px;
  color: var(--pt-text-muted);
  white-space: nowrap;
}

.dlm-pt-pool-status-wrap {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 5px 8px;
}

.dlm-pt-pool-status {
  display: inline-block;
  font-size: 10.5px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  padding: 2px 8px;
  border-radius: 4px;
}

.dlm-pt-pool-status.is-new {
  color: var(--pt-neon);
  background: rgba(0, 255, 255, 0.1);
  border: 1px solid rgba(0, 255, 255, 0.28);
}

.dlm-pt-pool-status.is-done {
  color: var(--pt-success);
  background: rgba(0, 230, 118, 0.12);
  border: 1px solid rgba(0, 230, 118, 0.38);
}

.dlm-pt-pool-score {
  font-family: var(--pt-mono);
  font-size: 11.5px;
  font-weight: 800;
  color: var(--pt-text-secondary);
}

.dlm-pt-pool-score.is-mastery {
  color: var(--pt-success);
}

.dlm-pt-pool-score.is-pass {
  color: var(--pt-neon);
}

.dlm-pt-pool-score.is-low {
  color: var(--pt-danger);
}

.dlm-pt-pool-col-action {
  text-align: right;
}

.dlm-pt-pool-start-btn {
  padding: 7px 14px;
  font-size: 11.5px;
  min-width: 88px;
}

.dlm-pt-pool-mobile-chevron {
  display: none;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: rgba(0, 255, 255, 0.08);
  border: 1px solid rgba(0, 255, 255, 0.28);
  color: var(--pt-neon);
}

.dlm-pt-pool-row.is-completed .dlm-pt-pool-mobile-chevron {
  background: rgba(0, 230, 118, 0.1);
  border-color: rgba(0, 230, 118, 0.35);
  color: var(--pt-success);
}

.dlm-pt-pool-mobile-chevron svg {
  width: 16px;
  height: 16px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2.4;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.dlm-pt-pool-empty-cell {
  text-align: center;
  padding: 26px 14px !important;
  color: var(--pt-text-secondary);
}

@media (max-width: 780px) {
  .dlm-pt-practice-sub-grid {
    grid-template-columns: 1fr;
  }
  .dlm-pt-pool-search-cluster {
    max-width: none;
    width: 100%;
  }
  .dlm-pt-pool-table thead {
    display: none;
  }
  .dlm-pt-pool-table,
  .dlm-pt-pool-table tbody {
    display: block;
    width: 100%;
  }
  .dlm-pt-pool-table tbody tr.dlm-pt-pool-row {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    grid-template-areas:
      "num status"
      "topic action";
    align-items: center;
    gap: 8px 10px;
    padding: 12px 14px;
    border-bottom: 1px solid #1f2a33;
    width: 100%;
  }
  .dlm-pt-pool-table tbody tr.dlm-pt-pool-row:active {
    background: rgba(0, 230, 118, 0.1);
  }
  .dlm-pt-pool-table tbody td {
    display: block;
    padding: 0;
    border: none;
    width: auto;
  }
  .dlm-pt-pool-col-num {
    grid-area: num;
    justify-self: start;
  }
  .dlm-pt-pool-col-status {
    grid-area: status;
    justify-self: end;
  }
  .dlm-pt-pool-col-status .dlm-pt-pool-status-wrap {
    justify-content: flex-end;
  }
  .dlm-pt-pool-col-topic {
    grid-area: topic;
    min-width: 0;
  }
  .dlm-pt-pool-col-action {
    grid-area: action;
    justify-self: end;
    text-align: right;
  }
  .dlm-pt-pool-start-btn {
    display: none;
  }
  .dlm-pt-pool-mobile-chevron {
    display: inline-flex;
  }
  .dlm-pt-pool-tag {
    font-size: 11.5px;
    padding: 2px 7px;
  }
}

/* History Filter Bar & Practice Mode Dedicated Statistics */
.dlm-pt-history-filter-bar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  margin-bottom: 14px;
}

.dlm-pt-filter-pill {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--pt-text-secondary);
  background: #14191e;
  border: 1px solid #2b3640;
  border-radius: 999px;
  padding: 6px 13px;
  cursor: pointer;
  transition: all 0.18s ease;
}

.dlm-pt-filter-pill:hover {
  border-color: var(--pt-neon);
  color: #ffffff;
}

.dlm-pt-filter-pill.is-active {
  background: var(--pt-neon);
  border-color: var(--pt-neon);
  color: #000000;
  box-shadow: 0 0 12px rgba(0, 255, 255, 0.25);
}

.dlm-pt-filter-pill.is-practice.is-active {
  background: var(--pt-success);
  border-color: var(--pt-success);
  color: #000000;
  box-shadow: 0 0 12px rgba(0, 230, 118, 0.28);
}

.dlm-pt-filter-count {
  font-family: var(--pt-mono);
  font-size: 11px;
  font-weight: 800;
  padding: 1px 6px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.09);
  color: inherit;
}

.dlm-pt-filter-pill.is-active .dlm-pt-filter-count {
  background: rgba(0, 0, 0, 0.18);
  color: #000000;
}

.dlm-pt-empty-state {
  padding: 22px 18px;
  text-align: center;
  font-size: 13.5px;
  color: var(--pt-text-secondary);
  background: #0d1115;
  border: 1px dashed #27343f;
  border-radius: var(--pt-radius-md);
}

.dlm-pt-history-card.is-practice {
  border-left: 3px solid var(--pt-success);
}

.dlm-pt-history-card.is-test {
  border-left: 3px solid var(--pt-neon);
}

.dlm-pt-stat-card.is-practice-accent {
  border-color: rgba(0, 230, 118, 0.35);
  background: linear-gradient(180deg, rgba(0, 230, 118, 0.08) 0%, #10161c 100%);
}

.dlm-pt-stat-val.is-warn {
  color: var(--pt-warning);
}

.dlm-pt-pstat-sec-block {
  background: #0b0f13;
  border: 1px solid #20312a;
  border-radius: var(--pt-radius-md);
  padding: 14px 16px;
  margin-bottom: 18px;
}

.dlm-pt-pstat-sec-head {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 6px 12px;
  margin-bottom: 12px;
}

.dlm-pt-pstat-sec-title {
  font-size: 11px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--pt-success);
}

.dlm-pt-pstat-sec-hint {
  font-size: 11.5px;
  color: var(--pt-text-muted);
}

.dlm-pt-pstat-sec-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(128px, 1fr));
  gap: 9px;
}

.dlm-pt-pstat-sec-card {
  display: flex;
  flex-direction: column;
  gap: 6px;
  text-align: left;
  padding: 9px 10px;
  background: #10161b;
  border: 1px solid #1e2a33;
  border-radius: var(--pt-radius-sm);
  cursor: pointer;
  color: var(--pt-text);
  transition: all 0.18s ease;
}

.dlm-pt-pstat-sec-card:hover {
  border-color: var(--pt-success);
  transform: translateY(-1px);
}

.dlm-pt-pstat-sec-card.has-data {
  border-color: rgba(0, 230, 118, 0.28);
}

.dlm-pt-pstat-sec-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 6px;
}

.dlm-pt-pstat-sec-code {
  font-family: var(--pt-mono);
  font-size: 12px;
  font-weight: 800;
  color: #ffffff;
}

.dlm-pt-pstat-sec-pct {
  font-family: var(--pt-mono);
  font-size: 11.5px;
  font-weight: 800;
  color: var(--pt-text-muted);
}

.dlm-pt-pstat-sec-pct.is-mastery {
  color: var(--pt-success);
}

.dlm-pt-pstat-sec-pct.is-pass {
  color: var(--pt-neon);
}

.dlm-pt-pstat-sec-pct.is-low {
  color: var(--pt-danger);
}

.dlm-pt-pstat-sec-bar {
  height: 4px;
  width: 100%;
  background: #1c252d;
  border-radius: 999px;
  overflow: hidden;
}

.dlm-pt-pstat-sec-fill {
  display: block;
  height: 100%;
  background: var(--pt-neon);
  border-radius: 999px;
}

.dlm-pt-pstat-sec-fill.is-mastery {
  background: var(--pt-success);
}

.dlm-pt-pstat-sec-fill.is-low {
  background: var(--pt-danger);
}

.dlm-pt-pstat-sec-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 4px;
  font-family: var(--pt-mono);
  font-size: 10px;
  color: var(--pt-text-secondary);
}

/* ----------------------------------------------------------------------------
 * CREDITS STATUS BAR, VIP MODE LOCK, LOCKED EXAM AUDIO & FIFO HISTORY SLOTS
 * ---------------------------------------------------------------------------- */
.dlm-pt-credits-bar {
  background: linear-gradient(135deg, rgba(0, 255, 255, 0.06), rgba(14, 22, 30, 0.92));
  border: 1px solid var(--pt-neon-border);
  border-radius: var(--pt-radius-md);
  padding: 16px 18px;
  margin-bottom: 20px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.dlm-pt-credits-bar.is-low {
  border-color: rgba(255, 171, 0, 0.55);
}

.dlm-pt-credits-bar.is-empty {
  border-color: var(--pt-danger-border);
  background: linear-gradient(135deg, rgba(255, 82, 82, 0.08), rgba(18, 12, 14, 0.94));
}

.dlm-pt-credits-bar-top {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}

.dlm-pt-credits-tier-wrap {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
}

.dlm-pt-tier-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 11px;
  border-radius: 999px;
  font-size: 11.5px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.dlm-pt-tier-pill.is-premium,
.dlm-pt-tier-pill.is-vip {
  background: rgba(255, 171, 0, 0.16);
  border: 1px solid rgba(255, 171, 0, 0.55);
  color: #ffd54f;
}

.dlm-pt-tier-pill.is-lehrer {
  background: rgba(124, 77, 255, 0.18);
  border: 1px solid rgba(179, 136, 255, 0.58);
  color: #d1c4e9;
}

.dlm-pt-tier-pill.is-normal {
  background: rgba(0, 255, 255, 0.12);
  border: 1px solid var(--pt-neon-border);
  color: var(--pt-neon);
}

.dlm-pt-tier-dot {
  display: inline-block;
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--pt-neon);
  box-shadow: 0 0 8px rgba(0, 255, 255, 0.85);
  flex-shrink: 0;
}

.dlm-pt-tier-emoji {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  line-height: 1;
  flex-shrink: 0;
}

.dlm-pt-tier-icon {
  display: inline-flex;
  width: 14px;
  height: 14px;
}

.dlm-pt-tier-icon svg,
.dlm-pt-upgrade-notice-icon svg,
.dlm-pt-audio-lock-badge svg,
.dlm-pt-inline-lock-icon svg,
.dlm-pt-transcript-locked-icon svg,
.dlm-pt-slot-bar-icon svg {
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.dlm-pt-tier-icon svg {
  width: 14px;
  height: 14px;
}

.dlm-pt-credits-meta-chip {
  font-family: var(--pt-mono);
  font-size: 11px;
  font-weight: 700;
  color: var(--pt-text-secondary);
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--pt-border);
  padding: 3px 9px;
  border-radius: 999px;
}

.dlm-pt-credits-rule-hint {
  font-size: 12px;
  color: var(--pt-text-secondary);
}

.dlm-pt-credits-metrics {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
}

.dlm-pt-credit-box {
  background: rgba(8, 12, 16, 0.85);
  border: 1px solid var(--pt-border);
  border-radius: var(--pt-radius-sm);
  padding: 11px 13px;
  display: flex;
  flex-direction: column;
  gap: 3px;
}

.dlm-pt-credit-box.is-bonus {
  border-color: rgba(255, 171, 0, 0.35);
}

.dlm-pt-credit-box.is-total {
  border-color: var(--pt-neon-border);
}

.dlm-pt-credit-box.is-total.is-empty {
  border-color: var(--pt-danger-border);
}

.dlm-pt-credit-box-label {
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--pt-text-muted);
}

.dlm-pt-credit-box-val {
  font-family: var(--pt-mono);
  font-size: 19px;
  font-weight: 900;
  color: #ffffff;
}

.dlm-pt-credit-box-val small {
  font-size: 12.5px;
  font-weight: 600;
  color: var(--pt-text-muted);
}

.dlm-pt-credit-box.is-bonus .dlm-pt-credit-box-val {
  color: #ffd54f;
}

.dlm-pt-credit-box.is-total .dlm-pt-credit-box-val {
  color: var(--pt-neon);
}

.dlm-pt-credit-box.is-total.is-empty .dlm-pt-credit-box-val {
  color: var(--pt-danger);
}

.dlm-pt-credit-box-sub {
  font-size: 11.5px;
  color: var(--pt-text-secondary);
}

.dlm-pt-credits-zero-note {
  background: var(--pt-danger-soft);
  border: 1px solid var(--pt-danger-border);
  color: #ff9e9e;
  border-radius: var(--pt-radius-sm);
  padding: 9px 12px;
  font-size: 12.5px;
  font-weight: 600;
}

.dlm-pt-free-resume-badge {
  display: inline-flex;
  align-items: center;
  padding: 3px 9px;
  border-radius: 999px;
  font-family: var(--pt-mono);
  font-size: 10.5px;
  font-weight: 800;
  color: var(--pt-success);
  background: var(--pt-success-soft);
  border: 1px solid var(--pt-success-border);
}

.dlm-pt-credit-cost-pill {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-family: var(--pt-mono);
  font-size: 11.5px;
  font-weight: 700;
  color: var(--pt-neon);
  background: rgba(0, 255, 255, 0.1);
  border: 1px solid var(--pt-neon-border);
  padding: 4px 10px;
  border-radius: 999px;
}

.dlm-pt-credit-cost-pill.is-insufficient {
  margin-top: 8px;
  color: #ff9e9e;
  background: var(--pt-danger-soft);
  border-color: var(--pt-danger-border);
}

.dlm-pt-mode-tab.is-locked {
  opacity: 0.72;
  border-style: dashed;
  border-color: rgba(255, 171, 0, 0.42);
}

.dlm-pt-mode-tab.is-locked:hover {
  opacity: 0.92;
  border-color: rgba(255, 171, 0, 0.75);
}

.dlm-pt-mode-chip.is-vip-lock {
  color: #ffd54f;
  background: rgba(255, 171, 0, 0.14);
  border: 1px solid rgba(255, 171, 0, 0.48);
}

.dlm-pt-upgrade-notice {
  display: flex;
  align-items: center;
  gap: 10px;
  background: rgba(255, 171, 0, 0.1);
  border: 1px solid rgba(255, 171, 0, 0.48);
  color: #ffe082;
  border-radius: var(--pt-radius-md);
  padding: 11px 14px;
  margin-bottom: 16px;
  font-size: 13px;
  font-weight: 600;
}

.dlm-pt-upgrade-notice-icon {
  display: inline-flex;
  flex-shrink: 0;
  color: var(--pt-warning);
}

.dlm-pt-upgrade-notice-icon svg {
  width: 17px;
  height: 17px;
}

.dlm-pt-upgrade-notice-text {
  flex: 1 1 auto;
}

.dlm-pt-upgrade-notice-close {
  background: transparent;
  border: 1px solid rgba(255, 171, 0, 0.4);
  color: #ffe082;
  border-radius: 6px;
  width: 28px;
  height: 28px;
  font-size: 17px;
  line-height: 1;
  cursor: pointer;
  flex-shrink: 0;
}

.dlm-pt-upgrade-notice-close:hover {
  background: rgba(255, 171, 0, 0.2);
}

/* Locked Exam-Mode Audio Player (Full Preload, No Pause/Seek) */
.dlm-pt-audio-console.is-exam-locked {
  border-color: rgba(255, 171, 0, 0.48);
  box-shadow: 0 0 18px rgba(255, 171, 0, 0.08);
}

.dlm-pt-audio-lock-badge {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  margin-left: 8px;
  padding: 2px 9px;
  border-radius: 999px;
  font-family: var(--pt-mono);
  font-size: 10.5px;
  font-weight: 800;
  color: #ffd54f;
  background: rgba(255, 171, 0, 0.14);
  border: 1px solid rgba(255, 171, 0, 0.42);
  vertical-align: middle;
}

.dlm-pt-audio-lock-badge svg {
  width: 12px;
  height: 12px;
}

.dlm-pt-audio-progress-track {
  width: 100%;
  height: 8px;
  border-radius: 999px;
  background: #1b242d;
  border: 1px solid #2b3946;
  overflow: hidden;
  pointer-events: none;
  user-select: none;
}

.dlm-pt-audio-progress-fill {
  height: 100%;
  width: 0%;
  background: linear-gradient(90deg, var(--pt-neon), #55ffff);
  border-radius: 999px;
  transition: width 0.2s linear;
}

.dlm-pt-audio-play-btn.is-locked-playing,
.dlm-pt-audio-play-btn.is-locked-playing:disabled {
  background: rgba(0, 230, 118, 0.18);
  border-color: var(--pt-success-border);
  color: var(--pt-success);
  opacity: 1;
  cursor: not-allowed;
  box-shadow: 0 0 14px rgba(0, 230, 118, 0.25);
}

/* VIP-Locked Explanations & Audio Transcripts for Normal Users */
.dlm-pt-locked-feedback-note {
  margin-top: 7px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 12px;
  color: var(--pt-text-muted);
  background: rgba(255, 171, 0, 0.06);
  border: 1px dashed rgba(255, 171, 0, 0.32);
  border-radius: var(--pt-radius-sm);
  padding: 5px 10px;
}

.dlm-pt-inline-lock-icon {
  display: inline-flex;
  color: var(--pt-warning);
  flex-shrink: 0;
}

.dlm-pt-inline-lock-icon svg {
  width: 13px;
  height: 13px;
}

.dlm-pt-transcript-locked {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin: 14px 0 18px 0;
  padding: 13px 16px;
  background: rgba(255, 171, 0, 0.06);
  border: 1px dashed rgba(255, 171, 0, 0.4);
  border-radius: var(--pt-radius-md);
}

.dlm-pt-transcript-locked-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  border-radius: 8px;
  background: rgba(255, 171, 0, 0.14);
  color: var(--pt-warning);
  flex-shrink: 0;
}

.dlm-pt-transcript-locked-icon svg {
  width: 17px;
  height: 17px;
}

.dlm-pt-transcript-locked-text {
  display: flex;
  flex-direction: column;
  gap: 3px;
  font-size: 12.5px;
  color: var(--pt-text-secondary);
}

.dlm-pt-transcript-locked-text strong {
  color: #ffe082;
  font-size: 13.5px;
}

/* FIFO History Slot Status Bar & Greyed-Out Overflow Cards */
.dlm-pt-history-slot-bar {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  padding: 10px 14px;
  margin-bottom: 14px;
  border-radius: var(--pt-radius-sm);
  font-size: 12.5px;
  color: var(--pt-text-secondary);
  background: rgba(0, 255, 255, 0.05);
  border: 1px solid rgba(0, 255, 255, 0.25);
}

.dlm-pt-history-slot-bar.is-unlimited {
  background: rgba(0, 230, 118, 0.06);
  border-color: rgba(0, 230, 118, 0.32);
}

.dlm-pt-history-slot-bar.has-overflow {
  background: rgba(255, 171, 0, 0.08);
  border-color: rgba(255, 171, 0, 0.42);
  color: #ffe082;
}

.dlm-pt-slot-bar-icon {
  display: inline-flex;
  margin-top: 2px;
  flex-shrink: 0;
  color: var(--pt-neon);
}

.dlm-pt-history-slot-bar.is-unlimited .dlm-pt-slot-bar-icon {
  color: var(--pt-success);
}

.dlm-pt-history-slot-bar.has-overflow .dlm-pt-slot-bar-icon {
  color: var(--pt-warning);
}

.dlm-pt-slot-bar-icon svg {
  width: 15px;
  height: 15px;
}

.dlm-pt-slot-locked-pill {
  font-family: var(--pt-mono);
  font-size: 10.5px;
  font-weight: 700;
  color: var(--pt-text-muted);
  background: rgba(255, 255, 255, 0.06);
  border: 1px dashed #4a5560;
  padding: 2px 8px;
  border-radius: 999px;
}

.dlm-pt-history-card.is-slot-locked {
  opacity: 0.56;
  filter: grayscale(0.85);
  background: #0a0c0f;
  border-style: dashed;
  border-color: #343d46;
}

.dlm-pt-history-card.is-slot-locked:hover {
  opacity: 0.78;
}

.dlm-pt-icon-btn.is-locked-review,
.dlm-pt-icon-btn.is-locked-review:disabled {
  opacity: 0.55;
  cursor: not-allowed;
  border-style: dashed;
  color: var(--pt-text-muted);
}

/* Inline Launch Error Alert (directly below Start / Seed buttons) */
.dlm-pt-inline-launch-alert {
  margin-top: 10px;
  margin-bottom: 0;
  font-size: 13px;
  line-height: 1.45;
}

/* CEFR Level Filter Bar in Prüfungsformat wählen */
.dlm-pt-level-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 16px;
}

.dlm-pt-level-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 14px;
  border-radius: 999px;
  border: 1px solid var(--pt-border-strong);
  background: var(--pt-surface);
  color: var(--pt-text-secondary);
  font-family: var(--pt-mono);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.04em;
  cursor: pointer;
  transition: all 0.16s ease;
}

.dlm-pt-level-btn:hover {
  border-color: var(--pt-neon);
  color: #ffffff;
  background: rgba(0, 255, 255, 0.08);
}

.dlm-pt-level-btn.has-live {
  border-color: rgba(0, 255, 255, 0.35);
  color: var(--pt-text);
}

.dlm-pt-level-btn.is-empty {
  opacity: 0.62;
}

.dlm-pt-level-btn.is-empty:hover {
  opacity: 0.95;
}

.dlm-pt-level-btn.is-selected {
  background: var(--pt-neon);
  border-color: var(--pt-neon);
  color: #000000;
  opacity: 1;
  box-shadow: 0 0 14px rgba(0, 255, 255, 0.32);
}

.dlm-pt-level-live-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--pt-neon);
  box-shadow: 0 0 6px rgba(0, 255, 255, 0.8);
  flex-shrink: 0;
}

.dlm-pt-level-btn.is-selected .dlm-pt-level-live-dot {
  background: #000000;
  box-shadow: none;
}

.dlm-pt-level-count {
  font-size: 11px;
  font-weight: 800;
  padding: 1px 6px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
  color: var(--pt-text-secondary);
}

.dlm-pt-level-btn.is-selected .dlm-pt-level-count {
  background: rgba(0, 0, 0, 0.2);
  color: #000000;
}

.dlm-pt-level-empty-card {
  grid-column: 1 / -1;
  display: flex;
  flex-direction: column;
  gap: 5px;
  padding: 18px 20px;
  background: var(--pt-surface);
  border: 1px dashed var(--pt-border-strong);
  border-radius: var(--pt-radius-md);
  color: var(--pt-text-secondary);
  font-size: 13.5px;
}

.dlm-pt-level-empty-card strong {
  color: #ffffff;
  font-size: 15px;
}

@media (max-width: 720px) {
  .dlm-pt-credits-metrics {
    grid-template-columns: 1fr;
  }
  .dlm-pt-audio-lock-badge {
    margin-left: 0;
    margin-top: 4px;
  }
  .dlm-pt-level-bar {
    gap: 6px;
  }
  .dlm-pt-level-btn {
    padding: 7px 11px;
    font-size: 12px;
  }
}

/* ============================================================================
 * LEHRER-EXCLUSIVE PRINT & EXPORT STUDIO (PDF + STREAMING AUDIO ZIP)
 * ============================================================================ */
.dlm-pt-credits-meta-chip.is-lehrer-export {
  border-color: rgba(0, 255, 255, 0.55);
  background: rgba(0, 255, 255, 0.12);
  color: var(--pt-neon);
  font-weight: 700;
}

.dlm-pt-pool-action-group {
  display: inline-flex;
  align-items: center;
  justify-content: flex-end;
  gap: 8px;
}

.dlm-pt-lehrer-export-icon {
  border-color: rgba(0, 255, 255, 0.42);
  color: var(--pt-neon);
  background: rgba(0, 255, 255, 0.08);
}

.dlm-pt-lehrer-export-icon svg,
.dlm-pt-lehrer-export-cta svg,
.dlm-pt-lehrer-export-seed-btn svg,
.dlm-pt-grid-export-toggle svg,
.dlm-pt-exp-submit-btn svg,
.dlm-pt-pv-package-head svg,
.dlm-pt-exp-dl-link svg {
  width: 16px;
  height: 16px;
  stroke: currentColor;
  fill: none;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
  flex-shrink: 0;
}

.dlm-pt-lehrer-export-icon:hover:not(:disabled) {
  background: rgba(0, 255, 255, 0.18);
  border-color: var(--pt-neon);
  box-shadow: 0 0 12px rgba(0, 255, 255, 0.28);
}

.dlm-pt-pool-export-btn {
  width: 34px;
  height: 34px;
  padding: 0;
  flex-shrink: 0;
}

.dlm-pt-grid-export-toggle {
  margin-left: auto;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 12px;
  padding: 5px 11px;
  border-color: rgba(0, 255, 255, 0.35);
  color: var(--pt-neon);
}

.dlm-pt-grid-export-toggle.is-active {
  background: rgba(0, 255, 255, 0.18);
  border-color: var(--pt-neon);
  color: #ffffff;
  box-shadow: 0 0 12px rgba(0, 255, 255, 0.25);
}

.dlm-pt-grid-tile.is-export-mode {
  border-color: rgba(0, 255, 255, 0.65);
  box-shadow: inset 0 0 10px rgba(0, 255, 255, 0.14);
}

.dlm-pt-lehrer-hub-bar {
  margin-top: 16px;
  padding: 16px 18px;
  border-radius: var(--pt-radius-md);
  border: 1px solid rgba(0, 255, 255, 0.38);
  background: linear-gradient(135deg, rgba(0, 255, 255, 0.08), rgba(17, 25, 40, 0.92));
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
}

.dlm-pt-lehrer-hub-info {
  flex: 1 1 320px;
}

.dlm-pt-lehrer-hub-title {
  display: flex;
  align-items: center;
  gap: 8px;
  font-weight: 800;
  font-size: 15px;
  color: var(--pt-neon);
  margin-bottom: 4px;
}

.dlm-pt-lehrer-hub-desc {
  margin: 0;
  font-size: 13px;
  color: var(--pt-text-secondary);
  line-height: 1.45;
}

.dlm-pt-lehrer-hub-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
}

.dlm-pt-lehrer-export-cta,
.dlm-pt-lehrer-export-seed-btn {
  display: inline-flex;
  align-items: center;
  gap: 7px;
}

/* Print Studio Modal Overlay */
.dlm-pt-export-backdrop {
  position: fixed;
  inset: 0;
  z-index: 99998;
  background: rgba(2, 6, 15, 0.86);
  backdrop-filter: blur(8px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 18px;
  overflow-y: auto;
}

.dlm-pt-export-modal {
  width: 100%;
  max-width: 1120px;
  max-height: calc(100vh - 36px);
  background: #0b111c;
  border: 1px solid rgba(0, 255, 255, 0.52);
  border-radius: 16px;
  box-shadow: 0 24px 70px rgba(0, 0, 0, 0.85), 0 0 32px rgba(0, 255, 255, 0.14);
  display: flex;
  flex-direction: column;
  overflow: hidden;
  color: var(--pt-text);
}

.dlm-pt-export-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 15px 20px;
  background: #080d16;
  border-bottom: 1px solid var(--pt-border);
}

.dlm-pt-export-head-left {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}

.dlm-pt-export-title {
  margin: 0;
  font-size: 16px;
  font-weight: 800;
  color: #ffffff;
  line-height: 1.25;
}

.dlm-pt-export-sub {
  font-size: 12.5px;
  color: var(--pt-text-muted);
  margin-top: 2px;
}

.dlm-pt-export-body {
  display: grid;
  grid-template-columns: minmax(360px, 1.04fr) minmax(350px, 1.16fr);
  min-height: 0;
  flex: 1 1 auto;
  overflow: hidden;
}

.dlm-pt-export-preview-pane {
  background: #060a12;
  border-right: 1px solid var(--pt-border);
  padding: 14px 16px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  overflow-y: auto;
}

.dlm-pt-pv-meta-bar {
  width: 100%;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 6px;
  flex-shrink: 0;
}

.dlm-pt-pv-dim-pill {
  font-family: var(--pt-mono);
  font-size: 11px;
  font-weight: 700;
  color: var(--pt-neon);
  background: rgba(0, 255, 255, 0.1);
  border: 1px solid rgba(0, 255, 255, 0.3);
  border-radius: 999px;
  padding: 3px 10px;
}

.dlm-pt-pv-seed-pill {
  font-family: var(--pt-mono);
  font-size: 10.5px;
  font-weight: 700;
  color: #cbd5e1;
  background: #111b2b;
  border: 1px solid #243651;
  border-radius: 999px;
  padding: 3px 9px;
}

.dlm-pt-pv-doc-tabs {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 3px;
  background: #0d1523;
  border: 1px solid var(--pt-border-strong);
  border-radius: 9px;
  flex-shrink: 0;
}

.dlm-pt-pv-doc-tab {
  cursor: pointer;
  border: none;
  background: transparent;
  color: var(--pt-text-secondary);
  font-size: 11.5px;
  font-weight: 700;
  padding: 5px 12px;
  border-radius: 6px;
  transition: background 0.15s ease, color 0.15s ease;
}

.dlm-pt-pv-doc-tab:hover:not(:disabled) {
  color: #ffffff;
}

.dlm-pt-pv-doc-tab.is-active {
  background: var(--pt-neon);
  color: #020617;
}

/* Strictly fixed-height viewport so resizing Custom Width/Height NEVER shifts sections below */
.dlm-pt-pv-stage {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 420px;
  min-height: 420px;
  max-height: 420px;
  flex: 0 0 420px;
  padding: 12px;
  box-sizing: border-box;
  overflow: hidden;
  background: radial-gradient(circle at 50% 45%, #0d1626 0%, #050911 100%);
  border: 1px solid #18253a;
  border-radius: 10px;
}

.dlm-pt-pv-canvas {
  display: block;
  max-width: 100%;
  max-height: 100%;
  background: #ffffff;
  border-radius: 2px;
  box-shadow: 0 12px 34px rgba(0, 0, 0, 0.78), 0 0 0 1px rgba(255, 255, 255, 0.22);
  transition: opacity 0.16s ease;
}

.dlm-pt-pv-overlay {
  position: absolute;
  inset: 0;
  z-index: 4;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 18px;
  text-align: center;
  font-size: 12.5px;
  font-weight: 600;
  color: #dbe7f3;
  background: rgba(5, 9, 17, 0.74);
  backdrop-filter: blur(2px);
}

.dlm-pt-pv-overlay.is-error {
  color: #fecaca;
}

.dlm-pt-pv-spinner {
  width: 26px;
  height: 26px;
  border-radius: 50%;
  border: 2.5px solid rgba(0, 255, 255, 0.22);
  border-top-color: var(--pt-neon);
  animation: dlmPtSpin 0.75s linear infinite;
}

@keyframes dlmPtSpin {
  to { transform: rotate(360deg); }
}

.dlm-pt-pv-pager {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  flex-shrink: 0;
}

.dlm-pt-pv-page-btn {
  cursor: pointer;
  width: 34px;
  height: 32px;
  border-radius: 8px;
  border: 1px solid var(--pt-border-strong);
  background: #111926;
  color: #e2ecf7;
  font-size: 12px;
  font-weight: 800;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: all 0.15s ease;
}

.dlm-pt-pv-page-btn:hover:not(:disabled) {
  border-color: var(--pt-neon);
  color: var(--pt-neon);
  background: rgba(0, 255, 255, 0.1);
}

.dlm-pt-pv-page-btn:disabled {
  opacity: 0.38;
  cursor: not-allowed;
}

.dlm-pt-pv-page-indicator {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 12.5px;
  font-weight: 700;
  color: var(--pt-text-secondary);
}

.dlm-pt-pv-page-input {
  width: 48px;
  padding: 5px 6px;
  text-align: center;
  border-radius: 7px;
  border: 1px solid var(--pt-border-strong);
  background: #070c14;
  color: #ffffff;
  font-family: var(--pt-mono);
  font-size: 12.5px;
  font-weight: 700;
  -moz-appearance: textfield;
}

.dlm-pt-pv-page-input::-webkit-outer-spin-button,
.dlm-pt-pv-page-input::-webkit-inner-spin-button {
  -webkit-appearance: none;
  margin: 0;
}

.dlm-pt-pv-page-input:focus {
  outline: none;
  border-color: var(--pt-neon);
}

.dlm-pt-pv-page-total {
  font-family: var(--pt-mono);
  font-size: 12.5px;
  color: var(--pt-neon);
  min-width: 28px;
}

.dlm-pt-pv-package-card {
  width: 100%;
  background: #0e1624;
  border: 1px solid var(--pt-border-strong);
  border-radius: 10px;
  padding: 10px 12px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  flex-shrink: 0;
}

.dlm-pt-pv-package-head {
  display: flex;
  align-items: center;
  gap: 7px;
  font-size: 13px;
  color: var(--pt-neon);
}

.dlm-pt-pv-file-list {
  display: flex;
  flex-wrap: wrap;
  gap: 5px;
}

.dlm-pt-pv-file-pill {
  font-family: var(--pt-mono);
  font-size: 11px;
  color: #d8e6f5;
  background: #172234;
  border: 1px solid #263954;
  border-radius: 6px;
  padding: 2px 7px;
  word-break: break-all;
}

/* Right Controls Pane */
.dlm-pt-export-controls-pane {
  padding: 18px 20px;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.dlm-pt-exp-group {
  display: flex;
  flex-direction: column;
  gap: 7px;
}

.dlm-pt-exp-group-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  flex-wrap: wrap;
}

.dlm-pt-exp-label {
  font-size: 12.5px;
  font-weight: 700;
  color: #dbe7f3;
  letter-spacing: 0.2px;
}

.dlm-pt-exp-sublabel {
  font-size: 11.5px;
  color: var(--pt-text-muted);
  display: block;
  margin-bottom: 4px;
}

.dlm-pt-exp-mini-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 5px;
}

.dlm-pt-exp-mini-btn {
  cursor: pointer;
  background: #141e2e;
  color: var(--pt-text-secondary);
  border: 1px solid var(--pt-border-strong);
  border-radius: 999px;
  padding: 3px 9px;
  font-size: 11px;
  font-weight: 600;
  transition: all 0.15s ease;
}

.dlm-pt-exp-mini-btn:hover {
  border-color: var(--pt-neon);
  color: var(--pt-neon);
}

.dlm-pt-exp-sec-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.dlm-pt-exp-sec-chip {
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 10px;
  border-radius: 8px;
  border: 1px solid var(--pt-border-strong);
  background: #111926;
  color: var(--pt-text-secondary);
  font-size: 12px;
  font-weight: 600;
  user-select: none;
  transition: all 0.15s ease;
}

.dlm-pt-exp-sec-chip input {
  accent-color: var(--pt-neon);
  margin: 0;
}

.dlm-pt-exp-sec-chip.is-checked {
  border-color: rgba(0, 255, 255, 0.55);
  background: rgba(0, 255, 255, 0.1);
  color: #ffffff;
}

.dlm-pt-exp-mp3-tag {
  font-family: var(--pt-mono);
  font-size: 10px;
  font-weight: 800;
  padding: 1px 5px;
  border-radius: 4px;
  background: rgba(255, 171, 0, 0.2);
  color: #ffca28;
  border: 1px solid rgba(255, 171, 0, 0.45);
}

.dlm-pt-exp-mode-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
}

.dlm-pt-exp-mode-card {
  cursor: pointer;
  text-align: left;
  padding: 10px 12px;
  border-radius: 10px;
  border: 1px solid var(--pt-border-strong);
  background: #111926;
  color: var(--pt-text);
  display: flex;
  flex-direction: column;
  gap: 2px;
  transition: all 0.15s ease;
}

.dlm-pt-exp-mode-card strong {
  font-size: 13px;
  color: #ffffff;
}

.dlm-pt-exp-mode-card span {
  font-size: 11.5px;
  color: var(--pt-text-muted);
}

.dlm-pt-exp-mode-card:hover:not(:disabled) {
  border-color: rgba(0, 255, 255, 0.55);
}

.dlm-pt-exp-mode-card.is-active {
  border-color: var(--pt-neon);
  background: rgba(0, 255, 255, 0.12);
  box-shadow: 0 0 14px rgba(0, 255, 255, 0.15);
}

.dlm-pt-exp-mode-card.is-active strong {
  color: var(--pt-neon);
}

.dlm-pt-exp-subrow {
  margin-top: 4px;
  padding: 9px 11px;
  border-radius: 8px;
  background: #0e1623;
  border: 1px solid var(--pt-border);
}

.dlm-pt-exp-audio-box {
  padding: 10px 12px;
  border-radius: 10px;
  border: 1px solid rgba(255, 171, 0, 0.35);
  background: rgba(255, 171, 0, 0.08);
}

.dlm-pt-exp-audio-box.is-active {
  border-color: rgba(255, 171, 0, 0.65);
  background: rgba(255, 171, 0, 0.13);
}

.dlm-pt-exp-two-col {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.dlm-pt-exp-custom-dims {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  padding: 10px 12px;
  border-radius: 8px;
  background: #0e1623;
  border: 1px solid var(--pt-border);
}

.dlm-pt-exp-select,
.dlm-pt-exp-input {
  width: 100%;
  padding: 8px 11px;
  border-radius: 8px;
  border: 1px solid var(--pt-border-strong);
  background: #070c14;
  color: #ffffff;
  font-size: 13px;
  font-family: var(--pt-font);
}

.dlm-pt-exp-select:focus,
.dlm-pt-exp-input:focus {
  outline: none;
  border-color: var(--pt-neon);
}

/* Microsoft-Word-style Font Size Combobox (free numeric input + preset dropdown) */
.dlm-pt-exp-fs-wrap {
  position: relative;
  width: 100%;
}

.dlm-pt-exp-fs-combo {
  display: flex;
  align-items: stretch;
  width: 100%;
  border-radius: 8px;
  border: 1px solid var(--pt-border-strong);
  background: #070c14;
  overflow: hidden;
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

.dlm-pt-exp-fs-combo:focus-within,
.dlm-pt-exp-fs-wrap.is-open .dlm-pt-exp-fs-combo {
  border-color: var(--pt-neon);
  box-shadow: 0 0 0 1px rgba(0, 255, 255, 0.28);
}

.dlm-pt-exp-fs-input {
  flex: 1 1 auto;
  min-width: 0;
  border: none;
  background: transparent;
  color: #ffffff;
  font-family: var(--pt-mono);
  font-size: 13.5px;
  font-weight: 700;
  padding: 8px 6px 8px 11px;
}

.dlm-pt-exp-fs-input:focus {
  outline: none;
}

.dlm-pt-exp-fs-unit {
  display: inline-flex;
  align-items: center;
  padding: 0 7px 0 2px;
  font-size: 11.5px;
  font-weight: 700;
  color: var(--pt-text-muted);
  user-select: none;
}

.dlm-pt-exp-fs-toggle {
  cursor: pointer;
  width: 34px;
  flex-shrink: 0;
  border: none;
  border-left: 1px solid var(--pt-border-strong);
  background: #111926;
  color: #d8e6f5;
  font-size: 12px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: background 0.15s ease, color 0.15s ease;
}

.dlm-pt-exp-fs-toggle:hover:not(:disabled),
.dlm-pt-exp-fs-wrap.is-open .dlm-pt-exp-fs-toggle {
  background: rgba(0, 255, 255, 0.14);
  color: var(--pt-neon);
}

.dlm-pt-exp-fs-menu {
  display: none;
  position: absolute;
  top: calc(100% + 4px);
  left: 0;
  right: 0;
  z-index: 40;
  max-height: 216px;
  overflow-y: auto;
  background: #0c1422;
  border: 1px solid rgba(0, 255, 255, 0.45);
  border-radius: 9px;
  box-shadow: 0 14px 32px rgba(0, 0, 0, 0.78);
  padding: 4px;
}

.dlm-pt-exp-fs-wrap.is-open .dlm-pt-exp-fs-menu {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.dlm-pt-exp-fs-option {
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  padding: 6px 10px;
  border: none;
  border-radius: 6px;
  background: transparent;
  color: #e2ecf7;
  font-family: var(--pt-mono);
  font-size: 12.5px;
  font-weight: 700;
  text-align: left;
  transition: background 0.12s ease, color 0.12s ease;
}

.dlm-pt-exp-fs-option:hover {
  background: rgba(0, 255, 255, 0.12);
  color: var(--pt-neon);
}

.dlm-pt-exp-fs-option.is-selected {
  background: var(--pt-neon);
  color: #020617;
}

.dlm-pt-exp-fs-opt-unit {
  font-size: 11px;
  opacity: 0.72;
}

.dlm-pt-exp-seg-row {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
}

.dlm-pt-exp-seg-btn {
  cursor: pointer;
  flex: 1 1 auto;
  padding: 7px 10px;
  border-radius: 8px;
  border: 1px solid var(--pt-border-strong);
  background: #111926;
  color: var(--pt-text-secondary);
  font-size: 12px;
  font-weight: 700;
  transition: all 0.15s ease;
}

.dlm-pt-exp-seg-btn:hover:not(:disabled) {
  border-color: var(--pt-neon);
  color: var(--pt-neon);
}

.dlm-pt-exp-seg-btn.is-active {
  background: var(--pt-neon);
  color: #020617;
  border-color: var(--pt-neon);
}

.dlm-pt-exp-checks {
  display: flex;
  flex-direction: column;
  gap: 7px;
  padding: 10px 12px;
  border-radius: 10px;
  background: #0e1623;
  border: 1px solid var(--pt-border);
}

.dlm-pt-exp-check-row {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  font-size: 12.5px;
  color: var(--pt-text);
  cursor: pointer;
  line-height: 1.4;
}

.dlm-pt-exp-check-row input {
  accent-color: var(--pt-neon);
  margin-top: 2px;
  flex-shrink: 0;
}

.dlm-pt-exp-progress-wrap {
  padding: 10px 12px;
  border-radius: 10px;
  background: rgba(0, 255, 255, 0.08);
  border: 1px solid rgba(0, 255, 255, 0.35);
}

.dlm-pt-exp-progress-track {
  width: 100%;
  height: 7px;
  border-radius: 999px;
  background: #162336;
  overflow: hidden;
  margin-bottom: 6px;
}

.dlm-pt-exp-progress-fill {
  height: 100%;
  background: linear-gradient(90deg, #00c4ff, var(--pt-neon));
  border-radius: 999px;
  transition: width 0.2s ease;
}

.dlm-pt-exp-progress-text {
  font-size: 12px;
  color: var(--pt-neon);
  font-weight: 600;
}

.dlm-pt-exp-success {
  padding: 11px 13px;
  border-radius: 10px;
  background: rgba(0, 230, 118, 0.1);
  border: 1px solid rgba(0, 230, 118, 0.45);
  color: #b9f6ca;
  font-size: 12.5px;
  line-height: 1.45;
}

.dlm-pt-exp-dl-hint {
  margin-top: 7px;
  font-size: 11.5px;
  color: #dcfce7;
  opacity: 0.9;
}

.dlm-pt-exp-downloads-list {
  margin-top: 8px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.dlm-pt-exp-dl-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
}

.dlm-pt-exp-dl-link {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 8px 13px;
  border-radius: 8px;
  background: rgba(0, 230, 118, 0.24);
  border: 1px solid #00e676;
  color: #ffffff !important;
  text-decoration: none !important;
  font-size: 12.5px;
  font-weight: 700;
  cursor: pointer;
  max-width: 100%;
  box-shadow: 0 2px 10px rgba(0, 230, 118, 0.16);
  transition: background 0.15s ease, transform 0.12s ease;
}

.dlm-pt-exp-dl-link:hover {
  background: rgba(0, 230, 118, 0.36);
  transform: translateY(-1px);
}

.dlm-pt-exp-dl-text {
  word-break: break-all;
}

.dlm-pt-exp-saveas-btn {
  cursor: pointer;
  padding: 8px 11px;
  border-radius: 8px;
  background: rgba(0, 255, 255, 0.12);
  border: 1px solid rgba(0, 255, 255, 0.5);
  color: var(--pt-neon);
  font-size: 12px;
  font-weight: 700;
  white-space: nowrap;
  transition: background 0.15s ease, color 0.15s ease;
}

.dlm-pt-exp-saveas-btn:hover {
  background: var(--pt-neon);
  color: #020617;
}

.dlm-pt-exp-dl-status {
  font-size: 11.5px;
  font-weight: 700;
  color: #69f0ae;
}

.dlm-pt-export-foot {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 13px 20px;
  background: #080d16;
  border-top: 1px solid var(--pt-border);
}

.dlm-pt-export-foot-actions {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-left: auto;
}

.dlm-pt-export-credit-pill {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 6px 12px;
  border-radius: 999px;
  font-size: 12px;
  color: var(--pt-neon);
  background: rgba(0, 255, 255, 0.10);
  border: 1px solid rgba(0, 255, 255, 0.40);
}

.dlm-pt-export-credit-pill svg {
  width: 15px;
  height: 15px;
  stroke: currentColor;
  fill: none;
  stroke-width: 2;
  flex-shrink: 0;
}

.dlm-pt-export-credit-pill.is-short {
  color: #fecaca;
  background: rgba(239, 68, 68, 0.15);
  border-color: rgba(239, 68, 68, 0.52);
}

.dlm-pt-pv-blur-banner {
  width: 100%;
  box-sizing: border-box;
  padding: 8px 11px;
  border-radius: 8px;
  font-size: 11.5px;
  line-height: 1.42;
  text-align: left;
  flex-shrink: 0;
}

.dlm-pt-pv-blur-banner.is-locked {
  color: #fde68a;
  background: rgba(245, 158, 11, 0.11);
  border: 1px solid rgba(245, 158, 11, 0.36);
}

.dlm-pt-pv-blur-banner.is-unlocked {
  color: #a7f3d0;
  background: rgba(16, 185, 129, 0.11);
  border: 1px solid rgba(16, 185, 129, 0.36);
}

.dlm-pt-exp-submit-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

@media (max-width: 860px) {
  .dlm-pt-export-body {
    grid-template-columns: 1fr;
    overflow-y: auto;
  }
  .dlm-pt-export-preview-pane {
    border-right: none;
    border-bottom: 1px solid var(--pt-border);
    overflow-y: visible;
  }
  .dlm-pt-pv-stage {
    height: 320px;
    min-height: 320px;
    max-height: 320px;
    flex: 0 0 320px;
  }
  .dlm-pt-export-controls-pane {
    overflow-y: visible;
  }
}

@media (max-width: 600px) {
  .dlm-pt-export-backdrop {
    padding: 8px;
  }
  .dlm-pt-export-modal {
    max-height: calc(100vh - 16px);
  }
  .dlm-pt-exp-mode-grid,
  .dlm-pt-exp-two-col,
  .dlm-pt-exp-custom-dims {
    grid-template-columns: 1fr;
  }
  .dlm-pt-pool-export-btn {
    display: inline-flex !important;
  }
}

/* ----------------------------------------------------------------------------
 * ÖSD ZERTIFIKAT B2 – DEDICATED SUBSECTION STYLES (LV1–LV4, HV1–HV2)
 * ---------------------------------------------------------------------------- */
.dlm-pt-exp-badge.is-partial {
  background: rgba(255, 171, 0, 0.16);
  border-color: rgba(255, 171, 0, 0.55);
  color: #ffd54f;
}

.dlm-pt-qnav-pill.is-partial {
  background: rgba(255, 171, 0, 0.18);
  border-color: rgba(255, 171, 0, 0.65);
  color: #ffd54f;
}

.dlm-pt-oesd-muted {
  color: var(--pt-text-muted);
  font-weight: 500;
}

.dlm-pt-oesd-subtitle {
  margin: -4px 0 14px 0;
  padding: 8px 12px;
  border-left: 3px solid var(--pt-neon);
  background: rgba(0, 255, 255, 0.05);
  color: #cfe8ef;
  font-size: 13.5px;
  font-style: italic;
  line-height: 1.5;
  border-radius: 0 var(--pt-radius-sm) var(--pt-radius-sm) 0;
}

.dlm-pt-oesd-ex-opts {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.dlm-pt-oesd-ex-opt {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  padding: 6px 10px;
  border-radius: var(--pt-radius-sm);
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(255, 255, 255, 0.02);
  font-size: 13px;
  color: var(--pt-text-secondary);
}

.dlm-pt-oesd-ex-opt.is-right {
  border-color: rgba(0, 230, 118, 0.45);
  background: rgba(0, 230, 118, 0.09);
  color: #d9ffe9;
  font-weight: 600;
}

/* Official ÖSD Scoring Scale Strip (LV3, LV4, HV2) */
.dlm-pt-oesd-scale-box {
  background: linear-gradient(135deg, rgba(0, 255, 255, 0.055), rgba(12, 18, 24, 0.94));
  border: 1px solid rgba(0, 255, 255, 0.24);
  border-radius: var(--pt-radius-md);
  padding: 11px 14px;
  margin-bottom: 14px;
}

.dlm-pt-oesd-scale-head {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 6px 12px;
  margin-bottom: 8px;
}

.dlm-pt-oesd-scale-title {
  font-size: 11px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--pt-neon);
}

.dlm-pt-oesd-scale-result {
  font-family: var(--pt-mono);
  font-size: 12px;
  color: #e6edf3;
  background: rgba(0, 230, 118, 0.12);
  border: 1px solid rgba(0, 230, 118, 0.4);
  padding: 2px 9px;
  border-radius: 999px;
}

.dlm-pt-oesd-scale-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.dlm-pt-oesd-scale-chip {
  font-family: var(--pt-mono);
  font-size: 11px;
  color: var(--pt-text-secondary);
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 6px;
  padding: 3px 8px;
}

.dlm-pt-oesd-scale-chip strong {
  color: #ffffff;
}

.dlm-pt-oesd-scale-chip.is-hit {
  background: rgba(0, 255, 255, 0.16);
  border-color: var(--pt-neon);
  color: #ffffff;
  box-shadow: 0 0 10px rgba(0, 255, 255, 0.25);
}

.dlm-pt-oesd-tip-box {
  background: rgba(0, 255, 255, 0.04);
  border: 1px dashed rgba(0, 255, 255, 0.28);
  border-radius: var(--pt-radius-md);
  padding: 12px 14px;
  font-size: 13px;
  line-height: 1.55;
  color: var(--pt-text-secondary);
}

.dlm-pt-oesd-tip-box strong {
  display: block;
  margin-bottom: 4px;
  color: var(--pt-neon);
  font-size: 12.5px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.dlm-pt-oesd-tip-box p {
  margin: 0;
}

.dlm-pt-oesd-tip-box code {
  font-family: var(--pt-mono);
  font-size: 11.5px;
  padding: 1px 5px;
  border-radius: 4px;
  background: rgba(255, 255, 255, 0.08);
  color: #ffffff;
}

/* LV3 – Torn-Right-Margin Newspaper Sheet */
.dlm-pt-oesd-lv3-split {
  grid-template-columns: minmax(0, 1.38fr) minmax(0, 0.92fr);
}

.dlm-pt-oesd-lv3-pane {
  padding: 0;
  background: transparent;
  border: none;
}

.dlm-pt-oesd-lv3-sheet {
  position: relative;
  background: linear-gradient(180deg, #10151b 0%, #0b0f14 100%);
  border: 1px solid #263442;
  border-right: none;
  border-radius: var(--pt-radius-md) 0 0 var(--pt-radius-md);
  padding: 18px 26px 20px 18px;
  overflow: visible;
}

.dlm-pt-oesd-lv3-sheet::after {
  content: '';
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  width: 12px;
  pointer-events: none;
  background:
    linear-gradient(135deg, transparent 50%, rgba(0, 255, 255, 0.28) 50%, rgba(0, 255, 255, 0.12) 60%, #05070a 60%) top right / 12px 16px repeat-y,
    linear-gradient(45deg, transparent 50%, rgba(0, 255, 255, 0.28) 50%, rgba(0, 255, 255, 0.12) 60%, #05070a 60%) top right / 12px 16px repeat-y;
}

.dlm-pt-oesd-lv3-sheet-head {
  padding-bottom: 12px;
  margin-bottom: 12px;
  border-bottom: 1px dashed rgba(0, 255, 255, 0.24);
}

.dlm-pt-oesd-lv3-badge {
  display: inline-block;
  font-family: var(--pt-mono);
  font-size: 10.5px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--pt-neon);
  background: rgba(0, 255, 255, 0.09);
  border: 1px solid rgba(0, 255, 255, 0.28);
  border-radius: 999px;
  padding: 2px 9px;
  margin-bottom: 6px;
}

.dlm-pt-oesd-lv3-title {
  margin: 0;
  font-size: 17px;
  font-weight: 800;
  color: #ffffff;
  line-height: 1.35;
}

.dlm-pt-oesd-lv3-lines {
  display: flex;
  flex-direction: column;
  gap: 5px;
  font-size: 14.5px;
  line-height: 1.65;
  color: #e6edf3;
}

.dlm-pt-oesd-lv3-spacer {
  height: 8px;
}

.dlm-pt-oesd-lv3-line {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  row-gap: 4px;
  padding: 3px 6px;
  border-radius: 6px;
  transition: background 0.16s ease;
}

.dlm-pt-oesd-lv3-line.is-gap-line:hover,
.dlm-pt-oesd-lv3-line.is-gap-line:focus-within {
  background: rgba(0, 255, 255, 0.06);
}

.dlm-pt-oesd-lv3-line.is-heading-line {
  font-weight: 800;
  color: #ffffff;
  font-size: 15.5px;
}

.dlm-pt-oesd-lv3-line.is-footnote {
  margin-top: 8px;
  padding-top: 8px;
  border-top: 1px dashed rgba(255, 255, 255, 0.14);
  font-size: 12.5px;
  color: var(--pt-text-muted);
}

.dlm-pt-oesd-lv3-text {
  white-space: pre-wrap;
}

.dlm-pt-oesd-lv3-ex-chip {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 1px 7px;
  border-radius: 5px;
  background: rgba(255, 171, 0, 0.14);
  border: 1px solid rgba(255, 171, 0, 0.45);
  font-family: var(--pt-mono);
  font-size: 13px;
  line-height: 1.35;
  vertical-align: baseline;
}

.dlm-pt-oesd-lv3-ex-lbl {
  font-family: var(--pt-mono);
  font-size: 11px;
  font-weight: 800;
  color: #ffd54f;
}

.dlm-pt-oesd-lv3-ex-val {
  color: #fff3cc;
  font-weight: 700;
}

.dlm-pt-oesd-lv3-ex-row {
  display: flex;
  align-items: baseline;
  gap: 8px;
  padding: 5px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.07);
  font-size: 13px;
  color: var(--pt-text-secondary);
}

.dlm-pt-oesd-lv3-ex-ctx strong {
  color: #ffd54f;
}

.dlm-pt-oesd-lv3-gap-wrap {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  background: #070b10;
  border: 1px solid #304254;
  border-bottom: 2px solid var(--pt-neon);
  border-radius: 6px;
  padding: 1px 5px 1px 4px;
  vertical-align: baseline;
  transition: border-color 0.16s ease, box-shadow 0.16s ease;
}

.dlm-pt-oesd-lv3-gap-wrap:focus-within {
  border-color: var(--pt-neon);
  box-shadow: 0 0 0 2px rgba(0, 255, 255, 0.22);
}

.dlm-pt-oesd-lv3-gap-wrap.is-filled {
  background: rgba(0, 255, 255, 0.08);
  border-color: rgba(0, 255, 255, 0.55);
}

.dlm-pt-oesd-lv3-gap-wrap.is-correct {
  background: rgba(0, 230, 118, 0.12);
  border-color: var(--pt-success);
}

.dlm-pt-oesd-lv3-gap-wrap.is-wrong {
  background: rgba(255, 82, 82, 0.12);
  border-color: var(--pt-danger);
}

.dlm-pt-oesd-lv3-gap-num {
  font-family: var(--pt-mono);
  font-size: 10.5px;
  font-weight: 800;
  color: var(--pt-neon);
  background: rgba(0, 255, 255, 0.12);
  border-radius: 4px;
  padding: 0 4px;
  line-height: 1.5;
  user-select: none;
}

.dlm-pt-oesd-lv3-input {
  width: 96px;
  min-width: 72px;
  max-width: 150px;
  background: transparent;
  border: none;
  outline: none;
  color: #ffffff;
  font-family: var(--pt-mono);
  font-size: 13.5px;
  font-weight: 700;
  padding: 1px 2px;
}

.dlm-pt-oesd-lv3-input::placeholder {
  color: #54687a;
}

.dlm-pt-oesd-lv3-corr {
  margin-left: 6px;
  font-family: var(--pt-mono);
  font-size: 12px;
  font-weight: 700;
  color: var(--pt-success);
  background: rgba(0, 230, 118, 0.1);
  border: 1px solid rgba(0, 230, 118, 0.35);
  border-radius: 5px;
  padding: 1px 6px;
}

.dlm-pt-oesd-compact-box {
  padding: 11px 13px;
}

.dlm-pt-oesd-lv3-review-ctx {
  font-size: 13px;
  color: var(--pt-text-secondary);
  margin: 4px 0 6px 0;
}

.dlm-pt-oesd-lv3-review-ctx strong {
  color: var(--pt-neon);
}

/* LV4 Open Cloze Context Snippet */
.dlm-pt-oesd-lv4-ctx {
  font-size: 13px;
  color: var(--pt-text-secondary);
  margin-bottom: 8px;
  padding: 6px 9px;
  background: rgba(255, 255, 255, 0.03);
  border-radius: 6px;
  border-left: 2px solid rgba(0, 255, 255, 0.4);
}

/* HV1 Abschnitt Divider */
.dlm-pt-oesd-abschnitt-head {
  font-family: var(--pt-mono);
  font-size: 11.5px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.09em;
  color: var(--pt-neon);
  padding: 6px 11px;
  margin: 14px 0 8px 0;
  background: rgba(0, 255, 255, 0.07);
  border: 1px solid rgba(0, 255, 255, 0.24);
  border-radius: var(--pt-radius-sm);
}

.dlm-pt-oesd-abschnitt-head:first-of-type {
  margin-top: 4px;
}

/* HV2 – 3-Column Comparison Table */
.dlm-pt-oesd-hv2-tip {
  font-size: 12.5px;
  color: var(--pt-text-secondary);
  margin: 0 0 12px 0;
  padding: 8px 12px;
  background: rgba(0, 255, 255, 0.04);
  border: 1px solid rgba(0, 255, 255, 0.18);
  border-radius: var(--pt-radius-sm);
}

.dlm-pt-oesd-hv2-tip strong {
  color: #ffffff;
}

.dlm-pt-oesd-hv2-table-wrap {
  width: 100%;
  overflow-x: auto;
  border: 1px solid #263442;
  border-radius: var(--pt-radius-md);
  background: #0a0e13;
}

.dlm-pt-oesd-hv2-table {
  width: 100%;
  border-collapse: collapse;
  table-layout: fixed;
  min-width: 740px;
}

.dlm-pt-oesd-hv2-table thead th {
  position: sticky;
  top: 0;
  z-index: 2;
  background: linear-gradient(180deg, #131c24 0%, #0e151c 100%);
  color: var(--pt-neon);
  font-size: 12.5px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  text-align: left;
  padding: 12px 11px;
  border-bottom: 2px solid rgba(0, 255, 255, 0.35);
  border-right: 1px solid #1e2a35;
}

.dlm-pt-oesd-hv2-table thead th:last-child {
  border-right: none;
}

.dlm-pt-oesd-hv2-cat-th {
  width: 18%;
}

.dlm-pt-oesd-hv2-table tbody tr {
  border-bottom: 1px solid #1e2a35;
}

.dlm-pt-oesd-hv2-table tbody tr:last-child {
  border-bottom: none;
}

.dlm-pt-oesd-hv2-cat {
  vertical-align: top;
  background: #0d131a;
  padding: 11px 11px;
  text-align: left;
  border-right: 1px solid #1e2a35;
}

.dlm-pt-oesd-hv2-cat-title {
  font-size: 13px;
  font-weight: 800;
  color: #ffffff;
  line-height: 1.35;
}

.dlm-pt-oesd-hv2-cat-mp {
  display: inline-block;
  margin-top: 5px;
  font-family: var(--pt-mono);
  font-size: 10.5px;
  font-weight: 700;
  color: var(--pt-text-muted);
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 999px;
  padding: 1px 7px;
}

.dlm-pt-oesd-hv2-cell {
  vertical-align: top;
  padding: 10px 10px 11px 10px;
  border-right: 1px solid #1e2a35;
  background: #0a0e13;
  transition: background 0.16s ease, box-shadow 0.16s ease;
}

.dlm-pt-oesd-hv2-cell:last-child {
  border-right: none;
}

.dlm-pt-oesd-hv2-cell.is-filled {
  background: rgba(0, 255, 255, 0.035);
}

.dlm-pt-oesd-hv2-cell.is-correct {
  background: rgba(0, 230, 118, 0.07);
  box-shadow: inset 0 0 0 1px rgba(0, 230, 118, 0.35);
}

.dlm-pt-oesd-hv2-cell.is-partial {
  background: rgba(255, 171, 0, 0.08);
  box-shadow: inset 0 0 0 1px rgba(255, 171, 0, 0.45);
}

.dlm-pt-oesd-hv2-cell.is-wrong {
  background: rgba(255, 82, 82, 0.07);
  box-shadow: inset 0 0 0 1px rgba(255, 82, 82, 0.35);
}

.dlm-pt-oesd-hv2-cell-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 6px;
  margin-bottom: 7px;
}

.dlm-pt-oesd-hv2-qnum {
  font-family: var(--pt-mono);
  font-size: 10.5px;
  font-weight: 800;
  color: var(--pt-neon);
}

.dlm-pt-oesd-hv2-col-mobile {
  display: none;
  font-size: 11.5px;
  font-weight: 700;
  color: #cfe8ef;
  flex: 1;
}

.dlm-pt-oesd-hv2-mp {
  font-family: var(--pt-mono);
  font-size: 10px;
  font-weight: 700;
  color: var(--pt-text-muted);
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 999px;
  padding: 1px 6px;
}

.dlm-pt-oesd-hv2-mp.is-correct {
  color: var(--pt-success);
  border-color: rgba(0, 230, 118, 0.45);
  background: rgba(0, 230, 118, 0.12);
}

.dlm-pt-oesd-hv2-mp.is-partial {
  color: #ffd54f;
  border-color: rgba(255, 171, 0, 0.5);
  background: rgba(255, 171, 0, 0.15);
}

.dlm-pt-oesd-hv2-mp.is-wrong {
  color: #ff8a80;
  border-color: rgba(255, 82, 82, 0.45);
  background: rgba(255, 82, 82, 0.12);
}

.dlm-pt-oesd-hv2-fill {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 5px;
}

.dlm-pt-oesd-hv2-affix {
  font-size: 12.5px;
  color: var(--pt-text-secondary);
  font-weight: 600;
}

.dlm-pt-oesd-hv2-input {
  flex: 1 1 92px;
  min-width: 78px;
  width: 100%;
  padding: 7px 9px;
  border-radius: 6px;
  border: 1px solid #2e3e4d;
  background: #06090d;
  color: #ffffff;
  font-size: 13px;
  font-weight: 600;
  outline: none;
  transition: border-color 0.16s ease, box-shadow 0.16s ease;
}

.dlm-pt-oesd-hv2-input:focus {
  border-color: var(--pt-neon);
  box-shadow: 0 0 0 2px rgba(0, 255, 255, 0.2);
}

.dlm-pt-oesd-hv2-input:disabled {
  opacity: 0.9;
  cursor: default;
}

.dlm-pt-oesd-hv2-corr {
  margin-top: 6px;
  font-size: 11.5px;
  font-weight: 700;
  color: var(--pt-success);
  background: rgba(0, 230, 118, 0.09);
  border: 1px solid rgba(0, 230, 118, 0.3);
  border-radius: 5px;
  padding: 3px 7px;
  line-height: 1.35;
}

.dlm-pt-oesd-hv2-checks {
  display: flex;
  flex-direction: column;
  gap: 5px;
}

.dlm-pt-oesd-hv2-chk {
  display: flex;
  align-items: flex-start;
  gap: 7px;
  width: 100%;
  text-align: left;
  padding: 6px 8px;
  border-radius: 6px;
  border: 1px solid #263442;
  background: #0e141b;
  color: #dbe6ef;
  font-size: 12.5px;
  line-height: 1.35;
  cursor: pointer;
  transition: all 0.15s ease;
}

.dlm-pt-oesd-hv2-chk:hover:not(:disabled) {
  border-color: var(--pt-neon);
  background: rgba(0, 255, 255, 0.08);
}

.dlm-pt-oesd-hv2-chk.is-none-opt {
  border-style: dashed;
  border-color: #2c3844;
  background: rgba(255, 255, 255, 0.015);
  color: var(--pt-text-muted);
  font-size: 11.5px;
}

.dlm-pt-oesd-chk-box {
  width: 14px;
  height: 14px;
  min-width: 14px;
  margin-top: 1px;
  border-radius: 3px;
  border: 1.5px solid #5c7285;
  background: #06090d;
  position: relative;
  transition: all 0.15s ease;
}

.dlm-pt-oesd-hv2-chk.is-selected {
  border-color: var(--pt-neon);
  background: rgba(0, 255, 255, 0.13);
  color: #ffffff;
  font-weight: 600;
}

.dlm-pt-oesd-hv2-chk.is-selected .dlm-pt-oesd-chk-box {
  border-color: var(--pt-neon);
  background: var(--pt-neon);
}

.dlm-pt-oesd-hv2-chk.is-selected .dlm-pt-oesd-chk-box::after {
  content: '';
  position: absolute;
  left: 3.5px;
  top: 0.5px;
  width: 4px;
  height: 8px;
  border: solid #000000;
  border-width: 0 2px 2px 0;
  transform: rotate(45deg);
}

.dlm-pt-oesd-hv2-chk.is-correct-opt {
  border-color: var(--pt-success) !important;
  background: rgba(0, 230, 118, 0.15) !important;
  color: #d9ffe9 !important;
}

.dlm-pt-oesd-hv2-chk.is-correct-opt .dlm-pt-oesd-chk-box {
  border-color: var(--pt-success);
  background: var(--pt-success);
}

.dlm-pt-oesd-hv2-chk.is-wrong-opt {
  border-color: var(--pt-danger) !important;
  background: rgba(255, 82, 82, 0.14) !important;
  color: #ffcdd2 !important;
}

.dlm-pt-oesd-hv2-chk.is-wrong-opt .dlm-pt-oesd-chk-box {
  border-color: var(--pt-danger);
  background: var(--pt-danger);
}

.dlm-pt-oesd-hv2-chk.is-missed-opt {
  border-style: dashed !important;
  border-color: var(--pt-success) !important;
  background: rgba(0, 230, 118, 0.06) !important;
  color: #a5f3c8 !important;
}

.dlm-pt-oesd-hv2-review {
  margin-top: 16px;
}

.dlm-pt-oesd-hv2-review-body {
  padding: 12px 14px;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.dlm-pt-oesd-hv2-rev-cat {
  font-size: 12.5px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--pt-neon);
  margin-bottom: 8px;
}

.dlm-pt-oesd-hv2-rev-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
}

.dlm-pt-oesd-hv2-rev-card {
  background: #0c1117;
  border: 1px solid #22303d;
  border-radius: var(--pt-radius-sm);
  padding: 10px 11px;
}

.dlm-pt-oesd-hv2-rev-card.is-correct {
  border-color: rgba(0, 230, 118, 0.4);
}

.dlm-pt-oesd-hv2-rev-card.is-partial {
  border-color: rgba(255, 171, 0, 0.5);
}

.dlm-pt-oesd-hv2-rev-card.is-wrong {
  border-color: rgba(255, 82, 82, 0.4);
}

.dlm-pt-oesd-hv2-rev-head {
  display: flex;
  flex-direction: column;
  gap: 2px;
  font-size: 12px;
  color: var(--pt-text-secondary);
  margin-bottom: 6px;
}

.dlm-pt-oesd-hv2-rev-head strong {
  color: #ffffff;
  font-size: 12.5px;
}

@media (max-width: 920px) {
  .dlm-pt-oesd-lv3-split {
    grid-template-columns: 1fr;
  }
  .dlm-pt-oesd-lv3-sheet {
    padding: 14px 18px 16px 12px;
  }
  .dlm-pt-oesd-lv3-input {
    width: 82px;
    font-size: 13px;
  }
  .dlm-pt-oesd-hv2-table-wrap {
    border: none;
    background: transparent;
    overflow-x: visible;
  }
  .dlm-pt-oesd-hv2-table,
  .dlm-pt-oesd-hv2-table tbody,
  .dlm-pt-oesd-hv2-table tr,
  .dlm-pt-oesd-hv2-table th,
  .dlm-pt-oesd-hv2-table td {
    display: block;
    width: 100%;
    min-width: 0;
  }
  .dlm-pt-oesd-hv2-table thead {
    display: none;
  }
  .dlm-pt-oesd-hv2-table tbody tr {
    border: 1px solid #263442;
    border-radius: var(--pt-radius-md);
    margin-bottom: 12px;
    overflow: hidden;
    background: #0a0e13;
  }
  .dlm-pt-oesd-hv2-cat {
    border-right: none;
    border-bottom: 1px solid rgba(0, 255, 255, 0.28);
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
  }
  .dlm-pt-oesd-hv2-cat-mp {
    margin-top: 0;
  }
  .dlm-pt-oesd-hv2-cell {
    border-right: none;
    border-bottom: 1px solid #1c2732;
  }
  .dlm-pt-oesd-hv2-cell:last-child {
    border-bottom: none;
  }
  .dlm-pt-oesd-hv2-col-mobile {
    display: inline-block;
  }
  .dlm-pt-oesd-hv2-rev-grid {
    grid-template-columns: 1fr;
  }
}

/* ----------------------------------------------------------------------------
 * ÖSD ZERTIFIKAT C1 – AUDIO 2× PLAYBACK CONTROLS & NOTIZBLATT / SOURCE STYLES
 * ---------------------------------------------------------------------------- */
.dlm-pt-audio-console.is-audio-exhausted {
  border-color: rgba(255, 82, 82, 0.55);
  box-shadow: 0 0 18px rgba(255, 82, 82, 0.1);
}

.dlm-pt-audio-lock-badge.is-exhausted {
  background: rgba(255, 82, 82, 0.14);
  border-color: rgba(255, 82, 82, 0.45);
  color: #ff8a80;
}

.dlm-pt-audio-play-btn.is-exhausted,
.dlm-pt-audio-play-btn.is-exhausted:disabled {
  background: rgba(255, 82, 82, 0.14);
  border: 1.5px solid rgba(255, 82, 82, 0.45);
  color: #ff8a80;
  opacity: 0.9;
  cursor: not-allowed;
  transform: none;
  box-shadow: none;
}

.dlm-pt-audio-play-btn.is-exhausted svg {
  fill: none;
  stroke: currentColor;
  stroke-width: 2.1;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.dlm-pt-audio-practice-badge {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  margin-left: 8px;
  padding: 2px 8px;
  border-radius: 999px;
  background: rgba(0, 230, 118, 0.12);
  border: 1px solid rgba(0, 230, 118, 0.4);
  color: var(--pt-success);
  font-family: var(--pt-mono);
  font-size: 10.5px;
  font-weight: 700;
  white-space: nowrap;
}

.dlm-pt-audio-replay-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  height: 34px;
  padding: 0 11px;
  border-radius: var(--pt-radius-sm);
  background: rgba(0, 255, 255, 0.11);
  border: 1px solid var(--pt-neon-border);
  color: var(--pt-neon);
  font-size: 12px;
  font-weight: 700;
  cursor: pointer;
  white-space: nowrap;
  flex-shrink: 0;
  transition: all 0.16s ease;
}

.dlm-pt-audio-replay-btn:hover {
  background: rgba(0, 255, 255, 0.22);
  box-shadow: 0 0 14px rgba(0, 255, 255, 0.25);
}

.dlm-pt-audio-replay-btn svg {
  width: 14px;
  height: 14px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2.2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.dlm-pt-oesd-source-note {
  font-size: 12px;
  font-style: italic;
  color: var(--pt-text-muted);
  margin: -2px 0 11px 0;
  padding-left: 10px;
  border-left: 2px solid rgba(0, 255, 255, 0.28);
}

.dlm-pt-oesd-c1-note-card {
  margin-bottom: 12px;
}

.dlm-pt-oesd-c1-note-li.is-context-only {
  color: var(--pt-text-secondary);
}

@media (max-width: 740px) {
  .dlm-pt-audio-practice-badge {
    margin-left: 0;
    margin-top: 4px;
  }
}

/* ----------------------------------------------------------------------------
 * GOETHE-ZERTIFIKAT C2: GDS SPECIFIC POLISH
 * ---------------------------------------------------------------------------- */
.dlm-pt-gc2-lead-intro {
  background: rgba(0, 255, 255, 0.045);
  border: 1px solid rgba(0, 255, 255, 0.22);
  border-left: 3px solid var(--pt-neon);
  border-radius: var(--pt-radius-sm);
  padding: 12px 14px;
  margin-bottom: 14px;
  font-size: 13.5px;
  line-height: 1.62;
  color: #e6f2f5;
}

.dlm-pt-gc2-lead-intro p:last-child {
  margin-bottom: 0;
}

.dlm-pt-gc2-lv2-ex-stmt {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  padding: 8px 11px;
  border-radius: var(--pt-radius-sm);
  background: rgba(0, 255, 255, 0.09);
  border: 1px solid rgba(0, 255, 255, 0.34);
  color: #ecfeff;
  font-size: 13.5px;
  font-weight: 600;
  line-height: 1.48;
}

.dlm-pt-gc2-lv3-para-card {
  align-items: flex-start;
  line-height: 1.56;
}

.dlm-pt-gc2-lv3-para-card .dlm-pt-heading-text {
  font-size: 13.3px;
  font-weight: 400;
  color: #e2ecf2;
}

.dlm-pt-gc2-lv4-jumpbar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 7px;
  margin-bottom: 12px;
  padding: 8px 10px;
  background: #0d1318;
  border: 1px solid #22303c;
  border-radius: var(--pt-radius-sm);
}

.dlm-pt-gc2-jump-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 5px 11px;
  border-radius: 999px;
  background: rgba(0, 255, 255, 0.08);
  border: 1px solid rgba(0, 255, 255, 0.32);
  color: var(--pt-neon);
  font-family: var(--pt-mono);
  font-size: 11.5px;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.15s ease;
}

.dlm-pt-gc2-jump-btn:hover {
  background: rgba(0, 255, 255, 0.2);
  box-shadow: 0 0 10px rgba(0, 255, 255, 0.22);
}

.dlm-pt-gc2-hv1-intro {
  font-size: 12.5px;
  line-height: 1.5;
  color: var(--pt-text-secondary);
  background: rgba(0, 255, 255, 0.04);
  border-left: 2px solid rgba(0, 255, 255, 0.38);
  padding: 6px 10px;
  border-radius: 0 4px 4px 0;
  margin-bottom: 10px;
}

.dlm-pt-gc2-hv1-index {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin: 14px 0;
  padding: 11px 12px;
  background: #0c1217;
  border: 1px solid #202d38;
  border-radius: var(--pt-radius-sm);
}

.dlm-pt-gc2-hv1-idx-btn {
  display: flex;
  align-items: center;
  gap: 9px;
  width: 100%;
  text-align: left;
  padding: 7px 9px;
  border-radius: 6px;
  background: #121a21;
  border: 1px solid #253441;
  color: #e6edf3;
  font-size: 12.5px;
  cursor: pointer;
  transition: border-color 0.15s ease, background 0.15s ease;
}

.dlm-pt-gc2-hv1-idx-btn:hover {
  border-color: var(--pt-neon);
  background: rgba(0, 255, 255, 0.07);
}

.dlm-pt-gc2-hv1-idx-topic {
  flex: 1;
  min-width: 0;
  font-weight: 600;
  line-height: 1.35;
}

/* ----------------------------------------------------------------------------
 * BLOGGER POST WIDTH BREAKOUT MEDIA QUERIES (FROM bibliothek-pro.css)
 * Expands #dlm-pruefungstraining-root evenly across all device widths
 * ---------------------------------------------------------------------------- */
@media (max-width: 600px) {
  #dlm-pruefungstraining-root,
  .dlm-pt-root {
    padding: 14px;
    margin-left: -15px;
    margin-right: -15px;
    border-radius: var(--pt-radius-md);
  }
  .dlm-pt-title {
    font-size: 1.55rem;
  }
  .dlm-pt-config-panel {
    padding: 14px;
  }
  .dlm-pt-part-grid {
    grid-template-columns: 1fr;
  }
}

@media only screen and (min-width:601px) and (max-width:799px){#dlm-pruefungstraining-root{margin-left:-25px;margin-right:-25px;}}
@media only screen and (min-width:800px) and (max-width:849px){#dlm-pruefungstraining-root{margin-left:-100px;margin-right:-95px;}}
@media only screen and (min-width:850px) and (max-width:899px){#dlm-pruefungstraining-root{margin-left:-130px;margin-right:-120px;}}
@media only screen and (min-width:900px) and (max-width:957px){#dlm-pruefungstraining-root{margin-left:-155px;margin-right:-145px;}}
@media only screen and (min-width:958px) and (max-width:999px){#dlm-pruefungstraining-root{margin-left:-185px;margin-right:-175px;}}
@media only screen and (min-width:1000px) and (max-width:1016px){#dlm-pruefungstraining-root{margin-left:-225px;margin-right:-195px;}}
@media only screen and (min-width:1017px) and (max-width:1023px){#dlm-pruefungstraining-root{margin-left:-200px;margin-right:-230px;}}
@media only screen and (min-width:1024px) and (max-width:1099px){#dlm-pruefungstraining-root{margin-left:-215px;margin-right:-255px;}}
@media only screen and (min-width:1100px) and (max-width:1199px){#dlm-pruefungstraining-root{margin-left:-235px;margin-right:-230px;}}
@media only screen and (min-width:1200px) and (max-width:1241px){#dlm-pruefungstraining-root{margin-left:-235px;margin-right:-230px;}}
@media only screen and (min-width:1242px) and (max-width:1249px){#dlm-pruefungstraining-root{margin-left:-185px;margin-right:-150px;}}
@media only screen and (min-width:1250px) and (max-width:1299px){#dlm-pruefungstraining-root{margin-left:-185px;margin-right:-165px;}}
@media only screen and (min-width:1300px) and (max-width:1316px){#dlm-pruefungstraining-root{margin-left:-200px;margin-right:-165px;}}
@media only screen and (width:1317px){#dlm-pruefungstraining-root{margin-left:-230px;margin-right:-35px;}}
@media only screen and (min-width:1318px) and (max-width:1349px){#dlm-pruefungstraining-root{margin-left:-240px;margin-right:-35px;}}
@media only screen and (min-width:1350px) and (max-width:1500px){#dlm-pruefungstraining-root{margin-left:-245px;margin-right:-30px;}}
@media only screen and (min-width:1501px) and (max-width:1750px){#dlm-pruefungstraining-root{margin-left:-300px;margin-right:-50px;}}
@media only screen and (min-width:1751px) and (max-width:1970px){#dlm-pruefungstraining-root{margin-left:-370px;margin-right:-160px;}}
@media only screen and (min-width:1971px) and (max-width:2299px){#dlm-pruefungstraining-root{margin-left:-460px;margin-right:-320px;}}
@media only screen and (min-width:2300px){#dlm-pruefungstraining-root{margin-left:-630px;margin-right:-460px;}}

/* ----------------------------------------------------------------------------
 * AUDIO RESILIENCE: EMERGENCY PAUSE, CHECKPOINT VEIL & HUB AUDIO BADGE
 * ---------------------------------------------------------------------------- */
.dlm-pt-timer-pause-btn.is-pause-exhausted,
.dlm-pt-timer-pause-btn:disabled {
  opacity: 0.45;
  cursor: not-allowed;
  background: rgba(255, 255, 255, 0.05);
  color: var(--pt-text-muted);
}

.dlm-pt-timer-pause-btn.is-pause-exhausted:hover,
.dlm-pt-timer-pause-btn:disabled:hover {
  background: rgba(255, 255, 255, 0.05);
  color: var(--pt-text-muted);
}

.dlm-pt-audio-console.is-audio-resumable {
  border-color: var(--pt-neon);
  box-shadow: inset 0 0 22px rgba(0, 255, 255, 0.08), 0 0 18px rgba(0, 255, 255, 0.14);
}

.dlm-pt-pause-audio-card {
  background: #0b1116;
  border: 1px solid rgba(0, 255, 255, 0.28);
  border-radius: var(--pt-radius-md);
  padding: 12px 15px;
  margin-bottom: 18px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  text-align: left;
}

.dlm-pt-pause-audio-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  font-size: 13px;
  color: var(--pt-text-secondary);
}

.dlm-pt-pause-audio-val {
  font-family: var(--pt-mono);
  font-size: 13.5px;
  font-weight: 800;
  color: var(--pt-neon);
}

.dlm-pt-pause-note {
  background: rgba(255, 171, 0, 0.1);
  border: 1px solid rgba(255, 171, 0, 0.42);
  border-radius: var(--pt-radius-sm);
  color: #ffd180;
  font-size: 12.5px;
  line-height: 1.48;
  padding: 10px 12px;
  margin-bottom: 14px;
  text-align: left;
}

.dlm-pt-pause-error {
  background: rgba(255, 82, 82, 0.12);
  border: 1px solid rgba(255, 82, 82, 0.45);
  border-radius: var(--pt-radius-sm);
  color: #ff8a80;
  font-size: 12.5px;
  line-height: 1.48;
  padding: 10px 12px;
  margin-bottom: 14px;
  text-align: left;
}

.dlm-pt-pause-secondary-btn {
  width: 100%;
  margin-top: 10px;
}

.dlm-pt-ongoing-audio-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-family: var(--pt-mono);
  font-size: 11.5px;
  font-weight: 700;
  color: var(--pt-neon);
  background: rgba(0, 255, 255, 0.09);
  border: 1px solid rgba(0, 255, 255, 0.34);
  border-radius: 999px;
  padding: 2px 10px;
}

.dlm-pt-ongoing-audio-pill svg {
  width: 13px;
  height: 13px;
  stroke: currentColor;
  fill: none;
  stroke-width: 2.2;
  stroke-linecap: round;
  flex-shrink: 0;
}

@media (max-width: 520px) {
  .dlm-pt-pause-dialog {
    padding: 22px 18px;
  }
  .dlm-pt-pause-audio-row {
    font-size: 12.5px;
  }
  .dlm-pt-pause-audio-val {
    font-size: 12.5px;
  }
}

/* ----------------------------------------------------------------------------
 * TESTDAF (PAPIERBASIERT & DIGITAL) VARIANT TOGGLE & SUBSECTION UI
 * ---------------------------------------------------------------------------- */
.dlm-pt-testdaf-variant-bar {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  margin-bottom: 16px;
}

.dlm-pt-testdaf-variant-btn {
  display: flex;
  flex-direction: column;
  gap: 5px;
  text-align: left;
  padding: 13px 16px;
  border-radius: var(--pt-radius-md);
  background: #0b1116;
  border: 1px solid #22303c;
  color: #e6edf3;
  cursor: pointer;
  transition: border-color 0.16s ease, background 0.16s ease, box-shadow 0.16s ease;
}

.dlm-pt-testdaf-variant-btn:hover {
  border-color: rgba(0, 255, 255, 0.55);
  background: #0e161d;
}

.dlm-pt-testdaf-variant-btn.is-active {
  border-color: var(--pt-neon);
  background: rgba(0, 255, 255, 0.085);
  box-shadow: 0 0 18px rgba(0, 255, 255, 0.15), inset 0 0 14px rgba(0, 255, 255, 0.05);
}

.dlm-pt-testdaf-variant-btn.is-upcoming-variant.is-active {
  border-color: rgba(0, 255, 255, 0.58);
  background: rgba(0, 255, 255, 0.05);
}

.dlm-pt-testdaf-variant-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}

.dlm-pt-testdaf-variant-title {
  font-size: 14.5px;
  font-weight: 700;
  color: #ffffff;
}

.dlm-pt-testdaf-variant-sub {
  font-size: 12.2px;
  line-height: 1.42;
  color: var(--pt-text-secondary);
}

.dlm-pt-tdp-texts-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.dlm-pt-tdp-text-card {
  background: #0b1015;
  border: 1px solid #23313d;
  border-radius: var(--pt-radius-md);
  padding: 13px 15px;
  transition: border-color 0.16s ease, background 0.16s ease, box-shadow 0.16s ease;
}

.dlm-pt-tdp-text-card.is-clickable {
  cursor: pointer;
}

.dlm-pt-tdp-text-card.is-clickable:hover {
  border-color: var(--pt-neon);
  background: rgba(0, 255, 255, 0.045);
}

.dlm-pt-tdp-text-card.is-used {
  border-color: rgba(0, 255, 255, 0.42);
  background: rgba(0, 255, 255, 0.035);
}

.dlm-pt-tdp-text-head {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 8px;
}

.dlm-pt-tdp-text-title {
  flex: 1;
  min-width: 0;
  font-size: 14.5px;
  font-weight: 700;
  color: #ffffff;
  line-height: 1.35;
}

.dlm-pt-tdp-text-body {
  font-size: 14px;
  line-height: 1.62;
  color: #dbe6ee;
}

.dlm-pt-tdp-text-body p {
  margin: 0 0 8px 0;
}

.dlm-pt-tdp-text-body p:last-child {
  margin-bottom: 0;
}

.dlm-pt-tdp-tip-box {
  background: rgba(0, 255, 255, 0.05);
  border: 1px solid rgba(0, 255, 255, 0.25);
  border-left: 3px solid var(--pt-neon);
  border-radius: var(--pt-radius-sm);
  padding: 10px 13px;
  margin: 12px 0;
  font-size: 12.6px;
  line-height: 1.5;
  color: #d6edf0;
}

.dlm-pt-tdp-example-ans {
  margin-top: 6px;
  padding: 6px 10px;
  border-radius: 6px;
  background: rgba(0, 230, 118, 0.09);
  border: 1px solid rgba(0, 230, 118, 0.3);
  color: #b9f6ca;
  font-size: 12.8px;
}

.dlm-pt-tdp-two-badge {
  display: inline-flex;
  align-items: center;
  padding: 2px 8px;
  border-radius: 999px;
  background: rgba(255, 171, 0, 0.13);
  border: 1px solid rgba(255, 171, 0, 0.45);
  color: #ffd180;
  font-family: var(--pt-mono);
  font-size: 10.8px;
  font-weight: 700;
  white-space: nowrap;
}

.dlm-pt-tdp-two-inputs {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-top: 6px;
}

.dlm-pt-tdp-two-row {
  display: flex;
  align-items: center;
  gap: 8px;
}

.dlm-pt-tdp-two-num {
  flex-shrink: 0;
  width: 24px;
  height: 24px;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: rgba(0, 255, 255, 0.11);
  border: 1px solid rgba(0, 255, 255, 0.38);
  color: var(--pt-neon);
  font-family: var(--pt-mono);
  font-size: 11.5px;
  font-weight: 700;
}

.dlm-pt-tdp-two-row .dlm-pt-note-input {
  flex: 1;
  min-width: 0;
}

.dlm-pt-tdp-partial-note {
  margin-top: 6px;
  padding: 6px 9px;
  border-radius: 6px;
  background: rgba(255, 171, 0, 0.1);
  border: 1px solid rgba(255, 171, 0, 0.36);
  color: #ffd180;
  font-size: 12.2px;
}

@media (max-width: 720px) {
  .dlm-pt-testdaf-variant-bar {
    grid-template-columns: 1fr;
  }
}

/* ============================================================================
 * TELC DEUTSCH-TEST FÜR DEN BERUF B2 (DTB B2) – BESPOKE SUBSECTION UI
 * ============================================================================ */
.dlm-pt-dtb-person-chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 2px 9px;
  border-radius: 999px;
  background: rgba(0, 255, 255, 0.1);
  border: 1px solid rgba(0, 255, 255, 0.32);
  color: var(--pt-neon);
  font-size: 12px;
  font-weight: 700;
}

.dlm-pt-dtb-avatar {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 24px;
  height: 24px;
  border-radius: 999px;
  background: rgba(0, 255, 255, 0.14);
  border: 1px solid rgba(0, 255, 255, 0.42);
  color: var(--pt-neon);
  font-family: var(--pt-mono);
  font-size: 11px;
  font-weight: 700;
  flex-shrink: 0;
}

.dlm-pt-dtb-forum-banner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 10px 14px;
  margin-bottom: 12px;
  border-radius: var(--pt-radius-md);
  background: linear-gradient(135deg, rgba(0, 255, 255, 0.08), rgba(0, 255, 255, 0.02));
  border: 1px solid rgba(0, 255, 255, 0.3);
  border-left: 3px solid var(--pt-neon);
}

.dlm-pt-dtb-forum-kicker {
  font-family: var(--pt-mono);
  font-size: 10.5px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--pt-neon);
  margin-bottom: 2px;
}

.dlm-pt-dtb-forum-title {
  font-size: 14.5px;
  font-weight: 700;
  color: #ffffff;
  line-height: 1.35;
}

.dlm-pt-dtb-forum-meta {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
  flex: 1;
  min-width: 0;
}

.dlm-pt-dtb-forum-author {
  font-size: 13.5px;
  font-weight: 700;
  color: #ffffff;
}

.dlm-pt-dtb-forum-time {
  font-family: var(--pt-mono);
  font-size: 11px;
  color: var(--pt-text-secondary);
  padding: 1px 7px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.dlm-pt-dtb-jump-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 12px;
}

.dlm-pt-dtb-jump-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 12px;
  border-radius: 999px;
  background: #0b1015;
  border: 1px solid #23313d;
  color: #e6f6f9;
  font-size: 12.2px;
  font-weight: 600;
  cursor: pointer;
  transition: border-color 0.15s ease, background 0.15s ease, color 0.15s ease;
}

.dlm-pt-dtb-jump-btn:hover {
  border-color: var(--pt-neon);
  background: rgba(0, 255, 255, 0.09);
  color: #ffffff;
}

.dlm-pt-dtb-doc-card {
  background: #0b1015;
  border: 1px solid #23313d;
  border-radius: var(--pt-radius-md);
  padding: 15px 17px;
  margin-bottom: 14px;
}

.dlm-pt-dtb-doc-card:last-child {
  margin-bottom: 0;
}

.dlm-pt-dtb-doc-head {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  margin-bottom: 8px;
}

.dlm-pt-dtb-doc-badge {
  font-family: var(--pt-mono);
  font-size: 11px;
  font-weight: 700;
  padding: 2px 8px;
  border-radius: 4px;
  background: rgba(0, 255, 255, 0.12);
  border: 1px solid rgba(0, 255, 255, 0.38);
  color: var(--pt-neon);
}

.dlm-pt-dtb-doc-header-tag {
  font-size: 11.5px;
  color: var(--pt-text-secondary);
  padding: 2px 8px;
  border-radius: 4px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.dlm-pt-dtb-doc-title {
  margin: 0 0 10px 0;
  font-size: 15.5px;
  font-weight: 700;
  color: #ffffff;
  line-height: 1.35;
}

.dlm-pt-dtb-group-card {
  margin-bottom: 14px;
  padding: 12px 13px;
  border-radius: var(--pt-radius-md);
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(0, 255, 255, 0.18);
}

.dlm-pt-dtb-group-card:last-child {
  margin-bottom: 0;
}

.dlm-pt-dtb-group-banner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  padding-bottom: 9px;
  margin-bottom: 10px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.dlm-pt-dtb-group-title {
  font-size: 13.5px;
  font-weight: 700;
  color: var(--pt-neon);
  letter-spacing: 0.01em;
}

.dlm-pt-dtb-protocol-meta {
  padding: 7px 11px;
  margin: 0 0 7px 0;
  border-radius: 6px;
  background: rgba(0, 255, 255, 0.04);
  border: 1px solid rgba(0, 255, 255, 0.16);
  font-size: 13.3px;
  color: #dff7fa;
  line-height: 1.5;
}

.dlm-pt-dtb-protocol-top {
  margin: 14px 0 7px 0;
  padding: 6px 10px;
  border-left: 3px solid var(--pt-neon);
  background: rgba(0, 255, 255, 0.07);
  border-radius: 0 6px 6px 0;
  font-size: 14px;
  font-weight: 700;
  color: #ffffff;
  line-height: 1.4;
}

.dlm-pt-dtb-slide-deck {
  margin: 12px 0;
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(185px, 1fr));
  gap: 8px;
}

.dlm-pt-dtb-slide-card {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 5px;
  padding: 10px 12px;
  border-radius: var(--pt-radius-sm);
  background: #0a1117;
  border: 1px solid #243542;
  color: #eef8fa;
  text-align: left;
  cursor: pointer;
  transition: border-color 0.15s ease, background 0.15s ease, transform 0.12s ease;
}

.dlm-pt-dtb-slide-card:hover {
  border-color: var(--pt-neon);
  background: rgba(0, 255, 255, 0.07);
  transform: translateY(-1px);
}

.dlm-pt-dtb-slide-card.is-example {
  border-color: rgba(0, 230, 118, 0.38);
  background: rgba(0, 230, 118, 0.05);
}

.dlm-pt-dtb-slide-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 6px;
  width: 100%;
}

.dlm-pt-dtb-slide-num {
  font-family: var(--pt-mono);
  font-size: 10.8px;
  font-weight: 700;
  color: var(--pt-neon);
}

.dlm-pt-dtb-slide-qtag {
  font-family: var(--pt-mono);
  font-size: 10.5px;
  padding: 1px 6px;
  border-radius: 4px;
  background: rgba(255, 255, 255, 0.06);
  color: var(--pt-text-secondary);
}

.dlm-pt-dtb-slide-title {
  font-size: 12.8px;
  font-weight: 600;
  color: #ffffff;
  line-height: 1.35;
}

.dlm-pt-dtb-slide-ribbon {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 3px 9px;
  margin-bottom: 8px;
  border-radius: 5px;
  background: rgba(0, 255, 255, 0.09);
  border: 1px solid rgba(0, 255, 255, 0.28);
  color: #c8f9fc;
  font-size: 12px;
  font-weight: 600;
}

.dlm-pt-dtb-msg-pill {
  display: inline-flex;
  align-items: center;
  padding: 2px 8px;
  border-radius: 999px;
  background: rgba(0, 255, 255, 0.1);
  border: 1px solid rgba(0, 255, 255, 0.3);
  color: var(--pt-neon);
  font-family: var(--pt-mono);
  font-size: 11px;
  font-weight: 700;
}

.dlm-pt-dtb-hv1-index {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin: 12px 0;
}

.dlm-pt-dtb-hv1-index-btn {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 8px 12px;
  border-radius: var(--pt-radius-sm);
  background: #0b1015;
  border: 1px solid #22303c;
  color: #e4f3f6;
  font-size: 12.6px;
  font-weight: 600;
  cursor: pointer;
  text-align: left;
  transition: border-color 0.15s ease, background 0.15s ease;
}

.dlm-pt-dtb-hv1-index-btn:hover {
  border-color: var(--pt-neon);
  background: rgba(0, 255, 255, 0.06);
}

@media (max-width: 720px) {
  .dlm-pt-dtb-slide-deck {
    grid-template-columns: 1fr;
  }
}

/* ============================================================================
 * GOETHE-ZERTIFIKAT A2 — BESPOKE SUBSECTION UI & ILLUSTRATION GALLERY
 * ============================================================================ */
.dlm-pt-ga2-example {
  margin-bottom: 12px;
  padding: 11px 13px;
  border-radius: var(--pt-radius-md);
  background: rgba(255, 193, 7, 0.06);
  border: 1px solid rgba(255, 193, 7, 0.34);
}

.dlm-pt-ga2-example .dlm-pt-example-head {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 6px;
}

.dlm-pt-ga2-example-sol {
  margin-left: auto;
  padding: 2px 8px;
  border-radius: 999px;
  background: rgba(0, 230, 118, 0.13);
  border: 1px solid rgba(0, 230, 118, 0.38);
  color: #8bf5bd;
  font-size: 11.8px;
  font-weight: 700;
}

.dlm-pt-ga2-board {
  border-radius: var(--pt-radius-md);
  background: #070d12;
  border: 1px solid rgba(0, 255, 255, 0.28);
  overflow: hidden;
}

.dlm-pt-ga2-board-head {
  padding: 12px 15px;
  background: linear-gradient(135deg, rgba(0, 255, 255, 0.12), rgba(0, 130, 170, 0.08));
  border-bottom: 1px solid rgba(0, 255, 255, 0.24);
}

.dlm-pt-ga2-board-kicker {
  display: inline-block;
  font-family: var(--pt-mono);
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--pt-neon);
  margin-bottom: 4px;
}

.dlm-pt-ga2-board-title {
  margin: 0;
  font-size: 16px;
  font-weight: 700;
  color: #ffffff;
  line-height: 1.35;
}

.dlm-pt-ga2-board-rows {
  display: flex;
  flex-direction: column;
}

.dlm-pt-ga2-board-row {
  display: grid;
  grid-template-columns: minmax(96px, 132px) 1fr;
  gap: 12px;
  padding: 11px 14px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  align-items: start;
}

.dlm-pt-ga2-board-row:nth-child(even) {
  background: rgba(255, 255, 255, 0.025);
}

.dlm-pt-ga2-board-row:last-child {
  border-bottom: none;
}

.dlm-pt-ga2-board-label {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 5px 9px;
  border-radius: 6px;
  background: rgba(0, 255, 255, 0.1);
  border: 1px solid rgba(0, 255, 255, 0.34);
  color: var(--pt-neon);
  font-family: var(--pt-mono);
  font-size: 12.2px;
  font-weight: 700;
  text-align: center;
  line-height: 1.25;
}

.dlm-pt-ga2-board-content {
  font-size: 14px;
  line-height: 1.55;
  color: #eaf6f8;
}

.dlm-pt-ga2-email-card {
  border-radius: var(--pt-radius-md);
  background: #080d12;
  border: 1px solid #22323f;
  overflow: hidden;
}

.dlm-pt-ga2-email-bar {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 14px;
  background: rgba(0, 255, 255, 0.06);
  border-bottom: 1px solid rgba(0, 255, 255, 0.18);
}

.dlm-pt-ga2-email-tag {
  padding: 2px 8px;
  border-radius: 999px;
  background: rgba(0, 255, 255, 0.14);
  border: 1px solid rgba(0, 255, 255, 0.36);
  color: var(--pt-neon);
  font-family: var(--pt-mono);
  font-size: 10.8px;
  font-weight: 700;
  text-transform: uppercase;
  flex-shrink: 0;
}

.dlm-pt-ga2-email-subject {
  font-size: 14px;
  font-weight: 700;
  color: #ffffff;
  line-height: 1.35;
}

.dlm-pt-ga2-email-body {
  border: none !important;
  border-radius: 0 !important;
  background: transparent !important;
}

.dlm-pt-ga2-ad-url {
  display: inline-block;
  margin: 0 0 8px 0;
  padding: 2px 9px;
  border-radius: 4px;
  background: rgba(0, 255, 255, 0.06);
  border: 1px solid rgba(0, 255, 255, 0.2);
  color: #8beeff;
  font-family: var(--pt-mono);
  font-size: 11.5px;
  word-break: break-all;
}

.dlm-pt-ga2-ad-card.is-example-locked,
.dlm-pt-ga2-pic-card.is-example-locked {
  opacity: 0.72;
  border-color: rgba(255, 193, 7, 0.42);
  background: rgba(255, 193, 7, 0.04);
  cursor: default;
}

.dlm-pt-ga2-context-q {
  margin: 10px 0;
  padding: 10px 13px;
  border-radius: var(--pt-radius-sm);
  background: rgba(0, 255, 255, 0.08);
  border-left: 3px solid var(--pt-neon);
  color: #eefcff;
  font-size: 14px;
  line-height: 1.45;
}

.dlm-pt-ga2-hv2-ex-row,
.dlm-pt-ga2-hv2-qrow {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin: 4px 0 8px 0;
}

.dlm-pt-ga2-hv2-label {
  font-size: 15px;
  font-weight: 700;
  color: #ffffff;
  line-height: 1.35;
}

.dlm-pt-ga2-mini-slot {
  display: inline-flex;
  align-items: center;
}

.dlm-pt-ga2-mini-thumb {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 58px;
  height: 44px;
  padding: 3px;
  border-radius: 6px;
  background: #ffffff;
  border: 1.5px solid var(--pt-neon);
  box-shadow: 0 2px 8px rgba(0, 255, 255, 0.16);
  overflow: hidden;
  flex-shrink: 0;
}

.dlm-pt-ga2-mini-thumb.is-example {
  border-color: rgba(255, 193, 7, 0.75);
  box-shadow: none;
}

.dlm-pt-ga2-mini-thumb img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
}

.dlm-pt-ga2-mini-badge {
  position: absolute;
  top: 2px;
  left: 2px;
  min-width: 16px;
  height: 16px;
  padding: 0 4px;
  border-radius: 4px;
  background: #061017;
  color: var(--pt-neon);
  font-family: var(--pt-mono);
  font-size: 10px;
  font-weight: 800;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  line-height: 1;
}

.dlm-pt-ga2-pic-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
}

.dlm-pt-ga2-pic-card {
  display: flex;
  flex-direction: column;
  gap: 7px;
  padding: 8px;
  border-radius: var(--pt-radius-md);
  background: #0a1016;
  border: 1.5px solid #243645;
  transition: border-color 0.16s ease, box-shadow 0.16s ease, transform 0.14s ease;
}

.dlm-pt-ga2-pic-card.is-clickable {
  cursor: pointer;
}

.dlm-pt-ga2-pic-card.is-clickable:hover {
  border-color: var(--pt-neon);
  box-shadow: 0 0 0 1px rgba(0, 255, 255, 0.35), 0 6px 16px rgba(0, 255, 255, 0.12);
  transform: translateY(-1px);
}

.dlm-pt-ga2-pic-card.is-used {
  border-color: rgba(0, 255, 255, 0.55);
  background: rgba(0, 255, 255, 0.06);
}

.dlm-pt-ga2-pic-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 6px;
}

.dlm-pt-ga2-pic-stage {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  aspect-ratio: 4 / 3;
  padding: 6px;
  border-radius: 8px;
  background: #ffffff;
  border: 1px solid rgba(15, 23, 32, 0.14);
  overflow: hidden;
}

.dlm-pt-ga2-pic-stage.is-mcq {
  aspect-ratio: 4 / 3;
  padding: 7px;
}

.dlm-pt-ga2-pic-stage.is-sheet {
  aspect-ratio: 4 / 3;
  padding: 4px;
}

.dlm-pt-ga2-pic-stage img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
}

.dlm-pt-ga2-pic-missing {
  font-family: var(--pt-mono);
  font-size: 12px;
  color: #4b5563;
}

.dlm-pt-ga2-zoom-btn {
  position: absolute;
  right: 5px;
  bottom: 5px;
  width: 26px;
  height: 26px;
  padding: 0;
  border-radius: 6px;
  border: 1px solid rgba(0, 255, 255, 0.45);
  background: rgba(5, 11, 16, 0.84);
  color: var(--pt-neon);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 2;
  transition: background 0.15s ease, transform 0.12s ease;
}

.dlm-pt-ga2-zoom-btn:hover {
  background: #00ffff;
  color: #041016;
  transform: scale(1.06);
}

.dlm-pt-ga2-zoom-btn svg {
  width: 13px;
  height: 13px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2.2;
}

.dlm-pt-ga2-zoom-btn.is-mcq {
  right: 9px;
  bottom: 9px;
}

.dlm-pt-ga2-zoom-btn.is-sheet {
  width: 22px;
  height: 22px;
  right: 6px;
  bottom: 6px;
}

.dlm-pt-ga2-img-mcq-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  margin-top: 8px;
}

.dlm-pt-ga2-sheet-pic-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 7px;
  margin-top: 6px;
}

.dlm-pt-ga2-img-opt-wrap {
  position: relative;
  display: flex;
}

.dlm-pt-ga2-img-opt-btn {
  position: relative;
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding: 7px;
  border-radius: var(--pt-radius-md);
  background: #0a1016;
  border: 2px solid #243645;
  color: #eefcff;
  cursor: pointer;
  text-align: left;
  transition: border-color 0.15s ease, box-shadow 0.15s ease, background 0.15s ease, transform 0.12s ease;
}

.dlm-pt-ga2-img-opt-btn.is-sheet {
  padding: 5px;
  gap: 4px;
}

.dlm-pt-ga2-img-opt-btn:hover:not(:disabled) {
  border-color: var(--pt-neon);
  background: rgba(0, 255, 255, 0.06);
  transform: translateY(-1px);
}

.dlm-pt-ga2-img-opt-btn.is-selected {
  border-color: var(--pt-neon);
  background: rgba(0, 255, 255, 0.12);
  box-shadow: 0 0 0 1px rgba(0, 255, 255, 0.45), 0 0 14px rgba(0, 255, 255, 0.22);
}

.dlm-pt-ga2-img-opt-btn.is-correct-choice {
  border-color: #00e676 !important;
  background: rgba(0, 230, 118, 0.14) !important;
  box-shadow: 0 0 0 1px rgba(0, 230, 118, 0.5) !important;
}

.dlm-pt-ga2-img-opt-btn.is-wrong-choice {
  border-color: #ff5252 !important;
  background: rgba(255, 82, 82, 0.14) !important;
  box-shadow: 0 0 0 1px rgba(255, 82, 82, 0.5) !important;
}

.dlm-pt-ga2-img-opt-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 24px;
  height: 24px;
  border-radius: 6px;
  background: rgba(0, 255, 255, 0.12);
  border: 1px solid rgba(0, 255, 255, 0.38);
  color: var(--pt-neon);
  font-family: var(--pt-mono);
  font-size: 12.5px;
  font-weight: 800;
  line-height: 1;
}

.dlm-pt-ga2-img-opt-btn.is-selected .dlm-pt-ga2-img-opt-badge {
  background: var(--pt-neon);
  color: #041016;
}

.dlm-pt-ga2-img-opt-btn.is-correct-choice .dlm-pt-ga2-img-opt-badge {
  background: #00e676;
  border-color: #00e676;
  color: #04180d;
}

.dlm-pt-ga2-img-opt-btn.is-wrong-choice .dlm-pt-ga2-img-opt-badge {
  background: #ff5252;
  border-color: #ff5252;
  color: #ffffff;
}

.dlm-pt-ga2-lightbox {
  position: fixed;
  inset: 0;
  z-index: 99999;
  background: rgba(2, 6, 10, 0.86);
  backdrop-filter: blur(4px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 18px;
}

.dlm-pt-ga2-lightbox-dialog {
  width: min(92vw, 720px);
  max-height: 90vh;
  display: flex;
  flex-direction: column;
  border-radius: 12px;
  background: #070d12;
  border: 1.5px solid rgba(0, 255, 255, 0.45);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.7);
  overflow: hidden;
}

.dlm-pt-ga2-lightbox-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 10px 14px;
  border-bottom: 1px solid rgba(0, 255, 255, 0.22);
}

.dlm-pt-ga2-lightbox-title {
  font-size: 14px;
  font-weight: 700;
  color: var(--pt-neon);
  font-family: var(--pt-mono);
}

.dlm-pt-ga2-lightbox-close {
  width: 30px;
  height: 30px;
  border-radius: 6px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  background: rgba(255, 255, 255, 0.06);
  color: #ffffff;
  font-size: 20px;
  line-height: 1;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.dlm-pt-ga2-lightbox-close:hover {
  border-color: var(--pt-neon);
  color: var(--pt-neon);
}

.dlm-pt-ga2-lightbox-stage {
  padding: 14px;
  background: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: auto;
  max-height: calc(90vh - 54px);
}

.dlm-pt-ga2-lightbox-stage img {
  max-width: 100%;
  max-height: calc(90vh - 86px);
  object-fit: contain;
  display: block;
}

@media (max-width: 820px) {
  .dlm-pt-ga2-pic-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .dlm-pt-ga2-board-row {
    grid-template-columns: 1fr;
    gap: 6px;
  }
  .dlm-pt-ga2-board-label {
    justify-self: start;
  }
}

@media (max-width: 560px) {
  .dlm-pt-ga2-img-mcq-grid {
    grid-template-columns: 1fr;
  }
  .dlm-pt-ga2-img-mcq-grid.is-sheet {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 6px;
  }
  .dlm-pt-ga2-sheet-pic-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}

/* ==========================================================================
   TELC DEUTSCH A2 (START DEUTSCH 2) – BESPOKE SUBSECTION UI
   ========================================================================== */
.dlm-pt-ta2-dir-sub {
  margin-top: 4px;
  font-size: 12.8px;
  color: #a9d6df;
  line-height: 1.4;
}

.dlm-pt-ta2-chip-list {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.dlm-pt-ta2-chip {
  display: inline-flex;
  align-items: center;
  padding: 4px 9px;
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.045);
  border: 1px solid rgba(255, 255, 255, 0.11);
  color: #eef9fb;
  font-size: 13px;
  line-height: 1.3;
}

.dlm-pt-ta2-web-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  padding: 12px;
}

.dlm-pt-ta2-web-cat {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 11px 12px;
  border-radius: var(--pt-radius-sm);
  background: rgba(255, 255, 255, 0.025);
  border: 1px solid rgba(0, 255, 255, 0.18);
}

.dlm-pt-ta2-web-cat-head {
  font-size: 13.5px;
  font-weight: 700;
  color: var(--pt-neon);
  padding-bottom: 6px;
  border-bottom: 1px solid rgba(0, 255, 255, 0.16);
}

.dlm-pt-ta2-toc-list {
  display: flex;
  flex-direction: column;
}

.dlm-pt-ta2-toc-group {
  padding: 12px 14px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.dlm-pt-ta2-toc-group:last-child {
  border-bottom: none;
}

.dlm-pt-ta2-toc-cat {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  font-size: 13.5px;
  font-weight: 800;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  color: var(--pt-neon);
  margin-bottom: 8px;
}

.dlm-pt-ta2-sec-meta {
  font-family: var(--pt-mono);
  font-size: 11.5px;
  font-weight: 600;
  color: #a9d6df;
  text-transform: none;
}

.dlm-pt-ta2-toc-entries {
  display: flex;
  flex-direction: column;
  gap: 7px;
}

.dlm-pt-ta2-toc-entry {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 10px;
  font-size: 13.8px;
  line-height: 1.45;
  color: #eaf6f8;
  padding-bottom: 6px;
  border-bottom: 1px dashed rgba(255, 255, 255, 0.08);
}

.dlm-pt-ta2-toc-entry:last-child {
  padding-bottom: 0;
  border-bottom: none;
}

.dlm-pt-ta2-toc-label {
  flex: 1 1 auto;
}

.dlm-pt-ta2-toc-detail {
  color: #9bb8c2;
  font-size: 12.8px;
}

.dlm-pt-ta2-ref-pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 2px 8px;
  border-radius: 5px;
  background: rgba(0, 255, 255, 0.12);
  border: 1px solid rgba(0, 255, 255, 0.34);
  color: var(--pt-neon);
  font-family: var(--pt-mono);
  font-size: 11.8px;
  font-weight: 700;
  white-space: nowrap;
  flex-shrink: 0;
}

.dlm-pt-ta2-ref-inline {
  font-family: var(--pt-mono);
  font-size: 12px;
  color: #8beeff;
}

.dlm-pt-ta2-tour-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 12px;
}

.dlm-pt-ta2-tour-card {
  padding: 12px 14px;
  border-radius: var(--pt-radius-sm);
  background: rgba(255, 255, 255, 0.025);
  border: 1px solid rgba(0, 255, 255, 0.2);
}

.dlm-pt-ta2-tour-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 6px;
}

.dlm-pt-ta2-tour-title {
  font-size: 14.5px;
  font-weight: 700;
  color: #ffffff;
  line-height: 1.35;
}

.dlm-pt-ta2-tour-desc {
  margin: 0;
  font-size: 13.6px;
  line-height: 1.5;
  color: #dff2f5;
}

.dlm-pt-ta2-prog-ul {
  margin: 0;
  padding-left: 18px;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.dlm-pt-ta2-prog-ul li {
  font-size: 13.8px;
  line-height: 1.45;
  color: #eaf6f8;
}

/* HV1 Telefonnotiz / Memo-Pad Cards */
.dlm-pt-ta2-memo-card {
  border-radius: var(--pt-radius-md);
  background: linear-gradient(180deg, #0b141c 0%, #081017 100%);
  border: 1.5px solid rgba(0, 255, 255, 0.26);
  padding: 0;
  overflow: hidden;
  margin-bottom: 12px;
}

.dlm-pt-ta2-memo-card.is-example {
  border-color: rgba(255, 193, 7, 0.45);
  background: linear-gradient(180deg, rgba(255, 193, 7, 0.08) 0%, #0a1016 100%);
}

.dlm-pt-ta2-memo-card.is-correct {
  border-color: #00e676;
}

.dlm-pt-ta2-memo-card.is-wrong {
  border-color: #ff5252;
}

.dlm-pt-ta2-memo-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 8px;
  padding: 10px 14px;
  background: rgba(0, 255, 255, 0.07);
  border-bottom: 1px dashed rgba(0, 255, 255, 0.24);
}

.dlm-pt-ta2-memo-card.is-example .dlm-pt-ta2-memo-head {
  background: rgba(255, 193, 7, 0.1);
  border-bottom-color: rgba(255, 193, 7, 0.3);
}

.dlm-pt-ta2-memo-head-left {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
}

.dlm-pt-ta2-memo-title {
  font-size: 14.5px;
  font-weight: 700;
  color: #ffffff;
  letter-spacing: 0.01em;
}

.dlm-pt-ta2-memo-body {
  padding: 12px 14px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.dlm-pt-ta2-memo-body.is-sheet {
  padding: 4px 0 0 0;
}

.dlm-pt-ta2-memo-text {
  font-size: 14px;
  line-height: 1.45;
  color: #d6ecf0;
  padding-left: 10px;
  border-left: 2px solid rgba(0, 255, 255, 0.35);
}

.dlm-pt-ta2-memo-gap-row {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
  padding: 8px 10px;
  border-radius: 8px;
  background: rgba(0, 0, 0, 0.32);
  border: 1px solid rgba(255, 255, 255, 0.09);
}

.dlm-pt-ta2-memo-lbl {
  font-size: 14px;
  font-weight: 600;
  color: #e4f7fa;
  white-space: normal;
}

.dlm-pt-ta2-memo-prefill {
  display: inline-flex;
  align-items: center;
  padding: 4px 10px;
  border-radius: 6px;
  background: rgba(255, 193, 7, 0.16);
  border: 1px solid rgba(255, 193, 7, 0.55);
  color: #ffd54f;
  font-family: var(--pt-mono);
  font-size: 13.5px;
  font-weight: 700;
}

.dlm-pt-ta2-memo-input {
  flex: 1 1 170px;
  min-width: 140px;
  max-width: 100%;
  margin: 0 !important;
}

.dlm-pt-ta2-memo-input.is-compact {
  flex: 1 1 100px;
  min-width: 88px;
  max-width: 165px;
}

.dlm-pt-ta2-memo-input.is-correct {
  border-color: #00e676 !important;
  background: rgba(0, 230, 118, 0.08) !important;
}

.dlm-pt-ta2-memo-input.is-wrong {
  border-color: #ff5252 !important;
  background: rgba(255, 82, 82, 0.08) !important;
}

.dlm-pt-ta2-memo-card .dlm-pt-explanation {
  margin: 0 14px 12px 14px;
}

/* HV3 Zuordnung a–i Option Cards */
.dlm-pt-ta2-match-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.dlm-pt-ta2-match-card {
  display: flex;
  align-items: center;
  gap: 11px;
  padding: 11px 13px;
  border-radius: var(--pt-radius-md);
  background: #0a1016;
  border: 1.5px solid #243645;
  transition: border-color 0.15s ease, box-shadow 0.15s ease, background 0.15s ease, transform 0.12s ease;
}

.dlm-pt-ta2-match-card.is-clickable {
  cursor: pointer;
}

.dlm-pt-ta2-match-card.is-clickable:hover {
  border-color: var(--pt-neon);
  background: rgba(0, 255, 255, 0.06);
  box-shadow: 0 0 0 1px rgba(0, 255, 255, 0.3), 0 4px 14px rgba(0, 255, 255, 0.1);
  transform: translateY(-1px);
}

.dlm-pt-ta2-match-card.is-used {
  border-color: rgba(0, 255, 255, 0.55);
  background: rgba(0, 255, 255, 0.07);
}

.dlm-pt-ta2-match-card.is-example-locked {
  opacity: 0.72;
  border-color: rgba(255, 193, 7, 0.42);
  background: rgba(255, 193, 7, 0.04);
  cursor: default;
}

.dlm-pt-ta2-match-text {
  flex: 1 1 auto;
  font-size: 14.2px;
  line-height: 1.4;
  color: #eef9fb;
  font-weight: 500;
}

@media (max-width: 720px) {
  .dlm-pt-ta2-web-grid {
    grid-template-columns: 1fr;
  }
  .dlm-pt-ta2-memo-input.is-compact {
    min-width: 74px;
    max-width: 140px;
  }
}

/* ==========================================================================
   TELC DEUTSCH-TEST FÜR ZUWANDERER (DTZ) A2–B1 – BESPOKE SUBSECTION UI
   ========================================================================== */
.dlm-pt-dtz-cefr-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 5px 13px;
  border-radius: 999px;
  font-family: var(--pt-mono);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.04em;
  border: 1px solid rgba(0, 255, 255, 0.35);
  background: rgba(0, 255, 255, 0.1);
  color: var(--pt-neon);
}

.dlm-pt-dtz-cefr-pill.is-b1 {
  background: rgba(0, 230, 118, 0.14);
  border-color: rgba(0, 230, 118, 0.55);
  color: var(--pt-success);
}

.dlm-pt-dtz-cefr-pill.is-a2 {
  background: rgba(0, 255, 255, 0.12);
  border-color: rgba(0, 255, 255, 0.5);
  color: var(--pt-neon);
}

.dlm-pt-dtz-cefr-pill.is-below {
  background: rgba(255, 171, 0, 0.14);
  border-color: rgba(255, 171, 0, 0.55);
  color: #ffd54f;
}

/* Paired Beispiel (0) box for Lesen Teil 3 & Hören Teil 3 */
.dlm-pt-dtz-paired-ex {
  display: flex;
  flex-direction: column;
  gap: 9px;
}

.dlm-pt-dtz-paired-ex-row {
  padding: 8px 10px;
  border-radius: var(--pt-radius-sm);
  background: rgba(0, 0, 0, 0.28);
  border: 1px solid rgba(255, 193, 7, 0.22);
  display: flex;
  flex-direction: column;
  gap: 5px;
}

.dlm-pt-dtz-paired-ex-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 6px 10px;
}

/* Lesen Teil 1 – Directory Boards (Authority/Store/TOC/Event/Web) */
.dlm-pt-dtz-dir .dlm-pt-ga2-board-head {
  padding-bottom: 11px;
}

.dlm-pt-dtz-web-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

.dlm-pt-dtz-web-cat-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 6px;
}

.dlm-pt-dtz-floor-row {
  align-items: flex-start;
}

.dlm-pt-dtz-board-label {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 3px;
}

.dlm-pt-dtz-board-meta {
  display: inline-block;
  font-family: var(--pt-mono);
  font-size: 11px;
  font-weight: 700;
  color: #8beeff;
  opacity: 0.92;
  letter-spacing: 0.02em;
}

.dlm-pt-dtz-dir-entries {
  display: flex;
  flex-direction: column;
  gap: 7px;
  width: 100%;
}

.dlm-pt-dtz-dir-entry {
  padding: 7px 10px;
  border-radius: 7px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.08);
  display: flex;
  flex-direction: column;
  gap: 3px;
}

.dlm-pt-dtz-dir-entry-top {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 6px 10px;
}

.dlm-pt-dtz-dir-entry-lbl {
  font-size: 13.6px;
  font-weight: 700;
  color: #f0fafc;
  line-height: 1.35;
}

.dlm-pt-dtz-dir-entry-detail {
  font-size: 13px;
  line-height: 1.45;
  color: #cde3ea;
}

/* Lesen Teil 3 – Document Header Metadata Strip (E-Mail / Aushang / SMS) */
.dlm-pt-dtz-doc-header-meta {
  margin: 0 0 8px 0;
  padding: 7px 10px;
  border-radius: 6px;
  background: rgba(0, 255, 255, 0.06);
  border-left: 2px solid rgba(0, 255, 255, 0.5);
  font-family: var(--pt-mono);
  font-size: 12px;
  line-height: 1.45;
  color: #bceff7;
  white-space: pre-wrap;
}

/* Lesen Teil 4 – Structured Info Sheet / Rules Blocks */
.dlm-pt-dtz-info-block {
  margin: 0 0 12px 0;
  padding: 10px 12px;
  border-radius: var(--pt-radius-sm);
  background: rgba(255, 255, 255, 0.025);
  border: 1px solid rgba(0, 255, 255, 0.14);
}

.dlm-pt-dtz-info-block p {
  margin: 0;
}

.dlm-pt-dtz-info-subhead {
  font-size: 13.5px;
  font-weight: 800;
  color: var(--pt-neon);
  letter-spacing: 0.02em;
  margin: 0 0 6px 0;
  padding-bottom: 4px;
  border-bottom: 1px dashed rgba(0, 255, 255, 0.22);
}

/* Lesen Teil 5 – Formal Letter Briefkopf (letter_meta) */
.dlm-pt-dtz-letter-head {
  margin-bottom: 14px;
  padding: 12px 14px;
  border-radius: var(--pt-radius-md);
  background: linear-gradient(180deg, rgba(0, 255, 255, 0.07) 0%, rgba(8, 16, 23, 0.92) 100%);
  border: 1px solid rgba(0, 255, 255, 0.28);
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.dlm-pt-dtz-letter-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(175px, 1fr));
  gap: 6px 14px;
}

.dlm-pt-dtz-letter-row {
  display: flex;
  flex-direction: column;
  gap: 2px;
  min-width: 0;
}

.dlm-pt-dtz-letter-lbl {
  font-family: var(--pt-mono);
  font-size: 10.5px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: #79d8e8;
}

.dlm-pt-dtz-letter-val {
  font-size: 13px;
  line-height: 1.38;
  color: #eef9fb;
  word-break: break-word;
}

.dlm-pt-dtz-letter-subject {
  padding-top: 8px;
  border-top: 1px dashed rgba(0, 255, 255, 0.24);
  font-size: 13.5px;
  line-height: 1.4;
  color: #ffffff;
}

.dlm-pt-dtz-letter-subject strong {
  color: var(--pt-neon);
}

@media (max-width: 720px) {
  .dlm-pt-dtz-web-grid {
    grid-template-columns: 1fr;
  }
  .dlm-pt-dtz-letter-grid {
    grid-template-columns: 1fr;
  }
  .dlm-pt-dtz-dir-entry {
    padding: 6px 8px;
  }
  .dlm-pt-dtz-cefr-pill {
    font-size: 11.2px;
    padding: 4px 10px;
  }
}
