.gathering-workspace{margin:16px 0}.gathering-heading,.gathering-actions{display:flex;align-items:center;justify-content:space-between;gap:12px;flex-wrap:wrap}.gathering-heading h2{margin:4px 0}.gathering-heading p{color:var(--muted);max-width:620px}.gathering-actions{justify-content:flex-start}.gathering-workspace button,.gathering-dialog button,.gathering-dialog input,.gathering-dialog select,.gathering-workspace input,.gathering-workspace select{min-height:44px}.gathering-counts{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px;margin:18px 0}.gathering-counts>div{background:var(--surface-soft,#f2f7fa);padding:14px;border-radius:12px;display:grid;gap:5px}.gathering-counts strong{font-size:24px}.gathering-counts span{color:var(--muted);font-size:13px}.gathering-toolbar,.gathering-form{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px}.gathering-toolbar{margin:16px 0}.gathering-toolbar label,.gathering-form label{display:grid;gap:6px;min-width:0}.gathering-toolbar input,.gathering-toolbar select,.gathering-form input:not([type=checkbox]),.gathering-form select,.gathering-form textarea{width:100%;box-sizing:border-box}.gathering-row{display:flex;justify-content:space-between;align-items:center;gap:16px;padding:16px 0;border-top:1px solid var(--line);overflow-wrap:anywhere}.gathering-row>div{min-width:0}.gathering-row h3{margin:0 0 5px}.gathering-row p{margin:7px 0;color:var(--muted)}.gathering-badges{display:flex;gap:7px;flex-wrap:wrap;margin:10px 0}.gathering-badges span{font-size:12px;border:1px solid var(--line);padding:5px 8px;border-radius:8px;background:var(--surface-soft,#f2f7fa)}.gathering-dialog{width:min(720px,calc(100vw - 24px));max-height:calc(100dvh - 32px);box-sizing:border-box;overflow:auto;border:1px solid var(--line);border-radius:20px;padding:24px;background:var(--surface,#fff);color:var(--ink);overscroll-behavior:contain}.gathering-dialog::backdrop{background:rgba(8,19,29,.55)}.gathering-dialog>header{position:sticky;top:-24px;background:var(--surface,#fff);z-index:1;padding:12px 0;margin-bottom:16px}.gathering-form .full{grid-column:1/-1}.gathering-form .gathering-check{display:flex;align-items:center;gap:10px}.gathering-check input{width:20px;flex:none}.gathering-form fieldset{min-width:0;border:1px solid var(--line);border-radius:12px;padding:14px}.gathering-plan,.gathering-merge-pair article{border:1px solid var(--line);border-radius:12px;padding:14px;margin:10px 0}.gathering-merge-pair{display:grid;grid-template-columns:1fr 1fr;gap:12px}.gathering-dialog details{margin:16px 0}.gathering-dialog summary{min-height:44px;cursor:pointer;padding:12px 0}.gathering-dialog textarea{min-height:90px}.gathering-dialog .error,.gathering-blockers{color:var(--ink);border-left:3px solid #bb7848;padding:12px;background:var(--surface-soft)}#gathering-dialog-status{white-space:pre-wrap;overflow-wrap:anywhere}#gathering-helpers{max-height:200px;overflow:auto}#gathering-helpers [hidden]{display:none}#gathering-matches button{display:block;margin:8px 0;text-align:left;width:100%}#gathering-recovery:not(:empty){padding:14px;border:1px solid var(--line);border-radius:12px;margin:12px 0}.gathering-dialog :focus-visible,.gathering-workspace :focus-visible{outline:3px solid var(--focus,#287b96);outline-offset:3px}@media(max-width:600px){.gathering-counts{grid-template-columns:repeat(2,minmax(0,1fr))}.gathering-form,.gathering-toolbar,.gathering-merge-pair{grid-template-columns:1fr}.gathering-dialog{padding:16px}.gathering-dialog>header{top:-16px}.gathering-row{align-items:flex-start;flex-direction:column}.gathering-row>button{width:100%}}
.gathering-counts{grid-template-columns:repeat(auto-fit,minmax(140px,1fr))}.gathering-count-filter{border:0;padding:0;background:transparent;text-align:left;text-decoration:underline;color:var(--ink);font:inherit;font-size:13px;cursor:pointer}.gathering-match-review{border:1px solid var(--line);border-radius:12px;padding:12px 14px;margin:16px 0}.gathering-match-review summary{min-height:44px;display:list-item;cursor:pointer;padding:10px 0;font-weight:650}.gathering-match-review summary span{display:inline-block;margin-left:6px;padding:2px 8px;border-radius:20px;background:var(--surface-soft);color:var(--ink)}.gathering-match-review>p{color:var(--muted)}.gathering-match-review .gathering-row{padding:12px 0}.gathering-match-review h3{font-size:16px}.gathering-row>.gathering-actions{flex-shrink:0;max-width:100%}.gathering-optional{margin:0!important}.gathering-optional summary{color:var(--ink)}#gathering-dialog-recovery:not(:empty){padding:12px;border:1px solid var(--line);border-radius:12px}@media(max-width:600px){.gathering-counts{grid-template-columns:repeat(2,minmax(0,1fr))}.gathering-row>.gathering-actions{width:100%;gap:8px}.gathering-row>.gathering-actions button{flex:1}}
.gathering-start{margin:18px 0 12px}.gathering-purpose{color:var(--muted);max-width:70ch;line-height:1.6}.gathering-paths{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px;margin:22px 0}.gathering-paths button{display:grid;gap:6px;text-align:left;padding:16px;border:1px solid var(--line);border-radius:12px;background:var(--surface);color:var(--ink);font:inherit;cursor:pointer}.gathering-paths button>span{color:var(--muted);font-size:13px;line-height:1.5}.gathering-paths button[aria-pressed=true]{border-color:var(--accent,#287b96);box-shadow:inset 0 0 0 1px var(--accent,#287b96);background:var(--surface-soft)}.gathering-daily{display:flex;align-items:flex-end;gap:12px;flex-wrap:wrap}.gathering-daily label{display:grid;gap:6px;flex:1;min-width:170px}.gathering-daily input,#gathering-options select{box-sizing:border-box;width:100%}#gathering-options{margin:12px 0;border-bottom:1px solid var(--line);padding-bottom:10px}#gathering-options>summary{cursor:pointer;min-height:44px;padding:12px 0;color:var(--muted)}#gathering-options>label{display:grid;gap:8px;max-width:440px}#gathering-list-title,.gathering-view-help{scroll-margin-top:96px}.gathering-empty{padding:22px;border:1px solid var(--line);border-radius:14px;background:var(--surface-soft);line-height:1.65}.gathering-empty h4{font-size:18px;margin:0 0 12px}.gathering-empty ol{padding-left:20px}.gathering-empty li+li{margin-top:12px}#gathering-load-error{padding:20px;margin:20px 0;border:1px solid var(--line);border-left:4px solid #b67a3d;border-radius:12px;background:var(--surface-soft);line-height:1.6}#gathering-load-error h3{margin-top:0}#gathering-load-error summary{min-height:44px;cursor:pointer}#gathering-workspace [hidden]{display:none!important}#gathering-load-error details p{overflow-wrap:anywhere}.gathering-workspace button:disabled{opacity:.55;cursor:not-allowed}@media(max-width:600px){.gathering-paths{grid-template-columns:1fr;gap:8px}.gathering-paths button{padding:12px 14px;gap:3px}.gathering-start>.primary-btn{flex:1}.gathering-workspace .gathering-heading h2{font-size:26px;line-height:1.2}.gathering-daily{display:grid;grid-template-columns:1fr}.gathering-empty{padding:16px}}

/* Compact Gathering surfaces: primary work stays visible; secondary detail uses native disclosures. */
.gathering-workspace .gathering-heading h2{font-size:24px;line-height:1.25;margin:0 0 6px}.gathering-workspace .gathering-heading p{margin:0;line-height:1.5}.gathering-start{margin:14px 0}.gathering-paths{grid-template-columns:repeat(3,minmax(0,1fr));gap:6px;margin:16px 0}.gathering-paths button{padding:10px 12px;min-height:48px;align-content:center;font-size:13px;line-height:1.35;border-radius:9px}.gathering-paths strong{font-weight:600}.gathering-paths strong span{font-weight:500;font-variant-numeric:tabular-nums}.gathering-daily{display:block}.gathering-daily label{font-size:13px;gap:5px}.gathering-daily input{min-height:44px}#gathering-options{margin:4px 0 10px;padding-bottom:4px}#gathering-options>summary{color:var(--ink);padding:10px 0;min-height:44px;box-sizing:border-box;font-size:13px}#gathering-filter-summary{color:var(--muted);margin-left:8px}#gathering-options>button{margin-top:12px}.gathering-counts{gap:8px;margin:12px 0}.gathering-counts>div{padding:10px;background:transparent;border:1px solid var(--line);border-radius:8px}.gathering-counts strong{font-size:18px}.gathering-match-review{padding:0;border:0;border-bottom:1px solid var(--line);margin:4px 0 10px;border-radius:0}.gathering-match-review summary{font-size:13px;font-weight:500;box-sizing:border-box}.gathering-view-help{font-size:13px;line-height:1.5}#gathering-list-title{font-size:17px;margin:14px 0 8px}.gathering-row{padding:12px 0;gap:10px}.gathering-row h3{font-size:16px}.gathering-row p{font-size:13px;line-height:1.5}.gathering-row small{font-size:12px}.gathering-badges{gap:5px;margin:8px 0}.gathering-badges span{padding:4px 6px;font-size:11.5px}.gathering-empty{padding:16px;font-size:14px}.gathering-empty h4{font-size:17px}.gathering-empty>p{margin:6px 0}.gathering-empty summary{min-height:44px;box-sizing:border-box;padding:10px 0;cursor:pointer}
.gathering-dialog>header{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:12px;align-items:start}.gathering-dialog>header h2{font-size:22px;line-height:1.25;margin:8px 0}.gathering-dialog>header button{min-width:44px}.gathering-dialog details{margin:8px 0}.gathering-dialog summary{box-sizing:border-box;min-height:44px;padding:10px 0;font-size:14px}.gathering-dialog h3{font-size:17px;margin:16px 0 8px}.gathering-plan{padding:12px;margin:8px 0}.gathering-plan>p{margin:8px 0;font-size:14px;line-height:1.5}.gathering-plan-details{border-top:1px solid var(--line)}.gathering-plan-details summary{color:var(--muted);font-size:13px}.gathering-more-actions,.gathering-merge-options{border-bottom:1px solid var(--line);padding-bottom:4px}.gathering-more-actions .gathering-actions,.gathering-merge-options .gathering-actions{padding:6px 0 10px}.gathering-helper-options,.gathering-plan-note-options,.gathering-linked-records,#gathering-completed-plans{border-top:1px solid var(--line)}.gathering-helper-options fieldset{margin:0}.gathering-helper-options summary span{font-size:12px;color:var(--muted);margin-left:8px}.gathering-form>.gathering-helper-options,.gathering-form>.gathering-plan-note-options{margin:0}.gathering-form{gap:12px}.gathering-form>p{font-size:14px;line-height:1.5}.gathering-linked-records ul{font-size:13px;line-height:1.6}
@media(max-width:600px){.gathering-paths{grid-template-columns:repeat(3,minmax(0,1fr))}.gathering-paths button{font-size:12px;padding:8px 6px;min-height:52px}.gathering-start>.primary-btn{flex:0 1 auto}.gathering-workspace .gathering-heading h2{font-size:23px}.gathering-dialog>header h2{font-size:21px}.gathering-dialog .gathering-actions{gap:8px}.gathering-row>button{width:auto;min-width:120px}}
@media(prefers-reduced-motion:reduce){.gathering-workspace *,.gathering-dialog *{scroll-behavior:auto!important;transition:none!important;animation:none!important}}
/* Current people stays compact on landing; disclosure state is controlled by the user. */
#gathering-people{margin-top:12px;border-top:1px solid var(--line)}#gathering-people-summary{cursor:pointer;min-height:64px;padding:12px 0;box-sizing:border-box;scroll-margin-top:96px;overflow-wrap:anywhere}#gathering-people-summary #gathering-list-title{font-size:16px;font-weight:650;margin:0}#gathering-list-count{display:block;font-size:12px;line-height:1.5;color:var(--muted);margin:5px 0 0 16px}.gathering-disclosure-cue{display:inline-block;margin-left:10px;font-size:12px;color:var(--accent,#287b96);text-decoration:underline}#gathering-people:not([open]) .gathering-when-open,#gathering-people[open] .gathering-when-closed{display:none}#gathering-list>.gathering-person-row{display:block;padding:10px 0}#gathering-list .gathering-person-heading{display:flex;justify-content:space-between;align-items:flex-start;gap:12px}#gathering-list .gathering-person-heading>div{min-width:0}#gathering-list .gathering-person-heading button{flex:none;min-height:44px;padding:8px 10px;font-size:12px}#gathering-list .gathering-person-heading h3{margin:0 0 2px;font-size:15px}#gathering-list .gathering-person-states{font-size:12px;line-height:1.45;margin:6px 0}#gathering-list .gathering-person-next p{font-size:13px;line-height:1.45;margin:6px 0;color:var(--ink)}#gathering-list .gathering-person-next strong{font-weight:600}#gathering-list .gathering-person-contact{font-size:12px;line-height:1.4;margin:4px 0 0}
