:root {
  --white: #FFFFFF;
  --bg-page: #F8FAFC;
  --surface-subtle: #F1F5F9;
  --teal-primary: #125D72;
  --teal-dark: #0C4352;
  --cyan-accent: #14A2BA;
  --yellow-pln: #EFE62F;
  --border-soft: #E2E8F0;
  --border-strong: #CBD5E1;
  --text-dark: #0F172A;
  --text-body: #334155;
  --text-muted: #64748B;
  --green-solid: #15803D;
  --red-solid: #B91C1C;
  --amber-solid: #B45309;
  --radius-sm: 6px;
  --radius-md: 8px;
  --radius-lg: 12px;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  font-family: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  -webkit-font-smoothing: antialiased;
}

body {
  background-color: var(--bg-page);
  color: var(--text-dark);
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  overflow-x: hidden;
  font-size: 13.5px;
  line-height: 1.5;
}

/* TOP NAVBAR */
.top-nav {
  background-color: var(--white);
  border-bottom: 1px solid var(--border-soft);
  position: sticky;
  top: 0;
  z-index: 100;
}

.nav-container {
  max-width: 1240px;
  margin: 0 auto;
  min-height: 64px;
  padding: 0 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.brand-group {
  display: flex;
  align-items: center;
  gap: 10px;
  cursor: pointer;
  flex-shrink: 0;
}

.brand-logo-img {
  width: 34px;
  height: 34px;
  object-fit: contain;
  display: block;
}

.brand-name {
  font-size: 15px;
  font-weight: 700;
  color: var(--text-dark);
  letter-spacing: -0.25px;
  line-height: 1.15;
}

.brand-sub {
  display: block;
  font-size: 11px;
  font-weight: 500;
  color: var(--text-muted);
}

.nav-menu {
  display: flex;
  align-items: center;
  gap: 24px;
}

.nav-link {
  background: transparent;
  border: none;
  font-size: 13.5px;
  font-weight: 500;
  color: var(--text-body);
  cursor: pointer;
  padding: 6px 0;
  position: relative;
  transition: color 0.15s ease;
  white-space: nowrap;
}
.nav-link:hover { color: var(--teal-primary); }
.nav-link.active { color: var(--teal-primary); font-weight: 700; }
.nav-link.active::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: -18px;
  height: 2px;
  background-color: var(--teal-primary);
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-shrink: 0;
}

.user-session-chip {
  height: 36px;
  padding: 0 12px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border-soft);
  background-color: var(--bg-page);
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  color: var(--text-dark);
  white-space: nowrap;
}

.user-role-tag {
  font-size: 10.5px;
  font-weight: 600;
  padding: 2px 7px;
  border-radius: 4px;
  background-color: var(--white);
  border: 1px solid var(--border-strong);
  color: var(--teal-primary);
}

/* BUTTONS — CONSISTENT INTERACTION SYSTEM */
.btn-solid-blue {
  height: 36px;
  padding: 0 14px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--teal-primary);
  background-color: var(--teal-primary);
  color: var(--white);
  font-size: 12.5px;
  font-weight: 600;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  transition: background-color 0.15s ease, border-color 0.15s ease;
  white-space: nowrap;
}
.btn-solid-blue:hover { background-color: var(--teal-dark); border-color: var(--teal-dark); }
.btn-solid-blue:focus-visible { outline: 2px solid var(--cyan-accent); outline-offset: 2px; }
.btn-solid-blue:disabled { opacity: 0.5; cursor: not-allowed; }

.btn-ghost {
  height: 36px;
  padding: 0 12px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border-strong);
  background-color: var(--white);
  color: var(--text-body);
  font-size: 12.5px;
  font-weight: 500;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  transition: border-color 0.15s ease, color 0.15s ease, background-color 0.15s ease;
  white-space: nowrap;
}
.btn-ghost:hover { border-color: var(--teal-primary); color: var(--teal-primary); background-color: var(--bg-page); }
.btn-ghost:focus-visible { outline: 2px solid var(--cyan-accent); outline-offset: 2px; }

