/* papas.css — «Mi Dralingo» part 2 · Papás (his approved design 2026-10-18, .claude/handoff/kidhome-design/Papas.dc.html),
   drawn by js/papas.js. The platform palette (Rojo Imperial, Oro, Crema), Noto Sans for words and Gelasio for pinyin
   (self-hosted, like La Ruta Dorada), Baloo 2 for the big numbers. One column on a phone, two on a laptop; body text
   15 px or more; every tap target 48 px or more. Every rule starts at #screen-parents, so nothing here reaches another
   screen of /homework (and the pastel rules of homework-pastel.css never win in here). */
@font-face { font-family: 'Noto Sans'; src: url('/assets/fonts/study/noto-sans-400.woff2') format('woff2'); font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: 'Noto Sans'; src: url('/assets/fonts/study/noto-sans-600.woff2') format('woff2'); font-weight: 500 600; font-style: normal; font-display: swap; }
@font-face { font-family: 'Noto Sans'; src: url('/assets/fonts/study/noto-sans-800.woff2') format('woff2'); font-weight: 700 900; font-style: normal; font-display: swap; }
@font-face { font-family: 'Gelasio'; src: url('/assets/fonts/study/gelasio-400.woff2') format('woff2'); font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: 'Gelasio'; src: url('/assets/fonts/study/gelasio-700.woff2') format('woff2'); font-weight: 600 700; font-style: normal; font-display: swap; }

#screen-parents.pp {
  --pp-rojo: #5a1010;        /* Rojo Imperial */
  --pp-rojo-2: #741a1a;
  --pp-oro: #b88b2c;         /* Oro */
  --pp-oro-claro: #e8c878;   /* gold on Rojo Imperial */
  --pp-oro-ink: #85631d;     /* gold text on Crema (5.0:1) */
  --pp-crema: #f7f1e4;
  --pp-paper: #fffdf8;
  --pp-sand: #f3e2b3;
  --pp-line: #e2d4b4;
  --pp-ink: #1c1a17;
  --pp-ink-2: #4a3f36;
  --pp-ink-soft: #6b5d4f;    /* 5.9:1 on Crema */
  --pp-green: #1f6b45;       /* done = green ✓ (never gold) */
  --pp-red: #c62828;
  --pp-head: 'Baloo 2', 'Noto Sans', system-ui, sans-serif;
  --pp-body: 'Noto Sans', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
  --pp-ease: cubic-bezier(.2, .8, .2, 1);
  position: relative;
  z-index: 2;
  min-height: 100vh;
  min-height: 100dvh;
  box-sizing: border-box;
  padding: 0 0 calc(72px + env(safe-area-inset-bottom, 0px));   /* (room for the 🌐 English pill, bottom-left) */
  background: var(--pp-crema);
  color: var(--pp-ink);
  font-family: var(--pp-body);
  font-size: 16px;
  font-weight: 500;
  line-height: 1.45;
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
}
#screen-parents.pp.hidden { display: none !important; }
#screen-parents.pp *, #screen-parents.pp *::before, #screen-parents.pp *::after { box-sizing: border-box; }
/* the pinned 🔑 code stack never shows on Papás (no code on this page, his rule 2026-10-18), and the screen starts at the
   top (homework-pastel.css pushes the other screens below that stack) */
body:has(#screen-parents:not(.hidden)) #hw-pin-stack { display: none !important; }
body.hw-pastel.hw-portal:has(#hw-pin-stack) #screen-parents.pp { padding-top: 0; }
html.pp-lock, html.pp-lock body { overflow: hidden !important; }   /* (a sheet is open: the page behind it stays still) */

#screen-parents :is(button, a, summary):focus-visible { outline: 3px solid var(--pp-ink); outline-offset: 3px; }
#screen-parents .pp-sr { position: absolute; width: 1px; height: 1px; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
#screen-parents .pp-wrap { max-width: 1180px; margin: 0 auto; }

/* ── the banner: the family garden, Latifa, «Volver» ── */
#screen-parents .pp-banner { position: relative; height: 196px; overflow: hidden; background: #6d8f6a; }
#screen-parents .pp-banner-bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 62%; }
#screen-parents .pp-banner::after {
  content: ''; position: absolute; inset: 0; pointer-events: none;
  background: linear-gradient(180deg, rgba(40, 20, 10, .42) 0%, rgba(40, 20, 10, .08) 30%, rgba(40, 20, 10, .55) 58%, rgba(40, 20, 10, .86) 100%);
}
/* the top row: «Volver», then the kid's avatar + name (siblings share a phone: whose progress this is) */
#screen-parents .pp-banner-top { position: absolute; z-index: 3; left: 12px; right: 100px; top: 12px; display: flex; align-items: center; gap: 8px; min-width: 0; }
/* (#hw-parents-back: homework-pastel.css paints every back button white, by its id) */
#screen-parents #hw-parents-back.pp-back {
  flex: none; display: inline-flex; align-items: center; gap: 6px; min-height: 48px; padding: 0 16px 0 10px;
  border: 0; border-radius: 14px; background: rgba(40, 20, 10, .6); color: var(--pp-paper);
  font: 800 16px/1 var(--pp-body); cursor: pointer; box-shadow: none;
  -webkit-backdrop-filter: blur(4px); backdrop-filter: blur(4px);
  transition: transform 120ms var(--pp-ease), background-color 160ms ease;
}
#screen-parents #hw-parents-back.pp-back:hover { background: rgba(40, 20, 10, .76); }
#screen-parents #hw-parents-back.pp-back:active { transform: scale(.96); }
#screen-parents .pp-kid {
  min-width: 0; display: inline-flex; align-items: center; gap: 7px; min-height: 40px; padding: 4px 12px 4px 4px;
  border-radius: 999px; background: rgba(255, 253, 248, .92); color: var(--pp-ink); box-shadow: 0 2px 8px rgba(0, 0, 0, .18);
}
#screen-parents .pp-kid-av { width: 32px; height: 32px; flex: none; border-radius: 50%; overflow: hidden; background: var(--pp-sand); display: inline-flex; align-items: center; justify-content: center; }
#screen-parents .pp-kid-av img { width: 100%; height: 100%; object-fit: cover; }
#screen-parents .pp-kid-name { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-size: 15px; font-weight: 800; }
#screen-parents .pp-kid:has(.pp-kid-name[hidden]) { padding-right: 4px; }
#screen-parents .pp-banner-latifa {
  position: absolute; z-index: 2; right: 6px; bottom: 0; width: 84px; height: 150px;
  object-fit: contain; object-position: bottom; pointer-events: none;
  filter: drop-shadow(0 6px 10px rgba(0, 0, 0, .3));
}
#screen-parents .pp-banner-text { position: absolute; z-index: 2; left: 16px; right: 98px; bottom: 14px; color: var(--pp-paper); text-shadow: 0 1px 6px rgba(0, 0, 0, .35); }
#screen-parents .pp-kicker { margin: 0; font-size: 15px; font-weight: 800; color: var(--pp-oro-claro); }
#screen-parents .pp-title { margin: 0; font: 800 28px/1.08 var(--pp-head); color: var(--pp-paper); letter-spacing: 0; text-shadow: 0 2px 10px rgba(0, 0, 0, .3); }
#screen-parents .pp-level { margin: 3px 0 0; font-size: 15px; font-weight: 700; }

