/* Ücretsiz araç sayfaları (yük yerleştirme rehberi). home.css'teki .mk token'larını kullanır. */

.tl { padding: 116px 0 88px; background: linear-gradient(var(--night) 0, var(--night-2) 300px, var(--alt) 300px); min-height: 70vh; }
.tl .mk-overline { color: var(--teal); }
.tl-title { color: #fff; font-size: clamp(1.7rem, 3.6vw, 2.6rem); line-height: 1.12; letter-spacing: -.03em; font-weight: 800; margin: 0 0 10px; }
.tl-sub { color: #b6c4d3; max-width: 760px; margin: 0 0 28px; line-height: 1.55; }
.tl-sub strong { color: #fff; }

.tl-card { background: var(--surface); border: 1px solid var(--line); border-radius: 16px; padding: 22px; margin: 0 0 16px; box-shadow: 0 18px 40px -32px rgba(7, 19, 31, .55); }
.tl-card h2 { font-size: 17px; margin: 0 0 12px; }
.tl .field label { color: var(--muted); }
.tl .hint { color: var(--muted); font-size: 14px; margin: -4px 0 14px; }

/* Form */
.tl-form { max-width: 980px; }
.tl-grid4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; margin-top: 12px; }
.tl-custom { display: none; }
.tl-card:has(#vehicle option[value="custom"]:checked) .tl-custom { display: grid; }
.tl-row { display: grid; grid-template-columns: 1.4fr 1.5fr repeat(5, .8fr); gap: 10px; align-items: end; border: 1px solid var(--line); border-radius: 12px; padding: 12px 14px 14px; margin: 0 0 12px; }
.tl-row legend { font-size: 12px; font-weight: 700; color: var(--muted); padding: 0 6px; }
.tl-check { grid-column: 1 / span 3; display: flex; gap: 8px; align-items: center; font-size: 14px; font-weight: 600; }
.tl-check input { width: 18px; height: 18px; accent-color: var(--teal); }
.tl-remove { grid-column: -2 / -1; justify-self: end; background: none; border: 1px solid var(--line); color: #b42318; border-radius: 8px; padding: 7px 12px; font: inherit; font-size: 13px; font-weight: 600; cursor: pointer; }
.tl-add { background: none; border: 1px dashed #9fb0c3; color: var(--ink); border-radius: 10px; padding: 10px 14px; font: inherit; font-weight: 600; cursor: pointer; width: 100%; }
.tl-add:hover { border-color: var(--teal); }
.tl .btn-dark { max-width: 980px; }

/* Plan sayfası */
.tl-stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; margin: 0 0 16px; }
.tl-stat { background: var(--surface); border: 1px solid var(--line); border-radius: 14px; padding: 16px 18px; }
.tl-stat small { display: block; font-size: 12.5px; font-weight: 600; color: var(--muted); margin-bottom: 6px; }
.tl-stat strong { font-size: 22px; letter-spacing: -.02em; }
.tl-alert { background: #fff6e5; color: #7a4b00; border: 1px solid #f5d18b; border-radius: 12px; padding: 12px 16px; margin: 0 0 16px; font-weight: 600; }
.tl-alert-strong { background: #fdecea; color: #8a1c12; border-color: #f3b7b0; }
.tl-note { background: rgba(25, 195, 160, .1); border: 1px solid rgba(25, 195, 160, .4); border-radius: 12px; padding: 12px 16px; margin: 0 0 16px; }

.tl-views { display: grid; grid-template-columns: 1fr; gap: 0; }
.tl-views figure { margin: 0 0 16px; }
.tl-views figcaption { font-weight: 700; margin-bottom: 12px; }
.tl-views figcaption span { font-weight: 500; color: var(--muted); font-size: 13px; margin-left: 8px; }
.plan-svg { width: 100%; height: auto; display: block; }
.plan-svg .deck { fill: var(--alt); stroke: #9fb0c3; stroke-width: 2; }
.plan-svg .cab { fill: #c8d3df; }
.plan-svg .unit { stroke: #0b1424; stroke-width: 1.5; stroke-opacity: .55; }
.plan-svg .seq { fill: #0b1424; font-weight: 700; text-anchor: middle; dominant-baseline: central; pointer-events: none; }

.tl-3d { position: relative; height: 440px; padding: 0; overflow: hidden; }
.tl-3d canvas { display: block; width: 100%; height: 100%; border-radius: 16px; }
.tl-3d-bar { position: absolute; left: 14px; top: 14px; display: flex; gap: 8px; align-items: center; }
.tl-3d-bar button { background: #0b1424; color: #fff; border: 0; border-radius: 8px; padding: 9px 14px; font: inherit; font-size: 13.5px; font-weight: 700; cursor: pointer; }
.tl-3d-bar span { font-size: 12.5px; color: var(--muted); background: var(--surface); padding: 4px 8px; border-radius: 6px; }

.tl-table { width: 100%; border-collapse: collapse; font-size: 14.5px; }
.tl-table th { text-align: left; font-size: 12.5px; color: var(--muted); font-weight: 600; padding: 0 10px 10px 0; }
.tl-table td { border-top: 1px solid var(--line); padding: 10px 10px 10px 0; }
.swatch { display: inline-block; width: 14px; height: 14px; border-radius: 4px; border: 1px solid rgba(11, 20, 36, .3); vertical-align: middle; }

.tl-share { margin-top: 4px; }
.chip-teal { background: #19c3a0; color: #04241d; }
.chip-teal:hover { background: #2ad3b0; }

.tl-empty { background: var(--surface); border-radius: 16px; padding: 40px 28px; max-width: 640px; }
.tl-empty h1 { margin: 0 0 8px; }

@media (max-width: 960px) {
    .tl-row { grid-template-columns: repeat(3, 1fr); }
    .tl-name { grid-column: 1 / span 2; }
    .tl-check { grid-column: 1 / span 2; }
    .tl-stats { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 600px) {
    .tl { padding-top: 96px; }
    .tl-in, .tl .mk-in { padding: 0 16px; }
    .tl-grid4 { grid-template-columns: 1fr 1fr; }
    .tl-row { grid-template-columns: 1fr 1fr; }
    .tl-name { grid-column: 1 / -1; }
    .tl-stats { grid-template-columns: 1fr; }
    .tl-stat strong { font-size: 20px; }
    .tl-3d { height: 340px; }
    .tl-table { font-size: 13px; }
    .tl-table th:nth-child(3), .tl-table td:nth-child(3) { display: none; }
}
