/* t-inst.css (v4, 2026-11-17): sunucu araçlarının araç kutusu (.inst.t4) + araç başlığı (.t4-top).
   Kavram: "tarayıcı camı". Araç tek parça bir uygulama penceresi; solda cam bir yatak (dosyan oraya konur, üstünden
   onaylı tarama ışığı geçer), sağda kumanda paneli. Durumlar tool.js'in: .inst[data-state]. Bu dosya yalnız görünüş;
   hiçbir id / data-* / durum sınıfının anlamı değişmez. Renkler: kırmızı = marka / dosyan, mavi = yolda / işleniyor,
   yeşil = yalnız "silindi". Hareket: transform / opacity / clip-path; html.m-tfx (m-tool.js) kapalıysa son hâl. */
.t4, .t4-top {
  --t4-line: var(--line, #E3E6EC); --t4-line2: var(--line-2, #CED3DC); --t4-ink: var(--ink, #121418); --t4-ink2: var(--ink-2, #4A505C); --t4-ink3: var(--ink-3, #6B7280);
  --t4-red: #E3262B; --t4-blue: #2E6BE6; --t4-green: #1E8A4F; --t4-bg2: #F7F8FA; --t4-bg3: #EFF1F5;
  --t4-out: cubic-bezier(.22, .8, .24, 1); --t4-io: cubic-bezier(.65, 0, .35, 1); --t4-drop: cubic-bezier(.3, 1.25, .5, 1);
  --t4-mono: "JetBrains Mono", ui-monospace, monospace; --t4-disp: "Plus Jakarta Sans", var(--f-disp, system-ui), sans-serif;
}
html:lang(ar) .t4, html:lang(ar) .t4-top { --t4-disp: "Noto Sans Arabic", "Plus Jakarta Sans", system-ui, sans-serif; }

/* ============================== araç başlığı ============================== */
.t4-top.v3-tt { padding-top: 18px !important; }
.t4-top .v3-crumbs { margin-bottom: 0 !important; }
.t4-top .v3-crumbs li { display: inline-flex; align-items: center; min-height: 28px; }
.t4-top .v3-th { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 22px; align-items: center; padding-block: 16px 28px; }
.t4-top .v3-th__ico { display: grid; place-items: center; width: 132px; height: 96px; border-radius: 18px; border: 1px solid var(--t4-line);
  background: linear-gradient(180deg, #fff, var(--t4-bg2)); box-shadow: 0 1px 2px rgba(18, 20, 24, .04), 0 14px 30px -18px rgba(18, 20, 24, .22); }
.t4-top .v3-th__ico img { height: 56px; width: auto; }
.t4-top .v3-h1 { font-family: var(--t4-disp); font-size: clamp(28px, 3.5vw, 44px); line-height: 1.08; letter-spacing: -.035em; }
.t4-top .v3-h1__2 { display: inline-block; font-size: .5em; letter-spacing: -.01em; color: var(--t4-ink3); }
.t4-top .v3-lead { margin-top: 8px; font-size: 16.5px; line-height: 1.5; max-width: 62ch; text-wrap: pretty; }
.t4-facts { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 14px; margin-top: 12px; }
.t4-facts .v3-mode { margin: 0; }
.t4-fact { position: relative; margin: 0; font-size: 13.5px; font-weight: 500; color: var(--t4-ink2); padding-inline-start: 14px; }
.t4-fact::before { content: ""; position: absolute; inset-inline-start: 0; top: 50%; width: 4px; height: 4px; margin-top: -2px; border-radius: 50%; background: var(--t4-line2); }
@media (max-width: 720px) {
  .t4-top.v3-tt { padding-top: 10px !important; }
  .t4-top .v3-th { grid-template-columns: minmax(0, 1fr); gap: 0; padding-block: 8px 18px; }
  .t4-top .v3-th__ico { display: none; }
  .t4-top .v3-h1 { font-size: 27px; }
  .t4-top .v3-lead { font-size: 15px; margin-top: 6px; }
  .t4-facts { margin-top: 10px; gap: 4px 12px; }
  .t4-facts .v3-mode { font-size: 12.5px; padding: 4px 10px; }
  .t4-fact { font-size: 12.5px; }
}

/* ============================== pencere ============================== */
.inst.t4 { display: grid !important; grid-template-columns: minmax(0, 1fr) 352px; grid-template-rows: auto auto 1fr; column-gap: 0; align-items: stretch;
  background: #fff !important; border: 1px solid var(--t4-line) !important; border-radius: 20px !important; overflow: clip !important;
  box-shadow: 0 1px 2px rgba(18, 20, 24, .04), 0 2px 6px rgba(18, 20, 24, .03), 0 32px 64px -32px rgba(18, 20, 24, .22) !important; }
.t4 .inst__head { grid-column: 1 / -1 !important; border: 0 !important; border-bottom: 1px solid var(--t4-line) !important; border-radius: 0 !important; box-shadow: none !important; background: #fff !important; }
.t4 > .inapp { grid-column: 1 / -1; border: 0; }
.t4 .inst__stage { grid-column: 1; grid-row: 3; border: 0 !important; border-radius: 0 !important; box-shadow: none !important; min-height: 452px; background: #fff !important; display: flex; flex-direction: column; }
.t4 .inst__stage > .pane { flex: 1 1 auto; }
.t4 .inst__side { grid-column: 2 !important; grid-row: 3 !important; border: 0 !important; border-inline-start: 1px solid var(--t4-line) !important; border-radius: 0 !important; box-shadow: none !important;
  background: linear-gradient(180deg, #fff, #FBFBFC) !important; padding: 22px !important; margin: 0 !important; }
.t4 .inst__ed { grid-column: 1 / -1; }
.inst.t4[data-state="error"] .inst__stage { border-color: var(--t4-line) !important; }

/* ---------- adımlar: ince bir yol şeridi ---------- */
.t4 .inst__steps { padding-inline: 8px; }
.t4 .inst__steps li { flex: 1 1 0; min-width: 0; padding: 15px 14px !important; gap: 10px; font: 600 13.5px/1.2 var(--f-sans) !important; white-space: nowrap; }
.t4 .inst__steps li .inst__sn { width: 24px; height: 24px; border-width: 1.5px; font: 600 11.5px/1 var(--t4-mono) !important; background: #fff; }
.t4 .inst__steps li[aria-current="step"] .inst__sn { border-color: var(--t4-red); color: var(--t4-red) !important; box-shadow: 0 0 0 4px rgba(227, 38, 43, .10); }
.inst.t4:is([data-state="uploading"], [data-state="processing"]) .inst__steps li[aria-current="step"] .inst__sn { border-color: var(--t4-blue); color: var(--t4-blue) !important; box-shadow: 0 0 0 4px rgba(46, 107, 230, .12); }
/* biten adım: koyu (yeşil yalnız "silindi" içindir) */
.t4 .inst__steps li.is-done .inst__sn { background: var(--t4-ink) !important; border-color: var(--t4-ink) !important; color: transparent !important; }
.t4 .inst__steps li.v3-stepdel.m-done .inst__sn { background: var(--t4-green) !important; border-color: var(--t4-green) !important; }
.t4 .inst__steps li.v3-stepdel.m-done { color: var(--t4-green) !important; }
.t4 .m-rail__done { background: var(--t4-ink); }
.inst.t4.m-gone .m-rail__done { background: var(--t4-green); }
.inst.t4:is([data-state="uploading"], [data-state="processing"]) .m-rail__cur { background: rgba(46, 107, 230, .18); }
.inst.t4:is([data-state="uploading"], [data-state="processing"]) .m-rail__p { background: var(--t4-blue); }
.m-tfx .inst.t4:is([data-state="uploading"], [data-state="processing"]) .m-steps li[aria-current="step"] .m-sn::before { border-color: var(--t4-blue); }

/* ============================== 1 · boşta: tarayıcı camı ============================== */
.t4 .pane--idle { padding: 18px !important; flex-direction: column; }
.inst.t4[data-state="idle"] .pane--idle { display: flex; }
.t4 .drop { flex: 1 1 auto; width: 100%; min-height: 414px; display: flex !important; flex-direction: column; align-items: center; justify-content: center; text-align: center;
  padding: 34px 24px 30px !important; border: 0 !important; border-radius: 14px !important; cursor: pointer; overflow: hidden; isolation: isolate; transform: none !important; animation: none !important;
  background: radial-gradient(120% 90% at 50% 0%, #FFFFFF 0%, #F6F7FA 46%, #ECEEF3 100%) !important;
  box-shadow: inset 0 0 0 1px var(--t4-line), inset 0 1px 0 1px #fff, inset 0 -18px 34px -26px rgba(18, 20, 24, .28);
  transition: box-shadow .35s var(--t4-out) !important; }
/* camdaki yansıma: sabit, üstüne gelince bir kez süzülür */
.t4 .drop::before { content: ""; position: absolute; inset: -20% auto -20% -30%; width: 46%; z-index: 0; pointer-events: none; border-radius: 0; margin: 0; height: auto; top: -20%; left: -30%;
  background: linear-gradient(100deg, transparent 0%, rgba(255, 255, 255, .0) 20%, rgba(255, 255, 255, .85) 50%, rgba(255, 255, 255, 0) 80%, transparent 100%);
  transform: translate3d(60%, 0, 0) skewX(-14deg); opacity: .7; animation: none !important; }
.m-tfx .t4 .drop:hover::before { transition: transform 1.4s var(--t4-out); transform: translate3d(330%, 0, 0) skewX(-14deg); }
.t4 .drop::after { display: none !important; }
.t4 .drop__fx { display: none !important; }
.t4 .drop:hover, .t4 .drop.is-over { background-color: transparent !important; }
.t4 .drop:hover { box-shadow: inset 0 0 0 1px var(--t4-line2), inset 0 1px 0 1px #fff, inset 0 -18px 34px -26px rgba(18, 20, 24, .34); }
.t4 .drop:focus-visible { outline: 2px solid var(--t4-blue); outline-offset: 3px; }
/* köşe işaretleri: camın kayıt köşeleri; üstüne gelince / sürüklerken kâğıda doğru toplanır */
.t4 .drop__cm { display: block !important; position: absolute; width: 22px; height: 22px; border: 0 solid var(--t4-line2); background: none !important; z-index: 1; pointer-events: none; border-radius: 0;
  transition: transform .5s var(--t4-out), border-color .3s; opacity: 1; }
.t4 .drop__cm--a { top: 16px; left: 16px; right: auto; bottom: auto; border-top-width: 2px; border-left-width: 2px; border-top-left-radius: 6px; }
.t4 .drop__cm--b { top: 16px; right: 16px; left: auto; bottom: auto; border-top-width: 2px; border-right-width: 2px; border-top-right-radius: 6px; }
.t4 .drop__cm--c { bottom: 16px; left: 16px; top: auto; right: auto; border-bottom-width: 2px; border-left-width: 2px; border-bottom-left-radius: 6px; }
.t4 .drop__cm--d { bottom: 16px; right: 16px; top: auto; left: auto; border-bottom-width: 2px; border-right-width: 2px; border-bottom-right-radius: 6px; }
.t4 .drop:hover .drop__cm--a { transform: translate3d(6px, 6px, 0); } .t4 .drop:hover .drop__cm--b { transform: translate3d(-6px, 6px, 0); }
.t4 .drop:hover .drop__cm--c { transform: translate3d(6px, -6px, 0); } .t4 .drop:hover .drop__cm--d { transform: translate3d(-6px, -6px, 0); }
.t4 .drop.is-over { background-image: radial-gradient(120% 90% at 50% 0%, #FFFFFF 0%, #FFF4F4 50%, #FDE6E6 100%) !important; background-size: auto !important; background-repeat: no-repeat !important; background-position: 0 0 !important;
  box-shadow: inset 0 0 0 1.5px var(--t4-red), inset 0 -18px 34px -26px rgba(227, 38, 43, .5); }
.t4 .drop.is-over .drop__cm { border-color: var(--t4-red); }
.t4 .drop.is-over .drop__cm--a { transform: translate3d(14px, 14px, 0); } .t4 .drop.is-over .drop__cm--b { transform: translate3d(-14px, 14px, 0); }
.t4 .drop.is-over .drop__cm--c { transform: translate3d(14px, -14px, 0); } .t4 .drop.is-over .drop__cm--d { transform: translate3d(-14px, -14px, 0); }
.t4 .drop.v3-got::before { animation: none !important; }
.t4 .drop__ico { margin-bottom: 4px !important; }
.t4 .drop:hover .drop__ico, .t4 .drop.is-over .drop__ico { transform: none !important; }
.t4 .drop__t { margin: 0 0 4px; font-family: var(--t4-disp) !important; font-size: 24px !important; line-height: 1.2; font-weight: 800 !important; letter-spacing: -.03em !important; color: var(--t4-ink); transition: color .25s; }
.t4 .drop.is-over .drop__t { color: var(--t4-red); }
.t4 .drop__btn { margin-top: 14px; min-height: 52px; padding-inline: 26px !important; border-radius: 12px !important; font-size: 16px !important; gap: 12px;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .28), 0 1px 2px rgba(227, 38, 43, .35), 0 10px 22px -10px rgba(227, 38, 43, .55) !important; transition: transform .25s var(--t4-out), box-shadow .25s !important; }
.t4 .drop:hover .drop__btn { transform: translate3d(0, -1px, 0); box-shadow: inset 0 1px 0 rgba(255, 255, 255, .28), 0 1px 2px rgba(227, 38, 43, .35), 0 16px 28px -12px rgba(227, 38, 43, .6) !important; }
.t4 .drop:active .drop__btn { transform: translate3d(0, 1px, 0) scale(.985); }
.t4 .drop__hint { margin-top: 14px !important; font-size: 13.5px !important; color: var(--t4-ink3) !important; }
.t4 .drop__dev { margin-top: 10px; }
.t4 .drop__err:not([hidden]) { display: flex; align-items: flex-start; gap: 10px; margin: 12px 0 0; padding: 12px 14px; border-radius: 12px; background: #FDECEC; color: #A3151A; border: 1px solid rgba(227, 38, 43, .22); font-size: 14.5px; line-height: 1.45; font-weight: 500; }
.m-tfx .t4 .drop__err:not([hidden]) { animation: t4-rise .45s var(--t4-out) backwards; }

/* ============================== 2 · seçildi: dosya camın üstünde ============================== */
.t4 .pane--sel { padding: 18px !important; }
.inst.t4:not([data-multi]) .pane--sel { display: none; flex-direction: column; justify-content: center; align-items: stretch; border-radius: 14px; margin: 18px; padding: 30px clamp(18px, 4vw, 44px) !important;
  background: radial-gradient(120% 90% at 50% 0%, #FFFFFF 0%, #F6F7FA 46%, #ECEEF3 100%); box-shadow: inset 0 0 0 1px var(--t4-line), inset 0 -18px 34px -26px rgba(18, 20, 24, .28); }
.inst.t4:not([data-multi])[data-state="selected"] .pane--sel { display: flex; }
.t4 .chip { position: relative; display: grid !important; grid-template-columns: auto minmax(0, 1fr) auto; align-items: center; gap: 6px 22px; padding: 22px 18px 22px 22px !important; margin: 26px 0 0 !important;
  background: #fff !important; border: 1px solid var(--t4-line) !important; border-radius: 16px !important; animation: none !important;
  box-shadow: 0 1px 2px rgba(18, 20, 24, .05), 0 18px 36px -20px rgba(18, 20, 24, .28) !important; }
.t4 .chip__sheet { width: 54px; height: 68px; border-radius: 6px; }
.t4 .chip.t4-has-thumb .chip__sheet { display: none !important; }
.t4-thumb { display: none; position: relative; width: 132px; height: 150px; margin-block: -58px -14px; pointer-events: none; }
.t4 .chip.t4-has-thumb .t4-thumb { display: block; }
.t4-thumb .h3--mini { position: absolute; left: 50%; top: 50%; width: 200px; height: 150px; margin: -78px 0 0 -100px; }
.t4-thumb .h3--mini .h3-page { scale: .5; animation: none; }
.t4-thumb .h3--mini .h3-floor { top: 98%; width: 130px; margin-left: -65px; }
.t4 .chip__meta { min-width: 0; }
.t4 .chip__k { margin: 0 0 3px; font: 600 12px/1.3 var(--f-sans) !important; letter-spacing: .02em !important; color: var(--t4-ink3) !important; }
.t4 .chip__name { margin: 0; font: 600 19px/1.3 var(--t4-mono) !important; letter-spacing: -.02em !important; color: var(--t4-ink); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.t4 .chip__size { margin: 6px 0 0; font-size: 13.5px !important; color: var(--t4-ink2); }
.t4 .chip__size [data-chip-size] { font-family: var(--t4-mono); font-size: 13px; }
.t4 .chip__ok { display: inline-flex; align-items: center; gap: 4px; color: var(--t4-ink) !important; font-weight: 600; }
.t4 .chip__x { width: 40px; height: 40px; display: grid; place-items: center; border-radius: 50% !important; border: 1px solid var(--t4-line) !important; background: #fff !important; color: var(--t4-ink2); transition: background-color .2s, color .2s, transform .25s var(--t4-out); }
.t4 .chip__x:hover { background: var(--t4-bg3) !important; color: var(--t4-ink); transform: rotate(90deg); }
.t4 .sel__hint { margin: 22px 0 0 !important; font-family: var(--t4-disp); font-size: 19px !important; font-weight: 700; letter-spacing: -.02em; color: var(--t4-ink) !important; }
.t4 .sel__re { margin-top: 4px !important; align-self: flex-start; min-height: 40px; font-size: 14.5px; }
.t4 .sel__err:not([hidden]) { margin-top: 12px; }
/* iniş: kâğıt yukarıdan cama bırakılır (ağırlık: hafif dönme, tek küçük yaylanma); kart altından belirir */
.m-tfx .inst.t4[data-state="selected"][data-m-from="idle"] .chip { animation: t4-card .5s var(--t4-out) backwards !important; }
.m-tfx .inst.t4[data-state="selected"] .t4-thumb.is-land { animation: t4-land .62s var(--t4-drop) backwards; }
.m-tfx .inst.t4[data-state="selected"][data-m-from="idle"] :is(.sel__hint, .sel__re) { animation: t4-rise .5s .22s var(--t4-out) backwards; }
@keyframes t4-card { from { opacity: 0; transform: translate3d(0, 10px, 0) scale(.985); } }
@keyframes t4-land { 0% { opacity: 0; transform: translate3d(0, -46px, 0) rotate(-7deg) scale(1.12); } 55% { opacity: 1; } 100% { transform: none; } }
@keyframes t4-rise { from { opacity: 0; transform: translate3d(0, 8px, 0); } }

/* ---------- çok dosyalı liste: düzenli bir deste ---------- */
.t4 .flist { animation: none !important; }
.t4[data-multi] .pane--sel { padding: 22px 22px 24px !important; }
.t4 .flist__head { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 2px; }
.t4 .flist__head .chip__k { margin: 0; font: 700 15px/1.3 var(--t4-disp) !important; letter-spacing: -.01em !important; color: var(--t4-ink) !important; }
.t4 .flist__head .mono-n { font-family: var(--t4-mono); font-weight: 500; font-size: 13px; color: var(--t4-ink2); }
.t4 .flist__clear { min-height: 40px; font-size: 13.5px; color: var(--t4-ink2); }
.t4 .flist__hint { margin: 0 0 12px; font-size: 13.5px; color: var(--t4-ink3); }
.t4 .flist__l { max-height: min(62vh, 560px); overflow-y: auto; overscroll-behavior: contain; display: grid; gap: 8px; margin: 0; padding: 10px; list-style: none; border: 0 !important; border-radius: 14px; background: linear-gradient(180deg, #F6F7FA, #EEF0F4); box-shadow: inset 0 0 0 1px var(--t4-line); }
.t4 .flist__l .fi { position: relative; display: grid !important; grid-template-columns: 22px auto minmax(0, 1fr) auto; align-items: center; gap: 12px; padding: 10px 10px 10px 12px !important; margin: 0;
  background: #fff !important; border: 1px solid var(--t4-line) !important; border-radius: 12px !important; box-shadow: 0 1px 2px rgba(18, 20, 24, .05);
  transition: transform .28s var(--t4-out), box-shadow .28s, border-color .2s, opacity .2s; }
@media (hover: hover) and (pointer: fine) {
  .t4 .flist__l .fi { cursor: grab; }
  .t4 .flist__l .fi:hover { border-color: var(--t4-line2) !important; box-shadow: 0 1px 2px rgba(18, 20, 24, .05), 0 12px 22px -14px rgba(18, 20, 24, .3); transform: translate3d(0, -1px, 0); }
  .t4 .flist__l .fi:active { cursor: grabbing; }
}
.t4 .fi__n { display: grid; place-items: center; width: 22px; height: 22px; border-radius: 50%; background: var(--t4-bg3); font: 600 11.5px/1 var(--t4-mono) !important; color: var(--t4-ink2) !important; }
/* satırdaki küçük kâğıt */
.t4 .fi > .sheet { position: relative; width: 30px !important; height: 38px !important; border-radius: 4px !important; background: #fff !important; border: 1px solid var(--t4-line2) !important; box-shadow: 2px 2px 0 -1px #fff, 2px 2px 0 0 var(--t4-line2);
  clip-path: none !important; overflow: visible; }
.t4 .fi > .sheet::before { content: "" !important; position: absolute; inset: 7px 6px auto 6px; width: auto; height: 2px; border-radius: 1px; background: var(--t4-line2) !important; box-shadow: 0 5px 0 var(--t4-line), 0 10px 0 var(--t4-line); border: 0; transform: none; }
.t4 .fi > .sheet::after { content: "" !important; position: absolute; left: 5px; bottom: 5px; top: auto; right: auto; width: 13px; height: 5px; padding: 0; border-radius: 2px; background: var(--t4-red) !important; border: 0; transform: none; }
.t4 .fi__th { width: 38px !important; height: 38px !important; border-radius: 6px !important; object-fit: cover; border: 1px solid var(--t4-line); background: var(--t4-bg3); display: grid; place-items: center; font: 700 9px/1 var(--t4-mono); color: var(--t4-ink2); }
.t4 .fi__main { min-width: 0; display: grid; gap: 2px; }
.t4 .fi__name { font: 600 14px/1.35 var(--t4-mono) !important; letter-spacing: -.02em; color: var(--t4-ink); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.t4 .fi__size { font: 500 12px/1.3 var(--t4-mono) !important; color: var(--t4-ink3) !important; }
.t4 .fi__acts { display: flex; gap: 4px; }
.t4 .fi__acts button { width: 40px; height: 40px; display: grid; place-items: center; border: 0 !important; border-radius: 10px !important; background: transparent !important; color: var(--t4-ink2); transition: background-color .2s, color .2s, transform .2s var(--t4-out); }
.t4 .fi__acts button:hover:not(:disabled) { background: var(--t4-bg3) !important; color: var(--t4-ink); }
.t4 .fi__acts button:active:not(:disabled) { transform: scale(.9); }
.t4 .fi__acts button:disabled { opacity: .28; }
.t4 .fi__acts button[data-act="rm"]:hover { background: #FDECEC !important; color: var(--t4-red); }
/* sürükleme: tutulan satır soluklaşıp küçülür, bırakılacak yerde mavi bir çizgi açılır */
.t4 .flist__l .fi.is-drag { opacity: .45; transform: scale(.985); border-style: dashed !important; box-shadow: none; }
.t4 .flist__l .fi.is-before::before, .t4 .flist__l .fi.is-after::before { content: ""; position: absolute; inset-inline: 6px; height: 3px; border-radius: 3px; background: var(--t4-blue); box-shadow: 0 0 0 3px rgba(46, 107, 230, .16); pointer-events: none; }
.t4 .flist__l .fi.is-before::before { top: -6.5px; } .t4 .flist__l .fi.is-after::before { bottom: -6.5px; }
.t4 .flist__l .fi.is-before { border-color: var(--t4-line) !important; border-top-color: var(--t4-line) !important; }
.t4 .flist__add { margin-top: 12px; min-height: 46px; border-radius: 12px !important; border: 1.5px dashed var(--t4-line2) !important; background: #fff !important; width: 100%; justify-content: center; gap: 10px; color: var(--t4-ink) !important; transition: border-color .2s, background-color .2s !important; }
.t4 .flist__add:hover { border-color: var(--t4-ink2) !important; background: var(--t4-bg2) !important; transform: none !important; }

/* ============================== kumanda paneli ============================== */
.t4 .side { gap: 0; }
.t4 :is(.seg__lg, .side__k) { font: 700 13px/1.4 var(--f-sans) !important; color: var(--t4-ink) !important; letter-spacing: -.005em !important; }
.t4 .seg { margin: 0 0 18px; padding: 0; border: 0; min-width: 0; }
.t4 .seg__lg { padding: 0; margin-bottom: 8px; }
.t4 .seg__row { position: relative; padding: 3px; gap: 2px; border: 0 !important; border-radius: 12px !important; background: var(--t4-bg3) !important; overflow: visible; box-shadow: inset 0 0 0 1px rgba(18, 20, 24, .04); }
.t4 .seg__o { position: relative; z-index: 1; border: 0 !important; border-radius: 9px !important; background: transparent !important; color: var(--t4-ink2) !important; min-height: 40px !important; cursor: pointer; transition: color .25s; }
.t4 .seg__o:hover { color: var(--t4-ink) !important; }
.t4 .seg__o:has(input:checked) { color: var(--t4-ink) !important; background: transparent !important; }
.t4 .seg__row:not(.m-seg) .seg__o:has(input:checked) { background: #fff !important; box-shadow: 0 1px 2px rgba(18, 20, 24, .12), 0 4px 10px -4px rgba(18, 20, 24, .18); }
.t4 .seg__o:has(input:focus-visible) { outline: 2px solid var(--t4-blue); outline-offset: 1px; }
.t4 .seg__o:has(input:disabled) { opacity: .45; cursor: not-allowed; }
.t4 .m-seg__ind { background: #fff !important; border-radius: 11px; box-shadow: 0 1px 2px rgba(18, 20, 24, .14), 0 3px 8px -3px rgba(18, 20, 24, .2); }
.t4 .m-seg .m-seg__ind::after { content: ""; position: absolute; inset: 0; }
.t4 .seg__n { font-weight: 650 !important; }
.t4 .seg__dpi { color: var(--t4-ink3) !important; font-family: var(--t4-mono) !important; font-size: 11px !important; }
.t4 .seg__o:has(input:checked) .seg__dpi { color: var(--t4-ink2) !important; }
.t4 .seg__d { margin: 8px 0 0; font-size: 13.5px; line-height: 1.45; color: var(--t4-ink2); }
.t4 .know { margin: 0 0 18px; padding: 0; border: 0 !important; display: grid; gap: 9px; }
.t4 .know li { position: relative; padding: 0 0 0 26px !important; padding-inline: 26px 0 !important; border: 0 !important; font-size: 13.5px; line-height: 1.45; color: var(--t4-ink2); }
.t4 .know li::before { content: "" !important; position: absolute; inset-inline-start: 0; top: 1px; width: 17px !important; height: 17px !important; margin: 0; border-radius: 50% !important; background: var(--t4-bg3) !important; border: 0; }
.t4 .know li::after { content: ""; position: absolute; inset-inline-start: 5.5px; top: 6px; width: 6px; height: 3.5px; border: solid var(--t4-ink2); border-width: 0 0 1.6px 1.6px; transform: rotate(-45deg); }
.t4 .side__go { margin-top: 0; padding-top: 0; border: 0; }
.t4 #go, .t4 #dl, .t4 .side--err .btn--block { min-height: 58px; border-radius: 14px !important; padding-inline: 22px !important; font-size: 16.5px !important; font-weight: 700 !important; letter-spacing: -.01em; }
.t4 #go:not(:disabled), .t4 #dl:not([aria-disabled="true"]) { box-shadow: inset 0 1px 0 rgba(255, 255, 255, .28), 0 1px 2px rgba(227, 38, 43, .35), 0 14px 26px -12px rgba(227, 38, 43, .6) !important; }
.t4 #go:not(:disabled):active, .t4 #dl:active { transform: translate3d(0, 1px, 0) scale(.99) !important; }
.t4 #go:disabled { background: var(--t4-bg3) !important; border-color: transparent !important; color: var(--t4-ink3) !important; }
.t4 .side__note { margin: 10px 0 0; font-size: 13.5px; color: var(--t4-ink2); }
.t4 .side__trust { margin: 12px 0 0; display: flex; flex-wrap: wrap; align-items: center; gap: 4px 6px; font-size: 12.5px; color: var(--t4-ink3); }
.t4 .side__trust a { color: var(--t4-ink2); }
.t4 .quota:not([hidden]) { margin-top: 14px; padding-top: 14px; border-top: 1px solid var(--t4-line); font-size: 13px; color: var(--t4-ink2); }
.t4 .quota__bar { height: 3px; border-radius: 3px; overflow: hidden; background: var(--t4-bg3); margin-top: 10px; }
.t4 .maint { border-radius: 12px; }

/* ============================== 3 · yükleniyor / işleniyor ============================== */
.t4 .pane--proc { align-items: stretch; }
.t4 .pv.pv--h3 { background: radial-gradient(120% 90% at 50% 0%, #FFFFFF 0%, #F6F7FA 46%, #ECEEF3 100%); margin: 18px; margin-inline-end: 0; border-radius: 14px; overflow: hidden; box-shadow: inset 0 0 0 1px var(--t4-line); min-height: 380px; }
.t4 .pv--h3 .h3--tool { min-height: 380px; background: none; }
.t4 .proc { display: flex; flex-direction: column; justify-content: center; padding: 28px clamp(20px, 3vw, 40px) !important; min-width: 0; }
.t4 .proc__k { display: inline-flex; align-items: center; gap: 8px; margin: 0; font: 600 12.5px/1.3 var(--f-sans) !important; letter-spacing: .02em !important; color: var(--t4-blue) !important; }
.t4 .proc__k::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--t4-blue); box-shadow: 0 0 0 0 rgba(46, 107, 230, .45); }
.m-tfx .inst.t4:is([data-state="uploading"], [data-state="processing"]) .proc__k::before { animation: t4-pulse 1.6s ease-out infinite; }
@keyframes t4-pulse { to { box-shadow: 0 0 0 9px rgba(46, 107, 230, 0); } }
.t4 .proc__big { margin: 10px 0 2px; font: 600 clamp(48px, 5.4vw, 68px)/1 var(--t4-mono) !important; letter-spacing: -.06em !important; color: var(--t4-ink) !important; font-variant-numeric: tabular-nums; }
.t4 .proc__status { margin: 6px 0 16px; font-family: var(--t4-disp); font-size: 19px; font-weight: 700; letter-spacing: -.02em; color: var(--t4-ink); }
.t4 .proc__bar { height: 6px !important; border-radius: 6px !important; background: var(--t4-bg3) !important; overflow: hidden; border: 0 !important; }
.t4 .proc__bar > i { border-radius: 6px; background: linear-gradient(90deg, #6F9BF2, var(--t4-blue)) !important; }
.t4 .proc__net:not(:empty) { margin-top: 12px; font-size: 13.5px; color: var(--t4-ink2); }
/* aşamalar: dikey bir akış çizgisi */
.t4 .stages { margin: 12px 0 0; padding: 0; list-style: none; border: 0 !important; position: relative; }
.t4 .stages li { position: relative; display: flex; align-items: center; gap: 12px; min-height: 44px; padding: 0 !important; border: 0 !important; font-size: 14.5px; color: var(--t4-ink3); transition: color .3s; }
.inst.t4 .m-stages li > i, .t4 .stages li > i { position: relative; z-index: 1; flex: none; display: grid; place-items: center; width: 22px !important; height: 22px !important; margin: 0; border-radius: 50% !important; border: 1.5px solid var(--t4-line2) !important; background: #fff !important; }
.inst.t4 .m-stages li:not(:last-child)::after { inset-inline-start: 10.25px; top: calc(50% + 13px); bottom: calc(-50% + 13px); background: var(--t4-ink); }
.inst.t4 .m-stages li.is-done > i, .t4 .stages li.is-done > i { background: var(--t4-ink) !important; border-color: var(--t4-ink) !important; }
.t4 .stages li.is-done { color: var(--t4-ink2) !important; }
.t4 .stages li.is-on { color: var(--t4-ink); font-weight: 600; }
.inst.t4 .m-stages li.is-on > i { border-color: var(--t4-blue) !important; }
.inst.t4 .m-stages li.is-on > i::before { background: var(--t4-blue); }
.m-tfx .inst.t4 .m-stages li.is-on > i { border-color: rgba(46, 107, 230, .2) !important; border-top-color: var(--t4-blue) !important; }
.t4 .side__end { margin-top: 18px; padding-top: 16px; border-top: 1px solid var(--t4-line); }
.t4 .side__end .link-arrow { min-height: 40px; }

/* ============================== 4 · bitti ============================== */
.t4 .pane--done { padding: 26px clamp(18px, 3vw, 34px) 28px !important; align-items: flex-start; }
.t4 .res { position: relative; align-self: flex-start; min-width: 0; flex: 1 1 0; display: flex !important; flex-direction: column; align-items: stretch; }
.t4 .res > * { min-width: 0; align-self: stretch; max-width: none !important; }
.t4 .res > .res__k { align-self: flex-start; }
.t4 .res > .res__stamp { align-self: auto; }
.t4 .res .v3-resf { width: 100%; justify-self: stretch; }
.t4 .res__k { display: inline-flex; align-self: flex-start; width: auto; align-items: center; gap: 6px; padding: 4px 11px 4px 9px; border-radius: 999px; background: var(--t4-bg3) !important; color: var(--t4-ink) !important; font: 600 12.5px/1.4 var(--f-sans) !important; }
.t4 .res__h { margin: 12px 0 0 !important; font-family: var(--t4-disp) !important; font-size: clamp(26px, 2.8vw, 34px) !important; line-height: 1.1 !important; font-weight: 800 !important; letter-spacing: -.035em !important; }
.t4 .res__num { margin: 8px 0 16px !important; align-items: baseline; }
.t4 .res__num .res__v, .t4 .res__pct .res__v { font-family: var(--t4-mono) !important; font-weight: 600 !important; letter-spacing: -.06em !important; font-size: 46px !important; }
.t4 .res__lbl { font-size: 15.5px !important; }
.t4 .v3-resf--h3 .h3--tool, .t4 .res > .h3--tool { border: 0; box-shadow: inset 0 0 0 1px var(--t4-line); border-radius: 14px; background: radial-gradient(120% 90% at 50% 0%, #FFFFFF 0%, #F6F7FA 46%, #ECEEF3 100%); max-width: none; }
.t4 .res__quip { margin-top: 14px; font-size: 14.5px; color: var(--t4-ink2); }
.t4 .bars { margin: 6px 0 4px; display: grid; gap: 10px; padding: 14px 16px; border-radius: 14px; background: var(--t4-bg2); box-shadow: inset 0 0 0 1px var(--t4-line); }
.t4 .bars__row { display: grid; grid-template-columns: 64px minmax(0, 1fr) auto; align-items: center; gap: 12px; }
.t4 .bars__k { font-size: 13px; font-weight: 600; color: var(--t4-ink2); }
.t4 .bars__t { height: 14px; border-radius: 7px !important; background: var(--t4-bg3) !important; }
.t4 .bars__f { border-radius: 7px !important; }
.t4 .bars__f--a { background: var(--t4-ink) !important; }
.t4 .bars__v { font: 600 13.5px/1 var(--t4-mono) !important; min-width: 68px; text-align: end; }
.m-tfx .inst.t4[data-state="done"] .res { animation: t4-rise .6s var(--t4-out) backwards; }
/* İndir: kaçırılamaz */
.t4 .side--done { gap: 0; }
.t4 #dl { min-height: 64px; font-size: 18px !important; }
.t4 .ract { display: grid; grid-template-columns: 1fr; grid-auto-flow: column; grid-auto-columns: 1fr; gap: 8px; margin-top: 10px; }
.t4 .ract__b { min-height: 46px; border-radius: 12px !important; border: 1px solid var(--t4-line) !important; background: #fff !important; font-size: 14.5px !important; padding-inline: 14px !important; justify-content: space-between; }
.t4 .ract__b:hover { border-color: var(--t4-line2) !important; background: var(--t4-bg2) !important; }
/* geri sayım: sakin, güven veren bir kontrol */
.t4 .cd { position: relative; margin-top: 16px; padding: 14px 14px 14px 16px !important; border-radius: 14px !important; border: 1px solid var(--t4-line) !important; background: #fff !important; display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 4px 12px; align-items: center; overflow: hidden; }
.t4 .cd__t { grid-column: 1 / -1; display: grid; grid-template-columns: auto minmax(0, 1fr) auto; align-items: center; gap: 12px; margin: 0; }
.t4 .cd .m-cdr { width: 38px; height: 38px; position: relative; display: grid; place-items: center; }
.t4 .cd .m-ring--cd { width: 38px; height: 38px; }
.t4 .cd .m-ring--cd circle { stroke-width: 2.4; }
.t4 .cd .m-ring__f { stroke: var(--t4-blue); transition: stroke .4s; }
.t4 .cd__k { font: 600 13.5px/1.3 var(--f-sans) !important; color: var(--t4-ink) !important; letter-spacing: 0 !important; text-transform: none !important; }
.t4 .cd__n { font: 600 22px/1 var(--t4-mono) !important; letter-spacing: -.04em !important; color: var(--t4-ink) !important; font-variant-numeric: tabular-nums; }
.t4 .cd__s { grid-column: 1; margin: 6px 0 0; font-size: 12.5px !important; line-height: 1.45; color: var(--t4-ink3) !important; }
.t4 .cd__bar { display: none !important; }
.t4 .cd__del:not([hidden]) { grid-column: 2; align-self: end; display: inline-flex; align-items: center; gap: 7px; min-height: 40px; padding: 0 13px; border-radius: 10px; border: 1px solid var(--t4-line); background: #fff; color: var(--t4-ink); font: 600 13.5px/1 var(--f-sans); cursor: pointer; white-space: nowrap; transition: background-color .2s, border-color .2s, color .2s; }
.t4 .cd__del:hover { border-color: var(--t4-green); color: var(--t4-green); background: #F1F9F4; }
.t4 .cd.is-over { border-color: rgba(30, 138, 79, .35) !important; background: #F4FAF6 !important; }
.t4 .cd.is-over .cd__n, .t4 .cd.is-over .cd__k { color: var(--t4-green) !important; }
.t4 .cd.is-over .m-ring__t { stroke: var(--t4-green); }
/* sırada ne var: kartlar */
.t4 .next { margin-top: 18px; padding-top: 16px; border-top: 1px solid var(--t4-line); }
.t4 .next .side__k { margin: 0 0 8px; }
.t4 .next__a { display: grid !important; grid-template-columns: minmax(0, 1fr) auto; align-items: center; gap: 4px 12px; padding: 12px 14px !important; border: 1px solid var(--t4-line) !important; border-radius: 12px !important; background: #fff; text-decoration: none; color: var(--t4-ink);
  transition: transform .28s var(--t4-out), box-shadow .28s, border-color .2s; }
.t4 .next__a + .next__a { margin-top: 8px; }
.t4 .next__a:hover { transform: translate3d(0, -2px, 0); border-color: var(--t4-line2) !important; box-shadow: 0 14px 26px -16px rgba(18, 20, 24, .32); }
.t4 .next__t { font-size: 14.5px; font-weight: 600; line-height: 1.35; }
.t4 .wa { margin-top: 14px; min-height: 40px; display: inline-flex; align-items: center; gap: 8px; font-size: 13.5px; color: var(--t4-ink2); }

/* ============================== 5 · hata / sınır: sakin ve yol gösteren ============================== */
.t4 .pane--err { padding: 18px !important; display: none; }
.inst.t4[data-state="error"] .pane--err { display: flex; flex-direction: column; }
.t4 .errc:not([hidden]), .t4 .limitc:not([hidden]) { flex: 1 1 auto; display: flex; flex-direction: column; justify-content: center; padding: 30px clamp(20px, 4vw, 48px) !important; border-radius: 14px; border: 0 !important;
  background: radial-gradient(120% 90% at 50% 0%, #FFFFFF 0%, #F6F7FA 46%, #ECEEF3 100%) !important; box-shadow: inset 0 0 0 1px var(--t4-line); color: var(--t4-ink) !important; }
.t4 .errc__k { display: flex; align-items: center; gap: 14px; margin: 0; font: 800 clamp(22px, 2.4vw, 28px)/1.15 var(--t4-disp) !important; letter-spacing: -.03em !important; color: var(--t4-ink) !important; text-transform: none !important; }
.t4 .errc__k .ico { flex: none; width: 44px; height: 44px; padding: 11px; border-radius: 14px; background: #FDECEC; color: var(--t4-red); box-sizing: border-box; }
.t4 .errc__m { margin: 14px 0 0 !important; padding: 0 !important; background: none !important; color: var(--t4-ink2) !important; font: 500 16px/1.5 var(--f-sans) !important; max-width: 52ch; border: 0 !important; }
.t4-tips { margin-top: 20px; padding-top: 16px; border-top: 1px solid var(--t4-line); max-width: 52ch; }
.t4-tips__k { margin: 0 0 8px; font: 700 13px/1.4 var(--f-sans); color: var(--t4-ink); }
.t4-tips__l { margin: 0; padding: 0; list-style: none; display: grid; gap: 7px; }
.t4-tips__l li { position: relative; padding-inline-start: 18px; font-size: 14px; line-height: 1.45; color: var(--t4-ink2); }
.t4-tips__l li::before { content: ""; position: absolute; inset-inline-start: 2px; top: .55em; width: 6px; height: 6px; border-radius: 50%; background: var(--t4-line2); }
.t4 .limitc__k { display: inline-flex; align-items: center; gap: 8px; font: 600 12.5px/1.3 var(--f-sans) !important; color: var(--t4-ink2) !important; }
.t4 .limitc__h { margin: 10px 0 8px; font: 800 clamp(22px, 2.4vw, 28px)/1.15 var(--t4-disp) !important; letter-spacing: -.03em !important; }
.t4 .limitc__m, .t4 .limitc__p { max-width: 54ch; }
.m-tfx .inst.t4[data-state="error"] :is(.errc, .limitc) { animation: t4-rise .5s var(--t4-out) backwards; }
.t4 .side--err .side__go { display: grid; gap: 6px; }
.t4 .side--err .link-arrow { min-height: 40px; justify-self: start; }

/* ============================== güven satırı ============================== */
.t4 + .trust { display: flex; flex-wrap: wrap; justify-content: center; gap: 6px 26px; margin-top: 18px; padding: 0 var(--g, 16px); font-size: 13px; color: var(--t4-ink3); border: 0; }
.t4 + .trust li { display: inline-flex; align-items: center; gap: 7px; }

/* ============================== telefon ============================== */
@media (max-width: 900px) {
  .inst.t4 { display: block !important; border-radius: 18px !important; }
  .t4 .inst__stage { min-height: 0; }
  .t4 .inst__side { border-inline-start: 0 !important; border-top: 1px solid var(--t4-line) !important; margin-top: 0 !important; padding: 16px !important; }
  .t4 .inst__steps { padding-inline: 2px; }
  .t4 .inst__steps li { padding: 12px 6px !important; gap: 6px; font-size: 12.5px !important; justify-content: center; }
  .t4 .inst__steps li .inst__sn { width: 22px; height: 22px; }
  .t4 .pane--idle { padding: 12px !important; }
  .t4 .drop { min-height: 0; padding: 22px 16px 20px !important; }
  .t4 .drop__cm { width: 16px; height: 16px; }
  .t4 .drop__cm--a, .t4 .drop__cm--b { top: 12px; } .t4 .drop__cm--c, .t4 .drop__cm--d { bottom: 12px; }
  .t4 .drop__cm--a, .t4 .drop__cm--c { left: 12px; } .t4 .drop__cm--b, .t4 .drop__cm--d { right: 12px; }
  .t4 .drop__t { font-size: 21px !important; }
  .t4 .drop__btn { width: 100%; max-width: 340px; min-height: 54px; justify-content: space-between; }
  .inst.t4:not([data-multi]) .pane--sel { margin: 12px; padding: 34px 14px 18px !important; }
  .t4 .chip { grid-template-columns: auto minmax(0, 1fr) auto; gap: 4px 10px; padding: 14px 10px 14px 12px !important; }
  .t4-thumb { width: 84px; height: 104px; margin-block: -40px -8px; }
  .t4-thumb .h3--mini .h3-page { scale: .34; }
  .t4-thumb .h3--mini .h3-floor { width: 84px; margin-left: -42px; }
  .t4 .chip__name { font-size: 14.5px !important; }
  .t4 .sel__hint { font-size: 17px !important; margin-top: 16px !important; }
  .t4[data-multi] .pane--sel { padding: 14px 12px 16px !important; }
  .t4 .flist__l { padding: 8px; }
  .t4 .flist__l .fi { grid-template-columns: 20px auto minmax(0, 1fr); gap: 10px; padding: 10px !important; }
  .t4 .fi__acts { grid-column: 1 / -1; justify-content: flex-end; margin-top: -4px; }
  .inst.t4:is([data-state="uploading"], [data-state="processing"]) .pane--proc { display: block; }
  .t4 .pv.pv--h3 { margin: 12px 12px 0; min-height: 280px; }
  .t4 .pv--h3 .h3--tool { min-height: 280px; }
  .t4 .proc { padding: 18px 16px 20px !important; }
  .t4 .proc__big { font-size: 46px !important; }
  .t4 .pane--done { padding: 18px 14px 20px !important; }
  .t4 .pane--err { padding: 12px !important; }
  .t4 .errc:not([hidden]), .t4 .limitc:not([hidden]) { padding: 22px 16px !important; }
  /* seçildi: asıl düğme başparmağın altında */
  .inst.t4[data-state="selected"] .side__go { position: sticky; bottom: 0; z-index: 5; margin: 0 -16px -16px; padding: 12px 16px calc(12px + env(safe-area-inset-bottom, 0px)); background: rgba(255, 255, 255, .92); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); border-top: 1px solid var(--t4-line); }
  .t4 + .trust { justify-content: flex-start; gap: 6px 18px; padding-inline: 4px; }
}
@media (max-width: 380px) { .t4 .cd { grid-template-columns: minmax(0, 1fr); } .t4 .cd__del:not([hidden]) { grid-column: 1; justify-self: start; margin-top: 8px; } }

/* RTL: köşe işaretleri simetrik; yansıma ters yönden */
[dir="rtl"] .t4 .chip { padding: 18px 20px 18px 16px !important; }

@media (prefers-reduced-motion: reduce) {
  .t4 *, .t4 *::before, .t4 *::after { animation: none !important; transition: none !important; }
}

/* pencerenin içine düşen komşu parçalar (paylaşım karosu, "ana ekrana ekle" kartı): yalnız çerçeve dili uyumu */
.t4 .shr { margin-top: 10px; border: 1px solid var(--t4-line) !important; border-radius: 14px !important; background: #fff !important; transition: border-color .2s, box-shadow .28s, transform .28s var(--t4-out); }
.t4 .shr:hover { border-color: var(--t4-line2) !important; box-shadow: 0 14px 26px -16px rgba(18, 20, 24, .32); transform: translate3d(0, -1px, 0); }
.t4 .pwa { margin-top: 10px; border: 1px solid var(--t4-line) !important; border-radius: 14px !important; background: var(--t4-bg2) !important; box-shadow: none !important; }
.t4 .chip__name, .t4 .fi__name { unicode-bidi: plaintext; }
.inst.t4 .m-steps li.m-end .m-sn { background: var(--t4-ink) !important; border-color: var(--t4-ink) !important; }
.inst.t4.m-gone .m-rail__done { background: var(--t4-ink); }
/* düğme yazısı yerinde durur (eski "kayan yazı" efekti kapalı) */
.t4 .btn__t > span { transform: none !important; }
.t4 .btn__t::after { content: none !important; }

/* denetci: marka notu (tm-note) pencereyle aynı hizada dursun (eski kural onu sayfanın sol kenarına itiyordu) */
.main > .tm-note { width: min(1200px, calc(100% - 2 * var(--g, 16px))); max-width: none; margin: 12px auto 0; padding-inline: 4px; box-sizing: border-box; }

/* ---------- v5: önce / sonra karşılaştırması (t-inst.js) ---------- */
.t4-cmp { margin: 18px 0 4px; }
.t4-cmp__k { margin: 0 0 10px; font: 600 12px/1 var(--f-mono); letter-spacing: .08em; text-transform: uppercase; color: var(--ink-3); }
.t4-cmp__box { --x: 50%; --ar: 1.4; --ox: 50%; --oy: 50%; position: relative; width: 100%; max-width: min(100%, calc(540px * var(--ar))); aspect-ratio: var(--ar); margin-inline: auto;
  border-radius: 14px; overflow: hidden; background: #fff; border: 1px solid var(--line); box-shadow: 0 1px 2px rgba(18, 20, 24, .04), 0 18px 44px rgba(18, 20, 24, .10); isolation: isolate; }
.t4-cmp__i { position: absolute; inset: 0; width: 100%; height: 100%; display: block; object-fit: contain; background: #fff; transform-origin: var(--ox) var(--oy); transition: transform .45s cubic-bezier(.22, .8, .24, 1); user-select: none; -webkit-user-drag: none; }
.t4-cmp__b { clip-path: inset(0 0 0 var(--x)); }
.t4-cmp.is-zoom .t4-cmp__i { transform: scale(2.6); }
.t4-cmp__line { position: absolute; top: 0; bottom: 0; left: var(--x); width: 2px; margin-left: -1px; background: #fff; box-shadow: 0 0 0 1px rgba(18, 20, 24, .18), 0 0 18px rgba(18, 20, 24, .25); pointer-events: none; z-index: 2; }
.t4-cmp__line i { position: absolute; left: 50%; top: 50%; width: 40px; height: 40px; margin: -20px 0 0 -20px; border-radius: 50%; background: #fff; box-shadow: 0 1px 2px rgba(18, 20, 24, .12), 0 8px 22px rgba(18, 20, 24, .22); }
.t4-cmp__line i::before, .t4-cmp__line i::after { content: ""; position: absolute; top: 50%; width: 8px; height: 8px; margin-top: -4px; border: 2px solid var(--ink); border-width: 2px 2px 0 0; }
.t4-cmp__line i::before { left: 9px; transform: rotate(-135deg); } .t4-cmp__line i::after { right: 9px; transform: rotate(45deg); }
.t4-cmp__tag { position: absolute; top: 12px; z-index: 3; padding: 6px 10px; border-radius: 999px; font: 600 12px/1 var(--f-body); color: var(--ink); background: rgba(255, 255, 255, .9); box-shadow: 0 1px 2px rgba(18, 20, 24, .08), 0 6px 16px rgba(18, 20, 24, .10); pointer-events: none; white-space: nowrap; }
.t4-cmp__tag { unicode-bidi: plaintext; } .t4-cmp__tag b { display: inline-block; unicode-bidi: isolate; direction: ltr; font: 600 12px/1 var(--f-mono); color: var(--ink-2); margin-inline-start: 4px; }
.t4-cmp__tag--a { left: 12px; } .t4-cmp__tag--b { right: 12px; } .t4-cmp__tag--b b { color: var(--brand); }
.t4-cmp__r { position: absolute; inset: 0; width: 100%; height: 100%; margin: 0; opacity: 0; cursor: ew-resize; z-index: 4; touch-action: pan-y; -webkit-appearance: none; appearance: none; background: transparent; }
.t4-cmp__r::-webkit-slider-thumb { -webkit-appearance: none; width: 44px; height: 600px; }
.t4-cmp__r::-moz-range-thumb { width: 44px; height: 600px; border: 0; }
.t4-cmp__box:has(.t4-cmp__r:focus-visible) { outline: 2px solid var(--info); outline-offset: 3px; }
.t4-cmp__n { display: flex; align-items: center; gap: 12px; margin: 12px 0 0; font-size: 12.5px; line-height: 1.45; color: var(--ink-3); }
.t4-cmp__z { flex: none; display: inline-flex; align-items: center; gap: 7px; height: 34px; padding: 0 12px; border-radius: 9px; border: 1px solid var(--line-2); background: var(--bg); color: var(--ink); font: 600 13px/1 var(--f-body); cursor: pointer; transition: background-color .2s, border-color .2s; }
.t4-cmp__z .ico { width: 15px; height: 15px; } .t4-cmp__z:hover { border-color: var(--ink-3); }
.t4-cmp__z[aria-pressed="true"] { background: var(--ink); border-color: var(--ink); color: #fff; }
/* giriş: kutu yerine oturur, çizgi bir kez sağdan ortaya süzülür (farkı kendiliğinden gösterir) */
.m-tfx .t4-cmp { opacity: 0; transform: translateY(14px); transition: opacity .5s, transform .7s cubic-bezier(.22, .8, .24, 1); }
.m-tfx .t4-cmp.is-in { opacity: 1; transform: none; }
.m-tfx .t4-cmp.is-in:not(.is-used) .t4-cmp__b { animation: t4cmpB 1.5s .25s cubic-bezier(.65, 0, .35, 1) backwards; }
.m-tfx .t4-cmp.is-in:not(.is-used) .t4-cmp__line { animation: t4cmpL 1.5s .25s cubic-bezier(.65, 0, .35, 1) backwards; }
@keyframes t4cmpB { from { clip-path: inset(0 0 0 96%); } } @keyframes t4cmpL { from { left: 96%; } }
/* karşılaştırma varken süs sahnesi küçülür: gerçek görüntü öne geçer */
.inst.t4.t4-has-cmp .res .v3-resf, .inst.t4.t4-has-cmp .res > .h3--tool { display: none !important; }
@media (max-width: 600px) { .t4-cmp__n { flex-direction: column; align-items: flex-start; gap: 8px; } .t4-cmp__tag { top: 8px; padding: 5px 8px; font-size: 11px; } .t4-cmp__tag--a { left: 8px; } .t4-cmp__tag--b { right: 8px; } .t4-cmp__line i { width: 34px; height: 34px; margin: -17px 0 0 -17px; } .t4-cmp__line i::before { left: 7px; } .t4-cmp__line i::after { right: 7px; } }
@media (prefers-reduced-motion: reduce) { .t4-cmp, .t4-cmp__i { transition: none; } .t4-cmp__b, .t4-cmp__line { animation: none !important; } }