/* ── the two columns ── */
#screen-parents .pp-grid { display: grid; gap: 16px; padding: 16px 14px 0; }
#screen-parents .pp-col { display: flex; flex-direction: column; gap: 16px; min-width: 0; }
#screen-parents .pp-col-main { container-type: inline-size; }
#screen-parents .pp-card { background: var(--pp-paper); border-radius: 20px; box-shadow: inset 0 0 0 2px var(--pp-line); padding: 16px; display: flex; flex-direction: column; gap: 12px; }
#screen-parents .pp-card[hidden], #screen-parents [hidden] { display: none !important; }
#screen-parents .pp-h2 { margin: 0; font: 900 18px/1.25 var(--pp-body); color: var(--pp-ink); letter-spacing: 0; }

/* ── ① «Lo más importante esta semana» ── */
#screen-parents .pp-focus {
  position: relative; overflow: hidden; min-height: 150px;
  display: flex; flex-direction: column; gap: 12px; padding: 18px 16px 18px;
  border-radius: 22px; background: var(--pp-rojo); color: var(--pp-paper);
  box-shadow: 0 12px 28px rgba(90, 16, 16, .2);
}
#screen-parents .pp-focus.is-calm { background: var(--pp-green); box-shadow: 0 12px 28px rgba(31, 107, 69, .2); }
#screen-parents .pp-focus-k { margin: 0; font-size: 15px; font-weight: 800; color: var(--pp-oro-claro); }
#screen-parents .pp-focus.is-calm .pp-focus-k { color: #d9f0e2; }
#screen-parents .pp-focus-t { margin: 0; padding-right: 86px; font-size: 18px; font-weight: 800; line-height: 1.38; text-wrap: pretty; }
#screen-parents .pp-focus-acts { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; padding-right: 80px; }
#screen-parents .pp-focus-art { position: absolute; right: 0; bottom: 0; width: 92px; height: 128px; object-fit: contain; object-position: bottom right; pointer-events: none; }
#screen-parents .pp-btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 48px; padding: 0 18px; border: 0; border-radius: 14px;
  font: 800 16px/1.15 var(--pp-body); text-decoration: none; cursor: pointer; text-align: center;
  -webkit-tap-highlight-color: transparent;
  transition: transform 120ms var(--pp-ease), box-shadow 120ms var(--pp-ease), background-color 160ms ease;
}
#screen-parents .pp-btn-gold { background: var(--pp-oro-claro); color: var(--pp-rojo); box-shadow: 0 4px 0 var(--pp-oro); }
#screen-parents .pp-btn-gold:hover { background: #f0d690; }
#screen-parents .pp-btn-gold:active { transform: translateY(3px); box-shadow: 0 1px 0 var(--pp-oro); }
#screen-parents .pp-focus.is-calm .pp-btn-gold { color: #14482e; }
#screen-parents .pp-btn-ghost { background: transparent; color: var(--pp-paper); box-shadow: inset 0 0 0 2px rgba(255, 253, 248, .6); }
#screen-parents .pp-btn-ghost:active { transform: scale(.97); }

/* ── ② four big numbers ── */
#screen-parents .pp-nums { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
@container (min-width: 600px) { #screen-parents .pp-nums { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
#screen-parents .pp-num { min-width: 0; display: flex; flex-direction: column; gap: 4px; padding: 12px 12px 14px; border-radius: 18px; background: var(--pp-paper); box-shadow: inset 0 0 0 2px var(--pp-line); }
#screen-parents .pp-num-pic { width: 44px; height: 44px; object-fit: contain; margin-bottom: 2px; }
#screen-parents .pp-num-pic.is-word { object-fit: cover; border-radius: 12px; background: #fff; box-shadow: 0 0 0 2px var(--pp-line); }
#screen-parents .pp-num-pic.is-face { border-radius: 50%; object-fit: cover; object-position: 50% 10%; background: var(--pp-sand); }
#screen-parents .pp-num-big { display: flex; flex-wrap: wrap; align-items: center; gap: 2px 6px; font: 800 30px/1.05 var(--pp-head); color: var(--pp-rojo); }
#screen-parents .pp-num-big small { font: 700 15px/1.2 var(--pp-body); color: var(--pp-ink-soft); }
#screen-parents .pp-num-big.is-green { color: var(--pp-green); }
#screen-parents .pp-num-big.is-gold { color: var(--pp-oro-ink); }
#screen-parents .pp-num-big.is-soft { color: var(--pp-ink-soft); }
#screen-parents .pp-num-label { font-size: 15px; font-weight: 800; line-height: 1.25; }
#screen-parents .pp-num-sub { display: flex; align-items: center; gap: 5px; font-size: 15px; font-weight: 700; line-height: 1.3; color: var(--pp-ink-soft); }
#screen-parents .pp-num-sub.is-red { color: var(--pp-red); }
#screen-parents .pp-num-sub.is-green { color: var(--pp-green); }
#screen-parents .pp-ok { flex: none; width: 18px; height: 18px; border-radius: 50%; background: var(--pp-green); color: #fff; display: inline-flex; align-items: center; justify-content: center; }
#screen-parents .pp-ok svg { width: 12px; height: 12px; }
#screen-parents .pp-ok-big { width: 24px; height: 24px; }
#screen-parents .pp-ok-big svg { width: 15px; height: 15px; }

/* ── ③ La Ruta Dorada in small scenes ── */
#screen-parents .pp-ruta-head { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 2px 10px; }
#screen-parents .pp-ruta-of { font-size: 15px; font-weight: 700; color: var(--pp-ink-soft); }
/* a phone: two rows of bigger scenes (5 + 4), readable at a glance; a laptop: one row of all of them */
#screen-parents .pp-strip { list-style: none; margin: 0; padding: 14px 2px 0; display: grid; grid-template-columns: repeat(var(--pp-half, 5), minmax(0, 1fr)); gap: 16px 8px; align-items: end; }
#screen-parents .pp-tile { position: relative; aspect-ratio: 4 / 3; border-radius: 11px; }
@container (min-width: 520px) { #screen-parents .pp-strip { grid-template-columns: repeat(var(--pp-n, 9), minmax(0, 1fr)); gap: 8px; } }
#screen-parents .pp-tile img { display: block; width: 100%; height: 100%; object-fit: cover; border-radius: inherit; }
#screen-parents .pp-tile.is-done img { box-shadow: 0 0 0 2.5px var(--pp-green); }
#screen-parents .pp-tile.is-current img { box-shadow: 0 0 0 3px var(--pp-oro-claro), 0 0 0 7px rgba(232, 200, 120, .45); }
#screen-parents .pp-tile.is-later img { filter: saturate(.35); opacity: .72; }
#screen-parents .pp-tile.is-current::before {   /* «va aquí»: a gold arrow over the experience it is in */
  content: ''; position: absolute; left: 50%; top: -15px; transform: translateX(-50%);
  border: 6px solid transparent; border-top: 7px solid var(--pp-oro);
}
#screen-parents .pp-tile-n {
  position: absolute; left: 4px; top: 4px; min-width: 22px; height: 22px; padding: 0 5px; border-radius: 999px;
  background: rgba(90, 16, 16, .86); color: var(--pp-paper); font: 800 13px/22px var(--pp-body); text-align: center;
}
#screen-parents .pp-tile.is-done .pp-tile-n { background: var(--pp-green); }
#screen-parents .pp-tile.is-current .pp-tile-n { background: var(--pp-oro); color: #fff; }
#screen-parents .pp-tile-ok {
  position: absolute; right: 4px; top: 4px; width: 22px; height: 22px; border-radius: 50%;
  background: var(--pp-green); color: #fff; box-shadow: 0 0 0 2px var(--pp-paper);
  display: flex; align-items: center; justify-content: center;
}
#screen-parents .pp-tile-ok svg { width: 13px; height: 13px; }
/* the trophy at the end: Dubai, with Dralingo holding the golden star over it */
#screen-parents .pp-tile-trophy > img:first-child { box-shadow: 0 0 0 2.5px var(--pp-oro); }
#screen-parents .pp-tile-trophy.is-later > img:first-child { filter: saturate(.5); opacity: .85; }
#screen-parents .pp-tile-trophy.is-done > img:first-child { box-shadow: 0 0 0 2.5px var(--pp-green); }
#screen-parents .pp-tile-trophy img.pp-cup {
  position: absolute; left: 50%; bottom: 0; transform: translateX(-50%);
  width: auto; height: 112%; border-radius: 0; object-fit: contain; box-shadow: none; opacity: 1;
  filter: drop-shadow(0 2px 4px rgba(90, 16, 16, .35));
}
#screen-parents .pp-tile-trophy.is-done img.pp-cup, #screen-parents .pp-tile-trophy.is-current img.pp-cup { filter: drop-shadow(0 0 7px rgba(232, 200, 120, .95)); }
#screen-parents .pp-ruta-say { margin: 2px 0 0; font-size: 16px; font-weight: 700; line-height: 1.4; color: var(--pp-ink-2); text-wrap: pretty; }
#screen-parents .pp-link {
  align-self: flex-start; display: inline-flex; align-items: center; gap: 4px; min-height: 48px; padding: 0 4px;
  border: 0; background: none; color: var(--pp-rojo); font: 800 16px/1.2 var(--pp-body); cursor: pointer;
  text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: 4px; text-decoration-color: var(--pp-oro-claro);
}
#screen-parents .pp-link:hover { text-decoration-color: var(--pp-rojo); }

