/* ==========================================================================
   FARHAHRAHMAN.COM — DESIGN SYSTEM: FARHAH — QUIET EDITORIAL
   Berdasarkan Seksyen 34 - 47 Master DNA v1.0
   ========================================================================== */

:root {
  /* Color DNA: Doa Dari Ibu & Midnight Editorial Palette */
  --canvas: #FAF6F0;        /* Warm Vanilla Porcelain Cream */
  --surface: #FFFFFF;       /* Pure Soft White Card */
  --ink: #0E253C;           /* Deep Midnight Navy Ink */
  --ink-secondary: #586574; /* Soft Slate Navy Ink */
  --line: #E8E2D9;          /* Delicate Cream Border */

  /* Accents */
  --taupe: #9B8D82;         /* Warm Sand Taupe */
  --blush: #F7ECE8;         /* Pink Lembut Nude / Soft Blush */
  --blush-light: #FCF7F4;   /* Nude Pink Highlight */
  --blush-border: #EEDCD6;  /* Nude Pink Border */
  --rose: #C27B73;          /* Soft Dusty Rose (DARI IBU) */
  --rose-deep: #A65D56;     /* Terracotta Rose Text Accent */
  --rose-panel: #DB9DA0;    /* Warm Dusty Rose Banner Accent */
  --sage: #7F8C7B;          /* Soft Sage */
  --gold: #C5A869;          /* Antique Gold Accent */
  --navy: #132B45;          /* Deep Royal Midnight Navy */
  --forest: #132B45;        /* Harmonized with Navy */
  --header-bg: #132B45;     /* Midnight Navy Header */
  --header-text: #FAF7F2;   /* Warm Ivory Nav Text */

  /* Typography */
  --font-serif: "Cormorant Garamond", Garamond, Georgia, "Times New Roman", serif;
  --font-sans: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;

  /* Spacing Scale */
  --space-1: 0.25rem;   /* 4px */
  --space-2: 0.5rem;    /* 8px */
  --space-3: 0.75rem;   /* 12px */
  --space-4: 1rem;      /* 16px */
  --space-6: 1.5rem;    /* 24px */
  --space-8: 2rem;      /* 32px */
  --space-12: 3rem;     /* 48px */
  --space-16: 4rem;     /* 64px */
  --space-20: 5rem;     /* 80px */
  --space-24: 6rem;     /* 96px */

  /* Radius DNA (Restraint) */
  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 20px;
  --radius-pill: 999px;

  /* Shadow DNA (Whispering) */
  --shadow-subtle: 0 4px 20px -2px rgba(36, 35, 33, 0.04);
  --shadow-hover: 0 10px 30px -4px rgba(36, 35, 33, 0.08);

  /* Transition */
  --transition-fast: 180ms cubic-bezier(0.16, 1, 0.3, 1);
  --transition-smooth: 320ms cubic-bezier(0.16, 1, 0.3, 1);
}

/* Reset & Base Elements */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  font-size: 16px;
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  background-color: var(--canvas);
  color: var(--ink);
  font-family: var(--font-sans);
  line-height: 1.7;
  font-size: 1.0625rem;
  letter-spacing: -0.01em;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

/* Layout Containers */
.container {
  width: 100%;
  max-width: 1140px;
  margin-left: auto;
  margin-right: auto;
  padding-left: var(--space-6);
  padding-right: var(--space-6);
}

.container-reading {
  width: 100%;
  max-width: 740px;
  margin-left: auto;
  margin-right: auto;
  padding-left: var(--space-6);
  padding-right: var(--space-6);
}

/* Typography Hierarchy */
h1, h2, h3, h4, .font-serif {
  font-family: var(--font-serif);
  font-weight: 400;
  line-height: 1.2;
  color: var(--ink);
  letter-spacing: -0.015em;
}

h1 {
  font-size: clamp(2.5rem, 5vw, 4.25rem);
  line-height: 1.1;
  margin-bottom: var(--space-6);
}

h2 {
  font-size: clamp(2rem, 3.5vw, 2.75rem);
  margin-bottom: var(--space-4);
}

h3 {
  font-size: clamp(1.5rem, 2.5vw, 1.875rem);
  margin-bottom: var(--space-3);
}

p {
  margin-bottom: var(--space-4);
  color: var(--ink-secondary);
}

