/* Native hosting shares the site controls and one compact task surface. */
.hub-form{min-width:0;display:grid;gap:18px}
.native-events .native-field{display:grid;gap:6px;min-width:0}
.native-events .native-field label{font-weight:600}
.native-events .native-field :is(input,select,textarea){width:100%;min-width:0;box-sizing:border-box;min-height:44px;font:inherit;padding:10px 12px;background:var(--surface-2);color:var(--ink);border:1px solid var(--ink-faint);border-radius:3px}
.native-events .native-field :is(input,select,textarea):focus-visible{outline:2px solid var(--accent);outline-offset:3px}
.native-events .native-field textarea{resize:vertical}
.native-events .shared-card{margin-block:20px}
.native-events .hub-form{max-width:760px}
.native-events .shared-actions{display:flex;flex-wrap:wrap;gap:10px;margin-block:12px}
.native-host-tools,.native-series,.native-saved-plan{border-top:1px solid var(--line);margin-block:20px;padding-block:12px}
.native-events summary{cursor:pointer;min-height:44px;align-content:center}
.native-fortnight{margin-block:28px}
.native-schedule-row{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:4px 24px;border-top:1px solid var(--line);padding-block:18px}
.native-schedule-row :is(h3,p){margin:0;grid-column:1}
.native-schedule-row h3{font-size:20px}
.native-schedule-row .shared-link{grid-column:2;grid-row:1/4;align-self:center}
.native-planning-chips{grid-column:1/-1;display:flex;flex-wrap:wrap;gap:8px;list-style:none;padding:0;margin:8px 0 0;font-size:var(--text-label);font-variant-numeric:tabular-nums}
.native-planning-chips li{border:1px solid var(--line);background:var(--surface-1);padding:4px 10px;border-radius:3px}
.native-signup-list{padding-left:1.5rem;display:grid;gap:.65rem}
.native-signup-list li strong,.native-signup-list li span{display:block}
.native-signup-roster .hint{margin:.25rem 0}
.native-event-menu{border-block:1px solid var(--line);margin-block:20px;padding-block:8px}
.native-event-menu>summary{color:var(--ink-muted)}
.native-event-menu[open]>summary{margin-bottom:16px;color:var(--ink)}
.native-event-menu>.shared-link{display:inline-flex;margin:0 10px 12px 0}
.native-response-options{display:grid;gap:12px;max-width:65ch;margin-block:16px}
.native-detail-host{border-top:1px solid var(--line);padding-top:20px;margin-top:20px}
.native-draft-publish{margin-block:20px;padding:20px;background:var(--surface-1);border:1px solid var(--line-strong)}
.native-draft-publish>h2{margin-top:0}
.native-host-actions>:first-child{flex-basis:100%;justify-content:center}
.native-host-actions>:not(:first-child){flex:1;justify-content:center}
.native-host-results .shared-link{display:inline-flex;margin:8px 16px 8px 0}
.native-attendance:focus,.native-host-roster:focus{outline:2px solid var(--accent);outline-offset:4px}
@media(min-width:701px){.native-host-actions>:first-child{flex-basis:auto}.native-host-actions>:not(:first-child){flex:none}}
.native-events .native-signup-roster .hint:last-child{font-size:.9rem;font-variant-numeric:tabular-nums}
button.secondary.native-response-selected{background:var(--surface-3);border-color:var(--ink-muted);font-weight:650}
.native-attendance{margin-block:28px;border-top:1px solid var(--line);padding-top:20px}
.native-attendance-counts{font-variant-numeric:tabular-nums}
.native-attendance-list{max-width:900px}
.native-attendance-row{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:6px 20px;border-top:1px solid var(--line);padding-block:20px}
.native-attendance-row>h3{font:600 19px/1.4 var(--font-ui);margin:0;overflow-wrap:anywhere}
.native-attendance-row>p{margin:0;grid-column:1}
.native-attendance-row>.native-attendance-state{grid-column:2;grid-row:1;text-align:right;font-weight:600}
.native-attendance-row>.native-attendance-actions{grid-column:2;grid-row:2/4;align-self:start;margin:0}
.native-attendance-row>.shared-actions:not(.native-attendance-actions){grid-column:1/-1;margin:0}
.native-attendance-options{grid-column:1/-1}
.native-attendance-options>button{margin:6px 12px 6px 0;min-height:44px}
.native-attendance-options>summary{color:var(--ink-muted)}
@media(max-width:700px){.native-attendance-row{column-gap:12px}.native-attendance-row>.native-attendance-actions{grid-column:1/-1;grid-row:auto;margin-block:6px}.native-attendance-options>summary{font-size:15px}}
@media(max-width:700px){.native-schedule-row{grid-template-columns:minmax(0,1fr);gap:8px}.native-schedule-row .shared-link{grid-column:1;grid-row:auto;justify-self:start}.native-events .native-field :is(input,select,textarea){font-size:16px}}
/* Event tasks keep one visible destination; rare changes stay in event options. */
.native-field-error{color:var(--bad);margin:8px 0 0}
.native-field [aria-invalid=true]{border-color:var(--bad)}
.native-planning-action{margin:20px 0}
.native-host-roster{margin:24px 0;padding-block:20px;border-top:1px solid var(--line)}
.event-history-filters{display:flex;gap:16px;flex-wrap:wrap;margin-block:20px}
.event-history-filters label{display:flex;flex-direction:column;gap:6px;min-width:0}
.event-history-filters label:first-child{flex:1 1 220px}
.event-history-filters input,.event-history-filters select{min-height:44px;max-width:100%;box-sizing:border-box}
.event-history-pages{display:flex;align-items:center;gap:12px;flex-wrap:wrap;margin-block:20px}
.event-history-pages span{color:var(--ink-muted)}
/* Host status under the event title: Discord post, reminders and their switch (plan events-discord 5d). */
.native-host-status{display:grid;gap:12px}
.native-host-status p{margin:0;max-width:72ch}
.native-status-reminders{display:grid;gap:4px}
.native-status-reminders strong{color:var(--accent);font-weight:650;font-variant-numeric:tabular-nums}
.native-status-reminders .setting-switch{justify-self:start;margin-top:4px}
.native-publishing{display:grid;gap:6px}
.native-publishing p{margin:0;max-width:72ch}
.native-reminder-hint{margin-top:4px}
.native-host-status .shared-actions:empty{display:none}
.native-inline-link{color:var(--accent);text-underline-offset:3px}
/* The Discord route sits beside the answers as an alternative, not a fifth answer. */
a.shared-link.native-answer-discord{border-color:transparent;background:transparent;color:var(--accent)}
/* Job #2178: the templates page is one card, its fields side by side at desktop; the artwork and Save sit beside them. */
.native-events .native-template-editor .hub-form{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:var(--space-3) var(--space-4);align-items:start}
.native-events .native-template-editor .hub-form>:is(.native-field:has(textarea),.native-artwork-preview,p,button){grid-column:1/-1}
.native-events .native-template-editor .hub-form>button{justify-self:start}
.native-events .native-template-editor .native-artwork-preview:empty{display:none}
@media(max-width:700px){.native-events .native-template-editor .hub-form{grid-template-columns:minmax(0,1fr)}}
/* Job #2178: the event page's answers are the set's one-press choice; Answer in Discord follows them; the private
   note and Clear answer belong to the same card. Ask an officer is one destination row at the end. */
