/* 8 · Trello: the calls the words come from in a strip on top; under it the team's board, with the Green Route card opened at its right. */
.cm-trello h2 { max-width: none; }
.cm-trello .tt-stage { display: grid; grid-template-rows: auto minmax(0, 1fr); gap: 1cqw; min-height: 0; }

/* The calls: the first call, the callback, and what stays in the manager's app. */
.cm-trello .tt-calls { min-height: 8.3cqw; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) 19.5cqw; border-radius: 1.1cqw; background: #fff; box-shadow: 0 0 0 1px var(--line), 0 1.2cqw 2.4cqw -1.6cqw rgb(15 26 21 / 25%); overflow: hidden; }
.cm-trello .tt-call { display: grid; gap: .45cqw; align-content: start; padding: .7cqw 1.1cqw .8cqw; min-width: 0; transition: background .3s; }
.cm-trello .tt-call + .tt-call { border-left: 1px solid var(--app-line); }
.cm-trello .tt-call > header { display: flex; align-items: center; gap: .6cqw; min-width: 0; font-size: .98cqw; font-weight: 600; white-space: nowrap; }
.cm-trello .tt-call .cm-play { width: 1.75cqw; height: 1.75cqw; }
.cm-trello .tt-call .cm-play .ic { width: .85cqw; height: .85cqw; }
.cm-trello .tt-who { display: inline-flex; align-items: center; gap: .45cqw; min-width: 0; overflow: hidden; text-overflow: ellipsis; }
.cm-trello .tt-who i { font-style: normal; color: var(--app-mute); font-weight: 550; }
.cm-trello .tt-call time { margin-left: auto; font-size: .86cqw; font-weight: 550; color: var(--app-mute); font-variant-numeric: tabular-nums; }
.cm-trello .tt-q { display: block; font-size: 1cqw; transition: background .3s, box-shadow .3s; }
.cm-trello .tt-q small { margin-right: .45cqw; font-size: .82cqw; }
.cm-trello .tt-q q { padding: 0 .1cqw; background: linear-gradient(#ffe48a, #ffe48a) no-repeat 0 88% / 0 42%; -webkit-box-decoration-break: clone; box-decoration-break: clone; transition: background-size .6s ease-out; }
.cm-trello .tt-call.is-on { background: #fffcf2; }
.cm-trello .tt-call.is-on .tt-q { background: #fff; box-shadow: inset 0 0 0 .12cqw #e9c650; }
.cm-trello .tt-call.is-on .tt-q q { background-size: 100% 42%; }
/* Two promises in one sentence: each part of it is numbered, as on the checklist. */
.cm-trello .tt-seg { text-decoration: underline .14cqw transparent; text-underline-offset: .25cqw; transition: text-decoration-color .3s; }
.cm-trello .tt-n { display: none; place-items: center; width: 1.15cqw; height: 1.15cqw; margin: 0 .1cqw 0 .25cqw; border-radius: 50%; background: #0c66e4; color: #fff; font: 700 .7cqw/1 var(--body); font-style: normal; vertical-align: .1cqw; }
.cm-trello .is-seg .tt-seg { text-decoration-color: #0c66e4; }
.cm-trello .is-seg .tt-n, .cm-trello .tt-checks .tt-n { display: inline-grid; }
.cm-trello .is-seg .tt-n { animation: d-rise .4s ease-out both; }
/* The callback, before it happens. */
.cm-trello .tt-call.is-ghost > header { color: var(--app-mute); }
.cm-trello .tt-call.is-ghost .cm-play { background: rgb(41 59 51 / 18%); }
.cm-trello .tt-call.is-ghost .tt-q { border: 1px dashed rgb(41 59 51 / 26%); background: repeating-linear-gradient(-45deg, transparent 0 .5cqw, rgb(41 59 51 / 3%) .5cqw 1cqw); color: var(--app-mute); font-weight: 550; }
/* The callback's words take two lines: its place keeps that height from the start, so nothing moves when it comes in. */
.cm-trello #tt-q2 { min-height: 3.85cqw; }
.cm-trello .tt-in { animation: d-rise .45s ease-out both; }
/* What stays in the manager's app. */
.cm-trello .tt-app { display: grid; align-content: center; gap: .55cqw; padding: .7cqw 1.1cqw; border-left: 1px solid var(--app-line); background: var(--app-bg); font-size: .86cqw; line-height: 1.35; }
.cm-trello .tt-app p { display: flex; align-items: flex-start; gap: .5cqw; }
.cm-trello .tt-app .ic { width: 1.05cqw; height: 1.05cqw; margin-top: .05cqw; }
.cm-trello .tt-lock { color: #7d343c; font-weight: 600; }
.cm-trello .tt-closure { color: var(--app-mute); font-weight: 550; padding: .3cqw .45cqw; margin: 0 -.45cqw; border-radius: .6cqw; transition: background .3s, color .3s; }
.cm-trello .tt-closure.is-on { background: var(--good-soft); color: var(--good); font-weight: 650; }

/* The board. Lists keep one width, like Trello's; Closed is narrower. */
.cm-trello .tt-win { min-height: 0; }
.cm-trello .tr-bar > span:not(.tt-members) { font-weight: 650; }
.cm-trello .tt-members { display: flex; align-items: center; }
.cm-trello .tt-members { gap: .25cqw; }
.cm-trello .tt-area { --lw: 12cqw; --gap: .8cqw; position: relative; min-height: 0; }
.cm-trello .tt-area .tr-board { height: 100%; gap: var(--gap); }
.cm-trello .tt-area .tr-list { flex: 0 0 var(--lw); }
.cm-trello .tt-area .tr-list[data-list="Closed"] { flex-basis: 11cqw; }
.cm-trello .tt-cards { display: grid; gap: .55cqw; }
.cm-trello .tt-cards > .tr-card { opacity: .9; }
.cm-trello .tt-slot:empty { display: none; }
.cm-trello .tt-slot .tr-card { box-shadow: 0 0 0 .14cqw #0c66e4, 0 .5cqw 1cqw -.4cqw rgb(9 30 66 / 45%); cursor: pointer; }
.cm-trello .tt-slot.is-pending { visibility: hidden; }
.cm-trello .tt-slot.is-gone { opacity: .35; }

/* The card, opened: at the right of the board, over Deferred and Closed. */
.cm-trello .tt-detail { position: absolute; top: .6cqw; right: .9cqw; bottom: .6cqw; left: calc(1cqw + 3 * var(--lw) + 2 * var(--gap) + .9cqw); display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); gap: 1.5cqw; align-content: stretch; padding: 1cqw 1.4cqw .9cqw; overflow: hidden; opacity: 0; visibility: hidden; translate: 1.6cqw 0; transition: opacity .3s, translate .35s ease-out, visibility 0s .35s; }
.cm-trello .tt-detail.is-open { opacity: 1; visibility: visible; translate: 0 0; transition: opacity .3s, translate .35s ease-out; }
.cm-trello .tt-x { position: absolute; z-index: 2; top: .6cqw; right: .6cqw; display: grid; place-items: center; width: 1.9cqw; height: 1.9cqw; padding: 0; border: 0; border-radius: 50%; background: none; color: #44546f; }
.cm-trello .tt-x:hover { background: #f1f2f4; }
.cm-trello .tt-x .ic { width: 1cqw; height: 1cqw; }
.cm-trello .tt-side > h5 { padding-right: 2cqw; }
.cm-trello .tt-main, .cm-trello .tt-side { display: grid; gap: .7cqw; align-content: start; min-width: 0; min-height: 0; }
.cm-trello .tt-title { display: flex; align-items: flex-start; gap: .6cqw; }
.cm-trello .tt-title > .ic { width: 1.25cqw; height: 1.25cqw; margin-top: .15cqw; color: #44546f; }
.cm-trello .tt-title > div { display: grid; gap: .1cqw; }
.cm-trello .tt-title b { transition: background .3s; border-radius: .2cqw; }
.cm-trello .tt-detail .tr-meta { flex-wrap: nowrap; gap: 1.1cqw; }
.cm-trello .tt-member { display: inline-flex; align-items: center; min-height: 1.75cqw; }
.cm-trello .tt-due-box[hidden] { display: none; }
.cm-trello .tt-due-box .tr-badge { padding: .12cqw .5cqw; font-size: .9cqw; }
.cm-trello .tt-due-box .tr-badge em { margin-left: .35cqw; padding: 0 .35cqw; border-radius: .25cqw; background: rgb(255 255 255 / 22%); color: inherit; font-style: normal; font-size: .76cqw; font-weight: 650; }
.cm-trello .tt-sec { display: grid; gap: .4cqw; }
.cm-trello .tt-sec h5 small { margin-left: auto; font-size: .84cqw; font-weight: 600; color: #44546f; font-variant-numeric: tabular-nums; }
.cm-trello .tt-desc { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .3cqw 1cqw; margin: 0; padding-left: 1.55cqw; font-size: .9cqw; }
.cm-trello .tt-desc div { display: flex; align-items: baseline; gap: .4cqw; min-width: 0; white-space: nowrap; }
.cm-trello .tt-desc dt { font-size: .8cqw; color: #626f86; }
.cm-trello .tt-desc dd { margin: 0; font-weight: 600; font-variant-numeric: tabular-nums; }
.cm-trello .tt-checks[hidden] { display: none; }
.cm-trello .tt-checks .tr-progress { margin-left: 1.55cqw; }
.cm-trello .tt-checks .tr-check li { align-items: flex-start; gap: .6cqw; text-decoration: none; padding: .2cqw .3cqw; font-size: .92cqw; line-height: 1.35; }
.cm-trello .tt-checks .tr-check li::before { margin-top: .1cqw; }
.cm-trello .tt-it { flex: 0 1 auto; min-width: 0; }
.cm-trello .tr-check li.is-done .tt-it { text-decoration: line-through; }
.cm-trello .tt-note { flex: none; margin-left: auto; white-space: nowrap; padding-top: .12cqw; font-size: .78cqw; font-weight: 550; color: #626f86; text-decoration: none; }
.cm-trello .tt-note:empty { display: none; }
.cm-trello .tr-check li.is-done .tt-note { color: #1f845a; }
.cm-trello .tr-check li.is-pending { visibility: hidden; }
.cm-trello .tr-check li.is-done .tt-n { opacity: .55; }

/* Comments and activity, newest first. */
.cm-trello .tt-feed { display: grid; gap: .6cqw; align-content: start; }
.cm-trello .tt-feed > li[hidden] { display: none; }
.cm-trello .tt-feed .tr-comment header { line-height: 1.3; }
.cm-trello .tt-feed .tr-comment p { display: grid; gap: .2cqw; padding: .45cqw .65cqw; font-size: .9cqw; line-height: 1.35; }
.cm-trello .tt-feed .tr-comment q { font-weight: 600; quotes: "“" "”"; }
.cm-trello .tt-feed .tr-comment small { font-size: .8cqw; color: #626f86; }
.cm-trello .tt-bot { --c: #44546f; }
.cm-trello .tt-bot .ic { width: .8cqw; height: .8cqw; }
.cm-trello .tt-act { display: grid; grid-template-columns: 1.6cqw 1fr; gap: .6cqw; align-items: start; font-size: .82cqw; line-height: 1.35; color: #44546f; }
.cm-trello .tt-act > .ic { justify-self: center; width: .95cqw; height: .95cqw; margin-top: .1cqw; }
.cm-trello .tt-act b { color: #172b4d; font-weight: 650; }
.cm-trello .tt-act time { font-size: .76cqw; color: #626f86; white-space: nowrap; }
.cm-trello .tt-act time::before { content: " · "; }

@media (prefers-reduced-motion: reduce) {
  .cm-trello .tt-detail, .cm-trello .tt-q q { transition: none; }
  .cm-trello .tt-in { animation: none; }
}
/* The activity is a list that scrolls in Trello: here its oldest entries fade out at the foot of the card. */
.cm-trello .tt-side { overflow: hidden; -webkit-mask-image: linear-gradient(#000 calc(100% - 1.6cqw), transparent); mask-image: linear-gradient(#000 calc(100% - 1.6cqw), transparent); }
