@import url("https://fonts.googleapis.com/css2?family=DM+Sans:wght@400;500;600;700&family=Manrope:wght@400;500;600;700;800&display=swap");

:root {
  font-family: "DM Sans", sans-serif;
  color: #243b36;
  background: #f6f7f3;
  font-synthesis: none;
  --green: #173e38;
  --muted: #63716b;
  --line: #dfe5df;
  --national: #a44335;
  --regional: #286655;
  --local: #6957a1;
}
* {
  box-sizing: border-box;
}
body {
  margin: 0;
}
button,
a {
  -webkit-tap-highlight-color: transparent;
}
button {
  font: inherit;
  cursor: pointer;
}
a {
  color: inherit;
}
button:focus-visible,
a:focus-visible {
  outline: 3px solid #c27a27;
  outline-offset: 3px;
}
button:disabled {
  cursor: default;
}
svg {
  width: 18px;
  height: 18px;
}
button {
  color: inherit;
}
.topbar {
  height: 76px;
  background: #fff;
  border-bottom: 1px solid var(--line);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 4.3%;
  gap: 18px;
}
.brand {
  font-family: Manrope, sans-serif;
  font-size: 18px;
  font-weight: 800;
  display: flex;
  align-items: center;
  gap: 11px;
  text-decoration: none;
  letter-spacing: -0.7px;
}
.brand-icon {
  background: var(--green);
  color: #fff;
  width: 35px;
  height: 35px;
  display: grid;
  place-content: center;
  position: relative;
  border-radius: 10px;
  font-family: Georgia, serif;
  font-size: 30px;
  font-weight: 400;
  padding-bottom: 6px;
}
.brand-icon span {
  position: absolute;
  font-size: 23px;
  right: 3px;
  bottom: 4px;
  color: #c2d69c;
}
.top-caption {
  font-size: 10px;
  letter-spacing: 2px;
  color: var(--muted);
}
.button {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  gap: 9px;
  min-height: 40px;
  padding: 9px 16px;
  border: 1px solid #d6ded7;
  border-radius: 7px;
  background: white;
  font-weight: 600;
  font-size: 12px;
}
.button:hover {
  background: #edf2ec;
}
.print-button {
  background: var(--green);
  color: #fff;
  border-color: var(--green);
}
.print-button:hover,
.primary:hover {
  background: #28574a;
}
main {
  max-width: 1600px;
  margin: auto;
  padding: 0 4.3%;
}
.hero {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 29px 0 26px;
  gap: 24px;
}
.eyebrow {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 1.8px;
  color: #53685e;
  margin: 0 0 12px;
}
.location-pin {
  font-size: 16px;
  margin-right: 5px;
}
.divider {
  margin: 0 10px;
  color: #a2afa5;
}
h1 {
  font-family: Manrope, sans-serif;
  font-size: clamp(28px, 3vw, 43px);
  line-height: 1.18;
  letter-spacing: -1.8px;
  margin: 0;
  font-weight: 600;
}
.period {
  color: #619574;
}
.subtitle {
  color: var(--muted);
  font-size: 13px;
  margin: 12px 0 0;
}
.year-art {
  padding-right: 14px;
  position: relative;
}
.year-line {
  font-size: 10px;
  color: #5b6e62;
  display: block;
  letter-spacing: 1px;
}
.year {
  font-family: Manrope, sans-serif;
  font-size: 76px;
  line-height: 1.1;
  letter-spacing: -5px;
  font-weight: 500;
}
.sun {
  font-size: 64px;
  color: #769b72;
  display: inline-block;
  margin-left: 24px;
  font-weight: 400;
  vertical-align: 5px;
  line-height: 1;
}
.notice {
  border: 1px solid #e6e1cf;
  background: #f3f0e5;
  color: #6c603a;
  display: flex;
  align-items: center;
  padding: 10px 14px;
  border-radius: 6px;
  font-size: 11px;
  gap: 14px;
  line-height: 1.5;
}
.notice-label {
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.7px;
  white-space: nowrap;
  border-right: 1px solid #d5ccb1;
  padding-right: 14px;
}
.text-button {
  background: none;
  border: 0;
  text-decoration: underline;
  text-underline-offset: 3px;
  font-size: 11px;
  padding: 4px;
  color: inherit;
}
.notice .text-button {
  margin-left: auto;
  white-space: nowrap;
}
.calendar-tools {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 20px 0 17px;
}
.view-switch {
  background: #e9ede7;
  border: 1px solid #e1e5de;
  padding: 3px;
  border-radius: 7px;
  display: flex;
  flex-shrink: 0;
}
.view-switch button {
  background: none;
  border: 0;
  font-size: 11px;
  padding: 8px 13px;
  border-radius: 4px;
  color: #546258;
}
.view-switch button[aria-pressed="true"] {
  background: white;
  color: #193d34;
  box-shadow: 0 1px 4px #183c3414;
  font-weight: 600;
}
.legend {
  display: flex;
  gap: 17px;
  align-items: center;
  flex-wrap: wrap;
}
.legend span {
  font-size: 10px;
  display: flex;
  align-items: center;
  gap: 6px;
  color: #58695f;
}
.dot {
  display: inline-block;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  flex-shrink: 0;
}
.dot.national {
  background: var(--national);
}
.dot.regional {
  background: var(--regional);
}
.dot.local {
  background: var(--local);
}
.dot.vacation {
  background: #b38a29;
  border-radius: 2px;
}
.vacation-toggle {
  font-size: 11px;
  background: transparent;
}
.vacation-toggle span {
  font-size: 18px;
  line-height: 1;
}
.vacation-toggle[aria-pressed="true"] {
  background: #173e38;
  color: white;
  border-color: #173e38;
}
.mode-help {
  margin: 0 0 14px;
  background: #f5e9c9;
  border: 1px solid #d6bc7c;
  border-radius: 6px;
  padding: 10px 14px;
  font-size: 12px;
  color: #654c19;
}
.mode-help button {
  margin-left: 12px;
}
.calendar {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 13px;
}
.month {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 9px;
  min-width: 0;
  padding: 14px 17px 10px;
  box-shadow: 0 2px 3px #1b3f3102;
}
.month-heading {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 9px;
}
.month h2 {
  font-family: Manrope, sans-serif;
  font-weight: 700;
  font-size: 14px;
  letter-spacing: -0.3px;
  margin: 0;
}
.month-index {
  font-family: Manrope, sans-serif;
  font-size: 10px;
  color: #87958b;
}
.weekdays,
.days {
  display: grid;
  grid-template-columns: repeat(7, minmax(0, 1fr));
  text-align: center;
}
.weekdays {
  font-size: 9px;
  color: #718176;
  margin-bottom: 4px;
  line-height: 18px;
}
.weekdays span:nth-last-child(-n + 2) {
  color: #8a7768;
}
.days {
  grid-template-rows: repeat(6, 26px);
  row-gap: 1px;
}
.day {
  justify-self: center;
  position: relative;
  border: 1px solid transparent;
  background: none;
  border-radius: 6px;
  width: 29px;
  height: 26px;
  font-size: 11px;
  font-weight: 500;
  padding: 0;
  color: #314b40;
  font-variant-numeric: tabular-nums;
}
.day.weekend {
  color: #8b8d83;
  background: #f5f5f0;
}
.day.national {
  background: #fbe9e4;
  color: #99362c;
  font-weight: 700;
}
.day.regional {
  background: #e3f0e7;
  color: #215e43;
  font-weight: 700;
}
.day.local {
  background: #ede9f8;
  color: #654b97;
  font-weight: 700;
}
.day.holiday:after {
  content: "";
  position: absolute;
  width: 3px;
  height: 3px;
  background: currentColor;
  border-radius: 50%;
  bottom: 1px;
  left: calc(50% - 1.5px);
}
.day.vacation {
  background: #faf0cd;
  border: 1px solid #af8528;
  color: #73591b;
  font-weight: 700;
}
.day:hover {
  border-color: #6b8c73;
  background: #e5eee5;
  transform: translateY(-1px);
}
.day:disabled {
  opacity: 0.55;
  transform: none;
}
.month-note {
  font-size: 9px;
  color: #6e7c71;
  margin-top: 8px;
  border-top: 1px solid #eef0ea;
  min-height: 22px;
  padding-top: 7px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.month-note.has-holidays {
  color: #526c5e;
}
.month-note .note-mark {
  display: inline-block;
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: #77927d;
  margin-right: 5px;
  vertical-align: 2px;
}
.year-summary {
  margin-top: 20px;
  background: #eaf0e7;
  border: 1px solid #dfe7da;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 22px;
  gap: 20px;
}
.summary-intro {
  display: flex;
  align-items: center;
  gap: 16px;
}
.small-star {
  color: #507754;
  font-size: 36px;
}
.summary-intro strong {
  display: block;
  font-size: 12px;
  font-weight: 600;
}
.summary-intro span:not(.small-star) {
  display: block;
  font-size: 10px;
  color: #617660;
  margin-top: 5px;
}
.stat {
  border-left: 1px solid #d1ddce;
  padding-left: 30px;
}
.stat strong {
  display: block;
  font-family: Manrope, sans-serif;
  font-size: 25px;
  font-weight: 500;
  letter-spacing: -1px;
}
.stat span {
  font-size: 10px;
  color: #5f715e;
}
footer {
  padding: 20px 0 24px;
  display: flex;
  gap: 18px;
  align-items: center;
  justify-content: space-between;
  color: #7a857b;
  font-size: 9px;
}
.footer-location {
  font-weight: 600;
  white-space: nowrap;
}
.holiday-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}
.holiday-row {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 8px;
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 16px;
  text-align: left;
}
.holiday-row:hover {
  background: #eef3eb;
}
.holiday-date {
  font-size: 14px;
  font-weight: 700;
  width: 60px;
  flex-shrink: 0;
}
.holiday-name {
  flex: 1;
  font-size: 13px;
}
.holiday-name small {
  display: block;
  font-size: 10px;
  color: #718174;
  margin-top: 5px;
}
.holiday-type {
  font-size: 10px;
  color: #65776a;
  display: flex;
  gap: 6px;
  align-items: center;
}
dialog {
  border: 1px solid #dce3d9;
  box-shadow: 0 20px 100px #12342833;
  border-radius: 14px;
  padding: 32px;
  max-width: 530px;
  width: calc(100% - 32px);
  color: #243b36;
}
dialog::backdrop {
  background: #163b345c;
  backdrop-filter: blur(3px);
}
dialog h2 {
  font-family: Manrope, sans-serif;
  font-size: 27px;
  letter-spacing: -1px;
  margin: 8px 0 18px;
}
dialog p {
  line-height: 1.7;
  font-size: 14px;
}
dialog a {
  display: block;
  font-size: 13px;
  margin: 16px 0;
  text-underline-offset: 4px;
}
.dialog-note {
  color: #6b7468;
  font-size: 12px !important;
}
.close-dialog {
  position: absolute;
  top: 10px;
  right: 12px;
  border: 0;
  background: none;
  font-size: 25px;
  width: 32px;
  height: 32px;
  color: #67766a;
}
.primary {
  background: var(--green);
  color: white;
  margin-top: 10px;
}
.sr-only,
.skip:not(:focus) {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}
.skip:focus {
  position: fixed;
  top: 10px;
  left: 10px;
  background: white;
  padding: 15px;
  z-index: 10;
}
.print-note {
  display: none;
}
[hidden] {
  display: none !important;
}
@media (min-width: 1450px) {
  .days {
    grid-template-rows: repeat(6, 29px);
  }
  .day {
    height: 29px;
    width: 33px;
    font-size: 12px;
  }
  .month {
    padding: 16px 22px 12px;
  }
}
@media (max-width: 1050px) {
  .legend {
    gap: 9px;
  }
  .calendar-tools {
    flex-wrap: wrap;
  }
  .legend {
    order: 3;
    width: 100%;
    justify-content: center;
  }
  .calendar {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
  .year {
    font-size: 65px;
  }
  .sun {
    font-size: 52px;
  }
  .summary-intro {
    max-width: 220px;
  }
  .stat {
    padding-left: 17px;
  }
  .top-caption {
    display: none;
  }
}
@media (max-width: 650px) {
  .topbar {
    height: 65px;
    padding: 0 5%;
  }
  .brand {
    font-size: 15px;
  }
  .brand-icon {
    width: 30px;
    height: 30px;
    font-size: 26px;
  }
  .print-button {
    font-size: 11px;
    padding: 8px 11px;
  }
  main {
    padding: 0 5%;
  }
  .hero {
    padding: 25px 0 20px;
    align-items: flex-start;
  }
  .hero-copy {
    max-width: 75%;
  }
  h1 {
    font-size: 31px;
    max-width: 250px;
    line-height: 1.13;
  }
  .eyebrow {
    font-size: 8px;
    letter-spacing: 1.2px;
  }
  .divider {
    margin: 0 5px;
  }
  .subtitle {
    font-size: 12px;
    line-height: 1.6;
    max-width: 260px;
  }
  .year-art {
    padding: 0;
  }
  .year-line,
  .sun {
    display: none;
  }
  .year {
    font-size: 34px;
    letter-spacing: -2px;
    writing-mode: vertical-rl;
    margin-top: 22px;
  }
  .notice {
    flex-wrap: wrap;
    gap: 6px 10px;
    font-size: 10px;
    padding: 10px;
  }
  .notice-label {
    border: 0;
    padding: 0;
  }
  .notice > span:nth-child(2) {
    order: 3;
    width: 100%;
  }
  .notice .text-button {
    font-size: 10px;
  }
  .calendar-tools {
    gap: 12px;
    padding-top: 16px;
  }
  .view-switch button {
    font-size: 10px;
    padding: 8px;
  }
  .vacation-toggle {
    padding: 6px 9px;
    font-size: 10px;
  }
  .legend {
    gap: 14px;
    justify-content: flex-start;
  }
  .legend span {
    font-size: 9px;
  }
  .calendar {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 9px;
  }
  .month {
    padding: 11px 8px 8px;
    border-radius: 7px;
  }
  .month h2 {
    font-size: 12px;
  }
  .day {
    width: 24px;
    height: 26px;
    font-size: 10px;
  }
  .month-note {
    font-size: 8px;
  }
  .year-summary {
    flex-wrap: wrap;
    padding: 14px;
    gap: 18px;
  }
  .summary-intro {
    max-width: none;
    width: 100%;
  }
  .stat {
    padding-left: 0;
    border: 0;
  }
  .stat strong {
    font-size: 23px;
  }
  .stat span {
    font-size: 8px;
  }
  .holiday-list {
    grid-template-columns: 1fr;
  }
  .holiday-row {
    gap: 10px;
    padding: 13px;
  }
  .holiday-type {
    font-size: 9px;
  }
  .holiday-name {
    font-size: 12px;
  }
  footer {
    align-items: flex-start;
    flex-wrap: wrap;
    line-height: 1.6;
  }
  footer > span:nth-child(2) {
    order: 3;
    width: 100%;
  }
}
@media (max-width: 360px) {
  .calendar {
    grid-template-columns: 1fr;
  }
  .day {
    width: 30px;
  }
  .hero-copy {
    max-width: 85%;
  }
}
@media screen and (min-width: 1200px) and (max-height: 1000px) {
  .topbar {
    height: 60px;
  }
  .hero {
    padding: 20px 0;
  }
  .hero h1 {
    font-size: 35px;
  }
  .year {
    font-size: 60px;
  }
  .sun {
    font-size: 49px;
  }
  .calendar-tools {
    padding: 13px 0;
  }
  .calendar {
    grid-template-columns: repeat(6, minmax(0, 1fr));
    gap: 11px;
  }
  .month {
    padding: 11px 10px 8px;
  }
  .month-heading {
    margin-bottom: 5px;
  }
  .month h2 {
    font-size: 13px;
  }
  .weekdays {
    line-height: 15px;
    margin-bottom: 3px;
  }
  .days {
    grid-template-rows: repeat(6, 24px);
    row-gap: 0;
  }
  .day {
    height: 24px;
    width: 24px;
    font-size: 11px;
  }
  .month-note {
    font-size: 8px;
    margin-top: 5px;
    min-height: 20px;
    padding-top: 6px;
  }
  .year-summary {
    margin-top: 15px;
    padding: 12px 18px;
  }
  footer {
    padding-top: 14px;
  }
}
@media screen and (min-width: 361px) and (max-width: 430px) {
  main {
    padding: 0 3%;
  }
  .calendar {
    gap: 7px;
  }
  .month {
    padding-left: 5px;
    padding-right: 5px;
  }
  .day {
    width: 24px;
  }
  .legend {
    gap: 10px;
  }
}
@media (prefers-reduced-motion: reduce) {
  * {
    scroll-behavior: auto !important;
    transition: none !important;
    transform: none !important;
  }
}
.month-index,
.month-note,
footer {
  color: #596b5e;
}
.day.weekend:not(.holiday) {
  color: #65685f;
}
.summary-intro span:not(.small-star) {
  color: #52654e;
}
@media screen and (min-width: 1200px) and (max-height: 800px) {
  .topbar {
    height: 48px;
  }
  .hero {
    padding: 12px 0;
  }
  .hero h1 {
    font-size: 29px;
  }
  .hero .eyebrow {
    margin-bottom: 7px;
  }
  .subtitle {
    margin-top: 7px;
  }
  .year {
    font-size: 50px;
  }
  .calendar-tools {
    padding: 9px 0;
  }
  .notice {
    padding: 6px 12px;
  }
  .year-summary {
    margin-top: 12px;
  }
}
@media screen and (max-width: 380px) {
  .calendar {
    grid-template-columns: 1fr;
  }
}
@page {
  size: A4 landscape;
  margin: 8mm;
}
@media print {
  .day:hover:not(.holiday):not(.vacation) {
    background: transparent;
    border-color: transparent;
  }
  .day.weekend:hover:not(.holiday) {
    background: #f5f5f0;
  }
  .day:focus-visible {
    outline: none;
  }
}
@media print {
  :root {
    background: white;
    color: #172b23;
    font-family: Arial, sans-serif;
    -webkit-print-color-adjust: exact;
    print-color-adjust: exact;
  }
  body {
    margin: 0;
  }
  .topbar {
    height: 10mm;
    padding: 0;
    border-bottom: 1px solid #bdc8be;
  }
  .brand {
    font-size: 12px;
  }
  .brand-icon {
    width: 22px;
    height: 22px;
    font-size: 22px;
    border-radius: 5px;
  }
  .brand-icon span {
    font-size: 17px;
    right: 1px;
    bottom: 0;
  }
  .top-caption {
    display: block;
    font-size: 8px;
  }
  .print-button,
  .calendar-tools .view-switch,
  .vacation-toggle,
  .notice .text-button,
  .mode-help,
  footer,
  dialog,
  .skip,
  .year-summary,
  .subtitle,
  .year-line,
  .sun,
  .holiday-list {
    display: none !important;
  }
  main {
    padding: 0;
    max-width: none;
  }
  .hero {
    padding: 4mm 0 3mm;
  }
  .hero-copy {
    max-width: none;
  }
  h1 {
    font-size: 24px;
    letter-spacing: -1px;
  }
  .eyebrow {
    font-size: 8px;
    margin-bottom: 4px;
  }
  .year {
    font-size: 39px;
    line-height: 1;
    writing-mode: horizontal-tb;
    margin: 0;
  }
  .year-art {
    padding: 0;
  }
  .notice {
    padding: 1.5mm 3mm;
    font-size: 8px;
    border-radius: 3px;
    flex-wrap: nowrap;
    gap: 10px;
  }
  .notice-label {
    font-size: 7px;
  }
  .notice > span:nth-child(2) {
    width: auto;
    order: initial;
  }
  .calendar-tools {
    padding: 2mm 0;
    display: block;
  }
  .legend {
    justify-content: flex-end;
    gap: 15px;
  }
  .legend span {
    font-size: 8px;
  }
  .calendar,
  .calendar[hidden] {
    display: grid !important;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 2.5mm;
  }
  .month {
    padding: 2mm 3mm 1.5mm;
    border-radius: 4px;
    box-shadow: none;
    break-inside: avoid;
  }
  .month-heading {
    margin-bottom: 1mm;
  }
  .month h2 {
    font-size: 11px;
  }
  .month-index {
    font-size: 8px;
  }
  .weekdays {
    font-size: 7px;
    line-height: 3.5mm;
    margin-bottom: 0.5mm;
  }
  .days {
    grid-template-rows: repeat(6, 4.4mm);
    row-gap: 0;
  }
  .day {
    width: 6mm;
    height: 4.4mm;
    min-height: 0;
    font-size: 8px;
    border-radius: 3px;
  }
  .day:disabled {
    opacity: 1;
  }
  .day.holiday:after {
    width: 2px;
    height: 2px;
    bottom: 0;
    left: calc(50% - 1px);
  }
  .month-note {
    font-size: 6.6px;
    margin-top: 1mm;
    padding-top: 1mm;
    min-height: 3.3mm;
  }
  .print-note {
    display: block;
    font-size: 7px;
    line-height: 1.5;
    margin: 2.5mm 0 0;
  }
  .day.vacation {
    border: 1px solid #73591b;
  }
  .day:hover {
    transform: none;
  }
  .calendar {
    outline: none;
  }
  .topbar,
  main {
    break-inside: avoid;
  }
}
