/**
 * IPET Kreator v7.0 — Motyw V2 „Nordic Calm” (Skandynawska prostota, Master-Detail Klasa, kafelki szkół)
 * Wszystkie style zamknięte ściśle w .ipet-app.is-theme-v2.
 */
.ipet-app.is-theme-v2 {
  --v2-navy: #1c3d5a;
  --v2-navy-deep: #122a40;
  --v2-teal: #167a6e;
  --v2-teal-soft: #e6f5f2;
  --v2-coral: #d97236;
  --v2-coral-soft: #fef2ea;
  --v2-mist: #eff3f7;
  --v2-surface: #ffffff;
  --v2-ink: #102030;
  --v2-muted: #526477;
  --v2-line: #d6e0ea;
  --v2-line-soft: #e7edf4;

  max-width: 1140px;
  padding: 24px 26px 36px;
  background: var(--v2-mist);
  border: 1px solid #dbe4ee;
  border-radius: 24px;
  color: var(--v2-ink);
  font-size: 15.8px;
  box-shadow: 0 18px 48px rgba(18, 42, 64, 0.08);
}

.ipet-app.is-theme-v2 .ipet-bg-deco {
  display: none;
}

/* Miękkie pastelowe kule w tle (animowane przez GSAP) */
.ipet-app.is-theme-v2 .ipet-v2-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(42px);
  pointer-events: none;
  z-index: 0;
  opacity: 0.65;
}

.ipet-app.is-theme-v2 .ipet-v2-orb-1 {
  width: 280px;
  height: 280px;
  top: -80px;
  right: -60px;
  background: #cde4f7;
}

.ipet-app.is-theme-v2 .ipet-v2-orb-2 {
  width: 240px;
  height: 240px;
  bottom: -70px;
  left: -60px;
  background: #cdeee6;
}

.ipet-app.is-theme-v2 .ipet-v2-orb-3 {
  width: 190px;
  height: 190px;
  top: 42%;
  right: 12%;
  background: #fde7d2;
  opacity: 0.45;
}

/* ==================== SZKLANY NAGŁÓWEK + PASEK POSTĘPU GSAP ==================== */
.ipet-app.is-theme-v2 .ipet-v2-shell-head {
  position: relative;
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(12px);
  border: 1px solid rgba(214, 224, 234, 0.95);
  border-radius: 18px;
  overflow: hidden;
  margin-bottom: 20px;
  box-shadow: 0 8px 24px rgba(18, 42, 64, 0.06);
}

.ipet-app.is-theme-v2 .ipet-v2-head-top {
  padding: 15px 20px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  border-bottom: 1px solid var(--v2-line-soft);
}

.ipet-app.is-theme-v2 .ipet-v2-brand {
  display: flex;
  align-items: center;
  gap: 12px;
}

.ipet-app.is-theme-v2 .ipet-v2-mark {
  width: 44px;
  height: 44px;
  border-radius: 13px;
  background: linear-gradient(135deg, #1c3d5a 0%, #167a6e 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  box-shadow: 0 6px 16px rgba(28, 61, 90, 0.22);
}

.ipet-app.is-theme-v2 .ipet-v2-mark svg {
  width: 26px;
  height: 26px;
}

.ipet-app.is-theme-v2 .ipet-v2-brand-name {
  font-size: 18.5px;
  font-weight: 800;
  color: var(--v2-navy-deep);
  letter-spacing: -0.02em;
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}

.ipet-app.is-theme-v2 .ipet-v2-mode-pill {
  font-size: 11.5px;
  font-weight: 700;
  padding: 2.5px 10px;
  border-radius: 999px;
  background: var(--v2-teal-soft);
  color: var(--v2-teal);
}

.ipet-app.is-theme-v2 .ipet-v2-mode-pill.is-report {
  background: var(--v2-coral-soft);
  color: #b4531c;
}

.ipet-app.is-theme-v2 .ipet-v2-brand-sub {
  font-size: 12.8px;
  color: var(--v2-muted);
  margin-top: 2px;
}

.ipet-app.is-theme-v2 .ipet-v2-toolbar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 7px;
}

.ipet-app.is-theme-v2 .ipet-v2-tbtn {
  appearance: none;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 13px;
  border-radius: 10px;
  border: 1.5px solid var(--v2-line);
  background: #ffffff;
  color: var(--v2-navy-deep);
  font-family: inherit;
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  white-space: nowrap;
  transition: all 0.16s ease;
}

