@layer feature-layout;
@layer feature-layout {
:root {
  --page: #041d33;
  --page-deep: #021425;
  --bar: #0b3557;
  --bar-dark: #082b49;
  --card: #356493;
  --card-hover: #4173a4;
  --line: #0a2741;
  --text: #f4f8ff;
  --muted: #bdd0df;
  --aqua: #65f2e4;
  --blue: #4875ff;
  --green: #2fb853;
  --green-dark: #209443;
  --red: #ef4e55;
  --white: #fff;
  --ink: #183142;
  --font: "Arial Rounded MT Bold", "Trebuchet MS", Arial, sans-serif;
  --body: Arial, Helvetica, sans-serif;
}

* {
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
  background: var(--page-deep);
}
body {
  min-height: 100vh;
  margin: 0;
  color: var(--text);
  font-family: var(--body);
  font-size: 14px;
  background:
    radial-gradient(ellipse 32% 54% at -8% 15%, rgba(23, 85, 113, 0.52), transparent 68%),
    radial-gradient(ellipse 28% 42% at 95% 38%, rgba(53, 18, 255, 0.82), transparent 65%),
    radial-gradient(ellipse 20% 28% at 55% 6%, rgba(39, 19, 220, 0.66), transparent 72%),
    linear-gradient(145deg, #03192c 0%, #05233b 48%, #020e21 100%);
  background-attachment: fixed;
  -webkit-font-smoothing: antialiased;
}
button,
input,
select {
  font: inherit;
}
button {
  cursor: pointer;
}
button:disabled {
  cursor: not-allowed;
  opacity: 0.5;
}
a {
  color: inherit;
  text-decoration: none;
}
[hidden] {
  display: none !important;
}

.topbar {
  height: 54px;
  background: rgba(49, 99, 143, 0.95);
  border-bottom: 4px solid rgba(1, 19, 37, 0.9);
  position: sticky;
  top: 0;
  z-index: 30;
  box-shadow: 0 2px 0 rgba(0, 0, 0, 0.35);
}
.topbar-inner {
  max-width: 1020px;
  height: 50px;
  margin: 0 auto;
  padding: 0 16px;
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
}
.logo {
  justify-self: start;
  font: 900 18px var(--font);
  letter-spacing: -0.04em;
  text-shadow: 0 2px 0 #05203a;
}
.logo b {
  color: var(--aqua);
}
.logo span {
  color: #fff;
}
.header-actions {
  justify-self: end;
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
}
.data-status {
  display: flex;
  align-items: center;
  gap: 6px;
  color: #d9e6f0;
  font-size: 10px;
  white-space: nowrap;
}
.status-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #24db64;
  box-shadow: 0 0 7px #24db64;
}
.data-status.is-offline .status-dot {
  background: #ff6978;
  box-shadow: 0 0 7px #ff6978;
}
.account-trigger {
  min-width: 78px;
  height: 34px;
  padding: 0 10px 0 6px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  border: 1px solid #153d5f;
  border-radius: 17px;
  background: #173f63;
  color: #fff;
  font-size: 10px;
  font-weight: 800;
}
.account-trigger:hover,
.account-trigger.is-authenticated {
  background: #0c2c48;
  color: var(--aqua);
}
.account-avatar {
  width: 23px;
  height: 23px;
  display: grid;
  place-items: center;
  flex: 0 0 23px;
  border-radius: 50%;
  background: #65f2e4;
  color: #092b45;
  font: 900 10px var(--font);
  text-transform: uppercase;
}
.account-avatar.large {
  width: 46px;
  height: 46px;
  flex-basis: 46px;
  font-size: 17px;
}

.page-shell {
  width: min(960px, calc(100% - 28px));
  margin: 0 auto;
  padding: 18px 0 52px;
}
.notice-bar,
.section-bar,
.panel-title {
  background: rgba(9, 52, 86, 0.94);
  border: 2px solid rgba(2, 21, 38, 0.92);
  box-shadow: 0 3px 0 rgba(0, 0, 0, 0.28);
  border-radius: 5px;
}
.notice-bar {
  min-height: 43px;
  display: flex;
  align-items: center;
  gap: 9px;
  padding: 9px 12px;
  color: #f2f7fb;
  font-weight: 700;
}
.notice-bar svg {
  width: 17px;
  height: 17px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  flex: none;
}

.search-section h1 {
  font: 900 25px var(--font);
  margin: 21px 0 11px;
  text-shadow: 0 3px 0 rgba(0, 0, 0, 0.38);
}
.search-wrap {
  position: relative;
  z-index: 15;
}
.search-bar {
  height: 52px;
  display: flex;
  align-items: center;
  background: #fff;
  border: 3px solid #071f35;
  border-radius: 6px;
  box-shadow: 0 4px 0 rgba(0, 0, 0, 0.33);
  overflow: hidden;
}
.search-icon {
  width: 19px;
  height: 19px;
  margin: 0 11px 0 14px;
  fill: none;
  stroke: #46657b;
  stroke-width: 2;
  stroke-linecap: round;
}
.search-bar input {
  height: 100%;
  min-width: 0;
  flex: 1;
  border: 0;
  outline: 0;
  color: #163047;
  background: #fff;
  font-size: 15px;
  padding: 0;
}
.search-bar input::placeholder {
  color: #8498a7;
}
.kbd-hint {
  color: #8fa0ad;
  border: 1px solid #ced8df;
  border-radius: 3px;
  font: bold 10px Arial;
  padding: 2px 6px;
  margin-right: 9px;
}
.search-go {
  height: 100%;
  border: 0;
  border-left: 2px solid #071f35;
  background: #3c6da0;
  color: white;
  font-weight: 800;
  padding: 0 20px;
}
.search-go:hover:not(:disabled) {
  background: #497bae;
}
.autocomplete {
  position: absolute;
  left: 0;
  right: 0;
  top: calc(100% + 5px);
  padding: 5px;
  background: #0b3353;
  border: 2px solid #04192b;
  border-radius: 5px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.45);
}
.autocomplete-item {
  width: 100%;
  display: grid;
  grid-template-columns: 38px minmax(0, 1fr) auto;
  align-items: center;
  gap: 10px;
  padding: 8px;
  border: 0;
  border-bottom: 1px solid #17466d;
  background: #356493;
  color: white;
  text-align: left;
}
.autocomplete-item:first-child {
  border-radius: 3px 3px 0 0;
}
.autocomplete-item:last-child {
  border-bottom: 0;
  border-radius: 0 0 3px 3px;
}
.autocomplete-item:hover,
.autocomplete-item.active {
  background: #4678a9;
}
.ac-main {
  min-width: 0;
}
.ac-name {
  display: block;
  font: bold 14px var(--font);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.ac-meta {
  display: block;
  color: #d6e1ea;
  font-size: 10px;
  margin-top: 2px;
}
.ac-price {
  font-weight: 800;
}
.ac-price small {
  font-size: 9px;
  color: #d6e1ea;
  margin-left: 2px;
}
.autocomplete-empty {
  padding: 16px;
  color: #d5e1ea;
  text-align: center;
}
.quick-row {
  display: flex;
  align-items: center;
  gap: 7px;
  flex-wrap: wrap;
  margin: 11px 2px 24px;
  color: #abc0d1;
  font-size: 11px;
}
.try-link {
  border: 0;
  border-bottom: 1px solid #6f91ab;
  background: transparent;
  color: #fff;
  padding: 2px 1px;
}
.try-link:hover {
  color: var(--aqua);
  border-color: var(--aqua);
}

.market-overview {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  overflow: hidden;
  margin-top: 14px;
  border: 2px solid #061f36;
  border-radius: 5px;
  background: #0d3c62;
  box-shadow: 0 3px 0 rgba(0, 0, 0, 0.3);
}
.market-overview div {
  min-width: 0;
  padding: 11px 14px;
  border-left: 1px solid #28577c;
}
.market-overview div:first-child {
  border-left: 0;
}
.market-overview strong {
  display: block;
  color: #fff;
  font: 900 16px var(--font);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.market-overview span {
  display: block;
  margin-top: 2px;
  color: #9ebbd0;
  font-size: 8px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.market-group,
.recent-section {
  margin-top: 18px;
}
.section-bar {
  min-height: 43px;
  padding: 9px 12px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}
.section-bar h2 {
  margin: 0;
  font: 900 17px var(--font);
  text-shadow: 0 2px 0 rgba(0, 0, 0, 0.3);
}
.section-bar > span {
  color: #a9c0d3;
  font-size: 10px;
}
.section-action {
  border: 0;
  background: transparent;
  color: #c9d8e4;
  font-size: 11px;
}
.section-action:hover {
  color: white;
}
.item-stack {
  margin-top: 6px;
}
.quote-head,
.quote-row {
  display: grid;
  grid-template-columns: minmax(0, 1.8fr) 0.55fr 0.7fr 0.65fr;
  align-items: center;
  gap: 10px;
}
.quote-head {
  height: 34px;
  padding: 0 14px;
  background: #173f63;
  border: 2px solid #061e33;
  color: #b9ccdc;
  font-size: 9px;
  font-weight: 800;
  text-transform: uppercase;
}
.quote-head button {
  border: 0;
  background: transparent;
  color: inherit;
  text-transform: inherit;
  font: inherit;
  text-align: right;
  padding: 0;
}
.quote-head button:hover {
  color: white;
}
.quote-head .r,
.quote-row > .r {
  text-align: right;
}
.tri {
  color: var(--aqua);
}
.quote-row {
  width: 100%;
  min-height: 67px;
  margin: 0 0 6px;
  padding: 8px 14px;
  border: 2px solid #08233c;
  border-radius: 5px;
  background: rgba(53, 100, 147, 0.97);
  color: #fff;
  text-align: left;
  box-shadow: 0 3px 0 rgba(0, 0, 0, 0.3);
  transition:
    background 0.1s,
    transform 0.1s;
}
.quote-row:hover {
  background: var(--card-hover);
  transform: translateY(-1px);
}
a.quote-row {
  text-decoration: none;
}
.quote-row:after {
  content: "⋮";
  display: none;
}
.q-item {
  display: flex;
  align-items: center;
  gap: 11px;
  min-width: 0;
}
.q-name {
  font: 900 16px var(--font);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  text-shadow: 0 2px 0 rgba(0, 0, 0, 0.22);
}
.q-shouts {
  color: #d8e4ed;
  font-size: 11px;
  text-align: right;
}
.q-price {
  font-weight: 800;
  text-align: right;
}
.q-price small {
  font-size: 9px;
  color: #dbe5ed;
  margin-left: 2px;
}
.q-trend {
  text-align: right;
}
.activity-time {
  font-size: 10px;
  color: #d7e2ea;
  white-space: nowrap;
}
.tick {
  width: 37px;
  height: 37px;
  flex: 0 0 37px;
  display: grid;
  place-items: center;
  background: #153b5d;
  border: 2px solid #80a6c7;
  border-radius: 5px;
  color: var(--aqua);
  font: 900 11px var(--font);
  box-shadow: inset 0 -3px rgba(0, 0, 0, 0.2);
  overflow: hidden;
}
.tick.lg {
  width: 54px;
  height: 54px;
  flex-basis: 54px;
  font-size: 15px;
}
.tick img {
  display: block;
  max-width: 88%;
  max-height: 88%;
  object-fit: contain;
  image-rendering: pixelated;
}
.tick img[hidden],
.tick-fallback[hidden] {
  display: none;
}
.trend {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 52px;
  padding: 3px 6px;
  border-radius: 3px;
  font-size: 9px;
  font-weight: 900;
}
.trend.up {
  background: #1bc950;
  color: #052e18;
}
.trend.down {
  background: #9d2735;
  color: white;
}
.trend.flat {
  background: #365747;
  color: #fff;
}
.panel-foot {
  padding: 8px;
  text-align: center;
}
.load-btn,
.back-btn {
  border: 2px solid #08233c;
  border-radius: 4px;
  background: #386998;
  color: white;
  font-weight: 800;
  font-size: 11px;
  padding: 8px 14px;
  box-shadow: 0 2px 0 rgba(0, 0, 0, 0.25);
}
.load-btn:hover,
.back-btn:hover {
  background: #477aa9;
}
.card-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 6px;
  margin-top: 6px;
}
.item-card {
  min-width: 0;
  border: 2px solid #08233c;
  border-radius: 5px;
  background: #356493;
  color: #fff;
  text-align: left;
  padding: 10px;
  box-shadow: 0 3px 0 rgba(0, 0, 0, 0.3);
}
.item-card:hover {
  background: #4173a4;
}
.item-card-head {
  display: flex;
  align-items: center;
  gap: 9px;
}
.item-meta {
  min-width: 0;
}
.item-name {
  display: block;
  font: 900 13px var(--font);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.item-cat {
  display: block;
  color: #d1dee8;
  font-size: 9px;
  margin-top: 2px;
}
.item-price {
  display: flex;
  align-items: center;
  gap: 6px;
  margin-top: 8px;
  font-weight: 800;
}
.item-price small {
  font-size: 9px;
  color: #d6e2eb;
}
.section-bar.daily-quest-header {
  background: rgba(9, 52, 86, 0.94);
  border-color: rgba(2, 21, 38, 0.92);
}
.daily-quest-header > span {
  color: #a9c0d3;
}
.daily-quest-reset {
  display: inline-flex;
  align-items: baseline;
  gap: 5px;
}
.daily-quest-reset strong {
  color: var(--aqua);
  font: 900 12px var(--font);
  font-variant-numeric: tabular-nums;
}
.daily-quest-card {
  margin-top: 6px;
}
.daily-quest-panel {
  padding: 12px;
  border: 2px solid #08233c;
  border-radius: 5px;
  background: linear-gradient(115deg, #3d72a5, #315c8b);
  box-shadow: 0 3px 0 rgba(0, 0, 0, 0.3);
}
.daily-quest-intro {
  margin-bottom: 9px;
}
.daily-quest-intro strong {
  display: block;
  font: 900 14px var(--font);
}
.daily-quest-items {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
}
.daily-quest-item {
  min-width: 0;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto auto;
  align-items: center;
  gap: 9px;
  padding: 10px;
  border: 2px solid #173e60;
  border-radius: 5px;
  background: #234f78;
  color: white;
  text-align: left;
}
.daily-quest-item:hover {
  background: #2d608d;
}
.daily-quest-item-copy {
  min-width: 0;
  display: grid;
  gap: 2px;
}
.daily-quest-item-copy strong {
  overflow: hidden;
  font: 900 14px var(--font);
  text-overflow: ellipsis;
  white-space: nowrap;
}
.daily-quest-item-copy small,
.daily-quest-quantity small {
  color: #c7d9e6;
  font-size: 8px;
}
.daily-quest-quantity {
  display: grid;
  text-align: right;
}
.daily-quest-quantity strong {
  font: 900 17px var(--font);
}
.daily-quest-arrow {
  color: #9ec3dc;
  font: 900 22px var(--font);
}
.daily-quest-message {
  min-height: 100px;
  display: flex;
  align-items: center;
  gap: 13px;
  padding: 16px;
  border: 2px solid #08233c;
  border-radius: 5px;
  background: #234f78;
  color: white;
  box-shadow: 0 3px 0 rgba(0, 0, 0, 0.3);
}
.daily-quest-message-icon {
  width: 39px;
  height: 39px;
  display: grid;
  place-items: center;
  flex: 0 0 39px;
  border: 2px solid #6f9fc1;
  border-radius: 50%;
  color: var(--aqua);
  font: 900 20px var(--font);
}
.daily-quest-message strong {
  display: block;
  font: 900 14px var(--font);
}
.daily-quest-message p {
  margin: 4px 0 0;
  color: #c8dae6;
  font-size: 9px;
}
.site-footer {
  margin-top: 34px;
  padding: 15px 2px 0;
  border-top: 2px solid rgba(121, 160, 190, 0.45);
  display: flex;
  justify-content: space-between;
  gap: 20px;
  color: #9bb3c6;
  font-size: 10px;
}
.site-footer a {
  color: #cce0ee;
  text-decoration: underline;
}
.site-footer a:hover {
  color: white;
}

.skeleton-row,
.skeleton-card,
.skeleton-chart {
  position: relative;
  overflow: hidden;
  background: #2d587f;
}
.skeleton-row {
  height: 67px;
  margin-bottom: 6px;
  border: 2px solid #08233c;
  border-radius: 5px;
}
.skeleton-card {
  height: 85px;
}
.skeleton-card-hero {
  height: 96px;
}
.skeleton-card-listing {
  height: 80px;
}
.skeleton-chart {
  height: 330px;
  background: #e5ebef;
}
.skeleton-row:after,
.skeleton-card:after,
.skeleton-chart:after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.12), transparent);
  transform: translateX(-100%);
  animation: shimmer 1.4s infinite;
}
@keyframes shimmer {
  to {
    transform: translateX(100%);
  }
}

.item-page {
  padding-top: 14px;
}
.item-nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 8px;
}
.item-nav > span {
  font-size: 10px;
  color: #a9bfd0;
}
.item-notice {
  margin-bottom: 8px;
}
.item-layout {
  display: grid;
  grid-template-columns: 34% minmax(0, 66%);
  gap: 9px;
  align-items: start;
}
.item-sidebar {
  display: grid;
  gap: 7px;
}
.market-page {
  padding-top: 14px;
}
.market-heading {
  margin-bottom: 8px;
}
.market-heading h1 {
  margin: 0;
  font: 900 18px var(--font);
}
.market-controls {
  display: grid;
  gap: 8px;
  padding: 10px;
  border: 2px solid #061f36;
  border-radius: 5px;
  background: #17486f;
  box-shadow: 0 3px 0 rgba(0, 0, 0, 0.28);
}
.market-search {
  height: 42px;
  display: flex;
  align-items: center;
  background: white;
  border: 2px solid #08233c;
  border-radius: 4px;
}
.market-search svg {
  width: 18px;
  height: 18px;
  margin: 0 10px;
  fill: none;
  stroke: #46657b;
  stroke-width: 2;
}
.market-search input {
  min-width: 0;
  flex: 1;
  height: 100%;
  border: 0;
  outline: 0;
  padding: 0 10px 0 0;
  color: #173047;
  background: white;
}
.market-filter-row {
  display: grid;
  grid-template-columns: 0.7fr 1.2fr 1fr;
  gap: 7px;
}
.market-filter-row label {
  display: grid;
  gap: 3px;
  color: #bdd1df;
  font-size: 8px;
  font-weight: 900;
  text-transform: uppercase;
}
.market-filter-row select {
  min-width: 0;
  width: 100%;
  height: 34px;
  border: 2px solid #08233c;
  border-radius: 4px;
  background: #f7fafc;
  color: #173047;
  padding: 0 7px;
  font-size: 10px;
}
.directory-bar {
  margin-top: 14px;
}
.item-hero {
  min-height: 75px;
  padding: 10px;
  display: flex;
  align-items: center;
  gap: 9px;
  background: #356493;
  border: 2px solid #08233c;
  border-radius: 5px;
  box-shadow: 0 3px 0 rgba(0, 0, 0, 0.3);
}
.item-hero-main {
  min-width: 0;
  flex: 1;
}
.item-hero-main h1 {
  margin: 0;
  font: 900 17px var(--font);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  text-shadow: 0 2px 0 rgba(0, 0, 0, 0.25);
}
.item-hero-price {
  display: flex;
  align-items: center;
  gap: 5px;
  margin-top: 3px;
  color: #fff;
  font-size: 10px;
  font-weight: 800;
}
.item-hero-price i {
  font-style: normal;
  color: #17344d;
}
.item-hero-price .trend {
  min-width: 0;
  padding: 2px 4px;
  font-size: 8px;
}
.item-hero-price small {
  font-size: 8px;
}
.item-hero-meta {
  display: flex;
  align-items: center;
  gap: 5px;
  flex-wrap: wrap;
  margin-top: 4px;
  color: #d6e1e9;
  font-size: 8px;
}
.item-hero-meta b {
  color: #fff;
}
.fav-btn {
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  flex: 0 0 34px;
  border: 1px solid #0a2943;
  border-radius: 5px;
  background: #174367;
  color: #d9e7f1;
  padding: 0;
}
.fav-btn svg {
  display: block;
  width: 17px;
  height: 17px;
}
.fav-btn:hover,
.fav-btn.is-fav {
  background: #0c2c48;
  color: #64f1e4;
}
.fav-btn:focus-visible {
  outline: 2px solid #64f1e4;
  outline-offset: 2px;
}
.market-info {
  overflow: hidden;
  border: 2px solid #08233c;
  border-radius: 5px;
  box-shadow: 0 3px 0 rgba(0, 0, 0, 0.3);
}
.panel-title {
  min-height: 39px;
  display: flex;
  align-items: center;
  padding: 7px 10px;
  font: 900 14px var(--font);
  border-radius: 3px 3px 0 0;
  box-shadow: none;
}
.stats-row {
  display: grid;
}
.stat-card {
  min-height: 52px;
  padding: 8px 10px;
  background: #2eb852;
  border-top: 2px solid #15863a;
  color: white;
}
.stat-card:first-child {
  border-top: 0;
}
.stat-label {
  font-weight: 900;
  font-size: 10px;
  text-transform: none;
}
.stat-value {
  margin-top: 2px;
  font: 900 14px var(--font);
}
.stat-value small {
  font: 700 9px Arial;
}
.stat-value.pos {
  color: #fff;
}
.stat-value.neg {
  color: #fff;
}
.stat-sub {
  color: #e5ffec;
  font-size: 8.5px;
  margin-top: 1px;
}
.chart-panel {
  overflow: hidden;
  border: 2px solid #08233c;
  border-radius: 5px;
  box-shadow: 0 3px 0 rgba(0, 0, 0, 0.3);
  background: white;
}
.chart-title {
  justify-content: space-between;
  gap: 10px;
}
.seg {
  display: flex;
  align-items: center;
  gap: 2px;
}
.seg button {
  border: 1px solid #315978;
  border-radius: 3px;
  background: #0a2e4c;
  color: #bcd0df;
  padding: 4px 7px;
  font: bold 8px Arial;
}
.seg button:hover {
  color: white;
}
.seg button.is-active {
  background: #5c88b1;
  color: white;
  border-color: #7ca4c5;
}
.chart-box {
  background: white;
  padding: 10px;
}
.chart-canvas {
  height: 330px;
  position: relative;
  background: #fff;
  overflow: hidden;
}
.chart-canvas svg {
  display: block;
  width: 100%;
  height: 100%;
}
.chart-empty {
  height: 100%;
  display: grid;
  place-items: center;
  color: #5e7280;
  font-size: 11px;
}
.chart-legend {
  display: flex;
  align-items: center;
  gap: 13px;
  padding: 5px 3px 0;
  color: #627681;
  font-size: 8.5px;
}
.lg-key {
  display: flex;
  align-items: center;
  gap: 5px;
}
.lg-key i {
  width: 13px;
  height: 2px;
  background: #0b456a;
}
.lg-key.vol i {
  width: 7px;
  height: 7px;
  background: #86a9be;
}
.chart-legend #chart-note {
  margin-left: auto;
  max-width: 52%;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  text-align: right;
}
.item-tools-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 9px;
  margin-top: 10px;
}
.tool-panel {
  overflow: hidden;
  border: 2px solid #08233c;
  border-radius: 5px;
  background: #17486f;
  box-shadow: 0 3px 0 rgba(0, 0, 0, 0.3);
}
.calculator-body {
  display: grid;
  grid-template-columns: 0.7fr 1.3fr;
  gap: 10px;
  align-items: end;
  padding: 12px;
}
.calculator-body label {
  display: grid;
  gap: 4px;
  color: #bdd1df;
  font-size: 8px;
  font-weight: 900;
  text-transform: uppercase;
}
.calculator-body input {
  width: 100%;
  height: 39px;
  border: 2px solid #08233c;
  border-radius: 4px;
  background: white;
  color: #173047;
  padding: 0 9px;
  font-weight: 800;
}
.calc-result {
  display: grid;
  gap: 2px;
}
.calc-result span {
  color: #bcd0df;
  font-size: 8px;
  font-weight: 900;
  text-transform: uppercase;
}
.calc-result strong {
  font: 900 18px var(--font);
  color: #fff;
}
.calc-result small {
  color: #acd0e2;
  font-size: 8px;
}
.item-info-body {
  min-height: 92px;
  padding: 12px;
  color: #dce8ef;
  font-size: 10px;
  line-height: 1.45;
}
.item-info-body p {
  margin: 5px 0;
}
.item-info-body a {
  display: inline-block;
  margin-top: 6px;
  color: var(--aqua);
  font-weight: 800;
}
.info-type {
  display: inline-flex;
  padding: 3px 7px;
  border-radius: 3px;
  background: #356493;
  color: white;
  font-size: 8px;
  font-weight: 900;
  text-transform: uppercase;
}
.info-properties {
  color: #a8c5d8;
}
.listings-panel {
  margin-top: 10px;
  overflow: hidden;
  border: 2px solid #08233c;
  border-radius: 5px;
  box-shadow: 0 3px 0 rgba(0, 0, 0, 0.3);
  background: #0b3557;
}
.listing-title {
  justify-content: space-between;
}
.listing-toolbar {
  display: flex;
  align-items: end;
  gap: 8px;
  flex-wrap: wrap;
  padding: 9px 10px;
  background: #17486f;
  border-top: 2px solid #08233c;
  border-bottom: 2px solid #08233c;
}
.listing-toolbar label {
  display: grid;
  gap: 3px;
  color: #bcd0df;
  font-size: 8px;
  font-weight: 800;
  text-transform: uppercase;
}
.listing-toolbar select,
.listing-toolbar input {
  height: 30px;
  min-width: 130px;
  border: 2px solid #082b48;
  border-radius: 3px;
  background: #f8fbfd;
  color: #173047;
  padding: 0 7px;
  font-size: 10px;
  outline: 0;
}
.listing-toolbar select:focus,
.listing-toolbar input:focus {
  border-color: var(--aqua);
}
.listing-meta {
  margin-left: auto;
  padding-bottom: 6px;
  color: #c2d5e3;
  font-size: 9px;
}
.listing-feed {
  display: grid;
  gap: 6px;
  padding: 6px;
  background: rgba(2, 21, 37, 0.65);
}
.listing-card {
  display: grid;
  gap: 6px;
  padding: 10px 12px;
  background: #356493;
  border: 2px solid #08233c;
  border-radius: 4px;
  color: white;
}
.listing-card:hover {
  background: #3e6f9d;
}
.listing-head {
  display: flex;
  align-items: center;
  gap: 7px;
}
.listing-tag {
  padding: 3px 6px;
  border-radius: 3px;
  font-size: 8px;
  font-weight: 900;
}
.listing-tag.sell {
  background: #23bd51;
  color: #062c16;
}
.listing-tag.buy {
  background: #60c9ff;
  color: #08263a;
}
.listing-price {
  font-weight: 900;
}
.listing-price small {
  font-size: 8px;
  color: #d8e4ec;
}
.listing-time {
  margin-left: auto;
  color: #d3e0e8;
  font-size: 9px;
}
.listing-meta {
  display: flex;
  align-items: center;
  gap: 5px;
  flex-wrap: wrap;
  color: #d7e3eb;
  font-size: 9px;
  padding: 0;
  margin: 0;
}
.listing-msg {
  padding: 7px 9px;
  border-left: 3px solid #73a7ca;
  background: #234f77;
  color: #f1f6fa;
  font-size: 10px;
  line-height: 1.45;
  white-space: pre-wrap;
  word-break: break-word;
}
.listing-msg.is-collapsed {
  max-height: 78px;
  overflow: hidden;
  mask-image: linear-gradient(#000 58%, transparent);
  -webkit-mask-image: linear-gradient(#000 58%, transparent);
}
.listing-actions {
  display: flex;
  gap: 5px;
  flex-wrap: wrap;
}
.mini-btn {
  border: 1px solid #143c5d;
  border-radius: 3px;
  background: #204d73;
  color: #e9f3f8;
  padding: 4px 7px;
  font-size: 8px;
  font-weight: 800;
}
.mini-btn:hover {
  background: #123b5e;
  color: white;
}
.empty-state {
  padding: 28px 15px;
  text-align: center;
  color: #c4d6e2;
}
.empty-state strong {
  display: block;
  color: white;
}
.empty-state p {
  margin: 4px 0 0;
  font-size: 10px;
}
.accuracy-note {
  color: #9eb7c9;
  font-size: 9px;
  text-align: center;
  margin: 12px 0 30px;
}
.account-dialog {
  width: min(420px, calc(100vw - 24px));
  max-height: calc(100vh - 36px);
  padding: 0;
  border: 3px solid #061e33;
  border-radius: 7px;
  background: #0b3557;
  color: white;
  box-shadow: 0 18px 60px rgba(0, 0, 0, 0.58);
}
.account-dialog::backdrop {
  background: rgba(0, 10, 22, 0.74);
}
.account-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 14px;
  border-bottom: 2px solid #061e33;
  background: #0a2e4c;
}
.account-head h2 {
  margin: 1px 0 0;
  font: 900 17px var(--font);
}
.account-kicker {
  color: var(--aqua);
  font-size: 8px;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}
.dialog-close {
  width: 30px;
  height: 30px;
  border: 0;
  border-radius: 3px;
  background: #356493;
  color: white;
  font-size: 19px;
}
.dialog-close:hover {
  background: #497baa;
}
.account-guest,
.account-member {
  padding: 14px;
}
.account-tabs {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4px;
  padding: 4px;
  margin-bottom: 12px;
  border: 2px solid #08233c;
  border-radius: 5px;
  background: #082b49;
}
.account-tabs button {
  height: 34px;
  border: 0;
  border-radius: 3px;
  background: transparent;
  color: #9ebbd0;
  font-size: 10px;
  font-weight: 900;
}
.account-tabs button.is-active {
  background: #356493;
  color: #fff;
}
.account-form {
  display: grid;
  gap: 10px;
}
.account-intro {
  margin: 0 0 2px;
  color: #c2d5e3;
  font-size: 10px;
  line-height: 1.45;
}
.account-form > label:not(.show-password) {
  display: grid;
  gap: 4px;
  color: #d9e6ef;
  font-size: 9px;
  font-weight: 900;
  text-transform: uppercase;
}
.account-form input:not([type="checkbox"]) {
  width: 100%;
  height: 41px;
  padding: 0 10px;
  border: 2px solid #08233c;
  border-radius: 4px;
  background: #fff;
  color: #173047;
  outline: 0;
  text-transform: none;
}
.account-form input:focus {
  border-color: var(--aqua);
  box-shadow: 0 0 0 2px rgba(101, 242, 228, 0.18);
}
.account-form small {
  color: #9db8cc;
  font-size: 8px;
  font-weight: 400;
  text-transform: none;
}
.show-password {
  display: flex;
  align-items: center;
  gap: 7px;
  color: #c7d8e4;
  font-size: 9px;
}
.show-password input {
  accent-color: #2fba58;
}
.account-error {
  padding: 8px 9px;
  border: 1px solid #ff8990;
  border-radius: 4px;
  background: #7d2c33;
  color: #fff;
  font-size: 9px;
  line-height: 1.4;
}
.account-submit {
  width: 100%;
  min-height: 41px;
  border: 2px solid #0d5229;
  border-radius: 4px;
  background: #28b955;
  color: #fff;
  font-weight: 900;
  font-size: 11px;
  box-shadow: 0 2px 0 rgba(0, 0, 0, 0.25);
}
.account-submit:hover:not(:disabled) {
  background: #32c761;
}
.account-submit.secondary {
  margin-top: 14px;
  border-color: #153d5f;
  background: #315f88;
}
.account-submit.secondary:hover:not(:disabled) {
  background: #3c709e;
}
.account-fineprint {
  margin: 0;
  color: #93aec1;
  font-size: 8px;
  line-height: 1.45;
  text-align: center;
}
.account-identity {
  display: flex;
  align-items: center;
  gap: 11px;
  padding: 12px;
  border: 2px solid #08233c;
  border-radius: 5px;
  background: #356493;
}
.account-identity div {
  min-width: 0;
  display: grid;
  gap: 3px;
}
.account-identity strong {
  font: 900 16px var(--font);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.account-identity span:not(.account-avatar) {
  color: #d6e3ec;
  font-size: 9px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.account-access {
  display: flex;
  gap: 6px;
  margin: 10px 0;
}
.access-chip {
  padding: 5px 8px;
  border-radius: 4px;
  background: #21bc53;
  color: #062d17;
  font-size: 8px;
  font-weight: 900;
  text-transform: uppercase;
}
.access-chip.muted {
  background: #547b9d;
  color: #fff;
}
.permission-summary {
  padding: 11px;
  border: 2px solid #08233c;
  border-radius: 5px;
  background: #123f64;
}
.permission-summary h3 {
  margin: 0;
  font: 900 12px var(--font);
}
.permission-summary p {
  margin: 5px 0 0;
  color: #bfd3e1;
  font-size: 9px;
  line-height: 1.45;
}
.toast {
  position: fixed;
  left: 50%;
  bottom: 18px;
  z-index: 60;
  transform: translate(-50%, 7px);
  padding: 9px 13px;
  border: 2px solid #071e33;
  border-radius: 4px;
  background: #356493;
  color: white;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.45);
  font-size: 10px;
  opacity: 0;
  transition: 0.15s;
  pointer-events: none;
}
.toast:not([hidden]) {
  opacity: 1;
  transform: translate(-50%, 0);
}
.toast.error {
  background: #b73b43;
}
.mobile-nav {
  display: none;
}
.flash-up {
  animation: flash-up 0.7s ease;
}
.flash-down {
  animation: flash-down 0.7s ease;
}
@keyframes flash-up {
  0% {
    background: #19cf50;
  }
  to {
    background: transparent;
  }
}
@keyframes flash-down {
  0% {
    background: #ea4b53;
  }
  to {
    background: transparent;
  }
}

@media (max-width: 760px) {
  .topbar-inner {
    grid-template-columns: 1fr auto;
  }
  .data-status #status-text {
    display: none;
  }
  .page-shell {
    width: min(100% - 18px, 960px);
  }
  .item-layout {
    grid-template-columns: 1fr;
  }
  .item-sidebar {
    grid-template-columns: 0.8fr 1.2fr;
    align-items: start;
  }
  .card-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .chart-canvas {
    height: 285px;
  }
}
@media (max-width: 520px) {
  body {
    padding-bottom: 64px;
  }
  .logo {
    font-size: 14px;
  }
  .topbar-inner {
    padding: 0 8px;
  }
  .data-status {
    display: none;
  }
  .header-actions {
    gap: 4px;
  }
  .account-trigger {
    min-width: 34px;
    width: 34px;
    padding: 0;
  }
  .account-trigger > span:last-child {
    display: none;
  }
  .page-shell {
    width: calc(100% - 12px);
    padding-top: 10px;
    padding-bottom: 26px;
  }
  .notice-bar {
    font-size: 11px;
  }
  .search-section h1 {
    font-size: 21px;
  }
  .search-bar {
    height: 47px;
  }
  .search-go {
    padding: 0 12px;
    font-size: 11px;
  }
  .kbd-hint {
    display: none;
  }
  .quick-row {
    margin-bottom: 14px;
  }
  .market-overview div {
    padding: 10px 7px;
    text-align: center;
  }
  .market-overview strong {
    font-size: 13px;
  }
  .market-overview span {
    font-size: 7px;
  }
  .section-bar > span {
    display: none;
  }
  .section-bar > .daily-quest-reset {
    display: inline-flex;
  }
  .daily-quest-items {
    grid-template-columns: 1fr;
  }
  .daily-quest-panel {
    padding: 9px;
  }
  .daily-quest-item {
    padding: 9px;
  }
  .quote-head,
  .quote-row {
    grid-template-columns: minmax(0, 1.45fr) 0.65fr 0.6fr;
    padding-left: 9px;
    padding-right: 9px;
  }
  .quote-head .h-shouts,
  .q-shouts {
    display: none;
  }
  .q-name {
    font-size: 13px;
  }
  .tick {
    width: 32px;
    height: 32px;
    flex-basis: 32px;
  }
  .q-price {
    font-size: 11px;
  }
  .activity-time {
    font-size: 8px;
  }
  .recent-section .card-grid {
    display: flex;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    padding: 0 1px 5px;
  }
  .recent-section .item-card {
    flex: 0 0 78%;
    scroll-snap-align: start;
  }
  .item-layout {
    display: block;
  }
  .item-sidebar {
    display: grid;
    grid-template-columns: 1fr;
    margin-bottom: 8px;
  }
  .item-nav > span {
    display: none;
  }
  .item-hero-main h1 {
    font-size: 15px;
  }
  .chart-title {
    align-items: flex-start;
    flex-direction: column;
  }
  .panel-title {
    font-size: 13px;
  }
  .chart-canvas {
    height: 250px;
  }
  .chart-legend #chart-note {
    display: none;
  }
  .item-tools-grid {
    grid-template-columns: 1fr;
  }
  .calculator-body {
    grid-template-columns: 0.75fr 1.25fr;
  }
  .listing-title {
    align-items: flex-start;
    flex-direction: column;
  }
  .listing-toolbar label {
    flex: 1;
  }
  .listing-toolbar select,
  .listing-toolbar input {
    width: 100%;
    min-width: 110px;
  }
  .listing-meta {
    width: 100%;
    padding: 0;
  }
  .market-filter-row {
    grid-template-columns: 1fr 1fr;
  }
  .market-filter-row label:last-child {
    grid-column: 1/-1;
  }
  .site-footer {
    flex-direction: column;
    gap: 4px;
  }
  .mobile-nav {
    position: fixed;
    z-index: 45;
    left: 0;
    right: 0;
    bottom: 0;
    height: 58px;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    background: #082b49;
    border-top: 2px solid #315f86;
    box-shadow: 0 -4px 15px rgba(0, 0, 0, 0.35);
  }
  .mobile-nav button {
    display: grid;
    place-items: center;
    align-content: center;
    gap: 2px;
    border: 0;
    background: transparent;
    color: #8faec4;
    font-size: 8px;
    font-weight: 800;
  }
  .mobile-nav button.is-active {
    color: #6df1e4;
    background: #0d3658;
  }
  .mobile-nav svg {
    width: 18px;
    height: 18px;
    fill: none;
    stroke: currentColor;
    stroke-width: 2;
    stroke-linecap: round;
    stroke-linejoin: round;
  }
  .toast {
    bottom: 70px;
  }
}

