:root {
  --bg: #f7f5f0; --card: #ffffff; --ink: #1b1a2e; --muted: #6b6a7a; --line: #e4e1d8;
  --accent: #c9802b; --accent-ink: #fff; --new: #2b8a6e; --soft: #efe9dc; --danger: #b3423c;
  color-scheme: light dark;
}
@media (prefers-color-scheme: dark) {
  :root { --bg: #15142a; --card: #1f1e36; --ink: #f1eee6; --muted: #a39fb3; --line: #33324c; --accent: #f3b64a; --accent-ink: #1b1a2e; --new: #7fd4c1; --soft: #2a2944; }
}
* { box-sizing: border-box; }
[hidden] { display: none !important; }
html, body { margin: 0; background: var(--bg); color: var(--ink); font: 16px/1.45 -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif; }
body { padding-bottom: 96px; }
h1 { font-size: 1.35rem; margin: 0; } h2 { font-size: 1.2rem; margin: 0 0 8px; } h3 { margin: 0; font-size: 1.05rem; }
p { margin: 0 0 10px; }
.muted { color: var(--muted); } .small { font-size: .85rem; }
.top { display: flex; align-items: center; justify-content: space-between; padding: 14px 16px 6px; }
.top-right { display: flex; align-items: center; gap: 8px; }
.version { padding: 10px 6px; margin: -10px -6px; -webkit-user-select: none; user-select: none; -webkit-touch-callout: none; -webkit-tap-highlight-color: transparent; cursor: default; font-size: .72rem; color: var(--muted); font-variant-numeric: tabular-nums; letter-spacing: .02em; }
.pin { font-size: 1.1em; }
.profile { padding: 4px 16px 10px; display: flex; flex-direction: column; gap: 8px; position: sticky; top: 0; background: var(--bg); z-index: 2; }
.row { display: flex; flex-wrap: wrap; gap: 6px; align-items: center; }
.chips { display: flex; flex-wrap: wrap; gap: 6px; }
.chip { border: 1px solid var(--line); background: var(--card); color: var(--ink); border-radius: 999px; padding: 6px 12px; font-size: .9rem; cursor: pointer; }
.chip.on { background: var(--ink); color: var(--bg); border-color: var(--ink); }
.chip.ghost { background: transparent; border-style: dashed; color: var(--muted); }
.chip.karma { border-color: var(--accent); color: var(--accent); background: transparent; }
.chip .x { margin-left: 6px; opacity: .6; }
.list { padding: 0 16px; display: flex; flex-direction: column; gap: 10px; }
.day { margin: 12px 0 2px; font-size: .85rem; text-transform: uppercase; letter-spacing: .06em; color: var(--muted); }
.card { display: grid; grid-template-columns: 84px 1fr; gap: 12px; background: var(--card); border: 1px solid var(--line); border-radius: 14px; padding: 10px; cursor: pointer; position: relative; }
.card img, .card .noimg { width: 84px; height: 84px; object-fit: cover; border-radius: 10px; background: var(--soft); display: grid; place-items: center; font-size: 1.6rem; }
.card .meta { color: var(--muted); font-size: .9rem; }
.card .pills { display: flex; flex-wrap: wrap; gap: 4px; margin-top: 4px; }
.pill { font-size: .72rem; padding: 2px 8px; border-radius: 999px; background: var(--soft); color: var(--ink); }
.pill.k-ecstatic-dance { background: #f6d9a8; color: #4a2f05; } .pill.k-contact-improv { background: #bfe6da; color: #0f3d31; } .pill.k-somatic { background: #f5d0dc; color: #5a1830; } .pill.k-soft-acrobatics { background: #d9d4f5; color: #2d2560; }
.badge { position: absolute; top: -6px; right: 10px; background: var(--new); color: #fff; font-size: .7rem; font-weight: 600; padding: 2px 8px; border-radius: 999px; }
.fab { position: fixed; right: 16px; bottom: calc(16px + env(safe-area-inset-bottom)); background: var(--accent); color: var(--accent-ink); border: 0; border-radius: 999px; padding: 14px 20px; font-size: 1rem; font-weight: 600; box-shadow: 0 6px 20px rgba(0,0,0,.25); cursor: pointer; z-index: 3; }
dialog { border: 0; padding: 0; background: transparent; max-width: 100vw; width: 100%; margin: auto auto 0; }
dialog:focus { outline: none; }
dialog::backdrop { background: rgba(0,0,0,.45); }
.sheet { background: var(--card); color: var(--ink); border-radius: 18px 18px 0 0; padding: 18px 16px calc(18px + env(safe-area-inset-bottom)); max-height: 92vh; overflow: auto; width: 100%; }
@media (min-width: 640px) { dialog { margin: auto; max-width: 560px; } .sheet { border-radius: 18px; } body { max-width: 720px; margin: 0 auto; } }
label { display: block; font-size: .85rem; color: var(--muted); margin: 10px 0; }
input, textarea { display: block; width: 100%; margin-top: 4px; padding: 10px 12px; border: 1px solid var(--line); border-radius: 10px; background: var(--bg); color: var(--ink); font: inherit; }
label.missing input, label.missing textarea, fieldset.missing { border-color: var(--accent); box-shadow: 0 0 0 2px color-mix(in srgb, var(--accent) 30%, transparent); }
label.missing::after { content: " · couldn't read this, please fill it in"; color: var(--accent); }
/* In the narrow date/time pairs the words got in the way: the orange outline alone marks the field there. */
.two label.missing::after { content: none; }
label.missing.soft::after { content: ""; } /* (the orange outline is enough - Elo, 0.4.20) */
fieldset { border: 1px solid var(--line); border-radius: 10px; padding: 8px 10px; margin: 10px 0; } legend { font-size: .85rem; color: var(--muted); padding: 0 4px; }
.two { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.actions { display: flex; justify-content: flex-end; gap: 8px; margin-top: 14px; }
button { font: inherit; cursor: pointer; border-radius: 10px; border: 1px solid var(--line); background: var(--card); color: var(--ink); padding: 10px 14px; }
button.primary { background: var(--accent); color: var(--accent-ink); border-color: var(--accent); font-weight: 600; }
button.ghost { background: transparent; } button.small { padding: 6px 10px; font-size: .85rem; }
button:disabled { opacity: .5; cursor: default; }
.big-btn { display: block; text-align: center; padding: 18px; border: 2px dashed var(--line); border-radius: 14px; font-size: 1.05rem; color: var(--ink); cursor: pointer; margin: 8px 0; }
.or { text-align: center; color: var(--muted); font-size: .85rem; margin: 6px 0; }
.link-row { display: flex; gap: 8px; } .link-row input { margin: 0; flex: 1; }
.note { background: var(--soft); border-radius: 10px; padding: 10px 12px; font-size: .9rem; }
.draft-picture { max-height: 220px; width: 100%; object-fit: contain; border-radius: 10px; background: var(--soft); margin: 6px 0; }
.event img.hero { width: 100%; max-height: 320px; object-fit: contain; border-radius: 12px; background: var(--soft); margin-bottom: 10px; }
.event .line { display: flex; gap: 8px; margin: 6px 0; } .event .line .ico { width: 1.5em; text-align: center; }
.event .desc { white-space: pre-wrap; margin-top: 10px; }
.toast { position: fixed; left: 50%; bottom: calc(84px + env(safe-area-inset-bottom)); transform: translateX(-50%); background: var(--ink); color: var(--bg); padding: 10px 16px; border-radius: 999px; font-size: .95rem; z-index: 5; box-shadow: 0 6px 20px rgba(0,0,0,.3); max-width: 90vw; }
.empty { text-align: center; padding: 40px 16px; color: var(--muted); }
a { color: var(--accent); }

/* Recording the announcements */
.record-btn { border-style: solid; border-color: var(--accent); }
.big-btn.small-btn { padding: 12px; font-size: .95rem; }
.rec-wrap { display: flex; flex-direction: column; align-items: center; gap: 8px; padding: 18px 0 8px; }
.rec-button { width: 88px; height: 88px; border-radius: 50%; border: 3px solid var(--danger); background: var(--card); display: grid; place-items: center; padding: 0; cursor: pointer; transition: transform .15s; }
.rec-button:active { transform: scale(.95); }
.rec-dot { width: 54px; height: 54px; border-radius: 50%; background: var(--danger); transition: border-radius .2s, width .2s, height .2s; }
.rec-button.on .rec-dot { width: 34px; height: 34px; border-radius: 6px; animation: rec-pulse 1.4s ease-in-out infinite; }
@keyframes rec-pulse { 0%, 100% { opacity: 1; } 50% { opacity: .55; } }
.rec-time { font-size: 1.6rem; font-variant-numeric: tabular-nums; letter-spacing: .04em; }
.banner { margin: 4px 16px 6px; background: var(--soft); border: 1px solid var(--line); border-radius: 12px; padding: 10px 12px; display: flex; align-items: center; justify-content: space-between; gap: 10px; cursor: pointer; }
.banner .pill { background: var(--accent); color: var(--accent-ink); }
.heard { background: var(--bg); border: 1px solid var(--line); border-radius: 12px; padding: 10px 12px; margin: 8px 0; }
.heard.done { opacity: .55; }
.heard h3 { font-size: 1rem; margin: 0 0 2px; }
.heard .meta { color: var(--muted); font-size: .9rem; }
.heard .quote { font-size: .88rem; color: var(--muted); font-style: italic; margin: 6px 0; border-left: 3px solid var(--line); padding-left: 8px; }
.heard .status { display: inline-block; font-size: .75rem; font-weight: 600; padding: 2px 8px; border-radius: 999px; margin: 4px 0; }
.status.ready { background: color-mix(in srgb, var(--new) 22%, transparent); color: var(--new); }
.status.needs { background: color-mix(in srgb, var(--accent) 22%, transparent); color: var(--accent); }
.status.duplicate, .status.maybe-duplicate { background: var(--soft); color: var(--muted); }
.status.added { background: var(--new); color: #fff; } .status.skipped { background: var(--soft); color: var(--muted); }
.heard .actions { justify-content: flex-start; margin-top: 8px; flex-wrap: wrap; }
.heard .actions button { padding: 7px 11px; font-size: .9rem; }
.transcript { margin-top: 12px; } .transcript summary { color: var(--muted); font-size: .9rem; cursor: pointer; }
.transcript .desc { max-height: 240px; overflow: auto; margin-top: 6px; color: var(--muted); }
.tools .chip.tool { border-style: solid; color: var(--ink); background: var(--soft); }
.tools .chip.tool.on { background: var(--new); color: #fff; border-color: var(--new); }
.steps { padding-left: 18px; margin: 8px 0 12px; } .steps li { margin: 6px 0; } .steps .ico { margin-right: 6px; }
.qr { display: block; width: 220px; height: 220px; margin: 10px auto; background: #fff; border-radius: 12px; padding: 8px; }
a.big-btn { text-decoration: none; }
.flyer-row { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.flyer-row .big-btn { margin: 8px 0; padding: 16px 10px; font-size: 1rem; }
.remind { margin-top: 10px; }

.notify-how label.opt { display: grid; grid-template-columns: auto 1fr; gap: 10px; align-items: start; padding: 8px 4px; margin: 0; cursor: pointer; font-size: 1rem; color: var(--ink); }
.notify-how label.opt input { width: 20px; height: 20px; margin: 2px 0 0; padding: 0; accent-color: var(--accent); }
.notify-how label.opt b { display: block; }
.notify-how p { margin: 6px 4px 2px; }

/* iPhone date and time fields have a width of their own that pushed them over their neighbour: let grid columns shrink,
   keep fields inside them, and line the text up with the others. */
.two > * { min-width: 0; }
input, textarea { min-width: 0; max-width: 100%; }
input[type=date], input[type=time] { -webkit-appearance: none; appearance: none; min-height: 44px; text-align: left; }
input[type=date]::-webkit-date-and-time-value, input[type=time]::-webkit-date-and-time-value { text-align: left; margin: 0; }

.near-row { display: flex; flex-direction: column; gap: 2px; background: var(--soft); border-radius: 12px; padding: 8px 12px; }
.near-row label { margin: 0; color: var(--ink); font-size: .9rem; }
/* The distance slider (0.4.30: easier to grab): a 44px-tall touch area, a big thumb, a track that fills up to it. */
.near-row input[type=range] { -webkit-appearance: none; appearance: none; display: block; width: 100%; height: 44px; margin: 0; padding: 0; border: 0; background: transparent; cursor: pointer; touch-action: pan-y; --fill: 50%; }
.near-row input[type=range]:focus { outline: none; }
.near-row input[type=range]::-webkit-slider-runnable-track { height: 8px; border-radius: 4px; background: linear-gradient(to right, var(--accent) var(--fill), var(--line) var(--fill)); }
.near-row input[type=range]::-webkit-slider-thumb { -webkit-appearance: none; width: 30px; height: 30px; margin-top: -11px; border-radius: 50%; background: var(--card); border: 3px solid var(--accent); box-shadow: 0 1px 6px rgba(0,0,0,.25); }
.near-row input[type=range]::-moz-range-track { height: 8px; border-radius: 4px; background: var(--line); }
.near-row input[type=range]::-moz-range-progress { height: 8px; border-radius: 4px; background: var(--accent); }
.near-row input[type=range]::-moz-range-thumb { width: 24px; height: 24px; border-radius: 50%; background: var(--card); border: 3px solid var(--accent); box-shadow: 0 1px 6px rgba(0,0,0,.25); }
.near-row input[type=range]:focus-visible::-webkit-slider-thumb { outline: 2px solid var(--ink); outline-offset: 2px; }
/* The ⓘ before "Within", and its pop-up */
.near-head { display: flex; align-items: center; gap: 8px; }
.info-i { flex: none; width: 22px; height: 22px; padding: 0; border-radius: 50%; border: 1.5px solid var(--muted); background: transparent; color: var(--muted); font: italic 700 .8rem/1 Georgia, serif; display: grid; place-items: center; cursor: pointer; touch-action: manipulation; position: relative; }
.info-i::after { content: ''; position: absolute; inset: -11px; } /* (a 44px touch area around the little circle) */
.info-i[aria-expanded="true"] { background: var(--ink); color: var(--card); border-color: var(--ink); }
.info-pop { background: var(--card); color: var(--ink); border: 1px solid var(--line); border-radius: 10px; padding: 8px 10px; margin-top: 6px; font-size: .85rem; box-shadow: 0 4px 14px rgba(0,0,0,.15); }

.hosts-field { margin: 10px 0; } .hosts-field > label { margin: 0 0 4px; }
.host-box { display: flex; flex-wrap: wrap; gap: 6px; align-items: center; border: 1px solid var(--line); border-radius: 10px; background: var(--bg); padding: 6px 8px; }
.host-box #host-pills { display: contents; }
.host-box input { flex: 1; min-width: 8em; border: 0; background: transparent; margin: 0; padding: 6px 4px; }
.host-box input:focus { outline: none; }
.host-box:focus-within { border-color: var(--accent); }
.pill.host { background: var(--ink); color: var(--bg); font-size: .85rem; padding: 4px 10px; text-decoration: none; display: inline-block; }
.pill.host.plain { background: var(--soft); color: var(--ink); }
.pill.host button { background: none; border: 0; color: inherit; opacity: .7; margin-left: 4px; padding: 0; cursor: pointer; font: inherit; }
.hosts-line { display: flex; flex-wrap: wrap; gap: 6px; }

.near-now { padding: 4px 16px 0; }
.near-btn { display: block; width: 100%; padding: 14px; border-radius: 14px; border: 0; background: var(--accent); color: var(--accent-ink); font: inherit; font-size: 1.05rem; font-weight: 600; cursor: pointer; }
.near-btn:disabled { opacity: .7; }
.near-on { margin-top: 8px; font-size: .9rem; color: var(--muted); }
/* The bottom button: save the picks */
.bottom-bar { display: flex; flex-wrap: wrap; gap: 8px; justify-content: center; padding: 18px 16px 6px; }
.bottom-bar .chip { padding: 10px 16px; font-size: .95rem; }
.toast.big { font-size: 1.05rem; padding: 14px 20px; }

[data-studio-hidden] { display: none !important; }
/* Lines and spaces the Studio can put between sections (public/layout.js) */
.studio-divider { border: 0; border-top: 1px solid var(--line); margin: 10px 16px; }
.studio-divider.thick { border-top-width: 3px; } .studio-divider.accent { border-top-color: var(--accent); }
.studio-spacer { height: 16px; } .studio-spacer.tall { height: 40px; }
.verify { display: flex; align-items: center; gap: 10px; margin: 6px 0 4px; }
.verify button.pinned { border-color: var(--new); color: var(--new); }
.actions.tight { margin-top: 8px; }
.tiny { font-size: .72rem; margin-top: 6px; }
.pin-exact { color: var(--new); } .pin-rough { color: var(--accent); }
.empty .other-kinds { margin-top: 14px; color: var(--ink); background: var(--soft); border-radius: 12px; padding: 10px 12px; font-size: .95rem; }

.tiny { font-size: .75rem; }

/* The developer version of the page (a device with the admin key): purple instead of the usual amber, and a toolbar. */
body.dev { --accent: #8b5cf6; --accent-ink: #fff; padding-bottom: 150px; }
body.dev .top { border-bottom: 3px solid #8b5cf6; }
body.dev .version { color: #8b5cf6; font-weight: 700; }
body.dev .fab { bottom: calc(76px + env(safe-area-inset-bottom)); }
.devbar { position: fixed; left: 0; right: 0; bottom: 0; z-index: 5; display: flex; gap: 8px; align-items: center; padding: 10px 14px calc(10px + env(safe-area-inset-bottom)); background: #2a1a5e; color: #fff; box-shadow: 0 -4px 16px rgba(0,0,0,.35); }
.devbar .dev-tag { font-weight: 800; letter-spacing: .08em; font-size: .8rem; background: #8b5cf6; color: #fff; border-radius: 6px; padding: 3px 8px; }
.devbar button { border: 1px solid #8b5cf6; background: transparent; color: #fff; border-radius: 999px; padding: 8px 14px; font: inherit; font-size: .9rem; cursor: pointer; }
.devbar button.on { background: #8b5cf6; }
.devbar button.ghost { margin-left: auto; border-color: #5b4a9a; color: #cfc6ee; }
.dev-note { background: #ede9fe; color: #2a1a5e; border-radius: 10px; padding: 8px 12px; font-size: .85rem; margin: 6px 0; }
@media (prefers-color-scheme: dark) { .dev-note { background: #2a1a5e; color: #ede9fe; } }
.pill.dev { background: #8b5cf6; color: #fff; }
/* An event missing something people can fill in (0.4.10): a red corner tab with a ? on the card */
.card .gap-tab { position: absolute; top: -1px; right: 14px; width: 18px; height: 24px; background: var(--danger); color: #fff; font-size: .8rem; font-weight: 700; text-align: center; line-height: 22px; clip-path: polygon(0 0, 100% 0, 100% 100%, 50% 78%, 0 100%); }
.card.has-badge .gap-tab { right: 60px; }
.banner { display: flex; flex-direction: column; gap: 6px; background: color-mix(in srgb, var(--danger) 10%, var(--card)); border: 1px solid color-mix(in srgb, var(--danger) 40%, transparent); border-radius: 12px; padding: 10px 12px; margin: 0 0 12px; font-size: .92rem; }
.banner .row { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin: 0; width: 100%; }
.banner input[type=time] { width: auto; margin: 0; padding: 6px 8px; }
.by { color: var(--muted); font-size: .85rem; }

/* No double-tap zoom on things you tap (Elo, 0.4.13: seven taps on the version zoomed the page in and out). Pinch zoom
   still works everywhere, for anyone who needs the text bigger. */
button, a, label, input, select, textarea, .chip, .card, .version { touch-action: manipulation; }
.version { -webkit-user-select: none; user-select: none; -webkit-touch-callout: none; cursor: default; }
/* Already on the map? (0.4.12) */
.dupe { border: 1px solid var(--line); border-radius: 12px; padding: 10px 12px; margin: 8px 0; background: var(--bg); }
.dupe .why { color: var(--muted); font-size: .85rem; } .dupe .adds { font-size: .9rem; margin: 6px 0; }
.dupe .actions { justify-content: flex-start; margin-top: 8px; }
/* The history at the bottom of an event */
.history { margin-top: 16px; border-top: 1px solid var(--line); padding-top: 10px; }
.history h4 { margin: 0 0 6px; font-size: .85rem; text-transform: uppercase; letter-spacing: .06em; color: var(--muted); }
.history li { font-size: .85rem; color: var(--muted); margin: 4px 0; } .history li b { color: var(--ink); font-weight: 500; }
.history ul { padding-left: 16px; margin: 0; }

/* The ✕ that closes a sheet without doing anything, top right (Elo, 0.4.16). */
.sheet-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; position: sticky; top: -18px; background: var(--card); padding-top: 4px; z-index: 2; }
.sheet-head h2 { margin: 0; }
.sheet-x { flex: none; width: 40px; height: 40px; border-radius: 50%; border: 1px solid var(--line); background: var(--soft); color: var(--ink); font-size: 1.1rem; line-height: 1; cursor: pointer; }

/* The picture cropper (public/crop.js) */
.crop-stage { position: relative; display: inline-block; max-width: 100%; margin: 6px 0; line-height: 0; touch-action: none; overflow: hidden; border-radius: 8px; }
.crop-stage img { display: block; max-width: 100%; max-height: 52vh; user-select: none; -webkit-user-select: none; -webkit-touch-callout: none; }
.crop-box { position: absolute; border: 2px solid #fff; box-shadow: 0 0 0 9999px rgba(0, 0, 0, .55); cursor: move; touch-action: none; box-sizing: border-box; }
.crop-box i { position: absolute; width: 34px; height: 34px; background: transparent; touch-action: none; }
.crop-box i::after { content: ""; position: absolute; width: 14px; height: 14px; background: var(--accent); border: 2px solid #fff; border-radius: 50%; }
.crop-box i[data-h="nw"] { left: -2px; top: -2px; cursor: nwse-resize; } .crop-box i[data-h="nw"]::after { left: 4px; top: 4px; }
.crop-box i[data-h="ne"] { right: -2px; top: -2px; cursor: nesw-resize; } .crop-box i[data-h="ne"]::after { right: 4px; top: 4px; }
.crop-box i[data-h="sw"] { left: -2px; bottom: -2px; cursor: nesw-resize; } .crop-box i[data-h="sw"]::after { left: 4px; bottom: 4px; }
.crop-box i[data-h="se"] { right: -2px; bottom: -2px; cursor: nwse-resize; } .crop-box i[data-h="se"]::after { right: 4px; bottom: 4px; }
.crop-ratios { margin: 6px 0; }

.pic-tools { margin: 4px 0 8px; }

/* The ✕ on an event, top right, floating over the picture and staying there as it scrolls (Elo, 0.4.20). */
.sheet-x-bar { position: sticky; top: -18px; height: 0; display: flex; justify-content: flex-end; z-index: 3; }
.sheet-x-bar .sheet-x { margin: 0; box-shadow: 0 2px 10px rgba(0,0,0,.25); }
.sheet-x:focus:not(:focus-visible) { outline: none; }

/* Scrolling and zoom (Elo, 0.4.20: zooming in made scrolling stick).
   - Fields at 16px: an iPhone zooms the page in whenever a smaller field is tapped, and leaves it zoomed.
   - While a sheet is open the page behind it doesn't scroll, and the sheet's own scrolling doesn't spill over to it.
   - Sheets size to the screen as it really is (dvh: with the browser's bars and the keyboard), so their end is reachable.
   Pinch zoom stays on, for people who need bigger text. */
input, textarea, select { font-size: 16px; }
body:has(dialog[open]) { overflow: hidden; }
.sheet { max-height: 92dvh; overscroll-behavior: contain; -webkit-overflow-scrolling: touch; }
@supports not (height: 1dvh) { .sheet { max-height: 92vh; } }

/* The refresh button next to the version (Elo, 0.4.21). */
.refresh { border: 0; background: none; color: var(--muted); font-size: 1rem; line-height: 1; padding: 8px 6px; margin: -8px -6px -8px 0; cursor: pointer; touch-action: manipulation; }
.refresh.spin { animation: cg-spin .8s linear infinite; }
@keyframes cg-spin { to { transform: rotate(360deg); } }
.differs { margin: 6px 0; } .differ { border-top: 1px dashed var(--line); padding-top: 6px; margin-top: 6px; }
.differ-field { font-size: .85rem; color: var(--muted); margin-bottom: 4px; }
.choice { display: flex; gap: 8px; align-items: flex-start; margin: 4px 0; font-size: .9rem; color: var(--ink); } .choice input { margin-top: 3px; width: auto; }
.pill.host.mine { cursor: pointer; border: 1px solid var(--new); } .pill.host.mine .x { opacity: .7; margin-left: 2px; }

/* The event sheet: room between the kind pills and the banner under them */
.event .pills { margin-bottom: 4px; }
.event .banner { margin-top: 16px; }
/* The crop icon over the picture: a square with only its corners, bottom right, faded gray */
.hero-wrap { position: relative; margin-bottom: 10px; }
.event .hero-wrap img.hero { display: block; margin-bottom: 0; }
.crop-fab { position: absolute; right: 8px; bottom: 8px; width: 36px; height: 36px; display: grid; place-items: center; padding: 0; border: 0; border-radius: 10px; background: rgba(0, 0, 0, .28); color: rgba(232, 232, 232, .85); cursor: pointer; -webkit-tap-highlight-color: transparent; }
.crop-fab:hover, .crop-fab:active { background: rgba(0, 0, 0, .45); color: #fff; }
.crop-fab:disabled { opacity: .5; }

/* Replace the event's picture (hosts and facilitators), bottom left, faded like the crop icon (Elo, 0.4.24). */
.replace-fab { position: absolute; left: 8px; bottom: 8px; height: 36px; padding: 0 12px; border: 0; border-radius: 10px; background: rgba(0, 0, 0, .28); color: rgba(232, 232, 232, .9); font: inherit; font-size: .85rem; font-weight: 600; cursor: pointer; -webkit-tap-highlight-color: transparent; touch-action: manipulation; }
.replace-fab:hover, .replace-fab:active { background: rgba(0, 0, 0, .45); color: #fff; }
.replace-fab:disabled { opacity: .5; }
.no-hero { margin-bottom: 10px; }
/* Privacy, terms and text sign-up pages */
.legal { max-width: 640px; margin: 0 auto; padding: 16px 16px 40px; }
.legal h1 { font-size: 1.5rem; margin: 8px 0; } .legal h2 { font-size: 1.05rem; margin: 22px 0 6px; }
.legal ul { padding-left: 20px; } .legal li { margin: 6px 0; }
.legal .sms-form { display: flex; flex-direction: column; gap: 12px; margin: 16px 0; }
.legal .consent { display: flex; gap: 10px; align-items: flex-start; color: var(--ink); font-size: .9rem; }
.legal .consent input { width: 22px; height: 22px; margin: 2px 0 0; flex: none; }
.legal-links { text-align: center; margin: 24px 0 8px; font-size: .8rem; color: var(--muted); }
.legal-links a { color: var(--muted); }
body.legal-page { padding-bottom: 24px; }

/* Several pictures being read together (0.4.28) */
.reading-strip { display: flex; gap: 8px; overflow-x: auto; margin-bottom: 10px; }
.reading-strip img { height: 140px; width: auto; border-radius: 10px; flex: none; background: var(--soft); }

/* The kinds of an event, with the edit button beside them (event sheet) */
.kinds-row { display: flex; align-items: flex-start; gap: 8px; }
.kinds-row .pills { flex: 1; }
.kinds-edit { flex: none; width: 28px; height: 28px; padding: 0; border: 1px solid var(--line); border-radius: 50%; background: transparent; color: var(--muted); font-size: .9rem; line-height: 1; cursor: pointer; }
.kinds-edit:hover { color: var(--ink); border-color: var(--muted); }
.kinds-editor { width: 100%; } .kinds-editor .actions { margin-top: 8px; }
