.main-content.tr-active > :not(.topbar):not(#sls-team-rights):not(footer) { display:none!important; }
.tr-nav-item > svg { flex:0 0 20px; color:#92949e; }
.tr-nav-item:hover > svg,.tr-nav-item.active > svg { color:#ff526c; }
.tr-page { --tr-red:#f02b48; --tr-panel:#14151c; --tr-soft:#0d0e13; --tr-border:#ffffff13; --tr-muted:#92949e; display:grid; gap:20px; width:100%; max-width:1680px; margin:0 auto; color:#f7f5f7; }
.tr-page *,.tr-page *::before,.tr-page *::after { box-sizing:border-box; }
.tr-page button,.tr-page input,.tr-page select,.tr-page textarea { font:inherit; }
.tr-hero { position:relative; display:flex; min-height:220px; align-items:flex-end; justify-content:space-between; gap:28px; overflow:hidden; padding:34px 38px; border:1px solid var(--tr-border); border-radius:21px; background:radial-gradient(circle at 90% 5%,#ed29484a,transparent 38%),linear-gradient(122deg,#191a22f7,#101117f7); box-shadow:0 22px 64px #00000035; }
.tr-hero::after { position:absolute; inset:0; opacity:.14; background-image:linear-gradient(#ffffff0d 1px,transparent 1px),linear-gradient(90deg,#ffffff0d 1px,transparent 1px); background-size:36px 36px; content:""; pointer-events:none; }
.tr-hero > * { position:relative; z-index:1; }
.tr-hero > div:first-child { max-width:940px; }
.tr-hero span,.tr-section-head > div > span { color:#ff526c; font-size:11px; font-weight:900; letter-spacing:.16em; }
.tr-hero h2 { margin:9px 0 10px; font-size:clamp(32px,3.5vw,52px); line-height:1.02; letter-spacing:-.045em; }
.tr-hero p,.tr-section-head p { margin:0; color:var(--tr-muted); font-size:13px; line-height:1.65; }
.tr-hero-score { display:grid; min-width:230px; padding:21px; border:1px solid #ff496338; border-radius:16px; background:#280f17b5; }
.tr-hero-score small { color:#ff8a9c; font-size:11px; font-weight:850; letter-spacing:.08em; text-transform:uppercase; }
.tr-hero-score strong { margin:4px 0 0; font-size:42px; line-height:1; }
.tr-hero-score span { margin-top:6px; color:#c3bdc2; font-size:12px; letter-spacing:0; }
.tr-panel { border:1px solid var(--tr-border); border-radius:18px; background:var(--tr-panel); box-shadow:0 16px 46px #00000022; }
.tr-section-head { display:flex; align-items:center; justify-content:space-between; gap:20px; padding:23px 25px; border-bottom:1px solid #ffffff0d; }
.tr-section-head h3 { margin:5px 0; font-size:22px; }
.tr-badge { display:inline-flex; align-items:center; width:max-content; padding:7px 10px; border:1px solid #474956; border-radius:999px; background:#20222a; color:#aaaeb7; font-size:10px; font-weight:850; }
.tr-badge.ok { border-color:#2abf7857; background:#123124; color:#75e4ad; }
.tr-badge.error { border-color:#f0526860; background:#34141b; color:#ff8da0; }
.tr-settings { display:grid; grid-template-columns:180px minmax(220px,1fr) minmax(220px,1fr); gap:15px; padding:22px 25px; }
.tr-settings label > span { display:block; margin-bottom:7px; color:#adaeb7; font-size:11px; font-weight:800; }
.tr-settings input,.tr-settings select,.tr-settings textarea { width:100%; min-height:43px; padding:10px 12px; border:1px solid #30323c; border-radius:10px; outline:none; background:#0d0e13; color:#f7f6f8; }
.tr-settings input:focus,.tr-settings select:focus,.tr-settings textarea:focus { border-color:var(--tr-red); box-shadow:0 0 0 3px #f02b4818; }
.tr-settings .wide { grid-column:1/-1; }
.tr-toggle { display:flex; align-items:center; gap:10px; align-self:end; min-height:43px; padding:0 12px; border:1px solid #30323c; border-radius:10px; background:#0d0e13; cursor:pointer; }
.tr-toggle input { position:absolute; opacity:0; pointer-events:none; }
.tr-toggle i { width:30px; height:18px; border-radius:999px; background:#3a3c46; box-shadow:inset 0 0 0 1px #ffffff14; }
.tr-toggle i::after { display:block; width:14px; height:14px; margin:2px; border-radius:50%; background:#979aa5; content:""; transition:.16s; }
.tr-toggle input:checked + i { background:#c91f3e; }
.tr-toggle input:checked + i::after { transform:translateX(12px); background:#ff6a82; }
.tr-toggle span { margin:0!important; color:#eee!important; }
.tr-actions { grid-column:1/-1; display:flex; justify-content:flex-end; gap:10px; }
.tr-button { min-height:42px; padding:0 16px; border:1px solid #343641; border-radius:10px; background:#191a22; color:#f7f5f7; font-weight:800; cursor:pointer; }
.tr-button.primary { border-color:var(--tr-red); background:linear-gradient(135deg,#f63250,#d81438); }
.tr-button:disabled { opacity:.55; cursor:default; }
.tr-publication { display:flex; justify-content:space-between; gap:20px; padding:15px 25px; border-top:1px solid #ffffff0d; background:#101117; }
.tr-publication span { color:#858792; font-size:11px; }
.tr-order-toolbar { display:flex; align-items:center; justify-content:space-between; gap:18px; padding:14px 18px; border-bottom:1px solid #ffffff0d; background:#101117; }
.tr-order-toolbar > span { color:#a4a6af; font-size:11px; }
.tr-members { display:grid; gap:9px; padding:13px; }
.tr-member-card { position:relative; display:grid; grid-template-columns:24px 48px minmax(220px,1fr) minmax(220px,1fr) auto; align-items:center; gap:14px; min-height:76px; padding:13px 16px; border:1px solid #2c2e38; border-radius:14px; background:#101117; transition:border-color .15s,background .15s,opacity .15s,transform .15s; }
.tr-member-card[draggable="true"] { cursor:grab; }
.tr-member-card[draggable="true"]:active { cursor:grabbing; }
.tr-member-card.dragging { opacity:.42; }
.tr-member-card.drop-before::before,.tr-member-card.drop-after::after { position:absolute; right:10px; left:10px; height:3px; border-radius:999px; background:#ff4966; box-shadow:0 0 16px #ff496699; content:""; }
.tr-member-card.drop-before::before { top:-6px; }
.tr-member-card.drop-after::after { bottom:-6px; }
.tr-drag { color:#6f717c; font-size:21px; font-weight:900; letter-spacing:-5px; user-select:none; }
.tr-avatar { display:grid; place-items:center; width:44px; height:44px; overflow:hidden; border:1px solid #ffffff16; border-radius:50%; background:linear-gradient(145deg,#3a121d,#181921); color:#ff758b; font-weight:900; }
.tr-avatar img { width:100%; height:100%; object-fit:cover; }
.tr-person strong,.tr-person small { display:block; }
.tr-person small { margin-top:4px; color:#81838e; font-size:10px; }
.tr-role-list { display:flex; flex-wrap:wrap; justify-content:flex-end; gap:7px; }
.tr-team-role { padding:6px 9px; border:1px solid color-mix(in srgb,var(--role-color) 45%,transparent); border-radius:999px; background:color-mix(in srgb,var(--role-color) 17%,#101117); color:color-mix(in srgb,var(--role-color) 55%,white); font-size:10px; font-weight:850; }
.tr-order-buttons { display:flex; gap:5px; }
.tr-order-buttons button { display:grid; width:34px; height:34px; place-items:center; border:1px solid #343641; border-radius:8px; background:#191a22; color:#d9d9de; cursor:pointer; }
.tr-order-buttons button:hover:not(:disabled) { border-color:#f02b48; color:#ff8295; }
.tr-order-buttons button:disabled { opacity:.28; cursor:default; }
.tr-notice { padding:13px 15px; border:1px solid #f02b4840; border-radius:12px; background:#2a1119; color:#ffc0ca; font-size:13px; }
.tr-notice.success { border-color:#2abf7857; background:#123124; color:#9bebc2; }
.tr-state,.tr-empty { display:grid; min-height:180px; place-items:center; align-content:center; gap:9px; color:#dad8dc; text-align:center; }
.tr-state { min-height:360px; border:1px solid var(--tr-border); border-radius:20px; background:var(--tr-panel); }
.tr-state span,.tr-empty { color:var(--tr-muted); font-size:12px; }
.tr-state i { width:16px; height:16px; border:2px solid #f02b4845; border-top-color:#f02b48; border-radius:50%; animation:tr-spin .8s linear infinite; }
@keyframes tr-spin { to { transform:rotate(360deg); } }
@media(max-width:1050px) { .tr-settings{grid-template-columns:1fr 1fr}.tr-toggle,.tr-settings .wide,.tr-actions{grid-column:1/-1}.tr-member-card{grid-template-columns:24px 48px minmax(0,1fr) auto}.tr-role-list{grid-column:3/5;justify-content:flex-start}.tr-order-buttons{grid-column:4;grid-row:1} }
@media(max-width:720px) { .tr-hero{align-items:flex-start;flex-direction:column;padding:25px}.tr-settings{grid-template-columns:1fr}.tr-member-card{grid-template-columns:18px 42px minmax(0,1fr)}.tr-role-list{grid-column:2/4}.tr-order-buttons{grid-column:2/4;grid-row:auto;justify-content:flex-end}.tr-order-toolbar,.tr-publication,.tr-section-head{align-items:flex-start;flex-direction:column} }