.account-consent {
  display: flex !important;
  align-items: flex-start;
  gap: 7px;
  line-height: 1.45;
  text-transform: none !important;
}
.account-consent input {
  width: auto !important;
  margin-top: 2px;
}
.account-consent a {
  color: #116b50;
  text-decoration: underline;
}
.account-danger {
  margin-top: 18px;
  padding-top: 16px;
  border-top: 1px solid #d9b9b9;
}
.account-danger h3 {
  margin: 0 0 6px;
  color: #8a1f2c;
}
.account-danger p {
  margin: 0 0 10px;
  color: #704b50;
  font-size: 11px;
  line-height: 1.5;
}
.account-submit.danger {
  background: #a62838;
  border-color: #6f1420;
  color: #fff;
}
.account-submit.danger:hover {
  background: #871c29;
}
.legal-page {
  padding-top: 28px;
  padding-bottom: 60px;
}
.legal-page article {
  max-width: 760px;
  margin: 18px auto 0;
  padding: 28px 32px;
  border: 2px solid #0b3a1c;
  border-radius: 6px;
  background: #f9fff8;
  color: #173523;
  box-shadow: 0 4px 0 rgba(0, 0, 0, 0.2);
}
.legal-page h1 {
  margin: 0 0 16px;
  font-size: 28px;
}
.legal-page h2 {
  margin: 26px 0 8px;
  font-size: 16px;
  color: #145127;
}
.legal-page p {
  font-size: 13px;
  line-height: 1.7;
}
.legal-page a {
  color: #0b6942;
  text-decoration: underline;
}
.legal-kicker {
  margin: 0 0 5px !important;
  color: #5e7965;
  font-size: 10px !important;
  font-weight: 800;
  text-transform: uppercase;
}
@media (max-width: 520px) {
  .legal-page article {
    padding: 20px 16px;
  }
  .legal-page h1 {
    font-size: 22px;
  }
}
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  .skeleton-row:after,
  .skeleton-card:after,
  .skeleton-chart:after {
    animation: none;
  }
  .quote-row {
    transition: none;
  }
}

