/* Tickets and service desk. Tokens from app.css only. */

.stack-lg { min-width: 0; }
.stack-lg > * + * { margin-top: var(--s5); }

/* ---------- list */
.tk-filters { display: flex; flex-wrap: wrap; gap: var(--s2); padding: var(--s4) var(--s5); border-bottom: 1px solid var(--border); }
.tk-filters .field { flex: 0 1 190px; }
.tk-filters .tk-search { flex: 1 1 260px; }
.tk-table td { vertical-align: top; }
.tk-table td:not(.tk-subject) { padding-top: 14px; }
.tk-link { display: block; color: var(--text); font-weight: 500; line-height: 1.4; }
.tk-link:hover { color: var(--accent-text); }
.tk-number { display: inline-block; margin-right: var(--s2); font: 600 12px/1 var(--font-mono); color: var(--muted); letter-spacing: .02em; }
.tk-sub { display: flex; flex-wrap: wrap; gap: 4px var(--s2); align-items: center; margin-top: 4px; font-size: 12.5px; color: var(--muted); }
.tk-sub > span:not(.chip) + span:not(.chip)::before { content: "·"; margin-right: var(--s2); color: var(--faint); }
.tk-sub .chip { height: 22px; font-size: 11.5px; padding: 0 8px; }
.tk-subject { min-width: 240px; max-width: 460px; }
.tk-person { white-space: nowrap; max-width: 150px; overflow: hidden; text-overflow: ellipsis; }
.tk-table th, .tk-table td { padding-left: var(--s3); padding-right: var(--s3); }
.tk-table th:first-child, .tk-table td:first-child { padding-left: var(--s5); }
.tk-table tr.unread .tk-link { font-weight: 650; }
.tk-table tr.unread td:first-child { box-shadow: inset 3px 0 0 var(--violet); }
.chip.danger-chip { background: var(--danger-soft); color: var(--danger); }

.sla-chip { display: inline-flex; align-items: center; gap: 5px; height: 24px; padding: 0 9px; border-radius: 999px; white-space: nowrap;
  font: 600 12px/1 var(--font); background: var(--neutral-soft); color: var(--neutral); font-variant-numeric: tabular-nums; }
.sla-chip .sla-kind { font-weight: 500; }
.sla-chip.warn { background: var(--warn-soft); color: var(--warn); }
.sla-chip.danger { background: var(--danger-soft); color: var(--danger); }
.sla-chip.good { background: var(--good-soft); color: var(--good); }
.sla-chip.paused { background: transparent; border: 1px dashed var(--border-strong); color: var(--muted); }

/* ---------- new ticket */
.tk-choice { border: 0; margin: 0; padding: 0; display: grid; gap: var(--s2); min-width: 0; }
.tk-choice legend { font: 600 13px/1.3 var(--font); color: var(--text-2); margin-bottom: var(--s2); padding: 0; }
.tk-option { display: flex; align-items: center; gap: var(--s3); padding: 10px var(--s3); border: 1px solid var(--border); border-radius: 10px;
  cursor: pointer; background: var(--surface); }
.tk-option:hover { border-color: var(--border-strong); }
.tk-option input { width: 17px; height: 17px; accent-color: var(--violet); margin: 0; flex: none; }
.tk-option:has(input:checked) { border-color: var(--violet); background: var(--accent-soft); }
.tk-option:has(input:focus-visible) { box-shadow: var(--focus); }
.tk-promise { display: flex; gap: var(--s2); align-items: flex-start; padding: var(--s3) var(--s4); border-radius: var(--r); background: var(--surface-2);
  border: 1px solid var(--border); color: var(--text-2); font-size: 13.5px; }
.tk-promise .icon { color: var(--accent); margin-top: 2px; }
.tk-kb-list { list-style: none; margin: 0; padding: 0; display: grid; gap: var(--s3); }
.tk-kb-list:empty { display: none; }
.tk-kb-list li { padding: var(--s3); border: 1px solid var(--border); border-radius: var(--r); background: var(--surface-2); display: grid; gap: 2px; }
.tk-kb-list a { font-weight: 600; }
.tk-kb-list p { margin: 4px 0 0; color: var(--text-2); }
.tk-details > summary { cursor: pointer; font-weight: 600; font-size: 13.5px; color: var(--text-2); list-style: none; display: flex; align-items: center; gap: var(--s2); }
.tk-details > summary::-webkit-details-marker { display: none; }
.tk-details > summary::before { content: ""; width: 6px; height: 6px; border-right: 1.75px solid currentColor; border-bottom: 1.75px solid currentColor;
  transform: rotate(-45deg); transition: transform .12s; margin: 0 4px 0 2px; }
