:root{
  color-scheme:light;
  --bg:#f7f6f2;
  --bg2:#f1efea;
  --card:#ffffff;
  --line:rgba(23,23,23,.08);
  --text:#171717;
  --muted:#66615c;
  --accent:#9a7b45;
  --accent2:#8b6b5a;
  --gold:#9a7b45;
  --green:#4c7c59;
  --blue:#6587b7;
  --shadow:0 24px 60px rgba(65,50,25,.14);
}

*{box-sizing:border-box}
html,body{min-height:100%}
body{
  margin:0;
  font-family:Inter,system-ui,sans-serif;
  background:linear-gradient(180deg,var(--bg) 0%,var(--bg2) 100%);
  color:var(--text);
  overflow-x:hidden;
}

a{color:inherit;text-decoration:none}


.wrap{
  position:relative;
  z-index:1;
  width:min(1160px, calc(100% - 32px));
  margin:0 auto;
  padding:0;
}









.hero{
  padding:22px 0 28px;
}

.panchang-hero{
  display:block;
}

.hero-card,
.summary-section,
.timings-panel{
  border:1px solid var(--line);
  border-radius:28px;
  background:linear-gradient(180deg,rgba(255,251,246,.96),rgba(246,237,223,.96));
  box-shadow:var(--shadow);
  width:100%;
}


.eyebrow{
  margin:0 0 14px;
  color:var(--accent);
  font-size:.72rem;
  letter-spacing:.22em;
  text-transform:uppercase;
  font-weight:700;
}

.hero-copy h1{
  margin:0;
  font-size:clamp(38px,4.2vw,56px);
  line-height:1.02;
  letter-spacing:-.04em;
  max-width:none;
}

.lead{
  margin:16px 0 0;
  max-width:64ch;
  font-size:1.04rem;
  line-height:1.7;
  color:var(--muted);
}

.hero-band{
  display:flex;
  flex-wrap:wrap;
  gap:10px;
  margin-top:22px;
}

.day-badge,
.hero-chip{
  display:inline-flex;
  align-items:center;
  gap:8px;
  min-height:34px;
  padding:8px 12px;
  border-radius:999px;
  border:1px solid var(--line);
  background:rgba(255,255,255,.72);
  color:var(--text);
  box-shadow:0 10px 20px rgba(62,46,20,.05);
  font-size:.88rem;
  white-space:nowrap;
}

.day-badge{
  background:linear-gradient(135deg,rgba(201,154,67,.14),rgba(111,139,87,.10));
  font-weight:800;
  letter-spacing:.06em;
}

.hero-card{
  padding:26px 28px 24px;
  display:block;
  background:
    radial-gradient(circle at top right,rgba(201,154,67,.14) 0,transparent 34%),
    linear-gradient(180deg,rgba(255,251,246,.98),rgba(247,238,223,.98));
}

.hero-card-top{
  display:grid;
  grid-template-columns:minmax(0,1.12fr) minmax(360px,.98fr);
  gap:20px;
  align-items:start;
}

.hero-side{
  display:grid;
  gap:10px;
  align-content:start;
  justify-items:start;
}

.hero-label{
  display:inline-flex;
  align-items:center;
  min-height:28px;
  padding:5px 10px;
  border-radius:999px;
  background:rgba(158,119,53,.12);
  color:var(--accent);
  font-size:.68rem;
  font-weight:800;
  letter-spacing:.18em;
  white-space:nowrap;
}

.hero-date{
  color:var(--muted);
  font-size:.84rem;
}

.hero-card h1{
  margin:0;
  font-size:clamp(30px,3.2vw,42px);
  line-height:1;
  letter-spacing:-.04em;
  max-width:none;
  white-space:nowrap;
}

.hero-card h2{
  margin:0;
  font-size:clamp(20px,1.8vw,24px);
  line-height:1.05;
  letter-spacing:-.03em;
  max-width:none;
  white-space:nowrap;
}

@media (max-width: 900px){
  .hero-copy h1, .hero-card h2{
    white-space:normal;
  }
}

.hero-card p{
  margin:0;
  color:var(--muted);
  line-height:1.45;
  font-size:.88rem;
}

.hero-side p{
  display:none;
}

.hero-side p{
  display:none;
}

.hero-metrics{
  display:grid;
  grid-template-columns:repeat(4,minmax(0,1fr));
  gap:10px;
  margin-top:2px;
}

.hero-metrics div{
  padding:11px 12px 12px;
  border-radius:18px;
  background:rgba(255,255,255,.82);
  border:1px solid var(--line);
}

.hero-metrics span{
  display:block;
  font-size:.67rem;
  letter-spacing:.11em;
  text-transform:uppercase;
  color:var(--muted);
}

.hero-metrics strong{
  display:block;
  margin-top:6px;
  font-size:.86rem;
  line-height:1.14;
}

.hero-actions{
  display:flex;
  gap:10px;
  flex-wrap:wrap;
  margin-top:2px;
}

