/* مخطِّط الحفظ الملكي — أنماط الصفحة (تُكمّل styles.css ولا تغيّره) */
.pl-page {
  --pl-navy: #101d35;
  --pl-navy-2: #182a47;
  --pl-gold: #d8b56b;
  --pl-gold-ink: #8a6a24;
  --pl-line: #dce3ee;
  --pl-soft: #f3f6fb;
  --pl-muted: #526078;
  --pl-focus: #b78327;
}
.pl-page h2, .pl-page h3, .pl-page h4, .pl-page h5 {
  font-family: "IBM Plex Sans Arabic", Tahoma, sans-serif; font-weight: 700;
}
.pl-sr {
  position: absolute !important;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0);
  white-space: nowrap; border: 0;
}

/* ---------- البطل ---------- */
.pl-hero .lead { line-height: 1.85; }
.pl-trust {
  list-style: none; padding: 0; margin: 22px 0 0;
  display: flex; flex-wrap: wrap; gap: 10px 22px;
  color: var(--pl-navy-2); font-size: 15px; font-weight: 600;
}
.pl-trust li { display: inline-flex; align-items: center; gap: 8px; }
.pl-trust svg { width: 17px; height: 17px; color: var(--pl-gold-ink); }

/* ---------- التخطيط ---------- */
.pl-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.55fr) minmax(0, 1fr);
  gap: 28px;
  align-items: start;
}
.pl-card {
  background: #fff;
  border: 1px solid var(--pl-line);
  border-radius: 18px;
  padding: 30px 30px 24px;
  box-shadow: 0 10px 36px #182a470d;
  scroll-margin-top: 24px;
}
.pl-card-title { font-size: 22px; line-height: 1.6; color: var(--pl-navy-2); }

