/* ===== MAUS Series (B2B) ===== */
:root{
  --maus-blue:#1d4999;
  --maus-bg:#ffffff;
  --maus-surface:#ffffff;
  --maus-soft:#f4f6f8;
  --maus-text:#111827;
  --maus-muted:#6b7280;
  --maus-border:rgba(0,0,0,.08);
  --maus-shadow:0 10px 26px rgba(0,0,0,.06);
  --maus-radius:16px;
}

.series-page{ padding: 22px 0 34px; }
.series-grid{
  display:grid;
  grid-template-columns: 1fr 360px;
  gap: 18px;
  align-items:start;
}
@media (max-width: 980px){ .series-grid{ grid-template-columns: 1fr; } }

.card{
  background: var(--maus-surface);
  border: 1px solid var(--maus-border);
  border-radius: var(--maus-radius);
  box-shadow: var(--maus-shadow);
}
.card-pad{ padding:16px; }
.card-title{
  margin:0 0 10px;
  font-size:18px;
  line-height:1.2;
  color:var(--maus-text);
  font-weight:900;
}

.badges{ display:flex; gap:10px; flex-wrap:wrap; align-items:center; }
.badge{
  display:inline-flex; align-items:center;
  padding:6px 10px; border-radius:999px;
  font-weight:800; font-size:12px; line-height:1;
  border:1px solid var(--maus-border);
  background: var(--maus-soft);
  color: var(--maus-text);
}
.badge.primary{
  background:#eef4ff;
  border-color: rgba(29,73,153,.22);
  color: var(--maus-blue);
}

.h1{
  margin:10px 0 6px;
  font-size:30px;
  line-height:1.1;
  letter-spacing:-0.01em;
  color: var(--maus-text);
}
.lead{ margin:0; color: var(--maus-muted); max-width: 78ch; }

.cta-row{ display:flex; flex-wrap:wrap; gap:10px; align-items:center; margin-top:12px; }
.btn{
  display:inline-flex; align-items:center; justify-content:center;
  padding:12px 16px; border-radius:12px;
  font-weight:900; text-decoration:none;
  border:1px solid transparent; cursor:pointer; user-select:none;
}
.btn.primary{ background: var(--maus-blue); color:#fff; }
.btn.ghost{ background:#fff; color: var(--maus-blue); border-color: rgba(29,73,153,.25); }
.pill{
  display:inline-flex; align-items:center;
  padding:12px 14px; border-radius:12px;
  background: var(--maus-soft); color: var(--maus-text);
  font-weight:900;
}

/* KPI cards */
.kpi-grid{
  display:grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  margin-top: 12px;
}
@media (max-width: 720px){ .kpi-grid{ grid-template-columns: 1fr; } }
.kpi{
  border:1px solid var(--maus-border);
  border-radius: 14px;
  background:#fff;
  padding: 12px;
}
.kpi .k{ color: var(--maus-muted); font-size:12px; }
.kpi .v{ font-weight:950; color: var(--maus-text); margin-top:6px; }

/* Controls */
.controls{
  display:flex; gap:10px; flex-wrap:wrap;
  align-items:center; margin-top: 12px;
}
.input, .select{
  padding: 12px 12px;
  border-radius: 12px;
  border: 1px solid var(--maus-border);
  background:#fff;
  min-width: 220px;
}
@media (max-width: 720px){
  .input, .select{ width:100%; min-width: 0; }
}

/* Model cards */
.model-grid{
  display:grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
  margin-top: 12px;
}
@media (max-width: 720px){ .model-grid{ grid-template-columns: 1fr; } }
.model{
  border:1px solid var(--maus-border);
  border-radius: 16px;
  background:#fff;
  padding: 14px;
  display:grid;
  gap: 10px;
}
.model-top{
  display:flex; align-items:flex-start; justify-content:space-between; gap:12px;
}
.model h3{
  margin:0;
  font-size:16px;
  font-weight:950;
  color: var(--maus-text);
}
.model .muted{ color: var(--maus-muted); font-size:13px; margin-top:4px; }
.model .tags{ display:flex; gap:8px; flex-wrap:wrap; }
.tag{
  font-size:12px;
  font-weight:800;
  padding:6px 10px;
  border-radius:999px;
  background: var(--maus-soft);
  border:1px solid var(--maus-border);
  color: var(--maus-text);
}
.model .actions{ display:flex; gap:10px; flex-wrap:wrap; }
.model .actions a{ padding:10px 12px; border-radius:12px; font-weight:900; text-decoration:none; }
.model .actions a.primary{ background: var(--maus-blue); color:#fff; }
.model .actions a.ghost{ background:#fff; color: var(--maus-blue); border:1px solid rgba(29,73,153,.25); }

/* Table */
.table-wrap{
  overflow-x:auto;
  border-radius: 14px;
  border: 1px solid var(--maus-border);
  background:#fff;
  margin-top: 10px;
}
.table{
  width:100%;
  border-collapse:collapse;
}
.table td{
  padding: 12px 14px;
  border-bottom: 1px solid var(--maus-border);
  vertical-align: top;
}
.table tr:last-child td{ border-bottom:0; }
.table .k{ color: var(--maus-muted); width: 42%; }
.table .v{ font-weight: 800; color: var(--maus-text); }

/* Sidebar */
.media-box{
  border-radius: 14px;
  border: 1px solid var(--maus-border);
  overflow:hidden;
  background:#fff;
}
.media-inner{
  aspect-ratio: 4/3;
  display:flex;
  align-items:center;
  justify-content:center;
}
.media-inner img{ width:100%; height:auto; display:block; }

.kv{ display:grid; gap:8px; margin-top:12px; }
.kv-row{ display:flex; justify-content:space-between; gap:10px; }
.kv-key{ color: var(--maus-muted); }
.kv-val{ font-weight: 900; color: var(--maus-text); }

:target{ scroll-margin-top: 140px; }
