/* Existing calendar structure; categorical color and consistent controls. */
body main>header.calendar-intro{background:#355a44;color:#fff8ee;padding:28px;border:0}
body main>header.calendar-intro :is(h1,p,a,.eyebrow){color:#fff8ee;max-width:none}
body main>.tools{background:#dfe9df;padding:20px;gap:16px;border:1px solid #c2d0c1;border-radius:6px}
body main>.tools label{flex:1 1 180px;min-width:0;font-size:14px;font-weight:600}
body main>.tools :is(input,select){width:100%;min-height:44px;margin-top:6px;border-radius:5px;font-weight:400}
body main .weekday{background:#355a44;color:#fff8ee;font-weight:600}
body main .day{background:#f8faf6}
body main .day.outside{background:#eef1eb}
body main .day button{background:var(--category);background-image:linear-gradient(160deg,#ffffff12,transparent 50%);color:#fff8ee;min-height:44px;padding:10px;border:1px solid transparent;border-radius:5px;box-shadow:inset 0 1px #ffffff25;transition:box-shadow .15s,filter .15s}
body main .day button:hover{filter:brightness(1.08);box-shadow:0 3px 9px #20352230,inset 0 0 0 1px #ffffff70}
body main .day.today{background:#e3ecdf;box-shadow:inset 0 3px #355a44}
body main .event{background:var(--tint);border:1px solid #d7dcd3;border-radius:6px;overflow:hidden;padding-bottom:20px}
body main .event-hero{background:var(--category);color:#fff8ee;border:0;padding:24px}
body main .event-hero :is(h3,p,.tag){color:#fff8ee}
body main .event>:is(p,dl,.event-actions){margin:20px 24px;max-width:none}
body main .event-fact{border-top-color:#b9c4b5;padding:16px 0}
body main :is(.activity-tools button,.activity-tools .action,.period-actions button,.event-register){min-height:44px;border-radius:5px;box-shadow:inset 0 1px #ffffff30,0 1px 2px #302b2912;transition:box-shadow .15s,filter .15s}
body main .event-register{background-image:linear-gradient(160deg,#ffffff12,transparent 50%);padding:12px 18px}
body main :is(.activity-tools button,.activity-tools .action,.period-actions button):hover{box-shadow:0 3px 8px #302b2920;border-color:#355a44}
body main .activity-tools button[aria-pressed=true]{background:#355a44;color:#fff8ee;border-color:#355a44}
body main .event-register:hover{filter:brightness(1.08);box-shadow:0 3px 9px #302b2930}
body main :is(button,a,input,select):focus-visible{outline:3px solid #946821;outline-offset:3px}
@media(max-width:600px){body main>.tools{padding:16px}body main .event-hero{padding:20px 16px}body main .event>:is(p,dl,.event-actions){margin:20px 16px}body main .event-hero>div:last-child{min-width:0;overflow-wrap:anywhere}}
@media(prefers-reduced-motion:reduce){body main :is(button,a){transition:none!important}}
