/*!*****************************************************************************************************************************************************************************************************************************************************************************************************!*\
  !*** css ./node_modules/next/dist/build/webpack/loaders/css-loader/src/index.js??ruleSet[1].rules[14].oneOf[12].use[2]!./node_modules/next/dist/build/webpack/loaders/postcss-loader/src/index.js??ruleSet[1].rules[14].oneOf[12].use[3]!./app/(marketing)/yillik-plan/[[...slug]]/yillik-plan.css ***!
  \*****************************************************************************************************************************************************************************************************************************************************************************************************/
/* /yillik-plan — MEB yearly plans rendered as readable, printable, crawlable HTML.
   Everything is `yp-` prefixed so it cannot collide with the vendored Bootstrap
   or appie styles the marketing layout loads on every page.

   Surface strategy: the page sits on a soft tinted ground and every block of
   content is a white panel on top of it. An earlier pass had white content on a
   white page — technically clean, physically tiring to read down 42 weeks. */

.yp-page {
  --yp-red: #ff4245;
  --yp-red-soft: #fff1f1;
  --yp-navy: #0e1133;
  --yp-ink: #303a4d;
  --yp-muted: #6f7688;
  --yp-line: #e6e9f1;
  --yp-line-soft: #eef0f6;
  --yp-ground: #f4f6fa;
  --yp-tint: #f8f9fc;
  --yp-shadow: 0 1px 2px rgba(14, 17, 51, 0.04), 0 6px 18px rgba(14, 17, 51, 0.05);
  background: var(--yp-ground);
}

.yp-root {
  padding: 0 0 56px;
}

/* The site header turns sticky on scroll and then occupies the top 120px of the
   viewport (94px at rest, taller once the sticky class lands — measured, not
   assumed: an earlier 112px guess still tucked the target 8px under the bar).
   Anything an in-page link jumps to has to clear that. Two rules used to carry a
   90px margin and applied to only two selectors, so every other anchor in these
   sections (#uygulama, #program, the week jump nav, the section titles) landed
   behind the header. One rule for every id instead — scroll-margin only takes
   effect on the element actually being scrolled to, so a blanket [id] is safe. */
.yp-page [id] {
  scroll-margin-top: 136px;
}

.yp-container {
  max-width: 940px;
  margin: 0 auto;
  color: var(--yp-ink);
  font-size: 16px;
  line-height: 1.62;
}

/* ── Hero band ──────────────────────────────────────────────────
   Doubles as the surface the shared site header expects: that header is
   position:absolute with white nav everywhere else on the site, so giving this
   section a dark band keeps it consistent instead of overriding its colours. */

.yp-hero-band {
  background:
    radial-gradient(900px 320px at 88% -30%, rgba(255, 66, 69, 0.28), transparent 60%),
    linear-gradient(135deg, #171c44 0%, #0e1133 58%, #1a1240 100%);
  color: #fff;
  padding: 148px 0 92px;
}

.yp-hero-band .container {
  max-width: 940px;
}

.yp-hero-band h1 {
  color: #fff;
  font-size: 34px;
  line-height: 1.22;
  font-weight: 700;
  margin: 0 0 14px;
  letter-spacing: -0.01em;
}

.yp-hero-band .yp-lead {
  color: rgba(255, 255, 255, 0.76);
  font-size: 16.5px;
  max-width: 720px;
  margin: 0;
}

.yp-hero-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 0 0 16px;
}

.yp-tag {
  display: inline-block;
  background: var(--yp-red);
  color: #fff;
  font-size: 13px;
  font-weight: 600;
  padding: 5px 13px;
  border-radius: 999px;
}

.yp-tag-quiet {
  background: rgba(255, 255, 255, 0.12);
  color: rgba(255, 255, 255, 0.88);
  font-weight: 500;
}

/* ── Breadcrumb (lives inside the dark band) ────────────────────── */

.yp-breadcrumb {
  font-size: 13.5px;
  color: rgba(255, 255, 255, 0.55);
  margin-bottom: 18px;
}

.yp-breadcrumb a {
  color: rgba(255, 255, 255, 0.85);
  text-decoration: none;
}

.yp-breadcrumb a:hover {
  color: #fff;
  text-decoration: underline;
}

