:root { --fg: #1d2330; --muted: #6b7280; --bg: #f4f5f7; --card: #fff; --accent: #e8590c; --ok: #2b8a3e; --bad: #c92a2a; --line: #e3e5e8; }
* { box-sizing: border-box; }
body { margin: 0; font: 16px/1.5 system-ui, -apple-system, "Segoe UI", Roboto, sans-serif; color: var(--fg); background: var(--bg); }
.top { display: flex; flex-wrap: wrap; gap: 1rem; align-items: center; padding: .75rem 1.5rem; background: #111; color: #fff; }
.top a { color: #fff; text-decoration: none; }
.brand { font-weight: 700; letter-spacing: .02em; }
.top nav { display: flex; flex-wrap: wrap; gap: 1rem; align-items: center; font-size: .95rem; }
.top .link { color: #ccc; }
main { max-width: 1000px; margin: 1.5rem auto; padding: 0 1rem; }
.card { background: var(--card); border-radius: 10px; padding: 1.5rem; box-shadow: 0 1px 3px rgba(0,0,0,.06); }
h1 { margin-top: 0; font-size: 1.5rem; }
h2 { font-size: 1.15rem; margin-top: 1.75rem; }
a { color: var(--accent); }
.muted { color: var(--muted); font-size: .9rem; }
.pre { white-space: pre-wrap; }
.button { display: inline-block; background: var(--accent); color: #fff; border: 0; border-radius: 6px; padding: .6rem 1.2rem; font: inherit; cursor: pointer; text-decoration: none; }
.button.secondary { background: #495057; }
.button.danger { background: var(--bad); }
button.link { background: none; border: 0; padding: 0; color: var(--accent); font: inherit; cursor: pointer; text-decoration: underline; }
form.inline { display: inline; }
.filters { display: flex; flex-wrap: wrap; gap: .75rem; align-items: center; margin: 1rem 0; }
.grid { display: grid; gap: .9rem; max-width: 560px; margin: 1rem 0; }
.grid label { display: grid; gap: .3rem; font-size: .95rem; }
input, select, textarea { font: inherit; padding: .45rem .6rem; border: 1px solid #ccd0d5; border-radius: 6px; max-width: 100%; }
textarea { width: 100%; }
table { width: 100%; border-collapse: collapse; margin-top: 1rem; font-size: .95rem; }
th, td { text-align: left; padding: .45rem .5rem; border-bottom: 1px solid var(--line); vertical-align: top; }
.chip { display: inline-block; padding: .2rem .65rem; margin: 0 .3rem .3rem 0; border-radius: 99px; background: var(--bg); color: var(--fg); text-decoration: none; font-size: .9rem; }
.chip.on { background: var(--accent); color: #fff; }
.notice { background: #fff4e6; padding: .6rem .9rem; border-radius: 6px; }
.notice.bad { background: #fff5f5; }
.result { padding: .9rem 1.1rem; border-radius: 8px; margin: 1rem 0; background: var(--bg); font-size: 1.1rem; }
.result.passed { background: #ebfbee; color: var(--ok); }
.result.failed { background: #fff5f5; color: var(--bad); }
.result.review { background: #fff4e6; }
progress { width: 100%; height: .6rem; accent-color: var(--accent); }
.facts { padding-left: 1.2rem; }
.slide-frame { width: 100%; height: 70vh; border: 1px solid var(--line); border-radius: 8px; background: #fff; }
.slide-img { display: block; max-width: 100%; max-height: 70vh; margin: 0 auto; border-radius: 8px; }
.pager { display: flex; justify-content: space-between; margin-top: 1.25rem; }
.question { border: 1px solid var(--line); border-radius: 8px; padding: 1rem; margin: 1rem 0; }
.question legend { font-weight: 600; padding: 0 .3rem; }
.option { display: block; padding: .3rem 0; cursor: pointer; }
.q-img { display: block; max-width: 100%; max-height: 360px; margin: .5rem 0; }
.right { color: var(--ok); font-weight: 600; }
.chosen { text-decoration: underline; }
.answer { background: var(--bg); padding: .6rem; border-radius: 6px; }
.timer { position: sticky; top: 0; background: #fff4e6; padding: .5rem .8rem; border-radius: 6px; font-weight: 600; z-index: 1; }
.linkbox code { display: block; padding: .8rem; background: var(--bg); border-radius: 6px; word-break: break-all; user-select: all; }
code { font-size: .9em; }
@media (max-width: 640px) { main { margin: .75rem auto; } .card { padding: 1rem; } th, td { padding: .35rem .3rem; } }