/* ── ④ «Cómo ayudar en casa» ── */
#screen-parents .pp-help-head { display: flex; align-items: center; gap: 10px; }
#screen-parents .pp-help-head img { width: 48px; height: 62px; flex: none; object-fit: contain; object-position: bottom; }
#screen-parents .pp-tips { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 10px; }
#screen-parents .pp-tips li { display: flex; align-items: flex-start; gap: 10px; }
#screen-parents .pp-tip-n { flex: none; width: 28px; height: 28px; border-radius: 50%; background: var(--pp-sand); color: var(--pp-rojo); display: flex; align-items: center; justify-content: center; font: 900 15px/1 var(--pp-body); }
#screen-parents .pp-tip-t { padding-top: 2px; font-size: 16px; font-weight: 700; line-height: 1.42; text-wrap: pretty; }

/* ── ⑤ the rows ── */
#screen-parents .pp-rows { display: flex; flex-direction: column; gap: 8px; }
#screen-parents .pp-row {
  display: flex; align-items: center; gap: 12px; width: 100%; min-height: 66px; padding: 10px 12px 10px 12px;
  border: 0; border-radius: 16px; background: var(--pp-paper); box-shadow: inset 0 0 0 2px var(--pp-line);
  color: var(--pp-ink); font: inherit; text-align: left; cursor: pointer; -webkit-tap-highlight-color: transparent;
  transition: transform 120ms var(--pp-ease), box-shadow 160ms ease;
}
#screen-parents .pp-row:hover { box-shadow: inset 0 0 0 2px var(--pp-oro); }
#screen-parents .pp-row:active { transform: scale(.985); }
#screen-parents .pp-row-pic { width: 44px; height: 44px; flex: none; object-fit: contain; }
#screen-parents .pp-row-pic.is-round { border-radius: 50%; object-fit: cover; object-position: 50% 8%; background: var(--pp-sand); }
#screen-parents .pp-row-ico { width: 44px; height: 44px; flex: none; border-radius: 12px; background: var(--pp-sand); color: var(--pp-rojo); display: flex; align-items: center; justify-content: center; }
#screen-parents .pp-row-t { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 1px; }
#screen-parents .pp-row-t b { font-size: 17px; font-weight: 800; line-height: 1.25; }
#screen-parents .pp-row-t small { font-size: 15px; font-weight: 600; line-height: 1.3; color: var(--pp-ink-soft); }
#screen-parents .pp-badge { flex: none; min-width: 26px; height: 26px; padding: 0 7px; border-radius: 999px; background: var(--pp-red); color: #fff; font: 900 14px/26px var(--pp-body); text-align: center; }
#screen-parents .pp-count { flex: none; min-width: 28px; height: 28px; padding: 0 8px; border-radius: 999px; background: var(--pp-sand); color: var(--pp-rojo); font: 900 15px/28px var(--pp-body); text-align: center; }
#screen-parents .pp-chev { flex: none; color: var(--pp-oro-ink); }

