@import url("base.css");

@font-face {
    font-family: 'Manrope';
    font-style: normal;
    font-weight: 400 800;
    font-display: swap;
    src: url("../fonts/manrope-latin.woff2") format("woff2");
}

@font-face {
    font-family: 'IBM Plex Mono';
    font-style: normal;
    font-weight: 400;
    font-display: swap;
    src: url("../fonts/ibm-plex-mono-400-latin.woff2") format("woff2");
}

@font-face {
    font-family: 'IBM Plex Mono';
    font-style: normal;
    font-weight: 500;
    font-display: swap;
    src: url("../fonts/ibm-plex-mono-500-latin.woff2") format("woff2");
}

/* ==========================================================================
   traders-business.com — F4 "network atlas"

   Deep blue field, mid-blue rules and a single yellow marker. The page is
   read as an atlas plate: a lane matrix, a numbered industry index, a ledger
   of filed leads and counterparty records. Manrope throughout, monospaced
   reference numbers, square corners, no shadows, no decorative gradients.
   ========================================================================== */

:root {
    --tb-navy-900: #001f5c;
    --tb-navy-800: #003399;
    --tb-navy-700: #0a3f8f;
    --tb-navy-600: #3163ad;
    --tb-navy-400: #6f8fc4;
    --tb-navy-300: #9db6dc;
    --tb-navy-100: #dbe5f5;
    --tb-navy-050: #eef2f8;

    /* The old wordmark was yellow #ffe400 on blue #3163ad; the yellow is kept
       as the marker colour, with a dark amber reserved for text on white. */
    --tb-gold: #ffe400;
    --tb-gold-deep: #8a6100;
    --tb-gold-050: #fffbe0;
    --tb-gold-100: #fff0a8;

    --tb-paper: #ffffff;
    --tb-surface: #eef2f8;
    --tb-surface-deep: #e2e9f4;
    --tb-ink: #101828;
    --tb-ink-soft: #2b3547;
    --tb-muted: #4b5563;
    --tb-line: #cdd8ea;
    --tb-line-strong: #8ba3c9;

    --tb-green: #15613a;
    --tb-red: #9c2b1b;

    /* Shared base.css components inherit the same palette. */
    --brand-blue: var(--tb-navy-600);
    --blue-900: var(--tb-navy-900);
    --blue-800: var(--tb-navy-800);
    --blue-700: var(--tb-navy-700);
    --blue-600: var(--tb-navy-600);
    --blue-500: var(--tb-navy-400);
    --blue-100: var(--tb-navy-100);
    --blue-050: var(--tb-navy-050);

    --orange: var(--tb-gold);
    --orange-600: var(--tb-gold-deep);
    --orange-700: var(--tb-gold-deep);
    --orange-100: var(--tb-gold-100);
    --amber-050: var(--tb-gold-050);
    --amber-100: var(--tb-gold-100);

    --ink: var(--tb-ink);
    --ink-soft: var(--tb-ink-soft);
    --muted: var(--tb-muted);
    --muted-light: var(--tb-muted);
    --line: var(--tb-line);
    --line-strong: var(--tb-line-strong);
    --bg: var(--tb-paper);
    --bg-soft: var(--tb-surface);
    --bg-softer: var(--tb-navy-050);

    --radius-sm: 0;
    --radius: 0;
    --radius-lg: 0;
    --shadow-sm: none;
    --shadow: none;
    --shadow-lg: none;

    --font: 'Manrope', 'Segoe UI', system-ui, -apple-system, sans-serif;
    --font-brand: 'Manrope', 'Segoe UI', system-ui, -apple-system, sans-serif;
    --tb-mono: 'IBM Plex Mono', 'Cascadia Mono', Consolas, monospace;
}

body {
    background: var(--tb-paper);
    color: var(--tb-ink);
    font-family: var(--font);
}

h1,
h2,
h3,
h4 {
    letter-spacing: -0.015em;
}

h1 {
    color: var(--tb-navy-900);
    font-weight: 800;
}

h2,
h3 {
    color: var(--tb-navy-800);
    font-weight: 700;
}

a {
    color: var(--tb-navy-700);
}

a:hover {
    color: var(--tb-gold-deep);
}

.container {
    width: min(1240px, 100% - 40px);
}

.site-main {
    padding: 30px 0 64px;
}

/* --------------------------------------------------------------------------
   1. Header
   -------------------------------------------------------------------------- */

.tb-head {
    border-bottom: 4px solid var(--tb-navy-800);
    background: var(--tb-paper);
}

.tb-strip {
    background: var(--tb-navy-900);
    color: #dbe5f5;
    font-size: 13px;
    letter-spacing: 0.01em;
}

.tb-strip-inner {
    display: flex;
    align-items: center;
    gap: 22px;
    min-height: 38px;
}

.tb-strip-status {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    color: #ffffff;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    font-size: 11px;
}

.tb-strip-status i {
    width: 7px;
    height: 7px;
    background: var(--tb-gold);
}

.tb-strip-date {
    color: #a9bfe2;
    font-family: var(--tb-mono);
    font-size: 12px;
}

