/* v223.0: Compact public guest nav; align authenticated brand with public shell.
 * Isolated to authenticated header and public top nav. Report editors and admin are untouched.
 */
header.ip42-header > .frame.head {
  max-width:1216px;
  margin-inline:auto;
}
header.ip42-header .ip223-property-logo {
  display:block; flex:0 0 auto; width:auto; max-width:68px; height:44px;
  object-fit:contain; object-position:center;
}
/* Existing address refresh animation must also acknowledge account-owned logo. */
header.ip42-header .ip221-property-refresh.is-refreshing .ip223-property-logo {
  animation:ip221-refresher 1.3s ease-in-out infinite;
}
/* Keep dashboard identity and property address aligned without changing main workspace width. */
@media(max-width:850px){
  header.ip42-header > .frame.head { max-width:100%; }
  header.ip42-header .ip223-property-logo { max-width:42px; height:36px; }
}
@media(max-width:430px){
  header.ip42-header .ip223-property-logo { max-width:34px; height:30px; }
}
/* Clear guest header: Features / Pricing / Support / Create Account + Sign In.
   Theme remains accessible from the open mobile menu and footer. */
@media(min-width:1200px){
  body.ps-body #ps-header #ps-primary-nav > .ps-theme-toggle { display:none!important; }
  body.ps-body #ps-header .ps-nav { gap:clamp(12px,1.15vw,20px)!important; }
  body.ps-body #ps-header .ps-brand { flex:0 1 298px; }
}
/* Appearance button in footer is text-link styled, not a new third primary action. */
body.ps-body .ps-footer-links .ip223-footer-appearance {
  display:inline-flex; align-items:center; gap:7px;
  background:transparent; color:inherit; border:0; padding:0;
  font:inherit; font-weight:inherit; cursor:pointer; text-decoration:none;
  min-height:32px;
}
body.ps-body .ps-footer-links .ip223-footer-appearance:hover { text-decoration:underline; }
body.ps-body .ps-footer-links .ip223-footer-appearance:focus-visible {outline:3px solid #1473d2;outline-offset:3px}
@media(prefers-reduced-motion:reduce){
  header.ip42-header .ip221-property-refresh.is-refreshing .ip223-property-logo{animation:none}
}
