/* H1.6: spacing and typography only; original navigation and auth retained. */
.knowledge-layout{line-height:1.7}
.kb-topbar,.kb-page-shell{max-width:1200px}
.kb-topbar{min-height:84px;padding-top:16px;padding-bottom:16px}
.kb-hero{min-height:260px;margin-top:24px;border-radius:16px}
.hero-copy{padding:30px 36px;width:72%}
.kb-hero h1{font-size:clamp(30px,3vw,42px);line-height:1.35;letter-spacing:2px;margin:0}
.hero-eyebrow{margin-bottom:12px!important}
.hero-description{margin-top:12px!important;max-width:390px}
.hero-caption{margin-top:16px}
.kb-shortcuts{display:grid;grid-template-columns:auto repeat(3,minmax(0,1fr));gap:12px;margin:20px 0 32px;padding:16px 18px;border:1px solid var(--kb-line);border-radius:12px;background:#102018ed}
.shortcut-label{margin:0 10px 0 0;white-space:nowrap}
.kb-shortcuts button{min-height:44px;padding:10px 12px;border-radius:8px;line-height:1.5}
.projects-heading{margin-bottom:18px;align-items:center}
.section-kicker{margin:0 0 4px}
.projects-heading h2{margin:0;font-family:inherit;font-size:24px;font-weight:600;letter-spacing:.5px}
.project-search{width:250px;min-height:44px}
.project-grid{gap:16px;align-items:stretch}
.project-card{padding:22px;min-height:234px;background:linear-gradient(135deg,#1a2d23fa,#112018fa)}
.project-card-top{margin-bottom:16px}
.project-card strong{font-family:inherit;font-size:21px;line-height:1.5;letter-spacing:.5px}
.project-description{line-height:1.8;margin:10px 0 20px;min-height:50px;color:#b8c3b7}
.project-card-bottom{padding-top:14px;font-size:12px;line-height:1.5}
.project-enter{font-size:12px}
.knowledge-layout :is(button,a,input):focus-visible{outline:2px solid #e4c78c;outline-offset:4px}
.knowledge-layout [hidden]{display:none!important}
.knowledge-layout .source-dialog .kb-doc{font-size:15px;line-height:1.9;overflow-wrap:anywhere}
.knowledge-layout .source-dialog .kb-doc :is(h1,h2,h3,h4){font-family:inherit;line-height:1.5;letter-spacing:0;text-align:left;margin:1.6em 0 .65em;color:#ead7ab}
.knowledge-layout .source-dialog .kb-doc h1{font-size:24px;margin-top:0}
.knowledge-layout .source-dialog .kb-doc h2{font-size:20px}
.knowledge-layout .source-dialog .kb-doc :is(h3,h4){font-size:17px}
.knowledge-layout .source-dialog .kb-doc p{margin:.75em 0}
.knowledge-layout .source-dialog .kb-doc :is(ul,ol){padding-left:1.5em;margin:.75em 0}
.knowledge-layout .source-dialog .kb-doc li{margin:.4em 0}
.knowledge-layout .source-dialog .kb-table{overflow-x:auto;margin:16px 0;border:1px solid #d9c08a30;border-radius:8px}
.knowledge-layout .source-dialog .kb-table table{border-collapse:collapse;width:100%;font-size:14px}
.knowledge-layout .source-dialog .kb-table :is(th,td){padding:10px 12px;text-align:left;vertical-align:top;border-bottom:1px solid #ffffff12;min-width:100px}
.knowledge-layout .source-dialog .kb-table th{background:#d9c08a0c;color:#e4c78c;font-weight:600}
.knowledge-layout .source-dialog .kb-doc pre{overflow-x:auto;white-space:pre;max-width:100%;padding:14px;background:#0004;border-radius:8px}
.knowledge-layout .source-dialog .kb-meta{white-space:pre-wrap;overflow-wrap:anywhere}
@media(max-width:900px){.hero-copy{width:80%;padding:28px}.project-card{min-height:226px}.kb-shortcuts{gap:10px;padding:14px}.shortcut-label{margin-right:0}}
@media(max-width:600px){
.kb-topbar{min-height:74px;padding:14px 18px}.kb-page-shell{padding:0 18px}
.kb-hero{min-height:224px;margin-top:18px;border-radius:12px}.hero-copy{padding:22px;width:100%}
.kb-hero h1{font-size:30px;line-height:1.35;letter-spacing:1px}.hero-eyebrow{font-size:9px;margin-bottom:12px!important}
.hero-description{font-size:13px;max-width:210px;line-height:1.7}.hero-caption{font-size:10px;margin-top:14px}
.kb-shortcuts{grid-template-columns:repeat(3,minmax(0,1fr));gap:8px;margin:16px 0 26px;padding:12px}
.shortcut-label{grid-column:1/-1;font-size:11px;line-height:1.5}
.kb-shortcuts button{font-size:12px;min-height:44px;padding:8px 3px;white-space:nowrap}
.projects-heading{gap:12px;margin-bottom:14px}.projects-heading h2{font-size:21px}.project-search{width:136px;min-height:42px}
.project-grid{gap:12px}.project-card{min-height:0;padding:18px}.project-card-top{margin-bottom:10px}
.project-icon{width:34px;height:34px;border-radius:9px}.project-icon svg{width:20px;height:20px}
.project-card strong{font-size:20px}.project-description{min-height:0;margin:7px 0 14px;font-size:13px;line-height:1.8}
.project-card-bottom{padding-top:12px;font-size:11px}.knowledge-layout .source-dialog .club-frame-body{padding:16px}
.kb-site-footer{line-height:1.8}
}
@media(max-width:350px){.kb-topbar{padding:12px}.kb-page-shell{padding:0 12px}.kb-brand{gap:7px}.kb-topbar nav>*{padding:7px 6px}.project-search{width:124px}.kb-shortcuts{padding:10px;gap:6px}.hero-copy{padding:20px}}