.tb-strip nav {
    display: flex;
    gap: 18px;
    margin-left: auto;
}

.tb-strip nav a {
    color: #dbe5f5;
    text-decoration: none;
    font-weight: 600;
}

.tb-strip nav a:hover {
    color: #ffffff;
    text-decoration: underline;
    text-underline-offset: 3px;
}

.tb-mast {
    background: var(--tb-paper);
    border-bottom: 3px solid var(--tb-gold);
}

.tb-mast-inner {
    display: flex;
    align-items: center;
    gap: 26px;
    padding: 20px 0;
}

.tb-brand {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
    color: var(--tb-navy-900);
    flex: 0 0 auto;
}

.tb-mark {
    display: block;
    flex: 0 0 auto;
    width: 48px;
    height: 48px;
}

.tb-mark svg {
    display: block;
    width: 100%;
    height: 100%;
}

.tb-brand-word {
    display: flex;
    flex-direction: column;
    line-height: 1.05;
}

.tb-wordmark {
    font-size: 25px;
    font-weight: 800;
    letter-spacing: -0.02em;
}

.tb-slash {
    color: var(--tb-gold);
    padding: 0 2px;
    font-weight: 500;
}

.tb-wordmark-sub {
    margin-top: 4px;
    color: var(--tb-muted);
    font-family: var(--tb-mono);
    font-size: 10px;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.tb-search {
    display: flex;
    flex: 1 1 420px;
    max-width: 560px;
    margin-left: auto;
    border: 2px solid var(--tb-navy-800);
}

.tb-search input {
    flex: 1 1 auto;
    min-width: 0;
    border: 0;
    padding: 10px 12px;
    font: inherit;
    font-size: 14px;
    color: var(--tb-ink);
    background: #ffffff;
}

.tb-search input:focus {
    outline: 2px solid var(--tb-gold);
    outline-offset: -2px;
}

.tb-search select {
    border: 0;
    border-left: 1px solid var(--tb-line);
    padding: 0 8px;
    background: var(--tb-navy-050);
    color: var(--tb-navy-800);
    font: inherit;
    font-size: 13px;
    font-weight: 600;
}

.tb-search button {
    border: 0;
    background: var(--tb-navy-800);
    color: #ffffff;
    padding: 0 18px;
    font: inherit;
    font-size: 13px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    cursor: pointer;
}

.tb-search button:hover {
    background: var(--tb-gold-deep);
}

.tb-account {
    flex: 0 0 auto;
    font-size: 14px;
}

.tb-account .link-login {
    margin-right: 10px;
}

.tb-lane-bar {
    background: var(--tb-navy-800);
    color: #ffffff;
}

.tb-lane-inner {
    display: flex;
    align-items: stretch;
    gap: 20px;
}

.tb-nav {
    display: flex;
    flex-wrap: wrap;
    align-items: stretch;
    gap: 0;
}

.tb-nav a {
    display: inline-flex;
    align-items: center;
    min-height: 48px;
    padding: 0 11px;
    color: #dbe5f5;
    text-decoration: none;
    font-size: 13px;
    font-weight: 600;
    border-bottom: 3px solid transparent;
}

.tb-nav a:hover {
    color: #ffffff;
    background: rgba(255, 255, 255, 0.08);
}

.tb-nav a.is-active {
    color: #ffffff;
    border-bottom-color: var(--tb-gold);
    background: rgba(255, 255, 255, 0.06);
}

.tb-post-link {
    margin-left: auto;
    align-self: center;
    color: #ffffff;
    text-decoration: none;
    font-size: 13px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    white-space: nowrap;
    border-bottom: 3px solid var(--tb-gold);
    padding: 6px 0;
}

.tb-post-link:hover {
    color: var(--tb-gold-100);
}

.tb-nav-toggle {
    display: none;
}

/* --------------------------------------------------------------------------
   2. Home: hero and atlas card
   -------------------------------------------------------------------------- */

.tb-hero {
    display: grid;
    grid-template-columns: minmax(0, 1.55fr) minmax(320px, 0.9fr);
    gap: 0;
    background: var(--tb-navy-900);
    color: #ffffff;
    border-bottom: 6px solid var(--tb-gold);
    margin-bottom: 44px;
}

.tb-hero-copy {
    padding: 48px 46px 44px;
    border-right: 1px solid rgba(255, 255, 255, 0.22);
}

.tb-kicker {
    margin: 0 0 14px;
    color: var(--tb-navy-600);
    font-family: var(--tb-mono);
    font-size: 11px;
    font-weight: 500;
    letter-spacing: 0.1em;
    text-transform: uppercase;
}

.tb-hero .tb-kicker {
    color: #a9bfe2;
}

.tb-kicker a {
    color: inherit;
    text-decoration: none;
}

.tb-kicker a:hover {
    text-decoration: underline;
    text-underline-offset: 3px;
}

.tb-hero h1 {
    margin: 0 0 18px;
    color: #ffffff;
    font-size: clamp(2.1rem, 1.4rem + 2.6vw, 3.6rem);
    line-height: 1.03;
    letter-spacing: -0.035em;
    max-width: 17ch;
}

.tb-hero-lead {
    margin: 0 0 26px;
    max-width: 66ch;
    color: #dbe5f5;
    font-size: 16.5px;
    line-height: 1.65;
}

.tb-hero-search {
    display: flex;
    max-width: 640px;
    border: 2px solid #ffffff;
    background: #ffffff;
}

.tb-hero-search input {
    flex: 1 1 auto;
    min-width: 0;
    border: 0;
    padding: 13px 14px;
    font: inherit;
    font-size: 15px;
}

.tb-hero-search input:focus {
    outline: 3px solid var(--tb-gold);
    outline-offset: -3px;
}

.tb-hero-search select {
    border: 0;
    border-left: 1px solid var(--tb-line);
    background: var(--tb-navy-050);
    color: var(--tb-navy-800);
    font: inherit;
    font-size: 13px;
    font-weight: 600;
    padding: 0 10px;
}

.tb-hero-search .btn {
    border-radius: 0;
    background: var(--tb-gold);
    color: var(--tb-navy-900);
    text-transform: uppercase;
    letter-spacing: 0.06em;
    font-size: 12px;
    font-weight: 800;
    padding: 0 20px;
}

.tb-hero-search .btn:hover {
    background: var(--tb-navy-900);
    color: var(--tb-gold);
}

.tb-quick {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px 12px;
    margin-top: 18px;
    font-size: 13px;
    color: #a9bfe2;
}

.tb-quick a {
    color: #ffffff;
    text-decoration: none;
    border-bottom: 1px solid rgba(255, 255, 255, 0.45);
    padding-bottom: 1px;
}

.tb-quick a:hover {
    color: var(--tb-gold-100);
    border-bottom-color: var(--tb-gold);
}

.tb-atlas-card {
    display: flex;
    flex-direction: column;
    padding: 34px 32px 30px;
    background: var(--tb-paper);
    color: var(--tb-ink);
}

.tb-atlas-head {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 18px;
}

.tb-atlas-rule {
    width: 34px;
    height: 4px;
    background: var(--tb-gold);
}

.tb-atlas-head h2 {
    margin: 0;
    color: var(--tb-navy-900);
    font-size: 13px;
    font-weight: 800;
    letter-spacing: 0.1em;
    text-transform: uppercase;
}

.tb-tally {
    margin: 0 0 20px;
    border-top: 2px solid var(--tb-navy-800);
}

.tb-tally > div {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: 14px;
    padding: 9px 0;
    border-bottom: 1px solid var(--tb-line);
}

.tb-tally dt {
    color: var(--tb-muted);
    font-size: 13px;
    font-weight: 600;
}

.tb-tally dd {
    margin: 0;
    color: var(--tb-navy-900);
    font-family: var(--tb-mono);
    font-size: 21px;
    font-weight: 500;
}

.tb-corridors {
    margin-bottom: 18px;
}

.tb-corridors h3 {
    margin: 0 0 8px;
    color: var(--tb-navy-800);
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 0.1em;
    text-transform: uppercase;
}

.tb-corridors ul {
    display: flex;
    flex-wrap: wrap;
    gap: 6px 14px;
    list-style: none;
    margin: 0;
    padding: 0;
}

.tb-corridors li {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 13px;
}

.tb-corridors img {
    display: block;
    border: 1px solid var(--tb-line);
}

.tb-corridors a {
    color: var(--tb-navy-700);
    text-decoration: none;
    border-bottom: 1px solid var(--tb-navy-100);
}

.tb-corridors a:hover {
    border-bottom-color: var(--tb-gold);
}

.tb-atlas-note {
    margin: auto 0 12px;
    padding-top: 16px;
    border-top: 1px solid var(--tb-line);
    color: var(--tb-muted);
    font-size: 12px;
    line-height: 1.55;
}

.tb-stamp {
    display: inline-block;
    align-self: flex-start;
    padding: 4px 8px;
    background: var(--tb-gold-050);
    border-left: 3px solid var(--tb-gold);
    color: var(--tb-gold-deep);
    font-family: var(--tb-mono);
    font-size: 10px;
    letter-spacing: 0.05em;
    text-transform: uppercase;
}

/* --------------------------------------------------------------------------
   3. Blocks and prose
   -------------------------------------------------------------------------- */

.tb-block {
    margin: 0 0 44px;
}

.tb-block-head {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 24px;
    margin-bottom: 18px;
    padding-bottom: 12px;
    border-bottom: 2px solid var(--tb-navy-800);
}

.tb-block-head h2 {
    margin: 0 0 5px;
    color: var(--tb-navy-900);
    font-size: clamp(1.35rem, 1.1rem + 0.7vw, 1.8rem);
    font-weight: 800;
    letter-spacing: -0.02em;
}

.tb-block-head p {
    margin: 0;
    max-width: 78ch;
    color: var(--tb-muted);
    font-size: 14.5px;
}

.tb-block-link {
    flex: 0 0 auto;
    color: var(--tb-navy-700);
    text-decoration: none;
    font-size: 12px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    border-bottom: 2px solid var(--tb-gold);
    padding-bottom: 3px;
}

.tb-block-link:hover {
    color: var(--tb-gold-deep);
}

.tb-prose {
    color: var(--tb-ink-soft);
    font-size: 15.5px;
    line-height: 1.7;
}

.tb-prose p {
    margin: 0 0 1em;
}

.tb-prose a {
    color: var(--tb-navy-700);
    text-decoration: underline;
    text-underline-offset: 3px;
}

.tb-prose-columns {
    columns: 2;
    column-gap: 48px;
}

.tb-prose-columns p {
    break-inside: avoid;
}

.tb-read {
    padding-top: 6px;
}

.tb-closing {
    margin: 18px 0 0;
    padding: 12px 16px;
    background: var(--tb-navy-050);
    border-left: 5px solid var(--tb-gold);
    color: var(--tb-navy-900);
    font-weight: 700;
}

.tb-note-line {
    margin: 18px 0 0;
    padding: 10px 14px;
    border-left: 4px solid var(--tb-navy-600);
    background: var(--tb-navy-050);
    color: var(--tb-ink-soft);
    font-size: 13.5px;
}

/* --------------------------------------------------------------------------
   4. Industry matrix (home) and index
   -------------------------------------------------------------------------- */

.tb-matrix-wrap,
.tb-index-wrap,
.tb-ledger-wrap {
    overflow-x: auto;
    border: 1px solid var(--tb-line);
    background: var(--tb-paper);
}

.tb-matrix,
.tb-index,
.tb-ledger {
    width: 100%;
    border-collapse: collapse;
    font-size: 14px;
}

.tb-matrix th,
.tb-index th,
.tb-ledger th {
    padding: 9px 12px;
    background: var(--tb-navy-800);
    color: #ffffff;
    font-size: 10.5px;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    text-align: left;
    white-space: nowrap;
}

.tb-matrix td,
.tb-index td,
.tb-ledger td {
    padding: 10px 12px;
    border-top: 1px solid var(--tb-line);
    vertical-align: top;
}

.tb-matrix tbody tr:nth-child(even),
.tb-index tbody tr:nth-child(even),
.tb-ledger tbody tr:nth-child(even) {
    background: var(--tb-navy-050);
}

.tb-matrix tbody tr:hover,
.tb-index tbody tr:hover,
.tb-ledger tbody tr:hover {
    background: var(--tb-gold-050);
}

.tb-matrix-no,
.tb-index-no {
    width: 52px;
    color: var(--tb-navy-400);
    font-family: var(--tb-mono);
    font-size: 11px;
}

.tb-matrix-name,
.tb-index-name {
    min-width: 230px;
}

.tb-matrix-name > a,
.tb-index-name > a {
    color: var(--tb-navy-900);
    font-weight: 700;
    text-decoration: none;
}

.tb-matrix-name > a:hover,
.tb-index-name > a:hover {
    color: var(--tb-gold-deep);
    text-decoration: underline;
    text-underline-offset: 3px;
}

.tb-matrix-sub {
    display: block;
    margin-top: 3px;
    color: var(--tb-muted);
    font-family: var(--tb-mono);
    font-size: 10.5px;
}

.tb-matrix-bar-col {
    width: 28%;
    min-width: 160px;
}

.tb-matrix-num {
    width: 150px;
    text-align: right;
    font-family: var(--tb-mono);
    font-size: 13px;
}

.tb-matrix-num a {
    color: var(--tb-navy-800);
    font-weight: 500;
    text-decoration: none;
}

.tb-matrix-num a:hover {
    color: var(--tb-gold-deep);
}

.tb-meter {
    display: flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
}

.tb-meter > span {
    display: block;
    height: 9px;
    min-width: 4px;
    background: var(--tb-navy-600);
    border-right: 2px solid var(--tb-gold);
}

.tb-meter b {
    flex: 0 0 auto;
    color: var(--tb-navy-900);
    font-family: var(--tb-mono);
    font-size: 12px;
    font-weight: 500;
}

.tb-meter:hover > span {
    background: var(--tb-gold);
}

.tb-index-sub {
    max-width: 420px;
    color: var(--tb-muted);
    font-size: 12.5px;
}

.tb-index-more {
    margin-left: 5px;
    color: var(--tb-gold-deep);
    font-family: var(--tb-mono);
    font-size: 11px;
}

.tb-index-num {
    width: 170px;
    text-align: right;
    font-family: var(--tb-mono);
    font-size: 12px;
    white-space: nowrap;
}

.tb-index-num a {
    color: var(--tb-navy-700);
    text-decoration: none;
}

.tb-index-num b {
    font-size: 15px;
    font-weight: 500;
}

.tb-index-num a:hover {
    color: var(--tb-gold-deep);
}

.tb-index-alt a {
    color: var(--tb-muted);
    font-size: 11.5px;
}

.tb-index-meter {
    display: block;
    height: 4px;
    margin-top: 7px;
    background: var(--tb-navy-100);
}

.tb-index-meter i {
    display: block;
    height: 4px;
    background: var(--tb-navy-600);
    border-right: 2px solid var(--tb-gold);
}

/* --------------------------------------------------------------------------
   5. Ledger tables
   -------------------------------------------------------------------------- */

.tb-ledger {
    font-size: 13.5px;
}

.tb-ledger th {
    background: var(--tb-navy-900);
}

.tb-col-no {
    width: 44px;
}

.tb-col-date {
    width: 82px;
}

.tb-col-side {
    width: 76px;
}

.tb-col-company {
    width: 190px;
}

.tb-col-place {
    width: 150px;
}

.tb-col-type {
    width: 160px;
}

.tb-row-no {
    color: var(--tb-navy-400);
    font-family: var(--tb-mono);
    font-size: 11px;
}

.tb-row-date {
    color: var(--tb-muted);
    font-family: var(--tb-mono);
    font-size: 11.5px;
    white-space: nowrap;
}

.tb-row-subject > a {
    color: var(--tb-navy-900);
    font-weight: 700;
    text-decoration: none;
    line-height: 1.4;
}

.tb-row-subject > a:hover {
    color: var(--tb-gold-deep);
    text-decoration: underline;
    text-underline-offset: 3px;
}

.tb-row-id {
    display: block;
    margin-top: 3px;
    color: var(--tb-muted);
    font-family: var(--tb-mono);
    font-size: 10.5px;
    line-height: 1.45;
}

.tb-row-company,
.tb-row-companyname,
.tb-row-place,
.tb-row-type {
    color: var(--tb-ink-soft);
    font-size: 12.5px;
}

.tb-row-companyname > a {
    color: var(--tb-navy-800);
    font-weight: 700;
    text-decoration: none;
}

.tb-row-companyname > a:hover {
    color: var(--tb-gold-deep);
    text-decoration: underline;
}

.tb-row-place img {
    display: inline-block;
    margin-right: 5px;
    vertical-align: -1px;
    border: 1px solid var(--tb-line);
}

.tb-side {
    display: inline-block;
    padding: 2px 7px;
    background: var(--tb-navy-100);
    color: var(--tb-navy-800);
    font-family: var(--tb-mono);
    font-size: 10px;
    font-weight: 500;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    white-space: nowrap;
}

.tb-side-wanted {
    background: var(--tb-gold-050);
    color: var(--tb-gold-deep);
    border-bottom: 2px solid var(--tb-gold);
}

.tb-dash {
    color: var(--tb-navy-300);
}

/* --------------------------------------------------------------------------
   6. Page heads and tabs
   -------------------------------------------------------------------------- */

.tb-page-head {
    margin: 0 0 24px;
    padding: 26px 28px 24px;
    background: var(--tb-navy-050);
    border-top: 5px solid var(--tb-navy-800);
    border-bottom: 1px solid var(--tb-line);
}

.tb-page-head h1 {
    margin: 0 0 10px;
    max-width: 24ch;
    font-size: clamp(1.8rem, 1.3rem + 1.6vw, 2.55rem);
    line-height: 1.08;
}

.tb-page-lead {
    margin: 0;
    max-width: 86ch;
    color: var(--tb-ink-soft);
    font-size: 15px;
    line-height: 1.65;
}

.tb-tabs {
    display: flex;
    flex-wrap: wrap;
    gap: 0;
    margin: 0 0 22px;
    border-bottom: 1px solid var(--tb-line);
}

.tb-tabs a {
    padding: 9px 12px;
    color: var(--tb-navy-700);
    text-decoration: none;
    font-size: 12.5px;
    font-weight: 600;
    border-bottom: 3px solid transparent;
}

.tb-tabs a:hover {
    background: var(--tb-navy-050);
    color: var(--tb-gold-deep);
}

.tb-tabs a.is-active {
    border-bottom-color: var(--tb-gold);
    color: var(--tb-navy-900);
    font-weight: 800;
}

/* --------------------------------------------------------------------------
   7. Category layout, toolbar, rails
   -------------------------------------------------------------------------- */

.tb-layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 300px;
    gap: 30px;
    align-items: start;
}

