/* Arac sayfalari (/background-removal, /image-to-text, /audio-to-text, /text-to-speech), kaynak design-prototype/pages/background-removal.html (Utku onayli 2026-11-30) */
.tool { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 48px; align-items: start; }
.tool__form { display: flex; flex-direction: column; gap: 18px; min-width: 0; }
.tool__note { font-size: 14px; color: var(--muted); margin: 0; }
.drop2 { position: relative; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 6px; min-height: 200px; border: 2px dashed color-mix(in srgb, var(--ink) 25%, transparent); border-radius: var(--r-md); background: var(--paper); text-align: center; padding: 24px; cursor: pointer; }
.drop2 input[type=file] { position: absolute; width: 1px; height: 1px; opacity: 0; }
.drop2:focus-within { outline: 2px solid var(--accent); outline-offset: 3px; }
.drop2--text { align-items: stretch; text-align: left; cursor: text; }
.drop2--text textarea { width: 100%; box-sizing: border-box; min-height: 110px; border: 1px solid var(--line); border-radius: 10px; padding: 12px; font: inherit; resize: vertical; background: var(--bg); color: var(--ink); }
.checker { background-color: #fff; background-image: linear-gradient(45deg, #e6e1da 25%, transparent 25%), linear-gradient(-45deg, #e6e1da 25%, transparent 25%), linear-gradient(45deg, transparent 75%, #e6e1da 75%), linear-gradient(-45deg, transparent 75%, #e6e1da 75%); background-size: 24px 24px; background-position: 0 0, 0 12px, 12px -12px, -12px 0; }
.ba .ba__before { clip-path: inset(0 calc(100% - var(--pos)) 0 0); }
.io { display: flex; flex-direction: column; gap: 10px; }
.io__box { background: var(--paper); border: 1px solid var(--line); border-radius: var(--r-lg); padding: 20px; display: flex; flex-direction: column; gap: 10px; min-width: 0; }
.io__box p { margin: 0; font-size: 18px; }
.io__box pre { margin: 0; white-space: pre-wrap; overflow-wrap: anywhere; font: 14px/1.6 var(--mono, ui-monospace), monospace; }
.io__box--out { background: var(--ink); color: var(--bg); border-color: transparent; }
.io__box--out .io__label { color: color-mix(in srgb, var(--bg) 70%, transparent); }
.io__label { font-size: 12px; letter-spacing: .04em; text-transform: uppercase; color: var(--muted); }
.io__arrow { align-self: center; font-size: 22px; color: var(--muted); }
.steps3 { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; margin: 0; padding: 0; list-style: none; }
.steps3 li { background: var(--paper); border: 1px solid var(--line); border-radius: var(--r-lg); padding: 22px; display: flex; flex-direction: column; gap: 6px; }
.steps3 b { font-size: 18px; }
.steps3 span { color: var(--muted); }
.facts { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.fact { background: var(--paper); border: 1px solid var(--line); border-radius: var(--r-lg); padding: 22px; display: flex; flex-direction: column; gap: 10px; min-width: 0; }
.fact__num { font-size: 44px; line-height: 1; font-weight: 500; letter-spacing: -0.01em; }
.fact .code { max-width: 100%; box-sizing: border-box; background: var(--ink); color: var(--bg); border-radius: var(--r-md); padding: 16px; font: 14px/1.6 var(--mono, ui-monospace), monospace; overflow-x: auto; margin: 0; white-space: pre; }
.related { display: flex; flex-wrap: wrap; gap: 12px 20px; margin-top: 24px; }
@media (max-width: 900px) { .tool, .facts, .steps3 { grid-template-columns: 1fr; } }
/* misafir denemesi sonucu (#85) */
.tool__result { display: flex; flex-direction: column; gap: 12px; border: 1px solid var(--line); border-radius: var(--r-lg); padding: 18px; background: var(--paper); }
.tool__preview { border-radius: var(--r-md); overflow: hidden; max-width: 320px; }
.tool__preview img { display: block; width: 100%; height: auto; }
.tool__text { margin: 0; max-height: 320px; overflow: auto; white-space: pre-wrap; overflow-wrap: anywhere; font: 14px/1.6 var(--mono, ui-monospace), monospace; }
.tool__error { margin: 0; font-weight: 500; }
.tool__result audio { width: 100%; }