.yp-breadcrumb-sep {
  margin: 0 8px;
  color: rgba(255, 255, 255, 0.3);
}

/* ── Stat tiles — lifted over the hem of the hero band ──────────── */

.yp-stats {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(118px, 1fr));
  gap: 1px;
  background: var(--yp-line);
  border-radius: 14px;
  overflow: hidden;
  box-shadow: var(--yp-shadow);
  margin: -52px 0 30px;
}

.yp-stat {
  background: #fff;
  padding: 15px 16px 16px;
}

.yp-stat dt {
  font-size: 12.5px;
  color: var(--yp-muted);
  font-weight: 500;
  margin: 0 0 3px;
}

.yp-stat dd {
  margin: 0;
  font-size: 23px;
  font-weight: 600;
  color: var(--yp-navy);
  line-height: 1.15;
  letter-spacing: -0.01em;
}

.yp-stat-hint {
  display: block;
  font-size: 12px;
  font-weight: 400;
  color: var(--yp-muted);
}

/* ── Section titles ─────────────────────────────────────────────── */

.yp-section-title {
  margin: 40px 0 16px;
}

.yp-section-title h2 {
  position: relative;
  font-size: 21px;
  font-weight: 700;
  color: var(--yp-navy);
  margin: 0 0 4px;
  padding-left: 14px;
  letter-spacing: -0.01em;
}

.yp-section-title h2::before {
  content: '';
  position: absolute;
  left: 0;
  top: 6px;
  bottom: 6px;
  width: 4px;
  border-radius: 2px;
  background: var(--yp-red);
}

.yp-section-title p {
  margin: 0;
  padding-left: 14px;
  font-size: 14px;
  color: var(--yp-muted);
}

.yp-section-title a {
  color: #2563eb;
  text-decoration: none;
}

/* ── Generic white panel ────────────────────────────────────────── */

.yp-panel {
  background: #fff;
  border-radius: 14px;
  box-shadow: var(--yp-shadow);
  padding: 22px 24px;
}

/* ── "Bu hafta" box ─────────────────────────────────────────────── */

.yp-now {
  background: #fff;
  border-radius: 14px;
  box-shadow: var(--yp-shadow);
  border-left: 4px solid var(--yp-red);
  padding: 20px 24px;
  margin: 0 0 28px;
}

.yp-now h2 {
  font-size: 12.5px;
  text-transform: uppercase;
  letter-spacing: 0.07em;
  color: var(--yp-red);
  font-weight: 700;
  margin: 0 0 10px;
}

.yp-now-week {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 10px;
  margin: 0 0 8px;
  font-size: 19px;
  font-weight: 700;
  color: var(--yp-navy);
}

.yp-now-week a {
  color: var(--yp-navy);
  text-decoration: none;
  border-bottom: 2px solid #ffd3d4;
}

.yp-now-dates {
  font-size: 14px;
  font-weight: 500;
  color: var(--yp-muted);
}

.yp-now-topic {
  margin: 0 0 2px;
  font-size: 17px;
  font-weight: 600;
  color: var(--yp-navy);
}

.yp-now-theme {
  margin: 0;
  font-size: 13px;
  color: var(--yp-muted);
}

.yp-now-outcomes {
  margin: 12px 0 0;
  padding-left: 18px;
  font-size: 15px;
  color: #4a5468;
}

.yp-now-outcomes li {
  margin-bottom: 4px;
}

.yp-now-note {
  margin: 10px 0 0;
  font-size: 14px;
  color: var(--yp-muted);
}

.yp-now-closed {
  border-left-color: #aab2c4;
}

.yp-now-closed h2 {
  color: #5b6478;
}

.yp-now-closed p {
  margin: 0 0 8px;
  font-size: 15px;
}

.yp-now-closed p:last-child {
  margin-bottom: 0;
}

/* ── Search ─────────────────────────────────────────────────────── */

.yp-search {
  margin: 0 0 28px;
}

.yp-search-field {
  position: relative;
  display: flex;
  align-items: center;
}

