[data-category=general]{--event-color:#68747d}[data-category=worship]{--event-color:#ad7825}[data-category=fellowship]{--event-color:#279080}[data-category=course]{--event-color:#5a82bb}[data-category=music]{--event-color:#986bb0}[data-category=service]{--event-color:#ba6d53}
.calendar-toolbar-actions a{white-space:nowrap;flex-shrink:0}.calendar-page .calendar-month-day.is-today .calendar-day-number{color:var(--theme-on-primary,#fff)!important}
.calendar-print-scope{display:none}
.event-category,.event-state{display:inline-flex;align-items:center;gap:6px;padding:3px 8px;border:1px solid currentColor;border-radius:5px;font-size:12px;line-height:1.6;font-weight:500}.event-category:before{content:"";width:8px;height:8px;border-radius:50%;background:var(--event-color);flex:none}.event-badges{display:flex;align-items:center;flex-wrap:wrap;gap:5px;margin:7px 0}.event-state{border-style:dashed}.event-draft{border-style:dashed!important}.event-cancelled{text-decoration:line-through}.event-state.event-cancelled{text-decoration:none}.event-colored{border-left:4px solid var(--event-color,#68747d)}.event-dot-category{background:var(--event-color)}
.calendar-feature-tools{display:flex;align-items:center;justify-content:space-between;flex-wrap:wrap;gap:12px;margin:16px 0}.calendar-category-filter{display:flex;align-items:center;gap:10px;flex-wrap:wrap;margin:0}.calendar-category-filter select{max-width:100%;padding:8px;border:1px solid var(--cal-border,#cadbdb);border-radius:6px;font:inherit;background:var(--cal-surface,#fff);color:inherit}.calendar-feature-tools button{padding:9px 14px;border-radius:6px;border:1px solid var(--cal-border,#cadbdb);background:var(--cal-alt,#f3f8f7);color:inherit;min-height:40px}.calendar-public-toggle{display:flex;align-items:center;gap:6px}.calendar-category-legend{display:flex;gap:8px;flex-wrap:wrap;margin:14px 0}.event-privacy-note{font-size:13px;line-height:1.8;opacity:.9}.event-info,.event-status-notice{padding:16px;border:1px solid var(--theme-border,#bdcec4);border-left:4px solid #ad7825;border-radius:6px;background:var(--theme-selected,#eaf2ed);line-height:1.8}.event-status-notice h2{margin:0 0 8px;font-size:22px}.event-status-notice p{white-space:pre-wrap;overflow-wrap:anywhere}.event-admin-actions{display:flex;align-items:center;gap:12px;flex-wrap:wrap;margin:18px 0}.event-admin-actions a{display:inline-flex;align-items:center;min-height:40px;padding:7px 12px;border:1px solid var(--theme-border,#bdcec4);border-radius:6px}.event-editor select{padding:9px;border:1px solid #a9bdc3;border-radius:6px;font:inherit;width:100%;color:inherit;background:#fff}.event-repeat-fields{border:1px solid #bdcec4;border-radius:8px;padding:18px;margin:24px 0}.event-repeat-fields p{font-size:14px;line-height:1.8}.event-repeat-fields legend{font-weight:600}.event-repeat-fields input[type=number]{max-width:140px}
@media(max-width:600px){.calendar-feature-tools{align-items:stretch}.calendar-category-filter{width:100%}.calendar-category-filter select{flex:1}.calendar-feature-tools button{min-height:44px}.calendar-agenda-event .event-badges{gap:4px}.calendar-agenda-event .event-category,.calendar-agenda-event .event-state{font-size:11px}}
@page{size:A4 landscape;margin:10mm}
@media print{
    .calendar-print-scope{display:block!important;border:1px solid #111;padding:5px;color:#111!important;font-weight:bold;font-size:11px}
    html,body,body[data-theme]{background:#fff!important;color:#111!important;font-family:sans-serif!important;font-size:11px!important;scroll-padding:0!important;--theme-heading:#111!important;--theme-text:#111!important;--theme-muted:#444!important;--theme-surface:#fff!important;--theme-alt:#fff!important;--theme-soft:#fff!important;--theme-link:#111!important;--theme-border:#999!important;--theme-on-primary:#fff!important}
    .site-header,body>footer,.footer-shortcuts,.skip-content,.theme-band,.cursor-orbit,.calendar-views,.calendar-jump,.calendar-feature-tools,.calendar-editor-hint,.calendar-add-event,.calendar-add-mini,.calendar-toolbar-actions,.event-filter,.news-pagination,.event-admin-actions,.event-privacy-note{display:none!important}
    main.news-page{max-width:none!important;width:100%!important;padding:0!important;margin:0!important;background:#fff!important;border:0!important;box-shadow:none!important}
    .calendar-page{--cal-surface:#fff;--cal-alt:#fff;--cal-border:#999;--cal-text:#111;--cal-muted:#444;--cal-accent:#222;--cal-selected:#eee;color:#111!important}
    body[data-theme] main a,body main a{color:#111!important;text-decoration:none!important}
    .calendar-intro,.eyebrow{display:none!important}.calendar-page h1{font-size:20px!important;margin:0 0 8px!important}.calendar-toolbar{margin:8px 0!important}.calendar-toolbar h2{font-size:17px!important}.calendar-toolbar-title span{font-size:11px}
    .calendar-category-legend{gap:6px;margin:6px 0}.event-category,.event-state{font-size:9px;padding:1px 4px}.calendar-year-grid{grid-template-columns:repeat(3,minmax(0,1fr))!important;gap:4mm!important}.calendar-mini{padding:6px!important;border-radius:0!important;box-shadow:none!important;break-inside:avoid}.calendar-mini h3{font-size:13px!important;margin:0 0 2px!important}.calendar-mini h3 a{padding:0!important}.calendar-mini h3 span{display:none}.calendar-mini-day,.calendar-edit-day .calendar-mini-day{aspect-ratio:auto!important;min-height:17px!important;font-size:10px!important;line-height:17px!important}.calendar-edit-day{border:0!important;padding:0!important}.calendar-weekday{font-size:10px!important;padding:1px!important}.calendar-event-dot{width:3px;height:3px;bottom:0}
    .calendar-year-grid{gap:3mm!important}.calendar-mini{padding:4px!important}.calendar-mini h3{font-size:12px!important;margin:0!important}.calendar-mini-grid{gap:1px!important}.calendar-mini-day,.calendar-edit-day .calendar-mini-day{min-height:14px!important;font-size:9px!important;line-height:14px!important}.calendar-weekday{font-size:9px!important;padding:0!important}
    .calendar-month-weekday{padding:5px 2px!important}.calendar-month-day{min-height:18mm!important;padding:4px!important;break-inside:avoid}.calendar-day-number{width:20px;height:20px;font-size:11px}.calendar-event-pill{display:block!important;font-size:9px!important;white-space:normal!important;background:#fff!important;margin-top:2px!important;padding:1px 3px!important}.calendar-mobile-count{display:none!important}.calendar-more-count{display:block!important;font-size:8px}.calendar-agenda{break-before:page}.calendar-agenda-event,.calendar-agenda-day{break-inside:avoid}.calendar-agenda-event{background:#fff!important}.event-grid{display:block!important}.event-card{break-inside:avoid;margin:0 0 10px!important;padding:12px!important;box-shadow:none!important;background:#fff!important;color:#111!important}.event-card h2{font-size:15px!important}.event-card .event-when{font-size:12px!important}.event-info,.event-status-notice{background:#fff!important;color:#111!important}.event-category:before,.calendar-event-dot{print-color-adjust:exact;-webkit-print-color-adjust:exact}
}
