/* Company workspace shell: compact grouped navigation with a single scrolling region. */
.wa-layout.wa-shell{display:grid;grid-template-columns:264px minmax(0,1fr);align-items:start;min-height:100dvh}
.wa-shell,.wa-shell *{box-sizing:border-box}
.wa-shell>.wa-sidebar{width:264px;min-width:0;height:100dvh;position:sticky;top:0;padding:18px 13px 12px;overflow:hidden;display:flex;flex-direction:column;gap:0;background:#fff;border-inline-end:1px solid var(--wa-border);border-left:0;box-shadow:none;z-index:1000}
.wa-shell.wa-sidebar-hidden{grid-template-columns:minmax(0,1fr)}
.wa-shell.wa-sidebar-hidden>.wa-sidebar{display:none}
.wa-sidebar-heading{display:flex;align-items:center;justify-content:space-between;gap:8px;min-height:43px;padding:0 3px}
.wa-sidebar-heading .flow-brand{gap:8px}.wa-sidebar-heading .flow-brand>img{width:31px}.wa-sidebar-heading .flow-brand strong{font-size:17px;letter-spacing:-.5px}.wa-sidebar-heading .flow-brand small{display:none}
.wa-icon-button{display:inline-flex;align-items:center;justify-content:center;flex-shrink:0;width:36px;height:36px;min-height:36px;padding:0;border:1px solid #dce6e0;border-radius:10px;background:#fff;color:#426167;font-size:18px;cursor:pointer}
.wa-icon-button:hover{background:#edf5f1;color:#123f4a;border-color:#b8cfc5}.wa-icon-button:focus-visible,.wa-nav-group-toggle:focus-visible,.wa-sidebar a:focus-visible,.wa-sidebar-actions button:focus-visible{outline:3px solid #20b8a6;outline-offset:2px}
.wa-sidebar-caption{font-size:11px;color:#75867e;padding:7px 9px 10px;margin-bottom:8px;border-bottom:1px solid #e8ede9}
.wa-sidebar-scroll{flex:1;min-height:0;overflow-y:auto;overscroll-behavior:contain;scrollbar-width:thin;scrollbar-color:#ccd8d1 transparent;padding:3px 2px 4px}
.wa-shell .wa-nav-menu{display:flex;flex-direction:column;gap:3px}.wa-shell .wa-nav-menu i{line-height:1}
.wa-shell .wa-nav-menu>a,.wa-nav-group-toggle{display:flex;align-items:center;gap:10px;width:100%;min-height:42px;padding:9px 10px;border:1px solid transparent;border-radius:10px;background:transparent;color:#4c6064;font-size:14px;font-weight:700;line-height:1.6;text-align:start;text-decoration:none;margin:0;cursor:pointer}
.wa-shell .wa-nav-menu>a i,.wa-nav-group-toggle>i:first-child{width:20px;flex-shrink:0;font-size:17px;text-align:center;color:#496c70}
.wa-nav-group-toggle{min-height:38px;padding-block:7px;line-height:1.5}
.wa-nav-group-toggle>span{flex:1}.wa-nav-group-toggle>small{font-size:10px;color:#84958b;font-weight:400}.wa-nav-chevron{font-size:10px;color:#81958c;transition:transform .15s ease}.wa-nav-group-toggle[aria-expanded="true"] .wa-nav-chevron{transform:rotate(180deg)}
.wa-nav-group-toggle:hover{background:#f1f6f3;color:#123f4a}.wa-nav-group-toggle[aria-expanded="true"]{background:#f0f5f2;color:#123f4a}.wa-nav-group.has-active-page>.wa-nav-group-toggle{color:#123f4a}
.wa-nav-group-links{display:flex;flex-direction:column;gap:3px;margin:5px 16px 8px 2px;padding-inline-start:10px;border-inline-start:1px solid #dce7e0}.wa-nav-group-links[hidden]{display:none}
.wa-shell .wa-nav-group-links a{display:flex;align-items:center;flex-direction:row;justify-content:flex-start;gap:9px;text-align:start;min-height:34px;padding:5px 9px;margin:0;border:1px solid transparent;border-radius:9px;font-size:13px;font-weight:400;line-height:1.6;color:#5c7172;transition:background .15s ease,color .15s ease}
.wa-shell .wa-nav-group-links a i{width:17px;font-size:14px;flex-shrink:0;color:#6f8784}.wa-shell .wa-nav-menu a:hover{transform:none;box-shadow:none;background:#edf5f0;border-color:transparent;color:#123f4a}
.wa-shell .wa-nav-menu a.active{background:#123f4a;color:#fff;box-shadow:none;border-color:transparent;font-weight:700}.wa-shell .wa-nav-menu a.active i{color:#b7dc6f}
.wa-sidebar-footer{flex-shrink:0;border-top:1px solid #e5ede7;padding:10px 4px 0;display:grid;gap:8px}.wa-sidebar-company{display:flex;align-items:center;gap:9px;padding:9px 10px;border:1px solid #e1eae3;border-radius:10px;background:#f5f8f4}.wa-sidebar-company>i:first-child{font-size:18px;color:#67826d}.wa-sidebar-company>i:last-child{margin-inline-start:auto;font-size:11px;color:#8a9c8b}.wa-sidebar-company>div{min-width:0}.wa-sidebar-company strong{font-size:12px;font-weight:700;display:block;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;max-width:164px;color:#355a58}.wa-sidebar-company small{font-size:10px;color:#7b9080;display:block;line-height:1.5;direction:ltr;text-align:right}
.wa-sidebar-profile{display:flex;align-items:center;gap:9px;padding:0 4px}.wa-sidebar-profile .wa-user-avatar{width:31px;height:31px;border-radius:9px;font-size:16px;flex-shrink:0;background:#eaf2ec;color:#416c5a}.wa-sidebar-profile .wa-user-meta strong{display:block;font-size:12px;font-weight:700;color:#345853}.wa-sidebar-profile .wa-user-meta small{display:block;font-size:10px;color:#829184;line-height:1.4}
.wa-sidebar-actions{display:grid;grid-template-columns:1fr auto;gap:8px}.wa-sidebar-actions a,.wa-sidebar-actions button{display:inline-flex;align-items:center;justify-content:center;gap:6px;border:1px solid #dce6df;border-radius:8px;min-height:32px;padding:5px 9px;margin:0;font-size:11px;font-weight:400;background:#fff;color:#5c7469;text-decoration:none;line-height:1.6}.wa-sidebar-actions button{color:#985a53;cursor:pointer}.wa-sidebar-actions button:hover{background:#fff3f0;border-color:#e7c8c1}
.wa-shell>.wa-main{width:100%;min-width:0;padding:20px 24px 30px}.wa-shell .wa-topbar{gap:14px;min-height:70px;border-radius:15px;z-index:900}.wa-topbar-leading,.wa-topbar-actions{display:flex;align-items:center;gap:15px;min-width:0}.wa-topbar-leading{flex:1}.wa-topbar-actions{flex-shrink:0}.wa-sidebar-toggle{background:#f4f8f4}.wa-shell .wa-topbar-account strong{max-width:min(35vw,480px);font-size:15px}.wa-shell .wa-topbar-account small{font-size:11px}.wa-shell .wa-topbar-icon{width:33px;height:33px;flex-basis:33px;font-size:17px;border-radius:10px}.wa-shell .wa-topbar-brand{padding-inline-start:14px;border-inline-start:1px solid #e3eae5}.wa-sidebar-backdrop{display:none}
@media(max-width:1150px){.wa-shell .wa-topbar-brand{display:none}.wa-topbar-actions{gap:8px}}
@media(max-width:991px){
    .wa-layout.wa-shell,.wa-layout.wa-shell.wa-sidebar-hidden{display:block}
    .wa-shell>.wa-sidebar,.wa-shell.wa-sidebar-hidden>.wa-sidebar{display:flex;position:fixed;inset-inline-start:0;top:0;bottom:0;width:min(286px,calc(100vw - 28px));height:100dvh;z-index:1100;border:0;border-inline-end:1px solid #dce6df;box-shadow:-15px 0 45px #123f4a24;visibility:hidden;transform:translateX(105%);transition:transform .18s ease,visibility .18s ease}
    .wa-shell.wa-mobile-sidebar-open>.wa-sidebar{visibility:visible;transform:translateX(0)}
    .wa-shell .wa-sidebar-company strong{max-width:185px}
    .wa-shell .wa-nav-group-toggle{min-height:44px}.wa-shell .wa-nav-group-links a{min-height:42px}.wa-shell .wa-sidebar-actions a,.wa-shell .wa-sidebar-actions button{min-height:40px}
    .wa-shell>.wa-main{padding:12px}.wa-shell .wa-topbar{top:7px;flex-wrap:nowrap;gap:10px;padding:9px 11px;min-height:64px}
    .wa-sidebar-backdrop{display:block;position:fixed;inset:0;z-index:1050;background:#092c3766;border:0;padding:0;cursor:pointer;backdrop-filter:blur(2px)}
    body:has(.wa-mobile-sidebar-open){overflow:hidden}
}
@media(max-width:600px){
    .wa-topbar-leading{gap:9px}.wa-topbar-actions{gap:6px}.wa-shell .wa-topbar-account{gap:7px}.wa-shell .wa-topbar-account .wa-topbar-icon{display:none}.wa-shell .wa-topbar-account strong{max-width:35vw;font-size:13px}.wa-shell .wa-topbar-account small{font-size:10px}
    .wa-shell .wa-topbar-actions .gb-staff-bell,.wa-shell .wa-topbar-actions .gb-esc-bell{width:34px;min-width:34px;min-height:35px;justify-content:center;padding:5px;position:relative}.wa-shell .wa-topbar-actions .gb-staff-bell-label,.wa-shell .wa-topbar-actions .gb-esc-bell>span{display:none}.wa-shell .wa-topbar-actions .gb-esc-bell::before{content:'↗';font-size:20px}.wa-shell .wa-topbar-actions .gb-staff-bell b,.wa-shell .wa-topbar-actions .gb-esc-bell b{position:absolute;top:-5px;inset-inline-end:-5px;border:2px solid #fff}.wa-shell .wa-topbar-actions .gb-staff-bell-icon{font-size:17px}
}
@media(prefers-reduced-motion:reduce){.wa-shell>.wa-sidebar,.wa-nav-chevron{transition:none}}

/* Company WhatsApp numbers: select and configure each saved channel independently. */
.wa-channel-heading{display:flex;align-items:flex-start;justify-content:space-between;gap:20px;margin-bottom:17px}.wa-channel-heading h3{font-size:20px;font-weight:700;color:#123f4a;margin:0 0 5px}.wa-channel-heading p,.wa-channel-help{font-size:12px;color:#6a8074;line-height:1.9;margin:0}.wa-channel-count{display:flex;align-items:center;gap:10px;border:1px solid #dae7d5;border-radius:8px;background:#f1f7ec;padding:7px 11px;white-space:nowrap;font-size:11px;color:#718667}.wa-channel-count strong{font-size:15px;color:#365d45;direction:ltr}.wa-channel-picker{display:flex;align-items:flex-end;gap:14px}.wa-channel-picker label{flex:1;min-width:0;font-size:12px;font-weight:700;color:#466658}.wa-channel-picker select{margin-top:7px;min-height:43px}.wa-channel-picker .wa-btn{font-size:12px;min-height:43px;font-weight:700;white-space:nowrap}.wa-channel-help{margin-top:13px}.wa-channel-help a{color:#315e4e;text-underline-offset:3px}@media(max-width:680px){.wa-channel-heading{flex-direction:column;gap:12px}.wa-channel-picker{align-items:stretch;flex-direction:column}.wa-channel-picker label{width:100%}.wa-channel-picker .wa-btn{align-self:flex-start;min-height:44px}}