.yp-search-field input {
  width: 100%;
  height: 52px;
  padding: 0 44px 0 18px;
  border: 1px solid var(--yp-line);
  border-radius: 12px;
  background: #fff;
  box-shadow: var(--yp-shadow);
  font-size: 16px;
  color: var(--yp-ink);
  outline: none;
}

.yp-search-field input::placeholder {
  color: #a3a9b8;
}

/* WebKit adds its own clear affordance to type="search"; ours is the one that
   also resets state, so suppress the native twin rather than show two crosses. */
.yp-search-field input[type='search']::-webkit-search-cancel-button,
.yp-search-field input[type='search']::-webkit-search-decoration {
  -webkit-appearance: none;
  appearance: none;
}

.yp-search-field input:focus {
  border-color: var(--yp-red);
  box-shadow: 0 0 0 3px rgba(255, 66, 69, 0.12);
}

.yp-search-field button {
  position: absolute;
  right: 8px;
  width: 32px;
  height: 32px;
  border: 0;
  border-radius: 8px;
  background: transparent;
  color: var(--yp-muted);
  font-size: 22px;
  line-height: 1;
  cursor: pointer;
}

.yp-search-field button:hover {
  background: var(--yp-tint);
  color: var(--yp-navy);
}

.yp-search-hint {
  margin: 10px 2px 0;
  font-size: 13.5px;
  color: var(--yp-muted);
}

.yp-search-results {
  margin-top: 12px;
  background: #fff;
  border-radius: 14px;
  box-shadow: var(--yp-shadow);
  overflow: hidden;
}

.yp-search-group + .yp-search-group {
  border-top: 1px solid var(--yp-line);
}

.yp-search-group h3 {
  margin: 0;
  padding: 12px 20px 8px;
  font-size: 11.5px;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--yp-muted);
  font-weight: 700;
}

.yp-search-group ul {
  list-style: none;
  margin: 0;
  padding: 0 0 8px;
}

.yp-search-group a {
  display: block;
  padding: 10px 20px;
  text-decoration: none;
  border-left: 3px solid transparent;
}

.yp-search-group a:hover {
  background: var(--yp-tint);
  border-left-color: var(--yp-red);
  text-decoration: none;
}

.yp-search-primary {
  display: block;
  font-size: 15.5px;
  font-weight: 600;
  color: var(--yp-navy);
}

.yp-search-secondary {
  display: block;
  font-size: 12.5px;
  color: var(--yp-muted);
  margin-top: 1px;
}

.yp-search-outcome {
  display: block;
  font-size: 13px;
  color: #55607a;
  margin-top: 4px;
  padding-left: 10px;
  border-left: 2px solid var(--yp-line);
}

.yp-search-group .yp-search-hint {
  padding: 0 20px 10px;
  margin: 0;
}

@media print {
  .yp-search {
    display: none !important;
  }
}

/* ── Download panel ─────────────────────────────────────────────── */

.yp-download {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  background: #fff;
  border-radius: 14px;
  box-shadow: var(--yp-shadow);
  border-left: 4px solid var(--yp-navy);
  padding: 20px 24px;
  margin: 0 0 28px;
}

.yp-download-text {
  flex: 1 1 320px;
  min-width: 0;
}

.yp-download h2 {
  font-size: 18px;
  font-weight: 700;
  color: var(--yp-navy);
  margin: 0 0 5px;
}

.yp-download p {
  margin: 0;
  font-size: 14px;
  color: var(--yp-muted);
}

.yp-download-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
}

.yp-btn-outline {
  border: 1px solid var(--yp-line);
  color: var(--yp-navy);
  background: #fff;
}

.yp-btn-outline:hover {
  border-color: var(--yp-navy);
  color: var(--yp-navy);
  text-decoration: none;
}

@media print {
  .yp-download {
    display: none !important;
  }
}

/* ── CTA card ───────────────────────────────────────────────────── */

.yp-cta-card {
  display: block;
  background: #fff;
  border-radius: 14px;
  box-shadow: var(--yp-shadow);
  border-left: 4px solid var(--yp-navy);
  padding: 18px 24px;
  text-decoration: none;
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.yp-cta-card:hover {
  text-decoration: none;
  transform: translateY(-2px);
  box-shadow: 0 10px 26px rgba(14, 17, 51, 0.1);
}

.yp-cta-kicker {
  display: block;
  font-size: 11.5px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--yp-red);
  font-weight: 700;
  margin-bottom: 5px;
}