/* ── the sheet each row opens ── */
#screen-parents .pp-sheet { position: fixed; inset: 0; z-index: 80; display: flex; align-items: flex-end; justify-content: center; }
#screen-parents .pp-sheet[hidden] { display: none !important; }
#screen-parents .pp-sheet-scrim { position: absolute; inset: 0; background: rgba(28, 26, 23, .5); opacity: 0; transition: opacity 200ms ease; }
#screen-parents .pp-sheet.is-open .pp-sheet-scrim { opacity: 1; }
#screen-parents .pp-sheet-card {
  position: relative; width: 100%; height: 100%; display: flex; flex-direction: column; overflow: hidden;
  background: var(--pp-crema); outline: none;
  transform: translateY(28px); opacity: 0;
  transition: transform 260ms var(--pp-ease), opacity 180ms ease;
}
#screen-parents .pp-sheet.is-open .pp-sheet-card { transform: none; opacity: 1; }
#screen-parents .pp-sheet-head {
  flex: none; display: flex; align-items: center; gap: 8px;
  padding: calc(8px + env(safe-area-inset-top, 0px)) 8px 8px 10px;
  background: var(--pp-rojo); color: var(--pp-paper); border-bottom: 3px solid #c79c3e;
}
#screen-parents .pp-sheet-back, #screen-parents .pp-sheet-x {
  flex: none; display: inline-flex; align-items: center; justify-content: center; gap: 6px; min-height: 48px;
  border: 0; border-radius: 14px; background: rgba(255, 253, 248, .14); color: var(--pp-paper);
  font: 800 16px/1 var(--pp-body); cursor: pointer; transition: transform 120ms var(--pp-ease), background-color 160ms ease;
}
#screen-parents .pp-sheet-back { padding: 0 14px 0 8px; }
#screen-parents .pp-sheet-x { width: 48px; }
#screen-parents :is(.pp-sheet-back, .pp-sheet-x):hover { background: rgba(255, 253, 248, .24); }
#screen-parents :is(.pp-sheet-back, .pp-sheet-x):active { transform: scale(.95); }
#screen-parents .pp-sheet-title { flex: 1; min-width: 0; margin: 0; font: 800 20px/1.15 var(--pp-head); color: var(--pp-paper); text-align: center; letter-spacing: 0; }
#screen-parents .pp-sheet-body { flex: 1; overflow-y: auto; overscroll-behavior: contain; -webkit-overflow-scrolling: touch; padding: 16px 14px calc(76px + env(safe-area-inset-bottom, 0px)); }

#screen-parents .pp-intro { margin: 0 0 14px; font-size: 16px; font-weight: 600; line-height: 1.45; color: var(--pp-ink-2); }
#screen-parents .pp-h3 { margin: 22px 0 10px; font: 800 20px/1.2 var(--pp-head); color: var(--pp-rojo); letter-spacing: 0; }
#screen-parents .pp-chips { display: flex; flex-wrap: wrap; gap: 8px; }
#screen-parents .pp-chip { display: inline-flex; align-items: baseline; gap: 6px; padding: 8px 14px; border-radius: 999px; background: var(--pp-paper); box-shadow: inset 0 0 0 2px var(--pp-line); font-size: 15px; font-weight: 700; }
#screen-parents .pp-chip b { font: 800 19px/1 var(--pp-head); color: var(--pp-rojo); }
#screen-parents .pp-item { display: flex; flex-direction: column; gap: 6px; margin: 0 0 10px; padding: 14px; border-radius: 16px; background: var(--pp-paper); box-shadow: inset 0 0 0 2px var(--pp-line); }
#screen-parents .pp-item-head { display: flex; align-items: baseline; justify-content: space-between; gap: 10px; }
#screen-parents .pp-item-t { font-size: 17px; font-weight: 800; line-height: 1.3; }
#screen-parents .pp-item-score { flex: none; font: 800 19px/1 var(--pp-head); color: var(--pp-green); white-space: nowrap; }
#screen-parents .pp-item-score.is-gold { color: var(--pp-oro-ink); }
#screen-parents .pp-item-date { font-size: 15px; font-weight: 600; color: var(--pp-ink-soft); }
#screen-parents .pp-item-list { margin: 2px 0 0; padding-left: 20px; font-size: 16px; line-height: 1.5; }
#screen-parents .pp-item-tip { margin: 2px 0 0; padding: 10px 12px; border-radius: 12px; background: #fbf3dc; font-size: 16px; font-weight: 600; line-height: 1.45; color: var(--pp-ink-2); }
#screen-parents .pp-item-k { font-size: 15px; font-weight: 800; color: var(--pp-oro-ink); }
#screen-parents .pp-item-q { margin: 0; font-size: 17px; font-weight: 700; line-height: 1.45; }
#screen-parents .pp-empty { margin: 0 0 10px; padding: 18px 16px; border-radius: 16px; background: var(--pp-paper); box-shadow: inset 0 0 0 2px var(--pp-line); text-align: center; font-size: 16px; font-weight: 600; color: var(--pp-ink-2); }
#screen-parents .pp-fold { margin: 0 0 10px; border-radius: 16px; background: var(--pp-paper); box-shadow: inset 0 0 0 2px var(--pp-line); overflow: hidden; }
#screen-parents .pp-fold > summary { list-style: none; display: flex; align-items: center; gap: 10px; min-height: 56px; padding: 8px 14px; cursor: pointer; font-size: 17px; font-weight: 800; }
#screen-parents .pp-fold > summary::-webkit-details-marker { display: none; }
#screen-parents .pp-fold > summary > span { flex: 1; min-width: 0; }
#screen-parents .pp-fold > summary::after { content: ''; flex: none; width: 10px; height: 10px; margin: 0 4px 4px 0; border-right: 3px solid var(--pp-oro-ink); border-bottom: 3px solid var(--pp-oro-ink); transform: rotate(45deg); transition: transform 160ms var(--pp-ease); }
#screen-parents .pp-fold[open] > summary::after { transform: rotate(225deg); margin-bottom: -4px; }
#screen-parents .pp-fold-n { flex: none; font-size: 15px; font-weight: 700; color: var(--pp-ink-soft); }
#screen-parents .pp-wordlist { list-style: none; margin: 0; padding: 0 10px 12px; display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 250px), 1fr)); gap: 8px; }
#screen-parents .pp-word { display: flex; align-items: center; gap: 10px; min-height: 60px; padding: 6px 6px 6px 8px; border-radius: 14px; background: #fff; box-shadow: inset 0 0 0 1.5px #eee3c8; }
#screen-parents .pp-word img { width: 48px; height: 48px; flex: none; border-radius: 10px; object-fit: cover; }
#screen-parents .pp-word-dot { width: 12px; height: 12px; margin: 0 4px; flex: none; border-radius: 50%; background: var(--pp-sand); }
#screen-parents .pp-word-t { flex: 1; min-width: 0; display: flex; flex-direction: column; }
#screen-parents .pp-word-py { font: 700 19px/1.2 'Gelasio', Georgia, serif; color: var(--pp-rojo); overflow-wrap: anywhere; }
#screen-parents .pp-word-es { font-size: 15px; font-weight: 600; line-height: 1.3; color: var(--pp-ink-2); }
#screen-parents .pp-say { flex: none; width: 48px; height: 48px; border: 0; border-radius: 12px; background: var(--pp-sand); color: var(--pp-rojo); display: flex; align-items: center; justify-content: center; cursor: pointer; transition: transform 120ms var(--pp-ease), background-color 160ms ease; }
#screen-parents .pp-say:active { transform: scale(.94); }
#screen-parents .pp-say.speaking { background: var(--pp-oro-claro); }
#screen-parents .pp-sent { list-style: none; margin: 0; padding: 0 12px 12px; display: flex; flex-direction: column; gap: 8px; }
#screen-parents .pp-sent li { display: flex; gap: 10px; padding: 10px 12px; border-radius: 12px; background: #fff; box-shadow: inset 0 0 0 1.5px #eee3c8; font-size: 16px; }
#screen-parents .pp-sent li > span:last-child { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
#screen-parents .pp-sent-mark { flex: none; width: 24px; height: 24px; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-weight: 900; color: #fff; background: var(--pp-green); }
#screen-parents .pp-sent li.is-bad .pp-sent-mark { background: var(--pp-red); }
#screen-parents .pp-sent-es { font-weight: 800; }
#screen-parents .pp-sent-l { font-size: 15px; color: var(--pp-ink-2); overflow-wrap: anywhere; }
#screen-parents .pp-books { display: flex; flex-direction: column; gap: 8px; }
#screen-parents .pp-book { display: flex; align-items: center; gap: 12px; min-height: 60px; padding: 8px 14px; border-radius: 16px; background: var(--pp-paper); box-shadow: inset 0 0 0 2px var(--pp-line); color: var(--pp-ink); text-decoration: none; }
#screen-parents .pp-book img { width: 36px; height: 36px; object-fit: contain; flex: none; }
#screen-parents .pp-book-t { flex: 1; display: flex; flex-direction: column; }
#screen-parents .pp-book-t b { font-size: 17px; }
#screen-parents .pp-book-t small { font-size: 15px; font-weight: 600; color: var(--pp-ink-soft); }
#screen-parents .pp-book svg { color: var(--pp-oro-ink); flex: none; }