.eyebrow {
  font-family: var(--font-sans);
  font-size: 0.8125rem;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  font-weight: 600;
  color: var(--rose, #C27B73);
  margin-bottom: var(--space-3);
  display: block;
}

.lead {
  font-size: 1.25rem;
  line-height: 1.6;
  color: var(--ink-secondary);
}

/* Header & Navigation */
.site-header {
  padding-top: 0.9rem;
  padding-bottom: 0.9rem;
  background-color: var(--header-bg, #132B45);
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
  position: sticky;
  top: 0;
  z-index: 100;
  box-shadow: 0 4px 20px rgba(15, 25, 18, 0.15);
  transition: background-color var(--transition-normal);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.site-header .brand-wordmark {
  font-family: var(--font-serif);
  font-size: 1.75rem;
  font-weight: 400;
  color: var(--header-text, #F7F4EF);
  text-decoration: none;
  letter-spacing: -0.015em;
  display: flex;
  align-items: center;
  gap: 10px;
}

.brand-avatar-sticker {
  width: 32px;
  height: 32px;
  object-fit: contain;
  filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.22));
  transition: transform 0.28s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  flex-shrink: 0;
  display: inline-block;
}

.site-header .brand-wordmark:hover .brand-avatar-sticker {
  transform: scale(1.15) rotate(-6deg);
}

.site-header .brand-wordmark .gold-dot {
  color: var(--gold, #C5A869);
  margin-left: 2px;
}

.nav-wrapper {
  display: flex;
  align-items: center;
  gap: var(--space-8);
}

.nav-links {
  display: flex;
  gap: var(--space-3);
  list-style: none;
  align-items: center;
  margin: 0;
  padding: 0;
}

.nav-links .nav-item {
  text-decoration: none;
  color: rgba(255, 255, 255, 0.82);
  font-size: 0.8125rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  padding: 0.35rem 0.65rem;
  border-radius: var(--radius-sm);
  transition: all var(--transition-fast);
}

.nav-links .nav-item:hover,
.nav-links .nav-item.active {
  color: #FFFFFF;
  background-color: rgba(255, 255, 255, 0.12);
}

/* Navigation Dropdown Menu (SISTEMS) */
.nav-item-dropdown {
  position: relative;
  display: inline-block;
}

.nav-caret {
  display: inline-block;
  font-size: 0.625rem;
  margin-left: 2px;
  vertical-align: middle;
  transition: transform var(--transition-fast);
}

.nav-item-dropdown:hover .nav-caret {
  transform: rotate(180deg);
}

.nav-dropdown-menu {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  min-width: 220px;
  background-color: var(--navy, #132B45);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: var(--radius-sm);
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.28);
  padding: 0.5rem 0;
  z-index: 100;
  /* Tiada margin-top — dropdown melekat terus ke nav item */
  /* Jambatan invisible mengisi jurang supaya hover tidak tergelincir */
}

/* Jambatan invisible mencegah hover tergelincir antara nav item dan dropdown */
.nav-item-dropdown::before {
  content: "";
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  height: 12px;
  background: transparent;
  z-index: 99;
}

.nav-item-dropdown:hover .nav-dropdown-menu,
.nav-item-dropdown:focus-within .nav-dropdown-menu {
  display: block;
}

.dropdown-link {
  display: block;
  padding: 0.6rem 1.1rem;
  color: rgba(255, 255, 255, 0.85);
  text-decoration: none;
  font-size: 0.8125rem;
  font-weight: 500;
  letter-spacing: 0.02em;
  transition: all var(--transition-fast);
  white-space: nowrap;
}

.dropdown-link:hover {
  background-color: rgba(255, 255, 255, 0.1);
  color: #FFFFFF;
  padding-left: 1.35rem;
}


.nav-divider {
  color: rgba(255, 255, 255, 0.3);
  font-size: 0.75rem;
  user-select: none;
}

.header-socials {
  display: flex;
  align-items: center;
  gap: var(--space-2);
  padding-left: var(--space-6);
  border-left: 1px solid rgba(255, 255, 255, 0.2);
}

.social-icon-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  color: rgba(255, 255, 255, 0.85);
  background-color: rgba(255, 255, 255, 0.08);
  transition: all var(--transition-fast);
  text-decoration: none;
}

.social-icon-btn:hover {
  color: #FFFFFF;
  background-color: var(--gold, #C5A869);
  transform: translateY(-2px);
}

.site-header .nav-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: var(--space-2);
  color: var(--header-text, #F7F4EF);
}

/* Buttons & CTAs */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.75rem 1.625rem;
  font-size: 0.9375rem;
  font-weight: 450;
  text-decoration: none;
  border-radius: var(--radius-sm);
  transition: all var(--transition-fast);
  cursor: pointer;
  border: 1px solid transparent;
  gap: var(--space-2);
}

.btn-primary {
  background-color: var(--ink);
  color: var(--canvas);
  border-color: var(--ink);
}

.btn-primary:hover {
  background-color: #3b3936;
  color: var(--surface);
  transform: translateY(-1px);
}

.btn-secondary {
  background-color: transparent;
  color: var(--ink);
  border-color: var(--line);
}

.btn-secondary:hover {
  border-color: var(--ink);
  background-color: var(--surface);
}

.eyebrow {
  font-family: var(--font-sans);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--taupe);
  margin-bottom: var(--space-2);
}

.text-cta {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  color: var(--ink);
  text-decoration: none;
  font-size: 0.9375rem;
  font-weight: 500;
  transition: gap var(--transition-fast), color var(--transition-fast);
}

.text-cta:hover {
  color: var(--rose);
  gap: var(--space-3);
}

/* Hero Section */
.hero-section {
  padding-top: clamp(1rem, 2vw, 2rem);
  padding-bottom: clamp(1.25rem, 2.5vw, 2.25rem);
  position: relative;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: var(--space-8);
  align-items: center;
}

.gold-amp {
  font-family: var(--font-serif);
  font-style: italic;
  color: var(--gold, #C5A869);
  font-weight: 300;
}

.gold-dot {
  color: var(--gold, #C5A869);
}

.hero-forest-panel {
  position: absolute;
  top: 0;
  right: 0;
  width: 28%;
  height: 100%;
  background-color: var(--rose-panel, #DB9DA0);
  z-index: 1;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  align-items: center;
  padding: var(--space-6) var(--space-2);
  pointer-events: none;
}

.hero-portrait-wrap {
  position: relative;
  max-width: 310px;
  margin-left: auto;
  margin-right: auto;
  width: 100%;
}

.hero-portrait-card {
  background-color: #FFFFFF;
  padding: 10px;
  border-radius: 24px;
  box-shadow: 0 20px 45px -8px rgba(14, 37, 60, 0.14);
  border: 1px solid rgba(255, 255, 255, 0.9);
  position: relative;
  z-index: 2;
  transition: transform var(--transition-smooth), box-shadow var(--transition-smooth);
}

.hero-portrait-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 25px 50px -10px rgba(14, 37, 60, 0.18);
}

.hero-portrait-img {
  width: 100%;
  aspect-ratio: 348 / 489;
  border-radius: 18px;
  display: block;
  object-fit: cover;
  object-position: center 20%;
}

.hero-portrait-caption {
  font-family: var(--font-serif);
  font-style: italic;
  color: var(--taupe);
  font-size: 0.8125rem;
  margin-top: var(--space-2);
  text-align: center;
}

/* Mascot Sticker Badge (Farhah Chibi) */
.hero-mascot-badge {
  position: absolute;
  bottom: -18px;
  right: -22px;
  width: 86px;
  height: 86px;
  z-index: 5;
  filter: drop-shadow(0 6px 14px rgba(14, 37, 60, 0.22));
  transition: transform 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  animation: mascotFloat 4s ease-in-out infinite;
}

.hero-mascot-badge:hover {
  transform: scale(1.16) rotate(4deg);
  animation-play-state: paused;
}

.hero-mascot-img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
}

.hero-mascot-tooltip {
  position: absolute;
  bottom: -20px;
  left: 50%;
  transform: translateX(-50%);
  background: rgba(14, 37, 60, 0.92);
  color: #FFFFFF;
  font-family: var(--font-serif);
  font-style: italic;
  font-size: 0.72rem;
  padding: 1px 8px;
  border-radius: 999px;
  white-space: nowrap;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.2s ease, transform 0.2s ease;
}

.hero-mascot-badge:hover .hero-mascot-tooltip {
  opacity: 1;
  transform: translateX(-50%) translateY(2px);
}

@keyframes mascotFloat {
  0%, 100% { transform: translateY(0) rotate(0deg); }
  50% { transform: translateY(-5px) rotate(2deg); }
}

/* Sticker Die-cut Images */
.journal-sticker-pin img,
.modal-diecut-preview img,
.journal-sticker img,
.sticker-diecut-img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
}

.btn-forest {
  background-color: var(--navy, #132B45);
  color: #FFFFFF;
  border-color: var(--navy, #132B45);
  padding: 0.8125rem 1.625rem;
  border-radius: var(--radius-sm);
  font-weight: 500;
}

.btn-forest:hover {
  background-color: #0A1C2E;
  color: #FFFFFF;
  border-color: var(--gold, #C5A869);
  transform: translateY(-1px);
}

/* Kad Petikan Inspirasi Farhah (Studio Nota FR) */
.hero-quote-card {
  background-color: #FCFAF7;
  border: 1px solid rgba(226, 218, 206, 0.9);
  border-radius: 18px;
  padding: 1.15rem 1.4rem;
  max-width: 480px;
  margin: var(--space-4) 0;
  box-shadow: 0 10px 25px -4px rgba(14, 37, 60, 0.05), 0 2px 6px -1px rgba(14, 37, 60, 0.03);
  position: relative;
  transition: transform var(--transition-smooth), box-shadow var(--transition-smooth);
}

.hero-quote-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 14px 30px -5px rgba(14, 37, 60, 0.09);
}

.hero-quote-mark {
  font-family: var(--font-serif);
  font-size: 2.25rem;
  line-height: 0.75;
  color: var(--rose, #C27B73);
  margin-bottom: 0.35rem;
  user-select: none;
  font-weight: 700;
  display: block;
}

.hero-quote-text {
  font-family: var(--font-serif);
  font-style: italic;
  font-size: clamp(1.05rem, 1.18vw, 1.1875rem);
  line-height: 1.55;
  color: var(--ink, #0E253C);
  margin: 0;
  padding: 0;
}

.hero-quote-author {
  display: block;
  font-family: var(--font-sans);
  font-size: 0.8125rem;
  font-weight: 600;
  font-style: normal;
  color: var(--rose-deep, #A65D56);
  margin-top: 0.65rem;
  letter-spacing: 0.02em;
}

.hero-signature {
  font-family: var(--font-serif);
  font-style: italic;
  font-size: 1.25rem;
  color: var(--taupe);
  opacity: 0.65;
  margin-top: var(--space-3);
  transform: rotate(-2deg);
}

/* Watermark Tulisan Senget Samar-samar (Mantra & Doa Farhah) */
.watermark-quote {
  position: absolute;
  right: 2%;
  top: 8%;
  font-family: var(--font-serif);
  font-style: italic;
  font-size: clamp(2rem, 3.8vw, 3.5rem);
  font-weight: 400;
  color: var(--gold, #C5A869);
  opacity: 0.13;
  transform: rotate(-3.5deg);
  pointer-events: none;
  user-select: none;
  line-height: 1.3;
  max-width: 580px;
  text-align: right;
  z-index: 0;
  transition: opacity var(--transition-normal);
}

@media (max-width: 900px) {
  .watermark-quote {
    font-size: clamp(1.625rem, 3.5vw, 2.5rem);
    opacity: 0.1;
    max-width: 75%;
    top: 5%;
  }
}

@media (max-width: 600px) {
  .watermark-quote {
    font-size: 1.35rem;
    right: auto;
    left: 4%;
    top: 2%;
    max-width: 92%;
    text-align: left;
    transform: rotate(-2deg);
    opacity: 0.08;
  }
}

.hero-cta-group {
  display: flex;
  gap: var(--space-4);
  margin-top: var(--space-5);
  flex-wrap: wrap;
}

/* ==========================================================================
   SINGLE-VIEWPORT HOMEPAGE (Satu Muka Surat Penuh Tanpa Skrol)
   ========================================================================== */
@media (min-width: 769px) and (min-height: 520px) {
  html.home-single-page,
  body.home-single-page {
    height: 100vh;
    height: 100dvh;
    overflow: hidden !important;
  }

  body.home-single-page {
    min-height: 100vh;
    min-height: 100dvh;
    max-height: 100vh;
    max-height: 100dvh;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
  }

  body.home-single-page .site-header {
    flex-shrink: 0;
    padding-top: 0.75rem;
    padding-bottom: 0.75rem;
  }

  body.home-single-page #main-content {
    flex: 1 1 auto;
    display: flex;
    flex-direction: column;
    justify-content: center;
    min-height: 0;
    overflow: hidden;
  }

  body.home-single-page .hero-section {
    flex: 1 1 auto;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 0;
    padding-top: var(--space-2);
    padding-bottom: var(--space-2);
    position: relative;
    overflow: hidden;
  }

  body.home-single-page .hero-grid {
    position: relative;
    z-index: 2;
    align-items: center;
    gap: clamp(1.5rem, 3.5vw, 3rem);
  }

  body.home-single-page .hero-title {
    font-size: clamp(2rem, 3.5vw, 3.25rem);
    line-height: 1.14;
    margin-bottom: var(--space-3);
  }

  body.home-single-page .hero-lead {
    max-width: 520px;
    margin-bottom: var(--space-4);
    font-size: clamp(0.9375rem, 1.05vw, 1.0625rem);
    line-height: 1.65;
  }

  body.home-single-page .hero-quote-card {
    background-color: #FCFAF7;
    border: 1px solid rgba(226, 218, 206, 0.9);
    margin-top: var(--space-3);
    margin-bottom: var(--space-3);
    padding: 0.85rem 1.15rem;
    max-width: 470px;
    box-shadow: 0 10px 25px -4px rgba(14, 37, 60, 0.05);
  }

  body.home-single-page .hero-quote-mark {
    font-size: 1.85rem;
    margin-bottom: 0.2rem;
  }

  body.home-single-page .hero-quote-text {
    font-size: clamp(0.9375rem, 1.05vw, 1.0625rem);
    line-height: 1.45;
  }

  body.home-single-page .hero-quote-author {
    margin-top: 0.4rem;
    font-size: 0.75rem;
    color: var(--taupe, #9B8D82);
  }

  body.home-single-page .hero-cta-group {
    margin-top: var(--space-4);
    display: flex;
    gap: var(--space-3);
    align-items: center;
    flex-wrap: wrap;
  }
  }

  body.home-single-page .hero-portrait-wrap {
    max-width: clamp(230px, 20vw, 290px);
  }

  body.home-single-page .hero-portrait-card {
    padding: 8px;
    border-radius: 20px;
  }

  body.home-single-page .hero-portrait-img {
    max-height: clamp(240px, 44vh, 370px);
    aspect-ratio: 348 / 480;
    object-fit: cover;
    object-position: center 20%;
    border-radius: 14px;
  }

  body.home-single-page .hero-mascot-badge {
    width: clamp(58px, 6vw, 78px);
    height: clamp(58px, 6vw, 78px);
    bottom: -12px;
    right: -16px;
  }

  body.home-single-page .site-footer {
    flex-shrink: 0;
    margin-top: 0;
    padding-top: 0.65rem;
    padding-bottom: 0.65rem;
  }
}

@media (max-width: 768px), (max-height: 519px) {
  body.home-single-page {
    min-height: 100dvh;
    display: flex;
    flex-direction: column;
  }

  body.home-single-page #main-content {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
  }

  body.home-single-page .hero-section {
    padding-top: var(--space-8);
    padding-bottom: var(--space-8);
  }

  body.home-single-page .hero-portrait-wrap {
    max-width: 260px;
    margin-top: var(--space-4);
  }
}

/* Sections rhythm */
.section {
  padding-top: var(--space-16);
  padding-bottom: var(--space-16);
}

.section-header {
  margin-bottom: var(--space-12);
}

.section-divider {
  border: none;
  border-top: 1px solid var(--line);
  margin-top: var(--space-8);
  margin-bottom: var(--space-8);
}

/* My World Grid */
.world-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: var(--space-8);
}

.world-item {
  padding-top: var(--space-4);
  border-top: 1px solid var(--line);
}

.world-item-tag {
  font-family: var(--font-sans);
  font-size: 0.8125rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--taupe);
  margin-bottom: var(--space-2);
}

.world-item-title {
  font-family: var(--font-serif);
  font-size: 1.625rem;
  margin-bottom: var(--space-2);
}

.world-item-desc {
  font-size: 0.9375rem;
  color: var(--ink-secondary);
}

/* Featured Project Showcase */
.project-card {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: var(--space-12);
  align-items: center;
  background-color: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: var(--space-8);
  margin-bottom: var(--space-8);
  transition: transform var(--transition-fast), box-shadow var(--transition-fast);
}

.project-card:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-hover);
}

.project-thumb {
  width: 100%;
  aspect-ratio: 16/10;
  border-radius: var(--radius-md);
  object-fit: cover;
  background-color: var(--canvas);
  border: 1px solid var(--line);
}

.project-badge {
  display: inline-block;
  padding: 0.25rem 0.625rem;
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  border-radius: var(--radius-pill);
  background-color: var(--canvas);
  color: var(--ink-secondary);
  margin-bottom: var(--space-3);
}

/* Systems 3-Category Tabs */
.systems-tab-container {
  display: flex;
  gap: var(--space-3);
  margin-bottom: var(--space-8);
  flex-wrap: wrap;
  border-bottom: 1px solid var(--line);
  padding-bottom: var(--space-4);
}

.systems-tab-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 0.65rem 1.15rem;
  border-radius: var(--radius-pill);
  background-color: var(--surface);
  border: 1px solid var(--line);
  color: var(--ink-secondary);
  font-family: var(--font-sans);
  font-size: 0.875rem;
  font-weight: 500;
  cursor: pointer;
  transition: all var(--transition-fast);
  text-decoration: none;
}

