.portal-navigation{display:flex;align-items:center;gap:20px;min-height:44px;padding:6px 24px;background:var(--paper-light,#f7f4eb);color:var(--ink,#263a39);border-bottom:1px solid var(--line,#c7cbbf);font:12px/1.4 'Segoe UI',sans-serif}.portal-navigation>a{color:inherit;text-decoration:none;min-height:32px;display:flex;align-items:center}.portal-navigation>a:first-child{font-weight:600}.portal-navigation>a:hover{text-decoration:underline;text-underline-offset:4px}.portal-navigation>a:focus-visible{outline:3px solid var(--rust,#ac4b32);outline-offset:3px}.portal-language-slot{margin-left:auto;display:flex;align-items:center}.demo-next-actions{display:grid;gap:8px;margin-top:16px}.demo-next-actions a{padding:10px 12px;text-align:center;border:1px solid var(--line);border-radius:2px;text-decoration:none;font-weight:600;font-size:13px}.demo-next-actions a.primary{background:var(--ink);color:var(--paper-light)}[data-start-table][hidden]{display:none!important}@media(max-width:600px){.portal-navigation{gap:12px;padding-inline:12px;font-size:11px}.portal-language-slot [data-language-control]{margin:0!important}.portal-language-slot select{max-width:104px!important}}

.portal-navigation{position:sticky;top:0;z-index:30;flex-wrap:wrap}.portal-language-slot{flex:0 0 auto}

@font-face {
  font-family: 'Bricolage Grotesque';
  src: url('/fonts/bricolage-grotesque-latin.woff2') format('woff2');
  font-weight: 500 800;
  font-display: swap;
}
body:has(> .portal-navigation) { background: #f3f0e8; }
.portal-navigation {
  background: #fffdf7;
  color: #181c19;
  border-bottom: 2px solid #181c19;
  gap: 8px 20px;
  font-size: 13px;
}
.portal-navigation > a { font-weight: 650; }
.portal-navigation > a:first-child { color: #a71451; }
.portal-navigation > a:focus-visible { outline-color: #a71451; }
.portal-language-slot select { background: #fffdf7; color: #181c19; border: 1px solid #53564f; border-radius: 0; }
body:has(.portal-navigation) :is(.topbar, .masthead) { background: #fffdf7; color: #181c19; border-bottom: 2px solid #181c19; }
body:has(.portal-navigation) :is(.table-title, .intro h1, .decision h2) { font-family: 'Bricolage Grotesque', system-ui, sans-serif; font-weight: 800; }
.topbar .table-title span, .masthead .edition { color: #51524c; }
.topbar .top-actions button, .demo-next-actions a { border: 1px solid #181c19; background: #fffdf7; color: #181c19; border-radius: 0; }
.demo-next-actions a.primary, .decision button.primary { border: 2px solid #181c19; background: #ff639b; color: #181c19; box-shadow: 2px 2px #181c19; }
.command-rail .rail-heading { background: #181c19; color: white; }
@media (max-width: 600px) { .portal-navigation { gap: 6px 12px; font-size: 12px; } }


#faction-content > .kit-button { display: inline-flex; align-items: center; margin: 16px 4px 0 0; border: 2px solid #181c19; background: #ff639b; color: #181c19; font-weight: 700; text-decoration: none; box-shadow: 3px 3px #181c19; }
#faction-picker .faction-tab { align-items: center; }
#faction-picker .faction-tab svg { grid-row: auto; }
