/* The Muhurta page: Find a muhurta, Ask TRAC AI, Check a date. Dark text, simple cards. */
.mu { --sh-org:#91063F; --sh-navy:#91063F; --sh-ink:#111827; --sh-muted:#475569; --sh-line:#e5e7eb; color: var(--sh-ink, #1F2937); }
.mu [hidden] { display: none !important; }
.mu *, .mu *::before, .mu *::after { box-sizing: border-box; }
.mu-who { display: flex; align-items: center; gap: 10px; margin: 4px 0 14px; padding: 6px 8px 6px 10px; background: #91063F; border-radius: 10px; color: #fff; font-size: 14px; }
.mu-who b { color: #fff; font-weight: 700; }
.mu-who-tx { flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.mu-who-ic { flex: none; width: 28px; height: 28px; border-radius: 50%; background: #FFD43B; color: #000; display: grid; place-items: center; }
.mu-link { flex: none; height: 30px; padding: 0 12px; border: 0; border-radius: 8px; background: #FFD43B; color: #000; font-weight: 700; font-size: 13.5px; cursor: pointer; white-space: nowrap; }
.mu-link:hover { background: #FFC81F; }
.mu-card { background: #fff; border: 1px solid var(--sh-line); border-radius: 12px; padding: 18px 20px; box-shadow: 0 2px 8px rgba(17,24,39,.06); }
.mu-card h2 { font-size: 18px; color: var(--sh-navy); margin: 0 0 12px; }
.mu-card h3, .mu-out h3 { font-size: 15px; color: var(--sh-navy); margin: 16px 0 8px; }
.mu-birth { margin-bottom: 16px; }
.mu-f { display: flex; flex-direction: column; gap: 5px; margin-bottom: 12px; font-size: 13px; font-weight: 600; color: var(--sh-ink); }
.mu-f input, .mu-f select { font: inherit; font-weight: 500; font-size: 15px; padding: 9px 12px; border: 1px solid #cbd5e1; border-radius: 10px; background: #fff; color: var(--sh-ink); width: 100%; }
.mu-f input:focus, .mu-f select:focus { outline: none; border-color: var(--sh-org); box-shadow: 0 0 0 3px rgba(145,6,63,.15); }
.mu-strong { font-weight: 700 !important; border-color: #cbd5e1 !important; }
.mu-row { display: grid; gap: 12px; }
.mu-row.two { grid-template-columns: 1fr 1fr; }
.mu-row.four { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.mu-hint { font-size: 13.5px; color: var(--sh-muted); line-height: 1.55; margin: 0 0 12px; }
.mu-btn { background: var(--sh-org); color: #fff; border: 0; border-radius: 10px; padding: 11px 18px; font-weight: 700; font-size: 15px; cursor: pointer; }
.mu-btn:hover { background: #7A0535; }
.mu-btn.ghost { background: #fff; color: var(--sh-navy); border: 1px solid #cbd5e1; }
.mu-btn.wide { width: 100%; margin-top: 4px; }
.mu-actions { display: flex; gap: 10px; }
.mu-partner { margin: 2px 0 12px; }
.mu-partner summary { cursor: pointer; font-weight: 600; color: var(--sh-navy); font-size: 14px; padding: 9px 12px; border: 1px dashed #cbd5e1; border-radius: 10px; list-style: none; }
.mu-partner[open] summary { margin-bottom: 10px; }
.mu-askbox { display: flex; flex-direction: column; gap: 8px; border: 1px solid #cbd5e1; border-radius: 8px; padding: 12px 14px; margin-bottom: 12px; background: #fff; }
.mu-askbox:focus-within { border-color: #91063F; box-shadow: 0 0 0 3px rgba(145,6,63,.12); }
.mu-askbox textarea { width: 100%; min-height: 56px; border: 0; outline: none; resize: vertical; font: inherit; font-size: 15px; color: var(--sh-ink); background: transparent; }
.mu-asktools { display: flex; justify-content: flex-end; align-items: center; gap: 10px; }
.mu-mic { width: 40px; height: 40px; display: grid; place-items: center; border: 1px solid #cbd5e1; border-radius: 10px; background: #fff; color: #91063F; cursor: pointer; }
.mu-mic:hover { background: #f4f6f9; }
.mu-mic.is-on { background: #91063F; border-color: #91063F; color: #fff; }
.mu-go { height: 40px; padding: 0 26px; border: 0; border-radius: 10px; background: #91063F; color: #fff; font-weight: 700; font-size: 15px; cursor: pointer; }
.mu-go:hover { background: #7A0535; }
.mu-try { margin: 0 0 7px; font-size: 13px; font-weight: 600; color: var(--sh-muted); }
.mu-chips { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 12px; }
.mu-chip { border: 1px solid #cbd5e1; background: #fff; border-radius: 8px; padding: 6px 13px; font-size: 13.5px; color: var(--sh-ink); cursor: pointer; }
.mu-chip:hover { border-color: var(--sh-org); color: var(--sh-org); }
/* Reading */
.mu-read { padding: 0; overflow: hidden; }
.mu-read-h { display: flex; align-items: center; gap: 12px; padding: 14px 18px; background: #f4f6f9; border-bottom: 1px solid var(--sh-line); }
.mu-read-h b { font-size: 17px; color: var(--sh-navy); }
.mu-read-h span { flex: 1; font-weight: 600; color: var(--sh-ink); border: 1px solid var(--sh-line); background: #fff; border-radius: 10px; padding: 7px 12px; min-height: 36px; }
.mu-read-h span:empty { visibility: hidden; }
.mu-out { padding: 16px 18px 18px; font-size: 14.5px; line-height: 1.6; }
.mu-pick { border: 1px solid var(--sh-line); border-radius: 14px; padding: 12px 14px; margin-bottom: 12px; }
.mu-pick.first { border: 2px solid #5BBE86; background: #F6FCF8; }
.mu-pick header { display: flex; align-items: baseline; gap: 8px; }
.mu-pick header b { flex: 1; color: var(--sh-navy); font-size: 15px; }
.mu-pick .n { font-weight: 700; color: var(--sh-navy); }
.gr { font-style: normal; font-size: 12px; font-weight: 700; padding: 2px 9px; border-radius: 10px; white-space: nowrap; }
.gr.vg { background: #DDF3E5; color: #17713F; }
.gr.g { background: #E9F5EC; color: #2F7A47; }
.gr.a { background: #F1EEEA; color: #5B6475; }
.gr.no { background: #FBE3E3; color: #DC2626; }
.mu-line { margin: 6px 0; color: var(--sh-ink); }
.mu-ticks { list-style: none; margin: 6px 0; padding: 0; display: flex; flex-wrap: wrap; gap: 4px 16px; }
.mu-ticks li::before { margin-right: 5px; font-weight: 700; }
.mu-ticks li.ok::before { content: "✓"; color: #1F8A4C; }
.mu-ticks li.no::before { content: "✕"; color: #DC2626; }
.mu-sys { width: 100%; border-collapse: collapse; margin-top: 8px; font-size: 13.5px; }
.mu-sys th { text-align: left; vertical-align: top; width: 110px; padding: 6px 8px; color: var(--sh-navy); }
.mu-sys td { padding: 6px 8px; border-bottom: 1px solid #EEF0EC; }
.mu-more summary, .mu-full summary { cursor: pointer; color: var(--sh-org); font-weight: 600; font-size: 13.5px; margin-top: 4px; }
.mu-full { margin-top: 14px; border-top: 1px solid var(--sh-line); padding-top: 10px; }
.mu-md h2 { font-size: 16px; color: var(--sh-navy); margin: 12px 0 6px; }
.mu-md h3 { font-size: 15px; }
.mu-md p, .mu-md li { color: var(--sh-ink); }
.mu-verdict { border-radius: 12px; padding: 12px 14px; margin-bottom: 12px; }
.mu-verdict b { display: block; color: var(--sh-navy); }
.mu-verdict span { display: block; margin-top: 3px; }
.mu-verdict.ok { background: #EEF9F1; border: 1px solid #B9E3C7; }
.mu-verdict.no { background: #FDF0F0; border: 1px solid #F1C3C3; }
.mu-q { background: #f4f6f9; border: 1px solid #cbd5e1; border-radius: 10px; padding: 9px 12px; }
.mu-closed { color: var(--sh-ink); }
.mu-bad { color: #DC2626; }
.mu-wait { display: flex; align-items: center; gap: 10px; color: var(--sh-muted); }
.mu-spin { width: 18px; height: 18px; border-radius: 50%; border: 3px solid #cbd5e1; border-top-color: var(--sh-org); animation: muspin 0.8s linear infinite; }
@keyframes muspin { to { transform: rotate(360deg); } }
/* Calendar */
.mu-cal { margin-top: 18px; }
.mu-cal-h { display: flex; align-items: center; justify-content: space-between; margin-bottom: 8px; }
.mu-cal-h b { font-size: 14px; color: var(--sh-navy); }
.mu-cal-h button { border: 1px solid var(--sh-line); background: #fff; border-radius: 8px; width: 30px; height: 28px; cursor: pointer; font-size: 16px; color: var(--sh-navy); }
.mu-cal-g { display: grid; grid-template-columns: repeat(7, 1fr); gap: 5px; }
.mu-cal-g i { font-style: normal; text-align: center; font-size: 12px; font-weight: 600; color: var(--sh-muted); }
.mu-cal-g span { text-align: center; padding: 6px 0; border-radius: 7px; background: #f4f6f9; font-size: 13px; color: var(--sh-ink); }
.mu-cal-g span.e { background: transparent; }
.mu-cal-g span.out { background: #f8fafc; color: #B9B2AA; }
.mu-cal-g span.shut { background: #e5e7eb; color: #9A928A; text-decoration: line-through; }
.mu-cal-g span.good { background: #DDF3E5; color: #17713F; font-weight: 700; }
.mu-cal-g span.best { background: #1F8A4C; color: #fff; font-weight: 700; }
.mu-cal-k { display: flex; align-items: center; gap: 6px; flex-wrap: wrap; font-size: 12.5px; color: var(--sh-muted); margin-top: 8px; }
.mu-cal-k span { width: 12px; height: 12px; border-radius: 3px; display: inline-block; margin-left: 8px; }
.mu-cal-k .best { background: #1F8A4C; } .mu-cal-k .good { background: #DDF3E5; } .mu-cal-k .shut { background: #e5e7eb; }
.mu-limbs { margin-top: 16px; }
.mu-limbs table { width: 100%; border-collapse: collapse; font-size: 14px; }
.mu-limbs td, .mu-limbs th { padding: 7px 8px; border-bottom: 1px solid #EEF0EC; text-align: left; }
.mu-limbs th { color: var(--sh-navy); }
@media (max-width: 900px) {
    .mu-row.four { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 560px) {
    .mu-row.two, .mu-row.four { grid-template-columns: 1fr; }
    .mu-card { padding: 14px; }
}

/* Page style rules (owner, 4 Nov 2026): grey page, white cards, solid buttons. */
body:has(.mu), body:has(.mu) main { background: #f4f6f9 !important; background-image: none !important; }

/* Solid buttons: no gradient from the older shared button rules (owner's page rules, 4 Nov 2026). */
.mu button.mu-go, .mu button.mu-btn:not(.ghost) { background: #91063F !important; background-image: none !important; color: #fff !important; box-shadow: none !important; }
.mu button.mu-go:hover, .mu button.mu-btn:not(.ghost):hover { background: #7A0535 !important; }
.mu a.mu-to-main { display: inline-block; text-decoration: none; }
.mu a.mu-btn { background: #91063F !important; background-image: none !important; color: #fff !important; box-shadow: none !important; }
.mu a.mu-btn:hover { background: #7A0535 !important; }
.mu-cityhelp { font-size: 12.5px; font-weight: 400; color: var(--sh-muted); }
.mu button:disabled { opacity: .6; cursor: not-allowed; }
