:root {
  --bg: #070b14;
  --bg-2: #0d1424;
  --panel: rgba(255, 248, 225, 0.94);
  --panel-dark: rgba(16, 24, 41, 0.88);
  --gold: #d9b35f;
  --gold-soft: #f2d88b;
  --cream: #fff7df;
  --muted: #9aa4b8;
  --ink: #182033;
  --green: #8fc79a;
  --red: #d98975;
  --blue: #8fb6ff;
  --purple: #a98cff;
  --border: rgba(217, 179, 95, 0.28);
  --shadow: 0 24px 80px rgba(0, 0, 0, 0.45);
  --radius-xl: 28px;
  --radius-lg: 20px;
  --radius-md: 14px;
}

* {
  box-sizing: border-box;
}

html {
  min-height: 100%;
  background: var(--bg);
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  color: var(--cream);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background:
    radial-gradient(circle at 20% 10%, rgba(217, 179, 95, 0.16), transparent 28%),
    radial-gradient(circle at 82% 18%, rgba(89, 116, 193, 0.22), transparent 34%),
    radial-gradient(circle at 55% 95%, rgba(126, 80, 180, 0.13), transparent 38%),
    linear-gradient(135deg, #050711 0%, #0b1020 45%, #070b14 100%);
  overflow-x: hidden;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  background-image:
    radial-gradient(circle, rgba(255, 255, 255, 0.32) 1px, transparent 1.4px),
    radial-gradient(circle, rgba(217, 179, 95, 0.24) 1px, transparent 1.5px);
  background-size: 72px 72px, 118px 118px;
  background-position: 0 0, 30px 40px;
  opacity: 0.23;
}

body::after {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  background:
    linear-gradient(rgba(255, 255, 255, 0.02) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.02) 1px, transparent 1px);
  background-size: 42px 42px;
  mask-image: radial-gradient(circle at center, black, transparent 75%);
}

img,
svg,
video {
  max-width: 100%;
}

button,
input,
select,
textarea {
  font-family: inherit;
}

button {
  touch-action: manipulation;
}

[hidden] {
  display: none !important;
}

/* ================================
   Main Shell / Header
================================ */

.app-shell {
  position: relative;
  z-index: 1;
  width: min(1480px, calc(100% - 40px));
  margin: 24px auto;
  padding: 24px;
  border: 1px solid var(--border);
  border-radius: 34px;
  background:
    linear-gradient(180deg, rgba(14, 22, 39, 0.92), rgba(8, 13, 25, 0.95)),
    radial-gradient(circle at top left, rgba(217, 179, 95, 0.1), transparent 36%);
  box-shadow: var(--shadow);
  backdrop-filter: blur(18px);
}

.topbar,
.hero-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 10px 8px 26px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 14px;
}

.brand-mark {
  width: 52px;
  height: 52px;
  display: grid;
  place-items: center;
  border: 1px solid var(--border);
  border-radius: 50%;
  color: var(--gold-soft);
  font-size: 26px;
  background:
    radial-gradient(circle, rgba(217, 179, 95, 0.22), rgba(217, 179, 95, 0.04) 60%, transparent),
    rgba(255, 255, 255, 0.03);
  box-shadow: 0 0 36px rgba(217, 179, 95, 0.18);
}

.brand h1 {
  margin: 0;
  color: var(--gold-soft);
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(1.7rem, 2vw, 2.4rem);
  letter-spacing: 0.03em;
}

.brand p {
  margin: 2px 0 0;
  color: var(--muted);
  font-size: 0.92rem;
}

.eyebrow {
  margin: 0 0 8px;
  color: var(--gold);
  text-transform: uppercase;
  font-size: 0.76rem;
  letter-spacing: 0.18em;
}

.nav {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}

.nav a {
  color: rgba(255, 247, 223, 0.72);
  text-decoration: none;
  padding: 10px 14px;
  border-radius: 999px;
  font-size: 0.93rem;
  border: 1px solid transparent;
  transition: 180ms ease;
}

.nav a:hover,
.nav a.active {
  color: var(--gold-soft);
  border-color: var(--border);
  background: rgba(217, 179, 95, 0.08);
}

/* ================================
   Public Dashboard
================================ */

.dashboard {
  display: grid;
  grid-template-columns: 280px minmax(420px, 1fr) 360px;
  gap: 22px;
  align-items: stretch;
}

.today-panel,
.cycle-stage,
.week-strip,
.guide-section,
.notifications-section,
.journal-section,
.about-section,
.site-footer {
  border: 1px solid rgba(217, 179, 95, 0.18);
  border-radius: var(--radius-xl);
  box-shadow: 0 16px 44px rgba(0, 0, 0, 0.24);
}

.today-panel {
  position: relative;
  overflow: hidden;
  padding: 28px;
  background:
    radial-gradient(circle at 18% 15%, rgba(217, 179, 95, 0.12), transparent 32%),
    linear-gradient(180deg, rgba(19, 29, 50, 0.92), rgba(11, 17, 31, 0.94));
}

.today-panel::after {
  content: "";
  position: absolute;
  width: 220px;
  height: 220px;
  left: -80px;
  bottom: -80px;
  border: 1px solid rgba(217, 179, 95, 0.18);
  border-radius: 50%;
  box-shadow:
    0 0 0 24px rgba(217, 179, 95, 0.03),
    0 0 0 48px rgba(217, 179, 95, 0.025),
    0 0 0 72px rgba(217, 179, 95, 0.02);
}

.today-panel h2,
.today-panel .today-day,
.today-panel .day-name,
#currentDay,
#currentDayName,
#todayDay {
  margin: 0;
  color: var(--cream);
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(1.6rem, 3vw, 2.4rem);
  line-height: 1.05;
}

