/* V8.52 — reference-led interface for every admin menu.
   Scope and tokens are the final authority over historical page styles. */
body.mc-v852{--ui-bg:#f5f4f1;--ui-surface:#fff;--ui-soft:#fafaf8;--ui-line:#f0efea;--ui-ink:#292c30;--ui-text:#7b6d46;--ui-muted:#526273;--ui-accent:#526273;--ui-accent2:#526273;--ui-shadow:0 5px 22px #2f32360a;--ui-hero:linear-gradient(120deg,#fcfbfa 0%,#f8f7f5 62%,#e2e4e7 100%);--ui-header:#212428;--ui-sidebar:#25282c;--ui-focus:#526273;--ui-radius:16px;--ui-control:42px;background:var(--ui-bg)!important;color:var(--ui-ink)!important;font-family:Inter,system-ui,-apple-system,'Segoe UI',sans-serif!important;font-size:13px;letter-spacing:-.01em;color-scheme:light}
body.mc-v852[data-ui-mode=dark]{--ui-bg:#080808;--ui-surface:#111111;--ui-soft:#171717;--ui-line:#222222;--ui-ink:#f7f7f7;--ui-text:#d5d5d5;--ui-muted:#526273;--ui-accent:#526273;--ui-accent2:#526273;--ui-shadow:0 6px 24px #0000001c;--ui-hero:linear-gradient(120deg,#171717 0%,#222222 64%,#2b2b2b 100%);--ui-header:#080808;--ui-sidebar:#111111;color-scheme:dark}
body.mc-v852 *,body.mc-v852 *::before,body.mc-v852 *::after{box-sizing:border-box}
body.mc-v852 .content,body.mc-v852 .content>section.page{background:var(--ui-bg)!important;color:var(--ui-ink)!important}
body.mc-v852 .content>section.page{background-image:radial-gradient(ellipse at 90% 0%,#52627318,transparent 50%)!important}
body.mc-v852 :is(h1,h2,h3,h4){color:var(--ui-ink)!important;font-weight:700!important;letter-spacing:-.035em;line-height:1.3}
body.mc-v852 .page p{line-height:1.6;color:var(--ui-muted)!important}
body.mc-v852 .page :is(small,label,dt){color:var(--ui-muted)!important}
body.mc-v852 .page :is(b,strong,dd){color:var(--ui-ink)}
body.mc-v852 .page :is(.mc-page-heading,.tc-hero,.social-hero,.dash-hero-v6){display:none!important}
body.mc-v852 .mc-page-hero{display:flex;justify-content:space-between;align-items:center;gap:24px;padding:26px 28px;margin:0 0 20px;border:1px solid var(--ui-line);border-radius:var(--ui-radius);background:var(--ui-hero);box-shadow:0 5px 20px #96824d0c;position:relative;overflow:hidden}
body.mc-v852 .mc-page-hero::after{content:'';position:absolute;right:-60px;top:-145px;width:520px;height:250px;border:35px solid #ffffff12;border-radius:50%;transform:rotate(-15deg);pointer-events:none}
body.mc-v852 .mc-hero-heading{display:flex;align-items:center;gap:20px;min-width:0;position:relative;z-index:1}
body.mc-v852 .mc-hero-icon{display:grid;place-items:center;flex:0 0 58px;height:58px;border-radius:17px;background:linear-gradient(145deg,var(--ui-accent),#526273);color:white;box-shadow:0 6px 16px #52627325}
body.mc-v852 .mc-hero-icon .ui-icon{width:29px;height:29px}
body.mc-v852 .mc-hero-breadcrumb{color:var(--ui-muted);font-size:10px;letter-spacing:.045em;margin-bottom:7px}
body.mc-v852 .mc-hero-breadcrumb span{padding:0 6px}
body.mc-v852 .mc-page-hero h1{font-size:27px;line-height:1.2;margin:0 0 7px}
body.mc-v852 .mc-page-hero p{font-size:12px;color:var(--ui-text)!important;margin:0;max-width:610px;line-height:1.5}
body.mc-v852 .mc-hero-actions{display:flex;gap:9px;align-items:center;flex-wrap:wrap;flex-shrink:0;position:relative;z-index:1}
body.mc-v852 .mc-hero-actions:empty{display:none}
body.mc-v852 .content>header{background:linear-gradient(100deg,var(--ui-header),#2b2e32)!important;border-bottom:1px solid #ffffff09!important;padding:0 22px!important;gap:16px;box-shadow:0 4px 22px #181b1f15!important}
body.mc-v852 .top-search{max-width:480px;width:36vw;height:40px!important;background:linear-gradient(100deg,#ffffff05,#52627316)!important;border:1px solid #5262732b!important;border-radius:11px!important;box-shadow:inset 0 1px #ffffff05}
body.mc-v852 .top-search input{font-size:12px;min-width:0;color:#f1efea!important;background:transparent!important}
body.mc-v852 .top-search kbd{font-size:10px;color:#526273;border-color:#ffffff25}
body.mc-v852 .header-actions{gap:10px!important}
body.mc-v852 .admin-language{font-size:12px!important;height:40px!important;background:#ffffff04!important;border-color:#ffffff12!important;font-weight:600!important;min-width:145px!important;color:#f5f4f1!important}
body.mc-v852 .head-btn{height:38px!important;min-width:38px!important;background:#ffffff04!important;border:1px solid #ffffff10!important;border-radius:10px!important}
body.mc-v852 .account-pill{height:48px!important;border-radius:13px!important;padding:6px 10px!important;gap:9px!important;box-shadow:none!important;border:1px solid #ffffff15!important;background:#ffffff03!important;min-width:0!important}
body.mc-v852 .header-avatar{height:34px!important;width:34px!important;border-radius:10px!important;box-shadow:0 2px 12px #52627330!important}
body.mc-v852 .account-name b{font-size:11px!important;font-weight:650!important;color:#fff!important}
body.mc-v852 .account-role{font-size:7px!important}
body.mc-v852 .mc-mode-switch{display:flex;align-items:center;gap:3px;background:#ffffff04;border:1px solid #ffffff18;border-radius:11px;padding:3px}
body.mc-v852 .mc-mode-switch button{width:33px;height:32px;padding:7px;border:0;border-radius:8px;background:transparent;color:#526273;display:grid;place-items:center;cursor:pointer}
body.mc-v852 .mc-mode-switch button[aria-pressed=true]{background:#fcfbfa;color:#2d3034;box-shadow:0 2px 7px #0002}
body.mc-v852[data-ui-mode=dark] .mc-mode-switch button[aria-pressed=true]{background:#526273;color:#ffffff}
body.mc-v852 #sidebar{background:linear-gradient(180deg,var(--ui-header),var(--ui-sidebar))!important;border-right:1px solid #ffffff0a!important}
body.mc-v852 #sidebar .side-brand{background:transparent!important;border:0!important}
body.mc-v852 #sidebar .ico{color:#526273!important}
body.mc-v852 #sidebar nav :is(a,button){border-radius:11px!important}
body.mc-v852 #sidebar nav :is(a,button):hover{background:#5262731a!important;color:white!important}
body.mc-v852 #sidebar nav a.on{background:linear-gradient(135deg,#52627333,#52627329)!important;box-shadow:inset 0 0 0 1px #52627330!important;color:white!important}
body.mc-v852 :is(#accountDrawer,#chatIncDrawer,#profileInfoDrawer){background:linear-gradient(170deg,#2e3135,var(--ui-sidebar) 55%)!important;border-right:1px solid #ffffff0b!important;box-shadow:8px 0 20px #1c1c1a12!important}
body.mc-v852 :is(#accountDrawer,#chatIncDrawer) .account-drawer-head{margin:14px 12px 12px!important;padding:16px 12px!important;border-radius:13px!important;background:linear-gradient(120deg,#52627324,#52627319)!important;border:1px solid #52627338!important;gap:12px!important;min-height:0!important;height:auto!important}
body.mc-v852 :is(#accountDrawer,#chatIncDrawer) .account-drawer-head-icon{height:40px!important;width:40px!important;border-radius:11px!important;background:linear-gradient(135deg,#526273,#526273)!important;box-shadow:0 5px 12px #52627320!important}
body.mc-v852 :is(#accountDrawer,#chatIncDrawer) .account-drawer-head h2{font-size:14px!important;font-weight:650!important;color:#fff!important;letter-spacing:-.02em;margin:0 0 4px!important}
body.mc-v852 :is(#accountDrawer,#chatIncDrawer) .account-drawer-head p{font-size:10px!important;line-height:1.5!important;color:#526273!important;max-width:none!important;margin:0!important}
body.mc-v852 :is(#accountDrawer,#chatIncDrawer) .account-drawer-scroll{padding:0 12px 16px!important;scrollbar-width:thin;scrollbar-color:#5262733a transparent}
body.mc-v852 :is(#accountDrawer,#chatIncDrawer) .account-drawer-label{font-size:9px!important;letter-spacing:.15em!important;font-weight:650!important;color:#526273!important;margin:22px 9px 9px!important;padding:0!important}
body.mc-v852 :is(#accountDrawer,#chatIncDrawer) .account-drawer-list :is(a,button){min-height:64px!important;height:auto!important;margin:0 0 5px!important;padding:12px 10px!important;border:1px solid transparent!important;border-radius:12px!important;display:flex!important;align-items:center!important;gap:12px!important;background:transparent!important;box-shadow:none!important;color:white!important;text-align:left}
body.mc-v852 :is(#accountDrawer,#chatIncDrawer) .account-drawer-list :is(a,button):hover{background:#ffffff06!important;border-color:#ffffff07!important}
body.mc-v852 :is(#accountDrawer,#chatIncDrawer) .account-drawer-list a.active{background:linear-gradient(90deg,#52627320,#5262730b)!important;border-color:#52627333!important;box-shadow:inset 3px 0 #526273!important}
body.mc-v852 :is(#accountDrawer,#chatIncDrawer) .account-drawer-list b{font-size:12px!important;font-weight:650!important;color:#f8f7f4!important;margin:0 0 4px!important;line-height:1.3!important}
body.mc-v852 :is(#accountDrawer,#chatIncDrawer) .account-drawer-list small{font-size:10px!important;line-height:1.5!important;color:#526273!important;display:block!important}
body.mc-v852 :is(#accountDrawer,#chatIncDrawer) .ad-icon{height:37px!important;width:37px!important;min-width:37px!important;flex:0 0 37px!important;border-radius:11px!important;color:#d8dadd!important;background:linear-gradient(135deg,#52627325,#4d505470)!important}
body.mc-v852 :is(#accountDrawer,#chatIncDrawer) .ad-icon .ui-icon{width:18px!important;height:18px!important}
body.mc-v852 .drawer-close{position:absolute;right:7px;top:4px;width:23px;height:23px;border:0;border-radius:7px;background:#52627316;color:#d7d9dc;font-size:18px;z-index:4;display:grid;place-items:center;cursor:pointer}
body.mc-v852 .mc-drawer-brand{margin:10px 12px 14px;padding:14px 12px;display:flex;align-items:center;gap:11px;border:1px solid #52627355;border-radius:14px;background:linear-gradient(120deg,#46494d,#414448);color:#f7f6f4;flex-shrink:0}
body.mc-v852 .mc-drawer-brand>span{width:37px;height:37px;display:grid;place-items:center;background:#fbb83f18;color:#ffd968;border-radius:11px}
body.mc-v852 .mc-drawer-brand b{font-size:12px;display:block;margin-bottom:3px}
body.mc-v852 .mc-drawer-brand small{font-size:10px;line-height:1.45;color:#526273}
body.mc-v852 .mc-drawer-brand>.ui-icon{margin-left:auto;width:16px}
/* Every content surface uses the same light/dark palette. */
body.mc-v852 .page :is(.panel,.stat-card,.filter-panel,.user-table-card,.detail-side,.dv6-card,.dash-stats-v6 article,.ps-card,.ps-profile-card,.rp-left,.rp-main,.rp-role-panel,.theme-settings-card,.v716-pane,.v716-preview,.social-card,.social-panel,.ws-card,.tc-card,.tc-toolbar,.tc-stats article){background:var(--ui-surface)!important;border:1px solid var(--ui-line)!important;border-radius:var(--ui-radius)!important;box-shadow:var(--ui-shadow)!important;color:var(--ui-text)!important}
body.mc-v852 .page :is(input:not([type=checkbox]):not([type=radio]):not([type=color]):not([type=range]):not([type=file]),select,textarea){font-family:inherit!important;font-size:12px!important;background:var(--ui-surface)!important;color:var(--ui-ink)!important;border-color:var(--ui-line)!important;border-radius:9px!important;outline:none;min-width:0;max-width:100%}
body.mc-v852 .page input::placeholder,body.mc-v852 .page textarea::placeholder{color:var(--ui-muted)!important;opacity:.8}
body.mc-v852 .page label{font-size:11px;font-weight:600;line-height:1.5}
body.mc-v852 .page :is(input,select,textarea):focus{border-color:var(--ui-focus)!important;box-shadow:0 0 0 3px #52627315!important}
body.mc-v852 :is(button,a,input,select,textarea):focus-visible{outline:2px solid var(--ui-focus)!important;outline-offset:3px}
body.mc-v852 .page button{font-family:inherit!important}
body.mc-v852 .page :is(.primary,.search-btn,.ws-primary,.social-primary){background:#c3c5c8!important;color:#292a27!important;border:1px solid #526273!important;box-shadow:0 4px 10px #52627324!important;border-radius:9px!important;font-weight:600!important}
body.mc-v852 .page :is(.mc-page-actions button,.title-actions button,.tc-btn,.tc-mini,.v715-reset,.ps-edit,.rp-head-actions button,.rp-access-head button,.ws-secondary){min-height:38px!important;padding:9px 13px!important;border:1px solid var(--ui-line)!important;background:var(--ui-surface)!important;color:var(--ui-ink)!important;border-radius:9px!important;font-size:11px!important;font-weight:600!important;box-shadow:0 2px 5px #2e313505!important;display:inline-flex;align-items:center;justify-content:center;gap:7px;text-decoration:none}
body.mc-v852 .mc-hero-actions :is(.primary,.tc-btn.primary){background:var(--control-blue,#2458db)!important;color:#fff!important;border-color:var(--control-blue,#2458db)!important;box-shadow:0 4px 10px #52627324!important}
body.mc-v852 .mc-hero-actions .ui-icon{width:15px;height:15px}
body.mc-v852 .page button:disabled{opacity:.4!important;cursor:not-allowed}
body.mc-v852 .page button:hover:not(:disabled){filter:brightness(.98)}
body.mc-v852 .page :is(.stat-grid,.dash-stats-v6,.v715-stats,.tc-stats){gap:16px!important;margin-bottom:18px!important}
body.mc-v852 .page :is(.stat-card,.dash-stats-v6 article,.v715-stats>div,.tc-stats article){min-height:118px!important;height:auto!important;padding:19px!important;border:1px solid var(--ui-line)!important;border-radius:var(--ui-radius)!important;box-shadow:var(--ui-shadow)!important;gap:13px!important;background:linear-gradient(135deg,var(--ui-surface),var(--ui-soft))!important;position:relative;overflow:hidden}
body.mc-v852 .page :is(.stat-card strong,.dash-stats-v6 strong,.v715-stats strong,.tc-stats strong){font-size:27px!important;letter-spacing:-.04em;color:var(--ui-ink)!important;font-weight:750!important;line-height:1.2!important;margin:8px 0!important}
body.mc-v852 .page :is(.stat-card span,.dash-stats-v6 b,.v715-stats span,.tc-stats span){font-size:11px!important;font-weight:600!important;color:var(--ui-text)!important}
body.mc-v852 .page :is(.stat-card small,.dash-stats-v6 small,.v715-stats small,.tc-stats small){font-size:10px!important;color:var(--ui-muted)!important}
body.mc-v852 .page :is(.sicon,.dv6-icon,.tc-stat-icon){width:38px!important;height:38px!important;min-width:38px!important;border-radius:11px!important;box-shadow:none!important}
body.mc-v852 .page :is(.sicon,.dv6-icon,.tc-stat-icon) .ui-icon{width:20px!important;height:20px!important}
body.mc-v852 .page .stat-card:nth-child(1),body.mc-v852 .page .tc-stats article:nth-child(1){background:linear-gradient(145deg,var(--ui-surface),#5262730f)!important}
body.mc-v852 .page .stat-card:nth-child(2),body.mc-v852 .page .tc-stats article:nth-child(2){background:linear-gradient(145deg,var(--ui-surface),#52627310)!important}
body.mc-v852 .page .tc-stats article:nth-child(3){background:linear-gradient(145deg,var(--ui-surface),#ffbb4b10)!important}
body.mc-v852 .page .tc-stats article:nth-child(4){background:linear-gradient(145deg,var(--ui-surface),#52627312)!important}
body.mc-v852 .page table{border-collapse:collapse!important;width:100%!important;font-size:11px!important;color:var(--ui-text)!important}
body.mc-v852 .page th{height:42px!important;background:var(--ui-soft)!important;color:var(--ui-muted)!important;font-size:9px!important;font-weight:650!important;letter-spacing:.035em;padding:12px!important;border-bottom:1px solid var(--ui-line)!important}
body.mc-v852 .page td{font-size:11px!important;height:48px!important;padding:12px!important;border-color:var(--ui-line)!important;color:var(--ui-text)!important;background:transparent!important}
body.mc-v852 .page tbody tr:hover td{background:var(--ui-soft)!important}
body.mc-v852 .page :is(.table-wrap,.tc-table-wrap){overflow:auto!important;scrollbar-width:thin;scrollbar-color:#52627350 transparent;max-width:100%}
body.mc-v852 .page .table-footer,body.mc-v852 .page :is(.bulkbar,.tc-pagination,.v714-pager){background:transparent!important;color:var(--ui-muted)!important;border-color:var(--ui-line)!important;font-size:10px!important}
body.mc-v852 .page :is(.pagination button,.tc-pagination button,.v714-pager a){background:var(--ui-surface)!important;color:var(--ui-text)!important;border-color:var(--ui-line)!important}
body.mc-v852 .page :is(.pagination button.on,.v714-pager a.on){background:var(--ui-accent)!important;color:white!important}
/* Dashboard, management, and permissions. */
body.mc-v852 .dash-main-v6{grid-template-columns:minmax(0,1.7fr) minmax(280px,1fr)!important;gap:18px!important}
body.mc-v852 .dash-bottom-v6{gap:18px!important;margin-top:18px!important}
body.mc-v852 .dv6-card{padding:22px!important}
body.mc-v852 .dv6-head{margin-bottom:18px!important;border-color:var(--ui-line)!important}
body.mc-v852 .dv6-head h3{font-size:15px!important}
body.mc-v852 .activity-row-v6{padding:14px 0!important;border-color:var(--ui-line)!important}
body.mc-v852 .activity-row-v6 :is(b,time){color:var(--ui-text)!important}
body.mc-v852 .quick-grid-v6{gap:10px!important}
body.mc-v852 .quick-grid-v6 a{background:var(--ui-soft)!important;border:1px solid var(--ui-line)!important;border-radius:11px!important;padding:15px 10px!important;color:var(--ui-ink)!important}
body.mc-v852 .quick-grid-v6 a b{font-size:11px!important;color:var(--ui-ink)!important}
body.mc-v852 .page :is(.admin-info-row-v63,.service-v6){border-color:var(--ui-line)!important;color:var(--ui-text)!important}
body.mc-v852 .filter-panel{padding:20px!important;margin-bottom:18px!important}
body.mc-v852 .searchbox{background:var(--ui-surface)!important;border-color:var(--ui-line)!important;height:42px!important}
body.mc-v852 .searchbox input{background:transparent!important;box-shadow:none!important}
body.mc-v852 .filterrow{gap:14px!important;margin-top:18px!important}
body.mc-v852 .filterrow select{height:40px!important;margin-top:6px!important}
body.mc-v852 .user-workspace{grid-template-columns:minmax(0,1fr) 285px!important;gap:18px!important}
body.mc-v852 .bulkbar{flex-wrap:wrap;padding:12px 16px!important;gap:7px!important}
body.mc-v852 .detail-side{padding:22px!important}
body.mc-v852 .detail-tabs{border-color:var(--ui-line)!important}
body.mc-v852 .detail-tabs span{color:var(--ui-muted)!important}
body.mc-v852 .detail-empty{font-size:12px!important;line-height:1.7;color:var(--ui-muted)!important}
body.mc-v852 .rp-layout{grid-template-columns:250px minmax(0,1fr)!important;gap:18px!important;margin-top:0!important}
body.mc-v852 .rp-left{position:relative!important;inset:auto!important;width:auto!important;min-width:0!important;padding:20px!important;color:var(--ui-text)!important;overflow:hidden!important}
body.mc-v852 .rp-main{min-width:0!important;border:0!important;background:transparent!important;box-shadow:none!important;padding:0!important}
body.mc-v852 .rp-role-panel{overflow:hidden}
body.mc-v852 .rp-side-head{padding:0 0 16px!important}
body.mc-v852 .rp-side-head span,body.mc-v852 .rp-stat-box>span{font-size:9px!important;letter-spacing:.1em;color:var(--ui-muted)!important}
body.mc-v852 .rp-role{background:var(--ui-soft)!important;border:1px solid var(--ui-line)!important;border-radius:11px!important;padding:13px 10px!important;gap:10px!important;color:var(--ui-text)!important}
body.mc-v852 .rp-role.active{background:#52627310!important;border-color:#52627366!important;color:var(--ui-accent)!important}
body.mc-v852 .rp-role span b{color:var(--ui-ink)!important;font-size:12px!important}
body.mc-v852 .rp-role small{font-size:10px!important;color:var(--ui-muted)!important}
body.mc-v852 .rp-stat-box{background:var(--ui-soft)!important;border-color:var(--ui-line)!important;border-radius:11px!important;padding:16px!important;margin-top:20px!important}
body.mc-v852 .rp-stat-box div{border-color:var(--ui-line)!important}
body.mc-v852 .rp-main-head{padding:22px!important;gap:16px!important;background:transparent!important;border-color:var(--ui-line)!important}
body.mc-v852 .rp-main-head h2{font-size:21px!important}
body.mc-v852 .rp-main-head p{font-size:11px!important}
body.mc-v852 .rp-tabs,body.mc-v852 .ps-tabs{padding:0 18px!important;gap:18px!important;border-bottom:1px solid var(--ui-line)!important;background:var(--ui-surface)!important;overflow-x:auto!important;flex-wrap:nowrap!important;scrollbar-width:none}
body.mc-v852 .rp-tabs button,body.mc-v852 .ps-tabs button{background:transparent!important;border:0!important;border-bottom:2px solid transparent!important;border-radius:0!important;color:var(--ui-muted)!important;padding:14px 0!important;font-size:11px!important;white-space:nowrap!important;flex-shrink:0!important}
body.mc-v852 .rp-tabs button.active,body.mc-v852 .ps-tabs button.active{border-bottom-color:var(--ui-accent)!important;color:var(--ui-accent)!important}
body.mc-v852 .rp-tab-content{padding:20px!important}
body.mc-v852 .rp-access-head{gap:9px!important;flex-wrap:wrap!important;margin-bottom:18px!important}
body.mc-v852 .rp-access-head h3{font-size:15px!important}
body.mc-v852 .rp-access-head p{font-size:10px!important}
body.mc-v852 .rp-search{background:var(--ui-surface)!important;border-color:var(--ui-line)!important}
body.mc-v852 .rp-menu-grid{grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:10px!important}
body.mc-v852 .rp-menu-item{border:1px solid var(--ui-line)!important;background:var(--ui-surface)!important;border-radius:11px!important;padding:14px 12px!important;gap:10px!important;min-width:0!important}
body.mc-v852 .rp-menu-item span{min-width:0!important}
body.mc-v852 .rp-menu-item b{font-size:11px!important;color:var(--ui-ink)!important}
body.mc-v852 .rp-menu-item small{font-size:9px!important;line-height:1.5!important;color:var(--ui-muted)!important}
body.mc-v852 .rp-menu-item a{font-size:9px!important;color:var(--ui-accent)!important}
body.mc-v852 .rp-switch{background:var(--ui-line)!important}
body.mc-v852 .rp-menu-item input:checked~.rp-switch{background:var(--ui-accent)!important}
body.mc-v852 .rp-savebar{border-color:var(--ui-line)!important;background:var(--ui-soft)!important;padding:14px!important;margin-top:20px!important;border-radius:10px!important;gap:12px!important;flex-wrap:wrap!important;color:var(--ui-text)!important}
/* Profile, audit, and settings retain their existing controls and handlers. */
body.mc-v852 .ps-page{grid-template-columns:270px minmax(0,1fr)!important;gap:18px!important;align-items:start!important;margin-top:0!important}
body.mc-v852 .ps-profile-card{position:relative!important;inset:auto!important;width:auto!important;min-width:0!important;padding:24px 20px!important;text-align:center;overflow:hidden!important;color:var(--ui-text)!important}
body.mc-v852 .ps-profile-card h2{font-size:19px!important;margin:16px 0 7px!important}
body.mc-v852 .ps-profile-card>p,body.mc-v852 .ps-profile-card>small{font-size:11px!important;color:var(--ui-muted)!important}
body.mc-v852 .ps-meta{border-top:1px solid var(--ui-line)!important;margin-top:22px!important}
body.mc-v852 .ps-meta>div{border-color:var(--ui-line)!important;gap:10px!important;padding:12px 0!important;font-size:10px!important}
body.mc-v852 .ps-meta b{color:var(--ui-text)!important;font-weight:600!important}
body.mc-v852 .ps-workspace{min-width:0!important}
body.mc-v852 .ps-tabs{border:1px solid var(--ui-line)!important;border-radius:13px!important;margin-bottom:16px!important}
body.mc-v852 .ps-card{padding:24px!important;margin-bottom:16px!important}
body.mc-v852 .ps-card-head{gap:12px!important;border-color:var(--ui-line)!important;padding-bottom:18px!important;margin-bottom:20px!important}
body.mc-v852 .ps-card-head h3{font-size:16px!important;margin:0 0 4px!important}
body.mc-v852 .ps-card-head p{font-size:11px!important}
body.mc-v852 .ps-form-grid{gap:18px!important}
body.mc-v852 .ps-field{height:42px!important;border:1px solid var(--ui-line)!important;background:var(--ui-surface)!important;border-radius:9px!important;color:var(--ui-muted)!important;gap:10px!important;padding:0 12px!important;margin-top:7px!important}
body.mc-v852 .ps-field input{height:38px!important;border:0!important;background:transparent!important;padding:0!important;box-shadow:none!important}
body.mc-v852 .ps-field:focus-within{border-color:var(--ui-focus)!important}
body.mc-v852 .ps-field input[readonly]{color:var(--ui-text)!important}
body.mc-v852 :is(.ps-info,.ps-info-grid>div,.ps-toggle-list>div,.ps-session,.ps-last-pass){border-color:var(--ui-line)!important;background:var(--ui-soft)!important;color:var(--ui-text)!important}
body.mc-v852 .ps-toggle-list>div{padding:16px!important;border-radius:10px!important}
body.mc-v852 .ps-session{padding:16px!important;border-radius:10px!important}
body.mc-v852 .ps-save-row{border-color:var(--ui-line)!important;gap:10px!important}
body.mc-v852 .ps-photo-actions{gap:6px!important}
body.mc-v852 .ps-photo-actions button{font-size:9px!important;padding:8px!important;color:var(--ui-text)!important;background:var(--ui-soft)!important;border-color:var(--ui-line)!important}
body.mc-v852 .v715-filter{padding:22px!important;margin-bottom:18px!important}
body.mc-v852 .v715-log{padding:22px!important}
body.mc-v852 .v715-filter-grid{grid-template-columns:repeat(5,minmax(0,1fr))!important;gap:15px!important;margin:18px 0!important}
body.mc-v852 .v715-filter-grid :is(input,select){height:40px!important;width:100%!important;padding:8px 10px!important}
body.mc-v852 .v715-section-title b{font-size:14px!important;color:var(--ui-ink)!important}
body.mc-v852 .v715-section-title small{font-size:10px!important;margin-top:5px!important}
body.mc-v852 .v715-log-head{margin-bottom:18px!important}
body.mc-v852 .v715-log .table-wrap{border:1px solid var(--ui-line)!important;border-radius:10px!important}
body.mc-v852 .v715-ip{color:var(--ui-text)!important;background:var(--ui-soft)!important}
body.mc-v852 .v715-stats{display:grid!important;grid-template-columns:repeat(4,minmax(0,1fr))!important}
body.mc-v852 .v715-stats>div{display:flex!important;align-items:center!important}
body.mc-v852 .v715-stats i{height:39px!important;width:39px!important;flex-shrink:0;font-size:19px!important;border-radius:11px!important}
body.mc-v852 .v715-stats em{opacity:.15!important;position:absolute;right:12px;bottom:12px;font-size:28px!important}
body.mc-v852 .theme-settings-card{padding:24px!important;margin:0 0 18px!important}
body.mc-v852 .theme-settings-head{border-color:var(--ui-line)!important;margin-bottom:20px!important}
body.mc-v852 .theme-settings-head h2{font-size:17px!important}
body.mc-v852 .theme-grid{gap:12px!important;grid-template-columns:repeat(auto-fit,minmax(155px,1fr))!important}
body.mc-v852 .theme-option{border:1px solid var(--ui-line)!important;background:var(--ui-surface)!important;border-radius:12px!important;overflow:hidden!important;box-shadow:none!important}
body.mc-v852 .theme-option.selected{border-color:var(--ui-accent)!important;box-shadow:0 0 0 3px #52627312!important}
body.mc-v852 .theme-meta{padding:12px!important}
body.mc-v852 .theme-meta strong{color:var(--ui-ink)!important;font-size:12px!important}
body.mc-v852 .theme-meta small{color:var(--ui-muted)!important;font-size:10px!important}
body.mc-v852 .custom-theme-panel{padding:18px!important;border:1px solid var(--ui-line)!important;background:var(--ui-soft)!important;border-radius:12px!important}
body.mc-v852 .v716-grid{grid-template-columns:minmax(0,1.08fr) minmax(0,1fr)!important;gap:18px!important}
body.mc-v852 :is(.v716-pane,.v716-preview){padding:22px!important;min-width:0!important}
body.mc-v852 .v716-cardhead,body.mc-v852 .v716-previewhead{border-color:var(--ui-line)!important;margin-bottom:20px!important}
body.mc-v852 .v716-cardhead h2{font-size:17px!important}
body.mc-v852 .v716-tabs{display:flex;gap:7px!important;flex-wrap:wrap;background:var(--ui-soft)!important;padding:5px!important;border-radius:10px!important;border:1px solid var(--ui-line)!important}
body.mc-v852 .v716-tabs button{padding:9px 12px!important;background:transparent!important;color:var(--ui-muted)!important;border:0!important;font-size:11px!important;border-radius:7px!important}
body.mc-v852 .v716-tabs button.active{background:var(--ui-surface)!important;color:var(--ui-accent)!important;box-shadow:0 2px 6px #1f22260a!important}
body.mc-v852 .v716-formgrid{gap:16px!important}
body.mc-v852 .v716-upload{background:var(--ui-soft)!important;border-color:var(--ui-line)!important;border-radius:12px!important;padding:24px!important}
body.mc-v852 .v716-upload small,body.mc-v852 .v716-upload b{color:var(--ui-text)!important}
body.mc-v852 .v716-actions{gap:10px!important;border-color:var(--ui-line)!important;padding-top:20px!important}
body.mc-v852 :is(.v716-label,.v716-toggle,.v716-range){color:var(--ui-text)!important;border-color:var(--ui-line)!important}
body.mc-v852 .v716-stage{background:var(--ui-soft)!important;border-color:var(--ui-line)!important;border-radius:12px!important;overflow:hidden}
body.mc-v852 .login-preview-frame{border-radius:10px!important;border:1px solid var(--ui-line)!important}
/* Integrations and workspace tools. */
body.mc-v852 .social-platforms{display:grid!important;grid-template-columns:repeat(auto-fit,minmax(165px,1fr))!important;gap:14px!important;margin-bottom:18px!important}
body.mc-v852 .social-card{padding:19px!important}
body.mc-v852 .social-card h3{font-size:13px!important;color:var(--ui-ink)!important}
body.mc-v852 .social-card p{font-size:10px!important}
body.mc-v852 .social-card button{background:var(--ui-soft)!important;border:1px solid var(--ui-line)!important;border-radius:8px!important;font-size:10px!important;color:var(--ui-text)!important;padding:10px!important}
body.mc-v852 .social-grid{gap:18px!important;grid-template-columns:minmax(0,1.2fr) minmax(0,1fr)!important}
body.mc-v852 .social-panel{padding:22px!important;min-width:0!important}
body.mc-v852 .social-panel-head{border-color:var(--ui-line)!important;margin-bottom:18px!important}
body.mc-v852 .social-panel-head h2{font-size:16px!important}
body.mc-v852 .social-msg{background:var(--ui-soft)!important;border-color:var(--ui-line)!important;color:var(--ui-text)!important;border-radius:10px!important;padding:13px!important}
body.mc-v852 .social-msg time{color:var(--ui-muted)!important}
body.mc-v852 .social-panel textarea{min-height:120px!important;padding:12px!important;line-height:1.6}
body.mc-v852 .social-panel :is(input,select){height:40px!important;padding:9px 12px!important}
body.mc-v852 .social-empty{background:var(--ui-soft)!important;border:1px dashed var(--ui-line)!important;border-radius:11px!important;padding:34px 20px!important;color:var(--ui-muted)!important;line-height:1.7;font-size:11px!important}
body.mc-v852 .fb-reply-bar,body.mc-v852 .social-send{gap:10px!important;flex-wrap:wrap}
body.mc-v852 .fb-reply-bar input{min-width:140px;flex:1}
body.mc-v852 .ws-card{padding:24px!important}
body.mc-v852 .ws-card-title b{font-size:16px!important;color:var(--ui-ink)!important}
body.mc-v852 .ws-card-title{border-color:var(--ui-line)!important;margin-bottom:20px!important}
body.mc-v852 .ws-toggle-grid{gap:14px!important}
body.mc-v852 .ws-toggle{background:var(--ui-soft)!important;border:1px solid var(--ui-line)!important;border-radius:12px!important;padding:18px!important;gap:12px!important}
body.mc-v852 .ws-toggle b{font-size:12px!important;color:var(--ui-ink)!important}
body.mc-v852 .ws-toggle small{font-size:11px!important;color:var(--ui-muted)!important}
body.mc-v852 .ws-coming{background:var(--ui-soft)!important;border-radius:12px!important;color:var(--ui-text)!important}
body.mc-v852 .shortcut-page-grid>div{border-color:var(--ui-line)!important;background:var(--ui-soft)!important;color:var(--ui-text)!important;padding:18px!important;border-radius:11px!important}
body.mc-v852 .ws-actions{border-color:var(--ui-line)!important;gap:10px!important}
/* Total Chats follows the supplied reference with compact filters and pastel KPIs. */
body.mc-v852 .total-chats-page.tc-v850{padding:0!important;background:transparent!important;min-height:0!important;font-family:inherit!important}
body.mc-v852 .tc-actions{display:flex;gap:9px!important;flex-wrap:wrap}
body.mc-v852 .tc-toolbar{display:grid!important;grid-template-columns:repeat(6,minmax(0,1fr))!important;gap:16px!important;padding:22px!important;margin:0 0 10px!important;align-items:end!important}
body.mc-v852 .tc-presets{grid-column:1/-1;display:flex;flex-wrap:wrap;gap:7px!important;border-bottom:1px solid var(--ui-line)!important;padding-bottom:16px!important;margin-bottom:0}
body.mc-v852 .tc-presets button{height:36px!important;padding:8px 17px!important;background:var(--ui-soft)!important;color:var(--ui-text)!important;border:1px solid transparent!important;border-radius:9px!important;font-size:11px!important;font-weight:600!important}
body.mc-v852 .tc-presets button.active{background:linear-gradient(135deg,var(--ui-accent),#526273)!important;color:#fff!important;box-shadow:0 3px 9px #5262732a!important}
body.mc-v852 .tc-toolbar label{max-width:none!important;min-width:0!important;font-size:10px!important;font-weight:600!important;color:var(--ui-text)!important;display:flex;flex-direction:column;gap:7px!important}
body.mc-v852 .tc-toolbar :is(input,select){height:38px!important;width:100%!important;padding:8px 10px!important;font-size:11px!important}
body.mc-v852 .tc-filter-actions{display:flex;justify-content:flex-end;gap:9px;grid-column:1/-1}
body.mc-v852 .tc-filter-actions .primary{background:#c3c5c8!important;color:#292a27!important}
body.mc-v852 .tc-status{display:flex;justify-content:space-between;align-items:center;gap:10px;font-size:10px!important;color:var(--ui-muted)!important;padding:0 2px 12px!important}
body.mc-v852 .tc-stats{display:grid!important;grid-template-columns:repeat(4,minmax(0,1fr))!important;gap:14px!important;margin-bottom:16px!important}
body.mc-v852 .tc-stats article{display:flex!important;gap:14px!important;min-height:141px!important;padding:19px!important}
body.mc-v852 .tc-stats strong{font-size:29px!important;margin:10px 0 7px!important}
body.mc-v852 .tc-stats small{font-size:9px!important;line-height:1.6;max-width:none!important;display:block;position:relative;z-index:1;padding-bottom:17px}
body.mc-v852 .tc-stats span{font-size:10px!important}
body.mc-v852 .tc-spark{width:115px!important;height:27px!important;position:absolute;bottom:10px!important;right:14px!important;opacity:.8}
body.mc-v852 .tc-stat-icon .ui-icon{height:21px!important;width:21px!important}
body.mc-v852 .tc-stat-icon.violet{color:#526273!important;background:#5262732b!important}
body.mc-v852 .tc-stat-icon.blue{color:#a89357!important;background:#5262732b!important}
body.mc-v852 .tc-stat-icon.orange{color:#f69c2c!important;background:#ffc2762b!important}
body.mc-v852 .tc-visuals{display:grid!important;grid-template-columns:minmax(0,1.25fr) minmax(0,1.1fr) minmax(0,1fr)!important;gap:16px!important;align-items:stretch!important}
body.mc-v852 .tc-card{padding:22px!important;margin-top:0!important;min-width:0!important}
body.mc-v852 .tc-card-head{align-items:start!important;gap:12px!important;margin-bottom:19px!important}
body.mc-v852 .tc-card h2{font-size:14px!important;line-height:1.4;margin:0 0 4px!important}
body.mc-v852 .tc-card p{font-size:10px!important;color:var(--ui-muted)!important;line-height:1.5!important}
body.mc-v852 .tc-card-head select{height:31px!important;max-width:110px!important;font-size:10px!important;padding:5px 8px!important}
body.mc-v852 .tc-line{height:235px;display:flex;align-items:center;color:var(--ui-muted)!important}
body.mc-v852 .tc-line svg{width:100%;height:auto;max-height:235px;color:var(--ui-muted)!important}
body.mc-v852 .tc-line svg circle{fill:var(--ui-surface)!important}
body.mc-v852 .tc-line svg text{fill:var(--ui-muted)!important;font-size:9px}
body.mc-v852 .tc-hour-chart{height:215px!important;gap:5px!important;margin:20px 0 29px!important;background:repeating-linear-gradient(to top,transparent 0,transparent 53px,var(--ui-line) 54px,var(--ui-line) 55px)!important}
body.mc-v852 .tc-hour-chart i{background:linear-gradient(180deg,#526273,#526273)!important;border-radius:4px 4px 0 0}
body.mc-v852 .tc-hour-chart span{font-size:7px!important;color:var(--ui-muted)!important}
body.mc-v852 .tc-range{font-size:10px!important;color:var(--ui-muted)!important}
body.mc-v852 .tc-channel{display:flex;align-items:center;flex-direction:column!important;gap:20px!important;padding:10px 0}
body.mc-v852 .tc-donut{height:170px!important;width:170px!important;padding:23px!important;background:conic-gradient(#526273,#526273,#526273)!important}
body.mc-v852 .tc-donut.empty{background:var(--ui-line)!important}
body.mc-v852 .tc-donut>div{background:var(--ui-surface)!important}
body.mc-v852 .tc-donut strong{font-size:26px!important;color:var(--ui-ink)!important}
body.mc-v852 .tc-donut small{font-size:10px!important;color:var(--ui-muted)!important}
body.mc-v852 .tc-channel-row{font-size:11px!important;color:var(--ui-text)!important;gap:8px!important}
body.mc-v852 .tc-channel-row :is(b,strong){color:var(--ui-ink)!important;font-size:11px!important}
body.mc-v852 .tc-source-note{font-size:10px!important;line-height:1.6!important;margin-top:13px!important}
body.mc-v852 .tc-grid{display:grid!important;grid-template-columns:minmax(0,2.2fr) minmax(0,1fr)!important;gap:16px!important;margin-top:16px!important}
body.mc-v852 .tc-table-tools{display:flex;gap:12px;justify-content:space-between;margin-bottom:12px}
body.mc-v852 .tc-table-tools input{height:35px;width:min(260px,65%);padding:8px 10px;border:1px solid var(--ui-line)}
body.mc-v852 .tc-table-tools select{height:35px;padding:7px 10px}
body.mc-v852 .tc-table-wrap{border:1px solid var(--ui-line);border-radius:10px}
body.mc-v852 .tc-insights>div{border:0!important;border-bottom:1px solid var(--ui-line)!important;background:transparent!important;padding:15px 0!important;margin:0!important;border-radius:0!important}
body.mc-v852 .tc-insights b{font-size:11px!important;color:var(--ui-ink)!important}
body.mc-v852 .tc-insights small{font-size:10px!important;color:var(--ui-muted)!important}
body.mc-v852 .tc-error{font-size:12px;font-weight:500;line-height:1.6;border-radius:11px;background:#e2446415;border-color:#e2446430;color:#d54b69}
body.mc-v852 .tc-loading:before{content:'';display:none;height:20px;width:20px;border:2px solid var(--ui-line);border-top-color:var(--ui-accent);border-radius:50%;margin-right:10px;animation:mc-spin .8s linear infinite}
body.mc-v852 .tc-v850[aria-busy=true] .tc-loading:before{display:block}
body.mc-v852 .tc-empty{color:var(--ui-muted)!important;font-size:12px;min-height:150px;display:flex!important;align-items:center;justify-content:center;gap:10px}
@keyframes mc-spin{to{transform:rotate(360deg)}}
/* Dialogs and badges also have a real dark palette. */
body.mc-v852 :is(.premium-dialog,.af-dialog,.v718-modal-card,.social-modal-box,.crop-dialog,.profile-menu,.notification-panel,.shortcut-modal>div,.row-menu-pop){background:var(--ui-surface)!important;color:var(--ui-text)!important;border:1px solid var(--ui-line)!important;border-radius:16px!important;box-shadow:0 20px 70px #15181c30!important}
body.mc-v852 :is(.premium-dialog,.af-dialog,.v718-modal-card,.social-modal-box,.crop-dialog) :is(h1,h2,h3,h4,b,strong){color:var(--ui-ink)!important}
body.mc-v852 :is(.premium-dialog,.af-dialog,.v718-modal-card,.social-modal-box) :is(input,select,textarea){background:var(--ui-surface)!important;color:var(--ui-ink)!important;border-color:var(--ui-line)!important}
body.mc-v852 :is(.af-dialog,.v718-modal-card,.social-modal-box) :is(p,small,label){color:var(--ui-muted)!important}
body.mc-v852 :is(.af-dialog header,.af-footer,.notif-head,.menu-sep,.v718-detail-grid){background:var(--ui-surface)!important;border-color:var(--ui-line)!important}
body.mc-v852 :is(.af-option,.af-option-grid button,.af-theme,.af-field,.v718-detail-grid span,.profile-menu a,.profile-menu button,.notification-item,.row-menu-pop button,.row-menu-pop a){background:var(--ui-soft)!important;color:var(--ui-text)!important;border-color:var(--ui-line)!important}
body.mc-v852 .v718-detail-grid b{border-color:var(--ui-line)!important;color:var(--ui-ink)!important}
body.mc-v852 .page .role-badge{background:#52627320!important;color:#526273!important}
body.mc-v852 .page .status-pill.active{background:#13ba8220!important;color:#10a877!important}
body.mc-v852 .page .status-pill.inactive{background:#eb597b20!important;color:#dd4e72!important}
body.mc-v852[data-ui-mode=dark] .page .role-badge{color:#d5d5d5!important}
body.mc-v852[data-ui-mode=dark] .page .status-pill.active{color:#53d6ad!important}
body.mc-v852[data-ui-mode=dark] .page .status-pill.inactive{color:#f893ab!important}
body.mc-v852 .page :is(.rp-log-list>div,.ps-activity-list>div,.admin-info-row-v63){border-color:var(--ui-line)!important;background:transparent!important}
body.mc-v852 .page .row-actions button{background:var(--ui-soft)!important;color:var(--ui-accent)!important}
body.mc-v852 .page .row-actions .trash{color:#e56580!important;background:#e5658012!important}
body.mc-v852 .page .advanced-box{background:var(--ui-soft)!important;border-color:var(--ui-line)!important}
/* Keep the admin rail, header, and profile position as in the supplied screen. */
@media(min-width:901px){
body.mc-v852 .app,body.mc-v852 .app.sidebar-mini{display:grid!important;grid-template-columns:60px minmax(0,1fr)!important;height:100dvh!important;overflow:hidden!important}
body.mc-v852 .app #sidebar,body.mc-v852 .app.sidebar-mini #sidebar{width:60px!important}
body.mc-v852 .app .content,body.mc-v852 .app.sidebar-mini .content{display:grid!important;grid-template-rows:74px minmax(0,1fr)!important;grid-column:2!important;width:100%!important;height:100dvh!important;margin:0!important;padding:0!important;min-width:0!important}
body.mc-v852 .app .content>header{grid-row:1!important;height:74px!important;position:relative!important;inset:auto!important;width:100%!important}
body.mc-v852 .app .content>section.page,body.mc-v852 .app.sidebar-mini .content>section.page{grid-row:2!important;margin:0!important;padding:20px 20px 36px!important;width:100%!important;max-width:none!important;overflow:auto!important;overflow-x:hidden!important;height:100%!important}
body.mc-v852.mc-account-open .app .content>section.page,body.mc-v852:has(#accountDrawer.show) .app .content>section.page,body.mc-v852.mc-chat-inc-open .app .content>section.page,body.mc-v852:has(#chatIncDrawer.show) .app .content>section.page{padding:20px 20px 36px calc(var(--v816-account,280px) + 20px)!important}
body.mc-v852.mc-profile-open .app .content>section.page,body.mc-v852:has(#profileInfoDrawer.show) .app .content>section.page{padding:20px 20px 36px calc(var(--v816-profile,360px) + 20px)!important}
body.mc-v852 :is(#accountDrawer,#chatIncDrawer,#profileInfoDrawer){left:60px!important;top:74px!important;bottom:0!important;height:calc(100dvh - 74px)!important;max-height:calc(100dvh - 74px)!important;overflow:hidden!important;display:none!important;flex-direction:column!important;transform:none!important;margin:0!important}
body.mc-v852 :is(#accountDrawer,#chatIncDrawer,#profileInfoDrawer).show{display:flex!important}
body.mc-v852 :is(#accountDrawer,#chatIncDrawer){width:var(--v816-account,280px)!important;min-width:var(--v816-account,280px)!important;max-width:var(--v816-account,280px)!important}
body.mc-v852 :is(#accountDrawer,#chatIncDrawer) .account-drawer-scroll{flex:1!important;min-height:0!important;height:auto!important;overflow:auto!important}
}
@media(max-width:1450px){
body.mc-v852 .page .stat-grid.six{grid-template-columns:repeat(3,minmax(0,1fr))!important}
body.mc-v852 .tc-toolbar{grid-template-columns:repeat(3,minmax(0,1fr))!important}
body.mc-v852 .v715-filter-grid{grid-template-columns:repeat(3,minmax(0,1fr))!important}
body.mc-v852 .tc-stats article{padding:16px!important;gap:10px!important}
body.mc-v852 .tc-stats strong{font-size:25px!important}
body.mc-v852 .tc-stats .tc-stat-icon{width:32px!important;height:32px!important;min-width:32px!important}
body.mc-v852 .tc-visuals{grid-template-columns:repeat(2,minmax(0,1fr))!important}
body.mc-v852 .tc-visuals>.tc-card:last-child{grid-column:1/-1!important}
body.mc-v852 .tc-channel{flex-direction:row!important;justify-content:center!important;gap:35px!important}
body.mc-v852 .tc-channel-row{max-width:280px}
body.mc-v852 .tc-grid{grid-template-columns:1fr!important}
body.mc-v852 .user-workspace{grid-template-columns:1fr!important}
body.mc-v852 .detail-side{display:none!important}
body.mc-v852 .rp-menu-grid{grid-template-columns:1fr!important}
body.mc-v852 .mc-page-hero{padding:22px!important;gap:18px;flex-wrap:wrap}
}
@media(max-width:1150px){
body.mc-v852 .ps-page{grid-template-columns:220px minmax(0,1fr)!important}
body.mc-v852 .dash-main-v6,body.mc-v852 .dash-bottom-v6{grid-template-columns:1fr!important}
body.mc-v852 .v716-grid,body.mc-v852 .social-grid{grid-template-columns:1fr!important}
body.mc-v852 .tc-stats{grid-template-columns:repeat(2,minmax(0,1fr))!important}
body.mc-v852 .page .dash-stats-v6{grid-template-columns:repeat(3,minmax(0,1fr))!important}
body.mc-v852 .rp-layout{grid-template-columns:210px minmax(0,1fr)!important}
body.mc-v852 .rp-access-head>div{width:100%}
body.mc-v852 .head-user{display:none!important}
body.mc-v852 .admin-language{min-width:125px!important}
}
@media(max-width:900px){
body.mc-v852 .content>header{padding:0 12px!important;height:66px!important;gap:7px}
body.mc-v852 .header-actions{gap:6px!important}
body.mc-v852 .top-search{display:none!important}
body.mc-v852 .content>section.page{padding:16px 14px 32px!important}
body.mc-v852 .account-pill{padding:4px!important;border:0!important;height:40px!important}
body.mc-v852 .admin-language{min-width:0!important;width:112px!important;font-size:11px!important;height:36px!important}
body.mc-v852 .mc-mode-switch button{width:28px;height:28px;padding:6px}
body.mc-v852 .head-btn{min-width:32px!important;width:32px!important;height:34px!important}
body.mc-v852 .mc-page-hero{padding:20px!important;gap:16px;margin-bottom:16px!important}
body.mc-v852 .mc-page-hero h1{font-size:24px}
body.mc-v852 .mc-hero-icon{flex-basis:46px;height:46px;border-radius:13px}
body.mc-v852 .mc-hero-heading{gap:13px}
body.mc-v852 .mc-hero-actions{width:100%}
body.mc-v852 .mc-page-hero p{font-size:11px}
body.mc-v852 .ps-page,body.mc-v852 .rp-layout{grid-template-columns:1fr!important}
body.mc-v852 .ps-profile-card{padding:22px!important}
body.mc-v852 .rp-role-list{display:grid;grid-template-columns:1fr 1fr;gap:10px}
body.mc-v852 .rp-stat-box{display:none!important}
body.mc-v852 .page .dash-stats-v6{grid-template-columns:repeat(2,minmax(0,1fr))!important}
body.mc-v852 .rp-menu-grid{grid-template-columns:repeat(2,minmax(0,1fr))!important}
body.mc-v852 .page .v715-stats{grid-template-columns:repeat(2,minmax(0,1fr))!important}
body.mc-v852 .mc-drawer-brand{display:none}
body.mc-v852 :is(#accountDrawer,#chatIncDrawer,#profileInfoDrawer){max-width:calc(100vw - 20px)!important;width:310px!important;top:0!important;left:0!important;height:100dvh!important;padding-top:18px!important}
body.mc-v852 :is(#accountDrawerBackdrop,#chatIncDrawerBackdrop,#profileInfoBackdrop).show{background:#1a1a1880!important;backdrop-filter:blur(3px)!important;pointer-events:auto!important}
}
@media(max-width:600px){
body.mc-v852 .page .stat-grid.six{grid-template-columns:repeat(2,minmax(0,1fr))!important}
body.mc-v852 .tc-toolbar{grid-template-columns:repeat(2,minmax(0,1fr))!important;padding:16px!important;gap:14px!important}
body.mc-v852 .tc-presets{gap:5px!important}
body.mc-v852 .tc-presets button{padding:8px 12px!important;font-size:10px!important;height:34px!important}
body.mc-v852 .tc-stats{gap:10px!important}
body.mc-v852 .tc-stats article{padding:14px!important;flex-direction:column!important;min-height:157px!important;gap:8px!important}
body.mc-v852 .tc-stats strong{font-size:25px!important;margin:7px 0!important}
body.mc-v852 .tc-spark{width:75px!important;height:22px!important;right:10px!important}
body.mc-v852 .tc-visuals{grid-template-columns:1fr!important}
body.mc-v852 .tc-visuals>.tc-card:last-child{grid-column:auto!important}
body.mc-v852 .tc-channel{flex-direction:column!important;gap:20px!important}
body.mc-v852 .tc-card,body.mc-v852 .ps-card,body.mc-v852 .v715-filter,body.mc-v852 .v715-log,body.mc-v852 .social-panel,body.mc-v852 .ws-card{padding:18px!important}
body.mc-v852 .tc-status{flex-wrap:wrap!important;line-height:1.5}
body.mc-v852 .tc-hour-chart{gap:3px!important}
body.mc-v852 .rp-menu-grid,body.mc-v852 .rp-role-list,body.mc-v852 .ps-form-grid,body.mc-v852 .v715-filter-grid,body.mc-v852 .ws-toggle-grid{grid-template-columns:1fr!important}
body.mc-v852 .rp-main-head{flex-direction:column;align-items:flex-start!important;padding:18px!important}
body.mc-v852 .rp-tab-content{padding:16px!important}
body.mc-v852 .rp-tabs,body.mc-v852 .ps-tabs{gap:16px!important}
body.mc-v852 .page .grid2{grid-template-columns:1fr!important}
body.mc-v852 .page .searchrow{flex-wrap:wrap}
body.mc-v852 .page .filterrow{grid-template-columns:1fr 1fr!important}
body.mc-v852 .page .stat-card{flex-direction:column!important;padding:15px!important;min-height:140px!important}
body.mc-v852 .mc-hero-breadcrumb{font-size:9px;line-height:1.5}
body.mc-v852 .mc-page-hero h1{font-size:22px}
body.mc-v852 .mc-hero-actions :is(button,a){font-size:10px!important;min-height:35px!important;padding:8px 10px!important}
}
@media(prefers-reduced-motion:reduce){body.mc-v852 *,body.mc-v852 *::before,body.mc-v852 *::after{animation:none!important;transition:none!important;scroll-behavior:auto!important}}
@media print{
body.mc-v852 #sidebar,body.mc-v852 .content>header,body.mc-v852 :is(#accountDrawer,#chatIncDrawer,#profileInfoDrawer),body.mc-v852 .mc-hero-actions,body.mc-v852 .tc-filter-actions{display:none!important}
html:has(body.mc-v852),body.mc-v852,body.mc-v852 .app,body.mc-v852 .content,body.mc-v852 .content>section.page{overflow:visible!important;height:auto!important;background:white!important;color:#26292d!important}
body.mc-v852 .app,body.mc-v852 .app.sidebar-mini,body.mc-v852 .app .content{display:block!important;width:100%!important;margin:0!important;padding:0!important}
body.mc-v852 .app .content>section.page{padding:0!important}
body.mc-v852 .mc-page-hero{background:#fafaf8!important}
body.mc-v852 .tc-card,body.mc-v852 .tc-stats article{break-inside:avoid}
}
/* Final theme authority: historical body[data-admin-theme] rules may not mix palettes. */
body.mc-v852[data-ui-mode] .content>section.page{background-color:var(--ui-bg)!important;color:var(--ui-text)!important}
body.mc-v852[data-ui-mode] .page :is(h1,h2,h3,h4,h5,h6,strong,b){color:var(--ui-ink)!important}
body.mc-v852[data-ui-mode] .page :is(p,small,.muted){color:var(--ui-muted)!important}
body.mc-v852[data-ui-mode] .page :is(input:not([type=color]):not([type=checkbox]):not([type=radio]):not([type=range]),select,textarea,.searchbox){background-color:var(--ui-surface)!important;color:var(--ui-ink)!important;border-color:var(--ui-line)!important}
body.mc-v852[data-ui-mode] .page :is(.primary,.search-btn,.social-primary,.ws-primary),body.mc-v852[data-ui-mode] .page .primary :is(span,b,strong){color:#292a27!important;background:#c3c5c8!important}
body.mc-v852[data-ui-mode] .page .tc-hero{display:none!important}
body.mc-v852 .page .tc-stats small#tcChange{color:inherit!important}
body.mc-v852 .tc-stat-icon.blue{color:#a99358!important}
body.mc-v852[data-admin-theme=purple]{--ui-accent:#526273}
body.mc-v852[data-admin-theme=green]{--ui-accent:#169871}
body.mc-v852[data-admin-theme=orange]{--ui-accent:#e78636}
body.mc-v852[data-admin-theme=red-gold]{--ui-accent:#d24e68}
body.mc-v852[data-admin-theme=black-gold]{--ui-accent:#ba9543}
body.mc-v852[data-admin-theme=custom]{--ui-accent:var(--theme-primary,#526273)}
body.mc-v852[data-ui-mode=light][data-admin-theme=custom]{--ui-bg:var(--theme-bg,#f5f4f1)}
body.mc-v852[data-ui-mode=dark] .page :is(.sicon,.dv6-icon,.qicon,.rp-menu-item>i,.act-icon-v6){background:#52627318!important;color:#cdcdcd!important}
body.mc-v852[data-ui-mode=dark] .page :is(.sicon.green,.dv6-icon.green){background:#37c89b18!important;color:#4ad3ad!important}
body.mc-v852[data-ui-mode=dark] .page :is(.sicon.orange,.dv6-icon.orange){background:#e9ab4918!important;color:#f7ba65!important}
body.mc-v852 .page .tc-stats{margin-bottom:16px!important}
body.mc-v852[data-ui-mode] main.content>section.page :is(.mc-page-heading,.tc-hero,.social-hero,.dash-hero-v6){display:none!important}
body.mc-v852 .mc-hero-actions .mc-page-actions{margin:0!important;padding:0!important;position:static!important;z-index:auto!important;width:auto!important;display:flex!important;align-items:center!important;gap:9px!important;flex-wrap:wrap!important}
body.mc-v852[data-ui-mode] .page #tcChange[data-trend=up]{color:#17ac86!important}
body.mc-v852[data-ui-mode] .page #tcChange[data-trend=down]{color:#e66b8b!important}
body.mc-v852[data-ui-mode] .page #tcChange[data-trend=neutral]{color:var(--ui-muted)!important}
body.mc-v852 .page :is(.v716-editor,.v716-layout-panel,.v716-brand-preview,.ps-info-grid article,.rp-placeholder,.ws-coming){background:var(--ui-surface)!important;color:var(--ui-text)!important;border-color:var(--ui-line)!important;border-radius:13px!important;box-shadow:var(--ui-shadow)!important}
body.mc-v852 .v716-editor{border:1px solid var(--ui-line)!important;border-radius:16px!important;overflow:hidden}
body.mc-v852 .v716-editor .v716-pane{border:0!important;border-radius:0!important;box-shadow:none!important}
body.mc-v852 .page :is(.v716-toggle,.ps-info-grid article){background:var(--ui-soft)!important}
body.mc-v852 .v715-stats i .ui-icon{width:20px;height:20px}
body.mc-v852 .mc-hero-actions .tc-actions{margin:0!important}
@media(max-width:600px){body.mc-v852 .v716-formgrid,body.mc-v852 .v716-two{grid-template-columns:1fr!important}body.mc-v852 .v716-formgrid .wide{grid-column:1!important}body.mc-v852 .v716-actions{grid-template-columns:1fr!important}body.mc-v852 .ps-info-grid{grid-template-columns:1fr!important}}
body.mc-v852 .page .coming-page-v61{min-height:400px!important;padding:40px 24px!important;background:var(--ui-surface)!important;border-color:var(--ui-line)!important;border-radius:16px!important;box-shadow:var(--ui-shadow)!important}
body.mc-v852 .page .coming-title-v61{display:none!important}
body.mc-v852 .page .coming-desc-v61{font-size:13px!important;color:var(--ui-muted)!important}
body.mc-v852 .page .coming-back-v61{background:var(--ui-soft)!important;border-color:var(--ui-line)!important;color:var(--ui-text)!important;font-size:11px!important}
body.mc-v852.error-page{min-height:100dvh;display:grid;place-items:center;padding:24px;background:var(--ui-bg)!important}
body.mc-v852 .mc-error-card{padding:40px;width:min(480px,100%);text-align:center;background:var(--ui-surface);border:1px solid var(--ui-line);border-radius:20px;box-shadow:var(--ui-shadow)}
body.mc-v852 .mc-error-card>span{font-size:72px;font-weight:800;letter-spacing:-.08em;color:var(--ui-accent)}
body.mc-v852 .mc-error-card h1{font-size:24px;margin:14px 0}
body.mc-v852 .mc-error-card p{color:var(--ui-muted);line-height:1.7;font-size:13px}
body.mc-v852 .mc-error-card a{display:inline-flex;color:white;background:var(--ui-accent);padding:11px 17px;margin-top:18px;border-radius:9px;text-decoration:none;font-size:12px;font-weight:600}
/* V8.53: readable navy drawers, refined archive pages, responsive header */
.mc-v852 :is(#profileInfoDrawer,#accountDrawer,#chatIncDrawer) :is(h1,h2,h3,h4,b,strong){color:#f8f8f6!important}
.mc-v852 :is(#profileInfoDrawer,#accountDrawer,#chatIncDrawer) :is(p,small){color:#526273!important}
.mc-v852 .pid-meta-row>span:last-child{color:#f4f3f0!important}
.mc-header-clock{margin-left:auto;white-space:nowrap;font-size:11px;color:#526273;text-align:right;line-height:1.6}.mc-header-clock small{display:block;font-size:10px;color:inherit}.mc-v852 .top-search{max-width:340px}.mc-v852 .header-actions{flex-shrink:0}.mc-v852 .content>header{gap:20px}
.ca-page{display:grid;gap:20px}.ca-page .ui-icon{width:18px;height:18px;flex-shrink:0}.ca-tabs{display:flex;gap:8px;border-bottom:1px solid var(--mc-line,#e6e8eb);padding-bottom:14px;flex-wrap:wrap}.ca-tabs a{display:flex;align-items:center;gap:9px;padding:11px 17px;border-radius:10px;color:var(--mc-muted,#526273);font-size:12px;font-weight:600}.ca-tabs a.active{background:#5262731a;color:#526273;border:1px solid #52627333}.ca-toolbar{display:flex;gap:10px;align-items:center}.ca-toolbar p{font-size:12px;flex:1;margin:0;color:var(--mc-muted,#526273)}.ca-page .btn{display:inline-flex;align-items:center;justify-content:center;gap:8px;font-size:12px;padding:10px 14px;border-radius:9px;white-space:nowrap}.ca-note{display:flex;align-items:flex-start;gap:12px;padding:15px 18px;border:1px solid #e5b05235;border-radius:12px;background:#e5b0520b;color:var(--mc-ink,#f0eee9);font-size:12px;line-height:1.7}.ca-note svg{color:#d9ac5f;margin-top:2px}.ca-filters{display:grid!important;grid-template-columns:repeat(4,minmax(0,1fr));gap:18px!important;padding:22px!important}.ca-filters label{display:flex;flex-direction:column;gap:9px;font-size:11px;font-weight:600;color:var(--mc-muted,#526273)}.ca-filters input,.ca-filters select{width:100%;height:42px;min-width:0;border-radius:9px;padding:10px 12px;font-size:12px}.ca-search{grid-column:span 2}.ca-filter-actions{grid-column:1/-1;display:flex;justify-content:flex-end;gap:10px}.ca-tz{grid-column:1/-1;font-size:10px;color:var(--mc-muted,#526273);margin-top:-45px;pointer-events:none;max-width:50%}.ca-stats{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:20px}.ca-stats article{padding:22px!important}.ca-stats article>span{display:flex;align-items:center;gap:10px;font-size:11px;color:var(--mc-muted,#526273)}.ca-stats article>span svg{color:#526273;background:#52627315;width:33px!important;height:33px!important;padding:7px;border-radius:9px}.ca-stats strong{display:block;font-size:32px;letter-spacing:-1px;margin:13px 0 7px}.ca-stats small{font-size:10px;color:var(--mc-muted,#526273)}.ca-table-card{padding:0!important;overflow:hidden}.ca-table-heading{display:flex;align-items:center;justify-content:space-between;padding:21px 24px;border-bottom:1px solid var(--mc-line,#e6e8eb)}.ca-table-heading h2{font-size:15px;margin:0}.ca-table-heading>span{font-size:11px;color:var(--mc-muted,#526273)}.ca-table-scroll{overflow-x:auto}.ca-page table{width:100%;border-collapse:collapse;font-size:12px}.ca-page th{text-align:left;padding:15px 20px;font-size:10px;letter-spacing:.6px;text-transform:uppercase;background:#52627308;color:var(--mc-muted,#526273);white-space:nowrap}.ca-page td{padding:18px 20px;border-bottom:1px solid var(--mc-line,#e6e8eb)}.ca-page tbody tr:hover{background:#52627307}.ca-person{display:flex;align-items:center;gap:11px}.ca-person>span{display:grid;place-items:center;min-width:36px;height:36px;border-radius:11px;background:linear-gradient(145deg,#52627322,#52627322);color:#526273;font-weight:700}.ca-person b{font-size:12px;font-weight:600}.ca-person small{display:block;font-size:9px;color:var(--mc-muted,#526273);margin-top:5px;white-space:nowrap}.ca-nowrap{white-space:nowrap;font-size:11px}.ca-excerpt{max-width:280px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.ca-detail{font-size:11px!important;background:#52627310!important;border-color:#5262732a!important}.ca-pagination{display:flex;align-items:center;justify-content:space-between;padding:18px 24px}.ca-pagination>span{font-size:11px;color:var(--mc-muted,#526273)}.ca-pagination>div{display:flex;gap:8px}.ca-empty{min-height:170px;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:12px;color:var(--mc-muted,#526273)}.ca-empty .ui-icon{width:35px;height:35px}.ca-empty span{font-size:11px}.ca-dialog{max-width:750px;width:calc(100% - 30px);max-height:85vh;border:1px solid var(--mc-line,#4a4d51);background:var(--mc-card,#272a2e);color:var(--mc-ink,#f5f4f0);border-radius:20px;padding:0;box-shadow:0 30px 100px #0006}.ca-dialog::backdrop{background:#1a1a18cc;backdrop-filter:blur(5px)}.ca-dialog>header{display:flex;align-items:center;justify-content:space-between;padding:24px;border-bottom:1px solid var(--mc-line,#4a4d51)}.ca-dialog header small{font-size:9px;letter-spacing:2px;color:#526273}.ca-dialog h2{font-size:20px;margin:7px 0 0}.ca-dialog>p{padding:0 24px;font-size:11px;color:var(--mc-muted,#526273)}.ca-events{display:grid;gap:15px;padding:12px 24px 24px;max-height:48vh;overflow:auto}.ca-event{max-width:90%;padding:14px 16px;background:#52627310;border:1px solid #52627320;border-radius:0 13px 13px 13px}.ca-event.agent{justify-self:end;background:#52627314;border-color:#5262732a;border-radius:13px 0 13px 13px}.ca-event header{display:flex;gap:16px;align-items:center;justify-content:space-between}.ca-event b{font-size:11px}.ca-event time{font-size:9px;color:var(--mc-muted,#526273)}.ca-event p{font-size:12px;line-height:1.8;white-space:pre-wrap;overflow-wrap:anywhere;margin:10px 0 0}.ca-dialog>footer{padding:18px 24px;border-top:1px solid var(--mc-line,#4a4d51);display:flex;justify-content:flex-end}.mc-v852[data-ui-mode="light"] .ca-dialog{background:#fff;color:#2d3034;--mc-line:#edebe5;--mc-muted:#526273}.mc-v852[data-ui-mode="light"] .ca-tabs a.active{color:#526273}
@media(max-width:1250px){.mc-header-clock{display:none}.ca-filters{grid-template-columns:repeat(2,minmax(0,1fr))}.ca-stats{gap:12px}.ca-stats article{padding:18px!important}}
@media(max-width:650px){.ca-filters{padding:16px!important;gap:13px!important}.ca-stats{grid-template-columns:1fr}.ca-stats article{display:grid;grid-template-columns:1fr auto;align-items:center}.ca-stats strong{grid-column:2;grid-row:1/3;margin:0;font-size:27px}.ca-stats small{margin-top:8px}.ca-toolbar{flex-wrap:wrap}.ca-toolbar p{flex-basis:100%;line-height:1.8}.ca-tz{margin-top:0;max-width:none}.ca-pagination{padding:15px;gap:12px;flex-wrap:wrap}.ca-tabs a{font-size:11px;padding:10px}.ca-event{max-width:100%}.ca-event header{flex-wrap:wrap;gap:5px}}

body.mc-v852{--mc-line:var(--ui-line);--mc-ink:var(--ui-ink);--mc-muted:var(--ui-muted);--mc-card:var(--ui-surface)}
.mc-v852 .rp-role-note{font-size:11px;line-height:1.8;padding:15px;border:1px solid var(--ui-line);border-radius:12px;background:var(--ui-soft);color:var(--ui-muted)}.mc-v852 .rp-detail{font-size:10px;padding:5px 8px;border:1px solid var(--ui-line);background:var(--ui-soft);border-radius:7px;color:var(--ui-text)}.mc-v852 .rp-menu-item.expanded{outline:2px solid var(--ui-accent)}.mc-v852 .rp-menu-item.expanded small{white-space:normal!important;display:block!important}.mc-v852 .rp-policy{text-align:left;max-width:550px;font-size:12px;line-height:2;color:var(--ui-text);margin:20px auto}.mc-v852 .rp-placeholder .btn{display:inline-flex;margin-top:15px}
.op-page{display:grid;gap:20px}.op-actions{display:flex;flex-wrap:wrap;gap:10px}.op-actions .btn,.op-page .btn{display:inline-flex;align-items:center;gap:8px}.op-page .ui-icon{width:18px;height:18px}.op-search{display:flex;align-items:center;gap:10px;padding:15px 24px;border-bottom:1px solid var(--ui-line);color:var(--ui-muted)}.op-search input{flex:1;background:var(--ui-soft);border:1px solid var(--ui-line);color:var(--ui-ink);padding:11px 13px;border-radius:9px;font-size:12px}.op-page table{width:100%;border-collapse:collapse;font-size:12px}.op-page th,.op-page td{text-align:left;padding:16px 24px;border-bottom:1px solid var(--ui-line);overflow-wrap:anywhere;line-height:1.7}.op-page th{font-size:10px;text-transform:uppercase;color:var(--ui-muted);background:var(--ui-soft);white-space:nowrap}.op-result{padding:0 24px 15px;font-size:11px}.op-page tr[hidden]{display:none!important}

.mc-v852 [hidden]{display:none!important}
.mc-v852 .service-v6>span{display:flex;align-items:center;gap:8px}.mc-v852 .service-v6 .ui-icon{width:14px;height:14px}.mc-v852 .dash-bottom-v6 strong{font-size:20px!important}
/* V8.54: precise layout fixes from the reported screenshots. */
body.mc-v852 .mc-page-hero{background:var(--ui-surface)!important;padding:24px 28px!important;min-height:110px!important}body.mc-v852 .mc-page-hero::after{display:none!important}body.mc-v852 .mc-hero-icon{display:none!important}body.mc-v852 .mc-page-hero h1{font-size:26px!important}body.mc-v852 .mc-hero-heading{gap:0!important}
body.mc-v852 .top-search input,body.mc-v852 .top-search input:focus,body.mc-v852 .top-search input:focus-visible{outline:none!important;border:0!important;box-shadow:none!important;border-radius:0!important}body.mc-v852 .top-search:focus-within{border-color:#52627355!important;box-shadow:none!important;background:#ffffff06!important}body.mc-v852 .top-search{background:#ffffff04!important}
body.mc-v852 .dash-stats-v6 article{display:grid!important;grid-template-columns:42px minmax(0,1fr)!important;grid-template-rows:auto auto!important;align-items:start!important;padding:20px!important;min-height:158px!important;gap:0 13px!important}body.mc-v852 .dash-stats-v6 article>.dv6-icon{grid-column:1;grid-row:1;width:42px!important;height:42px!important}body.mc-v852 .dash-stats-v6 article>div:nth-child(2){grid-column:2;grid-row:1;min-width:0}body.mc-v852 .dash-stats-v6 article strong{display:block!important;margin:9px 0 7px!important}body.mc-v852 .dash-stats-v6 article small{display:block!important;line-height:1.5!important;margin-bottom:0!important}body.mc-v852 .dash-stats-v6 .dv6-meter{position:relative!important;bottom:auto!important;left:auto!important;right:auto!important;grid-column:1/-1;grid-row:2;margin:18px 0 0!important;padding-right:0!important;height:16px!important;display:flex!important;align-items:center!important;gap:10px!important;background:none!important}body.mc-v852 .dv6-meter:before{content:'';height:4px;background:var(--ui-line);position:absolute;left:0;right:35px;border-radius:5px;top:6px}body.mc-v852 .dash-stats-v6 .dv6-meter i{display:block!important;max-width:calc(100% - 35px)!important;height:4px!important;position:relative!important;top:0!important;border-radius:5px!important}body.mc-v852 .dash-stats-v6 .dv6-meter span{margin-left:auto!important;position:static!important;font-size:9px!important;flex-shrink:0!important}
body.mc-v852 .mc-header-clock{margin:0 8px 0 auto!important;text-align:left!important;min-width:160px!important;color:#526273!important;border-left:1px solid #ffffff18;padding-left:18px;font-variant-numeric:tabular-nums;font-size:14px!important;letter-spacing:.5px}body.mc-v852 .mc-header-clock small{font-size:10px!important;letter-spacing:0;margin-top:2px;color:#526273!important}
body.mc-v852 .ca-page .card{background:var(--ui-surface)!important;border:1px solid var(--ui-line)!important;border-radius:16px!important;box-shadow:var(--ui-shadow)!important}body.mc-v852 .ca-tabs{justify-content:flex-start!important;gap:8px!important}body.mc-v852 .ca-tabs a{flex:0 0 auto!important;width:auto!important;min-width:0!important;max-width:none!important;white-space:nowrap!important;line-height:1.4!important;padding:11px 16px!important;display:inline-flex!important}body.mc-v852 .ca-tabs a.active{border:0!important;border-bottom:2px solid var(--ui-accent)!important;background:transparent!important;border-radius:0!important}body.mc-v852 .ca-page :is(input,select){border:1px solid var(--ui-line)!important;background:var(--ui-soft)!important;color:var(--ui-ink)!important;box-shadow:none!important;outline-offset:3px!important}body.mc-v852 .ca-filters{grid-template-columns:repeat(4,minmax(0,1fr))!important}body.mc-v852 .ca-tz{margin:0!important;max-width:100%!important;grid-column:1/-1!important}body.mc-v852 .ca-filter-actions{grid-column:1/-1!important}body.mc-v852 .ca-stats strong{font-size:29px!important}
.mc-notice-stack{position:fixed;top:88px;right:24px;z-index:25000;display:flex;flex-direction:column;gap:12px;max-width:min(400px,calc(100vw - 28px));pointer-events:none}.mc-notice{pointer-events:auto;background:var(--ui-surface,#fff);color:var(--ui-ink,#2c2f33);border:1px solid var(--ui-line,#eceae4);border-left:4px solid #526273;box-shadow:0 12px 45px #171a1e26;border-radius:13px;padding:16px;display:flex;gap:12px;align-items:flex-start;animation:mc-notice-in .18s ease-out}.mc-notice.success{border-left-color:#20b38e}.mc-notice.error{border-left-color:#e7647c}.mc-notice-icon{color:#526273;background:#52627312;display:grid;place-items:center;min-width:34px;height:34px;border-radius:9px}.success .mc-notice-icon{color:#20b38e;background:#20b38e12}.error .mc-notice-icon{color:#e7647c;background:#e7647c12}.mc-notice b{font-size:12px}.mc-notice p{font-size:12px;margin:5px 0 0;line-height:1.7;color:var(--ui-text,#526273);overflow-wrap:anywhere}.mc-notice>button{background:none;border:0;color:var(--ui-muted,#526273);font-size:20px;padding:0 3px;margin-left:auto}.mc-notice .ui-icon{width:18px;height:18px}.mc-confirm{max-width:420px;width:calc(100% - 32px);background:var(--ui-surface,#fff);color:var(--ui-ink,#2c2f33);border:1px solid var(--ui-line,#eceae4);border-radius:20px;padding:28px;box-shadow:0 30px 90px #17171566}.mc-confirm::backdrop{background:#191917a6;backdrop-filter:blur(4px)}.mc-confirm-icon{width:48px;height:48px;border-radius:13px;background:#e7647c14;color:#e7647c;display:grid;place-items:center;margin-bottom:18px}.mc-confirm h2{font-size:21px;margin:0 0 12px}.mc-confirm p{font-size:13px;line-height:1.8;color:var(--ui-text,#526273)}.mc-confirm footer{display:flex;justify-content:flex-end;gap:10px;margin-top:25px}.mc-confirm footer button{border:1px solid var(--ui-line,#eceae4);border-radius:9px;padding:11px 17px;background:var(--ui-soft,#f9f9f7);color:var(--ui-ink,#2c2f33)}.mc-confirm footer .primary{background:#c3c5c8!important;border-color:#c3c5c8!important;color:#292a27!important}.mc-shell-loading main.content>section.page{opacity:.75;transition:opacity .12s;pointer-events:none}.mc-shell-loading main.content:before{content:'';height:3px;position:fixed;top:0;left:0;right:0;z-index:26000;background:linear-gradient(90deg,transparent,#526273,transparent);animation:mc-navigation 1s linear infinite}.mc-v852 form[aria-busy=true]{opacity:.65;pointer-events:none}@keyframes mc-navigation{from{transform:translateX(-100%)}to{transform:translateX(100%)}}@keyframes mc-notice-in{from{opacity:0;transform:translateY(-8px)}to{opacity:1;transform:none}}
@media(max-width:1300px){body.mc-v852 .mc-header-clock{display:none!important}}@media(max-width:800px){body.mc-v852 .ca-filters{grid-template-columns:repeat(2,minmax(0,1fr))!important}.mc-notice-stack{top:78px;right:14px}}@media(max-width:500px){body.mc-v852 .ca-filters{grid-template-columns:1fr!important}.ca-search{grid-column:auto!important}body.mc-v852 .mc-page-hero{padding:20px!important}.mc-v852 .ca-tabs a{font-size:10px!important;padding:9px!important}}
.mc-date-control{position:relative!important;display:flex!important;align-items:center!important;width:100%!important;min-height:42px!important;background:var(--ui-soft)!important;border:1px solid var(--ui-line)!important;border-radius:9px!important;overflow:hidden}.mc-date-text{padding:11px 34px 11px 12px!important;pointer-events:none!important;font-size:12px!important;color:var(--ui-ink)!important;white-space:nowrap!important}.mc-v852 .page .mc-date-control input[type=date]{position:absolute!important;inset:0!important;margin:0!important;height:100%!important;width:100%!important;color:transparent!important;background:transparent!important;border:0!important;box-shadow:none!important;cursor:pointer!important;z-index:1!important;font-size:12px!important}.mc-v852 .page .mc-date-control input[type=date]::-webkit-datetime-edit{opacity:0}.mc-v852 .page .mc-date-control input[type=date]::-webkit-calendar-picker-indicator{opacity:.55;cursor:pointer}.mc-date-control:focus-within{outline:2px solid #526273;outline-offset:2px}.mc-confirm select{width:100%;border:1px solid var(--ui-line);padding:12px;border-radius:9px;background:var(--ui-soft);color:var(--ui-ink)}
.mc-session-login{display:inline-block;color:var(--ui-accent,#526273);font-size:12px;margin-top:10px;text-decoration:underline}.mc-v852 form[aria-busy=true]{position:relative}.mc-v852 form[aria-busy=true]::after{content:'Menyimpan…';position:absolute;right:12px;top:12px;background:var(--ui-surface);border:1px solid var(--ui-line);padding:7px 11px;border-radius:8px;font-size:11px;color:var(--ui-ink)}
/* V8.58: compact, consistent dialogs in every admin menu. */
body.mc-v852 dialog:is(.premium-dialog,.af-dialog,.crop-dialog,.mc-confirm,.ca-dialog){position:fixed!important;inset:0!important;margin:auto!important;width:min(680px,calc(100vw - 32px))!important;min-width:0!important;max-width:680px!important;height:fit-content!important;max-height:calc(100dvh - 48px)!important;overflow:auto!important;border:1px solid var(--ui-line)!important;border-radius:22px!important;background:var(--ui-surface)!important;color:var(--ui-ink)!important;box-shadow:0 30px 100px #21242840!important;padding:0!important}
body.mc-v852 dialog:not([open]){display:none!important}
body.mc-v852 dialog::backdrop{background:#171a1e88!important;backdrop-filter:blur(5px)!important}
body.mc-v852 dialog[open]{animation:mc-dialog-enter .18s ease-out}
body.mc-v852 dialog.mc-confirm{max-width:440px!important;width:min(440px,calc(100vw - 32px))!important;padding:28px!important}
body.mc-v852 dialog.ca-dialog{max-width:880px!important;width:min(880px,calc(100vw - 32px))!important}
body.mc-v852 dialog .grid2{grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:18px!important;padding:24px 28px 4px!important}
body.mc-v852 dialog .grid2 label{min-width:0;margin:0!important;line-height:1.5;color:var(--ui-muted)!important;font-size:12px!important;font-weight:600!important}
body.mc-v852 dialog .modal-head{display:flex!important;align-items:center;gap:14px;padding:24px 28px!important;background:var(--ui-soft)!important;border-bottom:1px solid var(--ui-line)!important}
body.mc-v852 dialog .modal-head h2{font-size:21px!important;letter-spacing:-.5px;margin:0!important;line-height:1.35!important}
body.mc-v852 dialog .modal-head p{font-size:12px!important;line-height:1.6!important;margin:4px 0 0!important;color:var(--ui-muted)!important}
body.mc-v852 dialog .modal-head .title-icon{display:grid!important;place-items:center;width:46px!important;height:46px!important;border-radius:14px!important;background:linear-gradient(135deg,#526273,#526273)!important;color:#fff!important;box-shadow:0 6px 18px #52627325!important;flex-shrink:0}
body.mc-v852 dialog .modal-head .title-icon svg{width:23px;height:23px}
body.mc-v852 dialog .modal-head>button{margin-left:auto!important;flex-shrink:0;border:1px solid var(--ui-line)!important;background:var(--ui-surface)!important;color:var(--ui-muted)!important;border-radius:10px!important;width:34px!important;height:34px!important}
body.mc-v852 dialog :is(input:not([type=checkbox]):not([type=radio]),select,textarea){max-width:100%!important;min-width:0!important;border:1px solid var(--ui-line)!important;background:var(--ui-soft)!important;color:var(--ui-ink)!important;border-radius:11px!important;padding:11px 13px!important;font-size:13px!important;box-shadow:none!important}
body.mc-v852 dialog :is(input,select,textarea):focus{outline:2px solid #52627355!important;outline-offset:2px!important;border-color:#526273!important}
body.mc-v852 dialog .modal-actions{display:flex!important;align-items:center!important;justify-content:flex-end!important;gap:10px!important;margin-top:24px!important;padding:18px 28px!important;border-top:1px solid var(--ui-line)!important;background:var(--ui-soft)!important}
body.mc-v852 dialog :is(.modal-actions,footer) button{min-height:42px!important;border-radius:11px!important;font-size:12px!important;font-weight:650!important;padding:0 18px!important}
body.mc-v852 dialog button.primary{background:linear-gradient(110deg,#526273,#526273)!important;color:#fff!important;border:1px solid #526273!important;box-shadow:0 5px 14px #52627325!important}
body.mc-v852 :is(.v718-modal-card,.social-modal-box,.shortcut-modal>div){width:min(680px,calc(100vw - 32px))!important;max-width:680px!important;max-height:calc(100dvh - 48px)!important;overflow:auto!important;border-radius:22px!important;box-shadow:0 30px 100px #21242840!important}
body.mc-v852 form[aria-busy=true]::after{display:none!important}
.mc-saving-button{position:relative;display:inline-flex!important;align-items:center!important;gap:9px!important}
.mc-saving-button::before{content:"";width:13px;height:13px;border:2px solid currentColor;border-right-color:transparent;border-radius:50%;animation:mc-saving-spin .7s linear infinite;flex-shrink:0}
.mc-notice-stack{gap:12px!important;right:22px!important;top:100px!important;max-width:calc(100vw - 32px)!important;z-index:2147483647!important}
.mc-notice{width:350px!important;max-width:100%!important;border:1px solid var(--ui-line)!important;border-left-width:4px!important;border-radius:16px!important;padding:17px!important;background:var(--ui-surface)!important;box-shadow:0 12px 40px #272a2e20!important;animation:mc-dialog-enter .2s ease-out}
.mc-notice p{font-size:12px!important;line-height:1.7!important}.mc-notice b{font-size:13px!important}.mc-notice-icon{width:36px!important;height:36px!important;border-radius:11px!important}
.mc-confirm h2{font-size:22px!important;letter-spacing:-.5px}.mc-confirm p{font-size:13px!important;line-height:1.8!important;color:var(--ui-muted)!important}.mc-confirm footer{gap:10px;display:flex;justify-content:flex-end;margin-top:24px}
@keyframes mc-dialog-enter{from{opacity:0;transform:translateY(10px) scale(.99)}to{opacity:1;transform:none}}@keyframes mc-saving-spin{to{transform:rotate(360deg)}}
@media(max-width:560px){body.mc-v852 dialog .grid2{grid-template-columns:1fr!important;padding:20px!important;gap:16px!important}body.mc-v852 dialog .modal-head,body.mc-v852 dialog .modal-actions{padding:20px!important}.mc-notice-stack{right:16px!important;top:90px!important}.mc-notice{width:calc(100vw - 32px)!important}}
@media(prefers-reduced-motion:reduce){body.mc-v852 dialog[open],.mc-notice,.mc-saving-button::before{animation:none!important}}
body.mc-v852 :is(.af-dialog,.crop-dialog){border-radius:22px!important;max-height:calc(100dvh - 48px)!important;overflow:auto!important;box-shadow:0 30px 100px #21242840!important}
body.mc-v852 .af-dialog{width:min(680px,calc(100vw - 32px))!important;max-width:680px!important}
body.mc-v852 .crop-dialog{width:min(1040px,calc(100vw - 32px))!important;max-width:1040px!important}
.mc-inline-error{margin:16px 28px;padding:12px 15px;border:1px solid #f16b7c55;border-radius:12px;color:#cb304d;background:#f56d8010;font-size:12px;line-height:1.75}
body.dark .mc-inline-error,body[data-ui-mode=dark] .mc-inline-error{color:#ffabb9}
