/* 논술 */
.prompts { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 14px; }
.prompts .meta { display: flex; gap: 14px; flex-wrap: wrap; font-size: 13px; color: var(--ink-2); }
.prompts .foot { margin-top: auto; display: flex; justify-content: space-between; align-items: center; gap: 10px; flex-wrap: wrap; }
.prompts .row { gap: 8px; }
.essay-wrap { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr); gap: 16px; align-items: start; }
@media (max-width: 980px) { .essay-wrap { grid-template-columns: minmax(0, 1fr); } }
.essay-src { font-family: var(--f-serif); font-size: var(--fs-md); line-height: 1.8; }
.essay-src .src { margin-bottom: 16px; }
.essay-src .src b { font-family: var(--f-ui); font-size: 13px; color: var(--ink-3); }
.essay-q { font-family: var(--f-serif); font-weight: 700; font-size: 15.5px; line-height: 1.8; border: 1px solid var(--ink-3); padding: 12px 16px; margin-top: 8px; }
.paper { width: 100%; min-height: 440px; resize: vertical; border: 1px solid var(--rule); border-radius: var(--r); padding: 16px 18px; font-family: var(--f-serif); font-size: var(--fs-read); line-height: 2; background-color: var(--sheet); background-image: repeating-linear-gradient(to bottom, transparent 0, transparent calc(2em - 1px), var(--rule-2) calc(2em - 1px), var(--rule-2) 2em); background-attachment: local; background-position: 0 16px; transition: border-color var(--dur), box-shadow var(--dur); }
.paper:focus-visible { outline: none; border-color: var(--accent); box-shadow: 0 0 0 3px var(--accent-soft); }
.counter { display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; font-size: 13px; color: var(--ink-2); margin-top: 10px; }
.range { position: relative; height: 8px; border-radius: 4px; background: var(--rule-2); margin-top: 8px; }
.range .zone { position: absolute; top: 0; bottom: 0; background: var(--ok-soft); border-left: 2px solid var(--ok); border-right: 2px solid var(--ok); }
.range .fill { position: absolute; left: 0; top: 0; bottom: 0; background: var(--accent); border-radius: 4px; opacity: .8; transition: width 200ms var(--ease); }
.checks { display: flex; flex-direction: column; gap: 8px; margin-top: 18px; padding-top: 16px; border-top: 1px solid var(--rule-2); }
.checks label { display: flex; gap: 10px; align-items: flex-start; font-size: 14px; cursor: pointer; }
.checks input { margin-top: 4px; width: 16px; height: 16px; accent-color: var(--accent); }
.hist { display: flex; flex-direction: column; font-family: var(--f-ui); }
.hist details { border-top: 1px solid var(--rule-2); padding: 10px 0; }
.hist summary { cursor: pointer; display: flex; justify-content: space-between; gap: 10px; font-size: 14px; }
.hist pre { white-space: pre-wrap; font-family: var(--f-serif); font-size: 14.5px; line-height: 1.8; margin: 10px 0 0; }

.prompts .set { min-height: 190px; }
.essay-q { background: var(--sheet-2); border-color: var(--rule); border-left: 3px solid var(--essay); border-radius: 0 var(--r) var(--r) 0; }
