@font-face {
  font-family: Norwester;
  src: url("/assets/norwester.woff");
}
@font-face {
  font-family: Sansation;
  src: url("/assets/sansation-regular.woff");
}
@font-face {
  font-family: Sansation;
  src: url("/assets/sansation-bold.woff");
  font-weight: 700;
}
:root {
  --paper: #f9f6f1;
  --white: #fff;
  --ink: #1a1a1a;
  --muted: #60636c;
  --line: #e2e5ec;
  --green: #14804a;
  --red: #b42318;
  --radius: 8px;
  color-scheme: light;
}
* {
  box-sizing: border-box;
}
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font:
    17px/1.5 Sansation,
    sans-serif;
}
h1,
h2,
h3 {
  font-family: Norwester, sans-serif;
  font-weight: 400;
  line-height: 1.12;
  margin: 0 0 18px;
  text-wrap: balance;
}
h1 {
  font-size: clamp(36px, 4vw, 58px);
}
h2 {
  font-size: 29px;
}
h3 {
  font-size: 23px;
}
p {
  margin: 0 0 18px;
  max-width: 70ch;
}
a {
  color: inherit;
  text-underline-offset: 4px;
}
button,
input,
select {
  font: inherit;
}
button {
  cursor: pointer;
  background: var(--maroon);
  border: 1px solid var(--maroon);
  color: white;
  padding: 12px 22px;
  border-radius: var(--radius);
  font-weight: 700;
  transition: background 0.15s;
}
button:hover {
  filter: brightness(1.13);
}
button:disabled {
  cursor: wait;
  opacity: 0.6;
}
input,
select {
  width: 100%;
  min-height: 48px;
  padding: 11px 13px;
  border: 1px solid #999ca3;
  border-radius: 6px;
  background: white;
  color: var(--ink);
  caret-color: var(--maroon);
}
input::placeholder {
  color: var(--muted);
}
input:focus-visible,
select:focus-visible,
button:focus-visible,
a:focus-visible {
  outline: 3px solid var(--blue);
  outline-offset: 3px;
}
::selection {
  background: var(--blue);
  color: var(--ink);
}
label {
  display: block;
  font-size: 15px;
  font-weight: 700;
}
label input,
label select {
  margin-top: 6px;
}
form {
  display: grid;
  gap: 18px;
}
form button {
  margin-top: 6px;
}
.demo-bar {
  background: var(--maroon);
  color: white;
  padding: 9px 4%;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.07em;
  display: flex;
  gap: 20px;
  justify-content: center;
}
.demo-bar span {
  font-weight: 400;
  letter-spacing: 0;
}
header {
  height: 104px;
  display: flex;
  align-items: center;
  gap: 48px;
  padding: 0 4%;
  background: white;
  border-bottom: 1px solid var(--line);
}
.wordmark {
  display: block;
  width: 205px;
  flex-shrink: 0;
}
.wordmark img {
  width: 100%;
  height: 72px;
  object-fit: contain;
}
nav {
  display: flex;
  gap: 30px;
}
nav a {
  text-decoration: none;
  font-weight: 700;
  font-size: 15px;
}
nav a:hover {
  text-decoration: underline;
}
nav span {
  display: inline-block;
  margin-left: 5px;
  color: var(--muted);
}
.account-nav {
  margin-left: auto;
  display: flex;
  align-items: center;
  gap: 15px;
  font-size: 14px;
}
.text-button {
  background: none;
  color: var(--maroon);
  border: 0;
  padding: 6px 0;
  font-size: 14px;
}
.text-button:hover {
  text-decoration: underline;
}
main {
  max-width: 1440px;
  min-height: 70vh;
  margin: auto;
  padding: 48px 4% 80px;
}
.login-layout {
  display: grid;
  grid-template-columns: 1.3fr 1fr;
  gap: 90px;
  align-items: center;
  max-width: 1120px;
  margin: 10px auto;
}
.login-story h1 {
  font-size: clamp(54px, 5vw, 76px);
  color: var(--maroon);
}
.login-story p {
  font-size: 20px;
  max-width: 42ch;
}
.login-story img {
  width: 100%;
  height: 250px;
  object-fit: contain;
}
.login-panel {
  background: white;
  padding: 40px;
  border-radius: 12px;
  border: 1px solid var(--line);
}
.login-panel h2 {
  font-size: 31px;
}
.login-panel .small {
  margin: 24px 0 0;
}
.small {
  font-size: 14px;
  color: var(--muted);
}
.form-message {
  margin-top: 20px;
  color: var(--red);
}
.page-heading {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 36px;
}
.page-heading p {
  margin: 0;
  color: var(--muted);
}
.connection {
  font-size: 13px;
  white-space: nowrap;
  color: var(--green);
}
.connection.stale {
  color: var(--red);
}
.toolbar {
  display: flex;
  gap: 14px;
  margin-bottom: 36px;
}
.toolbar > label {
  flex: 1;
}
.toolbar > .search-label {
  flex: 2;
}
.toolbar input,
.toolbar select {
  margin: 0;
}
.auction-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin: 40px 0 20px;
}
.auction-heading h2 {
  margin: 0;
}
.auction-heading p {
  font-size: 14px;
  margin: 0;
  color: var(--muted);
}
.lot-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 30px;
}
.lot-card {
  background: white;
  border-bottom: 2px solid var(--line);
  position: relative;
  overflow: hidden;
}
.lot-image {
  display: block;
  background: #ede9e2;
  aspect-ratio: 4/3;
  overflow: hidden;
}
.lot-image img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  transition: transform 0.25s;
}
.lot-image:hover img {
  transform: scale(1.035);
}
.lot-info {
  padding: 22px;
}
.lot-info h3 {
  margin: 7px 0 18px;
}
.lot-info h3 a {
  text-decoration: none;
}
.lot-info h3 a:hover {
  text-decoration: underline;
}
.lot-number {
  font-size: 12px;
  color: var(--muted);
}
.bid-row {
  display: flex;
  justify-content: space-between;
  align-items: end;
  border-top: 1px solid var(--line);
  padding-top: 16px;
}
.price {
  font-size: 29px;
  font-weight: 700;
  font-variant-numeric: tabular-nums;
  line-height: 1.2;
}
.bid-label {
  display: block;
  color: var(--muted);
  font-size: 12px;
  margin-bottom: 3px;
}
.countdown {
  font-variant-numeric: tabular-nums;
  font-size: 16px;
}
.countdown.urgent {
  color: var(--red);
  font-weight: 700;
}
.watch-button {
  position: absolute;
  top: 14px;
  right: 14px;
  background: white;
  color: var(--maroon);
  border: 1px solid var(--line);
  padding: 9px 12px;
  font-size: 13px;
  box-shadow: 0 3px 12px #00000012;
}
.leading {
  color: var(--green);
  font-size: 14px;
  font-weight: 700;
  margin: 14px 0 0;
}
.detail-back {
  display: inline-block;
  margin-bottom: 28px;
  font-size: 14px;
}
.detail-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) minmax(320px, 1fr);
  gap: 50px;
}
.detail-image {
  width: 100%;
  aspect-ratio: 4/3;
  background: #ede9e2;
  object-fit: contain;
}
.detail-copy {
  margin-top: 32px;
}
.bid-panel {
  background: white;
  padding: 32px;
  border: 1px solid var(--line);
  border-radius: 8px;
  align-self: start;
}
.bid-panel h1 {
  font-size: 36px;
  margin: 14px 0 24px;
}
.bid-panel .price {
  font-size: 42px;
}
.bid-panel .bid-row {
  margin-bottom: 25px;
}
.bid-panel form {
  margin-top: 24px;
}
.notice {
  background: var(--paper);
  padding: 16px;
  font-size: 15px;
  margin-top: 18px;
}
.notice.error {
  color: var(--red);
}
.my-bid {
  font-size: 15px;
  padding: 18px 0;
  border-bottom: 1px solid var(--line);
}
.receipt {
  font-size: 12px;
  color: var(--muted);
  overflow-wrap: anywhere;
}
.ladder {
  font-size: 14px;
  color: var(--muted);
  margin-top: 25px;
}
.ladder summary {
  cursor: pointer;
  font-weight: 700;
  color: var(--ink);
}
.ladder p {
  margin-top: 12px;
}
.terms {
  white-space: pre-wrap;
  overflow-wrap: anywhere;
  max-height: 320px;
  overflow-y: auto;
  margin-top: 12px;
  padding: 12px;
  background: var(--paper);
  font: inherit;
  color: var(--ink);
}
.registration button {
  margin-top: 14px;
}
.operator-layout {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 70px;
}
.operator-layout section > h2:not(:first-child) {
  margin-top: 50px;
}
.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}
.check {
  display: flex;
  align-items: center;
  gap: 10px;
}
.check input {
  width: 18px;
  min-height: 18px;
  margin: 0;
}
.account-row,
.audit-row {
  padding: 18px 0;
  border-bottom: 1px solid var(--line);
  overflow-wrap: anywhere;
}
.account-row strong {
  display: block;
}
.account-row p {
  margin: 4px 0;
  font-size: 14px;
}
.account-row button {
  font-size: 13px;
  padding: 7px 12px;
  margin-right: 8px;
  margin-top: 10px;
}
.audit-row {
  font-size: 14px;
}
.empty {
  padding: 60px 15px;
  text-align: center;
  color: var(--muted);
}
footer {
  border-top: 1px solid var(--line);
  padding: 28px 4%;
  display: flex;
  justify-content: space-between;
  gap: 20px;
  font-size: 13px;
  color: var(--muted);
}
#toast {
  position: fixed;
  bottom: 24px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--ink);
  color: white;
  padding: 14px 22px;
  border-radius: 8px;
  box-shadow: 0 8px 30px #0003;
  z-index: 3;
  max-width: 90vw;
}
dialog {
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 34px;
  max-width: 560px;
  width: 90vw;
}
dialog::backdrop {
  background: #0008;
}
dialog .text-button {
  float: right;
  margin-bottom: 20px;
}
dialog h2 {
  clear: both;
}
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}
[hidden] {
  display: none !important;
}
@media (max-width: 900px) {
  header {
    gap: 22px;
  }
  .wordmark {
    width: 160px;
  }
  nav {
    gap: 18px;
  }
  .account-nav {
    font-size: 12px;
  }
  .lot-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .login-layout {
    gap: 35px;
  }
  .login-panel {
    padding: 28px;
  }
  .detail-layout {
    gap: 25px;
    grid-template-columns: 1fr 1fr;
  }
  .bid-panel {
    padding: 24px;
  }
  .operator-layout {
    gap: 35px;
  }
}
@media (max-width: 620px) {
  body {
    font-size: 16px;
  }
  .demo-bar {
    font-size: 10px;
    display: block;
    text-align: center;
    padding: 7px 12px;
  }
  .demo-bar span {
    display: block;
    font-size: 11px;
  }
  header {
    height: auto;
    min-height: 104px;
    flex-wrap: wrap;
    padding: 12px 5%;
    gap: 12px;
  }
  .wordmark {
    width: 150px;
  }
  .wordmark img {
    height: 50px;
  }
  .account-nav {
    margin-left: auto;
  }
  nav {
    order: 3;
    width: 100%;
    justify-content: space-between;
    font-size: 13px;
  }
  .login-layout,
  .detail-layout,
  .operator-layout {
    grid-template-columns: 1fr;
    gap: 28px;
  }
  .login-story h1 {
    font-size: 50px;
  }
  .login-story img {
    display: none;
  }
  .login-story p {
    font-size: 17px;
  }
  .login-panel {
    padding: 26px;
  }
  main {
    padding: 30px 5% 55px;
  }
  .page-heading {
    display: block;
    margin-bottom: 24px;
  }
  .page-heading h1 {
    font-size: 36px;
  }
  .connection {
    display: block;
    margin-top: 14px;
  }
  .toolbar {
    flex-wrap: wrap;
    gap: 10px;
  }
  .toolbar > .search-label {
    flex: 100%;
  }
  .toolbar > label {
    min-width: 40%;
  }
  .lot-grid {
    gap: 18px;
  }
  .lot-info {
    padding: 14px;
  }
  .lot-info h3 {
    font-size: 20px;
    min-height: 44px;
  }
  .bid-row {
    display: block;
  }
  .price {
    font-size: 24px;
  }
  .countdown {
    font-size: 13px;
    margin-top: 8px;
  }
  .watch-button {
    padding: 6px 8px;
    font-size: 11px;
    top: 8px;
    right: 8px;
  }
  .auction-heading {
    display: block;
  }
  .auction-heading h2 {
    font-size: 25px;
  }
  .auction-heading p {
    margin-top: 8px;
  }
  .bid-panel .bid-row {
    display: flex;
  }
  .detail-copy {
    margin: 24px 0;
  }
  .detail-layout > div:first-child {
    display: contents;
  }
  .detail-image {
    order: 0;
  }
  .bid-panel {
    order: 1;
  }
  .detail-copy {
    order: 2;
  }
  footer {
    flex-direction: column;
    gap: 10px;
  }
  .form-row {
    grid-template-columns: 1fr 1fr;
  }
  #account-name {
    max-width: 100px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
  }
}
/* Operator catalogs and server-rendered catalog pages */
.catalog-page {
  display: block;
}
.crumbs {
  font-size: 14px;
  margin-bottom: 20px;
  color: var(--muted);
}
.catalog-table {
  width: 100%;
  border-collapse: collapse;
  background: white;
  border: 1px solid var(--line);
  font-size: 15px;
  margin-bottom: 32px;
}
.catalog-table th,
.catalog-table td {
  text-align: left;
  vertical-align: top;
  padding: 10px 12px;
  border-bottom: 1px solid var(--line);
}
.catalog-table img {
  display: block;
  object-fit: cover;
  background: #ede9e2;
}
.lot-facts {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 8px 18px;
  margin: 0 0 24px;
}
.lot-facts dt {
  color: var(--muted);
  font-size: 14px;
}
.lot-facts dd {
  margin: 0;
}
.detail-layout .detail-image + .detail-image {
  margin-top: 12px;
}
.button-link {
  display: inline-block;
  background: var(--maroon);
  color: white;
  padding: 12px 22px;
  border-radius: var(--radius);
  text-decoration: none;
}
.draft-notice {
  border-left: 4px solid #b54708;
}
.catalog-actions {
  display: flex;
  gap: 12px;
  margin: 0 0 18px;
}
button.secondary {
  background: white;
  color: var(--maroon);
}
.inline-form {
  display: flex;
  gap: 12px;
  align-items: end;
  margin-bottom: 24px;
  max-width: 640px;
}
.inline-form label {
  flex: 1;
}
.photo-strip {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 6px;
}
.photo-strip span {
  display: grid;
  justify-items: start;
}
.photo-strip .text-button {
  font-size: 13px;
}
@media (max-width: 620px) {
  .catalog-table {
    display: block;
    overflow-x: auto;
  }
  .inline-form {
    flex-direction: column;
    align-items: stretch;
  }
}
@media (prefers-reduced-motion: reduce) {
  * {
    transition: none !important;
  }
}
