:root{--brand:#1b7f6b;--text:#172033;--muted:#68738a;--line:#e7ebf3}
.field-error{display:block;font-size:12px;font-weight:400;line-height:1.5;color:#b42318;overflow-wrap:anywhere}input[aria-invalid="true"]{border-color:#d92d20;background:#fffafa}.message-dialog{width:min(420px,calc(100% - 32px));max-height:80vh;padding:24px;border:1px solid #d8e0dc;border-radius:8px;color:var(--text);background:#fff;box-shadow:0 16px 48px #10251f30}.message-dialog::backdrop{background:#10251f70}.message-dialog h2{font-size:18px;margin:0 0 12px}.message-dialog p{font-size:14px;line-height:1.6;white-space:pre-wrap;overflow-wrap:anywhere;margin:0 0 20px}.message-dialog form{display:flex;justify-content:flex-end}.verification:has(#refreshCaptchaError:not([hidden])){align-items:flex-start}.form-actions:has(#submitLookupError:not([hidden])){flex-wrap:wrap}
*{box-sizing:border-box}body{margin:0;background:#f5f7fb;color:var(--text);font-family:Segoe UI,Arial,sans-serif;letter-spacing:0;min-height:100vh;display:flex;flex-direction:column}
[hidden]{display:none!important}.header{background:#10251f;color:#fff;padding:24px max(20px,calc((100% - 1120px)/2))}.brand{display:flex;align-items:center;gap:14px}.brand img{flex-shrink:0}.brand strong{font-size:18px;overflow-wrap:anywhere}.brand span{display:block;font-size:14px;color:#bcd4ce;margin-top:6px}
main{width:min(1120px,100%);margin:0 auto;padding:32px 20px;flex:1}h1{font-size:24px;margin:0 0 24px}h2{font-size:18px;line-height:1.5}.empty{border-top:1px solid var(--line);border-bottom:1px solid var(--line);padding:64px 20px;text-align:center;background:#fff}.empty p{color:var(--muted);font-size:14px}.empty img{opacity:.8}
footer{display:flex;flex-wrap:wrap;align-items:center;gap:12px;padding:20px max(20px,calc((100% - 1120px)/2));border-top:1px solid var(--line);font-size:13px;color:var(--muted);background:#fff}#connection{margin-left:auto}button{border:1px solid var(--line);border-radius:6px;background:#edf4f2;color:var(--brand);padding:8px 12px;font:inherit;cursor:pointer}button:focus-visible{outline:2px solid var(--brand);outline-offset:3px}button:disabled{opacity:.6;cursor:wait}
@media(max-width:600px){.brand strong{font-size:16px}main{padding-top:24px}.empty{padding:48px 16px}footer{font-size:12px}#connection{margin-left:0}}
.brand img{width:80px;height:80px;object-fit:contain}
.brand>div{min-width:0}.brand .brand-church{margin:0 0 6px;font-size:13px;font-weight:600;line-height:1.5;overflow-wrap:anywhere}
@media(max-width:600px){.brand .brand-church{font-size:12px}.brand img{width:96px;height:96px}}
footer address{font-style:normal;line-height:1.6;overflow-wrap:anywhere}
.home-location{padding:24px 0;border-top:1px solid var(--line);border-bottom:1px solid var(--line);margin-top:24px}.home-location h2{font-size:16px;margin:0 0 12px}.home-location address{font-style:normal;line-height:1.6;font-size:15px}.home-links{display:flex;flex-wrap:wrap;gap:12px;padding-top:24px}
.profile-commands{display:flex;flex-direction:column;gap:8px;flex-shrink:0}
@media(max-width:600px){.profile-hero .profile-commands{grid-column:2;justify-self:end}.profile-hero .profile-commands button{justify-self:stretch}}
.study-empty{border-top:1px solid var(--line);padding:24px 0;color:var(--muted);font-size:14px}.study-empty p{margin:0}
.layout .menu-toggle{display:none;background:transparent;color:var(--text);align-items:center;gap:10px;height:48px;padding:0 4px;font-size:14px}.menu-symbol{position:relative;width:18px;height:14px;border-top:2px solid currentColor;border-bottom:2px solid currentColor}.menu-symbol::after{content:'';position:absolute;left:0;right:0;top:4px;border-top:2px solid currentColor}
@media(max-width:600px){.layout .menu-toggle{display:flex}.layout .sidebar #publicMenu{display:none}.layout .sidebar .menu-toggle[aria-expanded="true"]+#publicMenu{display:grid;grid-template-columns:minmax(0,1fr);gap:0;padding-bottom:8px}.layout .sidebar #publicMenu a{justify-content:flex-start;padding:12px;min-height:46px}.layout .sidebar #publicMenu a[aria-current="page"]{background:#edf4f2;border-radius:4px}.layout .sidebar #publicMenu a[aria-current="page"]::after{display:none}}
.layout .sidebar{background:#fff;color:#536173;padding:0 28px;border-bottom:1px solid #dce4e0}.layout{grid-template-columns:minmax(0,1fr)!important;grid-template-rows:auto 1fr}.sidebar nav{display:flex;gap:28px;width:100%;max-width:1096px;margin:0 auto}.layout .sidebar nav a{position:relative;display:flex;align-items:center;justify-content:center;min-height:58px;padding:14px 4px;margin:0;border-radius:0;background:transparent;font-size:14px;font-weight:600;line-height:1.5;text-align:center;transition:color .15s,background .15s}.sidebar nav a:hover{color:var(--brand);background:#f5f9f7}.sidebar nav a[aria-current="page"]{color:var(--brand)}.sidebar nav a[aria-current="page"]::after{content:'';position:absolute;bottom:0;left:0;right:0;height:3px;background:var(--brand);border-radius:3px 3px 0 0}.sidebar nav a:focus-visible{outline-offset:-4px}
@media(max-width:600px){.layout .sidebar{padding:0 16px}.sidebar nav{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px}.layout .sidebar nav a{min-height:54px;font-size:13px;padding:12px 2px}}
.page-actions{display:flex;flex-wrap:wrap;gap:12px;margin:-10px 0 22px}.request-link{display:inline-block;padding:10px 14px;border:1px solid #cbded6;border-radius:6px;background:#edf4f2;color:var(--brand);font-size:13px;font-weight:600;text-decoration:none;line-height:1.6}.request-link span{font-weight:400}.request-link:hover{background:#dfede7}.sidebar nav a+a{margin-top:8px}
.action-control{display:flex;flex-direction:column;gap:6px;min-width:0;max-width:100%}.verification>.action-control{max-width:200px}
.captcha-image img{background:#fff;border:1px solid #ccd6d2;border-radius:6px}
.header{padding:22px 28px}.brand strong{font-size:20px}.layout{display:grid;grid-template-columns:240px minmax(0,1fr);flex:1}.sidebar{background:#16352b;color:#dcece8;padding:24px 16px}.sidebar a{display:block;text-decoration:none;color:inherit;padding:12px;border-radius:6px;background:#ffffff12;font-size:14px;line-height:1.6}
main{width:100%;max-width:1160px;min-width:0;padding:32px}.eyebrow{font-size:11px;color:var(--muted);font-weight:700}h1{font-size:24px;margin:8px 0 24px;line-height:1.4}h2,h3{overflow-wrap:anywhere}.lookup-form{padding:24px 0;border-top:1px solid var(--line);border-bottom:1px solid var(--line)}
.form-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:18px}label{display:flex;flex-direction:column;gap:8px;font-size:13px;font-weight:600;min-width:0}input{width:100%;min-width:0;height:44px;padding:10px 12px;border:1px solid #ccd6d2;border-radius:6px;font:inherit;font-size:15px;background:#fff;color:var(--text)}input:focus{outline:2px solid #1b7f6b50;outline-offset:2px}button{border:0;border-radius:6px;background:var(--brand);color:#fff;padding:12px 22px;font:inherit;font-size:14px;font-weight:600;cursor:pointer}button:hover{filter:brightness(1.08)}button:focus-visible,a:focus-visible{outline:2px solid #2aa889;outline-offset:3px}button:disabled{opacity:.6;cursor:wait}.secondary{background:#edf4f2;color:var(--brand)}
.verification{display:flex;align-items:flex-end;gap:12px;margin-top:24px;flex-wrap:wrap}.captcha-image{width:200px;min-height:64px;display:grid;align-items:center}.captcha-image img{width:200px;height:64px}.captcha-image span{font-size:12px;color:var(--muted);line-height:1.5}.verification label{width:180px}.icon-button{width:44px;height:44px;padding:0;font-size:26px;flex-shrink:0;background:#edf4f2;color:var(--brand)}.form-actions{display:flex;align-items:center;gap:18px;margin-top:24px}.form-actions button{min-width:112px;flex-shrink:0}#lookupStatus{font-size:14px;color:var(--muted);line-height:1.6;margin:0;overflow-wrap:anywhere}
#profile{margin-top:16px;scroll-margin-top:16px;background:#fff;padding:0 24px 12px;border-top:3px solid var(--brand)}
.profile-body{position:relative;max-height:65vh;overflow-y:auto;overscroll-behavior:contain;scrollbar-width:thin;scrollbar-color:#b7cfc5 #f5f7fb;padding-right:8px}.profile-body:focus-visible{outline:2px solid var(--brand);outline-offset:3px}#profileIndex a[aria-current="location"]{color:var(--brand);background:#edf4f2;font-weight:600}
.profile-hero{display:flex;align-items:center;gap:22px;padding:24px 0;border-bottom:1px solid var(--line)}
.portrait{width:108px;height:144px;aspect-ratio:3/4;flex-shrink:0;display:grid;place-items:center;background:#edf4f2;border:1px solid #d5e2dd;border-radius:6px;overflow:hidden}.portrait img{width:100%;height:100%;object-fit:contain;background:#fff}.portrait span{font-size:30px;color:var(--brand);font-weight:700}
.profile-identity{flex:1;min-width:0}.profile-hero .eyebrow{color:var(--muted);margin:0}.profile-hero h2{font-size:26px;line-height:1.3;margin:8px 0;color:#164c3f}.profile-hero p{font-size:13px;line-height:1.6}.profile-hero #profileNumber{font-weight:600;margin:0 0 12px;color:#535f72}
.badges{display:flex;gap:6px;flex-wrap:wrap}.badges span{font-size:12px;padding:4px 8px;background:#edf4f2;color:var(--brand);border-radius:4px}.badges span:nth-child(2){background:#f6f0df;color:#766027}.badges span:nth-child(3){background:#eef0f5;color:#535f72}
.profile-toolbar{display:flex;align-items:center;justify-content:space-between;gap:16px;padding:12px 0;border-bottom:1px solid var(--line)}#profileIndex{display:flex;gap:4px;overflow-x:auto;min-width:0;scrollbar-width:thin}#profileIndex a{font-size:12px;white-space:nowrap;color:#536173;padding:7px 9px;text-decoration:none;border-radius:4px}#profileIndex a:hover,#profileIndex a:focus{color:var(--brand);background:#edf4f2}.empty-toggle{flex-direction:row;align-items:center;gap:7px;flex-shrink:0;font-size:12px;font-weight:400;color:var(--muted)}.empty-toggle input{width:15px;height:15px;margin:0;accent-color:var(--brand)}
.profile-section{padding:20px 0 12px;border-bottom:1px solid var(--line);scroll-margin-top:16px}.profile-section:last-child{border-bottom:0}.section-heading{display:flex;align-items:center;gap:10px;margin-bottom:12px}.section-heading>span{font-size:11px;font-weight:700;color:var(--brand);background:#edf4f2;width:26px;height:26px;display:grid;place-items:center;border-radius:4px;flex-shrink:0}h3{font-size:16px;margin:0;line-height:1.4}
.profile-data{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));column-gap:24px;margin:0}.profile-data>div{min-width:0;display:grid;grid-template-columns:minmax(0,38%) minmax(0,1fr);gap:12px;align-items:baseline;border-bottom:1px solid #f0f2f4;padding:10px 0}.profile-data dt{font-size:12px;color:var(--muted);line-height:1.5;overflow-wrap:anywhere}.profile-data dd{margin:0;font-size:14px;font-weight:500;line-height:1.5;overflow-wrap:anywhere;white-space:pre-wrap}.profile-data .empty-field dd{font-weight:400;color:#939ca9;font-size:12px}.profile-data .wide{grid-column:1/-1;grid-template-columns:minmax(0,18%) minmax(0,1fr)}
.duty{padding:14px 0 14px 18px;border-left:2px solid #d3e5de;position:relative;margin:16px 0 0 6px}.duty:before{content:'';position:absolute;left:-5px;top:20px;width:8px;height:8px;border-radius:50%;background:var(--brand)}.duty h4{font-size:15px;margin:0 0 4px}.duty>p{color:var(--muted);font-size:12px;margin:0 0 8px}#historyItems>p{font-size:13px;color:var(--muted);margin:14px 0}
@media(min-width:1400px){.profile-data{grid-template-columns:repeat(3,minmax(0,1fr))}.profile-data .wide{grid-template-columns:minmax(0,12%) minmax(0,1fr)}}
@media(max-width:1200px){.profile-toolbar{align-items:flex-start;flex-direction:column;gap:8px}#profileIndex{max-width:100%}}
footer{padding:18px 28px}
@media(max-width:900px){.layout{grid-template-columns:1fr}.sidebar{padding:12px 20px}.sidebar a{padding:8px 12px}.form-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:600px){.header{padding:20px}.brand strong{font-size:18px}main{padding:24px 16px}h1{font-size:22px}.form-grid{grid-template-columns:1fr}.verification{gap:10px}.verification label{width:100%;max-width:240px}.form-actions{align-items:flex-start;flex-direction:column}#profile{padding:0 16px 12px}.profile-hero{display:grid;grid-template-columns:72px minmax(0,1fr);padding:20px 0;gap:14px;align-items:start}.portrait{width:72px;height:96px}.profile-hero h2{font-size:21px}.profile-hero button{grid-column:2;justify-self:end;margin:0;padding:8px 12px;font-size:12px}.profile-data{grid-template-columns:1fr}.profile-data>div,.profile-data .wide{grid-template-columns:minmax(0,40%) minmax(0,1fr);gap:10px}.profile-data dd{font-size:13px}.profile-section{padding-top:16px}.profile-toolbar{gap:10px}#profileIndex a{padding:7px}.empty-toggle{font-size:11px}}