/* شريط الخطوات */
.pl-progress {
  list-style: none; padding: 0; margin: 18px 0 26px;
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px;
  counter-reset: none;
}
.pl-progress li {
  display: flex; align-items: center; gap: 10px;
  padding: 10px 12px; border-radius: 12px;
  background: var(--pl-soft); color: var(--pl-muted);
  font-size: 15px; font-weight: 600; line-height: 1.5;
  border: 1px solid transparent;
}
.pl-dot {
  display: inline-grid; place-items: center; flex-shrink: 0;
  width: 28px; height: 28px; border-radius: 50%;
  background: #fff; border: 1px solid var(--pl-line);
  font-size: 14px; font-weight: 700; color: var(--pl-navy-2);
}
.pl-progress li.is-current { background: #fff; border-color: var(--pl-navy-2); color: var(--pl-navy-2); }
.pl-progress li.is-current .pl-dot { background: var(--pl-navy-2); border-color: var(--pl-navy-2); color: #fff; }
.pl-progress li.is-done .pl-dot { background: var(--pl-gold); border-color: var(--pl-gold); color: var(--pl-navy); }

.pl-step-title { font-size: 19px; line-height: 1.6; color: var(--pl-navy-2); margin-bottom: 6px; }
.pl-step-title:focus { outline: none; }
.pl-step-title:focus-visible { outline: 3px solid var(--pl-focus); outline-offset: 4px; border-radius: 4px; }

/* الحقول */
.pl-field { border: 0; padding: 0; margin: 20px 0 0; min-width: 0; }
.pl-field legend, .pl-legend {
  display: block; padding: 0; margin-bottom: 4px;
  font-size: 17px; font-weight: 700; color: var(--pl-navy); line-height: 1.7;
}
.pl-hint { font-size: 15px; line-height: 1.75; color: var(--pl-muted); margin: 0 0 12px; }

.pl-chips { display: flex; flex-wrap: wrap; gap: 10px; }
.pl-chips.is-stack { display: grid; grid-template-columns: 1fr; }
.pl-chips.is-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); }
.pl-chip { position: relative; display: block; cursor: pointer; min-width: 0; }
.pl-chips:not(.is-stack):not(.is-grid) .pl-chip { flex: 1 1 200px; }
.pl-chip input, .pl-day input {
  position: absolute; opacity: 0; inset: 0; width: 100%; height: 100%; margin: 0; cursor: pointer;
}
.pl-chip-body {
  display: flex; flex-direction: column; justify-content: center; gap: 2px;
  min-height: 56px; height: 100%;
  padding: 12px 16px 12px 44px;
  border: 1.5px solid var(--pl-line); border-radius: 12px; background: #fff;
  line-height: 1.6; transition: border-color .15s, background .15s, box-shadow .15s;
  position: relative;
}
.pl-chip-body b { font-size: 16px; color: var(--pl-navy); font-weight: 700; }
.pl-chip-body small { font-size: 14px; color: var(--pl-muted); line-height: 1.6; }
.pl-chip-body::after {
  content: ""; position: absolute; left: 14px; top: 50%;
  width: 18px; height: 18px; margin-top: -9px; border-radius: 50%;
  border: 1.5px solid #a9b5c8; background: #fff;
}
.pl-chip:hover .pl-chip-body { border-color: #9fb0cb; background: #fbfcfe; }
.pl-chip input:checked + .pl-chip-body {
  border-color: var(--pl-navy-2); background: #f5f8fd; box-shadow: inset 0 0 0 1px var(--pl-navy-2);
}
.pl-chip input:checked + .pl-chip-body::after {
  border-color: var(--pl-navy-2); background: var(--pl-navy-2);
  box-shadow: inset 0 0 0 4px #fff;
}
.pl-chip input:focus-visible + .pl-chip-body,
.pl-day input:focus-visible + span { outline: 3px solid var(--pl-focus); outline-offset: 3px; }
.pl-chip.is-disabled { cursor: not-allowed; }
.pl-chip.is-disabled .pl-chip-body { opacity: .45; background: var(--pl-soft); }
.pl-chip input:disabled { cursor: not-allowed; }

/* أيام الأسبوع */
.pl-days { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 8px; }
.pl-day { position: relative; display: block; cursor: pointer; }
.pl-day span {
  display: grid; place-items: center; min-height: 52px; padding: 6px 4px;
  border: 1.5px solid var(--pl-line); border-radius: 12px; background: #fff;
  font-size: 15px; font-weight: 600; color: var(--pl-muted); line-height: 1.4; text-align: center;
}
.pl-day input:checked + span { background: var(--pl-navy-2); border-color: var(--pl-navy-2); color: #fff; }

/* عدّاد الأجزاء */
.pl-stepper { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.pl-step-btn {
  width: 52px; height: 52px; flex-shrink: 0;
  border: 1.5px solid var(--pl-line); border-radius: 12px; background: #fff;
  font-size: 26px; line-height: 1; color: var(--pl-navy-2); cursor: pointer;
}
.pl-step-btn:hover { border-color: var(--pl-navy-2); background: var(--pl-soft); }
.pl-stepper input {
  width: 84px; height: 52px; text-align: center;
  border: 1.5px solid var(--pl-line); border-radius: 12px;
  font-size: 22px; font-weight: 700; color: var(--pl-navy); background: #fff;
  -moz-appearance: textfield; appearance: textfield;
}
.pl-stepper input::-webkit-outer-spin-button, .pl-stepper input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
.pl-stepper output { font-size: 16px; font-weight: 600; color: var(--pl-navy-2); padding-inline: 4px; }

.pl-error {
  margin: 18px 0 0; padding: 12px 16px; border-radius: 12px;
  background: #fdf1ef; border: 1px solid #f0c4bc; color: #8f2a1c; font-size: 15px; line-height: 1.7;
}
.pl-nav { display: flex; gap: 12px; margin-top: 26px; flex-wrap: wrap; }
.pl-nav .button { margin: 0; min-height: 52px; border-radius: 12px; }
.pl-nav .primary { flex: 1 1 auto; }
.pl-nav .button svg { width: 18px; height: 18px; }
.pl-privacy { font-size: 14px; color: var(--pl-muted); margin-top: 14px; line-height: 1.7; }

/* الجانب */
.pl-aside {
  display: grid; grid-template-columns: 120px minmax(0, 1fr); gap: 20px; align-items: start;
  padding: 26px; border-radius: 18px; background: var(--pl-soft); border: 1px solid var(--pl-line);
}
.pl-cover { display: block; border-radius: 8px; overflow: hidden; box-shadow: 0 12px 26px #101d3533; }
.pl-cover img { display: block; width: 100%; height: auto; }
.pl-aside h2 { font-size: 21px; line-height: 1.6; color: var(--pl-navy-2); }
.pl-aside p { font-size: 15.5px; line-height: 1.8; margin-top: 8px; }
.pl-aside .check-list { margin: 14px 0 6px; }
.pl-aside .check-list li { font-size: 15px; line-height: 1.7; }
.pl-aside .text-link { font-size: 15px; }

/* ---------- الخطة ---------- */
.pl-plan { padding: 8px 0 88px; scroll-margin-top: 16px; }
.pl-print-head, .pl-print-foot { display: none; }
.pl-plan-head {
  display: flex; justify-content: space-between; align-items: flex-end; gap: 20px; flex-wrap: wrap;
  padding-top: 40px; border-top: 1px solid var(--pl-line);
}
.pl-plan-head h2 { font-size: clamp(26px, 3vw, 36px); line-height: 1.55; color: var(--pl-navy); }
.pl-plan-head h2:focus { outline: none; }
.pl-plan-head h2:focus-visible { outline: 3px solid var(--pl-focus); outline-offset: 4px; }
.pl-inputs { font-size: 15px; line-height: 1.8; margin-top: 6px; max-width: 760px; }
.pl-actions { display: flex; gap: 10px; flex-wrap: wrap; }
.pl-actions .button { margin: 0; min-height: 48px; border-radius: 12px; font-size: 15px; padding: 10px 18px; }
.pl-flash {
  margin-top: 14px; padding: 10px 16px; border-radius: 12px; display: inline-block;
  background: #eef6ef; border: 1px solid #bfdcc4; color: #1d5b2c; font-size: 15px; line-height: 1.7;
}
.pl-reached { margin-top: 26px; padding: 24px; border-radius: 18px; background: var(--pl-soft); }
.pl-reached h3 { font-size: 22px; color: var(--pl-navy-2); margin-bottom: 8px; }

/* الملخص */
.pl-summary {
  margin-top: 26px; padding: 28px; border-radius: 20px;
  background: linear-gradient(160deg, var(--pl-navy) 0%, var(--pl-navy-2) 100%);
  color: #fff;
}
.pl-stats { display: grid; grid-template-columns: 1.25fr 1fr 1fr 1fr; gap: 14px; }
.pl-stat {
  display: flex; flex-direction: column; gap: 4px; padding: 18px;
  border-radius: 14px; background: #ffffff0d; border: 1px solid #ffffff1f; min-width: 0;
}
.pl-stat.is-lead { background: #d8b56b1f; border-color: #d8b56b66; }
.pl-stat-label { font-size: 14px; color: #c7d2e4; font-weight: 600; line-height: 1.6; }
.pl-stat-value { font-size: clamp(21px, 2vw, 27px); line-height: 1.45; color: var(--pl-gold); font-weight: 700; }
.pl-stat:not(.is-lead) .pl-stat-value { color: #fff; }
.pl-stat-sub { font-size: 13.5px; color: #c7d2e4; line-height: 1.65; }
.pl-notes { list-style: none; padding: 0; margin: 16px 0 0; display: grid; gap: 8px; }
.pl-notes li {
  position: relative; padding-inline-start: 22px;
  font-size: 15.5px; line-height: 1.8; color: var(--pl-muted);
}
.pl-notes li::before {
  content: ""; position: absolute; inset-inline-start: 4px; top: .78em;
  width: 7px; height: 7px; border-radius: 50%; background: var(--pl-gold);
}
.pl-notes.is-light li { color: #dfe6f1; }
.pl-notes:empty { display: none; }
.pl-warning {
  margin-top: 18px; padding: 16px 20px; border-radius: 14px;
  background: #fff7e8; border: 1px solid #f0d49b; border-inline-start: 5px solid var(--pl-gold);
  color: #5c4310; font-size: 15.5px; line-height: 1.8;
}

/* الكتل */
.pl-block { margin-top: 44px; }
.pl-block h3 { font-size: clamp(21px, 2.2vw, 26px); line-height: 1.6; color: var(--pl-navy); margin-bottom: 8px; }
.pl-block-intro { font-size: 16px; line-height: 1.85; max-width: 820px; margin-bottom: 16px; }
.pl-small { font-size: 15px; line-height: 1.85; margin-top: 12px; }

/* الروتين */
.pl-route { list-style: none; padding: 0; margin: 0; counter-reset: step; display: grid; gap: 12px; }
.pl-route li {
  counter-increment: step; position: relative;
  padding: 16px 20px 16px 20px; padding-inline-start: 66px;
  background: #fff; border: 1px solid var(--pl-line); border-radius: 14px;
}
.pl-route li::before {
  content: counter(step, arabic-indic);
  position: absolute; inset-inline-start: 18px; top: 16px;
  width: 32px; height: 32px; border-radius: 50%;
  display: grid; place-items: center;
  background: var(--pl-navy-2); color: #fff; font-weight: 700; font-size: 15px;
}
.pl-route-head { display: flex; justify-content: space-between; align-items: baseline; gap: 6px 14px; flex-wrap: wrap; }
.pl-route h4 { font-size: 17px; line-height: 1.6; color: var(--pl-navy); }
.pl-route p { font-size: 15.5px; line-height: 1.85; margin-top: 4px; }
.pl-route b { color: var(--pl-navy-2); }
.pl-pill {
  font-size: 13px; font-weight: 600; color: var(--pl-gold-ink); line-height: 1.6;
  background: #fbf5e7; border: 1px solid #ecdcb5; border-radius: 100px; padding: 2px 10px; white-space: nowrap;
}
.pl-sample { margin-top: 14px; border: 1px solid var(--pl-line); border-radius: 14px; background: var(--pl-soft); }
.pl-sample summary { cursor: pointer; padding: 14px 18px; font-weight: 600; font-size: 15.5px; color: var(--pl-navy-2); line-height: 1.7; min-height: 48px; }
.pl-sample .pl-table-wrap { padding: 0 14px 14px; }

/* الجداول */
.pl-table-wrap { overflow-x: auto; }
.pl-table { width: 100%; border-collapse: separate; border-spacing: 0; font-size: 15px; line-height: 1.7; background: #fff; border: 1px solid var(--pl-line); border-radius: 14px; overflow: hidden; }
.pl-table th, .pl-table td { padding: 12px 14px; text-align: start; vertical-align: top; border-bottom: 1px solid var(--pl-line); }
.pl-table thead th { background: var(--pl-soft); color: var(--pl-navy-2); font-size: 14px; font-weight: 700; white-space: nowrap; }
.pl-table tbody tr:last-child > * { border-bottom: 0; }
.pl-table tbody th { color: var(--pl-navy); font-weight: 700; }
.pl-table td { color: #334058; }
.pl-table b { color: var(--pl-navy); }
.pl-week tr.is-off { background: #fafbfd; }
.pl-week tr.is-off td:nth-child(2) { color: var(--pl-muted); }
.pl-phases tr.is-tight { background: #fff9ee; }
.pl-cell-sub { display: block; font-size: 13px; color: var(--pl-muted); }
.pl-tag {
  display: inline-block; font-size: 12.5px; font-weight: 700; line-height: 1.5;
  padding: 1px 8px; border-radius: 6px; background: #fbf5e7; color: var(--pl-gold-ink); border: 1px solid #ecdcb5;
}
.pl-mini td:first-child { white-space: nowrap; font-weight: 600; color: var(--pl-navy-2); }

/* المراجعة */
.pl-review-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; margin-top: 8px; }
.pl-review-card { padding: 22px; border: 1px solid var(--pl-line); border-radius: 16px; background: #fff; min-width: 0; }
.pl-review-card h4 { font-size: 18px; line-height: 1.6; color: var(--pl-navy-2); margin-bottom: 12px; }
.pl-review-card h5 { font-size: 15px; color: var(--pl-navy-2); margin: 16px 0 8px; font-weight: 700; line-height: 1.6; }
.pl-ladder { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 6px; }
.pl-ladder li {
  display: flex; justify-content: space-between; gap: 8px; padding: 7px 12px;
  border-radius: 10px; background: var(--pl-soft); font-size: 14px; line-height: 1.6; color: var(--pl-muted);
}
.pl-ladder b { color: var(--pl-navy); white-space: nowrap; }
.pl-sched th { width: 42%; font-weight: 600; }
.pl-sched tr.is-now { background: #fbf5e7; }
.pl-rules { list-style: none; padding: 0; margin: 18px 0 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.pl-rules li { padding: 14px 16px; border-radius: 12px; background: var(--pl-soft); font-size: 15px; line-height: 1.8; color: #334058; }
.pl-rules b { color: var(--pl-navy); }

/* النصائح */
.pl-quotes { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; margin-top: 8px; }
.pl-quotes figure {
  margin: 0; padding: 20px; border-radius: 14px; background: #fff; border: 1px solid var(--pl-line);
  border-top: 3px solid var(--pl-gold);
}
.pl-quotes blockquote { margin: 0; font-size: 17px; line-height: 1.85; color: var(--pl-navy); font-weight: 600; }
.pl-quotes figcaption { margin-top: 10px; font-size: 13.5px; color: var(--pl-muted); line-height: 1.6; }

/* التقديرات */
.pl-est-list { list-style: none; padding: 0; margin: 12px 0 0; display: grid; gap: 8px; }
.pl-est-list li { font-size: 15px; line-height: 1.85; color: #334058; padding: 10px 14px; border-radius: 12px; background: var(--pl-soft); }
.pl-badge {
  display: inline-block; font-size: 12.5px; font-weight: 700; padding: 0 8px; border-radius: 6px; line-height: 1.7;
  background: var(--pl-navy-2); color: #fff; margin-inline-end: 4px;
}

/* الدعوة */
.pl-cta {
  margin-top: 48px; padding: 30px; border-radius: 20px; background: var(--pl-navy); color: #fff;
  display: flex; justify-content: space-between; align-items: center; gap: 22px; flex-wrap: wrap;
}
.pl-cta .eyebrow { color: var(--pl-gold); }
.pl-cta h3 { font-size: clamp(22px, 2.4vw, 28px); line-height: 1.55; }
.pl-cta p { color: #c7d2e4; margin-top: 6px; max-width: 620px; font-size: 16px; line-height: 1.85; }
.pl-cta-actions { display: flex; gap: 12px; flex-wrap: wrap; }
.pl-cta-actions .button { margin: 0; border-radius: 12px; }
.pl-cta-actions .button svg { width: 18px; height: 18px; }
.pl-gold { background: var(--pl-gold); color: var(--pl-navy); }
.pl-gold:hover { background: #e4c582; }

/* ---------- التجاوب ---------- */
@media (max-width: 1100px) {
  .pl-layout { grid-template-columns: 1fr; }
  .pl-aside { grid-template-columns: 110px minmax(0, 1fr); }
  .pl-stats { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .pl-quotes { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 760px) {
  .pl-card { padding: 22px 18px 20px; border-radius: 16px; }
  .pl-progress li { flex-direction: column; text-align: center; gap: 4px; padding: 8px 4px; font-size: 13px; }
  .pl-chips.is-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .pl-days { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .pl-review-grid, .pl-rules, .pl-quotes { grid-template-columns: 1fr; }
  .pl-summary { padding: 18px; border-radius: 16px; }
  .pl-stats { gap: 10px; }
  .pl-stat { padding: 14px; }
  .pl-plan-head { padding-top: 30px; }
  .pl-actions { width: 100%; }
  .pl-actions .button { flex: 1 1 150px; }
  .pl-route li { padding-inline-start: 56px; padding-inline-end: 14px; }
  .pl-route li::before { inset-inline-start: 14px; }
  .pl-cta { padding: 22px; }
  .pl-cta-actions, .pl-cta-actions .button { width: 100%; }

  /* الجداول تتحول بطاقات */
  .pl-week thead, .pl-phases thead, .pl-near thead { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
  .pl-week, .pl-phases, .pl-near { border: 0; background: transparent; border-radius: 0; overflow: visible; }
  .pl-week tbody, .pl-phases tbody, .pl-near tbody { display: grid; gap: 10px; }
  .pl-week tr, .pl-phases tr, .pl-near tr { display: block; border: 1px solid var(--pl-line); border-radius: 14px; background: #fff; overflow: hidden; }
  .pl-week tbody th, .pl-phases tbody th, .pl-near tbody th { display: block; background: var(--pl-soft); border-bottom: 1px solid var(--pl-line); padding: 10px 14px; }
  .pl-week td, .pl-phases td, .pl-near td { display: block; position: relative; min-height: 44px; padding: 9px 14px; padding-inline-start: calc(7em + 24px); border-bottom: 1px solid #edf1f7; }
  .pl-week tr > :last-child, .pl-phases tr > :last-child, .pl-near tr > :last-child { border-bottom: 0; }
  .pl-week td::before, .pl-phases td::before, .pl-near td::before { content: attr(data-label); position: absolute; inset-inline-start: 14px; top: 10px; width: 7em; font-size: 13px; font-weight: 700; color: var(--pl-muted); line-height: 1.7; }
  .pl-phases tbody th::before { content: "المرحلة "; }
  .pl-ladder { grid-template-columns: 1fr; }
}
@media (max-width: 420px) {
  .pl-stats { grid-template-columns: 1fr; }
  .pl-aside { grid-template-columns: 1fr; padding: 20px; }
  .pl-cover { width: 120px; }
  .pl-chips.is-grid { grid-template-columns: 1fr 1fr; }
  .pl-chip-body { padding-inline: 14px 40px; }
  .pl-chip-body::after { left: 12px; }
  .pl-days { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 6px; }
}
@media (prefers-reduced-motion: reduce) {
  .pl-chip-body, .pl-day span { transition: none; }
}

/* ---------- الطباعة (A4) ---------- */
@media print {
  @page { size: A4; margin: 12mm 12mm 14mm; }
  body.page-planner { font-size: 10pt; background: #fff; }
  .page-planner .pl-hero, .page-planner .pl-section, .page-planner .mobile-bottom-nav,
  .page-planner .floating-contact, .page-planner .pl-actions, .page-planner .pl-flash,
  .page-planner .pl-sample, .page-planner .pl-cta, .page-planner .skip-link,
  .page-planner .pl-tips, .page-planner #pl-live { display: none !important; }
  .pl-plan { padding: 0; }
  .pl-plan .container { width: 100%; max-width: none; }
  .pl-print-head {
    display: flex; justify-content: space-between; align-items: flex-end; gap: 12px;
    padding-bottom: 8px; margin-bottom: 8px; border-bottom: 2px solid #d8b56b;
  }
  .pl-print-head strong { display: block; font-size: 17pt; color: #101d35; line-height: 1.4; }
  .pl-print-head span { font-size: 9.5pt; color: #3a4760; }
  .pl-print-site { font-weight: 700; color: #101d35 !important; direction: ltr; }
  .pl-plan-head { border: 0; padding-top: 0; display: block; }
  .pl-plan-head .eyebrow { display: none; }
  .pl-plan-head h2 { font-size: 13pt; }
  .pl-inputs { font-size: 9pt; margin-top: 0; max-width: none; }
  .pl-summary { margin-top: 8px; padding: 10px; background: #fff !important; color: #101d35; border: 1.5px solid #182a47; border-radius: 10px; }
  .pl-stats { grid-template-columns: repeat(4, 1fr); gap: 6px; }
  .pl-stat { padding: 6px 8px; background: #f3f6fb !important; border: 0; border-radius: 8px; }
  .pl-stat.is-lead { background: #fbf5e7 !important; }
  .pl-stat-label, .pl-stat-sub { color: #3a4760; font-size: 8pt; }
  .pl-stat-value, .pl-stat:not(.is-lead) .pl-stat-value { color: #101d35; font-size: 13pt; }
  .pl-notes { margin-top: 6px; gap: 2px; }
  .pl-notes li, .pl-notes.is-light li { color: #26324a; font-size: 8.5pt; line-height: 1.6; }
  .pl-warning { margin-top: 6px; padding: 6px 10px; font-size: 8.5pt; line-height: 1.6; }
  .pl-block { margin-top: 12px; break-inside: auto; }
  .pl-block h3 { font-size: 12pt; margin-bottom: 4px; break-after: avoid; }
  .pl-block-intro { font-size: 8.5pt; line-height: 1.6; margin-bottom: 6px; }
  .pl-small { font-size: 8.5pt; line-height: 1.6; margin-top: 4px; }
  .pl-route { gap: 4px; }
  .pl-route li { padding: 5px 8px; padding-inline-start: 34px; border-radius: 8px; break-inside: avoid; }
  .pl-route li::before { width: 20px; height: 20px; font-size: 8.5pt; top: 6px; inset-inline-start: 8px; background: #182a47 !important; color: #fff; -webkit-print-color-adjust: exact; print-color-adjust: exact; }
  .pl-route h4 { font-size: 9.5pt; }
  .pl-route p { font-size: 8.5pt; line-height: 1.55; margin-top: 0; }
  .pl-pill { font-size: 7.5pt; padding: 0 6px; }
  .pl-table { font-size: 8.5pt; line-height: 1.5; border-radius: 6px; }
  .pl-table th, .pl-table td { padding: 4px 7px; }
  .pl-table thead th { font-size: 8.5pt; }
  .pl-table tr { break-inside: avoid; }
  .pl-cell-sub { font-size: 7.5pt; }
  .pl-review-grid { grid-template-columns: 1fr 1fr; gap: 8px; }
  .pl-review-card { padding: 8px 10px; border-radius: 8px; break-inside: avoid; }
  .pl-review-card h4 { font-size: 10pt; margin-bottom: 4px; }
  .pl-review-card h5 { font-size: 9pt; margin: 6px 0 4px; }
  .pl-ladder { grid-template-columns: 1fr 1fr; gap: 2px; }
  .pl-ladder li { padding: 2px 6px; font-size: 8pt; }
  .pl-rules { grid-template-columns: 1fr 1fr; gap: 4px; margin-top: 6px; }
  .pl-rules li { padding: 5px 8px; font-size: 8.5pt; line-height: 1.55; }
  .pl-est-list { gap: 3px; margin-top: 4px; }
  .pl-est-list li { padding: 4px 8px; font-size: 8pt; line-height: 1.55; }
  .pl-badge { font-size: 7.5pt; -webkit-print-color-adjust: exact; print-color-adjust: exact; }
  .pl-print-foot {
    display: block; margin-top: 10px; padding-top: 6px; border-top: 1px solid #dce3ee;
    font-size: 8pt; color: #3a4760; line-height: 1.5;
  }
  .pl-print-foot span { direction: ltr; unicode-bidi: embed; word-break: break-all; }
  .pl-summary, .pl-tag, .pl-stat, .pl-sched tr.is-now, .pl-week tr.is-off, .pl-table thead th {
    -webkit-print-color-adjust: exact; print-color-adjust: exact;
  }
}
