:root {
  color-scheme: light;
  --ink: #171a1f;
  --muted: #68707d;
  --line: #dce1e8;
  --surface: #ffffff;
  --soft: #f4f7fb;
  --accent: #0f766e;
  --accent-dark: #115e59;
  --gold: #b7791f;
  --danger: #b42318;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  background: #eef3f8;
  color: var(--ink);
}

button,
input,
select,
textarea {
  font: inherit;
}

button,
.import-button,
.action-link {
  border: 1px solid var(--line);
  background: var(--surface);
  color: var(--ink);
  border-radius: 6px;
  cursor: pointer;
  min-height: 40px;
  padding: 0 14px;
  text-decoration: none;
}

button:hover,
.import-button:hover,
.action-link:hover {
  border-color: #b6c0cd;
}

.action-link {
  align-items: center;
  display: inline-flex;
}

.app-shell {
  max-width: 1320px;
  margin: 0 auto;
  padding: 28px;
}

.topbar,
.panel-heading {
  align-items: center;
  display: flex;
  gap: 16px;
  justify-content: space-between;
}

.topbar {
  margin-bottom: 22px;
}

.eyebrow {
  color: var(--accent);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0;
  margin: 0 0 4px;
  text-transform: uppercase;
}

h1,
h2 {
  margin: 0;
}

h1 {
  font-size: 40px;
  line-height: 1;
}

h2 {
  font-size: 18px;
}

.actions {
  display: flex;
  gap: 10px;
}

.import-button {
  align-items: center;
  display: inline-flex;
  position: relative;
}

.import-button input {
  inset: 0;
  opacity: 0;
  position: absolute;
  width: 100%;
}

.stats-grid {
  display: grid;
  gap: 12px;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  margin-bottom: 18px;
}

.inbox-panel {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 8px;
  margin-bottom: 18px;
  padding: 16px;
}

.inbox-panel p {
  color: var(--muted);
  margin: 4px 0 0;
}

.inbox-panel-actions {
  display: flex;
  gap: 8px;
}

.inbox-strip {
  display: grid;
  gap: 10px;
  grid-template-columns: repeat(auto-fill, minmax(92px, 1fr));
  margin-top: 12px;
}

.inbox-item {
  border: 1px solid var(--line);
  border-radius: 8px;
  display: grid;
  gap: 6px;
  padding: 6px;
}

.inbox-item img {
  aspect-ratio: 5 / 7;
  background: var(--soft);
  border-radius: 5px;
  object-fit: contain;
  width: 100%;
}

.inbox-item span {
  color: var(--muted);
  font-size: 11px;
}

.inbox-item div {
  display: grid;
  gap: 4px;
  grid-template-columns: 1fr 1fr;
}

.inbox-item button {
  font-size: 12px;
  min-height: 30px;
  padding: 0 6px;
}

.inbox-item > button,
.capture-grid button {
  color: var(--danger);
}

.inbox-pair {
  grid-column: span 2;
}

.inbox-pair strong {
  font-size: 12px;
}

.inbox-pair-photos {
  display: grid;
  gap: 6px;
  grid-template-columns: 1fr 1fr;
}

.inbox-pair-photos span {
  align-items: center;
  aspect-ratio: 5 / 7;
  background: var(--soft);
  border-radius: 5px;
  display: flex;
  justify-content: center;
}

.inbox-pair button[data-review-pair] {
  color: var(--accent-dark);
}

.inbox-pair button[data-ai-assist-pair] {
  color: #1d4ed8;
}

.review-notice {
  background: #e7f3f1;
  border: 1px solid #9fd5cd;
  border-radius: 6px;
  color: var(--accent-dark);
  font-size: 13px;
  font-weight: 700;
  margin: 0;
  padding: 10px;
}

.review-notice[hidden] {
  display: none;
}

.capture-shell {
  display: grid;
  gap: 18px;
  margin: 0 auto;
  max-width: 720px;
  padding: 20px;
}

.capture-hero h1 {
  font-size: 40px;
  margin: 0;
}

