<style>
  :root {
    color-scheme: light;
    --bg: #f8fafc;
    --panel: #ffffff;
    --text: blue;
    --muted: #475569;
    --accent: #2563eb;
    --border: rgba(15, 23, 42, 0.1);
  }

  * {
    box-sizing: border-box;
  }

  body {
    margin: 0;
    min-height: 100vh;
    font-family: Arial, Helvetica, sans-serif;
    background: #f1f5f9;
    color: var(--text);
    display: flex;
    align-items: stretch;
    justify-content: center;
  }

  .wrap {
    width: min(1600px, 100%);
    padding: 32px;
    display: grid;
    grid-template-columns: 1fr 2.4fr;
    gap: 28px;
    height: 100vh;
  }

  .hero,
  .calendar {
    background: var(--panel);
    border: 1px solid var(--border);
    border-radius: 24px;
    backdrop-filter: blur(10px);
    box-shadow: 0 10px 25px rgba(0,0,0,0.08);
    min-height: 0;
  }

  .hero {
    padding: 36px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
  }

  .day {
/*     font-size: clamp(40px, 6vw, 84px); */
    font-size: clamp(64px, 10vw, 140px);
    font-weight: 700;
    text-transform: capitalize;
    margin: 0 0 8px 0;
    color: green;
  }

  .date {
/*     font-size: clamp(64px, 10vw, 140px); */
    font-size: clamp(28px, 4vw, 48px);
    color: var(--muted);
    margin: 0 0 18px 0;
    text-transform: capitalize;
  }

  .time {
    font-size: clamp(64px, 10vw, 140px);
    font-weight: 700;
    letter-spacing: 0.04em;
    margin: 0;
    color: orange;
  }

  .calendar {
    padding: 28px;
    overflow-y: auto;
    height: 100%;
  }

  .calendar h2 {
    margin: 0 0 20px 0;
    font-size: 32px;
  }

  .meta {
    color: var(--muted);
    margin-bottom: 20px;
    word-break: break-all;
  }

  .event-list {
    display: grid;
    gap: 14px;
  }

  .event {
    border: 1px solid var(--border);
    border-radius: 18px;
    padding: 18px 20px;
    background: #f8fafc;
  }

  .event-title {
    margin: 0 0 6px 0;
    font-size: 28px;
    font-weight: 700;
  }

  .event-time,
  .event-location,
  .error,
  .empty {
    margin: 0;
    font-size: 20px;
    color: var(--muted);
  }

  .error {
    color: #dc2626;
  }

  .event-today {
    border-left: 6px solid green;
    background: #d2e8c5;
    color: black;
  }

  .event-today .event-title {
    color: black;
  }
  .event-start {
    font-weight: 700;
  }

  .event-line {
    display: flex;
    gap: 12px;
    align-items: flex-start;
  }

  .event input[type="checkbox"] {
    transform: scale(1.5);
    margin-top: 6px;
  }

  .event.checked {
    opacity: 0.5;
  }

  .event.checked .event-title,
  .event.checked .event-time,
  .event.checked .event-location {
    text-decoration: line-through;
  }

  @media (max-width: 900px) {
    .wrap {
      grid-template-columns: 1fr;
      grid-template-rows: auto auto;
      height: auto;
      padding: 16px;
    }

    .hero,
    .calendar {
      border-radius: 16px;
    }

    .hero {
      padding: 22px;
    }

    .calendar {
      padding: 20px;
      height: auto;
    }
  }
</style>
