:root{font-family:Arial,Helvetica,sans-serif;color:#edf6f1;background:#0d1d17;--mint:#56d8a5;--card:#142b21;--muted:#b3c7bc;--line:#345344;--amber:#ffd27a;--red:#ffaaa3}
*{box-sizing:border-box}html{scroll-behavior:smooth}body{margin:0;min-height:100vh;line-height:1.5;background:radial-gradient(ellipse at 50% 0,#1b4936 0,#0d1d17 66%)}button,input,select{font:inherit}a{color:var(--mint);text-decoration:none}a:hover{text-decoration:underline}
.shell{width:min(1120px,calc(100% - 32px));margin:0 auto;padding:26px 0 40px}.back{font-size:14px;font-weight:700}.hero{padding:35px 0 25px}.eyebrow{margin:0 0 8px;color:var(--mint);font-size:11px;font-weight:800;letter-spacing:1.2px}h1,h2,h3,p{margin-top:0}h1{margin-bottom:0;font-size:clamp(32px,5vw,50px);line-height:1.08;letter-spacing:-1.5px}h2{margin:0;font-size:19px;line-height:1.25}h3{margin-bottom:6px;font-size:14px}.intro{max-width:750px;margin:12px 0 0;color:var(--muted);font-size:16px}
.concept-strip{display:grid;grid-template-columns:repeat(4,1fr);gap:9px;margin-bottom:15px}.concept-strip>div{display:grid;grid-template-columns:32px 1fr;column-gap:8px;align-items:center;padding:11px 12px;border:1px solid var(--line);border-radius:10px;background:#12271e}.concept-strip span{grid-row:span 2;display:grid;place-items:center;width:29px;height:29px;border-radius:8px;background:#203d2e;color:var(--mint);font:700 11px Consolas,monospace}.concept-strip strong{font-size:12px}.concept-strip small{color:var(--muted);font-size:10px}
.tools-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:13px}.panel{padding:19px;background:linear-gradient(145deg,#17352a,#12271e);border:1px solid var(--line);border-radius:13px;box-shadow:0 14px 34px #0002}.tool-card{display:flex;flex-direction:column}.panel-heading{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:8px}.panel-heading .eyebrow{margin-bottom:4px}.panel-icon{width:40px;min-width:40px;height:36px;display:grid;place-items:center;border:1px solid #357455;border-radius:9px;background:#173b2b;color:var(--mint);font:700 11px Consolas,monospace}.description{min-height:38px;margin:0 0 15px;color:var(--muted);font-size:12px}.tool-form{display:grid;gap:10px;margin-bottom:13px}.tool-form label{display:grid;gap:5px;color:#dce9e0;font-size:11px;font-weight:700}.tool-form input,.tool-form select{min-width:0;width:100%;height:38px;padding:8px 10px;border:1px solid #486c59;border-radius:7px;outline:none;background:#0e2118;color:#edf6f1;font-size:12px}.tool-form input:focus,.tool-form select:focus{border-color:var(--mint);box-shadow:0 0 0 2px #56d8a522}.primary{min-height:39px;padding:9px 12px;border:1px solid var(--mint);border-radius:8px;background:var(--mint);color:#092017;font-size:12px;font-weight:800;cursor:pointer}.primary:hover{filter:brightness(1.08)}button:focus-visible,a:focus-visible,input:focus-visible,select:focus-visible{outline:3px solid #b5f3d6;outline-offset:2px}
.set-results{display:grid;gap:6px;margin-top:auto}.set-results>div{display:grid;grid-template-columns:1fr auto;gap:8px;padding:9px 10px;border:1px solid #2c4938;border-radius:8px;background:#0e2118}.set-results span{color:var(--muted);font-size:10px}.set-results strong{color:var(--mint);font:600 12px Consolas,monospace;text-align:right;overflow-wrap:anywhere}.set-results.error strong{color:var(--red)}.truth-table{width:100%;border-collapse:collapse;border:1px solid #345344;border-radius:8px;overflow:hidden;background:#0e2118;text-align:center;font-size:12px}.truth-table th,.truth-table td{padding:8px;border-bottom:1px solid #2c4938}.truth-table th{color:#c5f2dc;background:#17352a}.truth-table tr:last-child td{border-bottom:0}.truth-table .true{color:var(--mint);font-weight:800}.truth-table .false{color:var(--red);font-weight:800}.hint{margin:8px 0 0;color:#9eb2a6;font-size:10px}.relation-card{grid-column:1/-1}.property-list{display:grid;grid-template-columns:repeat(2,1fr);gap:8px}.property-list>div{display:flex;align-items:center;gap:9px;padding:10px;border:1px solid #2c4938;border-radius:8px;background:#0e2118}.property-list strong,.property-list small{display:block}.property-list strong{font-size:11px}.property-list small{margin-top:2px;color:var(--muted);font-size:10px}.status{width:24px;height:24px;min-width:24px;display:grid;place-items:center;border-radius:50%;font-weight:800}.status.yes{color:var(--mint);background:#173b2b}.status.no{color:var(--red);background:#402622}.error-note{grid-column:1/-1;padding:10px;border:1px solid #774a43;border-radius:8px;color:var(--red);font-size:12px}
.learning{margin-top:14px}.learning .panel-heading{margin-bottom:14px}.learning-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:9px}.learning-grid article{padding:12px;border:1px solid #2b4938;border-radius:8px;background:#0e2118}.learning-grid h3{color:#c5f2dc;font-size:12px}.learning-grid p{margin:0;color:var(--muted);font-size:11px}.scope-note{display:flex;gap:7px;margin:13px 0 0;padding-top:12px;border-top:1px solid var(--line);color:#9eb2a6;font-size:10px}.scope-note span{color:var(--mint)}.footnote{display:flex;justify-content:space-between;gap:12px;margin:14px 0 0;color:#9eb2a6;font-size:11px}code{color:#c5f2dc}
@media(max-width:800px){.concept-strip{grid-template-columns:repeat(2,1fr)}.learning-grid{grid-template-columns:repeat(2,1fr)}}@media(max-width:600px){.shell{width:min(100% - 22px,1120px);padding-top:18px}.hero{padding:27px 0 18px}.intro{font-size:13px}.tools-grid{grid-template-columns:1fr;gap:10px}.panel{padding:15px}.description{min-height:0}.footnote{flex-direction:column}.relation-card{grid-column:auto}.property-list{grid-template-columns:1fr}}@media(prefers-reduced-motion:reduce){html{scroll-behavior:auto}}
