/* Runcheng Admin UI 3.0 — presentation-only design system. */
:root{
  --rc-primary:#2f6bff;
  --rc-primary-strong:#1f56df;
  --rc-primary-soft:#edf3ff;
  --rc-ink:#182230;
  --rc-muted:#667085;
  --rc-subtle:#98a2b3;
  --rc-line:#e6eaf0;
  --rc-surface:#fff;
  --rc-canvas:#f4f6fa;
  --rc-success:#079455;
  --rc-warning:#dc6803;
  --rc-danger:#d92d20;
  --rc-shadow-sm:0 1px 2px rgba(16,24,40,.04),0 1px 5px rgba(16,24,40,.035);
  --rc-shadow-md:0 10px 30px rgba(16,24,40,.075),0 2px 8px rgba(16,24,40,.04);
  --rc-shadow-lg:0 24px 70px rgba(16,24,40,.2),0 8px 24px rgba(16,24,40,.1);
}

body:not(.login-mode){
  grid-template-columns:248px minmax(0,1fr)!important;
  overflow-x:hidden;
  color:var(--rc-ink)!important;
  background:
    radial-gradient(circle at 82% 0,rgba(47,107,255,.055),transparent 26rem),
    var(--rc-canvas)!important;
}

body:not(.login-mode)>aside{
  position:sticky!important;
  top:0!important;
  z-index:50!important;
  width:248px!important;
  height:100vh!important;
  padding:20px 14px 16px!important;
  overflow:hidden auto!important;
  border-right:1px solid var(--rc-line)!important;
  background:rgba(252,253,255,.96)!important;
  box-shadow:5px 0 24px rgba(16,24,40,.025)!important;
  color:var(--rc-ink)!important;
  scrollbar-width:thin;
}

body:not(.login-mode)>aside .brand{
  min-height:70px!important;
  margin:0 2px 14px!important;
  padding:2px 10px 18px!important;
  border-bottom:1px solid var(--rc-line)!important;
  gap:11px!important;
}
body:not(.login-mode)>aside .brand-logo-mark{
  width:42px!important;
  height:42px!important;
  padding:2px!important;
  border:1px solid #f1d3d0!important;
  border-radius:12px!important;
  background:#fff!important;
  box-shadow:var(--rc-shadow-sm)!important;
  object-fit:contain!important;
}
body:not(.login-mode)>aside .brand strong{color:var(--rc-ink)!important;font-size:16px!important;letter-spacing:-.01em}
body:not(.login-mode)>aside .brand small{margin-top:4px!important;color:var(--rc-muted)!important;font-size:11px!important}

