/* Falcon Apply: the Tailor side. Lives in #tailor-mount (380 px, beside the resume paper). Tokens from app.css. */
#tailor-mount { height: 100%; min-height: 0; }
.tl { display: flex; flex-direction: column; height: 100%; min-height: 0; background: var(--desk); }
.tl-head { flex: 0 0 auto; }
.tl-head h2 { font-size: var(--t-20); font-variant-numeric: tabular-nums; overflow-wrap: anywhere; }
.tl-body { flex: 1 1 auto; padding: var(--s-3) var(--s-5) var(--s-5); display: flex; flex-direction: column; gap: var(--s-3); }
.tl-body > .btn { align-self: flex-start; }
.tl-lead { color: var(--ink-2); font-size: var(--t-14); }
.tl-err { color: var(--warn); }
.tl-sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.tl-list { display: flex; flex-direction: column; gap: var(--s-2); }

.tl-card { border: 1px solid var(--line); border-radius: var(--r); background: transparent; padding: var(--s-3);
  display: flex; flex-direction: column; gap: var(--s-2); font-size: var(--t-14); }
.tl-card:hover, .tl-card:focus-within { border-color: var(--line-strong); }
.tl-card h3 { font-size: var(--t-14); font-weight: 600; line-height: 1.35; overflow-wrap: anywhere; }
.tl-fact { font-size: var(--t-13); color: var(--ink-2); font-variant-numeric: tabular-nums; }
.tl-why { display: flex; flex-direction: column; gap: 2px; }
.tl-why-label { font: 600 var(--t-12)/1.3 var(--ui); color: var(--ink-3); }
.tl-why-text { font-size: var(--t-13); color: var(--ink-2); line-height: 1.4; }
.tl-card.is-blocked .tl-diff { opacity: 0.55; }
.tl-ghost { gap: var(--s-2); }
.tl-bar { height: 12px; }
.tl-bar.short { width: 55%; }

.tl-diff { display: flex; flex-direction: column; gap: var(--s-1); }
.tl-moves { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: var(--s-1); }
.tl-moves li { display: flex; align-items: baseline; gap: var(--s-2); min-width: 0; }
.tl-pos { flex: 0 0 auto; min-width: 6.6em; font: 600 var(--t-12)/1.45 var(--ui); color: var(--ink-3);
  white-space: nowrap; font-variant-numeric: tabular-nums; }
.tl-text { flex: 1 1 auto; min-width: 0; font: 400 var(--t-13)/1.45 var(--doc); color: var(--ink); overflow-wrap: anywhere; }
.tl-more { font-size: var(--t-12); color: var(--ink-3); font-variant-numeric: tabular-nums; }
.tl-before, .tl-after { font: 400 var(--t-13)/1.45 var(--doc); overflow-wrap: anywhere; }
.tl-label { font: 600 var(--t-12)/1 var(--ui); color: var(--ink-3); }
.tl-before del { color: var(--ink-3); text-decoration-color: var(--line-strong); }
.tl-after ins { text-decoration: none; color: var(--ink); background: var(--good-wash); }

.tl-acts { display: flex; flex-wrap: wrap; align-items: center; gap: var(--s-2); }
.tl-msg { color: var(--warn); font-size: var(--t-13); }
.tl-row { display: flex; align-items: center; gap: var(--s-2); min-height: 24px; }
.tl-row-title { flex: 1 1 auto; min-width: 0; font-size: var(--t-13); line-height: 1.35; color: var(--ink-2); overflow: hidden;
  display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 2; line-clamp: 2; overflow-wrap: anywhere; }
.tl-card.is-applied, .tl-card.is-skipped { padding: var(--s-2) var(--s-3); }
.tl-mini { min-height: 28px; padding: 0 10px; font-size: var(--t-13); }
.tl-notes { margin: 0; padding-left: 1.1em; display: flex; flex-direction: column; gap: 4px; color: var(--ink-3); font-size: var(--t-13); }
.tl-again { min-height: 32px; font-size: var(--t-13); }

@media (max-width: 819px), (max-height: 599px) {
  #tailor-mount, .tl { height: auto; }
}