.tk-details[open] > summary::before { transform: rotate(45deg); }
.tk-details > summary:hover { color: var(--text); }

/* ---------- detail */
.tk-headline { display: flex; flex-wrap: wrap; gap: var(--s3); align-items: center; margin: calc(-1 * var(--s2)) 0 var(--s5); }
.tk-thread { list-style: none; margin: 0; padding: var(--s2) 0; }
.tk-msg { padding: var(--s4) var(--s5); }
.tk-msg + .tk-msg, .tk-event + .tk-msg, .tk-msg + .tk-event { border-top: 1px solid var(--border); }
.tk-msg-head { display: flex; flex-wrap: wrap; align-items: center; gap: var(--s2); margin-bottom: var(--s2); }
.tk-msg-head strong { font-weight: 600; }
.tk-when { margin-left: auto; }
.tk-body { white-space: pre-wrap; overflow-wrap: anywhere; color: var(--text); padding-left: 38px; }
.tk-msg.tk-internal { background: var(--warn-soft); box-shadow: inset 3px 0 0 var(--warn); }
.tk-internal-chip { background: var(--surface); color: var(--warn); }
.tk-event { display: flex; flex-wrap: wrap; align-items: center; gap: 4px var(--s2); padding: var(--s2) var(--s5); font-size: 12.5px; color: var(--text-2); background: var(--surface-2); }
.tk-event-dot { width: 6px; height: 6px; border-radius: 50%; background: var(--border-strong); flex: none; margin: 0 6px 0 12px; }
.tk-composer { border-top: 1px solid var(--border); padding: var(--s4) var(--s5) var(--s5); display: grid; gap: var(--s3); background: var(--surface-2);
  border-radius: 0 0 var(--r-lg) var(--r-lg); }
.tk-composer-top { display: flex; flex-wrap: wrap; gap: var(--s2); align-items: center; justify-content: space-between; }
.tk-composer textarea { background: var(--surface); }
.tk-composer.is-internal textarea { border-color: var(--warn); background: var(--warn-soft); }
.tk-kind label { position: relative; }
.tk-kind input { position: absolute; opacity: 0; pointer-events: none; }
.tk-kind span { display: inline-flex; align-items: center; gap: 6px; padding: 6px 12px; border-radius: 8px; color: var(--muted); font-weight: 500; font-size: 13px; cursor: pointer; white-space: nowrap; }
.tk-kind input:checked + span { background: var(--surface); color: var(--text); box-shadow: var(--shadow-1); }
.tk-kind input:focus-visible + span { box-shadow: var(--focus); }
.tk-insert { position: relative; }
.tk-insert > summary { list-style: none; }
.tk-insert > summary::-webkit-details-marker { display: none; }
.tk-insert-menu { position: absolute; right: 0; top: calc(100% + 6px); z-index: 10; width: min(320px, 80vw); max-height: 320px; overflow: auto; padding: var(--s2);
  background: var(--surface); border: 1px solid var(--border); border-radius: var(--r); box-shadow: var(--shadow-pop); }
.tk-insert-menu .divider-label { margin: var(--s2) var(--s2) var(--s1); }
.tk-insert-menu a { display: block; padding: 8px var(--s2); border-radius: 8px; color: var(--text); font-size: 13.5px; }
.tk-insert-menu a:hover { background: var(--accent-soft); text-decoration: none; }
.tk-then { display: inline-flex; align-items: center; gap: var(--s2); }
.tk-then select { height: 32px; width: auto; font-size: 13px; }
.tk-note-hint[hidden] { display: none; }
.tk-note-hint { display: inline-flex; align-items: center; gap: 4px; color: var(--warn); }

