:root {
    --ht-trades-green: #3f6358;
    --ht-trades-green-dark: #29483f;
    --ht-trades-green-soft: #dfe8e4;
    --ht-trades-cream: #f8f4ee;
    --ht-trades-cream-deep: #efe8de;
    --ht-trades-gold: #b38a42;
    --ht-trades-ink: #342e28;
    --ht-trades-text: #5b554f;
    --ht-trades-line: #ddd5ca;
    --ht-trades-white: #ffffff;
    --ht-trades-shadow: 0 12px 34px rgba(52, 46, 40, 0.09);
}

.ht-trades,
.ht-trades * {
    box-sizing: border-box;
}

.ht-trades {
    color: var(--ht-trades-text);
    margin: 0 auto 3rem;
    max-width: 1220px;
    font-size: 1rem;
    line-height: 1.55;
}

.ht-trades a {
    color: var(--ht-trades-green-dark);
}

.ht-trades__masthead {
    position: relative;
    overflow: hidden;
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(230px, 34%);
    min-height: 245px;
    margin-bottom: 1.5rem;
    color: #fff;
    background:
        radial-gradient(circle at 76% 24%, rgba(255,255,255,.12), transparent 28%),
        linear-gradient(120deg, var(--ht-trades-green-dark) 0%, var(--ht-trades-green) 58%, #718a82 100%);
    border-bottom: 4px solid var(--ht-trades-gold);
    box-shadow: var(--ht-trades-shadow);
}

.ht-trades__masthead::after {
    content: "";
    position: absolute;
    inset: 0;
    pointer-events: none;
    opacity: .11;
    background-image:
        repeating-linear-gradient(0deg, transparent, transparent 7px, rgba(255,255,255,.17) 8px),
        repeating-linear-gradient(90deg, transparent, transparent 13px, rgba(255,255,255,.08) 14px);
    mix-blend-mode: soft-light;
}

.ht-trades__masthead-inner {
    position: relative;
    z-index: 2;
    padding: 2.6rem 3rem 2.3rem;
    align-self: center;
}

.ht-trades__eyebrow {
    margin-bottom: .4rem;
    color: var(--ht-trades-gold);
    font-size: .78rem;
    font-weight: 800;
    letter-spacing: .12em;
    text-transform: uppercase;
}

.ht-trades__masthead h1,
.ht-trades__detail-header h1 {
    margin: 0;
    color: inherit;
    font-family: Georgia, "Times New Roman", serif;
    font-weight: 500;
    letter-spacing: -.025em;
}

.ht-trades__masthead h1 {
    font-size: clamp(2.4rem, 5vw, 4rem);
    line-height: 1.04;
}

.ht-trades__masthead p {
    max-width: 760px;
    margin: 1rem 0 1.3rem;
    color: rgba(255,255,255,.92);
    font-size: 1.05rem;
}

.ht-trades__masthead-meta {
    display: flex;
    flex-wrap: wrap;
    gap: .55rem .75rem;
}

.ht-trades__masthead-meta span {
    padding: .45rem .7rem;
    border: 1px solid rgba(255,255,255,.25);
    border-radius: 999px;
    background: rgba(255,255,255,.08);
    color: rgba(255,255,255,.94);
    font-size: .82rem;
}

.ht-trades__masthead-meta strong {
    color: #fff;
}

.ht-trades__masthead-motif {
    position: relative;
    z-index: 1;
    min-height: 100%;
    opacity: .88;
}

.ht-trades__motif-mark {
    position: absolute;
    display: block;
    border: 2px solid rgba(255,255,255,.42);
    background: rgba(248,244,238,.08);
    box-shadow: inset 0 0 0 7px rgba(255,255,255,.025);
}

.ht-trades__motif-mark--hammer {
    width: 128px;
    height: 54px;
    right: 58px;
    top: 38px;
    transform: rotate(-13deg);
    border-radius: 7px;
}
.ht-trades__motif-mark--hammer::after {
    content: "";
    position: absolute;
    width: 18px;
    height: 128px;
    left: 51px;
    top: 45px;
    border-radius: 9px;
    background: rgba(255,255,255,.34);
}

.ht-trades__motif-mark--ledger {
    width: 126px;
    height: 152px;
    right: 165px;
    bottom: -32px;
    transform: rotate(8deg);
    border-radius: 4px;
}
.ht-trades__motif-mark--ledger::before,
.ht-trades__motif-mark--ledger::after {
    content: "";
    position: absolute;
    left: 18px;
    right: 18px;
    height: 1px;
    background: rgba(255,255,255,.35);
}
.ht-trades__motif-mark--ledger::before { top: 50px; }
.ht-trades__motif-mark--ledger::after { top: 82px; }

.ht-trades__motif-mark--shop {
    width: 148px;
    height: 96px;
    right: 11px;
    bottom: 22px;
    border-radius: 3px;
}
.ht-trades__motif-mark--shop::before {
    content: "";
    position: absolute;
    left: -7px;
    top: -30px;
    width: 158px;
    height: 42px;
    clip-path: polygon(0 100%, 50% 0, 100% 100%);
    background: rgba(255,255,255,.20);
}

.ht-trades__directory {
    padding: 1.25rem 1.35rem 1.6rem;
    border: 1px solid var(--ht-trades-line);
    background: rgba(255,255,255,.72);
    box-shadow: 0 6px 24px rgba(52,46,40,.05);
}

.ht-trades__toolbar {
    display: grid;
    grid-template-columns: minmax(260px, 2fr) repeat(3, minmax(145px, 1fr)) auto;
    gap: .75rem;
    align-items: end;
    padding: 1rem;
    background: var(--ht-trades-cream);
    border: 1px solid var(--ht-trades-line);
}

.ht-trades__label {
    display: block;
    margin: 0 0 .35rem;
    color: var(--ht-trades-ink);
    font-size: .76rem;
    font-weight: 800;
    letter-spacing: .03em;
}

.ht-trades__search-box {
    position: relative;
}

.ht-trades__search-box input,
.ht-trades__filter select {
    width: 100%;
    min-height: 44px;
    margin: 0;
    padding: .7rem .8rem;
    border: 1px solid #cfc7bc;
    border-radius: 5px;
    color: var(--ht-trades-ink);
    background: #fff;
    box-shadow: none;
}

.ht-trades__search-box input {
    padding-right: 2.4rem;
}

.ht-trades__search-box span {
    position: absolute;
    right: .8rem;
    top: 50%;
    transform: translateY(-50%);
    color: var(--ht-trades-green);
    font-size: 1.25rem;
    pointer-events: none;
}

.ht-trades__search-box input:focus,
.ht-trades__filter select:focus {
    outline: 3px solid rgba(63,99,88,.18);
    border-color: var(--ht-trades-green);
}

.ht-trades__clear,
.ht-trades__alphabet button {
    appearance: none;
    border: 0;
    cursor: pointer;
    font: inherit;
}

.ht-trades__clear {
    min-height: 44px;
    padding: .72rem 1rem;
    border-radius: 5px;
    color: #fff;
    background: var(--ht-trades-green);
    font-weight: 700;
    white-space: nowrap;
}

.ht-trades__clear:hover,
.ht-trades__clear:focus {
    background: var(--ht-trades-green-dark);
}

.ht-trades__browse-row {
    display: flex;
    flex-wrap: wrap;
    gap: .8rem 1.2rem;
    justify-content: space-between;
    align-items: center;
    margin: 1rem 0 .8rem;
}

.ht-trades__results-summary {
    color: var(--ht-trades-ink);
    font-size: .88rem;
}

.ht-trades__alphabet {
    display: flex;
    flex-wrap: wrap;
    gap: .2rem;
}

.ht-trades__alphabet button {
    min-width: 30px;
    height: 30px;
    padding: 0 .4rem;
    color: var(--ht-trades-green-dark);
    background: transparent;
    border-radius: 4px;
    font-size: .82rem;
    font-weight: 700;
}

.ht-trades__alphabet button:hover,
.ht-trades__alphabet button:focus,
.ht-trades__alphabet button.is-active {
    color: #fff;
    background: var(--ht-trades-green);
}

.ht-trades__table-wrap {
    overflow-x: auto;
    border: 1px solid var(--ht-trades-line);
}

.ht-trades__table {
    width: 100%;
    margin: 0;
    border-collapse: collapse;
    background: #fff;
    font-size: .88rem;
}

.ht-trades__table th,
.ht-trades__table td {
    padding: .68rem .7rem;
    border-bottom: 1px solid #e8e1d8;
    text-align: left;
    vertical-align: top;
}

.ht-trades__table thead th {
    position: sticky;
    top: 0;
    z-index: 1;
    color: var(--ht-trades-ink);
    background: #ece8e1;
    font-size: .76rem;
    letter-spacing: .02em;
    white-space: nowrap;
}

.ht-trades__table tbody tr:hover {
    background: #fbf8f3;
}

.ht-trades__table tbody tr:last-child th,
.ht-trades__table tbody tr:last-child td {
    border-bottom: 0;
}

.ht-trades__entry-link {
    display: inline;
    color: var(--ht-trades-green-dark) !important;
    font-weight: 800;
    text-decoration: underline;
    text-decoration-color: rgba(179,138,66,.65);
    text-underline-offset: 3px;
}

.ht-trades__entry-link:hover {
    color: #1e3d35 !important;
    text-decoration-color: var(--ht-trades-gold);
}

.ht-trades__xref {
    display: block;
    margin-top: .18rem;
    color: #8a7b6b;
    font-size: .69rem;
    font-weight: 500;
}

.ht-trades__status {
    color: var(--ht-trades-green-dark);
    font-weight: 700;
}

.ht-trades__empty {
    padding: 2.5rem 1rem;
    text-align: center;
    background: var(--ht-trades-cream);
}

.ht-trades__empty strong,
.ht-trades__empty span {
    display: block;
}

.ht-trades__interpretive-note {
    margin-top: 1rem;
    padding: 1rem 1.1rem;
    border-left: 4px solid var(--ht-trades-gold);
    color: #61584f;
    background: #fbf7f0;
    font-size: .88rem;
}

.ht-trades__interpretive-note strong {
    display: block;
    margin-bottom: .22rem;
    color: var(--ht-trades-ink);
}

.ht-trades__interpretive-note p {
    margin: 0;
}


/* Detail view */
.ht-trades--detail {
    padding-top: .4rem;
}

.ht-trades__crumbs {
    display: flex;
    flex-wrap: wrap;
    gap: .45rem;
    align-items: center;
    margin: .6rem 0 1rem;
    color: #766d63;
    font-size: .84rem;
}

.ht-trades__crumbs a {
    font-weight: 700;
    text-decoration: none;
}

.ht-trades__detail-header {
    display: flex;
    gap: 1rem;
    justify-content: space-between;
    align-items: flex-end;
    padding: 1.7rem 1.9rem;
    border-top: 1px solid var(--ht-trades-line);
    border-bottom: 4px solid var(--ht-trades-gold);
    color: var(--ht-trades-ink);
    background:
        linear-gradient(120deg, rgba(248,244,238,.96), rgba(239,232,222,.88)),
        repeating-linear-gradient(90deg, transparent 0 12px, rgba(63,99,88,.04) 12px 13px);
}

.ht-trades__detail-header h1 {
    margin-bottom: .65rem;
    font-size: clamp(2.4rem, 5vw, 4rem);
    line-height: 1;
}

.ht-trades__detail-header .ht-trades__eyebrow {
    color: var(--ht-trades-green);
}

.ht-trades__badges {
    display: flex;
    flex-wrap: wrap;
    gap: .4rem;
}

.ht-trades__badges span {
    display: inline-flex;
    align-items: center;
    min-height: 28px;
    padding: .3rem .62rem;
    border: 1px solid #c8d3cf;
    border-radius: 999px;
    color: var(--ht-trades-green-dark);
    background: var(--ht-trades-green-soft);
    font-size: .75rem;
    font-weight: 800;
}

.ht-trades__badges span:first-child {
    border-color: #d6bd8a;
    color: #6e511f;
    background: #f2e7cf;
}

.ht-trades__back {
    flex: 0 0 auto;
    padding: .52rem .72rem;
    border-radius: 4px;
    text-decoration: none;
    font-size: .84rem;
    font-weight: 800;
}

.ht-trades__back:hover {
    background: rgba(63,99,88,.08);
}

.ht-trades__detail-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.75fr) minmax(290px, .85fr);
    gap: 1.1rem;
    margin-top: 1.1rem;
}

