/* Help Center adapter: page layouts inherit the shared Squared UI foundations. */
html:root[data-theme] body .app>.main{background:var(--sq-shell)!important}
html:root[data-theme] body .app>.main>.shell,html:root[data-theme] body .app>.main>.forum-shell{background:var(--sq-bg)!important;border-color:var(--sq-border)!important;margin:16px!important;padding:16px!important;width:calc(100% - 32px)!important;max-width:1280px!important;border-radius:16px!important}
html:root[data-theme] body .sidebar.hc-sidebar{background:var(--sq-shell)!important;border-right:1px solid var(--sq-border)!important;box-shadow:none!important;padding:20px 14px 12px!important;display:flex!important;flex-direction:column!important;gap:0!important;overflow:hidden!important}
html:root[data-theme] body .hc-sidebar-head{flex:0 0 auto;background:transparent!important;border:0!important;padding:0!important}
html:root[data-theme] body .hc-brand{gap:10px!important;padding:0 7px 22px!important;min-height:0!important;border:0!important}
html:root[data-theme] body .hc-brand-logo{width:36px!important;height:36px!important;border-radius:10px!important}
html:root[data-theme] body .hc-brand-copy strong{font-size:12px!important;line-height:1.4!important;font-weight:600!important;letter-spacing:0!important;color:var(--sq-text)!important}
html:root[data-theme] body .hc-brand-copy span{display:block!important;font-size:10px!important;font-weight:400!important;line-height:1.5!important;color:var(--sq-muted)!important}
html:root[data-theme] body .hc-search{width:100%!important;height:42px!important;min-height:42px!important;padding:10px 12px!important;margin:0 0 18px!important;border:1px solid var(--sq-border)!important;border-radius:10px!important;background:var(--sq-control)!important;color:var(--sq-muted)!important;font-size:12px!important;gap:8px!important}
html:root[data-theme] body .hc-search kbd{font-size:9px!important;color:var(--sq-muted)!important}
html:root[data-theme] body .hc-nav{flex:1;min-height:0;overflow-y:auto!important;overscroll-behavior:contain;scrollbar-width:thin}
html:root[data-theme] body .hc-nav-primary{gap:3px!important;margin-bottom:16px}
html:root[data-theme] body .hc-nav-group{margin:0 0 18px!important;padding:0!important}
html:root[data-theme] body .hc-nav-group-trigger{padding:6px 10px!important;min-height:30px!important}
html:root[data-theme] body .hc-nav-title{font-size:10px!important;letter-spacing:.035em!important;text-transform:none!important;font-weight:500!important;color:var(--sq-muted)!important}
html:root[data-theme] body .hc-nav-link{width:100%!important;margin:0!important;min-height:39px!important;height:auto!important;padding:9px 10px!important;gap:10px!important;border:0!important;border-radius:8px!important;background:transparent!important;color:var(--sq-muted)!important;font-size:12px!important;font-weight:400!important;box-shadow:none!important}
html:root[data-theme] body .hc-item.has-children>.hc-nav-link{padding-right:38px!important}
html:root[data-theme] body .hc-nav-link:hover{color:var(--sq-text)!important;background:var(--sq-control)!important}
html:root[data-theme] body .hc-nav-link.active,html:root[data-theme] body .hc-nav-link.active-parent{color:var(--sq-text)!important;background:var(--sq-control)!important;border:0!important;box-shadow:inset 2px 0 var(--sq-accent)!important}
html:root[data-theme] body .hc-nav-link:before{display:none!important}
html:root[data-theme] body .hc-nav-ico{width:18px!important;height:18px!important;min-width:18px!important;background:transparent!important;color:inherit!important}
html:root[data-theme] body .hc-nav-ico .sq-iconly{width:18px!important;height:18px!important}
html:root[data-theme] body .hc-sub-toggle{width:30px!important;height:30px!important;top:5px!important;right:4px!important;color:var(--sq-muted)!important}
html:root[data-theme] body .hc-sub-links{margin-left:19px!important;padding-left:15px!important;border-color:var(--sq-border)!important}
html:root[data-theme] body .hc-sub-link{min-height:34px!important;padding:7px 8px!important;font-size:11px!important;color:var(--sq-muted)!important}
html:root[data-theme] body .hc-sub-link.active{color:var(--sq-accent-ink)!important;background:var(--sq-control)!important}
html:root[data-theme] body .hc-sidebar-foot{flex:0 0 auto;margin:16px 0 0!important;padding:12px!important;border:1px solid var(--sq-border)!important;border-radius:10px!important;background:var(--sq-card)!important;gap:10px!important}
html:root[data-theme] body .hc-sidebar-foot-icon{background:var(--sq-control)!important;color:var(--sq-text)!important;border-radius:9px!important;width:34px!important;height:34px!important}
html:root[data-theme] body .hc-sidebar-foot-icon:after{display:none!important}
html:root[data-theme] body .hc-sidebar-foot strong{font-size:12px!important;font-weight:500!important;color:var(--sq-text)!important;line-height:1.5!important}
html:root[data-theme] body .hc-sidebar-foot small{font-size:10px!important;color:var(--sq-muted)!important;line-height:1.5!important}
html:root[data-theme] body .topbar{background:var(--sq-shell)!important;border-bottom:1px solid var(--sq-border)!important;box-shadow:none!important;backdrop-filter:none!important;min-height:72px!important;height:72px!important;padding:14px 32px!important;gap:16px!important}
html:root[data-theme] body .crumbs{font-size:12px!important;color:var(--sq-muted)!important;min-width:0}
html:root[data-theme] body .crumbs strong{color:var(--sq-text)!important;font-weight:500!important}
html:root[data-theme] body .top-actions{gap:6px!important;flex-shrink:0}
html:root[data-theme] body .top-actions .icon-btn{background:transparent!important;border-color:transparent!important}
html:root[data-theme] body .sq-top-tool{color:var(--sq-muted)!important;border-color:transparent!important;background:transparent!important}
html:root[data-theme] body .sq-top-tool:hover{background:var(--sq-control)!important;color:var(--sq-text)!important}
html:root[data-theme] body .sq-top-status{color:var(--sq-muted)!important;font-size:10px!important}
html:root[data-theme] body .sq-top-status-dot{background:var(--sq-muted)!important;box-shadow:none!important}
html:root[data-theme] body .help-hero{gap:28px!important}
html:root[data-theme] body .help-hero h1,html:root[data-theme] body .sq-guides-hero h1,html:root[data-theme] body .hero h1,html:root[data-theme] body .forum-hero h1,html:root[data-theme] body .article-head h1{font-size:clamp(28px,3.5vw,44px)!important;font-weight:500!important;line-height:1.16!important;letter-spacing:-.045em!important;color:var(--sq-text)!important}
html:root[data-theme] body .help-hero h1 span{color:var(--sq-text)!important}
html:root[data-theme] body .help-hero p,html:root[data-theme] body .sq-guides-hero p,html:root[data-theme] body .forum-hero p,html:root[data-theme] body .article-head p{font-size:13px!important;line-height:1.7!important;color:var(--sq-muted)!important}
html:root[data-theme] body .help-hero-logo{width:44px!important;height:44px!important;border-radius:12px!important;box-shadow:none!important;margin-bottom:20px!important}
html:root[data-theme] body .help-search{border:1px solid var(--sq-border)!important;background:var(--sq-card)!important;border-radius:10px!important;min-height:48px!important;padding:12px 14px!important;color:var(--sq-muted)!important;box-shadow:none!important}
html:root[data-theme] body .help-search-label{font-size:13px!important}
html:root[data-theme] body .sq-hero-aside{border:1px solid var(--sq-border)!important;background:var(--sq-card)!important;border-radius:16px!important;padding:24px!important;box-shadow:none!important;min-width:0}
html:root[data-theme] body .sq-hero-aside h2{font-size:24px!important;font-weight:500!important;letter-spacing:-.035em!important;line-height:1.3!important;color:var(--sq-text)!important}
html:root[data-theme] body .sq-hero-aside>a{background:var(--sq-accent)!important;color:var(--sq-on-accent)!important;border-radius:9px!important;font-weight:500!important;font-size:12px!important;box-shadow:none!important}
html:root[data-theme] body .sq-hero-aside-links{border-color:var(--sq-border)!important}
html:root[data-theme] body .sq-hero-aside-links a{color:var(--sq-muted)!important}
html:root[data-theme] body .sq-hero-aside-eyebrow,html:root[data-theme] body .sq-hero-aside-mark{color:var(--sq-muted)!important;font-size:10px!important}
html:root[data-theme] body .section{padding:32px 0!important}
html:root[data-theme] body .section-head{gap:16px!important;align-items:center!important}
html:root[data-theme] body .section-head h2{font-size:22px!important}
html:root[data-theme] body .section-head p{font-size:12px!important;line-height:1.65!important}
html:root[data-theme] body .category-card,html:root[data-theme] body .sq-task-card,html:root[data-theme] body .sq-guide-card{padding:24px!important}
html:root[data-theme] body .category-card h3{font-size:17px!important;margin-top:18px!important}
html:root[data-theme] body .cat-link{font-size:12px!important;color:var(--sq-accent-ink)!important}
html:root[data-theme] body .cat-count{font-size:10px!important;color:var(--sq-muted)!important}
html:root[data-theme] body .sq-quick-grid>a,html:root[data-theme] body .sq-home-routes>a,html:root[data-theme] body .popular-article{background:var(--sq-card)!important;border:1px solid var(--sq-border)!important;border-radius:12px!important;padding:18px!important;box-shadow:none!important}
html:root[data-theme] body .sq-quick-grid strong,html:root[data-theme] body .sq-home-routes strong,html:root[data-theme] body .popular-article strong{font-size:13px!important;font-weight:500!important;line-height:1.5!important;color:var(--sq-text)!important}
html:root[data-theme] body .sq-quick-grid small,html:root[data-theme] body .sq-home-routes small{font-size:11px!important;line-height:1.6!important;color:var(--sq-muted)!important}
html:root[data-theme] body .article-head{background:transparent!important;border:0!important;border-bottom:1px solid var(--sq-border)!important;border-radius:0!important;padding:0 0 24px!important;box-shadow:none!important}
html:root[data-theme] body .doc-block p,html:root[data-theme] body .doc-block li{font-size:14px!important;line-height:1.85!important;color:var(--sq-text-soft)!important}
html:root[data-theme] body .doc-block h2{font-size:22px!important;font-weight:500!important}
html:root[data-theme] body .doc-block h3{font-size:17px!important;font-weight:500!important}
html:root[data-theme] body .aside-toc{background:var(--sq-card)!important;border-color:var(--sq-border)!important;border-radius:12px!important;padding:16px!important}
html:root[data-theme] body .aside-toc a{font-size:12px!important;line-height:1.6!important;color:var(--sq-muted)!important}
html:root[data-theme] body .banner{background:var(--sq-card)!important;border-color:var(--sq-border)!important;border-radius:16px!important;box-shadow:none!important}
html:root[data-theme] body .banner h3{font-size:18px!important;font-weight:500!important}
html:root[data-theme] body .banner p{font-size:13px!important;line-height:1.7!important;color:var(--sq-muted)!important}
html:root[data-theme] body .search-head input{border:0!important;background:transparent!important}
@media(min-width:861px){
 :root{--sidebar:252px;--top:72px}
 html:root[data-theme] body .sidebar.hc-sidebar{width:252px!important}
 html:root[data-theme] body .app>.main{margin-left:252px!important}
 html:root[data-theme] body.focus-mode .app>.main{margin-left:0!important}
 html:root[data-theme] body.sidebar-mini .sidebar.hc-sidebar{width:64px!important}
 html:root[data-theme] body.sidebar-mini .app>.main{margin-left:64px!important}
}
@media(max-width:1100px) and (min-width:861px){html:root[data-theme] body .sq-top-tools{display:none!important}html:root[data-theme] body .topbar{padding-inline:20px!important}}
@media(max-width:860px){
 html:root[data-theme] body .app>.main{margin-left:0!important}
 html:root[data-theme] body .topbar{height:72px!important;min-height:72px!important;padding:12px 16px!important;gap:8px!important}
 html:root[data-theme] body .sq-mobile-location{min-width:0;gap:10px!important;order:1!important}
 html:root[data-theme] body .sq-mobile-location-page{font-size:13px!important;font-weight:500!important;color:var(--sq-text)!important;line-height:1.3!important}
 html:root[data-theme] body .sq-mobile-location-brand{color:var(--sq-muted)!important;font-size:9px!important;letter-spacing:.04em!important}
 html:root[data-theme] body .sq-mobile-location-logo{width:34px!important;height:34px!important;flex-basis:34px!important}
 html:root[data-theme] body .top-actions{order:2!important;gap:4px!important}
 html:root[data-theme] body #menuBtn{display:flex!important;order:3!important;flex:0 0 44px!important;border-color:transparent!important;background:transparent!important}
 html:root[data-theme] body #themeBtn{display:flex!important;background:transparent!important;border-color:transparent!important;min-height:44px!important;width:44px!important;height:44px!important;flex-basis:44px!important}
 html:root[data-theme] body #quickActionsBtn{display:none!important}
 html:root[data-theme] body .hc-nav-link{min-height:44px!important;font-size:13px!important}
 html:root[data-theme] body .hc-sub-link{min-height:40px!important;font-size:12px!important}
 html:root[data-theme] body .hc-search{min-height:44px!important;font-size:13px!important}
 html:root[data-theme] body .sq-mobile-close{align-self:flex-end;background:var(--sq-control)!important;color:var(--sq-text)!important;min-height:44px!important}
 html:root[data-theme] body .sq-hero-aside{padding:20px!important}
 html:root[data-theme] body .section-head h2{font-size:20px!important;line-height:1.4!important}
 html:root[data-theme] body .category-card,html:root[data-theme] body .sq-task-card,html:root[data-theme] body .sq-guide-card{padding:18px!important}
 html:root[data-theme] body .sq-search-suggestions a{background:var(--sq-card)!important;border-color:var(--sq-border)!important;color:var(--sq-muted)!important;font-size:11px!important;border-radius:8px!important}
 html:root[data-theme] body .sq-mobile-account-links{flex-shrink:0;max-height:170px;overflow:auto}
}