.tb-layout-main {
    min-width: 0;
}

.tb-toolbar {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: 18px;
    margin: 0 0 12px;
    padding-bottom: 8px;
    border-bottom: 2px solid var(--tb-navy-800);
}

.tb-toolbar h2 {
    margin: 0;
    color: var(--tb-navy-900);
    font-size: 15px;
    font-weight: 800;
    letter-spacing: 0.02em;
    text-transform: uppercase;
}

.tb-toolbar p {
    margin: 0;
    color: var(--tb-muted);
    font-family: var(--tb-mono);
    font-size: 10.5px;
    letter-spacing: 0.03em;
}

.tb-rail {
    display: flex;
    flex-direction: column;
    gap: 18px;
}

.tb-rail-card {
    padding: 18px;
    background: var(--tb-paper);
    border: 1px solid var(--tb-line);
    border-top: 4px solid var(--tb-navy-800);
}

.tb-rail-card h2 {
    margin: 0 0 12px;
    color: var(--tb-navy-900);
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 0.09em;
    text-transform: uppercase;
}

.tb-facts {
    margin: 0;
}

.tb-facts > div {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: 12px;
    padding: 6px 0;
    border-bottom: 1px solid var(--tb-line);
}

.tb-facts > div:last-child {
    border-bottom: 0;
}

