/* Gia Pha 3: shared red/gold screen system. Book and print typography stay independent. */
@media screen {
:root{--ux-red:#8b1e24;--ux-dark:#59171d;--ux-gold:#b8892e;--ux-paper:#f8f5ef;--ux-ink:#332a27;--ux-muted:#756b64;--ux-line:#e7ded2;--ux-shadow:0 4px 18px #43271306}
body.ux-refresh{background:var(--ux-paper);color:var(--ux-ink);font-family:"Noto Sans",sans-serif;font-size:15px;line-height:1.65;background-image:none}
.ux-refresh .container{max-width:1320px;padding-inline:28px}
.ux-refresh :where(h1,h2,h3,p){overflow-wrap:break-word}
.ux-refresh :is(.main,.section){padding-block:32px}
.ux-refresh .page-title{font-size:28px;line-height:1.3;font-weight:700;letter-spacing:-.025em}
.ux-refresh .page-head{gap:16px;margin-bottom:22px;align-items:center}
.ux-refresh .page-head p{color:var(--ux-muted);font-size:14px;margin-top:8px}
.ux-refresh :is(.panel,.card,.admin-box,.auth-card,.today-card,.filter-panel){border:1px solid var(--ux-line);border-radius:16px;background:#fffdf9;box-shadow:var(--ux-shadow)}
.ux-refresh :is(.card,.panel){padding:24px}
.ux-refresh :is(.heritage-frame,.panel,.card):before,.ux-refresh :is(.heritage-frame,.panel,.card):after{pointer-events:none}
.ux-refresh .heritage-frame:after{display:none}
.ux-refresh .card:hover{transform:translateY(-2px);box-shadow:0 6px 22px #4327130c}
.ux-refresh :is(.btn,button,input,select,textarea){font-family:inherit}
.ux-refresh .btn{min-height:42px;border-radius:10px;padding:9px 15px;font-size:14px;line-height:1.5;font-weight:600;display:inline-flex;align-items:center;justify-content:center;gap:7px;white-space:normal;box-shadow:none}
body.ux-refresh .btn.btn-primary{background:var(--ux-red)!important;border-color:var(--ux-red)!important;color:#fff!important;-webkit-text-fill-color:#fff!important}
body.ux-refresh .btn.btn-primary:hover{background:#6d151d!important}
.ux-refresh .btn:not(.btn-primary):not(.btn-danger):not(.btn-gold){background:#fffdf9;border-color:#dfd2c2;color:#65252a}
.ux-refresh .btn-sm{min-height:36px;padding:6px 11px;font-size:13px}
.ux-refresh :is(input:not([type=hidden]):not([type=checkbox]):not([type=radio]):not([type=range]):not([type=color]),select,textarea):not(.gp-editor *){border:1px solid #d9cec0;border-radius:10px;background:#fff;color:#332a27;min-height:44px;padding:10px 12px;font-size:14px;line-height:1.5;max-width:100%;box-sizing:border-box}
.ux-refresh textarea:not(.gp-editor *){min-height:100px;resize:vertical}
.ux-refresh :is(input,select,textarea):focus{border-color:#b8892e;outline:2px solid #b8892e30;outline-offset:1px}
.ux-refresh :is(a,button,summary):focus-visible{outline:3px solid #b8892e;outline-offset:3px}
.ux-refresh :is(.field label,.admin-form-row>label){font-size:13px;font-weight:600;color:#57463e;margin-bottom:7px}
.ux-refresh .field{min-width:0}.ux-refresh .form-grid{gap:18px}
.ux-refresh .form-actions{gap:10px;padding-top:18px}
.ux-refresh .badge{font-size:12px;line-height:1.4;padding:4px 9px;border-radius:7px}
.ux-refresh .table-wrap{overflow:auto;border:1px solid var(--ux-line);border-radius:14px;background:#fffdf9;max-width:100%;overscroll-behavior-x:contain}
.ux-refresh table:not(.gp-editor *):not(.genealogy-book-page *){font-size:14px;border-collapse:collapse}
.ux-refresh :is(th,td):not(.gp-editor *):not(.genealogy-book-page *){padding:13px 14px;border-color:#eee5d9;vertical-align:middle}
.ux-refresh th:not(.gp-editor *):not(.genealogy-book-page *){background:#f5eee3;color:#735337;font-size:12px;letter-spacing:.025em;font-weight:700}
.ux-refresh tbody tr:hover:not(.gp-editor *){background:#fbf5ea}
.ux-refresh :is(.alert,.empty-state){border-radius:12px;line-height:1.6}
.ux-refresh :is(.toolbar,.filters,.filter-bar,.row-between){gap:12px}
.ux-refresh .public-header{background:#fffdf8eF;border-bottom:1px solid var(--ux-line);box-shadow:none;backdrop-filter:blur(12px)}
.ux-refresh .header-inner{min-height:78px;gap:24px}.ux-refresh .public-brand-logo{width:48px;height:48px}
.ux-refresh .public-brand-title{font-size:14px;line-height:1.5;letter-spacing:.015em;max-width:360px}
.ux-refresh .nav-links{gap:6px}.ux-refresh .nav-links>a{padding:10px 14px;border-radius:9px;font-size:13px}
.ux-refresh .hero-wrap{padding:28px 0;background:none}
.ux-refresh .home-main .hero{padding:48px;border-radius:24px;background:linear-gradient(125deg,#54171d,#8b2628);gap:44px;min-height:430px;overflow:hidden}
.ux-refresh .home-main .hero:before{opacity:.1}
.ux-refresh .hero-copy h1{font-size:clamp(32px,3.4vw,48px);line-height:1.2;letter-spacing:-.025em;color:#fff4d9;margin:20px 0}
.ux-refresh .hero-copy p{font-size:16px;line-height:1.8;color:#f7e9d6;max-width:560px;font-weight:400}
.ux-refresh .hero-kicker{background:#ffffff10;border:1px solid #e4be6e60;border-radius:6px;color:#f9dca2;padding:7px 10px;font-size:10px;letter-spacing:.14em}
.ux-refresh .hero-actions{margin-top:26px;gap:10px}
.ux-refresh .home-family-orbit{background:transparent;border:0;box-shadow:none;width:100%;min-width:0;min-height:310px;max-height:390px}
.ux-refresh .section-heading{margin-bottom:28px}.ux-refresh .section-heading h2{font-size:clamp(24px,3vw,32px);letter-spacing:-.02em}
.ux-refresh .feature{padding:24px;text-align:center;display:flex;flex-direction:column;align-items:center}
.ux-refresh .feature .icon-seal{width:42px;height:42px;margin:0 0 18px;border-radius:11px;font-size:21px;background:#f7ecd8;color:#8b1e24;box-shadow:none;border:1px solid #ecd6ae}
.ux-refresh .feature h3{font-size:17px;margin:0 0 9px}.ux-refresh .feature p{font-size:14px;line-height:1.7;color:#756b64}
.ux-refresh .calendar-panel-heading h2{font-size:19px}.ux-refresh .calendar-result-main{border-radius:12px;background:#fcf4e4;border-color:#eddbb8}
.ux-refresh .calendar-tabs{box-shadow:none;max-width:580px;border-radius:12px;padding:5px}.ux-refresh .calendar-tabs a{border-radius:8px}
.ux-refresh .news-card{overflow:hidden;padding:0}.ux-refresh .news-card h3,.ux-refresh .news-card h2{font-size:20px;line-height:1.45}
.ux-refresh .news-summary-link{font-size:14px;line-height:1.75;text-decoration:none!important}.ux-refresh .news-body{padding:22px}
.ux-refresh .public-footer{padding:44px 0 24px;background:#59171d}.ux-refresh .public-footer-grid{gap:40px}
.ux-refresh .auth-page{background:var(--ux-paper);min-height:calc(100dvh - 68px)}.ux-refresh .auth-page:before{opacity:.35}
.ux-refresh .auth-card{width:min(460px,100%);padding:36px;border-top:4px solid var(--ux-gold)}
.ux-refresh .auth-heading h1{font:700 30px/1.3 "Noto Sans",sans-serif}.ux-refresh .auth-heading p{font-size:14px}
.ux-refresh .input-icon input{padding-left:43px!important}.ux-refresh .auth-form .btn-block{width:100%}
/* Shared authenticated shell: the same navigation model, filtered on the server. */
body.gp-admin.ux-refresh{--primary:#8b1e24;--primary-dark:#59171d;--gold:#b8892e;--paper:#f8f5ef;--surface:#fffdf9;--ink:#332a27;--border:#e7ded2;--radius:14px;padding-top:64px;background:#f8f5ef;font-size:14px}
.gp-admin.ux-refresh .admin-header{height:64px;border-color:var(--ux-line);background:#fffdf9}
.gp-admin.ux-refresh .admin-logo{width:248px;color:#681c23!important;font-size:16px;border-color:var(--ux-line);justify-content:flex-start;padding-left:22px}
.gp-admin.ux-refresh .admin-toggle{width:52px;background:transparent;border:0;color:#8b1e24}
.gp-admin.ux-refresh .admin-site-name{font-size:13px;color:#756b64}
.gp-admin.ux-refresh .admin-account summary{height:63px;border:0;max-width:260px;font-size:13px}
.gp-admin.ux-refresh .admin-account-panel{top:64px;border:1px solid var(--ux-line);border-radius:12px;box-shadow:0 12px 32px #3c201522}
.gp-admin.ux-refresh .admin-avatar{width:32px;height:32px;background:#f4e6c8;color:#7d3227}
.gp-admin.ux-refresh .admin-visit{font-size:13px;color:#7f3034!important;border:0}
.gp-admin.ux-refresh .admin-sidebar{top:64px;width:248px;height:calc(100dvh - 64px);background:#fffdf9;border-color:var(--ux-line);padding:12px}
.gp-admin.ux-refresh .admin-search{padding:0 0 12px}.gp-admin.ux-refresh .admin-search input{background:#f8f5ef;border-radius:10px;min-height:40px;font-size:13px}
.gp-admin.ux-refresh .admin-nav-group>a,.gp-admin.ux-refresh .admin-nav-group summary{border:0;border-radius:9px;min-height:44px;font-size:13px;padding:11px 12px;color:#5a4942;margin-bottom:4px}
.gp-admin.ux-refresh .admin-nav-group.is-active>a,.gp-admin.ux-refresh .admin-nav-group.is-active>details>summary{background:#8b1e24;color:#fff}
.gp-admin.ux-refresh .admin-subnav{background:transparent;margin:0 0 10px;padding-left:15px}
.gp-admin.ux-refresh .admin-subnav a{font-size:13px;padding:9px 12px;color:#756b64;border-radius:8px}
.gp-admin.ux-refresh .admin-subnav a[aria-current=page]{background:#f8edd8;color:#7a242a;font-weight:700}
.gp-admin.ux-refresh .admin-subnav a>span{display:none}.gp-admin.ux-refresh .admin-nav-group svg{width:19px;height:19px}
.gp-admin.ux-refresh .admin-content-wrapper{margin-left:248px;padding:0 28px 32px;min-height:calc(100dvh - 64px)}
.gp-admin.ux-refresh .admin-content-wrapper>.main>.container{padding:0;max-width:none}
.gp-admin.ux-refresh .admin-breadcrumb{justify-content:flex-start;padding:24px 0 16px;font-size:13px;color:#8b1e24;line-height:1.5;flex-wrap:wrap}
.gp-admin.ux-refresh .admin-breadcrumb a{color:#8b7b6e}.gp-admin.ux-refresh .main{padding:8px 0 24px}
.gp-admin.ux-refresh .admin-box{border-top:1px solid var(--ux-line);overflow:visible}
.gp-admin.ux-refresh .admin-box-head{padding:16px 20px;border-color:var(--ux-line);border-radius:16px 16px 0 0;background:#fffdf9}
.gp-admin.ux-refresh .admin-box-head :is(h2,h3){font-size:16px;color:#59171d}
.gp-admin.ux-refresh .admin-box-body{padding:20px}.gp-admin.ux-refresh .admin-box-footer{padding:14px 20px;border-color:var(--ux-line);background:#fbf8f2;border-radius:0 0 16px 16px}
.gp-admin.ux-refresh .admin-form-row{padding:14px 0;gap:20px}.gp-admin.ux-refresh .admin-form-row label{color:#57463e}
.gp-admin.ux-refresh .admin-design-tabs a{border-radius:8px}.gp-admin.ux-refresh .admin-design-tabs a[aria-current]{background:#8b1e24;color:#fff}
.gp-admin.ux-refresh .admin-metric{border-radius:14px;border:1px solid var(--ux-line);border-top:3px solid #c5963d;background:#fffdf9;box-shadow:none}
.gp-admin.ux-refresh .admin-metric strong{color:#8b1e24;font-size:30px}.gp-admin.ux-refresh .admin-metric .admin-metric-icon{color:#b8892e}
.gp-admin.ux-refresh a:not(.btn):not([aria-current=page]):not(.admin-logo):not(.admin-visit){color:#8b1e24}
.ux-refresh .launch-grid{gap:16px}.ux-refresh .launch-card{padding:22px;text-align:center;min-height:160px}
.ux-refresh .launch-card .icon-seal{margin:0 0 14px;width:40px;height:40px;box-shadow:none;font-size:20px}
.ux-refresh .launch-card h3{font-size:17px}.ux-refresh .launch-card p{font-size:13px;line-height:1.7;color:#756b64}
.ux-refresh .today-card{padding:24px}.ux-refresh .dashboard-calendar-number{font-size:48px}
.ux-refresh .tree-toolbar,.ux-refresh .bubble-toolbar{gap:10px}.ux-refresh .gp-tabs{box-shadow:none;border:1px solid var(--ux-line);background:#fffcf6;border-radius:12px}
.gp-admin.ux-refresh .gp-tabs{top:64px}.ux-refresh .gp-tab{min-height:40px;padding:9px 16px;font-size:14px}
.ux-refresh .members-page.studio-expanded{inset:64px 0 0;background:#f8f5ef}
.ux-refresh .studio-type-fields input,.ux-refresh .studio-type-fields select{min-height:40px}
.ux-refresh .member-popup-body{background:#fffdf9}.member-popup-body.ux-refresh{background:#fffdf9}
.ux-refresh .member-popup-form{padding:20px}.ux-refresh .popup-family-card{border-color:var(--ux-line);border-radius:12px}
.workspace-mobile-nav{display:none}.ux-refresh .admin-skip{position:fixed;top:-100px;left:12px;z-index:5000}.ux-refresh .admin-skip:focus{top:12px}
@media(min-width:901px){.gp-admin.ux-refresh.admin-collapsed :is(.admin-sidebar,.admin-logo){width:72px}.gp-admin.ux-refresh.admin-collapsed .admin-logo{padding:0;justify-content:center}.gp-admin.ux-refresh.admin-collapsed .admin-content-wrapper{margin-left:72px}.gp-admin.ux-refresh.admin-collapsed .admin-sidebar{padding:10px 7px}.gp-admin.ux-refresh.admin-collapsed .admin-nav-group details[open]>.admin-subnav{left:72px;background:#fffdf9;border-radius:10px;border:1px solid var(--ux-line)}}
@media(max-width:1100px){.ux-refresh .home-main .hero{padding:32px;gap:26px}.ux-refresh .hero-copy h1{font-size:34px}.ux-refresh .admin-site-name{max-width:280px}}
@media(max-width:900px){.gp-admin.ux-refresh .admin-content-wrapper{margin-left:0;padding:0 18px 88px}.gp-admin.ux-refresh .admin-logo{width:auto;max-width:190px;padding:0 14px;font-size:14px}.gp-admin.ux-refresh .admin-site-name{display:none}.gp-admin.ux-refresh .admin-sidebar{width:min(300px,86vw);z-index:1200}.gp-admin.ux-refresh .admin-overlay{top:64px;z-index:1190;background:#20181566}.gp-admin.ux-refresh.admin-mobile-open{overflow:hidden}.gp-admin.ux-refresh .admin-account summary{height:63px;max-width:190px}.gp-admin.ux-refresh .admin-account summary>span:nth-child(2){max-width:105px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.workspace-mobile-nav{position:fixed;inset:auto 0 0;z-index:100;display:grid;grid-template-columns:repeat(4,1fr);padding:7px 8px max(7px,env(safe-area-inset-bottom));background:#fffdf9f5;border-top:1px solid #e7ded2;backdrop-filter:blur(12px)}.gp-admin.ux-refresh .workspace-mobile-nav a{display:flex;align-items:center;justify-content:center;flex-direction:column;gap:3px;min-height:46px;color:#756b64!important;font-size:11px;font-weight:600;border-radius:8px}.gp-admin.ux-refresh .workspace-mobile-nav a[aria-current]{background:#f7ecd8;color:#8b1e24!important}.ux-refresh .home-main .hero{grid-template-columns:1fr 1fr}.ux-refresh .home-family-orbit{min-height:280px}.ux-refresh .public-brand-title{max-width:280px}}
@media(max-width:640px){.ux-refresh .container{padding-inline:16px}.ux-refresh :is(.main,.section){padding-block:24px}.ux-refresh .header-inner{min-height:68px;gap:12px}.ux-refresh .public-brand-title{font-size:12px;max-width:230px}.ux-refresh .public-brand-logo{width:40px;height:40px}.ux-refresh .home-main .hero{display:flex;flex-direction:column-reverse;padding:28px 22px;gap:20px;border-radius:18px}.ux-refresh .hero-wrap{padding:16px 0}.ux-refresh .hero-copy h1{font-size:34px;max-width:320px;margin:16px 0}.ux-refresh .hero-copy p{font-size:14px;line-height:1.75}.ux-refresh .home-family-orbit{min-height:210px;height:230px;max-height:230px}.ux-refresh .hero-actions{display:grid;grid-template-columns:1fr;margin-top:20px}.ux-refresh :is(.card,.panel){padding:18px}.ux-refresh .feature{padding:20px}.ux-refresh .section-heading h2{font-size:24px}.ux-refresh .grid-3{grid-template-columns:1fr}.ux-refresh .page-title{font-size:24px}.ux-refresh .page-head{align-items:flex-start;gap:12px}.ux-refresh .page-head>.row{flex-wrap:wrap}.ux-refresh .btn{min-height:44px}.ux-refresh :is(input,select,textarea):not([type=checkbox]):not([type=radio]):not(.gp-editor *){font-size:16px}.ux-refresh .form-grid{gap:14px}.ux-refresh .auth-card{padding:26px 22px}.ux-refresh .auth-page{padding:78px 16px 30px}.ux-refresh .auth-heading h1{font-size:28px}.ux-refresh .public-footer{padding:32px 0 20px}.ux-refresh .public-footer-grid{text-align:left;gap:28px}.ux-refresh .public-footer .brand{justify-content:flex-start}.ux-refresh .public-footer nav{align-items:flex-start}.gp-admin.ux-refresh .admin-visit{display:none}.gp-admin.ux-refresh .admin-content-wrapper{padding-inline:14px}.gp-admin.ux-refresh .admin-breadcrumb{padding:18px 0 12px;font-size:12px}.gp-admin.ux-refresh .admin-box-body{padding:16px}.gp-admin.ux-refresh .admin-box-head{padding:14px 16px}.gp-admin.ux-refresh .admin-account summary{padding:0 10px}.gp-admin.ux-refresh .admin-logo-full{max-width:135px;white-space:normal;line-height:1.3}.ux-refresh .launch-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.ux-refresh .launch-card{padding:16px;min-height:170px}.ux-refresh .launch-card h3{font-size:15px}.ux-refresh .launch-card p{font-size:12px}.ux-refresh .launch-card .icon-seal{width:34px;height:34px}.ux-refresh .today-card{padding:16px}.ux-refresh .gp-tab{padding:8px 10px;min-width:0}.ux-refresh .admin-form-row{grid-template-columns:1fr}.ux-refresh .studio-type-fields{grid-template-columns:repeat(2,minmax(0,1fr))}.ux-refresh .calendar-tabs a{font-size:13px;padding:10px 6px}.ux-refresh .form-actions{flex-wrap:wrap}.ux-refresh .form-actions>.btn{flex:1 1 auto}}
@media(prefers-reduced-motion:reduce){.ux-refresh *{scroll-behavior:auto!important;transition:none!important;animation:none!important}}
}
@media print{.workspace-mobile-nav{display:none!important}}

@media screen {
.gp-admin.ux-refresh .admin-metric:is(.blue,.green,.orange,.red){background:#fffdf9;color:#332a27}
.gp-admin.ux-refresh .admin-metric>span{color:#756b64;font-size:13px;font-weight:500}
.gp-admin.ux-refresh .admin-metric>small{background:#f7efdf;color:#75462e;padding:8px 12px;font-size:12px}
.gp-admin.ux-refresh .admin-task b{background:#f4e6c8;color:#70252b;border-radius:6px}
.gp-admin.ux-refresh .admin-status{border-radius:6px;font-size:11px;padding:4px 7px}
.gp-admin.ux-refresh .admin-status.orange{background:#fff0ce;color:#825515}.gp-admin.ux-refresh .admin-status.green{background:#e7f1e6;color:#356141}
.ux-refresh .news-admin-layout{grid-template-columns:minmax(0,1fr) 270px;gap:20px}.ux-refresh .news-admin-layout>section{min-width:0}
@media(max-width:1100px){.ux-refresh .news-admin-layout{grid-template-columns:minmax(0,1fr)}}
}
@media screen {
.gp-admin.ux-refresh .admin-metric>span{background:transparent}
@media(max-width:640px){.ux-refresh .home-main .hero{flex-direction:column}.ux-refresh .home-main .hero>canvas.home-family-orbit{order:1;height:260px;max-height:260px;min-height:260px}.ux-refresh .hero-copy{order:0}}
}

@media screen {
html body.ux-refresh .public-footer .brand strong{font-weight:700!important}
html body.ux-refresh .public-footer-contact>span:first-child{font-weight:700!important;text-decoration:underline;text-underline-offset:4px;margin-bottom:3px}
.ux-refresh .public-footer-contact-row{align-items:center;gap:14px}
.ux-refresh .public-footer-contact-image{width:76px;height:76px;object-fit:cover}
.ux-refresh .public-footer-contact{margin:0;gap:2px;line-height:1.65}
.footer-contact-fields{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:20px;padding-top:18px;border-top:1px solid #e7ded2}
@media(max-width:900px){.gp-admin.ux-refresh .admin-header{position:fixed;display:block}.gp-admin.ux-refresh .admin-logo{position:absolute;left:64px;right:64px;max-width:none;width:auto;height:64px;justify-content:center;padding:0;border:0;pointer-events:none}.gp-admin.ux-refresh .admin-logo-full{max-width:none;text-align:center;font-size:15px}.gp-admin.ux-refresh .admin-topbar{height:64px;justify-content:space-between}.gp-admin.ux-refresh .admin-toggle{width:56px;z-index:1}.gp-admin.ux-refresh .admin-top-actions{margin-left:auto;z-index:1}.gp-admin.ux-refresh .admin-account summary>span:not(.admin-avatar){display:none}.gp-admin.ux-refresh .admin-account summary{width:56px;justify-content:center;padding:0}.gp-admin.ux-refresh .admin-visit{display:none}}
@media(max-width:640px){.footer-contact-fields{grid-template-columns:minmax(0,1fr)}}
}

/* Shared icon column for administrator, editor and member navigation. */
.gp-admin.ux-refresh .admin-nav-group>a,
.gp-admin.ux-refresh .admin-nav-group>details>summary{display:grid;grid-template-columns:20px minmax(0,1fr) auto;align-items:center;column-gap:12px;}
.gp-admin.ux-refresh .admin-nav-group>a>svg,
.gp-admin.ux-refresh .admin-nav-group>details>summary>svg{display:block;width:20px;height:20px;margin:0;justify-self:center;}
@media(min-width:901px){
.gp-admin.ux-refresh.admin-collapsed .admin-nav-group>a,
.gp-admin.ux-refresh.admin-collapsed .admin-nav-group>details>summary{grid-template-columns:minmax(0,1fr);place-items:center;gap:0;width:100%;padding:11px 0;border:0;box-sizing:border-box;}
}

/* Consistent feature cards and compact kinship search. */
.ux-refresh :is(.feature,.launch-card)>:is(h3,p){width:100%;text-align:center;}
.ux-refresh .launch-card .icon-seal{margin-inline:auto;}
.ux-refresh .kinship-form .person-picker-popover{padding:10px;min-width:0;width:100%;}
.ux-refresh .kinship-form .person-picker-search{display:flex;align-items:center;gap:8px;margin:0;height:44px;}
.gp-admin.ux-refresh .kinship-form .person-picker-search input{border:0;border-radius:0;box-shadow:none;background:transparent;padding:0;min-width:0;width:100%;height:40px;outline:0;}
.ux-refresh .kinship-form .person-picker-list{display:flex;flex-direction:column;gap:0;max-height:260px;overscroll-behavior:contain;}
.ux-refresh .kinship-form .person-picker-option{display:flex;flex-direction:row;align-items:center;justify-content:flex-start;text-align:left;width:100%;min-height:56px;flex:0 0 auto;padding:9px 10px;gap:8px;border-radius:6px;}
.ux-refresh .kinship-form .person-picker-option-copy{display:grid;justify-items:start;text-align:left;gap:3px;}
.ux-refresh .kinship-form .person-picker-name-line{flex-wrap:wrap;}
.ux-refresh .kinship-form .person-picker-name-line strong{white-space:normal;overflow-wrap:anywhere;font-size:14px;line-height:1.4;}
.ux-refresh .kinship-form .person-picker-option-copy em{font-size:12px;line-height:1.4;}
.ux-refresh .kinship-form .person-picker-option:not(:last-child){border-bottom:1px solid #eee4d8;}
@media(max-width:640px){
.ux-refresh .kinship-form .person-picker-popover{position:relative;inset:auto;margin-top:8px;box-shadow:none;}
.ux-refresh .kinship-form .person-picker-list{max-height:min(260px,40dvh);}
.ux-refresh .kinship-selectors{gap:12px;}
}

/* Common reading size, matching the homepage contact footer. */
body.ux-refresh{--reading-size:16px;font-size:var(--reading-size);}
body.ux-refresh :is(p,li,td,th,label,input,select,textarea,.btn,.badge,.admin-nav-label,.admin-subnav a,.admin-breadcrumb,.news-summary-link,.public-footer-contact,.person-picker-trigger-text,.person-picker-name-line strong,.person-picker-option-copy em):not(.gp-editor *):not(.genealogy-book-page *):not(svg *){font-size:var(--reading-size)!important;}
body.ux-refresh .article-content :is(p,li,td,th,span,a,strong,em,small):not(:is(h1,h2,h3,h4,h5,h6) *){font-size:var(--reading-size)!important;line-height:1.75;}
/* Remove the inner search input border in every person picker, including focus. */
html body.ux-refresh .person-picker .person-picker-search input.person-picker-search-input,
html body.ux-refresh .person-picker .person-picker-search input.person-picker-search-input:focus{border:0!important;border-radius:0!important;box-shadow:none!important;outline:0!important;background:transparent!important;padding:0!important;min-height:0;margin:0;}
html body.ux-refresh .person-picker .person-picker-search{border:0!important;box-shadow:none!important;border-radius:0;}
html body.ux-refresh .person-picker .person-picker-search:focus-within{outline:0;box-shadow:0 0 0 3px #b8892e20!important;border-radius:12px;}
html body.ux-refresh .legal-toc a{color:#741d25!important;background:#fff5e5;border:1px solid #e1caaa;}
html body.ux-refresh .legal-toc a:hover,html body.ux-refresh .legal-toc a:focus-visible{color:#fff!important;background:#8b1e24;}

/* Shared red header, centered identity and clear selected navigation. */
html body.gp-admin.ux-refresh .admin-header,
html body.gp-admin.ux-refresh .admin-topbar,
html body.gp-admin.ux-refresh .admin-logo{background:#8b1e24!important;color:#fff!important;border-color:#ffffff25;}
html body.gp-admin.ux-refresh .admin-header :is(.admin-logo-full,.admin-logo-short,.admin-toggle,.admin-site-name,.admin-visit,.admin-account>summary){color:#fff!important;}
html body.gp-admin.ux-refresh .admin-avatar{background:#ffffff20;color:#fff;}
.gp-admin.ux-refresh .admin-topbar{position:relative;}
.gp-admin.ux-refresh .admin-site-name{position:absolute;left:50%;transform:translateX(-50%);width:max-content;max-width:calc(100% - 470px);text-align:center;font-size:16px;font-weight:700;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;}
.gp-admin.ux-refresh .admin-top-actions{margin-left:auto;}
.gp-admin.ux-refresh .admin-subnav li+li{border-top:1px dashed #d8c2ac;}
html body.ux-refresh .news-status-tabs a.active{background:#8b1e24;color:#fff!important;}
html body.ux-refresh .news-status-tabs a.active b{background:#ffffff26;color:#fff!important;}
html body.ux-refresh .person-picker .person-picker-search{background:#faf7f1;border-radius:12px;padding-inline:10px;}
.member-popup-body .gp-editor{width:100%;min-width:0;}
.member-popup-body .gp-editor .gp-paper{min-height:240px;}
.biography img{max-width:100%;height:auto;}
@media(max-width:900px){
html body.gp-admin.ux-refresh .admin-logo{width:calc(100% - 120px)!important;left:60px!important;transform:none!important;justify-content:center!important;padding:0!important;}
html body.gp-admin.ux-refresh .admin-logo-full{max-width:none;font-size:16px;white-space:nowrap;}
.gp-admin.ux-refresh .admin-site-name{display:none;}
}

/* Biography keeps only the continuous formatting toolbar. */
:is(#member-edit-form,.compact-editor-form) .gp-editor :is(.gp-tabs,.gp-ruler){display:none;}
:is(#member-edit-form,.compact-editor-form) .gp-toolbar{display:flex;flex-wrap:wrap;align-items:center;gap:5px;padding:10px;max-height:none;overflow:visible;}
:is(#member-edit-form,.compact-editor-form) .gp-group,:is(#member-edit-form,.compact-editor-form) .gp-controls{display:contents;}
:is(#member-edit-form,.compact-editor-form) .gp-group[hidden]{display:none!important;}
:is(#member-edit-form,.compact-editor-form) .gp-group>small{display:none;}
:is(#member-edit-form,.compact-editor-form) .gp-toolbar :is(button,select,input){width:auto;min-width:0;height:32px;min-height:32px;margin:0;padding:4px 7px;font-size:13px;border-radius:6px;}
:is(#member-edit-form,.compact-editor-form) .gp-toolbar input[type=color]{width:30px;padding:3px;}
:is(#member-edit-form,.compact-editor-form) .gp-toolbar select{max-width:150px;}
:is(#member-edit-form,.compact-editor-form) .gp-workspace{min-height:280px;padding:12px;}
:is(#member-edit-form,.compact-editor-form) .gp-document,:is(#member-edit-form,.compact-editor-form) .gp-document .tiptap{min-height:230px;}
/* The scrolling grid owns its height; thumbnails must never shrink to thin strips. */
html body .image-library-shell{height:min(760px,calc(100dvh - 32px));max-height:calc(100dvh - 32px);}
html body .image-library-shell>:is(header,.image-library-toolbar,footer){flex:0 0 auto;}
html body .image-library-grid{flex:1 1 auto;min-height:0;grid-auto-rows:max-content;align-content:start;gap:16px;overflow-y:auto;}
html body .image-library-item{display:block;height:auto;min-height:190px;align-self:start;padding:0;}
html body .image-library-item img{display:block;height:140px;width:100%;object-fit:contain;background:#f3efe8;padding:6px;box-sizing:border-box;}
html body .image-library-item>span{display:grid;gap:4px;padding:10px;}
html body .image-library-item strong{font-size:13px;line-height:1.4;}
html body .image-library-search input{border:0!important;box-shadow:none!important;background:transparent!important;}
@media(max-width:520px){html body .image-library-shell{height:calc(100dvh - 20px);max-height:calc(100dvh - 20px);}html body .image-library-grid{padding:12px;gap:12px;grid-template-columns:repeat(2,minmax(0,1fr));}html body .image-library-item{min-height:168px;}html body .image-library-item img{height:115px;}}

/* Compact account actions with shared spacing on every screen. */
html body.gp-admin.ux-refresh .admin-account-panel{display:block;width:280px;max-width:calc(100vw - 24px);padding:6px 12px;}
html body.gp-admin.ux-refresh .admin-account-panel>a{display:flex;align-items:center;flex-wrap:wrap;gap:4px;min-height:44px;margin:0;padding:10px 4px;line-height:1.4;font-size:16px;background:transparent;color:#8b1e24!important;border:0;border-radius:0;text-decoration:none;box-sizing:border-box;}
html body.gp-admin.ux-refresh .admin-account-panel>a+a,
html body.gp-admin.ux-refresh .admin-account-panel>form{border-top:1px solid #e6d6c8;}
html body.gp-admin.ux-refresh .admin-account-panel>form{margin:0;padding:0;}
html body.gp-admin.ux-refresh .admin-account-panel>form>button{display:block;width:100%;min-height:44px;margin:0;padding:10px 4px;text-align:left;border:0;background:transparent;color:#8b1e24;font-size:16px;border-radius:0;}
html body.gp-admin.ux-refresh .admin-account-panel :is(a,button):hover{background:#f7eee2;}
.workspace-mobile-title{display:none;}
@media(min-width:901px){.gp-admin.ux-refresh .admin-site-name{position:static;transform:none;text-align:left;max-width:none;width:auto;min-width:0;flex:1;margin-left:14px;}.gp-admin.ux-refresh .admin-top-actions{flex-shrink:0;}}
@media(max-width:900px){.workspace-desktop-title{display:none;}.workspace-mobile-title{display:inline;}}
@media(max-width:900px){html body.gp-admin.ux-refresh .admin-logo{z-index:2;}}
.menu-area-tabs{display:flex;flex-wrap:wrap;gap:8px;margin:18px 0 24px}.menu-area-tabs a{padding:10px 14px;border:1px solid #e5d4c0;border-radius:10px;color:#7e2428;background:#fffaf2;text-decoration:none}.menu-area-tabs a[aria-current=page]{background:#8f2027;color:#fff}.menu-workspace{min-width:0}.menu-workspace h2{margin-top:0}.menu-save-bar{display:flex;align-items:center;justify-content:space-between;gap:12px;flex-wrap:wrap;margin:18px 0}.menu-group-editor summary{padding:16px;cursor:pointer}.menu-group-fields,.menu-link-fields{display:grid;grid-template-columns:minmax(0,2fr) minmax(0,1.5fr) 90px 150px;gap:12px;align-items:end}.menu-link-fields{padding-top:14px;margin-top:14px;border-top:1px dashed #dec8b5}.menu-group-fields label,.menu-link-fields label{display:flex;flex-direction:column;gap:6px;min-width:0}.menu-role-form input:not([type=checkbox]),.menu-role-form select{width:100%;min-width:0;box-sizing:border-box;height:42px}.menu-role-form .menu-visible{display:flex;flex-direction:row;align-items:center;gap:8px;min-height:42px}.menu-role-form input[type=checkbox]{width:18px;height:18px;flex:0 0 18px}.menu-role-form .admin-box-body>label{display:block}.menu-role-form p{color:#735f55;line-height:1.6}@media(max-width:1100px){.menu-group-fields,.menu-link-fields{grid-template-columns:minmax(0,1fr) minmax(0,1fr)}}@media(max-width:540px){.menu-area-tabs{display:grid;grid-template-columns:1fr}.menu-group-fields,.menu-link-fields{grid-template-columns:minmax(0,1fr)}.menu-role-form .admin-box-body{padding:14px}.menu-save-bar .btn{flex:1}.menu-save-bar h3{width:100%}}
/* 3.3.1: compact profile actions and public news reading layouts. */
@media(max-width:640px){
 .gp-admin.ux-refresh .account-profile-page .profile-save-actions{display:flex;flex-direction:row;flex-wrap:nowrap;justify-content:space-between;align-items:stretch;width:100%;gap:12px}.gp-admin.ux-refresh .account-profile-page .profile-save-actions>.btn{flex:1 1 0;min-width:0;margin:0;text-align:center;display:flex;align-items:center;justify-content:center}.gp-admin.ux-refresh .account-profile-page .profile-save-actions>button{order:0}.gp-admin.ux-refresh .account-profile-page .profile-save-actions>a{order:1}
 .ux-refresh .news-public-detail .article{border:0;border-radius:0;box-shadow:none;background:transparent;padding:0}.ux-refresh .news-public-detail .article img{border-radius:0}.ux-refresh .news-public-detail .article>figure,.ux-refresh .news-public-detail .article-content figure{margin-inline:0;max-width:100%}.ux-refresh .news-public-detail .article-content{width:100%;min-width:0}
}
/* 3.3.2: editorial news layout, scoped to the public listing. */
html body.ux-refresh .news-public-index .section-heading{margin-bottom:20px}
html body.ux-refresh .news-browse-toolbar{display:flex;justify-content:flex-end;margin-bottom:24px}
html body.ux-refresh .news-view-switch{display:flex;gap:6px;padding:0;border:0!important;box-shadow:none;background:transparent;border-radius:0}
html body.ux-refresh .news-view-switch a{display:flex;align-items:center;justify-content:center;min-height:44px;min-width:88px;padding:8px 16px;border:0!important;border-radius:6px;background:#f1e7d9!important;color:#762329!important;text-decoration:none!important;font-size:16px!important;font-weight:600}
html body.ux-refresh .news-view-switch a[aria-current]{background:#8f2027!important;color:#fff!important}
html body.ux-refresh .news-view-switch a:hover{background:#e9d7bd!important;color:#5e1720!important}html body.ux-refresh .news-view-switch a[aria-current]:hover{background:#721a21!important;color:#fff!important}
html body.ux-refresh .news-view-switch a:focus-visible{outline:2px solid #8f2027;outline-offset:3px}
html body.ux-refresh .news-public-index .news-feed{display:grid;gap:28px;columns:auto}
html body.ux-refresh .news-public-index .news-card{display:grid;grid-template-columns:minmax(0,1fr);grid-template-areas:'image' 'meta' 'title' 'summary' 'more';grid-template-rows:auto auto auto 1fr auto;align-content:start;align-items:start;gap:10px;min-width:0;margin:0;padding:0 0 24px;border:0;border-bottom:1px solid #dfd3c4;border-radius:0;background:transparent;box-shadow:none;overflow:visible;--type-section:22px}
html body.ux-refresh .news-public-index .news-card-image-link,html body.ux-refresh .news-public-index .news-placeholder{grid-area:image;display:block;width:100%;aspect-ratio:3/2;overflow:hidden;border-radius:0;margin:0}
html body.ux-refresh .news-public-index .news-card-image-link img{display:block;width:100%;height:100%;aspect-ratio:3/2;object-fit:cover;border-radius:0;margin:0}
html body.ux-refresh .news-public-index .news-placeholder{display:grid;place-items:center;font-family:inherit;font-size:28px}
html body.ux-refresh .news-public-index .news-item-meta{grid-area:meta;min-width:0;display:flex;flex-wrap:wrap;gap:4px 10px;margin:0;color:#826b5d}
html body.ux-refresh .news-public-index .news-item-title{grid-area:title;margin:0;min-width:0;overflow-wrap:anywhere}
html body.ux-refresh .news-public-index .news-item-title a{color:#4e2524!important;text-decoration:none!important}
html body.ux-refresh .news-public-index .news-item-title a:hover{color:#a0222b!important}
html body.ux-refresh .news-public-index .news-item-summary{grid-area:summary;margin:0;min-width:0;color:#725f55;display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:3;overflow:hidden}
html body.ux-refresh .news-public-index .news-item-more{grid-area:more;justify-self:start;display:inline-flex;align-items:center;min-height:36px;color:#8f2027!important;text-decoration:none!important;font-size:15px}
html body.ux-refresh .news-public-index .news-layout-grid{grid-template-columns:repeat(3,minmax(0,1fr))}
html body.ux-refresh .news-public-index :is(.news-layout-grid,.news-layout-columns) .news-item-title{min-height:0;display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:3;overflow:hidden}
html body.ux-refresh .news-public-index :is(.news-layout-grid,.news-layout-columns) .news-item-meta{min-height:24px}
html body.ux-refresh .news-public-index :is(.news-layout-grid,.news-layout-columns) .news-item-summary{min-height:5.1em}
html body.ux-refresh .news-public-index .news-layout-list{grid-template-columns:minmax(0,1fr);gap:24px}
html body.ux-refresh .news-public-index .news-layout-list .news-card{grid-template-columns:minmax(220px,30%) minmax(0,1fr);grid-template-areas:'image meta' 'image title' 'image summary' 'image more';grid-template-rows:auto auto 1fr auto;column-gap:24px;row-gap:8px}
html body.ux-refresh .news-public-index .news-layout-columns{grid-template-columns:repeat(2,minmax(0,1fr));gap:28px 32px}
html body.ux-refresh .news-pagination{display:flex;justify-content:center;gap:8px;flex-wrap:wrap;margin:32px 0}.ux-refresh .news-pagination a,.ux-refresh .news-pagination>span{display:flex;align-items:center;justify-content:center;min-width:42px;height:42px;padding:0 8px;border:1px solid #e7d9c6;border-radius:6px;color:#74242a;text-decoration:none}.ux-refresh .news-pagination a[aria-current]{background:#8f2027;color:white}
.book-library .library-reader-toolbar{justify-content:flex-start}.book-library .library-reader-toolbar:has([data-reader-fullscreen][hidden]){display:none}
@media(max-width:1000px){html body.ux-refresh .news-public-index .news-layout-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:640px){
 html body.ux-refresh .news-browse-toolbar{justify-content:center;margin-bottom:24px}html body.ux-refresh .news-view-switch{width:100%;gap:6px}html body.ux-refresh .news-view-switch a{flex:1;min-width:0;padding:8px 6px}
 html body.ux-refresh .news-public-index .news-layout-grid{grid-template-columns:minmax(0,1fr)}html body.ux-refresh .news-public-index .news-card{--type-section:22px;gap:10px}
 html body.ux-refresh .news-public-index .news-layout-grid .news-item-title{min-height:0;display:block}html body.ux-refresh .news-public-index .news-layout-grid .news-item-summary{min-height:0}
 html body.ux-refresh .news-public-index .news-layout-list .news-card{grid-template-columns:112px minmax(0,1fr);grid-template-areas:'meta meta' 'image title' 'summary summary' 'more more';grid-template-rows:auto auto auto auto;gap:12px}
 html body.ux-refresh .news-public-index .news-layout-list .news-item-title{--type-section:20px}
 html body.ux-refresh .news-public-index .news-layout-columns{grid-template-columns:repeat(2,minmax(0,1fr));gap:22px 16px}
 html body.ux-refresh .news-public-index .news-layout-columns .news-card{--type-section:18px;gap:8px}
 html body.ux-refresh .news-public-index .news-layout-columns .news-item-meta{flex-direction:column;gap:0;min-height:46px}
 html body.ux-refresh .news-public-index .news-layout-columns .news-item-summary{--reading-size:15px;-webkit-line-clamp:3}
}
@media(max-width:360px){html body.ux-refresh .news-public-index .news-layout-list .news-card{grid-template-columns:96px minmax(0,1fr)}html body.ux-refresh .news-public-index .news-layout-columns{gap:20px 12px}}
/* 3.4.0: shared news feed and compact personal library. */
html body.ux-refresh .home-news-all{text-align:center;margin:24px 0 0}
html body.gp-admin.ux-refresh .admin-breadcrumb.library-breadcrumb{display:flex;flex-wrap:nowrap;align-items:center;gap:8px;white-space:nowrap;overflow-x:auto;max-width:100%;margin-bottom:8px;padding-bottom:4px}
html body.ux-refresh .library-breadcrumb>*{flex-shrink:0;margin:0}
html body.ux-refresh .book-library.main{padding-top:0}
html body.ux-refresh .book-library .library-management-heading{margin-bottom:12px}
html body.ux-refresh .book-library .library-categories{margin:12px 0 16px}
html body.ux-refresh .book-reader-page .library-heading{margin-bottom:12px;gap:12px}
html body.ux-refresh .book-reader-page .library-heading{display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:start}
html body.ux-refresh .book-reader-page .library-heading>.library-actions{width:auto;max-width:150px;justify-content:flex-end}
html body.ux-refresh .book-reader-page .library-back{display:inline-block;color:#8f2027!important;font-weight:700;margin:0 0 6px}
html body.ux-refresh .book-reader-page .library-heading p{margin:0}
html body.ux-refresh .book-reader-page .library-introduction{border:0;border-radius:0;background:transparent;padding:0;margin:0 0 20px}
html body.ux-refresh .book-reader-page .library-description{margin:0}
html body.ux-refresh .library-book{position:relative}
html body.ux-refresh .library-favorite{margin:0;flex:0 0 auto}
html body.ux-refresh .library-book>.library-favorite{position:absolute;right:14px;top:14px;z-index:2}
html body.ux-refresh .library-favorite button{width:44px;height:44px;display:flex;align-items:center;justify-content:center;border:1px solid #ead8c7;border-radius:50%;background:#fffdf9;color:#8f2027;box-shadow:0 2px 8px #30101018;padding:10px;cursor:pointer}
html body.ux-refresh .library-favorite button:focus-visible{outline:3px solid #b58436;outline-offset:3px}
html body.ux-refresh .library-favorite button:disabled{opacity:.55;cursor:wait}
html body.ux-refresh .library-favorite svg{width:23px;height:23px;fill:none;stroke:currentColor;stroke-width:1.8}
html body.ux-refresh .library-favorite button[aria-pressed=true] svg{fill:currentColor}
html body.ux-refresh .library-favorite-error{display:block;max-width:170px;padding:8px;background:#fff4dc;color:#8f2027;font-size:14px}

/* Library reader and introduction editor, 3.4.1. */
html body.ux-refresh .book-reader-page .library-reader{border:0;border-radius:0;box-shadow:none;background:transparent;overflow:visible}
html body.ux-refresh .book-reader-page .library-reader-toolbar{background:transparent;padding:0 0 10px}
html body.ux-refresh .book-reader-page .library-reader iframe{border:0;border-radius:0;width:100%}
html body.ux-refresh .book-reader-page .library-description{white-space:normal}
html body.ux-refresh .book-reader-page .library-description>:first-child{margin-top:0}
html body.ux-refresh .book-reader-page .library-description>:last-child{margin-bottom:0}
html body.ux-refresh .book-reader-page .library-description img{max-width:100%;height:auto}
html body.ux-refresh .book-reader-page .library-description{overflow-wrap:anywhere;overflow-x:auto}
html body.ux-refresh .library-description-editor{min-width:0}
html body.ux-refresh .library-description-editor>.gp-editor{margin-top:8px}
html body.ux-refresh .library-description-editor .gp-toolbar :is(select,input,button){width:auto;min-width:0;padding:4px 7px;height:32px}
html body.ux-refresh .library-description-editor .gp-toolbar input[type=color]{width:30px}
html body.ux-refresh .library-description-editor .gp-editor label{flex-direction:row;align-items:center;gap:4px;margin:0;min-width:0}
html body.ux-refresh .library-description-editor .gp-toolbar .gp-color{height:32px;flex:0 0 auto}

/* Permission-filtered mobile navigation distributes remaining entries. */
html body.ux-refresh .workspace-mobile-nav{grid-template-columns:repeat(auto-fit,minmax(65px,1fr))}

/* Spacious events and galleries, 3.5.1. */
html body.ux-refresh .event-container>section.panel,html body.ux-refresh .gallery-page .gallery-event{border:0;border-radius:0;box-shadow:none;background:transparent;padding:0;margin-top:24px}
html body.ux-refresh .event-container .event-card{border:0;border-radius:0;background:transparent;box-shadow:none;padding:16px 0;border-bottom:1px solid var(--ux-line)}
html body.ux-refresh .event-container .table-wrap{border:0;border-radius:0;box-shadow:none}
html body.ux-refresh .gallery-event-header{display:flex;flex-direction:column;align-items:stretch;gap:12px;padding:0 0 16px;border-radius:0;background:transparent}
html body.ux-refresh .gallery-event-images{padding:16px 0}
html body.ux-refresh .gallery-event-tools{display:flex;flex-direction:row;align-items:center;justify-content:flex-start;gap:8px;flex-wrap:wrap}
html body.ux-refresh .gallery-event-tools>details{margin:0;width:auto}
html body.ux-refresh .gallery-event-tools summary{min-height:44px;margin:0}
html body.ux-refresh .event-annual-check{display:flex;align-items:center;gap:8px;margin:10px 0}
html body.ux-refresh .event-annual-check input{width:18px;height:18px;flex:0 0 auto}

html body.ux-refresh .list-view-panel .member-list-toolbar.panel,html body.ux-refresh .list-view-panel .member-table-panel.panel{border:0;border-radius:0;box-shadow:none;background:transparent;padding:0}

/* Member life status: keep names readable on the existing light surfaces. */
html body.ux-refresh .member-table-row[data-deceased="1"] .member-table-name,
html body.ux-refresh [data-family-tree] .tree-node.deceased .node-copy strong{color:#b42318!important}
html body.ux-refresh .member-table-row[data-deceased="0"] .member-table-name,
html body.ux-refresh [data-family-tree] .tree-node:not(.deceased) .node-copy strong{color:#18733c!important}
html body.ux-refresh .member-table-row[data-deceased="1"] .member-table-status{color:#b42318!important;background:#fff0ed!important}
html body.ux-refresh .member-table-row[data-deceased="0"] .member-table-status{color:#18733c!important;background:#eaf5ed!important}

html body.ux-refresh .member-profile .biography{border:0;border-radius:0;padding:0;box-shadow:none;background:transparent}html body.ux-refresh .family-action-buttons [data-family-open][aria-expanded="true"]{background:#921e26!important;color:#fff!important;border-color:#921e26}html body .spouse-checks{display:flex;gap:18px;flex-wrap:wrap}html body .spouse-checks[hidden]{display:none}html body .spouse-checks label{display:flex;gap:6px;align-items:center}html body .admin-breadcrumb.has-page-action{display:flex;align-items:center;flex-wrap:wrap;gap:8px;margin-bottom:12px}html body .admin-breadcrumb .breadcrumb-action{margin-left:auto;flex-shrink:0}html body .page-head.action-relocated{display:none!important}@media(max-width:520px){html body .admin-breadcrumb.has-page-action{font-size:13px}html body .admin-breadcrumb .breadcrumb-action .btn,html body .admin-breadcrumb a.breadcrumb-action{font-size:13px;padding:9px 10px}}

html body.ux-refresh .admin-breadcrumb.has-page-action{flex-wrap:nowrap;padding:8px 0;margin-bottom:4px}html body .breadcrumb-trail{display:flex;flex-wrap:wrap;gap:6px;min-width:0;flex:1}html body .breadcrumb-action{max-width:52%}@media(max-width:520px){html body.ux-refresh .admin-breadcrumb.has-page-action,html body.ux-refresh .admin-breadcrumb.has-page-action .btn{font-size:13px!important}html body .breadcrumb-action .btn{white-space:normal;text-align:center}}

/* Full names: cards grow with their content; connector layout measures actual cards. */
html body.ux-refresh [data-family-tree] .tree-node .node-copy strong{display:block;white-space:normal;overflow:visible;text-overflow:clip;-webkit-line-clamp:unset;line-clamp:unset;max-height:none;overflow-wrap:anywhere}
html body.ux-refresh [data-family-tree] .tree-node{height:auto}
html body.ux-refresh .oauth-grid .oauth-facebook{grid-column:1 / -1;background:#1877f2;color:#fff;border-color:#1877f2}
html body.ux-refresh .oauth-facebook b{font:bold 24px/1 Arial,sans-serif}

/* Reading layouts: shared left edge and locally scrollable wide tables. */
html body.ux-refresh :is(.funds-detail,.news-public-detail)>.container{width:100%;max-width:none;min-width:0;margin-inline:0}
html body.ux-refresh .news-public-detail .article{width:100%;max-width:none;margin:0;padding:0;border:0;border-radius:0;box-shadow:none;background:transparent}
html body.ux-refresh :is(.funds-detail,.news-public-detail) .article-content{min-width:0;width:100%;max-width:100%;overflow-wrap:anywhere}
html body.ux-refresh :is(.funds-detail,.news-public-detail) .article-content>[data-editor-page]{padding-inline:0!important;min-width:0;max-width:100%}
html body.ux-refresh .news-public-detail .article>figure{margin:18px 0 12px;max-width:100%}
html body.ux-refresh .news-public-detail .article-cover{display:block;width:100%;max-width:100%;height:auto;margin:0}
html body.ux-refresh .news-public-detail .article>figure>figcaption{margin:4px 0 0;padding:0;line-height:1.4;text-align:center}
html body.ux-refresh :is(.funds-detail,.news-public-detail) h1{overflow-wrap:anywhere}
.reading-table-scroll{width:100%;max-width:100%;min-width:0;overflow-x:auto;overscroll-behavior-inline:contain;margin:16px 0}
.reading-table-scroll>table{margin:0!important}
@media(max-width:640px){html body.ux-refresh :is(.funds-detail,.news-public-detail)>.container{padding-inline:0}.reading-table-scroll:focus-visible{outline:2px solid #8b1e24;outline-offset:2px}}

html body.ux-refresh .news-public-detail>.container{max-width:1140px;margin-inline:auto;padding-inline:20px} @media(max-width:640px){html body.ux-refresh .news-public-detail>.container{padding-inline:14px}}
html body.ux-refresh .funds-index article.panel h2{width:100%;max-width:none;margin-inline:0;flex:none}html body.ux-refresh .funds-index article.panel h2 a{display:block;width:100%;max-width:none;word-break:normal;overflow-wrap:break-word}
html body.gp-admin.ux-refresh .admin-account[open]>summary,html body.gp-admin.ux-refresh .admin-account-panel{background:#8b1e24!important;color:#fff!important}html body.gp-admin.ux-refresh .admin-account-panel :is(a,button){color:#fff!important;border-color:#fff!important}html body.gp-admin.ux-refresh .admin-account-panel :is(a,button):hover{background:#a52a31!important}html body.gp-admin.ux-refresh .admin-account-panel :is(form,hr){border-color:#fff!important}
.video-topic-row{display:flex;align-items:end;gap:12px;flex-wrap:wrap;margin:14px 0}.video-topic-row label{flex:1;min-width:180px}.video-topic-row input{width:100%}

html body.ux-refresh .funds-index article.panel :is(h2,h2 a){text-wrap:wrap}

/* Compact fund detail heading: the title remains in the breadcrumb. */
html body.ux-refresh:has(.funds-detail) .admin-breadcrumb{padding-bottom:4px;margin-bottom:0}html body.ux-refresh .funds-detail.main{padding-top:0}html body.ux-refresh .funds-detail .funds-back{display:block;width:fit-content;margin:0 0 12px;line-height:1.5}html body.ux-refresh .funds-detail .funds-edit{display:table;margin:0 0 8px}
