#page-reading {
  --rp-ink: #173b35;
  --rp-green: #176d5d;
  --rp-green-dark: #104d43;
  --rp-mint: #eaf6f0;
  --rp-sky: #eaf4ff;
  --rp-yellow: #ffcf5b;
  --rp-coral: #f47b67;
  --rp-paper: #fffdf8;
  color: var(--rp-ink);
  padding-bottom: 56px;
  overflow: visible;
}

#page-reading button,
#page-reading select,
#page-reading input,
#page-reading textarea {
  font: inherit;
}

.rp-hero {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) minmax(220px, .6fr);
  gap: 28px;
  padding: 36px 38px 122px;
  overflow: hidden;
  color: #fff;
  background: #176d5d;
  border: 1px solid #0e5c4e;
  border-radius: 28px;
}

.rp-hero-copy { max-width: 820px; }
.rp-eyebrow {
  display: block;
  margin-bottom: 10px;
  color: #c9f2e3;
  font-size: 14px;
  font-weight: 900;
  letter-spacing: .14em;
}
.rp-authentic-pill {
  display: inline-flex;
  align-items: center;
  min-height: 38px;
  padding: 7px 14px;
  margin-bottom: 18px;
  color: #173b35;
  background: var(--rp-yellow);
  border-radius: 12px;
  font-size: 15px;
  font-weight: 900;
}
.rp-hero h2 {
  max-width: 760px;
  margin: 0;
  color: #fff;
  font-size: clamp(30px, 3.2vw, 48px);
  line-height: 1.18;
}
.rp-hero-copy > p {
  max-width: 780px;
  margin: 17px 0 24px;
  color: #e4f6ef;
  font-size: 18px;
  line-height: 1.8;
}
.rp-hero-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.rp-hero-actions button {
  min-height: 54px;
  padding: 0 22px;
  border: 1px solid rgba(255,255,255,.55);
  border-radius: 14px;
  color: #fff;
  background: transparent;
  font-size: 17px;
  font-weight: 900;
  cursor: pointer;
}
.rp-hero-actions button.primary { color: #173b35; background: var(--rp-yellow); border-color: var(--rp-yellow); }
.rp-world-art {
  position: relative;
  display: grid;
  place-items: center;
  min-height: 260px;
}
.rp-world-art div { font-size: 128px; filter: drop-shadow(0 12px 0 rgba(7,53,45,.26)); }
.rp-world-art i {
  position: absolute;
  display: grid;
  place-items: center;
  width: 64px;
  height: 64px;
  border: 3px solid #fff;
  border-radius: 50%;
  background: #fff;
  font-size: 34px;
  font-style: normal;
  box-shadow: 0 8px 0 rgba(8,64,54,.28);
}
.rp-world-art i:nth-of-type(1) { left: 4%; top: 15%; }
.rp-world-art i:nth-of-type(2) { right: 2%; top: 10%; }
.rp-world-art i:nth-of-type(3) { right: 12%; bottom: 3%; }
.rp-world-art span {
  position: absolute;
  left: 0;
  bottom: 2%;
  color: #bce9d9;
  font-size: 13px;
  font-weight: 900;
  line-height: 1.6;
  letter-spacing: .12em;
}
.rp-hero-stats {
  position: absolute;
  right: 38px;
  bottom: 26px;
  left: 38px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border: 1px solid rgba(255,255,255,.24);
  background: #11594d;
  border-radius: 18px;
}
.rp-hero-stats div { padding: 16px 20px; border-right: 1px solid rgba(255,255,255,.18); }
.rp-hero-stats div:last-child { border-right: 0; }
.rp-hero-stats b { display: block; color: var(--rp-yellow); font-size: 26px; }
.rp-hero-stats span { color: #d9f2e9; font-size: 14px; }

.rp-tabs {
  position: sticky;
  top: 0;
  z-index: 15;
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 18px 0 0;
  padding: 10px;
  border: 1px solid #d9e5df;
  border-radius: 18px;
  background: rgba(255,255,255,.96);
  box-shadow: 0 8px 24px rgba(23,59,53,.08);
}
.rp-tabs button {
  min-height: 48px;
  padding: 0 18px;
  border: 0;
  border-radius: 12px;
  color: #46645e;
  background: transparent;
  font-size: 16px;
  font-weight: 900;
  cursor: pointer;
}
.rp-tabs button.active { color: #fff; background: var(--rp-green); }
.rp-tabs > span { margin-left: auto; padding-right: 10px; color: #648078; font-size: 14px; }
.rp-source-promise {
  display: flex;
  align-items: center;
  gap: 18px;
  margin: 12px 0 22px;
  padding: 15px 18px;
  border-left: 6px solid var(--rp-yellow);
  background: #fff7db;
  font-size: 15px;
}
.rp-source-promise strong { font-size: 16px; }
.rp-source-promise span b { color: var(--rp-green); }
.rp-source-promise em { margin-left: auto; color: #76612d; font-style: normal; }
.rp-view-shell { min-height: 320px; overflow: visible; }

.rp-today-grid { display: grid; grid-template-columns: minmax(0, 1.55fr) minmax(310px, .45fr); gap: 20px; }
.rp-daily-mission {
  padding: 28px;
  border: 1px solid #cfe2d9;
  border-top: 8px solid var(--rp-yellow);
  border-radius: 24px;
  background: var(--rp-paper);
  box-shadow: 0 14px 34px rgba(23,59,53,.09);
}
.rp-mission-source { display: flex; align-items: center; gap: 13px; padding-bottom: 18px; border-bottom: 1px solid #e1ebe6; }
.rp-mission-source > span { font-size: 36px; }
.rp-mission-source div { display: grid; gap: 3px; }
.rp-mission-source small { color: #678078; font-size: 14px; }
.rp-mission-source b { font-size: 17px; }
.rp-mission-source em {
  margin-left: auto;
  padding: 7px 10px;
  color: var(--rp-green-dark);
  border: 1px solid #add4c5;
  border-radius: 9px;
  background: var(--rp-mint);
  font-size: 12px;
  font-style: normal;
  font-weight: 900;
  letter-spacing: .08em;
}
.rp-mission-copy { padding: 24px 0 12px; }
.rp-category { color: var(--rp-green); font-size: 14px; font-weight: 900; }
.rp-mission-copy h2 { margin: 9px 0 4px; font-size: clamp(27px, 3vw, 40px); line-height: 1.2; }
.rp-mission-copy h3 { margin: 0 0 13px; color: #58706a; font-size: 19px; font-weight: 700; }
.rp-mission-copy p { margin: 0; color: #425f58; font-size: 17px; line-height: 1.75; }
.rp-meta-row { display: flex; flex-wrap: wrap; gap: 9px; margin: 10px 0 24px; }
.rp-meta-row span,.rp-card-meta span {
  padding: 7px 10px;
  color: #35554e;
  border: 1px solid #d3e3dc;
  border-radius: 9px;
  background: #f7faf8;
  font-size: 14px;
  font-weight: 800;
}
.rp-reading-steps { display: flex; align-items: center; justify-content: space-between; margin: 16px 0 25px; }
.rp-reading-steps span { display: grid; gap: 5px; justify-items: center; color: #5d756f; font-size: 13px; font-weight: 800; text-align: center; }
.rp-reading-steps b { display: grid; place-items: center; width: 34px; height: 34px; color: #fff; border-radius: 50%; background: var(--rp-green); font-size: 16px; }
.rp-reading-steps i { flex: 1; height: 2px; margin: 0 7px; background: #cbded6; }
.rp-start-button,.rp-source-button {
  width: 100%;
  min-height: 58px;
  padding: 0 20px;
  border: 0;
  border-radius: 14px;
  color: #fff;
  background: var(--rp-green);
  font-size: 18px;
  font-weight: 900;
  cursor: pointer;
}
.rp-week-card { padding: 24px; }
.rp-week-card h2 { margin: 5px 0; font-size: 25px; }
.rp-week-card p { margin: 0; color: #607b74; font-size: 15px; line-height: 1.6; }
.rp-week-orbit { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; margin: 24px 0; }
.rp-week-orbit span { display: grid; justify-items: center; gap: 4px; padding: 10px 4px; border: 1px solid #d9e6e0; border-radius: 12px; background: #f7faf8; }
.rp-week-orbit b { display: grid; place-items: center; width: 34px; height: 34px; border-radius: 50%; background: #e4ece8; }
.rp-week-orbit small { font-size: 13px; }
.rp-week-orbit span.done { color: #fff; border-color: var(--rp-green); background: var(--rp-green); }
.rp-week-orbit span.done b { color: var(--rp-green); background: #fff; }
.rp-week-orbit span.today { outline: 3px solid var(--rp-yellow); }
.rp-week-progress { height: 12px; overflow: hidden; border-radius: 9px; background: #e6ece8; }
.rp-week-progress i { display: block; height: 100%; background: var(--rp-yellow); }
.rp-week-card > strong { display: block; margin-top: 9px; text-align: right; }
.rp-choice-section { margin-top: 28px; }
.rp-choice-section .section-head small,.rp-library-head small,.rp-path-intro small { color: var(--rp-green); font-size: 13px; font-weight: 900; letter-spacing: .14em; }
.rp-choice-section .section-head h2 { margin: 5px 0 0; }
.rp-mini-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.rp-mini-card { padding: 20px; border: 1px solid #d7e4de; border-radius: 18px; background: #fff; }
.rp-mini-card > div { display: flex; align-items: center; gap: 8px; }
.rp-mini-card > div span { font-size: 25px; }
.rp-mini-card small { color: #637d75; }
.rp-mini-card h3 { min-height: 54px; margin: 16px 0 3px; font-size: 20px; line-height: 1.35; }
.rp-mini-card p { min-height: 38px; margin: 0; color: #60766f; }
.rp-mini-card footer { display: flex; gap: 8px; margin: 18px 0; color: #587069; font-size: 13px; }
.rp-mini-card button,.rp-library-card button,.rp-log-card button,.rp-legacy-note button {
  min-height: 46px;
  padding: 0 16px;
  border: 0;
  border-radius: 11px;
  color: #fff;
  background: var(--rp-green);
  font-weight: 900;
  cursor: pointer;
}

.rp-workbench { overflow: visible; }
.rp-workbench-head { display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 18px; padding: 18px 22px; margin-bottom: 16px; border: 1px solid #d6e3dd; border-radius: 18px; background: #fff; }
.rp-workbench-head > button { min-height: 46px; padding: 0 14px; border: 1px solid #cbdcd4; border-radius: 11px; background: #fff; font-weight: 900; cursor: pointer; }
.rp-workbench-head h2 { margin: 3px 0; font-size: 25px; }
.rp-workbench-head p,.rp-workbench-head span { margin: 0; color: #5c756e; font-size: 15px; }
.rp-workbench-head .rp-bookmark.active { color: #785b00; border-color: #e9c14f; background: #fff7d7; }
.rp-workbench-grid { display: grid; grid-template-columns: minmax(360px, .85fr) minmax(480px, 1.15fr); align-items: start; gap: 18px; overflow: visible; }
.rp-source-panel,.rp-deep-notebook { padding: 26px; border: 1px solid #d5e3dc; border-radius: 22px; background: #fff; }
.rp-source-panel { border-top: 8px solid var(--rp-yellow); }
.rp-source-seal { display: flex; align-items: center; gap: 12px; padding: 13px; background: var(--rp-mint); border-radius: 14px; }
.rp-source-seal > span { display: grid; place-items: center; width: 42px; height: 42px; color: #fff; border-radius: 50%; background: var(--rp-green); font-size: 22px; font-weight: 900; }
.rp-source-seal div { display: grid; gap: 3px; }
.rp-source-seal small { color: #4c776d; font-size: 12px; font-weight: 900; letter-spacing: .09em; }
.rp-source-seal b { font-size: 17px; }
.rp-source-identity { display: flex; align-items: center; gap: 15px; padding: 24px 0 19px; }
.rp-source-identity > span { font-size: 50px; }
.rp-source-identity small { color: #688179; font-size: 14px; }
.rp-source-identity h3 { margin: 3px 0; font-size: 22px; }
.rp-source-identity p { margin: 0; color: #5b756e; line-height: 1.5; }
.rp-source-panel dl { display: grid; grid-template-columns: 1fr 1fr; margin: 0 0 22px; border: 1px solid #d9e5df; border-radius: 14px; overflow: hidden; }
.rp-source-panel dl div { padding: 12px; border-right: 1px solid #d9e5df; border-bottom: 1px solid #d9e5df; }
.rp-source-panel dl div:nth-child(even) { border-right: 0; }
.rp-source-panel dl div:nth-last-child(-n+2) { border-bottom: 0; }
.rp-source-panel dt { color: #718880; font-size: 13px; }
.rp-source-panel dd { margin: 4px 0 0; font-size: 15px; font-weight: 900; }
.rp-before-reading { padding: 18px; margin-bottom: 16px; border-left: 5px solid var(--rp-coral); background: #fff4ef; }
.rp-before-reading small { color: #a65042; font-weight: 900; }
.rp-before-reading h3 { margin: 4px 0 7px; font-size: 20px; }
.rp-before-reading p { margin: 0; font-size: 16px; line-height: 1.65; }
.rp-source-note { margin: 12px 0; color: #59756d; line-height: 1.5; }
.rp-source-panel > a { display: block; overflow-wrap: anywhere; color: var(--rp-green); font-size: 14px; }
.rp-notebook-title { display: flex; align-items: center; justify-content: space-between; gap: 14px; padding-bottom: 18px; border-bottom: 1px solid #dce7e2; }
.rp-notebook-title small { color: var(--rp-green); font-size: 12px; font-weight: 900; letter-spacing: .1em; }
.rp-notebook-title h2 { margin: 4px 0 0; font-size: 27px; }
.rp-notebook-title > span { padding: 8px 12px; border-radius: 10px; background: #fff5cc; font-weight: 900; }
.rp-task-notice { padding: 13px 15px; margin: 16px 0; color: #536d66; border: 1px dashed #b9cec5; background: #f8fbf9; font-size: 15px; line-height: 1.6; }
.rp-note-field { display: grid; gap: 7px; margin: 16px 0; }
.rp-note-field > span,.rp-words-field > span { font-size: 17px; font-weight: 900; }
.rp-note-field > small { color: #5b756e; font-size: 15px; line-height: 1.55; }
.rp-note-field.required > span { color: var(--rp-green-dark); }
.rp-note-field textarea {
  width: 100%;
  min-height: 106px;
  resize: vertical;
  padding: 15px 16px;
  color: var(--rp-ink);
  border: 2px solid #c9dcd3;
  border-radius: 13px;
  background: #fffefa;
  font-size: 17px;
  line-height: 1.65;
  box-sizing: border-box;
}
.rp-note-field.required textarea { border-color: #91c5b2; }
.rp-note-field textarea:focus,.rp-words-field input:focus { outline: 4px solid rgba(255,207,91,.4); border-color: var(--rp-green); }
.rp-words-field { display: grid; gap: 8px; margin: 18px 0; }
.rp-words-field input { min-height: 52px; padding: 0 14px; border: 2px solid #c9dcd3; border-radius: 12px; font-size: 17px; }
.rp-interest { padding: 0; margin: 18px 0; border: 0; }
.rp-interest legend { margin-bottom: 8px; font-weight: 900; }
.rp-interest label { display: inline-block; margin: 0 8px 8px 0; }
.rp-interest input { position: absolute; opacity: 0; }
.rp-interest span { display: grid; place-items: center; min-height: 46px; padding: 0 12px; border: 2px solid #d2dfd9; border-radius: 11px; cursor: pointer; }
.rp-interest input:checked + span { border-color: var(--rp-yellow); background: #fff5c8; }
.rp-save-actions { display: grid; grid-template-columns: .7fr 1.3fr; gap: 10px; margin-top: 20px; }
.rp-save-actions button { min-height: 56px; border: 1px solid #c9dbd3; border-radius: 13px; background: #fff; font-size: 16px; font-weight: 900; cursor: pointer; }
.rp-save-actions button.primary { color: #fff; border-color: var(--rp-green); background: var(--rp-green); }

.rp-library-head,.rp-path-intro { display: flex; align-items: center; justify-content: space-between; gap: 22px; padding: 26px 28px; border-left: 7px solid var(--rp-yellow); background: #fff; }
.rp-library-head h2,.rp-path-intro h2 { margin: 6px 0; font-size: 30px; }
.rp-library-head p,.rp-path-intro p { max-width: 860px; margin: 0; color: #5c756e; font-size: 16px; line-height: 1.65; }
.rp-library-count { display: grid; justify-items: center; min-width: 110px; }
.rp-library-count b { color: var(--rp-green); font-size: 38px; }
.rp-library-count span { font-size: 14px; }
.rp-filter-bar { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin: 16px 0; padding: 13px; border: 1px solid #d6e3dd; background: #fff; }
.rp-filter-bar > div { display: flex; flex-wrap: wrap; gap: 8px; }
.rp-filter-bar button { min-height: 44px; padding: 0 14px; border: 1px solid #cfddd7; border-radius: 10px; background: #fff; font-weight: 900; cursor: pointer; }
.rp-filter-bar button.active { color: #fff; border-color: var(--rp-green); background: var(--rp-green); }
.rp-filter-bar label { display: flex; align-items: center; gap: 8px; font-weight: 900; }
.rp-filter-bar select { min-height: 44px; padding: 0 32px 0 12px; border: 1px solid #c7d9d1; border-radius: 10px; background: #fff; }
.rp-library-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.rp-library-card { display: flex; flex-direction: column; min-height: 390px; padding: 20px; border: 1px solid #d4e2dc; border-top: 6px solid #9ccfbd; border-radius: 18px; background: #fff; }
.rp-library-card.complete { border-top-color: var(--rp-yellow); }
.rp-card-top { display: flex; align-items: center; gap: 10px; }
.rp-card-top > span { font-size: 29px; }
.rp-card-top > div { display: grid; flex: 1; gap: 2px; min-width: 0; }
.rp-card-top small { color: #647c75; }
.rp-card-top b { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.rp-card-top em { color: var(--rp-green); font-size: 11px; font-style: normal; font-weight: 900; }
.rp-library-card > .rp-category { margin-top: 20px; }
.rp-library-card h3 { margin: 8px 0 3px; font-size: 21px; line-height: 1.35; }
.rp-library-card h4 { margin: 0 0 11px; color: #60766f; font-size: 16px; }
.rp-library-card > p { flex: 1; margin: 0; color: #58716a; font-size: 15px; line-height: 1.6; }
.rp-card-meta { display: flex; flex-wrap: wrap; gap: 6px; margin: 18px 0; }
.rp-card-meta span { font-size: 12px; }
.rp-library-card footer { display: flex; align-items: center; justify-content: space-between; gap: 9px; padding-top: 14px; border-top: 1px solid #e0e9e5; }
.rp-library-card footer small { color: #6a817b; }
.rp-library-card footer button { white-space: nowrap; }

.rp-journal-summary { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; margin-bottom: 20px; }
.rp-journal-summary > div { display: grid; grid-template-columns: auto 1fr; gap: 2px 12px; align-items: center; padding: 18px; border: 1px solid #d5e3dc; background: #fff; }
.rp-journal-summary span { grid-row: span 2; font-size: 32px; }
.rp-journal-summary b { font-size: 25px; }
.rp-journal-summary small { color: #627a73; font-size: 14px; }
.rp-journal-grid { display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(300px, .6fr); gap: 18px; }
.rp-log-list { display: grid; gap: 12px; }
.rp-log-card { padding: 20px; border: 1px solid #d6e3dd; border-left: 6px solid #9bcab9; background: #fff; }
.rp-log-card > div { display: flex; align-items: center; gap: 10px; }
.rp-log-card > div > span { font-size: 29px; }
.rp-log-card > div > div { flex: 1; }
.rp-log-card h3 { margin: 3px 0; font-size: 20px; }
.rp-log-card small { color: #687f78; }
.rp-log-card em { font-style: normal; font-weight: 900; }
.rp-log-card p { padding: 11px 13px; margin: 11px 0; background: #f5faf7; font-size: 15px; line-height: 1.6; }
.rp-word-chest { padding: 24px; border: 1px solid #dfc35f; background: #fff9df; }
.rp-word-chest > div:first-child { display: grid; grid-template-columns: auto 1fr; align-items: center; gap: 9px; }
.rp-word-chest > div:first-child span { grid-row: span 2; font-size: 42px; }
.rp-word-chest h2 { margin: 0; }
.rp-word-chest p { margin: 3px 0 0; color: #6f643e; line-height: 1.5; }
.rp-word-chest > div:last-child { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 20px; }
.rp-word-chest > div:last-child span { display: grid; gap: 2px; padding: 9px 11px; border: 1px solid #e4ca6e; border-radius: 10px; background: #fff; }
.rp-word-chest > div:last-child small { color: #756a44; }

.rp-path-intro > span { font-size: 76px; }
.rp-stage-road { display: grid; grid-template-columns: repeat(5, 1fr); gap: 0; margin: 20px 0; border: 1px solid #d2e0da; background: #fff; }
.rp-stage-road article { position: relative; min-height: 240px; padding: 22px 18px; border-right: 1px solid #d9e5df; }
.rp-stage-road article:last-child { border-right: 0; }
.rp-stage-road article.current { background: #eaf6f0; box-shadow: inset 0 7px 0 var(--rp-yellow); }
.rp-stage-road article > span { font-size: 37px; }
.rp-stage-road small { display: block; margin-top: 12px; color: var(--rp-green); font-weight: 900; }
.rp-stage-road h3 { margin: 5px 0; font-size: 20px; }
.rp-stage-road article > b { color: #536d66; }
.rp-stage-road p { color: #617a73; font-size: 14px; line-height: 1.55; }
.rp-stage-road em { display: inline-block; padding: 6px 8px; color: #634d00; background: var(--rp-yellow); font-size: 12px; font-style: normal; font-weight: 900; }
.rp-path-columns { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.rp-ability-list { display: grid; gap: 8px; }
.rp-ability-list > div { display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 12px; padding: 12px; border-bottom: 1px solid #e2ebe7; }
.rp-ability-list > div > span { font-size: 26px; }
.rp-ability-list div div { display: grid; gap: 3px; }
.rp-ability-list small { color: #667e77; }
.rp-ability-list strong { color: var(--rp-green); font-size: 18px; }
.rp-badge-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 9px; }
.rp-badge-grid > div { display: grid; grid-template-columns: auto 1fr; gap: 2px 9px; align-items: center; padding: 10px; opacity: .62; border: 1px solid #d7e3de; }
.rp-badge-grid > div.unlocked { opacity: 1; border-color: #e1bd42; background: #fff8d7; }
.rp-badge-grid span { grid-row: span 3; font-size: 29px; }
.rp-badge-grid small { color: #697f79; }
.rp-badge-grid i { height: 6px; overflow: hidden; background: #e5ebe8; }
.rp-badge-grid em { display: block; height: 100%; background: var(--rp-green); }
.rp-legacy-note { display: flex; align-items: center; justify-content: space-between; gap: 18px; padding: 20px; margin-top: 18px; border: 1px dashed #afc5bc; background: #f7faf8; }
.rp-legacy-note > div { display: flex; align-items: center; gap: 13px; }
.rp-legacy-note > div > span { font-size: 34px; }
.rp-legacy-note p { margin: 4px 0 0; color: #60766f; }
.rp-empty { padding: 45px; text-align: center; }
.rp-empty > span { font-size: 58px; }

@media (max-width: 1280px) {
  .rp-library-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .rp-stage-road { grid-template-columns: repeat(3, 1fr); }
  .rp-stage-road article { border-bottom: 1px solid #d9e5df; }
  .rp-workbench-grid { grid-template-columns: minmax(320px, .75fr) minmax(430px, 1.25fr); }
}

@media (max-width: 1024px) {
  .rp-hero { grid-template-columns: 1fr; padding-bottom: 142px; }
  .rp-world-art { display: none; }
  .rp-hero-stats { grid-template-columns: 1fr 1fr; }
  .rp-hero-stats div:nth-child(2) { border-right: 0; }
  .rp-hero-stats div:nth-child(-n+2) { border-bottom: 1px solid rgba(255,255,255,.18); }
  .rp-tabs { position: static; flex-wrap: wrap; }
  .rp-tabs > span { width: 100%; margin: 0; padding: 4px 8px; }
  .rp-source-promise { flex-wrap: wrap; }
  .rp-source-promise em { width: 100%; margin: 0; }
  .rp-today-grid,.rp-workbench-grid,.rp-journal-grid,.rp-path-columns { grid-template-columns: 1fr; }
  .rp-mini-grid { grid-template-columns: repeat(2, 1fr); }
  .rp-workbench-grid { overflow: visible; }
  .rp-source-panel,.rp-deep-notebook { min-width: 0; }
  .rp-stage-road { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 720px) {
  .rp-hero { padding: 25px 20px 184px; border-radius: 20px; }
  .rp-hero-copy > p { font-size: 16px; }
  .rp-hero-actions button { width: 100%; }
  .rp-hero-stats { right: 20px; bottom: 20px; left: 20px; }
  .rp-hero-stats div { padding: 10px 12px; }
  .rp-hero-stats b { font-size: 21px; }
  .rp-tabs { display: grid; grid-template-columns: 1fr 1fr; }
  .rp-tabs button { padding: 0 8px; }
  .rp-tabs > span { grid-column: 1 / -1; }
  .rp-daily-mission,.rp-week-card,.rp-source-panel,.rp-deep-notebook { padding: 20px; }
  .rp-mission-source { align-items: flex-start; }
  .rp-mission-source em { display: none; }
  .rp-reading-steps { display: grid; grid-template-columns: 1fr 1fr; gap: 9px; }
  .rp-reading-steps i { display: none; }
  .rp-reading-steps span { grid-template-columns: auto 1fr; align-items: center; justify-items: start; text-align: left; }
  .rp-mini-grid,.rp-library-grid,.rp-journal-summary,.rp-stage-road,.rp-badge-grid { grid-template-columns: 1fr; }
  .rp-filter-bar,.rp-library-head,.rp-path-intro,.rp-legacy-note { align-items: stretch; flex-direction: column; }
  .rp-filter-bar label { justify-content: space-between; }
  .rp-workbench-head { grid-template-columns: 1fr auto; }
  .rp-workbench-head > button:first-child { grid-column: 1 / -1; justify-self: start; }
  .rp-source-panel dl { grid-template-columns: 1fr; }
  .rp-source-panel dl div { border-right: 0; border-bottom: 1px solid #d9e5df !important; }
  .rp-source-panel dl div:last-child { border-bottom: 0 !important; }
  .rp-save-actions { grid-template-columns: 1fr; }
  .rp-library-card { min-height: 0; }
  .rp-library-card footer { align-items: stretch; flex-direction: column; }
}

@media (prefers-reduced-motion: reduce) {
  #page-reading * { scroll-behavior: auto !important; }
}
