.topbar{position:sticky;top:0;z-index:30;flex-wrap:wrap;gap:12px;background:#fff;height:auto!important;min-height:68px;padding:10px 20px}
.firm-identity{display:flex;align-items:center;gap:10px;min-width:0;max-width:100%;flex:1 1 230px}
.firm-identity img,.firm-initials{width:48px;height:48px;flex-shrink:0;object-fit:contain;border-radius:8px;background:#f3f6fa}
.firm-initials{display:grid;place-items:center;font-weight:700;color:#315e85}
.firm-identity>div{min-width:0}.firm-identity small,.firm-identity strong,.firm-identity span:not(.firm-initials){display:block;overflow-wrap:anywhere}
.firm-identity small{font-size:10px;letter-spacing:1px;color:#60728e}.firm-identity strong{font-size:16px;line-height:1.3}.firm-identity span:not(.firm-initials){font-size:11px;color:#60728e}
.topbar .account{flex-wrap:wrap;min-width:0}.topbar .account select{max-width:240px;width:100%;min-width:0}
.form-firm-context{grid-column:1/-1;margin:0 0 12px;padding:10px;background:#edf3f8;border-radius:8px;overflow-wrap:anywhere}
.workspace strong{overflow-wrap:anywhere}.context-error{max-width:650px;padding:32px;margin:auto}#firm-logo-form{padding:22px}
@media(max-width:1000px){.topbar .firm-identity{order:-1;flex-basis:100%}.topbar .crumb{display:none}.topbar .account{flex:1;justify-content:flex-end}.topbar .account>span{display:none}.topbar .account select{max-width:170px}.topbar{padding:10px 14px!important}.firm-identity img,.firm-initials{width:36px;height:36px}}

.platform-firm-preview{display:block;max-width:180px;max-height:110px;object-fit:contain;margin:16px 0}
