/* Search strip with Tron-style bots (homepage) and search pages /s/… (assets/lp-search.js). */
.lp-head > .lps-search { margin: 16px 0 0; }
.lps-search { display: block; position: relative; overflow: hidden; border-radius: 16px; border: 1px solid rgba(255,42,60,.55); color: #f5f5f7; background:
  linear-gradient(rgba(255,42,60,.09) 1px, transparent 1px) 0 0/26px 26px,
  linear-gradient(90deg, rgba(255,42,60,.09) 1px, transparent 1px) 0 0/26px 26px,
  radial-gradient(120% 140% at 50% 0%, #161a22, #07080b 70%);
  box-shadow: 0 0 0 1px rgba(255,42,60,.12), 0 0 24px -6px rgba(255,42,60,.45), inset 0 0 30px -12px rgba(255,42,60,.5); }
.lps-search::before { content: ""; position: absolute; left: -40%; top: 0; width: 40%; height: 1px; background: linear-gradient(90deg, transparent, #ff2a3c, transparent); box-shadow: 0 0 8px #ff2a3c; animation: lps-scan 5s linear infinite; pointer-events: none; }
@keyframes lps-scan { to { left: 100%; } }
.lps-sbox { position: relative; padding: 18px 22px 36px; text-align: center; }
.lps-swrap { position: relative; max-width: 600px; margin: 0 auto; }
.lps-sform { display: flex; align-items: center; gap: 8px; margin: 0; padding: 4px 4px 4px 16px; border: 1px solid rgba(255,42,60,.7); border-radius: 999px; background: rgba(7,8,11,.85); box-shadow: 0 0 14px -4px rgba(255,42,60,.7), inset 0 0 10px -6px rgba(255,42,60,.8); transition: box-shadow .2s, border-color .2s; }
.lps-sform:focus-within { border-color: #ff4a5c; box-shadow: 0 0 20px -2px rgba(255,42,60,.9), inset 0 0 12px -6px rgba(255,42,60,.9); }
.lps-sform svg { flex: none; color: #ff4a5c; }
.lps-sform input { flex: 1; min-width: 0; border: 0; outline: 0; font-size: 16px; padding: 9px 0; background: none; color: #fff; letter-spacing: .01em; }
.lps-sform input::placeholder { color: #8e8e93; }
.lps-sform button { flex: none; border: 0; border-radius: 999px; background: #ff2a3c; color: #fff; font-weight: 650; font-size: 15px; padding: 9px 18px; cursor: pointer; box-shadow: 0 0 12px rgba(255,42,60,.6); }
.lps-samples { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 6px; margin-top: 12px; }
.lps-sl { font: 600 11px ui-monospace, Menlo, monospace; letter-spacing: .1em; text-transform: uppercase; color: #8e8e93; margin-right: 4px; }
.lps-chip { display: inline-flex; align-items: center; gap: 6px; padding: 5px 11px 5px 9px; border-radius: 999px; background: rgba(255,255,255,.04); border: 1px solid rgba(255,255,255,.16); font-size: 14px; font-weight: 600; color: #f5f5f7; text-decoration: none; transition: border-color .2s, box-shadow .2s; }
.lps-chip:hover { border-color: #ff2a3c; box-shadow: 0 0 10px -2px rgba(255,42,60,.7); }
.lps-chip i { width: 7px; height: 7px; border-radius: 50%; background: #ff2a3c; box-shadow: 0 0 6px #ff2a3c; }
.lps-chip img { width: 14px; height: 10px; border-radius: 2px; }
.lps-chip em { display: none; }
.lps-track { position: absolute; left: 0; right: 0; bottom: 0; height: 22px; }
.lps-track::after { content: ""; position: absolute; left: 0; right: 0; bottom: 3px; height: 1px; background: linear-gradient(90deg, transparent, rgba(255,42,60,.9) 15%, rgba(255,42,60,.9) 85%, transparent); box-shadow: 0 0 6px #ff2a3c; }
.lps-bot { position: absolute; width: 30px; height: 18px; z-index: 1; filter: drop-shadow(0 0 3px rgba(255,42,60,.9)); }
.lps-bot svg { display: block; overflow: visible; }
.lps-bot.walk { bottom: 3px; animation: lps-walk var(--d) ease-in-out infinite alternate; }
.lps-bot.walk svg { animation: lps-flip calc(var(--d) * 2) steps(1) infinite; animation-delay: inherit; }
.lps-bot.walk::before { content: ""; position: absolute; right: 100%; bottom: 2px; width: 34px; height: 2px; border-radius: 2px; background: linear-gradient(90deg, transparent, rgba(255,42,60,.8)); animation: lps-trail calc(var(--d) * 2) steps(1) infinite; animation-delay: inherit; }
.lps-visor { animation: lps-blink 2.4s ease-in-out infinite; }
.lps-spark { animation: lps-blink .3s steps(2) infinite; }
@keyframes lps-walk { from { left: var(--a); } to { left: var(--b); } }
@keyframes lps-flip { 0% { transform: scaleX(1); } 50% { transform: scaleX(-1); } }
@keyframes lps-trail { 0% { right: 100%; left: auto; transform: none; } 50% { right: auto; left: 100%; transform: scaleX(-1); } }
@keyframes lps-blink { 50% { opacity: .35; } }
@media (max-width: 560px) { .lps-sbox { padding: 14px 12px 32px; } .lps-sform { padding-left: 12px; } .lps-sform button { padding: 8px 14px; } .lps-chip { font-size: 13px; } .lps-sl { width: 100%; margin: 0 0 2px; } .ph-hide { display: none; } }
@media (prefers-reduced-motion: reduce) { .lps-search *, .lps-search::before { animation: none !important; } }
.lps-swrap .lp-sug-wrap { flex: 1; min-width: 0; display: flex; }
.lps-swrap .lp-sug { text-align: left; }
/* search pages */
html.lp-subj .wrap > section, html.lp-subj .wrap > .tm-tabs { display: none !important; }
.wrap > .lps-page { grid-column: 1 / -1; grid-row: 2; min-width: 0; display: grid; gap: var(--lp-gap, 28px); margin-top: var(--lp-gap, 28px); }
.lps-page[hidden] { display: none; }
.lps-card { --cat: #b0000e; border: 1px solid #ebebeb; border-radius: 18px; background: #fff; padding: 22px; min-width: 0; }
.lps-card h2 { margin: 0 0 4px; font-size: 22px; font-weight: 750; letter-spacing: -.01em; }
.lps-card > p.lps-sub { margin: 0 0 16px; color: #6e6e73; font-size: 16px; line-height: 1.45; }
.lps-prof { display: flex; gap: 20px; align-items: center; }
.lps-av { flex: none; width: 96px; height: 96px; border-radius: 50%; object-fit: cover; object-position: top; background: #f5f5f7; box-shadow: 0 0 0 3px #fff, 0 0 0 5px var(--cat); }
.lps-av.flag { border-radius: 14px; object-fit: cover; width: 120px; height: 84px; }
.lps-who { min-width: 0; }
.lps-who h1 { margin: 6px 0 4px; font-size: clamp(28px, 4vw, 38px); font-weight: 800; letter-spacing: -.02em; line-height: 1.1; }
.lps-who p { margin: 0; font-size: 16px; line-height: 1.45; color: #48484a; }
.lps-tags { display: flex; flex-wrap: wrap; gap: 6px; }
.lps-tag { padding: 4px 10px; border-radius: 999px; background: color-mix(in srgb, var(--cat) 10%, #fff); color: var(--cat); font-size: 13px; font-weight: 650; }
.lps-tag.free { background: #e8f6ee; color: #0a6b34; }
.lps-stats { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; margin-top: 20px; }
.lps-stat { padding: 14px 16px; border-radius: 14px; background: #f5f5f7; min-width: 0; }
.lps-stat b { display: block; font-size: 26px; font-weight: 750; letter-spacing: -.01em; overflow-wrap: anywhere; }
.lps-stat b.txt { font-size: 18px; line-height: 1.3; }
.lps-stat span { display: block; margin-top: 4px; font-size: 14px; color: #6e6e73; line-height: 1.35; }
.lps-stat em { font-style: normal; font-size: 14px; font-weight: 650; }
.lps-stat em.up { color: #1e7e34; } .lps-stat em.down { color: #d70015; }
.lps-vs { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-top: 18px; }
.lps-vs > div { padding: 16px; border-radius: 14px; background: #f5f5f7; text-align: center; min-width: 0; }
.lps-vs img { width: 88px; height: 88px; border-radius: 50%; object-fit: cover; object-position: top; }
.lps-vs h3 { margin: 8px 0 10px; font-size: 18px; }
.lps-vs b { display: block; font-size: 24px; }
.lps-vs span { display: block; font-size: 14px; color: #6e6e73; margin-bottom: 8px; }
.lps-acts { display: flex; flex-wrap: wrap; gap: 8px; margin: 4px 0 16px; }
.lps-acts button, .lps-acts a { border: 1px solid #ff2a3c; border-radius: 999px; background: #6e0009; color: #ffd9dd; padding: 10px 16px; font: 650 15px/1 Inter, system-ui, sans-serif; cursor: pointer; text-decoration: none; box-shadow: 0 0 12px -4px rgba(255,42,60,.8); }
.lps-acts button:hover, .lps-acts a:hover { background: #8a000c; color: #fff; }
.lps-acts .ghost { background: #fff; color: #b0000e; border-color: #e2a3a8; box-shadow: none; }
.lps-frame { display: block; width: 100%; height: 600px; border: 0; border-radius: 14px; background: #fff; }
.lps-wait { padding: 34px 20px 70px; text-align: center; color: #6e6e73; font-size: 16px; }
.lps-err { color: #d70015; font-size: 16px; }
.lps-buy p { margin: 0 0 14px; font-size: 16px; line-height: 1.5; color: #3a3a3c; }
.lps-buy form { display: flex; gap: 8px; max-width: 460px; }
.lps-buy input { flex: 1; min-width: 0; padding: 10px 14px; border: 1.5px solid #d2d2d7; border-radius: 999px; font-size: 16px; }
@media (max-width: 760px) { .lps-prof { flex-direction: column; text-align: center; } .lps-tags { justify-content: center; } .lps-stats { grid-template-columns: repeat(2, minmax(0, 1fr)); } .lps-card { padding: 16px; } .lps-stat b { font-size: 22px; } }
@media (max-width: 420px) { .lps-vs { grid-template-columns: 1fr; } }
.lps-vh { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.lps-buy form button { border: 0; border-radius: 999px; background: #b0000e; color: #fff; padding: 10px 18px; font-weight: 650; font-size: 15px; cursor: pointer; }
.lps-card.lps-search { padding: 0; position: relative; overflow: hidden; min-height: 150px; }
.lps-vs em { display: block; margin: -4px 0 10px; font-style: normal; font-size: 14px; font-weight: 650; } .lps-vs em.up { color: #1e7e34; } .lps-vs em.down { color: #d70015; }
/* Trending politicians side tab (assets/politics-widget.js) */
.lp-polp { width: min(320px, calc(100vw - 56px)); }
.lp-pol-body { padding: 4px 12px 12px; }
.lp-pol-sw { display: flex; align-items: center; justify-content: space-between; gap: 8px; margin: 2px 0 6px; }
.lp-pol-sw b { display: inline-flex; align-items: center; gap: 7px; color: #fff; font-size: 14px; font-weight: 650; }
.lp-pol-sw img { border-radius: 2px; box-shadow: 0 0 0 1px rgba(255,255,255,.18); }
.lp-pol-sw button { width: 30px; height: 30px; border: 1px solid #ff2a3c; border-radius: 8px; background: #6e0009; color: #ffd9dd; font-size: 18px; line-height: 1; cursor: pointer; box-shadow: 0 0 10px -4px rgba(255,42,60,.8); }
.lp-pol-list { list-style: none; margin: 0; padding: 0; }
.lp-pol-list a { display: grid; grid-template-columns: 18px minmax(0, 1fr) auto; align-items: center; gap: 10px; padding: 8px 0; border-bottom: 1px solid rgba(255,42,60,.22); color: #fff; text-decoration: none; }
.lp-pol-list a:hover b { color: #ffb3ba; }
.lp-pol-list em { font-style: normal; font-weight: 700; color: #ff6a78; font-size: 14px; }
.lp-pol-list b { display: block; font-size: 14px; font-weight: 650; line-height: 1.3; }
.lp-pol-list small { display: block; font-size: 12px; color: rgba(255,190,195,.85); line-height: 1.3; }
.lp-pol-list i { font-style: normal; font-size: 12px; color: rgba(255,190,195,.85); }
.lp-pol-note { margin: 8px 0 0; font-size: 11px; line-height: 1.4; color: rgba(255,190,195,.75); }
/* loading bar */
.lps-card.lps-load { padding: 0; border-color: rgba(255,42,60,.55); background: linear-gradient(rgba(255,42,60,.09) 1px, transparent 1px) 0 0/26px 26px, linear-gradient(90deg, rgba(255,42,60,.09) 1px, transparent 1px) 0 0/26px 26px, radial-gradient(120% 140% at 50% 0%, #161a22, #07080b 70%); }
.lps-load .lps-wait { padding: 30px 20px 48px; color: #aeaeb2; }
.lps-load .lps-wait b { display: block; color: #fff; font-size: 18px; margin-bottom: 14px; }
.lps-bar { max-width: 420px; height: 12px; margin: 0 auto 14px; border-radius: 999px; background: rgba(255,255,255,.06); border: 1px solid rgba(255,42,60,.5); padding: 2px; }
.lps-bar i { display: block; width: 0; height: 100%; border-radius: 999px; background: linear-gradient(90deg, #b0000e, #ff2a3c); box-shadow: 0 0 10px rgba(255,42,60,.6); transition: width .2s linear; }
.lps-steps { list-style: none; margin: 0; padding: 0; display: grid; gap: 4px; font-size: 15px; color: #aeaeb2; }
.lps-steps li.now { color: #ff4a5c; font-weight: 650; }
.lps-steps li.done { color: #34c759; }
.lps-steps li.done::before { content: "✓ "; }
/* free page */
.lps-stats.three { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.lps-card h3 { margin: 0 0 4px; font-size: 18px; font-weight: 700; }
.lps-two { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; }
.lps-bars { list-style: none; margin: 10px 0 0; padding: 0; display: grid; gap: 10px; }
.lps-bars li { display: grid; grid-template-columns: auto 110px minmax(0, 1fr) 44px; align-items: center; gap: 8px; font-size: 15px; }
.lps-bars li:not(:has(img)) { grid-template-columns: 110px minmax(0, 1fr) 44px; }
.lps-bars img { border-radius: 2px; }
.lps-bars span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.lps-bars i { height: 12px; border-radius: 999px; background: #f5f5f7; overflow: hidden; }
.lps-bars i b { display: block; height: 100%; width: 0; border-radius: 999px; background: linear-gradient(90deg, #b0000e, #ff4a5c); transition: width .9s cubic-bezier(.2,.8,.2,1); }
.lps-in .lps-bars i b { width: var(--w); }
.lps-bars em { font-style: normal; font-weight: 700; text-align: right; }
.lps-cols { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 6px; align-items: end; height: 190px; margin-top: 8px; }
.lps-cols button { all: unset; cursor: pointer; display: flex; flex-direction: column; justify-content: flex-end; align-items: center; height: 100%; gap: 6px; min-width: 0; }
.lps-cols button i { display: block; width: 100%; height: 0; border-radius: 8px 8px 3px 3px; background: #f2c9cd; transition: height .8s cubic-bezier(.2,.8,.2,1), background .2s; }
.lps-in .lps-cols button i { height: var(--h); }
.lps-cols button.top i { background: #b0000e; }
.lps-cols button.on i, .lps-cols button:hover i, .lps-cols button:focus-visible i { background: #ff2a3c; box-shadow: 0 0 12px -2px rgba(255,42,60,.7); }
.lps-cols button span { font-size: 12px; color: #6e6e73; }
.lps-cols .lps-month-number { display: none; }
@media (max-width: 480px) {
  .lps-cols .lps-month-name { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
  .lps-cols .lps-month-number { display: block; }
}
.lps-tip { margin: 10px 0 0; font-size: 16px; font-weight: 650; color: #b0000e; min-height: 22px; }
.lps-news { list-style: none; margin: 0; padding: 0; }
.lps-news a { display: block; padding: 12px 0; border-top: 1px solid #ebebeb; color: #1d1d1f; text-decoration: none; }
.lps-news a:hover b { color: #b0000e; }
.lps-news b { display: block; font-size: 16px; line-height: 1.4; font-weight: 600; }
.lps-news span { font-size: 14px; color: #6e6e73; }
@media (max-width: 760px) { .lps-stats.three { grid-template-columns: 1fr; } .lps-two { grid-template-columns: 1fr; } .lps-cols { gap: 3px; height: 160px; } .lps-cols button span { font-size: 11px; } }
@media (prefers-reduced-motion: reduce) { .lps-bars i b, .lps-cols button i { transition: none; } }
.lps-stat b .lps-count { display: inline; margin: 0; font-size: inherit; color: inherit; line-height: inherit; }
/* facts card */
.lps-fgrid { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 10px; margin: 0; }
.lps-fgrid div { padding: 12px 14px; border-radius: 14px; background: #f5f5f7; min-width: 0; transition: transform .2s; }
.lps-fgrid div:hover { transform: translateY(-2px); }
.lps-fgrid dt { font-size: 13px; color: #6e6e73; font-weight: 600; text-transform: uppercase; letter-spacing: .06em; }
.lps-fgrid dd { margin: 4px 0 0; font-size: 17px; font-weight: 650; line-height: 1.35; overflow-wrap: anywhere; }
.lps-fgrid small { font-weight: 500; color: #6e6e73; }
.lps-facts h3 { margin: 20px 0 10px; }
.lps-chips { display: flex; flex-wrap: wrap; gap: 8px; }
.lps-chips a { padding: 8px 14px; border-radius: 999px; border: 1px solid #e5e5ea; background: #fff; color: #1d1d1f; font-size: 15px; font-weight: 600; text-decoration: none; transition: border-color .2s, color .2s; }
.lps-chips a:hover { border-color: var(--cat); color: var(--cat); }
.lps-big { color: var(--cat); font-size: 26px; }
.lps-awards { list-style: none; margin: 0; padding: 0; display: grid; gap: 6px; }
.lps-awards li { display: flex; justify-content: space-between; gap: 12px; padding: 10px 14px; border-radius: 12px; background: #fbf1f1; font-size: 15px; }
.lps-awards span { color: #6e6e73; font-weight: 600; }
.lps-fol { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 10px; }
.lps-fol div { padding: 12px 14px; border-radius: 14px; background: #f5f5f7; }
.lps-fol b { display: block; font-size: 24px; }
.lps-fol span { font-size: 14px; color: #6e6e73; }
.lps-site { margin: 16px 0 0; } .lps-site a { color: #b0000e; font-weight: 650; text-decoration: none; }
@media (max-width: 560px) { .lps-fgrid { grid-template-columns: 1fr 1fr; } .lps-fgrid dd { font-size: 15px; } }

/* Real numbers card (World Bank, SEC, Yahoo Finance, Deezer, TheSportsDB, TSE) */
.lps-key .lps-sub a { color: inherit; font-weight: 600; }
.lps-kgrid div small { display: block; margin-top: 4px; font-size: 13px; line-height: 1.4; color: #6e6e73; overflow-wrap: anywhere; }
.lps-kgrid div small em { font-style: normal; font-weight: 600; }
.lps-kgrid div small em > span { white-space: nowrap; }
.lps-kgrid em.up { color: #0a7a3d; } .lps-kgrid em.down { color: #b0000e; }
.lps-kcols { grid-template-columns: repeat(auto-fit, minmax(0, 1fr)); height: 150px; }
.lps-kcols button.neg i { background: #9a9aa0; }
.lps-split { display: flex; height: 40px; margin: 16px 0 6px; border-radius: 12px; overflow: hidden; font-size: 14px; font-weight: 650; }
.lps-split i, .lps-split b { display: flex; align-items: center; padding: 0 12px; min-width: 0; white-space: nowrap; }
.lps-split i { width: var(--w); background: #b0000e; color: #fff; font-style: normal; }
.lps-split b { flex: 1; justify-content: flex-end; background: #1d6a3a; color: #fff; }
.lps-klist li { padding: 10px 0; border-top: 1px solid #ebebeb; }
.lps-klist b { font-size: 15px; }
@media (max-width: 560px) { .lps-kcols { height: 120px; } .lps-split { font-size: 13px; } .lps-split i, .lps-split b { padding: 0 8px; } }
.lps-chart .lps-stats { margin: 0 0 18px; }
.lps-attn .lps-stats { margin-top: 14px; }
/* Closed: only the bar shows; tapping it opens the samples and the bots. */
.lps-sbox { transition: padding .35s ease; }
.lps-search:not(.open) .lps-sbox { padding-top: 12px; padding-bottom: 30px; }
.lps-samples { max-height: 0; margin-top: 0; opacity: 0; overflow: hidden; transition: max-height .45s ease, margin-top .35s ease, opacity .35s ease .1s; }
.lps-search.open .lps-samples { max-height: 200px; margin-top: 12px; opacity: 1; }
.lps-bot.more { transition: opacity .4s ease .25s, transform .4s ease .25s; }
.lps-search:not(.open) .lps-bot.more { opacity: 0; transform: translateY(10px); }
.lps-search:not(.open) .lps-sform { cursor: text; }
.lps-sform button .lps-go { display: none; }
@media (max-width: 560px) {
  .lps-sbox { padding-left: 10px; padding-right: 10px; }
  .lps-sform { padding-left: 12px; gap: 6px; }
  .lps-sform button { width: 38px; height: 38px; padding: 0; display: grid; place-items: center; }
  .lps-sform button span { display: none; }
  .lps-sform button .lps-go { display: block; color: #fff; }
}
@media (prefers-reduced-motion: reduce) { .lps-sbox, .lps-samples, .lps-bot.more { transition: none; } }
/* Slim strip: same 18px corners as the cards, thinner bar and chips, bots mirrored left and right. */
.lps-search { border-radius: 18px; }
.lps-sbox, .lps-search:not(.open) .lps-sbox { padding: 8px 16px 22px; }
.lps-sform { padding: 3px 3px 3px 14px; }
.lps-sform input { padding: 6px 0; font-size: 16px; }
.lps-sform button { padding: 7px 16px; font-size: 14px; }
.lps-search.open .lps-samples { margin-top: 8px; }
.lps-samples { gap: 5px; }
.lps-chip { padding: 3px 10px 3px 8px; font-size: 13px; }
.lps-track { height: 18px; }
.lps-track::after { bottom: 2px; }
.lps-bot { width: 24px; height: 14px; }
.lps-bot svg { width: 24px; height: 14px; }
.lps-bot.walk { bottom: 2px; }
.lps-bot.walk::before { width: 26px; bottom: 1px; }
@media (max-width: 560px) {
  .lps-sbox, .lps-search:not(.open) .lps-sbox { padding: 7px 8px 20px; }
  .lps-sform button { width: 34px; height: 34px; padding: 0; }
  .lps-sl { width: auto; margin: 0 2px 0 0; }
}
.lp-head > .lps-search { margin: 16px 0 -24px; }
@media (max-width: 560px) { .lp-head > .lps-search { margin: 16px 0 0; } .lp-head:has(> .lps-search) { padding-bottom: 8px; } }

/* Silver strip: light metallic panel, red neon kept for edges, rail and bots. */
.lps-search { color: #1d1d1f; border-color: rgba(255,42,60,.45); background:
  linear-gradient(rgba(255,42,60,.07) 1px, transparent 1px) 0 0/26px 26px,
  linear-gradient(90deg, rgba(255,42,60,.07) 1px, transparent 1px) 0 0/26px 26px,
  linear-gradient(180deg, #fbfbfd 0%, #eceef2 55%, #dfe2e8 100%);
  box-shadow: 0 0 0 1px rgba(255,42,60,.08), 0 0 18px -8px rgba(255,42,60,.45), inset 0 1px 0 #fff; }
.lps-sform { background: #fff; border-color: rgba(255,42,60,.6); box-shadow: 0 0 10px -4px rgba(255,42,60,.55), inset 0 1px 2px rgba(0,0,0,.05); }
.lps-sform input { color: #1d1d1f; }
.lps-sl { color: #6e6e73; }
.lps-chip { background: #fff; border-color: #d2d2d7; color: #1d1d1f; }

/* Loading box: silver terminal window. */
.lps-card.lps-load { overflow: hidden; border-color: rgba(255,42,60,.45); background:
  linear-gradient(rgba(255,42,60,.06) 1px, transparent 1px) 0 0/26px 26px,
  linear-gradient(90deg, rgba(255,42,60,.06) 1px, transparent 1px) 0 0/26px 26px,
  linear-gradient(180deg, #fbfbfd 0%, #eceef2 55%, #dfe2e8 100%); }
.lps-term { display: flex; align-items: center; gap: 7px; padding: 9px 14px; background: linear-gradient(180deg, #e9ebef, #d5d8de); border-bottom: 1px solid #c7cad1; }
.lps-term i { width: 11px; height: 11px; border-radius: 50%; background: #ff5f57; box-shadow: inset 0 0 0 1px rgba(0,0,0,.12); }
.lps-term i:nth-child(2) { background: #febc2e; } .lps-term i:nth-child(3) { background: #28c840; }
.lps-term span { flex: 1; margin-right: 46px; text-align: center; font: 600 12px ui-monospace, Menlo, Consolas, monospace; color: #6e6e73; letter-spacing: .04em; }
.lps-load .lps-wait { max-width: 460px; margin: 0 auto; padding: 22px 20px 44px; text-align: left; font-family: ui-monospace, Menlo, Consolas, monospace; color: #8e8e93; }
.lps-load .lps-wait b { color: #1d1d1f; font-size: 16px; margin-bottom: 12px; }
.lps-load .lps-wait b::before { content: "$ "; color: #b0000e; }
.lps-load .lps-bar { max-width: none; margin: 0 0 12px; border-radius: 3px; background: #fff; border-color: rgba(255,42,60,.45); }
.lps-load .lps-bar i { border-radius: 2px; }
.lps-load .lps-steps { font-size: 14px; color: #a1a1a6; gap: 3px; }
.lps-load .lps-steps li::before { content: "> "; color: #c7c7cc; }
.lps-load .lps-steps li.now { color: #b0000e; }
.lps-load .lps-steps li.now::before { color: #b0000e; }
.lps-load .lps-steps li.now::after { content: ""; display: inline-block; width: 8px; height: 15px; margin-left: 4px; vertical-align: -2px; background: #b0000e; animation: lps-cursor 1s steps(1) infinite; }
.lps-load .lps-steps li.done { color: #1e7e34; }
.lps-load .lps-steps li.done::before { content: "✓ "; color: #1e7e34; }
@keyframes lps-cursor { 50% { opacity: 0; } }
@media (prefers-reduced-motion: reduce) { .lps-load .lps-steps li.now::after { animation: none; } }

/* Full history: downloads only; the report itself renders off screen to build the files. */
.lps-frame { position: absolute; left: -10000px; top: 0; width: 900px; height: 600px; pointer-events: none; }
.lps-dl { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; }
.lps-dl button { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 5px; padding: 14px 12px; border-radius: 14px; line-height: 1.15; text-align: center; }
.lps-dl b { font-size: 16px; }
.lps-dl small { font-size: 12px; font-weight: 500; opacity: .85; }
.lps-dl button.busy { cursor: progress; opacity: .75; }
.lps-dlerr { margin: 10px 0 0; color: #d70015; font-size: 15px; }
@media (max-width: 560px) { .lps-dl { grid-template-columns: 1fr; } }
/* Suggestions span the whole search bar and float over the page below. */
.lps-sform { position: relative; }
.lps-sform .lp-sug-wrap { position: static; }
.lps-sform .lp-sug { top: calc(100% + 8px); text-align: left; max-height: min(60vh, 360px); overflow-y: auto; }
.lps-search:has(.lp-sug:not([hidden])) { overflow: visible; z-index: 60; }
.lps-search:has(.lp-sug:not([hidden]))::before { display: none; }
.lps-mono { display: grid; place-items: center; font: 750 40px Inter, sans-serif; color: var(--cat); }
