/* V301 Saudi Heritage matches the approved sand, ivory and ochre preview.
   National Day and Riyadh Horizon retain their separate green identities. */
@media screen {
body[data-overview-theme="saudi-heritage"][data-portal-page]{
 --ot-bg:#fbf7ef;--ot-panel:#fffdf8;--ot-text:#463621;--ot-muted:#77664f;--ot-border:#e8deca;
 --ot-accent:#9a7036;--ot-secondary:#c6a76c;--ot-radius:11px;--ot-shadow:0 5px 22px #73563309;
 --ot-status-open:#b18445;--ot-status-assigned:#8b6b3e;--ot-status-progress:#cfaa6d;--ot-status-waiting-user:#d5b88a;
 --ot-status-waiting-vendor:#93815c;--ot-status-resolved:#7b7049;--ot-status-closed:#c4bba1;
 --bg:var(--ot-bg);--surface:var(--ot-panel);--card:var(--ot-panel);--surface-alt:#f5eddd;--text:var(--ot-text);--muted:var(--ot-muted);--border:var(--ot-border);
 --primary:#956b31;--primary-ink:#78521f;--on-primary:#fff;--soft:#f3e8d4;--sidebar:#705434;--side-text:#f4ead8;--accent:#c6a76c;--shadow:var(--ot-shadow);--radius:var(--ot-radius);
 --pt-heading-bg:linear-gradient(90deg,#fbf7effa 0%,#fbf7eff0 30%,#fbf7ef4d 76%),url('/assets/saudi-heritage-v301/panorama.webp') 75% 60%/cover;
 --pt-heading-ink:#5c4121;--pt-heading-muted:#795e3b;--pt-heading-accent:#88612d;
 background:var(--ot-bg);color:var(--ot-text)
}
body[data-overview-theme="saudi-heritage"][data-portal-page] .sidebar{background:linear-gradient(165deg,#896438 0%,#795b36 45%,#604729 100%);border-right:1px solid #9e8054;color:#fff5e4}
body[data-overview-theme="saudi-heritage"][data-portal-page] .brand{border-bottom-color:#f5e4c42b}
body[data-overview-theme="saudi-heritage"][data-portal-page] .brand-logo{background:#fff;padding:9px 13px;border-radius:6px;display:inline-flex}
body[data-overview-theme="saudi-heritage"][data-portal-page] .sidebar .brand-logo .logo-on-light{display:block;background:transparent;padding:0;filter:none}
body[data-overview-theme="saudi-heritage"][data-portal-page] .sidebar .brand-logo .logo-on-dark{display:none}
body[data-overview-theme="saudi-heritage"][data-portal-page] .brand>span{color:#fff3dc}
body[data-overview-theme="saudi-heritage"][data-portal-page] .nav-label{color:#fff3dc}
body[data-overview-theme="saudi-heritage"][data-portal-page] .sidebar .nav-link{color:#fff5e5;font-size:13px;min-height:46px}
body[data-overview-theme="saudi-heritage"][data-portal-page] .sidebar .nav-link:hover{color:#fff;background:#ffffff12}
body[data-overview-theme="saudi-heritage"][data-portal-page] .sidebar .nav-link.active{background:#d4b582;color:#46301a;border-radius:7px;box-shadow:0 4px 16px #3822070d}
body[data-overview-theme="saudi-heritage"][data-portal-page] .sidebar .nav-link.active::before{background:#fff0c7;width:3px}
body[data-overview-theme="saudi-heritage"][data-portal-page] .sidebar .nav-link.active svg{opacity:1}
body[data-overview-theme="saudi-heritage"][data-portal-page] .sidebar .sidebar-bottom{border-top-color:#e5cfab33}
body[data-overview-theme="saudi-heritage"][data-portal-page] .sidebar :is(.sidebar-person span,.sidebar-signout,.sidebar-version){color:#f0ddbd}
body[data-overview-theme="saudi-heritage"][data-portal-page] .sidebar .avatar{background:#9d7e4c;color:#fff7e6;border-color:#cfb484}
body[data-overview-theme="saudi-heritage"][data-portal-page] .reference-brand-note{min-height:175px;background:transparent;color:#fff6e2}
body[data-overview-theme="saudi-heritage"][data-portal-page] .reference-brand-note .brand-mountains{background:linear-gradient(0deg,#604729f0,#70543440),url('/assets/saudi-heritage-v301/panorama.webp') 85% 75%/auto 155%;opacity:.88}
body[data-overview-theme="saudi-heritage"][data-portal-page] .reference-brand-note small{color:#fff1d8}
body[data-overview-theme="saudi-heritage"][data-portal-page] .brand-note-rule{background:#e5c993}
body[data-overview-theme="saudi-heritage"][data-portal-page] .topbar{background:#fffdf8;border-color:#e8deca}
body[data-overview-theme="saudi-heritage"][data-portal-page] .topbar .icon-button{color:#7d5d33}
body[data-overview-theme="saudi-heritage"][data-portal-page] .topbar .avatar{background:#f1e4ce;color:#78572c;border-color:#e1ccaa}
body[data-overview-theme="saudi-heritage"][data-portal-page] .search-trigger{background:#f9f3e8;color:#7c6a50;border-color:#e8deca}
body[data-overview-theme="saudi-heritage"][data-portal-page] .content{background:var(--ot-bg)}
body[data-overview-theme="saudi-heritage"][data-portal-page] .page-head{border-bottom:3px solid #bc9357}
body[data-overview-theme="saudi-heritage"][data-portal-page] .ot285{padding:0 25px 24px}
.ot285[data-design="saudi-heritage"] .ot-hero{margin:0 -25px 20px;min-height:270px;border:0;border-bottom:3px solid #d0b17b;border-radius:0;padding:31px 34px;background:#fbf4e7;gap:22px;align-items:center;isolation:isolate}
.ot285[data-design="saudi-heritage"] .ot-saudi-architecture{inset:0;z-index:-2;background:linear-gradient(90deg,#fbf7effc 0%,#fbf7eff2 27%,#fbf7ef30 70%),url('/assets/saudi-heritage-v301/panorama.webp') 76% 61%/cover no-repeat}
.ot285[data-design="saudi-heritage"] .ot-hero::before{content:none}
.ot285[data-design="saudi-heritage"] .ot-hero-copy{max-width:58%}
.ot285[data-design="saudi-heritage"] .ot-eyebrow{color:#85602b;font-size:10px;letter-spacing:2px}
.ot285[data-design="saudi-heritage"] .ot-hero h1{color:#654523;font-size:clamp(35px,3.6vw,54px);line-height:1.08;letter-spacing:-1.7px}
.ot285[data-design="saudi-heritage"] .ot-greeting{color:#705637;font-size:14px;max-width:460px}
.ot285[data-design="saudi-heritage"] .ot-saudi-welcome{color:#8f6933;font-size:22px;margin-top:7px}
.ot285[data-design="saudi-heritage"] .ot-hero-actions{align-self:flex-end;gap:10px}
.ot285[data-design="saudi-heritage"] .ot-hero-actions .ot-btn-primary{background:#94692f;color:#fff;border-color:#94692f;border-radius:7px;box-shadow:0 4px 14px #70543416}
.ot285[data-design="saudi-heritage"] .ot-design-shortcut{background:#fffdf4ed;color:#6e4f27!important;border-color:#cdb58e;border-radius:6px;padding:8px 10px}
.ot285[data-design="saudi-heritage"] .ot-hero-motto{display:none}
.ot285[data-design="saudi-heritage"] .ot-saudi-pattern{height:7px;background:repeating-linear-gradient(135deg,#c19d62 0 7px,#f7ebd3 7px 14px,#e0c89b 14px 21px)}
.ot285[data-design="saudi-heritage"] .ot-kpi{background:#fffdf8;border-color:#e8deca;border-bottom-color:#c7a66b;border-radius:10px;box-shadow:var(--ot-shadow)}
.ot285[data-design="saudi-heritage"] .ot-kpi:hover{border-color:#be995e}
.ot285[data-design="saudi-heritage"] .ot-kpi-value{color:#624622}
.ot285[data-design="saudi-heritage"] .ot-kpi-icon,.ot285[data-design="saudi-heritage"] .ot-kpi:nth-child(even) .ot-kpi-icon{background:#f7edd9;color:#a1793b;border-color:#ead8b4}
.ot285[data-design="saudi-heritage"] .ot-panel{background:#fffdf8;border-color:#e8deca;border-radius:11px;box-shadow:var(--ot-shadow)}
.ot285[data-design="saudi-heritage"] .ot-panel-head{border-color:#e8deca}
.ot285[data-design="saudi-heritage"] .ot-panel-head h2{color:#5e4426}
.ot285[data-design="saudi-heritage"] .ot-panel-head p{color:#7c6950}
.ot285[data-design="saudi-heritage"] .ot-panel-head select{background:#fffaf1;border-color:#e0d0b3;color:#694e2c}
.ot285[data-design="saudi-heritage"] .ot-chart-grid line{stroke:#e7dcc4}
.ot285[data-design="saudi-heritage"] .ot-chart-area{fill:#bd914421}
.ot285[data-design="saudi-heritage"] .ot-chart-legend{color:#78603f}
.ot285[data-design="saudi-heritage"] .ot-status-legend li{border-color:#ece2cf}
.ot285[data-design="saudi-heritage"] .ot-stage-count{color:#835d2c}
.ot285[data-design="saudi-heritage"] .ot-stage-track{background:#f0e6d2}
.ot285[data-design="saudi-heritage"] .ot-stage-track i{background:linear-gradient(90deg,#d9b37a,#a1793b)}
.ot285[data-design="saudi-heritage"] .ot-stage-row[data-stage=cfo_pending] .ot-stage-track i{background:#bc914d}
.ot285[data-design="saudi-heritage"] .ot-stage-row[data-stage=complete] .ot-stage-track i{background:#847049}
.ot285[data-design="saudi-heritage"] .ot-panel-foot{background:#f9f2e4;color:#7d6a4d;border-color:#e8deca}
body[data-overview-theme="saudi-heritage"][data-portal-page] #payment-request-v257 .pr260-side>.pr260-brand{background:linear-gradient(145deg,#967445,#634a2c)!important;border-color:#c6aa7944!important}
.ot-thumb[data-thumb="saudi-heritage"]{--mini-bg:#fbf7ef;--mini-card:#fffdf8;--mini-border:#e8deca;--mini-text:#654523;background:#fbf7ef;color:#654523}
.ot-thumb[data-thumb="saudi-heritage"] .ot-thumb-sidebar{background:linear-gradient(#947445,#705434)}
.ot-thumb[data-thumb="saudi-heritage"] .ot-thumb-sidebar i{background:#d0b891}
.ot-thumb[data-thumb="saudi-heritage"] .ot-thumb-sidebar i:first-of-type{background:#d4b582}
.ot-thumb[data-thumb="saudi-heritage"] .ot-thumb-hero{background:linear-gradient(90deg,#fbf7eff0,#fbf7ef20),url('/assets/saudi-heritage-v301/panorama.webp') center 62%/cover;color:#654523}
.ot-thumb[data-thumb="saudi-heritage"] .ot-thumb-hero::before,.ot-thumb[data-thumb="saudi-heritage"] .ot-thumb-hero::after{content:none}
.ot-thumb[data-thumb="saudi-heritage"] .ot-thumb-large svg path{stroke:#b18445}
.ot-thumb[data-thumb="saudi-heritage"] .ot-thumb-large svg{stroke:#b18445}
.ot-thumb[data-thumb="saudi-heritage"] .ot-thumb-ring{border-color:#b18445;border-right-color:#d9be8e}
.ot-thumb[data-thumb="saudi-heritage"] .ot-thumb-kpis i{border-top-color:#b18445;border-bottom:2px solid #c6a76c}
}
@media screen and (max-width:760px){
 .ot285[data-design="saudi-heritage"] .ot-hero{min-height:355px;padding:26px 20px;justify-content:flex-start;border-radius:10px;gap:18px}
 .ot285[data-design="saudi-heritage"] .ot-saudi-architecture{background:linear-gradient(180deg,#fbf7effc 0%,#fbf7efec 43%,#fbf7ef55),url('/assets/saudi-heritage-v301/panorama.webp') 77% bottom/auto 100% no-repeat}
 .ot285[data-design="saudi-heritage"] .ot-hero-copy{max-width:100%}
 .ot285[data-design="saudi-heritage"] .ot-eyebrow{max-width:100%;font-size:10px}
 .ot285[data-design="saudi-heritage"] .ot-hero h1{font-size:36px;letter-spacing:-1px}
 .ot285[data-design="saudi-heritage"] .ot-greeting{max-width:100%;font-size:13px}
 .ot285[data-design="saudi-heritage"] .ot-saudi-welcome{font-size:20px}
 .ot285[data-design="saudi-heritage"] .ot-hero-actions{margin-top:16px}
}