.tk-side .card-body.stack > * + * { margin-top: var(--s4); }
.tk-clock { display: grid; gap: 6px; }
.tk-clock .meter { height: 6px; }
.tk-inline-form { display: grid; gap: 6px; }
.tk-inline-form .input { height: 34px; font-size: 13.5px; }
.tk-links { list-style: none; margin: 0; padding: 0; display: grid; gap: var(--s2); }
.tk-links li { display: flex; flex-wrap: wrap; gap: 2px var(--s2); align-items: center; font-size: 13.5px; min-width: 0; }
.tk-links li > .small.muted:first-child { flex: 0 0 100%; }
.tk-links a { overflow-wrap: anywhere; }
.tk-links form { margin-left: auto; }
.tk-rate .tk-reopen { margin-top: var(--s4); display: flex; gap: var(--s2); align-items: center; flex-wrap: wrap; }
.tk-rating { border: 0; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: var(--s2); align-items: center; }
.tk-rating label { position: relative; }
.tk-rating input { position: absolute; opacity: 0; }
.tk-rating span { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 10px; border: 1px solid var(--border-strong); font-weight: 600; cursor: pointer; background: var(--surface); }
.tk-rating input:checked + span { background: var(--primary); color: var(--on-primary); border-color: transparent; }
.tk-rating input:focus-visible + span { box-shadow: var(--focus); }
.stars { color: var(--border-strong); letter-spacing: 2px; font-size: 16px; }
.stars .on { color: var(--accent); }

/* ---------- major incident */
.tk-incident { border-color: color-mix(in srgb, var(--danger) 35%, var(--border)); }
.tk-incident > .card-head { background: var(--danger-soft); border-radius: var(--r-lg) var(--r-lg) 0 0; }
.tk-incident > .card-head .kicker { color: var(--danger); }
.tk-roles { display: grid; grid-template-columns: repeat(auto-fit, minmax(170px, 1fr)); gap: var(--s4); }
.tk-roles > div { display: grid; gap: 6px; align-content: start; }
.tk-update-form { display: grid; grid-template-columns: 150px minmax(0, 1fr) auto; gap: var(--s2); align-items: center; }
.tk-update-form .input { height: 36px; }
.tk-timeline { list-style: none; margin: 0; padding: 0; position: relative; }
.tk-timeline li { position: relative; display: flex; gap: var(--s3); padding: 0 0 var(--s4) 0; }
.tk-timeline li::before { content: ""; position: absolute; left: 5px; top: 14px; bottom: -2px; width: 2px; background: var(--border); }
.tk-timeline li:last-child::before { display: none; }
.tk-timeline li:last-child { padding-bottom: 0; }
.tk-tl-dot { width: 12px; height: 12px; border-radius: 50%; background: var(--surface); border: 2px solid var(--accent); margin-top: 6px; flex: none; position: relative; }
.tk-timeline .phase-resolved .tk-tl-dot { border-color: var(--good); background: var(--good); }
.tk-timeline .phase-investigating .tk-tl-dot { border-color: var(--danger); }
.tk-timeline .phase-identified .tk-tl-dot, .tk-timeline .phase-monitoring .tk-tl-dot { border-color: var(--warn); }
.tk-timeline p { margin: 4px 0 0; }
.tk-pm h3 { font-size: 14px; margin: var(--s4) 0 4px; }
.tk-pm h3:first-child { margin-top: 0; }
.tk-pm p { color: var(--text-2); white-space: pre-wrap; }
.tk-actions-fs { border: 0; padding: 0; margin: 0; display: grid; gap: var(--s2); min-width: 0; }
.tk-actions-fs legend { font: 600 13px/1.3 var(--font); color: var(--text-2); margin-bottom: var(--s2); padding: 0; }
.tk-action-row { display: grid; grid-template-columns: minmax(0, 2fr) minmax(0, 1fr) 150px; gap: var(--s2); }

