/* MentoraPro — Veli paneli + davet kaydı (mobil önce) */

.parent-invite-form select {
  border: 1px solid #e2e8f0;
  border-radius: 0.75rem;
  padding: 0.7rem 0.85rem;
  font-size: 1rem;
  font-weight: 600;
  color: #0f172a;
  background: #f8fafc;
}
.parent-invite-root {
  position: fixed;
  inset: 0;
  z-index: 12050;
  overflow: auto;
  background: linear-gradient(165deg, #0f172a 0%, #1e293b 45%, #0f766e 140%);
  padding: 1.25rem;
  display: flex;
  align-items: flex-start;
  justify-content: center;
}
.parent-invite-root.hidden { display: none !important; }

.parent-invite-card {
  width: min(26rem, 100%);
  margin: 2rem auto 3rem;
  background: rgba(255, 255, 255, 0.96);
  border-radius: 1.25rem;
  padding: 1.5rem 1.25rem 1.75rem;
  box-shadow: 0 18px 40px rgba(15, 23, 42, 0.35);
  color: #0f172a;
}
.parent-invite-kicker {
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #0d9488;
  margin: 0 0 0.35rem;
}
.parent-invite-card h1 {
  font-size: 1.35rem;
  font-weight: 900;
  line-height: 1.25;
  margin: 0 0 0.5rem;
}
.parent-invite-lead,
.parent-invite-card > p {
  font-size: 0.85rem;
  color: #475569;
  margin: 0 0 1rem;
  line-height: 1.45;
}
.parent-invite-form {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}
.parent-invite-form label {
  display: flex;
  flex-direction: column;
  gap: 0.3rem;
  font-size: 0.72rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: #64748b;
}
.parent-invite-form input {
  border: 1px solid #e2e8f0;
  border-radius: 0.75rem;
  padding: 0.7rem 0.85rem;
  font-size: 1rem;
  font-weight: 600;
  color: #0f172a;
  background: #f8fafc;
}
.parent-invite-btn {
  margin-top: 0.5rem;
  width: 100%;
  border: 0;
  border-radius: 0.9rem;
  padding: 0.85rem 1rem;
  font-weight: 800;
  font-size: 0.95rem;
  background: #0d9488;
  color: #fff;
  cursor: pointer;
}
.parent-invite-btn:disabled { opacity: 0.6; cursor: wait; }
.parent-invite-err {
  color: #b91c1c;
  font-size: 0.8rem;
  font-weight: 700;
  margin: 0;
}
.parent-invite-err.hidden { display: none; }
.parent-invite-success-bar {
  height: 4px;
  border-radius: 999px;
  background: #e2e8f0;
  overflow: hidden;
  margin-top: 0.5rem;
}
.parent-invite-success-bar i {
  display: block;
  height: 100%;
  width: 0;
  background: #0d9488;
  animation: parent-invite-progress 0.85s ease-out forwards;
}
@keyframes parent-invite-progress {
  to { width: 100%; }
}

#parent-panel {
  position: fixed;
  inset: 0;
  z-index: 9000;
  overflow: auto;
  isolation: isolate;
  background-color: #0f172a !important;
  background-image:
    radial-gradient(ellipse 90% 55% at 50% -15%, rgba(45, 212, 191, 0.28), transparent 55%),
    radial-gradient(ellipse 60% 40% at 100% 20%, rgba(99, 102, 241, 0.18), transparent),
    linear-gradient(165deg, #0b1224 0%, #020617 48%, #04111a 100%);
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  color: #e2e8f0;
  padding: 0;
  -webkit-overflow-scrolling: touch;
}
#parent-panel.theme-buyulu-orman,
#parent-panel.theme-sakli-bahce,
#parent-panel.theme-kozmik-zirve,
#parent-panel.theme-lavanta-vadisi,
#parent-panel.theme-altin-kumsal,
#parent-panel.theme-derin-mavi-okyanus,
#parent-panel.theme-kristal-kis,
#parent-panel.theme-guz-esintisi,
#parent-panel.theme-sonsuz-gokyuzu {
  background-size: cover !important;
  background-position: center !important;
  background-attachment: scroll !important;
  background-repeat: no-repeat !important;
}
#parent-panel.theme-buyulu-orman { background-image: url('/assets/themes/buyulu-orman.png') !important; }
#parent-panel.theme-sakli-bahce { background-image: url('/assets/themes/sakli-bahce.png') !important; }
#parent-panel.theme-kozmik-zirve { background-image: url('/assets/themes/kozmik-zirve.png') !important; }
#parent-panel.theme-lavanta-vadisi { background-image: url('/assets/themes/lavanta-vadisi.png') !important; }
#parent-panel.theme-altin-kumsal { background-image: url('/assets/themes/altin-kumsal.png') !important; }
#parent-panel.theme-derin-mavi-okyanus { background-image: url('/assets/themes/derin-mavi-okyanus.png') !important; }
#parent-panel.theme-kristal-kis { background-image: url('/assets/themes/kristal-kis.png') !important; }
#parent-panel.theme-guz-esintisi { background-image: url('/assets/themes/guz-esintisi.png') !important; }
#parent-panel.theme-sonsuz-gokyuzu { background-image: url('/assets/themes/sonsuz-gokyuzu.png') !important; }
#parent-panel::before {
  content: none;
  display: none;
}
#parent-panel > .pp-shell,
#parent-panel > .pp-actions,
#parent-panel > .pp-loading {
  position: relative;
  z-index: 1;
}
#parent-panel.hidden { display: none !important; }

.pp-shell {
  padding: 1rem 1rem 0;
  max-width: 26.5rem;
  margin: 0 auto;
}

.pp-loading {
  text-align: center;
  margin-top: 3rem;
  color: #94a3b8;
  font-weight: 700;
}

