@font-face {
  font-family: Instrument Sans;
  src: url('/fonts/instrument-sans.woff2') format('woff2');
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
}
@font-face {
  font-family: Plex Mono;
  src: url('/fonts/ibm-plex-mono.woff2') format('woff2');
  font-weight: 400;
  font-display: swap;
}
:root {
  color-scheme: light;
  --paper: #f7f5ef;
  --white: #fffdf8;
  --field: #fbfaf4;
  --ink: #212326;
  --muted: #5b5e61;
  --line: #c9c7bf;
  --frame: #68686b;
  --accent: #2d369b;
  --accent-pale: #eaeaf7;
  --red: #9a382e;
  --sans: 'Instrument Sans', 'Helvetica Neue', Arial, sans-serif;
  --mono: 'Plex Mono', 'SFMono-Regular', Consolas, monospace;
}
* { box-sizing: border-box; }
[hidden] { display: none !important; }
body {
  margin: 0;
  min-width: 320px;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  color: var(--ink);
  background: var(--paper);
  font: 15px/1.42 var(--sans);
}
button, input, select, textarea { font: inherit; color: inherit; }
button, select, summary { cursor: pointer; }
:disabled { cursor: not-allowed; opacity: .6; }
a { color: inherit; text-underline-offset: 4px; }
a:focus-visible, button:focus-visible, input:focus-visible, select:focus-visible, textarea:focus-visible, summary:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
}
::selection { background: #dcdef7; color: var(--ink); }
.top, .footer { background: var(--white); }
.top { border-bottom: 1px solid var(--frame); }
.top-inner, .shell, .footer-inner { width: min(1136px, calc(100% - 64px)); margin-inline: auto; }
.top-inner { min-height: 65px; display: grid; grid-template-columns: 150px 1fr max-content; align-items: center; gap: 18px; }
.brand {
  align-items: center;
  display: inline-flex;
  width: max-content;
  gap: 7px;
  text-decoration: none;
  font-size: 30px;
  font-weight: 700;
  line-height: 1;
  letter-spacing: -.075em;
}
.brand-mark { color: var(--accent); width: 25px; height: 25px; display: inline-block; position: relative; flex: none; }
.brand-mark i { position: absolute; background: currentColor; transform: rotate(-12deg); }
.brand-mark i:nth-child(1) { left: 3px; top: 5px; width: 13px; height: 7px; }
.brand-mark i:nth-child(2) { left: 6px; top: 13px; width: 8px; height: 7px; }
.brand-mark i:nth-child(3) { left: 16px; top: 12px; width: 5px; height: 5px; }
.top nav { height: 100%; display: flex; align-items: center; justify-content: center; flex-wrap: nowrap; gap: 7px; min-width: 0; }
.nav-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  min-height: 38px;
  white-space: nowrap;
  color: var(--muted);
  font-weight: 600;
  padding: 0 12px;
}
.nav-link:hover, .nav-link[aria-current="page"] { background: var(--accent-pale); color: var(--accent); }
.wallet-link {
  display: flex;
  align-items: center;
  gap: 7px;
  min-height: 39px;
  padding: 0 12px;
  width: max-content;
  border: 1px solid var(--frame);
  text-decoration: none;
  font-size: 13px;
  font-weight: 650;
  white-space: nowrap;
}
.wallet-link:hover { background: var(--accent-pale); }
.wallet-link.connected { font: 12px/1.15 var(--mono); }
.wallet-link small { color: var(--muted); font: 12px/1.15 var(--sans); }
.dot { width: 6px; height: 6px; border-radius: 50%; background: #487044; flex: none; }
.shell { flex: 1; min-height: 580px; padding: 44px 0 76px; }
.footer { border-top: 1px solid var(--frame); }
.footer-inner { min-height: 70px; display: flex; justify-content: space-between; align-items: center; gap: 22px; color: var(--muted); font-size: 12px; }
.footer .brand { color: var(--ink); font-size: 23px; }
.footer .brand-mark { width: 22px; transform: scale(.86); }
.footer-links { display: flex; gap: 17px; flex-wrap: wrap; }
.footer-links a:hover, .quiet-button:hover { color: var(--accent); }
.page-head { margin-bottom: 24px; }
.page-head.spread { display: flex; align-items: end; justify-content: space-between; gap: 16px; }
.page-head h1 { font: 650 clamp(2.75rem, 5.3vw, 4.45rem)/.95 var(--sans); letter-spacing: -.061em; word-spacing: .08em; margin: 0; overflow-wrap: anywhere; }
.page-head p { margin: 10px 0 0; max-width: 58ch; color: var(--muted); white-space: pre-wrap; overflow-wrap: anywhere; }
.home-lead { margin: 4px 0 25px; }
.home-lead .page-head { margin: 0; }
.home-lead h1 { font-size: clamp(3.5rem, 8vw, 6rem); }
.home-lead p { font-size: 17px; }
.workbench { border: 1px solid var(--frame); background: var(--white); }
.workbench-bar {
  display: grid;
  grid-template-columns: 1fr max-content;
  min-height: 55px;
  border-bottom: 1px solid var(--frame);
}
.home-tabs { display: flex; align-items: stretch; padding: 0 15px; overflow-x: auto; scrollbar-width: thin; }
.home-tabs button {
  border: 0;
  border-bottom: 2px solid transparent;
  white-space: nowrap;
  color: var(--muted);
  background: transparent;
  min-height: 54px;
  padding: 0 13px;
  font-size: 14px;
  font-weight: 650;
}
.home-tabs button[aria-pressed="true"] { color: var(--accent); border-color: var(--accent); }
.home-tabs button:hover { background: var(--field); color: var(--accent); }
.home-tabs button:focus-visible { outline-offset: -4px; }
.workbench-network { border-left: 1px solid var(--line); min-width: 158px; display: grid; place-items: center; padding: 0 12px; }
.workbench-body { display: grid; grid-template-columns: minmax(0,.96fr) minmax(0,1.04fr); min-height: 390px; }
.home-ticket { align-self: center; padding: 35px clamp(20px,4.1vw,48px); min-width: 0; }
.home-ticket h2 { margin: 0 0 17px; font-size: clamp(1.75rem, 3.8vw, 3rem); font-weight: 650; line-height: 1; letter-spacing: -.051em; word-spacing: .07em; }
.ticket-intro { margin: 0 0 14px; color: var(--muted); max-width: 34ch; }
.ticket-choices { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; margin: 4px 0 13px; }
.ticket-choices button { min-width: 45px; min-height: 36px; padding: 0 12px; border: 1px solid var(--line); background: var(--field); font: 12px/1.15 var(--mono); }
.ticket-choices button:hover, .ticket-choices button[aria-pressed="true"] { color: var(--accent); border-color: var(--accent); background: var(--accent-pale); }
.ticket-actions { display: flex; align-items: center; flex-wrap: wrap; gap: 7px; margin-top: 18px; }
.ticket-field { margin: 0 0 11px; }
.ticket-field label, .ticket-label { display: block; }
.ticket-field select { max-width: 100%; }
.ticket-total { display: flex; justify-content: space-between; gap: 10px; align-items: center; margin: 12px 0; padding-top: 13px; border-top: 1px solid var(--line); font-size: 13px; font-weight: 600; }
.ticket-total strong { font: 17px/1.3 var(--mono); }
.workbench-foot { display: flex; justify-content: space-between; gap: 10px; padding: 11px 18px; border-top: 1px solid var(--frame); color: var(--muted); font: 11px/1.35 var(--mono); }
.workbench-body .box-stage { min-height: 390px; height: auto; border: 0; border-left: 1px solid var(--frame); }

.box-stage {
  --packet-ink: #2d369b;
  --packet-paper: #e3e4f5;
  position: relative;
  display: grid;
  place-items: center;
  min-height: 310px;
  overflow: hidden;
  isolation: isolate;
  background: var(--packet-paper);
  border: 1px solid var(--frame);
}
.print-field {
  position: absolute;
  z-index: -1;
  inset: 7%;
  border: 1px solid color-mix(in srgb, var(--packet-ink) 26%, transparent);
  background-image: radial-gradient(circle, color-mix(in srgb,var(--packet-ink) 25%, transparent) .65px, transparent .75px);
  background-size: 8px 8px;
}
.parcel {
  position: relative;
  width: min(62%, 315px);
  aspect-ratio: 1.68;
  transform: translateY(16%) rotate(-9deg);
  animation: packet-in 540ms cubic-bezier(.2,.75,.4,1) both;
}
@keyframes packet-in {
  from { opacity: .75; transform: translateY(20%) rotate(-5deg); }
  to { opacity: 1; transform: translateY(16%) rotate(-9deg); }
}
.parcel-secondary {
  position: absolute;
  z-index: 0;
  inset: 5% -8% -10% 13%;
  transform: rotate(11deg);
  border: 1px solid var(--packet-ink);
  background: repeating-linear-gradient(117deg, var(--packet-ink) 0 1px, transparent 1px 5px), var(--packet-paper);
}
.parcel-card {
  position: absolute;
  z-index: 1;
  inset: -34% 10% 29% 13%;
  transform: rotate(-5deg);
  color: var(--packet-ink);
  padding: 5% 7%;
  background: #fffdf4;
  border: 1px solid var(--packet-ink);
  box-shadow: 1px 0 0 #efebdb;
  transition: transform 500ms cubic-bezier(.2,.75,.4,1);
}
.parcel-card > span:first-child { display: block; font: 700 clamp(12px,3.45vw,42px)/1 var(--sans); letter-spacing: -.08em; }
.parcel-card .brand-mark { position: absolute; top: 9%; right: 5%; color: var(--packet-ink); }
.parcel-lines { height: 29%; margin-top: 3%; background: repeating-linear-gradient(to bottom, var(--packet-ink) 0 1px, transparent 1px 5px); opacity: .5; }
.parcel-face { position: absolute; z-index: 2; inset: 0; background: #fbf8ee; border: 1px solid var(--packet-ink); box-shadow: 8px 12px 0 #2123261a; }
.parcel-face::before, .parcel-face::after { content: ''; position: absolute; inset: 0; background: var(--packet-paper); opacity: .62; }
.parcel-face::before { clip-path: polygon(0 0, 52% 55%, 0 100%); }
.parcel-face::after { clip-path: polygon(100% 0, 50% 55%, 100% 100%); }
.parcel-flap {
  z-index: 3;
  position: absolute;
  inset: -1px -1px auto;
  height: 59%;
  background: repeating-linear-gradient(136deg, #fff1 0 1px, transparent 1px 4px), var(--packet-ink);
  clip-path: polygon(0 0, 100% 0, 50% 100%);
  transform-origin: top center;
  transition: transform 500ms cubic-bezier(.2,.75,.4,1);
}
.parcel-band { position: absolute; z-index: 4; height: 10%; left: -1px; right: -1px; top: 48%; border-block: 1px solid var(--packet-ink); background: #faf5e2; }
.parcel-label {
  position: absolute;
  z-index: 5;
  bottom: 10%;
  right: 7%;
  max-width: 79%;
  min-height: 29px;
  display: flex;
  align-items: center;
  gap: 3px;
  overflow: hidden;
  padding: 2px 7px 2px 3px;
  color: var(--packet-ink);
  background: #fffdf4;
  border: 1px solid var(--packet-ink);
  font: clamp(8px,1.24vw,12px)/1.15 var(--mono);
  text-transform: uppercase;
}
.parcel-label .brand-mark { color: inherit; transform: scale(.65); margin-inline: -3px; }
.parcel-label span:last-child { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.opened .parcel-card { transform: translateY(-28%) rotate(-7deg); }
.opened .parcel-flap { transform: scaleY(-.69); }
.opened .parcel-band { opacity: .44; }

.button, .secondary, .quiet-button, .chip {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  text-align: center;
  gap: 6px;
  min-height: 39px;
  padding: 9px 12px;
  border: 1px solid transparent;
  border-radius: 0;
  text-decoration: none;
  font-size: 13px;
  font-weight: 650;
}
.button { background: var(--ink); border-color: var(--ink); color: var(--white); }
.button:hover { background: var(--accent); border-color: var(--accent); }
.ticket-cta { background: var(--accent); border-color: var(--accent); min-height: 43px; padding-inline: 15px; }
.ticket-cta:hover { background: #232c82; }
.ticket-cta::after { content: ''; width: 6px; height: 6px; margin-left: 8px; border-top: 1px solid; border-right: 1px solid; transform: rotate(45deg); }
.secondary, .chip { border-color: var(--line); background: var(--field); color: var(--ink); }
.secondary:hover, .chip:hover { border-color: var(--accent); color: var(--accent); }
.quiet-button { background: transparent; color: var(--accent); padding-inline: 3px; text-align: left; }
.quiet-button:hover { text-decoration: underline; }
.chip { min-height: 35px; padding: 6px 12px; }
.chip.active, .chip[aria-pressed="true"] { border-color: var(--accent); background: var(--accent-pale); color: var(--accent); }
.small { font-size: 12px; }
.muted, .loading { color: var(--muted); }
.address, .proof, .number, .receipt-amount { font-family: var(--mono); font-variant-numeric: tabular-nums; overflow-wrap: anywhere; }
.address, .proof { font-size: 12px; }
.proof { white-space: pre-wrap; }
.panel, .tile { min-width: 0; padding: 20px; background: var(--white); border: 1px solid var(--frame); }
.panel > h2, .preview h2 { font-size: 23px; letter-spacing: -.055em; margin: 0 0 13px; font-weight: 650; line-height: 1.1; overflow-wrap: anywhere; }
.panel p { margin: 8px 0; }
.panel + .panel { margin-top: 13px; }
.panel .action-row { margin-top: 12px; }
.compact { width: min(100%, 530px); }
.duo { display: grid; grid-template-columns: minmax(0,1fr) minmax(0,1fr); gap: 18px; align-items: start; }
.duo > .panel + .panel { margin-top: 0; }
.composer-layout, .trade-layout { grid-template-columns: minmax(0,1.1fr) minmax(0,.9fr); }
.trade-form, .preview { position: sticky; top: 14px; }
.preview .box-stage { min-height: 333px; }
.preview-caption { border: 1px solid var(--frame); border-top: 0; padding: 14px; background: var(--white); }
.preview-caption h2 { font-size: 17px; margin: 0; letter-spacing: -.025em; }
.preview-caption p { margin: 6px 0 0; overflow-wrap: anywhere; white-space: pre-wrap; }
.gallery { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 14px; }
.tile { padding: 0; overflow: hidden; }
.tile .box-stage { min-height: 190px; border: 0; border-bottom: 1px solid var(--frame); }
.tile .parcel { width: 49%; }
.tile .parcel-card > span:first-child { font-size: clamp(10px,1.8vw,22px); }
.tile .parcel-card .brand-mark, .tile .parcel-label .brand-mark { transform: scale(.6); }
.tile .parcel-label { font-size: 8px; min-height: 20px; padding-block: 0; }
.tile-body { padding: 13px; }
.tile-body h2 { font-size: 21px; margin: 8px 0 4px; letter-spacing: -.045em; overflow-wrap: anywhere; }
.tile-body p { color: var(--muted); margin: 0 0 12px; }
.rule { border-top: 1px solid var(--line); padding-top: 11px; margin-top: 12px; }
.band { margin-top: 15px; }
.actions, .action-row, .tabs, .segmented { display: flex; align-items: center; flex-wrap: wrap; gap: 7px; }
.segmented, .wallet-tabs { margin: 0 0 12px; }
.tabs .chip, .segmented .chip { min-width: 68px; }
.fields { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 9px; }
label, .ticket-label { color: var(--muted); font-size: 12px; font-weight: 650; }
label:has(input), label:has(select), label:has(textarea) { display: block; margin-bottom: 9px; }
input:not([type=radio]):not([type=checkbox]):not([type=hidden]), select, textarea {
  display: block;
  width: 100%;
  min-width: 0;
  min-height: 39px;
  padding: 8px 10px;
  margin-top: 4px;
  border: 1px solid var(--line);
  border-radius: 0;
  background: var(--field);
  color: var(--ink);
  font-size: 14px;
}
input::placeholder, textarea::placeholder { color: #676b6c; }
textarea { resize: vertical; min-height: 61px; }
#network-select { width: auto; min-width: 133px; margin: 0; }
.workbench-network #network-select { font-size: 13px; min-height: 34px; }
.claim-dates { margin: 9px 0 12px; border-block: 1px solid var(--line); padding: 9px 0; }
.claim-dates .fields { margin-top: 9px; }
.claim-dates summary { font-size: 13px; font-weight: 650; }
.composition-row { display: grid; grid-template-columns: minmax(0,1.5fr) minmax(0,.9fr) max-content; gap: 7px; align-items: end; }
.composition-row:has(label:nth-of-type(3)) { grid-template-columns: minmax(0,1.5fr) minmax(0,1fr) minmax(0,.7fr) max-content; }
.composition-row button { margin-bottom: 9px; }

.list { list-style: none; padding: 0; margin: 7px 0 0; }
.line { display: flex; align-items: center; justify-content: space-between; gap: 11px; min-width: 0; padding: 9px 0; border-bottom: 1px solid var(--line); }
.line:last-child { border-bottom: 0; }
.line strong { display: block; min-width: 0; overflow-wrap: anywhere; }
.line .meta { display: block; color: var(--muted); font-size: 12px; }
.identity { display: flex; align-items: center; gap: 8px; min-width: 0; }
.icon-stock { display: grid; place-items: center; width: 43px; height: 30px; flex: none; color: var(--ink); background: var(--stock,#e3e4f5); font: 10px/1 var(--mono); }
.pill { display: inline-flex; align-items: center; gap: 5px; padding: 3px 6px; border: 1px solid var(--line); color: var(--muted); font: 11px/1.3 var(--mono); white-space: nowrap; }
.pill.good { color: #275236; background: #e7eee6; border-color: #9db19c; }
.network-pill i { width: 6px; height: 6px; background: var(--network); border-radius: 50%; }
.quote, .hint, .zero { padding: 10px 12px; background: var(--field); border: 1px solid var(--line); }
.quote { color: var(--accent); font: 12px/1.4 var(--mono); }
.hint, .zero { color: var(--muted); }
.hint { font-size: 13px; }
.zero { margin: 0; }
.status, .form-status { margin-top: 9px; color: var(--muted); font-size: 12px; }
.form-status:empty { margin-top: 0; }
.form-status.error { color: var(--red); }
.market-list { max-height: 476px; overflow: auto; scrollbar-color: var(--line) transparent; }
.asset-choice { width: 100%; background: transparent; text-align: left; border: 0; border-bottom: 1px solid var(--line); padding-inline: 7px; }
.asset-choice:hover, .asset-choice.active { background: var(--accent-pale); }
.asset-choice.active { border-left: 2px solid var(--accent); padding-left: 5px; }
.arr { display: inline-block; width: 10px; height: 10px; position: relative; flex: none; color: var(--accent); margin-inline: 2px 3px; }
.arr::before { position: absolute; content: ''; left: 0; top: 5px; width: 11px; border-top: 1px solid currentColor; }
.arr::after { position: absolute; content: ''; right: 0; top: 2px; width: 5px; height: 5px; border-right: 1px solid currentColor; border-top: 1px solid currentColor; transform: rotate(45deg); }
.wallet-detail { display: grid; gap: 4px; padding: 10px 0; border-bottom: 1px solid var(--line); }
.wallet-detail span:first-child { font-size: 12px; color: var(--muted); }
.offer-controls { margin-top: 13px; display: flex; flex-wrap: wrap; gap: 7px; }
.offer-controls form { flex: 1; }
.mix-chart { display: flex; align-items: center; height: 8px; margin: 11px 0 7px; border: 1px solid var(--frame); overflow: hidden; }
.mix-chart i { display: block; flex: none; height: 100%; width: var(--w); background: var(--color); border-right: 1px solid var(--frame); }
.receipt-amount { font-size: clamp(20px,3vw,29px); line-height: 1.2; letter-spacing: -.045em; }
.receipt-amount small { color: var(--muted); font: 12px/1.15 var(--sans); }
details summary { color: var(--accent); }
.panel details:not(.claim-dates) { margin-top: 12px; }
.faq { max-width: 770px; border: 1px solid var(--frame); background: var(--white); }
.faq details + details { border-top: 1px solid var(--line); }
.faq summary { padding: 15px 18px; color: var(--ink); font-weight: 650; }
.faq details[open] summary { color: var(--accent); }
.faq p { padding: 0 18px 15px; margin: 0; max-width: 73ch; color: var(--muted); }

.dialog { width: min(92vw, 515px); max-height: 83vh; padding: 20px; color: var(--ink); background: var(--white); border: 1px solid var(--frame); }
.dialog::backdrop { background: #191b29aa; }
.dialog h2 { margin: 0 0 14px; font-size: 28px; letter-spacing: -.065em; line-height: 1; }
.dialog form[method=dialog] { margin-top: 15px; padding-top: 12px; border-top: 1px solid var(--line); }
.dialog .review-grid + p { margin: 10px 0; }
.wallet-options { display: grid; gap: 7px; }
.wallet-options button { justify-content: space-between; }
.review-grid { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); border: 1px solid var(--line); background: var(--field); }
.review-grid > div { min-width: 0; padding: 10px; border-bottom: 1px solid var(--line); }
.review-grid > div:nth-of-type(odd) { border-right: 1px solid var(--line); }
.review-grid > div:has(.address) { grid-column: 1/-1; }
.review-grid span { color: var(--muted); font-size: 12px; }
.review-grid strong { display: block; overflow-wrap: anywhere; font: 13px/1.33 var(--mono); }
.toast { position: fixed; z-index: 6; left: 50%; bottom: 17px; transform: translateX(-50%); width: max-content; max-width: 90vw; border: 1px solid var(--frame); color: var(--white); background: var(--ink); padding: 11px 15px; font-size: 13px; }
.toast:empty { display: none; }
.toast.error { background: #82382e; }
@media (max-width: 860px) {
  .top-inner, .shell, .footer-inner { width: calc(100% - 38px); }
  .top-inner { grid-template-columns: 110px 1fr max-content; gap: 12px; }
  .nav-link { padding-inline: 8px; }
  .wallet-link small { display: none; }
  .home-tabs { padding-inline: 7px; }
  .home-tabs button { padding-inline: 9px; }
  .composer-layout, .trade-layout { grid-template-columns: minmax(0,1fr) minmax(0,.9fr); }
  .composition-row:has(label:nth-of-type(3)) { grid-template-columns: minmax(0,1fr) minmax(0,1fr); }
}
@media (max-width: 670px) {
  .top-inner, .shell, .footer-inner { width: calc(100% - 26px); }
  .top-inner { grid-template-columns: 1fr max-content; padding-top: 10px; gap: 3px 7px; }
  .top nav { grid-row: 2; grid-column: 1/-1; height: 42px; overflow-x: auto; justify-content: flex-start; gap: 5px; }
  .top .brand { font-size: 26px; }
  .wallet-link { min-height: 34px; }
  .shell { padding: 29px 0 48px; }
  .footer-inner { padding-block: 12px; align-items: flex-start; gap: 10px; flex-wrap: wrap; }
  .footer-inner > span:last-child { flex-basis: 100%; }
  .page-head { margin-bottom: 19px; }
  .page-head.spread { align-items: flex-start; flex-direction: column; gap: 9px; }
  .page-head h1 { font-size: clamp(2.75rem,10vw,4.1rem); }
  .home-lead h1 { font-size: clamp(3.35rem,12vw,5.4rem); }
  .home-lead p { font-size: 15px; }
  .workbench-bar { grid-template-columns: 1fr; }
  .workbench-network { border-left: 0; border-top: 1px solid var(--line); place-items: start; padding: 6px 10px; }
  .home-tabs button { min-height: 44px; font-size: 13px; }
  .workbench-body, .duo { grid-template-columns: 1fr; }
  .workbench-body .box-stage { min-height: 255px; border-left: 0; border-top: 1px solid var(--frame); }
  .home-ticket { padding: 19px 14px; }
  .home-ticket h2 { margin-bottom: 12px; }
  .workbench-foot { padding-inline: 10px; font-size: 10px; }
  .box-stage, .preview .box-stage { min-height: 255px; }
  .parcel-card > span:first-child { font-size: clamp(18px,7vw,35px); }
  .trade-form, .preview { position: static; }
  .gallery { grid-template-columns: repeat(2,minmax(0,1fr)); gap: 8px; }
  .tile .box-stage { min-height: 128px; }
  .tile .parcel { width: 56%; }
  .tile .parcel-label { max-width: 90%; min-height: 16px; font-size: 6px; }
  .tile .parcel-label .brand-mark { transform: scale(.45); width: 15px; }
  .tile-body { padding: 9px; }
  .tile-body h2 { font-size: 17px; }
  .panel { padding: 15px; }
  .composition-row:has(label:nth-of-type(3)) { grid-template-columns: repeat(2,minmax(0,1fr)); }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; }
}
