/* TDHTool — ana stil dosyası. Tasarım tuvalindeki renk ve ölçüler. */

/* Yazı tipleri (0.4.8): temanın içinden sunulur, Google'a istek gitmez.
 * Değişken (variable) woff2, latin + latin-ext (Türkçe ğ ş İ latin-ext'te; ı latin'de).
 * Lisans: assets/fonts/OFL.txt (SIL Open Font License 1.1).
 * inter-latin.woff2 header'da preload edilir (inc/enqueue.php); adres değişirse orayı da güncelle. */
@font-face {
	font-family: "Inter";
	font-style: normal;
	font-weight: 400 700;
	font-display: swap;
	src: url("../fonts/inter-latin-ext.woff2") format("woff2");
	unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
	font-family: "Inter";
	font-style: normal;
	font-weight: 400 700;
	font-display: swap;
	src: url("../fonts/inter-latin.woff2") format("woff2");
	unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
	font-family: "Space Grotesk";
	font-style: normal;
	font-weight: 500 700;
	font-display: swap;
	src: url("../fonts/space-grotesk-latin-ext.woff2") format("woff2");
	unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
	font-family: "Space Grotesk";
	font-style: normal;
	font-weight: 500 700;
	font-display: swap;
	src: url("../fonts/space-grotesk-latin.woff2") format("woff2");
	unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

:root {
	--accent: #2155D9;
	--accent-dark: #1A44AE;
	--ink: #111827;
	--ink-2: #374151;
	--muted: #4B5563;
	--line: #E5E7EB;
	--soft: #F5F7FB;
	--soft-2: #F9FAFB;
	--radius: 14px;
	--font: Inter, system-ui, -apple-system, "Segoe UI", sans-serif;
	--font-head: "Space Grotesk", Inter, system-ui, sans-serif;

	/* Kategori renkleri: arka plan / yazı */
	--pdf-bg: #FEE2E2;  --pdf-fg: #991B1B;
	--img-bg: #DCFCE7;  --img-fg: #166534;
	--txt-bg: #E0E7FF;  --txt-fg: #3730A3;
	--cre-bg: #FCE7F3;  --cre-fg: #9D174D;
	--dev-bg: #E2E8F0;  --dev-fg: #1E293B;
	--calc-bg: #FEF3C7; --calc-fg: #92400E;
	--date-bg: #CFFAFE; --date-fg: #155E75;
	--day-bg: #FFEDD5;  --day-fg: #9A3412;
	--stu-bg: #EDE9FE;  --stu-fg: #5B21B6;
}

*, *::before, *::after { box-sizing: border-box; }
body { margin: 0; font-family: var(--font); color: var(--ink); background: #fff; line-height: 1.5; -webkit-font-smoothing: antialiased; }
img { max-width: 100%; height: auto; }
a { color: #1D4ED8; }
a:hover { color: #1E3A8A; }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 2px; }
h1, h2, h3 { font-family: var(--font-head); letter-spacing: -0.02em; line-height: 1.15; }

.container { max-width: 1240px; margin: 0 auto; padding: 0 24px; }
.container--narrow { max-width: 880px; }
.section { padding-top: 48px; }
.section__head { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 12px; }
.section__title { margin: 0 0 24px; font-size: 32px; }

.skip-link { position: absolute; left: -9999px; top: 8px; z-index: 100; background: #fff; padding: 10px 14px; border-radius: 8px; }
.skip-link:focus { left: 8px; }

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 44px; padding: 0 20px; border-radius: 12px; border: 1px solid #D1D5DB; background: #fff; color: var(--ink); font: 600 16px var(--font); cursor: pointer; text-decoration: none; }
.btn:hover { border-color: #9CA3AF; color: var(--ink); }
.btn--primary { background: var(--accent); border-color: var(--accent); color: #fff; }
.btn--primary:hover { background: var(--accent-dark); border-color: var(--accent-dark); color: #fff; }

/* Header */
.site-header { border-bottom: 1px solid var(--line); background: #fff; }
.site-header__inner { display: flex; flex-wrap: wrap; align-items: center; gap: 16px 24px; padding-top: 14px; padding-bottom: 14px; }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; color: var(--ink); }
.brand:hover { color: var(--ink); }
.brand__mark { width: 36px; height: 36px; border-radius: 9px; background: var(--accent); color: #fff; display: flex; align-items: center; justify-content: center; font: 700 18px var(--font-head); }
.brand__logo { width: 36px; height: 36px; object-fit: contain; }
.brand__name { font: 700 22px var(--font-head); letter-spacing: -0.02em; }
/* 0.6.0: Tek satır başlık — logo · Tüm araçlar ▾ · araç arama · dil seçici. Panel: .mega */
.site-header { position: relative; z-index: 40; }
.site-header__inner { flex-wrap: nowrap; gap: 12px 16px; padding-top: 12px; padding-bottom: 12px; }
.brand { flex: 0 0 auto; }
.mega-toggle { flex: 0 0 auto; display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 0 14px; border: 1px solid #D1D5DB; border-radius: 10px; background: #fff; color: var(--ink); font: 600 15px var(--font); cursor: pointer; white-space: nowrap; }
.mega-toggle:hover, .mega-toggle[aria-expanded="true"] { border-color: #9CA3AF; background: var(--soft); }
.mega-toggle__chev, .lang-switch__chev { transition: transform .15s; }
.mega-toggle[aria-expanded="true"] .mega-toggle__chev, .lang-switch[open] .lang-switch__chev { transform: rotate(180deg); }

/* Araç arama (başlıkta ve panelde aynı bileşen) */
.qs { position: relative; display: flex; align-items: center; min-width: 0; }
.qs--hs { flex: 1 1 auto; max-width: 420px; margin-left: auto; }
.qs__label { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.qs__icon { position: absolute; left: 12px; color: var(--muted); pointer-events: none; }
.qs__input { width: 100%; min-width: 0; height: 44px; padding: 0 12px 0 38px; border: 1px solid #C7CDD8; border-radius: 10px; font: 400 15px var(--font); color: var(--ink); background: #fff; }
.qs__results { position: absolute; left: 0; right: 0; top: calc(100% + 6px); z-index: 50; margin: 0; padding: 6px; list-style: none; background: #fff; border: 1px solid var(--line); border-radius: 12px; box-shadow: 0 12px 32px rgba(15, 23, 42, .14); max-height: 360px; overflow: auto; }
.qs__results a { display: block; padding: 9px 12px; border-radius: 8px; color: var(--ink); text-decoration: none; font-weight: 500; }
.qs__results a:hover, .qs__results a:focus, .qs__results a[aria-selected="true"] { background: var(--soft); }
.qs__results small { display: block; color: var(--muted); font-weight: 400; }
.qs__results .is-empty { padding: 9px 12px; color: var(--muted); }

/* Dil seçici: 🌐 EN ▾ */
.lang-switch { position: relative; flex: 0 0 auto; }
.lang-switch summary { list-style: none; display: flex; align-items: center; gap: 5px; min-height: 44px; padding: 0 10px; border: 1px solid #D1D5DB; border-radius: 10px; font: 600 14px var(--font); cursor: pointer; white-space: nowrap; }
.lang-switch summary::-webkit-details-marker { display: none; }
.lang-switch ul { position: absolute; right: 0; top: calc(100% + 6px); z-index: 50; min-width: 200px; margin: 0; padding: 6px; list-style: none; background: #fff; border: 1px solid var(--line); border-radius: 12px; box-shadow: 0 12px 32px rgba(15, 23, 42, .12); }
.lang-switch li a { display: block; padding: 10px 12px; border-radius: 8px; color: var(--ink); text-decoration: none; }
.lang-switch li a:hover, .lang-switch li a[aria-current] { background: var(--soft); }
.lang-switch li a[aria-current] { font-weight: 600; }

/* Mobil menü düğmesi (yalnızca <768 px; JS gösterir) */
.nav-toggle { display: none; align-items: center; gap: 6px; min-height: 44px; padding: 0 12px; border: 1px solid #D1D5DB; border-radius: 10px; background: #fff; color: var(--ink); font: 600 15px var(--font); cursor: pointer; }
.nav-toggle:hover { border-color: #9CA3AF; }
.nav-toggle__close, .nav-toggle[aria-expanded="true"] .nav-toggle__open { display: none; }
.nav-toggle[aria-expanded="true"] .nav-toggle__close { display: block; }

/* Panel. JS yoksa panel başlığın altında açık durur; JS varsa düğmeyle açılır. */
.mega { border-top: 1px solid var(--line); background: #fff; }
.tdh-js .mega { display: none; position: absolute; left: 0; right: 0; top: 100%; border-bottom: 1px solid var(--line); box-shadow: 0 18px 40px rgba(15, 23, 42, .12); max-height: calc(100vh - 80px); overflow: auto; overscroll-behavior: contain; }
.tdh-js .site-header.is-open .mega { display: block; }
.mega__inner { padding-top: 20px; padding-bottom: 20px; display: flex; flex-direction: column; gap: 18px; }
.qs--ms { max-width: 560px; }
.mega__grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px 28px; }
.mega__head { display: flex; }
.mega__cat-link { display: inline-flex; align-items: center; gap: 10px; font: 700 16px var(--font-head); color: var(--ink); text-decoration: none; }
a.mega__cat-link:hover { color: var(--accent); }
.mega__cat-link .badge, .mega__acc .badge { flex: 0 0 auto; align-self: center; min-width: 40px; text-align: center; font-family: var(--font); line-height: 1.3; }
.mega__acc { display: none; }
.mega__body { padding: 6px 0 0 50px; }
.mega__list { list-style: none; margin: 0; padding: 0; }
.mega__list a { display: block; padding: 4px 0; color: var(--ink-2); text-decoration: none; font-size: 15px; }
.mega__list a:hover { color: var(--accent); text-decoration: underline; }
.mega__all { display: inline-block; margin-top: 4px; font-size: 14px; font-weight: 600; text-decoration: none; }
.mega__all:hover { text-decoration: underline; }
.mega__extra { border-top: 1px solid var(--line); padding-top: 12px; }
.mega__extra-list { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 4px 18px; }
.mega__extra-list a { font-size: 14px; color: var(--muted); text-decoration: none; }
.mega__extra-list a:hover { color: var(--ink); text-decoration: underline; }
.mega__lang { display: none; }
@media (min-width: 768px) {
	.mega__body[hidden] { display: block !important; } /* masaüstünde akordeon yok */
}
@media (max-width: 1023px) {
	.qs--hs { max-width: 300px; }
	.mega__grid { gap: 16px 20px; }
}

/* Mobil (<768 px): hamburger; arama üstte, kategoriler akordeon, dil seçici altta */
@media (max-width: 767px) {
	.site-header__inner { gap: 10px; }
	.brand { flex: 1 1 auto; min-width: 0; }
	.brand__name { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
	.tdh-js .mega-toggle, .tdh-js .qs--hs, .tdh-js .lang-switch--header { display: none; }
	.tdh-js .nav-toggle { display: inline-flex; }
	.mega-toggle { display: none; }
	.qs--hs { display: none; }
	/* 0.6.2: 100vh mobilde tarayıcının alt çubuğunu da sayıyor; panelin sonu (dil listesi) görünmüyordu. dvh + alt boşluk. */
	.tdh-js .mega { max-height: calc(100vh - 69px); max-height: calc(100dvh - 69px); -webkit-overflow-scrolling: touch; }
	.mega__inner { padding-bottom: calc(24px + env(safe-area-inset-bottom, 0px)); }
	.tdh-menu-open, .tdh-menu-open body { overflow: hidden; } /* menü açıkken arka sayfa kaymasın */
	.mega__inner { padding-top: 14px; gap: 12px; }
	.qs--ms { max-width: none; }
	.qs--ms .qs__input { height: 48px; font-size: 16px; }
	.mega__grid { grid-template-columns: 1fr; gap: 0; }
	.mega__cat { border-bottom: 1px solid var(--line); }
	.tdh-js .mega__cat-link { display: none; }
	.tdh-js .mega__acc { display: flex; align-items: center; gap: 10px; width: 100%; min-height: 52px; padding: 6px 2px; border: 0; background: none; color: var(--ink); font: 700 16px var(--font-head); text-align: left; cursor: pointer; }
	.mega__acc .mega__chev { margin-left: auto; transition: transform .15s; }
	.mega__acc[aria-expanded="true"] .mega__chev { transform: rotate(180deg); }
	.mega__body { padding: 0 0 12px 50px; }
	.mega__list a { padding: 8px 0; font-size: 16px; }
	.mega__extra { border-top: 0; padding-top: 4px; }
	.mega__lang { display: block; }
	.mega__lang .lang-switch ul { position: static; margin-top: 6px; box-shadow: none; }
	.mega__lang .lang-switch summary { display: inline-flex; }
	.lang-switch--header { display: none; }
}
/* 0.6.2: iPhone, 16 px altındaki form alanına dokununca sayfayı yakınlaştırıp kaydırıyor. Mobilde en az 16 px. */
@media (max-width: 767px) {
	input:not([type="checkbox"]):not([type="radio"]):not([type="range"]):not([type="color"]):not([type="file"]), select, textarea, .code-area { font-size: 16px !important; }
}
@media (max-width: 420px) {
	.nav-toggle__label { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
	.nav-toggle { padding: 0 11px; }
}

/* Hero */
.hero { background: var(--soft); border-bottom: 1px solid var(--line); }
.hero__inner { padding-top: 72px; padding-bottom: 64px; text-align: center; display: flex; flex-direction: column; align-items: center; gap: 20px; }
.hero__title { margin: 0; font-size: clamp(34px, 5vw, 52px); letter-spacing: -0.03em; line-height: 1.08; }
.hero__lead { margin: 0; font-size: 19px; color: var(--muted); max-width: 640px; }

.tool-search { position: relative; width: 100%; max-width: 640px; display: flex; flex-direction: column; gap: 8px; text-align: left; margin-top: 8px; }
.tool-search label { font-size: 14px; font-weight: 600; color: var(--ink-2); }
.tool-search__row { display: flex; gap: 8px; }
.tool-search input { flex: 1 1 auto; min-width: 0; height: 56px; padding: 0 18px; border: 1px solid #C7CDD8; border-radius: 12px; font: 400 17px var(--font); color: var(--ink); background: #fff; }
.tool-search .btn { height: 56px; padding: 0 24px; }
.tool-search__results { position: absolute; left: 0; right: 0; top: 100%; z-index: 30; margin: 6px 0 0; padding: 6px; list-style: none; background: #fff; border: 1px solid var(--line); border-radius: 12px; box-shadow: 0 12px 32px rgba(15, 23, 42, .12); max-height: 360px; overflow: auto; }
.tool-search__results a { display: block; padding: 10px 12px; border-radius: 8px; color: var(--ink); text-decoration: none; }
.tool-search__results a:hover, .tool-search__results a:focus { background: var(--soft); }
.tool-search__results small { display: block; color: var(--muted); }
.tool-search__results .is-empty { padding: 10px 12px; color: var(--muted); }

.chips { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 8px; }
.chips__label { font-size: 14px; color: var(--muted); }
.chip { padding: 8px 14px; border-radius: 999px; background: #fff; border: 1px solid #D1D5DB; font-size: 14px; font-weight: 500; color: #1F2937; text-decoration: none; }
.chip:hover { border-color: var(--accent); color: var(--accent); }

/* Grids + cards */
.grid { display: grid; gap: 16px; }
.grid--tools { grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); }
.grid--cats { grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); }

.badge { align-self: flex-start; padding: 4px 8px; border-radius: 6px; font-size: 12px; font-weight: 700; letter-spacing: .04em; }
.badge--pdf { background: var(--pdf-bg); color: var(--pdf-fg); }
.badge--img { background: var(--img-bg); color: var(--img-fg); }
.badge--txt { background: var(--txt-bg); color: var(--txt-fg); }
.badge--cre { background: var(--cre-bg); color: var(--cre-fg); }
.badge--dev { background: var(--dev-bg); color: var(--dev-fg); }
.badge--calc { background: var(--calc-bg); color: var(--calc-fg); }
.badge--date { background: var(--date-bg); color: var(--date-fg); }
.badge--day { background: var(--day-bg); color: var(--day-fg); }
.badge--stu { background: var(--stu-bg); color: var(--stu-fg); }

.tool-card { display: flex; flex-direction: column; gap: 10px; min-height: 132px; padding: 20px; border: 1px solid var(--line); border-radius: var(--radius); background: #fff; text-decoration: none; color: var(--ink); transition: border-color .15s, box-shadow .15s; }
.tool-card:hover { color: var(--ink); border-color: #A9BCEB; box-shadow: 0 6px 20px rgba(33, 85, 217, .08); }
.tool-card__name { font-size: 17px; font-weight: 600; }
.tool-card__desc { font-size: 14px; color: var(--muted); }

.cat-card { display: flex; gap: 16px; align-items: flex-start; padding: 22px; border-radius: var(--radius); background: var(--soft); text-decoration: none; color: var(--ink); }
a.cat-card:hover { color: var(--ink); background: #EBF0FA; }
.cat-card__badge { flex: 0 0 auto; width: 48px; height: 48px; border-radius: 12px; display: flex; align-items: center; justify-content: center; font: 700 15px var(--font-head); }
.cat-card__badge.badge--pdf { background: var(--pdf-bg); color: var(--pdf-fg); }
.cat-card__text { display: flex; flex-direction: column; gap: 4px; }
.cat-card__name { font-size: 17px; font-weight: 600; }
.cat-card__meta { font-size: 14px; color: var(--muted); }

/* Trust strip */
.trust { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 24px; padding: 36px; border-radius: 18px; background: #0F172A; color: #F8FAFC; margin-bottom: 56px; }
.trust__item { display: flex; flex-direction: column; gap: 8px; }
.trust__item svg { color: #93C5FD; }
.trust__item strong { font-size: 18px; }
.trust__item span { font-size: 15px; color: #CBD5E1; }

/* Ads */
.ad { margin: 32px auto; text-align: center; }
.ad--placeholder { display: flex; align-items: center; justify-content: center; width: 100%; border: 2px dashed #CBD2DC; border-radius: 10px; font-size: 13px; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; color: #6B7280; }
.layout__side .ad { margin: 0; }

/* Tool page */
.tool-page { padding-top: 24px; padding-bottom: 64px; }
.breadcrumb { display: flex; flex-wrap: wrap; gap: 8px; font-size: 14px; color: var(--muted); }
.breadcrumb a { color: var(--muted); }
.breadcrumb [aria-current] { color: var(--ink); font-weight: 500; }
.layout { display: flex; flex-wrap: wrap; gap: 32px; margin-top: 24px; align-items: flex-start; }
.layout__main { flex: 999 1 640px; min-width: 0; }
.layout__side { flex: 1 1 300px; display: flex; flex-direction: column; gap: 24px; }
.tool-head { margin-bottom: 24px; }
.page-title { margin: 0 0 10px; font-size: clamp(32px, 4vw, 44px); letter-spacing: -0.03em; }
.tool-head__lead { margin: 0; font-size: 18px; color: var(--muted); }

.tool { padding: 28px; border-radius: 18px; background: var(--soft); border: 1px solid #DCE3F0; }
.tool__soon { margin: 0; padding: 40px 0; text-align: center; color: var(--muted); font-size: 17px; }
.tool__privacy { display: flex; align-items: center; justify-content: center; gap: 6px; margin: 20px 0 0; font-size: 14px; color: #166534; font-weight: 500; }

.side-box { border: 1px solid var(--line); border-radius: var(--radius); padding: 20px; }
.side-box__title { margin: 0 0 8px; font: 700 13px var(--font); letter-spacing: .06em; text-transform: uppercase; color: var(--ink-2); }
.side-box ul { list-style: none; margin: 0; padding: 0; }
.side-box li a { display: block; padding: 10px 0; border-bottom: 1px solid #F1F5F9; color: #1F2937; text-decoration: none; }
.side-box li a:hover { color: var(--accent); }

.related { margin-top: 40px; }
.related h2 { font-size: 28px; margin: 0 0 16px; }
.related__list { display: flex; flex-wrap: wrap; gap: 10px; }
.pill { padding: 12px 18px; border-radius: 12px; border: 1px solid #D1D5DB; font-size: 15px; font-weight: 500; color: #1F2937; text-decoration: none; }
.pill:hover { border-color: var(--accent); color: var(--accent); }

/* Editörde yazılan içerik (How to, SSS) */
.prose { margin-top: 40px; font-size: 16px; line-height: 1.65; color: #1F2937; }
.prose h2 { font-size: 28px; margin: 40px 0 16px; }
.prose h3 { font-size: 20px; margin: 28px 0 10px; }
.prose ol, .prose ul { padding-left: 1.3em; }
.prose details { border: 1px solid var(--line); border-radius: 12px; padding: 0 20px; margin: 0 0 12px; }
.prose summary { padding: 18px 0; font-weight: 600; cursor: pointer; }
/* 0.5.8: temadaki "Nasıl kullanılır + SSS" metni (inc/page-content.php) */
.tdh-guide { overflow-wrap: anywhere; }
.tdh-guide > h2:first-child { margin-top: 0; }
.tdh-guide li { margin: 0 0 8px; }
.tdh-guide code { padding: 1px 6px; border-radius: 6px; background: var(--soft, #F3F4F6); font-size: .92em; font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; }
.tdh-guide a { color: var(--accent); }
.tdh-guide__note { padding: 12px 16px; border-left: 4px solid var(--accent); border-radius: 0 10px 10px 0; background: var(--soft, #F3F4F6); font-size: 15px; }
.tdh-faq { margin-top: 8px; }
.tdh-faq details p { margin: 0 0 18px; }
.tdh-faq summary { line-height: 1.45; }
.tdh-guide--intro { max-width: 820px; }
@media (max-width: 600px) {
	.prose h2 { font-size: 23px; margin-top: 32px; }
	.prose h3 { font-size: 18px; }
	.prose details { padding: 0 14px; }
	.prose summary { padding: 14px 0; }
}
.page-body { padding-top: 48px; padding-bottom: 64px; }

/* Form parçaları (araçların ortak kullandığı) */
.field { display: flex; flex-direction: column; gap: 6px; }
.field label { font-size: 14px; font-weight: 600; color: var(--ink-2); }
.field textarea, .field input, .field select { width: 100%; padding: 14px 16px; border: 1px solid #C7CDD8; border-radius: 12px; font: 400 16px var(--font); color: var(--ink); background: #fff; }
.field textarea { min-height: 220px; resize: vertical; line-height: 1.6; }
.actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 14px; }
.stats { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 12px; margin-top: 20px; }
.stat { padding: 16px; border-radius: 12px; background: #fff; border: 1px solid var(--line); }
.stat__value { display: block; font: 700 28px var(--font-head); color: var(--ink); }
.stat__label { font-size: 13px; color: var(--muted); }
.sr-status { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }

/* Footer */
.site-footer { border-top: 1px solid var(--line); background: var(--soft-2); }
.site-footer__grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 32px; padding-top: 48px; padding-bottom: 32px; }
.site-footer__brand { font: 700 20px var(--font-head); }
.site-footer__about p { margin: 8px 0 0; font-size: 14px; color: var(--muted); }
.site-footer__title { margin: 0 0 12px; font: 700 13px var(--font); letter-spacing: .06em; text-transform: uppercase; color: var(--ink-2); }
.site-footer__list { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 10px; }
.site-footer__list a { font-size: 14px; color: var(--ink-2); text-decoration: none; }
.site-footer__list a:hover { color: var(--accent); }
.site-footer__bottom { padding-top: 16px; padding-bottom: 32px; font-size: 13px; color: #6B7280; }

/* Ortak araç parçaları (v0.2.0) */
[hidden] { display: none !important; }
.field input[aria-invalid="true"] { border-color: #B91C1C; box-shadow: 0 0 0 1px #B91C1C; }
.field input:focus, .field select:focus, .field textarea:focus { border-color: var(--accent); }
.field select { appearance: auto; min-height: 50px; }
.form-row { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 14px; }
.calc-note { min-height: 1.5em; margin: 14px 0 0; font-size: 15px; color: var(--muted); }
.calc-note.is-error, .calc-card__note.is-error { color: #B91C1C; font-weight: 500; }
.stats--3 { grid-template-columns: repeat(auto-fit, minmax(170px, 1fr)); }
.stat--accent { border-color: #A9BCEB; background: #EEF3FD; }
.stat__value { overflow-wrap: anywhere; }
.check { display: flex; align-items: center; gap: 8px; min-height: 44px; font-size: 15px; font-weight: 500; color: var(--ink-2); cursor: pointer; }
.check input { width: 20px; height: 20px; accent-color: var(--accent); }

/* Segmentli seçim (radyo düğmeleri) */
.segmented { display: inline-flex; flex-wrap: wrap; gap: 4px; margin: 0 0 18px; padding: 4px; border: 1px solid #C7CDD8; border-radius: 12px; background: #fff; }
.segmented legend { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
.segmented label { position: relative; display: block; cursor: pointer; }
.segmented input { position: absolute; opacity: 0; inset: 0; margin: 0; cursor: pointer; }
.segmented span { display: block; min-height: 40px; padding: 9px 18px; border-radius: 9px; font-weight: 600; font-size: 15px; color: var(--ink-2); }
.segmented input:checked + span { background: var(--accent); color: #fff; }
.segmented input:focus-visible + span { outline: 3px solid var(--accent); outline-offset: 2px; }

/* Hazır değer düğmeleri */
.presets { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 12px; }
.preset { min-height: 40px; padding: 0 16px; border-radius: 999px; border: 1px solid #C7CDD8; background: #fff; font: 600 15px var(--font); color: var(--ink-2); cursor: pointer; }
.preset:hover { border-color: var(--accent); color: var(--accent); }
.preset[aria-pressed="true"] { background: var(--ink); border-color: var(--ink); color: #fff; }

/* Percentage Calculator kartları */
.calc-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 16px; }
.calc-card { display: flex; flex-direction: column; gap: 14px; padding: 20px; border-radius: var(--radius); background: #fff; border: 1px solid var(--line); }
.calc-card__title { margin: 0; font-size: 19px; letter-spacing: -0.01em; }
.calc-card__fields { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.calc-card__fields .field input { padding: 12px 14px; }
.calc-card__result { display: flex; flex-direction: column; gap: 4px; padding-top: 12px; border-top: 1px solid var(--line); margin-top: auto; }
.calc-card__value { font: 700 28px var(--font-head); color: var(--ink); overflow-wrap: anywhere; }
.calc-card__line { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; }
.calc-card__line .calc-card__value { font-size: 24px; }
.calc-card__line-label { font-size: 14px; color: var(--muted); }
.calc-card__note { min-height: 1.4em; font-size: 14px; color: var(--muted); }

/* QR Code Generator */
.qr { display: grid; grid-template-columns: minmax(0, 1fr) 300px; gap: 28px; align-items: start; }
.qr__form, .qr__group { display: flex; flex-direction: column; gap: 14px; }
.qr__group textarea { min-height: 110px; }
.qr__options { border: 1px solid var(--line); border-radius: 12px; background: #fff; padding: 0 16px; }
.qr__options summary { padding: 14px 0; font-weight: 600; cursor: pointer; }
.qr__options[open] { padding-bottom: 16px; }
.qr__options .form-row + .form-row { margin-top: 14px; }
.field--color input[type="color"] { height: 50px; padding: 4px; cursor: pointer; }
.qr__preview { position: sticky; top: 16px; display: flex; flex-direction: column; }
.qr__canvas-wrap { display: flex; align-items: center; justify-content: center; aspect-ratio: 1; padding: 14px; border-radius: var(--radius); background: #fff; border: 1px solid var(--line); }
.qr__canvas { display: block; width: 100%; height: auto; image-rendering: pixelated; }
.qr__empty { margin: 0; padding: 20px; text-align: center; font-size: 15px; color: var(--muted); }
.actions--stack { flex-direction: column; }
.actions--stack .btn { width: 100%; }
.btn:disabled { opacity: .5; cursor: not-allowed; }

/* Dosya bırakma alanı (görsel ve PDF araçlarının ortak parçası) */
.dropzone { position: relative; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 6px; min-height: 190px; padding: 28px 20px; border: 2px dashed #9DB0DA; border-radius: var(--radius); background: #fff; text-align: center; cursor: pointer; transition: border-color .15s, background .15s; }
.dropzone:hover, .dropzone.is-over { border-color: var(--accent); background: #EEF3FD; }
.dropzone:focus-within { outline: 3px solid var(--accent); outline-offset: 2px; }
.dropzone__input { position: absolute; width: 1px; height: 1px; opacity: 0; overflow: hidden; }
.dropzone__icon { color: var(--accent); }
.dropzone__title { font: 600 18px var(--font); color: var(--ink); }
.dropzone__hint { font-size: 14px; color: var(--muted); }
.field__hint { font-size: 13px; color: var(--muted); }
.range { width: 100%; padding: 0 !important; border: 0 !important; background: transparent !important; accent-color: var(--accent); min-height: 32px; }

/* Compress Image */
.cimg__settings { margin-top: 20px; display: flex; flex-direction: column; gap: 14px; }
.cimg__settings .segmented { margin-bottom: 0; align-self: flex-start; }
.cimg__results { margin-top: 8px; }
.cimg__summary { font-weight: 600; font-size: 16px; color: var(--ink); margin-bottom: 10px; }
.cimg__list { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 8px; }
.cimg__item { display: grid; grid-template-columns: 56px minmax(0, 1fr) auto auto; align-items: center; gap: 12px; padding: 10px 12px; border-radius: 12px; background: #fff; border: 1px solid var(--line); }
.cimg__thumb { width: 56px; height: 56px; border-radius: 8px; overflow: hidden; background: repeating-conic-gradient(#EEF0F4 0 25%, #fff 0 50%) 0 0 / 12px 12px; }
.cimg__thumb img { width: 100%; height: 100%; object-fit: cover; display: block; }
.cimg__info { display: flex; flex-direction: column; min-width: 0; }
.cimg__name { font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.cimg__meta { font-size: 13px; color: var(--muted); }
.cimg__badge { padding: 4px 10px; border-radius: 999px; background: var(--img-bg); color: var(--img-fg); font-weight: 700; font-size: 14px; white-space: nowrap; }
.cimg__badge:empty { display: none; }
.cimg__badge.is-bad { background: var(--soft); color: var(--muted); }
.cimg__dl { min-height: 40px; padding: 0 14px; font-size: 15px; }
.cimg__item.is-busy .cimg__thumb { animation: tdh-pulse 1.2s ease-in-out infinite; }
.cimg__item.is-error .cimg__meta { color: #B91C1C; font-weight: 500; }
@keyframes tdh-pulse { 50% { opacity: .45; } }
@media (prefers-reduced-motion: reduce) { .cimg__item.is-busy .cimg__thumb { animation: none; } }

/* Image Converter (0.4.8) — sonuç listesi Compress Image'ın .cimg__item parçalarını kullanır */
.icv__settings { margin-top: 20px; display: flex; flex-direction: column; gap: 16px; }
.icv__to { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 12px; }
.icv__to-label { font-size: 14px; font-weight: 600; color: var(--ink-2); }
.icv__settings .segmented { margin-bottom: 0; }
.segmented label.is-disabled { cursor: not-allowed; }
.segmented label.is-disabled span { opacity: .45; text-decoration: line-through; }
.icv__ico { min-width: 0; margin: 0; padding: 0; border: 0; }
.icv__ico legend { margin-bottom: 4px; padding: 0; font-size: 14px; font-weight: 600; color: var(--ink-2); }
.icv__ico-list { display: flex; flex-wrap: wrap; gap: 0 18px; }
.icv__results { margin-top: 8px; }
.icv__summary { font-weight: 600; font-size: 16px; color: var(--ink); margin-bottom: 10px; overflow-wrap: anywhere; }
.cimg__meta { overflow-wrap: anywhere; }

/* Küçük simge düğmesi (sırala, sil) */
.icon-btn { display: inline-flex; align-items: center; justify-content: center; width: 40px; height: 40px; border-radius: 10px; border: 1px solid #D1D5DB; background: #fff; color: var(--ink-2); cursor: pointer; }
.icon-btn:hover { border-color: var(--accent); color: var(--accent); }
.icon-btn--danger:hover { border-color: #B91C1C; color: #B91C1C; }
.icon-btn:disabled { opacity: .35; cursor: default; border-color: #D1D5DB; color: var(--ink-2); }

/* Merge PDF */
.mpdf__files { margin-top: 20px; }
.mpdf__title { margin: 0 0 12px; font-size: 20px; }
.mpdf__list { list-style: none; margin: 0 0 8px; padding: 0; display: flex; flex-direction: column; gap: 8px; counter-reset: mpdf; }
.mpdf__item { counter-increment: mpdf; display: grid; grid-template-columns: auto minmax(0, 1fr) 120px auto; align-items: center; gap: 12px; padding: 10px 12px; border-radius: 12px; background: #fff; border: 1px solid var(--line); }
.mpdf__item.is-dragging { opacity: .5; border-style: dashed; border-color: var(--accent); }
.mpdf__item.is-error { border-color: #FCA5A5; }
.mpdf__item.is-error .mpdf__meta { color: #B91C1C; font-weight: 500; }
.mpdf__grip { display: flex; align-items: center; gap: 6px; color: #9CA3AF; cursor: grab; }
.mpdf__grip::after { content: counter(mpdf); min-width: 1.5em; font-weight: 700; color: var(--ink-2); text-align: center; }
.mpdf__info { display: flex; flex-direction: column; min-width: 0; }
.mpdf__name { font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.mpdf__meta { font-size: 13px; color: var(--muted); }
.mpdf__pages { display: flex; flex-direction: column; gap: 2px; }
.mpdf__pages-label { font-size: 12px; font-weight: 600; color: var(--ink-2); }
.mpdf__pages input { width: 100%; min-height: 40px; padding: 6px 10px; border: 1px solid #C7CDD8; border-radius: 10px; font: 400 15px var(--font); }
.mpdf__pages input[aria-invalid="true"] { border-color: #B91C1C; box-shadow: 0 0 0 1px #B91C1C; }
.mpdf__btns { display: flex; gap: 6px; }
.mpdf__done { margin-top: 16px; padding: 16px 18px; border-radius: 12px; background: #ECFDF5; border: 1px solid #A7F3D0; }
.mpdf__done-text { margin: 0; font-weight: 600; color: #065F46; }
.mpdf__done .actions { margin-top: 10px; }

/* Sayı + birim seçimi yan yana (ör. "7,5" + "yıllık") */
.field__combo { display: grid; grid-template-columns: minmax(0, 1fr) auto; }
.field__combo input { border-top-right-radius: 0; border-bottom-right-radius: 0; }
.field__combo select { width: auto; min-width: 7.5em; margin-left: -1px; border-top-left-radius: 0; border-bottom-left-radius: 0; background: var(--soft-2); font-weight: 500; }
.segmented--small { margin: 0; }
.segmented--small span { min-height: 34px; padding: 6px 14px; font-size: 14px; }

/* Loan Calculator */
.loan__more { margin-top: 16px; border: 1px solid var(--line); border-radius: 12px; background: #fff; padding: 0 16px; }
.loan__more summary { padding: 13px 0; font-weight: 600; cursor: pointer; }
.loan__more[open] { padding-bottom: 16px; }
.loan__bar { margin-top: 16px; }
.loan__bar-track { display: flex; height: 14px; border-radius: 999px; overflow: hidden; background: var(--line); }
.loan__bar-principal { background: var(--accent); }
.loan__bar-interest { background: #F59E0B; }
.loan__bar-legend { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 8px; margin: 8px 0 0; font-size: 14px; color: var(--ink-2); }
.loan__key { width: 12px; height: 12px; border-radius: 3px; }
.loan__key--p { background: var(--accent); }
.loan__key--i { margin-left: 10px; background: #F59E0B; }
.loan__schedule { margin-top: 28px; }
.loan__schedule-head { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 12px; }
.loan__title { margin: 0; font-size: 20px; }
.loan__table-wrap { max-height: 520px; overflow: auto; border: 1px solid var(--line); border-radius: 12px; background: #fff; }
.loan__table { width: 100%; border-collapse: collapse; font-size: 14px; font-variant-numeric: tabular-nums; }
.loan__table th, .loan__table td { padding: 9px 12px; text-align: right; white-space: nowrap; border-bottom: 1px solid var(--line); }
.loan__table thead th { position: sticky; top: 0; z-index: 1; background: var(--soft); font-weight: 600; color: var(--ink-2); }
.loan__table tbody th { font-weight: 600; color: var(--muted); }
.loan__table tbody tr:nth-child(even) { background: var(--soft-2); }
.loan__table tfoot th, .loan__table tfoot td { position: sticky; bottom: 0; background: #EEF3FD; font-weight: 700; color: var(--ink); border-bottom: 0; }

/* QR Code Generator (0.5.0): çerçeveli kod kare olmayabilir; logo ve çerçeve alanları */
.qr__canvas-wrap { aspect-ratio: auto; min-height: 240px; }
.qr__canvas { max-height: 520px; object-fit: contain; }
.qr__fieldset { min-width: 0; margin: 14px 0 0; padding: 12px 0 0; border: 0; border-top: 1px solid var(--line); display: flex; flex-direction: column; gap: 10px; }
.qr__fieldset legend { padding: 0; font-size: 14px; font-weight: 700; color: var(--ink-2); }
.qr__logo-row { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; }
.qr__logo-pick { position: relative; }
.qr__logo-pick:focus-within { outline: 3px solid var(--accent); outline-offset: 2px; }
.qr__logo-thumb { width: 44px; height: 44px; object-fit: contain; border: 1px solid var(--line); border-radius: 8px; background: #fff; }
.qr__static { margin: 12px 0 0; font-size: 13px; color: var(--muted); text-align: center; }

/* Sign PDF (0.5.0) */
.spdf__work { display: flex; flex-direction: column; gap: 24px; }
.spdf__file { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 10px; padding: 12px 14px; border-radius: 12px; background: #fff; border: 1px solid var(--line); }
.spdf__file-info { display: flex; flex-direction: column; min-width: 0; flex: 1 1 200px; }
.spdf__file-name { font-weight: 600; overflow-wrap: anywhere; }
.spdf__file-meta { font-size: 13px; color: var(--muted); }
.spdf__title { margin: 0 0 12px; font-size: 20px; }
.spdf__maker .segmented { margin-bottom: 14px; }
.spdf__pane { display: flex; flex-direction: column; gap: 10px; }
.spdf__pad-wrap { position: relative; border: 1px solid #C7CDD8; border-radius: 12px; background: #fff; }
.spdf__pad { display: block; width: 100%; height: 190px; touch-action: none; cursor: crosshair; border-radius: 12px; }
.spdf__pad-line { position: absolute; left: 8%; right: 8%; bottom: 44px; border-bottom: 1px dashed #9CA3AF; pointer-events: none; }
.spdf__pad-hint { position: absolute; left: 8%; bottom: 50px; font-size: 14px; color: #9CA3AF; pointer-events: none; }
.spdf__preview { min-height: 90px; display: flex; align-items: center; justify-content: center; padding: 10px; border: 1px solid var(--line); border-radius: 12px; background: repeating-conic-gradient(#F3F4F6 0 25%, #fff 0 50%) 0 0 / 14px 14px; }
.spdf__preview canvas { max-width: 100%; max-height: 120px; }
.spdf__pick { position: relative; align-self: flex-start; }
.spdf__pick:focus-within { outline: 3px solid var(--accent); outline-offset: 2px; }
.spdf__ink { margin-top: 12px; }
.spdf__current { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; margin-top: 12px; padding: 10px 14px; border-radius: 12px; background: #ECFDF5; border: 1px solid #A7F3D0; color: #065F46; font-weight: 500; }
.spdf__current img { max-height: 48px; max-width: 160px; background: #fff; border-radius: 6px; padding: 2px; }
.spdf__pages { display: flex; flex-direction: column; gap: 18px; margin-top: 12px; }
.spdf__page-head { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 8px; margin-bottom: 6px; }
.spdf__page-no { font-size: 14px; font-weight: 600; color: var(--ink-2); }
.spdf__add { min-height: 38px; padding: 0 14px; font-size: 14px; }
.spdf__sheet { position: relative; width: 100%; background: #fff; border: 1px solid #D1D5DB; box-shadow: 0 2px 10px rgba(15, 23, 42, .08); overflow: hidden; }
.spdf__canvas { position: absolute; inset: 0; width: 100%; height: 100%; }
.spdf__sig { position: absolute; border: 1.5px dashed var(--accent); border-radius: 4px; background: rgba(33, 85, 217, .04); cursor: move; touch-action: none; user-select: none; }
.spdf__sig:focus, .spdf__sig:focus-visible { outline: 3px solid var(--accent); outline-offset: 1px; }
.spdf__sig img { width: 100%; height: 100%; object-fit: contain; display: block; pointer-events: none; }
.spdf__sig-del { position: absolute; top: -14px; right: -14px; width: 28px; height: 28px; border-radius: 50%; border: 0; background: #B91C1C; color: #fff; font: 700 18px/28px var(--font); cursor: pointer; padding: 0; }
.spdf__sig-handle { position: absolute; right: -9px; bottom: -9px; width: 18px; height: 18px; border-radius: 50%; background: var(--accent); border: 2px solid #fff; cursor: nwse-resize; touch-action: none; }
.spdf__sig-handle::before { content: ""; position: absolute; inset: -10px; } /* dokunmada daha büyük hedef */

/* Net-Brüt Maaş + Kıdem Tazminatı (0.5.0, TR) — tablolar Loan Calculator'ın .loan__table parçalarını kullanır */
.maas__params, .kidem__params { margin-top: 20px; }
.maas__params a, .kidem__params a { overflow-wrap: anywhere; }
.kidem__detail { margin-top: 16px; border: 1px solid var(--line); border-radius: 12px; background: #fff; overflow: hidden; }
.kidem__table th, .kidem__table td { white-space: normal; }
.kidem__table tbody th { text-align: left; color: var(--ink-2); font-weight: 500; }
.kidem__table tbody tr:last-child th, .kidem__table tbody tr:last-child td { font-weight: 700; color: var(--ink); background: #EEF3FD; }
.kidem__table td { width: 9em; }
.kidem__notice { margin: 14px 0 0; }

/* 0.5.1 — metin, geliştirici ve günlük araçlar */
.field textarea[aria-invalid="true"], .field select[aria-invalid="true"] { border-color: #B91C1C; box-shadow: 0 0 0 1px #B91C1C; }
.code-area { font-family: ui-monospace, SFMono-Regular, Consolas, "Liberation Mono", Menlo, monospace !important; font-size: 14px !important; line-height: 1.5 !important; tab-size: 4; white-space: pre; overflow-wrap: normal; overflow-x: auto; }
.field textarea.code-area { min-height: 200px; }
.dropzone--small { min-height: 120px; padding: 18px 16px; }
.cc__limit-row { margin-top: 14px; }
.cc__meter { margin-top: 12px; }
.cc__meter-fill { display: block; height: 100%; background: var(--accent); border-radius: 999px; transition: width .15s; }
.cc__meter.is-over .cc__meter-fill { background: #B91C1C; }
.cc__meter-text { margin: 6px 0 0; font-size: 14px; font-weight: 600; color: var(--ink-2); }
.cc__meter.is-over .cc__meter-text { color: #B91C1C; }
.casec__modes { margin: 14px 0; }
.casec__opts, .casec__out { margin-top: 14px; }
.pwg__sets { min-width: 0; margin: 14px 0 0; padding: 0; border: 0; display: flex; flex-wrap: wrap; gap: 0 22px; }
.pwg__sets legend { margin-bottom: 4px; padding: 0; font-size: 14px; font-weight: 600; color: var(--ink-2); }
.pwg__strength { margin-top: 14px; }
.pwg__strength-fill { display: block; height: 100%; border-radius: 999px; background: #B91C1C; transition: width .15s; }
.pwg__strength[data-level="2"] .pwg__strength-fill { background: #D97706; }
.pwg__strength[data-level="3"] .pwg__strength-fill { background: #16A34A; }
.pwg__strength[data-level="4"] .pwg__strength-fill { background: #15803D; }
.pwg__strength-text { margin: 6px 0 0; font-size: 14px; font-weight: 600; color: var(--ink-2); }
.pwg__list { list-style: none; margin: 14px 0 0; padding: 0; display: flex; flex-direction: column; gap: 8px; }
.pwg__item { display: flex; align-items: center; gap: 10px; padding: 10px 12px; border-radius: 12px; background: #fff; border: 1px solid var(--line); }
.pwg__pw { flex: 1 1 auto; min-width: 0; font: 500 17px ui-monospace, SFMono-Regular, Consolas, monospace; overflow-wrap: anywhere; word-break: break-all; }
.pwg__copy { min-height: 40px; padding: 0 14px; font-size: 15px; flex: 0 0 auto; }
.age__main .stat__value { font-size: 24px; }
.bmi__scale { position: relative; margin: 18px 0 26px; }
.bmi__bands { display: flex; height: 14px; border-radius: 999px; overflow: hidden; }
.bmi__band--under { flex: 14 1 0; background: #93C5FD; }
.bmi__band--normal { flex: 26 1 0; background: #4ADE80; }
.bmi__band--over { flex: 20 1 0; background: #FBBF24; }
.bmi__band--obese { flex: 40 1 0; background: #F87171; }
.bmi__marker { position: absolute; top: -5px; width: 4px; height: 24px; margin-left: -2px; border-radius: 2px; background: var(--ink); box-shadow: 0 0 0 2px #fff; }
.bmi__ticks { position: relative; height: 18px; margin-top: 4px; font-size: 12px; color: var(--muted); }
.bmi__ticks span { position: absolute; transform: translateX(-50%); }
.bmi__disclaimer { margin-top: 14px; }
.unit__cats { max-width: 100%; }
.unit__row { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.4fr) auto minmax(0, 1.4fr); align-items: end; gap: 12px; }
.unit__swap { margin-bottom: 5px; }
.unit__all { margin-top: 24px; }
.unit__all .loan__title { margin-bottom: 10px; }
.unit__table th { text-align: left; font-weight: 500; color: var(--ink-2); }
.unit__table td, .unit__table th { white-space: normal; }
.unit__table tr.is-current th, .unit__table tr.is-current td { background: #EEF3FD; font-weight: 700; color: var(--ink); }
.json__opts { margin-top: 12px; align-items: end; }
.json__sort { align-self: end; }
.json__out { margin-top: 14px; }
.b64__dir { margin-bottom: 12px; }
.b64 .field + .check, .b64 .check + .field { margin-top: 10px; }
.b64__title { margin: 6px 0 12px; font-size: 18px; }
.b64 [data-b64-pane="file"] .actions + .b64__title { margin-top: 28px; }
.b64__fileinfo { margin: 8px 0; font-size: 14px; color: var(--muted); overflow-wrap: anywhere; }
/* 0.5.2 — PDF seti */
.spl__work, .p2j__work, .rot__work { display: flex; flex-direction: column; gap: 16px; }
.spl__work .segmented, .p2j__work .segmented { margin-bottom: 0; }
.spl__icon { display: flex; align-items: center; justify-content: center; background: var(--pdf-bg); color: var(--pdf-fg); font: 700 13px var(--font); }
.spl .cimg__badge { background: var(--pdf-bg); color: var(--pdf-fg); }
.mpdf__item.j2p__item { grid-template-columns: auto 48px minmax(0, 1fr) auto; }
.j2p__thumb { width: 48px; height: 48px; }
.j2p__opts { margin-top: 16px; }
.rot__bar { display: flex; flex-direction: column; gap: 10px; }
.rot__bar .presets, .rot__bar .actions { margin-top: 0; }
.rot__grid { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 12px; }
.rot__card { display: flex; flex-direction: column; gap: 8px; padding: 10px; border-radius: 12px; background: #fff; border: 1px solid var(--line); }
.rot__card.is-selected { border-color: var(--accent); box-shadow: 0 0 0 2px #C7D5F7; }
.rot__card.is-changed .rot__thumb { background: #EEF3FD; }
.rot__thumb { aspect-ratio: 1; display: flex; align-items: center; justify-content: center; overflow: hidden; border-radius: 8px; background: var(--soft); }
.rot__thumb canvas { max-width: 100%; max-height: 100%; box-shadow: 0 1px 4px rgba(15, 23, 42, .18); background: #fff; transition: transform .2s; }
@media (prefers-reduced-motion: reduce) { .rot__thumb canvas { transition: none; } }
.rot__foot { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 4px 6px; }
.rot__sel { display: flex; align-items: center; gap: 6px; min-height: 40px; font-size: 14px; font-weight: 600; color: var(--ink-2); cursor: pointer; white-space: nowrap; }
.rot__sel input { width: 18px; height: 18px; accent-color: var(--accent); }
.rot__btns { display: flex; gap: 4px; }
.rot__btns .icon-btn { width: 36px; height: 36px; }
@media (max-width: 560px) {
	.mpdf__item.j2p__item { grid-template-columns: auto 44px minmax(0, 1fr); }
	.mpdf__item.j2p__item .mpdf__btns { grid-column: 1 / -1; justify-content: flex-end; }
	.rot__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 640px) {
	.unit__row { grid-template-columns: minmax(0, 1fr) auto; }
	.unit__row .field:first-child { grid-column: 1 / -1; }
	.unit__row .unit__swap { order: 3; }
	.unit__row .field:last-child { grid-column: 1 / -1; order: 4; }
}

@media (max-width: 640px) {
	.mpdf__item { grid-template-columns: auto minmax(0, 1fr); }
	.mpdf__pages { grid-column: 1 / -1; }
	.mpdf__btns { grid-column: 1 / -1; justify-content: flex-end; }
}

@media (max-width: 560px) {
	.cimg__item { grid-template-columns: 48px minmax(0, 1fr) auto; }
	.cimg__thumb { width: 48px; height: 48px; }
	.cimg__dl { grid-column: 1 / -1; width: 100%; }
}

@media (max-width: 760px) {
	.qr { grid-template-columns: 1fr; }
	.qr__preview { position: static; max-width: 360px; width: 100%; margin: 0 auto; }
}
@media (max-width: 420px) {
	.calc-card__fields { grid-template-columns: 1fr; }
}

@media (max-width: 640px) {
	.hero__inner { padding-top: 48px; padding-bottom: 40px; }
	.tool-search__row { flex-direction: column; }
	.tool { padding: 18px; }
	.trust { padding: 24px; }
}

/* 0.5.4: Sınav puanı araçları (YKS, LGS, KPSS, DGS, ALES) */
.exam__table th, .exam__table td { padding: 6px 8px; }
.exam__table tbody th { white-space: normal; text-align: left; min-width: 8em; }
.exam__in { width: 4.2em; padding: 6px 6px; border: 1px solid var(--line); border-radius: 8px; font: inherit; text-align: right; }
.exam__in[aria-invalid="true"] { border-color: #DC2626; }
.exam__net { font-weight: 700; color: var(--ink); }
.exam__group th { text-align: left; background: var(--soft); color: var(--ink-2); font-weight: 700; }
.exam__warn { color: #92400E; }
.exam__opts { display: flex; flex-wrap: wrap; gap: 12px 24px; align-items: end; margin-top: 16px; }
/* 0.5.5: Hızlı global araçlar */
.colc__swatch { height: 72px; border-radius: var(--radius); border: 1px solid var(--line); margin: 12px 0; }
.colc__val, .urlc__val { font-family: ui-monospace, SFMono-Regular, Consolas, monospace; white-space: normal; word-break: break-all; text-align: left; }
.colc__copy { padding: 6px 12px; font-size: 14px; }
.colc__table tbody th, .urlc__table tbody th { text-align: left; }
.rpick__out { display: flex; flex-wrap: wrap; gap: 8px; margin: 16px 0 4px; min-height: 8px; }
.rpick__item { display: inline-block; padding: 8px 14px; border-radius: 999px; background: var(--soft); border: 1px solid var(--line); font-weight: 700; font-size: 18px; word-break: break-word; }
.gpa__table td, .gpa__table th { padding: 6px; }
.gpa__name { width: 100%; min-width: 7em; padding: 6px 8px; border: 1px solid var(--line); border-radius: 8px; font: inherit; }
.gpa__grade { padding: 6px; border: 1px solid var(--line); border-radius: 8px; font: inherit; background: #fff; }
.cdown__title { margin: 16px 0 0; }
.tzc__table td, .tzc__table th { white-space: normal; text-align: left; }
/* 0.5.6: Görsel/PDF araçları (Resize, Crop, Passport photo, Compress PDF) */
.crop__stage { position: relative; display: inline-block; max-width: 100%; margin: 12px 0; touch-action: none; user-select: none; -webkit-user-select: none; line-height: 0; }
.crop__stage img { display: block; max-width: 100%; max-height: 70vh; height: auto; }
.crop__box { position: absolute; box-sizing: border-box; border: 2px solid #fff; outline: 1px solid rgba(0,0,0,.6); box-shadow: 0 0 0 9999px rgba(0,0,0,.45); cursor: move; touch-action: none; }
.crop__box:focus-visible { outline: 3px solid var(--accent); }
.crop__h { position: absolute; width: 22px; height: 22px; background: #fff; border: 2px solid var(--accent); border-radius: 50%; }
.crop__h--nw { left: -11px; top: -11px; cursor: nwse-resize; } .crop__h--ne { right: -11px; top: -11px; cursor: nesw-resize; }
.crop__h--sw { left: -11px; bottom: -11px; cursor: nesw-resize; } .crop__h--se { right: -11px; bottom: -11px; cursor: nwse-resize; }
.crop__nums .field input { max-width: 110px; }
.crop__nums { grid-template-columns: repeat(auto-fit, minmax(80px, 1fr)); }
.pp__frame { display: flex; justify-content: center; margin: 12px 0; }
.pp__canvas { max-width: 100%; border: 1px solid var(--line); border-radius: 6px; touch-action: none; cursor: grab; background: var(--soft); }
.pp__canvas:active { cursor: grabbing; }
/* 0.5.7: İçerik üretici araçları */
.htag__list { display: flex; flex-wrap: wrap; gap: 8px; margin: 12px 0; }
.htag__tag[aria-pressed="false"] { opacity: .7; }
.fancy__list { list-style: none; margin: 16px 0 0; padding: 0; display: grid; gap: 8px; }
.fancy__item { display: grid; grid-template-columns: minmax(0, 1fr) auto; grid-template-areas: "label copy" "out copy"; gap: 2px 12px; align-items: center; padding: 10px 12px; border: 1px solid var(--line); border-radius: 10px; }
.fancy__label { grid-area: label; font-size: 13px; color: var(--muted); }
.fancy__out { grid-area: out; font-size: 18px; overflow-wrap: anywhere; }
.fancy__copy { grid-area: copy; padding: 6px 12px; }
.ytt__list { list-style: none; margin: 16px 0 0; padding: 0; display: grid; gap: 12px; }
.ytt__item { display: grid; grid-template-columns: minmax(0, 320px) minmax(0, 1fr); gap: 12px; align-items: start; padding: 10px; border: 1px solid var(--line); border-radius: 10px; }
.ytt__item img { width: 100%; height: auto; border-radius: 6px; background: var(--soft); }
.ytt__info { display: grid; gap: 4px; }
.ytt__item.is-missing { opacity: .55; }
@media (max-width: 560px) { .ytt__item { grid-template-columns: 1fr; } }

/* 0.5.9: Currency Converter */
.fxc__pair { display: grid; grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr); gap: 10px; align-items: end; }
.fxc__pair select { width: 100%; }
.fxc__swap { min-width: 44px; padding-left: 12px; padding-right: 12px; font-size: 20px; }
@media (max-width: 480px) { .fxc__pair { grid-template-columns: 1fr; } .fxc__swap { justify-self: center; } }

/* 0.5.9: Remove Background */
.rmbg__progress progress { width: 100%; height: 10px; }
.rmbg__stage { position: relative; max-width: 100%; margin: 0 0 12px; border-radius: 12px; overflow: hidden; background: repeating-conic-gradient(#E3E7EE 0% 25%, #fff 0% 50%) 0 0 / 20px 20px; line-height: 0; }
.rmbg__canvas { display: block; width: 100%; height: auto; }
.rmbg__canvas--after { position: absolute; inset: 0; }
.rmbg__stage .rmbg__canvas:first-child { opacity: 1; }
.rmbg__list { list-style: none; margin: 12px 0; padding: 0; display: grid; gap: 6px; }
.rmbg__item { display: flex; align-items: center; gap: 10px; padding: 6px 10px; border: 1px solid #C7CDD8; border-radius: 10px; }
.rmbg__item.is-current { border-color: var(--accent); }
.rmbg__name { flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }

/* 0.6.5: Organize PDF, Takdir Teşekkür */
.org__card { cursor: grab; }
.org__card.is-dragging { opacity: .45; }
.org__label { font-size: 14px; font-weight: 600; color: var(--ink-2); white-space: nowrap; }
.tak__wrap { max-height: none; }
.tak__table td, .tak__table th { padding: 6px; vertical-align: middle; }
.tak__in { width: 100%; min-width: 0; padding: 10px 8px; border: 1px solid #C7CDD8; border-radius: 10px; font: 400 16px var(--font); color: var(--ink); background: #fff; }
.tak__in[aria-invalid="true"] { border-color: #B91C1C; box-shadow: 0 0 0 1px #B91C1C; }
.tak__num { width: 4.5em; text-align: right; }
.tak__table td:first-child { width: 100%; }
@media (max-width: 480px) { .tak__num { width: 3.6em; } .tak__table .icon-btn { width: 36px; height: 36px; } }

/* ---- 0.6.6: Kalori, İdeal kilo, Diff, Hash, Timestamp, HEIC, İşten çıkış, Prim günü ---- */
.iw__title { margin: 28px 0 8px; font: 700 18px var(--font-head); color: var(--ink); }
.unit__table tr.is-current th, .unit__table tr.is-current td { background: #EEF3FD; font-weight: 700; color: var(--ink); }
.hash__list { display: grid; gap: 8px; margin: 16px 0; }
.hash__row { display: grid; grid-template-columns: 5.5em minmax(0, 1fr) auto; align-items: center; gap: 10px; padding: 10px 12px; border: 1px solid var(--line); border-radius: 12px; background: #fff; }
.hash__alg { font-weight: 700; color: var(--ink-2); font-size: 14px; }
.hash__val { min-width: 0; font: 13px/1.45 ui-monospace, SFMono-Regular, Consolas, "Liberation Mono", Menlo, monospace; overflow-wrap: anywhere; word-break: break-all; color: var(--ink); }
@media (max-width: 480px) { .hash__row { grid-template-columns: minmax(0, 1fr) auto; } .hash__val { grid-column: 1 / -1; grid-row: 2; } }
.diff__input { min-height: 180px !important; }
.diff__out { margin-top: 16px; max-height: 640px; overflow: auto; border: 1px solid var(--line); border-radius: 12px; background: #fff; }
.diff__table { width: 100%; border-collapse: collapse; table-layout: fixed; font: 13px/1.5 ui-monospace, SFMono-Regular, Consolas, "Liberation Mono", Menlo, monospace; }
.diff__table td { padding: 2px 8px; vertical-align: top; border-bottom: 1px solid #F1F3F7; }
.diff__num { width: 3.2em; text-align: right; color: var(--muted); background: var(--soft-2); user-select: none; font-size: 12px; }
.diff__txt { white-space: pre-wrap; overflow-wrap: anywhere; word-break: break-word; color: var(--ink); }
.diff__del { background: #FEF2F2; }
.diff__add { background: #ECFDF3; }
.diff__empty { background: repeating-linear-gradient(45deg, #FAFAFB, #FAFAFB 6px, #F3F4F6 6px, #F3F4F6 12px); }
.diff__wdel { background: #FCA5A5; color: inherit; border-radius: 2px; text-decoration: line-through; }
.diff__wadd { background: #86EFAC; color: inherit; border-radius: 2px; }
@media (max-width: 480px) { .diff__num { width: 2.4em; padding: 2px 4px; } .diff__table td { padding: 2px 4px; } }
.heic__list { list-style: none; margin: 14px 0 0; padding: 0; display: grid; gap: 8px; }
.heic__item { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 12px; padding: 10px 12px; border: 1px solid var(--line); border-radius: 12px; background: #fff; }
.heic__name { flex: 1 1 12em; min-width: 0; overflow-wrap: anywhere; font-weight: 500; }
.heic__meta { font-size: 13px; color: var(--muted); }
.heic__item.is-error { border-color: #FCA5A5; }
.heic__item.is-error .heic__meta { color: #B91C1C; font-weight: 500; }
.prim__row { grid-template-columns: repeat(auto-fit, minmax(140px, 1fr)); align-items: end; margin-bottom: 8px; }
.prim__del { flex-direction: row; }
.cikis__table th, .cikis__table td { white-space: normal; }
.cikis__table td { width: auto; }
.cikis__rights td { text-align: center; }