body:not(.login-mode)>aside nav{display:grid!important;gap:13px!important;margin:0!important;padding:0 1px 16px!important}
.nav-section{display:grid!important;gap:4px!important}
.nav-section:not(:has(button:not([hidden]))){display:none!important}
/* 权限隐藏优先：applyRoleUi 通过 [hidden] 隐藏无权入口，必须压过上面的 !important */
.nav-section[hidden]{display:none!important}
body:not(.login-mode)>aside nav button[hidden]{display:none!important}
.nav-group-title{
  padding:0 11px 3px!important;
  color:var(--rc-subtle)!important;
  font-size:10px!important;
  font-weight:800!important;
  letter-spacing:.1em!important;
}
body:not(.login-mode)>aside nav button{
  position:relative;
  display:flex!important;
  align-items:center!important;
  gap:10px!important;
  width:100%!important;
  min-height:42px!important;
  padding:0 12px!important;
  border:1px solid transparent!important;
  border-radius:11px!important;
  background:transparent!important;
  color:#475467!important;
  font-size:13px!important;
  font-weight:700!important;
  text-align:left!important;
  box-shadow:none!important;
}
body:not(.login-mode)>aside nav button::after{
  position:absolute;
  right:9px;
  width:5px;
  height:5px;
  border-radius:50%;
  background:transparent;
  content:"";
}
body:not(.login-mode)>aside nav button:hover{
  border-color:#e4eaf4!important;
  background:#f4f7fc!important;
  color:#1d4ed8!important;
}
body:not(.login-mode)>aside nav button.active{
  border-color:#d9e5ff!important;
  background:linear-gradient(90deg,#eaf2ff,#f3f7ff)!important;
  color:#175cd3!important;
  box-shadow:0 5px 14px rgba(47,107,255,.08)!important;
}
body:not(.login-mode)>aside nav button.active::before{
  position:absolute;
  left:-3px;
  width:3px;
  height:22px;
  border-radius:0 4px 4px 0;
  background:var(--rc-primary);
  content:"";
}
body:not(.login-mode)>aside nav button.active::after{background:var(--rc-primary)}
body:not(.login-mode)>aside nav .admin-icon{
  width:28px!important;
  height:28px!important;
  padding:6px!important;
  border:1px solid #e7ebf1!important;
  border-radius:8px!important;
  background:#fff!important;
  color:#667085!important;
  box-shadow:0 1px 2px rgba(16,24,40,.03)!important;
}
body:not(.login-mode)>aside nav button.active .admin-icon{
  border-color:#cfe0ff!important;
  background:#fff!important;
  color:var(--rc-primary)!important;
}
body:not(.login-mode)>aside .company{
  margin-top:auto!important;
  padding:15px 10px 0!important;
  border-top:1px solid var(--rc-line)!important;
  color:var(--rc-muted)!important;
}
body:not(.login-mode)>aside .company button{
  min-height:34px!important;
  margin-top:9px!important;
  padding:0 11px!important;
  border:1px solid #dfe3e9!important;
  border-radius:9px!important;
  background:#fff!important;
  color:#475467!important;
  font-weight:700!important;
}

body:not(.login-mode)>main{
  width:100%!important;
  max-width:none!important;
  min-width:0!important;
  margin:0!important;
  padding:28px clamp(22px,2.6vw,42px) 64px!important;
  background:transparent!important;
}
body:not(.login-mode)>main>header{
  position:relative;
  min-height:112px!important;
  margin:0 0 20px!important;
  padding:22px 24px!important;
  overflow:hidden;
  border:1px solid #e1e7f0!important;
  border-radius:18px!important;
  background:
    radial-gradient(circle at 90% 30%,rgba(47,107,255,.12),transparent 18rem),
    linear-gradient(135deg,#fff,#f8faff)!important;
  box-shadow:var(--rc-shadow-sm)!important;
}
body:not(.login-mode)>main>header::after{
  position:absolute;
  top:-54px;
  right:6%;
  width:150px;
  height:150px;
  border:1px solid rgba(47,107,255,.09);
  border-radius:50%;
  box-shadow:0 0 0 34px rgba(47,107,255,.025),0 0 0 68px rgba(47,107,255,.018);
  pointer-events:none;
  content:"";
}
body:not(.login-mode)>main>header h1{
  margin:4px 0 0!important;
  color:var(--rc-ink)!important;
  font-size:30px!important;
  font-weight:850!important;
  letter-spacing:-.03em!important;
}
body:not(.login-mode)>main>header p{max-width:760px!important;margin-top:8px!important;color:var(--rc-muted)!important;line-height:1.65!important}
.page-eyebrow{color:var(--rc-primary)!important;font-size:11px!important;font-weight:850!important;letter-spacing:.09em!important}

button{border-radius:9px;transition:border-color .16s ease,background-color .16s ease,color .16s ease,box-shadow .16s ease}
.primary,
button.primary{
  border:1px solid var(--rc-primary)!important;
  border-radius:10px!important;
  background:linear-gradient(135deg,#3978ff,var(--rc-primary))!important;
  color:#fff!important;
  box-shadow:0 7px 16px rgba(47,107,255,.18)!important;
}
.primary:hover,button.primary:hover{border-color:var(--rc-primary-strong)!important;background:var(--rc-primary-strong)!important;box-shadow:0 9px 22px rgba(47,107,255,.22)!important}
button:focus-visible,input:focus-visible,select:focus-visible,textarea:focus-visible{outline:0!important;box-shadow:0 0 0 3px rgba(47,107,255,.15)!important}

input,select,textarea{
  border:1px solid #d8dee8!important;
  border-radius:9px!important;
  background:#fff!important;
  color:var(--rc-ink)!important;
}
input:hover,select:hover,textarea:hover{border-color:#b8c3d3!important}
input:focus,select:focus,textarea:focus{border-color:#75a0ff!important}

.dashboard-panel,
.automation-panel,
.crm-p0-card,
.list-panel,.editor,.student-list-panel,.student-editor,
.bank-upload-guide,.bank-preview-card,
.performance-detail-table,
.performance-summary-card{
  border:1px solid var(--rc-line)!important;
  border-radius:17px!important;
  background:rgba(255,255,255,.97)!important;
  box-shadow:var(--rc-shadow-sm)!important;
}
.panel-title,.editor-title,.modal-header,.drawer-header,.crm-drawer-head{
  border-bottom-color:var(--rc-line)!important;
}
.panel-title strong,.editor-title strong{color:var(--rc-ink)!important;letter-spacing:-.01em}
.panel-title small,.editor-title small{color:var(--rc-muted)!important}

.workbench-kpis,.crm-p0-kpis,.crm-order-summary,.business-kpi-grid{gap:12px!important}
.workbench-kpis>div,
.crm-p0-kpis>article,
.crm-order-summary>article,
.business-kpi-grid>article{
  position:relative;
  overflow:hidden;
  border:1px solid var(--rc-line)!important;
  border-radius:16px!important;
  background:linear-gradient(145deg,#fff,#fbfcff)!important;
  box-shadow:var(--rc-shadow-sm)!important;
}
.workbench-kpis>div::after,
.crm-p0-kpis>article::after,
.crm-order-summary>article::after,
.business-kpi-grid>article::after{
  position:absolute;
  top:0;
  left:18px;
  width:34px;
  height:3px;
  border-radius:0 0 4px 4px;
  background:var(--rc-primary);
  content:"";
}
.workbench-kpis b,.crm-p0-kpis strong,.crm-order-summary strong,.business-kpi-grid strong{color:var(--rc-ink)!important;letter-spacing:-.03em}

.crm-launcher,.workbench-quick-actions{
  border:1px solid var(--rc-line)!important;
  border-radius:16px!important;
  background:#fff!important;
  box-shadow:var(--rc-shadow-sm)!important;
}
.crm-launcher button,.workbench-quick-actions button{
  border:1px solid #e7ebf1!important;
  border-radius:11px!important;
  background:#fbfcfe!important;
  color:#344054!important;
}
.crm-launcher button:hover,.workbench-quick-actions button:hover{border-color:#ccdcff!important;background:var(--rc-primary-soft)!important;color:#175cd3!important}

.crm-tabs{border-bottom-color:var(--rc-line)!important;background:#fff!important}
.crm-tabs button{color:var(--rc-muted)!important}
.crm-tabs button.active{border-bottom-color:var(--rc-primary)!important;color:var(--rc-primary)!important}
.crm-filterbar,.crm-advanced-filters,.student-toolbar{border-color:var(--rc-line)!important;background:#fff!important}
.crm-advanced-filters{background:#f8fafc!important}

.table-wrap,.crm-table-wrap,.performance-table-wrap{scrollbar-color:#cbd5e1 transparent;scrollbar-width:thin}
table thead th,.crm-table th,.performance-table th{
  border-bottom:1px solid var(--rc-line)!important;
  background:#f8fafc!important;
  color:#667085!important;
  font-size:12px!important;
  font-weight:750!important;
  letter-spacing:.015em;
}
table tbody td,.crm-table td,.performance-table td{border-bottom-color:#edf0f4!important;color:#344054!important}
table tbody tr:hover td,.crm-table tr:hover td,.performance-table tr:hover td{background:#f8fbff!important}

.crm-badge,.tag{border:1px solid rgba(152,162,179,.18);font-weight:700}
.crm-empty-state,.async-state.empty{
  background:
    radial-gradient(circle at center,rgba(47,107,255,.055),transparent 11rem),
    #fff!important;
}
.crm-empty-icon{border:1px solid #dce7ff;background:var(--rc-primary-soft)!important;color:var(--rc-primary)!important;box-shadow:0 6px 18px rgba(47,107,255,.1)}

.modal-mask{
  background:rgba(15,23,42,.46)!important;
  backdrop-filter:blur(6px)!important;
}
.modal-panel{
  border:1px solid rgba(255,255,255,.72)!important;
  border-radius:19px!important;
  background:#fff!important;
  box-shadow:var(--rc-shadow-lg)!important;
}
.crm-editor-header,.crm-editor-footer{border-color:var(--rc-line)!important;background:#fff!important}
.crm-editor-header strong,.modal-header strong,.panel-title strong{color:var(--rc-ink)!important}
.crm-editor-footer{background:#fbfcfe!important}
.quiet-close{border:1px solid #dfe3e9!important;border-radius:9px!important;background:#fff!important;color:#475467!important}
.quiet-close:hover{border-color:#c7d5ec!important;background:#f5f8fd!important;color:#175cd3!important}

.crm-drawer-mask,.drawer-mask{background:rgba(15,23,42,.42)!important;backdrop-filter:blur(5px)!important}
body:not(.login-mode) aside.crm-detail-drawer,
body:not(.login-mode) aside.crm-followup-drawer,
body:not(.login-mode) aside.lead-detail-drawer{
  border-left:1px solid rgba(255,255,255,.7)!important;
  background:#fff!important;
  box-shadow:-22px 0 70px rgba(16,24,40,.2)!important;
  will-change:transform,opacity;
}
.crm-drawer-head,.drawer-header{background:linear-gradient(180deg,#fff,#fbfcff)!important}
.crm-detail-body,.lead-detail-body{background:#fbfcfe!important}
.crm-info-card,.crm-contact-card,.crm-timeline article{border-color:var(--rc-line)!important;border-radius:13px!important;background:#fff!important;box-shadow:var(--rc-shadow-sm)!important}

.modal-panel,.crm-action-menu,.crm-detail-drawer,.crm-followup-drawer,.lead-detail-drawer{will-change:transform,opacity}
.crm-action-menu{border-color:var(--rc-line)!important;border-radius:12px!important;box-shadow:var(--rc-shadow-md)!important}

*{scrollbar-color:#cbd5e1 transparent}
::-webkit-scrollbar{width:9px;height:9px}
::-webkit-scrollbar-thumb{border:2px solid transparent;border-radius:999px;background:#cbd5e1;background-clip:padding-box}
::-webkit-scrollbar-thumb:hover{background:#94a3b8;background-clip:padding-box}

/* Workbench hierarchy: preserve the established radii, reduce card stacking. */
#dashboardView>.workbench-header{min-height:118px!important;margin-bottom:16px!important;padding:22px 24px!important}
#dashboardView>.workbench-header::after{opacity:.18}
#dashboardView .workbench-title-row{display:flex;align-items:baseline;gap:15px;margin-top:3px}
#dashboardView .workbench-title-row h1{margin:0!important}
#dashboardView .workbench-title-row time{color:#667085;font-size:12px;font-weight:650;white-space:nowrap}
#dashboardView .workbench-focus-grid{
  grid-template-columns:minmax(600px,1.48fr) minmax(350px,.92fr)!important;
  gap:16px!important;
  margin-top:0!important;
}
#dashboardView .priority-panel{padding:0!important;overflow:hidden}
#dashboardView .priority-panel>.panel-title{padding:18px 20px 14px!important;border-bottom:0!important}
#dashboardView .workbench-priority-metrics{
  display:grid!important;
  grid-template-columns:repeat(4,minmax(0,1fr))!important;
  gap:0!important;
  margin:0!important;
  padding:0 20px 14px!important;
  overflow:visible!important;
  border:0!important;
  border-bottom:1px solid var(--rc-line)!important;
  border-radius:0!important;
  background:#fff!important;
  box-shadow:none!important;
}
#dashboardView .workbench-priority-metrics>div{
  display:grid!important;
  grid-template-columns:auto auto!important;
  align-items:baseline!important;
  justify-content:start!important;
  gap:3px 7px!important;
  min-width:0!important;
  min-height:0!important;
  padding:9px 15px!important;
  border:0!important;
  border-right:1px solid var(--rc-line)!important;
  border-radius:0!important;
  background:transparent!important;
  box-shadow:none!important;
}
#dashboardView .workbench-priority-metrics>div:first-child{padding-left:0!important}
#dashboardView .workbench-priority-metrics>div:last-of-type{border-right:0!important}
#dashboardView .workbench-priority-metrics>div::after{display:none!important}
#dashboardView .workbench-priority-metrics span{grid-column:1;color:#667085!important;font-size:12px!important;font-weight:700}
#dashboardView .workbench-priority-metrics b{grid-column:2;color:var(--rc-ink)!important;font-size:18px!important;letter-spacing:-.02em!important}
#dashboardView .workbench-priority-metrics small{grid-column:1/-1;color:#98a2b3!important;font-size:11px!important;line-height:1.35}
#dashboardView .workbench-priority-metrics .kpi-today b{color:var(--rc-primary)!important}
#dashboardView .workbench-priority-metrics .kpi-overdue b{color:var(--rc-danger)!important}
#dashboardView .dashboard-task-head{margin:0!important;padding:10px 20px!important;background:#fafbfc}
#dashboardView .priority-panel .dashboard-task{padding:14px 20px!important}
#dashboardView .priority-panel .dashboard-empty{min-height:142px!important;padding:28px 20px!important}
#dashboardView .funnel-panel{padding:18px 20px!important}
#dashboardView .funnel-panel .crm-funnel{gap:13px!important;margin-top:16px!important}
#dashboardView .funnel-panel .funnel-summary{margin-top:16px!important;padding-top:14px!important;border-top:1px solid var(--rc-line)}
#dashboardView .workbench-revenue-strip{
  display:grid!important;
  grid-template-columns:repeat(3,minmax(0,1fr))!important;
  gap:0!important;
  margin:14px 0 0!important;
  padding-top:14px!important;
  overflow:visible!important;
  border-top:1px solid var(--rc-line)!important;
}
#dashboardView .workbench-revenue-strip>article{
  display:grid!important;
  gap:3px!important;
  min-height:0!important;
  padding:1px 12px!important;
  border:0!important;
  border-right:1px solid var(--rc-line)!important;
  border-radius:0!important;
  background:transparent!important;
  box-shadow:none!important;
}
#dashboardView .workbench-revenue-strip>article:first-child{padding-left:0!important}
#dashboardView .workbench-revenue-strip>article:last-child{padding-right:0!important;border-right:0!important}
#dashboardView .workbench-revenue-strip>article::after{display:none!important}
#dashboardView .workbench-revenue-strip small{color:#667085!important;font-size:11px!important;font-weight:700}
#dashboardView .workbench-revenue-strip strong{color:var(--rc-ink)!important;font-size:17px!important}
#dashboardView .workbench-revenue-strip span{overflow:hidden;color:#98a2b3!important;font-size:10px!important;text-overflow:ellipsis;white-space:nowrap}

#dashboardView .workbench-tools-grid{
  display:grid;
  grid-template-columns:minmax(560px,1.08fr) minmax(420px,.92fr);
  gap:16px;
  align-items:start;
  margin-top:16px;
}
#dashboardView .workbench-quick-actions{
  order:2;
  display:grid!important;
  grid-template-columns:repeat(5,minmax(0,1fr));
  align-content:start;
  gap:8px!important;
  margin:0!important;
  padding:16px!important;
  border-radius:14px!important;
}
#dashboardView .workbench-quick-actions>strong{grid-column:1/-1;margin:0 0 4px!important;color:var(--rc-ink)!important;font-size:14px!important}
#dashboardView .workbench-quick-actions button{
  display:grid!important;
  grid-template-columns:1fr!important;
  justify-items:center!important;
  gap:7px!important;
  min-width:0!important;
  min-height:72px!important;
  padding:10px 6px!important;
}
#dashboardView .workbench-quick-actions button .admin-icon{width:20px!important;height:20px!important}
#dashboardView .workbench-secondary-grid{display:block!important;margin:0!important}
#dashboardView .workbench-secondary-grid{order:1}
#dashboardView .workbench-secondary-grid>.dashboard-panel{height:100%;padding:16px!important}
#dashboardView .workbench-secondary-grid .panel-title{padding:0 0 12px!important}
#dashboardView .workbench-secondary-grid .dashboard-actions{
  grid-template-columns:repeat(3,minmax(0,1fr))!important;
  gap:0 14px!important;
  margin-top:0!important;
}
#dashboardView .workbench-secondary-grid .dashboard-actions button{
  grid-template-columns:minmax(0,1fr) auto!important;
  min-height:43px!important;
  padding:8px 2px!important;
  border:0!important;
  border-bottom:1px solid var(--rc-line)!important;
  border-radius:0!important;
  background:#fff!important;
}
#dashboardView .workbench-secondary-grid .dashboard-actions button:hover{background:#f8faff!important;color:#245bdb!important}
#dashboardView .workbench-secondary-grid .dashboard-actions strong{
  order:2!important;
  display:block!important;
  width:auto!important;
  height:auto!important;
  padding:0!important;
  border-radius:0!important;
  background:transparent!important;
  color:var(--rc-primary)!important;
  font-size:15px!important;
}
#dashboardView .workbench-secondary-grid .dashboard-actions span{order:1;color:#344054!important;font-size:12px!important;font-weight:700}
#dashboardView .dashboard-business-grid,
#dashboardView .collection-trend-panel,
#dashboardView .data-quality-panel,
#dashboardView .automation-panel{margin-top:16px!important}

@media(max-width:1180px){
  #dashboardView .workbench-focus-grid{grid-template-columns:1fr!important}
  #dashboardView .workbench-tools-grid{grid-template-columns:1fr!important}
}

@media(max-width:900px){
  body:not(.login-mode){display:block!important;background:var(--rc-canvas)!important}
  body:not(.login-mode)>aside{
    position:sticky!important;
    top:0!important;
    display:block!important;
    width:100%!important;
    height:auto!important;
    max-height:none!important;
    padding:9px 12px!important;
    overflow:visible!important;
    border-right:0!important;
    border-bottom:1px solid var(--rc-line)!important;
    background:rgba(255,255,255,.96)!important;
    backdrop-filter:blur(14px);
  }
  body:not(.login-mode)>aside .brand{min-height:42px!important;margin:0!important;padding:0 2px 8px!important;border:0!important}
  body:not(.login-mode)>aside .brand-logo-mark{width:34px!important;height:34px!important;border-radius:9px!important}
  body:not(.login-mode)>aside nav{display:flex!important;gap:7px!important;margin:0!important;padding:0!important;overflow-x:auto!important;scrollbar-width:none}
  body:not(.login-mode)>aside nav::-webkit-scrollbar{display:none}
  .nav-section{display:contents!important}
  .nav-group-title{display:none!important}
  body:not(.login-mode)>aside nav button{flex:0 0 auto!important;width:auto!important;min-height:38px!important;padding:0 11px!important}
  body:not(.login-mode)>aside nav button.active::before{display:none}
  body:not(.login-mode)>aside nav button::after{display:none}
  body:not(.login-mode)>aside nav .admin-icon{width:24px!important;height:24px!important;padding:5px!important}
  body:not(.login-mode)>aside .company{display:none!important}
  body:not(.login-mode)>main{padding:18px 14px 38px!important}
  body:not(.login-mode)>main>header{min-height:0!important;padding:18px!important;border-radius:15px!important}
  body:not(.login-mode)>main>header::after{display:none}
  #dashboardView .workbench-priority-metrics{grid-template-columns:repeat(2,minmax(0,1fr))!important}
  #dashboardView .workbench-priority-metrics>div:nth-child(2){border-right:0!important}
  #dashboardView .workbench-priority-metrics>div:nth-child(-n+2){border-bottom:1px solid var(--rc-line)!important}
  #dashboardView .workbench-quick-actions{grid-template-columns:repeat(5,minmax(92px,1fr));overflow-x:auto}
  #dashboardView .workbench-revenue-strip{grid-template-columns:repeat(3,minmax(100px,1fr))!important;overflow-x:auto!important}
}

@media(max-width:620px){
  body:not(.login-mode)>main{padding:12px 10px 32px!important}
  body:not(.login-mode)>main>header{align-items:flex-start!important;flex-direction:column!important;gap:14px!important;margin-bottom:14px!important;padding:16px!important}
  body:not(.login-mode)>main>header h1{font-size:25px!important}
  body:not(.login-mode)>main>header>button,
  body:not(.login-mode)>main>header>div:last-child:not(:first-child){width:100%}
  .dashboard-panel,.automation-panel,.crm-p0-card,.list-panel,.editor,.student-list-panel,.student-editor{border-radius:14px!important}
  .modal-mask{padding:9px!important;backdrop-filter:blur(3px)!important}
  .modal-panel{border-radius:15px!important}
  body:not(.login-mode)>main#studentsView>.summary{
    grid-template-columns:repeat(2,minmax(0,1fr))!important;
    max-width:100%!important;
    overflow:hidden!important;
  }
  body:not(.login-mode)>main#studentsView>.summary>div{
    width:auto!important;
    min-width:0!important;
  }
  #dashboardView .workbench-priority-metrics{padding:0 14px 12px!important}
  #dashboardView .workbench-priority-metrics>div{padding:9px 10px!important}
  #dashboardView .workbench-priority-metrics>div:nth-child(odd){padding-left:0!important}
  #dashboardView .workbench-priority-metrics small{display:block!important}
  #dashboardView .workbench-tools-grid{gap:14px;margin-top:14px}
  #dashboardView .workbench-secondary-grid .dashboard-actions{grid-template-columns:repeat(2,minmax(0,1fr))!important}
  #dashboardView .workbench-title-row{display:block}
  #dashboardView .workbench-title-row time{display:block;margin-top:4px}
}

@media(prefers-reduced-motion:reduce){
  .modal-panel,.crm-detail-drawer,.crm-followup-drawer,.lead-detail-drawer{will-change:auto}
  *{scroll-behavior:auto!important}
}
