/* DisplayMint Backoffice v2 — alpha.28 */
:root{
  --dm2-bg:#f5f7f9;
  --dm2-panel:#ffffff;
  --dm2-panel-subtle:#f8fafb;
  --dm2-text:#182230;
  --dm2-text-2:#475467;
  --dm2-muted:#7a8696;
  --dm2-line:#dce3ea;
  --dm2-line-2:#e9edf2;
  --dm2-brand:#0e4a3f;
  --dm2-brand-2:#126657;
  --dm2-accent:#1f8f78;
  --dm2-accent-soft:#e8f5f1;
  --dm2-danger:#b4233c;
  --dm2-danger-soft:#fff1f3;
  --dm2-warn:#b54708;
  --dm2-warn-soft:#fff6e8;
  --dm2-blue:#175cd3;
  --dm2-sidebar:248px;
  --dm2-topbar:64px;
  --dm2-radius:8px;
  --dm2-shadow:0 1px 2px rgba(16,24,40,.04),0 5px 18px rgba(16,24,40,.04);
}

html,body{background:var(--dm2-bg)!important;color:var(--dm2-text)!important}
body{font-family:Inter,ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif!important}

/* Shell */
.portal.dm-v2-shell{
  min-height:100vh!important;
  display:grid!important;
  grid-template-columns:var(--dm2-sidebar) minmax(0,1fr)!important;
  background:var(--dm2-bg)!important;
}
.dm-v2-shell>.sidebar{display:none!important}
.dm-v2-shell>.main{
  min-width:0!important;
  width:auto!important;
  margin:0!important;
  background:var(--dm2-bg)!important;
}
.dm-v2-sidebar{
  position:sticky;
  top:0;
  z-index:120;
  height:100vh;
  min-height:100vh;
  display:flex;
  flex-direction:column;
  overflow:hidden;
  background:#0f332d;
  color:#fff;
  border-right:1px solid rgba(255,255,255,.06);
}
.dm-v2-brand{
  min-height:68px;
  display:flex;
  align-items:center;
  justify-content:space-between;
  padding:0 18px;
  border-bottom:1px solid rgba(255,255,255,.08);
}
.dm-v2-brand img{display:block;width:137px;height:auto}
.dm-v2-mobile-close{
  display:none;
  border:0;
  background:transparent;
  color:rgba(255,255,255,.8);
  font-size:26px;
}
.dm-v2-nav{
  flex:1;
  overflow:auto;
  padding:14px 10px 18px;
  scrollbar-width:thin;
  scrollbar-color:rgba(255,255,255,.18) transparent;
}
.dm-v2-nav-section{margin:0 0 14px}
.dm-v2-nav-heading{
  padding:7px 10px 6px;
  color:rgba(255,255,255,.42);
  font-size:9px;
  font-weight:800;
  letter-spacing:.09em;
  text-transform:uppercase;
}
.dm-v2-nav-item{
  width:100%;
  min-height:40px;
  display:grid;
  grid-template-columns:22px minmax(0,1fr);
  align-items:center;
  gap:8px;
  margin:2px 0;
  padding:8px 10px;
  border:0;
  border-radius:7px;
  background:transparent;
  color:rgba(255,255,255,.74);
  text-align:left;
  cursor:pointer;
  transition:background .12s ease,color .12s ease;
}
.dm-v2-nav-item:hover{background:rgba(255,255,255,.07);color:#fff}
.dm-v2-nav-item.active{
  background:#fff;
  color:#173d35;
  box-shadow:0 1px 2px rgba(0,0,0,.12);
}
.dm-v2-nav-icon{
  width:22px;
  display:grid;
  place-items:center;
  font-size:13px;
  opacity:.84;
}
.dm-v2-nav-label{
  min-width:0;
  overflow:hidden;
  text-overflow:ellipsis;
  white-space:nowrap;
  font-size:12px;
  font-weight:650;
}
.dm-v2-sidebar-bottom{
  flex:0 0 auto;
  padding:10px;
  border-top:1px solid rgba(255,255,255,.08);
  background:rgba(0,0,0,.08);
}
.dm-v2-admin-shortcuts{padding:0 0 9px}
.dm-v2-shortcut-heading{
  padding:3px 7px 6px;
  color:rgba(255,255,255,.42);
  font-size:8.5px;
  font-weight:800;
  letter-spacing:.08em;
  text-transform:uppercase;
}
.dm-v2-shortcut-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:5px}
.dm-v2-shortcut-grid button{
  min-height:32px;
  padding:5px 7px;
  border:1px solid rgba(255,255,255,.1);
  border-radius:6px;
  background:rgba(255,255,255,.055);
  color:rgba(255,255,255,.8);
  font-size:9px;
  font-weight:700;
  cursor:pointer;
}
.dm-v2-shortcut-grid button:hover{background:rgba(255,255,255,.1);color:#fff}
.dm-v2-account{
  width:100%;
  display:grid;
  grid-template-columns:34px minmax(0,1fr);
  align-items:center;
  gap:9px;
  padding:8px;
  border:0;
  border-radius:7px;
  background:transparent;
  color:#fff;
  text-align:left;
  cursor:pointer;
}
.dm-v2-account:hover{background:rgba(255,255,255,.07)}
.dm-v2-avatar{
  width:34px;height:34px;
  display:grid;place-items:center;
  border-radius:8px;
  background:rgba(255,255,255,.12);
  color:#fff;
  font-size:10px;
  font-weight:800;
}
.dm-v2-account span:last-child{min-width:0}
.dm-v2-account strong,.dm-v2-account small{
  display:block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap
}
.dm-v2-account strong{font-size:11px}
.dm-v2-account small{margin-top:2px;color:rgba(255,255,255,.48);font-size:9px}

/* Header */
.dm-v2-shell .topbar.dm-v2-topbar{
  position:sticky!important;
  top:0!important;
  z-index:100!important;
  min-height:var(--dm2-topbar)!important;
  height:var(--dm2-topbar)!important;
  display:flex!important;
  align-items:center!important;
  gap:12px!important;
  padding:0 20px!important;
  border-bottom:1px solid var(--dm2-line)!important;
  background:rgba(255,255,255,.96)!important;
  box-shadow:none!important;
  backdrop-filter:blur(12px)!important;
}
.dm-v2-shell .topbar .dm-topbar-context{
  flex:1 1 auto!important;
  min-width:0!important;
  display:flex!important;
  align-items:center!important;
  gap:14px!important;
}
.dm-v2-shell .topbar #top-title{
  flex:0 1 auto;
  margin:0!important;
  color:var(--dm2-text)!important;
  font-size:14px!important;
  font-weight:750!important;
  white-space:nowrap;
}
.dm-v2-shell .topbar .dm-venue-switcher{
  display:flex!important;
  align-items:center!important;
  margin-left:auto!important;
  flex:0 1 360px!important;
  min-width:220px!important;
  max-width:360px!important;
}
.dm-v2-shell .topbar .dm-venue-switcher>span{display:none!important}
.dm-v2-shell .topbar .dm-top-health{display:none!important}
.dm-v2-shell .topbar .top-actions{
  flex:0 0 auto!important;
  display:flex!important;
  align-items:center!important;
  gap:6px!important;
}
.dm-v2-shell .topbar .top-actions .btn{
  min-height:36px!important;
  padding:7px 11px!important;
  border-radius:6px!important;
  font-size:10.5px!important;
}
.dm-v2-mobile-open{
  display:none;
  width:36px;height:36px;
  border:1px solid var(--dm2-line);
  border-radius:6px;
  background:#fff;
  color:var(--dm2-text);
  font-size:16px;
}
.dm-v2-search{
  flex:0 0 auto;
  min-height:36px;
  display:flex;
  align-items:center;
  gap:8px;
  padding:0 10px;
  border:1px solid var(--dm2-line);
  border-radius:6px;
  background:#fff;
  color:var(--dm2-text-2);
  cursor:pointer;
}
.dm-v2-search:hover{background:#f8fafb}
.dm-v2-search span{font-size:10.5px;font-weight:650}
.dm-v2-search kbd{
  padding:2px 5px;
  border:1px solid #d5dde5;
  border-bottom-width:2px;
  border-radius:4px;
  background:#f7f9fb;
  color:#7b8795;
  font:700 8px/1.2 inherit;
}

/* Content */
.dm-v2-shell .content{
  width:100%!important;
  max-width:none!important;
  margin:0!important;
  padding:22px 24px 56px!important;
  background:var(--dm2-bg)!important;
}
.dm-v2-shell .page-head,
.dm-v2-shell .suite-hero,
.dm-v2-shell .dm-operator-head{
  max-width:none!important;
  margin:0 0 16px!important;
  padding:0 0 14px!important;
  border-bottom:1px solid var(--dm2-line)!important;
}
.dm-v2-shell .page-head h2,
.dm-v2-shell .suite-hero h2,
.dm-v2-shell .dm-operator-head h2{
  margin:0!important;
  color:var(--dm2-text)!important;
  font-size:24px!important;
  line-height:1.15!important;
  letter-spacing:-.025em!important;
}
.dm-v2-shell .page-head p,
.dm-v2-shell .suite-hero p,
.dm-v2-shell .dm-operator-head p{
  margin:5px 0 0!important;
  max-width:780px!important;
  color:var(--dm2-muted)!important;
  font-size:11.5px!important;
  line-height:1.5!important;
}
.dm-v2-shell .dm-page-eyebrow,
.dm-v2-shell .suite-kicker,
.dm-v2-shell .dm-panel-kicker{
  display:block!important;
  margin-bottom:5px!important;
  color:#357c6e!important;
  font-size:8.5px!important;
  font-weight:850!important;
  letter-spacing:.08em!important;
  text-transform:uppercase!important;
}

/* Universal surfaces */
.dm-v2-shell .panel,
.dm-v2-shell .card,
.dm-v2-shell .suite-metric,
.dm-v2-shell .dm-page-metric,
.dm-v2-shell .stat{
  border:1px solid var(--dm2-line)!important;
  border-radius:var(--dm2-radius)!important;
  background:var(--dm2-panel)!important;
  color:var(--dm2-text)!important;
  box-shadow:none!important;
}
.dm-v2-shell .panel+.panel{margin-top:12px!important}
.dm-v2-shell .panel-head{
  min-height:50px!important;
  display:flex!important;
  align-items:center!important;
  justify-content:space-between!important;
  gap:12px!important;
  padding:11px 13px!important;
  border-bottom:1px solid var(--dm2-line-2)!important;
  background:#fff!important;
}
.dm-v2-shell .panel-head h3{
  margin:0!important;
  color:var(--dm2-text)!important;
  font-size:12.5px!important;
  font-weight:750!important;
}
.dm-v2-shell .panel-body{padding:14px!important;color:var(--dm2-text-2)!important}
.dm-v2-shell .dm-panel-subtitle{color:var(--dm2-muted)!important;font-size:9.5px!important}
.dm-v2-shell .suite-grid,
.dm-v2-shell .dm-dashboard-grid,
.dm-v2-shell .dm-operator-grid{gap:12px!important}
.dm-v2-shell .suite-metrics,
.dm-v2-shell .dm-page-metrics,
.dm-v2-shell .stats{gap:8px!important;margin:0 0 14px!important}
.dm-v2-shell .suite-metric,
.dm-v2-shell .dm-page-metric,
.dm-v2-shell .stat{padding:13px 14px!important}
.dm-v2-shell .suite-metric span,
.dm-v2-shell .dm-page-metric span,
.dm-v2-shell .stat span{
  color:var(--dm2-muted)!important;
  font-size:8.5px!important;
  font-weight:750!important;
  letter-spacing:.04em!important;
  text-transform:uppercase!important;
}
.dm-v2-shell .suite-metric strong,
.dm-v2-shell .dm-page-metric strong,
.dm-v2-shell .stat strong{margin-top:4px!important;color:var(--dm2-text)!important;font-size:21px!important}

/* Overview */
.dm-v2-shell .dm-summary-strip{
  margin:0 0 14px!important;
  border:1px solid var(--dm2-line)!important;
  border-radius:var(--dm2-radius)!important;
  background:#fff!important;
  overflow:hidden!important;
}
.dm-v2-shell .dm-summary-strip>button{
  min-height:78px!important;
  padding:12px 14px!important;
  border-right:1px solid var(--dm2-line-2)!important;
  background:#fff!important;
}
.dm-v2-shell .dm-summary-strip>button:hover{background:#f8fafb!important}
.dm-v2-shell .dm-summary-strip span{font-size:8.5px!important;color:var(--dm2-muted)!important}
.dm-v2-shell .dm-summary-strip strong{font-size:21px!important;color:var(--dm2-text)!important}
.dm-v2-shell .dm-summary-strip small{font-size:9px!important;color:#8b96a5!important}
.dm-v2-shell .dm-operator-grid{
  grid-template-columns:minmax(0,1.6fr) minmax(280px,.7fr)!important;
}
.dm-v2-shell .dm-operator-list>button{
  min-height:43px!important;
  padding:9px 12px!important;
  border-bottom:1px solid var(--dm2-line-2)!important;
  background:#fff!important;
  color:var(--dm2-text-2)!important;
}
.dm-v2-shell .dm-operator-list>button:hover{background:#f8fafb!important}
.dm-v2-shell .dm-operator-list>button span{font-size:10.5px!important}
.dm-v2-shell .dm-operator-list>button strong{font-size:12px!important;color:var(--dm2-text)!important}

/* Tables */
.dm-v2-shell .table-wrap{
  width:100%!important;
  overflow:auto!important;
  border-radius:0 0 var(--dm2-radius) var(--dm2-radius)!important;
}
.dm-v2-shell table{
  width:100%!important;
  border-collapse:collapse!important;
  background:#fff!important;
  color:var(--dm2-text)!important;
}
.dm-v2-shell thead th{
  padding:9px 11px!important;
  border-bottom:1px solid var(--dm2-line)!important;
  background:#f8fafb!important;
  color:#667085!important;
  font-size:8.5px!important;
  font-weight:800!important;
  letter-spacing:.04em!important;
  text-transform:uppercase!important;
  text-align:left!important;
}
.dm-v2-shell tbody td{
  padding:10px 11px!important;
  border-bottom:1px solid var(--dm2-line-2)!important;
  color:#344054!important;
  font-size:10.5px!important;
  vertical-align:middle!important;
}
.dm-v2-shell tbody tr:last-child td{border-bottom:0!important}
.dm-v2-shell tbody tr:hover td{background:#fbfcfd!important}
.dm-v2-shell tbody td strong{color:var(--dm2-text)!important}

/* Forms and buttons */
.dm-v2-shell .btn,
body>.modal-backdrop .btn{
  min-height:36px!important;
  padding:7px 11px!important;
  border:1px solid #cfd8e1!important;
  border-radius:6px!important;
  background:#fff!important;
  color:#344054!important;
  box-shadow:none!important;
  font-size:10.5px!important;
  font-weight:700!important;
  cursor:pointer!important;
}
.dm-v2-shell .btn:hover,
body>.modal-backdrop .btn:hover{background:#f8fafb!important;border-color:#b9c4cf!important;color:#172233!important}
.dm-v2-shell .btn-primary,
body>.modal-backdrop .btn-primary{
  border-color:#177361!important;
  background:var(--dm2-accent)!important;
  color:#fff!important;
}
.dm-v2-shell .btn-primary:hover,
body>.modal-backdrop .btn-primary{background:#187862!important;border-color:#126555!important;color:#fff!important}
.dm-v2-shell .btn-danger,
body>.modal-backdrop .btn-danger{
  border-color:#efc5cc!important;
  background:var(--dm2-danger-soft)!important;
  color:var(--dm2-danger)!important;
}
.dm-v2-shell .field{gap:5px!important;margin:10px 0!important}
.dm-v2-shell label,
.dm-v2-shell .field>span{color:#475467!important;font-size:10.5px!important;font-weight:650!important}
.dm-v2-shell input,
.dm-v2-shell select,
.dm-v2-shell textarea{
  width:100%;
  min-height:39px!important;
  padding:8px 10px!important;
  border:1px solid #cfd8e1!important;
  border-radius:6px!important;
  background:#fff!important;
  color:#182230!important;
  box-shadow:none!important;
  font-size:11px!important;
}
.dm-v2-shell input:focus,
.dm-v2-shell select:focus,
.dm-v2-shell textarea:focus{
  outline:none!important;
  border-color:#5f9f90!important;
  box-shadow:0 0 0 3px rgba(31,143,120,.1)!important;
}
.dm-v2-shell select option{background:#fff!important;color:#182230!important}
.dm-v2-shell .field-grid{gap:10px!important}
.dm-v2-shell .pill{
  display:inline-flex!important;
  align-items:center!important;
  min-height:23px!important;
  padding:3px 7px!important;
  border:1px solid var(--dm2-line)!important;
  border-radius:999px!important;
  background:#f8fafb!important;
  color:#475467!important;
  font-size:9px!important;
  font-weight:700!important;
}
.dm-v2-shell .good-pill{border-color:#b7dfd2!important;background:#eff9f5!important;color:#176f5f!important}
.dm-v2-shell .warn-pill{border-color:#f1d4a8!important;background:#fff8eb!important;color:#a45808!important}
.dm-v2-shell .status.online{color:#087a5b!important}
.dm-v2-shell .status.offline{color:#c1263d!important}
.dm-v2-shell .empty{
  min-height:78px!important;
  display:grid!important;
  place-items:center!important;
  padding:20px!important;
  border:1px dashed #d9e1e8!important;
  border-radius:6px!important;
  background:#fbfcfd!important;
  color:#8a96a5!important;
  font-size:10.5px!important;
}

/* Resource cards/lists */
.dm-v2-shell .dm-resource-grid{gap:10px!important}
.dm-v2-shell .dm-resource-card{padding:14px!important}
.dm-v2-shell .dm-resource-card h3{margin:2px 0 0!important;color:var(--dm2-text)!important;font-size:14px!important}
.dm-v2-shell .dm-resource-card p{color:var(--dm2-muted)!important;font-size:10.5px!important}
.dm-v2-shell .dm-resource-type{color:#778493!important;font-size:8.5px!important}
.dm-v2-shell .suite-row{
  min-height:50px!important;
  padding:10px 0!important;
  border-bottom:1px solid var(--dm2-line-2)!important;
  color:#344054!important;
}
.dm-v2-shell .suite-row strong{color:var(--dm2-text)!important;font-size:11px!important}
.dm-v2-shell .suite-row span,.dm-v2-shell .suite-row small{color:var(--dm2-muted)!important;font-size:9.5px!important}

/* Suite + advanced legacy views: force one coherent light system */
.dm-v2-shell .suite-grid,
.dm-v2-shell .suite-list,
.dm-v2-shell .device-grid,
.dm-v2-shell .template-grid,
.dm-v2-shell .check-list{
  color:var(--dm2-text)!important;
}
.dm-v2-shell .suite-list div,
.dm-v2-shell .device-grid span,
.dm-v2-shell .template-grid .card,
.dm-v2-shell .check-list .check,
.dm-v2-shell .day-check,
.dm-v2-shell .designer-inspector{
  border-color:var(--dm2-line)!important;
  background:#fff!important;
  color:var(--dm2-text)!important;
}
.dm-v2-shell .suite-list span,
.dm-v2-shell .device-grid span,
.dm-v2-shell .check-list small,
.dm-v2-shell .suite-validation span{color:var(--dm2-muted)!important}
.dm-v2-shell code{
  border:1px solid #dfe5eb!important;
  background:#f3f5f7!important;
  color:#344054!important;
}

/* Modals */
body>.modal-backdrop{
  z-index:1000!important;
  display:grid!important;
  place-items:center!important;
  padding:18px!important;
  background:rgba(16,24,40,.42)!important;
  backdrop-filter:blur(4px)!important;
}
body>.modal-backdrop .modal{
  width:min(760px,100%)!important;
  max-height:90vh!important;
  overflow:auto!important;
  border:1px solid #d6dee7!important;
  border-radius:10px!important;
  background:#fff!important;
  color:var(--dm2-text)!important;
  box-shadow:0 24px 70px rgba(16,24,40,.22)!important;
}
body>.modal-backdrop .modal.modal-wide{width:min(960px,100%)!important}
body>.modal-backdrop .modal-head{
  position:sticky!important;
  top:0!important;
  z-index:3!important;
  min-height:56px!important;
  display:flex!important;
  align-items:center!important;
  justify-content:space-between!important;
  padding:13px 16px!important;
  border-bottom:1px solid var(--dm2-line-2)!important;
  background:#fff!important;
}
body>.modal-backdrop .modal-head h3{margin:0!important;color:var(--dm2-text)!important;font-size:14px!important}
body>.modal-backdrop .modal-head .close{
  width:32px!important;height:32px!important;
  border:0!important;border-radius:6px!important;
  background:transparent!important;color:#667085!important;font-size:19px!important
}
body>.modal-backdrop .modal-body{padding:16px!important;background:#fff!important;color:#344054!important}
body>.modal-backdrop .modal-actions{
  position:sticky!important;
  bottom:0!important;
  z-index:3!important;
  display:flex!important;
  justify-content:flex-end!important;
  gap:7px!important;
  margin:16px -16px -16px!important;
  padding:11px 16px!important;
  border-top:1px solid var(--dm2-line-2)!important;
  background:#fff!important;
}
body>.modal-backdrop input,
body>.modal-backdrop select,
body>.modal-backdrop textarea{
  width:100%!important;
  min-height:40px!important;
  padding:9px 10px!important;
  border:1px solid #cfd8e1!important;
  border-radius:6px!important;
  background:#fff!important;
  color:#182230!important;
  font-size:11px!important;
}
body>.modal-backdrop label,
body>.modal-backdrop .field>span{color:#475467!important;font-size:10.5px!important;font-weight:650!important}
body>.modal-backdrop .suite-row{border-bottom:1px solid var(--dm2-line-2)!important;color:#344054!important}
body>.modal-backdrop .suite-row strong{color:var(--dm2-text)!important}
body>.modal-backdrop .suite-row span{color:var(--dm2-muted)!important}
body>.modal-backdrop .plan-feature-grid .check,
body>.modal-backdrop .check-list .check{
  border:1px solid var(--dm2-line)!important;
  border-radius:6px!important;
  background:#f8fafb!important;
  color:#344054!important;
}

/* Search palette */
.dm-v2-palette-backdrop{
  position:fixed;
  inset:0;
  z-index:1300;
  display:grid;
  place-items:start center;
  padding-top:min(15vh,130px);
  background:rgba(16,24,40,.38);
  backdrop-filter:blur(4px);
}
.dm-v2-palette-backdrop[hidden]{display:none!important}
.dm-v2-palette{
  width:min(620px,calc(100vw - 24px));
  overflow:hidden;
  border:1px solid #d4dce4;
  border-radius:10px;
  background:#fff;
  box-shadow:0 28px 80px rgba(16,24,40,.25);
}
.dm-v2-palette-input-wrap{
  min-height:56px;
  display:grid;
  grid-template-columns:24px 1fr;
  align-items:center;
  padding:0 15px;
  border-bottom:1px solid var(--dm2-line-2);
}
.dm-v2-palette-input-wrap span{color:#7a8696;font-size:18px}
.dm-v2-palette-input-wrap input{
  width:100%;
  border:0!important;
  box-shadow:none!important;
  outline:none!important;
  font-size:14px!important;
}
.dm-v2-palette-results{max-height:min(58vh,520px);overflow:auto;padding:7px}
.dm-v2-palette-group{
  padding:7px 8px 4px;
  color:#98a2b3;
  font-size:8px;
  font-weight:850;
  letter-spacing:.08em;
  text-transform:uppercase;
}
.dm-v2-palette-item{
  width:100%;
  min-height:45px;
  display:grid;
  grid-template-columns:28px minmax(0,1fr) auto;
  align-items:center;
  gap:8px;
  padding:7px 9px;
  border:0;
  border-radius:6px;
  background:#fff;
  color:#344054;
  text-align:left;
  cursor:pointer;
}
.dm-v2-palette-item:hover{background:#f3f7f5;color:#176e63}
.dm-v2-palette-item strong{font-size:11px}
.dm-v2-palette-item small{color:#98a2b3;font-size:9px}
.dm-v2-palette-foot{
  display:flex;
  justify-content:flex-end;
  gap:14px;
  padding:8px 12px;
  border-top:1px solid var(--dm2-line-2);
  background:#f8fafb;
  color:#98a2b3;
  font-size:8.5px;
}

/* Account menu */
.dm-v2-account-menu{
  position:fixed;
  z-index:1400;
  width:220px;
  overflow:hidden;
  border:1px solid #d7dfe7;
  border-radius:8px;
  background:#fff;
  box-shadow:0 18px 50px rgba(16,24,40,.18);
}
.dm-v2-account-menu-head{padding:12px;border-bottom:1px solid var(--dm2-line-2)}
.dm-v2-account-menu-head strong,.dm-v2-account-menu-head span{display:block}
.dm-v2-account-menu-head strong{color:#172233;font-size:11px}
.dm-v2-account-menu-head span{margin-top:2px;color:#8792a2;font-size:9px}
.dm-v2-account-menu a,.dm-v2-account-menu button{
  width:100%;
  min-height:38px;
  display:flex;
  align-items:center;
  justify-content:space-between;
  padding:8px 12px;
  border:0;
  border-bottom:1px solid #f0f2f4;
  background:#fff;
  color:#344054;
  text-align:left;
  text-decoration:none;
  font-size:10px;
  cursor:pointer;
}
.dm-v2-account-menu a:hover,.dm-v2-account-menu button:hover{background:#f8fafb}
.dm-v2-account-menu button.danger{color:#b4233c}

/* Hide legacy shell ornaments */
.dm-v2-shell .dm-desktop-more-wrap,
.dm-v2-shell .dm-quick-jump-wrap,
.dm-v2-shell .dm-mobile-nav,
.dm-v2-shell .dm-mobile-sheet-backdrop{display:none!important}

/* Mobile */
@media(max-width:1100px){
  :root{--dm2-sidebar:224px}
  .dm-v2-shell .content{padding:18px 18px 48px!important}
  .dm-v2-shell .dm-operator-grid{grid-template-columns:1fr!important}
  .dm-v2-shell .dm-operator-side{display:grid!important;grid-template-columns:1fr 1fr!important}
}
@media(max-width:900px){
  .portal.dm-v2-shell{grid-template-columns:1fr!important}
  .dm-v2-sidebar{
    position:fixed;
    inset:0 auto 0 0;
    width:min(290px,86vw);
    transform:translateX(-102%);
    transition:transform .16s ease;
    box-shadow:16px 0 40px rgba(16,24,40,.22);
  }
  body.dm-v2-nav-open .dm-v2-sidebar{transform:translateX(0)}
  body.dm-v2-nav-open:after{
    content:"";
    position:fixed;inset:0;z-index:110;
    background:rgba(16,24,40,.38)
  }
  .dm-v2-mobile-close{display:block}
  .dm-v2-mobile-open{display:grid;place-items:center}
  .dm-v2-shell .topbar.dm-v2-topbar{padding:0 12px!important;gap:8px!important}
  .dm-v2-shell .topbar #top-title{display:none!important}
  .dm-v2-shell .topbar .dm-venue-switcher{min-width:0!important;max-width:none!important;flex:1 1 auto!important}
  .dm-v2-search span,.dm-v2-search kbd{display:none}
  .dm-v2-search{width:36px;padding:0;justify-content:center}
  .dm-v2-search:before{content:"⌕";font-size:16px}
  .dm-v2-shell .topbar .top-actions #refresh{display:none}
  .dm-v2-shell .content{padding:14px 12px 42px!important}
  .dm-v2-shell .dm-summary-strip{grid-template-columns:1fr 1fr!important}
  .dm-v2-shell .dm-operator-side{grid-template-columns:1fr!important}
  .dm-v2-shell .suite-grid{grid-template-columns:1fr!important}
}
@media(max-width:620px){
  .dm-v2-shell .page-head,
  .dm-v2-shell .suite-hero,
  .dm-v2-shell .dm-operator-head{align-items:stretch!important;display:grid!important}
  .dm-v2-shell .page-head h2,
  .dm-v2-shell .suite-hero h2,
  .dm-v2-shell .dm-operator-head h2{font-size:21px!important}
  .dm-v2-shell .dm-summary-strip{grid-template-columns:1fr!important}
  .dm-v2-shell .dm-summary-strip>button{border-right:0!important;border-bottom:1px solid var(--dm2-line-2)!important}
  .dm-v2-shell .dm-summary-strip>button:last-child{border-bottom:0!important}
  .dm-v2-shell .field-grid{grid-template-columns:1fr!important}
  body>.modal-backdrop{padding:8px!important}
  body>.modal-backdrop .modal{max-height:96vh!important}
}


/* Venue switcher generated by control-centre.js */
.dm-v2-shell .dm-shell-venue-switcher{position:relative!important}
.dm-v2-shell .dm-shell-venue-switcher>select{
  position:absolute!important;
  width:1px!important;height:1px!important;
  opacity:0!important;pointer-events:none!important;
}
.dm-v2-shell .dm-venue-combobox{position:relative!important;width:100%!important}
.dm-v2-shell .dm-venue-combobox-button{
  width:100%!important;
  min-height:38px!important;
  display:grid!important;
  grid-template-columns:18px minmax(0,1fr) 14px!important;
  align-items:center!important;
  gap:7px!important;
  padding:7px 9px!important;
  border:1px solid #cfd8e1!important;
  border-radius:6px!important;
  background:#fff!important;
  color:#344054!important;
  text-align:left!important;
  cursor:pointer!important;
}
.dm-v2-shell .dm-venue-combobox-button:hover,
.dm-v2-shell .dm-venue-combobox.open .dm-venue-combobox-button{border-color:#9fb0be!important;background:#fbfcfd!important}
.dm-v2-shell .dm-venue-combobox-copy{
  overflow:hidden!important;text-overflow:ellipsis!important;white-space:nowrap!important;
  font-size:10.5px!important;font-weight:700!important
}
.dm-v2-shell .dm-venue-combobox-icon,
.dm-v2-shell .dm-venue-combobox-chevron{color:#758190!important;font-size:10px!important}
.dm-v2-shell .dm-venue-menu{
  position:absolute!important;
  z-index:700!important;
  top:calc(100% + 6px)!important;
  right:0!important;
  width:min(390px,calc(100vw - 30px))!important;
  padding:7px!important;
  border:1px solid #d5dde5!important;
  border-radius:8px!important;
  background:#fff!important;
  color:#182230!important;
  box-shadow:0 18px 48px rgba(16,24,40,.18)!important;
}
.dm-v2-shell .dm-venue-menu[hidden]{display:none!important}
.dm-v2-shell .dm-venue-search{
  width:100%!important;
  min-height:38px!important;
  padding:8px 10px!important;
  border:1px solid #d5dde5!important;
  border-radius:6px!important;
  background:#f8fafb!important;
  color:#182230!important;
  font-size:10.5px!important;
}
.dm-v2-shell .dm-venue-options{max-height:330px!important;overflow:auto!important;margin-top:6px!important}
.dm-v2-shell .dm-venue-option{
  width:100%!important;
  min-height:42px!important;
  display:grid!important;
  grid-template-columns:24px minmax(0,1fr) 18px!important;
  align-items:center!important;
  gap:8px!important;
  padding:6px 8px!important;
  border:0!important;
  border-radius:6px!important;
  background:#fff!important;
  color:#344054!important;
  text-align:left!important;
  cursor:pointer!important;
}
.dm-v2-shell .dm-venue-option:hover{background:#f6f8fa!important}
.dm-v2-shell .dm-venue-option.active{background:var(--dm2-accent-soft)!important;color:#176e63!important}
.dm-v2-shell .dm-venue-option-mark{
  width:24px!important;height:24px!important;display:grid!important;place-items:center!important;
  border-radius:6px!important;background:#eef4f2!important;color:#277c6c!important;font-size:9px!important
}
.dm-v2-shell .dm-venue-option-copy{min-width:0!important}
.dm-v2-shell .dm-venue-option-copy strong{
  display:block!important;overflow:hidden!important;text-overflow:ellipsis!important;white-space:nowrap!important;
  color:inherit!important;font-size:10.5px!important
}
.dm-v2-shell .dm-venue-option-copy small{
  display:block!important;margin-top:1px!important;overflow:hidden!important;text-overflow:ellipsis!important;white-space:nowrap!important;
  color:#8a95a3!important;font-size:8.5px!important
}
.dm-v2-shell .dm-venue-option-check{color:#1f8f78!important;font-size:10px!important}
.dm-v2-shell .dm-venue-empty{padding:13px!important;color:#8792a2!important;text-align:center!important;font-size:10px!important}

.dm-v2-shell .dm-cell-sub{display:block;margin-top:2px;color:#8a95a3;font-size:9px}
.dm-v2-shell .dm-activity-row{
  min-height:46px;
  display:flex;
  align-items:center;
  padding:9px 10px;
  border-bottom:1px solid var(--dm2-line-2);
}
.dm-v2-shell .dm-activity-row:last-child{border-bottom:0}
.dm-v2-shell .dm-activity-row strong{display:block;color:#344054;font-size:10.5px}
.dm-v2-shell .dm-activity-row small{display:block;margin-top:2px;color:#8a95a3;font-size:9px}
