/* Talking Stage Stall Check (how-long-should-the-talking-stage-last.js). Tokens only. */
.tool[data-tool="how-long-should-the-talking-stage-last"] { --tone: var(--u7-good); }
.tool[data-tone="mid"] { --tone: var(--u7-mid); }
.tool[data-tone="low"] { --tone: var(--u7-low); }
.tool .ts-memo { padding: 12px 16px; border-radius: 18px; background: rgb(var(--accent) / .1); font-size: 15px; line-height: 21px; font-weight: 700; color: rgb(var(--ink) / .8); }
.tool .ts-head { display: flex; flex-direction: column; gap: 12px; padding: 20px; border-radius: 24px; background: var(--surface); box-shadow: var(--shadow); }
.tool .ts-eyebrow { font-size: 13px; line-height: 18px; font-weight: 850; letter-spacing: .06em; text-transform: uppercase; color: rgb(var(--ink) / .5); }
.tool .ts-verdict { display: flex; align-items: center; gap: 10px; font-size: 36px; line-height: 42px; font-weight: 950; letter-spacing: -.03em; color: rgb(var(--ink)); margin-top: -6px; }
.tool .ts-verdict::before { content: ""; flex: none; width: 14px; height: 14px; border-radius: 7px; background: rgb(var(--tone)); box-shadow: 0 0 0 5px rgb(var(--tone) / .2); transition: background-color .3s ease, box-shadow .3s ease; }
.tool .ts-verdict.is-new { animation: ts-in .35s var(--ease-out); }
@keyframes ts-in { from { opacity: .3; transform: translateY(4px); } }
.tool .ts-sub, .tool .ts-text { font-size: 16px; line-height: 23px; font-weight: 650; color: rgb(var(--ink) / .78); }
.tool .ts-scale { font-size: 13px; line-height: 18px; font-weight: 650; color: rgb(var(--ink) / .5); }
.tool .ts-form { display: grid; gap: 10px; }
.tool .ts-pair { display: grid; gap: 10px; }
.tool .ts-q { display: flex; flex-direction: column; gap: 10px; padding: 14px 16px; border-radius: 20px; background: var(--surface); }
.tool .ts-q-label { font-size: 16px; line-height: 22px; font-weight: 800; color: rgb(var(--ink)); }
.tool .ts-q .tool-chips button { background: var(--surface-2); box-shadow: none; }
.tool .ts-q .tool-chips button[aria-pressed="true"] { background: rgb(var(--ink)); }
.tool .ts-out { display: flex; flex-direction: column; gap: 14px; }
.tool .ts-steps { display: grid; gap: 0; padding: 4px 0; }
.tool .ts-steps li { position: relative; display: flex; align-items: center; gap: 12px; min-height: 44px; font-size: 16px; line-height: 22px; font-weight: 700; color: rgb(var(--ink) / .55); }
.tool .ts-steps li:not(:last-child)::after { content: ""; position: absolute; left: 13px; top: 34px; height: 20px; width: 2px; background: rgb(var(--ink) / .12); }
.tool .ts-steps li.is-done:not(:last-child)::after { background: rgb(var(--u7-good) / .5); }
.tool .ts-dot { flex: none; width: 28px; height: 28px; border-radius: 14px; display: grid; place-items: center; background: var(--surface); box-shadow: inset 0 0 0 2px rgb(var(--ink) / .15); }
.tool .ts-dot .tool-icon { width: 16px; height: 16px; stroke-width: 3; }
.tool .ts-steps .is-done { color: rgb(var(--ink)); }
.tool .ts-steps .is-done .ts-dot { background: rgb(var(--u7-good)); color: #fff; box-shadow: none; }
.tool .ts-steps .is-next { color: rgb(var(--ink)); font-weight: 850; }
.tool .ts-steps .is-next .ts-dot { box-shadow: inset 0 0 0 2px rgb(var(--accent)), 0 0 0 4px rgb(var(--accent) / .18); }

.tool .ts-next { display: flex; flex-direction: column; gap: 10px; padding: 18px; border-radius: 24px; background: rgb(var(--accent) / .09); }
.tool .ts-next:empty { display: none; }
.tool .ts-next-t { font-size: 20px; line-height: 26px; font-weight: 900; color: rgb(var(--ink)); }
.tool .ts-next .btn { align-self: flex-start; }
@media (min-width: 600px) {
  .tool .ts-pair { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 599px) { .tool .ts-verdict { font-size: 32px; line-height: 38px; } .tool .ts-next .btn { align-self: stretch; } }
@media (prefers-reduced-motion: reduce) { .tool .ts-verdict.is-new { animation: none; } }
.tool .ts-memo { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.tool .ts-mini { flex: none; min-height: 40px; padding: 0 14px; border-radius: 20px; font-size: 14px; font-weight: 850; background: var(--surface); color: var(--link); }
.tool .ts-eyebrow.is-example { color: rgb(var(--u7-mid)); letter-spacing: .02em; text-transform: none; font-size: 14px; }

.tool .ts-sec { display: grid; gap: 8px; }
.tool .ts-sec-t { font-size: 13px; line-height: 18px; font-weight: 850; letter-spacing: .08em; text-transform: uppercase; color: rgb(var(--ink) / .5); margin: 8px 0 0 4px; }
.tool .ts-pair { grid-template-columns: 1fr 1fr; }
.tool .ts-pair .u7-step { flex-direction: column; align-items: stretch; gap: 8px; padding: 14px 12px 12px; }
.tool .ts-pair .u7-step-ctl { justify-content: space-between; }
.tool .ts-steps .is-half .ts-dot { background: linear-gradient(90deg, rgb(var(--u7-mid)) 50%, var(--surface) 50%); }
.tool .ts-half { display: block; font-size: 13px; line-height: 18px; font-weight: 700; color: rgb(var(--u7-mid)); }
.tool .ts-steps small.ts-badge { margin-left: auto; padding: 2px 10px; border-radius: 12px; font-size: 12px; font-weight: 850; background: rgb(var(--accent) / .14); color: var(--link); }
.tool .ts-reset { align-self: center; min-height: 44px; padding: 0 12px; font-size: 15px; font-weight: 800; color: rgb(var(--ink) / .55); background: none; }
.tool .ts-pill { position: fixed; z-index: 30; left: 50%; bottom: max(16px, env(safe-area-inset-bottom)); display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 0 18px 0 14px; border-radius: 22px; background: rgb(var(--ink)); color: var(--bg); font-size: 15px; font-weight: 850; box-shadow: 0 8px 24px rgb(0 0 0 / .25); transform: translate(-50%, 140%); opacity: 0; pointer-events: none; transition: transform .3s var(--ease-out), opacity .2s ease; }
.tool .ts-pill.is-on { transform: translate(-50%, 0); opacity: 1; pointer-events: auto; }
.tool .ts-pill-dot { width: 10px; height: 10px; border-radius: 5px; background: rgb(var(--tone)); }
@media (prefers-reduced-motion: reduce) { .tool .ts-pill { transition: opacity .2s ease; transform: translate(-50%, 0); } }
.tool .ts-form, .tool .ts-sec, .tool .ts-pair > * { min-width: 0; }
.tool .ts-pair .u7-step-btn { width: 44px; height: 44px; }
.tool .ts-pair .u7-step-val { min-width: 36px; }
.tool .ts-eyebrow.is-example { align-self: flex-start; padding: 2px 10px; border-radius: 10px; background: rgb(var(--u7-mid) / .18); color: rgb(var(--ink) / .8); }
.tool .ts-quiz { display: flex; flex-direction: column; gap: 10px; padding-top: 4px; }
.tool .ts-quiz .btn { align-self: flex-start; }
@media (max-width: 599px) { .tool .ts-quiz .btn { align-self: stretch; } }
.tool .ts-top { gap: 10px; }
.tool .ts-weeks { display: grid; gap: 8px; padding: 0 0 8px; border-radius: 20px; background: var(--surface); }
.tool .ts-weeks .u7-step { background: none; }
.tool .ts-months { display: grid; grid-template-columns: repeat(4, 1fr); gap: 6px; padding: 0 12px; }
.tool .ts-months button { min-height: 40px; border-radius: 20px; font-size: 14px; font-weight: 800; background: var(--surface-2); color: rgb(var(--ink) / .75); transition: transform .2s var(--ease-out); }
.tool .ts-months button:active { transform: scale(.96); }
.tool .ts-dodge { font-size: 15px; line-height: 22px; font-weight: 750; color: rgb(var(--ink) / .8); padding-left: 12px; border-left: 3px solid rgb(var(--accent) / .5); }
.tool .ts-next > .tool-chips button { flex: 1; }
@media (prefers-color-scheme: dark) {
  .tool .ts-q .tool-chips button:not([aria-pressed="true"]), .tool .ts-next > .tool-chips button:not([aria-pressed="true"]), .tool .ts-months button { background: rgb(var(--ink) / .12); color: rgb(var(--ink) / .85); }
  .tool .ts-scale { color: rgb(var(--ink) / .62); }
}
