
/* Comedy.Guide Backstage V3 - shared navigation shell. Existing workflows remain in place. */
:root { --bs3-rail: 194px; --bs3-paper: #fffee3; --bs3-ink: #111; --bs3-red: #b73531; }
body.cg-bs3 { box-sizing: border-box !important; padding-left: var(--bs3-rail) !important; padding-top: 52px !important; padding-bottom: 74px !important; min-height: 100vh !important; background: var(--bs3-paper) !important; }
body.cg-bs3 .cg-copyright, body.cg-bs3 > footer.foot, body.cg-bs3 > footer.bottom, body.cg-bs3 > .ei-footer { display: none !important; }
body.cg-bs3 > header:not(#cg-bs3-top), body.cg-bs3 .sitehead, body.cg-bs3 .mv-top, body.cg-bs3 .ei-head { display: none !important; }
body.cg-bs3 .app-shell, body.cg-bs3 .app { display: block !important; grid-template-columns: minmax(0, 1fr) !important; min-height: calc(100vh - 126px) !important; }
body.cg-bs3 .app-shell > .side, body.cg-bs3 .app > .rail, body.cg-bs3 .mv-side { display: none !important; }
body.cg-bs3 .main, body.cg-bs3 .main-area, body.cg-bs3 .mv-main { width: 100% !important; margin-left: 0 !important; min-width: 0 !important; }
body.cg-bs3 .mv-frame { display: block !important; }
body.cg-bs3 .onboard, body.cg-bs3 main.wrap, body.cg-bs3 .page, body.cg-bs3 .onboard .frame { max-width: none !important; width: 100% !important; }
body.cg-bs3 .onboard .frame { padding: 20px clamp(22px, 3.8vw, 64px) 54px !important; }
body.cg-bs3 .onboard-progress { display: none !important; }
body.cg-bs3 .onboard h1 { margin-top: 4px !important; }
body.cg-bs3 .funnel-panel[data-step] { min-height: min(620px, calc(100vh - 235px)); }
body.cg-bs3 .funnel-actions { padding-bottom: 48px !important; }
body.cg-bs3 .app .topbar, body.cg-bs3 .app-shell .top { position: relative !important; top: auto !important; }
#cg-bs3-rail, #cg-bs3-top, #cg-bs3-bottom, #cg-bs3-drawer { font-family: Manrope, "Public Sans", "Helvetica Neue", Arial, sans-serif !important; }
#cg-bs3-rail *, #cg-bs3-top *, #cg-bs3-bottom *, #cg-bs3-drawer * { box-sizing: border-box; font-family: inherit !important; }
#cg-bs3-rail { position: fixed; inset: 0 auto 0 0; width: var(--bs3-rail); z-index: 2147480100; display: flex; flex-direction: column; background: var(--bs3-ink); color: var(--bs3-paper); border-right: 1px solid rgba(255,254,227,.26); padding: 21px 13px 23px; }
#cg-bs3-menu { display: inline-flex; align-items: center; gap: 11px; background: transparent; border: 1px solid rgba(255,254,227,.38); min-height: 42px; width: 100%; padding: 10px 12px; color: var(--bs3-paper); cursor: pointer; font: 600 12px/1.2 inherit; text-transform: uppercase; letter-spacing: .1em; }
#cg-bs3-menu .bs3-bars { width: 18px; display: grid; gap: 4px; }
#cg-bs3-menu .bs3-bars i { width: 100%; height: 1px; display: block; background: currentColor; }
#cg-bs3-rail .bs3-rail-kicker { font-size: 10px; opacity: .58; letter-spacing: .14em; margin: 29px 10px 10px; text-transform: uppercase; }
#cg-bs3-rail .bs3-major-nav { display: flex; flex-direction: column; gap: 2px; }
#cg-bs3-rail .bs3-major-link { display: flex; align-items: center; gap: 10px; min-height: 45px; padding: 9px 10px; color: #d7d5ca !important; text-decoration: none !important; background: transparent; border-left: 2px solid transparent; font-size: 15px !important; line-height: 1.2; font-weight: 530 !important; letter-spacing: -.025em; text-transform: none !important; }
#cg-bs3-rail .bs3-major-link:hover, #cg-bs3-rail .bs3-major-link:focus-visible { background: #272725; color: white !important; }
#cg-bs3-rail .bs3-major-link[aria-current="page"] { background: #262523; color: var(--bs3-paper) !important; border-left-color: var(--bs3-red); font-weight: 650 !important; }
#cg-bs3-rail .bs3-short { display: none; }
#cg-bs3-rail .bs3-identity { margin-top: auto; display: block; text-decoration: none !important; color: var(--bs3-paper) !important; padding: 15px 8px 0; border-top: 1px solid rgba(255,254,227,.24); }
#cg-bs3-rail .bs3-logo { display: block; text-transform: lowercase; font-weight: 850; font-size: 21px; line-height: 1.04; letter-spacing: -.085em; white-space: nowrap; }
#cg-bs3-rail .bs3-identity small { display: block; font-weight: 560; font-size: 9px; letter-spacing: .19em; margin-top: 8px; }
#cg-bs3-top { position: fixed; top: 0; left: var(--bs3-rail); right: 0; height: 52px; z-index: 2147480000; display: flex; align-items: center; justify-content: space-between; padding: 0 clamp(20px, 3vw, 52px); border-bottom: 1px solid rgba(17,17,17,.18); background: var(--bs3-paper); color: var(--bs3-ink); }
#cg-bs3-top .bs3-breadcrumb { font-size: 11px; font-weight: 620; letter-spacing: .095em; text-transform: uppercase; }
#cg-bs3-top .bs3-status { font-size: 10px; font-weight: 550; letter-spacing: .04em; opacity: .56; }
#cg-bs3-bottom { position: fixed; bottom: 0; right: 0; left: var(--bs3-rail); height: 62px; background: #111; border-top: 1px solid rgba(255,254,227,.32); z-index: 2147480050; display: flex; align-items: center; color: var(--bs3-paper); }
#cg-bs3-bottom .bs3-tabs { display: flex; flex: 1; align-items: stretch; height: 100%; overflow-x: auto; overscroll-behavior-x: contain; scrollbar-width: thin; }
#cg-bs3-bottom .bs3-tab { flex: 0 0 auto; min-width: 108px; display: inline-flex; align-items: center; justify-content: center; padding: 10px 19px; border: 0; border-top: 3px solid transparent; background: transparent; color: #cac8ba !important; font-size: 12px !important; font-weight: 570 !important; text-decoration: none !important; white-space: nowrap; cursor: pointer; }
#cg-bs3-bottom .bs3-tab:hover { background: #272725; color: #fff !important; }
#cg-bs3-bottom .bs3-tab.is-current { border-top-color: var(--bs3-red); background: #292724; color: #fffee3 !important; font-weight: 750 !important; }
#cg-bs3-drawer[hidden] { display: none !important; }
#cg-bs3-drawer { position: fixed; inset: 0; z-index: 2147480300; display: flex; color: var(--bs3-paper); }
#cg-bs3-drawer .bs3-scrim { position: absolute; inset: 0; background: rgba(0,0,0,.66); border: 0; width: 100%; cursor: pointer; }
#cg-bs3-drawer .bs3-drawer-panel { position: relative; width: min(440px, 94vw); max-height: 100vh; overflow-y: auto; background: #141414; border-right: 1px solid #666; padding: 26px 22px 34px; box-shadow: 15px 0 60px rgba(0,0,0,.28); }
#cg-bs3-drawer .bs3-drawer-head { display: flex; justify-content: space-between; align-items: center; padding-bottom: 28px; border-bottom: 1px solid #575757; font-size: 12px; letter-spacing: .13em; }
#cg-bs3-drawer .bs3-drawer-close { border: 1px solid #626262; color: inherit; background: transparent; width: 36px; height: 36px; cursor: pointer; font-size: 24px; }
#cg-bs3-drawer .bs3-drawer-list { display: grid; gap: 0; padding-top: 17px; }
#cg-bs3-drawer .bs3-drawer-link { display: block; text-decoration: none !important; color: var(--bs3-paper) !important; padding: 17px 10px 18px; border-bottom: 1px solid #3d3d3d; }
#cg-bs3-drawer .bs3-drawer-link:hover, #cg-bs3-drawer .bs3-drawer-link[aria-current="page"] { background: #272725; }
#cg-bs3-drawer .bs3-drawer-link strong { display: block; font-size: 19px; font-weight: 660; letter-spacing: -.04em; }
#cg-bs3-drawer .bs3-drawer-link small { display: block; color: #aca99d; font-size: 11px; line-height: 1.45; margin-top: 4px; }
body.cg-bs3 .bs3-hub { min-height: calc(100vh - 188px); padding: clamp(30px, 5vw, 80px); max-width: 1300px; margin: auto; }
body.cg-bs3 .bs3-hub .bs3-overline { font-size: 11px; font-weight: 650; letter-spacing: .17em; }
body.cg-bs3 .bs3-hub h1 { font-family: Manrope, "Public Sans", Arial, sans-serif; font-weight: 780; font-size: clamp(45px, 6vw, 92px); line-height: .94; letter-spacing: -.085em; margin: 22px 0 30px; }
body.cg-bs3 .bs3-hub h2 { font-size: clamp(25px, 3vw, 40px); font-weight: 650; margin: 10px 0 18px; letter-spacing: -.045em; }
body.cg-bs3 .bs3-hub p { max-width: 720px; font: 400 clamp(17px, 1.7vw, 23px)/1.52 "Public Sans",Arial,sans-serif; }
body.cg-bs3 .bs3-hub .bs3-hub-surface { margin-top: 46px; border-top: 2px solid #111; padding-top: 29px; }
body.cg-bs3 .bs3-hub .bs3-note { font-size: 13px; margin-top: 26px; color: #5d5b54; }
@media(max-width: 680px) { :root { --bs3-rail: 70px; } #cg-bs3-rail { padding: 16px 6px 20px; } #cg-bs3-menu { width: 54px; height: 46px; padding: 10px 16px; } #cg-bs3-menu .bs3-menu-name, #cg-bs3-rail .bs3-rail-kicker, #cg-bs3-rail .bs3-major-text { display: none; } #cg-bs3-rail .bs3-short { display: block; font-size: 11px; font-weight: 660; } #cg-bs3-rail .bs3-major-link { justify-content: center; min-height: 47px; padding: 7px 3px; } #cg-bs3-rail .bs3-identity { padding: 14px 2px 0; } #cg-bs3-rail .bs3-logo { font-size: 10px; letter-spacing: -.07em; } #cg-bs3-rail .bs3-identity small { font-size: 8px; letter-spacing: 0; } }
@media(max-width: 560px) { :root { --bs3-rail: 56px; } #cg-bs3-menu { width: 44px; padding: 9px 11px; } #cg-bs3-top { padding: 0 15px; } #cg-bs3-top .bs3-status { display: none; } #cg-bs3-rail .bs3-major-link { min-height: 43px; } #cg-bs3-bottom { height: 57px; } #cg-bs3-bottom .bs3-tab { min-width: 94px; font-size: 11px !important; padding: 9px 14px; } body.cg-bs3 .bs3-hub { padding: 24px 18px; } }

/* V3.1 refinements: one stable signature and less redundant chrome. */
body.cg-bs3 .cg-top-identity{display:none!important}
body.cg-bs3 #tour-crm-identity{display:none!important}
body.cg-bs3[data-rampantly-workspace="tour"] .topbar{min-height:52px!important;padding:8px 22px!important;gap:8px!important}
body.cg-bs3[data-rampantly-workspace="tour"] .topbar .top-right{margin-left:auto!important}
body.cg-bs3 .onboard>.frame>.section-kicker{display:none!important}
body.cg-bs3 .rampantly-profile-fields:not([hidden]){display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:10px!important;margin:10px 0 19px!important;background:transparent!important;border:0!important}
body.cg-bs3 .rampantly-profile-fields:not([hidden])>div{margin:0!important;min-height:0!important;padding:13px 16px!important}
body.cg-bs3 .rampantly-profile-fields:not([hidden]) strong{font-size:clamp(16px,1.8vw,22px)!important}
@media(max-width:680px){body.cg-bs3 .rampantly-profile-fields:not([hidden]){grid-template-columns:1fr!important}#cg-bs3-rail .bs3-logo{font-size:9px!important;letter-spacing:-.09em!important}}

@media(max-width:680px){#cg-bs3-rail .bs3-logo{display:block!important;width:100%!important;font-size:10px!important;letter-spacing:-.08em!important;line-height:1.02!important;white-space:normal!important;overflow-wrap:anywhere!important;}#cg-bs3-rail .bs3-identity{min-width:0!important;max-width:100%!important;padding:12px 2px 0!important;}}
