@import url('https://fonts.googleapis.com/css2?family=Noto+Sans+Symbols:wght@400;500;600&display=swap');
/* Alya tools + blog shared styling. Loads after style.css, reuses its tokens. */

/* Monochrome symbol font for zodiac/planet glyphs (avoids OS colour emoji). */
.bt-glyph, .hc-glyph, .st-glyph, .rc-glyph, .article-hero .glyph, .data-table td .g, .bt-card .bt-glyph {
  font-family: "Noto Sans Symbols", "Segoe UI Symbol", "Apple Symbols", sans-serif;
}

.tool-main { max-width: 860px; margin: 0 auto; padding: 48px 24px 80px; }
.tool-head { text-align: center; margin-bottom: 36px; }
.tool-head .kicker { font-size: 13px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--accent); font-weight: 600; }
.tool-head h1 { font-family: "Fraunces", Georgia, serif; font-weight: 500; font-size: 40px; line-height: 1.1; margin: 12px 0 14px; color: var(--text); }
.tool-head p { font-size: 18px; color: var(--text-secondary); max-width: 620px; margin: 0 auto; line-height: 1.5; }

.tool-card {
  background: var(--bg-card, #1A1720);
  border: 1px solid var(--border-light);
  border-radius: var(--radius, 16px);
  padding: 26px;
}
.tool-card + .tool-card { margin-top: 22px; }

.field { margin-bottom: 18px; }
.field:last-child { margin-bottom: 0; }
.field > label { display: block; font-size: 14px; font-weight: 600; color: var(--text); margin-bottom: 7px; }
.field .hint { font-size: 13px; color: var(--text-tertiary); margin-top: 6px; }

.control, input[type="text"].control, input[type="number"].control, input[type="date"].control, input[type="time"].control, select.control {
  width: 100%;
  background: #100E15;
  border: 1px solid var(--border-light);
  border-radius: 10px;
  color: var(--text);
  font-size: 16px;
  font-family: inherit;
  padding: 12px 14px;
  -webkit-appearance: none;
  appearance: none;
}
.control:focus { outline: none; border-color: var(--accent); }
select.control { background-image: 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='%23A9A2B5' d='M1 1l5 5 5-5'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 14px center; padding-right: 36px; }

.field-row { display: grid; gap: 12px; }
.field-row.cols-3 { grid-template-columns: 1fr 1fr 1fr; }
.field-row.cols-2 { grid-template-columns: 1fr 1fr; }

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  background: var(--accent); color: #17130a;
  font-size: 16px; font-weight: 600; font-family: inherit;
  border: none; border-radius: 980px; padding: 14px 28px; cursor: pointer;
  transition: background 0.15s ease, opacity 0.15s ease;
}
.btn:hover { background: var(--accent-hover); }
.btn:disabled { opacity: 0.55; cursor: default; }
.btn-full { width: 100%; }
.btn-ghost { background: transparent; color: var(--text-secondary); border: 1px solid var(--border-light); }
.btn-ghost:hover { background: rgba(255,255,255,0.04); color: var(--text); }

