/* Compact drawer navigation: title, icon and arrow only. */
body.mc-v852 #accountDrawer .account-drawer-head,body.mc-v852 #chatIncDrawer .account-drawer-head,body.mc-v852 #profileInfoDrawer .pid-head{padding:14px 16px!important;gap:10px!important;align-items:center!important;min-height:0!important}
body.mc-v852 #accountDrawer .account-drawer-head h2,body.mc-v852 #chatIncDrawer .account-drawer-head h2,body.mc-v852 #profileInfoDrawer .pid-head h2{margin:0!important;font-size:16px!important;line-height:1.4!important}
body.mc-v852 #accountDrawer .account-drawer-head-icon,body.mc-v852 #chatIncDrawer .account-drawer-head-icon,body.mc-v852 #profileInfoDrawer .pid-head-icon{width:36px!important;height:36px!important;border-radius:10px!important}
body.mc-v852 #accountDrawer .account-drawer-label,body.mc-v852 #chatIncDrawer .account-drawer-label{margin:12px 0 6px!important;padding:0 10px!important;font-size:9px!important;line-height:1.5!important}
body.mc-v852 #accountDrawer .account-drawer-list,body.mc-v852 #chatIncDrawer .account-drawer-list{display:grid!important;gap:3px!important;margin:0!important;padding:0!important}
body.mc-v852 #accountDrawer .account-drawer-list>a,body.mc-v852 #accountDrawer .account-drawer-list>button,body.mc-v852 #chatIncDrawer .account-drawer-list>a,body.mc-v852 #chatIncDrawer .account-drawer-list>button{display:grid!important;grid-template-columns:32px minmax(0,1fr) 16px!important;align-items:center!important;gap:10px!important;padding:8px 10px!important;margin:0!important;min-height:46px!important;height:auto!important;border-radius:10px!important}
body.mc-v852 #accountDrawer .account-drawer-list .ad-icon,body.mc-v852 #chatIncDrawer .account-drawer-list .ad-icon{width:32px!important;height:32px!important;border-radius:9px!important;margin:0!important}
body.mc-v852 #accountDrawer .account-drawer-list b,body.mc-v852 #chatIncDrawer .account-drawer-list b{display:block!important;font-size:12px!important;line-height:1.45!important;margin:0!important}
body.mc-v852 #accountDrawer .account-drawer-list .arrow,body.mc-v852 #chatIncDrawer .account-drawer-list .arrow{width:15px!important;height:15px!important}
body.mc-v852 #accountDrawer .mc-drawer-brand{min-height:0!important;padding:12px!important;gap:10px!important}body.mc-v852 #accountDrawer .mc-drawer-brand>span{width:32px!important;height:32px!important}body.mc-v852 #accountDrawer .mc-drawer-brand b{font-size:12px!important;margin:0!important}
body.mc-v852 #profileInfoDrawer .pid-menu{display:grid!important;gap:3px!important;margin:8px 0!important}
body.mc-v852 #profileInfoDrawer .pid-menu a{min-height:46px!important;padding:7px 10px!important;margin:0!important;gap:10px!important;align-items:center!important}
body.mc-v852 #profileInfoDrawer .pid-menu a>i{width:32px!important;height:32px!important;border-radius:9px!important}
body.mc-v852 #profileInfoDrawer .pid-menu a b{font-size:12px!important;line-height:1.45!important;margin:0!important}
body.mc-v852 #profileInfoDrawer .pid-secondary{padding-top:8px!important;margin-top:10px!important;display:grid!important;gap:3px!important}
body.mc-v852 #profileInfoDrawer .pid-secondary button{min-height:40px!important;padding:9px 10px!important;margin:0!important;gap:13px!important;align-items:center!important}body.mc-v852 #profileInfoDrawer .pid-secondary b{font-size:12px!important;line-height:1.45!important;margin:0!important}
body.mc-v852 #profileInfoDrawer .pid-logout button{min-height:42px!important;padding:10px 14px!important;gap:10px!important;align-items:center!important}

/* V8.62 legacy template fallback */
body.mc-v852 #accountDrawer .account-drawer-list small,body.mc-v852 #chatIncDrawer .account-drawer-list small,body.mc-v852 #profileInfoDrawer .pid-menu small,body.mc-v852 #profileInfoDrawer .pid-secondary small,body.mc-v852 #profileInfoDrawer .pid-logout small,body.mc-v852 #accountDrawer .mc-drawer-brand small,body.mc-v852 #accountDrawer .account-drawer-head p,body.mc-v852 #chatIncDrawer .account-drawer-head p,body.mc-v852 #profileInfoDrawer .pid-head p{display:none!important;height:0!important;margin:0!important;padding:0!important}

