/* falakbin.ir/tools: the hub by its groups and the parts the tools of the second wave share
   (docs/plans/tools-wave2.md). After tools.css; colours only from public.css's tokens. */

/* ---- The hub ------------------------------------------------------------------------------ */
.flk-tk-jump { margin-top: 14px; }
.flk-tk-group { scroll-margin-top: 90px; }
.flk-tl-cards h3 { margin: 0; font-size: 1.15rem; font-weight: 850; }

/* ---- A tool's page ------------------------------------------------------------------------ */
.flk-tk-bot { margin: 0 0 18px; }

/* The tool itself: its fields, then its result. */
.flk-tk-app { margin: 0 0 18px; padding: 16px; border-radius: 22px; background: var(--surface); border: 1px solid var(--line); box-shadow: var(--shadow); }
.flk-tk-fields { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 200px), 1fr)); gap: 12px; }
.flk-tk-field { display: flex; flex-direction: column; gap: 6px; min-width: 0; color: var(--muted); font-size: .85rem; font-weight: 700; }
.flk-tk-field input, .flk-tk-field select { width: 100%; box-sizing: border-box; min-height: 44px; padding: 8px 12px; border-radius: 12px; border: 1px solid var(--line); background: var(--bg-2); color: var(--fg); font: inherit; font-size: 1.05rem; font-weight: 600; }
.flk-tk-field input:focus, .flk-tk-field select:focus { outline: 2px solid var(--teal); outline-offset: 1px; }
.flk-tk-field input[aria-invalid="true"] { border-color: var(--bad); }
.flk-tk-field small { color: var(--muted); font-weight: 500; font-size: .78rem; }

.flk-tk-result { margin-top: 16px; padding: 14px 16px; border-radius: 16px; background: var(--teal-soft); color: var(--fg); }
.flk-tk-result[hidden] { display: none; }
.flk-tk-big { margin: 0; font-size: 1.5rem; font-weight: 850; line-height: 1.6; color: var(--teal-ink); overflow-wrap: anywhere; }
.flk-tk-lines { margin: 8px 0 0; padding: 0; list-style: none; display: grid; gap: 4px; color: var(--fg); font-size: .92rem; line-height: 1.9; }
.flk-tk-note { margin: 10px 0 0; color: var(--muted); font-size: .85rem; line-height: 1.9; }
.flk-tk-err { margin: 10px 0 0; color: var(--bad); font-size: .88rem; }
.flk-tk-err:empty { display: none; }

/* The row of small buttons under a result: copy, share. */
.flk-tk-acts { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin-top: 12px; }
.flk-tk-acts .flk-icon-btn.flk-tk-done { color: var(--teal-ink); border-color: var(--teal); }
.flk-tk-acts .flk-icon-btn.flk-tk-fail { color: var(--bad); }

/* A table of values (a month, a list of conversions). */
.flk-tk-table { width: 100%; border-collapse: collapse; font-size: .92rem; }
.flk-tk-table th, .flk-tk-table td { padding: 8px 10px; border-bottom: 1px solid var(--line-soft); text-align: start; }
.flk-tk-table th { color: var(--muted); font-weight: 750; font-size: .82rem; }
.flk-tk-scroll { overflow-x: auto; }