.btn .spinner { width: 16px; height: 16px; border-radius: 50%; border: 2px solid rgba(23,19,10,0.35); border-top-color: #17130a; animation: spin 0.7s linear infinite; display: none; }
.btn.loading .spinner { display: inline-block; }
.btn.loading .btn-label { opacity: 0.7; }
@keyframes spin { to { transform: rotate(360deg); } }

/* place autocomplete */
.place-wrap { position: relative; }
.place-results { list-style: none; margin: 6px 0 0; padding: 6px; position: absolute; z-index: 30; left: 0; right: 0; background: #17141D; border: 1px solid var(--border-light); border-radius: 12px; box-shadow: 0 18px 50px rgba(0,0,0,0.55); max-height: 260px; overflow-y: auto; }
.place-results:empty { display: none; }
.place-result { padding: 10px 12px; border-radius: 8px; cursor: pointer; font-size: 15px; color: var(--text); display: flex; justify-content: space-between; gap: 10px; }
.place-result:hover, .place-result.active { background: rgba(224,179,69,0.12); }
.place-result .co { color: var(--text-tertiary); font-size: 13px; white-space: nowrap; }
.place-chosen { font-size: 13px; color: var(--accent); margin-top: 7px; }

.msg { font-size: 14px; border-radius: 10px; padding: 11px 14px; margin-top: 14px; }
.msg.error { background: rgba(220,90,90,0.10); border: 1px solid rgba(220,90,90,0.4); color: #E6A6A6; }
.msg.warn { background: rgba(224,179,69,0.08); border: 1px solid rgba(224,179,69,0.35); color: #E7CE93; }

/* results */
.results { margin-top: 30px; }
.results[hidden] { display: none; }

.big-three { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; margin-bottom: 22px; }
.bt-card { background: var(--bg-card, #1A1720); border: 1px solid var(--border-light); border-radius: 14px; padding: 20px 16px; text-align: center; }
.bt-card .bt-role { font-size: 12px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--text-tertiary); }
.bt-card .bt-glyph { font-size: 30px; color: var(--accent); margin: 8px 0 4px; }
.bt-card .bt-sign { font-family: "Fraunces", Georgia, serif; font-size: 22px; color: var(--text); }
.bt-card .bt-deg { font-size: 13px; color: var(--text-secondary); margin-top: 2px; }

.data-table { width: 100%; border-collapse: collapse; font-size: 15px; }
.data-table caption { text-align: left; font-family: "Fraunces", Georgia, serif; font-size: 20px; color: var(--text); margin-bottom: 12px; }
.data-table th, .data-table td { text-align: left; padding: 10px 12px; border-bottom: 1px solid var(--border-light); }
.data-table th { color: var(--text-tertiary); font-weight: 600; font-size: 13px; letter-spacing: 0.03em; }
.data-table td .g { color: var(--accent); margin-right: 6px; }
.data-table .rx { color: #E7A6A6; font-size: 12px; font-weight: 600; }

.balance { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; }
@media (max-width: 560px) { .balance { grid-template-columns: 1fr; } }
.bar-row { display: flex; align-items: center; gap: 10px; margin-bottom: 8px; font-size: 14px; }
.bar-row .bar-name { width: 74px; color: var(--text-secondary); }
.bar-track { flex: 1; height: 8px; background: #100E15; border-radius: 6px; overflow: hidden; }
.bar-fill { height: 100%; background: var(--accent); border-radius: 6px; }
.bar-row .bar-val { width: 22px; text-align: right; color: var(--text-tertiary); }

.aspect-list { list-style: none; margin: 0; padding: 0; columns: 2; column-gap: 24px; }
@media (max-width: 560px) { .aspect-list { columns: 1; } }
.aspect-list li { break-inside: avoid; padding: 7px 0; border-bottom: 1px solid var(--border-light); font-size: 14px; color: var(--text-secondary); }
.aspect-list li .asp { color: var(--text); font-weight: 600; }

.section-block { margin-top: 26px; }
.section-block h2 { font-family: "Fraunces", Georgia, serif; font-weight: 500; font-size: 24px; color: var(--text); margin: 0 0 14px; }

.tool-disclaimer { margin-top: 30px; font-size: 13px; color: var(--text-tertiary); line-height: 1.6; border-top: 1px solid var(--border-light); padding-top: 18px; }

/* tools hub */
.hub-cat { margin-top: 40px; }
.hub-cat h2 { font-family: "Fraunces", Georgia, serif; font-weight: 500; font-size: 26px; color: var(--text); margin: 0 0 4px; }
.hub-cat p.cat-sub { color: var(--text-tertiary); margin: 0 0 18px; font-size: 15px; }
.hub-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: 14px; }
.hub-card { display: block; background: var(--bg-card, #1A1720); border: 1px solid var(--border-light); border-radius: 14px; padding: 18px; transition: border-color 0.15s ease, transform 0.15s ease; }
.hub-card:hover { border-color: var(--accent); text-decoration: none; transform: translateY(-2px); }
.hub-card .hc-glyph { font-size: 22px; color: var(--accent); }
.hub-card .hc-title { font-weight: 600; color: var(--text); margin: 8px 0 4px; font-size: 16px; }
.hub-card .hc-desc { font-size: 13.5px; color: var(--text-secondary); line-height: 1.45; }
.hub-card.soon { opacity: 0.62; cursor: default; position: relative; }
.hub-card.soon:hover { border-color: var(--border-light); transform: none; }
.soon-badge { position: absolute; top: 14px; right: 14px; font-size: 10px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--text-tertiary); border: 1px solid var(--border-light); border-radius: 999px; padding: 2px 8px; }

/* breadcrumb */
.crumb { font-size: 13px; color: var(--text-tertiary); margin-bottom: 8px; }
.crumb a { color: var(--text-tertiary); }
.crumb a:hover { color: var(--accent); }

@media (max-width: 560px) {
  .tool-head h1 { font-size: 32px; }
  .field-row.cols-3 { grid-template-columns: 1fr 1fr 1fr; gap: 8px; }
  .big-three { grid-template-columns: 1fr; }
}

/* ---- Blog / articles ---- */
.article { max-width: 748px; margin: 0 auto; padding: 44px 24px 80px; }
.article-hero { text-align: center; margin-bottom: 30px; }
.article-hero .glyph { font-size: 46px; color: var(--accent); line-height: 1; }
.article-hero h1 { font-family: "Fraunces", Georgia, serif; font-weight: 500; font-size: 40px; line-height: 1.1; margin: 14px 0 10px; color: var(--text); }
.article-hero .tagline { font-size: 19px; color: var(--text-secondary); font-style: italic; margin: 0; }
.article-hero .dates { font-size: 14px; color: var(--text-tertiary); margin-top: 10px; letter-spacing: 0.02em; }

.fact-box { display: grid; grid-template-columns: repeat(auto-fit, minmax(120px, 1fr)); gap: 1px; background: var(--border-light); border: 1px solid var(--border-light); border-radius: 14px; overflow: hidden; margin: 26px 0; }
.fact-box .fact { background: var(--bg-card, #1A1720); padding: 14px 16px; }
.fact-box .fact .k { font-size: 11px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--text-tertiary); }
.fact-box .fact .v { font-size: 15px; color: var(--text); margin-top: 3px; font-weight: 500; }

.article-body h2 { font-family: "Fraunces", Georgia, serif; font-weight: 500; font-size: 26px; color: var(--text); margin: 38px 0 12px; }
.article-body h3 { font-size: 18px; color: var(--text); margin: 24px 0 8px; }
.article-body p { font-size: 17px; line-height: 1.72; color: var(--text-secondary); margin: 0 0 16px; }
.article-body a { color: var(--accent); }

.pill-cols { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; margin: 20px 0 8px; }
@media (max-width: 560px) { .pill-cols { grid-template-columns: 1fr; } }
.pill-cols h3 { margin-top: 0; }
.pill-list { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.pill-list li { font-size: 14px; color: var(--text); background: var(--bg-card, #1A1720); border: 1px solid var(--border-light); border-radius: 999px; padding: 6px 13px; }
.pill-list.challenge li { color: var(--text-secondary); }

.article-cta { margin: 40px 0 0; background: linear-gradient(180deg, rgba(224,179,69,0.08), rgba(224,179,69,0.02)); border: 1px solid var(--border-light); border-radius: 16px; padding: 26px; text-align: center; }
.article-cta h3 { font-family: "Fraunces", Georgia, serif; font-size: 22px; color: var(--text); margin: 0 0 8px; font-weight: 500; }
.article-cta p { color: var(--text-secondary); margin: 0 0 16px; font-size: 15px; }

.related { margin-top: 44px; }
.related h2 { font-family: "Fraunces", Georgia, serif; font-weight: 500; font-size: 22px; color: var(--text); margin: 0 0 14px; }
.related-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 12px; }
.related-card { display: block; background: var(--bg-card, #1A1720); border: 1px solid var(--border-light); border-radius: 12px; padding: 14px 16px; font-size: 15px; color: var(--text); }
.related-card:hover { border-color: var(--accent); text-decoration: none; }
.related-card .rc-glyph { color: var(--accent); margin-right: 7px; }

/* blog index */
.blog-hero { text-align: center; padding: 20px 0 8px; }
.sign-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 12px; margin-top: 18px; }
.sign-tile { display: block; background: var(--bg-card, #1A1720); border: 1px solid var(--border-light); border-radius: 14px; padding: 18px 14px; text-align: center; }
.sign-tile:hover { border-color: var(--accent); text-decoration: none; transform: translateY(-2px); transition: all 0.15s ease; }
.sign-tile .st-glyph { font-size: 26px; color: var(--accent); }
.sign-tile .st-name { font-family: "Fraunces", Georgia, serif; font-size: 18px; color: var(--text); margin-top: 6px; }
.sign-tile .st-dates { font-size: 12px; color: var(--text-tertiary); margin-top: 2px; }

/* Render astrological/symbol glyphs as text, not colour emoji. */
.bt-glyph, .hc-glyph, .st-glyph, .rc-glyph, .article-hero .glyph, .data-table td .g { font-variant-emoji: text; }
