/* === SOURCE: css/286-v595-header-body-card-polish.css === */

@media(min-width:761px){
  /* Brand: cleaner separation and a web-native transparent mark. */
  body .topbar>.site-brand,
  body.attributes-workspace-compact .topbar>.site-brand,
  body.non-attribute-editor-active .topbar>.site-brand{
    gap:18px!important;
  }

  body .site-logo{
    width:154px!important;
    height:48px!important;
    object-fit:contain!important;
    mix-blend-mode:normal!important;
    filter:none!important;
    opacity:1!important;
    background:transparent!important;
    border:0!important;
    box-shadow:none!important;
  }

  body .site-brand-copy{
    gap:5px!important;
  }

  body .site-brand-copy h1{
    display:flex!important;
    align-items:center!important;
    gap:0!important;
    white-space:nowrap!important;
    line-height:1!important;
    letter-spacing:0!important;
  }

  body .site-brand-copy h1 .pc-brand-main{
    display:block!important;
    font-size:24px!important;
    line-height:1!important;
    letter-spacing:-.035em!important;
    font-weight:880!important;
  }

  body .site-brand-copy h1 .pc-brand-divider{
    display:block!important;
    flex:0 0 auto!important;
    width:1px!important;
    height:25px!important;
    margin:0 14px!important;
    overflow:hidden!important;
    color:transparent!important;
    font-size:0!important;
    background:linear-gradient(180deg,
      rgba(var(--pc-atmo-rgb),.18),
      rgba(var(--pc-atmo-rgb),.64),
      rgba(var(--pc-atmo-rgb),.18))!important;
    border-radius:99px!important;
  }

  body .site-brand-copy h1 .pc-brand-cn{
    display:block!important;
    font-size:18px!important;
    line-height:1!important;
    font-weight:760!important;
    letter-spacing:-.012em!important;
    color:#bbc4ca!important;
  }

  body .site-brand-copy .eyebrow{
    font-size:7.5px!important;
    letter-spacing:.17em!important;
  }

  /* Expanded Body panel: attribute deltas first, plot second. */
  .global-archetype-overview-card .ovc-body-expanded{
    gap:11px!important;
  }

  .global-archetype-overview-card .ovc-body-mods{
    margin:0!important;
    gap:7px!important;
  }

  .global-archetype-overview-card .ovc-body-mod{
    min-height:40px!important;
    padding:8px 10px!important;
    border-radius:10px!important;
  }

  .global-archetype-overview-card .ovc-body-mod span{
    font-size:11.5px!important;
    line-height:1.15!important;
    font-weight:760!important;
    letter-spacing:0!important;
  }

  .global-archetype-overview-card .ovc-body-mod strong{
    font-size:14px!important;
    line-height:1!important;
    font-weight:900!important;
  }

  .global-archetype-overview-card .ovc-body-plot{
    margin-top:1px!important;
  }
}

/* === SOURCE: css/287-v596-header-priority-nav-fix.css === */