/* Legacy surfaces also inherit the product palette. */
html:root[data-theme] body{--sq-ui-bg:var(--sq-bg);--sq-ui-panel:var(--sq-shell);--sq-ui-card:var(--sq-card);--sq-ui-line:var(--sq-border);--sq-ui-text:var(--sq-text);--sq-ui-muted:var(--sq-muted);--sq-ui-faint:var(--sq-muted)}
html:root[data-theme] body :is(.forum-auth-card,.forum-empty,.status-product-card,.doc-block,.sq-knowledge-path,.sq-personal-home,.sq-appearance){background:var(--sq-card)!important;border-color:var(--sq-border)!important;color:var(--sq-text)!important;border-radius:16px!important;box-shadow:none!important}
html:root[data-theme] body :is(.forum-auth-card,.forum-empty,.status-product-card) h2{color:var(--sq-text)!important;font-size:22px!important;font-weight:500!important}
html:root[data-theme] body .sq-hero-kicker{background:var(--sq-control)!important;border-color:var(--sq-border)!important;color:var(--sq-muted)!important}
html:root[data-theme] body .topbar{width:100%!important;max-width:100%!important}
@media(min-width:861px){html:root[data-theme] body .sq-mobile-location{display:none!important}}
@media(max-width:860px){
 html:root[data-theme] body .top-actions>.hide-mobile{display:none!important}
 html:root[data-theme] body .sq-mobile-dock{background:var(--sq-shell)!important;border-color:var(--sq-border)!important;box-shadow:none!important}
 html:root[data-theme] body .sq-mobile-dock-item{color:var(--sq-muted)!important;border-radius:10px!important}
 html:root[data-theme] body .sq-mobile-dock-item[aria-current=page],html:root[data-theme] body .sq-mobile-dock-item[aria-expanded=true]{background:var(--sq-control)!important;color:var(--sq-text)!important;box-shadow:inset 0 -2px var(--sq-accent)}
}