.systems-tab-btn:hover {
  border-color: var(--taupe);
  color: var(--ink);
  background-color: #FAF8F5;
}

.systems-tab-btn.active {
  background-color: var(--navy, #132B45);
  color: #FFFFFF;
  border-color: var(--navy, #132B45);
  box-shadow: 0 4px 12px rgba(19, 43, 69, 0.15);
}

.systems-tab-btn .tab-count {
  display: inline-block;
  padding: 1px 7px;
  font-size: 0.6875rem;
  border-radius: var(--radius-pill);
  background-color: rgba(0, 0, 0, 0.06);
  color: inherit;
}

.systems-tab-btn.active .tab-count {
  background-color: rgba(255, 255, 255, 0.22);
  color: #FFFFFF;
}

/* Category Pills on Cards */
.category-pill {
  display: inline-block;
  padding: 0.25rem 0.65rem;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  border-radius: var(--radius-pill);
}

.pill-professional {
  background-color: rgba(19, 43, 69, 0.08);
  color: var(--navy, #132B45);
  border: 1px solid rgba(19, 43, 69, 0.14);
}

.pill-commerce {
  background-color: rgba(197, 168, 105, 0.15);
  color: #7D5F1A;
  border: 1px solid rgba(197, 168, 105, 0.35);
}

.pill-personal {
  background-color: rgba(219, 157, 160, 0.22);
  color: #8C484D;
  border: 1px solid rgba(219, 157, 160, 0.45);
}

/* System Preview Browser Mockup Frame */
.system-preview-frame {
  background-color: #FFFFFF;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  box-shadow: 0 8px 24px rgba(15, 25, 18, 0.08);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: transform var(--transition-fast), box-shadow var(--transition-fast);
}

.system-preview-frame:hover {
  box-shadow: 0 12px 32px rgba(15, 25, 18, 0.14);
}

.mockup-browser-bar {
  background: #F3EFEA;
  border-bottom: 1px solid var(--line);
  padding: 8px 12px;
  display: flex;
  align-items: center;
  gap: 6px;
}

.mockup-dot {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  display: inline-block;
}

.mockup-dot.red { background: #FF5F56; }
.mockup-dot.yellow { background: #FFBD2E; }
.mockup-dot.green { background: #27C93F; }

.mockup-address-bar {
  flex: 1;
  background: #FFFFFF;
  border: 1px solid rgba(0, 0, 0, 0.08);
  border-radius: 4px;
  padding: 2px 10px;
  font-size: 0.6875rem;
  color: var(--ink-secondary);
  font-family: var(--font-sans);
  margin-left: 6px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  opacity: 0.85;
}

.mockup-browser-content {
  flex: 1;
  overflow: hidden;
  position: relative;
  background-color: #F8F9FA;
  display: flex;
  align-items: flex-start;
}

.system-frontpage-img {
  width: 100%;
  height: auto;
  min-height: 100%;
  object-fit: cover;
  object-position: top center;
  display: block;
  transition: transform 0.4s ease;
}

.system-preview-frame:hover .system-frontpage-img {
  transform: scale(1.025);
}

/* System Visual Showcase Thumb (Legacy Fallback) */
.system-visual-thumb {
  background: linear-gradient(135deg, #FAF6F0 0%, #F0E8DD 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: var(--space-6);
  position: relative;
  overflow: hidden;
}

.system-visual-inner {
  text-align: center;
  border: 1px dashed rgba(155, 141, 130, 0.35);
  border-radius: var(--radius-sm);
  padding: var(--space-6) var(--space-4);
  width: 100%;
  background: rgba(255, 255, 255, 0.75);
  backdrop-filter: blur(4px);
}

.system-visual-cat {
  display: block;
  font-family: var(--font-sans);
  font-size: 0.6875rem;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--taupe);
  margin-bottom: 4px;
}

.system-visual-title {
  font-family: var(--font-serif);
  font-size: 1.5rem;
  color: var(--ink);
  margin-bottom: 4px;
}

.system-visual-sub {
  font-size: 0.75rem;
  font-style: italic;
  color: var(--taupe);
}

/* Journal / Editorial Stories */
.journal-featured {
  margin-bottom: var(--space-12);
}

.journal-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: var(--space-8);
}

.journal-entry {
  text-decoration: none;
  color: inherit;
  display: block;
}

.journal-entry:hover .journal-entry-title {
  color: var(--rose);
}

.journal-entry-meta {
  font-size: 0.8125rem;
  color: var(--taupe);
  margin-bottom: var(--space-2);
}

.journal-entry-title {
  font-family: var(--font-serif);
  font-size: 1.5rem;
  margin-bottom: var(--space-2);
  transition: color var(--transition-fast);
}

/* Admin UI Elements */
.admin-card {
  background-color: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  padding: var(--space-6);
  margin-bottom: var(--space-6);
}

.form-group {
  margin-bottom: var(--space-6);
}

.form-label {
  display: block;
  font-size: 0.875rem;
  font-weight: 500;
  margin-bottom: var(--space-2);
  color: var(--ink);
}

.form-control {
  width: 100%;
  padding: 0.75rem 1rem;
  font-size: 0.9375rem;
  font-family: inherit;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  background-color: var(--surface);
  color: var(--ink);
  transition: border-color var(--transition-fast);
}

.form-control:focus {
  outline: none;
  border-color: var(--ink);
}

.form-help {
  font-size: 0.8125rem;
  color: var(--ink-secondary);
  margin-top: var(--space-1);
}

.alert {
  padding: 1rem 1.25rem;
  border-radius: var(--radius-sm);
  margin-bottom: var(--space-6);
  font-size: 0.9375rem;
}

.alert-danger {
  background-color: #fcf1f0;
  color: #9c2b2b;
  border: 1px solid #f2c7c5;
}

.alert-success {
  background-color: #f1f7f2;
  color: #2b703e;
  border: 1px solid #cce5d2;
}

/* Footer */
.site-footer {
  margin-top: auto;
  padding-top: var(--space-8);
  padding-bottom: var(--space-8);
  border-top: 1px solid var(--line);
  background-color: var(--surface);
}

.footer-simple-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: var(--space-4);
}

.footer-left {
  display: flex;
  align-items: center;
  gap: var(--space-6);
  flex-wrap: wrap;
}

.footer-socials {
  display: flex;
  align-items: center;
  gap: var(--space-2);
}

.footer-socials-label {
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--taupe);
  text-transform: uppercase;
  letter-spacing: 0.12em;
  margin-right: 4px;
}

.footer-icon {
  background-color: rgba(36, 35, 33, 0.06);
  color: var(--ink);
  width: 30px;
  height: 30px;
}

.footer-icon:hover {
  background-color: var(--forest, #132B45);
  color: #FFFFFF;
  transform: translateY(-2px);
}

.footer-copy {
  font-size: 0.8125rem;
  color: var(--taupe);
}

.footer-right {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  font-size: 0.8125rem;
  color: var(--taupe);
  flex-wrap: wrap;
}

.footer-motto {
  color: var(--taupe);
}

.footer-sep {
  color: var(--line);
}

.footer-admin-link {
  color: var(--taupe);
  text-decoration: none;
  transition: color var(--transition-fast);
}

.footer-admin-link:hover {
  color: var(--ink);
}

/* Responsive Behaviour */
@media (max-width: 900px) {
  .hero-forest-panel {
    display: none;
  }

  .hero-grid {
    grid-template-columns: 1fr;
    gap: var(--space-8);
  }
  
  .project-card {
    grid-template-columns: 1fr;
    gap: var(--space-6);
  }

  .footer-simple-inner {
    flex-direction: column;
    align-items: flex-start;
    gap: var(--space-4);
  }

  .footer-left {
    flex-direction: column;
    align-items: flex-start;
    gap: var(--space-3);
  }
}

@media (max-width: 768px) {
  .nav-wrapper {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    background-color: var(--header-bg, #132B45);
    flex-direction: column;
    padding: var(--space-6);
    border-bottom: 1px solid rgba(255, 255, 255, 0.15);
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.25);
    gap: var(--space-4);
  }

  .nav-wrapper.open {
    display: flex;
  }

  .nav-links {
    flex-direction: column;
    width: 100%;
    gap: var(--space-3);
    align-items: stretch;
    text-align: center;
  }

  .nav-divider {
    display: none;
  }

  .nav-links .nav-item {
    display: block;
    padding: 0.6rem;
    font-size: 0.9375rem;
  }

  .header-socials {
    border-left: none;
    padding-left: 0;
    padding-top: var(--space-4);
    border-top: 1px solid rgba(255, 255, 255, 0.15);
    width: 100%;
    justify-content: center;
    gap: var(--space-4);
  }

  .site-header .nav-toggle {
    display: block;
  }
}

/* Reduced Motion */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}

/* ==========================================================================
   GRATITUDE JOURNAL & SAGE SERENITY PLANNER AESTHETICS
   ========================================================================== */

.gratitude-topbar {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  margin-bottom: var(--space-8);
  flex-wrap: wrap;
  gap: var(--space-4);
}

.gratitude-actions {
  display: flex;
  gap: var(--space-3);
  align-items: center;
  flex-wrap: wrap;
}

.gratitude-select {
  padding: 0.45rem 0.85rem;
  font-size: 0.875rem;
  border-color: #BAC7B7;
  background-color: #FAF8F5;
  color: #3C4A3E;
  border-radius: var(--radius-sm);
  font-weight: 500;
}

/* ==========================================================================
   JOYFUL BLOOMS PALETTE & LANDSCAPE GRATITUDE PLANNER (SATU MUKA SURAT)
   ========================================================================== */

:root {
  --pal-orange: #FD6804;
  --pal-pink: #FE97A8;
  --pal-mint: #95CBBD;
  --pal-yellow: #EDB74B;
  --pal-magenta: #D6085D;
  --pal-cream: #FFFDF9;
  --pal-paper: #FAF7F2;
}

.gratitude-section {
  padding-top: var(--space-4) !important;
  padding-bottom: var(--space-10) !important;
}

.gratitude-topbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: var(--space-4);
  flex-wrap: wrap;
  gap: var(--space-3);
}

.gratitude-actions {
  display: flex;
  gap: var(--space-3);
  align-items: center;
  flex-wrap: wrap;
}

.gratitude-select {
  padding: 0.4rem 0.85rem;
  font-size: 0.875rem;
  border: 1.5px solid var(--pal-mint);
  background-color: #FAFDFC;
  color: #1F2A24;
  border-radius: var(--radius-sm);
  font-weight: 600;
  box-shadow: 0 2px 8px rgba(149, 203, 189, 0.15);
}

/* THE LANDSCAPE BINDER WRAPPER */
.landscape-binder-wrapper {
  max-width: 1220px;
  margin: 0 auto;
  position: relative;
}

/* Mint Leather Desk Pad Cover with Vibrant Floral Mood */
.landscape-binder-leather {
  background: linear-gradient(135deg, #95CBBD 0%, #7CB6A6 100%);
  border-radius: 22px;
  padding: 20px 24px;
  position: relative;
  box-shadow: 0 18px 45px rgba(45, 85, 75, 0.22), 0 4px 14px rgba(0, 0, 0, 0.08);
  border: 2px solid #82BAAB;
}

/* Leather Edge Stitching */
.landscape-binder-leather::before {
  content: '';
  position: absolute;
  top: 6px;
  left: 6px;
  right: 6px;
  bottom: 6px;
  border: 1.5px dashed rgba(255, 255, 255, 0.55);
  border-radius: 16px;
  pointer-events: none;
}

/* Metal Gold Corners */
.leather-corner {
  position: absolute;
  width: 24px;
  height: 24px;
  pointer-events: none;
  z-index: 5;
}
.leather-corner.tl { top: 4px; left: 4px; border-top: 3px solid #EDB74B; border-left: 3px solid #EDB74B; border-top-left-radius: 12px; }
.leather-corner.tr { top: 4px; right: 4px; border-top: 3px solid #EDB74B; border-right: 3px solid #EDB74B; border-top-right-radius: 12px; }
.leather-corner.bl { bottom: 4px; left: 4px; border-bottom: 3px solid #EDB74B; border-left: 3px solid #EDB74B; border-bottom-left-radius: 12px; }
.leather-corner.br { bottom: 4px; right: 4px; border-bottom: 3px solid #EDB74B; border-right: 3px solid #EDB74B; border-bottom-right-radius: 12px; }

/* The Two-Page Open Book Spread */
.landscape-spread {
  display: grid;
  grid-template-columns: 1fr 44px 1fr;
  align-items: stretch;
  position: relative;
}

/* Planner Pages */
.planner-page {
  background-color: var(--pal-cream);
  background-image: radial-gradient(rgba(237, 183, 75, 0.18) 0.75px, transparent 0.75px);
  background-size: 16px 16px;
  padding: 22px 24px;
  position: relative;
  box-shadow: 0 4px 18px rgba(0, 0, 0, 0.05), inset 0 0 30px rgba(235, 225, 210, 0.35);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 14px;
}

.planner-page-left {
  border-radius: 14px 4px 4px 14px;
  border-right: 1px solid rgba(0, 0, 0, 0.06);
  padding-right: 28px;
}

.planner-page-right {
  border-radius: 4px 14px 14px 4px;
  border-left: 1px solid rgba(0, 0, 0, 0.06);
  padding-left: 28px;
}

/* Punch Holes along the binding edge */
.page-punch-holes {
  position: absolute;
  top: 25px;
  bottom: 25px;
  width: 14px;
  display: flex;
  flex-direction: column;
  justify-content: space-around;
  align-items: center;
  pointer-events: none;
}
.planner-page-left .page-punch-holes { right: 8px; }
.planner-page-right .page-punch-holes { left: 8px; }

.page-punch-hole {
  width: 11px;
  height: 11px;
  border-radius: 50%;
  background: #7CB6A6;
  box-shadow: inset 1px 1px 3px rgba(0, 0, 0, 0.5), 0 0 0 1px rgba(0, 0, 0, 0.06);
}

/* Center Spine & 6 Arched Gold Rings */
.landscape-spine {
  display: flex;
  flex-direction: column;
  justify-content: space-around;
  align-items: center;
  padding: 25px 0;
  position: relative;
  z-index: 10;
}

.gold-binder-ring {
  width: 46px;
  height: 15px;
  position: relative;
}

.gold-ring-metal {
  width: 100%;
  height: 100%;
  background: linear-gradient(180deg, #FFF6D6 0%, #EDB74B 35%, #B8851B 65%, #F7E4A8 100%);
  border-radius: 10px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.35), inset 0 1px 2px rgba(255, 255, 255, 0.8);
  border: 0.5px solid #9E7315;
}

/* Washi Tape Strip Accents */
.washi-strip {
  position: absolute;
  height: 16px;
  border-radius: 2px;
  opacity: 0.88;
  box-shadow: 0 1px 3px rgba(0,0,0,0.08);
  pointer-events: none;
}
.washi-mint {
  background: rgba(149, 203, 189, 0.7);
  width: 70px;
  top: -8px;
  right: 30px;
  transform: rotate(2deg);
}
.washi-orange {
  background: rgba(253, 104, 4, 0.55);
  width: 60px;
  top: -8px;
  left: 30px;
  transform: rotate(-3deg);
}
.washi-pink {
  background: rgba(254, 151, 168, 0.65);
  width: 65px;
  top: -8px;
  right: 25px;
  transform: rotate(2.5deg);
}
.washi-yellow {
  background: rgba(237, 183, 75, 0.65);
  width: 65px;
  top: -8px;
  left: 25px;
  transform: rotate(-2deg);
}

/* SHEET HEADER (LEFT PAGE) */
.landscape-sheet-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-bottom: 8px;
  border-bottom: 1px solid rgba(237, 183, 75, 0.3);
}

.header-title-box {
  text-align: center;
  position: relative;
  flex: 1;
}

.planner-wordmark {
  display: block;
  font-family: var(--font-serif);
  font-size: 1.35rem;
  font-weight: 700;
  letter-spacing: 0.26em;
  text-transform: uppercase;
  color: var(--pal-magenta);
  line-height: 1.1;
}

.planner-cursive {
  display: block;
  font-family: 'Alex Brush', 'Caveat', cursive;
  font-size: 3.25rem;
  color: var(--pal-orange);
  line-height: 0.8;
  margin-top: -3px;
  margin-bottom: 4px;
}

.planner-tagline {
  display: block;
  font-family: var(--font-sans);
  font-size: 0.625rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: #B28328;
  font-weight: 700;
}

/* DATE STRIP */
.landscape-date-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: rgba(254, 151, 168, 0.12);
  border: 1px solid rgba(254, 151, 168, 0.3);
  padding: 5px 12px;
  border-radius: var(--radius-sm);
  font-size: 0.8125rem;
}

.date-field {
  display: flex;
  align-items: center;
  gap: 6px;
}

.date-label {
  font-family: var(--font-serif);
  font-weight: 700;
  letter-spacing: 0.12em;
  font-size: 0.75rem;
  color: var(--pal-magenta);
}

.date-value {
  font-family: var(--font-sans);
  font-weight: 600;
  color: var(--ink);
}

.journal-entry-subheading {
  font-family: var(--font-serif);
  font-style: italic;
  color: #8C2E46;
  font-size: 0.875rem;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 300px;
}

/* PLANNER BOXES */
.planner-box {
  background-color: rgba(255, 255, 255, 0.85);
  border: 1px solid #EBE5DC;
  border-radius: 8px;
  padding: 12px 14px;
  position: relative;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.02);
}

/* Border Accents by Color */
.box-orange { border-top: 3.5px solid var(--pal-orange); background: #FFFDFB; }
.box-mint { border-top: 3.5px solid var(--pal-mint); background: #FBFDFC; }
.box-pink { border-top: 3.5px solid var(--pal-pink); background: #FFFBFB; }
.box-yellow { border-top: 3.5px solid var(--pal-yellow); background: #FFFFFA; }
.box-magenta { border-top: 3.5px solid var(--pal-magenta); background: #FDFBFC; }

.box-title-wrap {
  margin-bottom: 8px;
}
.box-title-wrap.centered {
  text-align: center;
}

.box-title {
  font-family: var(--font-serif);
  font-size: 0.8125rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  font-weight: 700;
  margin: 0 0 2px 0;
}
.box-orange .box-title { color: var(--pal-orange); }
.box-mint .box-title { color: #2D6E5D; }
.box-pink .box-title { color: var(--pal-magenta); }
.box-yellow .box-title { color: #9E7315; }
.box-magenta .box-title { color: var(--pal-magenta); }

.box-subtitle {
  display: block;
  font-family: var(--font-sans);
  font-size: 0.65rem;
  font-style: italic;
  color: #8C8880;
  line-height: 1.25;
}

/* Grateful numbered items */
.grateful-list {
  list-style: none;
  counter-reset: grateful-counter;
  padding: 0;
  margin: 0;
}

.grateful-item {
  counter-increment: grateful-counter;
  display: flex;
  align-items: flex-start;
  gap: 8px;
  padding: 5px 0;
  border-bottom: 1px solid #F3EDE3;
  font-family: var(--font-sans);
  font-size: 0.8125rem;
  color: #2F3631;
  line-height: 1.4;
}

.grateful-item::before {
  content: counter(grateful-counter) ".";
  font-family: var(--font-serif);
  font-weight: 700;
  color: var(--pal-orange);
  min-width: 14px;
}

.grateful-item:last-child {
  border-bottom: none;
}

/* Ruled Writing Paragraphs */
.ruled-paragraph {
  font-family: var(--font-sans);
  font-size: 0.8125rem;
  color: #2F3631;
  line-height: 1.65;
}
.ruled-paragraph p { margin: 0; }

.moment-paragraph {
  font-size: 0.875rem;
  text-align: center;
  color: #3C2428;
  font-style: italic;
  padding: 4px 8px;
}

/* Sub-grid 3 Column (Right Page) */
.subgrid-3col {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 10px;
}

.little-things-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.little-things-list li {
  padding: 4px 0;
  border-bottom: 1px solid #F3EDE3;
  font-size: 0.75rem;
  color: #2F3631;
  display: flex;
  align-items: center;
  gap: 5px;
}
.little-things-list li:last-child { border-bottom: none; }

.bullet-heart {
  color: var(--pal-magenta);
  font-size: 0.7rem;
}

/* ==========================================================================
   GRATITUDE JOURNAL EDITORIAL UI COMPONENTS (FLOATING NAV, NUMBERED BADGES, MOOD STRIP)
   ========================================================================== */

/* Floating Top Capsule Bar */
.gratitude-floating-nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: #FFFDFB;
  border: 1.5px solid #EFE4D8;
  border-radius: 40px;
  padding: 6px 18px;
  margin-bottom: 0.75rem;
  box-shadow: 0 4px 16px rgba(45, 85, 75, 0.05);
  flex-wrap: wrap;
  gap: 0.5rem;
}

.gratitude-floating-nav .brand-cluster {
  display: flex;
  align-items: center;
  gap: 10px;
}

.gratitude-floating-nav .btn-hari-ini {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  background: var(--pal-magenta, #D6085D);
  color: #FFFFFF !important;
  font-size: 0.75rem;
  font-weight: 600;
  padding: 3px 10px;
  border-radius: 20px;
  text-decoration: none;
  transition: opacity 0.2s ease, transform 0.2s ease;
  box-shadow: 0 2px 6px rgba(214, 8, 93, 0.2);
}
.gratitude-floating-nav .btn-hari-ini:hover {
  opacity: 0.92;
  transform: translateY(-1px);
}

.gratitude-floating-nav .nav-reflection-title {
  font-family: var(--font-serif, 'Cormorant Garamond', Georgia, serif);
  font-style: italic;
  font-size: 0.95rem;
  color: #7A5B48;
  text-align: center;
  flex: 1;
}

.gratitude-floating-nav .nav-right-cluster {
  display: flex;
  align-items: center;
  gap: 8px;
}

.gratitude-floating-nav .nav-date-pill {
  display: flex;
  align-items: center;
  gap: 5px;
  background: #FDF9F5;
  border: 1.5px solid #DDD4C8;
  border-radius: 20px;
  padding: 3px 10px;
  font-size: 0.8rem;
}

.gratitude-floating-nav .nav-date-select {
  border: none;
  background: none;
  font-size: 0.82rem;
  padding: 0;
  outline: none;
  color: var(--ink, #2D2426);
  font-family: var(--font-sans);
  cursor: pointer;
}

.gratitude-floating-nav .nav-user-pill {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  background: #F8F3EC;
  border: 1px solid #E2D6C8;
  border-radius: 20px;
  padding: 3px 10px;
  font-size: 0.78rem;
  font-weight: 600;
  color: #5D463C;
  text-decoration: none;
  transition: background 0.2s ease;
}
.gratitude-floating-nav .nav-user-pill:hover {
  background: #EFE6DA;
}

/* Grateful 10 rows circle badge */
.badge-num-circle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 17px;
  height: 17px;
  min-width: 17px;
  border-radius: 50%;
  background: #FCE0E5;
  color: #D6085D;
  font-size: 0.65rem;
  font-weight: 700;
  line-height: 1;
}

.grateful-item-row {
  display: flex;
  align-items: center;
  gap: 7px;
  min-height: 20px;
  border-bottom: 1px solid #F5ECE3;
  padding: 1px 0;
  font-size: 0.84rem;
}
.grateful-item-row:last-child {
  border-bottom: none;
}
.grateful-item-row .item-text {
  flex: 1;
  color: #2D2426;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.grateful-item-row .item-text-empty {
  color: #DDD4C8;
}

/* Emosi Saya Hari Ini Strip */
.box-mood-strip {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 5px 12px;
  background: #FAF5EE;
  border: 1px solid #EAE0D5;
  border-radius: 8px;
}
.mood-pill-badge {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  background: #FFFFFF;
  border: 1px solid #DFD2C4;
  border-radius: 20px;
  padding: 2px 10px;
  font-size: 0.74rem;
  font-weight: 600;
  color: #D6085D;
  box-shadow: 0 1px 3px rgba(0,0,0,0.03);
}

/* Moment card & badge */
.badge-momen-bermakna {
  background: #FCE0E5;
  color: #D6085D;
  border-radius: 12px;
  font-size: 0.62rem;
  font-weight: 700;
  padding: 2px 8px;
  letter-spacing: 0.05em;
  display: inline-flex;
  align-items: center;
  gap: 3px;
}

/* Inspiration Sticker & Quote Separation */
.inspiration-stickers-wrap {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  width: 130px;
  min-width: 130px;
  margin-right: 18px;
}

.inspiration-stickers-wrap .sticker-square,
.inspiration-stickers-wrap .journal-sticker-diecut {
  width: 130px !important;
  height: 130px !important;
  max-width: 130px !important;
  max-height: 130px !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
}

.inspiration-stickers-wrap img,
.inspiration-sticker-tile img {
  max-height: 125px !important;
  max-width: 120px !important;
  width: auto !important;
  height: auto !important;
  object-fit: contain !important;
  display: block !important;
  filter: drop-shadow(0 6px 12px rgba(0, 0, 0, 0.14)) !important;
}

.quote-content-col {
  flex: 1;
  min-width: 0;
  padding-left: 20px;
  border-left: 1.5px solid #F0E6DC;
}

/* Right Page Bottom Row: Mood & Quote */
.landscape-bottom-row {
  display: flex;
  gap: 12px;
  align-items: stretch;
}

.planner-quote-badge {
  flex: 1;
  background: linear-gradient(135deg, rgba(254, 151, 168, 0.12), rgba(237, 183, 75, 0.12));
  border: 1px solid rgba(237, 183, 75, 0.35);
  border-radius: 8px;
  padding: 10px 14px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.quote-heart {
  font-size: 1.1rem;
  color: var(--pal-magenta);
}

.quote-text {
  font-family: var(--font-serif);
  font-style: italic;
  font-size: 0.8125rem;
  color: #4A3238;
  margin: 0;
  line-height: 1.35;
}

.planner-mood-box {
  flex: 1.15;
  background-color: rgba(255, 255, 255, 0.85);
  border: 1px solid #EBE5DC;
  border-top: 3px solid var(--pal-mint);
  border-radius: 8px;
  padding: 8px 12px;
  text-align: center;
}

.mood-title {
  font-family: var(--font-serif);
  font-size: 0.75rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #2D6E5D;
  font-weight: 700;
  margin-bottom: 1px;
}

.mood-subtitle {
  font-family: var(--font-sans);
  font-size: 0.625rem;
  font-style: italic;
  color: #8C8880;
  margin-bottom: 6px;
}

.mood-options {
  display: flex;
  justify-content: space-around;
  align-items: center;
  gap: 4px;
}

.mood-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2px;
  color: #8C8880;
  font-size: 0.625rem;
  font-family: var(--font-sans);
}

.mood-item .mood-icon {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  border: 1px solid #DDD6CB;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.65rem;
  color: #B5AFA6;
  background: #FFF;
  transition: all var(--transition-fast);
}

.mood-item.active {
  font-weight: 700;
}
.mood-item.mood-happy.active { color: var(--pal-orange); }
.mood-item.mood-happy.active .mood-icon { background: rgba(253, 104, 4, 0.15); border-color: var(--pal-orange); color: var(--pal-orange); }

.mood-item.mood-calm.active { color: #2D6E5D; }
.mood-item.mood-calm.active .mood-icon { background: rgba(149, 203, 189, 0.25); border-color: var(--pal-mint); color: #2D6E5D; }

.mood-item.mood-peaceful.active { color: var(--pal-magenta); }
.mood-item.mood-peaceful.active .mood-icon { background: rgba(254, 151, 168, 0.25); border-color: var(--pal-pink); color: var(--pal-magenta); }

.mood-item.mood-motivated.active { color: #9E7315; }
.mood-item.mood-motivated.active .mood-icon { background: rgba(237, 183, 75, 0.2); border-color: var(--pal-yellow); color: #9E7315; }

.mood-item.mood-blessed.active { color: var(--pal-magenta); }
.mood-item.mood-blessed.active .mood-icon { background: rgba(214, 8, 93, 0.15); border-color: var(--pal-magenta); color: var(--pal-magenta); }

.mood-item.mood-loved.active { color: var(--pal-magenta); }
.mood-item.mood-loved.active .mood-icon { background: rgba(254, 151, 168, 0.25); border-color: var(--pal-pink); color: var(--pal-magenta); }

/* Responsive Mobile Stacking */
@media (max-width: 991px) {
  .landscape-spread {
    grid-template-columns: 1fr;
    gap: 16px;
  }
  .landscape-spine {
    display: none;
  }
  .planner-page-left,
  .planner-page-right {
    border-radius: 12px;
    padding: 16px;
  }
  .page-punch-holes {
    display: none;
  }
  .subgrid-3col {
    grid-template-columns: 1fr;
    gap: 10px;
  }
  .landscape-bottom-row {
    flex-direction: column;
  }
}

.header-botanical-left,
.header-botanical-right {
  width: 72px;
  height: 72px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.header-sprig {
  width: 100%;
  height: 100%;
  filter: drop-shadow(0 2px 5px rgba(0, 0, 0, 0.08));
}

.header-title-box {
  text-align: center;
  position: relative;
}

.planner-wordmark {
  display: block;
  font-family: var(--font-serif);
  font-size: 1.5rem;
  font-weight: 600;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: #384639;
  line-height: 1.2;
}

.planner-cursive {
  display: block;
  font-family: 'Alex Brush', 'Caveat', cursive;
  font-size: 3.75rem;
  color: #4C5D4D;
  line-height: 0.85;
  margin-top: -2px;
  margin-bottom: 8px;
}

.planner-tagline {
  display: block;
  font-family: var(--font-sans);
  font-size: 0.6875rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: #7E8F7D;
  font-weight: 600;
}

.header-hearts {
  position: absolute;
  top: 18px;
  right: -24px;
  transform: rotate(15deg);
  opacity: 0.85;
}

/* DATE ROW */
.sheet-date-row {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  border-bottom: 1px solid #DDD6CB;
  padding-bottom: 10px;
  margin-bottom: 24px;
}

.date-field {
  display: flex;
  align-items: baseline;
  gap: 8px;
}

.date-label {
  font-family: var(--font-serif);
  font-weight: 600;
  letter-spacing: 0.15em;
  font-size: 0.8125rem;
  color: #556656;
}

.date-value {
  font-family: var(--font-sans);
  font-weight: 500;
  font-size: 0.9375rem;
  color: #2D362E;
  border-bottom: 1px dotted #A8B5A6;
  padding-bottom: 1px;
}

.journal-entry-subheading {
  font-family: var(--font-serif);
  font-style: italic;
  color: #6C7D6B;
  font-size: 1rem;
}

/* SECTIONS GRID */
.sheet-grid-2col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 22px;
  margin-bottom: 22px;
}

.sheet-grid-3col {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 18px;
  margin-bottom: 22px;
}

.planner-box {
  background-color: rgba(255, 255, 255, 0.72);
  border: 1px solid #E5DFD5;
  border-radius: 8px;
  padding: 16px 18px;
  position: relative;
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.02);
}

.box-title-wrap {
  margin-bottom: 10px;
}

.box-title-wrap.centered {
  text-align: center;
}

.box-title {
  font-family: var(--font-serif);
  font-size: 0.8125rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #384639;
  font-weight: 600;
  margin: 0 0 2px 0;
}

.box-subtitle {
  display: block;
  font-family: var(--font-sans);
  font-size: 0.6875rem;
  font-style: italic;
  color: #8C998B;
  line-height: 1.3;
}

.laurel-divider {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  color: #8C998B;
  font-size: 0.75rem;
  margin-top: 4px;
}

.laurel-line {
  width: 60px;
  height: 1px;
  background-color: #DDD6CB;
}

/* Grateful numbered items */
.grateful-list {
  list-style: none;
  counter-reset: grateful-counter;
  padding: 0;
  margin: 0;
}

.grateful-item {
  counter-increment: grateful-counter;
  display: flex;
  align-items: flex-start;
  gap: 10px;
  padding: 7px 0;
  border-bottom: 1px solid #EBE5DC;
  font-family: var(--font-sans);
  font-size: 0.875rem;
  color: #313B32;
  line-height: 1.45;
}

.grateful-item::before {
  content: counter(grateful-counter) ".";
  font-family: var(--font-serif);
  font-weight: 600;
  color: #728470;
  min-width: 16px;
}

.grateful-item:last-child {
  border-bottom: none;
}

/* Ruled Writing Paragraphs */
.ruled-paragraph {
  font-family: var(--font-sans);
  font-size: 0.875rem;
  color: #313B32;
  line-height: 1.85;
}

.ruled-paragraph p {
  margin: 0;
}

.ruled-paragraph.compact {
  font-size: 0.8125rem;
  line-height: 1.7;
}

.moment-paragraph {
  font-size: 0.9375rem;
  text-align: center;
  color: #2F3930;
  font-style: italic;
  padding: 6px 12px;
}

.little-things-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.little-things-list li {
  padding: 5px 0;
  border-bottom: 1px solid #EDE7DF;
  font-size: 0.8125rem;
  color: #313B32;
  display: flex;
  align-items: center;
  gap: 6px;
}

.little-things-list li:last-child {
  border-bottom: none;
}

.bullet-heart {
  color: #DB8B95;
  font-size: 0.75rem;
}

.box-corner-sprig {
  position: absolute;
  bottom: 8px;
  right: 8px;
  width: 38px;
  height: 38px;
  opacity: 0.45;
  pointer-events: none;
}

/* BOTTOM ROW: QUOTE & MOOD */
.sheet-bottom-row {
  display: flex;
  justify-content: space-between;
  align-items: stretch;
  gap: 20px;
  margin-bottom: 20px;
}

.planner-quote-badge {
  flex: 1;
  background-color: #FAF2EE;
  border: 1px solid #EADBCE;
  border-radius: 8px;
  padding: 16px 20px;
  display: flex;
  align-items: center;
  gap: 12px;
}

.quote-heart {
  font-size: 1.25rem;
  color: #DB8B95;
}

.quote-text {
  font-family: var(--font-serif);
  font-style: italic;
  font-size: 1rem;
  color: #584144;
  margin: 0;
  line-height: 1.4;
}

.planner-mood-box {
  flex: 1.2;
  background-color: rgba(255, 255, 255, 0.75);
  border: 1px solid #E5DFD5;
  border-radius: 8px;
  padding: 14px 18px;
  text-align: center;
}

.mood-title {
  font-family: var(--font-serif);
  font-size: 0.8125rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #384639;
  font-weight: 600;
  margin-bottom: 2px;
}

.mood-subtitle {
  font-family: var(--font-sans);
  font-size: 0.6875rem;
  font-style: italic;
  color: #8C998B;
  margin-bottom: 10px;
}

.mood-options {
  display: flex;
  justify-content: space-around;
  align-items: center;
  gap: 6px;
}

.mood-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 3px;
  color: #9AA898;
  font-size: 0.6875rem;
  font-family: var(--font-sans);
  transition: all var(--transition-fast);
}

.mood-item .mood-icon {
  width: 26px;
  height: 26px;
  border-radius: 50%;
  border: 1px solid #DDD6CB;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.75rem;
  color: #BAC7B7;
  background: #FFF;
  transition: all var(--transition-fast);
}

.mood-item.active {
  color: #A34852;
  font-weight: 600;
}

.mood-item.active .mood-icon {
  background-color: #F8E6E8;
  border-color: #DB8B95;
  color: #C25662;
  box-shadow: 0 2px 6px rgba(219, 139, 149, 0.25);
  transform: scale(1.12);
}

/* FLOURISH */
.sheet-footer-flourish {
  text-align: center;
  color: #8C998B;
  font-family: var(--font-serif);
  font-size: 0.75rem;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  margin-top: 12px;
}

.flourish-arrow {
  color: #BAC7B7;
  padding: 0 8px;
}

/* PINNED STICKERS TRAY (TAMPAL PELEKAT) */
.pinned-stickers-tray {
  margin-top: 24px;
  padding-top: 18px;
  border-top: 1px dashed #D9D2C5;
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
}

.tray-label {
  font-family: var(--font-serif);
  font-size: 0.8125rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #6C7D6B;
  font-weight: 600;
}

.tray-stickers {
  display: flex;
  gap: 16px;
  align-items: center;
  flex-wrap: wrap;
}

/* STICKER VECTOR STYLES */
.journal-sticker,
.binder-tilted-sticker {
  display: inline-block;
  transform: rotate(var(--sticker-rot, 0deg));
  filter: drop-shadow(0 3px 6px rgba(0, 0, 0, 0.12));
  transition: transform 0.25s cubic-bezier(0.175, 0.885, 0.32, 1.275), filter 0.25s ease;
  user-select: none;
}

.journal-sticker:hover,
.binder-tilted-sticker:hover {
  transform: rotate(0deg) scale(1.12);
  filter: drop-shadow(0 6px 12px rgba(0, 0, 0, 0.16));
}

.sticker-square {
  width: 60px;
  height: 60px;
}

.sticker-wide {
  width: 110px;
  height: 38px;
}

.sticker-svg {
  width: 100%;
  height: 100%;
  display: block;
}

.admin-mini-sticker {
  display: inline-block;
  width: 32px;
  height: 32px;
  filter: drop-shadow(0 1px 3px rgba(0, 0, 0, 0.1));
}

.admin-mini-sticker.sticker-wide {
  width: 64px;
  height: 24px;
}

.journal-post-mini-sticker {
  display: inline-block;
  width: 36px;
  height: 36px;
  filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.1));
  transform: rotate(var(--sticker-rot, 0deg));
}

.journal-post-mini-sticker.sticker-wide {
  width: 76px;
  height: 28px;
}

/* ADMIN STICKER PICKER */
.sticker-grid-picker {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(115px, 1fr));
  gap: 12px;
}

.sticker-tile {
  background-color: var(--surface);
  border: 1.5px solid var(--line);
  border-radius: var(--radius-md);
  padding: 12px 8px 8px;
  text-align: center;
  cursor: pointer;
  position: relative;
  transition: all var(--transition-fast);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-between;
}

.sticker-tile:hover {
  border-color: #859682;
  background-color: #F8FAF7;
  transform: translateY(-2px);
}

.sticker-tile.is-selected {
  border-color: #5C6B58;
  background-color: #EDF3EC;
  box-shadow: 0 0 0 2px #5C6B58;
}

.sticker-preview {
  width: 54px;
  height: 54px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 6px;
}

.sticker-preview svg {
  max-width: 100%;
  max-height: 100%;
}

.sticker-name {
  font-size: 0.6875rem;
  color: var(--ink);
  line-height: 1.25;
  font-weight: 500;
}

.sticker-checkbox {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.sticker-check-icon {
  position: absolute;
  top: 4px;
  right: 6px;
  font-size: 0.8125rem;
  color: #4A6347;
  font-weight: bold;
  display: none;
}

.sticker-tile.is-selected .sticker-check-icon {
  display: block;
}

/* RESPONSIVE PLANNER BINDER */
@media (max-width: 768px) {
  .binder-leather-cover {
    padding: 24px 14px 24px 40px;
    border-radius: 14px;
  }

  .binder-spine {
    left: 10px;
    width: 24px;
  }

  .binder-ring {
    width: 24px;
    height: 12px;
  }

  .binder-sheet {
    padding: 24px 18px 28px 24px;
  }

  .sheet-punch-holes {
    left: 6px;
  }

  .punch-hole {
    width: 8px;
    height: 8px;
  }

  .sheet-grid-2col,
  .sheet-grid-3col {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .sheet-bottom-row {
    flex-direction: column;
    gap: 16px;
  }

  .planner-cursive {
    font-size: 2.6rem;
  }

  .planner-wordmark {
    font-size: 1.125rem;
    letter-spacing: 0.18em;
  }

  .header-botanical-left,
  .header-botanical-right {
    width: 48px;
    height: 48px;
  }

  .header-hearts {
    display: none;
  }
}

/* ==========================================================================
   SINGLE-VIEWPORT GRATITUDE JOURNAL (Satu Muka Surat Penuh Tanpa Skrol)
   Target: Fit completely inside >=600px viewport with ZERO vertical scrollbar
   ========================================================================== */
@media (min-width: 769px) {
  html.gratitude-single-page,
  body.gratitude-single-page {
    height: 100vh !important;
    height: 100dvh !important;
    overflow: hidden !important;
    margin: 0 !important;
    padding: 0 !important;
  }

  body.gratitude-single-page {
    min-height: 100vh;
    min-height: 100dvh;
    max-height: 100vh;
    max-height: 100dvh;
    display: flex !important;
    flex-direction: column !important;
    justify-content: space-between !important;
  }

  body.gratitude-single-page .site-header {
    flex-shrink: 0 !important;
    padding-top: 0.35rem !important;
    padding-bottom: 0.35rem !important;
  }

  body.gratitude-single-page #main-content {
    flex: 1 1 auto !important;
    display: flex !important;
    flex-direction: column !important;
    justify-content: center !important;
    min-height: 0 !important;
    overflow: hidden !important;
    padding: 0 !important;
  }

  body.gratitude-single-page .gratitude-section {
    flex: 1 1 auto !important;
    display: flex !important;
    flex-direction: column !important;
    justify-content: center !important;
    min-height: 0 !important;
    padding: 2px 0 4px 0 !important;
  }

  body.gratitude-single-page .gratitude-section > .container {
    flex: 1 1 auto !important;
    display: flex !important;
    flex-direction: column !important;
    justify-content: space-between !important;
    min-height: 0 !important;
    max-width: 1220px !important;
    padding-left: 1rem !important;
    padding-right: 1rem !important;
  }

  body.gratitude-single-page .gratitude-topbar {
    flex-shrink: 0 !important;
    margin-bottom: 3px !important;
    display: flex !important;
    justify-content: space-between !important;
    align-items: center !important;
  }

  body.gratitude-single-page .landscape-binder-wrapper {
    flex: 1 1 auto !important;
    min-height: 0 !important;
    display: flex !important;
    flex-direction: column !important;
    justify-content: center !important;
    width: 100% !important;
  }

  body.gratitude-single-page .landscape-binder-leather {
    flex: 1 1 auto !important;
    min-height: 0 !important;
    display: flex !important;
    flex-direction: column !important;
    padding: 8px 14px !important;
    border-radius: 14px !important;
    box-shadow: 0 10px 30px rgba(45, 85, 75, 0.18) !important;
  }

  body.gratitude-single-page .landscape-spread {
    flex: 1 1 auto !important;
    min-height: 0 !important;
    height: 100% !important;
    display: grid !important;
    grid-template-columns: 1fr 34px 1fr !important;
    align-items: stretch !important;
  }

  body.gratitude-single-page .planner-page {
    flex: 1 1 auto !important;
    min-height: 0 !important;
    height: 100% !important;
    padding: 6px 12px !important;
    gap: 4px !important;
    display: flex !important;
    flex-direction: column !important;
    justify-content: space-between !important;
    overflow: hidden !important;
    border-radius: 10px !important;
  }

  body.gratitude-single-page .landscape-sheet-header {
    padding-bottom: 2px !important;
  }

  body.gratitude-single-page .planner-wordmark {
    font-size: 0.85rem !important;
    letter-spacing: 0.2em !important;
  }

  body.gratitude-single-page .planner-cursive {
    font-size: 1.75rem !important;
    line-height: 0.7 !important;
    margin: -1px 0 1px 0 !important;
  }

  body.gratitude-single-page .planner-tagline {
    font-size: 0.5rem !important;
    letter-spacing: 0.14em !important;
  }

  body.gratitude-single-page .header-botanical-left,
  body.gratitude-single-page .header-botanical-right {
    width: 26px !important;
    height: 26px !important;
  }

  body.gratitude-single-page .landscape-date-row {
    padding: 2px 8px !important;
    font-size: 0.72rem !important;
  }

  body.gratitude-single-page .journal-entry-subheading {
    font-size: 0.72rem !important;
    max-width: 250px !important;
  }

  body.gratitude-single-page .planner-box {
    padding: 4px 8px !important;
    border-radius: 6px !important;
  }

  body.gratitude-single-page .box-title-wrap {
    margin-bottom: 2px !important;
  }

  body.gratitude-single-page .box-title {
    font-size: 0.68rem !important;
    margin: 0 !important;
  }

  body.gratitude-single-page .box-subtitle {
    font-size: 0.54rem !important;
    margin-bottom: 1px !important;
  }

  body.gratitude-single-page .grateful-item {
    padding: 2px 0 !important;
    font-size: 0.88rem !important;
    line-height: 1.35 !important;
  }

  body.gratitude-single-page .ruled-paragraph {
    font-size: 0.72rem !important;
    line-height: 1.3 !important;
  }

  body.gratitude-single-page .planner-quote-badge {
    padding: 3px 8px !important;
    border-radius: 6px !important;
  }

  body.gratitude-single-page .quote-heart {
    font-size: 0.78rem !important;
  }

  body.gratitude-single-page .quote-text {
    font-size: 0.68rem !important;
    line-height: 1.2 !important;
  }

  body.gratitude-single-page .planner-page.planner-page-right {
    gap: 5px !important;
    justify-content: flex-start !important;
  }

  body.gratitude-single-page .planner-box.box-pink {
    flex-shrink: 0 !important;
    padding: 3px 8px !important;
  }

  body.gratitude-single-page .moment-paragraph {
    font-size: 0.68rem !important;
    line-height: 1.2 !important;
    padding: 0 4px !important;
  }

  body.gratitude-single-page .subgrid-3col {
    flex-shrink: 0 !important;
    gap: 4px !important;
  }

  body.gratitude-single-page .subgrid-3col .planner-box {
    padding: 2px 6px 3px 6px !important;
  }

  body.gratitude-single-page .subgrid-3col .ruled-paragraph.compact p {
    font-size: 0.62rem !important;
    line-height: 1.2 !important;
    margin: 0 !important;
  }

  body.gratitude-single-page .little-things-list {
    margin: 0 !important;
    padding-left: 0 !important;
  }

  body.gratitude-single-page .little-things-list li {
    padding: 0 !important;
    font-size: 0.60rem !important;
    line-height: 1.15 !important;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
  }

  body.gratitude-single-page .box-inspiration {
    flex: 1 1 auto !important;
    display: flex !important;
    flex-direction: column !important;
    justify-content: space-between !important;
    padding: 10px 14px !important;
    min-height: 140px !important;
    background: #FFFDF9 !important;
    border: 1.5px solid #EFE5DC !important;
    border-top: 3.5px solid var(--pal-magenta, #D6085D) !important;
    border-radius: 10px !important;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.03) !important;
  }

  body.gratitude-single-page .inspiration-stickers-wrap {
    width: 125px !important;
    min-width: 125px !important;
    margin-right: 16px !important;
  }

  body.gratitude-single-page .inspiration-stickers-wrap .sticker-square,
  body.gratitude-single-page .inspiration-stickers-wrap .journal-sticker-diecut {
    width: 125px !important;
    height: 125px !important;
    max-width: 125px !important;
    max-height: 125px !important;
  }

  .journal-sticker-diecut img,
  .inspiration-sticker-tile img,
  body.gratitude-single-page .journal-sticker-diecut img,
  body.gratitude-single-page .inspiration-sticker-tile img {
    height: 120px !important; /* Saiz ~3.8cm-4cm */
    max-height: 125px !important;
    width: auto !important;
    max-width: 115px !important;
    object-fit: contain !important;
    filter: drop-shadow(0 6px 12px rgba(0, 0, 0, 0.14)) !important;
  }

  .journal-sticker-diecut svg,
  body.gratitude-single-page .journal-sticker-diecut svg {
    width: 115px !important;
    height: 115px !important;
  }

  body.gratitude-single-page .quote-content-col {
    padding-left: 18px !important;
  }

  body.gratitude-single-page .gratitude-floating-nav {
    padding: 3px 14px !important;
    margin-bottom: 6px !important;
  }

  body.gratitude-single-page .gratitude-floating-nav .planner-wordmark {
    font-size: 0.95rem !important;
  }

  body.gratitude-single-page .gratitude-floating-nav .planner-cursive {
    font-size: 1.55rem !important;
  }

  body.gratitude-single-page .gratitude-floating-nav .btn-hari-ini {
    font-size: 0.68rem !important;
    padding: 2px 8px !important;
  }

  body.gratitude-single-page .gratitude-floating-nav .nav-reflection-title {
    font-size: 0.82rem !important;
  }

  body.gratitude-single-page .gratitude-floating-nav .nav-date-pill {
    padding: 2px 8px !important;
    font-size: 0.72rem !important;
  }

  body.gratitude-single-page .gratitude-floating-nav .nav-date-select {
    font-size: 0.75rem !important;
  }

  body.gratitude-single-page .gratitude-floating-nav .nav-user-pill {
    padding: 2px 8px !important;
    font-size: 0.72rem !important;
  }

  body.gratitude-single-page .badge-num-circle {
    width: 15px !important;
    height: 15px !important;
    min-width: 15px !important;
    font-size: 0.58rem !important;
  }

  body.gratitude-single-page .grateful-item-row {
    font-size: 0.75rem !important;
    min-height: 16px !important;
    padding: 0 !important;
  }

  body.gratitude-single-page .box-moment-card {
    padding: 4px 8px !important;
    min-height: 44px !important;
  }

  body.gratitude-single-page .box-mood-strip {
    padding: 3px 8px !important;
  }

  body.gratitude-single-page .mood-pill-badge {
    padding: 1px 7px !important;
    font-size: 0.66rem !important;
  }

  body.gratitude-single-page .badge-momen-bermakna {
    padding: 1px 6px !important;
    font-size: 0.58rem !important;
  }

  body.gratitude-single-page .gratitude-spread-footer {
    margin-top: 4px !important;
    font-size: 0.72rem !important;
    padding: 0 4px !important;
  }

  body.gratitude-single-page .gratitude-spread-footer .footer-quote-cursive {
    font-size: 0.95rem !important;
  }

  body.gratitude-single-page .site-footer {
    flex-shrink: 0 !important;
    padding-top: 0.25rem !important;
    padding-bottom: 0.25rem !important;
    border-top: 1px solid rgba(0, 0, 0, 0.05) !important;
  }

  body.gratitude-single-page .site-footer .footer-simple-inner {
    padding-top: 0 !important;
    padding-bottom: 0 !important;
  }
}

/* ==========================================================================
   DEDICATED SCRAPBOOK STICKER BOARD & STICKER BOOK MODAL (FARHAH RAHMAN)
   ========================================================================== */

/* The Scrapbook Board on the Journal Page */
.scrapbook-sticker-board {
  position: relative;
  background: #FFFDF9;
  border: 1.5px dashed rgba(214, 8, 93, 0.28);
  border-radius: 8px;
  padding: 5px 8px 6px 8px;
  box-shadow: inset 0 1px 3px rgba(0, 0, 0, 0.02), 0 2px 5px rgba(214, 8, 93, 0.04);
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  min-height: 58px;
}

.scrapbook-washi-pin {
  position: absolute;
  top: -4px;
  left: 12px;
  width: 28px;
  height: 8px;
  background: rgba(254, 151, 168, 0.65);
  border: 1px dashed rgba(255, 255, 255, 0.8);
  transform: rotate(-3deg);
  border-radius: 1px;
  pointer-events: none;
}

.scrapbook-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 4px;
  padding-bottom: 3px;
  border-bottom: 1px dashed rgba(214, 8, 93, 0.12);
  gap: 6px;
}

.scrapbook-title-wrap {
  display: flex;
  align-items: center;
  gap: 4px;
}

.scrapbook-pin-icon {
  color: var(--pal-magenta, #D6085D);
  font-size: 0.68rem;
  line-height: 1;
}

.scrapbook-title {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--pal-magenta, #D6085D);
  white-space: nowrap;
}

.scrapbook-badge {
  font-size: 0.50rem;
  font-weight: 600;
  color: #7C8F78;
  background: #EBF1EA;
  padding: 1px 5px;
  border-radius: 10px;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  white-space: nowrap;
}

.btn-open-stickerbook {
  background: linear-gradient(135deg, #FE97A8 0%, #D6085D 100%);
  color: #FFFFFF;
  font-size: 0.54rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  padding: 2px 7px;
  border-radius: 12px;
  border: none;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 3px;
  box-shadow: 0 2px 4px rgba(214, 8, 93, 0.22);
  transition: all 0.18s ease;
  white-space: nowrap;
}

.btn-open-stickerbook:hover {
  transform: translateY(-1px) scale(1.03);
  box-shadow: 0 3px 6px rgba(214, 8, 93, 0.3);
}

.scrapbook-pins-mat {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  flex-wrap: wrap;
  padding: 2px 4px;
}

.scrapbook-pinned-item {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: transform 0.2s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.scrapbook-pinned-item:hover {
  transform: scale(1.22) rotate(0deg) !important;
  z-index: 10;
}

.journal-sticker-pin {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.14)) drop-shadow(0 0 1px rgba(0, 0, 0, 0.22));
}

.journal-sticker-pin.sticker-square {
  width: 28px;
  height: 28px;
}

.journal-sticker-pin.sticker-wide {
  width: 54px;
  height: 22px;
}

.scrapbook-empty-hint {
  font-size: 0.62rem;
  color: #8C9C88;
  font-style: italic;
  padding: 4px;
  cursor: pointer;
  text-align: center;
}

/* Compact mood strip */
.compact-mood-strip {
  background: rgba(255, 255, 255, 0.6) !important;
  border: 1px dashed rgba(237, 183, 75, 0.35) !important;
}

/* Modal Peti Pelekat Scrapbook Farhah */
.stickerbook-modal-wrap {
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1rem;
}

.stickerbook-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(45, 59, 42, 0.55);
  backdrop-filter: blur(4px);
}

.stickerbook-sheet-card {
  position: relative;
  z-index: 10;
  width: 100%;
  max-width: 680px;
  max-height: 85vh;
  background: #FFFDF9;
  border-radius: 14px;
  border: 2px solid #E8DCC8;
  box-shadow: 0 18px 45px rgba(0, 0, 0, 0.22);
  display: flex;
  flex-direction: column;
  overflow: hidden;
  animation: modalScaleIn 0.22s cubic-bezier(0.34, 1.56, 0.64, 1);
}

@keyframes modalScaleIn {
  from { opacity: 0; transform: scale(0.94); }
  to { opacity: 1; transform: scale(1); }
}

.stickerbook-modal-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  padding: 14px 18px 10px 18px;
  background: #FDF9F2;
  border-bottom: 1px solid #ECE3D4;
}

.stickerbook-close-btn {
  background: transparent;
  border: none;
  font-size: 1.4rem;
  line-height: 1;
  color: #8C7B6D;
  cursor: pointer;
  padding: 2px 6px;
  border-radius: 4px;
  transition: all 0.15s ease;
}

.stickerbook-close-btn:hover {
  background: #E8DCC8;
  color: #2D3B2A;
}

.stickerbook-tabs-nav {
  display: flex;
  background: #F5EFE4;
  padding: 4px 12px;
  gap: 4px;
  border-bottom: 1px solid #ECE3D4;
  overflow-x: auto;
}

.sticker-tab-btn {
  background: transparent;
  border: none;
  font-size: 0.72rem;
  font-weight: 600;
  color: #6B7C68;
  padding: 6px 10px;
  border-radius: 6px;
  cursor: pointer;
  white-space: nowrap;
  transition: all 0.15s ease;
}

.sticker-tab-btn.active {
  background: #FFFFFF;
  color: #D6085D;
  font-weight: 700;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.08);
}

.stickerbook-panels-body {
  flex: 1 1 auto;
  overflow-y: auto;
  padding: 14px 18px;
}

.sticker-sheet-panel {
  display: none;
}

.sticker-sheet-panel.active {
  display: block;
  animation: fadeInPanel 0.2s ease;
}

@keyframes fadeInPanel {
  from { opacity: 0; }
  to { opacity: 1; }
}

.sheet-info-ribbon {
  display: flex;
  align-items: center;
  gap: 8px;
  background: #FAF5EB;
  border: 1px dashed #E2D2B6;
  border-radius: 6px;
  padding: 6px 10px;
  margin-bottom: 12px;
}

.sheet-badge-pill {
  font-size: 0.65rem;
  font-weight: 700;
  color: #D6085D;
  background: #FCE0E5;
  padding: 2px 7px;
  border-radius: 10px;
  white-space: nowrap;
}

.sheet-desc-text {
  font-size: 0.72rem;
  color: #6B5C4E;
  line-height: 1.3;
}

.sheet-stickers-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(90px, 1fr));
  gap: 12px;
}

.modal-sticker-tile {
  background: #FFFFFF;
  border: 1px solid #ECE3D4;
  border-radius: 8px;
  padding: 8px 4px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 6px;
  cursor: pointer;
  transition: all 0.2s ease;
}

.modal-sticker-tile:hover {
  transform: translateY(-2px);
  border-color: #D6085D;
  box-shadow: 0 4px 10px rgba(214, 8, 93, 0.12);
}

.modal-sticker-preview {
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.modal-diecut-preview {
  display: flex;
  align-items: center;
  justify-content: center;
  filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.12));
}

.modal-diecut-preview.sticker-square {
  width: 40px;
  height: 40px;
}

.modal-diecut-preview.sticker-wide {
  width: 72px;
  height: 28px;
}

.modal-sticker-label {
  font-size: 0.62rem;
  font-weight: 600;
  color: #4A5647;
  text-align: center;
  line-height: 1.15;
}

.stickerbook-modal-foot {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 10px 18px;
  background: #FDF9F2;
  border-top: 1px solid #ECE3D4;
}

/* Single-page Viewport overrides */
@media (min-width: 900px) {
  body.gratitude-single-page .planner-page-right {
    gap: 3px !important;
  }

  body.gratitude-single-page .scrapbook-sticker-board {
    padding: 4px 8px 5px 8px !important;
    min-height: 52px !important;
  }

  body.gratitude-single-page .journal-sticker-pin.sticker-square {
    width: 24px !important;
    height: 24px !important;
  }

  body.gratitude-single-page .journal-sticker-pin.sticker-wide {
    width: 48px !important;
    height: 20px !important;
  }

  body.gratitude-single-page .scrapbook-pins-mat {
    gap: 8px !important;
    padding: 1px 2px !important;
  }
}



