:root {
  --mist: #F7F4F0;
  --sage: #8FA78A;
  --sage-dark: #5F775A;
  --pink: #E8B4BC;
  --pink-deep: #C47D89;
  --blue: #9DB8D9;
  --gazebo: #6B4F3A;
  --text: #2B2B2B;
  --text-muted: #57534E;
  --shadow-soft: 0 12px 32px rgba(107, 79, 58, 0.12);
  --font-script: "Great Vibes", "Brush Script MT", Georgia, cursive;
  --font-body: "Nunito", "Quicksand", system-ui, -apple-system, sans-serif;
  --font-serif: Georgia, "Times New Roman", serif;
  --font-arab: "Amiri", "Scheherazade New", "Traditional Arabic", serif;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  font-size: 16px;
  height: 100%;
}

body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--text);
  background-color: #E7E3DC;
  background-image:
    radial-gradient(circle at 15% 20%, rgba(143, 167, 138, 0.25) 0%, transparent 45%),
    radial-gradient(circle at 85% 75%, rgba(232, 180, 188, 0.28) 0%, transparent 45%);
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}

@media (max-width: 520px) {
  html,
  body {
    background-color: #FFFFFF;
    background-image: none;
  }
}

body.invitation-body,
body.scroll-locked {
  overflow: hidden;
  height: 100vh;
  height: 100dvh;
  overscroll-behavior: none;
}

/* Mobile-first 480px centered column */
.invitation-shell {
  position: relative;
  width: 100%;
  max-width: 480px;
  min-height: 100vh;
  min-height: 100dvh;
  margin: 0 auto;
  background: var(--mist);
  box-shadow: 0 0 48px rgba(43, 43, 43, 0.16);
}

/* Cover Overlay */
.cover-overlay {
  position: fixed;
  inset: 0;
  z-index: 60;
  display: flex;
  justify-content: center;
  background: rgba(231, 227, 220, 0.94);
  transition: opacity 700ms ease, visibility 700ms ease;
}

.cover-overlay.is-opened {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

.cover-card {
  position: relative;
  width: 100%;
  max-width: 480px;
  height: 100vh;
  height: 100dvh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 24px 24px calc(32px + env(safe-area-inset-bottom));
  background: var(--mist);
  overflow: hidden;
}

.cover-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.92;
  pointer-events: none;
}

.cover-mist-panel {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: 360px;
  padding: 26px 20px;
  border-radius: 24px;
  background: rgba(247, 244, 240, 0.88);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border: 1px solid rgba(143, 167, 138, 0.35);
  box-shadow: var(--shadow-soft);
}

.cover-subtitle {
  margin: 0 0 6px;
  font-size: 0.85rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--gazebo);
  font-weight: 700;
}

.couple-script {
  font-family: var(--font-script);
  font-size: clamp(2.4rem, 9vw, 3.2rem);
  line-height: 1.18;
  color: var(--text);
  margin: 4px 0 10px;
  font-weight: 400;
}

.guest-box {
  margin: 12px 0 18px;
  padding: 12px 14px;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.82);
  border: 1px dashed rgba(107, 79, 58, 0.35);
}

.guest-label {
  display: block;
  font-size: 0.85rem;
  color: var(--text-muted);
}

.guest-name {
  display: block;
  font-size: 1.2rem;
  font-weight: 800;
  color: var(--gazebo);
  word-break: break-word;
}

/* Buttons (>= 44x44 touch target) */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 44px;
  min-width: 44px;
  padding: 10px 18px;
  border-radius: 999px;
  border: 1px solid transparent;
  font-family: var(--font-body);
  font-size: 0.96rem;
  font-weight: 700;
  cursor: pointer;
  text-decoration: none;
  transition: transform 160ms ease, background-color 160ms ease;
}

.btn:focus-visible,
a:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible,
button:focus-visible {
  outline: 3px solid var(--gazebo);
  outline-offset: 2px;
}

.btn:active {
  transform: scale(0.97);
}

.btn-primary {
  background: var(--sage-dark);
  color: #FFFFFF;
  box-shadow: 0 6px 18px rgba(95, 119, 90, 0.3);
}

.btn-secondary {
  background: #FFFFFF;
  color: var(--gazebo);
  border-color: rgba(107, 79, 58, 0.35);
}

.btn-soft {
  background: rgba(232, 180, 188, 0.3);
  color: var(--text);
  border-color: rgba(196, 125, 137, 0.45);
}

