body{
  background:#f4f7fb;
  color:#132238;
  font-family:Inter,system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;
  margin:0;
  padding:0;
}

.app-shell{
  display:flex;
  min-height:100vh;
}

.sidebar{
  width:280px;
  background:linear-gradient(180deg,#0d3b66 0%,#0b2742 100%);
  color:#fff;
  flex-direction:column;
  padding:24px 18px;
  position:relative;
  z-index:20;
}

.sidebar-brand{
  display:flex;
  align-items:center;
  gap:14px;
  margin-bottom:24px;
}

.brand-mark{
  width:48px;
  height:48px;
  border-radius:16px;
  background:rgba(255,255,255,.12);
  display:flex;
  align-items:center;
  justify-content:center;
  font-size:1.4rem;
}

.brand-title{
  font-weight:800;
}

.brand-subtitle{
  color:rgba(255,255,255,.72);
  font-size:.88rem;
}

.sidebar-nav{
  display:flex;
  flex-direction:column;
  gap:8px;
}

.sidebar .nav-link{
  color:rgba(255,255,255,.85);
  border-radius:14px;
  padding:12px 14px;
  display:flex;
  align-items:center;
  gap:12px;
  text-decoration:none;
  position:relative;
  z-index:2;
}

.sidebar .nav-link.active,
.sidebar .nav-link:hover{
  background:rgba(255,255,255,.12);
  color:#fff;
}

.main-area{
  flex:1;
  min-width:0;
  padding-bottom:88px;
  position:relative;
  z-index:1;
}

.topbar{
  display:flex;
  justify-content:space-between;
  align-items:center;
  padding:20px 24px 0;
  position:relative;
  z-index:50;
}

.page-title{
  font-size:1.4rem;
  font-weight:800;
}

.page-subtitle{
  color:#64748b;
  font-size:.92rem;
}

.stat-card,
.content-card{
  background:#fff;
  border:1px solid #e7edf5;
  border-radius:24px;
  box-shadow:0 10px 30px rgba(10,31,68,.05);
  position:relative;
}

.stat-card{
  padding:18px;
  height:100%;
}

.stat-label{
  color:#64748b;
  font-size:.9rem;
}

.stat-value{
  font-size:1.6rem;
  font-weight:800;
  margin-top:8px;
}

.content-card{
  padding:18px;
  z-index:1;
}

.content-card::before,
.content-card::after,
.stat-card::before,
.stat-card::after,
.topbar::before,
.topbar::after{
  pointer-events:none !important;
}

.table{
  position:relative;
  z-index:1;
}

.table thead th{
  font-size:.85rem;
  color:#64748b;
  text-transform:uppercase;
  letter-spacing:.04em;
}

.btn,
button,
a.btn{
  position:relative;
  z-index:60;
  pointer-events:auto !important;
}

.mobile-nav{
  position:fixed;
  left:0;
  right:0;
  bottom:0;
  background:#fff;
  border-top:1px solid #dbe5ef;
  display:grid;
  grid-template-columns:repeat(5,1fr);
  z-index:1030;
}

.mobile-nav a{
  text-decoration:none;
  color:#475569;
  display:flex;
  flex-direction:column;
  align-items:center;
  justify-content:center;
  gap:4px;
  padding:10px 4px calc(10px + env(safe-area-inset-bottom));
  font-size:.78rem;
}

.mobile-nav a.active{
  color:#0d3b66;
  font-weight:700;
}

.hero-card{
  background:linear-gradient(135deg,#0d3b66,#1d4ed8);
  color:#fff;
  border-radius:28px;
  padding:24px;
  position:relative;
  z-index:1;
}