/* 股票工具箱专用样式 */
.gp-result { background: #f8f9fa; border: 1px solid #e9ecef; border-radius: 6px; padding: 15px; margin-top: 15px; line-height: 2; font-size: 14px; }
.gp-result b { color: #333; }
.gp-result .up { color: #e74c3c; }
.gp-result .down { color: #27ae60; }
.gp-result .primary { color: #2563eb; }
.gp-table { width: 100%; border-collapse: collapse; margin: 10px 0; }
.gp-table th, .gp-table td { border: 1px solid #dee2e6; padding: 8px 12px; text-align: center; font-size: 13px; }
.gp-table th { background: #f1f3f5; font-weight: 600; }
.gp-table .up { color: #e74c3c; }
.gp-table .down { color: #27ae60; }
.gp-explain { background: #fff8e1; border: 1px solid #ffe082; border-radius: 6px; padding: 15px; margin-bottom: 15px; font-size: 13px; line-height: 1.8; }
.gp-explain h4 { margin: 0 0 8px 0; color: #f57c00; font-size: 14px; }
.gp-form-group { margin-bottom: 12px; }
.gp-form-group label { display: inline-block; width: 120px; font-size: 14px; color: #555; text-align: right; padding-right: 8px; }
.gp-form-group input, .gp-form-group select { width: 180px; padding: 6px 10px; border: 1px solid #ced4da; border-radius: 4px; font-size: 14px; }
.gp-form-group input:focus, .gp-form-group select:focus { border-color: #2563eb; outline: none; box-shadow: 0 0 0 2px rgba(37,99,235,0.15); }
.gp-btn { display: inline-block; padding: 8px 24px; background: #2563eb; color: #fff; border: none; border-radius: 4px; font-size: 14px; cursor: pointer; margin: 5px 5px 5px 0; }
.gp-btn:hover { background: #1d4ed8; }
.gp-btn-reset { background: #6c757d; }
.gp-btn-reset:hover { background: #5a6268; }
.gp-row { display: flex; flex-wrap: wrap; gap: 20px; margin-bottom: 15px; }
.gp-col { flex: 1; min-width: 300px; }
.gp-col h3 { font-size: 16px; color: #333; margin: 0 0 12px 0; padding-bottom: 8px; border-bottom: 2px solid #2563eb; }
.gp-record-table { width: 100%; border-collapse: collapse; margin-top: 15px; }
.gp-record-table th, .gp-record-table td { border: 1px solid #dee2e6; padding: 8px 12px; text-align: center; font-size: 13px; }
.gp-record-table th { background: #f1f3f5; }
.gp-record-table tr:nth-child(even) { background: #f8f9fa; }
/* 首页工具卡片 */
.tool-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 16px; padding: 10px 0; }
.tool-card { background: #fff; border: 1px solid #e9ecef; border-radius: 8px; padding: 20px; text-align: center; transition: all 0.3s; text-decoration: none; display: block; }
.tool-card:hover { border-color: #2563eb; box-shadow: 0 4px 12px rgba(37,99,235,0.15); transform: translateY(-2px); }
.tool-card .tool-icon { font-size: 36px; color: #2563eb; margin-bottom: 10px; }
.tool-card .tool-name { font-size: 15px; font-weight: 600; color: #333; margin-bottom: 6px; }
.tool-card .tool-desc { font-size: 12px; color: #888; line-height: 1.5; }
/* 名词解析 */
.glossary-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 16px; }
.glossary-item { background: #fff; border: 1px solid #e9ecef; border-radius: 8px; padding: 16px; }
.glossary-item h3 { font-size: 15px; color: #2563eb; margin: 0 0 8px 0; }
.glossary-item p { font-size: 13px; color: #666; line-height: 1.7; margin: 0; }
/* 响应式 */
@media (max-width: 768px) {
  .gp-row { flex-direction: column; }
  .gp-col { min-width: 100%; }
  .gp-form-group label { width: 100px; font-size: 13px; }
  .gp-form-group input, .gp-form-group select { width: 150px; }
  .tool-grid { grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 10px; }
  .tool-card { padding: 12px; }
  .tool-card .tool-icon { font-size: 28px; }
  .glossary-grid { grid-template-columns: 1fr; }
}