.btn-sm {
  min-height: 44px;
  padding: 8px 14px;
  font-size: 0.88rem;
}

/* =========================================================
   SECTION 8.3: STICKY STAGE CHOREOGRAPHY (100svh)
   ========================================================= */
.scroll-track {
  position: relative;
  width: 100%;
  height: 100vh;
  height: 100dvh;
  overflow: hidden;
}

.sticky-stage {
  position: relative;
  width: 100%;
  height: 100vh;
  height: 100dvh;
  overflow: hidden;
  contain: layout paint;
  touch-action: pan-x;
  background: linear-gradient(180deg, #DCE8F5 0%, #F7F4F0 52%, #EAE5DD 100%);
}

/* World Layers (animated purely at 60/120fps by rAF, no competing CSS transition) */
.stage-layer {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  will-change: transform, opacity;
  transform-origin: center center;
}

.stage-layer img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.layer-couple-wrap {
  position: absolute;
  left: 50%;
  top: 33%;
  width: 68%;
  max-width: 310px;
  transform: translate(-50%, 0);
  pointer-events: none;
  will-change: transform, opacity;
}

.layer-couple-wrap img {
  width: 100%;
  height: auto;
  display: block;
}

.layer-blue-flowers {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 28%;
  pointer-events: none;
  will-change: transform, opacity;
}

.layer-blue-flowers img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: bottom;
}

.layer-gazebo-anchor {
  position: absolute;
  top: -8px;
  left: -12px;
  width: 165px;
  height: 165px;
  pointer-events: none;
  will-change: opacity, transform;
  opacity: 0;
}

.layer-gazebo-anchor img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.layer-mist-bottom {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 54%;
  background: linear-gradient(
    to top,
    rgba(247, 244, 240, 0.96) 0%,
    rgba(247, 244, 240, 0.88) 42%,
    rgba(247, 244, 240, 0) 100%
  );
  pointer-events: none;
  z-index: 6;
}

/* Clouds & Butterflies */
.sky-cloud {
  position: absolute;
  z-index: 2;
  pointer-events: none;
  opacity: 0.6;
  animation: cloudDrift 28s linear infinite;
}

@keyframes cloudDrift {
  0% { transform: translateX(-16%); }
  50% { transform: translateX(18%); }
  100% { transform: translateX(-16%); }
}

.butterflies-layer {
  position: absolute;
  inset: 0;
  z-index: 7;
  pointer-events: none;
  opacity: 0;
  transition: opacity 500ms ease;
}

.butterflies-layer.is-active {
  opacity: 1;
}

.butterfly {
  position: absolute;
  width: 28px;
  height: 28px;
  animation: butterflyFlight 11s ease-in-out infinite;
}

.butterfly svg {
  width: 100%;
  height: 100%;
  animation: wingFlap 0.32s ease-in-out infinite alternate;
}

.animations-paused .butterfly,
.animations-paused .butterfly svg,
.animations-paused .sky-cloud {
  animation-play-state: paused !important;
}

@keyframes butterflyFlight {
  0% { transform: translate(0, 0) rotate(8deg); }
  25% { transform: translate(75px, -42px) rotate(-6deg); }
  50% { transform: translate(135px, 14px) rotate(12deg); }
  75% { transform: translate(50px, 36px) rotate(-10deg); }
  100% { transform: translate(0, 0) rotate(8deg); }
}

@keyframes wingFlap {
  from { transform: scaleX(1); }
  to { transform: scaleX(0.42); }
}

/* Stage Text Overlay (always above bottom menu + 16px) */
.stage-text-layer {
  position: absolute;
  inset: 0;
  z-index: 10;
  pointer-events: none;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 68px 20px calc(82px + env(safe-area-inset-bottom));
}

.scene-slide {
  position: absolute;
  left: 20px;
  right: 20px;
  top: 64px;
  bottom: calc(82px + env(safe-area-inset-bottom));
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  align-items: center;
  text-align: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 380ms ease;
}

.scene-slide--split {
  justify-content: space-between;
}

.scene-slide--center {
  justify-content: center;
}

.scene-slide.is-active {
  opacity: 1;
  pointer-events: auto;
}

