/* Excel Calendar Generator — styles copied from static-excel-calendar mockup */

.page-excel-calendar {
  --page: #f3f5f8;
  --card: #fff;
  --ink: #192333;
  --ink-soft: #303b4a;
  --muted: #657082;
  --muted-2: #9aa4b4;
  --border: #e4e8ef;
  --border-2: #eef0f5;
  --indigo: #4338e0;
  --indigo-h: #372cc9;
  --soft: #ecebff;
  --purple: #7b2ba0;
  --green: #4e8c00;
  --gold: #dca00f;
  --red: #d23b3b;
  --serif: system-ui, "Georgia", "Times New Roman", serif;
  --sans: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  --shadow-sm: 0 3px 9px rgba(22, 31, 43, 0.06), 0 1px 2px rgba(22, 31, 43, 0.04);
  --shadow-md: 0 10px 26px rgba(22, 31, 43, 0.09), 0 2px 6px rgba(22, 31, 43, 0.05);
  background: var(--page);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 14px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  flex: 1;
  width: 100%;
  padding-bottom: 40px;
}

.page-excel-calendar *,
.page-excel-calendar *::before,
.page-excel-calendar *::after {
  box-sizing: border-box;
}

.page-excel-calendar a {
  color: inherit;
  text-decoration: none;
}

.page-excel-calendar .wrap {
  width: 100%;
  max-width: 1000px;
  margin: 0 auto;
  padding: 0 24px;
}

.page-excel-calendar .ico {
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.page-excel-calendar .year-nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
  padding: 22px 0 6px;
  flex-wrap: wrap;
}

.page-excel-calendar .year-nav a {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-size: 13.5px;
  font-weight: 700;
  color: var(--ink-soft);
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 30px;
  padding: 9px 16px;
  box-shadow: var(--shadow-sm);
}

.page-excel-calendar .year-nav a:hover {
  border-color: #c9cdfa;
  color: var(--indigo);
}

.page-excel-calendar .year-nav .ico {
  width: 15px;
  height: 15px;
}

.page-excel-calendar .year-cur {
  font-family: var(--serif);
  font-size: 19px;
  font-weight: 800;
  color: #1b2440;
}

.page-excel-calendar .hero {
  text-align: center;
  padding: 14px 0 26px;
}

.page-excel-calendar .eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-size: 11.5px;
  font-weight: 800;
  letter-spacing: 0.13em;
  text-transform: uppercase;
  color: var(--indigo);
  background: var(--soft);
  border: 1px solid #dcd9fb;
  border-radius: 30px;
  padding: 6px 14px;
}

.page-excel-calendar .hero h1 {
  font-family: var(--serif);
  font-size: 32px;
  line-height: 1.15;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: #1b2440;
  margin: 15px 0 0;
}

.page-excel-calendar .hero .sub {
  font-size: 14px;
  color: var(--muted);
  margin: 9px auto 0;
  max-width: 560px;
  line-height: 1.6;
}

.page-excel-calendar .fmt-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 22px;
  margin-bottom: 50px;
}

.page-excel-calendar .fmt-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 18px;
  box-shadow: var(--shadow-sm);
  padding: 26px 26px 28px;
}

.page-excel-calendar .mini-cal {
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 12px 14px;
  margin-bottom: 20px;
  background: var(--page);
}

.page-excel-calendar .mini-title {
  text-align: center;
  font-family: var(--serif);
  font-size: 13px;
  font-weight: 800;
  color: var(--ink-soft);
  margin: 0 0 9px;
}

.page-excel-calendar .mini-grid {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 3px;
}

.page-excel-calendar .mini-dow {
  text-align: center;
  font-size: 9px;
  font-weight: 800;
  color: var(--muted-2);
  padding-bottom: 4px;
}

.page-excel-calendar .mini-day {
  aspect-ratio: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 10.5px;
  font-weight: 600;
  color: var(--ink-soft);
  background: #fff;
  border-radius: 4px;
}

.page-excel-calendar .mini-day.empty {
  visibility: hidden;
}

.page-excel-calendar .fmt-card h2 {
  font-family: var(--serif);
  font-size: 20px;
  font-weight: 800;
  color: #1b2440;
  margin: 0 0 10px;
}

.page-excel-calendar .fmt-card p {
  font-size: 13.5px;
  color: var(--muted);
  line-height: 1.65;
  margin: 0 0 18px;
}

.page-excel-calendar .dl-list {
  display: flex;
  flex-direction: column;
  gap: 9px;
}

.page-excel-calendar .dl-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  font-size: 14px;
  font-weight: 700;
  color: var(--indigo);
  background: var(--soft);
  border-radius: 11px;
  padding: 12px 16px;
  transition: 0.15s;
}

.page-excel-calendar .dl-item:hover {
  background: var(--indigo);
  color: #fff;
}

.page-excel-calendar .dl-item .ico {
  width: 16px;
  height: 16px;
  flex: none;
}

@media (max-width: 760px) {
  .page-excel-calendar .fmt-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 560px) {
  .page-excel-calendar .hero h1 {
    font-size: 25px;
  }

  .page-excel-calendar .fmt-card {
    padding: 20px;
  }

  .page-excel-calendar .year-nav {
    gap: 12px;
  }
}

/* ---- Holidays (year + month) — copied from static-2026 / static-july-2026 mockups ---- */

