.hq-shell{padding-top:28px;padding-bottom:40px}.hq-beta{font:700 12px Arial;background:#77313c;padding:6px 9px;border-radius:5px;vertical-align:middle}.hq-notice{border-left:3px solid #fc9997;padding:12px 18px;background:#211b23}.hq-card{padding:24px;background:#1b1821;border:1px solid #413341;border-radius:12px;margin:24px 0}.hq-card label{display:block;margin:12px 0}.hq-card textarea,.hq-card input[type=text],.hq-card select{display:block;width:100%;box-sizing:border-box;padding:12px;background:#101014;color:#eee;border:1px solid #665563;border-radius:6px;font:inherit}.hq-card input[type=radio],.hq-card input[type=checkbox]{width:auto;accent-color:#fc9997}.hq-button{display:inline-block;padding:12px 20px;background:#ad2842;color:white;border:1px solid #d1586d;border-radius:6px;font:inherit;text-decoration:none;cursor:pointer}.hq-answers{display:grid;grid-template-columns:1fr 1fr;gap:12px;margin:20px 0}.hq-answers label{padding:18px;border:1px solid #665563;border-radius:8px;cursor:pointer;margin:0}.hq-answers label:has(input:checked){background:#422735;border-color:#fc9997}.hq-image{display:block;max-width:100%;max-height:480px;margin:auto;object-fit:contain}.hq-stats{display:grid;grid-template-columns:repeat(5,1fr);gap:12px}.hq-stats>div{padding:15px;background:#25212a;border-radius:8px;text-align:center}.hq-stats strong{display:block;color:#fc9997;font-size:24px}.hq-pictures{display:grid;grid-template-columns:repeat(auto-fill,minmax(160px,1fr));gap:14px}.hq-pictures img,.hq-preview{display:block;width:180px;max-width:100%;height:110px;object-fit:cover}.hq-pictures label:has(input:checked){outline:2px solid #fc9997}@media(max-width:600px){.hq-answers{grid-template-columns:1fr}.hq-stats{grid-template-columns:repeat(2,1fr)}.hq-card{padding:16px}}

/* Explicit contrast for quiz actions, including native file controls. */
button.hq-button,a.hq-button,.hq-card input[type=file]::file-selector-button{appearance:none;background:#ad2842;color:#fff;border:1px solid #d1586d;border-radius:6px;padding:12px 20px;font:inherit;font-weight:600;line-height:1.4;cursor:pointer;text-decoration:none}
button.hq-button:hover,a.hq-button:hover,.hq-card input[type=file]::file-selector-button:hover{background:#872039;color:#fff}
.hq-button:focus-visible,.hq-card input:focus-visible,.hq-card textarea:focus-visible,.hq-card select:focus-visible{outline:3px solid #ffcc73;outline-offset:3px}
.hq-card input[type=file]{display:block;color:#eee;max-width:100%;margin-top:10px}
.hq-card input[type=file]::file-selector-button{margin-right:12px}
.hq-card select option{background:#101014;color:#eee}

/* The shared container is a two-column flex layout; quiz content is stacked. */
main.container.hq-shell{display:block;width:100%;max-width:1400px;margin:0 auto;padding:28px 24px 40px;box-sizing:border-box}
.hq-shell>h1{margin:0 0 12px}.hq-shell>p{margin-bottom:18px}.hq-shell .hq-stats{margin:24px 0;grid-template-columns:repeat(5,minmax(0,1fr))}.hq-shell>.hq-card{width:100%;min-width:0;box-sizing:border-box}.hq-shell .hq-card h2{margin-bottom:18px}.hq-shell .hq-card p{margin-top:14px}.hq-shell .hq-image{width:auto;max-width:100%;height:auto;max-height:480px}.hq-shell .hq-answers label{overflow-wrap:anywhere}
@media(max-width:600px){main.container.hq-shell{padding:20px 16px 32px}.hq-shell .hq-stats{grid-template-columns:repeat(2,minmax(0,1fr))}.hq-shell .hq-stats>div:last-child{grid-column:1/-1}}
.hq-actions{display:flex;align-items:center;gap:12px;flex-wrap:wrap;margin:18px 0}.hq-actions form{margin:0}.hq-question-row{display:flex;align-items:center;justify-content:space-between;gap:20px;padding:18px 0;border-bottom:1px solid #413341}.hq-question-row>div{min-width:0;overflow-wrap:anywhere}.hq-question-row button{flex-shrink:0}.hq-card textarea{min-height:120px}.hq-card h3{margin-top:24px}.hq-card .oos-stills-row{grid-template-columns:minmax(0,600px)}
@media(max-width:600px){.hq-question-row{align-items:flex-start;flex-direction:column}.hq-actions{align-items:stretch;flex-direction:column}}
