:root {
  color-scheme: dark;
  --page: #070f1c;
  --panel: #111d2f;
  --panel-2: #152135;
  --line: rgba(132, 151, 180, .12);
  --gold: #d6ad57;
  --gold-light: #e8c779;
  --text: #f2f4f8;
  --muted: #929eaf;
  --up: #ed777c;
  --down: #48bea0;
  --flat: #8994a5;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  min-width: 320px;
  min-height: 100%;
  background: #050b14;
}

body {
  min-width: 320px;
  min-height: 100%;
  color: var(--text);
  background:
    radial-gradient(circle at 50% -180px, #18253a 0, #08111f 390px, #050b14 900px),
    #050b14;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Microsoft YaHei", sans-serif;
  -webkit-font-smoothing: antialiased;
}

button {
  border: 0;
  color: inherit;
  background: none;
  font: inherit;
}

.app-shell {
  position: relative;
  width: min(100%, 720px);
  min-height: 100vh;
  padding: max(29px, env(safe-area-inset-top)) 30px calc(30px + env(safe-area-inset-bottom));
  margin: 0 auto;
  overflow: hidden;
  background: linear-gradient(180deg, rgba(10, 20, 35, .94), rgba(6, 14, 26, .99));
  box-shadow: 0 0 80px rgba(0, 0, 0, .32);
}

.ambient {
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
  filter: blur(14px);
}

.ambient-left {
  top: -170px;
  left: -260px;
  width: 570px;
  height: 510px;
  background: radial-gradient(circle, rgba(57, 78, 105, .25), transparent 67%);
}

.ambient-right {
  top: 150px;
  right: -350px;
  width: 620px;
  height: 620px;
  background: radial-gradient(circle, rgba(179, 139, 54, .065), transparent 67%);
}

.hero,
.market-tabs,
.data-section,
.breadth-card,
.footer-card,
.disclaimer {
  position: relative;
  z-index: 1;
}

.hero {
  display: grid;
  grid-template-columns: 92px minmax(0, 1fr) auto;
  align-items: center;
  min-height: 146px;
  padding: 24px 25px;
  border: 1px solid rgba(206, 168, 84, .4);
  border-radius: 27px;
  background: linear-gradient(135deg, rgba(23, 36, 57, .98), rgba(14, 26, 44, .98));
  box-shadow: 0 19px 55px rgba(0, 0, 0, .19), inset 0 1px rgba(255, 255, 255, .02);
}

.brand-icon {
  display: grid;
  place-items: center;
  width: 79px;
  height: 79px;
  border-radius: 18px;
  background: linear-gradient(145deg, #12233d, #08172b);
  box-shadow: inset 0 1px rgba(255, 255, 255, .03), 0 10px 25px rgba(0, 0, 0, .2);
}

.brand-icon svg {
  width: 49px;
  height: 49px;
  filter: drop-shadow(0 4px 6px rgba(0, 0, 0, .25));
}

.brand-copy {
  min-width: 0;
}

.brand-copy h1 {
  overflow: hidden;
  color: #f7f8fa;
  font-size: clamp(28px, 5.1vw, 40px);
  font-weight: 800;
  line-height: 1.14;
  letter-spacing: .5px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.brand-copy p {
  margin-top: 13px;
  overflow: hidden;
  color: #8c98aa;
  font-size: clamp(16px, 2.9vw, 22px);
  text-overflow: ellipsis;
  white-space: nowrap;
}

.market-meta {
  display: flex;
  align-items: flex-end;
  flex-direction: column;
  margin-left: 17px;
}

.market-meta time {
  color: #caa85d;
  font-size: clamp(14px, 2.5vw, 20px);
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
}

.status-pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 123px;
  min-height: 37px;
  padding: 5px 15px;
  margin-top: 12px;
  border: 1px solid rgba(203, 165, 80, .4);
  border-radius: 999px;
  color: #c9a85f;
  background: rgba(184, 143, 55, .07);
  font-size: clamp(14px, 2.35vw, 19px);
  white-space: nowrap;
}

.market-tabs {
  display: grid;
  grid-template-columns: minmax(104px, 1.7fr) repeat(6, minmax(40px, 1fr));
  overflow-x: auto;
  gap: 8px;
  margin-top: 17px;
  padding: 7px;
  border: 1px solid rgba(133, 151, 178, .11);
  border-radius: 16px;
  background: rgba(15, 27, 44, .9);
  box-shadow: inset 0 1px rgba(255, 255, 255, .015);
}

.market-tab {
  min-width: 0;
  min-height: 39px;
  padding: 7px 5px;
  border: 1px solid transparent;
  border-radius: 11px;
  color: #79869a;
  font-size: 15px;
  font-weight: 650;
  white-space: nowrap;
  cursor: pointer;
  transition: color .16s, background .16s, border-color .16s, transform .12s;
  -webkit-tap-highlight-color: transparent;
}

.market-tab:hover {
  color: #b4bdca;
  background: rgba(255, 255, 255, .025);
}

.market-tab.active {
  color: #f0d391;
  border-color: rgba(212, 174, 88, .26);
  background: linear-gradient(145deg, rgba(48, 57, 70, .8), rgba(31, 43, 60, .85));
  box-shadow: 0 4px 13px rgba(0, 0, 0, .16), inset 0 1px rgba(255, 255, 255, .025);
}

.market-tab:active {
  transform: scale(.96);
}

.market-tab:focus-visible,
.footer-card:focus-visible,
.economy-card:focus-visible,
.industry-card:focus-visible {
  outline: 2px solid var(--gold-light);
  outline-offset: 2px;
}

.data-section {
  margin-top: 18px;
}

.section-title {
  display: flex;
  align-items: center;
  min-height: 36px;
  color: #f1f0ee;
  font-size: clamp(23px, 4.1vw, 30px);
  font-weight: 770;
  line-height: 1.2;
}

.section-title::before {
  width: 6px;
  height: 25px;
  margin-right: 12px;
  border-radius: 99px;
  background: linear-gradient(180deg, #efc66b, #ae7d2d);
  box-shadow: 0 0 14px rgba(222, 181, 88, .14);
  content: "";
}

.economy-grid,
.industry-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px 14px;
  margin-top: 10px;
}

.economy-card,
.industry-card {
  min-width: 0;
  border: 1px solid var(--line);
  color: inherit;
  background: linear-gradient(145deg, rgba(21, 33, 52, .99), rgba(17, 29, 47, .99));
  box-shadow: inset 0 1px rgba(255, 255, 255, .013), 0 8px 21px rgba(0, 0, 0, .07);
  cursor: default;
  transition: transform .14s, border-color .14s, background .14s;
  animation: card-in .3s both;
}

.economy-card:hover,
.industry-card:hover {
  border-color: rgba(205, 169, 88, .18);
  background: linear-gradient(145deg, #192840, #142238);
  transform: translateY(-1px);
}

.economy-card {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  min-height: 110px;
  padding: 16px 18px;
  border-radius: 18px;
}

.economy-copy {
  display: flex;
  min-width: 0;
  flex-direction: column;
}

.economy-name {
  overflow: hidden;
  color: #dfe4eb;
  font-size: clamp(18px, 3.35vw, 25px);
  font-weight: 700;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.economy-value {
  margin-top: 4px;
  color: #f3f2ed;
  font-size: clamp(22px, 4vw, 30px);
  font-weight: 750;
  line-height: 1;
  font-variant-numeric: tabular-nums;
}

.economy-change {
  align-self: end;
  margin-left: 11px;
  padding-bottom: 2px;
  font-size: clamp(18px, 3.45vw, 25px);
  font-weight: 760;
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
}

.breadth-card {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  min-height: 83px;
  margin-top: 22px;
  padding: 10px 0;
  border: 1px solid rgba(202, 164, 81, .27);
  border-radius: 18px;
  background: linear-gradient(145deg, rgba(21, 34, 53, .98), rgba(16, 28, 46, .98));
}

.breadth-item {
  position: relative;
  display: flex;
  align-items: center;
  flex-direction: column;
  justify-content: center;
}

.breadth-item + .breadth-item::before {
  position: absolute;
  top: 9px;
  bottom: 9px;
  left: 0;
  width: 1px;
  background: rgba(126, 145, 173, .12);
  content: "";
}

.breadth-item strong {
  font-size: 35px;
  font-weight: 770;
  line-height: 1;
  font-variant-numeric: tabular-nums;
}

.breadth-item span {
  margin-top: 4px;
  color: #8793a4;
  font-size: 19px;
}

.industry-section {
  margin-top: 18px;
}

.industry-grid {
  gap: 9px 14px;
}

.industry-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 67px;
  padding: 12px 20px;
  border-radius: 15px;
}

.industry-name {
  display: flex;
  flex: 1;
  gap: 7px;
  align-items: center;
  min-width: 0;
  margin-right: 8px;
  overflow: hidden;
  color: #e5e9ef;
  font-size: clamp(18px, 3.25vw, 24px);
  font-weight: 690;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.industry-icon {
  flex: 0 0 auto;
  width: 25px;
  font-size: .92em;
  text-align: center;
}

.industry-label {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.industry-change {
  flex: 0 0 auto;
  font-size: clamp(18px, 3.25vw, 24px);
  font-weight: 760;
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
}

.up { color: var(--up); }
.down { color: var(--down); }
.flat { color: var(--flat); }

.footer-card {
  display: flex;
  align-items: center;
  width: 100%;
  min-height: 64px;
  padding: 0 28px;
  margin-top: 26px;
  border: 1px solid rgba(205, 168, 83, .36);
  border-radius: 17px;
  color: #e8cb86;
  background: linear-gradient(135deg, rgba(36, 51, 75, .95), rgba(26, 40, 61, .95));
  font-size: 22px;
  font-weight: 720;
  cursor: pointer;
  transition: background .15s, border-color .15s;
}

.footer-card:hover {
  border-color: rgba(224, 187, 101, .55);
  background: linear-gradient(135deg, #293a57, #1e304b);
}

.refresh-copy {
  margin-left: auto;
  color: #a88e57;
  font-size: 16px;
  font-weight: 600;
}

.footer-card svg {
  width: 19px;
  height: 19px;
  margin-left: 9px;
  fill: none;
  stroke: #b59a61;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.8;
}

.footer-card.refreshing svg {
  animation: spin .7s linear infinite;
}

.disclaimer {
  margin: 14px 0 0;
  color: #566276;
  font-size: 12px;
  line-height: 1.5;
  text-align: center;
}

.toast {
  position: fixed;
  z-index: 20;
  left: 50%;
  bottom: max(28px, calc(env(safe-area-inset-bottom) + 18px));
  max-width: calc(100% - 40px);
  padding: 10px 17px;
  border: 1px solid rgba(210, 174, 93, .25);
  border-radius: 999px;
  color: #e7cf98;
  background: rgba(18, 31, 50, .97);
  box-shadow: 0 10px 32px rgba(0, 0, 0, .32);
  font-size: 13px;
  white-space: nowrap;
  opacity: 0;
  pointer-events: none;
  transform: translate(-50%, 16px);
  transition: opacity .18s, transform .18s;
}

.toast.visible {
  opacity: 1;
  transform: translate(-50%, 0);
}

@keyframes card-in {
  from {
    opacity: 0;
    transform: translateY(6px);
  }
}

@keyframes spin {
  to { transform: rotate(360deg); }
}

@media (max-width: 560px) {
  .app-shell {
    padding: max(18px, env(safe-area-inset-top)) 16px calc(25px + env(safe-area-inset-bottom));
  }

  .hero {
    grid-template-columns: 58px minmax(0, 1fr) auto;
    min-height: 115px;
    padding: 17px 16px;
    border-radius: 21px;
  }

  .brand-icon {
    width: 49px;
    height: 49px;
    border-radius: 13px;
  }

  .brand-icon svg {
    width: 34px;
    height: 34px;
  }

  .brand-copy h1 {
    font-size: clamp(21px, 6.1vw, 27px);
  }

  .brand-copy p {
    margin-top: 7px;
    font-size: clamp(11px, 3vw, 13px);
  }

  .market-meta {
    margin-left: 7px;
  }

  .market-meta time {
    font-size: clamp(10px, 2.75vw, 12px);
  }

  .status-pill {
    min-width: 91px;
    min-height: 29px;
    padding: 4px 9px;
    margin-top: 9px;
    font-size: clamp(10px, 2.75vw, 12px);
  }

  .market-tabs {
    gap: 5px;
    margin-top: 12px;
    padding: 5px;
    border-radius: 13px;
  }

  .market-tab {
    min-height: 33px;
    padding: 5px 2px;
    border-radius: 9px;
    font-size: clamp(11px, 3vw, 13px);
  }

  .data-section {
    margin-top: 16px;
  }

  .section-title {
    min-height: 31px;
    font-size: clamp(20px, 5.8vw, 25px);
  }

  .section-title::before {
    width: 5px;
    height: 22px;
    margin-right: 9px;
  }

  .economy-grid,
  .industry-grid {
    gap: 8px;
    margin-top: 8px;
  }

  .economy-card {
    min-height: 76px;
    padding: 12px 12px;
    border-radius: 14px;
  }

  .economy-name {
    font-size: clamp(14px, 4vw, 17px);
  }

  .economy-value {
    margin-top: 3px;
    font-size: clamp(18px, 5vw, 22px);
  }

  .economy-change {
    margin-left: 5px;
    font-size: clamp(14px, 4vw, 17px);
  }

  .breadth-card {
    min-height: 67px;
    margin-top: 14px;
    border-radius: 14px;
  }

  .breadth-item strong {
    font-size: 28px;
  }

  .breadth-item span {
    font-size: 15px;
  }

  .industry-section {
    margin-top: 15px;
  }

  .industry-card {
    min-height: 54px;
    padding: 10px 12px;
    border-radius: 13px;
  }

  .industry-name,
  .industry-change {
    font-size: clamp(14px, 4vw, 17px);
  }

  .industry-name {
    gap: 4px;
    margin-right: 5px;
  }

  .industry-icon {
    width: 20px;
  }

  .footer-card {
    min-height: 58px;
    padding: 0 18px;
    margin-top: 20px;
    border-radius: 14px;
    font-size: 18px;
  }

  .refresh-copy {
    font-size: 13px;
  }
}

@media (max-width: 365px) {
  .hero {
    grid-template-columns: 52px minmax(0, 1fr) auto;
    padding-right: 12px;
    padding-left: 12px;
  }

  .brand-icon {
    width: 44px;
    height: 44px;
  }

  .brand-copy h1 {
    font-size: 20px;
  }

  .brand-copy p {
    max-width: 145px;
    font-size: 10px;
  }

  .market-meta time,
  .status-pill {
    font-size: 9px;
  }

  .status-pill {
    min-width: 79px;
  }

  .market-tabs {
    gap: 3px;
  }

  .market-tab {
    font-size: 10px;
  }

  .economy-card,
  .industry-card {
    padding-right: 9px;
    padding-left: 9px;
  }

  .economy-name,
  .economy-change,
  .industry-name,
  .industry-change {
    font-size: 13px;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .01ms !important;
  }
}

[hidden] { display: none !important; }
.quick-filters { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 12px; }
.quick-filters button { border: 1px solid var(--line); border-radius: 20px; background: var(--panel); color: var(--muted); padding: 8px 12px; font: inherit; font-size: 12px; cursor: pointer; }
.quick-filters button[aria-pressed="true"] { color: var(--gold); border-color: var(--gold); background: #292b2b; }
.quick-filters button:focus-visible, .favorite-button:focus-visible { outline: 2px solid var(--gold); outline-offset: 2px; }
.source-link { display: inline-block; margin-top: 8px; color: var(--gold); font-size: 12px; }
.favorite-button { position: absolute; top: 3px; right: 4px; width: 30px; height: 30px; border: 0; border-radius: 6px; background: transparent; color: var(--muted); font-size: 21px; cursor: pointer; }
.favorite-button[aria-pressed="true"] { color: var(--gold); }
.data-status, .source-info, .board-count {
  margin-top: 12px;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.7;
}
.data-status { color: #cbb47c; }
.board-controls { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 14px; }
.board-controls input, .board-controls select {
  min-height: 40px;
  padding: 8px 10px;
  border: 1px solid var(--line);
  border-radius: 9px;
  color: var(--text);
  background: var(--panel);
  font: inherit;
  font-size: 13px;
}
.board-controls input { flex: 1 1 170px; min-width: 0; }
.board-controls select { flex: 0 1 auto; }
.board-controls :focus-visible { outline: 2px solid var(--gold); outline-offset: 2px; }
.empty-state {
  margin-top: 12px;
  padding: 26px 18px;
  border: 1px dashed rgba(214, 173, 87, .28);
  border-radius: 14px;
  color: var(--muted);
  background: var(--panel);
  font-size: 14px;
  line-height: 1.8;
  text-align: center;
}
.industry-card { position: relative; gap: 9px; padding: 30px 12px 12px; animation: none; }
.board-copy { flex: 1; min-width: 0; }
.board-rank { min-width: 22px; color: var(--gold); font-size: 12px; }
.board-copy .industry-name { display: block; font-size: 18px; margin: 0; }
.board-code { display: block; overflow-wrap: anywhere; margin-top: 5px; color: #8290a4; font-size: 11px; }
.board-copy .industry-name { overflow-wrap: anywhere; }
.industry-change { font-size: 18px; }
.market-meta time { font-size: 13px; }
@media (max-width: 560px) {
  .hero { grid-template-columns: 58px minmax(0, 1fr); row-gap: 14px; }
  .market-meta { grid-column: 1 / -1; flex-direction: row; justify-content: space-between; align-items: center; margin: 0; }
  .status-pill { margin-top: 0; }
  .industry-card { gap: 5px; padding: 30px 8px 10px; flex-wrap: wrap; }
  .board-rank { min-width: 16px; font-size: 10px; }
  .board-copy .industry-name { font-size: 14px; }
  .board-code { font-size: 10px; }
  .industry-change { width: 100%; text-align: right; font-size: 17px; }
  .breadth-item span { font-size: 13px; }
}

/* Aggregation workspace: one visual system, independent data sources. */
.app-shell.workspace-wide { width: min(100%, 1240px); }
.workspace-tabs { position: relative; z-index: 1; display: flex; gap: 4px; padding: 7px; margin: 14px 0 26px; border: 1px solid var(--line); border-radius: 14px; background: #0b1524; overflow-x: auto; scrollbar-width: thin; }
.workspace-tabs button { flex: 1 0 auto; min-height: 42px; padding: 9px 14px; border: 1px solid transparent; border-radius: 9px; font-size: 13px; font-weight: 600; color: var(--muted); cursor: pointer; transition: background .18s, color .18s; }
.workspace-tabs button:hover { color: var(--text); background: #162236; }
.workspace-tabs button[aria-selected="true"] { color: #f1d191; background: linear-gradient(120deg, #343126, #242e3b); border-color: #73603e; box-shadow: 0 3px 12px #0003; }
.workspace-tabs button:focus-visible, .text-button:focus-visible, .primary-button:focus-visible, .date-controls :focus-visible, .table-scroll:focus-visible { outline: 2px solid var(--gold); outline-offset: 2px; }
.dashboard-panel { position: relative; z-index: 1; }
.dashboard-heading, .date-controls { display: flex; align-items: center; justify-content: space-between; gap: 10px; flex-wrap: wrap; }
.section-eyebrow { display: block; margin-bottom: 9px; color: var(--gold); font-size: 10px; letter-spacing: 2px; font-weight: 600; }
.dashboard-panel .section-title { margin: 0; font-size: 28px; letter-spacing: .4px; }
.date-controls { justify-content: flex-start; color: var(--muted); font-size: 12px; }
.date-controls input, .date-controls button, .primary-button { min-height: 40px; border: 1px solid var(--line); padding: 9px 12px; border-radius: 9px; background: var(--panel); color: var(--text); font: inherit; cursor: pointer; }
.date-controls button { color: var(--gold); }
.dashboard-controls { padding: 12px; border: 1px solid var(--line); border-radius: 13px; background: #0e1828; margin: 18px 0 8px; }
.dashboard-controls input { max-width: 380px; }
.dashboard-metrics { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; margin: 16px 0; }
.dashboard-metric { display: flex; flex-direction: column; gap: 8px; min-width: 0; }
.dashboard-metrics > .dashboard-metric { padding: 18px 22px; border: 1px solid var(--line); border-radius: 14px; background: linear-gradient(140deg, #18263a, #111b2b); }
.dashboard-metric > span { color: var(--muted); font-size: 12px; }
.dashboard-metric > strong { font-size: 28px; font-weight: 650; font-variant-numeric: tabular-nums; }
.table-scroll { overflow-x: auto; border: 1px solid var(--line); border-radius: 14px; background: #101b2b; margin-top: 15px; scrollbar-width: thin; }
.dragon-table { width: 100%; min-width: 830px; border-collapse: collapse; font-size: 13px; text-align: left; font-variant-numeric: tabular-nums; }
.dragon-table th { background: #172438; color: #a7b4c7; font-size: 11px; font-weight: 500; padding: 15px; white-space: nowrap; }
.dragon-table td { padding: 17px 15px; border-top: 1px solid var(--line); white-space: nowrap; }
.dragon-table tbody tr:hover { background: #192a40; }
.dragon-table th:first-child, .dragon-table td:first-child { position: sticky; left: 0; z-index: 1; background: #142135; min-width: 120px; }
.dragon-table .reason-cell { max-width: 340px; min-width: 220px; color: #a4b0c1; white-space: normal; line-height: 1.65; font-size: 12px; }
.reason-cell .source-link { display: block; font-size: 10px; margin-top: 4px; }
.stock-identity { min-width: 0; display: flex; flex-direction: column; gap: 6px; }
.stock-identity strong { font-size: 14px; color: #eef1f7; font-weight: 600; overflow-wrap: anywhere; }
.stock-identity > span { font-size: 10px; color: #8291a8; letter-spacing: .5px; }
.hot-columns { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; margin-top: 16px; }
.hot-platform { min-width: 0; border: 1px solid var(--line); border-radius: 16px; background: linear-gradient(165deg, #152236, #0f1929 45%); overflow: hidden; padding-bottom: 16px; }
.platform-heading { display: flex; align-items: center; justify-content: space-between; gap: 8px; padding: 19px 17px 13px; border-top: 3px solid var(--gold); background: #17253a; }
.platform-ths .platform-heading { border-top-color: #ed777c; }
.platform-xq .platform-heading { border-top-color: #75aaf5; }
.platform-heading h3 { font-size: 18px; font-weight: 650; margin-bottom: 6px; }
.micro-label { color: #91a0b6; font-size: 10px; font-weight: 400; letter-spacing: .2px; }
.feed-badge { display: inline-block; white-space: nowrap; border: 1px solid #53657d55; background: #607a9822; color: #a0b4cc; border-radius: 6px; font-size: 10px; padding: 5px 7px; }
.feed-badge.ok { color: #7ad2b8; background: #337b6426; }
.feed-badge.partial, .feed-badge.stale, .feed-badge.warning { color: #edc178; background: #a7792526; }
.feed-badge.unavailable { color: #f29b9b; }
.platform-note { padding: 12px 17px; min-height: 95px; color: #8e9db2; font-size: 11px; line-height: 1.7; border-bottom: 1px solid var(--line); }
.hot-list { list-style: none; max-height: 650px; overflow-y: auto; scrollbar-width: thin; scrollbar-color: #3e5069 #101b2b; }
.hot-row { display: grid; grid-template-columns: 24px minmax(0, 1fr) auto; align-items: center; gap: 8px; min-height: 72px; margin: 0 12px; padding: 13px 4px; border-bottom: 1px solid var(--line); }
.hot-row:hover { background: #20304855; }
.hot-rank { font-size: 12px; color: #74849b; font-variant-numeric: tabular-nums; font-style: italic; }
.hot-rank.top-three { color: #e4b962; font-size: 17px; font-weight: 700; }
.hot-stat { text-align: right; display: flex; flex-direction: column; gap: 6px; font-variant-numeric: tabular-nums; }
.hot-stat strong { font-size: 13px; font-weight: 600; }
.hot-stat span { font-size: 9px; color: #7e8ea5; }
.platform-stamp { margin: 12px 17px 0; color: #7d8ca3; font-size: 10px; line-height: 1.7; }
.hot-platform > .source-link { margin-left: 17px; }
.hot-columns .platform-heading { padding: 12px 10px; gap: 4px; flex-wrap: wrap; }
.hot-columns .platform-heading h3 { font-size: 15px; }
.hot-columns .platform-note { padding: 10px; min-height: 0; }
.hot-columns .hot-row { grid-template-columns: 18px minmax(0, 1fr) auto; gap: 4px; margin: 0 7px; min-height: 60px; padding: 10px 0; }
.hot-columns .stock-identity strong { font-size: 12px; }
.hot-columns .hot-stat strong { font-size: 11px; }
.hot-columns .platform-stamp { margin: 10px; }
#stock-movers-search { width: 100%; margin-top: 12px; padding: 12px; border: 1px solid var(--line); border-radius: 10px; background: var(--panel); color: var(--text); }
.unusual-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; margin-top: 16px; }
.unusual-card { padding: 22px; border: 1px solid var(--line); border-radius: 16px; background: linear-gradient(130deg, #17253a, #101c2d); }
.unusual-head { display: flex; justify-content: space-between; align-items: center; gap: 8px; }
.unusual-head .stock-identity strong { font-size: 18px; }
.unusual-values { display: flex; gap: 22px; justify-content: space-between; margin: 23px 0; }
.unusual-values .dashboard-metric strong { font-size: 22px; }
.unusual-values .dashboard-metric span { font-size: 10px; }
.trigger-line { display: flex; justify-content: space-between; align-items: center; gap: 10px; background: #d6ad570d; border: 1px solid #d6ad5726; border-radius: 9px; padding: 12px; }
.trigger-line span { font-size: 11px; color: #b8a989; }
.trigger-line strong { color: var(--gold-light); font-size: 19px; }
.rule-copy { min-height: 38px; margin-top: 14px; color: #8e9eb4; font-size: 11px; line-height: 1.8; }
.text-button { cursor: pointer; color: #dabb7f; font-size: 11px; padding: 12px 0 0; }
.primary-button { color: #1e2430; font-weight: 650; background: linear-gradient(120deg, #e4c481, #c59b51); border-color: #ddbe7b; }
.primary-button:hover { filter: brightness(1.08); }
.primary-button:disabled { opacity: .55; cursor: wait; }
.reference-result { margin-top: 18px; padding: 22px; border: 1px solid var(--line); border-radius: 16px; background: #122035; }
.reference-heading { display: flex; align-items: center; flex-wrap: wrap; gap: 22px; }
.reference-heading .stock-identity { margin-right: auto; }
.reference-heading .stock-identity strong { font-size: 22px; }
.reference-windows { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin-top: 18px; }
.reference-window { padding: 18px; border: 1px solid var(--line); border-radius: 12px; background: #0e1a2c; }
.reference-window h4 { color: #b8c6d8; margin-bottom: 16px; font-size: 14px; }
.reference-window .dashboard-metric { margin-top: 15px; }
.reference-window .dashboard-metric strong { font-size: 23px; }
.gold-text { color: var(--gold-light); }
.calculator-layout { display: grid; grid-template-columns: 1.15fr 1fr; gap: 20px; margin-top: 26px; }
.scenario-form, .scenario-output { padding: 25px; border: 1px solid var(--line); border-radius: 16px; background: #122034; }
.scenario-form h3, .scenario-output h3 { font-size: 18px; font-weight: 600; line-height: 1.5; }
.scenario-form label { display: flex; flex-direction: column; gap: 9px; margin-top: 17px; color: #a6b4c6; font-size: 11px; }
.scenario-form input, .scenario-form select { width: 100%; min-width: 0; min-height: 42px; border: 1px solid #53647d55; border-radius: 8px; padding: 10px; color: var(--text); background: #0b1626; font: inherit; font-size: 12px; }
.scenario-form input:focus-visible, .scenario-form select:focus-visible { outline: 2px solid var(--gold); outline-offset: 1px; }
.scenario-fields { display: grid; grid-template-columns: 1fr 1fr; gap: 0 14px; }
.scenario-form .primary-button { width: 100%; margin-top: 22px; font-size: 13px; }
.scenario-output { background: radial-gradient(ellipse at top right, #7461381a, transparent 65%), #0d192b; }
.scenario-output > p { margin-top: 14px; color: #92a2b9; font-size: 12px; line-height: 1.9; }
.scenario-output .dashboard-metric { margin: 24px 0 18px; }
.scenario-output .dashboard-metric strong { font-size: 36px; }
.scenario-output .scenario-warning { color: #efba76; border: 1px solid #a87c3344; padding: 10px; border-radius: 8px; }
.scenario-output .scenario-verdict { color: #a7bbd8; }
.scenario-boundary { display: grid; grid-template-columns: 1fr auto; gap: 8px; border-bottom: 1px solid var(--line); padding: 18px 0; }
.scenario-boundary span { color: #9faec2; font-size: 12px; }
.scenario-boundary strong { color: var(--gold-light); font-size: 21px; }
.scenario-boundary small { grid-column: 1 / -1; color: #8192aa; font-size: 11px; text-align: right; }
.scenario-output .scenario-footnote { font-size: 11px; }
.method-note { margin-top: 20px; padding: 18px; border: 1px solid var(--line); border-radius: 13px; color: #9aabc2; font-size: 12px; line-height: 1.8; }
.method-note summary { cursor: pointer; color: var(--gold-light); }
.method-note p { margin-top: 12px; }
.method-note a { color: var(--gold-light); display: inline-block; margin-top: 12px; }
.app-shell { padding-bottom: calc(125px + env(safe-area-inset-bottom)); }
.workspace-tabs.bottom-navigation { position: fixed; z-index: 20; left: 50%; bottom: 0; transform: translateX(-50%); width: min(100%, 1240px); display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 6px; margin: 0; padding: 9px 16px calc(9px + env(safe-area-inset-bottom)); border: 1px solid #8b734944; border-bottom: 0; border-radius: 20px 20px 0 0; background: #0c1728f2; backdrop-filter: blur(18px); box-shadow: 0 -8px 35px #0007; overflow: visible; }
.market-section-tabs { margin-top: 14px; padding-bottom: 5px; }
.stock-card-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.stock-quote-card { padding: 17px 14px; background: #131f30; border: 1px solid #253247; border-radius: 17px; min-width: 0; }
.stock-quote-card .stock-identity { margin: 10px 0; }
.stock-price-line { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 8px; font-variant-numeric: tabular-nums; }
.stock-price-line > strong:first-child { font-size: 22px; }
.stock-quote-card .source-info { font-size: 10px; line-height: 1.7; margin: 12px 0 2px; overflow-wrap: anywhere; }
.stock-quote-card .source-link { font-size: 11px; }
#stock-movers-content { gap: 8px; }
.stock-quote-card.mover-card { padding: 10px 11px; border-radius: 11px; }
.mover-card .stock-identity { margin: 6px 0; gap: 3px; }
.mover-card .stock-identity strong { font-size: 13px; }
.mover-card .stock-price-line > strong { font-size: 15px; }
.mover-card .stock-price-line > strong:first-child { font-size: 17px; }
.mover-card .source-info { margin: 5px 0; font-size: 9px; }
.stock-context { margin-top: 7px; color: var(--muted); font-size: 10px; }
.context-chips { display: flex; flex-wrap: wrap; gap: 4px; }
.context-chip { display: inline-block; padding: 3px 6px; border: 1px solid #c5a26035; border-radius: 5px; color: #d6bd89; background: #d1ae6510; overflow-wrap: anywhere; }
.context-details { margin-top: 5px; font-size: 9px; color: var(--muted); line-height: 1.6; overflow-wrap: anywhere; }
.context-details summary { cursor: pointer; }
.context-details p { margin-top: 5px; }
[data-board-id] { cursor: pointer; }
[data-board-id]:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; }
#board-stocks-dialog { width: min(560px, calc(100% - 28px)); max-height: 85dvh; overflow-y: auto; margin: auto; padding: 20px; border: 1px solid #9b8356; border-radius: 18px; background: #111d2e; color: var(--text); }
#board-stocks-dialog::backdrop { background: #020611bb; backdrop-filter: blur(4px); }
.board-dialog-heading { display: flex; justify-content: space-between; align-items: center; gap: 12px; }
.board-dialog-heading h2 { font-size: 19px; }
#board-stocks-close { cursor: pointer; color: var(--gold); font-size: 28px; width: 36px; height: 36px; border: 0; background: none; }
#board-stocks-list .source-link { grid-column: 2 / -1; font-size: 10px; }
#seats-dialog { width: min(720px, calc(100% - 28px)); max-height: 85dvh; overflow-y: auto; margin: auto; padding: 20px; border: 1px solid #9b8356; border-radius: 18px; background: #111d2e; color: var(--text); }
#seats-dialog::backdrop { background: #020611bb; }
#seats-close { background: none; border: 0; color: var(--gold); font-size: 28px; cursor: pointer; }
.seat-columns { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.seat-row { padding: 12px; border-bottom: 1px solid var(--line); font-size: 12px; line-height: 1.7; }
@media (max-width: 560px) { .seat-columns { grid-template-columns: 1fr; } }
.theme-card h3 { font-size: 18px; margin: 12px 0; }
.theme-change { font-size: 24px; font-variant-numeric: tabular-nums; }
.etf-rank-row { padding: 16px; border-bottom: 1px solid #253247; }
.etf-row-heading { display: flex; gap: 9px; align-items: baseline; margin-bottom: 6px; }
.etf-row-heading strong { min-width: 0; overflow-wrap: anywhere; }
.etf-rank-row .stock-price-line { margin-top: 10px; }
.etf-rank-row .stock-price-line > strong:first-child { font-size: 19px; }
.etf-original { color: #8e9db2; font-size: 11px; margin-top: 8px; overflow-wrap: anywhere; }
.etf-original summary { cursor: pointer; }
.risk-pill { display: inline-block; padding: 3px 7px; border: 1px solid #a6834d; color: #e8c47b; border-radius: 6px; font-size: 11px; }
.etf-list { max-height: 950px; }
.etf-columns { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; margin-top: 16px; }
@media (max-width: 560px) {
  .etf-columns { grid-template-columns: repeat(2, minmax(275px, 1fr)); overflow-x: auto; padding-bottom: 12px; scroll-snap-type: x proximity; scrollbar-width: thin; }
  .etf-columns .hot-platform { scroll-snap-align: start; }
}
.etf-columns .platform-note { min-height: 0; margin: 0; }
.etf-columns .hot-platform > .platform-note { min-height: 60px; }
.etf-rank-row .platform-note { border: 0; padding: 8px 0; }
.etf-method { padding: 10px 17px; font-size: 11px; color: #8e9db2; line-height: 1.7; }
.etf-method summary { cursor: pointer; }
.bottom-navigation button { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 7px; min-width: 0; min-height: 61px; padding: 8px 3px; font-size: 12px; white-space: nowrap; }
.bottom-navigation button svg { width: 21px; height: 21px; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.bottom-navigation button > span { white-space: normal; line-height: 1.4; min-height: 28px; display: flex; align-items: center; justify-content: center; }
.overseas-cards .industry-card { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: center; min-height: 76px; padding: 15px 13px; gap: 10px; border-radius: 16px; }
.overseas-cards .board-rank, .overseas-cards .board-code { display: none; }
.overseas-cards .board-copy .industry-name { display: flex; align-items: center; gap: 7px; font-size: 17px; line-height: 1.4; }
.overseas-cards .industry-icon { flex: 0 0 22px; width: 22px; font-size: 19px; }
.overseas-cards .industry-label { min-width: 0; white-space: normal; overflow: visible; }
.overseas-cards .industry-change { width: auto; font-size: 19px; white-space: nowrap; margin: 0; }
.overseas-cards .favorite-button { position: static; grid-column: 2; justify-self: end; width: 24px; height: 20px; font-size: 16px; margin-top: -7px; opacity: .5; }
.overseas-cards .favorite-button[aria-pressed="true"], .overseas-cards .favorite-button:focus-visible { opacity: 1; }
.board-original { grid-column: 1; min-width: 0; color: #8494a9; font-size: 10px; line-height: 1.5; overflow-wrap: anywhere; }
.board-original summary { cursor: pointer; list-style: none; color: #7d8ea5; }
.board-original[open] { grid-column: 1 / -1; }
.board-original[open] span { display: block; margin-top: 6px; }
.overseas-cards .economy-card { display: grid; grid-template-columns: 1fr auto; align-items: center; gap: 3px 4px; }
.overseas-cards .economy-copy { display: contents; }
.overseas-cards .economy-name { grid-column: 1 / -1; grid-row: 1; white-space: normal; overflow: visible; font-size: 16px; }
.overseas-cards .economy-value { grid-column: 1; grid-row: 2; font-size: 21px; }
.overseas-cards .economy-change { grid-column: 2; grid-row: 2; font-size: 15px; margin-left: 0; }
.overseas-cards .economy-meta { grid-column: 1 / -1; }
.economy-source { color: #8b98ad; font-size: 12px; line-height: 1.7; margin: -4px 0 12px; }
.economy-meta { color: #8b98ad; font-size: 10px; font-weight: 400; line-height: 1.5; }
@media (max-width: 380px) {
  .overseas-cards .economy-card { grid-template-columns: minmax(0, 1fr); }
  .overseas-cards .economy-change { grid-column: 1; grid-row: 3; justify-self: end; }
}
.dashboard-panel { margin-top: 28px; }

/* Calculator: charcoal surfaces and yellow controls from the supplied reference. */
.app-shell.calculator-mode { width: min(760px, 100%); }
.a-board-provider { display: flex; align-items: center; gap: 10px; margin-bottom: 12px; color: var(--muted); font-size: 13px; }
.a-board-provider select { max-width: 100%; min-width: 0; padding: 8px 10px; border: 1px solid #344256; border-radius: 9px; background: #142034; color: var(--text); }
.calculator-mode > .hero { display: none; }
.calculator-mode #calculator-panel { margin-top: 0; --gold: #f4c20c; --gold-light: #ffd447; --line: #343a41; }
.calculator-mode .bottom-navigation { max-width: 760px; background: #20252aef; border-color: #3b4149; }
.calculator-mode .bottom-navigation button[aria-selected="true"] { background: #f3c20d15; border-color: #aa891d; color: #ffcd14; }
.calc-brand, .calc-search-card, .calc-surface { background: #1e2428; border: 1px solid #363c42; border-radius: 18px; padding: 24px; box-shadow: inset 0 1px 0 #ffffff05; }
.calc-brand { display: flex; align-items: center; gap: 15px; margin-bottom: 20px; }
.calc-brand-icon { display: grid; place-items: center; flex: 0 0 52px; height: 52px; border-radius: 14px; background: #f3c20b; color: #242010; font-size: 34px; font-weight: 800; }
.calc-brand h2 { font-size: 25px; margin: 0; }
.calc-brand p { color: #92989f; font-size: 12px; margin-top: 5px; }
.calc-live-label { margin-left: auto; color: #949ba4; background: #2b3137; border-radius: 5px; padding: 6px 9px; white-space: nowrap; font-size: 11px; }
.calc-search-card { margin-bottom: 20px; }
.calc-search-card .board-controls { display: flex; flex-wrap: nowrap; gap: 0; padding: 7px; margin: 0; background: #2b3137; border: 0; border-radius: 12px; }
.calc-search-card input { flex: 1; width: 0; min-width: 0; background: transparent; border: 0; font-size: 18px; color: #e7e9ed; padding: 12px; }
.calculator-mode .primary-button { background: #f3c20b; border: 1px solid #dba900; color: #171b20; font-weight: 750; border-radius: 7px; }
.calc-search-card .primary-button { flex: 0 0 105px; font-size: 17px; }
.calc-search-card > p { color: #959ca3; font-size: 12px; line-height: 1.9; margin-top: 18px; }
.calc-candidates { display: grid; gap: 8px; }
.calc-candidates:not(:empty) { margin-top: 14px; }
.calc-candidate { display: flex; align-items: center; justify-content: space-between; gap: 12px; width: 100%; text-align: left; padding: 12px; color: #e7e9ed; border: 1px solid #414850; border-radius: 8px; background: #282f35; cursor: pointer; }
.calc-candidate > span { color: #f3c20b; font-size: 12px; }
.calc-candidate:focus-visible { outline: 2px solid #f3c20b; outline-offset: 2px; }
.calc-detail { display: grid; grid-template-columns: minmax(0, 1fr); gap: 16px; }
.calc-surface { min-width: 0; }
.calc-stock-heading { display: flex; justify-content: space-between; align-items: center; gap: 12px; }
.calc-stock-heading .stock-identity strong { font-size: 26px; }
.calc-stock-heading .stock-identity small { font-size: 13px; color: #92999f; }
.calc-quote { display: grid; gap: 3px; text-align: right; font-variant-numeric: tabular-nums; }
.calc-quote strong { font-size: 29px; letter-spacing: .5px; }
.calc-quote span { font-size: 19px; font-weight: 700; }
.calc-meta { font-size: 11px; color: #9ca3ac; line-height: 1.9; margin-top: 10px; overflow-wrap: anywhere; }
.calc-inset { background: #14191d; padding: 20px; border-radius: 12px; margin-top: 20px; }
.calc-data-line { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 12px 0; font-size: 14px; color: #a0a5af; }
.calc-data-line strong { font-variant-numeric: tabular-nums; font-size: 20px; }
.calc-data-line:last-child { border-top: 1px solid #444b52; margin-top: 5px; }
.calc-data-line:last-child strong { font-size: 27px; }
.calc-block-title { display: flex; align-items: center; justify-content: space-between; gap: 10px; border-bottom: 1px solid #3b4249; padding-bottom: 16px; }
.calc-block-title h3 { font-size: 18px; }
.calc-tag { padding: 7px 10px; color: #f3c20b; background: #f3c20b13; border-radius: 5px; font-size: 11px; }
.calc-cumulative-line { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 19px 0; border-bottom: 1px solid #30373f; }
.calc-cumulative-line > div strong { font-size: 17px; }
.calc-cumulative-line small { display: block; font-size: 10px; color: #929aa5; margin-top: 5px; }
.calc-cumulative-line > strong { font-size: 25px; font-variant-numeric: tabular-nums; white-space: nowrap; }
.calc-rules-button { display: block; margin: 20px auto 0; padding: 12px 18px; }
.calc-section-title { font-size: 22px; margin-bottom: 14px; }
.calc-assumptions { display: flex; align-items: center; flex-wrap: wrap; gap: 6px; font-size: 13px; color: #aeb5bd; }
.calc-assumptions input { background: #12171c; border: 1px solid #645728; border-radius: 5px; width: 70px; padding: 7px; color: #f4ca2b; font: inherit; }
.calc-caution { color: #c5b579; font-size: 11px; line-height: 1.85; margin: 12px 0; }
.calc-table-scroll { width: 100%; overflow-x: auto; }
.calc-projection-table { border-collapse: collapse; width: 100%; min-width: 430px; font-size: 14px; font-variant-numeric: tabular-nums; }
.calc-projection-table th { font-size: 11px; font-weight: 400; color: #969fa9; padding: 15px 7px; text-align: right; white-space: nowrap; }
.calc-projection-table td { padding: 16px 7px; border-top: 1px solid #343b43; text-align: right; white-space: nowrap; }
.calc-projection-table th:first-child, .calc-projection-table td:first-child { text-align: left; }
.calc-projection-table td:nth-child(2) { font-weight: 750; font-size: 17px; }
.calc-projection-table tbody tr:nth-child(odd) { background: #ffffff03; }
.calc-state { color: #aebeca; background: #34404a; border-radius: 4px; padding: 4px 6px; font-size: 10px; }
.calc-state.is-triggered { background: #7b2528; color: #ffbec1; }
.calc-forecast-note h4 { color: #f4ca21; font-size: 17px; }
.calc-forecast-note p { color: #a3abb5; font-size: 12px; line-height: 1.9; margin-top: 12px; }
.calc-reference-line { display: grid; grid-template-columns: 1fr 1fr 1fr; align-items: center; gap: 8px; padding: 20px 0; border-top: 1px solid #363c43; margin-top: 12px; }
.calc-reference-line > strong { font-size: 14px; }
.calc-reference-line .dashboard-metric strong { font-size: 21px; }
.calc-reference-line .dashboard-metric span { font-size: 10px; }
.calc-history-empty { font-size: 40px; color: #929aa3; padding: 15px 0; }
.calc-manual { margin-top: 22px; border: 1px solid #363c43; border-radius: 14px; padding: 18px; background: #1e2428; }
.calc-manual > summary { cursor: pointer; color: #e8c657; font-size: 16px; }
.calc-manual > summary span { display: block; color: #919ca7; font-size: 11px; margin-top: 8px; }
.calculator-mode .calculator-layout { grid-template-columns: 1fr; }
@media (max-width: 560px) {
  .calc-brand, .calc-search-card, .calc-surface { padding: 17px; border-radius: 14px; }
  .calc-brand h2 { font-size: 21px; }
  .calc-brand-icon { flex-basis: 44px; height: 44px; }
  .calc-live-label { display: none; }
  .calc-inset { padding: 15px; }
  .calc-stock-heading .stock-identity strong { font-size: 22px; }
  .calc-search-card input { font-size: 15px; padding: 8px; }
  .calc-search-card .primary-button { flex-basis: 72px; }
  .calc-cumulative-line > strong { font-size: 22px; }
  .calc-reference-line { grid-template-columns: 1fr 1fr; }
  .calc-reference-line > strong { grid-column: 1 / -1; }
}

@media (min-width: 900px) {
  .workspace-wide .hero { min-height: 126px; }
  .workspace-wide .brand-copy p { font-size: 17px; }
  .workspace-wide .brand-copy h1 { font-size: 35px; }
  .workspace-wide .market-tabs { max-width: 640px; }
}
@media (max-width: 850px) {
  .hot-columns { grid-template-columns: repeat(3, minmax(195px, 1fr)); overflow-x: auto; padding-bottom: 12px; scroll-snap-type: x proximity; scrollbar-width: thin; }
  .hot-platform { scroll-snap-align: start; }
  .calculator-layout { grid-template-columns: 1fr; }
  .dashboard-heading { gap: 18px; }
}
@media (max-width: 560px) {
  .workspace-tabs { margin-top: 12px; margin-bottom: 20px; padding: 5px; }
  .workspace-tabs button { font-size: 11px; padding: 8px 10px; min-height: 37px; }
  .dashboard-panel .section-title { font-size: 23px; }
  .dashboard-metrics { gap: 8px; }
  .dashboard-metrics > .dashboard-metric { padding: 16px 13px; }
  .dashboard-metric strong { font-size: 25px; }
  .unusual-grid, .reference-windows { grid-template-columns: 1fr; }
  .unusual-card { padding: 18px; }
  .unusual-values { gap: 12px; }
  .unusual-values .dashboard-metric strong { font-size: 20px; }
  .scenario-form, .scenario-output, .reference-result { padding: 18px; }
  .scenario-fields { gap: 0 10px; }
  .dashboard-controls { padding: 9px; }
  .dashboard-controls select { max-width: 100%; }
  .hot-list { max-height: 570px; }
  .brand-copy p { font-size: 11px; }
  .dashboard-panel .data-status { font-size: 11px; }
  .workspace-tabs.bottom-navigation { padding: 7px 6px calc(7px + env(safe-area-inset-bottom)); margin: 0; gap: 2px; border-radius: 15px 15px 0 0; }
  .bottom-navigation button { font-size: 10px; padding: 7px 2px; min-height: 59px; gap: 6px; }
  .bottom-navigation button svg { width: 20px; height: 20px; }
  .overseas-cards .industry-card { min-height: 83px; padding: 11px 9px; gap: 7px 4px; border-radius: 13px; }
  .overseas-cards .board-copy .industry-name { font-size: 13px; gap: 4px; }
  .overseas-cards .industry-icon { flex-basis: 16px; width: 16px; font-size: 14px; }
  .overseas-cards .industry-change { font-size: 13px; }
  .overseas-cards .favorite-button { margin-top: -4px; }
}
