/* ThoughtUI - Sankalpa, Ledger, My values. Colours from the framework's tokens only (light and dark follow them). */
.tu-samples { margin: 6px 0 10px; }
.tu-in { position: relative; }
.tu-in textarea { width: 100%; min-height: 84px; resize: vertical; padding-right: 58px; font-size: 1.02rem; }
.tu-mic { position: absolute; right: 10px; top: 10px; width: 40px; height: 40px; border-radius: 50%; padding: 0; display: grid; place-items: center;
  background: var(--brand-soft); color: var(--brand); border: 1px solid var(--brand-line); }
.tu-mic.live { background: var(--brand); color: var(--brand-ink); animation: tu-pulse 1.4s var(--ease) infinite; }
@keyframes tu-pulse { 0% { box-shadow: 0 0 0 0 var(--ring); } 70% { box-shadow: 0 0 0 12px transparent; } 100% { box-shadow: 0 0 0 0 transparent; } }
@media (prefers-reduced-motion: reduce) { .tu-mic.live { animation: none; } }
#tu-heard { min-height: 1.2em; margin: 6px 0 10px; }
.tu-pillars { display: grid; gap: 12px; margin: 16px 0 12px; }
.tu-pl-top { display: flex; justify-content: space-between; gap: 8px; margin-bottom: 5px; }
.tu-bar { height: 8px; border-radius: 99px; background: var(--panel-2); overflow: hidden; }
.tu-bar i { display: block; height: 100%; border-radius: 99px; transition: width .6s var(--ease); }
.tu-pl .tag { margin: 4px 4px 0 0; }
.tu-ask { margin-top: 6px; font-weight: 600; }
.tu-step { display: grid; grid-template-columns: 1fr 150px auto auto; gap: 8px; align-items: center; margin-bottom: 8px; }
.tu-step input { min-width: 0; }
.tu-st-box { position: relative; min-width: 0; }
.tu-st-box input { width: 100%; }
.tu-st-box .char-left { position: absolute; right: 8px; bottom: -16px; font-size: .72rem; }
.tu-step { margin-bottom: 18px; }
.tu-end { justify-content: flex-end; margin-top: 12px; }
.tu-score { display: flex; gap: 18px; align-items: center; }
.tu-ring { width: 96px; height: 96px; flex: 0 0 auto; color: var(--ink); }
.tu-big { font-size: 1.5rem; font-weight: 600; color: var(--ink); }
.tu-item { display: flex; gap: 12px; align-items: center; justify-content: space-between; padding: 12px 10px; border-bottom: 1px solid var(--line);
  cursor: pointer; border-radius: var(--radius-sm); }
.tu-item:hover, .tu-item:focus-visible { background: var(--panel-2); }
.tu-main { min-width: 0; }
.tu-name { color: var(--ink); overflow-wrap: anywhere; }
.tu-quote { font-size: 1.1rem; color: var(--ink); border-left: 3px solid var(--brand); padding: 4px 0 4px 12px; margin: 0 0 10px; }
.tu-checks { display: grid; gap: 6px; margin: 6px 0 10px; }
.tu-check { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; gap: 10px; align-items: center; padding: 8px 10px; border: 1px solid var(--line);
  border-radius: var(--radius-sm); }
.tu-check input { width: 18px; height: 18px; }
.tu-val { display: grid; gap: 8px; }
.tu-val label { display: grid; gap: 4px; }
.tu-val .row input { flex: 1 1 200px; min-width: 0; font-weight: 600; }
@media (max-width: 640px) {
  .tu-step { grid-template-columns: 1fr auto auto; }
  .tu-step .tu-st-due { grid-column: 1 / -1; grid-row: 2; }
  .tu-score { flex-direction: column; align-items: flex-start; }
}
.tu-check span { overflow-wrap: anywhere; white-space: normal; min-width: 0; }
.tu-check span.small { white-space: nowrap; }
