/* Local design review. Load after the current site stylesheet. */
.edition {
  --canvas: #f7f4ed;
  --paper: #fffdf8;
  --line: #d5ccbf;
  --blue: #344e62;
  --clay: #a24e3c;
  --olive: #425541;
  background: var(--canvas);
  color: var(--ink);
}
.edition .wrap { width: min(1140px, calc(100% - 80px)); }
.edition a { color: var(--blue); }
.edition :focus-visible { outline-color: var(--blue); }
.edition header.wrap {
  padding-block: 20px;
  border-block-width: 4px 1px;
  border-block-style: solid;
  border-block-color: var(--blue) var(--line);
}
.edition header nav a { color: var(--muted); font-weight: 550; }
.edition header nav a[aria-current] {
  color: var(--blue);
  font-weight: 650;
  text-decoration-thickness: 2px;
}
.edition .eyebrow { color: var(--clay); }
.edition .photo { border-radius: 0; }

.latest-stories { padding-block: var(--section-space) 0; }
.latest-stories .sectionhead {
  padding-block-end: 13px;
  border-bottom: 1px solid var(--line);
  margin-bottom: 21px;
}
.latest-stories .sectionhead a { flex: none; font-size: .95rem; font-weight: 650; }
.edition .card { min-width: 0; }
.edition .card h3 {
  font: var(--weight-card) var(--type-card)/1.25 var(--serif);
  letter-spacing: -.012em;
  margin-bottom: 8px;
}
.edition .card p { margin-bottom: 0; }
.edition .card .eyebrow { color: var(--clay); margin-bottom: 6px; line-height: 1.4; }
.edition .home-method {
  background: #e7e9de;
  border: 0;
  margin-block-start: var(--section-space);
}
.edition .home-method-copy { color: var(--olive); }
.edition .home-method-copy p:not(.eyebrow) { color: var(--muted); }
.edition .home-method-copy .eyebrow,
.edition .home-method a { color: var(--olive); }
.edition .home-method a:focus-visible { outline-color: var(--olive); }
.edition .home-method .method-shortcuts a { border-color: #899481; }
.edition .home-topics .hub-section-title h2::before {
  content: "";
  display: block;
  width: 34px;
  height: 3px;
  background: var(--clay);
  margin-bottom: 10px;
}
.edition .home-topics .topic-arrow { color: var(--clay); }
.edition .home-resources {
  background: #e1e8ec;
  border: 0;
  border-top: 3px solid var(--blue);
  margin-block-start: var(--section-space);
  padding: clamp(20px, 4vw, 40px);
}
.edition .home-resources h2 { color: var(--blue); }
.edition .rivo-footer { border-top: 1px solid var(--line); }

.story-opening {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.22fr);
  gap: clamp(24px, 4vw, 54px);
  align-items: center;
  padding: clamp(28px, 5vw, 60px) 0 26px;
  border-bottom: 1px solid var(--line);
}
.story-opening .pagehead { padding: 0; }
.story-opening h1 {
  font-size: clamp(2.125rem, 4.4vw, 3.75rem);
  text-wrap: balance;
}
.story-opening .intro { max-width: 46ch; }
.story-opening .muted { color: var(--meta); font-size: var(--type-meta); margin-bottom: 0; }
.edition .guidance-note {
  max-inline-size: 58ch;
  margin-block: .7rem;
  padding-inline-start: .75rem;
  border-inline-start: 2px solid var(--line);
  color: var(--muted);
  font-size: var(--type-meta);
  line-height: 1.55;
}
.guidance-note strong { color: var(--title); font-weight: 650; }
.story-opening .guidance-note { margin-block-end: 0; }
.story-opening .article-hero { margin: 0; align-self: center; }
.story-opening figcaption { margin-top: 11px; padding-left: 12px; border-left: 2px solid var(--clay); }
.reading-spread {
  display: grid;
  grid-template-columns: minmax(0, 190px) minmax(0, 690px);
  gap: clamp(26px, 5vw, 74px);
  align-items: start;
  margin-top: clamp(28px, 5vw, 52px);
}
.article-contents {
  display: block;
  position: sticky;
  top: 20px;
  padding-top: 14px;
  border-top: 2px solid var(--clay);
}
.article-contents h2 { margin: 0 0 10px; font: 550 1.15rem/1.3 var(--serif); }
.article-contents ol { margin: 0; padding-left: 1.4em; font-size: .9rem; }
.article-contents a { display: block; padding-block: 5px; text-decoration: underline; }
.edition .article-body {
  font: 400 clamp(1.025rem, 1.26vw, 1.125rem)/1.74 var(--sans);
  max-width: 100%;
}
.edition .article-body > p:first-child { font-size: 1.05em; line-height: 1.65; }
.edition .article-body h3 { font: 650 1.05rem/1.4 var(--sans); }
.edition .walking-example {
  margin: 1.4em 0;
  padding: 14px 18px;
  border-left: 3px solid var(--clay);
  background: #f0e5d8;
  font: 400 .95rem/1.6 var(--sans);
}
.edition .walking-example figcaption { color: #6f3d33; margin: 0 0 6px; font-size: 1rem; }
.edition .related-panel { background: #e1e8ec; border-top: 2px solid var(--blue); max-width: 690px; margin-left: calc(190px + clamp(26px, 5vw, 74px)); }

.trust-related {
  display: flex;
  align-items: baseline;
  flex-wrap: wrap;
  column-gap: clamp(24px, 4vw, 56px);
  margin-block: 1.75rem 0;
  padding-block-start: .75rem;
  border-block-start: 1px solid var(--line);
}
.trust-related h2 { margin: 0; font: 650 1rem/1.4 var(--sans); }
.trust-related ul {
  display: flex;
  flex-wrap: wrap;
  column-gap: 1.5rem;
  margin: 0;
  padding: 0;
  list-style: none;
}
.trust-related a {
  display: inline-grid;
  align-content: center;
  min-block-size: 44px;
  color: var(--blue);
  text-decoration: underline;
  text-underline-offset: .18em;
}
.trust-related a:is(:hover, :focus-visible) { text-decoration-thickness: .12em; }

@media (max-width: 600px) {
  .trust-related, .trust-related ul { display: grid; }
  .trust-related h2 { margin-block-end: .25rem; }
}

@media (max-width: 915px) {
  .edition .wrap { width: calc(100% - 52px); }
  .reading-spread { grid-template-columns: minmax(0, 150px) minmax(0, 1fr); }
  .edition .related-panel { margin-left: calc(150px + clamp(26px, 5vw, 74px)); }
}
@media (max-width: 690px) {
  .edition .wrap { width: calc(100% - 36px); }
  .edition header.wrap { padding-block: 14px; }
  .story-opening, .reading-spread { grid-template-columns: minmax(0, 1fr); }
  .story-opening h1 { max-width: 16ch; }
  .article-contents { position: static; }
  .article-contents a { padding-block: 8px; }
  .edition .related-panel { margin-left: 0; }
}

/* Design review variant. Uses the same local photos as the website. */
.scene-opening {
  display: grid;
  grid-template-columns: minmax(0, 1.17fr) minmax(0, 1fr);
  gap: clamp(20px, 4vw, 52px);
  align-items: stretch;
  margin-block: 26px 24px;
}
.scene-welcome {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-width: 0;
  background: #eee7da;
}
.scene-welcome-copy { padding: clamp(26px, 4vw, 53px) clamp(20px, 3vw, 38px) clamp(20px, 3vw, 33px); }
.scene-welcome h1 {
  text-wrap: balance;
}
.scene-welcome p { max-width: 44ch; margin: 0; color: var(--muted); }
.scene-entry-photo { display: block; width: 100%; height: auto; aspect-ratio: 1760/868; }
.scene-feature {
  --heading-color: #fff8ec;
  display: flex;
  flex-direction: column;
  min-width: 0;
  background: #8a4032;
  color: #fff8ec;
}
.scene-feature > img { height: auto; aspect-ratio: 16/9; }
.scene-feature-copy { padding: clamp(19px, 2.5vw, 33px); }
.edition .scene-feature-copy .eyebrow { color: #ffe1ca; margin-bottom: 9px; }
.scene-feature h2 { max-width: 20ch; margin-bottom: 11px; }
.scene-feature h2 a { text-decoration: none; }
.scene-feature h2 a:hover { text-decoration: underline; }
.scene-feature-copy > p:not(.eyebrow) { max-width: 42ch; margin-bottom: 12px; }
.edition .scene-feature a { color: inherit; }
.edition .scene-feature a:focus-visible,
.edition .scene-choices a:focus-visible { outline-color: #fff8ec; }
.scene-feature-link { display: inline-block; padding-block: 5px; font-weight: 700; }
.scene-feature-link span { margin-inline-start: .3em; }

nav.scene-choices {
  --heading-color: #fff8ec;
  display: grid;
  grid-template-columns: minmax(0, .84fr) minmax(0, 2.2fr);
  align-items: center;
  gap: 12px 30px;
  padding: 20px clamp(18px, 3vw, 36px);
  background: var(--blue);
  color: #fff8ec;
}
.scene-choices h2 { margin: 0; font-size: clamp(1.25rem, 2.1vw, 1.75rem); }
.scene-choices ul {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0 13px;
  list-style: none;
  padding: 0;
  margin: 0;
}
.scene-choices li { border-inline-start: 1px solid #99aebf; }
.edition .scene-choices a {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 8px;
  min-height: 44px;
  padding-inline: 13px 4px;
  color: #fff8ec;
  font-weight: 600;
  line-height: 1.35;
}
.scene-latest .sectionhead { margin-bottom: 0; }
.scene-latest-grid {
  display: grid;
  grid-template-columns: repeat(2,minmax(0, 1fr));
  gap: 0 clamp(24px, 5vw, 60px);
}
.scene-story {
  padding-block: 16px;
}
.scene-story:nth-child(n + 3) { border-block-start: 1px solid var(--line); }
.edition .scene-story-head {
  display: grid;
  grid-template-columns: clamp(76px, 28%, 144px) minmax(0, 1fr);
  align-items: center;
  gap: clamp(12px, 2vw, 18px);
  color: var(--title);
  text-decoration: none;
}
.edition .scene-story img { align-self: start; aspect-ratio: 4/3; margin: 0; }
.edition .scene-story h3 {
  margin: 0;
  text-wrap: balance;
}
.scene-story-head:is(:hover, :focus-visible) h3 {
  text-decoration: underline;
  text-underline-offset: .15em;
}
.scene-story-summary {
  margin-block-start: 10px;
  text-wrap: pretty;
}

.edition .scene-comparison {
  padding: 0;
  border: 0;
  background: transparent;
  scroll-margin-block: 1.2rem;
}
.edition .scene-comparison figcaption {
  margin: 0;
  padding: 14px 16px;
  border-block-start: 2px solid var(--clay);
  color: var(--ink);
  font: 500 1.3rem/1.35 var(--serif);
}
.scene-comparison ul {
  display: grid;
  grid-template-columns: repeat(2, minmax(0,1fr));
  gap: 2px;
  padding: 0;
  list-style: none;
}
.scene-comparison li { padding: 17px; background: #f0e1d7; }
.scene-comparison li + li { background: #e6ebdf; }
.scene-comparison li strong {
  display: block;
  color: #794135;
  margin-bottom: 4px;
  font-size: .79rem;
  text-transform: uppercase;
  letter-spacing: .08em;
}
.scene-comparison li + li strong { color: var(--olive); }
.scene-article .article-contents > p { margin: 10px 0 0; font-size: .9rem; }
.scene-worksheet {
  margin-inline-start: calc(190px + clamp(26px, 5vw, 74px));
  margin-top: 32px;
  max-width: 690px;
  padding: 20px 24px;
  background: #e1e8ec;
  border-top: 3px solid var(--blue);
}
.scene-worksheet h2 { font-size: 1.45rem; margin-bottom: 7px; }
.scene-worksheet p { margin-bottom: 9px; }

@media (max-width: 915px) {
  .scene-worksheet { margin-inline-start: calc(150px + clamp(26px, 5vw, 74px)); }
}
@media (max-width: 690px) {
  .scene-opening { grid-template-columns: minmax(0,1fr); margin-top: 18px; gap: 17px; }
  .scene-welcome { display: grid; grid-template-columns: 1fr; }
  .scene-welcome-copy { padding: 18px; }
  .scene-welcome h1 { font-size: clamp(1.9rem, 8vw, 2.65rem); margin-bottom: 8px; }
  .scene-welcome p { font-size: .94rem; }
  .scene-feature > img { aspect-ratio: 16/9; }
  nav.scene-choices, .scene-choices ul, .scene-latest-grid { grid-template-columns: minmax(0,1fr); }
  .scene-story:nth-child(2) { border-block-start: 1px solid var(--line); }
  .scene-choices li { border-inline-start: 0; border-top: 1px solid #99aebf; }
  .edition .scene-choices a { padding-inline: 0; }
  .scene-worksheet { margin-inline-start: 0; }
}
@media (max-width: 370px) {
  .scene-comparison ul {grid-template-columns: minmax(0,1fr); }
}

.edition .button, .edition button {
  color: var(--paper);
  background: var(--blue);
  border-color: var(--blue);
  border-radius: 2px;
}
.edition .button:hover, .edition button:hover { background: #253b4c; }
.edition button.secondary { color: var(--blue); background: var(--paper); }
.edition button.secondary:hover { color: var(--paper); background: var(--blue); }
.edition input[type=radio] { accent-color: var(--blue); }
.edition .discovery-controls { background: #e1e8ec; border-top: 3px solid var(--blue); }
.edition .discovery-side { border-top-color: var(--clay); }
.edition .entry-list .photo { border-radius: 0; }
.edition .search-hub .entry-list .listing { grid-template-columns: clamp(75px,11vw,144px) minmax(0,1fr); }
.edition .article-hub .result-copy h2 a { text-decoration: none; }
.edition .article-hub .result-copy h2 a:hover { text-decoration: underline; }
.edition .resource-feature-1 { background: #e1e8ec; border-top: 3px solid var(--blue); }
.edition .resource-feature-2 .resource-copy { border-top: 2px solid var(--clay); }
.edition .resource-feature-3 .resource-copy { border-top: 2px solid var(--olive); }
.edition .hub-crosslink { background: #e7e9de; }
.edition .method-intro .eyebrow, .edition .method-stage .eyebrow { color: var(--olive); }
.edition .cycle-map { margin-bottom: auto; }
.method-example { margin-top: 20px; max-width: 50ch; padding: 11px 0; border-block: 1px solid var(--line); }
.method-example summary { color: var(--olive); font-weight: 650; cursor: pointer; }
.method-example ol { padding-left: 1.45em; margin: 10px 0 0; font-size: .91rem; color: var(--muted); }
.method-example li + li { margin-top: 7px; }
.method-example a { font-weight: 650; }
.edition .method-stage:target { background: #e7e9de; }
.edition .method-stage:focus-visible { outline-color: var(--olive); }
.edition .tool { max-width: 760px; border-top: 3px solid var(--blue); border-radius: 0; }
.edition .tool .result { padding: 16px 18px; background: #e1e8ec; border-top: 2px solid var(--blue); }
.edition .tool .result p:last-child { margin-bottom: 0; }
.tool-help {
  max-inline-size: 64rem;
  margin-block: var(--section-space);
  padding-block-start: clamp(20px, 3vw, 36px);
  border-block-start: 1px solid var(--line);
}
.tool-help h2 { margin-block-end: 1.1rem; }
.tool-help h3 {
  margin-block: 0 .55rem;
  font: 600 1.05rem/1.4 var(--sans);
}
.tool-help p { max-inline-size: 66ch; }
.tool-help-columns {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(20px, 4vw, 54px);
}
.tool-help ol,
.tool-help ul {
  margin-block: 0 1rem;
  padding-inline-start: 1.35rem;
}
.tool-help li + li { margin-block-start: .5rem; }
.tool-help-example {
  margin-block: 1.15rem 1.35rem;
  padding-block-start: 1rem;
  border-block-start: 1px solid var(--line);
}
.tool-help-example p:last-child { margin-block-end: 0; }
.tool-help-faq { min-inline-size: 0; }
.tool-help-faq details {
  max-inline-size: 68ch;
  border-block-end: 1px solid var(--line);
}
.tool-help-faq summary {
  display: flex;
  align-items: baseline;
  gap: .35rem;
  min-block-size: 44px;
  padding-block: .6rem;
  color: var(--blue);
  font-weight: 600;
  cursor: pointer;
}
.tool-help-faq summary::before { margin-inline-end: 0; }
.tool-help-faq details p { margin-block: 0 .8rem; padding-inline-start: 1.35rem; }
.tool-help-links,
.tool-help-feedback { margin-block-start: 1.35rem; }
.tool-help-feedback {
  padding: .9rem 1rem;
  border-inline-start: 2px solid var(--blue);
  background: var(--paper);
}
.tool-help-feedback p { margin-block-end: 0; }

@media (max-width: 700px) {
  .tool-help-columns { grid-template-columns: minmax(0, 1fr); }
  .tool-help-steps p:last-child { margin-block-end: 0; }
}

.edition-tool .table-wrap { border-top: 3px solid var(--blue); }
.edition-tool th { background: #e1e8ec; }
.edition .story-opening-wide { display: block; }
.story-opening-wide .pagehead { margin-bottom: 22px; }
.story-opening-wide h1 { max-width: 25ch; }
.story-opening-wide .article-hero { max-width: 955px; }
.edition-article .article-body h2:target { text-decoration: underline solid var(--clay) .09em; text-underline-offset: .15em; }
@media print {
 .edition { background: white; }
 .edition .wrap { width: 100%; }
 .edition-tool .related-panel { display: none; }
 .tool-help { display: none; }
 .edition-tool .table-wrap { overflow: visible; }
 .edition-tool table, .edition-tool tr { break-inside: avoid; }
}

@media screen and (min-width: 850px) {
  .edition .tool {
    display: grid;
    grid-template-columns: minmax(0, 1.45fr) minmax(0, 1fr);
    gap: 28px;
    align-items: start;
    max-width: 100%;
    padding: 24px 28px;
  }
  .edition .tool .result {
    position: sticky;
    top: 20px;
    margin-top: 0;
  }
}


/* Search and return-cost worksheet */
@media (min-width: 1000px) {
  .search-hub .filters {
    grid-template-columns: minmax(0, 1.35fr) minmax(0, 1fr) minmax(0, .68fr) auto;
  }
}
.search-results-shell { max-width: 820px; }
.search-hub .entry-list .utility-result {
  display: block;
  border-inline-start: 3px solid var(--blue);
  padding-inline: 14px;
  background: #e9edf0;
}
.search-help {
  padding: 12px 14px;
  background: #e1e8ec;
  line-height: 1.8;
}
.result-action a { font-weight: 650; }

.worksheet { max-width: 920px; }
.worksheet-note { color: var(--muted); }
.worksheet-context, .worksheet-spots {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px 24px;
}
.worksheet-spot, .worksheet-trial {
  min-width: 0;
  padding: 16px 18px;
  border: 1px solid var(--line);
  border-top: 2px solid var(--blue);
  background: var(--paper);
}
.worksheet-spot legend, .worksheet-trial legend {
  padding-inline: 4px;
  color: var(--blue);
}
.worksheet .field small { font-size: .84rem; color: var(--muted); font-weight: 400; }
.worksheet textarea {
  width: 100%;
  min-height: 3.75em;
  font: inherit;
  color: var(--ink);
  background: var(--paper);
  border: 1px solid #929687;
  border-radius: 4px;
  padding: 8px 10px;
  resize: vertical;
}
.worksheet-print { display: none; }
@media (max-width: 640px) {
  .worksheet-context, .worksheet-spots { grid-template-columns: minmax(0, 1fr); gap: 10px; }
  .worksheet .actions { align-items: start; }
}
@media print {
  .worksheet.printing { display: none; }
  .worksheet-print:not([hidden]) { display: block; }
  .worksheet-print section { break-inside: avoid; margin-block: 0 12pt; }
  .worksheet-print h2 { font-size: 13pt; margin-block: 0 5pt; }
  .worksheet-print p { margin-block: 0 3pt; white-space: pre-wrap; overflow-wrap: anywhere; }
}



.return-trial { margin-block: 24px; }
.return-trial h2 { margin-bottom: 9px; }
.observation-fields details { border-top: 1px solid var(--line); padding-block: 12px; }
.observation-fields summary { color: var(--blue); font-weight: 650; cursor: pointer; overflow-wrap: anywhere; }
.trial-legend { font-size: 1rem; }
.observation-row {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px 18px;
  margin: 9px 0;
  padding: 8px 12px 12px;
  border: 1px solid var(--line);
  background: var(--paper);
}
.observation-row legend { padding-inline: 5px; margin: 0; color: var(--blue); }
.observation-row label { min-width: 0; font-size: .88rem; }
.observation-row select { display: block; font-size: 1rem; }
.observation-fields:disabled { opacity: .72; }
.trial-result, .worksheet-save {
  margin-block: 15px;
  padding: 15px 18px;
  border-top: 2px solid var(--blue);
  background: #e1e8ec;
}
.trial-result p, .worksheet-save p { margin-bottom: .6em; }
.trial-result p:last-child, .worksheet-save [data-save-status] { margin-bottom: 0; }
.worksheet-save { background: var(--paper); }
.worksheet-save .actions { margin-bottom: .65em; }
[data-trial-setup] { overflow-wrap: anywhere; }
@media (max-width: 420px) {
  .observation-row { grid-template-columns: minmax(0, 1fr); }
}


.tool-plan {
  margin-top: 18px;
  padding-top: 15px;
  border-top: 1px solid var(--line);
}
.tool-plan h3 { margin-bottom: 8px; }
.tool-plan ol { padding-inline-start: 1.3em; margin-block: 0 12px; }
.tool-plan li + li { margin-top: 6px; }
.tool-plan .actions { margin-bottom: 0; }
.edition .tool input[type=checkbox] { accent-color: var(--blue); }
.tool [data-result-title] { scroll-margin-block: 24px; }


.practical-tool {
  margin-block: 14px;
  padding: 12px 0;
  border-block: 1px solid var(--line);
}
.practical-tool summary { color: var(--blue); font-weight: 650; cursor: pointer; }
.practical-tool[open] summary { margin-bottom: 12px; }
.practical-tool textarea {
  width: 100%;
  resize: vertical;
  padding: 8px;
  color: var(--ink);
  background: var(--paper);
  border: 1px solid #929687;
  border-radius: 4px;
  font: inherit;
  overflow-wrap: anywhere;
}
.practical-options { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px 16px; }
.practical-options fieldset { min-width: 0; }
#trial-setup { scroll-margin-block: 1rem; }
@media (max-width: 480px) {
  .practical-options { grid-template-columns: minmax(0, 1fr); }
}



/* Keep or Release: the recommendation stays compact, with room below to compare. */
.keep-tool > .tool-inputs,
.keep-tool > .result { min-width: 0; }
.keep-tool .keep-questions {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px 16px;
  margin-block: 16px;
}
.keep-tool .keep-questions fieldset { min-width: 0; margin: 0; padding-block: 8px; border-top: 1px solid var(--line); }
.keep-tool .choices { gap: 3px 14px; }
.keep-tool .choices label { min-height: 40px; cursor: pointer; }
.keep-tool .choices input { flex: none; }
.keep-tool .keep-checks .choices { display: grid; gap: 0; }
.keep-tool .keep-checks .muted { margin-block: 0 3px; }
.keep-tool .keep-compare-link { margin-block: 14px 0; }
.keep-tool [data-decision-date] input { min-height: 44px; }
.keep-tool [data-decision-action] input, [data-trial-next] { min-height: 44px; }
[data-trial-next]:not([hidden]) { margin-block: 0 .75rem; }
.keep-tool .keep-compare-link a { display: inline-block; padding-block: 6px; font-weight: 650; }
.keep-tool > [data-keep-comparison] {
  margin: 6px 0 0;
  padding: 14px clamp(12px, 2.4vw, 24px);
  border: 1px solid var(--line);
  border-top: 2px solid var(--blue);
  background: var(--paper);
}
.keep-tool > [data-keep-comparison] .practical-options { gap: 12px 22px; }
.keep-tool .practical-options fieldset { margin: 0; padding: 12px; border: 1px solid var(--line); }
.keep-tool .practical-options legend { padding-inline: 6px; color: var(--blue); }
.keep-tool .practical-options textarea { min-height: 68px; }
.keep-tool .keep-compare-meta {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, .65fr);
  gap: 12px 22px;
  margin-top: 12px;
}
.keep-tool .keep-export { margin: 16px 0 0; }
@media screen and (min-width: 850px) {
  .edition .keep-tool { grid-template-columns: minmax(0, 1.45fr) minmax(0, 1fr); }
  .edition .keep-tool > .result { position: static; }
  .keep-tool > [data-keep-comparison], .keep-tool .keep-export { grid-column: 1 / -1; }
  .keep-tool .keep-export { margin: 0; }
}
@media (max-width: 610px) {
  .keep-tool .keep-questions, .keep-tool .keep-compare-meta,
  .keep-tool > [data-keep-comparison] .practical-options { grid-template-columns: minmax(0, 1fr); }
}

.resource-grid-loan { grid-column: 1 / -1; display: flex; align-items: center; justify-content: space-between; gap: 1rem 2rem; flex-wrap: wrap; padding: 1rem 1.25rem; border-left: 3px solid var(--blue); background: #e1e8ec; }
.resource-grid-loan h2 { margin: 0; }
.resource-grid-loan p { margin: .35rem 0 0; }
.resource-grid-loan .button { min-height: 44px; display: inline-flex; align-items: center; gap: .4rem; }
@media (min-width: 761px) {
  .resource-grid:has(.restock-feature) .resource-grid-loan { grid-column: auto; align-content: start; }
}
