:root {
  color-scheme: light;
  --paper: #f5f2e9;
  --ink: #23372f;
  --muted: #4d6055;
  --forest: #294538;
  --deep: #20372e;
  --sage: #e3e8da;
  --cream: #fbf4e5;
  --clay: #93452e;
  --peach: #e8bda1;
  --rule: #c9cec1;
  --display: "Songti SC", "Noto Serif CJK SC", "Noto Serif SC", SimSun, serif;
  --body: "PingFang SC", "Microsoft YaHei", "Noto Sans CJK SC", sans-serif;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--paper); color: var(--ink); font: 16px/1.65 var(--body); }
main { min-height: 64vh; }
a { color: inherit; text-decoration: none; }
a, button, select, input { -webkit-tap-highlight-color: transparent; }
button, select { font: inherit; }
button { cursor: pointer; }
button:focus-visible, a:focus-visible, select:focus-visible, input:focus-visible { outline: 3px solid #b36b50; outline-offset: 4px; }
h1, h2, h3, p, figure { margin: 0; }
h1, h2, h3 { font-family: var(--display); font-weight: 800; }
h2 { font-size: clamp(1.8rem, 3vw, 2.55rem); line-height: 1.35; }
img { display: block; max-width: 100%; height: auto; }
.shell { width: min(calc(100% - 96px), 1232px); margin-inline: auto; }
.skip { position: fixed; z-index: 4; left: 12px; top: 12px; padding: 10px; background: var(--cream); transform: translateY(-150%); }
.skip:focus { transform: translateY(0); }
.header, .footer { display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.header { min-height: 82px; }
.brand { display: inline-flex; align-items: center; gap: 11px; font: 800 1.26rem/1.2 var(--display); white-space: nowrap; }
.header nav { display: flex; align-items: center; gap: clamp(16px, 4vw, 48px); font-size: .88rem; font-weight: 600; }
.header nav a:hover, .footer a:hover { color: var(--clay); }
.nav-subscribe { display: inline-flex; align-items: center; gap: 6px; border: 1px solid #aebbad; border-radius: 100px; padding: 6px 15px; }

.cover { border-radius: 20px; overflow: hidden; }
.cover-frame { background: var(--forest); color: var(--cream); display: grid; grid-template-columns: minmax(0, 1.16fr) minmax(0, 1fr); min-height: clamp(440px, 44vw, 548px); }
.cover-copy { position: relative; display: flex; flex-direction: column; justify-content: center; align-items: flex-start; padding: clamp(32px, 6vw, 86px); isolation: isolate; overflow: hidden; }
.cover-copy::after { content: ""; position: absolute; inset: auto auto -220px -140px; width: 440px; aspect-ratio: 1; border: 1px solid #f9edd318; border-radius: 50%; box-shadow: 0 0 0 29px #f9edd311, 0 0 0 59px #f9edd30c, 0 0 0 89px #f9edd308; z-index: -1; }
.flag { display: inline-flex; align-items: center; gap: 9px; font-size: .78rem; font-weight: 650; letter-spacing: .16em; }
.flag > span { width: 8px; height: 8px; border-radius: 50%; background: #bf7d61; }
.cover h1 { font-size: clamp(2.65rem, 6.1vw, 5.4rem); line-height: 1.18; letter-spacing: -.065em; margin: 18px 0 14px; word-break: keep-all; }
.cover h1 span { color: #eedab4; }
.cover-topic { color: #f6e5ca; font-family: var(--display); font-size: clamp(1.32rem, 2.45vw, 2rem); letter-spacing: .06em; line-height: 1.4; }
.cover-description { color: #e3eadb; margin-top: 18px; max-width: 26em; font-size: .98rem; }
.cover-actions, .detail-actions { display: flex; align-items: center; flex-wrap: wrap; gap: 16px 22px; margin-top: 28px; }
.button { display: inline-flex; align-items: center; justify-content: center; gap: 10px; border: 1px solid transparent; border-radius: 100px; min-height: 46px; padding: 8px 18px; font-size: .875rem; font-weight: 670; white-space: nowrap; transition: background-color .18s, color .18s; }
.button.primary { background: var(--forest); color: var(--cream); }
.button.primary:hover { background: var(--deep); }
.cover .button.primary { background: var(--cream); color: var(--deep); }
.cover .button.primary:hover { background: #e8dbbd; }
.cover-link { display: inline-flex; align-items: center; min-height: 36px; font-size: .88rem; font-weight: 600; color: var(--cream); }
.cover-link:hover { text-decoration: underline; text-underline-offset: .25em; }
.button.outline { color: var(--ink); border-color: #9eae9d; }
.button.outline:hover { background: var(--sage); }
.portrait { position: relative; min-width: 0; background: #596257; overflow: hidden; }
.portrait img { position: absolute; width: 100%; height: 100%; inset: 0; object-fit: cover; object-position: 50% 40%; }
.portrait::after { content: ""; position: absolute; inset: auto 0 0; height: 34%; background: linear-gradient(transparent, #192d23a8); pointer-events: none; }
.portrait figcaption { position: absolute; z-index: 1; bottom: 21px; right: 26px; color: #fff9f0; font-size: .78rem; letter-spacing: .1em; }
.portrait figcaption strong { margin-left: .35em; font-family: var(--display); font-size: 1rem; }
.cover-ribbon { min-height: 59px; background: var(--sage); display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 12px; padding: 10px clamp(17px, 4vw, 49px); font-size: .85rem; font-weight: 600; }
.cover-ribbon a { justify-self: end; }
.cover-ribbon b { color: var(--clay); margin-inline: .32em; }
.cover-ribbon a:hover { color: var(--clay); }
.wave { display: flex; align-items: center; height: 36px; gap: 4px; opacity: .78; }
.wave i { display: block; width: 2px; height: 8px; background: #587365; border-radius: 100px; }
.wave i:is(:first-child, :last-child) { height: 3px; }
.wave i:is(:nth-child(3), :nth-child(8), :nth-child(13)) { height: 12px; }
.wave i:is(:nth-child(5), :nth-child(7), :nth-child(9), :nth-child(11)) { height: 16px; }
.wave i:is(:nth-child(6), :nth-child(10)) { height: 23px; }

.archive { margin-top: clamp(46px, 6vw, 84px); }
.section-heading { display: flex; align-items: end; justify-content: space-between; gap: 12px; padding-bottom: 15px; border-bottom: 2px solid var(--forest); }
.section-heading > span { color: var(--muted); font-size: .85rem; }
.episode-row { display: grid; grid-template-columns: 100px minmax(0, 1fr); align-items: center; gap: clamp(16px, 4vw, 55px); padding: 27px 6px 28px 0; border-bottom: 1px solid var(--rule); }
.episode-number { display: flex; align-items: baseline; justify-content: space-between; gap: 5px; color: var(--clay); font-size: .75rem; width: max-content; }
.episode-number b { font: 400 clamp(2.6rem, 5vw, 4.7rem)/1 Georgia, serif; letter-spacing: -.08em; margin-right: .08em; }
.metadata { display: flex; flex-wrap: wrap; align-items: center; gap: 3px 11px; color: var(--muted); font-size: .8rem; font-variant-numeric: tabular-nums; letter-spacing: .04em; }
.metadata span { display: inline-flex; align-items: center; gap: 11px; }
.metadata span::before { content: ""; width: 4px; height: 4px; background: #9b6a52; border-radius: 50%; }
.episode-info h3 { margin: 5px 0 6px; font-size: clamp(1.32rem, 2.8vw, 2.01rem); line-height: 1.36; }
.episode-info h3 a:hover { color: var(--clay); }
.episode-info p:not(.metadata) { color: var(--muted); max-width: 44em; font-size: .92rem; }
.text-link { display: inline-flex; align-items: center; gap: .4em; padding: 0; border: 0; background: transparent; color: var(--clay); font-size: .85rem; font-weight: 675; text-underline-offset: .25em; }
.text-link:hover { text-decoration: underline; }
.episode-links { display: flex; flex-wrap: wrap; gap: 7px 22px; margin-top: 11px; }
.about { display: flex; align-items: end; justify-content: space-between; gap: 26px; background: #e9ebdf; border-radius: 16px; margin-top: clamp(50px, 7vw, 92px); padding: clamp(26px, 5vw, 54px); }
.eyebrow { color: var(--clay); font-size: .8rem; font-weight: 660; letter-spacing: .12em; margin-bottom: 6px; }
.about-description { margin-top: 12px; max-width: 42em; color: var(--muted); white-space: pre-line; }
.about-description p + p { margin-top: .7em; }
.footer { margin-top: 44px; min-height: 82px; border-top: 1px solid var(--rule); }
.footer > a:last-child { font-size: .82rem; color: var(--muted); }
.error-page { padding-block: clamp(36px, 9vw, 108px); }
.error-page h1 { font-size: clamp(2rem, 6vw, 4.25rem); line-height: 1.2; margin-bottom: 14px; }
.error-page > p:not(.eyebrow) { color: var(--muted); }

.detail { padding-top: 22px; }
.back { display: inline-flex; align-items: center; gap: 9px; color: var(--muted); font-size: .85rem; font-weight: 650; margin-bottom: 16px; }
.back:hover { color: var(--clay); }
.detail-hero { display: grid; grid-template-columns: minmax(0, 1fr) minmax(145px, 28%); align-items: center; gap: clamp(22px, 5vw, 68px); border-radius: 20px; background: var(--sage); padding: clamp(24px, 5vw, 64px); }
.detail-hero img { width: 100%; border-radius: 8px; aspect-ratio: 1; object-fit: cover; }
.detail-hero .flag { color: var(--clay); }
.detail h1 { font-size: clamp(1.95rem, 4.8vw, 4.35rem); line-height: 1.25; margin: 12px 0 16px; letter-spacing: -.045em; }
.detail-actions { margin-top: 20px; }
.detail-body { display: grid; grid-template-columns: .8fr 1.2fr; gap: clamp(28px, 7vw, 100px); padding: clamp(28px, 5vw, 67px) 0 12px; }
.detail-body h2 { font-size: clamp(1.5rem, 2.65vw, 2rem); margin-bottom: 14px; }
.notes > p { color: var(--muted); }
.notes .text-link { margin-top: 15px; margin-right: 12px; }
.has-show-notes { grid-template-columns: minmax(0, 1.8fr) minmax(0, 1fr); }
.show-notes { color: var(--ink); line-height: 1.9; overflow-wrap: anywhere; }
.show-notes > p, .show-notes > ul { margin: 0 0 .7em; }
.show-notes h3 { margin: 1.2em 0 .45em; font: 800 1.3rem/1.4 var(--display); }
.show-notes ul { padding-inline-start: 1.45em; }
.show-notes blockquote {
  margin: .65em 0;
  padding: .55em 1em;
  border-inline-start: 3px solid #aebbad;
  background: var(--sage);
}
.show-notes-time { color: var(--clay); font-weight: 650; font-variant-numeric: tabular-nums; text-decoration: underline; text-underline-offset: .2em; }
.show-notes-quote {
  color: var(--clay);
  text-decoration: underline;
  text-underline-offset: .22em;
}
.show-notes-quote:hover { text-decoration-thickness: .12em; }
.chapters { list-style: none; padding: 0; margin: 0; border-top: 1px solid var(--rule); }
.chapter { display: grid; grid-template-columns: 3.3em minmax(0, 1fr); align-items: center; gap: 10px; min-height: 48px; padding: 8px 9px; border-bottom: 1px solid var(--rule); font-size: .9rem; }
.chapter time { color: var(--clay); font-weight: 640; font-variant-numeric: tabular-nums; }
a.chapter:hover { background: var(--sage); }

.transcript { padding-top: 22px; }
.transcript-header { border-top: 2px solid var(--forest); border-bottom: 1px solid var(--rule); padding: clamp(24px, 5vw, 52px) 0; }
.transcript-header .flag { color: var(--clay); }
.transcript-header h1 { max-width: 22em; font-size: clamp(1.95rem, 5.4vw, 4.25rem); line-height: 1.25; margin: .3em 0 .35em; letter-spacing: -.045em; }
.transcript-header .button { margin-top: 20px; }
.reading-layout { display: grid; grid-template-columns: minmax(13rem, 1fr) minmax(0, 2.7fr); gap: clamp(30px, 7vw, 96px); padding: clamp(28px, 5vw, 56px) 0; align-items: start; }
.reading-index { position: sticky; top: 22px; background: var(--sage); border: 1px solid #d3dacd; border-radius: 12px; padding: 17px; max-height: calc(100vh - 44px); overflow-y: auto; }
.reading-index h2 { font-size: 1.2rem; margin-bottom: 7px; }
.reading-index ol { list-style: none; margin: 0; padding: 0; }
.reading-index a { display: grid; grid-template-columns: 3em minmax(0, 1fr); gap: 7px; padding: 9px 0; border-bottom: 1px solid var(--rule); font-size: .85rem; }
.reading-index li:last-child a { border-bottom: 0; }
.reading-index a:hover { color: var(--clay); text-decoration: underline; text-underline-offset: .2em; }
.reading-index time, .transcript-section time { color: var(--clay); font: 650 .78rem/1.65 var(--body); font-variant-numeric: tabular-nums; }
.transcript-body { max-width: 47em; }
.transcript-source { color: var(--muted); font-size: .84rem; margin-bottom: 23px; }
.transcript-section { padding-bottom: 30px; margin-bottom: 24px; border-bottom: 1px solid var(--rule); scroll-margin-top: 24px; }
.transcript-section:last-child { border: 0; margin-bottom: 0; padding-bottom: 0; }
.transcript-section h2 { display: flex; align-items: baseline; gap: 13px; font-size: clamp(1.35rem, 3vw, 2rem); margin-bottom: 14px; }
.transcript-section time { flex-shrink: 0; }
.transcript-section p { font-size: clamp(1rem, 1.6vw, 1.14rem); line-height: 1.95; margin-bottom: 1em; }
.transcript-section p:last-child { margin-bottom: 0; }
.transcript-quote { scroll-margin-top: 28vh; }
.transcript-quote:target {
  background: var(--peach);
  border-radius: .2em;
  box-decoration-break: clone;
}
.transcript-term {
  color: var(--clay);
  text-decoration: underline;
  text-decoration-thickness: .07em;
  text-underline-offset: .2em;
  -webkit-user-drag: none;
}
.transcript-term:hover { background: var(--sage); }

@media (max-width: 850px) {
  .shell { width: calc(100% - 48px); }
  .cover-copy { padding: 36px; }
  .cover-frame { min-height: 415px; }
}
@media (max-width: 620px) {
  .shell { width: calc(100% - 32px); }
  .header { min-height: 64px; flex-wrap: wrap; padding-block: 6px; }
  .header .brand { font-size: 1.03rem; gap: 7px; }
  .header .brand img { width: 28px; }
  .header nav { gap: 13px; font-size: .79rem; flex-wrap: wrap; }
  .header nav a { display: inline-flex; align-items: center; min-height: 32px; }
  .nav-subscribe { padding: 4px 7px 4px 9px; gap: 2px; }
  .cover { border-radius: 14px; }
  .cover-frame { grid-template-columns: 1fr; min-height: 0; }
  .cover-copy { padding: 26px 21px 29px; }
  .cover h1 { font-size: clamp(2.6rem, 11.2vw, 4rem); margin: 13px 0 7px; }
  .cover-description { margin-top: 11px; font-size: .89rem; }
  .cover-actions { margin-top: 20px; gap: 12px 17px; }
  .portrait { aspect-ratio: 1.45; }
  .portrait img { object-position: 50% 27%; }
  .portrait figcaption { bottom: 11px; right: 15px; }
  .cover-ribbon { grid-template-columns: 1fr auto; min-height: 46px; font-size: .72rem; gap: 4px; padding-inline: 11px; }
  .cover-ribbon b { margin-inline: .11em; }
  .wave { display: none; }
  .episode-row { grid-template-columns: minmax(0, 1fr); align-items: start; gap: 8px; padding: 17px 0 23px; }
  .episode-number { grid-column: 1 / -1; }
  .episode-number b { font-size: 2.15rem; }
  .episode-info { min-width: 0; }
  .about { align-items: flex-start; flex-direction: column; gap: 16px; }
  .footer { margin-top: 32px; min-height: 72px; }
  .footer .brand { font-size: 1rem; gap: 7px; }
  .detail-hero { display: block; border-radius: 14px; }
  .detail-hero img { display: none; }
  .detail-body, .reading-layout { grid-template-columns: 1fr; }
  .reading-index { position: static; max-height: none; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .button { transition: none; }
}

.header nav [aria-current="page"] { color: var(--clay); text-decoration: underline; text-underline-offset: .4em; }
.library { padding-top: clamp(20px, 4vw, 49px); }
.library-head { padding: clamp(25px, 5vw, 60px); border-radius: 16px; background: var(--sage); }
.library-head h1 { font-size: clamp(2.4rem, 6vw, 5rem); line-height: 1.17; letter-spacing: -.05em; }
.library-head > p:last-child { max-width: 45em; margin-top: .85em; color: var(--muted); }
.library-entry-head { border-top: 2px solid var(--forest); border-radius: 0; background: none; padding-inline: 0; }
.library-entry-head h1 { margin-top: .16em; }
.library-entry-head .resource-aliases { margin-top: .45em; }
.library-category-nav { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 16px; }
.library-category-nav a { border: 1px solid var(--rule); border-radius: 6px; padding: 5px 10px; background: #faf8f1; font-size: .87rem; }
.library-category-nav a:hover { background: var(--sage); text-decoration: underline; text-underline-offset: .2em; }
.library-category-nav a[aria-current="location"] { background: var(--sage); border-color: #9eae9d; }
.library-category-nav span { margin-left: .22em; color: var(--clay); font-size: .8em; font-variant-numeric: tabular-nums; }
.library-filters { display: grid; grid-template-columns: minmax(0, 2fr) minmax(9rem, 1fr) auto; align-items: end; gap: 12px 22px; margin: clamp(20px, 4vw, 38px) 0 20px; }
.library-filters label { display: block; margin-bottom: 6px; font-size: .85rem; font-weight: 650; }
.library-filters input, .library-filters select { width: 100%; min-height: 43px; padding: 8px 12px; border: 1px solid #9eae9d; border-radius: 7px; background: #faf8f1; color: var(--ink); font: inherit; font-size: .94rem; }
.library-filters input::placeholder { color: var(--muted); }
.library-filters p { min-width: 5em; padding-bottom: 9px; color: var(--muted); text-align: right; font-size: .84rem; }
.resource-grid { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: clamp(20px, 4vw, 56px); }
.resource-group { margin-top: 29px; scroll-margin-top: 20px; }
.resource-group-title { font-size: 1.5rem; margin-bottom: 7px; }
.resource-card { border-top: 1px solid var(--rule); padding: 20px 0 24px; }
.library-filters[hidden], .resource-group[hidden], .resource-card[hidden], .library-empty[hidden] { display: none; }
.resource-type { color: var(--clay); font-size: .76rem; font-weight: 680; letter-spacing: .1em; }
.resource-origin { margin-left: .7em; padding-left: .7em; border-inline-start: 1px solid var(--rule); }
.resource-card h3 { margin-top: 5px; font-size: clamp(1.4rem, 2.8vw, 2rem); }
.resource-card h3 a:hover { color: var(--clay); text-decoration: underline; text-underline-offset: .2em; }
.resource-aliases { color: var(--muted); font-size: .83rem; }
.resource-summary { color: var(--muted); margin-top: .55em; }
.library-empty { padding: 22px 0; border-top: 1px solid var(--rule); color: var(--muted); }
.resource-body { display: grid; grid-template-columns: minmax(0, 1fr) minmax(178px, .34fr); align-items: start; gap: 26px clamp(24px, 7vw, 82px); border-top: 1px solid var(--rule); padding-top: 26px; }
.resource-body h2 { font-size: 1.5rem; margin-bottom: 10px; }
.resource-body p:not(.metadata) { color: var(--muted); }
.resource-content { grid-row: 1; grid-column: 1; }
.resource-toc { grid-row: 1; grid-column: 2; position: sticky; top: 20px; border: 1px solid var(--rule); border-radius: 10px; padding: 15px 17px; background: #f0f0e6; }
.resource-toc h2 { font-size: 1.14rem; }
.resource-toc ol { display: grid; gap: 6px; padding: 0 0 0 1.5em; margin: 0; font-size: .86rem; }
.resource-toc a:hover { color: var(--clay); text-decoration: underline; text-underline-offset: .2em; }
.resource-toc p { margin-top: 15px; padding-top: 9px; border-top: 1px solid var(--rule); font-size: .81rem; }
.resource-section { scroll-margin-top: 20px; margin-bottom: 30px; }
.resource-section > p { margin-bottom: 8px; max-width: 42em; overflow-wrap: anywhere; }
.resource-section .section-references { font-size: .81rem; color: var(--muted); }
.source-number { display: inline-block; padding-inline: 2px; color: var(--clay); font-weight: 650; }
.source-number:hover { text-decoration: underline; }
.resource-body ul { list-style: none; padding: 0; margin: 0; }
.resource-sources ol { padding: 0 0 0 1.6em; margin: 0; font-size: .88rem; }
.resource-sources li { scroll-margin-top: 20px; }
.resource-sources li:target { background: var(--sage); }
.resource-sources li + li, .resource-mentions li + li { margin-top: 10px; }
.resource-mentions { border-radius: 12px; background: var(--sage); padding: 20px; }
.resource-mentions h3 { margin: 4px 0; line-height: 1.4; }
.resource-mentions li + li { border-top: 1px solid var(--rule); padding-top: 10px; }
.resource-mention-links { display: flex; flex-wrap: wrap; gap: 6px 16px; margin-top: 7px; }
.resource-related ul { display: flex; flex-wrap: wrap; gap: 6px 15px; }
.related-resources { margin-top: 18px; }
.related-resources > p, .transcript-section .related-resources > p { color: var(--muted); font: 650 .84rem/1.6 var(--body); margin: 0 0 8px; }
.related-resources ul { display: flex; flex-wrap: wrap; gap: 7px 9px; list-style: none; padding: 0; margin: 0; }
.related-resources a { display: inline-block; padding: 4px 10px; border: 1px solid #aebbad; border-radius: 100px; font-size: .79rem; color: var(--forest); }
.related-resources a:hover { background: var(--sage); text-decoration: underline; text-underline-offset: .18em; }

@media (max-width: 620px) {
  .header { gap: 8px; }
  .header nav { gap: 9px; }
  .header nav a { white-space: nowrap; }
  .library-head { padding: 24px 20px; }
  .library-entry-head { padding-inline: 0; }
  .library-filters { grid-template-columns: minmax(0, 1fr) minmax(6.8rem, auto); }
  .library-filters p { grid-column: 1 / -1; padding: 0; text-align: left; }
  .resource-grid, .resource-body { grid-template-columns: minmax(0, 1fr); }
  .resource-toc, .resource-content { grid-column: auto; grid-row: auto; position: static; }
}

.quote-hint { color: var(--clay); font-size: .86rem; margin: -8px 0 24px; }
.quote-hint .text-link { min-height: 36px; text-decoration: underline; }
.quote-toolbar {
  position: fixed;
  z-index: 5;
  bottom: max(18px, env(safe-area-inset-bottom));
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  align-items: center;
  gap: 14px;
  width: max-content;
  max-width: calc(100vw - 24px);
  padding: 7px 7px 7px 17px;
  background: var(--cream);
  border: 1px solid #9eae9d;
  border-radius: 100px;
  box-shadow: 0 6px 28px #23372f35;
  color: var(--ink);
}
.quote-toolbar span { font-size: .83rem; }
.quote-toolbar .button { min-height: 37px; padding: 5px 13px; }
.quote-toolbar .button:disabled { opacity: .56; cursor: default; }
.quote-dialog {
  width: min(92vw, 536px);
  max-height: min(89vh, 860px);
  max-height: min(89dvh, 860px);
  padding: 0;
  color: var(--ink);
  background: var(--paper);
  border: 1px solid var(--rule);
  border-radius: 15px;
  box-shadow: 0 18px 70px #23372f50;
}
.quote-dialog:not([open]), .quote-toolbar[hidden], .quote-dialog [hidden] { display: none; }
.quote-dialog[open] { display: flex; flex-direction: column; }
.quote-dialog::backdrop { background: #14291f9e; }
.quote-dialog-header { display: flex; align-items: start; justify-content: space-between; gap: 14px; padding: 18px 20px 13px; }
.quote-dialog-header h2 { font-size: 1.53rem; }
.quote-dialog-header p { font-size: .84rem; color: var(--muted); margin-top: 3px; }
.quote-dialog-header .text-link { min-height: 30px; text-decoration: underline; }
.quote-close { width: 44px; height: 44px; border: 1px solid var(--rule); border-radius: 50%; background: none; color: var(--ink); font-size: 1.3rem; line-height: 1; }
.quote-close:hover { background: var(--sage); }
.quote-preview { flex: 1; min-height: 0; overflow-y: auto; padding: 0 20px 13px; }
.quote-preview p { color: var(--muted); font-size: .87rem; }
.quote-preview p:not(:empty) { padding: 10px 0; }
.quote-preview img { margin-inline: auto; width: min(100%, 380px); border-radius: 4px; box-shadow: 0 1px 9px #23372f1f; }
.quote-dialog-actions { display: flex; flex-wrap: wrap; justify-content: end; padding: 10px 20px 16px; gap: 8px; border-top: 1px solid var(--rule); }
.quote-dialog-actions .button { min-height: 40px; }
.quote-share-guide {
  flex-basis: 100%;
  color: var(--muted);
  font-size: .84rem;
  text-align: end;
}
.quote-share-guide:empty { display: none; }
.quote-picker { display: grid; gap: 10px; padding: 0 20px 16px; overflow: auto; }
.quote-picker label { font-weight: 650; }
.quote-picker select { min-width: 0; width: 100%; min-height: 42px; padding-inline: 8px; border: 1px solid #9eae9d; border-radius: 6px; background: var(--cream); color: var(--ink); }
.quote-picker p { font-size: .9rem; }
.quote-picker button { justify-self: start; }
