:root {
  --navy: #071a3d;
  --royal-blue: #0b234f;
  --gold: #d6a84f;
  --cream: #fff7e8;
  --white: #ffffff;
  --text-dark: #061735;
  --text-soft: rgba(6, 23, 53, 0.72);
  --text-light: rgba(255, 247, 232, 0.88);
  --border-gold: rgba(214, 168, 79, 0.28);
  --shadow-soft: 0 22px 48px rgba(6, 23, 53, 0.13);
  --shadow-strong: 0 34px 84px rgba(6, 23, 53, 0.22);
  --radius-xl: 32px;
  --radius-lg: 24px;
  --radius-md: 18px;
  --radius-sm: 14px;
  --container: 1200px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  overflow-x: hidden;
  font-family: Inter, system-ui, sans-serif;
  color: var(--text-dark);
  background:
    radial-gradient(circle at 0% 0%, rgba(214, 168, 79, 0.09), transparent 28%),
    repeating-linear-gradient(
      135deg,
      rgba(214, 168, 79, 0.03) 0,
      rgba(214, 168, 79, 0.03) 2px,
      rgba(255, 255, 255, 0) 2px,
      rgba(255, 255, 255, 0) 12px
    ),
    radial-gradient(circle at 50% 40%, rgba(255, 255, 255, 0.55), transparent 32%),
    linear-gradient(180deg, #fffbf3 0%, #fff9ef 52%, #ffffff 100%);
}

img,
svg {
  display: block;
  max-width: 100%;
}

a {
  color: inherit;
  text-decoration: none;
}

button,
input,
textarea {
  font: inherit;
}

.page-shell {
  width: 100%;
  overflow: clip;
}

.container {
  width: min(calc(100% - 2rem), var(--container));
  margin: 0 auto;
  position: relative;
}

.section {
  position: relative;
  padding: 5.4rem 0;
}

.section::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    radial-gradient(circle at 18% 16%, rgba(214, 168, 79, 0.055), transparent 16%),
    radial-gradient(circle at 82% 18%, rgba(255, 255, 255, 0.55), transparent 22%);
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background:
    linear-gradient(180deg, rgba(7, 26, 61, 0.98), rgba(11, 35, 79, 0.96));
  border-bottom: 1px solid rgba(214, 168, 79, 0.16);
  backdrop-filter: blur(20px);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 74px;
  gap: 1rem;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 1rem;
  color: var(--white);
  min-width: 0;
  flex: 0 0 auto;
}

.brand-mark {
  display: grid;
  place-items: center;
  width: 3.15rem;
  height: 3.15rem;
  border-radius: 50%;
  border: 1px solid rgba(214, 168, 79, 0.38);
  background:
    radial-gradient(circle at center, rgba(255, 255, 255, 0.05), rgba(255, 255, 255, 0.01)),
    repeating-conic-gradient(from 0deg, rgba(214, 168, 79, 0.18) 0deg 6deg, transparent 6deg 30deg);
}

.brand-mark-core {
  display: grid;
  place-items: center;
  width: 1.84rem;
  height: 1.84rem;
  border-radius: 50%;
  border: 1px solid rgba(214, 168, 79, 0.34);
  color: var(--cream);
  font-family: Georgia, "Times New Roman", serif;
  font-weight: 700;
  background: rgba(255, 255, 255, 0.03);
}

.brand-text {
  display: grid;
  gap: 0.1rem;
  min-width: 0;
  font-size: 0.78rem;
  letter-spacing: 0.24em;
}

.brand-text strong {
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.7rem;
  letter-spacing: 0.18em;
}

.brand-text strong,
.brand-text span {
  white-space: nowrap;
}

.site-nav {
  display: none;
  position: absolute;
  top: calc(100% + 0.65rem);
  left: 1rem;
  right: 1rem;
  padding: 1rem;
  border-radius: var(--radius-lg);
  background: rgba(7, 26, 61, 0.985);
  border: 1px solid rgba(214, 168, 79, 0.22);
  box-shadow: var(--shadow-strong);
}

.site-nav.is-open {
  display: grid;
  gap: 0.75rem;
}

.site-nav a {
  color: rgba(255, 255, 255, 0.86);
  font-size: 0.96rem;
  font-weight: 600;
}

.site-nav a:hover,
.site-nav a:focus-visible {
  color: var(--gold);
}

.header-actions {
  display: none;
  align-items: center;
  gap: 0.9rem;
}

.icon-button {
  display: inline-grid;
  place-items: center;
  width: 3.1rem;
  height: 3.1rem;
  border-radius: 999px;
  border: 1px solid rgba(214, 168, 79, 0.28);
  background: rgba(255, 255, 255, 0.05);
  color: var(--gold);
}

.icon-button svg {
  width: 1.15rem;
  fill: currentColor;
}

.menu-toggle {
  display: inline-flex;
  flex-direction: column;
  gap: 0.3rem;
  padding: 0;
  border: 0;
  background: transparent;
  flex-shrink: 0;
}

.menu-toggle span {
  width: 1.65rem;
  height: 2px;
  border-radius: 999px;
  background: var(--white);
}

.eyebrow {
  margin: 0 0 1rem;
  color: var(--gold);
  font-size: 0.8rem;
  font-weight: 800;
  letter-spacing: 0.24em;
}

.section-heading {
  position: relative;
  max-width: 48rem;
  margin-bottom: 3.2rem;
}

.section-heading.centered {
  margin-inline: auto;
  text-align: center;
}

.section-heading h2 {
  position: relative;
  display: inline-block;
  padding-inline: 2rem;
}

.section-heading h2::before,
.section-heading h2::after {
  content: "";
  position: absolute;
  top: 50%;
  width: 1.35rem;
  height: 1px;
  background: linear-gradient(90deg, rgba(214, 168, 79, 0), rgba(214, 168, 79, 0.75));
}

.section-heading h2 {
  text-wrap: balance;
}

.section-heading h2::before {
  left: 0;
}

.section-heading h2::after {
  right: 0;
  transform: scaleX(-1);
}

.section-heading.centered::before,
.section-heading.centered::after,
.section-heading:not(.centered)::before {
  content: "";
  position: absolute;
  height: 1px;
  background: linear-gradient(90deg, rgba(214, 168, 79, 0), rgba(214, 168, 79, 0.62), rgba(214, 168, 79, 0));
}

.section-heading.centered::before {
  left: 50%;
  bottom: -0.9rem;
  width: 8rem;
  transform: translateX(-50%);
}

.section-heading.centered::after {
  left: 50%;
  bottom: -1.25rem;
  width: 4rem;
  transform: translateX(-50%);
}

.section-heading:not(.centered)::before {
  left: 0;
  bottom: -0.95rem;
  width: 7rem;
}

.section-subtitle {
  max-width: 42rem;
  margin: 1rem auto 0;
  color: var(--text-soft);
  font-size: 1rem;
}

.problem-section {
  background: #fff8ea;
  padding: 56px 0 64px;
}

.problem-section::before {
  background:
    radial-gradient(circle at 0% 20%, rgba(214, 168, 79, 0.08), transparent 18%),
    radial-gradient(circle at 100% 18%, rgba(214, 168, 79, 0.07), transparent 18%);
}

.problem-heading-wrap {
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 100%;
  max-width: 760px;
  margin-bottom: 38px;
  padding-inline: 16px;
  box-sizing: border-box;
}

.problem-heading {
  width: 100%;
  padding-inline: 0 !important;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(30px, 4vw, 44px);
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: #071a3d;
  line-height: 1.1;
  text-align: center;
}

.problem-heading-divider {
  position: relative;
  width: min(140px, 40vw);
  height: 1px;
  margin: 18px auto 16px;
  background: linear-gradient(90deg, rgba(214, 168, 79, 0), #d6a84f 24%, #d6a84f 76%, rgba(214, 168, 79, 0));
}

.problem-heading-divider::after {
  position: absolute;
  left: 50%;
  top: 50%;
  width: 7px;
  height: 7px;
  content: "";
  transform: translate(-50%, -50%) rotate(45deg);
  border: 1px solid #d6a84f;
  background: #fff8ea;
}

.problem-subtitle {
  max-width: 42rem;
  margin: 0;
  color: #526079;
  font-size: clamp(16px, 1.6vw, 19px);
  line-height: 1.5;
  text-align: center;
  text-wrap: balance;
}

.problem-heading-wrap::before,
.problem-heading-wrap::after {
  display: none;
}

h1,
h2,
h3,
h4 {
  margin: 0;
  color: var(--text-dark);
  line-height: 1.04;
}

h1,
h2,
h3,
h4 {
  font-family: Georgia, "Times New Roman", serif;
}

h1 {
  font-size: clamp(3.25rem, 6vw, 4.2rem);
  color: var(--white);
  letter-spacing: -0.02em;
}

h2 {
  font-size: clamp(2.55rem, 5vw, 3.75rem);
}

h3 {
  font-size: 1.34rem;
}

p {
  margin: 0;
  line-height: 1.7;
}

.hero {
  min-height: min(860px, calc(100vh - 74px));
  padding-top: 6.1rem;
  padding-bottom: 5.6rem;
  color: var(--white);
  background-image:
    linear-gradient(
      90deg,
      rgba(7, 26, 61, 0.92) 0%,
      rgba(7, 26, 61, 0.55) 48%,
      rgba(7, 26, 61, 0.05) 100%
    ),
    url("./public/images/orion-hero-bg.png");
  background-size: cover;
  background-position: center right;
  background-repeat: no-repeat;
}

.hero-grid,
.two-column,
.insights-grid,
.cta-contact-grid {
  display: grid;
  gap: 2.6rem;
  align-items: start;
}

.hero-copy,
.hero-visual,
.content-panel,
.visual-panel,
.cta-panel {
  position: relative;
  z-index: 1;
}

.hero-text {
  max-width: 37.5rem;
  margin-top: 1.2rem;
  color: var(--text-light);
  font-size: 1.12rem;
}

.hero-content {
  max-width: 600px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-top: 2rem;
}

.button {
  position: relative;
  isolation: isolate;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 3.45rem;
  padding: 0.9rem 1.45rem;
  border-radius: 999px;
  border: 1px solid transparent;
  font-weight: 700;
  transition: transform 180ms ease, box-shadow 180ms ease, border-color 180ms ease;
}

.button::before {
  content: "";
  position: absolute;
  inset: auto 18% -0.65rem;
  height: 1.1rem;
  border-radius: 999px;
  background: radial-gradient(circle, rgba(214, 168, 79, 0.5), rgba(214, 168, 79, 0));
  filter: blur(8px);
  opacity: 0.9;
  z-index: -1;
}

.button-primary {
  color: #2d1b00;
  background: linear-gradient(135deg, #d6a84f 0%, #f2d38c 100%);
  box-shadow: 0 15px 35px rgba(214, 168, 79, 0.24);
}

.button-secondary {
  color: var(--white);
  border-color: rgba(255, 255, 255, 0.28);
  background: rgba(255, 255, 255, 0.05);
}

.button-compact {
  min-height: 3rem;
  padding-inline: 1.25rem;
}

.button:hover,
.button:focus-visible,
.icon-button:hover,
.icon-button:focus-visible {
  transform: translateY(-2px);
}

.button:active:not(:disabled) {
  transform: translateY(0);
}

.button:disabled {
  cursor: not-allowed;
  opacity: 0.55;
  box-shadow: none;
  transform: none;
}

.button:disabled::before {
  opacity: 0;
}

.button:focus-visible,
.icon-button:focus-visible,
.menu-toggle:focus-visible,
.faq-question:focus-visible,
.site-nav a:focus-visible {
  outline: 3px solid rgba(214, 168, 79, 0.56);
  outline-offset: 3px;
}

.trust-badges {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.85rem;
  padding: 0;
  margin: 2rem 0 0;
  list-style: none;
}

.trust-badges li {
  padding: 1rem 1rem;
  border-radius: var(--radius-sm);
  border: 1px solid rgba(214, 168, 79, 0.22);
  background: rgba(255, 255, 255, 0.05);
  color: var(--white);
  font-size: 0.94rem;
}

.mini-zodiac {
  position: absolute;
  border-radius: 50%;
}

.card-grid {
  display: grid;
  gap: 1.65rem;
}

.info-card,
.service-card,
.pricing-card,
.testimonial-card,
.step-card,
.visual-card,
.contact-form,
.faq-item {
  border-radius: var(--radius-lg);
  border: 1px solid rgba(214, 168, 79, 0.2);
  background: rgba(255, 255, 255, 0.92);
  box-shadow: var(--shadow-soft);
  transition: transform 220ms ease, box-shadow 220ms ease, border-color 220ms ease;
}

.info-card:hover,
.service-card:hover,
.pricing-card:hover,
.testimonial-card:hover,
.step-card:hover,
.faq-item:hover {
  transform: translateY(-7px);
  box-shadow: 0 26px 52px rgba(7, 26, 61, 0.16);
  border-color: rgba(214, 168, 79, 0.36);
}

.info-card,
.service-card,
.pricing-card,
.testimonial-card,
.step-card {
  min-height: 100%;
  padding: 1.9rem 1.7rem;
}

.card-icon {
  display: inline-grid;
  place-items: center;
  width: 3.75rem;
  height: 3.75rem;
  margin-bottom: 1.2rem;
  border-radius: 18px;
  background: linear-gradient(135deg, rgba(214, 168, 79, 0.2), rgba(11, 35, 79, 0.08));
  color: var(--royal-blue);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.7);
}

.card-icon svg {
  width: 1.42rem;
  height: 1.42rem;
  stroke: currentColor;
  stroke-width: 1.8;
  fill: none;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.selector-grid,
.services-grid,
.pricing-grid {
  grid-template-columns: 1fr;
}

.problem-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 24px;
  max-width: 1380px;
  margin: 0 auto;
  padding: 0 24px;
}

.selector-grid .info-card,
.services-grid .service-card {
  min-height: 205px;
}

.pricing-grid .pricing-card {
  min-height: 100%;
}

.pricing-card p,
.testimonial-card p,
.info-card p,
.service-card p {
  font-size: 1rem;
}

.problem-card {
  background: linear-gradient(180deg, #ffffff 0%, #fffaf0 100%);
  border: 1px solid #eadcc3;
  border-radius: 14px;
  box-shadow: 0 12px 24px rgba(71, 45, 12, 0.1);
  padding: 30px 24px 26px;
  min-height: 228px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  text-align: center;
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

.problem-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 18px 36px rgba(71, 45, 12, 0.16);
  border-color: #d6a84f;
}

.problem-card[role="button"] {
  cursor: pointer;
}

.problem-card:focus-visible {
  outline: 3px solid rgba(214, 168, 79, 0.38);
  outline-offset: 3px;
}

.problem-card.is-selected {
  border-color: #d6a84f;
  box-shadow:
    0 0 0 4px rgba(214, 168, 79, 0.12),
    0 18px 36px rgba(71, 45, 12, 0.16);
}

.problem-icon {
  width: 64px;
  height: 64px;
  color: #bd760d;
  stroke-width: 1.15;
  margin-bottom: 18px;
  background: transparent;
  box-shadow: none;
  border-radius: 0;
}

.problem-icon svg {
  width: 64px;
  height: 64px;
  stroke-width: 1.15;
  color: #bd760d;
}

.problem-card h3 {
  margin: 0 0 12px;
  font-family: Inter, system-ui, sans-serif;
  font-size: 21px;
  font-weight: 700;
  line-height: 1.2;
  color: #201710;
}

.problem-card p {
  max-width: 176px;
  margin: 0 auto;
  font-family: Inter, system-ui, sans-serif;
  font-size: 16px;
  font-weight: 500;
  line-height: 1.45;
  color: #27324b;
}

.about-section {
  position: relative;
  min-height: 430px;
  padding: 0;
  background-image: url("./public/images/orion-about-bg.png");
  background-size: cover;
  background-position: center left;
  background-repeat: no-repeat;
  display: flex;
  align-items: center;
  overflow: hidden;
}

.about-section::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(255, 248, 234, 0.12) 0%, rgba(255, 248, 234, 0.05) 42%, rgba(255, 248, 234, 0.16) 100%);
  pointer-events: none;
}

.about-section::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 78% 24%, rgba(255, 255, 255, 0.34), transparent 18%),
    radial-gradient(circle at 92% 72%, rgba(255, 255, 255, 0.32), transparent 16%);
  pointer-events: none;
}

.about-container {
  width: min(calc(100% - 48px), 1280px);
  height: 100%;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 50% 50%;
  grid-template-rows: auto auto;
  align-content: center;
  position: relative;
  z-index: 1;
}

.about-visual-spacer {
  grid-column: 1;
  grid-row: 1 / 3;
  min-height: 1px;
}

.about-content {
  grid-column: 2;
  grid-row: 1;
  max-width: 640px;
  margin-left: 0;
  padding-left: 24px;
  transform: translateY(-4px);
}

.about-visual {
  display: none;
}

.about-label {
  margin: 0 0 12px;
  font-size: 14px;
  font-weight: 800;
  letter-spacing: 0.08em;
  color: #7b4a08;
  text-transform: uppercase;
}

.about-title {
  margin: 0 0 20px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(38px, 3vw, 52px);
  line-height: 1.02;
  color: #071a3d;
}

.about-text {
  margin: 0 0 26px;
  max-width: 620px;
  font-size: 17px;
  line-height: 1.55;
  color: #15233f;
}

.about-features {
  grid-column: 2;
  grid-row: 2;
  display: grid;
  width: 100%;
  max-width: 680px;
  height: 70px;
  grid-template-columns: repeat(4, 1fr);
  align-items: center;
  background: rgba(255, 255, 255, 0.78);
  border: 1px solid #eadcc3;
  border-radius: 12px;
  box-shadow: 0 10px 24px rgba(71, 45, 12, 0.1);
  backdrop-filter: blur(6px);
  overflow: hidden;
}

.about-feature {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 10px 14px;
  color: #071a3d;
  font-size: 15px;
  font-weight: 800;
  line-height: 1.25;
  text-align: center;
  border-right: 1px solid #eadcc3;
}

.about-feature:last-child {
  border-right: none;
}

.about-feature svg {
  width: 28px;
  height: 28px;
  flex: 0 0 auto;
  color: #d6a84f;
  stroke: currentColor;
  stroke-width: 1.8;
  fill: none;
  stroke-linecap: round;
  stroke-linejoin: round;
}

@media (min-width: 768px) and (max-width: 1024px) {
  .section.about-section {
    min-height: auto;
    padding: 56px 24px 64px;
    background-image: none;
  }

  .about-section::before,
  .about-section::after {
    display: none;
  }

  .about-container {
    width: min(100%, 960px);
    height: auto;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    grid-template-rows: auto auto;
    align-items: center;
    gap: 32px;
  }

  .about-visual-spacer {
    display: none;
  }

  .about-content {
    grid-column: 1;
    grid-row: 1;
    position: static;
    width: 100%;
    max-width: 100%;
    padding-left: 0;
    transform: none;
  }

  .about-text {
    margin-bottom: 0;
  }

  .about-visual {
    position: static;
    grid-column: 2;
    grid-row: 1;
    display: block;
    width: 100%;
    max-width: 100%;
    transform: none;
  }

  .about-visual img {
    display: block;
    width: 100%;
    aspect-ratio: 1 / 1;
    object-fit: cover;
    object-position: left center;
    border-radius: 24px;
  }

  .about-features {
    position: static;
    grid-column: 1 / -1;
    grid-row: 2;
    width: 100%;
    max-width: 100%;
    transform: none;
  }
}

.visual-card {
  position: relative;
  overflow: hidden;
  min-height: 29rem;
  padding: 2rem;
  background:
    radial-gradient(circle at top right, rgba(214, 168, 79, 0.18), transparent 26%),
    linear-gradient(155deg, #0a2554 0%, #12356f 70%, #163e7d 100%);
}

.mini-zodiac {
  top: 1.9rem;
  right: 1.9rem;
  width: 10rem;
  aspect-ratio: 1;
  border: 1px solid rgba(214, 168, 79, 0.28);
  background:
    radial-gradient(circle, transparent 56%, rgba(214, 168, 79, 0.2) 57%, transparent 58%),
    repeating-conic-gradient(from 0deg, rgba(214, 168, 79, 0.22) 0deg 2deg, transparent 2deg 30deg);
  opacity: 0.6;
}

.kundali-grid {
  position: absolute;
  inset: 4rem 2rem 2rem;
  border: 1px solid rgba(214, 168, 79, 0.22);
  transform: rotate(45deg);
}

.kundali-grid span {
  position: absolute;
  background: rgba(214, 168, 79, 0.22);
}

.kundali-grid span:nth-child(1),
.kundali-grid span:nth-child(2) {
  inset: 50% 0 auto;
  height: 1px;
}

.kundali-grid span:nth-child(2) {
  inset: auto 0 50%;
}

.kundali-grid span:nth-child(3),
.kundali-grid span:nth-child(4) {
  inset: 0 auto 0 50%;
  width: 1px;
}

.kundali-grid span:nth-child(4) {
  inset: 0 50% 0 auto;
}

.visual-badge {
  position: absolute;
  left: 1.5rem;
  bottom: 1.5rem;
  padding: 0.85rem 1rem;
  border-radius: 999px;
  border: 1px solid rgba(214, 168, 79, 0.34);
  background: rgba(255, 247, 232, 0.12);
  color: var(--cream);
}

.chip-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
  margin-top: 1.5rem;
}

.chip-row span {
  padding: 0.72rem 1rem;
  border-radius: 999px;
  border: 1px solid rgba(214, 168, 79, 0.26);
  background: rgba(214, 168, 79, 0.12);
  font-weight: 600;
}

.report-showcase {
  position: relative;
  height: 500px;
  min-height: 500px;
  padding: 0;
  color: var(--white);
  background-image: url("./public/images/orion-sample-reports-bg.png");
  background-size: cover;
  background-position: center 42%;
  background-repeat: no-repeat;
  display: flex;
  align-items: center;
  overflow: hidden;
}

.report-showcase::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    90deg,
    rgba(7, 26, 61, 0.88) 0%,
    rgba(7, 26, 61, 0.5) 35%,
    rgba(7, 26, 61, 0.05) 65%,
    rgba(7, 26, 61, 0) 100%
  );
  z-index: 1;
}

.sample-reports-container {
  position: relative;
  z-index: 2;
  width: min(1280px, calc(100% - 48px));
  margin: 0 auto;
}

.sample-reports-content {
  max-width: 430px;
  padding-block: 1.75rem;
}

.sample-reports-title {
  margin: 0 0 24px;
  color: #f4bd55;
  font-size: clamp(24px, 2.4vw, 34px);
  line-height: 1.18;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.03em;
}

.sample-reports-list {
  list-style: none;
  padding: 0;
  margin: 0 0 28px;
  display: grid;
  gap: 11px;
}

.sample-reports-list li {
  display: flex;
  align-items: center;
  gap: 12px;
  color: #ffffff;
  font-size: 18px;
  line-height: 1.45;
  font-weight: 600;
}

.sample-reports-list svg {
  width: 22px;
  height: 22px;
  color: #d6a84f;
  flex-shrink: 0;
  stroke: currentColor;
  stroke-width: 2;
  fill: none;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.sample-reports-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: none;
  border-radius: 10px;
  background: #f4bd55;
  color: #071a3d;
  padding: 15px 28px;
  text-decoration: none;
  font-weight: 800;
  box-shadow: 0 10px 22px rgba(214, 168, 79, 0.25);
  transition: transform 0.25s ease, background 0.25s ease;
}

.sample-reports-button:hover {
  transform: translateY(-2px);
  background: #d6a84f;
}

.pricing-section {
  background: #fff8ea;
  padding: 64px 0 72px;
}

.reports-counter-section {
  padding: 38px 0 0;
  background: #fff8ea;
}

.reports-counter-card {
  position: relative;
  width: min(100%, 720px);
  min-height: 142px;
  margin: 0 auto;
  padding: 26px 38px;
  display: grid;
  grid-template-columns: auto auto 1fr;
  align-items: center;
  gap: 22px;
  overflow: hidden;
  border: 1px solid rgba(214, 168, 79, 0.42);
  border-radius: 24px;
  background:
    radial-gradient(circle at 88% 18%, rgba(244, 189, 85, 0.16), transparent 28%),
    linear-gradient(145deg, #071a3d, #102f64 62%, #071a3d);
  box-shadow: 0 20px 46px rgba(7, 26, 61, 0.18);
}

.reports-counter-card::after {
  content: "";
  position: absolute;
  right: -62px;
  width: 180px;
  height: 180px;
  border: 1px solid rgba(214, 168, 79, 0.14);
  border-radius: 50%;
  box-shadow: inset 0 0 0 30px transparent, inset 0 0 0 31px rgba(214, 168, 79, 0.1);
}

.reports-counter-symbol {
  width: 52px;
  height: 52px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(244, 189, 85, 0.32);
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.06);
}

.reports-counter-symbol svg {
  width: 27px;
  height: 27px;
  fill: none;
  stroke: #f4bd55;
  stroke-width: 1.6;
}

.reports-counter-number {
  position: relative;
  z-index: 1;
  color: #f4bd55;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(44px, 6vw, 68px);
  line-height: 1;
}

.reports-counter-card p {
  position: relative;
  z-index: 1;
  max-width: 300px;
  margin: 0;
  color: rgba(255, 255, 255, 0.92);
  font-size: 17px;
  font-weight: 700;
  line-height: 1.45;
}

.pricing-grid {
  width: min(1280px, calc(100% - 48px));
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 28px;
  align-items: stretch;
}

