div {
  display: flex;
  flex-direction: column;
}

body {
  margin: 0;
  background: #f5f6fa;
  font-family: -apple-system, system-ui, sans-serif;
  color: #2f3542;
  overscroll-behavior-y: none;
  -webkit-tap-highlight-color: transparent;
}

.container {
  width: 100%;
  max-width: 1000px;
  margin: 0 auto;
}

.page-title { font-size: 1.4rem; margin-bottom: 4px; }

.card {
  background: #fff;
  border-radius: 12px;
  padding: 24px;
  box-shadow: 0 2px 8px rgba(0,0,0,.06);
  margin: 10px;
}
.card .msg-query {
  font-size: 1.05rem; font-weight: 650; color: #1f2937;
  line-height: 1.3;
}
.card .msg-response {
  display: block; margin-top: 10px;
  color: #374151; font-size: 1rem; line-height: 1.55;
}

.artifact {
  margin-top: 18px;
  border: 1px solid #e2e8f0;
  border-radius: 10px;
  padding: 16px 18px 18px;
  background: #fbfcfe;
}
.artifact h2.chart-title { font-size: 1.05rem; margin: 0 0 12px; }

.chart { height: 320px; }

/* Filing cards (Pershing Square 13F page) */
.filing { margin-top: 8px; }
.filing .fhead {
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  align-items: center;
  background: #1f2937;
  color: #fff;
  padding: 10px 16px;
  border-radius: 8px 8px 0 0;
}
.filing .fhead .d { font-weight: 600; }
.filing .fhead .n { font-size: 12px; color: #9ca3af; }
.filing .subh {
  padding: 8px 16px;
  font-weight: 600;
  font-size: 13px;
  background: #f8fafc;
  border: 1px solid #eef1f4;
  border-top: none;
}
.filing .table-scroll { overflow-x: auto; }
.filing table {
  width: 100%;
  border-collapse: collapse;
  font-size: 13px;
  border: 1px solid #eef1f4;
  border-top: none;
}
.filing th, .filing td {
  text-align: right;
  padding: 6px 10px;
  border-bottom: 1px solid #eef1f4;
  white-space: nowrap;
}
.filing th:first-child, .filing td:first-child,
.filing th:nth-child(2), .filing td:nth-child(2) { text-align: left; }
.filing thead th { background: #f9fafb; position: sticky; top: 0; }
.filing .ticker { font-weight: 600; }
.filing .buy { color: #059669; font-weight: 600; }
.filing .sell { color: #dc2626; font-weight: 600; }
.filing .exit { color: #b45309; font-weight: 600; }

.empty-state { padding: 80px 20px; text-align: center; }
.empty-state h1 { font-size: 1.6rem; margin-bottom: 8px; }
.empty-state p { color: #747d8c; }