/* the guides and the month reports (homework.js fetchGuides / fetchReportMonths draw them) and the old tips, in the sheet's look */
#screen-parents .pp-sheet :is(.hw-guias-list, .hw-report-months) { display: flex; flex-direction: column; gap: 8px; }
#screen-parents .pp-sheet :is(.hw-guia-card, .hw-report-month-btn) {
  display: flex; align-items: center; gap: 12px; width: 100%; min-height: 64px; margin: 0; padding: 10px 14px;
  border: 0; border-radius: 16px; background: var(--pp-paper); box-shadow: inset 0 0 0 2px var(--pp-line);
  color: var(--pp-ink); font: 800 17px/1.25 var(--pp-body); text-align: left; text-decoration: none; cursor: pointer;
  transition: transform 120ms var(--pp-ease), box-shadow 160ms ease;
}
#screen-parents .pp-sheet :is(.hw-guia-card, .hw-report-month-btn):hover { box-shadow: inset 0 0 0 2px var(--pp-oro); }
#screen-parents .pp-sheet :is(.hw-guia-card, .hw-report-month-btn):active { transform: scale(.985); }
#screen-parents .pp-sheet .hw-report-month-btn { justify-content: space-between; }
#screen-parents .pp-sheet :is(.hw-report-go, .hw-guia-open) { flex: none; color: var(--pp-rojo); font-weight: 800; font-size: 16px; }
#screen-parents .pp-sheet .hw-guia-icon { flex: none; font-size: 26px; }
#screen-parents .pp-sheet .hw-guia-body { flex: 1; min-width: 0; display: flex; flex-direction: column; }
#screen-parents .pp-sheet .hw-guia-title { font-size: 17px; font-weight: 800; }
#screen-parents .pp-sheet .hw-guia-meta { font-size: 15px; font-weight: 600; color: var(--pp-ink-soft); }
#screen-parents .pp-sheet .hw-parents-empty { margin: 0; padding: 18px 16px; border: 0; border-radius: 16px; background: var(--pp-paper); box-shadow: inset 0 0 0 2px var(--pp-line); color: var(--pp-ink-2); font: 600 16px/1.45 var(--pp-body); text-align: center; }
#screen-parents .pp-sheet .hw-parents-speak-banner { margin: 0 0 12px; padding: 14px 16px; border: 0; border-radius: 16px; background: var(--pp-rojo); color: var(--pp-paper); font: 700 16px/1.45 var(--pp-body); }
#screen-parents .pp-sheet .hw-parents-speak-banner strong { color: var(--pp-oro-claro); }
#screen-parents .pp-sheet .hw-tip-card { display: flex; gap: 12px; margin: 0 0 10px; padding: 14px; border: 0; border-radius: 16px; background: var(--pp-paper); box-shadow: inset 0 0 0 2px var(--pp-line); }
#screen-parents .pp-sheet .hw-tip-icon { flex: none; width: 44px; height: 44px; border-radius: 12px; background: var(--pp-sand); display: flex; align-items: center; justify-content: center; font-size: 22px; }
#screen-parents .pp-sheet .hw-tip-title { font: 800 17px/1.3 var(--pp-body); color: var(--pp-ink); }
#screen-parents .pp-sheet .hw-tip-body p { margin: 4px 0 0; font-size: 16px; font-weight: 500; line-height: 1.5; color: var(--pp-ink-2); }

/* ── a laptop: the banner in a rounded frame, two columns, the sheet as a centred card ── */
@media (min-width: 700px) {
  #screen-parents .pp-wrap { padding: 16px 20px 0; }
  #screen-parents .pp-banner { height: 200px; border-radius: 24px; }
  #screen-parents .pp-banner-latifa { right: 28px; width: 104px; height: 186px; }
  #screen-parents .pp-banner-text { left: 24px; bottom: 18px; right: 150px; }
  #screen-parents .pp-title { font-size: 34px; }
  #screen-parents .pp-banner-top { left: 16px; top: 16px; right: 150px; }
  #screen-parents .pp-grid { padding: 18px 0 0; }
  #screen-parents .pp-focus { padding: 20px 20px 20px; min-height: 164px; }
  #screen-parents .pp-focus-t { font-size: 19px; padding-right: 110px; }
  #screen-parents .pp-focus-acts { padding-right: 100px; }
  #screen-parents .pp-focus-art { width: 112px; height: 150px; right: 6px; }
  #screen-parents .pp-sheet { align-items: center; padding: 24px; }
  #screen-parents .pp-sheet-card { width: min(780px, 100%); height: auto; max-height: min(88vh, 920px); border-radius: 24px; box-shadow: 0 24px 64px rgba(0, 0, 0, .32); transform: translateY(12px) scale(.98); }
  #screen-parents .pp-sheet-body { padding: 18px 20px 24px; }
}
@media (min-width: 960px) {
  #screen-parents .pp-wrap { padding: 16px 24px 0; }
  #screen-parents .pp-grid { grid-template-columns: minmax(0, 1.45fr) minmax(0, 1fr); gap: 20px; align-items: start; }
}
@media (min-width: 960px) and (max-height: 700px) {
  /* a 1366×657 laptop window: the first action stays on the first screen */
  #screen-parents .pp-banner { height: 172px; }
  #screen-parents .pp-banner-latifa { height: 164px; width: 92px; }
}
@media (max-width: 370px) {
  #screen-parents .pp-title { font-size: 25px; }
  #screen-parents .pp-banner-text { right: 88px; }
  #screen-parents .pp-banner-latifa { width: 76px; height: 136px; }
  #screen-parents .pp-focus-t { font-size: 17px; padding-right: 64px; }
  #screen-parents .pp-focus-acts { padding-right: 56px; }
  #screen-parents .pp-focus-art { width: 72px; height: 104px; }
  #screen-parents .pp-num-big { font-size: 27px; }
  #screen-parents .pp-row { gap: 10px; padding: 10px; }
}
@media (prefers-reduced-motion: reduce) {
  #screen-parents *, #screen-parents *::before, #screen-parents *::after { transition-duration: 1ms !important; animation: none !important; }
  #screen-parents .pp-sheet-card { transform: none; }
}

