.qf-page { padding-bottom: 40px; }
.qf-content { min-height: 120px; }
.empty-state { padding: 32px; text-align: center; color: #6b7280; }
.qf-note { font-size: 13px; color: #6b7280; margin: 0 0 14px; line-height: 1.5; }
.qf-section {
  background: #fff;
  border: 1px solid #e5e7eb;
  border-radius: 12px;
  padding: 16px;
  margin-bottom: 16px;
}
.qf-section-title {
  font-size: 14px;
  font-weight: 600;
  color: #4f46e5;
  margin-bottom: 12px;
}
.qf-kvs {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 10px 8px;
}
.qf-kvs div { display: flex; flex-direction: column; }
.qf-kvs b { font-size: 16px; color: #111827; word-break: break-all; }
.qf-kvs span { font-size: 11px; color: #9ca3af; }
.qf-concl {
  background: #fff;
  border: 1px solid #c7d2fe;
  border-radius: 12px;
  padding: 14px 16px;
  margin-bottom: 16px;
}
.qf-pill {
  display: inline-block;
  padding: 2px 8px;
  border-radius: 999px;
  background: #eef2ff;
  color: #3730a3;
  font-size: 12px;
  font-weight: 600;
}
.qf-cards {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  margin-bottom: 16px;
}
.qf-card {
  background: #fff;
  border: 1px solid #e5e7eb;
  border-radius: 12px;
  padding: 16px;
}
.qf-name { font-size: 14px; font-weight: 600; color: #111827; margin-bottom: 10px; }
.qf-metrics { display: grid; grid-template-columns: 1fr 1fr; gap: 10px 8px; }
.qf-metrics div { display: flex; flex-direction: column; }
.qf-metrics b { font-size: 15px; color: #111827; }
.qf-metrics span { font-size: 11px; color: #9ca3af; }
.qf-chart { width: 100%; height: 56px; margin: 10px 0 0; display: block; }
.qf-table-wrap { overflow: auto; }
.qf-table { width: 100%; border-collapse: collapse; font-size: 13px; }
.qf-table th {
  text-align: left;
  color: #6b7280;
  font-weight: 600;
  padding: 6px 8px;
  border-bottom: 1px solid #e5e7eb;
}
.qf-table td { padding: 6px 8px; border-bottom: 1px solid #f3f4f6; color: #111827; white-space: nowrap; }
.qf-table th { white-space: nowrap; }
.qf-link {
  color: #4f46e5;
  font-weight: 600;
  text-decoration: none;
}
.qf-link:hover { text-decoration: underline; }
.qf-cal-nav {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  margin-bottom: 10px;
}
.qf-cal-nav b { min-width: 88px; text-align: center; }
.qf-cal-week, .qf-cal-grid {
  display: grid;
  grid-template-columns: repeat(7, minmax(0, 1fr));
  gap: 4px;
}
.qf-cal-week { margin-bottom: 4px; color: #9ca3af; font-size: 12px; text-align: center; }
.qf-cal-cell {
  height: 36px;
  border: 0;
  border-radius: 8px;
  background: transparent;
  color: #d1d5db;
  font-size: 13px;
}
button.qf-cal-cell { cursor: pointer; color: #111827; background: #f3f4f6; }
button.qf-cal-cell.is-up { background: #dcfce7; color: #166534; }
button.qf-cal-cell.is-down { background: #fee2e2; color: #991b1b; }
button.qf-cal-cell.is-selected { outline: 2px solid #4f46e5; }
td.is-up { color: #166534; font-weight: 600; }
td.is-down { color: #991b1b; font-weight: 600; }
@media (max-width: 900px) {
  .qf-kvs { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .qf-cards { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
  .qf-kvs { grid-template-columns: 1fr 1fr; }
}
