.sce-root {
  --sce-line: #e3e7ed;
  --sce-focus: #2563eb;
  --sce-day-height: 128px;
  --sce-title-lines: 3;
  color: #17243b;
  font: inherit;
  width: 100%;
  min-width: 0;
}
.sce-root.sce-has-initial { container-type: inline-size; container-name: scfec-initial; }
.sce-root *, .sce-root *::before, .sce-root *::after { box-sizing: border-box; }
.sce-root [hidden] { display: none !important; }
.sce-root .sce-calendar { background: #fff; border: 1px solid var(--sce-line); border-radius: 18px; overflow: hidden; }
.sce-root .sce-toolbar { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 16px; padding: 24px; }
.sce-root .sce-month-title { margin: 0; font-family: inherit; font-size: 26px; font-weight: 650; line-height: 1.25; color: inherit; }
.sce-root .sce-toolbar-controls, .sce-root .sce-navigation, .sce-root .sce-views { display: flex; align-items: center; flex-wrap: wrap; gap: 6px; }
.sce-root .sce-toolbar-controls { gap: 16px; }
.sce-root .sce-button {
  appearance: none; display: inline-flex; align-items: center; justify-content: center;
  position: relative; margin: 0; padding: 9px 14px; min-height: 40px;
  border: 1px solid var(--sce-line); border-radius: 8px; background: #fff;
  font: inherit; font-size: 14px; font-weight: 550; line-height: 1.3;
  text-align: center; text-decoration: none; text-transform: none;
  color: #27364e; cursor: pointer; box-shadow: none;
  transition: background-color .15s, color .15s, border-color .15s;
}
.sce-root .sce-button:hover { background: #f0f4f8; color: #17243b; border-color: #bdc8d6; }
.sce-root .sce-button:focus-visible, .sce-root a:focus-visible { outline: 3px solid var(--sce-focus); outline-offset: 2px; }
.sce-root .sce-button:disabled { opacity: .45; cursor: default; }
.sce-root [data-action="previous"], .sce-root [data-action="next"] { min-width: 40px; font-size: 24px; line-height: 1; padding: 5px 12px; }
.sce-root[dir="rtl"] [data-action="previous"] span, .sce-root[dir="rtl"] [data-action="next"] span { transform: rotate(180deg); }
.sce-root .sce-view-button[aria-pressed="true"] { color: #fff; background: #204b45; border-color: #204b45; }
.sce-root .sce-content { min-width: 0; }
.sce-root .sce-month-scroll { overflow-x: auto; }
.sce-root .sce-table { width: 100%; min-width: 630px; table-layout: fixed; border-collapse: collapse; border-spacing: 0; margin: 0; border: 0; font: inherit; }
.sce-root .sce-table thead, .sce-root .sce-table tbody, .sce-root .sce-table tr { background: transparent; border: 0; }
.sce-root .sce-weekday { width: 14.2857%; background: #f6f8fa; border: 0; border-block: 1px solid var(--sce-line); padding: 12px 8px; font-size: 12px; font-weight: 650; line-height: 1.4; text-align: start; color: #526176; }
.sce-root .sce-day { height: var(--sce-day-height); background: #fff; color: inherit; border: 1px solid var(--sce-line); padding: 8px; vertical-align: top; text-align: start; }
.sce-root .sce-day:first-child { border-inline-start: 0; }
.sce-root .sce-day:last-child { border-inline-end: 0; }
.sce-root .sce-table tr:last-child .sce-day { border-block-end: 0; }
.sce-root .sce-day--outside { background: #fafbfc; }
.sce-root .sce-day--outside .sce-day-number { color: #8994a4; }
.sce-root .sce-day--today { background: #f3f9f6; }
.sce-root .sce-day-number { display: inline-flex; align-items: center; justify-content: center; min-width: 28px; min-height: 28px; padding: 2px 5px; margin-block-end: 7px; border-radius: 50%; font-size: 13px; font-weight: 550; line-height: 1.2; }
.sce-root .sce-day--today .sce-day-number { background: #204b45; color: #fff; }
.sce-root .sce-events { display: flex; flex-direction: column; gap: 5px; width: 100%; min-width: 0; max-width: 100%; }
.sce-root .sce-event { display: flex; align-items: flex-start; flex-direction: column; justify-content: flex-start; gap: 3px; width: 100%; min-width: 0; min-height: 0; border: 1px solid transparent; border-inline-start: 3px solid #4b8c73; border-radius: 5px; padding: 7px 8px; background: #e8f3ec; color: #214d3e; font-size: 12px; font-weight: 600; line-height: 1.4; text-align: start; overflow-wrap: anywhere; }
.sce-root .sce-event:hover { background: #d6eadf; border-color: #4b8c73; color: #163a2c; }
.sce-root .sce-button.sce-event { max-width: 100%; white-space: normal; overflow: hidden; }
.sce-root .sce-event > span { min-width: 0; max-width: 100%; white-space: normal; overflow-wrap: anywhere; word-break: normal; }
.sce-root .sce-event-title { display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: var(--sce-title-lines); overflow: hidden; font: inherit; text-align: inherit; }
.sce-root .sce-event-time { font-size: 10px; font-weight: 450; color: inherit; }
.sce-root .sce-event-location { font-size: 12px; font-weight: 400; color: inherit; }
.sce-root .sce-agenda { padding: 0 24px 24px; }
.sce-root .sce-agenda-group { margin-block: 0 22px; }
.sce-root .sce-agenda-group:last-child { margin-block-end: 0; }
.sce-root .sce-agenda-date { font-family: inherit; font-size: 14px; font-weight: 650; line-height: 1.5; margin: 0 0 10px; padding-block: 12px 6px; border-block-start: 1px solid var(--sce-line); color: inherit; }
.sce-root .sce-agenda-events { display: flex; flex-direction: column; gap: 8px; }
.sce-root .sce-agenda .sce-event { padding: 14px 16px; gap: 5px; font-size: 15px; }
.sce-root .sce-agenda .sce-event-time { font-size: 12px; }
.sce-root .sce-status { padding: 16px 24px; font-size: 14px; line-height: 1.5; color: #526176; }
.sce-root .sce-status:empty { display: none; }
.sce-root .sce-status .sce-button { margin-inline-start: 12px; }
.sce-root .sce-diagnostics { margin-block-start: 16px; padding: 12px; border: 1px dashed var(--sce-line); border-radius: 8px; font: 12px/1.5 monospace; }
.sce-root .sce-diagnostics summary { cursor: pointer; }
.sce-root .sce-diagnostics-text { white-space: pre-wrap; overflow-wrap: anywhere; margin: 10px 0 0; font: inherit; color: inherit; background: transparent; }
.sce-root .sce-sr-only { position: absolute !important; width: 1px !important; height: 1px !important; padding: 0 !important; margin: -1px !important; overflow: hidden !important; clip: rect(0,0,0,0) !important; white-space: nowrap !important; border: 0 !important; }
.sce-root .sce-dialog {
  position: fixed; inset: 0; width: 620px; max-width: calc(100vw - 32px); max-height: calc(100dvh - 32px);
  margin: auto; padding: 0; border: 0; border-radius: 0; background: transparent; color: inherit;
  overflow: auto; overscroll-behavior: contain; font: inherit;
}
.sce-root .sce-dialog::backdrop { background: rgb(14 24 38 / .65); }
.sce-root .sce-modal { position: relative; padding: 32px; border: 0; border-radius: 18px; background: #fff; box-shadow: 0 24px 80px rgb(0 0 0 / .18); }
.sce-root .sce-close { position: absolute; inset-block-start: 12px; inset-inline-end: 12px; width: 36px; height: 36px; min-height: 36px; padding: 0; z-index: 1; background: #fff; color: #27364e; font-size: 25px; font-weight: 400; border-radius: 50%; }
.sce-root .sce-modal-content { display: flex; flex-direction: column; gap: 22px; }
.sce-root .sce-modal-image { display: block; width: 100%; height: 230px; max-width: 100%; object-fit: cover; border-radius: 10px; margin: 0; }
.sce-root .sce-modal-title { margin: 0; padding-inline-end: 38px; color: #17243b; font-family: inherit; font-size: 28px; font-weight: 650; line-height: 1.2; overflow-wrap: anywhere; }
.sce-root .sce-modal-title:focus { outline: none; }
.sce-root .sce-meta { display: grid; grid-template-columns: 1fr; gap: 12px; margin: 0; }
.sce-root .sce-meta-row { display: grid; grid-template-columns: minmax(65px, 90px) minmax(0, 1fr); gap: 14px; align-items: baseline; }
.sce-root .sce-meta-label { color: #6b7789; font-size: 12px; font-weight: 600; line-height: 1.5; margin: 0; }
.sce-root .sce-meta-value { color: #27364e; font-size: 14px; font-weight: 450; line-height: 1.5; margin: 0; overflow-wrap: anywhere; }
.sce-root .sce-modal-description { color: #526176; font-size: 15px; line-height: 1.7; overflow-wrap: anywhere; }
.sce-root .sce-modal-description > :first-child { margin-block-start: 0; }
.sce-root .sce-modal-description > :last-child { margin-block-end: 0; }
.sce-root .sce-modal-description a { color: #24644e; text-decoration: underline; }
.sce-root .sce-modal-description a:hover { color: #153e30; }
.sce-root .sce-modal-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; }
.sce-root .sce-details-button { color: #fff; background: #204b45; border-color: #204b45; padding: 12px 18px; }
.sce-root .sce-details-button:hover { color: #fff; background: #163a35; border-color: #163a35; }
.sce-root .sce-registration-button { color: #204b45; background: #fff; border-color: #b9cec6; padding: 12px 18px; }
.sce-root .sce-registration-button:hover { color: #163a35; background: #edf5f1; border-color: #204b45; }
@media (max-width: 620px) {
  .sce-root .sce-toolbar { padding: 18px; gap: 14px; }
  .sce-root .sce-month-title { font-size: 23px; }
  .sce-root .sce-toolbar-controls { width: 100%; justify-content: space-between; gap: 8px; }
  .sce-root .sce-agenda { padding: 0 18px 18px; }
  .sce-root .sce-modal { padding: 26px 22px; }
  .sce-root .sce-modal-title { font-size: 24px; }
  .sce-root .sce-meta-row { grid-template-columns: minmax(55px,75px) minmax(0,1fr); gap: 10px; }
}
@media (prefers-reduced-motion: reduce) { .sce-root .sce-button { transition: none; } }