.yp-cta-title {
  display: block;
  font-size: 19px;
  font-weight: 700;
  color: var(--yp-navy);
  margin-bottom: 3px;
}

.yp-cta-desc {
  display: block;
  font-size: 14px;
  color: var(--yp-muted);
}

/* ── Grade + type grids ─────────────────────────────────────────── */

.yp-grade-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(148px, 1fr));
  gap: 12px;
}

.yp-grade-card {
  display: block;
  background: #fff;
  border-radius: 12px;
  box-shadow: var(--yp-shadow);
  padding: 16px 18px;
  text-decoration: none;
  border-top: 3px solid transparent;
  transition: transform 0.15s ease, border-color 0.15s ease;
}

.yp-grade-card:hover {
  text-decoration: none;
  transform: translateY(-2px);
  border-top-color: var(--yp-red);
}

.yp-grade-name {
  display: block;
  font-size: 17px;
  font-weight: 700;
  color: var(--yp-navy);
}

.yp-grade-meta {
  display: block;
  font-size: 13px;
  color: var(--yp-muted);
  margin-top: 2px;
}

.yp-type-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(258px, 1fr));
  gap: 12px;
}

.yp-type-card {
  background: #fff;
  border-radius: 12px;
  box-shadow: var(--yp-shadow);
  padding: 17px 19px;
}

.yp-type-card h3 {
  font-size: 15.5px;
  font-weight: 700;
  color: var(--yp-navy);
  margin: 0 0 5px;
}

.yp-type-card p {
  margin: 0;
  font-size: 14px;
  color: var(--yp-muted);
}

/* ── Subject list ───────────────────────────────────────────────── */

.yp-subject-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(272px, 1fr));
  gap: 10px;
}

.yp-subject-list a {
  display: block;
  background: #fff;
  border-radius: 10px;
  box-shadow: var(--yp-shadow);
  padding: 13px 16px;
  text-decoration: none;
  border-left: 3px solid transparent;
  transition: border-color 0.15s ease;
}

.yp-subject-list a:hover {
  border-left-color: var(--yp-red);
  text-decoration: none;
}

.yp-subject-name {
  display: block;
  font-size: 15px;
  font-weight: 600;
  color: var(--yp-navy);
}

.yp-subject-meta {
  display: block;
  font-size: 12.5px;
  color: var(--yp-muted);
  margin-top: 2px;
}

/* ── Tables ─────────────────────────────────────────────────────── */

.yp-table-wrap {
  overflow-x: auto;
  background: #fff;
  border-radius: 14px;
  box-shadow: var(--yp-shadow);
}

.yp-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 15px;
  margin: 0;
}

.yp-table thead th {
  background: var(--yp-tint);
  text-align: left;
  font-size: 12.5px;
  color: var(--yp-muted);
  font-weight: 600;
  padding: 11px 16px;
  border-bottom: 1px solid var(--yp-line);
  white-space: nowrap;
}

.yp-table tbody th,
.yp-table tbody td {
  padding: 13px 16px;
  border-bottom: 1px solid var(--yp-line-soft);
  vertical-align: top;
  text-align: left;
  font-weight: 400;
}

.yp-table tbody tr:last-child th,
.yp-table tbody tr:last-child td {
  border-bottom: none;
}

.yp-table tbody th {
  font-weight: 600;
  color: var(--yp-navy);
}

/* Columns of numbers align; standalone stat values do not (see stat tiles). */
.yp-table .yp-num {
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
  color: var(--yp-muted);
}

.yp-table a {
  color: var(--yp-navy);
  text-decoration: none;
}

.yp-table a:hover {
  color: var(--yp-red);
}

.yp-table-topics {
  display: block;
  font-size: 12.5px;
  font-weight: 400;
  color: var(--yp-muted);
  margin-top: 3px;
}

/* ── Week jump nav ──────────────────────────────────────────────── */

.yp-jump {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  background: #fff;
  border-radius: 12px;
  box-shadow: var(--yp-shadow);
  padding: 13px 16px;
  margin: 0 0 18px;
}

