/* Reference-first refinement. All selectors exclude the approved native HOME. */
body.uirh-harmony45 .ui47-glass-band,body.uirh-harmony45 .e404-inner>.ui47-glass-band{padding-top:0!important;padding-bottom:0!important;margin-top:0!important}
body.uirh-harmony45 .ui47-glass{border-radius:0 0 14px 14px!important;border-top:0!important}
body.uirh-harmony45 .ab-licenses .ab-license-track{display:flex;justify-content:flex-start;overflow:hidden;scroll-behavior:auto!important;scroll-snap-type:none!important;gap:32px!important;max-width:990px;padding:24px 0 18px;direction:rtl;touch-action:pan-y}
body.uirh-harmony45 .ab-licenses .ab-license-card,body.uirh-harmony45 .ab-licenses .ab-license-card.is-active{flex:0 0 calc((100% - 64px)/3);width:calc((100% - 64px)/3);opacity:1!important;transition:none!important;transform:none!important}
body.uirh-harmony45 .ab-licenses .ab-license-card .ab-document-frame{transform:none!important}
body.uirh-harmony45 .ab-organization{padding-block:76px 68px!important}
body.uirh-harmony45 .ab-organization .ab-org-scroll{margin-top:34px;padding-block:12px 24px}
body.uirh-harmony45 .ab-organization .ab-org-more{margin-top:30px}
body.uirh-harmony45 .ab-goals{padding-block:70px 64px!important}
body.uirh-harmony45 .ab-goals>.ab-container>h2{margin-bottom:32px}
body.uirh-harmony45 .ab-goals .ab-goals-layout{gap:42px}
body.uirh-harmony45 .ab-goals .ab-program-row{margin-top:46px}
body.uirh-harmony45 .c4-section:is(.c4-group-philosophy-team,.c4-group-fiqh-team,.c4-office-education,.c4-office-promotion){padding-block:76px!important}
body.uirh-harmony45 .gr42-group-title,body.uirh-harmony45 .of41-office-title{margin-bottom:54px!important}
body.uirh-harmony45 .gr42-team{gap:30px;align-items:stretch}
body.uirh-harmony45 .gr42-chief-column{padding-top:80px}
body.uirh-harmony45 .gr42-member{background:#fffaf2;background-color:#fffaf2;border:1px solid #d4be94;border-radius:12px;padding:18px 20px 26px;min-height:0;box-shadow:0 4px 12px #002c3510;overflow:visible;isolation:isolate}
body.uirh-harmony45 .gr42-member-frame{display:none!important}
body.uirh-harmony45 .gr42-member:before{content:"";position:absolute;inset:4px;z-index:-1;pointer-events:none;background:url('../patterns/home-card-corner-light.svg') right top/28px no-repeat,url('../patterns/home-card-corner-light-flipped.svg') left bottom/28px no-repeat;border-radius:9px}
body.uirh-harmony45 .gr42-member .gr42-portrait{width:min(100%,168px);height:189px;margin:-34px auto 20px;isolation:isolate}
body.uirh-harmony45 .gr42-member .gr42-person-image{image-rendering:auto;object-fit:cover!important;object-position:center 18%!important;filter:none!important;transform:none!important}
body.uirh-harmony45 .gr42-member h3{line-height:1.9;min-height:64px;margin-bottom:12px!important;}
body.uirh-harmony45 .gr42-member .gr42-role,body.uirh-harmony45 .gr42-member .gr42-expertise{font-size:13px;line-height:1.9;min-height:25px}
body.uirh-harmony45 .gr42-member .gr42-person-stats{margin-block:18px;gap:18px;padding-top:16px}
body.uirh-harmony45 .gr42-members-heading{min-height:100px;padding-bottom:26px}
body.uirh-harmony45 .gr42-members-track{gap:24px;padding-top:16px}
body.uirh-harmony45 .gr42-chief-tag{z-index:4;right:12px;top:10px;font-size:11px}
body.uirh-harmony45 .gr42-project-panel:before{background:url('../patterns/home-card-corner-light.svg') right top/30px no-repeat,url('../patterns/home-card-corner-light-flipped.svg') left bottom/30px no-repeat;opacity:1}
body.uirh-harmony45 .gr42-project-panel{padding:24px;border-radius:12px}
body.uirh-harmony45 .gr42-project-row{padding-block:14px;min-height:86px}
body.uirh-harmony45 .gr42-projects{gap:40px}
body.uirh-harmony45 .of41-overview{gap:56px;margin-block:28px 54px}
body.uirh-harmony45 .of41-project-area{gap:40px;margin-top:36px}
body.uirh-harmony45 .of41-manager{padding:28px 28px 30px;position:relative;background-image:url('../patterns/home-card-corner-light.svg'),url('../patterns/home-card-corner-light-flipped.svg');background-position:right 5px top 5px,left 5px bottom 5px;background-repeat:no-repeat;background-size:30px;border-radius:12px}
body.uirh-harmony45 .of49-portrait:before,body.uirh-harmony45 .of49-portrait:after{display:none!important}
body.uirh-harmony45 .of49-portrait-photo{object-position:center 18%!important;image-rendering:auto;filter:none!important}
body.uirh-harmony45 .of41-project:before{background:url('../patterns/home-card-corner-light.svg') right top/28px no-repeat,url('../patterns/home-card-corner-light-flipped.svg') left bottom/28px no-repeat!important;opacity:1}
body.uirh-harmony45 .of41-project{border-radius:12px;overflow:hidden}
body.uirh-harmony45 .of41-goals li{padding-block:14px;line-height:2}
@media(max-width:1100px){body.uirh-harmony45 .gr42-members-track{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:767px){body.uirh-harmony45 .gr42-chief-column{padding-top:14px}body.uirh-harmony45 .gr42-team{gap:52px}body.uirh-harmony45 .gr42-members-heading{min-height:86px}body.uirh-harmony45 .of41-overview{gap:36px}body.uirh-harmony45 .ab-goals .ab-goals-layout{gap:32px}body.uirh-harmony45 .ab-organization,body.uirh-harmony45 .ab-goals{padding-block:48px!important}}
@media(max-width:599px){body.uirh-harmony45 .gr42-members-track{grid-template-columns:1fr}body.uirh-harmony45 .ab-licenses .ab-license-track{gap:24px!important;width:min(76vw,300px);max-width:100%;padding-inline:0}body.uirh-harmony45 .ab-licenses .ab-license-card,body.uirh-harmony45 .ab-licenses .ab-license-card.is-active{flex:0 0 100%;width:100%}body.uirh-harmony45 .c4-section:is(.c4-group-philosophy-team,.c4-group-fiqh-team,.c4-office-education,.c4-office-promotion){padding-block:52px!important}body.uirh-harmony45 .of41-project-area{gap:28px}body.uirh-harmony45 .gr42-project-panel{padding:22px 16px}}
@media(prefers-reduced-motion:reduce){body.uirh-harmony45 .ab-license-track{scroll-behavior:auto!important}}
body.uirh-harmony45 .gr42-member{min-height:480px}
body.uirh-harmony45 .gr42-chief-column{padding-top:116px;display:flex;align-items:flex-start}
body.uirh-harmony45 .gr42-chief{height:auto!important;width:100%;min-height:480px}
body.uirh-harmony45 .gr42-member .gr42-portrait{width:174px;height:196px}
@media(max-width:1100px){body.uirh-harmony45 .gr42-member .gr42-portrait{width:140px;height:158px}body.uirh-harmony45 .gr42-member,body.uirh-harmony45 .gr42-chief{min-height:450px}}
@media(max-width:767px){body.uirh-harmony45 .gr42-chief-column{padding-top:16px}body.uirh-harmony45 .gr42-member .gr42-portrait{width:174px;height:196px}body.uirh-harmony45 .gr42-member,body.uirh-harmony45 .gr42-chief{min-height:460px}}
body.uirh-harmony45 .gr42-chief-tag{top:-46px!important;right:10px!important}
body.uirh-harmony45 .uirh56-demo{display:block;font-size:10px;line-height:1.8;color:#8b703f;margin:0 0 8px;position:relative}
/* Audit fix: an older absolutely-positioned timeline dot must not steal the text column. */
@media(max-width:899px){
 body.uirh-harmony45 .ab-intro .ab-timeline li{min-height:52px}
 body.uirh-harmony45 .ab-intro .ab-timeline li strong{grid-column:1;grid-row:1}
 body.uirh-harmony45 .ab-intro .ab-timeline li .ab-time-dot{grid-column:2;grid-row:1;position:static!important;display:block;transform:none!important}
 body.uirh-harmony45 .ab-intro .ab-timeline li p{grid-column:3!important;grid-row:1;min-width:0!important;width:100%!important;max-width:none!important;justify-self:stretch}
}

/* 5.6.1: exact engraved HOME event-card quadrants; physical corner order is intentional. */
body.uirh-harmony45 :is(.gr42-member,.gr42-project-panel,.of41-project,.of41-manager)::before{
 content:""!important;display:block!important;position:absolute!important;inset:4px!important;
 width:auto!important;height:auto!important;margin:0!important;padding:0!important;border:0!important;
 background-color:transparent!important;
 background-image:url('../reference-crops/card-corner-1.png'),url('../reference-crops/card-corner-2.png'),url('../reference-crops/card-corner-3.png'),url('../reference-crops/card-corner-4.png')!important;
 background-position:left top,right top,left bottom,right bottom!important;
 background-repeat:no-repeat!important;background-size:30px auto!important;
 border-radius:inherit;z-index:2!important;opacity:1!important;transform:none!important;filter:none!important;pointer-events:none!important;
}
body.uirh-harmony45 .of41-manager{background-image:none!important}
@media(max-width:699px){body.uirh-harmony45 :is(.gr42-member,.gr42-project-panel,.of41-project,.of41-manager)::before{background-size:22px auto!important}}

/* Exact HOME engraved corners on works surfaces; layout and dimensions unchanged. */
body.uirh-harmony45 :is(.w333-card,.w333-project-row,.w333-featured>.w333-wrap){position:relative;isolation:isolate}
body.uirh-harmony45 :is(.w333-card,.w333-project-row,.w333-featured>.w333-wrap)::before{
 content:""!important;display:block!important;position:absolute!important;inset:4px!important;
 width:auto!important;height:auto!important;margin:0!important;padding:0!important;border:0!important;
 background: url('../reference-crops/card-corner-1.png') left top/30px auto no-repeat,url('../reference-crops/card-corner-2.png') right top/30px auto no-repeat,url('../reference-crops/card-corner-3.png') left bottom/30px auto no-repeat,url('../reference-crops/card-corner-4.png') right bottom/30px auto no-repeat!important;
 z-index:2;opacity:1!important;pointer-events:none!important;transform:none!important;filter:none!important;
}
body.uirh-harmony45 .en-book-track{scroll-behavior:auto!important}
@media(max-width:699px){body.uirh-harmony45 :is(.w333-card,.w333-project-row,.w333-featured>.w333-wrap)::before{background-size:22px auto!important}}
/* 5.6.3: semantic ornament policy — decorate closed surfaces, never bare profiles or nested rows. */
body.uirh-harmony45 .of41-manager::before,
body.uirh-harmony45 .c4-office-promotion .of41-project::before,
body.uirh-harmony45 .w333-project-row::before,
body.uirh-harmony45 .w333-featured>.w333-wrap::before{content:none!important;display:none!important;background:none!important}
body.uirh-harmony45 .of41-manager{padding:0 8px 12px!important;background:none!important;border-radius:0;max-width:290px;margin-inline:auto;width:100%}
body.uirh-harmony45 .of41-manager h3{max-width:260px;margin:10px auto 18px!important;line-height:1.9;}
body.uirh-harmony45 .of41-stats{width:100%;gap:10px;padding-top:16px;border-top:1px solid #cbaa6e55}
body.uirh-harmony45 .of41-stats>div{flex-direction:column;gap:5px;justify-content:flex-start;align-items:center;padding:0 5px}
body.uirh-harmony45 .of41-stats b{font-size:19px;line-height:1.5}
body.uirh-harmony45 .of41-stats small{font-size:11px;line-height:1.8;white-space:normal}
body.uirh-harmony45 .c4-office-education .of41-project{padding:24px 20px 20px;gap:0}
body.uirh-harmony45 .c4-office-education .of41-project h3.c4-item-title{margin-top:6px!important;line-height:1.9;min-height:70px;}
body.uirh-harmony45 .c4-office-promotion .of41-project{border-radius:0!important;overflow:visible;border-bottom:1px solid #cbaa6e33;padding-block:16px}
body.uirh-harmony45 .c4-office-promotion .of41-project:last-child{border-bottom:0}
body.uirh-harmony45 .c4-office-promotion .of41-project-content{padding:26px 24px 22px}
body.uirh-harmony45 .c4-office-promotion .of41-project-content::before{content:"";position:absolute;inset:4px;pointer-events:none;border:0;border-radius:inherit;background:url('../reference-crops/card-corner-1.png') left top/30px auto no-repeat,url('../reference-crops/card-corner-2.png') right top/30px auto no-repeat,url('../reference-crops/card-corner-3.png') left bottom/30px auto no-repeat,url('../reference-crops/card-corner-4.png') right bottom/30px auto no-repeat;transform:none;opacity:1}
body.uirh-harmony45 .of41-project-controls{margin-top:24px}
@media(min-width:1101px){body.uirh-harmony45 .of53-office{--of53-rail:290px}body.uirh-harmony45 .of41-overview{gap:48px}}
@media(max-width:599px){body.uirh-harmony45 .c4-office-education .of41-project{padding:22px 20px 18px}body.uirh-harmony45 .c4-office-promotion .of41-project-content{padding:22px 18px 18px}body.uirh-harmony45 .c4-office-promotion .of41-project-content::before{background-size:22px auto}body.uirh-harmony45 .of41-overview{margin-bottom:36px}}