.ht-trades__detail-main,
.ht-trades__detail-side {
    display: grid;
    align-content: start;
    gap: 1rem;
}

.ht-trades__panel,
.ht-trades__image-card {
    margin: 0;
    border: 1px solid var(--ht-trades-line);
    background: #fff;
    box-shadow: 0 5px 20px rgba(52,46,40,.045);
}

.ht-trades__panel {
    padding: 1.15rem 1.25rem;
}

.ht-trades__panel h2 {
    margin: 0 0 .75rem;
    color: var(--ht-trades-green-dark);
    font-family: Georgia, "Times New Roman", serif;
    font-size: 1.2rem;
    font-weight: 700;
}

.ht-trades__panel p {
    margin: .2rem 0 .8rem;
}

.ht-trades__panel p:last-child {
    margin-bottom: 0;
}

.ht-trades__panel--feature {
    border-top: 4px solid var(--ht-trades-green);
}

.ht-trades__lead {
    color: var(--ht-trades-ink);
    font-size: 1.06rem;
}

.ht-trades__modern-equivalent {
    display: grid;
    gap: .18rem;
    margin-top: 1rem;
    padding: .8rem .9rem;
    border-left: 3px solid var(--ht-trades-gold);
    background: var(--ht-trades-cream);
}

.ht-trades__modern-equivalent strong {
    color: #6d5123;
    font-size: .77rem;
    text-transform: uppercase;
    letter-spacing: .04em;
}

