/* WMS ROI / TCO hesaplayıcı (ARC-03) */
*, *::before, *::after { box-sizing: border-box; }
body { margin: 0; }
.tco-body { background: linear-gradient(180deg, #ffffff 0%, #f8fafc 100%); color: #0f172a; }
.tco-page {
  max-width: 1120px;
  margin: 0 auto;
  padding: clamp(1.25rem, 4vw, 2rem) 1rem 3rem;
  font-family: "DM Sans", system-ui, sans-serif;
}
.tco-hero { text-align: center; max-width: 46rem; margin: 0 auto 1.75rem; }
.tco-hero h1 {
  font-family: "Outfit", sans-serif;
  font-size: clamp(1.6rem, 4vw, 2.3rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.15;
  margin: 0 0 0.6rem;
}
.tco-hero h1 em { font-style: normal; color: #2563eb; }
.tco-hero p { color: #475569; line-height: 1.6; margin: 0; }
.tco-layout { display: grid; grid-template-columns: minmax(0, 1fr); gap: 1.5rem; }
@media (min-width: 1000px) { .tco-layout { grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); align-items: start; } .tco-results { position: sticky; top: 1rem; } }
.tco-general { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0.75rem; margin-bottom: 0.5rem; }
@media (max-width: 640px) { .tco-general { grid-template-columns: 1fr; } }
.tco-field { display: flex; flex-direction: column; gap: 0.25rem; font-size: 0.8rem; font-weight: 600; color: #334155; margin-bottom: 0.55rem; }
.tco-field small { font-weight: 400; color: #64748b; font-size: 0.74rem; }
.tco-input { display: flex; align-items: center; border: 1px solid rgba(15, 23, 42, 0.18); border-radius: 9px; background: #fff; overflow: hidden; }
.tco-input:focus-within { outline: 2px solid #2563eb; outline-offset: 1px; }
.tco-input input, .tco-input select {
  flex: 1;
  min-width: 0;
  font: inherit;
  font-size: 0.95rem;
  font-weight: 500;
  color: #0f172a;
  border: 0;
  padding: 0.5rem 0.6rem;
  background: transparent;
  outline: none;
}
.tco-unit { padding: 0 0.6rem; color: #64748b; font-size: 0.85rem; }
.tco-example { font-size: 0.82rem; color: #92400e; background: #fffbeb; border: 1px solid #fde68a; border-radius: 9px; padding: 0.55rem 0.75rem; margin: 0 0 1rem; }
.tco-scens { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0.9rem; }
@media (max-width: 640px) { .tco-scens { grid-template-columns: 1fr; } }
.tco-scen, .tco-ben { border: 1px solid rgba(15, 23, 42, 0.1); border-radius: 12px; background: #fff; padding: 0.8rem 0.9rem 0.4rem; margin: 0 0 1rem; min-width: 0; }
.tco-scen legend, .tco-ben legend { font-family: "Outfit", sans-serif; font-weight: 700; font-size: 1rem; padding: 0 0.35rem; }
.tco-scen[data-scen="a"] legend { color: #1d4ed8; }
.tco-scen[data-scen="b"] legend { color: #b45309; }
.tco-subhead { font-size: 0.72rem; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase; color: #64748b; margin: 0.7rem 0 0.4rem; }
.tco-hint { font-size: 0.8rem; color: #64748b; margin: 0 0 0.6rem; }
.tco-ben-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 0.9rem; }
@media (max-width: 640px) { .tco-ben-grid { grid-template-columns: 1fr; } }
.tco-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 0.6rem; }
.tco-btn { font: inherit; font-size: 0.86rem; font-weight: 600; padding: 0.5rem 0.9rem; border-radius: 9px; border: 1px solid rgba(37, 99, 235, 0.35); background: #fff; color: #1d4ed8; cursor: pointer; }
.tco-btn:hover { background: rgba(37, 99, 235, 0.08); }
.tco-btn:focus-visible { outline: 2px solid #2563eb; outline-offset: 2px; }
.tco-btn--quiet { border-color: rgba(15, 23, 42, 0.15); color: #475569; }
.tco-status { font-size: 0.82rem; color: #15803d; }
.tco-privacy { font-size: 0.78rem; color: #64748b; margin: 0.6rem 0 0; }
.tco-results { min-width: 0; scroll-margin-top: 1rem; }
.tco-jump { margin: 0 0 0.6rem; font-size: 0.86rem; }
.tco-jump button { font: inherit; font-weight: 600; color: #2563eb; background: none; border: 0; padding: 0; cursor: pointer; text-decoration: underline; }
@media (min-width: 1000px) { .tco-jump { display: none; } }
.tco-h2 { font-family: "Outfit", sans-serif; font-size: 1.3rem; margin: 0 0 0.75rem; }
.tco-scroll { overflow-x: auto; }
.tco-table { width: 100%; border-collapse: collapse; font-size: 0.88rem; background: #fff; border: 1px solid rgba(15, 23, 42, 0.1); border-radius: 12px; margin-bottom: 1rem; font-variant-numeric: tabular-nums; }
.tco-table caption { text-align: left; font-weight: 700; font-size: 0.9rem; padding: 0 0 0.4rem; }
.tco-table th, .tco-table td { padding: 0.45rem 0.65rem; border-bottom: 1px solid rgba(15, 23, 42, 0.07); text-align: right; white-space: nowrap; }
.tco-table th[scope="row"] { text-align: left; font-weight: 500; color: #334155; white-space: normal; }
.tco-table thead th { background: #f8fafc; font-size: 0.82rem; text-align: right; }
.tco-table thead th:first-child { text-align: left; }
.tco-strong th, .tco-strong td { font-weight: 700; }
.tco-pos { color: #15803d; }
.tco-neg { color: #b91c1c; }
.tco-warn { font-size: 0.82rem; color: #b91c1c; margin: -0.5rem 0 1rem; }
.tco-chart { margin: 0 0 1rem; background: #fff; border: 1px solid rgba(15, 23, 42, 0.1); border-radius: 12px; padding: 0.7rem 0.7rem 0.5rem; }
.tco-chart figcaption { font-weight: 700; font-size: 0.9rem; margin-bottom: 0.3rem; }
.tco-chart svg { width: 100%; height: auto; display: block; }
.tco-grid { stroke: rgba(15, 23, 42, 0.07); }
.tco-zero { stroke: #64748b; stroke-dasharray: 4 3; }
.tco-axis { font-size: 11px; fill: #64748b; font-family: "DM Sans", system-ui, sans-serif; }
.tco-line { fill: none; stroke-width: 2.5; }
.tco-line--a { stroke: #2563eb; }
.tco-line--b { stroke: #d97706; stroke-dasharray: 7 4; }
.tco-legend { font-size: 0.82rem; color: #334155; display: flex; flex-wrap: wrap; gap: 0.35rem 0.5rem; align-items: center; }
.tco-key { display: inline-block; width: 22px; height: 0; border-top: 3px solid #2563eb; margin-left: 0.4rem; }
.tco-key--b { border-top: 3px dashed #d97706; }
.tco-method { max-width: 52rem; margin: 2.5rem auto 0; font-size: 0.92rem; line-height: 1.65; color: #334155; }
.tco-method h2 { font-family: "Outfit", sans-serif; font-size: 1.25rem; color: #0f172a; }
.tco-method code { font-size: 0.85em; background: #f1f5f9; padding: 0.05rem 0.3rem; border-radius: 4px; }
.tco-method a { color: #2563eb; }
.tco-body .home-foot { text-align: center; font-size: 0.8rem; color: #64748b; padding: 1.5rem 1rem 2.5rem; border-top: 1px solid rgba(15, 23, 42, 0.08); }
@media print {
  #site-header-mount, .site-header, .tco-actions, .tco-privacy, .home-foot { display: none !important; }
  .tco-layout { grid-template-columns: 1fr; }
  .tco-results { position: static; break-before: page; }
  .tco-page { padding: 0; }
  .tco-table, .tco-chart, .tco-scen, .tco-ben { break-inside: avoid; }
}
