/* R134: consistent readable geometry, isolated from forum/user content. */
html[data-theme] body.admin-console-body{font-family:"Open Sans",system-ui,sans-serif!important;font-size:14px!important;line-height:1.5!important}
html[data-theme] body.admin-console-body #content{width:100%;max-width:1600px;padding:18px 20px;box-sizing:border-box;margin:auto}
html[data-theme] body.admin-console-body #content .admin-layout{display:grid!important;grid-template-columns:248px minmax(0,1fr)!important;gap:20px!important;align-items:start}
html[data-theme] body.admin-console-body #content .admin-layout>div,html[data-theme] body.admin-console-body #content .admin-content{min-width:0;width:100%;max-width:none}
html[data-theme] body.admin-console-body #content .admin-sidebar{position:sticky!important;top:80px!important;height:auto!important;max-height:calc(100dvh - 96px);overflow:auto;padding:12px!important;border-radius:8px!important}
html[data-theme] body.admin-console-body #content .admin-sidebar-brand{display:flex!important;gap:10px!important;align-items:center;padding:8px 4px 16px!important;min-height:0!important}
html[data-theme] body.admin-console-body #content .admin-sidebar-brand>span:last-child{display:block!important;position:static!important;font-size:13px!important;color:var(--fx101-text)!important}
html[data-theme] body.admin-console-body #content .admin-sidebar-brand small{display:block;font-size:11px}
html[data-theme] body.admin-console-body #content .admin-nav-section{padding:0!important;border:0!important;background:transparent!important;margin:0 0 14px!important}
html[data-theme] body.admin-console-body #content .admin-nav-label{display:block!important;padding:8px 8px 5px!important;font-size:11px!important;font-weight:700;letter-spacing:.04em;text-align:left!important;color:var(--fx101-muted)!important}
html[data-theme] body.admin-console-body #content .admin-nav-link{display:flex!important;flex-direction:row!important;justify-content:flex-start!important;align-items:center!important;gap:10px!important;width:100%!important;min-height:38px!important;height:auto!important;padding:8px 10px!important;margin:2px 0!important;font-size:13px!important;font-weight:600!important;line-height:1.35!important;text-align:left!important;border:0!important;border-radius:5px!important;background:transparent!important;color:var(--fx101-text)!important;box-shadow:none!important;box-sizing:border-box}
html[data-theme] body.admin-console-body #content .admin-nav-link>span:last-of-type{font-size:inherit!important;white-space:normal!important;min-width:0}
html[data-theme] body.admin-console-body #content .admin-nav-link:is(.active,:hover){background:var(--fx101-tint)!important;color:var(--fx101-link)!important}
html[data-theme] body.admin-console-body #content .admin-nav-icon{display:flex!important;align-items:center;justify-content:center;flex:0 0 18px!important;width:18px!important;height:18px!important;padding:0!important;margin:0!important;background:none!important;color:inherit!important;border:0!important;box-shadow:none!important}
html[data-theme] body.admin-console-body #content .admin-nav-icon svg{width:18px!important;height:18px!important;color:inherit!important}
html[data-theme] body.admin-console-body #content .admin-nav-link i{display:none!important}
html[data-theme] body.admin-console-body #content :is(.card,.premium-panel,.admin-hero,.admin-stat-card){border-radius:8px!important;box-shadow:none!important;background:var(--fx101-panel)!important;border-color:var(--fx101-line)!important}
html[data-theme] body.admin-console-body #content :is(.admin-hero,.card,.premium-panel):not(.admin-sidebar){padding:18px!important;margin-bottom:16px}
html[data-theme] body.admin-console-body #content :is(.admin-hero::before,.admin-hero::after,.admin-stat-card::before,.admin-stat-card::after,.admin-hero-art){display:none!important}
html[data-theme] body.admin-console-body #content h1{font-size:28px!important;line-height:1.25!important;margin:0 0 14px!important}
html[data-theme] body.admin-console-body #content h2{font-size:21px!important;line-height:1.35!important;margin:0 0 12px!important}
html[data-theme] body.admin-console-body #content h3{font-size:17px!important;line-height:1.4!important}
html[data-theme] body.admin-console-body #content :is(h1,h2,h3)>.forumx-icon{width:20px;height:20px;vertical-align:middle;margin-right:8px;flex-shrink:0}
html[data-theme] body.admin-console-body #content :is(.admin-stat-icon,.admin-quick-grid>a>svg,.admin-stat-card>span){background:var(--fx101-tint)!important;color:var(--fx101-link)!important;box-shadow:none!important}
html[data-theme] body.admin-console-body #content .admin-quick-grid>a{background:var(--fx101-soft)!important;color:var(--fx101-text)!important;box-shadow:none!important;border:1px solid var(--fx101-line)!important;gap:12px;padding:14px;border-radius:6px}
html[data-theme] body.admin-console-body #content :is(.admin-bar-track,.admin-kpi-list>div){background:var(--fx101-soft)!important;box-shadow:none!important;border:1px solid var(--fx101-line)!important}
html[data-theme] body.admin-console-body #content .admin-bar-track>span{background:var(--fx101-link)!important;box-shadow:none!important}
html[data-theme] body.admin-console-body #content .form-grid{display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:16px!important;align-items:start}
html[data-theme] body.admin-console-body #content .form-grid>label{min-width:0}
html[data-theme] body.admin-console-body #content :is(input,select,textarea){max-width:100%;box-sizing:border-box;font-family:inherit;font-size:14px!important}
html[data-theme] body.admin-console-body #content :is(input:not([type=checkbox]):not([type=radio]):not([type=color]),select){min-height:40px}
html[data-theme] body.admin-console-body #content input[type=color]{display:block;width:76px!important;min-width:76px;height:40px!important;padding:4px!important;cursor:pointer}
html[data-theme] body.admin-console-body #content label:has(>input[type=checkbox]),html[data-theme] body.admin-console-body #content label:has(>input[type=radio]){display:flex!important;align-items:center!important;justify-content:flex-start!important;gap:10px!important;line-height:1.5!important}
html[data-theme] body.admin-console-body #content input:is([type=checkbox],[type=radio]){flex:0 0 18px!important;width:18px!important;height:18px!important;margin:0!important;padding:0!important;accent-color:var(--fx101-link)}
html[data-theme] body.admin-console-body #content .button{display:inline-flex!important;align-items:center!important;justify-content:center!important;gap:8px!important;min-height:38px!important;width:auto!important;max-width:100%;padding:8px 14px!important;line-height:1.35!important;font-size:14px!important;white-space:normal;border-radius:5px!important;box-sizing:border-box}
html[data-theme] body.admin-console-body #content .form-grid>.button{justify-self:start}
html[data-theme] body.admin-console-body #content :is(.button,.link-button)>.forumx-icon{width:17px!important;height:17px!important;flex-shrink:0}
html[data-theme] body.admin-console-body #content :is(.fx-v5-tabs,.ai-admin-tabs){display:flex!important;flex-wrap:wrap!important;gap:6px!important;overflow:visible!important}
html[data-theme] body.admin-console-body #content :is(.fx-v5-tabs,.ai-admin-tabs) a{min-width:0!important;white-space:normal!important;font-size:13px!important;padding:8px 11px!important}
.fx134-table-scroll{max-width:100%;min-width:0;width:100%;overflow-x:auto;overscroll-behavior-x:contain;-webkit-overflow-scrolling:touch;margin:10px 0}
.fx134-table-scroll table{width:100%;border-collapse:collapse}
.fx134-table-scroll th,.fx134-table-scroll td{padding:11px 12px;vertical-align:top;line-height:1.45;overflow-wrap:anywhere}
.fx134-table-scroll td .button{margin:2px!important}
html[data-layout] body.fx-r98 #content .account-layout .account-content{width:100%!important;max-width:none!important;margin:0!important;justify-self:stretch!important}
html[data-layout] body.fx-r98 #content :is(.account-layout,.fx108-account){width:100%!important;max-width:none!important}
html[data-layout] body.fx-r98 #content :is(.account-content,.editor-card) .form-grid{gap:14px!important;grid-template-columns:repeat(2,minmax(0,1fr))!important}
html[data-layout] body.fx-r98 :is(.fxv9-nav,.fx98-header) :is(a,button,span,svg){opacity:1!important}
html[data-layout] body.fx-r98 :is(.fxv9-primary,.fx98-primary) a{color:var(--fx98-text)!important}
html[data-layout] body.fx-r98 #content :is(.button,.link-button){gap:8px;line-height:1.4}
html[data-layout] body.fx-r98 #content :is(.button,.link-button)>.forumx-icon{vertical-align:middle;flex-shrink:0}
html[data-layout] body.fx-r98 #content :is(h1,h2,h3)>.forumx-icon{vertical-align:middle;margin-right:7px;flex-shrink:0}
html[data-layout] body.fx-r98 #content :is(.profile-actions,.fx108-save-row){display:flex!important;flex-wrap:wrap!important;gap:10px!important;align-items:center!important}
html[data-layout] body.fx-r98 #content .profile-actions .button{display:inline-flex!important;align-items:center;justify-content:center;width:auto!important;min-height:40px!important;padding:8px 14px!important;gap:8px!important;white-space:normal!important}
html[data-layout] body.fx-r98 #content .fx123-stories.is-empty{display:flex!important;align-items:center;gap:16px;padding:12px 16px!important;min-height:0!important;margin-bottom:18px}
html[data-layout] body.fx-r98 #content .fx123-stories.is-empty header{flex:0 1 auto;margin:0!important}
html[data-layout] body.fx-r98 #content .fx123-stories.is-empty .fx123-story-scroll{padding:0!important;align-items:center;gap:12px;min-height:0!important}
html[data-layout] body.fx-r98 #content .fx123-stories.is-empty .fx123-story-add>span{width:36px!important;height:36px!important}
html[data-layout] body.fx-r98 #content .fx123-stories.is-empty .fx123-story-add small{display:none}
html[data-layout] body.fx-r98 #content .fx123-story-empty{margin:0!important;font-size:13px;color:var(--fx98-muted)}
html[data-layout] body.fx-r98 #content .fx117-activity-backdrop{overflow:hidden;isolation:isolate}
html[data-layout] body.fx-r98 #content [data-fx115-particles]{pointer-events:none!important;opacity:.16!important}
html[data-theme=dark][data-layout] body.fx-r98 #content [data-fx115-particles]{opacity:.24!important}
html[data-layout] body.fx-r98 #content :is(.post-body,.post-signature,.draft-card){overflow-wrap:anywhere;min-width:0}
html[data-layout] body.fx-r98 #content :is(.post-body,.post-signature) img{max-width:100%;height:auto}
@media(max-width:900px){
 html[data-theme] body.admin-console-body #content{padding:14px 12px!important}
 html[data-theme] body.admin-console-body #content .admin-layout{grid-template-columns:1fr!important}
 html[data-theme] body.admin-console-body .admin-nav-toggle{display:inline-flex!important}
 html[data-theme] body.admin-console-body #content .admin-sidebar{position:fixed!important;top:64px!important;left:12px!important;width:270px!important;max-width:calc(100vw - 24px)!important;max-height:calc(100dvh - 80px)!important;z-index:1000!important;transform:translateX(calc(-100% - 24px));visibility:hidden;transition:transform .15s,visibility .15s}
 html[data-theme] body.admin-console-body.admin-nav-open #content .admin-sidebar{transform:none!important;visibility:visible!important}
 html[data-theme] body.admin-console-body #content h1{font-size:25px!important}
}
@media(max-width:600px){
 html[data-theme] body.admin-console-body #content .form-grid,html[data-layout] body.fx-r98 #content :is(.account-content,.editor-card) .form-grid{grid-template-columns:1fr!important}
 html[data-theme] body.admin-console-body #content :is(.card,.premium-panel,.admin-hero):not(.admin-sidebar){padding:14px!important}
 html[data-layout] body.fx-r98 #content .fx123-stories.is-empty{flex-wrap:wrap;gap:8px!important}
 html[data-layout] body.fx-r98 #content .fx123-stories.is-empty header span{display:none}
}

html[data-theme] body.admin-console-body #content .admin-nav-link[hidden],html[data-theme] body.admin-console-body #content .admin-nav-section[hidden]{display:none!important}
html[data-theme] body.admin-console-body #content [data-admin-search]{width:100%;margin:0 0 10px;border:1px solid var(--fx101-line);border-radius:5px;padding:9px 10px;background:var(--fx101-soft);color:var(--fx101-text)}
/* Decorative pseudo-elements must be selected outside :is(). */
html[data-theme] body.admin-console-body #content :is(.admin-hero,.admin-stat-card)::before,
html[data-theme] body.admin-console-body #content :is(.admin-hero,.admin-stat-card)::after,
html[data-theme] body.admin-console-body #content .admin-hero-orb{display:none!important}
