/* Jelajahi Minat — small, dependency-free stylesheet. No web fonts, no images, no CSS gap on flex (old Android). */
*{box-sizing:border-box}
html{-webkit-text-size-adjust:100%}
body{margin:0;background:#f6f4ec;color:#183c35;font:18px/1.6 system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,sans-serif}
a{color:#0f5147;text-underline-offset:3px}
.skip{position:absolute;left:-999px;top:0;background:#fff;padding:8px 12px;z-index:10}
.skip:focus{left:8px;top:8px}
header.top,footer{padding:14px 20px;background:#fff;border-bottom:1px solid #d3dccf}
header.top{display:flex;flex-wrap:wrap;justify-content:space-between;align-items:baseline}
.brand{font-weight:700;text-decoration:none;font-size:20px}
.tag{font-size:13px;letter-spacing:.06em;color:#3f5c54}
footer{border-top:1px solid #d3dccf;border-bottom:0;font-size:14px;color:#3f5c54}
main{max-width:760px;margin:0 auto;padding:24px 18px 56px}
main.wide{max-width:1240px}
h1{font-size:32px;line-height:1.2;margin:.4em 0 .5em;letter-spacing:-.01em}
h2{font-size:23px;line-height:1.3;margin:1.4em 0 .5em}
h3{font-size:19px}
p,li{max-width:70ch}
.eyebrow{font-size:13px;letter-spacing:.14em;font-weight:700;margin:0}
.muted{color:#4d6a62;font-size:15px}
.meta{font-weight:600}
.points{padding-left:20px}
.points li{margin:8px 0}
.notice{border-left:5px solid #8a5a00;background:#fff4d6;color:#4a3000;padding:12px 16px;font-size:16px}
.error{border-left:5px solid #a11d1d;background:#fdeaea;color:#5a0d0d;padding:12px 16px}
.ok{border-left:5px solid #1c6b3a;background:#e8f6ec;color:#0d3d20;padding:12px 16px}
button,.button{display:inline-block;background:#fff;color:#0f5147;border:2px solid #0f5147;border-radius:8px;padding:10px 20px;min-height:48px;font:inherit;line-height:1.3;cursor:pointer;text-decoration:none;margin:6px 8px 6px 0;text-align:center}
button.primary,.button.primary{background:#0f5147;color:#fff}
button.danger{border-color:#a11d1d;color:#a11d1d}
button:disabled{background:#e3e8e0;color:#4a5b56;border-color:#c5cec8;cursor:default}
button.linklike{border:0;background:none;text-decoration:underline;min-height:44px;padding:4px 8px;color:#0f5147}
button.linklike.small{font-size:15px}
form.inline,.inline{display:inline}
label{display:block;margin:14px 0;font-weight:600}
label.check{font-weight:400}
label.sr{position:absolute;left:-999px}
input:not([type=radio]):not([type=checkbox]):not([type=range]):not([type=hidden]),select,textarea{display:block;width:100%;padding:10px 12px;margin-top:4px;font:inherit;font-weight:400;border:2px solid #5f8479;border-radius:6px;background:#fff;color:#183c35;min-height:48px}
textarea{font:15px/1.5 ui-monospace,Menlo,Consolas,monospace}
input[type=radio],input[type=checkbox]{width:24px;height:24px;vertical-align:middle;margin:0 8px 0 0}
fieldset{border:1px solid #cbd7cd;border-radius:8px;margin:14px 0;padding:8px 14px 14px;background:#fff}
legend{padding:0 6px;font-weight:700}
:focus{outline:3px solid #b35c00;outline-offset:2px}
[hidden]{display:none!important}
.honeypot{position:absolute;left:-10000px;top:auto;width:1px;height:1px;overflow:hidden}

/* Question card */
.question{padding:14px 16px 8px;margin:14px 0;border:1px solid #bccbbe;border-radius:12px;background:#fff;min-width:0}
/* Floating the legend keeps a wrapped question inside the card instead of straddling the border. */
.question legend{float:left;width:100%;padding:0 0 6px;margin:0;font-size:22px;line-height:1.4}
.question legend~*{clear:both}
.qn{color:#4d6a62}
.prompt{margin:6px 0 4px;font-size:17px}
.fallback .opt{display:block;margin:6px 0;padding:10px 12px;border:2px solid #cbd7cd;border-radius:8px;min-height:48px;font-weight:400}
.slot{padding:10px 0 2px}
.endpoint{display:flex;justify-content:space-between;font-size:15px;color:#33524a}
.endpoint span{max-width:47%}
.endpoint span:last-child{text-align:right}
.state{margin:10px 0 2px;font-weight:600;min-height:28px}
.is-answered .state{color:#0f5147}
.is-unanswered .state{color:#6a4a00}
#quiz-heading{font-size:22px;margin:.2em 0 .3em}
#progress-wrap{margin:8px 0}
#progress{margin:0 0 4px;font-weight:600}
progress{width:100%;height:12px;-webkit-appearance:none;appearance:none;border:1px solid #5f8479;border-radius:6px;background:#fff;color:#0f5147;overflow:hidden}
progress::-webkit-progress-bar{background:#fff}
progress::-webkit-progress-value{background:#0f5147}
progress::-moz-progress-bar{background:#0f5147}
.nav-row{display:flex;flex-wrap:wrap;justify-content:space-between;align-items:center}

/* Native range slider: 48px touch area, 32px thumb, 8px track. */
input[type=range]{-webkit-appearance:none;appearance:none;display:block;width:100%;height:48px;margin:0;padding:0;background:transparent;touch-action:pan-y}
input[type=range]::-webkit-slider-runnable-track{height:8px;background:#5f8479;border-radius:4px}
input[type=range]::-moz-range-track{height:8px;background:#5f8479;border-radius:4px}
input[type=range]::-webkit-slider-thumb{-webkit-appearance:none;appearance:none;width:32px;height:32px;margin-top:-12px;border-radius:50%;background:#0f5147;border:3px solid #fff;box-shadow:0 0 0 2px #0f5147}
input[type=range]::-moz-range-thumb{width:26px;height:26px;border-radius:50%;background:#0f5147;border:3px solid #fff;box-shadow:0 0 0 2px #0f5147}
input[type=range]:focus{outline:none}
input[type=range]:focus::-webkit-slider-thumb{box-shadow:0 0 0 4px #b35c00}
input[type=range]:focus::-moz-range-thumb{box-shadow:0 0 0 4px #b35c00}
/* "Ghost" thumb: visible but clearly unselected until the student interacts. */
.is-unanswered input[type=range]::-webkit-slider-thumb{background:#fff;border:3px dashed #0f5147;box-shadow:none}
.is-unanswered input[type=range]::-moz-range-thumb{background:#fff;border:3px dashed #0f5147;box-shadow:none}

/* Result */
.sheet{background:#fff;border:1px solid #cbd7cd;border-radius:8px;padding:18px}
.score{margin:12px 0}
.score .label{display:flex;justify-content:space-between;font-size:17px}
.score svg{display:block;width:100%;height:16px}
.near{color:#4d6a62}
.framing{border-left:4px solid #0f5147;padding-left:12px}
.recommendation{break-inside:avoid}
.actions{margin-top:24px}
.idline{color:#4d6a62}

/* Admin */
body.admin{font-size:16px}
.adminnav{display:flex;flex-wrap:wrap;align-items:center;padding:6px 16px;background:#e3ebe2;border-bottom:1px solid #c5d3c6}
.adminnav a{display:inline-block;padding:10px 12px;text-decoration:none;font-weight:600}
.adminnav a:hover{text-decoration:underline}
.tabs{display:flex;flex-wrap:wrap;border-bottom:2px solid #0f5147;margin:14px 0}
.tabs a{padding:10px 14px;text-decoration:none;font-weight:600;border:1px solid transparent}
.tabs a[aria-current]{background:#0f5147;color:#fff}
table{border-collapse:collapse;width:100%;font-size:14px;background:#fff}
th,td{padding:7px 9px;border:1px solid #cbd7cd;vertical-align:top;text-align:left}
th{background:#eef3ec}
.table-wrap{overflow-x:auto}
.cards{display:flex;flex-wrap:wrap}
.card{background:#fff;border:1px solid #cbd7cd;border-radius:8px;padding:14px 20px;margin:0 12px 12px 0;min-width:150px}
.card strong{display:block;font-size:30px}
.badge{display:inline-block;padding:2px 10px;border-radius:12px;font-size:13px;background:#e3ebe2;border:1px solid #9db3a5}
.badge.published,.badge.active{background:#dff3e5;border-color:#7db78f}
.badge.draft{background:#fff4d6;border-color:#d0a84a}
.badge.archived{background:#eee;border-color:#aaa}
.badge.warn{background:#fdeaea;border-color:#c98b8b}
.chip{display:inline-block;background:#eef3ec;border:1px solid #cbd7cd;border-radius:10px;padding:1px 8px;margin:2px 4px 2px 0;font-size:13px}
.filters,.grid{display:flex;flex-wrap:wrap;align-items:flex-end}
.filters label,.grid label{flex:1 1 180px;margin:6px 10px 6px 0}
.grid label.wide,.grid fieldset.wide{flex:1 1 100%}
.grid fieldset.wide label{display:inline-block;width:170px}
.facts{display:flex;flex-wrap:wrap;max-width:900px}
.facts dt{flex:0 0 230px;font-weight:600;padding:4px 0}
.facts dd{flex:1 1 300px;margin:0;padding:4px 0}
.content fieldset{max-width:900px}
.danger{border:1px solid #a11d1d;padding:0 12px}
.hist progress{width:9px;height:26px;-webkit-appearance:none;appearance:none;border:0;margin-right:1px;vertical-align:bottom;background:#eef3ec}
.pager{margin:12px 0}
code{font:13px ui-monospace,Menlo,Consolas,monospace;overflow-wrap:anywhere}
@media(min-width:700px){body{font-size:19px}.question{padding:22px 24px 14px}}
@media(prefers-reduced-motion:reduce){*{animation:none!important;transition:none!important}}