/* V8.63: one shared drawer menu layout, matching the reference. */
body.mc-v852 #accountDrawer .account-drawer-list,
body.mc-v852 #chatIncDrawer .account-drawer-list,
body.mc-v852 #profileInfoDrawer .pid-menu,
body.mc-v852 #profileInfoDrawer .pid-secondary{display:grid!important;gap:4px!important;padding:0!important;margin:8px 0!important}
body.mc-v852 #accountDrawer .account-drawer-list>a,
body.mc-v852 #accountDrawer .account-drawer-list>button,
body.mc-v852 #chatIncDrawer .account-drawer-list>a,
body.mc-v852 #chatIncDrawer .account-drawer-list>button,
body.mc-v852 #profileInfoDrawer .pid-menu>a,
body.mc-v852 #profileInfoDrawer .pid-secondary>button{display:grid!important;grid-template-columns:36px minmax(0,1fr) 16px!important;align-items:center!important;gap:12px!important;height:auto!important;min-height:56px!important;padding:10px!important;margin:0!important;border-radius:11px!important;text-align:left!important;box-sizing:border-box!important;cursor:pointer}
body.mc-v852 #accountDrawer .account-drawer-list .ad-icon,
body.mc-v852 #chatIncDrawer .account-drawer-list .ad-icon,
body.mc-v852 #profileInfoDrawer .pid-menu>a>i,
body.mc-v852 #profileInfoDrawer .pid-secondary .mc-nav-icon{display:grid!important;place-items:center!important;width:36px!important;height:36px!important;margin:0!important;padding:0!important;flex:none!important;border-radius:10px!important;background:rgba(130,166,226,.12)!important;border:1px solid rgba(157,190,242,.06)!important;color:#526273!important;font-style:normal!important}
body.mc-v852 #accountDrawer .account-drawer-list .ad-icon>.ui-icon,
body.mc-v852 #chatIncDrawer .account-drawer-list .ad-icon>.ui-icon,
body.mc-v852 #profileInfoDrawer .pid-menu>a>i>.ui-icon,
body.mc-v852 #profileInfoDrawer .pid-secondary .mc-nav-icon>.ui-icon{width:20px!important;height:20px!important;fill:none!important;stroke:currentColor!important;stroke-width:1.8!important;display:block!important}
body.mc-v852 #accountDrawer .account-drawer-list a>span,
body.mc-v852 #chatIncDrawer .account-drawer-list a>span,
body.mc-v852 #profileInfoDrawer .pid-menu a>span,
body.mc-v852 #profileInfoDrawer .pid-secondary button>span{min-width:0!important;display:block!important;margin:0!important;padding:0!important}
body.mc-v852 #accountDrawer .account-drawer-list b,
body.mc-v852 #chatIncDrawer .account-drawer-list b,
body.mc-v852 #profileInfoDrawer .pid-menu b,
body.mc-v852 #profileInfoDrawer .pid-secondary b{display:block!important;font-size:12px!important;font-weight:700!important;line-height:1.5!important;white-space:nowrap!important;overflow:hidden!important;text-overflow:ellipsis!important;margin:0!important;color:#f8f8f6!important}
body.mc-v852 #accountDrawer .account-drawer-list a>.ui-icon,
body.mc-v852 #chatIncDrawer .account-drawer-list a>.ui-icon,
body.mc-v852 #profileInfoDrawer .pid-menu a>.ui-icon,
body.mc-v852 #profileInfoDrawer .pid-secondary .mc-nav-arrow{display:block!important;width:16px!important;height:16px!important;justify-self:end!important;margin:0!important;color:#526273!important;fill:none!important;stroke:currentColor!important}
body.mc-v852 #accountDrawer .account-drawer-label,
body.mc-v852 #chatIncDrawer .account-drawer-label{font-size:9px!important;letter-spacing:1.5px!important;padding:0 10px!important;margin:16px 0 8px!important;line-height:1.5!important}
body.mc-v852 #profileInfoDrawer .pid-secondary{border-top:1px solid #ffffff0d!important;padding-top:10px!important;margin-top:12px!important}
body.mc-v852 #accountDrawer .account-drawer-list small,
body.mc-v852 #chatIncDrawer .account-drawer-list small,
body.mc-v852 #profileInfoDrawer .pid-menu small,
body.mc-v852 #profileInfoDrawer .pid-secondary small{display:none!important;margin:0!important;padding:0!important;height:0!important}

