/* Compact navigation keeps the menu and strategic resources visible while reading. */
.sticky-shell { position: sticky; top: 0; z-index: 20; width: 100%; max-width: 100%; overflow-x: clip; }
.sticky-shell .site-header { position: relative; }
.sticky-shell .resources { position: static; margin-bottom: 0; }
.site-header.is-compact .theme-toggle { display: none; }
.site-header.is-compact nav { justify-content: center; }
.site-header.is-compact .nav-links { order: initial; }
.site-header.authenticated nav{justify-content:flex-start}
.site-header.authenticated .brand{flex:0 0 auto;margin-right:.35rem}
.site-header.authenticated .nav-links{order:initial;width:100%;margin-left:0}
.footer-identity{display:flex;align-items:center;flex-wrap:wrap;gap:.5rem .75rem;min-width:0;max-width:100%}.footer-profile{min-width:0;overflow-wrap:anywhere;color:var(--text);font-weight:800;text-decoration:none}.footer-profile:hover{color:var(--gold)}.footer-release{max-width:100%;padding:.15rem .5rem;border:1px solid var(--line);border-radius:999px;color:var(--muted);font-size:.72rem;white-space:nowrap}
body>footer{display:flex;align-items:center;gap:1rem 1.5rem;flex-wrap:wrap}
body>footer nav{margin-left:auto}.footer-identity .brand{font-size:1rem}.footer-identity .brand>span{display:inline}
body>footer .theme-toggle{margin-left:0}
.kizzmit-banner{display:flex;align-items:center;justify-content:space-between;gap:1rem;padding:.7rem max(1rem,calc((100% - 100rem)/2));border-bottom:2px solid #fff;background:#8f2d24;color:#fff;box-shadow:0 .25rem 1rem #0005}.kizzmit-banner div{display:grid;gap:.05rem}.kizzmit-banner strong{font-size:1rem;letter-spacing:.06em;text-transform:uppercase}.kizzmit-banner span{font-weight:800}.kizzmit-banner small{color:#fff}.kizzmit-banner form{flex:0 0 auto}.kizzmit-banner button{min-height:44px;border-color:#fff;background:#fff;color:#641d17;text-shadow:none}.kizzmit-banner button:hover{background:#f4e8e6;color:#641d17}.kizzmit-active .toast-region{top:190px}@media(max-width:760px){.kizzmit-banner{align-items:stretch;flex-direction:column}.kizzmit-banner form,.kizzmit-banner button{width:100%}.kizzmit-active .toast-region{top:240px}}

html[data-theme="light"] button:not(.secondary):not(.link):not(.nav-toggle):not(.theme-toggle):not(.toast-close),
html[data-theme="light"] .button:not(.secondary) {
  color: #fff;
  text-shadow: 0 1px 1px #0005;
}
html[data-theme] .kizzmit-banner button {
  border-color: #fff;
  background: #fff;
  color: #641d17 !important;
  text-shadow: none !important;
}
html[data-theme] .kizzmit-banner button:hover {
  background: #f4e8e6;
  color: #641d17 !important;
  text-shadow: none !important;
}
.resource-rate.positive { color: var(--green) !important; }
.resource-rate.negative { color: var(--red) !important; }

@media (max-width: 760px) {
  .site-header.is-compact .nav-toggle { margin-left: auto; }
  .site-header.is-compact nav { justify-content: flex-end; }
  .site-header.authenticated nav{justify-content:flex-end}
  .site-header.authenticated .brand{margin-right:auto}
  .site-header.authenticated .nav-toggle{margin-left:auto}
  body>footer{align-items:flex-start;flex-direction:column}
  body>footer nav{margin-left:0}
}
