.cv-scale-lab { margin: 2.5rem 0; padding: clamp(1rem,3vw,2rem); border: 2px solid var(--ink); border-radius: 17px; background: var(--white); color: var(--ink); min-width: 0; scroll-margin-top: 7rem; }
.article-body .cv-scale-lab h2 { margin: .35rem 0 1rem; font-size: clamp(1.5rem,4vw,2rem); line-height: 1.25; }
.article-body .cv-scale-lab h3 { margin: 0 0 .7rem; font-size: 1.2rem; line-height: 1.4; }
.article-body .cv-scale-lab p { font-size: 1rem; line-height: 1.65; }
.article-body .cv-scale-lab .cv-scale-kicker { margin: 0 0 .4rem; font-size: .8rem; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; color: var(--ink-2); }
.cv-scale-lab [hidden] { display: none !important; }
.cv-scale-controls { margin: 1.5rem 0; }
.cv-scale-controls fieldset { padding: 0; margin: 0; border: 0; min-width: 0; }
.cv-scale-controls legend { font-size: 1.05rem; font-weight: 800; padding: 0 0 .8rem; }
.cv-scale-fields { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 1rem; }
.cv-scale-controls label { display: flex; flex-direction: column; justify-content: space-between; font-size: 1rem; font-weight: 700; min-width: 0; }
.cv-scale-controls select { min-height: 48px; width: 100%; min-width: 0; font: inherit; color: var(--ink); background: #fff; border: 1px solid #678478; border-radius: 7px; margin-top: .5rem; padding: .6rem; }
.cv-scale-actions { display: flex; flex-wrap: wrap; gap: .7rem; margin-top: 1rem; }
.cv-scale-actions button { min-height: 48px; white-space: normal; font-size: .9375rem; }
.cv-scale-lab :disabled { opacity: .55; cursor: not-allowed; }
.cv-scale-lab :focus-visible { outline: 3px solid var(--ink); outline-offset: 4px; }
.article-body .cv-scale-lab .cv-scale-help { color: #42594e; font-size: .9375rem; margin: .7rem 0; }
.cv-scale-real { font-weight: 700; }
.cv-scale-preview { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: .65rem; }
.cv-scale-preview > div { display: flex; flex-direction: column; justify-content: space-between; min-width: 0; padding: .6rem .7rem; border-left: 3px solid var(--ink); background: #e8f0d3; }
.cv-scale-preview span { font-size: .875rem; }
.cv-scale-preview strong { font-size: 1.5rem; font-variant-numeric: tabular-nums; }
.cv-scale-conclusion { font-weight: 700; }
.article-body .cv-scale-lab .cv-scale-screen-note { border-left: 3px solid #a85924; padding: .65rem .9rem; background: #fff2e4; font-size: .9375rem; }
.cv-scale-cards { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 1.25rem; margin: 1.5rem 0; }
.cv-scale-card { min-width: 0; padding: 1.1rem; border: 1px solid #799489; border-radius: 10px; background: #fffef9; }
.article-body .cv-scale-card .cv-scale-ratio { font-size: 1.5rem; font-weight: 800; margin: 0 0 .6rem; }
.cv-scale-paper strong { white-space: nowrap; }
.cv-scale-diagram { margin: 1rem 0; }
.cv-scale-line { height: 23px; background: #edf0e5; }
.cv-scale-line span { display: block; height: 100%; border: 2px solid #3f5b50; background: #b8d94f; }
.cv-scale-card-selected .cv-scale-line span { background: repeating-linear-gradient(135deg,#ffc391 0,#ffc391 5px,#b86a2a 5px,#b86a2a 7px); }
.cv-scale-ticks { display: grid; grid-template-columns: repeat(20,minmax(0,1fr)); height: 12px; border-top: 1px solid #3f5b50; border-right: 1px solid #3f5b50; }
.cv-scale-ticks i { display: block; border-left: 1px solid #3f5b50; height: 6px; }
.cv-scale-ticks i:nth-child(5n+1) { height: 12px; }
.cv-scale-labels { position: relative; height: 24px; font-size: .8125rem; line-height: 24px; font-variant-numeric: tabular-nums; }
.cv-scale-labels span { position: absolute; left: 0; }
.cv-scale-labels span:nth-child(2) { left: 25%; transform: translateX(-50%); }
.cv-scale-labels span:nth-child(3) { left: 50%; transform: translateX(-50%); }
.cv-scale-labels span:nth-child(4) { left: 75%; transform: translateX(-50%); }
.cv-scale-labels span:last-child { left: 100%; transform: translateX(-100%); white-space: nowrap; }
.cv-scale-formula { padding: .65rem .75rem; border-left: 3px solid var(--ink); background: #f1f3e5; overflow-wrap: anywhere; font-variant-numeric: tabular-nums; }
.cv-scale-conversion { border-top: 1px solid var(--line-strong); padding-top: 1rem; }
.cv-scale-reason, .cv-scale-question details { border: 1px solid var(--line-strong); border-radius: 9px; background: var(--paper); margin-top: 1.5rem; }
.cv-scale-lab summary { min-height: 48px; padding: .85rem 1rem; font-size: 1rem; font-weight: 750; cursor: pointer; }
.cv-scale-lab details p { margin: .4rem 1rem 1rem; }
.cv-scale-question { border-top: 1px solid var(--line-strong); margin-top: 1.5rem; padding-top: 1.5rem; }
.cv-scale-question details { margin-top: .75rem; }
.cv-scale-error { border: 1px solid #9b281d; background: #fff0eb; color: #792116; padding: .8rem; }
.cv-scale-status { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
@media(max-width:760px) { .cv-scale-cards { grid-template-columns: minmax(0,1fr); } }
@media(max-width:620px) { .cv-scale-fields { grid-template-columns: minmax(0,1fr); } .cv-scale-actions { display: grid; grid-template-columns: minmax(0,1fr); } }
