.term-page{max-width:1240px}.term{display:grid;grid-template-columns:240px minmax(0,1fr);gap:18px;margin:26px 0 40px}.term-side{align-self:start;position:sticky;top:100px;max-height:calc(100vh - 120px);overflow:auto;padding:14px 12px;border:1px solid var(--line);border-radius:var(--radius);background:var(--white)}.term-side h2{margin:4px 6px 6px;color:var(--muted);font:700 .66rem ui-monospace,monospace;letter-spacing:.12em;text-transform:uppercase}.term-side section+section{margin-top:14px}.term-side ul{margin:0;padding:0;list-style:none}.term-side button{display:block;width:100%;padding:6px 8px;border:0;border-radius:8px;background:none;color:var(--ink);font:inherit;font-size:.86rem;text-align:left;cursor:pointer}.term-side button:hover{background:var(--wash)}.term-side button.active{background:var(--teal);color:#fff}.term-main{min-width:0}.term-lab{display:grid;gap:10px;margin-bottom:12px;padding:16px 18px;border:1px solid var(--line);border-radius:var(--radius);background:var(--white)}.term-lab h2{margin:2px 0 4px;font-size:1.3rem}.term-lab p{margin:0;line-height:1.55}.term-lab details summary{color:var(--teal-dark);font-weight:600;cursor:pointer}.term-lab details p{margin:8px 0;color:var(--muted);font-size:.92rem}.term-lab button,.term-lab select{padding:6px 12px;border:1px solid var(--line);border-radius:8px;background:var(--paper);color:var(--ink);font:inherit;font-size:.85rem;cursor:pointer}.term-checks ul{margin:6px 0 0;padding:0;list-style:none;font-size:.9rem}.term-checks li{margin:3px 0;color:var(--muted)}.term-checks li.ok{color:var(--teal-dark)}.term-checks li.ok span{font-weight:700}.term-actions{display:flex;flex-wrap:wrap;gap:8px}.term-notice{color:var(--orange);font-size:.86rem}.term-screen{height:min(70vh,640px);min-height:360px;overflow:auto;overscroll-behavior:contain;padding:14px 16px;border-radius:var(--radius);background:var(--pg-term,#10211f);color:#d6eadf;font:.82rem/1.55 ui-monospace,SFMono-Regular,Consolas,monospace;cursor:text}.term-line{white-space:pre-wrap;overflow-wrap:anywhere}.term-prompt{color:#8fd8c6;-webkit-user-select:none;user-select:none}.term-status{color:#f4a58a}.term-out{margin:0;padding:0;background:none;border:0;color:#d6eadf;font:inherit;white-space:pre;tab-size:8}.term-error{color:#f4a58a}.term-notice.term-out,.term-out.term-notice{color:#7ea399}.term-running{display:flex;align-items:center;gap:8px;margin:4px 0;color:#e5b567}.term-running kbd{padding:0 5px;border:1px solid #2c4c46;border-radius:4px;font-size:.7rem}.term-input{display:flex;align-items:baseline}.term-input input{flex:1 1;min-width:0;padding:0;border:0;outline:none;background:none;color:#fff;font:inherit;caret-color:#8fd8c6}.term-editor{margin-top:8px;padding:10px;border:1px solid #2c4c46;border-radius:10px;background:#0c1a18}.term-editor p{margin:0 0 6px;color:#9ab8ad}.term-editor textarea{width:100%;min-height:260px;padding:8px;border:1px solid #233f3a;border-radius:6px;background:#10211f;color:#fff;font:inherit;resize:vertical}.term-editor div{display:flex;gap:8px;margin-top:6px}.term-editor button{padding:5px 14px;border:1px solid #2c4c46;border-radius:7px;background:#142a27;color:#d6eadf;font:inherit;cursor:pointer}.term-foot{margin:8px 2px 0;color:var(--muted);font-size:.8rem}.term-about{margin:10px 0 40px}.term-about-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(240px,1fr));gap:18px;margin:16px 0}.term-about-grid h3{margin:0 0 6px}.term-about-grid p{margin:0;color:var(--muted);line-height:1.6}@media (max-width:820px){.term{grid-template-columns:1fr}.term-side{position:static;max-height:220px}.term-screen{height:60vh}}.term-spinner{width:11px;height:11px;border:2px solid #e5b56755;border-top-color:#e5b567;border-radius:50%;animation:term-spin .8s linear infinite}@keyframes term-spin{to{transform:rotate(1turn)}}@media (prefers-reduced-motion:reduce){.term-spinner{animation:none}}@media (pointer:coarse){.term-editor textarea,.term-input input,.term-lab select{font-size:16px}}