/* MENTECH Tools: one screen that asks, checks and answers in the same place. */
main [hidden] { display: none !important; }
.tl-sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); }
.tl-ic { flex: none; width: 1em; height: 1em; fill: none; stroke: currentColor; stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; }

/* The screen takes the colour of the answer. */
.tl-stage { --signal: var(--brand-blue-on-dark); position: relative; isolation: isolate; display: flex; flex-direction: column; min-height: calc(100svh - 94px); padding: 0 24px 28px; overflow: hidden; background: var(--ink); color: #fff; text-align: center; transition: background-color .9s ease; }
.tl-stage[data-state="good"] { --signal: #7ff0bd; background: #00593a; }
.tl-stage[data-state="warn"] { --signal: #ffd08a; background: #6b3d05; }
.tl-stage[data-state="bad"] { --signal: #ffb3ab; background: #8a0f1b; }
.tl-flow { position: absolute; inset: 0; z-index: -1; width: 100%; height: 100%; }
[dir="rtl"] .tl-flow { transform: scaleX(-1); }

.tl-strip { display: flex; gap: 22px; margin: 0 -24px; padding: 0 24px; font-size: 13px; overflow-x: auto; scrollbar-width: none; }
/* Centred when they all fit, scrolled from the start when they do not. */
.tl-strip a:first-child { margin-inline-start: auto; }
.tl-strip a:last-child { margin-inline-end: auto; }
.tl-strip a { display: inline-flex; align-items: center; gap: 8px; padding: 16px 0 13px; border-bottom: 2px solid transparent; color: #c6cede; white-space: nowrap; transition: color .2s; }
.tl-strip a:hover, .tl-strip a[aria-current] { color: #fff; }
.tl-strip a[aria-current] { border-color: #fff; }
.tl-strip .tl-ic { font-size: 18px; }

.tl-center { width: 100%; max-width: 1060px; margin: auto; padding-top: 14px; }
.tl-name { font: 600 12px/1.4 Inter, Arial, sans-serif; letter-spacing: .12em; text-transform: uppercase; color: #dfe5f0; }
[dir="rtl"] .tl-name { letter-spacing: 0; font-size: 14px; }
.tl-answer { display: grid; align-items: center; min-height: clamp(188px, 25svh, 260px); padding: 10px 0 24px; }
.tl-answer > div { animation: tl-in .6s cubic-bezier(.2, .7, .2, 1) backwards; }
.tl-answer p { margin: 0; text-wrap: balance; font-size: 18px; line-height: 1.5; color: #e6ebf4; }
.tl-answer .tl-big { margin: 0 0 10px; font: 500 clamp(40px, 6vw, 92px)/1.04 Manrope, Arial, sans-serif; letter-spacing: -.045em; color: #fff; }
.tl-answer .tl-big em { font-size: 1.08em; }
.tl-answer h2.tl-big { font-size: clamp(54px, min(8vw, 15svh), 124px); line-height: .95; }
.tl-answer .tl-host { margin-bottom: 2px; font-size: 22px; font-weight: 600; color: #fff; overflow-wrap: anywhere; }
/* A grade is read from across the room. */
:is([data-verdict="A+"], [data-verdict="A"], [data-verdict="B"], [data-verdict="C"], [data-verdict="F"]) .tl-big em { font: 700 1.15em/1 Manrope, Arial, sans-serif; letter-spacing: -.04em; }
@keyframes tl-in { from { opacity: 0; transform: translateY(14px); } }

.tl-panel { position: relative; background: #141823; box-shadow: 0 30px 80px rgba(0, 0, 0, .35); text-align: start; }
.tl-field { display: flex; min-height: 74px; background: #fff; }
.tl-field input { flex: 1; min-width: 0; padding: 0 26px; border: 0; background: transparent; color: var(--ink); font: 500 21px/1.4 Manrope, Arial, sans-serif; text-align: left; }
.tl-field input::placeholder { color: #6b7280; }
.tl-field input:focus { outline: 0; }
.tl-field:focus-within { outline: 3px solid var(--brand-blue-on-dark); outline-offset: 3px; }
.tl-field .solid-button { flex: none; width: auto; margin: 0; border: 0; background: var(--blue); color: #fff; font-family: inherit; cursor: pointer; }
.tl-field .solid-button:hover { background: var(--brand-blue-hover); }

/* The same four readings stand before and after the check; only their values arrive. */
.tl-read { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); margin: 0; }
.tl-read > div { min-height: clamp(116px, 15svh, 146px); padding: 22px 22px 16px; border-inline-start: 1px solid rgba(255, 255, 255, .12); }
.tl-read > div:first-child { border: 0; }
.tl-read dt { font-size: 12.5px; line-height: 1.4; color: #aab4c6; }
.tl-read dd { margin: 7px 0 0; }
.tl-read dd span { display: block; font: 600 20px/1.3 Manrope, Arial, sans-serif; animation: tl-in .5s cubic-bezier(.2, .7, .2, 1) backwards; }
.tl-read dd .tl-q { font: 400 14.5px/1.45 Inter, Arial, sans-serif; color: #e6ebf4; animation: none; }
.tl-read small { display: block; margin-top: 4px; font-size: 11.5px; line-height: 1.4; color: #aab4c6; overflow-wrap: anywhere; animation: tl-in .5s cubic-bezier(.2, .7, .2, 1) backwards; }
[dir="rtl"] .tl-read small { text-align: right; }
/* A cell still asking its question has no technical note yet. */
.tl-q:not([hidden]) ~ small, .tl-read small:empty { display: none; }
.tl-read > div:nth-child(2) :is(span, small) { animation-delay: .12s; }
.tl-read > div:nth-child(3) :is(span, small) { animation-delay: .24s; }
.tl-read > div:nth-child(4) :is(span, small) { animation-delay: .36s; }
[data-state]:is([data-state="yes"], [data-state="reject"], [data-state="quarantine"]):is(span) { color: #7ff0bd; }
[data-state]:is([data-state="warn"], [data-state="some"]):is(span) { color: #ffd08a; }
[data-state]:is([data-state="no"], [data-state="anyone"]):is(span) { color: #ff9d93; }
.tl-stage[data-state="loading"] .tl-q { opacity: .45; }

.tl-foot { display: grid; align-items: center; min-height: 110px; border-top: 1px solid rgba(255, 255, 255, .12); }
.tl-try { margin: 0; padding: 0 20px; font-size: 14px; color: #aab4c6; text-align: center; }
.tl-answer p a { border-bottom: 1px solid currentColor; }
.tl-try a { margin-inline-start: 18px; color: #fff; border-bottom: 1px solid rgba(255, 255, 255, .4); }
.tl-try a:hover { border-color: #fff; }
body.tl-panel-seen:has(.tl-stage:not([data-state="idle"])) .consent { visibility: hidden; }
@media (min-width: 821px) {
  body:has(.tl-stage) .consent:not([hidden]) { inset: auto 0 0; display: flex; align-items: center; justify-content: center; gap: 24px; width: auto; padding: 7px 24px; border-width: 1px 0 0; }
  body:has(.tl-stage) .consent-actions button { flex: none; min-width: 110px; }
}
/* The offer rises into place once the answer has been read. */
.tl-offer { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.25fr); align-items: center; gap: 26px; padding: 18px 20px; background: #fff; color: var(--ink); animation: tl-rise .7s .9s cubic-bezier(.2, .7, .2, 1) backwards; }
@keyframes tl-rise { from { opacity: 0; transform: translateY(40px); } }
.tl-offer h3 { font-size: 20px; line-height: 1.25; letter-spacing: -.02em; }
.tl-offer p { margin: 5px 0 0; font-size: 14px; line-height: 1.45; color: #464b57; }
.tl-offer[data-for="bad"] h3[data-for="good"], .tl-offer[data-for="bad"] p[data-for="good"], .tl-offer[data-for="good"] h3[data-for="bad"], .tl-offer[data-for="good"] p[data-for="bad"] { display: none; }
.tl-mail { display: grid; grid-template-columns: minmax(0, 1fr) auto; }
.tl-mail input { min-width: 0; height: 50px; padding: 0 15px; border: 1px solid #6c7280; border-inline-end: 0; border-radius: 0; background: #fff; color: var(--ink); font: 400 16px/1 Inter, Arial, sans-serif; text-align: left; }
[dir="rtl"] .tl-mail input { border-left: 0; border-right: 1px solid #6c7280; }
.tl-mail input[aria-invalid="true"] { border-color: #b42318; }
.tl-mail button { padding: 0 20px; border: 0; background: var(--blue); color: #fff; font: 600 14px/1 Inter, Arial, sans-serif; cursor: pointer; transition: background .2s; }
.tl-mail button:hover { background: var(--brand-blue-hover); }
.tl-mail :focus-visible, .tl-choices :focus-visible, .tl-fixit:focus-visible, .tl-try a:focus-visible, .tl-strip a:focus-visible { outline: 3px solid var(--blue); outline-offset: 2px; }
.tl-mail p { grid-column: 1 / -1; font-size: 12px; }
.tl-mail [data-error] { color: #b42318; font-weight: 600; }
.tl-choices { display: flex; flex-wrap: wrap; gap: 8px; }
.tl-choices button { min-height: 42px; padding: 0 16px; border: 1px solid #6c7280; background: #fff; color: var(--ink); font: 600 14px/1 Inter, Arial, sans-serif; cursor: pointer; }
.tl-choices button:disabled { border-color: transparent; background: #dfeee7; color: #0c5c3b; cursor: default; }
.tl-choices button:disabled::before { content: "\2713  "; }
.tl-choices button:not(:disabled):hover { border-color: var(--blue); background: var(--blue); color: #fff; }
.tl-sent { min-height: 110px; animation-delay: 0s; }
.tl-fixit { display: flex; justify-content: space-between; align-items: center; gap: 20px; min-height: 54px; padding: 0 20px; background: var(--blue); color: #fff; font-size: 14px; font-weight: 600; }
.tl-fixit:hover { background: var(--brand-blue-hover); }
.tl-fixit svg { display: block; width: 34px; height: 22px; fill: none; stroke: currentColor; stroke-width: 1.5; }

/* Tools page: the tools are the panel. */
.tl-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1px; background: rgba(255, 255, 255, .12); }
.tl-grid a { display: flex; flex-direction: column; min-height: clamp(142px, 19svh, 180px); padding: 20px; background: #141823; color: #fff; transition: background .25s; }
.tl-grid a:first-child { grid-column: span 2; }
.tl-grid .tl-ic { margin-bottom: auto; font-size: 30px; stroke-width: 1.3; color: var(--brand-blue-on-dark); transition: color .25s; }
.tl-grid b { margin-top: 18px; font: 600 16px/1.3 Manrope, Arial, sans-serif; }
.tl-grid span { margin-top: 3px; font-size: 13px; line-height: 1.4; color: #aab4c6; transition: color .25s; }
.tl-grid a:hover { background: var(--blue); }
.tl-grid a:hover .tl-ic, .tl-grid a:hover span { color: #fff; }
.tl-grid a:focus-visible { outline: 3px solid var(--brand-blue-on-dark); outline-offset: -3px; }

.tl-grid.tl-nine { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.tl-nine a, .tl-nine a:first-child { grid-column: auto; min-height: clamp(96px, 13svh, 128px); }
.tl-nine b { margin-top: auto; font-size: 18px; }

/* Three rows of tools still fit on one screen. */
.tl-grid:not(.tl-nine) a { min-height: clamp(96px, 13.4svh, 150px); padding: 16px 20px; }
.tl-grid:not(.tl-nine) b { margin-top: 10px; }
[data-fill="records"] { white-space: pre-line; overflow-wrap: anywhere; }
.tl-list { display: grid; gap: 10px; margin: 0 0 18px; padding-inline-start: 24px; font-size: 16px; line-height: 1.6; color: #464b57; }
.tl-more > a { display: inline-block; margin: 0 4px 22px; border-bottom: 1px solid currentColor; font-weight: 600; }

/* Tools that take a list or a text: the box on one side, its readings on the other. */
.tl-split { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr); }
.tl-pair { grid-template-columns: 1fr 1fr; gap: 1px; }
.tl-split form, .tl-paste { display: flex; flex-direction: column; background: #fff; color: var(--ink); }
.tl-paste { flex: 1; }
.tl-paste:focus-within { outline: 3px solid var(--brand-blue-on-dark); outline-offset: -3px; }
.tl-paste label { padding: 16px 22px 0; font-size: 13px; font-weight: 600; }
.tl-paste textarea { flex: 1; width: 100%; min-height: clamp(186px, 26svh, 250px); padding: 8px 22px 16px; border: 0; border-radius: 0; background: transparent; color: var(--ink); font: 400 14px/1.55 ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; text-align: left; resize: none; }
.tl-paste textarea::placeholder { color: #6b7280; }
[data-decode] .tl-paste textarea { font-size: 12.5px; }
.tl-paste textarea:focus { outline: 0; }
html[dir="rtl"] .tl-paste textarea { font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace !important; }
.tl-split form .solid-button { width: 100%; min-height: 60px; margin: 0; border: 0; background: var(--blue); color: #fff; font-family: inherit; cursor: pointer; }
.tl-split form .solid-button:hover { background: var(--brand-blue-hover); }
.tl-split .tl-read { grid-template-columns: 1fr 1fr; height: 100%; }
.tl-split .tl-read > div { border-inline-start: 1px solid rgba(255, 255, 255, .12); }
.tl-split .tl-read > div:nth-child(n+3), .tl-split + .tl-foot { border-top: 1px solid rgba(255, 255, 255, .12); }
.tl-split + .tl-foot { min-height: 76px; }
.tl-try button { margin-inline-start: 14px; padding: 4px 0; border: 0; border-bottom: 1px solid rgba(255, 255, 255, .4); background: none; color: #fff; font: inherit; cursor: pointer; }
.tl-try button:hover { border-color: #fff; }
.tl-results { display: flex; flex-direction: column; max-height: clamp(260px, 38svh, 340px); overflow-y: auto; scrollbar-width: thin; scrollbar-color: #566079 transparent; }
.tl-results table { width: 100%; border-collapse: collapse; font-size: 14px; }
.tl-results th, .tl-results td { padding: 12px 8px; border-bottom: 1px solid rgba(255, 255, 255, .1); font-weight: 500; text-align: start; }
.tl-results :is(th, td):first-child { padding-inline-start: 20px; overflow-wrap: anywhere; }
.tl-results thead th { position: sticky; top: 0; background: #141823; font-size: 12px; color: #aab4c6; }
.tl-results a { border-bottom: 1px solid rgba(255, 255, 255, .3); }
.tl-results a:hover { border-color: #fff; }
.tl-results > button { position: sticky; bottom: 0; margin-top: auto; padding: 14px 20px; border: 0; background: #20273a; color: #fff; font: 600 14px/1.4 Inter, Arial, sans-serif; text-align: start; cursor: pointer; }
.tl-results > button:hover { background: var(--blue); }
:is(.tl-results, .tl-results button, .tl-results a, .tl-try button, .tl-dated button):focus-visible { outline: 3px solid var(--brand-blue-on-dark); outline-offset: -2px; }

/* The scanner's own page lives on its own address, so it stands without the tools strip. */
.tl-alone .tl-fixit { min-height: 64px; padding: 0 22px; font-size: 16px; }

/* The report: a page to read, print and hand over. */
.tl-dated { display: flex; justify-content: space-between; align-items: center; gap: 20px; min-height: 64px; margin: 0; padding: 0 22px; font-size: 14px; }
.tl-stage[data-report][data-state="idle"] .tl-panel { display: none; }
.tl-dated button { padding: 10px 0; border: 0; background: none; color: #fff; font: 600 14px/1.4 Inter, Arial, sans-serif; border-bottom: 1px solid rgba(255, 255, 255, .5); cursor: pointer; }
.tl-stage[data-report] { min-height: 0; padding-bottom: 48px; }
.tl-report { max-width: 1108px; margin: 0 auto; padding: clamp(48px, 6vw, 84px) 24px; }
.tl-report h2 { margin-bottom: 22px; font-size: clamp(28px, 3vw, 40px); line-height: 1.15; }
.tl-report > table { width: 100%; margin-bottom: 60px; border-collapse: collapse; }
.tl-report > table :is(th, td) { padding: 18px 16px 18px 0; border-top: 1px solid var(--brand-rule); font-size: 16px; line-height: 1.5; text-align: start; vertical-align: top; }
[dir="rtl"] .tl-report > table :is(th, td) { padding: 18px 0 18px 16px; }
.tl-report > table th { width: 34%; }
.tl-report > table td:nth-child(2) { width: 17%; font-weight: 600; white-space: nowrap; }
.tl-report td span[data-state="yes"] { color: #0f7b4f; }
.tl-report td span[data-state="warn"] { color: #8a5200; }
.tl-report td span[data-state="no"] { color: #b42318; }
.tl-report td a { border-bottom: 1px solid currentColor; font-weight: 600; }
.tl-report small { display: block; font-size: 13px; color: #5d6370; }
[dir="rtl"] .tl-report small { text-align: right; }
.tl-report .tl-tabs { padding: 0; }
.tl-wishes, .tl-wishes + div { margin-top: 56px; }
.tl-report > .tl-fixit { min-height: 68px; margin-top: 44px; font-size: 16px; }
@media print {
  /* The report alone: our logo, the answer, and the steps for every kind of server under its name. */
  body > :not(main, header):not(:has(main, header)), header > :not(.brand), .tl-strip, .tl-flow, .tl-wishes, .tl-dated button, .tl-tablist, pre button, .tl-fixit svg { display: none !important; }
  body, main { padding: 0 !important; margin: 0 !important; background: #fff !important; }
  header.header { position: static !important; display: block !important; height: auto !important; padding: 20px 24px !important; border: 0 !important; background: var(--ink) !important; }
  header.header, .tl-stage, .tl-report > .tl-fixit { print-color-adjust: exact; -webkit-print-color-adjust: exact; }
  .tl-stage { padding: 24px; }
  .tl-stage[data-report] { padding-bottom: 24px; }
  .tl-report { padding: 28px 0 0; }
  .tl-report > table { margin-bottom: 32px; }
  .tl-report > table :is(th, td) { padding-block: 11px; font-size: 14px; }
  .tl-report > table tr, .tl-report .tl-steps, .tl-report > .tl-fixit { break-inside: avoid; }
  .tl-report h2 { break-after: avoid; }
  .tl-report .tl-steps[hidden] { display: block !important; }
  .tl-steps::before { content: attr(data-server); font-weight: 600; }
  .tl-report .tl-tabs pre { border: solid #0B0D12; border-width: 1px 0; background: #fff; color: #0B0D12; white-space: pre-wrap; }
  .tl-report > .tl-fixit::after { content: "hello@mntech.ai"; }
}

.tl-outside { margin: 0; font-size: 13px; line-height: 1.5; color: #c6cede; }
.tl-panel .tl-outside { position: absolute; inset: calc(100% + 10px) 0 auto; text-align: center; }
.tl-stage:not([data-state="idle"]) .tl-outside { color: #fff; }
.tl-outside a { border-bottom: 1px solid currentColor; }
.tl-report .tl-outside { margin: 18px 0 0; color: #464b57; }
.tl-terms { display: flex; gap: 24px; margin: 22px 4px 0; font-size: 14px; }
:is(.tl-terms, .tl-guide section) a { border-bottom: 1px solid currentColor; }
/* A guide: what it is called on one side, what to do on the other. */
.tl-guide { max-width: 1156px; margin: 0 auto; padding: clamp(40px, 5vw, 72px) 24px clamp(56px, 7vw, 104px); }
.tl-guide > section { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 2.4fr); gap: 16px 40px; padding: 38px 0; border-bottom: 1px solid var(--brand-rule); }
.tl-guide h2 { font-size: clamp(22px, 2.1vw, 28px); line-height: 1.2; }
.tl-guide :is(p, li) { max-width: 68ch; font-size: 17px; line-height: 1.65; color: #3b404b; }
.tl-guide :is(ul, ol) { display: grid; gap: 12px; margin: 0; padding-inline-start: 22px; }
.tl-guide ol li::marker { font-weight: 700; color: var(--blue); }
.tl-guide p { margin: 0 0 12px; }
.tl-guide p:last-child { margin: 0; }
.tl-guide .tl-tabs { padding: 0; }
.tl-guide > section > div > pre:first-child { margin-top: 0; }
.tl-guide > .tl-fixit { min-height: 68px; margin-top: 44px; font-size: 17px; }
.tl-stage:has(+ .tl-guide) { min-height: 0; padding-bottom: 48px; }

.tl-notes { display: grid; grid-template-columns: minmax(0, .75fr) minmax(0, 1fr); gap: 40px; max-width: 1408px; margin: 0 auto; padding: clamp(56px, 7vw, 104px) clamp(20px, 6vw, 86px); }
.tl-notes h2 { font-size: clamp(30px, 3vw, 44px); line-height: 1.1; }
.tl-more { border-bottom: 1px solid var(--brand-rule); }
.tl-more:first-child, .tl-more[hidden] + .tl-more { border-top: 1px solid var(--brand-rule); }
.tl-more summary { display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 19px 4px; font-size: 16px; font-weight: 600; cursor: pointer; list-style: none; }
.tl-more summary::-webkit-details-marker { display: none; }
.tl-more summary::after { content: ""; flex: none; width: 9px; height: 9px; margin: -5px 5px 0; border: solid currentColor; border-width: 0 1.5px 1.5px 0; transform: rotate(45deg); transition: transform .25s, margin .25s; }
.tl-more[open] summary::after { margin-top: 5px; transform: rotate(225deg); }
.tl-more summary:focus-visible { outline: 3px solid var(--blue); outline-offset: 2px; }
.tl-more > p { margin: 0 4px 22px; max-width: 64ch; font-size: 16px; line-height: 1.65; color: #464b57; }
:is(.tl-more, .tl-guide) table { width: 100%; margin-bottom: 18px; border-collapse: collapse; font-size: 15px; }
:is(.tl-more, .tl-guide) :is(th, td) { padding: 11px 4px; border-top: 1px solid var(--platinum); font-weight: 500; text-align: start; }
.tl-more td span[data-state="yes"] { color: #0f7b4f; }
.tl-more td span[data-state="no"] { color: #b42318; }
.tl-tabs { padding: 0 4px 22px; }
.tl-tablist { display: flex; flex-wrap: wrap; gap: 8px; }
.tl-tablist button { padding: 10px 16px; border: 1px solid var(--brand-rule); background: #fff; color: var(--ink); font: inherit; font-size: 14px; cursor: pointer; }
.tl-tablist button:hover { border-color: var(--ink); }
.tl-tablist button[aria-selected="true"] { background: var(--ink); border-color: var(--ink); color: #fff; }
.tl-steps { margin-top: 16px; }
.tl-steps p { margin: 0; font-size: 15px; line-height: 1.6; color: #464b57; }
:is(.tl-tabs, .tl-guide) pre { margin: 14px 0 0; padding: 18px 20px; background: var(--ink); color: #e9ebef; overflow-x: auto; text-align: left; font-size: 14px; line-height: 1.7; }
:is(.tl-tabs, .tl-guide) pre { position: relative; padding-right: 84px; white-space: pre-wrap; overflow-wrap: anywhere; }
:is(.tl-tabs, .tl-guide) pre + p { margin-top: 16px; }
:is(.tl-tabs, .tl-guide) pre button { position: absolute; top: 8px; right: 8px; min-height: 40px; padding: 0 14px; border: 0; background: #20273a; color: #fff; font: 600 13px/1 Inter, Arial, sans-serif; cursor: pointer; }
:is(.tl-tabs, .tl-guide) pre button:hover { background: var(--blue); }
:is(.tl-tabs, .tl-guide) pre button:focus-visible { outline: 3px solid var(--brand-blue-on-dark); }
html[dir] :is(.tl-tabs, .tl-guide) pre, html[dir] :is(.tl-tabs, .tl-guide) pre code { font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace !important; } /* the Arabic font rule is site-wide and !important */

[dir="rtl"] .tl-answer .tl-big { letter-spacing: 0; line-height: 1.3; }
[dir="rtl"] .tl-answer h2.tl-big { font-size: clamp(48px, min(6vw, 11svh), 92px); }
/* Short laptop screens: the whole answer still fits without scrolling. */
@media (min-width: 821px) and (max-height: 800px) {
  .tl-stage { padding-bottom: 14px; }
  .tl-strip a { padding: 11px 0 9px; }
  .tl-center { padding-top: 4px; }
  .tl-answer { min-height: 160px; padding: 2px 0 14px; }
  .tl-answer .tl-big { margin-bottom: 4px; font-size: clamp(40px, 5.2vw, 70px); }
  .tl-answer h2.tl-big, [dir="rtl"] .tl-answer h2.tl-big { font-size: 76px; }
  [dir="rtl"] .tl-answer h2.tl-big { font-size: 58px; line-height: 1.25; }
  .tl-answer .tl-host { font-size: 18px; }
  .tl-answer p { font-size: 16px; }
  .tl-field { min-height: 64px; }
  .tl-read > div { min-height: 98px; padding: 14px 20px 10px; }
  .tl-grid:not(.tl-nine) a { min-height: 96px; padding: 12px 20px; }
  .tl-grid .tl-ic { font-size: 24px; }
}
@media screen and (max-width: 820px) {
  .tl-stage { min-height: 0; padding: 0 16px 28px; }
  .tl-strip { gap: 22px; margin: 0 -16px; padding: 0 16px; }
  .tl-center { padding-top: 22px; }
  .tl-answer { min-height: 176px; }
  .tl-answer p { font-size: 16px; }
  .tl-field { min-height: 62px; }
  .tl-field input { padding: 0 16px; font-size: 17px; }
  .tl-field .solid-button { min-height: 0; padding: 0 18px; }
  .tl-field .bridge { display: none; }
  .tl-read, .tl-grid { grid-template-columns: 1fr 1fr; }
  .tl-read > div { min-height: 96px; padding: 14px 14px 12px; }
  .tl-read > div:nth-child(odd) { border: 0; }
  .tl-read > div:nth-child(n+3) { border-top: 1px solid rgba(255, 255, 255, .12); }
  .tl-read dd span { font-size: 16px; }
  .tl-grid a { min-height: 124px; padding: 16px; }
  .tl-foot { min-height: 76px; }
  .tl-try a { margin-inline-start: 10px; }
  .tl-offer { grid-template-columns: 1fr; gap: 14px; padding: 18px 16px; }
  .tl-split, .tl-pair { grid-template-columns: 1fr; }
  .tl-paste label { padding: 14px 16px 0; }
  .tl-paste textarea { min-height: 150px; padding: 8px 16px 14px; font-size: 16px !important; }
  .tl-results { max-height: 56svh; }
  .tl-results :is(th, td):first-child { padding-inline-start: 14px; }
  .tl-split .tl-read > div:nth-child(odd) { border-inline-start: 0; }
  .tl-report > table tr { display: block; padding: 16px 0; border-top: 1px solid var(--brand-rule); }
  .tl-report > table :is(th, td) { display: block; width: auto !important; padding: 0 !important; border: 0; }
  .tl-notes, .tl-guide > section { grid-template-columns: minmax(0, 1fr); gap: 22px; }
  .tl-grid.tl-nine { grid-template-columns: 1fr 1fr; }
  .tl-guide > section { padding: 28px 0; }
  .tl-guide :is(p, li) { font-size: 16px; }
}
@media print, (prefers-reduced-motion: reduce) { .tl-stage, .tl-stage * { animation: none !important; transition: none !important; } }
@media (max-width: 600px) { [dir="rtl"] .tl-answer h2.tl-big { font-size: 40px; } }