/* ---- The date tools (fb-datepick.js) --------------------------------------------------------- */
.flk-tk-date { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }
.flk-tk-date select, .flk-tk-date input { display: inline-block; flex: none; width: auto; max-width: 100%; min-height: 44px; padding: 6px 10px; border-radius: 12px; border: 1px solid var(--line); background: var(--bg-2); color: var(--fg); font: inherit; font-size: 1.05rem; font-weight: 600; }
.flk-tk-date select:focus, .flk-tk-date input:focus { outline: 2px solid var(--teal); outline-offset: 1px; }
.flk-tk-date .flk-tk-cal { font-weight: 750; }
.flk-tk-date .flk-tk-d { width: 4.6em; }
.flk-tk-date .flk-tk-m { min-width: 8.5em; }
.flk-tk-date .flk-tk-y { width: 5.4em; text-align: center; }
.flk-tk-date input[aria-invalid="true"] { border-color: var(--bad); }
.flk-tk-label { margin: 0 0 8px; color: var(--muted); font-size: .85rem; font-weight: 750; }
.flk-tk-row + .flk-tk-row { margin-top: 14px; }
.flk-tk-opts { display: flex; flex-wrap: wrap; gap: 10px 18px; align-items: center; margin-top: 12px; color: var(--muted); font-size: .9rem; }
.flk-tk-opts label { display: inline-flex; align-items: center; gap: 6px; }
.flk-tk-opts select, .flk-tk-opts input[type="text"] { display: inline-block; width: auto; min-height: 38px; padding: 4px 10px; border-radius: 10px; border: 1px solid var(--line); background: var(--bg-2); color: var(--fg); font: inherit; }
.flk-tk-opts input[type="text"] { width: 6em; text-align: center; }
/* What copy reads, never seen. */
.flk-tk-hidden { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); opacity: 0; pointer-events: none; }
.flk-tk-sub { margin: 0 0 12px; font-size: 1.05rem; font-weight: 850; }
.flk-tk-result .flk-tk-sub { margin: 16px 0 6px; }
.flk-tk-cols { grid-template-columns: repeat(auto-fill, minmax(min(100%, 150px), 1fr)); }
.flk-tk-more { margin-top: 12px; }
.flk-tk-more summary { cursor: pointer; color: var(--teal-ink); font-size: .9rem; font-weight: 750; }
.flk-tk-more[open] summary { margin-bottom: 10px; }

/* ---- A year's calendar (/tools/calendar/<year>) ----------------------------------------------- */
.flk-tk-yearhead .flk-tk-big { font-size: 1.25rem; }
.flk-tk-legend { display: flex; flex-wrap: wrap; gap: 6px 16px; margin: 12px 0 0; color: var(--muted); font-size: .8rem; }
.flk-tk-key { display: inline-flex; align-items: center; gap: 6px; }
.flk-tk-key[hidden] { display: none; }
.flk-tk-key::before { content: ""; width: 10px; height: 10px; border-radius: 3px; background: var(--muted); }
.flk-tk-key-g::before { background: var(--teal); }
.flk-tk-key-h::before { background: var(--c6); }
.flk-tk-key-fri::before { background: var(--bad); }
.flk-tk-key-ph::before { border-radius: 50%; background: var(--fg); }
.flk-tk-months { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 300px), 1fr)); gap: 14px; margin: 0 0 18px; }
.flk-tk-month { padding: 12px; border-radius: 18px; background: var(--surface); border: 1px solid var(--line); }
.flk-tk-month h2 { margin: 0; font-size: 1.05rem; font-weight: 850; }
.flk-tk-month-sub { margin: 2px 0 8px; color: var(--muted); font-size: .76rem; }
.flk-tk-cal { width: 100%; border-collapse: separate; border-spacing: 2px; table-layout: fixed; }
.flk-tk-cal th { padding: 2px 0; color: var(--muted); font-size: .72rem; font-weight: 750; }
.flk-tk-cal td { position: relative; padding: 3px 1px 2px; border-radius: 8px; background: var(--surface-2); text-align: center; vertical-align: top; line-height: 1.15; }
.flk-tk-cal td.flk-tk-blank { background: transparent; }
.flk-tk-cal td b { display: block; font-size: .92rem; font-weight: 800; }
.flk-tk-cal td small { display: block; font-size: .56rem; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.flk-tk-cal .flk-tk-g { color: var(--teal-ink); }
.flk-tk-cal .flk-tk-h { color: var(--c6); }
.flk-tk-cal td.flk-tk-fri b { color: var(--bad); }
.flk-tk-cal td.flk-tk-off b { color: var(--bad); }
.flk-tk-cal td.flk-tk-off-h b { text-decoration: underline dotted; text-underline-offset: 4px; }
.flk-tk-key-offh::before { background: transparent; border: 2px dotted var(--bad); }
.flk-tk-cal td.flk-tk-today { outline: 2px solid var(--teal); outline-offset: -2px; background: var(--teal-soft); }
/* The Moon's phase on its day: a small disc drawn in CSS (new, first quarter, full, last quarter). */
.flk-tk-ph { position: absolute; top: 3px; inset-inline-start: 3px; width: 7px; height: 7px; border-radius: 50%; border: 1px solid var(--fg); box-sizing: border-box; }
.flk-tk-ph-0 { background: transparent; }
.flk-tk-ph-1 { background: linear-gradient(to right, transparent 50%, var(--fg) 50%); }
.flk-tk-ph-2 { background: var(--fg); }
.flk-tk-ph-3 { background: linear-gradient(to right, var(--fg) 50%, transparent 50%); }
.flk-tk-years .flk-chips { gap: 6px; }

/* ---- The clock tools (fb-tool-time*.js, fb-tool-meeting.js, fb-tool-solar-time.js) ----------- */
.flk-tk-bigclock { margin: 0; font-size: clamp(2.4rem, 9vw, 3.6rem); font-weight: 850; line-height: 1.2; color: var(--teal-ink); font-variant-numeric: tabular-nums; }
.flk-tk-midclock { margin: 0; font-size: 1.6rem; font-weight: 850; color: var(--teal-ink); font-variant-numeric: tabular-nums; }
.flk-tk-date { margin: 4px 0 0; font-weight: 700; }
.flk-tk-diff { margin: 6px 0 0; color: var(--muted); font-size: .92rem; }
.flk-tk-diff:empty, .flk-tk-note:empty { display: none; }
.flk-tk-mine { padding-bottom: 14px; margin-bottom: 14px; border-bottom: 1px solid var(--line-soft); }
.flk-tk-clocks { list-style: none; margin: 0 0 14px; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 220px), 1fr)); gap: 10px; }
.flk-tk-clock { padding: 12px 14px; border-radius: 16px; background: var(--surface-2); border: 1px solid var(--line-soft); }
.flk-tk-clock.flk-tk-night { background: var(--bg-2); }
.flk-tk-clock-head { display: flex; align-items: baseline; gap: 8px; }
.flk-tk-clock-head h3 { margin: 0; font-size: 1rem; font-weight: 850; }
.flk-tk-clock-head h3 a { color: inherit; }
.flk-tk-clock-head small { color: var(--muted); font-size: .78rem; flex: 1; }
.flk-tk-clock .flk-tk-time { margin: 6px 0 0; font-size: 1.7rem; font-weight: 850; color: var(--teal-ink); font-variant-numeric: tabular-nums; }
.flk-tk-clock .flk-tk-date { font-size: .85rem; font-weight: 600; }
.flk-tk-clock .flk-tk-diff, .flk-tk-sun { margin: 4px 0 0; color: var(--muted); font-size: .8rem; }
.flk-tk-x { width: 30px; height: 30px; min-width: 30px; padding: 0; border: 0; background: transparent; color: var(--muted); font-size: 1.1rem; line-height: 1; cursor: pointer; }
.flk-tk-x:hover { color: var(--bad); }
.flk-tk-chips .flk-chip { gap: 4px; }
.flk-tk-countries p { margin: 0 0 6px; line-height: 2; font-size: .9rem; }

