/* T114 «Команда»: офис вкладок, подписки, решения владельца, обещания клиентам (макет ~/bots/specs/T114/a.html) */
#screen-team { display: grid; gap: 12px; padding: 12px 14px 40px; }
#screen-team.tm-dead > section { filter: grayscale(1); opacity: .5; }
.tm-office { position: relative; overflow: hidden; border-radius: 20px; padding: 12px 10px 10px; background: linear-gradient(#24303b, #1b2229); color: #f2f3f5; }
.tm-office .floor { position: absolute; left: 0; right: 0; bottom: 0; height: 46px; background: repeating-linear-gradient(90deg, #2a2f26 0 18px, #262b22 18px 36px); }
.tm-head { position: relative; z-index: 1; display: flex; justify-content: space-between; align-items: baseline; margin: 0 4px 74px; }
.tm-head h1 { padding: 0; font-size: 22px; color: #f2f3f5; }
.tm-head span { font-size: 12px; color: #aeb6bf; }
.tm-win { position: absolute; right: 18px; top: 52px; z-index: 1; min-width: 96px; height: 30px; padding: 0 8px; border-radius: 6px; display: flex; align-items: center; justify-content: center;
  font-size: 11px; font-weight: 750; color: #123; background: #9ad0ff; box-shadow: 0 0 14px #9ad0ff66; }
.tm-win.off { background: #4a3034; color: #ffd6d6; box-shadow: none; }
.tm-win.nd { background: #3a4047; color: #aeb6bf; box-shadow: none; }
.tm-win { gap: 6px; background: rgba(154, 208, 255, .14); color: #cfe6ff; box-shadow: none; font-weight: 600; border-radius: 999px; height: 24px; top: 50px; }
.tm-win i { width: 7px; height: 7px; border-radius: 50%; background: #5fd38a; }
.tm-win.off i { background: #ff5d5d; }
.tm-desks { position: relative; z-index: 1; display: grid; grid-template-columns: repeat(4, 1fr); }
.tm-desk { text-align: center; font-size: 12px; line-height: 1.3; color: #aeb6bf; }
.tm-desk svg { display: block; margin: 0 auto; }
.tm-desk b { display: block; margin-top: 2px; font-size: 13px; color: #f2f3f5; }
.tm-desk .st-alarm { color: #ff8a8a; }
.tm-desk .wt { color: #f0c36a; }
.tm-card .cap .muted { font-size: 12px; }
.tm-stale { opacity: .55; }
.tm-nd { font-size: 13px; color: var(--hint); }
.tm-rings { display: flex; justify-content: space-around; }
.tm-ring { text-align: center; font-size: 12px; color: var(--hint); min-width: 0; }
.tm-ring svg { display: block; margin: 0 auto; }
.tm-ring b { color: var(--text); }
.tm-ring.on .lbl { color: var(--accent); font-weight: 750; }
.tm-ring .chk { display: block; max-width: 104px; font-size: 11px; line-height: 1.25; color: var(--hint); }  /* запасная без процентов: штатно, вход проверит переключение (orch 26.10) */
.tm-ring .nm { font-size: 13px; font-weight: 600; margin-top: 4px; }
.tm-ring .ml { max-width: 104px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-size: 11px; }
.tm-ring .ml.cx { white-space: normal; margin: 0 auto; }  /* Codex: время сброса в две строки (TG 4010) */
.tm-dec { border-radius: 16px; padding: 14px; background: var(--surface-2); touch-action: pan-y; }
.tm-dec .who { margin-bottom: 4px; font-size: 12px; color: var(--attention); }
.tm-dec .q { font-size: 16px; font-weight: 650; line-height: 1.3; }
.tm-dec .more-d { margin-top: 10px; font-size: 13px; color: var(--hint); display: grid; gap: 6px; }
.tm-dec .more-d b { color: var(--text); font-weight: 650; }
.tm-btns { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; margin-top: 12px; }
.tm-btns button { text-align: center; border-radius: 12px; font-weight: 700; font-size: 14px; color: #fff; }
.tm-btns.opts { grid-template-columns: 1fr; }
.tm-btns .o { text-align: left; padding: 0 14px; font-weight: 600; background: #2c3a4a; }
.tm-btns .o b { margin-right: 6px; color: #9ad0ff; }
.tm-btns .y { background: #2e7d4f; } .tm-btns .n { background: #6a3036; } .tm-btns .l { background: #3a4048; }
.tm-solve { width: 100%; margin-top: 8px; text-align: center; border-radius: 12px; font-weight: 650; font-size: 14px; color: var(--accent); background: transparent; box-shadow: inset 0 0 0 1px var(--line); }
.tm-orch { margin-top: 8px; font-size: 12px; color: var(--hint); text-align: center; }
.tm-nav { display: flex; align-items: center; justify-content: space-between; margin-top: 8px; font-size: 12px; color: var(--hint); }
.tm-nav button { min-width: 44px; text-align: center; font-size: 18px; color: var(--text); border-radius: 12px; }
.tm-prom { display: grid; gap: 10px; }
.tm-prom .p { display: grid; grid-template-columns: 1fr auto; gap: 2px 10px; font-size: 14px; }
.tm-prom .p .t { grid-column: 1 / -1; font-size: 12px; color: var(--hint); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.tm-prom .late { color: var(--minus); font-weight: 700; }
.tm-err { font-size: 13px; color: var(--minus); text-align: center; }
.tm-warn { margin: 0 0 10px; font-size: 12px; color: var(--attention); }
.tm-done { margin-top: 12px; padding: 12px; border-radius: 12px; font-size: 14px; font-weight: 650; text-align: center; color: var(--plus); background: var(--surface); }
.tm-bots { display: grid; gap: 8px; }
.tm-bot { display: grid; grid-template-columns: 10px auto 1fr; align-items: baseline; gap: 8px; font-size: 14px; }
.tm-bot i { width: 8px; height: 8px; border-radius: 50%; background: var(--plus); }
.tm-bot i.off { background: var(--minus); }
.tm-bot .muted { font-size: 12px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.tm-bar { display: grid; grid-template-columns: 1fr auto; gap: 4px 8px; margin-top: 10px; font-size: 14px; }
.tm-bar i { grid-column: 1 / -1; height: 6px; border-radius: 3px; background: linear-gradient(90deg, var(--accent) var(--v), var(--line) var(--v)); }
.tm-bar i.warn { background: linear-gradient(90deg, var(--attention) var(--v), var(--line) var(--v)); }
.tm-bar i.bad { background: linear-gradient(90deg, var(--minus) var(--v), var(--line) var(--v)); }
.tm-bar em { grid-column: 1 / -1; font-style: normal; font-size: 12px; color: var(--hint); }
.tm-sub { margin: 0 0 8px; font-size: 13px; color: var(--hint); }
.tm-bar span.warn { color: var(--attention); } .tm-bar span.bad { color: var(--minus); }
.tm-lab { position: relative; border-radius: 16px; padding: 10px 6px 4px; background: linear-gradient(#24303b, #1b2229); }
.tm-robots { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px 4px; }
.tm-robot { text-align: center; font-size: 12px; line-height: 1.3; color: #aeb6bf; min-width: 0; }
.tm-robot svg { display: block; margin: 0 auto 2px; }
.tm-robot b { display: block; font-size: 13px; color: #f2f3f5; }
.tm-robot .n { display: block; font-size: 11px; white-space: nowrap; color: #cfe6ff; }
.tm-robot .w { display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; padding: 0 2px; }
.tm-robot.st-work .w { color: #5fd38a; }
.tm-robot.st-broken .w { color: #ff8a8a; }
