:root{
  --bg:#f3f6fb;
  --surface:#ffffff;
  --surface-soft:#f7f9fc;
  --text:#1D2E47;
  --muted:#607087;
  --line:#dbe4f0;
  --brand:#3D6399;
  --brand-dark:#1D2E47;
  --brand-bright:#5E98EB;
  --brand-bright-dark:#4B7ABC;
  --brand-soft:#edf3fb;
  --accent:#2D4970;
  --danger:#b42318;
  --danger-soft:#fef3f2;
  --success:#157347;
  --success-soft:#ecfdf3;
  --warning:#9a6700;
  --warning-soft:#fff8e1;
  --shadow:0 18px 50px rgba(29,46,71,.09);
  --radius:18px;
  --radius-sm:12px;
  --container:1180px;
  font-family:Inter,ui-sans-serif,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;
}
*{box-sizing:border-box}
html{scroll-behavior:smooth}
body{margin:0;color:var(--text);background:var(--bg);font-size:15px;line-height:1.55}
a{color:inherit;text-decoration:none}
img{max-width:100%;display:block}
button,input,select,textarea{font:inherit}
button{cursor:pointer}
.container{width:min(calc(100% - 36px),var(--container));margin-inline:auto}
.muted{color:var(--muted)}
.eyebrow{margin:0 0 8px;color:var(--brand);font-size:12px;font-weight:800;letter-spacing:.14em;text-transform:uppercase}
.section-heading{max-width:760px;margin-bottom:30px}
.section-heading h2{font-size:clamp(30px,4vw,48px);line-height:1.08;margin:0 0 12px;letter-spacing:-.035em}
.section-heading p{font-size:17px;color:var(--muted);margin:0}
.rich-text>*:first-child{margin-top:0}.rich-text>*:last-child{margin-bottom:0}
.rich-text h2,.rich-text h3,.rich-text h4{line-height:1.2;letter-spacing:-.02em}
.rich-text a{color:var(--brand);text-decoration:underline}
.rich-text img{border-radius:14px;margin:18px 0}
.btn{display:inline-flex;align-items:center;justify-content:center;gap:8px;border:1px solid transparent;border-radius:10px;padding:11px 16px;font-weight:750;line-height:1.2;transition:.18s ease;background:var(--surface);color:var(--text)}
.btn:hover{transform:translateY(-1px)}
.btn-primary{background:linear-gradient(135deg,var(--brand) 0%,var(--brand-bright-dark) 100%);color:#fff;border-color:transparent;box-shadow:0 10px 22px rgba(29,46,71,.16)}
.btn-primary:hover{background:linear-gradient(135deg,var(--brand-dark) 0%,var(--brand) 100%);box-shadow:0 14px 28px rgba(29,46,71,.22)}
.btn-outline{background:transparent;border-color:var(--line)}
.btn-danger{background:var(--danger);color:#fff;border-color:var(--danger)}
.btn-light{background:#fff;border-color:#fff;color:var(--brand-dark)}
.btn-small{padding:8px 12px;font-size:13px}
.btn-block{width:100%}
.button-row{display:flex;flex-wrap:wrap;gap:10px;align-items:center}
.inline-form{display:inline}
.card{background:var(--surface);border:1px solid var(--line);border-radius:var(--radius);box-shadow:0 8px 26px rgba(29,46,71,.04)}
.card-pad{padding:24px}
.card-header{display:flex;align-items:flex-start;justify-content:space-between;gap:16px;padding:22px 24px;border-bottom:1px solid var(--line)}
.card-header h2,.card-header h3{margin:0}.card-header p{margin:5px 0 0;color:var(--muted)}
.card-body{padding:24px}
.alert{position:relative;padding:12px clamp(64px,8vw,112px) 12px 14px;border-radius:10px;margin:12px 0;border:1px solid}
.alert-danger{background:var(--danger-soft);color:var(--danger);border-color:#fecdca}
.alert-success{background:var(--success-soft);color:var(--success);border-color:#abefc6}
.alert-warning{background:var(--warning-soft);color:var(--warning);border-color:#fedf89}
.alert-info{background:var(--brand-soft);color:var(--brand-dark);border-color:#bdd8ee}
.toast-alert{position:fixed;z-index:1000;left:50%;top:18px;transform:translateX(-50%);width:min(calc(100% - 30px),760px);padding:14px 18px;border-radius:12px;box-shadow:var(--shadow);font-weight:700;border:1px solid}
.toast-alert.is-hiding{opacity:0;transform:translate(-50%,-12px);transition:.35s ease}
.badge{display:inline-flex;align-items:center;gap:6px;border-radius:999px;padding:5px 9px;background:var(--surface-soft);border:1px solid var(--line);font-size:12px;font-weight:750;color:var(--muted)}
.badge.active,.badge.success{background:var(--success-soft);color:var(--success);border-color:#abefc6}
.badge.pending,.badge.warning{background:var(--warning-soft);color:var(--warning);border-color:#fedf89}
.badge.expired,.badge.suspended,.badge.rejected,.badge.danger{background:var(--danger-soft);color:var(--danger);border-color:#fecdca}

/* Forms */
.stack-form{display:grid;gap:18px}
.form-grid{display:grid;gap:18px}
.form-grid.two{grid-template-columns:repeat(2,minmax(0,1fr))}
.form-grid.three{grid-template-columns:repeat(3,minmax(0,1fr))}
.span-two{grid-column:1/-1}
label{display:grid;gap:7px;font-size:13px;font-weight:750;color:#334047}
input,select,textarea{width:100%;min-height:46px;border:1px solid #cfd9dd;background:#fff;border-radius:10px;padding:10px 12px;color:var(--text);outline:none}
textarea{min-height:130px;resize:vertical}
input:focus,select:focus,textarea:focus{border-color:var(--brand-bright-dark);box-shadow:0 0 0 3px rgba(94,152,235,.18)}
input[type=checkbox],input[type=radio]{width:18px;min-height:18px;padding:0}
.checkbox-row{display:flex;gap:10px;align-items:flex-start;font-weight:600;color:var(--text)}
.checkbox-row input{margin-top:2px}
.help{font-size:12px;color:var(--muted);font-weight:500}
.form-section-title{padding-top:4px;font-size:12px;font-weight:850;letter-spacing:.12em;text-transform:uppercase;color:var(--brand)}
.multi-select{min-height:150px;padding:8px}
.field-error{color:var(--danger);font-size:12px}
.editor-toolbar{display:flex;flex-wrap:wrap;gap:6px;padding:8px;border:1px solid var(--line);border-bottom:0;border-radius:10px 10px 0 0;background:var(--surface-soft)}
.editor-toolbar button{border:1px solid var(--line);background:#fff;border-radius:7px;padding:6px 9px;font-weight:750}
.editor-toolbar+textarea{border-radius:0 0 10px 10px}
.image-preview{width:110px;height:110px;border-radius:14px;object-fit:cover;border:1px solid var(--line);background:var(--surface-soft)}

/* Public */
.public-body{background:#fff}
.public-header{position:sticky;top:0;z-index:100;background:rgba(255,255,255,.94);backdrop-filter:blur(16px);border-bottom:1px solid rgba(223,230,233,.9)}
.header-inner{min-height:78px;display:flex;align-items:center;justify-content:space-between;gap:20px}
.public-brand,.sidebar-brand{display:flex;align-items:center;gap:12px}
.public-brand img{width:48px;height:48px;object-fit:contain}
.public-brand strong,.sidebar-brand strong{display:block;font-size:18px;letter-spacing:.02em}
.public-brand small,.sidebar-brand small{display:block;color:var(--muted);font-size:11px;max-width:290px;line-height:1.25}
.brand-icon{display:grid;place-items:center;width:42px;height:42px;border-radius:12px;background:var(--brand);color:#fff;font-size:22px;font-weight:900}
.public-nav{display:flex;align-items:center;gap:22px;font-size:14px;font-weight:700}
.public-nav>a:not(.btn):hover{color:var(--brand)}
.nav-toggle{display:none;border:1px solid var(--line);background:#fff;border-radius:9px;width:42px;height:42px}
.hero{position:relative;min-height:650px;overflow:hidden;background:#2D4970}
.hero-slide{position:absolute;inset:0;opacity:0;transition:opacity .7s ease;display:grid;align-items:end;background:linear-gradient(120deg,#3D6399,#1D2E47)}
.hero-slide.active{opacity:1;z-index:1}
.hero-slide img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover}
.hero-overlay{position:absolute;inset:0;background:linear-gradient(90deg,rgba(5,28,33,.88),rgba(5,28,33,.42),rgba(5,28,33,.18))}
.hero-content{position:relative;z-index:2;padding:110px 0 90px;color:#fff;max-width:820px}
.hero-content .eyebrow{color:#dbe9fb}
.hero-content h1{font-size:clamp(44px,7vw,82px);line-height:.98;letter-spacing:-.055em;margin:0 0 22px}
.hero-content p{font-size:clamp(18px,2vw,23px);line-height:1.5;color:rgba(255,255,255,.82);max-width:720px;margin:0 0 30px}
.hero-dots{position:absolute;z-index:4;left:50%;bottom:26px;transform:translateX(-50%);display:flex;gap:8px}
.hero-dot{width:11px;height:11px;border-radius:50%;border:0;background:rgba(255,255,255,.38);padding:0}
.hero-dot.active{background:#fff;transform:scale(1.2)}
.public-section{padding:90px 0}
.public-section.soft{background:var(--surface-soft)}
.home-section{position:relative;border-top:1px solid var(--line)}
.home-section .section-heading::before{content:none;display:none}
.home-section-about{background:#fff}
.home-section-membership{background:#edf2f8}
.home-section-sponsors{background:#fff}
.home-section-contact{background:#e8eef7;border-bottom:1px solid var(--line)}
.home-section-membership .plan-card,.home-section-contact .card{box-shadow:0 16px 42px rgba(45,73,112,.07)}
.home-section-sponsors .sponsor-card{box-shadow:0 8px 22px rgba(45,73,112,.04)}
.about-grid{display:grid;grid-template-columns:1fr .9fr;gap:60px;align-items:start}
.principles{display:grid;gap:14px}
.principle{padding:22px;border:1px solid var(--line);border-radius:16px;background:#fff}
.principle strong{display:block;font-size:20px;margin-bottom:5px;color:var(--brand-dark)}
.search-panel{padding:28px;background:#fff;border:1px solid var(--line);border-radius:var(--radius);box-shadow:var(--shadow)}
.search-form{display:grid;grid-template-columns:1.1fr 1fr 1fr auto;gap:12px;align-items:end}
.search-results{margin-top:26px;display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px}
.member-card{border:1px solid var(--line);border-radius:16px;padding:20px;background:#fff;display:flex;gap:15px;align-items:center}
.member-card img,.member-avatar{width:68px;height:68px;border-radius:50%;object-fit:cover;background:var(--brand-soft);flex:0 0 auto}
.member-avatar{display:grid;place-items:center;color:var(--brand);font-weight:900;font-size:20px}
.member-card h3{margin:0 0 4px;font-size:18px}.member-card p{margin:2px 0;color:var(--muted);font-size:13px;overflow-wrap:anywhere}
.empty-state{grid-column:1/-1;text-align:center;padding:34px;border:1px dashed var(--line);border-radius:14px;color:var(--muted)}
.plan-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:22px;max-width:920px;margin:0 auto}
.plan-card{padding:30px;border-radius:20px;background:#fff;border:1px solid var(--line);box-shadow:0 12px 34px rgba(29,46,71,.05)}
.plan-card.featured{border-color:#80b6de;box-shadow:0 20px 46px rgba(61,99,153,.14)}
.plan-card h3{font-size:25px;margin:0 0 12px}.price{display:flex;align-items:flex-end;gap:8px;margin-bottom:20px}.price strong{font-size:52px;line-height:1;color:var(--brand-dark)}.price span{color:var(--muted);padding-bottom:6px}
.plan-card ul{padding-left:20px;color:var(--muted);min-height:125px}.plan-card li{margin-bottom:8px}
.sponsor-grid{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:18px;align-items:center}
.sponsor-card{height:120px;border:1px solid var(--line);border-radius:14px;display:grid;place-items:center;padding:18px;background:#fff}
.sponsor-card img{max-height:75px;max-width:100%;object-fit:contain}.sponsor-card span{font-weight:800;text-align:center;color:var(--muted)}
.contact-grid{display:grid;grid-template-columns:.8fr 1.2fr;gap:48px}.contact-details{display:grid;gap:14px;margin-top:24px}.contact-detail{padding:16px;border-left:3px solid var(--brand);background:var(--surface-soft)}
.public-footer{background:#1D2E47;color:#d9e6e8;padding:52px 0 22px}.footer-grid{display:grid;grid-template-columns:1fr auto;gap:30px}.footer-brand{font-size:24px;font-weight:900;color:#fff}.public-footer p{color:#9eb2b6}.footer-links{display:grid;gap:10px;text-align:right}.footer-links a:hover{color:#fff}.footer-bottom{border-top:1px solid rgba(255,255,255,.12);margin-top:34px;padding-top:18px;color:#8ea4a8;font-size:12px}

/* Auth */
.auth-body{min-height:100vh;background:linear-gradient(135deg,#edf3fb,#f8fafc 50%,#edf2f8);display:grid;place-items:center;padding:30px}
.auth-shell{width:min(100%,520px)}.install-shell{width:min(100%,780px)}
.auth-panel{background:#fff;border:1px solid var(--line);border-radius:22px;padding:34px;box-shadow:var(--shadow)}
.auth-panel h1{font-size:34px;line-height:1.1;letter-spacing:-.035em;margin:14px 0 10px}.auth-panel>.brand-mark{display:inline-grid;place-items:center;height:48px;padding:0 18px;border-radius:12px;background:var(--brand);color:#fff;font-weight:900;font-size:20px}
.auth-links{display:flex;justify-content:space-between;gap:12px;margin-top:18px;font-size:13px}.auth-links a{color:var(--brand);font-weight:750}

/* App */
.app-body{background:var(--bg)}
.app-shell{min-height:100vh;display:grid;grid-template-columns:260px minmax(0,1fr)}
.sidebar{position:sticky;top:0;height:100vh;background:#2D4970;color:#dbe7e9;padding:22px 16px;display:flex;flex-direction:column;z-index:200}
.sidebar-brand{padding:0 8px 22px;color:#fff}.sidebar-brand small{color:#b8cee0}.sidebar-brand .brand-icon{background:#fff;color:var(--brand-dark)}
.side-nav{display:grid;gap:5px;overflow:auto;padding-right:2px}.side-nav a{display:flex;align-items:center;gap:11px;padding:11px 12px;border-radius:10px;font-weight:700;font-size:13px;color:#d3e1ec}.side-nav a span{width:20px;text-align:center}.side-nav a:hover,.side-nav a.active{background:rgba(255,255,255,.1);color:#fff}
.sidebar-footer{margin-top:auto;display:grid;gap:8px;padding:18px 10px 0;border-top:1px solid rgba(255,255,255,.1);font-size:13px}.sidebar-footer a{color:#d3e1ec}.sidebar-footer a:hover{color:#fff}
.app-main{min-width:0}.topbar{height:90px;background:#fff;border-bottom:1px solid var(--line);display:flex;align-items:center;gap:18px;padding:0 28px;position:sticky;top:0;z-index:80}.topbar h1{font-size:23px;margin:0;letter-spacing:-.025em}.topbar-kicker{font-size:11px;text-transform:uppercase;letter-spacing:.11em;color:var(--brand);font-weight:800}.sidebar-toggle{display:none;border:1px solid var(--line);background:#fff;width:42px;height:42px;border-radius:10px}.user-chip{margin-left:auto;display:flex;align-items:center;gap:10px}.user-chip>img,.user-chip>span{width:42px;height:42px;border-radius:50%;object-fit:cover;background:var(--brand-soft);display:grid;place-items:center;color:var(--brand);font-weight:850}.user-chip strong,.user-chip small{display:block}.user-chip small{font-size:11px;color:var(--muted)}
.access-banner{margin:18px 28px 0;padding:14px 18px;border-radius:12px;background:var(--warning-soft);border:1px solid #fedf89;color:var(--warning);display:flex;gap:10px;align-items:center}.access-banner.expired,.access-banner.suspended,.access-banner.rejected{background:var(--danger-soft);border-color:#fecdca;color:var(--danger)}
.content-wrap{padding:28px;max-width:1500px;margin:0 auto}
.page-actions{display:flex;justify-content:flex-end;gap:10px;margin-bottom:18px;flex-wrap:wrap}
.side-nav-group{margin:2px 0}.side-nav-group>summary{list-style:none;display:flex;align-items:center;gap:12px;padding:11px 13px;border-radius:10px;color:#dbe7e5;font-size:13px;font-weight:800;cursor:pointer}.side-nav-group>summary::-webkit-details-marker{display:none}.side-nav-group>summary::after{content:'›';margin-left:auto;transition:transform .18s}.side-nav-group[open]>summary::after{transform:rotate(90deg)}.side-nav-group>summary:hover{background:rgba(255,255,255,.07)}.side-nav-group>div{display:grid;gap:2px;margin:2px 0 7px 24px;padding-left:12px;border-left:1px solid rgba(255,255,255,.15)}.side-nav-group>div a{padding:9px 11px;font-size:12px}.side-nav-group>div a.active{background:rgba(255,255,255,.13)}
.admin-welcome{display:flex;align-items:center;justify-content:space-between;gap:24px;padding:25px 27px;margin-bottom:20px;border:1px solid var(--line);border-radius:16px;background:linear-gradient(135deg,#fff,var(--brand-soft))}.admin-welcome h2{margin:2px 0 7px;font-size:27px}.admin-welcome p{margin:0;color:var(--muted)}
.admin-work-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px}.work-card{display:grid;gap:4px;min-height:142px;padding:20px;border:1px solid var(--line);border-radius:15px;background:#fff;color:var(--text);transition:.18s}.work-card:hover{transform:translateY(-2px);border-color:var(--brand)}.work-card span{font-size:12px;font-weight:850;text-transform:uppercase;letter-spacing:.06em;color:var(--muted)}.work-card strong{font-size:34px;line-height:1.1}.work-card small{color:var(--muted)}.work-card.needs-action{border-left:5px solid var(--warning);background:#fffdf5}.work-card.upcoming{border-left:5px solid var(--brand)}.work-card.summary{background:var(--brand-dark);color:#fff}.work-card.summary span,.work-card.summary small{color:#d7e5e2}
.admin-section-nav{display:flex;gap:7px;flex-wrap:wrap;position:sticky;top:96px;z-index:15;margin-bottom:18px;padding:10px;border:1px solid var(--line);border-radius:13px;background:rgba(255,255,255,.96);box-shadow:0 8px 22px rgba(19,42,39,.07)}.admin-section-nav a{padding:8px 12px;border-radius:8px;background:var(--brand-soft);font-size:12px;font-weight:800;color:var(--brand-dark)}
.admin-section-nav a.active{background:var(--brand);color:#fff}.migration-confirm span{display:grid;gap:3px}.migration-confirm small{color:var(--muted);font-weight:500}.text-danger{color:var(--danger)!important}.document-storage-value{font-size:24px!important}.document-filter{grid-template-columns:minmax(240px,1.4fr) repeat(2,minmax(160px,.7fr)) auto auto}
.sticky-form-actions{position:sticky;bottom:14px;z-index:18;display:flex;align-items:center;justify-content:space-between;gap:16px;padding:13px 15px;border:1px solid var(--line);border-radius:13px;background:rgba(255,255,255,.96);box-shadow:0 12px 30px rgba(19,42,39,.16)}.sticky-form-actions span{font-size:13px;color:var(--muted)}
.bulk-action-bar{display:flex;align-items:end;gap:10px;flex-wrap:wrap;margin:0 0 14px;padding:13px 15px;border:1px solid var(--line);border-radius:13px;background:var(--surface-soft)}.bulk-action-bar label{min-width:230px}.bulk-action-bar select{min-width:230px}
.audit-filter{grid-template-columns:minmax(260px,1fr) minmax(220px,.7fr) auto auto}.audit-context{display:block;max-width:520px;white-space:normal;overflow-wrap:anywhere;font-size:11px;color:var(--muted)}.pagination{display:flex;align-items:center;justify-content:center;gap:15px;margin-top:18px}.pagination span{font-size:13px;font-weight:750;color:var(--muted)}
.inbox-layout{display:grid;grid-template-columns:minmax(300px,.75fr) minmax(0,1.35fr);gap:18px;align-items:start}.inbox-list{max-height:calc(100vh - 190px);overflow:auto}.inbox-items{display:grid}.inbox-item{display:grid;gap:5px;padding:15px 17px;border-bottom:1px solid var(--line);color:var(--text)}.inbox-item:hover,.inbox-item.active{background:var(--brand-soft)}.inbox-item>span{display:flex;align-items:center;justify-content:space-between;gap:10px}.inbox-item small{color:var(--muted);white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.inbox-item time{font-size:11px;color:var(--muted)}.inbox-item.new strong{font-weight:900}.inbox-detail{position:sticky;top:100px}.message-body{font-size:15px;line-height:1.75;white-space:normal}
.role-summary-list{display:grid;gap:8px;margin:14px 0;padding-left:20px}.role-summary-list li{color:var(--muted)}.role-summary-list b{color:var(--text)}
.stats-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:16px;margin-bottom:22px}.stat-card{padding:20px;background:#fff;border:1px solid var(--line);border-radius:16px}.stat-card .label{font-size:12px;color:var(--muted);font-weight:750;text-transform:uppercase;letter-spacing:.06em}.stat-card .value{font-size:34px;line-height:1.1;font-weight:900;margin-top:8px;letter-spacing:-.04em}.stat-card .detail{font-size:12px;color:var(--muted);margin-top:6px}
.admin-hero{display:flex;justify-content:space-between;gap:24px;align-items:center;padding:28px;margin-bottom:22px;border-radius:20px;background:linear-gradient(135deg,var(--brand-dark),var(--brand));color:#fff}.admin-hero h2{margin:4px 0 8px;color:#fff}.admin-hero p{max-width:720px;margin:0;color:#e5f2ef}.admin-hero .eyebrow{color:#c9e4df}.membership-stats .stat-card{display:grid;gap:4px;color:var(--text)}.membership-stats .stat-card>span{font-size:12px;font-weight:800;text-transform:uppercase;color:var(--muted)}.membership-stats .stat-card>strong{font-size:34px}.membership-stats .stat-card>small{color:var(--muted)}.stat-card.needs-action{border-left:5px solid var(--warning);background:#fffdf5}.compact-stats .stat-card{display:grid;color:var(--text)}.cpd-import-options{padding:16px;border:1px solid var(--line);border-radius:14px;background:var(--surface-soft)}.cpd-status-filter{align-items:center}.member-video-filter{margin-top:22px;grid-template-columns:minmax(240px,1.4fr) minmax(180px,.7fr) auto auto}.filter-bar:has(>label select[name=category]),.filter-bar:has(>label select[name=assigned]){grid-template-columns:minmax(240px,1.4fr) repeat(2,minmax(160px,.7fr)) auto auto}
.dashboard-grid{display:grid;grid-template-columns:1.4fr .9fr;gap:20px}.dashboard-grid.equal{grid-template-columns:repeat(2,minmax(0,1fr))}.stack{display:grid;gap:20px}
.chart-wrap{height:290px;position:relative}.chart-wrap canvas{width:100%;height:100%}
.list-clean{list-style:none;padding:0;margin:0}.list-row{display:flex;justify-content:space-between;align-items:center;gap:14px;padding:13px 0;border-bottom:1px solid var(--line)}.list-row:last-child{border-bottom:0}.list-row strong{display:block}.list-row small{display:block;color:var(--muted)}
.table-wrap{overflow:auto}.data-table{width:100%;border-collapse:collapse;min-width:760px}.data-table th{text-align:left;font-size:11px;text-transform:uppercase;letter-spacing:.07em;color:var(--muted);padding:12px;border-bottom:1px solid var(--line);background:var(--surface-soft)}.data-table td{padding:13px 12px;border-bottom:1px solid var(--line);vertical-align:middle}.data-table tr:hover td{background:#fbfcfc}.data-table .actions{display:flex;gap:7px;justify-content:flex-end}.table-person{display:flex;align-items:center;gap:10px}.table-person img,.table-person span{width:38px;height:38px;border-radius:50%;object-fit:cover;background:var(--brand-soft);display:grid;place-items:center;color:var(--brand);font-weight:850}
.filter-bar{display:grid;grid-template-columns:1.5fr repeat(2,minmax(160px,.7fr)) auto;gap:10px;padding:16px;background:#fff;border:1px solid var(--line);border-radius:14px;margin-bottom:18px;align-items:end}
.profile-grid{display:grid;grid-template-columns:280px 1fr;gap:20px}.profile-card{text-align:center;padding:26px}.profile-photo{width:130px;height:130px;border-radius:50%;object-fit:cover;margin:0 auto 16px;background:var(--brand-soft)}.profile-initials{display:grid;place-items:center;color:var(--brand);font-size:38px;font-weight:900}.profile-card h2{margin:0 0 5px}.profile-meta{display:grid;gap:10px;margin-top:20px;text-align:left}.profile-meta div{padding:10px 0;border-top:1px solid var(--line)}.profile-meta small{display:block;color:var(--muted)}
.detail-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:0 24px}.detail-item{padding:15px 0;border-bottom:1px solid var(--line)}.detail-item small{display:block;color:var(--muted);font-size:11px;text-transform:uppercase;letter-spacing:.06em;font-weight:750}.detail-item strong{display:block;margin-top:3px;overflow-wrap:anywhere}
.pill-list{display:flex;flex-wrap:wrap;gap:7px;margin-top:8px}.pill{padding:7px 10px;border-radius:999px;background:var(--brand-soft);color:var(--brand-dark);font-size:12px;font-weight:750}
.event-grid,.document-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px}.event-card,.document-card{padding:22px}.event-date{display:inline-flex;padding:6px 9px;border-radius:8px;background:var(--brand-soft);color:var(--brand);font-weight:800;font-size:12px}.event-card h3,.document-card h3{margin:14px 0 8px}.event-card p,.document-card p{color:var(--muted)}
.definition-list{display:grid;gap:0}.definition-row{display:grid;grid-template-columns:190px 1fr;gap:20px;padding:13px 0;border-bottom:1px solid var(--line)}.definition-row dt{color:var(--muted)}.definition-row dd{margin:0;font-weight:700}
.split-actions{display:flex;justify-content:space-between;align-items:center;gap:15px;flex-wrap:wrap;margin-bottom:18px}
.pagination{display:flex;gap:6px;justify-content:center;margin-top:20px}.pagination a,.pagination span{min-width:38px;height:38px;border-radius:9px;border:1px solid var(--line);display:grid;place-items:center;background:#fff}.pagination .active{background:var(--brand);color:#fff;border-color:var(--brand)}

@media(max-width:1050px){
  .public-nav{gap:14px}.public-brand small{display:none}.search-results{grid-template-columns:repeat(2,minmax(0,1fr))}.sponsor-grid{grid-template-columns:repeat(3,minmax(0,1fr))}
  .stats-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.dashboard-grid,.dashboard-grid.equal{grid-template-columns:1fr}.event-grid,.document-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
}
@media(max-width:850px){
  .nav-toggle{display:grid;place-items:center}.public-nav{display:none;position:absolute;left:18px;right:18px;top:72px;background:#fff;border:1px solid var(--line);border-radius:14px;box-shadow:var(--shadow);padding:16px;align-items:stretch;flex-direction:column;gap:4px}.public-nav.open{display:flex}.public-nav a{padding:10px}
  .about-grid,.contact-grid{grid-template-columns:1fr}.search-form{grid-template-columns:1fr 1fr}.search-form .btn{grid-column:1/-1}.hero{min-height:580px}.hero-content{padding:90px 0 75px}
  .app-shell{grid-template-columns:1fr}.sidebar{position:fixed;left:0;top:0;width:280px;transform:translateX(-100%);transition:.25s ease}.sidebar.open{transform:translateX(0);box-shadow:30px 0 60px rgba(0,0,0,.2)}.sidebar-toggle{display:grid;place-items:center}.topbar{padding:0 18px}.content-wrap{padding:20px}.access-banner{margin:15px 20px 0}.user-chip small{display:none}.profile-grid{grid-template-columns:1fr}.profile-card{text-align:left}.profile-photo{margin:0 0 16px}.event-grid,.document-grid{grid-template-columns:1fr}
}
@media(max-width:640px){
  .container{width:min(calc(100% - 24px),var(--container))}.public-section{padding:65px 0}.hero{min-height:540px}.hero-content h1{font-size:46px}.hero-content p{font-size:17px}.plan-grid,.search-results{grid-template-columns:1fr}.sponsor-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.footer-grid{grid-template-columns:1fr}.footer-links{text-align:left}
  .form-grid.two,.form-grid.three,.search-form{grid-template-columns:1fr}.span-two{grid-column:auto}.search-form .btn{grid-column:auto}.auth-body{padding:14px}.auth-panel{padding:24px}.stats-grid{grid-template-columns:1fr 1fr}.filter-bar{grid-template-columns:1fr}.detail-grid{grid-template-columns:1fr}.definition-row{grid-template-columns:1fr;gap:3px}.topbar{height:78px}.topbar h1{font-size:19px}.user-chip div{display:none}.content-wrap{padding:14px}.card-header,.card-body,.card-pad{padding:18px}.page-actions .btn{flex:1}.sponsor-card{height:95px}
}


/* Homepage content editor */
.content-editor-nav{display:flex;flex-wrap:wrap;gap:8px;margin-bottom:20px;padding:12px;background:#fff;border:1px solid var(--line);border-radius:14px;position:sticky;top:104px;z-index:20}
.content-editor-nav a{padding:8px 11px;border-radius:9px;background:var(--brand-soft);color:var(--brand-dark);font-size:12px;font-weight:800}
.editor-group{border:1px solid var(--line);border-radius:14px;background:#fff;overflow:hidden}
.editor-group+ .editor-group{margin-top:12px}
.editor-group>summary{list-style:none;display:flex;align-items:center;justify-content:space-between;gap:16px;padding:17px 19px;cursor:pointer;font-weight:850;background:var(--surface-soft)}
.editor-group>summary::-webkit-details-marker{display:none}
.editor-group>summary::after{content:'+';width:28px;height:28px;border-radius:8px;background:#fff;border:1px solid var(--line);display:grid;place-items:center;color:var(--brand);font-size:19px}
.editor-group[open]>summary::after{content:'–'}
.editor-group-body{padding:20px;border-top:1px solid var(--line)}
.editor-summary-meta{display:block;color:var(--muted);font-size:12px;font-weight:600;margin-top:3px}
.current-image{display:flex;align-items:center;gap:14px;padding:12px;border:1px solid var(--line);border-radius:12px;background:var(--surface-soft)}
.current-image img{width:110px;height:70px;border-radius:9px;object-fit:cover;background:#fff}
.form-note{margin:0;padding:12px 14px;border-radius:10px;background:var(--brand-soft);color:var(--brand-dark);font-size:13px}
.remember-row{display:flex;align-items:center;gap:9px;font-size:13px;font-weight:700;color:var(--text)}
.remember-row input{width:18px;min-height:18px}
@media(max-width:850px){.content-editor-nav{position:static}.editor-group>summary{padding:14px}.editor-group-body{padding:15px}}

/* --------------------------------------------------------------------------
   NZEIA 1.4 interface refinements
   -------------------------------------------------------------------------- */

/* Keep selects visually identical to text inputs across Safari and Chromium. */
select:not([multiple]){
  height:46px;
  min-height:46px;
  line-height:1.2;
  padding:10px 42px 10px 12px;
  appearance:none;
  -webkit-appearance:none;
  background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='8' viewBox='0 0 14 8'%3E%3Cpath fill='none' stroke='%23647178' stroke-linecap='round' stroke-linejoin='round' stroke-width='1.8' d='m1 1 6 6 6-6'/%3E%3C/svg%3E");
  background-repeat:no-repeat;
  background-position:right 14px center;
  background-size:14px 8px;
}
select[multiple]{height:auto;background-image:none;padding:9px 12px}
input:not([type=checkbox]):not([type=radio]):not([type=file]){height:46px}
input[type=file]{min-height:46px;padding:8px 10px}

/* Logo treatment supports a wide SVG wordmark without repeating its wording. */
.public-brand.has-logo img{width:auto;height:54px;max-width:220px;object-fit:contain}
.sidebar-brand img{width:auto;height:48px;max-width:190px;object-fit:contain}
.footer-logo.has-logo img{width:auto;height:68px;max-width:260px;object-fit:contain}
.logo-preview img{width:auto!important;height:78px!important;max-width:280px!important;object-fit:contain!important}

/* Public page headings. */
.page-hero,.directory-hero{
  position:relative;
  overflow:hidden;
  padding:96px 0 76px;
  background:linear-gradient(135deg,#edf3fb 0%,#fff 62%,#e5edf8 100%);
  border-bottom:1px solid var(--line);
}
.page-hero::after,.directory-hero::after{content:none;display:none}
.page-hero.compact{padding:78px 0 62px}
.page-hero .container,.directory-hero .container{position:relative;z-index:1;max-width:900px;margin-left:auto;margin-right:auto;text-align:center}
.page-hero h1,.directory-hero h1{margin:0 0 16px;font-size:clamp(38px,5vw,64px);line-height:1.02;letter-spacing:-.045em}
.page-hero p,.directory-hero .rich-text{margin:0 auto;color:var(--muted);font-size:18px;max-width:760px}
.directory-search-section{padding-top:58px}
.directory-help{margin-top:14px;color:var(--muted);font-size:13px;text-align:center}

/* Profile-led public and internal member directory cards. */
.search-results{align-items:stretch}
.member-card{
  min-width:0;
  min-height:270px;
  padding:26px 20px 22px;
  display:flex;
  flex-direction:column;
  justify-content:flex-start;
  align-items:center;
  gap:15px;
  text-align:center;
  border-radius:18px;
  box-shadow:0 10px 28px rgba(45,73,112,.05);
  transition:transform .18s ease,box-shadow .18s ease,border-color .18s ease;
}
.member-card:hover{transform:translateY(-3px);border-color:#b8d6ec;box-shadow:0 18px 38px rgba(61,99,153,.11)}
.member-card img,.member-card>.member-avatar{
  width:112px;
  height:112px;
  flex:0 0 112px;
  border:5px solid #fff;
  box-shadow:0 0 0 1px var(--line),0 10px 24px rgba(45,73,112,.12);
}
.member-card>.member-avatar{font-size:30px}
.member-card>div{width:100%;min-width:0}
.member-card h3{font-size:20px;line-height:1.2;margin:2px 0 8px}
.member-card p{margin:5px 0;font-size:13px;line-height:1.45}
.member-card a{color:var(--brand-dark);overflow-wrap:anywhere}
.member-card a:hover{text-decoration:underline}

.preference-panel{display:grid;gap:12px;padding:18px;border:1px solid var(--line);border-radius:14px;background:var(--surface-soft)}
.preference-panel .checkbox-row{padding:4px 0}
.preference-panel .checkbox-row span{display:grid;gap:3px}
.preference-panel .checkbox-row strong{font-size:14px}
.preference-panel .checkbox-row small{color:var(--muted);font-weight:500;line-height:1.45}

/* Rich public footer. */
.public-footer{padding:70px 0 24px;background:linear-gradient(145deg,#1D2E47 0%,#2D4970 55%,#3D6399 150%);color:#dce8f1}
.footer-main-grid{display:grid;grid-template-columns:minmax(280px,1.55fr) repeat(3,minmax(150px,.72fr));gap:52px;align-items:start}
.footer-about{max-width:410px}
.footer-logo{display:inline-flex;align-items:center;gap:12px;color:#fff;margin-bottom:22px}
.footer-logo strong{display:block;font-size:22px}.footer-logo small{display:block;font-size:11px;color:#b7cddd;max-width:250px;line-height:1.3}
.footer-about>p{margin:0;color:#b8cbda;line-height:1.75;max-width:390px}
.footer-column{display:grid;align-content:start;gap:11px}
.footer-column h3{margin:3px 0 9px;color:#fff;font-size:14px;text-transform:uppercase;letter-spacing:.1em}
.footer-column>a{color:#c8d9e6;font-size:14px;transition:.18s ease}
.footer-column>a:hover{color:#fff;transform:translateX(2px)}
.footer-column p{margin:0;color:#abc2d3;font-size:13px;line-height:1.6}
.footer-contact-link{margin-top:7px;color:#fff!important;font-weight:800}
.footer-socials{display:flex;flex-wrap:wrap;gap:9px;margin-top:25px}
.footer-socials a{display:inline-flex;align-items:center;gap:8px;min-height:38px;padding:7px 11px;border:1px solid rgba(255,255,255,.16);border-radius:999px;color:#fff;background:rgba(255,255,255,.06);font-size:12px;font-weight:750}
.footer-socials a>span:first-child{display:grid;place-items:center;min-width:20px;height:20px;border-radius:50%;background:#fff;color:#2D4970;font-size:10px;font-weight:900}
.footer-socials a:hover{background:rgba(255,255,255,.13);border-color:rgba(255,255,255,.28)}
.footer-bottom{display:flex;justify-content:space-between;gap:20px;border-top:1px solid rgba(255,255,255,.13);margin-top:52px;padding-top:20px;color:#9fb8ca;font-size:12px}
.footer-bottom b{color:#5E98EB;padding:0 4px}

/* Public coming-events presentation. */
.events-public-section{background:#fff}
.public-event-list{display:grid;gap:64px}
.public-event-row{display:grid;grid-template-columns:minmax(0,1.08fr) minmax(320px,.92fr);gap:54px;align-items:center}
.public-event-row.reverse{grid-template-columns:minmax(320px,.92fr) minmax(0,1.08fr)}
.public-event-row.reverse .public-event-image{order:2}.public-event-row.reverse .public-event-content{order:1}
.public-event-image{position:relative;min-height:390px;border-radius:24px;overflow:hidden;background:var(--brand-soft);box-shadow:0 24px 60px rgba(26,62,88,.13)}
.public-event-image::after{content:"";position:absolute;inset:0;border:1px solid rgba(255,255,255,.35);border-radius:inherit;pointer-events:none}
.public-event-image img{width:100%;height:100%;min-height:390px;object-fit:cover}
.public-event-placeholder{min-height:390px;display:grid;place-items:center;align-content:center;gap:8px;background:linear-gradient(135deg,#3D6399,#1D2E47);color:#fff;text-align:center}
.public-event-placeholder span{font-size:14px;letter-spacing:.18em;font-weight:800}.public-event-placeholder strong{font-size:36px;letter-spacing:-.04em}
.public-event-content h2{font-size:clamp(30px,4vw,48px);line-height:1.05;letter-spacing:-.04em;margin:0 0 14px}
.public-event-content .rich-text{color:var(--muted);font-size:16px;margin-bottom:24px}
.event-location{display:inline-flex;align-items:center;gap:7px;color:var(--brand-dark);font-weight:800;margin:0 0 16px}
.event-admin-preview{width:220px;height:135px;object-fit:cover;border-radius:12px;border:1px solid var(--line)}

/* Scholarship pages. */
.scholarship-hero{position:relative;overflow:hidden;padding:104px 0 92px;background:linear-gradient(135deg,#edf3fb,#fff 62%,#e4edf9)}
.scholarship-hero>img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover}
.scholarship-hero-overlay{position:absolute;inset:0;background:linear-gradient(90deg,rgba(8,35,57,.91),rgba(8,35,57,.68),rgba(8,35,57,.28))}
.scholarship-hero-content{position:relative;z-index:1;max-width:850px}
.scholarship-hero.has-image .scholarship-hero-content{margin-left:max(18px,calc((100vw - var(--container))/2));margin-right:auto;color:#fff}
.scholarship-hero.has-image .eyebrow{color:#d3e3f8}
.scholarship-hero h1{font-size:clamp(42px,6vw,70px);line-height:1;letter-spacing:-.05em;margin:0 0 20px;max-width:850px}
.scholarship-intro{font-size:19px;line-height:1.65;max-width:760px;color:var(--muted);margin-bottom:28px}
.scholarship-hero.has-image .scholarship-intro{color:rgba(255,255,255,.82)}
.scholarship-hero.has-image .btn-outline{border-color:rgba(255,255,255,.55);color:#fff;background:rgba(255,255,255,.06)}
.scholarship-section{background:var(--surface-soft)}
.scholarship-layout{display:grid;grid-template-columns:minmax(0,1fr) 350px;gap:30px;align-items:start}
.scholarship-content-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:20px}
.scholarship-card{position:relative;overflow:hidden;padding:30px;border:1px solid var(--line);border-radius:20px;background:#fff;box-shadow:0 10px 30px rgba(45,73,112,.05)}
.scholarship-card.featured{border-color:#9bc8e8;background:linear-gradient(150deg,#fff,#edf3fb)}
.scholarship-card-number{position:absolute;right:18px;top:8px;color:rgba(61,99,153,.10);font-size:72px;line-height:1;font-weight:950;letter-spacing:-.08em}
.scholarship-card h2{position:relative;font-size:25px;line-height:1.15;margin:0 0 14px;letter-spacing:-.025em}
.scholarship-card .rich-text{position:relative;color:var(--muted)}
.scholarship-sidebar{position:sticky;top:105px}
.scholarship-apply-card{padding:28px;border-radius:20px;background:#2D4970;color:#fff;box-shadow:0 22px 52px rgba(18,60,96,.2)}
.scholarship-apply-card .eyebrow{color:#b9d2f5}.scholarship-apply-card h2{font-size:30px;line-height:1.1;margin:0 0 14px}.scholarship-apply-card .rich-text{color:#c8dbe8}
.scholarship-dates{display:grid;gap:0;margin:24px 0;border-top:1px solid rgba(255,255,255,.14)}
.scholarship-dates>div{display:flex;justify-content:space-between;gap:15px;padding:12px 0;border-bottom:1px solid rgba(255,255,255,.14)}
.scholarship-dates dt{color:#9fc0d5}.scholarship-dates dd{margin:0;font-weight:800}
.scholarship-committee{margin:18px 0 0!important;color:#9fc0d5!important;font-size:12px}
.narrow-container{max-width:940px}
.scholarship-form>div:first-child h2{margin:0;font-size:30px}
.application-success{text-align:center;max-width:720px;margin:auto}.success-mark{display:grid;place-items:center;width:72px;height:72px;margin:0 auto 20px;border-radius:50%;background:var(--success-soft);color:var(--success);font-size:34px;font-weight:900}
.honeypot{position:absolute!important;left:-9999px!important;width:1px!important;height:1px!important;overflow:hidden!important}

/* Association structure. */
.structure-section{background:#edf2f8}
.structure-page{display:grid;gap:30px}
.structure-tier{padding:34px;border:1px solid var(--line);border-radius:24px;background:#fff;box-shadow:0 14px 38px rgba(45,73,112,.06)}
.structure-tier-regional{background:#f8fafb}
.structure-tier-education{border-top:5px solid var(--brand)}
.structure-tier-heading{max-width:760px;margin-bottom:24px}
.structure-tier-heading h2{font-size:clamp(30px,4vw,46px);line-height:1.08;letter-spacing:-.035em;margin:0 0 10px}
.structure-tier-heading>p:last-child{margin:0;color:var(--muted);font-size:16px}
.structure-section-groups{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:18px}
.structure-tier-regional .structure-section-groups{grid-template-columns:repeat(3,minmax(0,1fr))}
.structure-group-card{min-width:0;padding:24px;border:1px solid var(--line);border-radius:18px;background:#fff}
.structure-group-heading{padding-bottom:17px;border-bottom:1px solid var(--line)}
.structure-group-heading h3{font-size:25px;line-height:1.15;letter-spacing:-.025em;margin:0 0 5px}
.structure-group-heading p{margin:0;color:var(--muted)}
.position-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;padding-top:18px}
.structure-tier-regional .position-grid{grid-template-columns:1fr}
.position-card{display:flex;align-items:flex-start;gap:13px;padding:16px;border:1px solid var(--line);border-radius:14px;background:var(--surface-soft)}
.position-initials{display:grid;place-items:center;flex:0 0 44px;width:44px;height:44px;border-radius:50%;background:var(--brand);color:#fff;font-weight:900}
.position-card span{display:block;color:var(--brand);font-size:11px;font-weight:850;text-transform:uppercase;letter-spacing:.05em}
.position-card h3,.position-card h4{font-size:17px;margin:3px 0 6px}
.position-card a{display:block;color:var(--muted);font-size:12px;overflow-wrap:anywhere}
.position-card a:hover{color:var(--brand)}

/* Small admin helpers used by the new management pages. */
.notice-box{padding:18px;border:1px solid #b9d6ea;border-radius:14px;background:var(--brand-soft);color:var(--brand-dark)}
.notice-box p{margin:6px 0 0;color:#345b77}
.detail-list{display:grid;gap:0;margin:0}.detail-list>div{padding:12px 0;border-bottom:1px solid var(--line)}.detail-list dt{font-size:11px;text-transform:uppercase;letter-spacing:.07em;color:var(--muted);font-weight:800}.detail-list dd{margin:4px 0 0;font-weight:650;overflow-wrap:anywhere}
.top-gap{margin-top:20px}
.empty-state.large{padding:60px 30px}.empty-state.large h2{margin:0 0 7px;color:var(--text)}.empty-state.large p{margin:0}
.badge-info{background:var(--brand-soft);color:var(--brand-dark);border-color:#b9d6ea}

@media(max-width:1100px){
  .footer-main-grid{grid-template-columns:1.35fr repeat(2,minmax(150px,.7fr));gap:36px}.footer-contact{grid-column:2/-1}
  .scholarship-layout{grid-template-columns:1fr}.scholarship-sidebar{position:static}.scholarship-apply-card{max-width:none}
  .structure-tier-regional .structure-section-groups{grid-template-columns:repeat(2,minmax(0,1fr))}.position-grid{grid-template-columns:1fr}
}
@media(max-width:1100px){.admin-work-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:900px){
  .public-event-row,.public-event-row.reverse{grid-template-columns:1fr;gap:28px}.public-event-row.reverse .public-event-image,.public-event-row.reverse .public-event-content{order:initial}
  .public-event-image,.public-event-image img,.public-event-placeholder{min-height:320px}
  .structure-section-groups,.structure-tier-regional .structure-section-groups{grid-template-columns:1fr}
  .footer-main-grid{grid-template-columns:1.2fr repeat(2,minmax(140px,.8fr))}.footer-contact{grid-column:1/-1}
}
@media(max-width:720px){
  .public-brand.has-logo img{height:46px;max-width:180px}.footer-logo.has-logo img{height:58px;max-width:220px}
  .footer-main-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:34px}.footer-about{grid-column:1/-1}.footer-contact{grid-column:1/-1}.footer-bottom{flex-direction:column;gap:7px}
  .scholarship-content-grid{grid-template-columns:1fr}.scholarship-hero{padding:82px 0 70px}.scholarship-hero.has-image .scholarship-hero-content{margin:0 auto}
  .position-grid{grid-template-columns:1fr}.structure-tier{padding:24px}.structure-group-card{padding:20px}
}
@media(max-width:480px){
  .footer-main-grid{grid-template-columns:1fr}.footer-about,.footer-contact{grid-column:auto}.social-label{display:none}.footer-socials a{width:38px;padding:7px;justify-content:center}
  .member-card{min-height:250px}.member-card img,.member-card>.member-avatar{width:100px;height:100px;flex-basis:100px}
  .public-event-image,.public-event-image img,.public-event-placeholder{min-height:250px}.public-event-placeholder strong{font-size:28px}
}

/* 2.3.16 — refined member directory */
.member-directory-toolbar{display:flex;align-items:center;justify-content:space-between;gap:20px;margin:24px 0 10px;color:#263d5a;font-size:13px;font-weight:800}.member-directory-toolbar small{color:#748397;font-size:11px;font-weight:650}
.member-directory-list{border-top:1px solid #cfd9e4;background:#fff}
.member-directory-row{display:grid;grid-template-columns:minmax(255px,.95fr) minmax(260px,1.2fr) minmax(150px,.55fr) minmax(195px,.7fr);gap:24px;align-items:center;padding:24px 20px;border-right:1px solid #d6e0ea;border-bottom:1px solid #d6e0ea;border-left:1px solid #d6e0ea;transition:background .18s ease,border-color .18s ease}
.member-directory-row:hover{position:relative;background:#f6f9fc;border-color:#b9cada}
.member-directory-person{display:grid;grid-template-columns:68px minmax(0,1fr);gap:15px;align-items:center;min-width:0}.member-directory-person img{width:68px;height:78px;object-fit:cover;background:#e5ebf2}.member-directory-person h3{margin:0;color:#192c46;font-size:19px;line-height:1.2}.member-directory-person p{margin:5px 0 2px;color:#627489;font-size:12px;line-height:1.35}.member-directory-person small{color:#8794a4;font-size:10px;font-weight:800;letter-spacing:.04em;text-transform:uppercase}
.member-directory-label{display:block;margin-bottom:9px;color:#7b8999;font-size:9px;font-weight:850;letter-spacing:.11em;text-transform:uppercase}.member-directory-expertise .member-area-tags{justify-content:flex-start;margin:0}.member-directory-expertise .member-area-tag{padding:5px 8px;border:1px solid #d3deea;background:#edf3f9;color:#345574;font-size:9px}.member-directory-expertise .muted{font-size:12px}
.member-directory-location strong{display:block;color:#2b4565;font-size:12px;line-height:1.5}
.member-directory-row .member-directory-contact{display:flex;align-items:flex-start;flex-direction:column;gap:5px;margin:0;padding:0;border:0}.member-directory-row .member-directory-contact a{font-size:11px}.member-directory-row .member-directory-contact small{max-width:100%;color:#7d8b9b;font-size:10px;overflow-wrap:anywhere}.member-directory-email{display:inline-flex!important;align-items:center;min-height:34px;padding:0 13px;background:#244b78;color:#fff!important;font-size:10px!important;font-weight:850!important;letter-spacing:.05em;text-transform:uppercase}

/* 2.3.16 — Scholarship */
.scholarship-modern-hero{padding:72px 0;background:#eef3f7;overflow:hidden}.scholarship-modern-hero-grid{display:grid;grid-template-columns:minmax(0,1.05fr) minmax(400px,.95fr);gap:64px;align-items:center}.scholarship-status-line{display:flex;align-items:center;justify-content:space-between;gap:20px}.scholarship-open-status{display:inline-flex;align-items:center;gap:7px;color:#8c3c35;font-size:10px;font-weight:850;letter-spacing:.08em;text-transform:uppercase}.scholarship-open-status:before{width:7px;height:7px;background:currentColor;content:""}.scholarship-open-status.is-open{color:#26704e}.scholarship-modern-copy h1{max-width:760px;margin:16px 0 22px;color:#172b45;font-size:clamp(50px,6vw,78px);font-weight:780;letter-spacing:-.05em;line-height:.98}.scholarship-modern-intro{max-width:660px;color:#52677d;font-size:18px;line-height:1.7}.scholarship-modern-intro p{margin:0}.scholarship-modern-actions{display:flex;flex-wrap:wrap;gap:24px;align-items:center;margin-top:32px}.scholarship-text-link,.scholarship-help-link{color:#244f7c;font-size:12px;font-weight:850;text-decoration:none}.scholarship-modern-visual{position:relative;min-height:520px;background:#193250;overflow:hidden}.scholarship-modern-visual img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover}.scholarship-modern-visual.has-image:after{position:absolute;inset:0;background:linear-gradient(180deg,transparent 45%,rgba(10,27,47,.72));content:""}.scholarship-graphic-mark{position:absolute;inset:0;display:flex;justify-content:space-between;flex-direction:column;padding:48px;background:linear-gradient(145deg,#18304c,#315d8b 66%,#4b7abc);color:#fff}.scholarship-graphic-mark:after{position:absolute;right:-80px;bottom:-90px;width:310px;height:310px;border:58px solid rgba(255,255,255,.09);border-radius:50%;content:""}.scholarship-graphic-mark span{font-size:12px;font-weight:900;letter-spacing:.17em}.scholarship-graphic-mark strong{position:relative;z-index:1;font-size:58px;letter-spacing:-.04em;line-height:.93}.scholarship-visual-note{position:absolute;z-index:2;right:0;bottom:0;left:38px;display:grid;padding:22px 26px;background:#fff;color:#1b314c}.scholarship-visual-note span{font-size:9px;font-weight:850;letter-spacing:.1em;text-transform:uppercase}.scholarship-visual-note strong{font-size:28px;letter-spacing:-.03em}.scholarship-visual-note small{margin-top:3px;color:#68798c}
.scholarship-proof-strip{background:#172b45;color:#fff}.scholarship-proof-strip .container{display:grid;grid-template-columns:repeat(3,1fr)}.scholarship-proof-strip article{position:relative;padding:30px 38px;border-left:1px solid rgba(255,255,255,.14)}.scholarship-proof-strip article:last-child{border-right:1px solid rgba(255,255,255,.14)}.scholarship-proof-strip article>span{position:absolute;top:31px;right:26px;color:#6e89a7;font-size:10px;font-weight:800}.scholarship-proof-strip strong{display:block;font-size:16px}.scholarship-proof-strip p{margin:6px 0 0;color:#b8c5d2;font-size:12px;line-height:1.5}
.scholarship-modern-section{padding:92px 0;background:#fff}.scholarship-modern-layout{display:grid;grid-template-columns:minmax(0,1fr) 350px;gap:88px;align-items:start}.scholarship-section-intro{max-width:720px;margin-bottom:56px}.scholarship-section-intro h2{margin:12px 0 18px;color:#192e49;font-size:clamp(36px,4vw,56px);letter-spacing:-.04em;line-height:1.05}.scholarship-section-intro>p:last-child{color:#607286;font-size:16px;line-height:1.7}.scholarship-detail-list{border-top:1px solid #cfd9e4}.scholarship-detail-list>article{display:grid;grid-template-columns:52px minmax(0,1fr);gap:24px;padding:34px 0;border-bottom:1px solid #d8e1ea}.scholarship-detail-list>article>span{color:#4b78ad;font-size:11px;font-weight:850}.scholarship-detail-list h3{margin:5px 0 14px;color:#1f3652;font-size:23px}.scholarship-detail-list .rich-text{color:#5b6e82;font-size:14px;line-height:1.7}.scholarship-detail-list .rich-text>:first-child{margin-top:0}.scholarship-detail-list .rich-text>:last-child{margin-bottom:0}.scholarship-modern-sidebar{position:sticky;top:108px}.scholarship-application-card{padding:34px;background:#edf3f8;border-top:5px solid #3f70a6}.scholarship-application-card h2{margin:10px 0 18px;color:#19314d;font-size:30px;line-height:1.08}.scholarship-application-card .rich-text{color:#586d83;font-size:13px;line-height:1.65}.scholarship-modern-dates{margin:25px 0;border-top:1px solid #cbd7e2}.scholarship-modern-dates>div{display:flex;justify-content:space-between;gap:20px;padding:14px 0;border-bottom:1px solid #cbd7e2}.scholarship-modern-dates dt{color:#6f7f90;font-size:10px;font-weight:800;text-transform:uppercase}.scholarship-modern-dates dd{margin:0;color:#203b5c;font-size:12px;font-weight:850}.scholarship-help-link{display:flex;justify-content:space-between;margin-top:20px;padding-top:17px;border-top:1px solid #cbd7e2}.scholarship-committee{margin:18px 0 0;color:#7b8998;font-size:10px}.scholarship-closed-note{padding:13px;background:#fff;color:#73534f;font-size:12px;line-height:1.5}

/* 2.3.16 — History */
.history-modern-hero{padding:90px 0 76px;background:#142941;color:#fff}.history-modern-hero-grid{display:grid;grid-template-columns:minmax(0,1fr) 350px;gap:84px;align-items:end}.history-modern-hero .eyebrow{color:#8db0d5}.history-modern-hero h1{margin:15px 0 18px;font-size:clamp(62px,8vw,104px);letter-spacing:-.065em;line-height:.88}.history-modern-hero-grid>div>p:last-child{max-width:650px;margin:0;color:#c3cfda;font-size:18px;line-height:1.6}.history-key-dates{margin:0;border-top:1px solid rgba(255,255,255,.2)}.history-key-dates>div{display:grid;grid-template-columns:80px 1fr;gap:20px;padding:18px 0;border-bottom:1px solid rgba(255,255,255,.2)}.history-key-dates dt{color:#8fb4da;font-size:22px;font-weight:850}.history-key-dates dd{align-self:center;margin:0;color:#d9e1e9;font-size:12px}
.history-photo-break{position:relative;height:min(62vw,720px);min-height:430px;margin:0;background:#26374a;overflow:hidden}.history-photo-break img{width:100%;height:100%;object-fit:cover;object-position:center 45%}.history-photo-break:after{position:absolute;inset:45% 0 0;background:linear-gradient(180deg,transparent,rgba(10,24,39,.78));content:""}.history-photo-break figcaption{position:absolute;z-index:1;right:max(24px,calc((100% - 1200px)/2));bottom:38px;display:grid;max-width:500px;padding:22px 25px;background:rgba(20,41,65,.92);color:#fff}.history-photo-break figcaption span{margin-bottom:6px;color:#9fc0df;font-size:9px;font-weight:850;letter-spacing:.12em;text-transform:uppercase}.history-photo-break figcaption strong{font-size:15px;line-height:1.5}
.history-modern-intro{padding:68px 0;background:#edf3f7}.history-modern-intro-grid{display:grid;grid-template-columns:180px minmax(0,1fr) 270px;gap:48px;align-items:start}.history-modern-intro blockquote{margin:0;color:#1a304c;font-size:clamp(29px,3.5vw,46px);font-weight:750;letter-spacing:-.035em;line-height:1.16}.history-modern-intro-grid>p:last-child{margin:5px 0 0;color:#627487;font-size:14px;line-height:1.7}
.history-modern-story{padding:96px 0;background:#fff}.history-modern-layout{display:grid;grid-template-columns:300px minmax(0,1fr);gap:94px;align-items:start}.history-story-guide{position:sticky;top:110px}.history-story-guide h2{margin:10px 0 18px;color:#1b334f;font-size:32px;letter-spacing:-.035em;line-height:1.12}.history-story-guide>p:last-child{color:#65778a;font-size:13px;line-height:1.7}.history-timeline{position:relative}.history-timeline:before{position:absolute;top:8px;bottom:0;left:129px;width:1px;background:#d4dee8;content:""}.history-timeline .history-era{position:relative;display:grid;grid-template-columns:130px minmax(0,1fr);gap:42px;padding:0 0 58px}.history-timeline .history-era:before{position:absolute;top:7px;left:125px;width:9px;height:9px;background:#3d73aa;border:3px solid #fff;box-shadow:0 0 0 1px #3d73aa;content:""}.history-era-year{padding-right:22px;color:#35699f;font-size:11px;font-weight:900;letter-spacing:.04em;text-align:right;text-transform:uppercase}.history-timeline .history-era h2{margin:0 0 16px;color:#1b334f;font-size:29px;letter-spacing:-.025em}.history-timeline .history-era p{margin:0 0 15px;color:#596d81;font-size:15px;line-height:1.78}.history-timeline .history-era p:last-child{margin-bottom:0}
.history-modern-values{padding:84px 0;background:#e9f0f6}.history-modern-values header{display:flex;align-items:end;justify-content:space-between;gap:40px;margin-bottom:38px}.history-modern-values h2{margin:0;color:#172e4a;font-size:clamp(36px,5vw,64px);letter-spacing:-.05em}.history-modern-values .container>div{display:grid;grid-template-columns:repeat(3,1fr);border-top:1px solid #bdccda}.history-modern-values article{position:relative;padding:30px 34px 8px 0;border-right:1px solid #bdccda}.history-modern-values article+article{padding-left:34px}.history-modern-values article>span{position:absolute;top:32px;right:26px;color:#8295a8;font-size:10px}.history-modern-values strong{display:block;color:#24486e;font-size:19px}.history-modern-values article p{color:#617487;font-size:13px;line-height:1.65}

@media(max-width:1050px){
  .member-directory-row{grid-template-columns:minmax(260px,1fr) minmax(260px,1fr)}.member-directory-row .member-directory-contact{padding-top:14px;border-top:1px solid #d9e2eb}.member-directory-location{align-self:start}
  .scholarship-modern-hero-grid{grid-template-columns:1fr;gap:42px}.scholarship-modern-visual{min-height:440px}.scholarship-modern-layout{grid-template-columns:minmax(0,1fr) 310px;gap:48px}
  .history-modern-hero-grid{grid-template-columns:1fr;gap:48px}.history-key-dates{display:grid;grid-template-columns:repeat(3,1fr)}.history-key-dates>div{grid-template-columns:1fr}.history-modern-intro-grid{grid-template-columns:150px 1fr}.history-modern-intro-grid>p:last-child{grid-column:2}.history-modern-layout{grid-template-columns:240px 1fr;gap:54px}
}
@media(max-width:760px){
  .member-directory-toolbar{align-items:flex-start;flex-direction:column;gap:4px}.member-directory-row{grid-template-columns:1fr;gap:18px;padding:20px}.member-directory-expertise,.member-directory-location{padding-top:15px;border-top:1px solid #e0e7ee}.member-directory-row .member-directory-contact{display:grid;grid-template-columns:max-content 1fr}.member-directory-row .member-directory-contact small{grid-column:1/-1}
  .scholarship-modern-hero{padding:48px 0}.scholarship-modern-hero-grid{display:block}.scholarship-modern-copy h1{font-size:48px}.scholarship-modern-visual{min-height:390px;margin-top:42px}.scholarship-graphic-mark{padding:32px}.scholarship-graphic-mark strong{font-size:46px}.scholarship-visual-note{left:20px}.scholarship-proof-strip .container{grid-template-columns:1fr}.scholarship-proof-strip article,.scholarship-proof-strip article:last-child{border-right:1px solid rgba(255,255,255,.14)}.scholarship-modern-section{padding:64px 0}.scholarship-modern-layout{grid-template-columns:1fr;gap:50px}.scholarship-modern-sidebar{position:static}.scholarship-detail-list>article{grid-template-columns:38px 1fr;gap:14px}
  .history-modern-hero{padding:64px 0}.history-modern-hero h1{font-size:64px}.history-key-dates{grid-template-columns:1fr}.history-key-dates>div{grid-template-columns:70px 1fr}.history-modern-intro{padding:48px 0}.history-modern-intro-grid{grid-template-columns:1fr;gap:20px}.history-modern-intro-grid>p:last-child{grid-column:auto}.history-modern-story{padding:62px 0}.history-modern-layout{grid-template-columns:1fr;gap:50px}.history-story-guide{position:static}.history-timeline:before{left:8px}.history-timeline .history-era{grid-template-columns:1fr;gap:12px;padding:0 0 48px 30px}.history-timeline .history-era:before{left:4px}.history-era-year{text-align:left}.history-modern-values header{align-items:flex-start;flex-direction:column}.history-modern-values .container>div{grid-template-columns:1fr}.history-modern-values article,.history-modern-values article+article{padding:24px 0;border-right:0;border-bottom:1px solid #bdccda}
  .history-photo-break{height:520px;min-height:0}.history-photo-break img{object-position:48% center}.history-photo-break figcaption{right:14px;bottom:14px;left:14px;padding:18px}
}

/* 2.3.17 — portrait member directory */
.member-directory-card-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:15px}
.member-profile-card{display:flex;min-width:0;flex-direction:column;border:1px solid #d3dde7;background:#fff;transition:border-color .18s ease,transform .18s ease,box-shadow .18s ease}.member-profile-card:hover{transform:translateY(-3px);border-color:#9db5ce;box-shadow:0 14px 30px rgba(24,48,76,.09)}
.member-profile-photo{position:relative;aspect-ratio:4/4.6;overflow:hidden;background:#e5ebf2}.member-profile-photo:after{position:absolute;inset:58% 0 0;background:linear-gradient(180deg,transparent,rgba(12,30,50,.68));content:""}.member-profile-photo img{width:100%;height:100%;object-fit:cover;object-position:center 24%;transition:transform .3s ease}.member-profile-card:hover .member-profile-photo img{transform:scale(1.025)}.member-profile-photo>span{position:absolute;z-index:1;right:14px;bottom:13px;left:14px;color:#fff;font-size:9px;font-weight:850;letter-spacing:.09em;text-transform:uppercase}
.member-profile-card-body{display:flex;flex:1;min-width:0;flex-direction:column;padding:19px}.member-profile-card-body header{min-height:61px;padding-bottom:15px;border-bottom:1px solid #e0e7ee}.member-profile-card-body h3{margin:0;color:#192f4a;font-size:20px;letter-spacing:-.02em;line-height:1.15}.member-profile-card-body header p{margin:5px 0 0;color:#697a8d;font-size:11px;line-height:1.4}
.member-profile-region,.member-profile-practice{padding-top:15px}.member-profile-region strong{display:block;color:#2f4d6f;font-size:12px;line-height:1.45}.member-profile-practice{min-height:108px}.member-profile-practice .member-area-tags{justify-content:flex-start;margin:0;gap:5px}.member-profile-practice .member-area-tag{padding:5px 7px;border:1px solid #d1dce7;background:#edf3f8;color:#385978;font-size:9px;line-height:1.25}.member-profile-practice .member-area-more{background:#fff;color:#5c7187}
.member-profile-card-body footer{display:grid;gap:7px;margin-top:auto;padding-top:17px;border-top:1px solid #e0e7ee}.member-profile-card-body .member-directory-email{justify-content:center;width:100%}.member-profile-phone{color:#466787;font-size:11px;font-weight:750;text-align:center;overflow-wrap:anywhere}

/* 2.3.17 — balanced industry support */
.editorial-sponsors{background:#f2f6fa}.editorial-sponsors .editorial-intro-split{padding-bottom:36px;border-bottom:1px solid #ced9e4}
.editorial-sponsor-summary{display:flex;align-items:center;justify-content:space-between;gap:42px;margin-top:38px;padding:22px 26px;background:#172c46;color:#fff}.editorial-sponsor-summary>div{display:flex;align-items:center;gap:13px;white-space:nowrap}.editorial-sponsor-summary strong{color:#91b5dc;font-size:34px;line-height:1}.editorial-sponsor-summary span{font-size:10px;font-weight:850;letter-spacing:.1em;text-transform:uppercase}.editorial-sponsor-summary p{max-width:640px;margin:0;color:#bdcad7;font-size:12px;line-height:1.6;text-align:right}
.editorial-sponsor-grid,.editorial-sponsor-grid.sponsor-count-5{grid-template-columns:repeat(5,minmax(0,1fr));gap:14px;margin-top:14px;border:0}.editorial-sponsor-grid .editorial-sponsor{min-height:190px;aspect-ratio:1/1.08;border:1px solid #d3dee8;background:#fff}.editorial-sponsor-grid .editorial-sponsor.has-image:after{position:absolute;z-index:1;inset:46% 0 0;background:linear-gradient(180deg,transparent,rgba(10,25,42,.86));content:""}.editorial-sponsor-grid .editorial-sponsor img{object-position:center;transition:transform .28s ease}.editorial-sponsor-grid .editorial-sponsor-name{position:absolute;z-index:2;right:0;bottom:0;left:0;display:flex;align-items:center;justify-content:space-between;padding:17px 16px;color:#fff;font-size:10px;font-weight:850;line-height:1.35;text-align:left}.editorial-sponsor-name b{font-size:14px}.editorial-sponsor-grid .editorial-sponsor:not(.has-image)>span{padding:26px;color:#29435f;font-size:15px}.editorial-sponsor-grid .editorial-sponsor:hover{background:#fff;box-shadow:0 14px 32px rgba(23,44,70,.11)}

@media(max-width:1150px){
  .member-directory-card-grid{grid-template-columns:repeat(3,minmax(0,1fr))}
  .editorial-sponsor-grid,.editorial-sponsor-grid.sponsor-count-5{grid-template-columns:repeat(3,minmax(0,1fr))}.editorial-sponsor-grid .editorial-sponsor{aspect-ratio:1.35/1}
}
@media(max-width:820px){
  .member-directory-card-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
  .editorial-sponsor-summary{align-items:flex-start;flex-direction:column;gap:14px}.editorial-sponsor-summary p{text-align:left}.editorial-sponsor-grid,.editorial-sponsor-grid.sponsor-count-5{grid-template-columns:repeat(2,minmax(0,1fr))}.editorial-sponsor-grid .editorial-sponsor{aspect-ratio:1.2/1}
}
@media(max-width:520px){
  .member-directory-card-grid{grid-template-columns:1fr}.member-profile-photo{aspect-ratio:4/4.2}.member-profile-practice{min-height:0;padding-bottom:18px}
  .editorial-sponsor-summary{padding:20px}.editorial-sponsor-grid,.editorial-sponsor-grid.sponsor-count-5{grid-template-columns:1fr}.editorial-sponsor-grid .editorial-sponsor{min-height:230px;aspect-ratio:1.4/1}
}
@media(prefers-reduced-motion:reduce){.member-profile-card,.member-profile-photo img{transition:none}.member-profile-card:hover{transform:none}.member-profile-card:hover .member-profile-photo img{transform:none}}
.sidebar-brand.has-logo{display:grid;gap:8px;justify-items:start}.sidebar-brand-context{color:#a9c2d4;font-size:11px;font-weight:750;text-transform:uppercase;letter-spacing:.1em}

/* --------------------------------------------------------------------------
   NZEIA 1.5 membership ID, seven-day calendars and Zoom details
   -------------------------------------------------------------------------- */
input[readonly],input:disabled{background:#f3f6f8;color:#53636d;cursor:not-allowed;opacity:1}

.public-calendar-section{padding:46px 0;background:var(--surface-soft);border-bottom:1px solid var(--line)}
.seven-day-calendar{padding:24px;overflow:hidden}
.week-calendar-header{display:flex;align-items:flex-start;justify-content:space-between;gap:20px;margin-bottom:20px}
.week-calendar-header h2{margin:0 0 6px;font-size:28px;line-height:1.15;letter-spacing:-.025em}
.week-calendar-header p:last-child{margin:0;color:var(--muted)}
.week-calendar-days{display:grid;grid-template-columns:repeat(7,minmax(0,1fr));gap:10px}
.week-calendar-day{display:grid;justify-items:center;align-content:center;min-height:126px;padding:13px 8px;border:1px solid var(--line);border-radius:14px;background:#fff;color:var(--text);transition:transform .18s ease,border-color .18s ease,box-shadow .18s ease,background .18s ease}
.week-calendar-day:hover{transform:translateY(-2px);border-color:#9fc8e5;box-shadow:0 12px 24px rgba(61,99,153,.09)}
.week-calendar-day.is-today{border-color:#82b8de;background:var(--brand-soft)}
.week-calendar-day.is-selected{border-color:var(--brand);background:var(--brand);color:#fff;box-shadow:0 14px 28px rgba(61,99,153,.22)}
.week-day-name{font-size:11px;font-weight:850;letter-spacing:.1em;text-transform:uppercase;color:var(--muted)}
.week-calendar-day strong{font-size:30px;line-height:1;margin:6px 0 2px}
.week-day-month{font-size:12px;font-weight:750}
.week-event-count{margin-top:9px;padding:4px 7px;border-radius:999px;background:var(--surface-soft);color:var(--muted);font-size:10px;font-weight:800;white-space:nowrap}
.week-calendar-day.is-selected .week-day-name,.week-calendar-day.is-selected .week-event-count{color:#fff}
.week-calendar-day.is-selected .week-event-count{background:rgba(255,255,255,.17)}
.event-filter-heading{display:flex;align-items:center;justify-content:space-between;gap:18px;margin:22px 0}
.event-filter-heading h2{margin:0;font-size:28px}
.public-event-filter-heading{margin:0 0 -24px}

.zoom-details{margin:20px 0;padding:18px;border:1px solid #b9d6ea;border-radius:14px;background:var(--brand-soft);color:var(--text)}
.zoom-details-heading{display:flex;align-items:center;gap:9px;margin-bottom:12px;color:var(--brand-dark)}
.zoom-details-heading>span{display:grid;place-items:center;width:26px;height:26px;border-radius:50%;background:var(--brand);color:#fff;font-size:11px}
.zoom-details dl{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;margin:0 0 13px}
.zoom-details dl>div{padding:10px 12px;border:1px solid rgba(61,99,153,.18);border-radius:10px;background:#fff}
.zoom-details dt{color:var(--muted);font-size:10px;font-weight:850;letter-spacing:.08em;text-transform:uppercase}
.zoom-details dd{margin:3px 0 0;font-weight:800;overflow-wrap:anywhere}
.zoom-notes{margin:0 0 14px;color:#405a6b;line-height:1.55}
.zoom-details-locked{background:#f7f9fa;border-color:var(--line)}
.zoom-details-locked .zoom-details-heading{color:#52646f}.zoom-details-locked .zoom-details-heading>span{background:#71828c}
.zoom-details-locked p{margin:0 0 13px;color:var(--muted)}
.public-zoom-details{max-width:620px}

@media(max-width:900px){
  .week-calendar-days{grid-template-columns:repeat(4,minmax(0,1fr))}
  .week-calendar-day{min-height:112px}
}
@media(max-width:640px){
  .public-calendar-section{padding:30px 0}
  .seven-day-calendar{padding:16px}
  .week-calendar-header{display:grid}
  .week-calendar-header .btn{justify-self:start}
  .week-calendar-days{display:flex;overflow-x:auto;padding-bottom:6px;scroll-snap-type:x mandatory}
  .week-calendar-day{flex:0 0 105px;min-height:112px;scroll-snap-align:start}
  .event-filter-heading{align-items:flex-start;flex-direction:column}
  .public-event-filter-heading{margin-bottom:-10px}
  .zoom-details dl{grid-template-columns:1fr}
}

/* --------------------------------------------------------------------------
   NZEIA 1.6 homepage section definition
   -------------------------------------------------------------------------- */
.home-section{
  position:relative;
  padding:104px 0;
  border-top:1px solid var(--line);
  isolation:isolate;
}
.home-section::after{
  content:"";
  position:absolute;
  inset:0;
  z-index:-1;
  pointer-events:none;
}
.home-section-about{background:#fff}
.home-section-membership{background:#f4f8fb}
.home-section-sponsors{background:#fff}
.home-section-contact{background:#edf2f8}
.home-section .section-heading{position:relative;padding-top:0}
.home-section .section-heading::before{content:none;display:none}
.home-section .section-heading h2{max-width:720px}
.home-section-membership .plan-card,
.home-section-contact .card{box-shadow:0 18px 44px rgba(45,73,112,.07)}
.home-section-sponsors .sponsor-card{box-shadow:0 10px 26px rgba(45,73,112,.045)}
.home-section-contact .contact-detail{background:rgba(255,255,255,.78);border:1px solid #d7e4ed;border-left:4px solid var(--brand);border-radius:12px}

@media(max-width:720px){
  .home-section{padding:72px 0}
}

/* --------------------------------------------------------------------------
   NZEIA 1.7 layout foundation, full-width About, history and structure refresh
   -------------------------------------------------------------------------- */
.public-header{
  box-shadow:0 8px 28px rgba(29,46,71,.055);
}
.public-nav>a:not(.btn){position:relative}
.public-nav>a:not(.btn)::after{
  content:"";
  position:absolute;
  left:0;
  right:100%;
  bottom:-8px;
  height:3px;
  border-radius:999px;
  background:linear-gradient(90deg,var(--brand-bright),var(--accent));
  transition:right .2s ease;
}
.public-nav>a:not(.btn):hover::after{right:0}
.hero{background:var(--brand-dark)}
.hero-slide{background:linear-gradient(125deg,var(--brand-dark),var(--brand) 58%,var(--brand-bright-dark))}
.hero-content .eyebrow{color:#dbe9fb}
.hero-dot.active{background:var(--brand-bright);box-shadow:0 0 0 4px rgba(255,255,255,.18)}
.page-hero,.directory-hero{
  background:linear-gradient(135deg,#edf3fb 0%,#fff 58%,#e7eef8 100%);
}
.page-hero::after,.directory-hero::after{background:rgba(94,152,235,.12)}
.home-section .section-heading::before{content:none;display:none}
.home-section-membership{background:linear-gradient(180deg,#f2f8fb 0%,#eaf4f8 100%)}
.home-section-contact{background:linear-gradient(145deg,#e7f3f8 0%,#f4f9fb 100%)}
.plan-card.featured{border-color:rgba(94,152,235,.45);box-shadow:0 22px 50px rgba(29,46,71,.12)}
.plan-card.featured::before{content:none;display:none}

/* About content is intentionally one full-width reading area. */
.about-full{display:grid;gap:30px}
.about-heading{max-width:900px;margin-bottom:0}
.about-copy{max-width:980px;font-size:18px;line-height:1.8;color:#344b58}
.about-copy p{max-width:980px}
.principles-wide{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:18px;margin-top:12px}
.principles-wide .principle{
  min-height:180px;
  padding:28px;
  border:1px solid #d7e7ee;
  border-top:5px solid var(--brand-bright);
  border-radius:18px;
  background:linear-gradient(155deg,#fff 0%,#f5fbfd 100%);
  box-shadow:0 14px 32px rgba(29,46,71,.06);
}
.principles-wide .principle:nth-child(2){border-top-color:var(--brand)}
.principles-wide .principle:nth-child(3){border-top-color:var(--accent)}
.principles-wide .principle strong{font-size:24px;color:var(--brand-dark)}
.principles-wide .principle span{font-size:15px;line-height:1.65;color:var(--muted)}

/* All three structure areas use the same people-card language. */
.structure-section{background:linear-gradient(180deg,#edf5f8 0%,#f7fafb 100%)}
.structure-page{gap:36px}
.structure-tier{
  position:relative;
  overflow:hidden;
  padding:36px;
  border:1px solid #d7e1ee;
  background:#fff;
}
.structure-tier-regional{background:#fff}
.structure-tier-education{background:#fff}
.structure-tier::after,
.structure-tier-regional::after,
.structure-tier-education::after{content:none;display:none}
.structure-tier-heading{position:relative;z-index:1}
.structure-section-groups{position:relative;z-index:1;grid-template-columns:repeat(3,minmax(0,1fr));gap:18px}
.structure-section-groups.is-single{grid-template-columns:1fr}
.structure-group-card{height:100%;border-color:#d8e5eb;box-shadow:0 10px 28px rgba(29,46,71,.045)}
.position-grid{grid-template-columns:1fr}
.structure-section-groups.is-single .position-grid{grid-template-columns:repeat(auto-fit,minmax(220px,1fr))}
.position-card{height:100%;background:linear-gradient(150deg,#fff,#f3f9fb);transition:transform .18s ease,border-color .18s ease,box-shadow .18s ease}
.position-card:hover{transform:translateY(-2px);border-color:#a9dced;box-shadow:0 12px 25px rgba(29,46,71,.08)}
.position-initials{background:linear-gradient(135deg,var(--brand),var(--brand-bright-dark));box-shadow:0 8px 18px rgba(29,46,71,.16)}

/* Editable public History page. */
.history-hero::before{content:none;display:none}
.history-section{background:linear-gradient(180deg,#fff 0%,#eef6f9 100%)}
.history-container{display:grid;gap:28px;max-width:1040px}
.history-panel{
  position:relative;
  overflow:hidden;
  padding:clamp(30px,5vw,62px);
  border:1px solid #d7e6ec;
  border-radius:26px;
  background:#fff;
  box-shadow:0 22px 55px rgba(29,46,71,.08);
}
.history-panel::after{content:none;display:none}
.history-emblem{position:relative;z-index:1;display:flex;align-items:center;gap:12px;margin-bottom:34px}
.history-emblem span{display:grid;place-items:center;min-width:72px;height:34px;padding:0 12px;border-radius:999px;background:var(--brand-dark);color:#fff;font-size:11px;font-weight:900;letter-spacing:.12em}
.history-emblem strong{color:var(--brand);font-size:14px;text-transform:uppercase;letter-spacing:.1em}
.history-content{position:relative;z-index:1;font-size:17px;line-height:1.8;color:#344b58}
.history-content h2{margin-top:42px;font-size:clamp(26px,3.5vw,38px);color:var(--brand-dark)}
.history-content h3{margin-top:30px;color:var(--brand)}
.history-content ul{padding-left:22px}
.history-actions{position:relative;z-index:1;margin-top:30px}
.history-principles{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:18px}
.history-principles article{padding:25px;border:1px solid #d7e6ec;border-radius:18px;background:#fff;box-shadow:0 10px 25px rgba(29,46,71,.045)}
.history-principles span{display:block;color:var(--brand-bright-dark);font-size:12px;font-weight:900;letter-spacing:.12em}
.history-principles strong{display:block;margin:8px 0 7px;color:var(--brand-dark);font-size:22px}
.history-principles p{margin:0;color:var(--muted);line-height:1.6}

/* Larger white footer logo on the dark footer. */
.public-footer{
  background:linear-gradient(145deg,#1D2E47 0%,#2D4970 52%,#3D6399 125%);
}
.footer-about{max-width:470px}
.footer-logo{margin-bottom:26px}
.footer-logo.has-logo img{
  width:auto;
  height:106px;
  max-width:350px;
  object-fit:contain;
  filter:brightness(0) invert(1);
  opacity:.98;
}
.footer-socials a>span:first-child{color:var(--brand-dark)}
.footer-bottom b{color:var(--brand-bright)}

@media(max-width:1100px){
  .structure-section-groups{grid-template-columns:repeat(2,minmax(0,1fr))}
  .structure-section-groups.is-single{grid-template-columns:1fr}
}
@media(max-width:820px){
  .principles-wide,.history-principles{grid-template-columns:1fr}
  .structure-section-groups,.structure-section-groups.is-single{grid-template-columns:1fr}
  .structure-section-groups.is-single .position-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
}
@media(max-width:720px){
  .about-copy{font-size:16px}
  .footer-logo.has-logo img{height:88px;max-width:290px}
  .structure-tier{padding:24px}
}
@media(max-width:560px){
  .structure-section-groups.is-single .position-grid{grid-template-columns:1fr}
  .history-panel{padding:28px 22px}
  .footer-logo.has-logo img{height:78px;max-width:255px}
}

/* --------------------------------------------------------------------------
   NZEIA 1.8 refined blue palette and simplified decoration
   Palette: #4B7ABC, #3D6399, #2D4970, #1D2E47, #5E98EB
   -------------------------------------------------------------------------- */

/* Use the selected palette consistently across public, member and admin areas. */
:root{
  --bg:#f3f6fb;
  --surface:#ffffff;
  --surface-soft:#f7f9fc;
  --text:#1D2E47;
  --muted:#607087;
  --line:#dbe4f0;
  --brand:#3D6399;
  --brand-dark:#1D2E47;
  --brand-bright:#5E98EB;
  --brand-bright-dark:#4B7ABC;
  --brand-soft:#edf3fb;
  --accent:#2D4970;
  --shadow:0 18px 50px rgba(29,46,71,.10);
}

body{background:var(--bg)}
.public-body{background:#fff}

.btn-primary{
  background:linear-gradient(135deg,#4B7ABC 0%,#3D6399 48%,#2D4970 100%);
  box-shadow:0 11px 24px rgba(45,73,112,.20);
}
.btn-primary:hover{
  background:linear-gradient(135deg,#3D6399 0%,#2D4970 55%,#1D2E47 100%);
  box-shadow:0 15px 30px rgba(29,46,71,.24);
}
input:focus,select:focus,textarea:focus{
  border-color:#5E98EB;
  box-shadow:0 0 0 3px rgba(94,152,235,.20);
}

.public-header{box-shadow:0 8px 28px rgba(29,46,71,.07)}
.public-nav>a:not(.btn)::after{background:#5E98EB}
.hero{background:#1D2E47}
.hero-slide{background:linear-gradient(125deg,#1D2E47 0%,#2D4970 52%,#3D6399 100%)}
.hero-content .eyebrow{color:#dbe9fb}
.hero-dot.active{background:#5E98EB}

/* Clean page heroes: no circular corner decorations. */
.page-hero,.directory-hero{
  background:linear-gradient(135deg,#edf3fb 0%,#ffffff 58%,#e5edf8 100%);
}
.page-hero::after,.directory-hero::after{
  content:none!important;
  display:none!important;
}

/* Remove the short decorative line above section headings. */
.home-section .section-heading{padding-top:0}
.home-section .section-heading::before{
  content:none!important;
  display:none!important;
}

.home-section-about{background:#ffffff}
.home-section-membership{background:linear-gradient(180deg,#f4f7fc 0%,#eaf0f8 100%)}
.home-section-sponsors{background:#ffffff}
.home-section-contact{background:linear-gradient(145deg,#e8eef7 0%,#f6f8fc 100%)}

/* Cards use colour through borders, type and hover states instead of top lines. */
.principles-wide .principle{
  border:1px solid #d5e0ee;
  border-top-width:1px;
  background:linear-gradient(155deg,#ffffff 0%,#f3f6fb 100%);
}
.principles-wide .principle:nth-child(2),
.principles-wide .principle:nth-child(3){border-top-color:#d5e0ee}
.plan-card.featured{border-color:#9db9dd;box-shadow:0 22px 50px rgba(45,73,112,.14)}
.plan-card.featured::before{content:none!important;display:none!important}

/* Structure cards stay consistent without coloured strips or corner bubbles. */
.structure-section{background:linear-gradient(180deg,#edf2f8 0%,#f7f9fc 100%)}
.structure-tier,
.structure-tier-regional,
.structure-tier-education{
  border:1px solid #d7e1ee;
  border-top-width:1px;
  background:#ffffff;
}
.structure-tier::after,
.structure-tier-regional::after,
.structure-tier-education::after{
  content:none!important;
  display:none!important;
}
.position-card{background:linear-gradient(150deg,#ffffff,#f3f6fb)}
.position-card:hover{border-color:#9db9dd;box-shadow:0 12px 25px rgba(45,73,112,.10)}
.position-initials{background:linear-gradient(135deg,#4B7ABC,#2D4970);box-shadow:0 8px 18px rgba(45,73,112,.18)}

/* History remains visually strong without circular corner artwork. */
.history-hero::before,
.history-panel::after{
  content:none!important;
  display:none!important;
}
.history-section{background:linear-gradient(180deg,#ffffff 0%,#edf2f8 100%)}
.history-panel{border-color:#d7e1ee;box-shadow:0 22px 55px rgba(45,73,112,.10)}
.history-emblem span{background:#1D2E47}
.history-principles article{border-color:#d7e1ee;box-shadow:0 10px 25px rgba(45,73,112,.06)}

/* Flat geometric footer gradient: no radial bubble in the corner. */
.public-footer{
  background:linear-gradient(135deg,#1D2E47 0%,#2D4970 56%,#3D6399 125%);
}
.footer-bottom b{color:#5E98EB}
.footer-socials a>span:first-child{color:#2D4970}

.auth-body{background:linear-gradient(135deg,#edf3fb 0%,#f8fafc 52%,#e8eef7 100%)}
.sidebar{background:linear-gradient(180deg,#1D2E47 0%,#2D4970 100%)}
.topbar-kicker{color:#3D6399}

.scholarship-hero{background:linear-gradient(135deg,#edf3fb,#ffffff 62%,#e4edf9)}
.scholarship-card.featured{border-color:#9db9dd;background:linear-gradient(150deg,#ffffff,#edf3fb)}
.scholarship-apply-card{background:linear-gradient(145deg,#1D2E47,#2D4970);box-shadow:0 22px 52px rgba(29,46,71,.24)}
.scholarship-apply-card .eyebrow{color:#d3e3f8}
.public-event-placeholder{background:linear-gradient(135deg,#2D4970,#1D2E47)}

/* Keep contrast strong while using the palette for interactive states. */
.member-card:hover{border-color:#9db9dd;box-shadow:0 18px 38px rgba(61,99,153,.13)}
.contact-detail{border-left-color:#4B7ABC}
.rich-text a,.auth-links a{color:#3D6399}


/* Larger white NZEIA logo in both member and administration side menus. */
.sidebar-brand.has-logo{
  display:grid;
  width:100%;
  gap:10px;
  justify-items:center;
  text-align:center;
  padding:4px 8px 26px;
}
.sidebar-brand.has-logo img{
  width:auto;
  height:96px;
  max-width:210px;
  object-fit:contain;
  filter:brightness(0) invert(1);
  opacity:1;
}
.sidebar-brand.has-logo .sidebar-brand-context{
  color:#dbe5f3;
  text-align:center;
}

@media(max-width:720px){
  .sidebar-brand.has-logo img{height:88px;max-width:195px}
}

/* --------------------------------------------------------------------------
   NZEIA 1.9.0 — CPD, contact layout, full-width alerts and directory photos
   -------------------------------------------------------------------------- */

/* Flash notices stay above every layout, span the browser width and close after 12 seconds. */
.toast-stack{
  position:fixed;
  inset:0 0 auto 0;
  z-index:3000;
  width:100%;
  display:grid;
  gap:0;
  pointer-events:none;
}
.toast-stack .toast-alert{
  position:relative;
  inset:auto;
  width:100%;
  max-width:none;
  transform:none;
  margin:0;
  padding:15px clamp(64px,8vw,112px) 15px clamp(18px,4vw,64px);
  border-width:0 0 1px;
  border-radius:0;
  box-shadow:0 8px 24px rgba(29,46,71,.14);
  text-align:center;
  pointer-events:auto;
}
.alert-close{
  position:absolute;
  top:50%;
  right:clamp(14px,3vw,42px);
  display:grid;
  place-items:center;
  width:34px;
  height:34px;
  padding:0;
  border:1px solid currentColor;
  background:rgba(255,255,255,.38);
  color:inherit;
  font:inherit;
  font-size:24px;
  font-weight:500;
  line-height:1;
  transform:translateY(-50%);
  cursor:pointer;
  opacity:.82;
}
.alert-close:hover{background:rgba(255,255,255,.7);opacity:1}
.alert-close:focus-visible{outline:3px solid currentColor;outline-offset:2px;opacity:1}
.alert.is-hiding:not(.toast-alert){
  max-height:0;
  margin-top:0;
  margin-bottom:0;
  padding-top:0;
  padding-bottom:0;
  border-width:0;
  opacity:0;
  overflow:hidden;
  transition:opacity .3s ease,max-height .45s ease,padding .45s ease,margin .45s ease,border-width .45s ease;
}
.toast-stack .toast-alert.is-hiding{
  opacity:0;
  transform:translateY(-100%);
  transition:opacity .45s ease,transform .45s ease;
}

/* Contact details stay concise, while the form sits comfortably in the centre. */
.contact-shell{max-width:980px}
.contact-heading{max-width:760px;margin:0 auto 28px;text-align:center}
.contact-heading .rich-text{max-width:720px;margin-inline:auto}
.contact-meta-row{
  max-width:820px;
  margin:0 auto 22px;
  display:grid;
  grid-template-columns:repeat(2,minmax(0,1fr));
  gap:14px;
}
.contact-meta-row .contact-detail{
  border:1px solid var(--line);
  border-left:4px solid var(--brand);
  border-radius:14px;
  background:#fff;
  text-align:left;
}
.contact-form-card{
  width:min(100%,780px);
  margin:0 auto;
  padding:clamp(24px,4vw,38px);
  box-shadow:0 20px 50px rgba(45,73,112,.10);
}
.contact-form-actions{display:flex;justify-content:center;padding-top:4px}
.contact-form-actions .btn{min-width:190px}

/* Larger square profile images for both public and member directory results. */
.member-card{
  min-height:330px;
  padding:28px 22px 24px;
  gap:17px;
}
.member-card img,.member-card>.member-avatar{
  width:164px;
  height:164px;
  flex:0 0 164px;
  border-radius:8px;
  object-fit:cover;
}
.member-card>.member-avatar{font-size:38px}
.member-card h3{font-size:21px}

/* CPD administration and member-profile presentation. */
.cpd-stats{grid-template-columns:repeat(3,minmax(0,1fr))}
.cpd-admin-grid{grid-template-columns:minmax(0,1fr) minmax(0,1fr)}
.cpd-activity-list .list-row{align-items:flex-start}
.cpd-activity-list .list-row.is-selected{
  margin-inline:-12px;
  padding-inline:12px;
  border-radius:12px;
  background:var(--brand-soft);
}
.cpd-bulk-tools{
  display:flex;
  align-items:end;
  justify-content:space-between;
  gap:16px;
  flex-wrap:wrap;
}
.cpd-member-filter{width:min(100%,440px)}
.cpd-check-column{width:76px}
.cpd-member-table input[type="checkbox"]{width:20px;height:20px}
.table-subtext{display:block;margin-top:3px;color:var(--muted)}
.form-note{margin:0;color:var(--muted);font-size:13px;line-height:1.55}
.event-card-topline{display:flex;justify-content:space-between;align-items:center;gap:10px;flex-wrap:wrap}
.cpd-profile-card .card-header{align-items:center}
.cpd-total-badge{
  min-width:112px;
  padding:12px 16px;
  border:1px solid #b9d6ea;
  border-radius:14px;
  background:var(--brand-soft);
  text-align:center;
}
.cpd-total-badge strong{display:block;color:var(--brand-dark);font-size:28px;line-height:1}
.cpd-total-badge span{display:block;margin-top:5px;color:var(--muted);font-size:11px;text-transform:uppercase;letter-spacing:.06em;font-weight:800}
.cpd-profile-list{display:grid}
.cpd-profile-row{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:18px;
  padding:14px 0;
  border-bottom:1px solid var(--line);
}
.cpd-profile-row:last-child{border-bottom:0}
.cpd-profile-row strong,.cpd-profile-row small{display:block}
.cpd-profile-row small{margin-top:3px;color:var(--muted)}
.cpd-profile-row>span{white-space:nowrap;font-weight:850;color:var(--brand-dark)}
.empty-state.compact{padding:22px}

@media(max-width:1050px){
  .cpd-admin-grid{grid-template-columns:1fr}
}
@media(max-width:720px){
  .contact-meta-row{grid-template-columns:1fr}
  .cpd-stats{grid-template-columns:1fr}
  .cpd-profile-card .card-header{align-items:flex-start}
  .cpd-total-badge{width:100%}
}
@media(max-width:480px){
  .member-card{min-height:292px}
  .member-card img,.member-card>.member-avatar{
    width:140px;
    height:140px;
    flex-basis:140px;
    border-radius:7px;
  }
  .cpd-profile-row{align-items:flex-start;flex-direction:column;gap:7px}
}


/* --------------------------------------------------------------------------
   NZEIA 2.0.0 — Flexible member document library
   -------------------------------------------------------------------------- */
.document-admin-intro{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:24px;
  margin-bottom:20px;
  background:linear-gradient(135deg,#fff 0%,var(--brand-soft) 100%);
}
.document-admin-intro h2{margin:0 0 7px;font-size:28px;letter-spacing:-.025em}
.document-admin-intro p:last-child{max-width:760px;margin:0}
.document-admin-grid{margin-bottom:20px}
.category-management{margin-bottom:20px;scroll-margin-top:24px}
.category-editor-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px}
.category-editor-card{
  display:grid;
  gap:17px;
  align-content:start;
  padding:19px;
  border:1px solid var(--line);
  border-radius:16px;
  background:#fff;
  box-shadow:0 8px 22px rgba(29,46,71,.035);
}
.category-editor-card.is-inactive{background:var(--surface-soft);opacity:.88}
.category-editor-summary{display:grid;grid-template-columns:46px minmax(0,1fr) auto;gap:12px;align-items:center}
.category-editor-summary strong{display:block;font-size:16px;line-height:1.25}
.category-editor-summary small{display:block;margin-top:3px;color:var(--muted);font-size:12px}
.category-icon,.document-category-icon,.document-library-heading-icon{
  display:grid;
  place-items:center;
  color:#fff;
  background:linear-gradient(135deg,var(--brand),var(--brand-bright));
  box-shadow:0 9px 20px rgba(61,99,153,.19);
}
.category-icon{width:46px;height:46px;border-radius:13px;font-size:20px}
.compact-form{gap:13px}
.compact-form textarea{min-height:92px}
.document-admin-list{display:grid;gap:12px}
.document-admin-item{border:1px solid var(--line);border-radius:14px;background:#fff;overflow:hidden}
.document-admin-item>summary{
  display:grid;
  grid-template-columns:46px minmax(0,1fr) auto;
  align-items:center;
  gap:13px;
  padding:15px 17px;
  cursor:pointer;
  list-style:none;
  background:var(--surface-soft);
}
.document-admin-item>summary::-webkit-details-marker{display:none}
.document-admin-item>summary strong,.document-admin-item>summary small{display:block}
.document-admin-item>summary small{margin-top:3px;color:var(--muted);font-size:12px}
.document-admin-item-body{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:20px;align-items:end;padding:20px;border-top:1px solid var(--line)}
.document-library-heading{
  display:grid;
  grid-template-columns:72px minmax(0,1fr) auto;
  gap:19px;
  align-items:center;
  margin-bottom:20px;
  background:linear-gradient(135deg,#fff 0%,var(--brand-soft) 100%);
}
.document-library-heading h2{margin:0 0 5px;font-size:30px;letter-spacing:-.03em}
.document-library-heading p{margin:0}
.document-library-heading-icon{width:72px;height:72px;border-radius:19px;font-size:29px}
.document-card{display:flex;flex-direction:column;min-height:260px}
.document-card h3{line-height:1.25}
.document-card-actions{margin-top:auto;padding-top:18px}
.member-profile-links{grid-template-columns:repeat(2,minmax(0,1fr));max-width:760px}
.member-library-section{margin-top:20px}
.document-category-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px}
.document-category-card{
  display:grid;
  grid-template-columns:54px minmax(0,1fr) auto;
  align-items:center;
  gap:14px;
  min-height:92px;
  padding:17px;
  border:1px solid var(--line);
  border-radius:15px;
  background:#fff;
  transition:transform .18s ease,border-color .18s ease,box-shadow .18s ease;
}
.document-category-card:hover{transform:translateY(-2px);border-color:#adc6e8;box-shadow:0 13px 28px rgba(45,73,112,.09)}
.document-category-icon{width:54px;height:54px;border-radius:15px;font-size:22px}
.document-category-copy{min-width:0}
.document-category-copy strong{display:block;font-size:16px;line-height:1.25}
.document-category-copy small{display:block;margin-top:4px;color:var(--muted);font-size:12px;line-height:1.4}
.document-category-count{
  display:grid;
  place-items:center;
  min-width:34px;
  height:34px;
  padding:0 8px;
  border-radius:999px;
  color:var(--brand-dark);
  background:var(--brand-soft);
  font-weight:850;
}
.side-nav a{min-width:0}
.side-nav a span+*{min-width:0}

@media(max-width:1050px){
  .category-editor-grid{grid-template-columns:1fr}
}
@media(max-width:720px){
  .document-admin-intro{align-items:flex-start;flex-direction:column}
  .document-admin-item-body{grid-template-columns:1fr}
  .document-library-heading{grid-template-columns:58px minmax(0,1fr)}
  .document-library-heading>.badge{grid-column:1/-1;justify-self:start}
  .document-library-heading-icon{width:58px;height:58px;border-radius:16px;font-size:24px}
  .document-category-grid{grid-template-columns:1fr}
  .member-profile-links{grid-template-columns:1fr 1fr}
}
@media(max-width:480px){
  .category-editor-summary,.document-admin-item>summary{grid-template-columns:42px minmax(0,1fr)}
  .category-editor-summary>.badge,.document-admin-item>summary>.badge{grid-column:2;justify-self:start}
  .category-icon{width:42px;height:42px}
  .document-category-card{grid-template-columns:48px minmax(0,1fr) auto;padding:14px}
  .document-category-icon{width:48px;height:48px}
  .member-profile-links{grid-template-columns:1fr}
}

/* --------------------------------------------------------------------------
   NZEIA 2.0.1 — Extra-large member directory photographs
   -------------------------------------------------------------------------- */
.member-card{
  min-height:420px;
  padding:32px 24px 26px;
  gap:20px;
}
.member-card img,
.member-card>.member-avatar{
  width:min(100%,240px);
  height:auto;
  aspect-ratio:1 / 1;
  flex:0 0 auto;
  border:6px solid #fff;
  border-radius:10px;
  object-fit:cover;
  box-shadow:0 0 0 1px var(--line),0 16px 34px rgba(45,73,112,.16);
}
.member-card>.member-avatar{
  display:grid;
  place-items:center;
  font-size:54px;
}
.member-card h3{
  margin-top:0;
  font-size:23px;
}

@media(max-width:1050px){
  .member-card{min-height:400px}
  .member-card img,
  .member-card>.member-avatar{width:min(100%,220px)}
}

@media(max-width:640px){
  .member-card{min-height:auto;padding:28px 20px 24px}
  .member-card img,
  .member-card>.member-avatar{width:min(100%,230px)}
}

@media(max-width:480px){
  .member-card img,
  .member-card>.member-avatar{
    width:min(100%,200px);
    height:auto;
    flex-basis:auto;
    border-radius:9px;
  }
  .member-card>.member-avatar{font-size:46px}
}

/* --------------------------------------------------------------------------
   NZEIA 2.0.3 — Public inspector practising-area details
   -------------------------------------------------------------------------- */
.member-practice-areas{
  width:100%;
  margin-top:17px;
  padding-top:15px;
  border-top:1px solid var(--line);
}
.member-card-label{
  display:block;
  margin-bottom:9px;
  color:var(--muted);
  font-size:11px;
  font-weight:850;
  letter-spacing:.085em;
  line-height:1.2;
  text-transform:uppercase;
}
.member-area-tags{
  display:flex;
  flex-wrap:wrap;
  justify-content:center;
  gap:7px;
}
.member-area-tag{
  display:inline-flex;
  align-items:center;
  min-height:30px;
  padding:6px 10px;
  border:1px solid #c9d9ee;
  border-radius:8px;
  background:var(--brand-soft);
  color:var(--brand-dark);
  font-size:12px;
  font-weight:750;
  line-height:1.25;
  text-align:center;
}



/* --------------------------------------------------------------------------
   NZEIA 2.0.4 — optional homepage photography
   -------------------------------------------------------------------------- */
.about-feature-media{
  width:100%;
  margin:2px 0 4px;
  aspect-ratio:16 / 7;
  min-height:300px;
  overflow:hidden;
  border:1px solid var(--line);
  border-radius:22px;
  background:var(--surface-soft);
  box-shadow:0 22px 54px rgba(29,46,71,.12);
}
.about-feature-media img{
  display:block;
  width:100%;
  height:100%;
  object-fit:cover;
}
.current-image-wide img{
  width:min(100%,760px);
  max-height:360px;
  object-fit:cover;
}
@media(max-width:720px){
  .about-feature-media{
    aspect-ratio:4 / 3;
    min-height:0;
    border-radius:16px;
  }
}

/* --------------------------------------------------------------------------
   NZEIA 2.1.0 — bold editorial layout inspired by modern NZ product sites
   -------------------------------------------------------------------------- */
:root{
  --bg:#eef3f8;
  --surface:#ffffff;
  --surface-soft:#f3f6fa;
  --text:#17283d;
  --muted:#5b6d82;
  --line:#d6e0ec;
  --brand:#3D6399;
  --brand-dark:#1D2E47;
  --brand-bright:#5E98EB;
  --brand-bright-dark:#4B7ABC;
  --brand-soft:#eaf1fb;
  --accent:#2D4970;
  --shadow:0 28px 80px rgba(29,46,71,.12);
  --radius:26px;
  --radius-sm:14px;
  --container:1240px;
}
body{font-size:16px;line-height:1.62;letter-spacing:-.006em}
h1,h2,h3,h4,strong{letter-spacing:-.025em}
.container{width:min(calc(100% - 48px),var(--container))}
.section-gap-top{margin-top:20px!important}
.section-gap-bottom{margin-bottom:20px!important}
.form-container{max-width:900px}
.sidebar-logout-form{margin:0}
.sidebar-logout-button{appearance:none;border:0;background:transparent;color:#d3e1ec;padding:0;font:inherit;cursor:pointer;text-align:left}
.sidebar-logout-button:hover{color:#fff}
.hero-overlay.overlay-20{opacity:.2}.hero-overlay.overlay-30{opacity:.3}.hero-overlay.overlay-40{opacity:.4}
.hero-overlay.overlay-50{opacity:.5}.hero-overlay.overlay-60{opacity:.6}.hero-overlay.overlay-70{opacity:.7}
.hero-overlay.overlay-80{opacity:.8}.hero-overlay.overlay-90{opacity:.9}

.btn{min-height:48px;border-radius:14px;padding:13px 20px;font-weight:800;letter-spacing:-.01em}
.btn-small{min-height:38px;padding:8px 13px;border-radius:11px}
.btn-primary{background:var(--brand-bright);box-shadow:none}
.btn-primary:hover{background:var(--brand-bright-dark);box-shadow:0 14px 34px rgba(61,99,153,.24)}
.btn-outline{border-color:#bfd0e3;background:rgba(255,255,255,.65)}
.card{border-color:#d9e3ee;border-radius:22px;box-shadow:0 14px 45px rgba(29,46,71,.055)}
.card-pad{padding:30px}

/* Public navigation and hero */
.public-header{background:rgba(255,255,255,.96);border-bottom:0;box-shadow:0 1px 0 rgba(29,46,71,.08)}
.header-inner{min-height:92px}
.public-brand.has-logo img{height:62px;max-width:245px}
.public-nav{gap:27px;font-size:14px}
.public-nav>a:not(.btn){position:relative;padding:12px 0}
.public-nav>a:not(.btn)::after{content:"";position:absolute;left:0;right:100%;bottom:6px;height:2px;background:var(--brand-bright);transition:right .2s ease}
.public-nav>a:not(.btn):hover::after{right:0}
.hero{min-height:calc(100svh - 92px);max-height:900px;background:var(--brand-dark)}
.hero-slide{align-items:center;background:linear-gradient(120deg,#1D2E47,#3D6399)}
.hero-overlay{background:linear-gradient(90deg,rgba(10,24,39,.96) 0%,rgba(21,42,66,.72) 48%,rgba(21,42,66,.2) 100%)}
.hero-content{padding:110px 0 120px;max-width:980px}
.hero-content .eyebrow{margin-bottom:18px;color:#dce8f8;font-size:13px;letter-spacing:.18em}
.hero-content h1{max-width:980px;font-size:clamp(58px,8.2vw,112px);line-height:.91;letter-spacing:-.075em;margin-bottom:30px}
.hero-content p{max-width:760px;font-size:clamp(19px,2vw,25px);line-height:1.48;margin-bottom:36px}
.hero-actions{display:flex;align-items:center;flex-wrap:wrap;gap:24px}
.btn-hero{min-height:56px;padding:16px 24px;border-radius:15px;font-size:16px}
.hero-text-link{display:inline-flex;align-items:center;gap:12px;color:#fff;font-weight:800}
.hero-text-link span{display:grid;place-items:center;width:38px;height:38px;border:1px solid rgba(255,255,255,.34);border-radius:50%;transition:.2s ease}
.hero-text-link:hover span{transform:translateY(3px);background:rgba(255,255,255,.1)}
.hero-dots{bottom:32px}.hero-dot{width:34px;height:3px;border-radius:0}.hero-dot.active{transform:none}

/* Homepage sections */
.public-section{padding:122px 0}
.home-section{border-top:0}
.section-heading{max-width:900px;margin-bottom:48px}
.section-heading h2{font-size:clamp(42px,6vw,76px);line-height:.98;letter-spacing:-.065em;margin-bottom:20px}
.section-heading p,.section-heading .rich-text{font-size:19px;line-height:1.65}
.home-section-about{background:#fff}
.home-section-about .about-heading{max-width:1050px;margin-bottom:34px}
.about-copy{max-width:920px;font-size:clamp(18px,2vw,22px);line-height:1.7;color:#4e6074}
.about-feature-media{margin:58px 0 54px;aspect-ratio:16/6.8;border:0;border-radius:30px;box-shadow:0 30px 90px rgba(29,46,71,.16)}
.principles-wide{grid-template-columns:repeat(3,minmax(0,1fr));gap:18px}
.principle{min-height:280px;padding:32px;border:0;border-radius:24px;background:var(--brand-dark);color:#fff;display:flex;flex-direction:column;align-items:flex-start;justify-content:flex-end;box-shadow:none}
.principle:nth-child(2){background:var(--brand)}
.principle:nth-child(3){background:var(--brand-bright-dark)}
.principle-number{margin-bottom:auto;font-size:13px;font-weight:900;letter-spacing:.16em;color:rgba(255,255,255,.62)}
.principle strong{font-size:34px;color:#fff;margin-bottom:12px;letter-spacing:-.045em}
.principle span:last-child{color:rgba(255,255,255,.78);font-size:15px;line-height:1.6}
.home-section-membership{background:#eef3f8}
.home-section-membership .section-heading{max-width:830px}
.plan-grid{max-width:none;gap:24px}
.plan-card{padding:42px;border:0;border-radius:28px;background:#fff;box-shadow:0 18px 55px rgba(29,46,71,.08)}
.plan-card.featured{background:var(--brand-dark);color:#fff;transform:none}
.plan-card.featured .rich-text,.plan-card.featured .price span{color:rgba(255,255,255,.72)}
.plan-card h3{font-size:31px}
.price strong{font-size:58px;letter-spacing:-.07em}
.plan-card .btn{margin-top:30px}
.plan-card.featured .btn-primary{background:#fff;color:var(--brand-dark)}
.plan-card.featured .btn-primary:hover{background:#eaf1fb}
.home-section-sponsors{background:#fff}
.sponsor-grid{grid-template-columns:repeat(4,minmax(0,1fr));gap:16px}
.sponsor-card{height:130px;border:1px solid #dce5ef;border-radius:20px;background:#f8fafc;box-shadow:none;padding:25px}
.sponsor-card:hover{transform:translateY(-3px);border-color:#a9c1dd;box-shadow:0 15px 35px rgba(29,46,71,.08)}
.home-section-contact{background:var(--brand-dark);color:#fff;border:0}
.contact-shell{max-width:var(--container);display:grid;grid-template-columns:minmax(0,.8fr) minmax(520px,1.15fr);gap:82px;align-items:center}
.contact-heading{max-width:none;margin:0;text-align:left}
.contact-heading .eyebrow{color:#bdd5f1}
.contact-heading h2{color:#fff}
.contact-heading .rich-text{max-width:580px;margin:0;color:rgba(255,255,255,.72)}
.contact-form-card{border:0;border-radius:28px;padding:38px;box-shadow:0 30px 90px rgba(0,0,0,.22)}
.contact-form-card label{color:#25384c}
.contact-form-actions .btn{width:100%;min-height:54px}

/* Footer */
.public-footer{padding-top:86px;background:#111f31}
.footer-main-grid{gap:64px}
.footer-logo.has-logo img{height:94px;max-width:330px}
.footer-about>p{font-size:15px}
.footer-column h3{font-size:12px;letter-spacing:.14em}
.footer-column>a{font-size:15px;padding:2px 0}
.footer-bottom{margin-top:68px;padding:26px 0 4px}

/* Public interior pages */
.page-hero,.directory-hero{padding:118px 0 98px;background:var(--brand-dark);border:0;color:#fff}
.page-hero.compact{padding:96px 0 78px}
.page-hero h1,.directory-hero h1{font-size:clamp(50px,7vw,88px);letter-spacing:-.07em}
.page-hero p,.directory-hero .rich-text{color:rgba(255,255,255,.72);font-size:20px}
.page-hero .eyebrow,.directory-hero .eyebrow{color:#bdd5f1}
.search-panel,.filter-bar{padding:24px;border:0;border-radius:22px;background:#fff;box-shadow:0 20px 60px rgba(29,46,71,.1)}
.member-card{border:0;border-radius:24px;box-shadow:0 16px 48px rgba(29,46,71,.08)}
.member-card:hover{border-color:transparent;box-shadow:0 25px 65px rgba(29,46,71,.15)}
.member-card img,.member-card>.member-avatar{border-radius:18px;box-shadow:none;border:0}
.member-practice-areas{border-top-color:#dce5ef}
.member-area-tag{border:0;border-radius:999px;padding:7px 12px}

/* Member and admin areas */
.app-shell{grid-template-columns:292px minmax(0,1fr)}
.sidebar{padding:24px 18px;background:#14243a}
.sidebar-brand.has-logo{padding-bottom:30px}
.side-nav{gap:7px}
.side-nav a{min-height:46px;padding:12px 14px;border-radius:13px;font-size:13px}
.side-nav a:hover{background:rgba(94,152,235,.12)}
.side-nav a.active{background:var(--brand-bright);color:#fff;box-shadow:0 12px 28px rgba(36,80,133,.28)}
.sidebar-footer{padding-top:22px}
.sidebar-footer a,.sidebar-logout-button{font-size:13px;font-weight:700}
.topbar{height:100px;padding:0 34px;border-bottom:0;box-shadow:0 1px 0 rgba(29,46,71,.08)}
.topbar h1{font-size:27px;letter-spacing:-.045em}
.content-wrap{padding:34px;max-width:1540px}
.stat-card{padding:25px;border:0;border-radius:20px;box-shadow:0 13px 40px rgba(29,46,71,.07)}
.stat-card .value{font-size:42px}
.dashboard-grid{gap:24px}
.card-header{padding:27px 30px}
.card-body{padding:30px}
.profile-card{padding:32px}
.profile-photo{width:160px;height:160px;border-radius:20px}
.data-table th{background:#f3f6fa;padding:14px}
.data-table td{padding:15px 14px}

/* Auth screens */
.auth-body{background:linear-gradient(135deg,#14243a 0%,#2D4970 50%,#4B7ABC 100%)}
.auth-panel{border:0;border-radius:28px;padding:42px;box-shadow:0 32px 100px rgba(0,0,0,.28)}
.auth-panel h1{font-size:43px;letter-spacing:-.055em}

@media(max-width:1050px){
  .public-nav{gap:15px}
  .hero{min-height:720px}
  .principles-wide{grid-template-columns:1fr}
  .principle{min-height:230px}
  .sponsor-grid{grid-template-columns:repeat(3,minmax(0,1fr))}
  .contact-shell{grid-template-columns:1fr;gap:42px;max-width:850px}
  .contact-heading{text-align:center}.contact-heading .rich-text{margin-inline:auto}
  .app-shell{grid-template-columns:260px minmax(0,1fr)}
}
@media(max-width:850px){
  .container{width:min(calc(100% - 32px),var(--container))}
  .header-inner{min-height:78px}
  .public-brand.has-logo img{height:54px}
  .public-nav{top:74px;border-radius:18px;padding:18px}
  .hero{min-height:660px;max-height:none}
  .hero-content{padding:100px 0 110px}
  .hero-content h1{font-size:clamp(50px,12vw,76px)}
  .public-section{padding:90px 0}
  .section-heading h2{font-size:clamp(40px,9vw,62px)}
  .about-feature-media{margin:40px 0;aspect-ratio:4/3}
  .plan-grid{grid-template-columns:1fr}
  .sponsor-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
  .contact-form-card{padding:28px}
  .content-wrap{padding:22px}
}
@media(max-width:850px){.admin-section-nav{position:static}.admin-welcome{align-items:flex-start;flex-direction:column}.audit-filter{grid-template-columns:1fr 1fr}.sticky-form-actions{bottom:8px}.inbox-layout{grid-template-columns:1fr}.inbox-list{max-height:none}.inbox-detail{position:static}}
@media(max-width:640px){
  .container{width:min(calc(100% - 24px),var(--container))}
  .hero{min-height:620px}
  .hero-content h1{font-size:48px}
  .hero-content p{font-size:18px}
  .hero-actions{align-items:flex-start;flex-direction:column;gap:18px}
  .public-section{padding:72px 0}
  .principle{min-height:210px;padding:27px}
  .principle strong{font-size:30px}
  .plan-card{padding:30px}
  .price strong{font-size:50px}
  .sponsor-card{height:105px;padding:18px}
  .contact-form-card{padding:22px;border-radius:22px}
  .footer-main-grid{gap:38px}
  .footer-logo.has-logo img{height:80px;max-width:285px}
  .page-hero,.directory-hero{padding:86px 0 70px}
  .page-hero h1,.directory-hero h1{font-size:46px}
  .auth-panel{padding:28px;border-radius:22px}
  .auth-panel h1{font-size:36px}
  .stats-grid{grid-template-columns:1fr}
}
@media(max-width:640px){.admin-work-grid{grid-template-columns:1fr 1fr}.work-card{min-height:125px;padding:16px}.work-card strong{font-size:29px}.audit-filter{grid-template-columns:1fr}.sticky-form-actions span{display:none}.sticky-form-actions .btn{width:100%}.bulk-action-bar{align-items:stretch}.bulk-action-bar label,.bulk-action-bar select,.bulk-action-bar .btn{width:100%;min-width:0}}

/* Installer diagnostics */
.install-checks {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: .65rem;
  margin: .85rem 0 1.35rem;
}
.install-check {
  display: flex;
  align-items: center;
  gap: .65rem;
  min-height: 46px;
  padding: .7rem .85rem;
  border: 1px solid var(--line, #d8e0ea);
  border-radius: 10px;
  background: #fff;
  font-size: .92rem;
  font-weight: 650;
}
.install-check > span:first-child {
  display: grid;
  place-items: center;
  width: 24px;
  height: 24px;
  flex: 0 0 24px;
  border-radius: 50%;
  font-weight: 800;
}
.install-check.is-good > span:first-child {
  color: #17653c;
  background: #dcf5e7;
}
.install-check.is-bad > span:first-child {
  color: #9f241d;
  background: #fde5e2;
}
@media (max-width: 680px) {
  .install-checks { grid-template-columns: 1fr; }
}

/* --------------------------------------------------------------------------
   NZEIA 2.2.0 — light editorial public website
   Inspired by the clarity, scale and storytelling rhythm of premium NZ product
   websites while retaining NZEIA's own identity and content.
   -------------------------------------------------------------------------- */
:root{
  --bg:#f7f9fc;
  --surface:#ffffff;
  --surface-soft:#f2f6fb;
  --surface-blue:#eaf2fc;
  --text:#17283d;
  --muted:#5d6f84;
  --line:#d9e3ef;
  --brand:#3D6399;
  --brand-dark:#1D2E47;
  --brand-bright:#5E98EB;
  --brand-bright-dark:#4B7ABC;
  --brand-soft:#edf4fd;
  --accent:#2D4970;
  --shadow:0 24px 70px rgba(29,46,71,.10);
  --shadow-soft:0 14px 44px rgba(29,46,71,.065);
  --container:1240px;
}

.public-body{background:#fff;color:var(--text)}
.public-header{
  background:rgba(255,255,255,.96);
  border-bottom:1px solid rgba(29,46,71,.08);
  box-shadow:none;
}
.header-inner{min-height:88px}
.public-brand.has-logo img{height:60px;max-width:250px}
.public-nav{gap:25px;color:#2d4056;font-size:14px}
.public-nav>a:not(.btn){padding:13px 0}
.public-nav>a:not(.btn)::after{bottom:7px;height:2px;background:var(--brand-bright)}
.nav-login{border-radius:999px;padding-inline:19px}

.editorial-home{overflow:hidden;background:#fff}
.editorial-section{position:relative;padding:clamp(88px,10vw,142px) 0}
.editorial-kicker{
  margin:0 0 18px;
  color:var(--brand);
  font-size:12px;
  font-weight:850;
  letter-spacing:.16em;
  line-height:1.3;
  text-transform:uppercase;
}
.editorial-section-intro h2{
  margin:0;
  max-width:980px;
  color:var(--text);
  font-size:clamp(44px,6.2vw,78px);
  font-weight:780;
  letter-spacing:-.065em;
  line-height:.98;
}
.editorial-rich{margin-top:26px;color:var(--muted);font-size:clamp(17px,1.6vw,20px);line-height:1.72}
.editorial-rich p{max-width:780px}
.editorial-intro-wide{max-width:1040px}
.editorial-intro-split{
  display:grid;
  grid-template-columns:minmax(0,1.08fr) minmax(340px,.72fr);
  gap:clamp(44px,7vw,96px);
  align-items:end;
  margin-bottom:58px;
}
.editorial-intro-split .editorial-rich{margin:0}
.editorial-text-link{
  display:inline-flex;
  align-items:center;
  gap:10px;
  margin-top:28px;
  color:var(--brand-dark);
  font-weight:850;
}
.editorial-text-link:hover{color:var(--brand-bright-dark)}

/* Light split hero */
.editorial-hero{
  position:relative;
  min-height:760px;
  overflow:hidden;
  background:linear-gradient(135deg,#f8fbff 0%,#f1f6fc 58%,#e9f1fb 100%);
  border-bottom:1px solid var(--line);
}
.editorial-hero-slide{
  position:absolute;
  inset:0;
  display:flex;
  flex-direction:column;
  opacity:0;
  pointer-events:none;
  transition:opacity .65s ease;
}
.editorial-hero-slide.active{z-index:1;opacity:1;pointer-events:auto}
.editorial-hero-inner{
  display:grid;
  grid-template-columns:minmax(0,1.05fr) minmax(430px,.95fr);
  gap:clamp(50px,6.5vw,92px);
  align-items:center;
  min-height:650px;
  padding:72px 0 58px;
}
.editorial-hero-copy{position:relative;z-index:2;max-width:720px}
.editorial-hero-copy h1{
  margin:0;
  color:var(--text);
  font-size:clamp(60px,7.9vw,108px);
  font-weight:780;
  letter-spacing:-.078em;
  line-height:.91;
}
.editorial-hero-lead{
  max-width:660px;
  margin:30px 0 0;
  color:#52657b;
  font-size:clamp(18px,1.75vw,23px);
  line-height:1.55;
}
.editorial-hero-actions{display:flex;flex-wrap:wrap;gap:13px;margin-top:36px}
.btn-hero-primary,.btn-hero-secondary{min-height:56px;border-radius:999px;padding:16px 24px;font-size:15px}
.btn-hero-primary{background:var(--brand-dark);color:#fff;border-color:var(--brand-dark)}
.btn-hero-primary:hover{background:var(--brand);box-shadow:0 15px 34px rgba(29,46,71,.2)}
.btn-hero-secondary{background:rgba(255,255,255,.72);color:var(--text);border-color:#bdcada}
.btn-hero-secondary:hover{background:#fff;border-color:#95a9bf}
.editorial-hero-media{
  position:relative;
  min-height:500px;
  overflow:hidden;
  border:1px solid rgba(45,73,112,.12);
  border-radius:24px;
  background:#dfeaf8;
  box-shadow:0 32px 85px rgba(29,46,71,.16);
}
.editorial-hero-media>img{width:100%;height:100%;min-height:500px;object-fit:cover}
.editorial-hero-media::after{
  content:"";
  position:absolute;
  inset:auto 0 0;
  height:36%;
  background:linear-gradient(180deg,transparent,rgba(13,31,51,.64));
  pointer-events:none;
}
.editorial-hero-fallback{
  position:absolute;
  inset:0;
  display:flex;
  flex-direction:column;
  justify-content:center;
  padding:clamp(34px,5vw,70px);
  background:linear-gradient(145deg,#8db9f6 0%,#5E98EB 48%,#3D6399 100%);
  color:#fff;
}
.editorial-hero-fallback::before{
  content:"";
  position:absolute;
  top:0;
  right:14%;
  width:22%;
  height:100%;
  background:rgba(255,255,255,.08);
  transform:skewX(-15deg);
  transform-origin:top;
}
.editorial-hero-fallback span{
  position:relative;
  z-index:1;
  display:block;
  color:#fff;
  font-size:clamp(34px,4vw,58px);
  font-weight:780;
  letter-spacing:-.055em;
  line-height:1.05;
}
.editorial-hero-fallback span+span{margin-top:12px}
.editorial-hero-media-caption{
  position:absolute;
  z-index:2;
  left:28px;
  right:28px;
  bottom:24px;
  display:flex;
  align-items:end;
  justify-content:space-between;
  gap:20px;
  color:#fff;
}
.editorial-hero-media-caption strong{font-size:24px;letter-spacing:.04em}
.editorial-hero-media-caption span{max-width:245px;text-align:right;font-size:13px;line-height:1.45;color:rgba(255,255,255,.82)}
.editorial-hero-proof{
  display:grid;
  grid-template-columns:repeat(3,minmax(0,1fr));
  border-top:1px solid rgba(45,73,112,.14);
  color:#465a71;
}
.editorial-hero-proof span{display:flex;align-items:center;gap:12px;padding:21px 0;font-size:13px;font-weight:750}
.editorial-hero-proof span+span{padding-left:28px;border-left:1px solid rgba(45,73,112,.14)}
.editorial-hero-proof strong{color:var(--brand);font-size:11px;letter-spacing:.12em}
.editorial-hero-controls{
  position:absolute;
  z-index:4;
  right:max(24px,calc((100vw - var(--container))/2));
  bottom:90px;
  display:flex;
  gap:8px;
  justify-content:flex-end;
  pointer-events:none;
}
.editorial-hero-dot{
  min-width:42px;
  height:36px;
  padding:0 10px;
  border:1px solid #c7d4e4;
  border-radius:999px;
  background:rgba(255,255,255,.82);
  color:#607188;
  font-size:11px;
  font-weight:850;
  pointer-events:auto;
}
.editorial-hero-dot.active{background:var(--brand-dark);color:#fff;border-color:var(--brand-dark)}
.editorial-scroll-cue{
  position:absolute;
  z-index:4;
  left:max(24px,calc((100vw - var(--container))/2));
  bottom:28px;
  display:inline-flex;
  align-items:center;
  gap:12px;
  color:#52657b;
  font-size:12px;
  font-weight:850;
  letter-spacing:.08em;
  text-transform:uppercase;
}
.editorial-scroll-cue span{font-size:17px}

/* About */
.editorial-about{background:#fff}
.editorial-about .editorial-rich{max-width:900px}
.editorial-about-media{
  width:100%;
  margin:64px 0 50px;
  aspect-ratio:16/6.4;
  overflow:hidden;
  border-radius:22px;
  background:var(--surface-soft);
  box-shadow:var(--shadow-soft);
}
.editorial-about-media img{width:100%;height:100%;object-fit:cover}
.editorial-principles{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:18px;margin-top:52px}
.editorial-principle{
  min-height:265px;
  padding:30px;
  border:1px solid var(--line);
  border-radius:20px;
  background:#fff;
  box-shadow:0 10px 36px rgba(29,46,71,.045);
}
.editorial-principle:nth-child(2){background:#f4f8fd}
.editorial-principle:nth-child(3){background:#edf4fc}
.editorial-card-index{display:block;margin-bottom:68px;color:var(--brand);font-size:11px;font-weight:900;letter-spacing:.14em}
.editorial-principle h3{margin:0 0 14px;font-size:clamp(27px,2.6vw,38px);letter-spacing:-.045em}
.editorial-principle .rich-text{color:var(--muted);font-size:15px;line-height:1.65}

/* Why Join */
.editorial-benefits{background:linear-gradient(180deg,#f4f8fd 0%,#edf4fb 100%);border-block:1px solid #dce7f3}
.editorial-benefits-layout{display:grid;grid-template-columns:minmax(0,.82fr) minmax(500px,1.18fr);gap:clamp(52px,7vw,102px);align-items:start}
.editorial-benefits .editorial-section-intro{position:sticky;top:135px}
.editorial-benefits .editorial-section-intro h2{font-size:clamp(43px,5.5vw,72px)}
.editorial-benefit-list{
  overflow:hidden;
  border:1px solid var(--line);
  border-radius:22px;
  background:#fff;
  box-shadow:var(--shadow-soft);
}
.editorial-benefit-row{
  display:grid;
  grid-template-columns:58px minmax(0,1fr);
  gap:20px;
  padding:30px;
  border-bottom:1px solid var(--line);
}
.editorial-benefit-row:last-child{border-bottom:0}
.editorial-benefit-number{color:var(--brand);font-size:12px;font-weight:900;letter-spacing:.13em;padding-top:7px}
.editorial-benefit-row h3{margin:0 0 10px;font-size:25px;letter-spacing:-.035em}
.editorial-benefit-row .rich-text{color:var(--muted);font-size:15px;line-height:1.65}
.editorial-benefit-row a{display:inline-flex;margin-top:12px;color:var(--brand);font-weight:800}

/* Membership */
.editorial-membership{background:#fff}
.editorial-plan-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:22px;max-width:1040px}
.editorial-plan-card{
  display:flex;
  flex-direction:column;
  min-height:520px;
  padding:38px;
  border:1px solid var(--line);
  border-radius:22px;
  background:#fff;
  box-shadow:var(--shadow-soft);
}
.editorial-plan-card.featured{background:linear-gradient(145deg,#edf4fd 0%,#f8fbff 100%);border-color:#aac3e2}
.editorial-plan-label{display:block;margin-bottom:18px;color:var(--brand);font-size:11px;font-weight:900;letter-spacing:.13em;text-transform:uppercase}
.editorial-plan-card h3{margin:0;font-size:clamp(30px,3.2vw,43px);line-height:1.08}
.editorial-price{display:flex;align-items:end;gap:12px;margin-top:27px}
.editorial-price strong{font-size:clamp(52px,6vw,76px);font-weight:780;letter-spacing:-.075em;line-height:.9}
.editorial-price span{padding-bottom:7px;color:var(--muted);font-size:13px}
.editorial-plan-body{margin:34px 0;color:var(--muted);font-size:15px;line-height:1.65}
.editorial-plan-card>.btn{margin-top:auto;border-radius:999px}

/* Inspector search CTA */
.editorial-inspector-cta{background:#f2f6fb;border-block:1px solid var(--line)}
.editorial-inspector-grid{
  display:grid;
  grid-template-columns:minmax(0,1fr) minmax(390px,.72fr);
  gap:clamp(55px,8vw,112px);
  align-items:center;
}
.editorial-inspector-cta .editorial-section-intro h2{font-size:clamp(43px,5.8vw,76px)}
.editorial-inspector-search{
  display:grid;
  gap:17px;
  padding:34px;
  border:1px solid var(--line);
  border-radius:22px;
  background:#fff;
  box-shadow:var(--shadow);
}
.editorial-inspector-search label{font-size:12px;text-transform:uppercase;letter-spacing:.08em}
.editorial-inspector-search select{height:52px;border-radius:12px;background-color:#fff}
.editorial-inspector-search .btn{min-height:54px;border-radius:999px;margin-top:3px}
.editorial-inspector-search p{margin:0;color:var(--muted);font-size:12px;line-height:1.5}

/* Sponsor trust strip */
.editorial-sponsors{background:#fff}
.editorial-sponsor-grid{
  display:grid;
  grid-template-columns:repeat(4,minmax(0,1fr));
  margin-top:54px;
  border-top:1px solid var(--line);
  border-left:1px solid var(--line);
}
.editorial-sponsor{
  display:grid;
  place-items:center;
  min-height:150px;
  padding:28px;
  border-right:1px solid var(--line);
  border-bottom:1px solid var(--line);
  background:#fff;
  transition:background .2s ease,transform .2s ease;
}
.editorial-sponsor:hover{background:#f7faff}
.editorial-sponsor img{max-width:180px;max-height:76px;object-fit:contain;filter:saturate(.88)}
.editorial-sponsor span{color:#42566d;font-weight:850;text-align:center}

/* Scholarship */
.editorial-scholarship{background:#f7faff}
.editorial-scholarship-panel{
  display:grid;
  grid-template-columns:minmax(0,1fr) minmax(0,1fr);
  overflow:hidden;
  border:1px solid #cfdeee;
  border-radius:24px;
  background:#fff;
  box-shadow:var(--shadow-soft);
}
.editorial-scholarship-media{min-height:510px;background:#dce9f8}
.editorial-scholarship-media img{width:100%;height:100%;min-height:510px;object-fit:cover}
.editorial-scholarship-media.is-placeholder{display:grid;place-items:center;background:linear-gradient(145deg,#8db9f6,#5E98EB 54%,#3D6399)}
.editorial-scholarship-media.is-placeholder div{display:grid;color:#fff;text-align:center}
.editorial-scholarship-media.is-placeholder strong{font-size:clamp(42px,5vw,68px);letter-spacing:.08em}
.editorial-scholarship-media.is-placeholder span{font-size:clamp(25px,3vw,42px);letter-spacing:-.04em}
.editorial-scholarship-panel>.editorial-section-intro{align-self:center;padding:clamp(42px,6vw,78px)}
.editorial-scholarship-panel h2{font-size:clamp(40px,5vw,66px)}
.editorial-status-note{color:var(--muted);font-size:13px;font-weight:700}

/* Contact */
.editorial-contact{background:linear-gradient(180deg,#f2f6fb 0%,#f8fbff 100%);border-top:1px solid var(--line)}
.editorial-contact-shell{max-width:900px;text-align:center}
.editorial-contact-intro{max-width:820px;margin:0 auto}
.editorial-contact-intro h2{margin-inline:auto}
.editorial-contact-intro .editorial-rich p{margin-inline:auto}
.editorial-contact-form{
  margin:48px auto 0;
  padding:clamp(28px,5vw,46px);
  border:1px solid var(--line);
  border-radius:22px;
  background:#fff;
  box-shadow:var(--shadow-soft);
  text-align:left;
}
.editorial-contact-form input,.editorial-contact-form select,.editorial-contact-form textarea{border-color:#cbd7e5;background:#fbfdff}
.editorial-contact-actions{display:flex;justify-content:center}
.editorial-contact-actions .btn{min-width:210px;border-radius:999px}
.editorial-contact-note{margin:22px 0 0;color:var(--muted);font-size:13px}

/* Final homepage membership call to action */
.editorial-final-cta{
  padding:clamp(74px,9vw,120px) 0;
  background:#fff;
  border-top:1px solid var(--line);
}
.editorial-final-cta-inner{
  display:grid;
  grid-template-columns:minmax(0,1.35fr) minmax(280px,.65fr);
  gap:clamp(38px,7vw,96px);
  align-items:center;
  padding:clamp(38px,6vw,72px);
  border:1px solid #cbdbea;
  border-radius:24px;
  background:linear-gradient(135deg,#f8fbff 0%,#edf4fc 100%);
  box-shadow:var(--shadow-soft);
}
.editorial-final-cta-copy h2{
  max-width:820px;
  margin:0;
  font-size:clamp(44px,6vw,78px);
  line-height:.98;
  letter-spacing:-.055em;
}
.editorial-final-cta-copy .editorial-rich{max-width:700px;margin-top:24px}
.editorial-final-cta-actions{display:flex;flex-direction:column;align-items:flex-start;gap:20px}
.editorial-final-cta-actions .btn{min-width:220px;min-height:56px;border-radius:999px}

/* Light public interior pages */
.page-hero,.directory-hero{
  padding:110px 0 88px;
  background:linear-gradient(135deg,#f8fbff 0%,#edf4fc 70%,#e5eef9 100%);
  border-bottom:1px solid var(--line);
  color:var(--text);
}
.page-hero.compact{padding:92px 0 72px}
.page-hero h1,.directory-hero h1{color:var(--text)}
.page-hero p,.directory-hero .rich-text{color:var(--muted)}
.page-hero .eyebrow,.directory-hero .eyebrow{color:var(--brand)}
.scholarship-hero{background:linear-gradient(135deg,#f8fbff,#edf4fc 70%,#e5eef9)}
.scholarship-apply-card{background:linear-gradient(145deg,#edf4fc,#fff);color:var(--text);box-shadow:var(--shadow-soft)}
.scholarship-apply-card .eyebrow{color:var(--brand)}
.auth-body{background:linear-gradient(135deg,#f8fbff 0%,#edf4fc 55%,#e5eef9 100%)}
.auth-panel{box-shadow:0 28px 80px rgba(29,46,71,.14)}

/* Footer remains a deliberate dark anchor while the public site stays light. */
.public-footer{background:#132238}
.footer-logo.has-logo img{filter:brightness(0) invert(1)}

/* Reveal motion is intentionally subtle and disabled for reduced motion. */
.js [data-reveal]{opacity:0;transform:translateY(22px);transition:opacity .7s ease,transform .7s ease}
.js [data-reveal].is-visible{opacity:1;transform:none}
@media(prefers-reduced-motion:reduce){
  html{scroll-behavior:auto}
  .editorial-hero-slide,.js [data-reveal]{transition:none}
  .js [data-reveal]{opacity:1;transform:none}
}

/* Homepage editor refinements for the new editable card groups. */
.editor-card-group+.editor-card-group{margin-top:34px;padding-top:30px;border-top:1px solid var(--line)}
.editor-card-group h3{margin:0;font-size:22px}

@media(max-width:1080px){
  .editorial-hero{min-height:730px}
  .editorial-hero-inner{grid-template-columns:minmax(0,1fr) minmax(370px,.82fr);gap:45px;min-height:620px}
  .editorial-hero-media,.editorial-hero-media>img{min-height:455px}
  .editorial-benefits-layout{grid-template-columns:minmax(0,.88fr) minmax(460px,1.12fr);gap:55px}
  .editorial-sponsor-grid{grid-template-columns:repeat(3,minmax(0,1fr))}
}

@media(max-width:900px){
  .editorial-final-cta-inner{grid-template-columns:1fr}
  .editorial-final-cta-actions{align-items:flex-start}
  .header-inner{min-height:78px}
  .public-brand.has-logo img{height:52px}
  .public-nav{top:74px}
  .editorial-section{padding:86px 0}
  .editorial-hero{min-height:1080px}
  .editorial-hero-inner{grid-template-columns:1fr;gap:44px;min-height:auto;padding:75px 0 42px}
  .editorial-hero-copy{max-width:760px}
  .editorial-hero-copy h1{font-size:clamp(58px,11vw,90px)}
  .editorial-hero-media{min-height:440px}
  .editorial-hero-media>img{min-height:440px}
  .editorial-hero-proof{margin-top:auto}
  .editorial-hero-controls{right:24px;bottom:90px}
  .editorial-intro-split,.editorial-benefits-layout,.editorial-inspector-grid,.editorial-scholarship-panel{grid-template-columns:1fr}
  .editorial-benefits .editorial-section-intro{position:static}
  .editorial-principles{grid-template-columns:1fr}
  .editorial-principle{min-height:auto}
  .editorial-card-index{margin-bottom:34px}
  .editorial-plan-grid{grid-template-columns:1fr;max-width:760px}
  .editorial-plan-card{min-height:auto}
  .editorial-sponsor-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
  .editorial-scholarship-media,.editorial-scholarship-media img{min-height:390px}
}

@media(max-width:640px){
  .editorial-final-cta{padding:58px 0}
  .editorial-final-cta-inner{padding:30px 24px;border-radius:18px}
  .editorial-final-cta-copy h2{font-size:43px}
  .editorial-final-cta-actions .btn{width:100%}
  .editorial-section{padding:68px 0}
  .editorial-section-intro h2{font-size:42px}
  .editorial-rich{font-size:17px}
  .editorial-hero{min-height:1080px}
  .editorial-hero-inner{padding-top:58px;gap:34px}
  .editorial-hero-copy h1{font-size:49px;line-height:.95}
  .editorial-hero-lead{font-size:17px;margin-top:22px}
  .editorial-hero-actions{flex-direction:column;align-items:stretch}
  .btn-hero-primary,.btn-hero-secondary{width:100%}
  .editorial-hero-media,.editorial-hero-media>img{min-height:360px}
  .editorial-hero-media{border-radius:18px}
  .editorial-hero-media-caption{left:20px;right:20px;bottom:18px;align-items:flex-start;flex-direction:column;gap:4px}
  .editorial-hero-media-caption span{max-width:none;text-align:left}
  .editorial-hero-proof{grid-template-columns:1fr}
  .editorial-hero-proof span{padding:14px 0}
  .editorial-hero-proof span+span{padding-left:0;border-left:0;border-top:1px solid rgba(45,73,112,.14)}
  .editorial-hero-controls{bottom:148px}
  .editorial-scroll-cue{display:none}
  .editorial-about-media{margin:38px 0 34px;aspect-ratio:4/3;border-radius:16px}
  .editorial-principle,.editorial-benefit-row,.editorial-plan-card,.editorial-inspector-search,.editorial-contact-form{padding:24px;border-radius:17px}
  .editorial-benefit-row{grid-template-columns:38px minmax(0,1fr);gap:12px}
  .editorial-price strong{font-size:55px}
  .editorial-sponsor-grid{grid-template-columns:1fr 1fr;margin-top:38px}
  .editorial-sponsor{min-height:112px;padding:20px}
  .editorial-scholarship-panel{border-radius:18px}
  .editorial-scholarship-media,.editorial-scholarship-media img{min-height:300px}
  .editorial-scholarship-panel>.editorial-section-intro{padding:30px 24px 36px}
  .editorial-contact-form .form-grid.two{grid-template-columns:1fr}
  .page-hero,.directory-hero{padding:82px 0 66px}
  .page-hero h1,.directory-hero h1{font-size:45px}
}

/* --------------------------------------------------------------------------
   NZEIA 2.3.0 sharp interface, high-contrast hero and member-linked structure
   -------------------------------------------------------------------------- */
:root{
  --radius:0;
  --radius-sm:0;
  --shadow-soft:0 12px 34px rgba(29,46,71,.07);
}

/* Straight, crisp geometry across public, member and administration areas. */
.btn,.card,.alert,.toast-alert,.badge,input,select,textarea,.editor-toolbar,
.editor-toolbar button,.image-preview,.brand-icon,.nav-toggle,.auth-panel,
.auth-panel>.brand-mark,.side-nav a,.sidebar-toggle,.access-banner,.stat-card,
.filter-bar,.profile-photo,.pill,.event-date,.pagination a,.pagination span,
.content-editor-nav,.content-editor-nav a,.editor-group,.editor-group>summary::after,
.current-image,.current-image img,.form-note,.search-panel,.member-card,
.member-card img,.member-avatar,.empty-state,.plan-card,.sponsor-card,
.page-card,.directory-card,.notice-box,.editorial-hero-media,.editorial-hero-dot,
.editorial-hero-arrow,.editorial-about-media,.editorial-principle,
.editorial-benefit-list,.editorial-plan-card,.editorial-plan-card>.btn,
.editorial-inspector-search,.editorial-inspector-search select,
.editorial-inspector-search .btn,.editorial-scholarship-panel,
.editorial-contact-form,.editorial-contact-actions .btn,.editorial-final-cta-actions .btn,
.structure-tier,.structure-group-card,.structure-person-card,.structure-person-photo,
.structure-admin-stats,.structure-admin-stats>div,.structure-admin-group,
.structure-admin-role,.structure-admin-person img,.structure-admin-person>span{
  border-radius:0!important;
}

.btn:hover{transform:none}
.card,.stat-card,.filter-bar,.auth-panel,.editorial-principle,.editorial-plan-card,
.editorial-inspector-search,.editorial-contact-form,.structure-tier,.structure-group-card{
  box-shadow:none;
}
.badge,.pill{border-radius:0!important}
.user-chip>img,.user-chip>span,.table-person img,.table-person span,.profile-photo,
.member-card img,.member-avatar{border-radius:0!important}

/* Sharper administration area. */
.sidebar{background:#1D2E47;border-right:1px solid rgba(255,255,255,.08)}
.side-nav{gap:1px}
.side-nav a{border-left:3px solid transparent;padding:12px 13px;color:#dce6f2}
.side-nav a:hover{background:rgba(255,255,255,.07);border-left-color:#5E98EB;color:#fff}
.side-nav a.active{background:#fff;border-left-color:#5E98EB;color:#1D2E47}
.sidebar-footer a,.sidebar-logout-button{color:#e6eef7}
.topbar{height:84px;box-shadow:none}
.content-wrap{padding-top:26px}
.card{border-color:#d3dce8}
.card-header{background:#f7f9fc}
input,select,textarea{border-color:#bcc8d7;background:#fff;color:#1D2E47}
input::placeholder,textarea::placeholder{color:#75849a}
label{color:#263a53}
.notice-box{border-left:5px solid var(--brand);background:#edf3fb;color:#1D2E47}
.notice-box p{color:#3d526c}

/* High-contrast, edge-to-edge split hero. */
.editorial-home{overflow:clip}
.editorial-hero{
  min-height:780px;
  background:#132238;
  border-bottom:0;
  color:#fff;
}
.editorial-hero-slide{background:#132238}
.editorial-hero-inner{
  width:100%;
  max-width:none;
  min-height:675px;
  margin:0;
  padding:0 0 0 max(24px,calc((100vw - var(--container))/2));
  grid-template-columns:minmax(0,1.08fr) minmax(430px,.92fr);
  gap:0;
}
.editorial-hero-copy{max-width:760px;padding:92px 72px 92px 0}
.editorial-hero-copy .editorial-kicker{color:#9ec5ff}
.editorial-hero-copy h1{color:#fff;font-size:clamp(58px,7.35vw,104px);line-height:.92}
.editorial-hero-lead{color:#d5e0ed;max-width:680px}
.btn-hero-primary,.btn-hero-secondary{border-radius:0!important}
.btn-hero-primary{background:#fff;border-color:#fff;color:#1D2E47;box-shadow:none}
.btn-hero-primary:hover{background:#dbe9fb;border-color:#dbe9fb;color:#1D2E47;box-shadow:none}
.btn-hero-secondary{background:transparent;border-color:#71849a;color:#fff}
.btn-hero-secondary:hover{background:rgba(255,255,255,.08);border-color:#fff;color:#fff}
.editorial-hero-media{
  min-height:675px;
  border:0;
  border-left:1px solid rgba(255,255,255,.14);
  background:#2D4970;
  box-shadow:none;
}
.editorial-hero-media>img{min-height:675px}
.editorial-hero-media::after{
  height:56%;
  background:linear-gradient(180deg,transparent 0%,rgba(8,22,38,.82) 100%);
}
.editorial-hero-fallback{background:linear-gradient(145deg,#4B7ABC 0%,#2D4970 55%,#1D2E47 100%)}
.editorial-hero-media-caption{left:34px;right:34px;bottom:32px}
.editorial-hero-media-caption span{color:#e4edf7}
.editorial-hero-proof{
  width:min(calc(100% - 36px),var(--container));
  margin:0 auto;
  border-top:1px solid rgba(255,255,255,.18);
  color:#e2eaf4;
}
.editorial-hero-proof span{padding:25px 0;color:#e2eaf4}
.editorial-hero-proof span+span{border-left-color:rgba(255,255,255,.18)}
.editorial-hero-proof strong{color:#8ebcff}
.editorial-hero-controls{
  position:absolute;
  z-index:4;
  left:max(24px,calc((100vw - var(--container))/2));
  right:auto;
  bottom:104px;
  display:flex;
  align-items:center;
  gap:8px;
  pointer-events:auto;
}
.editorial-hero-pages{display:flex;gap:6px}
.editorial-hero-dot,.editorial-hero-arrow{
  min-width:40px;
  height:40px;
  padding:0 10px;
  border:1px solid rgba(255,255,255,.38);
  background:transparent;
  color:#dbe6f3;
  font-size:11px;
  font-weight:850;
}
.editorial-hero-arrow{font-size:17px}
.editorial-hero-dot:hover,.editorial-hero-arrow:hover{border-color:#fff;background:rgba(255,255,255,.08);color:#fff}
.editorial-hero-dot.active{background:#fff;border-color:#fff;color:#1D2E47}
.editorial-scroll-cue{left:auto;right:max(24px,calc((100vw - var(--container))/2));bottom:28px;color:#dce6f2}

/* Improve contrast on light content sections. */
.editorial-rich,.editorial-plan-body,.editorial-benefit-row .rich-text,
.editorial-principle .rich-text{color:#4d6077}
.editorial-benefits{background:#edf2f8}
.editorial-principle:nth-child(2),.editorial-principle:nth-child(3),
.editorial-plan-card.featured{background:#f2f6fb}
.editorial-sponsor span{color:#263a53}
.editorial-inspector-search p,.editorial-contact-note,.editorial-status-note{color:#53657a}

/* Full-width membership call to action immediately above the footer. */
.editorial-final-cta{
  padding:0;
  border:0;
  background:#2D4970;
  color:#fff;
}
.editorial-final-cta-inner{
  width:min(calc(100% - 36px),var(--container));
  margin:0 auto;
  padding:clamp(64px,8vw,112px) 0;
  border:0;
  background:transparent;
  box-shadow:none;
}
.editorial-final-cta .editorial-kicker{color:#a9cdff}
.editorial-final-cta-copy h2{color:#fff}
.editorial-final-cta-copy .editorial-rich{color:#dce7f3}
.editorial-final-cta-copy .editorial-rich a{color:#fff}
.editorial-final-cta-actions .btn-primary{background:#fff;border-color:#fff;color:#1D2E47;box-shadow:none}
.editorial-final-cta-actions .btn-primary:hover{background:#dbe9fb;border-color:#dbe9fb;color:#1D2E47;box-shadow:none}
.editorial-final-cta .editorial-text-link{margin-top:0;color:#fff}
.editorial-final-cta .editorial-text-link:hover{color:#c9ddf8}

/* Public structure hierarchy and member profile cards. */
.structure-hero{background:#1D2E47;color:#fff;border-bottom:0}
.structure-hero .eyebrow{color:#9ec5ff}
.structure-hero h1{color:#fff}
.structure-hero-inner{display:grid;grid-template-columns:minmax(0,1fr) minmax(300px,.72fr);gap:70px;align-items:end}
.structure-hero-inner>p{margin:0;color:#d9e4f0;font-size:18px;line-height:1.65}
.structure-section{background:#eef2f7}
.structure-page{gap:46px}
.structure-tier{padding:0;border:1px solid #cdd8e5;background:#fff}
.structure-tier-heading{
  display:grid;
  grid-template-columns:minmax(0,1fr) minmax(280px,.55fr);
  gap:50px;
  align-items:end;
  max-width:none;
  margin:0;
  padding:36px;
  border-bottom:1px solid #cdd8e5;
  background:#f7f9fc;
}
.structure-tier-heading h2{margin:0;font-size:clamp(36px,4.6vw,58px)}
.structure-tier-heading>p{margin:0;color:#4d6077;font-size:16px;line-height:1.65}
.structure-section-groups,.structure-section-groups.is-single{
  display:grid;
  grid-template-columns:repeat(2,minmax(0,1fr));
  gap:0;
}
.structure-section-groups.is-single{grid-template-columns:1fr}
.structure-group-card{padding:0;border:0;border-right:1px solid #d4deea;border-bottom:1px solid #d4deea;background:#fff;box-shadow:none}
.structure-section-groups .structure-group-card:nth-child(even){border-right:0}
.structure-section-groups.is-single .structure-group-card{border-right:0}
.structure-group-heading{
  display:flex;
  justify-content:space-between;
  gap:24px;
  align-items:flex-start;
  padding:28px 30px;
  border-bottom:1px solid #d4deea;
  background:#1D2E47;
  color:#fff;
}
.structure-group-heading p{margin:0 0 5px;color:#9ec5ff;font-size:11px;font-weight:850;letter-spacing:.13em;text-transform:uppercase}
.structure-group-heading h3{margin:0;color:#fff;font-size:28px}
.structure-group-heading span{display:block;margin-top:7px;color:#d7e2ef;font-size:14px}
.structure-group-heading>strong{display:grid;place-items:center;min-width:44px;height:44px;border:1px solid rgba(255,255,255,.3);font-size:16px}
.structure-people-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr))}
.structure-person-card{display:grid;grid-template-columns:96px minmax(0,1fr);min-width:0;border-right:1px solid #d4deea;border-bottom:1px solid #d4deea;background:#fff}
.structure-person-card:nth-child(even){border-right:0}
.structure-person-photo{width:96px;min-height:142px;background:#e3eaf3;overflow:hidden}
.structure-person-photo img{width:100%;height:100%;min-height:142px;object-fit:cover}
.structure-person-photo span{display:grid;place-items:center;width:100%;height:100%;min-height:142px;background:#2D4970;color:#fff;font-size:28px;font-weight:850}
.structure-person-content{min-width:0;padding:22px}
.structure-role-list{display:flex;flex-wrap:wrap;gap:6px;margin-bottom:12px}
.structure-role-list span{padding:4px 7px;background:#edf3fb;color:#2D4970;font-size:10px;font-weight:900;letter-spacing:.08em;text-transform:uppercase}
.structure-person-content h4{margin:0;color:#1D2E47;font-size:21px;line-height:1.15}
.structure-person-company{margin:6px 0 0;color:#53657a;font-size:13px;font-weight:700}
.structure-person-contact{display:grid;gap:4px;margin-top:14px;padding-top:13px;border-top:1px solid #dde5ef}
.structure-person-contact a{color:#2D4970;font-size:12px;font-weight:700;overflow-wrap:anywhere}
.structure-person-contact a:hover{text-decoration:underline}

/* Association structure administration. */
.structure-admin-stats{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));border:1px solid #cfd9e5;background:#fff}
.structure-admin-stats>div{padding:22px;border-right:1px solid #cfd9e5}
.structure-admin-stats>div:last-child{border-right:0}
.structure-admin-stats strong{display:block;font-size:34px;line-height:1;color:#1D2E47}
.structure-admin-stats span{display:block;margin-top:8px;color:#607087;font-size:12px;font-weight:800;text-transform:uppercase;letter-spacing:.07em}
.structure-admin-notice{margin-top:20px}
.structure-admin-layout{display:grid;grid-template-columns:minmax(320px,.72fr) minmax(520px,1.28fr);gap:20px;align-items:start}
.structure-admin-group-form,.structure-admin-role-form{min-width:0}
.top-gap-small{margin-top:14px}
.structure-active-check{align-self:end;min-height:46px;padding:12px;border:1px solid #cfd9e5;background:#f7f9fc}
.structure-admin-groups{display:grid;gap:18px}
.structure-admin-group{border:1px solid #cfd9e5;background:#fff}
.structure-admin-group>header{display:flex;justify-content:space-between;gap:22px;align-items:center;padding:20px 22px;border-bottom:1px solid #cfd9e5;background:#f7f9fc}
.structure-admin-group>header>div:first-child>span{display:block;color:#3D6399;font-size:10px;font-weight:900;letter-spacing:.1em;text-transform:uppercase}
.structure-admin-group h3{margin:3px 0 0;font-size:23px}
.structure-admin-group p{margin:4px 0 0;color:#607087}
.structure-admin-role-list{display:grid}
.structure-admin-role{display:flex;justify-content:space-between;gap:18px;align-items:center;padding:15px 18px;border-bottom:1px solid #dce3ec}
.structure-admin-role:last-child{border-bottom:0}
.structure-admin-person{display:flex;align-items:center;gap:14px;min-width:0}
.structure-admin-person img,.structure-admin-person>span{width:54px;height:54px;flex:0 0 54px;object-fit:cover;background:#2D4970;color:#fff;display:grid;place-items:center;font-weight:850}
.structure-admin-person strong,.structure-admin-person small,.structure-admin-person em{display:block}
.structure-admin-person small{margin-top:3px;color:#53657a}
.structure-admin-person em{margin-top:4px;color:#718095;font-size:11px;font-style:normal;font-weight:700;text-transform:uppercase;letter-spacing:.05em}

/* Footer contrast remains deliberate and readable. */
.public-footer{background:#132238;color:#fff}
.public-footer p,.footer-column p{color:#cbd7e5}
.footer-column h3{color:#fff}
.footer-column a,.footer-bottom{color:#dce6f2}
.footer-column a:hover,.footer-contact-link:hover{color:#fff}

@media(max-width:1080px){
  .editorial-hero-inner{grid-template-columns:minmax(0,1fr) minmax(390px,.82fr)}
  .editorial-hero-copy{padding-right:48px}
  .structure-people-grid{grid-template-columns:1fr}
  .structure-person-card{border-right:0}
  .structure-admin-layout{grid-template-columns:1fr}
}

@media(max-width:900px){
  .editorial-hero{min-height:1040px}
  .editorial-hero-inner{
    width:min(calc(100% - 36px),var(--container));
    grid-template-columns:1fr;
    min-height:auto;
    margin:0 auto;
    padding:0;
  }
  .editorial-hero-copy{padding:74px 0 48px}
  .editorial-hero-media,.editorial-hero-media>img{min-height:430px}
  .editorial-hero-media{border:1px solid rgba(255,255,255,.18)}
  .editorial-hero-proof{margin-top:24px}
  .editorial-hero-controls{left:18px;bottom:132px}
  .editorial-scroll-cue{display:none}
  .structure-hero-inner,.structure-tier-heading{grid-template-columns:1fr;gap:22px}
  .structure-section-groups,.structure-section-groups.is-single{grid-template-columns:1fr}
  .structure-group-card{border-right:0}
  .structure-admin-group>header,.structure-admin-role{align-items:flex-start;flex-direction:column}
}

@media(max-width:640px){
  .editorial-final-cta{padding:0}
  .editorial-final-cta-inner{width:min(calc(100% - 24px),var(--container));padding:58px 0}
  .editorial-hero{min-height:960px}
  .editorial-hero-copy{padding-top:56px}
  .editorial-hero-media,.editorial-hero-media>img{min-height:340px}
  .editorial-hero-media-caption{left:18px;right:18px;bottom:18px}
  .editorial-hero-proof{width:min(calc(100% - 24px),var(--container))}
  .editorial-hero-controls{bottom:158px;left:12px}
  .editorial-hero-arrow,.editorial-hero-dot{min-width:36px;height:36px;padding:0 8px}
  .structure-tier-heading{padding:26px 22px}
  .structure-group-heading{padding:23px 22px}
  .structure-people-grid{grid-template-columns:1fr}
  .structure-person-card{grid-template-columns:78px minmax(0,1fr)}
  .structure-person-photo{width:78px;min-height:132px}
  .structure-person-photo img,.structure-person-photo span{min-height:132px}
  .structure-person-content{padding:18px}
  .structure-admin-stats{grid-template-columns:1fr}
  .structure-admin-stats>div{border-right:0;border-bottom:1px solid #cfd9e5}
  .structure-admin-stats>div:last-child{border-bottom:0}
}

/* Final geometry lock: keep the 2.3 interface square even where older module CSS remains. */
body *:not(input[type="radio"]){border-radius:0!important}
body *::before,body *::after{border-radius:0!important}

/* --------------------------------------------------------------------------
   NZEIA 2.3.2 calmer public layout, standard hero and continuous photo gallery
   -------------------------------------------------------------------------- */
body h1,body h2{
  font-weight:600!important;
  letter-spacing:-.025em!important;
}
body h3,body h4{
  font-weight:650!important;
  letter-spacing:-.015em!important;
}
.eyebrow,.editorial-kicker{font-weight:700}

/* A familiar full-width image slider with one clear message per slide. */
.homepage-hero{
  position:relative;
  min-height:650px;
  overflow:hidden;
  background:#1D2E47;
  color:#fff;
}
.homepage-hero-slide{
  position:absolute;
  inset:0;
  z-index:0;
  opacity:0;
  pointer-events:none;
  transition:opacity .7s ease;
}
.homepage-hero-slide.active{z-index:1;opacity:1;pointer-events:auto}
.homepage-hero-image{
  position:absolute;
  inset:0;
  width:100%;
  height:100%;
  object-fit:cover;
}
.homepage-hero-fallback{background:linear-gradient(120deg,#2D4970 0%,#1D2E47 70%)}
.homepage-hero-overlay{
  position:absolute;
  inset:0;
  background:linear-gradient(90deg,#122034 0%,#122034 48%,rgba(18,32,52,.28) 100%);
  opacity:var(--hero-overlay);
}
.homepage-hero-content{
  position:relative;
  z-index:2;
  display:flex;
  min-height:650px;
  flex-direction:column;
  justify-content:center;
  align-items:flex-start;
  padding-top:72px;
  padding-bottom:96px;
}
.homepage-hero-kicker{
  max-width:680px;
  margin:0 0 18px;
  color:#d8e5f3;
  font-size:12px;
  font-weight:700;
  letter-spacing:.12em;
  text-transform:uppercase;
}
.homepage-hero-content h1{
  max-width:820px;
  margin:0;
  color:#fff;
  font-size:clamp(48px,6.5vw,82px);
  line-height:1.02;
}
.homepage-hero-lead{
  max-width:680px;
  margin:24px 0 0;
  color:#edf3fa;
  font-size:clamp(17px,1.8vw,21px);
  line-height:1.6;
}
.homepage-hero-button{
  margin-top:32px;
  min-width:190px;
  background:#fff;
  border-color:#fff;
  color:#1D2E47;
  box-shadow:none;
}
.homepage-hero-button:hover{background:#e9f0f8;border-color:#e9f0f8;color:#1D2E47}
.homepage-hero-controls{
  position:absolute;
  z-index:4;
  left:50%;
  bottom:28px;
  display:flex;
  align-items:center;
  gap:14px;
  transform:translateX(-50%);
}
.homepage-hero-arrow{
  display:grid;
  place-items:center;
  width:38px;
  height:38px;
  padding:0;
  border:1px solid rgba(255,255,255,.58);
  background:rgba(19,34,56,.22);
  color:#fff;
  font-size:25px;
  line-height:1;
}
.homepage-hero-arrow:hover{background:#fff;color:#1D2E47}
.homepage-hero-dots{display:flex;align-items:center;gap:9px}
.homepage-hero-dot{
  width:9px;
  height:9px;
  padding:0;
  border:1px solid rgba(255,255,255,.9);
  background:transparent;
}
.homepage-hero-dot.active{background:#fff}

/* Continuous homepage photo gallery. */
.homepage-gallery{
  overflow:hidden;
  padding:82px 0 88px;
  border-top:1px solid #dce4ed;
  border-bottom:1px solid #dce4ed;
  background:#f6f8fb;
}
.homepage-gallery-intro{
  display:grid;
  grid-template-columns:minmax(0,1fr) minmax(280px,.7fr);
  gap:60px;
  align-items:end;
  margin-bottom:38px;
}
.homepage-gallery-intro h2{
  max-width:700px;
  margin:0;
  font-size:clamp(36px,4.5vw,58px);
  line-height:1.08;
}
.homepage-gallery-intro .editorial-rich{font-size:16px;line-height:1.7}
.homepage-gallery-window{width:100%;overflow:hidden}
.homepage-gallery-track{
  display:flex;
  width:max-content;
  will-change:transform;
  animation:nzeia-gallery-scroll 46s linear infinite;
}
.homepage-gallery-window:hover .homepage-gallery-track,
.homepage-gallery-window:focus-within .homepage-gallery-track{animation-play-state:paused}
.homepage-gallery-group{
  display:flex;
  gap:18px;
  padding-right:18px;
}
.homepage-gallery-item{
  position:relative;
  flex:0 0 clamp(280px,34vw,460px);
  margin:0;
  overflow:hidden;
  background:#dce4ed;
}
.homepage-gallery-item img{
  width:100%;
  aspect-ratio:3/2;
  object-fit:cover;
  transition:transform .35s ease;
}
.homepage-gallery-item:hover img{transform:scale(1.018)}
.homepage-gallery-item figcaption{
  position:absolute;
  left:0;
  right:0;
  bottom:0;
  padding:34px 18px 15px;
  background:linear-gradient(180deg,transparent,rgba(15,29,47,.82));
  color:#fff;
  font-size:13px;
  font-weight:600;
}
@keyframes nzeia-gallery-scroll{to{transform:translateX(-50%)}}

/* Scholarship application panel contrast. */
.scholarship-apply-card .rich-text,
.scholarship-apply-card .rich-text p,
.scholarship-apply-card .scholarship-committee{
  color:#52657c!important;
}
.scholarship-apply-card h2{color:#1D2E47}
.scholarship-dates dt{color:#607087}
.scholarship-dates dd{color:#1D2E47}

/* A quieter structure directory: fewer colour blocks, no people counters. */
.structure-hero{
  background:#f3f6fa!important;
  color:#1D2E47!important;
  border-bottom:1px solid #dce4ed!important;
}
.structure-hero .eyebrow{color:#3D6399!important}
.structure-hero h1{color:#1D2E47!important}
.structure-hero-inner>p{color:#607087!important}
.structure-section{background:#fff!important}
.structure-page{gap:64px}
.structure-tier,
.structure-tier-regional,
.structure-tier-education{
  padding:0!important;
  border:0!important;
  background:transparent!important;
}
.structure-tier-heading{
  grid-template-columns:minmax(0,1fr) minmax(280px,.55fr);
  gap:48px;
  padding:0 0 24px!important;
  border:0!important;
  border-bottom:1px solid #cfd9e5!important;
  background:transparent!important;
}
.structure-tier-heading h2{font-size:clamp(32px,4vw,50px)!important}
.structure-tier-heading>p{color:#607087!important}
.structure-section-groups,
.structure-section-groups.is-single{
  grid-template-columns:repeat(2,minmax(0,1fr))!important;
  gap:22px!important;
  padding-top:24px;
}
.structure-section-groups.is-single{grid-template-columns:1fr!important}
.structure-group-card,
.structure-section-groups .structure-group-card:nth-child(even),
.structure-section-groups.is-single .structure-group-card{
  border:1px solid #d7e0ea!important;
  background:#fff!important;
}
.structure-group-heading{
  padding:22px 24px!important;
  border-bottom:1px solid #d7e0ea!important;
  background:#f7f9fb!important;
  color:#1D2E47!important;
}
.structure-group-heading h3{color:#1D2E47!important;font-size:24px!important}
.structure-group-heading span{color:#607087!important}
.structure-people-grid{grid-template-columns:1fr!important}
.structure-person-card,
.structure-person-card:nth-child(even){
  grid-template-columns:82px minmax(0,1fr)!important;
  border:0!important;
  border-top:1px solid #e1e7ef!important;
  background:#fff!important;
}
.structure-people-grid>.structure-person-card:first-child{border-top:0!important}
.structure-person-photo{width:82px!important;min-height:122px!important;background:#e8edf3!important}
.structure-person-photo img,
.structure-person-photo span{min-height:122px!important}
.structure-person-photo span{background:#64758a!important;font-size:23px!important}
.structure-person-content{padding:19px 20px!important}
.structure-role-list{gap:8px!important;margin-bottom:9px!important}
.structure-role-list span{
  padding:0!important;
  background:transparent!important;
  color:#3D6399!important;
  font-size:10px!important;
  font-weight:700!important;
  letter-spacing:.07em!important;
}
.structure-person-content h4{font-size:19px!important}
.structure-person-company{color:#607087!important;font-weight:600!important}
.structure-person-contact{margin-top:11px!important;padding-top:10px!important;border-top:1px solid #e4e9f0!important}
.structure-person-contact a{color:#405b7d!important;font-weight:600!important}

@media(max-width:900px){
  .homepage-gallery-intro{grid-template-columns:1fr;gap:18px}
  .structure-section-groups,.structure-section-groups.is-single{grid-template-columns:1fr!important}
}
@media(max-width:640px){
  .homepage-hero,.homepage-hero-content{min-height:570px}
  .homepage-hero-content{padding-top:72px;padding-bottom:90px}
  .homepage-hero-overlay{background:#122034;opacity:var(--hero-overlay)}
  .homepage-hero-content h1{font-size:44px;line-height:1.06}
  .homepage-hero-lead{font-size:16px;line-height:1.55}
  .homepage-hero-controls{bottom:22px}
  .homepage-gallery{padding:62px 0 68px}
  .homepage-gallery-intro{margin-bottom:28px}
  .homepage-gallery-item{flex-basis:270px}
  .structure-tier-heading{grid-template-columns:1fr!important;gap:14px!important}
}
@media(prefers-reduced-motion:reduce){
  .homepage-hero-slide{transition:none}
  .homepage-gallery-window{overflow-x:auto}
  .homepage-gallery-track{animation:none}
  .homepage-gallery-group[aria-hidden="true"]{display:none}
  .homepage-gallery-item img{transition:none}
}

/* Keep large public headings comfortable to scan rather than compressed. */
.editorial-section-intro h2{
  font-size:clamp(38px,5vw,64px)!important;
  line-height:1.08!important;
}
.page-hero h1,.directory-hero h1{
  font-size:clamp(40px,5.8vw,70px)!important;
  line-height:1.08!important;
}
.editorial-principle h3,.editorial-plan-card h3,.editorial-benefit-row h3{
  line-height:1.18!important;
}

/* --------------------------------------------------------------------------
   NZEIA 2.3.3 — directory option management and 12-second dismissible alerts
   -------------------------------------------------------------------------- */
.alert-message{display:block;padding-right:4px}

.directory-admin-intro{max-width:none}
.directory-admin-intro p{max-width:920px;margin:6px 0 0}
.directory-admin-grid{
  display:grid;
  grid-template-columns:repeat(2,minmax(0,1fr));
  gap:24px;
  align-items:start;
}
.directory-admin-card{min-width:0}
.directory-total{
  flex:0 0 auto;
  padding:5px 9px;
  border:1px solid var(--line);
  background:var(--surface-soft);
  color:var(--muted);
  font-size:12px;
  font-weight:700;
}
.directory-admin-body{display:grid;gap:26px}
.directory-option-form{
  display:grid;
  gap:18px;
  padding:20px;
  border:1px solid var(--line);
  background:var(--surface-soft);
}
.directory-form-heading{
  display:flex;
  align-items:flex-start;
  justify-content:space-between;
  gap:16px;
}
.directory-form-heading h3{margin:0;font-size:19px}
.directory-form-heading p{margin:4px 0 0;color:var(--muted);font-size:13px}
.directory-option-fields{grid-template-columns:minmax(0,1fr) 120px;gap:14px}
.directory-form-actions{
  display:flex;
  justify-content:space-between;
  align-items:center;
  gap:14px;
  flex-wrap:wrap;
}
.directory-option-list{display:grid;border-top:1px solid var(--line)}
.directory-option-row{
  display:grid;
  grid-template-columns:minmax(0,1fr) auto;
  gap:18px;
  align-items:center;
  padding:18px 0;
  border-bottom:1px solid var(--line);
}
.directory-option-row.is-hidden{background:linear-gradient(90deg,transparent,var(--surface-soft))}
.directory-option-main{min-width:0}
.directory-option-main>strong{display:block;font-size:16px;overflow-wrap:anywhere}
.directory-option-meta{
  display:flex;
  align-items:center;
  flex-wrap:wrap;
  gap:8px 12px;
  margin-top:7px;
  color:var(--muted);
  font-size:12px;
}
.directory-option-actions{
  display:flex;
  justify-content:flex-end;
  align-items:center;
  gap:7px;
  flex-wrap:wrap;
}
.directory-option-actions .btn{white-space:nowrap}

@media(max-width:1180px){
  .directory-admin-grid{grid-template-columns:1fr}
}
@media(max-width:680px){
  .directory-option-fields{grid-template-columns:1fr}
  .directory-option-row{grid-template-columns:1fr;gap:12px}
  .directory-option-actions{justify-content:flex-start}
  .directory-form-heading{display:grid}
  .directory-form-actions{align-items:stretch}
  .directory-form-actions>.btn{width:100%}
}


/* --------------------------------------------------------------------------
   NZEIA 2.3.6 — accessible registration choices, profile silhouettes and CTAs
   -------------------------------------------------------------------------- */
.registration-form{gap:30px}
.registration-selection-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:24px}
.selection-fieldset{min-width:0;margin:0;padding:24px;border:1px solid #c9d4e1;background:#f8fafc}
.selection-fieldset legend{padding:0 8px;color:#1D2E47;font-size:20px;font-weight:650}
.selection-help{margin:0 0 16px;color:#5c6d82;font-size:15px;line-height:1.55}
.checkbox-choice-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}
.checkbox-choice{display:flex;min-height:54px;align-items:center;gap:12px;margin:0;padding:12px 14px;border:1px solid #c8d3df;background:#fff;color:#263a53;cursor:pointer;font-size:16px;line-height:1.35}
.checkbox-choice:hover{border-color:#668bb9;background:#f2f6fb}
.checkbox-choice:focus-within{outline:3px solid rgba(94,152,235,.28);outline-offset:2px}
.checkbox-choice input[type="checkbox"]{width:22px;height:22px;min-width:22px;margin:0;accent-color:#2D4970}
.checkbox-choice:has(input:checked){border-color:#2D4970;background:#eaf0f7;color:#1D2E47}
.checkbox-choice span{font-weight:600}
.profile-photo-editor{display:grid;grid-template-columns:120px minmax(0,1fr);gap:24px;align-items:center;padding:22px;border:1px solid #c9d4e1;background:#f8fafc}
.profile-photo-editor img{width:120px;height:140px;object-fit:cover;background:#e8edf3}
.profile-photo-editor h3{margin:0 0 8px;font-size:21px}
.profile-photo-editor p{margin:7px 0 0;color:#5c6d82;line-height:1.55}
.profile-photo-editor label{max-width:520px}
.profile-selection-grid{margin-top:4px}
.structure-person-photo img,.structure-admin-person img,.member-card img,.profile-photo,.user-chip>img,.table-person img{background:#e8edf3;object-fit:cover}
@media(max-width:900px){.registration-selection-grid{grid-template-columns:1fr}}
@media(max-width:640px){
  .selection-fieldset{padding:19px 16px}
  .checkbox-choice-grid{grid-template-columns:1fr}
  .checkbox-choice{min-height:58px;font-size:17px}
  .profile-photo-editor{grid-template-columns:88px minmax(0,1fr);gap:16px;padding:18px 16px}
  .profile-photo-editor img{width:88px;height:108px}
}

.registration-form input:not([type="checkbox"]),.registration-form select,.registration-form textarea{font-size:17px}
.registration-form input:not([type="checkbox"]),.registration-form select{min-height:52px}
.registration-form textarea{min-height:116px;line-height:1.55}
.registration-form>.btn{min-height:54px;font-size:17px}

/* --------------------------------------------------------------------------
   NZEIA 2.3.7 — region dropdown and full-width practising areas
   -------------------------------------------------------------------------- */
.registration-page .form-container{max-width:1100px}
.practising-areas-fieldset{width:100%}
.practising-areas-fieldset .checkbox-choice-grid{grid-template-columns:repeat(3,minmax(0,1fr))}
.registration-form input:not([type="checkbox"]):not([type="radio"]):not([type="file"]),
.registration-form select:not([multiple]){
  height:52px;
  min-height:52px;
}
@media(max-width:980px){
  .practising-areas-fieldset .checkbox-choice-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
}
@media(max-width:640px){
  .practising-areas-fieldset .checkbox-choice-grid{grid-template-columns:1fr}
}

/* --------------------------------------------------------------------------
   NZEIA 2.3.9 — clearer executive and education profile cards
   -------------------------------------------------------------------------- */
.structure-profile-grid{
  display:grid;
  grid-template-columns:repeat(2,minmax(0,1fr));
  gap:22px;
  padding-top:24px;
}
.structure-profile-grid>.structure-profile-card,
.structure-profile-grid>.structure-profile-card:nth-child(even){
  display:grid!important;
  grid-template-columns:128px minmax(0,1fr)!important;
  min-height:176px;
  border:1px solid #d7e0ea!important;
  background:#fff!important;
}
.structure-profile-grid>.structure-profile-card .structure-person-photo{
  width:128px!important;
  min-height:174px!important;
  border-right:1px solid #d7e0ea;
  background:#e8edf3!important;
}
.structure-profile-grid>.structure-profile-card .structure-person-photo img,
.structure-profile-grid>.structure-profile-card .structure-person-photo span{
  width:100%;
  min-height:174px!important;
  height:100%;
}
.structure-profile-grid>.structure-profile-card .structure-person-content{
  display:flex;
  min-width:0;
  flex-direction:column;
  justify-content:center;
  padding:24px!important;
}
.structure-profile-grid>.structure-profile-card .structure-person-content h4{
  font-size:21px!important;
}
.structure-profile-grid>.structure-profile-card .structure-person-contact{
  margin-top:14px!important;
  padding-top:12px!important;
}
.structure-section-empty{margin-top:24px}

@media(max-width:980px){
  .structure-profile-grid{grid-template-columns:1fr}
}
@media(max-width:640px){
  .structure-profile-grid{gap:14px;padding-top:18px}
  .structure-profile-grid>.structure-profile-card,
  .structure-profile-grid>.structure-profile-card:nth-child(even){
    grid-template-columns:104px minmax(0,1fr)!important;
    min-height:154px;
  }
  .structure-profile-grid>.structure-profile-card .structure-person-photo{
    width:104px!important;
    min-height:152px!important;
  }
  .structure-profile-grid>.structure-profile-card .structure-person-photo img,
  .structure-profile-grid>.structure-profile-card .structure-person-photo span{
    min-height:152px!important;
  }
  .structure-profile-grid>.structure-profile-card .structure-person-content{
    padding:18px!important;
  }
}

/* --------------------------------------------------------------------------
   NZEIA 2.3.10 — account controls, document accordions and admin photos
   -------------------------------------------------------------------------- */
.document-heading-list{
  gap:0;
  border:1px solid var(--line);
  background:#fff;
}
.document-heading-list .document-admin-item{
  border:0;
  border-bottom:1px solid var(--line);
  border-radius:0;
}
.document-heading-list .document-admin-item:last-child{border-bottom:0}
.document-heading-item.is-inactive>summary{background:#f5f6f7}
.document-admin-item>summary{
  grid-template-columns:46px minmax(0,1fr) auto 20px;
}
.document-admin-item>summary::after{
  content:'+';
  display:grid;
  place-items:center;
  width:20px;
  height:20px;
  color:var(--brand-dark);
  font-size:20px;
  font-weight:500;
  line-height:1;
}
.document-admin-item[open]>summary::after{content:'−'}
.document-admin-item[open]>summary{background:#eef3f8}
.document-heading-item-body{align-items:start}
.document-heading-secondary-action{
  width:min(280px,100%);
  padding:16px;
  border:1px solid var(--line);
  background:var(--surface-soft);
}
.document-heading-secondary-action .help{margin:0;line-height:1.55}

.account-action-list{display:grid;padding:0}
.account-action-row{
  display:grid;
  grid-template-columns:minmax(0,1fr) auto;
  gap:28px;
  align-items:center;
  padding:24px;
  border-bottom:1px solid var(--line);
}
.account-action-row:last-child{border-bottom:0}
.account-action-row strong{display:block;color:var(--ink);font-size:17px}
.account-action-row p{max-width:760px;margin:6px 0 0;color:var(--muted);line-height:1.6}
.account-action-row.danger-action{background:#fff8f8}
.account-action-row.danger-action>div>strong{color:var(--danger)}
.account-action-row.is-pending{background:var(--surface-soft)}

@media(max-width:720px){
  .document-admin-item>summary{grid-template-columns:42px minmax(0,1fr) 20px}
  .document-admin-item>summary>.badge{grid-column:2;justify-self:start}
  .document-admin-item>summary::after{grid-column:3;grid-row:1 / span 2}
  .account-action-row{grid-template-columns:1fr;gap:16px;align-items:start}
  .account-action-row form,.account-action-row .btn{width:100%}
}

.admin-photo-editor{margin-bottom:2px}
.admin-photo-editor .checkbox-row{margin-top:12px}

/* Member shortcuts are shown immediately below the profile-page actions. */
.member-profile-links-top{margin:0 0 24px}

/* --------------------------------------------------------------------------
   NZEIA 2.3.11 — administrator list action alignment
   -------------------------------------------------------------------------- */
.data-table td.admin-user-actions{
  display:table-cell;
  width:1%;
  min-width:168px;
  text-align:right;
  white-space:nowrap;
}
.table-action-group{
  display:inline-flex;
  flex-wrap:nowrap;
  align-items:center;
  justify-content:flex-end;
  gap:8px;
  white-space:nowrap;
}
.table-action-group .inline-form{
  display:inline-flex;
  margin:0;
}
.table-action-group .btn{
  flex:0 0 auto;
  white-space:nowrap;
}


/* --------------------------------------------------------------------------
   NZEIA 2.3.12 — full-bleed supporter imagery
   -------------------------------------------------------------------------- */
.editorial-sponsor{
  position:relative;
  overflow:hidden;
  padding:0;
}
.editorial-sponsor img{
  position:absolute;
  inset:0;
  width:100%;
  height:100%;
  max-width:none;
  max-height:none;
  display:block;
  object-fit:cover;
  object-position:center;
  filter:none;
  transition:transform .3s ease;
}
.editorial-sponsor:hover img{transform:scale(1.025)}
.editorial-sponsor span{padding:24px}
@media (prefers-reduced-motion:reduce){
  .editorial-sponsor img{transition:none}
  .editorial-sponsor:hover img{transform:none}
}


/* --------------------------------------------------------------------------
   NZEIA 2.3.13 — structure-only email and drag-and-drop hierarchy
   -------------------------------------------------------------------------- */
.structure-linked-fields{display:grid;gap:12px;padding:16px;border:1px solid var(--line);background:var(--surface-soft)}
.structure-linked-fields[hidden],.structure-manual-fields[hidden]{display:none!important}
.structure-sort-toolbar{display:flex;justify-content:space-between;align-items:center;gap:18px;padding:12px 18px;border-bottom:1px solid #dce3ec;background:#f9fbfd;color:#607087;font-size:12px;line-height:1.45}
.structure-sort-toolbar strong{color:#1D2E47}
.structure-sort-status{min-width:128px;text-align:right;color:#2f6b45;font-weight:750}
.structure-sort-status.is-saving{color:#53657a}
.structure-sort-status.is-error{color:#b42318}
.structure-admin-role{position:relative}
.structure-admin-order{display:flex;flex:0 0 48px;flex-direction:column;align-items:center;justify-content:center;gap:4px;align-self:stretch;border-right:1px solid #e1e7ef;padding-right:12px}
.structure-drag-handle{display:grid;width:34px;height:34px;place-items:center;border:1px solid #bdcad8;background:#fff;color:#405b7d;cursor:grab;user-select:none;touch-action:none}
.structure-drag-handle:hover{border-color:#668bb9;background:#edf3f9;color:#1D2E47}
.structure-drag-handle:focus{outline:3px solid rgba(75,122,188,.26);outline-offset:2px}
.structure-drag-handle:active{cursor:grabbing}
.structure-drag-handle svg{width:18px;height:18px;fill:currentColor}
.structure-order-number{color:#718095;font-size:11px;font-weight:800;line-height:1}
.structure-admin-role.is-dragging{z-index:2;opacity:.48;background:#edf3f9;box-shadow:0 8px 22px rgba(28,47,72,.14)}
.structure-admin-role-list.is-saving{cursor:progress}
.structure-person-contact{margin-top:12px}
.structure-person-contact a{display:inline-block}
@media(max-width:900px){
  .structure-admin-role{display:grid!important;grid-template-columns:44px minmax(0,1fr);gap:14px}
  .structure-admin-order{grid-row:1 / span 2;padding-right:10px}
  .structure-admin-role>.button-row{grid-column:2;justify-content:flex-start}
  .structure-sort-toolbar{align-items:flex-start;flex-direction:column;gap:5px}
  .structure-sort-status{text-align:left}
}


/* --------------------------------------------------------------------------
   NZEIA 2.3.14 — online forum and retired member support
   -------------------------------------------------------------------------- */
.forum-video-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:22px}
.forum-video-card{overflow:hidden}
.forum-video-frame{position:relative;aspect-ratio:16/9;background:#0f1b2b;border-bottom:1px solid var(--line)}
.forum-video-frame iframe,.forum-admin-thumb iframe{position:absolute;inset:0;width:100%;height:100%;border:0}
.forum-video-content{padding:22px;display:grid;gap:12px}
.forum-video-content h3{margin:0;font-size:22px;line-height:1.25;color:#1D2E47}
.forum-video-content p{margin:0;color:#53657a;line-height:1.65}
.forum-admin-list{display:grid;gap:14px}
.forum-admin-item{display:grid;grid-template-columns:220px minmax(0,1fr) auto;gap:18px;align-items:center;padding:16px;border:1px solid var(--line);background:#fff}
.forum-admin-thumb{position:relative;aspect-ratio:16/9;background:#0f1b2b}
.forum-admin-meta{display:grid;gap:8px;min-width:0}
.forum-admin-title-row{display:flex;align-items:center;justify-content:space-between;gap:12px}
.forum-admin-title-row h3{margin:0;font-size:18px;line-height:1.25;color:#1D2E47}
.forum-admin-meta p{margin:0;color:#53657a;line-height:1.55}
.forum-admin-meta small{color:#718095;font-size:12px}
.forum-admin-actions{justify-content:flex-end;white-space:nowrap}
@media(max-width:1050px){.forum-admin-item{grid-template-columns:180px minmax(0,1fr)}.forum-admin-actions{grid-column:1 / -1;justify-content:flex-start}}
@media(max-width:760px){.forum-video-grid{grid-template-columns:1fr}.forum-admin-item{grid-template-columns:1fr}.forum-admin-thumb{max-width:100%}.forum-admin-title-row{align-items:flex-start;flex-direction:column}.forum-admin-actions{white-space:normal}}

/* --------------------------------------------------------------------------
   NZEIA 2.3.15 — public experience polish
   -------------------------------------------------------------------------- */
.skip-link{
  position:fixed;
  z-index:1000;
  top:12px;
  left:12px;
  padding:11px 15px;
  background:#fff;
  color:#17283d;
  border:2px solid #5E98EB;
  transform:translateY(-160%);
  transition:transform .18s ease;
}
.skip-link:focus{transform:translateY(0)}
:focus-visible{outline:3px solid #78abf2;outline-offset:3px}

.public-header{box-shadow:0 1px 0 rgba(29,46,71,.1),0 10px 35px rgba(29,46,71,.035)}
.public-nav>a:not(.btn){font-weight:650}
.nav-login{background:#1D2E47;border-color:#1D2E47}
.nav-login:hover{background:#2D4970;border-color:#2D4970}

.homepage-hero{min-height:720px}
.homepage-hero-content{min-height:720px;padding-bottom:84px}
.homepage-hero-fallback{object-position:center center}
.homepage-hero-overlay{
  background:linear-gradient(90deg,rgba(12,27,45,.94) 0%,rgba(12,27,45,.84) 35%,rgba(12,27,45,.28) 72%,rgba(12,27,45,.08) 100%);
  opacity:1;
}
.homepage-hero-kicker{color:#bcd7fb;font-size:11px;letter-spacing:.16em}
.homepage-hero-content h1{max-width:780px;font-size:clamp(52px,6.6vw,86px);line-height:.98;text-wrap:balance}
.homepage-hero-lead{max-width:650px;color:#e7eef7}
.homepage-hero-actions{display:flex;align-items:center;flex-wrap:wrap;gap:24px;margin-top:34px}
.homepage-hero-button{margin-top:0;min-height:52px;padding-inline:24px}
.homepage-hero-link{display:inline-flex;align-items:center;gap:9px;color:#fff;font-weight:750;border-bottom:1px solid rgba(255,255,255,.55);padding:8px 0}
.homepage-hero-link:hover{color:#cfe2fb;border-color:#cfe2fb}
.homepage-hero-trust{display:flex;flex-wrap:wrap;gap:12px 28px;margin:36px 0 0;padding:0;list-style:none;color:#dbe6f2;font-size:12px;font-weight:650}
.homepage-hero-trust li{display:flex;align-items:center;gap:9px}
.homepage-hero-trust li::before{content:"";width:6px;height:6px;background:#77aaf1}

.editorial-section{padding:clamp(78px,8vw,112px) 0}
.editorial-section-intro h2{text-wrap:balance}
.editorial-rich{max-width:72ch}
.editorial-about-media{margin-block:52px 42px;box-shadow:0 22px 65px rgba(29,46,71,.11)}
.editorial-principles{gap:0;border:1px solid #d6e0ec}
.editorial-principle{border:0;border-right:1px solid #d6e0ec;background:#fff!important}
.editorial-principle:last-child{border-right:0}
.editorial-card-index{margin-bottom:48px}
.editorial-benefit-list{border-color:#cbd8e7}
.editorial-benefit-row{transition:background-color .18s ease}
.editorial-benefit-row:hover{background:#f7faff}
.editorial-plan-grid{max-width:none}
.editorial-plan-card{min-height:500px;padding:42px}
.editorial-plan-card.featured{background:#1D2E47;color:#fff;border-color:#1D2E47}
.editorial-plan-card.featured .editorial-plan-label{color:#9fc5fb}
.editorial-plan-card.featured .editorial-price span,
.editorial-plan-card.featured .editorial-plan-body{color:#d6e1ee}
.editorial-plan-card.featured .btn-primary{background:#fff;border-color:#fff;color:#1D2E47}
.editorial-inspector-search{border-top:4px solid #5E98EB;padding:38px}
.editorial-scholarship-media.is-placeholder{background:linear-gradient(145deg,#4B7ABC,#2D4970 58%,#1D2E47)}
.editorial-contact-form{border-top:4px solid #5E98EB}

@media(max-width:900px){
  .editorial-principles{grid-template-columns:1fr}
  .editorial-principle{border-right:0;border-bottom:1px solid #d6e0ec}
  .editorial-principle:last-child{border-bottom:0}
}
@media(max-width:640px){
  .homepage-hero,.homepage-hero-content{min-height:660px}
  .homepage-hero-content{justify-content:flex-end;padding-top:88px;padding-bottom:76px}
  .homepage-hero-image{object-position:62% center}
  .homepage-hero-overlay{background:linear-gradient(180deg,rgba(12,27,45,.2) 0%,rgba(12,27,45,.72) 34%,rgba(12,27,45,.98) 100%)}
  .homepage-hero-content h1{font-size:43px}
  .homepage-hero-actions{align-items:flex-start;flex-direction:column;gap:12px;margin-top:26px}
  .homepage-hero-button{width:100%}
  .homepage-hero-trust{display:none}
  .homepage-hero-controls{bottom:18px}
  .editorial-plan-card{padding:26px}
  .editorial-inspector-search{padding:26px}
}

/* --------------------------------------------------------------------------
   NZEIA 2.3.16 — member-first experience
   -------------------------------------------------------------------------- */
.side-nav-label{
  display:block;
  padding:18px 13px 7px;
  color:#89a1ba;
  font-size:10px;
  font-weight:800;
  letter-spacing:.14em;
  text-transform:uppercase;
}
.side-nav-label:first-child{padding-top:4px}
.sidebar-backdrop{display:none}

.app-body:not([data-admin-area="true"]){background:#edf2f7}
.app-body:not([data-admin-area="true"]) .app-shell{grid-template-columns:270px minmax(0,1fr)}
.app-body:not([data-admin-area="true"]) .sidebar{padding:25px 17px;background:#16263b}
.app-body:not([data-admin-area="true"]) .side-nav{gap:2px}
.app-body:not([data-admin-area="true"]) .side-nav a{min-height:46px;padding:12px 13px;border-left:3px solid transparent;color:#d8e4ef;font-size:14px}
.app-body:not([data-admin-area="true"]) .side-nav a:hover{background:rgba(255,255,255,.07);border-left-color:#77aaf1;color:#fff}
.app-body:not([data-admin-area="true"]) .side-nav a.active{background:#fff;border-left-color:#5E98EB;color:#17283d}
.app-body:not([data-admin-area="true"]) .topbar{height:88px;padding-inline:32px;background:rgba(255,255,255,.97);border-bottom:1px solid #d9e2ec}
.app-body:not([data-admin-area="true"]) .content-wrap{width:100%;max-width:1420px;padding:34px 36px 60px}
.app-body:not([data-admin-area="true"]) .topbar-kicker{color:#4B7ABC}
.app-body:not([data-admin-area="true"]) .topbar h1{font-size:25px}

.member-welcome-panel{
  display:grid;
  grid-template-columns:minmax(0,1fr) auto;
  gap:36px;
  align-items:center;
  margin-bottom:22px;
  padding:42px 44px;
  background:linear-gradient(125deg,#1D2E47 0%,#2D4970 72%,#3D6399 100%);
  color:#fff;
}
.member-welcome-kicker{margin:0 0 12px;color:#a9cdff;font-size:11px;font-weight:800;letter-spacing:.14em;text-transform:uppercase}
.member-welcome-panel h2{margin:0;color:#fff;font-size:clamp(34px,4.2vw,56px);line-height:1.02}
.member-welcome-panel p:last-child{max-width:720px;margin:16px 0 0;color:#d9e5f1;font-size:17px;line-height:1.6}
.member-welcome-actions{display:flex;min-width:190px;flex-direction:column;align-items:stretch;gap:13px}
.member-status-chip{display:block;padding:8px 12px;border:1px solid rgba(255,255,255,.25);color:#fff;text-align:center;font-size:11px;font-weight:800;letter-spacing:.09em;text-transform:uppercase}
.member-status-chip.active{background:#dff4e7;border-color:#dff4e7;color:#17653c}
.member-status-chip.pending{background:#fff1cd;border-color:#fff1cd;color:#7a4b00}
.btn-light{background:#fff;border-color:#fff;color:#1D2E47}
.btn-light:hover{background:#dbe9fb;border-color:#dbe9fb;color:#1D2E47}

.member-metric-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:1px;margin-bottom:22px;border:1px solid #d2dce7;background:#d2dce7}
.member-metric-card{min-width:0;padding:24px;background:#fff}
.member-metric-card>span{display:block;color:#64758a;font-size:10px;font-weight:800;letter-spacing:.1em;text-transform:uppercase}
.member-metric-card strong{display:block;overflow-wrap:anywhere;margin-top:8px;color:#1D2E47;font-size:21px;line-height:1.2}
.member-metric-card small{display:block;margin-top:7px;color:#6a7b8f;font-size:12px}
.member-metric-card.needs-attention{box-shadow:inset 0 4px 0 #d49328}
.member-renewal-banner{display:flex;align-items:center;justify-content:space-between;gap:24px;margin-bottom:22px;padding:20px 24px;border-left:5px solid #d49328;background:#fff8e8}
.member-renewal-banner.expired{border-left-color:#b42318;background:#fff0ef}
.member-renewal-banner strong{color:#1D2E47;font-size:17px}
.member-renewal-banner p{margin:4px 0 0;color:#5c6e82}

.member-quick-grid{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:14px;margin-bottom:24px}
.member-quick-grid>a{display:grid;grid-template-columns:42px minmax(0,1fr);gap:3px 14px;align-content:center;min-height:112px;padding:20px;border:1px solid #d4dee9;background:#fff;color:#1D2E47;transition:border-color .18s ease,background .18s ease}
.member-quick-grid>a:hover{border-color:#7ea6d8;background:#f8fbff}
.member-quick-grid>a>span{grid-row:1 / span 2;display:grid;width:42px;height:42px;place-items:center;background:#eaf1fb;color:#2D4970;font-size:19px}
.member-quick-grid strong{align-self:end;font-size:15px}
.member-quick-grid small{align-self:start;color:#66788d;font-size:11px;line-height:1.4}

.member-dashboard-layout{display:grid;grid-template-columns:minmax(0,1.65fr) minmax(300px,.7fr);gap:22px;align-items:start}
.member-dashboard-main,.member-dashboard-side{display:grid;gap:22px}
.member-section-card,.member-side-card{border:1px solid #d4dee9;background:#fff}
.member-section-card{padding:28px}
.member-section-heading{display:flex;align-items:end;justify-content:space-between;gap:22px;margin-bottom:22px}
.member-section-heading .eyebrow{margin-bottom:7px}
.member-section-heading h2{margin:0;color:#1D2E47;font-size:27px;line-height:1.15}
.member-section-heading>a{flex:0 0 auto;color:#365f91;font-size:13px;font-weight:800}
.member-section-heading>span{color:#64758a;font-size:13px;font-weight:700}
.member-event-list,.member-resource-list{display:grid}
.member-event-list article{display:grid;grid-template-columns:64px minmax(0,1fr) auto;gap:18px;align-items:center;padding:17px 0;border-top:1px solid #e0e7ef}
.member-event-list article:first-child{border-top:0;padding-top:0}
.member-event-list article:last-child{padding-bottom:0}
.member-event-list time{display:grid;width:58px;height:58px;place-items:center;align-content:center;background:#edf3fb;color:#2D4970}
.member-event-list time strong{font-size:22px;line-height:1}.member-event-list time span{font-size:10px;font-weight:800;letter-spacing:.1em;text-transform:uppercase}
.member-event-list h3,.member-resource-list h3{margin:0;color:#1D2E47;font-size:17px;line-height:1.3}
.member-event-list p,.member-resource-list p{margin:4px 0 0;color:#65768a;font-size:12px;line-height:1.5}
.member-resource-list article{display:grid;grid-template-columns:46px minmax(0,1fr) auto;gap:15px;align-items:center;padding:17px 0;border-top:1px solid #e0e7ef}
.member-resource-list article:first-child{border-top:0;padding-top:0}
.member-resource-list article:last-child{padding-bottom:0}
.member-resource-list small{display:block;margin-bottom:3px;color:#4B7ABC;font-size:10px;font-weight:800;letter-spacing:.07em;text-transform:uppercase}
.member-resource-mark{display:grid;width:46px;height:46px;place-items:center;background:#eaf1fb;color:#2D4970;font-size:18px}

.member-side-card{padding:24px}
.member-side-heading{display:flex;align-items:center;justify-content:space-between;gap:18px}
.member-side-heading h2{margin:0;color:#1D2E47;font-size:18px}
.member-side-heading>strong{color:#2D4970;font-size:22px}
.member-side-card>p{margin:15px 0;color:#607287;font-size:13px;line-height:1.55}
.member-side-card>a{color:#365f91;font-size:13px;font-weight:800}
.member-progress{height:8px;margin-top:17px;overflow:hidden;background:#e3e9f0}
.member-progress span{display:block;height:100%;background:#5E98EB}
.member-cpd-list{list-style:none;margin:17px 0 0;padding:0}
.member-cpd-list li{display:flex;align-items:center;justify-content:space-between;gap:15px;padding:11px 0;border-top:1px solid #e0e7ef}
.member-cpd-list strong,.member-cpd-list small{display:block}.member-cpd-list strong{font-size:13px}.member-cpd-list small{color:#6a7b8e;font-size:11px}.member-cpd-list b{color:#2D4970}
.member-content-counts{margin:15px 0 0}
.member-content-counts>div{display:flex;justify-content:space-between;gap:16px;padding:10px 0;border-top:1px solid #e0e7ef}
.member-content-counts dt{color:#65768a;font-size:13px}.member-content-counts dd{margin:0;color:#1D2E47;font-weight:850}

.member-empty-state{display:flex;align-items:flex-start;gap:17px;padding:24px;background:#f4f7fa;color:#53657a}
.member-empty-state>span{display:grid;flex:0 0 44px;width:44px;height:44px;place-items:center;background:#dfe9f5;color:#2D4970;font-size:18px}
.member-empty-state strong{display:block;color:#1D2E47;font-size:16px}
.member-empty-state p{max-width:680px;margin:5px 0 0;color:#607287;line-height:1.55}
.member-empty-state .btn{margin-top:15px}
.member-empty-state-large{min-height:180px;align-items:center;justify-content:center;border:1px solid #d4dee9;background:#fff}
.member-access-state{display:grid;grid-template-columns:72px minmax(0,760px);gap:26px;align-items:start;padding:40px;border:1px solid #d4dee9;background:#fff}
.member-access-state>span{display:grid;width:72px;height:72px;place-items:center;background:#e7f5ec;color:#17653c;font-size:30px}
.member-access-state h2{margin:0;color:#1D2E47;font-size:32px}.member-access-state p:not(.eyebrow){color:#5d6f83;line-height:1.65}

.member-page-intro{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:40px;align-items:end;margin-bottom:22px;padding:36px 38px;border:1px solid #d4dee9;background:#fff}
.member-page-intro .eyebrow{margin-bottom:10px}
.member-page-intro h2{max-width:850px;margin:0;color:#1D2E47;font-size:clamp(32px,4.2vw,52px);line-height:1.05}
.member-page-intro p:last-child{max-width:740px;margin:16px 0 0;color:#5e7084;font-size:16px;line-height:1.6}
.member-page-intro-stat{display:grid;min-width:130px;justify-items:end;padding-left:30px;border-left:1px solid #d4dee9}
.member-page-intro-stat strong{color:#2D4970;font-size:44px;line-height:1}.member-page-intro-stat span{margin-top:6px;color:#68798c;font-size:11px;font-weight:800;text-transform:uppercase;letter-spacing:.08em}

.member-resource-search,.member-directory-filter{display:grid;grid-template-columns:minmax(260px,1.4fr) minmax(210px,.75fr) auto auto;gap:12px;align-items:end;margin-bottom:30px;padding:20px;border:1px solid #d4dee9;background:#fff}
.member-directory-filter{grid-template-columns:minmax(230px,1.25fr) repeat(2,minmax(190px,.8fr)) auto auto}
.member-resource-search label,.member-directory-filter label{display:grid;gap:7px;color:#40546c;font-size:11px;font-weight:800;letter-spacing:.06em;text-transform:uppercase}
.member-resource-search input,.member-resource-search select,.member-directory-filter input,.member-directory-filter select{height:50px}
.member-resource-categories{margin-bottom:36px}
.member-resource-categories .document-category-grid{grid-template-columns:repeat(3,minmax(0,1fr))}
.member-resource-categories .document-category-card{min-height:106px;border-color:#d4dee9;box-shadow:none}
.member-resource-categories .document-category-card:hover{transform:none;border-color:#7ea6d8;background:#f8fbff;box-shadow:none}
.member-resource-results{margin-top:10px}
.member-resource-card-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:15px}
.member-resource-card{display:flex;min-height:310px;flex-direction:column;padding:24px;border:1px solid #d4dee9;background:#fff}
.member-resource-card-top{display:flex;align-items:center;gap:11px;color:#4B7ABC;font-size:10px;font-weight:800;letter-spacing:.07em;text-transform:uppercase}
.member-resource-card-top .member-resource-mark{width:40px;height:40px}
.member-resource-card h3{margin:24px 0 10px;color:#1D2E47;font-size:20px;line-height:1.25}
.member-resource-card p{margin:0;color:#607287;line-height:1.6}
.member-resource-card>small{display:block;margin:18px 0;color:#718196;font-size:11px;line-height:1.5}
.member-resource-card>.btn{margin-top:auto}
.member-breadcrumb{margin-bottom:18px}.member-breadcrumb a{color:#365f91;font-size:13px;font-weight:800}

.member-directory-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:15px}
.member-directory-card{display:grid;grid-template-columns:118px minmax(0,1fr);min-height:245px;border:1px solid #d4dee9;background:#fff}
.member-directory-card>img{width:118px;height:100%;min-height:245px;object-fit:cover;background:#e5ebf2}
.member-directory-copy{display:flex;min-width:0;flex-direction:column;padding:24px}
.member-directory-name{display:flex;align-items:flex-start;justify-content:space-between;gap:14px}
.member-directory-name h3{margin:0;color:#1D2E47;font-size:22px;line-height:1.2}.member-directory-name p{margin:5px 0 0;color:#617388}.member-directory-name>span{color:#718196;font-size:10px;font-weight:800;white-space:nowrap}
.member-directory-regions{display:flex;gap:8px;margin-top:15px;color:#607287;font-size:12px}.member-directory-regions strong{color:#2D4970}
.member-directory-card .member-area-tags{justify-content:flex-start;margin-top:14px}
.member-directory-card .member-area-tag{padding:5px 8px;border:1px solid #cddaea;background:#edf3fb;font-size:10px}
.member-directory-contact{display:flex;flex-wrap:wrap;gap:8px 16px;margin-top:auto;padding-top:17px;border-top:1px solid #e0e7ef}
.member-directory-contact a{color:#365f91;font-size:12px;font-weight:750;overflow-wrap:anywhere}
.member-video-grid{margin-top:0}
.member-video-grid .member-empty-state{grid-column:1/-1}

.app-body:not([data-admin-area="true"]) .profile-photo-editor{background:#f4f7fa}
.app-body:not([data-admin-area="true"]) .preference-panel{background:#f4f7fa}

@media(max-width:1180px){
  .member-metric-grid,.member-quick-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
  .member-dashboard-layout{grid-template-columns:1fr}
  .member-dashboard-side{grid-template-columns:repeat(3,minmax(0,1fr))}
  .member-resource-card-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
  .member-resource-categories .document-category-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
  .member-directory-grid{grid-template-columns:1fr}
  .member-resource-search{grid-template-columns:minmax(240px,1fr) minmax(200px,.7fr) auto}
  .member-resource-search .btn-outline{grid-column:1/-1;justify-self:start}
  .member-directory-filter{grid-template-columns:repeat(2,minmax(0,1fr))}
}
@media(max-width:850px){
  .app-body:not([data-admin-area="true"]) .app-shell{grid-template-columns:1fr}
  .app-body:not([data-admin-area="true"]) .content-wrap{padding:24px 20px 48px}
  .sidebar-backdrop{position:fixed;z-index:190;inset:0;display:block;border:0;background:rgba(7,18,31,.54);opacity:0;pointer-events:none;transition:opacity .2s ease}
  .sidebar-backdrop.open{opacity:1;pointer-events:auto}
  body.sidebar-open{overflow:hidden}
  .member-welcome-panel{grid-template-columns:1fr;padding:34px}
  .member-welcome-actions{min-width:0;flex-direction:row;align-items:center}
  .member-dashboard-side{grid-template-columns:1fr}
  .member-page-intro{grid-template-columns:1fr;align-items:start}
  .member-page-intro-stat{justify-items:start;padding:20px 0 0;border-top:1px solid #d4dee9;border-left:0}
}
@media(max-width:700px){
  .member-metric-grid,.member-quick-grid,.member-resource-card-grid,.member-resource-categories .document-category-grid{grid-template-columns:1fr}
  .member-resource-search,.member-directory-filter{grid-template-columns:1fr}
  .member-resource-search .btn-outline{grid-column:auto;justify-self:stretch}
  .member-directory-filter .btn{width:100%}
  .member-section-heading{align-items:flex-start;flex-direction:column}
  .member-event-list article{grid-template-columns:58px minmax(0,1fr)}
  .member-event-list article>.badge{grid-column:2;justify-self:start}
  .member-resource-list article{grid-template-columns:42px minmax(0,1fr)}
  .member-resource-list article>.btn{grid-column:2;justify-self:start}
  .member-directory-card{grid-template-columns:92px minmax(0,1fr)}
  .member-directory-card>img{width:92px;min-height:225px}
  .member-directory-copy{padding:18px}
  .member-directory-name{display:block}.member-directory-name>span{display:block;margin-top:7px}
}
@media(max-width:480px){
  .app-body:not([data-admin-area="true"]) .content-wrap{padding:16px 12px 38px}
  .app-body:not([data-admin-area="true"]) .topbar{padding-inline:14px}
  .member-welcome-panel{padding:28px 22px}
  .member-welcome-panel h2{font-size:36px}
  .member-welcome-actions{align-items:stretch;flex-direction:column}
  .member-metric-card{padding:20px}
  .member-renewal-banner{align-items:stretch;flex-direction:column}
  .member-section-card,.member-side-card{padding:20px}
  .member-page-intro{padding:28px 22px}.member-page-intro h2{font-size:34px}
  .member-resource-search,.member-directory-filter{padding:16px}
  .member-directory-card{grid-template-columns:1fr}
  .member-directory-card>img{width:100%;height:180px;min-height:0;object-position:center 28%}
  .member-access-state{grid-template-columns:1fr;padding:28px 22px}
}

/* Keep the redesigned supporter section distinct from surrounding white sections. */
.editorial-section.editorial-sponsors{background:#f2f6fa}

/* 2.3.18 — Find an Inspector */
.inspector-modern-hero{padding:72px 0;background:#142941;color:#fff;overflow:hidden}.inspector-modern-hero-grid{display:grid;grid-template-columns:minmax(0,.88fr) minmax(460px,1.12fr);gap:72px;align-items:center}.inspector-modern-hero .eyebrow{color:#93b5d8}.inspector-modern-hero-copy h1{max-width:650px;margin:15px 0 22px;color:#fff;font-size:clamp(55px,6.5vw,88px);letter-spacing:-.06em;line-height:.94}.inspector-modern-hero-copy .rich-text{max-width:600px;color:#c1ceda;font-size:17px;line-height:1.7}.inspector-modern-hero-copy .rich-text p{margin:0}.inspector-hero-link{display:inline-flex;gap:20px;margin-top:30px;padding-bottom:7px;border-bottom:1px solid #7298bd;color:#fff;font-size:12px;font-weight:850;text-decoration:none}.inspector-modern-hero-photo{position:relative;min-height:510px;overflow:hidden;background:#263b50}.inspector-modern-hero-photo:after{position:absolute;inset:50% 0 0;background:linear-gradient(180deg,transparent,rgba(8,22,37,.84));content:""}.inspector-modern-hero-photo>img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;object-position:58% center}.inspector-modern-hero-photo>div{position:absolute;z-index:1;right:28px;bottom:25px;left:28px;display:grid;color:#fff}.inspector-modern-hero-photo strong{font-size:17px}.inspector-modern-hero-photo span{margin-top:5px;color:#c5d1dd;font-size:11px;line-height:1.45}
.inspector-trust-strip{background:#fff;border-bottom:1px solid #cfd9e3}.inspector-trust-strip .container{display:grid;grid-template-columns:repeat(3,1fr)}.inspector-trust-strip article{position:relative;padding:28px 36px;border-left:1px solid #d7e0e9}.inspector-trust-strip article:last-child{border-right:1px solid #d7e0e9}.inspector-trust-strip article>span{position:absolute;top:29px;right:24px;color:#8da0b3;font-size:10px;font-weight:850}.inspector-trust-strip strong{display:block;color:#203b59;font-size:15px}.inspector-trust-strip p{margin:6px 0 0;color:#6a7b8d;font-size:11px;line-height:1.5}
.inspector-modern-search{padding:90px 0 100px;background:#f2f6fa}.inspector-search-heading{display:grid;grid-template-columns:minmax(0,1fr) 340px;gap:70px;align-items:end;margin-bottom:42px}.inspector-search-heading h2{max-width:760px;margin:10px 0 0;color:#192f4a;font-size:clamp(39px,5vw,64px);letter-spacing:-.045em;line-height:1.04}.inspector-search-heading>p{margin:0;color:#65778a;font-size:14px;line-height:1.7}
.inspector-search-panel{padding:28px;border:1px solid #cfdae5;border-top:5px solid #4d7db4;background:#fff}.inspector-search-form{display:grid;grid-template-columns:minmax(220px,1.15fr) minmax(190px,.8fr) minmax(210px,.9fr) auto;gap:14px;align-items:end}.inspector-search-form label{display:grid;gap:8px}.inspector-search-form label>span{color:#3c526c;font-size:10px;font-weight:850;letter-spacing:.09em;text-transform:uppercase}.inspector-search-form input,.inspector-search-form select{height:52px;background-color:#fff}.inspector-search-form .btn{min-height:52px;white-space:nowrap}.inspector-privacy-note{display:flex;align-items:center;gap:9px;margin:18px 0 0;color:#697a8d;font-size:11px}.inspector-privacy-note>span{display:grid;width:20px;height:20px;place-items:center;background:#e5f3ea;color:#23704b;font-size:10px}
.inspector-results-heading{display:flex;align-items:end;justify-content:space-between;gap:25px;margin:58px 0 17px;padding-bottom:14px;border-bottom:1px solid #c8d4df}.inspector-results-heading h2{margin:0;color:#1b324e;font-size:28px}.inspector-results-heading>span{color:#65778b;font-size:11px;font-weight:800;letter-spacing:.06em;text-transform:uppercase}.inspector-search-results{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px}.inspector-result-card{display:flex;min-width:0;flex-direction:column;border:1px solid #d1dce7;background:#fff;transition:border-color .18s ease,transform .18s ease,box-shadow .18s ease}.inspector-result-card:hover{transform:translateY(-3px);border-color:#9fb6ce;box-shadow:0 15px 32px rgba(22,46,73,.09)}.inspector-result-photo{position:relative;aspect-ratio:1.32/1;overflow:hidden;background:#e4eaf1}.inspector-result-photo:after{position:absolute;inset:56% 0 0;background:linear-gradient(180deg,transparent,rgba(10,28,47,.72));content:""}.inspector-result-photo img{width:100%;height:100%;object-fit:cover;object-position:center 23%;transition:transform .3s ease}.inspector-result-card:hover .inspector-result-photo img{transform:scale(1.025)}.inspector-result-photo>span{position:absolute;z-index:1;right:18px;bottom:15px;left:18px;color:#fff;font-size:9px;font-weight:850;letter-spacing:.09em;text-transform:uppercase}.inspector-result-body{display:flex;flex:1;flex-direction:column;padding:24px}.inspector-result-body h3{margin:0 0 18px;color:#1b324e;font-size:24px;letter-spacing:-.025em}.inspector-result-region,.inspector-result-practice{padding:15px 0;border-top:1px solid #e0e7ee}.inspector-result-region>span,.inspector-result-practice>span{display:block;margin-bottom:8px;color:#7b8998;font-size:9px;font-weight:850;letter-spacing:.1em;text-transform:uppercase}.inspector-result-region strong{display:block;color:#315171;font-size:12px;line-height:1.45}.inspector-result-practice .member-area-tags{justify-content:flex-start;gap:5px}.inspector-result-practice .member-area-tag{min-height:0;padding:5px 7px;border-radius:0;background:#edf3f8;color:#385978;font-size:9px}.inspector-result-body footer{display:flex;align-items:center;justify-content:space-between;gap:16px;margin-top:auto;padding-top:18px;border-top:1px solid #e0e7ee}.inspector-result-email{display:inline-flex;align-items:center;justify-content:center;min-height:38px;padding:0 14px;background:#244c79;color:#fff;font-size:10px;font-weight:850;letter-spacing:.05em;text-decoration:none;text-transform:uppercase}.inspector-result-phone{color:#4d6b88;font-size:11px;font-weight:750;text-decoration:none;overflow-wrap:anywhere}.inspector-empty-state{grid-column:1/-1;display:grid;min-height:180px;place-items:center;align-content:center;gap:7px;padding:30px;border:1px solid #d1dce7;background:#fff;color:#66798c;text-align:center}.inspector-empty-state strong{color:#263e5b;font-size:18px}.inspector-empty-state span{font-size:13px}

@media(max-width:1050px){.inspector-modern-hero-grid{grid-template-columns:1fr;gap:42px}.inspector-modern-hero-photo{min-height:440px}.inspector-search-form{grid-template-columns:repeat(2,minmax(0,1fr))}.inspector-search-form .btn{width:100%}.inspector-search-results{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:760px){.inspector-modern-hero{padding:56px 0}.inspector-modern-hero-copy h1{font-size:56px}.inspector-modern-hero-photo{min-height:390px}.inspector-trust-strip .container{grid-template-columns:1fr}.inspector-trust-strip article,.inspector-trust-strip article:last-child{border-right:1px solid #d7e0e9}.inspector-modern-search{padding:64px 0 76px}.inspector-search-heading{grid-template-columns:1fr;gap:18px}.inspector-search-panel{padding:20px}.inspector-search-form{grid-template-columns:1fr}.inspector-search-results{grid-template-columns:1fr}.inspector-result-photo{aspect-ratio:1.4/1}}
@media(max-width:480px){.inspector-modern-hero-copy h1{font-size:48px}.inspector-modern-hero-photo{min-height:340px}.inspector-modern-hero-photo>div{right:18px;bottom:17px;left:18px}.inspector-search-heading h2{font-size:37px}.inspector-results-heading{align-items:flex-start;flex-direction:column}.inspector-result-body footer{align-items:stretch;flex-direction:column}.inspector-result-email{width:100%}}
@media(prefers-reduced-motion:reduce){.inspector-result-card,.inspector-result-photo img{transition:none}.inspector-result-card:hover{transform:none}.inspector-result-card:hover .inspector-result-photo img{transform:none}}

/* 2.3.19 — NZEIA Structure */
.structure-modern-hero{padding:84px 0;background:#142941;color:#fff}.structure-modern-hero-grid{display:grid;grid-template-columns:minmax(0,1fr) 390px;gap:90px;align-items:end}.structure-modern-hero .eyebrow{color:#91b4d7}.structure-modern-hero-copy h1{margin:15px 0 20px;color:#fff;font-size:clamp(62px,8vw,104px);letter-spacing:-.065em;line-height:.88}.structure-modern-hero-copy>p:last-child{max-width:680px;margin:0;color:#c2cfdb;font-size:18px;line-height:1.65}.structure-modern-index{display:grid;border-top:1px solid rgba(255,255,255,.2)}.structure-modern-index a{display:grid;grid-template-columns:44px minmax(0,1fr);gap:4px 16px;padding:17px 0;border-bottom:1px solid rgba(255,255,255,.2);color:#fff;text-decoration:none}.structure-modern-index a>span{grid-row:1 / span 2;color:#83a9cf;font-size:11px;font-weight:850}.structure-modern-index strong{font-size:14px}.structure-modern-index small{color:#aebdcb;font-size:10px}.structure-modern-index a:hover strong{color:#9fc4ea}
.structure-modern-purpose{padding:65px 0;background:#eaf1f6}.structure-modern-purpose .container{display:grid;grid-template-columns:180px minmax(0,1fr) 310px;gap:48px;align-items:start}.structure-modern-purpose h2{max-width:720px;margin:0;color:#19314d;font-size:clamp(34px,4.5vw,56px);letter-spacing:-.045em;line-height:1.06}.structure-modern-purpose .container>p:last-child{margin:4px 0 0;color:#617487;font-size:14px;line-height:1.75}
.structure-modern-directory{padding:24px 0 96px;background:#fff}.structure-page-modern .structure-page{display:grid;gap:0!important}.structure-page-modern .structure-tier,.structure-page-modern .structure-tier-regional,.structure-page-modern .structure-tier-education{padding:76px 0!important;border:0!important;border-bottom:1px solid #cdd8e3!important;background:#fff!important}.structure-page-modern .structure-tier:last-child{border-bottom:0!important}.structure-page-modern .structure-tier-heading{display:grid;grid-template-columns:minmax(0,1fr) 350px!important;gap:70px!important;align-items:end;margin:0 0 34px;padding:0 0 24px!important;border:0!important;border-bottom:1px solid #cbd6e1!important;background:transparent!important}.structure-tier-number{float:left;margin:4px 18px 0 0;color:#7794b2;font-size:11px;font-weight:900}.structure-page-modern .structure-tier-heading .eyebrow{margin-bottom:7px}.structure-page-modern .structure-tier-heading h2{margin:0;color:#19314d;font-size:clamp(39px,5vw,64px)!important;letter-spacing:-.045em;line-height:1.02}.structure-page-modern .structure-tier-heading>p{margin:0;color:#617386!important;font-size:14px!important;line-height:1.7}
.structure-page-modern .structure-profile-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:15px;padding:0}.structure-page-modern .structure-profile-grid>.structure-profile-card,.structure-page-modern .structure-profile-grid>.structure-profile-card:nth-child(even){display:grid!important;grid-template-columns:1fr!important;min-height:0;border:1px solid #d2dce6!important;background:#fff!important}.structure-page-modern .structure-profile-grid>.structure-profile-card .structure-person-photo{width:100%!important;min-height:0!important;aspect-ratio:4/4.7;border:0!important;background:#e7edf3!important}.structure-page-modern .structure-profile-grid>.structure-profile-card .structure-person-photo img,.structure-page-modern .structure-profile-grid>.structure-profile-card .structure-person-photo span{width:100%;height:100%;min-height:0!important;object-fit:cover;object-position:center 22%}.structure-page-modern .structure-profile-grid>.structure-profile-card .structure-person-content{display:flex;justify-content:flex-start;min-height:174px;padding:20px!important}.structure-page-modern .structure-profile-grid>.structure-profile-card .structure-person-content h4{font-size:21px!important}.structure-page-modern .structure-role-list{gap:5px!important}.structure-page-modern .structure-role-list span{padding:5px 7px!important;background:#eaf1f7!important;color:#315778!important;font-size:9px!important;font-weight:850!important}.structure-page-modern .structure-person-contact{margin-top:auto!important;padding-top:14px!important}.structure-page-modern .structure-person-contact a{display:flex;align-items:center;justify-content:space-between;color:#315b84!important;font-size:11px;font-weight:850!important;text-decoration:none;text-transform:uppercase;letter-spacing:.05em}
.structure-page-modern .structure-section-groups,.structure-page-modern .structure-section-groups.is-single{display:grid;grid-template-columns:repeat(3,minmax(0,1fr))!important;gap:16px!important;padding:0}.structure-page-modern .structure-section-groups.is-single{grid-template-columns:1fr!important}.structure-page-modern .structure-group-card,.structure-page-modern .structure-section-groups .structure-group-card:nth-child(even),.structure-page-modern .structure-section-groups.is-single .structure-group-card{overflow:hidden;border:1px solid #ced9e4!important;background:#fff!important}.structure-page-modern .structure-group-heading{min-height:126px;padding:25px!important;border:0!important;background:#203a58!important;color:#fff!important}.structure-page-modern .structure-group-heading h3{margin:0;color:#fff!important;font-size:26px!important}.structure-page-modern .structure-group-heading span{margin-top:8px;color:#bdcbd8!important;font-size:12px!important;line-height:1.5}.structure-page-modern .structure-people-grid{display:grid;grid-template-columns:1fr!important}.structure-page-modern .structure-people-grid .structure-person-card,.structure-page-modern .structure-people-grid .structure-person-card:nth-child(even){display:grid!important;grid-template-columns:92px minmax(0,1fr)!important;min-height:135px;border:0!important;border-top:1px solid #dce3ea!important;background:#fff!important}.structure-page-modern .structure-people-grid>.structure-person-card:first-child{border-top:0!important}.structure-page-modern .structure-people-grid .structure-person-photo{width:92px!important;min-height:135px!important}.structure-page-modern .structure-people-grid .structure-person-photo img,.structure-page-modern .structure-people-grid .structure-person-photo span{min-height:135px!important;object-position:center 22%}.structure-page-modern .structure-people-grid .structure-person-content{padding:18px!important}.structure-page-modern .structure-people-grid .structure-person-content h4{font-size:18px!important}

@media(max-width:1100px){.structure-modern-hero-grid{grid-template-columns:1fr;gap:48px}.structure-modern-index{grid-template-columns:repeat(3,1fr)}.structure-modern-index a{grid-template-columns:1fr}.structure-modern-index a>span{grid-row:auto}.structure-modern-purpose .container{grid-template-columns:150px 1fr}.structure-modern-purpose .container>p:last-child{grid-column:2}.structure-page-modern .structure-profile-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.structure-page-modern .structure-section-groups,.structure-page-modern .structure-section-groups.is-single{grid-template-columns:repeat(2,minmax(0,1fr))!important}.structure-page-modern .structure-section-groups.is-single{grid-template-columns:1fr!important}}
@media(max-width:760px){.structure-modern-hero{padding:62px 0}.structure-modern-hero-copy h1{font-size:62px}.structure-modern-index{grid-template-columns:1fr}.structure-modern-index a{grid-template-columns:42px 1fr}.structure-modern-index a>span{grid-row:1 / span 2}.structure-modern-purpose{padding:48px 0}.structure-modern-purpose .container{grid-template-columns:1fr;gap:18px}.structure-modern-purpose .container>p:last-child{grid-column:auto}.structure-modern-directory{padding-top:0}.structure-page-modern .structure-tier{padding:58px 0!important}.structure-page-modern .structure-tier-heading{grid-template-columns:1fr!important;gap:16px!important}.structure-page-modern .structure-profile-grid{grid-template-columns:1fr}.structure-page-modern .structure-profile-grid>.structure-profile-card{grid-template-columns:118px minmax(0,1fr)!important}.structure-page-modern .structure-profile-grid>.structure-profile-card .structure-person-photo{width:118px!important;min-height:175px!important;aspect-ratio:auto}.structure-page-modern .structure-profile-grid>.structure-profile-card .structure-person-content{min-height:175px;padding:18px!important}.structure-page-modern .structure-section-groups,.structure-page-modern .structure-section-groups.is-single{grid-template-columns:1fr!important}}
@media(max-width:460px){.structure-modern-hero-copy h1{font-size:52px}.structure-page-modern .structure-profile-grid>.structure-profile-card{grid-template-columns:92px minmax(0,1fr)!important}.structure-page-modern .structure-profile-grid>.structure-profile-card .structure-person-photo{width:92px!important;min-height:158px!important}.structure-page-modern .structure-profile-grid>.structure-profile-card .structure-person-content{min-height:158px;padding:15px!important}.structure-page-modern .structure-profile-grid>.structure-profile-card .structure-person-content h4{font-size:18px!important}.structure-page-modern .structure-people-grid .structure-person-card{grid-template-columns:78px minmax(0,1fr)!important}.structure-page-modern .structure-people-grid .structure-person-photo{width:78px!important}}

@media(max-width:850px){.admin-hero{align-items:flex-start;flex-direction:column}.admin-hero .button-row{width:100%}.filter-bar:has(>label select[name=category]),.filter-bar:has(>label select[name=assigned]){grid-template-columns:1fr}}

/* 2.6.0 — Member self-service */
.member-new-content-banner{display:flex;align-items:center;justify-content:space-between;gap:22px;margin-bottom:22px;padding:20px 24px;border-left:5px solid #4B7ABC;background:#eef4fc}.member-new-content-banner strong{color:#1D2E47;font-size:17px}.member-new-content-banner p{margin:4px 0 0;color:#617388}.saved-item-actions{display:flex;flex-wrap:wrap;gap:9px;align-items:center;margin-top:auto}.saved-item-actions form{margin:0}.member-resource-card .saved-item-actions .btn{height:100%}.member-resource-card-top .badge{margin-left:auto}.security-session-panel{display:flex;align-items:center;justify-content:space-between;gap:20px;margin-top:26px;padding:20px;border:1px solid #d4dee9;background:#f7f9fc}.security-session-panel p{margin:4px 0 0;color:#66788d}.inline-filter label{display:flex;align-items:center;gap:10px;font-weight:800}.inline-filter select{min-width:120px}.renewal-price{display:flex;align-items:baseline;gap:9px;margin-bottom:18px}.renewal-price strong{color:#1D2E47;font-size:42px}.renewal-price span{color:#66788d}.cpd-report-intro .member-page-intro-stat strong{font-size:52px}.event-member-actions{margin-top:18px}.member-event-filter{margin-bottom:22px}
@media(max-width:1200px){.member-quick-grid{grid-template-columns:repeat(3,minmax(0,1fr))}}
@media(max-width:700px){.member-new-content-banner,.security-session-panel{align-items:stretch;flex-direction:column}.member-new-content-banner .button-row{width:100%}.member-quick-grid{grid-template-columns:1fr}.saved-item-actions{align-items:stretch;flex-direction:column}.saved-item-actions .btn,.saved-item-actions form,.saved-item-actions form .btn{width:100%}.page-actions:has(.inline-filter){align-items:stretch;flex-direction:column}}
@media print{.app-sidebar,.topbar,.sidebar-backdrop,.no-print,.sidebar-toggle{display:none!important}.app-main{margin:0!important}.content-wrap{padding:0!important}.cpd-report-intro{border:0;padding:0 0 20px}.cpd-print-report{border:0;box-shadow:none}.cpd-print-report .data-table{font-size:11px}}