/* The city search. */
.flk-tk-cp { position: relative; max-width: 420px; }
.flk-tk-cp-in { width: 100%; box-sizing: border-box; min-height: 44px; padding: 6px 12px; border-radius: 12px; border: 1px solid var(--line); background: var(--bg-2); color: var(--fg); font: inherit; }
.flk-tk-cp-in:focus { outline: 2px solid var(--teal); outline-offset: 1px; }
.flk-tk-cp-list { position: absolute; z-index: 20; inset-inline: 0; top: calc(100% + 4px); margin: 0; padding: 4px; list-style: none; border-radius: 12px; background: var(--surface); border: 1px solid var(--line); box-shadow: var(--shadow); max-height: 320px; overflow-y: auto; }
.flk-tk-cp-list[hidden] { display: none; }
.flk-tk-cp-list li { display: flex; flex-direction: column; padding: 6px 10px; border-radius: 8px; cursor: pointer; }
.flk-tk-cp-list li:hover, .flk-tk-cp-list li[aria-selected="true"] { background: var(--teal-soft); }
.flk-tk-cp-list small { color: var(--muted); font-size: .76rem; }

.flk-tk-pair { display: flex; flex-wrap: wrap; align-items: flex-end; gap: 10px 14px; }
.flk-tk-pair .flk-tk-row { flex: 1 1 260px; margin: 0; }
.flk-tk-swap { font-size: 1.2rem; }
.flk-tk-opts input[type="time"] { display: inline-block; width: auto; min-height: 38px; padding: 4px 10px; border-radius: 10px; border: 1px solid var(--line); background: var(--bg-2); color: var(--fg); font: inherit; }
.flk-tk-three { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 170px), 1fr)); gap: 10px; margin-top: 14px; }
.flk-tk-three > div { padding: 10px 12px; border-radius: 14px; background: var(--surface-2); }
.flk-tk-three .flk-tk-label { margin: 0 0 4px; }

