/* XoomPesa shared visual theme. Screen styles keep merchant invoice printing intact. */
@media screen {
:root{--xp-wine:#941c2a;--xp-red:#a32231;--xp-canvas:#f6f5f1;--xp-ink:#241f24;--xp-muted:#625d63;--xp-line:#e8e4df;--accent:#941c2a;--teal:#941c2a;--green:#941c2a;--bright:#b93847;--ink:#241f24;--muted:#625d63;--soft:#f7f3f1;--line:#e8e4df}
body.xp-site{background:var(--xp-canvas);color:var(--xp-ink);font-family:"DM Sans",Inter,system-ui,sans-serif;font-size:16px;line-height:1.5}
.xp-site :is(button,input,select,textarea){font-family:inherit;accent-color:var(--xp-wine)}
.xp-site :is(button,a,input,select,textarea):focus-visible{outline:3px solid #ac6900;outline-offset:3px}
.xp-site :is(input,select,textarea){border-color:#dcd5d2;border-radius:12px;color:var(--xp-ink);background:#fff}
.xp-site :is(input,select,textarea):focus{border-color:var(--xp-wine)}
.xp-site :is(h1,h2,h3){letter-spacing:-.035em}
.xp-site :is(dialog,.auth,.welcome,.setup,.product,.listing,.metrics article){border:1px solid var(--xp-line);border-radius:22px;background:#fff;color:var(--xp-ink)}
.xp-site dialog{box-shadow:0 18px 70px #40121b20}
.xp-site dialog::backdrop{background:#26151d80;backdrop-filter:blur(3px)}
.xp-site :is(.primary,.provider,.welcome-actions a:first-child){background:var(--xp-wine);color:#fff;border-color:var(--xp-wine);border-radius:14px;min-height:46px}
.xp-site :is(.primary,.provider):hover{background:#771521}
.xp-site :is(.summary,.notice,.hint,.photo-empty,.listing-photo,.hub-row,.journey-fields){background:#f7f3f1;border-color:var(--xp-line)}
.xp-site :is(.muted,.intro,.meta,.subtitle,.hub-empty,.desk small,.listing small,.listing-price del){color:var(--xp-muted)}
.xp-site :is(.error,#error,#sheet-error){color:#a32432}
.xp-site .onboarding{border-top:4px solid var(--xp-wine);box-shadow:0 14px 45px #491e2410}
.xp-site .step-track .done{background:var(--xp-wine)}
.xp-site .step-caption{color:var(--xp-wine)}
.xp-site:not(.xp-home-active)>header{width:100%;max-width:none;min-height:74px;padding:9px max(22px,calc((100% - 1152px)/2));background:white;color:var(--xp-ink);border-bottom:1px solid var(--xp-line);gap:14px}
.xp-site>header a{color:inherit}
.xp-site .xp-theme-brand{display:inline-flex;align-items:center;gap:8px;text-decoration:none;flex-shrink:0}
.xp-theme-logo-frame{display:block;width:41px;height:42px;overflow:hidden;position:relative;border-radius:12px;background:#fbf7f4}
.xp-site .xp-theme-logo-frame img{position:absolute;left:50%;top:-3px;transform:translateX(-50%);width:120px;max-width:none;height:auto;border-radius:0}
.xp-theme-wordmark{font-weight:780;font-size:1.24rem;letter-spacing:-.065em;color:#241f24}
.xp-theme-wordmark span{color:var(--xp-wine)}
.xp-site>header nav{gap:6px}
.xp-site>header nav :is(a,button){display:inline-flex;align-items:center;justify-content:center;min-height:44px;border:0;border-radius:22px;background:transparent;color:#554e54;padding:8px 12px;font-size:.875rem;font-weight:650;white-space:nowrap}
.xp-site>header nav :is(a,button):hover{background:#f8eeee}
.xp-site>header nav :is(.active,[aria-current="page"]){background:#f8e9eb;color:var(--xp-wine)}
.xp-site>header nav .active:after{display:none}
.xp-site>header :is(#account,.account){border:1px solid var(--xp-line);border-radius:14px;padding:8px 12px;color:var(--xp-ink);background:white;min-height:44px}
.xp-site .header-end .city{color:var(--xp-muted)}
.xp-site .header-end .avatar{background:#f5e9e9;color:var(--xp-wine)}
.xp-market main{max-width:1224px;padding-top:24px}
.xp-market .hero,.xp-market .desk-head{background:linear-gradient(115deg,#a11e2a,#801622);color:white;border-radius:24px;padding:clamp(22px,4vw,42px)}
.xp-market .hero h1{font-size:clamp(2rem,5vw,3.3rem);line-height:1.12}
.xp-market .hero p,.xp-market .desk-head small{color:#ffe6e7}
.xp-market .hero label{color:white;font-size:.875rem;margin-bottom:7px}
.xp-market .hero .search button{background:#fff6eb;color:#771521;border-radius:12px}
.xp-market .hero .search input{border-color:transparent}
.xp-market button{background:var(--xp-wine);color:white;border-radius:12px}
.xp-market .listing-price strong{color:var(--xp-wine)}
.xp-market .listing-actions :is(.outline,.book-link),.xp-market .actions button+button{background:#f8ecee;color:#85202c}
.xp-market :is(.listing,.product){box-shadow:0 4px 16px #321c2105}
.xp-market .listing-photo{border-bottom:1px solid var(--xp-line)}
.xp-market .desk aside{background:white;color:var(--xp-ink);border:1px solid var(--xp-line);border-radius:22px}
.xp-market .desk aside nav{border-color:var(--xp-line)}
.xp-market .desk aside :is(button,a){background:transparent;color:#62515a;border-radius:12px}
.xp-market .desk aside :is(button,a):hover,.xp-market .desk aside [aria-current=true]{background:#f8e9eb;color:#8a1828;box-shadow:inset 3px 0 #941c2a}
.xp-market .desk-body .metrics article{border:1px solid var(--xp-line);border-top:3px solid var(--xp-wine);border-radius:18px}
.xp-market :is(.stock-row,.stack fieldset,.paper-checks li){border-color:var(--xp-line)}
.xp-market .desk-feedback{border-color:var(--xp-line);border-top-color:var(--xp-wine)}
.xp-market .desk-feedback .secondary{color:#85202c;background:#f8ecee}
.xp-market #cart-feedback:not([hidden]){background:#85202c}
.xp-market .signin-logo{border-radius:14px}
.xp-ride .topbar{height:74px}
.xp-ride .topbar nav{align-items:center;gap:6px}
.xp-ride .workspace{height:calc(100dvh - 74px)}
.xp-ride .ride-panel{border:1px solid var(--xp-line);border-radius:24px;box-shadow:0 12px 48px #3a1d201a}
.xp-ride :is(.pilot-tag,.route-summary,#pickup-feedback,.ride-option.selected){background:#fbf0f1;color:#7b202b;border-color:#ebcdd2}
.xp-ride .ride-option.selected{border-color:var(--xp-wine)}
.xp-ride :is(.panel-title .eyebrow,#ride-payment-button,.location-actions button,.panel-footer button,.route-actions button,.search-button){color:var(--xp-wine)}
.xp-ride .route-actions #route-options-toggle{background:var(--xp-wine);color:white}
.xp-ride #dialog{border-top:4px solid var(--xp-wine)}
.xp-ride .hub-banner{background:linear-gradient(115deg,#a11e2a,#801622)}
.xp-ride .hub-icon{background:#f7e5e8;color:var(--xp-wine)}
.xp-ride .hub-row:hover{background:#faecef}
.xp-ride .journey-fields:focus-within{border-color:#bd6774}
.xp-ride .pickup-dot{background:var(--xp-wine);box-shadow:0 0 0 4px #f4dade}
.xp-ride .map-tools button[aria-pressed=true]{background:#f8e9eb;color:var(--xp-wine)}
.xp-ride .search-result:hover{background:#fbf0f1}
.xp-ride .mobile-dock{background:white;color:#625a5f;border-top:1px solid var(--xp-line);border-radius:18px 18px 0 0}
.xp-ride .mobile-dock button[aria-current]{color:var(--xp-wine)}
@media(max-width:760px){
.xp-site:not(.xp-home-active)>header{padding:8px 14px;gap:8px;min-height:64px;flex-wrap:wrap}
.xp-theme-wordmark{font-size:1.1rem}.xp-theme-logo-frame{width:35px;height:36px}
.xp-site .xp-theme-logo-frame img{width:103px}
.xp-market>header nav{width:100%;overflow-x:auto;justify-content:space-between}
.xp-market>header nav :is(a,button){padding:7px 10px;font-size:.875rem}
.xp-market .desk aside nav{display:flex;flex-wrap:nowrap;overflow-x:auto}
.xp-market .desk aside nav :is(a,button){flex-shrink:0}
.xp-market main{padding-inline:14px}.xp-market .hero{border-radius:20px}
.xp-market .hero .search{gap:6px}.xp-market .hero .search button{padding-inline:12px}
}
@media(max-width:700px){
.xp-ride .topbar{height:65px;min-height:65px;flex-wrap:nowrap}
.xp-ride .workspace{height:calc(100dvh - 125px - env(safe-area-inset-bottom));min-height:0}
.xp-ride .ride-panel{border-radius:23px 23px 0 0}
.xp-ride .topbar .xp-theme-home{margin-left:auto;padding:7px 12px;background:#f8e9eb;color:var(--xp-wine);border-radius:18px;font-size:.875rem;font-weight:650}
}
@media(prefers-reduced-motion:reduce){.xp-site *, .xp-site *:before,.xp-site *:after{scroll-behavior:auto!important}}
}
@media screen{
.xp-site .brand>.xp-theme-wordmark{color:#241f24}.xp-site .brand>.xp-theme-wordmark span{color:var(--xp-wine)}
.xp-market .desk-head .pill{color:#85202c;background:#fff6f4}
.xp-market .desk-head .portrait{background:#7a1725;color:white}
.xp-market>header #cart{gap:5px}
}
@media screen and (max-width:700px){.xp-market>header nav [data-business-hub]{display:none}}