.ipet-app.is-theme-v2 .ipet-v2-tbtn:hover {
  border-color: var(--v2-teal);
  background: var(--v2-teal-soft);
  color: var(--v2-navy-deep);
  transform: translateY(-1px);
}

.ipet-app.is-theme-v2 .ipet-v2-tbtn.is-primary {
  background: var(--v2-navy);
  border-color: var(--v2-navy);
  color: #ffffff;
}

.ipet-app.is-theme-v2 .ipet-v2-tbtn.is-primary:hover {
  background: var(--v2-navy-deep);
  color: #ffffff;
}

.ipet-app.is-theme-v2 .ipet-v2-tbtn.is-rodo {
  background: #f0f9f7;
  border-color: #bee3dc;
  color: #125d54;
}

/* Dolna belka z 3 krokami + ciągły pasek postępu GSAP */
.ipet-app.is-theme-v2 .ipet-v2-steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  padding: 6px 12px;
  gap: 6px;
  background: #f9fbfd;
}

.ipet-app.is-theme-v2 .ipet-v2-step-btn {
  appearance: none;
  background: transparent;
  border: none;
  border-radius: 10px;
  padding: 9px 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  cursor: pointer;
  font-family: inherit;
  color: var(--v2-muted);
  transition: all 0.16s ease;
}

.ipet-app.is-theme-v2 .ipet-v2-step-btn:hover {
  background: #edf3f8;
  color: var(--v2-navy-deep);
}

.ipet-app.is-theme-v2 .ipet-v2-step-btn.is-active {
  background: #ffffff;
  color: var(--v2-navy-deep);
  box-shadow: 0 2px 10px rgba(18, 42, 64, 0.07);
}