.ht-trades__classification-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: .7rem;
    margin-top: .8rem;
}

.ht-trades__classification-grid > div {
    padding: .75rem .8rem;
    border: 1px solid #e2dbd1;
    background: #fbf9f6;
}

.ht-trades__classification-grid span,
.ht-trades__classification-grid strong {
    display: block;
}

.ht-trades__classification-grid span {
    margin-bottom: .16rem;
    color: #81766a;
    font-size: .73rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .04em;
}

.ht-trades__classification-grid strong {
    color: var(--ht-trades-ink);
    font-size: .92rem;
}

.ht-trades__future-connection {
    display: grid;
    gap: .22rem;
    padding: .9rem;
    border: 1px dashed #c9bda9;
    background: #fbf7f0;
}

.ht-trades__future-connection span {
    color: var(--ht-trades-gold);
    font-size: .74rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: .05em;
}

.ht-trades__future-connection strong {
    color: var(--ht-trades-ink);
    font-weight: 700;
}

.ht-trades__related {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: .6rem;
}

.ht-trades__related a {
    display: grid;
    gap: .12rem;
    padding: .7rem .8rem;
    border: 1px solid #ded7cd;
    text-decoration: none;
    background: #fcfaf7;
}

.ht-trades__related a:hover {
    border-color: #aabbb5;
    background: #f4f8f6;
}

