/* Real module presentation; no mock data, no changes to relation geometry. */
body.htc5-r38 .gpc5-r38-stats-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;margin:16px 0 20px}
body.htc5-r38 .gpc5-r38-stats-grid>article{display:flex;gap:13px;align-items:center;min-width:0;padding:16px;border:1px solid #d6c39c;border-radius:11px;background:rgba(255,250,237,.91);overflow-wrap:anywhere}
body.htc5-r38 .gpc5-r38-plate{display:grid;place-items:center;flex:none;width:48px;height:48px;border:1px solid #d6c39c;border-radius:9.6px;background:#f3e5c5;color:#845c28}
body.htc5-r38 .gpc5-r38-plate svg{width:26px;height:26px}
body.htc5-r38 .gpc5-r38-stats-grid strong{display:block;font:700 clamp(20px,2.4vw,29px)/1.2 'Baloo 2','Nunito Sans',sans-serif;color:#67431e}
body.htc5-r38 .gpc5-r38-stats-grid span:not(.gpc5-r38-plate),body.htc5-r38 .gpc5-r38-stats-grid small{display:block;font-size:13px;line-height:1.4;color:#594b37}
body.htc5-r38 .gpc5-r38-stats-grid small{font-size:11px;color:#70604a}
body.htc5-r38 :is(.gpc5-r38-extra-stats,.gpc5-r38-locked,.gpc5-stats-public,.gpc5-r38-empty){border:1px solid #d6c39c;border-radius:12px;background:rgba(255,250,237,.91);padding:clamp(12px,2vw,24px);min-width:0}
body.htc5-r38 .gpc5-r38-extra-stats{margin-bottom:15px;padding:12px;background:rgba(255,253,243,.65)}
body.htc5-r38 .gpc5-r38-extra-stats summary{cursor:pointer;font-weight:700;color:#67431e}
body.htc5-r38 :is(.gpc5-r38-locked,.gpc5-stats-public,.gpc5-r38-empty) h2{font-family:Charm,Georgia,serif!important;color:#67431e}
body.htc5-r38 .gpc5-r38-locked a{display:inline-flex;align-items:center;min-height:42px;background:#765020;color:#fff8e8;border-radius:8.4px;padding:8px 15px;text-decoration:none;font-weight:700}
body.htc5-r38 .gpc5-r38-empty{display:grid;justify-items:start;gap:8px;margin:12px 0}
body.htc5-r38 .gpc5-r38-empty :is(h3,p){margin:0}
body.htc5-r38 [data-r38-no-match]{display:none!important}
body.htc5-r38 .gpc5-r38-archive-controls{display:grid;gap:9px;padding:16px 18px;border:1px solid #d6c39c;border-radius:11px;background:rgba(255,250,237,.91);margin:12px 0 16px}
body.htc5-r38 .gpc5-r38-archive-controls label{display:flex;gap:8px;align-items:center;color:#67431e}
body.htc5-r38 .gpc5-r38-archive-controls input{width:100%;min-width:0;min-height:44px;border:1px solid #c9b17d;border-radius:8.8px;background:#fffbf2;padding:9px 12px;font:inherit;color:#594b37}
body.htc5-r38 .gpc5-r38-archive-controls h2{font-family:Charm,Georgia,serif!important;color:#67431e;margin:0}
body.htc5-r38 .gpc5-r38-archive-controls small{color:#70604a}
/* Preserve the original reading engine. Restore the aligned ribbon and avoid a clipped aside. */
html body.htc5-r34.htc5-r38 .g5o-origin-shell .g5o-hero-primary{background:#765020!important;border-color:#765020!important;color:#fff8e8!important}
html body.htc5-r34.htc5-r38 .g5o-origin-shell .g5o-journey-ribbon{position:relative;min-height:52px;align-items:center!important}
html body.htc5-r34.htc5-r38 .g5o-origin-shell .g5o-journey-ribbon .g5o-down{align-self:center;margin-block:0!important}
html body.htc5-r34.htc5-r38 .g5o-stage-column[data-r25-stage-static]{position:static!important;max-height:none!important;overflow:visible!important}
body.htc5-r38 .gpc5-announcements .gpc5-announcement-card{background:rgba(255,250,237,.91);border:1px solid #d6c39c;border-radius:12px;padding:clamp(14px,2vw,24px);margin:12px 0;overflow-wrap:anywhere}
body.htc5-r38 .gpc5-announcements .gpc5-announcement-meta{display:flex;justify-content:space-between;align-items:center;color:#70604a}
body.htc5-r38 .gpc5-announcements h2{font-family:Charm,Georgia,serif!important}
body.htc5-r38 .gpc5-giving:not(.gpc5-announcements) .gpc5-giving-hero h3{font-family:Charm,Georgia,serif!important;line-height:1.22!important;text-wrap:balance}
body.htc5-r38 .gpc5-giving:not(.gpc5-announcements) .gpc5-giving-bank>summary{padding-right:48px!important}
@media(max-width:760px){body.htc5-r38 .gpc5-r38-stats-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}body.htc5-r38 .gpc5-r38-stats-grid>article{padding:10px;gap:8px;align-items:start;flex-direction:column}body.htc5-r38 .gpc5-r38-plate{width:40px;height:40px;border-radius:8px}body.htc5-r38 .gpc5-r38-archive-controls{padding:12px}body.htc5-r38 .gpc5-giving:not(.gpc5-announcements) .gpc5-giving-hero h3{font-size:clamp(25px,7vw,34px)!important}}
/* R34 tree control row and exact SVG card/toggle shape. */
body.htc5-r38 .gpc5-tree .gpc5-r38-modebar{display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:10px;padding:10px 12px;min-width:0}
body.htc5-r38 .gpc5-tree .gpc5-r38-modebar .gpc5-view-tabs{flex:1 1 auto;margin:0!important;min-width:0}
body.htc5-r38 .gpc5-tree .gpc5-r38-search-slot{flex:1 1 180px;min-width:0;max-width:330px}
body.htc5-r38 .gpc5-tree .gpc5-r38-search-slot .gpc5-list-search-label{display:flex!important;width:100%!important;max-width:100%!important;min-height:44px!important;gap:8px!important;align-items:center;padding:0 12px!important;margin:0!important;border:1px solid #c9b17d!important;background:#fffbf2!important;border-radius:8.8px!important;color:#845c28!important;box-shadow:none!important}
body.htc5-r38 .gpc5-tree .gpc5-r38-search-slot .gpc5-search{display:block!important;flex:1;width:100%!important;min-width:0!important;padding:8px 0!important;background:transparent!important;border:0!important;box-shadow:none!important;font-size:14px!important}
body.htc5-r38 .gpc5-tree .gpc5-r38-wife-bar{display:flex;align-items:center;flex-wrap:wrap;gap:9px;padding:10px 12px;background:#f7ecd6;border:1px solid #d6c39c;border-radius:9px;margin:8px 0 12px}
body.htc5-r38 .gpc5-tree .gpc5-r38-wife-bar[hidden],body.htc5-r38 .gpc5-tree .gpc5-r38-search-slot[hidden],body.htc5-r38 .gpc5-tree .gpc5-r38-wife-clear[hidden]{display:none!important}
body.htc5-r38 .gpc5-tree .gpc5-r38-wife-bar label{display:flex;flex-wrap:wrap;align-items:center;gap:8px;flex:1 1 220px;min-width:0;font-weight:700;color:#67431e}
body.htc5-r38 .gpc5-tree .gpc5-r38-wife-bar select{width:100%;max-width:300px;min-height:40px}
body.htc5-r38 .gpc5-tree .gpc5-r38-wife-info{flex:1 1 180px;margin:0;color:#70604a;font-size:12px}
body.htc5-r38 .gpc5-tree .gpc5-family-toggle rect{fill:#fff8e8!important;stroke:#c9b17d!important;stroke-width:1.4px!important}
body.htc5-r38 .gpc5-tree .gpc5-family-toggle:hover rect{stroke:#b78c3f!important;stroke-width:2px!important}
body.htc5-r38 .gpc5-tree .gpc5-svg .gpc5-node-card .gpc5-r38-name{fill:#67431e!important;font-weight:700!important;text-shadow:none!important;dominant-baseline:auto!important}
body.htc5-r38 .gpc5-tree .gpc5-svg .gpc5-node-card .gpc5-r38-meta{fill:#70604a!important;font-size:11px!important;text-shadow:none!important;dominant-baseline:auto!important}
@media(max-width:760px){body.htc5-r38 .gpc5-tree .gpc5-r38-modebar{padding:8px 0;gap:6px}body.htc5-r38 .gpc5-tree .gpc5-r38-search-slot{flex:1 1 100%;max-width:none}}
body.htc5-r38 .gpc5-tree .gpc5-r38-workspace-head{display:flex!important;align-items:center!important;justify-content:space-between!important;flex-wrap:wrap!important;gap:12px!important;min-height:62px!important;background:#f5e9ce!important;padding:12px 16px!important;border:1px solid #d6c39c!important;border-radius:10px!important;margin:0 0 8px!important}
body.htc5-r38 .gpc5-tree .gpc5-r38-workspace-head h2{display:block!important;color:#67431e!important;font:700 clamp(23px,2.4vw,32px)/1.25 Charm,Georgia,serif!important;margin:0!important;visibility:visible!important}
body.htc5-r38 .gpc5-r38-life-summary{display:flex;align-items:center;gap:12px;flex-wrap:wrap;font-size:12px;color:#594b37}
body.htc5-r38 .gpc5-r38-life-summary span{display:inline-flex;align-items:center;gap:5px}body.htc5-r38 .gpc5-r38-life-summary i{width:8px;height:8px;border-radius:50%;background:#628f66}body.htc5-r38 .gpc5-r38-life-summary i.r38-dead{background:#89847d}
body.htc5-r38 .gpc5-tree[data-directory-engine] .gpc5-r38-workspace-head,body.htc5-r38 .gpc5-tree[data-profile-page="1"] .gpc5-r38-workspace-head{display:none!important}
