.nimantron-pwa-banner{display:none;background:#fff;color:#171615;border-bottom:1px solid rgba(23,22,21,.10);box-shadow:0 5px 18px rgba(23,22,21,.08);position:relative;z-index:1200}.nimantron-pwa-banner.is-visible{display:block}.nimantron-pwa-inner{min-height:56px;display:grid;grid-template-columns:36px minmax(0,1fr) auto 26px;align-items:center;gap:9px;padding:7px max(10px,env(safe-area-inset-right)) 7px max(10px,env(safe-area-inset-left));max-width:1200px;margin:0 auto}.nimantron-pwa-icon{width:36px;height:36px;border-radius:10px;object-fit:contain;background:#f6f1e7;padding:3px}.nimantron-pwa-copy{min-width:0;line-height:1.2;overflow:visible}.nimantron-pwa-title{display:block;font:600 14px/1.2 'DM Sans',system-ui,sans-serif;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.nimantron-pwa-subtitle{display:block;margin-top:2px;font:400 10.5px/1.2 'DM Sans',system-ui,sans-serif;color:#66615a;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.nimantron-pwa-install{border:0;border-radius:10px;padding:8px 12px;background:#7d2d36;color:#fff;font:600 12px/1 'DM Sans',system-ui,sans-serif;cursor:pointer;white-space:nowrap;box-shadow:0 4px 12px rgba(125,45,54,.18)}.nimantron-pwa-install:active{transform:translateY(1px)}.nimantron-pwa-close{width:26px;height:26px;border:0;border-radius:50%;background:transparent;color:#635d56;font-size:20px;line-height:1;display:grid;place-items:center;cursor:pointer;padding:0}.nimantron-pwa-hint{display:none;padding:7px 14px 9px 55px;font:400 11.5px/1.35 'DM Sans',system-ui,sans-serif;color:#4f4a44;background:#fbf8f2;border-top:1px solid rgba(23,22,21,.06)}.nimantron-pwa-banner.show-ios-hint .nimantron-pwa-hint{display:block}.nimantron-desktop-install{display:none;align-items:center;gap:7px;height:36px;padding:0 11px;border:1px solid rgba(125,45,54,.24);border-radius:999px;background:rgba(125,45,54,.08);color:inherit;font:500 12.5px/1 'DM Sans',system-ui,sans-serif;cursor:pointer;white-space:nowrap;transition:background .18s ease,border-color .18s ease,transform .18s ease}.nimantron-desktop-install:hover{background:rgba(125,45,54,.14);border-color:rgba(125,45,54,.38)}.nimantron-desktop-install:active{transform:translateY(1px)}.nimantron-desktop-install.is-visible{display:inline-flex}.nimantron-desktop-install img{width:22px;height:22px;border-radius:7px;object-fit:contain;background:#f6f1e7;padding:1px}.nimantron-desktop-install svg{width:14px;height:14px;fill:none;stroke:currentColor;stroke-width:1.9;stroke-linecap:round;stroke-linejoin:round}html[data-public-theme='dark'] .nimantron-desktop-install{border-color:rgba(245,241,232,.18);background:rgba(245,241,232,.08)}html[data-public-theme='dark'] .nimantron-desktop-install:hover{background:rgba(245,241,232,.13);border-color:rgba(245,241,232,.28)}@media (min-width:821px){.nimantron-pwa-banner,.nimantron-pwa-banner.is-visible{display:none!important}}@media (max-width:820px){.nimantron-desktop-install,.nimantron-desktop-install.is-visible{display:none!important}}@media (max-width:380px){.nimantron-pwa-inner{grid-template-columns:34px minmax(0,1fr) auto 24px;gap:7px;padding:6px 8px}.nimantron-pwa-icon{width:34px;height:34px}.nimantron-pwa-install{padding:7px 9px}.nimantron-pwa-subtitle{font-size:10px}.nimantron-pwa-hint{padding-left:49px}}

/* Mobile public header: menu left, prominent monogram center, theme right. */
@media (max-width:820px){
  .site-header .navbar{
    position:relative;
    display:grid;
    grid-template-columns:48px minmax(0,1fr) auto;
    align-items:center;
    gap:8px;
    min-height:72px;
  }
  .site-header .brand-lockup{
    grid-column:2;
    grid-row:1;
    justify-self:center;
    min-width:0!important;
    width:58px!important;
    max-width:58px!important;
    height:58px;
    display:flex!important;
    align-items:center!important;
    justify-content:center!important;
    gap:0!important;
    overflow:visible;
    z-index:1;
  }
  .site-header .brand-lockup .brand-mark{display:none!important}
  .site-header .brand-lockup::before{
    content:"";
    display:block;
    width:56px;
    height:56px;
    flex:0 0 56px;
    background-image:url('/assets/nimantron-monogram-animated-v5.svg?v=20261017-global-brand');
    background-repeat:no-repeat;
    background-size:contain;
    background-position:center;
    filter:drop-shadow(0 5px 14px rgba(0,0,0,.34));
  }
  .site-header .brand-lockup::after{display:none!important;content:none!important}
  .site-header .nav-actions{display:contents}
  .site-header .menu-toggle{
    grid-column:1;
    grid-row:1;
    justify-self:start;
    display:grid!important;
    place-items:center;
    width:42px;
    height:42px;
    z-index:2;
  }
  .site-header .desktop-theme-toggle{
    grid-column:3;
    grid-row:1;
    justify-self:end;
    display:inline-flex!important;
    align-items:center;
    min-height:40px;
    height:40px;
    padding:0 10px;
    gap:6px;
    z-index:2;
    font-size:9px;
  }
  .site-header .desktop-theme-toggle svg{width:16px;height:16px}
  .site-header.mobile-open .nav-main{
    top:72px;
    left:0;
    right:0;
    width:100%;
    margin:0;
  }
  .public-mobile-theme{display:none!important}
  .public-mobile-bottom{grid-template-columns:repeat(4,1fr)!important}
}

/* Keep the public footer useful without making it a full extra screen on phones. */
@media (max-width:600px){
  .site-footer{padding:34px 0 20px!important}
  .site-footer .footer-grid{grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:24px 22px!important}
  .site-footer .footer-brand{grid-column:1/-1}
  .site-footer .footer-brand-lockup{
    display:flex!important;
    align-items:center!important;
    gap:8px!important;
    width:max-content;
    max-width:78vw;
    overflow:visible;
  }
  .site-footer .footer-brand-lockup img{display:none!important}
  .site-footer .footer-brand-lockup::before,
  .site-footer .footer-brand-lockup::after{
    content:"";
    display:block;
    flex:0 0 auto;
    height:58px;
    background-repeat:no-repeat;
  }
  .site-footer .footer-brand-lockup::before{
    width:58px;
    background-image:url('/assets/nimantron-monogram-animated-v5.svg?v=20261017-global-brand');
    background-size:contain;
    background-position:center;
  }
  .site-footer .footer-brand-lockup::after{
    width:150px;
    background-image:url('/assets/nimantron-logo-animated-v5.svg?v=20261017-global-brand');
    background-size:212px auto;
    background-position:-62px center;
  }
  .site-footer .footer-brand p{max-width:430px;margin:12px 0 0;font-size:10.5px;line-height:1.65}
  .site-footer h4{font-size:18px;margin-bottom:7px}
  .site-footer a{font-size:10.5px;line-height:1.75}
  .site-footer .footer-bottom{margin-top:22px;padding-top:14px;gap:8px;font-size:9px;line-height:1.45}
}

@media (max-width:390px){
  .site-header .navbar{grid-template-columns:44px minmax(0,1fr) auto;gap:5px;min-height:68px}
  .site-header .brand-lockup{width:54px!important;max-width:54px!important;height:54px}
  .site-header .brand-lockup::before{width:52px;height:52px;flex-basis:52px}
  .site-header .desktop-theme-toggle{min-height:38px;height:38px;padding:0 8px;font-size:8.5px}
  .site-header .menu-toggle{width:40px;height:40px}
  .site-header.mobile-open .nav-main{top:68px}
  .site-footer .footer-grid{gap:22px 18px!important}
  .site-footer .footer-brand-lockup{gap:7px!important}
  .site-footer .footer-brand-lockup::before,.site-footer .footer-brand-lockup::after{height:54px}
  .site-footer .footer-brand-lockup::before{width:54px}
  .site-footer .footer-brand-lockup::after{width:140px;background-size:198px auto;background-position:-58px center}
}
