:root{--accent:#173c78;--accent-soft:#eaf0fa;--radius:14px}
.topbar{min-height:112px;height:auto;padding-top:18px;padding-bottom:18px;gap:22px;align-items:center}
.topbar .brand{display:flex;flex-direction:column;align-items:flex-start;gap:8px;min-width:205px;flex-shrink:0}
.university-logo{display:block;width:224px!important;max-width:100%!important;height:70px!important;object-fit:contain;object-position:left center;background:white;border-radius:3px;padding:4px}
.brand-caption{font-size:9px;letter-spacing:.15em;color:var(--muted);font-weight:650}
.topbar nav{gap:20px;flex-wrap:wrap;justify-content:center}
.topbar nav a{font-size:12px}
.hero{padding-top:62px;padding-bottom:70px;gap:52px}
.hero h1{font-size:clamp(40px,4.3vw,64px);line-height:1.08;letter-spacing:-.045em}
.hero h1 em{color:var(--accent)}
.hero .lead{font-size:17px;line-height:1.8}
.author-credit{font-size:13px;line-height:1.7;margin:24px 0;color:var(--text);font-weight:600}
.author-credit span{font-size:11px;color:var(--muted);font-weight:400}
.segmented{flex-wrap:wrap}
.map-toolbar{gap:16px;flex-wrap:wrap}
.map-panel iframe{height:1350px}
.implementation-section{border-block:1px solid var(--border);background:var(--surface)}
.academic-abstract{padding:26px 30px;border-left:3px solid var(--accent);background:var(--bg);margin:30px 0}
.academic-abstract h3{font-size:18px;margin:0 0 12px}.academic-abstract p{font-size:14px;line-height:1.9;color:var(--muted);margin:12px 0 0}
.academic-abstract a,.adaptation-details a{color:var(--accent);text-underline-offset:4px}
.table-scroll{width:100%;overflow:auto;margin:34px 0 52px;outline-offset:4px;border:1px solid var(--border);border-radius:12px}
.academic-table{width:100%;border-collapse:collapse;text-align:left;min-width:820px;font-size:12px;line-height:1.85}
.academic-table caption{text-align:left;padding:18px 20px;background:var(--bg);font-weight:600;color:var(--text);font-size:12px}
.academic-table thead{background:var(--soft)}.academic-table th,.academic-table td{padding:20px;vertical-align:top;border-top:1px solid var(--border)}
.academic-table tbody th{width:31%;font-size:13px}.academic-table tbody td{width:34%;color:var(--muted)}
.academic-table th a{display:block;margin-top:10px;color:var(--accent);font-size:10px;font-weight:400;overflow-wrap:anywhere}
.academic-table code{white-space:normal;background:none;padding:0;overflow-wrap:anywhere}
.repo-explorer,.command-panel{display:grid;grid-template-columns:.9fr 1.1fr;gap:44px;align-items:start;margin:50px 0}
.repo-explorer h3,.command-panel h3{font-size:26px;line-height:1.3;letter-spacing:-.025em;margin:10px 0 20px}
.repo-explorer p,.command-panel p{font-size:13px;color:var(--muted);line-height:1.85}.repo-explorer .field,.command-panel .field{margin:24px 0 16px}
.repo-explorer select,.command-panel select{font-size:16px;max-width:100%}
.code-box{min-width:0;overflow:hidden}.code-box pre{overflow:auto;max-width:100%;line-height:1.8;font-size:12px;tab-size:2}
.code-box .code-note{padding:0 22px 20px;margin:0;font-size:12px;line-height:1.8;color:var(--muted)}
.movement-cards{display:grid;grid-template-columns:repeat(3,1fr);gap:20px;margin:45px 0 22px}
.movement-cards article{padding:25px;border:1px solid var(--border);border-radius:12px;background:var(--bg)}
.movement-cards article>span{font:600 12px var(--mono);color:var(--accent)}.movement-cards h3{font-size:17px;margin:16px 0}.movement-cards p{font-size:12px;line-height:1.9;color:var(--muted)}
.adaptation-details{padding:24px;border:1px solid var(--border);border-radius:12px;margin:32px 0}.adaptation-details summary{font-size:15px;cursor:pointer;font-weight:600;line-height:1.5}.adaptation-details p{font-size:13px;line-height:1.9;color:var(--muted)}.adaptation-details pre{background:var(--bg);padding:22px;font:12px/1.9 var(--mono);overflow:auto}
.source-list a{overflow-wrap:anywhere}.source-list strong{font-size:15px}footer p{max-width:540px;line-height:1.8}
@media(min-width:1100px){.topbar{padding-inline:4vw}.topbar nav{margin-left:auto}.hero .scene{align-self:center}}
@media(max-width:1000px){.topbar{flex-wrap:wrap}.topbar nav{order:3;width:100%}.topbar #theme{margin-left:auto}.hero{gap:30px}.repo-explorer,.command-panel{gap:26px}.segmented button{font-size:12px}}
@media(max-width:700px){.topbar{padding:16px 22px}.university-logo{width:190px!important;height:58px!important}.topbar .brand{min-width:170px}.topbar nav{justify-content:flex-start;gap:8px 18px}.hero{padding-top:42px;gap:30px}.hero h1{font-size:43px}.hero .lead{font-size:15px}.hero h1 br{display:none}.author-credit{font-size:12px}.repo-explorer,.command-panel{grid-template-columns:1fr;gap:20px}.movement-cards{grid-template-columns:1fr}.academic-abstract{padding:22px}.academic-table{min-width:760px}.map-toolbar{align-items:flex-start}.segmented{width:100%}.segmented button{flex:1;min-width:90px;font-size:11px;padding:12px 7px}.segmented button span{display:block;margin:0 0 5px}.repo-explorer h3,.command-panel h3{font-size:24px}.code-box pre{font-size:11px}.map-panel iframe{height:1500px}}
@media(max-width:390px){.topbar{padding:16px 18px;gap:12px}.university-logo{width:166px!important;height:54px!important}.topbar .brand{min-width:155px}.topbar #theme{font-size:10px;padding:10px}.hero h1{font-size:38px}.brand-caption{font-size:8px}}
@media print{.implementation-section{background:#fff}.repo-explorer,.command-panel{display:block}.table-scroll{overflow:visible}.academic-table{min-width:0;font-size:10px}.academic-table td,.academic-table th{padding:8px}.university-logo{display:block!important}.code-box{break-inside:avoid}}
