/* Shared orders app only: public header/footer remain native, with a scoped cabinet grid. */
/* Buyer inherits the existing public Montserrat theme; s2 keeps its native declarations untouched. */
body.h2b-buyer-shared-theme{--font-family:Montserrat;--font-family-fallback:Roboto;font-family:Montserrat,Roboto,sans-serif}
body.h2b-buyer-public-shell{background:#f4f5f6!important}body.h2b-buyer-public-shell main>.page-header:empty{display:none}.h2b-buyer-workspace{display:grid;grid-template-columns:238px minmax(0,1fr);gap:24px;align-items:start;font-family:"Hub2B Cabinet Montserrat",Montserrat,Arial,sans-serif;color:#25262a}.h2b-buyer-workspace *{box-sizing:border-box}.h2b-buyer-workspace-content{min-width:0}.h2b-buyer-cabinet{border-radius:16px;background:#fff;padding:24px 16px;min-width:0}.h2b-buyer-cabinet h2{font:600 20px/28px "Hub2B Cabinet Montserrat",Montserrat,Arial,sans-serif;margin:0 0 8px}.h2b-buyer-cabinet nav>a{display:block;padding:12px;color:#25262a;border-radius:8px;text-decoration:none;font:400 14px/20px "Hub2B Cabinet Montserrat",Montserrat,Arial,sans-serif;overflow-wrap:anywhere}.h2b-buyer-cabinet nav>a:hover{background:#f4f5f6}.h2b-buyer-cabinet nav>a[aria-current]{background:#fff1f2;color:#d00000}.h2b-buyer-help{background:#f4f5f6;padding:16px;border-radius:12px;margin-top:8px;font:400 13px/20px "Hub2B Cabinet Montserrat",Montserrat,Arial,sans-serif}.h2b-buyer-help p{margin:0 0 8px}.h2b-buyer-help>a{display:block;color:#6e747c;text-decoration:none;margin:4px 0}.h2b-buyer-cabinet a:focus-visible{outline:2px solid #235eaa;outline-offset:2px}.h2b-buyer-workspace .h2b-order-v2,.h2b-buyer-workspace .h2b-bo{max-width:none;margin:0;padding:0}
@media(max-width:1100px){.h2b-buyer-workspace{grid-template-columns:200px minmax(0,1fr);gap:16px}.h2b-buyer-cabinet{padding:20px 12px}.h2b-buyer-cabinet nav>a{font-size:13px;padding:10px}}
@media(max-width:1000px){.h2b-buyer-workspace{grid-template-columns:minmax(0,1fr)}.h2b-buyer-cabinet{padding:16px}.h2b-buyer-cabinet nav{display:flex;gap:8px;overflow-x:auto;overscroll-behavior-x:contain}.h2b-buyer-cabinet nav>h2,.h2b-buyer-help{display:none}.h2b-buyer-cabinet nav>a{white-space:nowrap;flex:none;min-height:44px}.h2b-buyer-cabinet nav>a[aria-current]{font-weight:600}}
@media(max-width:520px){.h2b-buyer-cabinet{padding:8px;border-radius:12px}}



.h2b-buyer-account{display:none}.h2b-buyer-account[hidden]{display:none!important}
@media(max-width:1000px){.h2b-buyer-account{display:block;width:100%;min-height:44px;border:0;border-bottom:1px solid #e4e7ec;border-radius:0;padding:8px 12px;margin:0 0 8px;background:none;color:#25262a;font:600 14px/20px "Hub2B Cabinet Montserrat",Montserrat,Arial,sans-serif;text-align:left;overflow:hidden;white-space:nowrap;text-overflow:ellipsis;cursor:pointer}.h2b-buyer-account:focus-visible{outline:2px solid #235eaa;outline-offset:2px}}

/* Customer profile uses the same form controls and cabinet layout as orders. */
.h2b-personal-profile{min-width:0;background:#fff;border-radius:16px;padding:32px;font:400 16px/1.5 "Hub2B Cabinet Montserrat",Montserrat,Arial,sans-serif;color:#25262a}
.h2b-personal-profile h1{font:600 28px/1.25 "Hub2B Cabinet Montserrat",Montserrat,Arial,sans-serif;margin:0 0 28px}
.h2b-personal-profile>form{max-width:560px;margin:0;min-width:0}
.h2b-personal-profile>p{margin:0 0 20px}
.h2b-personal-profile input,.h2b-personal-profile button{font-family:inherit}
.h2b-personal-profile input[type=file]{max-width:100%;font:400 14px/1.5 "Hub2B Cabinet Montserrat",Montserrat,Arial,sans-serif}
.h2b-profile-photo{display:flex;gap:16px;align-items:center;min-width:0}.h2b-profile-photo>label{min-width:0}.h2b-profile-photo img{border-radius:50%;object-fit:cover;flex:none}
.h2b-profile-password summary{cursor:pointer;min-height:44px;display:list-item;list-style:revert;color:#617381;padding:10px 0}.h2b-profile-password[open]>div{padding-top:12px}
.h2b-personal-profile :is(input,button,summary):focus-visible{outline:2px solid #25262a;outline-offset:3px}
@media(max-width:600px){.h2b-personal-profile{padding:24px 20px}.h2b-personal-profile h1{font-size:24px}.h2b-profile-photo{align-items:flex-start}}
