.brand-core{background:transparent;border:0;border-radius:0;box-shadow:none;transform:none}
.brand-core img{width:148px;height:148px;transform:none;filter:drop-shadow(0 12px 20px #03162355)}
.team-badge{--team-color:#64748b;display:inline-flex;align-items:center;gap:6px;border:1px solid #d6e3e9;background:#f7fafb;color:#193c4e;border-radius:20px;padding:4px 9px;font:600 11px/1.4 system-ui;max-width:100%;overflow-wrap:anywhere}
.team-badge:before{content:'';width:8px;height:8px;border-radius:50%;background:var(--team-color);flex-shrink:0}
.user-identity>.team-badge{width:fit-content;margin-top:6px}
.user-teams{display:flex;align-items:center;flex-wrap:wrap;gap:7px;margin:12px 0 0}
.team-toolbar,.team-dialog-actions{display:flex;align-items:center;flex-wrap:wrap;gap:10px}.team-toolbar p{flex:1;min-width:200px}
.teams-content{padding:22px}.team-list{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px}
.team-card{border:1px solid #d6e3e9;border-top:3px solid var(--team-color);border-radius:12px;padding:18px;display:flex;align-items:flex-start;justify-content:space-between;gap:12px;background:white}
.team-card p{overflow-wrap:anywhere;font-size:13px;color:#536f7d}.team-card small{color:#536f7d}
.team-filter{display:flex;gap:12px;align-items:center;margin:12px 0}.team-filter select{max-width:360px;flex:1}
.team-editor{border:1px solid #d6e3e9;border-radius:12px;padding:16px;margin:16px 0;min-width:0}
.team-editor legend{font-size:13px;font-weight:700;padding:0 7px}.team-editor>label,.team-form>label{display:grid;gap:7px;margin:10px 0}
.team-editor small{display:block;margin:10px 0;color:#526e7d}.team-checks{display:flex;flex-wrap:wrap;gap:10px 20px}.team-checks label,.team-active{display:flex!important;align-items:center;gap:8px!important}.team-checks input,.team-active input{width:auto!important}
.teams-dialog{width:min(560px,calc(100% - 32px));max-height:85vh;overflow:auto;border:1px solid #c9dce4;border-radius:18px;padding:26px;color:#173849;background:#fff;box-sizing:border-box}.teams-dialog::backdrop{background:#08263788;backdrop-filter:blur(3px)}
.team-form input,.team-form textarea,.teams-dialog select{box-sizing:border-box;width:100%;padding:10px;border:1px solid #bfd1db;border-radius:7px;font:inherit}.team-form input[type=color]{width:80px;height:44px}.team-form textarea{min-height:80px;resize:vertical}.team-dialog-actions{justify-content:flex-end;margin-top:20px}
.team-feedback{font-size:13px;color:#3c6574;min-height:20px}.team-feedback.is-error{color:#a12222}.team-create-editor{background:#f8fbfc}.user-actions{flex-wrap:wrap}
@media(max-width:800px){.team-list{grid-template-columns:1fr}.team-filter{align-items:stretch;flex-direction:column}.team-filter select{max-width:100%}.team-card{padding:14px}}

.team-editor select,.team-filter select{box-sizing:border-box;min-height:42px;padding:10px 12px;border:1px solid #bfd1db;border-radius:8px;background:#fff;color:#173849;font:inherit}.team-editor>label{max-width:480px}.teams-dialog button{padding:10px 16px;background:#185368;color:white;border:1px solid #185368;border-radius:8px;font-weight:600;cursor:pointer}.teams-dialog button.secondary{background:white;color:#185368}.teams-dialog button:disabled{opacity:.55;cursor:wait}