.divider {
  width: 100%;
  height: 1px;
  margin: 26px 0;
  background: linear-gradient(90deg, transparent, rgba(217, 179, 95, 0.72), transparent);
}

.metric {
  margin-bottom: 24px;
}

.metric-label {
  display: block;
  margin-bottom: 8px;
  color: var(--muted);
  font-size: 0.82rem;
  text-transform: uppercase;
  letter-spacing: 0.14em;
}

.metric strong {
  display: block;
  color: var(--cream);
  font-size: 2rem;
  letter-spacing: -0.03em;
}

.metric.current strong {
  color: var(--gold-soft);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 5.5rem;
  line-height: 0.9;
  text-shadow: 0 0 34px rgba(217, 179, 95, 0.22);
}

.metric.current small {
  display: block;
  margin-top: 8px;
  color: rgba(255, 247, 223, 0.78);
  font-size: 0.95rem;
}

.transition-box {
  position: relative;
  z-index: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-top: 8px;
  padding: 11px 14px;
  border: 1px solid rgba(143, 199, 154, 0.35);
  border-radius: 999px;
  color: #c9f2d0;
  background: rgba(143, 199, 154, 0.1);
  font-size: 0.88rem;
  font-weight: 700;
}

.transition-box.neutral {
  border-color: rgba(217, 179, 95, 0.42);
  color: var(--gold-soft);
  background: rgba(217, 179, 95, 0.1);
}

.cycle-stage {
  position: relative;
  display: grid;
  place-items: center;
  min-height: 620px;
  overflow: hidden;
  background:
    radial-gradient(circle at center, rgba(217, 179, 95, 0.12), transparent 42%),
    linear-gradient(180deg, rgba(10, 16, 30, 0.88), rgba(7, 10, 19, 0.92));
}

.cycle-stage::before {
  content: "";
  position: absolute;
  inset: 34px;
  border: 1px solid rgba(217, 179, 95, 0.11);
  border-radius: 50%;
  box-shadow:
    inset 0 0 40px rgba(217, 179, 95, 0.05),
    0 0 80px rgba(217, 179, 95, 0.08);
}

.cycle-wheel {
  position: relative;
  width: min(560px, 78vw);
  height: min(560px, 78vw);
  border-radius: 50%;
  border: 1px solid rgba(217, 179, 95, 0.55);
  background:
    radial-gradient(circle, rgba(9, 14, 26, 0.92) 0 24%, transparent 24.4%),
    conic-gradient(
      from -90deg,
      rgba(63, 88, 148, 0.72) 0deg 51.42deg,
      rgba(63, 142, 130, 0.72) 51.42deg 102.84deg,
      rgba(96, 147, 92, 0.72) 102.84deg 154.26deg,
      rgba(217, 179, 95, 0.9) 154.26deg 205.68deg,
      rgba(167, 103, 64, 0.76) 205.68deg 257.1deg,
      rgba(116, 82, 156, 0.76) 257.1deg 308.52deg,
      rgba(47, 67, 122, 0.78) 308.52deg 360deg
    );
  box-shadow:
    inset 0 0 0 10px rgba(4, 8, 17, 0.46),
    inset 0 0 0 11px rgba(217, 179, 95, 0.28),
    0 0 70px rgba(217, 179, 95, 0.15),
    0 30px 90px rgba(0, 0, 0, 0.55);
}

.cycle-wheel::before {
  content: "";
  position: absolute;
  inset: 34px;
  border: 1px dashed rgba(255, 247, 223, 0.24);
  border-radius: 50%;
}

.cycle-wheel::after {
  content: "MIDNIGHT";
  position: absolute;
  top: 18px;
  left: 50%;
  transform: translateX(-50%);
  color: rgba(255, 247, 223, 0.72);
  font-size: 0.68rem;
  letter-spacing: 0.18em;
}

.wheel-center {
  position: absolute;
  inset: 39%;
  z-index: 5;
  display: grid;
  place-items: center;
  border-radius: 50%;
  border: 1px solid rgba(217, 179, 95, 0.6);
  background:
    radial-gradient(circle, rgba(217, 179, 95, 0.18), rgba(9, 14, 26, 0.98) 64%),
    #08101f;
  box-shadow:
    0 0 44px rgba(217, 179, 95, 0.22),
    inset 0 0 22px rgba(217, 179, 95, 0.12);
}

.wheel-center span {
  color: var(--gold-soft);
  font-size: 2.2rem;
}

.segment {
  position: absolute;
  z-index: 4;
  width: 130px;
  min-height: 86px;
  display: grid;
  place-items: center;
  text-align: center;
  padding: 10px;
  border-radius: 18px;
  color: var(--cream);
  text-shadow: 0 2px 12px rgba(0, 0, 0, 0.42);
}

.segment .letter {
  display: block;
  color: var(--cream);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 2.4rem;
  line-height: 1;
}

.segment small {
  color: rgba(255, 247, 223, 0.76);
  font-size: 0.7rem;
  line-height: 1.3;
}

.segment.active {
  background: rgba(255, 247, 223, 0.08);
  box-shadow: 0 0 40px rgba(217, 179, 95, 0.28);
}

.segment.active .letter {
  color: var(--gold-soft);
}

.seg-1 {
  left: 50%;
  top: 54px;
  transform: translateX(-50%);
}

.seg-2 {
  right: 70px;
  top: 122px;
}

.seg-3 {
  right: 48px;
  top: 278px;
}

.seg-4 {
  right: 132px;
  bottom: 76px;
}

.seg-5 {
  left: 132px;
  bottom: 76px;
}

.seg-6 {
  left: 48px;
  top: 278px;
}

.seg-7 {
  left: 70px;
  top: 122px;
}

/* ================================
   Right Panel Cards
================================ */