/* ── 🎁 2026-10-29 «Cofre de DralyDirhams» (js/papas.js drawCofre): what it is, the month's limit, the parents' check, then
   «Comprar por $5» (the Stripe page in another tab). Calm, plain, for parents; the chest drawn in CSS ── */
#screen-parents .pp-row-chest { background: #fff4d1; }
#screen-parents .pp-row-chest img { width: 28px; height: 28px; }
#screen-parents .pp-chest { display: flex; flex-direction: column; gap: 14px; }
#screen-parents .pp-chest-hero { display: flex; align-items: center; gap: 16px; padding: 16px; border-radius: 18px; background: linear-gradient(180deg, #fff6dc, #fbefcd); box-shadow: inset 0 0 0 2px var(--pp-oro-claro); }
#screen-parents .pp-chest-k { margin: 0; font-size: 15px; font-weight: 800; color: var(--pp-oro-ink); }
#screen-parents .pp-chest-big { margin: 2px 0 0; font: 800 26px/1.1 var(--pp-head); color: var(--pp-rojo); }
#screen-parents .pp-chest-price { margin: 2px 0 0; font-size: 16px; font-weight: 800; color: var(--pp-ink); }
#screen-parents .pp-chest-box {
  position: relative; flex: none; width: 66px; height: 52px; margin-top: 12px; border-radius: 7px 7px 10px 10px;
  background: linear-gradient(180deg, #a8632a, #7a3f17); box-shadow: inset 0 0 0 3px #e8c878, 0 3px 0 rgba(28, 26, 23, .18);
}
#screen-parents .pp-chest-lid { position: absolute; left: -3px; right: -3px; top: -14px; height: 20px; border-radius: 16px 16px 4px 4px; background: linear-gradient(180deg, #c27a36, #8d4a1c); box-shadow: inset 0 0 0 3px #e8c878; }
#screen-parents .pp-chest-box > img { position: absolute; left: 50%; top: 50%; width: 30px; height: 30px; transform: translate(-50%, -40%); }
#screen-parents .pp-chest-facts { margin: 0; padding: 0 0 0 20px; display: flex; flex-direction: column; gap: 8px; font-size: 16px; font-weight: 600; line-height: 1.42; color: var(--pp-ink-2); }
#screen-parents .pp-chest-note { display: flex; align-items: flex-start; gap: 8px; margin: 0; padding: 12px 14px; border-radius: 14px; background: var(--pp-paper); box-shadow: inset 0 0 0 2px var(--pp-line); font-size: 16px; font-weight: 700; line-height: 1.4; }
#screen-parents .pp-chest-note.is-ok { color: var(--pp-green); box-shadow: inset 0 0 0 2px #b9dcc6; background: #eef6f0; }
#screen-parents .pp-chest-note svg { width: 20px; height: 20px; flex: none; margin-top: 1px; }
#screen-parents .pp-chest-check { display: flex; flex-direction: column; gap: 8px; padding: 16px; border-radius: 18px; background: var(--pp-paper); box-shadow: inset 0 0 0 2px var(--pp-line); }
#screen-parents .pp-chest-who { margin: 0; font-size: 15px; font-weight: 800; letter-spacing: .04em; text-transform: uppercase; color: var(--pp-oro-ink); }
#screen-parents .pp-chest-q { font: 800 22px/1.2 var(--pp-head); color: var(--pp-ink); }
#screen-parents .pp-chest-row { display: flex; gap: 10px; }
#screen-parents .pp-chest-in {
  flex: 1 1 auto; min-width: 0; min-height: 52px; padding: 0 14px; border: 0; border-radius: 14px; background: var(--pp-crema);
  box-shadow: inset 0 0 0 2px var(--pp-line); font: 800 22px/1 var(--pp-body); color: var(--pp-ink);
}
#screen-parents .pp-chest-in:focus { outline: 3px solid var(--pp-rojo); outline-offset: 1px; }
#screen-parents .pp-chest-err { margin: 0; min-height: 1.2em; font-size: 15px; font-weight: 800; color: var(--pp-red); }
#screen-parents .pp-chest-err:empty { min-height: 0; }
#screen-parents .pp-chest-buy { display: flex; flex-direction: column; gap: 10px; }
#screen-parents .pp-chest-go { min-height: 56px; font-size: 18px; }
#screen-parents .pp-chest-small { margin: 0; font-size: 15px; font-weight: 600; color: var(--pp-ink-soft); line-height: 1.4; }
#screen-parents .pp-chest-paid { display: flex; flex-direction: column; gap: 10px; }
#screen-parents .pp-chest-notyet { background: var(--pp-paper); color: var(--pp-rojo); box-shadow: inset 0 0 0 2px var(--pp-line); }
#screen-parents .pp-chest-buy .pp-chest-price { margin: 0; font: 800 22px/1.2 var(--pp-head); color: var(--pp-rojo); }

/* ── 📝 2026-11-01 Papás rebuilt to his list: this week's three steps, «Después…», two seasons, the words honestly, «Ya
   sabe decir», «Cómo funciona», the simulation grades ── */
