/* POS-08 — family local entry
   Dipakai untuk landing/public/ringkasan/analytics lokal agar tidak polos.
*/
:root {
  --pos08-shell-bg: #fff7fa;
  --pos08-shell-surface: #ffffff;
  --pos08-shell-soft: #fff0f5;
  --pos08-shell-line: #f2c9d6;
  --pos08-shell-text: #41101e;
  --pos08-shell-muted: #8f4259;
  --pos08-shell-primary: #c21f4a;
  --pos08-shell-accent: #ef476f;
  --pos08-shell-shadow: 0 18px 42px rgba(143, 23, 55, 0.10);
}

body {
  background: linear-gradient(180deg, #fff9fb 0%, var(--pos08-shell-bg) 48%, #fffdfd 100%);
}

.pos08-family {
  max-width: 1280px;
  margin: 0 auto;
  padding: 28px 24px 52px;
  color: var(--pos08-shell-text);
}

.pos08-family__hero {
  display: grid;
  grid-template-columns: minmax(0, 3fr) minmax(260px, 2fr);
  gap: 22px;
  align-items: center;
  margin-bottom: 22px;
  padding: 28px 30px;
  border: 1px solid rgba(255,255,255,0.28);
  border-radius: 28px;
  background: linear-gradient(135deg, #8f1737 0%, #c21f4a 54%, #ef476f 100%);
  color: #fff;
  box-shadow: var(--pos08-shell-shadow);
}

.pos08-family__eyebrow {
  margin-bottom: 8px;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .16em;
  text-transform: uppercase;
  opacity: .88;
}

.pos08-family__title {
  margin: 0;
  font-size: clamp(28px, 4vw, 40px);
  line-height: 1.1;
}

.pos08-family__desc {
  margin: 12px 0 0;
  max-width: 760px;
  font-size: 16px;
  line-height: 1.7;
  opacity: .96;
}

.pos08-family__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: flex-end;
}

.pos08-chip {
  display: inline-flex;
  align-items: center;
  min-height: 40px;
  padding: 0 14px;
  border-radius: 999px;
  background: rgba(255,255,255,0.18);
  border: 1px solid rgba(255,255,255,0.22);
  color: #fff;
  font-weight: 700;
  transition: transform .18s ease, background .18s ease;
}

.pos08-chip:hover {
  transform: translateY(-1px);
  background: rgba(255,255,255,0.26);
}

.pos08-grid {
  display: grid;
  gap: 18px;
}

.pos08-grid--2 { grid-template-columns: minmax(0, 1.4fr) minmax(280px, .8fr); }
.pos08-grid--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.pos08-grid--4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }

.pos08-card,
.pos08-kpi {
  border: 1px solid var(--pos08-shell-line);
  border-radius: 22px;
  background: linear-gradient(180deg, #ffffff 0%, var(--pos08-shell-soft) 100%);
  box-shadow: 0 16px 34px rgba(194, 31, 74, 0.07);
}

.pos08-card {
  padding: 20px 22px;
}

.pos08-card h2 {
  margin: 0 0 10px;
  font-size: 18px;
  color: #7e1733;
}

.pos08-card p,
.pos08-list li,
.pos08-table td,
.pos08-table th,
.pos08-kpi small {
  line-height: 1.6;
}

.pos08-kpi {
  display: grid;
  gap: 8px;
  padding: 18px 20px;
}

.pos08-kpi strong {
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: .08em;
  color: #8f4259;
}

.pos08-kpi span {
  font-size: 28px;
  font-weight: 800;
  color: #7e1733;
}

.pos08-kpi--stack small {
  color: var(--pos08-shell-muted);
  font-size: 13px;
}

.pos08-stack {
  display: grid;
  gap: 18px;
}

.pos08-list {
  margin: 0;
  padding-left: 18px;
  color: var(--pos08-shell-text);
}

.pos08-list li + li {
  margin-top: 8px;
}

.pos08-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 13px;
}

.pos08-table thead th {
  padding: 12px 12px;
  background: #c21f4a;
  color: #fff;
  text-align: left;
}

.pos08-table tbody td {
  padding: 12px 12px;
  border-bottom: 1px solid #f3d4dd;
  vertical-align: top;
}

.pos08-table tbody tr:hover td {
  background: #fff7fa;
}

@media (max-width: 1120px) {
  .pos08-family__hero,
  .pos08-grid--2,
  .pos08-grid--3,
  .pos08-grid--4 {
    grid-template-columns: 1fr;
  }

  .pos08-family__actions {
    justify-content: flex-start;
  }
}

@media (max-width: 768px) {
  .pos08-family {
    padding: 22px 16px 40px;
  }

  .pos08-family__hero {
    padding: 22px 20px;
    border-radius: 24px;
  }

  .pos08-table {
    font-size: 12px;
  }
}