.right-panel {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.card,
.alerts-card,
.notify-card,
.notification-summary,
.journal-form,
.journal-entries,
.journal-restore-card,
.guide-card,
.about-card,
.feedback-form,
.legal-card,
.admin-stat-card {
  border: 1px solid rgba(217, 179, 95, 0.22);
  border-radius: var(--radius-lg);
  box-shadow: 0 16px 44px rgba(0, 0, 0, 0.24);
}

.card {
  display: flex;
  gap: 16px;
  padding: 20px;
  color: var(--ink);
  background:
    linear-gradient(135deg, rgba(255, 248, 225, 0.97), rgba(232, 218, 178, 0.94)),
    radial-gradient(circle at 90% 20%, rgba(217, 179, 95, 0.22), transparent 36%);
}

.card h3,
.alerts-card h3 {
  margin: 0 0 10px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.25rem;
}

.card ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

.card li {
  position: relative;
  margin: 8px 0;
  padding-left: 20px;
  color: rgba(24, 32, 51, 0.84);
  font-size: 0.95rem;
}

.card li::before {
  content: "•";
  position: absolute;
  left: 2px;
  color: var(--gold);
  font-weight: 900;
}

.card-icon {
  flex: 0 0 auto;
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  color: #132018;
  background: rgba(143, 199, 154, 0.65);
  font-weight: 900;
}

.caution .card-icon {
  background: rgba(217, 137, 117, 0.68);
}

.next .card-icon {
  background: rgba(143, 182, 255, 0.68);
}

.next p {
  margin: 0;
  color: rgba(24, 32, 51, 0.82);
}

.alerts-card {
  padding: 20px;
  background:
    radial-gradient(circle at 100% 0%, rgba(217, 179, 95, 0.13), transparent 34%),
    linear-gradient(180deg, rgba(18, 27, 47, 0.96), rgba(10, 16, 30, 0.98));
}

.alerts-head {
  display: flex;
  justify-content: space-between;
  gap: 14px;
}

.alerts-card h3 {
  color: var(--gold-soft);
}

.alerts-card p {
  margin: 0;
  color: var(--muted);
  font-size: 0.88rem;
}

.alerts-head span {
  color: var(--gold);
}

.period-buttons {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 8px;
  margin-top: 18px;
}

.period-buttons button {
  height: 42px;
  border: 1px solid rgba(217, 179, 95, 0.22);
  border-radius: 12px;
  color: rgba(255, 247, 223, 0.82);
  background: rgba(255, 255, 255, 0.04);
  font-weight: 800;
  cursor: pointer;
}

.period-buttons button.selected,
.period-buttons button:hover {
  color: #171205;
  border-color: rgba(242, 216, 139, 0.86);
  background: linear-gradient(180deg, var(--gold-soft), var(--gold));
}

/* ================================
   Weekly View
================================ */

.week-strip {
  margin-top: 22px;
  padding: 20px;
  background:
    linear-gradient(180deg, rgba(18, 27, 47, 0.86), rgba(10, 15, 28, 0.92));
}

.week-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 14px;
}

.week-head h3 {
  margin: 0;
  color: var(--gold-soft);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.25rem;
}

.week-head span {
  color: var(--gold-soft);
  font-size: 2rem;
  line-height: 1;
}

.week-grid {
  display: grid;
  grid-template-columns: repeat(7, minmax(120px, 1fr));
  gap: 12px;
}

.week-day {
  padding: 14px;
  border: 1px solid rgba(217, 179, 95, 0.18);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.035);
}

.week-day.today {
  border-color: rgba(217, 179, 95, 0.52);
  background: rgba(217, 179, 95, 0.08);
}

.week-day strong {
  display: block;
  color: var(--cream);
  margin-bottom: 8px;
}

.chips {
  display: flex;
  flex-wrap: wrap;
  gap: 5px;
}

.chip {
  width: 24px;
  height: 24px;
  display: grid;
  place-items: center;
  border-radius: 7px;
  color: var(--cream);
  background: rgba(255, 255, 255, 0.08);
  font-size: 0.74rem;
  font-weight: 800;
}

.chip.active {
  color: #171205;
  background: linear-gradient(180deg, var(--gold-soft), var(--gold));
  box-shadow: 0 0 18px rgba(217, 179, 95, 0.26);
}

/* ================================
   Shared Section Headings
================================ */

.section-heading {
  max-width: 760px;
  margin-bottom: 22px;
}

.section-heading h2 {
  margin: 0 0 10px;
  color: var(--cream);
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(2rem, 3vw, 3.2rem);
  line-height: 1;
}

.section-heading p {
  margin: 0;
  color: rgba(255, 247, 223, 0.68);
  line-height: 1.6;
}

.section-heading.compact {
  margin-bottom: 16px;
}

/* ================================
   How It Works / About
================================ */

.about-section {
  margin-top: 22px;
  padding: 24px;
  background:
    radial-gradient(circle at 100% 0%, rgba(217, 179, 95, 0.12), transparent 34%),
    linear-gradient(180deg, rgba(18, 27, 47, 0.82), rgba(10, 15, 28, 0.94));
}

.about-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
}

.about-card {
  padding: 20px;
  border-radius: 22px;
  background:
    radial-gradient(circle at 100% 0%, rgba(217, 179, 95, 0.14), transparent 34%),
    linear-gradient(180deg, rgba(255, 248, 225, 0.97), rgba(232, 218, 178, 0.94));
  color: var(--ink);
}

.about-icon {
  width: 48px;
  height: 48px;
  display: grid;
  place-items: center;
  margin-bottom: 14px;
  border-radius: 16px;
  color: #171205;
  background: linear-gradient(180deg, var(--gold-soft), var(--gold));
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.4rem;
  font-weight: 900;
}

