/* TalkChill SEO Tools — scoped to .tcst so it never fights the theme. */
.tcst {
	--tc: #1888ad;
	--ink: #0f172a;
	--ink-2: #475569;
	--ink-3: #94a3b8;
	--line: #e2e8f0;
	--soft: #f8fafc;
	--card: #ffffff;
	--ok: #16a34a;
	--warn: #d97706;
	--bad: #dc2626;
	--r: 14px;
	color: var(--ink);
	font-size: 16px;
	line-height: 1.6;
	max-width: 1100px;
	margin: 0 auto;
	box-sizing: border-box;
}
.tcst *, .tcst *::before, .tcst *::after { box-sizing: border-box; }
.tcst h2 { font-size: 1.45rem; line-height: 1.3; margin: 0 0 .8rem; color: var(--ink); }
.tcst h3 { font-size: 1.1rem; margin: 0 0 .6rem; color: var(--ink); }
.tcst-lead { font-size: 1.1rem; color: var(--ink-2); margin: 0 0 1.25rem; }
.tcst-muted { color: var(--ink-3); font-size: .92rem; }

/* Card ------------------------------------------------------------------ */
.tcst-card {
	background: var(--card);
	border: 1px solid var(--line);
	border-top: 4px solid var(--tc);
	border-radius: var(--r);
	padding: 22px;
	box-shadow: 0 1px 2px rgba(15, 23, 42, .04), 0 8px 24px -12px rgba(15, 23, 42, .12);
}
.tcst-section { margin-top: 48px; }