.tb-facts dt {
    color: var(--tb-muted);
    font-size: 12px;
}

.tb-facts dd {
    margin: 0;
    color: var(--tb-navy-900);
    font-family: var(--tb-mono);
    font-size: 12px;
    text-align: right;
}

.tb-facts dd a {
    color: var(--tb-navy-700);
    word-break: break-all;
}

.tb-rail-list {
    list-style: none;
    margin: 0;
    padding: 0;
}

.tb-rail-list li {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: 10px;
    padding: 7px 0;
    border-bottom: 1px solid var(--tb-line);
    font-size: 12.5px;
}

.tb-rail-list li:last-child {
    border-bottom: 0;
}

.tb-rail-list a {
    color: var(--tb-navy-800);
    text-decoration: none;
    font-weight: 600;
}

.tb-rail-list a:hover {
    color: var(--tb-gold-deep);
    text-decoration: underline;
}

.tb-rail-count {
    flex: 0 0 auto;
    color: var(--tb-muted);
    font-family: var(--tb-mono);
    font-size: 10.5px;
}

.tb-rail-more {
    display: inline-block;
    margin-top: 10px;
    color: var(--tb-navy-700);
    text-decoration: none;
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    border-bottom: 2px solid var(--tb-gold);
    padding-bottom: 2px;
}

