/* Scoped to the bases page to survive its legacy element reset. */
#llbm-root .bn-shortcuts{padding:48px var(--pad) 0;scroll-margin-top:90px}
#llbm-root .bn-shortcuts-head{display:flex;align-items:baseline;gap:20px;flex-wrap:wrap;margin-bottom:20px}
#llbm-root .bn-shortcuts-head h2{font-size:24px;letter-spacing:-.03em;color:var(--ink)}
#llbm-root .bn-shortcuts-head p{font-size:14px;color:var(--ink-2)}
#llbm-root .bn-shortcut-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px}
#llbm-root .bn-shortcut-grid>a{display:flex;flex-direction:column;gap:9px;padding:22px 18px;border:1px solid var(--line);border-top:3px solid var(--red);border-radius:4px;background:#fff;color:var(--ink);text-decoration:none;transition:background .15s}
#llbm-root .bn-shortcut-grid>a:hover{background:var(--soft)}
#llbm-root .bn-shortcut-grid strong{font-size:16px;line-height:1.4}
#llbm-root .bn-shortcut-grid span{font-size:13px;line-height:1.6;color:var(--ink-2)}
#llbm-root .bn-featured{display:flex;align-items:center;flex-wrap:wrap;gap:10px 20px;padding:20px 0;font-size:13px;line-height:1.5}
#llbm-root .bn-featured span{color:var(--ink-3)}
#llbm-root .bn-featured a,#llbm-root .bn-method a{color:var(--red);text-underline-offset:3px}
#llbm-root .bn-section{padding:50px var(--pad) 24px;scroll-margin-top:90px}
#llbm-root .bn-intro{display:flex;justify-content:space-between;align-items:flex-end;gap:28px;margin-bottom:24px}
#llbm-root .bn-intro h2{font-size:clamp(28px,3.6vw,42px);letter-spacing:-.04em;line-height:1.2;color:var(--ink);margin:12px 0}
#llbm-root .bn-intro p{font-size:16px;line-height:1.65;max-width:690px;color:var(--ink-2)}
#llbm-root .bn-text-link{color:var(--red);font-size:13px;font-weight:600;line-height:1.5;text-underline-offset:4px;background:none;border:0;padding:8px 0;cursor:pointer;white-space:nowrap}
#llbm-root .bn-finder{padding:28px;border:1px solid var(--line);border-radius:6px;background:var(--soft)}
#llbm-root .bn-location-row{display:flex;align-items:center;gap:18px}
#llbm-root .bn-primary,#llbm-root .bn-search{display:inline-flex;align-items:center;justify-content:center;gap:9px;padding:14px 18px;min-height:48px;background:var(--red);color:#fff;border:1px solid var(--red);border-radius:4px;font-size:14px;font-weight:700;cursor:pointer;white-space:nowrap}
#llbm-root .bn-primary:hover,#llbm-root .bn-search:hover{background:var(--red-d)}
#llbm-root .bn-primary:disabled{opacity:.7;cursor:wait}
#llbm-root .bn-primary svg{width:20px;height:20px;fill:none;stroke:currentColor;stroke-width:1.8}
#llbm-root .bn-or{font-size:12px;color:var(--ink-3);white-space:nowrap}
#llbm-root .bn-form{display:flex;gap:8px;flex:1;min-width:0}
#llbm-root .bn-form input,#llbm-root .bn-filters select{min-height:48px;background:#fff;border:1px solid #c8cfd8;border-radius:4px;color:var(--ink);font:inherit;font-size:14px;padding:12px;min-width:0}
#llbm-root .bn-form input{flex:1;width:100%;text-overflow:ellipsis}
#llbm-root .bn-form input::placeholder{color:#626c79;opacity:1}
#llbm-root .bn-privacy{font-size:12px;line-height:1.65;color:var(--ink-2);margin-top:14px}
#llbm-root .bn-examples{display:flex;align-items:center;gap:6px 10px;flex-wrap:wrap;margin-top:12px;font-size:12px;line-height:1.5}
#llbm-root .bn-examples span{color:var(--ink-3)}
#llbm-root .bn-examples button{background:transparent;color:var(--red);border:0;padding:6px 0;text-decoration:underline;text-underline-offset:3px;cursor:pointer;font:inherit}
#llbm-root .bn-filters{display:flex;gap:16px;align-items:flex-end;flex-wrap:wrap;padding-top:24px;margin-top:18px;border-top:1px solid var(--line)}
#llbm-root .bn-filters label{display:flex;flex-direction:column;gap:7px;font-size:12px;font-weight:600;color:var(--ink-2)}
#llbm-root .bn-filters select{min-width:150px;padding-right:30px;font-weight:400}
#llbm-root .bn-filters .bn-text-link{margin-left:auto;min-height:48px}
#llbm-root .bn-status{margin-top:20px;font-size:14px;line-height:1.6;color:var(--ink-2)}
#llbm-root .bn-status.bn-error{color:#9b1c1c;font-weight:600}
#llbm-root .bn-choices{padding:18px;margin-top:14px;background:#fff;border:1px solid var(--line);border-radius:4px}
#llbm-root .bn-choices p{font-size:14px;line-height:1.5;margin-bottom:12px}
#llbm-root .bn-choices button{padding:10px 14px;min-height:44px;margin:0 8px 8px 0;color:var(--red);background:#fff;border:1px solid #c8cfd8;border-radius:4px;cursor:pointer;font:inherit;font-size:14px}
#llbm-root .bn-result-head{display:flex;justify-content:space-between;align-items:baseline;flex-wrap:wrap;gap:10px;padding:24px 0 14px}
#llbm-root .bn-result-head h3{font-size:20px;line-height:1.4;color:var(--ink)}
#llbm-root .bn-result-head>span{font-size:12px;color:var(--ink-3)}
#llbm-root .bn-list{list-style:none;display:grid;gap:10px;padding:0;margin:0}
#llbm-root .bn-card{display:grid;grid-template-columns:28px minmax(0,1fr) auto;gap:14px;padding:22px;background:#fff;border:1px solid var(--line);border-radius:4px;align-items:start}
#llbm-root .bn-rank{font:12px var(--mono);color:var(--ink-3);padding-top:5px}
#llbm-root .bn-card h4{font-size:18px;letter-spacing:-.02em;line-height:1.4}
#llbm-root .bn-card h4 a{color:var(--ink);text-decoration:none}
#llbm-root .bn-card h4 a:hover{color:var(--red);text-decoration:underline;text-underline-offset:4px}
#llbm-root .bn-meta{font-size:12px;line-height:1.6;color:var(--ink-3);margin-top:6px}
#llbm-root .bn-summary{font-size:14px;line-height:1.65;color:var(--ink-2);margin-top:9px;max-width:75ch;display:-webkit-box;-webkit-line-clamp:3;-webkit-box-orient:vertical;overflow:hidden}
#llbm-root .bn-links{display:flex;flex-wrap:wrap;gap:10px 24px;margin-top:12px}
#llbm-root .bn-links a{display:inline-block;color:var(--red);font-size:13px;font-weight:600;line-height:1.6;text-underline-offset:4px;padding:3px 0}
#llbm-root .bn-distance{text-align:right;white-space:nowrap;min-width:85px}
#llbm-root .bn-distance strong{display:block;color:var(--red);font-size:21px;letter-spacing:-.03em;line-height:1.4}
#llbm-root .bn-distance span{display:block;font-size:10px;color:var(--ink-3);margin-top:4px}
#llbm-root .bn-more{font:inherit;font-size:13px;font-weight:600;min-height:44px;padding:12px 16px;border:1px solid #c8cfd8;border-radius:4px;background:#fff;color:var(--red);cursor:pointer;margin-top:16px}
#llbm-root .bn-note{font-size:12px;line-height:1.75;color:var(--ink-3);margin-top:22px;max-width:100ch}
#llbm-root .bn-method{margin-top:12px;font-size:12px;line-height:1.75;color:var(--ink-3)}
#llbm-root .bn-method summary{font-weight:600;cursor:pointer;color:var(--ink-2);padding:7px 0}
#llbm-root .bn-method p{margin-top:8px;max-width:100ch}
#llbm-root .bn-section [hidden]{display:none!important}
#llbm-root #bn-results{scroll-margin-top:90px}
#llbm-root .bn-section :is(button,a,input,select,summary):focus-visible,#llbm-root .bn-shortcuts a:focus-visible{outline:3px solid var(--red);outline-offset:4px}
@media(max-width:1050px){#llbm-root .bn-location-row{flex-wrap:wrap}#llbm-root .bn-form{flex-basis:65%}#llbm-root .bn-or{display:none}#llbm-root .bn-shortcut-grid{grid-template-columns:repeat(2,minmax(0,1fr))}#llbm-root .bn-intro{display:block}#llbm-root .bn-intro>.bn-text-link{display:inline-block;margin-top:12px}}
@media(max-width:620px){#llbm-root .bn-section{padding-top:34px}#llbm-root .bn-finder{padding:18px}#llbm-root .bn-location-row{gap:14px}#llbm-root .bn-primary{width:100%}#llbm-root .bn-form{flex-basis:100%;flex-wrap:wrap}#llbm-root .bn-form input{flex-basis:100%}#llbm-root .bn-search{width:100%}#llbm-root .bn-filters{display:grid;grid-template-columns:1fr 1fr;gap:14px}#llbm-root .bn-filters label:first-child{grid-column:1/-1}#llbm-root .bn-filters select{width:100%;min-width:0}#llbm-root .bn-filters .bn-text-link{margin-left:0;text-align:left}#llbm-root .bn-card{grid-template-columns:minmax(0,1fr) auto;gap:10px;padding:18px 14px}#llbm-root .bn-rank{display:none}#llbm-root .bn-card h4{font-size:16px}#llbm-root .bn-distance{min-width:60px}#llbm-root .bn-distance strong{font-size:18px}#llbm-root .bn-summary{grid-column:1/-1;font-size:13px}#llbm-root .bn-meta{font-size:11px}#llbm-root .bn-shortcuts{padding-top:32px}#llbm-root .bn-shortcuts-head{gap:10px}#llbm-root .bn-shortcut-grid{gap:10px}#llbm-root .bn-shortcut-grid>a{padding:16px 13px}#llbm-root .bn-shortcut-grid strong{font-size:14px}#llbm-root .bn-shortcut-grid span{font-size:12px}#llbm-root .bn-featured{gap:10px 14px}}
