/* Build 340: compact, table-based Panchang and the festival calendar. */
.pt-head{margin-bottom:12px}
.pt-pair{display:grid;grid-template-columns:minmax(0,1.35fr) minmax(0,1fr);gap:18px;align-items:start;margin:14px 0}
.pt-pair:not(.pt-top){grid-template-columns:repeat(2,minmax(0,1fr))}
.pt-table{width:100%;border-collapse:separate;border-spacing:0;background:#fff;border:1px solid #e2d8c6;border-radius:12px;overflow:hidden;font:15px/1.45 Inter,Arial,sans-serif;color:#2A2049}
.pt-table caption{caption-side:top;text-align:left;padding:12px 16px;background:#2E1F54;color:#F7F1E6;font:600 13px/1.2 'IBM Plex Mono',monospace;letter-spacing:.08em;text-transform:uppercase;border-radius:12px 12px 0 0}
.pt-table th,.pt-table td{padding:10px 16px;border-top:1px solid #efe7d8;text-align:left;vertical-align:top}
.pt-table tbody tr:first-child th,.pt-table tbody tr:first-child td{border-top:0}
.pt-table tbody th{font-weight:500;color:#5a4d70;white-space:nowrap;width:1%}
.pt-table td strong{font-weight:600;color:#2A2049}
.pt-table tbody tr:nth-child(even){background:#fcfaf5}
.pt-until{color:#5a4d70;white-space:nowrap;text-align:right!important}
.pt-day{color:#7a6c8e;font-size:12px}
.pt-dash{color:#9a8cae;padding:0 2px}
.pt-good caption{background:#1f6b45}
.pt-bad caption{background:#8f2f2a}
.pt-dot{display:inline-block;width:9px;height:9px;border-radius:50%;margin-right:8px;background:#fff;vertical-align:1px}
.pt-good-row td{color:#1b5a3b;font-weight:600}
.pt-bad-row td{color:#8f2f2a;font-weight:600}
.pt-note{margin:-4px 0 18px;color:#5a4d70;font:13px/1.5 Inter,Arial,sans-serif}
.pt-h3{margin:22px 0 4px;font:600 22px/1.2 Spectral,Georgia,serif;color:#2A2049}
.pt-cho td:first-child{white-space:nowrap}
.pt-tag{display:inline-block;min-width:64px;padding:2px 10px;border-radius:999px;font-weight:600;font-size:13px}
.pt-tag-supportive{background:#e4f2e9;color:#1b5a3b}
.pt-tag-neutral{background:#efeaf5;color:#4a3b66}
.pt-tag-caution{background:#f8e5e2;color:#8f2f2a}
.pt-info{position:relative;display:inline-block;margin-left:6px}
.pt-info-btn{width:18px;height:18px;padding:0;border:1px solid #b9aed0;border-radius:50%;background:#fff;color:#5a4d70;font:italic 600 11px/16px Georgia,serif;cursor:help}
.pt-tip{position:absolute;left:50%;bottom:calc(100% + 8px);transform:translateX(-50%);width:max-content;max-width:260px;padding:8px 10px;border-radius:8px;background:#2A2049;color:#fff;font:400 13px/1.45 Inter,Arial,sans-serif;white-space:normal;opacity:0;pointer-events:none;transition:opacity .15s;z-index:5;box-shadow:0 8px 20px rgba(0,0,0,.18)}
.pt-info:hover .pt-tip,.pt-info:focus-within .pt-tip{opacity:1}
.pt-festival{display:flex;flex-wrap:wrap;align-items:center;gap:8px 14px;margin:6px 0 14px;padding:12px 16px;border-radius:12px;background:#fbf3df;border:1px solid #e8d3a2;font:15px/1.4 Inter,Arial,sans-serif;color:#2A2049}
.pt-festival[hidden]{display:none}
.pt-fest-label{font:600 12px/1 'IBM Plex Mono',monospace;letter-spacing:.1em;text-transform:uppercase;color:#8c6420}
.pt-fest small{color:#5a4d70}
.pt-fest-link{margin-left:auto;color:#2E1F54;font-weight:600}
.pt-more{margin:14px 0;border:1px solid #e2d8c6;border-radius:12px;background:#fff;padding:0 16px}
.pt-more>summary{cursor:pointer;padding:14px 0;font:600 16px/1.3 Inter,Arial,sans-serif;color:#2A2049}
.pt-more>summary span{font-weight:400;color:#5a4d70;margin-left:6px;font-size:14px}
.pt-more .pt-table{margin-bottom:16px}
@media (max-width:760px){
 .pt-pair,.pt-pair:not(.pt-top){grid-template-columns:1fr}
 .pt-table{font-size:14px}.pt-table th,.pt-table td{padding:9px 12px}
 .pt-limbs tr{display:grid;grid-template-columns:118px 1fr}
 .pt-limbs th,.pt-limbs td{border-top:0}
 .pt-limbs tr+tr{border-top:1px solid #efe7d8}
 .pt-until{grid-column:2;text-align:left!important;padding-top:0!important;white-space:normal}
 .pt-table tbody th{white-space:normal;width:auto}
 .pt-good td,.pt-bad td,.pt-cho td:last-child{white-space:nowrap}
 .pt-fest-link{margin-left:0}
}
/* Festival calendar */
.fc-main{padding-top:28px}
.fc-controls h2{margin:0 0 14px}
.fc-form{display:grid;grid-template-columns:minmax(0,1.3fr) minmax(0,1fr) auto;gap:14px;align-items:end}
.fc-form:has(.fc-other:not([hidden])){grid-template-columns:minmax(0,1fr) minmax(0,1.2fr) minmax(0,1fr) auto}
.fc-field label{display:block;margin-bottom:6px;font:600 14px/1.3 Inter,Arial,sans-serif;color:#2E1F54}
.fc-field select,.fc-field input{width:100%;padding:12px 13px;font:16px/1.4 Inter,Arial,sans-serif;border:1px solid #8b7f99;border-radius:8px;background:#fff;color:#2A2049}
.fc-go{white-space:nowrap}
.fc-filters{display:flex;flex-wrap:wrap;gap:8px;margin:18px 0 6px}
.fc-chip{padding:8px 14px;border:1px solid #8b7f99;border-radius:999px;background:#fff;color:#2E1F54;font:600 14px/1.2 Inter,Arial,sans-serif;cursor:pointer}
.fc-chip[aria-pressed="true"]{background:#2E1F54;border-color:#2E1F54;color:#fff}
.fc-basis{margin:10px 0 0;color:#5a4d70;font:13px/1.55 Inter,Arial,sans-serif}
.fc-results{margin:22px 0 40px}
.fc-where{color:#5a4d70;font:14px/1.5 Inter,Arial,sans-serif}
.fc-loading{color:#5a4d70}
.fc-month{margin:18px 0 28px}
.fc-month h3{margin:0 0 12px;font:500 22px/1.2 Spectral,Georgia,serif;color:#2A2049;letter-spacing:.01em}
.fc-cards{list-style:none;margin:0;padding:0;display:grid;gap:10px}
.fc-card{display:grid;grid-template-columns:62px minmax(0,1fr);gap:14px;align-items:center;padding:10px 14px 10px 10px;background:#fffdf6;border:1px solid #ece3cf;border-radius:12px;box-shadow:0 2px 8px rgba(42,32,73,.05)}
.fc-badge{display:grid;justify-items:center;align-content:center;width:62px;height:62px;border-radius:10px;background:#E9CF9A;color:#3a2a12;text-align:center;line-height:1}
.fc-badge-day{font:600 22px/1 Spectral,Georgia,serif}
.fc-badge-mon{margin-top:3px;font:600 10px/1 Inter,Arial,sans-serif;letter-spacing:.12em;text-transform:uppercase}
.fc-badge-wd{margin-top:3px;font:500 10px/1 Inter,Arial,sans-serif;opacity:.85}
.fc-festival .fc-badge{background:#9A6B25;color:#fff}
.fc-ekadashi .fc-badge{background:#5E63C2;color:#fff}
.fc-purnima .fc-badge{background:#1F2433;color:#F7F1E6}
.fc-amavasya .fc-badge{background:#3B2A68;color:#F7F1E6}
.fc-pradosh .fc-badge{background:#367C5D;color:#fff}
.fc-shivaratri .fc-badge{background:#2F7F73;color:#fff}
.fc-sankashti .fc-badge{background:#EFAA80;color:#3a1f0e}
.fc-sankranti .fc-badge{background:#E9CF9A;color:#3a2a12}
.fc-body p{margin:0}
.fc-title{display:flex;flex-wrap:wrap;align-items:center;gap:4px 10px}
.fc-title strong{font:600 16px/1.3 Spectral,Georgia,serif;color:#2A2049}
.fc-kind{font:600 10px/1 'IBM Plex Mono',monospace;letter-spacing:.1em;text-transform:uppercase;color:#7a6c8e}
.fc-desc{margin-top:2px!important;font:13px/1.45 Inter,Arial,sans-serif;color:#5a4d70}
.fc-when{margin-top:4px!important;font:500 13px/1.45 Inter,Arial,sans-serif;color:#2A2049}
@media (max-width:760px){
 .fc-form,.fc-form:has(.fc-other:not([hidden])){grid-template-columns:1fr}
 .fc-card{grid-template-columns:54px minmax(0,1fr);gap:12px;padding:10px}
 .fc-badge{width:54px;height:58px}
 .fc-badge-day{font-size:20px}
}
.fc-go{padding:13px 22px;border:0;border-radius:10px;background:#2E1F54;color:#fff;font:600 15px/1.2 Inter,Arial,sans-serif;cursor:pointer}
.fc-go:hover{background:#3B2A68}
.fc-go:focus-visible{outline:3px solid #B8863A;outline-offset:2px}
/* Build 342: home page "Upcoming festivals" */
.fc-home{padding:34px 24px 38px;background:#fbf7ee;border-bottom:1px solid #e9dfcb}
.fc-home[hidden]{display:none}
.fc-home-in{max-width:1180px;margin:0 auto}
.fc-home-top{display:flex;flex-wrap:wrap;align-items:baseline;justify-content:space-between;gap:6px 20px;margin-bottom:14px}
.fc-home h2{margin:0;font:500 26px/1.2 Spectral,Georgia,serif;color:#2A2049}
.fc-home-where{margin:4px 0 0;color:#5a4d70;font:14px/1.5 Inter,Arial,sans-serif}
.fc-home-link{color:#2E1F54;font:600 15px/1.3 Inter,Arial,sans-serif;text-decoration:underline;text-underline-offset:3px}
.fc-home-cards{list-style:none;margin:0;padding:0;display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px}
.fc-home .fc-card{grid-template-columns:56px minmax(0,1fr);gap:12px;padding:10px}
.fc-home .fc-badge{width:56px;height:60px}
.fc-home .fc-title strong{font-size:15px}
.fc-home .fc-when{font-size:12px;color:#5a4d70}
@media (max-width:960px){.fc-home-cards{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media (max-width:560px){.fc-home-cards{grid-template-columns:1fr}.fc-home{padding:26px 16px 30px}}

/* Build 343: varied badge colours and lighter surroundings (less beige). */
.fc-c0 .fc-badge{background:#9A6B25!important;color:#fff!important}.fc-c1 .fc-badge{background:#E3C27E!important;color:#3a2a12!important}.fc-c2 .fc-badge{background:#367C5D!important;color:#fff!important}.fc-c3 .fc-badge{background:#EFAA80!important;color:#3a1f0e!important}.fc-c4 .fc-badge{background:#2F7F73!important;color:#fff!important}.fc-c5 .fc-badge{background:#B24D6A!important;color:#fff!important}.fc-c6 .fc-badge{background:#1F2433!important;color:#F7F1E6!important}.fc-c7 .fc-badge{background:#5E63C2!important;color:#fff!important}
.fc-card{background:#fff!important;border-color:#e9e3f0!important;box-shadow:0 3px 12px rgba(42,32,73,.07)!important}
.fc-home{background:linear-gradient(180deg,#f3f0fa 0%,#ffffff 100%)!important;border-bottom:1px solid #e6e0f0!important}
.fc-results{background:transparent}
/* Build 344: calmer Panchang panel heading (smaller type, room to breathe). */
#m-daily-panel .m-panel-heading{padding:6px 4px 2px}
#m-daily-panel .m-panel-heading h2{font-size:30px!important;line-height:1.2!important;margin:4px 0 8px!important}
#m-daily-panel .m-panel-heading p{font-size:15px!important;line-height:1.6!important;max-width:620px}
#m-daily-panel .m-panel-heading .m-eyebrow{font-size:11px!important}
#m-daily-panel .m-panel-heading img{max-height:72px;width:auto}
#m-daily-form label{font-size:14px!important}
#m-daily-form input,#m-daily-form select{font-size:16px!important}
@media (max-width:650px){#m-daily-panel .m-panel-heading h2{font-size:25px!important}}

/* Build 355: quiet colour for the Muhurat event boxes and festival filter chips. Pale tinted icon tile with a line drawing; Panchang tables untouched. */
.m-event-example[data-m-event-example="wedding"]{--t:#F8EDE7;--k:url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A//www.w3.org/2000/svg%22%20viewBox%3D%220%200%2024%2024%22%20fill%3D%22none%22%20stroke%3D%22%23B0674A%22%20stroke-width%3D%221.5%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%3E%3Cpath%20d%3D%22M12%2020s-7-4.4-7-10a4%204%200%200%201%207-2.6A4%204%200%200%201%2019%2010c0%205.6-7%2010-7%2010z%22/%3E%3C/svg%3E")}
.m-event-example[data-m-event-example="home"]{--t:#EAF2EC;--k:url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A//www.w3.org/2000/svg%22%20viewBox%3D%220%200%2024%2024%22%20fill%3D%22none%22%20stroke%3D%22%234F7D62%22%20stroke-width%3D%221.5%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%3E%3Cpath%20d%3D%22M4%2011%2012%204l8%207%22/%3E%3Cpath%20d%3D%22M6%2010v9h12v-9%22/%3E%3Cpath%20d%3D%22M10%2019v-5h4v5%22/%3E%3C/svg%3E")}
.m-event-example[data-m-event-example="business"]{--t:#F6EFDF;--k:url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A//www.w3.org/2000/svg%22%20viewBox%3D%220%200%2024%2024%22%20fill%3D%22none%22%20stroke%3D%22%239A7434%22%20stroke-width%3D%221.5%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%3E%3Cpath%20d%3D%22M4%2013c2%204%2014%204%2016%200z%22/%3E%3Cpath%20d%3D%22M12%2011c-1.6-1.4-1.6-3.4%200-6%201.6%202.6%201.6%204.6%200%206z%22/%3E%3Cpath%20d%3D%22M9%2019h6%22/%3E%3C/svg%3E")}
.m-event-example[data-m-event-example="vehicle"]{--t:#E9EFF6;--k:url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A//www.w3.org/2000/svg%22%20viewBox%3D%220%200%2024%2024%22%20fill%3D%22none%22%20stroke%3D%22%234E6E93%22%20stroke-width%3D%221.5%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%3E%3Cpath%20d%3D%22M5%2015l1.5-5h11L19%2015%22/%3E%3Crect%20x%3D%224%22%20y%3D%2215%22%20width%3D%2216%22%20height%3D%223%22%20rx%3D%221%22/%3E%3Ccircle%20cx%3D%228%22%20cy%3D%2219.5%22%20r%3D%221%22/%3E%3Ccircle%20cx%3D%2216%22%20cy%3D%2219.5%22%20r%3D%221%22/%3E%3C/svg%3E")}
html:root:root body:not(#ux355) .m-event-example{display:flex;flex-direction:column;gap:6px;transition:transform .15s,box-shadow .15s}
html:root:root body:not(#ux355) .m-event-example::before{content:"";display:block;width:52px;height:52px;margin-bottom:10px;border-radius:14px;background:var(--t) var(--k) center/28px 28px no-repeat}
html:root:root body:not(#ux355) .m-event-example:hover{transform:translateY(-2px);box-shadow:0 12px 28px rgba(17,24,39,.10)}
html:root:root body:not(#ux355) .m-event-example b{margin-top:auto}
.fc-chip[data-kind="festival"]{--d:#C9A45C}.fc-chip[data-kind="ekadashi"]{--d:#7D9CC0}.fc-chip[data-kind="purnima amavasya"]{--d:#8C8AB8}
.fc-chip[data-kind="pradosh shivaratri sankashti"]{--d:#6FA38C}.fc-chip[data-kind="sankranti"]{--d:#D08E6E}
html:root:root body:not(#ux355) .fc-chip:not([data-kind="all"]){display:inline-flex;align-items:center;gap:8px}
html:root:root body:not(#ux355) .fc-chip:not([data-kind="all"])::before{content:"";width:9px;height:9px;border-radius:50%;background:var(--d)}
/* Build 355: on phones the filter chips sit in one row you can swipe sideways */
@media (max-width:640px){
html:root:root body:not(#ux355) .fc-filters{display:flex!important;flex-wrap:nowrap!important;gap:8px!important;overflow-x:auto;-webkit-overflow-scrolling:touch;scrollbar-width:none;margin-right:-16px;padding:2px 16px 6px 0;-webkit-mask-image:linear-gradient(90deg,#000 85%,transparent);mask-image:linear-gradient(90deg,#000 85%,transparent)}
html:root:root body:not(#ux355) .fc-filters::-webkit-scrollbar{display:none}
html:root:root body:not(#ux355) .fc-chip{flex:none!important;white-space:nowrap!important;padding:8px 14px!important;font-size:14px!important}
}