/* The meeting grid: one row a city, one cell an hour of the first city's day. */
.flk-tk-meet { border-collapse: separate; border-spacing: 2px; font-size: .78rem; }
.flk-tk-meet th { position: sticky; inset-inline-start: 0; z-index: 1; min-width: 6.5em; padding: 4px 8px; background: var(--surface); text-align: start; font-weight: 800; white-space: nowrap; }
.flk-tk-meet th small { display: block; color: var(--muted); font-weight: 500; font-size: .7rem; }
.flk-tk-meet td { min-width: 2.6em; padding: 6px 2px; border-radius: 6px; text-align: center; font-variant-numeric: tabular-nums; }
.flk-tk-meet td.flk-tk-work { background: var(--teal-soft); color: var(--teal-ink); font-weight: 750; }
.flk-tk-meet td.flk-tk-awake { background: var(--surface-2); }
.flk-tk-meet td.flk-tk-night { background: var(--bg-2); color: var(--muted); }
.flk-tk-meet td.flk-tk-all { outline: 2px solid var(--teal); outline-offset: -2px; }
.flk-tk-meet td.flk-tk-next { border-bottom: 2px dashed var(--muted); }
.flk-tk-key-work::before { background: var(--teal); }
.flk-tk-key-awake::before { background: var(--surface-2); border: 1px solid var(--line); }
.flk-tk-key-night::before { background: var(--bg-2); border: 1px solid var(--line); }
.flk-tk-key-all::before { background: transparent; border: 2px solid var(--teal); }
.flk-tk-best { margin-top: 12px; font-size: 1rem; }

/* The solar-noon curve. */
.flk-tk-curve { padding: 8px; border-radius: 16px; background: var(--surface); border: 1px solid var(--line); }
.flk-tk-chart { display: block; width: 100%; height: auto; }
.flk-tk-chart .flk-tk-grid { stroke: var(--line-soft); stroke-width: 1; }
.flk-tk-chart .flk-tk-axis { fill: var(--muted); font-size: 11px; font-family: inherit; }
.flk-tk-chart .flk-tk-line { fill: none; stroke: var(--c1); stroke-width: 2.5; stroke-linejoin: round; }
.flk-tk-chart .flk-tk-dot { fill: var(--c1); stroke: var(--surface); stroke-width: 2; }

/* ---- The unit converter (fb-tool-convert.js) -------------------------------------------------- */
.flk-tk-cats { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 240px), 1fr)); gap: 10px; }
.flk-tk-cats a { display: grid; grid-template-columns: auto 1fr; grid-template-rows: auto auto; column-gap: 12px; align-items: center; padding: 12px 14px; border-radius: 16px; background: var(--surface); border: 1px solid var(--line); color: var(--fg); text-decoration: none; }
.flk-tk-cats a:hover { border-color: var(--teal); }
.flk-tk-cats .flk-tl-icon { grid-row: span 2; width: 40px; height: 40px; }
.flk-tk-cats b { font-weight: 850; }
.flk-tk-cats small { color: var(--muted); font-size: .78rem; line-height: 1.7; }
.flk-tl-unit.flk-tk-pick { border-color: var(--teal); background: var(--teal-soft); }
.flk-tl-unit.flk-tk-pick span { color: var(--teal-ink); font-weight: 800; }
.flk-tl-unit small { color: var(--muted); font-size: .72rem; line-height: 1.7; }
.flk-tk-sym { color: var(--muted); font-weight: 500; }
.flk-tk-unote { display: block; color: var(--muted); font-size: .75rem; }
.flk-tk-pairtable { max-width: 520px; }
.flk-tk-pairtable td { font-variant-numeric: tabular-nums; }