.yp-jump-label {
  flex: 0 0 auto;
  font-size: 12.5px;
  color: var(--yp-muted);
  font-weight: 600;
  padding-top: 6px;
}

.yp-jump-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 5px;
}

.yp-jump-chip {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 30px;
  height: 28px;
  padding: 0 7px;
  border-radius: 7px;
  background: var(--yp-tint);
  font-size: 12.5px;
  font-weight: 600;
  font-variant-numeric: tabular-nums;
  color: #4a5468;
  text-decoration: none;
}

.yp-jump-chip:hover {
  background: var(--yp-red-soft);
  color: var(--yp-red);
  text-decoration: none;
}

.yp-jump-chip.is-holiday {
  background: transparent;
  color: #aab2c4;
}

.yp-jump-chip.is-current {
  background: var(--yp-red);
  color: #fff;
}

/* ── Week groups ────────────────────────────────────────────────── */

.yp-weeks {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.yp-week-group {
  background: #fff;
  border-radius: 14px;
  box-shadow: var(--yp-shadow);
  overflow: hidden;
  scroll-margin-top: 90px;
}

.yp-week-group-head {
  padding: 16px 24px 14px;
  background: linear-gradient(180deg, var(--yp-tint) 0%, #fff 100%);
  border-bottom: 1px solid var(--yp-line);
}

.yp-week-group-head h3 {
  font-size: 15px;
  font-weight: 700;
  color: var(--yp-navy);
  margin: 0 0 3px;
  line-height: 1.35;
}

.yp-week-group-head p {
  margin: 0;
  font-size: 13px;
  color: var(--yp-muted);
}

.yp-dot {
  display: inline-block;
  width: 3px;
  height: 3px;
  border-radius: 50%;
  background: currentColor;
  opacity: 0.5;
  margin: 0 8px;
  vertical-align: middle;
}

.yp-week-group-body {
  padding: 4px 0;
}

/* ── Week rows ──────────────────────────────────────────────────── */

.yp-week {
  padding: 18px 24px;
  border-top: 1px solid var(--yp-line-soft);
  scroll-margin-top: 90px;
}

.yp-week-group-body > .yp-week:first-child {
  border-top: none;
}

.yp-week.is-current {
  background: var(--yp-red-soft);
  box-shadow: inset 3px 0 0 var(--yp-red);
}

.yp-week.is-past .yp-week-topic {
  color: #55607a;
}

.yp-week-head {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin-bottom: 12px;
}

.yp-week-badge {
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  border-radius: 8px;
  background: var(--yp-tint);
  color: #55607a;
  font-size: 13px;
  font-weight: 700;
  font-variant-numeric: tabular-nums;
}

.yp-week.is-current .yp-week-badge {
  background: var(--yp-red);
  color: #fff;
}

.yp-week-headings {
  flex: 1 1 auto;
  min-width: 0;
}

.yp-week-topic {
  display: block;
  font-size: 16.5px;
  font-weight: 600;
  color: var(--yp-navy);
  line-height: 1.35;
}

/* A repeated topic stays readable but stops competing with the week that
   introduced it, so a multi-week unit reads as one block instead of four. */
.yp-week-topic.is-continued {
  font-weight: 500;
  color: #5e6880;
}

.yp-week-cont {
  display: inline-block;
  margin-left: 8px;
  padding: 1px 8px;
  border-radius: 999px;
  background: var(--yp-tint);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.03em;
  color: #99a0b2;
  vertical-align: 2px;
}

.yp-week-dates {
  display: block;
  font-size: 13px;
  color: var(--yp-muted);
  margin-top: 1px;
}

.yp-badge {
  flex: 0 0 auto;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  padding: 3px 10px;
  border-radius: 999px;
  margin-left: auto;
}

.yp-badge-now {
  background: var(--yp-red);
  color: #fff;
}

.yp-badge-holiday {
  background: #eceff5;
  color: #5b6478;
}

.yp-week-body {
  padding-left: 40px;
}

.yp-week-block + .yp-week-block {
  margin-top: 12px;
}

.yp-week-block h4 {
  font-size: 11.5px;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--yp-muted);
  font-weight: 700;
  margin: 0 0 6px;
}

.yp-week-block-soft {
  background: var(--yp-tint);
  border-radius: 10px;
  padding: 12px 14px;
}

.yp-week-block.is-repeat .yp-outcomes {
  color: #8a90a1;
  font-size: 14px;
}

.yp-week-block.is-repeat .yp-outcomes li::marker {
  color: #d7dbe4;
}

/* The vendored appie CSS resets `ul { list-style: none }` site-wide, so every
   list in this section has to re-declare its marker explicitly. */
.yp-outcomes,
.yp-components,
.yp-now-outcomes,
.yp-app-list {
  list-style: disc outside;
}

.yp-outcomes li::marker,
.yp-components li::marker,
.yp-now-outcomes li::marker {
  color: #c2c8d6;
}

.yp-outcomes,
.yp-components {
  margin: 0;
  padding-left: 17px;
  font-size: 15px;
  color: #3d4759;
}

.yp-outcomes li,
.yp-components li {
  margin-bottom: 5px;
}

.yp-outcomes li:last-child,
.yp-components li:last-child {
  margin-bottom: 0;
}

.yp-components {
  color: #56607a;
  font-size: 14.5px;
}

/* Holiday weeks collapse to one quiet line — they carry no content. */
.yp-week.is-holiday {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 24px;
  background: var(--yp-tint);
}

.yp-week-holiday-name {
  font-size: 14.5px;
  font-weight: 600;
  color: #5b6478;
}

.yp-week.is-holiday .yp-week-dates {
  margin: 0 0 0 auto;
}

/* ── Chips ──────────────────────────────────────────────────────── */

.yp-chip-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.yp-chip {
  display: inline-flex;
  align-items: baseline;
  gap: 6px;
  background: #fff;
  border-radius: 999px;
  box-shadow: var(--yp-shadow);
  padding: 7px 15px;
  font-size: 14px;
  font-weight: 600;
  color: var(--yp-navy);
  text-decoration: none;
}

.yp-chip:hover {
  color: var(--yp-red);
  text-decoration: none;
}

.yp-chip-note {
  font-size: 12px;
  font-weight: 500;
  color: var(--yp-muted);
}

.yp-chip-more {
  background: var(--yp-navy);
  color: #fff;
}

.yp-chip-more:hover {
  color: #fff;
}

/* ── FAQ ────────────────────────────────────────────────────────── */

.yp-faq details {
  background: #fff;
  border-radius: 12px;
  box-shadow: var(--yp-shadow);
  margin-bottom: 8px;
}

.yp-faq summary {
  cursor: pointer;
  padding: 15px 20px;
  font-size: 15.5px;
  font-weight: 600;
  color: var(--yp-navy);
  list-style: none;
}

.yp-faq summary::-webkit-details-marker {
  display: none;
}

.yp-faq summary::after {
  content: '+';
  float: right;
  color: var(--yp-red);
  font-weight: 700;
}

.yp-faq details[open] summary::after {
  content: '−';
}

.yp-faq-body {
  padding: 0 20px 16px;
  font-size: 15px;
  color: #4a5468;
}

.yp-faq-body p {
  margin: 0 0 8px;
}

.yp-faq-body p:last-child {
  margin-bottom: 0;
}

/* ── App section ────────────────────────────────────────────────── */

.yp-app {
  margin: 40px 0 0;
  padding: 26px 28px;
  border-radius: 16px;
  background:
    radial-gradient(700px 240px at 92% -40%, rgba(255, 66, 69, 0.22), transparent 62%),
    linear-gradient(135deg, #171c44 0%, #0e1133 60%, #1a1240 100%);
  color: rgba(255, 255, 255, 0.82);
}

.yp-app h2 {
  font-size: 20px;
  font-weight: 700;
  color: #fff;
  margin: 0 0 10px;
}

/* Colours are set per element, not inherited: the vendored `p { color:#505056 }`
   would otherwise beat inheritance and paint dark grey text on this navy panel. */
.yp-app-lead,
.yp-app p,
.yp-app li {
  color: rgba(255, 255, 255, 0.86);
}

.yp-app-lead {
  font-size: 15px;
  margin: 0 0 14px;
}

.yp-app-list {
  margin: 0 0 14px;
  padding-left: 19px;
  font-size: 15px;
}

.yp-app-list li {
  margin-bottom: 8px;
}

.yp-app-list li::marker {
  color: rgba(255, 255, 255, 0.4);
}

.yp-app-list strong {
  color: #fff;
}

.yp-app p.yp-app-note {
  font-size: 14px;
  color: rgba(255, 255, 255, 0.62);
  margin: 0 0 18px;
}

.yp-app-note strong {
  color: rgba(255, 255, 255, 0.85);
}

.yp-app-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.yp-btn {
  display: inline-block;
  padding: 11px 22px;
  border-radius: 9px;
  font-size: 15px;
  font-weight: 600;
  text-decoration: none;
}

.yp-btn-primary {
  background: var(--yp-red);
  color: #fff;
}

.yp-btn-primary:hover {
  background: #ef3538;
  color: #fff;
  text-decoration: none;
}

.yp-btn-ghost {
  border: 1px solid rgba(255, 255, 255, 0.28);
  color: #fff;
}

.yp-btn-ghost:hover {
  border-color: rgba(255, 255, 255, 0.6);
  color: #fff;
  text-decoration: none;
}

/* ── Notes + small print ────────────────────────────────────────── */

.yp-note,
.yp-print-hint {
  font-size: 14px;
  color: var(--yp-muted);
  background: #fff;
  border-radius: 10px;
  box-shadow: var(--yp-shadow);
  padding: 13px 18px;
  margin: 18px 0 0;
}

/* The disclaimer: present, readable, and the least loud thing on the page. */
.yp-source {
  margin: 26px 0 0;
  padding: 0 2px;
}

.yp-source p {
  margin: 0;
  font-size: 12.5px;
  line-height: 1.65;
  color: #8a90a1;
}

.yp-source strong {
  color: #6f7688;
  font-weight: 600;
}

.yp-source a {
  color: #8a90a1;
  text-decoration: underline;
}

.yp-source a:hover {
  color: var(--yp-red);
}

/* ── Download nudge ─────────────────────────────────────────────
   Non-modal by construction: no backdrop, no scroll lock, always dismissible,
   and anchored to a corner so the plan stays readable behind it. */

.yp-nudge {
  position: fixed;
  right: 24px;
  bottom: 24px;
  z-index: 900;
  width: 340px;
  max-width: calc(100vw - 32px);
  padding: 20px 22px 18px;
  border-radius: 16px;
  background:
    radial-gradient(520px 200px at 100% -30%, rgba(255, 66, 69, 0.25), transparent 60%),
    linear-gradient(135deg, #191e48 0%, #0e1133 60%, #1b1341 100%);
  box-shadow: 0 18px 48px rgba(14, 17, 51, 0.32);
  color: rgba(255, 255, 255, 0.82);
  animation: yp-nudge-in 0.32s cubic-bezier(0.2, 0.8, 0.3, 1) both;
}

@keyframes yp-nudge-in {
  from {
    opacity: 0;
    transform: translateY(14px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

@media (prefers-reduced-motion: reduce) {
  .yp-nudge {
    animation: none;
  }
}

.yp-nudge-close {
  position: absolute;
  top: 8px;
  right: 10px;
  width: 30px;
  height: 30px;
  border: 0;
  background: transparent;
  color: rgba(255, 255, 255, 0.5);
  font-size: 22px;
  line-height: 1;
  cursor: pointer;
  border-radius: 8px;
}

.yp-nudge-close:hover {
  color: #fff;
  background: rgba(255, 255, 255, 0.08);
}

.yp-nudge p.yp-nudge-title {
  margin: 0 22px 7px 0;
  font-size: 16px;
  font-weight: 700;
  line-height: 1.35;
  color: #fff;
}

.yp-nudge p.yp-nudge-body {
  margin: 0 0 15px;
  font-size: 13.5px;
  line-height: 1.55;
  color: rgba(255, 255, 255, 0.72);
}

.yp-nudge-body strong {
  color: rgba(255, 255, 255, 0.92);
}

.yp-nudge-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
}

.yp-nudge-btn {
  display: inline-block;
  padding: 9px 16px;
  border-radius: 8px;
  background: var(--yp-red, #ff4245);
  color: #fff;
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
}

.yp-nudge-btn:hover {
  background: #ef3538;
  color: #fff;
  text-decoration: none;
}

.yp-nudge-btn-alt {
  background: rgba(255, 255, 255, 0.12);
}

.yp-nudge-btn-alt:hover {
  background: rgba(255, 255, 255, 0.2);
}

.yp-nudge-later {
  margin-left: auto;
  border: 0;
  background: transparent;
  color: rgba(255, 255, 255, 0.55);
  font-size: 13.5px;
  cursor: pointer;
  padding: 6px 2px;
}

.yp-nudge-later:hover {
  color: rgba(255, 255, 255, 0.85);
  text-decoration: underline;
}

@media (max-width: 575px) {
  .yp-nudge {
    right: 12px;
    left: 12px;
    bottom: 12px;
    width: auto;
    padding: 18px 18px 16px;
  }
}

@media print {
  .yp-nudge {
    display: none !important;
  }
}

/* ── Mobile ─────────────────────────────────────────────────────── */

@media (max-width: 767px) {
  .yp-hero-band {
    padding: 120px 0 84px;
  }

  .yp-hero-band h1 {
    font-size: 25px;
  }

  .yp-stats {
    grid-template-columns: repeat(2, 1fr);
  }

  .yp-stat dd {
    font-size: 20px;
  }

  .yp-week,
  .yp-week.is-holiday {
    padding-left: 16px;
    padding-right: 16px;
  }

  .yp-week-group-head {
    padding: 14px 16px 12px;
  }

  .yp-week-body {
    padding-left: 0;
  }

  .yp-badge {
    margin-left: 0;
  }

  .yp-jump {
    flex-direction: column;
    gap: 8px;
  }

  .yp-jump-label {
    padding-top: 0;
  }

  .yp-app {
    padding: 22px 18px;
  }
}

/* ── Print: a teacher pressing Ctrl+P gets the plan, not the site ── */

@media print {
  .appie-header-area,
  .appie-footer-area,
  .yp-jump,
  .yp-cta-card,
  .yp-app,
  .yp-faq,
  .yp-breadcrumb,
  .yp-now,
  .back-to-top {
    display: none !important;
  }

  .yp-page,
  .yp-hero-band {
    background: #fff !important;
    color: #000;
  }

  .yp-hero-band {
    padding: 0 0 12pt;
  }

  .yp-hero-band h1 {
    color: #000;
    font-size: 18pt;
  }

  .yp-hero-band .yp-lead,
  .yp-tag,
  .yp-tag-quiet {
    color: #333 !important;
    background: none !important;
    padding: 0;
  }

  .yp-root {
    padding: 0;
  }

  .yp-container {
    max-width: none;
    font-size: 10.5pt;
  }

  /* One compact band instead of a two-column grid that ate a third of page 1. */
  .yp-stats {
    display: flex;
    flex-wrap: wrap;
    gap: 0 18pt;
    margin-top: 0;
    box-shadow: none;
    border: 0;
    border-top: 1px solid #bbb;
    border-bottom: 1px solid #bbb;
    border-radius: 0;
    padding: 6pt 0;
  }

  .yp-stats .yp-stat {
    padding: 0;
  }

  .yp-stat dt {
    display: inline;
    font-size: 8.5pt;
  }

  .yp-stat dd {
    display: inline;
    font-size: 9.5pt;
    margin-left: 4pt;
  }

  /* A 19-week unit cannot fit on one page, so only the individual week rows are
     kept whole; the group flows and its header refuses to be orphaned. */
  .yp-week {
    break-inside: avoid;
    page-break-inside: avoid;
  }

  .yp-week-group {
    break-inside: auto;
    box-shadow: none;
    border: 1px solid #bbb;
    margin-bottom: 10pt;
  }

  .yp-week-group-head {
    break-inside: avoid;
    break-after: avoid;
    background: none;
  }

  .yp-table a,
  .yp-week-group a {
    text-decoration: none;
    color: #000;
  }

  .yp-week.is-current {
    background: none;
    box-shadow: none;
  }

  a {
    text-decoration: none;
    color: #000;
  }
}

