.knowledge{height:100%;min-height:0;display:grid;grid-template-rows:auto minmax(0,1fr) auto;gap:18px;color:#fff;font-family:SnapshotSans,"Hiragino Kaku Gothic ProN",sans-serif}
.knowledge-heading{min-width:0;padding:4px 0 0}
.knowledge-eyebrow{font-size:12px;line-height:1.5;color:#cde4ff;letter-spacing:.02em}
#app .knowledge h1{margin:8px 0;font:700 clamp(23px,6vw,30px)/1.4 SnapshotSans,sans-serif;letter-spacing:-.035em;color:#fff}
.knowledge-intro{font-size:14px;line-height:1.7;color:#d6e8ff}
.knowledge-content{min-height:0;overflow-y:auto;overflow-x:hidden;padding:0 10px 20px 2px;overscroll-behavior:contain;touch-action:pan-y pinch-zoom;-webkit-overflow-scrolling:touch;scrollbar-width:thin;scrollbar-color:#b4eaff80 transparent;overflow-anchor:none}
.knowledge-content:focus-visible{outline:2px solid #a7e3ff;outline-offset:-2px}
.knowledge-entry{padding:24px 0 30px;border-bottom:1px solid #ffffff35;overflow-wrap:anywhere}
.knowledge-entry:first-child{padding-top:8px}
.knowledge-entry-meta{display:flex;justify-content:space-between;gap:12px;font-size:11px;line-height:1.5;color:#cde4ff}
.knowledge-entry-meta span:first-child{font-family:RankinoDisplay,SnapshotSans,sans-serif}
.knowledge-topic{margin:12px 0 16px;font:700 20px/1.6 SnapshotSans,sans-serif;color:white;letter-spacing:-.02em}
.knowledge-recap{margin-bottom:24px;color:#d6e8ff}
.knowledge-recap summary{width:fit-content;max-width:100%;cursor:pointer;min-height:32px;padding:4px 0;font-size:13px;line-height:1.8;text-decoration:underline;text-underline-offset:4px}
.knowledge-recap summary:focus-visible,.knowledge-reference:focus-visible{outline:2px solid #a7e3ff;outline-offset:4px;border-radius:2px}
.knowledge-entry p{margin:12px 0 0;white-space:pre-line;font-size:16px;line-height:1.9;font-weight:500}
.knowledge-lesson+.knowledge-lesson{margin-top:24px;padding-top:24px;border-top:1px solid #ffffff20}
.knowledge-lesson h3{margin:20px 0 8px;color:#b4eaff;font-size:14px;line-height:1.5;font-weight:700}
.knowledge-lesson h3:first-child{margin-top:0}
.knowledge-entry .knowledge-question{font-size:14px;color:#d6e8ff;line-height:1.8}
.knowledge-entry .knowledge-answer{font-weight:700;color:#fff}
.knowledge-reference{display:inline-block;margin-top:14px;padding:4px 0;color:#b4eaff;font-size:13px;line-height:1.7;text-decoration:underline;text-underline-offset:4px}
.knowledge-blocks{display:flex;gap:4px;margin-top:14px;padding:4px;background:#061d6859;border-radius:12px}
.knowledge-blocks button{flex:1;min-width:0;min-height:38px;border:0;border-radius:8px;padding:7px 6px;background:transparent;color:#d6e8ff;font-size:13px}
.knowledge-blocks button[aria-pressed="true"]{background:white;color:#173ec1;font-weight:700}
.knowledge-end{padding:28px 0 8px;text-align:center;font-size:14px;color:#d6e8ff}
.knowledge-back{min-height:40px;margin:0}
.result-knowledge{width:100%;min-height:44px;margin-top:10px;border:1px solid #ffffff65;border-radius:12px;padding:9px 12px;background:#ffffff12;color:#fff;font:700 15px/1.5 SnapshotSans,sans-serif;transition:background 160ms,border-color 160ms}
.result-knowledge:hover{background:#ffffff24;border-color:white}
@media(max-height:700px){.knowledge{gap:10px}.knowledge-heading{padding-top:0}#app .knowledge h1{margin:5px 0;font-size:24px}.knowledge-entry{padding:20px 0}.knowledge-entry p{font-size:15px}.knowledge-blocks{margin-top:8px}.result-knowledge{margin-top:8px;min-height:40px;padding:7px 10px}}
@media(max-width:350px){.knowledge-intro{font-size:12px}.knowledge-blocks button{font-size:12px}.knowledge-entry-meta{font-size:10px}.knowledge-topic{font-size:18px}}
@media(orientation:landscape) and (max-height:600px){.knowledge{grid-template-columns:230px minmax(0,1fr);grid-template-rows:minmax(0,1fr) auto;column-gap:28px}.knowledge-heading{grid-column:1;grid-row:1;align-self:start}.knowledge-content{grid-column:2;grid-row:1 / 3}.knowledge-back{grid-column:1;grid-row:2}.knowledge-blocks{flex-direction:column}.result-knowledge{min-height:38px;font-size:14px}}
@media(prefers-reduced-motion:reduce){.result-knowledge{transition:none}}