/* ---------- queues */
.tk-jump { display: flex; flex-wrap: wrap; gap: var(--s2); margin-bottom: var(--s5); }
.tk-jump .chip { text-decoration: none; }
.tk-jump .chip:hover { background: var(--accent-soft); color: var(--accent-text); }
.tk-count { font-variant-numeric: tabular-nums; color: var(--muted); font-weight: 600; }
.tk-queue { scroll-margin-top: 80px; }
.tk-queue-grid { display: grid; grid-template-columns: minmax(0, 3fr) minmax(0, 2fr); gap: var(--s6); margin-bottom: var(--s4); }
.tk-queue .tk-details { border-top: 1px solid var(--border); padding-top: var(--s3); margin-top: var(--s3); }
.tk-sla .table td { padding: 6px var(--s3); }
.tk-sla .table th { padding: 8px var(--s3); }
.tk-sla .reason-line { margin-top: var(--s2); }
.tk-dur { display: flex; gap: 4px; min-width: 150px; }
.tk-dur .input { height: 34px; font-size: 13.5px; }
.tk-dur input.input { width: 64px; flex: none; text-align: right; }
.tk-dur select.input { flex: 1 1 auto; min-width: 82px; }
.tk-members > li { padding: var(--s2) 0; min-height: 44px; }
.tk-mgmt { color: var(--text-2); }
.tk-mgmt .icon { color: var(--accent); }
.tk-add-member { display: flex; gap: var(--s2); margin-top: var(--s3); flex-wrap: wrap; }
.tk-add-member select:first-of-type { flex: 1 1 160px; }
.tk-add-member select:nth-of-type(2) { flex: 0 0 76px; }
.tk-add-member .input { height: 34px; font-size: 13.5px; }
.tk-time { width: 92px; }
.tk-days { border: 0; padding: 0; margin: 0; }
.tk-days legend { margin-bottom: var(--s2); padding: 0; }
.tk-macros > li { padding: var(--s2) 0; }
.tk-clamp { display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; white-space: pre-wrap; }

/* ---------- knowledge base */
.tk-kb-icon { display: grid; place-items: center; width: 36px; height: 36px; border-radius: 10px; background: var(--accent-soft); color: var(--accent-text); flex: none; }
.tk-article { font-size: 15px; line-height: 1.7; max-width: 72ch; }
.tk-article p { margin-bottom: var(--s4); white-space: pre-wrap; }

/* ---------- responsive */
@media (max-width: 1080px) { .tk-queue-grid { grid-template-columns: minmax(0, 1fr); } }
@media (max-width: 600px) {
  .tk-filters { padding: var(--s3) var(--s4); }
  .tk-filters .field { flex: 1 1 140px; }
  .tk-msg { padding: var(--s3) var(--s4); }
  .tk-body { padding-left: 0; }
  .tk-when { margin-left: 0; flex: 0 0 100%; }
  .tk-composer { padding: var(--s3) var(--s4) var(--s4); }
  .tk-update-form, .tk-action-row { grid-template-columns: minmax(0, 1fr); }
  .tk-subject { min-width: 220px; }
}
/* keep visually hidden labels inside horizontally scrolling tables from widening the page */
.tk-sla .table-wrap, .tk-table-rel { position: relative; }
.tk-side .kv dd { overflow-wrap: anywhere; }
.tk-side .card-body.stack > a.small { display: inline-flex; align-items: center; gap: 4px; }

/* ---------------- service desk 2.0 */
.tk-more { display: flex; flex-wrap: wrap; gap: var(--s2); margin: 0 0 var(--s4); }
.tk-more .chip { text-decoration: none; color: var(--text-2); }
.tk-more .chip:hover { color: var(--text); border-color: var(--border-strong); }
.tk-mini { height: 20px; font-size: 11px; padding: 0 7px; margin-left: 6px; vertical-align: 1px; }
.chip.sev-1 { background: var(--danger-soft); color: var(--danger); }
.chip.sev-2 { background: var(--warn-soft); color: var(--warn); }
.tk-private { display: flex; gap: 6px; align-items: center; margin: 0 0 var(--s3); }

