/* PIER — design system v2 */
:root {
  --pr-navy: #0c3550;
  --pr-navy-dark: #082638;
  --pr-green: #1a6b42;
  --pr-green-light: #e8f5ee;
  --pr-gold: #c9a227;
  --pr-bg: #f5f7fa;
  --pr-surface: #ffffff;
  --pr-border: #e2e8f0;
  --pr-text: #1e293b;
  --pr-muted: #64748b;
  --pr-danger: #dc2626;
  --pr-success: #16a34a;
  --pr-radius: 12px;
  --pr-radius-lg: 20px;
  --pr-shadow: 0 4px 24px rgba(12, 53, 80, 0.08);
  --pr-shadow-lg: 0 12px 40px rgba(12, 53, 80, 0.12);
  --pr-header-h: 88px;
  --pr-font: "Segoe UI", system-ui, -apple-system, sans-serif;
  --pr-max: 1200px;
}

*, *::before, *::after { box-sizing: border-box; }

body.pr-body {
  margin: 0;
  font-family: var(--pr-font);
  color: var(--pr-text);
  background: var(--pr-bg);
  line-height: 1.5;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

a { color: var(--pr-navy-dark); text-decoration: none; }
a:hover { color: var(--pr-navy); text-decoration: underline; }

/* ── Shell ── */
.pr-header {
  position: sticky;
  top: 0;
  z-index: 100;
  height: var(--pr-header-h);
  background: var(--pr-surface);
  border-bottom: 1px solid var(--pr-border);
  box-shadow: 0 1px 0 rgba(0,0,0,.04);
}
.pr-header__inner {
  max-width: var(--pr-max);
  margin: 0 auto;
  padding: 0 20px;
  height: 100%;
  display: flex;
  align-items: center;
  gap: 24px;
}
.pr-logo {
  display: flex;
  align-items: center;
  text-decoration: none;
  flex-shrink: 0;
}
.pr-logo:hover { text-decoration: none; }
.pr-logo__mark {
  display: block;
  width: 180px;
  height: 72px;
  background: url(/assets/pier/cropped-cropped-AF_identidade_pier2-03-1e7b1498f6e14cb39c1372066122fde7a6e8eb081223783d6794456680866cb6.png) center/contain no-repeat;
}
@media (max-width: 480px) {
  .pr-logo__mark { width: 140px; height: 56px; }
}
.pr-nav {
  display: flex;
  align-items: center;
  gap: 4px;
  flex: 1;
  justify-content: center;
}
.pr-nav a {
  padding: 8px 14px;
  border-radius: 8px;
  color: var(--pr-text);
  font-weight: 600;
  font-size: .9rem;
  text-decoration: none;
  transition: background .15s, color .15s;
}
.pr-nav a:hover, .pr-nav a.is-active {
  background: rgba(8, 38, 56, .08);
  color: var(--pr-navy-dark);
  text-decoration: none;
}
.pr-header__actions {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}
.pr-cart-btn {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  border-radius: 10px;
  border: 1px solid var(--pr-border);
  background: var(--pr-surface);
  color: var(--pr-navy);
  text-decoration: none;
}
.pr-cart-btn:hover { background: var(--pr-bg); text-decoration: none; }
.pr-cart-btn__badge {
  position: absolute;
  top: -4px;
  right: -4px;
  min-width: 18px;
  height: 18px;
  padding: 0 5px;
  border-radius: 999px;
  background: var(--pr-green);
  color: #fff;
  font-size: .7rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
}
.pr-menu-toggle {
  display: none;
  background: none;
  border: none;
  padding: 8px;
  cursor: pointer;
  color: var(--pr-navy);
}
.pr-main { flex: 1; }

/* Mobile nav */
.pr-mobile-nav {
  display: none;
  position: fixed;
  inset: var(--pr-header-h) 0 0 0;
  background: rgba(0,0,0,.4);
  z-index: 99;
}
.pr-mobile-nav.is-open { display: block; }
.pr-mobile-nav__panel {
  width: min(300px, 85vw);
  height: 100%;
  background: var(--pr-surface);
  padding: 20px;
  display: flex;
  flex-direction: column;
  gap: 4px;
  box-shadow: var(--pr-shadow-lg);
}
.pr-mobile-nav__panel a {
  padding: 12px 16px;
  border-radius: 8px;
  font-weight: 600;
  color: var(--pr-text);
  text-decoration: none;
}
.pr-mobile-nav__panel a:hover { background: rgba(8, 38, 56, .06); text-decoration: none; }

@media (max-width: 900px) {
  .pr-nav, .pr-header__actions .pr-btn--ghost { display: none; }
  .pr-menu-toggle { display: block; }
}

/* ── Buttons ── */
.pr-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 11px 22px;
  border-radius: 999px;
  font-weight: 700;
  font-size: .92rem;
  border: 2px solid transparent;
  cursor: pointer;
  text-decoration: none;
  transition: transform .12s, box-shadow .12s, background .15s;
  font-family: inherit;
}
.pr-btn:hover { transform: translateY(-1px); box-shadow: var(--pr-shadow); text-decoration: none; }
.pr-btn--primary { background: var(--pr-navy-dark); color: #fff; }
.pr-btn--primary:hover { background: var(--pr-navy); color: #fff; }
.pr-btn--navy { background: var(--pr-navy); color: #fff; }
.pr-btn--navy:hover { background: var(--pr-navy-dark); color: #fff; }
.pr-btn--outline { background: transparent; border-color: var(--pr-navy); color: var(--pr-navy); }
.pr-btn--outline:hover { background: var(--pr-navy); color: #fff; }
.pr-btn--light { background: transparent; border-color: rgba(255, 255, 255, .35); color: #fff; }
.pr-btn--light:hover { background: rgba(255, 255, 255, .12); color: #fff; text-decoration: none; }
.pr-sign-out { display: inline-flex; align-items: center; gap: 6px; }
.pr-mobile-nav__sign-out { color: var(--pr-danger); font-weight: 600; }
.pr-btn--ghost { background: transparent; color: var(--pr-navy); border-color: var(--pr-border); }
.pr-btn--sm { padding: 8px 16px; font-size: .85rem; }
.pr-btn--lg { padding: 14px 32px; font-size: 1rem; }
.pr-btn--block { width: 100%; }

/* ── Page sections ── */
.pr-container { max-width: var(--pr-max); margin: 0 auto; padding: 0 20px; }
.pr-section { padding: 64px 0; }
.pr-section--tight { padding: 40px 0; }
.pr-page-head { padding: 40px 0 24px; }
.pr-page-head h1 { margin: 0 0 8px; font-size: clamp(1.6rem, 4vw, 2.2rem); color: var(--pr-navy); }
.pr-page-head p { margin: 0; color: var(--pr-muted); font-size: 1.05rem; }

/* Hero */
.pr-hero {
  position: relative;
  min-height: calc(100vh - var(--pr-header-h));
  min-height: 560px;
  display: flex;
  align-items: center;
  background: linear-gradient(135deg, rgba(12,53,80,.92), rgba(26,107,66,.85)),
    url(/assets/pier/fundo_site_pier-16f8a268fc96bb18a533c312ded7e9025f6d511ed0460712c12a32b67a8a7a40.jpg) center/cover no-repeat;
  color: #fff;
  text-align: center;
}
.pr-hero__content { max-width: 720px; margin: 0 auto; padding: 48px 20px; }
.pr-hero__eyebrow {
  display: inline-block;
  font-size: .8rem;
  letter-spacing: .12em;
  text-transform: uppercase;
  opacity: .85;
  margin-bottom: 16px;
}
.pr-hero h1 {
  font-size: clamp(2.2rem, 6vw, 3.5rem);
  font-weight: 800;
  line-height: 1.08;
  margin: 0 0 20px;
}
.pr-hero p { font-size: 1.15rem; opacity: .92; margin: 0 0 32px; line-height: 1.6; }
.pr-hero__actions { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }
.pr-hero .pr-btn--outline { border-color: rgba(255,255,255,.6); color: #fff; }
.pr-hero .pr-btn--outline:hover { background: #fff; color: var(--pr-navy); }
.pr-hero .pr-btn--primary { background: #fff; color: var(--pr-navy); }
.pr-hero .pr-btn--primary:hover { background: var(--pr-green-light); color: var(--pr-green); }

/* Feature grid */
.pr-features {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 20px;
}
.pr-feature {
  background: var(--pr-surface);
  border-radius: var(--pr-radius);
  padding: 28px 24px;
  text-align: center;
  border: 1px solid var(--pr-border);
  transition: box-shadow .2s;
}
.pr-feature:hover { box-shadow: var(--pr-shadow); }
.pr-feature__icon { font-size: 2rem; margin-bottom: 12px; }
.pr-feature h3 { margin: 0 0 8px; color: var(--pr-navy); font-size: 1.05rem; }
.pr-feature p { margin: 0; color: var(--pr-muted); font-size: .92rem; }

/* Quote band */
.pr-quote-band {
  background: var(--pr-navy);
  color: #fff;
  padding: 56px 20px;
  text-align: center;
}
.pr-quote-band blockquote {
  max-width: 800px;
  margin: 0 auto;
  font-size: clamp(1.1rem, 2.5vw, 1.45rem);
  font-weight: 500;
  line-height: 1.55;
  font-style: italic;
}

/* Course cards */
.pr-courses-header {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  margin-bottom: 24px;
}
.pr-courses-header h2 { margin: 0; color: var(--pr-navy); font-size: 1.5rem; }
.pr-course-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 24px;
}
.pr-course-card {
  display: flex;
  flex-direction: column;
  background: var(--pr-surface);
  border-radius: var(--pr-radius-lg);
  overflow: hidden;
  border: 1px solid var(--pr-border);
  text-decoration: none;
  color: inherit;
  transition: transform .2s, box-shadow .2s;
}
.pr-course-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--pr-shadow-lg);
  text-decoration: none;
}
.pr-course-card__thumb {
  aspect-ratio: 16/10;
  background: linear-gradient(135deg, var(--pr-navy), var(--pr-green));
  background-size: cover;
  background-position: center;
  position: relative;
}
.pr-course-card__thumb--empty {
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2.5rem;
  font-weight: 800;
  color: rgba(255,255,255,.25);
}
.pr-course-card__body { padding: 20px; flex: 1; display: flex; flex-direction: column; }
.pr-course-card__title { margin: 0 0 8px; font-size: 1.05rem; color: var(--pr-navy); font-weight: 700; }
.pr-course-card__desc {
  font-size: .88rem;
  color: var(--pr-muted);
  flex: 1;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
  margin-bottom: 12px;
}
.pr-course-card__footer {
  padding-top: 12px;
  border-top: 1px solid var(--pr-border);
  margin-top: auto;
}
.pr-course-card__price {
  display: block;
  font-weight: 700;
  color: var(--pr-green);
  font-size: .92rem;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.pr-course-card__price del {
  color: var(--pr-muted);
  font-weight: 400;
  font-size: .72rem;
  margin-right: 4px;
}
.pr-pay-icons { display: flex; gap: 8px; align-items: center; }
.pr-pay-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  border-radius: 8px;
  cursor: default;
}
.pr-pay-icons--light .pr-pay-icon {
  background: rgba(255, 255, 255, .18);
  color: #fff;
}
.pr-pay-icons--dark .pr-pay-icon {
  background: var(--pr-green-light);
  color: var(--pr-green);
}
.pr-pay-icon--pix .fa-pix { font-size: 1.2rem; line-height: 1; }
.pr-cart-btn .fa-cart-shopping { font-size: 1.2rem; line-height: 1; }

/* Testimonials */
.pr-testimonials { background: var(--pr-surface); }
.pr-testimonial-box {
  max-width: 700px;
  margin: 0 auto;
  text-align: center;
  padding: 32px 20px;
  min-height: 200px;
}
.pr-testimonial-box__quote { font-size: 3rem; color: var(--pr-green); opacity: .3; line-height: 1; }
.pr-testimonial-box__name { font-weight: 700; color: var(--pr-navy); margin: 16px 0 8px; }
.pr-testimonial-box__text { color: var(--pr-muted); line-height: 1.6; font-size: 1rem; }
.pr-testimonial-dots { display: flex; justify-content: center; gap: 8px; margin-top: 20px; }
.pr-testimonial-dots button {
  width: 10px; height: 10px;
  border-radius: 50%;
  border: none;
  background: var(--pr-border);
  cursor: pointer;
  padding: 0;
}
.pr-testimonial-dots button.is-active { background: var(--pr-green); }

/* Footer */
.pr-footer {
  background: var(--pr-navy-dark);
  color: rgba(255,255,255,.85);
  padding: 48px 0 24px;
  margin-top: auto;
}
.pr-footer__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 32px;
  max-width: var(--pr-max);
  margin: 0 auto;
  padding: 0 20px 32px;
}
.pr-footer h4 { color: #fff; margin: 0 0 12px; font-size: .9rem; text-transform: uppercase; letter-spacing: .06em; }
.pr-footer a { color: rgba(255,255,255,.75); font-size: .9rem; display: block; margin-bottom: 8px; }
.pr-footer a:hover { color: #fff; }
.pr-footer__bottom {
  text-align: center;
  padding-top: 24px;
  border-top: 1px solid rgba(255,255,255,.1);
  font-size: .82rem;
  color: rgba(255,255,255,.5);
}

/* Flash */
.pr-flash {
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 200;
  max-width: 400px;
  padding: 14px 20px;
  border-radius: var(--pr-radius);
  font-weight: 600;
  font-size: .9rem;
  box-shadow: var(--pr-shadow-lg);
  animation: pr-slide-in .3s ease;
}
.pr-flash--info { background: #dbeafe; color: #1e40af; border: 1px solid #93c5fd; }
.pr-flash--error { background: #fee2e2; color: #991b1b; border: 1px solid #fca5a5; }
.pr-flash--alert { background: #fef3c7; color: #92400e; border: 1px solid #fcd34d; }
@keyframes pr-slide-in { from { transform: translateY(20px); opacity: 0; } to { transform: none; opacity: 1; } }

/* Cards / panels */
.pr-panel {
  background: var(--pr-surface);
  border-radius: var(--pr-radius-lg);
  border: 1px solid var(--pr-border);
  box-shadow: var(--pr-shadow);
  padding: 28px;
}
.pr-panel--narrow { max-width: 560px; margin: 0 auto; }

/* Forms */
.pr-form { display: flex; flex-direction: column; gap: 18px; }
.pr-field label {
  display: block;
  font-size: .85rem;
  font-weight: 600;
  color: var(--pr-navy);
  margin-bottom: 6px;
}
.pr-field input, .pr-field select, .pr-field textarea {
  width: 100%;
  padding: 12px 14px;
  border: 1px solid var(--pr-border);
  border-radius: 8px;
  font-size: 1rem;
  font-family: inherit;
  transition: border-color .15s, box-shadow .15s;
}
.pr-field input:focus, .pr-field select:focus, .pr-field textarea:focus {
  outline: none;
  border-color: var(--pr-green);
  box-shadow: 0 0 0 3px rgba(26,107,66,.15);
}
.pr-form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
@media (max-width: 600px) { .pr-form-row { grid-template-columns: 1fr; } }

/* Tables */
.pr-table-wrap { overflow-x: auto; }
.pr-table {
  width: 100%;
  border-collapse: collapse;
  font-size: .92rem;
}
.pr-table th {
  text-align: left;
  padding: 12px 14px;
  background: var(--pr-bg);
  color: var(--pr-navy);
  font-weight: 700;
  border-bottom: 2px solid var(--pr-border);
}
.pr-table td {
  padding: 14px;
  border-bottom: 1px solid var(--pr-border);
  vertical-align: middle;
}
.pr-table tr:last-child td { border-bottom: none; }
.pr-table .is-muted { color: var(--pr-muted); text-decoration: line-through; }
.pr-table tfoot td { font-weight: 700; font-size: 1.05rem; }

/* Qty control */
.pr-qty {
  display: inline-flex;
  align-items: center;
  border: 1px solid var(--pr-border);
  border-radius: 8px;
  overflow: hidden;
}
.pr-qty button, .pr-qty span {
  padding: 6px 12px;
  border: none;
  background: var(--pr-bg);
  font-weight: 700;
  cursor: pointer;
  font-family: inherit;
}
.pr-qty span { background: var(--pr-surface); min-width: 36px; text-align: center; }

/* Payment */
.pr-pay-layout { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; align-items: start; }
@media (max-width: 768px) { .pr-pay-layout { grid-template-columns: 1fr; } }
.pr-pay-tabs { display: flex; gap: 8px; margin-bottom: 20px; flex-wrap: wrap; }
.pr-pay-tab {
  flex: 1;
  min-width: 100px;
  padding: 12px;
  border: 2px solid var(--pr-border);
  border-radius: 10px;
  background: var(--pr-surface);
  font-weight: 600;
  cursor: pointer;
  font-family: inherit;
  transition: border-color .15s, background .15s;
}
.pr-pay-tab.is-active { border-color: var(--pr-navy-dark); background: rgba(8, 38, 56, .06); color: var(--pr-navy-dark); }
.pr-pay-panel { display: none; }
.pr-pay-panel.is-active { display: block; }
.pr-pix-box { display: flex; flex-wrap: wrap; gap: 20px; align-items: flex-start; }
.pr-pix-qr { width: 200px; border-radius: 8px; }
.pr-pix-emv {
  width: 100%;
  padding: 10px;
  font-size: .8rem;
  border: 1px solid var(--pr-border);
  border-radius: 8px;
  font-family: monospace;
}
.pr-pix-amount, .pr-boleto-amount {
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--pr-navy);
  margin-bottom: 8px;
}
.pr-pay-hint { color: var(--pr-muted); font-size: .9rem; margin: 0 0 12px; }
.pr-pay-secure { text-align: center; color: var(--pr-muted); font-size: .85rem; margin-top: 24px; }
.pr-pay-badge {
  display: inline-block;
  padding: 4px 12px;
  background: var(--pr-bg);
  border-radius: 999px;
  font-size: .8rem;
  font-weight: 600;
  color: var(--pr-muted);
}
.pr-score-ok { color: var(--pr-success); font-weight: 800; font-size: 1.25rem; }
.pr-score-fail { color: var(--pr-danger); font-weight: 800; font-size: 1.25rem; }
.pr-response-ok { background: #dcfce7 !important; border-color: #86efac !important; }
.pr-response-bad { background: #fee2e2 !important; border-color: #fca5a5 !important; }
.pr-response-empty { background: var(--pr-bg) !important; }

/* Classroom — course content (lessons / modules) */
.pr-body--classroom .pr-main { width: 100%; max-width: none; padding-bottom: 48px; }
.pr-classroom-layout {
  display: flex;
  width: 100%;
  min-height: calc(100vh - var(--pr-header-h));
  align-items: stretch;
}
.pr-classroom-sidebar {
  width: 300px;
  flex-shrink: 0;
  background: linear-gradient(180deg, var(--pr-navy-dark), var(--pr-navy));
  color: #fff;
  padding: 24px 20px;
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.pr-classroom-main {
  flex: 1;
  width: 100%;
  padding: 0;
  min-width: 0;
  background: var(--pr-bg);
  overflow-y: auto;
}
.pr-course-sidebar__back {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: rgba(255, 255, 255, .9);
  font-size: .85rem;
  font-weight: 600;
  text-decoration: none;
  margin-bottom: 16px;
}
.pr-course-sidebar__back:hover { color: #fff; text-decoration: none; }
.pr-course-sidebar__thumb {
  width: 100%;
  aspect-ratio: 16/10;
  border-radius: 10px;
  background-size: cover;
  background-position: center;
  margin-bottom: 16px;
  border: 1px solid rgba(255, 255, 255, .15);
}
.pr-course-sidebar__progress-ring {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  margin: 0 auto 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: conic-gradient(#fff calc(var(--pr-progress) * 1%), rgba(255, 255, 255, .2) 0);
}
.pr-course-sidebar__progress-ring span {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: var(--pr-navy-dark);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: .8rem;
  font-weight: 800;
}
.pr-course-sidebar__title {
  margin: 0 0 6px;
  font-size: 1.05rem;
  font-weight: 800;
  line-height: 1.35;
  text-align: center;
}
.pr-course-sidebar__meta {
  margin: 0 0 12px;
  text-align: center;
  font-size: .82rem;
  opacity: .8;
}
.pr-course-sidebar__module {
  margin: 16px 0 0;
  padding-top: 16px;
  border-top: 1px solid rgba(255, 255, 255, .15);
  font-size: .88rem;
  font-weight: 700;
  text-align: center;
  opacity: .9;
}
.pr-progress-bar--sidebar { background: rgba(255, 255, 255, .2); }
.pr-progress-bar--sidebar .pr-progress-bar__fill { background: #fff; }

.pr-course-view {
  width: 100%;
  max-width: none;
  padding: 28px clamp(20px, 2.5vw, 36px) 48px;
  box-sizing: border-box;
}
.pr-course-view__header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
  margin-bottom: 32px;
  padding-bottom: 24px;
  border-bottom: 1px solid var(--pr-border);
}
.pr-course-view__label {
  display: inline-block;
  margin-bottom: 8px;
  font-size: .72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .08em;
  color: var(--pr-navy-dark);
}
.pr-course-view__header h1 {
  margin: 0 0 8px;
  font-size: clamp(1.35rem, 3vw, 1.75rem);
  color: var(--pr-navy);
  line-height: 1.25;
}
.pr-course-view__header p { margin: 0; color: var(--pr-muted); font-size: .95rem; }

.pr-course-section { margin-bottom: 40px; }
.pr-course-section__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 18px;
}
.pr-course-section__head h2 {
  margin: 0;
  font-size: 1.05rem;
  font-weight: 800;
  color: var(--pr-navy);
  display: flex;
  align-items: center;
  gap: 10px;
}
.pr-course-section__head h2 i { color: var(--pr-navy-dark); font-size: .95rem; }
.pr-course-section__head span { font-size: .82rem; color: var(--pr-muted); font-weight: 600; }

.pr-content-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(min(100%, 200px), 1fr));
  gap: 16px;
  width: 100%;
}
.pr-content-tile {
  position: relative;
  display: flex;
  flex-direction: column;
  min-height: 148px;
  padding: 18px;
  background: var(--pr-surface);
  border: 1px solid var(--pr-border);
  border-radius: 14px;
  text-decoration: none;
  color: inherit;
  transition: border-color .15s, box-shadow .15s, transform .15s;
  overflow: hidden;
}
.pr-content-tile:hover {
  border-color: var(--pr-navy-dark);
  box-shadow: var(--pr-shadow);
  transform: translateY(-2px);
  text-decoration: none;
  color: inherit;
}
.pr-content-tile.is-done { border-left: 4px solid var(--pr-success); }
.pr-content-tile.is-locked {
  opacity: .55;
  cursor: not-allowed;
  background: var(--pr-bg);
}
.pr-content-tile.is-certificate {
  border-color: rgba(8, 38, 56, .25);
  background: linear-gradient(145deg, rgba(8, 38, 56, .04), rgba(8, 38, 56, .08));
}
.pr-content-tile__icon {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: rgba(8, 38, 56, .08);
  color: var(--pr-navy-dark);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  margin-bottom: 14px;
  position: relative;
}
.pr-content-tile__icon.is-done { background: #dcfce7; color: var(--pr-success); }
.pr-content-tile__icon.is-locked { background: var(--pr-border); color: var(--pr-muted); }
.pr-content-tile__check {
  position: absolute;
  bottom: -4px;
  right: -4px;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: var(--pr-success);
  color: #fff;
  font-size: .55rem;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 2px solid var(--pr-surface);
}
.pr-content-tile__body { flex: 1; display: flex; flex-direction: column; }
.pr-content-tile__body h3 {
  margin: 0 0 6px;
  font-size: .92rem;
  font-weight: 700;
  color: var(--pr-navy);
  line-height: 1.35;
}
.pr-content-tile__body p {
  margin: 0;
  font-size: .78rem;
  color: var(--pr-muted);
}
.pr-content-tile__progress {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: auto;
  padding-top: 12px;
}
.pr-content-tile__progress .pr-progress-bar { flex: 1; margin: 0; height: 6px; }
.pr-content-tile__progress span {
  font-size: .72rem;
  font-weight: 800;
  color: var(--pr-navy-dark);
  min-width: 32px;
  text-align: right;
}

.pr-course-section,
.pr-course-forum { width: 100%; }
.pr-course-forum {
  background: var(--pr-surface);
  border: 1px solid var(--pr-border);
  border-radius: 14px;
  padding: 22px;
  margin-bottom: 16px;
}
.pr-course-forum h3 { margin: 0 0 8px; font-size: 1rem; color: var(--pr-navy); }
.pr-course-forum__desc { margin: 0 0 16px; color: var(--pr-muted); font-size: .9rem; }
.pr-course-forum__form { margin-top: 20px; }

@media (max-width: 900px) {
  .pr-classroom-layout { flex-direction: column; }
  .pr-classroom-sidebar {
    width: 100%;
    flex-direction: row;
    flex-wrap: wrap;
    align-items: center;
    padding: 16px 20px;
    gap: 12px;
  }
  .pr-course-sidebar__thumb { display: none; }
  .pr-course-sidebar__progress-ring { margin: 0; width: 56px; height: 56px; }
  .pr-course-sidebar__progress-ring span { width: 44px; height: 44px; font-size: .7rem; }
  .pr-course-sidebar__title { text-align: left; flex: 1; margin: 0; font-size: .95rem; }
  .pr-course-sidebar__meta, .pr-progress-bar--sidebar { display: none; }
  .pr-course-sidebar__module { width: 100%; margin: 0; padding-top: 8px; border-top: none; text-align: left; }
  .pr-content-grid { grid-template-columns: repeat(auto-fill, minmax(160px, 1fr)); }
}
.pr-breadcrumb {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: .85rem;
  color: var(--pr-muted);
  margin-bottom: 20px;
}
.pr-breadcrumb a { color: var(--pr-navy-dark); font-weight: 600; }
.pr-progress-bar {
  height: 8px;
  background: var(--pr-border);
  border-radius: 999px;
  overflow: hidden;
  margin: 12px 0 6px;
}
.pr-progress-bar__fill { height: 100%; background: linear-gradient(90deg, var(--pr-navy-dark), var(--pr-navy)); border-radius: 999px; transition: width .4s; }
.pr-module-list { display: flex; flex-direction: column; gap: 8px; }
.pr-module-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 14px 16px;
  background: var(--pr-surface);
  border: 1px solid var(--pr-border);
  border-radius: 10px;
  text-decoration: none;
  color: inherit;
  transition: border-color .15s, background .15s;
}
.pr-module-item:hover { border-color: var(--pr-navy-dark); background: rgba(8, 38, 56, .04); text-decoration: none; }
.pr-module-item.is-locked { opacity: .5; pointer-events: none; }
.pr-module-item.is-done { border-left: 4px solid var(--pr-success); }
.pr-module-item__title { font-weight: 600; font-size: .92rem; }
.pr-module-item__meta { font-size: .78rem; color: var(--pr-muted); }
.pr-section-label {
  font-size: .72rem;
  text-transform: uppercase;
  letter-spacing: .08em;
  color: var(--pr-muted);
  font-weight: 700;
  margin: 24px 0 10px;
}
/* Classroom — dashboard (/pier/classroom) */
.pr-body--classroom { background: var(--pr-bg); }

.pr-cr-hero {
  background: linear-gradient(145deg, var(--pr-navy-dark) 0%, var(--pr-navy) 55%, #0f4a6e 100%);
  color: #fff;
  padding: 36px 0 56px;
  margin-bottom: -28px;
  position: relative;
}
.pr-cr-hero::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -1px;
  height: 28px;
  background: var(--pr-bg);
  border-radius: 28px 28px 0 0;
}
.pr-cr-hero__inner {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 32px;
  flex-wrap: wrap;
  position: relative;
  z-index: 1;
}
.pr-cr-hero__label {
  display: inline-block;
  margin-bottom: 10px;
  padding: 4px 12px;
  border-radius: 999px;
  background: rgba(255, 255, 255, .12);
  font-size: .72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .08em;
}
.pr-cr-hero__copy h1 {
  margin: 0 0 8px;
  font-size: clamp(1.75rem, 4vw, 2.35rem);
  font-weight: 800;
  line-height: 1.15;
}
.pr-cr-hero__copy p { margin: 0; opacity: .88; font-size: 1rem; max-width: 420px; }
.pr-cr-hero__stats { display: flex; gap: 12px; flex-wrap: wrap; }
.pr-cr-stat {
  min-width: 110px;
  padding: 16px 20px;
  border-radius: 14px;
  background: rgba(255, 255, 255, .1);
  border: 1px solid rgba(255, 255, 255, .16);
  backdrop-filter: blur(4px);
}
.pr-cr-stat__value { display: block; font-size: 1.75rem; font-weight: 800; line-height: 1; }
.pr-cr-stat__label { display: block; margin-top: 6px; font-size: .78rem; opacity: .8; }

.pr-cr-main { padding-bottom: 24px; }

.pr-cr-continue {
  display: grid;
  grid-template-columns: minmax(200px, 280px) 1fr;
  gap: 0;
  margin-bottom: 40px;
  background: var(--pr-surface);
  border-radius: var(--pr-radius-lg);
  border: 1px solid var(--pr-border);
  box-shadow: var(--pr-shadow-lg);
  overflow: hidden;
}
.pr-cr-continue__media { position: relative; min-height: 200px; }
.pr-cr-continue__img {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
}
.pr-cr-continue__img--empty {
  background: linear-gradient(160deg, var(--pr-navy-dark), var(--pr-navy));
}
.pr-cr-ring {
  position: absolute;
  bottom: 16px;
  right: 16px;
  width: 64px;
  height: 64px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: conic-gradient(var(--pr-navy-dark) calc(var(--pr-progress) * 1%), var(--pr-border) 0);
  box-shadow: 0 4px 16px rgba(8, 38, 56, .25);
}
.pr-cr-ring span {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: .75rem;
  font-weight: 800;
  color: var(--pr-navy-dark);
}
.pr-cr-continue__body { padding: 28px 32px; display: flex; flex-direction: column; justify-content: center; }
.pr-cr-continue__eyebrow {
  font-size: .72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .06em;
  color: var(--pr-navy-dark);
  margin-bottom: 8px;
}
.pr-cr-continue__body h2 {
  margin: 0 0 16px;
  font-size: 1.35rem;
  color: var(--pr-navy);
  line-height: 1.3;
}
.pr-cr-continue__hint { margin: 8px 0 20px; font-size: .88rem; color: var(--pr-muted); }
.pr-progress-bar--lg { height: 10px; }

.pr-cr-section { margin-bottom: 40px; }
.pr-cr-section__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 20px;
  flex-wrap: wrap;
}
.pr-cr-section__head h2 {
  margin: 0;
  font-size: 1.2rem;
  color: var(--pr-navy);
  font-weight: 800;
}
.pr-cr-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: .88rem;
  font-weight: 700;
  color: var(--pr-navy-dark);
  text-decoration: none;
}
.pr-cr-link:hover { color: var(--pr-navy); text-decoration: none; }

.pr-cr-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 20px;
}
.pr-cr-card {
  background: var(--pr-surface);
  border: 1px solid var(--pr-border);
  border-radius: var(--pr-radius);
  overflow: hidden;
  transition: box-shadow .2s, transform .2s, border-color .2s;
}
.pr-cr-card:hover {
  box-shadow: var(--pr-shadow-lg);
  transform: translateY(-3px);
  border-color: rgba(8, 38, 56, .2);
}
.pr-cr-card--done { border-left: 4px solid var(--pr-success); }
.pr-cr-card__link {
  display: flex;
  flex-direction: column;
  height: 100%;
  color: inherit;
  text-decoration: none;
}
.pr-cr-card__link:hover { color: inherit; text-decoration: none; }
.pr-cr-card__thumb { position: relative; }
.pr-cr-card__img {
  aspect-ratio: 16/9;
  background-size: cover;
  background-position: center;
  background-color: var(--pr-bg);
}
.pr-cr-card__img--empty {
  background: linear-gradient(135deg, var(--pr-navy-dark), var(--pr-navy));
}
.pr-cr-card__status {
  position: absolute;
  top: 10px;
  left: 10px;
  padding: 4px 10px;
  border-radius: 999px;
  font-size: .68rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .04em;
  background: var(--pr-navy-dark);
  color: #fff;
}
.pr-cr-card__status.is-done { background: var(--pr-success); }
.pr-cr-card__body {
  padding: 18px;
  flex: 1;
  display: flex;
  flex-direction: column;
}
.pr-cr-card__body h3 {
  margin: 0 0 14px;
  font-size: .98rem;
  font-weight: 700;
  color: var(--pr-navy);
  line-height: 1.35;
  flex: 1;
}
.pr-cr-card__progress {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 14px;
}
.pr-cr-card__progress .pr-progress-bar { flex: 1; margin: 0; }
.pr-cr-card__pct {
  font-size: .78rem;
  font-weight: 800;
  color: var(--pr-navy-dark);
  min-width: 36px;
  text-align: right;
}
.pr-cr-card__action {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: .85rem;
  font-weight: 700;
  color: var(--pr-navy-dark);
}
.pr-cr-card__action i { font-size: .75rem; transition: transform .15s; }
.pr-cr-card:hover .pr-cr-card__action i { transform: translateX(3px); }

.pr-cr-empty {
  text-align: center;
  padding: 64px 24px;
  background: var(--pr-surface);
  border-radius: var(--pr-radius-lg);
  border: 1px dashed var(--pr-border);
}
.pr-cr-empty__icon {
  width: 72px;
  height: 72px;
  margin: 0 auto 20px;
  border-radius: 50%;
  background: rgba(8, 38, 56, .08);
  color: var(--pr-navy-dark);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.75rem;
}
.pr-cr-empty h2 { margin: 0 0 10px; color: var(--pr-navy); font-size: 1.25rem; }
.pr-cr-empty p { margin: 0 0 24px; color: var(--pr-muted); max-width: 400px; margin-left: auto; margin-right: auto; }

.pr-cr-orders-list { display: flex; flex-direction: column; gap: 10px; }
.pr-cr-order {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 16px 20px;
  background: var(--pr-surface);
  border: 1px solid var(--pr-border);
  border-radius: 12px;
  text-decoration: none;
  color: inherit;
  transition: border-color .15s, box-shadow .15s;
}
.pr-cr-order:hover {
  border-color: var(--pr-navy-dark);
  box-shadow: var(--pr-shadow);
  text-decoration: none;
  color: inherit;
}
.pr-cr-order__info { flex: 1; min-width: 0; }
.pr-cr-order__info strong { display: block; color: var(--pr-navy); font-size: .95rem; }
.pr-cr-order__info span { font-size: .82rem; color: var(--pr-muted); }
.pr-cr-order__pill {
  padding: 4px 12px;
  border-radius: 999px;
  font-size: .72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .03em;
}
.pr-cr-order__pill.is-paid { background: #dcfce7; color: #166534; }
.pr-cr-order__pill.is-pending { background: #fef3c7; color: #92400e; }
.pr-cr-order__chevron { color: var(--pr-muted); font-size: .8rem; }

@media (max-width: 768px) {
  .pr-cr-continue { grid-template-columns: 1fr; }
  .pr-cr-continue__media { min-height: 160px; }
  .pr-cr-continue__body { padding: 22px 20px; }
  .pr-cr-hero__inner { flex-direction: column; align-items: flex-start; }
}

/* Lesson viewer — full screen (AVA-style) */
.pr-body--lesson { overflow: hidden; }
.pr-lesson-shell { height: 100vh; display: flex; flex-direction: column; background: var(--pr-bg); }
.pr-lesson-view { flex: 1; display: flex; flex-direction: column; min-height: 0; }
.pr-lesson-topbar {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 0 16px;
  height: 52px;
  background: var(--pr-navy-dark);
  color: #fff;
  border-bottom: 1px solid rgba(255, 255, 255, .1);
}
.pr-lesson-topbar__left { display: flex; align-items: center; gap: 8px; min-width: 0; }
.pr-lesson-topbar__back {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: #fff;
  font-weight: 600;
  font-size: .88rem;
  text-decoration: none;
  white-space: nowrap;
  max-width: min(220px, 40vw);
}
.pr-lesson-topbar__back span { overflow: hidden; text-overflow: ellipsis; }
.pr-lesson-topbar__back:hover { color: #fff; opacity: .9; text-decoration: none; }
.pr-lesson-topbar__title {
  flex: 1;
  margin: 0;
  font-size: .95rem;
  font-weight: 700;
  text-align: center;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  padding: 0 8px;
}
.pr-lesson-topbar__actions { flex-shrink: 0; display: flex; align-items: center; }
.pr-lesson-menu-btn {
  display: none;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  border: 1px solid rgba(255, 255, 255, .25);
  border-radius: 8px;
  background: transparent;
  color: #fff;
  cursor: pointer;
}
.pr-lesson-block { flex: 1; display: flex; min-height: 0; }
.pr-lesson-sidebar {
  width: 300px;
  flex-shrink: 0;
  display: flex;
  flex-direction: column;
  background: var(--pr-surface);
  border-right: 1px solid var(--pr-border);
  overflow: hidden;
}
.pr-lesson-sidebar__title {
  flex-shrink: 0;
  padding: 16px 20px;
  background: var(--pr-navy-dark);
  color: #fff;
  font-weight: 700;
  font-size: .92rem;
  line-height: 1.35;
}
.pr-lesson-nav { flex: 1; overflow-y: auto; }
.pr-lesson-nav-item {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  padding: 14px 16px;
  border-bottom: 1px solid var(--pr-border);
  color: var(--pr-text);
  text-decoration: none;
  font-size: .88rem;
  line-height: 1.4;
  transition: background .12s;
}
.pr-lesson-nav-item:hover { background: rgba(8, 38, 56, .04); color: var(--pr-navy-dark); text-decoration: none; }
.pr-lesson-nav-item.is-active {
  background: rgba(8, 38, 56, .08);
  border-left: 4px solid var(--pr-navy-dark);
  padding-left: 12px;
  font-weight: 700;
  color: var(--pr-navy-dark);
}
.pr-lesson-nav-item.is-done .pr-lesson-nav-bullet { color: var(--pr-success); }
.pr-lesson-nav-bullet { flex-shrink: 0; width: 14px; font-size: .7rem; line-height: 1.6; color: var(--pr-muted); }
.pr-lesson-main {
  flex: 1;
  overflow-y: auto;
  background: #fff;
  padding: 24px clamp(16px, 4vw, 56px) 48px;
}
.pr-lesson-main__head {
  margin-bottom: 24px;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--pr-border);
}
.pr-lesson-main__head h2 { margin: 0; color: var(--pr-navy); font-size: 1.25rem; }
.pr-lesson-sections { display: flex; flex-direction: column; gap: 24px; }
.pr-lesson-section { width: 100%; }
.pr-lesson-section-title {
  margin: 0 0 12px;
  color: var(--pr-navy-dark);
  font-size: 1.1rem;
  text-align: center;
}
.pr-lesson-text { line-height: 1.7; color: var(--pr-text); }
.pr-lesson-text img { max-width: 100%; height: auto; }
.pr-lesson-media iframe,
.pr-lesson-embed iframe,
.pr-lesson-h5p iframe { width: 100%; border: none; border-radius: 8px; }
.pr-lesson-media--youtube iframe { aspect-ratio: 16/9; height: auto; }
.pr-lesson-media--iframe { position: relative; min-height: 480px; }
.pr-lesson-media--iframe iframe { position: absolute; inset: 0; height: 100%; min-height: 480px; }

/* Cloudex — leitor em tela ampla (desktop) / adaptado (mobile) */
.pr-lesson-sections--cloudex { gap: 20px; }
.pr-lesson-main:has(.pr-lesson-sections--cloudex) {
  padding-left: clamp(12px, 2vw, 28px);
  padding-right: clamp(12px, 2vw, 28px);
}
.pr-lesson-media--cloudex {
  position: relative;
  width: 100%;
  border-radius: 10px;
  overflow: hidden;
  background: var(--pr-bg);
  border: 1px solid var(--pr-border);
  box-shadow: var(--pr-shadow);
}
.pr-lesson-media--cloudex iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: none;
}
@media (min-width: 901px) {
  .pr-lesson-media--cloudex {
    height: calc(100vh - 132px);
    min-height: 520px;
    max-height: 920px;
  }
}
@media (max-width: 900px) {
  .pr-lesson-media--cloudex {
    height: calc(100dvh - 108px);
    min-height: min(72vh, 640px);
    border-radius: 8px;
  }
  .pr-lesson-main:has(.pr-lesson-sections--cloudex) {
    padding-left: 12px;
    padding-right: 12px;
    padding-bottom: 24px;
  }
}
.pr-lesson-h5p { border-radius: 8px; overflow: hidden; }
.pr-lesson-audio audio { width: 100%; }
.pr-lesson-error {
  padding: 48px 24px;
  text-align: center;
  color: var(--pr-muted);
  background: var(--pr-bg);
  border-radius: 8px;
}
.pr-lesson-single { flex: 1; overflow-y: auto; background: #fff; }
.pr-lesson-single__inner {
  max-width: 900px;
  margin: 0 auto;
  padding: 32px clamp(16px, 4vw, 48px) 48px;
  line-height: 1.7;
}
.pr-lesson-single__inner iframe { width: 100%; max-width: 100%; }
.pr-lesson-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, .45);
  z-index: 200;
}
@media (max-width: 900px) {
  .pr-lesson-menu-btn { display: inline-flex; }
  .pr-lesson-sidebar {
    position: fixed;
    top: 52px;
    left: 0;
    bottom: 0;
    z-index: 201;
    transform: translateX(-100%);
    transition: transform .25s ease;
    box-shadow: var(--pr-shadow-lg);
  }
  .pr-lesson-sidebar.is-open { transform: translateX(0); }
  .pr-lesson-topbar__back span { display: none; }
}

/* Assessment */
.pr-assessment { max-width: 800px; margin: 0 auto; }
.pr-assessment__option {
  border: 1px solid var(--pr-border);
  border-radius: 10px;
  padding: 14px;
  margin: 10px 0;
}
.pr-assessment .fOption {
  display: block;
  margin: 0;
  cursor: pointer;
}
.pr-assessment .fOption > input[type="radio"] {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}
.pr-assessment .fOption > input + div {
  cursor: pointer;
  border: 1px solid var(--pr-border);
  border-radius: 8px;
  padding: 10px 14px;
  margin: 6px 0;
  transition: background .12s;
}
.pr-assessment .fOption > input:checked + div {
  background: rgba(8, 38, 56, .06);
  border-color: var(--pr-navy-dark);
  font-weight: 600;
}
.pr-assessment__option--saved { border-color: #2d8a4e; box-shadow: 0 0 0 1px #2d8a4e33; }
.pr-assessment__option--error { border-color: var(--pr-danger); box-shadow: 0 0 0 1px #c0392b33; }
.pr-save-status {
  text-align: center;
  font-size: .9rem;
  font-weight: 600;
  min-height: 1.4em;
  margin-bottom: 12px;
}
.pr-save-status--ok { color: #2d8a4e; }
.pr-save-status--error { color: var(--pr-danger); }
.pr-connection-alert {
  position: fixed;
  top: 90px;
  left: 50%;
  transform: translateX(-50%);
  background: #c0392be6;
  color: #fff;
  font-weight: 700;
  padding: 10px 24px;
  border-radius: 10px;
  z-index: 60;
  box-shadow: var(--pr-shadow);
}
.pr-countdown-timer {
  position: fixed;
  top: 90px;
  right: 16px;
  background: #fff;
  padding: 10px 16px;
  border-radius: 10px;
  box-shadow: var(--pr-shadow);
  font-weight: 700;
  z-index: 50;
  color: var(--pr-navy-dark);
}
.pr-assessment .fOption.oSelected > div {
  background: rgba(8, 38, 56, .06);
  border: 1px solid var(--pr-navy-dark);
  border-radius: 8px;
  padding: 10px 14px;
  margin: 6px 0;
  font-weight: 600;
}
.pr-attempts-summary {
  background: var(--pr-bg);
  border: 1px solid var(--pr-border);
  border-radius: 10px;
  padding: 14px 16px;
  margin-bottom: 24px;
}
.pr-attempts-summary__title {
  font-size: .85rem;
  font-weight: 700;
  color: var(--pr-muted);
  text-transform: uppercase;
  letter-spacing: .04em;
  margin-bottom: 10px;
}
.pr-attempts-summary__list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.pr-attempts-summary__best {
  margin: 12px 0 0;
  font-size: .9rem;
  color: var(--pr-muted);
}
.pr-attempt-chip {
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  gap: 2px;
  padding: 8px 14px;
  border-radius: 8px;
  border: 1px solid var(--pr-border);
  background: #fff;
  text-decoration: none;
  color: var(--pr-navy-dark);
  font-size: .82rem;
  transition: border-color .12s, box-shadow .12s;
}
.pr-attempt-chip:hover { border-color: var(--pr-navy-dark); }
.pr-attempt-chip.is-active { border-color: var(--pr-navy-dark); box-shadow: 0 0 0 1px var(--pr-navy-dark); }
.pr-attempt-chip--best { border-color: #2d8a4e; background: #2d8a4e0d; }
.pr-attempt-chip strong { font-size: 1rem; }

/* Forum */
.pr-forum-post {
  background: var(--pr-bg);
  border-radius: 10px;
  padding: 16px;
  margin: 12px 0;
}
.pr-forum-reply { margin-left: 24px; border-left: 3px solid var(--pr-navy-dark); padding-left: 16px; }

/* Empty state */
.pr-empty {
  text-align: center;
  padding: 64px 24px;
  color: var(--pr-muted);
}
.pr-empty h3 { color: var(--pr-navy); margin: 0 0 8px; }

/* Success page */
.pr-success-icon {
  width: 72px; height: 72px;
  border-radius: 50%;
  background: var(--pr-green-light);
  color: var(--pr-green);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  margin: 0 auto 20px;
}

/* Legacy lesson classes — restyled */
.eadBtn, .eadSubmitBtn, .pSubmitBtn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 11px 22px;
  border-radius: 999px;
  font-weight: 700;
  border: none;
  cursor: pointer;
  background: var(--pr-navy-dark);
  color: #fff;
  font-family: inherit;
  text-decoration: none;
}
.eadBtn:hover, .eadSubmitBtn:hover, .pSubmitBtn:hover { background: var(--pr-navy); }

/* Horizontal scroll row */
.pr-scroll-section { position: relative; }
.pr-scroll-track {
  display: flex;
  gap: 20px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  padding-bottom: 8px;
  scrollbar-width: thin;
}
.pr-scroll-track > * { scroll-snap-align: start; flex: 0 0 min(280px, 80vw); }
.pr-scroll-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 1px solid var(--pr-border);
  background: var(--pr-surface);
  cursor: pointer;
  z-index: 2;
  box-shadow: var(--pr-shadow);
  font-size: 1.2rem;
}
.pr-scroll-btn--left { left: -8px; }
.pr-scroll-btn--right { right: -8px; }
.pr-scroll-section .pr-course-card { flex: 0 0 280px; }