html:root[data-theme] body .sq-context-help-trigger{width:44px!important;height:44px!important;border:1px solid var(--sq-border)!important;border-radius:12px!important;background:var(--sq-card)!important;color:var(--sq-text)!important;box-shadow:var(--sq-shadow-panel)!important;display:grid;place-items:center}
html:root[data-theme] body .sq-context-help-head button{display:grid;place-items:center;border:0;background:transparent;color:var(--sq-muted);width:40px;height:40px}
@media(max-width:860px){html:root[data-theme] body .sq-context-help-trigger{bottom:calc(var(--sq-dock-height,68px) + 16px)!important;right:16px!important}}

html:root[data-theme] body .topbar{display:flex!important;overflow:visible!important}
html:root[data-theme] body .sq-top-tools{display:none!important}
html:root[data-theme] body .top-actions{flex:1 1 auto!important;min-width:0!important;justify-content:flex-end!important;width:auto!important;overflow:visible!important}
html:root[data-theme] body .top-actions .icon-btn{color:var(--sq-text)!important;width:40px!important;height:40px!important;min-width:40px!important;flex:0 0 40px!important;padding:0!important}
html:root[data-theme] body .top-actions .sq-command-label{display:none!important}
html:root[data-theme] body .topbar .command-search{height:40px!important;min-height:40px!important;max-width:320px!important;flex:0 1 320px!important;margin:0 auto 0 0!important;background:var(--sq-control)!important;color:var(--sq-muted)!important;justify-content:space-between!important}
html:root[data-theme] body .help-search :is(svg,.help-search-label,kbd){color:var(--sq-muted)!important}
html:root[data-theme] body .help-search kbd{background:var(--sq-control)!important;border-color:var(--sq-border)!important}
html:root[data-theme] body .sq-editorial-media[hidden]{display:none!important}
html:root[data-theme] body .sq-wix-guide-shell .hero{padding:24px 0!important;background:transparent!important}
html:root[data-theme] body .sq-wix-guide-shell :is(.content,.module-label-inner){max-width:100%;margin-inline:0;padding-inline:0}
@media(min-width:861px){
 html:root[data-theme] body #menuBtn,html:root[data-theme] body .sq-mobile-close{display:none!important}
 html:root[data-theme] body .crumbs{flex:0 1 260px!important;min-width:80px!important;justify-content:flex-start!important}
}
@media(max-width:860px){
 html:root[data-theme] body .top-actions{flex:0 0 auto!important}
 html:root[data-theme] body .topbar .command-search{display:none!important}
 html:root[data-theme] body .top-actions .icon-btn{width:44px!important;height:44px!important;min-width:44px!important;flex-basis:44px!important}
}