.pp-hero {
  margin-bottom: 0.85rem;
}
.pp-brand-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.65rem;
  margin-bottom: 0.75rem;
}
.pp-brand-logo {
  width: 2.65rem;
  height: 2.65rem;
  border-radius: 0.85rem;
  object-fit: cover;
  flex-shrink: 0;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.28);
  border: 1px solid rgba(255, 255, 255, 0.18);
  background: rgba(15, 23, 42, 0.5);
}
.pp-brand-text { flex: 1; min-width: 0; }
.pp-brand {
  margin: 0;
  font-size: 1.05rem;
  font-weight: 900;
  letter-spacing: -0.03em;
  background: linear-gradient(90deg, #5eead4, #a5b4fc);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.pp-brand-text .pp-kicker {
  margin-top: 0.15rem;
}
.pp-hero-row {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 0.7rem;
}
.pp-avatar {
  width: 3rem;
  height: 3rem;
  border-radius: 1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 900;
  font-size: 1.15rem;
  color: #ecfeff;
  background: linear-gradient(145deg, #14b8a6, #6366f1);
  border: 1px solid rgba(255, 255, 255, 0.2);
  box-shadow: 0 8px 24px rgba(20, 184, 166, 0.25);
  flex-shrink: 0;
}
.pp-hero-text { flex: 1; min-width: 0; }
.pp-kicker {
  font-size: 0.62rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #5eead4;
  margin: 0;
}
.pp-hero h1 {
  font-size: 1.35rem;
  font-weight: 900;
  margin: 0.1rem 0;
  color: #f8fafc;
  letter-spacing: -0.02em;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.pp-sub {
  margin: 0;
  font-size: 0.75rem;
  color: #94a3b8;
  font-weight: 600;
}
.pp-logout {
  border: 1px solid rgba(248, 113, 113, 0.35);
  background: rgba(127, 29, 29, 0.4);
  border-radius: 0.75rem;
  padding: 0.45rem 0.7rem;
  font-size: 0.72rem;
  font-weight: 800;
  color: #fecaca;
  flex-shrink: 0;
}

.pp-xp-card {
  width: 100%;
  display: block;
  text-align: left;
  border: 1px solid rgba(148, 163, 184, 0.18);
  background: linear-gradient(135deg, rgba(15, 23, 42, 0.85), rgba(30, 27, 75, 0.55));
  border-radius: 1rem;
  padding: 0.75rem 0.85rem;
  margin-bottom: 0.75rem;
  color: #e2e8f0;
  cursor: pointer;
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.22);
}
.pp-xp-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 0.45rem;
  font-size: 0.78rem;
  font-weight: 800;
}
.pp-xp-top strong { color: #5eead4; font-size: 0.9rem; }
.pp-reg-pill {
  font-size: 0.65rem;
  font-weight: 900;
  padding: 0.25rem 0.5rem;
  border-radius: 999px;
  background: rgba(45, 212, 191, 0.15);
  color: #5eead4;
  border: 1px solid rgba(45, 212, 191, 0.3);
}
.pp-xp-card em {
  display: block;
  margin-top: 0.4rem;
  font-style: normal;
  font-size: 0.68rem;
  font-weight: 700;
  color: #64748b;
}
.pp-bar-lg { height: 0.48rem; margin-top: 0.15rem; }

.pp-seg {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.25rem;
  padding: 0.28rem;
  border-radius: 999px;
  background: rgba(2, 6, 23, 0.55);
  border: 1px solid rgba(148, 163, 184, 0.18);
  backdrop-filter: blur(12px);
}
.pp-seg-btn {
  border: 0;
  background: transparent;
  color: #94a3b8;
  font-size: 0.78rem;
  font-weight: 800;
  padding: 0.55rem 0.35rem;
  border-radius: 999px;
  cursor: pointer;
  transition: background 0.18s ease, color 0.18s ease, transform 0.15s ease;
}
.pp-seg-btn.is-on {
  background: linear-gradient(135deg, rgba(45, 212, 191, 0.95), rgba(20, 184, 166, 0.9));
  color: #042f2e;
  box-shadow: 0 6px 16px rgba(20, 184, 166, 0.3);
}
.pp-seg-btn:active { transform: scale(0.98); }

.pp-body { animation: pp-fade 0.22s ease; }
@keyframes pp-fade {
  from { opacity: 0; transform: translateY(6px); }
  to { opacity: 1; transform: none; }
}

.pp-today, .pp-period {
  background: rgba(15, 23, 42, 0.62);
  border: 1px solid rgba(148, 163, 184, 0.16);
  border-radius: 1.25rem;
  padding: 0.95rem;
  backdrop-filter: blur(14px);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.28);
}

.pp-tempo {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  margin-bottom: 0.9rem;
  padding-bottom: 0.85rem;
  border-bottom: 1px solid rgba(148, 163, 184, 0.12);
}
.pp-tempo-ring {
  --pp-pct: 0;
  width: 4.4rem;
  height: 4.4rem;
  border-radius: 50%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.05rem;
  background:
    radial-gradient(circle at center, rgba(15, 23, 42, 0.95) 58%, transparent 59%),
    conic-gradient(#2dd4bf calc(var(--pp-pct) * 1%), rgba(148, 163, 184, 0.2) 0);
  flex-shrink: 0;
}
.pp-tempo-ring strong {
  font-size: 0.95rem;
  font-weight: 900;
  color: #5eead4;
  line-height: 1;
}
.pp-tempo-ring em {
  font-style: normal;
  font-size: 0.58rem;
  font-weight: 800;
  color: #64748b;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}
.pp-tempo-copy { flex: 1; min-width: 0; }
.pp-tempo-copy p {
  margin: 0 0 0.15rem;
  font-size: 0.82rem;
  font-weight: 800;
  color: #f1f5f9;
}
.pp-tempo-copy span {
  font-size: 0.72rem;
  color: #94a3b8;
  font-weight: 600;
}
.pp-bar {
  margin-top: 0.55rem;
  height: 0.4rem;
  border-radius: 999px;
  background: rgba(148, 163, 184, 0.2);
  overflow: hidden;
}
.pp-bar i {
  display: block;
  height: 100%;
  background: linear-gradient(90deg, #2dd4bf, #6366f1);
  border-radius: inherit;
}

.pp-plan {
  margin-bottom: 0.85rem;
  background: linear-gradient(165deg, rgba(15, 23, 42, 0.78), rgba(2, 6, 23, 0.72));
  border: 1px solid rgba(148, 163, 184, 0.18);
  border-radius: 1.2rem;
  padding: 0.9rem 0.85rem 0.95rem;
  backdrop-filter: blur(16px);
  box-shadow: 0 14px 36px rgba(0, 0, 0, 0.28);
}
.pp-plan-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 0.5rem;
  margin-bottom: 0.65rem;
}
.pp-plan-kicker,
.pp-exam-kicker {
  margin: 0;
  font-size: 0.62rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #5eead4;
}
.pp-plan-hint {
  font-size: 0.62rem;
  font-weight: 700;
  color: #64748b;
}
.pp-plan-cards {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}
.pp-plan-row {
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 0.7rem;
  align-items: start;
  padding: 0.7rem 0.7rem 0.75rem;
  border-radius: 0.95rem;
  background: rgba(2, 6, 23, 0.5);
  border: 1px solid rgba(148, 163, 184, 0.12);
  width: 100%;
  text-align: left;
  font: inherit;
  color: inherit;
  cursor: pointer;
  appearance: none;
  -webkit-appearance: none;
}
button.pp-plan-row.is-tap:active { transform: scale(0.99); }
.pp-plan-chev {
  align-self: center;
  color: #64748b;
  font-size: 0.75rem;
  opacity: 0.85;
}
.pp-plan-ico {
  width: 2.2rem;
  height: 2.2rem;
  border-radius: 0.7rem;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.85rem;
  background: rgba(99, 102, 241, 0.2);
  color: #a5b4fc;
}
.pp-plan-row.is-ok .pp-plan-ico { background: rgba(16, 185, 129, 0.18); color: #6ee7b7; }
.pp-plan-row.is-warn .pp-plan-ico { background: rgba(245, 158, 11, 0.18); color: #fbbf24; }
.pp-plan-row.is-low .pp-plan-ico { background: rgba(248, 113, 113, 0.15); color: #fca5a5; }
.pp-plan-main { min-width: 0; }
.pp-plan-top {
  display: flex;
  justify-content: space-between;
  gap: 0.5rem;
  margin-bottom: 0.35rem;
}
.pp-plan-top strong {
  font-size: 0.82rem;
  font-weight: 900;
  color: #f1f5f9;
}
.pp-plan-top em {
  font-style: normal;
  font-size: 0.78rem;
  font-weight: 900;
  color: #5eead4;
}
.pp-plan-row.is-warn .pp-plan-top em { color: #fdba74; }
.pp-plan-row.is-ok .pp-plan-top em { color: #6ee7b7; }
.pp-plan-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem 0.65rem;
  margin: 0.45rem 0 0;
  font-size: 0.68rem;
  font-weight: 700;
  color: #94a3b8;
}
.pp-plan-meta span { white-space: nowrap; }

.pp-quest-stack {
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
  margin-bottom: 0.65rem;
}
.pp-quest-rail {
  display: none;
}

.pp-routine-rail,
.pp-routine-grid {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 0.45rem;
  margin-top: 0.55rem;
  padding-top: 0.55rem;
  border-top: 1px solid rgba(148, 163, 184, 0.12);
  overflow: visible;
}
.pp-routine {
  grid-column: span 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.28rem;
  padding: 0.55rem 0.3rem;
  border-radius: 0.9rem;
  background: rgba(2, 6, 23, 0.5);
  border: 1px solid rgba(148, 163, 184, 0.16);
  text-align: center;
  min-height: 4.1rem;
  min-width: 0;
  font: inherit;
  color: inherit;
  cursor: pointer;
  appearance: none;
  -webkit-appearance: none;
}
button.pp-routine.is-tap:active { transform: scale(0.97); }
.pp-routine:nth-child(4) { grid-column: 2 / span 2; }
.pp-routine:nth-child(5) { grid-column: 4 / span 2; }
.pp-routine.is-done {
  border-color: rgba(52, 211, 153, 0.45);
  background: rgba(16, 185, 129, 0.14);
}
.pp-routine-emoji { font-size: 1.05rem; line-height: 1; }
.pp-routine-label {
  font-size: 0.62rem;
  font-weight: 800;
  color: #cbd5e1;
  line-height: 1.2;
  word-break: break-word;
}

.pp-acc {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}
.pp-acc-block {
  border-radius: 0.85rem;
  background: rgba(2, 6, 23, 0.45);
  border: 1px solid rgba(148, 163, 184, 0.12);
  overflow: hidden;
}
.pp-acc-btn {
  width: 100%;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 0.55rem;
  padding: 0.7rem 0.75rem;
  border: 0;
  background: transparent;
  color: #e2e8f0;
  cursor: pointer;
  text-align: left;
  font: inherit;
}
.pp-acc-chev {
  width: 1.35rem;
  height: 1.35rem;
  border-radius: 0.45rem;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(148, 163, 184, 0.12);
  color: #94a3b8;
  font-size: 0.65rem;
  transition: transform 0.18s ease;
}
.pp-acc-block.is-open .pp-acc-chev {
  transform: rotate(90deg);
  background: rgba(45, 212, 191, 0.18);
  color: #5eead4;
}
.pp-acc-title {
  font-size: 0.86rem;
  font-weight: 900;
}
.pp-acc-count {
  font-size: 0.68rem;
  font-weight: 800;
  color: #94a3b8;
  background: rgba(15, 23, 42, 0.7);
  padding: 0.2rem 0.45rem;
  border-radius: 999px;
}
.pp-acc-list {
  list-style: none;
  margin: 0;
  padding: 0 0.55rem;
  display: flex;
  flex-direction: column;
  gap: 0.3rem;
  max-height: 0;
  overflow: hidden;
  opacity: 0;
  transition: max-height 0.32s ease, opacity 0.22s ease, padding 0.22s ease;
}
.pp-acc-block.is-open .pp-acc-list {
  max-height: 28rem;
  opacity: 1;
  padding-bottom: 0.55rem;
}
.pp-acc-item {
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 0.5rem;
  align-items: start;
  padding: 0.5rem 0.55rem;
  border-radius: 0.65rem;
  background: rgba(15, 23, 42, 0.55);
  border-left: 3px solid #94a3b8;
  font-size: 0.74rem;
  font-weight: 700;
  color: #e2e8f0;
}
.pp-acc-item.is-kritik { border-left-color: #f87171; }
.pp-acc-item.is-orta { border-left-color: #fbbf24; }
.pp-acc-item.is-done {
  opacity: 0.78;
}
.pp-acc-item.is-done .pp-acc-text {
  text-decoration: line-through;
  text-decoration-thickness: 1.5px;
  color: #94a3b8;
}
.pp-acc-tick {
  width: 1.15rem;
  height: 1.15rem;
  border-radius: 0.35rem;
  border: 2px solid rgba(148, 163, 184, 0.45);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.6rem;
  color: transparent;
  margin-top: 0.05rem;
  flex-shrink: 0;
}
.pp-acc-item.is-done .pp-acc-tick {
  background: #10b981;
  border-color: #10b981;
  color: #fff;
}
.pp-acc-item b {
  font-size: 0.68rem;
  color: #94a3b8;
  white-space: nowrap;
}

.pp-today, .pp-period, .pp-exam {
  background: linear-gradient(165deg, rgba(15, 23, 42, 0.78), rgba(2, 6, 23, 0.72));
}

button.pp-quest {
  font: inherit;
  text-align: left;
  cursor: pointer;
  border: 0;
  appearance: none;
  -webkit-appearance: none;
}
.pp-quest.is-tap:active { transform: scale(0.98); }
.pp-quest-hint {
  position: absolute;
  bottom: 0.55rem;
  right: 0.7rem;
  font-size: 0.58rem;
  font-weight: 900;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  opacity: 0.75;
  background: rgba(255, 255, 255, 0.18);
  padding: 0.15rem 0.4rem;
  border-radius: 999px;
}

.pp-exam {
  margin-top: 0.75rem;
  background: linear-gradient(165deg, rgba(15, 23, 42, 0.78), rgba(2, 6, 23, 0.72));
  border: 1px solid rgba(148, 163, 184, 0.16);
  border-radius: 1.15rem;
  padding: 0.9rem;
  backdrop-filter: blur(14px);
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.22);
}
.pp-exam .pp-exam-kicker { margin-bottom: 0.35rem; }
.pp-exam-head {
  display: flex;
  justify-content: space-between;
  gap: 0.75rem;
  align-items: flex-start;
  margin-bottom: 0.45rem;
}
.pp-exam h3 {
  margin: 0;
  font-size: 1rem;
  font-weight: 900;
  color: #f8fafc;
  letter-spacing: -0.02em;
}
.pp-exam-meta {
  margin: 0.2rem 0 0;
  font-size: 0.72rem;
  color: #94a3b8;
  font-weight: 600;
}
.pp-exam-close {
  text-align: center;
  min-width: 3.6rem;
  padding: 0.4rem 0.5rem;
  border-radius: 0.85rem;
  background: rgba(16, 185, 129, 0.12);
  border: 1px solid rgba(52, 211, 153, 0.28);
}
.pp-exam-close em {
  display: block;
  font-style: normal;
  font-size: 0.55rem;
  font-weight: 800;
  color: #6ee7b7;
  text-transform: uppercase;
}
.pp-exam-close strong {
  font-size: 1.2rem;
  font-weight: 900;
  color: #a7f3d0;
}
.pp-exam-close-line {
  margin: 0 0 0.65rem;
  font-size: 0.72rem;
  color: #94a3b8;
  font-weight: 600;
}
.pp-exam-sub {
  margin: 0 0 0.4rem;
  font-size: 0.65rem;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: #64748b;
}
.pp-karne-btn {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  width: 100%;
  margin: 0.75rem 0 0.2rem;
  padding: 0.85rem 0.95rem;
  border: 1px solid rgba(56, 189, 248, 0.28);
  border-radius: 1rem;
  background: linear-gradient(135deg, rgba(14, 165, 233, 0.18), rgba(99, 102, 241, 0.14));
  color: #e2e8f0;
  text-align: left;
  cursor: pointer;
  transition: transform 0.15s ease;
}
.pp-karne-btn:active { transform: scale(0.985); }
.pp-karne-btn > i:first-child {
  width: 2.2rem;
  height: 2.2rem;
  border-radius: 0.75rem;
  display: grid;
  place-items: center;
  background: rgba(56, 189, 248, 0.22);
  color: #7dd3fc;
  flex-shrink: 0;
}
.pp-karne-btn span {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
}
.pp-karne-btn strong {
  font-size: 0.92rem;
  font-weight: 800;
  color: #f8fafc;
}
.pp-karne-btn em {
  font-style: normal;
  font-size: 0.72rem;
  color: rgba(186, 230, 253, 0.85);
}
.pp-karne-btn > i:last-child {
  color: rgba(148, 163, 184, 0.85);
  font-size: 0.75rem;
}
.pp-plan-week {
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
  margin-top: 0.35rem;
}
.pp-plan-day {
  border-radius: 0.9rem;
  border: 1px solid rgba(148, 163, 184, 0.16);
  background: rgba(15, 23, 42, 0.55);
  padding: 0.7rem 0.8rem;
}
.pp-plan-day.is-today {
  border-color: rgba(45, 212, 191, 0.45);
  box-shadow: inset 0 0 0 1px rgba(45, 212, 191, 0.12);
}
.pp-plan-day.is-ok { border-color: rgba(52, 211, 153, 0.35); }
.pp-plan-day.is-future { opacity: 0.78; }
.pp-plan-day header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 0.45rem;
}
.pp-plan-day header strong {
  font-size: 0.82rem;
  font-weight: 800;
  color: #f1f5f9;
}
.pp-plan-day header span {
  font-size: 0.7rem;
  font-weight: 700;
  color: #94a3b8;
}
.pp-plan-day-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}
.pp-plan-day-list li {
  display: flex;
  flex-direction: column;
  gap: 0.1rem;
  padding: 0.45rem 0.55rem;
  border-radius: 0.65rem;
  background: rgba(30, 41, 59, 0.7);
  font-size: 0.78rem;
  color: #e2e8f0;
}
.pp-plan-day-list li em {
  font-style: normal;
  font-size: 0.68rem;
  color: #94a3b8;
}
.pp-plan-day-list li.is-done { opacity: 0.72; }
.pp-plan-day-list li.is-done span {
  text-decoration: line-through;
  color: #94a3b8;
}
.pp-plan-day-list li.is-empty {
  color: #64748b;
  background: transparent;
  padding-left: 0.15rem;
}
.pp-period-extra {
  margin: 0.65rem 0 0;
  font-size: 0.75rem;
  color: #94a3b8;
  font-weight: 600;
}
.pp-period-extra b { color: #e2e8f0; }

.pp-book-sheet,
.pp-sheet {
  position: fixed;
  inset: 0;
  z-index: 9200;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1rem;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.2s ease;
}
.pp-sheet.is-open,
.pp-book-sheet.is-open {
  opacity: 1;
  pointer-events: auto;
}
.pp-book-sheet.hidden { display: none !important; }
.pp-sheet-backdrop,
.pp-book-backdrop {
  position: absolute;
  inset: 0;
  border: 0;
  background: rgba(2, 6, 23, 0.68);
  backdrop-filter: blur(6px);
}
.pp-sheet-card,
.pp-book-card {
  position: relative;
  z-index: 1;
  width: min(22.5rem, 100%);
  max-height: min(88vh, 36rem);
  overflow: auto;
  margin: 0;
  padding: 1.15rem 1.1rem 1.2rem;
  border-radius: 1.35rem;
  background: linear-gradient(165deg, #1e293b, #0f172a 55%);
  border: 1px solid rgba(148, 163, 184, 0.22);
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.45);
  transform: translateY(12px) scale(0.98);
  transition: transform 0.22s ease;
}
.pp-sheet.is-open .pp-sheet-card {
  transform: none;
}
.pp-sheet-x {
  position: absolute;
  top: 0.75rem;
  right: 0.75rem;
  width: 2rem;
  height: 2rem;
  border: 0;
  border-radius: 999px;
  background: rgba(148, 163, 184, 0.15);
  color: #cbd5e1;
  cursor: pointer;
}
.pp-sheet-cover {
  width: 6.5rem;
  height: 9.2rem;
  border-radius: 0.75rem;
  overflow: hidden;
  margin: 0 auto 0.85rem;
  background: linear-gradient(145deg, #6366f1, #7c3aed);
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.35);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 1.6rem;
}
.pp-sheet-cover img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.pp-sheet-icon {
  width: 3.4rem;
  height: 3.4rem;
  border-radius: 1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 0.75rem;
  font-size: 1.25rem;
  color: #fff;
}
.pp-sheet-icon.is-review { background: linear-gradient(145deg, #8b5cf6, #6d28d9); }
.pp-sheet-icon.is-study { background: linear-gradient(145deg, #14b8a6, #0f766e); }
.pp-sheet-icon.is-routine {
  background: linear-gradient(145deg, #f59e0b, #ea580c 55%, #c2410c);
}
.pp-sheet-icon.is-hw { background: linear-gradient(145deg, #f59e0b, #d97706); }
.pp-sheet-icon.is-q { background: linear-gradient(145deg, #ec4899, #a855f7); }
.pp-sheet-icon.is-mentor { background: linear-gradient(145deg, #6366f1, #4f46e5); }
.pp-sheet-icon.is-book { background: linear-gradient(145deg, #14b8a6, #0d9488); }
.pp-detail-list {
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
  margin: 0.75rem 0 0.5rem;
  text-align: left;
}
.pp-detail-card {
  padding: 0.65rem 0.7rem;
  border-radius: 0.8rem;
  background: rgba(2, 6, 23, 0.5);
  border: 1px solid rgba(148, 163, 184, 0.14);
}
.pp-detail-card strong {
  display: block;
  font-size: 0.84rem;
  font-weight: 900;
  color: #f1f5f9;
  margin-bottom: 0.25rem;
}
.pp-detail-card em {
  display: block;
  font-style: normal;
  font-size: 0.72rem;
  font-weight: 700;
  color: #94a3b8;
  line-height: 1.35;
  margin-top: 0.12rem;
}
.pp-stat-trio {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.4rem;
  margin: 0.75rem 0 0.35rem;
}
.pp-stat-trio div {
  text-align: center;
  padding: 0.55rem 0.3rem;
  border-radius: 0.75rem;
  background: rgba(2, 6, 23, 0.5);
  border: 1px solid rgba(148, 163, 184, 0.14);
}
.pp-stat-trio em {
  display: block;
  font-style: normal;
  font-size: 0.58rem;
  font-weight: 800;
  color: #64748b;
  text-transform: uppercase;
}
.pp-stat-trio b {
  font-size: 1.15rem;
  font-weight: 900;
  color: #5eead4;
}
.pp-mini-ul {
  margin: 0.35rem 0 0;
  padding-left: 1rem;
  color: #cbd5e1;
  font-size: 0.72rem;
  font-weight: 700;
}
.pp-routine-sheet-emoji {
  font-size: 1.55rem;
  line-height: 1;
}
.pp-routine-week {
  display: grid;
  grid-template-columns: repeat(7, minmax(0, 1fr));
  gap: 0.35rem;
  margin: 0.85rem 0 0.35rem;
}
.pp-routine-week-day {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.2rem;
  padding: 0.5rem 0.15rem 0.45rem;
  border-radius: 0.75rem;
  background: rgba(2, 6, 23, 0.5);
  border: 1px solid rgba(148, 163, 184, 0.14);
  min-width: 0;
}
.pp-routine-week-day em {
  font-style: normal;
  font-size: 0.58rem;
  font-weight: 800;
  color: #64748b;
  text-transform: uppercase;
}
.pp-routine-week-day b {
  font-size: 1rem;
  font-weight: 900;
  line-height: 1;
  color: #94a3b8;
}
.pp-routine-week-day span {
  display: none;
}
.pp-routine-week-day.is-on {
  background: rgba(16, 185, 129, 0.16);
  border-color: rgba(52, 211, 153, 0.4);
}
.pp-routine-week-day.is-on b { color: #6ee7b7; }
.pp-routine-week-day.is-off {
  background: rgba(127, 29, 29, 0.22);
  border-color: rgba(248, 113, 113, 0.35);
}
.pp-routine-week-day.is-off b { color: #fca5a5; }
.pp-routine-week-day.is-future { opacity: 0.4; }
.pp-sheet-card h3,
.pp-book-card h3 {
  margin: 0;
  font-size: 1.15rem;
  font-weight: 900;
  color: #f8fafc;
  text-align: center;
}
.pp-book-author {
  margin: 0.25rem 0 0;
  font-size: 0.88rem;
  font-weight: 700;
  color: #a5b4fc;
  text-align: center;
}
.pp-book-pub {
  margin: 0.15rem 0 0;
  font-size: 0.72rem;
  color: #64748b;
  font-weight: 600;
  text-align: center;
}
.pp-book-pages {
  margin: 0.85rem 0 0.4rem;
  display: flex;
  align-items: baseline;
  justify-content: center;
  gap: 0.35rem;
}
.pp-book-pages strong {
  font-size: 1.6rem;
  font-weight: 900;
  color: #5eead4;
}
.pp-book-pages span {
  font-size: 0.8rem;
  color: #94a3b8;
  font-weight: 700;
}
.pp-sheet-advice,
.pp-book-goal {
  margin: 0.75rem 0 0.35rem;
  font-size: 0.82rem;
  font-weight: 700;
  color: #cbd5e1;
  line-height: 1.45;
  text-align: left;
}
.pp-sheet-advice.is-late,
.pp-book-goal.is-late { color: #fdba74; }
.pp-book-daily {
  margin: 0 0 0.9rem;
  font-size: 0.72rem;
  color: #64748b;
  font-weight: 600;
  text-align: center;
}
.pp-reg-badge {
  margin: 0.75rem 0 0.35rem;
  text-align: center;
  font-size: 0.78rem;
  font-weight: 800;
  color: #94a3b8;
}
.pp-reg-badge strong {
  display: block;
  margin-top: 0.15rem;
  font-size: 1.4rem;
  color: #5eead4;
}
.pp-xp-gaps,
.pp-xp-tips {
  list-style: none;
  margin: 0 0 0.65rem;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 0.3rem;
}
.pp-xp-gaps li,
.pp-xp-tips li {
  padding: 0.45rem 0.55rem;
  border-radius: 0.65rem;
  background: rgba(2, 6, 23, 0.45);
  font-size: 0.74rem;
  font-weight: 700;
  color: #cbd5e1;
}

.pp-quest-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.5rem;
  margin-bottom: 0.65rem;
}
.pp-quest {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 0.3rem;
  padding: 0.95rem 1rem;
  border-radius: 1.25rem;
  color: #fff;
  min-height: 6.4rem;
  box-shadow: 0 10px 28px rgba(15, 23, 42, 0.28);
  overflow: hidden;
}
.pp-quest.is-book { background: linear-gradient(145deg, #6366f1, #7c3aed 50%, #a855f7); }
.pp-quest.is-study { background: linear-gradient(145deg, #14b8a6, #0d9488 55%, #0f766e); }
.pp-quest.is-review { background: linear-gradient(145deg, #8b5cf6, #7c3aed 50%, #6d28d9); }
.pp-quest.is-done {
  opacity: 0.72;
  filter: saturate(0.78);
}
.pp-quest.is-done .pp-quest-title {
  text-decoration: line-through;
  text-decoration-thickness: 2px;
}
.pp-quest-ico {
  width: 2.35rem;
  height: 2.35rem;
  border-radius: 0.85rem;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.2);
  font-size: 1rem;
  margin-bottom: 0.1rem;
}
.pp-quest-title {
  font-size: 0.9rem;
  font-weight: 900;
  line-height: 1.2;
  letter-spacing: -0.02em;
  padding-right: 1.5rem;
}
.pp-quest-sub {
  font-size: 0.72rem;
  font-weight: 700;
  opacity: 0.92;
  line-height: 1.35;
}
.pp-quest-check {
  position: absolute;
  top: 0.7rem;
  right: 0.7rem;
  width: 1.3rem;
  height: 1.3rem;
  border-radius: 0.4rem;
  border: 2px solid rgba(255, 255, 255, 0.65);
  background: rgba(255, 255, 255, 0.12);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.68rem;
}
.pp-quest.is-done .pp-quest-check {
  background: #fff;
  color: #059669;
  border-color: #fff;
}

.pp-period-title {
  margin: 0 0 0.75rem;
  font-size: 0.78rem;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: #94a3b8;
}
.pp-stats {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.5rem;
}
.pp-stat {
  background: rgba(2, 6, 23, 0.5);
  border: 1px solid rgba(148, 163, 184, 0.12);
  border-radius: 0.9rem;
  padding: 0.75rem 0.55rem;
  text-align: center;
}
.pp-stat em {
  display: block;
  font-style: normal;
  font-size: 0.62rem;
  font-weight: 800;
  color: #64748b;
  text-transform: uppercase;
  margin-bottom: 0.2rem;
}
.pp-stat b {
  font-size: 1.15rem;
  font-weight: 900;
  color: #f8fafc;
}

.pp-empty {
  text-align: center;
  color: #64748b;
  font-size: 0.85rem;
  font-weight: 700;
  padding: 1rem 0;
}

.pp-actions-spacer {
  height: calc(11.25rem + env(safe-area-inset-bottom, 0px));
  flex-shrink: 0;
}

.pp-actions {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 0.55rem 1rem calc(0.65rem + env(safe-area-inset-bottom, 0px));
  background: rgba(2, 6, 23, 0.96);
  border-top: 1px solid rgba(148, 163, 184, 0.14);
  backdrop-filter: blur(10px);
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
  z-index: 2;
  max-width: 26.5rem;
  margin: 0 auto;
  box-shadow: 0 -8px 24px rgba(0, 0, 0, 0.35);
}
.pp-actions-label {
  margin: 0;
  font-size: 0.62rem;
  font-weight: 900;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #64748b;
  text-align: center;
}
.pp-check-week {
  display: grid;
  grid-template-columns: repeat(7, minmax(0, 1fr));
  gap: 0.28rem;
  padding: 0.4rem;
  border-radius: 0.95rem;
  background: rgba(15, 23, 42, 0.85);
  border: 1px solid rgba(148, 163, 184, 0.16);
}
.pp-check-day {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.15rem;
  padding: 0.35rem 0.1rem;
  border-radius: 0.65rem;
  background: rgba(2, 6, 23, 0.45);
}
.pp-check-day em {
  font-style: normal;
  font-size: 0.55rem;
  font-weight: 800;
  color: #64748b;
  text-transform: uppercase;
}
.pp-check-day b {
  font-size: 0.85rem;
  font-weight: 900;
  color: #94a3b8;
  line-height: 1;
}
.pp-check-day.is-on {
  background: rgba(16, 185, 129, 0.18);
  border: 1px solid rgba(52, 211, 153, 0.35);
}
.pp-check-day.is-on b { color: #6ee7b7; }
.pp-check-day.is-off b { color: #f87171; }
.pp-check-day.is-future { opacity: 0.45; }
.pp-btn {
  width: 100%;
  border: 0;
  border-radius: 0.95rem;
  padding: 0.85rem 1rem;
  font-weight: 900;
  font-size: 0.92rem;
  cursor: pointer;
}
.pp-btn.is-daily { background: linear-gradient(135deg, #14b8a6, #0d9488); color: #fff; }
.pp-btn.is-daily.is-done {
  background: rgba(15, 23, 42, 0.92);
  color: #6ee7b7;
  border: 1.5px solid rgba(52, 211, 153, 0.4);
}
.pp-btn:disabled { opacity: 0.85; cursor: default; }
.pp-hint {
  text-align: center;
  font-size: 0.68rem;
  font-weight: 700;
  color: #64748b;
  margin: 0;
}

.pp-day-acc-wrap {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  margin-bottom: 0.65rem;
}
.pp-day-acc {
  border-radius: 0.8rem;
  background: rgba(2, 6, 23, 0.45);
  border: 1px solid rgba(148, 163, 184, 0.12);
  overflow: hidden;
}
.pp-day-acc.is-ok { border-color: rgba(52, 211, 153, 0.28); }
.pp-day-acc-btn {
  width: 100%;
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 0.5rem;
  align-items: center;
  padding: 0.65rem 0.7rem;
  border: 0;
  background: transparent;
  color: #e2e8f0;
  text-align: left;
  cursor: pointer;
  font: inherit;
}
.pp-day-acc-title {
  display: flex;
  flex-direction: column;
  gap: 0.1rem;
  min-width: 0;
}
.pp-day-acc-title strong {
  font-size: 0.84rem;
  font-weight: 900;
}
.pp-day-acc-title em {
  font-style: normal;
  font-size: 0.68rem;
  font-weight: 700;
  color: #94a3b8;
}
.pp-day-acc-mark {
  font-size: 0.85rem;
  font-weight: 900;
  color: #f87171;
}
.pp-day-acc.is-ok .pp-day-acc-mark { color: #6ee7b7; }
.pp-day-acc-list {
  list-style: none;
  margin: 0;
  padding: 0 0.7rem;
  max-height: 0;
  overflow: hidden;
  opacity: 0;
  transition: max-height 0.28s ease, opacity 0.2s ease, padding 0.2s ease;
}
.pp-day-acc.is-open .pp-day-acc-list {
  max-height: 16rem;
  opacity: 1;
  padding-bottom: 0.65rem;
}
.pp-day-acc.is-open .pp-acc-chev { transform: rotate(90deg); }
.pp-day-acc-list li {
  padding: 0.4rem 0.5rem;
  margin-top: 0.25rem;
  border-radius: 0.55rem;
  background: rgba(15, 23, 42, 0.55);
  font-size: 0.72rem;
  font-weight: 700;
  color: #cbd5e1;
  line-height: 1.35;
}
.pp-ai-note {
  margin: 0 0 0.75rem;
  padding: 0.7rem 0.8rem;
  border-radius: 0.85rem;
  background: linear-gradient(135deg, rgba(45, 212, 191, 0.1), rgba(99, 102, 241, 0.12));
  border: 1px solid rgba(45, 212, 191, 0.22);
  font-size: 0.8rem;
  font-weight: 700;
  color: #e2e8f0;
  line-height: 1.45;
}

@media (min-width: 380px) {
  .pp-stats { grid-template-columns: repeat(3, 1fr); }
  .pp-quest-grid { grid-template-columns: 1fr; }
}

/* Mentör — öğrenci detay veli kartı */
.det-parent-card {
  background: #fff;
  border: 1px solid #e2e8f0;
  border-radius: 1rem;
  padding: 0.9rem 1rem;
  margin-top: 0.75rem;
}
.det-parent-card h3 {
  margin: 0 0 0.5rem;
  font-size: 0.75rem;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: #0d9488;
}
.det-parent-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  margin-top: 0.65rem;
}
.det-parent-actions button {
  border: 1px solid #cbd5e1;
  background: #f8fafc;
  border-radius: 0.65rem;
  padding: 0.4rem 0.65rem;
  font-size: 0.7rem;
  font-weight: 800;
  color: #334155;
  cursor: pointer;
}
.det-parent-actions button.is-primary {
  background: #0d9488;
  border-color: #0d9488;
  color: #fff;
}
.det-parent-meta {
  font-size: 0.78rem;
  color: #475569;
  line-height: 1.45;
  margin: 0 0 0.55rem;
}
.det-parent-meta strong { color: #0f172a; }
.det-parent-week {
  display: grid;
  grid-template-columns: repeat(7, minmax(0, 1fr));
  gap: 0.28rem;
  margin: 0 0 0.35rem;
  padding: 0.4rem;
  border-radius: 0.75rem;
  background: #f8fafc;
  border: 1px solid #e2e8f0;
}
.det-parent-day {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.1rem;
  padding: 0.3rem 0.1rem;
  border-radius: 0.5rem;
  background: #fff;
}
.det-parent-day em {
  font-style: normal;
  font-size: 0.55rem;
  font-weight: 800;
  color: #64748b;
  text-transform: uppercase;
}
.det-parent-day b {
  font-size: 0.8rem;
  font-weight: 900;
  color: #94a3b8;
}
.det-parent-day.is-on {
  background: #ecfdf5;
  border: 1px solid #a7f3d0;
}
.det-parent-day.is-on b { color: #059669; }
.det-parent-day.is-off b { color: #dc2626; }
.det-parent-day.is-future { opacity: 0.45; }
.det-parent-week-hint {
  margin: 0 0 0.65rem;
  font-size: 0.72rem;
  font-weight: 700;
  color: #64748b;
}

.parent-invite-mentor-sheet {
  position: fixed;
  inset: 0;
  z-index: 13000;
  display: flex;
  align-items: flex-end;
  justify-content: center;
}
.parent-invite-mentor-sheet.hidden { display: none !important; }
.parent-invite-mentor-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(15, 23, 42, 0.45);
}
.parent-invite-mentor-card {
  position: relative;
  width: min(26rem, 100%);
  background: #fff;
  border-radius: 1.1rem 1.1rem 0 0;
  padding: 1.15rem 1.1rem 1.35rem;
  box-shadow: 0 -8px 28px rgba(15, 23, 42, 0.2);
}
.parent-invite-mentor-card h3 {
  margin: 0 0 0.35rem;
  font-size: 1rem;
  font-weight: 900;
  color: #0f172a;
}
.parent-invite-mentor-lead,
.parent-invite-mentor-status {
  font-size: 0.8rem;
  color: #64748b;
  line-height: 1.45;
  margin: 0 0 0.65rem;
  word-break: break-all;
}
.parent-invite-mentor-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
}
.parent-invite-mentor-actions button {
  border: 1px solid #cbd5e1;
  background: #f8fafc;
  border-radius: 0.7rem;
  padding: 0.55rem 0.75rem;
  font-size: 0.75rem;
  font-weight: 800;
  color: #334155;
  cursor: pointer;
}
.parent-invite-mentor-actions button.is-primary {
  background: #0d9488;
  border-color: #0d9488;
  color: #fff;
}

.det-parent-notes {
  margin-top: 0.65rem;
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
}
.det-parent-notes-title {
  margin: 0;
  font-size: 0.65rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: #64748b;
}
.det-parent-note {
  border-radius: 0.65rem;
  border: 1px solid rgba(248, 113, 113, 0.25);
  background: rgba(254, 242, 242, 0.9);
  padding: 0.55rem 0.65rem;
}
.det-parent-note strong {
  display: block;
  font-size: 0.72rem;
  color: #991b1b;
}
.det-parent-note p {
  margin: 0.25rem 0 0;
  font-size: 0.78rem;
  color: #334155;
  line-height: 1.4;
}
.det-parent-note em {
  display: block;
  margin-top: 0.2rem;
  font-style: normal;
  font-size: 0.65rem;
  color: #94a3b8;
}

/* --- Veli mobil tasarım sistemi (Faz 0+) --- */
#parent-panel {
  --pp-font-body: clamp(0.9375rem, 2.8vw, 1rem);
  --pp-font-title: clamp(1.125rem, 4vw, 1.25rem);
  --pp-font-kicker: clamp(0.6875rem, 2.2vw, 0.75rem);
  --pp-touch-min: 2.75rem;
  --pp-accent-parent: #dc2626;
}
#parent-panel .pp-shell {
  font-size: var(--pp-font-body);
}
#parent-panel .pp-hero-text h1 {
  font-size: var(--pp-font-title);
}
#parent-panel::before {
  content: none;
  display: none;
}
.pp-hero-tools {
  display: flex;
  align-items: center;
  gap: 0.35rem;
  flex-shrink: 0;
}
.pp-icon-btn {
  min-width: 2.15rem;
  min-height: 2.15rem;
  border-radius: 0.65rem;
  border: 1px solid rgba(248, 113, 113, 0.35);
  background: rgba(127, 29, 29, 0.35);
  color: #fecaca;
  cursor: pointer;
  display: grid;
  place-items: center;
}
.pp-icon-btn:active { transform: scale(0.96); }
.pp-status-band {
  margin: 0 0 0.65rem;
  padding: 0.55rem 0.75rem;
  border-radius: 0.75rem;
  background: rgba(127, 29, 29, 0.22);
  border: 1px solid rgba(248, 113, 113, 0.28);
  color: #fecaca;
  font-size: var(--pp-font-kicker);
  font-weight: 700;
  line-height: 1.45;
}
.pp-digest {
  margin-bottom: 0.75rem;
  padding: 0.75rem 0.85rem;
  border-radius: 1rem;
  background: rgba(15, 23, 42, 0.72);
  border: 1px solid rgba(148, 163, 184, 0.18);
}
.pp-digest-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 0.45rem;
}
.pp-digest-kicker {
  margin: 0;
  font-size: var(--pp-font-kicker);
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: #94a3b8;
}
.pp-notif-btn {
  position: relative;
  display: grid;
  place-items: center;
  padding: 0;
  cursor: pointer;
}
.pp-hero-tools .pp-notif-btn {
  min-width: 2.15rem;
  min-height: 2.15rem;
  border-radius: 0.65rem;
}
.pp-notif-badge {
  position: absolute;
  top: -0.15rem;
  right: -0.15rem;
  min-width: 0.95rem;
  height: 0.95rem;
  padding: 0 0.2rem;
  border-radius: 999px;
  background: #ef4444;
  color: #fff;
  font-size: 0.55rem;
  font-weight: 900;
  line-height: 0.95rem;
  text-align: center;
  border: 1.5px solid #0f172a;
}
.pp-digest-list {
  margin: 0;
  padding-left: 1rem;
  color: #cbd5e1;
  font-size: 0.78rem;
  font-weight: 600;
  line-height: 1.5;
}
.pp-action-card {
  display: block;
  width: 100%;
  text-align: left;
  margin-bottom: 0.75rem;
  padding: 0.85rem 0.95rem;
  border-radius: 1rem;
  border: 1px solid rgba(248, 113, 113, 0.35);
  background: linear-gradient(145deg, rgba(127, 29, 29, 0.45), rgba(69, 10, 10, 0.55));
  color: #fff1f2;
}
.pp-action-card.is-ok {
  border-color: rgba(52, 211, 153, 0.35);
  background: linear-gradient(145deg, rgba(6, 78, 59, 0.45), rgba(15, 23, 42, 0.65));
  color: #ecfdf5;
}
.pp-action-card.is-tap {
  cursor: pointer;
  min-height: var(--pp-touch-min);
}
.pp-action-kicker {
  margin: 0 0 0.25rem;
  font-size: var(--pp-font-kicker);
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  opacity: 0.85;
}
.pp-action-card h3 {
  margin: 0 0 0.25rem;
  font-size: 0.88rem;
  font-weight: 800;
}
.pp-action-card p {
  margin: 0;
  font-size: 0.76rem;
  line-height: 1.4;
  opacity: 0.92;
}
.pp-action-more {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  margin-top: 0.55rem;
  font-size: 0.72rem;
  font-weight: 800;
  color: #fecaca;
}
.pp-child-switch {
  display: flex;
  gap: 0.4rem;
  overflow-x: auto;
  margin-bottom: 0.65rem;
  padding-bottom: 0.15rem;
  -webkit-overflow-scrolling: touch;
}
.pp-child-chip {
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  min-height: var(--pp-touch-min);
  padding: 0.35rem 0.65rem;
  border-radius: 999px;
  border: 1px solid rgba(148, 163, 184, 0.25);
  background: rgba(15, 23, 42, 0.55);
  color: #e2e8f0;
  font-size: 0.78rem;
  font-weight: 700;
  cursor: pointer;
}
.pp-child-chip.is-on {
  border-color: rgba(248, 113, 113, 0.55);
  background: rgba(127, 29, 29, 0.55);
  color: #fff1f2;
}
.pp-child-av {
  width: 1.65rem;
  height: 1.65rem;
  border-radius: 0.5rem;
  display: grid;
  place-items: center;
  background: rgba(248, 113, 113, 0.25);
  font-weight: 900;
  font-size: 0.75rem;
}
.pp-skeleton {
  border-radius: 1rem;
  background: linear-gradient(90deg, rgba(51, 65, 85, 0.35) 25%, rgba(71, 85, 105, 0.5) 50%, rgba(51, 65, 85, 0.35) 75%);
  background-size: 200% 100%;
  animation: pp-shimmer 1.2s ease-in-out infinite;
  margin-bottom: 0.65rem;
  min-height: 4.5rem;
}
.pp-skeleton-hero { min-height: 7rem; }
.pp-skeleton-band { min-height: 2.5rem; }
.pp-skeleton-card.short { min-height: 3rem; }
@keyframes pp-shimmer {
  0% { background-position: 200% 0; }
  100% { background-position: -200% 0; }
}
.pp-empty-state {
  text-align: center;
  padding: 1rem 0.75rem;
  margin-bottom: 0.75rem;
  border-radius: 1rem;
  border: 1px dashed rgba(148, 163, 184, 0.35);
  color: #94a3b8;
}
.pp-empty-state i {
  font-size: 1.35rem;
  margin-bottom: 0.35rem;
  opacity: 0.75;
}
.pp-empty-state strong {
  display: block;
  color: #e2e8f0;
  font-size: 0.9rem;
  margin-bottom: 0.25rem;
}
.pp-empty-state p {
  margin: 0;
  font-size: 0.78rem;
  line-height: 1.45;
}
.pp-tempo-compact .pp-tempo-ring {
  width: 3.25rem;
  height: 3.25rem;
}
.pp-actions-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.45rem;
  margin-bottom: 0.45rem;
}
.pp-btn.is-note,
.pp-btn.is-info {
  min-height: var(--pp-touch-min);
  font-size: 0.72rem;
  padding: 0.55rem 0.5rem;
}
.pp-btn.is-note {
  background: rgba(127, 29, 29, 0.55);
  border-color: rgba(248, 113, 113, 0.45);
  color: #fecaca;
}
.pp-btn.is-info {
  background: rgba(30, 41, 59, 0.85);
  border-color: rgba(148, 163, 184, 0.35);
  color: #cbd5e1;
}
.pp-seg-btn,
.pp-plan-row,
.pp-quest.is-tap,
.pp-routine.is-tap,
.pp-karne-btn {
  min-height: var(--pp-touch-min);
}
.pp-note-input {
  width: 100%;
  min-height: 6.5rem;
  margin: 0.65rem 0 0.25rem;
  padding: 0.75rem;
  border-radius: 0.85rem;
  border: 1px solid rgba(148, 163, 184, 0.35);
  background: rgba(15, 23, 42, 0.75);
  color: #f8fafc;
  font-size: var(--pp-font-body);
  font-family: inherit;
  resize: vertical;
}
.pp-note-actions {
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
  margin-top: 0.65rem;
}
.pp-btn.is-ghost {
  background: rgba(148, 163, 184, 0.12);
  color: #cbd5e1;
  border: 1px solid rgba(148, 163, 184, 0.22);
}
.pp-sheet-card.is-form {
  padding-bottom: 1rem;
}
.pp-sheet-card.is-form .pp-btn.is-daily {
  margin-top: 0;
}
#report-card-modal.pp-karne-front {
  z-index: 9500 !important;
}
.pp-note-count {
  margin: 0 0 0.65rem;
  text-align: right;
  font-size: 0.68rem;
  color: #94a3b8;
}
.pp-notif-list {
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
  max-height: 50vh;
  overflow: auto;
}
.pp-notif-item {
  padding: 0.65rem 0.75rem;
  border-radius: 0.75rem;
  background: rgba(30, 41, 59, 0.75);
  border: 1px solid rgba(148, 163, 184, 0.2);
}
.pp-notif-item.is-read { opacity: 0.65; }
.pp-notif-item strong {
  display: block;
  font-size: 0.82rem;
  color: #f1f5f9;
}
.pp-notif-item p {
  margin: 0.2rem 0;
  font-size: 0.78rem;
  color: #cbd5e1;
  line-height: 1.4;
}
.pp-notif-item em {
  display: block;
  font-style: normal;
  font-size: 0.68rem;
  color: #94a3b8;
}
.pp-notif-item.is-mentor {
  border-color: rgba(251, 191, 36, 0.45);
  background: linear-gradient(135deg, rgba(30, 41, 59, 0.92), rgba(51, 65, 85, 0.85));
}
.pp-notif-tag {
  display: inline-block;
  margin-bottom: 0.25rem;
  padding: 0.12rem 0.45rem;
  border-radius: 999px;
  font-size: 0.62rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: #fde68a;
  background: rgba(251, 191, 36, 0.15);
}
.pp-mentor-msg {
  margin: 0 0 0.75rem;
  padding: 0.85rem 0.9rem;
  border-radius: 1rem;
  background: linear-gradient(135deg, rgba(251, 191, 36, 0.14), rgba(30, 41, 59, 0.85));
  border: 1px solid rgba(251, 191, 36, 0.35);
}
.pp-mentor-msg-head {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  margin-bottom: 0.45rem;
}
.pp-mentor-msg-ico {
  width: 2rem;
  height: 2rem;
  border-radius: 0.65rem;
  display: grid;
  place-items: center;
  background: rgba(251, 191, 36, 0.2);
  color: #fde68a;
}
.pp-mentor-msg-kicker {
  margin: 0;
  font-size: 0.62rem;
  font-weight: 800;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: #fcd34d;
}
.pp-mentor-msg-head strong {
  display: block;
  font-size: 0.88rem;
  color: #f8fafc;
}
.pp-mentor-msg-more {
  margin-left: auto;
  border: 0;
  background: transparent;
  color: #fcd34d;
  font-size: 0.72rem;
  font-weight: 700;
  cursor: pointer;
}
.pp-mentor-msg-body {
  margin: 0;
  font-size: 0.82rem;
  line-height: 1.45;
  color: #e2e8f0;
}
.pp-mentor-msg-time {
  display: block;
  margin-top: 0.35rem;
  font-size: 0.68rem;
  color: #94a3b8;
  font-style: normal;
}
.pp-sheet-icon.is-info { background: linear-gradient(145deg, #475569, #334155); }
.pp-sheet-icon.is-note { background: linear-gradient(145deg, #b91c1c, #7f1d1d); }
.pp-sheet-icon.is-notif { background: linear-gradient(145deg, #dc2626, #991b1b); }
.parent-invite-btn.is-muted {
  margin-top: 0.45rem;
  background: #e2e8f0;
  color: #475569;
}

@media (min-width: 640px) {
  .parent-invite-mentor-sheet { align-items: center; }
  .parent-invite-mentor-card { border-radius: 1.1rem; }
}
