/* ═══════════════════════════════════════════════
   PROFESSOR — Nova Identidade Visual
   Design System CSS
   ═══════════════════════════════════════════════ */

/* ── Tokens ──────────────────────────────────── */
:root {
  --prof-cyan: #06b6d4;
  --prof-cyan-dark: #0891b2;
  --prof-cyan-light: #cffafe;
  --prof-cyan-shadow: rgba(6,182,212,.18);
  --prof-purple: #6c47ff;
  --prof-purple-dark: #7c3aed;
  --prof-amber: #f59e0b;
  --prof-green: #10b981;
  --prof-pink: #ec4899;
  --prof-text: #1e1b4b;
  --prof-muted: #64748b;
  --prof-border: rgba(108,71,255,.12);
  --prof-shadow: rgba(6,182,212,.10);
}

/* ── Blobs (decorative background) ───────────── */
.prof-blob {
  position: fixed;
  pointer-events: none;
  z-index: 0;
  filter: blur(80px);
  opacity: .35;
  border-radius: 50%;
}
.prof-blob.b1 {
  top: -120px;
  left: -120px;
  width: 380px;
  height: 380px;
  background: radial-gradient(circle, #a5f3fc, transparent 70%);
}
.prof-blob.b2 {
  top: 40%;
  right: -180px;
  width: 420px;
  height: 420px;
  background: radial-gradient(circle, #c4b5fd, transparent 70%);
}

/* ── Hero Banner ─────────────────────────────── */
.prof-hero {
  background: linear-gradient(135deg, #06b6d4, #0891b2 70%, #6c47ff 140%);
  border-radius: 28px;
  padding: 32px 36px;
  color: white;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
  margin-bottom: 24px;
  position: relative;
  overflow: hidden;
  box-shadow: 0 24px 60px rgba(6,182,212,.25);
}
.prof-hero::before {
  content: '';
  position: absolute;
  top: -80px;
  left: 30%;
  width: 260px;
  height: 260px;
  border-radius: 50%;
  background: rgba(255,255,255,.12);
  filter: blur(16px);
}
.prof-hero--purple {
  background: linear-gradient(135deg, #6c47ff, #7c3aed 60%, #06b6d4 150%);
  box-shadow: 0 24px 60px rgba(108,71,255,.25);
}
.prof-hero--light {
  background: #fdfbf7;
  border-top: 5px solid #0d9488;
  border-radius: 24px;
  color: var(--prof-text);
  box-shadow: 0 10px 30px rgba(0,0,0,.03);
  border-left: 1px solid rgba(108,71,255,.06);
  border-right: 1px solid rgba(108,71,255,.06);
  border-bottom: 1px solid rgba(108,71,255,.06);
  padding: 24px 30px;
}
.prof-hero--light::before {
  display: none !important;
}
.prof-hero--light .prof-hero__eyebrow {
  color: #0d9488;
  font-weight: 800;
  opacity: 1;
  font-size: .7rem;
}
.prof-hero--light .prof-hero__title {
  color: #0f4c81;
  font-size: 1.8rem;
  margin-bottom: 6px;
}
.prof-hero--light .prof-hero__sub {
  color: var(--prof-muted);
  opacity: 1;
  font-size: 0.9rem;
  max-width: 650px;
}
.prof-hero--light .prof-hero__stats {
  margin-top: 14px;
  gap: 18px;
}
.prof-hero--light .prof-hero__stat .v {
  color: #0d9488;
  font-size: 1.25rem;
}
.prof-hero--light .prof-hero__stat .l {
  color: var(--prof-muted);
  opacity: 1;
  font-size: .68rem;
}
.prof-hero__emoji {
  position: absolute;
  font-size: 9rem;
  right: 5%;
  bottom: -30px;
  opacity: .12;
  line-height: 1;
  z-index: 0;
}
.prof-hero__eyebrow {
  font-family: 'Nunito', sans-serif;
  font-weight: 800;
  font-size: .74rem;
  letter-spacing: .16em;
  text-transform: uppercase;
  opacity: .85;
  margin-bottom: 8px;
}
.prof-hero__title {
  font-family: 'Nunito', sans-serif;
  font-weight: 900;
  font-size: 2.1rem;
  line-height: 1.1;
  margin: 0 0 10px;
  letter-spacing: -.02em;
  color: white;
  border: none;
}
.prof-hero__sub {
  margin: 0;
  font-size: 1rem;
  line-height: 1.55;
  opacity: .92;
  max-width: 520px;
  color: white;
}
.prof-hero__stats {
  display: flex;
  gap: 22px;
  margin-top: 18px;
}
.prof-hero__stat .v {
  font-family: 'Nunito', sans-serif;
  font-weight: 900;
  font-size: 1.5rem;
  line-height: 1;
}
.prof-hero__stat .l {
  font-size: .74rem;
  text-transform: uppercase;
  letter-spacing: .05em;
  font-weight: 700;
  opacity: .85;
  margin-top: 3px;
}
.prof-hero__owl {
  position: relative;
  width: 180px;
  height: 180px;
  flex-shrink: 0;
  z-index: 1;
}
.prof-hero__owl img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  filter: drop-shadow(0 16px 30px rgba(0,0,0,.25));
  animation: prof-bob 4s ease-in-out infinite;
}
@keyframes prof-bob {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-9px); }
}
.prof-hero__actions {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  position: relative;
  z-index: 1;
}
.prof-hero__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 20px;
  position: relative;
  z-index: 1;
}
.prof-hero__chip {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 5px 13px;
  border-radius: 99px;
  font-size: .78rem;
  font-weight: 800;
  background: rgba(255,255,255,.18);
  color: white;
  border: 1px solid rgba(255,255,255,.25);
}