.tb-rail-more:hover {
    color: var(--tb-gold-deep);
}

.tb-rail-cta {
    background: var(--tb-navy-050);
    border-top-color: var(--tb-gold);
}

.tb-rail-cta p {
    margin: 0 0 12px;
    color: var(--tb-ink-soft);
    font-size: 12.5px;
    line-height: 1.55;
}

.tb-rail-cta .btn {
    display: block;
    margin-top: 8px;
    text-align: center;
}

.tb-empty {
    padding: 30px 24px;
    border: 1px solid var(--tb-line);
    border-left: 5px solid var(--tb-gold);
    background: var(--tb-navy-050);
}

.tb-empty h3 {
    margin: 0 0 8px;
    color: var(--tb-navy-900);
}

.tb-empty p {
    margin: 0 0 10px;
    color: var(--tb-ink-soft);
    font-size: 14px;
}

.tb-empty-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 16px;
}

.tb-chips {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    list-style: none;
    margin: 12px 0 0;
    padding: 0;
}

.tb-chips li a,
.tb-chips li span {
    display: inline-block;
    padding: 3px 8px;
    background: var(--tb-navy-050);
    border: 1px solid var(--tb-line);
    color: var(--tb-navy-800);
    font-size: 11.5px;
    font-weight: 600;
    text-decoration: none;
}