.account-verification {
  display: grid;
  gap: 12px;
  padding: 8px 2px 2px;
  text-align: center;
}
.account-verification[hidden] {
  display: none;
}
.verification-icon {
  width: 58px;
  height: 58px;
  display: grid;
  place-items: center;
  margin: 0 auto 2px;
  border: 2px solid #286286;
  border-radius: 50%;
  background: #17496f;
  color: #8fded8;
}
.verification-icon.is-success {
  border-color: #239b4b;
  background: #174d2a;
  color: #baff91;
}
.verification-icon svg {
  width: 27px;
  height: 27px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.account-verification h3 {
  margin: 0;
  font: 900 18px var(--font);
}
.account-verification p {
  margin: 0 8px 5px;
  color: #c2d5e3;
  font-size: 10px;
  line-height: 1.6;
}
.verification-code-form,
.password-reset-complete-form {
  width: 100%;
  padding-top: 3px;
  text-align: left;
}
.verification-code-form[hidden],
.password-reset-complete-form[hidden],
#password-reset-request-form[hidden],
#password-reset-identifier-field[hidden],
#password-reset-code-field[hidden] {
  display: none;
}
.account-form input.verification-code-input {
  text-align: center;
  font: 900 20px var(--font);
  letter-spacing: 0.3em;
  font-variant-numeric: tabular-nums;
}
.account-verification .account-submit.secondary {
  margin-top: 0;
}
.account-link-button {
  justify-self: center;
  border: 0;
  background: transparent;
  color: #9fc8df;
  padding: 5px 9px;
  font-size: 9px;
  font-weight: 800;
  text-decoration: underline;
  text-underline-offset: 3px;
}
.account-link-button:hover {
  color: #fff;
}
.account-link-button.account-forgot {
  justify-self: end;
  margin-top: -7px;
  padding-right: 0;
}
.account-access {
  flex-wrap: wrap;
}
.access-chip.verified {
  background: #dff7dc;
  color: #15552a;
}

}
@layer feature-layout {
/* Emerald game panels keep account controls in the market’s visual language. */
.account-site {
  background:
    url("/_releases/3aea3df4b649949c74784efc046265d1161c0260/static/emerald-city.svg") center 66px / 1200px 240px repeat-x,
    linear-gradient(180deg, #d8f3e1 0, #a2d4b5 620px, #6eae8b 1200px);
  background-attachment: scroll;
  background-color: #a2d4b5;
  color: #f4fff6;
  min-height: 100dvh;
  padding-bottom: 0;
  font-size: 16px;
  line-height: 1.55;
}
.account-site [hidden] {
  display: none !important;
}
.account-site .topbar {
  position: static;
}
.account-site .topbar-inner {
  display: flex;
  gap: 20px;
}
.account-site .market-link {
  margin-left: auto;
  color: #f4fff6;
  font-size: 16px;
}
.account-trigger {
  text-decoration: none;
}
.account-layout {
  max-width: 1080px;
  margin: 0 auto;
  padding: 40px 24px 64px;
  display: grid;
  grid-template-columns: 200px minmax(0, 1fr);
  gap: 32px;
}
.account-layout.is-guest {
  display: block;
  max-width: 540px;
}
.account-content {
  min-width: 0;
  grid-column: 2;
}
.page-heading {
  margin-bottom: 24px;
}
.page-heading h1 {
  color: #123e27;
  font-size: clamp(28px, 4vw, 36px);
  line-height: 1.2;
  margin: 0;
}
.account-nav {
  display: grid;
  gap: 6px;
}
.account-nav a {
  padding: 12px 16px;
  border: 2px solid transparent;
  border-radius: 8px;
  color: #17462d;
  text-decoration: none;
  font-size: 16px;
  font-weight: 800;
}
.account-nav a:hover {
  background: #c2dfcb;
}
.account-nav a[aria-current="page"] {
  background: #185c36;
  border-color: #0b3920;
  color: white;
  box-shadow: 0 3px 0 #a4c5ae;
}
.account-site #account-logout {
  margin: 16px 0;
  color: #244d35;
}
.account-panel,
.account-guest {
  background:
    linear-gradient(135deg, #ffffff06 0 20%, transparent 20% 80%, #031e160d 80%),
    linear-gradient(180deg, #286d43, #195638);
  border: 3px solid #0b3422;
  border-radius: 12px;
  padding: 28px;
  margin-bottom: 24px;
  box-shadow:
    0 6px 0 #0c3825,
    0 9px 0 #507b5666,
    0 16px 24px #173c3226,
    inset 0 2px 0 #baff915e,
    inset 2px 0 0 #8db86b33,
    inset 0 -3px 0 #072b244d;
}
.account-site h2 {
  font-size: 22px;
  line-height: 1.3;
  margin: 0 0 20px;
}
.account-site p {
  font-size: 16px;
  line-height: 1.55;
  margin: 0 0 18px;
}
.account-site .account-form {
  display: grid;
  gap: 20px;
  margin: 0;
}
.account-site .account-form label,
.account-site .item-search-field > label {
  display: grid;
  gap: 8px;
  color: #f4fff6;
  font-size: 16px;
  font-weight: 700;
  letter-spacing: 0;
  text-transform: none;
}
.account-site input:not([type="checkbox"]) {
  display: block;
  box-sizing: border-box;
  width: 100%;
  min-width: 0;
  min-height: 48px;
  padding: 11px 13px;
  border: 2px solid #7fad90;
  border-radius: 7px;
  background: #fafffb;
  color: #143822;
  font:
    400 17px/1.4 system-ui,
    sans-serif;
  box-shadow: none;
  scroll-margin-block: 24px;
}
.account-site input::placeholder {
  color: #5b7062;
  opacity: 1;
}
.account-site input:focus {
  border-color: #c6fc88;
  outline: 3px solid #c6fc8855;
  outline-offset: 1px;
  box-shadow: none;
}
.account-site input[readonly] {
  background: #deeee3;
}
.account-site .account-form small,
.account-site .field-help {
  color: #d4e7d9;
  font:
    400 15px/1.5 system-ui,
    sans-serif;
  letter-spacing: 0;
  text-transform: none;
}
.account-site .account-form > p {
  margin: -8px 0 0;
}
.account-site .password-field {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 8px;
}
.account-site .password-field input {
  padding-right: 13px;
}
.account-site .password-toggle {
  min-height: 48px;
  min-width: 66px;
  padding: 0 10px;
  border: 2px solid #7fad90;
  border-radius: 5px;
  background: #e2f1e6;
  color: #174b2d;
  font:
    700 15px/1 system-ui,
    sans-serif;
  cursor: pointer;
}
.account-site .password-toggle:hover {
  background: #cce7d5;
}
.account-site .account-tabs {
  display: flex;
  gap: 8px;
  padding: 0;
  margin: 0 0 26px;
  border: 0;
  background: transparent;
}
.account-tabs a {
  flex: 1;
  text-align: center;
  padding: 11px 8px;
  font-size: 16px;
  color: #d6ebdc;
  border-bottom: 3px solid #447c5b;
  text-decoration: none;
  font-weight: 800;
}
.account-tabs a.is-active {
  color: #d3ffa9;
  border-color: #baff91;
}
.account-site .account-submit,
.account-site .secondary-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 11px 18px;
  border: 2px solid #a3d278;
  border-radius: 7px;
  background: #c1f493;
  color: #173b22;
  text-decoration: none;
  font:
    800 16px/1.35 system-ui,
    sans-serif;
  cursor: pointer;
  box-shadow: 0 3px 0 #0a3020;
}
.account-site .account-submit:hover {
  background: #d6ffb3;
}
.account-site .secondary-button,
.account-site .account-submit.secondary {
  border-color: #739f84;
  background: #225f40;
  color: #f5fff7;
}
.account-site button:disabled {
  opacity: 0.6;
  cursor: wait;
}
.account-site .account-link-button {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  min-height: 44px;
  padding: 8px 4px;
  border: 0;
  background: transparent;
  color: #dbffbd;
  font:
    700 16px/1.4 system-ui,
    sans-serif;
  text-decoration: underline;
  text-underline-offset: 4px;
  cursor: pointer;
}
.account-site .account-forgot {
  justify-self: end;
  margin: -12px 0 -4px;
}
.account-site .account-consent {
  display: block !important;
  color: #e1eee5 !important;
  font-size: 15px !important;
  font-weight: 400 !important;
  line-height: 1.6;
  padding: 8px 0;
  cursor: pointer;
}
.account-consent input {
  width: 22px;
  height: 22px;
  margin: 0 8px 0 0;
  vertical-align: middle;
  accent-color: #baff91;
}
.account-consent a {
  color: #dbffbd;
  text-decoration: underline;
}
.account-site .account-error {
  color: #7c1e1e;
  background: #fff0ed;
  border: 1px solid #e2a79e;
  border-radius: 7px;
  padding: 12px 14px;
  font-size: 16px;
  line-height: 1.5;
}
.account-site .success-message {
  background: #e3f7d7;
  color: #22552a;
  border-radius: 7px;
  padding: 12px 14px;
  font-size: 16px;
}
.account-site .success-message:empty {
  display: none;
}
.account-site .account-verification {
  text-align: left;
  padding: 0;
}
.account-site .account-verification > .account-submit {
  width: 100%;
  margin-top: 20px;
}
.account-site .account-verification > .account-link-button {
  display: flex;
  margin: 12px auto 0;
}
.account-site .verification-code-input {
  font-size: 22px !important;
  letter-spacing: 0.2em;
  text-align: left;
}
.profile-heading {
  display: flex;
  gap: 16px;
  align-items: center;
}
.profile-heading h2 {
  margin-bottom: 8px;
}
.account-site .account-avatar.large {
  width: 60px;
  height: 60px;
  flex-basis: 60px;
  font-size: 30px;
  flex-shrink: 0;
}
.profile-details {
  margin: 24px 0;
}
.profile-details > div {
  padding: 16px 0;
  border-top: 1px solid #48795b;
}
.profile-details dt {
  color: #cde2d4;
  font-size: 15px;
  margin-bottom: 5px;
}
.profile-details dd {
  margin: 0;
  font-size: 18px;
  overflow-wrap: anywhere;
}
.plan-badge,
.status-badge {
  display: inline-block;
  color: #d0ffa8;
  font-size: 15px;
  font-weight: 800;
}
.verified-label {
  color: #d0ffa8;
  font-size: 14px;
  margin-left: 10px;
}
.account-site summary {
  cursor: pointer;
  min-height: 44px;
  align-content: center;
  font-size: 16px;
}
.account-site details[open] summary {
  margin-bottom: 16px;
}
.account-site .danger-panel {
  margin-top: 24px;
  background: #f8f2ed;
  color: #5c2727;
  border-color: #cbaaaa;
}
.account-site .danger-panel label {
  color: #5c2727;
}
.account-site .account-submit.danger {
  background: #8b3333;
  border-color: #a54d4d;
  color: #fff;
}
.account-footer {
  display: flex;
  gap: 24px;
  margin-top: 28px;
}
.account-footer a {
  color: #28543a;
  min-height: 44px;
  align-content: center;
  font-size: 15px;
  text-decoration: underline;
}
.account-site :focus-visible {
  outline: 3px solid #ffd570;
  outline-offset: 3px;
}
.account-site #account-loading {
  color: #1d4c31;
}
@media (max-width: 700px) {
  .account-layout {
    display: block;
    padding: 24px 16px 40px;
  }
  .account-layout.is-guest {
    padding-top: 28px;
  }
  .account-nav {
    display: flex;
    gap: 4px;
  }
  .account-nav a {
    padding: 10px 4px;
    text-align: center;
    flex: 1 1 0;
    min-width: 0;
    white-space: normal;
    display: flex;
    align-items: center;
    justify-content: center;
  }
  .account-site #account-sidebar {
    margin-bottom: 26px;
  }
  .account-site #account-logout {
    display: flex;
    margin: 8px 0 0 auto;
  }
  .account-panel,
  .account-guest {
    padding: 22px 18px;
    border-radius: 10px;
  }
  .account-site .topbar-inner {
    padding-inline: 16px;
    gap: 10px;
  }
  .account-site .market-link {
    display: none;
  }
  .account-site .account-trigger {
    margin-left: auto;
    min-height: 44px;
  }
  .account-site .account-label {
    max-width: 120px;
  }
  .account-site .logo {
    font-size: 20px;
  }
  .account-site .account-form {
    gap: 22px;
  }
  .account-site .toast {
    bottom: 20px;
    max-width: calc(100% - 32px);
    font-size: 16px;
  }
}