.about-card h3 {
  margin: 0 0 8px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.25rem;
  color: rgba(24, 32, 51, 0.96);
}

.about-card p {
  margin: 0;
  color: rgba(24, 32, 51, 0.74);
  line-height: 1.55;
  font-size: 0.94rem;
}

.about-card strong {
  color: rgba(24, 32, 51, 0.96);
}

.about-note {
  margin-top: 16px;
  padding: 16px;
  border: 1px solid rgba(217, 179, 95, 0.22);
  border-radius: 18px;
  color: rgba(255, 247, 223, 0.76);
  background: rgba(255, 255, 255, 0.045);
  line-height: 1.55;
}

.about-note strong {
  color: var(--gold-soft);
}

/* ================================
   Guide
================================ */

.guide-section {
  margin-top: 22px;
  padding: 24px;
  background:
    radial-gradient(circle at 100% 0%, rgba(217, 179, 95, 0.1), transparent 32%),
    linear-gradient(180deg, rgba(18, 27, 47, 0.82), rgba(10, 15, 28, 0.94));
}

.guide-grid {
  display: grid;
  grid-template-columns: repeat(7, minmax(140px, 1fr));
  gap: 14px;
}

.guide-card {
  position: relative;
  overflow: hidden;
  padding: 18px;
  min-height: 250px;
  border-radius: 20px;
  background:
    radial-gradient(circle at 90% 0%, rgba(217, 179, 95, 0.14), transparent 34%),
    linear-gradient(180deg, rgba(255, 248, 225, 0.96), rgba(232, 218, 178, 0.94));
  color: var(--ink);
}

.guide-card::after {
  content: "";
  position: absolute;
  right: -42px;
  bottom: -42px;
  width: 120px;
  height: 120px;
  border: 1px solid rgba(217, 179, 95, 0.24);
  border-radius: 50%;
}

.guide-letter {
  width: 52px;
  height: 52px;
  display: grid;
  place-items: center;
  margin-bottom: 14px;
  border-radius: 16px;
  color: #171205;
  background: linear-gradient(180deg, var(--gold-soft), var(--gold));
  font-family: Georgia, "Times New Roman", serif;
  font-size: 2rem;
  font-weight: 700;
  box-shadow: 0 12px 30px rgba(217, 179, 95, 0.22);
}

.guide-card h3 {
  margin: 0 0 8px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.22rem;
}

.guide-card p {
  margin: 0 0 14px;
  color: rgba(24, 32, 51, 0.78);
  line-height: 1.5;
  font-size: 0.9rem;
}

.guide-card strong {
  display: block;
  margin-bottom: 7px;
  color: rgba(24, 32, 51, 0.92);
  font-size: 0.82rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
}

.guide-card ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

.guide-card li {
  margin: 6px 0;
  color: rgba(24, 32, 51, 0.78);
  font-size: 0.88rem;
}

/* ================================
   Notifications
================================ */

.notifications-section {
  margin-top: 22px;
  padding: 24px;
  background:
    radial-gradient(circle at 100% 0%, rgba(217, 179, 95, 0.12), transparent 34%),
    linear-gradient(180deg, rgba(18, 27, 47, 0.82), rgba(10, 15, 28, 0.94));
}

.notification-layout {
  display: grid;
  grid-template-columns: 1fr 360px;
  gap: 18px;
  align-items: start;
}

.notification-form {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px;
}

.notify-card,
.notification-summary {
  border-radius: 22px;
  background:
    linear-gradient(180deg, rgba(255, 248, 225, 0.96), rgba(232, 218, 178, 0.94));
  color: var(--ink);
}

.notify-card {
  padding: 20px;
}

.notify-card.full {
  grid-column: 1 / -1;
}

.notify-card h3,
.notification-summary h3 {
  margin: 0 0 14px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.32rem;
  color: rgba(24, 32, 51, 0.96);
}

.notify-toggle {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 12px 0;
  color: rgba(24, 32, 51, 0.82);
  font-weight: 800;
  cursor: pointer;
}

.notify-toggle input {
  display: none;
}

.notify-toggle span {
  position: relative;
  width: 48px;
  height: 28px;
  flex: 0 0 auto;
  border-radius: 999px;
  background: rgba(24, 32, 51, 0.16);
  transition: 180ms ease;
}

.notify-toggle span::after {
  content: "";
  position: absolute;
  width: 22px;
  height: 22px;
  left: 3px;
  top: 3px;
  border-radius: 50%;
  background: white;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.18);
  transition: 180ms ease;
}

.notify-toggle input:checked + span {
  background: linear-gradient(180deg, var(--gold-soft), var(--gold));
}

.notify-toggle input:checked + span::after {
  transform: translateX(20px);
}

