/* Scoped public-home additions. */
.welcome-photo::after{content:'';position:absolute;inset:0;background:linear-gradient(90deg,rgba(255,253,245,.28),rgba(255,253,245,.18) 42%,rgba(255,253,245,0) 64%);pointer-events:none}
#open-retreats .meetings-layout{display:grid;grid-template-columns:minmax(0,1fr) 300px;gap:28px;align-items:start;margin-top:30px}
#open-retreats .meetings-layout>.grid{grid-template-columns:repeat(2,minmax(0,300px));grid-auto-rows:1fr;gap:20px;justify-content:center;align-items:stretch}
#open-retreats .meetings-layout>.grid>.card{width:100%;max-width:300px;height:100%;justify-self:center}
#open-retreats .meetings-layout>.grid>.card>.body{padding:18px;min-height:194px;height:100%;display:flex;flex-direction:column;justify-content:center;text-align:center}
#open-retreats .meetings-layout>.grid>.card h2{font-size:19.2px;margin-bottom:10px}
#open-retreats .meetings-layout>.grid>.card .event-period{font-size:16px;margin-bottom:10px}
#open-retreats .meetings-layout>.grid>.card .lead{margin-bottom:10px}
#open-retreats .meetings-layout>.grid>.card .event-card-actions{margin:2px 0 0;justify-content:flex-end}
.latest-master-video{min-width:0;padding:20px;border:1px solid #e0dbc9;border-radius:23px;background:#fffef8}
.latest-master-video>.eyebrow{margin:0 0 8px}
.latest-master-video>h3{margin:0 0 16px;font:400 20px/1.2 Georgia,serif}
.latest-video-thumb{display:block;position:relative;overflow:hidden;aspect-ratio:16/9;width:100%;border:0;border-radius:12px;padding:0;background:#e9e4d7}
.latest-video-thumb img{width:100%;height:100%;object-fit:cover}
.latest-video-play{position:absolute;inset:0;display:flex;align-items:center;justify-content:center;color:white;font-size:22.4px;text-shadow:0 1px 8px #293e35}
.latest-video-play::before{content:'';position:absolute;width:48px;height:48px;border-radius:50%;background:rgba(41,62,53,.82)}
.latest-video-play span{position:relative;margin-left:3px}
.latest-video-content h4{margin:16px 0 12px;font:400 16px/1.4 Georgia,serif;color:#293e35}
.latest-video-content time{display:block;margin:0 0 14px;color:#778074;font-size:9.6px}
.latest-video-actions{display:flex;justify-content:flex-end}
.latest-video-content a{color:#705815;text-underline-offset:4px}
.about-layout .about-more{border:0;padding:0;margin:0 0 24px;font:inherit;color:inherit}
.about-more summary{display:inline-block;list-style:none;padding:13px 20px;border:1px solid #d7bf78;border-radius:12px;background:#fffef8;color:#385c49;font:400 11.2px/1.4 Arial,sans-serif;cursor:pointer}
.about-more summary::-webkit-details-marker{display:none}
.about-more summary:hover{background:#f5f1e3}
.about-more .about-more-open,.about-more[open] .about-more-closed{display:none}
.about-more[open] .about-more-open{display:inline}
.about-more-content{padding-top:24px;font:inherit}
.about-more-content p{margin:0 0 24px}
.meeting-gallery{margin-top:30px;padding-bottom:20px;border-top:1px solid #e0dbc9}
.meeting-gallery[hidden]{display:none}
.meeting-gallery-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:18px;margin-top:30px}
.meeting-gallery-photo{display:block;width:100%;padding:0;background:#e9e4d7;border:0;border-radius:18px;overflow:hidden;aspect-ratio:4/3}
.meeting-gallery-photo img{display:block;width:100%;height:100%;object-fit:cover}
.home-media-dialog{width:min(900px,calc(100vw - 32px));max-width:900px;max-height:calc(100dvh - 32px);overflow:auto;border:1px solid #e0dbc9;border-radius:20px;padding:22px;background:#fffef8;color:#293e35}
.home-media-dialog::backdrop{background:rgba(25,35,28,.72)}
.home-media-heading{display:flex;align-items:center;justify-content:space-between;gap:20px;margin-bottom:18px}
.home-media-heading h2{font-size:19.2px;margin:0}
.home-media-heading button{flex-shrink:0}
.home-media-content iframe{display:block;width:100%;aspect-ratio:16/9;min-height:200px;border:0;border-radius:10px}
.home-media-content img{display:block;width:auto;max-width:100%;max-height:calc(100dvh - 150px);height:auto;object-fit:contain;margin:auto;border-radius:10px}
.home-video-fallback{display:table;margin:18px 0 0 auto;color:#705815;text-underline-offset:4px}
.home-video-fallback[hidden]{display:none}
.contacts-social .vk-link{color:inherit;text-decoration:none}
@media(max-width:960px){#open-retreats .meetings-layout{grid-template-columns:minmax(0,1fr);gap:24px}.latest-master-video{width:100%;max-width:360px;justify-self:center}.meeting-gallery-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:680px){.welcome-photo::after{background:linear-gradient(180deg,rgba(255,253,245,.22),rgba(255,253,245,.12) 32%,rgba(255,253,245,0) 48%)}.welcome-copy .welcome-quote{transform:none;width:100%;padding:0 4px;margin-left:0;margin-right:0}.home-media-dialog{padding:16px}.home-media-heading{align-items:flex-start;gap:12px}.home-media-heading h2{font-size:16px}.home-media-heading button{padding:11px;font-size:9.6px}.meeting-gallery-grid{gap:12px}.meeting-gallery-photo{border-radius:14px}}
@media(max-width:640px){#open-retreats .meetings-layout>.grid{grid-template-columns:minmax(0,300px)}}
@media(max-width:680px){.welcome-copy{top:70px}.welcome-copy .welcome-logo{width:120px;height:120px}}
.detail .event-application button[data-action="register"],.detail article>button[data-action="register"]{display:block;margin-left:auto}
@media(min-width:901px){body>.shell:has(.people-table){max-width:none}.people-table{width:100%;min-width:0}.people-table th{width:auto}}
body.is-home:has(.home-information-sheet){background:#fff}
.home-information-sheet{width:calc(100% - 48px);max-width:1230px;margin:36px auto 0;padding:54px 52px 58px;border-radius:0;background:transparent;box-shadow:none}
.home-information-sheet>section:first-child{padding-top:0}
.home-information-sheet .practice-section{gap:32px}
.home-information-sheet .about-layout{grid-template-columns:minmax(0,1fr);gap:28px}
.home-information-sheet #open-retreats .meetings-layout{grid-template-columns:minmax(0,1fr) 220px;gap:24px}
.home-information-sheet #open-retreats .meetings-layout>.grid{gap:14px}
@media(min-width:961px){
 #open-retreats .meetings-layout>.grid{grid-template-columns:repeat(auto-fit,minmax(200px,1fr))}
 #open-retreats .meetings-layout>.grid>.card{max-width:none}
}

.home-information-sheet .latest-master-video{width:100%;padding:18px}
@media(max-width:700px){.home-information-sheet{width:calc(100% - 28px);margin-top:24px;padding:32px 24px 40px}.home-information-sheet #open-retreats .meetings-layout{grid-template-columns:minmax(0,1fr)}.home-information-sheet .practice-section,.home-information-sheet .about-layout{grid-template-columns:minmax(0,1fr)}}
@media(max-width:420px){.home-information-sheet{width:calc(100% - 16px);padding:28px 18px 36px}.home-information-sheet #open-retreats .meetings-layout>.grid{grid-template-columns:minmax(0,300px)}}

/* About section follows the approved text-only layout. */
.home-information-sheet #about-master{text-align:left;border-top:0}
#about-master .master-quote{max-width:none;margin:30px 0 32px;padding-left:24px;border-left:2px solid #e0dbc9;font:400 21.6px/1.4 Georgia,serif;color:#293e35}
#about-master .master-quote strong{font-weight:400}
#about-master .master-quote cite{font:400 11.2px/1.5 Georgia,serif;color:#778074;margin-top:4px}
#about-master .about-layout{margin-top:0}
#about-master .about-copy{line-height:1.65}
#about-master .about-more{margin-bottom:0}
#about-master .about-more summary{background:#fff;color:#8c713f}
#about-master .about-more summary:hover{background:#f5f1e3}
@media(max-width:680px){#about-master .master-quote{font-size:18.4px;padding-left:18px}}

.home-information-sheet .practice-section figure img{width:80%;height:auto;margin-left:auto;margin-right:auto}

/* Status actions flow in a row and wrap as whole buttons. */
.scheduler-table .scheduler-status-actions{display:flex;flex-wrap:wrap;gap:10px;align-items:flex-start;margin-top:10px}
.scheduler-table .scheduler-status-actions>button{flex:0 0 auto;max-width:100%;margin:0}

.scheduler-header-pin{position:fixed;overflow:hidden;z-index:20;pointer-events:none;background:#fff;box-shadow:0 3px 8px rgba(41,62,53,.1)}
.scheduler-header-pin[hidden]{display:none}
.scheduler-header-pin .scheduler-table{margin:0}
.scheduler-header-pin th{background:#fff}

.scheduler-scroll .scheduler-table th,.scheduler-header-pin .scheduler-table th{text-align:center}

/* Standard spacing inside the Telegram button editor only. */
.scheduler-table .scheduler-button-editor{gap:10px}
.scheduler-table .scheduler-button-editor input,.scheduler-table .scheduler-button-editor button{margin:0}

/* Compact text field; other cells still determine each row height. */
.scheduler-scroll .scheduler-table tbody td{padding-top:10px;padding-bottom:10px}
.scheduler-scroll .scheduler-table td>textarea{height:96px;min-height:96px}

/* Warm bronze button palette; retain existing sizes and layout. */
button,.button{background:#b37f40;color:#fff}
button:hover,.button:hover{background:#9e6d32}
button.secondary,.button.secondary{background:#f5efe6;color:#8a6940}
button.secondary:hover,.button.secondary:hover{background:#ece2d4;color:#735735}
button.text-button,button.reset{background:transparent;color:#8a6940}
button.text-button:hover,button.reset:hover{background:transparent;color:#735735}
.event-card-actions>button{background:transparent;color:#8a6940;box-shadow:inset 0 0 0 1px #8a6940}
.event-card-actions>button:hover{background:#f5efe6;color:#735735}
#account,#about-master .about-more summary{background:transparent;color:#8a6940;border-color:#8a6940}
#account:hover,#about-master .about-more summary:hover{background:#f5efe6;color:#735735}

#about-master .about-panorama{display:block;width:100%;height:auto;margin:0 0 32px}

/* Subtle separators between information sections only. */
.home-information-sheet>.retreat-intro{margin-bottom:0}
.home-information-sheet>section:not([hidden])+section:not([hidden]){position:relative;margin-top:28px;padding-top:28px}
.home-information-sheet>section:not([hidden])+section:not([hidden])::before{content:'';position:absolute;top:0;left:24px;right:24px;height:1px;background:rgba(138,105,64,.24);box-shadow:0 2px 3px rgba(65,52,38,.1);pointer-events:none}
@media(max-width:700px){.home-information-sheet>section:not([hidden])+section:not([hidden]){margin-top:24px;padding-top:24px}.home-information-sheet>section:not([hidden])+section:not([hidden])::before{left:8px;right:8px}}

/* Stronger navigation typography on the homepage only. */
body.is-home #primary-nav a,body.is-home #account{font-size:16px;font-weight:700}
body.is-home #account{color:#b37f40}
@media(min-width:681px) and (max-width:900px){body.is-home #primary-nav a,body.is-home #account{font-size:14px}}
@media(max-width:680px){body.is-home #account{font-size:14px}}

.detail .event-application .offer-error{margin:6px 0 12px 26px;color:#a04435;font-size:inherit;line-height:1.4}

/* Administrator diagnostic journal only. */
.admin-logs .logs-filters{display:flex;flex-wrap:wrap;align-items:flex-end;gap:10px;margin:20px 0}.admin-logs .logs-filters>div{flex:1 1 150px}.admin-logs .logs-filters select{margin:0}.admin-logs .logs-filters button{margin:0}.admin-logs .log-meta{display:flex;flex-wrap:wrap;align-items:center;gap:10px}.admin-logs .log-meta .status{margin:0}.admin-logs .log-meta time{color:#756d63}.admin-logs .log-level-error{background:#f5e4df;color:#994b3c}.admin-logs .log-level-warning{background:#f5eddc;color:#886630}.admin-logs pre{white-space:pre-wrap;overflow-wrap:anywhere;font-size:inherit;background:#f7f5f1;padding:12px;border-radius:8px}.admin-logs .log-entry{margin-top:16px}
/* Darshan explanation only. */
.darshan-section .darshan-copy{max-width:900px;font:400 13.6px/1.9 Arial,sans-serif;color:#52604d}
.darshan-section .darshan-copy p{margin:0 0 16px}
.darshan-section .darshan-copy .darshan-lead{font:400 clamp(16px,1.6vw,18.4px)/1.65 Georgia,serif;color:#293e35}
.darshan-section .darshan-copy strong{font-weight:700;color:#293e35}
.darshan-section .darshan-copy .darshan-invitation{margin-bottom:0;font:italic 400 16px/1.7 Georgia,serif;color:#293e35}
/* The three retreat explanations share the approved single-column layout. */
.home-information-sheet>.retreat-story-block{display:block;max-width:736px;margin-left:auto;margin-right:auto;margin-bottom:0;text-align:left}
.home-information-sheet>.retreat-story-block h2{margin:0 0 16px;font:400 28px/1.2 Georgia,serif;letter-spacing:-.4px;color:#293e35}
.home-information-sheet>.retreat-story-block p:not(.eyebrow){margin:0 0 14px;font:400 15px/1.8 Arial,sans-serif;color:#52604d}
.home-information-sheet>.retreat-story-block p:last-child{margin-bottom:0}
.home-information-sheet>.retreat-story-block strong{font-weight:700;color:#293e35}
.home-information-sheet>.retreat-story-block .practice-copy{padding:0}
.home-information-sheet>.retreat-story-block figure{margin:20px 0 0}
.home-information-sheet>.retreat-story-block figure img{display:block;width:100%;height:210px;margin:0;object-fit:cover;object-position:center 42%;border-radius:14px}
@media(max-width:560px){.home-information-sheet>.retreat-story-block h2{font-size:26px}.home-information-sheet>.retreat-story-block figure img{height:180px}}
/* Only the Retreat and Mauna text/photo rows. */
.home-information-sheet>.retreat-story-block.retreat-photo-row{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:40px;align-items:center;max-width:none}
.home-information-sheet>.retreat-story-block.retreat-photo-row figure{margin:0;min-width:0}
.home-information-sheet>.retreat-story-block.retreat-photo-row figure img{width:100%;height:auto;aspect-ratio:3/2;object-fit:cover;object-position:center 42%;border-radius:18px}
@media(max-width:700px){.home-information-sheet>.retreat-story-block.retreat-photo-row{grid-template-columns:minmax(0,1fr);gap:20px}.home-information-sheet>.retreat-story-block.retreat-photo-row figure img{height:auto}}



