/* Final release hardening for mobile overflow and visible brand descriptor. */
html,body{max-width:100%;overflow-x:hidden;overflow-x:clip}
body{overflow-y:visible}
.brand-copy small{display:block!important;max-width:180px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:10px;line-height:1.15;opacity:.68}

.site-header{max-width:100%;min-width:0;position:sticky!important;top:0!important;z-index:2000!important;background:#fff}
.site-header>*{min-width:0}
.header-actions{min-width:0}
.site-header .rm-global-signout{white-space:nowrap}

/* Sign out belongs in the global header, not inside individual workspace toolbars. */
.workspace-toolbar [data-signout]{display:none!important}

/* Required-field language is consistent across onboarding forms. */
.required-mark{color:var(--rm-accent,#ff4d2e);font-weight:900}
.seller-required-note{margin:12px 0 18px;color:#64708a;font-size:11px;font-weight:700}

.workspace-shell,.workspace-record,.workspace-card,.workspace-grid,.workspace-record-body,.workspace-record-content,.workspace-record-actions,.procurement-request-card,.procurement-grid{min-width:0;max-width:100%}
.workspace-record *,.workspace-card *{min-width:0;box-sizing:border-box}
.workspace-record,.workspace-card{overflow-wrap:anywhere;word-break:normal}

.release-language-picker{max-width:1180px;margin:18px auto 0;padding:0 20px;display:flex;justify-content:flex-end;box-sizing:border-box}
.release-language-picker select{min-height:38px;border:1px solid rgba(32,32,32,.18);border-radius:9px;background:#fff;padding:0 10px;font:inherit;color:inherit}

@media (max-width:600px){
  .site-header{width:100%;padding-left:8px!important;padding-right:8px!important;gap:5px!important;justify-content:space-between}
  .site-header .brand{min-width:0!important;max-width:106px!important;flex:0 1 106px!important;overflow:hidden}
  .site-header .brand-symbol{flex:0 0 27px}
  .site-header .brand-copy{min-width:0;overflow:hidden}
  .site-header .brand-copy b{white-space:nowrap;font-size:15px!important}
  .site-header .brand-copy small{display:none!important}
  .site-header .header-actions{display:flex!important;min-width:0;max-width:none!important;flex:0 1 auto;gap:4px!important;margin-left:auto!important;overflow:visible!important;justify-content:flex-end!important}
  .site-header .header-action,.site-header .account-logout{padding:9px 6px!important;font-size:10.5px!important;white-space:nowrap!important;max-width:none!important;min-width:max-content!important;width:auto!important;overflow:visible!important;text-overflow:clip!important;flex:0 0 auto!important}
  .site-header .rm-account-back,.site-header .rm-signin-link{display:inline-flex!important;align-items:center;max-width:none!important;min-width:max-content!important;overflow:visible!important;text-overflow:clip!important;white-space:nowrap!important;font-size:10.5px!important;font-weight:750;flex:0 0 auto!important}
  .site-header.rm-account-signed:not(.rm-account-home):not(.rm-account-hub) .header-action{display:none!important}
  .site-header .rm-global-signout{max-width:none!important;min-width:max-content!important;flex:0 0 auto!important}
  .site-header .language-picker select{width:38px!important;min-width:38px!important;padding-left:5px!important;padding-right:13px!important}

  .workspace-shell{width:100%;max-width:100%;padding-left:14px;padding-right:14px;box-sizing:border-box;overflow-x:clip}
  .workspace-record,.workspace-card,.workspace-grid,.workspace-record-body,.workspace-record-content{width:100%;max-width:100%;box-sizing:border-box;overflow-x:clip}
  .workspace-record *,.workspace-card *{max-width:100%}
  .workspace-record-head,.workspace-offer-top,.workspace-section-head{max-width:100%;flex-wrap:wrap}
  .workspace-record-actions,.procurement-actions{display:flex;flex-wrap:wrap;gap:8px;max-width:100%}
  .workspace-record-actions>* ,.procurement-actions>*{max-width:100%}
  .workspace-record table,.workspace-card table{display:block;max-width:100%;overflow-x:auto}
  .workspace-record pre,.workspace-card pre{max-width:100%;overflow-x:auto}
  .workspace-record a,.workspace-card a{overflow-wrap:anywhere;word-break:break-word}
  .workspace-offer-details,.workspace-meta{max-width:100%;grid-template-columns:minmax(0,1fr)}
  .release-language-picker{padding:0 14px;margin-top:12px}
}

@media (max-width:360px){
  .site-header .brand{max-width:32px!important;flex:0 0 32px!important}
  .site-header .brand-copy{display:none!important}
}
