.claim-editor {
  --claim-ink: #27382f;
  box-sizing: border-box;
  grid-column: 1 / -1;
  width: min(100%, 1230px);
  min-width: 0;
  margin: 25px auto 18px;
  border: 2px solid var(--claim-ink);
  border-radius: 13px;
  color: var(--claim-ink);
  background: #f1e8d4;
  box-shadow: 8px 9px 0 #c7b596;
  font-family: Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  scroll-margin-top: 18px;
}
.claim-editor[hidden], .claim-editor [hidden] { display: none !important; }
.claim-editor *, .claim-editor *::before, .claim-editor *::after { box-sizing: border-box; }
.claim-editor :is(h2,h3,p,blockquote) { overflow-wrap: anywhere; }
.claim-editor-header { display: flex; align-items: start; justify-content: space-between; gap: 18px; padding: clamp(19px, 3vw, 36px); border-bottom: 2px solid var(--claim-ink); background: #f8f2e4; }
.claim-editor-kicker, .claim-editor-paper-head, .claim-editor-result-head, .claim-editor-proof-head, .claim-editor-footer { font: 850 .65rem/1.4 ui-monospace, "SFMono-Regular", Menlo, monospace; letter-spacing: .07em; }
.claim-editor-kicker { margin: 0 0 8px; color: #8f4439; }
.claim-editor h2 { max-width: 20ch; margin: 0; font-size: clamp(2.25rem, 4.4vw, 4.35rem); line-height: .98; letter-spacing: -.06em; }
.claim-editor-header p:last-child { max-width: 68ch; margin: 14px 0 0; font-size: .93rem; line-height: 1.55; }
.claim-editor-pencil { display: grid; flex: 0 0 75px; width: 75px; height: 75px; place-items: center; border: 2px solid #a54a3c; border-radius: 50%; color: #a54a3c; background: #fffaf0; font: 3.1rem/1 Georgia, serif; transform: rotate(-14deg); }
.claim-editor-layout { display: grid; grid-template-areas: "paper proof" "actions proof" "result proof"; grid-template-columns: minmax(0, 1.1fr) minmax(275px, .78fr); grid-template-rows: auto auto 1fr; align-items: stretch; }
.claim-editor-paper { position: relative; grid-area: paper; min-width: 0; margin: clamp(16px, 2.5vw, 30px) clamp(16px, 2.5vw, 30px) 0; padding: clamp(17px, 2.5vw, 28px); border: 2px solid #506153; background: #fffdf4; box-shadow: 5px 5px 0 #d3c8ac; }
.claim-editor-paper::before { position: absolute; top: -13px; left: 47%; width: 26px; height: 36px; border: 4px solid #a87d49; border-bottom: 0; border-radius: 16px 16px 0 0; content: ""; transform: rotate(11deg); }
.claim-editor-paper-head, .claim-editor-result-head, .claim-editor-proof-head { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 6px 15px; }
.claim-editor-paper-head { color: #8e493d; }
.claim-editor blockquote { margin: 24px 0 16px; font: 700 clamp(1.35rem, 2.4vw, 2.25rem)/1.18 Georgia, "Times New Roman", serif; letter-spacing: -.025em; }
.claim-editor-overreach { text-decoration-color: transparent; text-decoration-line: line-through; text-decoration-thickness: 3px; transition: text-decoration-color 180ms ease; }
.claim-editor[data-choice="publish"] .claim-editor-overreach,
.claim-editor[data-choice="narrow"] .claim-editor-overreach,
.claim-editor[data-choice="hold"] .claim-editor-overreach { text-decoration-color: #aa443b; }
.claim-editor-margin { max-width: 58ch; margin: 0; padding-left: 13px; border-left: 3px solid #a64b3d; color: #754538; font: italic .84rem/1.45 Georgia, serif; }
.claim-editor-actions { display: grid; grid-area: actions; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 9px; margin: 24px clamp(16px, 2.5vw, 30px) 17px; }
.claim-editor button, .claim-editor a { min-height: 48px; border: 2px solid var(--claim-ink); border-radius: 4px; font: 800 .87rem/1.3 Inter, ui-sans-serif, sans-serif; }
.claim-editor button { display: flex; min-width: 0; align-items: center; justify-content: space-between; gap: 6px; padding: 10px 13px; color: var(--claim-ink); background: #fffaf0; text-align: left; cursor: pointer; transition: transform 160ms ease, box-shadow 160ms ease, background 160ms ease; }
.claim-editor button:hover, .claim-editor button[aria-pressed="true"] { background: #e8d7b5; box-shadow: 3px 4px 0 #b4a081; transform: translateY(-2px); }
.claim-editor #claim-editor-publish[aria-pressed="true"] { border-color: #a6473c; color: #832f29; background: #f4d9ce; }
.claim-editor #claim-editor-narrow[aria-pressed="true"] { border-color: #2d654a; color: #23543c; background: #dfecd9; }
.claim-editor #claim-editor-hold[aria-pressed="true"] { border-color: #70604b; background: #e7e0d0; }
.claim-editor :is(button,a):focus-visible { outline: 3px solid #087d9a; outline-offset: 3px; }
.claim-editor-result { grid-area: result; min-width: 0; margin: 0 clamp(16px, 2.5vw, 30px) clamp(16px, 2.5vw, 30px); padding: 18px 20px 20px; border: 2px dashed #817e6e; background: #f8f4e9; }
.claim-editor-result-head { color: #725f4b; }
.claim-editor-stamp { display: inline-block; padding: 5px 9px; border: 2px solid currentColor; color: #716b5e; background: #fffaf0; font-size: .69rem; transform: rotate(-5deg); }
.claim-editor[data-choice="publish"] .claim-editor-stamp { color: #9e3f34; transform: rotate(8deg); }
.claim-editor[data-choice="narrow"] .claim-editor-stamp { color: #276043; transform: rotate(-8deg); }
.claim-editor[data-choice="hold"] .claim-editor-stamp { color: #6c5940; transform: rotate(3deg); }
.claim-editor-result h3 { margin: 14px 0 6px; font-size: clamp(1.3rem, 2vw, 1.75rem); line-height: 1.15; letter-spacing: -.035em; }
.claim-editor-result p { margin: 0; font-size: .88rem; line-height: 1.5; }
.claim-editor-result .claim-editor-revised-claim { margin-top: 13px; padding: 12px 14px; border-left: 4px solid #92836c; background: #fffdf4; font-weight: 650; }
.claim-editor-takeaway { margin-top: 14px; padding: 14px; border: 2px solid #42634c; border-radius: 7px; background: #fffdf4; }
.claim-editor-takeaway strong { display: block; margin-bottom: 6px; color: #315943; font: 850 .68rem/1.4 ui-monospace, Menlo, monospace; letter-spacing: .07em; text-transform: uppercase; }
.claim-editor-result .claim-editor-takeaway p { font-size: 1rem; font-weight: 650; }
.claim-editor #claim-editor-private-open { width: 100%; margin-top: 12px; color: #fffdf4; background: #315943; }
.claim-editor #claim-editor-private-open:hover { background: #3d7054; }
.claim-editor[data-choice="publish"] .claim-editor-result { border-color: #a6473c; background: #f6e3d7; }
.claim-editor[data-choice="narrow"] .claim-editor-result { border-color: #2d654a; background: #e6eee1; }
.claim-editor[data-choice="narrow"] .claim-editor-revised-claim { border-left-color: #2d654a; }
.claim-editor-proof { display: flex; grid-area: proof; min-width: 0; flex-direction: column; align-items: start; padding: clamp(20px, 3vw, 35px); border-left: 2px solid var(--claim-ink); background: #e4e9dc; }
.claim-editor-proof-head { width: 100%; color: #345843; }
.claim-editor-proof h3 { margin: 24px 0 12px; font-size: clamp(1.6rem, 2.5vw, 2.25rem); line-height: 1.05; letter-spacing: -.04em; }
.claim-editor-proof p { max-width: 48ch; margin: 0 0 15px; font-size: .87rem; line-height: 1.6; }
.claim-editor-proof-limit { padding: 13px 15px; border-left: 4px solid #a64b3d; background: #fff8e9; }
.claim-editor-proof-limit strong { display: block; margin-bottom: 4px; color: #8f4439; font: 850 .67rem/1.3 ui-monospace, Menlo, monospace; letter-spacing: .06em; text-transform: uppercase; }
.claim-editor #claim-editor-source { display: flex; width: 100%; align-items: center; justify-content: space-between; gap: 10px; margin-top: auto; padding: 10px 13px; color: #fffdf4; background: #2f5842; text-decoration: none; }
.claim-editor #claim-editor-source:hover { background: #3d7054; }
.claim-editor-footer { margin: 0; padding: 11px clamp(16px, 2.5vw, 30px); border-top: 2px solid var(--claim-ink); color: #684e3e; background: #f8f2e4; }
.claim-editor-footer a { min-height: 0; border: 0; color: #315943; font: inherit; text-decoration-thickness: 2px; text-underline-offset: 3px; }
@media (max-width: 760px) {
  .claim-editor { margin: 18px 0 15px; box-shadow: 5px 6px 0 #c7b596; }
  .claim-editor-header { padding: 19px 17px; }
  .claim-editor h2 { font-size: clamp(2rem, 8vw, 3.4rem); }
  .claim-editor-header p:last-child { font-size: .84rem; }
  .claim-editor-pencil { flex-basis: 50px; width: 50px; height: 50px; font-size: 2rem; }
  .claim-editor-layout { grid-template-areas: "paper" "proof" "actions" "result"; grid-template-columns: minmax(0, 1fr); grid-template-rows: auto; }
  .claim-editor-paper { margin: 19px 16px; }
  .claim-editor-proof { border-top: 2px solid var(--claim-ink); border-bottom: 2px solid var(--claim-ink); border-left: 0; padding: 20px 17px; }
  .claim-editor-actions { margin: 18px 16px 15px; }
  .claim-editor-result { margin: 0 16px 19px; }
  .claim-editor-proof h3 { margin-top: 14px; }
  .claim-editor #claim-editor-source { margin-top: 5px; }
}
@media (max-width: 430px) {
  .claim-editor-pencil { display: none; }
  .claim-editor-actions { gap: 5px; }
  .claim-editor button { min-height: 52px; flex-direction: column; align-items: start; justify-content: center; padding: 8px 9px; font-size: .77rem; }
  .claim-editor button span { font-size: 1rem; }
  .claim-editor-paper-head span:last-child { display: none; }
}
@media (prefers-reduced-motion: reduce) {
  .claim-editor *, .claim-editor *::before, .claim-editor *::after { transition: none !important; animation: none !important; }
}
