:root{
  --enterprise-bg:#f3f6fb;
  --enterprise-surface:#ffffff;
  --enterprise-surface-soft:#f8fbff;
  --enterprise-primary:#0b3d91;
  --enterprise-primary-2:#165dff;
  --enterprise-navy:#061b3a;
  --enterprise-border:#d8e2ef;
  --enterprise-text:#0f2747;
  --enterprise-muted:#5d6f89;
  --enterprise-success:#0b8f55;
  --enterprise-warning:#f59e0b;
  --enterprise-danger:#dc2626;
  --enterprise-radius:16px;
  --enterprise-shadow:0 10px 28px rgba(15,39,71,.08);
}

body{
  background:var(--enterprise-bg)!important;
  color:var(--enterprise-text)!important;
  font-family:Inter,Arial,Helvetica,sans-serif!important;
}

h1,h2,h3{
  letter-spacing:-.02em;
  color:var(--enterprise-text);
}

h1{
  font-size:30px!important;
  font-weight:900!important;
  margin-bottom:8px!important;
}

h2{
  font-size:21px!important;
  font-weight:900!important;
}

h3{
  font-size:17px!important;
  font-weight:900!important;
}

main,
.content,
.container,
.page,
.wrapper{
  max-width:1440px;
}

.card,
.panel,
.box,
section,
fieldset{
  border-radius:var(--enterprise-radius)!important;
  border:1px solid var(--enterprise-border)!important;
  background:var(--enterprise-surface)!important;
  box-shadow:var(--enterprise-shadow)!important;
}

table{
  width:100%!important;
  border-collapse:separate!important;
  border-spacing:0!important;
  background:var(--enterprise-surface)!important;
  border:1px solid var(--enterprise-border)!important;
  border-radius:14px!important;
  overflow:hidden!important;
}

th{
  background:#eef4ff!important;
  color:#173d73!important;
  font-weight:900!important;
  font-size:12px!important;
  text-transform:uppercase!important;
  letter-spacing:.04em!important;
  padding:12px!important;
}

td{
  padding:12px!important;
  border-top:1px solid #edf1f7!important;
  color:var(--enterprise-text)!important;
}

tr:hover td{
  background:#f8fbff!important;
}

button,
.btn,
input[type="submit"],
input[type="button"]{
  border:0!important;
  border-radius:10px!important;
  padding:10px 14px!important;
  font-weight:900!important;
  cursor:pointer!important;
  box-shadow:0 5px 14px rgba(22,93,255,.12)!important;
}

button:hover,
.btn:hover,
input[type="submit"]:hover,
input[type="button"]:hover{
  filter:brightness(.97);
  transform:translateY(-1px);
}

input,
select,
textarea{
  border:1px solid var(--enterprise-border)!important;
  border-radius:10px!important;
  padding:10px 12px!important;
  background:#fff!important;
  outline:none!important;
}

input:focus,
select:focus,
textarea:focus{
  border-color:var(--enterprise-primary-2)!important;
  box-shadow:0 0 0 3px rgba(22,93,255,.12)!important;
}

a{
  color:var(--enterprise-primary-2);
  font-weight:800;
}

.upload,
.upload-box,
.upload-area{
  border-radius:18px!important;
  border:1px solid var(--enterprise-border)!important;
  background:linear-gradient(180deg,#fff,#f8fbff)!important;
  box-shadow:var(--enterprise-shadow)!important;
}

.badge,
.tag,
.status{
  border-radius:999px!important;
  padding:5px 9px!important;
  font-size:11px!important;
  font-weight:900!important;
}

pre,
code{
  border-radius:12px!important;
  background:#07152e!important;
  color:#eaf2ff!important;
  border:1px solid #15396b!important;
}

.enterprise-page-shell{
  max-width:1480px;
  margin:0 auto;
  padding:28px;
}

.enterprise-titlebar{
  display:flex;
  align-items:flex-start;
  justify-content:space-between;
  gap:18px;
  margin-bottom:22px;
}

.enterprise-titlebar small{
  display:block;
  color:var(--enterprise-muted);
  font-weight:700;
  margin-top:6px;
}

.enterprise-kpi-row{
  display:grid;
  grid-template-columns:repeat(4,minmax(0,1fr));
  gap:14px;
  margin:18px 0;
}

.enterprise-kpi{
  background:#fff;
  border:1px solid var(--enterprise-border);
  border-radius:16px;
  padding:16px;
  box-shadow:var(--enterprise-shadow);
}

.enterprise-kpi b{
  display:block;
  font-size:22px;
  color:var(--enterprise-primary);
}

.enterprise-kpi span{
  color:var(--enterprise-muted);
  font-size:12px;
  font-weight:800;
  text-transform:uppercase;
}

@media(max-width:1000px){
  .enterprise-kpi-row{
    grid-template-columns:1fr 1fr;
  }
}

@media(max-width:640px){
  .enterprise-kpi-row{
    grid-template-columns:1fr;
  }
}
