/* Hoeken: figures, the geodriehoek and typed answers, on top of shared/styles.css and learn.css. */
.question { margin-bottom: 12px; }

.figure-box { margin: 0 0 16px; padding: 6px; border: 1px solid var(--line); border-radius: 18px; background: var(--white); }
.figure { display: block; width: 100%; max-width: 480px; max-height: 62vh; margin: 0 auto; touch-action: none; user-select: none; -webkit-user-select: none; }
.figure .stroke { stroke: var(--ink); stroke-width: 2.4; stroke-linecap: round; }
.figure .thin { stroke: var(--muted); stroke-width: 1.4; }
.figure .thin-dash { stroke: var(--muted); stroke-width: 2; stroke-dasharray: 5 5; }
.figure .fill-soft { fill: rgba(var(--accent-rgb), .06); stroke-linejoin: round; }
.figure .dot { fill: var(--ink); }
.figure .label { font: 700 16px system-ui, sans-serif; fill: var(--ink); font-style: italic; }
.figure .label.small { font-size: 13px; font-style: normal; }
.figure .arc { fill: none; stroke: var(--accent); stroke-width: 2; }
.figure .arc-2 { stroke: var(--gold); }
.figure .arc-3 { stroke: var(--green); }
.figure .circle { fill: none; stroke: var(--accent); stroke-width: 1.8; }
.figure .mine { stroke: var(--accent); stroke-width: 2.8; stroke-linecap: round; }
.figure .mine-dot { fill: var(--accent); }
.figure .good { stroke: var(--green); stroke-width: 3; stroke-dasharray: 7 6; stroke-linecap: round; }
.figure .good-mark { fill: none; stroke: var(--green); stroke-width: 2; }
.figure .grid-line { stroke: #e2dbcd; stroke-width: 1; fill: none; }
.figure .handle { fill: rgba(var(--accent-rgb), .25); stroke: var(--accent); stroke-width: 2.5; }
.figure .handle-hit { fill: transparent; }
.figure .handle-group { cursor: grab; }

.figure .geo-body { fill: rgba(150, 196, 238, .32); stroke: #3d74b0; stroke-width: 1.3; }
.figure .geo-band { fill: none; stroke: #e2b100; stroke-width: 9; opacity: .4; }
.figure .geo-ticks { stroke: #1d3b5e; stroke-width: .8; fill: none; }
.figure .geo-zero { stroke: #c0392b; stroke-width: 1.6; }
.figure .scale { font: 700 9px system-ui, sans-serif; fill: #1d3b5e; letter-spacing: -.7px; }
.figure .is-draggable { cursor: grab; }

.figure .clock-face { fill: var(--white); stroke: var(--ink); stroke-width: 2; }
.figure .clock-ticks { stroke: var(--ink); stroke-width: 1.4; }
.figure .clock-number { font: 600 15px system-ui, sans-serif; fill: var(--ink); }
.figure .hand { stroke: var(--ink); stroke-width: 3.5; stroke-linecap: round; }
.figure .hour-hand { stroke-width: 6; }

.answer-form { display: flex; gap: 10px; align-items: stretch; margin-bottom: 8px; }
.answer-row { flex: 1; display: flex; align-items: center; gap: 8px; }
#answer-input { flex: 1; width: 100%; min-height: 54px; padding: 12px 14px; border: 2px solid var(--line); border-radius: 12px; background: var(--white); color: var(--ink); font-size: 1.25rem; }
#answer-input:focus { outline: 3px solid var(--accent-soft); border-color: var(--accent); }
#answer-input[readonly] { background: var(--paper-deep); }
.answer-form .primary-button { width: auto; flex: 0 0 auto; padding-inline: 20px; }
.unit { font-size: 1.25rem; font-weight: 700; color: var(--muted); min-width: 1.2em; }
.answer-note { color: var(--red); }
.choice-row { grid-template-columns: repeat(auto-fit, minmax(120px, 1fr)); }

.written-feedback .solution { margin-top: 8px; color: var(--ink); }
.stars { color: var(--gold); letter-spacing: 1px; font-size: .95em; }
.stars span { color: var(--line); }
