/* Tax Torpedo Analyzer - Clean single-page CSS */ /* Global container */ .gradio-container { max-width: 1200px !important; margin: auto; } /* ===== Chat messages - larger, more readable text ===== */ .message-wrap .message { font-size: 18px !important; line-height: 1.7 !important; padding: 16px !important; } .message-wrap .message p { margin-bottom: 12px; } .message-wrap .message h1, .message-wrap .message h2, .message-wrap .message h3 { margin-top: 16px; margin-bottom: 8px; } .message-wrap .message ul, .message-wrap .message ol { margin-bottom: 12px; padding-left: 24px; } .message-wrap .message li { margin-bottom: 6px; } /* Chat images - full width */ .message-row img { max-width: 100% !important; width: 100% !important; height: auto !important; border-radius: 8px !important; margin: 8px 0 !important; } /* ===== Buttons ===== */ button { font-size: 16px !important; min-height: 48px !important; padding: 10px 20px !important; } button.primary { font-size: 20px !important; min-height: 56px !important; background: linear-gradient(135deg, #1a237e 0%, #283593 100%) !important; } button.primary:hover { transform: translateY(-2px); box-shadow: 0 4px 12px rgba(26, 35, 126, 0.3); } .quick-btn { font-size: 15px !important; border-radius: 24px !important; padding: 8px 20px !important; min-height: 40px !important; } /* ===== Form labels and inputs ===== */ label { font-size: 17px !important; font-weight: 600 !important; } input, textarea, select { font-size: 17px !important; } /* ===== Headings ===== */ h1 { font-size: 30px !important; color: #1a237e !important; } h2 { font-size: 24px !important; color: #1a237e !important; } h3 { font-size: 20px !important; color: #283593 !important; } /* ===== Input Section ===== */ .input-section { background: linear-gradient(135deg, #e8eaf6 0%, #f5f5f5 100%); border-radius: 16px; padding: 24px 16px; border: 1px solid #c5cae9; margin-bottom: 16px; } /* ===== Key Numbers Band ===== */ .key-numbers-band { background: #f0f4ff; border: 1px solid #c5cae9; border-radius: 12px; padding: 12px 20px; margin: 16px 0; font-size: 16px; line-height: 1.6; } .key-numbers-band b { color: #1a237e; } .zone-badge { display: inline-block; padding: 6px 16px; border-radius: 20px; font-weight: 700; font-size: 15px; margin-right: 8px; } .zone-green { background: #c8e6c9; color: #2e7d32; } .zone-red { background: #ffcdd2; color: #c62828; } .zone-blue { background: #bbdefb; color: #1565c0; } /* ===== LLM Summary ===== */ .llm-summary { background: #f0f7ff; border-left: 4px solid #2196F3; padding: 20px 24px; margin: 16px 0; border-radius: 0 8px 8px 0; font-size: 17px; line-height: 1.7; } .llm-summary p { margin-bottom: 10px; } /* ===== Plot Image ===== */ .plot-container img { width: 100% !important; max-width: 100% !important; border-radius: 8px; margin: 8px 0; } /* ===== Disclaimer ===== */ .disclaimer { text-align: center; font-size: 13px; color: #999; padding: 20px; margin-top: 20px; border-top: 1px solid #eee; } /* ===== Scrollbar ===== */ ::-webkit-scrollbar { width: 12px; } ::-webkit-scrollbar-track { background: #f1f1f1; border-radius: 6px; } ::-webkit-scrollbar-thumb { background: #bbb; border-radius: 6px; } ::-webkit-scrollbar-thumb:hover { background: #999; } /* ===== Equations Breakdown ===== */ .equations-breakdown { background: #fafafa; border: 1px solid #e0e0e0; border-radius: 8px; padding: 16px 20px; margin: 16px 0; font-size: 15px; line-height: 1.6; overflow-x: auto; } .equations-breakdown table { width: 100%; border-collapse: collapse; } .equations-breakdown th, .equations-breakdown td { padding: 8px 12px; border-bottom: 1px solid #e0e0e0; text-align: left; } .equations-breakdown th { background: #f0f4ff; font-weight: 700; color: #1a237e; } /* ===== Responsive ===== */ @media (max-width: 768px) { .gradio-container { max-width: 100% !important; } button { font-size: 14px !important; min-height: 44px !important; } button.primary { font-size: 18px !important; } .key-numbers-band { font-size: 14px; } .input-section { padding: 16px 12px; } h1 { font-size: 24px !important; } }