/* Written by build.mjs from leo-app's static/pdfapp.css: the tools' own styles, kept inside .pa-host. */
/* The PDF app (`pdf.html`, `pdfapp.js`), in Leo's new look (`next.css`): its colours, fonts and shapes,
on a page of its own so it can run the tools' WebAssembly without loosening the main app's rules. */
.pa-host {
  --ground: oklch(0.982 0.009 267);
  --surface: #fff;
  --sunk: oklch(0.971 0.006 267);
  --ink: oklch(0.239 0.026 251.3);
  --ink-2: oklch(0.445 0.027 254.5);
  --ink-3: oklch(0.56 0.022 254.5);
  --rule: oklch(0.90 0.027 267);
  --accent: oklch(0.464 0.205 266.24);
  --accent-soft: oklch(0.935 0.024 272.8);
  --rec: oklch(0.577 0.245 27.3);
  --rec-soft: oklch(0.96 0.03 27);
  --ok: oklch(0.45 0.12 150);
  --ok-soft: oklch(0.96 0.035 150);
  --sans: "DM Sans", system-ui, -apple-system, "Segoe UI", sans-serif;
  --display: "Manrope", "DM Sans", system-ui, sans-serif;
  color-scheme: light;
}
.pa-host, .pa-host *, .pa-host *::before, .pa-host *::after { box-sizing: border-box; }
.pa-host { color: var(--ink); font: 14px/1.5 var(--sans); }


.pa { max-width: 1040px; margin: 0 auto; display: flex; flex-direction: column; gap: 22px; }
.pa-host h1, .pa-host h2 { font-family: var(--display); letter-spacing: -0.01em; margin: 0; }
.pa-host h1 { font-size: 26px; font-weight: 800; }
.pa-host h2 { font-size: 15px; font-weight: 750; }
.pa-host p { margin: 0; }
.pa-host button { font: inherit; color: inherit; }
.pa-muted { color: var(--ink-2); font-size: 13px; }
.pa-min { min-width: 0; flex: 1; }

.pa-btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; height: 40px; padding: 0 16px; border-radius: 10px; border: 1px solid var(--accent); background: var(--accent); color: #fff; font-weight: 600; cursor: pointer; white-space: nowrap; text-decoration: none; }
.pa-btn:disabled { opacity: 0.45; cursor: default; }
.pa-btn.pa-ghost { background: var(--surface); color: var(--accent); border-color: var(--rule); }
.pa-btn.pa-ghost:hover { border-color: var(--accent); }
.pa-btn.pa-sm { height: 32px; padding: 0 11px; font-size: 13px; }
.pa-btn.pa-big { height: 48px; padding: 0 28px; font-size: 15px; }
.pa-link { background: none; border: 0; padding: 0; color: var(--accent); font-weight: 600; cursor: pointer; }
.pa-link:hover { text-decoration: underline; }
.pa-icon { display: inline-flex; align-items: center; justify-content: center; width: 30px; height: 30px; border-radius: 8px; border: 1px solid var(--rule); background: var(--surface); color: var(--ink-2); cursor: pointer; flex-shrink: 0; }
.pa-icon:hover:not(:disabled) { color: var(--accent); border-color: var(--accent); }
.pa-icon:disabled { opacity: 0.35; cursor: default; }

.pa-badges { list-style: none; display: flex; flex-wrap: wrap; gap: 8px 16px; margin: 12px 0 0; padding: 0; color: var(--ink-2); font-size: 13px; }
.pa-badges li { display: inline-flex; align-items: center; gap: 6px; }
.pa-badges svg { color: var(--ok); }