/* Left-to-right soft blurred wipe (PRD 8.3, snappy response) */
.wipe-item {
  opacity: 0;
  filter: blur(4px);
  -webkit-mask-image: linear-gradient(90deg, #000 0%, #000 58%, transparent 100%);
  mask-image: linear-gradient(90deg, #000 0%, #000 58%, transparent 100%);
  -webkit-mask-size: 250% 100%;
  mask-size: 250% 100%;
  -webkit-mask-position: 100% 0;
  mask-position: 100% 0;
  transition:
    opacity 280ms ease,
    filter 540ms ease-out,
    -webkit-mask-position 580ms ease-out,
    mask-position 580ms ease-out;
}

.scene-slide.is-active .wipe-item {
  opacity: 1;
  filter: blur(0);
  -webkit-mask-position: 0% 0;
  mask-position: 0% 0;
}

.scene-slide.is-active .wipe-d1 { transition-delay: 20ms; }
.scene-slide.is-active .wipe-d2 { transition-delay: 110ms; }
.scene-slide.is-active .wipe-d3 { transition-delay: 200ms; }
.scene-slide.is-active .wipe-d4 { transition-delay: 290ms; }
.scene-slide.is-active .wipe-d5 { transition-delay: 380ms; }

/* Glass Panel (Adab Walimah, RSVP/Gift) */
.glass-panel {
  width: 100%;
  max-height: 100%;
  overflow-y: auto;
  overscroll-behavior: contain;
  touch-action: pan-y;
  background: rgba(247, 244, 240, 0.92);
  border: 1px solid rgba(255, 255, 255, 0.85);
  border-radius: 22px;
  padding: 20px 16px;
  box-shadow: var(--shadow-soft);
  transform: translateY(24px);
  transition: transform 650ms ease-out, opacity 500ms ease;
}

.scene-slide.is-active .glass-panel {
  transform: translateY(0);
}

@supports (backdrop-filter: blur(12px)) {
  .glass-panel {
    background: rgba(247, 244, 240, 0.78);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
  }
}

.mist-text-box {
  width: 100%;
  padding: 12px 14px;
  border-radius: 18px;
  background: rgba(247, 244, 240, 0.78);
}

.section-kicker {
  margin: 0 0 2px;
  font-size: 0.8rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gazebo);
}

.section-heading {
  font-family: var(--font-script);
  font-size: 2.25rem;
  font-weight: 400;
  margin: 0 0 8px;
  color: var(--text);
  line-height: 1.15;
}

.arabic-text {
  font-family: var(--font-arab);
  font-size: 1.7rem;
  line-height: 1.95;
  direction: rtl;
  color: var(--gazebo);
  margin: 4px 0 8px;
}

.verse-translation {
  font-family: var(--font-serif);
  font-style: italic;
  font-size: 0.98rem;
  line-height: 1.6;
  color: var(--text);
  margin: 0 0 6px;
}

.verse-ref {
  font-size: 0.88rem;
  font-weight: 800;
  color: var(--sage-dark);
}

/* Event details */
.event-title {
  font-family: var(--font-script);
  font-size: 2.3rem;
  color: var(--text);
  margin: 0 0 6px;
  line-height: 1.15;
}

.event-meta {
  font-size: 1rem;
  margin: 3px 0;
  color: var(--text);
}

.event-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px;
  margin-top: 10px;
}

.countdown-pill {
  display: inline-flex;
  gap: 10px;
  padding: 6px 14px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.86);
  border: 1px solid rgba(143, 167, 138, 0.35);
  font-size: 0.85rem;
  font-weight: 800;
  color: var(--gazebo);
  margin-bottom: 8px;
}

/* Adab Walimah */
.adab-list {
  list-style: none;
  padding: 0;
  margin: 10px 0 0;
  display: grid;
  gap: 8px;
  text-align: left;
}

.adab-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 12px;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.84);
  border: 1px solid rgba(143, 167, 138, 0.25);
  font-size: 0.94rem;
}

.adab-icon {
  flex-shrink: 0;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(143, 167, 138, 0.22);
  color: var(--sage-dark);
  display: flex;
  align-items: center;
  justify-content: center;
}

.adab-icon--danger {
  background: rgba(220, 53, 69, 0.14);
  color: #B02A37;
}

/* Interactive Tabs inside Scene 9 (RSVP / Ucapan / Hadiah) */
.stage-tabs {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 6px;
  margin-bottom: 12px;
}

.stage-tab {
  min-height: 44px;
  border-radius: 12px;
  border: 1px solid rgba(107, 79, 58, 0.22);
  background: rgba(255, 255, 255, 0.75);
  font-family: var(--font-body);
  font-size: 0.88rem;
  font-weight: 800;
  color: var(--text-muted);
  cursor: pointer;
}