.ht-trades__related strong {
    color: var(--ht-trades-green-dark);
    font-size: .9rem;
}

.ht-trades__related span {
    color: #80766c;
    font-size: .75rem;
}

.ht-trades__image-card {
    overflow: hidden;
}

.ht-trades__image-card img {
    display: block;
    width: 100%;
    height: auto;
    aspect-ratio: 4 / 3;
    object-fit: cover;
    filter: saturate(.72) sepia(.1);
}

.ht-trades__image-card figcaption {
    display: grid;
    gap: .12rem;
    padding: .65rem .8rem;
    border-top: 1px solid var(--ht-trades-line);
    color: #6b6258;
    background: #faf7f2;
    font-size: .75rem;
}

.ht-trades__image-placeholder {
    display: grid;
    place-items: center;
    min-height: 280px;
    padding: 2rem 1.4rem;
    text-align: center;
    color: #786f65;
    background:
        linear-gradient(rgba(248,244,238,.92), rgba(239,232,222,.94)),
        repeating-linear-gradient(45deg, rgba(63,99,88,.08) 0 2px, transparent 2px 14px);
}

.ht-trades__image-placeholder strong {
    margin: .35rem 0 .25rem;
    color: var(--ht-trades-ink);
    font-family: Georgia, "Times New Roman", serif;
    font-size: 1.08rem;
}

