/* AstroCEO - free tool pages (/tools/, /moon-sign/, /life-path-number/, /numerology/, /zodiac-compatibility/,
   /mercury-retrograde/, /transit-calendar/, /year-ahead/). Loaded after blog.css. Logical properties: right-to-left works as is. */
html { overflow-x: clip } body { overflow-x: clip }
main { display: block }
.crumbs a { text-decoration: underline; text-underline-offset: 3px }
.tc-form { margin: 22px 0 14px }
.tc-form .tc-row { display: grid; grid-template-columns: repeat(auto-fit, minmax(190px, 1fr)); gap: 12px 14px }
.tc-form label { display: block; color: var(--muted); font-size: .88rem; margin: 0 0 6px }
.tc-form input, .tc-form select { width: 100%; min-width: 0; font: inherit; color: var(--fg); background: rgba(7, 10, 24, .7); border: 1px solid var(--line); border-radius: 12px; padding: 12px 14px; color-scheme: dark; min-height: 50px; -webkit-appearance: none; appearance: none }
.tc-form select { background-image: linear-gradient(45deg, transparent 50%, var(--gold) 50%), linear-gradient(135deg, var(--gold) 50%, transparent 50%); background-position: calc(100% - 20px) 22px, calc(100% - 14px) 22px; background-size: 6px 6px; background-repeat: no-repeat }
[dir=rtl] .tc-form select { background-position: 14px 22px, 20px 22px }
.tc-form input:focus, .tc-form select:focus { outline: none; border-color: var(--gold) }
/* 30 Nov: a tick box is not a text field. The rule above made it a full-width empty box with no tick (iPhone, /astromap/). */
.tc-form input[type=checkbox], .tc-form input[type=radio] { -webkit-appearance: none; appearance: none; flex: none; width: 24px; height: 24px; min-height: 0; padding: 0; margin: 0; border-radius: 7px; border: 1px solid #4A5488; background: #0D1228; display: inline-grid; place-content: center; cursor: pointer }
.tc-form input[type=radio] { border-radius: 50% }
.tc-form input[type=checkbox]:checked, .tc-form input[type=radio]:checked { background: #E0B15A; border-color: #E0B15A }
.tc-form input[type=checkbox]:checked::after { content: ""; width: 6px; height: 12px; border: solid #1A1405; border-width: 0 2px 2px 0; transform: rotate(45deg) translate(-1px, -1px) }
.tc-form input[type=radio]:checked::after { content: ""; width: 10px; height: 10px; border-radius: 50%; background: #1A1405 }
.tc-form input[type=checkbox]:focus-visible, .tc-form input[type=radio]:focus-visible { outline: 2px solid var(--gold); outline-offset: 2px }
.tc-form label.tc-check, .tc-form label.amp-check { display: flex; gap: 10px; align-items: center; min-height: 44px; margin: 10px 0 0; color: var(--fg); font-size: .95rem; cursor: pointer }
/* iPhone: the chosen date and time start at the edge like the other fields, and a field that is switched off looks switched off */
.tc-form input[type=date], .tc-form input[type=time] { display: block; max-width: 100%; text-align: left } .tc-form input::-webkit-date-and-time-value { text-align: left; min-height: 1.4em }
[dir=rtl] .tc-form input[type=date], [dir=rtl] .tc-form input[type=time] { text-align: right } [dir=rtl] .tc-form input::-webkit-date-and-time-value { text-align: right }
.tc-form input:disabled { opacity: .45 }
.tc-form .btn { border: 0; cursor: pointer; font: inherit; font-weight: 700; margin-top: 16px; width: 100%; text-align: center }
.tc-field { position: relative; min-width: 0 }
.tc-cities { position: absolute; z-index: 5; inset-inline: 0; top: 100%; margin: 4px 0 0; padding: 4px; list-style: none; background: #121833; border: 1px solid var(--line); border-radius: 12px; max-height: 260px; overflow: auto }
.tc-cities li { padding: 9px 10px; border-radius: 8px; cursor: pointer } .tc-cities li:hover { background: rgba(224, 177, 90, .14) }
.tc-err { color: #FF9C8A; font-size: .9rem; min-height: 1.3em; margin: 8px 0 0 }
.tc-out { border-color: rgba(224, 177, 90, .55); text-align: center; scroll-margin-top: 16px }
.tc-out[hidden], #tcCta[hidden] { display: none }
.tc-k { display: block; font-size: .74rem; letter-spacing: .16em; text-transform: uppercase; color: var(--gold); font-weight: 700; margin: 0 }
[dir=rtl] .tc-k { letter-spacing: 0 }
.tc-big { font-family: var(--display); font-size: clamp(1.7rem, 6vw, 2.6rem); line-height: 1.25; margin: 6px 0 4px; color: var(--fg); overflow-wrap: anywhere }
.tc-big.tc-num, .tc-card b.tc-num { font-size: clamp(3rem, 12vw, 4.4rem); line-height: 1; color: var(--gold2); font-family: "Marcellus", Georgia, serif }
.tc-sub { color: var(--muted); margin: 4px 0 10px }
.tc-work { color: var(--fg); font-size: .95rem; margin: 6px 0 }
.tc-note { color: var(--faint); font-size: .88rem; margin: 12px 0 0 }
.tc-quote { text-align: start; margin-top: 14px; border-top: 1px solid var(--line); padding-top: 12px } .tc-quote p { margin: 8px 0; color: #D9D6CC }
.tc-two { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 12px; margin-top: 12px; text-align: start }
.tc-card { background: rgba(7, 10, 24, .45); border: 1px solid var(--line); border-radius: 16px; padding: 16px; min-width: 0 }
.tc-card h3 { margin: 0 0 4px; font-size: 1.1rem } .tc-card .tc-quote { border: 0; padding: 0; margin: 0 }
.tc-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 12px; text-align: center }
.tc-grid .tc-card b.tc-num { display: block; font-size: 3rem; font-weight: 400; margin: 6px 0 2px } .tc-grid small { display: block; color: var(--faint); font-size: .8rem } .tc-grid p { color: #D9D6CC; font-size: .92rem; margin: 8px 0 0; line-height: 1.55 }
.tc-item { border-top: 1px solid var(--line); padding: 14px 0 6px; scroll-margin-top: 14px } .tc-item h3 { margin: 0 0 6px } .tc-item p { margin: 6px 0 }
.tc-item.tc-on, p.tc-on { background: rgba(224, 177, 90, .07); border-radius: 12px; padding-inline: 12px; margin-inline: -12px }
.tc-level { color: var(--gold); font-weight: 700; font-size: .9rem }
.tc-nums p { border-top: 1px solid var(--line); margin: 0; padding: 12px 0 }
.tc-chips { display: flex; flex-wrap: wrap; gap: 8px; margin: 10px 0 16px; padding: 0 }
.tc-chips a, .tc-chips button { font: inherit; font-size: .9rem; color: var(--fg); background: rgba(255, 255, 255, .05); border: 1px solid var(--line); border-radius: 999px; padding: 7px 14px; text-decoration: none; cursor: pointer; min-height: 38px }
.tc-chips a:hover, .tc-chips button:hover { border-color: var(--gold) }
.tc-chips button[aria-pressed=true], .tc-chips a[aria-current] { background: #F7F2E4; color: #1A1405; border-color: transparent; font-weight: 700 }
.tc-with { margin: 14px 0 0; color: var(--muted); font-size: .9rem; font-weight: 700 }
.tc-period { margin: 12px 0 } .tc-period.tc-on { border-color: var(--gold) }
.tc-period dl { margin: 10px 0 0 } .tc-period dl div { display: flex; justify-content: space-between; gap: 12px; border-top: 1px solid var(--line); padding: 8px 0; flex-wrap: wrap }
.tc-period dt { color: var(--muted); font-size: .92rem } .tc-period dd { margin: 0; text-align: end; font-weight: 600; font-size: .95rem } .tc-period dd small { display: block; color: var(--faint); font-weight: 400 }
.tc-month h2 { font-size: 1.3rem; margin: 30px 0 6px }
.tc-evs { list-style: none; padding: 0 !important; margin: 0 }
.tc-evs li { display: grid; grid-template-columns: 8.2em 1fr; gap: 2px 12px; align-items: baseline; border-top: 1px solid var(--line); padding: 9px 0 }
.tc-evs li[hidden], .tc-month[hidden] { display: none }
.tc-evs time { color: var(--muted); font-size: .9rem; font-variant-numeric: tabular-nums }
.tc-evs .tc-tag { grid-column: 2; font-size: .7rem; letter-spacing: .1em; text-transform: uppercase; color: var(--gold); font-weight: 700 } [dir=rtl] .tc-tag { letter-spacing: 0 }
.tc-evs .tc-what { grid-column: 2; color: var(--fg) }
.tc-evs li.tc-past { opacity: .5 } .tc-evs li.tc-next .tc-what { color: var(--gold2); font-weight: 700 }
.tc-evs li[data-ev=solar] .tc-what, .tc-evs li[data-ev=lunar] .tc-what { font-weight: 700 }
.tc-sign { border-top: 1px solid var(--line); padding-top: 6px; margin-top: 26px; scroll-margin-top: 14px } .tc-sign h2 { margin-top: 18px } .tc-sign ul { margin: 6px 0 12px }
.tc-sign.tc-on h2 { color: var(--gold2) }
.tc-tools { display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 14px; margin: 14px 0 }
.tc-tools .card { padding: 18px } .tc-tools .card h3 { margin: 0 0 6px; font-size: 1.15rem; color: var(--fg) } .tc-tools .card p { font-size: .93rem }
.tc-langs { color: var(--faint); font-size: .88rem; margin: 30px 0 0 } .tc-langs a { color: var(--muted) }
.tc-cta .btn { margin: 6px 4px } .tc-cta .btn.ghost { background: none; box-shadow: none; border: 1px solid rgba(224, 177, 90, .6); color: var(--gold2) !important }
.tc-faq .q { border-top: 1px solid var(--line); padding: 14px 0 } .tc-faq .q h3 { font-family: var(--body); font-weight: 700; font-size: 1.05rem; margin: 0 0 6px } .tc-faq .q p { margin: 0; color: #D9D6CC }
.tc-disc { color: var(--faint); font-size: .84rem; margin-top: 26px }
article ol { padding-inline-start: 22px } article ul { padding-inline-start: 22px } [dir=rtl] article ul, [dir=rtl] article ol { padding-right: 0; padding-inline-start: 22px }
@media (max-width: 480px) { .tc-evs li { grid-template-columns: 1fr } .tc-evs .tc-tag, .tc-evs .tc-what { grid-column: 1 } .box { padding: 18px 16px } }
