/*
 * IPAK Theme Enforcer — Sitewide Detail CSS v1.1.0
 * Uses --ipak-* custom properties set by the inline critical CSS.
 * Rules gated on [data-ipak-settings-theme-ready='1'] (inert until JS confirms).
 * Canonical values match platform defaults. .has-global-padding NEVER display:none.
 */
html[data-ipak-settings-theme-ready='1'] body { background: var(--ipak-bg) !important; color: var(--ipak-text) !important; }
html[data-ipak-settings-theme-ready='1'] .wp-site-blocks,
html[data-ipak-settings-theme-ready='1'] main,
html[data-ipak-settings-theme-ready='1'] .entry-content,
html[data-ipak-settings-theme-ready='1'] .wp-block-post-content,
html[data-ipak-settings-theme-ready='1'] .wp-block-group { background: var(--ipak-bg) !important; }
html[data-ipak-settings-theme-ready='1'] .wl-root,
html[data-ipak-settings-theme-ready='1'] .cp-root,
html[data-ipak-settings-theme-ready='1'] .pp-root,
html[data-ipak-settings-theme-ready='1'] #ip-root,
html[data-ipak-settings-theme-ready='1'] #gmRoot,
html[data-ipak-settings-theme-ready='1'] .member-dashboard,
html[data-ipak-settings-theme-ready='1'] #ipak-settings-root,
html[data-ipak-settings-theme-ready='1'] #set-wrap,
html[data-ipak-settings-theme-ready='1'] #ipak-calendar-root,
html[data-ipak-settings-theme-ready='1'] #ipak-communities-root,
html[data-ipak-settings-theme-ready='1'] #ipak-inbox-root,
html[data-ipak-settings-theme-ready='1'] #ipak-search-root,
html[data-ipak-settings-theme-ready='1'] #ipak-profile-root { background: var(--ipak-bg) !important; color: var(--ipak-text) !important; }
html[data-ipak-settings-theme-ready='1'] .sidebar { background: var(--ipak-surface) !important; border-color: var(--ipak-accent-soft) !important; }
html[data-ipak-settings-theme-ready='1'] .nav-item { color: var(--ipak-muted) !important; }
html[data-ipak-settings-theme-ready='1'] .nav-item:hover,
html[data-ipak-settings-theme-ready='1'] .nav-item.active { background: var(--ipak-accent-faint) !important; color: var(--ipak-accent) !important; }
html[data-ipak-settings-theme-ready='1'] .top-search-bar { background: var(--ipak-bg) !important; border-color: var(--ipak-accent-soft) !important; }
html[data-ipak-settings-theme-ready='1'] .top-search-input { background: var(--ipak-surface) !important; border-color: var(--ipak-accent-soft) !important; color: var(--ipak-text) !important; }
html[data-ipak-settings-theme-ready='1'] .profile-name,
html[data-ipak-settings-theme-ready='1'] .section-title,
html[data-ipak-settings-theme-ready='1'] .feed-username,
html[data-ipak-settings-theme-ready='1'] .ticker-title,
html[data-ipak-settings-theme-ready='1'] .ticker-item-user,
html[data-ipak-settings-theme-ready='1'] .create-post-title { color: var(--ipak-accent) !important; }
html[data-ipak-settings-theme-ready='1'] .feed-item,
html[data-ipak-settings-theme-ready='1'] .create-post-section,
html[data-ipak-settings-theme-ready='1'] .ticker-container,
html[data-ipak-settings-theme-ready='1'] .ipak-card { background: var(--ipak-surface) !important; border-color: var(--ipak-accent-soft) !important; }
html[data-ipak-settings-theme-ready='1'] .feed-title { color: var(--ipak-text) !important; }
html[data-ipak-settings-theme-ready='1'] .feed-content { color: var(--ipak-muted) !important; }
html[data-ipak-settings-theme-ready='1'] .post-btn.primary,
html[data-ipak-settings-theme-ready='1'] .edit-btn.primary { background: var(--ipak-accent) !important; color: var(--ipak-accent-fg) !important; }
html[data-ipak-settings-theme-ready='1'] .profile-badge { background: linear-gradient(135deg, var(--ipak-accent) 0%, var(--ipak-accent-2) 100%) !important; }
html[data-ipak-settings-theme-ready='1'] .editable-content,
html[data-ipak-settings-theme-ready='1'] .post-input { border-color: var(--ipak-accent-soft) !important; background: var(--ipak-surface) !important; color: var(--ipak-text) !important; }
html[data-large-text='on'][data-ipak-settings-theme-ready='1'] body { font-size: 120% !important; }
html[data-reduced-motion='on'][data-ipak-settings-theme-ready='1'] *,
html[data-reduced-motion='on'][data-ipak-settings-theme-ready='1'] *::before,
html[data-reduced-motion='on'][data-ipak-settings-theme-ready='1'] *::after { animation-duration: 0s !important; animation-iteration-count: 1 !important; transition-duration: 0s !important; scroll-behavior: auto !important; }