.tb-chips li a:hover {
    border-color: var(--tb-gold);
    color: var(--tb-gold-deep);
}

/* --------------------------------------------------------------------------
   8. Lead and company records
   -------------------------------------------------------------------------- */

.tb-record {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 300px;
    gap: 30px;
    align-items: start;
}

.tb-record-main {
    min-width: 0;
}

.tb-record-head {
    padding-bottom: 18px;
    border-bottom: 2px solid var(--tb-navy-800);
}

.tb-record-head h1 {
    margin: 0 0 8px;
    font-size: clamp(1.8rem, 1.3rem + 1.4vw, 2.5rem);
    line-height: 1.1;
}

.tb-record-loc {
    display: flex;
    align-items: center;
    gap: 7px;
    margin: 0;
    color: var(--tb-muted);
    font-size: 14px;
}

.tb-record-loc img {
    border: 1px solid var(--tb-line);
}

.tb-record-section {
    margin-top: 26px;
}

.tb-record-section h2 {
    margin: 0 0 10px;
    color: var(--tb-navy-900);
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 0.09em;
    text-transform: uppercase;
    padding-bottom: 6px;
    border-bottom: 1px solid var(--tb-line);
}

.tb-record-summary {
    margin: 0 0 14px;
    padding: 12px 14px;
    background: var(--tb-navy-050);
    border-left: 4px solid var(--tb-navy-600);
    color: var(--tb-ink-soft);
    font-size: 14px;
    line-height: 1.6;
}

.tb-stamp-card {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 14px;
    background: var(--tb-navy-900);
    color: #ffffff;
    border-left: 5px solid var(--tb-gold);
}

.tb-monogram {
    display: grid;
    place-items: center;
    flex: 0 0 auto;
    width: 44px;
    height: 44px;
    background: var(--tb-navy-800);
    border: 1px solid var(--tb-navy-600);
    color: #ffffff;
    font-family: var(--tb-mono);
    font-size: 15px;
}

.tb-stamp-card p {
    margin: 0;
    font-size: 12px;
    line-height: 1.45;
}

.tb-stamp-card b {
    display: block;
    color: #ffffff;
    font-size: 13px;
}

.tb-notice {
    margin: 0 0 34px;
}