.cta-panel,
.site-footer {
  color: var(--white);
  background:
    radial-gradient(circle at top left, rgba(214, 168, 79, 0.12), transparent 22%),
    radial-gradient(circle at 78% 24%, rgba(255, 255, 255, 0.06), transparent 18%),
    linear-gradient(145deg, #0b234f 0%, #12315f 100%);
}

.cta-panel h2,
.cta-panel p,
.site-footer h3,
.site-footer h4,
.site-footer a,
.site-footer p {
  color: var(--white);
}

.how-section {
  background:
    radial-gradient(circle at 50% 0%, rgba(214, 168, 79, 0.12), transparent 26%),
    repeating-linear-gradient(
      135deg,
      rgba(214, 168, 79, 0.045) 0,
      rgba(214, 168, 79, 0.045) 2px,
      transparent 2px,
      transparent 14px
    ),
    #fff8ea;
  padding: 72px 0 82px;
}

.how-section .eyebrow {
  color: #b87711;
  font-size: 14px;
  font-weight: 900;
  letter-spacing: 0.22em;
}

.how-section .section-heading {
  max-width: 70rem;
  margin-bottom: 60px;
}

.how-section .section-heading h2 {
  display: block;
  padding-inline: 0;
  margin: 0 0 20px;
  font-family: Georgia, "Times New Roman", serif;
  color: #071a3d;
  font-size: clamp(42px, 5vw, 72px);
  line-height: 0.95;
  text-align: center;
}

.how-section .section-heading h2::before,
.how-section .section-heading h2::after {
  display: none;
}

.process-subtitle {
  margin: -8px auto 0;
  max-width: 42rem;
  color: #27324b;
  font-size: 17px;
  text-align: center;
}

.steps-grid {
  display: grid;
  position: relative;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 24px;
  align-items: stretch;
}

.steps-grid::before {
  content: "";
  position: absolute;
  left: 12%;
  right: 12%;
  top: 4px;
  height: 1px;
  background: linear-gradient(90deg, rgba(214, 168, 79, 0.12), rgba(214, 168, 79, 0.45), rgba(214, 168, 79, 0.12));
  z-index: 0;
}

.step-card {
  position: relative;
  background: linear-gradient(180deg, #ffffff 0%, #fffaf0 100%);
  border: 1px solid #eadcc3;
  border-radius: 22px;
  box-shadow: 0 18px 42px rgba(71, 45, 12, 0.1);
  padding: 52px 28px 34px;
  min-height: 230px;
  text-align: center;
  transition: transform 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease;
  z-index: 1;
}

.step-card:hover {
  transform: translateY(-8px);
  border-color: #d6a84f;
  box-shadow: 0 26px 56px rgba(71, 45, 12, 0.16);
}

.step-number {
  position: absolute;
  top: -28px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  align-items: center;
  justify-content: center;
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: linear-gradient(180deg, #f4bd55, #d6a84f);
  border: 4px solid #fff8ea;
  color: #071a3d;
  font-size: 20px;
  font-weight: 900;
  box-shadow: 0 12px 24px rgba(214, 168, 79, 0.32);
}

.step-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
  color: #bd760d;
}

.step-icon svg {
  width: 42px;
  height: 42px;
  stroke: currentColor;
  stroke-width: 1.8;
  fill: none;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.step-card h3 {
  margin: 0 0 14px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 26px;
  line-height: 1.05;
  color: #071a3d;
}

.step-card p {
  max-width: 260px;
  margin: 0 auto;
  font-size: 15.5px;
  line-height: 1.55;
  color: #27324b;
  font-weight: 500;
}

@media (max-width: 1099px) {
  .steps-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 28px 22px;
  }

  .steps-grid::before {
    left: 22%;
    right: 22%;
  }
}

.pricing-card {
  position: relative;
  background: linear-gradient(180deg, #ffffff 0%, #fffaf0 100%);
  border: 1px solid #eadcc3;
  border-radius: 16px;
  box-shadow: 0 12px 28px rgba(71, 45, 12, 0.08);
  padding: 38px 28px 30px;
  min-height: 320px;
  text-align: center;
  cursor: pointer;
  transition: transform 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease, background 0.25s ease;
}

.pricing-card:hover {
  transform: translateY(-8px);
  border-color: #d6a84f;
  box-shadow: 0 20px 42px rgba(71, 45, 12, 0.16);
}

.pricing-card:focus-visible {
  outline: 3px solid rgba(214, 168, 79, 0.38);
  outline-offset: 3px;
}

.pricing-card.is-selected {
  border: 2px solid #d6a84f;
  background:
    radial-gradient(circle at top, rgba(214, 168, 79, 0.16), transparent 42%),
    linear-gradient(180deg, #ffffff 0%, #fff6df 100%);
  box-shadow:
    0 0 0 4px rgba(214, 168, 79, 0.12),
    0 24px 52px rgba(71, 45, 12, 0.18);
  transform: translateY(-10px) scale(1.02);
  z-index: 2;
}

.pricing-ribbon {
  position: absolute;
  top: -18px;
  left: 50%;
  transform: translateX(-50%);
  min-width: 210px;
  padding: 8px 18px;
  background: linear-gradient(90deg, #b87711, #f4bd55, #b87711);
  color: #071a3d;
  font-size: 13px;
  font-weight: 900;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  border-radius: 999px;
  box-shadow: 0 8px 18px rgba(71, 45, 12, 0.18);
}

.pricing-ribbon::before,
.pricing-ribbon::after {
  content: "";
  position: absolute;
  top: 100%;
  width: 14px;
  height: 10px;
  background: #9f6710;
  clip-path: polygon(0 0, 100% 0, 50% 100%);
}

.pricing-ribbon::before {
  left: 18px;
}

.pricing-ribbon::after {
  right: 18px;
}

.selected-check {
  position: absolute;
  top: 14px;
  right: 14px;
  width: 30px;
  height: 30px;
  display: none;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  background: #d6a84f;
  color: #071a3d;
  box-shadow: 0 8px 18px rgba(214, 168, 79, 0.25);
}

.selected-check svg {
  width: 16px;
  height: 16px;
  stroke: currentColor;
  stroke-width: 2.4;
  fill: none;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.pricing-card.is-selected .selected-check {
  display: flex;
}

.pricing-card-title {
  margin: 0 0 20px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 24px;
  font-weight: 700;
  color: #3a1f0b;
}

.pricing-price {
  margin: 0 0 16px;
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: center;
  gap: 0.45rem;
}

.pricing-price-main {
  font-size: clamp(44px, 4vw, 60px);
  font-weight: 900;
  color: #071a3d;
  line-height: 1;
}

.pricing-small {
  font-size: 18px;
  font-weight: 700;
  color: #3a1f0b;
}

.pricing-description {
  max-width: 280px;
  margin: 0 auto 28px;
  font-size: 17px;
  line-height: 1.45;
  font-weight: 600;
  color: #27324b;
}

.pricing-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  max-width: 260px;
  min-height: 56px;
  margin: auto auto 0;
  border: none;
  border-radius: 10px;
  padding: 15px 24px;
  background: linear-gradient(180deg, #f4bd55, #d6a84f);
  color: #071a3d;
  font-weight: 900;
  text-decoration: none;
  text-align: center;
  line-height: 1.15;
  white-space: normal;
  box-shadow: 0 10px 22px rgba(214, 168, 79, 0.16);
  transition: transform 0.25s ease, box-shadow 0.25s ease, background 0.25s ease, color 0.25s ease;
}

.pricing-card.is-selected .pricing-button {
  background: #071a3d;
  color: #ffffff;
  box-shadow: 0 12px 24px rgba(7, 26, 61, 0.28);
}

.pricing-button:hover {
  transform: translateY(-2px);
}

.section.testimonials-section {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  padding: 120px 0;
  background: #fff8ea;
}

.section.testimonials-section::before {
  position: absolute;
  inset: 0;
  z-index: -1;
  display: block;
  content: "";
  pointer-events: none;
  opacity: 0.28;
  background-image:
    radial-gradient(circle, rgba(166, 108, 18, 0.12) 1px, transparent 1.5px),
    linear-gradient(120deg, transparent 49.7%, rgba(166, 108, 18, 0.045) 50%, transparent 50.3%);
  background-position: 0 0, 0 0;
  background-size: 72px 72px, 180px 180px;
}

.container.testimonials-shell {
  position: relative;
  width: min(1200px, calc(100% - 48px));
}

.testimonials-intro {
  max-width: 1060px;
  margin-bottom: 48px;
  text-align: left;
}

.testimonials-intro .eyebrow {
  margin-bottom: 16px;
  color: #a96d0e;
}

.testimonials-intro h2 {
  margin: 0;
  color: #071a3d;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(48px, 5vw, 72px);
  font-weight: 700;
  line-height: 0.98;
  letter-spacing: -0.035em;
}

.testimonials-subtitle {
  max-width: 650px;
  margin: 24px 0 0;
  color: #35425b;
  font-size: 18px;
  line-height: 1.7;
}

.testimonial-rating-card {
  display: grid;
  grid-template-columns: minmax(280px, 0.8fr) minmax(0, 1.55fr);
  align-items: stretch;
  margin-bottom: 56px;
  overflow: hidden;
  border: 1px solid rgba(196, 132, 31, 0.28);
  border-radius: 28px;
  background: #ffffff;
  box-shadow: 0 22px 54px rgba(66, 44, 13, 0.09);
}

.testimonial-rating-spotlight {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 34px 38px;
  border-right: 1px solid rgba(196, 132, 31, 0.2);
  background: #fffdf8;
}

.testimonial-rating-spotlight > p {
  margin: 0 0 10px;
  color: #8d5b0c;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.testimonial-rating-stars,
.testimonial-stars {
  color: #d39a2c;
  line-height: 1;
  letter-spacing: 0.11em;
}

.testimonial-rating-stars {
  margin-bottom: 16px;
  font-size: 24px;
}

.testimonial-rating-score {
  display: flex;
  align-items: baseline;
  gap: 12px;
}

.testimonial-rating-score strong {
  color: #071a3d;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 46px;
  line-height: 1;
}

.testimonial-rating-score span {
  color: #071a3d;
  font-size: 16px;
  font-weight: 800;
}

.testimonial-rating-spotlight small {
  margin-top: 10px;
  color: #687186;
  font-size: 13px;
}

.testimonial-rating-metrics {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  margin: 0;
  padding: 28px 20px;
}

.testimonial-rating-metrics > div {
  display: flex;
  min-width: 0;
  flex-direction: column;
  justify-content: center;
  gap: 8px;
  padding: 12px 22px;
  border-left: 1px solid rgba(196, 132, 31, 0.16);
}

.testimonial-rating-metrics > div:first-child {
  border-left: 0;
}

.testimonial-rating-metrics dt {
  color: #747c8e;
  font-size: 12px;
  font-weight: 800;
  line-height: 1.35;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.testimonial-rating-metrics dd {
  margin: 0;
  color: #071a3d;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(26px, 2.6vw, 36px);
  font-weight: 700;
  line-height: 1;
}

.testimonials-carousel {
  position: relative;
  padding-inline: 42px;
}

.testimonials-viewport {
  margin: -8px -2px -18px;
  overflow: hidden;
  padding: 8px 2px 18px;
}

.testimonials-track {
  --cards-per-view: 3;
  --carousel-gap: 24px;
  display: flex;
  align-items: stretch;
  gap: var(--carousel-gap);
  transition: transform 520ms cubic-bezier(0.22, 1, 0.36, 1);
  will-change: transform;
}

.testimonial-slide {
  position: relative;
  display: flex;
  min-width: 0;
  min-height: 340px;
  flex: 0 0 calc((100% - (var(--carousel-gap) * (var(--cards-per-view) - 1))) / var(--cards-per-view));
  flex-direction: column;
  padding: 30px;
  overflow: hidden;
  border: 1px solid rgba(196, 132, 31, 0.24);
  border-radius: 22px;
  background: #ffffff;
  box-shadow: 0 16px 36px rgba(66, 44, 13, 0.08);
  transition: transform 240ms ease, border-color 240ms ease, box-shadow 240ms ease;
}

.testimonial-slide:hover {
  transform: translateY(-6px);
  border-color: rgba(196, 132, 31, 0.48);
  box-shadow: 0 24px 48px rgba(66, 44, 13, 0.13);
}

.testimonial-slide-placeholder {
  justify-content: center;
  min-height: 220px;
  background: linear-gradient(180deg, #fffdf8 0%, #ffffff 100%);
}

.testimonial-slide-placeholder .testimonial-copy {
  margin: 0;
  color: #687186;
  text-align: center;
}

.testimonials-carousel[data-testimonials-state="loading"] .testimonial-arrow,
.testimonials-carousel[data-testimonials-state="empty"] .testimonial-arrow,
.testimonials-carousel[data-testimonials-state="error"] .testimonial-arrow {
  display: none;
}

.testimonial-card-top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 24px;
}

.testimonial-stars {
  font-size: 18px;
}

.testimonial-quote {
  height: 34px;
  color: rgba(196, 132, 31, 0.18);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 62px;
  line-height: 0.78;
}

.testimonial-meta {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 10px;
  margin-bottom: 22px;
}

.testimonial-meta h3 {
  margin: 0;
  color: #071a3d;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 25px;
  font-weight: 700;
  line-height: 1.1;
}

.testimonial-details {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px 12px;
}

.testimonial-service {
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  padding: 5px 10px;
  border: 1px solid rgba(196, 132, 31, 0.25);
  border-radius: 999px;
  color: #8a590d;
  background: #fff8e9;
  font-size: 11px;
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: 0.04em;
}

.testimonial-details time {
  color: #7a8292;
  font-size: 12px;
  font-weight: 700;
}

.testimonial-copy {
  margin: 0;
  color: #334159;
  font-size: 17px;
  font-weight: 500;
  line-height: 1.72;
}

.testimonial-arrow {
  position: absolute;
  top: 50%;
  z-index: 2;
  display: inline-flex;
  width: 46px;
  height: 46px;
  align-items: center;
  justify-content: center;
  transform: translateY(-50%);
  border: 1px solid rgba(196, 132, 31, 0.35);
  border-radius: 50%;
  color: #071a3d;
  background: #ffffff;
  box-shadow: 0 12px 26px rgba(66, 44, 13, 0.12);
  cursor: pointer;
  transition: transform 220ms ease, border-color 220ms ease, box-shadow 220ms ease;
}

.testimonial-arrow:hover,
.testimonial-arrow:focus-visible {
  transform: translateY(-50%) scale(1.06);
  border-color: #c4841f;
  box-shadow: 0 16px 30px rgba(66, 44, 13, 0.17);
}

.testimonial-arrow svg {
  width: 20px;
  height: 20px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2.1;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.testimonial-arrow-prev {
  left: 0;
}

.testimonial-arrow-next {
  right: 0;
}

.testimonial-dots {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 9px;
  margin-top: 30px;
}

.testimonial-dot {
  width: 9px;
  height: 9px;
  min-height: 0;
  padding: 0;
  border: 0;
  border-radius: 999px;
  background: rgba(7, 26, 61, 0.18);
  cursor: pointer;
  transition: width 220ms ease, transform 220ms ease, background 220ms ease;
}

.testimonial-dot.is-active {
  width: 24px;
  background: #c4841f;
}

.testimonials-actions {
  display: flex;
  justify-content: center;
  margin-top: 36px;
}

.testimonial-write-button {
  min-width: 190px;
  transition: transform 220ms ease, box-shadow 220ms ease;
}

.testimonial-write-button:hover,
.testimonial-write-button:focus-visible {
  transform: translateY(-2px) scale(1.02);
}

.faq-list {
  display: grid;
  gap: 1rem;
}

@media (max-width: 1099px) {
  .section.testimonials-section {
    padding: 80px 0;
  }

  .testimonials-intro {
    margin-bottom: 40px;
  }

  .testimonial-rating-card {
    grid-template-columns: 1fr;
    margin-bottom: 48px;
  }

  .testimonial-rating-spotlight {
    border-right: 0;
    border-bottom: 1px solid rgba(196, 132, 31, 0.2);
  }

  .testimonials-track {
    --cards-per-view: 2;
  }
}

@media (max-width: 767px) {
  .section.testimonials-section {
    padding: 60px 0;
  }

  .container.testimonials-shell {
    width: min(calc(100% - 32px), 1200px);
  }

  .testimonials-intro {
    margin-bottom: 34px;
  }

  .testimonials-intro h2 {
    font-size: clamp(38px, 11vw, 50px);
    line-height: 1.02;
  }

  .testimonials-intro h2 br {
    display: none;
  }

  .testimonials-subtitle {
    margin-top: 20px;
    font-size: 16px;
    line-height: 1.65;
  }

  .testimonial-rating-card {
    margin-bottom: 40px;
    border-radius: 22px;
  }

  .testimonial-rating-spotlight {
    padding: 28px 24px;
  }

  .testimonial-rating-score {
    align-items: flex-end;
  }

  .testimonial-rating-score strong {
    font-size: 42px;
  }

  .testimonial-rating-metrics {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    padding: 12px;
  }

  .testimonial-rating-metrics > div {
    min-height: 98px;
    padding: 14px 10px;
    border-left: 0;
    border-top: 1px solid rgba(196, 132, 31, 0.16);
  }

  .testimonial-rating-metrics dt {
    overflow-wrap: anywhere;
    font-size: 10px;
    letter-spacing: 0.04em;
  }

  .testimonial-rating-metrics > div:nth-child(-n + 2) {
    border-top: 0;
  }

  .testimonial-rating-metrics > div:nth-child(even) {
    border-left: 1px solid rgba(196, 132, 31, 0.16);
  }

  .testimonial-rating-metrics dd {
    font-size: 28px;
  }

  .testimonials-carousel {
    padding-inline: 0;
  }

  .testimonials-track {
    --cards-per-view: 1;
    --carousel-gap: 16px;
  }

  .testimonial-slide {
    min-height: 330px;
    padding: 26px 22px;
  }

  .testimonial-copy {
    font-size: 16px;
  }

  .testimonial-meta h3 {
    font-size: 24px;
  }

  .testimonial-arrow {
    display: none;
  }

  .testimonial-dots {
    margin-top: 26px;
  }

  .testimonials-actions {
    margin-top: 30px;
  }

  .testimonial-write-button {
    width: min(100%, 260px);
  }
}

/* ========================================
   VISITOR CHAT - REAL-TIME MESSAGES
   ======================================== */

.chat-message-list {
  overflow-x: hidden;
  overflow-y: auto;
  scroll-behavior: smooth;
}

.chat-onboarding {
  display: grid;
  gap: 1.25rem;
  width: 100%;
}

.chat-live-messages {
  align-self: stretch;
  display: flex;
  flex-direction: column;
  gap: 0.9rem;
  width: 100%;
}

.chat-message {
  display: flex;
  flex-direction: column;
  max-width: min(78%, 34rem);
}

.chat-message-user {
  align-self: flex-end;
  align-items: flex-end;
}

.chat-message-admin {
  align-self: flex-start;
  align-items: flex-start;
}

.chat-message-bubble {
  margin: 0;
  padding: 0.8rem 1rem;
  border-radius: 18px;
  line-height: 1.55;
  overflow-wrap: anywhere;
  white-space: pre-wrap;
}

.chat-message-user .chat-message-bubble {
  color: var(--cream, #fff7e6);
  background: linear-gradient(145deg, var(--navy, #071b35), #12385f);
  border: 1px solid rgba(205, 164, 75, 0.72);
  border-bottom-right-radius: 5px;
  box-shadow: 0 10px 24px rgba(7, 27, 53, 0.18);
}

.chat-message-admin .chat-message-bubble {
  color: var(--navy, #071b35);
  background: linear-gradient(145deg, #fff, var(--cream, #fff7e6));
  border: 1px solid rgba(205, 164, 75, 0.25);
  border-bottom-left-radius: 5px;
  box-shadow: 0 8px 22px rgba(7, 27, 53, 0.1);
}

.chat-message-time {
  margin-top: 0.3rem;
  color: rgba(7, 27, 53, 0.58);
  font-size: 0.72rem;
}

.chat-live-empty {
  align-self: center;
  max-width: 27rem;
  margin: auto;
  padding: 1rem 1.2rem;
  color: rgba(7, 27, 53, 0.68);
  text-align: center;
  background: rgba(255, 247, 230, 0.7);
  border: 1px solid rgba(205, 164, 75, 0.25);
  border-radius: 16px;
}

.chat-live-empty.is-error {
  color: #842f2f;
  border-color: rgba(132, 47, 47, 0.25);
}

.chat-send-status {
  padding: 0;
  color: rgba(7, 27, 53, 0.65);
  font: inherit;
  font-size: 0.78rem;
  background: none;
  border: 0;
}

.chat-send-status.is-error {
  color: #9b3434;
  cursor: pointer;
  text-decoration: underline;
  text-underline-offset: 0.2rem;
}

.chat-send-status.is-error:focus-visible {
  outline: 2px solid var(--gold, #cda44b);
  outline-offset: 4px;
  border-radius: 2px;
}

.chat-composer textarea {
  max-height: 11rem;
  overflow-y: auto;
}

@media (max-width: 767px) {
  .chat-message {
    max-width: 88%;
  }

  .chat-message-bubble {
    padding: 0.72rem 0.88rem;
  }
}

.faq-item {
  overflow: hidden;
}

.faq-question {
  width: 100%;
  padding: 1.2rem 1.3rem;
  border: 0;
  background: transparent;
  text-align: left;
  font-weight: 700;
  color: var(--navy);
  cursor: pointer;
}

.faq-answer {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows 220ms ease;
}

.faq-answer p {
  overflow: hidden;
  padding: 0 1.3rem 0;
}

.faq-item.is-open .faq-answer {
  grid-template-rows: 1fr;
}

.faq-item.is-open .faq-answer p {
  padding-bottom: 1.2rem;
}

.cta-contact-grid {
  align-items: stretch;
}

.cta-panel {
  padding: 2rem;
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-strong);
}

.consultation-panel {
  display: flex;
  min-height: 620px;
  padding: 56px 48px;
  overflow: hidden;
  border: 1px solid rgba(214, 168, 79, 0.35);
  border-radius: 32px;
  background:
    radial-gradient(circle at 10% 15%, rgba(255, 255, 255, 0.07) 0 1px, transparent 1.5px),
    radial-gradient(circle at 74% 24%, rgba(244, 189, 85, 0.48) 0 1px, transparent 1.8px),
    radial-gradient(circle at 36% 80%, rgba(255, 255, 255, 0.16) 0 1px, transparent 1.6px),
    radial-gradient(circle at 88% 70%, rgba(244, 189, 85, 0.3) 0 1px, transparent 1.6px),
    linear-gradient(145deg, #071a3d 0%, #102f64 55%, #071a3d 100%);
  box-shadow:
    0 28px 70px rgba(7, 26, 61, 0.25),
    inset 0 0 0 1px rgba(255, 255, 255, 0.06);
}

.consultation-panel::before {
  content: "";
  position: absolute;
  right: -19rem;
  bottom: -17rem;
  width: 39rem;
  aspect-ratio: 1;
  border: 2px solid rgba(214, 168, 79, 0.17);
  border-radius: 50%;
  box-shadow:
    inset 0 0 0 24px transparent,
    inset 0 0 0 25px rgba(214, 168, 79, 0.11),
    inset 0 0 0 63px transparent,
    inset 0 0 0 64px rgba(214, 168, 79, 0.09),
    inset 0 0 0 125px transparent,
    inset 0 0 0 126px rgba(214, 168, 79, 0.08);
  transform: rotate(-15deg);
  pointer-events: none;
}

.consultation-panel::after {
  content: "";
  position: absolute;
  left: 12%;
  bottom: 15%;
  width: 21rem;
  height: 10rem;
  background: radial-gradient(ellipse, rgba(214, 168, 79, 0.22), transparent 70%);
  filter: blur(12px);
  pointer-events: none;
}

.consultation-panel-content {
  position: relative;
  z-index: 1;
  width: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.consultation-label {
  margin: 0 0 26px;
  color: #f4bd55 !important;
  font-size: 14px;
  font-weight: 900;
  letter-spacing: 0.24em;
  text-transform: uppercase;
}

.consultation-title {
  max-width: 600px;
  margin: 0 0 24px;
  color: #ffffff !important;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(46px, 4.6vw, 74px);
  line-height: 0.96;
}

.consultation-text {
  max-width: 620px;
  margin: 0 0 36px;
  color: rgba(255, 255, 255, 0.9) !important;
  font-size: 19px;
  line-height: 1.65;
}

.consultation-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
}

.consultation-actions .button {
  min-height: 56px;
  padding: 17px 32px;
  border-radius: 999px;
  font-size: 17px;
  font-weight: 900;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.consultation-actions .button-primary {
  background: linear-gradient(180deg, #f4bd55, #d6a84f);
  color: #071a3d;
  box-shadow: 0 14px 30px rgba(214, 168, 79, 0.3);
}

.consultation-actions .button-secondary {
  border: 1px solid rgba(255, 255, 255, 0.28);
  background: rgba(255, 255, 255, 0.06);
  color: #ffffff;
  box-shadow: none;
  backdrop-filter: blur(8px);
}

.consultation-actions .button:hover {
  transform: translateY(-2px);
}

.consultation-actions .button-primary:hover {
  box-shadow: 0 18px 36px rgba(214, 168, 79, 0.4);
}

.consultation-actions .button-secondary:hover {
  background: rgba(255, 255, 255, 0.13);
  box-shadow: 0 12px 26px rgba(0, 0, 0, 0.16);
}

.consultation-highlights {
  display: grid;
  gap: 14px;
  padding: 0;
  margin: 42px 0 0;
  list-style: none;
}

.consultation-highlights li {
  display: flex;
  align-items: center;
  gap: 12px;
  color: rgba(255, 255, 255, 0.92);
  font-size: 15px;
  font-weight: 700;
}

.consultation-highlights svg {
  width: 20px;
  height: 20px;
  flex: 0 0 auto;
  fill: none;
  stroke: #d6a84f;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 2;
}

.consultation-note {
  max-width: 400px;
  padding: 18px 20px;
  margin-top: 32px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.08);
  color: #ffffff;
  font-size: 15px;
  font-weight: 700;
  line-height: 1.4;
  backdrop-filter: blur(10px);
}

.contact-form {
  display: grid;
  gap: 1rem;
  padding: 1.6rem;
}

.form-feedback {
  display: none;
  padding: 0.9rem 1rem;
  border-radius: 14px;
  border: 1px solid transparent;
  font-weight: 600;
  line-height: 1.6;
}

.form-feedback.is-error,
.form-feedback.is-success {
  display: block;
}

.form-feedback.is-error {
  color: #7f1d1d;
  background: rgba(255, 232, 232, 0.9);
  border-color: rgba(185, 28, 28, 0.18);
}

.form-feedback.is-success {
  color: #14532d;
  background: rgba(236, 253, 245, 0.95);
  border-color: rgba(22, 163, 74, 0.18);
  white-space: pre-line;
}

.contact-form label {
  display: grid;
  gap: 0.45rem;
  font-weight: 600;
  color: var(--navy);
}

.contact-form input,
.contact-form select,
.contact-form textarea {
  width: 100%;
  padding: 0.95rem 1rem;
  border-radius: 14px;
  border: 1px solid rgba(11, 35, 79, 0.14);
  background: rgba(255, 255, 255, 0.96);
  transition: border-color 180ms ease, box-shadow 180ms ease, background-color 180ms ease;
}

.contact-form select {
  min-height: 3.35rem;
  color: var(--navy);
  cursor: pointer;
}

.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus {
  outline: none;
  border-color: rgba(214, 168, 79, 0.72);
  box-shadow: 0 0 0 4px rgba(214, 168, 79, 0.16);
}

.input-error {
  border-color: rgba(185, 28, 28, 0.5) !important;
  background: rgba(255, 245, 245, 0.98) !important;
  box-shadow: 0 0 0 4px rgba(185, 28, 28, 0.08);
}

.submit-button,
.whatsapp-submit-link {
  width: 100%;
}

.whatsapp-submit-link[hidden] {
  display: none;
}

.premium-submission-panel {
  min-width: 0;
}

.premium-submission-panel > .contact-form[hidden],
.report-success-card[hidden] {
  display: none !important;
}

.report-success-card {
  display: grid;
  gap: 0.85rem;
  padding: clamp(1.25rem, 4vw, 2rem);
  border: 1px solid rgba(214, 168, 79, 0.52);
  border-radius: 20px;
  background: linear-gradient(145deg, #fffdf8, #fbefd5);
  box-shadow: 0 16px 36px rgba(71, 45, 12, 0.1);
  color: #071a3d;
  text-align: center;
}

.report-success-card h2 { margin: 0; font-size: clamp(1.3rem, 4vw, 1.7rem); line-height: 1.3; }
.report-success-card p { margin: 0; }
.report-success-label { margin-top: 0.35rem !important; color: rgba(7, 26, 61, 0.6); font-size: 0.75rem; font-weight: 900; letter-spacing: 0.1em; text-transform: uppercase; }
.report-success-card strong { font-size: clamp(1.2rem, 4vw, 1.5rem); letter-spacing: 0.08em; }
.report-success-note { color: rgba(7, 26, 61, 0.72); line-height: 1.55; }
.report-success-actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 0.6rem; margin-top: 0.2rem; }
.report-copy-button {
  border: 1px solid rgba(7, 26, 61, 0.2);
  border-radius: 10px;
  padding: 0.65rem 0.85rem;
  color: #071a3d;
  background: #fff;
  font: inherit;
  font-weight: 800;
  cursor: pointer;
}
.report-close-button { border: 0; padding: 0.65rem 0.85rem; color: #556070; background: transparent; font: inherit; font-weight: 750; cursor: pointer; }
.report-copy-button:hover, .report-copy-button:focus-visible, .report-close-button:hover, .report-close-button:focus-visible { outline: none; color: #8c5a09; border-color: rgba(214, 168, 79, 0.72); }

.report-status-page {
  min-height: 100vh;
  margin: 0;
  color: #071a3d;
}
.report-status-main { width: min(100% - 2rem, 680px); margin: 0 auto; padding: 4rem 0; }
.report-status-brand { display: block; margin-bottom: 2rem; color: #071a3d; font-family: Georgia, serif; font-size: 1.45rem; font-weight: 900; letter-spacing: 0.13em; text-align: center; text-decoration: none; }
.report-status-brand span { display: block; margin-top: 0.2rem; color: #b77d1d; font-family: inherit; font-size: 0.64rem; letter-spacing: 0.33em; }
.report-status-card { padding: clamp(1.5rem, 5vw, 3rem); border: 1px solid #eadcc3; border-radius: 26px; background: rgba(255, 253, 248, 0.96); box-shadow: 0 22px 50px rgba(7, 26, 61, 0.11); }
.report-status-card h1 { margin: 0.3rem 0 0.75rem; font-size: clamp(1.85rem, 5vw, 2.65rem); }
.report-status-intro { margin: 0 0 1.75rem; color: rgba(7, 26, 61, 0.72); line-height: 1.65; }
.report-status-form label { display: block; margin-bottom: 0.5rem; font-size: 0.82rem; font-weight: 850; }
.report-status-search { display: flex; gap: 0.7rem; }
.report-status-search input { min-width: 0; flex: 1; min-height: 3.25rem; border: 1px solid #d9d3c7; border-radius: 14px; padding: 0 1rem; color: #071a3d; background: #fff; font: inherit; font-weight: 750; letter-spacing: 0.04em; }
.report-status-search input:focus { outline: none; border-color: #d6a84f; box-shadow: 0 0 0 4px rgba(214, 168, 79, 0.14); }
.report-status-feedback { min-height: 1.5rem; margin: 0.8rem 0 0; color: #176136; font-weight: 650; }
.report-status-feedback.is-error { color: #991b1b; }
.report-status-result { margin-top: 1.2rem; padding: 1.25rem; border: 1px solid rgba(214, 168, 79, 0.34); border-radius: 18px; background: #fff; }
.report-status-label { margin: 0 0 0.5rem; color: rgba(7, 26, 61, 0.6); font-size: 0.72rem; font-weight: 900; letter-spacing: 0.12em; text-transform: uppercase; }
.report-status-pill { display: inline-flex; padding: 0.45rem 0.72rem; border-radius: 999px; background: #fff3d2; color: #754a00; font-size: 0.82rem; font-weight: 900; text-transform: capitalize; }
.report-status-pill.is-completed { background: #dcfce7; color: #176136; }
.report-status-pill.is-in-progress { background: #dbeafe; color: #1d4ed8; }
.report-status-pill.is-closed { background: #f3f4f6; color: #4b5563; }
.report-status-result dl { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1rem; margin: 1.3rem 0 0; }
.report-status-result dl div { min-width: 0; }
.report-status-result dt { margin-bottom: 0.28rem; color: rgba(7, 26, 61, 0.55); font-size: 0.72rem; font-weight: 850; text-transform: uppercase; }
.report-status-result dd { margin: 0; font-weight: 760; overflow-wrap: anywhere; }
.report-status-help { margin: 1.5rem 0 0; text-align: center; color: rgba(7, 26, 61, 0.72); }
.report-status-help a { color: #8c5a09; font-weight: 800; }

@media (max-width: 560px) {
  .report-status-main { width: min(100% - 1.25rem, 680px); padding: 2rem 0; }
  .report-status-search { flex-direction: column; }
  .report-status-search .button { width: 100%; }
  .report-status-result dl { grid-template-columns: 1fr; }
}

.site-footer {
  padding-top: 4rem;
}

.footer-grid {
  display: grid;
  gap: 2rem;
  padding-bottom: 2rem;
}

.footer-grid > div {
  display: grid;
  gap: 0.8rem;
}

.social-row {
  display: flex;
  gap: 0.85rem;
  color: var(--gold);
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.08em;
}

.footer-bottom {
  padding: 1.25rem 0 2rem;
  border-top: 1px solid rgba(214, 168, 79, 0.18);
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
  }
}

@media (min-width: 768px) {
  .hero-grid,
  .two-column,
  .insights-grid,
  .cta-contact-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 3rem;
  }

  .selector-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .services-grid,
  .pricing-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .steps-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 1.4rem;
  }

  .footer-grid {
    grid-template-columns: 1.5fr 1fr 1fr 1fr;
  }

  .section-subtitle {
    font-size: 1.05rem;
  }

  .menu-toggle {
    display: none;
  }

  .site-nav {
    position: static;
    display: flex;
    padding: 0;
    border: 0;
    background: transparent;
    box-shadow: none;
    gap: 1.4rem;
  }

  .header-actions {
    display: flex;
  }
}

@media (min-width: 1100px) {
  .hero-grid {
    grid-template-columns: minmax(0, 1fr);
    gap: 0;
    min-height: inherit;
    align-content: center;
  }

  .two-column,
  .insights-grid,
  .cta-contact-grid {
    gap: 4rem;
  }

  .selector-grid {
    grid-template-columns: repeat(6, minmax(0, 1fr));
  }

  .services-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .pricing-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }

  .about-section .content-panel {
    padding-top: 1rem;
  }
}

@media (max-width: 767px) {
  .container {
    width: min(calc(100% - 1.25rem), var(--container));
  }

  .section {
    padding: 3.2rem 0;
  }

  .problem-section {
    padding: 56px 0 64px;
  }

  .problem-heading-wrap {
    margin-bottom: 34px;
    padding-inline: 10px;
  }

  .problem-heading {
    font-size: clamp(24px, 8vw, 30px);
    letter-spacing: 0.03em;
  }

  .problem-heading-divider {
    margin-top: 15px;
    margin-bottom: 14px;
  }

  .problem-subtitle {
    max-width: 32rem;
    font-size: 16px;
    line-height: 1.45;
  }

  .section.about-section {
    display: none;
    flex-direction: column;
    width: 100%;
    min-height: auto;
    padding: 40px 16px calc(92px + env(safe-area-inset-bottom, 0px));
    overflow: hidden;
    background-color: #fff8ea;
    background-image: none;
    scroll-margin-top: calc(var(--mobile-header-height, 68px) + 12px);
  }

  .about-section::before,
  .about-section::after {
    display: none;
  }

  .about-container {
    position: static;
    display: flex;
    flex-direction: column;
    width: 100%;
    max-width: 680px;
    height: auto;
    margin: 0 auto;
    transform: none;
  }

  .about-visual-spacer {
    display: none;
  }

  .about-content,
  .about-visual,
  .about-features {
    position: static;
    inset: auto;
    width: 100%;
    max-width: 100%;
    transform: none;
  }

  .about-content {
    padding-left: 0;
  }

  .about-label {
    margin: 0 0 12px;
    font-size: 14px;
    letter-spacing: 0.16em;
  }

  .about-title {
    max-width: 100%;
    margin: 0 0 20px;
    font-size: clamp(2.25rem, 10vw, 3rem);
    line-height: 1.02;
    overflow-wrap: normal;
    word-break: normal;
  }

  .about-title br {
    display: none;
  }

  .about-text {
    max-width: 100%;
    margin: 0;
    color: #15233f;
    font-size: 1.08rem;
    line-height: 1.65;
    opacity: 1;
    text-shadow: none;
  }

  .about-visual {
    display: block;
    margin-top: 28px;
  }

  .about-visual img {
    display: block;
    width: 100%;
    height: auto;
    aspect-ratio: 4 / 3;
    object-fit: cover;
    object-position: left center;
    border-radius: 24px;
  }

  .about-features {
    display: block;
    height: auto;
    margin-top: 24px;
    border-radius: 22px;
    backdrop-filter: none;
  }

  .about-feature {
    min-height: 76px;
    justify-content: flex-start;
    gap: 16px;
    padding: 18px 20px;
    border-right: none;
    border-bottom: 1px solid #eadcc3;
    text-align: left;
  }

  .about-feature:last-child {
    border-bottom: none;
  }

  .about-feature svg {
    width: 30px;
    height: 30px;
  }

  .site-header {
    padding-block: 0.15rem;
  }

  .header-inner {
    min-height: 4.9rem;
    gap: 0.75rem;
  }

  .brand {
    gap: 0.6rem;
    max-width: calc(100% - 3rem);
  }

  .brand-mark {
    width: 2.45rem;
    height: 2.45rem;
  }

  .brand-mark-core {
    width: 1.5rem;
    height: 1.5rem;
  }

  .brand-text {
    font-size: 0.62rem;
    letter-spacing: 0.16em;
  }

  .brand-text strong {
    font-size: 1.18rem;
    letter-spacing: 0.12em;
  }

  .site-nav {
    top: calc(100% + 0.5rem);
    left: 0;
    right: 0;
    padding: 0.95rem;
  }

  h1 {
    font-size: clamp(2.5rem, 10vw, 3.35rem);
  }

  h2 {
    font-size: clamp(2rem, 8vw, 2.75rem);
  }

  .section-heading {
    margin-bottom: 2.6rem;
  }

  .section-heading h2 {
    padding-inline: 1.2rem;
  }

  .section-heading h2::before,
  .section-heading h2::after {
    width: 0.8rem;
  }

  .hero {
    min-height: 720px;
    padding-top: 5.35rem;
    padding-bottom: 3.7rem;
    background-image:
      linear-gradient(
        90deg,
        rgba(7, 26, 61, 0.96) 0%,
        rgba(7, 26, 61, 0.88) 55%,
        rgba(7, 26, 61, 0.55) 100%
      ),
      url("./public/images/orion-hero-bg.png");
    background-position: center right;
  }

  .hero-grid,
  .two-column,
  .insights-grid,
  .cta-contact-grid {
    gap: 1.9rem;
  }

  .hero-actions {
    flex-direction: column;
    gap: 0.85rem;
  }

  .hero-actions .button,
  .pricing-button,
  .sample-reports-button,
  .submit-button,
  .whatsapp-submit-link {
    width: 100%;
  }

  .trust-badges {
    grid-template-columns: 1fr;
  }

  .report-showcase {
    height: auto;
    min-height: 520px;
    padding: 56px 20px;
    background-position: center right;
  }

  .report-showcase::before {
    background: linear-gradient(
      90deg,
      rgba(7, 26, 61, 0.94) 0%,
      rgba(7, 26, 61, 0.78) 55%,
      rgba(7, 26, 61, 0.45) 100%
    );
  }

  .sample-reports-container {
    width: 100%;
  }

  .sample-reports-content {
    max-width: 100%;
  }

  .sample-reports-title {
    font-size: clamp(24px, 7vw, 32px);
  }

  .sample-reports-list li {
    font-size: 16px;
  }

  .pricing-card.is-selected {
    transform: translateY(-6px) scale(1);
  }

  .visual-card,
  .cta-panel {
    min-height: 22rem;
    padding: 1.5rem;
  }

  .mini-zodiac {
    width: 7.5rem;
    top: 1.5rem;
    right: 1.5rem;
  }

  .kundali-grid {
    inset: 4.5rem 1.5rem 1.5rem;
  }

  .chip-row span {
    width: 100%;
    text-align: center;
  }

  .how-section {
    padding: 60px 0 64px;
  }

  .how-section .section-heading {
    margin-bottom: 48px;
  }

  .process-subtitle {
    margin-top: -4px;
    margin-bottom: 0;
    font-size: 15.5px;
  }

  .steps-grid {
    grid-template-columns: 1fr;
    gap: 1.25rem;
    padding-left: 1rem;
  }

  .steps-grid::before {
    display: block;
    left: 1.95rem;
    right: auto;
    top: 1rem;
    bottom: 1rem;
    width: 1px;
    height: auto;
  }

  .step-card {
    padding: 44px 22px 26px 3.9rem;
    min-height: 0;
    text-align: left;
  }

  .step-number {
    left: 1.95rem;
    top: 18px;
    width: 52px;
    height: 52px;
    font-size: 18px;
    border-width: 3px;
  }

  .step-icon {
    margin-bottom: 16px;
  }

  .step-icon svg {
    width: 36px;
    height: 36px;
  }

  .step-card h3,
  .step-card p {
    margin-left: 0;
    max-width: none;
    text-align: left;
  }

  .faq-question {
    padding: 1rem;
    font-size: 0.98rem;
  }

  .faq-answer p {
    padding-inline: 1rem;
  }

  .contact-form {
    gap: 0.9rem;
    padding: 1.15rem;
  }

  .contact-form input,
  .contact-form select,
  .contact-form textarea {
    min-height: 3.2rem;
    padding: 1rem 0.95rem;
  }

  .contact-form textarea {
    min-height: 8rem;
  }

  .footer-grid {
    grid-template-columns: 1fr;
  }

  .footer-bottom {
    padding-top: 1rem;
  }

  .problem-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 18px;
    padding: 0 18px;
  }

  .problem-card {
    min-height: 204px;
    padding: 24px 18px 22px;
  }

  .problem-icon,
  .problem-icon svg {
    width: 52px;
    height: 52px;
  }

  .problem-card h3 {
    font-size: 18px;
  }

  .problem-card p {
    font-size: 14px;
  }
}

@media (max-width: 479px) {
  .selector-grid,
  .services-grid,
  .pricing-grid {
    grid-template-columns: 1fr;
  }

  .problem-grid {
    grid-template-columns: 1fr;
  }

  .pricing-grid {
    width: min(100% - 32px, 420px);
  }

  .pricing-card.is-selected {
    transform: translateY(-4px) scale(1);
  }

  .eyebrow {
    font-size: 0.72rem;
    letter-spacing: 0.16em;
  }

  .brand-text strong {
    font-size: 1.04rem;
  }

  .brand-text {
    font-size: 0.56rem;
  }
}

@media (max-width: 767px) {
  .reports-counter-section {
    padding-top: 28px;
  }

  .reports-counter-card {
    grid-template-columns: auto 1fr;
    gap: 14px 18px;
    min-height: 0;
    padding: 24px;
    border-radius: 20px;
  }

  .reports-counter-symbol {
    width: 46px;
    height: 46px;
  }

  .reports-counter-number {
    font-size: clamp(42px, 15vw, 58px);
  }

  .reports-counter-card p {
    grid-column: 1 / -1;
    font-size: 15px;
  }

  .consultation-panel {
    min-height: auto;
    padding: 42px 28px;
    border-radius: 24px;
  }

  .consultation-panel::before {
    right: -15rem;
    bottom: -15rem;
    width: 31rem;
  }

  .consultation-label {
    margin-bottom: 20px;
    font-size: 12px;
  }

  .consultation-title {
    font-size: clamp(38px, 12vw, 52px);
  }

  .consultation-text {
    margin-bottom: 28px;
    font-size: 16px;
  }

  .consultation-actions {
    gap: 12px;
  }

  .consultation-actions .button {
    width: 100%;
  }

  .consultation-highlights {
    gap: 12px;
    margin-top: 32px;
  }

  .consultation-note {
    margin-top: 26px;
  }
}

/* === Reviews Page Styles === */
.reviews-page .site-nav a[aria-current="page"],
.report-status-page .site-nav a[aria-current="page"] {
  color: var(--gold, #d6a84f);
}

.reviews-page .site-nav a[aria-current="page"]::after,
.report-status-page .site-nav a[aria-current="page"]::after {
  transform: scaleX(1);
  transform-origin: left;
}

.reviews-hero {
  position: relative;
  display: flex;
  align-items: center;
  min-height: 360px;
  overflow: hidden;
  padding: 54px 0 58px;
  background:
    radial-gradient(circle at 15% 20%, rgba(214, 168, 79, 0.17), transparent 27%),
    radial-gradient(circle at 86% 42%, rgba(41, 78, 137, 0.28), transparent 30%),
    linear-gradient(118deg, rgba(4, 17, 43, 0.99), rgba(8, 31, 70, 0.97)),
    #071a3d;
}

.reviews-page .reviews-hero {
  background: url("./public/images/orion-reviews-page-bg.png") center center / cover no-repeat !important;
}

.reviews-page .write-review-section {
  background-color: #fff8ea;
  background-image: url("./public/images/orion-reviews-page-bg.png");
  background-position: 70% center;
  background-size: cover;
  background-repeat: no-repeat;
}

.reviews-page .reviews-hero::before,
.reviews-page .reviews-hero::after,
.reviews-page .reviews-zodiac-watermark {
  display: none;
}

.reviews-page .reviews-hero-copy h1 {
  color: #071a3d;
}

.reviews-page .reviews-hero-copy .hero-text {
  color: #35425b;
}

.reviews-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 8% 28%, rgba(255, 255, 255, 0.78) 0 1px, transparent 1.5px),
    radial-gradient(circle at 22% 72%, rgba(214, 168, 79, 0.72) 0 1px, transparent 1.6px),
    radial-gradient(circle at 45% 18%, rgba(255, 255, 255, 0.55) 0 1px, transparent 1.5px),
    radial-gradient(circle at 64% 76%, rgba(255, 255, 255, 0.7) 0 1px, transparent 1.6px),
    radial-gradient(circle at 82% 20%, rgba(214, 168, 79, 0.75) 0 1px, transparent 1.7px),
    radial-gradient(circle at 94% 66%, rgba(255, 255, 255, 0.55) 0 1px, transparent 1.5px);
  background-size: 260px 210px, 310px 250px, 290px 230px, 340px 260px, 280px 220px, 320px 270px;
  opacity: 0.6;
  pointer-events: none;
}

.reviews-hero::after {
  content: "";
  position: absolute;
  right: -5%;
  bottom: -62%;
  width: 430px;
  aspect-ratio: 1;
  border: 1px solid rgba(214, 168, 79, 0.14);
  border-radius: 50%;
  box-shadow:
    0 0 0 42px rgba(214, 168, 79, 0.035),
    0 0 0 92px rgba(214, 168, 79, 0.025);
  pointer-events: none;
}

.reviews-zodiac-watermark {
  position: absolute;
  top: 50%;
  right: clamp(2rem, 10vw, 10rem);
  width: 230px;
  height: 230px;
  border: 1px solid rgba(214, 168, 79, 0.16);
  border-radius: 50%;
  transform: translateY(-50%);
  opacity: 0.48;
  pointer-events: none;
}

.reviews-zodiac-watermark::before,
.reviews-zodiac-watermark::after {
  position: absolute;
  inset: 50% auto auto 50%;
  transform: translate(-50%, -50%);
  color: rgba(214, 168, 79, 0.24);
  font-family: Georgia, serif;
}

.reviews-zodiac-watermark::before {
  content: "\2648  \2649  \264A  \264B  \264C  \264D";
  width: 285px;
  font-size: 1.25rem;
  letter-spacing: 0.65rem;
  text-align: center;
  transform: translate(-50%, -50%) rotate(-24deg);
}

.reviews-zodiac-watermark::after {
  content: "\2726";
  font-size: 5.4rem;
}

.reviews-hero-grid,
.reviews-summary-grid,
.write-review-grid {
  display: grid;
  gap: 1.5rem;
}

.reviews-hero-grid {
  position: relative;
  z-index: 1;
  grid-template-columns: minmax(0, 760px);
  align-items: center;
}

.reviews-hero-copy h1 {
  margin: 0 0 0.8rem;
  color: #ffffff;
  font-size: clamp(2.65rem, 5vw, 4.35rem);
  line-height: 0.96;
  letter-spacing: -0.035em;
}

.reviews-hero-copy .hero-text {
  max-width: 42rem;
  margin: 0;
  color: rgba(255, 247, 232, 0.84);
  font-size: 1rem;
  line-height: 1.7;
}

.reviews-hero-copy .eyebrow {
  margin-bottom: 0.75rem;
}

.reviews-hero-copy .hero-actions {
  margin-top: 1.35rem;
}

.reviews-hero-copy .hero-actions .button:last-child {
  color: #fff7e8;
  border-color: rgba(214, 168, 79, 0.65);
  background: rgba(255, 255, 255, 0.04);
  box-shadow: none;
}

.reviews-hero-copy .hero-actions .button:last-child:hover {
  background: rgba(214, 168, 79, 0.12);
}

.reviews-hero-panel,
.reviews-score-card,
.reviews-breakdown-card,
.reviews-pillars-card,
.review-card {
  border: 1px solid rgba(214, 168, 79, 0.22);
  background: rgba(255, 247, 232, 0.08);
  box-shadow: 0 18px 40px rgba(4, 14, 34, 0.18);
}

.reviews-hero-panel {
  display: grid;
  gap: 1rem;
  padding: 1.75rem;
  border-radius: 28px;
  backdrop-filter: blur(10px);
}

.reviews-hero-stat {
  padding: 1rem 1.1rem;
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.06);
}

.reviews-hero-stat strong {
  display: block;
  margin-bottom: 0.35rem;
  color: #fff7e8;
  font-size: 1.4rem;
  letter-spacing: 0.03em;
}

.reviews-hero-stat span {
  color: rgba(255, 247, 232, 0.75);
}

.reviews-summary-grid {
  grid-template-columns: minmax(0, 1.05fr) minmax(380px, 0.95fr);
  align-items: stretch;
  gap: 1.25rem;
}

.reviews-score-card,
.reviews-breakdown-card,
.reviews-pillars-card {
  padding: clamp(1.6rem, 3vw, 2.4rem);
  border-radius: 28px;
  background: linear-gradient(145deg, #fffdf8 0%, #faf2e3 100%);
  box-shadow: 0 20px 55px rgba(7, 26, 61, 0.1);
}

.reviews-score-card {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  text-align: left;
}

.reviews-score-overview {
  display: flex;
  align-items: center;
  gap: 1.4rem;
  padding-bottom: 1.8rem;
  border-bottom: 1px solid rgba(7, 26, 61, 0.1);
}

.reviews-score-overview p {
  margin: 0;
  color: rgba(7, 26, 61, 0.68);
  font-size: 0.95rem;
}

.reviews-score-value {
  color: #071a3d;
  font-size: clamp(4rem, 7vw, 5.8rem);
  line-height: 1;
  font-weight: 800;
  letter-spacing: -0.06em;
}

.review-stars {
  margin: 0 0 0.45rem;
  color: #d6a84f;
  letter-spacing: 0.14em;
  font-size: 1.15rem;
}

.review-stars span {
  display: inline-block;
}

.reviews-summary-facts {
  display: grid;
  grid-template-columns: 0.7fr 1fr 1.15fr;
  gap: 0.7rem;
  margin: 1.5rem 0 0;
}

.reviews-summary-facts div {
  min-width: 0;
  padding: 1rem;
  border: 1px solid rgba(214, 168, 79, 0.2);
  border-radius: 17px;
  background: rgba(255, 255, 255, 0.56);
}

.reviews-summary-facts dt {
  margin-bottom: 0.45rem;
  color: rgba(7, 26, 61, 0.58);
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  line-height: 1.35;
  text-transform: uppercase;
}

.reviews-summary-facts dd {
  margin: 0;
  color: #071a3d;
  font-size: 1rem;
  font-weight: 750;
  line-height: 1.35;
}

.reviews-breakdown-heading {
  margin-bottom: 1.6rem;
}

.reviews-breakdown-heading .eyebrow {
  margin-bottom: 0.45rem;
}

.reviews-breakdown-heading h3 {
  margin: 0;
  color: #071a3d;
  font-size: clamp(1.45rem, 2vw, 1.85rem);
}

.rating-row {
  display: grid;
  grid-template-columns: 62px minmax(0, 1fr) 78px;
  align-items: center;
  gap: 0.8rem;
}

.rating-row + .rating-row {
  margin-top: 0.9rem;
}

.rating-row span,
.rating-row strong {
  color: #071a3d;
  font-size: 0.95rem;
}

.rating-row strong {
  white-space: nowrap;
  text-align: right;
}

.rating-bar {
  height: 0.7rem;
  overflow: hidden;
  border-radius: 999px;
  background: rgba(7, 26, 61, 0.09);
  box-shadow: inset 0 1px 2px rgba(7, 26, 61, 0.08);
}

.rating-bar span {
  display: block;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, #d6a84f, #f0d289);
  box-shadow: 0 2px 8px rgba(214, 168, 79, 0.28);
  transition: width 320ms ease;
}

.reviews-pillars-card h3 {
  margin-top: 0;
  margin-bottom: 1rem;
  color: #071a3d;
}

.reviews-pillars {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.reviews-pillars span,
.filter-chip {
  border: 1px solid rgba(214, 168, 79, 0.3);
  border-radius: 999px;
  background: #fffaf0;
  color: #071a3d;
}

.reviews-pillars span {
  padding: 0.72rem 1rem;
  font-weight: 600;
}

.reviews-filter-panel {
  display: grid;
  gap: 1.4rem;
  padding: clamp(1.25rem, 2.4vw, 1.8rem);
  border: 1px solid rgba(214, 168, 79, 0.25);
  border-radius: 26px;
  background: linear-gradient(145deg, rgba(255, 253, 248, 0.98), rgba(248, 239, 221, 0.98));
  box-shadow: 0 18px 45px rgba(7, 26, 61, 0.09);
}

.reviews-filter-section {
  padding-bottom: 1.25rem;
}

.reviews-grid-section {
  padding-top: 1.25rem;
}

.review-service-filter {
  display: grid;
  gap: 0.75rem;
}

.filter-group-label {
  color: #071a3d;
  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.filter-chip-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.filter-chip {
  padding: 0.72rem 1rem;
  font: inherit;
  font-size: 0.88rem;
  font-weight: 700;
  cursor: pointer;
  transition: transform 180ms ease, border-color 180ms ease, background-color 180ms ease;
}

.filter-chip:hover,
.filter-chip:focus-visible {
  transform: translateY(-1px);
}

.filter-chip:focus-visible {
  outline: 3px solid rgba(214, 168, 79, 0.5);
  outline-offset: 3px;
}

.filter-chip.is-active {
  background: #071a3d;
  color: #fff7e8;
  box-shadow: 0 8px 18px rgba(7, 26, 61, 0.16);
}

.review-filter-selects {
  display: grid;
  grid-template-columns: repeat(2, minmax(180px, 240px));
  justify-content: end;
  gap: 1rem;
  padding-top: 1.25rem;
  border-top: 1px solid rgba(7, 26, 61, 0.09);
}

.review-select-field {
  display: grid;
  gap: 0.5rem;
  min-width: 0;
  color: #071a3d;
  font-size: 0.82rem;
  font-weight: 750;
  letter-spacing: 0.03em;
}

.review-select-field select {
  min-height: 3rem;
  width: 100%;
  padding: 0.78rem 2.4rem 0.78rem 0.95rem;
  border: 1px solid rgba(7, 26, 61, 0.16);
  border-radius: 14px;
  background: #ffffff;
  color: #071a3d;
  font: inherit;
  cursor: pointer;
}

.review-select-field select:focus-visible {
  outline: 2px solid rgba(214, 168, 79, 0.55);
  outline-offset: 2px;
}

.mobile-service-filter {
  display: none;
}

.reviews-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.5rem;
}

.reviews-empty-state {
  grid-column: 1 / -1;
  margin: 0;
  padding: 2rem;
  border: 1px dashed rgba(214, 168, 79, 0.42);
  border-radius: 20px;
  background: rgba(255, 253, 248, 0.78);
  color: rgba(7, 26, 61, 0.7);
  text-align: center;
  box-shadow: 0 12px 30px rgba(7, 26, 61, 0.06);
}

.reviews-empty-state.is-error {
  color: #8b2f25;
}

.reviews-grid.is-loading > * {
  display: none;
}

.reviews-grid.is-loading::before {
  content: "Loading approved reviews...";
  grid-column: 1 / -1;
  padding: 2rem;
  color: rgba(7, 26, 61, 0.66);
  text-align: center;
  animation: reviews-loading-pulse 1.4s ease-in-out infinite;
}

@keyframes reviews-loading-pulse {
  50% {
    opacity: 0.55;
  }
}

.review-card {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  min-height: 100%;
  padding: 1.5rem;
  border-radius: 24px;
  background: linear-gradient(145deg, #fffefa 0%, #f8f0e2 100%);
  box-shadow: 0 16px 38px rgba(7, 26, 61, 0.09);
  transition: transform 180ms ease, box-shadow 180ms ease;
}

.review-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 22px 48px rgba(7, 26, 61, 0.13);
}

.review-card[hidden] {
  display: none;
}

.review-card-top {
  display: flex;
  justify-content: space-between;
  gap: 0.75rem;
  align-items: flex-start;
}

.review-client {
  display: flex;
  align-items: center;
  min-width: 0;
  gap: 0.75rem;
}

.review-avatar {
  display: inline-flex;
  flex: 0 0 46px;
  align-items: center;
  justify-content: center;
  width: 46px;
  height: 46px;
  border: 1px solid rgba(214, 168, 79, 0.42);
  border-radius: 50%;
  background: #071a3d;
  color: #f0cf82;
  font-size: 0.8rem;
  font-weight: 800;
  letter-spacing: 0.08em;
}

.review-client-name {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.45rem;
}

.review-client-name h3 {
  margin: 0;
  color: #071a3d;
  font-size: 1.05rem;
}

.review-client time {
  display: block;
  margin-top: 0.22rem;
  color: rgba(7, 26, 61, 0.55);
  font-size: 0.76rem;
}

.verified-badge {
  display: inline-flex;
  align-items: center;
  padding: 0.22rem 0.48rem;
  border: 1px solid rgba(214, 168, 79, 0.35);
  border-radius: 999px;
  background: rgba(214, 168, 79, 0.1);
  color: #8b631b;
  font-size: 0.62rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.review-card-top .review-stars {
  flex: 0 0 auto;
  margin: 0.2rem 0 0;
  font-size: 0.78rem;
  letter-spacing: 0.06em;
  white-space: nowrap;
}

.review-service {
  align-self: flex-start;
  padding: 0.4rem 0.7rem;
  border-radius: 999px;
  background: rgba(7, 26, 61, 0.07);
  color: #071a3d;
  font-size: 0.72rem;
  font-weight: 800;
}

.review-copy,
.write-review-copy p {
  margin: 0;
  color: rgba(7, 26, 61, 0.78);
}

.review-copy {
  flex: 1;
  line-height: 1.7;
}

.review-liked {
  padding-top: 0.95rem;
  border-top: 1px solid rgba(7, 26, 61, 0.09);
}

.review-liked-label {
  display: block;
  margin-bottom: 0.55rem;
  color: rgba(7, 26, 61, 0.58);
  font-size: 0.66rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.review-tag-list {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
}

.review-tag-list span {
  padding: 0.38rem 0.62rem;
  border: 1px solid rgba(214, 168, 79, 0.28);
  border-radius: 999px;
  background: rgba(255, 250, 240, 0.78);
  color: #735117;
  font-size: 0.68rem;
  font-weight: 700;
}

.review-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 56px;
  min-height: 40px;
  padding: 0.45rem 0.8rem;
  border-radius: 14px;
  background: #071a3d;
  color: #fff7e8;
  font-weight: 700;
}

.write-review-grid {
  grid-template-columns: minmax(0, 0.92fr) minmax(0, 1.08fr);
  align-items: start;
}

/* Reviews page is form-only: no listing, filters, or rating summary */
.reviews-page-form-only .write-review-section {
  padding-top: clamp(3rem, 8vw, 5.5rem);
  padding-bottom: clamp(3rem, 8vw, 5.5rem);
}

.write-review-copy {
  padding: 1rem 0;
}

.write-review-copy h2 {
  margin: 0 0 1rem;
  color: #071a3d;
  font-size: clamp(2.2rem, 4vw, 3.4rem);
  line-height: 1.02;
}

.write-review-notes {
  display: grid;
  gap: 0.85rem;
  margin: 1.5rem 0 0;
  padding: 0;
  list-style: none;
}

.write-review-notes li {
  position: relative;
  padding-left: 1.4rem;
  color: rgba(7, 26, 61, 0.82);
}

.write-review-notes li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.5rem;
  width: 0.5rem;
  height: 0.5rem;
  border-radius: 999px;
  background: #d6a84f;
}

.review-form {
  border: 1px solid rgba(214, 168, 79, 0.22);
  background: linear-gradient(180deg, #fffdfb, #f9f1e3);
}

.review-form .submit-button:disabled {
  cursor: wait;
  opacity: 0.68;
}

.review-form fieldset {
  min-width: 0;
  margin: 0;
  padding: 0;
  border: 0;
  color: #071a3d;
}

.review-form legend {
  padding: 0;
  font-weight: 700;
}

.review-rating-fieldset,
.review-tags-fieldset {
  border-radius: 16px !important;
}

.review-star-selector {
  display: flex;
  flex-direction: row-reverse;
  justify-content: flex-end;
  gap: 0.32rem;
  margin-top: 0.55rem;
}

.review-star-selector input {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  opacity: 0;
}

.review-star-selector label {
  display: inline-block;
  color: rgba(7, 26, 61, 0.18);
  font-size: 2rem;
  line-height: 1;
  cursor: pointer;
  transition: color 160ms ease, transform 160ms ease;
}

.review-star-selector label:hover,
.review-star-selector label:hover ~ label,
.review-star-selector input:checked ~ label {
  color: #d6a84f;
}

.review-star-selector label:hover {
  transform: translateY(-1px);
}

.review-star-selector input:focus-visible + label {
  border-radius: 4px;
  outline: 2px solid rgba(214, 168, 79, 0.75);
  outline-offset: 3px;
}

.review-rating-label {
  display: block;
  min-height: 1.3rem;
  margin-top: 0.55rem;
  color: rgba(7, 26, 61, 0.58);
  font-size: 0.78rem;
  font-weight: 700;
}

.review-rating-label.is-selected {
  color: #8b631b;
}

.review-message-field {
  position: relative;
}

.review-message-field textarea {
  padding-bottom: 2.2rem;
  resize: vertical;
}

.review-character-count {
  position: absolute;
  right: 0.85rem;
  bottom: 0.65rem;
  color: rgba(7, 26, 61, 0.52);
  font-size: 0.72rem;
  font-weight: 700;
  pointer-events: none;
}

.review-fieldset-heading {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  margin: 0.35rem 0 0.75rem;
}

.review-fieldset-heading > span,
.review-field-hint {
  color: rgba(7, 26, 61, 0.56);
  font-size: 0.72rem;
  font-weight: 600;
}

.review-field-hint {
  margin: 0;
}

.review-tag-options {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
}

.contact-form .review-tag-option {
  display: inline-flex;
  cursor: pointer;
}

.contact-form .review-tag-option input {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  opacity: 0;
}

.review-tag-option span {
  padding: 0.58rem 0.78rem;
  border: 1px solid rgba(214, 168, 79, 0.3);
  border-radius: 999px;
  background: #fffaf0;
  color: #071a3d;
  font-size: 0.76rem;
  font-weight: 700;
  transition: border-color 160ms ease, background-color 160ms ease, color 160ms ease;
}

.review-tag-option input:checked + span {
  border-color: #071a3d;
  background: #071a3d;
  color: #fff7e8;
}

.review-tag-option input:focus-visible + span {
  outline: 2px solid rgba(214, 168, 79, 0.7);
  outline-offset: 2px;
}

.review-tag-limit-message {
  min-height: 1.15rem;
  margin: 0.55rem 0 0;
  color: #9f321f;
  font-size: 0.74rem;
  font-weight: 700;
}

.contact-form .review-consent {
  display: flex;
  grid-template-columns: none;
  align-items: flex-start;
  gap: 0.7rem;
  padding: 0.25rem 0;
  font-size: 0.84rem;
  font-weight: 600;
  line-height: 1.5;
  cursor: pointer;
}

.contact-form .review-consent input {
  flex: 0 0 18px;
  width: 18px;
  height: 18px;
  margin-top: 0.08rem;
  accent-color: #d6a84f;
}

.review-rating-fieldset.input-error,
.review-tags-fieldset.input-error {
  padding: 0.7rem !important;
}

@media (max-width: 1099px) {
  .reviews-hero-grid,
  .reviews-summary-grid,
  .write-review-grid {
    grid-template-columns: 1fr;
  }

  .reviews-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .reviews-filter-panel {
    flex-direction: column;
    align-items: stretch;
  }

  .review-select-field {
    min-width: 0;
  }
}

@media (max-width: 767px) {
  .reviews-grid {
    grid-template-columns: 1fr;
  }

  .review-service-filter {
    display: none;
  }

  .review-filter-selects {
    grid-template-columns: 1fr;
    justify-content: stretch;
    gap: 0.85rem;
    padding-top: 0;
    border-top: 0;
  }

  .mobile-service-filter {
    display: grid;
  }

  .reviews-filter-section {
    padding-bottom: 0.8rem;
  }

  .reviews-grid-section {
    padding-top: 0.8rem;
  }

  .reviews-score-overview {
    align-items: flex-start;
    gap: 1rem;
  }

  .reviews-score-value {
    font-size: 4rem;
  }

  .reviews-summary-facts {
    grid-template-columns: 1fr;
  }

  .reviews-summary-facts div {
    padding: 0.9rem 1rem;
  }

  .rating-row {
    grid-template-columns: 56px minmax(0, 1fr) 68px;
    gap: 0.55rem;
  }

  .rating-row span,
  .rating-row strong {
    font-size: 0.84rem;
  }

  .reviews-hero {
    min-height: 350px;
    padding: 38px 0 42px;
  }

  .reviews-hero-copy h1 {
    font-size: clamp(2.45rem, 12vw, 3.35rem);
  }

  .reviews-hero-copy .hero-text {
    font-size: 0.94rem;
    line-height: 1.6;
  }

  .reviews-hero-copy .hero-actions {
    flex-direction: row;
    gap: 0.65rem;
  }

  .reviews-hero-copy .hero-actions .button {
    flex: 1 1 0;
    width: auto;
    min-width: 0;
    padding: 0.9rem 0.55rem;
    font-size: 0.82rem;
  }

  .reviews-zodiac-watermark {
    right: -95px;
    width: 210px;
    height: 210px;
    opacity: 0.28;
  }

  .reviews-hero::after {
    right: -180px;
    bottom: -55%;
  }

  .reviews-hero-panel,
  .reviews-score-card,
  .reviews-breakdown-card,
  .reviews-pillars-card,
  .review-card,
  .reviews-filter-panel {
    border-radius: 22px;
  }

  .rating-row {
    grid-template-columns: 58px minmax(0, 1fr) 68px;
    gap: 0.65rem;
  }
}

@media (max-width: 480px) {
  .reviews-page .reviews-hero {
    background-position: 55% center !important;
  }

  .reviews-page .write-review-section {
    background-position: 70% top;
    background-size: auto 720px;
  }

  .review-card-top {
    flex-direction: column;
  }

  .review-card-top .review-stars {
    margin-top: 0.15rem;
  }

  .review-fieldset-heading {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.25rem;
  }

  .reviews-summary-facts dd,
  .review-copy,
  .review-consent span {
    overflow-wrap: anywhere;
  }
}

@media (prefers-reduced-motion: reduce) {
  .reviews-grid.is-loading::before {
    animation: none;
  }
}

/* === Private Chat Page Styles === */
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.chat-page {
  background: #f8f1e5;
}

.chat-page .site-nav a[aria-current="page"] {
  color: var(--gold);
}

.chat-floating-button {
  position: fixed;
  right: clamp(1rem, 2.5vw, 2.25rem);
  bottom: clamp(1rem, 2.5vw, 2.25rem);
  z-index: 45;
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  padding: 0.75rem 1.1rem 0.75rem 0.75rem;
  border: 1px solid rgba(255, 255, 255, 0.3);
  border-radius: 999px;
  background: linear-gradient(135deg, #d6a84f, #f2d38c);
  color: #071a3d;
  font-weight: 800;
  box-shadow: 0 18px 38px rgba(7, 26, 61, 0.25);
  transition: transform 180ms ease, box-shadow 180ms ease;
}

.chat-floating-button:hover,
.chat-floating-button:focus-visible {
  transform: translateY(-3px);
  box-shadow: 0 22px 45px rgba(7, 26, 61, 0.32);
}

.chat-floating-button:focus-visible {
  outline: 3px solid rgba(214, 168, 79, 0.55);
  outline-offset: 3px;
}

.chat-floating-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.2rem;
  height: 2.2rem;
  border-radius: 50%;
  background: #071a3d;
  color: #fff7e8;
  font-family: Georgia, serif;
}

.chat-main,
.admin-chat-main {
  min-height: calc(100vh - 74px);
}

.chat-hero,
.admin-chat-heading {
  position: relative;
  overflow: hidden;
  padding: 3.4rem 0;
  background:
    radial-gradient(circle at 82% 18%, rgba(214, 168, 79, 0.18), transparent 22%),
    linear-gradient(125deg, #061731, #0b2b5f);
  color: #fff7e8;
}

.chat-hero::after,
.admin-chat-heading::after {
  content: "";
  position: absolute;
  right: -5rem;
  top: -8rem;
  width: 23rem;
  height: 23rem;
  border: 1px solid rgba(214, 168, 79, 0.16);
  border-radius: 50%;
  box-shadow: 0 0 0 3.5rem rgba(214, 168, 79, 0.03);
}

.chat-hero-inner {
  z-index: 1;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 2rem;
}

.chat-hero h1,
.admin-chat-heading h1 {
  max-width: 48rem;
  margin: 0 0 0.8rem;
  color: #ffffff;
  font-size: clamp(2.5rem, 5vw, 4.3rem);
  line-height: 0.98;
}

.chat-hero p:not(.eyebrow),
.admin-chat-heading p:not(.eyebrow) {
  max-width: 42rem;
  margin: 0;
  color: rgba(255, 247, 232, 0.76);
  line-height: 1.7;
}

.chat-privacy-badge,
.admin-mode-badge {
  display: inline-flex;
  align-items: center;
  padding: 0.65rem 0.9rem;
  border: 1px solid rgba(214, 168, 79, 0.36);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.06);
  color: #f1ce7d;
  font-size: 0.78rem;
  font-weight: 800;
  white-space: nowrap;
}

.chat-workspace-section,
.admin-workspace-section {
  background:
    linear-gradient(135deg, rgba(214, 168, 79, 0.035) 25%, transparent 25%) 0 0 / 28px 28px,
    #f8f1e5;
}

.chat-layout {
  display: grid;
  grid-template-columns: minmax(240px, 0.68fr) minmax(0, 1.32fr);
  gap: 1.5rem;
  align-items: start;
}

.chat-guidance-card,
.chat-window,
.admin-conversation-panel,
.admin-message-panel {
  border: 1px solid rgba(214, 168, 79, 0.22);
  border-radius: 28px;
  background: linear-gradient(145deg, #fffefa, #f8f0e2);
  box-shadow: 0 20px 48px rgba(7, 26, 61, 0.1);
}

.chat-guidance-card {
  position: relative;
  overflow: hidden;
  padding: 2rem;
  background:
    radial-gradient(circle at 90% 8%, rgba(214, 168, 79, 0.2), transparent 25%),
    linear-gradient(145deg, #061731, #0b2b5f);
  color: #fff7e8;
}

.chat-guidance-card h2 {
  margin: 0 0 0.9rem;
  color: #ffffff;
  font-size: clamp(1.8rem, 3vw, 2.5rem);
}

.chat-guidance-card > p:not(.eyebrow) {
  margin: 0;
  color: rgba(255, 247, 232, 0.74);
  line-height: 1.7;
}

.chat-info-orbit {
  position: absolute;
  right: -4.5rem;
  top: -4.5rem;
  width: 13rem;
  height: 13rem;
  border: 1px solid rgba(214, 168, 79, 0.17);
  border-radius: 50%;
  box-shadow:
    0 0 0 2.5rem rgba(214, 168, 79, 0.025),
    0 0 0 5rem rgba(214, 168, 79, 0.018);
  pointer-events: none;
}

.chat-guidance-card ul {
  display: grid;
  gap: 0.8rem;
  margin: 1.5rem 0 0;
  padding: 0;
  list-style: none;
}

.chat-guidance-card li {
  position: relative;
  padding-left: 1.3rem;
  color: rgba(255, 247, 232, 0.9);
  font-weight: 650;
}

.chat-guidance-card li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.5rem;
  width: 0.45rem;
  height: 0.45rem;
  border-radius: 50%;
  background: #d6a84f;
}

.chat-support-card {
  position: relative;
  display: flex;
  align-items: center;
  gap: 0.8rem;
  margin-top: 2rem;
  padding: 1rem;
  border: 1px solid rgba(214, 168, 79, 0.2);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.06);
  backdrop-filter: blur(8px);
}

.chat-support-card strong {
  display: block;
  margin-bottom: 0.2rem;
  color: #ffffff;
}

.chat-support-card p {
  margin: 0;
  color: rgba(255, 247, 232, 0.64);
  font-size: 0.76rem;
  line-height: 1.45;
}

.chat-window,
.admin-message-panel {
  overflow: hidden;
}

.is-hidden {
  display: none !important;
}

.chat-start-panel {
  display: grid;
  min-height: 520px;
  padding: 2rem;
  place-items: center;
}

.chat-active-panel {
  min-height: 680px;
  display: flex;
  flex-direction: column;
  background: #fffdf8;
  border: 1px solid #eadcc3;
  border-radius: 24px;
  overflow: hidden;
  box-shadow: 0 18px 42px rgba(71, 45, 12, 0.1);
}

.chat-window-header,
.admin-message-header {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  padding: 1.15rem 1.3rem;
  border-bottom: 1px solid rgba(7, 26, 61, 0.09);
  background: rgba(255, 255, 255, 0.52);
}

.chat-header-copy {
  min-width: 0;
}

.chat-header-actions {
  display: flex;
  align-items: center;
  gap: 0.9rem;
  margin-left: auto;
}

.chat-close-button {
  flex: 0 0 auto;
  min-height: 2rem;
  padding: 0.4rem 0.8rem;
  border: 1px solid rgba(153, 27, 27, 0.24);
  border-radius: 999px;
  background: rgba(254, 226, 226, 0.62);
  color: #7f1d1d;
  font: inherit;
  font-size: 0.72rem;
  font-weight: 800;
  cursor: pointer;
  transition: background-color 160ms ease, border-color 160ms ease, transform 160ms ease;
}

.chat-close-button:hover {
  border-color: rgba(153, 27, 27, 0.42);
  background: rgba(254, 202, 202, 0.88);
  transform: translateY(-1px);
}

.chat-close-button:focus-visible {
  outline: 3px solid rgba(185, 28, 28, 0.25);
  outline-offset: 2px;
}

.chat-close-button:disabled {
  cursor: wait;
  opacity: 0.68;
  transform: none;
}

.chat-window-header h2,
.admin-message-header h2 {
  margin: 0 0 0.2rem;
  color: #071a3d;
  font-size: 1.05rem;
}

.chat-window-header p,
.admin-message-header p {
  margin: 0;
  color: rgba(7, 26, 61, 0.56);
  font-size: 0.76rem;
}

.chat-agent-mark,
.chat-empty-symbol {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(214, 168, 79, 0.4);
  border-radius: 50%;
  background: #071a3d;
  color: #f1ce7d;
  font-family: Georgia, serif;
}

.chat-agent-mark {
  flex: 0 0 2.75rem;
  width: 2.75rem;
  height: 2.75rem;
}

.chat-status-dot {
  display: inline-block;
  width: 0.46rem;
  height: 0.46rem;
  margin-right: 0.3rem;
  border-radius: 50%;
  background: #d6a84f;
}

.chat-message-list,
.admin-message-empty {
  display: grid;
  place-items: center;
  min-height: 360px;
  padding: 2rem;
}

.chat-message-list {
  flex: 1;
  align-content: center;
  grid-template-columns: minmax(0, 1fr);
  gap: 1.5rem;
  min-height: 420px;
}

.chat-empty-state,
.admin-message-empty {
  color: rgba(7, 26, 61, 0.66);
  text-align: center;
}

.chat-empty-symbol {
  width: 3.8rem;
  height: 3.8rem;
  margin-bottom: 1rem;
  box-shadow: 0 12px 25px rgba(7, 26, 61, 0.18);
}

.chat-empty-state h3,
.admin-message-empty h3 {
  margin: 0 0 0.55rem;
  color: #071a3d;
}

.chat-empty-state p,
.admin-message-empty p {
  max-width: 28rem;
  margin: 0;
  line-height: 1.65;
}

.chat-empty-state {
  max-width: 33rem;
}

.chat-start-form {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.9rem;
  width: min(100%, 38rem);
  padding: 1.2rem;
  border: 1px solid rgba(214, 168, 79, 0.22);
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.72);
  box-shadow: 0 14px 35px rgba(7, 26, 61, 0.08);
}

.chat-start-form label {
  display: grid;
  gap: 0.45rem;
  color: #071a3d;
  font-size: 0.78rem;
  font-weight: 750;
}

.chat-start-form input,
.chat-start-form select {
  width: 100%;
  min-height: 3.1rem;
  padding: 0.8rem 0.9rem;
  border: 1px solid rgba(7, 26, 61, 0.14);
  border-radius: 14px;
  background: #ffffff;
  color: #071a3d;
  font: inherit;
}

.chat-start-form input:focus,
.chat-start-form select:focus,
.chat-composer textarea:focus {
  outline: none;
  border-color: rgba(214, 168, 79, 0.78);
  box-shadow: 0 0 0 4px rgba(214, 168, 79, 0.14);
}

.chat-start-form .button {
  grid-column: 1 / -1;
  width: 100%;
}

.chat-auth-status {
  grid-column: 1 / -1;
  margin: 0;
  padding: 0.72rem 0.85rem;
  border: 1px solid rgba(214, 168, 79, 0.22);
  border-radius: 13px;
  background: rgba(214, 168, 79, 0.08);
  color: #76551a;
  font-size: 0.76rem;
  font-weight: 700;
  line-height: 1.5;
  text-align: center;
}

.chat-auth-status.is-ready {
  border-color: rgba(22, 101, 52, 0.18);
  background: rgba(236, 253, 245, 0.88);
  color: #14532d;
}

.chat-auth-status.is-error {
  border-color: rgba(185, 28, 28, 0.18);
  background: rgba(255, 235, 235, 0.9);
  color: #8b1e1e;
}

.chat-start-form .button:disabled {
  cursor: wait;
  opacity: 0.58;
}

.chat-start-feedback {
  grid-column: 1 / -1;
  min-height: 1.2rem;
  margin: 0;
  color: rgba(7, 26, 61, 0.58);
  font-size: 0.74rem;
  font-weight: 700;
  line-height: 1.5;
  text-align: center;
}

.chat-start-feedback.is-success {
  color: #14532d;
}

.chat-start-feedback.is-error {
  color: #8b1e1e;
}

.chat-typing-status {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.65rem 1.1rem;
  border-top: 1px solid rgba(7, 26, 61, 0.08);
  background: rgba(255, 253, 248, 0.78);
  color: rgba(7, 26, 61, 0.56);
  font-size: 0.72rem;
  font-weight: 650;
}

.chat-connection-label {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  color: #76551a;
  white-space: nowrap;
}

.chat-connection-label i {
  width: 0.45rem;
  height: 0.45rem;
  border-radius: 50%;
  background: #d6a84f;
}

.chat-composer {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 0.75rem;
  padding: 1rem;
  border-top: 1px solid rgba(7, 26, 61, 0.09);
  background: rgba(255, 255, 255, 0.58);
}

.chat-composer textarea {
  width: 100%;
  min-height: 3.1rem;
  padding: 0.85rem 1rem;
  resize: none;
  border: 1px solid rgba(7, 26, 61, 0.14);
  border-radius: 16px;
  background: #ffffff;
  color: #071a3d;
  font: inherit;
}

.chat-message-field {
  position: relative;
  min-width: 0;
}

.chat-message-field textarea {
  padding-right: 5.2rem;
}

.chat-character-count {
  position: absolute;
  right: 0.8rem;
  bottom: 0.8rem;
  color: rgba(7, 26, 61, 0.48);
  font-size: 0.68rem;
  font-weight: 700;
  pointer-events: none;
}

.chat-composer .button {
  min-width: 6.5rem;
}

.chat-composer textarea:disabled,
.chat-composer button:disabled,
.admin-chat-search input:disabled {
  cursor: not-allowed;
  opacity: 0.62;
}

.admin-chat-heading {
  padding: 2.8rem 0;
}

.admin-chat-shell {
  display: grid;
  grid-template-columns: minmax(280px, 0.38fr) minmax(0, 1fr);
  min-height: 620px;
  gap: 1.25rem;
}

.admin-conversation-panel {
  overflow: hidden;
}

.admin-conversation-panel > header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.25rem;
  border-bottom: 1px solid rgba(7, 26, 61, 0.09);
}

.admin-conversation-panel h2 {
  margin: 0;
  color: #071a3d;
  font-size: 1.25rem;
}

.admin-conversation-panel .eyebrow {
  margin-bottom: 0.3rem;
}

.conversation-count {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 2rem;
  height: 2rem;
  border-radius: 999px;
  background: #071a3d;
  color: #fff7e8;
  font-weight: 800;
}

.admin-chat-search {
  display: block;
  padding: 1rem 1.1rem;
}

.admin-chat-search input {
  width: 100%;
  padding: 0.8rem 0.9rem;
  border: 1px solid rgba(7, 26, 61, 0.12);
  border-radius: 14px;
  background: #ffffff;
  color: #071a3d;
  font: inherit;
}

.admin-conversation-list {
  display: grid;
  place-items: center;
  min-height: 410px;
  padding: 1.5rem;
}

.admin-list-empty {
  max-width: 15rem;
  color: rgba(7, 26, 61, 0.6);
  text-align: center;
  line-height: 1.6;
}

.admin-list-empty > span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.8rem;
  height: 2.8rem;
  border-radius: 50%;
  background: rgba(214, 168, 79, 0.16);
  color: #8b631b;
  font-family: Georgia, serif;
}

.admin-message-panel {
  display: grid;
  grid-template-rows: auto minmax(0, 1fr) auto;
}

@media (max-width: 999px) {
  .chat-layout,
  .admin-chat-shell {
    grid-template-columns: 1fr;
  }

  .admin-chat-shell {
    min-height: 0;
  }

  .chat-window {
    order: 1;
  }

  .chat-guidance-card {
    order: 2;
  }

  .admin-conversation-list {
    min-height: 220px;
  }
}

@media (max-width: 767px) {
  .chat-floating-button {
    right: 0.8rem;
    bottom: 0.8rem;
    padding: 0.65rem 0.9rem 0.65rem 0.65rem;
    font-size: 0.82rem;
  }

  .chat-floating-icon {
    width: 1.9rem;
    height: 1.9rem;
  }

  .chat-hero,
  .admin-chat-heading {
    padding: 2.6rem 0;
  }

  .chat-hero-inner {
    align-items: flex-start;
    flex-direction: column;
    gap: 1.2rem;
  }

  .chat-hero h1,
  .admin-chat-heading h1 {
    font-size: clamp(2.35rem, 12vw, 3.25rem);
  }

  .chat-guidance-card,
  .chat-window,
  .admin-conversation-panel,
  .admin-message-panel {
    border-radius: 22px;
  }

  .chat-guidance-card {
    padding: 1.4rem;
  }

  .chat-start-panel {
    min-height: 0;
    padding: 1.35rem;
  }

  .chat-active-panel {
    min-height: 680px;
  }

  .chat-window-header {
    align-items: flex-start;
    flex-wrap: wrap;
    padding: 0.9rem 1rem;
  }

  .chat-header-actions {
    width: 100%;
    gap: 0.65rem;
  }

  .chat-close-button {
    margin-left: auto;
  }

  .chat-message-list,
  .admin-message-empty {
    min-height: 420px;
    padding: 1.35rem;
  }

  .chat-start-form {
    grid-template-columns: 1fr;
    padding: 1rem;
  }

  .chat-start-form .button {
    grid-column: auto;
  }

  .chat-start-feedback,
  .chat-auth-status {
    grid-column: auto;
  }

  .chat-typing-status {
    align-items: flex-start;
    flex-direction: column;
    gap: 0.35rem;
  }

  .chat-composer {
    grid-template-columns: 1fr;
  }

  .chat-composer .button {
    width: 100%;
  }
}

/* Real-time visitor message layout overrides */
.chat-message-list.has-conversation {
  align-content: start;
  place-items: stretch;
}

.chat-message-list.has-conversation .chat-live-messages {
  min-width: 0;
}

/* ========================================
   ADMIN CHAT DASHBOARD - LIVE WORKSPACE
   ======================================== */

.admin-chat-filters {
  display: flex;
  gap: 0.4rem;
  padding: 0 1.1rem 1rem;
  overflow-x: auto;
}

.admin-chat-filters button {
  flex: 0 0 auto;
  padding: 0.48rem 0.72rem;
  border: 1px solid rgba(7, 26, 61, 0.12);
  border-radius: 999px;
  background: #fff;
  color: #071a3d;
  font: inherit;
  font-size: 0.74rem;
  font-weight: 750;
  cursor: pointer;
}

.admin-chat-filters button:hover,
.admin-chat-filters button.is-active {
  border-color: #071a3d;
  background: #071a3d;
  color: #fff7e8;
}

.admin-chat-filters button:focus-visible,
.admin-conversation-card:focus-visible,
.admin-status-action:focus-visible {
  outline: 3px solid rgba(214, 168, 79, 0.48);
  outline-offset: 2px;
}

.admin-conversation-list.has-items {
  align-content: start;
  display: grid;
  gap: 0.55rem;
  max-height: 520px;
  padding: 0 0.8rem 1rem;
  overflow-y: auto;
  place-items: stretch;
}

.admin-conversation-card {
  position: relative;
  display: grid;
  gap: 0.46rem;
  width: 100%;
  padding: 0.95rem;
  border: 1px solid transparent;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.74);
  color: #071a3d;
  font: inherit;
  text-align: left;
  cursor: pointer;
  transition: 160ms ease;
}

.admin-conversation-card:hover {
  border-color: rgba(214, 168, 79, 0.48);
  transform: translateY(-1px);
}

.admin-conversation-card.is-selected {
  border-color: rgba(214, 168, 79, 0.75);
  background: #fffaf0;
  box-shadow: 0 8px 20px rgba(7, 26, 61, 0.08);
}

.admin-conversation-card-heading,
.admin-conversation-card-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.6rem;
}

.admin-conversation-card-heading strong {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.admin-conversation-card-heading time,
.admin-conversation-preview {
  color: rgba(7, 26, 61, 0.56);
  font-size: 0.72rem;
}

.admin-conversation-card-heading time {
  flex: 0 0 auto;
}

.admin-conversation-topic {
  overflow: hidden;
  color: #8b631b;
  font-size: 0.72rem;
  font-weight: 750;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.admin-card-status,
.admin-status-pill {
  padding: 0.25rem 0.5rem;
  border-radius: 999px;
  font-size: 0.66rem;
  font-weight: 800;
  text-transform: uppercase;
}

.admin-card-status.is-pending,
.admin-status-pill.is-pending {
  background: rgba(214, 168, 79, 0.18);
  color: #8a5a10;
}

.admin-card-status.is-expired,
.admin-status-pill.is-expired {
  background: rgba(180, 35, 24, 0.1);
  color: #b42318;
}

.admin-card-status.is-rejected,
.admin-status-pill.is-rejected {
  background: rgba(107, 114, 128, 0.14);
  color: #4b5563;
}

.admin-status-action--approve {
  border-color: rgba(22, 101, 52, 0.35) !important;
  background: rgba(22, 101, 52, 0.1) !important;
  color: #166534 !important;
}

.admin-card-status.is-open,
.admin-status-pill.is-open {
  background: #e9f7ed;
  color: #176136;
}

.admin-card-status.is-closed,
.admin-status-pill.is-closed {
  background: #eceef2;
  color: #4b5563;
}

.admin-conversation-preview {
  display: block;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.admin-unread-badge {
  position: absolute;
  right: 0.75rem;
  bottom: 0.72rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 1.35rem;
  height: 1.35rem;
  padding: 0 0.35rem;
  border-radius: 999px;
  background: #d6a84f;
  color: #071a3d;
  font-size: 0.65rem;
  font-weight: 900;
}

.admin-message-identity {
  min-width: 0;
  margin-right: auto;
}

.admin-message-identity h2,
.admin-message-identity p {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.admin-conversation-actions {
  display: flex;
  gap: 0.45rem;
}

.admin-status-action {
  padding: 0.55rem 0.7rem;
  border: 1px solid rgba(7, 26, 61, 0.15);
  border-radius: 10px;
  background: #fff;
  color: #071a3d;
  font: inherit;
  font-size: 0.7rem;
  font-weight: 800;
  cursor: pointer;
}

.admin-message-list {
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
  min-height: 420px;
  max-height: 560px;
  padding: 1.5rem;
  overflow-x: hidden;
  overflow-y: auto;
  background: rgba(255, 253, 248, 0.64);
}

.admin-chat-message {
  display: flex;
  flex-direction: column;
  max-width: min(78%, 34rem);
}

.admin-chat-message.is-admin {
  align-self: flex-end;
  align-items: flex-end;
}

.admin-chat-message.is-visitor {
  align-self: flex-start;
  align-items: flex-start;
}

.admin-chat-message-bubble {
  margin: 0;
  padding: 0.78rem 0.95rem;
  border: 1px solid rgba(214, 168, 79, 0.25);
  border-radius: 17px;
  line-height: 1.55;
  overflow-wrap: anywhere;
  white-space: pre-wrap;
}

.admin-chat-message.is-admin .admin-chat-message-bubble {
  border-color: rgba(214, 168, 79, 0.65);
  border-bottom-right-radius: 5px;
  background: linear-gradient(145deg, #071a3d, #12385f);
  color: #fff7e8;
}

.admin-chat-message.is-visitor .admin-chat-message-bubble {
  border-bottom-left-radius: 5px;
  background: #fff;
  color: #071a3d;
  box-shadow: 0 8px 20px rgba(7, 26, 61, 0.07);
}

.admin-chat-message-time {
  margin-top: 0.28rem;
  color: rgba(7, 26, 61, 0.54);
  font-size: 0.68rem;
}

.admin-message-state {
  margin: auto;
  color: rgba(7, 26, 61, 0.58);
  text-align: center;
}

.admin-message-state.is-error,
.admin-list-empty.is-error,
.admin-reply-feedback.is-error {
  color: #8b1e1e;
}

.admin-chat-composer {
  position: relative;
}

.admin-reply-feedback {
  grid-column: 1 / -1;
  min-height: 1rem;
  margin: 0;
  color: #176136;
  font-size: 0.72rem;
}

@media (max-width: 999px) {
  .admin-conversation-list.has-items {
    max-height: 350px;
  }
}

@media (max-width: 767px) {
  .admin-message-header {
    align-items: flex-start;
    flex-wrap: wrap;
  }

  .admin-conversation-actions {
    width: 100%;
    padding-left: 3.6rem;
  }

  .admin-chat-message {
    max-width: 88%;
  }

  .admin-message-list {
    min-height: 360px;
    padding: 1rem;
  }
}

/* ========================================
   ADMIN CHAT AUTHENTICATION
   ======================================== */

#admin-login-section[hidden],
#admin-workspace[hidden],
#admin-sign-out[hidden] {
  display: none !important;
}

.admin-login-section {
  min-height: 560px;
  background:
    radial-gradient(circle at 15% 20%, rgba(214, 168, 79, 0.09), transparent 25%),
    #f8f1e5;
}

.admin-login-card {
  width: min(100%, 31rem);
  margin: 0 auto;
  padding: clamp(1.5rem, 4vw, 2.5rem);
  border: 1px solid rgba(214, 168, 79, 0.3);
  border-radius: 28px;
  background: linear-gradient(145deg, #fffefa, #f8f0e2);
  box-shadow: 0 24px 56px rgba(7, 26, 61, 0.12);
  text-align: center;
}

.admin-login-card > .chat-agent-mark {
  width: 3.4rem;
  height: 3.4rem;
  margin-bottom: 1rem;
}

.admin-login-card h2 {
  margin: 0 0 0.65rem;
  color: #071a3d;
  font-size: clamp(1.65rem, 4vw, 2.25rem);
}

.admin-login-card > p:not(.eyebrow) {
  margin: 0 auto 1.5rem;
  color: rgba(7, 26, 61, 0.64);
  line-height: 1.65;
}

.admin-login-form {
  display: grid;
  gap: 0.55rem;
  text-align: left;
}

.admin-login-form label {
  color: #071a3d;
  font-size: 0.78rem;
  font-weight: 800;
}

.admin-login-form input {
  width: 100%;
  min-height: 3.2rem;
  margin-bottom: 0.45rem;
  padding: 0.82rem 0.95rem;
  border: 1px solid rgba(7, 26, 61, 0.15);
  border-radius: 14px;
  background: #fff;
  color: #071a3d;
  font: inherit;
}

.admin-login-form input:focus {
  outline: none;
  border-color: rgba(214, 168, 79, 0.85);
  box-shadow: 0 0 0 4px rgba(214, 168, 79, 0.14);
}

.admin-login-form .button {
  width: 100%;
  margin-top: 0.35rem;
}

.admin-login-feedback {
  min-height: 1.2rem;
  margin: 0.35rem 0 0;
  color: rgba(7, 26, 61, 0.62);
  font-size: 0.76rem;
  font-weight: 700;
  line-height: 1.45;
  text-align: center;
}

.admin-login-feedback.is-error {
  color: #8b1e1e;
}

.admin-sign-out {
  padding: 0.55rem 0.75rem;
  border: 1px solid rgba(214, 168, 79, 0.45);
  border-radius: 999px;
  background: transparent;
  color: #071a3d;
  font: inherit;
  font-size: 0.72rem;
  font-weight: 800;
  cursor: pointer;
}

.admin-sign-out:hover {
  background: #071a3d;
  color: #fff7e8;
}

.admin-sign-out:focus-visible {
  outline: 3px solid rgba(214, 168, 79, 0.48);
  outline-offset: 2px;
}

@media (max-width: 767px) {
  .admin-chat-page .header-actions {
    display: flex;
  }

  .admin-chat-page .admin-mode-badge {
    display: none;
  }

  .admin-login-section {
    min-height: 480px;
  }
}

/* ========================================
   VISITOR CHAT PRIVACY AND REFERENCE
   ======================================== */

#chat-reference-panel[hidden] {
  display: none !important;
}

.chat-browser-notice {
  position: relative;
  margin-top: 1rem;
  padding: 1rem;
  border: 1px solid rgba(214, 168, 79, 0.28);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.06);
}

.chat-browser-notice strong {
  display: block;
  margin-bottom: 0.35rem;
  color: #f1ce7d;
}

.chat-browser-notice p {
  margin: 0;
  color: rgba(255, 247, 232, 0.72);
  font-size: 0.75rem;
  line-height: 1.55;
}

.chat-browser-notice p + p {
  margin-top: 0.45rem;
}

.chat-reference {
  display: grid;
  grid-template-columns: auto auto;
  align-items: center;
  gap: 0.15rem 0.65rem;
  margin-left: auto;
  text-align: right;
}

.chat-reference > span:first-child {
  color: rgba(7, 26, 61, 0.55);
  font-size: 0.65rem;
  font-weight: 750;
  text-transform: uppercase;
}

.chat-reference strong {
  color: #071a3d;
  font-family: ui-monospace, SFMono-Regular, Consolas, monospace;
  font-size: 0.78rem;
  letter-spacing: 0.04em;
}

.chat-reference button {
  grid-column: 1 / -1;
  justify-self: end;
  padding: 0;
  border: 0;
  background: none;
  color: #8b631b;
  font: inherit;
  font-size: 0.68rem;
  font-weight: 800;
  cursor: pointer;
  text-decoration: underline;
  text-underline-offset: 0.18rem;
}

.chat-reference button:focus-visible {
  outline: 2px solid #d6a84f;
  outline-offset: 3px;
}

.chat-reference-feedback {
  grid-column: 1 / -1;
  min-height: 0.8rem;
  color: #176136;
  font-size: 0.65rem;
}

.chat-sensitive-notice {
  margin: 0;
  padding: 0.65rem 1rem;
  border-top: 1px solid rgba(214, 168, 79, 0.2);
  background: rgba(214, 168, 79, 0.08);
  color: #6f521e;
  font-size: 0.7rem;
  font-weight: 650;
  line-height: 1.5;
  text-align: center;
}

.chat-copy-field {
  position: fixed;
  left: -9999px;
  top: 0;
}

@media (max-width: 767px) {
  .chat-reference {
    grid-template-columns: auto auto;
    width: auto;
    margin: 0;
    text-align: left;
  }

  .chat-reference button {
    justify-self: start;
  }

  .chat-sensitive-notice {
    text-align: left;
  }
}

/* ========================================
   GLOBAL PUBLIC CHAT BUTTON
   ======================================== */

.chat-floating-button {
  gap: 0.65rem;
  padding: 0.68rem 1rem 0.68rem 0.72rem;
  border: 1px solid rgba(214, 168, 79, 0.82);
  background: linear-gradient(145deg, #071a3d, #0b2b5f);
  color: #ffffff;
  box-shadow: 0 14px 34px rgba(7, 26, 61, 0.3);
}

.chat-floating-button:hover {
  color: #ffffff;
  box-shadow: 0 20px 42px rgba(7, 26, 61, 0.38);
}

.chat-floating-icon {
  flex: 0 0 2.15rem;
  width: 2.15rem;
  height: 2.15rem;
  background: rgba(214, 168, 79, 0.1);
  color: #d6a84f;
}

.chat-floating-icon svg {
  display: block;
}

.chat-floating-copy {
  display: grid;
  gap: 0.12rem;
  line-height: 1.1;
}

.chat-floating-copy strong {
  color: #ffffff;
  font-size: 0.82rem;
  white-space: nowrap;
}

.chat-floating-copy small {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.65rem;
  font-weight: 700;
}

.chat-floating-copy small i {
  width: 0.43rem;
  height: 0.43rem;
  border: 1px solid rgba(255, 255, 255, 0.7);
  border-radius: 50%;
  background: #35b66f;
  box-shadow: 0 0 0 3px rgba(53, 182, 111, 0.12);
}

@media (max-width: 480px) {
  .chat-floating-button {
    right: 0.65rem;
    bottom: 0.65rem;
    gap: 0.5rem;
    padding: 0.58rem 0.75rem 0.58rem 0.58rem;
  }

  .chat-floating-icon {
    flex-basis: 1.85rem;
    width: 1.85rem;
    height: 1.85rem;
  }

  .chat-floating-icon svg {
    width: 18px;
    height: 18px;
  }

  .chat-floating-copy strong {
    font-size: 0.76rem;
  }
}

/* Visitor chat panel and composer containment */
.chat-page .page-shell {
  min-height: 100vh;
  overflow: visible;
}

.chat-page .chat-main {
  min-height: 100vh;
  padding-bottom: 32px;
}

.chat-page .chat-window {
  overflow: visible;
}

.chat-active-panel {
  min-height: 680px;
  display: flex;
  flex-direction: column;
  background: #fffdf8;
  border: 1px solid #eadcc3;
  border-radius: 24px;
  overflow: hidden;
  box-shadow: 0 18px 42px rgba(71, 45, 12, 0.1);
}

.chat-messages {
  flex: 1 1 auto;
  min-height: 0;
  overflow-y: auto;
  padding: 24px;
}

.chat-composer {
  position: sticky;
  bottom: 0;
  z-index: 5;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 128px;
  gap: 14px;
  align-items: stretch;
  padding: 16px 18px 18px;
  background: #ffffff;
  border-top: 1px solid #eadcc3;
  box-sizing: border-box;
}

.chat-composer textarea {
  width: 100%;
  min-width: 0;
  min-height: 58px;
  max-height: 140px;
  resize: vertical;
  box-sizing: border-box;
  border: 1px solid #d9d3c7;
  border-radius: 18px;
  padding: 16px 18px;
  font: inherit;
  color: #071a3d;
  background: #ffffff;
}

.chat-composer textarea:focus {
  outline: none;
  border-color: #d6a84f;
  box-shadow: 0 0 0 4px rgba(214, 168, 79, 0.14);
}

.chat-composer button {
  width: 128px;
  min-height: 58px;
  border: 0;
  border-radius: 18px;
  background: linear-gradient(180deg, #f4bd55, #d6a84f);
  color: #071a3d;
  font-size: 18px;
  font-weight: 900;
  padding: 0 22px;
  cursor: pointer;
  box-sizing: border-box;
  align-self: stretch;
}

.chat-composer button:hover {
  transform: translateY(-1px);
  box-shadow: 0 10px 22px rgba(214, 168, 79, 0.25);
}

.chat-page .floating-chat-button,
body.chat-page .floating-chat-button,
body.chat-page .chat-launcher,
body.chat-page #floatingChatButton,
body.chat-page .chat-floating-button {
  display: none !important;
}

@media (max-width: 640px) {
  .chat-active-panel {
    min-height: calc(100vh - 110px);
    border-radius: 18px;
  }

  .chat-composer {
    grid-template-columns: 1fr;
    padding: 14px;
    gap: 10px;
  }

  .chat-composer button {
    width: 100%;
    min-height: 52px;
  }

  .chat-composer textarea {
    min-height: 72px;
  }
}

/* ========================================
   ISOLATED ADMIN PORTAL
   ======================================== */

.admin-login-page,
.admin-chat-page {
  min-height: 100vh;
  background: #061731;
  color: #071a3d;
}

.admin-login-main {
  position: relative;
  display: grid;
  min-height: 100vh;
  padding: clamp(1.25rem, 5vw, 3rem);
  overflow: hidden;
  background:
    radial-gradient(circle at 18% 16%, rgba(214, 168, 79, 0.2), transparent 27%),
    radial-gradient(circle at 86% 82%, rgba(214, 168, 79, 0.12), transparent 24%),
    linear-gradient(145deg, #041226, #0b2b5f 58%, #071a3d);
  place-items: center;
}

.admin-login-main::before,
.admin-login-main::after {
  content: "";
  position: absolute;
  border: 1px solid rgba(214, 168, 79, 0.12);
  border-radius: 50%;
  pointer-events: none;
}

.admin-login-main::before {
  width: min(38rem, 75vw);
  height: min(38rem, 75vw);
  left: -15rem;
  top: -16rem;
  box-shadow: 0 0 0 4rem rgba(214, 168, 79, 0.018);
}

.admin-login-main::after {
  width: 24rem;
  height: 24rem;
  right: -10rem;
  bottom: -12rem;
}

.admin-portal-card {
  position: relative;
  z-index: 1;
  width: min(100%, 30rem);
  padding: clamp(1.75rem, 5vw, 2.75rem);
  border: 1px solid rgba(214, 168, 79, 0.42);
  border-radius: 28px;
  background: linear-gradient(145deg, rgba(255, 254, 250, 0.99), rgba(248, 240, 226, 0.98));
  box-shadow: 0 28px 70px rgba(0, 0, 0, 0.35);
  text-align: center;
}

.admin-portal-logo {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 4.5rem;
  height: 4.5rem;
  margin-bottom: 1rem;
  border: 1px solid rgba(214, 168, 79, 0.68);
  border-radius: 50%;
  background: #071a3d;
  color: #f1ce7d;
  box-shadow: 0 12px 28px rgba(7, 26, 61, 0.25), inset 0 0 0 7px rgba(214, 168, 79, 0.06);
  font-family: Georgia, serif;
  font-size: 2rem;
}

.admin-portal-logo span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.8rem;
  height: 2.8rem;
  border: 1px solid rgba(214, 168, 79, 0.5);
  border-radius: 50%;
}

.admin-portal-kicker {
  margin: 0 0 0.45rem;
  color: #9a701f;
  font-size: 0.72rem;
  font-weight: 900;
  letter-spacing: 0.18em;
}

.admin-portal-card h1 {
  margin: 0;
  color: #071a3d;
  font-size: clamp(1.85rem, 5vw, 2.45rem);
}

.admin-portal-intro {
  margin: 0.65rem 0 1.75rem;
  color: rgba(7, 26, 61, 0.62);
  line-height: 1.6;
}

.admin-portal-form {
  display: grid;
  gap: 0.6rem;
  text-align: left;
}

.admin-portal-form label {
  color: #071a3d;
  font-size: 0.78rem;
  font-weight: 850;
}

.admin-portal-form input {
  width: 100%;
  min-height: 3.3rem;
  margin-bottom: 0.4rem;
  padding: 0.85rem 1rem;
  border: 1px solid rgba(7, 26, 61, 0.16);
  border-radius: 14px;
  background: #fff;
  color: #071a3d;
  font: inherit;
}

.admin-portal-form input:focus {
  outline: none;
  border-color: #d6a84f;
  box-shadow: 0 0 0 4px rgba(214, 168, 79, 0.14);
}

.admin-primary-button,
.admin-forgot-button {
  width: 100%;
  min-height: 3.15rem;
  border-radius: 14px;
  font: inherit;
  font-weight: 900;
}

.admin-primary-button {
  margin-top: 0.35rem;
  border: 0;
  background: linear-gradient(180deg, #f4bd55, #d6a84f);
  color: #071a3d;
  cursor: pointer;
  box-shadow: 0 10px 24px rgba(214, 168, 79, 0.22);
}

.admin-primary-button:hover:not(:disabled) {
  transform: translateY(-1px);
  box-shadow: 0 14px 28px rgba(214, 168, 79, 0.3);
}

.admin-primary-button:focus-visible,
.admin-forgot-button:focus-visible {
  outline: 3px solid rgba(214, 168, 79, 0.42);
  outline-offset: 2px;
}

.admin-primary-button:disabled {
  cursor: wait;
  opacity: 0.62;
}

.admin-forgot-button {
  border: 1px solid rgba(7, 26, 61, 0.12);
  background: rgba(255, 255, 255, 0.5);
  color: rgba(7, 26, 61, 0.4);
  cursor: not-allowed;
}

.admin-login-feedback {
  min-height: 1.25rem;
  margin: 0.4rem 0 0;
  color: rgba(7, 26, 61, 0.62);
  font-size: 0.75rem;
  font-weight: 700;
  line-height: 1.5;
  text-align: center;
  overflow-wrap: anywhere;
}

.admin-login-feedback.is-error {
  color: #991b1b;
}

.admin-portal-shell {
  min-height: 100vh;
  background: #f8f1e5;
}

.admin-portal-header {
  position: relative;
  z-index: 20;
  border-bottom: 1px solid rgba(214, 168, 79, 0.28);
  background: #071a3d;
  box-shadow: 0 8px 24px rgba(7, 26, 61, 0.18);
}

.admin-portal-header-inner,
.admin-portal-brand,
.admin-account-actions,
.admin-identity {
  display: flex;
  align-items: center;
}

.admin-portal-header-inner {
  justify-content: space-between;
  min-height: 74px;
  gap: 1rem;
}

.admin-portal-brand {
  gap: 0.75rem;
}

.admin-account-actions {
  gap: 0.75rem;
}

.admin-identity {
  gap: 0.35rem;
  color: #fff7e8;
  font-size: 0.82rem;
  font-weight: 800;
}

.admin-chat-page .admin-sign-out {
  padding: 0.55rem 0.9rem;
  border: 1px solid rgba(214, 168, 79, 0.55);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.06);
  color: #f1ce7d;
  font: inherit;
  font-size: 0.76rem;
  font-weight: 850;
  cursor: pointer;
}

.admin-chat-page .admin-sign-out:hover {
  background: #d6a84f;
  color: #071a3d;
}

.admin-chat-page .admin-chat-main {
  min-height: calc(100vh - 74px);
}

.admin-chat-page .admin-chat-composer {
  position: relative;
  bottom: auto;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 0.75rem;
  padding: 1rem;
}

.admin-chat-page .admin-chat-composer textarea {
  min-height: 3.1rem;
  max-height: 11rem;
  resize: none;
  padding: 0.85rem 1rem;
  border-radius: 16px;
}

.admin-chat-page .admin-chat-composer button {
  width: auto;
  min-width: 8rem;
  min-height: 3.1rem;
  padding: 0 1.25rem;
  border-radius: 14px;
  font-size: 0.92rem;
}

.admin-auth-feedback {
  position: fixed;
  right: 1rem;
  bottom: 1rem;
  z-index: 30;
  max-width: 26rem;
  margin: 0;
  color: #991b1b;
  font-size: 0.78rem;
  font-weight: 750;
}

@media (max-width: 640px) {
  .admin-portal-header-inner {
    min-height: 66px;
  }

  .admin-portal-brand .brand-text span {
    font-size: 0.58rem;
  }

  .admin-account-actions {
    gap: 0.45rem;
  }

  .admin-identity {
    font-size: 0.74rem;
  }

  .admin-chat-page .admin-sign-out {
    padding: 0.48rem 0.7rem;
  }

  .admin-chat-page .admin-chat-composer {
    grid-template-columns: 1fr;
    padding: 0.85rem;
  }

  .admin-chat-page .admin-chat-composer button {
    width: 100%;
    min-height: 3rem;
  }
}

/* ========================================
   SHARED ORION ADMIN DASHBOARD
   ======================================== */

.admin-system-page {
  min-width: 320px;
  min-height: 100vh;
  background: #f7f0e5;
  color: #071a3d;
}

.admin-app[hidden] {
  display: none !important;
}

.admin-app {
  display: grid;
  grid-template-columns: 260px minmax(0, 1fr);
  min-height: 100vh;
}

.admin-sidebar {
  position: sticky;
  top: 0;
  z-index: 50;
  display: flex;
  flex-direction: column;
  height: 100vh;
  padding: 1.25rem 1rem;
  overflow-y: auto;
  border-right: 1px solid rgba(214, 168, 79, 0.25);
  background:
    radial-gradient(circle at 20% 5%, rgba(214, 168, 79, 0.16), transparent 24%),
    linear-gradient(180deg, #061731, #071a3d 62%, #041226);
  color: #fff7e8;
}

.admin-sidebar-brand {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.35rem 0.45rem 1.35rem;
  border-bottom: 1px solid rgba(214, 168, 79, 0.18);
}

.admin-sidebar-logo {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 2.75rem;
  width: 2.75rem;
  height: 2.75rem;
  border: 1px solid rgba(214, 168, 79, 0.62);
  border-radius: 50%;
  color: #f1ce7d;
  font-family: Georgia, serif;
  font-size: 1.25rem;
  box-shadow: inset 0 0 0 5px rgba(214, 168, 79, 0.05);
}

.admin-sidebar-brand strong,
.admin-sidebar-brand small {
  display: block;
}

.admin-sidebar-brand strong {
  color: #fff;
  letter-spacing: 0.08em;
}

.admin-sidebar-brand small {
  margin-top: 0.12rem;
  color: #d6a84f;
  font-size: 0.62rem;
  font-weight: 800;
  letter-spacing: 0.18em;
}

.admin-sidebar-nav {
  display: grid;
  gap: 0.35rem;
  margin-top: 1.25rem;
}

.admin-sidebar-nav a,
.admin-sidebar-logout {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  min-height: 2.85rem;
  padding: 0.7rem 0.85rem;
  border: 1px solid transparent;
  border-radius: 13px;
  background: transparent;
  color: rgba(255, 247, 232, 0.72);
  font: inherit;
  font-size: 0.84rem;
  font-weight: 750;
  text-align: left;
  text-decoration: none;
  cursor: pointer;
  transition: 160ms ease;
}

.admin-sidebar-nav a > span,
.admin-sidebar-logout > span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 1.4rem;
  color: #d6a84f;
  font-size: 1rem;
}

.admin-sidebar-nav a:hover,
.admin-sidebar-nav a.is-active,
.admin-sidebar-logout:hover {
  border-color: rgba(214, 168, 79, 0.25);
  background: rgba(255, 255, 255, 0.07);
  color: #fff;
}

.admin-sidebar-nav a.is-active {
  box-shadow: inset 3px 0 #d6a84f;
}

.admin-sidebar-logout {
  width: 100%;
  margin-top: auto;
}

.admin-main-column {
  min-width: 0;
}

.admin-topbar {
  position: sticky;
  top: 0;
  z-index: 40;
  display: flex;
  align-items: center;
  gap: 1rem;
  min-height: 74px;
  padding: 0.75rem clamp(1rem, 3vw, 2rem);
  border-bottom: 1px solid rgba(7, 26, 61, 0.09);
  background: rgba(255, 253, 248, 0.94);
  box-shadow: 0 8px 24px rgba(7, 26, 61, 0.06);
  backdrop-filter: blur(14px);
}

.admin-menu-toggle {
  display: none;
  width: 2.5rem;
  height: 2.5rem;
  border: 1px solid rgba(7, 26, 61, 0.12);
  border-radius: 10px;
  background: #fff;
  color: #071a3d;
  font-size: 1.1rem;
}

.admin-topbar-title {
  min-width: 0;
}

.admin-topbar-title span {
  display: block;
  color: #9a701f;
  font-size: 0.64rem;
  font-weight: 850;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.admin-topbar-title h1 {
  margin: 0.08rem 0 0;
  color: #071a3d;
  font-size: 1.25rem;
}

.admin-topbar-account {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-left: auto;
}

.admin-email {
  max-width: 17rem;
  overflow: hidden;
  color: rgba(7, 26, 61, 0.68);
  font-size: 0.78rem;
  font-weight: 700;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.admin-topbar-account button,
.admin-action-primary {
  min-height: 2.45rem;
  padding: 0.55rem 0.9rem;
  border: 0;
  border-radius: 12px;
  background: linear-gradient(180deg, #f4bd55, #d6a84f);
  color: #071a3d;
  font: inherit;
  font-size: 0.76rem;
  font-weight: 900;
  cursor: pointer;
}

.admin-page-main {
  width: min(100%, 1500px);
  min-height: calc(100vh - 74px);
  margin: 0 auto;
  padding: clamp(1.25rem, 3vw, 2.25rem);
}

.admin-page-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 1.35rem;
}

.admin-page-heading h2 {
  margin: 0.15rem 0 0.35rem;
  color: #071a3d;
  font-size: clamp(1.65rem, 4vw, 2.3rem);
}

.admin-page-heading > div > p:last-child {
  margin: 0;
  color: rgba(7, 26, 61, 0.62);
}

.admin-count-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 3rem;
  height: 3rem;
  padding: 0 0.75rem;
  border: 1px solid rgba(214, 168, 79, 0.35);
  border-radius: 999px;
  background: #fff;
  color: #8b631b;
  font-weight: 900;
  box-shadow: 0 8px 22px rgba(7, 26, 61, 0.07);
}

.admin-stat-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1rem;
  margin-bottom: 1.25rem;
}

.admin-stat-grid-wide {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.admin-stat-card {
  display: flex;
  align-items: center;
  gap: 0.9rem;
  min-height: 8rem;
  padding: 1.25rem;
  border: 1px solid rgba(214, 168, 79, 0.24);
  border-radius: 20px;
  background: linear-gradient(145deg, #fffefa, #f8f0e2);
  box-shadow: 0 14px 34px rgba(7, 26, 61, 0.08);
}

.admin-stat-card > span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 3rem;
  width: 3rem;
  height: 3rem;
  border-radius: 14px;
  background: #071a3d;
  color: #f1ce7d;
  font-size: 1.15rem;
}

.admin-stat-card p {
  margin: 0 0 0.25rem;
  color: rgba(7, 26, 61, 0.6);
  font-size: 0.76rem;
  font-weight: 750;
}

.admin-stat-card strong {
  color: #071a3d;
  font-size: 1.75rem;
}

.admin-panel {
  overflow: hidden;
  border: 1px solid rgba(214, 168, 79, 0.24);
  border-radius: 22px;
  background: #fffdf8;
  box-shadow: 0 16px 38px rgba(7, 26, 61, 0.08);
}

.admin-panel-heading {
  padding: 1.25rem 1.35rem;
  border-bottom: 1px solid rgba(7, 26, 61, 0.08);
}

.admin-panel-heading h3 {
  margin: 0.15rem 0 0;
}

.admin-quick-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1rem;
  padding: 1.25rem;
}

.admin-quick-grid a {
  display: grid;
  gap: 0.3rem;
  min-height: 8.5rem;
  padding: 1.15rem;
  border: 1px solid rgba(7, 26, 61, 0.09);
  border-radius: 16px;
  background: #fff;
  color: #071a3d;
  text-decoration: none;
}

.admin-quick-grid a:hover {
  border-color: rgba(214, 168, 79, 0.6);
  transform: translateY(-2px);
  box-shadow: 0 10px 24px rgba(7, 26, 61, 0.08);
}

.admin-quick-grid a > span {
  color: #a77820;
  font-size: 1.25rem;
}

.admin-quick-grid small {
  color: rgba(7, 26, 61, 0.56);
}

.admin-table-scroll {
  width: 100%;
  max-width: 100%;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  overscroll-behavior-x: contain;
  margin: 0 0 0.25rem;
  border-radius: 10px;
}

.admin-table-scroll > table:not(.admin-data-table) {
  min-width: max(100%, 28rem);
}

.admin-data-table {
  width: 100%;
  min-width: 1000px;
  border-collapse: collapse;
  text-align: left;
}

.admin-data-table th,
.admin-data-table td {
  padding: 0.9rem 1rem;
  border-bottom: 1px solid rgba(7, 26, 61, 0.08);
  vertical-align: top;
}

.admin-data-table th {
  background: rgba(214, 168, 79, 0.09);
  color: #76551a;
  font-size: 0.68rem;
  font-weight: 900;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  white-space: nowrap;
}

.admin-data-table td {
  color: rgba(7, 26, 61, 0.78);
  font-size: 0.78rem;
  line-height: 1.5;
}

.admin-question-cell {
  min-width: 16rem;
  max-width: 24rem;
  white-space: normal;
}

.admin-table-state {
  padding: 3rem !important;
  color: rgba(7, 26, 61, 0.56) !important;
  text-align: center;
}

.admin-status-select {
  min-width: 8rem;
  padding: 0.5rem 0.6rem;
  border: 1px solid rgba(7, 26, 61, 0.14);
  border-radius: 10px;
  background: #fff;
  color: #071a3d;
  font: inherit;
  text-transform: capitalize;
}

.admin-table-action {
  min-height: 2.2rem;
  padding: 0.45rem 0.7rem;
  border: 1px solid rgba(214, 168, 79, 0.48);
  border-radius: 10px;
  background: #fff9ec;
  color: #76551a;
  font: inherit;
  font-size: 0.72rem;
  font-weight: 850;
  cursor: pointer;
  white-space: nowrap;
}

.admin-table-action:disabled {
  cursor: not-allowed;
  opacity: 0.55;
}

.admin-tabs {
  display: flex;
  gap: 0.5rem;
  margin-bottom: 1rem;
}

.admin-tabs button {
  padding: 0.65rem 1rem;
  border: 1px solid rgba(7, 26, 61, 0.12);
  border-radius: 999px;
  background: #fff;
  color: rgba(7, 26, 61, 0.65);
  font: inherit;
  font-size: 0.78rem;
  font-weight: 850;
  cursor: pointer;
}

.admin-tabs button.is-active {
  border-color: #d6a84f;
  background: #071a3d;
  color: #f1ce7d;
}

.admin-review-list {
  display: grid;
  gap: 1rem;
}

.admin-review-card,
.admin-empty-state {
  padding: 1.25rem;
  border: 1px solid rgba(214, 168, 79, 0.24);
  border-radius: 18px;
  background: #fffdf8;
  box-shadow: 0 12px 30px rgba(7, 26, 61, 0.07);
}

.admin-empty-state {
  min-height: 12rem;
  display: grid;
  place-items: center;
  color: rgba(7, 26, 61, 0.56);
}

.admin-empty-state.is-error {
  color: #991b1b;
}

.admin-review-heading,
.admin-review-meta,
.admin-review-actions {
  display: flex;
  align-items: center;
  gap: 0.65rem;
}

.admin-review-heading {
  justify-content: space-between;
}

.admin-review-heading h3,
.admin-review-heading p {
  margin: 0;
}

.admin-review-heading p {
  margin-top: 0.25rem;
  color: rgba(7, 26, 61, 0.54);
  font-size: 0.72rem;
}

.admin-review-rating {
  color: #d6a84f;
  letter-spacing: 0.08em;
  white-space: nowrap;
}

.admin-review-copy {
  color: rgba(7, 26, 61, 0.76);
  line-height: 1.65;
}

.admin-review-meta {
  color: rgba(7, 26, 61, 0.54);
  font-size: 0.72rem;
}

.admin-review-meta .is-verified {
  color: #176136;
  font-weight: 800;
}

.admin-review-actions {
  flex-wrap: wrap;
  margin-top: 1rem;
}

.admin-review-actions button {
  padding: 0.5rem 0.75rem;
  border: 1px solid rgba(7, 26, 61, 0.13);
  border-radius: 10px;
  background: #fff;
  color: #071a3d;
  font: inherit;
  font-size: 0.72rem;
  font-weight: 850;
  cursor: pointer;
}

.admin-review-actions .is-approve { color: #176136; }
.admin-review-actions .is-reject,
.admin-review-actions .is-delete { color: #991b1b; }

.admin-status-text {
  text-transform: capitalize;
}

.admin-status-text.is-completed { color: #176136; font-weight: 850; }
.admin-status-text.is-pending { color: #8b631b; font-weight: 850; }

.admin-settings-panel {
  padding: 1.35rem;
}

.admin-settings-form {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
}

.admin-settings-form label {
  display: grid;
  gap: 0.42rem;
  color: #071a3d;
  font-size: 0.78rem;
  font-weight: 850;
}

.admin-settings-form input,
.admin-settings-form textarea {
  width: 100%;
  padding: 0.85rem 0.95rem;
  border: 1px solid rgba(7, 26, 61, 0.14);
  border-radius: 13px;
  background: #fff;
  color: #071a3d;
  font: inherit;
}

.admin-settings-form input:disabled,
.admin-settings-form textarea:disabled {
  background: rgba(7, 26, 61, 0.035);
  color: rgba(7, 26, 61, 0.58);
}

.admin-settings-form small {
  color: rgba(7, 26, 61, 0.48);
  font-weight: 600;
}

.admin-report-toolbar { display: grid; grid-template-columns: minmax(0, 1fr) minmax(180px, 240px); gap: 1rem; align-items: end; }
.admin-report-toolbar label { display: grid; gap: 0.42rem; color: #071a3d; font-size: 0.78rem; font-weight: 850; }
.admin-report-toolbar input, .admin-report-toolbar select, .admin-report-editor input, .admin-report-editor select, .admin-report-editor textarea { width: 100%; border: 1px solid rgba(7, 26, 61, 0.14); border-radius: 10px; padding: 0.76rem 0.82rem; color: #071a3d; background: #fff; font: inherit; }
.admin-report-toolbar input:focus, .admin-report-toolbar select:focus, .admin-report-editor input:focus, .admin-report-editor select:focus, .admin-report-editor textarea:focus { outline: none; border-color: #d6a84f; box-shadow: 0 0 0 3px rgba(214, 168, 79, 0.13); }
.admin-report-toolbar p { grid-column: 1 / -1; min-height: 1.2rem; margin: 0; color: #176136; font-size: 0.85rem; font-weight: 700; }.admin-report-toolbar p.is-error, .admin-report-save-row p.is-error { color: #991b1b; }
.admin-report-editor { margin-top: 1.2rem; }.admin-report-client { margin: -0.35rem 0 1.1rem; color: rgba(7, 26, 61, 0.66); font-weight: 700; }.admin-report-wide { grid-column: 1 / -1; }.admin-report-save-row { display: flex; flex-wrap: wrap; align-items: center; gap: 0.9rem; }.admin-report-save-row .button { width: auto; min-height: 44px; padding: 0 1rem; }.admin-report-save-row p { margin: 0; color: #176136; font-weight: 700; }

.admin-settings-wide,
.admin-settings-actions {
  grid-column: 1 / -1;
}

.admin-settings-actions {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.admin-settings-actions p {
  margin: 0;
  color: #176136;
  font-size: 0.76rem;
  font-weight: 750;
}

.admin-chat-page-main .admin-workspace-section {
  padding: 0;
  background: transparent;
}

.admin-chat-page-main .admin-chat-shell {
  width: 100%;
}

.admin-system-page .admin-chat-composer {
  position: relative;
  bottom: auto;
  z-index: auto;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 0.75rem;
  padding: 1rem;
}

.admin-system-page .admin-chat-composer textarea {
  min-height: 3.1rem;
  max-height: 11rem;
  padding: 0.85rem 1rem;
  resize: none;
  border-radius: 16px;
}

.admin-system-page .admin-chat-composer button {
  width: auto;
  min-width: 8rem;
  min-height: 3.1rem;
  padding: 0 1.25rem;
  border-radius: 14px;
  font-size: 0.92rem;
}

.admin-sidebar-backdrop {
  display: none;
}

@media (max-width: 1150px) {
  .admin-stat-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .admin-quick-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 900px) {
  .admin-app {
    display: block;
  }

  .admin-sidebar {
    position: fixed;
    left: 0;
    transform: translateX(-105%);
    width: min(82vw, 280px);
    transition: transform 180ms ease;
  }

  .admin-menu-open .admin-sidebar {
    transform: translateX(0);
  }

  .admin-sidebar-backdrop {
    position: fixed;
    inset: 0;
    z-index: 45;
    border: 0;
    background: rgba(2, 12, 27, 0.55);
  }

  .admin-menu-open .admin-sidebar-backdrop {
    display: block;
  }

  .admin-menu-toggle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 auto;
  }

  .admin-email {
    max-width: 12rem;
  }
}

@media (max-width: 640px) {
  .admin-topbar {
    min-height: 66px;
    padding: 0.65rem 0.8rem;
  }

  .admin-topbar-title span,
  .admin-email {
    display: none;
  }

  .admin-topbar-title h1 {
    font-size: 1rem;
  }

  .admin-topbar-account button {
    padding: 0.5rem 0.7rem;
  }

  .admin-page-main {
    padding: 1rem 0.8rem 1.5rem;
  }

  .admin-page-heading {
    align-items: flex-start;
  }

  .admin-stat-grid,
  .admin-stat-grid-wide,
  .admin-quick-grid,
  .admin-settings-form {
    grid-template-columns: 1fr;
  }

  .admin-report-toolbar { grid-template-columns: 1fr; }

  .admin-settings-wide,
  .admin-settings-actions {
    grid-column: auto;
  }

  .admin-settings-actions,
  .admin-review-heading {
    align-items: flex-start;
    flex-direction: column;
  }

  .admin-tabs {
    overflow-x: auto;
    padding-bottom: 0.25rem;
  }

  .admin-tabs button {
    flex: 0 0 auto;
  }

  .admin-system-page .admin-chat-composer {
    grid-template-columns: 1fr;
    padding: 0.85rem;
  }

  .admin-system-page .admin-chat-composer button {
    width: 100%;
  }
}

/* Chat attachments */
.chat-page .chat-composer {
  grid-template-columns: minmax(0, 1fr) auto 128px;
}

.admin-system-page .admin-chat-composer {
  grid-template-columns: minmax(0, 1fr) auto auto;
}

.chat-file-input {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
}

.chat-attachment-controls {
  display: flex;
  align-items: center;
  gap: 0.45rem;
  min-width: 0;
}

.chat-attach-button {
  min-height: 2.55rem;
  padding: 0.55rem 0.75rem;
  border: 1px solid rgba(214, 168, 79, 0.56);
  border-radius: 12px;
  background: #fff9ec;
  color: #76551a;
  font: inherit;
  font-size: 0.74rem;
  font-weight: 850;
  cursor: pointer;
}

.chat-attach-button:hover:not(:disabled) {
  border-color: #d6a84f;
  background: #fff2d2;
}

.chat-attach-button:disabled,
.chat-attachment-preview button:disabled {
  cursor: not-allowed;
  opacity: 0.58;
}

.chat-attachment-preview {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  min-width: 0;
  max-width: 13rem;
  padding: 0.38rem 0.48rem;
  border: 1px solid rgba(7, 26, 61, 0.12);
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.86);
  color: #071a3d;
  font-size: 0.68rem;
  font-weight: 700;
}

.chat-attachment-preview > span {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.chat-attachment-preview button {
  flex: 0 0 auto;
  padding: 0;
  border: 0;
  background: none;
  color: #991b1b;
  font: inherit;
  font-size: 0.66rem;
  font-weight: 850;
  cursor: pointer;
}

.chat-message-attachment,
.admin-chat-attachment {
  display: inline-flex;
  align-items: center;
  align-self: flex-start;
  max-width: 100%;
  margin-top: 0.35rem;
  padding: 0.65rem 0.8rem;
  border: 1px solid rgba(214, 168, 79, 0.42);
  border-radius: 14px;
  background: rgba(255, 253, 248, 0.92);
  color: #76551a;
  font-size: 0.76rem;
  font-weight: 800;
  overflow-wrap: anywhere;
  text-decoration: none;
}

.chat-message-user .chat-message-attachment,
.admin-chat-message.is-admin .admin-chat-attachment {
  align-self: flex-end;
}

.chat-message-attachment.is-image,
.admin-chat-attachment.is-image {
  display: block;
  padding: 0.25rem;
  overflow: hidden;
}

.chat-message-attachment.is-image img,
.admin-chat-attachment.is-image img {
  display: block;
  width: min(100%, 18rem);
  max-height: 18rem;
  border-radius: 10px;
  object-fit: cover;
}

@media (max-width: 640px) {
  .chat-page .chat-composer,
  .admin-system-page .admin-chat-composer {
    grid-template-columns: 1fr;
  }

  .chat-attachment-controls {
    flex-wrap: wrap;
  }

  .chat-attachment-preview {
    flex: 1 1 100%;
    max-width: none;
  }
}

/* Compact composer actions */
.chat-composer {
  display: flex;
  align-items: center;
  gap: 12px;
}

.chat-composer__input {
  flex: 1 1 auto;
  min-width: 0;
}

.chat-composer__input textarea {
  width: 100%;
}

.chat-composer .chat-attachment-controls {
  flex: 0 1 auto;
  gap: 10px;
}

.chat-composer .chat-action--cancel-upload {
  color: #9f1d18;
  border-color: rgba(159, 29, 24, 0.32);
}

.chat-composer .chat-action {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
  width: auto;
  min-width: 0;
  height: 48px;
  min-height: 48px;
  padding: 0 20px;
  border-radius: 13px;
  font: inherit;
  font-size: 14px;
  font-weight: 600;
  line-height: 1;
  white-space: nowrap;
  cursor: pointer;
  transition: transform 160ms ease, box-shadow 160ms ease, border-color 160ms ease, background-color 160ms ease;
}

.chat-action-icon {
  flex: 0 0 18px;
  width: 18px;
  height: 18px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.9;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.chat-composer .chat-action:hover:not(:disabled) {
  transform: translateY(-1px);
}

.chat-composer .chat-action:active:not(:disabled) {
  transform: translateY(0);
}

.chat-composer .chat-action:focus-visible {
  outline: 3px solid rgba(224, 170, 55, 0.25);
  outline-offset: 2px;
}

.chat-composer .chat-action:disabled {
  cursor: not-allowed;
  opacity: 0.5;
  transform: none;
  box-shadow: none;
}

.chat-composer .chat-action--secondary {
  border: 1px solid #d9dde5;
  background: #ffffff;
  color: #0b234f;
}

.chat-composer .chat-action--secondary:hover:not(:disabled) {
  border-color: rgba(214, 168, 79, 0.8);
  background: #fffaf0;
  box-shadow: 0 6px 14px rgba(7, 26, 61, 0.08);
}

.chat-composer .chat-action--remove {
  padding: 0 18px;
  border-color: rgba(180, 35, 24, 0.26);
  color: #b42318;
}

.chat-composer .chat-action--remove:hover:not(:disabled) {
  border-color: rgba(180, 35, 24, 0.5);
  background: #fff5f4;
}

.chat-composer .chat-action--send {
  padding: 0 22px;
  border: 1px solid #dda936;
  background: linear-gradient(135deg, #f6bd4b, #dda936);
  color: #071f4d;
  box-shadow: 0 6px 14px rgba(221, 169, 54, 0.2);
}

.chat-composer .chat-action--send:hover:not(:disabled) {
  box-shadow: 0 10px 20px rgba(221, 169, 54, 0.3);
}

.chat-composer .chat-attachment-preview {
  gap: 8px;
  max-width: 17rem;
  padding: 0;
  border: 0;
  background: transparent;
}

.chat-composer .chat-attachment-preview .chat-action {
  height: 48px;
  min-height: 48px;
}

.admin-chat-composer .admin-reply-feedback {
  flex: 1 0 100%;
  margin: 0;
}

@media (max-width: 700px) {
  .chat-composer,
  .admin-system-page .admin-chat-composer {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 10px;
    align-items: center;
  }

  .chat-composer__input {
    grid-column: 1 / -1;
  }

  .chat-composer .chat-attachment-controls {
    grid-column: 1;
    flex-wrap: wrap;
    gap: 10px;
  }

  .chat-composer .chat-action {
    height: 44px;
    min-height: 44px;
    padding: 0 16px;
    font-size: 13px;
  }

  .chat-composer .chat-action--send {
    grid-column: 2;
    padding: 0 18px;
  }

  .chat-composer .chat-attachment-preview {
    flex: 1 1 100%;
    max-width: none;
  }

  .chat-composer .chat-attachment-preview .chat-action {
    height: 44px;
    min-height: 44px;
  }

  .admin-chat-composer .admin-reply-feedback {
    grid-column: 1 / -1;
  }
}

@media (max-width: 420px) {
  .chat-composer .chat-action--secondary > span {
    display: none;
  }

  .chat-composer .chat-action--secondary {
    width: 44px;
    padding: 0;
  }

  .chat-composer .chat-action--send > span {
    display: inline;
  }
}

/* Keep an attached filename out of the desktop action row. */
@media (min-width: 701px) {
  .chat-page .chat-attachment-controls {
    display: grid;
    grid-template-columns: max-content;
    gap: 6px;
  }

  .chat-page .chat-attachment-preview {
    grid-column: 1;
    grid-row: 2;
    max-width: 15rem;
  }
}

/* ===== Kundali / Swiss Ephemeris calculator ===== */
.kundali-page .kundali-hero {
  padding-bottom: 1.5rem;
}

.kundali-page .kundali-hero h1 {
  margin: 0.4rem 0 0.85rem;
  max-width: 18ch;
  font-family: Georgia, "Times New Roman", serif;
  font-weight: 600;
  font-size: clamp(2rem, 4vw, 3rem);
  line-height: 1.15;
  color: var(--navy);
}

.kundali-lead {
  max-width: 52rem;
  margin: 0;
  color: var(--text-soft);
  font-size: 1.05rem;
  line-height: 1.65;
}

.kundali-layout {
  display: grid;
  grid-template-columns: minmax(280px, 380px) minmax(0, 1fr);
  gap: 1.75rem;
  align-items: start;
}

.kundali-form {
  position: sticky;
  top: 5.5rem;
  padding: 1.5rem;
  border: 1px solid var(--border-gold);
  border-radius: var(--radius-lg);
  background: rgba(255, 251, 243, 0.92);
  box-shadow: var(--shadow-soft);
}

.kundali-form h2 {
  margin: 0 0 0.35rem;
  font-family: Georgia, serif;
  color: var(--navy);
  font-size: 1.45rem;
}

.kundali-form-note {
  margin: 0 0 1rem;
  color: var(--text-soft);
  font-size: 0.92rem;
  line-height: 1.5;
}

.kundali-geo-row {
  display: grid;
  gap: 0.45rem;
  margin-bottom: 0.75rem;
}

.kundali-geo-status {
  margin: 0;
  min-height: 1.25rem;
  font-size: 0.88rem;
  color: var(--text-soft);
}

.kundali-coords {
  display: grid;
  gap: 0.45rem;
  margin-bottom: 0.85rem;
}

/* display:grid above would otherwise override the HTML hidden attribute */
.kundali-coords[hidden],
#place-results[hidden],
#place-results-a[hidden],
#place-results-b[hidden],
#rel-place-results[hidden],
#life-place-results[hidden],
#personal-place-results[hidden],
#cc-place-results[hidden],
#pn-place-results[hidden],
#timing-place-results[hidden],
#premium-place-results[hidden],
.premium-place-results[hidden] {
  display: none !important;
}

.kundali-place-option {
  display: block;
  width: 100%;
  text-align: left;
  padding: 0.65rem 0.8rem;
  border: 1px solid var(--border-gold);
  border-radius: var(--radius-sm);
  background: var(--white);
  color: var(--text-dark);
  cursor: pointer;
  font-size: 0.9rem;
  line-height: 1.35;
  transition: border-color 0.15s ease, background 0.15s ease;
}

.kundali-place-option:hover,
.kundali-place-option:focus-visible {
  border-color: var(--gold);
  background: rgba(214, 168, 79, 0.08);
  outline: none;
}

.kundali-coord-fields {
  display: grid;
  gap: 0.75rem;
  margin-bottom: 0.5rem;
}

.kundali-coord-fields small {
  display: block;
  margin-top: 0.25rem;
  color: var(--text-soft);
  font-size: 0.78rem;
}

.kundali-results {
  display: grid;
  gap: 1.25rem;
}

.kundali-page .card-panel {
  padding: 1.35rem 1.4rem 1.5rem;
  border: 1px solid var(--border-gold);
  border-radius: var(--radius-lg);
  background: rgba(255, 255, 255, 0.88);
  box-shadow: var(--shadow-soft);
}

.kundali-page .card-panel h3,
.kundali-page .card-panel h2 {
  margin: 0 0 0.5rem;
  font-family: Georgia, serif;
  color: var(--navy);
}

.kundali-page .card-panel h3 {
  font-size: 1.2rem;
}

.kundali-subhead {
  margin: 1.25rem 0 0.5rem;
  font-size: 1rem;
  color: var(--navy);
}

.kundali-meta {
  display: grid;
  grid-template-columns: minmax(8rem, 11rem) 1fr;
  gap: 0.45rem 1rem;
  margin: 0.85rem 0 0;
}

.kundali-meta dt {
  margin: 0;
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  color: rgba(6, 23, 53, 0.55);
}

.kundali-meta dd {
  margin: 0;
  color: var(--text-dark);
  font-size: 0.98rem;
}

.kundali-chart-header p {
  margin: 0 0 0.85rem;
  color: var(--text-soft);
  font-size: 0.9rem;
}

.kundali-chart-svg {
  width: 100%;
  max-width: min(440px, 100%);
  margin: 0 auto;
  min-width: 0;
}

.kundali-chart-svg .ni-chart {
  display: block;
  width: 100%;
  height: auto;
  max-width: 100%;
  filter: drop-shadow(0 10px 24px rgba(6, 23, 53, 0.08));
}

.kundali-chart-svg .ni-rashi-num {
  fill: rgba(7, 26, 61, 0.38);
  font-size: 9px;
  font-family: Georgia, serif;
  pointer-events: none;
}

/* Per-glyph font-size is set in SVG attributes; keep CSS from forcing a large size */
.kundali-chart-svg .ni-planet {
  fill: var(--navy);
  font-weight: 700;
  font-family: Inter, system-ui, sans-serif;
  letter-spacing: -0.03em;
  pointer-events: none;
}

.kundali-chart-svg .ni-lagna-hint {
  fill: var(--gold);
  font-size: 9px;
  font-weight: 600;
  font-family: Inter, system-ui, sans-serif;
  pointer-events: none;
  opacity: 0.85;
}

.kundali-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.92rem;
}

.kundali-table th,
.kundali-table td {
  padding: 0.55rem 0.65rem;
  border-bottom: 1px solid rgba(7, 26, 61, 0.08);
  text-align: left;
  white-space: nowrap;
}

.kundali-table th {
  font-size: 0.75rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: rgba(6, 23, 53, 0.55);
  background: rgba(255, 247, 232, 0.7);
}

.kundali-table tr.is-current {
  background: rgba(214, 168, 79, 0.14);
}

.kundali-table tr.is-retrograde td:last-child {
  color: #9a3412;
  font-weight: 700;
}

.kundali-dasha-current {
  margin: 0 0 0.85rem;
  color: var(--text-soft);
  line-height: 1.55;
}

.kundali-cta {
  background: linear-gradient(145deg, #071a3d 0%, #0b234f 55%, #12306a 100%);
  color: var(--navy);
  border-color: transparent;
}

.kundali-cta h3 {
  color: var(--navy) !important;
}

.kundali-cta p {
  color: var(--text-soft);
  line-height: 1.6;
}

.kundali-page .form-feedback.is-error {
  color: #b42318;
}

@media (max-width: 960px) {
  .kundali-layout {
    grid-template-columns: 1fr;
  }

  .kundali-form {
    position: static;
  }
}

@media (max-width: 640px) {
  .kundali-meta {
    grid-template-columns: 1fr;
    gap: 0.15rem 0;
  }

  .kundali-meta dt {
    margin-top: 0.45rem;
  }
}

/* ===== Chart UI (shared public + admin) ===== */
.kundali-results-mount,
.admin-report-chart-body,
.admin-chart-modal__body {
  display: grid;
  gap: 1.25rem;
}

.chart-ui-block {
  margin: 0;
}

.chart-ui-div-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
}

.chart-ui-div-col {
  min-width: 0;
}

.chart-ui-div-col .kundali-chart-svg {
  max-width: min(360px, 100%);
}

.admin-enquiry-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
}

.admin-chart-badge.is-ready { color: #166534; font-weight: 600; }
.admin-chart-badge.is-error { color: #b42318; font-weight: 600; }
.admin-chart-badge.is-none { color: rgba(6, 23, 53, 0.45); }

.admin-chart-modal {
  position: fixed;
  inset: 0;
  z-index: 80;
  display: grid;
  place-items: center;
  padding: 1rem;
}

.admin-chart-modal[hidden] {
  display: none !important;
}

.admin-chart-modal__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(6, 23, 53, 0.55);
}

.admin-chart-modal__panel {
  position: relative;
  z-index: 1;
  width: min(960px, 100%);
  max-height: min(90vh, 900px);
  overflow: auto;
  border-radius: var(--radius-lg);
  background: #fffbf3;
  border: 1px solid var(--border-gold);
  box-shadow: var(--shadow-strong);
  padding: 1.25rem 1.35rem 1.5rem;
}

.admin-chart-modal__header {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  align-items: flex-start;
  margin-bottom: 0.75rem;
}

.admin-chart-modal__header h2 {
  margin: 0.2rem 0;
  font-family: Georgia, serif;
  color: var(--navy);
}

.admin-chart-modal__sub {
  margin: 0;
  color: var(--text-soft);
  font-size: 0.92rem;
}

.admin-chart-modal__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
}

.admin-chart-modal__status {
  min-height: 1.25rem;
  margin: 0 0 0.75rem;
  color: var(--text-soft);
  font-size: 0.9rem;
}

.admin-report-chart-section {
  margin-top: 1.5rem;
  padding-top: 1.25rem;
  border-top: 1px solid var(--border-gold);
}

body.admin-chart-open {
  overflow: hidden;
}

@media (max-width: 800px) {
  .chart-ui-div-grid {
    grid-template-columns: 1fr;
  }
}

/* ===== Daily Horoscope ===== */
.horoscope-page .horoscope-hero {
  padding-bottom: 1.25rem;
}

.horoscope-page .horoscope-hero h1 {
  margin: 0.35rem 0 0.75rem;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(2rem, 4vw, 3rem);
  color: var(--navy);
  line-height: 1.15;
}

.horoscope-lead {
  max-width: 52rem;
  margin: 0 0 0.75rem;
  color: var(--text-soft);
  font-size: 1.05rem;
  line-height: 1.65;
}

.horoscope-date-line {
  margin: 0;
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--navy);
}

.horoscope-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: 1.25rem;
}

.horoscope-tab {
  border: 1px solid var(--border-gold);
  background: rgba(255, 255, 255, 0.7);
  color: var(--text-dark);
  border-radius: 999px;
  padding: 0.55rem 1.15rem;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.15s ease, border-color 0.15s ease, color 0.15s ease;
}

.horoscope-tab.is-active,
.horoscope-tab:hover {
  background: var(--navy);
  border-color: var(--navy);
  color: var(--cream);
}

.horoscope-panel-note {
  margin: 0 0 1rem;
  color: var(--text-soft);
  line-height: 1.55;
  font-size: 0.95rem;
}

.horoscope-loading {
  grid-column: 1 / -1;
  color: var(--text-soft);
}

.horoscope-loading.is-error {
  color: #b42318;
}

.horoscope-sign-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
  gap: 0.75rem;
  margin-bottom: 1.5rem;
}

.horoscope-sign-card {
  display: grid;
  gap: 0.3rem;
  text-align: left;
  padding: 0.9rem 0.95rem;
  border-radius: var(--radius-md);
  border: 1px solid var(--border-gold);
  background: rgba(255, 251, 243, 0.92);
  cursor: pointer;
  transition: border-color 0.15s ease, box-shadow 0.15s ease, transform 0.15s ease;
}

.horoscope-sign-card:hover,
.horoscope-sign-card.is-selected {
  border-color: var(--gold);
  box-shadow: var(--shadow-soft);
  transform: translateY(-1px);
}

.horoscope-sign-card.is-moon-sign {
  background: linear-gradient(160deg, rgba(214, 168, 79, 0.18), rgba(255, 251, 243, 0.95));
  border-color: rgba(214, 168, 79, 0.55);
}

.horoscope-sign-name {
  font-family: Georgia, serif;
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--navy);
}

.horoscope-sign-short {
  font-size: 0.78rem;
  color: var(--text-soft);
}

.horoscope-rating-pill {
  display: inline-flex;
  width: fit-content;
  margin-top: 0.15rem;
  padding: 0.15rem 0.5rem;
  border-radius: 999px;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.03em;
  text-transform: uppercase;
}

.horoscope-rating-pill.is-good,
.horoscope-rating.is-good {
  background: rgba(22, 101, 52, 0.12);
  color: #166534;
}

.horoscope-rating-pill.is-ok,
.horoscope-rating.is-ok {
  background: rgba(161, 98, 7, 0.12);
  color: #a16207;
}

.horoscope-rating-pill.is-caution,
.horoscope-rating.is-caution {
  background: rgba(180, 35, 24, 0.1);
  color: #b42318;
}

.horoscope-sign-blurb {
  font-size: 0.82rem;
  color: var(--text-soft);
  line-height: 1.35;
}

.horoscope-detail {
  margin-top: 0.5rem;
}

.horoscope-detail-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 1rem;
  margin-bottom: 0.75rem;
}

.horoscope-detail-header h2 {
  margin: 0.2rem 0 0;
  font-family: Georgia, serif;
  color: var(--navy);
}

.horoscope-rating {
  display: inline-flex;
  align-items: center;
  padding: 0.35rem 0.75rem;
  border-radius: 999px;
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  white-space: nowrap;
}

.horoscope-summary {
  margin: 0 0 1rem;
  line-height: 1.65;
  color: var(--text-dark);
  font-size: 1.02rem;
}

.horoscope-meta-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
  gap: 0.65rem;
  margin-bottom: 1.1rem;
}

.horoscope-meta-item {
  padding: 0.65rem 0.75rem;
  border-radius: var(--radius-sm);
  background: rgba(7, 26, 61, 0.04);
  border: 1px solid rgba(214, 168, 79, 0.18);
}

.horoscope-meta-item span {
  display: block;
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: rgba(6, 23, 53, 0.55);
  margin-bottom: 0.2rem;
}

.horoscope-meta-item strong {
  color: var(--navy);
  font-size: 0.95rem;
}

.horoscope-areas {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.75rem;
  margin-bottom: 1rem;
}

.horoscope-area-card {
  padding: 0.85rem 0.95rem;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border-gold);
  background: rgba(255, 255, 255, 0.65);
}

.horoscope-area-card h3 {
  margin: 0 0 0.35rem;
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--gold);
}

.horoscope-area-card p {
  margin: 0;
  font-size: 0.92rem;
  line-height: 1.5;
  color: var(--text-dark);
}

.horoscope-tip {
  margin: 0;
  padding: 0.85rem 1rem;
  border-left: 3px solid var(--gold);
  background: rgba(214, 168, 79, 0.1);
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  color: var(--text-dark);
  line-height: 1.5;
}

.horoscope-personal-layout {
  display: grid;
  grid-template-columns: minmax(260px, 360px) minmax(0, 1fr);
  gap: 1.5rem;
  align-items: start;
}

.horoscope-form {
  padding: 1.35rem;
  border: 1px solid var(--border-gold);
  border-radius: var(--radius-lg);
  background: rgba(255, 251, 243, 0.92);
  box-shadow: var(--shadow-soft);
}

.horoscope-form h2 {
  margin: 0 0 0.35rem;
  font-family: Georgia, serif;
  color: var(--navy);
  font-size: 1.35rem;
}

.horoscope-gochar {
  margin: 0 0 1rem;
  padding: 0.9rem 1rem;
  border-radius: var(--radius-sm);
  background: rgba(7, 26, 61, 0.03);
  border: 1px solid rgba(7, 26, 61, 0.08);
}

.horoscope-gochar h3 {
  margin: 0 0 0.5rem;
  font-size: 1rem;
  color: var(--navy);
}

.horoscope-gochar-list {
  margin: 0 0 0.75rem;
  padding-left: 1.15rem;
  color: var(--text-dark);
  line-height: 1.5;
}

.horoscope-gochar-list li {
  margin-bottom: 0.25rem;
}

@media (max-width: 900px) {
  .horoscope-personal-layout {
    grid-template-columns: 1fr;
  }

  .horoscope-areas {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 560px) {
  .horoscope-sign-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .horoscope-detail-header {
    flex-direction: column;
  }
}

/* ===== Detailed horoscope reading layout ===== */
.hz-reading {
  padding: 1.5rem 1.5rem 1.75rem;
}

.hz-reading--story {
  display: grid;
  gap: 1rem;
}

.hz-card {
  margin: 0;
  padding: 1.05rem 1.1rem 1.2rem;
  border-radius: var(--radius-md);
  border: 1px solid var(--border-gold);
  background: rgba(255, 255, 255, 0.88);
  box-shadow: var(--shadow-soft);
}

.hz-card-title {
  margin: 0 0 0.75rem;
  font-family: Georgia, serif;
  font-size: 1.12rem;
  color: var(--navy);
  line-height: 1.3;
}

.hz-headline-line {
  margin: 0 0 0.75rem;
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--navy);
  line-height: 1.4;
}

.hz-action-grid,
.hz-window-grid,
.hz-plan-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.65rem;
}

@media (min-width: 640px) {
  .hz-action-grid,
  .hz-window-grid,
  .hz-plan-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (min-width: 900px) {
  .hz-window-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .hz-plan-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

.hz-action-card,
.hz-window-card,
.hz-plan-card {
  padding: 0.8rem 0.9rem;
  border-radius: 12px;
  border: 1px solid rgba(7, 26, 61, 0.08);
  background: rgba(255, 251, 243, 0.75);
  min-width: 0;
}

.hz-action-card h4,
.hz-window-card h4,
.hz-plan-card h4 {
  margin: 0 0 0.35rem;
  font-size: 0.95rem;
  color: var(--navy);
}

.hz-action-card p,
.hz-window-card p,
.hz-plan-card p {
  margin: 0;
  font-size: 0.9rem;
  line-height: 1.5;
  color: var(--text-dark);
}

.hz-window-range,
.hz-plan-range {
  display: block;
  margin: 0 0 0.35rem;
  font-size: 0.95rem;
  font-weight: 750;
  color: #166534;
  font-variant-numeric: tabular-nums;
}

.hz-window-card.is-caution {
  background: rgba(180, 35, 24, 0.05);
  border-color: rgba(180, 35, 24, 0.14);
}

.hz-window-card.is-caution .hz-window-range {
  color: #b42318;
}

.hz-avoid-list {
  margin: 0;
  padding-left: 1.15rem;
  color: var(--text-dark);
  line-height: 1.55;
}

.hz-avoid-list li {
  margin-bottom: 0.45rem;
}

.hz-final {
  margin: 0;
}

.hz-basis {
  margin: 0.25rem 0 0;
  border: 1px solid rgba(7, 26, 61, 0.1);
  border-radius: 14px;
  background: rgba(255, 251, 243, 0.7);
  overflow: hidden;
}

.hz-basis-summary {
  cursor: pointer;
  list-style: none;
  padding: 0.85rem 1rem;
  font-size: 0.92rem;
  font-weight: 700;
  color: var(--navy);
  background: rgba(7, 26, 61, 0.03);
}

.hz-basis-summary::-webkit-details-marker {
  display: none;
}

.hz-basis-summary::before {
  content: "▸ ";
  color: var(--gold);
  font-weight: 900;
}

.hz-basis[open] > .hz-basis-summary::before {
  content: "▾ ";
}

.hz-basis-body {
  padding: 0.75rem 1rem 1.1rem;
  border-top: 1px solid rgba(7, 26, 61, 0.08);
}

.hz-basis-note {
  margin: 0 0 0.55rem;
  font-size: 0.85rem;
  color: var(--text-soft);
  line-height: 1.45;
}

.hz-basis-list {
  margin: 0;
  padding-left: 1.1rem;
  font-size: 0.86rem;
  color: rgba(6, 23, 53, 0.78);
  line-height: 1.5;
}

.hz-basis-list li {
  margin-bottom: 0.3rem;
}

.hz-hora-expand {
  margin-top: 0.85rem;
  border: 1px dashed rgba(7, 26, 61, 0.15);
  border-radius: 12px;
  padding: 0.15rem 0.65rem 0.65rem;
  background: rgba(255, 255, 255, 0.55);
}

.hz-hora-expand > summary {
  cursor: pointer;
  padding: 0.55rem 0.25rem;
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--navy);
}

.hz-hora-expand-body {
  margin-top: 0.35rem;
}

@media (max-width: 700px) {
  .hz-reading {
    padding: 1rem 0.9rem 1.25rem;
  }

  .hz-card {
    padding: 0.9rem 0.85rem 1.05rem;
  }

  .hz-action-grid,
  .hz-window-grid,
  .hz-plan-grid {
    grid-template-columns: 1fr;
  }

  .hz-title {
    max-width: none;
  }
}

.hz-hero {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 1rem;
  margin-bottom: 0.85rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid rgba(214, 168, 79, 0.28);
}

.hz-title {
  margin: 0.25rem 0 0.35rem;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(1.35rem, 2.5vw, 1.75rem);
  line-height: 1.25;
  color: var(--navy);
  max-width: 28ch;
}

.hz-sub {
  margin: 0;
  color: var(--text-soft);
  font-size: 0.92rem;
}

.hz-badge {
  display: grid;
  gap: 0.15rem;
  justify-items: center;
  min-width: 7.5rem;
  padding: 0.65rem 0.85rem;
  border-radius: var(--radius-md);
  text-align: center;
}

.hz-badge-label {
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.hz-badge-stars {
  font-size: 0.85rem;
  letter-spacing: 0.08em;
  opacity: 0.9;
}

.hz-badge.is-good {
  background: rgba(22, 101, 52, 0.12);
  color: #166534;
}

.hz-badge.is-ok {
  background: rgba(161, 98, 7, 0.12);
  color: #a16207;
}

.hz-badge.is-caution {
  background: rgba(180, 35, 24, 0.1);
  color: #b42318;
}

.hz-lede {
  margin: 0 0 1rem;
  font-size: 1.05rem;
  line-height: 1.65;
  color: var(--text-dark);
}

.hz-lucky-strip {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
  gap: 0.55rem;
  margin-bottom: 1.35rem;
}

.hz-lucky-item {
  padding: 0.7rem 0.8rem;
  border-radius: var(--radius-sm);
  background: linear-gradient(160deg, rgba(214, 168, 79, 0.14), rgba(255, 251, 243, 0.9));
  border: 1px solid rgba(214, 168, 79, 0.28);
}

.hz-lucky-item span {
  display: block;
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: rgba(6, 23, 53, 0.55);
  margin-bottom: 0.2rem;
}

.hz-lucky-item strong {
  color: var(--navy);
  font-size: 0.98rem;
}

.hz-section {
  margin: 0 0 1.35rem;
}

.hz-section-title {
  margin: 0 0 0.65rem;
  font-family: Georgia, serif;
  font-size: 1.15rem;
  color: var(--navy);
  padding-bottom: 0.35rem;
  border-bottom: 2px solid rgba(214, 168, 79, 0.35);
}

.hz-glance {
  margin: 0;
  padding: 0.85rem 0.85rem 0.85rem 1.4rem;
  border-radius: var(--radius-md);
  background: rgba(7, 26, 61, 0.04);
  border: 1px solid rgba(7, 26, 61, 0.06);
  line-height: 1.55;
  color: var(--text-dark);
}

.hz-glance li {
  margin-bottom: 0.35rem;
}

.hz-glance li:last-child {
  margin-bottom: 0;
}

.hz-para {
  margin: 0 0 0.75rem;
  line-height: 1.7;
  color: var(--text-dark);
  font-size: 0.98rem;
}

.hz-para:last-child {
  margin-bottom: 0;
}

.hz-areas {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.85rem;
}

.hz-area-card {
  padding: 1rem 1.05rem;
  border-radius: var(--radius-md);
  border: 1px solid var(--border-gold);
  background: rgba(255, 255, 255, 0.72);
}

.hz-area-head {
  display: flex;
  align-items: center;
  gap: 0.45rem;
  margin-bottom: 0.45rem;
}

.hz-area-head h4 {
  margin: 0;
  font-size: 1rem;
  color: var(--navy);
}

.hz-area-icon {
  color: var(--gold);
  font-size: 0.95rem;
}

.hz-area-headline {
  margin: 0 0 0.55rem;
  font-size: 0.9rem;
  font-weight: 600;
  color: rgba(6, 23, 53, 0.72);
}

.hz-area-label {
  margin: 0.45rem 0 0.15rem;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: rgba(6, 23, 53, 0.45);
}

.hz-action {
  margin: 0;
  padding: 0.55rem 0.65rem;
  border-radius: 10px;
  background: rgba(7, 26, 61, 0.05);
  border-left: 3px solid var(--gold);
  font-size: 0.92rem;
  line-height: 1.45;
  color: var(--navy);
  font-weight: 600;
}

.hz-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.85rem;
}

.hz-list-card {
  padding: 0.95rem 1rem;
  border-radius: var(--radius-md);
  border: 1px solid transparent;
}

.hz-list-card h4 {
  margin: 0 0 0.5rem;
  font-size: 0.95rem;
}

.hz-list-card ul {
  margin: 0;
  padding-left: 1.15rem;
  line-height: 1.5;
  font-size: 0.92rem;
}

.hz-list-card li {
  margin-bottom: 0.35rem;
}

.hz-list-card.is-do {
  background: rgba(22, 101, 52, 0.07);
  border-color: rgba(22, 101, 52, 0.15);
  color: #14532d;
}

.hz-list-card.is-dont {
  background: rgba(180, 35, 24, 0.06);
  border-color: rgba(180, 35, 24, 0.12);
  color: #7f1d1d;
}

.hz-timings {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.65rem;
}

.hz-timing-card {
  padding: 0.85rem 0.9rem;
  border-radius: var(--radius-sm);
  background: rgba(255, 251, 243, 0.95);
  border: 1px solid var(--border-gold);
}

.hz-timing-card h4 {
  margin: 0 0 0.35rem;
  color: var(--gold);
  font-size: 0.82rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.hz-timing-card p {
  margin: 0;
  font-size: 0.9rem;
  line-height: 1.45;
  color: var(--text-dark);
}

.hz-gochar {
  margin: 0;
  padding-left: 1.2rem;
  line-height: 1.55;
  color: var(--text-dark);
}

.hz-gochar li {
  margin-bottom: 0.4rem;
}

.hz-planet-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
  gap: 0.55rem;
}

.hz-planet-card {
  padding: 0.7rem 0.75rem;
  border-radius: var(--radius-sm);
  border: 1px solid rgba(7, 26, 61, 0.08);
  background: rgba(255, 255, 255, 0.65);
}

.hz-planet-card strong {
  display: block;
  color: var(--navy);
  font-size: 0.9rem;
}

.hz-planet-card span {
  display: block;
  font-size: 0.75rem;
  color: var(--gold);
  margin: 0.15rem 0 0.35rem;
}

.hz-planet-card p {
  margin: 0;
  font-size: 0.82rem;
  line-height: 1.4;
  color: var(--text-soft);
}

.hz-factor-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
  gap: 0.5rem;
}

.hz-factor {
  padding: 0.6rem 0.7rem;
  border-radius: 10px;
  background: rgba(7, 26, 61, 0.035);
  border: 1px solid rgba(7, 26, 61, 0.06);
}

.hz-factor span {
  display: block;
  font-size: 0.68rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: rgba(6, 23, 53, 0.5);
  margin-bottom: 0.15rem;
}

.hz-factor strong {
  font-size: 0.88rem;
  color: var(--navy);
  font-weight: 600;
  line-height: 1.3;
}

.hz-tip {
  margin: 0.25rem 0 0;
  padding: 1rem 1.1rem;
  border-radius: var(--radius-md);
  background: linear-gradient(135deg, #071a3d 0%, #0b234f 100%);
  color: var(--cream);
}

.hz-tip strong {
  display: block;
  font-size: 0.72rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 0.35rem;
}

.hz-tip p {
  margin: 0;
  line-height: 1.55;
  font-size: 0.98rem;
  color: rgba(255, 247, 232, 0.92);
}

.hz-compare {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.75rem;
}

.hz-compare-card {
  padding: 0.9rem 1rem;
  border-radius: var(--radius-md);
  border: 1px solid var(--border-gold);
  background: rgba(255, 251, 243, 0.85);
}

.hz-compare-card h4 {
  margin: 0 0 0.4rem;
  font-size: 0.95rem;
  color: var(--navy);
}

.hz-compare-card p {
  margin: 0;
  font-size: 0.9rem;
  line-height: 1.45;
  color: var(--text-soft);
}

.hz-mini-rating {
  display: inline-block;
  margin-bottom: 0.4rem !important;
  padding: 0.15rem 0.5rem;
  border-radius: 999px;
  font-size: 0.72rem !important;
  font-weight: 700;
}

.hz-mini-rating.is-good {
  background: rgba(22, 101, 52, 0.12);
  color: #166534;
}

.hz-mini-rating.is-ok {
  background: rgba(161, 98, 7, 0.12);
  color: #a16207;
}

.hz-mini-rating.is-caution {
  background: rgba(180, 35, 24, 0.1);
  color: #b42318;
}

@media (max-width: 800px) {
  .hz-areas,
  .hz-split,
  .hz-timings,
  .hz-compare {
    grid-template-columns: 1fr;
  }

  .hz-hero {
    flex-direction: column;
  }

  .hz-badge {
    align-self: flex-start;
  }
}

.hz-section-note {
  margin: -0.25rem 0 0.75rem;
  font-size: 0.88rem;
  color: var(--text-soft);
  line-height: 1.45;
}

.hz-reason-list {
  list-style: none;
  margin: 0;
  padding: 0;
}

.hz-reason-list li {
  margin-bottom: 0.75rem;
  padding-bottom: 0.65rem;
  border-bottom: 1px solid rgba(0, 0, 0, 0.06);
}

.hz-reason-list li:last-child {
  margin-bottom: 0;
  padding-bottom: 0;
  border-bottom: none;
}

.hz-item-text {
  display: block;
  font-size: 0.92rem;
  line-height: 1.45;
  font-weight: 600;
}

.hz-item-reason {
  display: block;
  margin-top: 0.3rem;
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.02em;
  opacity: 0.75;
  line-height: 1.35;
}

.hz-list-card.is-do .hz-item-reason {
  color: #166534;
}

.hz-list-card.is-dont .hz-item-reason {
  color: #9a3412;
}

/* ===== Full Life Report ===== */
.life-report-page .lr-hero {
  padding-bottom: 1rem;
}

.life-report-page .lr-hero h1 {
  margin: 0.35rem 0 0.75rem;
  max-width: 18ch;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(1.9rem, 4vw, 2.85rem);
  line-height: 1.15;
  color: var(--navy);
}

.lr-hero-lead {
  max-width: 46rem;
  margin: 0;
  color: var(--text-soft);
  font-size: 1.05rem;
  line-height: 1.65;
}

.lr-layout {
  display: grid;
  grid-template-columns: minmax(280px, 380px) minmax(0, 1fr);
  gap: 1.75rem;
  align-items: start;
}

.lr-form {
  position: sticky;
  top: 5.25rem;
  padding: 1.4rem;
  border: 1px solid var(--border-gold);
  border-radius: var(--radius-lg);
  background: rgba(255, 251, 243, 0.95);
  box-shadow: var(--shadow-soft);
}

.lr-form h2 {
  margin: 0 0 0.35rem;
  font-family: Georgia, serif;
  color: var(--navy);
}

.lr-form-note {
  margin: 0 0 0.9rem;
  font-size: 0.9rem;
  color: var(--text-soft);
  line-height: 1.5;
}

.lr-toolbar {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
  margin-bottom: 1rem;
}

.lr-report {
  padding: 1.5rem 1.5rem 2rem;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border-gold);
  background: rgba(255, 255, 255, 0.92);
  box-shadow: var(--shadow-soft);
}

.lr-cover {
  margin-bottom: 1.5rem;
  padding-bottom: 1.25rem;
  border-bottom: 2px solid rgba(214, 168, 79, 0.35);
}

.lr-title {
  margin: 0.35rem 0 0.45rem;
  font-family: Georgia, serif;
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  color: var(--navy);
  line-height: 1.2;
}

.lr-subtitle {
  margin: 0 0 1rem;
  color: var(--text-soft);
}

.lr-chips {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
  gap: 0.5rem;
}

.lr-chip {
  padding: 0.65rem 0.75rem;
  border-radius: var(--radius-sm);
  background: linear-gradient(160deg, rgba(214, 168, 79, 0.16), rgba(255, 251, 243, 0.9));
  border: 1px solid rgba(214, 168, 79, 0.3);
}

.lr-chip span {
  display: block;
  font-size: 0.68rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: rgba(6, 23, 53, 0.55);
  margin-bottom: 0.15rem;
}

.lr-chip strong {
  color: var(--navy);
  font-size: 0.92rem;
  line-height: 1.3;
}

.lr-section {
  margin: 0 0 1.75rem;
  padding-bottom: 1.35rem;
  border-bottom: 1px solid rgba(7, 26, 61, 0.08);
}

.lr-section:last-of-type {
  border-bottom: none;
}

.lr-section-head {
  display: flex;
  gap: 0.75rem;
  align-items: flex-start;
  margin-bottom: 0.75rem;
}

.lr-num {
  font-family: Georgia, serif;
  font-size: 1.4rem;
  color: var(--gold);
  line-height: 1;
  min-width: 2rem;
}

.lr-kicker {
  margin: 0 0 0.2rem;
  font-size: 0.72rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: rgba(6, 23, 53, 0.5);
}

.lr-section h2 {
  margin: 0;
  font-family: Georgia, serif;
  font-size: 1.35rem;
  color: var(--navy);
}

.lr-lead {
  margin: 0 0 0.85rem;
  font-size: 1.05rem;
  line-height: 1.7;
  color: var(--text-dark);
}

.lr-para {
  margin: 0 0 0.75rem;
  line-height: 1.7;
  color: var(--text-dark);
  font-size: 0.98rem;
}

.lr-snapshot,
.lr-bullets {
  margin: 0.5rem 0 0;
  padding-left: 1.2rem;
  line-height: 1.55;
  color: var(--text-dark);
}

.lr-snapshot li,
.lr-bullets li {
  margin-bottom: 0.35rem;
}

.lr-chart {
  max-width: 420px;
  margin: 0.5rem auto 0;
}

.lr-planet-card {
  margin-bottom: 0.85rem;
  padding: 0.95rem 1.05rem 1.15rem;
  border-radius: var(--radius-md);
  border: 1px solid var(--border-gold);
  background: rgba(255, 251, 243, 0.55);
}

.lr-planet-card h3 {
  margin: 0 0 0.25rem;
  font-size: 1.08rem;
  color: var(--navy);
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.45rem;
}

.lr-planet-effect {
  margin: 0.45rem 0 0.55rem;
  padding: 0.65rem 0.75rem;
  border-radius: 12px;
  background: rgba(214, 168, 79, 0.1);
  border: 1px solid rgba(214, 168, 79, 0.22);
  color: var(--navy);
  font-weight: 600;
  line-height: 1.5;
  font-size: 0.95rem;
}

.lr-insights-label {
  margin: 1rem 0 0.35rem;
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: rgba(6, 23, 53, 0.55);
}

.lr-insights,
.lr-snapshot {
  margin: 0.35rem 0 0.75rem;
  padding-left: 1.2rem;
  color: var(--text-dark);
  line-height: 1.55;
}

.lr-insights li,
.lr-snapshot li {
  margin-bottom: 0.4rem;
}

.lr-conclusion {
  margin: 0.85rem 0 0.5rem;
  padding: 0.85rem 0.95rem;
  border-radius: 14px;
  border-left: 3px solid var(--gold);
  background: rgba(7, 26, 61, 0.04);
  color: var(--navy);
  font-weight: 600;
  line-height: 1.55;
}

.lr-basis {
  margin-top: 1rem;
  border: 1px solid rgba(7, 26, 61, 0.1);
  border-radius: 14px;
  background: rgba(255, 251, 243, 0.65);
  overflow: hidden;
}

.lr-basis-summary {
  cursor: pointer;
  list-style: none;
  padding: 0.75rem 1rem;
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--navy);
  background: rgba(7, 26, 61, 0.03);
}

.lr-basis-summary::-webkit-details-marker {
  display: none;
}

.lr-basis-summary::before {
  content: "▸ ";
  color: var(--gold);
  font-weight: 900;
}

.lr-basis[open] > .lr-basis-summary::before {
  content: "▾ ";
}

.lr-basis-body {
  padding: 0.75rem 1rem 1.1rem;
  border-top: 1px solid rgba(7, 26, 61, 0.08);
}

.lr-basis-note {
  margin: 0 0 0.65rem;
  font-size: 0.85rem;
  color: var(--text-soft);
  line-height: 1.45;
}

.lr-basis-list {
  margin: 0;
  padding-left: 1.15rem;
  font-size: 0.86rem;
  color: rgba(6, 23, 53, 0.78);
  line-height: 1.5;
}

.lr-basis-list li {
  margin-bottom: 0.3rem;
}

.lr-basis-full {
  margin-top: 1.75rem;
  margin-bottom: 1rem;
}

.lr-basis-full > .lr-basis-summary {
  font-size: 1rem;
  padding: 0.95rem 1.1rem;
}

.lr-para {
  line-height: 1.7;
}

.lr-planet-bullets {
  margin: 0.35rem 0 0.65rem;
  padding-left: 1.15rem;
  color: var(--text-dark);
  line-height: 1.5;
  font-size: 0.92rem;
}

.lr-planet-bullets li {
  margin-bottom: 0.3rem;
}

.lr-planet-takeaways {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 150px), 1fr));
  gap: 0.5rem;
  margin-top: 0.75rem;
}

.lr-takeaway {
  padding: 0.6rem 0.7rem;
  border-radius: 12px;
  border: 1px solid rgba(7, 26, 61, 0.08);
  background: rgba(7, 26, 61, 0.03);
}

.lr-takeaway span {
  display: block;
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: rgba(6, 23, 53, 0.5);
  margin-bottom: 0.2rem;
}

.lr-takeaway strong {
  display: block;
  font-size: 0.88rem;
  font-weight: 650;
  line-height: 1.4;
  color: var(--navy);
}

.lr-takeaway.is-gift {
  background: rgba(22, 101, 52, 0.07);
  border-color: rgba(22, 101, 52, 0.15);
}

.lr-takeaway.is-watch {
  background: rgba(180, 35, 24, 0.05);
  border-color: rgba(180, 35, 24, 0.12);
}

.lr-takeaway.is-advice {
  background: rgba(214, 168, 79, 0.1);
  border-color: rgba(214, 168, 79, 0.22);
}

.lr-tag {
  font-size: 0.7rem;
  padding: 0.1rem 0.4rem;
  border-radius: 999px;
  background: rgba(180, 35, 24, 0.1);
  color: #b42318;
}

.lr-meta-line {
  margin: 0 0 0.45rem;
  font-size: 0.85rem;
  color: var(--text-soft);
}

.lr-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.9rem;
}

.lr-table th,
.lr-table td {
  padding: 0.5rem 0.55rem;
  border-bottom: 1px solid rgba(7, 26, 61, 0.08);
  text-align: left;
  white-space: nowrap;
}

.lr-table th {
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: rgba(6, 23, 53, 0.55);
  background: rgba(255, 247, 232, 0.75);
}

.lr-dasha-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 0.65rem;
}

.lr-dasha-card {
  padding: 0.85rem 0.95rem;
  border-radius: var(--radius-sm);
  border: 1px solid rgba(7, 26, 61, 0.1);
  background: #fff;
}

.lr-dasha-card.is-current {
  border-color: var(--gold);
  background: rgba(214, 168, 79, 0.12);
}

.lr-dasha-card h3 {
  margin: 0 0 0.3rem;
  font-size: 1rem;
  color: var(--navy);
}

.lr-foot {
  margin-top: 1rem;
  padding-top: 1rem;
  border-top: 1px solid rgba(7, 26, 61, 0.1);
  color: var(--text-soft);
  font-size: 0.85rem;
  line-height: 1.5;
}

.lr-foot p {
  margin: 0 0 0.45rem;
}

@media (max-width: 960px) {
  .lr-layout {
    grid-template-columns: 1fr;
  }

  .lr-form {
    position: static;
  }
}

@media print {
  .site-header,
  .site-footer,
  .lr-hero,
  .lr-form,
  .no-print,
  .lr-toolbar {
    display: none !important;
  }

  .lr-layout {
    display: block;
  }

  .lr-report {
    border: none;
    box-shadow: none;
    padding: 0;
  }

  .lr-section {
    break-inside: avoid;
  }

  body {
    background: #fff;
  }
}

.lr-lucky-banner {
  margin-top: 1.15rem;
  padding: 1rem 1.1rem;
  border-radius: var(--radius-md);
  background: linear-gradient(135deg, rgba(7, 26, 61, 0.96), rgba(11, 35, 79, 0.92));
  color: var(--cream);
}

.lr-lucky-banner h2 {
  margin: 0 0 0.75rem;
  font-family: Georgia, serif;
  font-size: 1.15rem;
  color: var(--gold);
}

.lr-lucky-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.65rem;
}

.lr-lucky-item {
  padding: 0.7rem 0.75rem;
  border-radius: var(--radius-sm);
  background: rgba(255, 247, 232, 0.08);
  border: 1px solid rgba(214, 168, 79, 0.28);
}

.lr-lucky-item span {
  display: block;
  font-size: 0.7rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: rgba(255, 247, 232, 0.65);
  margin-bottom: 0.25rem;
}

.lr-lucky-item strong {
  display: block;
  font-size: 0.98rem;
  line-height: 1.35;
  color: #fff7e8;
}

.lr-lucky-source {
  margin: 0.75rem 0 0;
  font-size: 0.85rem;
  line-height: 1.45;
  color: rgba(255, 247, 232, 0.75);
}

@media (max-width: 700px) {
  .lr-lucky-grid {
    grid-template-columns: 1fr;
  }
}

.hz-subtitle {
  margin: 1rem 0 0.55rem;
  font-size: 0.95rem;
  color: var(--navy);
  font-weight: 700;
}

.hz-hora-windows {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(min(100%, 160px), 1fr));
  gap: 0.55rem;
  margin-bottom: 0.75rem;
}

.hz-hora-card {
  padding: 0.75rem 0.85rem;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border-gold);
  background: rgba(255, 251, 243, 0.9);
}

.hz-hora-card strong {
  display: block;
  color: var(--navy);
  font-size: 0.95rem;
  margin-bottom: 0.2rem;
}

.hz-hora-lord {
  display: inline-block;
  margin-bottom: 0.35rem;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--gold);
}

.hz-hora-card p {
  margin: 0;
  font-size: 0.85rem;
  line-height: 1.4;
  color: var(--text-soft);
}

.hz-hora-card.is-excellent {
  background: rgba(22, 101, 52, 0.08);
  border-color: rgba(22, 101, 52, 0.22);
}

.hz-hora-card.is-good {
  background: rgba(214, 168, 79, 0.12);
}

.hz-hora-card.is-cautious {
  background: rgba(180, 35, 24, 0.06);
  border-color: rgba(180, 35, 24, 0.15);
}

.hz-hora-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.88rem;
  margin-top: 0.35rem;
}

.hz-hora-table th,
.hz-hora-table td {
  padding: 0.45rem 0.5rem;
  border-bottom: 1px solid rgba(7, 26, 61, 0.08);
  text-align: left;
  white-space: nowrap;
}

.hz-hora-table th {
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: rgba(6, 23, 53, 0.55);
  background: rgba(255, 247, 232, 0.8);
}

.hz-hora-table tr.is-excellent {
  background: rgba(22, 101, 52, 0.07);
}

.hz-hora-table tr.is-good {
  background: rgba(214, 168, 79, 0.08);
}

.hz-hora-table tr.is-cautious {
  background: rgba(180, 35, 24, 0.05);
}

.hz-hora-table tr.is-mixed td {
  color: var(--text-soft);
}

.hz-hours-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.85rem;
  margin: 0.75rem 0 1rem;
}

.hz-hours-col {
  padding: 0.95rem 1rem;
  border-radius: var(--radius-md);
  border: 1px solid transparent;
}

.hz-hours-col h4 {
  margin: 0 0 0.65rem;
  font-size: 1rem;
}

.hz-hours-col.is-good {
  background: rgba(22, 101, 52, 0.07);
  border-color: rgba(22, 101, 52, 0.18);
  color: #14532d;
}

.hz-hours-col.is-bad {
  background: rgba(180, 35, 24, 0.06);
  border-color: rgba(180, 35, 24, 0.14);
  color: #7f1d1d;
}

.hz-hours-list {
  list-style: none;
  margin: 0;
  padding: 0;
}

.hz-hours-list li {
  margin-bottom: 0.75rem;
  padding-bottom: 0.65rem;
  border-bottom: 1px solid rgba(0, 0, 0, 0.06);
}

.hz-hours-list li:last-child {
  margin-bottom: 0;
  padding-bottom: 0;
  border-bottom: none;
}

.hz-hours-list strong {
  display: block;
  font-size: 0.95rem;
  margin-bottom: 0.15rem;
}

.hz-hours-col.is-good .hz-hora-lord {
  color: #166534;
}

.hz-hours-col.is-bad .hz-hora-lord {
  color: #9a3412;
}

.hz-hours-list p {
  margin: 0.25rem 0 0;
  font-size: 0.85rem;
  line-height: 1.4;
  opacity: 0.9;
}

@media (max-width: 700px) {
  .hz-hours-split {
    grid-template-columns: 1fr;
  }
}

.lr-varga-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(min(100%, 260px), 1fr));
  gap: 1rem;
  margin: 1rem 0;
}

.lr-varga-card {
  padding: 0.9rem 1rem 1.1rem;
  border-radius: var(--radius-md);
  border: 1px solid var(--border-gold);
  background: rgba(255, 251, 243, 0.75);
}

.lr-varga-card h3 {
  margin: 0 0 0.25rem;
  font-family: Georgia, serif;
  font-size: 1.05rem;
  color: var(--navy);
}

.lr-varga-purpose {
  margin: 0 0 0.35rem;
  font-size: 0.85rem;
  color: var(--text-soft);
  line-height: 1.4;
}

.lr-varga-chart {
  max-width: 100%;
  margin: 0.4rem auto 0;
}

.lr-subtitle-inline {
  margin: 1.25rem 0 0.5rem;
  font-size: 1.05rem;
  color: var(--navy);
  font-family: Georgia, serif;
}

.chart-ui-div-grid--all {
  grid-template-columns: repeat(auto-fill, minmax(min(100%, 240px), 1fr));
}

@media print {
  .lr-varga-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .lr-varga-card {
    break-inside: avoid;
  }
}

/* ===== Timing analysis page ===== */
.timing-page .tm-hero h1 {
  margin: 0.35rem 0 0.75rem;
  max-width: 20ch;
  font-family: Georgia, serif;
  font-size: clamp(1.85rem, 4vw, 2.75rem);
  color: var(--navy);
  line-height: 1.15;
}

.tm-lead {
  max-width: 48rem;
  margin: 0;
  color: var(--text-soft);
  line-height: 1.65;
  font-size: 1.05rem;
}

.tm-layout {
  display: grid;
  grid-template-columns: minmax(280px, 400px) minmax(0, 1fr);
  gap: 1.5rem;
  align-items: start;
}

.tm-form {
  position: sticky;
  top: 5.25rem;
  padding: 1.35rem;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border-gold);
  background: rgba(255, 251, 243, 0.95);
  box-shadow: var(--shadow-soft);
}

.tm-form h2,
.tm-form-h2 {
  margin: 0 0 0.75rem;
  font-family: Georgia, serif;
  font-size: 1.25rem;
  color: var(--navy);
}

.tm-form-h2 {
  margin-top: 1.25rem;
}

.tm-category-grid {
  display: grid;
  gap: 0.5rem;
  margin-bottom: 0.85rem;
}

.tm-cat-card {
  display: grid;
  gap: 0.2rem;
  padding: 0.75rem 0.85rem;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border-gold);
  background: #fff;
  cursor: pointer;
}

.tm-cat-card.is-selected {
  border-color: var(--gold);
  background: rgba(214, 168, 79, 0.12);
  box-shadow: 0 0 0 1px rgba(214, 168, 79, 0.25);
}

.tm-cat-card input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.tm-cat-title {
  font-weight: 700;
  color: var(--navy);
}

.tm-cat-desc {
  font-size: 0.82rem;
  color: var(--text-soft);
  line-height: 1.4;
}

.tm-cat-age {
  font-size: 0.72rem;
  color: rgba(6, 23, 53, 0.45);
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.tm-age-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.65rem;
  margin-bottom: 0.75rem;
}

.tm-report {
  padding: 1.4rem 1.45rem 1.75rem;
}

.tm-report-head {
  margin-bottom: 1.15rem;
  padding-bottom: 0.9rem;
  border-bottom: 2px solid rgba(214, 168, 79, 0.3);
}

.tm-report-head h2 {
  margin: 0.25rem 0;
  font-family: Georgia, serif;
  color: var(--navy);
}

.tm-sub {
  margin: 0;
  color: var(--text-soft);
  font-size: 0.92rem;
}

.tm-block {
  margin-bottom: 1.35rem;
}

.tm-block h3 {
  margin: 0 0 0.65rem;
  font-family: Georgia, serif;
  font-size: 1.15rem;
  color: var(--navy);
}

.tm-h-good { color: #166534 !important; }
.tm-h-bad { color: #b42318 !important; }

.tm-para {
  margin: 0 0 0.65rem;
  line-height: 1.65;
  color: var(--text-dark);
}

.tm-muted {
  margin: 0 0 0.65rem;
  color: var(--text-soft);
  font-size: 0.9rem;
  line-height: 1.5;
}

.tm-period {
  margin-bottom: 0.65rem;
  padding: 0.85rem 0.95rem;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border-gold);
  background: #fff;
}

.tm-period h4 {
  margin: 0 0 0.25rem;
  color: var(--navy);
  font-size: 1rem;
}

.tm-period.is-good {
  background: rgba(22, 101, 52, 0.06);
  border-color: rgba(22, 101, 52, 0.18);
}

.tm-period.is-bad,
.tm-period.is-challenging,
.tm-period.is-difficult {
  background: rgba(180, 35, 24, 0.05);
  border-color: rgba(180, 35, 24, 0.14);
}

.tm-period.is-mixed {
  background: rgba(161, 98, 7, 0.06);
}

.tm-meta {
  margin: 0 0 0.35rem;
  font-size: 0.85rem;
  color: var(--text-soft);
}

.tm-months {
  margin: 0.35rem 0;
  font-size: 0.88rem;
  line-height: 1.45;
  color: var(--navy);
}

.tm-reasons {
  margin: 0.4rem 0 0;
  padding-left: 1.1rem;
  font-size: 0.85rem;
  color: var(--text-soft);
  line-height: 1.45;
}

.tm-factor-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(min(100%, 120px), 1fr));
  gap: 0.5rem;
}

.tm-factor {
  padding: 0.6rem 0.7rem;
  border-radius: 10px;
  background: rgba(7, 26, 61, 0.04);
  border: 1px solid rgba(7, 26, 61, 0.06);
}

.tm-factor span {
  display: block;
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: rgba(6, 23, 53, 0.5);
  margin-bottom: 0.15rem;
}

.tm-factor strong {
  font-size: 0.9rem;
  color: var(--navy);
}

.tm-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.88rem;
}

.tm-table th,
.tm-table td {
  padding: 0.5rem 0.55rem;
  border-bottom: 1px solid rgba(7, 26, 61, 0.08);
  text-align: left;
}

.tm-table th {
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: rgba(6, 23, 53, 0.55);
  background: rgba(255, 247, 232, 0.75);
  white-space: nowrap;
}

.tm-table tr.is-good { background: rgba(22, 101, 52, 0.06); }
.tm-table tr.is-bad { background: rgba(180, 35, 24, 0.05); }

.tm-year-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(min(100%, 72px), 1fr));
  gap: 0.4rem;
}

.tm-year-cell {
  padding: 0.5rem 0.4rem;
  border-radius: 10px;
  text-align: center;
  border: 1px solid rgba(7, 26, 61, 0.08);
  background: #fff;
}

.tm-year-cell strong {
  display: block;
  font-size: 0.9rem;
  color: var(--navy);
}

.tm-year-cell span {
  display: block;
  font-size: 0.72rem;
  color: var(--text-soft);
}

.tm-year-q {
  text-transform: capitalize;
  font-weight: 600 !important;
  margin-top: 0.15rem;
}

.tm-year-cell.is-good {
  background: rgba(22, 101, 52, 0.1);
  border-color: rgba(22, 101, 52, 0.2);
}

.tm-year-cell.is-bad {
  background: rgba(180, 35, 24, 0.08);
  border-color: rgba(180, 35, 24, 0.18);
}

.tm-year-cell.is-mixed {
  background: rgba(161, 98, 7, 0.08);
}

.tm-note {
  margin-top: 0.5rem;
  padding: 1rem 1.1rem;
  border-radius: var(--radius-md);
  background: linear-gradient(135deg, #071a3d, #0b234f);
  color: rgba(255, 247, 232, 0.9);
}

.tm-note strong {
  display: block;
  color: var(--gold);
  font-size: 0.75rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin-bottom: 0.35rem;
}

.tm-note p {
  margin: 0;
  line-height: 1.55;
  font-size: 0.92rem;
}

@media (max-width: 960px) {
  .tm-layout {
    grid-template-columns: 1fr;
  }
  .tm-form {
    position: static;
  }
}

/* Timing form � make coordinate lookup clearly visible */
.timing-page .tm-lookup-btn,
.tm-form #tm-lookup {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  min-height: 48px;
  margin-top: 0.15rem;
  padding: 12px 18px;
  border: 2px solid #d4a23a !important;
  border-radius: 12px;
  color: #0a2149 !important;
  background: #fffdf8 !important;
  box-shadow: 0 2px 0 rgba(212, 162, 58, 0.2);
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  cursor: pointer;
}

.timing-page .tm-lookup-btn:hover,
.tm-form #tm-lookup:hover,
.timing-page .tm-lookup-btn:focus-visible,
.tm-form #tm-lookup:focus-visible {
  border-color: #b7770f !important;
  background: #fff7e8 !important;
  box-shadow: 0 6px 16px rgba(183, 119, 15, 0.18);
  transform: translateY(-1px);
}

.timing-page .kundali-geo-row {
  margin: 0.35rem 0 0.85rem;
}

/* ===== Mobile optimization: forms, charts, tables, tool pages ===== */
.kundali-layout,
.lr-layout,
.tm-layout,
.horoscope-personal-layout {
  min-width: 0;
}

.kundali-results,
.tm-results,
.lr-report,
.kundali-form,
.lr-form,
.tm-form,
.horoscope-form {
  min-width: 0;
  max-width: 100%;
}

.kundali-page .card-panel,
.life-report-page .card-panel,
.timing-page .card-panel,
.horoscope-page .card-panel,
.tm-report,
.hz-reading,
.lr-report {
  max-width: 100%;
  overflow-wrap: anywhere;
}

.kundali-table,
.lr-table,
.tm-table,
.hz-hora-table {
  max-width: none;
}

/* Prefer 16px inputs on mobile to avoid iOS zoom; keep desktop unchanged below */
@media (max-width: 960px) {
  .kundali-layout,
  .lr-layout,
  .tm-layout,
  .horoscope-personal-layout {
    grid-template-columns: 1fr;
    gap: 1.25rem;
  }

  .kundali-form,
  .lr-form,
  .tm-form {
    position: static;
    top: auto;
  }

  .chart-ui-div-grid,
  .chart-ui-div-grid--all {
    grid-template-columns: 1fr 1fr;
  }

  .lr-dasha-grid {
    grid-template-columns: repeat(auto-fill, minmax(min(100%, 180px), 1fr));
  }
}

@media (max-width: 700px) {
  .kundali-page .section,
  .life-report-page .section,
  .timing-page .section,
  .horoscope-page .section {
    padding: 2.4rem 0;
  }

  .kundali-page .kundali-hero,
  .life-report-page .lr-hero,
  .timing-page .tm-hero,
  .horoscope-page .horoscope-hero {
    padding-top: 2rem;
    padding-bottom: 0.85rem;
  }

  .kundali-page .kundali-hero h1,
  .life-report-page .lr-hero h1,
  .timing-page .tm-hero h1,
  .horoscope-page .horoscope-hero h1 {
    max-width: none;
    font-size: clamp(1.65rem, 7.2vw, 2.25rem);
  }

  .kundali-lead,
  .lr-hero-lead,
  .tm-lead,
  .horoscope-lead {
    font-size: 0.98rem;
    line-height: 1.55;
  }

  .kundali-form,
  .lr-form,
  .tm-form,
  .horoscope-form {
    padding: 1.1rem 1rem 1.25rem;
    border-radius: 18px;
  }

  .kundali-form h2,
  .lr-form h2,
  .tm-form h2,
  .tm-form-h2,
  .horoscope-form h2 {
    font-size: 1.2rem;
  }

  .kundali-page .card-panel,
  .tm-report,
  .lr-report,
  .hz-reading {
    padding: 1.05rem 0.95rem 1.2rem;
    border-radius: 18px;
  }

  .kundali-page .card-panel h3,
  .tm-block h3,
  .lr-section h2 {
    font-size: 1.08rem;
  }

  /* Forms: full-width controls, touch-friendly */
  .contact-form label {
    gap: 0.35rem;
    font-size: 0.92rem;
  }

  .contact-form input,
  .contact-form select,
  .contact-form textarea {
    max-width: 100%;
    min-height: 2.85rem;
    padding: 0.8rem 0.85rem;
    font-size: 16px; /* prevents iOS focus zoom */
    border-radius: 12px;
  }

  .contact-form textarea {
    min-height: 6.5rem;
  }

  .contact-form .button,
  .contact-form .submit-button,
  .kundali-form .button,
  .lr-form .button,
  .tm-form .button,
  .horoscope-form .button,
  .tm-lookup-btn,
  #lookup-place,
  #tm-lookup {
    width: 100%;
    min-height: 48px;
    justify-content: center;
  }

  .kundali-coord-fields {
    gap: 0.65rem;
  }

  .kundali-place-option {
    padding: 0.75rem 0.85rem;
    font-size: 0.9rem;
  }

  .tm-age-row {
    grid-template-columns: 1fr 1fr;
    gap: 0.55rem;
  }

  .tm-cat-card {
    padding: 0.7rem 0.8rem;
  }

  /* Charts */
  .kundali-chart-svg,
  .chart-ui-div-col .kundali-chart-svg,
  .lr-varga-chart,
  .lr-chart {
    max-width: 100%;
  }

  .chart-ui-div-grid,
  .chart-ui-div-grid--all,
  .lr-varga-grid {
    grid-template-columns: 1fr;
    gap: 0.85rem;
  }

  .chart-ui-div-col h4,
  .kundali-subhead {
    font-size: 0.95rem;
    margin-top: 0.35rem;
  }

  /* Tables: allow horizontal pan inside wrapper only */
  .admin-table-scroll {
    margin-inline: -0.15rem;
    padding-bottom: 0.15rem;
  }

  .admin-table-scroll > table {
    min-width: 32rem;
    font-size: 0.82rem;
  }

  .kundali-table th,
  .kundali-table td,
  .lr-table th,
  .lr-table td,
  .tm-table th,
  .tm-table td,
  .hz-hora-table th,
  .hz-hora-table td {
    padding: 0.42rem 0.45rem;
    font-size: 0.8rem;
  }

  .kundali-meta {
    grid-template-columns: 1fr;
    gap: 0.1rem 0;
  }

  .kundali-meta dt {
    margin-top: 0.45rem;
  }

  .kundali-meta dd {
    margin: 0;
  }

  /* Horoscope */
  .horoscope-tabs {
    gap: 0.4rem;
  }

  .horoscope-tab {
    flex: 1 1 auto;
    min-height: 44px;
    padding: 0.55rem 0.75rem;
    text-align: center;
    font-size: 0.88rem;
  }

  .horoscope-sign-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.55rem;
  }

  .hz-reading {
    padding: 1.05rem 0.95rem 1.25rem;
  }

  .hz-title {
    max-width: none;
    font-size: clamp(1.2rem, 5.5vw, 1.5rem);
  }

  .hz-badge {
    min-width: 0;
    align-self: stretch;
  }

  .hz-hero,
  .horoscope-detail-header {
    flex-direction: column;
    align-items: stretch;
  }

  .hz-areas,
  .hz-split,
  .hz-timings,
  .hz-compare,
  .hz-hours-split,
  .horoscope-areas {
    grid-template-columns: 1fr;
  }

  .hz-hora-windows {
    grid-template-columns: 1fr;
  }

  /* Life report */
  .lr-lucky-grid {
    grid-template-columns: 1fr;
  }

  .lr-lucky-banner {
    padding: 0.9rem 0.95rem;
  }

  .lr-chips {
    grid-template-columns: repeat(auto-fit, minmax(min(100%, 110px), 1fr));
    gap: 0.35rem;
  }

  .lr-chip {
    font-size: 0.85rem;
  }

  .lr-planet-card,
  .lr-dasha-card,
  .lr-varga-card {
    padding: 0.8rem 0.85rem;
  }

  .lr-section-head {
    flex-wrap: wrap;
    gap: 0.4rem;
  }

  /* Timing */
  .tm-year-grid {
    grid-template-columns: repeat(auto-fill, minmax(64px, 1fr));
    gap: 0.35rem;
  }

  .tm-year-cell {
    padding: 0.4rem 0.25rem;
  }

  .tm-year-cell strong {
    font-size: 0.82rem;
  }

  .tm-period {
    padding: 0.75rem 0.8rem;
  }

  .tm-period h4 {
    font-size: 0.95rem;
  }

  .tm-factor-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .tm-note {
    padding: 0.9rem 0.95rem;
  }

  /* Shared content wrapping */
  .hz-para,
  .lr-para,
  .lr-lead,
  .tm-para,
  .horoscope-summary,
  .kundali-dasha-current,
  .form-feedback {
    overflow-wrap: anywhere;
    word-break: break-word;
  }
}

@media (max-width: 480px) {
  .container {
    width: min(calc(100% - 1rem), var(--container));
  }

  .kundali-page .section,
  .life-report-page .section,
  .timing-page .section,
  .horoscope-page .section {
    padding: 1.85rem 0;
  }

  .kundali-form,
  .lr-form,
  .tm-form,
  .horoscope-form,
  .kundali-page .card-panel,
  .tm-report,
  .lr-report,
  .hz-reading {
    padding: 0.9rem 0.8rem 1.05rem;
    border-radius: 16px;
  }

  .tm-age-row {
    grid-template-columns: 1fr;
  }

  .tm-factor-grid {
    grid-template-columns: 1fr;
  }

  .horoscope-sign-grid {
    grid-template-columns: 1fr 1fr;
    gap: 0.45rem;
  }

  .horoscope-tab {
    font-size: 0.82rem;
    padding: 0.5rem 0.55rem;
  }

  .admin-table-scroll > table {
    min-width: 30rem;
    font-size: 0.78rem;
  }

  .chart-ui-div-grid,
  .chart-ui-div-grid--all {
    grid-template-columns: 1fr;
  }

  .lr-title {
    font-size: clamp(1.25rem, 6vw, 1.55rem);
  }

  .lr-cover {
    padding-bottom: 0.75rem;
  }

  /* Slightly denser planet glyphs on tiny screens via SVG scale is handled by viewBox */
  .kundali-chart-svg .ni-rashi-num {
    font-size: 8px;
  }

  .site-footer .footer-grid {
    grid-template-columns: 1fr;
    gap: 1.25rem;
  }
}

@media (max-width: 360px) {
  .horoscope-sign-grid {
    grid-template-columns: 1fr;
  }

  .tm-year-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .contact-form input,
  .contact-form select,
  .contact-form textarea {
    padding: 0.7rem 0.75rem;
  }
}

/* ===== Match compatibility page ===== */
.match-page .mc-hero h1 {
  margin: 0.35rem 0 0.75rem;
  max-width: 18ch;
  font-family: Georgia, serif;
  font-size: clamp(1.85rem, 4vw, 2.75rem);
  color: var(--navy);
  line-height: 1.15;
}

.mc-lead {
  max-width: 48rem;
  margin: 0;
  color: var(--text-soft);
  line-height: 1.65;
  font-size: 1.05rem;
}

.mc-layout {
  display: grid;
  grid-template-columns: minmax(300px, 420px) minmax(0, 1fr);
  gap: 1.5rem;
  align-items: start;
}

.mc-form {
  position: sticky;
  top: 5.25rem;
  padding: 1.25rem 1.3rem 1.4rem;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border-gold);
  background: rgba(255, 251, 243, 0.95);
  box-shadow: var(--shadow-soft);
  display: grid;
  gap: 1rem;
}

.mc-fieldset {
  margin: 0;
  padding: 0.9rem 0.95rem 1rem;
  border: 1px solid var(--border-gold);
  border-radius: var(--radius-sm);
  background: #fff;
  display: grid;
  gap: 0.65rem;
}

.mc-fieldset legend {
  padding: 0 0.35rem;
  font-family: Georgia, serif;
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--navy);
}

.mc-fieldset-note {
  margin: 0 0 0.15rem;
  font-size: 0.82rem;
  color: var(--text-soft);
  line-height: 1.45;
}

.mc-form .submit-button {
  width: 100%;
  margin-top: 0.15rem;
}

.mc-results {
  min-width: 0;
}

.mc-report {
  padding: 1.35rem 1.4rem 1.6rem;
}

.mc-score-hero {
  margin: 0 0 1.35rem;
  padding: 1.25rem 1.2rem 1.35rem;
  border-radius: var(--radius-md);
  border: 1px solid var(--border-gold);
  background: linear-gradient(145deg, rgba(214, 168, 79, 0.12), rgba(255, 251, 243, 0.95));
  text-align: center;
}

.mc-score-hero.is-good {
  background: linear-gradient(145deg, rgba(22, 101, 52, 0.1), rgba(255, 251, 243, 0.98));
  border-color: rgba(22, 101, 52, 0.22);
}

.mc-score-hero.is-mixed {
  background: linear-gradient(145deg, rgba(161, 98, 7, 0.1), rgba(255, 251, 243, 0.98));
}

.mc-score-hero.is-low {
  background: linear-gradient(145deg, rgba(180, 35, 24, 0.08), rgba(255, 251, 243, 0.98));
  border-color: rgba(180, 35, 24, 0.18);
}

.mc-score-title {
  margin: 0.35rem 0 0.75rem;
  font-family: Georgia, serif;
  font-size: clamp(1.4rem, 3vw, 1.85rem);
  color: var(--navy);
}

.mc-score-ring-wrap {
  margin: 0.5rem auto 0.85rem;
}

.mc-score-number {
  display: flex;
  align-items: baseline;
  justify-content: center;
  gap: 0.25rem;
  color: var(--navy);
}

.mc-score-number strong {
  font-family: Georgia, serif;
  font-size: clamp(2.75rem, 6vw, 3.5rem);
  font-weight: 700;
  line-height: 1;
  letter-spacing: -0.02em;
}

.mc-score-number span {
  font-size: 1.25rem;
  color: var(--text-soft);
}

.mc-score-pct {
  margin: 0.35rem 0 0;
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--navy);
}

.mc-score-summary {
  max-width: 40rem;
  margin: 0.75rem auto 0;
  color: var(--text-dark);
  line-height: 1.65;
  font-size: 0.98rem;
}

.mc-section-title {
  margin: 0 0 0.55rem;
  font-family: Georgia, serif;
  font-size: 1.2rem;
  color: var(--navy);
}

.mc-section-lead {
  margin: 0 0 0.9rem;
  color: var(--text-soft);
  font-size: 0.9rem;
  line-height: 1.5;
}

.mc-pair,
.mc-kootas,
.mc-manglik,
.mc-flags,
.mc-insights {
  margin-bottom: 1.35rem;
  padding-bottom: 1.15rem;
  border-bottom: 1px solid rgba(214, 168, 79, 0.22);
}

.mc-pair-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.85rem;
}