.ht-trades__image-placeholder p {
    max-width: 270px;
    margin: 0;
    font-size: .82rem;
}

.ht-trades__placeholder-icon {
    display: grid;
    place-items: center;
    width: 58px;
    height: 58px;
    border: 1px solid #b8aa96;
    border-radius: 50%;
    color: var(--ht-trades-green);
    background: rgba(255,255,255,.55);
    font-size: 1.6rem;
}

.ht-trades__at-a-glance dl,
.ht-trades__image-provenance {
    margin: 0;
}

.ht-trades__at-a-glance dl > div,
.ht-trades__image-provenance > div {
    display: grid;
    grid-template-columns: minmax(92px, .8fr) minmax(0, 1.2fr);
    gap: .6rem;
    padding: .5rem 0;
    border-top: 1px solid #ece5dc;
}

.ht-trades__at-a-glance dl > div:first-child,
.ht-trades__image-provenance > div:first-child {
    border-top: 0;
}

.ht-trades__at-a-glance dt,
.ht-trades__image-provenance dt {
    color: #786e64;
    font-size: .75rem;
    font-weight: 700;
}

.ht-trades__at-a-glance dd,
.ht-trades__image-provenance dd {
    margin: 0;
    color: var(--ht-trades-ink);
    font-size: .82rem;
    overflow-wrap: anywhere;
}

.ht-trades__source-panel {
    border-top: 3px solid var(--ht-trades-gold);
    font-size: .84rem;
}

.ht-trades__source-panel a {
    font-weight: 800;
}

.ht-trades__crossref-panel {
    background: #faf6ed;
}


/* Helix / Bootstrap coexistence */
.ht-trades input,
.ht-trades select,
.ht-trades button {
    font-family: inherit;
}

.ht-trades [hidden] {
    display: none !important;
}

@media (max-width: 1040px) {
    .ht-trades__toolbar {
        grid-template-columns: 2fr 1fr 1fr;
    }

    .ht-trades__filter:nth-of-type(4) {
        grid-column: 1 / 2;
    }

    .ht-trades__clear {
        justify-self: start;
    }
}