.notify-field {
  display: grid;
  gap: 8px;
  color: rgba(24, 32, 51, 0.86);
  font-size: 0.84rem;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.notify-field input,
.notify-field select {
  width: 100%;
  border: 1px solid rgba(24, 32, 51, 0.16);
  border-radius: 14px;
  padding: 13px 14px;
  color: var(--ink);
  background: rgba(255, 255, 255, 0.64);
  font: inherit;
  outline: none;
}

.notify-field input:disabled {
  opacity: 0.6;
  cursor: not-allowed;
}

.notify-field input:focus,
.notify-field select:focus {
  border-color: rgba(217, 179, 95, 0.8);
  box-shadow: 0 0 0 4px rgba(217, 179, 95, 0.16);
}

.notify-help {
  margin: 8px 0 0;
  color: rgba(24, 32, 51, 0.58);
  font-size: 0.88rem;
  line-height: 1.5;
}

.notify-period-grid {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 10px;
  margin-top: 16px;
}

.notify-period-grid label {
  cursor: pointer;
}

.notify-period-grid input {
  display: none;
}

.notify-period-grid span {
  height: 58px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(24, 32, 51, 0.14);
  border-radius: 16px;
  color: rgba(24, 32, 51, 0.78);
  background: rgba(255, 255, 255, 0.45);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.7rem;
  font-weight: 900;
  transition: 180ms ease;
}

.notify-period-grid input:checked + span {
  color: #171205;
  border-color: rgba(217, 179, 95, 0.85);
  background: linear-gradient(180deg, var(--gold-soft), var(--gold));
  box-shadow: 0 12px 28px rgba(217, 179, 95, 0.24);
}

.save-notifications,
.browser-alert-btn {
  border: 0;
  border-radius: 999px;
  color: #171205;
  background: linear-gradient(180deg, var(--gold-soft), var(--gold));
  font-weight: 950;
  cursor: pointer;
}

.save-notifications {
  grid-column: 1 / -1;
  padding: 15px 18px;
  box-shadow: 0 14px 32px rgba(217, 179, 95, 0.2);
}

.browser-alert-btn {
  width: 100%;
  margin-top: 14px;
  padding: 13px 16px;
}

.save-notifications:hover,
.browser-alert-btn:hover {
  filter: brightness(1.04);
}

.notification-summary {
  position: sticky;
  top: 20px;
  padding: 24px;
  overflow: hidden;
}

.notification-summary::after {
  content: "";
  position: absolute;
  right: -56px;
  bottom: -56px;
  width: 160px;
  height: 160px;
  border: 1px solid rgba(217, 179, 95, 0.26);
  border-radius: 50%;
}

.summary-orb {
  width: 62px;
  height: 62px;
  display: grid;
  place-items: center;
  margin-bottom: 14px;
  border-radius: 50%;
  color: #171205;
  background: linear-gradient(180deg, var(--gold-soft), var(--gold));
  font-size: 2rem;
  box-shadow: 0 16px 34px rgba(217, 179, 95, 0.26);
}

.summary-list {
  position: relative;
  z-index: 1;
  display: grid;
  gap: 10px;
  margin-top: 14px;
}

.summary-list p {
  margin: 0;
  padding: 12px;
  border: 1px solid rgba(24, 32, 51, 0.1);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.38);
  color: rgba(24, 32, 51, 0.74);
  line-height: 1.45;
}

.summary-list strong {
  color: rgba(24, 32, 51, 0.96);
}

.saved-flash {
  animation: savedPulse 900ms ease;
}

@keyframes savedPulse {
  0% {
    box-shadow: 0 0 0 0 rgba(217, 179, 95, 0.6);
  }

  100% {
    box-shadow: 0 0 0 18px rgba(217, 179, 95, 0);
  }
}

/* ================================
   Journal
================================ */

.journal-section {
  margin-top: 22px;
  padding: 24px;
  background:
    radial-gradient(circle at 0% 0%, rgba(217, 179, 95, 0.12), transparent 34%),
    linear-gradient(180deg, rgba(18, 27, 47, 0.82), rgba(10, 15, 28, 0.94));
}

.journal-layout {
  display: grid;
  grid-template-columns: 420px 1fr;
  gap: 18px;
  align-items: start;
}

.journal-form,
.journal-entries,
.journal-restore-card {
  border-radius: 22px;
  background:
    linear-gradient(180deg, rgba(255, 248, 225, 0.96), rgba(232, 218, 178, 0.94));
  color: var(--ink);
}

.journal-form {
  display: grid;
  gap: 14px;
  padding: 20px;
}

.journal-form label {
  display: grid;
  gap: 7px;
  color: rgba(24, 32, 51, 0.86);
  font-size: 0.86rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.journal-form input,
.journal-form select,
.journal-form textarea,
.restore-row input,
.journal-filters input,
.journal-filters select {
  width: 100%;
  border: 1px solid rgba(24, 32, 51, 0.16);
  color: var(--ink);
  background: rgba(255, 255, 255, 0.64);
  font: inherit;
  outline: none;
}

.journal-form input,
.journal-form select,
.journal-form textarea {
  border-radius: 14px;
  padding: 13px 14px;
}

.journal-form input:focus,
.journal-form select:focus,
.journal-form textarea:focus,
.restore-row input:focus,
.journal-filters input:focus,
.journal-filters select:focus {
  border-color: rgba(217, 179, 95, 0.8);
  box-shadow: 0 0 0 4px rgba(217, 179, 95, 0.16);
}

.journal-form textarea {
  resize: vertical;
}

.journal-form button,
.journal-head button,
.restore-row button,
.journal-filters button {
  border: 0;
  border-radius: 999px;
  color: #171205;
  background: linear-gradient(180deg, var(--gold-soft), var(--gold));
  font-weight: 900;
  cursor: pointer;
}

.journal-form button {
  padding: 13px 16px;
}

.journal-form button:hover,
.journal-head button:hover,
.restore-row button:hover,
.journal-filters button:hover {
  filter: brightness(1.04);
}

.journal-entries {
  padding: 20px;
  min-height: 330px;
}

.journal-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  margin-bottom: 14px;
}

.journal-head h3 {
  margin: 0;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.35rem;
}

.journal-head-actions {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.journal-head-actions button,
.journal-head button {
  padding: 9px 12px;
  font-size: 0.8rem;
}

.journal-head-actions button:first-child {
  color: #171205;
  background: linear-gradient(180deg, var(--gold-soft), var(--gold));
}

.journal-head-actions button:last-child,
.journal-head button {
  color: rgba(24, 32, 51, 0.78);
  background: rgba(24, 32, 51, 0.1);
}

.journal-filters {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr auto;
  gap: 10px;
  margin-bottom: 14px;
}

.journal-filters input,
.journal-filters select {
  border-radius: 999px;
  padding: 12px 14px;
}

.journal-filters button {
  padding: 12px 14px;
  font-weight: 950;
}

.journal-list {
  display: grid;
  gap: 12px;
}

.journal-entry {
  padding: 14px;
  border: 1px solid rgba(24, 32, 51, 0.12);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.48);
}

