:root{
  --evt-line:#dbe4ef;
  --evt-bg:#eef3f9;
  --evt-ink:#17324a;
  --evt-muted:#6c7d90;
  --evt-card:#ffffff;
  --evt-accent:#214766;
}
#work .evt-admin-page,
#work .evt-dashboard{
  display:flex;
  flex-direction:column;
  gap:5px;
  padding:4px;
  color:var(--evt-ink);
}
.evt-page-head{
  display:flex;
  align-items:flex-start;
  justify-content:space-between;
  gap:5px;
  padding:5px;
  border-radius:5px;
  background:rgba(255,255,255,.94);
  border:1px solid var(--evt-line);
}
.evt-page-title{
  margin:0;
  color:var(--evt-ink);
  font-size:22px;
  line-height:1.05;
}
.evt-page-subtitle{
  margin:3px 0 0 0;
  color:var(--evt-muted);
  font-size:13px;
}
.evt-inline-actions{
  display:flex;
  flex-wrap:wrap;
  gap:4px;
}
.evt-grid{
  display:grid;
  gap:5px;
}
.evt-grid-2{grid-template-columns:repeat(2,minmax(0,1fr));}
.evt-grid-3{grid-template-columns:repeat(3,minmax(0,1fr));}
.evt-card{
  display:flex;
  flex-direction:column;
  gap:5px;
  background:rgba(255,255,255,.96);
  border:1px solid var(--evt-line);
  border-radius:5px;
  padding:5px;
  min-width:0;
}
.evt-card-head{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:5px;
}
.evt-card-head h3{
  margin:0;
  font-size:16px;
  color:var(--evt-ink);
}
.evt-table-shell{
  min-width:0;
  overflow:auto;
}
.evt-table{
  width:100% !important;
  color:#18344d;
}
.evt-table th,
.evt-table td{
  white-space:nowrap;
}
.evt-table .evt-actions{
  display:flex;
  flex-wrap:wrap;
  gap:4px;
}
.evt-tag{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  padding:2px 6px;
  border-radius:999px;
  background:#edf4fb;
  color:#264c6d;
  font-size:11px;
  font-weight:bold;
}
.evt-tag.is-ok{background:#e9f8ef;color:#1f6a3a;}
.evt-tag.is-warn{background:#fff6e5;color:#946102;}
.evt-tag.is-bad{background:#fdecec;color:#9c2d2d;}
.evt-stats-grid{
  display:grid;
  grid-template-columns:repeat(6,minmax(0,1fr));
  gap:5px;
}
.evt-stat-card{
  background:rgba(255,255,255,.96);
  border:1px solid var(--evt-line);
  border-radius:5px;
  padding:5px;
  display:flex;
  flex-direction:column;
  gap:4px;
}
.evt-stat-label{
  color:var(--evt-muted);
  font-size:12px;
}
.evt-stat-value{
  color:var(--evt-ink);
  font-size:22px;
  line-height:1;
}
.evt-quick-grid{
  display:grid;
  grid-template-columns:repeat(2,minmax(0,1fr));
  gap:5px;
}
.evt-quick-btn{
  text-align:left;
}
.evt-empty{
  padding:5px;
  border-radius:5px;
  background:rgba(255,255,255,.96);
  border:1px solid var(--evt-line);
  color:var(--evt-muted);
}
.evt-admin-modal{
  position:fixed;
  inset:0;
  background:rgba(8,15,24,.6);
  z-index:99998;
  display:none;
  align-items:center;
  justify-content:center;
  padding:4px;
}
.evt-admin-modal.is-open{display:flex;}
.evt-admin-dialog{
  width:min(760px,100%);
  max-height:calc(100vh - 8px);
  overflow:auto;
  background:#fff;
  border-radius:5px;
  border:1px solid var(--evt-line);
  box-shadow:0 18px 35px rgba(0,0,0,.25);
}
.evt-admin-head,
.evt-admin-foot{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:5px;
  padding:5px;
  border-bottom:1px solid var(--evt-line);
}
.evt-admin-foot{
  border-top:1px solid var(--evt-line);
  border-bottom:none;
}
.evt-admin-title{
  margin:0;
  color:var(--evt-ink);
  font-size:18px;
}
.evt-admin-close{
  width:32px;
  height:32px;
  border:none;
  border-radius:5px;
  background:#eef3f9;
  color:#17324a;
  cursor:pointer;
}
.evt-admin-body{
  padding:5px;
  display:flex;
  flex-direction:column;
  gap:5px;
}
.evt-form-grid{
  display:grid;
  grid-template-columns:repeat(2,minmax(0,1fr));
  gap:5px;
}
.evt-form-grid .span-2{grid-column:span 2;}
.evt-info-list{
  display:grid;
  grid-template-columns:repeat(2,minmax(0,1fr));
  gap:5px;
}
.evt-info-item{
  border:1px solid var(--evt-line);
  border-radius:5px;
  padding:5px;
  background:#f8fbff;
}
.evt-info-item strong{
  display:block;
  color:var(--evt-muted);
  font-size:12px;
  margin-bottom:3px;
}
.dataTables_wrapper{
  color:var(--evt-ink);
}
.dataTables_wrapper .dataTables_length,
.dataTables_wrapper .dataTables_filter,
.dataTables_wrapper .dataTables_info,
.dataTables_wrapper .dataTables_paginate{
  margin-top:4px;
  color:var(--evt-muted);
}
.dataTables_wrapper .dataTables_filter input,
.dataTables_wrapper .dataTables_length select{
  border:1px solid var(--evt-line);
  border-radius:5px;
  padding:3px 6px;
  background:#fff;
}
#panel__menu ul li[data-panel="n3"] a{
  display:flex;
  align-items:center;
  gap:4px;
}
#panel__menu ul li[data-panel="n3"] .evt-panel-icon{
  margin-left:auto;
  color:#7f8ea0;
}
.btn__tools{
  transition:transform .2s ease, background .2s ease;
}
.btn__tools:hover{transform:translateY(-1px);}
@media (max-width: 1200px){
  .evt-grid-3{grid-template-columns:1fr;}
  .evt-stats-grid{grid-template-columns:repeat(3,minmax(0,1fr));}
}
@media (max-width: 860px){
  .evt-grid-2,
  .evt-form-grid,
  .evt-info-list,
  .evt-quick-grid{grid-template-columns:1fr;}
  .evt-stats-grid{grid-template-columns:repeat(2,minmax(0,1fr));}
  .evt-page-head{flex-direction:column;}
}
@media (max-width: 520px){
  .evt-stats-grid{grid-template-columns:1fr;}
}
