.kit-dialog{width:min(720px,calc(100vw - 32px));max-height:calc(100dvh - 40px);padding:0;border:1px solid var(--line,#d7dfeb);border-radius:20px;background:var(--card,#fff);color:var(--ink,#071a3d);font:400 15px/1.5 var(--font-ui,Geist,system-ui);overflow:auto;overscroll-behavior:contain}.kit-dialog::backdrop{background:#071a3d66}.kit-header{position:sticky;top:0;z-index:2;display:flex;align-items:center;justify-content:space-between;gap:16px;padding:20px 24px;background:var(--card,#fff);border-bottom:1px solid var(--line,#d7dfeb)}.kit-header h2{font:650 23px/1.2 var(--font-ui,Geist,system-ui);margin:4px 0;letter-spacing:-.02em}.kit-eyebrow{font-size:12px;color:var(--stone,#6b6358)}.kit-header>button{width:44px;height:44px;flex-shrink:0;border:0;border-radius:10px;background:transparent;color:var(--ink);font-size:26px}.kit-body{padding:20px 24px}.kit-body h3{font-size:17px;margin:24px 0 12px}.kit-body p{margin:0 0 16px}.kit-body label{display:grid;gap:8px;font-size:13px;font-weight:500;margin:0 0 16px}.kit-body input:not([type=checkbox]),.kit-body textarea{box-sizing:border-box;width:100%;min-height:44px;border:1px solid var(--field-border,#948a7b);border-radius:10px;background:var(--card);color:var(--ink);padding:10px 12px;font:400 16px/1.5 var(--font-ui,Geist,system-ui)}.kit-body textarea{min-height:112px}.kit-body .btn,.kit-link{min-height:44px;cursor:pointer}.kit-link{border:0;background:transparent;color:var(--bleu-deep,#0052cc);font:500 14px/1.4 var(--font-ui,Geist,system-ui);padding:8px 0;text-align:left}.kit-muted{font-size:13px!important;line-height:1.6;color:var(--stone,#6b6358)}.kit-status{margin:0;padding:0 24px 18px;font-size:13px;color:var(--stone,#6b6358);white-space:pre-wrap}.kit-status:empty{display:none}.kit-toolbar{display:flex;gap:16px;align-items:center;flex-wrap:wrap;padding:12px 16px;border-bottom:1px solid var(--line)}.kit-selection{display:flex;align-items:center;justify-content:space-between;gap:12px;margin:12px 0}.kit-selection span{font-size:13px;color:var(--stone)}.kit-options{max-height:320px;overflow:auto;border:1px solid var(--line);border-radius:12px;margin-bottom:20px}.kit-options label{display:flex;align-items:flex-start;gap:12px;padding:12px;margin:0;min-height:60px;box-sizing:border-box;border-bottom:1px solid var(--line)}.kit-options label:last-child{border:0}.kit-options label[hidden]{display:none}.kit-options label>input{width:20px;height:20px;flex-shrink:0;accent-color:var(--bleu,#0075e1)}.kit-options label>span{min-width:0;display:grid;gap:3px}.kit-options strong{font-size:14px;font-weight:500;overflow-wrap:anywhere}.kit-options small{font-size:12px;color:var(--stone)}.kit-download-settings label:has([type=checkbox]){display:flex;gap:10px;align-items:center}.kit-download-settings [type=checkbox]{width:20px;height:20px;accent-color:var(--bleu)}.kit-body footer{display:flex;flex-wrap:wrap;align-items:center;gap:14px;margin-top:20px}.kit-summary{display:grid;grid-template-columns:1fr 1fr;gap:12px;margin-bottom:14px}.kit-summary>div{background:var(--well,#f6f4f0);padding:16px;border-radius:12px;display:grid;gap:4px}.kit-summary strong{font-size:28px;line-height:1.2;font-variant-numeric:tabular-nums}.kit-summary span{font-size:13px;color:var(--stone)}.kit-tabs{display:flex;gap:8px;margin:18px 0}.kit-cars>button{display:flex;width:100%;align-items:center;gap:12px;min-height:88px;padding:14px 0;border:0;border-bottom:1px solid var(--line);background:transparent;color:var(--ink);text-align:left;cursor:pointer}.kit-cars>button>span:nth-child(2){display:grid;gap:4px;flex:1;min-width:0}.kit-cars img,.kit-no-photo{width:72px;height:58px;border-radius:8px;object-fit:cover;flex-shrink:0;background:var(--well);display:grid;place-items:center}.kit-cars strong{font:600 15px/1.4 var(--font-ui,Geist,system-ui)}.kit-cars small{font-size:12px;color:var(--stone)}.kit-cover{width:100%;max-height:320px;object-fit:cover;border-radius:12px;margin-bottom:18px}.kit-facts,.kit-specs{display:grid;grid-template-columns:1fr 1fr;gap:18px;margin:16px 0 24px}.kit-facts dt,.kit-specs dt{font-size:12px;color:var(--stone);margin-bottom:5px}.kit-facts dd,.kit-specs dd{font-size:15px;margin:0;overflow-wrap:anywhere}.kit-body summary{min-height:44px;cursor:pointer;align-content:center;font-weight:600}.kit-notes article,.kit-note-review,.kit-change{border-bottom:1px solid var(--line);padding:16px 0}.kit-notes article p,.kit-note-review p{white-space:pre-wrap;margin:8px 0}.kit-note-review>small,.kit-notes small{display:block;color:var(--stone);font-size:12px;margin:6px 0 12px}.kit-notes form{margin-top:20px}.kit-change p{margin:6px 0 0;font-size:14px}.kit-packet{width:100%;height:65dvh;min-height:400px;border:1px solid var(--line);margin-top:16px;background:white}.kit-dialog :focus-visible{outline:3px solid var(--bleu-deep,#0052cc);outline-offset:2px}.kit-dialog button:disabled{opacity:.5;cursor:default}
@media(max-width:700px){.kit-dialog{width:100%;max-width:100%;max-height:calc(100dvh - 16px);margin:16px 0 0;border-radius:20px 20px 0 0}.kit-header{padding:16px 18px}.kit-header h2{font-size:21px}.kit-body{padding:18px 18px max(20px,env(safe-area-inset-bottom))}.kit-status{padding-inline:18px}.kit-toolbar{gap:10px}.kit-cars img,.kit-no-photo{width:62px;height:52px}}
@media(prefers-reduced-motion:reduce){.kit-dialog *{scroll-behavior:auto!important}}

.kit-cars>button[hidden]{display:none!important}
/* Reserve the iPhone safe area inside the sticky header, above its controls. */
@media(max-width:700px){
 html:root{--mc-top:calc(56px + var(--bleu-safe-top,env(safe-area-inset-top,0px)))!important}
 html:root body #shell#shell#shell#shell main>.topbar{position:sticky!important;top:var(--onbleu-support-height,0px)!important;box-sizing:border-box!important;height:calc(56px + var(--bleu-safe-top,env(safe-area-inset-top,0px)))!important;min-height:calc(56px + var(--bleu-safe-top,env(safe-area-inset-top,0px)))!important;max-height:none!important;padding:calc(6px + var(--bleu-safe-top,env(safe-area-inset-top,0px))) max(12px,env(safe-area-inset-right,0px)) 6px max(12px,env(safe-area-inset-left,0px))!important;transform:none!important;background:var(--paper)!important;backdrop-filter:none!important;-webkit-backdrop-filter:none!important;overflow:visible!important;z-index:40}
 html:root body #shell#shell#shell#shell main>.topbar::before{display:none!important}
 html:root body #shell#shell#shell#shell main>.topbar .topbrand .wm{opacity:1!important}
}
@media(max-width:700px){.kit-dialog{margin-top:max(16px,env(safe-area-inset-top,0px));max-height:calc(100dvh - max(16px,env(safe-area-inset-top,0px)))}}
/* One compact money queue, with historical wire activity secondary. */
.hp-invoices .hp-invoice-main{display:flex;justify-content:space-between;align-items:baseline;gap:12px;width:100%}
.hp-invoices .hp-invoice-main strong{min-width:0;overflow-wrap:anywhere}
.hp-invoices .hp-invoice-main b{flex:none;font-variant-numeric:tabular-nums}
.hp-invoices>header>p{margin:0 0 12px;color:var(--mut);font-size:13px}
.hp-invoices .hp-invoice-row{padding:16px 0;min-height:44px;gap:5px}
.hp-invoices .hp-invoice-row>small{color:var(--mut)}
.hp-wire-history{min-width:0}.hp-wire-history>summary{padding:16px;min-height:44px;color:var(--mut);cursor:pointer}.hp-wire-history .hp-card{margin-top:8px}
@media(max-width:420px){.hp-invoices .hp-invoice-main{align-items:flex-start;flex-direction:column;gap:4px}}
.wd-app[data-wd-floating-composer] .wd-suggestions:not(:empty){max-height:var(--wd-suggest-height,220px)!important;overflow-y:auto!important;overscroll-behavior:contain;touch-action:pan-y;-webkit-overflow-scrolling:touch}
.wd-app[data-wd-keyboard] .wd-capture:has(.wd-suggestions:not(:empty)) .wd-capture-options{display:none}
/* Override the older mobile horizontal-list rule: these are four equal view segments. */
html:root body #shell#shell#shell#shell #content#content .hub-center>.hcx-tabs.ux-sliding-tabs{display:grid!important;grid-template-columns:repeat(4,minmax(0,1fr))!important;justify-content:stretch!important;width:100%!important;max-width:100%!important;min-width:0!important;gap:0!important;overflow:hidden!important;padding:4px!important;box-sizing:border-box!important}
html:root body #shell#shell#shell#shell #content#content .hub-center>.hcx-tabs.ux-sliding-tabs>button{width:auto!important;min-width:0!important;max-width:none!important;justify-content:center!important;margin:0!important;padding:8px 2px!important;min-height:44px!important;font-size:13px!important;border:0!important;background:transparent!important;box-shadow:none!important}
.hp-month-legend{display:flex;gap:20px;align-items:center;margin:16px 0}.hp-month-legend>span{display:flex;gap:8px;align-items:center}.hp-month-legend i{display:inline-block;width:12px;height:12px;border-radius:2px}.hp-key-bought,.hp-month-bought i{background:var(--bleu,#0076ed)}.hp-key-sold,.hp-month-sold i{background:var(--mut,#68768b)}
.hp-month-scroll{overflow-x:auto;overscroll-behavior-x:contain;padding:4px 2px 12px;scrollbar-width:thin}.hp-month-chart{display:grid;grid-template-columns:repeat(var(--month-count),minmax(72px,1fr));min-width:calc(var(--month-count)*72px);gap:6px}.hp-month-pair{display:flex;height:230px;border-bottom:1px solid var(--line);align-items:flex-end}.hp-month-bar{position:relative;display:flex;align-items:flex-end;justify-content:center;width:50%;height:100%;padding:0 4px;border:0;background:transparent;color:var(--ink);cursor:pointer;min-height:44px}.hp-bar-stack{display:block;width:100%;position:relative;min-height:1px}.hp-bar-stack>strong{position:absolute;left:50%;bottom:calc(100% + 6px);transform:translateX(-50%);font-size:12px;font-weight:600;font-variant-numeric:tabular-nums}.hp-bar-stack>i{display:block;width:100%;height:100%;border-radius:3px 3px 0 0}.hp-month-bar:hover i,.hp-month-bar:focus-visible i{filter:brightness(.85)}.hp-month-bar:focus-visible{outline:2px solid var(--bleu);outline-offset:-2px}.hp-month-label{display:block;text-align:center;font-size:11px;line-height:1.4;padding-top:9px;white-space:normal}.hp-month-history>summary{min-height:44px;align-content:center;cursor:pointer;color:var(--mut);margin-top:8px}