/* Inputs ---------------------------------------------------------------- */
.tcst-editor { border: 1px solid var(--line); border-radius: 10px; background: #fff; overflow: hidden; transition: border-color .15s, box-shadow .15s; }
.tcst-editor:focus-within { border-color: var(--tc); box-shadow: 0 0 0 3px color-mix(in srgb, var(--tc) 18%, transparent); }
.tcst .tcst-textarea {
	display: block; width: 100%; min-height: 120px; border: 0 !important; outline: 0; resize: vertical;
	padding: 14px 16px; font: inherit; font-size: 16px; line-height: 1.65; color: var(--ink); background: transparent !important; box-shadow: none !important; margin: 0;
}
.tcst-meta { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 8px 14px; border-top: 1px solid var(--line); background: var(--soft); font-size: .85rem; color: var(--ink-2); }
.tcst-meta-actions { display: flex; gap: 14px; }
.tcst .tcst-link { background: none !important; border: 0; padding: 0; color: var(--tc); font: inherit; font-weight: 600; cursor: pointer; text-decoration: none; box-shadow: none; }
.tcst .tcst-link:hover { text-decoration: underline; }
.tcst .tcst-input, .tcst .tcst-select {
	width: 100%; padding: 11px 14px; border: 1px solid var(--line); border-radius: 10px; font: inherit; font-size: 16px; color: var(--ink); background: #fff; margin: 0;
}
.tcst .tcst-select { width: auto; padding-right: 32px; }
.tcst .tcst-input:focus, .tcst .tcst-select:focus { outline: 0; border-color: var(--tc); box-shadow: 0 0 0 3px color-mix(in srgb, var(--tc) 18%, transparent); }
.tcst-row { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; margin-top: 14px; }
.tcst-field { display: flex; flex-direction: column; gap: 6px; font-size: .88rem; font-weight: 600; color: var(--ink-2); }
.tcst-field .tcst-select { width: 100%; }
.tcst-toolbar { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 12px; margin-bottom: 14px; font-size: .92rem; color: var(--ink-2); }
.tcst-toolbar label { display: flex; align-items: center; gap: 8px; font-weight: 600; }
.tcst-filter { max-width: 420px; margin: 0 auto 24px; }

/* Buttons --------------------------------------------------------------- */
.tcst-actions { display: flex; flex-wrap: wrap; justify-content: flex-end; align-items: center; gap: 10px; margin-top: 16px; }
.tcst .tcst-btn {
	position: relative; display: inline-flex; align-items: center; justify-content: center; gap: 8px;
	min-height: 46px; padding: 0 24px; border: 1px solid var(--tc); border-radius: 10px;
	background: var(--tc); color: #fff; font: inherit; font-weight: 700; font-size: 1rem; line-height: 1;
	cursor: pointer; text-decoration: none; box-shadow: 0 4px 14px -6px var(--tc); transition: filter .15s, transform .05s;
}
.tcst .tcst-btn:hover { filter: brightness(1.08); color: #fff; }
.tcst .tcst-btn:active { transform: translateY(1px); }
.tcst .tcst-btn[disabled] { opacity: .7; cursor: progress; }
.tcst .tcst-btn-ghost { background: #fff; color: var(--tc); box-shadow: none; }
.tcst .tcst-btn-ghost:hover { background: color-mix(in srgb, var(--tc) 8%, #fff); color: var(--tc); }
.tcst-spinner { display: none; width: 18px; height: 18px; border: 2.5px solid rgba(255, 255, 255, .45); border-top-color: #fff; border-radius: 50%; animation: tcst-spin .7s linear infinite; }
.tcst-btn.is-loading .tcst-spinner { display: inline-block; }
@keyframes tcst-spin { to { transform: rotate(360deg); } }
.tcst-file { cursor: pointer; }

.tcst-error { margin-top: 14px; padding: 12px 14px; border-radius: 10px; background: #fef2f2; color: #991b1b; border: 1px solid #fecaca; font-size: .95rem; }
.tcst-error[hidden], .tcst [hidden] { display: none !important; }

/* Pills / tabs ---------------------------------------------------------- */
.tcst-pills { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 14px; }
.tcst-pill input { position: absolute; opacity: 0; pointer-events: none; }
.tcst-pill span { display: inline-block; padding: 7px 16px; border: 1px solid var(--line); border-radius: 999px; font-size: .92rem; font-weight: 600; color: var(--ink-2); cursor: pointer; background: #fff; transition: all .15s; }
.tcst-pill input:checked + span { background: var(--tc); border-color: var(--tc); color: #fff; }
.tcst-pill input:focus-visible + span { outline: 2px solid var(--tc); outline-offset: 2px; }
.tcst-tabs { display: inline-flex; gap: 4px; padding: 4px; margin-bottom: 14px; background: var(--soft); border: 1px solid var(--line); border-radius: 10px; }
.tcst .tcst-tabs button { border: 0; background: transparent; padding: 7px 14px; border-radius: 7px; font: inherit; font-size: .9rem; font-weight: 600; color: var(--ink-2); cursor: pointer; box-shadow: none; }
.tcst .tcst-tabs button.is-active { background: #fff; color: var(--tc); box-shadow: 0 1px 3px rgba(15, 23, 42, .12); }

/* Split layouts --------------------------------------------------------- */
.tcst-split { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.tcst-split-wide { grid-template-columns: minmax(0, 1fr) 300px; }
.tcst-output-wrap { display: flex; flex-direction: column; border: 1px solid var(--line); border-radius: 10px; overflow: hidden; background: var(--soft); margin-top: 0; }
[data-tcst-genwrap] { margin-top: 18px; }
.tcst-output { flex: 1; min-height: 260px; padding: 14px 16px; white-space: pre-wrap; word-wrap: break-word; background: #fff; }
.tcst-output:empty::before { content: attr(data-placeholder); color: var(--ink-3); }
.tcst-prose { white-space: normal; min-height: 0; }
.tcst-prose h2, .tcst-prose h3 { margin: 1.1em 0 .4em; font-size: 1.2rem; }
.tcst-prose h2:first-child, .tcst-prose h3:first-child { margin-top: 0; }
.tcst-prose p { margin: 0 0 .9em; }
.tcst-prose ul { margin: 0 0 .9em 1.2em; }

/* Results --------------------------------------------------------------- */
.tcst-result { margin-top: 22px; padding-top: 22px; border-top: 1px dashed var(--line); }
.tcst-summary { display: grid; grid-template-columns: 170px 1fr; gap: 24px; align-items: center; margin-bottom: 22px; }
.tcst-gauge { --v: 0; --c: var(--ok); width: 150px; aspect-ratio: 1; border-radius: 50%; display: grid; place-items: center; margin: 0 auto;
	background: conic-gradient(var(--c) calc(var(--v) * 1%), #eef2f7 0); }
.tcst-gauge > div { width: 76%; aspect-ratio: 1; border-radius: 50%; background: #fff; display: grid; place-content: center; text-align: center; }
.tcst-gauge b { font-size: 2rem; line-height: 1; color: var(--ink); }
.tcst-gauge small { font-size: .78rem; color: var(--ink-2); margin-top: 4px; text-transform: uppercase; letter-spacing: .04em; }
.tcst-verdict { font-size: 1.3rem; font-weight: 800; margin: 0 0 6px; }
.tcst-bars { display: grid; gap: 8px; margin: 10px 0; }
.tcst-bar { display: grid; grid-template-columns: 110px 1fr 48px; align-items: center; gap: 10px; font-size: .9rem; }
.tcst-bar > i { height: 10px; border-radius: 99px; background: #eef2f7; overflow: hidden; display: block; }
.tcst-bar > i > em { display: block; height: 100%; border-radius: 99px; }
.tcst-highlight { padding: 16px; border: 1px solid var(--line); border-radius: 10px; background: #fff; line-height: 1.9; }
.tcst-highlight mark { padding: 2px 0; border-radius: 3px; color: inherit; }
.tcst-highlight .is-plag { background: #fee2e2; box-shadow: inset 0 -2px 0 var(--bad); }
.tcst-sources { list-style: none; margin: 14px 0 0; padding: 0; display: grid; gap: 8px; }
.tcst-sources li { display: flex; justify-content: space-between; gap: 12px; padding: 10px 14px; border: 1px solid var(--line); border-radius: 10px; font-size: .92rem; }
.tcst-sources a { color: var(--ink); font-weight: 600; word-break: break-word; }
.tcst-sources .tcst-tag { flex: none; }
.tcst-tag { display: inline-block; padding: 2px 10px; border-radius: 99px; font-size: .78rem; font-weight: 700; background: var(--soft); color: var(--ink-2); border: 1px solid var(--line); }
.tcst-reasons { margin: 8px 0 0 1.1em; padding: 0; color: var(--ink-2); font-size: .95rem; }
.tcst-note { margin-top: 14px; font-size: .85rem; color: var(--ink-3); }

/* Grammar --------------------------------------------------------------- */
.tcst-legend { display: inline-flex; align-items: center; gap: 6px; font-size: .85rem; }
.tcst-legend i { width: 12px; height: 4px; border-radius: 2px; display: inline-block; margin-left: 8px; }
.g-spelling { background: var(--bad); }
.g-grammar { background: #2563eb; }
.g-style { background: var(--warn); }
.tcst-marked { min-height: 260px; padding: 14px 16px; border: 1px solid var(--line); border-radius: 10px; background: #fff; white-space: pre-wrap; word-wrap: break-word; line-height: 1.75; }
.tcst-marked .tcst-err { background: none; cursor: pointer; border-bottom: 2.5px solid; padding: 0 1px; color: inherit; font: inherit; }
.tcst-marked .tcst-err.spelling { border-color: var(--bad); background: #fef2f2; }
.tcst-marked .tcst-err.grammar { border-color: #2563eb; background: #eff6ff; }
.tcst-marked .tcst-err.style { border-color: var(--warn); background: #fffbeb; }
.tcst-marked .tcst-err.is-active { outline: 2px solid var(--tc); outline-offset: 1px; }
.tcst-issues { border: 1px solid var(--line); border-radius: 10px; padding: 12px; background: var(--soft); max-height: 420px; overflow: auto; }
.tcst-issue { background: #fff; border: 1px solid var(--line); border-left: 4px solid var(--ink-3); border-radius: 8px; padding: 10px 12px; margin-bottom: 8px; font-size: .9rem; }
.tcst-issue.spelling { border-left-color: var(--bad); }
.tcst-issue.grammar { border-left-color: #2563eb; }
.tcst-issue.style { border-left-color: var(--warn); }
.tcst-issue.is-active { box-shadow: 0 0 0 2px var(--tc); }
.tcst-issue p { margin: 0 0 8px; color: var(--ink-2); }
.tcst-issue s { color: var(--bad); }
.tcst-chips { display: flex; flex-wrap: wrap; gap: 6px; }
.tcst .tcst-chip { border: 1px solid color-mix(in srgb, var(--tc) 35%, #fff); background: color-mix(in srgb, var(--tc) 8%, #fff); color: var(--ink); border-radius: 6px; padding: 3px 10px; font: inherit; font-size: .88rem; font-weight: 600; cursor: pointer; box-shadow: none; }
.tcst .tcst-chip:hover { background: var(--tc); color: #fff; }
.tcst-issue-count { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 10px; }
.tcst-ok { text-align: center; padding: 24px 8px; color: var(--ok); font-weight: 700; }

/* Small text ------------------------------------------------------------ */
.tcst-variants { display: grid; gap: 10px; margin-top: 16px; }
.tcst-variant { display: grid; grid-template-columns: 150px 1fr auto; align-items: center; gap: 12px; padding: 12px 14px; border: 1px solid var(--line); border-radius: 10px; background: #fff; }
.tcst-variant span { font-size: .85rem; font-weight: 700; color: var(--ink-2); }
.tcst-variant output { font-size: 1.2rem; word-break: break-word; }
.tcst .tcst-copy { min-height: 36px; padding: 0 16px; font-size: .9rem; }

/* Word counter ---------------------------------------------------------- */
.tcst-stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; margin-bottom: 16px; }
.tcst-stat { padding: 14px; border: 1px solid var(--line); border-radius: 10px; background: var(--soft); text-align: center; }
.tcst-stat b { display: block; font-size: 1.6rem; line-height: 1.2; color: var(--tc); }
.tcst-stat span { font-size: .82rem; color: var(--ink-2); }
.tcst-density { margin-top: 22px; }
.tcst-table { width: 100%; border-collapse: collapse; font-size: .95rem; margin: 0; }
.tcst-table th, .tcst-table td { padding: 10px 12px; border-bottom: 1px solid var(--line); text-align: left; }
.tcst-table th { background: var(--soft); font-size: .82rem; text-transform: uppercase; letter-spacing: .04em; color: var(--ink-2); }
.tcst-table td.num, .tcst-table th.num { text-align: right; font-variant-numeric: tabular-nums; }
.tcst-table-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: 10px; }
.tcst-table-wrap .tcst-table tr:last-child td { border-bottom: 0; }

/* Reverse image --------------------------------------------------------- */
.tcst-drop { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 6px; min-height: 220px; padding: 24px; border: 2px dashed var(--line); border-radius: 12px; background: var(--soft); text-align: center; cursor: pointer; transition: border-color .15s, background .15s; }
.tcst-drop:hover, .tcst-drop.is-over { border-color: var(--tc); background: color-mix(in srgb, var(--tc) 5%, #fff); }
.tcst-drop-icon { color: var(--tc); }
.tcst-drop-icon svg { width: 40px; height: 40px; }
.tcst-drop img { max-width: 100%; max-height: 220px; border-radius: 8px; margin-top: 8px; }
.tcst-engines { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; margin-top: 14px; }
.tcst .tcst-engines .tcst-btn { width: 100%; padding: 0 12px; font-size: .95rem; }
.tcst-thumb { display: flex; gap: 14px; align-items: center; }
.tcst-thumb img { width: 84px; height: 84px; object-fit: cover; border-radius: 8px; border: 1px solid var(--line); }

/* FAQ & steps ----------------------------------------------------------- */
.tcst-steps { counter-reset: s; list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.tcst-steps li { counter-increment: s; position: relative; padding: 14px 16px 14px 60px; border: 1px solid var(--line); border-radius: 12px; background: #fff; }
.tcst-steps li::before { content: counter(s); position: absolute; left: 16px; top: 50%; transform: translateY(-50%); width: 30px; height: 30px; border-radius: 50%; background: var(--tc); color: #fff; font-weight: 800; display: grid; place-items: center; font-size: .95rem; }
.tcst-faq details { border: 1px solid var(--line); border-radius: 12px; background: #fff; margin-bottom: 10px; }
.tcst-faq summary { padding: 14px 18px; font-weight: 700; cursor: pointer; list-style: none; position: relative; padding-right: 44px; }
.tcst-faq summary::-webkit-details-marker { display: none; }
.tcst-faq summary::after { content: "+"; position: absolute; right: 18px; top: 50%; transform: translateY(-50%); font-size: 1.3rem; color: var(--tc); }
.tcst-faq details[open] summary::after { content: "–"; }
.tcst-faq details p { margin: 0; padding: 0 18px 16px; color: var(--ink-2); }

/* Tools grid ------------------------------------------------------------ */
.tcst-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.tcst .tcst-tile {
	--tc: #1888ad; display: flex; flex-direction: column; gap: 6px; padding: 20px; border: 1px solid var(--line); border-radius: var(--r);
	background: #fff; color: var(--ink); text-decoration: none !important; transition: transform .15s, box-shadow .15s, border-color .15s;
}
.tcst .tcst-tile:hover { transform: translateY(-3px); border-color: var(--tc); box-shadow: 0 14px 30px -18px var(--tc); color: var(--ink); }
.tcst-tile-icon { width: 46px; height: 46px; border-radius: 12px; display: grid; place-items: center; background: color-mix(in srgb, var(--tc) 12%, #fff); color: var(--tc); margin-bottom: 6px; }
.tcst-tile-title { font-weight: 800; font-size: 1.08rem; }
.tcst-tile-desc { font-size: .92rem; color: var(--ink-2); line-height: 1.5; }
.tcst-home-title { text-align: center; }

/* Page headers (theme title is hidden on our pages) --------------------- */
.tcst-own-title .wp-block-post-title,
.tcst-own-title .entry-title,
.tcst-own-title .page-title,
.tcst-own-title h1.entry-title { display: none !important; }
.tcst-head { text-align: center; max-width: 760px; margin: 8px auto 28px; }
.tcst-head h1 { font-size: clamp(1.9rem, 4vw, 2.6rem); line-height: 1.15; margin: 8px 0 10px; color: var(--ink); letter-spacing: -.01em; }
.tcst-head .tcst-lead { margin: 0 auto; }
.tcst-head-icon { display: inline-grid; place-items: center; width: 56px; height: 56px; border-radius: 16px; background: color-mix(in srgb, var(--tc) 12%, #fff); color: var(--tc); }
.tcst-head-icon svg { width: 30px; height: 30px; }
.tcst-center { text-align: center; }

/* Home hero ------------------------------------------------------------- */
.tcst-hero {
	position: relative; overflow: hidden; text-align: center; color: #fff;
	padding: clamp(40px, 7vw, 76px) clamp(18px, 5vw, 56px); border-radius: 22px;
	background: radial-gradient(120% 140% at 100% 0%, #3a9d3f 0%, rgba(58, 157, 63, 0) 45%), linear-gradient(135deg, #0f4c6e 0%, #1888ad 100%);
}
.tcst-hero::after { content: ""; position: absolute; inset: 0; background-image: radial-gradient(rgba(255,255,255,.12) 1px, transparent 1px); background-size: 22px 22px; pointer-events: none; }
.tcst-hero > * { position: relative; z-index: 1; }
.tcst-eyebrow { display: inline-block; margin: 0 0 14px; padding: 5px 14px; border-radius: 99px; background: rgba(255,255,255,.14); border: 1px solid rgba(255,255,255,.25); font-size: .85rem; font-weight: 700; letter-spacing: .02em; }
.tcst .tcst-hero h1 { color: #fff; font-size: clamp(2rem, 5vw, 3.2rem); line-height: 1.1; margin: 0 0 14px; letter-spacing: -.02em; }
.tcst-hero-sub { max-width: 640px; margin: 0 auto 26px; font-size: clamp(1rem, 1.6vw, 1.15rem); color: rgba(255,255,255,.88); }
.tcst-hero-search { display: flex; align-items: center; gap: 10px; max-width: 560px; margin: 0 auto; padding: 6px 8px 6px 18px; background: #fff; border-radius: 14px; color: #64748b; box-shadow: 0 18px 40px -18px rgba(0,0,0,.45); }
.tcst .tcst-hero-search input { flex: 1; min-width: 0; border: 0 !important; outline: 0; box-shadow: none !important; padding: 12px 4px; font: inherit; font-size: 1.05rem; color: var(--ink); background: transparent; }
.tcst-hero-points { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px 22px; list-style: none; margin: 22px 0 0; padding: 0; font-size: .92rem; color: rgba(255,255,255,.9); }
.tcst-hero-points li::before { content: "✓"; margin-right: 6px; color: #9be38f; font-weight: 800; }
.tcst-features { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.tcst-features > div { padding: 20px; border: 1px solid var(--line); border-radius: var(--r); background: #fff; }
.tcst-features b { display: block; font-size: 1.05rem; margin-bottom: 6px; color: #0f4c6e; }
.tcst-features p { margin: 0; font-size: .93rem; color: var(--ink-2); }
.tcst-home .tcst-section { margin-top: 56px; }

/* Content pages & contact ---------------------------------------------- */
.tcst-doc { max-width: 860px; --tc: #1888ad; }
.tcst-doc .tcst-card { line-height: 1.75; }
.tcst-doc .tcst-card h2 { font-size: 1.25rem; margin: 1.4em 0 .5em; }
.tcst-doc .tcst-card h2:first-child { margin-top: 0; }
.tcst-contact { --tc: #1888ad; max-width: 860px; margin: 24px auto 0; }
.tcst-row-2 { grid-template-columns: 1fr 1fr; margin-top: 0; }
.tcst .tcst-contact textarea.tcst-input { resize: vertical; min-height: 140px; }
.tcst-success { margin-top: 14px; padding: 12px 14px; border-radius: 10px; background: #f0fdf4; color: #166534; border: 1px solid #bbf7d0; }
.tcst-hp { position: absolute !important; left: -9999px !important; width: 1px; height: 1px; opacity: 0; }

/* Image & PDF tools ----------------------------------------------------- */
.tcst-drop.is-compact { min-height: 0; flex-direction: row; gap: 10px; padding: 14px; }
.tcst-drop.is-compact .tcst-drop-icon svg { width: 24px; height: 24px; }
.tcst-drop.is-compact .tcst-muted { display: none; }
.tcst-files { list-style: none; margin: 14px 0 0; padding: 0; display: grid; gap: 8px; }
.tcst-files li { display: grid; grid-template-columns: 48px minmax(0, 1fr) auto; align-items: center; gap: 12px; padding: 8px 10px; border: 1px solid var(--line); border-radius: 10px; background: #fff; }
.tcst-file-thumb { width: 48px; height: 48px; border-radius: 8px; background: var(--soft); border: 1px solid var(--line); display: grid; place-items: center; overflow: hidden; font-size: .72rem; font-weight: 800; color: #c0392b; }
.tcst-file-thumb img { width: 100%; height: 100%; object-fit: cover; }
.tcst-file-name { min-width: 0; font-weight: 600; font-size: .92rem; overflow-wrap: anywhere; }
.tcst-file-name small { display: block; font-weight: 400; color: var(--ink-2); font-size: .82rem; }
.tcst-file-name em { font-style: normal; }
.tcst-file-name em.is-good { color: var(--ok); font-weight: 700; }
.tcst-file-acts { display: flex; gap: 6px; align-items: center; }
.tcst .tcst-file-acts button { width: 32px; height: 32px; border: 1px solid var(--line); border-radius: 8px; background: #fff; color: var(--ink-2); cursor: pointer; font: inherit; line-height: 1; padding: 0; box-shadow: none; }
.tcst .tcst-file-acts button:hover:not([disabled]) { border-color: var(--tc); color: var(--tc); }
.tcst .tcst-file-acts button[disabled] { opacity: .35; cursor: default; }
.tcst-options { margin-top: 16px; padding: 16px; border: 1px solid var(--line); border-radius: 12px; background: var(--soft); }
.tcst-options .tcst-row:first-child { margin-top: 0; }
.tcst-options .tcst-tabs { background: #fff; }
.tcst-check { flex-direction: row; align-items: center; gap: 8px; align-self: end; padding-bottom: 12px; }
.tcst .tcst-options input[type=range] { width: 100%; accent-color: var(--tc); margin: 10px 0 0; }
.tcst-progress { margin-top: 16px; height: 30px; border-radius: 8px; background: var(--soft); border: 1px solid var(--line); position: relative; overflow: hidden; }
.tcst-progress i { position: absolute; inset: 0 auto 0 0; width: 0; background: color-mix(in srgb, var(--tc) 22%, #fff); transition: width .2s; }
.tcst-progress span { position: relative; display: block; text-align: center; line-height: 28px; font-size: .85rem; font-weight: 600; color: var(--ink-2); }
.tcst-summary-line { padding: 12px 14px; border-radius: 10px; background: #f0fdf4; border: 1px solid #bbf7d0; color: #166534; }
.tcst-out { margin-top: 12px; }
.tcst-cat + .tcst-cat { margin-top: 40px; }
.tcst .tcst-cat-title { font-size: 1.25rem; margin: 0 0 14px; padding-left: 12px; border-left: 4px solid #1888ad; }
.tcst-all-link { margin-top: 18px; }

/* Responsive ------------------------------------------------------------ */
@media (max-width: 900px) {
	.tcst-features { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 600px) {
	.tcst-features, .tcst-row-2 { grid-template-columns: 1fr; }
	.tcst-hero { border-radius: 16px; }
	.tcst .tcst-tile { display: grid; grid-template-columns: 46px 1fr; column-gap: 14px; row-gap: 2px; padding: 16px; }
	.tcst-tile-icon { grid-row: span 2; margin: 0; }
}
@media (max-width: 900px) {
	.tcst-grid { grid-template-columns: repeat(2, 1fr); }
	.tcst-split, .tcst-split-wide { grid-template-columns: 1fr; }
	.tcst-engines { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 600px) {
	.tcst-card { padding: 16px; }
	.tcst-grid { grid-template-columns: 1fr; }
	.tcst-row { grid-template-columns: 1fr; }
	.tcst-stats { grid-template-columns: repeat(2, 1fr); }
	.tcst-summary { grid-template-columns: 1fr; text-align: center; }
	.tcst-variant { grid-template-columns: 1fr auto; }
	.tcst-variant span { grid-column: 1 / -1; }
	.tcst-files li { grid-template-columns: 40px minmax(0, 1fr); }
	.tcst-file-thumb { width: 40px; height: 40px; }
	.tcst-file-acts { grid-column: 1 / -1; justify-content: flex-end; }
	.tcst-actions .tcst-btn { flex: 1 1 auto; }
	.tcst-bar { grid-template-columns: 90px 1fr 44px; }
}