@media (max-width: 860px) {
    .ht-trades__masthead {
        grid-template-columns: 1fr;
    }

    .ht-trades__masthead-inner {
        padding: 2.2rem 1.5rem 2rem;
    }

    .ht-trades__masthead-motif {
        position: absolute;
        inset: 0 0 0 55%;
        opacity: .42;
    }

    .ht-trades__detail-grid {
        grid-template-columns: 1fr;
    }

    .ht-trades__detail-side {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .ht-trades__image-card {
        grid-row: span 2;
    }
}

@media (max-width: 720px) {
    .ht-trades {
        margin-bottom: 2rem;
    }

    .ht-trades__directory {
        padding: .75rem;
    }

    .ht-trades__toolbar {
        grid-template-columns: 1fr;
        padding: .8rem;
    }

    .ht-trades__filter:nth-of-type(4) {
        grid-column: auto;
    }

    .ht-trades__clear {
        width: 100%;
        justify-self: stretch;
    }

    .ht-trades__browse-row {
        align-items: flex-start;
    }

    .ht-trades__alphabet {
        width: 100%;
    }

    .ht-trades__table-wrap {
        overflow: visible;
        border: 0;
    }

    .ht-trades__table,
    .ht-trades__table tbody {
        display: block;
        width: 100%;
    }

    .ht-trades__table thead {
        position: absolute;
        width: 1px;
        height: 1px;
        overflow: hidden;
        clip: rect(0 0 0 0);
        white-space: nowrap;
    }

    .ht-trades__table tr {
        display: block;
        margin-bottom: .7rem;
        padding: .7rem .8rem;
        border: 1px solid var(--ht-trades-line);
        background: #fff;
        box-shadow: 0 3px 12px rgba(52,46,40,.04);
    }

    .ht-trades__table th,
    .ht-trades__table td {
        display: grid;
        grid-template-columns: minmax(110px, .8fr) minmax(0, 1.5fr);
        gap: .7rem;
        padding: .38rem 0;
        border-bottom: 1px solid #eee8e0;
        text-align: left;
    }

    .ht-trades__table th::before,
    .ht-trades__table td::before {
        content: attr(data-label);
        color: #82776c;
        font-size: .69rem;
        font-weight: 800;
        text-transform: uppercase;
        letter-spacing: .03em;
    }

    .ht-trades__table th[data-label="Occupation / heading"] {
        display: block;
        padding-bottom: .55rem;
    }

    .ht-trades__table th[data-label="Occupation / heading"]::before {
        display: none;
    }

    .ht-trades__detail-header {
        align-items: flex-start;
        flex-direction: column;
        padding: 1.35rem 1rem;
    }

    .ht-trades__detail-side,
    .ht-trades__classification-grid,
    .ht-trades__related {
        grid-template-columns: 1fr;
    }

    .ht-trades__image-card {
        grid-row: auto;
    }
}

@media (max-width: 480px) {
    .ht-trades__masthead h1,
    .ht-trades__detail-header h1 {
        font-size: 2.25rem;
    }

    .ht-trades__masthead-meta span {
        width: 100%;
        border-radius: 5px;
    }

    .ht-trades__table th,
    .ht-trades__table td {
        grid-template-columns: 1fr;
        gap: .15rem;
    }
}


/* v0.2.0 cumulative Sands registry + archival imagery */
.ht-trades__image-card img{display:block;width:100%;height:auto;max-height:420px;object-fit:cover;background:#eee8df;}
.ht-trades__image-suitability{display:block;margin-top:.28rem;font-size:.72rem;font-style:italic;color:#746b61;}
.ht-trades__year-chips{display:flex;flex-wrap:wrap;gap:.45rem;margin:.25rem 0 .8rem;}
.ht-trades__year-chips span{display:inline-flex;align-items:center;min-height:30px;padding:.25rem .62rem;border:1px solid rgba(179,138,66,.42);border-radius:999px;background:#faf5eb;color:var(--ht-trades-green-dark);font-weight:800;font-size:.8rem;}
.ht-trades__historical-label{margin:.7rem 0 .35rem;}
.ht-trades__historical-headings{list-style:none;padding:0;margin:.35rem 0 0;display:grid;gap:.38rem;}
.ht-trades__historical-headings li{display:flex;justify-content:space-between;gap:1rem;padding:.45rem .55rem;border-bottom:1px solid var(--ht-trades-line);background:#fbf8f3;}
.ht-trades__historical-headings small{white-space:nowrap;color:#7b7167;}
\n\n/* v0.2.1 occupation-specific archival image framing */\n.ht-trades__image-card{overflow:hidden;}\n.ht-trades__image-stage{width:100%;background:#eee8df;display:flex;align-items:center;justify-content:center;overflow:hidden;aspect-ratio:var(--ht-img-ratio,4 / 3);max-height:480px;}\n.ht-trades__image-stage img{display:block;width:100%;height:100%;max-height:none;aspect-ratio:auto;object-position:var(--ht-img-x,50%) var(--ht-img-y,50%);background:#eee8df;}\n.ht-trades__image-stage--cover img{object-fit:cover;}\n.ht-trades__image-stage--contain{padding:.35rem;}\n.ht-trades__image-stage--contain img{object-fit:contain;}\n@media (max-width:760px){.ht-trades__image-stage{max-height:430px;}}\n

/* v0.2.2 persistent occupation browse/navigation on detail pages */
.ht-trades__quick-browse {
    margin: 0 0 1rem;
    border: 1px solid var(--ht-trades-line);
    background: #fff;
    box-shadow: 0 4px 16px rgba(52,46,40,.04);
}
.ht-trades__quick-browse-top {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(260px, 360px);
    gap: 1rem;
    align-items: end;
    padding: .8rem 1rem .7rem;
    background: var(--ht-trades-cream);
}
.ht-trades__quick-browse-top > div {
    display: grid;
    gap: .1rem;
}
.ht-trades__quick-browse-top strong {
    color: var(--ht-trades-green-dark);
    font-family: Georgia, "Times New Roman", serif;
    font-size: 1.05rem;
}
.ht-trades__quick-browse-top > div > span {
    color: #766d63;
    font-size: .79rem;
}
.ht-trades__jump-label {
    display: grid;
    gap: .25rem;
    color: var(--ht-trades-ink);
    font-size: .72rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: .035em;
}
.ht-trades__jump-label select {
    width: 100%;
    min-height: 40px;
    margin: 0;
    padding: .55rem 2rem .55rem .7rem;
    border: 1px solid #cfc7bc;
    border-radius: 4px;
    color: var(--ht-trades-ink);
    background: #fff;
    font-size: .84rem;
    text-transform: none;
    letter-spacing: 0;
}
.ht-trades__jump-label select:focus {
    outline: 3px solid rgba(63,99,88,.18);
    border-color: var(--ht-trades-green);
}
.ht-trades__quick-alphabet {
    display: flex;
    flex-wrap: wrap;
    gap: .16rem;
    align-items: center;
    padding: .55rem 1rem;
    border-top: 1px solid var(--ht-trades-line);
    border-bottom: 1px solid var(--ht-trades-line);
}
.ht-trades__quick-alphabet a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 29px;
    min-height: 29px;
    padding: 0 .38rem;
    border-radius: 4px;
    color: var(--ht-trades-green-dark);
    font-size: .78rem;
    font-weight: 800;
    text-decoration: none;
}
.ht-trades__quick-alphabet a:first-child {
    min-width: 38px;
}
.ht-trades__quick-alphabet a:hover,
.ht-trades__quick-alphabet a:focus,
.ht-trades__quick-alphabet a.is-current {
    color: #fff;
    background: var(--ht-trades-green);
}
.ht-trades__adjacent-nav {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1rem;
    padding: .55rem 1rem .65rem;
}
.ht-trades__adjacent-nav > div:last-child {
    text-align: right;
}
.ht-trades__adjacent-nav a {
    display: inline-grid;
    gap: .02rem;
    text-decoration: none;
}
.ht-trades__adjacent-nav span {
    color: #85796c;
    font-size: .68rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .04em;
}
.ht-trades__adjacent-nav strong {
    color: var(--ht-trades-green-dark);
    font-size: .82rem;
}
.ht-trades__adjacent-nav a:hover strong,
.ht-trades__adjacent-nav a:focus strong {
    text-decoration: underline;
    text-decoration-color: var(--ht-trades-gold);
    text-underline-offset: 3px;
}
@media (max-width: 720px) {
    .ht-trades__quick-browse-top {
        grid-template-columns: 1fr;
    }
    .ht-trades__quick-alphabet {
        gap: .08rem;
        padding-left: .65rem;
        padding-right: .65rem;
    }
    .ht-trades__quick-alphabet a {
        min-width: 27px;
        min-height: 27px;
        font-size: .73rem;
    }
    .ht-trades__adjacent-nav {
        gap: .6rem;
        padding-left: .7rem;
        padding-right: .7rem;
    }
}

/* v0.2.4 full-frame archival image presentation + editorial prose polish */
.ht-trades__image-card{overflow:visible;}
.ht-trades__image-stage,
.ht-trades__image-stage--contain{
    width:100%;
    height:auto;
    max-height:none;
    aspect-ratio:auto;
    padding:0;
    overflow:visible;
    display:block;
    background:#eee8df;
}
.ht-trades__image-stage img,
.ht-trades__image-stage--contain img{
    display:block;
    width:100%;
    height:auto;
    max-height:none;
    object-fit:contain;
    object-position:center center;
    background:#eee8df;
}
.ht-trades__historical-language-note{
    margin:1rem 0 0;
    padding:.85rem 1rem;
    border-left:3px solid var(--ht-trades-gold);
    background:var(--ht-trades-cream);
    color:var(--ht-trades-text);
    font-size:.92rem;
}
.ht-trades__historical-language-note strong{color:var(--ht-trades-green-dark);}
