/* CBT Electrical V2 — shell enhancement. Keep the existing site.css. */
:root{--cbt-navy:#102b47;--cbt-navy-dark:#0b2138;--cbt-navy-mid:#194062;--cbt-gold:#e4b653;--cbt-muted:#9fb6cc;--cbt-surface:#f3f6fa;--cbt-border:#dce5ee;--cbt-sidebar-w:278px}
html{scroll-behavior:smooth}body.cbt-app{margin:0;min-height:100vh;background:var(--cbt-surface);color:#20344b}
.cbt-app .cbt-sidebar{position:fixed!important;inset:0 auto 0 0;width:var(--cbt-sidebar-w);height:100vh;display:flex;flex-direction:column;z-index:1036;background:linear-gradient(165deg,#112e4b 0%,#0b233b 96%);color:#e6edf5;box-shadow:7px 0 24px rgba(10,31,49,.11);transition:transform .2s ease,width .2s ease;overflow:hidden}
.cbt-app .cbt-brand{display:flex;gap:12px;align-items:center;padding:22px 19px 19px;text-decoration:none;color:#fff;min-height:92px;border-bottom:1px solid #ffffff18}
.cbt-brand-symbol{display:grid;place-items:center;flex:0 0 43px;width:43px;height:43px;border-radius:13px;background:linear-gradient(140deg,#f2c86d,#cf962e);color:#112d46;box-shadow:0 7px 22px #040d1638}
.cbt-brand-symbol svg{width:23px;height:23px;stroke:currentColor;stroke-width:2;fill:none;stroke-linejoin:round;stroke-linecap:round}
.cbt-brand-words{display:flex;flex-direction:column;min-width:0;line-height:1.15}.cbt-brand-name{font-size:16px;font-weight:650;letter-spacing:.02em;white-space:nowrap}.cbt-brand-name strong{font-weight:850}.cbt-brand-caption{margin-top:4px;color:#b7c8da;font-size:10px;letter-spacing:.19em}.cbt-brand-v{color:#f0c166;font-weight:800;letter-spacing:0;margin-left:7px}
.cbt-sidebar-scroll{flex:1;min-height:0;overflow-y:auto;padding:12px 11px 15px;scrollbar-width:thin;scrollbar-color:#44617b transparent}.cbt-nav{display:flex;flex-direction:column;gap:3px}
.cbt-nav-heading{font-size:10px;font-weight:800;letter-spacing:.13em;color:#9db3c7}.cbt-workspace-label{padding:10px 14px 9px}.cbt-nav-group{border-top:1px solid #ffffff12;margin-top:9px;padding-top:8px}.cbt-nav-group:first-of-type{margin-top:4px}.cbt-nav-group>summary.cbt-nav-heading{padding:10px 13px;display:flex;align-items:center;justify-content:space-between;cursor:pointer;list-style:none;border-radius:8px;user-select:none}.cbt-nav-group>summary::-webkit-details-marker{display:none}.cbt-nav-group>summary:hover,.cbt-nav-group>summary:focus-visible{background:#ffffff0d;color:#e5edf7}.cbt-group-chevron{width:12px;height:12px;stroke:currentColor;stroke-width:2;fill:none;transition:transform .18s ease}.cbt-nav-group[open] .cbt-group-chevron{transform:rotate(90deg)}.cbt-nav-group-links{display:flex;flex-direction:column;gap:3px;padding-bottom:4px}
.cbt-nav-link{color:#dce7f2!important;text-decoration:none!important;display:flex!important;align-items:center;gap:13px;min-height:42px;border-radius:9px;padding:9px 13px!important;border:1px solid transparent!important;font-weight:520;font-size:13px;line-height:1.3;transition:background .16s,color .16s,border-color .16s;white-space:normal!important}.cbt-nav-link:hover{background:#ffffff13;color:#fff!important}.cbt-nav-link.active,.cbt-nav-link[aria-current="page"]{background:#315675!important;color:#fff!important;border-color:#ffffff20!important;box-shadow:inset 3px 0 var(--cbt-gold)}.cbt-nav-icon{width:18px;height:18px;flex:0 0 18px;stroke:currentColor;fill:none;stroke-width:1.8}.cbt-nav-label{flex:1;min-width:0}.cbt-sidebar-foot{min-height:55px;display:flex;gap:10px;align-items:center;padding:14px 19px;border-top:1px solid #ffffff1c;color:#c6d5e3;font-size:11px;letter-spacing:.025em}.cbt-online-dot{display:inline-block;width:8px;height:8px;border-radius:50%;background:#69cba0;box-shadow:0 0 0 3px #69cba01b}
.cbt-app .cbt-app-shell{margin-left:var(--cbt-sidebar-w);min-height:100vh;display:flex;flex-direction:column;transition:margin-left .2s ease}.cbt-topbar{min-height:77px;display:flex;align-items:center;justify-content:space-between;gap:16px;padding:13px clamp(16px,2.5vw,36px);background:#fff;border-bottom:1px solid var(--cbt-border);box-shadow:0 4px 12px #182f4608}.cbt-topbar-left,.cbt-topbar-right{display:flex;align-items:center;gap:14px;min-width:0}.cbt-topbar-right{gap:10px;flex-wrap:wrap;justify-content:flex-end}.cbt-page-heading{display:flex;flex-direction:column;min-width:0}.cbt-topbar-eyebrow{color:#8794a5;font-size:10px;font-weight:750;letter-spacing:.17em}.cbt-topbar-title{color:#172f4a;font-size:clamp(17px,1.4vw,23px);font-weight:800;line-height:1.3;overflow-wrap:anywhere}.cbt-icon-button{width:41px;height:41px;display:grid;place-items:center;border:1px solid var(--cbt-border);background:#fff;border-radius:10px;flex-shrink:0;color:#29445e}.cbt-icon-button:hover{background:#f0f5fa}.cbt-icon-button svg,.cbt-topbar-action svg{width:18px;height:18px;stroke:currentColor;stroke-width:2;fill:none}.cbt-topbar-action{display:inline-flex;align-items:center;gap:7px;background:#173f63;border-color:#173f63;color:#fff;font-weight:650;border-radius:9px;padding:9px 13px}.cbt-topbar-action:hover{background:#0b2942;border-color:#0b2942;color:#fff}.cbt-login-container{font-size:13px}.cbt-content{width:100%;flex:1;padding:clamp(14px,2.3vw,32px);max-width:1760px;margin:0 auto}.cbt-content .card{border:1px solid #e0e7f0;border-radius:13px;box-shadow:0 4px 16px #16365309}.cbt-content .card-header{background:#fff;border-bottom:1px solid #e5ebf2;border-radius:13px 13px 0 0}.cbt-footer{border-top:1px solid var(--cbt-border);padding:16px clamp(16px,2.5vw,36px);display:flex;flex-wrap:wrap;gap:12px;justify-content:space-between;background:#fff;color:#7a8998;font-size:12px}
.cbt-sidebar-overlay{display:none}.cbt-skip-link{position:fixed;left:-300px;top:0;z-index:2000;background:#fff;color:#143757;padding:10px 14px}.cbt-skip-link:focus{left:10px;top:10px}
/* Guest layout */.cbt-guest{background:#f4f7fb;min-height:100vh}.cbt-guest-header{display:flex;justify-content:space-between;align-items:center;gap:18px;background:var(--cbt-navy);padding:14px clamp(16px,3vw,42px);color:#fff}.cbt-guest-brand{display:flex;gap:12px;align-items:center;color:#fff;text-decoration:none;font-weight:800}.cbt-guest-brand:hover{color:#fff}.cbt-guest-brand small{font-weight:400}.cbt-guest-content{min-height:calc(100vh - 160px)}.cbt-guest-footer{text-align:center;color:#6f8195;padding:20px;border-top:1px solid var(--cbt-border)}
/* Desktop compact rail: section labels/links remain accessible by expanding with the menu button. */
@media(min-width:992px){body.cbt-sidebar-collapsed{--cbt-sidebar-w:72px}body.cbt-sidebar-collapsed .cbt-brand{justify-content:center;padding:20px 10px}body.cbt-sidebar-collapsed .cbt-brand-words,body.cbt-sidebar-collapsed .cbt-nav-label,body.cbt-sidebar-collapsed .cbt-nav-heading,body.cbt-sidebar-collapsed .cbt-sidebar-foot-text{display:none!important}body.cbt-sidebar-collapsed .cbt-sidebar-scroll{padding:12px 7px}body.cbt-sidebar-collapsed .cbt-nav-group{border:0;margin:0;padding:0}body.cbt-sidebar-collapsed .cbt-nav-group-links{display:flex}body.cbt-sidebar-collapsed .cbt-nav-link{justify-content:center;padding:10px!important;min-height:44px}body.cbt-sidebar-collapsed .cbt-sidebar-foot{justify-content:center;padding:14px 4px}}
@media(max-width:991.98px){.cbt-app .cbt-sidebar{transform:translateX(-100%);width:min(300px,86vw)}.cbt-app .cbt-app-shell{margin-left:0}.cbt-app.cbt-mobile-open .cbt-sidebar{transform:translateX(0)}.cbt-app.cbt-mobile-open .cbt-sidebar-overlay{display:block;position:fixed;inset:0;background:#06182a99;z-index:1035}.cbt-topbar{min-height:70px;padding:11px 15px}.cbt-topbar-eyebrow{font-size:9px}.cbt-action-desktop{display:none!important}.cbt-sidebar-scroll .cbt-nav-group-links{display:flex}}
@media(max-width:575.98px){.cbt-topbar-right{max-width:45%}.cbt-login-container{font-size:12px}.cbt-page-heading{max-width:50vw}.cbt-topbar-title{font-size:16px}.cbt-content{padding:12px}.cbt-footer{font-size:11px}}
@media(prefers-reduced-motion:reduce){.cbt-app .cbt-sidebar,.cbt-app .cbt-app-shell,.cbt-nav-link,.cbt-group-chevron{transition:none}}
.cbt-brand {
    display: flex;
    align-items: center;
    gap: 0.85rem;
    text-decoration: none;
    padding: 1rem 0.9rem 1rem 1rem;
    color: inherit;
}

    .cbt-brand:hover {
        text-decoration: none;
        color: inherit;
    }

.cbt-brand-logo-wrap {
    width: 58px;
    height: 58px;
    min-width: 58px;
    border-radius: 14px;
    background: rgba(255, 255, 255, 0.96);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0.35rem;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.18);
}

.cbt-brand-logo {
    width: 100%;
    height: 100%;
    object-fit: contain;
    display: block;
}

.cbt-brand-words {
    display: flex;
    flex-direction: column;
    min-width: 0;
    line-height: 1.15;
}

.cbt-brand-name {
    font-size: 1rem;
    font-weight: 800;
    letter-spacing: 0.02em;
    color: #ffffff;
}

.cbt-brand-caption {
    font-size: 0.78rem;
    color: rgba(255, 255, 255, 0.78);
    font-weight: 600;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

.cbt-brand-v {
    display: inline-block;
    margin-left: 0.35rem;
    padding: 0.08rem 0.4rem;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.12);
    color: #ffd54d;
    font-size: 0.68rem;
    font-weight: 700;
}

.cbt-guest-brand {
    display: flex;
    align-items: center;
    gap: 0.85rem;
    text-decoration: none;
    color: inherit;
}

    .cbt-guest-brand:hover {
        text-decoration: none;
        color: inherit;
    }

.cbt-guest-brand-logo {
    width: 52px;
    height: 52px;
    object-fit: contain;
    display: block;
    background: #fff;
    border-radius: 12px;
    padding: 0.3rem;
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.12);
}

.cbt-guest-brand-text {
    display: flex;
    flex-direction: column;
    line-height: 1.1;
}

.cbt-guest-brand-main {
    font-size: 1rem;
    font-weight: 800;
    letter-spacing: 0.02em;
}

.cbt-guest-brand-text small {
    font-size: 0.78rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    opacity: 0.75;
}
