/* Last screen layer for voucher and membership management, separate from customer card styling. */
@media screen{
body[data-voucher-sage]{--navy:#29483b;--blue:#365747;--ink:#29483b;--gold:#84956e;--gray:#6b786f;--paper:#f3f5ee;--line:#d7e2ce;--muted:#6b786f;background:#f3f5ee;color:#29483b;-webkit-font-smoothing:antialiased;color-scheme:light}
body[data-voucher-sage] .app{background:#f3f5ee}body[data-voucher-sage] header{background:#edf2e7!important;color:#29483b!important;border-bottom:1px solid #d1dfc6;box-shadow:none}
body[data-voucher-sage] header .userbox,body[data-voucher-sage] header .role,body[data-voucher-sage] header #who,body[data-voucher-sage] header #roleLabel{color:#29483b!important}
body[data-voucher-sage] #memberManagementNav h2{color:#29483b}
body[data-voucher-sage] header .brand,body[data-voucher-sage] .loginCard .brand{color:#29483b!important;font-family:Georgia,serif;font-weight:400;letter-spacing:5px}body[data-voucher-sage] header .subbrand,body[data-voucher-sage] .loginCard .subbrand{color:#65775a!important;letter-spacing:2.4px}
body[data-voucher-sage] header button,body[data-voucher-sage] header .button,body[data-voucher-sage] header a{color:#29483b!important;border-color:#bdcdb0!important;background:#f8fbf4!important}
body[data-voucher-sage] .loginWrap{background:radial-gradient(ellipse at top,#e4edda,#f3f5ee 65%)}body[data-voucher-sage] .loginCard{border:1px solid #d4e0ca;box-shadow:0 20px 70px #324c2910;border-radius:26px}
body[data-voucher-sage] .card,body[data-voucher-sage] .tile,body[data-voucher-sage] dialog{border-color:#d9e3d0;border-radius:19px;box-shadow:0 7px 25px #344d3108}
body[data-voucher-sage] h1,body[data-voucher-sage] h2,body[data-voucher-sage] h3{color:#29483b}body[data-voucher-sage] button,body[data-voucher-sage] .button{border-radius:12px}
body[data-voucher-sage] input,body[data-voucher-sage] select,body[data-voucher-sage] textarea{border-color:#c7d6bb;background:#fbfdf8;color:#29483b}body[data-voucher-sage] input[type=checkbox]{accent-color:#365747}
body[data-voucher-sage] .primary{background:#29483b;border-color:#29483b;color:#fff}body[data-voucher-sage] .secondary{background:#fbfdf8;border-color:#b8cbae;color:#29483b}
body[data-voucher-sage] button:focus-visible,body[data-voucher-sage] a:focus-visible,body[data-voucher-sage] input:focus-visible{outline:2px solid #80976b;outline-offset:3px}
body[data-voucher-sage] #memberManagementNav{color:#29483b;border-color:#d7e2cf;box-shadow:0 7px 25px #344d3108}body[data-voucher-sage] #memberManagementNav .vm-service-button{background:#fbfdf8;border-color:#d8e3ce;color:#29483b}body[data-voucher-sage] #memberManagementNav .vm-service-icon{background:#e9f0e1;color:#587348}body[data-voucher-sage] #memberManagementNav .vm-service-eyebrow,body[data-voucher-sage] #memberManagementNav .vm-service-owner-heading{color:#788c63}body[data-voucher-sage] #memberManagementNav small,body[data-voucher-sage] #memberManagementNav .vm-service-caption{color:#6b786f}
body[data-voucher-sage] nav,body[data-voucher-sage] .tabs,body[data-voucher-sage] .section-tabs{border-color:#d5e0cb}body[data-voucher-sage] #vgDuoMenuToggle{background:#29483b!important;color:#f4f8ef!important;border-color:#c0d0b1!important}
body[data-voucher-sage] .bottomnav{background:#fafcf7;border-color:#d4dfcb}body[data-voucher-sage] .bottomnav button.active{background:#e5eedb;color:#29483b}
@media(max-width:650px){body[data-voucher-sage] .loginCard{padding:28px 23px}body[data-voucher-sage] header{padding:23px 18px}body[data-voucher-sage] header .headrow{gap:16px;flex-wrap:wrap}body[data-voucher-sage] .card{border-radius:18px}body[data-voucher-sage] #memberManagementNav{padding:20px 16px}}
}

/* Anchor the navigation to the viewport; safe-area space is inside the bar. */
@media screen{
body[data-duo-page=voucher]{min-height:100dvh;margin:0;padding-bottom:0}
body[data-duo-page=voucher] #appView{min-height:100dvh}
body[data-voucher-sage] #voucherBottomNav{position:fixed;inset:auto 0 0!important;transform:none!important;width:100%!important;box-sizing:border-box;display:grid;grid-template-columns:repeat(5,minmax(0,1fr));padding:6px max(6px,env(safe-area-inset-right)) max(6px,env(safe-area-inset-bottom)) max(6px,env(safe-area-inset-left));background:#edf2e7;border-top:1px solid #cbd9c0;box-shadow:0 -5px 22px #29483b0a;z-index:150}
body[data-voucher-sage] #voucherBottomNav button{min-height:58px;padding:8px 4px;background:transparent;color:#566d59;border-radius:12px;font-size:12px;line-height:1.5}
body[data-voucher-sage] #voucherBottomNav button.active{background:#304c3e;color:#fff}
body[data-voucher-sage] #appView>main{padding-bottom:calc(98px + env(safe-area-inset-bottom))}
}