.hero-mini-label{
  display:inline-flex;
  align-items:center;
  min-height:34px;
  padding:8px 0;
  color:var(--muted);
  font-size:.78rem;
  font-weight:700;
  letter-spacing:.08em;
  white-space:nowrap;
}

.hero-auto{
  display:inline-flex;
  align-items:center;
  min-height:34px;
  padding:8px 12px;
  border-radius:999px;
  border:1px solid var(--line);
  background:rgba(255,255,255,.62);
  color:var(--muted);
  font-size:.82rem;
  white-space:nowrap;
}

.btn{
  border:0;
  border-radius:999px;
  padding:12px 18px;
  font-weight:800;
  cursor:pointer;
  transition:transform .2s ease, box-shadow .2s ease;
}

.btn:hover{transform:translateY(-2px)}

.btn.primary{
  background:linear-gradient(135deg,var(--accent),#f1c96f);
  color:#120d00;
  box-shadow:0 12px 26px rgba(158,119,53,.22);
}

.summary-section{
  margin-top:18px;
  padding:22px;
}

.table-shell{
  border:1px solid var(--line);
  border-radius:28px;
  background:linear-gradient(180deg,rgba(255,251,246,.98),rgba(246,237,223,.96));
  box-shadow:var(--shadow);
  padding:22px;
}

.table-shell-head{
  display:flex;
  align-items:flex-end;
  justify-content:space-between;
  gap:16px;
  margin-bottom:18px;
}

.table-shell-head h2{
  margin:0;
  font-size:clamp(26px,3vw,34px);
  line-height:1.04;
  letter-spacing:-.03em;
}

.table-shell-head p{
  margin:8px 0 0;
  color:var(--muted);
  max-width:58ch;
}

.table-shell-meta{
  display:flex;
  flex-wrap:wrap;
  justify-content:flex-end;
  gap:8px;
}

.meta-pill{
  display:inline-flex;
  align-items:center;
  min-height:34px;
  padding:8px 12px;
  border-radius:999px;
  border:1px solid var(--line);
  background:rgba(255,255,255,.84);
  color:var(--text);
  box-shadow:0 10px 18px rgba(62,46,20,.05);
  font-size:.88rem;
  font-weight:700;
}

.quick-table{
  width:100%;
  border-collapse:separate;
  border-spacing:0 10px;
}

.quick-table tr{
  transition:transform .18s ease;
}

.quick-table tr:hover{
  transform:translateY(-1px);
}

.quick-table th,
.quick-table td{
  padding:16px 18px;
  background:rgba(255,255,255,.94);
  border-top:1px solid var(--line);
  border-bottom:1px solid var(--line);
  vertical-align:middle;
}

.quick-table th{
  width:32%;
  text-align:left;
  border-left:1px solid var(--line);
  border-radius:18px 0 0 18px;
  font-size:.78rem;
  letter-spacing:.16em;
  text-transform:uppercase;
  color:var(--accent2);
}

.quick-table td{
  border-right:1px solid var(--line);
  border-radius:0 18px 18px 0;
  font-size:1rem;
  line-height:1.55;
}

.quick-table tr:nth-child(odd) th,
.quick-table tr:nth-child(odd) td{
  background:rgba(251,247,240,.98);
}

.quick-table tr:nth-child(1) th,
.quick-table tr:nth-child(1) td{
  background:linear-gradient(145deg,rgba(201,154,67,.16),rgba(255,251,246,.98));
}

.quick-table tr:nth-child(2) th,
.quick-table tr:nth-child(2) td{
  background:rgba(245,250,242,.96);
}

.quick-table tr:nth-child(7) th,
.quick-table tr:nth-child(7) td{
  background:rgba(243,247,252,.96);
}

.quick-table tr:nth-child(9) th,
.quick-table tr:nth-child(9) td{
  background:rgba(250,244,234,.97);
}

.quick-table tr:nth-child(10) th,
.quick-table tr:nth-child(10) td{
  background:rgba(241,247,241,.97);
}

.dashboard-grid{
  display:grid;
  grid-template-columns:1.08fr .92fr;
  gap:16px;
  align-items:start;
}

.dashboard-col{
  display:grid;
  gap:16px;
}

.panchang-panel{
  border:1px solid var(--line);
  border-radius:24px;
  background:linear-gradient(180deg,rgba(255,255,255,.98),rgba(247,239,226,.96));
  box-shadow:0 14px 34px rgba(65,50,25,.08);
  padding:18px;
}

.panel-head{
  display:flex;
  align-items:flex-end;
  justify-content:space-between;
  gap:12px;
  margin-bottom:14px;
}

.panel-head h3{
  font-size:clamp(20px,2.2vw,28px);
  line-height:1.08;
  letter-spacing:-.03em;
  margin:0;
}

.panel-grid{
  display:grid;
  grid-template-columns:repeat(2,minmax(0,1fr));
  gap:12px;
}

.panel-grid .wide{
  grid-column:1/-1;
}

.timings-panel{
  margin-top:16px;
  padding:20px;
}

.summary-head{
  display:flex;
  align-items:flex-end;
  justify-content:space-between;
  gap:16px;
  margin-bottom:16px;
}

.summary-head h2,
.section-heading h2{
  margin:0;
  font-size:clamp(24px,2.8vw,34px);
  line-height:1.06;
  letter-spacing:-.03em;
}

.summary-head p,
.section-heading p,
.summary-stamp{
  color:var(--muted);
}

.summary-stamp{
  display:inline-flex;
  align-items:center;
  min-height:38px;
  padding:8px 12px;
  border-radius:999px;
  border:1px solid var(--line);
  background:rgba(255,255,255,.78);
  white-space:nowrap;
}

.results{
  display:grid;
  gap:14px;
}

.summary-grid{
  display:grid;
  grid-template-columns:repeat(12,minmax(0,1fr));
  gap:14px;
}

.daily-card{
  grid-column:span 4;
  padding:18px;
  border-radius:22px;
  border:1px solid var(--line);
  background:linear-gradient(180deg,rgba(255,255,255,.96),rgba(250,244,233,.96));
  box-shadow:0 14px 34px rgba(65,50,25,.08);
  min-height:170px;
  position:relative;
  overflow:hidden;
}

.daily-card::after{
  content:'';
  position:absolute;
  inset:auto -18px -18px auto;
  width:90px;
  height:90px;
  border-radius:50%;
  background:radial-gradient(circle,rgba(201,154,67,.14) 0,transparent 70%);
}

.daily-card.wide{grid-column:span 12;min-height:auto}
.daily-card.accent{background:linear-gradient(145deg,rgba(255,248,232,.98),rgba(244,230,200,.96))}
.daily-card.accent.gold{background:linear-gradient(145deg,rgba(255,244,217,.98),rgba(241,212,145,.92))}
.daily-card.accent.mint{background:linear-gradient(145deg,rgba(233,246,232,.98),rgba(201,226,192,.94))}
.daily-card.soft{background:linear-gradient(145deg,rgba(244,247,251,.98),rgba(228,237,247,.95))}

.daily-card .p-label{
  display:inline-flex;
  align-items:center;
  min-height:30px;
  padding:5px 10px;
  border-radius:999px;
  background:rgba(23,23,23,.05);
  letter-spacing:.16em;
  font-size:.7rem;
  font-weight:800;
  color:var(--accent2);
}

.daily-card h4{
  margin:14px 0 8px;
  font-size:clamp(20px,2.2vw,28px);
  line-height:1.08;
  letter-spacing:-.03em;
}

.daily-card p{
  margin:0;
  color:var(--muted);
  line-height:1.7;
  max-width:38ch;
}

.timings-panel{
  margin-top:16px;
  padding:20px;
}

.section-heading{
  margin-bottom:14px;
}

.chart-table{
  width:100%;
  border-collapse:separate;
  border-spacing:0 10px;
}

.chart-td{
  padding:14px 16px;
  background:rgba(255,255,255,.9);
  border-top:1px solid var(--line);
  border-bottom:1px solid var(--line);
}

.chart-td:first-child{
  width:34%;
  border-left:1px solid var(--line);
  border-radius:16px 0 0 16px;
}

.chart-td:last-child{
  border-right:1px solid var(--line);
  border-radius:0 16px 16px 0;
}

.chart-td strong{
  letter-spacing:.08em;
  text-transform:uppercase;
  font-size:.8rem;
  color:var(--accent2);
}

.footer{
  padding:28px 0 40px;
  color:var(--muted);
}

@media (max-width: 960px){
  .hero-card-top{grid-template-columns:1fr}
  .hero-metrics{grid-template-columns:1fr}
  .summary-head{align-items:flex-start;flex-direction:column}
  .table-shell-head{align-items:flex-start;flex-direction:column}
  .table-shell-meta{justify-content:flex-start}
  .quick-table th{width:38%}
}

@media (max-width: 720px){
  .wrap{padding:18px}
  .top{flex-direction:column;align-items:flex-start}
  .nav{gap:8px}
  .nav a{padding:9px 12px;font-size:.9rem}
  .hero-copy,.hero-card,.summary-section,.timings-panel{border-radius:24px}
  .hero-copy{padding:22px}
  .hero-card{padding:20px}
  .summary-section,.timings-panel{padding:18px}
  .chart-td{padding:12px 12px;font-size:.95rem}
}


.lower-table-panel{
  margin-top:16px;
  padding:22px;
}

.lower-table-panel .chart-table{
  width:100%;
  border-collapse:separate;
  border-spacing:0 10px;
}

.lower-table-panel .chart-td{
  padding:14px 16px;
  background:rgba(255,255,255,.92);
  border-top:1px solid var(--line);
  border-bottom:1px solid var(--line);
}

.lower-table-panel .chart-td:first-child{
  width:32%;
  border-left:1px solid var(--line);
  border-radius:16px 0 0 16px;
}

.lower-table-panel .chart-td:last-child{
  border-right:1px solid var(--line);
  border-radius:0 16px 16px 0;
}

.lower-table-panel .chart-td strong{
  letter-spacing:.08em;
  text-transform:uppercase;
  font-size:.8rem;
  color:var(--accent2);
}