.stage-tab.is-active {
  background: var(--sage-dark);
  color: #FFFFFF;
  border-color: var(--sage-dark);
}

/* Forms */
.form-group {
  text-align: left;
  margin-bottom: 10px;
}

.form-label {
  display: block;
  font-size: 0.88rem;
  font-weight: 700;
  margin-bottom: 4px;
  color: var(--text);
}

.form-control {
  width: 100%;
  min-height: 44px;
  padding: 8px 12px;
  border-radius: 12px;
  border: 1px solid rgba(107, 79, 58, 0.3);
  background: #FFFFFF;
  font-family: var(--font-body);
  font-size: 0.96rem;
  color: var(--text);
}

textarea.form-control {
  min-height: 70px;
  resize: vertical;
}

.hp-field {
  position: absolute;
  left: -9999px;
  opacity: 0;
  height: 0;
  width: 0;
  pointer-events: none;
}

.wish-list {
  display: grid;
  gap: 8px;
  text-align: left;
}

.wish-card {
  background: rgba(255, 255, 255, 0.92);
  border-radius: 12px;
  padding: 10px 12px;
  border: 1px solid rgba(157, 184, 217, 0.45);
}

.wish-author {
  font-weight: 800;
  color: var(--gazebo);
  font-size: 0.92rem;
}

.wish-time {
  font-size: 0.78rem;
  color: var(--text-muted);
}

.wish-body {
  margin: 4px 0 0;
  font-size: 0.9rem;
}

.gift-card {
  background: #FFFFFF;
  border: 1px solid rgba(143, 167, 138, 0.4);
  border-radius: 14px;
  padding: 12px 14px;
  margin-top: 10px;
  text-align: left;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}

.gift-bank {
  font-size: 0.84rem;
  font-weight: 700;
  color: var(--sage-dark);
}

.gift-number {
  font-size: 1.08rem;
  font-weight: 800;
  color: var(--text);
}

.gift-owner {
  font-size: 0.85rem;
  color: var(--text-muted);
}

/* Floating Scene Stepper — Top Left */
.scene-stepper {
  position: fixed;
  top: calc(14px + env(safe-area-inset-top));
  left: max(14px, calc(50% - 226px));
  z-index: 45;
  display: inline-flex;
  align-items: center;
  gap: 2px;
  height: 44px;
  padding: 0 6px;
  border-radius: 999px;
  border: 1px solid rgba(107, 79, 58, 0.22);
  background: rgba(255, 255, 255, 0.86);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  box-shadow: 0 4px 14px rgba(43, 43, 43, 0.12);
}

.scene-stepper[hidden] {
  display: none;
}

.scene-stepper button {
  width: 34px;
  height: 36px;
  border: 0;
  border-radius: 50%;
  background: transparent;
  color: var(--gazebo);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}

.scene-stepper button:disabled {
  opacity: 0.35;
  cursor: default;
}

.scene-stepper-label {
  font-size: 0.8rem;
  font-weight: 800;
  color: var(--gazebo);
  min-width: 38px;
  text-align: center;
}

/* Floating Music Button — Top Right (PRD 8.3) */
.music-fab {
  position: fixed;
  top: calc(14px + env(safe-area-inset-top));
  right: max(14px, calc(50% - 226px));
  z-index: 45;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 1px solid rgba(107, 79, 58, 0.25);
  background: rgba(255, 255, 255, 0.86);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  color: var(--gazebo);
  box-shadow: 0 4px 14px rgba(43, 43, 43, 0.14);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}

.music-fab.is-playing {
  background: var(--sage-dark);
  color: #FFFFFF;
}

/* Bottom Navigation (Glassmorphism, 64px, hidden on cover) */
.bottom-nav {
  position: fixed;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 100%;
  max-width: 480px;
  height: calc(64px + env(safe-area-inset-bottom));
  z-index: 40;
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-top: 1px solid rgba(143, 167, 138, 0.35);
  padding: 4px 4px env(safe-area-inset-bottom);
}

.bottom-nav[hidden] {
  display: none;
}

.bottom-nav button {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  border: 0;
  background: transparent;
  font-family: var(--font-body);
  color: var(--text-muted);
  font-size: 0.72rem;
  font-weight: 700;
  gap: 2px;
  border-radius: 10px;
  cursor: pointer;
}

.bottom-nav button.is-active {
  color: var(--sage-dark);
  background: rgba(143, 167, 138, 0.15);
}

