/* An event sheet's action row (Website, Directions, Share, Calendar): equal tiles, an icon over a word, a thumb's size each. */
.sheet-share { display: grid; gap: 10px; }
.sheet-actions { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(56px, 1fr); gap: 8px; }
.sheet-actions .sheet-action {
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 4px;
  min-width: 56px; min-height: 56px; padding: 8px 4px; border: 1px solid var(--line); border-radius: var(--radius);
  background: var(--surface); color: var(--ink); font: 600 12px/1.2 var(--sans); text-decoration: none; cursor: pointer;
  -webkit-tap-highlight-color: transparent;
}
.sheet-action .icon { width: 22px; height: 22px; }
.sheet-action span { color: var(--ink); }
/* Calendar names the day it adds under its word ("Sat, Nov 14", or a run, "Nov 20 – Jan 10", on two lines). */
.sheet-action small { margin-top: -2px; font: 500 12px/1.2 var(--sans); color: var(--muted); text-align: center; }

/* "Other day…" under the row, at its end: the event's open days from today, a month grid each, the open days as links. */
.sheet-days { margin-top: -6px; }
.sheet-days summary {
  display: flex; align-items: center; gap: 4px; width: fit-content; min-height: 44px; margin-left: auto; padding: 0 4px;
  font: 600 14px var(--sans); color: var(--accent-text); cursor: pointer; list-style: none; -webkit-tap-highlight-color: transparent;
}
.sheet-days summary::-webkit-details-marker { display: none; }
.sheet-days summary .icon { width: 16px; height: 16px; transition: transform .2s; }
.sheet-days[open] summary .icon { transform: rotate(180deg); }
.sheet-days summary:focus-visible { outline: 2px solid var(--focus); outline-offset: 2px; border-radius: 6px; }
.sheet-month + .sheet-month { margin-top: 8px; }
.sheet-month-name { margin: 0 0 4px; font: 600 13px var(--sans); font-variant-caps: all-small-caps; letter-spacing: .06em; color: var(--muted); }
.sheet-month-grid { display: grid; grid-template-columns: repeat(7, 1fr); gap: 4px; margin: 0; padding: 0; list-style: none; text-align: center; }
.sheet-month-grid li { display: grid; place-items: center; min-width: 0; }
.sheet-month-grid .dow { font-size: 12px; color: var(--muted); }
.sheet-month-grid .shut { min-height: 40px; font-size: 13px; color: var(--muted); }
.sheet-month-grid a {
  display: grid; place-items: center; width: 100%; min-height: 40px; border: 1px solid var(--line); border-radius: 10px;
  background: var(--surface); color: var(--ink); font: 600 14px var(--sans); text-decoration: none; -webkit-tap-highlight-color: transparent;
}
.sheet-month-grid a:hover { border-color: var(--ink); }
.sheet-month-grid a:active { background: var(--accent-soft); }
.sheet-month-grid a:focus-visible { outline: 2px solid var(--focus); outline-offset: 2px; }
@media (prefers-reduced-motion: reduce) { .sheet-days summary .icon { transition: none; } }
.sheet-action:hover { border-color: var(--ink); }
.sheet-action:active { background: var(--accent-soft); }
.sheet-action:focus-visible { outline: 2px solid var(--focus); outline-offset: 2px; }

/* With the clipboard blocked: the text and link to copy by hand. 16px so iOS doesn't zoom. */
.sheet-copy { display: grid; gap: 4px; font-size: 13px; color: var(--muted); }
.sheet-copy[hidden] { display: none; }
.sheet-copy input { width: 100%; font: 16px var(--sans); padding: 10px 12px; border: 1px solid var(--line); border-radius: 10px; background: var(--sunk); color: var(--ink); }

/* The site's own address, quiet now the Website tile is the way there. */
.event-panel .event-go { margin: 0; font-size: 14px; }
.event-panel .event-go a { display: inline-block; padding: 12px 0; margin-block: -12px; color: var(--muted); text-underline-offset: 3px; }

/* How sure we are of a fact: a quiet "not confirmed yet" on its own line under it; "Sources differ" in the warn ink; "Checked Nov 8 against surrey.ca" once at the bottom when every fact is. */
.event-facts .fact-note { display: block; margin-top: 2px; font-size: 13px; font-style: italic; color: var(--muted); }
.event-facts .fact-note.differ { font-style: normal; color: var(--warn); }
.event-facts .fact-note.differ a { color: inherit; text-underline-offset: 3px; }
.event-panel .event-checked { margin: 0; font-size: 13px; color: var(--muted); }
.event-panel .event-checked::before { content: "✓ "; color: var(--ok); }

/* A card's date or hours line not confirmed yet: a tiny raised question mark, nothing louder (drawn, so the line's text stays the line's). */
.unsure-mark::after { content: "?"; }
.unsure-mark { margin-left: 3px; font-size: 12px; vertical-align: super; line-height: 0; color: var(--muted); }
