/* Today cards round (founder 31 Oct): the tenders-and-news rows, the Etimad card, the toast, the decision buttons and «Remind me later». */
.tn-row { display: grid; grid-template-columns: minmax(0, 1fr); gap: 4px; padding: 12px 0; border-bottom: 1px solid var(--line-2); min-width: 0; }
.tn-row:last-child { border-bottom: 0; }
.tn-title { display: block; font-weight: 600; font-size: 14.5px; line-height: 1.5; overflow-wrap: anywhere; word-break: normal; min-width: 0; }
.tn-meta { display: block; font-size: 12.5px; color: var(--slate); line-height: 1.5; overflow-wrap: anywhere; margin-top: 2px; }
.tn-why { display: block; font-size: 13.5px; line-height: 1.6; overflow-wrap: anywhere; margin-top: 2px; }
.tn-why .k { color: var(--slate); font-size: 12px; display: block; }
.tn-acts { display: flex; gap: 6px; flex-wrap: wrap; margin-top: 6px; align-items: center; }
.tn-row.working { opacity: .72; }
.tn-row.tracked { background: var(--green-50); border-radius: 10px; padding: 12px; }
.tn-undo { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; padding: 10px 12px; border: 1px dashed var(--line); border-radius: 10px; font-size: 13.5px; color: var(--slate); }
.tn-err { color: var(--red); font-size: 13px; margin-top: 4px; }
.tn-example { background: var(--amber-50); color: var(--amber); border: 1px solid var(--amber-200); }

.tk-toast { position: fixed; z-index: 60; inset-inline: 16px; bottom: 16px; max-width: 520px; margin-inline: auto; display: flex; gap: 10px; align-items: center; justify-content: space-between;
  padding: 12px 14px; border-radius: 12px; background: var(--ink, #101322); color: #fff; box-shadow: 0 8px 28px rgba(16, 19, 34, .28); font-size: 14px; line-height: 1.5; }
.tk-toast.err { background: var(--red, #B3261E); }
.tk-toast .btn { background: rgba(255, 255, 255, .16); color: #fff; border-color: transparent; }
.tk-toast-t { min-width: 0; overflow-wrap: anywhere; }

.etm { border: 1px solid var(--royal-200, #C9D2F8); background: var(--royal-50, #EEF1FD); border-radius: 12px; padding: 14px; margin-top: 14px; }
.etm h4 { margin: 0 0 8px; font-size: 15px; }
.etm-steps { margin: 0; padding-inline-start: 22px; display: grid; gap: 8px; font-size: 14px; line-height: 1.55; }
.etm-addr { display: flex; gap: 8px; align-items: center; flex-wrap: wrap; margin-top: 6px; }
.etm-addr .input { font-family: monospace; font-size: 12.5px; width: auto; max-width: 100%; overflow-wrap: anywhere; }
.etm-status { margin: 10px 0 0; font-size: 13px; display: flex; gap: 8px; align-items: center; }
.etm-status .dot { width: 9px; height: 9px; border-radius: 50%; background: var(--amber, #B7791F); flex: none; }
.etm-status.got .dot { background: var(--green, #1E8E5A); }
.etm-how { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 10px; margin-top: 12px; }
.etm-how figure { margin: 0; background: #fff; border: 1px solid var(--line); border-radius: 10px; padding: 10px; display: grid; gap: 6px; justify-items: center; text-align: center; }
.etm-how svg { width: 100%; max-width: 120px; height: auto; }
.etm-how figcaption { font-size: 12.5px; line-height: 1.45; }

.dec-acts { display: flex; gap: 8px; flex-wrap: wrap; align-items: center; margin-top: 10px; }
.dec-acts .btn { flex: 0 0 auto; }
.dec-acts .dec-err { flex: 1 1 100%; }
.snz { position: relative; display: inline-block; }
.snz-panel { margin-top: 8px; border: 1px solid var(--line); border-radius: 12px; padding: 12px; background: var(--surface, #fff); display: grid; gap: 10px; flex: 1 1 100%; }
.snz-panel h5 { margin: 0; font-size: 13.5px; }
.snz-chips { display: flex; gap: 6px; flex-wrap: wrap; }
.snz-note { font-size: 13px; line-height: 1.55; padding: 8px 10px; border-radius: 8px; background: var(--paper-2, #F3F4F6); }
.snz-note.warn { background: var(--amber-50); color: var(--amber); border: 1px solid var(--amber-200); }
.snz-line { font-size: 12.5px; color: var(--slate); }
.snz-back { background: var(--royal-50, #EEF1FD); color: var(--royal, #2F4BE0); }
.snz-row { display: flex; gap: 10px; align-items: flex-start; padding: 12px 0; border-bottom: 1px solid var(--line-2); }
.snz-row:last-child { border-bottom: 0; }

@media (max-width: 520px) {
  .tk-toast { inset-inline: 10px; bottom: 10px; }
  .dec-acts .btn { flex: 1 1 calc(50% - 8px); justify-content: center; }
}

/* #36 instant indication: pressed, busy (spinner), locked against double taps, the top bar, the slow-connection toast */
.tk-pressed { transform: scale(.97); filter: brightness(.94); transition: transform .06s; }
.chip-btn.tk-pressed, .fchip.tk-pressed { background: var(--teal, #0E7C86); color: #fff; border-color: transparent; }
.tk-busy { position: relative; cursor: progress; }
.tk-busy::after { content: ""; display: inline-block; width: 12px; height: 12px; margin-inline-start: 8px; border: 2px solid currentColor; border-inline-end-color: transparent; border-radius: 50%; vertical-align: -2px; animation: tk-spin .7s linear infinite; }
.tk-lock { pointer-events: none; }
@keyframes tk-spin { to { transform: rotate(360deg); } }
#tk-topbar { position: fixed; z-index: 70; top: 0; inset-inline: 0; height: 3px; opacity: 0; pointer-events: none; transition: opacity .15s; }
#tk-topbar.on { opacity: 1; }
#tk-topbar i { display: block; height: 100%; width: 40%; background: var(--teal, #0E7C86); animation: tk-bar 1.1s ease-in-out infinite; }
#tk-topbar.slow i { background: var(--amber, #B26B00); }
@keyframes tk-bar { 0% { margin-inline-start: -40%; } 100% { margin-inline-start: 100%; } }
@media (prefers-reduced-motion: reduce) { .tk-busy::after, #tk-topbar i { animation-duration: 2s; } }