.journal-entry-top {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 8px;
}

.journal-entry h4 {
  margin: 0;
  color: rgba(24, 32, 51, 0.96);
  font-size: 1rem;
}

.journal-pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 36px;
  height: 28px;
  padding: 0 10px;
  border-radius: 999px;
  color: #171205;
  background: linear-gradient(180deg, var(--gold-soft), var(--gold));
  font-weight: 900;
  font-size: 0.78rem;
}

.journal-meta {
  margin: 0 0 8px;
  color: rgba(24, 32, 51, 0.56);
  font-size: 0.82rem;
}

.journal-entry p {
  margin: 0;
  color: rgba(24, 32, 51, 0.78);
  line-height: 1.5;
}

.empty-journal {
  margin: 0;
  padding: 18px;
  border: 1px dashed rgba(24, 32, 51, 0.22);
  border-radius: 16px;
  color: rgba(24, 32, 51, 0.58);
  background: rgba(255, 255, 255, 0.28);
}

.journal-restore-card {
  padding: 20px;
}

.journal-restore-card h3 {
  margin: 0 0 8px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.35rem;
}

.journal-restore-card p {
  margin: 0 0 14px;
  color: rgba(24, 32, 51, 0.68);
  line-height: 1.5;
}

.restore-row {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 10px;
  margin-top: 10px;
}

.restore-row input {
  border-radius: 999px;
  padding: 13px 14px;
}

.restore-row button {
  padding: 13px 16px;
  font-weight: 950;
}

.restore-status {
  margin-top: 12px !important;
  font-size: 0.9rem;
  font-weight: 800;
}

/* ================================
   Feedback Form
================================ */

.feedback-form {
  margin-top: 18px;
  padding: 22px;
  border-radius: 22px;
  background:
    radial-gradient(circle at 100% 0%, rgba(217, 179, 95, 0.12), transparent 34%),
    linear-gradient(180deg, rgba(255, 248, 225, 0.97), rgba(232, 218, 178, 0.94));
  color: var(--ink);
}

.feedback-form .section-heading .eyebrow {
  color: rgba(120, 82, 20, 0.95);
}

.feedback-form .section-heading h2 {
  color: rgba(24, 32, 51, 0.96);
}

.feedback-form .section-heading p {
  color: rgba(24, 32, 51, 0.78);
}

.feedback-grid {
  display: grid;
  grid-template-columns: 1fr 1fr 220px;
  gap: 14px;
}

.feedback-grid label {
  display: grid;
  gap: 8px;
  font-weight: 900;
  color: rgba(24, 32, 51, 0.86);
}

.feedback-grid input,
.feedback-grid select,
.feedback-grid textarea {
  width: 100%;
  border: 1px solid rgba(24, 32, 51, 0.16);
  border-radius: 16px;
  padding: 12px 14px;
  color: var(--ink);
  background: rgba(255, 255, 255, 0.68);
  font: inherit;
  outline: none;
}

.feedback-grid textarea {
  resize: vertical;
}

.feedback-grid input:focus,
.feedback-grid select:focus,
.feedback-grid textarea:focus {
  border-color: rgba(217, 179, 95, 0.8);
  box-shadow: 0 0 0 4px rgba(217, 179, 95, 0.16);
}

.feedback-full {
  grid-column: 1 / -1;
}

.primary-action {
  margin-top: 14px;
  border: 0;
  border-radius: 999px;
  padding: 12px 18px;
  color: #171205;
  background: linear-gradient(180deg, var(--gold-soft), var(--gold));
  font-weight: 950;
  cursor: pointer;
}

.primary-action:hover {
  filter: brightness(1.04);
}

.feedback-status {
  min-height: 22px;
  margin: 12px 0 0;
  font-weight: 800;
}

.feedback-status.success {
  color: #365c2f;
}

.feedback-status.error {
  color: #8a2d21;
}

/* ================================
   Footer
================================ */

.site-footer {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 18px;
  align-items: center;
  margin-top: 22px;
  padding: 22px;
  background:
    radial-gradient(circle at 0% 0%, rgba(217, 179, 95, 0.12), transparent 34%),
    linear-gradient(180deg, rgba(18, 27, 47, 0.78), rgba(10, 15, 28, 0.9));
}

.site-footer strong,
.site-footer h3 {
  display: block;
  color: var(--gold-soft);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.35rem;
  margin: 0 0 4px;
}

.site-footer p {
  margin: 0;
  color: rgba(255, 247, 223, 0.68);
  font-size: 0.92rem;
  line-height: 1.5;
}

.site-footer a {
  color: var(--gold-soft);
  text-decoration: none;
}

.site-footer a:hover {
  text-decoration: underline;
}

.footer-links {
  display: flex;
  justify-content: flex-end;
  gap: 14px;
  flex-wrap: wrap;
}

.footer-note {
  color: rgba(255, 247, 223, 0.58) !important;
  font-size: 0.84rem !important;
}

/* ================================
   Legal Pages
================================ */

.legal-shell {
  max-width: 1050px;
}

.legal-card {
  padding: 28px;
  border-radius: var(--radius-xl);
  background:
    radial-gradient(circle at 100% 0%, rgba(217, 179, 95, 0.12), transparent 34%),
    linear-gradient(180deg, rgba(255, 248, 225, 0.96), rgba(232, 218, 178, 0.94));
  color: var(--ink);
}