/* The list: a drop box beside the promise, then the tiles in their groups. */
.pa-hero { display: grid; grid-template-columns: 1fr 1.1fr; gap: 24px; align-items: center; background: var(--surface); border: 1px solid var(--rule); border-radius: 18px; padding: 24px; }
.pa-hero p { color: var(--ink-2); font-size: 15px; margin-top: 6px; }
.pa-drop { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 6px; min-height: 190px; padding: 22px; border: 2px dashed var(--rule); border-radius: 16px; background: var(--sunk); text-align: center; cursor: pointer; transition: border-color .15s, background .15s; }
.pa-drop:hover, .pa-drop.pa-over { border-color: var(--accent); background: var(--accent-soft); }
.pa-drop strong { font-size: 15px; }
.pa-drop .pa-btn { margin-top: 8px; pointer-events: none; }
.pa-drop-icon { display: inline-flex; width: 54px; height: 54px; align-items: center; justify-content: center; border-radius: 14px; background: var(--surface); color: var(--accent); border: 1px solid var(--rule); }
.pa-carried { display: flex; align-items: center; gap: 12px; padding: 12px 16px; border-radius: 14px; background: var(--accent-soft); color: var(--accent); }
.pa-carried strong { display: block; color: var(--ink); }
.pa-carried .pa-link { margin-left: auto; }
.pa-group { display: flex; flex-direction: column; gap: 10px; }
.pa-tiles { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 12px; }
.pa-tile { position: relative; display: flex; flex-direction: column; align-items: flex-start; gap: 6px; padding: 16px; border: 1px solid var(--rule); border-radius: 14px; background: var(--surface); text-align: left; cursor: pointer; transition: border-color .15s, transform .15s, box-shadow .15s; }
.pa-tile:hover { border-color: var(--accent); transform: translateY(-1px); box-shadow: 0 6px 18px -12px oklch(0.464 0.205 266.24 / 0.6); }
.pa-tile strong { font-size: 14.5px; }
.pa-tile > span:not(.pa-tile-icon) { color: var(--ink-2); font-size: 13px; }
.pa-tile em { position: absolute; top: 14px; right: 14px; display: inline-flex; align-items: center; gap: 4px; font-style: normal; font-size: 11.5px; font-weight: 650; color: var(--accent); background: var(--accent-soft); padding: 2px 8px; border-radius: 999px; }
.pa-tile-icon { display: inline-flex; align-items: center; justify-content: center; width: 38px; height: 38px; border-radius: 10px; background: var(--accent-soft); color: var(--accent); flex-shrink: 0; }
.pa-tile-leo { background: linear-gradient(180deg, var(--surface), var(--sunk)); }