@media(min-width:761px){
  /* ---------------------------------------------------------
     1) Active navigation:
        restore line-only highlight, remove the solid block
        introduced by the later Premium UI layer.
     --------------------------------------------------------- */
  body .editor-view-tab.active,
  body.attributes-workspace-compact .editor-view-tab.active,
  body.non-attribute-editor-active .editor-view-tab.active{
    background:transparent!important;
    box-shadow:none!important;
    border-color:transparent!important;
    color:#e2c979!important;
  }

  body .editor-view-tab.active:hover,
  body.attributes-workspace-compact .editor-view-tab.active:hover,
  body.non-attribute-editor-active .editor-view-tab.active:hover{
    background:rgba(var(--pc-gold-rgb),.018)!important;
    box-shadow:none!important;
  }

  body .editor-view-tab.active::after,
  body.attributes-workspace-compact .editor-view-tab.active::after,
  body.non-attribute-editor-active .editor-view-tab.active::after{
    left:15px!important;
    right:15px!important;
    bottom:-1px!important;
    height:2px!important;
    border-radius:99px!important;
    background:linear-gradient(90deg,
      transparent,
      rgba(var(--pc-gold-rgb),.90) 18%,
      rgba(var(--pc-gold-rgb),.90) 82%,
      transparent)!important;
    box-shadow:0 0 8px rgba(var(--pc-gold-rgb),.14)!important;
  }

  /* ---------------------------------------------------------
     2) Header geometry:
        old attribute-page CSS has higher specificity and was
        forcing h1 back to display:block. Match/exceed that
        specificity at EOF so every editor page uses ONE header.
     --------------------------------------------------------- */
  body .topbar,
  body.attributes-workspace-compact .topbar,
  body.non-attribute-editor-active .topbar{
    display:flex!important;
    align-items:center!important;
    flex-wrap:nowrap!important;
  }

  body .topbar>.site-brand,
  body.attributes-workspace-compact .topbar>.site-brand,
  body.non-attribute-editor-active .topbar>.site-brand,
  body.attributes-workspace-compact .topbar>div:first-child{
    display:flex!important;
    align-items:center!important;
    flex:0 0 auto!important;
    flex-wrap:nowrap!important;
    min-width:max-content!important;
    width:max-content!important;
    max-width:none!important;
    gap:18px!important;
    margin:0!important;
    padding:0!important;
    transform:none!important;
  }

  body .site-logo,
  body.attributes-workspace-compact .site-logo,
  body.non-attribute-editor-active .site-logo{
    display:block!important;
    flex:0 0 154px!important;
    width:154px!important;
    height:48px!important;
    min-width:154px!important;
    max-width:154px!important;
    object-fit:contain!important;
    align-self:center!important;
    margin:0!important;
    padding:0!important;
    transform:none!important;
    mix-blend-mode:normal!important;
    filter:none!important;
    opacity:1!important;
    background:transparent!important;
    border:0!important;
    box-shadow:none!important;
  }

  body .site-brand-copy,
  body.attributes-workspace-compact .site-brand-copy,
  body.non-attribute-editor-active .site-brand-copy{
    display:flex!important;
    flex-direction:column!important;
    justify-content:center!important;
    align-items:flex-start!important;
    flex:0 0 auto!important;
    min-width:max-content!important;
    width:max-content!important;
    max-width:none!important;
    gap:5px!important;
    margin:0!important;
    padding:0!important;
    transform:none!important;
    translate:none!important;
    position:static!important;
  }

  body .topbar .eyebrow,
  body.attributes-workspace-compact .topbar .eyebrow,
  body.non-attribute-editor-active .topbar .eyebrow{
    display:block!important;
    width:max-content!important;
    max-width:none!important;
    margin:0!important;
    padding:0!important;
    white-space:nowrap!important;
    transform:none!important;
    position:static!important;
  }

  body .site-brand-copy h1,
  body.attributes-workspace-compact .site-brand-copy h1,
  body.non-attribute-editor-active .site-brand-copy h1,
  body.attributes-workspace-compact .topbar h1,
  body.non-attribute-editor-active .topbar h1{
    display:flex!important;
    flex-direction:row!important;
    align-items:center!important;
    flex-wrap:nowrap!important;
    width:max-content!important;
    min-width:max-content!important;
    max-width:none!important;
    margin:0!important;
    padding:0!important;
    gap:0!important;
    white-space:nowrap!important;
    line-height:1!important;
    letter-spacing:0!important;
    transform:none!important;
    position:static!important;
  }

  body .site-brand-copy h1 .pc-brand-main,
  body.attributes-workspace-compact .site-brand-copy h1 .pc-brand-main,
  body.non-attribute-editor-active .site-brand-copy h1 .pc-brand-main{
    display:block!important;
    flex:0 0 auto!important;
    font-size:24px!important;
    line-height:1!important;
    letter-spacing:-.035em!important;
    font-weight:880!important;
    white-space:nowrap!important;
  }

  body .site-brand-copy h1 .pc-brand-divider,
  body.attributes-workspace-compact .site-brand-copy h1 .pc-brand-divider,
  body.non-attribute-editor-active .site-brand-copy h1 .pc-brand-divider{
    display:block!important;
    flex:0 0 1px!important;
    width:1px!important;
    height:25px!important;
    margin:0 14px!important;
    overflow:hidden!important;
    color:transparent!important;
    font-size:0!important;
    background:linear-gradient(180deg,
      rgba(var(--pc-atmo-rgb),.18),
      rgba(var(--pc-atmo-rgb),.64),
      rgba(var(--pc-atmo-rgb),.18))!important;
    border-radius:99px!important;
  }

  body .site-brand-copy h1 .pc-brand-cn,
  body.attributes-workspace-compact .site-brand-copy h1 .pc-brand-cn,
  body.non-attribute-editor-active .site-brand-copy h1 .pc-brand-cn{
    display:block!important;
    flex:0 0 auto!important;
    font-size:18px!important;
    line-height:1!important;
    font-weight:760!important;
    letter-spacing:-.012em!important;
    color:#bbc4ca!important;
    white-space:nowrap!important;
  }
}
