@font-face {
    font-family: "Jinman Serif";
    src: url("/assets/heritage-serif.woff") format("woff");
    font-style: normal;
    font-weight: 400 700;
    font-display: swap;
}
:root {
    color-scheme: light;
    --accent: #913a2c;
    --accent-hover: #712a20;
    --ink: #342d25;
    --muted: #726554;
    --line: #d7c9b1;
    --paper: #fffcf5;
    --soft: #f7f2e8;
    --raised: #eee5d5;
    --media: #f1eadd;
    --gold: #92703f;
    --width: 1190px;
    --rail: 140px;
    --serif: "Jinman Serif", "Noto Serif SC", "Songti SC", SimSun, serif;
}
* { box-sizing: border-box; }
html { scroll-padding-top: 20px; }
body {
    margin: 0;
    color: var(--ink);
    background: var(--soft);
    font: 14px/1.7 "DM Sans", "PingFang SC", "Microsoft YaHei", system-ui, sans-serif;
}
a { color: inherit; text-decoration: none; }
a:hover { color: var(--accent); }
img { display: block; max-width: 100%; }
button, input, select, textarea { font: inherit; color: inherit; }
button, summary { cursor: pointer; }
input[type="checkbox"], input[type="radio"] { accent-color: var(--accent); }
h1, h2, h3, p { margin: 0 0 12px; }
h1, h2, h3 { font-family: var(--serif); font-weight: 600; line-height: 1.45; }
h1 { font-size: clamp(29px, 3.6vw, 45px); }
h2 { font-size: clamp(23px, 2.5vw, 31px); }
h3 { font-size: 18px; }
svg { width: 20px; height: 20px; flex-shrink: 0; vertical-align: middle; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }
[hidden] { display: none !important; }
.market-width { width: min(var(--width), calc(100% - clamp(30px, 6.5vw, 94px))); margin-inline: auto; }
.visually-hidden, .skip-link:not(:focus), .honeypot {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    overflow: hidden;
    clip-path: inset(50%);
    white-space: nowrap;
}
.skip-link:focus { position: fixed; z-index: 20; top: 8px; left: 8px; padding: 10px 15px; background: var(--paper); }
.muted { color: var(--muted); }
.price, .listing-price { color: var(--accent); font-weight: 650; font-variant-numeric: tabular-nums; }
.btn, button:not(.link) {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    gap: 8px;
    min-height: 40px;
    padding: 8px 18px;
    border: 1px solid var(--accent);
    border-radius: 0;
    background: var(--accent);
    color: #fffdf7;
    font-weight: 650;
    line-height: 1.4;
}
.btn:hover, button:not(.link):hover { color: #fffdf7; background: var(--accent-hover); border-color: var(--accent-hover); }
.btn.ghost { color: var(--accent); background: transparent; border-color: var(--accent); }
.btn.ghost:hover { background: #f0e3d4; }
.link { border: 0; padding: 0; color: var(--accent); background: transparent; }
.link:hover { text-decoration: underline; }
.alert { padding: 13px 16px; margin-bottom: 17px; border-left: 3px solid var(--accent); background: var(--raised); }
.panel { min-width: 0; padding: clamp(16px, 2.7vw, 30px); border: 1px solid var(--line); background: var(--paper); }
.empty-state { padding: 32px 18px; text-align: center; color: var(--muted); background: var(--paper); border-block: 1px solid var(--line); }
.empty-state a, .section-head a:not(.btn), .article-breadcrumb a, .article-body a { color: var(--accent); }
.section-head { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; margin-bottom: 17px; }
.section-head h2 { margin: 0; }

.brand-mark {
    display: grid;
    flex: 0 0 auto;
    place-items: center;
    width: 38px;
    height: 42px;
    border: 3px double #fff5df;
    outline: 1px solid var(--accent);
    background: var(--accent);
    color: #fff5df;
    font: 25px/1 var(--serif);
}
.heritage-rail {
    position: fixed;
    inset: 0 auto 0 0;
    z-index: 9;
    width: var(--rail);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 25px;
    padding: 30px 13px 20px;
    overflow-y: auto;
    border-right: 1px solid var(--line);
    background: #eee5d4;
}
.heritage-brand { display: flex; flex-direction: column; align-items: center; gap: 23px; }
.heritage-brand strong {
    writing-mode: vertical-rl;
    text-orientation: upright;
    font: 600 31px/1.5 var(--serif);
    letter-spacing: .25em;
}
.heritage-nav { display: grid; gap: 5px; width: 100%; text-align: center; }
.heritage-nav a { padding: 5px; font-family: var(--serif); font-size: 16px; letter-spacing: .07em; }
.heritage-nav [aria-current="page"] { color: var(--accent); background: #e5d8c3; }
.rail-contact { margin-top: auto; color: var(--accent); font-size: 13px; }
.heritage-shell { margin-left: var(--rail); min-width: 0; }
.heritage-top {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 12px;
    padding-block: 15px;
    border-bottom: 1px solid var(--line);
}
.heritage-account { display: flex; align-items: center; gap: 12px; font-size: 13px; }
.heritage-account > a:first-child { display: inline-flex; align-items: center; gap: 5px; }
.heritage-account svg { width: 16px; height: 16px; color: var(--accent); }
.heritage-search { display: flex; align-items: stretch; width: min(100%, 330px); min-width: 0; border-bottom: 1px solid var(--gold); }
.heritage-search input, .heritage-search select { min-width: 0; border: 0; padding: 5px 7px; background: transparent; }
.heritage-search input { width: 0; flex: 1; }
.heritage-search select { width: 98px; font-size: 12px; }
.heritage-search button:not(.link) { min-height: 32px; padding: 4px 8px; border: 0; color: var(--accent); background: transparent; }
.heritage-search svg { width: 17px; height: 17px; }
.site-main { min-height: 49vh; padding-block: clamp(23px, 3.5vw, 44px) 50px; }

.exhibition { position: relative; padding-bottom: 45px; border-bottom: 1px solid var(--line); }
.carousel-slide { display: grid; grid-template-columns: minmax(0, 1.8fr) minmax(0, .8fr); align-items: center; gap: clamp(20px, 4vw, 57px); }
.exhibition-frame { min-width: 0; padding: 9px; border: 3px double var(--gold); background: var(--paper); }
.carousel-image { width: 100%; aspect-ratio: 1.3; max-height: 480px; object-fit: cover; object-position: center; }
.carousel-copy { min-width: 0; padding-right: 5px; }
.carousel-copy h1, .carousel-copy h2 {
    writing-mode: vertical-rl;
    max-height: 4.4em;
    margin: 0 auto 21px;
    font-size: clamp(32px, 4.1vw, 58px);
    line-height: 1.6;
    letter-spacing: .1em;
}
.carousel-copy p { max-width: 26ch; margin: 0 auto 16px; color: var(--muted); font-size: 14px; }
.carousel-copy .btn { display: flex; width: fit-content; margin-inline: auto; font-family: var(--serif); letter-spacing: .08em; }
.carousel-controls { position: absolute; bottom: 7px; right: 0; display: flex; align-items: center; gap: 7px; }
.carousel-controls button:not(.link) { min-height: 28px; min-width: 28px; padding: 2px 6px; border-color: var(--line); color: var(--accent); background: transparent; }
.carousel-controls button:not(.link):hover { background: var(--raised); }
.carousel-dots { display: flex; gap: 5px; }
.carousel-dots button:not(.link) { width: 8px; height: 8px; min-height: 8px; min-width: 8px; padding: 0; background: #c5b49b; border: 0; border-radius: 50%; }
.carousel-dots button.is-active:not(.link) { background: var(--accent); }
.carousel-pause { font-size: 12px; }

.collection-index { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); border-bottom: 3px double var(--line); padding-block: 13px; }
.collection-index a { display: flex; justify-content: center; align-items: center; gap: 8px; padding: 6px; min-width: 0; }
.collection-index a + a { border-left: 1px solid var(--line); }
.collection-index strong { font: 600 20px/1.4 var(--serif); letter-spacing: .08em; }
.collection-index small { font-size: 11px; color: var(--muted); }
.collection-index svg { width: 30px; height: 30px; color: var(--gold); stroke-width: 1.8; }
.collection-shelf { display: grid; grid-template-columns: 68px minmax(0, 1fr); gap: 22px; margin-top: 32px; }
.shelf-heading { display: flex; flex-direction: column; align-items: center; gap: 20px; padding-top: 8px; }
.shelf-heading h2 { writing-mode: vertical-rl; letter-spacing: .24em; font-size: 29px; margin: 0; }
.shelf-heading > a { font-size: 12px; text-align: center; color: var(--accent); }
.shelf-content { min-width: 0; }
.floor-tabs { display: flex; flex-wrap: wrap; gap: 5px; margin-bottom: 15px; }
.floor-tabs a { padding: 3px 12px; color: var(--muted); border-bottom: 1px solid transparent; }
.floor-tabs a.active { color: var(--accent); border-color: var(--accent); }
.floor-grid, .catalog-results .grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 25px 18px; }
.card { display: flex; flex-direction: column; min-width: 0; }
.card-image { position: relative; padding: 6px; border: 1px solid var(--line); background: var(--paper); aspect-ratio: 1.04; }
.card:hover .card-image { border-color: var(--gold); }
.card-image img { width: 100%; height: 100%; object-fit: contain; background: var(--media); }
.demo-badge { display: inline-block; padding: 2px 5px; color: var(--muted); border: 1px solid var(--line); background: var(--paper); font-size: 10px; }
.card-image .demo-badge { position: absolute; top: 10px; left: 10px; }
.card-body { display: flex; flex-direction: column; flex: 1; padding: 11px 0 0; }
.card-body h3 { margin-bottom: 4px; color: var(--ink); font-size: 17px; overflow-wrap: anywhere; }
.card-description { margin-bottom: 5px; color: var(--muted); font-size: 12px; overflow-wrap: anywhere; }
.card-bottomline { display: flex; justify-content: space-between; align-items: baseline; flex-wrap: wrap; gap: 5px; margin-top: auto; }
.card-bottomline .price { font-size: 17px; }
.card-bottomline span { font-size: 11px; color: var(--muted); }
.recycle-invitation {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 16px;
    margin-block: 36px;
    padding: 26px;
    border-block: 3px double var(--gold);
    background: var(--raised);
}
.recycle-invitation h2 { font-size: clamp(23px, 2.4vw, 31px); margin-bottom: 5px; }
.recycle-invitation p { color: var(--muted); margin: 0; }
.reading-links { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.reading-links a { min-width: 0; padding-top: 13px; border-top: 1px solid var(--gold); overflow-wrap: anywhere; }
.reading-links span { font-size: 12px; color: var(--accent); }
.reading-links strong { display: block; margin-block: 7px; font: 600 19px/1.65 var(--serif); }
.reading-links p { font-size: 13px; color: var(--muted); margin: 0; }

.listing-heading { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; flex-wrap: wrap; margin-bottom: 18px; }
.listing-heading h1 { margin: 0; letter-spacing: .1em; }
.listing-heading > a { color: var(--accent); font-size: 13px; }
.catalog-directory { display: flex; flex-wrap: wrap; gap: 8px 23px; margin-bottom: 18px; padding-block: 10px; border-block: 3px double var(--line); font-family: var(--serif); font-size: 18px; }
.catalog-directory [aria-current="page"] { color: var(--accent); }
.catalog-refinements { border: 1px solid var(--line); background: var(--paper); }
.catalog-refinements summary { padding: 10px 13px; color: var(--accent); font-weight: 650; }
.catalog-filter { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 9px 15px; align-items: end; padding: 0 13px 13px; }
.catalog-filter label { display: grid; gap: 4px; min-width: 0; color: var(--muted); font-size: 12px; }
.catalog-filter > a { align-self: center; text-align: center; color: var(--accent); font-size: 13px; }
.catalog-results-head { display: flex; justify-content: space-between; padding-block: 16px; }
.catalog-results-head span:last-child { color: var(--muted); }
.catalog-results { min-width: 0; }

.pager { display: flex; justify-content: center; gap: 12px; align-items: center; padding: 16px 8px 0; flex-wrap: wrap; }
.pager a { border: 1px solid var(--line); padding: 5px 12px; color: var(--accent); }

.article-breadcrumb { color: var(--muted); margin-bottom: 14px; font-size: 12px; overflow-wrap: anywhere; }
.item-heading { margin-bottom: 20px; padding-bottom: 12px; border-bottom: 3px double var(--line); }
.item-heading h1 { margin-bottom: 5px; overflow-wrap: anywhere; }
.item-listing { display: grid; grid-template-columns: minmax(0, 1.18fr) minmax(0, 1fr); gap: 16px; align-items: stretch; }
.listing-copy { border-top: 3px double var(--gold); padding: clamp(14px, 2.8vw, 30px); background: var(--paper); border: 1px solid var(--line); }
.listing-media { padding: 9px; border: 1px solid var(--line);  background: var(--paper); }
.listing-media, .listing-copy { min-width: 0; }
.listing-media .product-img { width: 100%; max-height: 520px; aspect-ratio: 1.16; padding: 12px; object-fit: contain; background: var(--media); }
.listing-media p, .item-brand { font-size: 12px; color: var(--muted); margin: 8px 0; }
.item-tags { display: flex; gap: 7px; margin-bottom: 8px; }
.item-tags span, .state-chip { background: var(--raised); border: 1px solid var(--line); color: var(--accent); padding: 2px 7px; font-size: 12px; }
.listing-price { background: var(--raised); padding: 10px 13px; font-size: 27px; }
.listing-price span { font-size: 12px; font-weight: 400; color: var(--muted); margin-left: 12px; }
.listing-specs { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin: 14px 0; }
.listing-specs div { display: flex; gap: 8px; padding: 6px 9px; border-bottom: 1px solid var(--line); }
.listing-specs dt { color: var(--muted); flex-shrink: 0; }
.listing-specs dd { margin: 0; overflow-wrap: anywhere; }
.listing-actions, .article-actions { display: flex; gap: 8px; flex-wrap: wrap; }
.listing-actions .alert { margin: 0; flex: 1 1 100%; }
.listing-note { margin-block: 14px 8px; font-size: 12px; color: var(--muted); }
.listing-note p { margin: 3px 0; }
.listing-note a, .more-category, .legal-contact a { color: var(--accent); }
.product-section-nav { display: flex; flex-wrap: wrap; gap: 0; border: 1px solid var(--line); border-bottom: 2px solid var(--accent); margin-top: 20px; background: var(--soft); }
.product-section-nav a { padding: 10px 14px; }
.product-section-nav a:first-child { color: var(--accent); font-weight: 700; }
.product-details-section { border: 1px solid var(--line); border-top: 0; padding: 20px; background: var(--paper); }
.product-details-heading p { color: var(--muted); }
.product-details-body, .article-body { line-height: 1.85; overflow-wrap: anywhere; }
.product-details-body img { max-height: 650px; object-fit: contain; }
.mobile-item-dock { display: none; }

.form label, .checkout-fields label { display: block; margin: 10px 0 5px; font-weight: 550; }
.form input:not([type="checkbox"]):not([type="radio"]), .form select, .form textarea,
.checkout-fields input, .checkout-fields textarea, .catalog-filter input, .catalog-filter select, .search input {
    width: 100%; min-width: 0; border: 1px solid #b7a282;  background: #fff; padding: 8px 10px; min-height: 36px;
}
textarea { resize: vertical; }
.form textarea, .checkout-fields textarea { min-height: 84px; }
.form .agreement { display: flex; align-items: baseline; gap: 5px; flex-wrap: wrap; font-weight: 400; }
.agreement a, .auth-footnote a, .auth-switch a { color: var(--accent); }
.form button[type="submit"], .form form > button { margin-top: 12px; }
.auth-layout { display: grid; grid-template-columns: minmax(0, .85fr) minmax(0, 1fr); width: min(820px, 100%); margin: 13px auto; border: 3px double var(--gold); background: var(--paper); }
.auth-cover { position: relative; display: grid; min-width: 0; background: var(--raised); }
.auth-cover img { width: 100%; height: 100%; min-height: 450px; object-fit: cover; object-position: 60% center; }
.auth-cover strong { position: absolute; inset: auto 15px 18px; padding: 6px 10px; text-align: center; font: 600 24px/1.6 var(--serif); color: var(--ink); background: #fffcf5e6; letter-spacing: .15em; }
.auth-panel { border: 0; padding: clamp(18px, 3.6vw, 38px); }
.auth-tabs { display: flex; border-bottom: 1px solid var(--line); gap: 16px; margin-bottom: 16px; }
.auth-tabs a { padding: 0 2px 8px; }
.auth-tabs .active { border-bottom: 2px solid var(--accent); color: var(--accent); font-weight: 700; }
.auth-intro, .auth-footnote, .auth-switch { color: var(--muted); font-size: 12px; }
.auth-switch { margin-top: 12px; }
.auth-panel h1 { font-size: 23px; }
.auth-panel form > button { width: 100%; }

.member-layout { display: grid; grid-template-columns: minmax(0, 1fr); gap: 15px; }
.member-directory { display: grid; grid-template-columns: auto minmax(0, 1fr); align-items: baseline; gap: 6px 18px; padding-block: 10px 18px; border-bottom: 3px double var(--gold); }
.member-directory h1 { font-size: 23px; margin: 0; }
.member-directory p { margin: 0; color: var(--muted); overflow-wrap: anywhere; }
.member-shortcuts { grid-column: 1 / -1; display: flex; flex-wrap: wrap; gap: 7px; }
.member-shortcuts a { padding: 4px 10px; border: 1px solid var(--line); }
.member-directory a { color: var(--accent); }
.member-content { min-width: 0; display: grid; grid-template-columns: minmax(0, 1fr); align-items: start; gap: 22px; }
.member-panel { padding: 16px; }
.table-wrap { max-width: 100%; overflow-x: auto; }
.member-table, .table { width: 100%; border-collapse: collapse; font-size: 13px; }
.member-table { min-width: 510px; }
.table { min-width: 610px; }
th, td { text-align: left; padding: 9px; border: 1px solid var(--line); vertical-align: top; overflow-wrap: anywhere; }
th { background: var(--raised); }
.member-table td:first-child { width: 43%; }
.member-table td small { display: block; color: var(--muted); margin-top: 3px; }
.member-table a, .table a { color: var(--accent); }
.member-table button, .table button { min-height: 30px; padding: 5px 8px; font-size: 12px; }

.checkout-flow { display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(0, .85fr); grid-template-rows: auto minmax(0, 1fr); align-items: start; gap: 15px; max-width: 1030px; margin-inline: auto; }
.checkout-heading { max-width: 1030px; margin-inline: auto; }
.checkout-fields { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 6px 12px; }
.checkout-fields label:last-child { grid-column: 1 / -1; }
.checkout-heading { border-bottom: 2px solid var(--accent); margin-bottom: 14px; }
.checkout-heading p { color: var(--muted); }
.checkout-item-banner { grid-column: 2; grid-row: 1; display: flex; flex-wrap: wrap; align-items: center; gap: 13px; padding: 12px; border: 1px solid var(--line); background: var(--paper); }
.checkout-item-banner img { width: 78px; height: 78px; object-fit: contain; background: var(--soft); }
.checkout-item-banner > div { flex: 1; min-width: 0; }
.checkout-item-banner h2 { font-size: 16px; overflow-wrap: anywhere; margin: 3px 0; }
.checkout-item-banner p, .checkout-item-banner span { color: var(--muted); font-size: 12px; margin: 0; }
.checkout-item-banner > strong { color: var(--accent); width: 100%; text-align: right; }
.checkout-columns { display: grid; grid-column: 1; grid-row: 1 / span 2; gap: 15px; }
.checkout-confirm { grid-column: 2; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 8px; padding: 16px; background: var(--raised); }
.checkout-confirm p { color: var(--muted); font-size: 13px; margin: 0; }
.checkout-confirm a { color: var(--accent); }
.checkout-confirm > div { display: flex; align-items: center; flex-wrap: wrap; gap: 8px; }
.checkout-confirm strong { color: var(--accent); font-size: 22px; margin-left: 6px; }
.payment-choices { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 12px; }
.payment-choices label { padding: 8px; border: 1px solid var(--line); }
.payment-choices small { color: var(--muted); margin-left: 6px; }
.bank-account { background: var(--soft); padding: 12px; border: 1px solid var(--line); }
.bank-account-heading .eyebrow { display: none; }
.bank-account dl { margin: 8px 0; }
.bank-account dl div { display: flex; gap: 8px; padding-block: 3px; }
.bank-account dt { flex: 0 0 66px; color: var(--muted); }
.bank-account dd { margin: 0; overflow-wrap: anywhere; }
.bank-number { font-variant-numeric: tabular-nums; font-weight: 700; }
.bank-account p { margin-bottom: 0; font-size: 12px; }
.payment-page, .contact-page { max-width: 760px; margin-inline: auto; }
.payment-order { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 10px; padding: 12px; margin-bottom: 10px; background: var(--raised); }
.payment-order strong { color: var(--accent); }
.payment-page > p:last-child { margin-top: 16px; color: var(--accent); }

.recycle-hero, .journal-hero {
    display: flex;
    align-items: end;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 16px;
    padding: clamp(20px, 4vw, 43px);
    margin-bottom: 20px;
    color: var(--ink);
    background: var(--raised);
    border-block: 3px double var(--gold);
}
.recycle-hero p, .journal-hero p { margin: 0; color: var(--muted); }
.process, .faq { margin-block: 22px; }
.process-grid, .faq-grid { display: grid; grid-template-columns: repeat(4,minmax(0,1fr)); gap: 10px; }
.process-grid > div, .faq-grid details { padding: 13px; border: 1px solid var(--line); background: var(--paper); }
.process-grid h3, .process-grid p { margin-bottom: 6px; }
.process-grid p, .faq-grid p { font-size: 12px; color: var(--muted); }
.faq-grid { grid-template-columns: 1fr 1fr; }
.faq-grid summary { font-weight: 650; }
.faq-grid p { margin: 8px 0 0; }
.valuation-section, .split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.5fr); gap: 18px; align-items: start; }
.valuation-section > div, .split > div { background: var(--soft); padding: 18px; border-top: 2px solid var(--accent); }
.valuation-section li { color: var(--muted); }
.journal-browse { display: grid; grid-template-columns: minmax(0, 1fr); gap: 12px; }
.journal-filter { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 8px; padding: 12px; }
.journal-filter nav { display: flex; flex-wrap: wrap; gap: 3px; }
.journal-filter nav a { padding: 5px 8px; }
.journal-filter nav .active { color: var(--accent); background: var(--raised); font-weight: 700; }
.search { display: flex; gap: 4px; width: min(100%, 280px); }
.search input { flex: 1; width: 0; }
.search button { padding-inline: 8px; }
.journal-grid { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 12px; }
.journal-card { overflow: hidden; display: block; min-width: 0; border: 1px solid var(--line); background: var(--paper); }
.journal-image, .article-cover { display: grid; place-items: center; width: 100%; min-height: 88px; background: var(--raised); color: var(--muted); object-fit: cover; }
.journal-image img { width: 100%; height: 105px; object-fit: cover; }
.journal-body { padding: 10px; }
.journal-body h3, .journal-body p { margin: 6px 0; overflow-wrap: anywhere; }
.journal-meta, .journal-body p { font-size: 12px; color: var(--muted); }
.journal-meta { display: flex; gap: 6px; flex-wrap: wrap; }
.article-page { max-width: 880px; margin: auto; }
.article-intro p, .article-note { color: var(--muted); }
.article-cover { margin-block: 12px; max-height: 320px; }
.article-note { padding: 12px; background: var(--soft); font-size: 12px; margin: 12px 0; }
.related-journal { margin-top: 26px; }
.legal-contact { padding-block: 12px; border-block: 1px solid var(--line); overflow-wrap: anywhere; }

.heritage-footer { background: #eee6d7; border-top: 1px solid var(--gold); color: var(--muted); }
.footer-directory { display: grid; grid-template-columns: 1.7fr 1fr 1fr; gap: 16px; padding-block: 27px; }
.footer-directory h2 { font-size: 15px; color: var(--ink); margin-bottom: 8px; }
.footer-directory a { display: block; padding: 2px 0; font-size: 12px; }
.footer-directory p { font-size: 12px; margin-bottom: 4px; }
.footer-operator { overflow-wrap: anywhere; }
.footer-bottom { border-top: 1px solid var(--line); display: flex; gap: 14px; flex-wrap: wrap; padding-block: 12px; font-size: 12px; }
.floating-tools { position: fixed; right: 10px; bottom: 34px; display: grid; gap: 5px; z-index: 7; }
.floating-tools a { display: grid; place-items: center; width: 42px; min-height: 34px; border: 1px solid var(--line); background: #fff; color: var(--accent); font-size: 12px; }
.floating-tools .floating-contact { padding: 5px 0; background: var(--accent); border-color: var(--accent); color: #fff; }
.floating-contact svg { width: 17px; height: 17px; }
.mobile-tabs { display: none; }

.admin-body { background: var(--soft); }
.admin-header { background: var(--paper); border-bottom: 1px solid var(--line); }
.admin-header-inner { min-height: 68px; display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.admin-brand strong { font: 600 23px/1.5 var(--serif); }
.admin-view-site { color: var(--accent); }
.admin-shell { display: grid; gap: 16px; margin-top: 20px; }
.admin-nav { display: flex; align-items: center; flex-wrap: wrap; gap: 4px; padding: 7px; background: var(--paper); border: 1px solid var(--line); }
.admin-nav a, .admin-nav form { padding: 6px 10px; }
.admin-nav form { margin-left: auto; }
.admin-nav [aria-current="page"] { color: var(--accent); background: var(--raised); font-weight: 750; }
.admin-main { min-width: 0;  background: #fff; padding: 18px; border: 1px solid var(--line); }
.admin-shell:not(:has(.admin-nav)) .admin-main { max-width: 540px; margin-inline: auto; }
.admin-login { max-width: 500px; margin: 12px auto; }
.admin-stats { display: grid; grid-template-columns: repeat(4,minmax(0,1fr)); gap: 8px; margin-bottom: 14px; }
.admin-stats a { border: 1px solid var(--line); padding: 10px; background: var(--soft); }
.admin-stats b { display: block; font-size: 20px; color: var(--accent); }
.admin-footer { display: flex; flex-wrap: wrap; gap: 12px; justify-content: space-between; color: var(--muted); font-size: 12px; padding: 18px 0; }
.row, .image-source-options { display: flex; align-items: center; flex-wrap: wrap; gap: 8px; }
.inline { display: inline; }
.table input, .table select { max-width: 170px; padding: 4px; border: 1px solid var(--line); }
.table img, .editor-thumb { width: 72px; height: 72px; object-fit: contain; background: var(--soft); }
.compact-filter { display: flex; align-items: end; flex-wrap: wrap; margin-bottom: 10px; background: var(--soft); }
.product-rich { min-width: 0; }
.product-rich-mode { margin-bottom: 5px; }
.product-rich .trumbowyg-button-pane button { display: inline-block; min-height: 32px; padding: 0; border: 0; background: transparent; color: var(--ink); }
.product-rich .trumbowyg-button-pane button:hover { background: var(--raised); }
.product-rich .trumbowyg-button-pane button svg { width: 17px; height: 17px; }

.service-page { background: var(--soft); }
.service-header { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px; padding: 16px max(16px, calc((100% - 920px) / 2)); background: #fff; border-bottom: 2px solid var(--accent); }
.service-brand strong { font: 600 24px/1.5 var(--serif); }
.service-brand small { display: block; color: var(--muted); font-size: 11px; }
.service-header nav { display: flex; flex-wrap: wrap; justify-content: end; gap: 10px; color: var(--accent); font-size: 12px; }
.service-main, .service-footer { width: min(920px, calc(100% - 32px)); margin-inline: auto; }
.service-main { padding: 20px 0; }
.service-intro { border-block: 3px double var(--gold); color: var(--ink); background: var(--raised); padding: clamp(18px, 4vw, 42px); margin-bottom: 12px; }
.service-intro p { margin: 0; color: var(--muted); }
.service-panel { background: #fff; border: 1px solid var(--line); padding: 16px; }
.service-panel-heading { display: flex; align-items: start; gap: 8px; }
.service-panel-heading h2 { margin-bottom: 4px; }
.service-panel-heading p, .service-status { color: var(--muted); font-size: 12px; }
.service-badge, .method-icon { color: var(--accent); }
.service-methods { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 10px; }
.service-method { display: grid; gap: 3px; padding: 12px; border: 1px solid var(--line); background: var(--soft); overflow-wrap: anywhere; }
.method-value { color: var(--accent); font-weight: 700; }
.service-tips, .service-company, .service-footer { color: var(--muted); font-size: 12px; margin-top: 12px; overflow-wrap: anywhere; }
.service-company { display: grid; }
.service-footer { display: flex; flex-wrap: wrap; gap: 10px; border-top: 1px solid var(--line); padding: 12px 0; }

@media (max-width: 1100px) {
    :root { --rail: 116px; }
    .collection-index small { display: none; }
    .carousel-slide { gap: 24px; grid-template-columns: minmax(0, 1.55fr) minmax(0, .9fr); }
}
@media (max-width: 760px) {
    .store-body { padding-bottom: calc(55px + env(safe-area-inset-bottom)); }
    .heritage-rail { position: static; width: 100%; padding: 12px 16px 8px; border-right: 0; border-bottom: 1px solid var(--line); gap: 10px; overflow: visible; }
    .heritage-brand { flex-direction: row; gap: 10px; }
    .heritage-brand strong { writing-mode: horizontal-tb; font-size: 25px; letter-spacing: .14em; }
    .brand-mark { width: 29px; height: 34px; font-size: 20px; }
    .heritage-nav { display: flex; justify-content: center; gap: 2px; }
    .heritage-nav a { padding: 3px 9px; font-size: 14px; letter-spacing: 0; }
    .rail-contact { display: none; }
    .heritage-shell { margin-left: 0; }
    .heritage-top { padding-block: 9px; gap: 7px; }
    .heritage-account { font-size: 12px; gap: 9px; }
    .heritage-search { width: 100%; }
    .heritage-search select { width: 95px; }
    .site-main { padding-block: 19px 30px; }
    .carousel-slide { grid-template-columns: minmax(0, 1.5fr) minmax(0, .85fr); gap: 14px; align-items: stretch; }
    .exhibition-frame { padding: 4px; }
    .carousel-image { height: 100%; min-height: 220px; aspect-ratio: auto; object-position: right center; }
    .carousel-copy { display: flex; flex-direction: column; justify-content: center; padding: 0; }
    .carousel-copy h1, .carousel-copy h2 { max-height: 4.5em; font-size: clamp(23px, 6.5vw, 35px); line-height: 1.45; margin-bottom: 12px; letter-spacing: .05em; }
    .carousel-copy p { font-size: 11px; line-height: 1.65; margin-bottom: 12px; }
    .carousel-copy .btn { font-size: 12px; min-height: 32px; padding: 6px 9px; letter-spacing: 0; }
    .exhibition { padding-bottom: 40px; }
    .collection-index { padding-block: 9px; }
    .collection-index a { flex-direction: column; padding: 4px; gap: 3px; }
    .collection-index svg { width: 25px; height: 25px; }
    .collection-index strong { font-size: 15px; }
    .collection-shelf { grid-template-columns: minmax(0, 1fr); gap: 10px; margin-top: 22px; }
    .shelf-heading { display: flex; flex-direction: row; justify-content: space-between; align-items: baseline; padding: 0; }
    .shelf-heading h2 { writing-mode: horizontal-tb; font-size: 25px; letter-spacing: .09em; }
    .floor-tabs { gap: 3px; margin-bottom: 10px; }
    .floor-tabs a { padding: 3px 9px; }
    .floor-grid, .catalog-results .grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 17px 10px; }
    .card-image { padding: 4px; }
    .card-body { padding-top: 7px; }
    .card-body h3 { font-size: 15px; }
    .card-bottomline .price { font-size: 15px; }
    .card-bottomline span { display: none; }
    .demo-badge { font-size: 9px; }
    .card-image .demo-badge { top: 7px; left: 7px; }
    .recycle-invitation { margin-block: 25px; padding: 18px 13px; gap: 13px; }
    .reading-links { grid-template-columns: minmax(0, 1fr); gap: 11px; }
    .reading-links a { padding-top: 10px; }
    .reading-links strong { margin-block: 4px; }
    .catalog-directory { font-size: 15px; gap: 7px 17px; }
    .catalog-filter { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
    .item-listing, .checkout-flow, .auth-layout, .valuation-section, .split, .faq-grid { grid-template-columns: minmax(0, 1fr); }
    .listing-media .product-img { max-height: 300px; }
    .listing-specs { font-size: 12px; }
    .listing-specs div { min-width: 0; }
    .product-section-nav a { font-size: 12px; padding: 7px; }
    .product-details-section { padding: 13px; }
    .auth-cover { display: none; }
    .checkout-flow { grid-template-rows: auto; }
    .checkout-columns, .checkout-confirm, .checkout-item-banner { grid-column: auto; grid-row: auto; }
    .checkout-item-banner img { width: 56px; height: 56px; }
    .checkout-item-banner { gap: 8px; }
    .checkout-item-banner > strong { width: auto; font-size: 13px; }
    .member-directory { grid-template-columns: minmax(0, 1fr); gap: 8px; }
    .process-grid, .journal-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .footer-directory { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 13px; padding-block: 20px; }
    .footer-operator { grid-column: 1 / -1; }
    .floating-tools { bottom: calc(62px + env(safe-area-inset-bottom)); right: 5px; }
    .floating-tools a { width: 34px; min-height: 29px; font-size: 11px; }
    .mobile-tabs, .mobile-item-dock {
        position: fixed;
        inset: auto 0 0;
        z-index: 10;
        display: flex;
        align-items: stretch;
        min-height: 53px;
        padding-bottom: env(safe-area-inset-bottom);
        border-top: 1px solid var(--gold);
        background: var(--paper);
    }
    .mobile-tabs a { flex: 1; display: grid; gap: 1px; align-content: center; justify-items: center; color: var(--muted); font-size: 11px; }
    .mobile-tabs a[aria-current="page"] { color: var(--accent); background: var(--raised); }
    .mobile-tabs svg { width: 18px; height: 18px; }
    .page-product .mobile-tabs { display: none; }
    .mobile-item-dock { align-items: center; justify-content: space-between; padding-inline: 12px; gap: 7px; }
    .mobile-item-dock strong, .dock-contact { color: var(--accent); }
    .admin-header-inner { min-height: 56px; }
    .admin-brand, .service-brand { gap: 7px; }
    .admin-brand strong { font-size: 16px; }
    .admin-view-site { font-size: 12px; }
    .admin-nav { font-size: 12px; }
    .admin-nav a, .admin-nav form { padding: 5px 7px; }
    .admin-main { padding: 10px; }
    .admin-stats { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .service-header { padding: 12px; }
    .service-brand strong { font-size: 21px; }
    .service-methods { grid-template-columns: minmax(0, 1fr); }
}