.btn-danger-outline {
  height: 36px;
  padding: 0 12px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border-strong);
  background-color: var(--white);
  color: var(--red-solid);
  font-size: 12.5px;
  font-weight: 600;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  white-space: nowrap;
}
.btn-danger-outline:hover { border-color: var(--red-solid); background-color: #FEF2F2; }

.btn-sm {
  height: 30px;
  padding: 0 10px;
  font-size: 12px;
}

.pln-tag-box {
  height: 36px;
  padding: 0 11px;
  border-radius: var(--radius-sm);
  background-color: var(--yellow-pln);
  color: var(--teal-primary);
  font-size: 12.5px;
  font-weight: 800;
  display: inline-flex;
  align-items: center;
  gap: 5px;
}

/* HERO SECTION — DIPERTAHANKAN 100% SESUAI BAGIAN 6 */
.hero-wrap {
  position: relative;
  background-image: url('../images/hero-pln-sky.jpg');
  background-size: cover;
  background-position: center bottom;
  background-repeat: no-repeat;
  padding: 44px 24px 30px 24px;
}

.hero-wrap::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: 0;
  height: 70px;
  background: linear-gradient(180deg, rgba(248, 250, 252, 0) 0%, #F8FAFC 100%);
  pointer-events: none;
}

.hero-container {
  position: relative;
  z-index: 2;
  max-width: 1220px;
  margin: 0 auto;
}

.hero-top-grid {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  margin-bottom: 26px;
}

.hero-copy {
  max-width: 590px;
  text-align: left;
  background: radial-gradient(ellipse at left center, rgba(12, 67, 82, 0.44) 0%, rgba(12, 67, 82, 0) 76%);
  padding: 10px 18px 10px 4px;
  border-radius: 16px;
}

.hero-heading {
  font-size: 35px;
  font-weight: 800;
  color: var(--white);
  line-height: 1.18;
  letter-spacing: -0.6px;
  text-shadow: 0 2px 12px rgba(12, 67, 82, 0.24);
}

.hero-desc {
  font-size: 14px;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.95);
  line-height: 1.55;
  margin-top: 10px;
  max-width: 500px;
  text-shadow: 0 1px 6px rgba(12, 67, 82, 0.2);
}

.search-bar-card {
  background-color: var(--white);
  border-radius: 14px;
  padding: 12px 16px;
  box-shadow: 0 12px 32px -8px rgba(18, 93, 114, 0.12);
  border: 1px solid var(--border-soft);
  display: grid;
  grid-template-columns: 1.4fr 1.1fr 0.9fr 1.1fr auto;
  align-items: center;
}

.search-item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 4px 14px;
  border-right: 1px solid var(--border-soft);
}
.search-item:last-of-type { border-right: none; }

