/* Explicit native-control colors also keep mobile dark mode readable. */
:root{color-scheme:light}
body input:not([type=checkbox]):not([type=radio]):not([type=hidden]):not([type=range]):not([type=color]):not([type=submit]):not([type=button]),body select,body textarea{
 box-sizing:border-box;min-width:0;max-width:100%;background-color:#fff;color:#302727;-webkit-text-fill-color:#302727;caret-color:#302727;border:1px solid #a99898;border-radius:6px;font-size:16px;line-height:1.5;min-height:48px;padding:11px 12px;color-scheme:light
}
body input::placeholder,body textarea::placeholder{color:#766b6b;-webkit-text-fill-color:#766b6b;opacity:1}
body input:disabled,body select:disabled,body textarea:disabled{background-color:#f0eeee;color:#655c5c;-webkit-text-fill-color:#655c5c;opacity:1}
body input:read-only:not([type=checkbox]):not([type=radio]):not([type=hidden]):not([type=range]):not([type=color]):not([type=submit]):not([type=button]){background-color:#f7f5f5}
body input:autofill{color:#302727;-webkit-text-fill-color:#302727}
body input[type=checkbox],body input[type=radio]{box-sizing:border-box;flex:0 0 auto;width:20px;height:20px;min-height:20px;padding:0;accent-color:#b52336;vertical-align:middle}
body input[type=file]{white-space:normal;overflow:hidden}
body input[type=file]::file-selector-button{font:inherit;background:#f6eeee;color:#302727;border:1px solid #bca9a9;border-radius:4px;padding:8px;margin-right:8px;max-width:100%;white-space:normal}
body select option{background:#fff;color:#302727}
form,fieldset,form label,form .row>*,.bank-lookup,.postal-field{min-width:0;box-sizing:border-box}
@media(max-width:700px){
 main{box-sizing:border-box;width:100%;min-width:0;padding-left:12px;padding-right:12px}
 .panel{min-width:0;max-width:100%;box-sizing:border-box;padding:16px}
 form .row,.store-work .st-row{display:grid;grid-template-columns:minmax(0,1fr);gap:12px;align-items:start}
 form .row>*,.store-work .st-row>label{min-width:0;width:100%;margin:0}
 form label{line-height:1.6;overflow-wrap:anywhere}
 form input:not([type=checkbox]):not([type=radio]):not([type=hidden]),form select,form textarea{width:100%}
 form button,.review-actions button,.st-actions button{box-sizing:border-box;max-width:100%;min-height:44px;white-space:normal;overflow-wrap:anywhere;line-height:1.5}
 .store-work .st-actions{display:grid;grid-template-columns:minmax(0,1fr)}
 .panel .row{grid-template-columns:minmax(0,1fr)}
 fieldset{min-inline-size:0;max-width:100%}
 input[type=date],input[type=time],input[type=datetime-local]{display:block;min-inline-size:0}
 input::-webkit-date-and-time-value{text-align:left;min-height:1.5em}
 .bank-options{box-sizing:border-box;max-width:100%;overflow-wrap:anywhere}
}
@media(max-width:700px){
 #profile-form label,#bank-form label,#identity-form label{margin-top:12px;margin-bottom:12px}
}
/* Account actions occupy the first row on phones, ahead of other navigation. */
@media(max-width:600px){
 header.shared-public-header .shared-public-brand,.postal-page>header>a.brand{display:none}
 header.shared-public-header nav,.postal-page>header nav{display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr));width:100%;gap:8px}
 header.shared-public-header [data-member-home],.postal-page>header [data-member-home]{grid-row:1;grid-column:1}
 header.shared-public-header .shared-public-orders,.postal-page>header #lookup{grid-row:1;grid-column:2}
 header.shared-public-header [data-member-guest],.postal-page>header [data-member-guest]{display:contents}
 header.shared-public-header [hidden],.postal-page>header [hidden]{display:none!important}
}
body .customer-action-alert{background:#b51d30!important;color:#fff!important;border:2px solid #b51d30!important;font-weight:800;white-space:normal!important}
.customer-action-panel{background:#fff5f4;border:2px solid #b51d30;border-radius:12px;padding:16px;margin:16px 0}
.customer-action-panel h2{font-size:18px;color:#9b1427}.customer-action-panel a{display:block;background:#fff;color:#94182a;border:1px solid #d6aaaa;border-radius:6px;padding:12px;margin:8px 0;font-weight:700;overflow-wrap:anywhere}
.customer-action-target{outline:3px solid #b51d30;outline-offset:5px;scroll-margin:24px}