/* ── Buttons ─────────────────────────────────── */
.prof-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 11px 24px;
  border: none;
  border-radius: 99px;
  font-family: 'Nunito', sans-serif;
  font-weight: 800;
  font-size: .92rem;
  cursor: pointer;
  text-decoration: none;
  transition: all .18s;
  white-space: nowrap;
}
.prof-btn--primary {
  background: var(--prof-cyan);
  color: white;
  box-shadow: 0 8px 22px var(--prof-cyan-shadow);
}
.prof-btn--primary:hover {
  background: var(--prof-cyan-dark);
  transform: translateY(-1px);
}
.prof-btn--green {
  background: var(--prof-green);
  color: white;
  box-shadow: 0 8px 22px rgba(16,185,129,.28);
}
.prof-btn--green:hover {
  background: #059669;
  transform: translateY(-1px);
}
.prof-btn--outline {
  background: white;
  color: var(--prof-text);
  border: 1.5px solid var(--prof-border);
}
.prof-btn--outline:hover {
  border-color: var(--prof-cyan);
  color: var(--prof-cyan-dark);
}
.prof-btn--white {
  background: white;
  color: var(--prof-cyan-dark);
  box-shadow: 0 8px 22px rgba(0,0,0,.12);
}
.prof-btn--white:hover {
  transform: translateY(-1px);
}
.prof-btn--ghost {
  background: rgba(255,255,255,.16);
  color: white;
  border: 1.5px solid rgba(255,255,255,.3);
}
.prof-btn--ghost:hover {
  background: rgba(255,255,255,.26);
}
.prof-btn--full { width: 100%; }
.prof-btn--sm {
  padding: 10px 16px;
  font-size: .84rem;
}