.legal-card h2 {
  margin: 0 0 8px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(2.2rem, 4vw, 3.7rem);
  color: rgba(24, 32, 51, 0.96);
}

.legal-card h3 {
  margin: 26px 0 8px;
  font-family: Georgia, "Times New Roman", serif;
  color: rgba(24, 32, 51, 0.96);
  font-size: 1.35rem;
}

.legal-card p {
  margin: 0 0 14px;
  color: rgba(24, 32, 51, 0.78);
  line-height: 1.7;
}

.legal-updated {
  color: rgba(24, 32, 51, 0.56) !important;
  font-size: 0.92rem;
}

.legal-note {
  margin-top: 28px !important;
  padding: 16px;
  border: 1px solid rgba(217, 179, 95, 0.28);
  border-radius: 16px;
  background: rgba(217, 179, 95, 0.12);
  color: rgba(24, 32, 51, 0.72) !important;
}

/* ================================
   Admin Layout
================================ */

.admin-shell {
  max-width: 1500px;
}

.admin-login-card,
.admin-dashboard,
.admin-table-card,
.admin-card {
  border: 1px solid rgba(217, 179, 95, 0.18);
  border-radius: var(--radius-xl);
  background:
    radial-gradient(circle at 100% 0%, rgba(217, 179, 95, 0.1), transparent 32%),
    linear-gradient(180deg, rgba(18, 27, 47, 0.82), rgba(10, 15, 28, 0.94));
}

.admin-login-card,
.admin-dashboard,
.admin-table-card,
.admin-card {
  padding: 24px;
}

.admin-dashboard,
.admin-table-card,
.admin-card {
  margin-top: 22px;
}

.admin-token-form {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 12px;
  max-width: 760px;
}

.admin-token-form input {
  border: 1px solid rgba(217, 179, 95, 0.25);
  border-radius: 999px;
  padding: 14px 18px;
  color: var(--cream);
  background: rgba(255, 255, 255, 0.06);
  outline: none;
}

.admin-token-form input:focus {
  border-color: rgba(217, 179, 95, 0.78);
  box-shadow: 0 0 0 4px rgba(217, 179, 95, 0.14);
}

.admin-token-form button,
.admin-action-buttons button,
.admin-maintenance-actions button,
.admin-section-head button,
#refreshFeedback {
  border: 0;
  border-radius: 999px;
  color: #171205;
  background: linear-gradient(180deg, var(--gold-soft), var(--gold));
  font-weight: 950;
  cursor: pointer;
}

.admin-token-form button,
.admin-action-buttons button {
  padding: 14px 18px;
}

.admin-note {
  margin: 14px 0 0;
  color: rgba(255, 247, 223, 0.58);
  font-size: 0.9rem;
}

.admin-actions,
.admin-table-head,
.admin-section-head {
  display: flex;
  justify-content: space-between;
  gap: 12px;
}

.admin-actions {
  align-items: center;
  margin-bottom: 18px;
}

.admin-table-head,
.admin-section-head {
  align-items: end;
  margin-bottom: 14px;
}

.admin-actions h2 {
  margin: 0;
  color: var(--cream);
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(2rem, 3vw, 3rem);
}

.admin-table-head h3,
.admin-section-head h2 {
  margin: 0;
  color: var(--gold-soft);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.45rem;
}

.admin-table-head p {
  margin: 0;
  color: rgba(255, 247, 223, 0.58);
  font-size: 0.9rem;
}

.admin-action-buttons,
.admin-maintenance-actions {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.admin-action-buttons button:nth-child(2),
.admin-maintenance-actions button:nth-child(2) {
  background: rgba(255, 255, 255, 0.08);
  color: var(--cream);
  border: 1px solid rgba(217, 179, 95, 0.22);
}

.admin-maintenance-actions button:nth-child(3) {
  color: #5b241c;
  background: rgba(217, 137, 117, 0.42);
}

.admin-action-buttons button:hover,
.admin-maintenance-actions button:hover,
.admin-section-head button:hover,
#refreshFeedback:hover {
  filter: brightness(1.04);
}

.admin-stat-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(180px, 1fr));
  gap: 14px;
  margin-bottom: 18px;
}

.admin-stat-card {
  padding: 20px;
  border-radius: 20px;
  background:
    radial-gradient(circle at 100% 0%, rgba(217, 179, 95, 0.16), transparent 36%),
    linear-gradient(180deg, rgba(255, 248, 225, 0.98), rgba(232, 218, 178, 0.95));
  color: var(--ink);
}

.admin-stat-card span {
  display: block;
  margin-bottom: 8px;
  color: rgba(24, 32, 51, 0.62);
  font-weight: 800;
  font-size: 0.82rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

.admin-stat-card strong {
  display: block;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 2.4rem;
  color: rgba(24, 32, 51, 0.96);
}

.admin-table-wrap {
  overflow-x: auto;
  border: 1px solid rgba(217, 179, 95, 0.16);
  border-radius: 18px;
}

.admin-table-wrap table,
.admin-table {
  width: 100%;
  min-width: 850px;
  border-collapse: collapse;
  background: rgba(255, 248, 225, 0.96);
  color: var(--ink);
}

.admin-table-wrap th,
.admin-table-wrap td,
.admin-table th,
.admin-table td {
  padding: 12px 14px;
  border-bottom: 1px solid rgba(24, 32, 51, 0.1);
  text-align: left;
  font-size: 0.9rem;
}

.admin-table-wrap th,
.admin-table th {
  color: rgba(24, 32, 51, 0.68);
  background: rgba(217, 179, 95, 0.18);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-size: 0.72rem;
}

.admin-table-wrap tr:last-child td,
.admin-table tr:last-child td {
  border-bottom: 0;
}

.admin-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 5px 9px;
  border-radius: 999px;
  font-size: 0.75rem;
  font-weight: 900;
}