.mc-person-card {
  padding: 0.9rem 1rem;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border-gold);
  background: #fff;
}

.mc-person-role {
  margin: 0 0 0.2rem;
  font-size: 0.72rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: rgba(6, 23, 53, 0.5);
}

.mc-person-name {
  margin: 0 0 0.65rem;
  font-family: Georgia, serif;
  font-size: 1.15rem;
  color: var(--navy);
}

.mc-person-meta {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 0.3rem 0.75rem;
  margin: 0;
  font-size: 0.88rem;
}

.mc-person-meta dt {
  margin: 0;
  color: var(--text-soft);
  font-weight: 500;
}

.mc-person-meta dd {
  margin: 0;
  color: var(--navy);
  font-weight: 600;
}

.mc-koota-list {
  display: grid;
  gap: 0.75rem;
}

.mc-koota-row {
  padding: 0.8rem 0.9rem;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border-gold);
  background: #fff;
}

.mc-koota-row.is-strong {
  background: rgba(22, 101, 52, 0.05);
  border-color: rgba(22, 101, 52, 0.16);
}

.mc-koota-row.is-zero {
  background: rgba(180, 35, 24, 0.04);
  border-color: rgba(180, 35, 24, 0.14);
}

.mc-koota-head {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 0.75rem;
  margin-bottom: 0.4rem;
}

