Spaces:
Running
Running
| /* Tax Torpedo Analyzer - Clean single-page CSS */ | |
| /* Global container */ | |
| .gradio-container { | |
| max-width: 1200px ; | |
| margin: auto; | |
| } | |
| /* ===== Chat messages - larger, more readable text ===== */ | |
| .message-wrap .message { | |
| font-size: 18px ; | |
| line-height: 1.7 ; | |
| padding: 16px ; | |
| } | |
| .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% ; | |
| width: 100% ; | |
| height: auto ; | |
| border-radius: 8px ; | |
| margin: 8px 0 ; | |
| } | |
| /* ===== Buttons ===== */ | |
| button { | |
| font-size: 16px ; | |
| min-height: 48px ; | |
| padding: 10px 20px ; | |
| } | |
| button.primary { | |
| font-size: 20px ; | |
| min-height: 56px ; | |
| background: linear-gradient(135deg, #1a237e 0%, #283593 100%) ; | |
| } | |
| button.primary:hover { | |
| transform: translateY(-2px); | |
| box-shadow: 0 4px 12px rgba(26, 35, 126, 0.3); | |
| } | |
| .quick-btn { | |
| font-size: 15px ; | |
| border-radius: 24px ; | |
| padding: 8px 20px ; | |
| min-height: 40px ; | |
| } | |
| /* ===== Form labels and inputs ===== */ | |
| label { | |
| font-size: 17px ; | |
| font-weight: 600 ; | |
| } | |
| input, textarea, select { | |
| font-size: 17px ; | |
| } | |
| /* ===== Headings ===== */ | |
| h1 { | |
| font-size: 30px ; | |
| color: #1a237e ; | |
| } | |
| h2 { | |
| font-size: 24px ; | |
| color: #1a237e ; | |
| } | |
| h3 { | |
| font-size: 20px ; | |
| color: #283593 ; | |
| } | |
| /* ===== 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% ; | |
| max-width: 100% ; | |
| 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% ; | |
| } | |
| button { | |
| font-size: 14px ; | |
| min-height: 44px ; | |
| } | |
| button.primary { | |
| font-size: 18px ; | |
| } | |
| .key-numbers-band { | |
| font-size: 14px; | |
| } | |
| .input-section { | |
| padding: 16px 12px; | |
| } | |
| h1 { | |
| font-size: 24px ; | |
| } | |
| } | |