/* Demo sayfası: teklif talebine taslak cevap (site.css değişkenleriyle; dış kaynak yok) */
.dt-hero { padding-bottom: 48px; }
.dt-hero .wrap { max-width: 1320px; }
.dt-head { max-width: 760px; margin: 0 auto 36px; text-align: center; }
.dt-head .actions { justify-content: center; }
.dt-note { margin-top: 14px; font-size: .9rem; color: var(--fg-3); }
.dt-stage { display: grid; grid-template-columns: minmax(230px, .95fr) minmax(0, 1.6fr) minmax(280px, 1fr); gap: 16px; align-items: start; }
.dt-panel { background: var(--bg-3); border: 1px solid var(--line); border-radius: 16px; padding: 18px; min-height: 320px; box-shadow: var(--panel-shadow); }
.dt-panel-title { display: flex; justify-content: space-between; align-items: center; gap: 10px; margin: 0 0 14px; font-size: 1rem; font-weight: 700; color: var(--head); }
.dt-panel-title span { font-size: .78rem; font-weight: 600; color: var(--fg-3); white-space: nowrap; }
.dt-status { padding: 3px 9px; border-radius: 999px; border: 1px solid var(--line-2); }
.dt-status.is-run { color: var(--accent); border-color: var(--accent-line); }
.dt-status.is-done { color: #7ad3a1; border-color: rgba(122, 211, 161, .5); }
.dt-mails { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.dt-mails li { position: relative; padding: 12px 12px 26px 14px; border: 1px solid var(--line); border-radius: 12px; background: var(--bg-2); transition: border-color .3s, background .3s; }
.dt-mails li.is-active { border-color: var(--accent-line); background: var(--bg-4); }
.dt-mails li.is-done { opacity: .75; }
.dt-mail-top { display: flex; justify-content: space-between; gap: 8px; font-size: .82rem; color: var(--fg-2); }
.dt-mail-top b { color: var(--head); }
.dt-subject { margin: 4px 0 2px; font-weight: 600; font-size: .92rem; color: var(--fg); }
.dt-snippet { margin: 0; font-size: .82rem; line-height: 1.45; color: var(--fg-3); }
.dt-state { position: absolute; right: 12px; bottom: 8px; font-size: .72rem; font-weight: 600; color: var(--accent); }
.dt-mails li.is-done .dt-state { color: #7ad3a1; }
.dt-log { list-style: none; margin: 0 0 14px; padding: 0; display: grid; gap: 6px; min-height: 120px; }
.dt-log li { display: grid; grid-template-columns: 84px 1fr; gap: 10px; font-size: .84rem; line-height: 1.4; color: var(--fg-2); opacity: 0; transform: translateY(4px); animation: dt-in .35s forwards; }
.dt-log li span:first-child { color: var(--fg-3); font-size: .72rem; padding-top: 2px; }
.dt-log li.is-key { color: var(--fg); }
.dt-log li.is-wait { color: var(--accent); }
@keyframes dt-in { to { opacity: 1; transform: none; } }
.dt-table-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: 12px; background: var(--bg-2); }
.dt-table { width: 100%; border-collapse: collapse; font-size: .76rem; table-layout: fixed; }
.dt-table th, .dt-table td { padding: 7px 8px; text-align: left; border-bottom: 1px solid var(--line); white-space: normal; vertical-align: top; overflow-wrap: anywhere; }
.dt-table th:nth-child(3), .dt-table td:nth-child(3) { width: 52px; }
.dt-table th:nth-child(4), .dt-table td:nth-child(4) { width: 70px; }
.dt-table th { color: var(--fg-3); font-weight: 600; font-size: .72rem; }
.dt-table td { color: var(--fg); }
.dt-table tr:last-child td { border-bottom: 0; }
.dt-table .dt-empty td { color: var(--fg-3); white-space: normal; }
.dt-table tbody tr { animation: dt-in .4s forwards; opacity: 0; }
.dt-table .dt-miss { color: var(--accent-2); font-weight: 600; }
.dt-draft { border: 1px solid var(--line); border-radius: 12px; background: #ffffff; color: #0f111a; padding: 14px; }
.dt-draft-meta { margin: 0 0 10px; font-size: .78rem; color: #4a4f5f; line-height: 1.5; }
.dt-draft-meta b { color: #0f111a; }
.dt-draft-body { font-size: .86rem; line-height: 1.55; white-space: pre-line; min-height: 150px; }
.dt-draft-body .dt-cursor { display: inline-block; width: 2px; height: 1em; background: #5b63e6; vertical-align: -2px; animation: dt-blink 1s steps(2) infinite; }
@keyframes dt-blink { 50% { opacity: 0; } }
.dt-draft-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin-top: 12px; padding-top: 12px; border-top: 1px solid #e4e6ec; }
.dt-draft-actions small { flex-basis: 100%; color: #686d7e; font-size: .76rem; }
.dt-fake { cursor: default; pointer-events: none; }
.dt-draft-actions .btn-primary { background: #0b0c12; color: #ffffff; }
.dt-draft-actions .btn-ghost { color: #0f111a; border-color: #cfd3dc; }
.dt-draft-empty { margin: 0; font-size: .86rem; color: var(--fg-3); }
.dt-sum { display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px; margin: 14px 0 0; }
.dt-sum div { padding: 10px 12px; border: 1px solid var(--line); border-radius: 10px; background: var(--bg-2); }
.dt-sum dt { font-size: .72rem; color: var(--fg-3); }
.dt-sum dd { margin: 2px 0 0; font-size: 1.05rem; font-weight: 700; color: var(--head); }
.dt-replay { margin-top: 14px; }
.dt-steps { list-style: none; margin: 0 0 20px; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.dt-steps li { padding: 18px; border: 1px solid var(--line); border-radius: 14px; background: var(--bg-2); display: grid; gap: 6px; }
.dt-steps b { color: var(--head); }
.dt-steps span { font-size: .92rem; line-height: 1.5; color: var(--fg-2); }
.dt-limits { margin: 0 0 24px; padding-left: 20px; color: var(--fg-2); font-size: .92rem; line-height: 1.6; }
.dt-cta { margin-top: 8px; }
@media (max-width: 1100px) {
  .dt-stage { grid-template-columns: 1fr; }
  .dt-steps { grid-template-columns: 1fr; }
  .dt-panel { min-height: 0; }
}
@media (prefers-reduced-motion: reduce) {
  .dt-log li, .dt-table tbody tr { animation: none; opacity: 1; transform: none; }
  .dt-draft-body .dt-cursor { animation: none; }
}
