/* PanPDF tools: the "All PDF tools" menu, the /tools list and every tool
   page. Loaded after /styles.css, whose tokens and header it builds on.
   Light only, like the rest of the site. */

:root {
  --ok: #1f7a4d;
  --ok-soft: #e8f5ee;
  /* format colours, used only on the small file marks */
  --f-pdf: #c2403a; --f-word: #2b579a; --f-excel: #1f7a4d; --f-ppt: #c4532b;
  --f-jpg: #b07a0c; --f-html: #7a4fc0; --f-md: #3b4655; --f-lock: #1c5fa8;
}
body.tools-site { min-height: 100vh; display: flex; flex-direction: column; }
body.tools-site main { flex: 1; }
button { font: inherit; color: inherit; }
[hidden] { display: none !important; }
.tools-site .top .wrap { gap: 22px; }
.tools-site .top nav a { white-space: nowrap; }

.menu-btn { white-space: nowrap; display: inline-flex; align-items: center; gap: 6px; height: 36px; padding-inline: 12px; border-radius: 8px; border: 1px solid transparent; background: none; cursor: pointer; font-weight: 600; font-size: 14px; letter-spacing: .03em; text-transform: uppercase; color: var(--ink); }
.menu-btn:hover, .menu-btn[aria-expanded="true"] { background: var(--wash); border-color: var(--rule); }
.menu-btn svg { width: 14px; height: 14px; transition: transform .15s; }
.menu-btn[aria-expanded="true"] svg { transform: rotate(180deg); }
/* The mega menu */
.mega { position: absolute; left: 0; right: 0; z-index: 30; padding-inline: 24px; }
.mega-card { max-width: 1072px; margin: 0 auto; background: var(--ground); border: 1px solid var(--rule); border-top: 0; border-radius: 0 0 16px 16px; box-shadow: 0 30px 60px -28px rgba(23, 32, 44, .32); display: grid; grid-template-columns: repeat(4, 1fr); gap: 30px 36px; padding: 30px 36px 34px; }
.mega h3 { font: 600 12px/1 var(--sans); letter-spacing: .08em; text-transform: uppercase; color: var(--ink-soft); margin-bottom: 10px; }
.mega ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 2px; }
.mega a { display: flex; align-items: center; gap: 10px; padding: 7px 8px; margin-inline: -8px; border-radius: 8px; color: var(--ink); text-decoration: none; font-weight: 500; font-size: 15px; }
.mega a:hover { background: var(--wash); }
.mega a .mark { width: 22px; height: 26px; }
.mega a .tag { margin-left: 2px; }
.tag { font: 500 10.5px/1 var(--mono); letter-spacing: .02em; padding: 3px 6px; border-radius: 999px; background: var(--rule); color: var(--ink-soft); margin-left: auto; white-space: nowrap; }
.tag.ed { background: var(--blue-soft); color: var(--blue-text); }

/* File mark: the brand's page with a folded corner and a format label */
.mark { flex: none; display: block; }

/* The tools page: /tools */
.home-hero { padding-block: 56px 28px; text-align: center; }
.home-hero h1 { font-size: clamp(32px, 4.4vw, 50px); line-height: 1.06; letter-spacing: -.03em; font-weight: 700; }
.home-hero h1 em { font-style: normal; color: var(--blue); }
.home-hero p { margin: 16px auto 0; max-width: 40em; color: var(--ink-soft); font-size: 18px; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; justify-content: center; margin-top: 28px; }
.chip { height: 36px; padding-inline: 16px; border-radius: 999px; border: 1px solid var(--rule); background: var(--ground); cursor: pointer; font-weight: 500; font-size: 14.5px; color: var(--ink-soft); }
.chip:hover { color: var(--ink); border-color: var(--blue-line); }
.chip[aria-pressed="true"] { background: var(--ink); border-color: var(--ink); color: #fff; }
.grid-band { background: var(--wash); border-top: 1px solid var(--rule); padding-block: 36px 72px; margin-top: 28px; }
.tool-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 14px; }
.card { display: grid; grid-template-columns: auto 1fr; gap: 6px 14px; align-content: start; padding: 18px; background: var(--ground); border: 1px solid var(--rule); border-radius: 12px; color: var(--ink); text-decoration: none; min-height: 132px; }
.card:hover { border-color: var(--blue-line); box-shadow: var(--shadow); color: var(--ink); }
.card .mark { grid-row: span 2; width: 34px; height: 40px; }
.card h2 { font-size: 16.5px; line-height: 1.3; letter-spacing: -.01em; display: flex; gap: 8px; align-items: center; flex-wrap: wrap; }
.card p { font-size: 14px; line-height: 1.5; color: var(--ink-soft); }
.card .tag { margin-left: 0; }

