/* A small working page: the reader makes a choice before seeing the example. */
.judgment { max-width: none; background: #e5e2d9; }
.judgment-intro { display: flex; align-items: end; justify-content: space-between; gap: 36px; margin-bottom: 42px; }
.judgment-intro h2 { font-size: clamp(2.4rem, 4.2vw, 4.2rem); }
.judgment-intro > p { max-width: 28ch; margin: 0 0 4px; font-size: .95rem; }
.judgment-desk { display: grid; grid-template-columns: .9fr 1.1fr; background: #f7f4eb; box-shadow: 0 12px 28px #1734410c; border-radius: 2px; }
.judgment-brief { padding: clamp(28px, 4vw, 60px); border-right: 1px solid #d9d4c6; position: relative; isolation: isolate; }
.judgment-brief::before { content: ""; position: absolute; inset: 0; z-index: -1; background-image: var(--grain); opacity: .045; pointer-events: none; }
.judgment-label { font-size: .72rem; line-height: 1.6; color: #505c56; margin: 0 0 24px; }
.judgment-brief h3 { font-size: clamp(1.8rem, 2.7vw, 2.7rem); line-height: 1.14; letter-spacing: -.04em; }
.judgment-brief > p:not(.judgment-label):not(.judgment-margin) { font-size: .98rem; line-height: 1.8; max-width: 38ch; margin: 24px 0 0; }
.judgment-brief .judgment-margin { color: #9e3024; font: italic 1.25rem/1.5 Charter, Georgia, serif; transform: rotate(-3deg); margin: 36px 0 0; }
.judgment-work { padding: clamp(28px, 4vw, 60px); min-width: 0; }
.judgment fieldset { padding: 0; border: 0; margin: 0; min-width: 0; }
.judgment legend { padding: 0; font-weight: 600; font-size: 1.12rem; margin-bottom: 18px; }
.judgment-option { position: relative; display: flex; gap: 14px; padding: 18px 15px; border: 1px solid #c4c7bb; margin-bottom: 12px; cursor: pointer; border-radius: 2px; transition: background .15s, border-color .15s; }
.judgment-option:hover { background: #ecece1; border-color: #66776c; }
.judgment-option:has(:checked) { background: #e5e9dd; border-color: #294d45; box-shadow: inset 3px 0 #294d45; }
.judgment-option:focus-within { outline: 2px solid #9e3024; outline-offset: 3px; }
.judgment-option input { width: 18px; height: 18px; flex: 0 0 18px; margin: 3px 0 0; accent-color: #294d45; }
.judgment-option strong { display: block; font-size: .94rem; font-weight: 600; }
.judgment-option small { display: block; font-size: .8rem; line-height: 1.6; color: #48534d; margin-top: 4px; }
.judgment .judgment-reveal { width: 100%; margin-top: 12px; font-size: .84rem; padding: 16px 18px; justify-content: space-between; background: #173441; color: #fff; border: 1px solid #173441; }
.judgment .judgment-reveal:hover { background: #294d56; }
.judgment-caption { font-size: .72rem; color: #59645b; margin: 13px 0 0; }
#judgment-result-title { font-size: 1.65rem; }
#judgment-result-title:focus { outline: none; }
#judgment-result-title:focus-visible { outline: 2px solid #9e3024; outline-offset: 6px; }
.judgment-choice { font-size: .83rem; line-height: 1.7; margin: 14px 0 24px; }
.judgment-ai { border-left: 2px solid #9ba99d; padding-left: 20px; }
.judgment-ai .judgment-label { margin-bottom: 8px; font-size: .66rem; }
.judgment-ai blockquote { margin: 0; font: 1.1rem/1.65 Charter, Georgia, serif; color: #394c49; }
.judgment-reflection { margin-top: 27px; }
.judgment-reflection h4 { font-size: 1.1rem; color: #923023; margin: 0 0 10px; font-weight: 600; }
.judgment-reflection p { font-size: .86rem; line-height: 1.8; margin: 0; }
.judgment-reflection .judgment-takeaway { margin-top: 20px; }
.judgment-next { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 24px; margin-top: 24px; }
.judgment-next .text-link { font-size: .83rem; }
#judgment-reset { background: none; border: 0; border-bottom: 1px solid #8d978b; padding: 12px 0 6px; min-height: 44px; color: #46594f; font-size: .76rem; }
.pencil-mark { position: relative; display: inline-block; }
.pencil-stroke { position: absolute; width: 104%; height: 12px; bottom: -10px; left: -2%; overflow: visible; pointer-events: none; }
.pencil-stroke path { stroke: #a8382b; stroke-width: 1.9; stroke-linecap: round; fill: none; opacity: .85; }
.pencil-pending .pencil-stroke path { stroke-dasharray: 100; stroke-dashoffset: 100; }
.pencil-drawn .pencil-stroke path { animation: pencil-draw .9s ease-out both; }
@keyframes pencil-draw { from { stroke-dasharray: 100; stroke-dashoffset: 100; } to { stroke-dasharray: 100; stroke-dashoffset: 0; } }
@media (max-width: 850px) {
  .judgment-intro { display: block; }
  .judgment-intro > p { margin-top: 20px; max-width: 40ch; }
  .judgment-desk { grid-template-columns: 1fr; }
  .judgment-brief { border-right: 0; border-bottom: 1px solid #d9d4c6; }
  .judgment-brief > p:not(.judgment-label):not(.judgment-margin) { max-width: 58ch; }
}
@media (max-width: 700px) {
  .judgment-intro { margin-bottom: 28px; }
  .judgment-intro h2 { max-width: 12ch; }
  .judgment-brief, .judgment-work { padding: 28px 22px; }
  .judgment-brief h3 { font-size: 2rem; }
  .judgment-brief > p:not(.judgment-label):not(.judgment-margin) { font-size: .88rem; }
  .judgment-brief .judgment-margin { margin-top: 24px; font-size: 1.15rem; }
  .judgment-option { padding: 16px 12px; gap: 10px; }
  .judgment-option strong { font-size: .86rem; }
  .judgment-option small { font-size: .76rem; }
  .judgment .judgment-reveal { font-size: .76rem; padding: 16px 12px; gap: 10px; }
}
@media (prefers-reduced-motion: reduce) {
  .pencil-pending .pencil-stroke path { stroke-dashoffset: 0; }
  .pencil-drawn .pencil-stroke path { animation: none; }
}
