.lq-quiz { max-width: 720px; margin: 2rem auto; padding: 1.25rem; border: 1px solid #e2e2e2; border-radius: 12px; background: #fff; color: #222; font-size: 1rem; line-height: 1.5; box-sizing: border-box; }
.lq-quiz * { box-sizing: border-box; }
.lq-progress { height: 6px; background: #eee; border-radius: 99px; overflow: hidden; margin-bottom: 8px; }
.lq-progress > div { height: 100%; background: #2d6a4f; transition: width .3s; }
.lq-count { display: flex; justify-content: space-between; gap: 8px; font-size: .85rem; color: #777; margin-bottom: 12px; }
.lq-prompt { font-weight: 600; margin-bottom: 12px; }

/* Zoom / pan */
.lq-viewer { position: relative; display: block; width: fit-content; max-width: 100%; margin: 0 auto 14px; overflow: hidden; border: 1px solid #ddd; border-radius: 8px; background: #faf7f0; cursor: zoom-in; touch-action: pan-y; user-select: none; -webkit-user-select: none; }
.lq-viewer.zoomed { cursor: grab; }
.lq-viewer.drag { cursor: grabbing; }
.lq-viewer img { display: block; max-width: 100%; max-height: 480px; width: auto; height: auto; transform-origin: 0 0; will-change: transform; pointer-events: none; }
.lq-vctl { position: absolute; top: 8px; right: 8px; display: flex; gap: 4px; }
.lq-vctl button { width: 32px; height: 32px; padding: 0; border: 0; border-radius: 6px; background: rgba(0,0,0,.6); color: #fff; font-size: 18px; line-height: 1; cursor: pointer; }
.lq-vctl button:hover { background: rgba(0,0,0,.8); }
.lq-vhint { position: absolute; left: 8px; bottom: 8px; padding: 2px 8px; border-radius: 6px; background: rgba(0,0,0,.55); color: #fff; font-size: .72rem; pointer-events: none; opacity: .9; }
.lq-viewer.zoomed .lq-vhint { display: none; }

.lq-input { width: 100%; padding: 10px 12px; font-size: 1.2rem; border: 2px solid #ccc; border-radius: 8px; resize: vertical; font-family: inherit; }
.lq-input:focus { outline: none; border-color: #2d6a4f; }
.lq-input.ok { border-color: #2d6a4f; background: #f0faf4; }
.lq-input.bad { border-color: #c0392b; }

/* Πληκτρολόγιο */
.lq-kb { margin-top: 8px; padding: 8px; border: 1px solid #ddd; border-radius: 8px; background: #f7f7f7; }
.lq-kb[hidden] { display: none; }
.lq-kb-row { display: flex; flex-wrap: wrap; gap: 4px; margin-bottom: 4px; }
.lq-kb-row:last-child { margin-bottom: 0; }
.lq-key { min-width: 34px; height: 38px; padding: 0 8px; border: 1px solid #ccc; border-radius: 6px; background: #fff; color: #222; font-size: 1.15rem; line-height: 1; cursor: pointer; font-family: inherit; }
.lq-key:hover { border-color: #2d6a4f; background: #f0faf4; }
.lq-key:active { background: #d8f0e2; }
.lq-mark { background: #fff8e1; }
.lq-wide { min-width: 56px; }
.lq-key.on { background: #2d6a4f; color: #fff; border-color: #2d6a4f; }
.lq-kb-btn.on { background: #d8f0e2; }

.lq-choices { display: grid; gap: 8px; }
.lq-choice { text-align: left; padding: 10px 14px; font-size: 1rem; border: 2px solid #ccc; border-radius: 8px; background: #fff; cursor: pointer; color: inherit; }
.lq-choice:hover:not(:disabled) { border-color: #2d6a4f; }
.lq-choice.ok { border-color: #2d6a4f; background: #f0faf4; }
.lq-choice.bad { border-color: #c0392b; background: #fdf1ef; opacity: .8; }
.lq-actions { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 12px; }
.lq-btn { display: inline-block; padding: 9px 18px; border: 0; border-radius: 8px; background: #2d6a4f; color: #fff; font-size: 1rem; cursor: pointer; text-decoration: none; }
.lq-btn:disabled { opacity: .5; cursor: default; }
.lq-btn[hidden] { display: none; }
.lq-ghost { background: #eee; color: #333; }
.lq-hint { margin-top: 10px; padding: 8px 12px; background: #fff8e1; border-left: 4px solid #f1c40f; border-radius: 4px; }
.lq-hint[hidden] { display: none; }
.lq-feedback { margin-top: 12px; font-weight: 600; }
.lq-feedback.ok { color: #2d6a4f; }
.lq-feedback.bad { color: #c0392b; }
.lq-expl { margin-top: 8px; font-weight: 400; color: #333; }
.lq-solution { font-size: 1.15rem; }
.lq-result { text-align: center; padding: 1rem 0; }
.lq-score { font-size: 2.2rem; font-weight: 700; margin: .25rem 0; color: #2d6a4f; }
.lq-login { font-size: .9rem; color: #555; }
.lq-result .lq-actions { justify-content: center; }
.lq-done { color: #2d6a4f; font-size: .9em; margin-left: 6px; }
