.lts { --lts-accent: #0b7f8f; --lts-text: #1d2327; --lts-muted: #646970; --lts-line: #e2e4e7; --lts-bg: #fff; max-width: 760px; margin: 0 auto; color: var(--lts-text); font-size: 16px; }
.lts * { box-sizing: border-box; }
.lts-form label { display: block; font-weight: 600; margin-bottom: 6px; }
.lts-row { display: flex; gap: 8px; flex-wrap: wrap; }
.lts-row input { flex: 1 1 220px; min-width: 0; padding: 12px 14px; border: 1px solid #c3c4c7; border-radius: 6px; font-size: 16px; text-transform: uppercase; font-family: ui-monospace, Consolas, monospace; letter-spacing: .03em; }
.lts-row input:focus { outline: 2px solid var(--lts-accent); outline-offset: 1px; border-color: var(--lts-accent); }
.lts-row button { padding: 12px 22px; border: 0; border-radius: 6px; background: var(--lts-accent); color: #fff; font-weight: 600; font-size: 16px; cursor: pointer; }
.lts-row button:hover { filter: brightness(1.08); }
.lts-hint { color: var(--lts-muted); font-size: 14px; margin: 8px 0 0; }
.lts-msg { margin-top: 20px; padding: 14px 16px; border-radius: 6px; background: #fcf0e1; color: #6b3a00; }
.lts-card { margin-top: 24px; padding: 22px; border: 1px solid var(--lts-line); border-radius: 10px; background: var(--lts-bg); box-shadow: 0 1px 2px rgba(0,0,0,.04); }
.lts-card.is-cancelled { opacity: .8; }
.lts-card.lts-legacy { border-left: 4px solid #42d6e8; }
.lts-card.lts-legacy h3 { font-size: 19px; line-height: 1.35; margin: 6px 0 0; }
.lts-head { display: flex; justify-content: space-between; align-items: flex-start; gap: 12px; flex-wrap: wrap; }
.lts-head h3 { margin: 4px 0 0; font-size: 20px; line-height: 1.3; }
.lts-num { font-family: ui-monospace, Consolas, monospace; font-weight: 600; color: var(--lts-muted); letter-spacing: .03em; }
.lts-badge { display: inline-block; padding: 4px 12px; border-radius: 14px; font-size: 14px; font-weight: 600; background: #e2f4f6; color: #075e6a; white-space: nowrap; }
.lts-st-oczekuje { background: #fcf0e1; color: #8a4b00; }
.lts-st-gotowe, .lts-st-wyslane, .lts-st-zakonczone { background: #e5f5ec; color: #00602f; }
.lts-st-anulowane { background: #fbeaea; color: #8a1f1f; }
.lts-desc { margin: 12px 0 18px; }
.lts-steps { list-style: none; display: grid; grid-template-columns: repeat(6, 1fr); gap: 4px; margin: 0 0 20px; padding: 0; counter-reset: s; }
.lts-steps li { position: relative; padding-top: 30px; text-align: center; font-size: 12px; line-height: 1.3; color: var(--lts-muted); counter-increment: s; }
.lts-steps li::before { content: counter(s); position: absolute; top: 0; left: 50%; transform: translateX(-50%); width: 24px; height: 24px; line-height: 24px; border-radius: 50%; background: #eef0f2; color: var(--lts-muted); font-weight: 600; z-index: 1; text-align: center; }
.lts-steps li::after { content: ""; position: absolute; top: 11px; left: -50%; width: 100%; height: 2px; background: #eef0f2; }
.lts-steps li:first-child::after { display: none; }
.lts-steps li.done::before { content: "✓"; background: var(--lts-accent); color: #fff; }
.lts-steps li.done::after, .lts-steps li.current::after { background: var(--lts-accent); }
.lts-steps li.current::before { background: var(--lts-accent); color: #fff; box-shadow: 0 0 0 4px rgba(11,127,143,.18); }
.lts-steps li.current { color: var(--lts-text); font-weight: 600; }
.lts-meta { display: flex; flex-wrap: wrap; gap: 8px 28px; margin: 0 0 16px; }
.lts-meta dt { font-size: 13px; color: var(--lts-muted); }
.lts-meta dd { margin: 0; font-weight: 600; }
.lts-note { padding: 12px 14px; border-left: 3px solid var(--lts-accent); background: #f3fafb; border-radius: 0 6px 6px 0; margin-bottom: 16px; }
.lts-card h4 { margin: 18px 0 8px; font-size: 15px; }
.lts-log { list-style: none; margin: 0; padding: 0; }
.lts-log li { padding: 6px 0; border-top: 1px solid var(--lts-line); font-size: 14px; }
.lts-log time { color: var(--lts-muted); margin-right: 8px; font-variant-numeric: tabular-nums; }
@media (max-width: 560px) {
  .lts-card { padding: 16px; }
  .lts-steps { grid-template-columns: 1fr; gap: 0; }
  .lts-steps li { padding: 4px 0 10px 36px; text-align: left; font-size: 14px; }
  .lts-steps li::before { left: 0; top: 2px; transform: none; }
  .lts-steps li::after { left: 11px; top: -12px; width: 2px; height: 100%; }
}
.lts-fresh { margin: 14px 0 0; font-size: 13px; color: var(--lts-muted); }
.lts-st-brak_odpowiedzi { background: #fcf0e1; color: #8a4b00; }
.lts-cta { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; margin: 0 0 18px; }
.lts-btn { display: inline-block; padding: 10px 18px; border-radius: 6px; background: var(--lts-accent); color: #fff !important; font-weight: 600; text-decoration: none !important; }
.lts-btn:hover { filter: brightness(1.08); }
.lts-btn.ghost { background: transparent; color: var(--lts-accent) !important; border: 1px solid var(--lts-accent); }
.lts-mail { font-size: 13px; color: var(--lts-muted); }
.lts-intro.has-model { display: grid; grid-template-columns: 1fr 200px; gap: 20px; align-items: start; margin-bottom: 6px; }
.lts-model { margin: 0 0 16px; }
.lts-model img { display: block; width: 100%; height: auto; aspect-ratio: 1; object-fit: contain; border: 1px solid var(--lts-line); border-radius: 8px; background: #fff; }
.lts-model figcaption { margin-top: 6px; font-size: 12px; color: var(--lts-muted); text-align: center; }
@media (max-width: 560px) {
  .lts-intro.has-model { grid-template-columns: 1fr; gap: 0; }
  .lts-intro.has-model .lts-model { order: -1; max-width: 240px; margin: 12px auto 4px; }
}