.tb-notice-head {
    padding: 0 0 22px;
    border-bottom: 2px solid var(--tb-navy-800);
}

.tb-notice-head h1 {
    margin: 0 0 10px;
    max-width: 30ch;
    font-size: clamp(1.7rem, 1.25rem + 1.5vw, 2.5rem);
    line-height: 1.12;
}

.tb-notice-stamp {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 12px;
    color: var(--tb-muted);
    font-family: var(--tb-mono);
    font-size: 11px;
}

.tb-notice-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 4px 18px;
    margin: 0;
    color: var(--tb-muted);
    font-size: 12.5px;
}

.tb-notice-body {
    padding: 22px 0 4px;
}

.tb-notice-meta-block {
    margin-top: 20px;
    padding: 18px;
    background: var(--tb-navy-050);
    border-top: 4px solid var(--tb-navy-800);
}

.tb-notice-meta-block > h2 {
    margin: 0 0 10px;
    color: var(--tb-navy-900);
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 0.09em;
    text-transform: uppercase;
}

.tb-meta-list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 10px 22px;
    margin: 0;
}

.tb-meta-list dt {
    color: var(--tb-muted);
    font-family: var(--tb-mono);
    font-size: 10px;
    letter-spacing: 0.06em;
    text-transform: uppercase;
}

.tb-meta-list dd {
    margin: 2px 0 0;
    color: var(--tb-ink-soft);
    font-size: 13px;
}

.tb-meta-list img {
    margin-right: 5px;
    vertical-align: -1px;
    border: 1px solid var(--tb-line);
}

.tb-notice-layout {
    margin-top: 10px;
}

/* --------------------------------------------------------------------------
   9. FAQ
   -------------------------------------------------------------------------- */

.tb-faq {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 18px;
}

.tb-faq-item {
    padding: 14px 16px;
    border-left: 4px solid var(--tb-navy-600);
    background: var(--tb-navy-050);
}

.tb-faq-item h3 {
    margin: 0 0 6px;
    color: var(--tb-navy-900);
    font-size: 13.5px;
}

.tb-faq-item p {
    margin: 0;
    color: var(--tb-ink-soft);
    font-size: 13px;
    line-height: 1.6;
}

/* --------------------------------------------------------------------------
   10. Footer
   -------------------------------------------------------------------------- */

.tb-foot {
    margin-top: 20px;
    padding-top: 30px;
    background: var(--tb-navy-900);
    color: #dbe5f5;
    border-top: 6px solid var(--tb-gold);
}

.tb-foot-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.5fr) repeat(3, minmax(150px, 0.8fr));
    gap: 34px;
    padding-bottom: 30px;
}

.tb-foot-about .tb-brand {
    color: #ffffff;
}

.tb-foot-about .tb-wordmark {
    color: #ffffff;
}

.tb-foot-about .tb-wordmark-sub {
    color: #a9bfe2;
}

.tb-foot-about p {
    margin: 14px 0 0;
    max-width: 46ch;
    color: #a9bfe2;
    font-size: 12.5px;
    line-height: 1.65;
}

.tb-foot h2 {
    margin: 0 0 10px;
    color: #ffffff;
    font-size: 10.5px;
    font-weight: 800;
    letter-spacing: 0.1em;
    text-transform: uppercase;
}

.tb-foot ul {
    list-style: none;
    margin: 0;
    padding: 0;
}

.tb-foot li + li {
    margin-top: 6px;
}

.tb-foot a {
    color: #dbe5f5;
    text-decoration: none;
    font-size: 12.5px;
}

.tb-foot a:hover {
    color: var(--tb-gold-100);
    text-decoration: underline;
    text-underline-offset: 3px;
}

.tb-foot-bottom {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 8px 24px;
    padding: 16px 0 22px;
    border-top: 1px solid rgba(255, 255, 255, 0.22);
}

.tb-foot-bottom p {
    margin: 0;
    color: #a9bfe2;
    font-size: 11.5px;
}

/* --------------------------------------------------------------------------
   11. Base component adjustments
   -------------------------------------------------------------------------- */

.account-links {
    display: flex;
    align-items: center;
    gap: 10px;
}

.btn {
    border-radius: 0;
    box-shadow: none;
    font-weight: 700;
}

.btn-primary {
    background: var(--tb-navy-800);
    border-color: var(--tb-navy-800);
}

.btn-primary:hover {
    background: var(--tb-gold-deep);
    border-color: var(--tb-gold-deep);
}

.btn-ghost {
    border-color: var(--tb-navy-600);
    color: var(--tb-navy-700);
}

.btn-ghost:hover {
    border-color: var(--tb-gold-deep);
    color: var(--tb-gold-deep);
}

.breadcrumbs {
    margin-bottom: 16px;
}

.breadcrumbs a {
    color: var(--tb-navy-600);
}

.pagination {
    margin-top: 18px;
}

.pagination-list a,
.pagination-list .is-current,
.pagination-gap {
    border-radius: 0;
}

.pagination-list .is-current {
    background: var(--tb-navy-800);
    border-color: var(--tb-navy-800);
}