/* ── Panel (Card) ────────────────────────────── */
.prof-panel {
  background: white;
  border-radius: 22px;
  border: 1px solid var(--prof-border);
  box-shadow: 0 10px 40px var(--prof-shadow);
  padding: 28px 30px;
  position: relative;
  overflow: hidden;
  margin-bottom: 18px;
}
.prof-panel::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 5px;
  background: linear-gradient(90deg, var(--prof-cyan), var(--prof-purple));
}
.prof-panel--s1::before { background: #06b6d4; }
.prof-panel--s2::before { background: #6c47ff; }
.prof-panel--s3::before { background: #f59e0b; }
.prof-panel--s4::before { background: #10b981; }
.prof-panel--left::before {
  top: 0; left: 0; bottom: 0;
  width: 4px; right: auto; height: auto;
}
.prof-panel__title {
  font-family: 'Nunito', sans-serif;
  font-weight: 900;
  font-size: 1.35rem;
  margin: 0 0 4px;
  letter-spacing: -.01em;
  color: var(--prof-text);
  border: none;
}
.prof-panel__sub {
  margin: 0 0 24px;
  color: var(--prof-muted);
  font-size: .94rem;
  line-height: 1.5;
}
.prof-panel__section-head {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 14px;
}
.prof-panel__section-num {
  width: 26px;
  height: 26px;
  border-radius: 8px;
  color: white;
  font-size: .82rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-weight: 900;
  flex-shrink: 0;
}
.prof-panel__hint {
  margin: 0 0 16px;
  color: var(--prof-muted);
  font-size: .86rem;
  line-height: 1.5;
}

/* ── Field (form) ────────────────────────────── */
.prof-field { margin-bottom: 18px; }
.prof-field > label {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: 'Nunito', sans-serif;
  font-weight: 800;
  font-size: .92rem;
  color: var(--prof-text);
  margin-bottom: 8px;
}
.prof-field > label .step {
  width: 24px;
  height: 24px;
  border-radius: 8px;
  background: var(--prof-cyan-light);
  color: var(--prof-cyan-dark);
  font-size: .78rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-weight: 900;
}
.prof-field > label .opt {
  font-weight: 600;
  font-size: .78rem;
  color: var(--prof-muted);
  margin-left: auto;
}

.prof-select-wrap { position: relative; }
.prof-select-wrap::after {
  content: '▾';
  position: absolute;
  right: 16px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--prof-muted);
  pointer-events: none;
  font-size: .9rem;
}
.prof-input,
.prof-select {
  width: 100%;
  padding: 14px 16px;
  border: 1.5px solid #e2e8f0;
  border-radius: 13px;
  background: #fafafa;
  font-family: 'Inter', sans-serif;
  font-size: .96rem;
  color: var(--prof-text);
  outline: none;
  transition: all .15s;
  appearance: none;
}
.prof-input:focus,
.prof-select:focus {
  border-color: var(--prof-cyan);
  background: white;
  box-shadow: 0 0 0 4px var(--prof-cyan-shadow);
}
.prof-custom-in {
  margin-top: 10px;
  display: none;
}
.prof-custom-in.show {
  display: block;
  animation: prof-fade .2s ease;
}
@keyframes prof-fade {
  from { opacity: 0; transform: translateY(-4px); }
  to { opacity: 1; transform: translateY(0); }
}

/* ── Chips (Quick pick) ──────────────────────── */
.prof-chips { display: flex; gap: 8px; flex-wrap: wrap; }
.prof-chip {
  padding: 8px 14px;
  border-radius: 99px;
  border: 1.5px solid var(--prof-border);
  background: white;
  font-family: 'Nunito', sans-serif;
  font-weight: 800;
  font-size: .82rem;
  color: var(--prof-text);
  cursor: pointer;
  transition: all .15s;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.prof-chip:hover {
  border-color: var(--prof-cyan);
  background: #ecfeff;
  color: var(--prof-cyan-dark);
  transform: translateY(-1px);
}
.prof-chip.on {
  background: var(--prof-cyan-light);
  border-color: var(--prof-cyan);
  color: var(--prof-cyan-dark);
}
.prof-chip.on::after { content: '✓'; }

/* ── Tag chips (metadata) ────────────────────── */
.prof-tag {
  display: inline-flex;
  align-items: center;
  padding: 4px 11px;
  border-radius: 99px;
  font-size: .72rem;
  font-weight: 800;
}
.prof-tag--blue { background: #eff6ff; color: #1e40af; }
.prof-tag--green { background: #f0fdf4; color: #166534; }
.prof-tag--ia { background: #fdf4ff; color: #7e22ce; }
.prof-tag--gray { background: #f1f5f9; color: #64748b; }
.prof-tag--src-banco { background: #eff6ff; color: #1e40af; }
.prof-tag--src-ia { background: #fdf4ff; color: #7e22ce; }

/* ── Segmented Control ───────────────────────── */
.prof-config-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
  margin-bottom: 6px;
}
.prof-seg {
  display: flex;
  background: #f1f5f9;
  padding: 4px;
  border-radius: 12px;
  gap: 4px;
}
.prof-seg label { flex: 1; cursor: pointer; }
.prof-seg input { position: absolute; opacity: 0; pointer-events: none; }
.prof-seg .o {
  display: block;
  text-align: center;
  padding: 9px;
  border-radius: 9px;
  font-family: 'Nunito', sans-serif;
  font-weight: 800;
  font-size: .82rem;
  color: var(--prof-muted);
  transition: all .15s;
}
.prof-seg input:checked + .o {
  background: white;
  color: var(--prof-cyan-dark);
  box-shadow: 0 3px 8px rgba(0,0,0,.06);
}

/* ── Stepper ─────────────────────────────────── */
.prof-stepper {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 22px;
}
.prof-step {
  display: flex;
  align-items: center;
  gap: 10px;
}
.prof-step__num {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: white;
  border: 2px solid var(--prof-border);
  color: var(--prof-muted);
  font-family: 'Nunito', sans-serif;
  font-weight: 900;
  font-size: .92rem;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: all .25s;
}
.prof-step__label {
  font-family: 'Nunito', sans-serif;
  font-weight: 800;
  font-size: .88rem;
  color: var(--prof-muted);
  transition: all .25s;
}
.prof-step__bar {
  flex: 1;
  height: 3px;
  background: #e2e8f0;
  border-radius: 99px;
  transition: all .25s;
  margin: 0 4px;
}
.prof-step.active .prof-step__num {
  background: var(--prof-cyan);
  border-color: var(--prof-cyan);
  color: white;
  box-shadow: 0 4px 12px var(--prof-cyan-shadow);
}
.prof-step.active .prof-step__label { color: var(--prof-text); }
.prof-step.done .prof-step__num {
  background: var(--prof-green);
  border-color: var(--prof-green);
  color: white;
}
.prof-step.done .prof-step__label { color: var(--prof-text); }
.prof-step.done ~ .prof-step__bar { background: var(--prof-green); }

/* ── Sidebar Card ────────────────────────────── */
.prof-side { display: flex; flex-direction: column; gap: 20px; }
.prof-scard {
  background: white;
  border-radius: 22px;
  border: 1px solid var(--prof-border);
  box-shadow: 0 4px 18px rgba(0,0,0,.03);
  padding: 24px;
}
.prof-scard__title {
  font-family: 'Nunito', sans-serif;
  font-weight: 900;
  font-size: 1.02rem;
  margin: 0 0 14px;
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--prof-text);
  border: none;
}

/* ── Output list (o que você recebe) ─────────── */
.prof-out-list { display: flex; flex-direction: column; gap: 10px; }
.prof-out {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 14px;
  border-radius: 13px;
  background: #fafafa;
  border: 1px solid var(--prof-border);
}
.prof-out__icon {
  width: 38px;
  height: 38px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  flex-shrink: 0;
}
.prof-out:nth-child(1) .prof-out__icon { background: #ede9fe; color: var(--prof-purple); }
.prof-out:nth-child(2) .prof-out__icon { background: #cffafe; color: var(--prof-cyan-dark); }
.prof-out:nth-child(3) .prof-out__icon { background: #fef3c7; color: var(--prof-amber); }
.prof-out:nth-child(4) .prof-out__icon { background: #d1fae5; color: var(--prof-green); }
.prof-out__text { flex: 1; }
.prof-out__label {
  font-family: 'Nunito', sans-serif;
  font-weight: 800;
  font-size: .88rem;
  line-height: 1.2;
}
.prof-out__desc { font-size: .76rem; color: var(--prof-muted); margin-top: 1px; }
.prof-out__check { color: var(--prof-green); font-weight: 900; }

/* ── Format badges ───────────────────────────── */
.prof-fmts { display: flex; gap: 8px; flex-wrap: wrap; }
.prof-fmt {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 7px 13px;
  border-radius: 10px;
  background: #fafafa;
  border: 1px solid var(--prof-border);
  font-family: 'Nunito', sans-serif;
  font-weight: 800;
  font-size: .8rem;
  color: var(--prof-text);
}
.prof-fmt .d { width: 8px; height: 8px; border-radius: 50%; }
.prof-fmt--pdf .d { background: #ef4444; }
.prof-fmt--ppt .d { background: #f59e0b; }
.prof-fmt--print .d { background: var(--prof-green); }

/* ── Tip card ────────────────────────────────── */
.prof-tip {
  background: linear-gradient(135deg, #fffbeb, #fef3c7);
  border: 1px solid #fde68a;
  border-radius: 22px;
  padding: 22px;
  position: relative;
  overflow: hidden;
}
.prof-tip h3 { color: #92400e; border: none; margin: 0 0 8px; font-size: 1rem; }
.prof-tip p { margin: 0; color: #92400e; font-size: .88rem; line-height: 1.6; }
.prof-tip__owl {
  position: absolute;
  right: -10px;
  bottom: -10px;
  width: 80px;
  height: 80px;
  opacity: .85;
}
.prof-tip__owl img { width: 100%; height: 100%; object-fit: contain; }

/* ── Recent lessons ──────────────────────────── */
.prof-rec {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 11px 0;
  border-bottom: 1px solid #f1f5f9;
  text-decoration: none;
  color: inherit;
}
.prof-rec:last-child { border-bottom: none; }
.prof-rec__icon {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  background: #ecfeff;
  color: var(--prof-cyan-dark);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  flex-shrink: 0;
}
.prof-rec__title {
  font-family: 'Nunito', sans-serif;
  font-weight: 800;
  font-size: .85rem;
  line-height: 1.2;
}
.prof-rec__desc { font-size: .74rem; color: var(--prof-muted); margin-top: 2px; }
.prof-rec__arrow { margin-left: auto; color: var(--prof-muted); font-weight: 900; }

/* ── Stats Row ───────────────────────────────── */
.prof-stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
  margin-bottom: 22px;
}
.prof-stat {
  background: white;
  border-radius: 18px;
  border: 1px solid var(--prof-border);
  padding: 18px;
  display: flex;
  align-items: center;
  gap: 14px;
  box-shadow: 0 4px 14px rgba(0,0,0,.02);
}
.prof-stat__icon {
  width: 42px;
  height: 42px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
  flex-shrink: 0;
}
.prof-stat:nth-child(1) .prof-stat__icon { background: #cffafe; }
.prof-stat:nth-child(2) .prof-stat__icon { background: #ede9fe; }
.prof-stat:nth-child(3) .prof-stat__icon { background: #fef3c7; }
.prof-stat:nth-child(4) .prof-stat__icon { background: #d1fae5; }
.prof-stat__value {
  font-family: 'Nunito', sans-serif;
  font-weight: 900;
  font-size: 1.3rem;
  line-height: 1;
  color: var(--prof-text);
}
.prof-stat__label {
  font-size: .74rem;
  font-weight: 700;
  color: var(--prof-muted);
  text-transform: uppercase;
  letter-spacing: .04em;
  margin-top: 3px;
}

/* ── Filter Bar ──────────────────────────────── */
.prof-filt {
  background: white;
  border: 1px solid var(--prof-border);
  border-radius: 18px;
  padding: 16px 20px;
  margin-bottom: 18px;
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}
.prof-filt__label {
  font-family: 'Nunito', sans-serif;
  font-weight: 800;
  font-size: .82rem;
  color: var(--prof-muted);
}
.prof-filt__right {
  margin-left: auto;
  font-family: 'Nunito', sans-serif;
  font-weight: 800;
  font-size: .88rem;
  color: var(--prof-muted);
}
.prof-filt__right b { color: var(--prof-text); }
.prof-filt__select {
  appearance: none;
  padding: 10px 36px 10px 14px;
  border: 1.5px solid var(--prof-border);
  border-radius: 11px;
  background: #fafafa;
  font-family: 'Inter', sans-serif;
  font-size: .9rem;
  color: var(--prof-text);
  outline: none;
  cursor: pointer;
}
.prof-filt__select:focus {
  border-color: var(--prof-cyan);
  background: white;
}

/* ── Aula Row (list item) ────────────────────── */
.prof-aula-list { display: flex; flex-direction: column; gap: 12px; }
.prof-aula-row {
  background: white;
  border: 1px solid var(--prof-border);
  border-radius: 18px;
  padding: 18px 22px;
  display: flex;
  align-items: center;
  gap: 18px;
  box-shadow: 0 4px 16px rgba(0,0,0,.03);
  transition: all .2s;
  overflow: visible;
}
.prof-aula-row:hover {
  transform: translateY(-2px);
  box-shadow: 0 14px 32px var(--prof-shadow);
}
.prof-aula-row__fav {
  background: none;
  border: none;
  font-size: 1.4rem;
  cursor: pointer;
  color: #cbd5e1;
  transition: all .15s;
  flex-shrink: 0;
  line-height: 1;
}
.prof-aula-row__fav.on { color: #f59e0b; }
.prof-aula-row__fav:hover { transform: scale(1.15); }
.prof-aula-row__icon {
  width: 50px;
  height: 50px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  flex-shrink: 0;
  background: #cffafe;
}
.prof-aula-row:nth-child(4n+1) .prof-aula-row__icon { background: #cffafe; }
.prof-aula-row:nth-child(4n+2) .prof-aula-row__icon { background: #ede9fe; }
.prof-aula-row:nth-child(4n+3) .prof-aula-row__icon { background: #fef3c7; }
.prof-aula-row:nth-child(4n+4) .prof-aula-row__icon { background: #d1fae5; }
.prof-aula-row__main { flex: 1; min-width: 0; }
.prof-aula-row__tema {
  font-family: 'Nunito', sans-serif;
  font-weight: 900;
  font-size: 1.05rem;
  letter-spacing: -.01em;
  margin-bottom: 6px;
  color: var(--prof-text);
}
.prof-aula-row__tags { display: flex; gap: 6px; flex-wrap: wrap; }
.prof-aula-row__date {
  text-align: right;
  flex-shrink: 0;
}
.prof-aula-row__date b {
  font-family: 'Nunito', sans-serif;
  font-weight: 800;
  font-size: .86rem;
  display: block;
  color: var(--prof-text);
}
.prof-aula-row__date span { font-size: .76rem; color: var(--prof-muted); }
.prof-aula-row__actions { display: flex; gap: 8px; flex-shrink: 0; flex-wrap: wrap; overflow: visible; }

/* ── Download dropdown ───────────────────────── */
.prof-dd { position: relative; }
.prof-dd__toggle {
  background: white;
  color: var(--prof-text);
  border: 1.5px solid var(--prof-border);
  padding: 10px 14px;
  border-radius: 11px;
  font-family: 'Nunito', sans-serif;
  font-weight: 800;
  font-size: .84rem;
  cursor: pointer;
}
.prof-dd__toggle:hover { border-color: var(--prof-cyan); color: var(--prof-cyan-dark); }
.prof-dd__menu {
  display: none;
  position: absolute;
  right: 0;
  top: calc(100% + 6px);
  background: white;
  border: 1px solid var(--prof-border);
  border-radius: 13px;
  box-shadow: 0 12px 32px rgba(0,0,0,.12);
  min-width: 240px;
  overflow: hidden;
  z-index: 50;
}
.prof-dd.open .prof-dd__menu { display: block; }
.prof-dd__menu a {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 16px;
  font-size: .86rem;
  color: var(--prof-text);
  text-decoration: none;
  transition: all .12s;
  font-weight: 600;
}
.prof-dd__menu a:hover { background: #f5f3ff; color: var(--prof-cyan-dark); }
.prof-dd__menu a + a { border-top: 1px solid #f1f5f9; }

/* ── Prova Card (grid) ───────────────────────── */
.prof-provas-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 18px;
}
.prof-pcard {
  background: white;
  border: 1px solid var(--prof-border);
  border-radius: 20px;
  padding: 24px;
  box-shadow: 0 4px 18px rgba(0,0,0,.03);
  transition: all .25s;
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}
.prof-pcard:hover {
  transform: translateY(-4px);
  box-shadow: 0 20px 44px var(--prof-shadow);
}
.prof-pcard::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 4px;
  background: var(--prof-cyan);
}
.prof-pcard:nth-child(4n+1)::before { background: #06b6d4; }
.prof-pcard:nth-child(4n+2)::before { background: #6c47ff; }
.prof-pcard:nth-child(4n+3)::before { background: #f59e0b; }
.prof-pcard:nth-child(4n+4)::before { background: #10b981; }
.prof-pcard:nth-child(4n+1) { --pc-tint: #cffafe; --pc-c: #06b6d4; }
.prof-pcard:nth-child(4n+2) { --pc-tint: #ede9fe; --pc-c: #6c47ff; }
.prof-pcard:nth-child(4n+3) { --pc-tint: #fef3c7; --pc-c: #f59e0b; }
.prof-pcard:nth-child(4n+4) { --pc-tint: #d1fae5; --pc-c: #10b981; }

.prof-pcard__top { display: flex; align-items: flex-start; gap: 14px; margin-bottom: 14px; }
.prof-pcard__icon {
  width: 48px; height: 48px;
  border-radius: 14px;
  background: var(--pc-tint, #cffafe);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.4rem; flex-shrink: 0;
}
.prof-pcard__title {
  font-family: 'Nunito', sans-serif;
  font-weight: 900;
  font-size: 1.12rem;
  line-height: 1.25;
  margin: 0;
  letter-spacing: -.01em;
  color: var(--prof-text);
  border: none;
}
.prof-pcard__meta { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 16px; }
.prof-pcard__footer {
  margin-top: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding-top: 16px;
  border-top: 1px solid #f1f5f9;
}
.prof-pcard__info .q {
  font-family: 'Nunito', sans-serif;
  font-weight: 800;
  font-size: .86rem;
  color: var(--prof-text);
}
.prof-pcard__info .d { font-size: .76rem; color: var(--prof-muted); margin-top: 1px; }
.prof-pcard__link {
  display: inline-flex; align-items: center; gap: 5px;
  padding: 9px 16px; border-radius: 11px;
  font-family: 'Nunito', sans-serif; font-weight: 800; font-size: .84rem;
  background: var(--pc-tint, #cffafe); color: var(--pc-c, var(--prof-cyan));
  text-decoration: none; transition: all .15s;
}
.prof-pcard__link:hover { background: var(--pc-c, var(--prof-cyan)); color: white; }

/* ── Question Card ───────────────────────────── */
.prof-qcard {
  background: white;
  border: 1px solid var(--prof-border);
  border-radius: 20px;
  padding: 24px 26px;
  margin-bottom: 14px;
  box-shadow: 0 4px 18px rgba(0,0,0,.03);
  transition: all .2s;
}
.prof-qcard:hover { box-shadow: 0 12px 32px var(--prof-shadow); }
.prof-qcard__top {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 12px;
  flex-wrap: wrap;
}
.prof-qcard__del {
  margin-left: auto;
  background: white;
  border: 1.5px solid #fecaca;
  color: #dc2626;
  border-radius: 10px;
  padding: 7px 12px;
  font-family: 'Nunito', sans-serif;
  font-weight: 800;
  font-size: .78rem;
  cursor: pointer;
  transition: all .15s;
}
.prof-qcard__del:hover { background: #fef2f2; }
.prof-qcard__enunciado {
  font-size: .96rem;
  line-height: 1.65;
  color: var(--prof-text);
  margin: 0 0 14px;
}
.prof-qcard__alts {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
}
.prof-qcard__alt {
  background: #fafafa;
  border: 1.5px solid #f1f5f9;
  border-radius: 10px;
  padding: 9px 13px;
  font-size: .86rem;
  line-height: 1.4;
  display: flex;
  gap: 8px;
}
.prof-qcard__alt .l {
  font-family: 'Nunito', sans-serif;
  font-weight: 900;
  color: var(--prof-muted);
}
.prof-qcard__alt.ok { background: #dcfce7; border-color: #86efac; }
.prof-qcard__alt.ok .l { color: var(--prof-green); }
.prof-qcard__gabarito {
  margin-top: 14px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: #dcfce7;
  color: #15803d;
  border-radius: 10px;
  padding: 6px 14px;
  font-family: 'Nunito', sans-serif;
  font-weight: 800;
  font-size: .82rem;
}

/* ── Question Number (prova detalhe) ─────────── */
.prof-qnum {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--prof-cyan), var(--prof-purple));
  color: white;
  font-family: 'Nunito', sans-serif;
  font-weight: 900;
  font-size: 1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

/* ── Questao item (prova detalhe) ────────────── */
.prof-questao {
  background: white;
  border: 1px solid var(--prof-border);
  border-radius: 20px;
  padding: 26px 28px;
  margin-bottom: 16px;
  box-shadow: 0 4px 18px rgba(0,0,0,.03);
  position: relative;
}
.prof-questao__top {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 14px;
  flex-wrap: wrap;
}
.prof-questao__enunciado {
  font-size: .98rem;
  line-height: 1.7;
  color: var(--prof-text);
  margin: 0 0 16px;
  white-space: pre-line;
}
.prof-questao__alts {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.prof-questao__alt {
  display: flex;
  gap: 12px;
  background: #fafafa;
  border: 1.5px solid #f1f5f9;
  border-radius: 12px;
  padding: 12px 16px;
  font-size: .92rem;
  line-height: 1.5;
  align-items: flex-start;
}
.prof-questao__alt .l {
  font-family: 'Nunito', sans-serif;
  font-weight: 900;
  color: var(--prof-muted);
  min-width: 20px;
}
.prof-questao__alt.ok { background: #dcfce7; border-color: #86efac; }
.prof-questao__alt.ok .l { color: var(--prof-green); }
.prof-questao__alt.ok::after {
  content: '✓';
  margin-left: auto;
  color: var(--prof-green);
  font-weight: 900;
}

/* ── Filter Tabs ─────────────────────────────── */
.prof-ftabs-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  margin-bottom: 18px;
  flex-wrap: wrap;
}
.prof-ftabs {
  display: inline-flex;
  gap: 4px;
  background: white;
  padding: 5px;
  border-radius: 99px;
  border: 1px solid var(--prof-border);
  box-shadow: 0 4px 14px var(--prof-shadow);
}
.prof-ftab {
  padding: 8px 16px;
  border: none;
  background: transparent;
  cursor: pointer;
  font-family: 'Nunito', sans-serif;
  font-weight: 800;
  font-size: .85rem;
  color: var(--prof-muted);
  border-radius: 99px;
  transition: all .18s;
}
.prof-ftab.active {
  background: linear-gradient(135deg, var(--prof-purple), #7c3aed);
  color: white;
  box-shadow: 0 4px 10px rgba(108,71,255,.3);
}
.prof-ftabs-bar__count {
  font-family: 'Nunito', sans-serif;
  font-weight: 800;
  color: var(--prof-muted);
  font-size: .9rem;
}
.prof-ftabs-bar__count b { color: var(--prof-text); }

/* ── Toolbar ─────────────────────────────────── */
.prof-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  margin-bottom: 18px;
  flex-wrap: wrap;
}
.prof-toolbar__count {
  font-family: 'Nunito', sans-serif;
  font-weight: 800;
  font-size: .92rem;
  color: var(--prof-muted);
}
.prof-toolbar__count b { color: var(--prof-text); }
.prof-toolbar__search { position: relative; flex: 1; max-width: 320px; }
.prof-toolbar__search input {
  width: 100%;
  padding: 11px 14px 11px 38px;
  border: 1.5px solid var(--prof-border);
  border-radius: 12px;
  background: white;
  font-family: 'Inter', sans-serif;
  font-size: .92rem;
  outline: none;
  transition: all .15s;
}
.prof-toolbar__search input:focus {
  border-color: var(--prof-cyan);
  box-shadow: 0 0 0 4px var(--prof-cyan-shadow);
}
.prof-toolbar__search::before {
  content: '🔍';
  position: absolute;
  left: 13px;
  top: 50%;
  transform: translateY(-50%);
  font-size: .9rem;
  opacity: .6;
}

/* ── Summary row (sidebar prova) ─────────────── */
.prof-sum-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 0;
  border-bottom: 1px solid #f1f5f9;
  font-size: .88rem;
}
.prof-sum-row:last-child { border-bottom: none; }
.prof-sum-row .k { color: var(--prof-muted); font-weight: 600; }
.prof-sum-row .v { font-family: 'Nunito', sans-serif; font-weight: 800; color: var(--prof-text); }

/* ── Banca Options (nova prova) ──────────────── */
.prof-opts {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
  gap: 10px;
}
.prof-opt {
  display: flex;
  align-items: center;
  gap: 9px;
  padding: 12px 14px;
  border: 1.5px solid #e2e8f0;
  border-radius: 12px;
  cursor: pointer;
  font-family: 'Nunito', sans-serif;
  font-weight: 700;
  font-size: .88rem;
  transition: all .15s;
  user-select: none;
}
.prof-opt:hover { background: #f8fafc; border-color: var(--prof-cyan); }
.prof-opt input { accent-color: var(--prof-cyan); width: 17px; height: 17px; }
.prof-opt.on { background: #ecfeff; border-color: var(--prof-cyan); color: var(--prof-cyan-dark); }
.prof-opt.disabled { opacity: .38; cursor: not-allowed; pointer-events: none; }

/* ── Qty Slider ──────────────────────────────── */
.prof-qrow { display: flex; align-items: center; gap: 18px; }
.prof-qrow input[type=range] { flex: 1; accent-color: var(--prof-cyan); height: 6px; }
.prof-qbadge {
  background: linear-gradient(135deg, var(--prof-cyan), var(--prof-purple));
  color: white;
  font-family: 'Nunito', sans-serif;
  font-weight: 900;
  font-size: 1.3rem;
  border-radius: 12px;
  padding: 8px 18px;
  min-width: 56px;
  text-align: center;
}

/* ── Layout 2-col ────────────────────────────── */
.prof-layout {
  display: grid;
  grid-template-columns: 1fr 360px;
  gap: 24px;
  align-items: start;
}
.prof-layout--sidebar-sm { grid-template-columns: 1fr 320px; }
.prof-side--sticky { position: sticky; top: 90px; }

/* ── Loading ─────────────────────────────────── */
.prof-loading {
  display: none;
  text-align: center;
  padding: 30px 20px;
}
.prof-loading.show { display: block; }
.prof-loading__owl {
  width: 110px;
  height: 110px;
  margin: 0 auto 6px;
  animation: prof-pulse 1.4s ease-in-out infinite;
}
.prof-loading__owl img { width: 100%; height: 100%; object-fit: contain; }
@keyframes prof-pulse {
  0%, 100% { transform: scale(1); opacity: 1; }
  50% { transform: scale(1.08); opacity: .85; }
}
.prof-loading h3 {
  font-family: 'Nunito', sans-serif;
  font-weight: 900;
  font-size: 1.3rem;
  margin: 14px 0 6px;
  color: var(--prof-text);
  border: none;
}
.prof-loading p { color: var(--prof-muted); margin: 0 0 16px; font-size: .92rem; }
.prof-lbar {
  max-width: 320px;
  height: 8px;
  background: #f1f5f9;
  border-radius: 99px;
  margin: 0 auto;
  overflow: hidden;
}
.prof-lbar i {
  display: block;
  height: 100%;
  width: 30%;
  background: linear-gradient(90deg, var(--prof-cyan), var(--prof-purple));
  border-radius: 99px;
  animation: prof-load 2.2s ease-in-out infinite;
}
@keyframes prof-load {
  0% { width: 10%; margin-left: 0; }
  50% { width: 60%; }
  100% { width: 30%; margin-left: 70%; }
}

/* ── Question preview (gerar aula step2) ─────── */
.prof-qsum {
  display: flex;
  align-items: center;
  gap: 14px;
  background: linear-gradient(135deg, #ecfeff, #f5f3ff);
  border: 1px solid var(--prof-border);
  border-radius: 16px;
  padding: 16px 18px;
  margin-bottom: 18px;
}
.prof-qsum__icon {
  width: 46px; height: 46px;
  border-radius: 13px;
  background: white;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  box-shadow: 0 4px 10px rgba(0,0,0,.06);
}
.prof-qsum__title {
  font-family: 'Nunito', sans-serif;
  font-weight: 900;
  font-size: 1rem;
}
.prof-qsum__desc { font-size: .84rem; color: var(--prof-muted); margin-top: 2px; }

.prof-preview-card {
  border: 1.5px solid #e2e8f0;
  border-radius: 16px;
  background: white;
  margin-bottom: 12px;
  overflow: hidden;
  transition: all .2s;
}
.prof-preview-card.on {
  border-color: var(--prof-cyan);
  background: #f7feff;
  box-shadow: 0 4px 14px var(--prof-cyan-shadow);
}
.prof-preview-card__head {
  padding: 16px 18px;
  display: flex;
  gap: 14px;
  align-items: flex-start;
  cursor: pointer;
}
.prof-preview-card__check {
  width: 22px; height: 22px;
  accent-color: var(--prof-cyan);
  cursor: pointer;
  margin-top: 2px;
  flex-shrink: 0;
}
.prof-preview-card__body { flex: 1; }
.prof-preview-card__tags {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
  margin-bottom: 8px;
  align-items: center;
}
.prof-preview-card__enunciado {
  font-size: .92rem;
  color: #475569;
  line-height: 1.6;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.prof-preview-card.on .prof-preview-card__enunciado {
  -webkit-line-clamp: unset;
  color: #1e293b;
}
.prof-preview-card__chevron {
  width: 38px; height: 38px;
  border: 1px solid #e2e8f0;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--prof-muted);
  transition: all .2s;
  flex-shrink: 0;
}
.prof-preview-card.on .prof-preview-card__chevron {
  transform: rotate(180deg);
  color: var(--prof-cyan);
  border-color: var(--prof-cyan);
}

/* ── Quick-pick section ──────────────────────── */
.prof-quick { margin: -4px 0 20px; }
.prof-quick__label {
  font-size: .78rem;
  font-weight: 700;
  color: var(--prof-muted);
  margin-bottom: 8px;
}

/* ── Empty state ─────────────────────────────── */
.prof-empty {
  text-align: center;
  padding: 64px 24px;
  background: white;
  border: 1.5px dashed var(--prof-border);
  border-radius: 22px;
}
.prof-empty__icon {
  width: 72px; height: 72px;
  border-radius: 50%;
  background: #f8f7ff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  margin-bottom: 16px;
}
.prof-empty h3 {
  color: var(--prof-text);
  margin: 0 0 8px;
  font-size: 1.2rem;
  border: none;
}
.prof-empty p {
  color: var(--prof-muted);
  margin: 0 0 22px;
  font-size: .95rem;
}

/* ── How-to box ──────────────────────────────── */
.prof-howto {
  background: linear-gradient(135deg, #fffbeb, #fef3c7);
  border: 1px solid #fde68a;
  border-radius: 22px;
  padding: 20px 22px;
  position: relative;
  overflow: hidden;
}
.prof-howto h4 { color: #92400e; border: none; margin: 0 0 8px; }
.prof-howto ol {
  margin: 0;
  padding-left: 18px;
  color: #92400e;
  font-size: .86rem;
  line-height: 1.8;
}
.prof-howto__owl {
  position: absolute;
  right: -8px;
  bottom: -8px;
  width: 70px;
  height: 70px;
  opacity: .85;
}
.prof-howto__owl img { width: 100%; height: 100%; object-fit: contain; }

/* ── Responsive ──────────────────────────────── */
@media (max-width: 980px) {
  .prof-layout,
  .prof-layout--sidebar-sm { grid-template-columns: 1fr; }
  .prof-side--sticky { position: static; }
}
@media (max-width: 760px) {
  .prof-hero__owl { display: none; }
  .prof-hero__title { font-size: 1.6rem; }
  .prof-stats { grid-template-columns: repeat(2, 1fr); }
  .prof-aula-row { flex-wrap: wrap; }
  .prof-aula-row__date { display: none; }
  .prof-aula-row__actions { width: 100%; }
}
@media (max-width: 560px) {
  .prof-step__label { display: none; }
  .prof-config-row { grid-template-columns: 1fr; }
  .prof-qcard__alts { grid-template-columns: 1fr; }
  .prof-stats { grid-template-columns: 1fr; }
}
@media print {
  .prof-hero,
  .prof-btn,
  .prof-blob { display: none !important; }
  body { background: #fff !important; }
  .prof-questao { box-shadow: none !important; break-inside: avoid; page-break-inside: avoid; }
}
