
        *, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }

        :root {
            --bg: #151521;
            --fg: #fbfef9;
            --card: #1c1c2e;
            --card-hover: #22223a;
            --primary: #0e79b2;
            --muted: #64748b;
            --border: rgba(255,255,255,0.06);
            --row-border: rgba(255,255,255,0.14);
            --radius: 0.5rem;
        }

        body {
            font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
            background: var(--bg);
            color: var(--fg);
            min-height: 100vh;
            -webkit-font-smoothing: antialiased;
        }

        /* 1020px is not a round number: it is 972px — the width the jobs table
           reaches with every column at its cap (see `.job-list`) — plus the
           48px of horizontal padding below. Sizing the whole column to the
           table is what lets the table be centred *and* stay aligned with the
           toolbar above it. The two used to be traded against each other: at
           the old 1240px the toolbar ran 1192px and the table 972px, so the
           table sat 220px short of the right edge and read as left-shifted
           both under the nav and on the page. Centring the table on its own
           (`margin: 0 auto`) would have broken the alignment instead, and slid
           it sideways on every keystroke as it narrowed. */
        .container {
            max-width: 1020px;
            margin: 0 auto;
            padding: 2rem 1.5rem 4rem;
        }
        /* The companies admin table alone: ten columns, three of them widget
           groups that cannot wrap, measure ~1330px — no honest layout fits
           that in the 1020px the jobs pages want. Widening only this page's
           container lets the whole table sit visible on a desktop, while
           .admin-shell's overflow-x keeps narrower windows scrolling instead
           of crushing columns. */
        .container-wide { max-width: 1440px; }

        /* ── Header ── */
        .header { margin-bottom: 1.25rem; }
        .header-top {
            display: flex;
            align-items: baseline;
            justify-content: space-between;
            gap: 1rem;
        }
        .header h1 {
            font-size: 1.5rem;
            font-weight: 700;
            letter-spacing: -0.02em;
            margin-bottom: 0.25rem;
        }
        .header p {
            font-size: 0.875rem;
            color: var(--muted);
        }
        /* Colored like status-err rather than a default link blue: this is the
           one thing in the subtitle that means "go look at something", and the
           red is what makes that legible at a glance next to the plain-muted
           freshness clause beside it. */
        .header p a {
            color: #ff9f9f;
            text-decoration: underline;
        }
        .header p a:hover { color: #ffd0d0; }
        .nav {
            display: flex;
            align-items: center;
            gap: 0.35rem;
            /* Cancels the first link's own padding so the nav *text* starts on
               the container edge, in line with the heading and the rows. */
            margin: 0 0 1.25rem -0.7rem;
        }
        .nav a {
            font-size: 0.8125rem;
            font-weight: 500;
            color: var(--muted);
            text-decoration: none;
            padding: 0.4rem 0.7rem;
            border-radius: var(--radius);
            transition: all 0.2s;
        }
        .nav a:hover { color: var(--fg); }
        .nav a.active {
            background: var(--card);
            color: var(--fg);
        }

        /* ── Flash messages ── */
        .flashes {
            display: flex;
            flex-direction: column;
            gap: 0.4rem;
            margin-bottom: 1.25rem;
        }
        .flash {
            font-size: 0.8125rem;
            line-height: 1.45;
            padding: 0.6rem 0.75rem;
            border-radius: var(--radius);
            border: 1px solid var(--border);
            background: var(--card);
            white-space: pre-wrap;
            overflow-wrap: anywhere;
        }
        .flash-ok {
            border-color: rgba(74, 222, 128, 0.28);
            color: #9ff0bd;
            background: rgba(74, 222, 128, 0.07);
        }
        .flash-error {
            border-color: rgba(248, 113, 113, 0.28);
            color: #ff9f9f;
            background: rgba(248, 113, 113, 0.07);
        }

        /* ── Toolbar ──
           One row: country tabs, the search box, then everything else folded
           into a Filters menu. Laying the tabs, the search, the posted select,
           three toggles and the result count out on one un-wrapping row fit only
           by starving the search box, which was the single item free to shrink —
           measured at a 1280px viewport its input rendered 0px wide on the jobs
           page and 44px on internships. Wrapping them onto two rows bought the
           width back but left a loose stack of pills sitting above the table.
           Four rarely-touched controls behind one button gets both: the search
           runs 676–721px and the toolbar is one line again.

           It wraps, though. A fourth country tab ("Canada & US") pushed the
           Filters button 1px past a 900px viewport and 140px past a 761px one,
           which is a horizontal scrollbar on the whole document. Wrapping is the
           right answer rather than shrinking the search box again: above ~1000px
           nothing wraps and the row is unchanged, and below it the search and
           Filters drop to a second line at full width instead of being starved.
           `flex-basis: 320px` on the form is what decides that — it is the width
           below which the search stops being usable. */
        .toolbar {
            display: flex;
            align-items: center;
            gap: 0.5rem;
            flex-wrap: wrap;
            margin-bottom: 0.9rem;
        }
        .filter-form {
            display: flex;
            align-items: center;
            gap: 0.5rem;
            flex: 1 1 320px;
            min-width: 0;
        }
        .search-wrap {
            display: flex;
            align-items: center;
            gap: 0.45rem;
            border: 1px solid var(--border);
            background: var(--card);
            border-radius: var(--radius);
            padding: 0.38rem 0.55rem;
            flex: 1 1 auto;
            min-width: 180px;
        }
        .search-wrap:focus-within { border-color: rgba(14, 121, 178, 0.5); }
        .search-icon {
            color: var(--muted);
            font-size: 0.78rem;
            line-height: 1;
        }
        .search-input {
            border: none;
            outline: none;
            background: transparent;
            color: var(--fg);
            font-size: 0.82rem;
            font-family: inherit;
            flex: 1 1 auto;
            min-width: 0;
            width: 100%;
        }
        .search-input::placeholder { color: var(--muted); }
        .search-input::-webkit-search-cancel-button { filter: invert(0.6); cursor: pointer; }
        .days-filter {
            border: 1px solid var(--border);
            background: var(--bg);
            color: var(--fg);
            border-radius: var(--radius);
            font-size: 0.8rem;
            font-family: inherit;
            padding: 0.42rem 0.6rem;
            width: 100%;
        }
        .days-filter:focus {
            outline: 1px solid rgba(14, 121, 178, 0.45);
            outline-offset: 0;
        }
        .tabs {
            display: inline-flex;
            background: var(--card);
            border-radius: var(--radius);
            padding: 3px;
            gap: 2px;
        }
        .tab {
            display: inline-flex;
            align-items: center;
            gap: 0.375rem;
            padding: 0.4375rem 0.75rem;
            border-radius: calc(var(--radius) - 2px);
            font-size: 0.8125rem;
            font-weight: 500;
            color: var(--muted);
            cursor: pointer;
            transition: all 0.2s;
            border: none;
            background: transparent;
            white-space: nowrap;
            font-family: inherit;
            text-decoration: none;
        }
        .tab:hover { color: var(--fg); }
        .tab.active {
            background: var(--card-hover);
            color: var(--fg);
            box-shadow: 0 1px 3px rgba(0,0,0,0.3);
        }
        .tab .flag { font-size: 0.9rem; line-height: 1; }
        .tab .count {
            font-size: 0.6875rem;
            background: rgba(255,255,255,0.06);
            padding: 0.125rem 0.375rem;
            border-radius: 999px;
            font-weight: 600;
        }
        .tab.active .count {
            background: rgba(14, 121, 178, 0.2);
            color: #5ba8d6;
        }
        /* ── Filters menu ── */
        .filter-menu { position: relative; flex: none; }
        .filter-btn {
            display: inline-flex;
            align-items: center;
            gap: 0.4rem;
            border: 1px solid var(--border);
            background: var(--card);
            color: var(--muted);
            border-radius: var(--radius);
            padding: 0.42rem 0.7rem;
            font-size: 0.8rem;
            font-weight: 500;
            font-family: inherit;
            white-space: nowrap;
            cursor: pointer;
            transition: all 0.2s;
        }
        .filter-btn:hover { color: var(--fg); }
        .filter-btn[aria-expanded="true"] {
            border-color: rgba(14, 121, 178, 0.45);
            color: var(--fg);
        }
        .filter-btn .chevron {
            font-size: 0.6rem;
            line-height: 1;
            transition: transform 0.2s;
        }
        .filter-btn[aria-expanded="true"] .chevron { transform: rotate(180deg); }
        /* The count of filters that are *not* at their default, so the state
           folded away behind the button is still legible from the outside. */
        .filter-btn .badge {
            background: rgba(14, 121, 178, 0.22);
            color: #8fd0f2;
            font-size: 0.68rem;
            font-weight: 700;
            line-height: 1;
            padding: 0.18rem 0.36rem;
            border-radius: 999px;
        }
        .filter-panel {
            position: absolute;
            top: calc(100% + 0.4rem);
            right: 0;
            z-index: 30;
            width: 244px;
            display: flex;
            flex-direction: column;
            gap: 0.5rem;
            padding: 0.75rem;
            border: 1px solid var(--row-border);
            border-radius: var(--radius);
            background: var(--card);
            box-shadow: 0 14px 34px rgba(0,0,0,0.5);
        }
        .filter-panel[hidden] { display: none; }
        .panel-label {
            font-size: 0.66rem;
            font-weight: 600;
            letter-spacing: 0.06em;
            text-transform: uppercase;
            color: var(--muted);
        }
        .panel-sep {
            height: 1px;
            background: var(--row-border);
            margin: 0.1rem 0;
        }
        .switch {
            display: flex;
            align-items: center;
            justify-content: space-between;
            gap: 0.6rem;
            font-size: 0.8rem;
            color: var(--muted);
            text-decoration: none;
            padding: 0.15rem 0;
            transition: color 0.2s;
        }
        .switch:hover { color: var(--fg); }
        .switch.on { color: var(--fg); }
        .switch .track {
            position: relative;
            flex: none;
            width: 1.85rem;
            height: 1.05rem;
            border-radius: 999px;
            background: rgba(255,255,255,0.11);
            transition: background 0.2s;
        }
        .switch .track::after {
            content: "";
            position: absolute;
            top: 0.16rem;
            left: 0.16rem;
            width: 0.73rem;
            height: 0.73rem;
            border-radius: 999px;
            background: #8a93a5;
            transition: left 0.2s, background 0.2s;
        }
        .switch.on .track { background: rgba(14, 121, 178, 0.55); }
        .switch.on .track::after {
            left: calc(100% - 0.89rem);
            background: #e8f4fb;
        }
        .panel-reset {
            font-size: 0.75rem;
            color: var(--muted);
            text-decoration: none;
            align-self: flex-start;
        }
        .panel-reset:hover { color: #8fd0f2; }
        .results-info {
            font-size: 0.8125rem;
            color: var(--muted);
            white-space: nowrap;
        }

        /* ── Job List ──
           The table fills the container, which is itself sized to the table (see
           `.container`), so the nav, the heading, the toolbar and the rows share
           one width and one centre. Filling is what makes the width *stable*:
           the container is a fixed 1020px, so the table is 972px whether the
           result set is 100 rows, 2 rows or none, and neither the table nor the
           block around it moves as a search narrows.

           Filling is not the same as letting the columns loose, and the two used
           to be confused:

           - `table-layout: fixed; width: 100%` (the first attempt) held every
             column still, but was anchored to a 1240px container, so the table
             was always the full 1192px whatever it held — a three-row result
             rendered as three rows adrift in a frame 220px wider than the widest
             row it would ever need.
           - Plain auto layout at `width: fit-content` was compact and hugged the
             left edge, but that is what put the table 220px short of the
             toolbar's right edge and left it reading as left-shifted.
           - Unbounded auto layout moved the grid on every keystroke: measured at
             a 1440px viewport, going from "int" (212 rows) to "intern" (3 rows)
             swung the columns from 70/374/55/618/73 to 74/547/58/179/82.

           What is here is auto layout with both ends of every column bounded, so
           the columns hold still and the caps are what set 972px in the first
           place. The narrow three (company/country/posted) are pinned outright;
           title and location are bounded by min/max widths on the block *inside*
           the cell, because a table cell's own max-width is ignored by the
           layout algorithm while its content's is not. Measured at a 1512px
           viewport the columns are 72/527/48/245/78 on the default page and
           unchanged on a 2-row search (the location column alone claims 437px
           unbounded, 245px capped).

           `min-width: 700px` is the floor for narrow viewports, where the
           container is smaller than the table's natural width. It replaced an
           earlier 940px that was a real bug: the mobile grid takes over at
           760px, so between 761px and 940px the desktop table overflowed and the
           posted column was cut off behind the shell's scroll. 700px fits inside
           the 713px a 761px viewport leaves after the container's padding, so
           the gap is closed — the shell can still scroll below that, but nothing
           reaches it. */
        .job-list-shell {
            border: 1px solid var(--border);
            border-radius: var(--radius);
            overflow-x: auto;
            overflow-y: hidden;
            background: var(--card);
            width: 100%;
        }
        .job-list {
            width: 100%;
            min-width: 700px;
            border-collapse: collapse;
            background: var(--card);
        }
        .job-list thead th {
            text-align: left;
            font-size: 0.72rem;
            letter-spacing: 0.04em;
            text-transform: lowercase;
            color: var(--muted);
            font-weight: 600;
            padding: 0.46rem 0.48rem;
            border-bottom: 1px solid var(--row-border);
        }
        .job-card {
            border-bottom: 1px solid var(--row-border);
            transition: background 0.2s;
        }
        .job-card:last-child { border-bottom: none; }
        .job-card:hover { background: var(--card-hover); }
        .job-cell {
            padding: 0.46rem 0.48rem;
            vertical-align: middle;
        }
        /* The three narrow columns hold whatever the result set is: their
           contents are a 40px logo, two flags and a short relative time, none of
           which vary. Both bounds are stated because under auto layout a `width`
           is only a suggestion — company has to clear 67px or the header word
           "company" collides with "title" (it did, at 56px), and it must not
           grow past that for a long company name, which lives in the title cell
           anyway. */
        .company-cell { width: 72px; min-width: 72px; max-width: 72px; }
        .country-cell {
            width: 48px;
            min-width: 48px;
            max-width: 48px;
            padding: 0.28rem 0.16rem;
        }
        .posted-cell { width: 78px; min-width: 78px; max-width: 78px; }
        /* The two columns that do vary. Bounding them on the inner block rather
           than the cell is what makes this stick: `max-width` on a `<td>` is
           advisory and the table algorithm ignores it, but the content's own
           max-width feeds straight into the column's max-content size. The caps
           are what keep the table compact — location measures 245px capped
           against 437px free, and under the old auto layout a single long
           location string took it to 618px. The floors are the smaller half and
           only show on short result sets, where a column would otherwise be the
           width of its longest string: a two-row search renders 762px with them
           and 743px without. */
        .job-main { min-width: 240px; max-width: 520px; }
        .location-cell .job-tags { min-width: 150px; max-width: 230px; }
        .job-list th:nth-child(2),
        .job-list td:nth-child(2) { padding-right: 0.04rem; }
        .job-list th:nth-child(3),
        .job-list td:nth-child(3) { padding-left: 0.04rem; }
        .job-logo {
            width: 40px;
            height: 40px;
            border-radius: 10px;
            object-fit: contain;
            background: rgba(255,255,255,0.06);
            display: block;
            margin: 0 auto;
        }
        .job-avatar {
            width: 40px;
            height: 40px;
            border-radius: 999px;
            display: flex;
            align-items: center;
            justify-content: center;
            font-size: 0.95rem;
            font-weight: 700;
            color: #fbfef9;
            margin: 0 auto;
            text-transform: uppercase;
            letter-spacing: -0.01em;
        }
        .job-title {
            font-size: 0.88rem;
            font-weight: 600;
            line-height: 1.3;
            color: var(--fg);
            margin-bottom: 0.15rem;
            white-space: normal;
            overflow-wrap: anywhere;
            word-break: break-word;
        }
        .job-title-link {
            color: inherit;
            text-decoration: none;
            transition: color 0.2s;
        }
        .job-title-link:hover { color: #8fd0f2; }
        .job-company {
            font-size: 0.72rem;
            color: #9caec5;
        }
        .job-tags {
            display: flex;
            align-items: center;
            flex-wrap: wrap;
            gap: 0.28rem;
        }
        .tag {
            display: inline-flex;
            align-items: center;
            border-radius: 999px;
            font-size: 0.68rem;
            font-weight: 600;
            line-height: 1;
            white-space: nowrap;
            padding: 0.25rem 0.5rem;
        }
        /* Locations are long and the column no longer grows to fit them: under
           the old auto layout an unbreakable tag just widened its own column
           (which is how location came to render 618px), whereas fixed layout
           spills it across the neighbours instead. The longest first-location in
           the default 7-day view is 122 characters ("Costa Mesa, California,
           United States; Seattle, …") and the longest stored anywhere is 877, so
           these have to wrap. `anywhere` is for the single unbroken token; short
           tags are unaffected. */
        .tag-location {
            background: rgba(14, 121, 178, 0.1);
            color: #75bfe6;
            border: 1px solid rgba(14, 121, 178, 0.2);
            white-space: normal;
            overflow-wrap: anywhere;
        }
        .tag-more {
            background: rgba(255,255,255,0.07);
            color: #a8b8cb;
            border: 1px solid rgba(255,255,255,0.16);
        }
        .tag-gone {
            background: rgba(198, 74, 74, 0.14);
            color: #e29a9a;
            border: 1px solid rgba(198, 74, 74, 0.34);
            margin-left: 0.35rem;
            vertical-align: 1px;
        }
        /* A closed posting is dimmed and struck through rather than removed:
           it is only ever hidden by the toggle, never deleted. */
        .job-gone { opacity: 0.55; }
        .job-gone .job-title-link { text-decoration: line-through; }
        .country-flag {
            display: block;
            text-align: center;
            font-size: 1.15rem;
            line-height: 1.4;
        }
        .posted {
            font-size: 0.72rem;
            color: var(--muted);
            white-space: nowrap;
        }
        /* Says out loud that this is first_seen_at standing in for a date the
           vendor never published, instead of quietly calling it "posted". */
        .posted-first-seen { font-style: italic; }
        .posted-note {
            display: block;
            font-style: normal;
            font-size: 0.6rem;
            letter-spacing: 0.02em;
            color: #7d8ea3;
        }
        .empty-row td {
            padding: 2.25rem 0.75rem;
            text-align: center;
            font-size: 0.85rem;
            color: var(--muted);
        }

        /* ── Pager ──
           Sits under the table and, like the table, starts at the container's
           left edge. Hidden entirely on a single page of results, but the
           element is always rendered — the live search replaces it by selector
           and cannot replace something that is not there. */
        .pager {
            display: flex;
            align-items: center;
            gap: 1rem;
            flex-wrap: wrap;
            width: fit-content;
            max-width: 100%;
            margin-top: 0.85rem;
            font-size: 0.78rem;
            color: var(--muted);
        }
        .pager:empty { display: none; }
        .pager-links {
            display: flex;
            align-items: center;
            gap: 0.4rem;
        }
        .pager-btn {
            border: 1px solid var(--border);
            border-radius: var(--radius);
            padding: 0.3rem 0.6rem;
            color: #a8b8cb;
            text-decoration: none;
            font-weight: 600;
            transition: all 0.2s;
        }
        a.pager-btn:hover {
            border-color: rgba(14, 121, 178, 0.42);
            background: rgba(14, 121, 178, 0.18);
            color: #cfe9f7;
        }
        .pager-btn.disabled { opacity: 0.35; }
        .pager-page { padding: 0 0.2rem; }

        /* ── Admin (companies) ── */
        .panel {
            border: 1px solid var(--border);
            border-radius: var(--radius);
            background: var(--card);
            padding: 1rem;
            margin-bottom: 1.5rem;
        }
        .panel h2 {
            font-size: 0.95rem;
            font-weight: 600;
            margin-bottom: 0.15rem;
        }
        .panel .hint {
            font-size: 0.78rem;
            color: var(--muted);
            margin-bottom: 0.85rem;
        }
        .add-form {
            display: flex;
            align-items: center;
            gap: 0.5rem;
            flex-wrap: wrap;
        }
        .text-input {
            border: 1px solid var(--border);
            background: var(--bg);
            color: var(--fg);
            border-radius: var(--radius);
            font-size: 0.82rem;
            font-family: inherit;
            padding: 0.5rem 0.6rem;
            outline: none;
        }
        .text-input:focus { border-color: rgba(14, 121, 178, 0.5); }
        .text-input::placeholder { color: var(--muted); }
        .input-url { flex: 1 1 380px; min-width: 220px; }
        .input-company { flex: 0 1 180px; min-width: 140px; }
        .btn {
            border: 1px solid rgba(14, 121, 178, 0.42);
            background: rgba(14, 121, 178, 0.18);
            color: #cfe9f7;
            border-radius: var(--radius);
            font-size: 0.8rem;
            font-weight: 600;
            font-family: inherit;
            padding: 0.5rem 0.85rem;
            cursor: pointer;
            transition: all 0.2s;
        }
        .btn:hover { background: rgba(14, 121, 178, 0.3); color: var(--fg); }
        .btn-sm {
            padding: 0.3rem 0.55rem;
            font-size: 0.72rem;
            font-weight: 600;
        }
        .btn-muted {
            border-color: rgba(255,255,255,0.16);
            background: rgba(255,255,255,0.05);
            color: #a8b8cb;
        }
        .btn-muted:hover { background: rgba(255,255,255,0.1); color: var(--fg); }
        .btn-danger {
            border-color: rgba(248, 113, 113, 0.3);
            background: rgba(248, 113, 113, 0.1);
            color: #ff9f9f;
        }
        .btn-danger:hover { background: rgba(248, 113, 113, 0.2); color: #ffd0d0; }
        .admin-shell {
            border: 1px solid var(--border);
            border-radius: var(--radius);
            overflow-x: auto;
            background: var(--card);
        }
        /* The floor is for narrow viewports only, where the shell scrolls. It
           used to be 980px, chosen when the container was 1240px and nothing
           on a desktop could reach it; against the 972px the container now
           gives it, it overflowed by 10px and put a scrollbar under a table
           that fits. 940px keeps the columns from crushing and stays clear of
           the content width. */
        .admin-table {
            width: 100%;
            min-width: 940px;
            border-collapse: collapse;
        }
        .admin-table thead th {
            text-align: left;
            font-size: 0.72rem;
            letter-spacing: 0.04em;
            text-transform: lowercase;
            color: var(--muted);
            font-weight: 600;
            padding: 0.5rem 0.55rem;
            border-bottom: 1px solid var(--row-border);
            white-space: nowrap;
        }
        .admin-table tbody tr { border-bottom: 1px solid var(--row-border); }
        .admin-table tbody tr:last-child { border-bottom: none; }
        .admin-table tbody tr:hover { background: var(--card-hover); }
        .admin-table td {
            padding: 0.5rem 0.55rem;
            font-size: 0.8rem;
            vertical-align: middle;
        }
        .src-name {
            font-weight: 600;
            overflow-wrap: anywhere;
        }
        /* overflow-wrap:anywhere makes this the one column the table's auto
           layout *can* crush, so when the nowrap columns (buttons, terms input)
           outgrow the shell it is the source names that pay — measured collapsing
           to ~55px, wrapping URLs one syllable per line. The floor makes the
           table overflow the shell instead, which .admin-shell already answers
           with a horizontal scrollbar. */
        .admin-table td:first-child { min-width: 240px; }
        .src-url {
            font-size: 0.7rem;
            color: var(--muted);
            overflow-wrap: anywhere;
        }
        .mono {
            font-size: 0.72rem;
            color: #9caec5;
            white-space: nowrap;
        }
        .status-ok { color: #7fe0a4; font-weight: 600; }
        .status-err { color: #ff9f9f; }
        .actions {
            display: flex;
            gap: 0.3rem;
            align-items: center;
            white-space: nowrap;
        }
        .actions form { display: inline; }
        /* Amber sits between status-ok (green) and status-err (red): the fetch
           itself didn't fail, but a source that reports 'ok' while storing zero
           postings looks exactly as healthy as one that's fine — the only tell
           is this count. Built on `.tag`/`.tag-gone`'s pattern rather than a new
           shape, so it reads as "the same kind of thing" as the closed-posting
           tag on the jobs table. */
        .tag-amber {
            background: rgba(217, 158, 34, 0.14);
            color: #e2b34a;
            border: 1px solid rgba(217, 158, 34, 0.34);
            margin-left: 0.35rem;
            vertical-align: 1px;
        }
        .terms-form {
            display: flex;
            align-items: center;
            gap: 0.35rem;
        }
        .input-terms { flex: 1 1 140px; min-width: 110px; }
        /* Says which kind of source this row is without a whole column: only
           adapters that push {search} upstream ever read these terms back, and
           the row already knows its adapter. */
        .terms-hint {
            font-size: 0.68rem;
            color: var(--muted);
            margin-top: 0.2rem;
        }

        @media (max-width: 760px) {
            .container { padding: 1rem; }
            .toolbar { flex-wrap: wrap; }
            /* Four tabs no longer fit one phone-width row — they measured 593px
               against the 342px a 390px screen leaves — so they wrap onto two.
               `space-between` was for a row that filled the width; with a wrap it
               would stretch two tabs across the whole row and leave a hole. */
            .tabs {
                width: 100%;
                flex-wrap: wrap;
                justify-content: flex-start;
                gap: 3px;
            }
            .filter-form { flex-basis: 100%; }
            .search-wrap { min-width: 0; }
            /* Stays hung off the button's right edge (never `left: 0`, which
               would start the panel where the button starts and push 152px of
               it off a 420px screen). */
            .filter-panel { width: min(244px, calc(100vw - 3rem)); }
            .job-list thead { display: none; }
            /* The rows become a grid here, so none of the desktop column bounds
               apply and the shell goes back to filling the screen rather than
               hugging a table that no longer has a natural width. */
            .job-list-shell { width: 100%; }
            .job-list { width: 100%; min-width: 100%; }
            .job-main, .location-cell .job-tags { min-width: 0; max-width: none; }
            .job-card {
                display: grid;
                grid-template-columns: 52px 1fr;
                gap: 0.5rem;
            }
            .job-cell { padding: 0.7rem 0.5rem; }
            .company-cell, .country-cell, .posted-cell {
                width: auto;
                min-width: 0;
                max-width: none;
            }
            .location-cell { grid-column: 1 / -1; padding-top: 0; }
            .posted-cell { grid-column: 2 / 3; padding-top: 0; }
            .job-title { white-space: normal; overflow-wrap: anywhere; }
        }
    