/* Shared styles for panchang finder, festival, muhurat and yoga pages */
.pg { max-width: 1100px; margin: 0 auto; padding: 8px 4px 32px; }
.pg h1 { color: #6b3410; font-size: 26px; margin: 8px 0 6px; line-height: 1.25; }
.pg h2 { color: #8b4513; font-size: 19px; margin: 26px 0 10px; }
.pg h3 { color: #8b4513; font-size: 16px; margin: 0 0 8px; }
.pg .lede { color: #555; font-size: 15px; line-height: 1.6; max-width: 820px; }
.pg .muted { color: #777; font-size: 13px; }
.pg a:not(.btn) { color: #a0522d; }
.card { background: #fff; border: 1px solid #ecdfca; border-radius: 10px; padding: 16px 18px; margin: 12px 0;
        box-shadow: 0 1px 3px rgba(139, 69, 19, .06); }
.grid { display: grid; gap: 12px; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); }
.pill { display: inline-block; padding: 2px 9px; border-radius: 999px; font-size: 12px; background: #fdf0dc;
        color: #8b4513; margin: 2px 4px 2px 0; }
.pill.good { background: #e6f4e8; color: #22663a; }
.pill.bad { background: #fde8e6; color: #9c2b1f; }
.pill.high { background: #8b4513; color: #fff; }
.tbl { width: 100%; border-collapse: collapse; font-size: 14px; }
.tbl th { text-align: left; background: #8b4513; color: #fff; padding: 9px 10px; font-weight: 600; }
.tbl td { padding: 9px 10px; border-bottom: 1px solid #f0e6d6; vertical-align: top; }
.tbl tr:hover td { background: #fffaf2; }
.tbl-wrap { overflow-x: auto; }
.form-inline { display: flex; flex-wrap: wrap; gap: 10px; align-items: flex-end; }
.form-inline label { display: block; font-size: 12px; color: #8b4513; font-weight: 600; margin-bottom: 4px; }
.form-inline select, .form-inline input { padding: 8px 10px; border: 1px solid #dcc9ad; border-radius: 6px;
        font-size: 14px; background: #fff; min-width: 130px; }
.btn { background: #8b4513; color: #fff; border: 0; border-radius: 6px; padding: 9px 16px; font-size: 14px;
       cursor: pointer; text-decoration: none; display: inline-block; }
.btn.alt { background: #fff; color: #8b4513; border: 1px solid #8b4513; }
.nav-row { display: flex; gap: 8px; flex-wrap: wrap; margin: 10px 0; }
.big-date { font-size: 30px; font-weight: 700; color: #6b3410; }
.kv { display: grid; grid-template-columns: 160px 1fr; gap: 6px 12px; font-size: 14px; }
.kv dt { color: #8b4513; font-weight: 600; }
.ad-slot { margin: 18px 0; min-height: 90px; }
.breadcrumbs { font-size: 13px; color: #777; margin-bottom: 4px; }
.breadcrumbs a { color: #8b4513; text-decoration: none; }
@media (max-width: 600px) { .kv { grid-template-columns: 1fr; } .pg h1 { font-size: 22px; } }
.month-divider { color: #777; font-size: 14px; letter-spacing: .08em; text-transform: uppercase; border-top: 1px dashed #dcc9ad; padding-top: 18px; }

/* Grahan */
.grahan-grid { display: grid; gap: 14px; grid-template-columns: repeat(auto-fill, minmax(320px, 1fr)); margin-top: 14px; }
.grahan-card { display: flex; gap: 14px; background: #fff; border: 1px solid #ecdfca; border-radius: 12px; padding: 16px;
               text-decoration: none; color: inherit; transition: box-shadow .2s; }
.grahan-card:hover { box-shadow: 0 4px 14px rgba(139, 69, 19, .16); }
.grahan-card h2 { margin: 2px 0 2px !important; font-size: 18px !important; }
.grahan-date { color: #a0522d; font-weight: 600; font-size: 13px; }
.grahan-disc { flex: 0 0 52px; height: 52px; border-radius: 50%; position: relative; overflow: hidden; }
.grahan-card.solar .grahan-disc { background: radial-gradient(circle at 50% 50%, #ffd76a 40%, #ff8c1a 75%, #c9520a); }
.grahan-card.solar .grahan-disc::after { content: ''; position: absolute; inset: 3px -8px 3px 14px; border-radius: 50%; background: #1b1b2e; }
.grahan-card.lunar .grahan-disc { background: radial-gradient(circle at 40% 40%, #f0dfc8, #b4714a 70%, #7a3a22); }
.globe-card { background: radial-gradient(circle at 34% 45%, #182447, #070a1a 75%); border-radius: 14px; padding: 16px; color: #e8ecff; margin-top: 12px;
              display: grid; grid-template-columns: minmax(0, 640px) minmax(240px, 1fr); gap: 24px; align-items: center; }
.globe-stage { min-width: 0; }
.pg .globe-rail h2 { color: #ffd27a; margin: 0 0 12px; font-size: 20px; }
.globe-facts { margin: 0 0 16px; }
.globe-facts dt { font-size: 12px; color: #9fb0dc; margin-top: 10px; }
.globe-facts dd { margin: 1px 0 0; font-size: 15px; line-height: 1.45; }
.globe-facts small { color: #9fb0dc; }
.grahan-facts { grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); margin-top: 4px; }
.globe-card canvas { display: block; margin: 0 auto; touch-action: pan-y; cursor: grab; aspect-ratio: 1; max-width: 100%; }
.globe-controls { display: flex; align-items: center; gap: 10px; margin-top: 8px; flex-wrap: wrap; }
.globe-controls input { flex: 1 0 100%; accent-color: #ffb340; }
.globe-controls .btn { padding: 6px 12px; font-size: 13px; background: #d2691e; }
.globe-time { font-size: 13px; flex: 1; text-align: right; font-variant-numeric: tabular-nums; }
.globe-legend { display: flex; flex-wrap: wrap; gap: 4px 14px; font-size: 12px; margin-top: 8px; opacity: .9; }
.globe-legend i { display: inline-block; width: 10px; height: 10px; border-radius: 50%; margin-right: 5px; border: 1px solid rgba(255,255,255,.4); }
.sutak-card { border-left: 5px solid #7fae8c; }
.sutak-card.on { border-left-color: #c0392b; background: #fff8f6; }
.plain { padding-left: 18px; line-height: 1.6; }
.plain li { margin-bottom: 4px; }
.today-strip { display: grid; grid-template-columns: repeat(auto-fit, minmax(130px, 1fr)); gap: 10px; background: #fff8ec; }
.today-strip span { display: block; font-size: 12px; color: #8b4513; }
.today-strip strong { font-size: 14px; color: #5a2d0c; }
.verse { font-size: 17px; line-height: 1.9; color: #6b3410; text-align: center; }
@media (max-width: 860px) { .globe-card { grid-template-columns: minmax(0, 1fr); } .grahan-grid { grid-template-columns: 1fr; } }

/* Home */
.hero .form-group label { color: #fff; }
.hero .date-picker-container { margin-bottom: 0; }
.hero a.btn-secondary { text-decoration: none; display: inline-block; font-size: 13.3px; }
.day-navigation { display: flex; justify-content: center; gap: 8px; margin-top: 14px; flex-wrap: wrap; }
.btn-nav { color: #fff; background: rgba(255,255,255,.14); border: 1px solid rgba(255,255,255,.5); border-radius: 6px;
           padding: 7px 14px; text-decoration: none; font-size: 13px; }
.btn-nav:hover { background: rgba(255,255,255,.26); }
.sky-stage { position: relative; max-width: 980px; margin: -12px auto 14px; padding: 58px 56px 16px; }
.sky-arc { position: absolute; inset: 0; pointer-events: none; }
.sky-arc svg { display: block; width: 100%; height: 100%; }
.sky-text { position: relative; }
.sky-text h1 { margin: 0 0 4px; }
.sky-text p { margin: 0 0 3px; }
.sky-label { fill: rgba(255,255,255,.75); font-size: 13px; }
.usp { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; margin: -12px 0 26px; }
.usp a { background: #fff; border: 1px solid #ecdfca; border-top: 3px solid #d2691e; border-radius: 10px; padding: 12px 14px;
         text-decoration: none; color: #555; transition: box-shadow .2s; }
.usp a:hover { box-shadow: 0 4px 12px rgba(139,69,19,.15); }
.usp strong { display: block; color: #8b4513; font-size: 14px; margin-bottom: 3px; }
.usp span { font-size: 12.5px; line-height: 1.4; display: block; }
@media (max-width: 860px) { .usp { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 480px) { .usp { grid-template-columns: 1fr; } }

/* Blurred kundali preview behind the login form */
.auth-stage { position: relative; min-height: 640px; overflow: hidden; border-radius: 12px; display: flex; align-items: center;
              justify-content: center; padding: 20px 12px; }
.auth-stage .auth-card { position: relative; z-index: 2; width: 100%; margin: 0 !important; box-shadow: 0 12px 40px rgba(60,30,10,.35); }
.kt { position: absolute; inset: 0; padding: 18px; filter: blur(4px); opacity: .85; pointer-events: none; user-select: none; background: #f5f1e9; }
.kt-head { background: linear-gradient(135deg, #8b4513, #d2691e); color: #fff; border-radius: 8px; padding: 14px 18px; margin-bottom: 14px; }
.kt-head span { display: block; font-size: 13px; opacity: .9; }
.kt-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin-bottom: 14px; }
.kt-card { background: #fffaf0; border: 2px solid #8b4513; border-radius: 8px; padding: 14px; color: #5a3921; }
.kt-card svg { width: 100%; max-height: 260px; }
.kt-card h4 { color: #8b4513; margin-bottom: 8px; }
.kt-card table { width: 100%; font-size: 13px; }
.kt-card td { padding: 5px 2px; border-bottom: 1px solid #ecdfca; }
.kt-card p { font-size: 13px; padding: 4px 0; }

@media (max-width: 768px) {
  .hero { padding: 24px 14px; }
  .sky-stage { padding: 48px 26px 14px; }
  .date-picker-container { padding: 14px; }
  .form-group { min-width: 0; width: 100%; }
  .date-input, .city-input { width: 100%; font-size: 15px; }
  .user-status { gap: 6px; }
  .user-status span { display: none; }
}

/* Aahaar */
.aa { --ink: #4a3423; --rule: #e7d9c3; --soft: #fbf6ec; --brand: #8b4513; }
.aa-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 16px; flex-wrap: wrap; }
.aa-days { display: flex; border: 1px solid var(--rule); border-radius: 8px; overflow: hidden; background: #fff; }
.pg .aa-days a { padding: 8px 14px; font-size: 13px; text-decoration: none; color: var(--brand); border-left: 1px solid var(--rule); white-space: nowrap; }
.pg .aa-days a:first-child { border-left: 0; }
.aa-summary { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); margin: 14px 0; background: #fff; border: 1px solid var(--rule); border-top: 3px solid #d2691e; border-radius: 10px; }
.aa-summary div { padding: 12px 14px; border-left: 1px solid var(--rule); min-width: 0; }
.aa-summary div:first-child { border-left: 0; }
.aa-summary span, .aa-facts span { display: block; font-size: 11px; letter-spacing: .05em; text-transform: uppercase; color: #8f7a62; margin-bottom: 3px; }
.aa-summary strong { font-size: 14.5px; color: var(--ink); font-weight: 600; line-height: 1.35; display: block; }
.aa-notice { background: #fff8e7; border-left: 3px solid #d9a441; padding: 10px 14px; border-radius: 4px; font-size: 14px; }
.aa-toc { position: sticky; top: 0; z-index: 5; display: flex; gap: 2px; overflow-x: auto; background: #f5f0e8; border-bottom: 1px solid var(--rule); margin: 18px 0 6px; }
.pg .aa-toc a { padding: 9px 12px; font-size: 13.5px; color: var(--brand); text-decoration: none; white-space: nowrap; font-weight: 500; }
.pg .aa-toc a:hover { background: #fff; }
.aa-section { scroll-margin-top: 44px; padding: 8px 0 14px; border-bottom: 1px solid var(--rule); }
.aa-section:last-of-type { border-bottom: 0; }
.pg .aa-section h3 { font-size: 15px; margin: 16px 0 8px; }
.aa-pair { display: grid; grid-template-columns: 1fr 1fr; background: #fff; border: 1px solid var(--rule); border-radius: 10px; overflow: hidden; margin: 10px 0; }
.aa-col { padding: 14px 18px; min-width: 0; }
.aa-col + .aa-col { border-left: 1px solid var(--rule); }
.pg .aa-col h3 { margin: 0 0 8px; font-size: 13px; letter-spacing: .04em; text-transform: uppercase; }
.pg .aa-col.yes h3 { color: #2f6b45; }
.pg .aa-col.no h3 { color: #a33a2a; }
.aa-col ul, .aa-list { margin: 0; padding: 0; list-style: none; color: var(--ink); font-size: 14.5px; line-height: 1.5; }
.aa-col li, .aa-list li { padding: 5px 0 5px 16px; position: relative; border-top: 1px solid #f3ecdf; }
.aa-col li:first-child, .aa-list li:first-child { border-top: 0; }
.aa-col li::before, .aa-list li::before { content: ''; position: absolute; left: 2px; top: 13px; width: 5px; height: 5px; border-radius: 50%; background: #c9b08a; }
.aa-col.yes li::before { background: #4d9a6c; }
.aa-col.no li::before { background: #c8604f; }
.aa-table { width: 100%; border-collapse: collapse; background: #fff; border: 1px solid var(--rule); font-size: 14px; color: var(--ink); }
.aa-table th, .aa-table td { padding: 9px 12px; text-align: left; vertical-align: top; border-top: 1px solid var(--rule); line-height: 1.5; }
.aa-table thead th { background: var(--soft); color: var(--brand); font-size: 12px; letter-spacing: .04em; text-transform: uppercase; border-top: 0; }
.aa-table tbody th { font-weight: 600; white-space: nowrap; }
.aa-table tr.now { background: #fff4df; }
.aa-today { border-radius: 10px; }
.aa-today tbody th { width: 190px; background: var(--soft); white-space: normal; }
.aa-today b { font-weight: 600; color: var(--brand); }
.aa-facts { display: grid; grid-template-columns: repeat(auto-fill, minmax(180px, 1fr)); background: #fff; border: 1px solid var(--rule); border-radius: 10px; overflow: hidden; margin: 10px 0; }
.aa-facts > div { box-shadow: 0 0 0 .5px var(--rule); padding: 10px 14px; font-size: 14px; color: var(--ink); line-height: 1.45; }
.aa-facts.three { grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); }
.aa-tabs { display: flex; gap: 4px; flex-wrap: wrap; border-bottom: 2px solid var(--rule); margin: 8px 0 10px; }
.aa-tabs button { background: none; border: 0; border-bottom: 2px solid transparent; margin-bottom: -2px; padding: 8px 14px; font-size: 14px; color: #7a6650; cursor: pointer; }
.aa-tabs button[aria-selected="true"] { color: var(--brand); border-bottom-color: #d2691e; font-weight: 600; }
.aa-clock { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); border: 1px solid var(--rule); border-radius: 10px; overflow: hidden; background: #fff; }
.aa-clock > div { padding: 12px; border-left: 1px solid var(--rule); border-top: 3px solid #bcd; font-size: 13px; color: var(--ink); min-width: 0; }
.aa-clock > div:first-child { border-left: 0; }
.aa-clock .kapha { border-top-color: #5a9a8b; } .aa-clock .pitta { border-top-color: #d9743a; } .aa-clock .vata { border-top-color: #7b86c4; }
.aa-clock time { display: block; font-size: 12px; color: #8f7a62; }
.aa-clock strong { display: block; font-size: 15px; margin: 2px 0 4px; }
.aa-sayings { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 12px; }
.aa-sayings figure { margin: 0; padding: 16px 18px; background: #fff; border: 1px solid var(--rule); border-radius: 10px; }
.aa-sayings figcaption { font-size: 12px; letter-spacing: .04em; text-transform: uppercase; color: #8f7a62; }
.aa-sayings blockquote { margin: 8px 0; font-size: 16.5px; line-height: 1.8; color: #6b3410; }
.aa-sayings p { font-size: 13.5px; color: #5a4a3a; margin: 0 0 6px; line-height: 1.5; }
.aa-sayings cite { font-size: 12px; color: #8f7a62; font-style: normal; }
.aa-foot { font-size: 13px; color: #6d5f50; line-height: 1.55; margin-top: 12px; }
@media (max-width: 860px) {
  .aa-summary { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .aa-summary div { border-top: 1px solid var(--rule); } 
  .aa-summary div:nth-child(odd) { border-left: 0; }
  .aa-clock { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .aa-pair { grid-template-columns: 1fr; }
  .aa-col + .aa-col { border-left: 0; border-top: 1px solid var(--rule); }
  .aa-today tbody th { width: 110px; }
}

/* Aahaar: graphical blocks */
.aa { --kapha: #3f8579; --pitta: #cd6928; --vata: #626cb2; }
.aa-k { display: block; font-size: 11px; letter-spacing: .05em; text-transform: uppercase; color: #8f7a62; margin-bottom: 3px; }
.aa-hero { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 10px; margin: 14px 0; }
.aa-hero-card { position: relative; background: #fff; border: 1px solid var(--rule); border-radius: 12px; padding: 14px 14px 12px 58px; min-height: 76px; }
.aa-hero-card strong { display: block; font-size: 15px; color: var(--ink); line-height: 1.3; }
.aa-hero-card small { display: block; color: #8f7a62; font-size: 12.5px; margin-top: 2px; }
.aa-hero-card .aa-ico, .aa-hero-card .aa-planet { position: absolute; left: 12px; top: 14px; width: 36px; height: 36px; border-radius: 50%; display: grid; place-items: center; font-size: 20px; background: #fdf0dc; }
.aa-hero-card.ritu.winter .aa-ico, .region-now.winter { background: #e6f0fb; }
.aa-hero-card.ritu.summer .aa-ico, .region-now.summer { background: #fff1d6; }
.aa-hero-card.ritu.monsoon .aa-ico, .region-now.monsoon { background: #e3f3ec; }
.aa-hero-card.dosha-meter { padding-left: 14px; }
.aa-meter { display: flex; gap: 4px; margin-top: 8px; }
.aa-meter span { flex: 1; text-align: center; font-size: 11px; padding: 3px 0; border-radius: 4px; color: #fff; opacity: .35; }
.aa-meter span.on { opacity: 1; font-weight: 700; }
.aa-meter .vata, .dosha-tag.vata { background: var(--vata); }
.aa-meter .pitta, .dosha-tag.pitta { background: var(--pitta); }
.aa-meter .kapha, .dosha-tag.kapha { background: var(--kapha); }
.aa-buy { display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap; margin: 14px 0; padding: 14px 18px; border-radius: 12px; background: linear-gradient(120deg, #fff6e6, #fdebd3); border: 1px solid #efcf9f; }
.aa-buy strong { display: block; color: #6b3410; font-size: 15.5px; }
.aa-buy > div > span { color: #6d5f50; font-size: 13.5px; }
.aa-buy-cta { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.aa-price { font-size: 22px; font-weight: 700; color: #6b3410; }
.aa-today-cards { display: grid; gap: 10px; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); margin-top: 10px; }
.aa-tcard { background: #fff; border: 1px solid var(--rule); border-radius: 10px; padding: 12px 14px; font-size: 14px; color: var(--ink); }
.aa-tcard p { margin: 4px 0; line-height: 1.5; }
.aa-tcard b { color: var(--brand); }
.pahar-bar { display: flex; height: 52px; border-radius: 10px; overflow: hidden; margin: 12px 0 6px; }
.pahar { display: flex; flex-direction: column; justify-content: center; align-items: center; color: #fff; border-left: 2px solid #fff; min-width: 0; }
.pahar:first-child { border-left: 0; }
.pahar.kapha { background: var(--kapha); }
.pahar.pitta { background: var(--pitta); }
.pahar.vata { background: var(--vata); }
.pahar.night { filter: brightness(.7); }
.pahar-n { font-size: 13px; font-weight: 700; }
.pahar-t { font-size: 11px; opacity: .9; }
.pahar-legend { display: flex; gap: 14px; flex-wrap: wrap; font-size: 12px; color: #6d5f50; margin-bottom: 10px; }
.pahar-legend span::before { content: ""; display: inline-block; width: 10px; height: 10px; border-radius: 2px; margin-right: 5px; vertical-align: -1px; background: #999; }
.pahar-legend .kapha::before { background: var(--kapha); }
.pahar-legend .pitta::before { background: var(--pitta); }
.pahar-legend .vata::before { background: var(--vata); }
.pahar-legend .night::before { background: #555; }
.pahar-list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
.pahar-row { display: grid; grid-template-columns: 96px 1fr; gap: 10px; background: #fff; border: 1px solid var(--rule); border-left: 4px solid #bbb; border-radius: 8px; padding: 10px 12px; font-size: 13.5px; color: var(--ink); }
.pahar-row.kapha { border-left-color: var(--kapha); }
.pahar-row.pitta { border-left-color: var(--pitta); }
.pahar-row.vata { border-left-color: var(--vata); }
.pahar-row time { font-weight: 700; color: var(--brand); font-variant-numeric: tabular-nums; }
.pahar-row p { margin: 4px 0 0; line-height: 1.45; }
.pahar-doshas { margin-top: 3px; }
.dosha-tag { display: inline-block; color: #fff; font-size: 11px; padding: 1px 7px; border-radius: 999px; margin: 2px 4px 2px 0; }
.meal-times { display: grid; gap: 8px; grid-template-columns: repeat(auto-fit, minmax(160px, 1fr)); }
.meal { background: #fff; border: 1px solid var(--rule); border-radius: 10px; padding: 10px 12px; font-size: 13px; color: var(--ink); }
.meal strong { display: block; font-size: 15px; color: var(--brand); font-variant-numeric: tabular-nums; }
.meal-clock { float: right; }
.plate-row { display: grid; grid-template-columns: 140px 1fr; gap: 20px; align-items: center; margin-top: 16px; }
.plate { width: 130px; height: 130px; border-radius: 50%; background: conic-gradient(#d9a441 0 33.3%, #7fb6c9 0 66.6%, #f3ece0 0); border: 6px solid #fff; box-shadow: 0 0 0 1px var(--rule), 0 4px 10px rgba(0,0,0,.06); display: grid; place-items: center; }
.plate span { background: rgba(255,255,255,.85); border-radius: 8px; padding: 4px 8px; font-size: 11.5px; line-height: 1.4; text-align: center; color: var(--ink); }
.region-now { display: flex; gap: 12px; align-items: center; border-radius: 10px; padding: 12px 14px; margin: 8px 0; }
.region-now .aa-ico { font-size: 26px; }
.region-now strong { color: var(--ink); font-size: 15px; line-height: 1.45; }
.region-grid { display: grid; gap: 1px; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); background: var(--rule); border: 1px solid var(--rule); border-radius: 10px; overflow: hidden; }
.region-grid > div { background: #fff; padding: 10px 12px; font-size: 13.5px; color: var(--ink); line-height: 1.5; }
.region-grid span { display: block; font-size: 12px; font-weight: 600; color: var(--brand); margin-bottom: 2px; }
.region-seasons p { font-size: 13px; color: #6d5f50; margin: 6px 0; }
.food-filter { display: flex; gap: 6px; flex-wrap: wrap; margin: 8px 0; }
.food-filter button { border: 1px solid var(--rule); background: #fff; border-radius: 999px; padding: 6px 12px; font-size: 13px; cursor: pointer; color: var(--ink); }
.food-filter button[aria-pressed="true"] { background: var(--brand); color: #fff; border-color: var(--brand); }
.food-grid { display: grid; gap: 8px; grid-template-columns: repeat(auto-fill, minmax(210px, 1fr)); }
.food-chip { background: #fff; border: 1px solid var(--rule); border-top: 3px solid #999; border-radius: 9px; padding: 9px 11px; font-size: 13px; color: var(--ink); }
.food-chip.cooling { border-top-color: #2f86c0; }
.food-chip.heating { border-top-color: #c8502a; }
.food-chip.balanced { border-top-color: #3a8f5a; }
.food-name { font-weight: 600; line-height: 1.35; }
.food-name span { display: block; font-weight: 400; color: #8f7a62; }
.food-tags { margin: 5px 0 3px; }
.food-tags .nature { display: inline-block; font-size: 11px; padding: 1px 7px; border-radius: 999px; margin-right: 4px; }
.nature.cooling { background: #e2f0fa; color: #1d5f8c; }
.nature.heating { background: #fbe5dc; color: #9b3a1c; }
.nature.balanced { background: #e3f3e8; color: #22663a; }
.food-chip p { margin: 3px 0 0; color: #6d5f50; font-size: 12.5px; line-height: 1.4; }
.age-grid { display: grid; gap: 10px; }
.age-card { background: #fff; border: 1px solid var(--rule); border-radius: 12px; padding: 4px 16px; }
.age-card summary { display: flex; align-items: center; gap: 12px; cursor: pointer; padding: 10px 0; list-style: none; }
.age-card summary::-webkit-details-marker { display: none; }
.age-card summary::after { content: "+"; margin-left: auto; font-size: 20px; color: var(--brand); }
.age-card[open] summary::after { content: "\2212"; }
.age-ico { font-size: 28px; width: 44px; height: 44px; border-radius: 50%; background: #fdf0dc; display: grid; place-items: center; flex: none; }
.age-card summary strong { display: block; color: var(--ink); font-size: 15.5px; }
.age-card summary small { color: #8f7a62; }
.age-card .aa-col p { margin: 0; font-size: 14px; line-height: 1.5; color: var(--ink); }
.trimester { display: grid; gap: 8px; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); margin: 10px 0; }
.trimester > div { background: #fff4f6; border: 1px solid #f1d3da; border-radius: 9px; padding: 10px 12px; font-size: 13.5px; }
.trimester p { margin: 4px 0 0; line-height: 1.45; }
.day-plan { list-style: none; padding: 0; margin: 10px 0 14px 6px; border-left: 2px dashed #e0c9a4; }
.day-plan li { position: relative; padding: 4px 0 6px 18px; font-size: 13.5px; color: var(--ink); line-height: 1.45; }
.day-plan li::before { content: ""; position: absolute; left: -7px; top: 9px; width: 10px; height: 10px; border-radius: 50%; background: #d9a441; border: 2px solid #fff; }
.day-plan span { display: inline-block; min-width: 110px; font-weight: 600; color: var(--brand); }
.fit-grid { display: grid; gap: 12px; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); }
.fit-card { background: #fff; border: 1px solid var(--rule); border-top: 4px solid #d9a441; border-radius: 12px; padding: 14px 16px; font-size: 13.5px; color: var(--ink); min-width: 0; }
.fit-card.weightloss { border-top-color: #3a8f5a; }
.fit-card.gym { border-top-color: #c8502a; }
.fit-card.yoga { border-top-color: #626cb2; }
.pg .fit-card h3 { font-size: 16px; }
.fit-card h3 small { color: #8f7a62; font-weight: 400; }
.fit-card p { line-height: 1.5; margin: 6px 0; }
.workout-pair { display: grid; gap: 8px; grid-template-columns: 1fr 1fr; margin: 10px 0; }
.workout-pair > div { border-radius: 9px; padding: 9px 11px; font-size: 13px; line-height: 1.45; }
.workout-pair span { display: block; font-weight: 700; margin-bottom: 3px; }
.workout-pair .before { background: #fff4e3; }
.workout-pair .after { background: #e8f5ec; }
@media (max-width: 860px) {
  .aa-hero { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .pahar-list { grid-template-columns: 1fr; }
  .pahar-t { display: none; }
  .workout-pair { grid-template-columns: 1fr; }
  .plate-row { grid-template-columns: 1fr; justify-items: center; }
}
@media (max-width: 480px) {
  .aa-hero { grid-template-columns: 1fr; }
  .pahar-row { grid-template-columns: 1fr; }
  .fit-grid { grid-template-columns: 1fr; }
  .day-plan span { min-width: 0; display: block; }
}

/* Paid PDF checkout */
.pay-grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: 24px; align-items: start; margin-top: 10px; }
.pay-cover { width: 150px; height: 200px; border-radius: 4px 10px 10px 4px; background: linear-gradient(135deg, #7a1f1a, #a8432a); color: #fbe9c8; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 8px; box-shadow: 6px 8px 0 #e8d4b4, 0 6px 16px rgba(0,0,0,.18); border-left: 8px solid #5c1410; margin-bottom: 16px; text-align: center; padding: 10px; box-sizing: border-box; }
.pay-cover.aahaar { background: linear-gradient(135deg, #2f6b45, #5d8f3a); border-left-color: #1f4a2f; }
.pay-cover .om { font-size: 13px; opacity: .85; }
.pay-cover strong { font-size: 18px; font-family: Georgia, serif; }
.pay-cover em { font-size: 12px; }
.pay-points { padding-left: 18px; line-height: 1.8; color: #4a3423; font-size: 14.5px; }
.pay-price { display: flex; flex-direction: column; gap: 2px; border-bottom: 1px solid #ecdfca; padding-bottom: 12px; margin-bottom: 12px; }
.pay-price span { font-size: 12px; text-transform: uppercase; letter-spacing: .05em; color: #8f7a62; }
.pay-price strong { font-size: 34px; color: #6b3410; }
.pay-box label { display: block; font-size: 13.5px; font-weight: 600; color: #6b3410; margin: 10px 0 4px; }
.pay-box label small { font-weight: 400; color: #8f7a62; }
.pay-box input[name=name], .pay-box input[type=email], .pay-box input[type=tel] { width: 100%; padding: 9px 11px; border: 1px solid #dcc9ad; border-radius: 7px; font-size: 15px; box-sizing: border-box; }
.pay-choice { border: 0; padding: 0; margin: 12px 0 0; }
.pay-choice legend { font-size: 13.5px; font-weight: 600; color: #6b3410; }
.pay-choice label { display: flex; gap: 8px; align-items: baseline; font-weight: 500; border: 1px solid #ecdfca; border-radius: 8px; padding: 8px 10px; margin: 6px 0; cursor: pointer; }
.pay-choice label:has(input:checked) { border-color: #d2691e; background: #fff8ee; }
.pay-choice small { color: #8f7a62; font-weight: 400; }
.pay-btn { width: 100%; font-size: 17px; padding: 12px; margin: 14px 0 8px; }
.pay-errors { background: #fde8e6; border-radius: 8px; padding: 8px 12px; color: #9c2b1f; font-size: 14px; }
.pay-errors p { margin: 4px 0; }
.pay-order { max-width: 680px; margin: 20px auto; }
.pay-status { font-size: 17px; font-weight: 600; }
.pay-status.good { color: #22663a; }
.pay-status.bad { color: #9c2b1f; }
.pay-download { display: flex; gap: 10px; flex-wrap: wrap; }
.kundali-buy { display: flex; justify-content: space-between; align-items: center; gap: 14px; flex-wrap: wrap; margin: 16px 0; padding: 14px 18px; border-radius: 12px; background: linear-gradient(120deg, #fff6e6, #fdebd3); border: 1px solid #efcf9f; }
.kundali-buy strong { color: #6b3410; font-size: 16px; display: block; }
.kundali-buy span { color: #6d5f50; font-size: 13.5px; }
@media (max-width: 760px) { .pay-grid { grid-template-columns: 1fr; } }

/* Shubh muhurat: colours and money */
.swatches { display: flex; flex-wrap: wrap; gap: 8px; margin: 6px 0 8px; }
.swatch { display: inline-flex; align-items: center; gap: 6px; font-size: 13px; color: #4a3423; }
.swatch i { width: 22px; height: 22px; border-radius: 50%; border: 1px solid #d9c7aa; box-shadow: inset 0 0 0 2px #fff; display: inline-block; }
.money-card.yes { border-left: 4px solid #3a8f5a; }
.money-card.no { border-left: 4px solid #d9b2a8; }

/* Festival puja muhurat */
.puja-grid { display: grid; gap: 12px; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); }
.puja-card { margin: 0; }
.puja-card.best { border: 2px solid #d9a441; background: #fffaf0; }
.puja-time { font-size: 22px; font-weight: 700; color: #6b3410; font-variant-numeric: tabular-nums; margin: 4px 0 2px; }
.puja-time small { font-size: 12px; font-weight: 400; color: #8f7a62; }
.puja-chip { display: inline-block; margin: 4px 0 2px; padding: 3px 10px; border-radius: 999px; background: #fff3dc; color: #6b3410; font-size: 13px; }

/* Regional seasons, avoid row, regional sayings */
.region-grid > div.avoid { background: #fff4f1; grid-column: 1 / -1; }
.region-grid > div.avoid span { color: #a5342a; }
details.region-season { margin: 10px 0 0; border: 1px solid var(--rule); border-radius: 10px; background: #fffdf8; }
details.region-season > summary { cursor: pointer; padding: 10px 14px; font-weight: 600; color: var(--brand); font-size: 14px; }
details.region-season > summary .muted { font-weight: 400; }
details.region-season[open] > summary { border-bottom: 1px solid var(--rule); }
details.region-season .region-grid { border: 0; border-radius: 0 0 10px 10px; }
.aa-sayings[hidden], .region-panel[hidden] { display: none; }
.aa-sayings blockquote:lang(ta), .aa-sayings blockquote:lang(ml), .aa-sayings blockquote:lang(te),
.aa-sayings blockquote:lang(kn) { font-size: 15.5px; }

/* Aahaar: saved region chooser */
.region-pref { display: flex; flex-wrap: wrap; align-items: center; gap: .5rem; margin: .5rem 0 .9rem; }
.region-pref select { padding: .35rem .5rem; border: 1px solid var(--border, #e3d3b8); border-radius: 6px;
  background: var(--card, #fff); color: inherit; max-width: 100%; }
.region-pref .muted { font-size: .85rem; }

/* Panchang: month system switch */
.masa-switch { margin-top: .4rem; }
.masa-switch .link-btn { background: none; border: 0; padding: 0; color: var(--accent, #b4541a); cursor: pointer;
  text-decoration: underline; font: inherit; font-size: .85rem; }
.detail-row.muted { opacity: .75; }

/* Naamkaran */
.nm-forms { display: grid; grid-template-columns: 1.4fr 1fr; gap: 1rem; margin: 1rem 0; }
.nm-form { display: flex; flex-direction: column; gap: .6rem; padding: 1rem; }
.nm-form h2 { font-size: 1.1rem; margin: 0; }
.nm-form label { display: flex; flex-direction: column; gap: .25rem; font-size: .9rem; }
.nm-form input, .nm-form select { padding: .45rem .55rem; border: 1px solid var(--border, #e3d3b8); border-radius: 6px;
  background: var(--card, #fff); color: inherit; font: inherit; }
.nm-row { display: grid; grid-template-columns: 1fr 1fr; gap: .6rem; }
.nm-letter { display: flex; gap: 1.2rem; align-items: center; padding: 1rem 1.2rem; margin: 1rem 0; }
.nm-big { font-size: 4rem; line-height: 1; color: var(--accent, #b4541a); min-width: 4.5rem; text-align: center; }
.nm-letter strong { display: block; font-size: 1.5rem; }
.nm-letter p { margin: .2rem 0; }
.nm-chips { display: flex; flex-wrap: wrap; gap: .4rem; margin: .5rem 0 1rem; }
.nm-chip { border: 1px solid var(--border, #e3d3b8); border-radius: 999px; padding: .2rem .7rem; font-size: .9rem; }
.nm-chip.on { background: var(--accent, #b4541a); color: #fff; border-color: transparent; }
.nm-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(170px, 1fr)); gap: .6rem; margin: .6rem 0 1rem; }
.nm-card { position: relative; border: 1px solid var(--border, #e3d3b8); border-radius: 10px; padding: .6rem .7rem;
  background: var(--card, #fff); display: flex; flex-direction: column; gap: .1rem; }
.nm-card b { font-size: 1.25rem; }
.nm-card small { color: var(--muted, #7a6a58); }
.nm-card i { position: absolute; top: .5rem; right: .6rem; font-style: normal; opacity: .6; }
.nm-more summary { cursor: pointer; font-weight: 600; margin: .5rem 0; }
.nm-days { width: 100%; border-collapse: collapse; font-size: .92rem; }
.nm-days th, .nm-days td { padding: .4rem .5rem; border-bottom: 1px solid var(--border, #e3d3b8); text-align: left; }
.nm-days tr.good td { background: rgba(46, 125, 50, .08); font-weight: 600; }
.nm-gyaan-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: .8rem; }
.nm-gyaan-grid article { padding: .9rem 1rem; }
.nm-gyaan-grid h3 { font-size: 1rem; margin: 0 0 .4rem; }
@media (max-width: 720px) {
  .nm-forms { grid-template-columns: 1fr; }
  .nm-big { font-size: 3rem; min-width: 3.5rem; }
  .nm-days { font-size: .82rem; }
}
