/* The front case reads in one order: dated result, doubt, answer, next step. */
.claim-question {
  box-sizing: border-box;
  min-width: 0;
  margin-top: 18px;
  padding: clamp(16px, 2.5vw, 27px);
  border: 2px solid #314b3d;
  border-radius: 9px;
  color: #243d33;
  background: #f4ecda;
  box-shadow: 5px 6px 0 #c9cab4;
  scroll-margin-top: 14px;
}
.claim-question * { box-sizing: border-box; }
.claim-question[data-answer="checked"] { border-color: #315943; background: #eaf0df; box-shadow: 5px 6px 0 #a7c0a0; }
.claim-question[data-answer="unchecked"] { border-color: #86533a; background: #f5e7d8; box-shadow: 5px 6px 0 #d3b59c; }
.claim-question[data-answer="unchecked"] .claim-question-file { border-color: #86533a; box-shadow: 3px 3px 0 #d3b59c; transform: rotate(5deg); }
.claim-question-heading { display: grid; grid-template-columns: 48px minmax(0, 1fr); align-items: start; gap: 14px; }
.claim-question-file { display: grid; width: 46px; height: 52px; place-items: center; border: 2px solid #314b3d; border-radius: 3px; background: #fffdf3; font: 900 1.25rem/1 ui-monospace, Menlo, monospace; transform: rotate(-5deg); box-shadow: 3px 3px 0 #acb9a0; }
.claim-question-kicker { margin: 0 0 5px; color: #855237; font: 850 .64rem/1.3 ui-monospace, Menlo, monospace; letter-spacing: .08em; }
.first-fix .claim-question h2 { max-width: none; margin: 0; font-size: clamp(1.35rem, 2.3vw, 2rem); line-height: 1.08; letter-spacing: -.04em; }
.claim-question-heading p:last-child { max-width: 65ch; margin: 6px 0 0; font-size: .82rem; line-height: 1.45; }
.claim-question-choices { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 11px; margin-top: 16px; }
.first-fix .claim-question-choices button {
  display: grid;
  width: 100%;
  min-width: 0;
  min-height: 102px;
  grid-template-columns: minmax(0, 1fr) auto;
  grid-template-rows: auto 1fr;
  align-items: end;
  gap: 8px;
  padding: 13px 15px;
  border: 2px solid #314b3d;
  border-radius: 5px;
  color: #243d33;
  background: #fffdf4;
  box-shadow: 3px 4px 0 #c3c7b2;
  text-align: left;
  transition: transform 160ms ease, box-shadow 160ms ease;
}
.claim-question-choices button span { grid-column: 1 / -1; color: #835637; font: 850 .63rem/1.3 ui-monospace, Menlo, monospace; letter-spacing: .07em; }
.claim-question-choices button strong { max-width: 40ch; font-size: clamp(.83rem, 1.2vw, 1rem); line-height: 1.3; }
.claim-question-choices button em { font-size: 1.2rem; font-style: normal; }
.first-fix .claim-question-choices button:hover { filter: none; transform: translateY(-3px) rotate(-.4deg); box-shadow: 4px 6px 0 #a6ad98; }
.first-fix .claim-question-choices button[aria-pressed="true"] { border-color: #235842; background: #dcebdd; box-shadow: 3px 4px 0 #8cae92; }
.first-fix .claim-question-choices #claim-question-reload[aria-pressed="true"] { border-color: #86533a; background: #f7e4d2; box-shadow: 3px 4px 0 #c7a88f; }
.claim-question-boundary { margin: 13px 0 0; color: #5d594f; font-size: .72rem; line-height: 1.45; }

.claim-question-return { position: relative; min-width: 0; margin-top: 18px; border: 2px solid #315943; border-radius: 5px; background: #fffdf4; box-shadow: 4px 5px 0 #aabda7; scroll-margin-top: 16px; }
.claim-question-return[data-answer="unchecked"] { border-color: #86533a; box-shadow: 4px 5px 0 #c9b4a3; }
.claim-question-return-top { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 8px; padding: 9px 15px; border-bottom: 2px dashed #aaa899; background: #e5eddf; font: 850 .63rem/1.3 ui-monospace, Menlo, monospace; letter-spacing: .06em; }
.claim-question-return[data-answer="unchecked"] .claim-question-return-top { background: #f3e2d4; }
.claim-question-return-top strong { display: inline-block; padding: 5px 7px; border: 2px double currentColor; color: #245943; background: #fffdf4; transform: rotate(-4deg); }
.claim-question-return[data-answer="unchecked"] .claim-question-return-top strong { color: #86533a; transform: rotate(4deg); }
.first-fix .claim-question-return h3 { max-width: 42ch; margin: 16px 17px 7px; font-size: clamp(1.18rem, 2vw, 1.65rem); line-height: 1.18; letter-spacing: -.035em; }
.claim-question-answer { max-width: 78ch; margin: 0 17px 13px; font-size: .84rem; line-height: 1.5; }
.claim-question-return-foot { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; padding: 0 17px 15px; }
.first-fix .claim-question-return-foot :is(a,button) { min-height: 42px; padding: 8px 11px; font-size: .72rem; }
.first-fix .claim-question-return-foot button { border-color: #315943; color: #315943; background: #fffdf4; }
.claim-question-next { display: flex; flex-wrap: wrap; align-items: center; gap: 7px 10px; margin: 0; padding: 11px 17px; border-top: 1px dashed #b4b8a5; background: #f5f5e9; font-size: .76rem; line-height: 1.4; }
.claim-question-return[data-answer="unchecked"] .claim-question-next { background: #f9eddf; }
.claim-question-next strong { color: #6b594b; font: 850 .61rem/1.3 ui-monospace, Menlo, monospace; letter-spacing: .06em; }
.claim-question-next span { flex: 1 1 24ch; }
.first-fix .claim-question-next a { min-height: 36px; padding: 6px 8px; border: 1px solid #315943; color: #315943; background: #fffdf4; font-size: .68rem; }
.claim-question-save { margin: 0; padding: 8px 17px 10px; border-top: 1px solid #d4d2c3; color: #555b4f; font-size: .7rem; line-height: 1.4; }

.public-proof-card { min-width: 0; margin: 13px 17px 12px; border: 2px solid #315943; background: #fff9e9; box-shadow: 3px 3px 0 #c7d4bb; scroll-margin-top: 16px; }
.public-proof-card[data-answer="unchecked"] { border-color: #86533a; box-shadow: 3px 3px 0 #e1c1a9; }
.public-proof-card[data-open="true"] { position: relative; background: #fffdf5; box-shadow: 5px 7px 0 #b9c9b1; }
.public-proof-card[data-answer="unchecked"][data-open="true"] { box-shadow: 5px 7px 0 #d6b8a2; }
.public-proof-card[data-open="true"]::before { content: ""; position: absolute; z-index: 1; top: 0; right: 0; width: 0; height: 0; border-top: 14px solid #fffdf5; border-left: 14px solid transparent; }
.public-proof-head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 7px; padding: 8px 11px; border-bottom: 2px solid currentColor; color: #315943; background: #e3eedc; font: 850 .63rem/1.3 ui-monospace, Menlo, monospace; letter-spacing: .06em; }
.public-proof-card[data-answer="unchecked"] .public-proof-head { color: #86533a; background: #f4e2d2; }
.public-proof-head strong { padding: 4px 6px; border: 2px double currentColor; background: #fffdf4; transform: rotate(-3deg); }
.public-proof-card[data-answer="unchecked"] .public-proof-head strong { transform: rotate(4deg); }
.first-fix .public-proof-card h4 { margin: 12px 12px 9px; font-size: clamp(1.1rem, 1.6vw, 1.45rem); line-height: 1.14; letter-spacing: -.035em; }
.public-proof-card .public-proof-preview { margin: 0 12px 12px; color: #5d594f; font-size: .75rem; line-height: 1.45; }
.public-proof-details { padding-bottom: 12px; animation: proof-folder-open 160ms ease-out both; }
@keyframes proof-folder-open { from { transform: translateY(-4px); } to { transform: translateY(0); } }
.public-proof-card dl { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); margin: 0 12px 11px; gap: 7px; }
.public-proof-card dl > div { min-width: 0; padding: 9px 10px; border: 1px solid #b4b8a5; background: #fffdf6; }
.public-proof-card dt { color: #6b594b; font: 850 .6rem/1.3 ui-monospace, Menlo, monospace; letter-spacing: .06em; text-transform: uppercase; }
.public-proof-card dd { margin: 5px 0 0; font-size: .75rem; line-height: 1.42; overflow-wrap: anywhere; }
.public-proof-details > p { margin: 0; padding: 8px 12px; border-top: 1px dashed #b4b8a5; color: #5d594f; font-size: .67rem; line-height: 1.4; }
.public-proof-url-label { display: block; margin: 7px 12px 4px; color: #6b594b; font: 850 .6rem/1.3 ui-monospace, Menlo, monospace; letter-spacing: .06em; text-transform: uppercase; }
.first-fix .public-proof-details input { display: block; width: calc(100% - 24px); min-height: 42px; margin: 0 12px; padding: 8px 10px; border: 1px solid #77917d; border-radius: 3px; color: #243d33; background: #fffdf6; font: 600 .72rem/1.35 ui-monospace, Menlo, monospace; text-overflow: ellipsis; }
.first-fix .public-proof-details input:focus-visible { outline: 3px solid #087d9a; outline-offset: 2px; }
.public-proof-share { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 12px; margin: 0 17px 14px; }
.first-fix .public-proof-share a { min-height: 42px; padding: 8px 11px; border-color: #315943; background: #315943; font-size: .73rem; }
.claim-question-return[data-answer="unchecked"] .public-proof-share a { border-color: #86533a; background: #86533a; }
.public-proof-share span { color: #5d594f; font-size: .7rem; line-height: 1.4; }
.first-fix .claim-question :is(button,a):focus-visible, .claim-question-return:focus-visible, .public-proof-card:focus-visible { outline: 3px solid #087d9a; outline-offset: 3px; }

.first-fix .first-fix-older { display: inline-flex; min-height: 40px; margin-left: 12px; padding: 5px 0; border: 0; color: #315943; background: transparent; font-size: .72rem; text-decoration: underline; }

@media (max-width: 700px) {
  .claim-question { margin-top: 16px; padding: 15px 13px; box-shadow: 3px 4px 0 #c9cab4; }
  .claim-question-heading { grid-template-columns: 34px minmax(0, 1fr); gap: 9px; }
  .claim-question-file { width: 32px; height: 38px; font-size: .9rem; }
  .claim-question-heading p:last-child { font-size: .76rem; }
  .claim-question-choices { grid-template-columns: minmax(0, 1fr); gap: 9px; }
  .first-fix .claim-question-choices button { min-height: 73px; padding: 10px 12px; }
  .claim-question-return-top { padding: 8px 11px; }
  .first-fix .claim-question-return h3 { margin: 13px 12px 6px; font-size: 1.18rem; }
  .claim-question-answer { margin: 0 12px 12px; font-size: .77rem; }
  .claim-question-return-foot { display: flex; padding: 0 12px 12px; }
  .claim-question-next { padding: 10px 12px; }
  .public-proof-card { margin: 12px 12px; }
  .public-proof-card dl { grid-template-columns: minmax(0, 1fr); gap: 0; }
  .public-proof-card dl > div + div { border-top: 0; }
  .public-proof-card dd { font-size: .75rem; }
  .public-proof-share { margin: 0 12px 12px; }
  .claim-question-save { padding: 8px 12px; }
  .first-fix .first-fix-older { margin-left: 0; margin-right: 12px; }
}
@media (prefers-reduced-motion: reduce) {
  .first-fix .claim-question-choices button { transition: none; }
  .first-fix .claim-question-choices button:hover { transform: none; }
  .public-proof-details { animation: none; }
}
