/* A single frame across customer routes. Module content keeps its own controls. */
:root { --customer-sidebar-width:232px; --customer-topbar-height:72px; }
.gh-customer-shell { min-height:100vh; }
.gh-customer-shell [hidden] { display:none!important; }
.gh-customer-shell .gh-customer-sidebar,#dashboard-view.gh-customer-shell .gh-customer-sidebar { position:fixed; inset:0 auto 0 0; width:var(--customer-sidebar-width); height:100dvh; min-height:0; padding:24px 12px 16px; display:flex; flex-direction:column; gap:0; overflow-y:auto; overscroll-behavior:contain; border-right:1px solid var(--line); background:var(--sidebar); z-index:30; }
.gh-customer-sidebar > .brand,#dashboard-view .gh-customer-sidebar > .brand { order:0; margin:0 8px 28px; padding:0; gap:8px; font-size:23px; letter-spacing:-.8px; flex-shrink:0; }
.gh-customer-sidebar > .brand img,#dashboard-view .gh-customer-sidebar > .brand img { width:34px; height:34px; }
.gh-customer-sidebar > .gh-primary-nav { order:1; display:grid; gap:4px; margin:0; padding:0; border:0; }
.gh-customer-sidebar .bo-nav,#dashboard-view .gh-customer-sidebar .side-link { display:flex; align-items:center; min-height:42px; gap:10px; margin:0; padding:10px 11px; border:0; border-radius:7px; background:transparent; box-shadow:none; color:var(--muted); font-size:13px; line-height:1.4; font-weight:500; text-align:left; }
.gh-customer-sidebar .bo-nav:hover,#dashboard-view .gh-customer-sidebar .side-link:hover { background:var(--surface-2); color:var(--ink); }
.gh-customer-sidebar .bo-nav.active,#dashboard-view .gh-customer-sidebar .side-link.active { background:var(--accent-soft); color:var(--accent-text); box-shadow:inset 3px 0 var(--accent); font-weight:600; }
.gh-customer-sidebar .bo-nav svg,#dashboard-view .gh-customer-sidebar .side-link svg { width:18px; height:18px; flex:0 0 auto; }
.gh-customer-sidebar a:focus-visible { outline:2px solid var(--accent); outline-offset:2px; }
.gh-customer-sidebar > #server-nav { order:2; margin:20px 0 16px; padding:16px 0 0; border-top:1px solid var(--line); }
.gh-customer-sidebar .account-sidebar-server { margin-bottom:14px!important; }
.gh-customer-sidebar > #server-nav:empty { display:none; }
.gh-customer-sidebar > .gh-demo-link,.gh-customer-sidebar > #demo-server-section,.gh-customer-sidebar > .sidebar-local-tools { order:3; }
.gh-customer-sidebar > .gh-help-navigation,#dashboard-view .gh-customer-sidebar > .gh-help-navigation { order:4; margin-top:auto; padding-top:28px; border:0; }
.gh-nav-label { display:block; color:var(--faint); font-size:10px; letter-spacing:1.3px; text-transform:uppercase; padding:0 11px 10px; }
.gh-help-navigation nav { display:grid; gap:3px; }
.gh-customer-sidebar .gh-public-link { font-size:11px; margin-top:12px; }
.gh-customer-sidebar .gh-backoffice-link { border-top:1px solid var(--line); border-radius:0; margin-top:12px; }
.gh-customer-shell > .bo-layout { display:block; margin:0 0 0 var(--customer-sidebar-width); max-width:none; }
.gh-customer-shell > .gh-customer-topbar { margin-left:var(--customer-sidebar-width); }
.gh-customer-shell .gh-customer-topbar,#dashboard-view.gh-customer-shell .dashboard-topbar { height:var(--customer-topbar-height); min-height:var(--customer-topbar-height); padding:12px 30px; display:flex; align-items:center; gap:18px; border-bottom:1px solid var(--line); background:var(--surface); }
.gh-workspace-crumb { display:flex; align-items:center; gap:12px; color:var(--muted); font-size:12px; min-width:0; }
.gh-workspace-crumb strong { color:var(--ink); font-weight:500; }
.gh-customer-shell .bo-topbar-actions { margin-left:auto; display:flex; gap:16px; align-items:center; }
.gh-customer-topbar .icon-button { width:34px; height:34px; min-height:34px; padding:6px; border:1px solid var(--line); border-radius:8px; }
.gh-shell-profile { display:flex; align-items:center; gap:9px; min-width:0; font-size:12px; }
.gh-shell-profile .bo-avatar { display:grid; place-items:center; width:34px; height:34px; flex:0 0 auto; border-radius:50%; background:var(--accent-soft); color:var(--accent-text); }
.gh-shell-identity { max-width:200px; overflow-wrap:anywhere; }
.gh-shell-identity strong { display:block; font-weight:500; }
.gh-shell-identity small { display:block; font-size:10px; color:var(--muted); }
.gh-shell-profile .link-button { color:var(--muted); font-size:11px; white-space:nowrap; }
.gh-customer-shell .bo-main,.gh-customer-shell .ai-main,#dashboard-view.gh-customer-shell #dashboard-main { width:100%; max-width:1480px; margin:0 auto; padding:28px 30px 44px; min-width:0; }
#dashboard-view.gh-customer-shell .dashboard-body { margin-left:var(--customer-sidebar-width); }
#dashboard-view.gh-customer-shell .topbar-profile { border:0; padding-left:0; font-size:12px; font-weight:500; }
#dashboard-view.gh-customer-shell .topbar-profile .avatar { background:var(--accent-soft); color:var(--accent-text); width:34px; height:34px; }
#dashboard-view.gh-customer-shell .topbar-profile .link-button { color:var(--muted); font-size:11px; }
.gh-customer-shell .bo-page-heading h2,.gh-customer-shell .customer-heading h1,.gh-customer-shell .ai-heading h1 { font-size:28px; letter-spacing:-.8px; line-height:1.25; margin:0 0 7px; }
.gh-customer-shell .bo-page-heading .bo-eyebrow,.gh-customer-shell .customer-heading .eyebrow { display:none; }
.gh-customer-shell .bo-page-heading p,.gh-customer-shell .customer-heading p,.gh-customer-shell .ai-heading p { font-size:13px; }
.gh-customer-shell .customer-footer { margin-left:var(--customer-sidebar-width); }
.gh-customer-shell .gh-menu-toggle { display:none; }
.gh-customer-shell .billing-return { margin-bottom:18px; }
.gh-customer-shell .gh-resource-heading { margin-bottom:24px; }
.gh-resource-heading h1 { font-size:28px; margin:0 0 8px; }
.gh-resource-heading p { color:var(--muted); font-size:13px; }
.gh-resource-grid { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:16px; }
.gh-resource-panel { padding:22px; border:1px solid var(--line); border-radius:12px; background:var(--surface); }
.gh-resource-panel > svg { color:var(--accent-text); width:22px; height:22px; margin-bottom:12px; }
.gh-resource-panel h2 { font-size:17px; margin:0 0 8px; }
.gh-resource-panel p { font-size:13px; color:var(--muted); margin-bottom:14px; }
.gh-resource-panel a { color:var(--accent-text); font-size:13px; }
.gh-roadmap-list { display:grid; gap:12px; }
.gh-roadmap-list .roadmap-card { display:flex; align-items:center; gap:16px; padding:18px; background:var(--surface); border:1px solid var(--line); border-radius:10px; }
.gh-roadmap-list .roadmap-card > div { min-width:150px; }
.gh-roadmap-list .roadmap-card h2 { font-size:15px; margin:0 0 6px; }
.gh-roadmap-list .roadmap-card p { margin:0; font-size:13px; color:var(--muted); }
@media(max-width:1000px) {
  .gh-customer-shell .bo-main,.gh-customer-shell .ai-main,#dashboard-view.gh-customer-shell #dashboard-main { padding:24px 22px 36px; }
  .gh-customer-shell .gh-customer-topbar,#dashboard-view.gh-customer-shell .dashboard-topbar { padding-inline:22px; }
  .gh-shell-identity { max-width:120px; }
}
@media(max-width:760px) {
  .gh-customer-shell > .bo-layout,.gh-customer-shell > .gh-customer-topbar,.gh-customer-shell .customer-footer,#dashboard-view.gh-customer-shell .dashboard-body { margin-left:0; }
  .gh-customer-shell .gh-customer-sidebar,#dashboard-view.gh-customer-shell .gh-customer-sidebar { transform:translateX(-100%); width:232px; max-width:85vw; padding-bottom:calc(var(--module-action-rail-offset,0px) + 42px); box-shadow:var(--shadow); }
  .gh-navigation-open .gh-customer-sidebar,body.sidebar-open #dashboard-view.gh-customer-shell .gh-customer-sidebar { transform:translateX(0); }
  .gh-customer-shell .gh-menu-toggle { display:inline-flex; flex-shrink:0; }
  .gh-customer-shell .bo-topbar-actions { gap:9px; }
  .gh-shell-identity,.gh-workspace-crumb > span { display:none; }
  .gh-customer-shell .gh-customer-topbar,#dashboard-view.gh-customer-shell .dashboard-topbar { gap:10px; padding:12px 14px; height:64px; min-height:64px; }
  .gh-customer-shell .bo-main,.gh-customer-shell .ai-main,#dashboard-view.gh-customer-shell #dashboard-main { padding:22px 16px 32px; }
  .gh-customer-shell .bo-page-heading h2,.gh-customer-shell .customer-heading h1 { font-size:25px; }
  .gh-resource-grid { grid-template-columns:1fr; }
  .gh-roadmap-list .roadmap-card { flex-wrap:wrap; gap:10px; }
}
