/* Shared presentation rules, loaded after each page's structural styles. */
:root{--brand:#4b5642;--brand-dark:#35422e;--ink:#30362c;--muted:#626b5d;--line:#dce2d5;--wash:#f3f5ee}
html{-webkit-text-size-adjust:100%;text-size-adjust:100%;scroll-padding-top:24px}
body{color:var(--ink)}
main,article,section,aside,fieldset,form{min-width:0}
fieldset{max-width:100%}
img{max-width:100%}
h1,h2,h3,h4{overflow-wrap:break-word;text-wrap:pretty}
a{color:var(--brand);text-decoration-thickness:1px;text-underline-offset:.22em}
a:hover{color:var(--brand-dark)}
.external-arrow{display:inline-block;width:1em;height:1em;flex:0 0 1em;vertical-align:-.12em;margin-inline-start:.15em}
.button,.secondary-button,.content-action{font-size:17px;line-height:1.4;min-height:48px;max-width:100%;white-space:normal;text-align:center;gap:12px;border-radius:28px}
.button{color:#fff}
.button:hover{color:#fff}
.button:focus-visible,.content-action:focus-visible{outline:3px solid #7d906b;outline-offset:4px}
input,select,textarea{font-size:16px}
label{line-height:1.5}
.prose{line-height:1.75;overflow-wrap:break-word}
.prose a{overflow-wrap:anywhere}
.prose p{margin:0 0 1.3em}
.prose li{padding-inline-start:.2em;margin-bottom:.65em}
.prose li::marker{color:var(--brand)}
.prose ul,.prose ol{padding-inline-start:1.5em;margin-block:1em 1.5em}
.prose blockquote{margin:1.8em 0;padding:1.2em 1.5em;border-left:3px solid #91a17f;background:var(--wash);border-radius:0 14px 14px 0}
.prose blockquote>:last-child{margin-bottom:0}
.prose hr{border:0;border-top:1px solid var(--line);margin:2.5em 0}
.prose h2,.prose h3,.prose h4{color:var(--brand);line-height:1.25}
.prose h2{margin-block:1.8em .65em}
.prose h3{margin-block:1.5em .6em}
.prose :is(p,li)>strong{color:var(--ink)}
/* A compact header must make room for all three navigation areas. */
.site-header,.directory-page .site-header{grid-template-columns:minmax(0,1fr) auto minmax(0,1fr)}
.site-header .brand,.site-header nav{min-width:0}
.site-header .account-navigation{flex-wrap:nowrap}
.site-header .account-navigation>a{white-space:nowrap}
.site-header .account-navigation .join-button{display:inline-flex!important;align-items:center;justify-content:center;min-height:44px}
.menu-panel a,.menu-panel summary,.menu-panel button{min-height:44px;font-size:16px}
.menu-panel ul a{font-size:15px}
.menu-panel{overscroll-behavior:contain}
.site-footer .footer-grid>*{min-width:0}
.site-footer .footer-grid a{overflow-wrap:anywhere;padding-block:4px}
.site-footer{padding-bottom:70px}
/* Homepage: restore the olive heading and a readable lead at every size. */
.directory-home .home-hero{min-height:0;padding:clamp(48px,6vw,88px) max(24px,calc((100vw - 1240px)/2)) 64px}
.directory-home .home-intro{width:100%;max-width:720px;margin-inline:auto;padding:0}
.directory-home .home-intro h1{font-size:clamp(38px,5.3vw,68px);line-height:1.12;font-weight:400;letter-spacing:-.035em;color:var(--brand);max-width:13ch}
.directory-home .home-intro>p{font-size:clamp(19px,2vw,24px);line-height:1.55;color:#58634f;max-width:39ch}
.directory-home .home-intro .directory-filters{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:12px;max-width:720px;align-items:start}
.directory-home .home-intro .search-button{grid-column:auto;min-height:54px;width:auto;min-width:132px;margin:0}
.directory-home .explore-link{display:inline-flex;gap:12px;align-items:center;min-height:44px;font-size:18px;margin-top:16px}
.directory-home .home-partner{margin-top:34px;max-width:650px;align-items:center}
.directory-home .home-partner h2{font-size:19px;line-height:1.4;color:var(--brand)}
.directory-home .home-partner p{font-size:17px;line-height:1.5}
.directory-home .home-partner .button{display:inline-flex;border:0;border-radius:0;padding:8px 0;min-height:44px;font-size:16px;background:transparent;text-decoration:underline;margin-top:0}
.directory-home .home-partner .button:hover{background:transparent;color:var(--brand-dark)}
.home-about h2{color:var(--brand);font-weight:400;font-size:clamp(28px,3.3vw,40px)}
.about-card{border-radius:20px;padding:clamp(22px,3vw,40px);gap:clamp(24px,4vw,48px)}
.about-card .prose{font-size:18px}
/* Editorial pages retain the CMS content, with a clear reading hierarchy. */
.content-page{background:#fafbf8}
.editorial.wrap{max-width:1040px;padding-block:clamp(32px,5vw,64px) 80px}
.editorial-heading{position:relative;padding:clamp(28px,5vw,56px);margin-bottom:clamp(32px,5vw,54px);border:1px solid #e0e6d8;border-radius:24px;background:linear-gradient(120deg,#edf1e5,#f7f8f2 76%)}
.editorial-heading .eyebrow{font-size:13px;letter-spacing:.15em;color:#66745a;margin:0 0 16px}
.editorial-heading h1{font-size:clamp(34px,4.8vw,56px);line-height:1.12;font-weight:400;letter-spacing:-.025em;color:var(--brand);max-width:22ch;margin:0}
.editorial-heading .divider{width:64px;height:3px;margin:28px 0 0;background:#91a17f}
.editorial>.prose,.editorial>.help-centre{max-width:760px;margin-inline:auto}
.editorial>.prose{font-size:19px;line-height:1.8}
.editorial>.prose>p:first-child:not(.content-action-row){font-size:1.14em;line-height:1.65;color:var(--brand)}
.editorial>.prose h2{font-size:clamp(27px,3.1vw,35px);font-weight:400;letter-spacing:-.015em}
.editorial>.prose h3{font-size:clamp(22px,2.5vw,27px);font-weight:400}
.editorial>.prose h4{font-size:21px}
.content-action-row{margin-block:1.6em!important}
a.content-action{display:inline-flex;align-items:center;justify-content:space-between;gap:24px;padding:14px 24px;color:#fff;background:var(--brand);border:1px solid var(--brand);font-size:18px;text-decoration:none;line-height:1.4;text-align:left}
a.content-action:hover{background:var(--brand-dark);color:#fff}
a.content-action strong{color:inherit!important}
a.content-action::after{content:'';width:20px;height:20px;flex:0 0 20px;background:currentColor;-webkit-mask:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M4 12h16m-6-6 6 6-6 6' fill='none' stroke='black' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/contain no-repeat;mask:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M4 12h16m-6-6 6 6-6 6' fill='none' stroke='black' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/contain no-repeat}
/* Profile, account and CMS content must wrap inside their columns. */
.profile-identity h1,.profile-section h2,.profile-panel h2,.member-heading h1{color:var(--brand)}
.profile-actions a{font-size:17px;gap:12px}
.profile-tags{align-items:stretch;gap:10px}
.profile-tags li{display:flex;min-width:0;max-width:100%}
.profile-tags a{display:inline-flex;align-items:center;max-width:100%;min-height:44px;font-size:16px;line-height:1.4;white-space:normal;overflow-wrap:anywhere}
.training-provider>div,.training-item>div{min-width:0}
.training-provider h3{font-size:clamp(20px,2vw,24px);line-height:1.3}
.training-certification>a{display:inline-flex;align-items:center;gap:10px;padding:10px 16px;border:1px solid var(--line);border-radius:24px;font-size:16px;min-height:44px;text-decoration:none}
.member-actions>*{max-width:100%}
.member-actions form{margin:0}
.member-actions>a:not(.button){font-size:16px;min-height:44px;display:inline-flex;align-items:center}
.member-actions .button,.member-actions .secondary-button{overflow-wrap:anywhere}
.member-card>p{font-size:17px}
.member-card .quiet-note{font-size:14px!important;color:var(--muted)}
.member-heading>p:last-child,.section-help{color:var(--muted);line-height:1.65}
.editor-save{flex-wrap:wrap}
.cms-content .panel,.member-card,.profile-panel{overflow-wrap:break-word}
.cms-content .table-wrap{max-width:100%;overscroll-behavior-x:contain}
.cms-summary-numbers>div{min-width:0;overflow-wrap:anywhere}
.cookie-notice,.cookie-notice a,.cookie-manage{color:var(--brand)}
.cookie-confirm{background:var(--brand);border-color:var(--brand)}
.cookie-manage{right:16px;min-height:40px;font-size:13px;padding:8px 12px;max-width:calc(100% - 32px)}
@media(min-width:1001px) and (max-width:1400px){.directory-workspace{grid-template-columns:230px minmax(280px,1fr) minmax(250px,1fr)}.filter-sidebar{padding:24px 18px}.directory-results{padding:24px 16px}}
@media(max-width:1000px){.directory-home .home-intro{width:100%;max-width:720px;padding-right:0}.directory-home .home-hero:after{background:linear-gradient(90deg,#ffffffed,#ffffffd9)}.directory-workspace{min-height:420px}.directory-toolbar{height:auto;min-height:60px;gap:12px;flex-wrap:wrap}.filter-sidebar.is-open{bottom:0;padding-bottom:72px}.filter-heading{gap:12px}.close-filters{min-width:44px;min-height:44px}}
@media(max-width:700px){.site-header,.directory-page .site-header{grid-template-columns:auto minmax(0,1fr) auto;padding-inline:12px;gap:10px}.site-header .brand{justify-self:center}.site-header .brand img,.directory-page .brand img{width:clamp(96px,25vw,165px)}.site-header .account-navigation{gap:8px}.site-header .account-navigation>a{font-size:14px}.site-header .account-navigation .join-button{padding:8px 12px;font-size:14px}.profile-identity h1{font-size:clamp(32px,7vw,42px)}.profile-panel{padding:24px}.training-provider{gap:16px}.training-provider img{width:70px;height:70px}.editorial>.prose{font-size:18px}.editorial-heading{border-radius:18px}.editorial-heading .eyebrow{font-size:12px}.editorial>.prose h2{margin-top:1.6em}.editorial .help-answer summary{font-size:18px;line-height:1.45}.login-panel{margin-block:36px;padding:26px}.login-panel h1{font-size:32px}.site-footer .footer-grid{gap:28px}.site-footer .footer-grid a{font-size:16px}}
@media(max-width:540px){.directory-home .home-hero{padding:24px 22px 32px}.directory-home .home-intro h1{font-size:clamp(36px,9vw,46px);max-width:14ch;letter-spacing:-.025em}.directory-home .home-intro>p{font-size:19px;line-height:1.45;margin-bottom:22px}.directory-home .home-intro h1{margin-bottom:0}.directory-home .home-intro>.divider{margin:18px 0}.directory-home .explore-link{margin-top:8px;font-size:17px}.directory-home .home-intro .directory-filters{grid-template-columns:1fr}.directory-home .home-intro .search-button{width:100%}.directory-home .home-partner{gap:12px;align-items:flex-start;margin-top:22px}.directory-home .home-partner img{width:52px;height:52px;flex:0 0 52px}.directory-home .home-partner h2{font-size:16px;line-height:1.35}.directory-home .home-partner p{font-size:15px;line-height:1.4}.directory-home .home-partner .button{font-size:15px}.about-card .prose{font-size:17px}.about-card>img{width:150px}.editorial-heading{padding:28px 22px}.editorial-heading h1{font-size:clamp(32px,8vw,40px)}.editorial>.prose{padding-inline:6px}.content-action-row .content-action{width:100%;padding:14px 20px}.training-provider{align-items:flex-start}.profile-actions a{flex:1 1 auto;justify-content:center}.member-actions{gap:12px}.member-actions .button,.member-actions .secondary-button{font-size:16px}.member-page .editor-save{bottom:52px;padding:12px}.editor-save>span{max-width:none}.editor-save .button{flex:1 1 auto;white-space:normal}.cms-summary-numbers{grid-template-columns:1fr;gap:14px}.cms-summary-numbers>div{display:flex;align-items:baseline;gap:12px}.cms-summary-numbers strong{font-size:26px}}
@media(max-width:360px){.site-header,.directory-page .site-header{gap:6px;padding-inline:10px}.site-header .account-navigation{gap:5px}.main-menu>summary{gap:4px;font-size:13px}.site-header .account-navigation .join-button{padding-inline:10px}.directory-card{padding:16px;gap:12px}.directory-portrait{flex-basis:64px}.directory-portrait img,.directory-portrait>span{width:64px;height:64px}.profile-panel,.member-card{padding:20px}}

.member-page .editor-save{bottom:max(12px,env(safe-area-inset-bottom))}
.member-content .journey-steps{grid-template-columns:repeat(5,minmax(0,1fr))}
@media(max-width:1200px){.member-content .journey-steps{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:570px){.member-content .journey-steps{grid-template-columns:1fr}}

/* Member journey: clear next actions and compact optional controls. */
.member-content .journey-steps { grid-template-columns: repeat(4,minmax(0,1fr)); }
.selected-services { display:flex; flex-wrap:wrap; gap:.5rem; margin-block:.75rem; }
.service-chip { font-size:1rem; }
.field-error { color:#8e2929; margin-block:.25rem .75rem; }
.field-error:empty { display:none; }
.password-toggle { margin-block:0 .75rem; text-decoration:underline; }
.location-advanced { margin-top:1rem; }
.location-advanced summary,.join-benefits summary { cursor:pointer; padding-block:.5rem; }
.editor-save { flex-wrap:wrap; gap:.75rem; }
.editor-save .member-actions { margin:0; flex-wrap:wrap; }
.join-benefits ul { margin-block:.5rem; }
@media(max-width:700px) {
 .member-content .journey-steps { grid-template-columns:repeat(2,minmax(0,1fr)); }
 .join-wrap .member-heading { margin-bottom:1rem; }
 .join-grid .profile-overview { padding:1rem; }
 .join-grid .profile-overview p { margin-block:.5rem; }
 .join-grid .join-price { font-size:1.6rem!important; display:flex; align-items:baseline; gap:.5rem; margin-bottom:.5rem; }
 .join-grid .join-price small { display:inline; }
 .join-wrap { padding-top:24px; }
 .join-wrap .member-heading>p:last-child { line-height:1.5; }
 .editor-save { padding:.6rem; }
 .editor-save .button,.editor-save .secondary-button { padding:.5rem .7rem; font-size:1rem; }
 .member-actions { gap:.5rem; }
}

.journey-steps>.step-complete { display:flex; align-items:center; gap:.5rem; padding:12px; width:auto; height:auto; border-radius:12px; background:#eef2e8; color:#35442f; }

/* Four-step dashboard and profile editor refinements. */
.dashboard-heading { display:flex; flex-direction:column; align-items:flex-start; gap:20px; }
.dashboard-heading>div { max-width:740px; }
.dashboard-heading h1 { margin-top:8px; }
.dashboard-heading p { margin-bottom:0; }
.member-page .journey-next { display:inline-flex; align-items:center; justify-content:flex-start; gap:12px; margin:0; max-width:100%; white-space:normal; text-align:left; }
.journey-next-number { border-right:1px solid #ffffff70; padding-right:12px; flex-shrink:0; }
.journey-accordion { display:grid; grid-template-columns:minmax(0,1fr); gap:18px; margin-block:24px; align-items:start; }
.journey-accordion.journey-complete { grid-template-columns:repeat(2,minmax(0,1fr)); }
.journey-accordion>.journey-step { margin:0; padding:0; min-width:0; }
.journey-step>summary { display:flex; align-items:center; gap:14px; padding:24px; list-style:none; cursor:pointer; border-radius:15px; }
.journey-step>summary::-webkit-details-marker { display:none; }
.journey-step>summary h2 { margin:0; flex:1; min-width:0; font-size:clamp(20px,2.5vw,25px); line-height:1.3; }
.journey-step>summary .state-pill { flex-shrink:0; }
.journey-chevron { width:10px; height:10px; border-right:2px solid currentColor; border-bottom:2px solid currentColor; transform:rotate(45deg); flex-shrink:0; margin:0 3px 5px; }
.journey-step[open]>summary .journey-chevron { transform:rotate(225deg); margin-top:6px; }
.journey-step>summary:focus-visible { outline:2px solid #70815f; outline-offset:3px; }
.journey-step-body { border-top:1px solid #e0e4da; padding:24px; }
.journey-step-body>p:first-child { margin-top:0; }
.journey-step-body .member-actions { margin-top:18px; }
.dashboard-extras { display:grid; gap:24px; margin-top:24px; }
#dashboard-verification { display:grid; gap:14px; max-width:620px; }
#dashboard-verification>label { margin:0; }
#dashboard-verification>button { justify-self:start; }
#dashboard-verification .text-button { padding:10px 0; min-height:44px; text-align:left; }
#member-profile-form .form-grid { grid-template-columns:repeat(2,minmax(0,1fr)); gap:20px; align-items:start; }
#member-profile-form label { min-width:0; }
#member-profile-form .required-label,#member-profile-form .private-label { float:none; display:inline-block; margin-left:.5rem; line-height:1.4; }
#member-profile-form input:not([type=checkbox]):not([type=file]),#member-profile-form textarea,#member-profile-form select { width:100%; min-width:0; box-sizing:border-box; }
#member-profile-form .member-services label.check { display:flex; align-items:flex-start; gap:10px; }
#member-profile-form .member-services label.check[hidden] { display:none; }
#member-profile-form .member-services input[type=checkbox] { flex:0 0 18px; width:18px; height:18px; margin:3px 0 0; }
#member-profile-form .member-services label>span { min-width:0; overflow-wrap:anywhere; }
#member-profile-form .service-picker summary { align-items:center; }
#member-profile-form .location-advanced summary { min-height:44px; }
#member-profile-form .location-advanced .form-grid { margin-top:16px; }
#member-profile-form .editor-save { align-items:center; }
#member-profile-form .editor-save .member-actions { display:flex; gap:10px; }
#member-profile-form .editor-save button { margin:0; white-space:normal; }
@media(max-width:800px) {
 .journey-accordion.journey-complete { grid-template-columns:minmax(0,1fr); }
}
@media(max-width:600px) {
 .journey-step>summary { flex-wrap:wrap; padding:18px; gap:10px; }
 .journey-step>summary h2 { flex-basis:calc(100% - 28px); order:0; }
 .journey-step>summary .journey-chevron { order:1; }
 .journey-step>summary .state-pill { order:2; }
 .journey-step-body { padding:18px; }
 .member-page .journey-next { width:100%; padding:14px 16px; }
 #member-profile-form .form-grid { grid-template-columns:minmax(0,1fr); }
 #member-profile-form .editor-save { position:static; padding:16px; }
 #member-profile-form .editor-save .member-actions { width:100%; display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); }
 #member-profile-form .editor-save button { width:100%; padding:12px 8px; }
}

#member-profile-form .service-picker.completion-missing { padding:5px; }
#member-location-details { margin:12px 0; }
#member-location-details>summary { cursor:pointer; min-height:44px; padding-block:10px; }
#member-location-details .form-grid { margin-top:12px; }
.location-summary { padding:12px 16px; border-radius:8px; background:#eef2e8; }

/* Clear location controls and a calm, consistent journey. */
#member-location-details h3 { font-size:1.05rem; margin:16px 0 8px; }
.journey-step[data-current-step] { border-color:#b59a54; box-shadow:0 0 0 1px #b59a5433; animation:journey-focus 1.4s ease-out 1; }
.journey-step[data-current-step]>summary { background:#fbf7eb; border-radius:14px; }
@keyframes journey-focus { 0%,100% { box-shadow:0 0 0 1px #b59a5433; } 40% { box-shadow:0 0 0 5px #b59a5455; } }
.button.button-muted { background:#72785f; color:#fff; border-color:transparent; }
.button.button-muted:hover { background:#5f654f; }
.checkout-card { max-width:680px; padding:clamp(24px,4vw,42px); border-top:4px solid #b59a54; box-shadow:0 12px 36px #3038280c; }
.checkout-card h2 { font-size:2.4rem; margin:12px 0; }
.profile-review-panel { position:fixed; bottom:20px; left:50%; transform:translateX(-50%); z-index:900; width:min(700px,calc(100% - 32px)); box-sizing:border-box; padding:18px 24px; background:#fffffff5; border:1px solid #d8ddcf; border-radius:18px; box-shadow:0 10px 40px #28301f30; backdrop-filter:blur(12px); max-height:40vh; overflow:auto; }
.profile-review-panel h1 { font-size:1.3rem; margin:0 0 6px; }
.profile-review-panel p { margin:6px 0 12px; }
.profile-review-panel .member-actions { display:flex; flex-wrap:wrap; gap:12px; margin-top:12px; }
.profile-preview { padding-bottom:280px; }
.toast-notice { position:fixed; top:20px; left:50%; transform:translateX(-50%); z-index:2000; width:min(620px,calc(100% - 32px)); box-sizing:border-box; margin:0!important; padding:20px 56px 20px 24px; background:#f5f7ee; color:#303829; border:1px solid #bdc6a9; border-radius:14px; box-shadow:0 12px 40px #26301c25; animation:toast-in .35s ease-out; }
.toast-dismiss { position:absolute; right:12px; top:10px; width:36px; height:36px; background:transparent; border:0; color:inherit; font-size:24px; cursor:pointer; }
.toast-notice.is-leaving { animation:toast-out .3s ease-in forwards; pointer-events:none; }
@keyframes toast-in { from { opacity:0; transform:translate(-50%,-120%); } to { opacity:1; transform:translate(-50%,0); } }
@keyframes toast-out { to { opacity:0; transform:translate(-50%,-120%); } }
@media(prefers-reduced-motion:reduce) { .journey-step[data-current-step],.toast-notice,.toast-notice.is-leaving { animation:none; } }

/* Shared action styling and the ongoing member dashboard. */
.button,.secondary-button { display:inline-flex; align-items:center; justify-content:center; padding:12px 20px; min-height:46px; box-sizing:border-box; border-radius:28px; font:inherit; line-height:1.4; text-decoration:none; cursor:pointer; }
.secondary-button { background:#eef1e8; color:#424b37; border:1px solid #d1d8c7; }
.secondary-button:hover { background:#e1e7d8; }
button:disabled { opacity:.5; cursor:not-allowed; }
.member-actions,.profile-review-panel .member-actions { display:flex; flex-wrap:wrap; gap:12px; }
#dashboard-verification>.button,#dashboard-verification>.secondary-button { margin:8px 12px 0 0; }
.expertise-heading { display:flex; flex-wrap:wrap; gap:12px; justify-content:space-between; margin:12px 0; font-size:1.1rem; }
.expertise-heading span { font-size:.9rem; font-weight:400; }
.community-dashboard { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:24px; align-items:start; }
.panel-heading { display:flex; align-items:center; justify-content:space-between; gap:12px; flex-wrap:wrap; margin-bottom:16px; }
.panel-heading h2,.panel-heading h3 { margin:0; }
.member-profile-summary { display:flex; align-items:center; gap:20px; margin:24px 0; }
.member-profile-summary img { width:96px; height:96px; object-fit:cover; border-radius:50%; }
.member-profile-summary h3,.member-profile-summary p { margin:4px 0; }
.membership-verification { margin-top:28px; padding-top:24px; border-top:1px solid #dce2d3; }
@media(max-width:800px) { .community-dashboard { grid-template-columns:1fr; } }

.training-verification-panel { grid-column:1/-1; }
.training-verification-panel .verification-layout { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:32px; align-items:start; }
.training-verification-panel #dashboard-verification { margin:0; }
.training-verification-panel .verification-introduction>p:first-child { margin-top:0; }
.badge-panel { margin-bottom:24px; }
.badge-panel>summary { display:flex; align-items:center; justify-content:space-between; gap:16px; list-style:none; cursor:pointer; padding:0; }
.badge-panel>summary::-webkit-details-marker { display:none; }
.badge-panel>summary h2 { margin:0; font-size:1.15rem; }
.badge-chevron { width:8px; height:8px; border-right:2px solid currentColor; border-bottom:2px solid currentColor; transform:rotate(45deg); flex:none; margin-right:4px; }
.badge-panel[open] .badge-chevron { transform:rotate(225deg); }
.badge-panel-content { margin-top:20px; }
@media(max-width:800px) { .training-verification-panel .verification-layout { grid-template-columns:1fr; gap:20px; } }

.account-grid { align-items:start; }
.account-grid>.member-card { margin:0; padding:28px; min-width:0; }
.account-grid form>label { display:block; margin:16px 0 8px; }
.account-grid form>.button,.account-grid form>.secondary-button { margin-top:12px; }
.account-grid .password-toggle { display:block; width:max-content; margin:0 0 16px; }
.account-grid details>summary { display:inline-flex; padding:12px 20px; border:1px solid #d1d8c7; border-radius:28px; background:#eef1e8; cursor:pointer; }
.account-action-options { display:grid; gap:20px; margin-top:24px; }
.account-action-options .quiet-note { margin:8px 0 0; line-height:1.5; font-size:.875rem; }
.button.button-amber { background:#a96c14; color:#fff; border:1px solid #a96c14; }
.button.button-amber:hover { background:#88550c; }
.button.button-danger { background:#a63e36; color:#fff; border:1px solid #a63e36; }
.button.button-danger:hover { background:#87312b; }
.account-confirmation { margin-top:24px; padding:20px; border:1px solid #d3dac9; border-radius:12px; background:#f7f8f3; }
.account-confirmation[hidden] { display:none; }
.account-confirmation h3 { margin-top:0; }
.account-confirmation .member-actions { margin-top:20px; }
@media(max-width:600px) { .account-grid>.member-card { padding:20px; } }

.toast-stack { position:fixed; top:20px; left:50%; transform:translateX(-50%); z-index:2000; width:min(620px,calc(100% - 32px)); display:grid; gap:12px; max-height:calc(100dvh - 40px); overflow:auto; pointer-events:none; }
.toast-stack .toast-notice { position:relative; top:auto; left:auto; transform:none; width:100%; max-width:none; pointer-events:auto; flex:none; }
.toast-stack .toast-notice.error { background:#fff5f1; border-color:#d8a197; color:#72372e; }
.toast-stack .toast-notice ul { margin:8px 0 0; padding-left:20px; }
@keyframes toast-in { from { opacity:0; transform:translateY(-120%); } to { opacity:1; transform:translateY(0); } }
@keyframes toast-out { to { opacity:0; transform:translateY(-120%); } }
