/* The inherited viewport minimum stretches implicit grid rows. Override only
   classified native Buying forms; journey, seller-document and other drawers stay owned. */
#drawer .bi-form.bfux-native[data-bfux-form]{box-sizing:border-box;display:flex!important;flex-direction:column;align-items:stretch;align-content:flex-start;justify-content:flex-start;gap:16px;border:1px solid var(--hairline,var(--line));border-radius:12px;flex:0 0 auto;min-height:0!important;height:auto!important;max-height:none;max-width:760px;width:100%;margin:0 auto;padding:24px 28px;color:var(--ink);font-family:var(--font-ui,var(--sans));font-size:14px;line-height:1.5}
#drawer .bfux-native[data-bfux-form]>h2{font-size:22px;line-height:1.3;margin:0!important;flex:none}
#drawer .bfux-native[data-bfux-form]>p{margin:0!important;font-size:14px;line-height:1.5;flex:none;max-width:65ch}
#drawer .bfux-native[data-bfux-form]>:is([role=alert],[role=status]):empty{display:none}
#drawer .bfux-native[data-bfux-form] label{display:grid;grid-template-rows:max-content max-content;grid-auto-rows:max-content;align-content:start;align-items:start;gap:8px;min-height:0;height:auto;line-height:1.4;font-weight:500}
#drawer .bfux-native[data-bfux-form] :is(input:not([type=checkbox]):not([type=radio]):not([type=file]):not([type=hidden]),select){box-sizing:border-box;height:44px!important;min-height:44px;max-height:none;margin:0;width:100%;font-size:16px;padding:10px 12px;line-height:1.4}
#drawer .bfux-native[data-bfux-form] textarea{box-sizing:border-box;width:100%;min-height:88px;font:inherit;padding:10px 12px}
#drawer .bfux-native[data-bfux-form] :is(button,.btn){box-sizing:border-box;flex:0 0 auto;min-height:44px;height:auto;align-self:flex-start;padding:10px 14px;line-height:1.4;font-size:14px;width:auto;max-width:100%;white-space:normal}
#drawer .bfux-native[data-bfux-form] :is(input,select,textarea,button):focus-visible{outline:3px solid var(--bleu,var(--miami));outline-offset:3px}
#drawer .bfux-native[data-bfux-form]>form{display:grid;grid-auto-rows:max-content;align-content:start;gap:16px;min-height:0;margin:0}
#drawer .bfux-native[data-bfux-form] fieldset{min-width:0;margin:0}
#drawer .bfux-native[data-bfux-form] [role=alert]{white-space:pre-wrap;overflow-wrap:anywhere}
#drawer .bfux-native[data-bfux-form=seller]{max-width:640px;gap:18px}
#drawer .bfux-native[data-bfux-form=seller]>h2{display:none}
#drawer .bfux-native[data-bfux-form=seller]>p:first-of-type{font-size:13px;color:var(--stone,var(--mut));font-variant-numeric:tabular-nums;overflow-wrap:anywhere}
#drawer .bfux-native[data-bfux-form=seller]>label{margin-top:2px;font-size:14px}
#drawer .bfux-native[data-bfux-form=seller]>[data-bi-results]{display:flex;flex-direction:column;gap:8px;min-height:0}
#drawer .bfux-native[data-bfux-form=seller]>[data-bi-results]:empty{display:none}
#drawer .bfux-native[data-bfux-form=seller] [data-bi-seller-id]{width:100%;min-height:52px;justify-content:flex-start;text-align:left;align-self:stretch;padding:12px 14px}
#drawer .bfux-native[data-bfux-form=seller]>[data-bi-client]{font-weight:500}
#drawer .bfux-native[data-bfux-form=seller]>p:not(:first-of-type):not([role=alert]){font-size:13px;color:var(--stone,var(--mut))}
#drawer .bfux-native[data-bfux-form] .bi-check{display:flex;align-items:flex-start;gap:10px;min-height:44px}
#drawer .bfux-native[data-bfux-form] .bi-check input{flex:none;width:20px;height:20px;margin:2px 0}
@media(max-width:700px){#drawer .bi-form.bfux-native[data-bfux-form]{padding:18px 16px 24px}#drawer .bfux-native[data-bfux-form] .bv-grid{grid-template-columns:1fr}#drawer .bfux-native[data-bfux-form] :is(input,select,textarea){font-size:16px}}
@media(forced-colors:active){#drawer .bfux-native[data-bfux-form] :is(input,select,textarea,button){border-color:ButtonText}#drawer .bfux-native[data-bfux-form] :focus-visible{outline-color:Highlight}}
#drawer .bfux-native[data-bfux-form=seller] [data-bi-seller-id]{min-width:0;overflow-wrap:anywhere;word-break:normal}
/* Keep full native lookup and recovery errors readable on narrow screens. */
#drawer .bfux-native[data-bfux-form] :is([data-bi-results],[role=status],[role=alert],[data-bi-wire-form]>p){min-width:0;max-width:100%;overflow-wrap:anywhere;word-break:normal}
