
:root{ --ts-font: Inter, system-ui, -apple-system, Segoe UI, Roboto, Helvetica, Arial, sans-serif;
  --ts-fg:#111827; --ts-bg:#fafafa; --ts-accent:#d4af37; --ts-border:#e5e7eb; }
.tsnum{font-family:var(--ts-font); color:var(--ts-fg)}
.ts-card{background:#fff; border:1px solid var(--ts-border); border-radius:16px; padding:16px; box-shadow:0 1px 2px rgba(0,0,0,.04); margin-bottom:16px}
.ts-grid{display:grid; grid-template-columns:1fr 1fr; gap:16px}
@media(max-width:900px){ .ts-grid{grid-template-columns:1fr} }
.ts-field{display:flex; gap:8px; align-items:center; margin-bottom:10px}
.ts-field input, .ts-field select{flex:1; padding:10px 12px; border:1px solid var(--ts-border); border-radius:12px}
.ts-btn{border:1px solid var(--ts-border); border-radius:14px; padding:10px 16px; cursor:pointer; background:#fff}
.ts-btn.primary{background:#111827; color:#fff; border-color:#111827}
.ts-note{font-size:12px; color:#6b7280}
.ts-result pre{white-space:pre-wrap; line-height:1.75}
.ts-table{width:100%; border-collapse:separate; border-spacing:0; overflow:hidden; border-radius:12px; border:1px solid var(--ts-border); margin-top:8px}
.ts-table th, .ts-table td{padding:10px 12px; border-bottom:1px solid var(--ts-border); text-align:left; vertical-align:top}
.ts-table tr:last-child td{border-bottom:none}
.ts-tabs{display:flex; gap:8px; flex-wrap:wrap; margin-bottom:12px}
.ts-tab{padding:8px 12px; border:1px solid var(--ts-border); border-radius:999px; cursor:pointer; background:#fff}
.ts-tab.active{background:#111827; color:#fff; border-color:#111827}
.ts-watermark{margin-top:6px; text-align:right; opacity:.18; font-weight:600}

/* Brand sections (no accordion) */
.ts-sec{border-left:4px solid var(--ts-accent); padding-left:12px; margin:14px 0}
.ts-sec h4{margin:0 0 6px 0; font-size:16px; line-height:1.3}
.ts-sec p{margin:0}
.ts-sep{height:1px; background:linear-gradient(90deg, rgba(212,175,55,.3), rgba(212,175,55,.05)); border:none; margin:12px 0}
/* Birth chart */
.ts-bc-grid{display:grid; grid-template-columns:repeat(3, 100px); grid-template-rows:repeat(3, 100px); gap:10px; margin:12px 0}
.ts-bc-cell{background:#fff; border:1px solid var(--ts-border); border-radius:12px; display:flex; align-items:center; justify-content:center; flex-direction:column; font-weight:600}
.ts-bc-num{font-size:18px; line-height:1}
.ts-bc-count{font-size:12px; opacity:.7; margin-top:4px}
.ts-bc-strong{border-color:#16a34a; box-shadow:0 0 0 2px rgba(22,163,74,.08) inset}
.ts-bc-weak{border-style:dashed; opacity:.8}