.mc-koota-name {
  font-weight: 700;
  color: var(--navy);
}

.mc-koota-points {
  font-variant-numeric: tabular-nums;
  font-weight: 700;
  color: var(--navy);
  white-space: nowrap;
}

.mc-koota-bar {
  height: 0.45rem;
  border-radius: 999px;
  background: rgba(7, 26, 61, 0.08);
  overflow: hidden;
  margin-bottom: 0.45rem;
}

.mc-koota-fill {
  display: block;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, #c9a227, #d6a84f);
}

.mc-koota-row.is-strong .mc-koota-fill {
  background: linear-gradient(90deg, #15803d, #22c55e);
}

.mc-koota-row.is-zero .mc-koota-fill {
  background: rgba(180, 35, 24, 0.35);
  min-width: 0;
}

.mc-koota-detail {
  margin: 0 0 0.2rem;
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--navy);
}

.mc-koota-meaning {
  margin: 0;
  font-size: 0.84rem;
  color: var(--text-soft);
  line-height: 1.45;
}

.mc-manglik-label {
  margin: 0 0 0.35rem;
  font-weight: 700;
  color: var(--navy);
}

.mc-manglik--present {
  padding: 0.85rem 0.95rem;
  border-radius: var(--radius-sm);
  background: rgba(161, 98, 7, 0.08);
  border: 1px solid rgba(161, 98, 7, 0.2);
}

