/* Homepage layout and spacing (November 2, 2026).
   One spacing scale: 32px between sections (24px on phones), 12px between a label and its box
   and between stacked boxes, 16px inside boxes.
   Wide screens: events on the left, Primary news on the right. Phones: news below the events. */
.home-layout{display:grid;grid-template-columns:minmax(0,1fr);gap:0;padding-top:32px;padding-bottom:8px}
.home-main,.home-aside{min-width:0}
.home-main>section,.home-aside>section{margin:0 0 32px;padding:0;background:transparent;border:0;border-radius:0}
main.home-main>.home-block:first-child{margin-top:0}
.home-layout .cal-toprow{margin:0 2px 12px;min-height:21px}
.home-layout .cal-panel{margin:0}
.home-layout .cal-subscribe-area:not(:empty){display:flex;flex-direction:column;gap:12px;margin-top:12px}
.home-layout .cal-subscribe{margin:0}
.home-layout .cal-subscribe+.cal-subscribe{margin-top:0}
.home-layout .cal-subscribe>p:last-child{margin-bottom:0}
@media(min-width:980px){
 .home-layout{grid-template-columns:minmax(0,1fr) 330px;column-gap:32px;align-items:start}
}

/* News lists */
.news-block .events-title{font:650 12px/1.5 system-ui,-apple-system,BlinkMacSystemFont,'Segoe UI',sans-serif;letter-spacing:.15em;text-transform:uppercase;color:#947641;margin:0}
.news-panel{padding:6px 16px}
.news-intro{margin:10px 0 2px;font-size:13.5px;color:#536174}
.news-intro a{color:#203756;font-weight:600}
.news-list{list-style:none;margin:0;padding:0}
.news-item+.news-item{border-top:1px solid #e6e8ec}
.news-link{display:flex;flex-direction:column;gap:4px;padding:12px 0;text-decoration:none;color:#203756}
.news-title{font:700 16px/1.35 Georgia,"Times New Roman",serif}
.news-link:hover .news-title,.news-link:focus-visible .news-title{text-decoration:underline;text-underline-offset:3px}
.news-preview{font-size:14px;line-height:1.5;color:#3c4a5c}
.news-source{font-size:12px;line-height:1.4;color:#6b7686}
.news-item.is-featured .news-link{margin:10px -6px 0;padding:14px 12px;background:#fffcf4;border:1px solid #ead9b0;border-radius:10px}
.news-item.is-featured+.news-item{border-top:0}
.news-item.is-featured .news-title{font-size:18px}
.news-flag{align-self:flex-start;font-size:11.5px;font-weight:700;padding:3px 9px;border-radius:999px;background:#f3e3bb;color:#6e5114}
.news-checked{margin:-20px 2px 32px;font-size:12px;color:#6b7686}
@media(max-width:640px){
 .home-layout{padding-top:24px}
 .home-main>section,.home-aside>section{margin-bottom:24px}
 .news-panel{padding:4px 12px}
 .news-checked{margin:-12px 2px 24px}
}

/* Header Log out button (homepage) */
button.site-tab{cursor:pointer}
.site-tab.site-logout[hidden]{display:none}
.site-tab.site-logout{background:transparent;border-color:#a9c6e3;box-shadow:none}

/* Leaders page: title, name, Refresh and Log out on one line (wraps on narrow screens) */
.leaders-top{display:flex;align-items:center;justify-content:space-between;gap:12px 20px;flex-wrap:wrap;margin:0 0 20px}
.leaders-top .leaders-title{margin:0}
.leaders-bar{display:flex;align-items:center;gap:8px;flex-wrap:wrap}
.leaders-bar[hidden]{display:none}
.leaders-bar label{display:inline;margin:0 2px 0 0;font:600 14px/1.2 system-ui,-apple-system,"Segoe UI",sans-serif;color:#203756}
.leaders-bar input{width:170px;margin:0;padding:8px 10px;border:1px solid #a8afba;border-radius:6px;font:15px/1.2 system-ui,-apple-system,"Segoe UI",sans-serif;color:#203756;background:#fff}
.leaders-bar .button{margin:0;padding:8px 14px;font-size:14px;border-radius:6px;background:#fff;cursor:pointer}
@media(max-width:640px){.leaders-bar{width:100%;flex-wrap:nowrap}.leaders-bar label{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0)}.leaders-bar input{flex:1;min-width:0;width:auto}.leaders-bar .button{padding:8px 11px;white-space:nowrap}}

/* Children and Youth program summary (November 3, 2026). Collapsed sections inside one homepage panel. */
.cy-flag{display:inline-block;margin:0 0 10px;font-size:11.5px;font-weight:700;padding:3px 10px;border-radius:999px;background:#f3e3bb;color:#6e5114}
.cy-panel details.cy-fold{margin:10px 0 0;border-radius:10px}
.cy-panel details.cy-fold>summary{padding:13px 44px 13px 16px;font-size:16px}
.cy-panel details.cy-fold>summary::after{right:15px;top:9px}
.cy-body{padding:4px 16px 6px}
.cy-body ul{margin:8px 0;padding-left:20px}
.cy-body li{margin:8px 0;font-size:15px;line-height:1.55;color:#3c4a5c}
.cy-body li strong{color:#203756}
.cy-body a,.cy-note a{color:#203756;font-weight:600}
.cy-res-label{margin:18px 0 8px;font:650 12px/1.5 system-ui,-apple-system,"Segoe UI",sans-serif;letter-spacing:.12em;text-transform:uppercase;color:#947641}
.cy-links{display:flex;flex-wrap:wrap;gap:8px}
.cy-links a{display:inline-block;padding:7px 13px;border:1px solid #c2aa73;border-radius:999px;font-size:14px;font-weight:600;color:#203756;text-decoration:none;background:#fff}
.cy-links a:hover,.cy-links a:focus-visible{background:#fffcf4;text-decoration:underline;text-underline-offset:3px}
.cy-note{margin:14px 0 0;font-size:12.5px;color:#6b7686}
@media(max-width:640px){.cy-body{padding:2px 12px 4px}.cy-panel details.cy-fold>summary{padding:12px 40px 12px 13px;font-size:15.5px}}
.cy-flyer{display:flex;gap:16px;align-items:center;margin:16px 0 0;padding:12px;border:1px solid #ead9b0;border-radius:10px;background:#fffcf4;text-decoration:none;color:#203756}
.cy-flyer img{flex:0 0 auto;width:96px;height:auto;border:1px solid #dddfe3;border-radius:4px;background:#fff;box-shadow:0 1px 3px rgba(32,55,86,.12)}
.cy-flyer-text{display:flex;flex-direction:column;gap:4px}
.cy-flyer-title{font:700 17px/1.3 Georgia,"Times New Roman",serif}
.cy-flyer-note{font-size:14px;line-height:1.5;color:#3c4a5c}
.cy-flyer-action{font-size:14px;font-weight:650;color:#203756}
.cy-flyer:hover .cy-flyer-action,.cy-flyer:focus-visible .cy-flyer-action{text-decoration:underline;text-underline-offset:3px}
@media(max-width:640px){.cy-flyer{gap:12px;padding:10px}.cy-flyer img{width:76px}}
.cy-lead{margin:10px 0;font-size:15px;line-height:1.55;color:#3c4a5c}
.cy-steps{list-style:none;margin:10px 0;padding:0;counter-reset:cy}
.cy-steps li{position:relative;margin:0 0 10px;padding:10px 12px 10px 46px;border:1px solid #eee5d4;border-radius:8px;background:#fffdf8;counter-increment:cy}
.cy-steps li::before{content:counter(cy);position:absolute;left:12px;top:10px;width:24px;height:24px;border-radius:50%;background:#203756;color:#fff;font:700 13px/24px system-ui,sans-serif;text-align:center}
.cy-when{display:block;font:650 12px/1.5 system-ui,-apple-system,"Segoe UI",sans-serif;letter-spacing:.06em;text-transform:uppercase;color:#947641;margin-bottom:3px}
.cy-what{display:block;font-size:15px;line-height:1.55;color:#3c4a5c}
.cy-what strong{color:#203756}
.cy-what a{color:#203756;font-weight:600}

/* Children and Youth page (/children-and-youth/, November 3, 2026) */
.cy-wrap{max-width:860px;padding-top:28px;padding-bottom:36px}
.cy-page .cal-toprow{margin:0 2px 12px}
.cy-back{font-size:14px;font-weight:650;color:#203756;text-decoration:none}
.cy-back:hover,.cy-back:focus-visible{text-decoration:underline;text-underline-offset:3px}
.cy-page-title{font-size:28px;margin:0 0 10px}
@media(max-width:640px){.cy-wrap{padding-top:20px}.cy-page-title{font-size:23px}}

/* Homepage Announcement: several announcements in one panel, separated by a thin line (November 3, 2026) */
.ann-item+.ann-item{margin-top:20px;padding-top:20px;border-top:1px solid #eee5d4}
.ann-item>:last-child{margin-bottom:0}

/* Shared header tabs on every page (November 3, 2026). Long label on wide screens, short on phones. */
.site-tab .tab-short{display:none}
@media(max-width:640px){
 .site-tabs{flex-wrap:wrap;gap:5px}
 .site-tab{padding:7px 9px;font-size:13.5px}
 .site-tab .tab-long{display:none}
 .site-tab .tab-short{display:inline}
}

/* Header Leaders log in button (November 3, 2026) */
.site-tab.site-login[hidden]{display:none}
.site-tab.site-login{background:transparent;border-color:#a9c6e3;box-shadow:none;cursor:pointer}
.site-header .vc-dialog label{display:block;font-weight:600;margin:12px 0 5px}
.site-header .vc-dialog input{width:100%;padding:12px;border:1px solid #a8afba;border-radius:6px;font:inherit}

/* Valiant Committee page (/valiant-committee/, November 3, 2026) */
.vc-wrap{padding-top:32px;padding-bottom:8px}
.vc-wrap .events-title{margin:0}
.vc-h2,.event-list .vc-h2{font:700 19px/1.3 Georgia,"Times New Roman",serif;color:#203756;margin:22px 0 6px}
.home-panel>.vc-h2:first-child,.todo-top .vc-h2{margin-top:0}
#vc-leaders[hidden]{display:none}
.sr-only{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0);white-space:nowrap}

/* Compact to-do list: one line per task, assignee in parentheses */
.todo-top{display:flex;align-items:center;justify-content:space-between;gap:8px 16px;flex-wrap:wrap;margin-bottom:6px}
.todo-me{display:flex;align-items:center;gap:8px;font:600 13px/1.2 system-ui,-apple-system,"Segoe UI",sans-serif;color:#536174}
.todo-me input{width:150px;margin:0;padding:6px 9px;border:1px solid #c8ccd3;border-radius:6px;font:14px/1.2 system-ui,-apple-system,"Segoe UI",sans-serif;color:#203756;background:#fff}
.todo-compact{list-style:none;margin:0;padding:0}
.todo-row{display:grid;grid-template-columns:22px minmax(0,1fr) auto 18px;gap:10px;align-items:center;padding:6px 0;border-bottom:1px solid #f0ebe0;font-size:15px;line-height:1.4}
.todo-row:last-child{border-bottom:0}
.todo-check{width:22px;height:22px;padding:0;border-radius:50%;border:1px solid #c2aa73;background:#fff;display:grid;place-items:center;font:600 11px/1 system-ui,sans-serif;color:#947641;cursor:pointer}
.todo-check:hover{background:#fffcf4}
.todo-row.is-done .todo-check{background:#c2aa73;color:#fff}
.todo-text{min-width:0;color:#203756}
.todo-row.is-done .todo-label{color:#8a93a0;text-decoration:line-through}
.todo-who{border:0;background:none;padding:0;font:inherit;font-size:14px;color:#6b7686;cursor:pointer}
.todo-who:hover,.todo-who:focus-visible{color:#203756;text-decoration:underline;text-underline-offset:3px}
.todo-who.is-empty{font-style:italic;color:#9aa3ae}
.todo-who-edit{width:130px;margin:0;padding:2px 6px;border:1px solid #c2aa73;border-radius:5px;font:14px/1.3 system-ui,-apple-system,"Segoe UI",sans-serif}
.todo-doneby{font-size:12px;font-weight:700;letter-spacing:.04em;color:#5c7a4a}
.todo-due{position:relative}
.todo-date{border:0;background:none;padding:2px 4px;border-radius:5px;font:600 13px/1.3 system-ui,-apple-system,"Segoe UI",sans-serif;color:#203756;white-space:nowrap;cursor:pointer}
.todo-date:hover,.todo-date:focus-visible{background:#f3f6fa}
.todo-date.is-empty{font-weight:500;color:#9aa3ae}
.todo-date.is-overdue{color:#a33a2b}
.todo-row.is-done .todo-date{color:#9aa3ae}
.todo-date-input{position:absolute;right:0;bottom:0;width:1px;height:1px;opacity:0;border:0;padding:0;pointer-events:none}
.todo-del{border:0;background:none;padding:0;font-size:17px;line-height:1;color:#9aa3ae;cursor:pointer}
.todo-del:hover,.todo-del:focus-visible{color:#a33a2b}
.todo-empty{padding:8px 0;color:#6b7686;font-size:14px}
.todo-add{display:flex;gap:6px;flex-wrap:wrap;margin:10px 0 0}
form.todo-add input:not([type=checkbox]){width:auto;margin:0;padding:7px 9px;border:1px solid #c8ccd3;border-radius:6px;font:14px/1.2 system-ui,-apple-system,"Segoe UI",sans-serif;color:#203756;background:#fff}
form.todo-add #vc-add-label{flex:1 1 220px;min-width:0}
form.todo-add #vc-add-due{flex:0 0 auto}
form.todo-add #vc-add-who{flex:0 1 120px;min-width:90px}
.todo-add .button{margin:0;padding:7px 14px;font-size:14px;border-radius:6px}
.todo-status{min-height:18px;margin:6px 0 0;color:#a33a2b}
@media(max-width:640px){
 .vc-wrap{padding-top:24px}
 .todo-row{grid-template-columns:22px minmax(0,1fr) auto 16px;gap:8px;font-size:14.5px}
 .todo-me input{width:130px}
}


/* Leaders tools at the bottom of the homepage (November 3, 2026; styles carried over from the retired Leaders page) */
#private[hidden]{display:none}
.leaders-home textarea{width:100%;font:inherit;padding:12px;border:1px solid #a8afba}
.leaders-home #events>details{padding:25px 0}
.leaders-home .event-meta{display:block;margin-top:8px}
.leaders-home .task-list{margin:15px 0}
.leaders-home .task{display:flex;gap:12px;align-items:flex-start;padding:10px 0}
.leaders-home .task input{margin-top:6px;width:18px;height:18px}
.leaders-home .inline-form{display:flex;gap:12px;margin:15px 0}
.leaders-home .inline-form input{flex:1;min-width:0}
.leaders-home .inline-form button{white-space:nowrap}
.leaders-home [type=file]{margin:8px 0}
.leaders-home #events h3{margin-top:30px}
.leaders-home #events button{margin:5px 0}
.leaders-home .leader-identity input,.leaders-home .task-assignment input{padding:9px;font:inherit;border:1px solid #a8afba;border-radius:4px}
.leaders-home .task-row{padding:14px 0;border-bottom:1px solid #dddfe3}
.leaders-home .task-row p{font-size:14px;margin:4px 0}
.leaders-home .task-controls{display:flex;flex-wrap:wrap;gap:8px;align-items:center}
.leaders-home .task-controls .button{padding:8px 10px;font-size:13px}
.leaders-home .task-assignment{display:flex;gap:8px;flex:1;min-width:200px}
.leaders-home .task-assignment input{flex:1;min-width:0;width:100px}
.leaders-home .button:disabled{opacity:.45;cursor:default}
.leaders-home .cal-toprow.leaders-top{margin:0 2px 12px}
.leaders-home .leaders-bar label{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0)}
.leaders-home details{margin:12px 0 0}
.leaders-home #status:empty{display:none}

/* Wider pages with two columns on large screens (November 3, 2026) */
@media(min-width:1200px){
 .wrap{max-width:1360px}
 .footer-inner{max-width:1360px}
 .home-layout{grid-template-columns:minmax(0,1fr) 380px;column-gap:40px}
}
.cy-wrap{max-width:1360px}
.two-col{display:grid;grid-template-columns:minmax(0,1fr);gap:0 32px;align-items:start}
.two-col>*{min-width:0;margin:0 0 32px}
.cy-side .cy-flyer-side{margin-top:0}
@media(min-width:980px){
 .two-col{grid-template-columns:minmax(0,1fr) 340px}
 .cy-side{position:sticky;top:20px}
 .cy-side .cy-flyer-side{flex-direction:column;align-items:flex-start}
 .cy-side .cy-flyer-side img{width:150px}
}
/* Valiant page: logged out = one column; leaders = to-do list on the left, agendas and leader documents on the right */
.vc-grid{display:grid;grid-template-columns:minmax(0,1fr);gap:0 32px;align-items:start}
.vc-grid>section{margin:0 0 32px;min-width:0}
.vc-grid>section[hidden]{display:none}
.todo-hint{margin:0;font-size:13px;color:#6b7686}
@media(min-width:980px){
 body.is-leader .vc-grid{grid-template-columns:minmax(0,1.55fr) minmax(0,1fr)}
 body.is-leader #vc-leaders{grid-column:1;grid-row:1 / span 2}
 body.is-leader #valiant{grid-column:2;grid-row:1}
 body.is-leader #vc-leader-docs{grid-column:2;grid-row:2}
 body.is-leader .vc-grid .doc-grid{grid-template-columns:repeat(auto-fill,minmax(130px,1fr));gap:16px}
}

/* Fast-Sunday lessons feature box on the Children and Youth page (November 3, 2026) */
.fs-box{margin:16px 0 4px;padding:16px 18px;border-radius:10px;background:#eef5fc;border:1px solid #a9c6e3}
.fs-label{margin:0 0 4px;font:650 11.5px/1.4 system-ui,-apple-system,"Segoe UI",sans-serif;letter-spacing:.12em;text-transform:uppercase;color:#947641}
.fs-title,.event-list .fs-title{margin:0 0 6px;font:700 19px/1.3 Georgia,"Times New Roman",serif;color:#203756}
.fs-text{margin:0 0 12px;font-size:15px;line-height:1.55;color:#3c4a5c}
.fs-button{display:inline-block;padding:9px 16px;border-radius:8px;background:#203756;color:#fff;font:600 14px/1.2 system-ui,-apple-system,"Segoe UI",sans-serif;text-decoration:none}
.fs-button:hover,.fs-button:focus-visible{background:#304d73}
.cy-flyer-home{margin-top:14px;padding:10px 12px;gap:14px}
.cy-flyer-home img{width:72px}
.cy-flyer-home .cy-flyer-title{font-size:16px}
.cy-flyer-home .cy-flyer-note{font-size:13.5px}

/* Children and Youth page organized by time (November 3, 2026) */
.cy-jump{display:flex;flex-wrap:wrap;gap:8px;margin:14px 0 4px}
.cy-jump a{padding:6px 12px;border-radius:999px;background:#eef5fc;border:1px solid #a9c6e3;color:#203756;font:600 13.5px/1.2 system-ui,-apple-system,"Segoe UI",sans-serif;text-decoration:none}
.cy-jump a:hover{background:#dcebf8}
.cy-time{margin:22px 0 0;padding:20px 0 0;border-top:1px solid #eee5d4;scroll-margin-top:16px}
.cy-time-label{margin:0 0 2px;font:650 12px/1.4 system-ui,-apple-system,"Segoe UI",sans-serif;letter-spacing:.14em;text-transform:uppercase;color:#947641}
.cy-time-title,.event-list .cy-time-title{margin:0 0 12px;font:700 22px/1.3 Georgia,"Times New Roman",serif;color:#203756}
.cy-flow{list-style:none;margin:0 0 18px;padding:0;display:grid;gap:10px}
.cy-flow li{padding:12px 14px;border:1px solid #eee5d4;border-radius:10px;background:#fffdf8}
.cy-flow li:first-child{background:#eef5fc;border-color:#a9c6e3}
.cy-flow .fs-button{margin-top:10px}
.mt-wrap{overflow-x:auto;border:1px solid #e3dccb;border-radius:10px;background:#fff}
.month-table{width:100%;border-collapse:collapse;font-size:14.5px;line-height:1.45}
.month-table caption{text-align:left;padding:12px 14px 4px;font:700 17px/1.3 Georgia,"Times New Roman",serif;color:#203756}
.month-table thead th{padding:8px 14px;text-align:left;font:650 12px/1.4 system-ui,-apple-system,"Segoe UI",sans-serif;letter-spacing:.08em;text-transform:uppercase;color:#6b7686;border-bottom:1px solid #e3dccb}
.month-table td,.month-table tbody th{padding:8px 14px;border-bottom:1px solid #f0ebe0;vertical-align:top;text-align:left}
.month-table .mt-head th{padding:10px 14px 6px;font:700 15px/1.3 Georgia,"Times New Roman",serif;color:#203756;border-bottom:1px solid #e3dccb}
.mt-g1 .mt-head th{background:#eef5fc}.mt-g2 .mt-head th{background:#f3f7ee}.mt-g3 .mt-head th{background:#fbf4e4}
.month-table .mt-month{font-weight:700;color:#203756;white-space:nowrap;width:1%}
.month-table .mt-lesson{color:#203756;font-weight:600}
.month-table .mt-talk{color:#536174;font-style:italic}
.cy-src{margin:8px 2px 0;font-size:13px;color:#6b7686}
.cy-src a{color:#203756;font-weight:600}
.cy-year{list-style:none;margin:0;padding:0;display:grid;gap:10px}
.cy-year li{display:flex;flex-direction:column;gap:3px;padding:12px 14px;border:1px solid #eee5d4;border-radius:10px;background:#fffdf8}
.cy-year strong{font:700 17px/1.3 Georgia,"Times New Roman",serif;color:#203756}
.cy-year span{font-size:15px;line-height:1.55;color:#3c4a5c}
.cy-ready{margin:0;padding-left:20px}
.cy-ready li{margin:6px 0;font-size:15px;line-height:1.55;color:#3c4a5c}
.cy-ready a{color:#203756;font-weight:600}
@media(min-width:1200px){.cy-year{grid-template-columns:1fr 1fr}}
@media(max-width:640px){
 .month-table caption{display:block;padding:12px 12px 6px}
 .month-table thead{display:none}
 .month-table,.month-table tbody,.month-table tr,.month-table td,.month-table tbody th{display:block;width:auto}
 .month-table tr{padding:8px 12px;border-bottom:1px solid #f0ebe0}
 .month-table td,.month-table tbody th{padding:0;border:0}
 .month-table .mt-head{padding:0}
 .month-table .mt-head th{padding:10px 12px 6px}
 .month-table .mt-month{width:auto;font-size:12px;letter-spacing:.08em;text-transform:uppercase;color:#947641}
}
.cy-panel section.cy-time{border:0;border-top:1px solid #eee5d4;border-radius:0;background:transparent;box-shadow:none;padding:20px 0 0;margin:22px 0 0}
.cy-panel nav.cy-jump{justify-content:flex-start;padding:0;border:0;margin:14px 0 4px}
@media(max-width:640px){.cy-panel section.cy-time{padding:18px 0 0;margin:18px 0 0}}

/* ===== November 3, 2026 (evening): header menu, signed-in name, Leaders section in two columns, to-do lists, chat ===== */
/* Header: Home tab added. The menu sits beside the site name and moves to its own line underneath when it doesn't fit
   (public/home-session.js adds .is-stacked when the menu wraps). */
.site-header nav{flex-wrap:wrap;row-gap:10px}
.site-header .site-tabs{flex:0 1 auto;flex-wrap:wrap;justify-content:flex-end;margin-left:auto}
.site-header nav.is-stacked .site-tabs{flex-basis:100%;margin-left:0;justify-content:flex-start}
.site-tab.site-user[hidden]{display:none}
.site-tab.site-user{display:inline-flex;align-items:center;gap:7px;background:#fffcf4;border-color:#c2aa73;cursor:pointer;max-width:240px}
.site-tab.site-user #site-user-name{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.site-tab.site-user.is-empty{font-style:italic;color:#6e5114}
.site-user-icon{width:9px;height:9px;border-radius:50%;background:#5c7a4a;flex:none}
.site-user+.site-logout{margin-left:-4px}
@media(max-width:640px){
 .site-header .site-tabs{justify-content:flex-start;margin-left:0;flex-basis:100%}
 .site-tab.site-user{max-width:150px}
}
.site-header .vc-dialog input+label{margin-top:14px}

/* Leaders section on the homepage: two columns when there is room (container query, so it also works beside the news column). */
.leaders-home .home-panel{container-type:inline-size}
.leaders-grid{display:grid;grid-template-columns:minmax(0,1fr);gap:0 28px;align-items:start}
@container (min-width:700px){.leaders-grid{grid-template-columns:minmax(0,1.15fr) minmax(0,1fr)}}
.leaders-col{min-width:0}
.lh-block{padding:0 0 18px;margin:0 0 18px;border-bottom:1px solid #eee5d4}
.leaders-col>.lh-block:last-child{border-bottom:0;margin-bottom:0}
@container (max-width:699px){.leaders-grid>.leaders-col:first-child>.lh-block:last-child{border-bottom:1px solid #eee5d4;margin-bottom:18px}}
.lh-block>.vc-h2{margin:0 0 6px}
.lh-note{margin:0 0 8px}
.lh-block .todo-hint{margin:0 0 4px}

/* The one expandable section: Valiant Committee To Do List */
.leaders-home details.lh-fold{margin:12px 0 0;background:#faf8f2;border:1px solid #e6dcc6;border-radius:8px}
.leaders-home details.lh-fold>summary{padding:8px 34px 8px 12px;font:600 14.5px/1.4 system-ui,-apple-system,"Segoe UI",sans-serif;color:#203756;cursor:pointer}
.leaders-home details.lh-fold>summary::after{right:12px;top:4px;font-size:20px}
.leaders-home details.lh-fold[open]>summary{border-bottom:1px solid #eee5d4}
.leaders-home details.lh-fold>.todo-widget,.leaders-home details.lh-fold>.lh-more{padding:4px 12px}
.leaders-home details.lh-fold>.lh-more{margin:0 0 8px}

/* Shared to-do widget (public/todo-list.js) */
.todo-widget .todo-add{margin-top:8px}
form.todo-add .todo-add-label{flex:1 1 200px;min-width:0}
form.todo-add .todo-add-due{flex:0 0 auto}
form.todo-add .todo-add-who{flex:1 1 100px;min-width:80px}
.todo-status:empty{display:none}
.todo-date{font-variant-numeric:tabular-nums;min-width:96px;text-align:right}
.todo-row{grid-template-columns:22px minmax(0,1fr) auto 18px}

/* Events and meetings: plain blocks, no expanders */
.lh-event{padding:12px 0;border-top:1px solid #f0ebe0}
.lh-event:first-child{border-top:0;padding-top:4px}
.lh-event-head{display:flex;flex-wrap:wrap;align-items:baseline;gap:4px 10px}
.lh-event-head strong{font:700 17px/1.35 Georgia,"Times New Roman",serif;color:#203756}
.leaders-home .lh-event .event-meta{display:inline;margin:0}
.lh-event p{margin:4px 0;font-size:14.5px}
.lh-event h4{margin:12px 0 4px;font:650 12px/1.4 system-ui,-apple-system,"Segoe UI",sans-serif;letter-spacing:.1em;text-transform:uppercase;color:#947641}
.leaders-home .lh-event .task-list{margin:4px 0}
.leaders-home .lh-event .task{padding:4px 0}
.leaders-home .lh-event .task-row{padding:6px 0}
.leaders-home .lh-event ul{margin:4px 0;padding-left:18px}
.leaders-home .lh-event .button{padding:5px 10px;font-size:13px;margin:2px 0}
.leaders-home .lh-event .inline-form{margin:6px 0;gap:6px}
.leaders-home .lh-event form:not(.inline-form):not(.task-assignment){display:flex;flex-wrap:wrap;gap:6px;margin:6px 0}
.leaders-home .lh-event input:not([type=checkbox]):not([type=file]){padding:6px 8px;font-size:14px;border:1px solid #c8ccd3;border-radius:6px;width:auto;flex:1 1 140px;min-width:0}
.lh-activity{margin:6px 0 0;color:#6b7686}

/* Chat */
.chat-messages{max-height:340px;overflow:auto;border:1px solid #e6e8ec;border-radius:8px;padding:4px 12px;margin:0 0 8px;background:#fff}
.chat-msg{padding:8px 0;border-bottom:1px solid #f0ebe0}
.chat-msg:last-child{border-bottom:0}
.chat-head{display:flex;flex-wrap:wrap;align-items:baseline;gap:2px 6px;font-size:13px;color:#6b7686}
.chat-head strong{color:#203756;font-size:14px}
.chat-tools{margin-left:auto;display:inline-flex;gap:10px}
.chat-tools button{border:0;background:none;padding:0;font:600 12.5px/1.3 system-ui,sans-serif;color:#536174;cursor:pointer;text-decoration:underline;text-underline-offset:2px}
.chat-tools button:hover{color:#a33a2b}
.chat-body{margin:2px 0 0;white-space:pre-wrap;font-size:14.5px;line-height:1.5}
.chat-form,.chat-edit{display:flex;gap:6px;align-items:flex-end}
.chat-edit{margin-top:4px;flex-wrap:wrap}
.leaders-home .chat-form textarea,.leaders-home .chat-edit textarea{flex:1 1 200px;min-width:0;padding:8px 10px;border:1px solid #c8ccd3;border-radius:6px;font:14.5px/1.4 system-ui,-apple-system,"Segoe UI",sans-serif;resize:vertical}
.chat-form .button,.chat-edit .button{padding:8px 14px;font-size:14px;border-radius:6px;margin:0}

/* Add an event (compact form) */
.lh-event-form label{margin:8px 0 3px;font-size:14px}
.lh-event-form input:not([type=checkbox]){padding:8px 10px;border-radius:6px}
.leaders-home .lh-event-form textarea{padding:8px 10px;border-radius:6px;border:1px solid #a8afba}
.lh-event-form .consent{margin:8px 0}
.lh-event-form .button{padding:8px 14px;font-size:14px;border-radius:6px}
.leaders-home #new-event{padding:0}
.lh-two{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:0 10px}
.lh-two input{width:100%}
@media(max-width:480px){.lh-two{grid-template-columns:1fr}}

/* Previous events and newsletters (plain lists, no expanders) */
.leaders-home .archive-files{margin:0;padding-left:18px}
.leaders-home .archive-files li{margin:2px 0;font-size:14px}
.leaders-home .archive-files .button{border:0;background:none;padding:0;margin:0;font-size:14px;color:#203756;text-decoration:underline;text-underline-offset:3px;text-align:left}

/* November 4, 2026: Valiant page spacing. The tall to-do list no longer stretches the right column's first row,
   and the leftover 30px top margin on the first box is gone. */
.vc-grid>section{margin-top:0!important;margin-bottom:22px;padding-bottom:0}
.vc-grid>section>.cal-panel{margin-bottom:0}
@media(min-width:980px){body.is-leader .vc-grid{grid-template-rows:auto 1fr}}
.vc-wrap{padding-top:24px}
/* Header: no Home tab (the logo goes home); when signed in, just your name. Tap it to change your name or log out. */
.name-dialog-buttons{display:flex;gap:10px;flex-wrap:wrap;align-items:center}
.name-dialog-buttons .name-logout{margin-left:auto}
