/* Homepage only: existing Avyani colours, fonts and hero; no global form overrides. */
.hero:has(.hero__layout){min-height:0;overflow:visible;padding-block:3rem}
.hero__layout{position:relative;z-index:1;display:grid;grid-template-columns:minmax(270px,1fr) minmax(300px,1.35fr) minmax(270px,1fr);gap:clamp(1.2rem,2.4vw,2.5rem);align-items:center;max-width:1500px;width:calc(100% - 4rem)}
.hero__layout .hero__content{min-width:0;max-width:none;padding:1rem 0;text-align:center}
.hero__layout .hero__heading{font-size:clamp(2.1rem,3.45vw,3.7rem);line-height:1.17;margin-block:1rem 1.5rem;overflow-wrap:normal}
.hero__layout .hero__eyebrow{font-size:.8rem;line-height:1.6;justify-content:center;letter-spacing:.07em}
.hero__layout .hero__actions{justify-content:center;gap:.75rem;flex-wrap:wrap}
.hero__layout .hero__actions .btn{font-size:.94rem;min-height:44px;padding:.8rem 1.2rem}
.hero-tool{min-width:0;border:1px solid var(--c-border,#ddcfaf);border-top:3px solid #c98b3c;border-radius:1.1rem;padding:1.4rem;background:linear-gradient(145deg,#fffdf8,#f8f2e6);color:var(--c-text,#302b25);box-shadow:0 10px 30px #6e502514}
.hero-tool__eyebrow{margin:0 0 .35rem;font-size:.72rem;letter-spacing:.1em;color:#846133;font-weight:700}
.hero-tool h2{font-size:1.7rem;line-height:1.25;margin:0 0 1.15rem;color:#664820}
.hero-tool label{display:flex;flex-direction:column;gap:.3rem;min-width:0;font-size:.88rem;font-weight:600;margin:0 0 .7rem}
.hero-tool input,.hero-tool select{box-sizing:border-box;width:100%;min-width:0;max-width:100%;height:44px;padding:.55rem .65rem;background:#fffefa;border:1px solid #d8c9ae;border-radius:.5rem;color:#312b23;font:inherit;font-size:1rem;line-height:1.25}
.hero-tool input:focus,.hero-tool select:focus{outline:2px solid #bd8a41;outline-offset:2px}
.hero-tool__pair{display:grid;grid-template-columns:1.1fr 1fr;gap:.7rem}
.hero-tool__action{display:flex;align-items:center;justify-content:center;gap:.5rem;width:100%;min-height:46px;padding:.75rem .9rem;font-size:.94rem;margin-top:.85rem;text-align:center}
.hero-tool__date{font-size:.88rem;line-height:1.5;color:#706450;margin:.5rem 0 .8rem}
.hero-tool__note{font-size:.79rem;color:#706450;line-height:1.5;margin:.7rem 0}
.hero-tool [role=status]{font-size:.85rem;line-height:1.45;margin:.5rem 0}
.hero-tool [role=status]:empty{display:none}
.hero-tool__retry{border:0;background:none;text-decoration:underline;color:#765327;min-height:44px}
.hero-panchang__rows{margin:0;display:grid;gap:0}
.hero-panchang__rows>div{display:grid;grid-template-columns:5.4rem minmax(0,1fr);gap:.65rem;padding:.5rem 0;border-bottom:1px solid #dfd4c1}
.hero-panchang__rows dt{font-size:.88rem;font-weight:600;color:#6b5130}
.hero-panchang__rows dd{margin:0;font-size:.93rem;line-height:1.4;overflow-wrap:anywhere}
.hero-panchang__rows dd>span{display:block;margin-bottom:.2rem}
.hero-panchang__rows small{display:block;font-size:.77rem;color:#766b5a}
.hero-place{position:relative}
.hero-place [role=listbox]{position:absolute;z-index:20;top:100%;left:0;right:0;max-height:16rem;overflow:auto;border:1px solid #d4c3a2;border-radius:.6rem;background:#fffdf8;box-shadow:0 8px 22px #49311624}
.hero-place .dd-option{display:block;width:100%;border:0;border-bottom:1px solid #ede4d5;padding:.7rem;text-align:left;background:none;color:#32291e;font:inherit;font-size:.92rem;white-space:normal;min-height:44px}
.hero-place .dd-option:hover,.hero-place .dd-option:focus{background:#f3e8d3}
.hero [hidden]{display:none!important}
.hero-tool a[aria-disabled=true]{pointer-events:none;opacity:.65}
@media(max-width:1100px){.hero__layout{grid-template-columns:1fr 1fr;max-width:850px;align-items:start}.hero__layout .hero__content{grid-column:1/-1;grid-row:1;max-width:650px;justify-self:center}.hero__layout .hero__heading{font-size:2.7rem}.hero-kundali{grid-column:1;grid-row:2}.hero-panchang{grid-column:2;grid-row:2}}
@media(max-width:600px){.hero:has(.hero__layout){padding-block:1.5rem}.hero__layout{width:calc(100% - 2rem);grid-template-columns:minmax(0,1fr);gap:1.2rem}.hero__layout .hero__content{grid-column:1;grid-row:1;padding:.3rem 0}.hero__layout .hero__heading{font-size:2.15rem}.hero-kundali{grid-column:1;grid-row:2}.hero-panchang{grid-column:1;grid-row:3}.hero-tool{padding:1.15rem}.hero__layout .hero__eyebrow{font-size:.73rem}.hero__layout .hero__actions .btn{font-size:.88rem}.hero__layout .hero__subheading{font-size:1rem}}
/* The marketing hero has broad paragraph/centering rules; scope tools explicitly. */
.hero .hero-tool{text-align:left}
.hero .hero-tool__eyebrow{font-size:.72rem;line-height:1.5}
.hero .hero-tool__date{font-size:.88rem;line-height:1.5}
.hero .hero-tool__note{font-size:.79rem;line-height:1.5}
.hero .hero-tool [role=status]{font-size:.85rem}
.hero .hero-panchang__rows dd>span{display:flex;flex-wrap:wrap;gap:0 .4rem;align-items:baseline}
.hero .hero-panchang__rows small{display:inline}
.hero:has(.hero__layout) .hero__motif{inset-inline-end:0;width:min(55vmax,100%)}
.hero .hero__layout{padding-inline:0}
/* Equal desktop cards use the taller content, not fixed heights or clipped rows. */
.hero .hero-tool{display:flex;flex-direction:column;align-self:stretch}
.hero .hero-kundali form{display:flex;flex-direction:column;flex:1}
.hero .hero-tool__action{margin-top:auto;flex-shrink:0;font-weight:600;line-height:1.5;border:1px solid transparent;border-radius:999px}
.hero .hero-kundali form{gap:0;padding-top:0}
.hero .hero-place{margin-bottom:.85rem}
.hero .hero-panchang__rows{margin-bottom:1rem}
.hero .hero-panchang__heading{display:flex;align-items:center;flex-wrap:wrap;gap:.65rem;margin-bottom:.75rem}
.hero .hero-panchang__heading h2{flex:1 1 9rem;min-width:0;margin:0}
.hero .hero-panchang__heading select{flex:0 1 8.5rem;width:8.5rem;margin:0}
@media(max-width:600px){.hero .hero-tool{align-self:auto}.hero .hero-kundali form{flex:initial}.hero .hero-tool__action{margin-top:.85rem}}
.hero .hero-tool p{text-align:left}
/* Explicit twelve-hour controls; the native calendar never determines display format. */
.hero .home-date-field{margin-bottom:.7rem}
.hero .home-date-field>label{margin-bottom:.3rem}
.hero .home-date-control{position:relative;display:flex;gap:.4rem;align-items:center}
.hero .home-date-control>input[type=text]{flex:1;min-width:0}
.hero #home-calendar-button{display:flex;align-items:center;justify-content:center;flex:0 0 44px;width:44px;height:44px;border:1px solid #d8c9ae;border-radius:.5rem;background:#fffefa;color:#765327;padding:0}
.hero #home-calendar-button:hover,.hero #home-calendar-button:focus-visible{background:#f3e8d3;outline:2px solid #bd8a41;outline-offset:2px}
.hero input.home-date-native{position:absolute;right:0;bottom:0;width:1px;height:1px;min-height:0;padding:0;border:0;opacity:0;pointer-events:none}
.hero .home-time-fields{border:0;padding:0;margin:0 0 .7rem;min-width:0}
.hero .home-time-fields legend{float:none;width:auto;font-size:.88rem;font-weight:600;line-height:1.5;margin:0 0 .35rem;padding:0}
.hero .home-time-parts{display:grid;grid-template-columns:1fr 1fr 1.15fr;gap:.45rem}
.hero .home-time-parts label{margin:0}
.hero .home-time-parts select{padding-inline:.4rem}

.home-date-error{display:block;color:#9f2929;line-height:1.4}.home-date-error:empty{display:none}