.account-site .form-field {
  display: grid;
  gap: 8px;
}
.account-site .account-consent input {
  width: 22px;
  min-width: 22px;
  height: 22px;
}
.account-site .account-loading {
  color: #1d4c31;
}
.account-site .account-verification > p {
  margin-inline: 0;
  font-size: 16px;
  line-height: 1.6;
}
.account-site input[aria-invalid="true"] {
  border-color: #b44738;
  outline-color: #ffbbad;
}
.account-site .profile-heading > div {
  min-width: 0;
}
.account-site .account-tabs a {
  font-family: var(--body);
  font-size: 16px;
}
.account-site .account-error button {
  min-height: 44px;
  padding: 8px;
  border: 1px solid #ad675b;
  border-radius: 5px;
  background: #fff8f5;
  color: #742c22;
  font-weight: 700;
}
.account-footer {
  flex-wrap: wrap;
  gap: 12px 20px;
}
.account-site .account-footer #account-logout {
  margin: 0;
  font-size: 15px;
}
@media (max-width: 700px) {
  .account-site .account-trigger {
    min-width: 82px;
  }
  .account-site .account-trigger > span:last-child {
    display: block;
    max-width: 90px;
  }
  .account-site .account-nav {
    padding: 4px;
    border: 1px solid #a5c7af;
    border-radius: 9px;
    background: #cde3d4;
  }
  .account-site .account-nav a {
    font-size: 14px;
    min-height: 48px;
  }
  .account-site #account-sidebar {
    margin-bottom: 18px;
  }
  .account-site .page-heading {
    margin-bottom: 20px;
  }
  .account-site .account-layout {
    padding-top: 24px;
  }
  .account-site .account-tabs {
    gap: 4px;
  }
  .account-site .account-tabs a {
    padding-inline: 2px;
  }
}

