/* Tenancylink 6.3: stronger hierarchy and readable working surfaces. */
.tl4-body{--blue:#175bc1;--ink:#142b42;--navy:#142b42;--muted:#465d70;--border:#ccd8e2;--line:#ccd8e2;--bg:#edf2f6;color:var(--ink);background:var(--bg);font-size:15px;-webkit-font-smoothing:antialiased}
.tl4-shell .tl4-sidebar{background:#102c45;border-right:0;color:#fff}
.tl4-shell .brand,.tl4-shell .brand b,.tl4-shell .person strong{color:#fff}
.tl4-shell .brand-icon{background:#76c9f2;color:#102c45;transform:none;border-radius:12px}
.tl4-shell .nav-label{color:#b4cbdc;font-weight:750;letter-spacing:1.1px}
.tl4-shell .nav a{color:#d8e6f1;font-size:14px;font-weight:600;border-radius:10px;padding:13px 12px}
.tl4-shell .nav a:hover{background:#21435e;color:#fff}
.tl4-shell .nav a.active{background:#d8efff;color:#102c45;box-shadow:inset 4px 0 #50b5ed;font-weight:750}
.tl4-shell .person small,.tl4-shell .tl4-signout{color:#c4d7e6}
.tl4-shell .side-note{background:#1c3b55;color:#d2e2ee;border:1px solid #39566e}
.tl4-shell .side-note strong{color:#fff}
.tl4-shell .tl4-topbar{border-bottom:1px solid #ccd8e2;height:74px}
.tl4-shell h1{font-size:clamp(27px,2.6vw,36px);font-weight:800;letter-spacing:-1.1px;color:#102c45}
.tl4-shell h2,.tl4-shell h3,.tl4-shell .case-title h2{color:#142b42;font-weight:750}
.tl4-shell .muted,.tl4-shell .meta,.tl4-shell .crumb,.tl4-shell .eyebrow,.tl4-shell .details small,.tl4-shell .role-strip small,.tl4-shell .quote-note,.tl4-shell .quote-total small,.tl4-shell .event small,.tl4-shell .person small,.tl4-shell .tl4-footer{color:#465d70}
.tl4-shell .tl4-sidebar .person small{color:#c4d7e6}
.tl4-shell .panel{border:1px solid #ccd8e2;border-radius:16px;box-shadow:0 5px 20px #102c4506;padding:25px}
.tl4-shell .panel p,.tl4-shell .issue,.tl4-shell .action-box p{font-size:14px;line-height:1.75;color:#344e63}
.tl4-shell .primary,.tl4-shell .button:not(.secondary){background:#175bc1;color:#fff;border-color:#175bc1;font-weight:750;min-height:44px;border-radius:10px}
.tl4-shell .secondary{background:#fff;color:#163e60;border-color:#b5c8d9;min-height:44px;font-weight:700;border-radius:10px}
.tl4-shell input,.tl4-shell select,.tl4-shell textarea{color:#142b42;background:#fff;border-color:#a9bdcd;font-size:15px}
.tl4-shell input::placeholder,.tl4-shell textarea::placeholder{color:#52697b;opacity:1}
.tl4-shell label{color:#29465c;font-weight:650}
.tl4-shell .agent-metric,.tl4-shell .tl5-metric{border-radius:14px;border-color:#ccd8e2;border-top:4px solid #175bc1;box-shadow:none}
.tl4-shell .agent-metric small{color:#465d70;font-size:14px}
.tl4-shell .agent-table th{background:#e4edf4;color:#29465c;font-size:12px;font-weight:750}
.tl4-shell .agent-table td{padding-top:21px;padding-bottom:21px}
.tl4-shell .agent-table tbody tr:hover{background:#f1f7fc}
.tl4-shell .tl7-job-header{background:#fff;border:1px solid #ccd8e2;border-top:4px solid #175bc1;border-radius:16px;padding:24px}
.tl4-shell .tl7-conversation-head{background:#f0f5fa;border-bottom:1px solid #ccd8e2;padding:20px;border-radius:14px 14px 0 0}
.tl4-shell .tl7-message{color:#142b42;border-color:#cad9e4;border-radius:4px 15px 15px 15px;background:#f0f4f8;line-height:1.75}
.tl4-shell .tl7-message.tl7-mine{background:#e4efff;border-color:#b8d0ef;border-radius:15px 4px 15px 15px}
.tl4-shell .tl7-message-label,.tl4-shell .tl7-original-label,.tl4-shell .tl9-source,.tl4-shell .tl7-message small,.tl4-shell .tl7-message time{color:#465d70;font-size:12px}
.tl4-shell .tl9-assistant{border-left:3px solid #175bc1;background:#f0f6ff;border-radius:4px 14px 14px 14px}
.tl4-shell .tl7-next{border:1px solid #b5d0e8;border-top:4px solid #175bc1;background:#f0f6fd;border-radius:14px}
.tl4-shell .badge,.tl4-shell .tag{font-weight:700}
.tl4-shell .badge.neutral,.tl4-shell .tag.neutral{background:#e6edf3;color:#354e62}
.tl4-shell .badge.green,.tl4-shell .tag.green{background:#e3f3eb;color:#205e45}
.tl4-shell .badge.amber,.tl4-shell .tag.amber{background:#fff1cd;color:#755006}
.tl4-shell .badge.red,.tl4-shell .tag.red{background:#fce7e7;color:#9a2939}
.tl4-shell a:focus-visible,.tl4-shell button:focus-visible,.tl4-shell input:focus-visible,.tl4-shell textarea:focus-visible,.tl4-shell select:focus-visible{outline:3px solid #175bc1;outline-offset:3px}
.tl4-shell .tl4-sidebar a:focus-visible{outline-color:#a5dcff}
@media(max-width:760px){.tl4-shell .panel{padding:18px;border-radius:12px}.tl4-shell .tl7-job-header{padding:18px}.tl4-shell .tl4-topbar{height:auto;min-height:64px}.tl4-shell .tl7-message{font-size:15px}}
@media print{.tl4-shell .panel,.tl4-shell .tl7-job-header{box-shadow:none}.tl4-shell{background:#fff;color:#000}}

.tl-attendees{border:1px solid #b8ccdc;padding:16px;border-radius:12px;margin:16px 0}.tl-attendees legend{font-size:15px;font-weight:750;color:#142b42}.tl-attendee-choice{display:flex;justify-content:space-between;flex-wrap:wrap;gap:10px;padding:10px 0;border-bottom:1px solid #dce6ef}.tl-attendee-choice input[type=checkbox]{width:18px;min-height:18px;height:18px;accent-color:#175bc1}.tl-attendee-status{padding:12px 20px;background:#edf4fb;border-radius:9px;color:#29465c;line-height:1.9}
