/* Freekeek Channels Hub / Premium Profile / Creative Studio, 2026
   Scoped layout; never override global product cards or admin controls. */
body:has(.chx) .shell.shell-wide-main { max-width: 1660px; grid-template-columns: var(--rail) minmax(0, 1fr); gap: 16px; }
body:has(.chx) .shell.shell-wide-main .main { min-width: 0; }
.chx { --chx-glow: color-mix(in srgb, var(--keek) 12%, transparent); --chx-border: color-mix(in srgb, var(--hair) 78%, transparent); display: flex; flex-direction: column; gap: 19px; color: var(--ink); min-width: 0; }
.chx * { box-sizing: border-box; }
.chx [hidden] { display: none !important; }
.chx h1,.chx h2,.chx h3,.chx p { margin-top: 0; }
.chx h1 { font-size: clamp(30px, 3.1vw, 42px); line-height: 1.1; letter-spacing: -.038em; }
.chx h2 { font-size: 18px; letter-spacing: -.018em; }
.chx h3 { font-size: 14px; }
.chx-eyebrow { display: inline-flex; align-items: center; gap: 7px; font-size: 10px; font-weight: 800; color: var(--keek); letter-spacing: .11em; }
.chx-eyebrow svg { width: 15px; height: 15px; }
.chx .btn { white-space: nowrap; }
.chx .btn svg { width: 16px; height: 16px; }
.chx-title-link { display: inline; color: var(--ink); font-weight: 790; text-decoration: none; overflow-wrap: anywhere; }
.chx-title-link:hover,.chx-text-link:hover { color: var(--keek); }
.chx-handle { color: var(--muted); font-size: 12px; }
.chx-text-link { display: inline-flex; align-items: center; gap: 5px; border: 0; background: none; color: var(--keek); padding: 0; font-size: 12px; font-weight: 740; text-decoration: none; cursor: pointer; }
.chx-text-link svg { width: 15px; height: 15px; }
.chx-tags { display: flex; flex-wrap: wrap; gap: 5px; }
.chx-tags span { border: 1px solid var(--hair); border-radius: 999px; padding: 4px 9px; background: var(--paper); color: var(--muted); font-size: 10px; max-width: 100%; }
.chx-count { font-weight: 600; font-size: 12px; padding: 3px 8px; background: var(--keek-tint); border-radius: 99px; color: var(--keek-deep); }
.chx-verified { display: inline-flex; align-items: center; color: var(--keek); }
.chx-verified svg { width: 19px; height: 19px; }
.chx-verified small { font-size: 10px; font-weight: 700; }
.chx-tag-blue { display: inline-flex; align-items: center; padding: 5px 8px; border-radius: 8px; background: var(--keek-tint); color: var(--keek-deep); font-size: 10px; font-weight: 780; white-space: nowrap; }
.chx-section { min-width: 0; }
.chx-section-head { display: flex; justify-content: space-between; align-items: center; gap: 15px; margin-bottom: 13px; }
.chx-section-head h2 { display: flex; align-items: center; gap: 9px; margin: 0 0 3px; }
.chx-section-head h2 svg { width: 22px; height: 22px; color: var(--keek); }
.chx-section-head p { margin: 0; font-size: 12px; color: var(--muted); }
.chx-empty { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 10px; min-height: 160px; padding: 25px; text-align: center; background: var(--surface); border: 1px dashed var(--hair); border-radius: 16px; color: var(--muted); }
.chx-empty > svg { width: 30px; height: 30px; color: var(--keek); }
.chx-empty strong { color: var(--ink); font-size: 14px; }
.chx-empty p { margin: 0; font-size: 12px; }
.chx-hub-hero { isolation: isolate; position: relative; min-height: 170px; padding: 28px; display: flex; justify-content: space-between; gap: 16px; align-items: flex-start; overflow: hidden; border: 1px solid var(--chx-border); border-radius: 20px; background: radial-gradient(ellipse at 87% 62%, color-mix(in srgb,var(--keek) 19%,transparent),transparent 44%),linear-gradient(115deg,var(--surface),color-mix(in srgb,var(--keek-tint) 68%,var(--surface))); }
.chx-hero-copy { position: relative; z-index: 2; max-width: 75%; }
.chx-hub-hero h1 { margin: 8px 0 8px; }
.chx-lead { margin-bottom: 5px; color: var(--ink-soft); font-size: 15px; font-weight: 570; }
.chx-hero-sub { margin: 0; font-size: 12px; color: var(--muted); }
.chx-hero-cta { position: relative; z-index: 2; flex: none; }
.chx-hub-art { position: absolute; pointer-events: none; overflow: hidden; inset: 0 4% 0 auto; width: 42%; opacity: .6; }
.chx-world { position: absolute; width: 210px; height: 210px; top: 15px; right: 27%; border: 1px solid color-mix(in srgb,var(--keek) 23%,transparent); border-radius: 50%; display: grid; place-items: center; background: radial-gradient(circle at 35% 35%,color-mix(in srgb,var(--keek) 23%,white),transparent 67%); transform: rotate(-15deg); }
.chx-world svg { width: 170px; height: 170px; color: var(--keek); opacity: .24; stroke-width: .75; }
.chx-orbit { position: absolute; border: 1px solid var(--chx-glow); border-radius: 50%; transform: rotate(-24deg); }
.chx-orbit-one { width: 300px; height: 110px; top: 55px; right: 15%; }.chx-orbit-two { width: 360px; height: 150px; top: 38px; right: 9%; transform: rotate(28deg); }
.chx-float { position: absolute; display: grid; place-items: center; width: 39px; height: 39px; background: var(--surface); border: 1px solid var(--hair); border-radius: 12px; box-shadow: var(--shadow-sm); }
.chx-float svg { width: 20px; height: 20px; color: var(--keek); }.chx-float-a { top: 31px; right: 9%; }.chx-float-b { bottom: 27px; right: 51%; }.chx-float-c { top: 20px; right: 48%; }
.chx-metrics { display: grid; grid-template-columns: repeat(4,minmax(0,1fr)) minmax(210px,1.2fr); gap: 10px; }
.chx-metric { display: flex; align-items: center; gap: 10px; min-width: 0; padding: 14px; background: var(--surface); border: 1px solid var(--chx-border); border-radius: 15px; box-shadow: 0 3px 14px rgba(16,45,80,.025); }
.chx-metric-ico { display: inline-flex; align-items: center; justify-content: center; flex: 0 0 39px; width: 39px; height: 39px; border-radius: 12px; }
.chx-metric-ico svg { width: 20px; height: 20px; }
.chx-metric-ico.blue { background: var(--keek-tint); color: var(--keek); }
.chx-metric-ico.green { background: var(--green-tint); color: var(--green); }
.chx-metric-ico.violet { background: color-mix(in srgb,#8c53ef 12%,var(--surface)); color: #8852ea; }
.chx-metric-ico.amber { background: color-mix(in srgb,#f99045 12%,var(--surface)); color: #e87836; }
.chx-metric div { display: flex; flex-direction: column; min-width: 0; gap: 2px; }
.chx-metric small { color: var(--muted); font-size: 10px; font-weight: 640; white-space: nowrap; }
.chx-metric strong { color: var(--ink); font-size: 23px; font-weight: 800; letter-spacing: -.04em; line-height: 1.1; }
.chx-metric div > span { color: var(--muted); font-size: 9.5px; line-height: 1.4; }
.chx-insight { display: flex; gap: 9px; align-items: flex-start; background: var(--keek-tint); border: 1px solid color-mix(in srgb,var(--keek) 17%,var(--hair)); border-radius: 15px; padding: 12px; min-width: 0; }
.chx-insight strong { color: var(--keek-deep); font-size: 11px; }.chx-insight p { font-size: 10px; line-height: 1.5; color: var(--ink-soft); margin: 5px 0 0; }
.chx-filterbar { display: grid; grid-template-columns: minmax(220px,2fr) repeat(4,minmax(110px,.8fr)) auto auto; gap: 8px; align-items: center; min-width: 0; }
.chx-filterbar label { display: block; min-width: 0; }.chx-filterbar input,.chx-filterbar select { width: 100%; min-width: 0; height: 43px; padding: 8px 12px; border: 1px solid var(--hair); border-radius: 11px; background: var(--surface); color: var(--ink); font: inherit; font-size: 11px; }
.chx-filterbar input:focus,.chx-filterbar select:focus { outline: none; border-color: var(--keek); box-shadow: 0 0 0 3px var(--chx-glow); }
.chx-search { position: relative; }.chx-search > svg { position: absolute; left: 12px; top: 13px; width: 18px; height: 18px; color: var(--muted); }.chx-search input { padding-left: 38px; }
.chx-filter-submit { min-height: 43px; }.chx-filter-clear { display: grid; place-items: center; padding: 9px; color: var(--muted); }.chx-filter-clear svg { width: 18px; height: 18px; }
.chx-owned-list { display: grid; gap: 10px; }
.chx-owned { display: grid; grid-template-columns: minmax(150px,210px) minmax(175px,1fr) minmax(220px,1.1fr) auto; gap: 15px; align-items: center; padding: 10px; min-width: 0; background: var(--surface); border: 1px solid var(--chx-border); border-radius: 16px; box-shadow: var(--shadow-sm); }
.chx-owned-media { position: relative; height: 118px; overflow: hidden; display: block; border-radius: 12px; background: linear-gradient(130deg,#102b50,#1875a8 65%,#09b6ac); }
.chx-owned-cover { display: block; height: 100%; width: 100%; background: linear-gradient(125deg,transparent 15%,rgba(255,255,255,.17),transparent 65%); background-position: center; background-size: cover; }
.chx-owned-avatar { display: grid; place-items: center; position: absolute; bottom: 8px; left: 8px; overflow: hidden; width: 52px; height: 52px; border: 3px solid var(--surface); border-radius: 50%; background: var(--keek); color: #fff; font-size: 22px; font-weight: 800; }
.chx-owned-avatar img,.chx-discovery-avatar img,.chx-profile-avatar img,.chx-related-avatar img,.chx-studio-avatar img { width: 100%; height: 100%; object-fit: cover; }
.chx-owned-copy { min-width: 0; }.chx-owned-copy .chx-title-link { font-size: 15px; }.chx-owned-copy .chx-handle { display: block; margin: 4px 0; }.chx-owned-copy p { overflow: hidden; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; font-size: 11px; line-height: 1.5; color: var(--muted); margin: 6px 0 8px; }
.chx-owned-stats { display: grid; grid-template-columns: repeat(4,minmax(0,1fr)); align-items: center; text-align: center; gap: 3px; }
.chx-owned-stats span { display: flex; min-width: 0; flex-direction: column; padding: 4px; border-left: 1px solid var(--hair); }.chx-owned-stats strong { font-size: 16px; font-weight: 780; color: var(--ink); }.chx-owned-stats small { color: var(--muted); font-size: 9px; }
.chx-owned-actions { display: flex; gap: 6px; align-items: center; }
.chx-discover-grid { display: grid; grid-template-columns: repeat(4,minmax(0,1fr)); gap: 13px; }
.chx-discovery { display: flex; flex-direction: column; min-width: 0; overflow: hidden; border-radius: 15px; background: var(--surface); border: 1px solid var(--chx-border); box-shadow: var(--shadow-sm); transition: transform .2s ease,box-shadow .2s ease; }
.chx-discovery:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); }
.chx-discovery-banner { display: block; height: 95px; background: linear-gradient(130deg,#0c254a,#1f87b5 70%,#00a5a2); background-position: center; background-size: cover; }
.chx-discovery-body { display: grid; grid-template-columns: 54px minmax(0,1fr) auto; grid-template-rows: auto 1fr auto auto; gap: 7px; min-height: 182px; padding: 0 12px 12px; }
.chx-discovery-avatar { display: grid; grid-column: 1; grid-row: 1; place-items: center; height: 49px; width: 49px; margin-top: -18px; border: 3px solid var(--surface); border-radius: 50%; background: var(--keek); color: #fff; font-weight: 800; overflow: hidden; }
.chx-discovery-heading { grid-column: 2; min-width: 0; padding-top: 5px; }.chx-discovery-heading .chx-title-link { font-size: 12px; }.chx-discovery-heading small { display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; color: var(--muted); font-size: 10px; }
.chx-discovery-heading .chx-verified { margin-left: 4px; vertical-align: middle; }.chx-discovery-heading .chx-verified svg { width: 13px; height: 13px; }
.chx-follow { grid-column: 3; grid-row: 1; padding-top: 5px; }.chx-follow .btn { font-size: 10px; padding: 7px 8px; }
.chx-discovery-body > p { grid-column: 1 / -1; overflow: hidden; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; color: var(--muted); margin: 0; font-size: 10.5px; line-height: 1.5; }
.chx-discovery-body > .chx-tags { grid-column: 1 / -1; }.chx-discovery-stats { display: flex; flex-wrap: wrap; gap: 12px; grid-column: 1 / -1; padding-top: 7px; border-top: 1px solid var(--hair); }
.chx-discovery-stats > span { display: inline-flex; align-items: center; gap: 4px; color: var(--muted); font-size: 10px; }.chx-discovery-stats svg { width: 13px; height: 13px; color: var(--keek); }

/* Premium public Channel profile */
.chx-profile-hero { overflow: hidden; border-radius: 19px; border: 1px solid var(--chx-border); background: var(--surface); }
.chx-profile-cover { position: relative; height: clamp(175px,19vw,245px); background: radial-gradient(ellipse at 70% 10%,rgba(27,143,249,.55),transparent 40%),linear-gradient(115deg,#08192e,#104679 60%,#0c233a); background-size: cover; background-position: center; }
.chx-cover-actions { position: absolute; top: 12px; right: 12px; display: flex; gap: 5px; }.chx-media-tool { display: inline-flex; align-items: center; gap: 6px; min-height: 35px; padding: 8px 11px; border-radius: 9px; background: rgba(255,255,255,.92); border: 1px solid rgba(255,255,255,.65); color: #16385a; font-size: 10px; cursor: pointer; }.chx-media-tool svg { width: 15px; height: 15px; }
.chx-profile-information { display: grid; grid-template-columns: 125px minmax(200px,1fr) minmax(250px,.9fr); gap: 16px; padding: 0 23px 19px; align-items: start; }
.chx-profile-avatar { position: relative; display: grid; place-items: center; overflow: visible; margin-top: -51px; z-index: 2; height: 118px; width: 118px; border-radius: 50%; border: 5px solid var(--surface); background: var(--keek); color: white; font-size: 45px; font-weight: 800; box-shadow: var(--shadow-sm); }
.chx-profile-avatar > img { border-radius: 50%; overflow: hidden; }.chx-avatar-edit { position: absolute; right: 0; bottom: 3px; display: grid; place-items: center; height: 30px; width: 30px; background: var(--surface); border: 1px solid var(--hair); border-radius: 50%; cursor: pointer; color: var(--ink); }.chx-avatar-edit svg { width: 14px; height: 14px; }
.chx-profile-core { min-width: 0; padding-top: 17px; }.chx-profile-title { display: flex; gap: 9px; align-items: center; }.chx-profile-title h1 { font-size: clamp(23px,2.3vw,32px); margin: 0 0 4px; overflow-wrap: anywhere; }
.chx-profile-summary { font-size: 12px; line-height: 1.6; color: var(--ink-soft); white-space: pre-line; margin: 10px 0; overflow-wrap: anywhere; }
.chx-profile-right { display: flex; flex-direction: column; gap: 14px; align-items: stretch; padding-top: 17px; min-width: 0; }
.chx-profile-actions { display: flex; flex-wrap: wrap; gap: 6px; justify-content: flex-end; }.chx-profile-actions .btn { font-size: 11px; }
.chx-profile-stats { display: grid; grid-template-columns: repeat(4,minmax(0,1fr)); gap: 7px; }.chx-profile-stats:has(> div:nth-child(2):last-child) { grid-template-columns: repeat(2,minmax(0,1fr)); }
.chx-profile-stats > div { display: flex; flex-direction: column; align-items: center; justify-content: center; min-height: 74px; padding: 9px 4px; border: 1px solid var(--hair); border-radius: 12px; text-align: center; background: var(--paper); }.chx-profile-stats svg { width: 17px; height: 17px; color: var(--keek); }.chx-profile-stats strong { font-size: 16px; }.chx-profile-stats small { font-size: 9px; color: var(--muted); }
.chx-tabs { display: flex; flex-wrap: nowrap; overflow-x: auto; gap: 4px; border-bottom: 1px solid var(--hair); scroll-margin-top: 80px; }
.chx-tabs button { display: inline-flex; align-items: center; justify-content: center; gap: 7px; flex: none; border: 0; border-bottom: 3px solid transparent; padding: 13px 18px; color: var(--muted); background: transparent; font-size: 12px; font-weight: 650; cursor: pointer; }.chx-tabs button:hover { color: var(--keek); }.chx-tabs button.is-active { color: var(--keek); border-bottom-color: var(--keek); }.chx-tabs svg { width: 17px; height: 17px; }
.chx-profile-grid { display: grid; grid-template-columns: minmax(0,1.8fr) minmax(260px,.7fr); gap: 15px; align-items: start; }
.chx-profile-feed,.chx-profile-aside { min-width: 0; }.chx-profile-aside { display: flex; flex-direction: column; gap: 12px; }
.chx-featured { margin-bottom: 20px; }.chx-post-list { display: grid; gap: 12px; }
.chx-profile-feed .post-card { max-width: none; }.chx-panel-card,.chx-side-card { padding: 17px; background: var(--surface); border: 1px solid var(--chx-border); border-radius: 15px; min-width: 0; }
.chx-panel-card { min-height: 200px; }.chx-panel-card h2 { display: flex; align-items: center; gap: 8px; margin-bottom: 16px; }.chx-panel-card h2 svg { color: var(--keek); width: 19px; height: 19px; }.chx-about-long { white-space: pre-line; overflow-wrap: anywhere; font-size: 12px; line-height: 1.8; }
.chx-meta-list { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 8px; }.chx-meta-list > div { display: flex; flex-direction: column; gap: 3px; padding: 12px; background: var(--paper); border-radius: 9px; }.chx-meta-list strong { color: var(--muted); font-size: 10px; }.chx-meta-list span { font-size: 12px; }
.chx-side-card h3 { display: flex; align-items: center; gap: 7px; margin: 0 0 13px; font-size: 13px; }.chx-side-card h3 svg { color: var(--keek); width: 18px; height: 18px; }.chx-side-card h3 span { margin-left: auto; color: var(--muted); font-weight: 500; }.chx-side-card p { font-size: 11px; line-height: 1.6; }.chx-side-muted { color: var(--muted); }
.chx-aside-list { display: grid; gap: 8px; margin-bottom: 12px; }.chx-aside-list a { display: flex; align-items: center; gap: 10px; text-decoration: none; color: var(--ink); padding: 8px; border-radius: 9px; background: var(--paper); }.chx-aside-list a > svg { color: var(--keek); width: 23px; height: 23px; }.chx-aside-list a > span:nth-child(2) { display: flex; flex-direction: column; gap: 3px; min-width: 0; }.chx-aside-list strong { font-size: 11px; }.chx-aside-list small { font-size: 10px; color: var(--muted); }
.chx-related-avatar { display: grid; place-items: center; height: 32px; width: 32px; flex: 0 0 32px; overflow: hidden; border-radius: 50%; color: #fff; background: var(--keek); font-weight: 800; }
.chx-side-studio { display: flex; align-items: center; gap: 11px; padding: 14px; background: var(--keek-tint); color: var(--keek-deep); border: 1px solid var(--chx-glow); border-radius: 13px; text-decoration: none; }.chx-side-studio > svg { width: 23px; height: 23px; }.chx-side-studio span { display: flex; flex: 1; min-width: 0; flex-direction: column; gap: 4px; }.chx-side-studio strong { font-size: 12px; }.chx-side-studio small { font-size: 10px; line-height: 1.5; }
.chx-place-list { display: grid; gap: 8px; }.chx-place-item { display: flex; align-items: center; gap: 10px; padding: 13px; border-radius: 10px; color: var(--ink); background: var(--paper); text-decoration: none; }.chx-place-item > span { display: flex; flex-direction: column; gap: 3px; flex: 1; }.chx-place-item strong { font-size: 12px; }.chx-place-item small { color: var(--muted); font-size: 10px; }.chx-place-item svg { color: var(--keek); width: 17px; height: 17px; }
.chx-discussions { display: grid; gap: 9px; }.chx-discussions a { display: flex; align-items: center; justify-content: space-between; gap: 15px; padding: 14px; border: 1px solid var(--hair); border-radius: 9px; color: var(--ink); text-decoration: none; font-size: 11px; }.chx-discussions strong { display: inline-flex; align-items: center; gap: 4px; color: var(--keek); }.chx-discussions svg { height: 15px; width: 15px; }

/* Creative Studio — workbench with real editorial controls */
.chx-studio-hero { display: flex; align-items: center; justify-content: space-between; gap: 15px; position: relative; overflow: hidden; min-height: 148px; border-radius: 18px; border: 1px solid var(--chx-border); padding: 18px 21px; background: radial-gradient(circle at 78% 10%,var(--chx-glow),transparent 38%),linear-gradient(120deg,var(--surface),color-mix(in srgb,var(--keek-tint) 56%,var(--surface))); }
.chx-studio-brand { display: flex; align-items: center; gap: 14px; position: relative; z-index: 1; min-width: 0; }.chx-studio-avatar { display: grid; place-items: center; width: 89px; height: 89px; flex: 0 0 89px; border-radius: 50%; overflow: hidden; border: 4px solid var(--surface); box-shadow: var(--shadow-sm); background: var(--keek); color: #fff; font-size: 28px; font-weight: 800; }
.chx-studio-brand h1 { margin: 4px 0; font-size: 29px; }.chx-studio-brand strong { font-size: 13px; }.chx-studio-brand .chx-tags { margin-top: 9px; }
.chx-studio-hero-actions { display: flex; align-items: center; gap: 7px; z-index: 1; }
.chx-studio-hero-visual { position: absolute; right: 18%; top: -62px; color: var(--keek); opacity: .08; transform: rotate(-10deg); }.chx-studio-hero-visual svg { width: 240px; height: 240px; }
.chx-studio-nav { display: flex; align-items: center; gap: 3px; padding: 5px; overflow-x: auto; border: 1px solid var(--chx-border); border-radius: 14px; background: var(--surface); }.chx-studio-nav a { display: inline-flex; gap: 7px; align-items: center; flex: none; text-decoration: none; color: var(--muted); font-size: 10.5px; font-weight: 740; border-radius: 9px; padding: 11px 10px; white-space: nowrap; }.chx-studio-nav a:hover,.chx-studio-nav a:focus-visible { background: var(--keek-tint); color: var(--keek); }.chx-studio-nav svg { width: 16px; height: 16px; }
.chx-studio-kpis { display: grid; grid-template-columns: repeat(4,minmax(0,1fr)); gap: 10px; }.chx-studio-kpis .chx-metric { padding: 15px; }.chx-studio-kpis .chx-metric strong { font-size: 24px; }
.chx-studio-layout { display: grid; grid-template-columns: minmax(0,1fr) minmax(270px,315px); gap: 15px; align-items: start; }.chx-studio-primary,.chx-studio-aside { display: flex; flex-direction: column; gap: 15px; min-width: 0; }
.chx-studio-primary > section,.chx-studio-aside > section { margin: 0 !important; min-width: 0; }
.chx-studio-primary > section { scroll-margin-top: 85px; }.chx-studio-aside > section { scroll-margin-top: 85px; }
.chx-creative-card { padding: 20px; border: 1px solid var(--chx-border); border-radius: 17px; background: linear-gradient(140deg,color-mix(in srgb,var(--keek-tint) 38%,var(--surface)),var(--surface) 40%); }
.chx-creative-head { display: flex; gap: 12px; align-items: flex-start; }.chx-creative-head > div { flex: 1; min-width: 0; }.chx-creative-head h2 { margin: 4px 0 5px; }.chx-creative-head p { font-size: 11px; line-height: 1.5; color: var(--muted); margin: 0; }.chx-creative-head > .btn { flex: none; }
.chx-creative-ideas { margin-top: 19px; }.chx-creative-ideas h3 { display: flex; align-items: center; gap: 8px; font-size: 12px; margin: 0 0 10px; }.chx-creative-ideas h3 svg { width: 17px; height: 17px; color: var(--keek); }
.chx-idea-grid { display: grid; grid-template-columns: repeat(4,minmax(0,1fr)); gap: 8px; }.chx-idea-grid button { display: flex; align-items: flex-start; flex-direction: column; gap: 8px; padding: 12px; border: 1px solid var(--chx-border); border-radius: 11px; background: var(--surface); color: var(--ink); text-align: left; cursor: pointer; transition: border .15s,transform .15s; }.chx-idea-grid button:hover { transform: translateY(-2px); border-color: var(--keek); }.chx-idea-grid svg { width: 19px; height: 19px; color: var(--keek); }.chx-idea-grid button span { font-size: 10px; font-weight: 800; }.chx-idea-grid button small { display: block; margin-top: 3px; font-size: 9px; color: var(--muted); line-height: 1.35; font-weight: 500; }
.chx-helper { margin: 10px 0 0; font-size: 9.5px; color: var(--muted); }.chx-ai-cta { display: flex; align-items: center; gap: 9px; margin-top: 16px; padding: 11px; border-radius: 10px; background: var(--keek-tint); }.chx-ai-cta > svg { width: 20px; height: 20px; color: var(--keek); }.chx-ai-cta > span { display: flex; flex-direction: column; gap: 3px; flex: 1; min-width: 0; }.chx-ai-cta strong { font-size: 11px; }.chx-ai-cta small { font-size: 9.5px; line-height: 1.4; color: var(--muted); }
.chx-calendar-card,.chx-studio-card { padding: 19px; background: var(--surface); border: 1px solid var(--chx-border); border-radius: 16px; }
.chx-calendar-card .chx-section-head { align-items: start; }.chx-month-nav { display: flex; gap: 10px; align-items: center; white-space: nowrap; }.chx-month-nav a { display: grid; place-items: center; width: 28px; height: 28px; color: var(--keek); background: var(--keek-tint); text-decoration: none; border-radius: 8px; font-size: 20px; }.chx-month-nav strong { font-size: 11px; }
.chx-calendar-grid { display: grid; grid-template-columns: repeat(7,minmax(0,1fr)); gap: 5px; }.chx-calendar-weekday { padding: 4px; text-align: center; font-size: 10px; font-weight: 650; color: var(--muted); }.chx-calendar-day { display: flex; flex-direction: column; align-items: center; gap: 2px; min-height: 39px; padding: 6px; border-radius: 9px; background: var(--paper); border: 1px solid transparent; }.chx-calendar-day strong { font-weight: 650; font-size: 11px; }.chx-calendar-day.outside { opacity: .32; }.chx-calendar-day.today { border-color: var(--keek); }.chx-calendar-day.busy { background: var(--keek-tint); }.chx-calendar-dot { display: grid; place-items: center; width: 16px; height: 16px; color: #fff; background: var(--keek); border-radius: 50%; font-size: 9px; }
.chx-calendar-footer { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 10px; margin-top: 12px; font-size: 10px; color: var(--muted); }.chx-agenda-list { margin-top: 12px; display: grid; gap: 5px; }.chx-agenda-list > div { display: grid; grid-template-columns: 90px minmax(0,1fr) auto; gap: 9px; align-items: center; padding: 8px; border: 1px solid var(--hair); border-radius: 9px; }.chx-agenda-list time { color: var(--muted); font-size: 9px; }.chx-agenda-list strong { font-size: 10px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.chx-studio-card-head { display: flex; justify-content: space-between; align-items: flex-start; gap: 10px; margin-bottom: 14px; }.chx-studio-card-head h2 { display: flex; align-items: center; gap: 7px; margin: 4px 0; }.chx-studio-card-head h2 svg { width: 18px; height: 18px; color: var(--keek); }.chx-studio-card-head p { color: var(--muted); font-size: 10px; margin: 0; }
.chx-publish textarea { width: 100%; border-radius: 11px; }.chx-editorial-filter { display: flex; align-items: center; gap: 7px; color: var(--muted); font-size: 10px; white-space: nowrap; }.chx-editorial-filter select { width: 130px; padding: 8px; font-size: 10px; border: 1px solid var(--hair); background: var(--surface); border-radius: 9px; }
.chx-editorial .tbl { font-size: 10px; }.chx-editorial .tbl td { vertical-align: middle; }.chx-editorial .tbl tr[hidden] { display: none !important; }
.chx-studio-aside .channel-studio-identity-grid { display: grid; grid-template-columns: 1fr !important; }.chx-studio-aside .channel-studio-media-card { min-width: 0; flex-wrap: wrap; }.chx-studio-aside .channel-studio-media-card.cover { grid-column: auto; }.chx-studio-aside .channel-studio-cover-preview { width: 100%; min-height: 76px; }
.chx-studio-aside input,.chx-studio-aside select,.chx-studio-aside textarea { max-width: 100%; min-width: 0; }.chx-studio-aside .field { min-width: 0; }.chx-studio-aside .field input,.chx-studio-aside .field select,.chx-studio-aside .field textarea { width: 100%; }.chx-studio-aside [style*="grid-template-columns:1fr 1fr"] { grid-template-columns: 1fr !important; }.chx-studio-aside form[style*="display:flex"] { display: grid !important; grid-template-columns: 1fr; }
.chx-studio-aside .section-title { display: flex; align-items: center; color: var(--ink); font-size: 12px; letter-spacing: normal; margin-bottom: 13px; }.chx-studio-aside .field > label { font-size: 10px; font-weight: 730; }.chx-studio-aside .tbl-wrap { overflow-x: auto; }
.chx-studio-aside .btn { white-space: normal; }.chx-studio-aside button { max-width: 100%; }

/* Notification bell: globally visible next to account photo. */
.fk-notif { position: relative; flex: none; }
.fk-notif-trigger { display: grid; place-items: center; position: relative; width: 39px; height: 39px; padding: 0; background: transparent; border: 1px solid transparent; border-radius: 50%; color: var(--ink-soft); cursor: pointer; }
.fk-notif-trigger:hover,.fk-notif-trigger[aria-expanded="true"] { background: var(--keek-tint); color: var(--keek); }.fk-notif-trigger > svg { width: 23px; height: 23px; }
.fk-notif-badge { display: grid; place-items: center; position: absolute; top: 0; right: 0; min-width: 17px; height: 17px; border-radius: 99px; padding: 1px 3px; background: var(--coral); color: #fff; border: 2px solid var(--surface); font-size: 9px; font-weight: 800; }.fk-notif-badge[hidden] { display: none; }
.fk-notif-popover { position: absolute; z-index: 130; right: 0; top: calc(100% + 13px); width: min(390px,calc(100vw - 28px)); max-height: 70vh; display: flex; flex-direction: column; border: 1px solid var(--hair); border-radius: 17px; background: var(--surface); box-shadow: 0 20px 60px rgba(0,0,0,.17); overflow: hidden; color: var(--ink); }.fk-notif-popover[hidden] { display: none !important; }
.fk-notif-heading { display: flex; align-items: center; justify-content: space-between; padding: 15px 17px; border-bottom: 1px solid var(--hair); }.fk-notif-heading > div { display: flex; flex-direction: column; gap: 4px; }.fk-notif-heading strong { font-size: 16px; }.fk-notif-heading small { font-size: 10px; color: var(--muted); }
.fk-notif-close { display: grid; place-items: center; background: var(--paper); color: var(--muted); width: 27px; height: 27px; border: 0; border-radius: 50%; cursor: pointer; }.fk-notif-close svg { width: 14px; height: 14px; }
.fk-notif-items { flex: 1; overflow-y: auto; min-height: 90px; }.fk-notif-status { padding: 15px; color: var(--muted); font-size: 12px; text-align: center; }
.fk-notif-items > a:not(.fk-notif-item) { display: block; color: var(--keek); font-size: 11px; text-align: center; padding: 12px; }
.fk-notif-item { display: flex; gap: 12px; padding: 13px 16px; text-decoration: none; color: var(--ink); border-bottom: 1px solid var(--hair); }.fk-notif-item:hover { background: var(--paper); }.fk-notif-item.unread { background: color-mix(in srgb,var(--keek-tint) 42%,var(--surface)); }
.fk-notif-item-icon { display: grid; place-items: center; flex: 0 0 33px; height: 33px; border-radius: 11px; background: var(--keek-tint); color: var(--keek); font-size: 15px; font-weight: 800; }.fk-notif-item-body { display: flex; flex-direction: column; gap: 4px; min-width: 0; }.fk-notif-item-body strong { font-size: 11px; line-height: 1.45; }.fk-notif-item-body small { color: var(--muted); font-size: 10px; line-height: 1.4; }.fk-notif-item-body time { color: var(--muted-soft); font-size: 9px; }
.fk-notif-footer { display: flex; align-items: center; justify-content: space-between; gap: 9px; padding: 10px 15px; background: var(--paper); }.fk-notif-footer button,.fk-notif-footer a { font-size: 10.5px; color: var(--keek); font-weight: 750; border: 0; background: none; cursor: pointer; text-decoration: none; }.fk-notif-footer button:disabled { opacity: .5; cursor: default; }.fk-notif-footer a { display: inline-flex; align-items: center; gap: 4px; }.fk-notif-footer svg { width: 14px; height: 14px; }
html[data-theme="dark"] .fk-notif-trigger { color: #fff; }
html[data-theme="dark"] .fk-notif-trigger:hover { color: var(--keek); }
.fk-topbar-channel-search { width: min(430px,100%); display: flex; align-items: center; gap: 9px; padding: 0 14px; height: 38px; border: 1px solid var(--hair); border-radius: 999px; background: var(--paper); color: var(--muted); }.fk-topbar-channel-search svg { width: 17px; height: 17px; }.fk-topbar-channel-search input { width: 100%; border: 0; background: transparent; color: var(--ink); font-size: 12px; outline: none; }

/* Responsive consistency: sidebar follows the existing Freekeek breakpoints. */
@media (max-width: 1470px) {
  .chx-metrics { grid-template-columns: repeat(4,minmax(0,1fr)); }.chx-insight { grid-column: 1 / -1; }
  .chx-owned { grid-template-columns: 165px minmax(190px,1fr) minmax(220px,.9fr); }.chx-owned-actions { grid-column: 2 / -1; justify-content: flex-end; }
  .chx-discover-grid { grid-template-columns: repeat(3,minmax(0,1fr)); }
  .chx-idea-grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
}
@media (max-width: 1180px) {
  .chx-filterbar { grid-template-columns: minmax(160px,1.5fr) repeat(2,minmax(130px,1fr)) auto; }.chx-filterbar label:nth-of-type(4),.chx-filterbar label:nth-of-type(5) { grid-column: auto; }
  .chx-owned { grid-template-columns: 160px minmax(0,1fr); }.chx-owned-stats { grid-column: 1 / -1; }.chx-owned-actions { grid-column: 1 / -1; }
  .chx-discover-grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .chx-profile-information { grid-template-columns: 100px minmax(0,1fr); }.chx-profile-avatar { width: 100px; height: 100px; }.chx-profile-right { grid-column: 1 / -1; padding-top: 0; }.chx-profile-actions { justify-content: flex-start; }
  .chx-studio-layout { grid-template-columns: minmax(0,1fr) 250px; }
}
@media (max-width: 1080px) {
  body:has(.chx) .shell.shell-wide-main { grid-template-columns: 84px minmax(0,1fr); }
  .chx-profile-grid { grid-template-columns: minmax(0,1fr); }.chx-profile-aside { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); }
}
@media (max-width: 920px) {
  .chx-metrics,.chx-studio-kpis { grid-template-columns: repeat(2,minmax(0,1fr)); }.chx-insight { grid-column: 1 / -1; }
  .chx-studio-layout { grid-template-columns: 1fr; }.chx-studio-aside { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); }
  .chx-hub-art { opacity: .35; }.chx-hero-copy { max-width: 90%; }.chx-discover-grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .chx-filterbar { grid-template-columns: repeat(2,minmax(0,1fr)); }.chx-search { grid-column: 1 / -1; }
}
@media (max-width: 720px) {
  body:has(.chx) .shell.shell-wide-main { display: block; padding: 0; }
  .chx { padding: 12px; gap: 17px; }.chx-hub-hero { flex-direction: column; padding: 20px; min-height: 170px; }.chx-hero-copy { max-width: 100%; }.chx-hub-art { opacity: .14; width: 100%; }.chx-hero-cta { align-self: start; }
  .chx-metrics,.chx-studio-kpis { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .chx-discover-grid { grid-template-columns: 1fr; }.chx-owned { grid-template-columns: 100px minmax(0,1fr); gap: 8px; }.chx-owned-media { height: 100px; }.chx-owned-stats { grid-template-columns: repeat(4,minmax(0,1fr)); }.chx-owned-actions { flex-wrap: wrap; }
  .chx-profile-information { grid-template-columns: 85px minmax(0,1fr); padding: 0 14px 16px; gap: 12px; }.chx-profile-avatar { width: 85px; height: 85px; margin-top: -31px; }.chx-profile-core { padding-top: 9px; }.chx-profile-right { grid-column: 1 / -1; }.chx-profile-aside { grid-template-columns: 1fr; }
  .chx-studio-hero { flex-wrap: wrap; }.chx-studio-hero-actions { width: 100%; }.chx-studio-aside { grid-template-columns: 1fr; }.chx-idea-grid { grid-template-columns: repeat(2,minmax(0,1fr)); }.chx-month-nav { justify-content: start; }.chx-calendar-card .chx-section-head { flex-wrap: wrap; }
  .fk-topbar-channel-search { display: none; }.fk-notif-trigger { width: 34px; height: 34px; }
}
@media (max-width: 420px) {
  .chx-metrics,.chx-studio-kpis { grid-template-columns: 1fr 1fr; gap: 6px; }.chx-metric { padding: 10px; }.chx-metric-ico { width: 30px; height: 30px; flex-basis: 30px; }.chx-metric strong { font-size: 19px; }
  .chx-filterbar { grid-template-columns: 1fr; }.chx-search { grid-column: auto; }.chx-profile-stats { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .chx-idea-grid { grid-template-columns: 1fr; }.chx-ai-cta { flex-wrap: wrap; }.chx-creative-head { flex-wrap: wrap; }.chx-studio-hero-actions { flex-wrap: wrap; }.chx-agenda-list > div { grid-template-columns: 1fr auto; }.chx-agenda-list time { grid-column: 1 / -1; }
}

/* Unified Channel creation and safeguarded lifecycle actions */
.chx-create { display: grid; grid-template-columns: minmax(0,1.5fr) minmax(290px,.8fr); gap: 17px; align-items: start; }
.chx-create .channel-create-card { max-width: none !important; width: 100%; margin: 0 !important; }
.chx-create-preview { position: sticky; top: 80px; display: flex; flex-direction: column; gap: 12px; min-width: 0; }
.chx-create-preview h2 { margin: 8px 0 3px; font-size: 17px; }.chx-create-preview > .chx-side-card > p { font-size: 11px; line-height: 1.5; }
.chx-create-cover-preview { margin-top: 17px; height: 125px; border-radius: 11px; background: radial-gradient(circle at 72% 22%,rgba(27,160,248,.7),transparent 33%),linear-gradient(120deg,#102340,#2078ad); }
.chx-create-preview-person { display: flex; gap: 10px; align-items: center; margin-top: -27px; padding: 0 8px; }
.chx-create-avatar-preview { display: grid; place-items: center; flex: 0 0 58px; width: 58px; height: 58px; border: 4px solid var(--surface); border-radius: 50%; background: var(--keek); color: #fff; font-size: 23px; font-weight: 800; }
.chx-create-preview-person > div { display: flex; flex-direction: column; min-width: 0; gap: 4px; padding-top: 14px; }.chx-create-preview-person strong { font-size: 13px; overflow-wrap: anywhere; }.chx-create-preview-person small { color: var(--muted); font-size: 10px; }
.chx-create-preview-desc { color: var(--ink-soft); margin: 17px 0 !important; white-space: pre-line; overflow-wrap: anywhere; }
.chx-create-tip { display: flex; align-items: flex-start; gap: 9px; background: var(--keek-tint); }.chx-create-tip > svg { color: var(--keek); width: 20px; height: 20px; flex: 0 0 20px; }.chx-create-tip strong { font-size: 11px; color: var(--keek-deep); }.chx-create-tip p { font-size: 10px !important; margin: 4px 0 0; color: var(--muted); }
.chx-danger-zone { border-top: 1px solid var(--hair); margin-top: 20px; padding-top: 14px; }
.chx-danger-zone summary { display: flex; align-items: center; gap: 7px; cursor: pointer; color: var(--coral); font-size: 11px; font-weight: 750; list-style: none; }.chx-danger-zone summary::marker { display: none; }.chx-danger-zone summary svg { width: 16px; height: 16px; }
.chx-danger-zone p { color: var(--muted); font-size: 10px; line-height: 1.5; margin: 9px 0; }.chx-danger-zone form { display: grid; gap: 8px; }.chx-danger-zone label { font-size: 10px; color: var(--ink); }.chx-danger-zone input { width: 100%; border: 1px solid var(--coral); border-radius: 9px; min-height: 39px; padding: 8px; color: var(--ink); background: var(--surface); font-size: 11px; }.chx-danger-button { color: var(--coral) !important; border-color: var(--coral) !important; justify-self: start; }
@media (max-width: 1080px) { .chx-create { grid-template-columns: 1fr; }.chx-create-preview { position: static; } }
@media (max-width: 720px) { .chx-create { display: flex; flex-direction: column; }.chx-create .channel-create-card { padding: 17px !important; }.chx-create-preview { width: 100%; }.chx-create .channel-identity-grid,.chx-create .channel-form-two { grid-template-columns: 1fr; } }

@media (min-width: 1081px) {
  body:has(.chx) .app-topbar-inner { max-width: 1660px; grid-template-columns: var(--rail) minmax(0,1fr) auto; gap: 16px; }
  body:has(.chx) .app-topbar-sep { right: -9px; }
}

/* Real channel performance: relative visualizations in the recent editorial sample. */
.chx-performance-rows { display: grid; gap: 11px; }
.chx-performance-row { min-width: 0; }
.chx-performance-row > div:first-child { display: flex; justify-content: space-between; gap: 12px; align-items: baseline; min-width: 0; margin-bottom: 6px; }
.chx-performance-row strong { font-size: 10.5px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; font-weight: 720; }
.chx-performance-row small { font-size: 9px; color: var(--muted); white-space: nowrap; flex: none; }
.chx-performance-track { height: 6px; overflow: hidden; background: var(--paper); border-radius: 999px; }
.chx-performance-track > span { display: block; height: 100%; border-radius: 999px; background: linear-gradient(90deg, var(--keek), color-mix(in srgb,var(--keek) 55%,#7f57d8)); }
.chx-profile-feed .post { max-width: none; min-width: 0; }
@media (max-width: 700px) { .chx-performance-row > div:first-child { flex-direction: column; align-items: flex-start; gap: 3px; }.chx-performance-row small { white-space: normal; } }


/* ==========================================================================
   Channels visual fidelity v3 | 09 Oct 2026
   Hub: filter rail + discovery + intelligence; Studio: editorial workspace.
   Scoped to .chx-directory-v3 and .chx-studio only.
   ========================================================================== */
.chx-directory-v3 { gap: 17px; }
.chx-hub-heading { display: flex; align-items: flex-start; justify-content: space-between; gap: 22px; padding: 8px 6px 4px; }
.chx-hub-heading-title { display: flex; flex-wrap: wrap; align-items: center; gap: 14px; }
.chx-hub-heading h1 { margin: 0; font-size: clamp(30px,2.7vw,38px); color: var(--ink); letter-spacing: -.04em; }
.chx-hub-heading p { color: var(--muted); font-size: 13px; line-height: 1.55; margin: 5px 0 0; }
.chx-pill-accent { display: inline-flex; align-items: center; gap: 6px; border-radius: 999px; color: var(--keek); background: var(--keek-tint); padding: 6px 11px; font-weight: 750; font-size: 10px; white-space: nowrap; }
.chx-pill-accent svg { width: 15px; height: 15px; }
.chx-hub-new { display: flex; flex-direction: column; align-items: flex-end; gap: 5px; }
.chx-hub-new > .btn { padding: 10px 22px; border-radius: 10px; box-shadow: 0 3px 8px var(--chx-glow); }
.chx-hub-new small { max-width: 170px; color: var(--muted); text-align: right; font-size: 10px; line-height: 1.35; }
.chx-directory-kpis { display: grid; grid-template-columns: repeat(4,minmax(0,1fr)); gap: 12px; }
.chx-hub-kpi { display: flex; align-items: center; gap: 13px; min-width: 0; min-height: 105px; border: 1px solid var(--chx-border); background: var(--surface); border-radius: 15px; padding: 17px; box-shadow: var(--shadow-sm); }
.chx-hub-kpi .chx-metric-ico { width: 46px; height: 46px; flex-basis: 46px; border-radius: 12px; }
.chx-hub-kpi .chx-metric-ico svg { width: 24px; height: 24px; }
.chx-hub-kpi .chx-metric-ico.coral { background: color-mix(in srgb,#f0525b 12%,var(--surface)); color: #ec4a55; }
.chx-hub-kpi .chx-metric-ico.violet { background: color-mix(in srgb,#9258ea 12%,var(--surface)); color: #8a56df; }
.chx-hub-kpi > div { display: flex; flex-direction: column; min-width: 0; gap: 3px; }
.chx-hub-kpi > div > span { color: var(--ink-soft); font-weight: 650; font-size: 11px; }
.chx-hub-kpi strong { color: var(--ink); font-size: 27px; line-height: 1.08; font-weight: 830; letter-spacing: -.035em; }
.chx-hub-kpi small { color: var(--muted); font-size: 10px; line-height: 1.35; }
.chx-hub-columns { display: grid; grid-template-columns: minmax(202px,235px) minmax(0,1fr) minmax(225px,255px); gap: 15px; align-items: start; min-width: 0; }
.chx-hub-filters,.chx-hub-content,.chx-hub-insights { min-width: 0; }
.chx-hub-content { display: flex; flex-direction: column; gap: 22px; }
.chx-hub-filters { position: sticky; top: 76px; }
.chx-hub-filter-card,.chx-hub-insight-card { padding: 16px; background: var(--surface); border: 1px solid var(--chx-border); border-radius: 14px; box-shadow: 0 2px 7px rgba(24,48,78,.025); }
.chx-filter-title { display: flex; align-items: center; justify-content: space-between; gap: 7px; margin-bottom: 17px; }
.chx-filter-title h2 { margin: 0; color: var(--ink); font-size: 16px; }
.chx-filter-title a { font-size: 10px; color: var(--keek); font-weight: 730; text-decoration: none; }
.chx-filter-field { display: flex; flex-direction: column; gap: 6px; margin-bottom: 17px; }
.chx-filter-field > span,.chx-filter-fieldset > legend { color: var(--ink); font-size: 10px; font-weight: 770; }
.chx-hub-filter-card .chx-search { min-width: 0; }
.chx-hub-filter-card .chx-search > svg { top: 11px; }
.chx-hub-filter-card input[type=search],.chx-hub-filter-card select { width: 100%; height: 39px; padding: 8px 10px; font-size: 11px; font-weight: 500; border: 1px solid var(--hair); border-radius: 10px; background: var(--surface); color: var(--ink); outline: none; }
.chx-hub-filter-card .chx-search input { padding-left: 34px; }
.chx-hub-filter-card input:focus-visible,.chx-hub-filter-card select:focus-visible { border-color: var(--keek); box-shadow: 0 0 0 3px var(--chx-glow); }
.chx-filter-fieldset { display: grid; gap: 9px; border: 0; margin: 4px 0 18px; padding: 0; }
.chx-filter-fieldset legend { display: block; margin: 0 0 11px; }
.chx-filter-fieldset label { display: flex; gap: 9px; align-items: center; cursor: pointer; color: var(--muted); font-size: 11px; }
.chx-filter-fieldset label:has(input:checked) { color: var(--ink); font-weight: 700; }
.chx-filter-fieldset svg { width: 14px; height: 14px; color: var(--keek); }
.chx-filter-fieldset input { width: 15px; height: 15px; margin: 0; flex: none; accent-color: var(--keek); }
.chx-apply-filters { width: 100%; justify-content: center; font-size: 11px; }
.chx-directory-v3 .chx-section-head { margin-bottom: 12px; }
.chx-directory-v3 .chx-section-head h2 { font-size: 17px; }
.chx-directory-v3 .chx-section-head p { font-size: 10.5px; }
.chx-hub-owned { display: grid; grid-template-columns: 65px minmax(0,1fr); gap: 11px; align-items: start; border: 1px solid var(--chx-border); border-radius: 14px; background: var(--surface); box-shadow: var(--shadow-sm); padding: 14px; min-width: 0; }
.chx-hub-owned-avatar { display: grid; place-items: center; overflow: hidden; width: 62px; height: 62px; border-radius: 50%; background: var(--keek); color: #fff; font-size: 20px; font-weight: 800; }
.chx-hub-owned-avatar img,.chx-hub-discovery-image img,.chx-creator-icon img { width: 100%; height: 100%; object-fit: cover; }
.chx-hub-owned-content { min-width: 0; }
.chx-hub-owned-content .chx-title-link { font-size: 14px; }
.chx-hub-owned-content .chx-handle { display: block; margin: 4px 0; }
.chx-hub-owned-content p { display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; margin: 0 0 7px; color: var(--muted); font-size: 10.5px; line-height: 1.45; }
.chx-hub-owned-content .chx-tags span { font-size: 9px; }
.chx-hub-owned-actions { grid-column: 1/-1; display: flex; align-items: center; gap: 6px; flex-wrap: wrap; padding-top: 8px; border-top: 1px solid var(--hair); }
.chx-hub-owned-actions .btn { font-size: 10px; padding: 8px 10px; }
.chx-directory-tabs-row { display: flex; align-items: center; justify-content: space-between; border-bottom: 1px solid var(--hair); gap: 8px; }
.chx-directory-tabs { display: flex; min-width: 0; max-width: 100%; overflow-x: auto; scrollbar-width: thin; gap: 3px; }
.chx-directory-tabs a { display: inline-flex; align-items: center; flex: none; min-height: 39px; padding: 9px 11px; text-decoration: none; border-bottom: 3px solid transparent; color: var(--muted); font-size: 11px; font-weight: 720; white-space: nowrap; }
.chx-directory-tabs a:hover { color: var(--keek); background: var(--keek-tint); }.chx-directory-tabs a.active { color: var(--keek); border-bottom-color: var(--keek); }
.chx-view-toggle { display: flex; align-items: center; flex: none; gap: 3px; }
.chx-view-toggle button { display: grid; place-items: center; width: 31px; height: 31px; border: 1px solid transparent; border-radius: 8px; background: transparent; color: var(--muted); cursor: pointer; }
.chx-view-toggle button.is-active { border-color: var(--chx-glow); background: var(--keek-tint); color: var(--keek); }.chx-view-toggle svg { width: 17px; height: 17px; }
.chx-discovery-heading { padding: 14px 3px 12px; }.chx-discovery-heading h2 { margin: 0 0 4px; font-size: 15px; }.chx-discovery-heading p { margin: 0; color: var(--muted); font-size: 10.5px; }
.chx-hub-discovery-list { display: grid; grid-template-columns: minmax(0,1fr); gap: 10px; }
.chx-hub-discovery-card { display: grid; grid-template-columns: 135px minmax(0,1fr) auto; gap: 14px; align-items: center; min-width: 0; min-height: 140px; padding: 11px; border-radius: 13px; border: 1px solid var(--chx-border); background: var(--surface); box-shadow: var(--shadow-sm); }
.chx-hub-discovery-image { position: relative; display: block; height: 114px; width: 100%; border-radius: 11px; background: radial-gradient(circle at 60% 20%,#1e9aee,transparent 46%),linear-gradient(135deg,#102a4d,#1b639a); background-size: cover; background-position: center; }
.chx-hub-discovery-image > span { position: absolute; display: grid; place-items: center; overflow: hidden; bottom: 5px; left: 6px; height: 42px; width: 42px; border: 3px solid var(--surface); border-radius: 50%; background: var(--keek); color: #fff; font-weight: 770; }
.chx-hub-discovery-info { min-width: 0; }.chx-hub-discovery-name { display: flex; gap: 6px; align-items: center; }
.chx-hub-discovery-name .chx-title-link { font-size: 13px; }.chx-hub-discovery-info .chx-handle { display: block; margin: 3px 0; font-size: 10px; }
.chx-hub-discovery-info p { display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; color: var(--muted); font-size: 10.5px; line-height: 1.55; margin: 5px 0; }
.chx-hub-discovery-info .chx-tags { padding-top: 4px; }.chx-hub-discovery-info .chx-tags span { font-size: 9px; }
.chx-hub-discovery-actions { align-self: start; padding-top: 3px; }.chx-hub-discovery-actions .btn { font-size: 10px; }
.chx-hub-discovery-list[data-view="grid"] { grid-template-columns: repeat(2,minmax(0,1fr)); }
.chx-hub-discovery-list[data-view="grid"] .chx-hub-discovery-card { display: flex; flex-direction: column; align-items: stretch; padding: 0 0 12px; gap: 8px; overflow: hidden; }
.chx-hub-discovery-list[data-view="grid"] .chx-hub-discovery-image { height: 100px; border-radius: 0; }
.chx-hub-discovery-list[data-view="grid"] .chx-hub-discovery-info { padding: 0 12px; flex: 1; }
.chx-hub-discovery-list[data-view="grid"] .chx-hub-discovery-actions { padding: 0 12px; align-self: stretch; }
.chx-hub-discovery-list[data-view="grid"] .chx-hub-discovery-actions .btn { width: 100%; }
.chx-hub-insights { display: grid; gap: 13px; }
.chx-insight-head { display: flex; justify-content: space-between; align-items: baseline; gap: 8px; }
.chx-insight-head h2 { margin: 0; display: flex; gap: 6px; align-items: center; font-size: 12px; }
.chx-insight-head h2 svg { width: 17px; height: 17px; color: var(--keek); }
.chx-insight-head a { flex: none; font-size: 10px; font-weight: 650; text-decoration: none; color: var(--keek); }
.chx-insight-sub { font-size: 9.5px; margin: 6px 0 9px; color: var(--muted); }
.chx-category-ranking { padding: 0; margin: 0; list-style: none; display: grid; gap: 7px; }
.chx-category-ranking li { display: grid; grid-template-columns: 24px minmax(0,1fr) 37px; gap: 8px; align-items: center; border-radius: 8px; padding: 4px; }
.chx-ranking-number { display: grid; place-items: center; width: 21px; height: 21px; color: var(--keek); border-radius: 50%; background: var(--keek-tint); font-size: 10px; font-weight: 800; }
.chx-category-ranking li a { display: flex; flex-direction: column; min-width: 0; gap: 3px; color: var(--ink); text-decoration: none; }
.chx-category-ranking li a strong { overflow: hidden; white-space: nowrap; text-overflow: ellipsis; font-size: 10.5px; }
.chx-category-ranking li a small { font-size: 9px; color: var(--muted); }
.chx-ranking-bar { height: 5px; background: var(--paper); border-radius: 999px; overflow: hidden; }
.chx-ranking-bar::before { content: ""; display: block; height: 100%; width: var(--share); background: var(--keek); border-radius: inherit; }
.chx-creator-ranking { display: grid; gap: 9px; }.chx-creator-ranking > a { display: grid; grid-template-columns: 34px minmax(0,1fr); gap: 8px; align-items: center; color: var(--ink); text-decoration: none; }
.chx-creator-icon { display: grid; place-items: center; height: 33px; width: 33px; overflow: hidden; border-radius: 50%; background: var(--keek); color: #fff; font-size: 14px; font-weight: 770; }
.chx-creator-ranking > a > span:nth-child(2) { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.chx-creator-ranking strong { font-size: 10.5px; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; }.chx-creator-ranking small { font-size: 9px; color: var(--muted); }.chx-creator-ranking em { font-size: 9px; color: var(--green); font-style: normal; font-weight: 720; }
.chx-insight-placeholder { display: flex; flex-direction: column; align-items: center; text-align: center; gap: 6px; padding: 15px 3px; }.chx-insight-placeholder svg { width: 24px; height: 24px; color: var(--keek); }.chx-insight-placeholder p { font-size: 10px; line-height: 1.5; color: var(--muted); margin: 0; }
.chx-hub-insight-note { display: flex; gap: 9px; padding: 13px; border-radius: 12px; border: 1px solid var(--hair); background: var(--paper); }.chx-hub-insight-note > svg { flex: 0 0 19px; width: 19px; height: 19px; color: var(--keek); }.chx-hub-insight-note p { margin: 0; color: var(--muted); font-size: 9.5px; line-height: 1.5; }

/* Studio premium hero/command bar */
.chx-studio-hero-premium { border-radius: 16px; min-height: 153px; overflow: hidden; background: linear-gradient(90deg,color-mix(in srgb,var(--surface) 94%,transparent) 0%,color-mix(in srgb,var(--surface) 84%,transparent) 52%,color-mix(in srgb,var(--keek-tint) 55%,transparent) 100%),var(--studio-cover,radial-gradient(circle at 84% 28%,color-mix(in srgb,var(--keek) 32%,transparent),transparent 43%)); background-size: cover; background-position: center right; }
.chx-studio-hero-premium::after { content: ""; position: absolute; inset: 0 0 0 46%; z-index: 0; background-image: var(--studio-cover,none); background-size: cover; background-position: center; opacity: .72; mask-image: linear-gradient(90deg,transparent,black 65%); pointer-events: none; }
.chx-studio-hero-premium .chx-studio-brand,.chx-studio-hero-premium .chx-studio-hero-actions { position: relative; z-index: 1; }
.chx-studio-hero-premium .chx-studio-avatar { width: 100px; height: 100px; flex-basis: 100px; border: 4px solid var(--surface); }
.chx-studio-hero-premium .chx-studio-brand h1 { font-size: 31px; margin: 3px 0 4px; }.chx-studio-subidentity { display: flex; gap: 8px; flex-wrap: wrap; align-items: center; }.chx-studio-subidentity strong { font-size: 17px; }.chx-studio-subidentity span { font-size: 12px; color: var(--muted); }
.chx-studio-hero-premium .chx-tags { margin-top: 9px; }.chx-studio-hero-premium .chx-tags span { background: color-mix(in srgb,var(--surface) 87%,transparent); border-color: var(--chx-border); }
.chx-studio-hero-premium .chx-studio-hero-actions { align-self: flex-start; }
.chx-studio-nav-premium { position: relative; padding: 0 9px; justify-content: flex-start; border-radius: 10px; gap: 16px; border-color: var(--chx-border); }
.chx-studio-nav-premium a { border-radius: 0; border-bottom: 3px solid transparent; min-height: 44px; padding: 12px 11px; color: var(--ink-soft); font-weight: 740; font-size: 11px; }
.chx-studio-nav-premium a.is-active,.chx-studio-nav-premium a:focus-visible { color: var(--keek); border-bottom-color: var(--keek); background: transparent; }
.chx-studio-kpis-premium .chx-metric { min-height: 93px; padding: 16px; }
.chx-studio-kpis-premium .chx-metric-ico { width: 45px; height: 45px; flex-basis: 45px; border-radius: 13px; }
.chx-studio-kpis-premium .chx-metric-ico svg { width: 23px; height: 23px; }
.chx-studio-kpis-premium .chx-metric small { font-size: 11px; font-weight: 680; }.chx-studio-kpis-premium .chx-metric strong { font-size: 25px; }.chx-studio-kpis-premium .chx-kpi-trend { color: var(--green); font-weight: 650; }

/* Central de Conteúdo IA as primary creative surface, connected to existing publishing. */
.chx-creative-premium { background: var(--surface); padding: 18px; }
.chx-creative-premium .chx-creative-head { align-items: center; }.chx-creative-premium .chx-creative-head h2 { font-size: 16px; margin: 0 0 3px; }.chx-creative-premium .chx-creative-head p { font-size: 11px; }
.chx-creative-premium .chx-creative-head > .btn { white-space: nowrap; }
.chx-creative-prompt { margin-top: 13px; }.chx-creative-prompt textarea { display: block; width: 100%; min-height: 94px; padding: 15px; resize: vertical; border: 1px solid color-mix(in srgb,var(--keek) 22%,var(--hair)); border-radius: 12px; background: var(--surface); color: var(--ink); font: inherit; font-size: 12px; line-height: 1.6; outline: none; }.chx-creative-prompt textarea:focus { border-color: var(--keek); box-shadow: 0 0 0 3px var(--chx-glow); }
.chx-creative-actions { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-top: 9px; }.chx-creative-helpers { display: flex; flex-wrap: wrap; gap: 6px; }
.chx-creative-helpers button { display: inline-flex; align-items: center; gap: 6px; padding: 8px 10px; border: 1px solid var(--hair); border-radius: 9px; color: var(--ink-soft); background: var(--surface); cursor: pointer; font-size: 10px; font-weight: 660; }.chx-creative-helpers button:hover { color: var(--keek); border-color: var(--keek); }
.chx-creative-helpers svg { width: 14px; height: 14px; }.chx-creative-actions > .btn { flex: none; }
.chx-creative-prompt .chx-helper { margin-top: 8px; }.chx-ai-service-link { display: inline-flex; gap: 6px; align-items: center; margin-top: 10px; font-size: 10px; font-weight: 760; color: var(--keek); text-decoration: none; }.chx-ai-service-link svg { width: 15px; height: 15px; }
.chx-idea-caption { margin: 17px 0 9px; font-size: 11px; }.chx-creative-premium .chx-idea-grid { grid-template-columns: repeat(4,minmax(0,1fr)); }.chx-creative-premium .chx-idea-grid button { gap: 6px; padding: 11px; }.chx-creative-premium .chx-idea-grid button span { font-size: 10px; }.chx-creative-premium .chx-idea-grid button small { font-size: 9px; }
.chx-studio-editorial-row { display: grid; grid-template-columns: minmax(0,.97fr) minmax(0,1.03fr); align-items: start; gap: 14px; min-width: 0; }
.chx-studio-editorial-row > section { margin: 0 !important; min-width: 0; height: 100%; }
.chx-studio-editorial-row .chx-section-head { flex-wrap: wrap; gap: 9px; }.chx-studio-editorial-row .chx-section-head h2 { font-size: 14px; }.chx-studio-editorial-row .chx-section-head p { font-size: 10px; }
.chx-studio-editorial-row .chx-month-nav { margin-left: auto; }
.chx-studio-editorial-row .chx-calendar-card { padding: 15px; }.chx-studio-editorial-row .chx-calendar-grid { gap: 3px; }.chx-studio-editorial-row .chx-calendar-day { min-height: 33px; padding: 4px; }.chx-studio-editorial-row .chx-calendar-weekday { font-size: 9px; }
.chx-studio-editorial-row .chx-calendar-footer { font-size: 9px; }
.chx-recent-card { padding: 15px; }.chx-recent-list { display: grid; gap: 2px; }
.chx-recent-item { display: grid; grid-template-columns: 46px minmax(0,1fr) auto 25px; align-items: center; gap: 8px; padding: 9px 0; border-top: 1px solid var(--hair); }
.chx-recent-thumbnail { display: grid; place-items: center; width: 45px; height: 39px; border-radius: 8px; background: linear-gradient(130deg,#132b52,#2785ad); color: #fff; background-size: cover; background-position: center; }.chx-recent-thumbnail svg { width: 18px; height: 18px; }
.chx-recent-info { display: flex; flex-direction: column; gap: 4px; min-width: 0; }.chx-recent-info strong { color: var(--ink); font-size: 10px; line-height: 1.45; }.chx-recent-info small { font-size: 9px; color: var(--muted); }
.chx-recent-status { display: inline-flex; padding: 4px 6px; border-radius: 99px; color: var(--muted); background: var(--paper); font-size: 8.5px; white-space: nowrap; }
.chx-recent-status.published { color: var(--green); background: var(--green-tint); }.chx-recent-status.scheduled { color: var(--keek); background: var(--keek-tint); }
.chx-recent-action { display: grid; place-items: center; width: 26px; height: 26px; border: 1px solid var(--hair); border-radius: 8px; color: var(--muted); }.chx-recent-action svg { width: 14px; height: 14px; }
.chx-recent-card .chx-empty { min-height: 195px; }

/* Right-hand Studio executive cards and progressive disclosure for settings. */
.chx-studio-aside { gap: 12px; }.chx-studio-aside .chx-summary-side { padding: 14px; }
.chx-side-heading { display: flex; justify-content: space-between; align-items: center; gap: 10px; margin-bottom: 12px; }
.chx-side-heading h2 { display: flex; align-items: center; gap: 7px; font-size: 12.5px; margin: 0; }.chx-side-heading h2 svg { width: 17px; height: 17px; color: var(--keek); }
.chx-side-heading a { display: inline-flex; align-items: center; gap: 4px; padding: 5px 8px; font-size: 10px; font-weight: 710; color: var(--keek); background: var(--keek-tint); border-radius: 7px; text-decoration: none; }
.chx-visual-previews { display: grid; grid-template-columns: .72fr 1.28fr; gap: 9px; }.chx-visual-previews > div { min-width: 0; }.chx-visual-previews strong,.chx-visual-previews small { display: block; font-size: 9px; margin-top: 4px; }.chx-visual-previews small { color: var(--muted); font-size: 8px; }
.chx-visual-image { display: grid; place-items: center; overflow: hidden; height: 70px; width: 100%; border-radius: 9px; color: #fff; background: linear-gradient(135deg,#192c53,#287fbd); background-size: cover; background-position: center; }.chx-visual-image img { max-width: 100%; width: 100%; height: 100%; object-fit: cover; }
.chx-visual-avatar { width: 70px; border-radius: 50%; font-size: 24px; }
.chx-side-dl { display: grid; grid-template-columns: 1fr 1fr; gap: 9px; margin: 0; }.chx-side-dl > div { display: flex; flex-direction: column; gap: 2px; min-width: 0; }.chx-side-dl dt { color: var(--muted); font-size: 9px; }.chx-side-dl dd { margin: 0; color: var(--ink); font-size: 10px; font-weight: 720; overflow-wrap: anywhere; }.chx-side-dl > div:last-child { grid-column: 1 / -1; }
.chx-side-meta { font-size: 10.5px; color: var(--muted); line-height: 1.5; margin: 0; }.chx-side-meta strong { color: var(--ink); }
.chx-side-place-chips { display: flex; gap: 4px; flex-wrap: wrap; margin-top: 7px; }.chx-side-place-chips span { background: var(--paper); padding: 4px 7px; border-radius: 999px; font-size: 9px; }
.chx-team-preview { display: grid; gap: 8px; }.chx-team-preview > div { display: grid; grid-template-columns: 31px minmax(0,1fr) auto; gap: 8px; align-items: center; }.chx-team-letter { display: grid; place-items: center; width: 30px; height: 30px; border-radius: 50%; background: var(--keek-tint); color: var(--keek); font-size: 12px; font-weight: 800; }.chx-team-preview > div > span:nth-child(2) { display: flex; flex-direction: column; min-width: 0; gap: 3px; }.chx-team-preview strong { font-size: 10px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }.chx-team-preview small { color: var(--muted); font-size: 9px; }.chx-team-preview em { color: var(--keek); background: var(--keek-tint); border-radius: 99px; padding: 3px 7px; font-style: normal; font-size: 8.5px; }
.chx-side-edit { margin-top: 10px; padding-top: 9px; border-top: 1px solid var(--hair); }.chx-side-edit summary { display: inline-flex; align-items: center; gap: 6px; color: var(--keek); font-size: 10px; font-weight: 760; cursor: pointer; list-style: none; }.chx-side-edit summary::marker { display: none; }.chx-side-edit summary svg { width: 14px; height: 14px; }
.chx-side-edit[open] > :not(summary) { margin-top: 12px; }.chx-side-edit .channel-studio-identity-grid { grid-template-columns: 1fr !important; }.chx-side-edit .channel-studio-media-card { align-items: flex-start; }
.chx-side-performance-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }.chx-side-performance-grid > div { border-radius: 10px; background: var(--paper); padding: 10px; display: flex; flex-direction: column; gap: 4px; }.chx-side-performance-grid span { display: inline-flex; align-items: center; gap: 5px; color: var(--muted); font-size: 9px; }.chx-side-performance-grid svg { width: 13px; height: 13px; color: var(--keek); }.chx-side-performance-grid strong { font-size: 17px; }.chx-side-footnote { display: block; margin-top: 10px; color: var(--muted); font-size: 9px; line-height: 1.4; }

/* Layout breakpoints: do not squeeze 3 columns into tablet widths. */
@media (min-width: 1500px) {
  .chx-hub-owned { grid-template-columns: 66px minmax(0,1fr) auto; align-items: center; }
  .chx-hub-owned-actions { grid-column: 3; flex-direction: column; padding: 0 0 0 9px; border-top: 0; }
  .chx-hub-owned-actions .btn { width: 100%; justify-content: center; }
}
@media (max-width: 1510px) {
  .chx-hub-columns { grid-template-columns: minmax(175px,215px) minmax(0,1fr) minmax(190px,220px); gap: 10px; }
  .chx-directory-kpis { gap: 9px; }.chx-hub-kpi { padding: 12px; min-height: 95px; }.chx-hub-kpi .chx-metric-ico { width: 35px; height: 35px; flex-basis: 35px; }.chx-hub-kpi strong { font-size: 23px; }
  .chx-studio-editorial-row { grid-template-columns: 1fr; }
}
@media (max-width: 1200px) {
  .chx-hub-columns { grid-template-columns: minmax(195px,230px) minmax(0,1fr); gap: 12px; }
  .chx-hub-insights { grid-column: 1 / -1; grid-template-columns: repeat(2,minmax(0,1fr)); }
  .chx-hub-insight-note { display: none; }
  .chx-studio-editorial-row { grid-template-columns: 1fr; }
  .chx-creative-premium .chx-idea-grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
}
@media (max-width: 960px) {
  .chx-hub-columns { grid-template-columns: 1fr; }
  .chx-hub-filters { position: static; }.chx-hub-filter-card { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 8px 14px; }.chx-hub-filter-card .chx-filter-title,.chx-hub-filter-card .chx-filter-fieldset { grid-column: 1 / -1; }.chx-hub-filter-card .chx-filter-field { margin: 0; }.chx-hub-filter-card .chx-apply-filters { grid-column: 1 / -1; }
  .chx-directory-kpis { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .chx-studio-editorial-row { grid-template-columns: 1fr; }
}
@media (max-width: 720px) {
  .chx-hub-heading { padding: 4px 0; }.chx-hub-heading-title { gap: 7px; }.chx-hub-heading h1 { font-size: 29px; }.chx-hub-heading p { font-size: 11px; }
  .chx-hub-new { align-items: flex-start; }.chx-hub-new small { text-align: left; }
  .chx-hub-filter-card { grid-template-columns: 1fr 1fr; }
  .chx-hub-insights { grid-template-columns: 1fr; }
  .chx-hub-discovery-card { grid-template-columns: 95px minmax(0,1fr); gap: 10px; }.chx-hub-discovery-image { height: 100px; }
  .chx-hub-discovery-actions { grid-column: 2; justify-self: start; }.chx-hub-discovery-info p { -webkit-line-clamp: 2; }
  .chx-studio-hero-premium { align-items: flex-start; }
  .chx-studio-hero-premium .chx-studio-avatar { width: 68px; height: 68px; flex-basis: 68px; }.chx-studio-hero-premium .chx-studio-brand h1 { font-size: 24px; }
  .chx-studio-hero-premium::after { opacity: .28; }
  .chx-creative-actions { align-items: stretch; flex-direction: column; }.chx-creative-actions > .btn { align-self: flex-start; }
}
@media (max-width: 520px) {
  .chx-hub-heading { flex-direction: column; }.chx-hub-new > .btn { padding: 9px 14px; }
  .chx-directory-kpis { gap: 7px; }.chx-hub-kpi { min-height: 82px; padding: 10px; gap: 8px; }.chx-hub-kpi .chx-metric-ico { width: 30px; height: 30px; flex-basis: 30px; }.chx-hub-kpi > div > span { font-size: 9.5px; }.chx-hub-kpi strong { font-size: 19px; }.chx-hub-kpi small { font-size: 8.5px; }
  .chx-hub-filter-card { grid-template-columns: 1fr; }.chx-hub-filter-card .chx-filter-title,.chx-hub-filter-card .chx-filter-fieldset,.chx-hub-filter-card .chx-apply-filters { grid-column: auto; }
  .chx-hub-owned { padding: 10px; gap: 9px; grid-template-columns: 49px minmax(0,1fr); }.chx-hub-owned-avatar { width: 48px; height: 48px; }.chx-hub-owned-actions { flex-wrap: wrap; }
  .chx-hub-discovery-list[data-view="grid"] { grid-template-columns: 1fr; }
  .chx-hub-discovery-card { grid-template-columns: 1fr; }.chx-hub-discovery-image { height: 110px; }.chx-hub-discovery-actions { grid-column: 1; }
  .chx-directory-tabs-row { flex-wrap: wrap; }.chx-directory-tabs { width: 100%; }.chx-view-toggle { margin-left: auto; }
  .chx-studio-nav-premium { gap: 3px; }
  .chx-studio-kpis-premium .chx-metric { min-height: 76px; }.chx-studio-kpis-premium .chx-metric-ico { width: 32px; height: 32px; flex-basis: 32px; }.chx-studio-kpis-premium .chx-metric strong { font-size: 20px; }
}


/* Editorial queue is a genuine table, often wider than a phone.
   Contain horizontal scroll within its card instead of extending the
   entire Studio document, while retaining every management action. */
.chx-studio .chx-editorial .tbl-wrap {
  display: block;
  width: 100%;
  max-width: 100%;
  min-width: 0;
  overflow-x: auto;
  overflow-y: hidden;
  overscroll-behavior-x: contain;
  -webkit-overflow-scrolling: touch;
}
.chx-studio .chx-editorial .tbl-wrap > .tbl {
  width: max-content;
  min-width: 100%;
  max-width: none;
}
.chx-studio .chx-editorial .tbl td:first-child > strong {
  display: block;
  max-width: 270px;
  white-space: normal;
  overflow-wrap: anywhere;
}


/* Long editorial titles must shrink inside mobile performance rows rather
   than force the entire document wider than the viewport. */
.chx-studio .chx-performance-row,
.chx-studio .chx-performance-row > div:first-child {
  min-width: 0;
  max-width: 100%;
}
.chx-studio .chx-performance-row strong {
  display: block;
  flex: 1 1 auto;
  min-width: 0;
  max-width: 100%;
  overflow: hidden;
  text-overflow: ellipsis;
}
.chx-studio .chx-performance-row small {
  max-width: 100%;
  overflow-wrap: anywhere;
}


/* Freekeek Intelligence - native Channel Studio agent workspace */
.chx-ai-agents-panel{display:grid;gap:15px;padding:20px 22px;margin-top:14px;background:var(--fk-surface);border:1px solid var(--fk-border);border-radius:16px;box-shadow:var(--fk-shadow-card)}
.chx-ai-agents-heading{display:flex;align-items:center;gap:12px;min-width:0}
.chx-ai-agents-heading>div{flex:1;min-width:0}
.chx-ai-agents-heading h2{margin:5px 0 4px;color:var(--fk-text);font:820 20px/1.25 var(--display)}
.chx-ai-agents-heading p{margin:0;color:var(--fk-text-muted);font:500 11px/1.5 var(--body)}
.chx-ai-agents-logo{display:grid;place-items:center;flex:none;width:46px;height:46px;background:var(--fk-brand-tint);border-radius:13px;color:var(--fk-brand)}
.chx-ai-agents-logo svg{width:23px;height:23px}
.chx-ai-agents-heading .btn{flex:none}
.chx-ai-agents-summary{display:flex;flex-wrap:wrap;gap:8px}
.chx-ai-agents-summary span{display:inline-flex;align-items:center;gap:5px;border-radius:999px;padding:7px 10px;background:var(--fk-canvas);color:var(--fk-text-secondary);font:750 10px var(--body)}
.chx-ai-agents-summary svg{width:14px;height:14px}
.chx-ai-agents-summary .chx-ai-agent-off{background:color-mix(in srgb,var(--fk-brand-tint) 70%,var(--fk-surface));color:var(--fk-brand-strong)}
.chx-ai-agents-summary .chx-ai-agent-on{color:#18815d;background:#def9eb}
.chx-ai-agent-list{display:grid;gap:8px}
.chx-ai-agent-item{display:flex;align-items:center;gap:10px;min-width:0;padding:11px 12px;border:1px solid var(--fk-border);border-radius:12px;text-decoration:none;color:var(--fk-text);background:var(--fk-surface);transition:background .16s ease,border-color .16s ease}
.chx-ai-agent-item:hover{background:var(--fk-brand-tint);border-color:var(--fk-brand)}
.chx-ai-agent-avatar{flex:none;display:grid;place-items:center;width:34px;height:34px;border-radius:10px;background:var(--fk-brand-tint);color:var(--fk-brand)}
.chx-ai-agent-avatar svg{width:18px;height:18px}
.chx-ai-agent-copy{display:grid;gap:3px;flex:1;min-width:0}
.chx-ai-agent-copy strong{font:800 12px var(--display);overflow:hidden;white-space:nowrap;text-overflow:ellipsis}
.chx-ai-agent-copy small{font:500 10px/1.3 var(--body);color:var(--fk-text-muted);overflow:hidden;white-space:nowrap;text-overflow:ellipsis}
.chx-ai-agent-timing svg{display:inline;width:12px;height:12px;vertical-align:middle}
.chx-ai-agent-state{flex:none;padding:6px 9px;border-radius:999px;font:780 10px var(--body);background:var(--fk-brand-tint);color:var(--fk-brand-strong)}
.chx-ai-agent-state.active{background:#ddf8eb;color:#0d7952}
.chx-ai-agent-state.suspended{background:#ffe4df;color:#aa3626}
.chx-ai-agent-item>svg{height:16px;width:16px;flex:none;color:var(--fk-text-muted)}
.chx-ai-agents-empty{display:flex;align-items:center;gap:12px;padding:18px;border-radius:12px;border:1px dashed var(--fk-border);background:var(--fk-canvas)}
.chx-ai-agents-empty>span{display:grid;place-items:center;flex:none;width:36px;height:36px;color:var(--fk-brand)}
.chx-ai-agents-empty>div{flex:1;min-width:0}
.chx-ai-agents-empty strong{font:800 12px var(--display);color:var(--fk-text)}
.chx-ai-agents-empty p{margin:4px 0 0;font:500 11px/1.5 var(--body);color:var(--fk-text-muted)}
.chx-ai-agents-footer{display:flex;align-items:center;justify-content:space-between;gap:10px;flex-wrap:wrap;border-top:1px solid var(--fk-border);padding-top:10px}
.chx-ai-agents-footer span,.chx-ai-agents-footer a{display:inline-flex;align-items:center;gap:6px;font:630 10.5px/1.45 var(--body);color:var(--fk-text-muted)}
.chx-ai-agents-footer a{color:var(--fk-brand);text-decoration:none;font-weight:790}
.chx-ai-agents-footer svg{height:14px;width:14px;flex:none}
@media(max-width:780px){.chx-ai-agents-panel{padding:15px}.chx-ai-agents-heading{flex-wrap:wrap}.chx-ai-agents-heading>div{flex:1 1 170px}.chx-ai-agents-heading .btn{width:100%;justify-content:center}.chx-ai-agents-empty{align-items:flex-start;flex-wrap:wrap}.chx-ai-agents-empty .btn{flex:1 1 100%}.chx-ai-agent-item{gap:7px}.chx-ai-agent-state{font-size:9px;padding:5px 6px}}
@media(max-width:380px){.chx-ai-agent-item{flex-wrap:wrap}.chx-ai-agent-state{margin-left:auto}.chx-ai-agent-item>svg{display:none}}
