* { box-sizing: border-box; }
body.b2b-page { margin: 0; background: #f5f7fa; color: #18212f; font: 16px/1.5 Arial, sans-serif; }
.b2b-brand { padding: 24px 20px 12px; text-align: center; }
.b2b-brand img { width: 108px; height: auto; }
.b2b-shell { max-width: 460px; margin: 0 auto; padding: 12px 16px 36px; }
.b2b-card, .auth-card { background: #fff; border: 1px solid #e2e8f0; border-radius: 18px; padding: 28px; box-shadow: 0 12px 35px #15233709; }
.b2b-card h1, .auth-card h1 { margin: 0 0 24px; text-align: center; font-size: 26px; line-height: 1.3; }
.b2b-form, .auth-form { display: grid; gap: 18px; }
.b2b-form label:not(.b2b-upload), .auth-form label { display: grid; gap: 7px; font-weight: 600; }
.b2b-form input[type=text], .b2b-form input[type=tel], .b2b-form textarea, .auth-form input { width: 100%; min-width: 0; border: 1px solid #cbd5e1; border-radius: 10px; padding: 12px 14px; color: inherit; background: #fff; font: inherit; }
.b2b-form textarea { resize: vertical; min-height: 145px; }
.b2b-form textarea::placeholder { color: #697586; opacity: 1; }
.b2b-button, .auth-submit, .auth-card-footer a { display: flex; align-items: center; justify-content: center; gap: 9px; min-height: 48px; width: 100%; border: 1px solid #cbd5e1; border-radius: 10px; padding: 11px 16px; background: #fff; color: #243b53; text-decoration: none; font: inherit; font-weight: 600; cursor: pointer; }
.b2b-button svg { width: 21px; height: 21px; }
.b2b-login { color: #225caf; border-color: #b8d0f2; background: #f3f8ff; }
.b2b-submit, .auth-submit { background: #2463a7; color: #fff; border-color: #2463a7; }
.b2b-divider { display: flex; align-items: center; gap: 14px; color: #788596; font-size: 14px; text-align: center; margin: 20px 0; }
.b2b-divider::before, .b2b-divider::after { content: ''; flex: 1; height: 1px; background: #e7ebf0; }
.b2b-form .b2b-divider { margin: 0; }
.b2b-visually-hidden { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); }
.b2b-upload:focus-within, .b2b-page :focus-visible { outline: 3px solid #83b2f5; outline-offset: 3px; }
.b2b-file-choice { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; font-size: 14px; }
.b2b-file-choice [data-file-name] { overflow-wrap: anywhere; flex: 1; min-width: 0; }
.b2b-file-choice button { border: 0; padding: 5px; background: transparent; color: #2463a7; cursor: pointer; font: inherit; }
.error-box { padding: 12px; margin: 0 0 20px; background: #fff2f2; color: #9d2323; border: 1px solid #f2c8c8; border-radius: 10px; }
.error-box p { margin: 4px 0; overflow-wrap: anywhere; }
.b2b-thanks p, .auth-card-header p { text-align: center; margin-bottom: 24px; color: #5b687a; }
.auth-card-footer { margin-top: 24px; }
[hidden] { display: none !important; }
@media (max-width: 480px) { .b2b-shell { padding: 8px 12px 28px; } .b2b-card, .auth-card { padding: 24px 20px; } }

.b2b-switch { margin-top: 22px; text-align: center; }
.b2b-switch button { border: 0; padding: 5px; color: #526b86; background: none; font: inherit; font-size: 14px; text-decoration: underline; cursor: pointer; }
.b2b-card h1 { overflow-wrap: anywhere; }
