/* CoupeFab — tooling prices (/outillage/, /en/tooling/). Scoped to .tl. Touch targets ≥ 44px. */
.tl { --tl-r: 10px; max-width: 80rem; margin: 0 auto; padding: 1.25rem 1.25rem 3rem; font-variant-numeric: tabular-nums; }
.tl [hidden] { display: none !important; }
.tl-sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.tl-hero-top { display: flex; gap: 1.5rem; justify-content: space-between; align-items: flex-end; flex-wrap: wrap; }
.tl-hero h1 { font-size: clamp(1.6rem, 3.2vw, 2.25rem); line-height: 1.15; margin: .15rem 0 .4rem; letter-spacing: -0.01em; }
.tl-kicker { margin: 0; font: 600 .78rem/1.2 var(--mono, ui-monospace, monospace); text-transform: uppercase; letter-spacing: .06em; color: var(--accent); }
.tl-lede { margin: 0; max-width: 50rem; color: var(--muted); font-size: 1.02rem; }
.tl-stamp { margin: 0; display: flex; flex-direction: column; gap: .1rem; font-size: .82rem; color: var(--muted); text-align: right; }
.tl-stamp b { color: var(--ink); }
.tl-caveat, .tl-note { font-size: .88rem; color: var(--muted); background: var(--bg-2); border-radius: var(--tl-r); padding: .7rem .9rem; margin: 1rem 0; }
.tl-caveat p { margin: 0; } .tl-caveat b { color: var(--ink); }
.tl-h2 { font-size: 1.15rem; margin: 1.2rem 0 .5rem; }
.tl-h3 { font-size: 1.05rem; margin: 1.5rem 0 .4rem; }
.tl-cards { display: grid; grid-template-columns: repeat(auto-fill, minmax(15rem, 1fr)); gap: .6rem; margin: 0 0 1.2rem; }
.tl-card { display: flex; flex-direction: column; gap: .3rem; min-height: 44px; text-align: left; background: var(--paper); border: 1px solid var(--line); border-radius: var(--tl-r);
  padding: .75rem .85rem; box-shadow: var(--shadow); cursor: pointer; font: inherit; color: inherit; }
.tl-card:hover, .tl-card:focus-visible { border-color: var(--accent); outline: 2px solid rgba(194,65,12,.2); outline-offset: 0; }
.tl-card.is-on { border-color: var(--accent); background: var(--accent-soft); }
.tl-card strong { font-size: 1rem; line-height: 1.3; }
.tl-card-n { font-size: .82rem; color: var(--muted); }
.tl-card-low { font-size: .85rem; font-weight: 650; color: var(--accent-2); }
.tl-tabs { display: flex; gap: .25rem; overflow-x: auto; border-bottom: 1px solid var(--line); margin: .5rem 0 1rem; scrollbar-width: none; scroll-margin-top: 5rem; }
.tl-tabs button { flex: none; min-height: 44px; padding: .65rem 1rem; border: 0; background: none; color: var(--muted); font: inherit; font-weight: 600; font-size: .95rem;
  border-bottom: 3px solid transparent; margin-bottom: -1px; white-space: nowrap; cursor: pointer; }
.tl-tabs button:hover { color: var(--ink); }
.tl-tabs button[aria-selected="true"] { color: var(--ink); border-bottom-color: var(--accent); }
.tl-tabs small { color: var(--faint); font-weight: 500; margin-left: .15rem; }
.tl-filters { display: grid; grid-template-columns: minmax(13rem, 2fr) repeat(5, minmax(8rem, 1fr)) auto; gap: .55rem; align-items: end;
  margin: .15rem 0 1rem; padding: .75rem; background: var(--paper); border: 1px solid var(--line); border-radius: var(--tl-r); box-shadow: var(--shadow); }
.tl-filters label { display: flex; flex-direction: column; gap: .25rem; min-width: 0; }
.tl-filters label > span { font-size: .78rem; font-weight: 650; color: var(--ink); }
.tl select, .tl input[type="search"] { font: inherit; font-size: 1rem; height: 44px; padding: 0 .6rem; border: 1px solid var(--line);
  border-radius: 8px; background: #fff; color: var(--ink); min-width: 0; width: 100%; }
.tl select:focus, .tl input:focus { border-color: var(--focus); outline: 2px solid rgba(27,79,138,.25); outline-offset: 0; }
.tl-btn { min-height: 44px; padding: 0 1.1rem; border: 1px solid var(--ink); background: var(--paper); border-radius: 8px; font: inherit; font-size: .95rem; font-weight: 650; color: var(--ink); cursor: pointer; }
.tl-btn:hover, .tl-btn:focus-visible { background: var(--ink); color: #fff; }
.tl-more-wrap { display: flex; justify-content: center; margin: 1rem 0; }
.tl-count { margin: 0 0 .6rem; color: var(--muted); font-size: .9rem; }
.tl-scroll { overflow-x: auto; border: 1px solid var(--line); border-radius: var(--tl-r); background: var(--paper); }
.tl-table { width: 100%; border-collapse: collapse; font-size: .9rem; }
.tl-table th, .tl-table td { padding: .55rem .7rem; text-align: left; vertical-align: top; border-bottom: 1px solid var(--line); }
.tl-table th { font-size: .78rem; font-weight: 650; color: var(--ink); background: var(--bg-2); position: sticky; top: 0; white-space: nowrap; }
.tl-table tbody tr:hover { background: var(--bg); }
.tl-table td:first-child { min-width: 16rem; }
.tl-table td:nth-child(2) { min-width: 9rem; color: var(--steel, var(--ink)); }
.tl-sort { font: inherit; font-weight: 650; color: inherit; background: none; border: 0; padding: 0 .1rem; min-height: 44px; cursor: pointer; text-decoration: underline dotted; text-underline-offset: 3px; }
.tl-sort[aria-sort="ascending"]::after { content: " ▲"; color: var(--accent); }
.tl-sort[aria-sort="descending"]::after { content: " ▼"; color: var(--accent); }
.tl-table td a { display: inline-flex; align-items: center; min-height: 44px; min-width: 44px; font-weight: 600; }
.tl-r { text-align: right !important; }
.tl-num { font-weight: 650; white-space: nowrap; }
.tl-sub { font-size: .76rem; color: var(--muted); font-weight: 400; margin-top: .1rem; white-space: normal; }
.tl-cat { color: var(--accent-2); }
.tl-out { color: #9a3412; }
.tl-empty { text-align: center; color: var(--muted); padding: 1.5rem; }
.tl-lead { color: var(--muted); max-width: 50rem; }
.tl-blocked { padding-left: 1.1rem; color: var(--muted); font-size: .92rem; } .tl-blocked li { margin: .3rem 0; } .tl-blocked b { color: var(--ink); }
.tl-prose { max-width: 50rem; } .tl-prose p { color: var(--steel, var(--ink)); }
@media (min-width: 64rem) { .tl.js .tl-filters { position: sticky; top: var(--hdr, 0px); z-index: 30; } }
@media (max-width: 60rem) {
  .tl { padding: 1rem .9rem 2.5rem; }
  .tl-filters { grid-template-columns: 1fr 1fr; }
  .tl-q, .tl-reset { grid-column: 1 / -1; }
  .tl-stamp { text-align: left; }
  .tl-hero h1 { font-size: 1.55rem; }
}
.tl:has(#tl-panel-shops.is-active) .tl-cards, .tl:has(#tl-panel-shops.is-active) .tl-h2,
.tl:has(#tl-panel-method.is-active) .tl-cards, .tl:has(#tl-panel-method.is-active) .tl-h2 { display: none; }