.admin-badge.active {
  color: #15351d;
  background: rgba(143, 199, 154, 0.52);
}

.admin-badge.inactive {
  color: #5b241c;
  background: rgba(217, 137, 117, 0.42);
}

.admin-period {
  display: inline-grid;
  place-items: center;
  min-width: 28px;
  height: 28px;
  padding: 0 8px;
  border-radius: 10px;
  color: #171205;
  background: linear-gradient(180deg, var(--gold-soft), var(--gold));
  font-weight: 950;
}

.admin-empty {
  padding: 22px !important;
  color: rgba(24, 32, 51, 0.58);
  text-align: center !important;
}

.admin-small-btn {
  border: 0;
  border-radius: 999px;
  padding: 8px 11px;
  font-size: 0.78rem;
  font-weight: 900;
  cursor: pointer;
}

.admin-small-btn.danger {
  color: #5b241c;
  background: rgba(217, 137, 117, 0.42);
}

.admin-small-btn.success {
  color: #15351d;
  background: rgba(143, 199, 154, 0.52);
}

.admin-small-btn.neutral {
  color: #171205;
  background: linear-gradient(180deg, var(--gold-soft), var(--gold));
}

.admin-small-btn:hover {
  filter: brightness(1.04);
}

.admin-row-actions {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.admin-feedback-card {
  margin-top: 18px;
}

.admin-message-cell {
  max-width: 420px;
  white-space: normal;
  line-height: 1.45;
}

.admin-section-head button,
#refreshFeedback {
  padding: 10px 14px;
}

/* Optional feedback action styles */
.feedback-actions {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.feedback-actions button {
  border: 0;
  border-radius: 999px;
  padding: 8px 11px;
  color: #171205;
  background: linear-gradient(180deg, var(--gold-soft), var(--gold));
  font-size: 0.78rem;
  font-weight: 950;
  cursor: pointer;
}

.feedback-actions button:hover {
  filter: brightness(1.04);
}

.feedback-status-pill {
  display: inline-flex;
  align-items: center;
  border-radius: 999px;
  padding: 6px 9px;
  font-size: 0.75rem;
  font-weight: 950;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.feedback-status-new {
  color: #171205;
  background: rgba(217, 179, 95, 0.85);
}

.feedback-status-reviewed {
  color: #f7edd2;
  background: rgba(54, 92, 47, 0.92);
}

.feedback-status-archived {
  color: #f7edd2;
  background: rgba(70, 76, 92, 0.92);
}

/* ================================
   Responsive
================================ */

@media (max-width: 1180px) {
  .dashboard {
    grid-template-columns: 1fr;
  }

  .today-panel {
    min-height: auto;
  }

  .right-panel {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
  }

  .alerts-card {
    grid-column: 1 / -1;
  }

  .week-grid {
    grid-template-columns: repeat(4, minmax(120px, 1fr));
  }

  .guide-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 1080px) {
  .about-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 1040px) {
  .notification-layout {
    grid-template-columns: 1fr;
  }

  .notification-summary {
    position: relative;
    top: auto;
  }
}

@media (max-width: 980px) {
  .journal-layout {
    grid-template-columns: 1fr;
  }

  .admin-token-form {
    grid-template-columns: 1fr;
  }

  .admin-actions {
    align-items: flex-start;
    flex-direction: column;
  }

  .admin-stat-grid {
    grid-template-columns: repeat(2, minmax(160px, 1fr));
  }
}

@media (max-width: 900px) {
  .journal-filters,
  .feedback-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 760px) {
  .notifications-section {
    padding: 18px;
  }

  .notification-form {
    grid-template-columns: 1fr;
  }

  .notify-period-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

@media (max-width: 720px) {
  .app-shell {
    width: min(100% - 24px, 1480px);
    margin: 12px auto;
    padding: 16px;
    border-radius: 24px;
  }

  .topbar,
  .hero-header {
    align-items: flex-start;
    flex-direction: column;
  }

  .nav {
    width: 100%;
  }

  .nav a {
    padding: 8px 10px;
    font-size: 0.84rem;
  }

  .cycle-stage {
    min-height: 460px;
  }

  .cycle-wheel {
    width: 390px;
    height: 390px;
    max-width: 100%;
    max-height: 100vw;
  }

  .segment {
    width: 92px;
    min-height: 62px;
    padding: 6px;
  }

  .segment .letter {
    font-size: 1.6rem;
  }

  .segment small {
    font-size: 0.56rem;
  }

  .seg-1 {
    top: 36px;
  }

  .seg-2 {
    right: 45px;
    top: 78px;
  }

  .seg-3 {
    right: 28px;
    top: 190px;
  }

  .seg-4 {
    right: 82px;
    bottom: 48px;
  }

  .seg-5 {
    left: 82px;
    bottom: 48px;
  }

  .seg-6 {
    left: 28px;
    top: 190px;
  }

  .seg-7 {
    left: 45px;
    top: 78px;
  }

  .right-panel,
  .week-grid,
  .notification-form,
  .restore-row,
  .about-grid,
  .guide-grid,
  .site-footer {
    grid-template-columns: 1fr;
  }

  .journal-section,
  .guide-section,
  .notifications-section {
    padding: 18px;
  }

  .journal-head {
    align-items: flex-start;
    flex-direction: column;
  }

  .footer-links {
    justify-content: flex-start;
  }
}

@media (max-width: 620px) {
  .admin-stat-grid {
    grid-template-columns: 1fr;
  }

  .admin-action-buttons,
  .admin-maintenance-actions {
    width: 100%;
    flex-direction: column;
  }

  .admin-action-buttons button,
  .admin-maintenance-actions button {
    width: 100%;
  }

  .notify-period-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}