/* Official KirMoon SVGs: keep their viewBox, spacing and internal animation intact. */
.km-wordmark,.terms-brand-mark{display:block;width:9em;max-width:100%;letter-spacing:normal;line-height:0;isolation:auto}
.km-wordmark>.kirmoon-logo,.terms-brand-mark>.kirmoon-logo{display:block;width:100%;height:auto;overflow:visible}
.kirmoon-logo-image,.navigation-notice img.kirmoon-logo-image{display:block;width:161px;max-width:100%;height:auto;flex:none}
.km-brand:focus-visible{outline:2px solid #c8d6e6;outline-offset:6px}
@media(max-width:560px){.mobile-brand .km-wordmark{width:161px}}

.kirmoon-logo,.kirmoon-logo-image,.dl-logo,.dl-terms-logo{shape-rendering:geometricPrecision;image-rendering:auto}


/* Paired institutional and product signatures, as in WebPrisma. */
.dl-brand-lockup{display:flex;align-items:center;gap:14px;flex:none;min-width:0}
.dl-kirmoon-brand{display:inline-flex;align-items:center;min-height:44px;flex:none;text-decoration:none}
.dl-kirmoon-logo{display:block;width:161px;height:39px;flex:none;image-rendering:auto}
.dl-brand-divider{display:block;flex:none;width:1px;height:24px;background:rgba(236,238,241,.28)}
.km-theme .terms-brand,.km-theme .connection-brand{justify-content:flex-start;gap:14px}
.km-theme .terms-brand .dl-terms-logo{height:34px;width:auto}
.dl-top{grid-template-columns:auto minmax(0,1fr) auto}
.dl-top-nav{justify-self:center}
.dl-top-actions:has(button[hidden]){display:none}
.lab-landing .dl-top{grid-template-columns:auto minmax(0,1fr) auto}
.lab-landing .dl-top-brand .dl-logo{height:44px;width:210.3px;flex:none}
.km-theme .app-header .dl-brand .dl-logo{height:40px;width:191.2px;flex:none}
.km-theme .terms-brand.dl-brand-lockup,.km-theme .connection-brand.dl-brand-lockup{justify-content:flex-start;gap:14px}
.km-theme .legal-dialog .terms-brand .dl-terms-logo{height:34px;width:162.5px}
@media(max-width:860px){.dl-top:has(.dl-top-actions button[hidden]){grid-template-columns:minmax(0,1fr)}}
@media(max-width:860px){.lab-landing .dl-top:has(.dl-top-actions button[hidden]){grid-template-columns:minmax(0,1fr)}}
@media(max-width:640px){.dl-brand-lockup,.km-theme .terms-brand{gap:10px}.dl-top-brand .dl-logo{height:34px}}
@media(max-width:640px){.lab-landing .dl-brand-lockup{gap:10px}.lab-landing .dl-top-brand .dl-logo{height:34px;width:162.5px}}
@media(max-width:370px){.dl-brand-lockup{gap:7px}.dl-top .dl-kirmoon-logo{width:132px;height:32px}.dl-top-brand .dl-logo{height:30px}}
@media(max-width:370px){.lab-landing .dl-brand-lockup{gap:5px}.lab-landing .dl-top-brand .dl-logo{height:30px;width:143.4px}}
@media(max-width:560px){.km-theme .terms-brand .dl-kirmoon-logo{width:130px;height:auto}.km-theme .terms-brand .dl-terms-logo{height:30px}}
@media(max-width:560px){.km-theme .legal-dialog .terms-brand.dl-brand-lockup{gap:10px}.km-theme .legal-dialog .terms-brand .dl-terms-logo{height:30px;width:143.4px}}

/* Inline KirMoon uses the original SVG animation and isolated IDs. */
.dl-kirmoon-logo{shape-rendering:geometricPrecision;overflow:visible;stroke:none}
.lab-landing .dl-kirmoon-logo,.lab-landing .dl-kirmoon-logo svg{stroke:none;fill:none}