/* ---- The plot (fb-tool-plot.js) ----------------------------------------------------------------- */
.flk-tk-plotrows { list-style: none; margin: 0 0 10px; padding: 0; display: grid; gap: 8px; }
.flk-tk-plotrow { display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 8px; }
.flk-tk-plotrow input { min-height: 44px; padding: 6px 12px; border-radius: 12px; border: 1px solid var(--line); background: var(--bg-2); color: var(--fg); font: inherit; font-family: ui-monospace, Consolas, monospace; font-size: 1.02rem; }
.flk-tk-plotrow input:focus { outline: 2px solid var(--teal); outline-offset: 1px; }
.flk-tk-plotrow input[aria-invalid="true"] { border-color: var(--bad); }
.flk-tk-plotrow .flk-tk-err { grid-column: 2 / 4; margin: 0; }
.flk-tk-sw { display: inline-block; width: 14px; height: 14px; border-radius: 50%; background: var(--c1); flex: none; }
.flk-tk-sw[data-c="2"] { background: var(--c2); }
.flk-tk-sw[data-c="3"] { background: var(--c3); }
.flk-tk-sw[data-c="4"] { background: var(--c4); }
.flk-tk-sw[data-c="5"] { background: var(--c5); }
.flk-tk-sw[data-c="6"] { background: var(--c6); }
.flk-tk-plotbox { position: relative; margin-top: 12px; aspect-ratio: 16 / 10; border-radius: 16px; overflow: hidden; background: var(--surface); border: 1px solid var(--line); }
.flk-tk-plot { display: block; width: 100%; height: 100%; touch-action: none; cursor: grab; }
.flk-tk-plot:active { cursor: grabbing; }
.flk-tk-plot:focus-visible { outline: 2px solid var(--teal); outline-offset: -2px; }
@media (max-width: 640px) { .flk-tk-plotbox { aspect-ratio: 1 / 1; } }
.flk-tk-feats { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.flk-tk-feats li { padding: 10px 12px; border-radius: 14px; background: var(--surface-2); font-size: .9rem; line-height: 1.9; }
.flk-tk-feats li p { margin: 4px 0 0; }
.flk-tk-fx { margin-inline-start: 8px; font-family: ui-monospace, Consolas, monospace; font-weight: 700; }

/* ---- The equation solver (fb-tool-solve.js) ------------------------------------------------------- */
.flk-tk-eq { display: block; width: 100%; box-sizing: border-box; min-height: 48px; padding: 8px 14px; border-radius: 14px; border: 1px solid var(--line); background: var(--bg-2); color: var(--fg); font: inherit; font-family: ui-monospace, Consolas, monospace; font-size: 1.1rem; }
.flk-tk-eq:focus { outline: 2px solid var(--teal); outline-offset: 1px; }
.flk-tk-sys { resize: vertical; line-height: 1.8; }
.flk-tk-m { unicode-bidi: isolate; white-space: nowrap; font-variant-numeric: tabular-nums; }
.flk-tk-steps { margin: 12px 0 0; padding-inline-start: 1.4em; display: grid; gap: 6px; font-size: .92rem; line-height: 2; }
.flk-tk-mat { margin: 6px 0; border-collapse: collapse; font-size: .85rem; font-variant-numeric: tabular-nums; }
.flk-tk-mat td { min-width: 3em; padding: 3px 8px; text-align: center; border-inline: 0; }
.flk-tk-mat tr td:first-child { border-left: 2px solid var(--muted); }
.flk-tk-mat tr td:last-child { border-right: 2px solid var(--muted); }
.flk-tk-mat td.flk-tk-aug { border-left: 1px dashed var(--muted); }
.flk-tk-opts[hidden] { display: none; }

/* ---- Matrices (fb-tool-matrix.js) ------------------------------------------------------------------ */
.flk-tk-mats { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr)); gap: 14px; margin-bottom: 12px; }
.flk-tk-mats .flk-tk-opts { margin: 0 0 8px; }
.flk-tk-grid { border-collapse: separate; border-spacing: 4px; }
.flk-tk-grid input { width: 4.2em; min-height: 38px; padding: 4px 6px; border-radius: 8px; border: 1px solid var(--line); background: var(--bg-2); color: var(--fg); font: inherit; text-align: center; }
.flk-tk-grid input:focus { outline: 2px solid var(--teal); outline-offset: 1px; }
.flk-tk-grid input[aria-invalid="true"] { border-color: var(--bad); }
.flk-tk-inline { display: inline-flex; align-items: center; gap: 4px; }
.flk-tk-inline input { width: 3.6em; min-height: 38px; padding: 4px 6px; border-radius: 10px; border: 1px solid var(--line); background: var(--bg-2); color: var(--fg); font: inherit; text-align: center; }

