/*! Toolflow Core — tool widget + directory styles */

:root {
	--tf-bg: #FAFAFC;
	--tf-surface: #FFFFFF;
	--tf-surface-2: #F4F4F8;
	--tf-ink: #14141B;
	--tf-ink-2: #3A3A47;
	--tf-muted: #71717F;
	--tf-line: #E9E9F0;
	--tf-line-2: #DCDCE6;
	--tf-primary: #5B45E0;
	--tf-primary-700: #4332C0;
	--tf-primary-50: #EFEDFD;
	--tf-accent: #FF5C72;
	--tf-radius: 12px;
	--tf-radius-sm: 8px;
	--tf-shadow-sm: 0 1px 2px rgba(20,20,27,.06), 0 1px 3px rgba(20,20,27,.04);
	--tf-shadow: 0 4px 16px rgba(20,20,27,.07), 0 2px 6px rgba(20,20,27,.05);
	--tf-shadow-lg: 0 18px 48px rgba(20,20,27,.14);
	--tf-font: "Plus Jakarta Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
	--tf-display: "Space Grotesk", var(--tf-font);
	--tf-mono: "JetBrains Mono", ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
}

/* ---------- category accents ---------- */
.tf-chip--seo{--c:#10A37F}
.tf-chip--pdf{--c:#E5484D}
.tf-chip--image{--c:#F59E0B}
.tf-chip--text{--c:#3B82F6}
.tf-chip--convert{--c:#7C5CFC}
.tf-chip--utility{--c:#0EA5A4}
.tf-chip--audio{--c:#EC4899}
.tf-chip--calc{--c:#0891B2}

/* ---------- tool widget shell ---------- */
.tf-tool{
	font-family: var(--tf-font);
	color: var(--tf-ink);
	background: var(--tf-surface);
	border: 1px solid var(--tf-line);
	border-radius: var(--tf-radius);
	box-shadow: var(--tf-shadow);
	padding: 20px;
	margin: 0 0 28px;
	line-height: 1.5;
}
.tf-tool *{ box-sizing: border-box; }
.tf-tool__head{ display:flex; align-items:center; gap:10px; flex-wrap:wrap; margin-bottom:16px; }
.tf-tool__chip{
	display:inline-flex; align-items:center; gap:6px;
	font-size:12.5px; font-weight:700; letter-spacing:.01em;
	padding:5px 10px; border-radius:999px;
	color:var(--c,var(--tf-primary)); background:color-mix(in srgb, var(--c,var(--tf-primary)) 11%, white);
	border:1px solid color-mix(in srgb, var(--c,var(--tf-primary)) 24%, white);
}
.tf-tool__io{
	font-family:var(--tf-mono); font-size:12px; font-weight:600; letter-spacing:.02em;
	color:var(--tf-muted); background:var(--tf-surface-2);
	padding:5px 10px; border-radius:6px; border:1px solid var(--tf-line);
	margin-left:auto;
}
.tf-tool__mount{ min-height:60px; }
.tf-tool__privacy{
	display:flex; align-items:center; gap:7px;
	font-size:12.5px; color:var(--tf-muted);
	margin:18px 0 0; padding-top:14px; border-top:1px dashed var(--tf-line);
}
.tf-tool__privacy svg{ color:var(--tf-primary); flex:none; }
.tf-tool-missing{ padding:14px 16px; border:1px dashed var(--tf-line-2); border-radius:var(--tf-radius-sm); color:var(--tf-muted); font-family:var(--tf-font); }

.tf-skeleton{ display:flex; align-items:center; gap:10px; color:var(--tf-muted); font-size:14px; padding:18px 0; }
.tf-error{ background:#FDECEC; border:1px solid #F5C6C6; color:#B3261E; padding:12px 14px; border-radius:var(--tf-radius-sm); font-size:13.5px; }
.tf-busy{ display:flex; align-items:center; gap:10px; color:var(--tf-muted); font-size:14px; padding:10px 0; }
.tf-spinner{ width:18px; height:18px; border:2.5px solid var(--tf-line-2); border-top-color:var(--tf-primary); border-radius:50%; animation:tf-spin .7s linear infinite; flex:none; }
@keyframes tf-spin{ to{ transform:rotate(360deg); } }

/* ---------- layout primitives ---------- */
.tf-stack{ display:flex; flex-direction:column; gap:14px; }
.tf-row{ display:flex; gap:12px; flex-wrap:wrap; }
.tf-row > *{ flex:1 1 160px; min-width:0; }
.tf-btnrow{ display:flex; gap:10px; flex-wrap:wrap; align-items:center; }

.tf-field{ display:flex; flex-direction:column; gap:6px; }
.tf-field__label{ font-size:12.5px; font-weight:600; color:var(--tf-ink-2); }
.tf-field__hint{ font-size:11.5px; color:var(--tf-muted); }
.tf-fieldwrap{ display:flex; flex-direction:column; gap:6px; }
.tf-inputrow{ display:flex; gap:8px; align-items:stretch; }
.tf-inputrow > .tf-input, .tf-inputrow > input{ flex:1; min-width:0; }

/* ---------- inputs ---------- */
.tf-input, .tf-in, .tf-out, .tf-select{
	width:100%; font-family:var(--tf-font); font-size:14px; color:var(--tf-ink);
	background:var(--tf-surface); border:1px solid var(--tf-line-2); border-radius:var(--tf-radius-sm);
	padding:10px 12px; transition:border-color .15s, box-shadow .15s; -webkit-appearance:none; appearance:none;
}
.tf-in, .tf-out{ resize:vertical; line-height:1.55; }
.tf-input:focus, .tf-in:focus, .tf-out:focus, .tf-select:focus{
	outline:none; border-color:var(--tf-primary); box-shadow:0 0 0 3px var(--tf-primary-50);
}
.tf-out{ background:var(--tf-surface-2); }
.tf-mono, .tf-mono.tf-input, textarea.tf-mono{ font-family:var(--tf-mono); font-size:13px; }
.tf-select{ background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%2371717F' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E"); background-repeat:no-repeat; background-position:right 10px center; padding-right:34px; cursor:pointer; }

/* output with action bar */
.tf-outwrap{ border:1px solid var(--tf-line-2); border-radius:var(--tf-radius-sm); overflow:hidden; background:var(--tf-surface-2); }
.tf-out__bar{ display:flex; align-items:center; justify-content:space-between; gap:10px; padding:8px 8px 8px 12px; background:var(--tf-surface); border-bottom:1px solid var(--tf-line); }
.tf-out__label{ font-size:12px; font-weight:700; color:var(--tf-muted); text-transform:uppercase; letter-spacing:.04em; }
.tf-out__actions{ display:flex; gap:6px; }
.tf-outwrap .tf-out{ border:none; border-radius:0; background:transparent; }

/* ---------- buttons ---------- */
.tf-btn{
	font-family:var(--tf-font); font-size:14px; font-weight:650; line-height:1;
	display:inline-flex; align-items:center; justify-content:center; gap:7px;
	padding:11px 16px; border-radius:var(--tf-radius-sm); border:1px solid transparent;
	cursor:pointer; transition:background .15s, border-color .15s, transform .05s, box-shadow .15s; white-space:nowrap;
}
.tf-btn:active{ transform:translateY(1px); }
.tf-btn--primary{ background:var(--tf-primary); color:#fff; box-shadow:0 1px 2px rgba(67,50,192,.3); }
.tf-btn--primary:hover{ background:var(--tf-primary-700); }
.tf-btn--soft{ background:var(--tf-primary-50); color:var(--tf-primary-700); }
.tf-btn--soft:hover{ background:#E4E0FB; }
.tf-btn--ghost{ background:var(--tf-surface); color:var(--tf-ink-2); border-color:var(--tf-line-2); font-weight:600; padding:9px 12px; }
.tf-btn--ghost:hover{ background:var(--tf-surface-2); border-color:var(--tf-line-2); }
.tf-btn--block{ width:100%; }
.tf-btn:focus-visible{ outline:none; box-shadow:0 0 0 3px var(--tf-primary-50); }

/* ---------- checkboxes ---------- */
.tf-check{ display:inline-flex; align-items:center; gap:8px; font-size:13.5px; color:var(--tf-ink-2); cursor:pointer; user-select:none; padding:6px 10px; border:1px solid var(--tf-line); border-radius:999px; background:var(--tf-surface); }
.tf-check input{ accent-color:var(--tf-primary); width:16px; height:16px; }

/* counters + notes */
.tf-counter{ align-self:flex-end; font-size:11.5px; color:var(--tf-muted); font-family:var(--tf-mono); }
.tf-counter.is-warn{ color:#B45309; }
.tf-counter.is-over{ color:#B3261E; font-weight:700; }
.tf-note{ font-size:13px; color:var(--tf-muted); margin:0; }
.tf-note.is-ok{ color:#0c8366; }
.tf-note.is-err{ color:#B3261E; }

/* range + meter */
.tf-range{ width:100%; accent-color:var(--tf-primary); }
.tf-rangeval{ font-family:var(--tf-mono); font-weight:700; color:var(--tf-primary-700); }
.tf-meterwrap{ display:flex; align-items:center; gap:10px; }
.tf-meter{ flex:1; height:8px; background:var(--tf-surface-2); border-radius:999px; overflow:hidden; border:1px solid var(--tf-line); }
.tf-meter > span{ display:block; height:100%; width:0; background:var(--tf-primary); border-radius:999px; transition:width .25s, background .25s; }
.tf-meter__label{ font-size:12.5px; font-weight:700; color:var(--tf-ink-2); min-width:84px; text-align:right; }
.tf-password{ font-size:16px; letter-spacing:.02em; }

/* stat grid */
.tf-statgrid{ display:grid; grid-template-columns:repeat(auto-fit,minmax(96px,1fr)); gap:10px; }
.tf-stat{ background:var(--tf-surface-2); border:1px solid var(--tf-line); border-radius:var(--tf-radius-sm); padding:12px; text-align:center; }
.tf-stat__val{ display:block; font-family:var(--tf-display); font-size:22px; font-weight:700; color:var(--tf-ink); line-height:1.1; }
.tf-stat__label{ display:block; font-size:11.5px; color:var(--tf-muted); margin-top:4px; }

.tf-result{ background:var(--tf-surface-2); border:1px solid var(--tf-line); border-radius:var(--tf-radius-sm); padding:16px; font-size:15px; color:var(--tf-ink); }
.tf-result b{ color:var(--tf-primary-700); }
.tf-pill{ display:inline-block; color:#fff; font-weight:700; font-size:13px; padding:4px 12px; border-radius:999px; margin-top:6px; }
.tf-kv{ display:inline-block; min-width:104px; font-size:12px; font-weight:700; color:var(--tf-muted); text-transform:uppercase; letter-spacing:.03em; }
.tf-h3{ font-family:var(--tf-display); font-size:15px; font-weight:700; margin:0 0 4px; color:var(--tf-ink); }
.tf-card-inset{ background:var(--tf-surface-2); border:1px solid var(--tf-line); border-radius:var(--tf-radius); padding:16px; display:flex; flex-direction:column; gap:12px; }

/* ---------- tabs ---------- */
.tf-tabs__nav{ display:flex; gap:4px; background:var(--tf-surface-2); padding:4px; border-radius:var(--tf-radius-sm); border:1px solid var(--tf-line); width:fit-content; max-width:100%; flex-wrap:wrap; }
.tf-tabs__btn{ font-family:var(--tf-font); font-size:13px; font-weight:650; color:var(--tf-muted); background:transparent; border:none; padding:7px 14px; border-radius:6px; cursor:pointer; }
.tf-tabs__btn.is-active{ background:var(--tf-surface); color:var(--tf-ink); box-shadow:var(--tf-shadow-sm); }
.tf-tabs__body{ margin-top:12px; }

/* ---------- dropzone ---------- */
.tf-dropzone{
	display:flex; flex-direction:column; align-items:center; justify-content:center; gap:8px; text-align:center;
	padding:30px 20px; border:2px dashed var(--tf-line-2); border-radius:var(--tf-radius);
	background:var(--tf-surface-2); color:var(--tf-ink-2); cursor:pointer; transition:border-color .15s, background .15s;
}
.tf-dropzone:hover{ border-color:var(--tf-primary); background:var(--tf-primary-50); }
.tf-dropzone.is-drag{ border-color:var(--tf-primary); background:var(--tf-primary-50); }
.tf-dropzone:focus-visible{ outline:none; border-color:var(--tf-primary); box-shadow:0 0 0 3px var(--tf-primary-50); }
.tf-dropzone__icon{ color:var(--tf-primary); }
.tf-dropzone__text{ font-size:14.5px; font-weight:600; }
.tf-dropzone__text b{ color:var(--tf-primary); }
.tf-dropzone__hint{ font-size:12px; color:var(--tf-muted); }

/* ---------- image previews ---------- */
.tf-previewwrap{ display:flex; flex-direction:column; gap:8px; align-items:flex-start; }
.tf-imgpreview{ max-width:100%; max-height:360px; border-radius:var(--tf-radius-sm); border:1px solid var(--tf-line); background:repeating-conic-gradient(#f0f0f4 0% 25%, #fff 0% 50%) 50% / 18px 18px; }
.tf-imgmeta{ font-size:12.5px; color:var(--tf-muted); font-family:var(--tf-mono); }

.tf-thumbs{ display:grid; grid-template-columns:repeat(auto-fill,minmax(150px,1fr)); gap:12px; }
.tf-thumb{ border:1px solid var(--tf-line); border-radius:var(--tf-radius-sm); padding:8px; background:var(--tf-surface); display:flex; flex-direction:column; gap:8px; }
.tf-thumb img{ width:100%; height:auto; border:1px solid var(--tf-line); border-radius:4px; }

/* cropper */
.tf-cropstage{ position:relative; display:inline-block; max-width:100%; line-height:0; touch-action:none; }
.tf-cropimg{ max-width:100%; max-height:420px; display:block; border-radius:var(--tf-radius-sm); user-select:none; -webkit-user-drag:none; }
.tf-cropbox{ position:absolute; border:2px solid var(--tf-primary); box-shadow:0 0 0 9999px rgba(20,20,27,.45); cursor:move; touch-action:none; }
.tf-crophandle{ position:absolute; width:14px; height:14px; background:#fff; border:2px solid var(--tf-primary); border-radius:3px; }
.tf-crophandle--br{ right:-8px; bottom:-8px; cursor:nwse-resize; }

/* color */
.tf-colorhead{ display:flex; gap:14px; align-items:flex-end; }
.tf-swatch{ width:64px; height:64px; border-radius:var(--tf-radius-sm); border:1px solid var(--tf-line-2); box-shadow:var(--tf-shadow-sm); flex:none; }
.tf-color{ width:64px; height:42px; padding:2px; border:1px solid var(--tf-line-2); border-radius:var(--tf-radius-sm); background:var(--tf-surface); cursor:pointer; }

/* qr + markdown + audio */
.tf-qr{ display:flex; justify-content:center; padding:16px; background:var(--tf-surface-2); border:1px solid var(--tf-line); border-radius:var(--tf-radius); }
.tf-qr img, .tf-qr canvas{ display:block; }
.tf-mdpreview{ border:1px solid var(--tf-line); border-radius:var(--tf-radius-sm); padding:16px; background:var(--tf-surface); min-height:120px; overflow:auto; }
.tf-mdpreview :first-child{ margin-top:0; }
.tf-audio{ width:100%; }

/* file list (pdf) */
.tf-filelist{ list-style:none; margin:0; padding:0; display:flex; flex-direction:column; gap:8px; }
.tf-fileitem{ display:flex; align-items:center; gap:10px; padding:10px 12px; background:var(--tf-surface-2); border:1px solid var(--tf-line); border-radius:var(--tf-radius-sm); }
.tf-fileitem__grip{ color:var(--tf-line-2); cursor:grab; font-weight:700; letter-spacing:-2px; }
.tf-fileitem__name{ flex:1; font-size:13.5px; font-weight:600; overflow:hidden; text-overflow:ellipsis; white-space:nowrap; }
.tf-fileitem__size{ font-size:12px; color:var(--tf-muted); font-family:var(--tf-mono); }

/* ---------- toasts ---------- */
.tf-toasts{ position:fixed; right:18px; bottom:18px; z-index:99999; display:flex; flex-direction:column; gap:10px; }
.tf-toast{ font-family:var(--tf-font); font-size:13.5px; font-weight:600; color:#fff; background:var(--tf-ink); padding:12px 16px; border-radius:10px; box-shadow:var(--tf-shadow-lg); opacity:0; transform:translateY(10px); transition:opacity .25s, transform .25s; max-width:300px; }
.tf-toast.is-in{ opacity:1; transform:translateY(0); }
.tf-toast--success{ background:#0c8366; }
.tf-toast--error{ background:#C2362E; }
.tf-toast--info{ background:var(--tf-ink); }

/* ========================================================= directory: cards / grid / search / chips ========================================================= */
.tf-grid{ display:grid; grid-template-columns:repeat(var(--tf-cols,3),1fr); gap:16px; }
.tf-card{
	display:flex; align-items:flex-start; gap:14px; text-decoration:none;
	background:var(--tf-surface); border:1px solid var(--tf-line); border-radius:var(--tf-radius);
	padding:18px; box-shadow:var(--tf-shadow-sm); transition:transform .14s, box-shadow .14s, border-color .14s; position:relative; overflow:hidden;
}
.tf-card::before{ content:""; position:absolute; left:0; top:0; bottom:0; width:3px; background:var(--c,var(--tf-primary)); opacity:0; transition:opacity .14s; }
.tf-card:hover{ transform:translateY(-3px); box-shadow:var(--tf-shadow); border-color:color-mix(in srgb, var(--c,var(--tf-primary)) 40%, var(--tf-line)); }
.tf-card:hover::before{ opacity:1; }
.tf-card__icon{ flex:none; width:42px; height:42px; display:flex; align-items:center; justify-content:center; border-radius:10px; color:var(--c,var(--tf-primary)); background:color-mix(in srgb, var(--c,var(--tf-primary)) 12%, white); border:1px solid color-mix(in srgb, var(--c,var(--tf-primary)) 22%, white); }
.tf-card__body{ display:flex; flex-direction:column; gap:3px; min-width:0; flex:1; }
.tf-card__name{ font-family:var(--tf-display); font-size:15.5px; font-weight:700; color:var(--tf-ink); }
.tf-card__desc{ font-size:13px; color:var(--tf-muted); line-height:1.45; }
.tf-card__meta{ display:flex; flex-direction:column; align-items:flex-end; gap:6px; flex:none; }
.tf-card__cat{ font-size:11px; font-weight:700; color:var(--c,var(--tf-primary)); text-transform:uppercase; letter-spacing:.03em; }
.tf-card__io{ font-family:var(--tf-mono); font-size:10.5px; color:var(--tf-muted); background:var(--tf-surface-2); padding:3px 7px; border-radius:5px; white-space:nowrap; }

/* command bar */
.tf-omni{ position:relative; max-width:680px; margin:0 auto; }
.tf-omni__bar{ display:flex; align-items:center; gap:12px; background:var(--tf-surface); border:1px solid var(--tf-line-2); border-radius:14px; padding:14px 16px; box-shadow:var(--tf-shadow); transition:border-color .15s, box-shadow .15s; }
.tf-omni__bar:focus-within{ border-color:var(--tf-primary); box-shadow:0 0 0 4px var(--tf-primary-50), var(--tf-shadow); }
.tf-omni__bar > svg{ color:var(--tf-muted); flex:none; }
.tf-omni__input{ flex:1; border:none; outline:none; background:transparent; font-family:var(--tf-font); font-size:16px; color:var(--tf-ink); }
.tf-omni__kbd{ font-family:var(--tf-mono); font-size:12px; color:var(--tf-muted); background:var(--tf-surface-2); border:1px solid var(--tf-line); border-bottom-width:2px; border-radius:6px; padding:2px 8px; flex:none; }
.tf-omni__results{ position:absolute; left:0; right:0; top:calc(100% + 8px); background:var(--tf-surface); border:1px solid var(--tf-line-2); border-radius:14px; box-shadow:var(--tf-shadow-lg); padding:8px; z-index:50; max-height:60vh; overflow:auto; }
.tf-omni__item{ display:flex; align-items:center; gap:12px; padding:11px 12px; border-radius:9px; text-decoration:none; }
.tf-omni__item:hover{ background:var(--tf-surface-2); }
.tf-omni__name{ flex:1; font-weight:650; font-size:14.5px; color:var(--tf-ink); }
.tf-omni__cat{ font-size:11px; font-weight:700; padding:3px 9px; border-radius:999px; color:var(--c,var(--tf-primary)); background:color-mix(in srgb, var(--c,var(--tf-primary)) 12%, white); }
.tf-omni__io{ font-family:var(--tf-mono); font-size:11px; color:var(--tf-muted); }

/* category chips row */
.tf-cats{ display:flex; flex-wrap:wrap; gap:10px; justify-content:center; }
.tf-cat{ display:inline-flex; align-items:center; gap:9px; text-decoration:none; padding:10px 16px; border-radius:999px; background:var(--tf-surface); border:1px solid var(--tf-line); box-shadow:var(--tf-shadow-sm); transition:transform .14s, border-color .14s, box-shadow .14s; }
.tf-cat:hover{ transform:translateY(-2px); border-color:color-mix(in srgb, var(--c,var(--tf-primary)) 45%, var(--tf-line)); box-shadow:var(--tf-shadow); }
.tf-cat svg{ color:var(--c,var(--tf-primary)); }
.tf-cat span{ font-weight:650; font-size:14px; color:var(--tf-ink); }
.tf-cat em{ font-style:normal; font-size:12px; font-weight:700; color:var(--c,var(--tf-primary)); background:color-mix(in srgb, var(--c,var(--tf-primary)) 12%, white); border-radius:999px; padding:2px 9px; }

/* ---------- article content (inside tool posts) ---------- */
.tf-steps{ counter-reset:tf; list-style:none; padding:0; margin:0 0 20px; display:flex; flex-direction:column; gap:10px; }
.tf-steps li{ position:relative; padding-left:42px; min-height:30px; display:flex; align-items:center; }
.tf-steps li::before{ counter-increment:tf; content:counter(tf); position:absolute; left:0; top:0; width:28px; height:28px; display:flex; align-items:center; justify-content:center; background:var(--tf-primary-50); color:var(--tf-primary-700); font-family:var(--tf-display); font-weight:700; font-size:13px; border-radius:8px; }
.tf-table-wrap{ overflow-x:auto; margin:0 0 14px; border:1px solid var(--tf-line); border-radius:var(--tf-radius); }
.tf-table{ width:100%; border-collapse:collapse; font-size:14px; }
.tf-table th, .tf-table td{ text-align:left; padding:11px 14px; border-bottom:1px solid var(--tf-line); vertical-align:top; }
.tf-table thead th{ background:var(--tf-surface-2); font-family:var(--tf-display); font-weight:700; color:var(--tf-ink); font-size:13px; }
.tf-table tbody tr:last-child td{ border-bottom:none; }
.tf-table tbody tr:nth-child(even){ background:#FBFBFD; }
.tf-table code{ font-family:var(--tf-mono); font-size:12.5px; background:var(--tf-surface-2); padding:1px 6px; border-radius:5px; }
.tf-table-note{ font-size:13px; color:var(--tf-muted); margin:0 0 20px; }
.tf-feat{ list-style:none; padding:0; margin:0 0 20px; display:grid; grid-template-columns:repeat(auto-fit,minmax(240px,1fr)); gap:10px; }
.tf-feat li{ position:relative; padding-left:28px; font-size:14px; color:var(--tf-ink-2); line-height:1.5; }
.tf-feat li::before{ content:""; position:absolute; left:0; top:6px; width:16px; height:16px; border-radius:50%; background:var(--tf-primary-50); }
.tf-feat li::after{ content:""; position:absolute; left:5px; top:10px; width:6px; height:3px; border-left:2px solid var(--tf-primary); border-bottom:2px solid var(--tf-primary); transform:rotate(-45deg); }
.tf-faq{ display:flex; flex-direction:column; gap:8px; }
.tf-faq__item{ border:1px solid var(--tf-line); border-radius:var(--tf-radius-sm); background:var(--tf-surface); overflow:hidden; }
.tf-faq__item summary{ cursor:pointer; padding:14px 16px; font-weight:650; font-size:14.5px; color:var(--tf-ink); list-style:none; position:relative; padding-right:42px; }
.tf-faq__item summary::-webkit-details-marker{ display:none; }
.tf-faq__item summary::after{ content:"+"; position:absolute; right:16px; top:12px; font-size:20px; color:var(--tf-muted); font-weight:400; transition:transform .2s; }
.tf-faq__item[open] summary::after{ transform:rotate(45deg); }
.tf-faq__item > div{ padding:0 16px 16px; font-size:14px; color:var(--tf-ink-2); line-height:1.6; }

/* ---------- responsive ---------- */
@media (max-width:900px){ .tf-grid{ grid-template-columns:repeat(2,1fr); } }
@media (max-width:600px){
	.tf-grid{ grid-template-columns:1fr; }
	.tf-tool{ padding:16px; }
	.tf-card__meta{ display:none; }
	.tf-omni__input{ font-size:16px; }
	.tf-row > *{ flex-basis:100%; }
}
@media (prefers-reduced-motion:reduce){
	.tf-card, .tf-cat, .tf-btn, .tf-toast, .tf-meter > span{ transition:none; }
	.tf-spinner{ animation-duration:1.4s; }
}
