/* Demo sayfası: teklif talebine taslak cevap (site.css değişkenleriyle; dış kaynak yok).
   Ana sitenin kâğıt dili: beyaz panel, ince çizgi, 4px köşe; yuvarlak kart kalıbı 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-stage > * { min-width: 0; } /* tablo paneli büyütmesin, kendi içinde kaysın */
.dt-panel { background: var(--beyaz); border: 1px solid var(--cizgi); border-radius: 4px; padding: 18px; min-height: 320px; box-shadow: var(--golge); }
.dt-panel-title { display: flex; justify-content: space-between; align-items: center; gap: 10px; margin: 0 0 14px; padding-bottom: 10px; border-bottom: 1px solid var(--cizgi); font: 600 1.0625rem/1.3 var(--yazi); 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: 4px; 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(--cizgi); border-radius: 4px; background: var(--kagit); 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: 4px; 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-tabs { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 10px; }
.dt-tabs button { padding: 5px 10px; border: 1px solid var(--cizgi-2); border-radius: 4px; background: var(--beyaz); color: var(--murekkep-2); font: 600 .78rem var(--yazi); cursor: pointer; }
.dt-tabs button[aria-selected="true"] { background: var(--murekkep); border-color: var(--murekkep); color: var(--beyaz); }
.dt-draft { border: 1px solid var(--line); border-radius: 4px; background: var(--kagit); color: var(--murekkep); padding: 14px; }
.dt-draft-meta { margin: 0 0 10px; padding-bottom: 8px; border-bottom: 1px dashed var(--cizgi-2); font-size: .78rem; color: var(--murekkep-2); line-height: 1.5; white-space: pre-wrap; }
.dt-draft-meta b { color: var(--murekkep); }
.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: var(--kase); vertical-align: -2px; animation: dt-blink 1s steps(2) infinite; }
.dt-draft-body .dt-miss { color: var(--kalem); font-weight: 600; }
@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 var(--cizgi); }
.dt-draft-actions small { flex-basis: 100%; color: var(--murekkep-3); font-size: .76rem; line-height: 1.45; }
.dt-fake { cursor: default; pointer-events: none; }
.dt-draft-actions .btn-primary { background: var(--murekkep); color: var(--beyaz); }
.dt-draft-actions .btn-ghost { color: var(--murekkep); border-color: var(--cizgi-2); }
.dt-draft-empty { margin: 0; font-size: .86rem; color: var(--fg-3); }
.dt-sum { display: grid; grid-template-columns: repeat(2, 1fr); gap: 0 14px; margin: 14px 0 0; border-top: 1px solid var(--cizgi-2); }
.dt-sum div { padding: 10px 0; border-bottom: 1px solid var(--cizgi); }
.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(--cizgi); border-radius: 4px; background: var(--beyaz); 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: 640px) {
  .dt-table { table-layout: auto; min-width: 520px; }
  .dt-table th { white-space: nowrap; }
}
@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; }
}