.mc-manglik--balanced {
  padding: 0.85rem 0.95rem;
  border-radius: var(--radius-sm);
  background: rgba(22, 101, 52, 0.06);
  border: 1px solid rgba(22, 101, 52, 0.16);
}

.mc-manglik--clear {
  padding: 0.85rem 0.95rem;
  border-radius: var(--radius-sm);
  background: rgba(255, 255, 255, 0.8);
  border: 1px solid var(--border-gold);
}

.mc-para {
  margin: 0 0 0.55rem;
  line-height: 1.65;
  color: var(--text-dark);
  font-size: 0.95rem;
}

.mc-flag-list {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 0.5rem;
}

.mc-flag {
  padding: 0.7rem 0.85rem;
  border-radius: var(--radius-sm);
  font-size: 0.9rem;
  line-height: 1.5;
  color: var(--text-dark);
}

.mc-flag--warn {
  background: rgba(180, 35, 24, 0.06);
  border: 1px solid rgba(180, 35, 24, 0.16);
}

.mc-flag--info {
  background: rgba(7, 26, 61, 0.04);
  border: 1px solid var(--border-gold);
}

.mc-insight {
  margin-bottom: 0.75rem;
  padding: 0.75rem 0.85rem;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border-gold);
  background: #fff;
}

.mc-insight h4 {
  margin: 0 0 0.35rem;
  font-size: 0.98rem;
  color: var(--navy);
}