.capture-hero p:last-child,
.capture-panel p {
  color: var(--muted);
}

.capture-panel {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 8px;
  display: grid;
  gap: 12px;
  padding: 16px;
}

.capture-button {
  align-items: center;
  background: var(--accent);
  border-radius: 8px;
  color: white;
  cursor: pointer;
  display: flex;
  font-size: 18px;
  font-weight: 900;
  justify-content: center;
  min-height: 64px;
  position: relative;
}

.capture-button.secondary {
  background: #394150;
}

.capture-button.live {
  background: #a16207;
  border: 0;
  width: 100%;
}

.capture-button input {
  inset: 0;
  opacity: 0;
  position: absolute;
}

.capture-grid {
  display: grid;
  gap: 10px;
  grid-template-columns: repeat(auto-fill, minmax(110px, 1fr));
}

.capture-grid article {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 8px;
  display: grid;
  gap: 6px;
  padding: 6px;
}

.inbox-actions {
  align-items: center;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  justify-content: flex-end;
}

.inbox-actions label,
.capture-select {
  align-items: center;
  color: var(--muted);
  display: flex;
  font-size: 12px;
  gap: 6px;
}

.capture-select input,
.inbox-actions input {
  height: 16px;
  width: 16px;
}

.capture-grid button {
  min-height: 34px;
}

.capture-grid img {
  aspect-ratio: 5 / 7;
  object-fit: contain;
  width: 100%;
}

.capture-grid span,
.capture-link {
  color: var(--muted);
  font-size: 12px;
}

.crop-review {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 8px;
  display: grid;
  gap: 12px;
  padding: 16px;
}

.crop-review[hidden] {
  display: none;
}

.live-capture-panel {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 8px;
  display: grid;
  gap: 12px;
  padding: 16px;
}

.live-capture-panel[hidden] {
  display: none;
}

.batch-panel {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 8px;
  display: grid;
  gap: 12px;
  padding: 16px;
}

.batch-panel .panel-heading {
  align-items: start;
}

.batch-panel p {
  color: var(--muted);
  margin: 4px 0 0;
}

.batch-actions {
  display: grid;
  gap: 8px;
  grid-template-columns: repeat(5, minmax(0, 1fr));
}

.batch-actions button.active {
  background: #e7f3f1;
  border-color: var(--accent);
  color: var(--accent-dark);
  font-weight: 800;
}

.batch-pairs {
  display: grid;
  gap: 10px;
}

.batch-pair {
  border: 1px solid var(--line);
  border-radius: 8px;
  display: grid;
  gap: 10px;
  grid-template-columns: 1fr 1fr;
  padding: 10px;
}

.batch-pair div {
  display: grid;
  gap: 6px;
}

.batch-pair strong {
  font-size: 13px;
}

.batch-pair img,
.batch-missing {
  align-items: center;
  aspect-ratio: 5 / 7;
  background: var(--soft);
  border: 1px solid var(--line);
  border-radius: 6px;
  display: flex;
  justify-content: center;
  object-fit: contain;
  width: 100%;
}

.batch-missing,
.batch-empty {
  color: var(--muted);
  font-size: 13px;
}

.live-stage {
  background: #101820;
  border-radius: 8px;
  overflow: hidden;
  position: relative;
}

.live-stage video {
  display: block;
  width: 100%;
}

.live-guide {
  height: 100%;
  inset: 0;
  pointer-events: none;
  position: absolute;
  width: 100%;
}

.live-guide polygon {
  fill: rgb(15 118 110 / 14%);
  stroke: var(--accent);
  stroke-width: 0.8;
  vector-effect: non-scaling-stroke;
}

.live-calibration {
  display: grid;
  gap: 8px;
  grid-template-columns: repeat(2, 1fr);
}

.live-calibration button {
  min-height: 38px;
}

.live-calibration #saveLiveProfile,
.live-calibration #resetLiveProfile {
  grid-column: span 2;
}

.crop-stage {
  background: #101820;
  border-radius: 8px;
  overflow: hidden;
  position: relative;
  touch-action: none;
  width: 100%;
}

