.app-shell {
  background: #080b12 url('/reference-assets/star-field.png') center top / 100% auto repeat-y;
}

.calc-title {
  display: flex;
  align-items: center;
  gap: 9px;
  margin-bottom: 20px;
}

.calc-title > div:nth-child(2) {
  display: flex;
  min-width: 0;
  flex: 1;
  flex-direction: column;
  gap: 4px;
}

.calc-title strong { font-size: 16px; }
.calc-title small { color: #8e949f; font-size: 11px; }
.calc-title .currency-switch { flex: none; }

.calc-metrics {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1px;
  overflow: hidden;
  border: 1px solid #363943;
  background: #363943;
  border-radius: 5px;
}

.calc-metrics > div {
  display: flex;
  min-height: 78px;
  flex-direction: column;
  justify-content: center;
  gap: 7px;
  padding: 12px;
  background: #191c24;
  min-width: 0;
}

.calc-metrics span { color: #969ba6; font-size: 11px; }
.calc-metrics strong { color: #fff; font-size: 15px; overflow-wrap: anywhere; }

.product-market-note { padding: 0 14px 13px; color: #9299a8; font-size: 10px; line-height: 1.45; }
.product-contract-yield { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 6px 12px; padding: 12px 14px; margin: 0 14px 12px; background: #30221e; border-radius: 5px; }
.product-contract-yield span { color: #d0b1a7; font-size: 12px; }
.product-contract-yield strong { color: #ffab94; font-size: 16px; overflow-wrap: anywhere; }
.sheet-data .sheet-contract-yield { grid-column: 1 / -1; }
.sheet-contract-yield strong { color: #ffab94; overflow-wrap: anywhere; }
.market-ticker { margin: 18px 0 4px; }
.market-ticker .section-row { margin: 0 0 10px; }
.market-ticker .section-row small { color: #8f95a3; font-size: 10px; }
.market-ticker-item { display: flex; justify-content: space-between; gap: 10px; padding: 10px 12px; margin-bottom: 6px; background: #111722e0; border: 1px solid #262b37; border-radius: 5px; font-size: 11px; }
.market-ticker-item span { color: #bfc4cf; text-align: right; }
.sheet-market-note { color: #a0a6b2; font-size: 11px; line-height: 1.5; margin: 14px 0 0; }

.catalog-filters { display: grid; gap: 10px; margin-bottom: 16px; }
.catalog-filters > label { font-size: 12px; color: #adb3c0; }
.catalog-filters input { min-width: 0; width: 100%; padding: 11px 12px; background: #141923; border: 1px solid #353c49; border-radius: 5px; color: #fff; }
.catalog-categories { display: flex; flex-wrap: wrap; gap: 8px; }
.catalog-categories button { padding: 7px 12px; border: 1px solid #353c49; border-radius: 20px; background: #141923; color: #bec5d1; font-size: 12px; }
.catalog-categories button.active { background: #452b2a; border-color: #e87864; color: #ffb09e; }
.asset-total { position: relative; }
.asset-total > .icon-button { position: absolute; top: 17px; right: 17px; }
.asset-balance-lines { display: flex; flex-wrap: wrap; gap: 10px 24px; padding-top: 9px; color: #ffe4e1; font-size: 11px; }
.asset-balance-lines span { display: grid; gap: 5px; }
.asset-balance-lines b { color: #fff; font-size: 14px; overflow-wrap: anywhere; }
.asset-actions { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-top: 14px; }
.asset-actions button { background: #252332; color: #ffb09e; border: 1px solid #56404a; border-radius: 5px; padding: 12px; }
.coin-balance { display: grid; gap: 5px; text-align: right; min-width: 0; overflow-wrap: anywhere; }
.coin-balance small { color: #9099a8; font-size: 10px; }
.activity-copy small { overflow-wrap: anywhere; }

@media (max-width: 360px) {
  .calc-title { align-items: flex-start; }
  .calc-title .currency-switch button { padding: 6px 7px; }
  .calc-metrics > div { padding: 10px; }
  .calc-metrics strong { font-size: 13px; }
}
