/*
 * FormDs redesign: site chrome and shared components, lifted from the approved mocks (Nov 18, 2026).
 * Served as written (no build step); the layout versions it by content digest (fd_stylesheet_tag).
 *
 * 1. Site chrome: header, search box, nav, footer. Loaded on every page, next to the legacy
 *    Bootstrap sheet (formds.css) on pages that still use it, so every class here is fd- prefixed.
 * 2. Page base and shared components, scoped under .fd (the <main> of a redesigned page). Redesigned
 *    pages do not load formds.css, so these keep the mocks' own class names.
 * 3. Phone rules (max-width 600px), as in the mocks.
 *
 * Page-only styles live in public/stylesheets/fd/<page>.css, one file per screen.
 */

/* ---------- 1. Site chrome ---------- */

body.fd-site { margin: 0; padding-top: 0; background: #fff; }
/* Legacy pages keep Bootstrap's .container; the old fixed navbar's body padding is gone. */
body.fd-site > main.container { padding-top: 24px; }
body.fd-page { color: #243442; font-family: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif; font-size: 14px; line-height: 1.5; -webkit-text-size-adjust: 100%; }

.fd-skip { position: absolute; left: -9999px; top: 0; z-index: 2000; padding: 10px 14px; background: #fff; color: #0074ad; }
.fd-skip:focus { left: 8px; top: 8px; }

.fd-header { background: #c9dbe5; border-bottom: 1px solid #a9beca; font-family: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif; font-size: 14px; line-height: 1.5; }
.fd-header * { box-sizing: border-box; }
.fd-header__inner { max-width: 1400px; margin: 0 auto; padding: 0 24px; display: flex; align-items: center; gap: 20px; min-height: 68px; flex-wrap: wrap; }
.fd-brand { font-size: 30px; font-weight: 750; color: #243238; text-decoration: none; letter-spacing: .5px; line-height: 1.2; }
.fd-brand:hover, .fd-brand:focus { color: #243238; text-decoration: none; }
.fd-search { flex: 1 1 320px; max-width: 560px; display: flex; align-items: center; margin: 0; background: #fff; border: 1px solid #a9beca; border-radius: 32px; padding: 4px 6px 4px 20px; }
.fd-search:focus-within { outline: 2px solid #0074ad; outline-offset: 2px; }
.fd-search input[type="search"] { flex: 1; min-width: 0; height: auto; border: 0; margin: 0; font: inherit; font-size: 16px; color: #243442; padding: 8px 0; background: transparent; box-shadow: none; -webkit-appearance: none; appearance: none; }
.fd-search input[type="search"]:focus { outline: none; }
.fd-search button { flex: 0 0 auto; min-height: 40px; border: 0; border-radius: 24px; margin: 0; background: transparent; color: #0074ad; font: inherit; font-size: 15px; padding: 8px 14px; cursor: pointer; }
.fd-search button:hover { background: #eef5f8; }
.fd-nav { margin-left: auto; display: flex; gap: 22px; font-size: 17px; }
.fd-nav a { display: inline-flex; align-items: center; min-height: 44px; color: #243238; text-decoration: none; }
.fd-nav a:hover, .fd-nav a:focus { color: #243238; text-decoration: underline; }
.fd-nav a[aria-current="page"] { font-weight: 600; }
.fd-visually-hidden { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }

.fd-footer { margin-top: 48px; border-top: 1px solid #d9e2e8; background: #f7fafc; color: #62727e; font-family: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif; font-size: 13px; line-height: 1.55; }
.fd-footer__inner { max-width: 1400px; margin: 0 auto; padding: 22px 24px 72px; }
.fd-footer__row { display: flex; flex-wrap: wrap; gap: 0 28px; align-items: baseline; }
.fd-footer__row + .fd-footer__row { border-top: 1px solid #e2e9ee; margin-top: 4px; }
.fd-footer a { display: inline-flex; align-items: center; min-height: 44px; color: #0074ad; }
.fd-footer a:hover { color: #005a87; }

/* ---------- 2. Page base (.fd) ---------- */

.fd { font-family: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif; color: #243442; font-size: 14px; line-height: 1.5; }
.fd *, .fd *::before, .fd *::after { box-sizing: border-box; }
.fd-main { display: block; max-width: 1400px; margin: 0 auto; padding: 26px 24px 60px; }
.fd a { color: #0074ad; }
.fd a:hover { color: #005a87; }
.fd :focus-visible { outline: 3px solid #0074ad; outline-offset: 2px; }
.fd h1 { font-size: 36px; font-weight: 600; line-height: 1.18; letter-spacing: -.025em; margin: 10px 0 12px; }
.fd h2 { font-size: 23px; font-weight: 600; line-height: 1.25; margin: 0; }
.fd h3 { font-size: 17px; font-weight: 600; line-height: 1.3; margin: 0 0 10px; }
.fd p { margin: 0; }
.fd ul, .fd ol { margin: 0; }
.fd img { max-width: 100%; }

/* Text roles */
.fd .kick { font-size: 11px; color: #536f80; text-transform: uppercase; letter-spacing: .09em; font-weight: 700; }
.fd .kick a.kick-link { color: inherit; }
.fd .muted { color: #62727e; }
.fd .cap { color: #62727e; font-size: 13px; line-height: 1.55; }
.fd .matching-note { margin: 0 0 12px; }
.fd .lead { font-size: 15px; line-height: 1.62; max-width: 760px; margin: 4px 0 2px; }
.fd .lead b, .fd .lead strong { color: #173d53; }
.fd .intro { font-size: 17px; line-height: 1.6; max-width: 920px; margin-top: 16px; }
.fd .slot-box { box-sizing: border-box; height: 3.2em; overflow: hidden; padding: 6px 10px; border-radius: 3px; background: rgba(200, 30, 30, .5); }
.fd .slot-box code { font: 12px/1.4 ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; color: #3b0a0a; overflow-wrap: anywhere; }
.fd .meta-line .sep { margin: 0 8px; color: #b2c2cc; }

/* Section and section head */
.fd .sec { border-top: 1px solid #d9e2e8; padding: 26px 0 14px; }
.fd .sec--first { border-top: 0; }
.fd .sechead { display: flex; align-items: baseline; justify-content: space-between; gap: 14px; flex-wrap: wrap; margin-bottom: 8px; }
.fd .jump { display: flex; flex-wrap: wrap; gap: 8px 24px; margin-top: 20px; font-weight: 600; }
.fd .jump a { display: inline-flex; align-items: center; min-height: 44px; }

/* Stats band */
.fd .stats { display: grid; grid-template-columns: repeat(auto-fit, minmax(190px, 1fr)); background: #f7fafc; border-bottom: 1px solid #d9e2e8; margin: 26px 0 30px; }
.fd .stats > div { padding: 20px 18px; border-left: 1px solid #d9e2e8; }
.fd .stats > div:first-child { border-left: 0; }
.fd .stats dt { color: #5d707d; font-size: 13px; }
.fd .stats dd { font-size: 29px; font-weight: 650; color: #173d53; letter-spacing: -.025em; margin: 6px 0; }
.fd .stats small { font-size: 12px; color: #62727e; }

/* Pill (yellow count), tags (investor kinds, filing kinds) */
.fd .pill { display: inline-block; padding: 1px 8px; border-radius: 4px; background: #fff0ad; color: #4d3d00; font-size: 12px; font-weight: 600; white-space: nowrap; text-decoration: none; }
.fd a.pill:hover { color: #4d3d00; text-decoration: underline; }
.fd .tag { display: inline-block; padding: 2px 8px; border-radius: 4px; font-size: 12px; white-space: nowrap; background: #eef1f3; color: #3d4a54; }
.fd .t-pub { background: #dcebf4; color: #11415c; }
.fd .t-plan { background: #eef1f3; color: #3d4a54; }
.fd .t-fdn { background: #fdf0dc; color: #7a4b00; }
.fd .tag.amend { background: #fdf0dc; color: #7a4b00; }
.fd .new { display: inline-block; margin-right: 6px; padding: 0 6px; border-radius: 4px; background: #0074ad; color: #fff; font-size: 10px; font-weight: 700; letter-spacing: .05em; vertical-align: 2px; }
.fd .dot { display: inline-block; width: 8px; height: 8px; border-radius: 50%; background: #0074ad; margin-right: 7px; vertical-align: 1px; }

/* Kind pills (Everything / Companies / Funds ...) */
.fd .kinds { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 14px; }
.fd .kinds a { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 0 14px; border: 1px solid #c5ced5; border-radius: 999px; text-decoration: none; color: #243442; font-weight: 600; background: #fff; }
.fd .kinds a:hover { border-color: #0074ad; color: #243442; }
.fd .kinds a.on, .fd .kinds a[aria-current="page"] { background: #0074ad; border-color: #0074ad; color: #fff; }
.fd .kinds a span { font-weight: 400; font-size: 13px; }

/* Buttons */
.fd .btn { display: inline-flex; align-items: center; justify-content: center; gap: 6px; min-height: 44px; padding: 0 14px; border: 1px solid #c5ced5; border-radius: 6px; background: #fff; color: #243442; font: inherit; text-decoration: none; cursor: pointer; }
.fd .btn:hover { border-color: #0074ad; color: #243442; }
.fd .btn.pri { background: #0074ad; border-color: #0074ad; color: #fff; font-weight: 600; }
.fd .btn.pri:hover { background: #005a87; color: #fff; }
.fd .btn.sq { min-width: 44px; padding: 0; }
.fd .more { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 12px; }
.fd .more a { padding: 10px 14px; border: 1px solid #b8cbd6; border-radius: 4px; text-decoration: none; min-height: 44px; display: inline-flex; align-items: center; }

/* Result list: rows with a right-hand figure (Search, Filter) */
.fd .grp { margin-top: 22px; }
.fd .grp:first-child { margin-top: 0; }
.fd .grphead { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; margin-bottom: 8px; }
.fd .grphead h2 { font-size: 18px; }
.fd .grphead h2 span { font-weight: 400; font-size: 14px; color: #62727e; }
.fd .list { border: 1px solid #dfe4e8; border-radius: 6px; overflow: hidden; }
.fd .row { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 14px; align-items: center; padding: 11px 14px; border-top: 1px solid #edf0f2; }
.fd .row:first-child { border-top: 0; }
.fd .row .main { min-width: 0; }
.fd .row a.nm { font-size: 16px; font-weight: 600; line-height: 1.3; text-decoration: none; }
.fd .row a.nm:hover { text-decoration: underline; }
.fd .row small { display: block; color: #62727e; font-size: 13px; margin-top: 1px; }
.fd .row.sel, .fd .row[aria-selected="true"] { background: #e3eff6; box-shadow: inset 4px 0 0 #0074ad; }
.fd .row.head { border-top: 0; background: #f6f7f8; font-size: 11px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: #56616b; padding-top: 9px; padding-bottom: 9px; }
.fd .row .num { text-align: right; white-space: nowrap; font-variant-numeric: tabular-nums; }
.fd .fig { text-align: right; white-space: nowrap; }
.fd .fig b { display: block; font-size: 16px; font-weight: 650; color: #173d53; font-variant-numeric: tabular-nums; }
.fd .fig b.muted { font-weight: 400; color: #62727e; }
.fd .fig span { color: #62727e; font-size: 12px; }

/* Ranked list (largest raises) */
.fd .rank { list-style: none; margin: 14px 0 0; padding: 0; border: 1px solid #d9e2e8; border-radius: 4px; }
.fd .rank li { display: flex; justify-content: space-between; gap: 14px; padding: 12px 14px; border-top: 1px solid #e2e9ee; }
.fd .rank li:first-child { border-top: 0; }
.fd .rank strong { font-size: 17px; color: #173d53; white-space: nowrap; font-variant-numeric: tabular-nums; }

/* Label / value pairs and fact lists */
.fd .pair { display: flex; justify-content: space-between; gap: 12px; align-items: center; min-height: 44px; border-top: 1px solid #e2e9ee; font-size: 13px; }
.fd .pair:first-child { border-top: 0; }
.fd .pair span, .fd .pair a.n { color: #62727e; white-space: nowrap; }
.fd .facts { margin: 10px 0 0; }
.fd .facts div { display: flex; justify-content: space-between; gap: 18px; padding: 9px 0; border-top: 1px solid #e2e9ee; }
.fd .facts dt { color: #62727e; font-size: 13px; flex: 0 0 auto; }
.fd .facts dd { margin: 0; font-size: 13px; text-align: right; }

/* Investor entries ("who invests") */
.fd .who { border: 1px solid #d9e2e8; border-radius: 4px; margin-top: 14px; }
.fd .who .grp-label { padding: 9px 16px; margin: 0; background: #f4f7f9; border-top: 1px solid #e2e9ee; font-size: 11px; text-transform: uppercase; letter-spacing: .06em; color: #536f80; font-weight: 700; }
.fd .who .grp-label:first-child { border-top: 0; border-radius: 4px 4px 0 0; }
.fd .inv { padding: 14px 16px; border-top: 1px solid #e2e9ee; }
.fd .inv:first-child { border-top: 0; }
.fd .inv .top { display: flex; justify-content: space-between; align-items: flex-start; gap: 10px; }
.fd .inv .name { font-size: 15px; font-weight: 600; line-height: 1.35; }
.fd .inv .src { color: #62727e; font-size: 12px; margin-top: 4px; }

/* Cards and tiles */
.fd .cards { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 12px; margin-top: 14px; }
.fd .card { display: block; border: 1px solid #d9e2e8; border-radius: 4px; padding: 16px 18px; text-decoration: none; color: #243442; background: #fff; }
.fd .card .tname { display: block; color: #0074ad; font-size: 18px; font-weight: 600; line-height: 1.3; margin: 6px 0; text-decoration: none; }
.fd .card a.tname:hover { text-decoration: underline; }
.fd .band { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 28px 44px; margin-top: 6px; }

/* Two columns that stack on a phone (main + side) */
.fd .split { display: flex; flex-wrap: wrap; gap: 0 44px; align-items: flex-start; }
.fd .split > .main-col { flex: 999 1 640px; min-width: 0; }
.fd .split > .side-col { flex: 1 1 360px; min-width: 0; }

/* Preview panel (Search, Filter): an <aside> beside the list */
.fd .with-preview { display: flex; flex-wrap: wrap; gap: 24px; align-items: flex-start; margin-top: 22px; }
.fd .with-preview > .listcol { flex: 1 1 600px; min-width: 0; }
.fd .prev { flex: 0 0 440px; min-width: 0; border: 1px solid #c5d6e0; border-radius: 8px; background: #fff; box-shadow: 0 6px 18px rgba(36, 50, 56, .08); position: sticky; top: 16px; max-height: calc(100vh - 32px); overflow: auto; }
.fd .prev[hidden] { display: none; }
.fd .prev--inline { position: static; max-height: none; margin: 8px 12px 14px; }
.fd .prev .btn[disabled] { opacity: .4; cursor: default; }
.fd .prev__bar { display: flex; align-items: center; gap: 8px; padding: 10px 12px; border-bottom: 1px solid #edf0f2; }
.fd .prev__bar .btn.pri { margin-left: auto; }
.fd .prev__body { padding: 18px 20px 22px; }
.fd .prev__body .prev-title { font-size: 23px; font-weight: 600; line-height: 1.25; margin-top: 4px; }
.fd .prev__body .kick + * { margin-top: 4px; }
.fd .prev__body .prev-stats { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; margin-top: 14px; }
.fd .prev__body .prev-section { margin-top: 18px; }
.fd .prev__body .prev-actions { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 18px; padding-top: 14px; border-top: 1px solid #edf0f2; }
.fd .prev[aria-busy="true"] .prev__body { opacity: .55; }
.fd .stat { padding: 12px; background: #f7fafc; border-radius: 6px; }
.fd .stat b { display: block; font-size: 21px; font-weight: 650; color: #173d53; letter-spacing: -.02em; }
.fd .stat span { color: #62727e; font-size: 12px; }
.fd kbd { display: inline-block; min-width: 22px; padding: 0 6px; border: 1px solid #c5ced5; border-bottom-width: 2px; border-radius: 4px; font: inherit; font-size: 12px; text-align: center; background: #fff; }

/* State tile grid: 11 columns x 9 rows, positions from fd_state_tiles. --s1 to --s5 are the shades,
   lightest first; text on every shade has a contrast of 4.5 to 1 or more. */
.fd .states { --s1: #e6eff5; --s2: #c5dcea; --s3: #8fbcd6; --s4: #0074ad; --s5: #173d53; display: grid; grid-template-columns: repeat(11, minmax(0, 1fr)); gap: 3px; max-width: 680px; margin-top: 14px; }
/* The Filter board's two darkest shades are lighter: the darkest is the link blue, so a chosen tile's navy ring stands out */
.fd .states--small { --s4: #5fa3c9; --s5: #0074ad; gap: 2px; max-width: 360px; }
.fd .tile { display: flex; flex-direction: column; align-items: center; justify-content: center; aspect-ratio: 10 / 9; min-width: 0; border-radius: 4px; font-size: 12px; font-weight: 600; text-decoration: none; line-height: 1.15; color: #243442; }
.fd .tile small { font-weight: 400; font-size: 11px; font-variant-numeric: tabular-nums; }
.fd .states--small .tile { border-radius: 3px; font-size: 10px; }
.fd .tile.s0, .fd a.tile.s0 { background: #fff; border: 1px solid #dfe4e8; color: #62727e; }
.fd .tile.s1, .fd .tile-key .s1::before { background: var(--s1); }
.fd .tile.s2, .fd .tile-key .s2::before { background: var(--s2); }
.fd .tile.s3, .fd .tile-key .s3::before { background: var(--s3); }
.fd .tile.s4, .fd .tile-key .s4::before { background: var(--s4); }
.fd .tile.s5, .fd .tile-key .s5::before { background: var(--s5); }
.fd a.tile.s1, .fd a.tile.s2, .fd a.tile.s3 { color: #243442; }
.fd .tile.s4, .fd a.tile.s4, .fd .tile.s5, .fd a.tile.s5 { color: #fff; }
.fd .states--small .tile.s4, .fd .states--small a.tile.s4 { color: #243442; }
/* Hover and keyboard focus: a ring set off by white, drawn over the neighbouring tiles */
.fd a.tile:hover { z-index: 1; box-shadow: 0 0 0 2px #fff, 0 0 0 4px #0074ad; }
.fd a.tile:focus-visible { z-index: 2; outline: 3px solid #173d53; outline-offset: 2px; box-shadow: 0 0 0 2px #fff; }
/* A chosen state: a navy ring with white inside it */
.fd .tile.on, .fd a.tile.on:hover, .fd a.tile.on:focus-visible { z-index: 1; box-shadow: inset 0 0 0 2px #fff, 0 0 0 2px #173d53; }
/* The key, in the empty cells between Alaska and New England */
.fd .tile-key { grid-column: 3 / 10; grid-row: 1 / 3; align-self: center; min-width: 0; padding: 0 4px; color: #62727e; font-size: 11px; line-height: 1.3; }
.fd .tile-key__unit { display: block; margin-bottom: 4px; }
.fd .tile-key__steps { display: flex; gap: 2px; font-variant-numeric: tabular-nums; }
.fd .tile-key__steps span { flex: 1 1 0; min-width: 0; }
.fd .tile-key__steps span::before { content: ""; display: block; height: 8px; margin-bottom: 2px; border-radius: 2px; }

/* The adviser list: on a wide screen the map is a column on the right that stays in view beside the rows */
@media (min-width: 1100px) {
  .fd .adviser-list { display: flex; gap: 44px; align-items: flex-start; }
  .fd .adviser-list__map { order: 2; flex: 0 0 460px; position: sticky; top: 0; }
  .fd .adviser-list__map > .sec { border-top: 0; padding-top: 22px; }
  .fd .adviser-list__rows { flex: 1 1 auto; min-width: 0; }
}

/* Filing lists (archive day, newest, industry, locale pages): one row per Form D filing */
.fd .filing-list { margin-top: 18px; }
.fd .filing-list .row { grid-template-columns: minmax(0, 1fr) 104px 96px 104px; }
.fd .filing-list .row .num { font-variant-numeric: tabular-nums; }
.fd .filing-list small a { color: #3d5566; }
.fd .filing-list .tag { font-size: 11px; padding: 0 6px; margin-right: 4px; }

/* A list's heading with its count beside it (outside the heading) */
.fd .list-title { display: flex; align-items: baseline; gap: 10px; flex-wrap: wrap; }
.fd .list-title h1, .fd .list-title h2 { margin: 0; }
.fd .list-title .list-count { color: #62727e; font-size: 15px; font-weight: 400; }
.fd .sorts { display: flex; flex-wrap: wrap; gap: 4px 14px; font-size: 13px; }
.fd .sorts a[aria-current="page"] { color: #243442; font-weight: 700; text-decoration: none; }

/* The browse hub */
.fd .browse-sub { font-size: 13px; text-transform: uppercase; letter-spacing: .06em; color: #536f80; margin: 18px 0 0; }
.fd .browse-facts dt { font-size: 15px; color: inherit; }
.fd .browse-facts dd { text-align: right; color: #62727e; }

/* Site pages: one readable column */
.fd .prose { max-width: 760px; font-size: 16px; line-height: 1.65; }
.fd .prose h2 { font-size: 21px; margin: 30px 0 8px; }
.fd .prose p { margin: 0 0 12px; }
.fd .prose ul, .fd .prose ol { margin: 0 0 14px; padding-left: 22px; }
.fd .prose li { margin: 4px 0; }
.fd .prose table { width: 100%; border-collapse: collapse; margin: 8px 0 16px; font-size: 14px; }
.fd .prose th, .fd .prose td { text-align: left; padding: 8px 10px; border-top: 1px solid #e2e9ee; vertical-align: top; }
.fd .prose thead th { background: #f6f7f8; font-size: 11px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: #56616b; border-top: 0; }
@media (max-width: 600px) { .fd .prose { font-size: 15px; } .fd .prose th, .fd .prose td { padding: 7px 6px; } }

/* The locales list: one link per row */
.fd .locale-list { margin-top: 18px; }
.fd .locale-list .row { grid-template-columns: minmax(0, 1fr); }

/* The industry page's chooser */
/* A filings list's heading with its "Filter filings" link (shared/fd/_filings_head). */
.fd .filings-head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 8px 18px; margin: 10px 0 12px; }
.fd .filings-head h1 { margin: 0; }
.fd .industry-form { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; margin-top: 14px; }
.fd .industry-form .inp { min-height: 44px; padding: 6px 10px; border: 1px solid #c5ced5; border-radius: 6px; font: inherit; background: #fff; max-width: 100%; }

/* Plain data tables (archive month) */
.fd .data-table { width: 100%; border-collapse: collapse; border: 1px solid #dfe4e8; border-radius: 6px; margin-top: 14px; }
.fd .data-table th, .fd .data-table td { padding: 10px 14px; border-top: 1px solid #edf0f2; text-align: left; font-weight: 400; }
.fd .data-table thead th { background: #f6f7f8; font-size: 11px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: #56616b; border-top: 0; }
.fd .data-table td.num, .fd .data-table th.num { text-align: right; font-variant-numeric: tabular-nums; }

/* Month links by year (archive index), and the previous / all / next pager */
.fd .link-chips { display: flex; flex-wrap: wrap; gap: 6px; list-style: none; margin: 8px 0 0; padding: 0; }
.fd .link-chips a { display: inline-flex; align-items: center; min-height: 44px; padding: 0 12px; border: 1px solid #c5ced5; border-radius: 6px; text-decoration: none; }
.fd .link-chips a:hover { border-color: #0074ad; }
.fd .pager-nav ul { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px; list-style: none; margin: 22px 0 0; padding: 0; }
.fd .pager-nav a { display: inline-flex; align-items: center; min-height: 44px; padding: 0 14px; border: 1px solid #c5ced5; border-radius: 6px; text-decoration: none; }

/* will_paginate links */
.fd .pagination { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 18px; }
.fd .pagination a, .fd .pagination em, .fd .pagination span { display: inline-flex; align-items: center; justify-content: center; min-width: 44px; min-height: 44px; padding: 0 12px; border: 1px solid #c5ced5; border-radius: 6px; text-decoration: none; font-style: normal; }
.fd .pagination em { background: #0074ad; border-color: #0074ad; color: #fff; font-weight: 600; }
.fd .pagination .disabled { color: #a0abb3; }
.fd .pagination .gap { border: 0; }

/* ---------- 3. Phone ---------- */

@media (max-width: 600px) {
  .fd-header__inner { padding: 8px 16px 0; gap: 10px 20px; }
  .fd-search { flex: 1 1 100%; max-width: none; order: 2; }
  /* Three equal cells across the full width; a long label wraps after its ampersand. */
  .fd-nav { order: 3; flex: 1 1 100%; margin-left: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0 6px; }
  .fd-nav a { justify-content: center; text-align: center; line-height: 1.2; padding: 4px 2px; }
  .fd-nav a[aria-current="page"] { box-shadow: inset 0 -3px 0 #0074ad; }
  .fd-footer__inner { padding-left: 16px; padding-right: 16px; }
  .fd-main { padding: 22px 16px 48px; }
  .fd h1 { font-size: 30px; }
  .fd .filings-head { flex-direction: column; align-items: flex-start; }
  .fd .stats { grid-template-columns: 1fr 1fr; margin: 22px 0; }
  .fd .stats > div { padding: 14px; border-left: 0; border-top: 1px solid #d9e2e8; }
  .fd .stats > div:nth-child(even) { border-left: 1px solid #d9e2e8; }
  .fd .stats > div:nth-child(-n+2) { border-top: 0; }
  .fd .stats dd { font-size: 23px; }
  .fd .kinds a { min-height: 44px; padding: 0 10px; }
  .fd .row { padding: 10px 12px; gap: 10px; }
  .fd .row a.nm { font-size: 15px; }
  .fd .prev, .fd .hint { display: none !important; }
  .fd .with-preview > .listcol { flex: 1 1 100%; }
  .fd .split > .main-col, .fd .split > .side-col { flex: 1 1 100%; }
  .fd .filing-list .row { grid-template-columns: minmax(0, 1fr) 72px 64px; }
  .fd .filing-list .row > .sold { display: none; }
  .fd .data-table th, .fd .data-table td { padding: 10px; }
  /* Square tiles and a smaller count, so four figures fit inside a 30px tile */
  .fd .states { gap: 2px; }
  .fd .tile { aspect-ratio: 1; }
  .fd .tile small { font-size: 10.5px; letter-spacing: -.03em; }
}