.mc-foot {
  margin-top: 0.25rem;
}

.mc-foot h3 {
  margin: 0 0 0.5rem;
  font-family: Georgia, serif;
  color: var(--navy);
}

.mc-foot .button {
  margin-top: 0.5rem;
}

.match-page .form-feedback.is-error {
  color: #b42318;
}

.match-page .form-feedback.is-success {
  color: #166534;
}

@media (max-width: 960px) {
  .mc-layout {
    grid-template-columns: 1fr;
  }

  .mc-form {
    position: static;
  }

  .mc-pair-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 560px) {
  .mc-form {
    padding: 1rem;
  }

  .mc-report {
    padding: 1rem;
  }
}

/* ===== Daily Panchang page ===== */
.panchang-page .pn-hero {
  padding-bottom: 1.25rem;
}

.panchang-page .pn-hero h1 {
  margin: 0.4rem 0 0.85rem;
  max-width: 16ch;
  font-family: Georgia, "Times New Roman", serif;
  font-weight: 600;
  font-size: clamp(2rem, 4vw, 3rem);
  line-height: 1.15;
  color: var(--navy);
}

.pn-lead {
  max-width: 52rem;
  margin: 0;
  color: var(--text-soft);
  font-size: 1.05rem;
  line-height: 1.65;
}

