.practice-settings { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 20px; margin-top: 15px; }
.practice-settings .duration-options { margin-top: 0; }
.pace-options { display: flex; gap: 5px; padding-left: 15px; border-left: 1px solid #d5dfca; }
.pace-options button { border: 0; padding: 7px 9px; background: transparent; border-radius: 6px; font-size: 12px; color: #718365; }
.pace-options button[aria-pressed=true] { background: #e4ecd9; color: #3f653e; }
.pace-options button:disabled { opacity: .55; }
.practice-adaptation { font-size: 12px; color: #7c8b70; line-height: 1.8; margin: 10px 0 0; }
.external-anchor { border: 0; border-bottom: 1px solid #aab99b; background: transparent; font-size: 12px; line-height: 1.8; color: #677f58; padding: 4px 0; text-align: left; }
.practice-evidence { border-top: 1px solid #dce5d2; margin-top: 15px; }
.practice-evidence summary,.care-note summary { display: flex; justify-content: space-between; gap: 12px; align-items: center; cursor: pointer; font-size: 14px; color: #627958; padding: 16px 0 1px; list-style: none; }
.practice-evidence summary::-webkit-details-marker { display: none; }
.practice-evidence[open] summary span { transform: rotate(45deg); }
.practice-evidence-content { padding: 20px 0 0; max-width: 780px; }
.evidence-tag { display: inline-block; font-size: 12px; color: #76876a; letter-spacing: .3px; }
.practice-evidence h4 { font-size: 17px; font-weight: 500; margin: 11px 0; }
.practice-evidence p { color: #73806a; font-size: 14px; line-height: 1.9; margin: 10px 0; }
.practice-evidence a,.rest-library a { color: #4c7047; font-size: 13px; text-underline-offset: 4px; line-height: 1.9; }
.practice-evidence .practice-comfort { border-left: 2px solid #bdcdaa; padding-left: 12px; margin-top: 18px; font-size: 13px; }
.rest-reflection { border-top: 1px solid #dce5d2; padding-top: 20px; margin-top: 15px; }
.rest-reflection h4 { font-size: 15px; font-weight: 500; margin: 0 0 13px; }
.reflection-options { display: flex; gap: 7px; flex-wrap: wrap; }
.reflection-options button { background: #f9fbf5; border: 1px solid #d4dfc9; border-radius: 20px; padding: 8px 12px; font-size: 13px; }
.reflection-options button[aria-pressed=true] { background: #e1ecd6; border-color: #97ad85; }
#reflection-response { font-size: 13px; line-height: 1.8; color: #738568; margin: 12px 0 0; }
.rest-library { margin-top: 47px; text-align: left; }
.rest-library .section-heading { margin-bottom: 14px; }
.library-intro { font-size: 14px; line-height: 1.9; color: #7d8873; max-width: 770px; margin: 0 0 22px; }
.research-grid { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 15px; }
.research-card { border: 1px solid #dfe6d8; background: #fbfcf7b3; border-radius: 13px; padding: 24px 22px; display: flex; flex-direction: column; }
.research-card h3 { font-family: "Batang",serif; font-weight: 400; font-size: 19px; margin: 14px 0 5px; line-height: 1.6; letter-spacing: -.5px; word-break: keep-all; }
.research-card p { font-size: 14px; line-height: 1.9; color: #75806c; margin: 10px 0; }
.research-card .research-limit { font-size: 12px; color: #839179; border-top: 1px solid #e3e9da; padding-top: 12px; }
.research-card a { margin-top: auto; padding-top: 14px; }
.video-heading { display: flex; align-items: center; justify-content: space-between; gap: 20px; margin: 29px 0 15px; }
.video-heading h3 { font-size: 16px; font-weight: 500; margin: 0; }
.video-heading span { color: #88927f; font-size: 12px; }
.video-grid { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 15px; }
.video-card { display: flex; gap: 19px; border: 1px solid #dfe6d8; border-radius: 13px; padding: 23px; background: #eef2e8a1; }
.video-mark { display: grid; place-items: center; align-self: flex-start; min-width: 42px; height: 42px; border-radius: 50%; background: #dfe8d5; color: #6b845a; font-size: 24px; }
.video-card h4 { font-size: 16px; font-weight: 500; line-height: 1.7; margin: 9px 0; word-break: keep-all; }
.video-card p { color: #7a8770; font-size: 13px; line-height: 1.9; margin: 0 0 14px; }
.video-card a { display: block; }
.video-card .provenance-link { margin-top: 7px; font-size: 12px; color: #819174; }
.care-note { margin-top: 18px; padding: 0 20px 16px; border: 1px solid #dfe6d8; border-radius: 10px; }
.care-note p { font-size: 14px; color: #7b8771; line-height: 1.9; }
.practice-evidence summary:focus-visible,.care-note summary:focus-visible { outline: 2px solid #729474; outline-offset: 4px; }
.focus-dialog .practice-adaptation { font-size: 12px; }
.focus-dialog #reflection-response,.focus-dialog .practice-comfort { font-size: 13px; }
.focus-dialog .practice-evidence p { font-size: 14px; }
@media(max-width:900px) {
  .practice-settings { gap: 10px; }
  .pace-options { border-left: 0; padding-left: 0; }
  .research-grid { gap: 10px; }
  .research-card { padding: 20px 17px; }
  .research-card h3 { font-size: 18px; }
  .video-card { padding: 20px 17px; gap: 12px; }
}
@media(max-width:620px) {
  .rest-library { margin-top: 34px; }
  .rest-library .section-heading h2 { font-size: 21px; line-height: 1.6; }
  .library-intro { font-size: 13px; }
  .research-grid,.video-grid { grid-template-columns: 1fr; gap: 12px; }
  .research-card { padding: 21px; }
  .research-card h3 { font-size: 19px; }
  .video-heading { display: block; }
  .video-heading span { display: block; margin-top: 10px; line-height: 1.8; }
  .practice-settings { gap: 9px; }
  .pace-options button { font-size: 12px; }
  .reflection-options { gap: 5px; }
  .reflection-options button { font-size: 12px; padding: 8px 10px; }
}
