/* 0.6.1: center desktop header groups; private social-destination status.
   Banner, body/cards and mobile edge alignment remain unchanged. */
body.cenae-p11-preview .cenae-v4-navrow-inner,
body.cenae-p11-preview .cenae-v4-compact-inner {
    justify-content: center; column-gap: 28px;
}
body.cenae-p11-preview .cenae-v4-nav-tools,
body.cenae-p11-preview .cenae-v4-compact-tools {
    display: flex; align-items: center; gap: 4px; margin-left: 0; flex: 0 0 auto;
}
body.cenae-p11-preview .cenae-p11-header-socials {
    display: flex; align-items: center; gap: 4px; position: relative; padding-left: 13px; margin-left: 8px;
}
body.cenae-p11-preview .cenae-p11-header-socials::before {
    content: ''; position: absolute; left: 0; top: 12px; bottom: 12px; width: 1px; background: var(--cenae-rule);
}
body.cenae-p11-preview .cenae-p11-icon-wrap { position: relative; display: inline-flex; align-items: center; }
body.cenae-p11-preview .cenae-v4-header .cenae-p11-icon-control {
    display: inline-flex !important; align-items: center; justify-content: center; flex: 0 0 44px;
    min-width: 44px; min-height: 44px; width: 44px; height: 44px; padding: 0 !important;
    margin: 0; border: 0; border-radius: 2px; background: transparent; color: var(--cenae-ink) !important;
    text-decoration: none; cursor: pointer; box-sizing: border-box; line-height: 1;
}
/* Suppress any inherited pseudo-loupe: there is exactly one SVG. */
body.cenae-p11-preview .cenae-v4-header .cenae-p11-icon-control::before,
body.cenae-p11-preview .cenae-v4-header .cenae-p11-icon-control::after { content: none !important; display: none; }
body.cenae-p11-preview .cenae-v4-header .cenae-p11-icon-control:hover { background: var(--cenae-paper); color: var(--cenae-paramo) !important; }
body.cenae-p11-preview .cenae-p11-tool-icon { display: block; width: 20px; height: 20px; flex: 0 0 20px; pointer-events: none; }
body.cenae-p11-preview .cenae-p11-icon-tooltip {
    position: absolute; z-index: 10; top: 100%; left: 0; width: max-content; max-width: min(280px,calc(100vw - 24px));
    padding: 7px 10px; border: 1px solid var(--cenae-rule); border-radius: 2px;
    color: var(--cenae-ink); background: var(--cenae-card); box-shadow: 0 3px 8px rgb(15 23 20 / 10%);
    font: 400 13px/1.4 var(--cenae-sans); text-transform: none; letter-spacing: 0; overflow-wrap: anywhere;
}
body.cenae-p11-preview .cenae-p11-sr-only {
    position: absolute !important; width: 1px !important; height: 1px !important; padding: 0 !important;
    margin: -1px !important; overflow: hidden !important; clip: rect(0,0,0,0) !important; white-space: nowrap !important; border: 0 !important;
}
body.cenae-p11-preview .cenae-p11-mobile-utilities { margin-top: 12px; padding: 12px 16px 0; border-top: 1px solid var(--cenae-rule); }
body.cenae-p11-preview .cenae-p11-mobile-socials h2,
body.cenae-p11-preview .cenae-p11-footer-socials h2 { font: 500 12px/1.5 var(--cenae-sans); color: var(--cenae-muted); text-transform: uppercase; letter-spacing: .05em; margin: 0 0 8px; }
body.cenae-p11-preview .cenae-p11-mobile-utilities a { display: flex; align-items: center; gap: 12px; min-height: 44px; padding: 10px 0; font: 500 16px/1.5 var(--cenae-sans); color: var(--cenae-ink); }
body.cenae-p11-preview .cenae-p11-mobile-subscription { margin-top: 8px; font-size: 15px; }
/* Shared section separates institutional contact from equal-weight social destinations. */
body.cenae-p11-preview .cenae-v4-footer-actions.cenae-p11-footer-actions-060 { display: flex; flex-direction: column; align-items: flex-start; gap: 18px; min-width: 0; }
body.cenae-p11-preview .cenae-p11-footer-actions-060 > .cenae-v4-footer-contact { align-self: flex-start; }
body.cenae-p11-preview .cenae-p11-footer-socials { min-width: 0; max-width: 100%; }
body.cenae-p11-preview .cenae-p11-footer-social-buttons { display: flex; flex-wrap: wrap; align-items: stretch; gap: 10px; }
body.cenae-p11-preview .cenae-p11-footer-actions-060 a.cenae-p11-social-button {
    display: inline-flex; align-items: center; justify-content: center; min-height: 44px; padding: 10px 12px;
    border: 1px solid var(--cenae-paramo); border-radius: 2px; background: transparent; color: var(--cenae-paramo);
    font: 500 13px/1.4 var(--cenae-sans); letter-spacing: 0; text-transform: none; text-decoration: none; white-space: normal;
}
body.cenae-p11-preview .cenae-p11-footer-actions-060 a.cenae-p11-social-button:hover { background: var(--cenae-paramo); color: var(--cenae-card); }
body.cenae-p11-preview .cenae-p11-footer-actions-060 a.cenae-p11-footer-subscription {
    display: inline-flex; align-items: center; gap: 8px; padding: 6px 0; min-height: 44px; border: 0; background: transparent;
    color: var(--cenae-paramo); font: 400 14px/1.5 var(--cenae-sans); text-transform: none; letter-spacing: 0;
    text-decoration: underline; text-underline-offset: .25em; text-decoration-color: var(--cenae-rule);
}
@media (max-width:1199px) {
    body.cenae-p11-preview.cenae-p11-style-refined .cenae-v4-compact-inner { justify-content: space-between; gap: 12px; }
    body.cenae-p11-preview.cenae-p11-style-refined .cenae-v4-compact-tools .cenae-p11-header-socials { display: none; }
}
@media (max-width:1023px) {
    body.cenae-p11-preview .cenae-v4-compact-inner { justify-content: space-between; gap: 12px; }
    body.cenae-p11-preview .cenae-v4-compact-tools .cenae-p11-header-socials { display: none; }
}
@media (max-width:1100px) {
    body.cenae-p11-preview .cenae-v4-footer-actions.cenae-p11-footer-actions-060 { grid-column: 1/-1; flex-direction: column; align-items: flex-start; }
}
@media (max-width:480px) {
    body.cenae-p11-preview .cenae-p11-footer-social-buttons { flex-direction: column; }
    body.cenae-p11-preview .cenae-p11-footer-actions-060 a.cenae-p11-social-button { justify-content: flex-start; }
}

/* A diagnostic within the existing PRIVATE toolbar, never a fake social link. */
body.cenae-p11-preview .cenae-p11-social-pending {
    flex: 1 1 100%; min-width: 0; display: flex; flex-wrap: wrap;
    align-items: center; gap: 4px 12px; padding-top: 8px;
    border-top: 1px solid var(--cenae-rule);
    font: 400 13px/1.5 var(--cenae-sans); color: var(--cenae-muted);
}
body.cenae-p11-preview .cenae-p11-social-pending > span { flex: 1 1 360px; min-width: 0; }
body.cenae-p11-preview .cenae-p11-social-pending > a {
    flex: 0 1 auto; color: var(--cenae-paramo); font-weight: 500;
    text-decoration: underline; text-underline-offset: .2em;
}