#screen-parents .pp-steps { list-style: none; margin: 0; padding: 0 86px 0 0; display: flex; flex-direction: column; gap: 6px; }
#screen-parents .pp-steps li { display: flex; align-items: center; gap: 10px; font-size: 16px; font-weight: 700; line-height: 1.3; }
#screen-parents .pp-steps small { font-size: 15px; font-weight: 700; color: var(--pp-oro-claro); }
#screen-parents .pp-step-n { flex: none; width: 28px; height: 28px; border-radius: 50%; display: inline-flex; align-items: center; justify-content: center; background: rgba(255, 253, 248, .16); color: var(--pp-paper); font: 900 14px/1 var(--pp-body); box-shadow: inset 0 0 0 2px rgba(255, 253, 248, .45); }
#screen-parents .pp-steps li.is-done .pp-step-n { background: #2e9a63; box-shadow: none; }
#screen-parents .pp-steps li.is-done > span:nth-child(2) { opacity: .8; text-decoration: line-through; text-decoration-thickness: 2px; }
#screen-parents .pp-step-n svg { width: 15px; height: 15px; }
#screen-parents .pp-focus-next { margin: 0; padding-right: 86px; font-size: 15px; font-weight: 800; color: var(--pp-oro-claro); }
#screen-parents .pp-focus.is-calm .pp-focus-next { color: #d9f0e2; }
#screen-parents .pp-round { margin: 6px 0 -8px; font-size: 15px; font-weight: 900; letter-spacing: .02em; text-transform: uppercase; color: var(--pp-oro-ink); }
#screen-parents .pp-tile.is-soon img { filter: grayscale(.9); opacity: .55; }
#screen-parents .pp-words-n { margin: 0; font-size: 16px; font-weight: 700; }
#screen-parents .pp-words-n b { font: 800 24px/1 var(--pp-head); color: var(--pp-green); }
#screen-parents .pp-note { margin: 0; padding: 10px 12px; border-radius: 12px; background: #fbf3dc; font-size: 15px; font-weight: 600; line-height: 1.45; color: var(--pp-ink-2); }
#screen-parents .pp-h3s { margin: 4px 0 0; font-size: 16px; font-weight: 900; color: var(--pp-ink); }
#screen-parents .pp-weak { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
#screen-parents .pp-weak li { display: flex; flex-direction: column; padding: 6px 12px; border-radius: 12px; background: #fff; box-shadow: inset 0 0 0 1.5px #eee3c8; }
#screen-parents .pp-weak b, #screen-parents .pp-line-py { font: 700 18px/1.25 'Gelasio', Georgia, serif; color: var(--pp-rojo); overflow-wrap: anywhere; }
#screen-parents .pp-weak span { font-size: 15px; font-weight: 600; color: var(--pp-ink-2); }
#screen-parents .pp-tests { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 8px; }
#screen-parents .pp-tests li { display: flex; align-items: flex-start; gap: 10px; }
#screen-parents .pp-tests li > span:last-child { display: flex; flex-direction: column; min-width: 0; }
#screen-parents .pp-tests b { font-size: 16px; font-weight: 800; line-height: 1.3; }
#screen-parents .pp-tests small { font-size: 15px; font-weight: 600; color: var(--pp-ink-soft); }
#screen-parents .pp-tests .pp-ok { margin-top: 2px; }
#screen-parents .pp-lines { list-style: none; margin: 0; padding: 0 12px 12px; display: flex; flex-direction: column; gap: 6px; }
#screen-parents .pp-lines li { display: flex; flex-direction: column; padding: 8px 12px; border-radius: 12px; background: #fff; box-shadow: inset 0 0 0 1.5px #eee3c8; }
#screen-parents .pp-line-es { font-size: 15px; font-weight: 600; color: var(--pp-ink-2); }
#screen-parents .pp-how-list { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 10px; }
#screen-parents .pp-how-list li { display: flex; align-items: flex-start; gap: 10px; }
#screen-parents .pp-btn-red { align-self: flex-start; background: var(--pp-rojo); color: var(--pp-paper); box-shadow: 0 4px 0 #3d0707; }
#screen-parents .pp-btn-red:active { transform: translateY(3px); box-shadow: 0 1px 0 #3d0707; }
#screen-parents .pp-exam-list { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 8px; }
#screen-parents .pp-exam-list li { display: flex; align-items: center; gap: 10px; padding: 10px 12px; border-radius: 14px; background: #fff; box-shadow: inset 0 0 0 1.5px #eee3c8; }
#screen-parents .pp-exam-t { flex: 1; min-width: 0; display: flex; flex-direction: column; }
#screen-parents .pp-exam-t b { font-size: 16px; font-weight: 800; line-height: 1.3; }
#screen-parents .pp-exam-t small { font-size: 15px; font-weight: 600; color: var(--pp-ink-soft); }
#screen-parents .pp-row.is-soon { cursor: default; opacity: .72; }
#screen-parents .pp-row.is-soon:hover { box-shadow: inset 0 0 0 2px var(--pp-line); }
#screen-parents .pp-row.is-soon:active { transform: none; }
@media (max-width: 370px) {
  #screen-parents .pp-steps, #screen-parents .pp-focus-next { padding-right: 60px; }
}
/* (fresh-eyes review 2026-11-01) on a phone the call to action's words take the whole width (Aileen stands by the button
   row only), and «6 de 17» never breaks */
@media (max-width: 699px) {
  #screen-parents .pp-focus-t, #screen-parents .pp-steps { padding-right: 0; }
}
#screen-parents .pp-steps small { white-space: nowrap; }

/* ── 📺 2026-11-01 midday · his second review: Papás opens FOLDED (the call to action open on top, every other part one
   tap away), the path in a folder named for the level (its seasons, each with its 2 episodes, a lock on the ones not
   open), «Sus palabras» pleasant to read, the rule «solo un video mandado hace avanzar» in plain words ── */
/* the pinyin of the chips and the lines: Noto Sans, its tone marks from the platform's own subset (css/tv-home.css's
   file), never a fallback face */
@font-face { font-family: 'PP Pinyin'; font-weight: 800; font-display: swap; src: url('/assets/fonts/pinyin/noto-tones-800.woff2') format('woff2');
  unicode-range: U+0100-0101, U+0112-0113, U+011A-011B, U+012A-012B, U+014C-014D, U+016A-016B, U+01CD-01DC; }