.pn-layout {
  display: grid;
  grid-template-columns: minmax(280px, 380px) minmax(0, 1fr);
  gap: 1.75rem;
  align-items: start;
}

.pn-form {
  position: sticky;
  top: 5.5rem;
  padding: 1.5rem;
  border: 1px solid var(--border-gold);
  border-radius: var(--radius-lg);
  background: rgba(255, 251, 243, 0.94);
  box-shadow: var(--shadow-soft);
}

.pn-form h2 {
  margin: 0 0 0.35rem;
  font-family: Georgia, serif;
  color: var(--navy);
  font-size: 1.45rem;
}

.pn-form-note {
  margin: 0 0 1rem;
  color: var(--text-soft);
  font-size: 0.92rem;
  line-height: 1.5;
}

.pn-results {
  display: grid;
  gap: 1.25rem;
}

.pn-results-head h2 {
  margin: 0.25rem 0 0.4rem;
  font-family: Georgia, serif;
  color: var(--navy);
  font-size: clamp(1.5rem, 3vw, 2rem);
}

.pn-sub {
  margin: 0;
  color: var(--text-soft);
  font-size: 0.95rem;
  line-height: 1.5;
}

.pn-limbs {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 0.85rem;
}

.pn-limb-card {
  padding: 1rem 1.05rem;
  border: 1px solid rgba(196, 132, 31, 0.28);
  border-radius: 16px;
  background: linear-gradient(165deg, #fffdf8 0%, #ffffff 70%);
  box-shadow: 0 10px 24px rgba(66, 44, 13, 0.06);
}

.pn-limb-title {
  margin: 0 0 0.35rem;
  color: #9a6b1f;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.pn-limb-card h3 {
  margin: 0 0 0.35rem;
  color: var(--navy);
  font-family: Georgia, serif;
  font-size: 1.15rem;
  line-height: 1.25;
}

.pn-limb-meta {
  margin: 0;
  color: var(--text-soft);
  font-size: 0.86rem;
  line-height: 1.4;
}

.pn-block {
  padding: 1.2rem 1.25rem;
  border: 1px solid rgba(196, 132, 31, 0.2);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.88);
}