/* --------------------------------------------------------------------------
   12. Responsive
   -------------------------------------------------------------------------- */

@media (max-width: 1080px) {
    .tb-hero {
        grid-template-columns: 1fr;
    }

    .tb-hero-copy {
        border-right: 0;
        border-bottom: 1px solid rgba(255, 255, 255, 0.22);
    }

    .tb-atlas-card {
        padding: 26px 28px;
    }

    .tb-tally {
        display: grid;
        grid-template-columns: repeat(4, minmax(0, 1fr));
        gap: 0 18px;
    }

    .tb-layout,
    .tb-record {
        grid-template-columns: minmax(0, 1fr) 270px;
        gap: 24px;
    }

    .tb-foot-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

    .tb-foot-about {
        grid-column: 1 / -1;
    }
}

@media (max-width: 860px) {
    .tb-mast-inner {
        flex-wrap: wrap;
        gap: 14px;
    }

    .tb-search {
        order: 3;
        flex-basis: 100%;
        max-width: none;
        margin-left: 0;
    }

    .tb-account {
        margin-left: auto;
    }

    .tb-lane-inner {
        flex-wrap: wrap;
        gap: 0;
    }

    .tb-nav-toggle {
        display: flex;
        align-items: center;
        gap: 8px;
        width: 100%;
        min-height: 46px;
        padding: 0;
        border: 0;
        background: transparent;
        color: #ffffff;
        font: inherit;
        font-size: 13px;
        font-weight: 700;
        text-transform: uppercase;
        letter-spacing: 0.06em;
        cursor: pointer;
    }

    .tb-nav-toggle span,
    .tb-nav-toggle span::before,
    .tb-nav-toggle span::after {
        display: block;
        width: 18px;
        height: 2px;
        background: var(--tb-gold);
        content: "";
    }

    .tb-nav-toggle span {
        position: relative;
    }

    .tb-nav-toggle span::before {
        position: absolute;
        top: -6px;
    }

    .tb-nav-toggle span::after {
        position: absolute;
        top: 6px;
    }

    .tb-nav {
        display: none;
        flex-basis: 100%;
        flex-direction: column;
        padding-bottom: 8px;
    }

    .tb-nav.is-open {
        display: flex;
    }

    .tb-nav a {
        min-height: 40px;
        padding: 0 4px;
        border-bottom: 1px solid rgba(255, 255, 255, 0.14);
    }

    .tb-nav a.is-active {
        border-bottom-color: var(--tb-gold);
    }

    .tb-post-link {
        margin-left: 0;
        margin-bottom: 10px;
    }

    .tb-layout,
    .tb-record {
        grid-template-columns: minmax(0, 1fr);
    }

    .tb-rail {
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .tb-prose-columns {
        columns: 1;
    }

    .tb-faq {
        grid-template-columns: 1fr;
    }

    .tb-foot-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 620px) {
    .container {
        width: min(1240px, 100% - 28px);
    }

    .tb-strip-inner {
        flex-wrap: wrap;
        gap: 4px 14px;
        padding: 6px 0;
    }

    .tb-strip nav {
        flex-basis: 100%;
        margin-left: 0;
        gap: 14px;
        padding-bottom: 2px;
    }

    .tb-strip-date {
        display: none;
    }

    .tb-hero-copy {
        padding: 32px 20px 30px;
    }

    .tb-hero h1 {
        max-width: none;
    }

    .tb-hero-search {
        flex-wrap: wrap;
    }

    .tb-hero-search input {
        flex-basis: 100%;
        border-bottom: 1px solid var(--tb-line);
    }

    .tb-hero-search select {
        flex: 1 1 auto;
        min-height: 42px;
        border-left: 0;
    }

    .tb-hero-search .btn {
        padding: 11px 18px;
    }

    .tb-atlas-card {
        padding: 22px 20px;
    }

    .tb-tally {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .tb-page-head {
        padding: 20px 18px;
    }

    .tb-block-head {
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
    }

    .tb-toolbar {
        flex-direction: column;
        gap: 2px;
    }

    .tb-rail {
        grid-template-columns: 1fr;
    }

    .tb-ledger,
    .tb-ledger thead,
    .tb-ledger tbody,
    .tb-ledger tr,
    .tb-ledger th,
    .tb-ledger td {
        display: block;
    }

    .tb-ledger thead {
        position: absolute;
        width: 1px;
        height: 1px;
        overflow: hidden;
        clip: rect(0 0 0 0);
    }

    .tb-ledger tr {
        padding: 10px 0;
        border-top: 1px solid var(--tb-line);
    }

    .tb-ledger td {
        display: flex;
        gap: 12px;
        padding: 3px 12px;
        border-top: 0;
    }

    .tb-ledger td::before {
        content: attr(data-label);
        flex: 0 0 92px;
        color: var(--tb-muted);
        font-family: var(--tb-mono);
        font-size: 10px;
        letter-spacing: 0.04em;
        text-transform: uppercase;
    }

    .tb-foot-grid {
        grid-template-columns: 1fr;
        gap: 24px;
    }

    .tb-foot-bottom {
        flex-direction: column;
    }
}
