
        body { 
            font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif; 
            background-color: #f4f6f9; 
            color: #333; 
            margin: 0; 
            padding: 30px; 
        }
        .container { 
            max-width: 1000px; 
            margin: 0 auto; 
            background: white; 
            padding: 40px; 
            border-radius: 12px; 
            box-shadow: 0 4px 16px rgba(0,0,0,0.08); 
        }
        h1 { margin-top: 0; color: #1e293b; font-size: 28px; border-bottom: 2px solid #f1f5f9; padding-bottom: 15px; }
        p.subtitle { color: #64748b; font-size: 16px; margin-bottom: 30px; }
        
        .grid { 
            display: grid; 
            grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); 
            gap: 20px; 
        }
        .card { 
            background: #f8fafc; 
            border: 1px solid #e2e8f0; 
            border-radius: 8px; 
            padding: 25px; 
            transition: transform 0.2s, box-shadow 0.2s; 
            display: flex;
            flex-direction: column;
            justify-content: space-between;
        }
        .card:hover { 
            transform: translateY(-4px); 
            box-shadow: 0 6px 20px rgba(0,0,0,0.05); 
            border-color: #cbd5e1;
        }
        .card h3 { margin-top: 0; color: #0f172a; font-size: 20px; }
        .card p { color: #475569; font-size: 14px; line-height: 1.5; }
        
        .btn { 
            display: inline-block; 
            background-color: #3b82f6; 
            color: white; 
            text-decoration: none; 
            padding: 10px 18px; 
            border-radius: 6px; 
            font-weight: bold; 
            text-align: center; 
            margin-top: 15px; 
        }
        .btn:hover { background-color: #2563eb; }
        
        .card-disabled { opacity: 0.6; background: #f1f5f9; }
        .card-disabled .btn { background-color: #94a3b8; pointer-events: none; }

        .tip-icon-btn {
    background: #e2e8f0;
    border: none;
    border-radius: 50%;
    width: 24px;
    height: 24px;
    font-weight: bold;
    cursor: pointer;
    color: #475569;
}
.tip-icon-btn:hover { background: #cbd5e1; }

.tip-modal {
    border: none;
    border-radius: 12px;
    padding: 0;
    max-width: 600px;
    width: 90%;
    box-shadow: 0 10px 25px rgba(0,0,0,0.2);
}
.modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 20px;
    border-bottom: 1px solid #e2e8f0;
    background: #f8fafc;
}
.close-btn {
    background: none;
    border: none;
    font-size: 24px;
    cursor: pointer;
    color: #64748b;
}
.markdown-body {
    padding: 20px;
    max-height: 70vh;
    overflow-y: auto;
    font-size: 14px;
    line-height: 1.6;
    color: #334155;
}
.chart-icon-btn {
  background: transparent;
  border: 1px solid #ccc;  /* 可加上外框，或設為 border: none */
  border-radius: 4px;      /* 圓角 */
  padding: 4px 8px;
  font-size: 18px;         /* 調整圖示大小 */
  cursor: pointer;
  transition: background 0.2s;
}

.chart-icon-btn:hover {
  background-color: #f0f0f0; /* 滑鼠移上去時亮起背景 */
}

