.dashboard-nav .dashboard-guides-link {
  color: var(--green-dark);
  border: 1px solid #d9e6d8;
  background: #f0f6ef;
}
.dashboard-nav .dashboard-guides-link:hover { background: #dfeee0; }
.dashboard-price-note {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 3px 9px;
  margin: 10px 2px 0;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.6;
}
.dashboard-price-note a, .footer-links a:hover {
  color: var(--green);
  text-decoration: underline;
  text-underline-offset: 3px;
}
.dashboard-guides {
  margin-block: 23px 16px;
  padding: clamp(16px, 3vw, 27px);
  background: #ecf2e8;
  border: 1px solid #dbe7d9;
  border-radius: 18px;
}
.dashboard-guide-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 16px;
}
.dashboard-guide-heading h2, .dashboard-reading h2 {
  margin-top: 2px;
  color: var(--ink-strong);
  font-size: clamp(21px, 2.6vw, 30px);
  line-height: 1.4;
}
.dashboard-guide-description, .dashboard-reading-intro > p:last-child {
  margin-top: 5px;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.7;
}
.dashboard-reading {
  margin-block: 18px 28px;
  padding: clamp(18px, 3vw, 30px);
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 17px;
}
.dashboard-reading-intro { max-width: 66ch; }
.dashboard-steps {
  counter-reset: dashboard-step;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  margin-block: 18px 16px;
}
.dashboard-steps div {
  counter-increment: dashboard-step;
  padding: 14px;
  border-radius: 11px;
  background: #f5f8f2;
}
.dashboard-steps dt { color: var(--ink-strong); font-size: 14px; font-weight: 750; }
.dashboard-steps dt::before {
  content: counter(dashboard-step);
  display: grid;
  place-items: center;
  width: 27px;
  height: 27px;
  margin-bottom: 6px;
  border-radius: 50%;
  color: var(--green-dark);
  background: #e2eee1;
  font: 700 12px var(--numeric);
}
.dashboard-steps dd { margin: 5px 0 0; color: var(--muted); font-size: 13px; line-height: 1.75; }
.site-footer .footer-content { padding-block: 15px; }
.site-footer .footer-links { max-width: 630px; gap: 8px 15px; }
.footer-links a { display: inline-flex; align-items: center; min-height: 26px; white-space: nowrap; }

