@font-face { font-family: Anton; src: url('/fonts/anton.woff2') format('woff2'); font-weight: 400; font-display: swap; }
@font-face { font-family: Inter; src: url('/fonts/inter.woff2') format('woff2'); font-weight: 100 900; font-display: swap; }
@font-face { font-family: 'Inter Tight'; src: url('/fonts/inter-tight.woff2') format('woff2'); font-weight: 100 900; font-display: swap; }
@font-face { font-family: Newsreader; src: url('/fonts/newsreader.woff2') format('woff2'); font-weight: 200 800; font-display: swap; }

:root {
  --bg: #f0eee9; --ink: #171716; --stone: #d8d5ce; --mute: #55544f;
  --accent: #ff4a1c; --rule: #17171638; --gutter: clamp(24px, 4.45vw, 64px);
  --sans: Inter, system-ui, sans-serif; --heading: 'Inter Tight', var(--sans);
  --serif: Newsreader, Georgia, serif; --digits: Anton, Impact, sans-serif;
}
*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
body { margin: 0; background: var(--bg); color: var(--ink); font: 400 15px/1.5 var(--sans); }
a { color: inherit; text-decoration-thickness: 1px; text-underline-offset: .24em; }
a:hover { text-decoration-color: var(--accent); }
h1, h2, h3, p { margin: 0; }
h1, h2, h3 { line-height: 1.02; }
h2, h3 { font-family: var(--serif); font-weight: 400; }
p + p { margin-top: .75rem; }
summary { cursor: pointer; }
:focus-visible { outline: 2px solid #a92700; outline-offset: 4px; }
.skip { position: fixed; z-index: 10; inset: 8px auto auto 8px; transform: translateY(-180%); padding: 12px; color: var(--bg); background: var(--ink); }
.skip:focus { transform: none; }
.wrap { margin-inline: auto; width: min(100%, 1440px); padding-inline: var(--gutter); }
.eyebrow { font: 650 11px/1.45 var(--sans); letter-spacing: .15em; text-transform: uppercase; }
.digits { font-family: var(--digits); font-weight: 400; line-height: 1; font-variant-numeric: tabular-nums; white-space: nowrap; }

button, .button {
  display: inline-flex; align-items: center; justify-content: center; gap: 9px; min-height: 48px;
  padding: 0 20px; border: 1px solid var(--ink); border-radius: 0; background: var(--ink); color: var(--bg);
  font: 700 11px/1.25 var(--sans); letter-spacing: .12em; text-transform: uppercase; text-decoration: none;
  cursor: pointer; transition: background-color .2s, color .2s;
}
button:not(:disabled):hover, .button:hover { background: var(--accent); color: var(--ink); }
button:disabled { opacity: .55; cursor: default; }
.ghost { background: transparent; color: var(--ink); }
.button svg { flex: none; }
label { display: grid; gap: 5px; min-width: 0; }
input, select, textarea { width: 100%; min-width: 0; min-height: 44px; border: 1px solid var(--ink); border-radius: 0; padding: 8px 11px; color: inherit; background: transparent; font: inherit; }
input[type=checkbox] { width: 18px; height: 18px; min-height: 0; accent-color: var(--ink); }
label.check { display: flex; align-items: center; min-height: 44px; }
textarea { min-height: 90px; }
.editor { display: grid; gap: 15px; max-width: 530px; margin-block: 22px; }
.editor > button { justify-self: start; }
.actions { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; }
.form-grid { display: grid; gap: 12px; }
.scroll { overflow-x: auto; }
table { width: 100%; border-collapse: collapse; }
th, td { padding: 12px; text-align: left; border-bottom: 1px solid var(--rule); }
th { font-size: 10px; letter-spacing: .12em; text-transform: uppercase; }
dialog { width: min(460px, calc(100% - 32px)); max-height: 88dvh; padding: 24px; border: 1px solid var(--ink); background: var(--bg); color: var(--ink); }
dialog::backdrop { background: #17171685; }
dialog h2 { margin-bottom: 16px; font-size: 30px; }
dialog [data-count] { margin-block: 14px; }
progress { width: min(100%, 480px); accent-color: var(--ink); }

.site-header { position: sticky; top: 0; z-index: 5; background: var(--bg); }
.site-header.is-scrolled { box-shadow: 0 1px var(--rule), 0 8px 22px #17171612; }
.site-header.is-scrolled .site-header-inner { border-bottom-color: transparent; }
.site-header-inner > .brand { justify-self: center; white-space: nowrap; }
.site-header-inner { display: grid; grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr); align-items: center; gap: 20px; min-height: 81px; border-bottom: 1px solid var(--ink); }
.brand { font: 750 13px/1.35 var(--sans); text-transform: uppercase; letter-spacing: .28em; text-decoration: none; }
.brand img { display: block; object-fit: contain; }
.desktop-nav, .header-tools { display: flex; align-items: center; gap: 8px clamp(8px, 1.2vw, 22px); }
.header-tools { justify-content: flex-end; }
.desktop-nav a, .header-tools > a:not(.button) { display: inline-flex; align-items: center; min-height: 44px; font-size: 10px; font-weight: 650; letter-spacing: .12em; text-transform: uppercase; text-decoration: none; }
.desktop-nav a, .header-tools > a:not(.button) { position: relative; white-space: nowrap; }
.desktop-nav a::after, .header-tools > a:not(.button)::after {
  content: ''; position: absolute; inset: auto 0 7px; height: 2px; background: var(--accent);
  transform: scaleX(0); transform-origin: left;
}
.desktop-nav a:is(:hover, :focus-visible, [aria-current])::after,
.header-tools > a:not(.button):is(:hover, :focus-visible)::after { transform: scaleX(1); }
.section-title a:hover { text-decoration: underline; }
.header-whatsapp { min-height: 44px; padding-inline: 15px; }
.mobile-caption, .mobile-nav, .public-tabs, .mobile-detail-header { display: none; }
.site-footer { margin-top: 65px; background: var(--ink); color: var(--bg); }
body:has(.home) .site-footer { margin-top: 0; }
.footer-inner { display: grid; grid-template-columns: minmax(0, 1.6fr) minmax(0, .65fr) minmax(0, 1fr); gap: clamp(28px, 5vw, 78px); padding-block: clamp(42px, 6vw, 88px); }
.footer-statement .brand { color: var(--bg); text-decoration: none; }
.footer-quote { margin-top: 24px; max-width: 10ch; font: 400 clamp(46px, 6.4vw, 98px)/.99 var(--serif); letter-spacing: -.045em; }
.footer-quote span { color: var(--accent); }
.footer-column { display: flex; flex-direction: column; align-items: start; min-width: 0; }
.footer-column h2 { margin: 0 0 13px; color: #c6c2ba; }
.footer-column a:not(.button), .footer-bottom a { display: inline-flex; align-items: center; gap: 8px; min-height: 40px; text-decoration: none; overflow-wrap: anywhere; }
.footer-column a:hover, .footer-bottom a:hover { color: #ff835f; }
.footer-address { display: grid; justify-items: start; font-style: normal; }
.footer-address svg { flex: 0 0 18px; color: #ff835f; }
.footer-social { display: flex; flex-wrap: wrap; gap: 0 16px; }
.footer-column .button { margin-top: 14px; max-width: 100%; background: var(--bg); color: var(--ink); border-color: var(--bg); }
.footer-column .button:hover { background: var(--accent); border-color: var(--accent); }
.footer-bottom { display: flex; justify-content: space-between; flex-wrap: wrap; align-items: center; gap: 6px 24px; border-top: 1px solid #f0eee940; padding-block: 12px; color: #c6c2ba; font-size: 12px; }
.footer-bottom nav { display: flex; flex-wrap: wrap; gap: 0 20px; }
.site-footer :focus-visible { outline-color: #ff835f; }
.site-footer .map-credits { margin: 0; padding-bottom: 16px; }
.content-page { min-height: 48dvh; padding-block: 50px; }
.content-page h1 { font: 400 clamp(42px, 6vw, 75px)/1 var(--serif); margin-bottom: 18px; }

.hero { display: grid; grid-template-columns: 1fr 1fr; column-gap: clamp(30px, 6vw, 90px); padding-top: 40px; padding-bottom: 70px; }
.hero-kicker, .hero-digits { grid-column: 1 / -1; }
.hero-kicker { display: flex; justify-content: space-between; align-items: center; color: var(--mute); }
.hero-meta, .mobile-stock h2 { display: flex; align-items: center; gap: 10px; }
.status-dot { display: inline-block; flex: none; width: 8px; height: 8px; border-radius: 50%; background: var(--accent); }
.hero-digits { display: block; margin: 18px 0 40px; padding-bottom: 24px; border-bottom: 5px solid var(--accent); font-size: clamp(65px, 14.5vw, 210px); text-decoration: none; }
.hero-copy { grid-column: 2; }
.hero-empty .hero-copy, .hero-empty .home-search { margin-top: 30px; }
.hero h1, .hero-copy h1, .browse-header h1, .home-cta h2 { font: 800 clamp(38px, 4.5vw, 64px)/.94 var(--heading); letter-spacing: -.05em; }
.hero-copy p { max-width: 420px; margin-top: 22px; color: #302f2a; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 11px; margin-top: 25px; }
.home-search { grid-column: 1; grid-row: 3; max-width: 560px; padding-top: 7px; }
.hero-empty .home-search { grid-row: 2; }
.home-search p { margin-top: 13px; color: var(--mute); font-size: 10px; }
.search-field { display: flex; align-items: center; border-bottom: 1px solid var(--ink); }
.search-field:focus-within { box-shadow: 0 2px var(--accent); }
.search-field input { border: 0; padding-inline: 0; flex: 1; font-size: 18px; }
.search-field input:focus-visible { outline: 0; }
.search-field button { flex: none; display: flex; padding-inline: 8px 0; border: 0; background: transparent; color: var(--ink); }
.search-field > svg { flex: none; margin-right: 8px; }
.storefront .search-field { min-height: 58px; margin-top: 7px; padding: 4px; border: 1px solid var(--ink); background: #fffdf8; }
.storefront .search-field:focus-within { outline: 2px solid var(--accent); outline-offset: 2px; box-shadow: none; }
.storefront .search-field > svg { margin-inline: 10px; }
.storefront .search-field input { padding: 5px 8px 5px 0; font-size: clamp(16px, 2vw, 19px); }
.storefront .search-field input::placeholder { color: var(--mute); }
.storefront .search-field button { min-width: 112px; padding: 0 14px; background: var(--ink); color: var(--bg); }
.storefront .search-field button:hover { background: var(--accent); color: var(--ink); }
#listing-query { scroll-margin-top: 115px; }
.number-strip { position: relative; background: var(--accent); border-block: 1px solid var(--ink); }
.strip-window { overflow: auto; scrollbar-width: thin; }
.strip-track { display: flex; width: max-content; font-size: 32px; }
.strip-group { display: flex; justify-content: space-around; gap: 20px; min-width: 100vw; padding: 15px 20px; }
.strip-group > * { display: flex; gap: 20px; align-items: center; text-decoration: none; }
.strip-group > *::after { content: ''; width: 5px; height: 5px; transform: rotate(45deg); background: var(--ink); }
.strip-copy { display: none; }
.mobile-stock { display: none; }
.home-steps { background: var(--ink); color: var(--bg); padding-block: 35px 40px; scroll-margin-top: 85px; }
.home-steps-heading { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 8px; }
.home-featured { padding-top: clamp(40px, 7vw, 88px); }
.home-steps h2 { color: #c6c2ba; }
.home-steps ol { display: grid; grid-template-columns: repeat(4, 1fr); gap: 28px; list-style: none; margin: 20px 0 0; padding: 0; counter-reset: steps; }
.home-steps li { border-top: 1px solid #676561; padding-top: 16px; counter-increment: steps; }
.home-steps li::before { content: '0' counter(steps); font-size: 10px; letter-spacing: .16em; color: #c6c2ba; }
.home-steps h3 { font-size: 32px; margin-block: 9px; }
.home-steps p { max-width: 290px; color: #c6c2ba; font-size: 13px; }
.section-title { display: flex; gap: 12px; align-items: baseline; justify-content: space-between; margin-bottom: 25px; }
.section-title h2, .similar-numbers h2 { font-size: clamp(32px, 4vw, 53px); }
.section-title a { white-space: nowrap; text-decoration: none; }
.number-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 255px), 1fr)); gap: 32px 20px; }
.number-card { min-width: 0; container-type: inline-size; }
.number-face { display: flex; align-items: flex-end; min-height: 148px; padding: 16px; background: linear-gradient(160deg, #dedbd4, #d2cfc7); text-decoration: none; font-size: clamp(26px, 17cqw, 46px); transition: box-shadow .2s; }
.number-face:hover { box-shadow: inset 0 -4px var(--accent); }
.number-meta { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: baseline; gap: 4px; margin-top: 10px; }
.status-pill { display: inline-flex; align-items: center; gap: 7px; font-size: 10px; font-weight: 750; letter-spacing: .12em; text-transform: uppercase; white-space: nowrap; }
.storefront .status-pill::before { content: ''; width: 7px; height: 7px; transform: rotate(45deg); background: var(--accent); }
.storefront .status-pill.sold::before { background: var(--mute); }
.number-meta strong { font-weight: 750; }
.number-card p { margin-top: 5px; font-size: 12px; color: var(--mute); }
.number-card .button { width: 100%; margin-top: 10px; min-height: 44px; padding-inline: 6px; }
.number-card .button svg { width: 14px; }
.home-benefits { display: grid; grid-template-columns: repeat(5, 1fr); padding: 0; list-style: none; margin-block: 65px 0; border-block: 1px solid var(--ink); }
.home-benefits li { padding: 15px 10px; font: 400 23px/1.16 var(--serif); border-right: 1px solid var(--rule); }
.home-benefits li:last-child { border-right: 0; }
.home-cta { padding-block: clamp(46px, 8vw, 100px); margin-top: clamp(44px, 8vw, 105px); background: var(--accent); }
.home-cta > div { display: flex; justify-content: space-between; align-items: flex-end; flex-wrap: wrap; gap: 22px; }
.home-cta h2 { font-size: clamp(40px, 6.5vw, 92px); }

.browse-header { padding-block: clamp(28px, 4vw, 52px) 30px; }
.browse-header h1 { font-size: clamp(58px, 7.2vw, 106px); overflow-wrap: anywhere; }
.browse-header p { margin-top: 14px; }
.browse-header .listing-search { margin-top: 24px; }
.browse-header .search-help { margin-top: 9px; color: var(--mute); font-size: 13px; }
.browse-rule { height: 5px; background: var(--accent); }
.browse-layout { display: grid; grid-template-columns: minmax(150px, 205px) minmax(0, 1fr); gap: clamp(26px, 4vw, 56px); padding-top: 34px; padding-bottom: 30px; }
.desktop-filters form { display: grid; gap: 16px; }
.desktop-filters label, .form-grid label, .sort-form label { font-size: 12px; font-weight: 650; }
.filter-group { min-width: 0; margin: 0; padding: 0 0 13px; border: 0; border-bottom: 1px solid var(--rule); }
.filter-group legend { padding: 0; margin-bottom: 6px; }
.filter-group label { display: flex; align-items: center; gap: 8px; min-height: 35px; cursor: pointer; }
.filter-group input { appearance: none; width: 16px; height: 16px; min-height: 0; margin: 0; padding: 0; flex: none; }
.filter-group input:checked { background: var(--ink); box-shadow: inset 0 0 0 3px var(--bg); }
dialog .filter-group > div { display: flex; flex-wrap: wrap; gap: 6px; }
dialog .filter-group label { position: relative; min-height: 44px; padding: 0 10px; border: 1px solid var(--ink); }
dialog .filter-group label:has(:checked) { background: var(--ink); color: var(--bg); }
dialog .filter-group input { position: absolute; width: 1px; height: 1px; opacity: 0; }
dialog .filter-group label:has(:focus-visible) { outline: 2px solid #a92700; outline-offset: 2px; }
.browse-results, .listing-search { min-width: 0; }
.browse-tools { display: flex; align-items: end; justify-content: space-between; flex-wrap: wrap; gap: 12px; margin-bottom: 20px; }
.browse-tools > p { padding-block: 12px; }
.sort-form { display: flex; align-items: end; gap: 7px; }
.sort-form button, .open-filters { min-height: 44px; }
.sort-form select { min-width: 135px; }
.open-filters { display: none; gap: 12px; }
.filter-chips { display: flex; gap: 8px; flex-wrap: wrap; align-items: center; margin-bottom: 20px; }
.filter-chips a { display: inline-flex; align-items: center; min-height: 44px; }
.chip { padding-inline: 10px; border: 1px solid var(--rule); font-size: 12px; text-decoration: none; }
.chip:hover { border-color: var(--ink); }
.pagination { display: flex; justify-content: center; align-items: center; gap: 4px; margin-top: 35px; }
.pagination a, .page-number { display: inline-grid; place-items: center; min-height: 44px; min-width: 44px; border: 1px solid var(--ink); text-decoration: none; }
.pagination a:hover { background: var(--stone); }
.page-number { background: var(--ink); color: var(--bg); }
.page-count { position: absolute; clip-path: inset(50%); width: 1px; height: 1px; overflow: hidden; }
.skeleton { background: var(--stone); min-height: 130px; }
#catalogue-loading p, #catalogue-results > p { margin-bottom: 14px; }
.empty-state { padding: 26px 0; }
.empty-state p { margin-block: 10px 16px; }

.number-detail { padding-top: 32px; }
.detail-back { display: inline-flex; align-items: center; min-height: 44px; }
.detail-heading { padding-block: 16px 24px; border-bottom: 1px solid var(--rule); }
.detail-heading h1 { font-size: clamp(62px, 13vw, 185px); margin-top: 12px; }
.detail-information { padding-top: 22px; max-width: 680px; }
.detail-price { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-top: 7px; padding-bottom: 20px; border-bottom: 1px solid var(--ink); }
.detail-price strong { padding: 9px 12px; font-size: clamp(39px, 7vw, 68px); background: var(--accent); }
.detail-price .status-pill { border: 1px solid var(--ink); padding: 8px 10px; }
.detail-information dl { margin: 0 0 16px; }
.detail-information dl div { display: flex; justify-content: space-between; align-items: center; gap: 12px; border-bottom: 1px solid var(--rule); padding-block: 15px; }
.detail-information dd { margin: 0; font-weight: 650; text-align: right; }
.availability-note { font-size: 12px; color: var(--mute); }
.detail-enquiry { margin-top: 20px; }
.similar-numbers { margin-top: 42px; }
.similar-numbers h2 { margin-bottom: 20px; }

.admin-page, .login-page { --bg: #f2f0eb; --stone: #d8d5cf; --ink: #171717; font-family: var(--heading); }
.admin-page .eyebrow, .login-page .eyebrow { font-family: var(--heading); }
.admin-page button:not(:disabled):hover, .admin-page .button:hover, .login-page button:not(:disabled):hover { background: var(--stone); }
.admin-shell { display: grid; grid-template-columns: 240px minmax(0, 1fr); min-height: 100dvh; }
.admin-sidebar { border-right: 1px solid var(--ink); }
.admin-brand { display: grid; gap: 8px; padding: 22px 24px; border-bottom: 1px solid var(--ink); }
.admin-sidebar nav { padding-block: 12px; }
.admin-sidebar nav a, .admin-sidebar .sign-out, .admin-mobile-header .mobile-nav nav a, .admin-mobile-header .sign-out { display: flex; align-items: center; gap: 12px; min-height: 44px; padding: 0 24px; text-decoration: none; }
.admin-sidebar nav a:hover, .admin-mobile-header .mobile-nav nav a:hover { background: var(--stone); }
.admin-sidebar nav [aria-current], .admin-mobile-header [aria-current] { color: var(--bg); background: var(--ink); }
.admin-sidebar nav [aria-current]:hover, .admin-mobile-header .mobile-nav nav [aria-current]:hover { color: var(--ink); }
.sign-out { width: 100%; justify-content: flex-start; border: 0; background: transparent; color: var(--ink); font: inherit; letter-spacing: 0; text-transform: none; }
.admin-sidebar nav form { margin: 12px 0 0; padding-top: 12px; border-top: 1px solid var(--rule); }
.admin-top { min-height: 65px; padding: 8px 32px; border-bottom: 1px solid var(--ink); display: flex; align-items: center; justify-content: space-between; gap: 14px; }
.admin-top .button { min-height: 44px; }
.admin-content { padding: 36px 32px 55px; }
.admin-content h1, .login-card h1 { font: 350 49px/1.02 var(--serif); }
.admin-content > section, .admin-content > p, .admin-content > form, .admin-content > details { margin-top: 15px; }
.admin-mobile-header, .admin-tabs, .mobile-add { display: none; }
.admin-page .status-pill { min-height: 24px; padding: 2px 9px; border: 1px solid var(--ink); }
.admin-page .status-pill.available { background: var(--ink); color: var(--bg); }
.admin-page .status-pill.sold { background: var(--stone); border-color: var(--stone); }
.struck { text-decoration: line-through; text-decoration-thickness: 2px; }
.dashboard-date, .inventory-heading p { margin-top: 8px; color: var(--mute); }
.stat-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; margin-top: 28px; }
.stat { padding: 19px; border: 1px solid var(--ink); min-width: 0; }
.stat h2 { color: var(--mute); overflow-wrap: anywhere; }
.stat strong { display: block; margin-top: 12px; font-size: clamp(36px, 4.8vw, 65px); white-space: normal; overflow-wrap: anywhere; }
.inventory-split { margin-top: 23px; }
.inventory-split svg { display: block; width: 100%; height: 13px; border: 1px solid var(--ink); }
.split-available { fill: var(--ink); }
.split-unpublished { fill: #aaa7a1; }
.split-sold { fill: var(--stone); }
.split-key { display: flex; gap: 9px 19px; flex-wrap: wrap; margin-top: 10px; color: var(--mute); }
.dashboard-lower { display: grid; grid-template-columns: minmax(0, 2fr) minmax(185px, 1fr); gap: 32px; margin-top: 40px; }
.dashboard-lower .section-title { padding-bottom: 10px; border-bottom: 1px solid var(--ink); margin-bottom: 14px; }
.dashboard-lower h2 { font-size: 29px; }
.recent-number { display: grid; grid-template-columns: minmax(max-content, 1fr) minmax(0, 1fr) auto auto; align-items: center; gap: 10px; border-bottom: 1px solid var(--rule); text-decoration: none; padding: 13px 0; }
.recent-number:hover { background: var(--stone); }
.recent-number .digits { font-size: clamp(20px, 2.25vw, 32px); }
.recent-price { white-space: nowrap; font-weight: 650; }
.recent-meta, .quick-actions p { color: var(--mute); font-size: 12px; }
.quick-actions .button { display: flex; margin-bottom: 10px; }
.inventory-heading { display: flex; justify-content: space-between; align-items: end; gap: 10px; }
.inventory-tools { display: flex; flex-wrap: wrap; align-items: end; gap: 14px; margin-block: 24px 18px; }
.inventory-tools .listing-search { flex: 1 1 220px; max-width: 345px; }
.inventory-filters form { display: flex; flex-wrap: wrap; align-items: end; gap: 7px; }
.inventory-filters label { font-size: 12px; font-weight: 600; }
.inventory-filters button { min-height: 44px; }
.bulk-bar { padding: 10px 14px; margin-bottom: 12px; border: 1px solid var(--ink); align-items: end; background: var(--stone); }
.bulk-bar > span { align-self: center; }
.bulk-bar label { font-size: 12px; }
.bulk-bar button { min-height: 44px; }
.inventory-table { overflow-x: auto; border: 1px solid var(--ink); }
.inventory-table tr:last-child td { border-bottom: 0; }
.inventory-table tr:has(input:checked) { background: var(--stone); }
.inventory-table .digits { font-size: 26px; text-decoration: none; }
.inventory-table .struck { text-decoration: line-through; }
.inventory-actions button { min-height: 44px; }
.inventory-sheet { display: grid; gap: 12px; }
.inventory-sheet h2 { font-size: 36px; margin-bottom: 0; }
.inventory-sheet p { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; }
.inventory-sheet form > button { width: 100%; }
#upload { display: flex; flex-wrap: wrap; align-items: end; gap: 10px; margin-block: 18px; }
#upload label { min-width: 0; }
#upload input { max-width: 100%; }
.steps { display: flex; flex-wrap: wrap; gap: 7px 30px; padding-left: 20px; }
#preview :is(table, .actions), #summary p { margin-block: 14px; }

.login-page { display: grid; grid-template-rows: auto 1fr auto; min-height: 100dvh; }
.login-header, .login-footer { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 18px 40px; }
.login-header { border-bottom: 1px solid var(--ink); }
.login-footer { border-top: 1px solid var(--rule); color: var(--mute); }
.login-main { display: grid; place-items: center; padding: 40px 20px; }
.login-card { width: min(100%, 440px); border: 1px solid var(--ink); }
.login-band { background: var(--stone); border-bottom: 1px solid var(--ink); padding: 19px 38px; }
.login-content { padding: 31px 38px 0; }
.login-content h1 { margin: 8px 0; }
.login-content p, .login-actions p { font-size: 13px; color: var(--mute); }
.login-content .editor { margin-bottom: 18px; gap: 8px; }
.login-content .editor label:not(:first-child) { margin-top: 9px; }
.login-content input, .login-actions button { min-height: 52px; }
.password-field { display: flex; }
.password-field button { border-left: 0; min-width: 75px; }
.login-actions { padding: 0 38px 22px; }
.login-actions button { width: 100%; }
.login-actions p { margin-top: 12px; }
.form-alert { border: 1px solid var(--ink); padding: 10px; }

@media (max-width: 1100px) {
  .admin-shell { grid-template-columns: 190px minmax(0, 1fr); }
  .recent-number { grid-template-columns: minmax(max-content, 1fr) auto auto; }
  .recent-meta { display: none; }
}
@media (max-width: 900px) {
  .dashboard-lower { grid-template-columns: 1fr; }
  .recent-number { grid-template-columns: minmax(max-content, 1fr) minmax(0, 1fr) auto auto; }
  .recent-meta { display: block; }
  .browse-layout { grid-template-columns: 150px minmax(0, 1fr); }
}
@media (max-width: 1120px) {
  .site-header-inner { display: flex; justify-content: space-between; min-height: 64px; gap: 8px; }
  .site-header .desktop-nav, .site-header .header-whatsapp { display: none; }
  .site-header .mobile-nav { display: block; }
  .site-header .mobile-nav summary { display: grid; place-items: center; width: 44px; height: 44px; list-style: none; }
  .site-header .mobile-nav summary::-webkit-details-marker { display: none; }
  .site-header .mobile-nav nav {
    position: absolute; top: 100%; right: var(--gutter); width: min(320px, calc(100% - 2 * var(--gutter)));
    max-height: calc(100dvh - 76px); overflow-y: auto; padding: 8px 14px 14px;
    background: var(--bg); border: 1px solid var(--ink); box-shadow: 0 10px 22px #1717161a;
  }
  .site-header .mobile-nav nav a:not(.button) {
    display: flex; align-items: center; min-height: 46px; padding: 0 8px;
    border-bottom: 1px solid var(--rule); text-decoration: none;
  }
  .site-header .mobile-nav nav a[aria-current] { box-shadow: inset 3px 0 var(--accent); padding-left: 13px; font-weight: 700; }
  .site-header .mobile-nav nav .button { display: flex; margin-top: 11px; }
  .menu-glyph { display: grid; gap: 5px; width: 20px; }
  .menu-glyph::before, .menu-glyph::after { content: ''; height: 1.5px; background: currentColor; }
  .menu-glyph::after { width: 72%; justify-self: end; }
  .site-header details[open] .menu-glyph::before { transform: translateY(3.25px) rotate(45deg); }
  .site-header details[open] .menu-glyph::after { width: 100%; transform: translateY(-3.25px) rotate(-45deg); }
}
@media (max-width: 760px) {
  :root { --gutter: 20px; }
  .storefront:not(.detail-page), .detail-page { padding-bottom: calc(58px + env(safe-area-inset-bottom)); }
  .site-header-inner { min-height: 58px; }
  .site-header .header-tools { gap: 3px; }
  .site-header .brand { white-space: normal; }
  .brand { font-size: 11px; letter-spacing: .21em; }
  .desktop-nav, .header-whatsapp, .desktop-caption, .desktop-filters { display: none; }
  .mobile-caption, .mobile-nav { display: block; }
  .mobile-nav summary { display: grid; place-items: center; width: 44px; height: 44px; list-style: none; }
  .mobile-nav summary::-webkit-details-marker { display: none; }
  .mobile-nav nav { position: absolute; right: 0; top: 100%; width: min(280px, 100vw); padding: 10px; border: 1px solid var(--ink); background: var(--bg); z-index: 4; }
  .mobile-nav nav a { display: flex; align-items: center; min-height: 44px; padding: 0 10px; }
  .public-tabs { display: flex; justify-content: space-evenly; position: fixed; inset: auto 0 0; z-index: 3; padding: 0 6px env(safe-area-inset-bottom); background: var(--ink); color: var(--bg); }
  .public-tabs a { display: flex; align-items: center; justify-content: center; min-height: 54px; padding: 4px; color: inherit; font: 700 9px/1.2 var(--sans); text-transform: uppercase; letter-spacing: .1em; text-decoration: none; }
  .public-tabs a[aria-current] { box-shadow: inset 0 -3px var(--accent); }
  .public-tabs svg { display: none; }
  .footer-inner { grid-template-columns: minmax(0, .75fr) minmax(0, 1.25fr); gap: 30px 18px; padding-block: 42px 32px; }
  .footer-statement { grid-column: 1 / -1; }
  .footer-quote { max-width: 13ch; margin-top: 16px; }
  .footer-column .button { min-height: 44px; padding-inline: 10px; }
  .footer-column .button svg { flex-shrink: 0; }
  .footer-bottom { padding-block: 15px 18px; }
  .home { display: flex; flex-direction: column; }
  .hero { display: contents; }
  .hero-kicker, .hero-copy, .home-search { padding-inline: var(--gutter); width: 100%; }
  .hero-kicker { padding-top: 29px; order: 0; }
  .hero-meta, .hero-digits { display: none; }
  .hero-copy { order: 1; padding-top: 12px; }
  .hero-copy h1 { font-size: clamp(45px, 14vw, 82px); }
  .hero-copy p { margin-top: 18px; font-size: 14px; }
  .hero-actions { display: grid; gap: 10px; margin-top: 21px; }
  .hero-actions .button { min-height: 52px; }
  .number-strip { order: 2; margin-top: 30px; }
  .strip-track { font-size: 26px; }
  .strip-group { padding-block: 13px; }
  .mobile-stock { display: block; order: 3; margin-top: 28px; }
  .sim-card { display: grid; gap: 13px; color: var(--bg); background: var(--ink); text-decoration: none; padding: 19px 20px 22px; clip-path: polygon(0 0, 88% 0, 100% 17%, 100% 100%, 0 100%); }
  .sim-card .eyebrow { display: flex; align-items: center; justify-content: space-between; color: #ccc8c0; font-size: 10px; }
  .sim-card svg { color: var(--accent); }
  .sim-card i { width: 43px; height: 32px; border: 1px solid #6b6a66; background: linear-gradient(135deg, #3a3936, #22221f); }
  .sim-card strong { font-size: clamp(39px, 12vw, 76px); }
  .mobile-stock h2 { margin-top: 30px; padding-bottom: 10px; border-bottom: 1px solid var(--ink); }
  .stock-list a { display: flex; align-items: center; justify-content: space-between; gap: 8px; padding: 11px 0; border-bottom: 1px solid var(--rule); text-decoration: none; }
  .stock-list .digits { font-size: clamp(27px, 8vw, 38px); }
  .stock-list a > span:last-child { display: grid; text-align: right; }
  .stock-list small { color: var(--mute); }
  .home-search { order: 4; padding-top: 0; margin: 32px auto 0; max-width: 100%; }
  .home-steps { order: 6; padding-block: 31px; }
  .home-steps ol { grid-template-columns: 1fr; gap: 16px; }
  .home-steps li { display: grid; grid-template-columns: 30px minmax(0, 1fr); }
  .home-steps li::before { padding-top: 4px; grid-row: span 2; }
  .home-steps h3 { margin: 0 0 6px; font-size: 26px; }
  .home-featured { order: 7; }
  .home-cta { order: 8; }
  .home-benefits { grid-template-columns: repeat(2, 1fr); margin-top: 35px; }
  .home-benefits li { border-bottom: 1px solid var(--rule); font-size: 20px; }
  .number-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 26px 12px; }
  .number-face { min-height: 98px; padding: 11px 7px; font-size: clamp(19px, 17cqw, 38px); }
  .number-meta strong { font-size: 13px; }
  .status-pill { font-size: 9px; letter-spacing: .07em; gap: 4px; }
  .number-card p { font-size: 11px; }
  .number-card .button { font-size: 10px; }
  .browse-header { display: block; padding-top: 28px; padding-bottom: 18px; }
  .browse-header h1 { font-size: clamp(48px, 13.5vw, 82px); }
  .storefront .search-field button { min-width: 0; padding-inline: 10px; letter-spacing: .07em; }
  .storefront .search-field button span { display: none; }
  .browse-header .listing-search { width: 100%; margin-top: 21px; }
  .browse-layout { display: block; padding-top: 14px; }
  .browse-rule { height: 1px; background: var(--rule); }
  .browse-tools { display: grid; grid-template-columns: minmax(0, .7fr) minmax(0, 1.3fr); align-items: end; gap: 8px; }
  .browse-tools > p { grid-column: 1 / -1; padding: 0; }
  .sort-form select { min-width: 0; }
  .sort-form button { padding-inline: 8px; letter-spacing: .04em; }
  .open-filters { display: inline-flex; padding-inline: 10px; }
  dialog { width: 100%; max-width: 100%; margin: auto 0 0; padding: 19px 20px max(20px, env(safe-area-inset-bottom)); }
  .detail-page .site-header, .detail-back { display: none; }
  .mobile-detail-header { display: grid; grid-template-columns: 44px 1fr 44px; align-items: center; padding: 4px 20px; border-bottom: 1px solid var(--ink); text-align: center; }
  .mobile-detail-header a { display: grid; place-items: center; min-height: 44px; font-size: 30px; text-decoration: none; }
  .number-detail { padding-top: 0; }
  .detail-heading { padding-top: 25px; }
  .detail-heading h1 { font-size: clamp(46px, 16.5vw, 112px); }
  .detail-enquiry { position: fixed; inset: auto 0 0; z-index: 3; margin: 0; padding: 10px 20px max(10px, env(safe-area-inset-bottom)); border-top: 1px solid var(--ink); background: var(--bg); }
  .detail-enquiry :is(.button, button) { width: 100%; min-height: 48px; }

  .admin-shell { display: block; }
  .admin-sidebar, .admin-top, .inventory-filters { display: none; }
  .admin-mobile-header { display: flex; position: sticky; top: 0; z-index: 3; align-items: center; justify-content: space-between; padding: 0 8px 0 20px; min-height: 59px; border-bottom: 1px solid var(--ink); background: var(--bg); }
  .admin-tabs { display: grid; grid-template-columns: repeat(4, 1fr); position: fixed; inset: auto 0 0; z-index: 3; padding-bottom: env(safe-area-inset-bottom); border-top: 1px solid var(--ink); background: var(--bg); }
  .admin-tabs a { display: flex; flex-direction: column; justify-content: center; align-items: center; gap: 4px; min-height: 58px; font: 700 10px var(--heading); text-transform: uppercase; letter-spacing: .08em; text-decoration: none; }
  .admin-tabs [aria-current] { background: var(--ink); color: var(--bg); }
  .admin-content { padding: 26px 20px calc(83px + env(safe-area-inset-bottom)); }
  .admin-content h1 { font-size: 42px; }
  .stat-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; margin-top: 22px; }
  .stat { padding: 14px; }
  .stat strong { font-size: 48px; }
  .dashboard-lower { gap: 22px; }
  .quick-actions { grid-row: 1; }
  .recent-number { grid-template-columns: minmax(0, 1fr) auto; gap: 7px 9px; padding: 12px; border: 1px solid var(--ink); margin-top: 9px; }
  .recent-number .digits { font-size: 27px; }
  .recent-number .status-pill { grid-area: 1 / 2; justify-self: end; }
  .recent-price { text-align: right; }
  .inventory-tools { margin-top: 14px; padding-bottom: 14px; border-bottom: 1px solid var(--ink); }
  .inventory-tools .listing-search { flex: 1; }
  .inventory-tools .sort-form { width: 100%; }
  .bulk-bar { padding: 9px; }
  .inventory-table { border: 0; overflow: visible; }
  .inventory-table table, .inventory-table tbody { display: block; }
  .inventory-table thead { position: absolute; clip-path: inset(50%); width: 1px; height: 1px; overflow: hidden; }
  .inventory-table thead:focus-within { position: static; clip-path: none; width: auto; height: auto; }
  .inventory-table tr { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; align-items: center; gap: 5px 9px; margin-bottom: 10px; padding: 11px; border: 1px solid var(--ink); }
  .inventory-table td { padding: 0; border: 0; }
  .inventory-check { grid-area: 1 / 1; }
  .inventory-number { grid-area: 1 / 2; }
  .inventory-status { grid-area: 1 / 3; justify-self: end; }
  .inventory-price { grid-area: 2 / 3; justify-self: end; font-weight: 650; }
  .inventory-pattern { grid-area: 2 / 2; font-size: 12px; color: var(--mute); }
  .inventory-featured { grid-area: 3 / 2; font-size: 12px; color: var(--mute); }
  .inventory-actions { grid-area: 3 / 3; justify-self: end; }
  .mobile-add { display: block; position: sticky; bottom: calc(58px + env(safe-area-inset-bottom)); margin: 16px -20px -10px; padding: 10px 20px; border-top: 1px solid var(--ink); background: var(--bg); }
  .mobile-add .button { width: 100%; }

  .login-page { display: block; }
  .login-header { padding-inline: 20px; min-height: 59px; }
  .login-main { display: block; padding: 0 0 120px; }
  .login-card { border: 0; width: 100%; }
  .login-band { padding: 15px 20px; }
  .login-content { padding: 28px 20px 0; }
  .login-content h1 { font-size: 44px; }
  .login-actions { position: fixed; inset: auto 0 0; border-top: 1px solid var(--ink); background: var(--bg); padding: 12px 20px max(15px, env(safe-area-inset-bottom)); text-align: center; }
  .login-footer { display: none; }
}
@media (max-width: 370px) {
  .inventory-table .digits { font-size: 22px; }
  .number-card .button { letter-spacing: .07em; gap: 4px; }
  .detail-price strong { font-size: 35px; }
}
@media (prefers-reduced-motion: no-preference) {
  .site-header { transition: box-shadow .28s ease; }
  .site-header-inner { transition: border-color .28s ease; }
  .desktop-nav a::after, .header-tools > a:not(.button)::after {
    transition: transform .28s cubic-bezier(.2,.8,.2,1);
  }
  .site-header .mobile-nav[open] nav { transform-origin: top; animation: menu-open .27s cubic-bezier(.2,.8,.2,1) both; }
  .site-header .mobile-nav[open] nav a { animation: nav-enter .3s ease both; }
  .site-header .mobile-nav[open] nav a:nth-child(2) { animation-delay: 25ms; }
  .site-header .mobile-nav[open] nav a:nth-child(3) { animation-delay: 50ms; }
  .site-header .mobile-nav[open] nav a:nth-child(4) { animation-delay: 75ms; }
  .site-header .mobile-nav[open] nav a:nth-child(n+5) { animation-delay: 100ms; }
  .site-header .mobile-nav:focus-within nav a:focus-visible { animation: none; }
  .menu-glyph::before, .menu-glyph::after { transition: transform .24s ease, width .24s ease; }
  .header-whatsapp svg { transition: transform .28s cubic-bezier(.2,.8,.2,1); }
  .header-whatsapp:is(:hover, :focus-visible) svg { transform: translateY(-3px) rotate(-8deg); }
  @keyframes menu-open { from { opacity: 0; transform: translateY(-7px) scaleY(.96); } to { opacity: 1; transform: none; } }
  @keyframes nav-enter { from { opacity: 0; transform: translateX(8px); } to { opacity: 1; transform: none; } }
  .number-strip .strip-window { overflow: hidden; }
  .number-strip .strip-track { animation: strip-scroll 42s linear infinite; }
  .number-strip .strip-copy { display: flex; }
  .number-strip .strip-window:hover .strip-track { animation-play-state: paused; }
  .number-strip:has(.strip-group:not(.strip-copy) a:focus-visible) .strip-track { animation: none; }
  .number-strip:has(.strip-group:not(.strip-copy) a:focus-visible) .strip-window { overflow-x: auto; }
  @keyframes strip-scroll { to { transform: translateX(-50%); } }

  .rising-digits { display: inline-flex; overflow: hidden; vertical-align: top; }
  .rising-digits > span { display: inline-block; animation: digit-rise .85s cubic-bezier(.2,.8,.2,1) both; }
  .rising-digits > :nth-child(2) { animation-delay: 55ms; }
  .rising-digits > :nth-child(3) { animation-delay: 110ms; }
  .rising-digits > :nth-child(4) { animation-delay: 165ms; }
  .rising-digits > :nth-child(5) { animation-delay: 220ms; }
  .rising-digits > :nth-child(7) { animation-delay: 275ms; }
  .rising-digits > :nth-child(8) { animation-delay: 330ms; }
  .rising-digits > :nth-child(9) { animation-delay: 385ms; }
  .rising-digits > :nth-child(10) { animation-delay: 440ms; }
  .rising-digits > :nth-child(11) { animation-delay: 495ms; }
  @keyframes digit-rise { from { transform: translateY(106%); opacity: 0; } to { transform: none; opacity: 1; } }

  .hero-kicker, .hero-copy, .home-search, .mobile-stock, .browse-header h1, .listing-search,
  .detail-information, .login-card, .stat, .number-card, dialog[open] {
    animation: reveal-up .55s cubic-bezier(.2,.8,.2,1) both;
  }
  .hero-copy, .home-search, .detail-information { animation-delay: .2s; }
  .stat:nth-child(2), .number-card:nth-child(4n + 2) { animation-delay: 65ms; }
  .stat:nth-child(3), .number-card:nth-child(4n + 3) { animation-delay: 130ms; }
  .stat:nth-child(4), .number-card:nth-child(4n + 4) { animation-delay: 195ms; }
  @keyframes reveal-up { from { opacity: 0; transform: translateY(15px); } to { opacity: 1; transform: none; } }
  .browse-rule { transform-origin: left; animation: draw-rule .75s cubic-bezier(.2,.8,.2,1) both; }
  @keyframes draw-rule { from { transform: scaleX(0); } to { transform: scaleX(1); } }

  /* Bring the lower homepage into view as the visitor scrolls. */
  .home [data-home-reveal="waiting"]:not(:focus-within) { opacity: 0; animation: none; }
  .home [data-home-reveal="visible"] {
    --reveal-x: 0px; --reveal-y: 28px; --reveal-delay: 0ms;
    animation: home-reveal .72s cubic-bezier(.2,.8,.2,1) var(--reveal-delay) both;
  }
  .home [data-home-reveal="visible"]:focus-within { animation: none; }
  .home-steps li[data-home-reveal="visible"] { position: relative; }
  .home-steps li[data-home-reveal="visible"]::after {
    content: ''; position: absolute; inset: -1px 0 auto; height: 2px;
    background: var(--accent); transform-origin: left; pointer-events: none;
    animation: home-rule-sweep .95s cubic-bezier(.2,.8,.2,1) var(--reveal-delay) both;
  }
  .home-steps li[data-home-reveal="visible"] h3,
  .home-steps li[data-home-reveal="visible"] p {
    animation: home-reveal .62s cubic-bezier(.2,.8,.2,1) calc(var(--reveal-delay) + 85ms) both;
  }
  .home-steps li[data-home-reveal="visible"] p { animation-delay: calc(var(--reveal-delay) + 150ms); }
  .home-steps li:nth-child(2)[data-home-reveal="visible"],
  .home-featured .number-card:nth-child(4n + 2)[data-home-reveal="visible"],
  .home-cta .button[data-home-reveal="visible"] { --reveal-delay: 110ms; }
  .home-steps li:nth-child(3)[data-home-reveal="visible"],
  .home-steps li:nth-child(4)[data-home-reveal="visible"],
  .home-featured .number-card:nth-child(4n + 3)[data-home-reveal="visible"] { --reveal-delay: 220ms; }
  .home-featured .number-card:nth-child(4n + 4)[data-home-reveal="visible"] { --reveal-delay: 330ms; }
  .home-featured .number-face { position: relative; overflow: hidden; }
  .home-featured .number-face::after {
    content: ''; position: absolute; inset: 0; pointer-events: none;
    background: linear-gradient(110deg, transparent 35%, #ffffff8c 50%, transparent 65%);
    transform: translateX(-105%);
  }
  .home-featured .number-face:is(:hover, :focus-visible)::after { animation: number-glint .68s ease-out; }
  @keyframes home-reveal {
    from { opacity: 0; transform: translate(var(--reveal-x), var(--reveal-y)); }
    to { opacity: 1; transform: none; }
  }
  @keyframes home-rule-sweep {
    0% { transform: scaleX(0); opacity: 0; }
    52% { transform: scaleX(1); opacity: 1; }
    100% { transform: scaleX(1); opacity: 0; }
  }
  @keyframes number-glint { to { transform: translateX(105%); } }

  @media (max-width: 760px) {
    .number-strip .strip-track { animation-duration: 30s; }
    .home [data-home-reveal="visible"] { --reveal-delay: 0ms; --reveal-x: 0px; --reveal-y: 21px; }
    /* Keep sticky actions in the viewport during entrance animations. */
    .detail-information, .login-card { animation: none; }
  }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition: none !important; }
}

.browse-sort { gap: 12px; flex-wrap: wrap; }
.price-slider { flex: 1; min-width: 160px; padding: 0 2px; }
.price-slider label { display: flex; justify-content: space-between; gap: 12px; }
.price-slider output { color: var(--mute); white-space: nowrap; }
.price-slider input { display: block; padding: 0; margin: 0; border: 0; cursor: pointer; accent-color: var(--ink); }
@media (max-width: 760px) {
  .browse-sort { display: contents; }
  .browse-sort > label { grid-area: 2 / 2; }
  .browse-sort .price-slider { grid-area: 3 / 1 / 4 / -1; margin-top: 8px; }
  .browse-sort > button { grid-area: 4 / 1 / 5 / -1; }
}

.settings-group { max-width: 530px; padding-top: 24px; border-top: 1px solid var(--rule); scroll-margin-top: 75px; }
.settings-group h2 { font-size: 33px; }
.settings-group [role] { margin-top: 10px; }

.about-intro, .about-experience > .wrap, .about-community { display: grid; grid-template-columns: 1.3fr .7fr; gap: clamp(24px, 5vw, 72px); }
.about-intro { align-items: end; padding-block: clamp(42px, 7.5vw, 112px); }
.about-heading { min-width: 0; }
.about-heading .eyebrow { margin-bottom: 15px; }
.about-heading h2 { font: 800 clamp(46px, 7.7vw, 110px)/.94 var(--heading); letter-spacing: -.055em; }
.about-intro-copy { padding-top: 18px; border-top: 4px solid var(--accent); }
.about-intro-copy p, .about-experience-copy p, .about-community-copy p { font-size: clamp(15px, 1.6vw, 19px); line-height: 1.65; }
.about-intro-copy .button, .about-community-copy .button { margin-top: 22px; }

.about-experience { background: var(--ink); color: var(--bg); }
.about-experience > .wrap { grid-template-columns: .8fr 1.2fr; align-items: center; padding-block: clamp(40px, 7vw, 95px); }
.about-tenure { border-right: 1px solid #716f68; }
.about-tenure strong { color: var(--accent); font-size: clamp(104px, 19vw, 260px); }
.about-tenure p { margin-top: 11px; }
.about-experience h2, .about-community h2 { font-size: clamp(42px, 6.4vw, 87px); letter-spacing: -.035em; }
.about-experience-copy p { max-width: 44ch; margin-top: 22px; color: #d4d0c7; }

.about-community { grid-template-columns: .8fr 1.2fr; padding-block: clamp(37px, 6vw, 85px); }
.about-community-copy { max-width: 58ch; }
.about-community-copy .button { gap: 9px; }
.storefront:has(.about-page) .site-footer { margin-top: 0; }

@media (max-width: 760px) {
  .about-intro, .about-experience > .wrap, .about-community { grid-template-columns: 1fr; }
  .about-tenure { padding-bottom: 20px; border-right: 0; border-bottom: 1px solid #716f68; }
}
@media (prefers-reduced-motion: no-preference) {
  .about-heading { animation: reveal-up .6s cubic-bezier(.2,.8,.2,1) both; }
  .about-intro-copy { animation: reveal-up .65s cubic-bezier(.2,.8,.2,1) .1s both; }
}

.about-porting, .about-coverage { display: grid; grid-template-columns: 1fr 1fr; align-items: center; gap: clamp(24px, 6vw, 88px); padding-block: clamp(45px, 7vw, 100px); }
.about-porting-copy, .about-coverage-copy { min-width: 0; }
.about-porting h2, .about-coverage h1, .about-section-heading h2 { font-size: clamp(40px, 5.7vw, 76px); letter-spacing: -.035em; }
.about-porting h2, .about-coverage h1 { margin-top: 12px; }
.about-coverage h1 { font-family: var(--serif); font-weight: 400; }
.about-porting-copy > p:not(.eyebrow), .about-coverage-copy > p:not(.eyebrow) { margin-top: 18px; max-width: 48ch; font-size: clamp(15px, 1.5vw, 19px); line-height: 1.65; }
.about-carriers { display: flex; flex-wrap: wrap; gap: 8px; list-style: none; margin: 22px 0; padding: 0; }
.about-carriers li { padding: 5px 13px; border: 1px solid var(--rule); font-size: 13px; font-weight: 700; }

.about-sim-stage { display: grid; place-items: center; position: relative; isolation: isolate; min-width: 0; min-height: clamp(225px, 30vw, 410px); perspective: 1000px; }
.about-sim-orbit { position: absolute; inset: 8% 6%; display: grid; place-items: center; border: 1px solid var(--rule); border-radius: 50%; transform: rotate(-14deg); pointer-events: none; }
.about-sim-orbit::before, .about-sim-orbit::after { content: ''; grid-area: 1 / 1; width: 82%; height: 82%; border: 1px solid var(--rule); border-radius: 50%; }
.about-sim-orbit::after { width: 64%; height: 64%; }
.about-sim { position: relative; display: grid; gap: clamp(10px, 2vw, 25px); width: min(86%, 440px); padding: clamp(17px, 2.5vw, 33px); color: #fff5e5; background: linear-gradient(145deg, #31302c 0%, #171716 54%, #231b16 100%); clip-path: polygon(0 0, 85% 0, 100% 23%, 100% 100%, 0 100%); transform: rotate(-6deg); }
.about-sim::before { content: ''; position: absolute; right: -1px; top: -1px; width: 27%; aspect-ratio: 1; background: var(--accent); clip-path: polygon(0 0, 100% 0, 100% 100%); }
.about-sim-top, .about-sim-bottom { display: flex; justify-content: space-between; align-items: center; gap: 8px; }
.about-sim-top svg { color: var(--accent); margin-right: 14%; }
.about-sim-bottom { align-items: end; }
.about-sim-bottom strong { font-size: clamp(40px, 7vw, 91px); }
.about-sim-bottom span { max-width: 14ch; text-align: right; color: #dbd2c3; }
.about-sim-chip { position: relative; display: grid; place-items: center; width: clamp(52px, 8vw, 91px); aspect-ratio: 1.37; border: 1px solid #714f32; border-radius: 9px; background: repeating-linear-gradient(0deg, transparent 0 24%, #725032 25% 26%, transparent 27% 49%), linear-gradient(130deg, #e7cc97, #b9854d 54%, #edce99); }
.about-sim-chip::after { content: ''; width: 43%; height: 75%; border: 1px solid #725032; border-radius: 6px; background: linear-gradient(145deg, #e8c386, #bc8b52); }

.about-series { background: #e7e2d7; padding-block: clamp(40px, 6vw, 84px); }
.about-section-heading { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: baseline; gap: 14px 20px; margin-bottom: 24px; }
.about-series-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; }
.about-series-grid article { min-width: 0; padding: 20px 17px; border: 1px solid var(--rule); border-top: 3px solid var(--accent); background: var(--bg); }
.about-series-grid h3, .about-legacy h3 { font-size: clamp(25px, 2.65vw, 39px); }
.about-series-grid p, .about-legacy li p { margin-top: 12px; color: var(--mute); }

.about-map { min-width: 0; margin: 0; }
.about-map img { display: block; width: 100%; max-width: 570px; height: auto; border: 1px solid var(--rule); }
.map-credits { margin-top: 10px; font-size: 12px; color: #c6c2ba; }
.map-location { display: flex; align-items: center; gap: 9px; font-weight: 650; }

.about-legacy { padding-block: clamp(42px, 7vw, 86px); background: var(--ink); color: var(--bg); }
.about-legacy ol { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(14px, 4vw, 40px); margin: 0; padding: 0; list-style: none; }
.about-legacy li { border-top: 2px solid var(--accent); padding-top: 18px; }
.about-legacy li p { color: #d4d0c7; }

@media (max-width: 900px) {
  .about-series-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 760px) {
  .about-porting, .about-coverage, .about-legacy ol { grid-template-columns: 1fr; }
  .about-sim-stage { min-height: 255px; }
}
@media (max-width: 360px) {
  .about-series-grid { grid-template-columns: 1fr; }
}

@keyframes about-sim-turn {
  0% { transform: translateY(25px) rotateY(-40deg) rotateZ(-12deg); }
  48% { transform: translateY(0) rotateY(0) rotateZ(-4deg); }
  100% { transform: translateY(-25px) rotateY(36deg) rotateZ(8deg); }
}
@media (prefers-reduced-motion: no-preference) {
  @supports (animation-timeline: view()) {
    .about-sim { animation: about-sim-turn linear both; animation-timeline: view(); animation-range: entry 0% exit 100%; }
  }
  .about-coverage-copy { animation: reveal-up .66s cubic-bezier(.2,.8,.2,1) both; }
  .about-map { animation: reveal-up .8s cubic-bezier(.2,.8,.2,1) .08s both; }
  .about-sim.sim-entered { animation: about-sim-settle .85s cubic-bezier(.2,.8,.2,1) both; }
  @keyframes about-sim-settle {
    from { transform: translateY(25px) rotateY(-40deg) rotateZ(-12deg); }
    to { transform: rotateZ(-6deg); }
  }
}

.guide-hero { background: var(--ink); color: var(--bg); border-bottom: 5px solid var(--accent); }
.guide-hero .wrap { padding-block: clamp(42px, 7vw, 100px); }
.guide-hero .eyebrow { color: #c6c2ba; }
.guide-hero h1 { margin-top: 12px; font: 800 clamp(47px, 9.5vw, 138px)/.89 var(--heading); letter-spacing: -.055em; }
.guide-lead { max-width: 42ch; margin-top: 22px; color: #e3ded4; font-size: clamp(16px, 2vw, 23px); }
.guide-hero .button { margin-top: 23px; border-color: var(--accent); background: var(--accent); color: var(--ink); }
.guide-hero .button:hover { background: var(--bg); }
.guide-flow { display: grid; grid-template-columns: minmax(190px, .5fr) minmax(0, 1.5fr); align-items: start; gap: clamp(20px, 5vw, 72px); padding-block: clamp(28px, 6.2vw, 86px); scroll-margin-top: 83px; }
.guide-flow ol { margin: 0; list-style: none; padding: 0; }
.guide-index { position: sticky; top: 105px; border-top: 1px solid var(--ink); }
.guide-index a { display: flex; align-items: center; gap: 13px; padding: 9px 0; min-height: 46px; border-bottom: 1px solid var(--rule); font-size: 14px; font-weight: 650; text-decoration: none; }
.guide-index a:hover { color: #a92700; }
.guide-index a span { font-family: var(--digits); font-size: 17px; }
.guide-step { position: relative; display: grid; grid-template-columns: 56px minmax(0, 1fr); gap: 14px; padding-bottom: 18px; scroll-margin-top: 106px; }
.guide-step:last-child { padding-bottom: 0; }
.guide-step::before, .guide-step::after { content: ''; position: absolute; left: 27px; top: 0; bottom: 0; width: 2px; background: var(--rule); }
.guide-step::after { background: var(--accent); transform-origin: top; transform: scaleY(0); }
.guide-step:last-child::before, .guide-step:last-child::after { display: none; }
.guide-step[data-guide-visible]::after { transform: scaleY(1); }
.guide-step-mark { z-index: 1; display: grid; place-items: center; align-self: start; min-height: 56px; border: 1px solid var(--ink); background: var(--bg); font: 400 24px/1 var(--digits); }
.guide-step[data-guide-visible] .guide-step-mark { background: var(--accent); }
.guide-card { min-width: 0; padding: clamp(18px, 3vw, 40px); background: #fffdf8; border: 1px solid var(--rule); }
.guide-card h2, .guide-cta h2 { font-size: clamp(34px, 5vw, 64px); letter-spacing: -.035em; }
.guide-card-copy > p { max-width: 62ch; margin-top: 11px; color: var(--mute); font-size: clamp(15px, 1.7vw, 18px); line-height: 1.65; }
.guide-card .about-carriers { margin-bottom: 0; }
.guide-cta { background: var(--accent); padding-block: clamp(30px, 6.2vw, 80px); }
.guide-cta .wrap { display: flex; flex-wrap: wrap; align-items: end; justify-content: space-between; gap: 18px; }
.guide-cta p { margin-top: 9px; }
.guide-cta .ghost:hover { background: var(--ink); color: var(--bg); }
.storefront:has(.guide-page) .site-footer { margin-top: 0; }

@media (max-width: 760px) {
  .guide-flow { grid-template-columns: minmax(0, 1fr); gap: 20px; }
  .guide-index { position: static; }
  .guide-index ol { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 12px; }
  .guide-index a { gap: 8px; font-size: 13px; }
  .guide-step { grid-template-columns: 39px minmax(0, 1fr); gap: 9px; scroll-margin-top: 72px; }
  .guide-step::before, .guide-step::after { left: 19px; }
  .guide-step-mark { min-height: 39px; font-size: 18px; }
  .guide-cta .actions { display: grid; width: 100%; }
}
@media (prefers-reduced-motion: no-preference) {
  .guide-hero h1 { animation: reveal-up .65s cubic-bezier(.2,.8,.2,1) both; }
  .guide-lead, .guide-hero .button { animation: reveal-up .65s cubic-bezier(.2,.8,.2,1) .12s both; }
  .guide-step::after { transition: transform .7s cubic-bezier(.2,.8,.2,1); }
  .guide-step-mark { transition: background-color .35s ease; }
  .guide-step[data-guide-visible] .guide-card { animation: guide-reveal .6s cubic-bezier(.2,.8,.2,1) both; }
  @keyframes guide-reveal { from { opacity: .5; transform: translateY(16px); } to { opacity: 1; transform: none; } }
}

.guide-hero .wrap { display: grid; grid-template-columns: minmax(0, 1fr) minmax(180px, .32fr); gap: clamp(15px, 4vw, 58px); align-items: center; }
.guide-journey { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 15px; width: min(100%, 244px); justify-self: end; }
.guide-journey span { display: grid; place-items: center; aspect-ratio: 1; color: var(--ink); background: #fae1a8; border: 2px solid #fffdf8; box-shadow: 4px 4px var(--accent); border-radius: 18px; }
.guide-journey span:nth-child(2) { background: #c9e5bb; }
.guide-journey span:nth-child(3) { background: #fbbaa5; }
.guide-journey span:nth-child(4) { background: #fff0c6; }
.guide-journey svg { width: 38%; height: 38%; }
.guide-card { display: grid; grid-template-columns: minmax(0, 1fr) minmax(175px, .75fr); align-items: center; gap: clamp(14px, 3vw, 32px); }
.guide-card-copy { min-width: 0; }
.guide-card h2 { font-size: clamp(32px, 4.3vw, 57px); }

.guide-scene {
  --scene-bg: #fae1a8; --scene-accent: #ff9477;
  display: grid; place-items: center; position: relative; isolation: isolate;
  min-height: clamp(156px, 18vw, 240px); overflow: hidden;
  background: radial-gradient(circle, #17171623 1px, transparent 1.5px) 0 0 / 10px 10px, var(--scene-bg);
  border: 2px solid var(--ink); border-radius: 19px;
  box-shadow: 4px 4px var(--ink);
}
.scene-pay { --scene-bg: #d5eabd; --scene-accent: #f8f2d9; }
.scene-code { --scene-bg: #fac7b7; --scene-accent: #f9dfa0; }
.scene-activate { --scene-bg: #fbe9bb; --scene-accent: #d5eabd; }
.scene-phone, .scene-ticket, .scene-sticker, .scene-sim {
  border: 2px solid var(--ink); box-shadow: 3px 3px var(--ink); color: var(--ink);
}
.scene-phone {
  display: flex; flex-direction: column; justify-content: center; gap: 6px; width: min(124px, 68%);
  min-height: 124px; padding: 16px 8px 10px; border-radius: 14px; background: #fffdf8; transform: rotate(-8deg);
}
.scene-phone::before { content: ''; position: absolute; inset: 5px auto auto 50%; width: 20px; height: 3px; border-radius: 3px; background: var(--ink); transform: translateX(-50%); }
.scene-phone span, .scene-ticket span { font: 700 10px/1.15 var(--sans); }
.scene-phone > span { display: flex; align-items: center; justify-content: space-between; min-height: 20px; gap: 3px; padding: 3px 4px; border: 1px solid var(--ink); border-radius: 4px; }
.scene-phone .scene-pick { background: var(--scene-accent); }
.scene-phone svg { width: 12px; height: 12px; flex: none; }
.scene-chat > span:nth-child(even) { align-self: end; background: #d5eabd; }
.scene-chat .scene-pick { border-radius: 7px 7px 1px 7px; }
.scene-sticker { position: absolute; top: 18%; right: 10%; display: grid; place-items: center; width: 39px; height: 39px; border-radius: 50%; background: var(--scene-accent); font: 800 24px/1 var(--sans); transform: rotate(11deg); }
.scene-sticker svg { width: 21px; height: 21px; }
.scene-ticket { position: absolute; display: grid; gap: 3px; top: 53%; left: 21%; padding: 6px 9px; background: var(--scene-accent); border-radius: 6px; transform: rotate(8deg); }
.scene-ticket strong { font-size: 13px; letter-spacing: .11em; white-space: nowrap; }
.scene-sim { position: absolute; top: 47%; left: 12%; display: grid; place-items: center; width: 38px; height: 48px; border-radius: 7px 14px 7px 7px; background: #fbbaa5; transform: rotate(-14deg); }
.scene-sim svg { width: 24px; height: 24px; }
.scene-activation > span:first-child { justify-content: center; border: 0; padding: 10px; }
.scene-activation > span:first-child svg { width: 27px; height: 27px; }
.scene-spark { position: absolute; width: 13px; height: 13px; left: 10%; top: 22%; background: var(--ink); clip-path: polygon(50% 0, 62% 38%, 100% 50%, 62% 62%, 50% 100%, 38% 62%, 0 50%, 38% 38%); }
.scene-spark:last-child { width: 10px; height: 10px; left: auto; right: 12%; top: auto; bottom: 16%; }

@media (max-width: 1020px) {
  .guide-card { grid-template-columns: 1fr; }
  .guide-scene { grid-row: 1; }
}
@media (max-width: 760px) {
  .guide-hero .wrap { grid-template-columns: minmax(0, 1fr); }
  .guide-journey { grid-template-columns: repeat(4, minmax(0, 1fr)); width: min(100%, 252px); gap: 9px; justify-self: start; }
  .guide-journey span { border-radius: 11px; }
  .guide-card { padding: 13px; }
  .guide-scene { border-radius: 13px; }
}
@media (prefers-reduced-motion: no-preference) {
  .guide-journey span { animation: journey-pop .48s cubic-bezier(.15,1.4,.35,1) .16s both; }
  .guide-journey span:nth-child(2) { animation-delay: .28s; }
  .guide-journey span:nth-child(3) { animation-delay: .4s; }
  .guide-journey span:nth-child(4) { animation-delay: .52s; }
  [data-guide-playing] .scene-phone { animation: scene-phone-in .7s cubic-bezier(.2,1.4,.4,1) both; }
  [data-guide-playing] .scene-sticker { animation: scene-sticker-in .55s cubic-bezier(.2,1.5,.4,1) .28s both; }
  [data-guide-playing] .scene-spark { animation: scene-spark-in .6s cubic-bezier(.25,1.3,.5,1) .38s both; }
  [data-guide-playing] .scene-spark:last-child { animation-delay: .48s; }
  [data-guide-playing] .scene-choose .scene-pick { animation: scene-match .65s ease .3s both; }
  [data-guide-playing] .scene-pay .scene-phone span { animation: scene-message .4s cubic-bezier(.2,1.3,.4,1) .24s both; }
  [data-guide-playing] .scene-pay .scene-phone span:nth-child(2) { animation-delay: .43s; }
  [data-guide-playing] .scene-pay .scene-phone span:nth-child(3) { animation-delay: .62s; }
  [data-guide-playing] .scene-ticket { animation: scene-ticket-in .65s cubic-bezier(.22,1.35,.38,1) .24s both; }
  [data-guide-playing] .scene-sim { animation: scene-sim-in .72s cubic-bezier(.2,1.3,.4,1) .2s both; }
  @keyframes journey-pop { from { opacity: 0; transform: translateY(12px) scale(.78) rotate(-11deg); } to { opacity: 1; transform: none; } }
  @keyframes scene-phone-in { from { opacity: 0; transform: translateY(25px) rotate(-22deg) scale(.86); } to { opacity: 1; transform: rotate(-8deg); } }
  @keyframes scene-sticker-in { from { opacity: 0; transform: rotate(-20deg) scale(.25); } to { opacity: 1; transform: rotate(11deg); } }
  @keyframes scene-spark-in { from { opacity: 0; transform: scale(.1) rotate(-25deg); } to { opacity: 1; transform: none; } }
  @keyframes scene-match { 0% { background: #fffdf8; transform: none; } 55% { background: var(--scene-accent); transform: scale(1.09); } 100% { transform: none; } }
  @keyframes scene-message { from { opacity: 0; transform: translateX(10px) scale(.8); } to { opacity: 1; transform: none; } }
  @keyframes scene-ticket-in { from { opacity: 0; transform: translateY(19px) rotate(-8deg) scale(.7); } to { opacity: 1; transform: rotate(8deg); } }
  @keyframes scene-sim-in { from { opacity: 0; transform: translate(-22px, 15px) rotate(-39deg); } to { opacity: 1; transform: rotate(-14deg); } }
}

.contact-page {
  display: grid; grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr);
  gap: clamp(16px, 3vw, 42px); align-items: stretch;
  padding-block: clamp(22px, 5vw, 70px);
}
.contact-hero {
  position: relative; isolation: isolate; overflow: hidden; min-width: 0;
  display: flex; align-items: start; padding: clamp(23px, 4vw, 58px);
  background: var(--ink); color: #fff9ef; border-top: 4px solid var(--accent);
}
.contact-hero-copy { position: relative; z-index: 1; }
.contact-hero .eyebrow { color: #f7aa90; }
.contact-hero h1 { margin-top: 12px; font: 800 clamp(52px, 6.3vw, 95px)/.93 var(--heading); letter-spacing: -.055em; }
.contact-intro { max-width: 29ch; margin-top: 15px; color: #e0d8ca; font-size: clamp(15px, 1.6vw, 19px); line-height: 1.55; }
.contact-hero .button { margin-top: 20px; min-height: 46px; background: var(--accent); border-color: var(--accent); color: var(--ink); }
.contact-hero .button:hover { background: #fff9ef; border-color: #fff9ef; }
.contact-hero :focus-visible { outline-color: #fff9ef; }

.contact-signal {
  position: absolute; display: grid; place-items: center; right: -14%; bottom: -27%;
  width: min(89%, 370px); aspect-ratio: 1; pointer-events: none;
}
.signal-ring, .signal-beam { grid-area: 1 / 1; aspect-ratio: 1; border-radius: 50%; }
.signal-ring { width: 100%; border: 1px solid #ff885c50; }
.signal-ring:nth-child(2) { width: 77%; }
.signal-ring:nth-child(3) { width: 53%; }
.signal-beam { width: 100%; background: conic-gradient(from 0deg, #ff805b54, transparent 58deg); transform: rotate(-70deg); }
.signal-centre { grid-area: 1 / 1; display: grid; place-items: center; width: clamp(42px, 6vw, 66px); aspect-ratio: 1; border-radius: 50%; color: #ffad92; background: #29211d; border: 1px solid #ff885c80; }
.signal-centre svg { width: 55%; height: 55%; }

.contact-channels { display: grid; gap: 7px; min-width: 0; }
.contact-card {
  display: grid; grid-template-columns: 46px minmax(0, 1fr) auto; align-items: center; gap: 13px;
  min-width: 0; padding: clamp(13px, 1.6vw, 21px);
  border: 1px solid var(--rule); background: #fffdf8;
}
.contact-icon { display: grid; place-items: center; width: 46px; aspect-ratio: 1; color: #932e10; background: #fae5da; }
.contact-icon svg { width: 22px; height: 22px; }
.contact-card h2 { font: 750 clamp(18px, 2vw, 25px)/1.14 var(--heading); }
.contact-card p { margin-top: 5px; color: var(--mute); overflow-wrap: anywhere; }
.contact-channel-label { display: block; font-size: 12px; }
.contact-card .button { min-height: 44px; max-width: 100%; padding-inline: 11px; font-size: 10px; text-align: left; }
.contact-card .button > span[aria-hidden] { margin-left: auto; }
.contact-card:is(:hover, :focus-within) { border-color: #ad583f; }
.storefront:has(.contact-page) .site-footer { margin-top: 0; }

@media (max-width: 900px) {
  .contact-page { grid-template-columns: 1fr; }
  .contact-hero { min-height: 230px; }
  .contact-signal { right: -8%; bottom: -64%; width: min(65%, 350px); }
}
@media (max-width: 520px) {
  .contact-hero { min-height: 0; padding: 23px 19px; }
  .contact-hero h1 { font-size: clamp(43px, 12vw, 65px); }
  .contact-signal { right: -26%; bottom: -36%; width: min(75%, 240px); }
  .contact-card { grid-template-columns: 39px minmax(0, 1fr); gap: 8px 12px; }
  .contact-icon { width: 39px; }
  .contact-card > .button { grid-column: 2; justify-self: start; }
}
@media (prefers-reduced-motion: no-preference) {
  .contact-hero-copy { animation: reveal-up .65s cubic-bezier(.2,.8,.2,1) both; }
  .contact-card { animation: contact-row-in .55s cubic-bezier(.2,.8,.2,1) both; transition: border-color .2s ease; }
  .contact-card:nth-child(2) { animation-delay: .08s; }
  .contact-card:nth-child(3) { animation-delay: .16s; }
  .contact-card:nth-child(4) { animation-delay: .24s; }
  .contact-card:focus-within { animation: none; }
  .contact-icon svg, .contact-card .button > span[aria-hidden] { transition: transform .22s ease; }
  .contact-card:is(:hover, :focus-within) .contact-icon svg { transform: translateY(-3px); }
  .contact-card .button:is(:hover, :focus-visible) > span[aria-hidden] { transform: translateX(3px); }
  .signal-ring { animation: contact-signal-in 1s cubic-bezier(.2,.8,.2,1) both; }
  .signal-ring:nth-child(2) { animation-delay: .15s; }
  .signal-ring:nth-child(3) { animation-delay: .3s; }
  .signal-beam { animation: contact-sweep 1.9s cubic-bezier(.2,.8,.2,1) .12s both; }
  @keyframes contact-row-in { from { opacity: 0; transform: translateX(14px); } to { opacity: 1; transform: none; } }
  @keyframes contact-signal-in { from { opacity: 0; transform: scale(.62); } to { opacity: 1; transform: none; } }
  @keyframes contact-sweep { from { opacity: 0; transform: rotate(-215deg); } to { opacity: 1; transform: rotate(-70deg); } }
}

.settings-link-group { scroll-margin-top: 75px; }
.settings-link-group small { display: block; margin-top: 6px; color: var(--mute); }

.inventory-downloads { justify-content: end; }
@media (max-width: 600px) {
  .inventory-heading { align-items: start; flex-direction: column; }
  .inventory-downloads { justify-content: start; }
  .inventory-downloads .button { min-height: 44px; padding-inline: 10px; }
}

.hyphen-control { margin-top: 3px; }
.hyphen-control button { min-height: 44px; padding-inline: 8px; gap: 5px; font-size: 10px; letter-spacing: .04em; }
.hyphen-control button[aria-pressed="true"] { background: var(--ink); color: var(--bg); }
.hyphen-control button[aria-pressed="true"]:hover { background: var(--stone); color: var(--ink); }
.hyphen-control button span { font-size: 16px; }
.number-entry-error { color: #ab1d17; font-weight: 700; }
[data-number-editor] input[aria-invalid="true"] { border-color: #ab1d17; box-shadow: 0 0 0 1px #ab1d17; }
.rising-digits > .digit-hyphen { font-size: .7em; align-self: center; }
.rising-digits:has(.digit-hyphen ~ .digit-hyphen ~ .digit-hyphen) { font-size: .82em; }
.number-face, .inventory-number .digits { white-space: normal; overflow-wrap: anywhere; }
#preview-rows tr:is([data-import-state="duplicate"], [data-import-state="existing"]) td:last-child { color: #ab1d17; font-weight: 700; }
