/* Fatewave love chart / synastry — tool styles (Warm Editorial Light) */

.chart-tool { max-width: 720px; margin: clamp(28px, 5vw, 48px) auto 0; }

.chart-card {
  border: 1px solid var(--line);
  border-radius: 20px;
  background: var(--paper-raise);
  box-shadow: 0 24px 60px var(--shadow-soft);
  padding: clamp(22px, 4vw, 34px);
}

.person-block + .person-block { margin-top: 26px; padding-top: 26px; border-top: 1px solid var(--line); }
.person-block > .block-label {
  display: block; margin-bottom: 14px;
  color: var(--accent); font-size: 11.5px; font-weight: 800; letter-spacing: 0.14em; text-transform: uppercase;
}

.field-row { display: grid; grid-template-columns: 1.4fr 1fr; gap: 14px; }
.cfield { display: grid; gap: 6px; }
.cfield label { color: var(--ink); font-size: 13px; font-weight: 700; }
.cfield .hint { color: var(--ink-faint); font-weight: 600; }
.cfield input {
  border: 1px solid var(--line-strong); border-radius: 11px; padding: 12px 14px;
  background: var(--paper); color: var(--ink); font-size: 16px; outline: 0;
  transition: border-color 0.18s var(--ease), box-shadow 0.18s var(--ease);
}
.cfield input:focus { border-color: var(--accent); box-shadow: 0 0 0 3px var(--accent-soft); }

.crush-switch { display: flex; align-items: center; gap: 10px; margin-top: 22px; color: var(--ink); font-weight: 600; cursor: pointer; }
.crush-switch input { width: 18px; height: 18px; accent-color: var(--accent); }
.crush-fields.is-hidden { display: none; }
.crush-fields { margin-top: 18px; }

.chart-actions { margin-top: 26px; display: flex; align-items: center; gap: 16px; flex-wrap: wrap; }
#chart-btn { min-width: 200px; }
.form-err { color: #a23b4a; font-size: 14px; margin: 0; }
.privacy-note { margin: 14px 0 0; color: var(--ink-faint); font-size: 13px; line-height: 1.5; }
.privacy-note svg { width: 14px; height: 14px; vertical-align: -2px; margin-right: 4px; fill: none; stroke: var(--accent); stroke-width: 1.7; }

/* results */
.results { margin-top: 28px; display: grid; gap: 20px; }
.you-result, .syn-result {
  border: 1px solid var(--line); border-radius: 18px; background: var(--paper-raise);
  box-shadow: 0 20px 50px var(--shadow-soft); padding: clamp(22px, 4vw, 32px);
}
.you-result.is-hidden, .syn-result.is-hidden { display: none; }
.result-name { font-family: var(--serif); font-size: clamp(26px, 4vw, 36px); line-height: 1; color: var(--ink); margin: 0 0 18px; }

.plc { padding: 14px 0; border-top: 1px solid var(--line); }
.plc:first-of-type { border-top: 0; padding-top: 0; }
.plc-k { display: block; color: var(--ink-muted); font-size: 12px; font-weight: 800; letter-spacing: 0.06em; text-transform: uppercase; }
.plc-v { margin: 6px 0 0; color: var(--prose-text); font-size: 16.5px; line-height: 1.55; }
.plc-lead .plc-v { color: var(--ink); font-size: 18px; }
.plc-link { display: inline-block; margin: 8px 0 0; color: var(--accent); font-weight: 700; text-decoration: underline; text-underline-offset: 3px; }

.chart-note { margin: 16px 0 0; color: var(--ink-muted); font-size: 13.5px; line-height: 1.5; }

/* synastry weather */
.weather { display: flex; align-items: center; gap: 20px; margin-bottom: 18px; }
.weather-score {
  flex: none; width: 96px; height: 96px; border-radius: 999px;
  display: grid; place-items: center; text-align: center;
  border: 1px solid var(--accent-soft);
  background: radial-gradient(circle, rgba(110,74,87,0.10), transparent 55%), var(--paper);
  box-shadow: inset 0 0 0 6px rgba(110,74,87,0.05);
}
.weather-score strong { font-family: var(--serif); font-size: 34px; line-height: 0.8; color: var(--accent-deep); }
.weather-score span { color: var(--accent); font-size: 11px; font-weight: 700; }
.weather-verdict { font-family: var(--serif); font-size: clamp(22px, 3vw, 28px); line-height: 1.05; color: var(--ink); margin: 0; }
.weather-sum { margin: 8px 0 0; color: var(--prose-text); font-size: 15.5px; line-height: 1.55; }
.syn-list { margin: 4px 0 0; padding-left: 1.2em; color: var(--prose-text); font-size: 15.5px; line-height: 1.55; }
.syn-list li { padding-left: 0.2em; }
.syn-list li + li { margin-top: 8px; }
.syn-list li::marker { color: var(--accent); }
.syn-list strong { color: var(--ink); }

/* birth-city autocomplete */
.city-wrap { position: relative; margin-top: 14px; }
.city-list {
  position: absolute; z-index: 20; top: calc(100% + 4px); left: 0; right: 0;
  background: var(--paper-raise); border: 1px solid var(--line-strong);
  border-radius: 12px; box-shadow: 0 16px 40px var(--shadow); overflow: hidden; display: none;
}
.city-list.is-open { display: block; }
.city-opt {
  display: block; width: 100%; text-align: left; border: 0; background: none;
  padding: 11px 14px; color: var(--ink); font-size: 15px; cursor: pointer;
  border-top: 1px solid var(--line);
}
.city-opt:first-child { border-top: 0; }
.city-opt:hover { background: var(--accent-soft); color: var(--accent-deep); }

@media (max-width: 540px) {
  .field-row { grid-template-columns: 1fr; }
  .weather { flex-direction: column; align-items: flex-start; }
}