/* Tool landing */
.landing { padding-block: 64px 56px; text-align: center; }
.landing .mark { width: 44px; height: 52px; margin: 0 auto 18px; }
.landing h1 { font-size: clamp(32px, 4.6vw, 48px); line-height: 1.06; letter-spacing: -.03em; font-weight: 700; }
.landing .lede { margin: 14px auto 0; max-width: 34em; color: var(--ink-soft); font-size: 18px; line-height: 1.55; }
.drop { margin: 36px auto 0; max-width: 560px; padding: 34px 24px 26px; border: 2px dashed var(--blue-line); border-radius: 18px; background: var(--wash); transition: border-color .15s, background-color .15s; }
.drop.over { border-color: var(--blue); background: var(--blue-soft); }
.pick { display: inline-flex; align-items: center; justify-content: center; gap: 12px; height: 68px; padding-inline: 44px; border-radius: 14px; border: 0; background: var(--blue); color: #fff; font: 700 21px/1 var(--sans); letter-spacing: -.01em; cursor: pointer; box-shadow: 0 10px 24px -10px rgba(43, 127, 217, .6); max-width: 100%; }
.pick:hover { background: var(--blue-hover); }
.pick svg { width: 22px; height: 22px; flex: none; }
.drop .or { margin-top: 12px; font-size: 14.5px; color: var(--ink-soft); }
.local { margin-top: 18px; display: inline-flex; align-items: center; gap: 8px; font-size: 13.5px; color: var(--ok); background: var(--ok-soft); padding: 6px 12px; border-radius: 999px; }
.local svg { width: 15px; height: 15px; }

/* SEO text under every tool: how, and questions */
.about { border-top: 1px solid var(--rule); padding-block: 56px 72px; }
.about .wrap { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; }
.about h2 { font-size: 24px; letter-spacing: -.02em; margin-bottom: 18px; }
.steps { margin: 0; padding: 0; list-style: none; counter-reset: s; display: grid; gap: 14px; }
.steps li { counter-increment: s; display: grid; grid-template-columns: 30px 1fr; gap: 12px; color: var(--ink-soft); }
.steps li::before { content: counter(s); width: 28px; height: 28px; border-radius: 50%; background: var(--blue-soft); color: var(--blue-text); font: 600 14px/28px var(--mono); text-align: center; }
.steps b { color: var(--ink); font-weight: 600; }
.faq details { border-bottom: 1px solid var(--rule); padding-block: 12px; }
.faq details:first-of-type { border-top: 1px solid var(--rule); }
.faq summary { cursor: pointer; font-weight: 600; list-style: none; display: flex; justify-content: space-between; gap: 12px; }
.faq summary::after { content: "+"; font: 500 18px/1 var(--mono); color: var(--ink-soft); }
.faq details[open] summary::after { content: "−"; }
.faq p { margin-top: 8px; color: var(--ink-soft); font-size: 15px; }
.related { margin-top: 34px; }
.related h3 { font: 600 12px/1 var(--sans); letter-spacing: .08em; text-transform: uppercase; color: var(--ink-soft); margin-bottom: 12px; }
.related div { display: flex; flex-wrap: wrap; gap: 8px; }
.pill { display: inline-flex; align-items: center; gap: 8px; height: 36px; padding-inline: 10px 14px; border-radius: 999px; border: 1px solid var(--rule); text-decoration: none; color: var(--ink); font-size: 14px; font-weight: 500; background: var(--ground); }
.pill:hover { border-color: var(--blue-line); background: var(--wash); color: var(--ink); }
.pill .mark { width: 16px; height: 19px; }

/* Workspace: files on the left, settings on the right */
.work { display: grid; grid-template-columns: 1fr 380px; min-height: calc(100vh - 100px); }
.files { background: var(--wash); padding: 28px; position: relative; }
.files-head { display: flex; align-items: center; gap: 12px; margin-bottom: 20px; flex-wrap: wrap; }
.files-head h2 { font-size: 15px; font-weight: 600; color: var(--ink-soft); }
.files-head .hint { font-size: 13.5px; color: var(--ink-soft); }
.files-head .toast { order: 3; flex-basis: 100%; margin: 0; font-size: 14px; color: var(--del); overflow-wrap: anywhere; }
.add-files { margin-left: auto; position: relative; width: 48px; height: 48px; border-radius: 50%; border: 0; background: var(--blue); color: #fff; cursor: pointer; display: grid; place-items: center; box-shadow: 0 8px 18px -8px rgba(43, 127, 217, .7); }
.add-files:hover { background: var(--blue-hover); }
.add-files svg { width: 22px; height: 22px; }
.add-files .count { position: absolute; top: -5px; left: -5px; min-width: 22px; height: 22px; padding-inline: 5px; border-radius: 999px; background: var(--ink); color: #fff; font: 600 12px/22px var(--mono); border: 2px solid var(--wash); }
.thumbs { display: grid; grid-template-columns: repeat(auto-fill, minmax(168px, 1fr)); gap: 18px; }
.thumb { position: relative; background: var(--ground); border: 1px solid var(--rule); border-radius: 12px; padding: 14px 14px 12px; display: grid; gap: 10px; cursor: grab; }
.thumb:hover { border-color: var(--blue-line); box-shadow: var(--shadow); }
.thumb.dragging { opacity: .45; }
.thumb .sheet { aspect-ratio: 210 / 297; max-width: 100%; border: 1px solid var(--rule); border-radius: 3px; background: #fff; overflow: hidden; display: grid; place-items: center; position: relative; }
.thumb .sheet.land { aspect-ratio: 297 / 210; }
.thumb .sheet img { width: 100%; height: 100%; object-fit: contain; }
.thumb .lines { position: absolute; inset: 12% 14%; display: grid; align-content: start; gap: 5px; }
.thumb .lines i { display: block; height: 4px; border-radius: 2px; background: var(--rule); }
.thumb .lines i.h { height: 7px; width: 60%; background: #d5dbe3; margin-bottom: 4px; }
.thumb .sheet .mark { position: absolute; right: 8px; bottom: 8px; width: 20px; height: 24px; }
.thumb .name { font-size: 13px; font-weight: 500; line-height: 1.35; word-break: break-word; text-align: center; }
.thumb .meta { font: 400 11.5px/1 var(--mono); color: var(--ink-soft); text-align: center; }
.thumb .x { position: absolute; z-index: 2; top: 6px; right: 6px; width: 28px; height: 28px; border-radius: 50%; border: 1px solid var(--rule); background: var(--ground); cursor: pointer; display: grid; place-items: center; opacity: 0; transition: opacity .15s; color: var(--ink-soft); }
.thumb:hover .x, .thumb:focus-within .x { opacity: 1; }
.thumb .x:hover { color: var(--del); border-color: var(--del); }
.thumb .x svg { width: 14px; height: 14px; }
.thumb .order { position: absolute; z-index: 2; top: 8px; left: 8px; font: 600 11px/1 var(--mono); background: var(--ink); color: #fff; border-radius: 999px; padding: 4px 7px; }

.side { border-left: 1px solid var(--rule); display: flex; flex-direction: column; background: var(--ground); }
.side-head { padding: 18px 24px; border-bottom: 1px solid var(--rule); text-align: center; }
.side-head h2 { font-size: 21px; letter-spacing: -.015em; }
.opts { flex: 1; overflow-y: auto; padding-bottom: 12px; }
.group { padding: 18px 24px 4px; }
.group > label, .group > .glabel { display: block; font: 600 12px/1 var(--sans); letter-spacing: .08em; text-transform: uppercase; color: var(--ink-soft); margin-bottom: 10px; }
.choices { display: grid; gap: 8px; }
.choice { position: relative; display: grid; grid-template-columns: 1fr auto; gap: 2px 12px; align-items: center; text-align: left; padding: 13px 14px; border: 1px solid var(--rule); border-radius: 10px; background: var(--ground); cursor: pointer; }
.choice:hover { border-color: var(--blue-line); }
.choice[aria-checked="true"] { border-color: var(--blue); background: var(--blue-soft); }
.choice b { font-weight: 600; font-size: 15.5px; display: flex; gap: 8px; align-items: center; flex-wrap: wrap; }
.choice[aria-checked="true"] b { color: var(--blue-text); }
.choice span.d { grid-column: 1; font-size: 13.5px; line-height: 1.45; color: var(--ink-soft); }
.choice .tick { grid-row: 1 / span 2; grid-column: 2; width: 22px; height: 22px; border-radius: 50%; border: 1.5px solid var(--rule); display: grid; place-items: center; }
.choice[aria-checked="true"] .tick { background: var(--blue); border-color: var(--blue); color: #fff; }
.choice .tick svg { width: 13px; height: 13px; opacity: 0; }
.choice[aria-checked="true"] .tick svg { opacity: 1; }
.choice[aria-disabled="true"] { cursor: not-allowed; background: #fafbfc; }
.choice[aria-disabled="true"] b, .choice[aria-disabled="true"] span.d { opacity: .6; }
.choice .tag { margin-left: 0; }
.seg { display: grid; grid-auto-flow: column; grid-auto-columns: 1fr; border: 1px solid var(--rule); border-radius: 10px; padding: 3px; background: var(--wash); gap: 3px; }
.seg button { height: 36px; border: 0; border-radius: 7px; background: none; cursor: pointer; font-weight: 500; font-size: 14px; color: var(--ink-soft); }
.seg button[aria-pressed="true"] { background: var(--ground); color: var(--ink); box-shadow: 0 1px 2px rgba(23, 32, 44, .12); font-weight: 600; }
.field { display: grid; gap: 6px; margin-bottom: 10px; }
.field input, .field select { height: 44px; border: 1px solid var(--rule); border-radius: 10px; padding-inline: 12px; font: 400 15px var(--sans); color: var(--ink); background: var(--ground); width: 100%; }
.field input:focus, .field select:focus { outline: 2px solid var(--blue-line); border-color: var(--blue); }
.field small { color: var(--ink-soft); font-size: 12.5px; }
.toggle { display: flex; align-items: center; justify-content: space-between; gap: 14px; padding: 10px 0; cursor: pointer; }
.toggle span { font-size: 15px; }
.toggle span small { display: block; font-size: 13px; color: var(--ink-soft); }
.switch { flex: none; width: 42px; height: 24px; border-radius: 999px; background: #d5dbe3; position: relative; border: 0; cursor: pointer; transition: background-color .15s; }
.switch::after { content: ""; position: absolute; top: 3px; left: 3px; width: 18px; height: 18px; border-radius: 50%; background: #fff; box-shadow: 0 1px 2px rgba(0,0,0,.2); transition: transform .15s; }
.switch[aria-checked="true"] { background: var(--blue); }
.switch[aria-checked="true"]::after { transform: translateX(18px); }
.note { margin: 14px 24px 0; font-size: 13px; line-height: 1.5; color: var(--ink-soft); padding: 10px 12px; border-radius: 10px; background: var(--wash); border: 1px solid var(--rule); }
.side-foot { padding: 18px 24px calc(20px + env(safe-area-inset-bottom, 0px)); border-top: 1px solid var(--rule); display: grid; gap: 8px; }
.go { display: flex; align-items: center; justify-content: center; gap: 12px; height: 60px; border-radius: 12px; border: 0; background: var(--blue); color: #fff; font: 700 19px/1 var(--sans); cursor: pointer; box-shadow: 0 10px 24px -10px rgba(43, 127, 217, .6); }
.go:hover { background: var(--blue-hover); }
.go:disabled { background: #b8cde6; box-shadow: none; cursor: not-allowed; }
.go svg { width: 22px; height: 22px; }
.side-foot small { text-align: center; color: var(--ink-soft); font-size: 12.5px; }

/* Running and done */
.state { padding-block: 72px 88px; text-align: center; }
.state h1 { font-size: clamp(28px, 3.8vw, 40px); letter-spacing: -.025em; line-height: 1.1; }
.state .lede { margin: 12px auto 0; color: var(--ink-soft); font-size: 17px; max-width: 34em; }
.bar { margin: 32px auto 0; max-width: 520px; height: 10px; border-radius: 999px; background: var(--blue-soft); overflow: hidden; }
.bar i { display: block; height: 100%; width: 0; background: var(--blue); border-radius: inherit; transition: width .2s linear; }
.progress-text { margin-top: 12px; font: 500 14px/1.4 var(--mono); color: var(--ink-soft); }
.linkish { margin-top: 22px; background: none; border: 0; color: var(--ink-soft); text-decoration: underline; text-underline-offset: 3px; cursor: pointer; font-size: 14.5px; }
.linkish:hover { color: var(--del); }
.done-file { margin: 30px auto 0; max-width: 520px; display: flex; align-items: center; gap: 14px; padding: 16px 18px; border: 1px solid var(--rule); border-radius: 14px; text-align: left; box-shadow: var(--shadow); }
.done-file .mark { width: 34px; height: 40px; }
.done-file div { flex: 1; min-width: 0; }
.done-file b { display: block; font-weight: 600; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.done-file span { font: 400 13px/1.4 var(--mono); color: var(--ink-soft); }
.done-actions { margin-top: 22px; display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; }
.btn { display: inline-flex; align-items: center; gap: 10px; height: 48px; padding-inline: 22px; border-radius: 10px; font: 600 16px/1 var(--sans); text-decoration: none; border: 1px solid transparent; cursor: pointer; }
.btn svg { width: 18px; height: 18px; flex: none; }
.btn-solid { background: var(--blue); color: #fff; height: 60px; padding-inline: 34px; font-size: 19px; border-radius: 12px; }
.btn-solid:hover { background: var(--blue-hover); color: #fff; }
.btn-line { background: var(--ground); color: var(--ink); border-color: var(--rule); }
.btn-line:hover { border-color: var(--blue-line); background: var(--wash); color: var(--ink); }
.toast { margin: 14px auto 0; max-width: 520px; font-size: 13.5px; color: var(--ink-soft); }
.continue { margin: 48px auto 0; max-width: 720px; }
.continue h3 { font: 600 12px/1 var(--sans); letter-spacing: .08em; text-transform: uppercase; color: var(--ink-soft); margin-bottom: 12px; }
.continue div { display: flex; flex-wrap: wrap; gap: 8px; justify-content: center; }

footer { border-top: 1px solid var(--rule); padding-block: 28px 36px; font-size: 14px; color: var(--ink-soft); }
footer .wrap { display: flex; flex-wrap: wrap; gap: 12px 32px; align-items: center; }
footer .brand { font-size: 16px; }
footer nav { display: flex; flex-wrap: wrap; gap: 8px 24px; margin-left: auto; }
footer a { color: var(--ink-soft); text-decoration: none; }
footer a:hover { color: var(--ink); }

/* No hover on a touch screen: the remove button is always shown there. */
@media (hover: none) {
  .thumb .x { opacity: 1; }
}
@media (max-width: 1100px) {
  .mega-card { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 980px) {
  .mega-card { grid-template-columns: repeat(2, 1fr); padding: 26px 28px 30px; }
  .work { grid-template-columns: 1fr; }
  .side { border-left: 0; border-top: 1px solid var(--rule); }
  .side-foot { position: sticky; bottom: 0; background: var(--ground); }
  .about .wrap { grid-template-columns: 1fr; gap: 40px; }
}
/* The menu button makes the header wider than the home page's: the
   secondary links go before a tablet's width, not only a phone's. */
@media (max-width: 860px) {
  .tools-site .top nav a:not(.keep), .tools-site .top .version { display: none; }
}
@media (max-width: 560px) {
  .wrap { padding-inline: 16px; }
  .top .wrap { gap: 10px; }
  .top nav a:not(.keep), .top .version, .menu-btn .long { display: none; }
  .mega { padding-inline: 0; }
  .mega-card { grid-template-columns: 1fr; gap: 22px; border-radius: 0; border-inline: 0; padding: 22px 16px 26px; }
  .files { padding: 20px 16px; }
  .thumbs { grid-template-columns: repeat(2, 1fr); gap: 12px; }
  .pick { height: 60px; padding-inline: 24px; font-size: 18px; width: 100%; }
  .drop { padding: 22px 16px 20px; }
  .landing { padding-block: 40px 40px; }
  .btn-solid { width: 100%; justify-content: center; }
}
@media (max-width: 420px) {
  .tools-site .top nav { gap: 12px; }
  .tools-site .top .icon-link { display: none; }
}
/* What the mock did not need: the moving bar while a one-call tool works,
   a failure, the password asked for, the signature pad */
.bar.busy i { width: 35% !important; animation: slide 1.1s ease-in-out infinite alternate; }
@keyframes slide { from { transform: translateX(-20%); } to { transform: translateX(210%); } }
.failed { margin: 26px auto 0; max-width: 560px; padding: 14px 16px; border: 1px solid #f2c6cd; border-radius: 12px; background: var(--del-soft); color: var(--del); text-align: left; font-size: 15px; overflow-wrap: anywhere; }
.failed b { display: block; color: #8a2433; margin-bottom: 2px; }
.failed p { margin: 0; }
.failed p + p { margin-top: 6px; }
/* The tool's own words, kept for a bug report (messages.js) */
.why { margin: 10px auto 0; max-width: 560px; font-size: 13px; color: var(--ink-soft); text-align: left; }
.why summary { cursor: pointer; width: max-content; }
.why pre { margin: 6px 0 0; padding: 10px 12px; border: 1px solid var(--rule); border-radius: 8px; background: var(--wash); font: 12px/1.45 var(--mono); white-space: pre-wrap; overflow-wrap: anywhere; }
/* Notes worth reading without opening "What the tool did" */
.heads { margin: 18px auto 0; max-width: 560px; padding: 12px 16px; border: 1px solid var(--rule); border-radius: 12px; background: var(--wash); text-align: left; font-size: 14.5px; overflow-wrap: anywhere; }
.heads b { display: block; margin-bottom: 4px; }
.heads ul { margin: 0; padding-left: 20px; }
.ask { margin: 26px auto 0; max-width: 420px; text-align: left; }
.ask .field { margin: 0; }
.ask .row { display: flex; gap: 8px; margin-top: 8px; }
.ask .row input { flex: 1; min-width: 0; }
.ask .row .btn { height: 44px; }
.notes { margin: 14px auto 0; max-width: 560px; font-size: 13.5px; color: var(--ink-soft); text-align: left; overflow-wrap: anywhere; }
.notes summary { cursor: pointer; text-align: center; }
.notes ul { margin: 8px 0 0; padding-left: 20px; }
.pad { display: grid; gap: 6px; }
.pad canvas { width: 100%; height: 150px; border: 1px dashed var(--blue-line); border-radius: 10px; background: #fff; touch-action: none; cursor: crosshair; }
.pad .row { display: flex; justify-content: space-between; align-items: center; font-size: 12.5px; color: var(--ink-soft); }
.pad button { background: none; border: 0; color: var(--blue); cursor: pointer; font-size: 13px; padding: 0; }
.picked { display: flex; align-items: center; gap: 10px; font-size: 14px; }
.picked img { max-width: 120px; max-height: 50px; border: 1px solid var(--rule); border-radius: 6px; background: #fff; }
.small-btn { height: 40px; padding-inline: 14px; border-radius: 10px; border: 1px solid var(--rule); background: var(--ground); cursor: pointer; font-weight: 500; font-size: 14px; }
.small-btn:hover { border-color: var(--blue-line); background: var(--wash); }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition: none !important; }
}

/* The last result, kept an hour in this browser (tools.js, "work kept"). */
.last-result { position: relative; display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 10px 14px; margin: 26px auto 0; max-width: 560px;
  padding: 12px 52px 12px 18px; border: 1px solid var(--rule); border-radius: 14px; background: var(--ground); font-size: 15px; text-align: left; }
.last-result .what { flex: 1 1 220px; min-width: 0; overflow-wrap: anywhere; }
.last-result .what .num { color: var(--ink-soft); font-size: 13.5px; }
.last-result .btn { height: 42px; padding-inline: 16px; font-size: 15px; }
.last-result .x { position: absolute; top: 8px; right: 8px; width: 34px; height: 34px; display: grid; place-items: center; border: 0; border-radius: 8px; background: none; color: var(--ink-soft); cursor: pointer; }
.last-result .x:hover { background: var(--wash); color: var(--ink); }
.last-result .x svg { width: 16px; height: 16px; }
