/* Tools group: /tools/, country check, consistency calculator, /search/, 404. Every class is tl-*, used only on these five pages. */
.tl-head{padding:56px 0 0;text-align:left}
.tl-head h1{font-size:52px;line-height:1.05;letter-spacing:-.035em;text-align:left;max-width:20ch}
.tl-lead{margin-top:22px;font:600 20px/1.45 var(--b);color:var(--ink);max-width:36em}
.tl-sec{margin-top:var(--sec)}
.tl-sec>h2{font-size:32px;line-height:1.15;letter-spacing:-.03em;text-align:left;max-width:none;margin-bottom:32px}
.tl-hint{font-size:15px;line-height:1.55;color:var(--muted);max-width:46em;margin:0}
.tl-hint a{color:var(--ink);text-underline-offset:3px}
.tl-text{padding-bottom:var(--sec)}
.tl-text .prose{margin-top:0;max-width:44em}
.tl-text .prose h2:first-child{margin-top:0}
.tl-text .prose h2:not(:first-child){margin-top:48px}
.tl-text .prose ul{padding-left:1.1em}
.p-tools .tl-sec:last-child,.p-calc .tl-sec:last-of-type,.p-404 .tl-sec:last-child{padding-bottom:var(--sec)}

/* form: one field, one action */
.tl-form{display:flex;gap:12px;margin-top:36px;max-width:640px}
.tl-field{position:relative;flex:1;min-width:0}
.tl-field input{width:100%;height:56px;border-radius:999px;border:0;background:var(--tile);color:var(--ink);padding:0 24px;font:500 17px var(--b);box-sizing:border-box;-webkit-appearance:none;appearance:none}
.tl-field input::placeholder{color:#8a8a86}
.tl-field input:focus-visible{outline:2px solid var(--ink);outline-offset:2px}
.tl-form .btn{height:56px;flex:none}
.tl-form+.tl-hint{margin-top:16px}
.tl-sug{position:absolute;left:0;right:0;top:64px;z-index:20;margin:0;padding:8px;list-style:none;background:#fff;border-radius:var(--r2);box-shadow:0 18px 50px -12px rgba(0,0,0,.22),0 0 0 1px rgba(0,0,0,.06)}
.tl-sug li{padding:11px 16px;border-radius:10px;font:500 16px var(--b);color:var(--ink);cursor:pointer}
.tl-sug li:hover,.tl-sug li[aria-selected=true]{background:var(--tile)}

/* /tools/ */
.p-tools .tl-sec:first-of-type{margin-top:56px}
.tl-tools{display:grid;grid-template-columns:1fr 1fr;gap:16px}
.tl-tool{position:relative;display:grid;gap:10px;align-content:start;background:var(--tile);border-radius:var(--r);padding:32px 72px 36px 32px;text-decoration:none;min-height:150px;transition:background .2s}
.tl-tool:hover{background:var(--tile2)}
.tl-tool b{font:800 24px/1.2 var(--d);letter-spacing:-.02em;color:var(--ink)}
.tl-tool span{font-size:16px;line-height:1.5;color:var(--copy);max-width:30em}
.tl-tool .arr{position:absolute;right:28px;top:34px;width:20px;height:20px;color:var(--ink)}
.tl-tool:hover .arr{transform:translateX(3px)}
.tl-rows{list-style:none;margin:0;padding:0}
.tl-rows li{border-top:1px solid rgba(64,64,64,.1)}
.tl-rows a{display:grid;grid-template-columns:240px minmax(0,1fr) 16px;align-items:center;gap:24px;min-height:72px;padding:12px 0;text-decoration:none}
.tl-pn{display:flex;align-items:center;gap:14px}
.tl-pn img{width:36px;height:36px;border-radius:9px;flex:none}
.tl-pn b{font:700 16px var(--b);color:var(--ink)}
.tl-rows q{font-size:16px;line-height:1.45;color:#707070;quotes:none}
.tl-rows a:hover q{color:var(--ink)}
.tl-rows .arr{color:var(--ink)}

/* country check */
.tl-warn{margin-top:28px;font-size:15.5px;line-height:1.55;color:var(--copy);max-width:44em}
.tl-warn b{color:var(--ink)}
#ccout:not(:empty){margin-top:28px}
.tl-res{background:var(--tile);border-radius:var(--r);padding:28px}
.tl-res-h{display:flex;align-items:baseline;flex-wrap:wrap;gap:6px 14px;margin:0 0 20px}
.tl-res-h b{font:800 28px/1.15 var(--d);letter-spacing:-.025em;color:var(--ink)}
.tl-res-h span{font-size:15px;color:var(--muted)}
.tl-res ul{list-style:none;margin:0 0 18px;padding:0;display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px}
.tl-res li a{display:grid;grid-template-columns:28px minmax(0,1fr);gap:2px 12px;align-items:center;background:#fff;border-radius:var(--r2);padding:14px 16px;text-decoration:none;height:100%;box-sizing:border-box}
.tl-res li img{grid-row:span 2}
.tl-res li b{font:700 15.5px var(--b);color:var(--ink)}
.tl-res li span{font-size:14.5px;line-height:1.35;color:#8a8a86}
.tl-res li span.no{color:var(--red);font-weight:600}
.tl-res li a:hover b{text-decoration:underline;text-underline-offset:3px}
.tl-all{margin-top:14px;border:0;background:none;padding:0;font:700 15px var(--d);color:var(--ink);text-decoration:underline;text-underline-offset:3px;cursor:pointer}
.tl-table{margin-top:72px;scroll-margin-top:calc(var(--mast) + 16px)}
.tl-table[hidden]{display:none}
.tl-table .tl-hint{max-width:none;margin-bottom:28px}
.tl-tw table{width:100%;border-collapse:collapse;table-layout:fixed}
.tl-tw thead th{position:sticky;top:var(--mast);z-index:5;background:#fff;text-align:left;vertical-align:top;padding:14px 14px 14px 0;font:700 15px/1.3 var(--b);color:var(--ink);box-shadow:0 1px 0 rgba(64,64,64,.1)}
.tl-tw th{width:auto;letter-spacing:0}
.tl-tw thead tr{border-top:0}
.tl-tw thead th:first-child{width:17%}
.tl-tw thead a{color:var(--ink);text-decoration:none}
.tl-tw thead a:hover{text-decoration:underline;text-underline-offset:3px}
.tl-tw thead small{display:block;margin-top:4px;font:450 12.5px/1.35 var(--b);color:#707070}
.tl-tw tbody tr{border-top:1px solid rgba(64,64,64,.1)}
.tl-tw tbody tr[hidden]{display:none}
.tl-tw tbody th{text-align:left;height:56px;padding:10px 14px 10px 0;font:700 15px/1.35 var(--b);color:var(--ink);overflow-wrap:anywhere}
.tl-tw tbody td{text-align:left;letter-spacing:0;padding:10px 14px 10px 0;font:450 14.5px/1.35 var(--b);color:#707070}
.tl-tw tbody td.off{color:#b4b4b0}

/* calculator */
.tl-calc{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:16px;margin-top:48px;align-items:stretch}
.tl-cform{background:var(--tile);border-radius:var(--r);padding:32px;display:grid;gap:20px;align-content:start}
.tl-cform label{display:grid;gap:8px}
.tl-cform label span{font:600 15px var(--b);color:var(--ink)}
.tl-cform input,.tl-cform select{width:100%;height:52px;border-radius:var(--r2);border:0;background:#fff;color:var(--ink);padding:0 16px;font:500 17px var(--b);box-sizing:border-box}
.tl-cform select{-webkit-appearance:none;appearance:none;padding-right:44px;text-overflow:ellipsis;background:#fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23141414' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E") no-repeat right 14px center/18px}
.tl-cform input:focus-visible,.tl-cform select:focus-visible{outline:2px solid var(--ink);outline-offset:2px}
.tl-rule{margin:-8px 0 0;font-size:14.5px;color:var(--muted)}
.tl-rule a{color:var(--ink);text-underline-offset:3px}
.tl-outc{border-radius:var(--r);background:var(--tile);padding:32px;display:flex;flex-direction:column;gap:24px}
.tl-out{flex:1}
.tl-idle{font:600 20px/1.45 var(--b);color:#8a8a86;margin:0;max-width:22em}
.tl-big{font:800 30px/1.25 var(--d);letter-spacing:-.025em;color:var(--ink);margin:0}
.tl-big b.ok{color:var(--green)}
.tl-big b.no{color:var(--red)}
.tl-sub{margin:16px 0 0;font:600 18px var(--b);color:var(--copy)}

/* search */
.tl-sres{margin-top:48px;padding-bottom:var(--sec);min-height:40vh}
.tl-firm{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:16px 32px;align-items:center;background:var(--tile);border-radius:var(--r);padding:24px 28px;margin-bottom:12px}
.tl-fid{display:flex;align-items:center;gap:16px;text-decoration:none;min-width:0}
.tl-fid .lg{width:48px;height:48px;border-radius:12px}
.tl-fid span{display:grid;gap:3px;min-width:0}
.tl-fid b{font:800 22px/1.2 var(--d);letter-spacing:-.02em;color:var(--ink)}
.tl-fid small{font-size:14.5px;line-height:1.45;color:var(--copy)}
.tl-fid:hover b{text-decoration:underline;text-underline-offset:3px}
.tl-fcta{display:flex;align-items:center;gap:10px;flex-wrap:wrap;justify-content:flex-end}
.tl-fcta .code{height:40px;padding:0 12px}
.tl-fcta .btn{width:auto;margin:0}
.tl-deal{font:800 15px var(--d);color:var(--ink)}
.tl-fnote{grid-column:1/-1;margin:0;font-size:14px;color:var(--muted)}
.tl-fnote a{color:var(--ink);text-underline-offset:3px}
.tl-codes{display:flex;align-items:center;justify-content:space-between;gap:16px;background:var(--tile);border-radius:var(--r2);padding:18px 24px;margin-bottom:12px;text-decoration:none;color:var(--ink)}
.tl-codes span{display:grid;gap:2px}
.tl-codes b{font:800 17px var(--d);color:var(--ink)}
.tl-codes small{font-size:14.5px;color:var(--copy)}
.tl-chips{display:flex;flex-wrap:wrap;gap:8px;margin-top:20px}
.tl-chips:empty{display:none}
.tl-chip{height:38px;padding:0 16px;border-radius:999px;border:0;background:var(--tile);font:600 14.5px var(--b);color:var(--ink);cursor:pointer}
.tl-chip:hover{background:var(--tile2)}
.tl-chip[aria-pressed=true]{background:var(--ink);color:#fff}
#sresults{margin-top:36px}
.tl-count{font:700 16px var(--b);color:var(--ink);margin:0 0 4px}
#sresults>.tl-hint{margin-bottom:12px}
.tl-dym{border:0;background:none;padding:0;font:inherit;font-weight:700;color:var(--ink);text-decoration:underline;text-underline-offset:3px;cursor:pointer}
.tl-hit{display:grid;grid-template-columns:200px minmax(0,1fr);gap:28px;padding:24px 0;border-top:1px solid rgba(64,64,64,.1);max-width:920px}
.tl-count+.tl-hit{border-top:0}
.tl-cv{display:block;aspect-ratio:16/9;border-radius:14px;overflow:hidden;background:var(--tile2);align-self:start}
.tl-cv.none{background:var(--tile)}
.tl-cv img{width:100%;height:100%;object-fit:cover;display:block}
.tl-t{font:800 20px/1.25 var(--d);letter-spacing:-.015em;color:var(--ink);text-decoration:none}
.tl-t:hover{text-decoration:underline;text-underline-offset:3px}
.tl-m{margin:6px 0 0;font-size:14px;color:var(--muted)}
.tl-snip{margin:10px 0 0;font-size:15.5px;line-height:1.55;color:#707070}
.tl-snip a{color:var(--ink);font-weight:600;text-decoration:none;margin-right:4px}
.tl-snip a:hover{text-decoration:underline;text-underline-offset:3px}
.tl-snip mark{background:none;color:var(--ink);font-weight:600}
.tl-more{margin:8px 0 0;font-size:14px;line-height:1.5;color:var(--muted)}
.tl-more a{color:var(--ink);text-underline-offset:3px;text-decoration-color:#b9b9b5}

/* 404 */
.p-404 .tl-sec:first-of-type{margin-top:64px}
.tl-firms{display:flex;flex-wrap:wrap;gap:8px}
.tl-firms a{display:inline-flex;align-items:center;gap:10px;height:48px;padding:0 18px 0 10px;border-radius:999px;background:var(--tile);text-decoration:none;font:600 15px var(--b);color:var(--ink)}
.tl-firms a:hover{background:var(--tile2)}

@media (max-width:900px){
  .tl-head{padding-top:32px}
  .tl-head h1{font-size:34px}
  .tl-lead{font-size:18px}
  .tl-sec>h2{font-size:26px;margin-bottom:24px}
  .tl-form{flex-direction:column;margin-top:28px}
  .tl-form .btn{width:100%}
  .tl-field input{height:54px}
  .tl-tools{grid-template-columns:1fr;gap:12px}
  .tl-tool{padding:24px 56px 26px 24px;min-height:0}
  .tl-tool b{font-size:21px}
  .tl-tool .arr{right:22px;top:27px}
  .tl-rows a{grid-template-columns:minmax(0,1fr) 16px;gap:8px 16px;padding:16px 0}
  .tl-rows q{grid-column:1;grid-row:2}
  .tl-rows .arr{grid-row:1;grid-column:2}
  .tl-res{padding:20px;border-radius:var(--r)}
  .tl-res-h b{font-size:24px}
  .tl-res ul{grid-template-columns:1fr}
  .tl-table{margin-top:56px}
  .tl-tw{overflow-x:auto;margin-inline:calc(-1*var(--gut));padding-inline:var(--gut);-webkit-overflow-scrolling:touch}
  .tl-tw table{min-width:1080px}
  .tl-tw thead th{position:static}
  .tl-tw thead th:first-child{width:140px;position:sticky;left:calc(-1*var(--gut));z-index:6;padding-left:var(--gut)}
  .tl-tw tbody th{position:sticky;left:calc(-1*var(--gut));z-index:4;background:#fff;padding-left:var(--gut);box-shadow:1px 0 0 rgba(64,64,64,.1)}
  .tl-calc{grid-template-columns:1fr;margin-top:32px}
  .tl-cform,.tl-outc{padding:22px}
  .tl-big{font-size:24px}
  .tl-idle{font-size:18px}
  .tl-sres{margin-top:32px}
  .tl-firm{grid-template-columns:1fr;padding:20px}
  .tl-fcta{justify-content:flex-start}
  .tl-hit{grid-template-columns:104px minmax(0,1fr);gap:14px;padding:20px 0}
  .tl-cv{border-radius:10px}
  .tl-t{font-size:17px}
  .tl-snip{font-size:15px}
  .tl-more{display:none}
}

/* Loop 12: clearer country result */
.tl-res-h{margin-bottom:8px}
.tl-grp{font-size:16px;line-height:1.5;color:var(--muted);margin:18px 0 12px;max-width:52em}.tl-grp b{color:var(--ink)}
.tl-res ul.ok li a{grid-template-columns:28px minmax(0,1fr);background:none;box-shadow:inset 0 0 0 1px rgba(64,64,64,.14)}
.tl-res ul.ok li img{grid-row:auto}
.tl-res li a:focus{outline:0}.tl-res li a:focus-visible{outline:2px solid var(--ink)}
/* phones: the table scrolls inside its own box, so header cells must not be offset by the menu height */
@media (max-width:900px){.tl-tw thead th{top:0}}
