/* Light and Midnight Navy desktop companion to the native wallet. */
.mw-desktop-wallet{--wd-bg:#fff;--wd-panel:#fff;--wd-row:#fff;--wd-input:#f5f8ff;--wd-line:#cdd8e7;--wd-soft-line:#e3eaf4;--wd-ink:#102f4b;--wd-muted:#586b82;--wd-blue:#2453ff;--wd-points:#2453ff;--wd-own:#e6edff;--wd-partner:#f1f5fb}
html[data-desktop-theme=dark] .mw-desktop-wallet{--wd-bg:#081427;--wd-panel:#12243c;--wd-row:#102238;--wd-input:#0c1a2d;--wd-line:#304b6a;--wd-soft-line:#25425f;--wd-ink:#f2f6fc;--wd-muted:#bed0e2;--wd-points:#bcd8ff;--wd-own:#173a68;--wd-partner:#172b43}
@media(prefers-color-scheme:dark){html:not([data-desktop-theme]) .mw-desktop-wallet{--wd-bg:#081427;--wd-panel:#12243c;--wd-row:#102238;--wd-input:#0c1a2d;--wd-line:#304b6a;--wd-soft-line:#25425f;--wd-ink:#f2f6fc;--wd-muted:#bed0e2;--wd-points:#bcd8ff;--wd-own:#173a68;--wd-partner:#172b43}}
html body .mw-desktop-wallet{display:grid!important;grid-template-columns:minmax(0,1fr)!important;gap:24px!important;max-width:1440px!important;margin-inline:auto!important;color:var(--wd-ink)!important;background:var(--wd-bg)!important;padding:20px!important;align-items:start}
html body .mw-desktop-wallet>*{min-width:0}
html body .mw-desktop-wallet>.mw-step{background:var(--wd-panel)!important;color:var(--wd-ink)!important;border:1px solid var(--wd-line)!important;border-radius:18px!important;box-shadow:none!important;min-width:0;overflow:visible}
html body .mw-desktop-wallet .mw-balances>h2{font:700 24px/1.3 inherit;color:var(--wd-ink)!important;padding:20px 20px 0!important;margin:0!important;background:transparent!important}
html body .mw-desktop-wallet .mw-step-body{padding:20px!important;background:transparent!important;color:var(--wd-ink)!important}
html body .mw-desktop-wallet .mw-banks{display:grid!important;grid-template-columns:1fr!important;gap:10px!important}
html body .mw-desktop-wallet .mw-bank{display:grid!important;grid-template-columns:38px minmax(0,1fr) 138px!important;gap:12px!important;align-items:center!important;padding:12px!important;border:1px solid var(--wd-soft-line)!important;border-radius:12px!important;background:var(--wd-row)!important;box-shadow:none!important;min-width:0}
html body .mw-desktop-wallet .mw-bank label{display:block!important;min-width:0;margin:0!important;color:var(--wd-ink)!important;font-size:14px!important;line-height:1.4!important;font-weight:650!important}
html body .mw-desktop-wallet .mw-bank label small{display:block!important;color:var(--wd-muted)!important;font-size:12px!important;font-weight:400!important;margin-top:2px}
.mw-desktop-wallet .mw-issuer-logo{display:block;width:38px;height:38px;object-fit:contain;background:#fff;border-radius:7px;padding:3px}
.mw-desktop-wallet .mw-desktop-amount{display:flex;align-items:center;gap:5px;min-width:0;border:0;border-radius:0;background:transparent;padding:0 9px;color:var(--wd-muted);font-size:12px}
html body .mw-desktop-wallet .mw-bank input{width:100%!important;min-width:0!important;min-height:44px!important;padding:8px 0!important;margin:0!important;border:0!important;background:transparent!important;box-shadow:none!important;color:var(--wd-points)!important;border-radius:0!important;font-size:17px!important;font-weight:700!important;text-align:right;font-variant-numeric:tabular-nums;appearance:textfield}
.mw-desktop-wallet .mw-bank input::-webkit-inner-spin-button,.mw-desktop-wallet .mw-bank input::-webkit-outer-spin-button{-webkit-appearance:none;margin:0}
html body .mw-desktop-wallet .mw-member-save{margin:16px 0!important;display:block!important}
html body .mw-desktop-wallet .mw-desktop-save{display:flex!important;justify-content:center;align-items:center;gap:12px;min-height:48px;width:100%;padding:12px!important;background:#2453ff!important;color:#fff!important;border:1px solid #2453ff!important;border-radius:12px!important;font-size:16px!important;font-weight:650!important}
.mw-desktop-save:before{content:'';width:22px;height:26px;background:center/contain no-repeat url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='28' viewBox='0 0 24 28' fill='none' stroke='white' stroke-width='2'%3E%3Crect x='3' y='1' width='18' height='26' rx='3'/%3E%3Cpath d='M7 6h10v4H7zM7 15h2m6 0h2M7 19h2m6 0h2M7 23h2m6 0h2'/%3E%3C/svg%3E")}
html body .mw-desktop-wallet .mw-desktop-loyalty{margin:12px 0;border:1px solid var(--wd-line);border-radius:12px;background:var(--wd-own);color:var(--wd-points)}
html body .mw-desktop-wallet .mw-desktop-loyalty>summary{display:flex!important;align-items:center;justify-content:space-between;gap:12px;min-height:48px;padding:12px 14px!important;font-size:14px!important;font-weight:650;color:var(--wd-points)!important;cursor:pointer;list-style:none;background:transparent!important}
.mw-desktop-loyalty>summary::-webkit-details-marker{display:none}.mw-desktop-loyalty>summary:after{content:'⌄';font-size:22px}.mw-desktop-loyalty[open]>summary:after{content:'⌃'}
html body .mw-desktop-wallet .mw-loyalty{background:var(--wd-panel)!important;color:var(--wd-ink)!important;border-color:var(--wd-line)!important;margin:10px!important;border-radius:10px!important}
html body .mw-desktop-wallet .mw-loyalty>summary{background:transparent!important;color:var(--wd-ink)!important;min-height:44px}
html body .mw-desktop-wallet .mw-section-top{background:transparent!important;color:var(--wd-ink)!important;padding:20px 20px 0!important;border:0!important}
html body .mw-desktop-wallet .mw-section-top h2{color:var(--wd-ink)!important;font-size:24px!important;line-height:1.3!important;margin:0!important}
html body .mw-desktop-wallet .mw-transfer-tools{margin-bottom:18px;color:var(--wd-ink)}
html body .mw-desktop-wallet .mw-transfer-controls{gap:10px}
html body .mw-desktop-wallet .mw-transfer-search{flex-basis:220px;border-radius:10px;background:var(--wd-input);border-color:var(--wd-line)}
html body .mw-desktop-wallet .mw-transfer-filters{gap:4px}
html body .mw-desktop-wallet .mw-transfer-filters button{padding:10px 14px;border-radius:9px;border-color:var(--wd-line);color:var(--wd-ink);font-size:13px}
html body .mw-desktop-wallet .mw-wallet-card{--wc-bg:var(--wd-panel);--wc-ink:var(--wd-ink);--wc-muted:var(--wd-muted);--wc-line:var(--wd-line);background:var(--wd-panel)!important;border:1px solid var(--wd-line)!important;border-radius:16px!important;color:var(--wd-ink)!important;margin-bottom:16px}
html body .mw-desktop-wallet .mw-wallet-card>summary{padding:16px!important;color:var(--wd-ink)!important}
html body .mw-desktop-wallet .mw-wallet-card .mw-partner-name{font-size:17px!important;color:var(--wd-ink)!important}
html body .mw-desktop-wallet .mw-wallet-card .mw-wallet-panel{background:var(--wd-own)!important;border:1px solid var(--wd-soft-line)!important;color:var(--wd-ink)!important;border-radius:12px!important;padding:14px!important}
html body .mw-desktop-wallet .mw-wallet-card .mw-wallet-partner{background:var(--wd-partner)!important}
html body .mw-desktop-wallet .mw-wallet-card .mw-wallet-label{color:var(--wd-ink)!important;font-size:11px!important}
html body .mw-desktop-wallet .mw-wallet-card .mw-wallet-number{color:var(--wd-points)!important;font-size:27px!important;line-height:1.3!important}
html body .mw-desktop-wallet .mw-wallet-card .mw-wallet-sources{color:var(--wd-muted)!important;font-size:12px!important}
html body .mw-desktop-wallet .mw-wallet-card .mw-wallet-logo-row{background:var(--wd-row)!important;color:var(--wd-ink)!important;border-color:var(--wd-line)!important}
html body .mw-desktop-wallet .mw-wallet-card .mw-wallet-source-name{color:var(--wd-ink)!important}
html body .mw-desktop-wallet .mw-wallet-card .mw-wallet-logo-row small{color:var(--wd-muted)!important}
html body .mw-desktop-wallet .mw-wallet-card .mw-wallet-tabs{background:var(--wd-input)!important;border-color:var(--wd-line)!important}
html body .mw-desktop-wallet .mw-wallet-card .mw-wallet-tabs button{color:var(--wd-ink)!important}
html body .mw-desktop-wallet .mw-wallet-card .mw-wallet-tabs button[aria-selected=true]{background:#2453ff!important;color:white!important}
html body .mw-desktop-wallet .mw-wallet-card .mw-wallet-instructions>summary{background:var(--wd-own)!important;color:var(--wd-ink)!important}
html body .mw-desktop-wallet :is(.mw-fine,.text-muted,.mw-transfer-note,.mw-transfer-info){color:var(--wd-muted)!important}
html body .mw-desktop-wallet :focus-visible{outline:3px solid var(--wd-points)!important;outline-offset:3px!important}
.mw-visually-hidden{position:absolute!important;width:1px!important;height:1px!important;overflow:hidden!important;clip-path:inset(50%)!important}
@media(min-width:1100px){html body .mw-desktop-wallet{grid-template-columns:minmax(390px,0.85fr) minmax(0,1.15fr)!important}html body .mw-desktop-wallet>.mw-balances{grid-column:1;grid-row:1}html body .mw-desktop-wallet>.mw-results{grid-column:2;grid-row:1}html body .mw-desktop-wallet>.mw-availability{grid-column:1/-1}html body .mw-desktop-wallet .mw-wallet-panels{grid-template-columns:repeat(2,minmax(0,1fr))!important}}
@media(max-width:600px){html body .mw-desktop-wallet{padding:10px!important;gap:16px!important}html body .mw-desktop-wallet .mw-step-body{padding:12px!important}html body .mw-desktop-wallet .mw-bank{grid-template-columns:30px minmax(0,1fr) 112px!important;padding:10px!important;gap:8px!important}.mw-desktop-wallet .mw-issuer-logo{width:30px;height:30px}html body .mw-desktop-wallet .mw-bank label{font-size:13px!important}html body .mw-desktop-wallet .mw-bank input{font-size:15px!important}html body .mw-desktop-wallet .mw-wallet-panels{grid-template-columns:1fr!important}}
@media(max-width:360px){html body .mw-desktop-wallet .mw-bank{grid-template-columns:30px minmax(0,1fr)!important}.mw-desktop-wallet .mw-desktop-amount{grid-column:1/-1}}
/* Reset legacy editorial typography and reserved grid-label heights. */
html body .mw-desktop-wallet,html body .mw-desktop-wallet :is(h2,h3,h4,label,button,input,summary){font-family:Inter,-apple-system,BlinkMacSystemFont,"Segoe UI",Arial,sans-serif!important}
html body .mw-desktop-wallet .mw-bank label span{font-family:inherit!important;font-size:14px!important;font-weight:650!important;line-height:1.4!important;min-height:0!important;margin:0!important}
html body .mw-desktop-wallet .mw-bank label small{min-height:0!important;padding:0!important;text-transform:none!important;letter-spacing:0!important;line-height:1.4!important}
html body .mw-desktop-wallet .mw-bank,.mw-desktop-wallet .mw-desktop-amount,.mw-desktop-wallet .mw-issuer-logo{box-sizing:border-box!important}
html body .mw-desktop-wallet .mw-desktop-amount input{flex:1 1 auto!important;width:0!important;outline:none!important}
.mw-desktop-wallet .mw-desktop-amount>span{flex:none}
html body .mw-desktop-wallet .mw-desktop-amount:focus-within{outline:3px solid var(--wd-points);outline-offset:3px}
html body .mw-desktop-wallet .mw-balances>h2{font-size:24px!important;font-weight:700!important;line-height:1.3!important;border:0!important}
html body .mw-desktop-wallet .mw-banks{padding-bottom:0!important}

/* Signed-in unified planner uses different markup from the public calculator. */
html body .up #wallet.mw-planner-wallet{padding:20px 0!important;max-width:none!important}
html body .mw-planner-wallet>.up-heading,html body .mw-planner-wallet>.up-summary{grid-column:1/-1!important}
html body .mw-planner-wallet>.up-summary{margin-bottom:0!important;background:var(--wd-panel)!important;color:var(--wd-ink)!important}
html body .mw-planner-wallet .up-wallet-columns{display:flex!important;flex-direction:column!important;gap:20px!important;min-width:0}
html body .mw-planner-wallet .up-panel{background:var(--wd-panel)!important;color:var(--wd-ink)!important;border:1px solid var(--wd-line)!important;border-radius:16px!important;box-shadow:none!important;padding:20px!important;margin-bottom:0!important}
html body .mw-planner-wallet :is(h3,h4,summary,.up-owner-title){color:var(--wd-ink)!important}
html body .mw-planner-wallet :is(.up-small,.up-muted,.up-step){color:var(--wd-muted)!important}
html body .mw-planner-wallet .mw-bank-identity{display:block;min-width:0;color:var(--wd-ink)!important;line-height:1.4;font-size:14px!important}
html body .mw-planner-wallet .mw-bank-identity strong{display:block;min-height:0;font-weight:650!important;color:var(--wd-ink)!important}
html body .mw-planner-wallet .mw-bank-identity small{display:block;color:var(--wd-muted)!important;font-size:12px!important;margin-top:3px}
html body .mw-planner-wallet .mw-desktop-save{margin:16px 0!important}
html body .mw-planner-wallet form>details,html body .mw-planner-wallet .up-wallet-columns>.up-panel>details:not(#up-partner-disclosure){margin-top:12px;padding:12px;border:1px solid var(--wd-line);border-radius:12px;background:var(--wd-own)!important}
html body .mw-planner-wallet details>summary{min-height:44px;cursor:pointer}
html body .mw-planner-wallet #up-transfer-disclosure>summary{font-size:23px!important;font-weight:700!important;line-height:1.3;margin-bottom:16px}
html body .mw-planner-wallet #up-transfer-filter{background:var(--wd-input)!important;color:var(--wd-ink)!important;border-color:var(--wd-line)!important;border-radius:10px!important;min-height:46px}
html body .mw-planner-wallet .up-fields:not(.mw-banks) :is(input,select){background:var(--wd-input)!important;color:var(--wd-ink)!important;border-color:var(--wd-line)!important}
html body .mw-planner-wallet #up-more-transfers{background:var(--wd-own)!important;color:var(--wd-points)!important;border:1px solid var(--wd-line)!important;border-radius:10px;padding:12px;min-height:44px}
@media(min-width:1100px){html body .mw-planner-wallet>.up-wallet-columns{grid-column:1!important;grid-row:3!important}html body .mw-planner-wallet>#up-transfer-disclosure{grid-column:2!important;grid-row:3!important}html body .mw-planner-wallet .mw-bank{grid-template-columns:34px minmax(0,1fr) 116px!important;gap:8px!important;padding:10px!important}}
@media(max-width:1099px){html body .mw-planner-wallet>.up-wallet-columns,html body .mw-planner-wallet>#up-transfer-disclosure{grid-column:1!important}}

/* Full-width wallet and generous, borderless credit-card balances. */
html body .mw-desktop-wallet{grid-template-columns:minmax(0,1fr)!important;background:transparent!important}
html body .mw-desktop-wallet>:is(.mw-balances,.mw-results,.mw-availability,.up-wallet-columns,#up-transfer-disclosure){grid-column:1!important;grid-row:auto!important}
html body .mw-desktop-wallet .mw-bank{grid-template-columns:44px minmax(0,1fr) 280px!important;gap:18px!important;padding:16px!important}
html body .mw-desktop-wallet .mw-bank .mw-desktop-amount{width:100%!important;min-width:0!important;border:0!important;background:transparent!important;box-shadow:none!important;padding:0!important}
html body :is(#wallet,.mw-workspace).mw-desktop-wallet .mw-bank input{border:0!important;background:transparent!important;box-shadow:none!important;font-size:26px!important;min-height:52px!important;padding:8px 0!important;width:0!important;flex:1 1 auto!important;min-width:0!important;color:var(--wd-points)!important}
html body .mw-desktop-wallet .mw-desktop-amount>span{font-size:16px!important;margin-left:8px}
@media(max-width:640px){html body .mw-desktop-wallet .mw-bank{grid-template-columns:38px minmax(0,1fr)!important;gap:10px!important;padding:12px!important}html body .mw-desktop-wallet .mw-bank .mw-desktop-amount{grid-column:1/-1!important}html body :is(#wallet,.mw-workspace).mw-desktop-wallet .mw-bank input{font-size:24px!important}}
/* Green airline accents and slightly deeper outlines. */
.mw-desktop-wallet{--wd-line:#b3c3d7;--wd-soft-line:#ccd7e5;--wd-airline:#00803c}
html[data-desktop-theme=dark] .mw-desktop-wallet{--wd-line:#263f5a;--wd-soft-line:#203951;--wd-airline:#39ed73}
@media(prefers-color-scheme:dark){html:not([data-desktop-theme]) .mw-desktop-wallet{--wd-line:#263f5a;--wd-soft-line:#203951;--wd-airline:#39ed73}}
html body .mw-desktop-wallet .mw-desktop-loyalty>summary,html body #wallet.mw-desktop-wallet :is(#up-wallet-form,#up-partner-form)>details:has(#up-other,#up-partner-other)>summary{background:#008f43!important;color:#fff!important;border:1px solid #007738!important;border-radius:11px!important;font-size:20px!important;font-weight:700!important;padding:14px 18px!important;min-height:52px}
html body :is(#wallet,.mw-workspace).mw-desktop-wallet input[data-point-kind=airline],html body .mw-desktop-wallet #airline-balances input[type=number],html body .mw-desktop-wallet .mw-wallet-card[data-wallet-kind=airline] .mw-wallet-number{color:var(--wd-airline)!important}
/* Editing highlights the whole card row, never a box around the number. */
html body :is(#wallet,.mw-workspace).mw-desktop-wallet .mw-bank .mw-desktop-amount,
html body :is(#wallet,.mw-workspace).mw-desktop-wallet .mw-bank input:focus,
html body :is(#wallet,.mw-workspace).mw-desktop-wallet .mw-bank input:focus-visible{outline:0!important;border:0!important;box-shadow:none!important;background:transparent!important}
html body .mw-desktop-wallet .mw-bank:focus-within{border-color:var(--wd-points)!important;box-shadow:0 0 0 1px var(--wd-points)!important}
/* Bonus offers remain prominent while transfer details are collapsed. */
html body .mw-desktop-wallet .mw-wallet-card>summary>.mw-desktop-bonuses{display:flex!important;grid-column:1/-1;flex-wrap:wrap;gap:8px;margin:2px 0}
html body .mw-desktop-wallet .mw-desktop-bonus{display:inline-block!important;background:#39ed73!important;color:#092c1a!important;border:1px solid #20bf58;border-radius:8px;padding:6px 11px;font-size:14px!important;font-weight:750!important;line-height:1.4}
html body .mw-desktop-wallet .mw-wallet-panel .mw-wallet-bonuses{display:none!important}
.up .fc-card>.mw-flight-review-actions{display:flex;justify-content:flex-end;padding:16px 20px;border-top:1px solid var(--line,#d9e4ef);gap:12px}
.up .fc-card>.mw-flight-review-actions button{min-height:48px;border-radius:10px;background:#2453ff;color:#fff;font-weight:700;padding:12px 22px}
@media(max-width:640px){.up .fc-card>.mw-flight-review-actions button{width:100%}}
/* Consistent card definition, with only a faint lift from the page. */
.mw-desktop-wallet,.up{--ata-card-edge:#b1c2d6;--ata-card-shadow:0 2px 7px rgba(16,47,75,.07)}
html[data-desktop-theme=dark] :is(.mw-desktop-wallet,.up){--ata-card-edge:#38516c;--ata-card-shadow:0 2px 8px rgba(0,0,0,.18)}
@media(prefers-color-scheme:dark){html:not([data-desktop-theme]) :is(.mw-desktop-wallet,.up){--ata-card-edge:#38516c;--ata-card-shadow:0 2px 8px rgba(0,0,0,.18)}}
html body :is(#wallet,.mw-workspace).mw-desktop-wallet :is(.mw-bank,.mw-wallet-card,.mw-step,.up-panel),
html body .up :is(.fc-card,#up-hotel-results>.up-result){border:2px solid var(--ata-card-edge)!important;box-shadow:var(--ata-card-shadow)!important}
html body :is(#wallet,.mw-workspace).mw-desktop-wallet .mw-bank:focus-within{border-color:var(--wd-points)!important;box-shadow:0 0 0 1px var(--wd-points),var(--ata-card-shadow)!important}
/* Shared airline and hotel balance rows on the homepage and signed-in wallet. */
html body .mw-desktop-wallet :is(.mw-airlines,#up-other,#up-partner-other){display:grid!important;grid-template-columns:minmax(0,1fr)!important;gap:12px!important;padding:12px!important}
html body .mw-desktop-wallet .mw-loyalty-row{display:grid!important;grid-template-columns:38px minmax(0,1fr) 280px!important;align-items:center;gap:16px;padding:14px!important;margin:0!important;border:2px solid var(--ata-card-edge)!important;border-radius:12px;background:var(--wd-row)!important;box-shadow:var(--ata-card-shadow)!important;color:var(--wd-ink)!important;min-width:0}
html body .mw-desktop-wallet .mw-loyalty-row[hidden]{display:none!important}
html body .mw-desktop-wallet .mw-loyalty-row label,html body .mw-desktop-wallet .mw-loyalty-name{font:600 15px/1.4 Inter,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif!important;color:var(--wd-ink)!important;min-width:0;margin:0!important}
.mw-program-logo{width:38px;height:38px;object-fit:contain;background:#fff;padding:3px;border-radius:7px;box-sizing:border-box;display:grid;place-items:center;color:#102f4b;font-size:13px}
.mw-loyalty-amount{display:flex;align-items:center;gap:10px;min-width:0;color:var(--wd-muted);font-size:15px}
html body :is(#wallet,.mw-workspace).mw-desktop-wallet .mw-loyalty-row input{width:0!important;flex:1 1 auto!important;min-width:0!important;min-height:48px;margin:0!important;padding:8px 0!important;border:0!important;border-radius:0!important;outline:0!important;box-shadow:none!important;background:transparent!important;color:var(--wd-airline)!important;font-size:24px!important;font-weight:700;text-align:right;font-variant-numeric:tabular-nums;appearance:textfield}
html body :is(#wallet,.mw-workspace).mw-desktop-wallet .mw-loyalty-row[data-loyalty-kind=hotel] input{color:var(--wd-points)!important}
.mw-loyalty-row input::-webkit-inner-spin-button,.mw-loyalty-row input::-webkit-outer-spin-button{-webkit-appearance:none;margin:0}
html body .mw-desktop-wallet .mw-loyalty-row:focus-within{border-color:var(--wd-points)!important}
@media(max-width:640px){html body .mw-desktop-wallet .mw-loyalty-row{grid-template-columns:38px minmax(0,1fr)!important;gap:10px!important}.mw-loyalty-amount{grid-column:1/-1}}
/* Match both wallet action labels. */
html body .mw-desktop-wallet .mw-desktop-save{font-size:20px!important;font-weight:700!important;line-height:1.4!important}
html body .mw-desktop-wallet .mw-desktop-loyalty>summary,html body #wallet.mw-desktop-wallet :is(#up-wallet-form,#up-partner-form)>details:has(#up-other,#up-partner-other)>summary{line-height:1.4!important}