html:root[data-theme] body .sq-wix-guide-shell{min-width:0;overflow-wrap:anywhere}
html:root[data-theme] body .sq-wix-guide-shell pre{min-width:0;max-width:100%;overflow-x:auto}
html:root[data-theme] body .sq-wix-guide-shell table{display:block;max-width:100%;overflow-x:auto;border-collapse:collapse}

html:root[data-theme] body .sq-wix-guide-shell :is(img,svg,video,iframe){max-width:100%!important;height:auto}
html:root[data-theme] body :is(#themeBtn,#quickActionsBtn){color:var(--sq-text)!important}
html:root[data-theme] body .sq-search-suggestions,html:root[data-theme] body .sq-search-suggestions>span{color:var(--sq-muted)!important}
html:root[data-theme] body .sq-search-suggestions a{background:var(--sq-card)!important;border:1px solid var(--sq-border)!important;color:var(--sq-muted)!important;border-radius:8px!important;padding:7px 10px;font-size:11px!important}
html:root[data-theme] body .topbar .command-search:before{display:none!important;content:none!important}

html:root[data-theme] body .sq-editorial-media{height:240px;min-height:0!important;aspect-ratio:auto!important;border-color:var(--sq-border)!important;background:var(--sq-control)!important;border-radius:12px!important}
html:root[data-theme] body .sq-editorial-media img{width:100%;height:100%!important;object-fit:cover}
html:root[data-theme] body .sq-editorial-gallery{align-items:start;grid-auto-rows:240px;gap:12px}
@media(max-width:860px){html:root[data-theme] body .sq-editorial-media{height:190px}html:root[data-theme] body .sq-editorial-gallery{grid-auto-rows:190px}}
@media(max-width:860px){
 html:root[data-theme] body .sidebar.hc-sidebar{z-index:520!important}
 html:root[data-theme] body .sq-mobile-backdrop{z-index:510!important}
 html:root[data-theme] body.sq-mobile-menu-open .sq-context-help-trigger{display:none!important}
}
