@font-face {
  font-family: Pretendard;
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url("/assets/fonts/PretendardVariable.woff2") format("woff2");
}

html:root {
  color-scheme: light;
  --bg: #f3f5f6;
  --card: #ffffff;
  --text: #363a3d;
  --line: #e1e7e9;
  --point: #41a8d8;
  --on-point: #ffffff;
  --body-size: 14px;
  --title-size: 16px;
  --page-width: 1120px;
  --sidebar-width: 240px;
  --column-gap: 40px;
  --card-padding: 20px;
  --radius: 12px;
}

@media (max-width: 1050px) {
  html:root {
    --sidebar-width: 235px;
    --column-gap: 26px;
    --card-padding: 20px;
  }
}

@media (max-width: 700px) {
  html:root {
    --card-padding: 20px;
    --radius: 12px;
  }
}

html:root {
  --control-height: 36px;
  --space-unit: 4px;
}

.button,
.primary {
  padding: 7px 10px;
  height: var(--control-height);
  min-height: var(--control-height);
  border: 1px solid var(--line);
}

input:not([type="checkbox"]):not([type="radio"]):not([type="file"]),
select {
  height: var(--control-height);
  min-height: var(--control-height);
  padding-top: 0;
  padding-bottom: 0;
}

.primary.icon-only,
.inline-control > .icon-button,
.external-row > .icon-button {
  width: 36px;
  height: 36px;
  min-height: 36px;
  padding: 0;
}

select,
.page-size select {
  appearance: none;
  -webkit-appearance: none;
  padding-left: 12px;
  padding-right: 36px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%23363a3d' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 12px center;
  background-size: 16px;
  border: 1px solid var(--line);
}
.page-size select {
  width: 132px;
}
.collection-heading h2 {
  margin-top: 0;
}
@media (forced-colors: active) {
  select,
  .page-size select {
    appearance: auto;
    background-image: none;
  }
}

.category-filters {
  border-bottom: 0;
}

.year-control {
  border-top: 0;
}

.month-grid {
  border-bottom: 0;
  padding: 12px 4px;
}

.sidebar-actions {
  border-top: 0;
  padding: 12px 8px;
}

.month-all {
  height: 36px;
  padding: 0 9px 0 12px;
  border: 1px solid var(--line);
  border-radius: 8px;
  font-size: 10px;
  background: transparent;
}

.month-all:hover {
  background: var(--soft);
}

@media (max-width: 700px) {
  .mobile-calendar-dialog .identity {
    display: none;
  }
}

.calendar-label {
  padding-left: 6px;
  font-size: 14px;
}

.calendar-grid {
  gap: 4px 2px;
}

.date-index {
  padding: 16px 12px;
}

.collection-heading {
  min-height: auto;
  margin-bottom: 12px;
}

.site {
  margin: 32px auto;
}

@media (width <= 1050px) {
  .site {
    margin-top: 24px;
  }
}

@media (width <= 700px) {
    .site {
        width: auto;
        margin: 0;
        padding: 0 16px 64px;
        display: block;
      }
    }

@media (width <= 700px) {
  .mobile-toolbar {
    min-height: 48px;
    margin-bottom:16px;
  }
}

.category-filters button {
  border-radius: 8px;
}