/* ---- Statistics (fb-tool-stats.js) ------------------------------------------------------------------ */
.flk-tk-field[hidden] { display: none; }
.flk-tk-sub-fields { display: contents; }
.flk-tk-stat th { width: 45%; color: var(--muted); font-weight: 700; }
.flk-tk-stat td { font-variant-numeric: tabular-nums; }
.flk-tk-sorted { margin: 0; line-height: 2; font-size: .88rem; overflow-wrap: anywhere; }
.flk-tk-chart .flk-tk-bar { fill: var(--c1); }
.flk-tk-chart .flk-tk-bar.flk-tk-dim { fill: var(--line); }
.flk-tk-chart .flk-tk-area { fill: var(--c1); opacity: .3; }
.flk-tk-chart .flk-tk-box { fill: var(--teal-soft); stroke: var(--c1); stroke-width: 2; }
.flk-tk-chart .flk-tk-whisker { stroke: var(--muted); stroke-width: 2; }
.flk-tk-chart .flk-tk-median { stroke: var(--fg); stroke-width: 3; }
.flk-tk-chart .flk-tk-out { fill: var(--surface); stroke: var(--bad); stroke-width: 2; }
.flk-tk-chart .flk-tk-pt { fill: var(--c1); stroke: var(--surface); stroke-width: 1.5; }
.flk-tk-chart .flk-tk-fit { stroke: var(--c2); stroke-width: 2.5; }
.flk-tk-stchart .flk-tk-axis { font-size: 13px; }
/* A number of a hundred digits breaks across lines rather than widening the page. */
.flk-tk-m.flk-tk-wrap { white-space: normal; overflow-wrap: anywhere; }

/* ---- The small science tools (fb-tool-space.js) ---------------------------------------------------- */
.flk-tk-worlds th small, .flk-tk-table th small { display: block; color: var(--muted); font-weight: 500; font-size: .72rem; }
.flk-tk-table tr.flk-tk-here { background: var(--teal-soft); }
.flk-tk-barcell { width: 32%; min-width: 80px; }
.flk-tk-hbar { display: block; width: 100%; height: 10px; }
.flk-tk-hbar rect { fill: var(--c1); }
.flk-tk-ladder { list-style: none; margin: 0; padding: 0; display: grid; gap: 4px; }
.flk-tk-ladder li { display: flex; gap: 10px; align-items: baseline; padding: 4px 10px; border-radius: 10px; background: var(--surface-2); font-size: .9rem; }
.flk-tk-ladder li b { min-width: 4.5em; font-variant-numeric: tabular-nums; direction: ltr; text-align: end; }
.flk-tk-ladder li.flk-tk-here { background: var(--teal-soft); color: var(--teal-ink); font-weight: 750; }

/* ---- The body tools (fb-tool-body.js) ------------------------------------------------------------------- */
.flk-tk-gauge { display: block; width: 100%; height: 18px; margin: 12px 0 6px; }
.flk-tk-gz-low { fill: var(--c3); background: var(--c3); }
.flk-tk-gz-ok { fill: var(--c1); background: var(--c1); }
.flk-tk-gz-mid { fill: var(--c4); background: var(--c4); }
.flk-tk-gz-high { fill: var(--c5); background: var(--c5); }
.flk-tk-gz-mark { fill: var(--fg); }
.flk-tk-gkey { list-style: none; margin: 0 0 10px; padding: 0; display: flex; flex-wrap: wrap; gap: 4px 14px; color: var(--muted); font-size: .82rem; }
.flk-tk-gkey li { display: inline-flex; align-items: center; gap: 6px; }
.flk-tk-gkey i { display: inline-block; width: 12px; height: 8px; border-radius: 2px; }
.flk-tk-fields[hidden] { display: none; }

/* Tool audit: touch targets and keyboard feedback. */
.flk-tk-app button, .flk-tk-date select, .flk-tk-date input { min-height: 44px; }
.flk-tk-app button:focus-visible { outline: 2px solid var(--orange-ink); outline-offset: 3px; }

.flk-tk-grid input, .flk-tk-app select { min-height: 44px; }
