/* Visual reference: exchange.lyqd.io and /my-account/, inspected 2026-10-23. */
@font-face {
  font-family: "Inter";
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url("/assets/inter-latin-variable-1f021a24.woff2") format("woff2");
}

:root {
  --ink: #170e0b;
  --muted: #756d65;
  --paper: #e8e4db;
  --line: #e0dbd0;
  --green: #172f1e;
  --orange: #ff5f33;
  --gold: #ba8844;
  --white: #fff;
  --sunken: #f6f4ef;
}

* { box-sizing: border-box; }
body { margin: 0; background: var(--paper); color: var(--ink); font: 300 16px/1.6 "Inter", Arial, Helvetica, sans-serif; -webkit-font-smoothing: antialiased; }
a { color: var(--ink); text-underline-offset: 4px; }
a:hover { text-decoration-color: var(--orange); }
h1, h2, p { margin: 0 0 16px; }
h1 { font-size: 42px; line-height: 1.15; letter-spacing: -1.2px; font-weight: 600; }
h2 { font-size: 24px; line-height: 1.3; font-weight: 600; letter-spacing: -.5px; }
.topbar { display: flex; align-items: center; gap: 28px; min-height: 102px; padding: 24px max(32px, calc((100% - 1176px) / 2)); background: var(--green); color: var(--white); }
.wordmark { display: inline-flex; align-items: center; flex-shrink: 0; }
.wordmark img { display: block; width: 120px; height: 33px; }
.product { padding-left: 28px; border-left: 1px solid #ffffff40; font-size: 18px; font-weight: 400; white-space: nowrap; }
.preview-label { color: #e5d1ae; font-size: 10px; text-transform: uppercase; letter-spacing: 1.4px; border: 1px solid #e5d1ae60; border-radius: 20px; padding: 3px 10px; }
.account { display: flex; gap: 24px; align-items: center; margin-left: auto; font-size: 14px; font-weight: 500; }
.account small { display: block; color: #ffffffb3; font-size: 12px; font-weight: 300; }
.quiet { background: none; border: 0; color: var(--white); cursor: pointer; font: inherit; text-decoration: underline; text-underline-offset: 5px; padding: 10px 0; }
.quiet:hover { color: #ffd15d; }
.guest-nav { display: flex; align-items: center; gap: 24px; margin-left: auto; }
.guest-nav a { color: var(--white); font-weight: 500; text-decoration: none; font-size: 15px; }
.guest-nav .register-link { background: #fff; border-radius: 24px; color: var(--ink); padding: 9px 20px; }
.nav { display: flex; gap: 30px; padding: 0 max(32px, calc((100% - 1176px) / 2)); background: var(--green); border-top: 1px solid #ffffff15; }
.nav a { display: inline-block; color: #ffffffc7; text-decoration: none; font-size: 15px; font-weight: 500; padding: 12px 0 14px; border-bottom: 2px solid transparent; }
.nav a:hover, .nav a.active { color: var(--white); border-bottom-color: var(--orange); }
main { max-width: 1240px; padding: 42px 32px 72px; margin: auto; min-height: 72vh; }
.eyebrow { font-size: 11px; letter-spacing: 1.6px; font-weight: 600; color: var(--muted); margin-bottom: 14px; }
.lede { font-size: 18px; font-weight: 300; color: #4a4540; max-width: 650px; }
.pagehead { display: flex; justify-content: space-between; align-items: center; gap: 24px; margin: 0 0 32px; }
.panel { background: var(--white); border: 1px solid var(--line); border-radius: 20px; padding: 30px; margin-bottom: 24px; }
.section-heading { display: flex; justify-content: space-between; align-items: baseline; margin-bottom: 18px; }
.section-heading h2 { margin: 0; }
.order-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; }
.order-card { margin: 0; }
.card-top, .card-bottom { display: flex; justify-content: space-between; align-items: center; gap: 15px; }
.card-top { margin-bottom: 24px; }
.card-top .eyebrow { margin: 0; }
.order-card h2 { font-size: 28px; }
.order-card h2 a { text-decoration: none; }
.spec { min-height: 46px; }
.tags { display: flex; flex-wrap: wrap; gap: 7px; margin: 18px 0; }
.tag { background: var(--sunken); border: 1px solid var(--line); font-size: 12px; font-weight: 400; border-radius: 6px; padding: 4px 9px; }
.badge { font-size: 11px; font-weight: 500; background: #fbf0d4; color: #775218; padding: 5px 11px; border-radius: 20px; white-space: nowrap; }
.badge.live { background: #e8f1e8; color: var(--green); }
.badge.closed { background: #efeeeb; color: #655f58; }
.badge.draft { background: #e7ecf2; color: #34495e; }
.flash .actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 12px; }
.flash .actions form { margin: 0; }
.history-entry { border-top: 1px solid var(--line); padding: 12px 0; }
.history-entry ul { margin: 6px 0 0; padding-left: 18px; }
.card-details { display: flex; gap: 40px; margin: 26px 0; }
dt { font-size: 11px; font-weight: 500; text-transform: uppercase; letter-spacing: .6px; color: var(--muted); }
dd { margin: 3px 0 0; }
.card-bottom { border-top: 1px solid var(--line); padding-top: 20px; font-size: 13px; }
.card-bottom a { font-weight: 500; white-space: nowrap; }
.button, input[type=submit] { display: inline-block; text-align: center; cursor: pointer; border: 1px solid var(--line); border-radius: 27px; background: var(--white); color: var(--ink); padding: 12px 23px; min-height: 48px; font: 500 16px/1.4 "Inter", Arial, Helvetica, sans-serif; text-decoration: none; }
.button:hover, input[type=submit]:hover { background: var(--sunken); }
.button.primary { background: var(--orange); border-color: var(--orange); color: var(--white); }
.button.primary:hover { background: #ef5128; border-color: #ef5128; }
.full { width: 100%; margin-top: 16px; }
.two-columns { display: grid; grid-template-columns: 1.2fr 1fr; gap: 24px; align-items: start; }
.fields { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 20px; }
.fields.three { grid-template-columns: repeat(3, minmax(0, 1fr)); }
label { display: block; font-size: 16px; font-weight: 400; margin: 18px 0 6px; }
input:not([type=checkbox]):not([type=radio]):not([type=submit]), select, textarea { display: block; width: 100%; padding: 12px 14px; border: 1px solid #170e0bbf; border-radius: 8px; background: var(--white); color: var(--ink); font: 400 16px/1.5 "Inter", Arial, Helvetica, sans-serif; min-height: 50px; }
textarea { resize: vertical; }
input:focus, select:focus, textarea:focus { outline: 2px solid var(--green); outline-offset: 3px; }
fieldset { border: 0; padding: 0; margin: 24px 0; }
legend { font-size: 16px; font-weight: 500; margin-bottom: 8px; }
.check { display: flex; align-items: flex-start; gap: 10px; font-size: 15px; font-weight: 300; margin: 12px 0; }
.check input { accent-color: var(--green); margin-top: 5px; width: 16px; height: 16px; flex-shrink: 0; }
.confirmation { padding: 16px; background: var(--sunken); border: 1px solid var(--line); border-radius: 8px; margin-top: 28px; }
.hint { font-size: 13px; color: var(--muted); margin: 9px 0 18px; }
.muted { color: var(--muted); }
.flash, .errors { padding: 17px 22px; background: #eef4ec; border: 1px solid #cbdac8; border-radius: 8px; margin-bottom: 28px; }
.flash.alert, .errors { background: #fff0e9; border-color: #e9c9b3; color: #713c22; }
.auth-layout { display: grid; grid-template-columns: 1fr 1fr; gap: 70px; align-items: center; margin: 24px auto; max-width: 1100px; }
.auth-layout h1 { font-size: 52px; font-weight: 700; line-height: 1.1; margin: 20px 0 25px; }
.auth-layout .lede { font-size: 20px; }
.auth { max-width: 500px; width: 100%; padding: 36px; }
.auth h1, .auth h2 { font-size: 34px; font-weight: 600; letter-spacing: -.7px; }
.auth h2 { padding-bottom: 18px; border-bottom: 1px solid var(--line); }
.auth label { font-size: 18px; font-weight: 300; }
.auth input[type=submit] { font-size: 18px; }
.auth-links { display: flex; justify-content: space-between; gap: 14px; font-size: 13px; margin-top: 24px; }
.centered { margin: 15px auto; }
.empty { text-align: center; padding: 56px 28px; }
.back { display: inline-block; margin-bottom: 25px; font-size: 14px; }
.detail-list { margin: 24px 0; }
.detail-list > div { display: grid; grid-template-columns: 160px 1fr; gap: 15px; padding: 12px 0; border-bottom: 1px solid var(--line); }
.detail-list dd { margin: 0; overflow-wrap: anywhere; }
.table-scroll { overflow-x: auto; }
table { width: 100%; border-collapse: collapse; white-space: nowrap; font-size: 14px; }
th { text-align: left; color: var(--muted); font-size: 11px; text-transform: uppercase; letter-spacing: .5px; font-weight: 500; }
th, td { padding: 14px 10px; border-bottom: 1px solid var(--line); }
td strong { font-weight: 600; }
td small { display: block; color: var(--muted); }
.quote-terms td { white-space: normal; font-size: 13px; color: var(--muted); }
.review-row { display: flex; justify-content: space-between; align-items: center; gap: 15px; border-bottom: 1px solid var(--line); padding: 20px 0; }
.review-row h2 { margin: 7px 0; }
footer { background: var(--green); color: #ffffffbd; padding: 28px max(32px, calc((100% - 1176px) / 2)); font-size: 12px; display: flex; justify-content: space-between; gap: 20px; }
footer strong { color: #e5d1ae; font-weight: 500; }
a:focus-visible, button:focus-visible { outline: 2px solid var(--orange); outline-offset: 4px; }

@media (max-width: 900px) {
  .preview-label { display: none; }
  .auth-layout { gap: 32px; }
  .fields.three { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 760px) {
  main { padding: 30px 18px 50px; }
  h1 { font-size: 34px; }
  .topbar { min-height: 88px; gap: 18px; padding: 22px 20px; flex-wrap: wrap; }
  .wordmark img { width: 105px; height: auto; }
  .product { padding-left: 18px; font-size: 16px; }
  .account { width: 100%; justify-content: space-between; font-size: 13px; gap: 12px; }
  .guest-nav { width: 100%; margin-left: 0; justify-content: flex-end; }
  .nav { padding: 0 20px; gap: 24px; flex-wrap: wrap; }
  .nav a { font-size: 14px; }
  .two-columns, .order-grid, .auth-layout { grid-template-columns: 1fr; }
  .auth-layout { gap: 25px; margin: 0; }
  .auth-layout > .auth { grid-row: 1; }
  .auth-layout h1 { font-size: 42px; }
  .auth { padding: 26px; max-width: none; }
  .pagehead { align-items: flex-start; flex-direction: column; margin-bottom: 26px; }
  .panel { padding: 24px; }
  .card-bottom { align-items: flex-start; }
  .detail-list > div { grid-template-columns: 110px 1fr; }
  footer { padding: 24px 20px; flex-direction: column; }
  .review-row { align-items: flex-start; flex-direction: column; }
}
@media (max-width: 440px) {
  .fields, .fields.three { grid-template-columns: 1fr; }
  .auth-links { gap: 12px; flex-wrap: wrap; }
  .card-details { gap: 20px; }
  .card-bottom { flex-wrap: wrap; }
}

/* Trade workflow screens. */
.tiles { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px; margin-bottom: 26px; }
.tile { border: 1px solid var(--line); border-radius: 16px; background: white; padding: 22px; }
.tile > span { display: block; font-size: 12px; font-weight: 500; color: var(--muted); }
.tile > strong { display: block; font-size: 34px; line-height: 1.3; font-weight: 600; margin: 8px 0; }
.tile > small { color: var(--muted); }
.filters { display: flex; gap: 10px; flex-wrap: wrap; margin-bottom: 22px; }
.chip { display: inline-block; border-radius: 24px; padding: 8px 18px; border: 1px solid var(--line); text-decoration: none; font-size: 14px; font-weight: 500; }
.chip.selected { background: var(--green); border-color: var(--green); color: white; }
.wrap-text { white-space: normal; min-width: 180px; max-width: 280px; }
.compact { font-size: 13px; min-height: 40px; padding: 8px 15px; }
.private-note { background: var(--sunken); border: 1px solid var(--line); padding: 18px; border-radius: 8px; margin: 20px 0; }
.best-quote { background: #f1f6ee; }
.question { padding: 22px 0; border-top: 1px solid var(--line); overflow-wrap: anywhere; }
.question > small { display: block; color: var(--muted); font-size: 12px; margin-bottom: 12px; }
.answer { border-left: 3px solid var(--gold); padding: 12px 20px; background: var(--sunken); }
.answer p, .flash p:last-child { margin-bottom: 0; }
.decline-panel { margin-top: 28px; padding-top: 20px; border-top: 1px solid var(--line); }
.decline-panel summary { cursor: pointer; font-weight: 500; }
.profile-summary { display: flex; gap: 20px; flex-wrap: wrap; align-items: center; margin-bottom: 22px; }
.panel, .two-columns > * { min-width: 0; }
.table-scroll { max-width: 100%; }
.badge.accepted { background: #ffe6dc; color: #843c20; }
.card-bottom { flex-wrap: wrap; }
@media(max-width: 900px) { .tiles { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media(max-width: 440px) { .tiles { gap: 12px; } .tile { padding: 16px; } .tile > strong { font-size: 28px; } }
.panel.narrow { max-width: 640px; }
.link-field { font-family: ui-monospace, Menlo, Consolas, monospace; font-size: 14px; background: var(--sunken); }
.link-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 8px; }
.row-actions { display: flex; align-items: center; gap: 16px; justify-content: flex-end; }
.row-actions form { margin: 0; }
td .badge + small { margin-top: 6px; }
.badge.fulfilled { background: #dcebdc; color: var(--green); }
.badge.withdrawn { background: #efeeeb; color: #655f58; }
.journey { list-style: none; padding: 0; margin: 0 0 18px; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px; counter-reset: none; }
.journey li { position: relative; display: flex; gap: 12px; border: 1px solid var(--line); border-radius: 16px; background: var(--white); padding: 20px; }
.journey li:not(:last-child)::after { content: "→"; position: absolute; right: -15px; top: 50%; transform: translateY(-50%); color: var(--gold); font-size: 14px; }
.journey .step { flex-shrink: 0; width: 26px; height: 26px; border-radius: 50%; background: var(--green); color: var(--white); font-size: 13px; display: grid; place-items: center; }
.journey strong { display: block; font-weight: 500; }
.journey .count { display: block; font-size: 30px; font-weight: 600; line-height: 1.3; margin: 4px 0; }
.journey p { font-size: 13px; color: var(--muted); margin: 0; }
@media(max-width: 900px) { .journey { grid-template-columns: repeat(2, minmax(0, 1fr)); } .journey li::after { display: none; } }
@media(max-width: 440px) { .journey { grid-template-columns: 1fr; } }
.check.option span { display: block; }
.check.option strong { display: block; font-weight: 500; }
.check.option small { display: block; color: var(--muted); font-size: 13px; margin-top: 2px; }
.other-actions { margin-top: 28px; padding-top: 18px; border-top: 1px solid var(--line); }
.other-actions .button { margin: 0 8px 8px 0; }
details.info { margin: 4px 0 12px; font-size: 14px; }
details.info summary { cursor: pointer; color: var(--green); font-weight: 500; }
details.info summary::before { content: "ⓘ "; }
details.info p { color: var(--muted); margin: 8px 0 0; }
details.sample-request { margin-bottom: 20px; }
details.sample-request summary { list-style: none; text-align: center; cursor: pointer; }
details.sample-request summary::-webkit-details-marker { display: none; }
details.sample-request[open] summary { margin-bottom: 12px; }
input:not([type=checkbox]):not([type=radio]):disabled { background: var(--sunken); color: var(--muted); border-color: var(--line); }
.approval-block { margin-bottom: 28px; padding-bottom: 24px; border-bottom: 1px solid var(--line); }
