/* Practice shares the feed's photography and sets its longer reading on warm paper. */
#practice {
  --pr-paper: #f7f3e9;
  --pr-ink: #292a24;
  --pr-soft: #655e4f;
  --pr-line: #d9d2c3;
  --pr-gold: #70572e;
  width: min(660px, calc(100% - 32px));
  max-width: none;
  max-height: min(900px, 92dvh);
  padding: 0;
  background: var(--pr-paper);
  color: var(--pr-ink);
  border: 1px solid #e8dfcf;
  border-radius: 14px;
  overscroll-behavior: contain;
  scrollbar-width: thin;
  scrollbar-color: #c4b9a3 var(--pr-paper);
}
#practice:focus { outline: none }
#practice::backdrop { background: #14140fc2; backdrop-filter: blur(12px) }
#practice .pr-bar {
  position: sticky;
  top: 0;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: 6px 22px;
  background: var(--pr-paper);
  border-bottom: 1px solid var(--pr-line);
}
#practice .pr-back, #practice .pr-close { display: inline-flex; align-items: center; justify-content: center; min-height: 44px; color: var(--pr-soft) }
#practice .pr-back { padding: 0 8px; gap: 9px; font: 13px var(--serif); letter-spacing: .1px }
#practice .pr-back .icon { transform: rotate(180deg); width: 15px }
#practice .pr-close { width: 44px; border-radius: 50%; padding: 0 }
#practice .pr-close .icon { width: 18px }
#practice .pr-close:hover { background: #e8e2d6 }
#practice .pr-content { padding: clamp(23px, 5.5vw, 40px) clamp(22px, 5vw, 44px) 28px }
#practice .pr-title {
  font: normal clamp(36px, 6.3vw, 52px)/1.05 var(--serif);
  letter-spacing: -.045em;
  margin: 0;
  color: var(--pr-ink);
  outline: 0;
  text-wrap: pretty;
}
#practice .pr-intro { max-width: 50ch; font-size: 15px; line-height: 1.55; color: var(--pr-soft); margin: 13px 0 24px }
#practice .pr-lead { margin-bottom: 21px }
#practice .pr-lead .pr-intro { margin: 10px 0 0; max-width: 38ch }
#practice .pr-kicker { display: block; font: 600 10px/1.5 Arial,sans-serif; text-transform: uppercase; letter-spacing: .14em; color: var(--pr-gold); margin-bottom: 12px }
#practice .pr-hero, #practice .pr-banner, #practice .pr-member-hero {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  background: #29352e;
  border-radius: 7px;
  color: #fff8eb;
}
#practice .pr-hero { min-height: 252px; display: flex; align-items: end; padding: clamp(22px, 4.2vw, 31px) }
#practice .pr-hero-image, #practice .pr-banner-image {
  z-index: -2;
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 48%;
}
#practice .pr-hero::after, #practice .pr-banner::after, #practice .pr-member-hero::after {
  content: '';
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(90deg, #0e1918b8 0%, #0b171533 100%), linear-gradient(0deg, #111a18e6, transparent 95%);
}
#practice .pr-hero h3, #practice .pr-banner-copy .pr-title {
  font: normal clamp(34px, 5.5vw, 48px)/1.06 var(--serif);
  letter-spacing: -.045em;
  color: #fff9ec;
  margin: 0;
  max-width: 17ch;
}
#practice .pr-hero p, #practice .pr-banner p { color: #f5efdf; font-size: 14px; line-height: 1.5; max-width: 39ch; margin: 10px 0 0 }
#practice .pr-hero .pr-kicker, #practice .pr-banner .pr-kicker, #practice .pr-member-hero .pr-kicker { color: #f0ddb6 }
#practice .pr-primary, #practice .pr-action {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 14px;
  width: 100%;
  min-height: 48px;
  font: 600 13px/1.4 Arial,sans-serif;
  text-align: left;
}
#practice .pr-primary { padding: 13px 16px; border-radius: 4px; background: #30392d; color: #fff8e9; margin: 20px 0 5px }
#practice .pr-primary:hover { background: #44533d; color: white }
#practice .pr-primary .icon, #practice .pr-action .icon { width: 17px; height: 17px }
#practice .pr-hero .pr-primary { background: #f1e8d5; color: #23312b; width: fit-content; min-height: 44px; margin-top: 17px; margin-bottom: 0 }
#practice .pr-hero .pr-primary:hover { background: #fff8eb }
#practice .pr-action { border-bottom: 1px solid var(--pr-line); padding: 12px 0; color: #564b37 }
#practice .pr-action:hover { color: #352811 }
#practice .pr-section-heading { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; margin: 29px 0 10px }
#practice .pr-section-heading h3, #practice .pr-subtitle { margin: 0; color: var(--pr-ink); font: normal 25px/1.25 var(--serif); letter-spacing: -.035em }
#practice .pr-section-heading span, #practice .pr-meta, #practice .pr-muted { color: var(--pr-soft); font-size: 12px; line-height: 1.5 }
#practice .pr-section-heading span { white-space: nowrap }
#practice .pr-programme-row, #practice .pr-day-row {
  width: 100%;
  display: flex;
  align-items: center;
  gap: 14px;
  border-top: 1px solid var(--pr-line);
  text-align: left;
  padding: 15px 0;
  color: var(--pr-ink);
}
#practice .pr-thumb { width: 61px; height: 79px; object-fit: cover; border-radius: 3px; flex: none; background: #d9d5cb }
#practice .pr-row-copy { display: grid; gap: 4px; flex: 1; min-width: 0 }
#practice .pr-row-copy strong { font: normal 21px/1.15 var(--serif); letter-spacing: -.025em }
#practice .pr-row-copy > span { color: var(--pr-soft); font-size: 12px; line-height: 1.45; max-width: 48ch }
#practice .pr-row-copy small, #practice .pr-day-access { color: var(--pr-gold); font-weight: 600; font-size: 11px }
#practice .pr-programme-row > .icon, #practice .pr-day-row > .icon { width: 15px; color: #756344 }
#practice .pr-tools { border-top: 1px solid var(--pr-line); margin-top: 12px }
#practice .pr-banner { min-height: 210px; display: flex; align-items: end; padding: clamp(20px, 4.5vw, 33px) }
#practice .pr-meta { display: flex; gap: 8px 15px; flex-wrap: wrap; margin: 17px 0 12px }
#practice .pr-progress { display: flex; gap: 5px; margin: 0 0 22px }
#practice .pr-progress i { height: 3px; flex: 1; background: #ded8c8 }
#practice .pr-progress i.pr-filled { background: #556d50 }
#practice .pr-hero .pr-progress { position: absolute; right: 16px; top: 15px; width: 67px; gap: 3px }
#practice .pr-hero .pr-progress i { background: #fff7e05c }
#practice .pr-hero .pr-progress i.pr-filled { background: #fff7e0 }
#practice .pr-days { list-style: none; padding: 0; margin: 20px 0 0 }
#practice .pr-day-row { padding: 14px 0; min-height: 65px }
#practice .pr-day-number { color: #82775f; font: normal 20px var(--serif); min-width: 29px }
#practice .pr-day-access { border: 1px solid #c6b998; padding: 3px 8px; border-radius: 10px }
#practice .pr-reader-series { display: flex; align-items: center; gap: 12px; font-size: 12px; line-height: 1.4; color: var(--pr-soft); margin-bottom: 17px }
#practice .pr-mini-cover { width: 34px; height: 40px; border-radius: 2px; object-fit: cover }
#practice .pr-passage { margin: 23px 0; padding: 22px 2px; border-top: 1px solid var(--pr-line); border-bottom: 1px solid var(--pr-line) }
#practice .pr-passage blockquote { margin: 0; font: normal clamp(22px, 3.5vw, 31px)/1.28 var(--serif); letter-spacing: -.03em; color: #394431; text-wrap: pretty }
#practice .pr-passage figcaption { margin-top: 12px; font-size: 11px; line-height: 1.5; color: #685c43 }
#practice .pr-instruction { font-size: 15px; line-height: 1.6; margin: 7px 0 18px; color: #4a463d }
#practice .pr-note-label { margin-top: 21px; color: var(--pr-ink); font: normal 24px/1.2 var(--serif); letter-spacing: -.025em }
#practice textarea, #practice input { color: var(--pr-ink); font-family: inherit; font-size: 16px; line-height: 1.5; margin: 8px 0 0; border: 1px solid #b8ad96; border-radius: 4px; background: #fffcf5; padding: 10px; width: 100%; min-height: 45px }
#practice textarea { height: 84px }
#practice textarea::placeholder { color: #726b5e }
#practice .pr-muted { margin: 10px 0 16px }
#practice .pr-title + .pr-progress { margin-top: 20px }
#practice .pr-personal { overflow-wrap: anywhere; white-space: pre-wrap; color: #484236; background: #eee8da; padding: 12px 16px; border-left: 2px solid #ab986b; margin: 14px 0; text-wrap: wrap; font: 16px/1.5 var(--serif); letter-spacing: 0 }
#practice .pr-notes { margin-top: 24px }
#practice .pr-note-entry { padding: 12px 0; border-bottom: 1px solid var(--pr-line) }
#practice .pr-note-entry h4 { color: var(--pr-soft); font-size: 12px; margin: 0 }
#practice .pr-member-hero { min-height: 180px; display: flex; align-items: end; padding: 26px; background: #473c35; margin-bottom: 24px }
#practice .pr-member-hero .pr-title { color: #fff6e5 }
#practice .pr-price { margin: 12px 0 0; color: #fff6e5; font-size: 15px }
#practice .pr-price strong { font: normal 26px/1.2 var(--serif) }
#practice .pr-notice { background: #ece7da; color: #4a4938; padding: 12px 15px; border-radius: 4px; font-size: 13px; line-height: 1.55; margin: 15px 0 }
#practice .pr-benefits { list-style: none; padding: 0; margin: 14px 0 }
#practice .pr-benefits li { display: grid; gap: 5px; border-top: 1px solid var(--pr-line); padding: 12px 0 }
#practice .pr-benefits strong { font-weight: 600; font-size: 14px }
#practice .pr-benefits span { color: var(--pr-soft); font-size: 13px; line-height: 1.55 }
#practice .pr-restore { border-top: 1px solid var(--pr-line); margin-top: 12px }
#practice summary { min-height: 44px; padding: 13px 0; color: #554a37; cursor: pointer; font-size: 13px }
#practice label:has(+ input) { display: block; font-size: 13px }
#practice .pr-status { color: #454c3f; margin: 0; font-size: 13px; line-height: 1.5; padding: 0 clamp(22px, 5vw, 44px) 22px }
#practice .pr-status:empty { padding: 0 }
#practice :is(button, summary, input, textarea):focus-visible { outline: 2px solid #806b3e; outline-offset: 2px }
@media (max-width: 600px) {
  #practice { width: 100%; max-height: 100dvh; height: 100dvh; inset: 0; margin: 0; border: 0; border-radius: 0 }
  #practice .pr-bar { padding: max(4px, env(safe-area-inset-top)) 14px 4px }
  #practice .pr-content { padding-bottom: max(24px, env(safe-area-inset-bottom)) }
  #practice .pr-hero { min-height: 232px }
}
@media (max-width: 360px) {
  #practice .pr-content { padding-inline: 17px }
  #practice .pr-programme-row, #practice .pr-day-row { gap: 10px }
  #practice .pr-thumb { width: 49px; height: 71px }
  #practice .pr-section-heading h3 { font-size: 23px }
}
#practice .pr-edit-note { color: var(--pr-gold); text-decoration: underline; text-underline-offset: 3px; font-size: 13px; padding: 0 4px }
