/* Common STEP-column layout, isolated from app UI; artwork remains unmodified. */
.used-column {--used-green:#087f76;--used-red:#c81749;container-type:inline-size}
.used-column .red {color:var(--used-red)}
.used-column .green {color:var(--used-green)}
.used-column .used-opening-pair {display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:24px}
.used-column .used-en {font-size:22px;font-weight:700;line-height:1.65;overflow-wrap:anywhere}
.used-column .used-translation {font-size:16px}
.used-column .used-flow {display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:20px;margin:8px 0 26px}
.used-column .used-stage {position:relative;min-width:0;text-align:center}
.used-column .used-art {position:relative;overflow:hidden;width:100%;aspect-ratio:2/3}
.used-column .used-art img {position:absolute;display:block;width:300%;max-width:none;height:auto;top:0}
.used-column .used-new img {left:0}
.used-column .used-worn img {left:-100%}
.used-column .used-player img {left:-200%}
.used-column .used-stage:not(:last-child)::after {content:"\2192";position:absolute;right:-25px;top:36%;width:24px;font-size:27px;color:var(--used-green)}
.used-column .used-stage .used-stage-label {height:34px;margin:0;font-size:22px;font-weight:700;line-height:34px;color:var(--used-red)}
.used-column .used-stage h3 {font-size:18px;margin:12px 0 4px;text-wrap:balance}
.used-column .up-column-step-copy h3 {text-wrap:balance}
.used-column .used-note {font-size:14px;color:#586b66}
.used-column .used-reading {margin:24px 0;padding:20px 0;border-block:2px solid #d9e5e1}
.used-column .used-sentence {display:flex;flex-wrap:wrap;gap:12px 16px}
.used-column .used-part {display:flex;flex-direction:column;min-width:0;max-width:100%}
.used-column .used-part strong {font-size:22px;line-height:1.6;padding-bottom:7px;border-bottom:3px solid #81908a;overflow-wrap:anywhere}
.used-column .used-part .red {border-color:var(--used-red)}
.used-column .used-part .green {border-color:var(--used-green)}
.used-column .used-part small {font-size:13px;padding-top:7px}
.used-column .used-relation {margin:18px 0 0;font-size:17px;font-weight:700}
.used-column .used-target {border-left:3px solid var(--used-green);padding-left:16px;margin:22px 0}
.used-column .used-timeline {display:grid;grid-template-columns:1fr 1fr;margin:22px 0;gap:20px}
.used-column .used-time {padding:12px 0;border-top:3px solid var(--used-red)}
.used-column .used-time.used-now {border-color:var(--used-green)}
.used-column .used-time b,.used-column .used-time span {display:block}
.used-column .used-compare {width:100%;table-layout:fixed;border-collapse:collapse;margin:22px 0;text-align:left}
.used-column .used-compare th,.used-column .used-compare td {padding:14px 12px;border-bottom:1px solid #d9e5e1;vertical-align:top;overflow-wrap:anywhere}
.used-column .used-compare thead {background:#f3f7f5}
.used-column .used-compare th:first-child {width:20%}
.used-column .used-compare thead small {display:block;font-size:13px;font-weight:400;color:#586b66}
.used-column .used-closing {font-size:18px;font-weight:700;margin-top:26px}
.used-column .used-audio {margin:20px 0;border-top:1px solid #d9e5e1;padding-top:12px}
.used-column .used-audio .is-speaking {color:var(--used-red);font-weight:700}
.used-column .used-core-contrast {grid-template-columns:minmax(0,1fr) 30px minmax(0,1fr) 50px minmax(0,1fr);gap:0;max-width:460px;margin-inline:auto}
.used-column .used-core-contrast .used-stage::after {content:none}
.used-column .used-core-bridge {align-self:center;display:grid;text-align:center;color:var(--used-green);gap:4px}
.used-column .used-core-bridge span {font-size:10px;line-height:1.5;font-weight:700}
.used-column .used-core-bridge b {font-size:27px;line-height:1}
.used-column .used-core-contrast .used-stage .used-stage-label {font-size:clamp(10px,2.8cqi,20px);white-space:nowrap}
.used-column .used-state-diagram {display:grid;grid-template-columns:36px 36px minmax(90px,120px) minmax(0,1fr);align-items:center;gap:12px 10px;max-width:460px;margin:16px auto;padding:8px 0}
.used-column .used-state-subject {width:100%;text-align:center;justify-self:center}
.used-column .used-state-subject>b {display:block;font-size:32px;color:var(--used-green)}
.used-column .used-state-subject>span {font-size:14px}
.used-column .used-state-equals {text-align:center;color:var(--used-green)}
.used-column .used-state-equals b,.used-column .used-state-equals strong {display:block;font-size:20px}
.used-column .used-state-label {padding:8px 5px;border:2px solid var(--used-green);border-radius:8px;background:#edf5f1;text-align:center}
.used-column .used-state-label strong {display:block;font-size:23px;color:var(--used-red)}
.used-column .used-state-label>.used-art {max-width:72px;margin:4px auto 0}
.used-column .used-state-label b,.used-column .used-state-label small {display:block;margin-top:4px;font-size:12px;line-height:1.5;color:var(--used-green)}
.used-column .used-state-label small {font-size:11px;color:#586b66}
.used-column .used-state-target {min-width:0;justify-self:stretch;position:relative;text-align:center;padding:8px 0 8px 20px;color:var(--used-green)}
.used-column .used-state-target>b {display:block;font-size:18px;overflow-wrap:normal}
.used-column .used-state-connector {position:absolute;left:0;top:50%;width:16px;border-top:2px solid var(--used-green)}
.used-column .used-state-connector::after {content:"";position:absolute;right:0;top:-5px;width:7px;height:7px;border-top:2px solid var(--used-green);border-right:2px solid var(--used-green);transform:rotate(45deg)}
.used-column .used-state-target>span:last-child {display:block;margin-top:6px;font-size:14px}
.used-column .used-alarm {display:block;width:40px;height:35px;margin:8px auto;fill:none;stroke:var(--used-green);stroke-width:4;stroke-linecap:round}
.used-column .used-it-token {display:inline-block;padding:4px 10px;border:2px solid var(--used-green);border-radius:6px;font-size:18px;margin:6px auto}
.used-column .used-state-summary {grid-column:1/-1;text-align:center;font-size:14px;color:#586b66}
.used-column [data-speech-motion] {opacity:var(--speech-progress,1);transform:translateX(calc((1 - var(--speech-progress,1)) * 18px))}
.used-column .used-state-target[data-speech-motion] {transform:translateX(calc((1 - var(--speech-progress,1)) * 14px))}
@container (max-width:380px){
  .used-column .used-core-contrast {grid-template-columns:minmax(0,1fr) 24px minmax(0,1fr) 36px minmax(0,1fr);gap:0}
  .used-column .used-core-bridge span {font-size:9px}
  .used-column .used-state-diagram {grid-template-columns:22px 26px 78px minmax(0,1fr);gap:10px 4px}
  .used-column .used-state-label {padding:6px 3px}
  .used-column .used-state-label>.used-art {max-width:54px}
  .used-column .used-state-target>b {font-size:14px}
  .used-column .used-state-target>span:last-child {font-size:12px}
  .used-column .used-state-label b {font-size:12px}
}
.used-column .column-speech-controls {display:grid;gap:10px;margin-top:16px}
.used-column .column-speech-actions {display:flex;flex-wrap:wrap;gap:8px}
.used-column .column-speech-actions button {min-height:44px;border:1px solid #b8cfca;border-radius:8px;background:#fff;color:var(--used-green);padding:10px 14px;font-family:inherit;font-size:14px;font-weight:700;line-height:1.4;cursor:pointer}
.used-column .column-speech-actions [data-speech-play] {background:var(--used-green);border-color:var(--used-green);color:#fff}
.used-column .column-speech-seek {display:flex;gap:10px;align-items:center;font-size:12px}
.used-column .column-speech-seek input {min-width:0;flex:1;accent-color:var(--used-green)}
.used-column .column-speech-status {color:#586b66;font-size:12px;min-height:18px}
.used-column .column-speech-actions button:focus-visible,.used-column .column-speech-seek input:focus-visible {outline:2px solid var(--used-red);outline-offset:3px}
@container (max-width:600px){
  .used-column .used-opening-pair {grid-template-columns:1fr;gap:12px}
  .used-column .used-en,.used-column .used-part strong {font-size:20px}
  .used-column .used-compare th,.used-column .used-compare td {padding:12px 7px;font-size:14px}
  .used-column .used-compare,.used-column .used-compare tbody,.used-column .used-compare tr,.used-column .used-compare td,.used-column .used-compare th {display:block;width:100%}
  .used-column .used-compare thead {display:none}
  .used-column .used-compare tr {margin-bottom:20px}
  .used-column .used-compare th:first-child {width:100%;background:#f3f7f5}
  .used-column .used-compare td::before {content:attr(data-used-label);display:block;font-weight:700;color:var(--used-green);margin-bottom:6px}
  .used-column .used-compare td[data-used-label="used to / 動詞に意味を添える"]::before {color:var(--used-red)}
}
.used-column .column-reading-content {min-width:0;grid-column:1/-1}
.used-column .column-reading-content p {margin:0 0 16px;line-height:1.85}
.used-column .used-opening-pair {margin-bottom:24px}
.used-column .used-stage h3 {line-height:1.6}
@container (max-width:380px){
  .used-column .used-flow:not(.used-core-contrast) {gap:12px}
  .used-column .used-stage:not(:last-child)::after {right:-12px;width:12px;font-size:18px}
  .used-column .used-stage h3 {font-size:13px}
  .used-column .used-stage .used-stage-label {font-size:16px}
}

/* BEGIN APPROVED USED INTRO */
/* Candidate-only addition to the existing scoped USED column styles. */
.used-column .used-opening-pair {margin-bottom:0;gap:24px}
.used-column .used-opening-pair>div {min-width:0;padding:20px 16px;background:#f4f8f6;border-top:3px solid var(--used-green)}
.used-column .used-opening-pair>div+div {background:#fff5f8;border-color:var(--used-red)}
.used-column .used-opening-pair .used-translation {margin-bottom:0}
@container (max-width:540px) {
  .used-column .used-opening-pair {grid-template-columns:1fr;gap:16px}
}
/* END APPROVED USED INTRO */
