/* Shared native theme; no additional preference storage or theme controller. */
.bb-publish-menu,.bb-creator{--cr-surface:#f7f7f7;--cr-panel:#fff;--cr-raised:#ededed;--cr-hover:#eee;--cr-text:#262626;--cr-muted:#666;--cr-border:#ddd;--cr-bg:#fafafa;color:var(--cr-text)}
.dark .bb-publish-menu,.dark .bb-creator{--cr-surface:var(--bb-surface,#1c1c1c);--cr-panel:var(--bb-surface,#1c1c1c);--cr-raised:var(--bb-raised,#252525);--cr-hover:var(--bb-hover,#303030);--cr-text:var(--bb-text,#e6e6e6);--cr-muted:var(--bb-text-muted,#ababab);--cr-border:var(--bb-border,#3c3c3c);--cr-bg:var(--bb-bg,#141414)}
/* 3.1 part-header-nav-right / creator: 28px control, 320px popover,
   four columns, 48px icon discs, 14px labels and a 16px footer. */
.bb-publish-menu{position:relative;display:inline-flex;justify-content:flex-end;align-items:center;width:auto;flex:0 0 auto;height:28px;box-sizing:border-box;z-index:110;padding:0;--placement:bottom-end;--offset:8px}
.bb-publish-toggle{display:flex;align-items:center;justify-content:center;gap:0;height:28px;min-height:28px;padding:0 6px;border:0;border-radius:999px;background:var(--cr-text);color:var(--cr-panel);font-size:12px;font-weight:500;overflow:hidden;cursor:pointer;transition:all .3s ease-in-out}
.bb-publish-toggle>i{display:inline-block;width:16px;height:16px;flex-shrink:0}
.bb-publish-label{display:inline-block;max-width:0;opacity:0;overflow:hidden;font-size:12px;line-height:16px;white-space:nowrap;transition:max-width .18s ease,opacity .18s ease}
.bb-publish-menu:hover .bb-publish-label,.bb-publish-menu.open .bb-publish-label{max-width:24px;opacity:1}
.bb-publish-menu:hover .bb-publish-toggle,.bb-publish-menu.open .bb-publish-toggle{padding-inline:10px;gap:4px}
.bb-publish-pop{position:absolute;right:0;top:0;margin:0;width:320px;max-width:calc(100vw - 24px);padding:0;background:var(--cr-panel);color:var(--cr-text);border-radius:16px;box-shadow:0 8px 32px rgb(0 0 0 / 10%);z-index:110;max-height:calc(100dvh - 110px);overflow-y:auto;overflow-x:hidden;scrollbar-width:none !important;-ms-overflow-style:none}
.bb-publish-body{padding:4px}.bb-publish-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:4px;list-style:none;margin:0;padding:4px}
.bb-publish-grid li{min-width:0}.bb-publish-grid a{display:flex;align-items:center;justify-content:center;flex-direction:column;gap:8px;padding:8px 12px;border-radius:12px;width:100%;font-size:14px;line-height:20px;text-align:center;white-space:nowrap}
.bb-publish-grid a:hover{background:var(--cr-surface)}.bb-publish-icon{display:flex;align-items:center;justify-content:center;width:48px;height:48px;flex-shrink:0;border-radius:50%;background:var(--cr-surface)}.bb-publish-icon svg{width:22px;height:22px}
.bb-publish-footer{padding:16px}.bb-publish-center{display:flex;align-items:center;justify-content:center;gap:12px;min-height:38px;padding:8px 12px;border:1px solid var(--cr-border);border-radius:6px;font-size:14px;line-height:20px}.bb-publish-center i{width:20px;height:20px}.bb-publish-center:hover{background:var(--cr-hover)}
.bb-publish-menu :focus-visible,.bb-creator a:focus-visible,.bb-creator button:focus-visible{outline:2px solid var(--cr-muted);outline-offset:3px}
.bb-creator{width:100%;min-width:0;padding-bottom:calc(36px + env(safe-area-inset-bottom))}
.bb-creator-heading{display:flex;justify-content:space-between;align-items:center;gap:16px;margin:10px 0 28px}.bb-creator-heading h1{font-size:26px;font-weight:650;margin:0 0 8px;color:var(--cr-text)}.bb-creator-heading p,.bb-creator-muted{color:var(--cr-muted);font-size:14px;line-height:1.7}.bb-creator-heading>a{white-space:nowrap;font-size:14px}
.bb-creator h2{font-size:17px;font-weight:600;color:var(--cr-text);margin:0 0 12px}.bb-creator-greeting{font-size:18px;font-weight:500;margin-bottom:18px}
.bb-creator-actions{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:14px;margin-bottom:22px}.bb-creator-actions>a{display:flex;align-items:center;gap:12px;background:var(--cr-surface);padding:18px;border-radius:12px;min-width:0}.bb-creator-actions svg{width:24px;height:24px;flex-shrink:0}.bb-creator-actions div{min-width:0;flex:1}.bb-creator-actions strong{font-size:14px;display:block}.bb-creator-actions small{display:block;font-size:12px;line-height:1.6;color:var(--cr-muted);margin-top:5px}.bb-creator-actions>a:hover,.bb-creator-stats>a:hover{background:var(--cr-hover)}
.bb-creator-stats{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:16px;margin-bottom:22px}.bb-creator-stats>a{display:flex;flex-direction:column;gap:12px;padding:22px;border-radius:12px;background:var(--cr-surface)}.bb-creator-stats span,.bb-creator-stats small{color:var(--cr-muted);font-size:13px}.bb-creator-stats strong{font-size:30px;line-height:1.2}
.bb-creator-analysis{display:grid;grid-template-columns:2fr 1fr;gap:20px;margin-bottom:28px}.bb-creator-panel{padding:24px;background:var(--cr-surface);border-radius:14px;min-width:0}.bb-creator-panel>p{line-height:1.8}.bb-creator-primary{display:inline-flex;align-items:center;justify-content:center;min-height:40px;padding:8px 20px;border-radius:999px;background:var(--cr-text);color:var(--cr-panel);margin-top:20px}
.bb-creator-chart{display:flex;gap:8px;align-items:end;justify-content:space-between;height:184px;margin-top:20px}.bb-creator-chart>div{display:flex;flex-direction:column;align-items:center;justify-content:end;gap:8px;flex:1;min-width:0;height:100%}.bb-creator-chart i{display:block;width:100%;max-width:22px;border-radius:4px 4px 0 0;background:var(--cr-muted)}.bb-creator-chart span,.bb-creator-chart small{font-size:11px;color:var(--cr-muted);white-space:nowrap}
.bb-creator-interactions{display:flex;justify-content:space-around;gap:20px;padding:28px 0}.bb-creator-interactions div{display:flex;flex-direction:column;gap:12px;text-align:center}.bb-creator-interactions strong{font-size:30px}.bb-creator-interactions span{font-size:14px;color:var(--cr-muted)}
.bb-creator-list-head{display:flex;align-items:center;justify-content:space-between;gap:12px;margin:24px 0 12px}.bb-creator-list-head h2{margin:0}.bb-creator-list-head a{font-size:14px;color:var(--cr-muted)}
.bb-creator-records{display:flex;flex-direction:column;gap:12px}.bb-creator-record{display:flex;align-items:center;gap:16px;min-width:0;padding:16px;background:var(--cr-surface);border-radius:12px}.bb-creator-record>img{width:64px;height:64px;object-fit:cover;border-radius:8px;flex-shrink:0}.bb-creator-record>div:not(.bb-creator-record-actions){flex:1;min-width:0}.bb-creator-record h3{font-size:15px;font-weight:500;line-height:1.6;margin:0 0 6px;overflow-wrap:anywhere}.bb-creator-record p{font-size:12px;color:var(--cr-muted);margin:0;line-height:1.7}.bb-creator-record-actions{display:flex;gap:16px;flex-shrink:0;font-size:13px}.bb-creator-record-actions a{text-decoration:underline}
.bb-creator-pagination{display:flex;flex-wrap:wrap;gap:10px;margin-top:24px}.bb-creator-pagination a,.bb-creator-pagination span{padding:8px 14px;border-radius:8px;border:1px solid var(--cr-border);font-size:14px}.bb-creator-pagination .current{background:var(--cr-surface)}.bb-creator-empty{padding:40px 20px;text-align:center;color:var(--cr-muted);background:var(--cr-surface);border-radius:12px;line-height:1.8}
.bb-creator-targets{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px;margin-top:24px}.bb-creator-targets button{display:flex;align-items:center;justify-content:space-between;text-align:left;gap:12px;padding:20px;border:0;border-radius:12px;background:var(--cr-surface);color:var(--cr-text);font-size:14px}.bb-creator-targets button:hover{background:var(--cr-hover)}.bb-creator-mobile-nav{display:none}
@media(max-width:1100px){.bb-creator-actions{grid-template-columns:repeat(2,minmax(0,1fr))}.bb-creator-analysis{grid-template-columns:minmax(0,1fr)}.bb-creator-targets{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:767px){.bb-creator{padding-bottom:calc(100px + env(safe-area-inset-bottom))}.bb-creator-heading{align-items:flex-start;margin-top:0;margin-bottom:20px}.bb-creator-heading h1{font-size:22px}.bb-creator-heading p{font-size:13px}.bb-creator-heading>a{font-size:12px}.bb-creator-mobile-nav{display:flex;flex-wrap:wrap;gap:8px;margin-bottom:24px}.bb-creator-mobile-nav a{padding:7px 12px;border-radius:999px;border:1px solid var(--cr-border);font-size:12px;min-height:34px}.bb-creator-mobile-nav a[aria-current]{background:var(--cr-text);color:var(--cr-panel);border-color:var(--cr-text)}.bb-creator-stats{grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.bb-creator-stats>a{padding:16px;gap:10px}.bb-creator-actions{gap:12px}.bb-creator-actions>a{padding:14px;gap:8px}.bb-creator-actions small{font-size:11px}.bb-creator-panel{padding:18px}.bb-creator-chart{gap:5px}.bb-creator-chart small{font-size:10px}.bb-creator-record{flex-wrap:wrap;gap:10px;padding:12px}.bb-creator-record>div:not(.bb-creator-record-actions){flex-basis:60%}.bb-creator-record-actions{margin-left:auto}.bb-creator-record>img{width:48px;height:48px}.bb-creator-targets{grid-template-columns:minmax(0,1fr)}}
.bb-creator a,.bb-publish-pop a{color:var(--cr-text) !important}
.bb-creator a.bb-creator-primary,.bb-creator-mobile-nav a[aria-current]{color:var(--cr-panel) !important}

@media(max-width:767px){.bb-publish-menu{padding:0 3px}.bb-publish-pop{max-height:calc(100dvh - 120px)}}
/* Creator workspace follows 3.1's 12.8rem navigation and 76rem content rail. */

.bb-creator-header-label{font-size:14px;margin-left:8px;color:inherit;white-space:nowrap}
.page-template-bb-creator .bb-creator-layout .aixzd-shell{max-width:76rem;margin-inline:auto;width:100%}
.bb-creator-greeting{display:flex;align-items:center;gap:12px;font-size:20px;font-weight:600;margin:0 0 20px}.bb-creator-greeting img{width:36px;height:36px;border-radius:50%;object-fit:cover}
.bb-creator-primary-actions{grid-template-columns:repeat(2,minmax(0,1fr));gap:16px;margin-bottom:20px}.bb-creator-primary-actions>a{padding:12px 16px;min-height:60px;border-radius:10px;gap:12px}.bb-creator-action-icon{display:flex;width:36px;height:36px;align-items:center;justify-content:center;background:var(--cr-panel);border-radius:8px;flex-shrink:0}.bb-creator-action-icon svg{width:20px;height:20px}.bb-creator-primary-actions strong{font-size:14px;line-height:20px}.bb-creator-primary-actions small{margin-top:0;font-size:12px}.bb-creator-primary-actions>a>i{width:16px;height:16px;color:var(--cr-muted)}
.bb-creator-analysis{grid-template-columns:minmax(0,2fr) minmax(0,1fr);gap:16px;margin-bottom:20px}
.bb-creator-chart-panel,.bb-creator-metric-panel{padding:0;overflow:hidden;border-radius:10px}
.bb-creator-panel-head{min-height:64px;padding:16px;display:flex;align-items:center;justify-content:space-between;gap:12px;border-bottom:1px solid var(--cr-border)}.bb-creator-panel-head h2{font-size:14px;line-height:20px;margin:0}.bb-creator-panel-head p{font-size:12px;color:var(--cr-muted);margin:0;line-height:18px}.bb-creator-year{font-size:11px;border:1px solid var(--cr-border);padding:4px 8px;border-radius:4px;color:var(--cr-muted)}
.bb-creator-line-chart{padding:18px 16px 0}.bb-creator-line-chart svg{display:block;width:100%;height:auto;min-height:200px;overflow:visible}.bb-creator-line-chart text{font-size:11px;fill:var(--cr-muted)}.bb-creator-gridline{stroke:var(--cr-border);stroke-width:1;stroke-dasharray:3 4}.bb-creator-line{fill:none;stroke-width:2;stroke-linejoin:round;stroke-linecap:round}.series-work{stroke:var(--cr-text);background:var(--cr-text)}.series-source{stroke:var(--cr-muted);background:var(--cr-muted)}.bb-creator-legend{display:flex;justify-content:flex-end;gap:16px;padding:0 16px 16px;font-size:12px;color:var(--cr-muted)}.bb-creator-legend span{display:flex;align-items:center;gap:6px}.bb-creator-legend i{width:8px;height:8px;border-radius:2px}
.bb-creator-metric-tabs{display:flex;gap:20px;align-items:center}.bb-creator-metric-tabs button{font-size:13px;line-height:20px;padding:5px 0;border:0;border-bottom:2px solid transparent;color:var(--cr-muted)}.bb-creator-metric-tabs button[aria-selected=true]{border-bottom-color:var(--cr-text);color:var(--cr-text)}.bb-creator-metric-value{display:flex;flex-direction:column;align-items:center;gap:8px;padding:32px 16px}.bb-creator-metric-value strong{font-size:30px;line-height:36px}.bb-creator-metric-value span{font-size:12px;color:var(--cr-muted)}.bb-creator-metric-value.hidden{display:none !important}.bb-creator-metric-note{font-size:12px;color:var(--cr-muted);line-height:1.7;padding:16px;margin:0}
.bb-creator-stats>a{border-radius:10px;padding:18px;gap:10px}.bb-creator-stats strong{font-size:24px}.bb-creator-stats small{align-self:flex-end;font-size:12px}
.bb-creator-side-group .hs-accordion-content>ul{display:flex;flex-direction:column;gap:4px;padding-left:12px;padding-top:4px}.bb-creator-group-toggle{display:flex;gap:12px;width:100%;align-items:center}.bb-creator-group-toggle>i{margin-left:auto;width:14px;height:14px}.bb-creator-side-group .hs-accordion-content .main-menu-a{font-size:14px;min-height:36px}
@media(min-width:768px){.page-template-bb-creator #hs-sidebar-content-push{width:12.8rem !important}.page-template-bb-creator #swup-container{margin-left:12.8rem !important}.hs-overlay-minified.page-template-bb-creator #hs-sidebar-content-push,.page-template-bb-creator #hs-sidebar-content-push.hs-overlay-minified{width:72px !important}.hs-overlay-minified.page-template-bb-creator #swup-container{margin-left:72px !important}.hs-overlay-minified .bb-creator-side-group .hs-accordion-content .main-menu{display:flex}.hs-overlay-minified .bb-creator-side-group .hs-accordion-content>ul{padding-left:0}}
@media(max-width:1023px){.bb-creator-analysis{grid-template-columns:minmax(0,1fr)}.bb-creator-metric-value{padding:24px 16px}}
@media(max-width:479px){.bb-creator-primary-actions{grid-template-columns:minmax(0,1fr)}.bb-creator-greeting{font-size:18px}.bb-creator-line-chart{padding:12px 8px 0}.bb-creator-line-chart svg{min-height:170px}.bb-publish-pop{max-width:calc(100vw - 16px)}}
/* Match the supplied official screenshot's pill-shaped center entry. */
.bb-publish-center{border-radius:999px}
@media(max-width:767px){.bb-publish-menu .bb-publish-pop{position:fixed !important;inset:64px 8px auto auto !important;transform:none !important;width:320px;max-width:calc(100vw - 16px)}}
.hs-overlay-minified .bb-creator-side-group{--cr-submenu-icon-display:flex}
.dark .bb-publish-icon{background:var(--bb-bg,#141414)}

/* Keep the original hover dropdown alive while crossing its floating offset.
   The transparent bridge belongs to the existing trigger, not the scroll box. */
.bb-publish-menu::after{content:none}
.bb-publish-menu:hover::after,.bb-publish-menu.open::after{content:"";position:absolute;top:100%;right:0;width:320px;max-width:calc(100vw - 16px);height:24px;background:transparent;pointer-events:auto}
.bb-publish-pop::-webkit-scrollbar{display:none !important;width:0 !important;height:0 !important}
/* Notification status belongs to the avatar, including the native mobile menu. */
.bb-avatar-trigger{position:relative;overflow:visible}.bb-avatar-notification-dot,.bb-notification-entry-dot{position:absolute;width:8px;height:8px;border-radius:50%;background:#ef4444;box-shadow:0 0 0 2px var(--bb-bg,#fff);pointer-events:none}.bb-avatar-notification-dot{top:1px;right:1px;z-index:2}.bb-notification-count{position:relative}.bb-notification-entry-dot{top:0;right:0}.bb-avatar-notification-dot[hidden],.bb-notification-entry-dot[hidden]{display:none!important}

.bb-avatar-menu:hover::after,.bb-avatar-menu.open::after{content:"";position:absolute;top:100%;right:0;width:280px;height:24px;pointer-events:auto}