.ipet-app.is-theme-v2 .ipet-v2-step-dot {
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: #e3ebf2;
  color: var(--v2-muted);
  font-size: 12.5px;
  font-weight: 800;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.ipet-app.is-theme-v2 .ipet-v2-step-btn.is-active .ipet-v2-step-dot {
  background: var(--v2-navy);
  color: #ffffff;
}

.ipet-app.is-theme-v2 .ipet-v2-step-btn.is-done .ipet-v2-step-dot {
  background: var(--v2-teal);
  color: #ffffff;
}

.ipet-app.is-theme-v2 .ipet-v2-step-name {
  font-size: 13.8px;
  font-weight: 700;
}

.ipet-app.is-theme-v2 .ipet-v2-progress-track {
  height: 4px;
  background: #e4ecf3;
  width: 100%;
  overflow: hidden;
}

.ipet-app.is-theme-v2 .ipet-v2-progress-fill {
  height: 100%;
  width: 33.33%;
  background: linear-gradient(90deg, #1c3d5a 0%, #167a6e 100%);
  border-radius: 0 3px 3px 0;
}

/* ==================== KROK 1: PRZESTRONNE KAFELKI ==================== */
.ipet-app.is-theme-v2 .ipet-v2-card {
  background: var(--v2-surface);
  border: 1px solid var(--v2-line);
  border-radius: 20px;
  padding: 28px 32px;
  box-shadow: 0 12px 34px rgba(18, 42, 64, 0.06);
}

.ipet-app.is-theme-v2 .ipet-v2-h2 {
  font-size: 22px;
  font-weight: 800;
  color: var(--v2-navy-deep);
  letter-spacing: -0.02em;
  margin-bottom: 5px;
}

.ipet-app.is-theme-v2 .ipet-v2-lead {
  font-size: 14.8px;
  color: var(--v2-muted);
  margin-bottom: 22px;
}

.ipet-app.is-theme-v2 .ipet-v2-section {
  margin-top: 22px;
  padding-top: 22px;
  border-top: 1px solid var(--v2-line-soft);
}

.ipet-app.is-theme-v2 .ipet-v2-section:first-child {
  margin-top: 0;
  padding-top: 0;
  border-top: none;
}

.ipet-app.is-theme-v2 .ipet-v2-sec-kicker {
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--v2-teal);
  margin-bottom: 4px;
}

.ipet-app.is-theme-v2 .ipet-v2-sec-title {
  font-size: 15.5px;
  font-weight: 700;
  color: var(--v2-navy-deep);
  margin-bottom: 12px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
}

/* Karty trybu w V2 */
.ipet-app.is-theme-v2 .ipet-v2-mode-cards {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px;
}

.ipet-app.is-theme-v2 .ipet-v2-mode-card {
  position: relative;
  appearance: none;
  display: flex;
  align-items: flex-start;
  gap: 15px;
  text-align: left;
  padding: 20px;
  border-radius: 16px;
  border: 2px solid var(--v2-line);
  background: #fbfdff;
  cursor: pointer;
  font-family: inherit;
  transition: all 0.18s ease;
}

.ipet-app.is-theme-v2 .ipet-v2-mode-card:hover {
  border-color: #93c4bd;
  transform: translateY(-2px);
  box-shadow: 0 10px 24px rgba(18, 42, 64, 0.08);
}

.ipet-app.is-theme-v2 .ipet-v2-mode-card.is-active {
  border-color: var(--v2-navy);
  background: linear-gradient(135deg, #edf5fb 0%, #ffffff 100%);
  box-shadow: 0 10px 26px rgba(28, 61, 90, 0.13);
}

.ipet-app.is-theme-v2 .ipet-v2-mode-card.is-report.is-active {
  border-color: var(--v2-coral);
  background: linear-gradient(135deg, #fff3eb 0%, #ffffff 100%);
  box-shadow: 0 10px 26px rgba(217, 114, 54, 0.14);
}

.ipet-app.is-theme-v2 .ipet-v2-mode-icon {
  width: 46px;
  height: 46px;
  border-radius: 13px;
  background: #ffffff;
  border: 1px solid var(--v2-line);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  flex-shrink: 0;
}

.ipet-app.is-theme-v2 .ipet-v2-mode-t {
  display: block;
  font-size: 16px;
  font-weight: 800;
  color: var(--v2-navy-deep);
  margin-bottom: 4px;
}

.ipet-app.is-theme-v2 .ipet-v2-mode-d {
  display: block;
  font-size: 13.2px;
  color: var(--v2-muted);
  line-height: 1.45;
}

/* Kafelkowy wybór etapu szkoły (zamiast <select>!) */
.ipet-app.is-theme-v2 .ipet-v2-stage-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
}

.ipet-app.is-theme-v2 .ipet-v2-stage-tile {
  appearance: none;
  display: flex;
  align-items: center;
  gap: 10px;
  text-align: left;
  padding: 12px 14px;
  border-radius: 13px;
  border: 1.5px solid var(--v2-line);
  background: #f9fbfd;
  color: var(--v2-ink);
  font-family: inherit;
  font-size: 13.5px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.16s ease;
}

.ipet-app.is-theme-v2 .ipet-v2-stage-tile:hover {
  border-color: var(--v2-teal);
  background: var(--v2-teal-soft);
}

.ipet-app.is-theme-v2 .ipet-v2-stage-tile.is-on {
  border-color: var(--v2-navy);
  background: var(--v2-navy);
  color: #ffffff;
  box-shadow: 0 6px 16px rgba(28, 61, 90, 0.22);
}

.ipet-app.is-theme-v2 .ipet-v2-stage-ico {
  font-size: 18px;
  line-height: 1;
  flex-shrink: 0;
}

.ipet-app.is-theme-v2 .ipet-v2-grid-2 {
  display: grid;
  grid-template-columns: 1.35fr 0.85fr;
  gap: 14px;
}

/* Przyciski i pigułki w V2 */
.ipet-app.is-theme-v2 .ipet-pill {
  padding: 8.5px 14px;
  font-size: 13.6px;
  border-radius: 11px;
  background: #f8fafc;
  border: 1.5px solid var(--v2-line);
  color: var(--v2-ink);
}

.ipet-app.is-theme-v2 .ipet-pill.is-sm {
  padding: 7px 12px;
  font-size: 13px;
}

.ipet-app.is-theme-v2 .ipet-pill:hover {
  border-color: var(--v2-teal);
  background: var(--v2-teal-soft);
  color: var(--v2-navy-deep);
}

.ipet-app.is-theme-v2 .ipet-pill.is-on {
  background: var(--v2-teal);
  border-color: var(--v2-teal);
  color: #ffffff;
  box-shadow: 0 4px 12px rgba(22, 122, 110, 0.24);
}

.ipet-app.is-theme-v2 .ipet-pill.is-cond.is-on {
  background: var(--v2-navy);
  border-color: var(--v2-navy);
  box-shadow: 0 4px 12px rgba(28, 61, 90, 0.22);
}

.ipet-app.is-theme-v2 .ipet-pill.is-strength.is-on {
  background: #147a63;
  border-color: #147a63;
}

.ipet-app.is-theme-v2 .ipet-pill.is-weakness.is-on {
  background: #c86428;
  border-color: #c86428;
}

.ipet-app.is-theme-v2 .ipet-btn-primary {
  background: var(--v2-navy);
  box-shadow: 0 6px 18px rgba(28, 61, 90, 0.22);
}

.ipet-app.is-theme-v2 .ipet-btn-primary:hover {
  background: var(--v2-navy-deep);
}

.ipet-app.is-theme-v2 .ipet-btn-warm {
  background: var(--v2-coral);
  box-shadow: 0 6px 18px rgba(217, 114, 54, 0.24);
}

.ipet-app.is-theme-v2 .ipet-btn-warm:hover {
  background: #bd5d24;
}

/* ==================== KROK 2: MASTER-DETAIL KLASA ==================== */
.ipet-app.is-theme-v2 .ipet-v2-md {
  display: grid;
  grid-template-columns: 270px minmax(0, 1fr);
  gap: 20px;
  align-items: start;
}

.ipet-app.is-theme-v2 .ipet-v2-roster {
  position: sticky;
  top: 18px;
  background: #ffffff;
  border: 1px solid var(--v2-line);
  border-radius: 18px;
  padding: 16px;
  box-shadow: 0 8px 24px rgba(18, 42, 64, 0.05);
}

.ipet-app.is-theme-v2 .ipet-v2-roster-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 12px;
}

.ipet-app.is-theme-v2 .ipet-v2-roster-title {
  font-size: 14px;
  font-weight: 800;
  color: var(--v2-navy-deep);
}

.ipet-app.is-theme-v2 .ipet-v2-roster-list {
  display: flex;
  flex-direction: column;
  gap: 7px;
  margin-bottom: 12px;
  max-height: 460px;
  overflow-y: auto;
}

.ipet-app.is-theme-v2 .ipet-v2-stu-row {
  appearance: none;
  width: 100%;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 11px;
  border-radius: 12px;
  border: 1.5px solid var(--v2-line-soft);
  background: #f9fbfd;
  text-align: left;
  cursor: pointer;
  font-family: inherit;
  transition: all 0.15s ease;
}

.ipet-app.is-theme-v2 .ipet-v2-stu-row:hover {
  border-color: #9ec8c1;
  background: #f2faf8;
}

.ipet-app.is-theme-v2 .ipet-v2-stu-row.is-active {
  border-color: var(--v2-teal);
  background: var(--v2-teal-soft);
  box-shadow: 0 4px 12px rgba(22, 122, 110, 0.14);
}

.ipet-app.is-theme-v2 .ipet-v2-avatar {
  width: 34px;
  height: 34px;
  border-radius: 10px;
  background: #dde7f0;
  color: var(--v2-navy-deep);
  font-size: 12.5px;
  font-weight: 800;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.ipet-app.is-theme-v2 .ipet-v2-stu-row.is-active .ipet-v2-avatar {
  background: var(--v2-teal);
  color: #ffffff;
}

.ipet-app.is-theme-v2 .ipet-v2-row-info {
  min-width: 0;
  flex: 1;
}

.ipet-app.is-theme-v2 .ipet-v2-row-name {
  display: block;
  font-size: 13.5px;
  font-weight: 700;
  color: var(--v2-ink);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.ipet-app.is-theme-v2 .ipet-v2-row-sub {
  display: block;
  font-size: 11.5px;
  color: var(--v2-muted);
  margin-top: 1px;
}

.ipet-app.is-theme-v2 .ipet-v2-roster-btns {
  display: flex;
  flex-direction: column;
  gap: 7px;
}

/* 3-kartowy wybór postępu (światła drogowe w sprawozdaniu V2) */
.ipet-app.is-theme-v2 .ipet-v2-prog-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
}

.ipet-app.is-theme-v2 .ipet-v2-prog-card {
  appearance: none;
  text-align: left;
  padding: 12px 13px;
  border-radius: 12px;
  border: 1.5px solid var(--v2-line);
  background: #ffffff;
  cursor: pointer;
  font-family: inherit;
  transition: all 0.16s ease;
}

.ipet-app.is-theme-v2 .ipet-v2-prog-card:hover {
  border-color: var(--v2-teal);
  transform: translateY(-1px);
}

.ipet-app.is-theme-v2 .ipet-v2-prog-card.is-on {
  border-color: var(--v2-teal);
  background: var(--v2-teal-soft);
  box-shadow: 0 4px 12px rgba(22, 122, 110, 0.14);
}

.ipet-app.is-theme-v2 .ipet-v2-prog-card.is-warn.is-on {
  border-color: var(--v2-coral);
  background: var(--v2-coral-soft);
}

.ipet-app.is-theme-v2 .ipet-v2-prog-title {
  display: block;
  font-size: 13.5px;
  font-weight: 700;
  color: var(--v2-navy-deep);
}

.ipet-app.is-theme-v2 .ipet-v2-prog-desc {
  display: block;
  font-size: 11.8px;
  color: var(--v2-muted);
  margin-top: 3px;
  line-height: 1.35;
}

/* ==================== KROK 3: GALERIA PODGLĄDU V2 ==================== */
.ipet-app.is-theme-v2 .ipet-v2-export-bar {
  background: #ffffff;
  border: 1.5px solid #c9d9e8;
  border-radius: 18px;
  padding: 20px 24px;
  margin-bottom: 18px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  box-shadow: 0 10px 28px rgba(18, 42, 64, 0.07);
}

.ipet-app.is-theme-v2 .ipet-v2-preview-grid {
  display: grid;
  grid-template-columns: 235px minmax(0, 1fr);
  gap: 18px;
  align-items: start;
}

.ipet-app.is-theme-v2 .ipet-v2-preview-grid.is-single {
  grid-template-columns: 1fr;
}

.ipet-app.is-theme-v2 .ipet-sheet-wrap {
  background: #e3eaf1;
  border: 1px solid #cfdbe7;
  border-radius: 16px;
  padding: 22px 16px;
}

.ipet-app.is-theme-v2 .ipet-sheet {
  box-shadow: 0 14px 36px rgba(18, 42, 64, 0.14);
}

/* Responsywność V2 */
@media (max-width: 960px) {
  .ipet-app.is-theme-v2 .ipet-v2-md,
  .ipet-app.is-theme-v2 .ipet-v2-preview-grid {
    grid-template-columns: 1fr;
  }
  .ipet-app.is-theme-v2 .ipet-v2-roster {
    position: static;
  }
  .ipet-app.is-theme-v2 .ipet-v2-roster-list {
    flex-direction: row;
    overflow-x: auto;
    max-height: none;
    padding-bottom: 4px;
  }
  .ipet-app.is-theme-v2 .ipet-v2-stu-row {
    min-width: 195px;
    width: auto;
  }
  .ipet-app.is-theme-v2 .ipet-v2-roster-btns {
    flex-direction: row;
    flex-wrap: wrap;
  }
}

@media (max-width: 760px) {
  .ipet-app.is-theme-v2 {
    padding: 14px 12px 26px;
  }
  .ipet-app.is-theme-v2 .ipet-v2-card {
    padding: 20px 16px;
  }
  .ipet-app.is-theme-v2 .ipet-v2-steps,
  .ipet-app.is-theme-v2 .ipet-v2-mode-cards,
  .ipet-app.is-theme-v2 .ipet-v2-stage-grid,
  .ipet-app.is-theme-v2 .ipet-v2-grid-2,
  .ipet-app.is-theme-v2 .ipet-v2-prog-cards {
    grid-template-columns: 1fr;
  }
}
/**
 * IPET Kreator v8.0.1 — Motyw V3 („Ciepła Klasa”):
 * Układ i ergonomia Master-Detail Klasa + kafelki szkół + GSAP
 * + bogatsza, bardziej nasycona ciepła paleta (ciepły pergamin #f4eadb, głęboka zieleń #235949, nasycony miód/bursztyn #d4781a).
 */
.ipet-app.is-theme-v2.is-theme-v3 {
  --v2-navy: #235949;
  --v2-navy-deep: #184034;
  --v2-teal: #235949;
  --v2-teal-soft: #e4f1eb;
  --v2-coral: #d4781a;
  --v2-coral-soft: #fcebd0;
  --v2-mist: #f4eadb;
  --v2-surface: #fffdf9;
  --v2-ink: #1e2420;
  --v2-muted: #5c574d;
  --v2-line: #d8c6ae;
  --v2-line-soft: #e8dbc8;

  background: linear-gradient(180deg, #f6ede0 0%, #f1e4d1 100%);
  border-color: #dfd0ba;
  box-shadow: 0 16px 42px rgba(102, 65, 22, 0.11);
}

/* Bardziej nasycone, ciepłe organiczne poświaty tła (miód + szałwia + ciepła terakota) */
.ipet-app.is-theme-v2.is-theme-v3 .ipet-v2-orb-1 {
  background: #f4ca89;
  opacity: 0.72;
}

.ipet-app.is-theme-v2.is-theme-v3 .ipet-v2-orb-2 {
  background: #badfcf;
  opacity: 0.7;
}

.ipet-app.is-theme-v2.is-theme-v3 .ipet-v2-orb-3 {
  background: #f2be93;
  opacity: 0.56;
}

/* Szklany nagłówek w bogatej, ciepłej oprawie */
.ipet-app.is-theme-v2.is-theme-v3 .ipet-v2-shell-head {
  background: rgba(255, 252, 246, 0.96);
  border-color: #decbb2;
  box-shadow: 0 8px 24px rgba(112, 71, 24, 0.09);
}

.ipet-app.is-theme-v2.is-theme-v3 .ipet-v2-mark {
  background: linear-gradient(135deg, #235949 0%, #2f735e 68%, #c9751c 100%);
  box-shadow: 0 6px 16px rgba(35, 89, 73, 0.26);
}

.ipet-app.is-theme-v2.is-theme-v3 .ipet-v2-mode-pill {
  background: #e2f1ea;
  color: #184034;
  border: 1px solid #b5d5c6;
}

.ipet-app.is-theme-v2.is-theme-v3 .ipet-v2-mode-pill.is-report {
  background: #fce8c7;
  color: #8a4809;
  border: 1px solid #e7be82;
}

.ipet-app.is-theme-v2.is-theme-v3 .ipet-v2-tbtn {
  background: #fbf5ea;
  border-color: #d8c6ae;
  color: #203d33;
}

.ipet-app.is-theme-v2.is-theme-v3 .ipet-v2-tbtn:hover {
  border-color: #c9751c;
  background: #fcebd0;
  color: #7a3f07;
}

.ipet-app.is-theme-v2.is-theme-v3 .ipet-v2-tbtn.is-primary {
  background: #235949;
  border-color: #235949;
  color: #ffffff;
}

.ipet-app.is-theme-v2.is-theme-v3 .ipet-v2-tbtn.is-primary:hover {
  background: #184034;
  color: #ffffff;
}

.ipet-app.is-theme-v2.is-theme-v3 .ipet-v2-tbtn.is-rodo {
  background: #e5f2ec;
  border-color: #b1d3c4;
  color: #184034;
}

/* Belka 3 kroków + nasycony ciepły pasek postępu (zieleń → złoty miód) */
.ipet-app.is-theme-v2.is-theme-v3 .ipet-v2-steps {
  background: #f7eedf;
}

.ipet-app.is-theme-v2.is-theme-v3 .ipet-v2-step-btn:hover {
  background: #efe2cd;
  color: #184034;
}

.ipet-app.is-theme-v2.is-theme-v3 .ipet-v2-step-btn.is-active {
  background: #fffdf9;
  color: #184034;
  box-shadow: 0 3px 12px rgba(120, 74, 24, 0.11);
}

.ipet-app.is-theme-v2.is-theme-v3 .ipet-v2-step-dot {
  background: #e7d8c0;
  color: #5c4d3a;
}

.ipet-app.is-theme-v2.is-theme-v3 .ipet-v2-step-btn.is-active .ipet-v2-step-dot {
  background: #235949;
  color: #ffffff;
}

.ipet-app.is-theme-v2.is-theme-v3 .ipet-v2-step-btn.is-done .ipet-v2-step-dot {
  background: #d4781a;
  color: #ffffff;
}

.ipet-app.is-theme-v2.is-theme-v3 .ipet-v2-progress-track {
  background: #e6d7c1;
}

.ipet-app.is-theme-v2.is-theme-v3 .ipet-v2-progress-fill {
  background: linear-gradient(90deg, #235949 0%, #378269 45%, #d97e1c 100%);
}

/* Karty, tryby i kafelki szkół w cieplejszej, bardziej nasyconej palecie */
.ipet-app.is-theme-v2.is-theme-v3 .ipet-v2-card,
.ipet-app.is-theme-v2.is-theme-v3 .ipet-v2-roster {
  background: #fffdf9;
  border-color: #dfd0ba;
  box-shadow: 0 10px 28px rgba(102, 65, 22, 0.08);
}

.ipet-app.is-theme-v2.is-theme-v3 .ipet-v2-sec-kicker {
  color: #c46810;
}

.ipet-app.is-theme-v2.is-theme-v3 .ipet-v2-mode-card {
  background: #fbf5eb;
  border-color: #dccab0;
}

.ipet-app.is-theme-v2.is-theme-v3 .ipet-v2-mode-card:hover {
  border-color: #d4781a;
  background: #fef3e1;
  box-shadow: 0 8px 22px rgba(180, 102, 22, 0.12);
}

.ipet-app.is-theme-v2.is-theme-v3 .ipet-v2-mode-card.is-active {
  border-color: #235949;
  background: linear-gradient(135deg, #e2f2ea 0%, #fffdf9 100%);
  box-shadow: 0 10px 24px rgba(35, 89, 73, 0.15);
}

.ipet-app.is-theme-v2.is-theme-v3 .ipet-v2-mode-card.is-report.is-active {
  border-color: #d4781a;
  background: linear-gradient(135deg, #fde9c9 0%, #fffdf9 100%);
  box-shadow: 0 10px 24px rgba(212, 120, 26, 0.18);
}

.ipet-app.is-theme-v2.is-theme-v3 .ipet-v2-stage-tile {
  background: #faf3e7;
  border-color: #d9c7ad;
  color: #24211c;
}

.ipet-app.is-theme-v2.is-theme-v3 .ipet-v2-stage-tile:hover {
  border-color: #d4781a;
  background: #fcebd0;
  color: #6b3808;
}

.ipet-app.is-theme-v2.is-theme-v3 .ipet-v2-stage-tile.is-on {
  border-color: #235949;
  background: #235949;
  color: #ffffff;
  box-shadow: 0 6px 16px rgba(35, 89, 73, 0.26);
}

/* Pigułki i przyciski w nasyconych, ciepłych kolorach */
.ipet-app.is-theme-v2.is-theme-v3 .ipet-pill {
  background: #faf3e7;
  border-color: #d8c6ae;
  color: #2b2722;
}

.ipet-app.is-theme-v2.is-theme-v3 .ipet-pill:hover {
  border-color: #c9751c;
  background: #fcebd0;
  color: #6e3807;
}

.ipet-app.is-theme-v2.is-theme-v3 .ipet-pill.is-on {
  background: #235949;
  border-color: #235949;
  color: #ffffff;
  box-shadow: 0 4px 12px rgba(35, 89, 73, 0.24);
}

.ipet-app.is-theme-v2.is-theme-v3 .ipet-pill.is-cond.is-on {
  background: #335863;
  border-color: #335863;
  box-shadow: 0 4px 12px rgba(51, 88, 99, 0.24);
}

.ipet-app.is-theme-v2.is-theme-v3 .ipet-pill.is-strength.is-on {
  background: #235949;
  border-color: #235949;
}

.ipet-app.is-theme-v2.is-theme-v3 .ipet-pill.is-weakness.is-on {
  background: #c86418;
  border-color: #c86418;
}

.ipet-app.is-theme-v2.is-theme-v3 .ipet-btn-primary {
  background: #235949;
  box-shadow: 0 5px 15px rgba(35, 89, 73, 0.26);
}

.ipet-app.is-theme-v2.is-theme-v3 .ipet-btn-primary:hover {
  background: #184034;
}

.ipet-app.is-theme-v2.is-theme-v3 .ipet-btn-warm {
  background: #d4781a;
  box-shadow: 0 5px 16px rgba(212, 120, 26, 0.28);
}

.ipet-app.is-theme-v2.is-theme-v3 .ipet-btn-warm:hover {
  background: #b8620f;
}

/* Kartoteka klasy (Master-Detail) w ciepłych, przytulnych barwach */
.ipet-app.is-theme-v2.is-theme-v3 .ipet-v2-stu-row {
  background: #faf3e7;
  border-color: #e4d5be;
}

.ipet-app.is-theme-v2.is-theme-v3 .ipet-v2-stu-row:hover {
  border-color: #d4964c;
  background: #fcefd9;
}

.ipet-app.is-theme-v2.is-theme-v3 .ipet-v2-stu-row.is-active {
  border-color: #235949;
  background: #e3f1ea;
  box-shadow: 0 4px 12px rgba(35, 89, 73, 0.14);
}

.ipet-app.is-theme-v2.is-theme-v3 .ipet-v2-avatar {
  background: #eedec6;
  color: #6b3c0b;
}

.ipet-app.is-theme-v2.is-theme-v3 .ipet-v2-stu-row.is-active .ipet-v2-avatar {
  background: #235949;
  color: #ffffff;
}

/* 3-kartowy wybór postępu */
.ipet-app.is-theme-v2.is-theme-v3 .ipet-v2-prog-card {
  border-color: #d9c7ad;
  background: #fffdf9;
}

.ipet-app.is-theme-v2.is-theme-v3 .ipet-v2-prog-card:hover {
  border-color: #d4781a;
}

.ipet-app.is-theme-v2.is-theme-v3 .ipet-v2-prog-card.is-on {
  border-color: #235949;
  background: #e3f1ea;
  box-shadow: 0 4px 12px rgba(35, 89, 73, 0.15);
}

.ipet-app.is-theme-v2.is-theme-v3 .ipet-v2-prog-card.is-warn.is-on {
  border-color: #d4781a;
  background: #fde9c9;
  box-shadow: 0 4px 12px rgba(212, 120, 26, 0.18);
}

/* Cieplejsze boki sekcji sprawozdania i wskazówki */
.ipet-app.is-theme-v2.is-theme-v3 .ipet-period-bar {
  background: #fdecd2;
  border-color: #e6be83;
}

.ipet-app.is-theme-v2.is-theme-v3 .ipet-report-sec.is-weaknesses {
  background: #fef3e1;
  border-color: #ecc692;
}

.ipet-app.is-theme-v2.is-theme-v3 .ipet-semester-tip {
  background: linear-gradient(135deg, #e7f3ec 0%, #fdecd0 100%);
  border-color: #d6c3a5;
}

.ipet-app.is-theme-v2.is-theme-v3 .ipet-quote-card {
  background: #fffcf6;
  border-color: #e0c59c;
  border-left-color: #d4781a;
  box-shadow: 0 6px 18px rgba(140, 82, 20, 0.08);
}

/* Krok 3 — ciepły panel eksportu i biurko A4 */
.ipet-app.is-theme-v2.is-theme-v3 .ipet-v2-export-bar {
  background: linear-gradient(135deg, #e4f2eb 0%, #fde9c9 100%);
  border-color: #d5c1a3;
  box-shadow: 0 8px 24px rgba(112, 71, 24, 0.09);
}

.ipet-app.is-theme-v2.is-theme-v3 .ipet-sheet-wrap {
  background: #e7dccb;
  border-color: #d4c2a8;
}

/* ==================== ETYKIETA BETA I FORMULARZ OPINII / POMYSŁÓW (v8.1) ==================== */
.ipet-app.is-theme-v2.is-theme-v3 .ipet-beta-badge {
  font-size: 10.5px;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 2px 7px;
  border-radius: 6px;
  background: #d4781a;
  color: #ffffff;
  vertical-align: middle;
}

.ipet-app.is-theme-v2.is-theme-v3 .ipet-v2-tbtn.is-feedback {
  background: #fcebd0;
  border-color: #e2b472;
  color: #7c3f08;
}

.ipet-app.is-theme-v2.is-theme-v3 .ipet-v2-tbtn.is-feedback:hover {
  background: #d4781a;
  border-color: #d4781a;
  color: #ffffff;
}

.ipet-app .ipet-fb-cats {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  margin: 12px 0 14px;
}

.ipet-app .ipet-fb-form {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.ipet-app input[type="email"],
.ipet-app .ipet-fb-form textarea {
  width: 100%;
  box-sizing: border-box;
  padding: 10px 12px;
  border: 1.5px solid #e0d3be;
  border-radius: 10px;
  font-size: 14px;
  font-family: inherit;
  color: #1f2a27;
  background: #ffffff;
  margin: 0;
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

.ipet-app input[type="email"]:focus,
.ipet-app .ipet-fb-form textarea:focus {
  outline: none;
  border-color: #235949;
  box-shadow: 0 0 0 3px rgba(35, 89, 73, 0.14);
}

.ipet-app .ipet-fb-form textarea {
  min-height: 112px;
  resize: vertical;
  line-height: 1.5;
}

.ipet-app .ipet-fb-hp {
  position: absolute !important;
  left: -9999px !important;
  width: 1px !important;
  height: 1px !important;
  opacity: 0 !important;
  pointer-events: none !important;
}

.ipet-app .ipet-fb-safe {
  font-size: 12.2px;
  color: #4b5563;
  background: #eef5f2;
  border: 1px solid #c6dfd4;
  border-radius: 9px;
  padding: 8px 11px;
  line-height: 1.45;
}

.ipet-app .ipet-fb-success {
  background: #eef6f2;
  border: 1.5px solid #bdd8cc;
  border-radius: 12px;
  padding: 18px 16px;
  text-align: center;
  margin: 12px 0;
}

.ipet-app .ipet-fb-success-title {
  font-size: 16.5px;
  font-weight: 700;
  color: #184034;
  margin-bottom: 6px;
}

.ipet-app .ipet-footer-links {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
}
