/* Light13: ivory canvas, white functional surfaces, deep-emerald hierarchy.
   The photograph, card artwork and welcome retain their original dark colors. */
html[data-brand=amal][data-theme=light]{--bg:#f6f7f2;--surface:#ffffff;--surface-2:#eaf0e9;--canvas:#f6f7f2;--ink:#173c30;--canvas-ink:#173c30;--dim:#54675d;--mute:#607166;--hair:#183e301c;--accent:#14583f;--p-text:#173c30;--p-muted:#54675d;color-scheme:light}
html[data-brand=amal][data-theme=light] .app .exact-home{background:var(--bg)}
/* A single continuous photograph. No offset image beginning below the logo. */
html[data-brand=amal][data-theme] .app .exact-home .exact-home-masthead:before{background-color:#03170f;background-image:linear-gradient(180deg,#03170f 0%,#03170ff5 16%,#03170f20 48%,var(--bg) 100%),url('assets/amal-mountain-coast-v3.png');background-size:100% 100%,100% auto;background-position:center,center top;background-repeat:no-repeat}
html[data-brand=amal][data-theme=light] .app .exact-home .exact-home-masthead:before{background-image:linear-gradient(180deg,#03170f 0%,#03170ffa 18%,#03170f45 43%,#f6f7f200 64%,#f6f7f2 100%),url('assets/amal-mountain-coast-v3.png')}
html[data-brand=amal] .app .customer-brand.amal-original-brand .customer-brand__mark svg{clip-path:polygon(2% 96%,10% 74%,11% 68%,31% 16%,36% 5%,43% 2%,55% 2%,61% 5%,66% 17%,87% 28%,93% 33%,94% 37%,93% 42%,88% 40%,96% 47%,99% 53%,98% 62%,88% 87%,92% 98%,76% 98%,69% 94%,63% 81%,55% 76%,40% 74%,27% 80%,15% 91%);mask-image:none;mix-blend-mode:lighten}
html[data-brand=amal] .app .customer-brand.amal-original-brand .customer-brand__name svg{mask-image:linear-gradient(180deg,transparent,#000 16%,#000 84%,transparent);mix-blend-mode:lighten}
html[data-brand=amal][data-theme=light] .app .exact-home .exact-greeting{color:#fffaf0}
html[data-brand=amal][data-theme=light] .app .exact-home .exact-balance{background:linear-gradient(115deg,#145740,#083c2d);border:1px solid #608672;box-shadow:0 8px 24px #153e3020;color:#fff9e9}
html[data-brand=amal][data-theme=light] .app .exact-home .exact-balance>span{color:#e0eadf}
html[data-brand=amal][data-theme=light] .app .exact-action:nth-child(n)>span{background:#fff;border:1px solid #d5ded2;color:#21513d;box-shadow:0 3px 10px #163c3008}
html[data-brand=amal][data-theme=light] .app .exact-action:hover>span{background:#eaf0e7;border-color:#829a84}
html[data-brand=amal][data-theme=light] .app :is(.exact-accounts,.exact-operations,.exact-card-catalog,.exact-settings){background:#fff;border:1px solid #dde4d9;box-shadow:0 4px 20px #25452f06}
html[data-brand=amal][data-theme=light] .app .exact-account{background:#fff;border-color:#e5e9e1}
html[data-brand=amal][data-theme=light] .app .exact-account strong{font-weight:550;color:#173c30}
html[data-brand=amal][data-theme=light] .app .exact-account small{color:#54675d}
html[data-brand=amal][data-theme=light] .app .exact-account-tail{color:#173c30;font-weight:550}
html[data-brand=amal][data-theme=light] .app .exact-account-icon{background:#f3edda;color:#766033}
html[data-brand=amal][data-theme=light] .app .exact-accounts-all,html[data-brand=amal][data-theme=light] .app .exact-section-heading button{color:#235d43}
html[data-brand=amal][data-theme=light] .app .exact-operations .op .ic{background:#edf2e8;color:#526538}
html[data-brand=amal][data-theme=light] .app .exact-operations .op .v.in{color:#176647}
html[data-brand=amal][data-theme=light] .app .exact-page .p7-rewards{background:linear-gradient(105deg,#f1e6c8,#faf4e1)!important;border-color:#ddc98f!important;color:#3b452b!important;box-shadow:none}
html[data-brand=amal][data-theme=light] .app .exact-page .p7-rewards :is(small,em){color:#606341}
html[data-brand=amal][data-theme=light] .app .exact-catalog-card{background:#fff;border-color:#e5e9e1}
html[data-brand=amal][data-theme=light] .app .exact-card-art{box-shadow:0 8px 20px #122f261c;color:#faf4da!important}
html[data-brand=amal][data-theme=light] .app .exact-card-art :is(.exact-card-bottom,.exact-card-bottom>strong,.exact-card-bottom>span,.exact-card-brand>small){color:#faf4da}
html[data-brand=amal][data-theme=light] .app .exact-icon-button{background:#edf2e9;color:#285441;border-color:#d5dfd1}
html[data-brand=amal][data-theme=light] .app .exact-home-brand .exact-icon-button{background:transparent;color:#f3ead1;border:0}
html[data-brand=amal][data-theme=light] .app :is(.exact-transfer-tabs,.exact-transfer .seg){background:#e8eee5;border-color:#d8e2d5}
html[data-brand=amal][data-theme=light] .app :is(.exact-transfer-tabs,.exact-transfer .seg) button{color:#53695a}
html[data-brand=amal][data-theme=light] .app .exact-page :is(.exact-transfer-tabs,.seg) button.on{background:#fff;color:#174d36!important;box-shadow:0 1px 4px #163e3012}
html[data-brand=amal][data-theme=light] .app :is(.exact-recipient-field,.exact-target,.exact-draft-field>input,.exact-amount-line,.exact-source-field){background:#fff;border-color:#d7e0d2;color:#173c30}
html[data-brand=amal][data-theme=light] .app .exact-target.selected{background:#eaf2e5;border-color:#7b9874}
html[data-brand=amal][data-theme=light] .app .exact-amount-line>b{color:#53695a}
html[data-brand=amal][data-theme=light] .app .exact-draft-field input::placeholder{color:#677b6c;opacity:1}
html[data-brand=amal][data-theme=light] .app .exact-transfer-feedback{color:#7a5425}
html[data-brand=amal][data-theme=light] .app .exact-recipient-field button,html[data-brand=amal][data-theme=light] .app .exact-page .exact-primary{background:#18563e;color:#fffbed}
html[data-brand=amal][data-theme=light] .app .exact-page .exact-primary:disabled{background:#e0e7dc;border-color:#d0dacc;color:#61745f;opacity:1}
html[data-brand=amal][data-theme=light] .app .exact-service-grid button:nth-child(n){background:#fff;border-color:#d7e1d3;color:#173c30}
html[data-brand=amal][data-theme=light] .app .exact-service-grid button small{color:#54675d}
html[data-brand=amal][data-theme=light] .app .exact-status-grid button:first-child{background:#e5efe3;color:#214633;border-color:#cbdcc6}
html[data-brand=amal][data-theme=light] .app .exact-status-grid button:first-child small{color:#4f654f}
html[data-brand=amal][data-theme=light] .app .exact-status-grid button+button{background:linear-gradient(125deg,#f4e9cc,#e9d9ac);color:#3b432d;border-color:#dcca95}
html[data-brand=amal][data-theme=light] .app .exact-settings-minor{background:transparent;box-shadow:none;border:0}
html[data-brand=amal][data-theme=light] .app .ad-personal{box-shadow:none}
html[data-brand=amal][data-theme=light] .app .w8-launchers.ad-personal button.ad-requests-link{color:#6c572d!important}
html[data-brand=amal][data-theme=light] .app .ad-chevron{color:#506c59}
html[data-brand=amal][data-theme=light] .app .ad-service-row{border-bottom-color:#ccd7c8}
html[data-brand=amal][data-theme=light] .app .dock{background:#fffffff5;border-top:1px solid #d9e2d5;box-shadow:0 -4px 22px #29442d08;backdrop-filter:blur(18px)}
html[data-brand=amal][data-theme=light] .app .dock button{color:#52675a!important}
html[data-brand=amal][data-theme=light] .app .dock button.on{color:#154d35!important;font-weight:650;background:#e9f0e4;border-radius:12px}
html[data-brand=amal][data-theme=light] .app .dock button.on .ic-svg{color:#154d35!important}
html[data-brand=amal][data-theme=light] .app :is(button,input):focus-visible{outline-color:#14583f}
html[data-brand=amal][data-theme=light] .wallet-services[data-brand=amal]{--sx-bg:#f6f7f2;--sx-panel:#fff;--sx-text:#173c30;--sx-muted:#54675d;--sx-line:#d8e1d3;--sx-accent:#18563e;--sx-on:#fffbed;color-scheme:light}
html[data-brand=amal][data-theme=light] .wallet-services[data-brand=amal] .sx-exact-dock{background:#fff;border-color:#d8e1d3;color:#234e38}
html[data-brand=amal][data-theme=light] .wallet-services[data-brand=amal] .sx-exact-dock button{color:#52675a!important;opacity:1}
html[data-brand=amal][data-theme=light] .wallet-services[data-brand=amal] .sx-exact-dock button[aria-current=page]{color:#154d35!important;background:#e9f0e4;border-radius:12px;font-weight:650}
html[data-brand=amal][data-theme=light] .wallet-services[data-brand=amal] .sx-exact-dock button svg{color:inherit!important}
