:root{font-family:Segoe UI,system-ui,sans-serif;color:#233d39;background:#f6f5ef;font-synthesis:none;--green:#155e55;--line:#dce2d9;--amber:#91620a;--red:#b13d43}*{box-sizing:border-box}body{margin:0}header,main,footer{max-width:1160px;margin:auto}header{height:106px;display:flex;align-items:center;justify-content:space-between;border-bottom:1px solid var(--line);padding:0 28px}.brand{font-size:36px;font-weight:800;text-decoration:none;color:var(--green);letter-spacing:-2px}.brand>span:first-child{color:#e58a42}.brand-small{display:block;font-size:10px;letter-spacing:4px;margin-top:0}nav{display:flex;gap:10px}main{padding:36px 28px;min-height:70vh}h1{font-size:clamp(32px,5vw,48px);font-weight:650;letter-spacing:-1.6px;line-height:1.1;margin:12px 0 20px}h2{font-size:23px;margin:0 0 18px}h3{font-size:17px}p{line-height:1.7}.eyebrow{text-transform:uppercase;letter-spacing:2px;font-size:11px;font-weight:700;color:var(--green)}.muted,small{color:#687b73}.intro{max-width:650px;margin-bottom:30px}.grid{display:grid;grid-template-columns:1.5fr 1fr;gap:24px}.card{border:1px solid var(--line);background:#fffef9;border-radius:20px;padding:28px;margin-bottom:24px}.tint{background:#e7eee3}.row{display:flex;align-items:center;gap:12px;flex-wrap:wrap}.spread{justify-content:space-between}.stack{display:grid;gap:14px}label{display:grid;gap:7px;font-size:14px;font-weight:600}input,select,textarea{font:inherit;padding:12px 14px;border:1px solid #cbd6cb;border-radius:10px;background:white;color:#233d39;width:100%}input[type=checkbox]{width:auto;accent-color:var(--green)}.check{display:flex;align-items:flex-start;line-height:1.5}button{font:inherit;border:0;border-radius:10px;padding:12px 20px;background:var(--green);color:white;cursor:pointer;font-weight:600}button:hover{filter:brightness(.94)}button:disabled{opacity:.5;cursor:wait}button.quiet{background:transparent;color:var(--green);border:1px solid var(--line)}button.danger{background:#f8e6e4;color:#942b31}button.small{padding:7px 11px;font-size:13px}a{color:var(--green)}.badge{font-size:12px;padding:6px 10px;background:#e9efe5;border-radius:30px;display:inline-block}.badge.review{color:var(--amber);background:#fff1ce}.hero-card{background:var(--green);color:#fff;border-radius:20px;padding:30px}.hero-card p{color:#d0e4d9}.hero-card button{background:#f4d88b;color:#2d493e}.session{padding:18px 0;border-top:1px solid var(--line);display:flex;align-items:center;justify-content:space-between;gap:14px}.session h3{margin:0 0 5px}.stats{display:grid;grid-template-columns:repeat(4,1fr);gap:14px;margin:22px 0}.stat{border:1px solid var(--line);background:#fffef9;border-radius:14px;padding:20px}.stat b{display:block;font-size:29px;font-weight:650;margin-bottom:4px}.stat small{font-size:12px}.reading-text{font-size:clamp(24px,3vw,34px);line-height:2.15;letter-spacing:.3px;padding:18px 0}.word{display:inline;border-radius:5px;padding:2px 1px;font:inherit;color:inherit;border:0;background:none;font-weight:400;cursor:default}.word.matched{background:#e4f1e0;color:#256132}.word.corrected{background:#e3ecef;color:#246678}.word.review{ text-decoration:underline dotted #ca952d 3px;text-underline-offset:7px;cursor:pointer}.word.skipped{border-bottom:3px dashed #b5a1c7;cursor:pointer}.word.error{ text-decoration:underline #c33e49 3px;text-underline-offset:7px;cursor:pointer}.word.current{outline:2px solid #3a8473;outline-offset:3px}.legend{display:flex;gap:18px;flex-wrap:wrap;font-size:12px;color:#63776c}.legend span:before{content:'●';margin-right:6px}.legend .green{color:#388344}.legend .amber{color:#a57615}.legend .red{color:#b13d43}.legend .purple{color:#81649b}.reader-tools{position:sticky;bottom:15px;background:#fffef9ef;border:1px solid var(--line);border-radius:15px;padding:15px;display:flex;justify-content:space-between;align-items:center;gap:15px;backdrop-filter:blur(12px)}#notice:not(:empty){padding:15px 20px;border:1px solid #e2cb91;background:#fff4d8;border-radius:12px;margin-bottom:20px}.empty{padding:32px 0;color:#6b7b71}.filters{display:grid;grid-template-columns:1fr 1.3fr 1fr;gap:12px;margin:18px 0}dialog{color:#233d39;border:1px solid var(--line);border-radius:22px;padding:34px;max-width:590px;width:calc(100% - 30px);max-height:88vh}dialog::backdrop{background:#183c3780;backdrop-filter:blur(3px)}.close{float:right;background:none;color:#435d51;font-size:25px;padding:0 8px}.event{border-top:1px solid var(--line);padding:20px 0}.event p{margin:8px 0}.event audio{width:100%;margin:10px 0}.event label{margin:10px 0}.table-wrap{overflow:auto}table{border-collapse:collapse;width:100%;font-size:14px}th,td{text-align:left;padding:13px 10px;border-bottom:1px solid var(--line)}footer{padding:22px 28px;border-top:1px solid var(--line);font-size:12px;color:#718278;display:flex;justify-content:space-between}progress{width:100%;height:7px;accent-color:var(--green)}.login{max-width:480px;margin:30px auto}details summary{cursor:pointer;color:var(--green);font-weight:600;margin:8px 0}#timer{font-variant-numeric:tabular-nums}.status-dot{display:inline-block;width:8px;height:8px;border-radius:50%;background:#e1a255;margin-right:8px}@media(max-width:760px){header{height:90px;padding:0 20px}main{padding:25px 18px}.grid{grid-template-columns:1fr}.stats{grid-template-columns:repeat(2,1fr)}.card{padding:22px}.filters{grid-template-columns:1fr}footer{display:block}footer span{display:block;margin-top:8px}.reader-tools{align-items:flex-start;flex-direction:column}.session{align-items:flex-start}}

.hero-card .eyebrow{color:#d2e3c8}.session audio{display:block;max-width:100%;margin-top:12px}button:focus-visible,input:focus-visible,select:focus-visible{outline:3px solid #e7b84a;outline-offset:3px}#period{max-width:150px}.category-list{display:flex;gap:8px;flex-wrap:wrap}
.hero-card{margin-bottom:24px}.hero-card summary{color:#f3dca0}.hero-card details{margin-top:18px}.hero-card details label{margin-top:12px}.dialog-notice:not(:empty){padding:12px;background:#fff0c7;border-radius:8px;margin-bottom:16px}
.grid>*{min-width:0}.session>div{min-width:0;flex:1}.session audio,audio{min-width:0;max-width:100%;width:100%}dialog{max-width:calc(100vw - 30px);overflow-wrap:anywhere}
