/* Responsive section views for the single-page Batch 92 portal. */
.mobile-nav{display:none}
.route-gate{margin:20px 0;padding:24px 26px;border:1px solid #dce9ec;border-radius:15px;background:#fff;text-align:center}
.route-gate .gate-icon{width:44px;height:44px;margin:0 auto 10px;border-radius:50%;display:grid;place-items:center;background:#e8f5f8;color:var(--teal-deep);font-size:21px}
.route-gate h2{font-size:19px;margin:0 0 5px}
.route-gate p{max-width:540px;margin:0 auto 15px;color:#77858c;font-size:12px}
.nav a[aria-current="page"]{background:#e7f5f8;color:var(--teal-deep);font-weight:700}

/* The opening dashboard keeps every permitted section together. */
body[data-view="all"] .route-gate,
body[data-view="home"] .route-gate{display:none!important}

/* Home is the welcome/event summary, while the directory and chat have their own views. */
body[data-view="home"] .main>.content-grid,
body[data-view="home"] .main>#newsPanel{display:none!important}
body[data-view="home"] .main>.bottom-row{display:grid}

body[data-view="members"] .main>.hero-grid,
body[data-view="members"] .main>#statsSection,
body[data-view="members"] .main>.bottom-row,
body[data-view="members"] .main>#newsPanel{display:none!important}
body[data-view="members"] .main>.content-grid:not(.hidden){display:grid!important;grid-template-columns:minmax(0,1fr);margin-top:20px}
body[data-view="members"] #memberChatGrid #chat{display:none!important}
body[data-view="members"] .main>#memberPageGate:not(.hidden){display:block}

body[data-view="chat"] .main>.hero-grid,
body[data-view="chat"] .main>#statsSection,
body[data-view="chat"] .main>.bottom-row,
body[data-view="chat"] .main>#newsPanel{display:none!important}
body[data-view="chat"] .main>.content-grid:not(.hidden){display:grid!important;grid-template-columns:minmax(0,1fr);margin-top:20px}
body[data-view="chat"] #memberChatGrid #directory{display:none!important}
body[data-view="chat"] .main>#memberPageGate:not(.hidden){display:block}

body[data-view="events"] .main>#statsSection,
body[data-view="events"] .main>.content-grid,
body[data-view="events"] .main>.bottom-row{display:none!important}
body[data-view="events"] .main>.hero-grid{display:grid;grid-template-columns:minmax(0,1fr);margin-top:18px}
body[data-view="events"] .main>.hero-grid .hero{display:none!important}
body[data-view="events"] .main>#newsPanel:not(.hidden){display:block;margin-top:20px}
body[data-view="events"] .main>#memberPageGate:not(.hidden){display:block}

/* Account and admin forms stay in the same page and use the existing role gates. */
body[data-view="profile"] .main>:not(.topbar):not(.mobile-nav):not(.site-status-guide),
body[data-view="admin"] .main>:not(.topbar):not(.mobile-nav):not(.site-status-guide){display:none!important}
body[data-view="profile"] #profileModal:not(.open),
body[data-view="admin"] #adminModal:not(.open){display:block;position:relative;inset:auto;z-index:1;width:calc(100% - 304px);max-width:1732px;margin:18px 34px 26px 270px;padding:0;overflow:visible;background:transparent;backdrop-filter:none}
body[data-view="profile"] #profileModal .dialog,
body[data-view="admin"] #adminModal .dialog{max-width:760px;margin:0 auto;border-radius:16px;padding:28px;box-shadow:0 8px 28px #142d3d0b}
body[data-view="profile"] #profileModal>.dialog>.close,
body[data-view="admin"] #adminModal>.dialog>.close{display:none}

.news-list{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;padding:0 22px 20px}
.news-item{border:1px solid var(--line);border-radius:11px;padding:15px;background:#fbfcfc}
.news-item time{display:inline-block;margin-bottom:6px;color:#a47a3f;font-size:10px;background:#fff5e7;border-radius:20px;padding:2px 8px}
.news-item h3{font-size:13px;margin:0 0 4px}
.news-item p{font-size:11px;color:#74828a;margin:0}
.news-footnote{padding:0 22px 17px;color:#99a4a9;font-size:10px}

@media(max-width:1170px){
  body[data-view="profile"] #profileModal:not(.open),
  body[data-view="admin"] #adminModal:not(.open){width:calc(100% - 248px);max-width:none;margin:18px 23px 25px 225px}
}
@media(max-width:900px){
  .mobile-nav{display:flex;gap:7px;margin:0 -22px 12px;padding:0 22px 12px;overflow-x:auto;overscroll-behavior-x:contain;scrollbar-width:none;border-bottom:1px solid var(--line)}
  .mobile-nav::-webkit-scrollbar{display:none}
  .mobile-nav a{display:inline-flex;align-items:center;gap:6px;flex:0 0 auto;padding:7px 10px;border:1px solid #e3ebed;border-radius:9px;background:#fff;color:#69777e;font-size:10px;white-space:nowrap}
  .mobile-nav a[aria-current="page"]{background:#e7f5f8;border-color:#cbe8ee;color:var(--teal-deep);font-weight:700}
  .route-gate{margin:14px 0;padding:20px 15px}
  body[data-view="members"] .main>.content-grid:not(.hidden),
  body[data-view="chat"] .main>.content-grid:not(.hidden){margin-top:14px}
  body[data-view="events"] .main>.hero-grid{margin-top:10px}
  body[data-view="profile"] #profileModal:not(.open),
  body[data-view="admin"] #adminModal:not(.open){width:auto;max-width:none;margin:14px 22px 22px}
  body[data-view="profile"] #profileModal .dialog,
  body[data-view="admin"] #adminModal .dialog{padding:23px 19px}
}
@media(max-width:650px){
  .mobile-nav{margin-left:-15px;margin-right:-15px;padding-left:15px;padding-right:15px}
  .news-list{grid-template-columns:1fr;padding-left:16px;padding-right:16px}
  .news-footnote{padding-left:16px;padding-right:16px}
  .route-gate h2{font-size:17px}
}


/* Local light/dark theme. The countdown keeps its pale-blue highlight in either mode. */
html:not([data-theme="dark"]){color-scheme:only light}
html[data-theme="dark"]{
  color-scheme:dark;
  --ink:#e8eff2;
  --muted:#a9b7bd;
  --teal:#59c3d8;
  --teal-deep:#8bd9e8;
  --orange:#f4bb69;
  --bg:#11191d;
  --line:#2b393f;
  --white:#1b252a;
  --green:#55c69a;
}
html[data-theme="dark"] body{color:var(--ink);background:var(--bg)}
html[data-theme="dark"] .sidebar{background:#182227;border-color:var(--line)}
html[data-theme="dark"] .brand small,
html[data-theme="dark"] .page-kicker,
html[data-theme="dark"] .side-foot{color:#9cabb2}
html[data-theme="dark"] .page-kicker{color:#59c3d8}
html[data-theme="dark"] .brand small,
html[data-theme="dark"] .mobile-brand small{color:#59c3d8}
html[data-theme="dark"] .nav a,
html[data-theme="dark"] .nav button{color:#bac7cc}
html[data-theme="dark"] .nav a[aria-current="page"],
html[data-theme="dark"] .nav a:hover{background:#173740;color:#a4e5f0}
html[data-theme="dark"] .nav .badge{background:#17392f;color:#80dfb8}
html[data-theme="dark"] .side-note{background:#202c31;border-color:#34434a;color:#b2c0c6}
html[data-theme="dark"] .side-note strong{color:#e5edf0}
html[data-theme="dark"] .demo-pill{background:#332a1d;border-color:#5b4628;color:#f1c47e}
html[data-theme="dark"] .secondary,
html[data-theme="dark"] .theme-toggle{background:#253239;border-color:#3a4c54;color:#e1ebee}
html[data-theme="dark"] .top-avatar{background:#25414a;border-color:#31474e;color:#a7e3ed}
html[data-theme="dark"] .hero{background:#1b3037;border:1px solid #29454d}
html[data-theme="dark"] .eyebrow,
html[data-theme="dark"] .hero-link{color:#91deeb}
html[data-theme="dark"] .hero h2 span{color:#70d1e2}
html[data-theme="dark"] .hero p{color:#b5c6cc}
html[data-theme="dark"] .hero .hero-copy{color:#b5c6cc}
html[data-theme="dark"] .hero-art{border-color:#42626b}
html[data-theme="dark"] .hero-art:before{border-color:#395a64}
html[data-theme="dark"] .hero .hotline-link{background:#25343a;border-color:#43565d;color:#edf4f6}
html[data-theme="dark"] .hero .hotline-link:hover{background:#342f25;border-color:#b68749}
html[data-theme="dark"] .hero .hotline-icon{background:#534127;color:#ffe0a7}
html[data-theme="dark"] .hero .hotline-label{color:#91deeb}
html[data-theme="dark"] .hero .hotline-link strong{color:#edf4f6}
html[data-theme="dark"] .event{background:#17323b;border-color:#315661;color:#f0f8fa}
html[data-theme="dark"] .event:after{border-color:rgba(118,207,225,.09)}
html[data-theme="dark"] .tag-orange{background:#46371f;color:#ffd38e}
html[data-theme="dark"] .sample{color:#b2c8cf}
html[data-theme="dark"] .event-info,
html[data-theme="dark"] .event-bottom>span{color:#bdd0d5}
html[data-theme="dark"] .event-location{color:#bdd0d5}
html[data-theme="dark"] .event-location strong{color:#e5f0f3}
html[data-theme="dark"] .timer div{background:#dff3f7;border-color:#a8d8e2;color:#17343c}
html[data-theme="dark"] .timer b{color:#17343c}
html[data-theme="dark"] .timer span{color:#476873}
html[data-theme="dark"] .event-bottom button{color:#9be3ef}
html[data-theme="dark"] .event-vote{background:#22353b;border-color:#3c5b64}
html[data-theme="dark"] .event-vote-copy strong{color:#e5f0f3}
html[data-theme="dark"] .event-vote-copy p,
html[data-theme="dark"] .event-vote-deadline-help,
html[data-theme="dark"] .event-vote-footnote{color:#b2c6cc}
html[data-theme="dark"] .event-vote-choice{background:#2b3e44;border-color:#536c74;color:#e1edf0}
html[data-theme="dark"] .event-vote-deadline{background:#fff1dc;border-color:#d49230;color:#252326}
html[data-theme="dark"] .event-vote-deadline span{color:#252326}
html[data-theme="dark"] .event-vote-deadline input{background:#fff9ed;border-color:#d49230;color:#252326;-webkit-text-fill-color:#252326}
html[data-theme="dark"] .event-vote-choice.yes{border-color:#39745b;color:#a8e1c5}
html[data-theme="dark"] .event-vote-choice.no{border-color:#755644;color:#e9b99e}
html[data-theme="dark"] .event-vote-choice.maybe{border-color:#6e5c34;color:#f0d38f}
html[data-theme="dark"] .event-vote-choice[aria-pressed="true"]{background:#17424d;border-color:#68cfe0;color:#d9f7fb}
html[data-theme="dark"] .event-vote-count{background:#2b3e44;border-color:#536c74;color:#e1edf0}
html[data-theme="dark"] .event-vote-results-status{color:#b2c6cc}
html[data-theme="dark"] .stat,
html[data-theme="dark"] .panel,
html[data-theme="dark"] .join-card{background:#1b252a;border-color:var(--line)}
html[data-theme="dark"] .stat-icon{background:#203b43;color:#7bd4e3}
html[data-theme="dark"] .stat:nth-child(2) .stat-icon{background:#203b32;color:#76d9ad}
html[data-theme="dark"] .stat:nth-child(3) .stat-icon{background:#403421;color:#f1c477}
html[data-theme="dark"] .stat p,
html[data-theme="dark"] .stat .micro,
html[data-theme="dark"] .panel-heading p{color:#a9b8be}
html[data-theme="dark"] .stat .micro{background:#263238}
html[data-theme="dark"] .small-link{color:#76d4e5}
html[data-theme="dark"] .search-wrap input,
html[data-theme="dark"] .chat-input input,
html[data-theme="dark"] .directory-tools select,
html[data-theme="dark"] .form input,
html[data-theme="dark"] .form textarea,
html[data-theme="dark"] .form select{background:#131c20;border-color:#3a4a51;color:#e4ecef}
html[data-theme="dark"] .search-wrap input::placeholder,
html[data-theme="dark"] .chat-input input::placeholder{color:#91a1a8}
html[data-theme="dark"] .search-wrap span{color:#9aabb1}
html[data-theme="dark"] .member{background:#1b252a;border-color:#34434a}
html[data-theme="dark"] .avatar{background:#23404a;color:#9bddea}
html[data-theme="dark"] .avatar.orange{background:#40331f;color:#f2c47a}
html[data-theme="dark"] .avatar.purple{background:#302d43;color:#c3b9f0}
html[data-theme="dark"] .avatar.rose{background:#402e2d;color:#e5aaa1}
html[data-theme="dark"] .avatar .dot{border-color:#1b252a}
html[data-theme="dark"] .member p,
html[data-theme="dark"] .member-state.offline{color:#a9b7bd!important}
html[data-theme="dark"] .member .member-state{color:#74d8ac}
html[data-theme="dark"] .member-footer,
html[data-theme="dark"] .chat-header,
html[data-theme="dark"] .chat-input{border-color:var(--line)}
html[data-theme="dark"] .chat-header{color:#e6eef1}
html[data-theme="dark"] .live-label{background:#203c32;color:#81deb5}
html[data-theme="dark"] .message strong{color:#a9b8be}
html[data-theme="dark"] .bubble{background:#273238;color:#e0e8eb}
html[data-theme="dark"] .chat-line.mine .bubble{background:#1d414b;color:#d7f4f8}
html[data-theme="dark"] .join-card .shield{background:#203b43;color:#81d5e4}
html[data-theme="dark"] .join-card p{color:#aab8bd}
html[data-theme="dark"] .photo-card{background:#30291f;border-color:#51422c}
html[data-theme="dark"] .photo-card p{color:#d1b47f}
html[data-theme="dark"] .photo-card strong{color:#f0d39e}
html[data-theme="dark"] .photo-card button{background:#3b3226;border-color:#5a4a31;color:#f0cb8c}
html[data-theme="dark"] footer{border-color:var(--line);color:#9eacb2}
html[data-theme="dark"] .modal{background:rgba(3,10,13,.82)}
html[data-theme="dark"] .dialog{background:#1c272c;color:#e8eff2}
html[data-theme="dark"] .dialog>p,
html[data-theme="dark"] .form label{color:#b1bec4}
html[data-theme="dark"] .close{background:#2c393f;color:#e2ecef}
html[data-theme="dark"] .tabs{background:#253137}
html[data-theme="dark"] .tabs button{color:#afbdc3}
html[data-theme="dark"] .tabs button.active{background:#35454c;color:#a4e5f0}
html[data-theme="dark"] .demo-warning{background:#352c1d;border-color:#57462b;color:#f0cd91}
html[data-theme="dark"] .status-box{background:#1c3b44;color:#b7e9f0}
html[data-theme="dark"] .admin-row{border-color:#35434a}
html[data-theme="dark"] .admin-row small,
html[data-theme="dark"] .flow-note{color:#a9b7bd}
html[data-theme="dark"] .profile-preview{border-color:#26363d;box-shadow:0 0 0 1px #3a4b52;background:#233a42;color:#a5deea}
html[data-theme="dark"] .upload-label{background:#1e333a;border-color:#45616a;color:#a8dce5}
html[data-theme="dark"] .event-details{background:#26343a;color:#c4d1d6}
html[data-theme="dark"] .toast{background:#dceff3;color:#17343c}
html[data-theme="dark"] .route-gate{background:#1b252a;border-color:#34434a}
html[data-theme="dark"] .route-gate .gate-icon{background:#203b43;color:#8bd9e8}
html[data-theme="dark"] .route-gate p{color:#b0bec3}
html[data-theme="dark"] .mobile-nav{border-color:var(--line)}
html[data-theme="dark"] .mobile-nav a{background:#1b252a;border-color:#394a51;color:#c0cbd0}
html[data-theme="dark"] .mobile-nav a[aria-current="page"]{background:#173740;border-color:#315763;color:#a4e5f0}
html[data-theme="dark"] .news-item{background:#1d282d;border-color:#35434a}
html[data-theme="dark"] .news-item time{background:#40331f;color:#f0ca89}
html[data-theme="dark"] .news-item p,
html[data-theme="dark"] .news-footnote{color:#aab8be}
html[data-theme="dark"] .offline-preview-note{background:#30291f;border-color:#59482e;color:#ead3a5}
html[data-theme="dark"] .offline-preview-note strong{color:#ffe0a5}
html[data-theme="dark"] .hero .hotline-link:focus-visible,
html[data-theme="dark"] .theme-toggle:focus-visible{outline-color:#f4bb69}

@media(max-width:650px){
  .topbar{height:auto;min-height:78px;flex-wrap:wrap;padding:10px 0;row-gap:8px}
  .top-right{gap:7px}
  .top-right .theme-toggle{padding:8px 10px;font-size:11px;gap:5px}
  .top-right .primary{padding:8px 10px;font-size:11px}
}
@media(max-width:390px){
  .topbar{align-items:center}
  .mobile-brand{flex:1 1 auto;min-width:0}
  .top-right{flex:1 1 100%;justify-content:flex-end}
}

html[data-theme="dark"] .hero-art-caption span{background:#e5edf0;border-radius:4px;padding:1px 5px;color:#252326}

/* Public About Us page and click-to-open FAQ accordion. */
body[data-view="about"] .main>.route-gate,
body[data-view="about"] .main>.hero-grid,
body[data-view="about"] .main>#newsPanel,
body[data-view="about"] .main>#statsSection,
body[data-view="about"] .main>.content-grid,
body[data-view="about"] .main>.bottom-row{display:none!important}
body[data-view="about"] .main>#aboutSection{display:block}
.about-page{display:none;margin:18px 0 26px}
.about-heading{position:relative;overflow:hidden;margin-bottom:17px;padding:25px 29px;border:1px solid #d8e9ed;border-radius:16px;background:linear-gradient(120deg,#e7f5f8 0%,#f8fbfc 60%,#fff5e5 100%)}
.about-heading:after{content:"92";position:absolute;right:24px;top:-21px;color:#008fb30d;font-size:150px;font-weight:900;line-height:1;pointer-events:none}
.about-heading h2{position:relative;z-index:1;margin:8px 0 3px;font-size:26px;line-height:1.4}
.about-heading h2 span{color:var(--teal-deep)}
.about-heading p{position:relative;z-index:1;margin:0;color:#617780;font-size:13px}
.about-story{padding:25px 29px;border:1px solid var(--line);border-radius:15px;background:#fff}
.about-story h3{margin:0 0 13px;font-size:18px}
.about-story p{margin:0 0 13px;color:#586970;font-size:13px;line-height:1.95}
.about-story p strong{color:#34474e}
.about-signoff{margin:19px 0 0;padding:14px 17px;border-left:4px solid var(--orange);border-radius:0 10px 10px 0;background:#fff8ed;color:#765a32;font-size:14px;font-weight:750;line-height:1.8}
.faq-section{margin-top:22px}
.faq-heading{display:flex;align-items:end;justify-content:space-between;gap:16px;margin:0 2px 12px}
.faq-heading h2{margin:4px 0 0;font-size:21px}
.faq-heading>span{color:#859299;font-size:11px;letter-spacing:.35px}
.faq-list{display:grid;gap:9px}
.faq-item{overflow:hidden;border:1px solid var(--line);border-radius:12px;background:#fff;transition:border-color .18s ease,box-shadow .18s ease}
.faq-item[open]{border-color:#b8dbe3;box-shadow:0 5px 16px #1b66750d}
.faq-item summary{display:grid;grid-template-columns:30px minmax(0,1fr) 22px;align-items:center;gap:11px;min-height:58px;padding:11px 17px;list-style:none;cursor:pointer;color:#35454c;font-size:13px;font-weight:700;line-height:1.55}
.faq-item summary::-webkit-details-marker{display:none}
.faq-number{display:grid;width:28px;height:28px;place-items:center;border-radius:50%;background:#e9f5f7;color:var(--teal-deep);font-size:12px}
.faq-chevron{color:#72919a;font-size:19px;text-align:center;transition:transform .18s ease}
.faq-item[open] .faq-chevron{transform:rotate(180deg)}
.faq-answer{padding:0 50px 17px 58px;background:#e7f5f8;color:#65757c;font-size:12px;line-height:1.9}
.faq-answer a{color:var(--teal-deep);text-decoration:underline;text-underline-offset:2px;overflow-wrap:anywhere}
.faq-answer strong{color:#34474e}
@media(max-width:650px){
  .about-page{margin:10px 0 20px}
  .about-heading{padding:20px 18px;margin-bottom:12px}
  .about-heading:after{right:7px;top:0;font-size:94px}
  .about-heading h2{font-size:21px}
  .about-heading p{font-size:11px;max-width:88%}
  .about-story{padding:19px 17px}
  .about-story h3{font-size:16px}
  .about-story p{font-size:12px;line-height:1.85}
  .about-signoff{padding:11px 12px;font-size:12px}
  .faq-section{margin-top:17px}
  .faq-heading{align-items:flex-start;flex-direction:column;gap:3px;margin-bottom:9px}
  .faq-heading h2{font-size:19px}
  .faq-heading>span{font-size:10px}
  .faq-item summary{grid-template-columns:27px minmax(0,1fr) 18px;gap:8px;padding:10px 11px;font-size:12px}
  .faq-number{width:26px;height:26px}
  .faq-answer{padding:0 14px 14px 46px;font-size:11px;line-height:1.85}
}
html[data-theme="dark"] .about-heading{border-color:#32474d;background:linear-gradient(120deg,#1b3339 0%,#1c292e 60%,#342c20 100%)}
html[data-theme="dark"] .about-heading:after{color:#59c3d80d}
html[data-theme="dark"] .about-heading p{color:#b0c1c7}
html[data-theme="dark"] .about-story,
html[data-theme="dark"] .faq-item{background:#1b252a}
html[data-theme="dark"] .about-story p,
html[data-theme="dark"] .faq-answer{color:#b6c4c9}
html[data-theme="dark"] .faq-answer{background:#203b43}
html[data-theme="dark"] .about-story p strong,
html[data-theme="dark"] .faq-item summary,
html[data-theme="dark"] .faq-answer strong{color:#e3edf0}
html[data-theme="dark"] .about-signoff{border-color:#c18a3b;background:#30291f;color:#f0cb8e}
html[data-theme="dark"] .faq-item[open]{border-color:#3f6972}

/* Responsive member-application page; application data stays private unless separately consented. */
body[data-view="application"] .main>.route-gate,
body[data-view="application"] .main>.hero-grid,
body[data-view="application"] .main>#newsPanel,
body[data-view="application"] .main>#statsSection,
body[data-view="application"] .main>.content-grid,
body[data-view="application"] .main>.bottom-row,
body[data-view="application"] .main>#aboutSection{display:none!important}
body[data-view="application"] .main>#applicationSection{display:block}
.application-page{display:none;margin:18px 0 26px}
.application-heading{position:relative;overflow:hidden;margin-bottom:14px;padding:23px 28px;border:1px solid #d8e9ed;border-radius:16px;background:linear-gradient(120deg,#e7f5f8 0%,#f8fbfc 67%,#fff5e5 100%)}
.application-heading:after{content:"92";position:absolute;right:24px;top:-19px;color:#008fb30d;font-size:145px;font-weight:900;line-height:1;pointer-events:none}
.application-heading .eyebrow,.application-heading h2,.application-heading p{position:relative;z-index:1}
.application-heading h2{margin:7px 0 3px;font-size:25px;line-height:1.4}
.application-heading p{margin:0;color:#617780;font-size:12px}
.application-notice{display:flex;align-items:flex-start;gap:10px;margin:0 0 14px;padding:11px 14px;border:1px solid #f1dfbf;border-radius:10px;background:#fff8ec;color:#795d2c;font-size:11px;line-height:1.65}
.application-notice strong{white-space:nowrap;color:#67491a}
.application-form-card{padding:20px 22px;border:1px solid var(--line);border-radius:15px;background:#fff}
.application-form-card#memberApplicationForm{background:#e7f5f8}
.application-form-heading{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:17px}
.application-form-heading h3{margin:0;font-size:16px}
.application-form-heading p{margin:2px 0 0;color:#8a969c;font-size:10px}
.required-mark{color:#bd6a2d;font-weight:800}
.application-step{padding:4px 9px;border-radius:20px;background:#eaf6f8;color:#387c8c;font-size:10px;white-space:nowrap}
.application-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:13px 16px}
.application-grid>label{display:grid;grid-template-columns:auto auto auto;justify-content:start;align-items:center;gap:1px 5px;color:#5f7078;font-size:11px;font-weight:650}
.application-grid>label input,.application-grid>label textarea,.application-grid>label select{grid-column:1/-1;width:100%;min-width:0;margin-top:4px;border:1px solid #dfe8eb;border-radius:8px;background:#fff;padding:10px 11px;color:var(--ink);font:inherit;font-size:13px;font-weight:400;line-height:1.5}
.application-grid>label textarea{resize:vertical;min-height:67px}
.application-grid>label input::placeholder{color:#a2adb2;font-size:11px}
.application-span-2{grid-column:1/-1}
.private-mark{padding:1px 6px;border-radius:20px;background:#fff3dd;color:#916326;font-size:9px;font-weight:700}
.optional-mark{color:#8d999f;font-size:9px;font-weight:500}
.application-privacy{display:grid;gap:2px;margin:18px 0 10px;padding:11px 13px;border-left:3px solid #f0b451;border-radius:0 9px 9px 0;background:#fff8ec;color:#755a30;font-size:10px;line-height:1.6}
.application-privacy strong{font-size:11px}
.application-consents{display:grid;gap:9px;margin:0 0 14px;padding:12px 14px;border:1px solid #e5ecee;border-radius:10px}
.application-consents legend{padding:0 6px;color:#61747b;font-size:11px;font-weight:700}
.application-check,.application-eligibility{display:flex;align-items:flex-start;gap:8px;color:#68777e;font-size:10px;line-height:1.65}
.application-check input,.application-eligibility input{width:16px;height:16px;flex:0 0 16px;margin:2px 0 0;accent-color:var(--teal)}
.application-eligibility{margin:12px 0;padding:11px 13px;border:1px solid #dfeaed;border-radius:9px;background:#f8fbfc;color:#43575e;font-weight:650}
.application-submit{width:100%;margin-top:3px}
.application-flow-note{margin:8px 0 0;color:#919da2;font-size:10px;text-align:center}
.application-result{margin-top:12px;padding:11px 13px;border:1px solid #bfe0d0;border-radius:9px;background:#eef8f2;color:#246a4c;font-size:11px;text-align:center}
.application-account-note{display:flex;align-items:center;gap:13px;margin-top:14px;padding:16px 18px;border:1px solid var(--line);border-radius:13px;background:#fff}
.application-account-icon{display:grid;place-items:center;flex:0 0 38px;width:38px;height:38px;border-radius:10px;background:#e7f4f7;color:var(--teal);font-size:22px}
.application-account-note h3{margin:0 0 3px;font-size:12px}
.application-account-note p{margin:0;color:#7c898f;font-size:10px;line-height:1.6}
.application-account-note button{margin-left:auto;white-space:nowrap}
html[data-theme="dark"] .application-heading{border-color:#32474d;background:linear-gradient(120deg,#1b3339 0%,#1c292e 67%,#342c20 100%)}
html[data-theme="dark"] .application-heading:after{color:#59c3d80d}
html[data-theme="dark"] .application-heading p{color:#b0c1c7}
html[data-theme="dark"] .application-notice{background:#30291f;border-color:#59482e;color:#ead3a5}
html[data-theme="dark"] .application-notice strong{color:#ffe0a5}
html[data-theme="dark"] .application-form-card,html[data-theme="dark"] .application-account-note{background:#1b252a;border-color:var(--line)}
html[data-theme="dark"] .application-form-card#memberApplicationForm{background:#1b252a}
html[data-theme="dark"] .application-form-heading p,html[data-theme="dark"] .application-account-note p{color:#aab8be}
html[data-theme="dark"] .application-step{background:#203b43;color:#a3dce7}
html[data-theme="dark"] .application-grid>label{color:#b8c5ca}
html[data-theme="dark"] .application-grid>label input,html[data-theme="dark"] .application-grid>label textarea,html[data-theme="dark"] .application-grid>label select{background:#131c20;border-color:#3a4a51;color:#e4ecef}
html[data-theme="dark"] .private-mark{background:#40331f;color:#f0ca89}
html[data-theme="dark"] .application-privacy{background:#30291f;color:#ead3a5}
html[data-theme="dark"] .application-consents{border-color:#35434a}
html[data-theme="dark"] .application-consents legend,html[data-theme="dark"] .application-check,html[data-theme="dark"] .application-eligibility{color:#bac7cc}
html[data-theme="dark"] .application-eligibility{background:#202c31;border-color:#35434a}
html[data-theme="dark"] .application-flow-note{color:#a9b7bd}
html[data-theme="dark"] .application-result{background:#20392f;border-color:#356a54;color:#a9dfc1}
html[data-theme="dark"] .application-account-icon{background:#203b43;color:#81d5e4}
@media(max-width:650px){
  .application-page{margin:10px 0 20px}
  .application-heading{padding:19px 18px;margin-bottom:11px}
  .application-heading:after{right:7px;top:0;font-size:94px}
  .application-heading h2{font-size:21px}
  .application-heading p{font-size:11px;max-width:88%}
  .application-notice{flex-direction:column;gap:2px;padding:10px 12px}
  .application-form-card{padding:17px 15px}
  .application-form-heading h3{font-size:15px}
  .application-grid{grid-template-columns:1fr;gap:11px}
  .application-span-2{grid-column:auto}
  .application-account-note{align-items:flex-start;flex-wrap:wrap;padding:14px}
  .application-account-note>div:nth-child(2){flex:1;min-width:calc(100% - 56px)}
  .application-account-note button{margin:5px 0 0 50px}
}



/* Junior 92 family form: interactive only in the current page, never persisted. */
body[data-view="junior"] .main>:not(.topbar):not(.mobile-nav):not(#juniorSection):not(.site-status-guide){display:none!important}
body[data-view="junior"] .main>#juniorSection{display:block}
.junior-page{display:none;margin:18px 0 26px}
.junior-heading:after{content:"92"}
.nav a[data-page-key="junior"],
.mobile-nav a[data-page-key="junior"]{color:#008fb3;font-weight:700;transition:color .18s ease,background .18s ease,border-color .18s ease}
.nav a[data-page-key="junior"]:hover,
.nav a[data-page-key="junior"]:focus-visible,
.mobile-nav a[data-page-key="junior"]:hover,
.mobile-nav a[data-page-key="junior"]:focus-visible{color:#d78622;background:#fff5e5;border-color:#f3d5a3}
.nav a[data-page-key="junior"][aria-current="page"],
.mobile-nav a[data-page-key="junior"][aria-current="page"]{color:var(--teal-deep)}
.nav a[data-page-key="junior"][aria-current="page"]:hover,
.nav a[data-page-key="junior"][aria-current="page"]:focus-visible,
.mobile-nav a[data-page-key="junior"][aria-current="page"]:hover,
.mobile-nav a[data-page-key="junior"][aria-current="page"]:focus-visible{color:#d78622}
.junior-child-help{margin:10px 0 12px;color:#819097;font-size:10px}
.junior-child-list{display:grid;gap:12px;margin:12px 0 16px}
.junior-child-card{min-width:0;margin:0;padding:15px 16px 17px;border:1px solid #e2eaec;border-radius:12px;background:#fbfcfc}
.junior-child-card legend{padding:0 7px;color:#387c8c;font-size:12px;font-weight:750}
.junior-child-grid{margin-top:1px}
.junior-child-grid>label.application-span-2{grid-column:1/-1}
.junior-empty-state{margin:0;padding:13px 14px;border:1px dashed #d7e3e6;border-radius:10px;background:#f8fbfc;color:#87959a;font-size:11px;text-align:center}
html[data-theme="dark"] .junior-child-help{color:#aab8be}
html[data-theme="dark"] .junior-child-card{border-color:#35434a;background:#172126}
html[data-theme="dark"] .junior-child-card legend{color:#a3dce7}
html[data-theme="dark"] .junior-empty-state{border-color:#3a4a51;background:#202c31;color:#aab8be}
html[data-theme="dark"] .nav a[data-page-key="junior"],
html[data-theme="dark"] .mobile-nav a[data-page-key="junior"]{color:#59c3d8}
html[data-theme="dark"] .nav a[data-page-key="junior"]:hover,
html[data-theme="dark"] .nav a[data-page-key="junior"]:focus-visible,
html[data-theme="dark"] .mobile-nav a[data-page-key="junior"]:hover,
html[data-theme="dark"] .mobile-nav a[data-page-key="junior"]:focus-visible{color:#f4bb69;background:#342f25;border-color:#765b33}
html[data-theme="dark"] .nav a[data-page-key="junior"][aria-current="page"],
html[data-theme="dark"] .mobile-nav a[data-page-key="junior"][aria-current="page"]{color:#8bd9e8}
html[data-theme="dark"] .nav a[data-page-key="junior"][aria-current="page"]:hover,
html[data-theme="dark"] .nav a[data-page-key="junior"][aria-current="page"]:focus-visible,
html[data-theme="dark"] .mobile-nav a[data-page-key="junior"][aria-current="page"]:hover,
html[data-theme="dark"] .mobile-nav a[data-page-key="junior"][aria-current="page"]:focus-visible{color:#f4bb69}
@media(max-width:650px){
  .junior-page{margin:10px 0 20px}
  .junior-child-card{padding:12px 12px 14px}
  .junior-child-grid>label.application-span-2{grid-column:auto}
}


/* Profile-owned Junior 92 privacy controls and ephemeral offline viewer. */
.junior-share-box{margin-top:18px;padding:16px;border:1px solid #dbe8eb;border-radius:13px;background:#f9fcfc}
.junior-share-heading{display:flex;align-items:flex-start;justify-content:space-between;gap:12px;margin-bottom:11px}
.junior-share-heading h3{margin:0 0 3px;font-size:14px}
.junior-share-heading p{margin:0;color:#75858b;font-size:10px;line-height:1.6}
.junior-share-warning{margin:0 0 12px;padding:9px 11px;border:1px solid #f1dfbf;border-radius:8px;background:#fff8ec;color:#795d2c;font-size:10px;line-height:1.6}
.junior-consent-check{margin:0 0 11px;padding:10px;border:1px solid #dfeaed;border-radius:9px;background:#fff}
.junior-consent-check strong{font-weight:750}
.junior-share-fields{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px 12px;margin:0;padding:10px 11px;border:1px solid #e2eaec;border-radius:9px}
.junior-share-fields legend{padding:0 5px;color:#61747b;font-size:10px;font-weight:700}
.junior-share-fields .application-check{font-size:10px}
.junior-share-fields input:disabled{opacity:.5}
.junior-share-status{margin:10px 0;color:#819097;font-size:10px}
.junior-share-box>.secondary{width:100%}
.member-demo-actions{display:flex;gap:7px;margin-top:8px}
.member-profile-button{padding:5px 9px;font-size:10px}
.junior-viewer-dialog{max-width:600px;max-height:min(86vh,800px);overflow:auto}
.junior-viewer-demo-note{margin:0 0 14px;padding:9px 11px;border:1px solid #f1dfbf;border-radius:8px;background:#fff8ec;color:#795d2c;font-size:10px;line-height:1.6}
.junior-viewer-content{display:grid;gap:11px}
.junior-shared-group{padding:13px;border:1px solid var(--line);border-radius:10px;background:#fbfcfc}
.junior-shared-group h3{margin:0 0 9px;font-size:13px}
.junior-shared-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;margin:0}
.junior-shared-value{min-width:0;padding:8px 9px;border-radius:7px;background:#f2f7f8}
.junior-shared-value dt{color:#87959a;font-size:9px}
.junior-shared-value dd{margin:2px 0 0;color:#34474e;font-size:11px;font-weight:700;overflow-wrap:anywhere}
.junior-contact-socials{display:flex;flex-wrap:wrap;align-items:center;gap:5px;margin-top:2px}
.junior-social-link{display:grid;place-items:center;flex:0 0 30px;width:30px;height:30px;padding:0;border:1px solid var(--line);border-radius:8px;background:var(--white);box-shadow:0 2px 6px #15323b0c;transition:transform .16s ease,border-color .16s ease,box-shadow .16s ease}
.junior-social-link:hover{transform:translateY(-1px);border-color:#f0c77f;box-shadow:0 3px 8px #15323b1a}
.junior-social-link svg{display:block;width:16px;height:16px;fill:currentColor}
.junior-social-link[data-social="facebook"]{color:#1877f2}.junior-social-link[data-social="whatsapp"]{color:#20a464}.junior-social-link[data-social="twitter"]{color:#1d9bf0}.junior-social-link[data-social="instagram"]{color:#c13584}.junior-social-link[data-social="x"]{color:#111}.junior-social-link[data-social="linkedin"]{color:#0a66c2}
.junior-shared-empty{margin:0;padding:13px;border:1px dashed #d7e3e6;border-radius:9px;color:#87959a;font-size:11px;text-align:center}
html[data-theme="dark"] .junior-share-box{border-color:#35434a;background:#1b252a}
html[data-theme="dark"] .junior-share-heading p,html[data-theme="dark"] .junior-share-status{color:#aab8be}
html[data-theme="dark"] .junior-share-warning,html[data-theme="dark"] .junior-viewer-demo-note{border-color:#59482e;background:#30291f;color:#ead3a5}
html[data-theme="dark"] .junior-consent-check,html[data-theme="dark"] .junior-share-fields{border-color:#35434a;background:#172126}
html[data-theme="dark"] .junior-share-fields legend{color:#bac7cc}
html[data-theme="dark"] .junior-shared-group{border-color:#35434a;background:#1b252a}
html[data-theme="dark"] .junior-shared-value{background:#243238}
html[data-theme="dark"] .junior-shared-value dt,html[data-theme="dark"] .junior-shared-empty{color:#aab8be}
html[data-theme="dark"] .junior-shared-value dd{color:#e3edf0}
html[data-theme="dark"] .junior-shared-empty{border-color:#3a4a51}
@media(max-width:650px){
  .junior-share-box{padding:13px}
  .junior-share-fields,.junior-shared-grid{grid-template-columns:1fr}
  .junior-viewer-dialog{max-height:88vh;padding:22px 17px}
}


/* Compact social links directly below the hotline. */
.hero-social-links{position:relative;z-index:2;display:flex;flex-wrap:wrap;align-items:center;gap:8px;margin:11px 0 0;max-width:100%}
.hero-social-links>a{display:inline-flex;align-items:center;gap:7px;min-height:38px;padding:5px 10px;border:1px solid #c9e2e8;border-radius:999px;background:#ffffffed;color:var(--teal-deep);box-shadow:0 3px 10px #315c6510;transition:transform .18s ease,background .18s ease,border-color .18s ease,color .18s ease}
.hero-social-links>a:hover{transform:translateY(-1px);border-color:#f1c77f;background:#fff8ec;color:#a66a17}
.hero-social-mark{display:grid;place-items:center;flex:0 0 21px;width:21px;height:21px;border-radius:50%;background:var(--teal);color:#fff;font-family:Arial,sans-serif;font-size:15px;font-weight:800;font-style:italic;line-height:1}
.hero-social-mark.group{background:#f1a743;color:#fff;font-size:14px;font-style:normal}
.hero-social-label{display:grid;gap:0;line-height:1.2}
.hero-social-label small{color:#ad8752;font-size:8px;font-weight:700;letter-spacing:.15px}
.hero-social-label strong{font-size:10px;font-weight:750;white-space:nowrap}
.hero-social-arrow{margin-left:1px;color:#be8431;font-size:12px;font-weight:800}
html[data-theme="dark"] .hero-social-links>a{border-color:#43565d;background:#25343a;color:#d7f1f5}
html[data-theme="dark"] .hero-social-links>a:hover{border-color:#b68749;background:#342f25;color:#ffd38e}
html[data-theme="dark"] .hero-social-label small,html[data-theme="dark"] .hero-social-arrow{color:#e4bb75}
@media(max-width:650px){
  .hero-social-links{gap:7px;margin-top:9px}
  .hero-social-links>a{min-height:36px;padding:5px 9px}
  .hero-social-label strong{font-size:9px}
}


/* Conditional study and workplace subcategories within each Junior 92 child card. */
.junior-subcategory{grid-column:1/-1;min-width:0;padding:12px;border:1px solid #dfe9eb;border-radius:9px;background:#f8fbfc}
.junior-subcategory-heading{margin:0 0 9px;color:#62777f;font-size:11px;font-weight:750}
.junior-subcategory-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}
.junior-subcategory-grid label{min-width:0}
.junior-workplace{grid-column:1/-1}
html[data-theme="dark"] .junior-subcategory{border-color:#35434a;background:#202d32}
html[data-theme="dark"] .junior-subcategory-heading{color:#b7c8ce}
@media(max-width:650px){.junior-subcategory{padding:10px}.junior-subcategory-grid{grid-template-columns:1fr}}


/* Match every navigation item to Junior 92's orange hover treatment. */
.nav a[data-page-key],.nav button[data-page-key],.mobile-nav a[data-page-key],.mobile-nav button[data-page-key]{transition:color .18s ease,background-color .18s ease,transform .18s ease,box-shadow .18s ease,font-weight .18s ease}
.nav a[data-page-key]:hover,.nav a[data-page-key]:focus-visible,.nav button[data-page-key]:hover,.nav button[data-page-key]:focus-visible,.mobile-nav a[data-page-key]:hover,.mobile-nav a[data-page-key]:focus-visible,.mobile-nav button[data-page-key]:hover,.mobile-nav button[data-page-key]:focus-visible{color:#d78622;background:#fff5e5;font-weight:800;transform:translateY(-1px);box-shadow:0 4px 12px #f5aa4924}
html[data-theme="dark"] .nav a[data-page-key]:hover,html[data-theme="dark"] .nav a[data-page-key]:focus-visible,html[data-theme="dark"] .nav button[data-page-key]:hover,html[data-theme="dark"] .nav button[data-page-key]:focus-visible,html[data-theme="dark"] .mobile-nav a[data-page-key]:hover,html[data-theme="dark"] .mobile-nav a[data-page-key]:focus-visible,html[data-theme="dark"] .mobile-nav button[data-page-key]:hover,html[data-theme="dark"] .mobile-nav button[data-page-key]:focus-visible{color:#f4bb69;background:#342f25;box-shadow:0 4px 12px #f5aa491c}
@media(prefers-reduced-motion:reduce){.nav a[data-page-key],.nav button[data-page-key],.mobile-nav a[data-page-key],.mobile-nav button[data-page-key]{transition:none!important}.nav a[data-page-key]:hover,.nav button[data-page-key]:hover,.mobile-nav a[data-page-key]:hover,.mobile-nav button[data-page-key]:hover{transform:none}}


/* Light orange menu canvas to echo the logo's warm accent. */
.sidebar,.mobile-nav{background:#fff4e3}
html[data-theme="dark"] .sidebar,html[data-theme="dark"] .mobile-nav{background:#20292d}


/* Winter meetup registration details and page-local payment UI demo. */
.event-title-row{position:relative;z-index:1;display:flex;align-items:flex-start;justify-content:space-between;gap:10px;margin:17px 0 6px}
.event-title-row h2{flex:1 1 auto;min-width:0;margin:0;font-size:24px;line-height:1.4;font-weight:650}
.event-registration-details{flex:0 0 auto;margin-top:2px;padding:6px 9px;border:1px solid #f5d29a;border-radius:8px;background:#fff4e3;color:#87530e;font-size:10px;font-weight:750;line-height:1.35;white-space:nowrap;transition:background .18s ease,color .18s ease,transform .18s ease}
.event-registration-details:hover,.event-registration-details:focus-visible{background:#f5aa49;color:#252326;transform:translateY(-1px)}
.registration-info{margin:16px 0 0;padding:14px;border:1px solid #e5ecee;border-radius:12px;background:#f8fbfc}
.registration-info h3{margin:0 0 6px;font-size:14px}
.registration-fee-status{margin:0 0 4px;color:#75501d;font-size:12px;font-weight:750}
.registration-instruction-summary{margin:0 0 9px;color:#718087;font-size:11px;line-height:1.5}
.registration-steps{margin:0 0 12px;padding-left:20px;color:#56656c;font-size:11px;line-height:1.6}
.registration-demo-warning{margin:10px 0;padding:10px 12px;border:1px solid #f1dfbf;border-radius:9px;background:#fff8ec;color:#795d2c;font-size:10px;line-height:1.55}
.registration-start-button{width:100%}
.registration-config-details{margin-top:11px;padding:10px 12px;border:1px dashed #d5dfe2;border-radius:10px;background:#fff;color:#55646b;font-size:11px}
.registration-config-details summary{cursor:pointer;font-weight:750;color:#805620}
.registration-config-note{margin:7px 0 10px;color:#7d898e;font-size:10px;line-height:1.5}
.registration-config-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}
.registration-config-grid label{display:grid;gap:4px;min-width:0;font-size:10px;font-weight:700}
.registration-config-grid label:first-child{grid-column:1/-1}
.registration-config-grid input,.registration-config-grid textarea{width:100%;min-width:0;border:1px solid #dfe8eb;border-radius:8px;background:#fff;padding:8px 9px;color:var(--ink);font:inherit;font-size:11px;font-weight:400}
.registration-config-grid textarea{resize:vertical;line-height:1.5}
.registration-payment-dialog{width:min(100%,590px);max-height:min(90vh,860px);overflow:auto}
.registration-payment-options{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;margin:14px 0}
.payment-method-button{display:flex;align-items:center;justify-content:center;gap:9px;min-height:48px;padding:10px;border:2px solid transparent;border-radius:10px;color:#fff;font-size:14px;font-weight:800;transition:transform .16s ease,box-shadow .16s ease,border-color .16s ease}
.payment-method-button span{display:grid;place-items:center;width:25px;height:25px;border-radius:50%;background:#ffffff26;font-size:13px}
.payment-method-button.bkash{background:#d91a72}
.payment-method-button.nagad{background:#e77b20}
.payment-method-button:hover,.payment-method-button:focus-visible{transform:translateY(-1px);box-shadow:0 5px 14px #142d3d1c}
.payment-method-button[aria-pressed="true"]{border-color:#252326;box-shadow:0 0 0 2px #fff,0 0 0 4px #f5aa49}
.registration-payment-panel{margin-top:12px}
.registration-payment-panel h3{margin:0 0 8px;font-size:14px}
.registration-method-instructions{margin:0 0 12px;padding:10px 11px;border:1px solid #e7ecee;border-radius:9px;background:#f8fbfc;color:#5b6c72;font-size:11px;line-height:1.55;white-space:pre-wrap;overflow-wrap:anywhere}
.registration-payment-form{margin-top:10px}
.registration-total-row{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;padding:11px;border:1px solid #e0e9eb;border-radius:10px;background:#f5f9fa}
.registration-total-row span{display:grid;gap:3px;color:#718087;font-size:10px}
.registration-total-row strong{color:#273a40;font-size:15px;font-variant-numeric:tabular-nums}
.registration-pay-status{margin:0;color:#7a858a;font-size:10px;line-height:1.5}
.registration-pay-button{width:100%}
.registration-payment-result{margin:0;padding:10px 11px;border:1px solid #cce8d9;border-radius:9px;background:#eff9f3;color:#315c45;font-size:11px;line-height:1.55}
html[data-theme="dark"] .registration-info{border-color:#394a51;background:#202d32}
html[data-theme="dark"] .registration-fee-status{color:#f2c47a}
html[data-theme="dark"] .registration-instruction-summary,html[data-theme="dark"] .registration-steps{color:#b1c0c6}
html[data-theme="dark"] .registration-demo-warning{border-color:#5b4628;background:#332a1d;color:#f1c47e}
html[data-theme="dark"] .registration-config-details{border-color:#46565c;background:#1b252a;color:#c4d0d4}
html[data-theme="dark"] .registration-config-details summary{color:#f2c47a}
html[data-theme="dark"] .registration-config-note{color:#aab8be}
html[data-theme="dark"] .registration-config-grid input,html[data-theme="dark"] .registration-config-grid textarea{border-color:#3a4a51;background:#131c20;color:#e4ecef}
html[data-theme="dark"] .payment-method-button[aria-pressed="true"]{border-color:#f5aa49;box-shadow:0 0 0 2px #1b252a,0 0 0 4px #f5aa49}
html[data-theme="dark"] .registration-method-instructions{border-color:#394a51;background:#202d32;color:#c3d0d4}
html[data-theme="dark"] .registration-total-row{border-color:#394a51;background:#202d32}
html[data-theme="dark"] .registration-total-row strong{color:#e8eff2}
html[data-theme="dark"] .registration-pay-status{color:#b3c0c5}
html[data-theme="dark"] .registration-payment-result{border-color:#38604a;background:#1f3329;color:#c1e5cf}
@media(max-width:600px){.event-title-row h2{font-size:21px}.event-registration-details{padding:5px 7px;font-size:9px}.registration-payment-options{grid-template-columns:1fr}.registration-config-grid{grid-template-columns:1fr}.registration-config-grid label:first-child{grid-column:auto}}
@media(max-width:380px){.event-title-row{gap:6px}.event-title-row h2{font-size:19px}.event-registration-details{font-size:8px;padding:5px 6px}.registration-total-row{grid-template-columns:1fr}}


/* Every page view shares the welcome page's gentle blue/orange rotation. */
html:not([data-theme="dark"]) body{background:linear-gradient(125deg,#eaf6fa 0%,#fff2e6 36%,#e9f5f8 68%,#fff3e8 100%);background-attachment:fixed}

/* Applicant contact fields: repeated mobile numbers, WhatsApp, and a short intro. */
.application-phone-group{display:grid;gap:8px;min-width:0}
.application-phone-heading{display:flex;align-items:center;gap:5px;color:#5f7078;font-size:11px;font-weight:650}
.application-mobile-icon{width:16px;height:16px;flex:0 0 16px;fill:currentColor;color:var(--teal-deep)}
.application-phone-list{display:grid;gap:8px}
.application-phone-row{display:grid;grid-template-columns:minmax(0,1fr) 40px;gap:8px;align-items:end;min-width:0}
.application-phone-row>label{display:grid;gap:4px;min-width:0;color:#5f7078;font-size:11px;font-weight:650}
.application-phone-row input{width:100%;min-width:0;margin-top:0;border:1px solid #dfe8eb;border-radius:8px;background:#fff;padding:10px 11px;color:var(--ink);font:inherit;font-size:13px;font-weight:400;line-height:1.5}
.application-phone-row input::placeholder{color:#a2adb2;font-size:11px}
.application-phone-remove{width:40px;height:40px;padding:0;border-radius:8px;font-size:20px;line-height:1}
.application-phone-add{justify-self:start;min-height:36px;padding:6px 10px;font-size:11px}
.application-phone-help{margin:0;color:#89969c;font-size:10px;line-height:1.5}
html[data-theme="dark"] .application-phone-heading,html[data-theme="dark"] .application-phone-row>label{color:#b8c5ca}
html[data-theme="dark"] .application-mobile-icon{color:#8bd9e8}
html[data-theme="dark"] .application-phone-row input{background:#131c20;border-color:#3a4a51;color:#e4ecef}
html[data-theme="dark"] .application-phone-help{color:#aab8be}

/* Optional Junior 92 child photos stay local, are resized in-browser, and are shareable only by opt-in. */
.junior-child-photo{display:grid;gap:6px;min-width:0}
.junior-child-photo>label{display:grid;gap:5px;min-width:0;color:#5f7078;font-size:11px;font-weight:650}
.junior-child-photo input[type="file"]{width:100%;min-width:0;border:1px solid #dfe8eb;border-radius:8px;background:#fff;padding:8px;color:var(--ink);font:inherit;font-size:11px}
.junior-photo-hint{margin:0;color:#89969c;font-size:10px;line-height:1.5}
.junior-photo-preview{display:grid;grid-template-columns:minmax(0,180px) minmax(0,1fr);gap:10px;align-items:center;padding:9px;border:1px solid #dfe8eb;border-radius:9px;background:#f8fbfc;min-width:0}
.junior-photo-preview img{display:block;width:100%;height:140px;object-fit:contain;border-radius:6px;background:#eef2f3}
.junior-photo-status{margin:0 0 7px;color:#697980;font-size:10px;line-height:1.5;overflow-wrap:anywhere}
.junior-photo-remove{min-height:32px;padding:5px 10px;font-size:10px}
.junior-shared-photo{display:block;max-width:100%;max-height:360px;width:auto;height:auto;object-fit:contain;margin:0 auto 12px;border-radius:9px}
html[data-theme="dark"] .junior-child-photo>label{color:#b8c5ca}
html[data-theme="dark"] .junior-child-photo input[type="file"]{background:#131c20;border-color:#3a4a51;color:#e4ecef}
html[data-theme="dark"] .junior-photo-hint,html[data-theme="dark"] .junior-photo-status{color:#aab8be}
html[data-theme="dark"] .junior-photo-preview{background:#202c31;border-color:#3a4a51}
html[data-theme="dark"] .junior-photo-preview img{background:#131c20}
@media(max-width:650px){.junior-photo-preview{grid-template-columns:minmax(0,108px) minmax(0,1fr);gap:8px}.junior-photo-preview img{height:104px}}


/* Junior 92 contact fields stay local and are shared only via explicit profile consent. */
.junior-contact-section{margin:14px 0;padding:13px 14px;border:1px solid #dfe9eb;border-radius:11px;background:#fbfdfd}
.junior-contact-section h4{margin:0 0 4px;color:#2b5661;font-size:12px}
.junior-contact-section>p{margin:0 0 10px;color:#77888e;font-size:10px;line-height:1.5}
.junior-contact-grid{gap:10px 12px}
.junior-contact-subgroup{grid-column:1/-1;padding:10px;border:1px solid #e1eaec;border-radius:9px;background:#f8fbfc}
.junior-contact-subgroup h5{margin:0 0 9px;color:#386d79;font-size:10px}
.junior-child-contact-grid{gap:8px 10px}
.junior-contact-grid input[type=url],.junior-child-contact-grid input[type=url]{min-width:0}
.junior-social-field{display:grid;gap:4px;min-width:0;color:#5f7078;font-size:11px;font-weight:650}
.application-grid>label.application-social-field{grid-template-columns:minmax(0,1fr);align-items:start;gap:4px}
.application-grid>label.application-social-field>span:first-child{line-height:1.5}
.junior-social-control{display:flex;align-items:center;gap:8px;min-width:0;min-height:40px;padding:0 10px;border:1px solid #dfe8eb;border-radius:8px;background:#fff;transition:border-color .16s ease,box-shadow .16s ease}
.junior-social-control:focus-within{border-color:#66b8c9;box-shadow:0 0 0 3px #008fb31a}
.junior-social-mark{display:grid;place-items:center;flex:0 0 18px;width:18px;height:18px}
.junior-social-mark svg{display:block;width:17px;height:17px;fill:currentColor}
.junior-social-field[data-social="facebook"] .junior-social-mark{color:#1877f2}
.junior-social-field[data-social="whatsapp"] .junior-social-mark{color:#20a464}
.junior-social-field[data-social="twitter"] .junior-social-mark{color:#1d9bf0}
.junior-social-field[data-social="instagram"] .junior-social-mark{color:#c13584}
.junior-social-field[data-social="x"] .junior-social-mark{color:#111}
.junior-social-field[data-social="linkedin"] .junior-social-mark{color:#0a66c2}
.junior-social-control input{width:100%;min-width:0;margin:0!important;padding:8px 0!important;border:0!important;border-radius:0!important;background:transparent!important;color:var(--ink);font:inherit;font-size:12px;font-weight:400;line-height:1.5;box-shadow:none!important}
.junior-social-control input:focus-visible{outline:0;outline-offset:0}
html[data-theme="dark"] .junior-contact-section{border-color:#35434a;background:#1b252a}
html[data-theme="dark"] .junior-contact-section h4,html[data-theme="dark"] .junior-contact-subgroup h5{color:#a3dce7}
html[data-theme="dark"] .junior-contact-section>p{color:#aab8be}
html[data-theme="dark"] .junior-contact-subgroup{border-color:#35434a;background:#172126}
html[data-theme="dark"] .junior-social-field{color:#b8c5ca}
html[data-theme="dark"] .junior-social-control{border-color:#3a4a51;background:#131c20}
html[data-theme="dark"] .junior-social-field[data-social="x"] .junior-social-mark{color:#f4f7f8}
html[data-theme="dark"] .junior-social-control input{color:#e4ecef}
.junior-contact-link{color:var(--teal-deep);overflow-wrap:anywhere;text-decoration:underline;text-underline-offset:2px}
html[data-theme="dark"] .junior-contact-link{color:#8bd9e8}
@media(max-width:650px){.junior-contact-section{padding:11px}.junior-contact-subgroup{padding:8px}.junior-contact-grid,.junior-child-contact-grid{grid-template-columns:1fr}}

html[data-theme="dark"] .junior-social-link[data-social="x"]{color:#f4f7f8}


/* Soft 3D treatment for the approved navigation and key actions. The warm ivory/orange menu palette and teal current-page accent are preserved. */
.nav a[data-page-key],
.nav button[data-page-key],
.mobile-nav a[data-page-key],
.mobile-nav button[data-page-key],
.join-card [data-page-key="application"]{
  position:relative;
  border:1px solid #eadcc5;
  background:linear-gradient(180deg,#fffdf8 0%,#fff8eb 100%);
  color:#68747b;
  box-shadow:0 4px 0 #e8d9bd,0 7px 14px #765a2412,inset 0 1px 0 #ffffff;
  transform:translateY(-2px);
  transition:transform .18s ease,background .18s ease,border-color .18s ease,box-shadow .18s ease,color .18s ease;
}
.nav a[data-page-key][aria-current="page"],
.mobile-nav a[data-page-key][aria-current="page"]{
  border-color:#b7dce3;
  background:linear-gradient(180deg,#f1fbfc 0%,#e2f4f7 100%);
  color:var(--teal-deep);
  box-shadow:0 4px 0 #b9dfe5,0 7px 14px #147f9418,inset 0 1px 0 #ffffff;
}
.nav a[data-page-key]:hover,
.nav button[data-page-key]:hover,
.mobile-nav a[data-page-key]:hover,
.mobile-nav button[data-page-key]:hover,
.join-card [data-page-key="application"]:hover,
.nav a[data-page-key]:focus-visible,
.nav button[data-page-key]:focus-visible,
.mobile-nav a[data-page-key]:focus-visible,
.mobile-nav button[data-page-key]:focus-visible,
.join-card [data-page-key="application"]:focus-visible{
  border-color:#e6c38c;
  background:linear-gradient(180deg,#fffaf0 0%,#ffefd1 100%);
  color:#a96711;
  box-shadow:0 5px 0 #e4c38f,0 10px 18px #765a2420,inset 0 1px 0 #ffffff;
  transform:translateY(-3px);
}
.nav a[data-page-key][aria-current="page"]:hover,
.mobile-nav a[data-page-key][aria-current="page"]:hover{
  border-color:#9ccfd8;
  background:linear-gradient(180deg,#f4fcfd 0%,#d8eef2 100%);
  color:var(--teal-deep);
  box-shadow:0 5px 0 #aad6de,0 10px 18px #147f941c,inset 0 1px 0 #ffffff;
}
.nav a[data-page-key]:active,
.nav button[data-page-key]:active,
.mobile-nav a[data-page-key]:active,
.mobile-nav button[data-page-key]:active,
.join-card [data-page-key="application"]:active{
  box-shadow:0 1px 0 #dfcfb1,0 2px 5px #765a2412,inset 0 2px 4px #765a2412;
  transform:translateY(1px);
}
.top-right #authOpenBtn,
.top-right .theme-toggle,
.top-right .language-switch{
  position:relative;
  transform:translateY(-2px);
  transition:transform .18s ease,background .18s ease,border-color .18s ease,box-shadow .18s ease,color .18s ease;
}
.top-right #authOpenBtn{
  border:1px solid #007d9b;
  background:linear-gradient(180deg,#13a2c1 0%,#008fb3 100%);
  color:#fff;
  box-shadow:0 4px 0 #006f89,0 7px 14px #075c711f,inset 0 1px 0 #ffffff55;
}
.top-right #authOpenBtn:hover,
.top-right #authOpenBtn:focus-visible{
  border-color:#006b84;
  background:linear-gradient(180deg,#0796b5 0%,#007b9a 100%);
  box-shadow:0 5px 0 #005d74,0 10px 18px #075c7126,inset 0 1px 0 #ffffff55;
  transform:translateY(-3px);
}
.top-right #authOpenBtn:active{
  box-shadow:0 1px 0 #00657d,0 2px 5px #075c7118,inset 0 2px 4px #003f501c;
  transform:translateY(1px);
}
.top-right .theme-toggle{
  border:1px solid #ead7b5;
  background:linear-gradient(180deg,#fffdf8 0%,#fff4df 100%);
  color:#755525;
  box-shadow:0 4px 0 #e6d1ac,0 7px 14px #765a2412,inset 0 1px 0 #ffffff;
}
.top-right .theme-toggle:hover,
.top-right .theme-toggle:focus-visible{
  border-color:#dfbd82;
  background:linear-gradient(180deg,#fffaf0 0%,#ffedc9 100%);
  color:#80510d;
  box-shadow:0 5px 0 #dfbd82,0 10px 18px #765a241b,inset 0 1px 0 #ffffff;
  transform:translateY(-3px);
}
.top-right .theme-toggle:active{
  box-shadow:0 1px 0 #ddc69f,0 2px 5px #765a2412,inset 0 2px 4px #765a2412;
  transform:translateY(1px);
}
.top-right .language-switch{
  border:1px solid #ead7b5;
  border-radius:11px;
  background:linear-gradient(180deg,#fffdf8 0%,#fff5e3 100%);
  box-shadow:0 4px 0 #e6d1ac,0 7px 14px #765a2412,inset 0 1px 0 #ffffff;
}
.top-right .language-switch button{
  border:1px solid transparent;
  transition:transform .18s ease,background .18s ease,border-color .18s ease,box-shadow .18s ease,color .18s ease;
}
.top-right .language-switch button:hover,
.top-right .language-switch button:focus-visible{
  border-color:#e6c38c;
  background:#fff1d7;
  color:#9b6216;
  box-shadow:0 2px 0 #e4c38f,inset 0 1px 0 #ffffff;
  transform:translateY(-1px);
}
.top-right .language-switch button.is-active,
.top-right .language-switch button[aria-pressed="true"]{
  border-color:#e3c48f;
  background:linear-gradient(180deg,#fff6e7 0%,#fbe7c5 100%);
  color:#845716;
  box-shadow:0 2px 0 #e1c28e,inset 0 1px 0 #ffffff;
}
.top-right .language-switch button:active{
  box-shadow:0 0 0 transparent,inset 0 2px 4px #765a2418;
  transform:translateY(1px);
}
.join-card [data-page-key="application"]{
  border-color:#e6c58d;
  background:linear-gradient(180deg,#fffaf0 0%,#fff0d5 100%);
  color:#875813;
  box-shadow:0 4px 0 #e3c18a,0 7px 14px #765a2412,inset 0 1px 0 #ffffff;
}
.join-card [data-page-key="application"]:active{
  box-shadow:0 1px 0 #dfbd82,0 2px 5px #765a2412,inset 0 2px 4px #765a2412;
  transform:translateY(1px);
}
html[data-theme="dark"] .nav a[data-page-key],
html[data-theme="dark"] .nav button[data-page-key],
html[data-theme="dark"] .mobile-nav a[data-page-key],
html[data-theme="dark"] .mobile-nav button[data-page-key]{
  border-color:#4c4639;
  background:linear-gradient(180deg,#30302c 0%,#282a28 100%);
  color:#c6ced0;
  box-shadow:0 4px 0 #171e20,0 7px 14px #0003,inset 0 1px 0 #ffffff0b;
}
html[data-theme="dark"] .nav a[data-page-key][aria-current="page"],
html[data-theme="dark"] .mobile-nav a[data-page-key][aria-current="page"]{
  border-color:#3b6871;
  background:linear-gradient(180deg,#21434a 0%,#1a383f 100%);
  color:#a8e8f0;
  box-shadow:0 4px 0 #11282d,0 7px 14px #0003,inset 0 1px 0 #ffffff12;
}
html[data-theme="dark"] .nav a[data-page-key]:hover,
html[data-theme="dark"] .nav button[data-page-key]:hover,
html[data-theme="dark"] .mobile-nav a[data-page-key]:hover,
html[data-theme="dark"] .mobile-nav button[data-page-key]:hover,
html[data-theme="dark"] .join-card [data-page-key="application"]:hover,
html[data-theme="dark"] .nav a[data-page-key]:focus-visible,
html[data-theme="dark"] .nav button[data-page-key]:focus-visible,
html[data-theme="dark"] .mobile-nav a[data-page-key]:focus-visible,
html[data-theme="dark"] .mobile-nav button[data-page-key]:focus-visible,
html[data-theme="dark"] .join-card [data-page-key="application"]:focus-visible{
  border-color:#9a7746;
  background:linear-gradient(180deg,#42392a 0%,#342f25 100%);
  color:#f4c879;
  box-shadow:0 5px 0 #201d18,0 10px 18px #0004,inset 0 1px 0 #ffffff0d;
}
html[data-theme="dark"] .nav a[data-page-key][aria-current="page"]:hover,
html[data-theme="dark"] .mobile-nav a[data-page-key][aria-current="page"]:hover{
  border-color:#4b8792;
  background:linear-gradient(180deg,#28505a 0%,#1e4149 100%);
  color:#c2f2f6;
}
html[data-theme="dark"] .top-right .theme-toggle,
html[data-theme="dark"] .top-right .language-switch{
  border-color:#594a31;
  background:linear-gradient(180deg,#38352d 0%,#2d2d29 100%);
  color:#f1cb88;
  box-shadow:0 4px 0 #1a2225,0 7px 14px #0003,inset 0 1px 0 #ffffff0b;
}
html[data-theme="dark"] .top-right .language-switch button{color:#d6d0c3}
html[data-theme="dark"] .top-right .language-switch button:hover,
html[data-theme="dark"] .top-right .language-switch button:focus-visible,
html[data-theme="dark"] .top-right .language-switch button.is-active,
html[data-theme="dark"] .top-right .language-switch button[aria-pressed="true"]{
  border-color:#80643b;
  background:linear-gradient(180deg,#55442a 0%,#423821 100%);
  color:#ffe0a5;
  box-shadow:0 2px 0 #211e18,inset 0 1px 0 #ffffff12;
}
html[data-theme="dark"] .join-card [data-page-key="application"]{
  border-color:#735a35;
  background:linear-gradient(180deg,#423a2d 0%,#353025 100%);
  color:#f4cc86;
  box-shadow:0 4px 0 #1a2225,0 7px 14px #0003,inset 0 1px 0 #ffffff0b;
}
@media(max-width:650px){
  .top-right #authOpenBtn{padding:8px 10px;font-size:11px}
  .top-right .theme-toggle{padding:8px 10px;font-size:11px;gap:5px}
  .top-right .language-switch{padding:2px}
  .top-right .language-switch button{min-height:29px;padding:3px 6px;font-size:10px}
}
@media(prefers-reduced-motion:reduce){
  .nav a[data-page-key],.nav button[data-page-key],.mobile-nav a[data-page-key],.mobile-nav button[data-page-key],.join-card [data-page-key="application"],.top-right #authOpenBtn,.top-right .theme-toggle,.top-right .language-switch,.top-right .language-switch button{transition:none!important}
  .nav a[data-page-key]:hover,.nav button[data-page-key]:hover,.mobile-nav a[data-page-key]:hover,.mobile-nav button[data-page-key]:hover,.join-card [data-page-key="application"]:hover,.top-right #authOpenBtn:hover,.top-right .theme-toggle:hover,.top-right .language-switch button:hover{transform:translateY(-2px)}
}

/* Site-wide explanation of which preview sections work and which need a backend. */
.site-status-guide{margin:14px 0 20px;padding:14px 16px;border:1px solid #d8e7ea;border-radius:14px;background:linear-gradient(120deg,#f7fbfc 0%,#fff8ef 100%);color:#394950}
.site-status-summary{display:flex;align-items:flex-start;gap:11px}
.site-status-main-pill{flex:0 0 auto;padding:3px 9px;border:1px solid #f0d3a5;border-radius:20px;background:#fff3df;color:#875a1e;font-size:9px;font-weight:800;white-space:nowrap}
.site-status-summary p{margin:0;font-size:11px;line-height:1.6;color:#586970}
.site-status-details{margin-top:7px}
.site-status-details>summary{width:max-content;max-width:100%;cursor:pointer;color:#006c89;font-size:10px;font-weight:750;text-underline-offset:3px}
.site-status-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:9px;margin-top:11px}
.site-status-item{min-width:0;padding:11px 12px;border:1px solid #e1e9eb;border-radius:10px;background:#fff}
.site-status-item>div{display:flex;align-items:center;justify-content:space-between;gap:7px;margin-bottom:5px}
.site-status-item h3{margin:0;font-size:11px;line-height:1.45}
.site-status-badge{flex:0 0 auto;padding:2px 6px;border-radius:20px;background:#e9f5f7;color:#276f7d;font-size:8px;font-weight:750}
.site-status-badge.is-demo{background:#fff3df;color:#875a1e}
.site-status-badge.is-backend{background:#f8e9e5;color:#8e4e37}
.site-status-badge.is-ready{background:#e8f5ed;color:#286747}
.site-status-item p{margin:0;color:#617178;font-size:9px;line-height:1.65}
.site-status-item p strong{color:#35474e}
.site-status-footnote{margin:10px 2px 0;color:#7a898f;font-size:9px;line-height:1.55}
html[data-theme="dark"] .site-status-guide{border-color:#35464c;background:linear-gradient(120deg,#1b292e 0%,#2e2921 100%);color:#e3edf0}
html[data-theme="dark"] .site-status-summary p{color:#c0cbd0}
html[data-theme="dark"] .site-status-main-pill{border-color:#70532e;background:#3b301f;color:#f4cd89}
html[data-theme="dark"] .site-status-details>summary{color:#8bd9e8}
html[data-theme="dark"] .site-status-item{border-color:#35434a;background:#202d32}
html[data-theme="dark"] .site-status-item h3{color:#e4edf0}
html[data-theme="dark"] .site-status-item p{color:#b8c5ca}
html[data-theme="dark"] .site-status-item p strong{color:#edf3f5}
html[data-theme="dark"] .site-status-badge{background:#203b43;color:#a8dce5}
html[data-theme="dark"] .site-status-badge.is-demo{background:#40331f;color:#f0ca89}
html[data-theme="dark"] .site-status-badge.is-backend{background:#402e2d;color:#edb29f}
html[data-theme="dark"] .site-status-badge.is-ready{background:#20392f;color:#a9dfc1}
html[data-theme="dark"] .site-status-footnote{color:#aab8be}
@media(max-width:900px){.site-status-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:650px){.site-status-guide{margin:10px 0 15px;padding:12px}.site-status-summary{flex-direction:column;gap:5px}.site-status-grid{grid-template-columns:1fr;gap:7px}.site-status-item{padding:10px}.site-status-item p{font-size:10px}.site-status-footnote{font-size:9px}}

/* Disabled demo controls remain disabled, but their labels stay readable in dark mode. */
html[data-theme="dark"] .event-vote-choice:disabled{opacity:.9}
