/* GetClosifi shared brand lockup: same G-mark as landing-page navbar.
   UI-only. No auth, billing, navigation, messaging or tenant logic. */
.gc-brand{display:inline-flex;align-items:center;gap:10px;text-decoration:none;min-width:0}
.gc-brand-mark{position:relative;display:grid;place-items:center;width:34px;height:34px;flex:0 0 34px;overflow:hidden;border-radius:9px;background:linear-gradient(145deg,#818cf8 0%,#6366f1 55%,#4f46e5 100%);border:1px solid rgba(255,255,255,.14);box-shadow:0 8px 24px rgba(99,102,241,.22);color:#fff}
.gc-brand-mark:before{content:"";position:absolute;width:22px;height:22px;border:1px solid rgba(255,255,255,.18);border-radius:50%;right:-8px;top:-8px}
.gc-brand-mark>i{position:absolute;width:7px;height:7px;background:#fff;border-radius:2px;right:5px;bottom:5px;transform:rotate(45deg);opacity:.92}
.gc-brand-g{position:relative;z-index:1;font-size:17px;font-weight:800;line-height:1;letter-spacing:-.08em;transform:translateX(-1px);color:#fff}
.gc-brand-copy{display:flex;flex-direction:column;justify-content:center;gap:1px;min-width:0;line-height:1.12}
.gc-brand-copy strong{font-size:17px;font-weight:720;letter-spacing:-.035em;color:inherit}
.gc-brand-copy small{font-size:7.5px;font-weight:700;letter-spacing:.16em;color:#929dbb}
/* Dashboard: override older battery/zap branding even with cached light mode. */
.app-shell .brand-cluster .brand-logo.gc-brand-mark,
html[data-theme="light"] body .app-shell .sidebar-brand .brand-logo.gc-brand-mark{
 width:38px!important;height:38px!important;min-width:38px!important;flex:0 0 38px!important;
 display:grid!important;place-items:center!important;border-radius:10px!important;
 background:linear-gradient(145deg,#818cf8 0%,#6366f1 55%,#4f46e5 100%)!important;
 border:1px solid rgba(255,255,255,.14)!important;box-shadow:0 8px 24px rgba(99,102,241,.22)!important;color:#fff!important;
 opacity:1!important;visibility:visible!important
}
.app-shell .brand-cluster .brand-logo.gc-brand-mark .gc-brand-g{display:block!important;color:#fff!important}
.app-shell .brand-cluster .gc-brand-copy strong{font-size:16px!important;color:var(--text-primary,#f5f7fa)!important}
.app-shell .gc-top-brand .gc-top-brandmark.gc-brand-mark{
 width:34px!important;height:34px!important;flex:0 0 34px!important;
 border-radius:9px!important;background:linear-gradient(145deg,#818cf8 0%,#6366f1 55%,#4f46e5 100%)!important;
 border:1px solid rgba(255,255,255,.14)!important;box-shadow:0 8px 24px rgba(99,102,241,.22)!important;
 display:grid!important;place-items:center!important
}
.app-shell .gc-top-brand .gc-brand-g{font-style:normal!important;font-size:17px!important}
.app-shell .gc-top-brand .gc-brand-copy strong{display:block;font-size:16px!important;color:var(--gcx-text,var(--text-primary,#f5f7fa))!important}
.app-shell .gc-top-brand .gc-brand-copy small{display:block;font-size:7px!important;color:var(--gcx-muted,#929dbb)!important}
@media(max-width:600px){
 .app-shell .gc-top-brand .gc-top-brandmark.gc-brand-mark{width:38px!important;height:38px!important}
 .app-shell .gc-top-brand .gc-brand-copy{display:none!important}
}
/* Staff console reuses dashboard's dark-mode canvas, cards, line and accent. */
body.gc-team-page{background:#0f142a!important;color:#f6f7fc}
.gc-team-page header{background:#10152b!important;border-bottom:1px solid #283150!important;padding:14px clamp(15px,3vw,34px);min-height:70px;gap:14px}
.gc-team-page header .gc-brand{color:#f6f7fc}
.gc-team-page .team-label{border:1px solid #343054;border-radius:99px;padding:6px 10px;font-size:10px;letter-spacing:.1em;font-weight:750;color:#afa1fb;background:#221b3b}
.gc-team-page .header-side{margin-left:auto}
.gc-team-page .card,.gc-team-page .stat{background:#171c32!important;border:1px solid #2c3454!important;box-shadow:0 8px 28px rgba(5,8,24,.15)}
.gc-team-page .sales-card{background:#1a2140!important;border-color:#323958!important}
.gc-team-page .reply-panel{background:#171e36!important;border-color:#343e60!important}
.gc-team-page .secondary{background:#202643!important;border:1px solid #3b4364!important;color:#f2f3fa}
.gc-team-page .secondary:hover{background:#2a3156}
.gc-team-page .primary{background:linear-gradient(110deg,#6948ed,#8b5cf6)!important;border:1px solid rgba(183,165,255,.22)}
.gc-team-page a{color:#b8a6ff}
.gc-team-page input,.gc-team-page select,.gc-team-page .reply-panel textarea{background:#10162b!important;border-color:#3b456a!important;color:#f6f7fc}
.gc-team-page .tabs{border-color:#2c3454}
.gc-team-page .tabs button{color:#a3a9c4}
.gc-team-page .tabs button.active{border-color:#8b5cf6!important;color:#f7f4ff!important}
.gc-team-page .workspace-pick button.active{border-color:#8b5cf6!important;background:#282047!important}
.gc-team-page .data th,.gc-team-page .data td{border-bottom-color:#2b3452}
.gc-team-page .data th{color:#a6b0cc}
.gc-team-page .message.customer{background:#202944}
.gc-team-page .message.agent{background:#292346}
.gc-team-page .message.human{background:#173b42}
.gc-team-page button:focus-visible,.gc-team-page input:focus-visible,.gc-team-page select:focus-visible,.gc-team-page textarea:focus-visible{outline:2px solid #a78bfa;outline-offset:2px}
@media(max-width:650px){
 .gc-team-page header{align-items:flex-start;padding:14px 15px;gap:10px}
 .gc-team-page header .gc-brand{gap:8px}
 .gc-team-page header .gc-brand-mark{width:30px;height:30px;flex-basis:30px}
 .gc-team-page header .gc-brand-copy strong{font-size:15px}
 .gc-team-page header .gc-brand-copy small{font-size:6.5px}
 .gc-team-page .team-label{font-size:8px;padding:6px}
 .gc-team-page .header-side{width:100%;margin-left:0;justify-content:flex-start}
 .gc-team-page .header-side #signedInEmail{overflow-wrap:anywhere}
 .gc-team-page .stat{padding:11px}
}

/* Keep selected navigation readable over the solid purple active background.
   Scope to navigation so shared button and panel colors remain unchanged. */
html body .app-shell .sidebar .nav-item.active,
html body .app-shell .mobile-bottom-nav .mobile-nav-item.active{
 color:#fff!important;
 -webkit-text-fill-color:#fff!important;
}
html body .app-shell .sidebar .nav-item.active > :is(svg,i,span:not(.nav-count)),
html body .app-shell .mobile-bottom-nav .mobile-nav-item.active > :is(svg,i,span){
 color:inherit!important;
 -webkit-text-fill-color:inherit!important;
}