/* Raised account tabs echo the bevelled blocks and warm highlights of the site. */
.account-site h1,
.account-site h2,
.account-site h3 {
  font-family: var(--font);
}
.account-site .page-heading h1 {
  text-shadow: 0 2px 0 #efffd299;
}
.account-site .account-nav {
  padding: 8px;
  gap: 12px;
  border: 2px solid #497756;
  border-radius: 12px;
  background: #6da47c;
  box-shadow:
    inset 0 2px 3px #284c3d55,
    0 3px 0 #36553c;
}
.account-site .account-nav a,
.account-site .account-tabs a {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  border: 2px solid #103c26;
  border-radius: 7px;
  color: #ebffdc;
  background: linear-gradient(#397b48, #245c37);
  box-shadow:
    inset 0 2px 0 #c5ff9660,
    inset 0 -2px 0 #072f2366,
    0 4px 0 #173c29;
  font-family: var(--font);
  transition: background 0.15s;
}
.account-site .account-nav a[aria-current="page"],
.account-site .account-tabs a.is-active {
  color: #143824;
  background: linear-gradient(#d7f19d, #a5d975);
  border-color: #214d2f;
  box-shadow:
    inset 0 2px 0 #f5ffc4,
    inset 0 -2px 0 #79a853,
    0 4px 0 #173c29;
}
.account-site .account-nav a:hover,
.account-site .account-tabs a:hover {
  filter: brightness(1.08);
}
.account-site .account-tabs {
  gap: 10px;
  margin-bottom: 28px;
}
.account-site .account-submit,
.account-site .secondary-button {
  font-family: var(--font);
  box-shadow:
    inset 0 2px 0 #efffd94d,
    inset 0 -2px 0 #0b312533,
    0 4px 0 #0a3020;
}
.account-site .account-submit:active,
.account-site .secondary-button:active {
  transform: translateY(2px);
  box-shadow:
    inset 0 1px 2px #153f3655,
    0 2px 0 #0a3020;
}
.account-site .account-error,
.account-site .success-message {
  box-shadow: 0 3px 0 #25433033;
}
.account-site .profile-heading {
  padding-bottom: 20px;
  border-bottom: 2px solid #6d9c5955;
}
.account-site .profile-details {
  margin-top: 0;
}
.account-site .account-avatar.large {
  box-shadow:
    inset 0 2px 0 #c9f595,
    0 4px 0 #0a3020;
  border: 2px solid #102f20;
}
@media (min-width: 701px) {
  .account-nav {
    position: sticky;
    top: 24px;
  }
}
@media (max-width: 700px) {
  .account-site {
    padding-bottom: calc(84px + env(safe-area-inset-bottom, 0px));
    background-size:
      900px 180px,
      auto;
  }
  .account-site .account-nav {
    gap: 10px;
    padding: 8px;
  }
  .account-site .account-nav a {
    font-size: 16px;
  }
  .account-site .toast {
    bottom: calc(84px + env(safe-area-inset-bottom, 0px));
  }
}

}
@layer feature-layout {
/* Shared hierarchy for unit prices and their currency equivalents. */
.price-display {
  display: inline-grid;
  gap: 3px;
  max-width: 100%;
  min-width: 0;
  vertical-align: top;
  white-space: normal;
  font-variant-numeric: tabular-nums;
}
.price-display .price-primary {
  font-size: inherit;
  font-weight: 800;
  line-height: 1.3;
  overflow-wrap: anywhere;
}
.price-amount {
  display: inline-block;
  max-width: 100%;
}
.price-display small.price-secondary {
  display: grid;
  gap: 2px;
  margin: 0;
  color: #dcebd2;
  font: 400 11px/1.4 var(--body);
  letter-spacing: 0;
  text-transform: none;
  overflow-wrap: anywhere;
}
.price-secondary > span {
  font: inherit;
  color: inherit;
  text-transform: none;
  letter-spacing: 0;
}
.q-price,
.ac-price {
  min-width: 0;
  text-align: right;
  white-space: normal;
}
.ac-price {
  flex: 0 1 140px;
}
.item-price {
  align-items: flex-start;
  flex-wrap: wrap;
}
.item-hero-price {
  align-items: flex-start;
}
.item-hero-price .price-secondary,
.calc-result .price-secondary {
  font-size: 13px;
}
.item-stack-price {
  color: #e0efd6;
  font-size: 13px;
  margin: 8px 0;
}
.listing-quantity {
  display: block;
  margin-top: 4px;
  font-weight: 400;
}
.collection-site .listing-price > .price-display {
  color: #e3ffae;
  font: 800 22px/1.3 var(--font);
}
.alert-target-line > .price-display {
  color: #f0ffcc;
}
.price-range {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  gap: 6px;
  font-size: 18px;
}
.price-range > span:not(.price-display) {
  font-size: 12px;
  line-height: 2;
  font-weight: 400;
}
.calc-result .price-display {
  font-size: inherit;
}
.calc-result .price-primary,
.calc-result .price-amount {
  color: #e3ffae;
  font: inherit;
  text-transform: none;
  letter-spacing: 0;
}
.chart-readout {
  display: grid;
  gap: 6px;
}
.chart-readout .price-primary {
  font-size: 18px;
}
.chart-readout .price-display .price-secondary {
  color: #3f604b;
}
@media (max-width: 700px) {
  .collection-site .listing-price > .price-display {
    font-size: 20px;
  }
}

}
@layer feature-layout {
.production-layout {
  max-width: 1180px;
  margin: 32px auto 60px;
  padding: 0 24px;
}
.production-layout [hidden] {
  display: none !important;
}
.production-shopping {
  margin-top: 16px;
  padding: 16px;
  border-radius: 10px;
}
.production-shopping p {
  max-width: 72ch;
  margin: 8px 0;
}
.production-shopping-fields {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  margin: 12px 0;
  padding: 0;
  border: 0;
  min-width: 0;
}
.production-shopping-review,
.production-shopping-skipped {
  padding-left: 22px;
  margin: 12px 0;
  line-height: 1.7;
  overflow-wrap: anywhere;
  font-variant-numeric: tabular-nums;
}
.production-shopping-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
  margin-top: 12px;
}
.production-shopping-status {
  overflow-wrap: anywhere;
}
@media (max-width: 600px) {
  .production-shopping-fields {
    grid-template-columns: 1fr;
  }
}
.production-heading,
.production-section-heading,
.production-actions {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}
.production-heading {
  margin-bottom: 16px;
}
.production-heading h1 {
  margin: 0 0 8px;
  font-size: 34px;
  line-height: 1.15;
}
.production-heading p,
.production-section-heading p {
  margin: 5px 0;
  color: var(--muted);
  max-width: 70ch;
}
.production-section-heading h2 {
  margin: 0;
  font-size: 23px;
}
.production-panel {
  margin: 20px 0;
  padding: 22px;
  background: var(--panel-face);
  border: 1px solid var(--reading-border);
  border-color: var(--panel-rim);
  border-radius: 16px;
  box-shadow: var(--panel-elevation);
  -webkit-backdrop-filter: var(--glass-blur);
  backdrop-filter: var(--glass-blur);
}
.production-layout .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;
}
.production-notice {
  padding: 12px 16px;
  margin: 0 0 20px;
  background: var(--reading-face);
  border-left: 3px solid var(--aqua);
  border-radius: 0 8px 8px 0;
  color: var(--reading-muted);
}
.production-gem-notice {
  padding: 0;
}
.production-gem-notice > summary {
  min-height: 44px;
  padding: 10px 12px;
  color: var(--text);
}
.production-gem-notice > p {
  margin: 0;
  padding: 0 12px 12px;
}
.production-filter-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
}
.production-layout label {
  display: flex;
  flex-direction: column;
  gap: 6px;
  font-size: 13px;
  font-weight: 700;
  min-width: 0;
}
.production-layout :is(input, select) {
  width: 100%;
  min-height: 42px;
  padding: 8px 10px;
  border: 1px solid var(--control-border);
  border-radius: 8px;
  font-size: 14px;
}
.production-layout input[type="checkbox"] {
  width: 18px;
  min-height: 18px;
  margin: 0;
  accent-color: var(--aqua);
  flex: 0 0 18px;
}
.production-layout small,
.production-muted {
  color: var(--reading-muted);
  font-size: 12px;
  font-weight: 400;
  line-height: 1.5;
}
.production-layout button,
.production-secondary {
  min-height: 40px;
  cursor: pointer;
  border-radius: 8px;
  padding: 9px 14px;
  border: 1px solid var(--control-border);
  font: 700 13px var(--font);
}
.production-primary {
  background: var(--green);
  color: var(--primary-ink, #062f2a);
}
.production-primary:hover {
  background: var(--accent-hover);
}
.production-secondary {
  background: var(--control-face);
  color: var(--text);
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
.production-secondary:hover {
  background: var(--control-hover);
}
.production-layout button:disabled {
  cursor: wait;
  opacity: 0.65;
}
.production-actions {
  margin-top: 18px;
  justify-content: flex-start;
  flex-wrap: wrap;
}
.production-actions > span:last-child {
  margin-left: auto;
}
.production-disclosure {
  margin-top: 20px;
  padding-top: 15px;
  border-top: 1px solid var(--reading-border);
}
.production-layout summary {
  cursor: pointer;
  font-size: 14px;
  font-weight: 800;
}
.production-layout summary::marker {
  color: var(--aqua);
}
.production-layout summary:focus-visible {
  outline: 2px solid var(--aqua);
  outline-offset: 5px;
  border-radius: 4px;
}
.production-advanced {
  margin-top: 16px;
}
.production-results {
  margin: 30px 0;
}
.production-results > .production-section-heading {
  margin-bottom: 15px;
}
#production-ideas {
  background: none;
  border: 0;
  border-radius: 14px;
  box-shadow: none;
  -webkit-backdrop-filter: none;
  backdrop-filter: none;
}
.production-search {
  flex: 0 1 275px;
}
.production-state {
  padding: 28px 24px;
  background: var(--reading-face);
  border: 1px solid var(--reading-border);
  border-color: var(--panel-rim);
  border-radius: 12px;
}
.production-state h3 {
  margin: 0 0 8px;
  font-size: 18px;
}
.production-state p {
  margin: 8px 0 16px;
  color: var(--reading-muted);
  max-width: 70ch;
}
.production-idea {
  display: grid;
  grid-template-columns: minmax(230px, 1.7fr) 1fr 1fr auto;
  gap: 18px;
  align-items: center;
  padding: 18px 20px;
  background: var(--reading-face);
  border-bottom: 1px solid var(--reading-border);
}
.production-idea:first-child {
  border-radius: 14px 14px 0 0;
}
.production-idea:last-child {
  border-radius: 0 0 14px 14px;
  border-bottom: 0;
}
.production-idea:only-child {
  border-radius: 14px;
}
.production-idea.is-selected {
  background: var(--reading-selected);
  box-shadow: inset 3px 0 var(--aqua);
}
.production-identity {
  display: flex;
  gap: 12px;
  align-items: center;
  min-width: 0;
}
.production-identity .tick {
  flex: 0 0 42px;
  width: 42px;
  height: 42px;
}
.production-identity h3 {
  margin: 0 0 5px;
  font-size: 17px;
  line-height: 1.3;
  overflow-wrap: anywhere;
}
.production-identity p {
  margin: 4px 0 0;
}
.production-fact {
  display: flex;
  flex-direction: column;
  gap: 3px;
}
.production-fact strong {
  font-size: 18px;
  font-variant-numeric: tabular-nums;
}
.production-positive {
  color: var(--offer-buy);
}
.production-negative {
  color: var(--red);
}
.production-badge {
  font-size: 11px;
  font-weight: 800;
  border: 1px solid var(--control-border);
  border-radius: 5px;
  padding: 2px 6px;
  display: inline-block;
  color: var(--text);
}
.production-badge.is-supported {
  color: var(--offer-buy);
}
.production-planner {
  scroll-margin-top: 105px;
}
.production-planner > header {
  align-items: flex-start;
}
.production-planner > header h2 {
  margin-top: 4px;
}
.production-checks {
  display: flex;
  flex-wrap: wrap;
  gap: 14px 24px;
  border: 0;
  padding: 12px 0;
  margin: 12px 0 0;
}
.production-checks legend {
  font-weight: 800;
  font-size: 13px;
}
.production-checks label {
  flex-direction: row;
  align-items: center;
  gap: 8px;
}
.production-checks small {
  width: 100%;
}
.production-summary {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin: 24px 0 12px;
  gap: 1px;
  background: none;
  border: 1px solid var(--reading-border);
  border-radius: 12px;
  overflow: hidden;
}
.production-summary > div {
  padding: 18px;
  background: var(--reading-face-alt);
}
.production-summary dt {
  color: var(--reading-muted);
  font-size: 12px;
  margin-bottom: 5px;
}
.production-summary dd {
  margin: 0;
  font-size: 23px;
  font-weight: 800;
  font-variant-numeric: tabular-nums;
}
.production-summary dd small {
  display: block;
  margin-top: 5px;
}
.production-section {
  margin-top: 26px;
}
.production-section h3 {
  font-size: 17px;
  margin-bottom: 10px;
}
.production-table-wrap {
  overflow-x: auto;
  border: 1px solid var(--reading-border);
  border-radius: 10px;
}
.production-table {
  width: 100%;
  border-collapse: collapse;
  background: var(--reading-face-alt);
  font-size: 13px;
}
.production-table th {
  background: var(--reading-head);
  color: var(--reading-muted);
  font-size: 12px;
  font-weight: 700;
}
.production-table th,
.production-table td {
  padding: 11px 13px;
  text-align: left;
  vertical-align: top;
  border-bottom: 1px solid var(--reading-border);
}
.production-table tr:last-child td {
  border-bottom: 0;
}
.production-table :is(th, td):not(:first-child) {
  font-variant-numeric: tabular-nums;
}
.production-table td small {
  display: block;
  margin-top: 3px;
}
.production-table a {
  color: var(--accent-text);
}
.production-table input {
  min-width: 90px;
  max-width: 150px;
}
.production-output-settings {
  margin-bottom: 18px;
}
.production-limitations {
  padding: 14px 18px 14px 34px;
  background: var(--reading-face);
  border-left: 3px solid var(--control-border);
  border-radius: 0 8px 8px 0;
}
.production-limitations li + li {
  margin-top: 7px;
}
.production-steps {
  padding-left: 23px;
}
.production-steps li {
  padding: 5px 0 5px 4px;
}
.production-plan-metrics {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px 20px;
  margin: 0;
  padding: 12px 0;
}
.production-sale-metrics {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px 16px;
  margin: 12px 0;
}
.production-plan-metrics > div,
.production-sale-metrics > div {
  min-width: 0;
}
.production-plan-metrics dt,
.production-sale-metrics dt {
  color: var(--reading-muted);
  font-size: 14px;
  line-height: 1.45;
}
.production-plan-metrics dd,
.production-sale-metrics dd {
  margin: 4px 0 0;
  color: var(--text);
  font-size: 18px;
  font-weight: 800;
  line-height: 1.35;
  font-variant-numeric: tabular-nums;
}
.production-plan-cautions {
  margin: 8px 0 16px;
  padding-left: 20px;
  color: var(--text);
  line-height: 1.6;
}
.production-plan-cautions li + li {
  margin-top: 8px;
}
.production-evidence {
  display: flex;
  gap: 14px 24px;
  flex-wrap: wrap;
  padding: 13px 0;
}
.production-evidence span {
  color: var(--reading-muted);
}
.production-evidence b {
  color: var(--text);
}
.production-source-list {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 18px;
}
.production-modifier-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}
.production-modifier {
  border-top: 1px solid var(--reading-border);
  padding: 14px 0;
}
.production-layout .production-modifier-choice {
  flex-direction: row;
  align-items: flex-start;
  gap: 8px;
}
.production-modifier-choice small {
  display: block;
  margin-top: 4px;
}
.production-modifier > a {
  font-size: 12px;
}
.production-formula {
  color: var(--reading-muted);
  line-height: 1.7;
  padding-left: 20px;
}
.production-methodology {
  margin-top: 30px;
}
.production-methodology p {
  color: var(--reading-muted);
  max-width: 85ch;
}
.production-footer {
  display: flex;
  gap: 24px;
  font-size: 12px;
  padding: 6px 0;
}
.production-error {
  color: var(--red);
}
@media (max-width: 900px) {
  .production-filter-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .production-modifier-list {
    grid-template-columns: 1fr;
  }
  .production-idea {
    grid-template-columns: minmax(200px, 1.5fr) 1fr auto;
  }
  .production-idea > .production-fact:nth-of-type(3) {
    grid-column: 1 / -1;
    flex-direction: row;
    justify-content: space-between;
    border-top: 1px solid var(--reading-border);
    padding-top: 10px;
  }
  .production-idea > button {
    grid-column: 3;
    grid-row: 1;
  }
}
@media (max-width: 600px) {
  .production-layout {
    padding: 0 14px;
    margin-top: 22px;
  }
  .production-heading {
    align-items: flex-start;
    flex-direction: column;
    gap: 12px;
  }
  .production-heading h1 {
    font-size: 29px;
  }
  .production-panel {
    padding: 17px 14px;
  }
  .production-section-heading {
    flex-wrap: wrap;
    gap: 12px;
  }
  .production-search {
    flex-basis: 100%;
  }
  .production-filter-grid {
    gap: 14px 10px;
  }
  .production-layout :is(input, select) {
    font-size: 16px;
  }
  .production-idea {
    grid-template-columns: minmax(0, 1fr) auto;
    padding: 17px 14px;
    gap: 14px;
  }
  .production-identity {
    grid-column: 1 / -1;
  }
  .production-idea > button {
    grid-row: 2;
    grid-column: 2;
  }
  .production-idea > .production-fact:nth-of-type(3) {
    grid-row: 3;
    flex-wrap: wrap;
  }
  .production-summary {
    grid-template-columns: 1fr;
  }
  .production-summary > div {
    display: grid;
    grid-template-columns: 1fr 1.1fr;
    align-items: start;
    gap: 10px;
    padding: 14px;
  }
  .production-summary dd {
    font-size: 21px;
  }
  .production-plan-metrics {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .production-plan-return {
    display: flex;
    grid-column: 1 / -1;
    align-items: baseline;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 6px 12px;
  }
  .production-plan-return dd {
    margin: 0;
  }
  .production-actions > span:last-child {
    margin-left: 0;
    width: 100%;
  }
  .production-table th,
  .production-table td {
    padding: 10px;
  }
  .production-table {
    min-width: 520px;
  }
  .production-notice {
    font-size: 12px;
  }
}
@media (prefers-reduced-transparency: reduce), (prefers-contrast: more) {
  .production-panel,
  #production-ideas {
    -webkit-backdrop-filter: none;
    backdrop-filter: none;
  }
}
@media (forced-colors: active) {
  .production-panel,
  .production-idea,
  .production-notice,
  .production-summary,
  .production-state {
    border: 1px solid CanvasText;
  }
  .production-primary,
  .production-secondary {
    border: 1px solid ButtonText;
  }
}
/* A compact search precedes the comparison; equipment opens only when needed. */
.production-workspace {
  display: grid;
  grid-template-columns: 1fr;
  align-items: start;
  gap: 20px;
}
.production-workspace > .production-panel {
  margin: 0;
  padding: 20px;
}
.production-goals h2,
.production-loadout h2 {
  margin: 0 0 12px;
  font-size: 21px;
}
.production-goals .production-filter-grid {
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 15px;
}
.production-sizing {
  display: flex;
  gap: 20px;
  border: 0;
  padding: 0 0 16px;
  margin: 0 0 16px;
  border-bottom: 1px solid var(--reading-border);
}
.production-sizing legend {
  font-size: 12px;
  color: var(--reading-muted);
  margin-bottom: 8px;
}
.production-sizing label {
  flex-direction: row;
  align-items: center;
  margin: 8px 0;
  gap: 8px;
}
.production-sizing input[type="radio"] {
  width: 17px;
  min-height: 17px;
  margin: 0;
}
.production-loadout .production-section-heading {
  align-items: start;
}
.production-loadout .production-section-heading p {
  font-size: 13px;
  margin-bottom: 14px;
}
.production-gear-search {
  margin: 0 0 12px;
}
.production-gear-categories {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin: 0 0 14px;
}
.production-gear-categories button {
  background: var(--control-face);
  color: var(--text);
  padding: 7px 9px;
  min-height: 34px;
  font-size: 12px;
}
.production-gear-categories button span {
  font-size: 11px;
  margin-left: 5px;
  color: var(--reading-muted);
}
.production-gear-categories button[aria-pressed="true"] {
  background: var(--reading-selected);
  border-color: var(--aqua);
}
.production-selected-gear {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px;
  font-size: 12px;
  margin: 0 0 13px;
  min-height: 25px;
  color: var(--reading-muted);
}
.production-selected-gear button {
  padding: 4px 8px;
  min-height: 28px;
  font-size: 11px;
  background: var(--reading-selected);
  color: var(--text);
}
.production-selected-gear > span {
  margin-right: 4px;
}
.production-gear-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  max-height: 440px;
  overflow-y: auto;
  scrollbar-gutter: stable;
  overscroll-behavior: contain;
  padding: 2px 6px 2px 2px;
}
.production-gear-card {
  background: var(--reading-face-alt);
  border: 1px solid var(--reading-border);
  border-radius: 10px;
  padding: 13px;
  min-width: 0;
}
.production-gear-card.is-selected {
  border-color: var(--aqua);
  box-shadow: inset 3px 0 var(--aqua);
}
.production-gear-card.is-reference {
  border-style: dashed;
}
.production-gear-card-top label {
  flex-direction: row;
  align-items: start;
  gap: 8px;
  font-size: 14px;
  font-weight: 800;
}
.production-gear-card-top h3 {
  margin: 0 0 7px;
  font-size: 14px;
}
.production-gear-card-top input[type="checkbox"] {
  margin-top: 2px;
}
.production-gear-card-top select {
  min-height: 34px;
  font-size: 12px;
  padding: 5px 8px;
}
.production-gear-card p {
  font-size: 12px;
  line-height: 1.5;
  color: var(--reading-muted);
  margin: 9px 0;
}
.production-gear-meta {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 4px 8px;
  font-size: 11px;
  color: var(--reading-muted);
}
.production-gear-meta span:last-child {
  font-weight: 800;
}
.production-gear-extra {
  margin-top: 12px;
  border-top: 1px solid var(--reading-border);
  padding-top: 10px;
}
.production-gear-details {
  margin-top: 8px;
}
.production-layout .production-gear-details summary {
  font-size: 11px;
  font-weight: 600;
  color: var(--accent-text);
}
.production-gear-details a {
  font-size: 11px;
}
.production-gear-note {
  font-size: 11px;
  line-height: 1.5;
  color: var(--reading-muted);
  margin: 12px 0 0;
}
.production-search-actions {
  grid-column: 1/-1;
  padding: 0 2px;
}
.production-search-actions .production-actions {
  margin: 0;
}
.production-search-actions .production-primary {
  padding: 12px 22px;
  font-size: 15px;
}
.production-search-actions #production-updated {
  margin: 10px 0 0;
}
.production-results-context {
  color: var(--reading-muted);
  margin: -3px 0 16px;
  font-size: 12px;
}
.production-idea {
  grid-template-columns: minmax(240px, 1.2fr) minmax(330px, 1.5fr) auto;
  gap: 15px 20px;
  padding: 21px;
}
.production-idea .production-identity {
  align-items: start;
}
.production-idea .production-identity h3 {
  font-size: 18px;
}
.production-route-action {
  font-size: 14px;
  color: var(--text);
  font-weight: 800;
}
.production-idea-money {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px 16px;
  align-self: center;
}
.production-idea-money > div {
  display: flex;
  flex-direction: column;
  gap: 5px;
  min-width: 0;
}
.production-idea-money small {
  color: var(--text);
  font-size: 13px;
  font-weight: 600;
  line-height: 1.45;
  min-height: 2.9em;
}
.production-idea-money strong {
  font-size: 19px;
  line-height: 1.3;
  font-variant-numeric: tabular-nums;
}
.production-profit-estimate {
  padding-top: 10px;
  border-top: 1px solid var(--reading-border);
}
.production-idea-money > .production-provider-payback {
  grid-column: 1 / -1;
}
.production-provider-payback small {
  min-height: 0;
}
.production-idea-money .production-provider-payback strong {
  font-size: 16px;
  line-height: 1.5;
}
.production-idea > button {
  grid-column: 3;
  grid-row: 1;
  align-self: center;
}
.production-idea-context {
  grid-column: 1/-1;
  display: flex;
  gap: 7px 20px;
  flex-wrap: wrap;
  color: var(--reading-muted);
  border-top: 1px solid var(--reading-border);
  padding-top: 11px;
  font-size: 12px;
}
.production-idea-caution {
  grid-column: 1/-1;
  color: var(--reading-muted);
  font-size: 12px;
  margin: 0;
  line-height: 1.5;
}
.production-plan-navigation {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}
.production-plan-basics {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}
.production-plan-basics label > span:not(:first-child) {
  margin-top: 8px;
}
.production-plan-action {
  font-size: 20px;
  font-weight: 800;
  margin: 24px 0 0;
}
.production-downside {
  margin: 14px 0;
  padding: 12px 15px;
  background: var(--reading-face-alt);
  border-radius: 8px;
}
.production-effect-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}
.production-effect-list li {
  padding: 12px;
  border-radius: 8px;
  background: var(--reading-face-alt);
  border: 1px solid var(--reading-border);
}
.production-effect-list li > div {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 6px;
}
.production-effect-list p {
  margin: 7px 0 0;
  color: var(--reading-muted);
  font-size: 12px;
}
.production-price-evidence {
  margin-top: 7px;
  min-width: 110px;
  max-width: 260px;
}
.production-layout .production-price-evidence summary {
  font-size: 11px;
  font-weight: 600;
  color: var(--accent-text);
}
.production-price-evidence p,
.production-price-evidence ul {
  font-size: 11px;
  line-height: 1.5;
  margin: 8px 0;
  color: var(--reading-muted);
}
.production-price-evidence ul {
  padding-left: 16px;
}
.production-price-evidence li + li {
  margin-top: 7px;
}
@media (max-width: 1050px) {
  .production-workspace {
    grid-template-columns: 1fr;
    gap: 15px;
  }
  .production-workspace > .production-panel {
    padding: 16px;
  }
  .production-gear-list {
    grid-template-columns: 1fr;
  }
  .production-idea {
    grid-template-columns: minmax(180px, 1fr) minmax(290px, 1.5fr);
  }
  .production-idea > button {
    grid-column: 2;
    grid-row: 3;
    justify-self: end;
  }
  .production-idea-context {
    grid-row: 2;
  }
}
@media (max-width: 700px) {
  .production-workspace {
    grid-template-columns: 1fr;
  }
  .production-goals .production-filter-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .production-sizing {
    display: flex;
    flex-wrap: wrap;
    gap: 0 15px;
  }
  .production-sizing legend {
    width: 100%;
  }
  .production-sizing label {
    font-size: 12px;
  }
  .production-loadout .production-section-heading {
    gap: 5px;
  }
  .production-gear-list {
    max-height: 430px;
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .production-gear-card-top select {
    font-size: 16px;
  }
  .production-idea {
    grid-template-columns: 1fr;
    padding: 17px 14px;
  }
  .production-idea .production-identity {
    grid-column: 1;
  }
  .production-idea-money {
    grid-column: 1;
    grid-row: 2;
    gap: 12px;
  }
  .production-idea-money strong {
    font-size: 18px;
  }
  .production-idea > button {
    grid-column: 1;
    grid-row: auto;
    justify-self: stretch;
  }
  .production-idea-context {
    grid-column: 1;
    grid-row: auto;
  }
  .production-idea-caution {
    grid-column: 1;
  }
  .production-plan-basics {
    grid-template-columns: 1fr;
  }
  .production-effect-list {
    grid-template-columns: 1fr;
  }
}
@media (max-width: 430px) {
  .production-goals .production-filter-grid {
    grid-template-columns: 1fr;
  }
  .production-gear-list {
    grid-template-columns: 1fr;
  }
  .production-search-actions .production-actions {
    gap: 8px;
  }
  .production-search-actions .production-primary {
    padding: 11px 14px;
  }
  .production-search-actions .production-secondary {
    padding: 11px;
  }
}

.production-result-actions {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}
.production-route-inputs {
  font-size: 12px;
  color: var(--reading-muted);
  margin: 7px 0;
  line-height: 1.5;
}

.production-saved-recipe {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 18px;
}
.production-saved-recipe p {
  flex: 1 1 320px;
  margin: 0;
}
.production-saved-list {
  list-style: none;
  padding: 0;
  display: grid;
  gap: 10px;
}
.production-saved-list li {
  display: flex;
  gap: 10px;
  align-items: center;
  flex-wrap: wrap;
}
.production-saved-list span {
  font-size: 12px;
  color: var(--reading-muted);
}

/* Keep the decision in aligned rows; recipes and equipment open on demand. */
.production-loadout > summary,
.production-route-alternatives > summary,
.production-research-results > summary {
  cursor: pointer;
  padding: 12px 0;
  font-weight: 700;
}
.production-loadout > summary span {
  margin-left: 12px;
  color: var(--reading-muted);
  font-size: 13px;
  font-weight: 400;
}
.production-loadout:not([open]) {
  padding-block: 4px;
}
.production-mass-row {
  display: grid;
  grid-template-columns: minmax(200px, 1fr) minmax(350px, 1.3fr) auto;
  align-items: center;
  gap: 14px 24px;
  padding: 20px;
  margin-top: 12px;
  border: 1px solid var(--reading-border);
  border-radius: 12px;
  background: var(--reading-face);
}
.production-mass-name {
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
}
.production-mass-name h3 {
  margin: 0;
  font-size: 18px;
}
.production-mass-name p {
  margin: 5px 0;
  font-size: 13px;
}
.production-mass-numbers {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
  margin: 0;
  font-variant-numeric: tabular-nums;
}
.production-mass-numbers dt {
  font-size: 13px;
  font-weight: 600;
  color: var(--text);
}
.production-mass-numbers dd {
  margin: 4px 0;
  font-size: 19px;
  font-weight: 800;
}
.production-mass-foot {
  grid-column: 1 / -1;
  margin: 0;
  font-size: 12px;
  color: var(--reading-muted);
}
.production-route-alternatives {
  margin: 0 0 18px 20px;
}
.production-route-alternatives > summary {
  color: var(--reading-muted);
  font-size: 13px;
}
.production-research-results {
  margin-top: 24px;
}
.production-steps p {
  margin: 6px 0;
  font-size: 13px;
}
@media (max-width: 800px) {
  .production-mass-row {
    grid-template-columns: 1fr auto;
  }
  .production-mass-numbers {
    grid-column: 1 / -1;
    grid-row: 2;
  }
}
@media (max-width: 480px) {
  .production-mass-row {
    padding: 16px;
    gap: 14px;
    grid-template-columns: 1fr;
  }
  .production-mass-numbers {
    gap: 10px;
  }
  .production-mass-numbers dd {
    font-size: 18px;
  }
  .production-mass-row > button {
    width: 100%;
  }
  .production-mass-foot {
    line-height: 1.6;
  }
  .production-route-alternatives {
    margin-left: 0;
  }
}

}
@layer feature-layout {
/* Shared, lightweight community links. No Discord widget or third-party requests. */
body:has(> .discord-support) {
  --support-size: 56px;
  --support-bottom: calc(24px + env(safe-area-inset-bottom, 0px));
  padding-bottom: calc(var(--support-bottom) + var(--support-size) + 16px);
}

.alpha-banner {
  border-bottom: 1px solid #c4a34f;
  background: #f5df94;
  color: #493710;
}
.alpha-banner-link {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 44px;
  padding: 7px max(16px, env(safe-area-inset-right, 0px)) 7px
    max(16px, env(safe-area-inset-left, 0px));
  font: 14px/1.4 var(--body);
  text-align: center;
  color: inherit;
  text-decoration: none;
}
.alpha-badge {
  flex: none;
  padding: 3px 7px;
  border: 1px solid #b6933b;
  border-radius: 4px;
  background: #efd077;
  font: 800 11px/1.2 var(--font);
  letter-spacing: 0.05em;
  text-transform: uppercase;
}
.alpha-banner-action {
  font-weight: 700;
  text-decoration: underline;
  text-underline-offset: 3px;
}
.alpha-banner-link:hover {
  background: #f1d680;
}
.alpha-banner-link:focus-visible {
  outline: 3px solid #493710;
  outline-offset: -4px;
}

.discord-support {
  position: fixed;
  z-index: 25;
  right: max(24px, env(safe-area-inset-right, 0px));
  bottom: var(--support-bottom);
  display: grid;
  place-items: center;
  width: var(--support-size);
  height: var(--support-size);
  border: 2px solid #b4baff;
  border-radius: 50%;
  background: #5865f2;
  box-shadow:
    0 3px 0 #303991,
    0 6px 18px #07180c40;
  color: #fff;
  text-decoration: none;
  -webkit-tap-highlight-color: transparent;
}
.discord-support img {
  display: block;
  width: 28px;
  height: 28px;
}
.discord-support:hover {
  background: #4752c4;
}
.discord-support:focus-visible {
  outline: 3px solid #fff;
  outline-offset: 4px;
  box-shadow: 0 0 0 7px #303991;
}
.discord-support-label {
  position: absolute;
  right: calc(100% + 12px);
  padding: 8px 12px;
  border: 1px solid #b4baff;
  border-radius: 6px;
  background: #303991;
  color: #fff;
  font: 700 13px/1.4 var(--body);
  white-space: nowrap;
  visibility: hidden;
  pointer-events: none;
}
.discord-support:focus-visible .discord-support-label {
  visibility: visible;
}
@media (hover: hover) {
  .discord-support:hover .discord-support-label {
    visibility: visible;
  }
}

/* Keep transient messages and dialogs clear of the floating link. */
body:has(dialog[open], .toast:not([hidden])) > .discord-support {
  display: none;
}

@media (max-width: 700px) {
  body:has(> .discord-support) {
    --support-size: 52px;
    --support-bottom: calc(16px + env(safe-area-inset-bottom, 0px));
  }
  body:has(> .discord-support):has(.mobile-nav) {
    --support-bottom: calc(84px + env(safe-area-inset-bottom, 0px));
  }
  .alpha-banner-link {
    gap: 8px;
    font-size: 12px;
  }
  .discord-support {
    right: max(14px, env(safe-area-inset-right, 0px));
  }
}

/* A touch keyboard can also open on tablets and landscape phones. */
@media (max-width: 700px), (pointer: coarse) {
  body:has(
      input:not([type="range"]):not([type="checkbox"]):not([type="radio"]):focus,
      select:focus,
      textarea:focus,
      [contenteditable="true"]:focus
    )
    > .discord-support {
    display: none;
  }
}

@media print {
  .alpha-banner,
  .discord-support {
    display: none;
  }
  body:has(> .discord-support) {
    padding-bottom: 0;
  }
}

}