.pa-leo { display: flex; align-items: center; gap: 14px; padding: 16px 18px; border-radius: 14px; border: 1px solid var(--rule); background: var(--surface); }
.pa-leo p { color: var(--ink-2); font-size: 13.5px; margin-top: 2px; }
.pa-leo .pa-btn { margin-left: auto; }
.pa-leo-icon { display: inline-flex; align-items: center; justify-content: center; width: 40px; height: 40px; border-radius: 50%; background: var(--accent); color: #fff; flex-shrink: 0; }

/* A tool. */
.pa-back { align-self: flex-start; display: inline-flex; align-items: center; gap: 6px; background: none; border: 0; padding: 0; color: var(--ink-2); font-weight: 600; cursor: pointer; }
.pa-back:hover { color: var(--accent); }
.pa-head { display: flex; gap: 14px; align-items: flex-start; }
.pa-head .pa-tile-icon { width: 48px; height: 48px; border-radius: 12px; }
.pa-head p { color: var(--ink-2); font-size: 15px; margin-top: 4px; }
.pa-work { display: flex; flex-direction: column; gap: 16px; padding: 22px; background: var(--surface); border: 1px solid var(--rule); border-radius: 18px; }
.pa-sample { align-self: center; }
.pa-files { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 8px; }
.pa-file { display: flex; align-items: center; gap: 12px; padding: 10px 12px; border: 1px solid var(--rule); border-radius: 12px; background: var(--surface); }
.pa-file strong { display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.pa-file.pa-bad { border-color: var(--rec); background: var(--rec-soft); }
.pa-thumb { display: inline-flex; align-items: center; justify-content: center; width: 46px; height: 58px; border-radius: 6px; overflow: hidden; background: var(--sunk); border: 1px solid var(--rule); color: var(--ink-3); flex-shrink: 0; }
.pa-thumb img { width: 100%; height: 100%; object-fit: cover; object-position: top; }

.pa-opts { border: 0; margin: 0; padding: 14px 16px; border-radius: 12px; background: var(--sunk); display: flex; flex-direction: column; gap: 10px; }
.pa-opts legend { float: left; width: 100%; padding: 0; margin-bottom: 4px; font-weight: 700; }
.pa-row { display: flex; flex-wrap: wrap; gap: 8px 22px; }
.pa-choice { display: inline-flex; align-items: center; gap: 8px; cursor: pointer; }
.pa-choice input[type=radio] { accent-color: var(--accent); width: 16px; height: 16px; margin: 0; }
.pa-in { height: 36px; padding: 0 10px; border: 1px solid var(--rule); border-radius: 9px; background: var(--surface); font: inherit; color: var(--ink); }
.pa-in:focus { outline: 2px solid var(--accent-soft); border-color: var(--accent); }
.pa-in-n { width: 70px; }
.pa-in-wide { width: min(360px, 100%); }

.pa-pagebar { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 10px; }
.pa-pagebar .pa-muted { flex: 1; min-width: 200px; }
.pa-count { font-weight: 700; color: var(--accent); background: var(--accent-soft); padding: 3px 10px; border-radius: 999px; font-size: 12.5px; }
.pa-pages { list-style: none; margin: 0; padding: 14px; display: grid; grid-template-columns: repeat(auto-fill, minmax(120px, 1fr)); gap: 16px; background: var(--sunk); border-radius: 14px; max-height: 640px; overflow: auto; }
.pa-page { position: relative; display: flex; flex-direction: column; align-items: center; gap: 6px; padding: 8px; border-radius: 10px; border: 2px solid transparent; cursor: pointer; user-select: none; }
.pa-pages[data-mode=organize] .pa-page { cursor: grab; }
.pa-page:hover, .pa-page:focus-visible { border-color: var(--rule); background: var(--surface); outline: none; }
.pa-sheet { display: flex; align-items: center; justify-content: center; width: 100%; aspect-ratio: 3 / 4; }
.pa-sheet img { max-width: 100%; max-height: 100%; background: #fff; box-shadow: 0 1px 3px rgb(0 0 0 / .18); transition: transform .2s; }
.pa-pn { font-size: 12px; color: var(--ink-2); font-weight: 600; }
.pa-gone .pa-sheet img { opacity: .3; }
.pa-flag { position: absolute; top: 40%; left: 50%; transform: translate(-50%, -50%); background: var(--rec); color: #fff; font-size: 11.5px; font-weight: 700; padding: 3px 9px; border-radius: 999px; white-space: nowrap; }
.pa-flag-ok { background: var(--accent); top: 14px; left: auto; right: 6px; transform: none; padding: 3px; display: inline-flex; }
.pa-picked { border-color: var(--accent); background: var(--accent-soft); }
.pa-pagetools { display: flex; gap: 4px; opacity: 0; transition: opacity .15s; }
.pa-page:hover .pa-pagetools, .pa-page:focus-within .pa-pagetools { opacity: 1; }
.pa-pagetools .pa-icon { width: 26px; height: 26px; }
.pa-dragging { opacity: .4; }

.pa-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; }
.pa-note { padding: 10px 14px; border-radius: 10px; background: var(--ok-soft); color: var(--ok); font-weight: 500; }
.pa-note[data-ok=false] { background: var(--rec-soft); color: var(--rec); }
.pa-busy { display: inline-flex; align-items: center; gap: 10px; color: var(--ink-2); font-weight: 600; }
.pa-spin { width: 18px; height: 18px; border-radius: 50%; border: 2.5px solid var(--accent-soft); border-top-color: var(--accent); animation: pa-spin .8s linear infinite; }
@keyframes pa-spin { to { transform: rotate(360deg); } }

.pa-result { display: flex; flex-direction: column; gap: 14px; padding: 18px; border-radius: 14px; background: var(--ok-soft); border: 1px solid oklch(0.85 0.06 150); }
.pa-ba { display: flex; align-items: center; gap: 18px; flex-wrap: wrap; }
.pa-ba > div { display: flex; flex-direction: column; gap: 2px; }
.pa-ba > div:last-child { flex-direction: row; align-items: center; gap: 12px; flex-wrap: wrap; }
.pa-ba > div:last-child .pa-label { width: 100%; order: -1; }
.pa-label { font-size: 11.5px; font-weight: 700; text-transform: uppercase; letter-spacing: .04em; color: var(--ink-3); }
.pa-arrow { color: var(--ok); transform: rotate(-90deg); }
.pa-after-thumb { width: 52px; border-radius: 4px; box-shadow: 0 1px 3px rgb(0 0 0 / .2); background: #fff; }
.pa-gain { font-style: normal; color: var(--ok); margin-left: 6px; }
.pa-outs { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 4px; max-height: 220px; overflow: auto; }
.pa-outs li { display: flex; gap: 12px; align-items: center; padding: 6px 10px; background: var(--surface); border-radius: 8px; }
.pa-outs li span:first-child { flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }

.pa-about { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 18px; padding: 4px 2px; }
.pa-about ul { margin: 8px 0 0; padding-left: 18px; color: var(--ink-2); }
.pa-about li { margin-bottom: 4px; }
.pa-about p { color: var(--ink-2); margin-top: 8px; }


/* The strip across the four tool apps (PDF, Images, Video, Business), and what the newer three add. */
.pa-suite { display: flex; gap: 4px; padding: 4px; border-radius: 12px; background: var(--surface); border: 1px solid var(--rule); align-self: flex-start; }
.pa-suite a { padding: 6px 14px; border-radius: 9px; color: var(--ink-2); font-weight: 600; text-decoration: none; }
.pa-suite a:hover { color: var(--accent); }
.pa-suite a[aria-current] { background: var(--accent-soft); color: var(--accent); }
.pa-hero-solo { grid-template-columns: 1fr; }
.pa-in-t { width: 92px; }
select.pa-in { padding-right: 6px; }
.pa-choice input[type=checkbox] { accent-color: var(--accent); width: 16px; height: 16px; margin: 0; }
.pa-choice input[type=range] { accent-color: var(--accent); }
.pa-choice input[type=color] { width: 44px; height: 30px; padding: 0 2px; border: 1px solid var(--rule); border-radius: 6px; background: var(--surface); }
.pa-live { display: flex; flex-direction: column; gap: 6px; }
.pa-live canvas { max-width: 100%; max-height: 420px; align-self: flex-start; border-radius: 8px; box-shadow: 0 1px 4px rgb(0 0 0 / .18); background: repeating-conic-gradient(#eee 0 25%, #fff 0 50%) 0 0 / 16px 16px; }
.pa-shown { max-width: 100%; max-height: 360px; align-self: flex-start; border-radius: 8px; background: #fff; box-shadow: 0 1px 4px rgb(0 0 0 / .18); }
.pa-shown-audio { width: min(420px, 100%); }
.pa-player { display: flex; flex-direction: column; gap: 10px; }
.pa-player video { width: 100%; max-height: 420px; border-radius: 10px; background: #000; }
.pa-crop-wrap { display: flex; flex-direction: column; gap: 8px; align-items: flex-start; }
.pa-crop { position: relative; display: inline-block; max-width: 100%; line-height: 0; user-select: none; touch-action: none; }
.pa-crop img { max-width: 100%; max-height: 480px; border-radius: 6px; }
.pa-crop-box { position: absolute; box-shadow: 0 0 0 9999px rgb(10 14 30 / .55); outline: 2px solid #fff; cursor: move; }
.pa-crop { overflow: hidden; border-radius: 6px; }
.pa-crop-box i { position: absolute; width: 16px; height: 16px; background: #fff; border: 2px solid var(--accent); border-radius: 4px; }
.pa-crop-box i[data-h=nw] { left: -8px; top: -8px; cursor: nwse-resize; } .pa-crop-box i[data-h=se] { right: -8px; bottom: -8px; cursor: nwse-resize; }
.pa-crop-box i[data-h=ne] { right: -8px; top: -8px; cursor: nesw-resize; } .pa-crop-box i[data-h=sw] { left: -8px; bottom: -8px; cursor: nesw-resize; }

/* Business: the form beside the paper, and the calculators. */
.bz-doc { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr); gap: 20px; align-items: start; }
.bz-form { display: flex; flex-direction: column; gap: 12px; }
.bz-side { position: sticky; top: 12px; display: flex; flex-direction: column; gap: 12px; }
.bz-field { display: flex; flex-direction: column; gap: 4px; font-size: 12.5px; font-weight: 600; color: var(--ink-2); }
.bz-field .pa-in { width: 100%; font-weight: 400; }
.bz-field textarea.pa-in, .bz-lines textarea.pa-in { height: auto; padding: 8px 10px; resize: vertical; min-height: 36px; }
.bz-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 10px 12px; }
.bz-logo-row { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; }
.bz-logo-row img { max-height: 40px; max-width: 140px; }
.bz-lines { display: grid; grid-template-columns: minmax(0, 1fr) 64px 100px 30px; gap: 6px 8px; align-items: start; }
.bz-lines.bz-noprice { grid-template-columns: minmax(0, 1fr) 64px 30px; }
.bz-lines > span { font-size: 12px; font-weight: 600; color: var(--ink-3); }
.bz-lines .pa-icon { margin-top: 3px; }
.bz-paper { background: #fff; color: #222631; border-radius: 6px; box-shadow: 0 2px 14px -4px rgb(20 25 50 / .25); padding: 28px; font-size: 11.5px; line-height: 1.45; min-height: 520px; display: flex; flex-direction: column; gap: 16px; }
.bz-paper p { margin: 0; color: #5d6371; }
.bz-hint { color: #b3b8c4; font-style: normal; }
.bz-top { display: flex; justify-content: space-between; gap: 16px; }
.bz-logo { max-height: 48px; max-width: 160px; object-fit: contain; }
.bz-meta { text-align: right; }
.bz-meta h3 { margin: 0 0 6px; font: 800 20px var(--display); color: var(--accent); text-transform: uppercase; letter-spacing: .02em; }
.bz-meta dl { display: grid; grid-template-columns: auto auto; gap: 1px 12px; margin: 0; justify-content: end; }
.bz-meta dt { color: #8a8f9c; } .bz-meta dd { margin: 0; font-weight: 700; }
.bz-parties { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.bz-parties strong { display: block; font-size: 12.5px; }
.bz-label { display: block; font-size: 9.5px; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; color: #8a8f9c; margin-bottom: 2px; }
.bz-items { width: 100%; border-collapse: collapse; }
.bz-items th { background: #f2f4f8; color: #6b7180; font-size: 10.5px; text-align: right; padding: 6px 8px; }
.bz-items th:first-child, .bz-items td:first-child { text-align: left; }
.bz-items td { padding: 7px 8px; border-bottom: 1px solid #e3e6ec; text-align: right; vertical-align: top; }
.bz-totals { display: grid; grid-template-columns: auto auto; gap: 3px 22px; margin: 0 0 0 auto; }
.bz-totals dt { color: #6b7180; } .bz-totals dd { margin: 0; text-align: right; }
.bz-totals .bz-total { font-weight: 800; font-size: 14px; color: #222631; border-top: 1.5px solid #222631; padding-top: 4px; }
.bz-sign { display: flex; gap: 40px; margin-top: auto; padding-top: 34px; }
.bz-sign span { flex: 1; border-top: 1px solid #8a8f9c; padding-top: 4px; color: #8a8f9c; font-size: 10px; }
.bz-sign span:last-child { flex: .5; }
.bz-calc { display: flex; flex-direction: column; gap: 16px; }
.bz-answer { display: grid; grid-template-columns: auto 1fr; gap: 8px 24px; margin: 0; padding: 16px 18px; border-radius: 12px; background: var(--accent-soft); }
.bz-answer dt { color: var(--ink-2); } .bz-answer dd { margin: 0; font-weight: 600; }
.bz-answer .bz-big { font-size: 18px; font-weight: 800; color: var(--accent); }
.bz-answer dt.bz-big { font-size: 14px; font-weight: 700; color: var(--ink); align-self: center; }
.bz-hours { display: grid; grid-template-columns: 48px repeat(3, minmax(0, 1fr)) 60px; gap: 6px 10px; align-items: center; }
.bz-hours > span { font-size: 12px; font-weight: 600; color: var(--ink-3); }
.bz-hours .pa-in { width: 100%; }
.bz-day { font-weight: 700; color: var(--accent); text-align: right; }


/* QR: the code beside its boxes, and what a read code says. */
.qr-stage { display: flex; flex-direction: column; align-items: center; gap: 10px; padding: 22px; border-radius: 14px; background: var(--sunk); }
.qr-stage canvas { width: min(300px, 100%); height: auto; image-rendering: pixelated; border-radius: 6px; box-shadow: 0 2px 10px -4px rgb(20 25 50 / .3); }
.qr-stage svg { max-width: 100%; height: auto; background: #fff; }
.qr-stage .qr-blank { opacity: .14; }
.qr-stage p { text-align: center; word-break: break-all; }
.qr-stage p[data-warn="1"] { color: var(--rec); font-weight: 600; word-break: normal; }
.qr-read { display: grid; grid-template-columns: minmax(0, 220px) minmax(0, 1fr); gap: 18px; align-items: start; }
.qr-shot { width: 100%; border-radius: 10px; box-shadow: 0 1px 4px rgb(0 0 0 / .18); }
.qr-found { display: flex; flex-direction: column; gap: 12px; align-items: flex-start; }
.qr-hit { display: flex; flex-direction: column; gap: 8px; align-items: flex-start; width: 100%; padding: 14px 16px; border-radius: 12px; background: var(--sunk); }
.qr-text { margin: 0; white-space: pre-wrap; word-break: break-all; font: 13px/1.45 ui-monospace, Consolas, monospace; color: var(--ink); }
.qr-dl { display: grid; grid-template-columns: auto 1fr; gap: 4px 14px; margin: 0; } .qr-dl dt { color: var(--ink-2); } .qr-dl dd { margin: 0; font-weight: 700; }


/* Voice: the record button and its level, and the transcript. */
.vo-rec { display: flex; align-items: center; justify-content: center; gap: 14px; flex-wrap: wrap; }
.vo-big { padding: 34px 0; }
.vo-rec .pa-btn.vo-on { background: var(--rec); border-color: var(--rec); color: #fff; animation: vo-pulse 1.4s ease-in-out infinite; }
@keyframes vo-pulse { 50% { box-shadow: 0 0 0 8px oklch(0.577 0.245 27.3 / .18); } }
.vo-time { font: 700 18px var(--display); font-variant-numeric: tabular-nums; min-width: 56px; }
.vo-level { width: 140px; height: 8px; border-radius: 99px; background: var(--sunk); overflow: hidden; }
.vo-level i { display: block; height: 100%; width: 0; background: var(--ok); transition: width .08s; }
.vo-done { display: flex; flex-direction: column; gap: 12px; align-items: flex-start; }
.vo-done audio { width: min(480px, 100%); }
.pa-transcript { display: flex; flex-direction: column; gap: 8px; align-items: flex-start; }
.pa-transcript pre { margin: 0; width: 100%; max-height: 360px; overflow: auto; padding: 14px 16px; border-radius: 10px; background: var(--surface); border: 1px solid var(--rule); white-space: pre-wrap; font: 14px/1.6 var(--sans); color: var(--ink); }

@media (max-width: 720px) {
  .qr-read { grid-template-columns: 1fr; }
  .bz-doc { grid-template-columns: 1fr; }
  .bz-side { position: static; }
  .pa-hero { grid-template-columns: 1fr; }
  .pa-leo { flex-wrap: wrap; }
  .pa-leo .pa-btn { margin-left: 0; }
  .pa-pagetools { opacity: 1; }
}

/* The tool pages around the tool. */
.tl { padding-block: clamp(24px, 4vw, 44px) clamp(40px, 6vw, 72px); }
.tl-crumbs { display: flex; flex-wrap: wrap; gap: 6px; font-size: 14px; color: var(--ink-3); margin-bottom: 14px; }
.tl-crumbs a { color: var(--ink-2); text-decoration: none; } .tl-crumbs a:hover { color: var(--accent); }
.tl-head h1 { font-size: clamp(32px, 4.4vw, 50px); line-height: 1.05; font-weight: 700; letter-spacing: -.025em; }
.tl-head .lede { margin-top: 12px; }
.tl-trust { display: flex; flex-wrap: wrap; gap: 8px 20px; list-style: none; padding: 0; margin: 16px 0 0; color: var(--ink-2); font-size: 15px; }
.tl-trust li::before { content: "\2713"; color: var(--ok); font-weight: 700; margin-right: 8px; }
.tl-tool { margin-top: 26px; }
.tl-job { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px; margin-top: 26px; padding: 24px 26px; border-radius: 18px; background: var(--accent-soft); border: 1px solid var(--accent); }
.tl-job p { max-width: 62ch; color: var(--ink); font-size: 17px; }
.tl-tool .pa { max-width: none; }
.tl-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 28px; margin-top: 44px; }
.tl-grid h2, .tl-faq h2, .tl-more h2 { font-size: 22px; margin-bottom: 12px; }
.tl-grid ol, .tl-grid ul { margin: 0; padding-left: 20px; color: var(--ink-2); }
.tl-grid li { margin-bottom: 6px; }
.tl-leo { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 18px 28px; align-items: center; margin-top: 48px; padding: clamp(22px, 3vw, 34px); border-radius: 22px; background: var(--ink); color: #fff; }
.tl-leo h2 { font-size: clamp(22px, 2.6vw, 30px); color: #fff; }
.tl-leo p { color: #c9d0dc; margin-top: 8px; max-width: 62ch; }
.tl-leo .tl-actions { display: flex; flex-wrap: wrap; gap: 10px; }
.tl-leo .pill.ghost { background: transparent; border-color: #fff; color: #fff; }
.tl-faq { margin-top: 48px; max-width: 860px; }
.tl-faq details { border-top: 1px solid var(--rule); padding: 14px 0; }
.tl-faq details:last-child { border-bottom: 1px solid var(--rule); }
.tl-faq summary { cursor: pointer; font-weight: 600; font-size: 17px; }
.tl-faq details p { margin-top: 8px; color: var(--ink-2); }
.tl-more { margin-top: 48px; }
.tl-cards { display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: 12px; }
.tl-card { display: flex; flex-direction: column; gap: 4px; padding: 16px 18px; border: 1px solid var(--rule); border-radius: 14px; background: var(--surface); text-decoration: none; transition: border-color .15s, transform .15s; }
.tl-card:hover { border-color: var(--accent); transform: translateY(-1px); }
.tl-card strong { font-size: 16px; } .tl-card span { color: var(--ink-2); font-size: 14px; line-height: 1.45; }
.tl-cat { margin-top: 40px; }
.tl-cat h2 { font-size: 24px; display: flex; align-items: baseline; gap: 12px; margin-bottom: 14px; }
.tl-cat h2 a { font: 500 15px var(--font-sans); color: var(--accent); text-decoration: none; }
.tl-chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 18px; }
.tl-chips a { padding: 8px 14px; border-radius: 999px; background: var(--surface); border: 1px solid var(--rule); text-decoration: none; font-weight: 600; font-size: 15px; }
.tl-chips a[aria-current] { background: var(--accent-soft); border-color: var(--accent); color: var(--accent); }
@media (max-width: 720px) { .tl-leo { grid-template-columns: 1fr; } }
