@import url("/section-navigation-animation.css");

/* Keep the collapsed player controls centered between its orange borders. */
.player.player-collapsed {
  box-sizing: border-box;
  display: flex;
  align-items: center;
  min-height: 64px;
  padding-top: 0;
  padding-bottom: max(0px, env(safe-area-inset-bottom));
}
.player.player-collapsed .player-collapse-head {
  box-sizing: border-box;
  display: flex;
  align-items: center;
  min-height: 44px;
  margin: 0;
  padding-top: 0;
}
.player.player-collapsed.waveform-active {
  display: grid;
  align-items: center;
  padding-top: 0;
  padding-bottom: max(0px, env(safe-area-inset-bottom));
}
.player.player-collapsed.waveform-active .player-collapse-head {
  align-self: center;
  padding-top: 0;
}

/* Keep Nicole's letter aligned with the main newsletter content width. */
.wrap .nicole-letter {
  box-sizing: border-box;
  width: 100%;
  max-width: 1100px;
  margin-inline: auto;
}

/* Increase the subscription button label by two points on every layout. */
.reading-controls #subscribe-open { font-size: calc(14px + 2pt); }

/* Keep the state ticker's repeated sequence evenly spaced at its loop point. */
.licensed-states .states-line { padding-right: 0; }


/* Keep article summary copy compact on desktop and tablet, without affecting phones. */
@media (min-width: 601px) {
  .wrap article .txt > p:not(.fyi) { font-size: calc(1em - 2pt); }
}


/* The phone layout omits the bullet between Nicole's number and contact link. */
@media (max-width: 600px) {
  .author-info .author-contact .contact-separator { display: none; }
}

/* Keep the collapsed edition title immediately left of the round toggle at the right edge. */
@media (min-width: 601px) {
  .player.player-collapsed .player-collapse-head {
    box-sizing: border-box;
    width: 100%;
    justify-content: flex-end;
  }
  .player.player-collapsed .player-collapse-head #now {
    flex: 0 1 auto;
    margin-left: 0;
    text-align: right;
  }
  .player.player-collapsed.waveform-active {
    grid-template-columns: 72px minmax(0, 1fr) max-content;
  }
  .player.player-collapsed.waveform-active #now { display: block; }
}

/* Mobile-only refinements requested for the card summaries and collapsed player. */
@media (max-width: 600px) {
  .wrap article .txt > p:not(.fyi) { font-size: calc(1em - 1pt); }
  .player.player-collapsed .player-collapse-head {
    box-sizing: border-box;
    width: 100%;
    justify-content: flex-end;
    gap: 10px;
  }
  .player.player-collapsed .player-collapse-head #now {
    flex: 0 1 auto;
    margin-left: 0;
    text-align: right;
  }
  .player.player-collapsed.waveform-active {
    grid-template-columns: minmax(0, 1fr) max-content;
  }
  .player.player-collapsed.waveform-active #now { display: block; }
}

/* Stack Nicole's contact links and enlarge the portrait phone icon on mobile. */
@media (max-width: 600px) {
  .author-info .author-contact {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 6px;
  }
  .author-info .author-contact .contact-separator { display: none; }
  .author-media .mobile-author-phone {
    flex-basis: 56px;
    width: 56px;
    height: 56px;
  }
}

/* Keep every mobile reader button above Search, with the three layout buttons grouped. */
@media (max-width: 600px) {
  .reading-controls .layout-controls #search { order: 99; }
  .reading-controls .layout-controls .newsletter-library-button { margin-right: 0; }
}