/* Scroll Hint */
.scroll-hint {
  position: absolute;
  bottom: calc(70px + env(safe-area-inset-bottom));
  left: 50%;
  transform: translateX(-50%);
  z-index: 12;
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--gazebo);
  background: rgba(255, 255, 255, 0.76);
  padding: 4px 12px;
  border-radius: 999px;
  pointer-events: none;
  opacity: 0.9;
  transition: opacity 400ms ease;
}

.scroll-hint.is-hidden {
  opacity: 0;
}

/* Toast & Status Banner */
.toast {
  position: fixed;
  top: 18px;
  left: 50%;
  transform: translateX(-50%) translateY(-20px);
  z-index: 80;
  background: var(--text);
  color: #FFFFFF;
  padding: 10px 18px;
  border-radius: 999px;
  font-size: 0.9rem;
  font-weight: 600;
  opacity: 0;
  pointer-events: none;
  transition: opacity 220ms ease, transform 220ms ease;
}

.toast.is-shown {
  opacity: 1;
  transform: translateX(-50%) translateY(0);
}

.status-banner {
  position: fixed;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 100%;
  max-width: 480px;
  z-index: 50;
  background: #FFF3CD;
  color: #664D03;
  border-bottom: 1px solid #FFECB5;
  padding: 6px 12px;
  font-size: 0.82rem;
  text-align: center;
  font-weight: 700;
}

/* Reduced Motion (PRD 8.3) */
@media (prefers-reduced-motion: reduce) {
  .stage-layer {
    transition: opacity 250ms ease !important;
  }
  .wipe-item {
    -webkit-mask-image: none !important;
    mask-image: none !important;
    filter: none !important;
    transition: opacity 300ms ease !important;
    transition-delay: 0ms !important;
  }
  .butterfly,
  .butterfly svg,
  .sky-cloud {
    animation: none !important;
  }
}

/* Dashboard Styles */
.dash-wrap {
  max-width: 1120px;
  margin: 0 auto;
  padding: 20px 16px 64px;
}

.dash-header {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  background: #FFFFFF;
  padding: 18px 22px;
  border-radius: 20px;
  border: 1px solid rgba(143, 167, 138, 0.35);
  box-shadow: var(--shadow-soft);
  margin-bottom: 20px;
}

.dash-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
}

@media (min-width: 960px) {
  .dash-grid {
    grid-template-columns: 1.45fr 1fr;
    align-items: start;
  }
}

.dash-card {
  background: #FFFFFF;
  border-radius: 20px;
  padding: 20px;
  border: 1px solid rgba(143, 167, 138, 0.3);
  box-shadow: var(--shadow-soft);
  margin-bottom: 18px;
}

.dash-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 18px;
}

.dash-tab {
  min-height: 44px;
  padding: 8px 16px;
  border-radius: 999px;
  border: 1px solid rgba(107, 79, 58, 0.25);
  background: #FFFFFF;
  color: var(--text);
  font-weight: 700;
  cursor: pointer;
}

.dash-tab.is-active {
  background: var(--sage-dark);
  color: #FFFFFF;
  border-color: var(--sage-dark);
}

.stat-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(135px, 1fr));
  gap: 12px;
}

.stat-box {
  background: var(--mist);
  padding: 14px;
  border-radius: 14px;
  border: 1px solid rgba(143, 167, 138, 0.3);
}

.stat-value {
  font-size: 1.6rem;
  font-weight: 800;
  color: var(--gazebo);
}

.stat-label {
  font-size: 0.85rem;
  color: var(--text-muted);
}

.phone-frame {
  width: 100%;
  max-width: 390px;
  margin: 0 auto;
  border: 10px solid #2B2B2B;
  border-radius: 34px;
  overflow: hidden;
  background: var(--mist);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.18);
}

.phone-frame iframe {
  width: 100%;
  height: 680px;
  border: 0;
  display: block;
}

.table-scroll {
  overflow-x: auto;
}

table.dash-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.92rem;
}

table.dash-table th,
table.dash-table td {
  padding: 10px 8px;
  border-bottom: 1px solid #EAE6DF;
  text-align: left;
}

.badge {
  display: inline-block;
  padding: 3px 10px;
  border-radius: 999px;
  font-size: 0.78rem;
  font-weight: 700;
}

.badge-hadir { background: #D1E7DD; color: #0F5132; }
.badge-tidak { background: #F8D7DA; color: #842029; }
.badge-ragu { background: #FFF3CD; color: #664D03; }