/* steps on the new-ticket page */
.tk-steps { list-style: none; display: flex; flex-wrap: wrap; gap: var(--s2) var(--s5); margin: 0 0 var(--s4); padding: 0; font-size: 13px; color: var(--muted); }
.tk-steps li { display: flex; align-items: center; gap: var(--s2); }
.tk-steps li span { display: inline-grid; place-items: center; width: 22px; height: 22px; border-radius: 50%; border: 1px solid var(--border-strong); font-weight: 600; font-size: 12px; }
.tk-steps li[aria-current] { color: var(--text); font-weight: 600; }
.tk-steps li[aria-current] span { background: var(--violet); border-color: var(--violet); color: #fff; }
.tk-steps li.done span { background: var(--accent-soft); border-color: transparent; color: var(--accent-text); }
.tk-pick { border: 0; margin: 0 0 var(--s4); padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: var(--s2); min-width: 0; }
.tk-pick-group { grid-column: 1 / -1; display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: var(--s2); }
.tk-pick-group .divider-label { grid-column: 1 / -1; margin-top: var(--s2); }
.tk-pick-item { display: flex; gap: var(--s3); align-items: flex-start; padding: var(--s3); border: 1px solid var(--border); border-radius: 12px; cursor: pointer; background: var(--surface); min-width: 0; }
.tk-pick-item:hover { border-color: var(--border-strong); }
.tk-pick-item input { width: 17px; height: 17px; margin: 2px 0 0; accent-color: var(--violet); flex: none; }
.tk-pick-item:has(input:checked) { border-color: var(--violet); background: var(--accent-soft); }
.tk-pick-item:has(input:focus-visible) { box-shadow: var(--focus); }
.tk-pick-body { display: grid; gap: 2px; min-width: 0; }
.tk-pick-title { font-weight: 600; color: var(--text); }
.tk-intake { border: 1px solid var(--border); border-radius: var(--r); padding: var(--s4); margin: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: var(--s3) var(--s4); min-width: 0; }
.tk-intake legend { font: 600 13px/1.3 var(--font); color: var(--text-2); padding: 0 var(--s2); }
.tk-intake .full { grid-column: 1 / -1; }
.req { color: var(--danger); }
.tk-dups { border-color: var(--warn); }

/* ticket detail */
.tk-formdata { padding-left: 38px; margin: 0 0 var(--s3); }
.tk-ai { border-color: color-mix(in srgb, var(--violet) 35%, var(--border)); }
.tk-ai-block { display: grid; gap: var(--s2); }
.tk-ai-block + .tk-ai-block { border-top: 1px solid var(--border); padding-top: var(--s4); }
.tk-ai-label { display: inline-flex; align-items: center; gap: 6px; font-size: 12px; font-weight: 600; letter-spacing: .02em; color: var(--muted); }
.tk-ai-label.claude { color: var(--accent-text); }
.tk-ai-text { white-space: pre-wrap; margin: 0; overflow-wrap: anywhere; }
.tk-ai-grid { display: grid; gap: var(--s3); }
.tk-ai-parts { border: 0; margin: 0; padding: 0; display: grid; gap: var(--s2); min-width: 0; }
.tk-ai-parts .label { display: inline-block; min-width: 72px; color: var(--muted); font-weight: 600; font-size: 12px; }
.tk-internal-files .card { border-style: dashed; }
.tk-history > summary { list-style: none; cursor: pointer; }
.tk-history > summary::-webkit-details-marker { display: none; }
.tk-history > summary h2::after { content: ""; display: inline-block; width: 6px; height: 6px; margin-left: 10px; border-right: 1.75px solid var(--muted); border-bottom: 1.75px solid var(--muted); transform: rotate(-45deg); vertical-align: 2px; transition: transform .15s; }
.tk-history[open] > summary h2::after { transform: rotate(45deg); }
.tk-activity { list-style: none; margin: 0; padding: 0 var(--s5) var(--s4); display: grid; gap: 2px; }
.tk-activity li { display: flex; gap: var(--s3); align-items: baseline; padding: 6px 0; border-bottom: 1px dashed var(--border); font-size: 13.5px; flex-wrap: wrap; }
.tk-activity li:last-child { border-bottom: 0; }
.tk-act-icon { color: var(--muted); flex: none; transform: translateY(2px); }
.tk-act-internal .tk-act-icon { color: var(--warn); }
.tk-act-sla .tk-act-icon { color: var(--danger); }
.tk-act-suggestion .tk-act-icon { color: var(--accent); }
.tk-comms { display: flex; flex-wrap: wrap; gap: var(--s2) var(--s3); align-items: center; }
.tk-draft > summary { font-weight: 500; }

/* queues admin */
.tk-cat { padding: var(--s3) 0; border-bottom: 1px solid var(--border); display: grid; gap: 6px; }
.tk-subcats { margin: 0; padding-left: var(--s5); font-size: 13.5px; color: var(--text-2); }
.tk-sub > summary { font-weight: 500; font-size: 13px; }
.tk-rules { margin: 0; padding-left: var(--s5); display: grid; gap: var(--s2); }
.tk-rules li { display: flex; gap: var(--s3); align-items: flex-start; }
.mono { font-family: var(--font-mono); font-size: 13px; }

/* catalogue */
.tk-catalogue { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 360px), 1fr)); gap: var(--s5); align-items: start; }
.tk-sla-line { display: flex; flex-wrap: wrap; gap: var(--s2) var(--s4); align-items: center; font-size: 13.5px; }
.tk-sla-line .icon { color: var(--accent); vertical-align: -2px; margin-right: 4px; }
.tk-offer { list-style: none; margin: 0; padding: 0; display: grid; gap: 4px; }
.tk-offer a { display: grid; gap: 1px; padding: 8px var(--s3); border-radius: 10px; color: var(--text); text-decoration: none; border: 1px solid transparent; }
.tk-offer a:hover { background: var(--accent-soft); }
.tk-offer a:focus-visible { box-shadow: var(--focus); }
.tk-offer-title { font-weight: 600; }