/* V8.64: tight menu rhythm matching the first reference. */
body.mc-v852 #accountDrawer .account-drawer-list,
body.mc-v852 #chatIncDrawer .account-drawer-list,
body.mc-v852 #profileInfoDrawer .pid-menu,
body.mc-v852 #profileInfoDrawer .pid-secondary{gap:0!important;margin:4px 0!important}
body.mc-v852 #accountDrawer .account-drawer-list>a,
body.mc-v852 #accountDrawer .account-drawer-list>button,
body.mc-v852 #chatIncDrawer .account-drawer-list>a,
body.mc-v852 #chatIncDrawer .account-drawer-list>button,
body.mc-v852 #profileInfoDrawer .pid-menu>a,
body.mc-v852 #profileInfoDrawer .pid-secondary>button{grid-template-columns:24px minmax(0,1fr) 14px!important;min-height:32px!important;height:32px!important;padding:4px 8px!important;gap:10px!important;border-radius:8px!important;line-height:1.4!important}
body.mc-v852 #accountDrawer .account-drawer-list .ad-icon,
body.mc-v852 #chatIncDrawer .account-drawer-list .ad-icon,
body.mc-v852 #profileInfoDrawer .pid-menu>a>i,
body.mc-v852 #profileInfoDrawer .pid-secondary .mc-nav-icon{width:24px!important;height:24px!important;border-radius:7px!important}
body.mc-v852 #accountDrawer .account-drawer-list .ad-icon>.ui-icon,
body.mc-v852 #chatIncDrawer .account-drawer-list .ad-icon>.ui-icon,
body.mc-v852 #profileInfoDrawer .pid-menu>a>i>.ui-icon,
body.mc-v852 #profileInfoDrawer .pid-secondary .mc-nav-icon>.ui-icon{width:17px!important;height:17px!important}
body.mc-v852 #accountDrawer .account-drawer-list a>.ui-icon,
body.mc-v852 #chatIncDrawer .account-drawer-list a>.ui-icon,
body.mc-v852 #profileInfoDrawer .pid-menu a>.ui-icon,
body.mc-v852 #profileInfoDrawer .pid-secondary .mc-nav-arrow{width:14px!important;height:14px!important}
body.mc-v852 #accountDrawer .account-drawer-label,
body.mc-v852 #chatIncDrawer .account-drawer-label{margin:18px 0 7px!important;padding:0 8px!important}
body.mc-v852 #profileInfoDrawer .pid-secondary{margin-top:14px!important;padding-top:10px!important}

/* V8.65: prevent inherited icon dimensions from overflowing compact rows. */
body.mc-v852 #accountDrawer .account-drawer-list>a.mc-nav-row,
body.mc-v852 #chatIncDrawer .account-drawer-list>a.mc-nav-row,
body.mc-v852 #profileInfoDrawer .pid-menu>a.mc-nav-row,
body.mc-v852 #profileInfoDrawer .pid-secondary>button.mc-nav-row{display:grid!important;grid-template-columns:20px minmax(0,1fr) 14px!important;column-gap:12px!important;align-items:center!important;min-height:34px!important;height:auto!important;max-height:none!important;padding:6px 10px!important;margin:0!important;border-radius:8px!important;box-sizing:border-box!important;position:relative!important;overflow:hidden!important;line-height:1.4!important}
body.mc-v852 #accountDrawer .account-drawer-list>a.mc-nav-row>i,
body.mc-v852 #chatIncDrawer .account-drawer-list>a.mc-nav-row>i,
body.mc-v852 #profileInfoDrawer .pid-menu>a.mc-nav-row>i,
body.mc-v852 #profileInfoDrawer .pid-secondary>button.mc-nav-row>i{display:grid!important;place-items:center!important;position:static!important;inset:auto!important;width:20px!important;min-width:20px!important;max-width:20px!important;height:20px!important;min-height:20px!important;max-height:20px!important;box-sizing:border-box!important;padding:0!important;margin:0!important;background:transparent!important;background-image:none!important;border:0!important;border-radius:0!important;box-shadow:none!important;transform:none!important;color:#526273!important;line-height:1!important;overflow:hidden!important}
body.mc-v852 #accountDrawer .mc-nav-row>i>.ui-icon,
body.mc-v852 #chatIncDrawer .mc-nav-row>i>.ui-icon,
body.mc-v852 #profileInfoDrawer .mc-nav-row>i>.ui-icon{display:block!important;width:19px!important;min-width:19px!important;max-width:19px!important;height:19px!important;min-height:19px!important;max-height:19px!important;position:static!important;margin:0!important;padding:0!important;fill:none!important;stroke:currentColor!important;stroke-width:1.8!important;transform:none!important}
body.mc-v852 #accountDrawer .mc-nav-row>span,
body.mc-v852 #chatIncDrawer .mc-nav-row>span,
body.mc-v852 #profileInfoDrawer .mc-nav-row>span{display:block!important;min-width:0!important;max-width:100%!important;position:static!important;margin:0!important;padding:0!important;transform:none!important}
body.mc-v852 #accountDrawer .mc-nav-row>span>b,
body.mc-v852 #chatIncDrawer .mc-nav-row>span>b,
body.mc-v852 #profileInfoDrawer .mc-nav-row>span>b{font-size:12px!important;font-weight:600!important;line-height:20px!important;white-space:nowrap!important;overflow:hidden!important;text-overflow:ellipsis!important;margin:0!important;padding:0!important;color:#f4f3ef!important}
body.mc-v852 #accountDrawer .mc-nav-row>.ui-icon,
body.mc-v852 #chatIncDrawer .mc-nav-row>.ui-icon,
body.mc-v852 #profileInfoDrawer .mc-nav-row>.ui-icon{position:static!important;justify-self:end!important;width:14px!important;min-width:14px!important;max-width:14px!important;height:14px!important;margin:0!important;padding:0!important;transform:none!important;color:#526273!important}
body.mc-v852 #accountDrawer .account-drawer-list,
body.mc-v852 #chatIncDrawer .account-drawer-list,
body.mc-v852 #profileInfoDrawer .pid-menu{row-gap:2px!important}
body.mc-v852 #accountDrawer .account-drawer-label,
body.mc-v852 #chatIncDrawer .account-drawer-label{margin:18px 0 8px!important;padding:0 10px!important}
body.mc-v852 #accountDrawer .mc-nav-row:hover,
body.mc-v852 #chatIncDrawer .mc-nav-row:hover,
body.mc-v852 #profileInfoDrawer .mc-nav-row:hover{background:rgba(125,157,211,.08)!important;transform:none!important}

