/* Unified login and navigation for team roles. Only applies to the new team permission panels. */
.tv2-wrap{display:grid;gap:16px;color:#1d2d45}
.tv2-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px}
.tv2-card{border:1px solid #dbe4f0;background:#fff;border-radius:14px;padding:20px;min-width:0;box-shadow:0 2px 12px #102d4908}
.tv2-card.wide{grid-column:1/-1}
.tv2-card h3{font-size:17px;font-weight:800;margin:0 0 9px;color:#17253b}
.tv2-card p,.tv2-muted{font-size:12px;color:#75849a;line-height:1.65;margin:0 0 10px}
.tv2-form{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:11px;align-items:end}
.tv2-form label{display:grid;gap:7px;font-size:12px;color:#41536f;font-weight:750}
.tv2-form label.full{grid-column:1/-1}
.tv2-form input,.tv2-form select,.tv2-search{font:inherit;width:100%;max-width:100%;background:#fff;border:1px solid #ccd8e7;border-radius:9px;padding:10px 11px;color:#233954}
.tv2-form input:focus,.tv2-form select:focus,.tv2-search:focus{outline:2px solid #b6cdf9;outline-offset:1px}
.tv2-btn{border:0;border-radius:9px;background:#2b5ef4;color:white;font-weight:750;padding:10px 15px;cursor:pointer;max-width:100%}
.tv2-btn:hover{background:#214dd1}.tv2-btn.ghost{background:#eaf1ff;color:#254b91}.tv2-btn.danger{background:#ffeded;color:#ad2b2b}.tv2-btn:disabled{opacity:.55;cursor:wait}
.tv2-row{display:flex;align-items:center;gap:9px;flex-wrap:wrap}
.tv2-note{background:#ecf5ff;border-radius:8px;padding:10px 14px;font-size:13px;color:#1e548a}.tv2-note.bad{color:#a82626;background:#fff0ef}
.tv2-table-wrap{width:100%;overflow:auto}.tv2-table{border-collapse:collapse;width:100%;font-size:12px;min-width:540px}.tv2-table td,.tv2-table th{text-align:left;padding:10px;border-bottom:1px solid #e6edf7;white-space:nowrap}.tv2-table th{color:#62748e;background:#f6f9ff}
.tv2-metrics{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px}.tv2-metric{background:#fff;border:1px solid #e1e9f4;border-radius:12px;padding:14px}.tv2-metric b{display:block;font-size:25px;font-weight:850;color:#214eb9}.tv2-metric span{display:block;font-size:12px;color:#6c7c90;margin-top:5px}
.tv2-bars{display:grid;gap:9px}.tv2-bar{display:grid;grid-template-columns:120px 1fr 50px;gap:9px;align-items:center;font-size:12px}.tv2-bar-meter{height:10px;background:#edf3fc;border-radius:50px;overflow:hidden}.tv2-bar-meter div{height:100%;background:#3568ef;border-radius:50px}.tv2-page-head{display:flex;justify-content:space-between;align-items:center;gap:10px;flex-wrap:wrap}
.tv2-form .tv2-btn{align-self:end}.tv2-footer{display:flex;gap:8px;justify-content:flex-end;padding-top:12px}
@media(max-width:860px){.tv2-grid{grid-template-columns:1fr}.tv2-card.wide{grid-column:auto}.tv2-metrics{grid-template-columns:repeat(2,minmax(0,1fr))}}@media(max-width:480px){.tv2-form{grid-template-columns:1fr}.tv2-form label.full{grid-column:auto}.tv2-bar{grid-template-columns:80px 1fr 35px}.tv2-metrics{grid-template-columns:1fr 1fr}.tv2-card{padding:15px}}

/* TEAM_ROLES_STYLE_V3 */
.tv2-wrap .tv2-btn{display:inline-flex;align-items:center;justify-content:center;width:auto;max-width:100%;min-height:40px;padding:9px 17px;border-radius:9px;font-size:14px;line-height:1.35;white-space:nowrap;background:#2563eb;color:#fff;font-weight:650;box-shadow:0 2px 6px #102d4912}.tv2-wrap .tv2-btn:hover{background:#1d4ed8}.tv2-wrap .tv2-btn.ghost{background:#eaf1ff;color:#254b91;box-shadow:none}.tv2-wrap .tv2-btn.danger{background:#ffeded;color:#ad2b2b;box-shadow:none}.tv2-wrap .tv2-form>.tv2-btn{grid-column:1/-1;justify-self:start}.tv2-wrap .tv2-card{box-shadow:0 1px 4px #102d4910}.tv2-wrap .tv2-row{gap:8px}.tv2-wrap .tv2-row .tv2-btn{white-space:nowrap}
@media(max-width:520px){.tv2-wrap .tv2-form>.tv2-btn{white-space:normal}}


/* DEDUP_UX_V4 */
.tv3-admin .tv3-tabs{display:flex;gap:8px;border-bottom:1px solid #dce4ee;margin:10px 0 22px;padding-bottom:10px;flex-wrap:wrap}
.tv3-admin .tv3-tab{border:1px solid #d7e0ed;background:#fff;border-radius:9px;padding:10px 18px;color:#536684;cursor:pointer;font-weight:650}
.tv3-admin .tv3-tab.active{background:#2563eb;color:white;border-color:#2563eb}
.tv3-admin .tv3-admin-content{max-width:1120px;margin:0 auto}
.tv3-admin .tv3-create-card{max-width:860px;margin:0 auto 18px}
.tv3-admin .tv3-description,.tv3-security .tv3-description{color:#74849a;font-size:13px;line-height:1.65;margin:3px 0 18px}
.tv3-admin .tv3-create-form{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px}
.tv3-admin .tv3-create-form label.full{grid-column:1/-1}
.tv3-admin .tv3-create-form>.tv2-btn{width:100%;max-width:none;grid-column:1/-1;margin-top:3px;min-height:43px}
.tv3-admin .tv3-list-card{margin:0 auto}
.tv3-admin .tv3-list-head{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:8px}
.tv3-admin .tv3-list-head h3{margin:0}
.tv3-admin .tv3-empty{padding:30px 12px;text-align:center;color:#8290a5;font-size:14px}
.tv3-admin .tv3-actions{flex-wrap:nowrap}
.tv3-admin .tv3-actions .tv2-btn{padding:7px 12px;min-height:34px;font-size:12px}
.tv3-admin .tv3-assign-form{background:#f6f9ff;border:1px solid #dbe5f3;border-radius:12px;padding:18px;margin-top:16px}
.tv3-admin .tv3-assign-form h4{margin:0 0 13px;color:#213953}
.tv3-admin .tv3-assign-actions{grid-column:1/-1;display:flex;gap:9px;flex-wrap:wrap}
.tv3-admin .tv3-legacy-employees>.two-col{grid-template-columns:1fr}
.tv3-admin .tv3-legacy-employees>.two-col>section.panel:first-child{display:none}
.tv3-security{max-width:580px;width:calc(100% - 32px);margin:40px auto 48px}
.tv3-security .tv3-security-title{text-align:center;margin:0 0 23px}
.tv3-security .tv3-security-title h2{font-size:23px;color:#17253b;margin:0 0 7px}
.tv3-security .tv3-security-title p{color:#8190a5;font-size:13px;margin:0}
.tv3-security .tv3-security-card{padding:28px 30px}
.tv3-security .tv3-security-form{display:grid;grid-template-columns:1fr;gap:16px}
.tv3-security .tv3-security-form label{display:grid;gap:7px;font-size:13px;color:#41536f;font-weight:650}
.tv3-security .tv3-security-form input{width:100%;min-height:44px;padding:10px 12px;border:1px solid #ccd8e7;border-radius:9px;background:white;color:#233954;font:inherit;box-sizing:border-box}
.tv3-security .tv3-security-form input:focus{outline:2px solid #93b4ff;outline-offset:1px}
.tv3-security .tv3-security-form .tv2-btn{display:inline-flex;align-items:center;justify-content:center;width:100%;max-width:none;min-height:44px;border:0;border-radius:9px;background:#2563eb;color:#fff;font-size:14px;font-weight:700;cursor:pointer}
.tv3-security .tv3-security-form .tv2-btn:disabled{opacity:.55;cursor:wait}
@media(max-width:700px){.tv3-admin .tv3-create-form{grid-template-columns:1fr}.tv3-admin .tv3-create-form label.full{grid-column:auto}.tv3-security{width:calc(100% - 20px);margin:16px auto 35px}.tv3-security .tv3-security-card{padding:20px 16px}.tv3-admin .tv3-actions{flex-wrap:wrap}}
