:root{font-family:system-ui,-apple-system,"Segoe UI",sans-serif;color:#173449;background:#f1f5f8;line-height:1.8;font-synthesis:none}*{box-sizing:border-box}body{margin:0}a{color:#17617b;text-underline-offset:3px}button,input{font:inherit}button,.button{display:inline-block;min-height:44px;border:1px solid #a2b6c3;border-radius:9px;padding:10px 18px;background:#fff;color:#163f55;text-decoration:none;cursor:pointer}button:hover,.button:hover{background:#e8f2f5}button.primary{background:#155e75;color:white;border-color:#155e75}button:disabled{opacity:.55;cursor:wait}button:focus-visible,a:focus-visible,input:focus-visible,summary:focus-visible{outline:3px solid #b56410;outline-offset:3px}[hidden]{display:none!important}.test-header{display:flex;justify-content:space-between;align-items:center;gap:20px;padding:18px max(20px,calc((100vw - 920px)/2));border-bottom:1px solid #d6e2e8;background:#fff}.brand{font-size:1.5rem;font-weight:750;letter-spacing:-.04em;text-decoration:none;color:#18384a}.test-header nav{display:flex;flex-wrap:wrap;gap:20px}.test-main{max-width:920px;margin:0 auto;padding:30px 20px 15px}.test-intro{padding:10px 4px 15px}h1{font-size:clamp(1.55rem,4vw,2.3rem);line-height:1.45;margin:.5rem 0 1rem}h2{font-size:1.35rem;line-height:1.5}h3{font-size:1.12rem}.eyebrow{font-size:.8rem;color:#477780;letter-spacing:.12em;font-weight:700}.lead{font-size:1.07rem}.test-meta{color:#4d6b78;font-weight:650}.test-note{background:#edf4f7;border-left:4px solid #4f8d9e;padding:12px 16px}.test-panel{padding:clamp(18px,4vw,32px);border:1px solid #d6e2e8;border-radius:16px;background:white;margin:20px 0;box-shadow:0 4px 18px #1b415508;overflow-wrap:anywhere}.test-panel summary{cursor:pointer;font-weight:700}.test-panel ul{padding-left:1.4em}.test-panel li{margin:.5rem 0}.test-actions{display:flex;gap:12px;flex-wrap:wrap;margin:20px 0 0}.test-message{color:#9b3d20;font-weight:650;min-height:1.5em}.test-progress{border-bottom:1px solid #dbe6eb;padding-bottom:14px;margin-bottom:24px}.test-progress p{margin:0 0 8px;font-weight:700}.test-progress progress{display:block;width:100%;height:12px;accent-color:#18816f}fieldset{border:0;padding:0;margin:0;min-width:0}legend{width:100%;font-size:1.18rem;font-weight:700;line-height:1.8;padding:0;margin-bottom:20px}.test-option{display:flex;align-items:flex-start;gap:12px;padding:14px 16px;border:1px solid #cedce5;border-radius:10px;margin:10px 0;cursor:pointer;min-height:54px}.test-option:has(input:checked){background:#e7f3f2;border-color:#2e807c}.test-option input{width:20px;height:20px;flex:0 0 auto;margin:6px 0 0;accent-color:#177a77}.question-overview{margin-top:25px}.question-jumps{display:flex;gap:8px;flex-wrap:wrap;margin-top:12px}.question-jumps button{padding:7px;min-width:44px}.question-jumps .answered{background:#e2f0ed}.question-jumps [aria-current="step"]{outline:2px solid #17617b;outline-offset:1px}.consent{display:flex;align-items:flex-start;gap:12px;padding:16px;background:#f1f6fa;border-radius:8px;margin:15px 0}.consent input{width:22px;height:22px;flex:0 0 auto;margin-top:4px}.result-score{font-size:2.2rem;font-weight:750;color:#12636d;margin:5px 0}.result-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px;margin:25px 0}.result-card{border:1px solid #dbe5eb;border-radius:10px;padding:17px;background:#f6f9fb}.result-card h3{margin:0 0 8px}.result-card meter{display:block;width:100%;height:17px}.result-card p{margin:8px 0}.review details{border-bottom:1px solid #d8e4ea;padding:16px 0}.review p{margin:.6em 0}.review .right{color:#176b53}.review .wrong{color:#a23a24}.result-timing{font-size:.9rem;color:#536c7a}.test-footer{margin:40px 0 10px;color:#637b89;font-size:.85rem}.test-footer a{margin-left:12px}.result-links{display:flex;gap:12px;flex-wrap:wrap}@media(max-width:600px){.test-header{padding:12px 16px;align-items:flex-start}.test-header nav{font-size:.88rem;gap:8px;flex-direction:column}.test-main{padding:20px 12px}.test-panel{padding:18px 14px}.result-grid{grid-template-columns:1fr}.test-actions>*{flex:1;text-align:center}.test-option{padding:12px}.test-note{padding:10px 12px}.consent{padding:12px}#submit-answers{width:100%}}@media print{.test-header,.test-actions,.test-intro,#test-welcome,#test-running{display:none}.test-main{max-width:none}.test-panel{box-shadow:none;border:0}}
.admin-tests{max-width:1120px}.admin-filters{display:flex;flex-wrap:wrap;gap:12px;align-items:end}.admin-filters label{display:grid;gap:5px;flex:1 1 170px}.admin-filters input,.admin-filters select{font:inherit;max-width:100%;min-width:0;padding:10px;border:1px solid #aabfc0;border-radius:7px;background:#fff;color:#163734}.table-scroll{overflow:auto}table{border-collapse:collapse;width:100%;font-size:.94rem}th,td{text-align:left;border-bottom:1px solid #dbe6e5;padding:12px;vertical-align:top}td p{margin:.25em 0}td:first-child{white-space:nowrap}dt{font-weight:700;margin-top:15px}dd{margin:4px 0;overflow-wrap:anywhere}pre{white-space:pre-wrap;overflow-wrap:anywhere;background:#f0f5f4;padding:16px;border-radius:8px;font-size:.85rem}.admin-tests details{margin:12px 0;padding:12px;border:1px solid #dbe6e5;border-radius:8px}.admin-tests summary{cursor:pointer;font-weight:600}.admin-tests input[type=checkbox]{width:20px;height:20px;vertical-align:middle}
.test-card{background:#fff;border:1px solid #d7e3e9;border-radius:14px;padding:24px;margin:22px 0;box-shadow:0 4px 14px #18384a08}.test-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px}.test-grid .test-card{display:flex;flex-direction:column;gap:8px;margin:12px 0}.test-grid h2{margin:0}.test-grid p{margin:.4em 0}.test-link{display:block;margin-top:auto;padding:10px 14px;border-radius:8px;background:#155e75;color:#fff;text-decoration:none;text-align:center}.test-eyebrow{font-size:.82rem;font-weight:700;color:#477780;letter-spacing:.05em}.test-brand{font-size:1.4rem;font-weight:750;text-decoration:none}.small{font-size:.9rem;color:#536c7a}@media(max-width:760px){.test-grid{grid-template-columns:1fr}.test-card{padding:18px 14px}.admin-tests .test-card{min-width:0}}

@media(max-width:600px){.admin-tests table,.admin-tests tbody,.admin-tests tr,.admin-tests td{display:block;width:100%}.admin-tests thead{position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%)}.admin-tests tr{border:1px solid #d7e3e9;border-radius:10px;margin:12px 0;padding:9px}.admin-tests td{border:0;padding:6px;white-space:normal;overflow-wrap:anywhere}.admin-tests td[data-label]::before{content:attr(data-label);display:block;font-size:.78rem;color:#536c7a;font-weight:700;margin-bottom:2px}.admin-tests td p{margin:3px 0}.admin-tests td button{min-width:90px}.test-actions a.button{flex-basis:150px}}
