.team80-dialog{width:min(1180px,94vw);max-height:90dvh;border:1px solid #e6ebf2;border-radius:20px;padding:0;background:var(--card,#fff);color:var(--text,#0b1f3a);box-shadow:0 24px 80px #0b1f3a30}.team80-dialog::backdrop{background:#0b1f3a66;backdrop-filter:blur(3px)}.team80-dialog>header{display:flex;align-items:center;justify-content:space-between;padding:22px 28px;border-bottom:1px solid #e6ebf2;position:sticky;top:0;background:inherit;z-index:2}.team80-dialog h2{margin:4px 0;font-size:25px}.team80-dialog small{color:#66758c}.team80-body{padding:24px 28px}.team80-error{padding:0 28px;color:#d9343a;white-space:pre-wrap}.team80-toolbar,.team80-actions,.team80-tabs,.team80-person{display:flex;gap:12px;align-items:center;flex-wrap:wrap}.team80-toolbar{justify-content:space-between;margin-bottom:18px}.team80-toolbar label{flex:1;max-width:650px}.team80-tabs{margin-bottom:24px}.team80-card{border:1px solid #e6ebf2;background:var(--card,#fff);border-radius:16px;padding:20px;margin-bottom:16px;box-shadow:0 5px 20px #102a4305}.team80-card h3,.team80-card h4{margin:0 0 12px}.team80-card p{line-height:1.6;white-space:pre-wrap;overflow-wrap:anywhere}.team80-stats{display:grid;grid-template-columns:repeat(4,1fr);gap:16px}.team80-stats strong{display:block;font-size:34px;margin-top:8px}.team80-progress{height:8px;background:#eaf2ff;border-radius:10px;overflow:hidden}.team80-progress i{display:block;height:100%;background:#18a66a;transition:width .2s}.team80-field{display:block;margin:12px 0;font-weight:600}.team80-dialog input,.team80-dialog select,.team80-dialog textarea{display:block;width:100%;min-height:44px;border:1px solid #dce4ef;border-radius:10px;padding:10px 12px;background:var(--card,#fff);color:inherit;margin-top:7px;box-sizing:border-box;font:inherit}.team80-dialog textarea{min-height:90px;resize:vertical}.team80-dialog input:focus,.team80-dialog select:focus,.team80-dialog textarea:focus{outline:2px solid #146ef5;outline-offset:1px}.team80-form-row{display:grid;grid-template-columns:2fr 1fr 1fr;gap:15px}.team80-board{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:18px}.team80-board>section{background:#f7f9fc;border-radius:16px;padding:16px}.team80-board h3{font-size:16px}.team80-board .team80-card{padding:16px}.team80-danger{color:#d9343a!important}.team80-empty{padding:25px;text-align:center;color:#66758c}.team80-chat-head{display:flex;align-items:center;justify-content:space-between;gap:12px;color:#66758c}.team80-chat-head input{width:auto}#team80-messages{height:340px;overflow:auto;padding:12px 0;overscroll-behavior:contain}.team80-message{background:#f1f5fa;border-radius:14px;padding:14px 18px;margin:10px 10% 10px 0;overflow-wrap:anywhere}.team80-message.own{background:#eaf2ff;margin:10px 0 10px 10%}.team80-message time{font-size:11px;color:#66758c;display:block;margin-top:4px}.team80-message p{white-space:pre-wrap;line-height:1.5}.team80-members{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px}.team80-person img{width:44px;height:44px;object-fit:cover;border-radius:50%}.team80-person p{margin:4px 0;font-size:13px}.team80-profile{max-width:520px;margin:auto}.team80-large-avatar{width:110px;height:110px;border-radius:50%;background:#eaf2ff;display:grid;place-items:center;overflow:hidden;font-size:42px;color:#146ef5}.team80-large-avatar img{width:100%;height:100%;object-fit:cover}.team80-photo{background-size:cover!important;background-position:center!important;font-size:0!important;color:transparent!important}.team80-unread{border-left:4px solid #146ef5}.team80-delete-study{margin-top:14px;position:relative;z-index:1}body.dark .team80-card,body.dark .team80-dialog,body.dark .team80-dialog input,body.dark .team80-dialog select,body.dark .team80-dialog textarea{background:#152338;color:#eef4fc}body.dark .team80-board>section,body.dark .team80-message{background:#1d304a}body.dark .team80-message.own{background:#193962}@media(max-width:760px){.team80-dialog{width:96vw;max-height:94dvh;border-radius:14px}.team80-dialog>header{padding:16px}.team80-dialog h2{font-size:20px}.team80-body{padding:16px}.team80-stats{grid-template-columns:repeat(2,1fr);gap:10px}.team80-board,.team80-members,.team80-form-row{grid-template-columns:1fr}.team80-tabs{flex-wrap:nowrap;overflow:auto;gap:8px}.team80-tabs button{white-space:nowrap;flex:none}.team80-chat-head{align-items:flex-start;flex-direction:column}.team80-person{overflow-wrap:anywhere}.team80-error{padding:0 16px}.team80-dialog .btn{min-height:44px}}
.team80-person-kpi{display:flex;gap:14px;justify-content:space-between;align-items:center;padding:14px 0;border-bottom:1px solid #e6ebf2;flex-wrap:wrap}.team80-person-kpi:last-child{border:0}.team80-person-kpi span{color:#66758c;font-size:13px}
.team80-dialog{--card:var(--p-surface,#fff);--text:var(--p-text,#0b1f3a)}html[data-theme=dark] .team80-board>section,html[data-theme=dark] .team80-message{background:#1d304a}html[data-theme=dark] .team80-message.own{background:#193962}html[data-theme=dark] .team80-card,html[data-theme=dark] .team80-dialog,html[data-theme=dark] .team80-dialog input,html[data-theme=dark] .team80-dialog select,html[data-theme=dark] .team80-dialog textarea{border-color:#2c3b50}
