* {
  margin: 0;
  padding: 0;
  border: 0;
  outline: 0;
  text-decoration: none;
  -webkit-tap-highlight-color: transparent;
  touch-action: manipulation;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

*:focus,
*:hover {
  outline: none;
  text-decoration: none;
}

*::-webkit-scrollbar {
  width: 10px;
  height: 10px;
}

::-webkit-scrollbar-thumb {
  background-color: #a1bae5;
  border-radius: 5px;
}

::placeholder {
  color: #7474746c;
}

html {
  line-height: 1.15;
  -webkit-text-size-adjust: 100%;
  overscroll-behavior-y: contain;
  height: 100%;
}

body {
  min-height: 100vh;
  width: 100%;
  font-family: -apple-system, system-ui, BlinkMacSystemFont, Segoe UI, Roboto, Helvetica Neue, Fira Sans, Ubuntu, Oxygen, Oxygen Sans, Cantarell, Droid Sans, Apple Color Emoji, Segoe UI Emoji, Segoe UI Symbol, Lucida Grande, Helvetica, Arial, sans-serif;
  scroll-behavior: smooth;
  overscroll-behavior-y: contain;
  background: #dbdcdf;
}

header {
  margin: 10px 0 0 0;
  text-align: center;
}

header h1 {
  font-weight: bold;
  font-size: 20px;
  color: #424242;
}

.intro {
  max-width: 960px;
  margin: 20px auto 0 auto;
  padding: 0 16px;
}

.intro-card {
  background: #ffffff;
  border: 1px solid #cfdaed;
  border-radius: 12px;
  padding: 20px;
  box-shadow: 0 6px 24px rgba(0, 0, 0, 0.06);
}

.intro-card h2 {
  color: #26324a;
  font-size: 24px;
  margin-bottom: 10px;
}

.intro-card p {
  color: #3f4b63;
  line-height: 1.6;
}

.actions {
  margin-top: 16px;
  display: flex;
  gap: 12px;
}

.actions button {
  cursor: pointer;
  border-radius: 8px;
  padding: 10px 14px;
  font-weight: 600;
  border: 1px solid #8ea6cf;
  background: #ffffff;
  color: #2b3b58;
}

.actions button:last-child {
  background: #2b3b58;
  color: #ffffff;
  border-color: #2b3b58;
}

.print-root {
  margin-top: 20px;
  margin-bottom: 20px;
}

.week {
  display: flex;
  flex-direction: column;
  height: 48%;
}

.week h1 {
  font-weight: bold;
  font-size: 20px;
  color: #424242;
  text-align: center;
  margin-top: 10px;
}

.table {
  display: flex;
  justify-content: space-between;
  height: 100%;
  margin: 2px 20px 0 20px;
}

.day {
  display: flex;
  flex-direction: column;
  width: 202px;
  background-image: url('data:image/svg+xml,<svg width="20" height="20" viewBox="0 0 20 20" fill="none" xmlns="http://www.w3.org/2000/svg"><mask id="path-1-inside-1_38_256" fill="white"><path d="M0 0H20V20H0V0Z"/></mask><path d="M0 0V-1H-1V0H0ZM0 1H20V-1H0V1ZM1 20V0H-1V20H1Z" fill="%23CFDAED" mask="url(%23path-1-inside-1_38_256)"/></svg>');
  background-position: 0 9px;
  background-repeat: repeat;
  border-bottom: 1px solid #cfdaed;
}

.day:nth-child(even) {
  background-color: #f9f9f9;
}

.title-date {
  display: flex;
  justify-content: space-between;
  height: 30px;
  padding-left: 10px;
  padding-right: 10px;
  line-height: 30px;
  background-color: #fff;
  border: 1px solid #cfdaed;
  border-bottom: 2px solid #cfdaed;
}

.content {
  height: 100%;
}

.day:last-child {
  border-right: none;
}

page {
  background: #fff;
  display: block;
  margin: 0 auto 0.5cm auto;
  box-shadow: 0 0 0.5cm rgba(0, 0, 0, 0.5);
}

page[size="A4"] {
  width: 21cm;
  height: 29.7cm;
}

page[size="A4"][layout="landscape"] {
  width: 29.7cm;
  height: 21cm;
  page-break-after: always;
}

@media print {
  .screen-only {
    display: none !important;
  }

  body,
  html {
    background: #fff;
  }

  body,
  page,
  .print-root {
    background: #fff;
    margin: 0;
    box-shadow: none;
    padding: 0;
  }
}