.page-holidays {
  --page: #f3f5f8;
  --card: #fff;
  --ink: #192333;
  --ink-soft: #303b4a;
  --muted: #657082;
  --muted-2: #9aa4b4;
  --border: #e4e8ef;
  --border-2: #eef0f5;
  --indigo: #4338e0;
  --indigo-h: #372cc9;
  --soft: #ecebff;
  --purple: #7b2ba0;
  --green: #4e8c00;
  --gold: #dca00f;
  --red: #d23b3b;
  --serif: system-ui, "Georgia", "Times New Roman", serif;
  --sans: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  --shadow-sm: 0 3px 9px rgba(22, 31, 43, 0.06), 0 1px 2px rgba(22, 31, 43, 0.04);
  --shadow-md: 0 10px 26px rgba(22, 31, 43, 0.09), 0 2px 6px rgba(22, 31, 43, 0.05);
  background: var(--page);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 14px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  flex: 1;
  width: 100%;
  padding-bottom: 40px;
}

.page-holidays *,
.page-holidays *::before,
.page-holidays *::after {
  box-sizing: border-box;
}

.page-holidays a {
  color: inherit;
  text-decoration: none;
}

.page-holidays .wrap {
  width: 100%;
  max-width: 800px;
  margin: 0 auto;
  padding: 0 24px;
}

.page-holidays .crumb {
  display: flex;
  align-items: center;
  gap: 9px;
  font-size: 12.5px;
  color: var(--muted);
  padding: 22px 0 0;
  flex-wrap: wrap;
}

.page-holidays .crumb a:hover {
  color: var(--indigo);
}

.page-holidays .crumb .cur {
  color: var(--ink);
  font-weight: 600;
}

.page-holidays .crumb span {
  color: var(--muted-2);
}

.page-holidays .hero {
  padding: 14px 0 8px;
}

.page-holidays .hero h1 {
  font-family: var(--serif);
  font-size: 32px;
  line-height: 1.15;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: #1b2440;
  margin: 0;
}

.page-holidays .hero .sub {
  font-size: 14.5px;
  color: var(--muted);
  margin: 11px 0 0;
  line-height: 1.65;
  max-width: 640px;
}

.page-holidays .table-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 16px;
  box-shadow: var(--shadow-sm);
  overflow: hidden;
  margin: 22px 0;
}

.page-holidays table {
  width: 100%;
  border-collapse: collapse;
}

.page-holidays thead th {
  text-align: left;
  font-size: 11px;
  font-weight: 800;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  padding: 14px 18px;
  background: var(--page);
  border-bottom: 1px solid var(--border);
}

.page-holidays tbody td {
  padding: 16px 18px;
  font-size: 14px;
  color: var(--ink-soft);
  border-bottom: 1px solid var(--border-2);
}

.page-holidays tbody tr:last-child td {
  border-bottom: none;
}

.page-holidays tbody tr:hover {
  background: var(--soft);
}

.page-holidays .h-name {
  font-weight: 700;
  color: var(--indigo);
}

.page-holidays .h-name:hover {
  color: var(--indigo-h);
  text-decoration: underline;
}

.page-holidays .h-date {
  font-weight: 700;
  color: var(--ink);
}

.page-holidays .day-pill {
  display: inline-block;
  font-size: 11.5px;
  font-weight: 700;
  color: var(--ink-soft);
  background: var(--page);
  border-radius: 30px;
  padding: 3px 10px;
}

.page-holidays .status-pill {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: 11.5px;
  font-weight: 800;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  border-radius: 30px;
  padding: 4px 11px;
}

.page-holidays .status-pill.passed {
  color: var(--muted-2);
  background: var(--page);
}

.page-holidays .status-pill.today {
  color: #fff;
  background: var(--green);
}

.page-holidays .status-pill.upcoming {
  color: var(--indigo);
  background: var(--soft);
}

.page-holidays .all-year-note {
  font-size: 13.5px;
  color: var(--muted);
  margin: 0 0 30px;
}

.page-holidays .all-year-note a {
  color: var(--indigo);
  font-weight: 700;
}

.page-holidays .all-year-note a:hover {
  text-decoration: underline;
}

.page-holidays .nav-section {
  margin-bottom: 30px;
}

.page-holidays .nav-section h2 {
  font-family: var(--serif);
  font-size: 18px;
  font-weight: 800;
  color: #1b2440;
  margin: 0 0 14px;
}

.page-holidays .nav-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
}

.page-holidays .nav-chip {
  font-size: 13.5px;
  font-weight: 600;
  color: var(--ink-soft);
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 30px;
  padding: 9px 16px;
}

.page-holidays .nav-chip:hover {
  border-color: #c9cdfa;
  color: var(--indigo);
  background: var(--soft);
}

.page-holidays .empty-row td {
  text-align: center;
  color: var(--muted);
  padding: 28px 18px;
}

@media (max-width: 560px) {
  .page-holidays .hero h1 {
    font-size: 25px;
  }

  /* Year view: Date | Day | Holiday | Days — hide Day */
  .page-holidays.mode-year thead th:nth-child(2),
  .page-holidays.mode-year tbody td:nth-child(2) {
    display: none;
  }

  /* Month view: Holiday | Date | Day | Days — hide Day */
  .page-holidays.mode-month thead th:nth-child(3),
  .page-holidays.mode-month tbody td:nth-child(3) {
    display: none;
  }
}