/* V8.66: full-width tables and on-demand detail workspace. */
body.mc-v852 .user-workspace{grid-template-columns:minmax(0,1fr)!important}
body.mc-v852 .user-workspace.detail-open{grid-template-columns:minmax(0,1fr) 300px!important}
body.mc-v852 .user-workspace:not(.detail-open) .detail-side{display:none!important}
body.mc-v852 .ca-topbar{display:flex;align-items:center;justify-content:space-between;gap:16px;margin-bottom:14px;flex-wrap:wrap}
body.mc-v852 .ca-topbar .ca-tabs{margin:0!important;padding:0!important;border:0!important;gap:6px!important;flex-wrap:wrap}
body.mc-v852 .ca-topbar .ca-toolbar{margin:0!important;gap:8px!important;flex-wrap:wrap}
body.mc-v852 .ca-toolbar p{font-size:10px!important;margin:0 8px 0 0!important}
body.mc-v852 .ca-page .btn{padding:8px 12px!important;min-height:34px!important;font-size:11px!important;box-shadow:none!important}
body.mc-v852 .ca-filters{display:grid!important;grid-template-columns:repeat(4,minmax(0,1fr))!important;padding:16px!important;gap:12px!important;margin-bottom:14px!important}
body.mc-v852 .ca-filters label{font-size:10px!important;min-width:0}
body.mc-v852 .ca-filters input,body.mc-v852 .ca-filters select{height:36px!important;min-width:0!important;margin-top:5px!important;font-size:11px!important}
body.mc-v852 .ca-quick{grid-column:1/-1;display:flex;gap:6px;order:10}
body.mc-v852 .ca-quick button{border:1px solid var(--ui-line);border-radius:7px;background:var(--ui-soft);color:var(--ui-ink);padding:6px 12px;font-size:10px}
body.mc-v852 .ca-filter-actions{grid-column:auto!important;display:flex;align-items:end;justify-content:flex-end;gap:6px!important}
body.mc-v852 .ca-tz{grid-column:auto!important;order:11;align-self:center;font-size:10px!important}
body.mc-v852 .ca-note{font-size:10px!important;padding:8px 12px!important;margin-bottom:12px!important}
body.mc-v852 .ca-stats{gap:12px!important;margin-bottom:14px!important}
body.mc-v852 .ca-stats article{padding:14px 18px!important;min-height:0!important}
body.mc-v852 .ca-stats strong{font-size:25px!important;margin:7px 0!important}
body.mc-v852 .ca-stats small{font-size:10px!important}
body.mc-v852 .ca-workspace{display:grid;grid-template-columns:minmax(0,1fr);gap:14px;align-items:start}
body.mc-v852 .ca-detail-open .ca-workspace{grid-template-columns:minmax(0,1.5fr) minmax(320px,1fr)}
body.mc-v852 .ca-table-card{min-width:0;margin:0!important;overflow:hidden}
body.mc-v852 .ca-table-heading{padding:14px 16px!important;gap:10px;flex-wrap:wrap}
body.mc-v852 .ca-table-heading h2{font-size:14px!important;margin:0!important}
body.mc-v852 #caLocalSearch{width:200px;max-width:100%;height:32px;padding:6px 10px;border-radius:7px;margin-left:auto;font-size:11px}
body.mc-v852 .ca-page th{padding:12px!important;font-size:9px!important}
body.mc-v852 .ca-page td{padding:12px!important;font-size:11px!important}
body.mc-v852 .ca-pagination{padding:12px 16px!important}
body.mc-v852 dialog.ca-inline-detail{position:static!important;inset:auto!important;margin:0!important;width:100%!important;min-width:0!important;max-width:none!important;max-height:none!important;height:auto!important;box-shadow:var(--ui-shadow)!important;border-radius:16px!important;overflow:hidden!important;background:var(--ui-surface)!important;color:var(--ui-ink)!important;border:1px solid var(--ui-line)!important}
body.mc-v852 dialog.ca-inline-detail:not([open]){display:none!important}
body.mc-v852 dialog.ca-inline-detail[open]{display:block!important}
body.mc-v852 .ca-inline-detail>header{position:static!important;height:auto!important;min-height:70px;padding:16px!important;background:var(--ui-surface)!important;color:var(--ui-ink)!important;box-shadow:none!important;border-bottom:1px solid var(--ui-line)}
body.mc-v852 .ca-inline-detail h2{font-size:16px!important;overflow-wrap:anywhere}
body.mc-v852 .ca-inline-detail>p{padding:0 16px!important;line-height:1.7;overflow-wrap:anywhere}
body.mc-v852 .ca-inline-detail .ca-events{padding:12px 16px!important;height:480px;max-height:60vh;align-content:start;gap:12px}
body.mc-v852 .ca-inline-detail .ca-event{min-width:0;max-width:95%;padding:10px 12px}
body.mc-v852 .ca-inline-detail .ca-event header{position:static!important;height:auto!important;padding:0!important;background:none!important;color:var(--ui-ink)!important;box-shadow:none!important;z-index:auto!important;flex-wrap:wrap;gap:5px}
body.mc-v852 .ca-inline-detail>footer{padding:12px!important;gap:6px;flex-wrap:wrap;border-color:var(--ui-line)}
@media(max-width:1250px){body.mc-v852 .user-workspace.detail-open{grid-template-columns:minmax(0,1fr)!important}}
@media(max-width:1050px){body.mc-v852 .ca-detail-open .ca-workspace{grid-template-columns:minmax(0,1fr)}body.mc-v852 .ca-inline-detail .ca-events{height:360px}}
@media(max-width:650px){body.mc-v852 .ca-filters{grid-template-columns:repeat(2,minmax(0,1fr))!important}body.mc-v852 .ca-filter-actions{grid-column:1/-1!important}body.mc-v852 .ca-stats{grid-template-columns:1fr!important}body.mc-v852 .ca-topbar{gap:10px}}

