
:root{--ink:#243f39;--muted:#596c66;--green:#285849;--paper:#fffcf5;--line:#dbe4df}*{box-sizing:border-box}body{margin:0;color:var(--ink);background-color:var(--paper);background-image:linear-gradient(#dbe4df88 1px,transparent 1px),linear-gradient(90deg,#dbe4df88 1px,transparent 1px);background-size:26px 26px;font-family:'Segoe UI',Arial,sans-serif;font-size:16px;line-height:1.6}a{color:inherit}button,input{font:inherit}button,a,input{touch-action:manipulation}a:focus-visible,button:focus-visible,input:focus-visible,summary:focus-visible{outline:3px solid #176ab3;outline-offset:5px}.topbar{min-height:96px;display:flex;align-items:center;justify-content:space-between;gap:24px;padding:20px 6%;border-bottom:1px solid #c7d2ca;background:#fffcf5ed}.brand{text-decoration:none;font-size:23px;font-weight:750;letter-spacing:-1px;display:flex;gap:12px;align-items:center}.brand-icon{background:var(--green);color:#fff8e7;border-radius:12px;padding:0 12px;font-size:30px;transform:rotate(-7deg)}.brand-star{color:#e78d2f;font-size:34px;padding-left:5px}.topbar nav{display:flex;align-items:center;gap:24px;font-size:14px}.topbar form{margin:0}.text-button{border:0;background:none;text-decoration:underline;cursor:pointer;color:var(--ink);padding:8px}.top-note{font-size:14px;color:var(--muted)}main{max-width:1120px;margin:auto;min-height:calc(100vh - 190px);padding:54px 28px 40px}.eyebrow{font-size:12px;font-weight:750;letter-spacing:2px}.page-heading{position:relative;margin-bottom:35px}h1{font-size:clamp(32px,4.5vw,52px);letter-spacing:-2px;line-height:1.18;margin:17px 0}h2{line-height:1.25}p{color:var(--muted)}.underline{text-decoration:underline;text-decoration-color:#eab14c;text-decoration-thickness:7px;text-underline-offset:7px}.hand-note{position:absolute;right:10px;bottom:0;transform:rotate(-6deg);font-family:Georgia,serif;font-style:italic;color:#567160;font-size:20px}.subject-grid{display:grid;grid-template-columns:repeat(2,1fr);gap:24px}.subject-card{border:1px solid #243f3930;border-radius:19px;padding:26px 30px 0;text-decoration:none;box-shadow:3px 5px 0 #243f3915;transition:transform .18s,box-shadow .18s;overflow:hidden}.subject-card:hover{transform:translateY(-4px);box-shadow:4px 9px 0 #243f391b}.math{background:#f7d876}.physics{background:#b8d9ed}.chemistry{background:#cbdcbb}.english{background:#e9c6da}.card-top{display:flex;justify-content:space-between;align-items:center}.subject-icon{font-size:46px;font-family:Georgia,serif;font-weight:bold;line-height:1.3}.round-arrow{border:1px solid #243f3940;border-radius:50%;width:38px;height:38px;text-align:center;font-size:24px}.subject-card h2{text-transform:uppercase;font-size:25px;letter-spacing:1px;margin:21px 0 5px}.subject-card p{margin:0 0 24px;color:#344e47}.card-bottom{padding:14px 0;border-top:1px solid #243f3930;display:flex;justify-content:space-between;font-size:14px}.card-bottom span{color:#40584e}.gentle-note{text-align:center;margin:34px 0 0;font-size:14px}.gentle-note span{color:#b9771c;font-size:24px;padding-right:10px}footer{padding:18px 28px;text-align:center;font-size:12px;color:var(--muted)}footer span{margin:0 14px}.login-layout{display:grid;grid-template-columns:1fr 440px;align-items:center;gap:75px;padding:26px 0}.welcome h1{font-size:clamp(44px,5.7vw,68px)}.welcome p{margin-top:27px}.subject-stickers{display:flex;gap:15px;margin-top:30px}.subject-stickers span{width:55px;height:55px;display:grid;place-items:center;border-radius:13px;background:#f7d876;font: bold 30px Georgia;transform:rotate(-8deg)}.subject-stickers span:nth-child(2){background:#b8d9ed;transform:rotate(9deg)}.subject-stickers span:nth-child(3){background:#cbdcbb}.subject-stickers span:nth-child(4){background:#e9c6da;transform:rotate(7deg)}.login-card{background:#fffefb;border:1px solid #c9d3c9;border-radius:18px;padding:36px;box-shadow:7px 8px 0 #dce4d8}.login-card h2{font-size:28px;margin-bottom:8px;letter-spacing:-1px}.login-card p{font-size:14px}.login-card label{display:block;font-size:14px;font-weight:650;margin:20px 0 7px}.login-card input{width:100%;border:1px solid #aabbb1;background:#fffefb;border-radius:8px;padding:12px;color:var(--ink)}.login-card small{display:block;font-size:12px;color:var(--muted);margin:8px 0}.primary{margin-top:25px;padding:13px 17px;width:100%;border:0;border-radius:8px;background:var(--green);color:white;cursor:pointer;text-align:left;font-weight:600}.primary:hover{background:#193f33}.primary span{float:right}.switch{text-align:center;margin-top:24px}.switch a{font-weight:650}.error{padding:12px;border:1px solid #b95147;background:#fff0ec;color:#8a2923!important;border-radius:8px}.breadcrumbs{display:flex;flex-wrap:wrap;gap:12px;font-size:14px;margin-bottom:25px}.topic-list{display:grid;gap:16px}.topic-row{display:flex;align-items:center;gap:24px;background:#fffef9;padding:24px;border:1px solid #c9d3c9;border-radius:12px;text-decoration:none}.topic-row:hover{background:#f1f5eb}.number{background:#f7d876;border-radius:10px;padding:10px 15px;font-size:22px;font-weight:700}.topic-row h2{font-size:22px;margin:0}.topic-row p{margin:6px 0 0;font-size:14px}.row-arrow{margin-left:auto;font-size:25px}.lesson-paper{background:#fffefb;border:1px solid #c9d3c9;border-radius:12px;padding:32px 40px;max-width:850px}.lesson-paper p,.lesson-paper li{color:var(--ink)}.formula{background:#edf3e7;border-left:4px solid var(--green);padding:18px;font-size:22px}.lesson-paper details{background:#f9f0d6;border-radius:8px;padding:16px;margin-top:18px}.lesson-paper summary{cursor:pointer;font-weight:650}.file-list{display:grid;gap:12px;margin:24px 0}.file-row .number{font-size:15px;letter-spacing:1px}.file-missing{opacity:.6}.file-missing p{margin-left:auto}.lesson-nav{display:flex;flex-wrap:wrap;justify-content:space-between;gap:20px;margin:28px 0;font-size:14px}.table-wrap{overflow:auto;border:1px solid #c9d3c9;border-radius:12px;background:#fffefb}table{border-collapse:collapse;width:100%;font-size:14px;text-align:left}th,td{padding:15px;border-bottom:1px solid #dde4dc}th{background:#e8efe2}td{overflow-wrap:anywhere;min-width:120px}@media(max-width:760px){.topbar{padding:16px 22px;flex-wrap:wrap;gap:12px}.topbar nav{gap:14px;flex-wrap:wrap}.top-note,.hand-note{display:none}main{padding:30px 20px}.subject-grid{gap:16px}.subject-card{padding:20px 20px 0}.subject-card h2{font-size:20px}.login-layout{grid-template-columns:1fr;gap:30px;padding:0}.welcome h1{font-size:42px}.welcome p,.subject-stickers{display:none}.login-card{max-width:480px;width:100%;margin:auto}.lesson-paper{padding:24px}.username{display:none}}@media(max-width:480px){.subject-grid{grid-template-columns:1fr}.brand{font-size:20px}.subject-card h2{font-size:24px}.login-card{padding:25px}.topic-row{padding:18px;gap:15px}.topic-row h2{font-size:19px}}@media(prefers-reduced-motion:reduce){*{transition:none!important}}


/* ===== Wspólne elementy (bez stylów inline — CSP je blokuje) ===== */
.stat-login{grid-template-columns:1fr;max-width:440px;margin:auto;padding:20px 0}.stat-login .login-card{width:100%}
.stat-head{display:flex;justify-content:space-between;align-items:flex-start;flex-wrap:wrap;gap:16px}
.lock-button{display:inline-flex;align-items:center;min-height:44px;border:1px solid #c9d3c9;border-radius:8px;padding:10px 16px;background:#fffefb;text-decoration:none;font-weight:600}
.lesson-nav a{display:inline-flex;align-items:center;justify-content:center;min-height:44px;padding:10px 18px;border:1px solid #c9d3c9;border-radius:8px;background:#fffefb;text-decoration:none;font-weight:600}
.lesson-nav a:hover,.lock-button:hover{background:#f1f5eb}
.topic-row>div{min-width:0}.topic-row h2,.topic-row p,.lesson-paper,.formula{overflow-wrap:break-word}
/* ===== Telefon / mały tablet ===== */
@media(max-width:760px){
.text-button{min-height:44px;padding:10px 6px}
.topbar nav{margin-left:auto}.breadcrumbs{gap:4px 10px;align-items:center}.breadcrumbs a{display:inline-block;padding:6px 0}
.lesson-nav a{flex:1 1 140px}
.subject-card{padding:18px 20px 0}.subject-icon{font-size:36px}.subject-card h2{margin:8px 0 4px}.subject-card p{margin-bottom:14px}.card-bottom{padding:12px 0}
.stat-table thead{display:none}
.stat-table,.stat-table tbody,.stat-table tr,.stat-table td{display:block;width:100%}
.stat-table tr{border-bottom:1px solid #c9d3c9;padding:10px 0}
.stat-table td{display:flex;gap:12px;border:0;padding:3px 16px;min-width:0}
.stat-table td[colspan]::before{display:none}
.stat-table td::before{content:attr(data-label);flex:0 0 105px;font-weight:650;color:var(--muted)}
}
/* ===== Telefon ===== */
@media(max-width:480px){
.topbar{min-height:0;padding:12px 16px}.brand-icon{font-size:24px;padding:0 10px}.brand-star{font-size:26px}
main{padding:24px 16px 32px}
h1{letter-spacing:-1px}.welcome h1{font-size:36px}
.page-heading{margin-bottom:24px}
.lesson-paper{padding:20px 16px}.formula{font-size:19px;padding:14px}
.number{font-size:18px;padding:8px 12px}
.file-list{margin:18px 0}.file-list .topic-row{padding:14px;gap:12px}.file-row .number{font-size:13px;padding:8px 10px}.file-row h2{font-size:17px}
.login-card{padding:22px}
}
/* ===== Test z analizą ===== */
.test{max-width:850px}
.test-summary{position:sticky;top:0;z-index:2;display:flex;flex-wrap:wrap;align-items:baseline;gap:4px 18px;background:#fffefb;border:1px solid #c9d3c9;border-radius:12px;padding:12px 18px;margin-bottom:20px;box-shadow:0 4px 10px #243f3912}
.test-summary p{margin:0;color:var(--ink)}.test-score{font-size:22px;font-weight:750}
.task{background:#fffefb;border:1px solid #c9d3c9;border-radius:12px;padding:24px 28px;margin-bottom:22px}
.task h2{font-size:21px;margin:0 0 12px}.task-points{font-weight:500;color:var(--muted)}
.task p,.task li,.task legend{color:var(--ink)}
.task-figure{margin:14px 0;text-align:center}.task-figure img{max-width:75%;height:auto}
@media(max-width:480px){.task-figure img{max-width:100%}}
.task-command{font-weight:650}.task-sentence{margin:14px 0 8px}
.choices{display:flex;flex-wrap:wrap;gap:10px}.choices .choice{flex:1 1 130px}
.choice{display:flex;align-items:center;gap:10px;min-height:44px;padding:8px 12px;border:1px solid #c9d3c9;border-radius:8px;background:#fff;cursor:pointer}
.choice:has(input:checked){border-color:var(--green);background:#edf3e7}
.choice input{width:20px;height:20px;flex:0 0 auto;accent-color:var(--green)}.choice-letter{font-weight:700}
.pf{border:0;padding:0;margin:12px 0}.pf legend{margin-bottom:8px}.pf .choice{display:inline-flex;margin:0 8px 8px 0}
.field-label{display:block;font-weight:650;margin:14px 0 6px}
.task textarea,.task input[type=text]{width:100%;border:1px solid #aabbb1;border-radius:8px;padding:12px;font:inherit;font-size:16px;background:#fff;color:var(--ink)}
.task textarea{resize:vertical;background-image:linear-gradient(#dbe4df88 1px,transparent 1px),linear-gradient(90deg,#dbe4df88 1px,transparent 1px);background-size:20px 20px;line-height:20px}
.self{border:1px solid #c9d3c9;border-radius:8px;padding:12px;margin:14px 0 0;display:grid;gap:8px}.self legend{font-weight:650;padding:0 6px}
.self .choice{align-items:flex-start}
.task-actions{display:flex;flex-wrap:wrap;gap:10px;margin-top:16px}
.check-button{min-height:44px;padding:10px 20px;border:0;border-radius:8px;background:var(--green);color:#fff;font-weight:650;cursor:pointer}
.check-button:hover{background:#193f33}.check-button:disabled{opacity:.6}
.task-result{min-height:1em;margin:12px 0 0;font-weight:650}.task-result.good{color:#1f6b3a}.task-result.part{color:#8a5a00}.task-result.bad{color:#8a2923}
.solution{background:#f9f0d6;border-radius:8px;padding:14px 16px;margin-top:18px}.solution summary{cursor:pointer;font-weight:700;min-height:28px}
.solution h3{font-size:17px;margin:16px 0 6px}.steps{padding-left:22px;margin:10px 0}.steps li{margin:8px 0}
.step-points{display:inline-block;background:#285849;color:#fff;border-radius:6px;padding:1px 8px;font-size:13px;font-weight:650;margin-left:4px}
.solution-answer{margin:12px 0 0}
.m{font-family:Georgia,'Times New Roman',serif}
.frac{display:inline-flex;flex-direction:column;vertical-align:middle;text-align:center;font-size:.9em;line-height:1.1}.frac>span:first-child{border-bottom:1px solid currentColor;padding:0 2px}
.sqrt{white-space:nowrap}.sqrt>span{border-top:1px solid currentColor;padding:0 2px}
@media(max-width:480px){.task{padding:18px 14px}.task h2{font-size:19px}.test-summary{padding:10px 14px}.test-score{font-size:19px}.solution{padding:12px}}
.lesson-paper:has(.test){background:none;border:0;padding:0;max-width:850px}
.stat-subtitle{font-size:20px;margin:28px 0 12px}
.solution-toggle{width:100%;min-height:44px;text-align:left;border:0;background:none;font:inherit;font-weight:700;color:var(--ink);cursor:pointer;padding:0}
.solution-toggle:disabled{cursor:not-allowed;color:var(--muted);font-weight:600}
.solution-body{margin-top:6px}
.draft-status{min-height:1em;margin:4px 0 0;font-size:13px;color:var(--muted)}.draft-status.bad{color:#8a2923}
.task.is-locked textarea,.task.is-locked input[type=text]{background-color:#f3f5f1;color:var(--ink)}
.task.is-locked .choice{cursor:default}
.test-finished{background:#edf3e7;border:1px solid var(--green);border-radius:12px;padding:16px 18px;margin-bottom:20px}.test-finished p{color:var(--ink);margin-top:0}
.self-form{margin-top:14px}
/* ===== Panel rodzica ===== */
.parent-bar{display:flex;justify-content:space-between;align-items:center;flex-wrap:wrap;gap:8px;font-size:14px;color:var(--muted);margin:-20px 0 20px}.parent-bar form{margin:0}
.notice{padding:12px;border:1px solid var(--green);background:#edf3e7;border-radius:8px;color:var(--ink)}
.parent-link{margin-top:24px;max-width:480px}
.parent-test h3{font-size:17px;margin:16px 0 8px}
.session-list{display:flex;flex-wrap:wrap;gap:8px;margin-bottom:12px}
.session-chip{display:inline-flex;align-items:center;min-height:44px;padding:8px 14px;border:1px solid #c9d3c9;border-radius:8px;background:#fffefb;text-decoration:none;font-size:14px}
.session-chip.is-current{border-color:var(--green);background:#edf3e7;font-weight:650}
.parent-summary{position:static}
.task-status{float:right;font-size:15px;font-weight:650;color:var(--muted)}.task-status.good{color:#1f6b3a}.task-status.part{color:#8a5a00}.task-status.bad{color:#8a2923}
.parent-facts{display:grid;grid-template-columns:max-content 1fr;gap:4px 14px;margin:8px 0 12px;font-size:15px}.parent-facts dt{color:var(--muted)}.parent-facts dd{margin:0;overflow-wrap:anywhere}
.draft-view{white-space:pre-wrap;overflow-wrap:anywhere;background-color:#fff;background-image:linear-gradient(#dbe4df88 1px,transparent 1px),linear-gradient(90deg,#dbe4df88 1px,transparent 1px);background-size:20px 20px;line-height:20px;border:1px solid #c9d3c9;border-radius:8px;padding:10px 12px;margin:6px 0 12px;font:inherit;min-height:44px}
.parent-history{background:#f6f8f3;border-radius:8px;padding:10px 14px;margin:10px 0}.parent-history summary{cursor:pointer;font-weight:650;min-height:28px}
.history-item{border-top:1px solid #dde4dc;padding-top:8px;margin-top:8px}.history-item p{margin:0 0 4px;font-size:14px}
.parent-note{margin-top:14px}.muted{color:var(--muted);font-size:13px}
@media(max-width:480px){.task-status{float:none;display:block;margin-top:4px}.parent-facts{grid-template-columns:1fr}.parent-facts dd{margin-bottom:6px}}
/* ===== Test: tabela w treści, przycisk pierwiastka ===== */
.task-table{margin:12px 0;max-width:100%;overflow-x:auto}.task-table table{font-size:14px}.task-table th,.task-table td{padding:10px 8px;min-width:0;text-align:center;color:var(--ink);overflow-wrap:normal}
.choice .m{white-space:nowrap}.task-table tbody th{text-align:left;background:#f3f5f1}
.answer-row{display:flex;gap:8px}.answer-row input{flex:1 1 auto;min-width:0}
.sym-button{flex:0 0 48px;min-height:44px;border:1px solid #aabbb1;border-radius:8px;background:#fff;color:var(--ink);font:700 20px Georgia,serif;cursor:pointer}.sym-button:disabled{opacity:.6;cursor:default}
.sort-bar{display:flex;flex-wrap:wrap;align-items:center;gap:8px;margin:0 0 18px;font-size:14px;color:var(--muted)}.sort-bar span{margin-right:2px}
.test-tile p{margin:4px 0 0}.test-tile strong{color:var(--ink)}.topic-row>div{min-width:0;overflow-wrap:break-word}
/* ===== Panel rodzica: treść zadania i notatki w kolorach ===== */
.parent-content{margin:4px 0 14px}.parent-options{margin:6px 0 12px;padding-left:22px}.parent-options li{margin:4px 0}
.ink-k{color:var(--ink)}.ink-r{color:#c0262d}.ink-b{color:#1f5fbf}.ink-g{color:#1d7a3a}.ink-o{color:#b45300}
.ink-tools{display:flex;flex-wrap:wrap;gap:8px;margin:6px 0}
.ink-btn,.ink-copy{min-height:44px;padding:8px 12px;border:1px solid #c9d3c9;border-radius:8px;background:#fff;font:inherit;font-size:14px;font-weight:650;cursor:pointer}
.ink-btn{width:44px;padding:0;display:inline-grid;place-items:center}.ink-btn::before{content:"";display:block;width:22px;height:22px;border-radius:50%;background:currentColor}
.ink-btn.is-current{border-color:currentColor;box-shadow:inset 0 0 0 2px currentColor;background:#f6f8f3}
.ink-copy{color:var(--ink);background:#f9f0d6;border-color:#e3d3a2}
.note-editor{min-height:140px;margin-top:4px;cursor:text}.note-editor:focus{outline:3px solid #176ab3;outline-offset:2px}
/* ===== Panel rodzica: sekcje zadania (rozwinięte na start, zwijane) ===== */
.parent-section{--ps:#285849;--ps-bg:#edf3e7;border:1px solid #c9d3c9;border-left:6px solid var(--ps);border-radius:10px;background:#fff;margin:14px 0;padding:0 16px 14px;box-shadow:2px 3px 0 #243f3912}
.parent-section>summary{cursor:pointer;font-weight:700;min-height:44px;padding:11px 16px;margin:0 -16px 12px;background:var(--ps-bg);border-bottom:1px solid #dde4dc;border-radius:0 9px 0 0;box-sizing:border-box}
.parent-section:not([open]){padding-bottom:0}.parent-section:not([open])>summary{margin-bottom:0;border-bottom:0;border-radius:0 9px 9px 0}
.ps-tresc{--ps:#285849;--ps-bg:#edf3e7}.ps-brudnopis{--ps:#c99a2e;--ps-bg:#fbf3dc}.ps-stat{--ps:#176ab3;--ps-bg:#e8f1fa}
.ps-historia{--ps:#6b7a74;--ps-bg:#f0f2ef}.ps-rozw{--ps:#b45300;--ps-bg:#fbeee2}.ps-notatki{--ps:#7a3fa8;--ps-bg:#f3ecf8}
.parent-section .draft-view{margin:0}.parent-section .parent-facts{margin:0}.parent-section .parent-content{margin:0}.parent-section .steps{margin-top:0}
.parent-task>h2{padding-bottom:10px;border-bottom:2px solid #dde4dc}
@media(max-width:480px){.parent-section{padding:0 12px 12px}.parent-section>summary{padding:11px 12px;margin:0 -12px 10px}}.parent-section .draft-view{margin-top:2px}
.note-editor{resize:vertical;overflow:auto;height:220px;max-height:90vh}.note-editor.is-large{height:70vh}
/* ===== Uwagi 2026-11-08: samoocena w toku, informacja o wglądzie rodzica ===== */
.test-pending{margin:6px 0 0;font-weight:650;color:#8a5a00}
.watch-notice{margin:0 0 16px;padding:12px 14px;border:1px solid #d9c8ea;border-left:6px solid #7a3fa8;border-radius:10px;background:#f6f0fa;color:var(--ink);font-size:15px}
@media (max-width:360px){.task-table th,.task-table td{padding:8px 4px;hyphens:auto}}
button.lock-button{font:inherit;color:inherit;cursor:pointer}
.admin-details summary{cursor:pointer;font-weight:650;color:var(--green);min-height:44px;display:flex;align-items:center}
.admin-actions{display:grid;gap:12px;margin:8px 0 12px;width:100%}
.admin-actions form,.admin-actions>div{display:grid;gap:8px;border:1px solid var(--line);border-radius:8px;padding:12px;background:#fffefb;min-width:0}
.admin-actions p{margin:0}
.admin-wide{grid-template-columns:repeat(auto-fit,minmax(min(100%,260px),1fr))}
.admin-confirm{display:flex;gap:8px;align-items:flex-start;font-weight:400}
.admin-confirm input{width:auto;min-height:0;margin-top:4px}
.primary.danger{background:#9b2f2f;border-color:#9b2f2f}
.admin-list{margin:0;padding-left:20px;font-size:.9em;overflow-wrap:anywhere}
.admin-actions input[type=password],.admin-actions select{width:100%;max-width:100%;border:1px solid #aabbb1;border-radius:8px;padding:10px;background:#fff;font:inherit;font-size:16px;color:var(--ink)}
.admin-actions label{margin:4px 0 0}
.admin-row .admin-actions{grid-template-columns:repeat(auto-fit,minmax(min(100%,260px),1fr))}
.stat-table tr.has-admin{border-bottom:0}
.stat-table tr.has-admin td{border-bottom:0}
@media(max-width:760px){.stat-table tr.admin-row td{display:block}}
.admin-actions form,.admin-actions>div{align-content:start}.admin-actions .primary{margin-top:8px}
.admin-tabs{display:flex;flex-wrap:wrap;gap:8px;margin:0 0 20px}.admin-tabs a{display:inline-flex;align-items:center;min-height:44px;padding:10px 16px;border:1px solid #c9d3c9;border-radius:8px;background:#fffefb;text-decoration:none;font-weight:600;color:var(--ink)}.admin-tabs a[aria-current]{background:var(--green);border-color:var(--green);color:#fff}
.task-source{margin:-4px 0 14px;color:var(--muted);font-size:14px}.task-again{margin-top:14px}.topic-intro{color:var(--muted);margin:0 0 14px}.task{scroll-margin-top:96px}
h1,h2{overflow-wrap:break-word;hyphens:auto}
.understand{margin-top:16px}.understand-q{font-weight:650;margin:0 0 8px}.understand-options{display:flex;flex-wrap:wrap;gap:8px}.understand-btn{min-height:44px;border:1px solid #c9d3c9;border-radius:8px;padding:8px 12px;background:#fffefb;font:inherit;color:inherit;cursor:pointer;text-align:left}.understand-btn[aria-pressed=true]{background:var(--green);border-color:var(--green);color:#fff}
.qstat-btn{float:right;margin:0 0 8px 12px;font:inherit;font-size:13px;font-weight:600;min-height:36px;padding:6px 10px;border-radius:8px;border:1px solid #b9c4bc;background:#f1f3f0;color:#4d5a55;cursor:pointer}
.qstat-ok{background:#e5f2e5;border-color:#7fb27f;color:#245c2c}.qstat-bad{background:#fbe9e7;border-color:#d99a92;color:#9b2f2f}
.qstat-body{clear:both;margin:0 0 14px;padding:8px 10px;border:1px solid var(--line);border-radius:8px;background:#f7f8f5;font-size:14px}
.qs-n{color:#596c66}.qs-ok{color:#2c7a36}.qs-bad{color:#b23b3b}