.search-item-icon { color: var(--cyan-accent); flex-shrink: 0; display: flex; align-items: center; }
.search-item-body { display: flex; flex-direction: column; width: 100%; min-width: 0; }
.search-item-lbl { font-size: 11px; font-weight: 600; color: var(--text-muted); }
.search-item-input, .search-item-select {
  border: none;
  background: transparent;
  font-size: 13px;
  font-weight: 700;
  color: var(--text-dark);
  outline: none;
  width: 100%;
  padding: 2px 0;
}
.search-item-select { cursor: pointer; }
.search-item-input::placeholder { color: #94A3B8; font-weight: 500; }

.feature-strip-card {
  margin-top: 14px;
  background-color: var(--white);
  border-radius: 14px;
  padding: 15px 12px;
  box-shadow: 0 10px 28px -8px rgba(18, 93, 114, 0.08);
  border: 1px solid var(--border-soft);
  display: grid;
  grid-template-columns: repeat(4, 1fr);
}

.feature-col {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 2px 16px;
  border-right: 1px solid var(--border-soft);
  cursor: pointer;
  transition: opacity 0.15s ease;
}
.feature-col:last-child { border-right: none; }
.feature-col:hover { opacity: 0.82; }

.feature-icon-wrap {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  background-color: #F8FAFC;
  border: 1px solid #E2E8F0;
  color: var(--teal-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.feature-title { font-size: 13px; font-weight: 800; color: var(--text-dark); line-height: 1.25; }
.feature-sub { font-size: 11.5px; font-weight: 500; color: var(--text-muted); margin-top: 2px; }

/* MAIN CONTENT — ENTERPRISE FLAT HIERARCHY (ZERO AI SLOP) */
.page-content {
  max-width: 1220px;
  width: 100%;
  margin: 0 auto;
  padding: 24px 24px 56px 24px;
  flex: 1;
}

.section-header-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 16px;
  gap: 12px;
  flex-wrap: wrap;
}

.section-title {
  font-size: 17px;
  font-weight: 700;
  color: var(--text-dark);
  letter-spacing: -0.25px;
}

.section-sub {
  font-size: 12.5px;
  color: var(--text-muted);
  margin-top: 2px;
}

.section-link {
  background: transparent;
  border: none;
  color: var(--teal-primary);
  font-size: 12.5px;
  font-weight: 600;
  cursor: pointer;
}
.section-link:hover { text-decoration: underline; }

/* VIEW SWITCHER (TABEL | KARTU) */
.view-toggle-group {
  display: inline-flex;
  border: 1px solid var(--border-strong);
  border-radius: var(--radius-sm);
  overflow: hidden;
  background: var(--white);
}
.view-toggle-btn {
  height: 34px;
  padding: 0 12px;
  border: none;
  background: transparent;
  color: var(--text-body);
  font-size: 12px;
  font-weight: 600;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.view-toggle-btn + .view-toggle-btn { border-left: 1px solid var(--border-strong); }
.view-toggle-btn.active { background: var(--teal-primary); color: var(--white); }

/* COMPANY LOGO AVATAR / MONOGRAM */
.cust-logo-box {
  width: 34px;
  height: 34px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border-soft);
  background: var(--surface-subtle);
  color: var(--teal-primary);
  font-size: 12px;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  flex-shrink: 0;
}
.cust-logo-box img { width: 100%; height: 100%; object-fit: contain; background: var(--white); }

/* ENTERPRISE SURFACE PANEL (FLAT, 1PX HAIRLINE, NO DECORATIVE SHADOW) */
.clean-panel {
  background-color: var(--white);
  border-radius: var(--radius-md);
  border: 1px solid var(--border-soft);
  padding: 20px 24px;
  margin-bottom: 24px;
}

/* ENTERPRISE DATA TABLE */
.table-wrap {
  background: var(--white);
  border: 1px solid var(--border-soft);
  border-radius: var(--radius-md);
  overflow-x: auto;
}

.data-table {
  width: 100%;
  border-collapse: collapse;
}
.data-table th {
  background-color: var(--bg-page);
  color: var(--text-muted);
  font-size: 11.5px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.3px;
  text-align: left;
  padding: 11px 14px;
  border-bottom: 1px solid var(--border-soft);
  white-space: nowrap;
}
.data-table td {
  padding: 12px 14px;
  border-bottom: 1px solid var(--border-soft);
  font-size: 12.5px;
  color: var(--text-dark);
  vertical-align: middle;
}
.data-table tbody tr:last-child td { border-bottom: none; }
.data-table tbody tr:hover { background-color: #FAFCFF; }

.num-col { font-variant-numeric: tabular-nums; white-space: nowrap; }

/* REFINED 3-COLUMN CARDS (FLAT, NO NESTED BOXES, NO LEFT STRIPE) */
.cards-grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.pkg-card {
  min-width: 0;
  background-color: var(--white);
  border-radius: var(--radius-md);
  border: 1px solid var(--border-soft);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: border-color 0.15s ease;
}
.pkg-card:hover { border-color: var(--teal-primary); }

.pkg-photo-box {
  width: 100%;
  height: 140px;
  overflow: hidden;
  background-color: var(--surface-subtle);
  border-bottom: 1px solid var(--border-soft);
}
.pkg-photo-box img { width: 100%; height: 100%; object-fit: cover; display: block; }

.pkg-body {
  min-width: 0;
  padding: 16px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  flex: 1;
}

.pkg-head-row {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 10px;
}

.pkg-id-wrap { display: flex; align-items: flex-start; gap: 10px; min-width: 0; }
.pkg-title { font-size: 15px; font-weight: 700; color: var(--text-dark); line-height: 1.25; }
.pkg-loc { font-size: 12px; color: var(--text-muted); margin-top: 2px; }

.trend-inline {
  display: inline-flex;
  align-items: center;
  gap: 3px;
  font-size: 12px;
  font-weight: 600;
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
}
.trend-up { color: var(--green-solid); }
.trend-down { color: var(--red-solid); }
.trend-flat { color: var(--text-muted); }

/* FUNCTIONAL STATUS TAGS (NEUTRAL SURFACE + SEMANTIC TEXT, ZERO PASTEL BLOAT) */
.quad-tag {
  display: inline-flex;
  align-items: center;
  padding: 3px 8px;
  border-radius: 4px;
  border: 1px solid var(--border-soft);
  background: var(--bg-page);
  font-size: 11px;
  font-weight: 600;
  white-space: nowrap;
}
.q-strategic { color: var(--teal-primary); border-color: #CBD5E1; }
.q-growth { color: var(--green-solid); border-color: #CBD5E1; }
.q-recovery { color: var(--amber-solid); border-color: #CBD5E1; }
.q-highrisk { color: var(--red-solid); border-color: #CBD5E1; }

.pkg-kv-list {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px 12px;
  padding: 10px 0;
  border-top: 1px solid var(--border-soft);
  border-bottom: 1px solid var(--border-soft);
}
.pkg-kv-item { min-width: 0; display: flex; flex-direction: column; gap: 1px; }
.pkg-kv-lbl { font-size: 11px; color: var(--text-muted); }
.pkg-kv-val { font-size: 12.5px; font-weight: 600; color: var(--text-dark); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; font-variant-numeric: tabular-nums; }

.pkg-metrics-row {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
}
.pkg-metric-block { display: flex; flex-direction: column; }
.pkg-metric-lbl { font-size: 11px; color: var(--text-muted); }
.pkg-metric-val { font-size: 15px; font-weight: 700; color: var(--text-dark); font-variant-numeric: tabular-nums; }
.pkg-metric-sub { font-size: 11px; color: var(--text-muted); }

.pkg-strat-note {
  font-size: 12px;
  color: var(--text-body);
  line-height: 1.45;
  min-height: 34px;
}

.pkg-footer {
  margin-top: auto;
  padding-top: 12px;
  border-top: 1px solid var(--border-soft);
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 8px;
}

/* PAGINATION */
.pagination-wrap {
  margin-top: 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
}
.seg-pagination {
  display: inline-flex;
  align-items: center;
  background-color: var(--white);
  border: 1px solid var(--border-strong);
  border-radius: var(--radius-sm);
  overflow: hidden;
}
.seg-page-btn {
  min-width: 34px;
  height: 32px;
  padding: 0 10px;
  border: none;
  border-right: 1px solid var(--border-strong);
  background-color: var(--white);
  color: var(--text-body);
  font-size: 12.5px;
  font-weight: 600;
  cursor: pointer;
}
.seg-page-btn:last-child { border-right: none; }
.seg-page-btn:hover:not(.active):not(:disabled) { background-color: var(--bg-page); }
.seg-page-btn.active { background-color: var(--teal-primary); color: var(--white); }
.seg-page-btn:disabled { color: #94A3B8; cursor: not-allowed; }
.page-info-txt { font-size: 12px; color: var(--text-muted); }

/* KPI STRIP — SINGLE DIVIDED BAR (NOT 4 FLOATING CARDS) */
.kpi-bar {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  background: var(--white);
  border: 1px solid var(--border-soft);
  border-radius: var(--radius-md);
  margin-bottom: 24px;
}
.kpi-cell {
  padding: 16px 20px;
  border-right: 1px solid var(--border-soft);
}
.kpi-cell:last-child { border-right: none; }
.kpi-lbl { font-size: 11.5px; font-weight: 500; color: var(--text-muted); }
.kpi-val { font-size: 22px; font-weight: 700; color: var(--text-dark); margin-top: 4px; font-variant-numeric: tabular-nums; }
.kpi-sub { font-size: 11.5px; color: var(--text-muted); margin-top: 2px; }

/* 2D INTERACTIVE CHI x SOI MATRIX */
.matrix-2d-wrap {
  display: grid;
  grid-template-columns: 36px 1fr;
  gap: 8px;
  align-items: stretch;
  margin-top: 12px;
}
.matrix-y-axis {
  writing-mode: vertical-rl;
  transform: rotate(180deg);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 11.5px;
  font-weight: 700;
  color: var(--text-muted);
  letter-spacing: 0.4px;
  text-transform: uppercase;
}
.matrix-2d-table {
  width: 100%;
  border-collapse: collapse;
  table-layout: fixed;
  border: 1px solid var(--border-strong);
}
.matrix-2d-table th {
  background: var(--bg-page);
  color: var(--text-body);
  font-size: 12px;
  font-weight: 600;
  padding: 10px 12px;
  border: 1px solid var(--border-strong);
  text-align: center;
}
.matrix-2d-cell {
  border: 1px solid var(--border-strong);
  padding: 14px 16px;
  vertical-align: top;
  background: var(--white);
}
.matrix-cell-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  padding-bottom: 8px;
  border-bottom: 1px solid var(--border-soft);
  margin-bottom: 8px;
}
.matrix-cell-count {
  font-size: 13px;
  font-weight: 700;
  color: var(--text-dark);
  font-variant-numeric: tabular-nums;
}
.matrix-cell-desc {
  font-size: 12px;
  color: var(--text-muted);
  margin-bottom: 10px;
  line-height: 1.45;
}
.matrix-tokens {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}
.matrix-cust-chip {
  background: var(--bg-page);
  border: 1px solid var(--border-strong);
  border-radius: 4px;
  padding: 4px 8px;
  font-size: 11.5px;
  font-weight: 600;
  color: var(--text-dark);
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 5px;
}
.matrix-cust-chip:hover { border-color: var(--teal-primary); color: var(--teal-primary); background: var(--white); }
.matrix-cust-chip span { font-weight: 500; color: var(--text-muted); font-size: 11px; font-variant-numeric: tabular-nums; }

.confirm-notice {
  background-color: var(--bg-page);
  border: 1px solid var(--border-soft);
  border-radius: var(--radius-sm);
  padding: 12px 14px;
  font-size: 12px;
  color: var(--text-body);
  line-height: 1.5;
  margin-top: 14px;
}

/* SEGMENTATION PROPORTION BAR */
.seg-bar-track {
  width: 100%;
  min-width: 90px;
  height: 6px;
  background: var(--surface-subtle);
  border-radius: 3px;
  overflow: hidden;
}
.seg-bar-fill {
  height: 100%;
  background: var(--teal-primary);
  border-radius: 3px;
}

/* STATUS PILL FOR MASTER DATA */
.status-txt-active { color: var(--green-solid); font-weight: 600; font-size: 12px; }
.status-txt-inactive { color: var(--text-muted); font-weight: 600; font-size: 12px; }

/* MODALS */
.modal-backdrop {
  position: fixed;
  inset: 0;
  background-color: rgba(15, 23, 42, 0.55);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 300;
  padding: 16px;
}
.modal-backdrop.open { display: flex; }

.modal-box {
  width: 100%;
  max-width: 960px;
  max-height: 92vh;
  background-color: var(--white);
  border-radius: var(--radius-lg);
  border: 1px solid var(--border-soft);
  padding: 20px 24px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  box-shadow: 0 20px 44px -12px rgba(15, 23, 42, 0.25);
}

.modal-scroll-body {
  overflow-y: auto;
  padding-right: 4px;
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.modal-tabs-bar {
  display: flex;
  gap: 4px;
  background-color: var(--surface-subtle);
  padding: 4px;
  border-radius: var(--radius-sm);
  flex-shrink: 0;
}
.tab-btn {
  flex: 1;
  height: 34px;
  border: none;
  background: transparent;
  border-radius: 4px;
  font-size: 12.5px;
  font-weight: 600;
  color: var(--text-body);
  cursor: pointer;
}
.tab-btn.active { background-color: var(--white); color: var(--teal-primary); border: 1px solid var(--border-soft); }

.live-score-strip {
  min-height: 60px;
  background-color: var(--teal-primary);
  color: var(--white);
  border-radius: var(--radius-md);
  padding: 10px 16px;
  display: grid;
  grid-template-columns: 190px 150px 160px 1fr;
  align-items: center;
  gap: 12px;
  flex-shrink: 0;
}

.eval-table { width: 100%; border-collapse: collapse; font-size: 12px; }
.eval-table th { background-color: var(--bg-page); color: var(--text-body); padding: 8px 10px; text-align: left; font-weight: 600; border: 1px solid var(--border-soft); }
.eval-table td { padding: 7px 10px; border: 1px solid var(--border-soft); vertical-align: middle; }

.score-slider-cell { display: flex; align-items: center; gap: 8px; min-width: 150px; }
.score-num-pill {
  min-width: 34px;
  height: 26px;
  border-radius: 4px;
  background-color: var(--white);
  border: 1px solid var(--border-strong);
  color: var(--text-dark);
  font-weight: 700;
  font-size: 12px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-variant-numeric: tabular-nums;
}
.tbl-text-inp {
  width: 100%;
  height: 32px;
  padding: 0 9px;
  border-radius: 4px;
  border: 1px solid var(--border-strong);
  font-size: 12px;
  outline: none;
}
.tbl-text-inp:focus { border-color: var(--teal-primary); }

/* FORMS & IMAGE UPLOAD */
.cbr-sec-card { background-color: var(--bg-page); border: 1px solid var(--border-soft); border-radius: var(--radius-md); padding: 14px 16px; }
.cbr-sec-title { font-size: 12px; font-weight: 700; color: var(--teal-primary); margin-bottom: 10px; text-transform: uppercase; letter-spacing: 0.3px; }
.cbr-grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 10px 14px; }
.cbr-grid-3 { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 10px 14px; }
.cbr-field { display: flex; flex-direction: column; gap: 4px; }
.cbr-field label { font-size: 11.5px; font-weight: 600; color: var(--text-body); }
.cbr-input-box { width: 100%; height: 34px; padding: 0 10px; border-radius: var(--radius-sm); border: 1px solid var(--border-strong); background-color: var(--white); font-size: 12.5px; color: var(--text-dark); outline: none; }
.cbr-input-box:focus { border-color: var(--teal-primary); }
.cbr-textarea-box { width: 100%; min-height: 54px; padding: 7px 10px; border-radius: var(--radius-sm); border: 1px solid var(--border-strong); background-color: var(--white); font-size: 12.5px; color: var(--text-dark); resize: vertical; outline: none; }
.cbr-check-group { display: flex; flex-wrap: wrap; gap: 10px 16px; padding: 6px 0; }
.cbr-check-lbl { display: inline-flex; align-items: center; gap: 6px; font-size: 12px; font-weight: 500; color: var(--text-dark); cursor: pointer; }
.cbr-check-lbl input { accent-color: var(--teal-primary); width: 15px; height: 15px; }

.upload-box {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 12px;
  border: 1px dashed var(--border-strong);
  border-radius: var(--radius-sm);
  background: var(--white);
}
.upload-preview {
  width: 56px;
  height: 56px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border-soft);
  background: var(--surface-subtle);
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 11px;
  color: var(--text-muted);
  flex-shrink: 0;
}
.upload-preview img { width: 100%; height: 100%; object-fit: cover; }
.upload-preview.logo-prev img { object-fit: contain; padding: 4px; background: var(--white); }
.upload-meta { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 6px; }
.upload-hint { font-size: 11px; color: var(--text-muted); }
.upload-err { font-size: 11px; color: var(--red-solid); font-weight: 600; display: none; }

/* PDF MODAL & SHEET */
.pdf-modal-header {
  background-color: var(--teal-primary);
  padding: 12px 18px;
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
  color: var(--white);
  flex-shrink: 0;
}
.pdf-mode-tabs { display: inline-flex; background-color: rgba(255,255,255,0.14); padding: 3px; border-radius: 6px; gap: 4px; }
.pdf-mode-btn { height: 30px; padding: 0 11px; border: none; border-radius: 4px; background: transparent; color: rgba(255,255,255,0.9); font-size: 12px; font-weight: 600; cursor: pointer; }
.pdf-mode-btn.active { background-color: var(--white); color: var(--teal-primary); }

.btn-yellow-solid {
  height: 34px;
  padding: 0 14px;
  border-radius: var(--radius-sm);
  border: none;
  background-color: var(--yellow-pln);
  color: var(--teal-dark);
  font-size: 12px;
  font-weight: 700;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.pdf-sheet {
  background-color: var(--white);
  border: 1px solid var(--border-strong);
  border-radius: var(--radius-sm);
  padding: 28px 36px;
  color: #000;
}
.pdf-kop { display: flex; align-items: center; justify-content: space-between; border-bottom: 2px solid #0F172A; padding-bottom: 12px; margin-bottom: 14px; }
.pdf-title-block { text-align: center; margin-bottom: 16px; }
.pdf-title-block h2 { font-size: 14.5px; font-weight: 800; text-transform: uppercase; color: var(--teal-primary); }
.pdf-title-block p { font-size: 12px; font-weight: 600; margin-top: 3px; color: #0F172A; }
.pdf-subhead { font-size: 12px; font-weight: 700; color: var(--teal-primary); margin: 14px 0 6px 0; }
.pdf-grid-table { width: 100%; border-collapse: collapse; font-size: 11.5px; margin-bottom: 8px; }
.pdf-grid-table th, .pdf-grid-table td { border: 1px solid #334155; padding: 6px 9px; text-align: left; vertical-align: top; }
.pdf-grid-table th { background-color: #F1F5F9; font-weight: 700; }

.btn-red-icon {
  width: 30px;
  height: 30px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border-strong);
  background-color: var(--white);
  color: var(--text-muted);
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
}
.btn-red-icon:hover { border-color: var(--red-solid); color: var(--red-solid); }

/* FOOTER & FLOATING AI */
.site-footer { background-color: var(--teal-dark); color: var(--white); padding: 36px 24px 68px 24px; margin-top: auto; }
.footer-grid { max-width: 1220px; margin: 0 auto; display: grid; grid-template-columns: 1.5fr 1fr 1fr 1.3fr; gap: 28px; padding-bottom: 24px; border-bottom: 1px solid rgba(255,255,255,0.12); }
.footer-col h4 { font-size: 13px; font-weight: 700; margin-bottom: 10px; }
.footer-col p { font-size: 12px; color: rgba(255,255,255,0.78); line-height: 1.6; }
.footer-list { list-style: none; display: flex; flex-direction: column; gap: 7px; }
.footer-list button { background: transparent; border: none; color: rgba(255,255,255,0.78); font-size: 12px; cursor: pointer; text-align: left; }
.footer-list button:hover { color: var(--yellow-pln); }
.footer-copy { max-width: 1220px; margin: 16px auto 0 auto; display: flex; justify-content: space-between; font-size: 11.5px; color: rgba(255,255,255,0.68); flex-wrap: wrap; gap: 8px; }

.fab-ai-btn {
  position: fixed;
  bottom: 20px; right: 20px;
  z-index: 260;
  height: 44px;
  padding: 0 16px;
  border-radius: 999px;
  border: 2px solid var(--white);
  background-color: var(--teal-primary);
  color: var(--white);
  font-size: 12.5px;
  font-weight: 700;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  box-shadow: 0 10px 24px -6px rgba(12, 67, 82, 0.4);
}
.fab-ai-btn:hover { background-color: var(--teal-dark); }

.toast-alert {
  position: fixed;
  bottom: 20px; left: 20px;
  background-color: var(--teal-dark);
  color: var(--white);
  padding: 10px 16px;
  border-radius: var(--radius-sm);
  font-size: 12.5px;
  font-weight: 600;
  z-index: 400;
  display: none;
  box-shadow: 0 10px 24px rgba(0,0,0,0.2);
}

@media print {
  .top-nav, .hero-wrap, .page-content, .site-footer, .toast-alert, .fab-ai-btn, .modal-backdrop:not(.pdf-modal-backdrop), .pdf-modal-header { display: none !important; }
  body { background: #FFF !important; }
  .pdf-modal-backdrop { position: static !important; background: transparent !important; padding: 0 !important; display: block !important; }
  .pdf-modal-backdrop .modal-box { box-shadow: none !important; max-width: 100% !important; max-height: none !important; padding: 0 !important; border: none !important; }
  .pdf-modal-backdrop .modal-scroll-body { overflow: visible !important; padding: 0 !important; }
  .pdf-sheet { border: none !important; padding: 8px !important; max-width: 100% !important; }
}

@media (max-width: 1024px) {
  .nav-container { flex-wrap: wrap; padding: 10px 16px; }
  .cards-grid-3, .feature-strip-card, .kpi-bar { grid-template-columns: repeat(2, 1fr); }
  .kpi-cell { border-bottom: 1px solid var(--border-soft); }
  .search-bar-card { grid-template-columns: 1fr 1fr; gap: 10px; }
  .cbr-grid-3, .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 680px) {
  .cards-grid-3, .feature-strip-card, .search-bar-card, .cbr-grid-2, .cbr-grid-3, .footer-grid, .kpi-bar {
    grid-template-columns: 1fr;
  }
  .kpi-cell { border-right: none; }
  .live-score-strip { grid-template-columns: 1fr 1fr; }
  .matrix-2d-wrap { grid-template-columns: 1fr; }
  .matrix-y-axis { writing-mode: horizontal-tb; transform: none; padding: 4px 0; }
}