/* Let the layout buttons share the preceding mobile toolbar row. */
@media (max-width: 600px) {
  .mobile-tools-content .layout-controls { display: contents; }
  .mobile-tools-content .layout-controls > :not(#search) { order: 0; }
  .reading-controls .layout-controls #card-layout,
  .reading-controls .layout-controls #save-all,
  .reading-controls .layout-controls .newsletter-library-button { padding-inline: 6px !important; }
  .mobile-tools-content .layout-controls #search { order: 1; flex: 1 0 100%; box-sizing: border-box; }
  .mobile-tools-content .noteshield { order: 2; }
}

/* Center the credit and toggle in the same bar between the orange borders. */
.player{display:grid;grid-template-columns:minmax(0,1fr);align-items:center}
.player.player-collapsed{display:grid;padding-top:0;padding-bottom:0;gap:0}
.player .player-collapse-head,
.player.player-collapsed.waveform-active .player-collapse-head{grid-column:1;grid-row:1;width:100%;min-height:64px;margin:0;justify-content:flex-end;align-items:center;z-index:1;pointer-events:none}
.player .player-collapse-toggle{align-self:flex-start;margin-block-start:3px;pointer-events:auto}
.player .player-powered-by,
.player.player-collapsed.waveform-active .player-powered-by{grid-column:1;grid-row:1;width:calc(100% - 108px);box-sizing:border-box;margin:0;padding:0;text-align:center;align-self:center;justify-self:center;font-size:15px;pointer-events:auto;position:relative;z-index:2;cursor:default}
.player #player-expanded-controls{grid-column:1;grid-row:2;min-width:0}
.player.player-collapsed.waveform-active{display:grid;grid-template-columns:minmax(0,1fr);gap:0}
.player.player-collapsed.waveform-active .speech-viz{grid-column:1;grid-row:2}

/* Align the source-download button with the mobile introduction and categories. */
@media (max-width:600px) {
  .text-sources-shortcut { display:flex; justify-content:center; }
}

/* Keep phone category labels left aligned and slightly larger. */
@media (max-width:600px) {
  .wrap section > .sec-head > .reel { justify-self:start; font-size:calc(.72rem + 1px); padding:3px 10px; }
}

/* Give the stacked mobile category links a little more breathing room. */
@media (max-width:600px) {
  .wrap .toc { row-gap:14px; }
}

/* Latest-volume navigation follows Attach and matches the subscription button. */
.reading-controls #latest-volume{background:color-mix(in srgb,#326e70 25%,var(--surface));color:var(--fg);border-color:#82bfc0;animation:subscribe-text-color 10s linear infinite;white-space:nowrap}
/* Keep the full credit centered and clear of the listening-controls toggle. */
.player .player-powered-by{padding-block:12px;overflow-wrap:break-word;text-wrap:balance}
html:not([data-hlf-phone]) .player .player-powered-by{font-size:calc(15px + 1pt)}
@media(prefers-reduced-motion:reduce){.reading-controls #latest-volume{animation:none;color:#ee9a62}}

.reading-controls .toolbar-volume-links{display:inline-flex;align-items:center;gap:7px;max-width:100%}

/* Computer/tablet toolbar: two complete rows, with the original phone order retained. */
@media(min-width:601px){
  .mobile-tools-content .desktop-toolbar-top{display:flex;flex-wrap:wrap;align-items:center;justify-content:flex-start;gap:8px;flex:0 0 100%;width:100%;min-width:0}
  .mobile-tools-content .desktop-toolbar-second{display:flex;flex-wrap:wrap;align-items:center;justify-content:flex-start;gap:8px;flex:0 0 100%;width:100%;min-width:0;margin-top:2px}
  .reading-controls .desktop-toolbar-top #subscribe-open{box-sizing:border-box;flex:1 0 max-content;width:auto;min-width:max-content;max-width:100%;margin:0;padding-inline:10px;white-space:nowrap}
  .reading-controls .desktop-toolbar-second #search{box-sizing:border-box;flex:1 1 200px;min-width:200px;max-width:100%;width:auto;height:44px;min-height:44px;border:1.5px solid #eeeae3;border-radius:999px;padding-left:17px;font-family:var(--display);font-weight:400;font-style:normal}
  .reading-controls .desktop-toolbar-second .newsletter-library-button,.reading-controls .desktop-toolbar-second #latest-volume{flex:0 0 auto}
  .reading-controls .mobile-tools-content>.toolbar-volume-links,.reading-controls .mobile-tools-content>.layout-controls{display:none}
  .reading-controls .ns-toggle{box-sizing:border-box;height:44px;min-height:44px;padding-block:2px}
}

/* Share uses Save All's treatment, in the computer/tablet toolbar only. */
@media(min-width:601px){
  .reading-controls #toolbar-share{flex:0 0 auto;white-space:nowrap;background:color-mix(in srgb,var(--accent) 20%,var(--surface));color:var(--fg);border-color:var(--accent)}
}

/* Mobile Save All and Share are matching, slightly wider buttons. */
@media(max-width:600px){
  .reading-controls .layout-controls #save-all,.reading-controls .layout-controls #toolbar-share{box-sizing:border-box;flex:0 1 86px;width:86px;min-width:78px;min-height:44px;font-size:14px;padding-inline:6px!important;white-space:nowrap}
  .reading-controls #toolbar-share{background:color-mix(in srgb,var(--accent) 20%,var(--surface));color:var(--fg);border-color:var(--accent)}
}

/* Center the edition credit across the footer on computer and tablet. */
@media(min-width:601px){
  .site-footer{display:grid;grid-template-columns:71px minmax(0,1fr) 71px;gap:0;padding-right:0}
  .site-footer .footer-copy{grid-column:2;text-align:center;color:var(--muted)}
  .site-footer .footer-phone{grid-column:3;justify-self:end;margin-right:21px}
}

/* Match the Volume Library content width and section-heading scale. */
@media (min-width: 601px) {
  body > .wrap { box-sizing: content-box; max-width: 1100px; padding-top: 26px; }
  .wrap .sec-head h2 { font-size: 25px; line-height: 1.3; }
}

/* Decorative category-headline flourish; no text reflow or mobile/export change. */
@media screen and (min-width: 601px) {
  html:not([data-screenshot]) .wrap section > .sec-head > h2::after {
    content: "";
    position: absolute;
    display: inline-block;
    width: .92em;
    height: .82em;
    margin-left: .34em;
    margin-top: .22em;
    background-color: var(--teal);
    -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 32 28'%3E%3Cpath d='M3 15 Q7 17 11 23 Q19 10 29 4' fill='none' stroke='black' stroke-width='3.2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / contain no-repeat;
    mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 32 28'%3E%3Cpath d='M3 15 Q7 17 11 23 Q19 10 29 4' fill='none' stroke='black' stroke-width='3.2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / contain no-repeat;
    pointer-events: none;
  }
}

/* Approved light-view button contrast; respect explicit and system theme. */
@media screen{
:root[data-theme="light"] .reading-controls :is(#subscribe-open,#hlf-view-switch,.newsletter-library-button,#latest-volume){background:#285c59;color:#fff;border-color:#285c59;animation:none}
:root[data-theme="light"] .reading-controls :is(#subscribe-open,#hlf-view-switch,.newsletter-library-button,#latest-volume):is(:hover,:focus-visible){background:#204b49;color:#fff;border-color:#204b49}
:root[data-theme="light"] .nicole-letter .letter-listen{background:#285c59;color:#fff;border-color:#285c59}
:root[data-theme="light"] .nicole-letter .letter-listen:is(:hover,:focus-visible){background:#204b49;color:#fff;border-color:#204b49}
:root[data-theme="light"] .wrap .card-actions .share-article{background:transparent;color:#285c59;border-color:#285c59}
:root[data-theme="light"] .wrap .card-actions .share-article:is(:hover,:focus-visible){background:#dceae6;color:#204b49;border-color:#204b49}
}
@media screen and (prefers-color-scheme:light){
:root:not([data-theme="dark"]) .reading-controls :is(#subscribe-open,#hlf-view-switch,.newsletter-library-button,#latest-volume){background:#285c59;color:#fff;border-color:#285c59;animation:none}
:root:not([data-theme="dark"]) .reading-controls :is(#subscribe-open,#hlf-view-switch,.newsletter-library-button,#latest-volume):is(:hover,:focus-visible){background:#204b49;color:#fff;border-color:#204b49}
:root:not([data-theme="dark"]) .nicole-letter .letter-listen{background:#285c59;color:#fff;border-color:#285c59}
:root:not([data-theme="dark"]) .nicole-letter .letter-listen:is(:hover,:focus-visible){background:#204b49;color:#fff;border-color:#204b49}
:root:not([data-theme="dark"]) .wrap .card-actions .share-article{background:transparent;color:#285c59;border-color:#285c59}
:root:not([data-theme="dark"]) .wrap .card-actions .share-article:is(:hover,:focus-visible){background:#dceae6;color:#204b49;border-color:#204b49}
}

/* Owner-approved design credit below the edition preparation line. */
.site-footer .site-design-credit{grid-column:1/-1;grid-row:2;flex:0 0 100%;box-sizing:border-box;width:100%;margin:8px 0 0;text-align:center;color:var(--muted);font-size:clamp(13px,1.2vw,15px);line-height:1.6}
.site-footer .site-design-credit a,.site-footer .site-design-credit a:visited{color:inherit;text-decoration:none;white-space:nowrap}
.site-footer .site-design-credit a:hover,.site-footer .site-design-credit a:focus-visible{color:var(--teal);text-decoration:underline;text-underline-offset:3px}
.site-footer .site-design-credit a:focus-visible{outline:2px solid var(--teal);outline-offset:3px;border-radius:2px}
@media(max-width:600px){.site-footer{flex-wrap:wrap}.site-footer .site-design-credit{order:3;font-size:13px}}

/* Footer refinement: no lower phone icon; separate white link underlines. */
body>.wrap .site-footer{display:block;text-align:center;padding-right:0}
body>.wrap .site-footer .footer-copy{display:block;text-align:center;color:#fff}
.site-footer .site-design-credit a,.site-footer .site-design-credit a:visited{display:inline-block;text-decoration-line:underline;text-decoration-color:#fff;text-decoration-thickness:1px;text-underline-offset:3px}
.site-footer .site-design-credit .credit-separator{display:inline-block;margin-inline:.12em}
@media screen{html:not([data-screenshot]) body>.wrap{padding-bottom:0}}

/* Final credit polish: one point smaller, continuous name underlines. */
.site-footer .site-design-credit{font-size:calc(clamp(13px,1.2vw,15px) - 1pt);font-style:normal}
.site-footer .site-design-credit a,.site-footer .site-design-credit a:visited,.site-footer .site-design-credit a:hover,.site-footer .site-design-credit a:focus-visible{text-decoration:none}
.site-footer .site-design-credit .credit-word{text-decoration-line:underline;text-decoration-skip-ink:none;text-decoration-color:var(--muted);text-decoration-thickness:1px;text-underline-offset:3px}
@media(max-width:600px){.site-footer .site-design-credit{font-size:calc(13px - 1pt)}}
@media screen {
  html[data-hlf-phone] .site-footer .site-design-credit {font-size:clamp(13px,1.2vw,15px);font-style:normal}
  html[data-hlf-phone] .site-footer .site-design-credit em {font-style:inherit}
}


/* Two-point increase, shared by current and future newsletter volumes. */
.licensed-states .states-head>span{font-size:calc(18px + 7pt)}
@media screen and (max-width:600px){
  html:not([data-screenshot]) .licensed-states{margin-inline:-6px;padding:10px 8px}
  html:not([data-screenshot]) .licensed-states .states-head{margin-bottom:5px}
  html:not([data-screenshot]) .licensed-states .states-head>span{font-size:clamp(14px,5.4vw,24px);line-height:1.2;white-space:nowrap}
}
@media screen{
  html[data-hlf-phone]:not([data-screenshot]) .licensed-states{margin-inline:-6px;padding:10px 8px}
  html[data-hlf-phone]:not([data-screenshot]) .licensed-states .states-head{margin-bottom:5px}
  html[data-hlf-phone]:not([data-screenshot]) .licensed-states .states-head>span{font-size:clamp(14px,5.4vw,24px);line-height:1.2;white-space:nowrap}
}

/* Phones in landscape: keep both bars in page flow so stories have reading room. */
@media(orientation:landscape){
 html[data-hlf-phone]{scroll-padding-top:12px}
 html[data-hlf-phone] .narration-word{scroll-margin-top:20px}
 html[data-hlf-phone] .reading-controls{position:relative!important;top:auto!important}
 html[data-hlf-phone] .player{position:relative!important;inset:auto!important;max-height:none!important;overflow:visible!important;margin-top:16px}
 html[data-hlf-phone] body{padding-bottom:max(8px,env(safe-area-inset-bottom))!important}
}

/* Phone landscape uses the phone toolbar order, never the tablet grid. */
@media(orientation:landscape) and (min-width:601px){
 html[data-hlf-phone] .reading-controls{display:block;padding:6px 0!important}
 html[data-hlf-phone] .mobile-tools-content{display:flex;flex-wrap:wrap;align-items:center;justify-content:flex-start;gap:8px}
 html[data-hlf-phone] .reading-controls .mobile-tools-content>.layout-controls,
 html[data-hlf-phone] .reading-controls .mobile-tools-content>.toolbar-volume-links{display:contents}
 html[data-hlf-phone] .mobile-tools-content .layout-controls>:not(#search){order:0}
 html[data-hlf-phone] .reading-controls .mobile-tools-content>.noteshield{order:-1;flex:1 0 100%;width:100%}
 html[data-hlf-phone] .reading-controls #subscribe-open{order:0;flex:1 0 100%;width:100%;min-width:0;margin:0 0 4px}
 html[data-hlf-phone] .reading-controls :is(#smaller,#larger,#theme,#saved,#attach-notes,#card-layout,#save-all,#latest-volume,#toolbar-share,.newsletter-library-button){box-sizing:border-box;flex:0 0 auto;width:auto;min-height:44px;margin:0;padding:8px 12px;line-height:1.25;white-space:nowrap;border-radius:999px}
 html[data-hlf-phone] .reading-controls :is(#smaller,#larger){width:44px;min-width:44px;height:44px;padding:0;display:inline-flex;align-items:center;justify-content:center}
 html[data-hlf-phone] .reading-controls .layout-controls #search{order:1;box-sizing:border-box;flex:1 0 100%;width:100%;min-width:0;height:44px;min-height:44px;margin:0;padding:10px 16px}
}

/* Phone card layout is selectable in landscape only. */
@media screen and (orientation:portrait){html[data-hlf-phone] .reading-controls #card-layout{display:none!important}}
/* The edition count/date is one point larger on computer and tablet. */
@media screen and (min-width:601px){html:not([data-hlf-phone]):not([data-screenshot]) #results.search-status{font-size:calc(17px + 1pt)}}

/* Expanded phone tools always scroll with the document, even with Notes closed. */
@media screen {
 html[data-hlf-phone] .reading-controls.mobile-tools-expanded{position:relative!important;top:auto!important}
 html[data-hlf-phone]:has(.reading-controls.mobile-tools-expanded){scroll-padding-top:12px}
 html[data-hlf-phone] .reading-controls.mobile-tools-expanded~* .narration-word{scroll-margin-top:20px}
}

/* Preserve button dimensions while a window or split-view narrows. Only rows reflow. */
@media screen and (min-width:601px){
 html:not([data-hlf-phone]) .reading-controls{container-type:inline-size;container-name:hlf-reader-toolbar}
 html:not([data-hlf-phone]) .reading-controls :is(.desktop-toolbar-top,.desktop-toolbar-second)>:not(#subscribe-open):not(#search){flex:0 0 auto;width:auto;white-space:nowrap}
 html:not([data-hlf-phone]) .reading-controls .desktop-toolbar-top :is(#smaller,#larger){min-width:44px}
 @container hlf-reader-toolbar (max-width:1050px){
  .reading-controls .desktop-toolbar-top #subscribe-open{flex:0 0 100%;width:100%;min-width:0}
 }
 @container hlf-reader-toolbar (max-width:720px){
  .reading-controls .desktop-toolbar-second #search{flex:0 0 100%;width:100%;min-width:0}
 }
}

/* All phone orientations/states: the complete tools/music area scrolls with the masthead. */
@media screen{
 html[data-hlf-phone] .reading-controls{position:relative!important;top:auto!important;bottom:auto!important}
 html[data-hlf-phone]{scroll-padding-top:12px}
 html[data-hlf-phone] .narration-word{scroll-margin-top:20px}
}

/* On phones, slide the entire listening footer away until the document top. */
@media screen {
 html[data-hlf-phone]:not([data-screenshot]) .player {
   position:fixed!important;inset:auto 0 0!important;margin-top:0!important;
   translate:0 0;transition:translate 220ms ease;
 }
 html[data-hlf-phone].hlf-phone-footer-away .player {
   translate:0 calc(100% + 24px);pointer-events:none;
 }
}
@media (prefers-reduced-motion:reduce) {
 html[data-hlf-phone] .player {transition:none!important}
}

/* iPhone-only page-top shortcut: centered below the credits, never floating. */
.iphone-footer-top {display:none}
@media screen {
 html[data-hlf-iphone]:not([data-screenshot]) .iphone-footer-top {
   position:static;width:max-content;max-width:100%;margin:24px auto;
   display:flex;align-items:center;justify-content:center;gap:0;min-height:48px;
   color:#fff;text-decoration:none;font:600 16px/1.2 var(--display,Arial,sans-serif);
 }
 .iphone-footer-top-circle {
   display:grid;place-items:center;box-sizing:border-box;width:48px;height:48px;
   border:1.5px solid #71999b;border-radius:50%;background:#3e6264;color:#fff;
   box-shadow:inset 0 1px 0 #ffffff26,0 2px 5px #0002;
 }
 .iphone-footer-top-circle svg {width:26px;height:26px;fill:none;stroke:currentColor;stroke-width:4;stroke-linecap:round;stroke-linejoin:round}
 .iphone-footer-top:focus-visible {outline:3px solid #83c6c7;outline-offset:5px;border-radius:24px}
}

@media screen {
 html[data-hlf-iphone] .site-footer {display:flex;flex-direction:column;align-items:center;gap:12px;padding-inline:0;text-align:center}
 html[data-hlf-iphone] .site-footer .footer-copy,
 html[data-hlf-iphone] .site-footer .site-design-credit {display:block;flex:none;width:100%;box-sizing:border-box;margin:0;text-align:center}
}

/* iPhone credits: introduction ends in by; names share the next centered row. */
@media screen {
 html[data-hlf-iphone] .site-design-credit .iphone-credit-intro {display:block}
 html[data-hlf-iphone] .site-design-credit .iphone-credit-names {display:flex;align-items:baseline;justify-content:center;flex-wrap:nowrap;white-space:nowrap}
 html[data-hlf-iphone] .iphone-credit-names a[href^="tel:"] {text-transform:uppercase}
}

/* Give the two iPhone credit links reliable, separate finger-sized targets. */
@media screen {
 html[data-hlf-iphone] .site-design-credit .iphone-credit-names a {
   display:inline-flex;align-items:center;justify-content:center;column-gap:.25em;box-sizing:border-box;
   min-height:44px;min-width:44px;padding-inline:6px;
   pointer-events:auto;cursor:pointer;touch-action:manipulation;
   -webkit-tap-highlight-color:rgba(145,197,198,.3);
 }
 html[data-hlf-iphone] .site-design-credit .iphone-credit-names a:first-of-type {padding-inline-end:0}
 html[data-hlf-iphone] .site-design-credit .iphone-credit-names a:last-of-type {padding-inline-start:0}
 html[data-hlf-iphone] .site-design-credit .iphone-credit-names .credit-separator {margin-inline:.25em}
 html[data-hlf-iphone] .iphone-credit-names a .credit-word {pointer-events:none}
}

/* Equal section links: full-width compact rows on phones; matched three-column buttons on larger screens. */
@media screen {
 html:not([data-screenshot]) .wrap .downloads:not(.nicole-resources):not(.refinance-resources) nav,
 html:not([data-screenshot]) .wrap .downloads.nicole-resources nav,
 html:not([data-screenshot]) .wrap .downloads.refinance-resources nav {
   display:grid;grid-template-columns:repeat(3,minmax(0,1fr));align-items:stretch;gap:12px
 }
 html:not([data-screenshot]) .wrap .downloads:not(.nicole-resources):not(.refinance-resources) nav .download-link,
 html:not([data-screenshot]) .wrap .downloads.nicole-resources nav .download-link,
 html:not([data-screenshot]) .wrap .downloads.refinance-resources nav .download-link {
   box-sizing:border-box;width:100%;max-width:100%;min-width:0;
   height:54px;min-height:54px;padding:10px 14px;gap:10px;
   line-height:1.2;white-space:normal
 }
}
@media screen and (max-width:600px) {
 html:not([data-screenshot]) .wrap .downloads:not(.nicole-resources):not(.refinance-resources) nav,
 html:not([data-screenshot]) .wrap .downloads.nicole-resources nav,
 html:not([data-screenshot]) .wrap .downloads.refinance-resources nav {
   grid-template-columns:minmax(0,1fr);gap:10px
 }
 html:not([data-screenshot]) .wrap .downloads:not(.nicole-resources):not(.refinance-resources) nav .download-link,
 html:not([data-screenshot]) .wrap .downloads.nicole-resources nav .download-link,
 html:not([data-screenshot]) .wrap .downloads.refinance-resources nav .download-link {
   height:auto;min-height:44px;padding:8px 12px;gap:10px;line-height:1.2
 }
}

/* Reduce the source labels and URLs on computers and tablets. */
@media (min-width:601px) {
  html:not([data-hlf-phone]):not([data-screenshot]) .wrap article .meta > span {
    font-size:calc(1em - 1pt);
  }
  html:not([data-hlf-phone]):not([data-screenshot]) .wrap article .meta > a {
    font-size:calc(1em - 3pt);
  }
}

.hlf-share-dialog {
 box-sizing:border-box;width:min(440px,calc(100% - 24px));max-height:calc(100dvh - 24px);
 overflow:auto;padding:16px;border:1px solid #7eb1af;border-radius:14px;
 background:#142221;color:#f5f1e8;font:16px/1.4 Arial,sans-serif;color-scheme:dark;
}
.hlf-share-dialog::backdrop{background:#0009}
.hlf-share-dialog header{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:12px}
.hlf-share-dialog h2{margin:0;color:inherit;font-size:22px}
.hlf-share-dialog [data-share-content]{display:grid;gap:8px}
.hlf-share-dialog :is(button,a,input){
 box-sizing:border-box;min-width:0;min-height:44px;padding:9px 13px;border:1px solid #7eb1af;border-radius:8px;
 background:#243c39;color:#f5f1e8;font:inherit;text-align:left;text-decoration:none;
}
.hlf-share-dialog :is(button,a){cursor:pointer}
.hlf-share-dialog :is(button,a,input):focus-visible{outline:2px solid #bce4df;outline-offset:2px}
.hlf-share-dialog [role="status"]{margin:0}
@media print{.hlf-share-dialog{display:none!important}}

@media screen {
 html[data-hlf-phone]:not([data-screenshot]) .reading-controls.mobile-tools-expanded > .music-tools-bar > .toolbar-music-wave {
  display: none !important;
 }
 html[data-hlf-phone]:not([data-screenshot]) .reading-controls :is(#attach-notes,#card-layout) {
  display: none !important;
 }
 html[data-hlf-phone]:not([data-screenshot]) .reading-controls .mobile-tools-content {justify-content:center}
 html[data-hlf-phone]:not([data-screenshot]) .reading-controls .mobile-tools-content > .noteshield {order:1}
 html[data-hlf-phone]:not([data-screenshot]) .reading-controls .hlf-phone-navigation {
  display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr) minmax(0,.75fr);
  flex:0 0 100%;align-items:stretch;gap:8px;order:2;
 }
 html[data-hlf-phone]:not([data-screenshot]) .reading-controls .hlf-phone-navigation > :is(a,button) {
  box-sizing:border-box;display:flex;align-items:center;justify-content:center;
  width:100%;min-width:0;padding-inline:4px;
  font-family:Arial,Helvetica,sans-serif;font-size:clamp(11px,3.25vw,14px);
  line-height:1.25;text-align:center;white-space:normal;
 }
 html[data-hlf-phone]:not([data-screenshot]) .reading-controls .layout-controls #search {order:3}
 html[data-hlf-phone]:not([data-screenshot]) .reading-controls #subscribe-open {order:4}
 html[data-hlf-phone]:not([data-screenshot]) .reading-controls .hlf-phone-saved {
  display:flex;flex:0 0 100%;justify-content:center;flex-wrap:wrap;gap:8px;order:5;
 }
 html[data-hlf-phone]:not([data-screenshot]) .reading-controls .mobile-tools-content > .hlf-toolbar-guide {
  box-sizing:border-box;display:inline-flex;align-items:center;justify-content:center;
  order:0;min-height:44px;padding:8px 12px;border-radius:999px;
  font:650 14px/1.25 Arial,Helvetica,sans-serif;white-space:nowrap;
 }
}