/* changes */
.tk-change { flex-wrap: wrap; }
.tk-change .title { display: block; }
.kind-chip.kind-emergency { background: var(--danger-soft); color: var(--danger); }
.kind-chip.kind-standard { background: var(--good-soft); color: var(--good); }
.tk-cal { padding: 0 var(--s4) var(--s4); overflow-x: auto; }
.tk-cal-head, .tk-cal-week { display: grid; grid-template-columns: repeat(7, minmax(92px, 1fr)); gap: 4px; min-width: 680px; }
.tk-cal-head span { font-size: 12px; font-weight: 600; color: var(--muted); padding: var(--s2) 6px; }
.tk-cal-week + .tk-cal-week { margin-top: 4px; }
.tk-cal-day { min-height: 86px; border: 1px solid var(--border); border-radius: 10px; padding: 6px; display: flex; flex-direction: column; gap: 4px; background: var(--surface); min-width: 0; }
.tk-cal-day.empty-day { background: var(--surface-2); }
.tk-cal-day.today { border-color: var(--violet); box-shadow: inset 0 0 0 1px var(--violet); }
.tk-cal-date { font-size: 12px; color: var(--muted); font-weight: 600; }
.tk-cal-item { display: flex; align-items: center; gap: 4px; font-size: 12px; line-height: 1.3; padding: 3px 6px; border-radius: 6px; color: var(--text); text-decoration: none; background: var(--accent-soft); border-left: 3px solid var(--violet); min-width: 0; }
.tk-cal-item span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.tk-cal-item.kind-standard { background: var(--good-soft); border-left-color: var(--good); }
.tk-cal-item.kind-emergency { background: var(--danger-soft); border-left-color: var(--danger); }
.tk-cal-item.conflict { outline: 1.5px dashed var(--warn); outline-offset: -1px; }
.tk-cal-item:focus-visible { box-shadow: var(--focus); }
.tk-legend { display: flex; flex-wrap: wrap; gap: var(--s4); }
.tk-legend span { display: inline-flex; align-items: center; gap: 6px; }
.tk-legend span::before { content: ""; width: 10px; height: 10px; border-radius: 3px; background: var(--accent-soft); border-left: 3px solid var(--violet); }
.tk-legend .kind-standard::before { background: var(--good-soft); border-left-color: var(--good); }
.tk-legend .kind-emergency::before { background: var(--danger-soft); border-left-color: var(--danger); }
.tk-legend .conflict::before { display: none; }
.tk-legend .conflict { color: var(--warn); }
.tk-prose { white-space: pre-wrap; margin: 0; overflow-wrap: anywhere; }
.tk-approval { display: flex; flex-wrap: wrap; gap: 4px var(--s2); align-items: center; }
.tk-approval p { flex-basis: 100%; margin: 0; }

/* product feedback */
.tk-ideas li { align-items: center; }
.tk-vote { flex: none; }
.tk-vote-btn { display: grid; place-items: center; width: 56px; min-height: 52px; padding: 4px; border-radius: 10px; border: 1px solid var(--border); background: var(--surface); color: var(--text-2); cursor: pointer; font: inherit; }
.tk-vote-btn:hover { border-color: var(--violet); }
.tk-vote-btn:focus-visible { box-shadow: var(--focus); }
.tk-vote-btn.on { background: var(--accent-soft); border-color: var(--violet); color: var(--accent-text); }
.tk-vote-n { font-weight: 700; font-size: 16px; line-height: 1; }
.tk-vote-l { font-size: 11px; }

/* satisfaction */
.tk-figs { display: flex; flex-wrap: wrap; gap: var(--s5); }
.tk-fig { display: grid; gap: 2px; }
.tk-fig strong { font-size: 22px; font-weight: 650; }

@media (max-width: 640px) {
  .tk-pick, .tk-pick-group { grid-template-columns: 1fr; }
  .tk-formdata { padding-left: 0; }
  .tk-activity { padding: 0 var(--s4) var(--s3); }
}