.crop-stage img {
  display: block;
  width: 100%;
}

.crop-box {
  inset: 0;
  cursor: move;
  position: absolute;
  touch-action: none;
}

.crop-box::before {
  background: rgb(0 0 0 / 26%);
  content: "";
  inset: 0;
  pointer-events: none;
  position: absolute;
}

.crop-box svg {
  height: 100%;
  inset: 0;
  overflow: visible;
  pointer-events: none;
  position: absolute;
  width: 100%;
}

.crop-box polygon {
  fill: rgb(15 118 110 / 16%);
  stroke: #ffffff;
  stroke-width: 0.8;
  vector-effect: non-scaling-stroke;
}

.crop-box polyline {
  fill: none;
  stroke: rgb(255 255 255 / 68%);
  stroke-width: 0.35;
  vector-effect: non-scaling-stroke;
}

.crop-box span {
  background: #ffffff;
  border: 2px solid var(--accent);
  border-radius: 999px;
  box-shadow: 0 2px 12px rgb(0 0 0 / 35%);
  height: 44px;
  position: absolute;
  touch-action: none;
  transform: translate(-50%, -50%);
  width: 44px;
}

.crop-box button {
  background: var(--accent);
  border: 2px solid #ffffff;
  border-radius: 999px;
  box-shadow: 0 2px 12px rgb(0 0 0 / 35%);
  height: 32px;
  min-height: 0;
  padding: 0;
  position: absolute;
  touch-action: none;
  transform: translate(-50%, -50%);
  width: 56px;
}

.crop-box button[data-side="left"],
.crop-box button[data-side="right"] {
  height: 56px;
  width: 32px;
}

.straighten-option {
  align-items: center;
  display: flex;
  font-size: 14px;
  gap: 10px;
}

.straighten-option input {
  height: 18px;
  width: 18px;
}

.capture-profiles {
  display: grid;
  gap: 8px;
  grid-template-columns: 1fr 1fr;
}

.capture-profiles button {
  min-height: 42px;
}

.capture-profiles button.active {
  background: #e7f3f1;
  border-color: var(--accent);
  color: var(--accent-dark);
  font-weight: 800;
}

.capture-profiles #saveProfile {
  grid-column: 1 / -1;
}

.crop-actions {
  display: grid;
  gap: 8px;
  grid-template-columns: 1.4fr repeat(6, 1fr);
}

.crop-actions button:first-child {
  background: var(--accent);
  border-color: var(--accent);
  color: #ffffff;
  font-weight: 800;
}

.crop-review p {
  color: var(--muted);
  margin: 0;
}

@media (max-width: 560px) {
  .capture-profiles,
  .crop-actions,
  .batch-actions {
    grid-template-columns: 1fr 1fr;
  }

  .crop-actions button:first-child {
    grid-column: 1 / -1;
  }
}

.stats-grid article {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 16px;
}

.stats-grid span {
  color: var(--muted);
  display: block;
  font-size: 13px;
  margin-bottom: 8px;
}

.stats-grid strong {
  display: block;
  font-size: 28px;
}

.workspace {
  align-items: start;
  display: grid;
  gap: 18px;
  grid-template-columns: minmax(360px, 440px) minmax(0, 1fr);
}

.entry-panel,
.collection-panel {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 18px;
}

.entry-panel {
  display: grid;
  gap: 14px;
}

label {
  color: #394150;
  display: grid;
  font-size: 13px;
  font-weight: 700;
  gap: 6px;
}

.catalog-matches {
  border: 1px solid var(--line);
  border-radius: 8px;
  display: grid;
  max-height: 300px;
  overflow: auto;
}

.catalog-matches button {
  border: 0;
  border-bottom: 1px solid var(--line);
  border-radius: 0;
  display: grid;
  gap: 3px;
  height: auto;
  justify-items: start;
  min-height: 76px;
  padding: 10px;
  text-align: left;
  white-space: normal;
}

.catalog-matches button:last-child {
  border-bottom: 0;
}

