:root{--bs-primary:#0b7063;--bs-primary-rgb:11,112,99;--ink:#173f39;--line:#cbddd5}*{box-sizing:border-box}body{margin:0;color:var(--ink);background:#f7f6ee;font-family:system-ui,sans-serif;line-height:1.65;overflow-wrap:anywhere}.lab{max-width:1280px;padding:20px}.hero{background:#073f37;color:#fff9e9;padding:32px;border-radius:22px;margin-bottom:22px}.hero h1{font-size:clamp(1.8rem,4vw,3.2rem);line-height:1.12;font-weight:800;margin-bottom:24px}.hero p{max-width:850px}.eyebrow{font-size:.74rem;font-weight:800;letter-spacing:.1em}.notice{background:#e5edce;color:#25473d;border-left:4px solid #d8c264;padding:14px 16px;border-radius:0 10px 10px 0}.card-panel{background:#fffef8;border:1px solid var(--line);border-radius:18px;padding:24px;margin-bottom:22px;min-width:0}.task-grid{display:grid;grid-template-columns:minmax(0,.8fr) minmax(0,1.3fr);gap:26px}.workspace{display:grid;grid-template-columns:minmax(0,1.4fr) minmax(0,1fr);gap:22px}.panel-heading{display:flex;justify-content:space-between;gap:15px;flex-wrap:wrap}.mode{display:flex;align-items:center;gap:8px;font-size:.88rem;min-height:44px}h2{font-size:1.35rem;font-weight:750;margin:0 0 16px}h3{font-size:1.1rem;font-weight:750;margin:22px 0 12px}.toolbar{display:flex;flex-wrap:wrap;gap:8px;margin-bottom:14px}.btn{font-weight:650;min-height:44px;white-space:normal}.btn-primary{background:#0b7063;border-color:#0b7063}.btn-outline-primary{color:#0b6358;border-color:#6e9d90}.btn-outline-primary:hover,.btn-outline-primary[aria-pressed=true]{background:#0b7063;border-color:#0b7063;color:white}.form-control,.form-select{min-height:46px;font-size:16px;max-width:100%;min-width:0;border-color:#94b6a8}.form-control:focus,.form-select:focus,.btn:focus-visible{outline:3px solid #e2bb40;outline-offset:2px;box-shadow:none}input[type=checkbox]{width:20px;height:20px}.editor-wrap{position:relative;margin:10px 0}#editor{border:1px solid #84aa9b;border-radius:12px;padding:18px;min-height:220px;max-height:520px;overflow:auto;outline:none;background:white}#editor:focus{outline:3px solid #d4b852;outline-offset:2px}#editor[contenteditable=false]{background:#edf2ea}#empty-hint{position:absolute;pointer-events:none;top:18px;left:18px;color:#6d7c72}.preview{padding:18px;background:#eff3e8;border-radius:12px;min-height:150px;max-height:600px;overflow:auto}.editor-p{margin:0 0 12px}.editor-h1{font-size:1.7rem;font-weight:800}.editor-h2{font-size:1.4rem}.editor-h3{font-size:1.16rem}.editor-quote{margin:16px 0;padding:8px 16px;border-left:4px solid #b99b37;color:#566d62}.editor-ul,.editor-ol{padding-left:28px}.editor-li{margin:6px 0}.editor-checked,.editor-unchecked{list-style:none;position:relative;margin-left:0;min-height:28px;padding-left:5px}.editor-checked:before,.editor-unchecked:before{content:'';position:absolute;left:-24px;top:4px;width:20px;height:20px;border:2px solid #477d6a;border-radius:4px;cursor:pointer}.editor-checked:before{content:'✓';background:#0b7063;color:white;line-height:16px;text-align:center}.editor-checked{text-decoration:line-through;color:#60746a}.editor-link{color:#076f69;text-decoration:underline}.text-bold{font-weight:800}.text-italic{font-style:italic}.text-strike{text-decoration:line-through}.text-underline{text-decoration:underline}.text-code{background:#dce9dc;padding:2px 4px;font-family:monospace}.status{padding:12px 14px;background:#e9f1df;border-radius:10px;min-height:48px}.muted{color:#64766b}pre{background:#123d36;color:#eff8e9;border-radius:12px;padding:16px;white-space:pre;overflow:auto;max-width:100%;font-size:.8rem;max-height:450px}summary{cursor:pointer;padding:12px 0;font-weight:700;min-height:44px}.code-input{font-family:ui-monospace,monospace;font-size:.85rem}footer{font-size:.8rem;padding:12px;color:#627268}a{color:#08756b}button:disabled{opacity:.5}@media(max-width:850px){.workspace,.task-grid{grid-template-columns:minmax(0,1fr)}}@media(max-width:420px){.lab{padding:12px}.hero,.card-panel{padding:18px}.hero h1{font-size:1.9rem}.toolbar{gap:7px}.toolbar .btn{padding:8px 11px}.editor-wrap #editor,.preview{padding:12px}pre{padding:12px}.hero{border-radius:16px}}@media(prefers-reduced-motion:reduce){*{scroll-behavior:auto!important;transition:none!important}}
