/* Palette from approved HOME: changes are scoped to the six reviewed inner pages. */
body.uirh-reference43{--r43-oil:var(--uirh-petroleum,#003c45);--r43-cream:var(--uirh-ivory,#f4ede2);--r43-gold:var(--uirh-antique,#cbaa6e);--r43-ink:#073d58;--ab-teal:#003c45;--ab-ink:#073d58;--ab-gold:#cbaa6e;--cu-gold:#cbaa6e;--cu-ink:#073d58}
body.uirh-reference43 .c4-section{font-size:16px;line-height:1.9}
body.uirh-reference43 :is(.ab-intro,.ab-organization,.en-search,.en-articles,.en-featured,.en-books,.en-cta){background-color:var(--r43-cream)}
/* Groups: the complete second reference, with the detailed first-reference cards. */
body.uirh-reference43 .gr42-member{font-size:15px;line-height:1.8}
body.uirh-reference43 .gr42-person-stats{font-size:13px;line-height:1.6}
body.uirh-reference43 .gr42-members-heading{min-height:68px}
body.uirh-reference43 .gr42-member h3{min-height:54px}
body.uirh-reference43 .gr42-chief h3{min-height:0}
body.uirh-reference43 .gr42-member-controls{line-height:1.6}
body.uirh-reference43 .gr42-member-pager{line-height:1.3}
body.uirh-reference43 .gr42-project-detail{line-height:1.4}
body.uirh-reference43 .gr42-project-panel header{line-height:1.5}
body.uirh-reference43 .gr42-project-row{min-height:70px}
body.uirh-reference43 .gr42-project-panel{padding-block:14px}
body.uirh-reference43 .gr42-project-progress{line-height:1.5}
body.uirh-reference43 .gr42-project-panel header button{min-height:28px}
body.uirh-reference43 .c4-group-philosophy-goals{padding-block:25px}
body.uirh-reference43 .gr42-goal-icon{width:95px;height:108px}
body.uirh-reference43 .gr42-goal-icon svg{width:45px;height:45px}
body.uirh-reference43 .gr42-goals:before{top:56px}
body.uirh-reference43 .gr42-section-heading{margin-bottom:25px}
body.uirh-reference43 .c4-group-fiqh-goals{padding-top:8px;padding-bottom:4px}
body.uirh-reference43 .gr43-compact-goals{margin:0 0 0 auto;color:#f4ede2}
body.uirh-reference43 .gr43-compact-goals summary{display:flex;align-items:center;gap:12px;cursor:pointer;list-style:none;font-size:22px;margin:0;line-height:1.8}
body.uirh-reference43 .gr43-compact-goals summary:after{content:none}
body.uirh-reference43 .gr43-compact-goals summary small{color:#cbaa6e;font-size:18px}
body.uirh-reference43 .gr43-compact-goals ol{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:20px;list-style:none;margin:20px 0 0;padding:0}
body.uirh-reference43 .gr43-compact-goals li{display:flex;gap:14px;padding:16px;border:1px solid #cbaa6e77;border-radius:6px}
body.uirh-reference43 .gr43-compact-goals li>b{color:#cbaa6e;font-size:23px}
body.uirh-reference43 .gr43-compact-goals h3{line-height:1.8;margin:0 0 8px!important;}
body.uirh-reference43 .gr43-compact-goals p{font-size:12px;margin:0!important}
/* Offices: align decorative joints, card baselines and carousel controls. */
/* Contact: remove the duplicate header gap; retain real form labels for assistive tech. */
body.uirh-reference43 .cu-topline{display:none}
body.uirh-reference43 .cu-hero-inner{min-height:520px;padding-top:35px;padding-bottom:30px}
body.uirh-reference43 .cu-hero-copy{padding-top:0}
body.uirh-reference43 .cu-message-panel{background:var(--r43-cream);gap:28px;padding:30px;align-items:stretch}
body.uirh-reference43 .cu-field-label{position:absolute!important;width:1px;height:1px;overflow:hidden;clip-path:inset(50%);white-space:nowrap}
body.uirh-reference43 .cu-field>svg{top:20px}
body.uirh-reference43 .cu-field :is(input,textarea){background:#f8f2e8!important;border:1px solid #dfd3bf!important;box-shadow:inset 0 0 6px #cbaa6e0c;border-radius:17px!important;min-height:64px;height:64px;font-size:16px;padding:14px 43px 14px 15px!important}
body.uirh-reference43 .cu-field textarea{height:154px!important;min-height:154px!important}
body.uirh-reference43 .cu-fields{gap:18px 16px}
body.uirh-reference43 .cu-map{height:auto;min-height:440px}
body.uirh-reference43 .cu-map-art{min-height:320px;height:100%;object-fit:cover}
body.uirh-reference43 .cu-question{border-color:#dfd3bf;border-radius:15px;background:#f8f2e844}
body.uirh-reference43 .cu-question summary{padding:16px 18px}
body.uirh-reference43 .cu-form-heading{margin-bottom:25px}
body.uirh-reference43 .cu-submit{margin-top:25px;min-height:52px}
body.uirh-reference43 .cu-way{border-color:#dfd3bf88}
/* Encyclopedia: use the complete reference photograph, never a cropped tall replacement. */
body.uirh-reference43 .en-reference-art{width:500px;max-width:100%;margin:10px 0 12px;align-self:end;justify-self:center;line-height:0}
body.uirh-reference43 .en-reference-art img{width:100%;height:auto;display:block;object-fit:contain}
body.uirh-reference43 .en-book-slide{flex:0 0 100%;grid-template-columns:minmax(0,39fr) minmax(0,61fr);gap:12px}
body.uirh-reference43 .en-book-track{gap:18px}
body.uirh-reference43 .en-book-prev,body.uirh-reference43 .en-book-next{background:var(--r43-cream)}
body.uirh-reference43 .en-result-panel,body.uirh-reference43 .en-feature-card,body.uirh-reference43 .en-book-slide,body.uirh-reference43 .en-cta-panel{background:#f8f2e8;border-color:#dfd3bf}
body.uirh-reference43 .en-hero h2{color:var(--r43-gold)}
/* About: keep the native layered document frames and restore fine organisational connectors. */
body.uirh-reference43 .ab-org-plate{color:var(--r43-gold)}
body.uirh-reference43 .ab-org-branches:before,body.uirh-reference43 .ab-director:after,body.uirh-reference43 .ab-org-branches>li:before,body.uirh-reference43 .ab-org-branches ul:before,body.uirh-reference43 .ab-org-branches h3:after,body.uirh-reference43 .ab-org-branches ul>li:before{background:var(--r43-gold)}
body.uirh-reference43 .ab-license-track{position:relative}
body.uirh-reference43 .ab-licenses:before{content:"";position:absolute;inset:18px 25px;background:url("../../reference-crops/card-corner-1.png") top left/80px no-repeat,url("../../reference-crops/card-corner-2.png") top right/80px no-repeat,url("../../reference-crops/card-corner-3.png") bottom right/80px no-repeat,url("../../reference-crops/card-corner-4.png") bottom left/80px no-repeat;pointer-events:none;opacity:.65}
body.uirh-reference43 .ab-licenses{position:relative}
body.uirh-reference43 .ab-program-list .ab-wave{opacity:.32}
body.uirh-reference43 .ab-goals-photo{object-position:center;align-self:start}
@media (max-width:767px){body.uirh-reference43 .c4-section{font-size:14px}
body.uirh-reference43 .gr42-member h3{min-height:0}
body.uirh-reference43 .gr43-compact-goals summary{font-size:20px}
body.uirh-reference43 .gr43-compact-goals ol{grid-template-columns:1fr}
body.uirh-reference43 .gr42-goal-icon{width:85px;height:100px}
body.uirh-reference43 .cu-hero-inner{min-height:0;padding:28px 20px 22px}
body.uirh-reference43 .cu-message-panel{padding:22px 18px;gap:24px}
body.uirh-reference43 .cu-field :is(input,textarea){min-height:52px;height:52px;font-size:16px;padding:12px 40px 12px 12px!important;border-radius:12px!important}
body.uirh-reference43 .cu-field>svg{top:15px}
body.uirh-reference43 .cu-map{min-height:290px;height:290px}
body.uirh-reference43 .cu-map-art{min-height:230px}
body.uirh-reference43 .cu-question summary{padding:14px 12px}
body.uirh-reference43 .en-reference-art{width:280px;max-width:90%;margin:0 auto 15px;grid-row:2}
body.uirh-reference43 .en-book-slide{grid-template-columns:1fr}
body.uirh-reference43 .en-book-slide>img{grid-row:1}
body.uirh-reference43 .ab-licenses:before{inset:12px 16px;background-size:40px}
body.uirh-reference43 .ab-org-branches:before,body.uirh-reference43 .ab-director:after,body.uirh-reference43 .ab-org-branches>li:before,body.uirh-reference43 .ab-org-branches ul:before,body.uirh-reference43 .ab-org-branches h3:after,body.uirh-reference43 .ab-org-branches ul>li:before{display:none}}
@media (prefers-reduced-motion:reduce){body.uirh-reference43 *{scroll-behavior:auto!important}}
/* Eliminate Elementor's default 20px gaps between owned full-width sections. */
body.uirh-reference43.uirh-center-page .elementor-widget[class*="elementor-widget-uirh-center-"]{margin:0!important;--kit-widget-spacing:0px;--widgets-spacing:0px}
body.uirh-reference43.uirh-center-page .elementor-widget-wrap{gap:0;padding:0}
body.uirh-reference43.uirh-encyclopedia-page .en-book-slide{flex:0 0 100%;grid-template-columns:minmax(0,39fr) minmax(0,61fr);box-sizing:border-box}
body.uirh-reference43.uirh-encyclopedia-page .en-book-track{gap:18px}
body.uirh-reference43.uirh-encyclopedia-page .en-reference-art{width:620px;max-width:110%;align-self:end}
body.uirh-reference43 .c4-interaction-network{background-image:url("../../patterns/dark-web-tile.webp");background-repeat:repeat;position:relative;overflow:hidden}
body.uirh-reference43 .c4-interaction-network:before,body.uirh-reference43 .c4-interaction-network:after{content:"";position:absolute;top:15%;width:410px;height:410px;background:url("../../reference-crops/ecosystem-shamsa-ring.webp") center/contain no-repeat;opacity:.32;pointer-events:none}
body.uirh-reference43 .c4-interaction-network:before{left:-265px}
body.uirh-reference43 .c4-interaction-network:after{right:-265px}
body.uirh-reference43 .c4-interaction-network .c4-wrap{position:relative;z-index:1}
body.uirh-reference43 .ir43-network-center{width:140px;height:140px}
body.uirh-reference43 .ir43-network-center img{height:108px}
body.uirh-reference43 .ir43-network-node>span{width:64px;height:64px}
body.uirh-reference43 .ir43-network-node svg{width:34px;height:34px}
body.uirh-reference43 .ir43-latest-copy p{font-size:14px}
body.uirh-reference43 .ir43-category-label{font-size:12px}
body.uirh-reference43 .ir43-filter-row button{font-size:14px}
@media (max-width:767px){body.uirh-reference43.uirh-encyclopedia-page .en-book-slide{grid-template-columns:1fr}
body.uirh-reference43.uirh-encyclopedia-page .en-reference-art{width:280px;max-width:95%}
body.uirh-reference43 .ir43-network-center{width:80px;height:80px}
body.uirh-reference43 .ir43-network-center img{height:60px}
body.uirh-reference43 .ir43-network-node>span{width:40px;height:40px}
body.uirh-reference43 .ir43-network-node svg{width:23px;height:23px}
body.uirh-reference43 .ir43-latest-copy p{font-size:11px}
body.uirh-reference43 .ir43-filter-row button{font-size:11px}
body.uirh-reference43 .c4-interaction-network:before,body.uirh-reference43 .c4-interaction-network:after{opacity:.12}}
/* Second visual audit: proportions measured at equal page widths, not equal pixels. */
@media (min-width:1025px){
body.uirh-reference43 .gr42-hero-copy p{font-size:21px;line-height:2}
body.uirh-reference43 .gr42-hero-art{width:510px}
body.uirh-reference43 .gr42-hero-grid{min-height:450px}
body.uirh-reference43 .c4-group-philosophy-projects,body.uirh-reference43 .c4-group-fiqh-projects{padding-top:20px;padding-bottom:24px}
body.uirh-reference43 .gr42-project-panels{gap:12px}
body.uirh-reference43 .gr42-project-panel{padding:10px 18px}
body.uirh-reference43 .gr42-project-panel header{padding-bottom:4px;margin-bottom:4px}
body.uirh-reference43 .gr42-project-row{min-height:62px;padding-block:3px}
body.uirh-reference43 .gr42-project-photo{height:54px!important}
body.uirh-reference43 .ir43-hero-grid{min-height:490px;gap:38px}
body.uirh-reference43 .ir43-hero-art{width:540px}
body.uirh-reference43 .ir43-hero-copy .c4-heading{line-height:1.45;}
body.uirh-reference43 .ir43-hero-copy>p:not(.ir43-breadcrumb){font-size:21px;line-height:2}
body.uirh-reference43 .ir43-hero-copy .c4-button{font-size:17px;min-height:52px}
body.uirh-reference43 .ir43-section-head p{font-size:17px}
body.uirh-reference43 .ir43-methods-grid{gap:22px}
body.uirh-reference43 .ir43-method{min-height:400px;padding:70px 23px 25px;border:0;border-radius:0;background:transparent url("../../interactions/method-arch.svg") center/100% 100% no-repeat}
body.uirh-reference43 .ir43-method:after{display:none}
body.uirh-reference43 .ir43-method-number{width:48px;height:48px;font-size:22px;margin:0 auto 18px}
body.uirh-reference43 .ir43-method h3{line-height:1.8;}
body.uirh-reference43 .ir43-method p{font-size:18px;line-height:1.9}
body.uirh-reference43 .ir43-method .c4-button{font-size:14px;min-height:36px}
body.uirh-reference43 .ir43-network{height:380px}
body.uirh-reference43 .ir43-latest-copy p{font-size:16px}
body.uirh-reference43 .ir43-latest-row{grid-template-columns:52px minmax(0,1fr) 110px 150px 65px;gap:16px}
body.uirh-reference43 .ab-license-card.is-active{width:calc(215*var(--ab-u));margin-top:calc(-55*var(--ab-u))}
body.uirh-reference43 .ab-license-track{gap:calc(19*var(--ab-u))}}
/* Quiet HOME's cream texture so it does not compete with the reference content. */
body.uirh-reference43 :is(.c4-office-education,.c4-group-philosophy-team,.c4-group-philosophy-goals,.c4-group-philosophy-projects,.c4-interaction-methods,.c4-interaction-latest,.c4-interaction-start){background-image:linear-gradient(#f4ede2b8,#f4ede2b8),url("../../patterns/cream-girih-tile.webp");background-repeat:repeat}
