/* One open paper file keeps the claim, limit, and sources together. */
.first-fix { margin-top: clamp(16px, 2vw, 28px); }
#real-change-lead { min-width: 0; }
.first-fix .first-fix-cover { display: block; }
.first-fix .first-fix-copy { padding: clamp(18px, 2.5vw, 31px); }
.first-fix #first-fix-title { max-width: 20ch; font-size: clamp(2.1rem, 3.6vw, 3.5rem); }
.first-fix .first-fix-change { max-width: 72ch; margin: 11px 0 0; }
.first-fix .first-fix-after { margin-top: 18px; padding: 0; border: 0; background: transparent; }
.first-fix .fix-investigation-panel { border-radius: 4px; box-shadow: 4px 5px 0 #c9cab4; }
.first-fix .fix-investigation-head { background: #e6ead9; }
.first-fix .fix-investigation-head span:first-child { max-width: 35ch; }
.first-fix .fix-investigation-stamp { padding: 5px 8px; border: 3px double #315943; font-size: .67rem; transform: rotate(-5deg); }
.first-fix .fix-investigation-panel h3 { padding-top: 13px; }
.first-fix .fix-investigation-finding { max-width: 78ch; padding-bottom: 13px; }
.first-fix .fix-investigation-evidence > div { padding-top: 10px; padding-bottom: 10px; }
.first-fix .fix-investigation-limit { border-left: 5px solid #9b5134; background: #fff4e5; }
.first-fix .fix-investigation-sources { padding-bottom: 13px; }
.first-fix .fix-investigation-sources a:first-child { color: #fffdf3; background: #315943; }
.first-fix .fix-investigation-sources a:last-child { color: #315943; background: #fffdf3; }
.first-fix-choice-label { margin-top: 20px; color: #625446; font: 850 .65rem/1.3 ui-monospace, Menlo, monospace; letter-spacing: .08em; }
.first-fix .first-fix-actions { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; margin-top: 9px; padding: 0; border: 0; }
.first-fix .first-fix-actions > button { min-height: 83px; padding: 13px 17px; font-size: .88rem; transition: transform 180ms ease, box-shadow 180ms ease; }
.first-fix .first-fix-actions > button:hover { transform: translateY(-3px) rotate(-.5deg); box-shadow: 4px 5px 0 #c5b694; }
.first-fix .first-fix-actions button span:first-child { display: grid; gap: 4px; }
.first-fix .first-fix-actions button small { font: 850 .63rem/1.3 ui-monospace, Menlo, monospace; letter-spacing: .07em; }
.first-fix #real-change-made-open { border-color: #9b5134; background: #9b5134; }
.first-fix .first-fix-proof-focus { min-height: 40px; margin-top: 9px; padding: 5px 0; border: 0; color: #315943; background: transparent; font-size: .72rem; text-decoration: underline; }
.first-fix .first-fix-proof-focus:hover { filter: none; }
.first-fix .first-fix-contact { display: inline-flex; min-height: 40px; margin-left: 12px; padding: 5px 0; border: 0; color: #315943; background: transparent; font-size: .72rem; text-decoration: underline; }

.invoice-case-file[hidden] { display: none !important; }
.real-change-next[hidden] { display: none !important; }
.real-change-next { box-sizing: border-box; grid-column: 1 / -1; display: grid; width: min(100%, 1230px); grid-template-columns: minmax(0, 1fr) minmax(0, 1.3fr); gap: 24px; margin: 20px auto 28px; padding: clamp(18px, 3vw, 30px); border: 2px solid #315943; border-radius: 10px; color: #243d33; background: #e7edde; }
.real-change-next > div { min-width: 0; }
.real-change-next p { margin: 0 0 7px; color: #356147; font: 850 .64rem/1.3 ui-monospace, Menlo, monospace; letter-spacing: .09em; }
.real-change-next h2 { margin: 0 0 8px; font-size: clamp(1.4rem, 2.2vw, 2.1rem); line-height: 1.1; letter-spacing: -.04em; }
.real-change-next span { font-size: .82rem; line-height: 1.5; }
.real-change-next-actions { display: grid; align-content: center; gap: 10px; }
.real-change-next :is(button,a) { min-height: 42px; padding: 9px 12px; border: 1px solid #315943; border-radius: 5px; color: #315943; background: #fffdf4; font: 750 .75rem/1.35 Inter, ui-sans-serif, sans-serif; text-align: left; text-decoration: none; cursor: pointer; }
.real-change-next #real-change-private-open { min-height: 50px; border-width: 2px; color: #fffdf4; background: #304967; }
.real-change-next .real-change-more { display: flex; flex-wrap: wrap; gap: 7px; padding: 0; border: 0; }
.real-change-next .real-change-more :is(button,a) { flex: 1 1 140px; }
.real-change-next :is(button,a):hover { filter: brightness(1.08); }
.real-change-next :is(button,a):focus-visible { outline: 3px solid #087d9a; outline-offset: 3px; }

@media (max-width: 800px) {
  .real-change-next { grid-template-columns: minmax(0, 1fr); gap: 18px; }
}
@media (max-width: 560px) {
  .first-fix { margin-top: 15px; }
  .first-fix .first-fix-copy { padding: 17px 14px; }
  .first-fix #first-fix-title { max-width: none; font-size: clamp(1.9rem, 8vw, 2.5rem); }
  .first-fix .first-fix-copy > p:not(.first-fix-kicker) { font-size: .81rem; }
  .first-fix .first-fix-after { margin-top: 13px; }
  .first-fix .fix-investigation-panel h3 { padding: 12px 13px 0; font-size: 1.2rem; }
  .first-fix .fix-investigation-finding { padding: 7px 13px 11px; font-size: .78rem; }
  .first-fix .fix-investigation-evidence > div { padding: 9px 13px; }
  .first-fix .fix-investigation-evidence p { margin-top: 4px; font-size: .72rem; }
  .first-fix .fix-investigation-limit { padding: 10px 13px; font-size: .73rem; }
  .first-fix .fix-investigation-sources { display: grid; padding: 10px 13px 13px; }
  .first-fix .fix-investigation-sources a { min-height: 42px; }
  .first-fix-choice-label { margin-top: 15px; }
  .first-fix .first-fix-actions { grid-template-columns: minmax(0, 1fr); }
  .first-fix .first-fix-actions > button { min-height: 65px; }
  .first-fix .first-fix-contact { margin-left: 0; }
  .real-change-next { margin: 18px auto; padding: 17px 15px; }
  .real-change-next .real-change-more { display: grid; }
}
@media (prefers-reduced-motion: reduce) {
  .first-fix .first-fix-actions > button { transition: none; }
  .first-fix .first-fix-actions > button:hover { transform: none; }
}
