:root {
  color-scheme: light;
  --green: #376247;
  --green-deep: #294c34;
  --green-soft: #eef4ed;
  --ink: #28352c;
  --muted: #7a857d;
  --line: #e0e6df;
  --paper: #fff;
  --shadow: 0 4px 18px #243a2908;
  --pine: #b98855;
  --honey: #d9a521;
  --berry: #c65d68;
  --mushroom: #8d6c58;
  --melon: #86a45c;
  --bark: #6b4f34;
  --sky: #4f86a8;
}

* { box-sizing: border-box; }
[hidden] { display: none !important; }
html { min-width: 320px; scroll-behavior: smooth; }
body {
  margin: 0;
  background: #f3f5f1;
  color: var(--ink);
  font-family: "Noto Sans SC", "Microsoft YaHei", system-ui, sans-serif;
  line-height: 1.45;
}
.ambient {
  position: fixed;
  z-index: 0;
  inset: 0;
  background:
    radial-gradient(60% 42% at 12% 0%, #cfe3c9 0%, #cfe3c900 62%),
    radial-gradient(48% 38% at 92% 8%, #f6e6bf 0%, #f6e6bf00 60%),
    radial-gradient(70% 50% at 50% 108%, #dbe8d6 0%, #dbe8d600 65%),
    linear-gradient(168deg, #f5f7f2 0%, #eef2ea 52%, #f4f2ea 100%);
  pointer-events: none;
}
.ambient::after {
  position: absolute;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='140' height='140'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='3'/%3E%3C/filter%3E%3Crect width='140' height='140' filter='url(%23n)' opacity='.32'/%3E%3C/svg%3E");
  content: "";
  mix-blend-mode: multiply;
  opacity: .05;
}
input, select, button { font: inherit; }
.page-shell { position: relative; z-index: 1; width: min(100% - 28px, 820px); margin: 0 auto; padding: 18px 0 28px; }

* { scrollbar-width: thin; scrollbar-color: #a9c0a6 #e7ece5; }
::-webkit-scrollbar { width: 10px; height: 10px; }
::-webkit-scrollbar-track { border-radius: 999px; background: #e7ece5; }
::-webkit-scrollbar-thumb { border: 2px solid #e7ece5; border-radius: 999px; background: #a9c0a6; }
::-webkit-scrollbar-thumb:hover { background: var(--green); }
::-webkit-scrollbar-corner { background: transparent; }

.group-banner {
  display: flex;
  flex-wrap: wrap;
  min-height: 36px;
  align-items: center;
  justify-content: center;
  gap: 5px;
  margin-bottom: 12px;
  padding: 9px 14px;
  border: 1px solid #dce7dc;
  border-radius: 10px;
  background: var(--green-soft);
  color: var(--green);
  font-size: 13.5px;
  font-weight: 600;
}
.banner-label { background: linear-gradient(90deg, #2f6b3f 0%, #4e8a46 55%, #7a9b2e 100%); -webkit-background-clip: text; background-clip: text; color: transparent; }
.group-link { font-size: 15px; font-weight: 700; text-underline-offset: 3px; background: linear-gradient(90deg, #a5600e 0%, #c2602a 50%, #b8452f 100%); -webkit-background-clip: text; background-clip: text; color: transparent; text-decoration-color: #c2602a; }
.group-link:hover { text-decoration-color: #8f2f22; }
.banner-finger { display: inline-block; font-size: 15px; line-height: 1; }
.banner-finger.left { animation: point-right 1.8s ease-in-out infinite; }
.banner-finger.right { animation: point-left 1.8s ease-in-out infinite; }
@keyframes point-right { 0%, 100% { transform: translateX(0); } 50% { transform: translateX(3px); } }
@keyframes point-left { 0%, 100% { transform: translateX(0); } 50% { transform: translateX(-3px); } }
.banner-hint { font-size: 12px; font-weight: 600; background: linear-gradient(90deg, #b8452f 0%, #a0427a 55%, #7e4fa8 100%); -webkit-background-clip: text; background-clip: text; color: transparent; }

.dashboard { display: grid; grid-template-columns: minmax(0, 1fr); gap: 12px; }
.page-header { padding: 2px 3px 4px; }
.eyebrow { margin: 0 0 2px; color: var(--green); font-size: 11px; font-weight: 700; letter-spacing: .12em; }
.page-header h1 { margin: 0; color: #253d2c; font-size: 25px; line-height: 1.25; letter-spacing: -.02em; }
.page-header p:last-child { margin: 5px 0 0; color: var(--muted); font-size: 12px; }

.panel {
  min-width: 0;
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: var(--paper);
  box-shadow: var(--shadow);
}
.panel-heading { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 12px; }
.panel-heading h2 { margin: 0; color: #2d4433; font-size: 15px; font-weight: 700; }
.panel-heading p { margin: 3px 0 0; color: var(--muted); font-size: 11px; }
.market-heading { align-items: flex-start; }
.soft-badge { flex: none; padding: 4px 8px; border-radius: 999px; background: #f0f5ee; color: #648068; font-size: 10px; }

.level-row { display: grid; grid-template-columns: minmax(0, 1fr) 24px minmax(0, 1fr); align-items: end; gap: 10px; }
.field { display: grid; min-width: 0; gap: 5px; }
.field > span:first-child { color: #6c786f; font-size: 11px; }
.select-wrap { position: relative; display: block; }
.select-wrap::after { position: absolute; top: 50%; right: 12px; color: var(--green); content: "⌄"; font-size: 16px; pointer-events: none; transform: translateY(-60%); }
.field select {
  width: 100%;
  min-height: 42px;
  appearance: none;
  border: 1px solid #d5ded4;
  border-radius: 9px;
  outline: none;
  padding: 8px 32px 8px 11px;
  background: #fff;
  color: #304f39;
  font-size: 14px;
  font-weight: 650;
}
.field select:focus-visible { border-color: #72957a; box-shadow: 0 0 0 3px #72957a20; }
.level-arrow { align-self: end; padding-bottom: 11px; color: #93a096; text-align: center; }
.form-message { margin: 9px 0 0; color: #a64d3c; font-size: 12px; }

.material-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.material-card { min-width: 0; padding: 12px; border: 1px solid #e2e8e0; border-radius: 12px; background: #fdfefd; }
.material-card-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 8px; }
.material-name { display: inline-flex; align-items: center; padding-top: 20px; color: #405446; font-size: 13px; font-weight: 600; white-space: nowrap; }
.material-dot { display: inline-block; flex: none; width: 8px; height: 8px; margin-right: 6px; border-radius: 50%; background: var(--dot-color); }
.stock-field { display: grid; width: 104px; min-width: 0; gap: 4px; color: var(--muted); font-size: 10px; }
.stock-field input, .price-field input {
  width: 100%;
  min-width: 0;
  min-height: 36px;
  border: 1px solid #d8e0d6;
  border-radius: 8px;
  outline: none;
  padding: 6px 9px;
  background: #fff;
  color: #304f39;
  font-size: 14px;
  font-variant-numeric: tabular-nums;
}
.stock-field input:focus-visible, .price-field input:focus-visible, .rate-control input:focus-visible { border-color: #72957a; box-shadow: 0 0 0 3px #72957a20; }
.stock-field input::placeholder, .price-field input::placeholder, .rate-control input::placeholder { color: #b0b9b1; }
.price-field { display: grid; gap: 4px; margin-top: 10px; color: var(--muted); font-size: 10px; }

.exchange-rate { display: flex; align-items: center; justify-content: space-between; gap: 14px; margin-top: 12px; padding: 11px 12px; border: 1px solid #e3e9e2; border-radius: 11px; background: #f7faf6; }
.exchange-copy label { display: block; color: #4b6050; font-size: 12px; font-weight: 600; }
.exchange-copy p { margin: 2px 0 0; color: var(--muted); font-size: 10px; }
.rate-control { display: flex; flex-wrap: wrap; align-items: center; justify-content: flex-end; gap: 7px; color: #536859; font-size: 12px; white-space: nowrap; }
.rate-control input { flex: 0 1 108px; width: 108px; min-width: 0; min-height: 36px; border: 1px solid #d5ded4; border-radius: 8px; outline: none; padding: 6px 8px; background: #fff; color: #304f39; font-size: 13px; font-variant-numeric: tabular-nums; }

.result-grid { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 7px; }
.result-card { display: flex; min-width: 0; flex-direction: column; align-items: flex-start; gap: 4px; padding: 10px 8px; border: 1px solid #e4e9e2; border-radius: 10px; background: #fafcf9; }
.result-card .material-name { padding-top: 0; font-size: 11px; font-weight: 500; }
.result-card .material-dot { width: 7px; height: 7px; margin-right: 5px; }
.material-count { color: #2d4c35; font-size: 17px; font-variant-numeric: tabular-nums; line-height: 1.2; white-space: nowrap; }
.material-count small { margin-left: 2px; color: var(--muted); font-size: 10px; font-weight: 400; }

.currency-summaries { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; margin-top: 12px; }
.currency-card { min-width: 0; padding: 13px 14px; border: 1px solid #d8e4d5; border-radius: 12px; background: #f1f7ee; }
.currency-card h3 { margin: 0; color: #56705a; font-size: 11px; font-weight: 600; }
.currency-card > strong { display: block; margin-top: 4px; color: #2d5a35; font-size: 23px; font-variant-numeric: tabular-nums; line-height: 1.2; overflow-wrap: anywhere; }
.mi-card { border-color: #e4ddc8; background: #faf7ed; }
.mi-card h3 { color: #8a7953; }
.mi-card > strong { color: #77602c; }

.breakdown-details { margin-top: 10px; padding-top: 10px; border-top: 1px solid #edf0eb; }
.breakdown-details summary { width: fit-content; color: #6a7b6e; cursor: pointer; font-size: 11px; user-select: none; }
.breakdown-details summary:hover { color: var(--green); }
.details-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; padding-top: 10px; }
.details-grid h3 { margin: 0 0 6px; color: #5c6f60; font-size: 11px; }
.currency-breakdown { display: grid; gap: 6px; }
.currency-line { display: flex; justify-content: space-between; gap: 10px; color: #68766b; font-size: 11px; font-variant-numeric: tabular-nums; }
.currency-line strong { color: #3d5b43; font-weight: 600; white-space: nowrap; }
.details-grid > div:last-child .currency-line strong { color: #77602c; }
.currency-line .material-dot { width: 6px; height: 6px; margin-right: 5px; }
.currency-empty { margin: 0; color: #879289; font-size: 11px; }

@media (max-width: 560px) {
  .page-shell { width: min(100% - 20px, 520px); padding-top: 12px; }
  .panel { padding: 14px; border-radius: 14px; }
  .page-header h1 { font-size: 23px; }
  .material-grid { gap: 8px; }
  .material-card { padding: 10px; }
  .material-card-head { gap: 5px; }
  .material-name { font-size: 12px; }
  .stock-field { width: 82px; }
  .exchange-rate { align-items: flex-start; flex-direction: column; gap: 8px; }
  .rate-control { justify-content: flex-start; }
  .rate-control input { flex-basis: 104px; width: 104px; }
  .result-grid { gap: 5px; }
  .result-card { padding: 9px 6px; }
  .result-card .material-name { font-size: 10px; }
  .material-count { font-size: 15px; }
  .currency-card { padding: 12px; }
  .currency-card > strong { font-size: 21px; }
  .details-grid { grid-template-columns: 1fr; gap: 12px; }
}

@media (max-width: 360px) {
  .material-grid { grid-template-columns: 1fr; }
  .stock-field { width: 120px; }
  .exchange-rate { padding: 10px; }
  .rate-control input { flex-basis: 92px; width: 92px; }
}

/* ---------- 标签切换 ---------- */

.tab-bar { position: sticky; top: 0; z-index: 20; padding: 8px 0; margin: -8px 0 -2px; background: #f3f5f1e8; backdrop-filter: blur(10px) saturate(1.15); box-shadow: 0 8px 14px -12px #2b443055; }
.tab-track { position: relative; display: grid; grid-template-columns: 1fr 1fr; padding: 4px; border: 1px solid #d9e2d7; border-radius: 999px; background: #ffffffd9; box-shadow: 0 3px 14px #2b44301f; }
.tab-pill { position: absolute; top: 4px; left: 4px; width: calc(50% - 4px); height: calc(100% - 8px); border-radius: 999px; background: linear-gradient(135deg, #2b5137 0%, #3d6b45 55%, #4e7a3f 100%); box-shadow: 0 3px 10px #2f513733; transition: transform .32s cubic-bezier(.4, 1.3, .5, 1); }
.tab-track[data-active="yield"] .tab-pill { transform: translateX(100%); }
.tab { position: relative; z-index: 1; min-height: 38px; border: 0; border-radius: 999px; background: none; color: #5d7263; cursor: pointer; font-size: 13px; font-weight: 650; transition: color .22s ease; }
.tab[aria-selected="true"] { color: #fff; }
.tab:focus-visible { outline: 2px solid var(--green); outline-offset: 2px; }
.tab-panel { display: grid; grid-template-columns: minmax(0, 1fr); min-width: 0; gap: 12px; animation: panel-in .34s ease both; }
.tab-panel[hidden] { display: none; }
@keyframes panel-in { from { opacity: 0; transform: translateY(7px); } to { opacity: 1; transform: none; } }

.bump { animation: bump .34s ease; }
@keyframes bump { 0% { transform: translateY(3px); opacity: .45; } 100% { transform: none; opacity: 1; } }

/* ---------- 林场产出 ---------- */

.tier-badge { background: #edf3ea; color: #4d6b52; font-weight: 650; }
.mode-seg { margin-bottom: 12px; }
.mode-seg button { min-height: 34px; font-size: 12px; }
.farm-control { display: grid; grid-template-columns: 40px auto 40px minmax(0, 1fr); align-items: center; gap: 10px; }
.step-btn { width: 40px; height: 40px; border: 1px solid #d5ded4; border-radius: 11px; background: #fff; color: var(--green); cursor: pointer; font-size: 19px; font-weight: 700; line-height: 1; transition: background .18s ease, border-color .18s ease, transform .12s ease; }
.step-btn:hover:not(:disabled) { border-color: #9db99f; background: var(--green-soft); }
.step-btn:active:not(:disabled) { transform: scale(.93); }
.step-btn:disabled { color: #c2cbc3; cursor: not-allowed; }
.farm-readout { display: flex; align-items: baseline; gap: 3px; min-width: 68px; justify-content: center; color: var(--muted); font-size: 12px; }
.farm-readout strong { color: #25452e; font-size: 27px; font-variant-numeric: tabular-nums; line-height: 1; }

.level-slider { width: 100%; min-width: 0; height: 22px; appearance: none; background: none; cursor: pointer; }
.level-slider::-webkit-slider-runnable-track { height: 8px; border-radius: 999px; background: linear-gradient(90deg, #c9dcc4, #e6dfc4); }
.level-slider::-webkit-slider-thumb { width: 20px; height: 20px; margin-top: -6px; appearance: none; border: 3px solid #fff; border-radius: 50%; background: var(--green); box-shadow: 0 2px 7px #2f513755; transition: transform .14s ease; }
.level-slider:hover::-webkit-slider-thumb { transform: scale(1.12); }
.level-slider::-moz-range-track { height: 8px; border-radius: 999px; background: linear-gradient(90deg, #c9dcc4, #e6dfc4); }
.level-slider::-moz-range-thumb { width: 16px; height: 16px; border: 3px solid #fff; border-radius: 50%; background: var(--green); box-shadow: 0 2px 7px #2f513755; }
.level-slider:focus-visible { outline: 2px solid #72957a; outline-offset: 4px; border-radius: 999px; }

.tier-track { height: 6px; margin-top: 12px; border-radius: 999px; background: #e9eee7; overflow: hidden; }
.tier-fill { display: block; height: 100%; border-radius: 999px; background: linear-gradient(90deg, var(--melon), var(--honey)); transition: width .34s cubic-bezier(.4, 1.2, .5, 1); }
.tier-next { margin: 7px 0 0; color: var(--muted); font-size: 11px; }

.chip-row { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 12px; }
.chip { display: inline-flex; align-items: center; padding: 6px 10px; border: 1px solid #dde5db; border-radius: 999px; background: #fbfdfa; color: #55685b; cursor: pointer; font-size: 11px; font-weight: 600; transition: border-color .18s ease, background .18s ease, color .18s ease, transform .12s ease; }
.chip .material-dot { width: 7px; height: 7px; margin-right: 5px; }
.chip em { margin-left: 6px; padding: 1px 5px; border-radius: 6px; background: #eef3ec; color: #6d7f70; font-size: 10px; font-style: normal; font-variant-numeric: tabular-nums; }
.chip.is-current em { background: #ffffff26; color: #fff; }
.chip:hover { border-color: #a9c3ab; background: var(--green-soft); }
.chip:active { transform: scale(.96); }
.chip.is-current { border-color: var(--green); background: var(--green); color: #fff; }
.chip.is-current .material-dot { box-shadow: 0 0 0 2px #ffffff66; }
.chip:focus-visible { outline: 2px solid var(--green); outline-offset: 2px; }
.filter-head { margin-top: 12px; padding-top: 10px; border-top: 1px solid #eef1ec; }
.filter-row { margin-top: 6px; }
.filter-chip.is-off { border-style: dashed; background: #f6f7f5; color: #a7b0a8; }
.filter-chip.is-off .material-dot { background: #c8d0c9; }

.control-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; margin-top: 12px; }
.control-block { display: grid; gap: 5px; min-width: 0; }
.control-label { color: #6c786f; font-size: 11px; }
.segmented { display: grid; grid-auto-flow: column; grid-auto-columns: 1fr; padding: 3px; border: 1px solid #dde5db; border-radius: 10px; background: #f4f7f2; }
.segmented button { min-height: 32px; border: 0; border-radius: 8px; background: none; color: #6a7b6e; cursor: pointer; font-size: 12px; font-weight: 600; transition: background .2s ease, color .2s ease, box-shadow .2s ease; }
.segmented button:hover { color: var(--green-deep); }
.segmented button.is-active { background: #fff; color: var(--green-deep); box-shadow: 0 1px 5px #2b44301f; }
.segmented button:focus-visible { outline: 2px solid var(--green); outline-offset: -2px; }

.toggle-row { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 14px; margin-top: 12px; padding-top: 11px; border-top: 1px solid #eef1ec; }
.switch { display: inline-flex; align-items: center; gap: 7px; color: #5b6d60; cursor: pointer; font-size: 11px; user-select: none; }
.switch input { position: absolute; width: 1px; height: 1px; opacity: 0; }
.switch-track { position: relative; flex: none; width: 34px; height: 19px; border-radius: 999px; background: #d6ded4; transition: background .22s ease; }
.switch-track::after { position: absolute; top: 2px; left: 2px; width: 15px; height: 15px; border-radius: 50%; background: #fff; box-shadow: 0 1px 3px #2b443033; content: ""; transition: transform .22s cubic-bezier(.4, 1.3, .5, 1); }
.switch input:checked + .switch-track { background: var(--green); }
.switch input:checked + .switch-track::after { transform: translateX(15px); }
.switch input:focus-visible + .switch-track { box-shadow: 0 0 0 3px #72957a33; }
.switch.is-disabled { color: #adb6ae; cursor: not-allowed; }
.switch.is-disabled .switch-track { background: #e4e9e2; }
.ghost-btn { margin-left: auto; padding: 7px 13px; border: 1px solid #d9e2d7; border-radius: 9px; background: #fff; color: #5d7263; cursor: pointer; font-size: 11px; font-weight: 600; transition: border-color .18s ease, color .18s ease, background .18s ease; }
.ghost-btn:hover { border-color: #b6c9b7; background: var(--green-soft); color: var(--green-deep); }
.ghost-btn:focus-visible { outline: 2px solid var(--green); outline-offset: 2px; }

.yield-grid { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 8px; }
.yield-card { display: flex; min-width: 0; flex-direction: column; gap: 3px; padding: 11px 9px; border: 1px solid #e4e9e2; border-top: 3px solid var(--dot-color); border-radius: 11px; background: linear-gradient(#fdfefd, #f7faf6); transition: transform .16s ease, box-shadow .16s ease; }
.yield-card:hover { transform: translateY(-2px); box-shadow: 0 6px 16px #2b44301a; }
.yield-card .material-name { padding-top: 0; font-size: 11px; font-weight: 600; }
.yield-card .material-dot { width: 7px; height: 7px; margin-right: 5px; }
.yield-range { color: #2d4c35; font-size: 15px; font-variant-numeric: tabular-nums; line-height: 1.25; overflow-wrap: anywhere; }
.yield-range i { margin: 0 1px; color: #a9b4aa; font-style: normal; }
.yield-sub { color: var(--muted); font-size: 10px; font-variant-numeric: tabular-nums; }
.yield-worth { margin-top: 2px; color: #7a6329; font-size: 10px; font-weight: 650; font-variant-numeric: tabular-nums; overflow-wrap: anywhere; }
.yield-worth.is-empty { color: #adb6ae; font-weight: 400; }
.yield-card.is-locked { border-top-color: #dbe1d9; background: #f7f8f6; }
.yield-card.is-locked .yield-range { color: #a3ada4; font-size: 13px; }
.yield-card.is-locked .material-dot { background: #c8d0c9; }

.table-scroll { position: relative; min-width: 0; max-height: 340px; margin-top: 2px; overflow: auto; border: 1px solid #e4e9e2; border-radius: 11px; background: #fdfefd; }
.yield-table { width: 100%; border-collapse: separate; border-spacing: 0; font-size: 11px; font-variant-numeric: tabular-nums; }
.yield-table th, .yield-table td { padding: 7px 9px; text-align: right; white-space: nowrap; }
.yield-table thead th { position: sticky; top: 0; z-index: 2; border-bottom: 1px solid #dfe6dd; background: #f1f5ef; color: #4f6355; font-size: 10px; font-weight: 650; }
.yield-table thead th .material-dot { width: 6px; height: 6px; margin-right: 4px; }
.yield-table tbody td { border-bottom: 1px solid #f0f3ee; color: #5c6c60; }
.yield-table tbody tr:last-child td { border-bottom: 0; }
.yield-table .col-level, .yield-table .col-tier { text-align: left; }
.yield-table .col-level { position: sticky; left: 0; z-index: 1; background: #fdfefd; color: #33473a; font-weight: 650; }
.yield-table thead .col-level { z-index: 3; background: #f1f5ef; }
.yield-table .col-tier { color: #8b968d; }
.yield-table .col-worth { color: #7a6329; font-weight: 650; }
.yield-table tbody tr { cursor: pointer; transition: background .14s ease; }
.yield-table tbody tr:hover td { background: #f3f8f1; }
.yield-table tbody tr:hover .col-level { background: #f3f8f1; }
.yield-table tbody tr.is-node .col-level::after { display: inline-block; width: 5px; height: 5px; margin-left: 5px; border-radius: 50%; background: var(--melon); content: ""; vertical-align: middle; }
.yield-table tbody tr.is-current td { background: #e8f1e5; color: #2c4a34; }
.yield-table tbody tr.is-current .col-level { background: #e8f1e5; box-shadow: inset 3px 0 0 var(--green); }
.yield-table .dash { color: #c4ccc5; }
.yield-note { margin: 10px 0 0; color: #879289; font-size: 10px; line-height: 1.6; }

@media (max-width: 700px) {
  .yield-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}

@media (max-width: 560px) {
  .farm-control { grid-template-columns: 38px auto 38px; row-gap: 10px; }
  .level-slider { grid-column: 1 / -1; }
  .step-btn { width: 38px; height: 38px; }
  .control-grid { gap: 8px; }
  .segmented button { font-size: 11px; }
  .yield-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .yield-card { padding: 10px 9px; }
  .ghost-btn { margin-left: 0; }
  .table-scroll { max-height: 300px; }
  .tab { font-size: 12px; }
}

@media (max-width: 360px) {
  .yield-grid { grid-template-columns: 1fr; }
  .chip { padding: 5px 8px; font-size: 10px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; }
}