#screen-parents .pp-weak b, #screen-parents .pp-line-py { font-family: 'PP Pinyin', 'Noto Sans', system-ui, sans-serif; font-weight: 800; }
/* the call to action: the episode, the three steps with «Ahora», the button, the rule */
#screen-parents .pp-focus-ep { margin: -6px 0 0; font-size: 15px; font-weight: 800; color: #f6e6c1; }
#screen-parents .pp-focus.is-calm .pp-focus-ep { color: #d9f0e2; }
#screen-parents .pp-steps li.is-done > span:nth-child(2) { text-decoration: none; opacity: .85; }
#screen-parents .pp-steps li.is-now { margin: 2px -8px; padding: 6px 8px; border-radius: 14px; background: rgba(255, 253, 248, .14); box-shadow: inset 0 0 0 2px var(--pp-oro-claro); }
#screen-parents .pp-steps li.is-now .pp-step-n { background: var(--pp-oro-claro); color: var(--pp-rojo); box-shadow: none; }
#screen-parents .pp-step-now { flex: none; margin-left: auto; padding: 2px 10px; border-radius: 999px; background: var(--pp-oro-claro); color: var(--pp-rojo); font-size: 15px; font-weight: 900; }
#screen-parents .pp-focus-acts .pp-btn-gold { min-height: 54px; font-size: 18px; padding: 0 20px; }
#screen-parents .pp-focus-acts .pp-btn-gold svg { width: 18px; height: 18px; }
#screen-parents .pp-rule {
  display: flex; align-items: flex-start; gap: 10px; margin: 2px 0 0; padding: 10px 12px; border-radius: 14px;
  background: rgba(0, 0, 0, .22); color: var(--pp-paper); font-size: 15px; font-weight: 700; line-height: 1.4; text-wrap: pretty;
}
#screen-parents .pp-rule svg { flex: none; margin-top: 1px; color: var(--pp-oro-claro); }
#screen-parents .pp-focus-art { z-index: 0; }
#screen-parents .pp-focus > :not(.pp-focus-art) { position: relative; z-index: 1; }
/* the folded parts: one row each (an icon, its name, one line of what is inside), one tap opens it */
#screen-parents .pp-acc { display: flex; flex-direction: column; gap: 10px; min-width: 0; }
#screen-parents .pp-sec { border-radius: 18px; background: var(--pp-paper); box-shadow: inset 0 0 0 2px var(--pp-line); overflow: hidden; }
#screen-parents .pp-sec[open] { box-shadow: inset 0 0 0 2px var(--pp-oro), 0 10px 24px rgba(90, 16, 16, .08); }
#screen-parents .pp-sec-s { list-style: none; display: flex; align-items: center; gap: 12px; min-height: 66px; padding: 10px 14px 10px 12px; cursor: pointer; -webkit-tap-highlight-color: transparent; }
#screen-parents .pp-sec-s::-webkit-details-marker { display: none; }
#screen-parents .pp-sec-ic { width: 44px; height: 44px; flex: none; border-radius: 12px; display: grid; place-items: center; background: var(--pp-sand); color: var(--pp-rojo); }
#screen-parents .pp-sec-ic.is-folder { background: #f6dc8f; color: #6a4a0c; }
#screen-parents .pp-sec-ic.is-words { background: #dff1e6; color: var(--pp-green); }
#screen-parents .pp-sec-t { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 1px; }
#screen-parents .pp-sec-t b { font-size: 17px; font-weight: 900; line-height: 1.25; color: var(--pp-ink); }
#screen-parents .pp-sec-t small { font-size: 15px; font-weight: 600; line-height: 1.3; color: var(--pp-ink-soft); }
/* (📝 2026-11-02 «Mistakes stay forever»: the folded «Sus exámenes en clase» says how many mistakes wait, in red) */
#screen-parents .pp-sec-t small.is-alert { font-weight: 800; color: #8f1f17; }
#screen-parents .pp-sec-chev { flex: none; color: var(--pp-oro-ink); transition: transform 180ms var(--pp-ease); }
#screen-parents .pp-sec[open] .pp-sec-chev { transform: rotate(180deg); }
#screen-parents .pp-sec-b { display: flex; flex-direction: column; gap: 12px; padding: 2px 14px 16px; }
@media (hover: hover) and (pointer: fine) { #screen-parents .pp-sec:not([open]) .pp-sec-s:hover { background: #fbf6ea; } }
/* the folder of the level: its seasons, each with its 2 episodes; a lock and why on the ones not open */
#screen-parents .pp-seasons { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 8px; }
#screen-parents .pp-season { display: flex; align-items: center; gap: 10px; padding: 8px; border-radius: 16px; background: #fff; box-shadow: inset 0 0 0 1.5px #eee3c8; }
#screen-parents .pp-season > img { width: 72px; height: 54px; flex: none; border-radius: 10px; object-fit: cover; }
#screen-parents .pp-season-t { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 2px; }
#screen-parents .pp-season-t > b { font-size: 15px; font-weight: 900; color: var(--pp-oro-ink); }
#screen-parents .pp-season-t > span:not(.pp-eps) { font-size: 16px; font-weight: 800; line-height: 1.25; color: var(--pp-ink); }
#screen-parents .pp-season.is-current { box-shadow: inset 0 0 0 2.5px var(--pp-oro-claro), 0 0 0 4px rgba(232, 200, 120, .3); }
#screen-parents .pp-season.is-done { box-shadow: inset 0 0 0 2px rgba(31, 107, 69, .45); }
#screen-parents .pp-season.is-locked { background: #f7f2e6; }
#screen-parents .pp-season.is-locked > img { filter: grayscale(.9); opacity: .7; }
#screen-parents .pp-eps { display: flex; flex-wrap: wrap; gap: 5px; margin-top: 2px; }
#screen-parents .pp-ep { display: inline-flex; align-items: center; gap: 4px; padding: 2px 9px; border-radius: 999px; background: var(--pp-crema); color: var(--pp-ink-soft); font-size: 15px; font-weight: 700; line-height: 1.3; }
#screen-parents .pp-ep svg { width: 14px; height: 14px; }
#screen-parents .pp-ep.is-done { background: #dff1e6; color: var(--pp-green); }
#screen-parents .pp-ep.is-now { background: var(--pp-oro-claro); color: var(--pp-rojo); }
#screen-parents .pp-season-why { display: flex; align-items: flex-start; gap: 5px; font-size: 15px; font-weight: 600; line-height: 1.3; color: var(--pp-ink-soft); }
#screen-parents .pp-season-why svg { width: 15px; height: 15px; flex: none; margin-top: 3px; }
#screen-parents .pp-season-ok, #screen-parents .pp-season-lk { flex: none; width: 30px; height: 30px; border-radius: 50%; display: grid; place-items: center; }
#screen-parents .pp-season-ok { background: var(--pp-green); color: #fff; }
#screen-parents .pp-season-lk { background: var(--pp-sand); color: var(--pp-oro-ink); }
#screen-parents .pp-season-ok svg, #screen-parents .pp-season-lk svg { width: 16px; height: 16px; }
/* «Sus palabras»: a big friendly number (a ring), the words to review as chips, one line of why, the list */
#screen-parents .pp-wstat { display: flex; align-items: center; gap: 14px; }
#screen-parents .pp-wring {
  --p: 0; flex: none; width: 76px; height: 76px; border-radius: 50%; display: grid; place-content: center; text-align: center;
  background: radial-gradient(closest-side, #fff 76%, transparent 78% 100%), conic-gradient(var(--pp-green) calc(var(--p) * 1%), #e8dfc8 0);
}
#screen-parents .pp-wring b { font: 800 28px/1 var(--pp-head); color: var(--pp-green); }
#screen-parents .pp-wring small { font-size: 15px; font-weight: 700; color: var(--pp-ink-soft); line-height: 1.1; }
#screen-parents .pp-wstat-t { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
#screen-parents .pp-wstat-t b { font-size: 17px; font-weight: 900; line-height: 1.25; }
#screen-parents .pp-wstat-t small { font-size: 15px; font-weight: 600; color: var(--pp-ink-soft); }
#screen-parents .pp-weak li { padding: 8px 14px; border-radius: 16px; background: #fdf6e3; box-shadow: inset 0 0 0 1.5px #f0dfb3; }
#screen-parents .pp-weak b { font-size: 20px; }
@media (min-width: 960px) {
  #screen-parents .pp-acc { position: sticky; top: 12px; }
}
/* (fresh-eyes review: Aileen stands beside the rule, never on its words) */
@media (min-width: 700px) {
  #screen-parents .pp-rule { margin-right: 104px; }
}
/* (a phone: the call to action is long enough already; Aileen waits in the banner's place, the rule reads clean) */
@media (max-width: 699px) {
  #screen-parents .pp-focus-art { display: none; }
  #screen-parents .pp-focus-acts { padding-right: 0; }
  #screen-parents .pp-focus-next { padding-right: 0; }
}