.catalog-matches span,
.catalog-matches small {
  color: var(--muted);
  font-size: 12px;
  line-height: 1.3;
  white-space: normal;
}

input,
select,
textarea {
  background: #fbfcfe;
  border: 1px solid #cfd7e2;
  border-radius: 6px;
  color: var(--ink);
  min-height: 40px;
  padding: 9px 10px;
  width: 100%;
}

input[type="checkbox"] {
  min-height: auto;
  width: auto;
}

textarea {
  min-height: 84px;
  resize: vertical;
}

.form-grid {
  display: grid;
  gap: 12px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.primary {
  background: var(--accent);
  border-color: var(--accent);
  color: white;
  font-weight: 800;
}

.primary:hover {
  background: var(--accent-dark);
  border-color: var(--accent-dark);
}

.rarity-group {
  border: 1px solid var(--line);
  border-radius: 8px;
  display: grid;
  gap: 10px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  margin: 0;
  padding: 14px;
}

.rarity-group legend {
  color: #394150;
  font-size: 13px;
  font-weight: 800;
  padding: 0 6px;
}

.check-option {
  align-items: center;
  display: flex;
  flex-direction: row;
  font-weight: 650;
  gap: 8px;
}

.photo-fields {
  display: grid;
  gap: 12px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.recommendation-panel {
  background: #eef9f5;
  border: 1px solid #b9ded3;
  border-radius: 8px;
  display: grid;
  gap: 10px;
  padding: 14px;
}

.market-panel {
  background: #f7f5ff;
  border: 1px solid #d8d0f0;
  border-radius: 8px;
  display: grid;
  gap: 10px;
  padding: 14px;
}

.market-panel div {
  align-items: center;
  display: flex;
  gap: 10px;
  justify-content: space-between;
}

.market-panel span {
  color: #4c3f7a;
  font-size: 13px;
  font-weight: 800;
}

.market-panel button {
  justify-self: start;
}

.recommendation-panel div {
  align-items: baseline;
  display: flex;
  gap: 10px;
  justify-content: space-between;
}

.recommendation-panel span {
  color: var(--accent-dark);
  font-size: 13px;
  font-weight: 800;
}

.recommendation-panel strong {
  color: var(--accent-dark);
  font-size: 18px;
}

.recommendation-panel p,
.recommendation-note {
  color: #425466;
  font-size: 13px;
  line-height: 1.45;
  margin: 0;
}

.card-intelligence-preview {
  color: #394150;
  display: -webkit-box;
  font-size: 13px;
  line-height: 1.45;
  margin: 0;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 4;
  overflow: hidden;
}

.recommendation-panel button {
  justify-self: start;
}

.collection-panel {
  min-height: 520px;
}

.collection-panel .panel-heading {
  margin-bottom: 14px;
}

.collection-tools {
  align-items: center;
  display: flex;
  gap: 10px;
}

.collection-tools input {
  max-width: 280px;
}

.filter-bar {
  align-items: end;
  border-bottom: 1px solid var(--line);
  display: grid;
  gap: 10px;
  grid-template-columns: repeat(9, minmax(0, 1fr));
  margin: 0 0 14px;
  padding: 0 0 14px;
}

.filter-bar label {
  min-width: 0;
}

.filter-check {
  align-self: center;
  padding-bottom: 8px;
}

.view-toggle {
  background: var(--soft);
  border: 1px solid var(--line);
  border-radius: 8px;
  display: flex;
  padding: 3px;
}

.view-toggle button {
  border: 0;
  min-height: 32px;
  padding: 0 10px;
}

.view-toggle button.active {
  background: var(--accent);
  color: white;
}

.cards-list {
  display: grid;
  gap: 10px;
}

.showcase-list {
  grid-template-columns: repeat(auto-fill, minmax(230px, 1fr));
}

.photo-wall {
  grid-template-columns: repeat(auto-fill, minmax(104px, 1fr));
}

.photo-tile {
  background: #ffffff;
  border: 1px solid var(--line);
  border-radius: 8px;
  display: grid;
  gap: 6px;
  height: auto;
  justify-items: stretch;
  min-height: 0;
  padding: 6px;
  text-align: left;
}

.photo-tile img,
.photo-tile .photo-placeholder {
  aspect-ratio: 5 / 7;
  border: 0;
  border-radius: 5px;
  object-fit: contain;
  width: 100%;
}

.photo-tile span {
  color: #394150;
  font-size: 12px;
  font-weight: 800;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.showcase-card {
  background: #ffffff;
  border: 1px solid var(--line);
  border-radius: 8px;
  overflow: hidden;
}

.showcase-photo {
  background: var(--soft);
  border-bottom: 1px solid var(--line);
  padding: 6px;
}

.showcase-photo img,
.showcase-photo .photo-placeholder {
  aspect-ratio: 5 / 7;
  border: 0;
  border-radius: 4px;
  object-fit: contain;
  width: 100%;
}

.showcase-copy {
  display: grid;
  gap: 8px;
  padding: 12px;
}

.showcase-subtitle {
  color: var(--muted);
  font-size: 13px;
  line-height: 1.35;
  margin: 0;
}

.showcase-value {
  color: var(--gold);
  font-size: 20px;
  font-weight: 900;
}

.collection-table-wrap {
  border: 1px solid var(--line);
  border-radius: 8px;
  overflow: auto;
}

.collection-table {
  border-collapse: collapse;
  font-size: 13px;
  min-width: 980px;
  width: 100%;
}

.collection-table th,
.collection-table td {
  border-bottom: 1px solid var(--line);
  padding: 10px;
  text-align: left;
  vertical-align: top;
}

.collection-table th {
  background: var(--soft);
  color: #394150;
  font-size: 12px;
  position: sticky;
  top: 0;
  z-index: 1;
}

.collection-table td span {
  color: var(--muted);
  display: block;
  margin-top: 3px;
}

.collection-table tr:last-child td {
  border-bottom: 0;
}

.table-actions {
  text-align: right;
  white-space: nowrap;
}

.card-row {
  border: 1px solid var(--line);
  border-radius: 8px;
  display: grid;
  gap: 10px;
  grid-template-columns: 116px minmax(0, 1fr) auto;
  padding: 14px;
}

.photo-strip {
  display: grid;
  gap: 8px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.photo-strip img,
.photo-placeholder {
  aspect-ratio: 5 / 7;
  border: 1px solid var(--line);
  border-radius: 6px;
  object-fit: contain;
  width: 100%;
}

.photo-placeholder {
  align-items: center;
  background: var(--soft);
  color: var(--muted);
  display: flex;
  font-size: 12px;
  font-weight: 800;
  justify-content: center;
}

.card-summary-placeholder {
  align-items: center;
  background: linear-gradient(180deg, #f8fafc 0%, #eef6f4 100%);
  color: #394150;
  flex-direction: column;
  gap: 5px;
  justify-content: center;
  overflow: hidden;
  padding: 10px;
  text-align: center;
}

.card-summary-placeholder strong,
.card-summary-placeholder span,
.card-summary-placeholder small {
  display: block;
  max-width: 100%;
  overflow: hidden;
  text-overflow: ellipsis;
}

.card-summary-placeholder strong {
  color: var(--ink);
  font-size: 14px;
  line-height: 1.15;
}

.card-summary-placeholder span {
  color: var(--muted);
  font-size: 11px;
  font-weight: 700;
  line-height: 1.25;
}

.card-summary-placeholder em {
  color: var(--gold);
  font-size: 15px;
  font-style: normal;
  font-weight: 900;
}

.card-summary-placeholder small {
  background: #fff7df;
  border: 1px solid #efd28a;
  border-radius: 999px;
  color: #8a5a12;
  font-size: 10px;
  font-weight: 800;
  padding: 3px 7px;
}

.card-title {
  font-size: 17px;
  font-weight: 800;
  margin: 0 0 5px;
}

.meta {
  color: var(--muted);
  display: flex;
  flex-wrap: wrap;
  font-size: 13px;
  gap: 8px;
}

.meta span {
  background: var(--soft);
  border-radius: 999px;
  padding: 4px 8px;
}

.rarity-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 8px;
}

.rarity-tags span {
  background: #fff4d6;
  border: 1px solid #f2cf74;
  border-radius: 999px;
  color: #704d05;
  font-size: 12px;
  font-weight: 800;
  padding: 4px 8px;
}

.money {
  color: var(--gold);
  font-weight: 800;
}

.row-actions {
  display: grid;
  gap: 8px;
}

.edit {
  color: var(--accent-dark);
}

.details {
  color: #365f91;
}

.remove {
  align-self: start;
  color: var(--danger);
}

.card-detail {
  border: 0;
  border-radius: 8px;
  box-shadow: 0 24px 80px rgb(15 23 42 / 0.28);
  max-width: min(1040px, calc(100vw - 36px));
  padding: 0;
  width: 100%;
}

.card-detail::backdrop {
  background: rgb(15 23 42 / 0.46);
}

.detail-header {
  align-items: center;
  border-bottom: 1px solid var(--line);
  display: flex;
  gap: 16px;
  justify-content: space-between;
  padding: 18px;
}

.detail-body {
  display: grid;
  gap: 18px;
  grid-template-columns: minmax(260px, 380px) minmax(0, 1fr);
  padding: 18px;
}

.detail-photos {
  display: grid;
  gap: 12px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.detail-photos img,
.detail-photos .photo-placeholder {
  aspect-ratio: 5 / 7;
  border: 1px solid var(--line);
  border-radius: 8px;
  object-fit: contain;
  width: 100%;
}

.detail-info {
  display: grid;
  gap: 14px;
}

.detail-value {
  color: var(--gold);
  font-size: 34px;
  font-weight: 900;
}

.detail-grid {
  display: grid;
  gap: 10px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.detail-grid div {
  background: var(--soft);
  border-radius: 6px;
  padding: 10px;
}

.detail-grid span,
.detail-note span {
  color: var(--muted);
  display: block;
  font-size: 12px;
  font-weight: 800;
  margin-bottom: 4px;
}

.detail-grid strong {
  display: block;
  font-size: 14px;
}

.detail-note {
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 12px;
}

.card-intelligence {
  background: #eef9f5;
  border-color: #b9ded3;
}

.detail-note p {
  margin: 0;
}

.value-history {
  display: grid;
  gap: 6px;
}

.value-history p {
  align-items: baseline;
  display: flex;
  gap: 8px;
  justify-content: space-between;
}

.empty-state {
  border: 1px dashed #b8c3d2;
  border-radius: 8px;
  color: var(--muted);
  padding: 28px;
  text-align: center;
}

@media (max-width: 900px) {
  .app-shell {
    padding: 18px;
  }

  .topbar,
  .workspace,
  .stats-grid {
    grid-template-columns: 1fr;
  }

  .topbar,
  .panel-heading {
    align-items: stretch;
    flex-direction: column;
  }

  .actions,
  .collection-tools,
  .collection-tools input {
    max-width: none;
    width: 100%;
  }

  .collection-tools {
    align-items: stretch;
    flex-direction: column;
  }

  .filter-bar {
    grid-template-columns: 1fr;
  }

  .view-toggle {
    width: 100%;
  }

  .view-toggle button {
    flex: 1;
  }

  .actions button,
  .import-button {
    flex: 1;
    justify-content: center;
  }

  .card-row {
    grid-template-columns: 1fr;
  }

  .detail-body,
  .detail-grid {
    grid-template-columns: 1fr;
  }

  .photo-strip {
    max-width: 180px;
  }
}

@media (max-width: 560px) {
  .form-grid {
    grid-template-columns: 1fr;
  }

  .rarity-group {
    grid-template-columns: 1fr;
  }

  .photo-fields {
    grid-template-columns: 1fr;
  }

  .market-panel div {
    align-items: stretch;
    flex-direction: column;
  }

  h1 {
    font-size: 34px;
  }
}
