﻿:root {
  --ink: #1a2332;
  --ink-soft: #66758a;
  --paper: #f0f3f8;
  --surface: #ffffff;
  --line: rgba(26, 35, 50, 0.10);
  --brand: #1e3a5f;
  --brand-mid: #2a5280;
  --accent: #e8913a;
  --accent-soft: #fff3e6;
  --sky: #3b82c4;
  --sky-soft: #e8f2fb;
  --row-odd: #ffffff;
  --row-even: #e3eef8;
  --rate: #c45c12;
  --tier1: #1e3a5f;
  --tier2: #2f6f9e;
  --tier3: #d97706;
  --radius: 16px;
  --radius-sm: 11px;
  --shadow: 0 14px 36px rgba(30, 58, 95, 0.12);
  --shadow-soft: 0 5px 16px rgba(30, 58, 95, 0.07);
  --font-display: "Literata", Georgia, serif;
  --font-ui: "Sora", "Segoe UI", sans-serif;
}

* { box-sizing: border-box; }

html {
  max-width: 100%;
  overflow-x: clip;
}

body {
  margin: 0;
  min-height: 100vh;
  max-width: 100%;
  overflow-x: clip;
  font-family: var(--font-ui);
  color: var(--ink);
  font-size: 15px;
  line-height: 1.5;
  background-color: var(--paper);
  background-image:
    radial-gradient(900px 420px at 0% -8%, rgba(59, 130, 196, 0.16), transparent 55%),
    radial-gradient(700px 380px at 100% 0%, rgba(232, 145, 58, 0.12), transparent 50%),
    linear-gradient(180deg, #e4ebf4 0%, #f0f3f8 45%, #f7f8fb 100%);
  background-attachment: fixed;
  word-wrap: break-word;
  overflow-wrap: break-word;
  word-break: normal;
}

/* Prevent vertical letter stacking on flex items */
h1, h2, h3, img,
svg,
video,
iframe {
  max-width: 100%;
  height: auto;
}

.page {
  width: 100%;
  max-width: 960px;
  min-width: 0;
  margin: 0 auto;
  padding: 1rem 1rem 3.5rem;
  overflow-x: clip;
}

/* Logo */
.logo-wrap {
  margin-bottom: 0.65rem;
  padding: 0.9rem 1rem;
  background: #fff;
  border: 1px solid rgba(30, 58, 95, 0.10);
  border-radius: var(--radius);
  box-shadow: var(--shadow-soft);
  text-align: center;
}

.logo {
  display: block;
  width: 100%;
  text-decoration: none;
}

.logo img {
  display: block;
  width: 100%;
  max-width: 420px;
  height: auto;
  margin: 0 auto;
  border-radius: 8px;
  object-fit: contain;
}

/* Join */
.join {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  margin-bottom: 0.75rem;
}

.join-btn {
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.55rem;
  width: 100%;
  flex: none;
  min-height: 48px;
  padding: 0.65rem 1rem;
  border-radius: 12px;
  color: #fff;
  text-decoration: none;
  border: 1px solid rgba(255, 255, 255, 0.14);
  transition: transform 0.18s ease, filter 0.18s ease;
}

.join-btn::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(120deg, rgba(255,255,255,0.16), transparent 55%);
  pointer-events: none;
}

.join-btn:hover {
  transform: translateY(-1px);
  color: #fff;
  filter: brightness(1.05);
}

.join-btn__icon {
  position: relative;
  z-index: 1;
  flex-shrink: 0;
  width: 2rem;
  height: 2rem;
  border-radius: 9px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.22);
  border: 1px solid rgba(255, 255, 255, 0.28);
  font-size: 1.1rem;
}

.join-btn__text {
  position: relative;
  z-index: 1;
  font-size: 0.92rem;
  font-weight: 700;
  letter-spacing: 0.01em;
  white-space: normal;
  text-align: center;
  overflow-wrap: break-word;
}

