.home-workspace { color: #17212d; letter-spacing: 0; width: 100%; max-width: 1600px; margin: 0 auto; }
.home-workspace * { box-sizing: border-box; }
.home-workspace h1, .home-workspace h2, .home-workspace p { margin: 0; letter-spacing: 0; }
.home-workspace button, .home-workspace select { font: inherit; color: inherit; cursor: pointer; }
.home-workspace :is(button, select, a, summary, [tabindex]):focus-visible { outline: 3px solid #2563eb; outline-offset: 2px; }
.home-workspace svg { width: 16px; height: 16px; flex-shrink: 0; }
.home-heading { display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 0 0 16px; border-bottom: 1px solid #dce2e8; }
.home-heading h1 { font-size: 24px; line-height: 1.25; font-weight: 700; }
.home-heading p { color: #627080; font-size: 12px; margin-top: 4px; }
.home-heading p span { margin: 0 5px; color: #acb4bc; }
.home-today { text-align: right; display: grid; gap: 3px; font-size: 13px; }
.home-today span { color: #627080; font-size: 11px; }
.home-layout { display: grid; grid-template-columns: minmax(0, 320px) minmax(0, 296px); width: 100%; max-width: 640px; gap: 24px; padding-top: 20px; }
.home-calendar, .home-agenda { min-width: 0; }
.home-calendar-toolbar, .home-calendar-meta { display: flex; align-items: center; justify-content: space-between; gap: 8px; margin-bottom: 10px; flex-wrap: wrap; }
.home-workspace h2 { font-size: 16px; line-height: 1.3; font-weight: 650; }
.home-calendar-controls { display: flex; gap: 4px; }
.home-icon-button, .home-today-button { height: 32px; border: 1px solid #d3dae2; background: #fff; border-radius: 4px; display: inline-flex; align-items: center; justify-content: center; padding: 0 8px; font-size: 12px !important; }
.home-icon-button { width: 30px; padding: 0; }
.home-workspace button:hover { background-color: #f0f5fa; }
.home-jump { display: flex; gap: 6px; }
.home-jump select { min-height: 30px; border: 1px solid #d3dae2; border-radius: 4px; background: white; padding: 3px 5px; font-size: 12px; }
.home-legend { display: flex; gap: 10px; width: 100%; font-size: 10px; color: #627080; flex-wrap: wrap; }
.home-legend span::before { content: ''; display: inline-block; width: 6px; height: 6px; border-radius: 50%; background: #16866d; margin-right: 5px; }
.home-legend span + span::before { background: #c4593e; }
.home-weekdays, .home-days { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); }
.home-weekdays { background: #f5f7f9; border: 1px solid #dce2e8; border-bottom: 0; }
.home-weekdays span { padding: 7px 1px; color: #657180; text-align: center; font-size: 10px; font-weight: 600; }
.home-days { border-left: 1px solid #dce2e8; border-top: 1px solid #dce2e8; }
.home-workspace .home-day { min-width: 0; height: 44px; border: 0; border-right: 1px solid #dce2e8; border-bottom: 1px solid #dce2e8; border-radius: 0; background: #fff; padding: 3px 1px; text-align: center; display: flex; flex-direction: column; align-items: center; gap: 3px; overflow: hidden; }
.home-workspace .home-day-outside { background: #fafbfc; color: #7f8994; }
.home-day-number { display: inline-flex; width: 24px; min-height: 24px; align-items: center; justify-content: center; font-size: 12px; border-radius: 50%; flex-shrink: 0; }
.home-day-today .home-day-number { background: #2563eb; color: #fff; font-weight: 700; }
.home-workspace .home-day[aria-pressed="true"] { box-shadow: inset 0 0 0 2px #2563eb; background: #f1f6ff; }
.home-day-events { display: none; }
.home-day-dots { display: flex; gap: 3px; }
.home-day-dots span { width: 4px; height: 4px; background: #16866d; border-radius: 50%; }
.home-day-dots .home-dot-national { background: #c4593e; }
.home-date-detail { border-bottom: 1px solid #dce2e8; padding: 12px 0; font-size: 12px; }
.home-date-detail summary { cursor: pointer; font-weight: 600; }
.home-date-detail p { color: #627080; margin-top: 10px; }
.home-detail-event { display: grid; gap: 4px; font-size: 12px; margin-top: 12px; }
.home-detail-event span { color: #627080; }
.home-detail-event a { display: inline-flex; gap: 5px; align-items: center; width: fit-content; font-size: 11px; overflow-wrap: anywhere; }
.home-detail-event svg { width: 12px; height: 12px; }
.home-agenda { border-left: 1px solid #dce2e8; padding-left: 20px; }
.home-agenda-caption { font-size: 11px; color: #627080; margin-top: 5px !important; }
.home-agenda ul { list-style: none; padding: 0; margin: 10px 0 0; }
.home-upcoming, .home-month-agenda ul { max-height: 284px; overflow-y: auto; overscroll-behavior: contain; scrollbar-gutter: stable; }
.home-agenda li { border-bottom: 1px solid #e7ebef; }
.home-agenda li > button { border: 0; padding: 10px 2px; background: transparent; width: 100%; display: flex; align-items: center; text-align: left; gap: 10px; }
.home-agenda-date { width: 32px; flex-shrink: 0; text-align: center; display: grid; gap: 2px; color: #475463; }
.home-agenda-date strong { font-size: 18px; line-height: 1.1; }
.home-agenda-date span { font-size: 10px; text-transform: uppercase; }
.home-agenda-text { display: grid; gap: 2px; flex: 1; min-width: 0; overflow-wrap: anywhere; }
.home-agenda-text strong { font-size: 12px; line-height: 1.4; }
.home-agenda-text > span, .home-agenda-text small { font-size: 11px; color: #627080; }
.home-agenda-text .home-ongoing { color: #09725d; font-weight: 600; }
.home-upcoming svg { width: 12px; color: #87939e; }
.home-month-agenda { margin-top: 16px; }
.home-month-agenda summary { font-size: 12px; font-weight: 600; cursor: pointer; }
.home-month-agenda summary span { color: #627080; margin-left: 6px; }
.home-month-agenda li > button { display: grid; grid-template-columns: 65px minmax(0, 1fr); gap: 8px; padding: 9px 2px; font-size: 11px; }
.home-month-agenda button span { color: #627080; }
.home-month-agenda button strong { font-weight: 500; overflow-wrap: anywhere; }
.home-empty { color: #627080; padding: 12px 0; font-size: 12px; }
.home-calendar-note { max-width: 640px; margin-top: 10px; padding: 0 0 12px; color: #627080; font-size: 11px; line-height: 1.6; }
.home-calendar-note details { margin-top: 3px; }
.home-calendar-note summary { cursor: pointer; width: fit-content; }
.home-calendar-note details > p { margin-top: 8px; }
.home-calendar-note ul { padding-left: 18px; }
.home-calendar-note a { overflow-wrap: anywhere; }
@media (max-width: 700px) {
  .home-heading { align-items: flex-start; gap: 12px; }
  .home-heading p { font-size: 11px; }
  .home-today { max-width: 115px; font-size: 12px; line-height: 1.5; }
  .home-today span { font-size: 10px; }
  .home-layout { max-width: 360px; grid-template-columns: minmax(0, 1fr); gap: 16px; padding-top: 16px; }
  .home-agenda { border-left: 0; padding-left: 0; }
  .home-upcoming { max-height: 190px; }
  .home-month-agenda { margin-top: 12px; }
  .home-calendar-note { max-width: 360px; }
}