.pn-block h3 {
  margin: 0 0 0.75rem;
  font-family: Georgia, serif;
  color: var(--navy);
  font-size: 1.2rem;
}

.pn-muted {
  margin: -0.25rem 0 0.85rem;
  color: var(--text-soft);
  font-size: 0.9rem;
  line-height: 1.5;
}

.pn-stat-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: 0.75rem;
}

.pn-stat {
  display: grid;
  gap: 0.25rem;
  padding: 0.9rem 1rem;
  border-radius: 14px;
  border: 1px solid rgba(7, 26, 61, 0.08);
  background: #fbf8f1;
}

.pn-stat.is-careful {
  border-color: rgba(180, 70, 50, 0.25);
  background: #fff6f3;
}

.pn-stat.is-good {
  border-color: rgba(40, 120, 70, 0.25);
  background: #f3faf5;
}

.pn-stat-label {
  color: #7a6550;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.pn-stat-value {
  color: var(--navy);
  font-size: 1.05rem;
  font-weight: 700;
  line-height: 1.3;
}

.pn-stat-meta {
  color: var(--text-soft);
  font-size: 0.84rem;
  line-height: 1.4;
}

.pn-guidance .pn-para {
  margin: 0 0 0.65rem;
  color: var(--text);
  line-height: 1.6;
}

.pn-guidance-head {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.55rem 0.75rem;
  margin-bottom: 0.75rem;
}

.pn-guidance-head h3 {
  margin: 0;
  margin-right: auto;
}

.pn-tone-pill,
.pn-score-pill {
  display: inline-flex;
  align-items: center;
  padding: 0.28rem 0.7rem;
  border-radius: 999px;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  text-transform: capitalize;
}

.pn-score-pill {
  background: #eef2ff;
  color: #1e3a8a;
}

.pn-tone-pill.is-highly-supportive,
.pn-tone-pill.is-supportive {
  background: #e8f7ee;
  color: #166534;
}

.pn-tone-pill.is-mixed {
  background: #fff7e6;
  color: #92400e;
}

.pn-tone-pill.is-careful,
.pn-tone-pill.is-restricted {
  background: #ffeee9;
  color: #9b2c2c;
}

.pn-summary {
  font-weight: 600;
  color: var(--navy);
}

.pn-verdict {
  padding: 0.75rem 0.9rem;
  border-radius: 12px;
  background: #f7f4ee;
  border: 1px solid rgba(196, 132, 31, 0.18);
}

.pn-subhead {
  margin: 1rem 0 0.45rem;
  color: var(--navy);
  font-family: Georgia, serif;
  font-size: 1.02rem;
}

.pn-analysis-list {
  margin: 0;
  padding-left: 1.15rem;
  display: grid;
  gap: 0.45rem;
  color: var(--text);
  line-height: 1.55;
}

.pn-analysis-list strong {
  color: #8a5a12;
}

.pn-chip-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
}

.pn-chip-list li {
  padding: 0.35rem 0.7rem;
  border-radius: 999px;
  font-size: 0.86rem;
  line-height: 1.35;
}

.pn-chip-list.is-good li {
  background: #eaf7ef;
  color: #166534;
  border: 1px solid rgba(22, 101, 52, 0.15);
}

.pn-chip-list.is-careful li {
  background: #fff1ed;
  color: #9b2c2c;
  border: 1px solid rgba(155, 44, 44, 0.15);
}

.pn-caution {
  color: #8a3b2a;
  font-weight: 600;
}

.pn-footnote {
  margin: 0;
  color: var(--text-soft);
  font-size: 0.85rem;
  line-height: 1.5;
}

@media (max-width: 960px) {
  .pn-layout {
    grid-template-columns: 1fr;
  }

  .pn-form {
    position: static;
  }
}

@media (max-width: 560px) {
  .pn-form,
  .pn-block {
    padding: 1rem;
  }
}

/* —— Panchang calendar table —— */
.pn-calendar-section {
  display: grid;
  gap: 0.85rem;
}

.pn-cal-toolbar {
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 0.75rem;
  align-items: center;
}

.pn-cal-heading {
  text-align: center;
}

.pn-cal-heading h3 {
  margin: 0;
  font-family: Georgia, serif;
  color: var(--navy);
  font-size: 1.35rem;
}

.pn-cal-heading .pn-muted {
  margin: 0.25rem 0 0;
}

.pn-cal-nav {
  min-width: 2.75rem;
  padding-left: 0.65rem;
  padding-right: 0.65rem;
  font-size: 1.35rem;
  line-height: 1;
}

.pn-cal-hint {
  margin: 0;
}

.pn-cal-scroll {
  overflow-x: auto;
  border-radius: 14px;
  border: 1px solid rgba(196, 132, 31, 0.22);
  background: #fffefb;
}

.pn-cal-table {
  width: 100%;
  min-width: 720px;
  border-collapse: collapse;
  table-layout: fixed;
}

.pn-cal-table thead th {
  padding: 0.65rem 0.35rem;
  background: #0b2048;
  color: #fff7e8;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  border-bottom: 1px solid rgba(214, 168, 79, 0.35);
}

.pn-cal-table td {
  vertical-align: top;
  padding: 0;
  border: 1px solid rgba(7, 26, 61, 0.08);
  background: #fff;
}

.pn-cal-table td.is-empty {
  background: #f7f4ee;
}

.pn-cal-day {
  display: grid;
  gap: 0.18rem;
  width: 100%;
  min-height: 7.5rem;
  padding: 0.55rem 0.5rem 0.65rem;
  border: 0;
  background: transparent;
  text-align: left;
  cursor: pointer;
  transition: background 160ms ease, box-shadow 160ms ease;
}

.pn-cal-day:hover,
.pn-cal-day:focus-visible {
  background: #fff8eb;
  outline: none;
  box-shadow: inset 0 0 0 2px rgba(196, 132, 31, 0.35);
}

.pn-cal-day.is-selected {
  background: linear-gradient(180deg, #fff4dc 0%, #fffaf0 100%);
  box-shadow: inset 0 0 0 2px #c4841f;
}

.pn-cal-day.is-today .pn-cal-date {
  background: #0b2048;
  color: #fff7e8;
}

.pn-cal-day.is-careful {
  background: #fff7f4;
}

.pn-cal-day.is-purnima {
  box-shadow: inset 0 0 0 2px rgba(196, 132, 31, 0.75);
}

.pn-cal-day.is-amavasya {
  box-shadow: inset 0 0 0 2px rgba(40, 55, 100, 0.55);
}

.pn-cal-day.is-selected.is-purnima,
.pn-cal-day.is-selected.is-amavasya {
  box-shadow: inset 0 0 0 2px #c4841f;
}

.pn-cal-date {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 1.7rem;
  height: 1.7rem;
  margin-bottom: 0.15rem;
  border-radius: 999px;
  color: var(--navy);
  font-weight: 800;
  font-size: 0.92rem;
}

.pn-cal-tithi {
  color: #8a5a12;
  font-size: 0.72rem;
  font-weight: 700;
  line-height: 1.25;
}

.pn-cal-nak {
  color: var(--navy);
  font-size: 0.78rem;
  font-weight: 650;
  line-height: 1.25;
}

.pn-cal-yoga {
  color: var(--text-soft);
  font-size: 0.7rem;
  line-height: 1.25;
}

.pn-cal-loading {
  padding: 1.5rem 1rem;
  text-align: center;
  color: var(--text-soft);
  font-size: 0.95rem;
}

.pn-cal-loading.is-error {
  color: #9b2c2c;
}

.pn-cal-table-title {
  margin: 0.5rem 0 0;
  font-family: Georgia, serif;
  color: var(--navy);
  font-size: 1.05rem;
}

.pn-cal-list-scroll {
  overflow-x: auto;
  border-radius: 12px;
  border: 1px solid rgba(196, 132, 31, 0.2);
}

.pn-month-list-table {
  width: 100%;
  min-width: 640px;
  border-collapse: collapse;
  font-size: 0.9rem;
}

.pn-month-list-table thead th {
  padding: 0.7rem 0.65rem;
  background: #102a56;
  color: #fff7e8;
  text-align: left;
  font-size: 0.75rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.pn-month-list-table td {
  padding: 0.55rem 0.65rem;
  border-bottom: 1px solid rgba(7, 26, 61, 0.08);
  color: var(--navy);
  vertical-align: top;
}

.pn-month-list-table tbody tr {
  cursor: pointer;
  transition: background 140ms ease;
}

.pn-month-list-table tbody tr:hover,
.pn-month-list-table tbody tr:focus-visible {
  background: #fff8eb;
  outline: none;
}

.pn-month-list-table tbody tr.is-selected {
  background: #fff1d6;
}

.pn-month-list-table tbody tr.is-today .pn-list-date {
  font-weight: 800;
  color: #0b2048;
}

.pn-month-list-table tbody tr.is-careful {
  background: #fff6f3;
}

.pn-month-list-table tbody tr.is-purnima td:first-child {
  box-shadow: inset 3px 0 0 #c4841f;
}

.pn-month-list-table tbody tr.is-amavasya td:first-child {
  box-shadow: inset 3px 0 0 #2a3d70;
}

.pn-list-date {
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
}

.pn-day-detail-anchor {
  scroll-margin-top: 5.5rem;
}

@media (max-width: 720px) {
  .pn-cal-day {
    min-height: 6.4rem;
    padding: 0.4rem 0.35rem;
  }

  .pn-cal-tithi,
  .pn-cal-nak,
  .pn-cal-yoga {
    font-size: 0.65rem;
  }
}

/* Admin chat composer mirrors the visitor chat control layout. */
.admin-system-page .admin-chat-composer {
  position: sticky;
  bottom: 0;
  z-index: 8;
  display: grid;
  grid-template-columns: 48px minmax(0, 1fr) 52px;
  grid-template-areas:
    "attach input send"
    "feedback feedback feedback";
  gap: 10px;
  align-items: center;
  padding: 12px 14px;
  border-top: 1px solid #eadcc3;
  background: #fffaf1;
  box-shadow: 0 -3px 18px rgba(86, 58, 20, 0.055);
}

.admin-system-page .admin-chat-composer .chat-attachment-controls {
  position: relative;
  grid-area: attach;
  display: block;
  min-width: 0;
}

.admin-system-page .admin-chat-composer .chat-composer__input {
  grid-area: input;
  min-width: 0;
}

.admin-system-page .admin-chat-composer .chat-composer__input textarea {
  display: block;
  width: 100%;
  height: 50px;
  min-height: 50px;
  max-height: 112px;
  margin: 0;
  padding: 13px 16px;
  overflow-y: auto;
  resize: none;
  scrollbar-width: none;
  border: 1px solid rgba(10, 33, 73, 0.14);
  border-radius: 12px;
  color: #172236;
  background: #fff;
  font-size: 0.9rem;
  line-height: 1.45;
}

.admin-system-page .admin-chat-composer .chat-composer__input textarea::-webkit-scrollbar {
  display: none;
}

.admin-system-page .admin-chat-composer .chat-composer__input textarea:focus {
  outline: 0;
  border-color: #c98a18;
  box-shadow: 0 0 0 3px rgba(201, 138, 24, 0.12);
}

.admin-system-page .admin-chat-composer .chat-attach-button,
.admin-system-page .admin-chat-composer .chat-action--send {
  display: grid;
  place-items: center;
  width: 48px;
  min-width: 48px;
  height: 48px;
  min-height: 48px;
  padding: 0;
  border-radius: 12px;
}

.admin-system-page .admin-chat-composer .chat-attach-button {
  border: 1px solid #d9dde5;
  color: #a86a0b;
  background: #fffdf8;
}

.admin-system-page .admin-chat-composer .chat-action--send {
  grid-area: send;
  width: 52px;
  min-width: 52px;
  border: 1px solid #c98a18;
  color: #fff;
  background: linear-gradient(135deg, #c48719, #e1b654);
  box-shadow: 0 7px 15px rgba(212, 162, 58, 0.22);
}

.admin-system-page .admin-chat-composer .chat-attach-button > span,
.admin-system-page .admin-chat-composer .chat-action--send > span {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  clip-path: inset(50%);
  white-space: nowrap;
}

.admin-system-page .admin-chat-composer .chat-attachment-preview[hidden] {
  display: none !important;
}

.admin-system-page .admin-chat-composer .chat-attachment-preview {
  position: absolute;
  left: 0;
  bottom: calc(100% + 12px);
  z-index: 10;
  display: flex;
  align-items: center;
  gap: 8px;
  width: min(420px, calc(100vw - 64px));
  max-width: none;
  padding: 9px;
  border: 1px solid #eadcc3;
  border-radius: 10px;
  background: #fff;
  box-shadow: 0 12px 28px rgba(7, 26, 61, 0.12);
}

.admin-system-page .admin-chat-composer .chat-attachment-preview > span {
  min-width: 0;
  overflow: hidden;
  color: #626a76;
  font-size: 0.72rem;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.admin-system-page .admin-chat-composer .chat-attachment-preview .chat-action--remove {
  width: auto;
  min-width: 0;
  height: 34px;
  min-height: 34px;
  padding: 0 10px;
  border-radius: 8px;
}

.admin-system-page .admin-chat-composer .admin-reply-feedback {
  grid-area: feedback;
  width: 100%;
  min-height: 0;
  margin: 0;
  color: #176136;
  font-size: 0.72rem;
  line-height: 1.4;
}

.admin-system-page .admin-chat-composer .admin-reply-feedback:empty {
  display: none;
}

@media (max-width: 560px) {
  .admin-system-page .admin-chat-composer {
    grid-template-columns: 44px minmax(0, 1fr) 48px;
    gap: 7px;
    padding: 9px;
  }

  .admin-system-page .admin-chat-composer .chat-attach-button,
  .admin-system-page .admin-chat-composer .chat-action--send {
    width: 44px;
    min-width: 44px;
    height: 44px;
    min-height: 44px;
  }

  .admin-system-page .admin-chat-composer .chat-action--send {
    width: 48px;
    min-width: 48px;
  }

  .admin-system-page .admin-chat-composer .chat-composer__input textarea {
    height: 48px;
    min-height: 48px;
    padding: 12px;
    font-size: 16px;
  }
}



