.tool {max-width: 48rem; padding: clamp(1rem, 4vw, 2rem)}
.tool [hidden] {display: none}
.tool h2 {margin-bottom: 1rem}
.tool label {display: grid; gap: .35rem; font-weight: 500}
.tool select, .tool input[type=text] {width: 100%; min-width: 0; min-height: 44px; padding: .55rem .75rem; font: inherit; font-size: 1rem; color: var(--text); background: var(--bg); border: 1px solid var(--text-3); border-radius: var(--radius)}
.tool-fields {display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 9rem), 1fr)); gap: .75rem; margin: 1rem 0}
.tool .tool-note, .tool .source-note p {margin: .85rem 0; font-size: .9rem; overflow-wrap: anywhere}
.tool .tool-note:empty {margin: 0}
.tool .marking {display: flex; align-items: center; gap: .65rem; margin: 1rem 0}
.tool-actions, .tool-meta {display: flex; align-items: center; flex-wrap: wrap; gap: .65rem}
.tool-meta {justify-content: space-between; font-family: var(--mono)}
.tool .question {font: clamp(1.5rem, 4vw, 2rem)/1.25 var(--serif); color: var(--text); min-height: 2.5em; margin: .75rem 0}
.tool-clock {font: 1.45rem/1.5 var(--mono); font-variant-numeric: tabular-nums; margin-bottom: .5rem}
.tool video {display: block; width: 100%; max-width: 32rem; aspect-ratio: 16 / 9; margin-bottom: 1rem; background: #191812}
.tool video.audio {height: 54px; aspect-ratio: auto}
.tool :focus-visible, .g-box summary:focus-visible {outline: 3px solid var(--accent-ink); outline-offset: 3px}
.tool .btn {min-height: 44px; white-space: normal}
.g-box details {border-top: 1px solid var(--border); padding: .8rem 0}
.g-box summary {font-weight: 500; cursor: pointer}
.g-box details p {margin-top: .5rem}
