/* Approved blue V2 secondary workspaces. Semantic status colors stay independent. */
html[data-workspace="v2"]:not(#ws2a):not(#ws2b):not(#ws2c):not(#ws2d) #ws2More{position:fixed;inset:16px 24px 24px 98px;width:auto;max-width:1000px;max-height:none;overflow:auto;padding:20px;background:var(--panel);border:1px solid var(--line);border-radius:12px;box-shadow:var(--sh-pop);z-index:260}
html[data-workspace="v2"]:not(#ws2a):not(#ws2b):not(#ws2c):not(#ws2d) #ws2More[hidden]{display:none}
html[data-workspace="v2"]:not(#ws2a):not(#ws2b):not(#ws2c):not(#ws2d) #ws2More>header{display:flex;align-items:center;justify-content:space-between;margin-bottom:12px}
html[data-workspace="v2"]:not(#ws2a):not(#ws2b):not(#ws2c):not(#ws2d) #ws2More h2{font-size:24px;margin:0}
html[data-workspace="v2"]:not(#ws2a):not(#ws2b):not(#ws2c):not(#ws2d) #ws2More button{display:flex;align-items:center;justify-content:space-between;gap:12px;min-height:36px;padding:8px 10px;background:transparent;border:0;border-radius:6px;color:var(--ink);text-align:left;font:400 13px/1.4 Inter,system-ui,sans-serif}
html[data-workspace="v2"]:not(#ws2a):not(#ws2b):not(#ws2c):not(#ws2d) #ws2More button:hover{background:var(--hover)}
html[data-workspace="v2"]:not(#ws2a):not(#ws2b):not(#ws2c):not(#ws2d) #ws2MoreSearch{width:100%;height:40px;padding:8px 12px;border:1px solid var(--line);border-radius:8px;background:var(--panel2);color:var(--ink);font:inherit}
html[data-workspace="v2"]:not(#ws2a):not(#ws2b):not(#ws2c):not(#ws2d) #ws2MoreResults{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px 32px;padding-top:16px}
html[data-workspace="v2"]:not(#ws2a):not(#ws2b):not(#ws2c):not(#ws2d) #ws2MoreResults h3{font-size:12px;color:var(--muted);font-weight:500;margin:0 0 6px;padding:0 10px}
html[data-workspace="v2"]:not(#ws2a):not(#ws2b):not(#ws2c):not(#ws2d) #ws2MoreResults button{width:100%}
html[data-workspace="v2"]:not(#ws2a):not(#ws2b):not(#ws2c):not(#ws2d) :is(#home,#partners,#agency,#rhythm,#calls,#smm,#training,#fit,#users,#ellina,#telephony,#health)>.topbar{margin-bottom:12px;gap:10px;align-items:center}
html[data-workspace="v2"]:not(#ws2a):not(#ws2b):not(#ws2c):not(#ws2d) :is(#home,#partners,#agency,#rhythm,#calls,#smm,#training,#fit,#users,#ellina,#telephony,#health)>.topbar h1{font-size:24px;letter-spacing:-.025em}
html[data-workspace="v2"]:not(#ws2a):not(#ws2b):not(#ws2c):not(#ws2d) :is(#home,#partners,#calls,#training,#users,#ellina,#health)>.topbar .crumb{display:none}
html[data-workspace="v2"]:not(#ws2a):not(#ws2b):not(#ws2c):not(#ws2d) :is(#home,#partners,#agency,#rhythm,#calls,#smm,#training,#fit,#users,#ellina,#telephony,#health,#mortgage) :is(button,.btn,select,summary){min-height:32px;font-size:12px}
html[data-workspace="v2"]:not(#ws2a):not(#ws2b):not(#ws2c):not(#ws2d) .ws2-profile-details{margin:12px 0;border-top:1px solid var(--line);background:transparent}
html[data-workspace="v2"]:not(#ws2a):not(#ws2b):not(#ws2c):not(#ws2d) .ws2-profile-details>summary{display:flex;align-items:center;min-height:40px;padding:10px 0;cursor:pointer;color:var(--ink);font-size:13px;font-weight:500}
html[data-workspace="v2"]:not(#ws2a):not(#ws2b):not(#ws2c):not(#ws2d) .ws2-profile-details>summary:after{content:'⌄';margin-left:auto}
html[data-workspace="v2"]:not(#ws2a):not(#ws2b):not(#ws2c):not(#ws2d) .ws2-profile-details:not([open])>:not(summary){display:none!important}
html[data-workspace="v2"]:not(#ws2a):not(#ws2b):not(#ws2c):not(#ws2d) #home .dz5c-prof{padding:12px;gap:10px;align-items:center}
html[data-workspace="v2"]:not(#ws2a):not(#ws2b):not(#ws2c):not(#ws2d) #home .dz5c-prof .dz5c-who{min-width:0;flex:1}
html[data-workspace="v2"]:not(#ws2a):not(#ws2b):not(#ws2c):not(#ws2d) #home .dz5c-who .n{flex-wrap:wrap}
html[data-workspace="v2"]:not(#ws2a):not(#ws2b):not(#ws2c):not(#ws2d) #home .dz5c-who .n b{white-space:normal;text-overflow:clip;overflow:visible}
html[data-workspace="v2"]:not(#ws2a):not(#ws2b):not(#ws2c):not(#ws2d) #home .dz5c-metrics{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px;overflow:visible;margin:12px 0;padding:0;scroll-snap-type:none}
html[data-workspace="v2"]:not(#ws2a):not(#ws2b):not(#ws2c):not(#ws2d) #home .dz5c-mc{min-width:0;width:auto;padding:12px;min-height:0;background:var(--panel);border-color:var(--line);box-shadow:none}
html[data-workspace="v2"]:not(#ws2a):not(#ws2b):not(#ws2c):not(#ws2d) #home .dz5c-mc .h{font-size:12px}
html[data-workspace="v2"]:not(#ws2a):not(#ws2b):not(#ws2c):not(#ws2d) #home .dz5c-mc .v{font-size:24px;line-height:1.4;margin:6px 0;overflow-wrap:anywhere}
html[data-workspace="v2"]:not(#ws2a):not(#ws2b):not(#ws2c):not(#ws2d) #home .dz5c-mc .ic{display:none}
html[data-workspace="v2"]:not(#ws2a):not(#ws2b):not(#ws2c):not(#ws2d) #home .dz5c-spark{display:block;height:64px;margin-top:12px;color:var(--gold-fill)}
html[data-workspace="v2"]:not(#ws2a):not(#ws2b):not(#ws2c):not(#ws2d) #home .dz5c-chart-labels{display:flex;justify-content:space-between;gap:8px;width:100%;font-size:10px;color:var(--muted)}
html[data-workspace="v2"]:not(#ws2a):not(#ws2b):not(#ws2c):not(#ws2d) #home .dz5c-mc .dz5c-bar{display:block;height:10px;margin-top:auto;background:var(--hover)}
html[data-workspace="v2"]:not(#ws2a):not(#ws2b):not(#ws2c):not(#ws2d) #home .dz5c-mc .dz5c-dl{font-size:11px;white-space:normal}
html[data-workspace="v2"]:not(#ws2a):not(#ws2b):not(#ws2c):not(#ws2d) #home .dz5c-mc>.f{margin-top:6px;font-size:11px}
html[data-workspace="v2"]:not(#ws2a):not(#ws2b):not(#ws2c):not(#ws2d) .ws2-profile-links{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:8px}
html[data-workspace="v2"]:not(#ws2a):not(#ws2b):not(#ws2c):not(#ws2d) .ws2-profile-links button{display:flex;justify-content:space-between;align-items:center;gap:8px;padding:10px;background:var(--panel2);border:1px solid var(--line);border-radius:8px;color:var(--ink);text-align:left}
html[data-workspace="v2"]:not(#ws2a):not(#ws2b):not(#ws2c):not(#ws2d) #dz5cSet .dz5c-pan{width:min(720px,100vw);max-width:100vw}
html[data-workspace="v2"]:not(#ws2a):not(#ws2b):not(#ws2c):not(#ws2d) #dz5cSet .dz5c-pan-b{padding:12px 18px}
html[data-workspace="v2"]:not(#ws2a):not(#ws2b):not(#ws2c):not(#ws2d) #dz5cSet .dz5c-acc-h{padding:12px 0;min-height:56px}
html[data-workspace="v2"]:not(#ws2a):not(#ws2b):not(#ws2c):not(#ws2d) #dz5cSet .dz5c-acc-h .tt small{font-size:11px}
html[data-workspace="v2"]:not(#ws2a):not(#ws2b):not(#ws2c):not(#ws2d) #dzLook>:is(.dz-look-h,.dz-themes,.dz-dark-palette){display:none!important}
html[data-workspace="v2"]:not(#ws2a):not(#ws2b):not(#ws2c):not(#ws2d) #dzLook .dz-set{padding:10px 0}
html[data-workspace="v2"]:not(#ws2a):not(#ws2b):not(#ws2c):not(#ws2d) #dzLook .dz-set:has([data-dzseg="mode"]){display:none}
html[data-workspace="v2"]:not(#ws2a):not(#ws2b):not(#ws2c):not(#ws2d) #dz5cSet .ws2-interface{display:block;padding:8px 0;margin:0;border:0}
html[data-workspace="v2"]:not(#ws2a):not(#ws2b):not(#ws2c):not(#ws2d) #dz5cSet .ws2-interface p{font-size:12px}
html[data-workspace="v2"]:not(#ws2a):not(#ws2b):not(#ws2c):not(#ws2d) #dz5cSet .dz5c-acc[data-sec="look"] .dz5c-acc-in{padding:0 0 12px}
html[data-workspace="v2"]:not(#ws2a):not(#ws2b):not(#ws2c):not(#ws2d) #partners .dz2p-refs{padding:12px;margin-bottom:12px}
html[data-workspace="v2"]:not(#ws2a):not(#ws2b):not(#ws2c):not(#ws2d) #partners .dz-empty{padding:18px 12px;min-height:0;text-align:left}
html[data-workspace="v2"]:not(#ws2a):not(#ws2b):not(#ws2c):not(#ws2d) #partners .dz2p-refempty{padding:12px 0}
html[data-workspace="v2"]:not(#ws2a):not(#ws2b):not(#ws2c):not(#ws2d) #partners .pf-toolbar{gap:8px;margin-bottom:8px}
html[data-workspace="v2"]:not(#ws2a):not(#ws2b):not(#ws2c):not(#ws2d) #partners .dz-toolbar{margin:0 0 10px;padding:0;border:0}
html[data-workspace="v2"]:not(#ws2a):not(#ws2b):not(#ws2c):not(#ws2d) #agency .rds-head{gap:8px;margin-bottom:10px}
html[data-workspace="v2"]:not(#ws2a):not(#ws2b):not(#ws2c):not(#ws2d) #agency .rds-note{margin:8px 0}
html[data-workspace="v2"]:not(#ws2a):not(#ws2b):not(#ws2c):not(#ws2d) #rhythm .dz-rh-kpis{grid-template-columns:repeat(3,minmax(0,1fr));gap:8px;margin:10px 0}
html[data-workspace="v2"]:not(#ws2a):not(#ws2b):not(#ws2c):not(#ws2d) #rhythm .dz-rh-kpis>.dzc-kpi{padding:10px;min-height:0}
html[data-workspace="v2"]:not(#ws2a):not(#ws2b):not(#ws2c):not(#ws2d) #rhythm .dz-rh-kpis>.dzc-kpi:last-child{grid-column:1/-1;display:flex;align-items:center;gap:10px;padding:6px 10px;border:0;background:var(--panel2)}
html[data-workspace="v2"]:not(#ws2a):not(#ws2b):not(#ws2c):not(#ws2d) #rhythm .dz-rh-kpis .n{font-size:22px;margin:4px 0}
html[data-workspace="v2"]:not(#ws2a):not(#ws2b):not(#ws2c):not(#ws2d) #rhythm .dz-rh-kpis .l{font-size:11px;letter-spacing:0;text-transform:none}
html[data-workspace="v2"]:not(#ws2a):not(#ws2b):not(#ws2c):not(#ws2d) #rhythm .dz-rh-kpis .f{font-size:11px}
html[data-workspace="v2"]:not(#ws2a):not(#ws2b):not(#ws2c):not(#ws2d) #rhythm .dz-rh-kpis>.dzc-kpi:last-child .n{font-size:13px;white-space:nowrap}
html[data-workspace="v2"]:not(#ws2a):not(#ws2b):not(#ws2c):not(#ws2d) #rhythm .rh5-tabs{flex-wrap:wrap}
html[data-workspace="v2"]:not(#ws2a):not(#ws2b):not(#ws2c):not(#ws2d) #rhythmTools{gap:8px}
html[data-workspace="v2"]:not(#ws2a):not(#ws2b):not(#ws2c):not(#ws2d) #calls .dzc-kpis{gap:8px;margin-bottom:8px}
html[data-workspace="v2"]:not(#ws2a):not(#ws2b):not(#ws2c):not(#ws2d) #calls .dzc-kpi{padding:10px;min-height:0}
html[data-workspace="v2"]:not(#ws2a):not(#ws2b):not(#ws2c):not(#ws2d) #calls .dzc-kpi .n{font-size:24px}
html[data-workspace="v2"]:not(#ws2a):not(#ws2b):not(#ws2c):not(#ws2d) #calls .dzc-kpi .l{font-size:11px;text-transform:none;letter-spacing:0}
html[data-workspace="v2"]:not(#ws2a):not(#ws2b):not(#ws2c):not(#ws2d) #calls #callsFilters{justify-content:space-between}
html[data-workspace="v2"]:not(#ws2a):not(#ws2b):not(#ws2c):not(#ws2d) #ws2CallsQuality .dz-seg{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));white-space:normal}
html[data-workspace="v2"]:not(#ws2a):not(#ws2b):not(#ws2c):not(#ws2d) #mortgage .mc-head h1{font-size:24px}
html[data-workspace="v2"]:not(#ws2a):not(#ws2b):not(#ws2c):not(#ws2d) #mortgage .mc-title-row{display:flex;flex-direction:row;flex-wrap:nowrap;align-items:center;gap:8px}
html[data-workspace="v2"]:not(#ws2a):not(#ws2b):not(#ws2c):not(#ws2d) #mortgage .mc-title-row>input{min-width:0;flex:1;font-size:14px}
html[data-workspace="v2"]:not(#ws2a):not(#ws2b):not(#ws2c):not(#ws2d) #mortgage .mc-sheet{padding:12px}
html[data-workspace="v2"]:not(#ws2a):not(#ws2b):not(#ws2c):not(#ws2d) #mortgage .mc-form{gap:10px}
html[data-workspace="v2"]:not(#ws2a):not(#ws2b):not(#ws2c):not(#ws2d) #mortgage .mc-metrics .mc-metric{padding:8px}
html[data-workspace="v2"]:not(#ws2a):not(#ws2b):not(#ws2c):not(#ws2d) #training .dzt-hero{padding:12px;gap:10px;margin-bottom:12px}
html[data-workspace="v2"]:not(#ws2a):not(#ws2b):not(#ws2c):not(#ws2d) #training .dzt-hero>.dzt-ring{display:none}
html[data-workspace="v2"]:not(#ws2a):not(#ws2b):not(#ws2c):not(#ws2d) #training .dzt-k{display:none}
html[data-workspace="v2"]:not(#ws2a):not(#ws2b):not(#ws2c):not(#ws2d) #training .dzt-hero h2{font-size:16px;line-height:1.4}
html[data-workspace="v2"]:not(#ws2a):not(#ws2b):not(#ws2c):not(#ws2d) #training .dzt-courses{gap:10px}
html[data-workspace="v2"]:not(#ws2a):not(#ws2b):not(#ws2c):not(#ws2d) #training .dzt-c{padding:14px;min-height:0}
html[data-workspace="v2"]:not(#ws2a):not(#ws2b):not(#ws2c):not(#ws2d) #training .dzt-c-t{font-size:16px;margin:8px 0}
html[data-workspace="v2"]:not(#ws2a):not(#ws2b):not(#ws2c):not(#ws2d) #training .dzt-c-go{margin-top:10px}
html[data-workspace="v2"]:not(#ws2a):not(#ws2b):not(#ws2c):not(#ws2d) #training .dzt-head{padding:10px 0;border:0;background:none;margin:8px 0}
html[data-workspace="v2"]:not(#ws2a):not(#ws2b):not(#ws2c):not(#ws2d) #training .dzt-head>.dzt-c-ic{display:none}
html[data-workspace="v2"]:not(#ws2a):not(#ws2b):not(#ws2c):not(#ws2d) #training .dzt-head h2{font-size:17px}
html[data-workspace="v2"]:not(#ws2a):not(#ws2b):not(#ws2c):not(#ws2d) #training .dzt-head .dzt-sub{font-size:11px}
html[data-workspace="v2"]:not(#ws2a):not(#ws2b):not(#ws2c):not(#ws2d) #training .dzt-head .dzt-ring{width:48px!important;height:48px!important}
html[data-workspace="v2"]:not(#ws2a):not(#ws2b):not(#ws2c):not(#ws2d) #training .dzt-head .dzt-ring svg{width:48px;height:48px}
html[data-workspace="v2"]:not(#ws2a):not(#ws2b):not(#ws2c):not(#ws2d) #training .dzt-seg{margin:8px 0}
html[data-workspace="v2"]:not(#ws2a):not(#ws2b):not(#ws2c):not(#ws2d) #ws2CurrentLesson .tr5-les{padding:12px;border:1px solid var(--line);border-radius:10px;background:var(--panel)}
html[data-workspace="v2"]:not(#ws2a):not(#ws2b):not(#ws2c):not(#ws2d) #ws2CurrentLesson .tr5-row{gap:8px}
html[data-workspace="v2"]:not(#ws2a):not(#ws2b):not(#ws2c):not(#ws2d) #ws2CurrentLesson .tr5-why{margin-top:6px}
html[data-workspace="v2"]:not(#ws2a):not(#ws2b):not(#ws2c):not(#ws2d) #ws2CourseProgram{margin-top:12px}
html[data-workspace="v2"]:not(#ws2a):not(#ws2b):not(#ws2c):not(#ws2d) #users .dza-bar{gap:8px;margin:8px 0 12px;flex-wrap:wrap}
html[data-workspace="v2"]:not(#ws2a):not(#ws2b):not(#ws2c):not(#ws2d) #users .dza-seg{flex-wrap:wrap;overflow:visible}
html[data-workspace="v2"]:not(#ws2a):not(#ws2b):not(#ws2c):not(#ws2d) #users .dza-tw{border-radius:8px}
html[data-workspace="v2"]:not(#ws2a):not(#ws2b):not(#ws2c):not(#ws2d) #users .dza-t td{padding:10px 12px}
html[data-workspace="v2"]:not(#ws2a):not(#ws2b):not(#ws2c):not(#ws2d) #ellina [hidden]{display:none!important}
html[data-workspace="v2"]:not(#ws2a):not(#ws2b):not(#ws2c):not(#ws2d) #ellina .ellina-toolbar{align-items:center;gap:8px}
html[data-workspace="v2"]:not(#ws2a):not(#ws2b):not(#ws2c):not(#ws2d) #ellina .ellina-toolbar label{font-size:12px}
html[data-workspace="v2"]:not(#ws2a):not(#ws2b):not(#ws2c):not(#ws2d) .ws2-secondary-tabs{display:flex;gap:4px;margin:0 0 12px;border-bottom:1px solid var(--line)}
html[data-workspace="v2"]:not(#ws2a):not(#ws2b):not(#ws2c):not(#ws2d) .ws2-secondary-tabs button{padding:8px 10px;background:none;border:0;border-bottom:2px solid transparent;color:var(--muted)}
html[data-workspace="v2"]:not(#ws2a):not(#ws2b):not(#ws2c):not(#ws2d) .ws2-secondary-tabs button[aria-pressed="true"]{border-color:var(--gold);color:var(--gold)}
html[data-workspace="v2"]:not(#ws2a):not(#ws2b):not(#ws2c):not(#ws2d) #ellinaUsers[data-ws2-bot-tab="pending"] :is(.ellina-metrics,.ellina-limits,.ellina-history){display:none}
html[data-workspace="v2"]:not(#ws2a):not(#ws2b):not(#ws2c):not(#ws2d) #ellinaUsers[data-ws2-bot-tab="dialogs"] :is(.ellina-metrics,.ellina-limits,.ellina-profile,.ellina-actions){display:none}
html[data-workspace="v2"]:not(#ws2a):not(#ws2b):not(#ws2c):not(#ws2d) #ellina .ellina-card{padding:12px;gap:10px}
html[data-workspace="v2"]:not(#ws2a):not(#ws2b):not(#ws2c):not(#ws2d) #telephony .dzt-st{padding:12px;gap:10px;align-items:start}
html[data-workspace="v2"]:not(#ws2a):not(#ws2b):not(#ws2c):not(#ws2d) #telephony .dzt-st-b>div{font-size:12px;margin-top:4px}
html[data-workspace="v2"]:not(#ws2a):not(#ws2b):not(#ws2c):not(#ws2d) #telephony .dzt-at{font-size:11px}
html[data-workspace="v2"]:not(#ws2a):not(#ws2b):not(#ws2c):not(#ws2d) .ws2-health-summary{margin:0 0 12px}
html[data-workspace="v2"]:not(#ws2a):not(#ws2b):not(#ws2c):not(#ws2d) .ws2-health-row{display:grid;grid-template-columns:160px minmax(0,1fr) auto;gap:5px 16px;padding:12px 0;border-bottom:1px solid var(--line);align-items:center;font-size:13px}
html[data-workspace="v2"]:not(#ws2a):not(#ws2b):not(#ws2c):not(#ws2d) .ws2-health-row small{grid-column:2;font-size:12px;color:var(--muted)}
html[data-workspace="v2"]:not(#ws2a):not(#ws2b):not(#ws2c):not(#ws2d) .ws2-health-row button{grid-column:3;grid-row:1/3;border:1px solid var(--line);background:var(--panel);border-radius:6px;color:var(--ink);padding:6px 10px}
html[data-workspace="v2"]:not(#ws2a):not(#ws2b):not(#ws2c):not(#ws2d) .ws2-health-row .warn{color:var(--warn)}
html[data-workspace="v2"]:not(#ws2a):not(#ws2b):not(#ws2c):not(#ws2d) .ws2-health-row .ok{color:var(--ink-green)}
html[data-workspace="v2"]:not(#ws2a):not(#ws2b):not(#ws2c):not(#ws2d) .ws2-smm-week{display:none}
html[data-workspace="v2"]:not(#ws2a):not(#ws2b):not(#ws2c):not(#ws2d) #fitTools select{background:var(--panel);color:var(--ink);border:1px solid var(--line);border-radius:8px;padding:8px}
@media(max-width:768px){
html[data-workspace="v2"]:not(#ws2a):not(#ws2b):not(#ws2c):not(#ws2d) #ws2More{inset:0 0 64px 0;padding:16px;border:0;border-radius:0;width:100%;max-width:none}
html[data-workspace="v2"]:not(#ws2a):not(#ws2b):not(#ws2c):not(#ws2d) #ws2MoreResults{grid-template-columns:1fr;gap:18px}
html[data-workspace="v2"]:not(#ws2a):not(#ws2b):not(#ws2c):not(#ws2d) #ws2More button{min-height:44px}
html[data-workspace="v2"]:not(#ws2a):not(#ws2b):not(#ws2c):not(#ws2d) #ws2MoreSearch{height:44px}
html[data-workspace="v2"]:not(#ws2a):not(#ws2b):not(#ws2c):not(#ws2d) :is(#home,#partners,#agency,#rhythm,#calls,#smm,#training,#fit,#users,#ellina,#telephony,#health,#mortgage) :is(button,.btn,select,summary){min-height:44px}
html[data-workspace="v2"]:not(#ws2a):not(#ws2b):not(#ws2c):not(#ws2d) :is(#home,#partners,#agency,#rhythm,#calls,#smm,#training,#fit,#users,#ellina,#telephony,#health)>.topbar h1{font-size:22px}
html[data-workspace="v2"]:not(#ws2a):not(#ws2b):not(#ws2c):not(#ws2d) #home .dz5c-prof{padding:10px}
html[data-workspace="v2"]:not(#ws2a):not(#ws2b):not(#ws2c):not(#ws2d) #home .dz5c-per{margin-top:8px;gap:8px}
html[data-workspace="v2"]:not(#ws2a):not(#ws2b):not(#ws2c):not(#ws2d) #home .dz5c-metrics{grid-template-columns:repeat(3,minmax(0,1fr));gap:6px}
html[data-workspace="v2"]:not(#ws2a):not(#ws2b):not(#ws2c):not(#ws2d) #home .dz5c-mc{padding:10px 7px}
html[data-workspace="v2"]:not(#ws2a):not(#ws2b):not(#ws2c):not(#ws2d) #home .dz5c-mc .v{font-size:18px}
html[data-workspace="v2"]:not(#ws2a):not(#ws2b):not(#ws2c):not(#ws2d) #home .dz5c-spark{height:40px;margin-top:6px}
html[data-workspace="v2"]:not(#ws2a):not(#ws2b):not(#ws2c):not(#ws2d) #home .dz5c-chart-labels{font-size:9px;gap:4px;flex-wrap:wrap}
html[data-workspace="v2"]:not(#ws2a):not(#ws2b):not(#ws2c):not(#ws2d) #home .dz5c-mc .h{font-size:11px;gap:0}
html[data-workspace="v2"]:not(#ws2a):not(#ws2b):not(#ws2c):not(#ws2d) #home .dz5c-mc .dz5c-dl{font-size:10px;line-height:1.5}
html[data-workspace="v2"]:not(#ws2a):not(#ws2b):not(#ws2c):not(#ws2d) #home .dz5c-mc>.f{display:none}
html[data-workspace="v2"]:not(#ws2a):not(#ws2b):not(#ws2c):not(#ws2d) .ws2-profile-links{grid-template-columns:repeat(2,minmax(0,1fr))}
html[data-workspace="v2"]:not(#ws2a):not(#ws2b):not(#ws2c):not(#ws2d) #dz5cSet .dz5c-pan{height:100dvh;max-height:100dvh;top:0;bottom:0;border-radius:0}
html[data-workspace="v2"]:not(#ws2a):not(#ws2b):not(#ws2c):not(#ws2d) #dz5cSet .dz5c-pan-b{padding:8px 16px}
html[data-workspace="v2"]:not(#ws2a):not(#ws2b):not(#ws2c):not(#ws2d) #rhythm .dz-rh-kpis .n{font-size:20px}
html[data-workspace="v2"]:not(#ws2a):not(#ws2b):not(#ws2c):not(#ws2d) #rhythm .dz-rh-kpis>.dzc-kpi{padding:8px}
html[data-workspace="v2"]:not(#ws2a):not(#ws2b):not(#ws2c):not(#ws2d) #rhythm .dz-rh-kpis>.dzc-kpi:last-child{flex-wrap:wrap;gap:4px 8px}
html[data-workspace="v2"]:not(#ws2a):not(#ws2b):not(#ws2c):not(#ws2d) #rhythm .dz-rh-kpis>.dzc-kpi:last-child .f{flex-basis:100%}
html[data-workspace="v2"]:not(#ws2a):not(#ws2b):not(#ws2c):not(#ws2d) #rhythm .rh5-tabs{display:flex;max-width:100%;overflow:visible}
html[data-workspace="v2"]:not(#ws2a):not(#ws2b):not(#ws2c):not(#ws2d) #rhythm .rh5-tabs button{flex:1;padding:6px;font-size:11px;white-space:normal}
html[data-workspace="v2"]:not(#ws2a):not(#ws2b):not(#ws2c):not(#ws2d) #training .dzt-courses{grid-template-columns:1fr}
html[data-workspace="v2"]:not(#ws2a):not(#ws2b):not(#ws2c):not(#ws2d) #training .dzt-c{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:6px 10px;padding:12px;text-align:left}
html[data-workspace="v2"]:not(#ws2a):not(#ws2b):not(#ws2c):not(#ws2d) #training .dzt-c-top{grid-column:2;grid-row:1/4}
html[data-workspace="v2"]:not(#ws2a):not(#ws2b):not(#ws2c):not(#ws2d) #training .dzt-c-top .dzt-c-ic{display:none}
html[data-workspace="v2"]:not(#ws2a):not(#ws2b):not(#ws2c):not(#ws2d) #training .dzt-c-t{grid-column:1;grid-row:1;margin:0;font-size:15px}
html[data-workspace="v2"]:not(#ws2a):not(#ws2b):not(#ws2c):not(#ws2d) #training .dzt-c :is(.dzt-c-m,.dzt-c-f,.dzt-c-go){grid-column:1;margin:0;font-size:11px}
html[data-workspace="v2"]:not(#ws2a):not(#ws2b):not(#ws2c):not(#ws2d) #training .dzt-c-n{display:none}
html[data-workspace="v2"]:not(#ws2a):not(#ws2b):not(#ws2c):not(#ws2d) #training .dzt-hero{align-items:center;padding:12px;display:flex;flex-wrap:wrap}
html[data-workspace="v2"]:not(#ws2a):not(#ws2b):not(#ws2c):not(#ws2d) #training .dzt-hero-t{flex:1;min-width:180px}
html[data-workspace="v2"]:not(#ws2a):not(#ws2b):not(#ws2c):not(#ws2d) #training .dzt-hero .dzt-sub{font-size:11px}
html[data-workspace="v2"]:not(#ws2a):not(#ws2b):not(#ws2c):not(#ws2d) #training .dzt-hero .btn{margin:0}
html[data-workspace="v2"]:not(#ws2a):not(#ws2b):not(#ws2c):not(#ws2d) #users .dza-seg{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));width:100%}
html[data-workspace="v2"]:not(#ws2a):not(#ws2b):not(#ws2c):not(#ws2d) #users .dza-seg button{white-space:normal;font-size:12px}
html[data-workspace="v2"]:not(#ws2a):not(#ws2b):not(#ws2c):not(#ws2d) #users :is(.dza-search,#usersRoleFilter){flex:1;min-width:140px}
html[data-workspace="v2"]:not(#ws2a):not(#ws2b):not(#ws2c):not(#ws2d) #ellina .ellina-toolbar label{flex:1;max-width:none}
html[data-workspace="v2"]:not(#ws2a):not(#ws2b):not(#ws2c):not(#ws2d) #ellina .ws2-secondary-tabs{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:0}
html[data-workspace="v2"]:not(#ws2a):not(#ws2b):not(#ws2c):not(#ws2d) #ellina .ws2-secondary-tabs button{padding:8px 3px;font-size:11px}
html[data-workspace="v2"]:not(#ws2a):not(#ws2b):not(#ws2c):not(#ws2d) #telephony .dzt-st{display:grid;grid-template-columns:auto minmax(0,1fr)}
html[data-workspace="v2"]:not(#ws2a):not(#ws2b):not(#ws2c):not(#ws2d) #telephony .dzt-at{grid-column:2}
html[data-workspace="v2"]:not(#ws2a):not(#ws2b):not(#ws2c):not(#ws2d) .ws2-health-row{grid-template-columns:minmax(0,1fr) auto;gap:6px 10px}
html[data-workspace="v2"]:not(#ws2a):not(#ws2b):not(#ws2c):not(#ws2d) .ws2-health-row strong{grid-column:1}
html[data-workspace="v2"]:not(#ws2a):not(#ws2b):not(#ws2c):not(#ws2d) .ws2-health-row span{grid-column:1}
html[data-workspace="v2"]:not(#ws2a):not(#ws2b):not(#ws2c):not(#ws2d) .ws2-health-row small{grid-column:1;line-height:1.5}
html[data-workspace="v2"]:not(#ws2a):not(#ws2b):not(#ws2c):not(#ws2d) .ws2-health-row button{grid-column:2;grid-row:1/4}
html[data-workspace="v2"]:not(#ws2a):not(#ws2b):not(#ws2c):not(#ws2d) .ws2-smm-week{display:grid;gap:8px}
html[data-workspace="v2"]:not(#ws2a):not(#ws2b):not(#ws2c):not(#ws2d) .ws2-smm-grid{display:none}
html[data-workspace="v2"]:not(#ws2a):not(#ws2b):not(#ws2c):not(#ws2d) .ws2-publication{display:grid;gap:4px;text-align:left;padding:12px;border:1px solid var(--line);border-radius:8px;background:var(--panel);color:var(--ink)}
html[data-workspace="v2"]:not(#ws2a):not(#ws2b):not(#ws2c):not(#ws2d) .ws2-publication :is(time,span,small){font-size:11px;color:var(--muted)}
html[data-workspace="v2"]:not(#ws2a):not(#ws2b):not(#ws2c):not(#ws2d) .ws2-publication strong{font-size:14px}
html[data-workspace="v2"]:not(#ws2a):not(#ws2b):not(#ws2c):not(#ws2d) #smm .smm-empty-card{padding:20px 12px;min-height:0;text-align:left}
html[data-workspace="v2"]:not(#ws2a):not(#ws2b):not(#ws2c):not(#ws2d) #smm .smm-empty-ico{display:none}
html[data-workspace="v2"]:not(#ws2a):not(#ws2b):not(#ws2c):not(#ws2d) #fitTools{gap:6px!important}
html[data-workspace="v2"]:not(#ws2a):not(#ws2b):not(#ws2c):not(#ws2d) #fitTools>select{width:100%}
}

html[data-workspace="v2"]:not(#ws2a):not(#ws2b):not(#ws2c):not(#ws2d) #ellina .ellina-toolbar:has(#ellinaBot){display:grid;grid-template-columns:minmax(0,1fr) auto;width:100%;max-width:580px}
html[data-workspace="v2"]:not(#ws2a):not(#ws2b):not(#ws2c):not(#ws2d) #ellina .ellina-toolbar:has(#ellinaBot)>label{width:100%;max-width:none;min-width:0}
html[data-workspace="v2"]:not(#ws2a):not(#ws2b):not(#ws2c):not(#ws2d) #ellina #ellinaBot{width:100%;min-width:0}
html[data-workspace="v2"]:not(#ws2a):not(#ws2b):not(#ws2c):not(#ws2d) #ellina #ellinaCount{grid-column:1/-1}
html[data-workspace="v2"]:not(#ws2a):not(#ws2b):not(#ws2c):not(#ws2d) #rhythm .dz-rh-kpis>.dzc-kpi:last-child{display:grid;grid-template-columns:auto 1fr;gap:4px 12px}
html[data-workspace="v2"]:not(#ws2a):not(#ws2b):not(#ws2c):not(#ws2d) #rhythm .dz-rh-kpis>.dzc-kpi:last-child .l{grid-column:1;grid-row:1}
html[data-workspace="v2"]:not(#ws2a):not(#ws2b):not(#ws2c):not(#ws2d) #rhythm .dz-rh-kpis>.dzc-kpi:last-child>b{grid-column:1;grid-row:2;font-size:15px;margin:0}
html[data-workspace="v2"]:not(#ws2a):not(#ws2b):not(#ws2c):not(#ws2d) #rhythm .dz-rh-kpis>.dzc-kpi:last-child .f{grid-column:2;grid-row:1/3;white-space:normal;min-width:0;margin:0;font-size:11px}
html[data-workspace="v2"]:not(#ws2a):not(#ws2b):not(#ws2c):not(#ws2d) #training .dzt-c>.dz5-cbar{display:none}
html[data-workspace="v2"]:not(#ws2a):not(#ws2b):not(#ws2c):not(#ws2d) #users .dza-tw{overflow:visible}
html[data-workspace="v2"]:not(#ws2a):not(#ws2b):not(#ws2c):not(#ws2d) #users .ws2-user-actions{position:relative}
html[data-workspace="v2"]:not(#ws2a):not(#ws2b):not(#ws2c):not(#ws2d) #users .ws2-user-actions>summary{list-style:none;display:flex;align-items:center;justify-content:center;min-width:32px;padding:4px;cursor:pointer}
html[data-workspace="v2"]:not(#ws2a):not(#ws2b):not(#ws2c):not(#ws2d) #users .ws2-user-actions:not([open])>.dza-act{display:none}
html[data-workspace="v2"]:not(#ws2a):not(#ws2b):not(#ws2c):not(#ws2d) #users .ws2-user-actions>.dza-act{position:absolute;z-index:50;right:0;top:100%;display:flex;opacity:1;padding:8px;background:var(--panel);border:1px solid var(--line);border-radius:8px;box-shadow:var(--sh-pop);min-width:max-content}
@media(max-width:768px){
html[data-workspace="v2"]:not(#ws2a):not(#ws2b):not(#ws2c):not(#ws2d) #training .dz2p-trf{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));overflow:visible;width:100%}
html[data-workspace="v2"]:not(#ws2a):not(#ws2b):not(#ws2c):not(#ws2d) #users #dzaPeople .dza-t tbody{display:block}
html[data-workspace="v2"]:not(#ws2a):not(#ws2b):not(#ws2c):not(#ws2d) #users #dzaPeople .dza-t tr{display:grid!important;grid-template-columns:minmax(0,1fr) 44px;gap:6px 8px;padding:12px!important;border-bottom:1px solid var(--line);background:var(--panel)!important}
html[data-workspace="v2"]:not(#ws2a):not(#ws2b):not(#ws2c):not(#ws2d) #users #dzaPeople .dza-t td{padding:0!important;border:0!important;min-height:0!important;background:transparent!important;display:block!important;width:auto!important}
html[data-workspace="v2"]:not(#ws2a):not(#ws2b):not(#ws2c):not(#ws2d) #users #dzaPeople .dza-t td::before{display:none!important}
html[data-workspace="v2"]:not(#ws2a):not(#ws2b):not(#ws2c):not(#ws2d) #users #dzaPeople .dza-t td:first-child{grid-column:1;grid-row:1}
html[data-workspace="v2"]:not(#ws2a):not(#ws2b):not(#ws2c):not(#ws2d) #users #dzaPeople .dza-t td:nth-child(2){grid-column:1;grid-row:2;padding-left:40px!important}
html[data-workspace="v2"]:not(#ws2a):not(#ws2b):not(#ws2c):not(#ws2d) #users #dzaPeople .dza-t td:is(.dza-hide-m,.dza-hide-s){display:none!important}
html[data-workspace="v2"]:not(#ws2a):not(#ws2b):not(#ws2c):not(#ws2d) #users #dzaPeople .dza-t .dza-act-c{grid-column:2;grid-row:1/3}
html[data-workspace="v2"]:not(#ws2a):not(#ws2b):not(#ws2c):not(#ws2d) #users .dza-ib{min-width:44px;min-height:44px}
html[data-workspace="v2"]:not(#ws2a):not(#ws2b):not(#ws2c):not(#ws2d) #users .ws2-user-actions>summary{min-width:44px;min-height:44px}
}

.ws2-more-label{display:inline-flex;align-items:center;text-align:start;gap:10px;min-width:0}
.ws2-more-glyph{display:inline-grid;place-items:center;width:20px;flex:none;color:var(--muted)}
.ws2-more-glyph svg{width:18px;height:18px}

/* Keep the heading and search fixed inside the menu; only the list scrolls. */
html[data-workspace="v2"]:not(#ws2a):not(#ws2b):not(#ws2c):not(#ws2d) #ws2More:not([hidden]) {
  display:grid;grid-template-rows:auto auto minmax(0,1fr);align-content:start;gap:0;
  box-sizing:border-box;inset:var(--more-top,12px) auto auto var(--more-left,68px);
  width:min(620px,calc(100vw - 96px));max-height:calc(100dvh - 24px);
  overflow:hidden;padding:16px;z-index:1300;
}
html[data-workspace="v2"]:not(#ws2a):not(#ws2b):not(#ws2c):not(#ws2d) #ws2More>header {margin:0 0 8px}
html[data-workspace="v2"]:not(#ws2a):not(#ws2b):not(#ws2c):not(#ws2d) #ws2More h2 {font-size:17px;line-height:24px}
html[data-workspace="v2"]:not(#ws2a):not(#ws2b):not(#ws2c):not(#ws2d) #ws2MoreSearch {margin:2px 0;box-sizing:border-box}
html[data-workspace="v2"]:not(#ws2a):not(#ws2b):not(#ws2c):not(#ws2d) #ws2MoreResults {min-height:0;max-height:510px;align-items:start;overflow:auto;overscroll-behavior:contain;gap:12px;padding:12px 2px 2px}
.ws2-more-column {min-width:0;display:grid;align-content:start;gap:14px}
.ws2-more-glyph {height:20px}
@media(max-width:768px) {
  html[data-workspace="v2"]:not(#ws2a):not(#ws2b):not(#ws2c):not(#ws2d) #ws2More:not([hidden]) {
    inset:auto 8px calc(72px + env(safe-area-inset-bottom,0px)) 8px;width:auto;border:1px solid var(--line);border-radius:12px;
    max-height:calc(100dvh - 88px - env(safe-area-inset-bottom,0px));padding:12px;
  }
  html[data-workspace="v2"]:not(#ws2a):not(#ws2b):not(#ws2c):not(#ws2d) #ws2MoreResults {grid-template-columns:1fr;max-height:none}
}

[data-workspace=v2] #chats>.topbar,[data-workspace=v2] #ws2ChatTitle,[data-workspace=v2] .ch-item-chan{display:none}
[data-workspace=v2] #chats .ch-item-name,[data-workspace=v2] #chats .ch-item-last{display:block;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;min-width:0}
[data-workspace=v2] #chats .ch-item-obj{white-space:nowrap;font-size:11px;color:var(--muted)}
[data-workspace=v2] #chats .ch-item-last,[data-workspace=v2] #chats .ch-bubble{font-size:var(--chat-text,15px)!important}
[data-workspace=v2] #chats .ch-head-sub>a{display:inline-flex;align-items:center;border:0;text-decoration:none;color:var(--accent);padding:4px}
.ch-preferences fieldset{margin:8px 0;padding:0;border:0}.ch-preferences fieldset[hidden]{display:none}.ch-preferences label{display:grid;gap:4px}

.ws2-pin-row{display:grid;grid-template-columns:minmax(0,1fr) 28px;align-items:center}
.ws2-pin-row[data-pinned=true]{border-radius:6px;background:color-mix(in srgb,var(--accent) 7%,transparent)}
.ws2-pin-row .ws2-pin-toggle{display:grid;place-items:center;padding:0;color:var(--muted)}
.ws2-pin-row[data-pinned=true] .ws2-pin-toggle{color:var(--accent)}

#chats:is([data-chat-density=compact],[data-chat-density=wide]) .ch-item-obj{display:none}
html[data-workspace=v2] #chats[data-chat-density=compact] #chList .ch-item{padding:6px 10px!important;min-height:44px!important}
html[data-workspace=v2] #chats[data-chat-density=wide] #chList .ch-item{padding:5px 8px!important;min-height:44px!important}
#chats[data-chat-density=wide] .ch-item .ch-ava{display:none!important}
@media(min-width:769px){html[data-workspace=v2] body #chats[data-chat-density=wide] .ch-wrap{grid-template-columns:240px minmax(0,1fr)!important}}

[data-workspace=v2] #chats .ch-preferences{position:relative;justify-self:end;min-width:0}
[data-workspace=v2] #chats .ch-preferences>summary{display:grid;place-items:center;width:38px;height:38px;padding:0}
[data-workspace=v2] #chats .ch-preferences .cw-settings-body{right:0;left:auto;min-width:min(235px,85vw)}
[data-workspace=v2] #chats :is(.ch-preferences select,select.ch-stage){
 appearance:none!important;
 background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23748196' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E")!important;
 background-repeat:no-repeat!important;background-position:right 10px center!important;background-size:14px 14px!important;padding-right:34px!important;
}
/* The avatar opens photo settings. Keep the period and edit control in the header. */
html[data-workspace="v2"] #home .dz5c-card.dz5c-prof .dz5c-ava{width:44px;height:44px;flex:0 0 44px}
html[data-workspace="v2"] #home .dz5c-card.dz5c-prof .dz5c-ava .i{inset:0;font-size:18px}
html[data-workspace="v2"] #home .dz5c-card.dz5c-prof .dz5c-edit{align-self:center}
@media(max-width:640px){
 html[data-workspace="v2"] #home .dz5c-card.dz5c-prof{display:grid;grid-template-columns:44px minmax(0,1fr) auto}
 html[data-workspace="v2"] #home .dz5c-prof .dz5c-per{grid-column:1/-1;width:100%;justify-content:space-between}
}

html[data-workspace=v2] #chats #chList .ch-item-main{display:grid;grid-template-columns:minmax(0,1fr);align-content:center;gap:3px;min-width:0;text-align:left}
html[data-workspace=v2] #chats #chList :is(.ch-item-top,.ch-item-bot){display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:baseline;gap:7px;min-width:0;width:100%;margin:0}
html[data-workspace=v2] #chats #chList .ch-item-name{display:block;min-width:0;font-size:14px;line-height:1.3;font-weight:600;text-align:left;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
html[data-workspace=v2] #chats #chList .ch-item-time{white-space:nowrap;justify-self:end}
html[data-workspace=v2] #chats #chList .ch-item-last{display:block;min-width:0;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;text-align:left}
html[data-workspace=v2] #chats #chList .ch-preview-author{font-weight:550}
html[data-workspace=v2] #chats #chList .ch-item-chan:empty{display:none}
html[data-workspace=v2] #chats #chList .ch-item-bot:has(.ch-silent-ico){grid-template-columns:minmax(0,1fr) auto auto}
html[data-workspace=v2] #chats #chHead .ch-head-main{min-width:0;text-align:left}
html[data-workspace=v2] #chats #chHead .ch-head-title{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;text-align:left}
html[data-workspace=v2] #chats #chHead .ch-contact-name{font-weight:550;color:var(--ink)}

/* Keep the catalog button with the sidebar utilities, below pinned workspaces. */
@media(min-width:769px){
 #ws2Nav.ws2-nav>[data-ws2-nav=more]{margin-top:auto}
}
#chats #chList .ch-item .ch-ava{
 --ch-avatar-size:24px; flex:0 0 var(--ch-avatar-size); width:var(--ch-avatar-size); height:var(--ch-avatar-size);
 min-width:var(--ch-avatar-size); min-height:var(--ch-avatar-size); box-sizing:border-box; aspect-ratio:1; border-radius:50%;
}
#chats #chList .ch-badge{box-sizing:border-box;min-width:18px;height:18px;line-height:18px;padding:0 4px;text-align:center;border-radius:9px}
#chats #chHead{position:relative;gap:8px;min-width:0;overflow:visible;z-index:4}
#chats #chHead .ch-head-main{flex:1 1 0;min-width:0}
#chats #chHead .ch-contact-name{color:var(--muted);font-size:12px;line-height:1.4;text-overflow:ellipsis;white-space:nowrap;overflow:hidden}
#chats .ch-head-actions{display:flex;align-items:center;gap:5px;flex:none}
#chats .ch-head-actions .ch-tool{display:inline-flex;align-items:center;justify-content:center;width:32px;height:32px;box-sizing:border-box;padding:0;flex:none;list-style:none;border:1px solid var(--line);border-radius:6px;background:var(--panel);color:var(--ink);cursor:pointer;text-decoration:none}
#chats .ch-tool::-webkit-details-marker{display:none}
#chats .ch-head-actions .ch-tool:hover,#chats .ch-head-details[open]>.ch-tool{background:var(--hover);color:var(--ink-gold)}
#chats .ch-head-details{position:relative}
#chats .ch-details-body{position:absolute;z-index:6;right:0;top:calc(100% + 5px);width:min(240px,calc(100vw - 40px));box-sizing:border-box;background:var(--panel);color:var(--ink);border:1px solid var(--line);border-radius:8px;box-shadow:0 4px 16px #10182824;padding:12px;display:grid;gap:8px}
#chats .ch-details-body p{font-size:12px;margin:0;color:var(--muted);overflow-wrap:anywhere}
#chats .ch-detail-label,#chats .ch-stage-label{font-size:12px;color:var(--muted)}
#chats .ch-details-body .ch-kind-sw{justify-self:start}
#chats .ch-details-body .ch-stage-label{display:grid;gap:5px}
#chats .ch-details-body .ch-stage{width:100%;min-width:0}

#chats #chList .ch-item-name,#chats #chHead .ch-head-title{font-size:calc(var(--chat-text,13px) + 4px)!important;line-height:1.25;font-weight:650}
#chats .ch-msg.in .ch-bubble{background:color-mix(in srgb,var(--ink) 9%,var(--panel))!important;color:var(--ink)}
#chats .ch-speaker-icon{display:inline-flex;vertical-align:-2px;align-items:center;margin-right:4px;color:var(--muted)}
#chats .ch-who{line-height:1.4}
#chats #chHead{flex-wrap:wrap}
#chats .ch-new-task,#chats .ch-task-notice small,#chats #chTemplatesBtn{display:inline-flex;align-items:center;gap:6px}
#chats .ch-new-task{min-height:32px;padding:4px 9px;background:var(--panel);color:var(--ink);border:1px solid var(--line);border-radius:6px}
#chats #chTpl{flex:none;max-height:min(32vh,300px);overflow-y:auto}
#chats #chTpl[hidden]{display:none!important}
#chats .ch-other-templates summary{display:flex;align-items:center;gap:5px;cursor:pointer;list-style:none}
#chats .ch-other-templates[open] summary svg{transform:rotate(90deg)}
#chats .ch-other-templates button{display:block;width:100%;text-align:left;color:var(--ink);background:var(--panel);border:1px solid var(--line);border-radius:5px;white-space:pre-line;padding:8px;margin:4px 0}
#chats .ch-template-empty{margin:0;padding:10px;color:var(--muted);font-size:13px}
#chats #chInput{min-width:0;background:var(--panel)!important;border:1px solid var(--line)!important;border-radius:8px!important;padding:10px 12px!important}
#chats #chInput:focus-visible{outline:2px solid var(--gold);outline-offset:1px}
#chats #chTemplatesBtn{background:var(--panel)!important;color:var(--ink)!important;border:1px solid var(--line)!important;justify-content:center;font:inherit;font-size:13px}
#chats #chTemplatesBtn[aria-expanded=true]{background:var(--soft-gold)!important}
#chats .ch-task-notice{align-self:center;display:grid;gap:2px;justify-items:center;max-width:90%;margin:6px auto;padding:7px 14px;text-align:center;color:var(--ink);background:var(--panel);border:1px solid var(--line);border-radius:8px;overflow-wrap:anywhere}
#chats .ch-task-notice small{color:var(--muted)}
#chTaskDialog{box-sizing:border-box;width:min(440px,calc(100vw - 24px));max-height:85dvh;padding:20px;border:1px solid var(--line);border-radius:12px;background:var(--panel);color:var(--ink);overflow:visible}
#chTaskDialog::backdrop{background:rgb(0 0 0 / .32)}
#chTaskDialog form{display:grid;gap:12px}
#chTaskDialog h2,#chTaskDialog p{margin:0}
#chTaskDialog h2{font-size:19px}
#chTaskDialog .ch-task-deal{color:var(--muted);font-size:13px}
#chTaskDialog form>label{display:grid;gap:5px;font-size:13px}
#chTaskDialog input[name=text]{width:100%;box-sizing:border-box;border:1px solid var(--line);border-radius:5px;padding:9px;background:var(--panel);color:var(--ink);font:inherit}
#chTaskDialog .dc-task-fields{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1.3fr)}
#chTaskDialog button.ch-month{justify-self:end;color:var(--accent);border:0;background:transparent;font:inherit;font-size:13px}
#chTaskDialog [role=alert]{color:var(--red);font-size:13px}
#chTaskDialog [role=alert]:empty{display:none}
#chTaskDialog footer{display:flex;justify-content:flex-end;gap:8px}
@media(max-width:700px){
 #chats .ch-current-stage select{min-height:40px}
 #chats .ch-compose{display:grid!important;grid-template-columns:auto auto minmax(0,1fr);gap:6px!important}
 #chats #chInput{grid-row:1;grid-column:1/-1;width:100%;box-sizing:border-box}
 #chats #chTemplatesBtn{justify-self:start;grid-column:1;grid-row:2}
 #chats .ch-compose .ch-new-task{grid-column:2;grid-row:2}
 #chats #chSendBtn{justify-self:end;grid-column:3;grid-row:2}
}

#chats #chHead select.ch-stage{width:100%;max-width:100%;padding-left:27px!important;min-width:0;background-color:color-mix(in srgb,var(--rd-stage,var(--accent)) 17%,var(--panel))!important;border-color:color-mix(in srgb,var(--rd-stage,var(--accent)) 42%,var(--line))!important}
#chats :is(.ch-new-task,.ch-task-notice) svg{width:15px;height:15px;flex:none;fill:none;stroke:currentColor;stroke-width:1.65;stroke-linecap:round;stroke-linejoin:round}
#chats .ch-task-notice small{white-space:nowrap}

#chats .ch-current-stage{position:relative;width:clamp(112px,13vw,190px);min-width:0}
#chats .ch-current-stage::before{content:'';position:absolute;z-index:1;pointer-events:none;left:10px;top:50%;transform:translateY(-50%);width:8px;height:8px;background:var(--stage-color);border-radius:50%}
#chTaskDialog{inset:0;margin:auto;--paper:var(--panel);--accent:var(--gold-fill)}
#chTaskDialog :is(.dc-deadline-pop,.dc-deadline-button) svg{fill:none;stroke:currentColor;stroke-width:1.65;stroke-linecap:round;stroke-linejoin:round}

#chats #chHead{min-height:0!important;padding:9px 14px!important;column-gap:10px!important;row-gap:3px!important}
#chats #chHead .ch-head-actions{margin-left:auto}
#chats #chHead .ch-current-stage select{margin:0;min-height:32px;font-size:13px}
#chats #chHead .ch-property{flex:0 0 100%;min-width:0;color:var(--muted);font-size:12px;line-height:1.4;overflow-wrap:anywhere}
#chats #chList .ch-item{padding-block:7px!important}
#chats #chList .ch-item-main{gap:2px}
#chats #chList .ch-item-last{margin:0!important}
#chats #chList .ch-item-obj{margin:0;font-size:11px!important;line-height:1.35;overflow:hidden;text-overflow:ellipsis}
#chats #chList .ch-row-flags{display:inline-flex;align-items:center;gap:4px}
#chats #chList .ch-badge.ch-unread{background:var(--gold-fill)!important;color:var(--on-gold)!important}
#chats .ch-due-count{display:inline-flex;align-items:center;gap:3px;padding:1px 5px;border:1px solid currentColor;border-radius:10px;color:var(--ink-orange,var(--ink));font-size:11px;font-weight:600;line-height:14px}
#chats .ch-due-count svg{flex:none}
#chats .ch-speaker-icon[data-speaker=in]{color:var(--red)}
#chats .ch-compose .ch-new-task{justify-content:center;background:var(--panel)!important;color:var(--ink)!important;border:1px solid var(--line)!important;font:inherit;font-size:13px}
#chats .ch-compose .ch-new-task[hidden]{display:none!important}
#chats #chTpl{padding:6px 12px;background:var(--panel);border-top:1px solid var(--line)}
#chats #chTpl :is(.ch-other-templates,.ch-template-step,.ch-script-tools)>summary{display:flex;align-items:center;justify-content:flex-start;gap:7px;list-style:none;cursor:pointer;padding:7px 0;font-size:13px}
#chats #chTpl summary::after{display:none}
#chats #chTpl :is(.ch-other-templates,.ch-template-step,.ch-script-tools)>summary svg{flex:0 0 12px}
#chats #chTpl details[open]>summary svg{transform:rotate(90deg)}
#chats #chTpl ul{list-style:none;padding:0;margin:0}
#chats #chTpl li button{width:100%;text-align:left!important;justify-content:flex-start;height:auto;min-height:36px;margin:0;padding:6px 10px;border:0;border-top:1px solid var(--line);border-radius:0;line-height:1.45;color:var(--ink)}
#chats #chTpl li button:hover,#chats #chTpl li button:focus-visible{background:var(--soft-gold)}
#chats #ws2ChatTools .ch-preferences>summary{position:relative;display:grid!important;place-content:center!important;place-items:center!important;padding:0!important}
#chats #ws2ChatTools .ch-preferences>summary::after{display:none}
#chats #ws2ChatTools .ch-preferences>summary svg{display:block;margin:0}
#chats #ws2ChatTools .ws2-chat-tabs{align-items:center}
#chats #ws2ChatTools .ws2-chat-tabs button{display:inline-flex;align-items:center;justify-content:center}
#chTaskDialog .dc-task-fields{grid-template-columns:minmax(0,1fr) minmax(0,1.55fr)!important}
#chTaskDialog .ch-task-deadline{min-width:0;display:grid;align-content:start;gap:2px}
#chTaskDialog .ch-task-deadline .ch-month{justify-self:start;padding:3px 0;min-height:32px}
@media(max-width:700px){
 #chats #chHead{display:grid!important;grid-template-columns:32px minmax(0,1fr) 44px 82px;align-items:center}
 #chats #chHead:has(.ch-head-links>a:nth-of-type(2)){grid-template-columns:32px minmax(0,1fr) 20px 118px}
 #chats #chHead .ch-back{grid-column:1;grid-row:1;min-width:32px!important;margin:0}
 #chats #chHead .ch-head-main{grid-column:2/4;grid-row:1}
 #chats #chHead .ch-head-actions{display:contents}
 #chats #chHead .ch-head-links{grid-column:4;grid-row:1}
 #chats #chHead .ch-current-stage{grid-column:3/5;grid-row:2;justify-self:end;width:100%;min-width:0}
 #chats #chHead .ch-property{grid-column:1 / 3;grid-row:2}
 #chats #chTpl li button{min-height:44px}
 #chTaskDialog .dc-task-fields{grid-template-columns:minmax(0,1fr)!important}
}
#chats .ch-head-links{display:flex;align-items:center;gap:5px}
@media(max-width:365px){#chats #chInput{padding-inline:8px!important}#chats .ch-compose :is(#chTemplatesBtn,.ch-new-task,#chSendBtn){padding:6px!important}}

#chats .ch-compose{position:relative}
#chats .ch-compose #chTpl{position:absolute;z-index:7;left:8px;bottom:calc(100% + 2px);box-sizing:border-box;width:min(390px,calc(100% - 16px));max-height:min(46dvh,410px);padding:4px 9px;border:1px solid var(--line);border-radius:9px;box-shadow:var(--sh-pop);overscroll-behavior:contain}
#chats .ch-compose #chTpl li button{display:block;background:var(--panel)!important;color:var(--ink)!important;border:0!important;border-top:1px solid var(--line)!important;border-radius:0!important;padding:8px!important}
#chats .ch-compose #chTpl li button:hover,#chats .ch-compose #chTpl li button:focus-visible{background:var(--soft-gold)!important}
#chats .ch-template-step{margin-left:10px}
#chats .ch-compose #chTpl .ch-tpl-acts button{color:var(--ink)!important;background:var(--panel)!important;border:1px solid var(--line)!important}
#chats .ch-compose #chTpl .ch-tpl-primary{background:var(--gold-fill)!important;color:var(--on-gold)!important}
#chats .ch-task-due small{color:var(--ink-orange,var(--ink));font-weight:600}
#chats .ch-dd-btn .ch-dd-chev{margin-left:auto;display:grid;place-items:center;flex:0 0 14px}
#chats .ch-dd-btn .ch-dd-chev svg{width:14px;height:14px;fill:none;stroke:currentColor;stroke-width:1.7;stroke-linecap:round;stroke-linejoin:round}

/* The inbox owns its search and filters. The conversation uses the full height beside it. */
[data-workspace=v2] #chats #ws2ChatTools{
 position:relative;display:grid!important;grid-template-columns:minmax(60px,1fr) minmax(0,auto) auto!important;
 align-items:center;gap:4px!important;padding:6px;margin:0!important;background:var(--panel);border-bottom:1px solid var(--line);
}
#chats #ws2ChatTools #chSearch{grid-area:1/1!important;width:100%;min-width:0;padding:0 7px!important}
#chats #ws2ChatTools #chChannels{grid-area:1/2!important;min-width:0!important;max-width:135px!important}
#chats #ws2ChatTools :is(#chSearch,.ch-dd-btn,.ch-preferences>summary),#chats #chHead .ch-current-stage select{box-sizing:border-box;height:38px!important;min-height:38px!important;margin:0}
#chats #ws2ChatTools .ch-dd-btn{display:flex;align-items:center;gap:4px;padding:0 7px!important}
#chats #ws2ChatTools .ch-dd-lbl{white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
#chats #ws2ChatTools .ch-preferences{grid-area:1/3!important;position:static;margin:0}
#chats #ws2ChatTools .ch-preferences>summary{width:38px}
#chats #ws2ChatTools .ch-preferences>summary.has-filters{color:var(--accent);background:var(--soft-gold)}
#chats #ws2ChatTools .cw-settings-body,#chats #ws2ChatTools .ch-dd-menu{
 box-sizing:border-box;position:absolute;left:4px;right:4px;top:calc(100% - 2px);width:auto;min-width:0;z-index:24;
 max-height:min(65dvh,430px);overflow:auto;overscroll-behavior:contain;background:var(--panel);border:1px solid var(--line);border-radius:8px;box-shadow:var(--sh-pop)
}
#chats #ws2ChatTools .ch-dd{position:static}
#chats #ws2ChatTools .ch-preferences[open]>.cw-settings-body{display:flex!important;flex-direction:column;align-items:stretch;gap:8px;padding:10px}
#chats #ws2ChatTools .ws2-chat-tabs{display:flex;flex-wrap:wrap;align-self:stretch;justify-content:flex-start}
#chats #ws2ChatTools :is(.ws2-chat-tabs button[hidden],fieldset[hidden]){display:none!important}
#chats #ws2ChatTools .ch-contact-filter{display:grid;gap:4px}
#chats #ws2ChatTools .ch-contact-filter>span{font-size:12px;color:var(--muted)}
#chats #ws2ChatTools #chWho{display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr));gap:3px;margin:0!important;padding:0}
#chats #ws2ChatTools #chMarketplace{grid-area:auto;justify-self:start}
#chats #chHead select.ch-stage{background-color:color-mix(in srgb,var(--stage-color) 12%,var(--panel))!important;border-color:color-mix(in srgb,var(--stage-color) 35%,var(--line))!important}
#chats #chList .ch-item{min-height:44px!important;padding:4px 8px!important;column-gap:6px!important}
#chats #chList .ch-item-main{gap:0!important}
#chats #chList .ch-item .ch-ava{width:var(--ch-avatar-size)!important;height:var(--ch-avatar-size)!important;min-width:var(--ch-avatar-size)!important;flex:0 0 var(--ch-avatar-size)!important;font-size:11px!important}
#chats #chList .ch-item-name{font-size:calc(var(--chat-text,13px) + 1px)!important;line-height:1.25!important}
#chats #chList .ch-item-last{line-height:1.25!important}
#chats #chFeed{padding:6px 12px!important;gap:3px!important}
#chats #chFeed .ch-msg{margin-block:2px!important}
#chats #chFeed .ch-bubble{padding:6px 10px!important;line-height:1.4!important}
#chats #chFeed .ch-day{margin-block:3px!important}
@media(min-width:701px){
 #chats #chHead{padding:6px 12px!important}
 #chats #chHead .ch-head-actions{align-self:start}
}
@media(max-width:700px){
 #chats #ws2ChatTools :is(#chSearch,.ch-dd-btn,.ch-preferences>summary),#chats #chHead .ch-current-stage select{height:44px!important;min-height:44px!important}
 #chats #ws2ChatTools .ch-preferences>summary{width:44px}
 #chats #chFeed{padding-inline:8px!important}
}
#chats #chSendBtn>svg{display:none}
@media(max-width:768px){
 html[data-workspace=v2] .main:has(>#chats.view.active){padding-top:14px!important;padding-bottom:calc(68px + env(safe-area-inset-bottom))!important}
 html[data-workspace=v2] .main>#chats.view.active{height:calc(100dvh - 82px - env(safe-area-inset-bottom))!important;padding-bottom:0!important}
}
@media(max-width:900px){
 #chats .ch-compose{display:flex!important;align-items:center;gap:4px!important;padding:5px!important}
 #chats .ch-compose :is(#chTemplatesBtn,.ch-new-task,#chSendBtn){width:44px;min-width:44px;height:44px;flex:none;padding:0!important;display:grid;place-items:center}
 #chats .ch-compose :is(#chTemplatesBtn,.ch-new-task,#chSendBtn)>span{position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%)}
 #chats .ch-compose #chSendBtn>svg{display:block}
 #chats .ch-compose #chInput{flex:1 1 0;width:0;min-width:0}
}