html body .native-events .native-answer-choices.sy-choice{display:grid;grid-template-columns:repeat(auto-fit,minmax(104px,1fr));max-width:640px}
html body .native-events .native-answer-choices.sy-choice>button{width:auto;min-height:52px}
html body .native-events a.native-answer-discord{display:inline-flex;width:auto;margin-top:var(--space-3)}
html body .native-events .native-response-options{margin-block:var(--space-4) 0}
html body .officer-help.sy-row{margin:var(--space-5) 0 0;max-width:640px}
html body .officer-help .officer-help-mark{position:relative;width:32px;height:32px}
html body .officer-help .officer-help-mark::after{content:'';position:absolute;inset:6px;background:var(--ink-muted);-webkit-mask:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M21 12a8 8 0 0 1-11.6 7.1L4 20l1-4.5A8 8 0 1 1 21 12z'/%3E%3C/svg%3E") center/20px 20px no-repeat;mask:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M21 12a8 8 0 0 1-11.6 7.1L4 20l1-4.5A8 8 0 1 1 21 12z'/%3E%3C/svg%3E") center/20px 20px no-repeat}
html body .native-events a.native-answer-discord{max-width:100%;min-width:0;box-sizing:border-box}
@media(max-width:560px){html body .native-events .native-answer-choices.sy-choice{grid-template-columns:repeat(2,minmax(0,1fr))}}
html body .native-events .hub-form>a.native-answer-discord{justify-self:start;width:auto}
/* Review 1 (job #2178): the event page is one lit card (your answer) under the banner, with Event options as a side
   column of places at desktop and below it on a phone. */
html body .native-events>section.shared-card:has(>.native-answer-choices),html body .native-events>section.shared-card:has(.native-answer-choices){border-color:color-mix(in srgb,var(--accent) 55%,var(--line-strong));box-shadow:inset 0 0 0 1px color-mix(in srgb,var(--accent) 30%,transparent)}
html body .native-events .native-event-menu{display:flex;flex-direction:column;align-items:stretch;gap:var(--space-2)}
html body .native-events .native-event-menu>h2{margin:0 0 var(--space-1)}
html body .native-events .native-event-menu>:is(a.sy-btn,button.sy-btn){justify-content:center;margin:0}
html body .native-events .native-event-menu>.officer-help.sy-row{margin:0;max-width:none}
html body .native-events .native-event-menu a.native-answer-discord{margin:0;width:auto;max-width:none}
@media(min-width:1024px){
 html body .native-events:has(>.native-event-menu):not(:has(>.native-detail-host)){display:grid;grid-template-columns:minmax(0,1fr) 340px;column-gap:var(--space-6);align-items:start}
 html body .native-events:has(>.native-event-menu):not(:has(>.native-detail-host))>*{grid-column:1;min-width:0}
 html body .native-events:has(>.native-event-menu):not(:has(>.native-detail-host))>:is(.sy-back,.shared-heading){grid-column:1/-1}
 html body .native-events:has(>.native-event-menu):not(:has(>.native-detail-host))>.native-event-menu{grid-column:2;grid-row:3/span 12;margin-top:0;padding-top:0;border-top:0}
}
/* Review 1 (job #2178): the templates form's known lists are one press; answer choices are chips. */
html body .native-events .native-choice.sy-choice{grid-template-columns:repeat(auto-fit,minmax(120px,1fr));margin:0}
html body .native-events .native-choice.sy-choice>button{min-height:44px;font-size:var(--text-label)}
html body .native-events .native-chips{display:grid;gap:var(--space-2)}
html body .native-events .native-chip-list{display:flex;flex-wrap:wrap;gap:var(--space-2);margin:0;padding:0;list-style:none}
html body .native-events .native-chip.sy-chip{display:inline-flex;align-items:center;gap:var(--space-1);height:auto;min-height:36px;padding:0 0 0 var(--space-3);font-size:var(--text-label)}
html body .native-events .native-chip-remove{min-width:36px;min-height:36px;padding:0;border:0;background:none;color:var(--ink-muted);font-size:18px;cursor:pointer}
html body .native-events .native-chip-remove:disabled{opacity:.35;cursor:default}
html body .native-events .native-chip-add{display:flex;gap:var(--space-2)}
html body .native-events .native-chip-add>input{flex:1 1 auto}
@media(min-width:1024px){html body .native-events:has(>.native-event-menu):not(:has(>.native-detail-host))>.sy-back{justify-self:start}}
html body .native-events .native-choice.native-choice--compact{grid-template-columns:repeat(auto-fit,minmax(64px,1fr))}
/* Review 2 (job #2178): the templates card uses its width; the artwork is a framed thumbnail; Time zone is drawn
   like every other field. */
html body .native-events .native-template-editor .hub-form{max-width:none}
html body .native-events .native-template-editor .native-artwork-preview{display:flex;align-items:center;gap:var(--space-3)}
html body .native-events .native-template-editor .native-artwork-preview>.native-type-art{flex:none;width:240px;max-width:45%;aspect-ratio:16/9;max-height:none;margin:0;border:1px solid var(--line-strong);border-radius:var(--radius-control)}
html body .native-events .native-template-editor .native-artwork-preview>.native-event-type{margin:0}
html body :is(.native-events,.sy-events-host-panel) .choice-picker>label{font:600 var(--text-small)/1.3 var(--font-ui);color:inherit}
html body :is(.native-events,.sy-events-host-panel) .choice-picker>.picker-open{display:flex;align-items:center;justify-content:space-between;width:100%;min-height:44px;padding:10px 12px;background:var(--surface-2);color:var(--ink);border:1px solid var(--ink-faint);border-radius:3px;font:inherit;text-align:left}
html body .native-events p.native-publishing{margin:0 0 var(--space-3)}
/* Review 2: the template's options appear under Available once it is pressed or saved. */
html body .native-events .native-answer-sub.sy-choice{grid-template-columns:repeat(auto-fit,minmax(104px,1fr));max-width:640px;margin-top:var(--space-2)}
html body .native-events .native-answer-sub:not(.is-open){display:none}
html body .native-events .native-answer-choices:has(>[data-response=GOING][aria-pressed=true])+.native-answer-sub{display:grid}
html body .native-events .native-answer-sub:empty{display:none}
/* Review 3: inside the Events host panel the Time zone field matches Event type and Repeat exactly. */
html body .sy-events-host-panel .choice-picker>.picker-open{height:50px;min-height:50px;background:var(--surface-1)}
html body .sy-events-host-panel .choice-picker>label{font-size:.8em}
@media(max-width:560px){html body .native-events .native-answer-choices.sy-choice{grid-template-columns:repeat(3,minmax(0,1fr))}html body .native-events .native-answer-choices.sy-choice>button{padding:0 var(--space-1)}}