.reading-page {
  width: min(1070px, calc(100% - 64px));
  min-width: 0;
  margin-inline: auto;
  padding-block: 25px 58px;
}
.breadcrumb {
  display: flex;
  align-items: baseline;
  flex-wrap: wrap;
  gap: 5px 9px;
  margin-block: 0 17px;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.55;
}
.breadcrumb a { color: var(--green); }
.breadcrumb a:hover { text-decoration: underline; text-underline-offset: 3px; }
.breadcrumb ol { display: flex; flex-wrap: wrap; align-items: baseline; gap: 5px 9px; list-style: none; margin: 0; padding: 0; }
.breadcrumb li + li::before { content: '/'; display: inline-block; margin-inline-end: 9px; color: #728378; }
.reading-header {
  padding: clamp(20px, 5vw, 45px);
  color: var(--ink-strong);
  border: 1px solid #dbe7d9;
  border-radius: 19px;
  background: linear-gradient(145deg, #f7faf5, #e7f0e4);
}
.reading-header h1 {
  max-width: 29ch;
  margin-block: 5px 8px;
  font-size: clamp(30px, 5.2vw, 51px);
  line-height: 1.24;
  font-weight: 800;
  text-wrap: balance;
}
:root[lang='en'] .reading-header h1 { letter-spacing: -.037em; }
.reading-header p:not(.reading-kicker) { max-width: 67ch; color: #3f5549; font-size: clamp(15px, 1.8vw, 17px); line-height: 1.7; }
.reading-kicker {
  display: block;
  color: var(--green);
  font-size: 12px;
  font-weight: 800;
  line-height: 1.5;
}
:root[lang='en'] .reading-kicker { font-size: 11px; letter-spacing: .105em; }
.reading-meta, .reading-tags {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 6px 12px;
  color: var(--muted);
  font-size: 12px;
  margin-block: 11px 0;
}
.reading-meta a, .reading-tags a { color: var(--green); }
.reading-tags a, .reading-tags span {
  padding: 3px 9px;
  border: 1px solid #d9e6d7;
  border-radius: 100px;
  background: #f5f9f3;
}
.reading-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 13px;
  margin-block: 17px 0;
}
.dashboard-guide-grid { margin-block-start: 0; }
.reading-card {
  display: flex;
  flex-direction: column;
  align-items: start;
  gap: 8px;
  min-width: 0;
  height: 100%;
  padding: 17px;
  border: 1px solid var(--line);
  border-radius: 14px;
  color: var(--ink);
  background: var(--surface);
  overflow-wrap: break-word;
}
.reading-card:hover, .reading-card:focus-within { border-color: #8faf9a; }
.reading-card h2, .reading-card h3 { color: var(--ink-strong); font-size: 18px; font-weight: 800; line-height: 1.42; }
.reading-card h2 a:hover, .reading-card h3 a:hover, .reading-card:hover .reading-card-link { text-decoration: underline; text-underline-offset: 4px; }
.reading-card p:not(.reading-kicker) { color: var(--muted); font-size: 14px; line-height: 1.67; }
.reading-card-symbol {
  display: grid;
  place-items: center;
  width: 37px;
  height: 37px;
  margin-bottom: 1px;
  color: var(--green-dark);
  background: var(--green-light);
  border-radius: 10px;
}
.reading-card-symbol--gold { color: #785419; background: #f8eed7; }
.reading-action, .reading-card-link {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  color: var(--green-dark);
  font-size: 13px;
  font-weight: 800;
  line-height: 1.45;
}
.reading-action { min-height: 39px; padding: 7px 11px; border: 1px solid #d5e3d4; border-radius: 8px; background: #f9fcf8; }
.reading-action:hover { border-color: #8faf9a; background: white; }
.reading-card-link { margin-top: auto; padding-top: 5px; }
.reading-arrow { display: inline-block; font-size: 17px; line-height: 1; }
[dir='rtl'] .reading-arrow { transform: rotate(180deg); }
.reading-body {
  min-width: 0;
  width: min(100%, 810px);
  margin: 17px auto 0;
  padding: clamp(18px, 4.2vw, 39px);
  border: 1px solid var(--line);
  border-radius: 16px;
  background: var(--surface);
  color: #273b31;
  overflow-wrap: break-word;
  font-size: clamp(15px, 1.8vw, 17px);
  line-height: 1.85;
}
.reading-body > :first-child { margin-top: 0; }
.reading-body > :last-child { margin-bottom: 0; }
.reading-body h2, .reading-body h3 { color: var(--ink-strong); line-height: 1.43; font-weight: 800; }
.reading-body h2 { margin-block: 1.22em .35em; font-size: clamp(20px, 2.5vw, 26px); }
.reading-body h3 { margin-block: 1em .35em; font-size: clamp(18px, 2.1vw, 22px); }
.reading-body p, .reading-body ul, .reading-body ol { margin-block: 0 .85em; }
.reading-body ul, .reading-body ol { padding-inline-start: 1.4em; }
.reading-body li + li { margin-top: .28em; }
.reading-body a, .reading-sources a, .reading-related a:not(.reading-card) {
  color: var(--green);
  text-decoration: underline;
  text-underline-offset: 3px;
  overflow-wrap: anywhere;
}
.reading-body .reading-action, .reading-related .reading-action { text-decoration: none; }
.reading-body code, .reading-body kbd { background: #edf4ec; padding: .08em .28em; border-radius: 4px; font-size: .92em; }
.reading-body pre { overflow-x: auto; padding: 12px 14px; background: #edf4ec; border-radius: 8px; }
.reading-body blockquote {
  margin: .9em 0;
  padding: .65em .95em;
  border-inline-start: 4px solid #78a789;
  border-radius: 6px;
  background: #eef5ed;
}
.reading-body blockquote p { margin: 0; }
.reading-body .table-scroll { margin-block: .8em 1em; }
.reading-body table {
  display: block;
  width: 100%;
  max-width: 100%;
  overflow-x: auto;
  margin-block: .8em 1em;
  border-collapse: collapse;
  font-size: .89em;
  line-height: 1.55;
}
.reading-body .table-scroll table { display: table; margin: 0; }
.reading-body table caption { text-align: start; margin-bottom: 7px; color: var(--muted); }
.reading-body :is(th, td) { min-width: 92px; padding: 8px 10px; border: 1px solid var(--line); text-align: start; vertical-align: top; }
.reading-body thead th { color: var(--ink-strong); background: #eff5ed; }
.reading-body tbody tr:nth-child(even) { background: #f8faf7; }
.reading-sources, .reading-related {
  width: min(100%, 810px);
  margin: 14px auto 0;
  padding: 16px 20px;
  border: 1px solid var(--line);
  border-radius: 13px;
  background: #fbfcf9;
  color: #354a3e;
  font-size: 14px;
  line-height: 1.65;
}
.reading-sources h2, .reading-related h2 { color: var(--ink-strong); font-size: 18px; }
.reading-sources ul, .reading-related ul { margin-block: 7px 0; padding-inline-start: 20px; }
.reading-sources li + li, .reading-related li + li { margin-top: 5px; }
.reading-related .reading-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); margin-block-start: 11px; }

@media (max-width: 820px) {
  .reading-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .dashboard-guide-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .dashboard-guide-grid .reading-card { padding: 13px; }
  .site-footer .footer-content > p { display: none; }
}
@media (max-width: 630px) {
  .dashboard-nav { grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 3px; }
  .dashboard-nav .nav-link { font-size: clamp(10px, 2.65vw, 12px); }
  .dashboard-guides { margin-block-start: 15px; }
  .dashboard-steps, .dashboard-guide-grid { grid-template-columns: minmax(0, 1fr); gap: 8px; }
  .dashboard-guide-grid .reading-card { padding: 13px 15px; }
  .dashboard-guide-heading { align-items: start; }
  .reading-page { width: calc(100% - 28px); padding-block: 16px 34px; }
  .reading-header { border-radius: 14px; }
  .reading-body { border-radius: 12px; }
  .reading-grid, .reading-related .reading-grid { grid-template-columns: minmax(0, 1fr); gap: 9px; }
  .site-footer .footer-content { flex-direction: column; align-items: start; gap: 9px; }
  .site-footer .footer-links { justify-content: start; gap: 3px 11px; }
}
.reading-hub .reading-group { margin-block-start: 24px; }
.reading-group > h2 { margin-block-end: 10px; }
