/* Use the same Mali fonts, palette, background and brand header as the other pages. */
.birth-shell {
  width: min(100%, 820px);
  margin: auto;
  padding: 24px 18px;
  line-height: 1.85;
  overflow-wrap: anywhere;
}
.birth-shell a { color: var(--orange-deep); text-underline-offset: 4px; }
.birth-intro { margin: 28px 0 24px; text-align: center; }
.birth-intro .eyebrow { margin: 0 0 6px; }
.birth-intro h1 { margin: 0; font-size: clamp(1.6rem, 5vw, 2rem); line-height: 1.65; }
.birth-intro > p:not(.eyebrow) { max-width: 42rem; margin: 10px auto 0; color: var(--muted); font-size: 1rem; }
.birth-methods { display: flex; justify-content: center; flex-wrap: wrap; gap: 6px 8px; list-style: none; padding: 0; margin: 16px 0 0; }
.birth-methods li { padding: 4px 12px; border: 1px solid var(--line); border-radius: 999px; background: #fff0dc; color: #70513b; font-size: .8125rem; }

.birth-shell .form {
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 22px;
  background: var(--paper);
  box-shadow: 0 12px 32px var(--shadow);
}
.birth-shell .step { margin: 0 0 4px; color: var(--orange-deep); font-size: .875rem; font-weight: 600; }
.birth-shell .form h2 { margin: 0 0 20px; font-size: 1.25rem; line-height: 1.7; }
.birth-shell .grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px 16px; }
.birth-shell .field { min-width: 0; }
.birth-shell .field.full { grid-column: 1 / -1; }
.birth-shell label { margin-bottom: 8px; }
.birth-shell select,
.birth-shell input {
  display: block;
  width: 100%;
  min-width: 0;
  max-width: 100%;
  min-height: 50px;
  padding: 12px;
  border: 1px solid #a88a77;
  border-radius: 10px;
  background: #fff;
  color: var(--ink);
  font: inherit;
  font-size: 1rem;
  line-height: 1.5;
}
.birth-shell select:focus-visible { outline: 3px solid #793306; outline-offset: 4px; }
.birth-shell .privacy-hint { margin: 20px 0 16px; color: var(--muted); }
.birth-shell .readbtn { min-height: 54px; }
.birth-shell .note { margin-top: 14px; color: var(--muted); text-align: center; font-size: .875rem; }
.birth-shell .error { display: none; margin: 16px 0 0; padding: 12px 14px; border: 1px solid #e2afa4; border-radius: 12px; background: #fff0ee; color: #9b2410; }

.birth-shell .results { display: none; margin-top: 28px; scroll-margin-top: 24px; }
.birth-shell .profile { padding: 24px; border: 1px solid #dfb085; border-radius: 22px; background: #fff0dc; }
.birth-shell .profile .small,
.birth-shell .card .kicker { color: var(--orange-deep); font-size: .8125rem; font-weight: 700; }
.birth-shell .profile h2 { margin: 6px 0 10px; font-size: clamp(1.4rem, 4vw, 1.75rem); line-height: 1.65; }
.birth-shell .profile p { margin: 0; color: #70513b; font-size: 1rem; }
.birth-shell .codechips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 16px; }
.birth-shell .chip { padding: 6px 12px; border: 1px solid var(--line); border-radius: 999px; background: var(--paper); font-size: .875rem; }
.birth-shell .number-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; margin-top: 16px; }
.birth-shell .num { min-width: 0; padding: 16px 8px; border: 1px solid var(--line); border-radius: 16px; background: var(--paper); text-align: center; }
.birth-shell .num .v { color: var(--orange-deep); font-size: 1.75rem; font-weight: 700; }
.birth-shell .num .k { color: var(--muted); font-size: .875rem; }
.birth-shell .section { margin-top: 28px; }
.birth-shell .sec-head { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 4px 12px; margin-bottom: 12px; }
.birth-shell .sec-head h3 { margin: 0; color: var(--orange-deep); font-size: 1.25rem; }
.birth-shell .sec-head span { color: var(--muted); font-size: .875rem; }
.birth-shell .card { min-width: 0; padding: 22px; margin-bottom: 14px; border: 1px solid var(--line); border-radius: 22px; background: var(--paper); }
.birth-shell .card h4 { margin: 4px 0 10px; font-size: 1.125rem; line-height: 1.7; }
.birth-shell .card p { margin: 0; font-size: 1rem; line-height: 1.95; }
.birth-shell .two { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
.birth-shell .advice { padding: 24px; border: 1px solid #dfb085; border-radius: 22px; background: #fff0dc; }
.birth-shell .advice .catline { color: var(--orange-deep); font-size: 1.125rem; font-weight: 700; }
.birth-shell .advice p { margin: 10px 0 0; line-height: 1.95; }
.birth-shell .cta { display: flex; align-items: center; gap: 14px; margin-top: 16px; padding: 20px; border: 1px solid var(--line); border-radius: 18px; background: var(--paper); text-decoration: none; }
.birth-shell .cta:hover { background: #fff0dc; }
.birth-shell .cta .ic { flex: 0 0 auto; font-size: 1.75rem; }
.birth-shell .cta h4 { margin: 0 0 4px; font-size: 1rem; }
.birth-shell .cta p { margin: 0; color: var(--muted); font-size: .875rem; }
.birth-shell .cta .arr { margin-left: auto; font-size: 1.5rem; }
.birth-shell .disclaimer { margin: 24px 8px 0; color: var(--muted); text-align: center; font-size: .875rem; line-height: 1.85; }

.birth-shell .timeline { display: grid; gap: 10px; margin-top: 16px; }
.birth-shell .timeline-item { display: flex; align-items: center; gap: 12px; padding: 12px; border: 1px solid var(--line); border-radius: 14px; background: var(--cream); }
.birth-shell .timeline-item.current { border-color: #dfb085; background: #fff0dc; }
.birth-shell .timeline-num { display: grid; place-items: center; flex: 0 0 auto; width: 40px; height: 40px; border: 1px solid var(--line); border-radius: 12px; background: #fff; color: var(--orange-deep); font-size: 1.125rem; font-weight: 700; }
.birth-shell .timeline-item strong { display: block; font-size: 1rem; }
.birth-shell .timeline-item span { color: var(--muted); font-size: .875rem; }
.birth-shell .taksa-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; margin-top: 16px; }
.birth-shell .taksa { padding: 14px; border: 1px solid var(--line); border-radius: 14px; background: #fff; }
.birth-shell .taksa strong { display: block; color: var(--orange-deep); font-size: .875rem; }
.birth-shell .taksa span { font-size: 1rem; }
.birth-shell .taksa.warn { border-color: #e2afa4; background: #fff3f0; }
.birth-shell .taksa.good { border-color: #cee1cf; background: #f8fff8; }

@media (max-width: 600px) {
  .birth-shell .two { grid-template-columns: 1fr; gap: 0; }
}
@media (max-width: 480px) {
  .birth-shell { padding: 20px 14px; }
  .birth-intro { margin-top: 24px; }
  .birth-shell .form,
  .birth-shell .profile,
  .birth-shell .card,
  .birth-shell .advice { padding: 20px 16px; }
  .birth-shell .grid { gap: 16px 12px; }
  .birth-shell .number-grid { gap: 8px; }
  .birth-shell .taksa-grid { grid-template-columns: 1fr; }
  .birth-shell .cta { padding: 16px; gap: 10px; }
}
@media (max-width: 360px) {
  .birth-shell .grid { grid-template-columns: 1fr; }
}
