/* Shared compact purple/gold report header and UAE artwork in unused margins. */
body:has(.lr-header){background:#fcf9f5}
body:has(.lr-header) #workspaceHeader .workspace-back{display:none}
body:has(.lr-header) #workspaceHeader{position:relative;z-index:2;margin:8px auto 0;width:calc(100% - 40px);max-width:1440px}
body:has(.lr-header) #content{position:relative;z-index:1;padding:8px 20px 0}
.lv24-shell{max-width:1440px;width:100%;margin:0 auto;padding:0 0 20px;background:#fcf9f5}
#lumiere-overview24{padding:0;border:0;border-radius:0;box-shadow:none;background:transparent}
body.sa-page-active #lumiere-comparison{max-width:1440px;width:100%;margin:0 auto 20px;padding:0;background:#fcf9f5;gap:0;--bc-plum:#2c1438;--bc-wine:#512b61;--bc-gold:#bb9348}
#content .lr-header{position:relative;background:linear-gradient(110deg,#2c1438,#2b1437 55%,#271232);color:#fff8ed;border-radius:15px;padding:12px 18px 8px;margin:0 0 14px;box-shadow:0 3px 8px #27123212;font:500 13px/1.3 Arial,'Segoe UI',sans-serif}
#content .lr-header *{box-sizing:border-box}
#content .lr-header button,#content .lr-header select,#content .lr-header input{font-family:inherit}
#content .lr-header button,#content .lr-header summary{cursor:pointer}
#content .lr-header .ga-icon{display:inline-block;width:22px;height:22px;flex:none;vertical-align:middle}
#content .lr-header .ga-heading-row{display:grid;grid-template-columns:auto minmax(0,1fr) auto;align-items:center;gap:18px;padding-bottom:10px}
#content .lr-header .ga-report-brand{display:flex;align-items:center;gap:10px;padding:9px 18px 9px 0;border-right:1px solid #c9a85966;color:#fff7ef}
#content .lr-header .ga-report-brand>.ga-icon{width:31px;height:31px;color:#e3c46f;stroke-width:1.2}
#content .lr-header .ga-report-brand>div{font:400 17px/1.1 Georgia,serif;letter-spacing:4px;text-align:center}
#content .lr-header .ga-report-brand span{display:block;font:600 8px/1.3 Arial,sans-serif;letter-spacing:3px;margin-top:6px}
#content .lr-header h1{font:700 clamp(23px,2.1vw,32px)/1.2 Georgia,'Times New Roman',serif;color:#fffaf4;letter-spacing:-.4px;text-wrap:balance;margin:0}
#content .lr-header h1 span{color:#edd48a}
#content .lr-header .ga-heading-tools{display:flex;flex-direction:column;align-items:flex-end;gap:8px;min-width:0}
#content .lr-header .ga-cutoff{display:inline-block;border:1px solid #f5dca1;border-radius:22px;background:linear-gradient(#fff8d8,#ecd08b);color:#381222;padding:4px 12px;margin:0;font-size:11px;line-height:1.4;box-shadow:none;max-width:100%;width:auto;white-space:normal;text-align:right}
#content .lr-header .ga-view-tabs{display:flex;align-items:center;gap:5px;padding:3px;border:1px solid #d4b97399;border-radius:12px;background:#ffffff0c;box-shadow:0 2px 7px #17081f33}
#content .lr-header .ga-view-tabs button{display:flex;align-items:center;justify-content:center;gap:7px;background:transparent;border:0;border-radius:9px;color:#fff8ed;padding:8px 12px;font-size:13px;font-weight:700;white-space:nowrap;min-height:36px}
#content .lr-header .ga-view-tabs .ga-icon{width:20px;height:20px}
#content .lr-header .ga-branch-tabs{display:flex;gap:5px;padding:7px 0;border-top:1px solid #d4b97355;min-width:0;overflow-x:auto;scrollbar-width:thin;scrollbar-color:#bda06855 transparent}
#content .lr-header .ga-branch-tabs button{flex:1 0 auto;border:0;border-radius:8px;background:transparent;color:#fff9f1;min-height:34px;padding:6px 10px;white-space:nowrap;font-size:12px;font-weight:650}
#content .lr-header .ga-period-row{display:flex;align-items:center;gap:9px;border-top:1px solid #d4b97355;padding-top:8px;min-width:0}
#content .lr-header .ga-year{flex:none;width:78px;min-height:32px;padding:5px 8px;border:1px solid #d4b97399;border-radius:8px;background:#ffffff07;color:#fff8ed;font-size:12px;font-weight:650;color-scheme:dark}
#content .lr-header .ga-year option{background:#fffaf5;color:#351733}
#content .lr-header .ga-month-tabs{display:flex;flex:1;gap:4px;min-width:0;overflow-x:auto;scrollbar-width:thin;scrollbar-color:#bda06855 transparent;padding:2px}
#content .lr-header .ga-month-tabs button,#content .lr-header .lr-full-year{flex:1 0 40px;min-height:32px;border:0;border-radius:8px;background:transparent;color:#fff8ed;font-size:12px;font-weight:650;padding:5px 8px;white-space:nowrap}
#content .lr-header .lr-full-year{flex:none;border:1px solid #d4b97377;padding:5px 12px}
#content .lr-header .ga-view-tabs button[aria-current=page],#content .lr-header .ga-branch-tabs button[aria-pressed=true],#content .lr-header .ga-month-tabs button[aria-pressed=true],#content .lr-header .lr-full-year[aria-pressed=true]{background:linear-gradient(#fff0b7,#ddbd64);color:#32142d;box-shadow:0 1px 3px #17071933}
#content .lr-header .ga-view-tabs button[aria-current=page]{box-shadow:inset 0 1px 0 #fff7d7,0 2px 5px #1005184d}
#content .lr-header .ga-view-tabs button:not([aria-current=page]):hover{background:#ffffff20}
#content .lr-header button:disabled{color:#b6a6b9;cursor:not-allowed;opacity:.65}
#content .lr-header button:not(:disabled):hover{background-color:#ffffff14}
#content .lr-header button:focus-visible,#content .lr-header select:focus-visible,#content .lr-header summary:focus-visible{outline:2px solid #f1d48a;outline-offset:-2px}
#content .lr-header .ga-date{position:relative;flex:none;border-left:1px solid #d4b97355;padding-left:10px}
#content .lr-header .ga-date>summary{display:flex;align-items:center;justify-content:center;min-height:32px;width:36px;padding:4px;border:0;border-radius:7px;background:transparent;color:#f7e3a6;list-style:none}
#content .lr-header .ga-date>summary::-webkit-details-marker{display:none}
#content .lr-header .ga-date>summary .ga-icon{width:22px;height:22px;color:inherit}
#content .lr-header .ga-date form{position:absolute;right:0;top:calc(100% + 12px);width:min(340px,calc(100vw - 48px));z-index:30;background:#fffcf8;color:#3c1931;border:1px solid #dfcab6;border-radius:14px;padding:16px;box-shadow:0 12px 35px #240a3040;font-size:13px}
#content .lr-header .ga-date-inputs{display:grid;grid-template-columns:1fr 1fr;gap:12px;margin:13px 0}
#content .lr-header .ga-date input{display:block;border:1px solid #d9c5c8;border-radius:7px;background:white;color:#4b1f3d;padding:7px;width:100%;margin-top:4px;font-size:12px}
#content .lr-header .ga-date form button{border:0;background:#2b1437;color:#fff;border-radius:8px;padding:8px 14px;font-weight:700;margin-top:12px}
#content .lr-header [data-ga-error]{color:#b81c39;margin:0}
#content .lr-header .ga-custom-period{font-size:12px;color:#f1dca3;padding:8px 0 2px;margin:0}
#content .lr-header .lr-compare-controls{display:flex;align-items:center;gap:14px;border-top:1px solid #d4b97355;padding:10px 0;color:#fff8ed;font-size:12px}
#content .lr-header .lr-compare-controls label{display:flex;align-items:center;gap:8px;color:#f3dfb1}
#content .lr-header .lr-compare-controls select{min-width:155px;max-width:220px;padding:7px 12px;background:#fff8e7;color:#32142d;border:1px solid #dfbf71;border-radius:8px;font-size:12px;font-weight:700}
#content .lr-header .lr-versus{color:#e5c674;font:italic 18px Georgia,serif}
#content .lr-header .lr-compare-note{margin-left:auto;color:#cfbed4;font-size:11px}
#lumiere-comparison .bc-branch-strip22{gap:6px;margin-bottom:9px}
#lumiere-comparison .bc-branch-strip22>strong{background:var(--branch-color);color:#fffaf3;border-radius:12px;min-height:66px}
#lumiere-comparison .bc-branch-strip22>strong img{display:none}
#lumiere-comparison .bc-branch-strip22>strong span{font-size:13px;overflow-wrap:anywhere}
#lumiere-comparison .bc-branch-strip22>div{background:linear-gradient(135deg,#fffdf9,#faf4ee);border:1px solid #e5d8d0;border-radius:12px;box-shadow:0 2px 5px #37172c0a;padding:10px 9px}
#lumiere-comparison .bc-branch-strip22 small{color:#715571;font-size:11px}
#lumiere-comparison .bc-branch-strip22 b{color:#36163e;font-size:17px;white-space:nowrap}
#lumiere-comparison .bc-compare-grid22{gap:12px;margin-top:14px}
#lumiere-comparison .bc-panel{background:#fffdfa;border:1px solid #e5d8d0;border-radius:14px;padding:14px;box-shadow:0 3px 8px #37172c0d}
#lumiere-comparison .bc-panel-title h2{font:700 18px/1.2 Arial,sans-serif;color:#3b1943}
#lumiere-comparison .bc-panel-icon{background:#f2eaf2;color:#67456f}
#lumiere-comparison .bc-table22{font-size:12px}
#lumiere-comparison .bc-table22 thead{background:#f1eae4}
#lumiere-comparison .bc-table22 th,#lumiere-comparison .bc-table22 td{padding:8px 5px}
#lumiere-comparison .bc-table22 thead th{white-space:normal;line-height:1.3;min-width:54px}
#lumiere-comparison .bc-table22 tbody th{white-space:normal}
#lumiere-comparison .bc-toggle22 button[aria-pressed=true]{background:#2c1438;color:#f9e5ac}
#lumiere-comparison .bc-action22{background:#faf5ed;border-color:#e8d9bb}
#lumiere-comparison .bc-action22 h3{color:#4c2954}
/* Decorative layers stay outside the report's 1440px content column. */
@media(min-width:1580px){
 body:has(:is(#lumiere-overview24,#lumiere-gap-A,#lumiere-comparison))::before,body:has(:is(#lumiere-overview24,#lumiere-gap-A,#lumiere-comparison))::after{content:'';position:fixed;top:0;bottom:0;width:calc((100% - 1480px)/2);z-index:0;pointer-events:none;background:url('/assets/report-uae-margins-v1.png') center/cover no-repeat;opacity:.88}
 body:has(:is(#lumiere-overview24,#lumiere-gap-A,#lumiere-comparison))::before{left:0}
 body:has(:is(#lumiere-overview24,#lumiere-gap-A,#lumiere-comparison))::after{right:0;transform:scaleX(-1)}
}
@media(max-width:1250px){
 #lumiere-comparison .bc-branch-strip22{grid-template-columns:repeat(4,minmax(0,1fr))}
 #lumiere-comparison .bc-branch-strip22>strong{grid-column:1/-1;min-height:36px}
 #content .lr-header .lr-compare-note{display:none}
}
@media(max-width:1180px){
 #content .lr-header .ga-heading-row{grid-template-columns:auto minmax(0,1fr);gap:10px 16px}
 #content .lr-header .ga-heading-tools{grid-column:1/-1;flex-direction:row;align-items:center;justify-content:space-between}
 #content .lr-header .ga-view-tabs{order:-1}
 #content .lr-header h1{font-size:28px}
 #content .lr-header .ga-branch-tabs button{font-size:11px;padding:6px 8px}
}
@media(max-width:600px){
 body:has(.lr-header) #workspaceHeader{width:calc(100% - 16px)}
 body:has(.lr-header) #content{padding:8px 8px 0}
 #content .lr-header{padding:10px 12px 8px;border-radius:12px;margin-bottom:10px}
 #content .lr-header .ga-heading-row{grid-template-columns:1fr;gap:8px}
 #content .lr-header .ga-report-brand{display:none}
 #content .lr-header h1{font-size:24px}
 #content .lr-header .ga-heading-tools{flex-wrap:wrap;gap:8px}
 #content .lr-header .ga-view-tabs{width:100%;gap:2px;padding:3px}
 #content .lr-header .ga-view-tabs button{flex:1;padding:7px 3px;font-size:11px;gap:4px}
 #content .lr-header .ga-view-tabs .ga-icon{width:16px;height:16px}
 #content .lr-header .ga-period-row{gap:5px}
 #content .lr-header .ga-year{width:66px;padding:5px}
 #content .lr-header .lr-full-year{padding:5px 8px;font-size:11px}
 #content .lr-header .ga-date{padding-left:4px}
 #content .lr-header .ga-date>summary{width:28px}
 #content .lr-header .lr-compare-controls{flex-wrap:wrap;gap:8px}
 #content .lr-header .lr-compare-controls>strong{width:100%}
 #content .lr-header .lr-compare-controls label{display:grid;flex:1;min-width:0;gap:4px}
 #content .lr-header .lr-compare-controls select{min-width:0;max-width:none;width:100%;padding:7px}
 #content .lr-header .lr-versus{align-self:flex-end;padding-bottom:8px}
 #lumiere-comparison .bc-branch-strip22>div{padding:8px 6px}
 #lumiere-comparison .bc-branch-strip22 b{font-size:13px;white-space:normal}
 #lumiere-comparison .bc-branch-strip22 small{font-size:9px}
 #lumiere-comparison .bc-panel{padding:11px}
}
@media(max-width:360px){
 #content .lr-header .ga-view-tabs button{min-width:0;white-space:normal;line-height:1.25}
 #lumiere-overview24 .lv24-panel-head h2{white-space:normal}
}
@media(pointer:coarse){#content .lr-header button,#content .lr-header .ga-year,#content .lr-header .ga-date>summary{min-height:44px}}
@media print{body:has(.lr-header)::before,body:has(.lr-header)::after{display:none}}
