/* TP-VERSION: 1.0.0 — Cauldron sky tools. Ink Green #1F3024, Bottle Green #3D5A45, Amber Glass #B8783A, Oxblood #6B2E2A (wash/stripe only), Kraft Parchment #EDE6D8. */
.tp-sky { background: #1F3024; color: #EDE6D8; padding: 40px 24px; font-family: 'Public Sans', sans-serif; }
.tp-sky-inner { max-width: 960px; margin: 0 auto; }
.tp-sky-title { font-family: 'Fraunces', serif; font-weight: 500; font-size: 28px; color: #EDE6D8; margin: 0 0 8px; text-align: center; }
.tp-sky-intro { text-align: center; opacity: .8; margin: 0 0 28px; }
.tp-sky a { color: #B8783A; }
.tp-sky .tp-mono, .tp-sky .tp-kicker { font-family: 'IBM Plex Mono', monospace; font-style: italic; font-size: 12px; letter-spacing: .04em; }
.tp-sky .tp-kicker { text-transform: uppercase; letter-spacing: .08em; opacity: .65; display: block; }
.tp-sky .tp-h3 { font-family: 'Fraunces', serif; font-weight: 500; font-size: 20px; color: #EDE6D8; margin: 30px 0 12px; }
.tp-note { font-size: 13px; line-height: 1.6; opacity: .75; margin: 10px 0; }
.tp-note.tp-error { opacity: 1; border-left: 2px solid #6B2E2A; background: rgba(107,46,42,.25); padding: 8px 12px; }
.tp-note.tp-warn { opacity: 1; border-left: 2px solid #B8783A; background: rgba(184,120,58,.12); padding: 8px 12px; }
.tp-nudge { opacity: 1; border: 1px dashed #3D5A45; padding: 10px 14px; }

/* Hero cards */
.tp-hero { display: grid; grid-template-columns: repeat(auto-fit, minmax(210px, 1fr)); gap: 14px; margin: 0 0 8px; }
.tp-hero-card { border: 1px solid #3D5A45; padding: 16px 18px; display: flex; flex-direction: column; gap: 4px; }
.tp-hero-card strong { font-family: 'Fraunces', serif; font-weight: 500; font-size: 22px; }
.tp-hero-card span:last-child { font-size: 14px; opacity: .8; }

/* Tables */
.tp-table-wrap { overflow-x: auto; }
.tp-table { width: 100%; border-collapse: collapse; font-size: 14px; }
.tp-table th, .tp-table td { text-align: left; padding: 8px 10px; border-bottom: 1px solid #3D5A45; font-weight: 400; }
.tp-table thead th { font-family: 'IBM Plex Mono', monospace; font-style: italic; font-size: 11px; text-transform: uppercase; letter-spacing: .08em; opacity: .6; }
.tp-table tbody th { font-family: 'Fraunces', serif; font-weight: 500; }

/* Week */
.tp-week { display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: 12px; }
.tp-day { border: 1px solid #3D5A45; padding: 12px 14px; display: flex; flex-direction: column; gap: 4px; font-size: 14px; }
.tp-day ul { margin: 6px 0 0; padding-left: 16px; font-size: 13px; line-height: 1.5; }

/* Forms */
.tp-form { display: flex; flex-direction: column; gap: 8px; max-width: 560px; margin: 0 auto 24px; }
.tp-form label { font-size: 12px; letter-spacing: .08em; text-transform: uppercase; opacity: .75; margin-top: 8px; }
.tp-form input, .tp-form select, .tp-save input { background: rgba(237,230,216,.06); color: #EDE6D8; border: 1px solid #3D5A45; padding: 10px 12px; font: inherit; font-size: 15px; border-radius: 0; width: 100%; box-sizing: border-box; }
.tp-form select option { color: #2B2620; }
.tp-form input:focus, .tp-form select:focus, .tp-save input:focus { outline: 2px solid #B8783A; outline-offset: 1px; }
.tp-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.tp-row-tight { grid-template-columns: 1fr auto; gap: 8px; align-items: end; }
.tp-manual summary { cursor: pointer; font-size: 13px; opacity: .8; margin: 6px 0; }
.tp-hits { list-style: none; margin: 0; padding: 0; }
.tp-hit { width: 100%; text-align: left; background: none; border: 0; border-bottom: 1px solid #3D5A45; color: #EDE6D8; padding: 8px 4px; font: inherit; font-size: 14px; cursor: pointer; }
.tp-hit:hover, .tp-hit:focus { color: #B8783A; }
.tp-btn { background: #B8783A; color: #1F3024; border: 1px solid #B8783A; padding: 10px 20px; font: inherit; font-weight: 600; font-size: 14px; cursor: pointer; border-radius: 0; }
.tp-btn:hover { background: #EDE6D8; border-color: #EDE6D8; }
.tp-btn:disabled { opacity: .5; cursor: default; }
.tp-btn-ghost { background: transparent; color: #EDE6D8; border-color: #3D5A45; }
.tp-btn-ghost:hover { background: transparent; border-color: #B8783A; color: #B8783A; }
.tp-btn:focus-visible, .tp-chip:focus-visible, .tp-hit:focus-visible { outline: 2px solid #EDE6D8; outline-offset: 2px; }

/* Calendar */
.tp-controls { display: flex; flex-wrap: wrap; gap: 14px 20px; align-items: center; justify-content: center; margin-bottom: 20px; }
.tp-year { display: flex; align-items: center; gap: 14px; font-family: 'Fraunces', serif; font-size: 22px; }
.tp-year button { background: none; border: 1px solid #3D5A45; color: #EDE6D8; width: 36px; height: 36px; font-size: 20px; cursor: pointer; }
.tp-year button:hover { border-color: #B8783A; color: #B8783A; }
.tp-chips { display: flex; flex-wrap: wrap; gap: 8px; justify-content: center; }
.tp-chip { font: inherit; font-size: 12px; letter-spacing: .06em; text-transform: uppercase; padding: 5px 14px; border: 1px solid #3D5A45; border-radius: 20px; background: transparent; color: #EDE6D8; cursor: pointer; }
.tp-chip.is-on { border-color: #B8783A; background: rgba(184,120,58,.18); }
.tp-inline { font-size: 13px; display: inline-flex; align-items: center; gap: 8px; }
.tp-inline select { background: rgba(237,230,216,.06); color: #EDE6D8; border: 1px solid #3D5A45; padding: 6px 8px; font: inherit; font-size: 13px; }
.tp-inline select option { color: #2B2620; }
.tp-events { list-style: none; margin: 0; padding: 0; }
.tp-ev { display: grid; grid-template-columns: 150px 1fr; gap: 12px; padding: 7px 0; border-bottom: 1px solid rgba(61,90,69,.6); font-size: 14px; }
.tp-ev-eclipse { border-left: 2px solid #6B2E2A; padding-left: 10px; background: rgba(107,46,42,.15); }
.tp-ev-sabbat { border-left: 2px solid #B8783A; padding-left: 10px; }

/* Birth cards */
.tp-cards { display: flex; flex-wrap: wrap; gap: 18px; justify-content: center; margin: 12px 0; }
.tp-card { width: 180px; display: flex; flex-direction: column; align-items: center; gap: 6px; text-align: center; color: #EDE6D8 !important; text-decoration: none; border: 1px solid #3D5A45; padding: 14px 10px; }
a.tp-card:hover { border-color: #B8783A; }
.tp-card img { width: 100%; height: auto; display: block; }
.tp-card strong { font-family: 'Fraunces', serif; font-weight: 500; font-size: 17px; }

/* Chart */
.tp-split { display: grid; grid-template-columns: minmax(260px, 360px) 1fr; gap: 24px; align-items: start; margin: 24px 0 8px; }
.tp-wheel { width: 100%; height: auto; }
.tp-wheel .w-ring { fill: none; stroke: #3D5A45; stroke-width: 1; }
.tp-wheel .w-asc { stroke: #B8783A; stroke-width: 1.5; }
.tp-wheel .w-tick { stroke: #3D5A45; stroke-width: 1; }
.tp-wheel .w-sign { fill: #EDE6D8; opacity: .7; font-size: 15px; }
.tp-wheel .w-body { fill: #B8783A; font-size: 19px; }
.tp-wheel .w-label { fill: #B8783A; font-family: 'IBM Plex Mono', monospace; font-size: 10px; }
.tp-map-block { border-top: 1px solid #3D5A45; padding: 12px 0; }
.tp-map-row { margin: 6px 0; }
.tp-chiplist { list-style: none; margin: 4px 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 6px; }
.tp-chiplist a { display: inline-block; font-size: 13px; padding: 3px 11px; border: 1px solid #3D5A45; border-radius: 20px; color: #EDE6D8; text-decoration: none; }
.tp-chiplist a:hover { border-color: #B8783A; color: #B8783A; }
.tp-save { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; margin: 20px 0 8px; }
.tp-save input { max-width: 260px; }

/* Saved */
.tp-saved { list-style: none; margin: 0 0 20px; padding: 0; }
.tp-saved li { display: flex; flex-wrap: wrap; gap: 8px 16px; justify-content: space-between; align-items: center; padding: 12px 0; border-bottom: 1px solid #3D5A45; }
.tp-actions { display: flex; gap: 8px; }
.tp-actions .tp-btn { padding: 6px 14px; }

@media (max-width: 640px) {
	.tp-sky { padding: 28px 16px; }
	.tp-split, .tp-row { grid-template-columns: 1fr; }
	.tp-ev { grid-template-columns: 1fr; gap: 2px; }
}

/* Classical notes */
.tp-classical { margin: 14px 0; border-top: 1px solid rgba(237,230,216,.18); padding-top: 6px; }
.tp-classical > summary, .tp-lilly > summary { cursor: pointer; font-family: 'IBM Plex Mono', monospace; font-style: italic; font-size: 14px; color: #B8783A; margin: 8px 0; }
.tp-lilly { border-left: 2px solid rgba(184,120,58,.4); padding-left: 12px; margin: 8px 0; }
.tp-lilly[open] > summary { margin-bottom: 4px; }
.tp-dl { margin: 6px 0; display: grid; grid-template-columns: minmax(7rem, 9rem) 1fr; gap: 4px 14px; font-size: 14px; line-height: 1.55; }
.tp-dl dt { font-family: 'IBM Plex Mono', monospace; font-size: 12px; opacity: .7; letter-spacing: .04em; text-transform: uppercase; padding-top: 2px; }
.tp-dl dd { margin: 0; }
@media (max-width: 560px) { .tp-dl { grid-template-columns: 1fr; gap: 0; } .tp-dl dd { margin-bottom: 8px; } }