.join-btn--wa {
  background: linear-gradient(135deg, #0b7a45 0%, #1fad5c 50%, #25d366 100%);
  box-shadow: 0 6px 16px rgba(18, 140, 80, 0.24);
}

.join-btn--tg {
  background: linear-gradient(135deg, #1769a8 0%, #229ed9 55%, #37aee2 100%);
  box-shadow: 0 6px 16px rgba(34, 158, 217, 0.2);
}

.join-btn--hosp {
  background: linear-gradient(135deg, #b51d04 0%, #e55804 48%, #9a4d02 100%);
  box-shadow: 0 6px 18px rgba(181, 29, 4, 0.35);
  border-color: rgba(255, 255, 255, 0.22);
}


/* Hero Card - Premium Modern Heading (Full-width Block Layout) */
.hero-card {
  display: block;
  width: 100%;
  box-sizing: border-box;
  margin-bottom: 1.15rem;
  padding: 1.4rem 1.45rem 1.35rem;
  background:
    radial-gradient(ellipse at 85% 15%, rgba(232, 145, 58, 0.22), transparent 48%),
    radial-gradient(ellipse at 15% 85%, rgba(59, 130, 196, 0.24), transparent 45%),
    linear-gradient(135deg, #0d1e34 0%, #152d4c 50%, #1d3e66 100%);
  color: #ffffff;
  border-radius: var(--radius);
  border: 1px solid rgba(255, 255, 255, 0.16);
  box-shadow: 0 16px 36px rgba(13, 30, 52, 0.24);
  position: relative;
  overflow: hidden;
  text-align: left;
}

.hero-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3.5px;
  background: linear-gradient(90deg, #3b82c4 0%, #ffd29a 50%, #e8913a 100%);
}

.hero-card__title {
  margin: 0 0 0.5rem 0;
  font-family: var(--font-display);
  font-size: clamp(1.4rem, 4.4vw, 2.05rem);
  font-weight: 700;
  line-height: 1.25;
  color: #ffffff;
  display: block;
  width: 100%;
  word-break: normal !important;
  overflow-wrap: break-word !important;
  word-wrap: break-word !important;
  white-space: normal !important;
}

.hero-card__accent {
  background: linear-gradient(135deg, #ffd29a 0%, #f0a356 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  display: inline;
}

.hero-card__sub {
  margin: 0;
  color: rgba(255, 255, 255, 0.88);
  font-size: 0.92rem;
  line-height: 1.45;
  display: block;
  width: 100%;
  word-break: normal !important;
  overflow-wrap: break-word !important;
  word-wrap: break-word !important;
  white-space: normal !important;
}
/* Form */
.form-panel {
  background: var(--surface);
  border: 1px solid rgba(30, 58, 95, 0.12);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  overflow: hidden;
  margin-bottom: 1rem;
}

.form-panel.is-hidden { display: none; }

.search-form {
  padding: 1rem 1.15rem 1.2rem;
  display: grid;
  gap: 0.9rem;
}

.field {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.field > .suggest-wrap,
.field > select,
.field > .search-input-wrap {
  width: 100%;
}

.field label,
.field-label {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.78rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
  text-transform: none;
  letter-spacing: 0.01em;
  border-radius: 999px;
  padding: 0.38rem 0.75rem;
  line-height: 1.2;
}

.field-label i {
  font-size: 0.78rem;
  opacity: 0.9;
}

.field-label small {
  text-transform: none;
  letter-spacing: 0;
  font-weight: 600;
  opacity: 0.85;
  font-size: 0.72rem;
}

.field-label--need {
  display: flex;
  width: 100%;
  align-items: center;
  gap: 0.55rem;
  margin-bottom: 0.65rem;
  padding: 0.55rem 0.95rem 0.55rem 0.55rem;
  border-radius: 12px;
  color: #7c2d12;
  background: linear-gradient(135deg, #ffedd5 0%, #fed7aa 55%, #fdba74 100%);
  border: 1px solid #f59e0b;
  box-shadow: 0 4px 12px rgba(217, 119, 6, 0.16);
}

.field-label--need .field-label__icon {
  flex: 0 0 auto;
  width: 2rem;
  height: 2rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 9px;
  color: #fff;
  font-size: 0.88rem;
  background: linear-gradient(135deg, #c2410c 0%, #ea580c 100%);
  border: none;
  box-shadow: 0 3px 8px rgba(194, 65, 12, 0.28);
}

.field-label--need .field-label__text {
  display: flex;
  flex-direction: column;
  gap: 0;
  min-width: 0;
  padding-right: 0.15rem;
}

.field-label--need .field-label__text strong {
  font-family: Sora, "Segoe UI", sans-serif;
  font-size: 0.95rem;
  font-weight: 700;
  letter-spacing: 0.01em;
  line-height: 1.25;
  color: #9a3412;
}

.field-label--need .field-label__text small {
  display: none;
}

.field-label--cat {
  color: #1e3a5f;
  background: linear-gradient(135deg, #dce8f6, #eaf1f9);
  border: 1px solid #8fb0d4;
}

.field-label--sub {
  color: #8a4b0c;
  background: linear-gradient(135deg, #ffe8cc, #fff1de);
  border: 1px solid #e0a86a;
}

.browse-block {
  margin-top: 0.25rem;
  padding: 0.95rem;
  border-radius: 14px;
  background: linear-gradient(180deg, #eef5fb 0%, #f7fafc 100%);
  border: 1px solid rgba(47, 111, 158, 0.18);
  box-shadow: 0 6px 16px rgba(30, 58, 95, 0.05);
}

.or-line {
  display: flex;
  width: 100%;
  align-items: center;
  gap: 0.7rem;
  margin-bottom: 0.85rem;
  padding: 0.7rem 0.85rem 0.7rem 0.65rem;
  border-radius: 12px;
  background: linear-gradient(135deg, #ecfdf5 0%, #d1fae5 50%, #a7f3d0 100%);
  border: 1px solid #34d399;
  box-shadow: 0 4px 12px rgba(5, 150, 105, 0.14);
  color: #065f46;
}

.or-line__icon {
  flex: 0 0 auto;
  width: 2.35rem;
  height: 2.35rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 10px;
  color: #fff;
  font-size: 1rem;
  background: linear-gradient(135deg, #047857 0%, #059669 100%);
  box-shadow: 0 4px 10px rgba(4, 120, 87, 0.28);
}

.or-line__text {
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
  min-width: 0;
}

.or-line__text strong {
  font-family: Literata, Georgia, serif;
  font-size: 1.12rem;
  font-weight: 700;
  letter-spacing: -0.01em;
  line-height: 1.2;
  color: #065f46;
}

.or-line__text small {
  font-family: Sora, "Segoe UI", sans-serif;
  font-size: 0.76rem;
  font-weight: 600;
  color: #1d4ed8;
  opacity: 1;
}

.or-line::before,
.or-line::after {
  display: none;
}

.filters {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.75rem;
}

.search-input-wrap {
  position: relative;
}

.suggest-wrap {
  position: relative;
}

.suggest-list {
  position: absolute;
  left: 0;
  right: 0;
  top: calc(100% + 4px);
  z-index: 40;
  background: #fff;
  border: 1px solid rgba(30, 58, 95, 0.16);
  border-radius: 12px;
  box-shadow: 0 16px 36px rgba(30, 58, 95, 0.16);
  max-height: 280px;
  overflow: auto;
  padding: 0.35rem;
}

.suggest-list.is-hidden { display: none; }

.suggest-item {
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.1rem;
  text-align: left;
  border: none;
  background: transparent;
  border-radius: 9px;
  padding: 0.65rem 0.75rem;
  cursor: pointer;
  font: inherit;
}

.suggest-item:hover,
.suggest-item.is-active {
  background: #eaf2fb;
}

.suggest-item__label {
  font-weight: 700;
  color: var(--brand);
  font-size: 0.92rem;
}

.suggest-item__hint {
  font-size: 0.75rem;
  color: var(--ink-soft);
}

.search-input-wrap > i {
  position: absolute;
  left: 0.95rem;
  top: 50%;
  transform: translateY(-50%);
  color: var(--sky);
  pointer-events: none;
}

.search-input-wrap input {
  width: 100%;
  border: 1.5px solid rgba(30, 58, 95, 0.16);
  border-radius: var(--radius-sm);
  padding: 0.95rem 1rem 0.95rem 2.55rem;
  font: inherit;
  font-weight: 500;
  color: var(--ink);
  background: #f5f8fc;
  transition: border-color 0.15s ease, box-shadow 0.15s ease, background 0.15s ease;
}

.search-input-wrap input:focus {
  outline: none;
  border-color: var(--sky);
  box-shadow: 0 0 0 4px rgba(59, 130, 196, 0.16);
  background: #fff;
}

.popular {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
}

.chip {
  border: 1px solid rgba(30, 58, 95, 0.14);
  background: #fff;
  color: var(--brand);
  font: inherit;
  font-size: 0.8rem;
  font-weight: 600;
  padding: 0.42rem 0.78rem;
  border-radius: 999px;
  cursor: pointer;
  transition: background 0.15s ease, transform 0.15s ease, border-color 0.15s ease;
}

.chip:hover {
  background: var(--accent-soft);
  border-color: rgba(232, 145, 58, 0.45);
  color: #9a4e0c;
  transform: translateY(-1px);
}

select {
  width: 100%;
  appearance: none;
  background: #f5f8fc url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath fill='%2366758a' d='M1 1l5 5 5-5'/%3E%3C/svg%3E") right 0.95rem center / 12px no-repeat;
  border: 1.5px solid rgba(30, 58, 95, 0.16);
  border-radius: var(--radius-sm);
  padding: 0.85rem 2.4rem 0.85rem 0.95rem;
  font: inherit;
  font-weight: 500;
  color: var(--ink);
  transition: border-color 0.15s ease, box-shadow 0.15s ease, background 0.15s ease;
}

select:hover:not(:disabled) {
  border-color: rgba(59, 130, 196, 0.45);
  background-color: #fff;
}

select:focus {
  outline: none;
  border-color: var(--sky);
  box-shadow: 0 0 0 4px rgba(59, 130, 196, 0.16);
  background-color: #fff;
}

select:disabled {
  opacity: 0.5;
  cursor: not-allowed;
  background-color: #e8edf3;
}

.btn-submit {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.55rem;
  width: 100%;
  border: none;
  border-radius: 14px;
  padding: 0.98rem 1.1rem;
  font: inherit;
  font-weight: 700;
  font-size: 1rem;
  color: #fff;
  cursor: pointer;
  background: linear-gradient(135deg, #152a45 0%, #1e3a5f 40%, #2f6f9e 100%);
  box-shadow: 0 12px 28px rgba(30, 58, 95, 0.32);
  transition: transform 0.15s ease, filter 0.15s ease;
}

.btn-submit:hover {
  filter: brightness(1.06);
  transform: translateY(-1px);
}

.btn-submit:disabled {
  opacity: 0.65;
  cursor: wait;
  transform: none;
}

/* List results */
.list-panel {
  margin-bottom: 1rem;
  width: 100%;
  max-width: 100%;
  min-width: 0;
  overflow-x: clip;
}

.list-panel.is-hidden { display: none; }

.list-toolbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 0.75rem;
  flex-wrap: wrap;
}

.list-count {
  margin: 0;
  font-weight: 600;
  color: var(--ink-soft);
  font-size: 0.9rem;
}

.pkg-list {
  display: grid;
  gap: 0.55rem;
}

.pkg-card {
  display: block;
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
  text-align: left;
  border: 1px solid rgba(30, 58, 95, 0.12);
  border-radius: 12px;
  padding: 0.9rem 1rem;
  cursor: pointer;
  transition: transform 0.15s ease, box-shadow 0.15s ease, border-color 0.15s ease;
  overflow: hidden;
}

/* Odd / even â€” clear alternating colors */
.pkg-card--odd {
  background: var(--row-odd);
  border-left: 5px solid #1e3a5f;
}

.pkg-card--even {
  background: var(--row-even);
  border-left: 5px solid #e8913a;
  border-color: rgba(47, 111, 158, 0.18);
}

.pkg-card:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow);
  border-color: rgba(232, 145, 58, 0.45);
  background: #fff8ef;
}

.pkg-card__head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 0.75rem;
}

.pkg-card__title {
  min-width: 0;
  flex: 1 1 auto;
  width: 100%;
  display: block;
}

.pkg-card__name {
  margin: 0;
  font-weight: 700;
  color: var(--brand);
  font-size: 0.98rem;
  line-height: 1.35;
  overflow-wrap: break-word !important;
  word-break: normal !important;
  word-wrap: break-word !important;
  white-space: normal !important;
  display: block;
  width: 100%;
}

.pkg-card__path {
  margin: 0.3rem 0 0;
  color: var(--ink-soft);
  font-size: 0.82rem;
  overflow-wrap: break-word;
  word-break: normal;
}

.pkg-card__rate {
  flex: 0 1 auto;
  display: inline-flex;
  flex-direction: column;
  gap: 0.1rem;
  align-items: flex-end;
  text-align: right;
  background: var(--accent-soft);
  border: 1px solid rgba(232, 145, 58, 0.35);
  border-radius: 10px;
  padding: 0.4rem 0.6rem;
  max-width: min(11.5rem, 44%);
  min-width: 0;
}

.pkg-card__amount {
  font-weight: 700;
  font-size: 0.78rem;
  color: var(--rate);
  font-variant-numeric: tabular-nums;
  letter-spacing: -0.01em;
  line-height: 1.25;
  overflow-wrap: break-word;
  word-break: normal;
}

.pkg-card__rate small {
  display: block;
  font-weight: 500;
  color: #a65a1a;
  font-size: 0.58rem;
  letter-spacing: 0.01em;
}

.pkg-card__cta {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  width: 100%;
  margin-top: 0.75rem;
  padding: 0.7rem 0.85rem;
  border-radius: 12px;
  color: #1e3a5f;
  background: #ffffff;
  border: 1.5px solid rgba(30, 58, 95, 0.2);
  box-shadow: 0 4px 12px rgba(30, 58, 95, 0.08);
  transition: transform 0.15s ease, border-color 0.15s ease, box-shadow 0.15s ease, background 0.15s ease;
}

.pkg-card__cta-icon {
  flex: 0 0 auto;
  width: 2.1rem;
  height: 2.1rem;
  border-radius: 10px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 0.9rem;
  background: linear-gradient(135deg, #1e3a5f 0%, #2f6f9e 100%);
  border: none;
  box-shadow: 0 4px 10px rgba(30, 58, 95, 0.22);
}

.pkg-card__cta-text {
  display: flex;
  flex-direction: column;
  gap: 0;
  min-width: 0;
  flex: 1;
  text-align: left;
}

.pkg-card__cta-text strong {
  font-size: 0.9rem;
  font-weight: 700;
  letter-spacing: 0.01em;
  line-height: 1.25;
  color: #1e3a5f;
}

.pkg-card__cta-text small {
  display: none;
}

.pkg-card__cta-arrow {
  flex: 0 0 auto;
  font-size: 0.85rem;
  color: #2f6f9e;
  transition: transform 0.15s ease;
}

.pkg-card:hover .pkg-card__cta {
  background: #eef4fb;
  border-color: rgba(47, 111, 158, 0.4);
  box-shadow: 0 6px 16px rgba(30, 58, 95, 0.12);
}

.pkg-card:hover .pkg-card__cta-arrow {
  transform: translateX(3px);
}

.list-more {
  margin: 0.35rem 0 0;
  text-align: center;
  color: var(--ink-soft);
  font-size: 0.84rem;
}

.diag-notice {
  display: flex;
  gap: 0.85rem;
  align-items: flex-start;
  padding: 1rem 1.05rem;
  border-radius: var(--radius-sm);
  background: linear-gradient(135deg, #fff8ef 0%, #fff3e6 100%);
  border: 1px solid rgba(232, 145, 58, 0.4);
  box-shadow: var(--shadow-soft);
}

.diag-notice__icon {
  flex: 0 0 auto;
  width: 2.2rem;
  height: 2.2rem;
  border-radius: 10px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: rgba(196, 92, 18, 0.12);
  color: var(--rate);
  font-size: 1.05rem;
}

.diag-notice__body {
  min-width: 0;
  flex: 1;
}

.diag-notice__title {
  margin: 0 0 0.35rem;
  font-size: 1rem;
  font-weight: 700;
  color: var(--brand);
}

.diag-notice__msg {
  margin: 0;
  color: var(--ink);
  font-size: 0.9rem;
  line-height: 1.45;
}

.diag-notice__hint {
  margin: 0.55rem 0 0;
  color: var(--ink-soft);
  font-size: 0.82rem;
  line-height: 1.4;
}

/* Empty */
.empty {
  margin-top: 0.25rem;
  padding: 1.5rem 1.2rem;
  border: 1.5px dashed rgba(30, 58, 95, 0.2);
  border-radius: var(--radius);
  color: var(--ink-soft);
  background: rgba(255,255,255,0.75);
  text-align: center;
}

.empty.is-hidden { display: none; }

.empty-icon {
  font-size: 1.5rem;
  color: var(--sky);
  margin-bottom: 0.45rem;
  opacity: 0.85;
}

.empty p { margin: 0; }

/* Result */
.result { margin-top: 0.25rem; }
.result.is-hidden { display: none; }

.result-toolbar {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: 0.75rem;
}

.btn-change {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  border: 1px solid rgba(30, 58, 95, 0.14);
  background: #fff;
  color: var(--brand);
  font: inherit;
  font-weight: 600;
  font-size: 0.9rem;
  padding: 0.65rem 1rem;
  border-radius: 999px;
  cursor: pointer;
  box-shadow: var(--shadow-soft);
  transition: transform 0.15s ease, background 0.15s ease;
}

.btn-change--ghost {
  background: transparent;
  box-shadow: none;
}

.btn-change:hover {
  background: var(--sky-soft);
  transform: translateY(-1px);
}

.result-card {
  background: var(--surface);
  border: 1px solid rgba(30, 58, 95, 0.12);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 1.15rem;
  width: 100%;
  max-width: 100%;
  min-width: 0;
  overflow-x: clip;
}

.result-head {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  align-items: flex-start;
  margin-bottom: 1rem;
  width: 100%;
}

.result-head > div {
  min-width: 0;
  flex: 1 1 auto;
  width: 100%;
  max-width: 100%;
  display: block;
}

.result-head h2 {
  margin: 0.2rem 0 0;
  font-family: var(--font-display);
  font-size: clamp(1.05rem, 2.8vw, 1.45rem);
  color: var(--brand);
  line-height: 1.3;
  overflow-wrap: break-word !important;
  word-break: normal !important;
  word-wrap: break-word !important;
  white-space: normal !important;
  display: block;
  width: 100%;
}

.breadcrumbs {
  margin: 0;
  color: var(--ink-soft);
  font-size: 0.84rem;
  font-weight: 500;
}

.codes {
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
  align-items: stretch;
  min-width: min(11.5rem, 42%);
}

.code-chip {
  display: flex;
  flex-direction: column;
  gap: 0.12rem;
  padding: 0.45rem 0.7rem;
  border-radius: 10px;
  border: 1px solid transparent;
  text-align: right;
}

.code-chip--id {
  background: linear-gradient(135deg, #1e3a5f 0%, #2f6f9e 100%);
  border-color: rgba(30, 58, 95, 0.25);
  box-shadow: 0 4px 12px rgba(30, 58, 95, 0.18);
}

.code-chip--alpha {
  background: var(--accent-soft);
  border-color: rgba(232, 145, 58, 0.4);
}

.code-chip__label {
  font-size: 0.62rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.code-chip--id .code-chip__label {
  color: rgba(255, 255, 255, 0.75);
}

.code-chip--alpha .code-chip__label {
  color: #a65a1a;
}

.code-chip__value {
  font-size: 0.88rem;
  font-weight: 700;
  font-variant-numeric: tabular-nums;
  letter-spacing: 0.01em;
  line-height: 1.2;
  word-break: normal;
}

.code-chip--id .code-chip__value {
  color: #ffffff;
}

.code-chip--alpha .code-chip__value {
  color: var(--rate);
}

.code-chip.is-empty {
  display: none;
}

.tier-grid {
  display: grid;
  gap: 0.95rem;
}

.tier {
  border: 1px solid rgba(26, 35, 50, 0.08);
  border-radius: 14px;
  overflow: hidden;
  background: #fff;
  box-shadow: var(--shadow-soft);
}

.tier-head {
  padding: 0.8rem 1rem;
  font-weight: 700;
  color: #fff;
  font-size: 0.95rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.tier[data-tier="1"] .tier-head {
  background: linear-gradient(135deg, #152a45, #1e3a5f 55%, #2a5280);
}
.tier[data-tier="2"] .tier-head {
  background: linear-gradient(135deg, #245a82, #2f6f9e 55%, #3b82c4);
}
.tier[data-tier="3"] .tier-head {
  background: linear-gradient(135deg, #b45309, #d97706 55%, #e8913a);
}

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

.tier th,
.tier td {
  padding: 0.72rem 0.85rem;
  border-top: 1px solid rgba(26, 35, 50, 0.07);
  text-align: right;
}

.tier th:first-child,
.tier td:first-child {
  text-align: left;
  font-weight: 600;
}

.tier thead th {
  background: #eef2f7;
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--ink-soft);
  font-weight: 700;
}

.tier tbody tr:nth-child(odd) { background: #ffffff; }
.tier tbody tr:nth-child(even) { background: #eef3f9; }

.tier[data-tier="2"] thead th { background: #e8f1f8; }
.tier[data-tier="2"] tbody tr:nth-child(even) { background: #eaf4fb; }
.tier[data-tier="3"] thead th { background: #fff4e8; }
.tier[data-tier="3"] tbody tr:nth-child(even) { background: #fff8ef; }

.tier td.money {
  text-align: right;
}

.tier td.money .amt {
  display: inline-block;
  min-width: 0;
  max-width: 100%;
  font-variant-numeric: tabular-nums;
  font-weight: 800;
  font-size: 0.92rem;
  padding: 0.35rem 0.55rem;
  border-radius: 8px;
  text-align: right;
  overflow-wrap: break-word;
  word-break: normal;
}

.tier[data-tier="1"] td.money .amt {
  color: #065f46;
  background: #d1fae5;
  border: 1px solid #6ee7b7;
}

.tier[data-tier="2"] td.money .amt {
  color: #0c4a6e;
  background: #e0f2fe;
  border: 1px solid #7dd3fc;
}

.tier[data-tier="3"] td.money .amt {
  color: #9a3412;
  background: #ffedd5;
  border: 1px solid #fdba74;
}

/* Missing / not-notified rate â€” keep neutral, not tier-colored (avoid looking like an error) */
.tier td.money .amt--empty {
  color: var(--ink-soft) !important;
  background: #eef1f5 !important;
  border: 1px solid rgba(26, 35, 50, 0.14) !important;
  font-weight: 600;
}

.note {
  margin: 0.95rem 0 0;
  color: var(--ink-soft);
  font-size: 0.84rem;
  display: flex;
  gap: 0.4rem;
  align-items: flex-start;
}

.note i {
  margin-top: 0.15rem;
  color: var(--sky);
}

.seo-about {
  margin: 1.75rem 0 0.5rem;
  padding: 1.25rem 1.2rem 1.35rem;
  background: rgba(255, 255, 255, 0.72);
  border: 1px solid rgba(30, 58, 95, 0.1);
  border-radius: 16px;
  color: var(--ink);
}

.seo-about h2 {
  margin: 0 0 0.65rem;
  font-family: Literata, Georgia, serif;
  font-size: 1.15rem;
  font-weight: 700;
  color: #152a45;
  line-height: 1.3;
}

.seo-about h3 {
  margin: 1rem 0 0.4rem;
  font-size: 0.95rem;
  font-weight: 700;
  color: #1e3a5f;
}

.seo-about p,
.seo-about li {
  margin: 0;
  font-size: 0.86rem;
  line-height: 1.55;
  color: var(--ink-soft);
}

.seo-about ul {
  margin: 0.35rem 0 0;
  padding-left: 1.15rem;
}

.seo-about li + li {
  margin-top: 0.25rem;
}

.seo-about__note {
  margin-top: 0.9rem !important;
  padding-top: 0.75rem;
  border-top: 1px solid rgba(30, 58, 95, 0.08);
  font-size: 0.8rem !important;
}

.ad-slot {
  margin: 0 !important;
  padding: 0 !important;
  min-height: 0;
  width: 100%;
  max-width: 100%;
  overflow: hidden;
  text-align: center;
  background: transparent;
  border: none;
  border-radius: 0;
  clear: both;
  position: relative;
  z-index: 1;
}

/* Form ad 1: right after "Search Telangana EHS rates" heading */
.form-panel > .ad-slot--after-heading {
  display: block;
  margin: 0 !important;
  padding: 0 !important;
  width: 100%;
  min-height: 90px;
  max-width: 100%;
}

/* Form ad 2: directly above Search rates button */
.search-form > .ad-slot--before-submit {
  display: block;
  margin: 1.25rem 0 1rem !important;
  padding: 0 !important;
  width: 100%;
  min-height: 90px;
  max-width: 100%;
}

.ad-slot .adsbygoogle {
  display: block !important;
  width: 100% !important;
  max-width: 100%;
  min-height: 90px;
  margin: 0 !important;
  padding: 0 !important;
  border: 0 !important;
}

.result-card > .result-ad-wrap,
.result-ad-wrap > .ad-slot,
.result-card > .ad-slot {
  display: block;
  margin: 0 !important;
  padding: 0 !important;
  min-height: 90px;
}

.pkg-list > .ad-slot {
  display: block;
  margin: 0.75rem 0 !important;
  padding: 0 !important;
  min-height: 90px;
}



@media (max-width: 640px) {
  .page {
    padding: 0.75rem 0.65rem 4.5rem;
  }

  .hero-card {
    padding: 1.05rem 0.95rem 1rem !important;
    margin-bottom: 0.85rem !important;
    border-radius: 13px !important;
  }

  .hero-card__title {
    font-size: 1.3rem !important;
    line-height: 1.25 !important;
    margin-bottom: 0.4rem !important;
    word-break: normal !important;
    overflow-wrap: break-word !important;
    word-wrap: break-word !important;
    white-space: normal !important;
  }

  .hero-card__sub {
    font-size: 0.82rem !important;
    line-height: 1.4 !important;
    word-break: normal !important;
    overflow-wrap: break-word !important;
    word-wrap: break-word !important;
    white-space: normal !important;
  }

  .pkg-card {
    display: block !important;
    width: 100% !important;
  }

  .pkg-card__head {
    display: flex !important;
    flex-direction: column !important;
    align-items: stretch !important;
    gap: 0.55rem !important;
    width: 100% !important;
  }

  .pkg-card__title {
    width: 100% !important;
    min-width: 0 !important;
    display: block !important;
  }

  .pkg-card__name {
    font-size: 0.95rem !important;
    line-height: 1.35 !important;
    word-break: normal !important;
    overflow-wrap: break-word !important;
    word-wrap: break-word !important;
    white-space: normal !important;
    display: block !important;
    width: 100% !important;
  }

  .pkg-card__path {
    font-size: 0.76rem !important;
    word-break: normal !important;
    overflow-wrap: break-word !important;
    word-wrap: break-word !important;
    white-space: normal !important;
    display: block !important;
    width: 100% !important;
  }

  .result-head {
    display: flex !important;
    flex-direction: column !important;
    gap: 0.65rem !important;
    width: 100% !important;
  }

  .result-head > div {
    width: 100% !important;
    min-width: 0 !important;
    display: block !important;
  }

  .result-head h2 {
    font-size: 1.2rem !important;
    line-height: 1.3 !important;
    word-break: normal !important;
    overflow-wrap: break-word !important;
    word-wrap: break-word !important;
    white-space: normal !important;
    display: block !important;
    width: 100% !important;
  }

  .list-toolbar {
    flex-direction: column;
    align-items: stretch;
    gap: 0.5rem;
  }

  .list-count {
    font-size: 0.84rem;
    line-height: 1.35;
    overflow-wrap: break-word;
  }

  .pkg-list {
    gap: 0.65rem;
    width: 100%;
    min-width: 0;
  }

  .pkg-card__head {
    flex-direction: column;
    align-items: stretch;
    gap: 0.55rem;
  }

  .pkg-card__rate {
    max-width: 100%;
    width: 100%;
    flex-wrap: wrap;
    flex-direction: row;
    align-items: center;
    justify-content: flex-start;
    gap: 0.35rem 0.55rem;
    text-align: left;
    padding: 0.45rem 0.6rem;
  }

  .pkg-card__amount {
    font-size: 0.84rem;
    flex: 1 1 auto;
    min-width: 0;
  }

  .pkg-card__rate small {
    font-size: 0.62rem;
    margin-left: 0;
    white-space: normal;
    flex: 0 0 auto;
  }

  .pkg-card__name {
  margin: 0;
  font-weight: 700;
  color: var(--brand);
  font-size: 0.98rem;
  line-height: 1.35;
  overflow-wrap: break-word !important;
  word-break: normal !important;
  word-wrap: break-word !important;
  white-space: normal !important;
  display: block;
  width: 100%;
}

  .pkg-card__path {
    font-size: 0.74rem;
  }

  .pkg-card__cta {
    margin-top: 0.65rem;
    padding: 0.65rem 0.7rem;
    gap: 0.45rem;
  }

  .pkg-card__cta-text strong {
    font-size: 0.82rem;
    overflow-wrap: break-word;
  }

  .pkg-card__cta-icon {
    width: 1.85rem;
    height: 1.85rem;
    font-size: 0.8rem;
  }

  .filters { grid-template-columns: 1fr; }

  .result-card {
    padding: 0.85rem 0.75rem;
  }



  .codes {
    width: 100%;
    min-width: 0;
    flex-direction: row;
    flex-wrap: wrap;
  }

  .code-chip {
    flex: 1 1 8rem;
    min-width: 0;
    text-align: left;
  }

  .tier-grid {
    width: 100%;
    min-width: 0;
  }

  .tier {
    width: 100%;
    max-width: 100%;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
  }

  .tier table {
    width: 100%;
    max-width: 100%;
    table-layout: fixed;
  }

  /* Give "Hospital type" a bit more room than the 3 equal money columns */
  .tier thead th:first-child {
    width: 32%;
  }

  .tier thead th:not(:first-child) {
    width: 22.67%;
  }

  .tier th,
  .tier td {
    padding: 0.5rem 0.35rem;
    font-size: 0.78rem;
    overflow-wrap: break-word;
    word-break: normal;
  }

  .tier td.money .amt {
    font-size: 0.75rem;
    padding: 0.28rem 0.35rem;
    min-width: 0;
    display: inline;
  }

  .diag-notice {
    flex-direction: column;
    gap: 0.55rem;
    padding: 0.85rem 0.85rem;
  }

  .diag-notice__msg,
  .diag-notice__hint {
    overflow-wrap: break-word;
  }

  .chip {
    max-width: 100%;
    white-space: normal;
    overflow-wrap: break-word;
  }

  .seo-about,
  .seo-about p,
  .seo-about li {
    overflow-wrap: break-word;
    word-break: normal;
  }
}
