:root{color-scheme:light;--navy:#122a45;--muted:#67777d;--gold:#b8893a;--line:#e1e6e6;--paper:#f7f8f7;--sage:#51745e}*{box-sizing:border-box}body{margin:0;background:var(--paper);color:var(--navy);font:14px/1.5 -apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif}button,input,textarea,select{font:inherit}button,a{touch-action:manipulation}button{cursor:pointer;border:1px solid var(--line);border-radius:9px;background:white;color:var(--navy);padding:9px 14px;font-weight:600}button:hover{background:#edf1ef}button:disabled{opacity:.5;cursor:wait}a{color:inherit}button.primary{background:var(--navy);color:white;border-color:var(--navy)}button.gold{background:#e9d9b8;border-color:#e9d9b8}button.danger{color:#9c352c}input,textarea,select{border:1px solid #ccd5d7;border-radius:8px;padding:10px;width:100%;background:white;color:var(--navy)}textarea{resize:vertical}label{display:block;font-weight:600;margin:14px 0 6px}small,.muted{color:var(--muted)}h1,h2,h3,p{margin-top:0}h1{font-size:32px;letter-spacing:-1.2px;line-height:1.2}h2{font-size:23px;letter-spacing:-.6px}h3{font-size:16px}.brand{font-size:23px;letter-spacing:-1px;font-weight:750;text-decoration:none}.brand span{color:#dfbd7e;font-family:Georgia;font-size:31px;margin-right:7px}.eyebrow{font-size:10px;letter-spacing:2px;text-transform:uppercase;color:var(--muted);font-weight:700}.shell{display:grid;grid-template-columns:238px minmax(0,1fr);min-height:100vh}.sidebar{background:var(--navy);color:white;padding:28px 22px;display:flex;flex-direction:column;gap:30px;position:sticky;top:0;height:100vh;overflow-y:auto}.sidebar .eyebrow,.sidebar small{color:#b2c3ce}.sidebar select{background:#203b53;color:white;border-color:#40576b}.sidebar button{background:transparent;color:white;border:1px solid #4c6174}.sidebar nav{display:grid;gap:8px}.sidebar nav button{text-align:left;border:0}.sidebar nav button.selected{background:#29435b}.sidebar .bottom{margin-top:auto;font-size:12px;overflow-wrap:anywhere}.sidebar .bottom button{margin-top:14px;width:100%}.workspace{min-width:0}.topbar{height:78px;border-bottom:1px solid var(--line);padding:0 34px;display:flex;align-items:center;justify-content:space-between;background:white;gap:16px}.topbar p{margin:0}.status-dot{width:7px;height:7px;display:inline-block;background:#78a186;border-radius:50%;margin-right:7px}.content{padding:34px;max-width:1650px;margin:auto}.heading{display:flex;justify-content:space-between;gap:20px;align-items:center}.stats{display:grid;grid-template-columns:repeat(4,1fr);gap:15px;margin:25px 0}.stat{background:white;border:1px solid var(--line);border-radius:12px;padding:18px}.stat strong{font-size:28px;display:block;letter-spacing:-1px}.stat small{font-size:12px}.toolbar{display:flex;justify-content:space-between;align-items:center;gap:16px;margin:24px 0 16px;flex-wrap:wrap}.toolbar h2{margin:0}.controls{display:flex;gap:7px;align-items:center}.controls select{width:auto}.switch{display:flex;padding:3px;background:#e9edeb;border-radius:10px}.switch button{border:0;background:transparent;font-size:12px}.switch button.active{background:white;box-shadow:0 1px 4px #122a4512}.calendar{display:grid;grid-template-columns:repeat(7,minmax(0,1fr));border:1px solid var(--line);border-radius:12px;background:white;overflow:hidden}.weekday{text-align:center;font-size:11px;color:var(--muted);padding:13px;background:#f0f3f1;font-weight:700;text-transform:uppercase;letter-spacing:1px}.day{min-height:122px;padding:7px;border-right:1px solid var(--line);border-top:1px solid var(--line);min-width:0}.day:nth-child(7n){border-right:0}.day.outside{background:#f9faf9}.day-label{display:flex;justify-content:space-between;align-items:center}.day-number{font-size:12px;padding:3px 7px}.today .day-number{background:var(--navy);color:white;border-radius:50%}.add-day{border:0;background:transparent;padding:0 6px;color:#80938d}.event-chip{display:block;width:100%;text-align:left;border:0;border-left:3px solid #688971;background:#e9f0e9;font-weight:500;font-size:11px;border-radius:4px;margin:5px 0;padding:5px 7px;overflow-wrap:anywhere}.event-chip.draft{background:#fbf2df;border-left-color:var(--gold)}.event-chip.cancelled{background:#f1e9e7;color:#806864;border-left-color:#b19893;text-decoration:line-through}.event-chip span{display:block;font-weight:650}.legend{display:flex;gap:20px;font-size:11px;margin-top:12px;color:var(--muted)}.legend i{width:7px;height:7px;display:inline-block;border-radius:50%;background:var(--sage);margin-right:5px}.legend .draft{background:var(--gold)}.legend .cancelled{background:#b19893}.card{padding:24px;background:white;border:1px solid var(--line);border-radius:12px;margin-top:20px}.empty{padding:45px;text-align:center;color:var(--muted);background:white;border:1px dashed #ccd5d1;border-radius:12px}.list-row{display:grid;grid-template-columns:82px minmax(0,1fr) auto;gap:20px;align-items:center;padding:18px 0;border-bottom:1px solid var(--line)}.list-row:last-child{border:0}.date-box{text-align:center;background:#f1f3ef;border-radius:8px;padding:9px}.date-box b{font-size:24px;display:block}.list-row h3{margin:0 0 4px}.pill{display:inline-block;padding:3px 8px;border-radius:6px;background:#e9f0e9;font-size:11px;font-weight:650}.pill.draft{background:#fbf2df}.pill.cancelled{background:#f1e9e7}.notice{background:#f0f3ef;border:1px solid var(--line);border-radius:9px;padding:12px 15px;font-size:12px;margin:15px 0}.error{color:#9c352c;white-space:pre-wrap}.login{max-width:440px;margin:12vh auto;padding:32px}.login .brand{display:block;margin-bottom:34px}.login button{width:100%;margin-top:22px}.login p{color:var(--muted)}dialog{border:0;border-radius:17px;padding:0;width:min(780px,calc(100% - 28px));max-height:90vh;color:var(--navy);box-shadow:0 28px 100px #10284055}dialog::backdrop{background:#10284088;backdrop-filter:blur(4px)}.dialog-head{padding:23px 27px;border-bottom:1px solid var(--line);display:flex;justify-content:space-between;align-items:center;position:sticky;top:0;background:white;z-index:2}.dialog-head h2{margin:0}.dialog-body{padding:22px 27px}.dialog-foot{display:flex;gap:10px;flex-wrap:wrap;justify-content:flex-end;padding-top:22px;border-top:1px solid var(--line);margin-top:22px}.fields{display:grid;grid-template-columns:1fr 1fr;gap:0 18px}.check{display:flex;align-items:center;gap:9px;font-weight:400}.check input{width:auto}.question{padding:12px;border:1px solid var(--line);border-radius:8px;margin:12px 0}.question label{margin-top:5px}.table-wrap{overflow:auto}table{border-collapse:collapse;width:100%;font-size:12px}th,td{text-align:left;border-bottom:1px solid var(--line);padding:12px;vertical-align:top}th{color:var(--muted);font-size:10px;text-transform:uppercase;letter-spacing:1px}td button{font-size:11px;padding:5px 8px}.answers{max-width:300px;overflow-wrap:anywhere}.answers details{margin-top:6px}.answers summary{cursor:pointer;color:var(--muted)}.detail-meta{display:grid;grid-template-columns:1fr 1fr;gap:18px;margin:20px 0}.detail-meta small{display:block}.prewrap{white-space:pre-wrap;overflow-wrap:anywhere}#toast:not(:empty){position:fixed;bottom:22px;right:22px;max-width:420px;background:var(--navy);color:white;border-radius:10px;padding:14px 20px;z-index:10}.skip{position:fixed;top:-100px;background:white;padding:10px;z-index:30}.skip:focus{top:0}:focus-visible{outline:3px solid var(--gold);outline-offset:3px}[hidden]{display:none!important}
@media(max-width:1050px){.shell{grid-template-columns:190px minmax(0,1fr)}.sidebar{padding:23px 15px}.content{padding:22px}.topbar{padding:0 22px}.stats{gap:9px}.stat{padding:13px}.day{min-height:105px;padding:4px}}
@media(max-width:760px){.shell{display:block}.sidebar{position:static;height:auto;padding:16px;gap:15px}.sidebar .brand{font-size:21px}.sidebar nav{display:flex}.sidebar .bottom{display:flex;justify-content:space-between;align-items:center}.sidebar .bottom button{width:auto;margin:0}.sidebar .context{display:grid;grid-template-columns:1fr auto;gap:10px}.sidebar .context .eyebrow{display:none}.sidebar .context button{padding:6px}.topbar{height:auto;padding:15px 18px;font-size:12px}.content{padding:20px 14px}.heading{align-items:start}h1{font-size:27px}.stats{grid-template-columns:repeat(2,1fr)}.calendar{overflow:auto;grid-template-columns:repeat(7,minmax(85px,1fr))}.calendar-shell{overflow:auto}.day{min-height:120px}.fields,.detail-meta{grid-template-columns:1fr}.dialog-body{padding:18px}.dialog-head{padding:18px}.list-row{grid-template-columns:60px minmax(0,1fr);gap:12px}.list-row>button{grid-column:2;justify-self:start}.toolbar{align-items:start}.controls{flex-wrap:wrap}.login{margin:4vh auto}.notice{font-size:11px}}
@media(prefers-reduced-motion:reduce){*{scroll-behavior:auto!important}}

#ministry-people{margin-top:28px;max-width:950px}#ministry-people .btn{margin:8px 6px 0 0}#ministry-people .input{max-width:550px}#ministry-people p{overflow-wrap:anywhere}#ministry-people>h1{font-size:25px}#people-group{max-width:550px}@media(max-width:760px){.sidebar nav{flex-wrap:wrap}}

.event-tables{margin-top:28px}.event-table-grid{display:grid;gap:18px;grid-template-columns:repeat(auto-fit,minmax(min(100%,360px),1fr))}.event-table-card{padding:20px;border:1px solid #d7e0e5;border-radius:16px;background:#fff;margin:16px 0;min-width:0}.event-table-card h3{margin:6px 0 14px}.table-count strong{font-size:36px;color:#193e57}.event-table-card .controls{flex-wrap:wrap}.event-table-card input,.event-table-card select,.event-table-card textarea{max-width:100%;box-sizing:border-box}.table-qr{max-width:220px}.table-qr svg{width:100%;height:auto}.event-table-card table{font-size:13px}.event-table-card caption{text-align:left;padding:12px 0}.event-table-card th{text-align:left}.event-table-card p{overflow-wrap:anywhere}

@media(max-width:600px){.event-table-card table{width:100%;table-layout:fixed;min-width:0}.event-table-card th,.event-table-card td{padding:10px 4px;font-size:11px;letter-spacing:0;text-transform:none;white-space:normal;overflow-wrap:anywhere}.event-table-card th:first-child{width:36%}.event-table-card .table-wrap{max-width:100%}}

/* Tap/keyboard-accessible contextual help, also used by the organizer guide. */
.admin-help{border:1px solid #cbd9db;border-radius:10px;background:#edf4f3;color:#193249;margin:12px 0;padding:0 14px}
.admin-help summary{cursor:pointer;font-weight:650;padding:13px 0;min-height:44px;line-height:1.4}
.admin-help summary:focus-visible{outline:3px solid #af812b;outline-offset:3px;border-radius:4px}
.admin-help p{margin:0 0 14px;line-height:1.6;max-width:80ch}
.admin-help[open]{background:#f5f8f7}

/* Event announcement workspace */
.msg-workspace{max-width:1000px}.msg-card{padding:24px;margin:18px 0;overflow-wrap:anywhere}.msg-nav,.msg-card .controls{flex-wrap:wrap}.msg-nav{margin:20px 0}.msg-url{overflow-wrap:anywhere;font-size:12px}.msg-card fieldset{border:1px solid var(--line);border-radius:10px;padding:16px;margin:20px 0}.msg-card legend{font-weight:700}.msg-card .check{align-items:flex-start}.msg-delivery{display:flex;gap:24px;flex-wrap:wrap}.msg-delivery dt{font-size:12px;color:var(--muted)}.msg-delivery dd{margin:0;font-weight:650}.msg-entry{border-top:1px solid var(--line);padding:16px 0}.msg-workspace [data-msg-status]{margin:18px 0;min-height:24px}.msg-workspace button{min-height:44px}@media(max-width:600px){.msg-card{padding:16px}.msg-workspace .stats{grid-template-columns:repeat(2,minmax(0,1fr))}.msg-workspace input,.msg-workspace textarea,.msg-workspace select{font-size:16px}.msg-card .check{flex-wrap:wrap}}

.table-count{padding:14px;border-left:4px solid;border-radius:8px;line-height:1.6;font-weight:650}.participation-attention{background:#fff6e3;border-color:#b17a22;color:#614414}.participation-complete{background:#eaf4ef;border-color:#437962;color:#28513d}

.parish-workspace{max-width:1100px}.parish-workspace .card{padding:24px;margin:20px 0;overflow-wrap:anywhere}.parish-workspace .controls{flex-wrap:wrap;margin:14px 0}.parish-workspace .parish-entry{border-top:1px solid var(--line);margin-top:18px;padding-top:18px}.parish-workspace fieldset{border:1px solid var(--line);padding:14px;border-radius:12px;margin:18px 0}.parish-workspace legend{font-weight:700}.parish-workspace .check{display:flex;align-items:flex-start;gap:10px}.parish-workspace .check input{width:auto;flex-shrink:0;margin-top:4px}.parish-workspace .fields{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px}.parish-workspace input,.parish-workspace textarea,.parish-workspace select{min-width:0}.parish-workspace .prewrap{white-space:pre-wrap}.parish-workspace [data-parish-status]{min-height:24px;margin:18px 0}.parish-workspace button{min-height:44px}@media(max-width:600px){.parish-workspace .fields{display:block}.parish-workspace .card{padding:16px}.parish-workspace input,.parish-workspace select,.parish-workspace textarea{font-size:16px}}