body.mc-v852 .ca-person input[type="checkbox"]{width:15px!important;height:15px!important;flex:0 0 15px;accent-color:var(--ui-accent)}
/* V8.67 archive workspace follows the supplied desktop reference. */
body.mc-v852 .ca-reference{--ca-purple:#526273;--ca-blue:#526273;--ca-mint:#26c8a2}
body.mc-v852 .ca-reference .ca-topbar{display:grid!important;grid-template-columns:minmax(220px,1fr) auto minmax(200px,1fr);align-items:center;padding:16px!important;border-radius:15px!important;gap:16px;margin-bottom:0!important;min-height:80px;background:var(--ui-surface)!important}
body.mc-v852 .ca-reference .ca-heading small{font-size:10px;color:var(--ui-muted);display:block;margin-bottom:4px}
body.mc-v852 .ca-heading small span{margin:0 5px;opacity:.6}
body.mc-v852 .ca-reference .ca-heading h1{font-size:23px;letter-spacing:-.7px;margin:0;color:var(--ui-ink);font-weight:750;line-height:1.25}
body.mc-v852 .ca-reference .ca-toolbar{justify-content:flex-end}
body.mc-v852 .ca-reference .ca-tabs{align-self:stretch;display:flex!important;justify-content:center!important;gap:8px!important;align-items:center}
body.mc-v852 .ca-reference .ca-tabs a{padding:14px 12px!important;font-size:12px!important;border-radius:0!important;color:var(--ui-muted)!important;margin:0!important;gap:8px!important;background:none!important}
body.mc-v852 .ca-reference .ca-tabs a.active{color:var(--ca-purple)!important;border-bottom:3px solid var(--ca-purple)!important;font-weight:700}
body.mc-v852 .ca-reference .btn{border-radius:8px!important;display:inline-flex;align-items:center;justify-content:center;gap:6px}
body.mc-v852 .ca-reference .btn.primary{background:var(--ca-purple)!important;box-shadow:0 3px 8px #52627318!important}
body.mc-v852 .ca-reference .ca-filters{display:grid!important;grid-template-columns:repeat(12,minmax(0,1fr))!important;gap:12px 14px!important;padding:16px!important;border-radius:15px!important;margin:2px 0 0!important;align-items:end}
body.mc-v852 .ca-reference .ca-filters label{display:block;font-size:10px!important;color:var(--ui-muted)!important;margin:0!important;font-weight:600!important;line-height:1.3}
body.mc-v852 .ca-reference .ca-filters input,body.mc-v852 .ca-reference .ca-filters select{height:38px!important;border-radius:8px!important;background:var(--ui-surface)!important;font-size:11px!important;margin-top:6px!important;padding:0 12px!important;width:100%}
body.mc-v852 .ca-reference .ca-date-filter{grid-column:span 5;min-width:0}
body.mc-v852 .ca-reference .ca-agent-filter{grid-column:span 2}
body.mc-v852 .ca-reference .ca-group-filter{grid-column:span 2}
body.mc-v852 .ca-reference .ca-channel-filter{grid-column:span 3}
body.mc-v852 .ca-reference .ca-search{grid-column:span 4!important}
body.mc-v852 .ca-reference .ca-status-filter{grid-column:span 2}
body.mc-v852 .ca-reference .ca-tag-filter{grid-column:span 2}
body.mc-v852 .ca-reference .ca-sort-filter{grid-column:span 2}
body.mc-v852 .ca-reference .ca-filter-actions{grid-column:span 2!important;gap:8px!important}
body.mc-v852 .ca-reference .ca-filter-actions .btn{padding:8px 10px!important;min-height:38px!important;white-space:nowrap}
body.mc-v852 .ca-reference .ca-date-row{display:flex;align-items:center;gap:10px;margin-top:6px;min-width:0}
body.mc-v852 .ca-reference .ca-range{display:flex;align-items:center;border:1px solid var(--ui-line);border-radius:8px;min-width:0;flex:1;background:var(--ui-surface)}
body.mc-v852 .ca-reference .ca-range>label{min-width:0;flex:1}
body.mc-v852 .ca-reference .ca-range-dash{font-size:12px;color:var(--ui-muted);padding:0 3px}
body.mc-v852 .ca-reference .ca-range input{border:0!important;margin:0!important;padding:0 6px!important;font-size:10px!important}
body.mc-v852 .ca-reference .ca-range .mc-date-control{min-height:36px!important;height:36px!important;border:0!important;border-radius:8px!important;background:transparent!important}
body.mc-v852 .ca-reference .ca-range .mc-date-text{padding:8px 20px 8px 8px!important;font-size:10px!important}
body.mc-v852 .ca-reference .ca-quick{display:flex;gap:5px;grid-column:auto;order:0;flex-shrink:0}
body.mc-v852 .ca-reference .ca-quick button{padding:10px 9px;border:0;background:var(--ui-soft);color:var(--ui-muted);border-radius:8px;font-size:10px;white-space:nowrap}
body.mc-v852 .ca-reference .ca-quick button.active,body.mc-v852 .ca-reference .ca-quick button:hover{background:#52627314;color:var(--ca-purple)}
body.mc-v852 .ca-reference .ca-state-line{display:flex;align-items:center;justify-content:flex-end;flex-wrap:wrap;gap:12px;min-height:26px;color:var(--ui-muted);padding:3px 6px;font-size:9px}
body.mc-v852 .ca-reference .ca-state-line p,body.mc-v852 .ca-reference .ca-state-line small{margin:0;font-size:9px}
body.mc-v852 .ca-reference .ca-stats{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px!important;margin:0 0 16px!important}
body.mc-v852 .ca-reference .ca-stats article{position:relative;display:flex;gap:14px;align-items:flex-start;padding:20px 18px!important;min-height:116px!important;border-radius:16px!important;overflow:hidden}
body.mc-v852 .ca-reference .ca-stat-icon{display:grid;place-items:center;background:#52627314;color:var(--ca-purple);width:42px;height:42px;flex-shrink:0;border-radius:12px}
body.mc-v852 .ca-reference .ca-stat-icon svg{width:24px;height:24px}
body.mc-v852 .ca-reference .ca-stat-agents .ca-stat-icon,body.mc-v852 .ca-reference .ca-stat-response .ca-stat-icon{background:#52627312;color:var(--ca-blue)}
body.mc-v852 .ca-reference .ca-stats article>div{position:relative;z-index:1;min-width:0}
body.mc-v852 .ca-reference .ca-stats span{font-size:11px;font-weight:600;color:var(--ui-muted)}
body.mc-v852 .ca-reference .ca-stats strong{display:block;font-size:29px!important;line-height:1.2;font-weight:750;color:var(--ui-ink);margin:8px 0 5px!important;letter-spacing:-.5px}
body.mc-v852 .ca-reference .ca-stats small{font-size:10px!important;color:var(--ui-muted)}
body.mc-v852 .ca-reference .ca-mini-chart{position:absolute;right:0;bottom:0;width:45%;height:68%;opacity:.4;color:var(--ca-purple);pointer-events:none}
body.mc-v852 .ca-reference .ca-stat-agents .ca-mini-chart{color:var(--ca-mint)}
body.mc-v852 .ca-reference .ca-stat-response .ca-mini-chart{color:var(--ca-blue)}
body.mc-v852 .ca-reference .ca-wave-fill{fill:currentColor;opacity:.08}
body.mc-v852 .ca-reference .ca-wave-line{fill:none;stroke:currentColor;stroke-width:1.6;stroke-linecap:round;stroke-linejoin:round}
body.mc-v852 .ca-reference .ca-workspace,body.mc-v852 .ca-reference.ca-detail-open .ca-workspace{grid-template-columns:minmax(0,1.55fr) minmax(340px,1fr);gap:16px}
body.mc-v852 .ca-reference .ca-table-heading{min-height:62px;padding:12px 14px!important;gap:8px;display:flex;align-items:center;flex-wrap:wrap}
body.mc-v852 .ca-reference .ca-table-heading h2{font-size:14px!important;white-space:nowrap}
body.mc-v852 .ca-reference .ca-table-heading h2 span{font-size:12px;color:var(--ui-muted);font-weight:500}
body.mc-v852 .ca-reference #caLocalSearch{width:210px;flex:1;min-width:120px;background:var(--ui-surface)!important}
body.mc-v852 .ca-reference #caSelection{font-size:10px;white-space:nowrap}
body.mc-v852 .ca-reference #caClearSelection{min-height:30px!important;font-size:9px!important;padding:6px!important}
body.mc-v852 .ca-reference .ca-table-scroll{padding:0 12px}
body.mc-v852 .ca-reference table{table-layout:auto;white-space:normal}
body.mc-v852 .ca-reference th{background:var(--ui-soft)!important;font-size:9px!important;letter-spacing:0!important;text-transform:none!important;color:var(--ui-muted);padding:11px 8px!important}
body.mc-v852 .ca-reference td{padding:12px 8px!important;font-size:10px!important;vertical-align:middle;line-height:1.5;border-bottom:1px solid var(--ui-line)}
body.mc-v852 .ca-reference .ca-person{gap:7px;min-width:155px}
body.mc-v852 .ca-reference .ca-person>span{width:30px;height:30px;min-width:30px;border-radius:50%;font-size:10px;color:var(--ca-purple);background:#52627314;box-shadow:inset 0 0 0 1px #52627320}
body.mc-v852 .ca-reference .ca-person b{font-size:10px;display:block;max-width:125px;overflow:hidden;white-space:nowrap;text-overflow:ellipsis}
body.mc-v852 .ca-reference .ca-person small{font-size:9px;max-width:125px;overflow:hidden;text-overflow:ellipsis;margin-top:2px}
body.mc-v852 .ca-reference .ca-agent-cell{display:flex;align-items:center;gap:5px;font-size:10px;min-width:80px}
body.mc-v852 .ca-reference .ca-agent-avatar{display:grid;place-items:center;flex-shrink:0;width:23px;height:23px;border-radius:50%;background:#52627316;color:var(--ca-blue);font-size:9px}
body.mc-v852 .ca-reference .ca-channel{display:flex;align-items:center;gap:4px;font-size:10px;white-space:nowrap}
body.mc-v852 .ca-reference .ca-channel svg{color:#fe8b30;width:16px;height:16px}
body.mc-v852 .ca-reference .ca-nowrap{white-space:normal;min-width:94px;max-width:125px}
body.mc-v852 .ca-reference .ca-badge{display:inline-flex;align-items:center;gap:4px;border-radius:20px;padding:4px 7px;font-size:9px;font-weight:600;white-space:nowrap;background:#1dcc8015;color:#189859}
body.mc-v852 .ca-reference .ca-badge:before{content:'';width:5px;height:5px;border-radius:50%;background:currentColor}
body.mc-v852 .ca-reference .ca-badge-active{color:#9c8850;background:#52627314}
body.mc-v852 .ca-reference .ca-badge-missed{color:#dc8540;background:#ffab4418}
body.mc-v852 .ca-reference .ca-rating{color:#e4a224;text-align:center}
body.mc-v852 .ca-reference .ca-detail{width:29px;height:29px;min-height:29px!important;padding:5px!important;border-radius:7px!important;color:var(--ca-blue)!important}
body.mc-v852 .ca-reference .ca-selected-row{background:#52627306}
body.mc-v852 .ca-reference .ca-pagination{padding:12px 16px!important;font-size:10px;gap:10px;flex-wrap:wrap}
body.mc-v852 .ca-reference .ca-pagination>div{align-items:center;gap:7px}
body.mc-v852 .ca-reference .ca-page-size{display:flex;color:var(--ui-muted);font-size:10px;gap:7px;align-items:center}
body.mc-v852 .ca-reference #caLimit{height:30px;width:48px;border-radius:6px;padding:3px 5px;font-size:10px;background:var(--ui-surface)!important}
body.mc-v852 .ca-reference #caPageLabel{display:grid;place-items:center;min-width:29px;height:29px;border-radius:7px;background:var(--ca-purple);color:white;font-size:10px}
body.mc-v852 .ca-reference .ca-pagination .btn{height:29px;min-height:29px!important;width:29px;font-size:18px!important;padding:3px!important}
body.mc-v852 .ca-reference .ca-inline-detail>header{display:flex;align-items:center;gap:6px;flex-wrap:wrap;min-height:62px!important;padding:12px 14px!important}
body.mc-v852 .ca-reference .ca-inline-detail>header h2{margin:0!important;font-size:14px!important}
body.mc-v852 .ca-reference .ca-inline-detail>header>div{display:flex;align-items:center;gap:5px;margin-left:auto}
body.mc-v852 .ca-reference .ca-inline-detail>header .btn{font-size:9px!important;min-height:29px!important;padding:5px 7px!important;color:var(--ca-purple)!important}
body.mc-v852 .ca-reference .ca-contact{display:flex;align-items:center;gap:12px;padding:16px}
body.mc-v852 .ca-reference .ca-avatar{display:grid;place-items:center;border-radius:50%;width:42px;height:42px;flex-shrink:0;background:#52627312;color:var(--ca-purple);border:1px solid #52627330;font-weight:600}
body.mc-v852 .ca-reference .ca-contact h3{font-size:14px;margin:0 0 3px;overflow-wrap:anywhere}
body.mc-v852 .ca-reference .ca-contact p{margin:0;font-size:10px;color:var(--ui-muted);overflow-wrap:anywhere}
body.mc-v852 .ca-reference #caContactTags{margin-left:auto;display:flex;gap:4px;flex-wrap:wrap}
body.mc-v852 .ca-reference .ca-tag{display:inline-flex;border-radius:20px;padding:4px 7px;background:#52627312;color:var(--ca-purple);font-size:9px;overflow-wrap:anywhere}
body.mc-v852 .ca-reference .ca-detail-facts{display:flex;flex-wrap:wrap;gap:9px;padding:0 16px 14px;margin:0 16px;border-bottom:1px solid var(--ui-line)}
body.mc-v852 .ca-reference .ca-detail-facts span{display:flex;align-items:center;gap:4px;font-size:10px;color:var(--ui-muted)}
body.mc-v852 .ca-reference .ca-detail-facts svg{width:15px;height:15px}
body.mc-v852 .ca-reference .ca-technical-meta{font-size:8px!important;margin:6px 0 0!important;opacity:.6;overflow-wrap:anywhere}
body.mc-v852 .ca-reference .ca-inline-detail .ca-events{height:410px;max-height:55vh;padding:14px 16px!important}
body.mc-v852 .ca-reference .ca-event{border:0;background:var(--ui-soft);border-radius:12px!important;padding:10px 12px!important;max-width:92%!important}
body.mc-v852 .ca-reference .ca-event.agent{background:#52627314;color:var(--ui-ink)}
body.mc-v852 .ca-reference .ca-event p{font-size:11px;line-height:1.65;margin-top:5px}
body.mc-v852 .ca-reference .ca-event time{font-size:8px}
body.mc-v852 .ca-reference .ca-event b{font-size:9px;color:var(--ui-muted);font-weight:500}
body.mc-v852 .ca-reference .ca-inline-detail>footer{margin:0 14px 14px;border:0!important;border-radius:10px;background:var(--ui-soft);justify-content:space-between;align-items:center;padding:12px!important}
body.mc-v852 .ca-reference .ca-inline-detail>footer small{display:block;font-size:9px;color:var(--ui-muted);margin-bottom:3px}
body.mc-v852 .ca-reference .ca-inline-detail>footer strong{font-size:11px}
body.mc-v852 .ca-reference .ca-detail-placeholder{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:12px;min-height:440px;font-size:12px;color:var(--ui-muted);padding:24px}
body.mc-v852 .ca-reference .ca-detail-placeholder svg{width:38px;height:38px;color:var(--ca-purple);opacity:.55}
body.mc-v852 .ca-reference .ca-detail-placeholder span{font-size:11px;text-align:center}
body.mc-v852 .ca-reference [hidden]{display:none!important}
body.mc-v852 .ca-reference .sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}
@media(max-width:1200px){body.mc-v852 .ca-reference .ca-topbar{grid-template-columns:1fr auto}body.mc-v852 .ca-reference .ca-tabs{grid-row:2;grid-column:1/-1;justify-content:flex-start!important}body.mc-v852 .ca-reference .ca-quick{gap:3px}body.mc-v852 .ca-reference .ca-date-row{flex-wrap:wrap}body.mc-v852 .ca-reference .ca-range{min-width:240px}body.mc-v852 .ca-reference .ca-filter-actions{flex-wrap:wrap}}
@media(max-width:1250px){body.mc-v852 .ca-reference .ca-workspace,body.mc-v852 .ca-reference.ca-detail-open .ca-workspace{grid-template-columns:minmax(0,1fr)}body.mc-v852 .ca-reference .ca-filters{grid-template-columns:repeat(6,minmax(0,1fr))!important}body.mc-v852 .ca-reference .ca-date-filter{grid-column:span 6}body.mc-v852 .ca-reference .ca-agent-filter,body.mc-v852 .ca-reference .ca-group-filter,body.mc-v852 .ca-reference .ca-channel-filter{grid-column:span 2}body.mc-v852 .ca-reference .ca-filter-actions{grid-column:span 4!important}body.mc-v852 .ca-reference .ca-detail-placeholder{min-height:180px}}
@media(max-width:650px){body.mc-v852 .ca-reference .ca-topbar{grid-template-columns:minmax(0,1fr);padding:14px!important}body.mc-v852 .ca-reference .ca-toolbar{justify-content:flex-start}body.mc-v852 .ca-reference .ca-tabs{grid-row:auto;grid-column:auto;gap:4px!important;flex-wrap:wrap}body.mc-v852 .ca-reference .ca-tabs a{font-size:10px!important;padding:10px 7px!important}body.mc-v852 .ca-reference .ca-filters{grid-template-columns:repeat(2,minmax(0,1fr))!important;padding:14px!important}body.mc-v852 .ca-reference .ca-filters>label,body.mc-v852 .ca-reference .ca-filters>div{grid-column:span 2!important}body.mc-v852 .ca-reference .ca-date-filter{grid-column:span 2}body.mc-v852 .ca-reference .ca-range{min-width:0;flex-basis:100%}body.mc-v852 .ca-reference .ca-stats{grid-template-columns:1fr!important}body.mc-v852 .ca-reference .ca-heading h1{font-size:21px}body.mc-v852 .ca-reference .ca-inline-detail>header>div{margin-left:0}body.mc-v852 .ca-reference .ca-table-scroll table{min-width:660px}body.mc-v852 .ca-reference .ca-inline-detail .ca-events{height:360px}}

@media(min-width:1251px) and (max-width:1650px){body.mc-v852 .ca-reference .ca-search{grid-column:span 3!important}body.mc-v852 .ca-reference .ca-filter-actions{grid-column:span 3!important}}
