:root {
  color-scheme: light;
  --bg: #f6f9f8;
  --panel: #fff;
  --ink: #1e3030;
  --muted: #526b65;
  --line: #dfe8e5;
  --soft: #f0f5f3;
  --accent: #2d705f;
  --accent-soft: #e9f5f0;
  --amber: #8e631f;
  --amber-soft: #fff4e3;
  --shadow: 0 14px 45px #21463907;
}
:root[data-theme="dark"] {
  color-scheme: dark;
  --bg: #0d1414;
  --panel: #151f20;
  --ink: #e9f2ef;
  --muted: #a1b5af;
  --line: #2a3d38;
  --soft: #1c2b27;
  --accent: #93d1b8;
  --accent-soft: #20392e;
  --amber: #edc287;
  --amber-soft: #352c1e;
  --shadow: 0 14px 45px #0002;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme]) {
    color-scheme: dark;
    --bg: #0d1414;
    --panel: #151f20;
    --ink: #e9f2ef;
    --muted: #a1b5af;
    --line: #2a3d38;
    --soft: #1c2b27;
    --accent: #93d1b8;
    --accent-soft: #20392e;
    --amber: #edc287;
    --amber-soft: #352c1e;
    --shadow: 0 14px 45px #0002;
  }
  :root:not([data-theme]) .guide-page {
    --muted: #b2c4be;
  }
}
body:has(noscript .no-script) .workspace-bar,
body:has(noscript .no-script) .metrics,
body:has(noscript .no-script) .workspace,
body:has(noscript .no-script) .journal-section,
body:has(noscript .no-script) button {
  display: none;
}
.no-script {
  max-width: 1000px;
  margin: 24px auto;
  padding: 24px;
}
* {
  box-sizing: border-box;
}
body {
  margin: 0;
  background:
    radial-gradient(ellipse at 75% 0, #95ccaa0c, transparent 50%), var(--bg);
  color: var(--ink);
  font:
    14px/1.55 Inter,
    ui-sans-serif,
    system-ui,
    -apple-system,
    BlinkMacSystemFont,
    "Segoe UI",
    sans-serif;
}
button,
input,
select {
  font: inherit;
}
button,
a,
input,
select {
  -webkit-tap-highlight-color: transparent;
}
button {
  min-height: 42px;
  padding: 10px 15px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: var(--panel);
  color: var(--ink);
  font-weight: 560;
  cursor: pointer;
  transition: background 0.16s;
}
button:hover {
  background: var(--soft);
}
button:disabled {
  opacity: 0.45;
  cursor: not-allowed;
}
input,
select {
  min-height: 44px;
  width: 100%;
  padding: 10px 12px;
  border: 1px solid var(--line);
  border-radius: 9px;
  background: var(--panel);
  color: var(--ink);
}
input::placeholder {
  color: var(--muted);
}
button:focus-visible,
input:focus-visible,
select:focus-visible,
a:focus-visible {
  outline: 3px solid var(--accent);
  outline-offset: 3px;
}
input:disabled,
select:disabled {
  opacity: 0.6;
}
a {
  color: inherit;
  text-decoration: none;
}
a:hover {
  text-decoration: underline;
}
h1,
h2,
h3,
p {
  margin: 0;
}
h2 {
  font-size: 22px;
  letter-spacing: -0.6px;
  line-height: 1.3;
}
h3 {
  font-size: 14px;
}
p {
  overflow-wrap: anywhere;
}
.shell {
  max-width: 1456px;
  margin: auto;
  padding: 0 48px;
}
header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 28px 0;
  gap: 20px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 15px;
  font-weight: 700;
  letter-spacing: 2px;
}
.brand:hover {
  text-decoration: none;
}
.header-actions,
.toolbar {
  display: flex;
  align-items: center;
  gap: 10px;
}
.badge {
  font-size: 10px;
  color: var(--muted);
  border: 1px solid var(--line);
  padding: 7px 12px;
  border-radius: 25px;
}
.icon-button {
  font-size: 22px;
  min-width: 44px;
  padding: 4px;
}
.quiet {
  background: transparent;
  border-color: transparent;
  color: var(--accent);
}
.primary {
  color: white;
  background: linear-gradient(120deg, #4d927f, #557f88);
  border-color: transparent;
  box-shadow: 0 5px 18px #4d927f2b;
}
.primary:hover {
  background: linear-gradient(120deg, #3d816e, #456f78);
}
.full {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.hero {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 40px;
  padding: 46px 0;
}
.eyebrow {
  font-size: 10px;
  letter-spacing: 1.8px;
  color: var(--muted);
  font-weight: 700;
  margin-bottom: 12px;
}
.hero .eyebrow {
  color: var(--accent);
  display: flex;
  gap: 10px;
  align-items: center;
  margin-bottom: 22px;
}
.eyebrow > span {
  width: 6px;
  height: 6px;
  background: var(--accent);
  border-radius: 50%;
}
h1 {
  font-size: clamp(38px, 4.1vw, 60px);
  font-weight: 640;
  line-height: 1.1;
  letter-spacing: -2.4px;
}
h1 em {
  font-style: normal;
  background: linear-gradient(95deg, #508c83, #7a9c8a, #8d95bd);
  background-clip: text;
  color: transparent;
}
.lede {
  font-size: 15px;
  color: var(--muted);
  line-height: 1.8;
  margin-top: 22px;
}
.hero-aside {
  border-left: 1px solid var(--line);
  padding: 15px 38px;
  transform: rotate(-3deg);
  margin-right: 10px;
}
.hero-aside > span {
  font-size: 38px;
  color: var(--accent);
}
.hero-aside p {
  font-size: 24px;
  letter-spacing: -0.4px;
  margin: 9px 0;
  line-height: 1.5;
}
.hero-aside strong {
  font-weight: 550;
}
.hero-aside small {
  font-size: 10px;
  color: var(--muted);
}
.workspace-bar {
  border-top: 1px solid var(--line);
  padding: 24px 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}
.workspace-bar > span {
  font-size: 11px;
  color: var(--muted);
}
.workspace-bar > span:before {
  content: "";
  width: 6px;
  height: 6px;
  display: inline-block;
  margin-right: 8px;
  background: var(--accent);
  border-radius: 50%;
}
.metrics {
  display: grid;
  grid-template-columns: repeat(3, 1fr) 1.3fr;
  gap: 0;
  margin-bottom: 32px;
  border-block: 1px solid var(--line);
}
.metric {
  padding: 20px;
  min-width: 0;
  border-right: 1px solid var(--line);
}
.metric:last-child {
  border-right: 0;
}
.metric > span {
  font-size: 11px;
  color: var(--muted);
}
.metric > strong {
  display: block;
  font-size: 37px;
  font-weight: 620;
  letter-spacing: -1.3px;
  line-height: 1.5;
  margin: 6px 0;
}
.metric:nth-child(2) > strong {
  color: var(--accent);
}
.metric p {
  font-size: 10px;
  color: var(--muted);
}
#valuations {
  overflow-wrap: anywhere;
  display: grid;
  gap: 4px;
  min-height: 67px;
  align-content: center;
  font-size: 21px;
  letter-spacing: -0.5px;
  font-weight: 600;
}
.workspace {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 315px;
  gap: 24px;
  align-items: start;
}
.section-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 22px;
}
.section-heading .eyebrow {
  font-size: 9px;
  letter-spacing: 1.6px;
  margin-bottom: 8px;
}
.section-heading button {
  font-size: 12px;
}
.list-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 16px;
}
.list-toolbar > label {
  max-width: 225px;
}
.list-toolbar input {
  font-size: 12px;
}
.filters {
  display: flex;
  gap: 3px;
  padding: 4px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--soft);
}
.filters button {
  min-height: 34px;
  padding: 7px 11px;
  border-color: transparent;
  background: transparent;
  color: var(--muted);
  font-size: 11px;
  white-space: nowrap;
}
.filters button[aria-pressed="true"] {
  background: var(--panel);
  border-color: var(--line);
  color: var(--ink);
}
.stock-card {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) 0.7fr 0.7fr auto;
  gap: 16px;
  align-items: center;
  background: var(--panel);
  border-bottom: 1px solid var(--line);
  padding: 18px 12px;
}
.stock-card h3 {
  font-size: 14px;
  overflow-wrap: anywhere;
  line-height: 1.4;
}
.stock-card .sku {
  font-size: 10px;
  color: var(--muted);
  margin-top: 5px;
}
.stock-stat > span {
  display: block;
  font-size: 9px;
  color: var(--muted);
  margin-bottom: 5px;
}
.stock-stat > strong {
  font-size: 17px;
  font-weight: 600;
  overflow-wrap: anywhere;
}
.stock-stat > small {
  display: block;
  font-size: 10px;
  color: var(--muted);
  margin-top: 3px;
}
.stock-card > button {
  font-size: 11px;
  padding: 9px 12px;
}
.status-pill {
  font-size: 9px;
  color: var(--accent);
  background: var(--accent-soft);
  padding: 4px 7px;
  border-radius: 7px;
  display: inline-block;
  margin-top: 8px;
}
.status-pill.warn {
  color: var(--amber);
  background: var(--amber-soft);
}
.pagination {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  margin: 18px 0;
}
.pagination > span {
  font-size: 10px;
  color: var(--muted);
}
.pagination button {
  font-size: 10px;
  padding: 8px 10px;
  min-height: 36px;
}
.stock-actions {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-top: 20px;
}
.stock-actions button {
  font-size: 11px;
  padding: 9px 12px;
}
.panel {
  padding: 24px;
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 8px;
}
.incoming h2 {
  font-size: 19px;
}
.arrow-icon {
  font-size: 28px;
  color: var(--accent);
}
.order-card {
  padding: 14px 0;
  border-bottom: 1px solid var(--line);
}
.order-card:first-child {
  padding-top: 0;
}
.order-card h3 {
  font-size: 12px;
  margin-bottom: 5px;
  overflow-wrap: anywhere;
}
.order-card p {
  font-size: 10px;
  color: var(--muted);
  line-height: 1.8;
}
.order-card strong {
  font-size: 15px;
  font-weight: 600;
  display: block;
  margin: 7px 0;
}
.order-card .toolbar {
  gap: 6px;
  margin-top: 9px;
}
.order-card button {
  font-size: 10px;
  padding: 7px 10px;
  min-height: 34px;
}
.incoming > .quiet {
  font-size: 11px;
  padding: 10px 0;
  margin-top: 15px;
}
.field-note {
  font-size: 11px;
  color: var(--muted);
  line-height: 1.8;
  margin: 13px 0 0;
}
.plan-note {
  padding: 24px 10px;
  color: var(--muted);
}
.plan-note > span {
  color: var(--accent);
  font-size: 28px;
}
.plan-note h3 {
  color: var(--ink);
  margin: 8px 0;
}
.plan-note p {
  font-size: 11px;
  line-height: 1.8;
}
.plan-note button {
  font-size: 11px;
  padding: 8px 0;
  margin-top: 10px;
}
.journal-section {
  margin-top: 42px;
  border-top: 1px solid var(--line);
  padding-top: 30px;
}
.journal-row {
  display: grid;
  grid-template-columns: 130px minmax(0, 1fr) auto;
  align-items: start;
  gap: 20px;
  border-bottom: 1px solid var(--line);
  padding: 16px 4px;
  font-size: 11px;
}
.journal-row > time {
  font-size: 10px;
  color: var(--muted);
}
.journal-row strong {
  font-size: 12px;
  font-weight: 550;
  overflow-wrap: anywhere;
}
.journal-row p {
  font-size: 11px;
  color: var(--muted);
  margin-top: 5px;
}
.journal-delta {
  font-size: 13px;
  font-weight: 600;
  white-space: nowrap;
}
.bottom-note {
  border-top: 1px solid var(--line);
  display: flex;
  gap: 25px;
  padding: 25px 0;
  margin-top: 36px;
}
.bottom-note strong {
  font-size: 12px;
  min-width: 180px;
  font-weight: 600;
}
.bottom-note p {
  color: var(--muted);
  font-size: 11px;
  max-width: 700px;
  line-height: 1.8;
}
footer {
  border-top: 1px solid var(--line);
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  padding: 24px 0;
  font-size: 10px;
  letter-spacing: 1px;
}
footer > div {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 20px;
  font-size: 11px;
  letter-spacing: 0;
}
.muted {
  color: var(--muted);
}
.link-button {
  border: 0;
  background: transparent;
  color: var(--accent);
  font-size: 11px;
  padding: 0;
}
.notice {
  padding: 14px 17px;
  border-radius: 12px;
  background: var(--accent-soft);
  color: var(--accent);
  font-size: 12px;
  line-height: 1.8;
  margin-bottom: 20px;
}
.notice .toolbar {
  margin-top: 12px;
  flex-wrap: wrap;
}
.warning {
  background: var(--amber-soft);
  color: var(--amber);
}
.empty {
  padding: 28px 18px;
  text-align: center;
  border-block: 1px solid var(--line);
  color: var(--muted);
  font-size: 12px;
  line-height: 1.9;
}
.empty strong {
  display: block;
  color: var(--ink);
  font-size: 17px;
  margin-bottom: 8px;
}
.incoming .empty {
  padding: 20px 13px;
}
.page-heading {
  padding: 22px 0 26px;
}
.page-heading h1 {
  font-size: clamp(28px, 3vw, 38px);
  letter-spacing: -1px;
  line-height: 1.2;
}
.page-heading p {
  margin-top: 12px;
  color: var(--muted);
  font-size: 14px;
}
.wrap {
  flex-wrap: wrap;
}
.skip {
  position: fixed;
  top: 12px;
  left: 16px;
  z-index: 50;
  padding: 12px;
  background: var(--panel);
  border: 1px solid var(--accent);
  border-radius: 8px;
}
.skip:not(:focus) {
  clip-path: inset(50%);
  width: 1px;
  height: 1px;
  overflow: hidden;
  padding: 0;
  border: 0;
}
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip-path: inset(50%);
}
[hidden] {
  display: none !important;
}
dialog {
  width: min(700px, calc(100% - 28px));
  max-height: calc(100dvh - 40px);
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: 21px;
  background: var(--panel);
  color: var(--ink);
  box-shadow: 0 30px 100px #0005;
}
dialog::backdrop {
  background: #07130f99;
  backdrop-filter: blur(5px);
}
.dialog-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 22px;
}
.dialog-heading .eyebrow {
  font-size: 9px;
}
.fields {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 17px;
}
.fields.three {
  grid-template-columns: repeat(3, 1fr);
}
.wide {
  grid-column: 1/-1;
}
.fields label {
  font-size: 11px;
  color: var(--muted);
  font-weight: 600;
}
.fields input,
.fields select {
  margin-top: 7px;
  font-weight: 450;
  font-size: 13px;
}
.form-subheading {
  border-top: 1px solid var(--line);
  margin: 25px 0 18px;
  padding-top: 22px;
  font-size: 15px;
}
form > .primary {
  margin-top: 24px;
}
.data-block {
  padding: 22px 0;
  border-top: 1px solid var(--line);
}
.data-block p {
  font-size: 12px;
  color: var(--muted);
  line-height: 1.8;
  margin-top: 10px;
}
.data-block .toolbar {
  margin-top: 16px;
}
.data-block button {
  font-size: 11px;
}
.help-copy h3 {
  margin: 22px 0 8px;
}
.help-copy p {
  font-size: 13px;
  color: var(--muted);
  line-height: 1.9;
  margin-bottom: 12px;
}
#confirm-dialog {
  max-width: 480px;
}
#confirm-dialog p {
  color: var(--muted);
  margin: 16px 0 24px;
}
.detail-metrics {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  margin-bottom: 22px;
}
.detail-metrics > div {
  background: var(--soft);
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: 12px;
}
.detail-metrics span {
  font-size: 10px;
  color: var(--muted);
}
.detail-metrics strong {
  font-size: 22px;
  font-weight: 600;
  display: block;
  margin-top: 6px;
  overflow-wrap: anywhere;
}
.detail-rules {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px 24px;
  margin: 20px 0;
}
.detail-rules > div {
  display: flex;
  gap: 14px;
  justify-content: space-between;
  padding: 8px 0;
  border-bottom: 1px solid var(--line);
  font-size: 11px;
}
.detail-rules dt {
  color: var(--muted);
}
.detail-rules dd {
  margin: 0;
  text-align: right;
  font-weight: 550;
}
.detail-explanation {
  background: var(--accent-soft);
  color: var(--accent);
  padding: 18px;
  border-radius: 12px;
  font-size: 12px;
  line-height: 1.9;
  margin-bottom: 22px;
}
.wide-dialog {
  width: min(1000px, calc(100% - 28px));
}
.order-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}
.order-grid .order-card {
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 17px;
  background: var(--soft);
}
@media (max-width: 1150px) {
  .shell {
    padding: 0 28px;
  }
  .workspace {
    grid-template-columns: minmax(0, 1fr) 280px;
    gap: 20px;
  }
  .hero-aside {
    padding: 15px 25px;
    margin: 0;
  }
  .metric {
    padding: 20px;
  }
  .list-toolbar {
    flex-wrap: wrap;
  }
  .list-toolbar > label {
    max-width: none;
    width: 100%;
  }
  .stock-card {
    padding: 17px;
    gap: 12px;
    grid-template-columns: minmax(0, 1.5fr) 1fr 1fr;
  }
  .stock-card > button {
    grid-column: 1/-1;
    justify-self: start;
  }
  .metrics {
    gap: 0;
  }
  .value-metric #valuations {
    font-size: 17px;
  }
}
@media (max-width: 900px) {
  .hero-aside {
    display: none;
  }
  .hero {
    padding: 32px 0;
  }
  .workspace {
    grid-template-columns: minmax(0, 1fr);
  }
  .workspace aside {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
  }
  .list-toolbar {
    flex-wrap: nowrap;
  }
  .list-toolbar > label {
    max-width: 260px;
  }
  .stock-card {
    grid-template-columns: minmax(0, 1.5fr) 1fr 1fr auto;
  }
  .stock-card > button {
    grid-column: auto;
  }
  .metrics {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .value-metric #valuations {
    font-size: 24px;
  }
  .workspace-bar {
    flex-wrap: wrap;
    gap: 15px;
  }
  .workspace-bar .toolbar {
    margin-left: auto;
  }
}
@media (max-width: 560px) {
  .shell {
    padding: 0 16px;
  }
  header {
    padding: 20px 0;
    gap: 10px;
  }
  .brand {
    font-size: 12px;
    letter-spacing: 1.4px;
    gap: 8px;
  }
  .brand img {
    width: 30px;
    height: 30px;
  }
  .badge {
    display: inline-block;
    order: -1;
    padding: 4px 7px;
  }
  .header-actions {
    gap: 2px;
    flex-wrap: wrap;
    justify-content: flex-end;
    max-width: 160px;
  }
  .header-actions .quiet {
    padding: 8px;
    font-size: 11px;
  }
  .hero {
    padding: 24px 0 30px;
  }
  h1 {
    font-size: 36px;
    letter-spacing: -1.6px;
  }
  .hero .eyebrow {
    font-size: 8px;
    letter-spacing: 1.4px;
  }
  .lede {
    font-size: 13px;
  }
  .workspace-bar {
    padding: 20px 0;
  }
  .workspace-bar .toolbar {
    width: 100%;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 5px;
  }
  .workspace-bar button {
    font-size: 10px;
    padding: 9px 7px;
  }
  .metric {
    padding: 17px;
  }
  .metric > span {
    font-size: 10px;
  }
  .metric > strong {
    font-size: 31px;
    margin: 7px 0;
  }
  .metric p {
    font-size: 9px;
  }
  .value-metric #valuations {
    font-size: 18px;
    min-height: 61px;
  }
  .metrics {
    gap: 0;
    margin-bottom: 27px;
  }
  .metric:nth-child(even) {
    border-right: 0;
  }
  .metric:nth-child(-n + 2) {
    border-bottom: 1px solid var(--line);
  }
  .section-heading {
    gap: 12px;
    flex-wrap: wrap;
  }
  .section-heading h2 {
    font-size: 20px;
  }
  .section-heading .eyebrow {
    font-size: 8px;
    letter-spacing: 1.2px;
  }
  .section-heading button {
    font-size: 11px;
    padding: 10px;
  }
  .list-toolbar {
    flex-wrap: wrap;
  }
  .list-toolbar > label {
    max-width: none;
    width: 100%;
  }
  .filters {
    width: 100%;
    justify-content: space-between;
    flex-wrap: wrap;
  }
  .filters button {
    font-size: 10px;
  }
  .stock-card {
    grid-template-columns: minmax(0, 1fr) 1fr;
    gap: 16px;
    padding: 18px;
  }
  .stock-card > div:first-child {
    grid-column: 1/-1;
  }
  .stock-card > button {
    grid-column: 1/-1;
    justify-self: stretch;
  }
  .stock-card h3 {
    font-size: 15px;
  }
  .stock-stat > strong {
    font-size: 20px;
  }
  .stock-card .status-pill {
    margin-top: 7px;
  }
  .stock-actions {
    gap: 7px;
  }
  .stock-actions button {
    font-size: 10px;
    padding: 9px;
  }
  .workspace aside {
    grid-template-columns: 1fr;
  }
  .plan-note {
    padding: 0 10px 10px;
  }
  .incoming {
    padding: 23px;
  }
  .journal-row {
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 7px 12px;
  }
  .journal-row > time {
    grid-column: 1/-1;
  }
  .journal-row p {
    font-size: 10px;
  }
  .journal-row > div:nth-child(2) {
    min-width: 0;
  }
  .journal-section {
    margin-top: 30px;
  }
  .journal-section .section-heading {
    align-items: flex-start;
  }
  .journal-section button {
    max-width: 120px;
  }
  .bottom-note {
    flex-direction: column;
    gap: 9px;
    margin-top: 25px;
  }
  footer {
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
  }
  .pagination {
    gap: 8px;
  }
  .pagination .toolbar {
    gap: 5px;
  }
  .pagination button {
    padding: 8px;
    font-size: 10px;
  }
  dialog {
    padding: 22px 17px;
  }
  .fields {
    gap: 15px 12px;
  }
  .fields.three {
    grid-template-columns: 1fr 1fr;
  }
  .fields label {
    font-size: 10px;
  }
  .fields input,
  .fields select {
    font-size: 12px;
    padding: 10px;
  }
  .dialog-heading h2 {
    font-size: 20px;
  }
  .detail-metrics {
    gap: 8px;
  }
  .detail-metrics > div {
    padding: 12px;
  }
  .detail-metrics strong {
    font-size: 18px;
  }
  .detail-metrics span {
    font-size: 9px;
  }
  .detail-rules {
    grid-template-columns: 1fr;
  }
  .order-grid {
    grid-template-columns: 1fr;
  }
  .toolbar.wrap button {
    font-size: 11px;
  }
  .detail-explanation {
    font-size: 11px;
  }
}
@media (prefers-reduced-motion: reduce) {
  * {
    transition: none !important;
    animation: none !important;
    scroll-behavior: auto !important;
  }
}