@layer feature-layout {
  .production-layout #production-count {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px;
    font-size: 16px;
    line-height: 1.4;
  }
  .production-result-status {
    display: inline-flex;
    align-items: baseline;
    gap: 6px;
    padding: 6px 10px;
    border: 1px solid var(--control-border);
    border-radius: 10px;
    background: var(--surface);
    color: var(--text);
  }
  .production-result-status strong {
    font-size: 24px;
    font-variant-numeric: tabular-nums;
  }
  .production-result-status.is-ready strong {
    color: var(--offer-buy);
  }
  .production-result-status.is-review strong {
    color: var(--chart-median);
  }
  .production-result-scope {
    flex-basis: 100%;
  }
}

/* Each working section owns one continuous glass frame. */
body .production-layout {
  font-size: 16px;
  line-height: 1.6;
}
body .production-layout :is(.production-heading, .production-search-actions, .production-results) {
  padding: 20px;
  border: 1px solid var(--reading-border);
  border-radius: 16px;
  background: var(--panel-face);
  box-shadow: var(--panel-elevation);
  -webkit-backdrop-filter: var(--glass-blur);
  backdrop-filter: var(--glass-blur);
}
body .production-layout .production-heading h1 {
  font-size: clamp(30px, 3vw, 38px);
}
body .production-layout h2 {
  font-size: 25px;
  line-height: 1.25;
}
body .production-layout label,
body .production-layout legend {
  font-size: 16px;
  line-height: 1.45;
}
body
  .production-layout
  :is(
    small,
    .production-muted,
    .production-gear-note,
    .production-route-inputs,
    .production-idea-context,
    .production-idea-caution,
    .production-mass-foot,
    .production-mass-numbers dt,
    .production-table th
  ) {
  font-size: 14px;
  line-height: 1.6;
}
body .production-layout :is(.production-notice, .production-state p, .production-steps p) {
  font-size: 16px;
  line-height: 1.6;
}
body
  .production-layout
  :is(input:not([type="checkbox"]):not([type="radio"]), select, button, .production-secondary) {
  min-height: 46px;
  font-size: 16px;
}
body .production-layout .production-primary {
  min-height: 48px;
  font-weight: 800;
}
body .production-layout summary {
  min-height: 44px;
  font-size: 16px;
  line-height: 1.5;
}
body .production-layout #production-updated {
  margin-top: 14px;
  padding-top: 12px;
  border-top: 1px solid var(--reading-border);
  color: var(--text);
  font-size: 14px;
}
body .production-layout #production-updated:empty {
  display: none;
}
body .production-layout .production-results > .production-section-heading {
  align-items: flex-start;
  margin-bottom: 20px;
}
body .production-layout #production-count {
  margin-top: 14px;
}
body .production-layout #production-results-context {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 8px;
  max-width: none;
  margin: 0 0 20px;
  font-size: 16px;
}
body .production-layout .production-context-title {
  flex-basis: 100%;
  font-weight: 800;
}
body .production-layout .production-context-chip {
  padding: 6px 10px;
  border-radius: 8px;
  background: var(--reading-face-alt);
}
body .production-layout .production-context-caution {
  flex-basis: 100%;
  margin-top: 4px;
}
body
  .production-layout
  :is(.production-unpriced-results, .production-research-results, .production-route-alternatives) {
  margin: 12px;
  padding: 10px 14px;
  border: 1px solid var(--reading-border);
  border-radius: 10px;
  background: var(--reading-face-alt);
}
body .production-layout .production-table {
  font-size: 14px;
}
@media (max-width: 700px) {
  body
    .production-layout
    :is(.production-heading, .production-search-actions, .production-results) {
    padding: 16px 12px;
  }
  body .production-layout .production-filter-grid {
    grid-template-columns: minmax(0, 1fr);
    gap: 20px;
  }
  body .production-layout .production-result-actions {
    width: 100%;
    align-items: stretch;
  }
  body .production-layout .production-result-actions > * {
    flex: 1 1 100%;
    min-width: 0;
  }
  body
    .production-layout
    :is(
      .production-unpriced-results,
      .production-research-results,
      .production-route-alternatives
    ) {
    margin: 10px;
    padding: 8px 10px;
  }
}
