        body {
            font-family: 'Inter', sans-serif;
        }

        .section-title {
            font-size: 1.5rem;
            font-weight: 600;
            margin-bottom: 1rem;
            padding-bottom: 0.5rem;
            border-bottom: 2px solid #1e3a8a;
            color: #1e3a8a;
        }

        .subsection-title {
            font-size: 1.25rem;
            font-weight: 500;
            margin-bottom: 0.75rem;
            color: #1e40af;
        }

        .input-label {
            display: block;
            margin-bottom: 0.25rem;
            font-weight: 500;
            color: #374151;
        }

        .input-field {
            width: 100%;
            padding: 0.5rem;
            border: 1px solid #d1d5db;
            border-radius: 0.375rem;
            margin-bottom: 0.75rem;
        }

        .input-field:focus {
            outline: none;
            border-color: #2563eb;
            box-shadow: 0 0 0 2px rgba(37, 99, 235, 0.2);
        }

        .calculated-value {
            font-weight: 600;
            color: #166534;
        }

        .final-value {
            font-weight: 700;
            font-size: 1.25rem;
            color: #15803d;
        }

        .info-text {
            color: #4b5563;
            font-size: 0.95rem;
            margin-bottom: 1rem;
            line-height: 1.6;
        }

        .info-text strong {
            color: #374151;
        }

        .info-text ul {
            list-style-type: disc;
            margin-left: 1.5rem;
            margin-bottom: 1rem;
        }

        .info-text li {
            margin-bottom: 0.25rem;
        }

        .table-like {
            border-collapse: collapse;
            width: 100%;
            margin-bottom: 1rem;
            font-size: 0.875rem;
        }

        .table-like th,
        .table-like td {
            border: 1px solid #e5e7eb;
            padding: 0.75rem;
            text-align: left;
        }

        .table-like th {
            background-color: #f3f4f6;
            font-weight: 600;
            color: #374151;
        }

        .table-like tr:nth-child(even) {
            background-color: #f9fafb;
        }

        .action-button {
            background-color: #1d4ed8;
            color: white;
            padding: 0.75rem 1.5rem;
            border-radius: 0.375rem;
            font-weight: 500;
            cursor: pointer;
            transition: background-color 0.2s;
            border: none;
        }

        .action-button:hover {
            background-color: #1e40af;
        }

        .action-button:disabled {
            background-color: #9ca3af;
            cursor: not-allowed;
        }

        .message-box {
            padding: 0.75rem;
            margin-top: 1rem;
            border-radius: 0.375rem;
            font-size: 0.875rem;
        }

        .success-message {
            background-color: #d1fae5;
            color: #065f46;
            border: 1px solid #6ee7b7;
        }

        .error-message {
            background-color: #fee2e2;
            color: #991b1b;
            border: 1px solid #fca5a5;
        }

        .subsection-container {
            background-color: #f9fafb;
            padding: 1.5rem;
            border-radius: 0.5rem;
            margin-bottom: 1.5rem;
            box-shadow: 0 1px 3px 0 rgba(0, 0, 0, 0.1), 0 1px 2px -1px rgba(0, 0, 0, 0.1);
        }

        details {
            margin-bottom: 1rem;
            border: 1px solid #e5e7eb;
            border-radius: 0.375rem;
        }

        summary {
            padding: 0.75rem;
            font-weight: 500;
            cursor: pointer;
            background-color: #f3f4f6;
            border-radius: 0.375rem 0.375rem 0 0;
        }

        details[open] summary {
            border-bottom: 1px solid #e5e7eb;
        }

        .details-content {
            padding: 1rem;
        }

        /* AdSense Placeholder Styling (Optional) */
        .adsbygoogle-placeholder {
            background-color: #f0f0f0;
            border: 1px dashed #ccc;
            display: flex;
            align-items: center;
            justify-content: center;
            text-align: center;
            color: #777;
            font-size: 0.9rem;
            min-height: 90px;
            /* Default AdSense banner height */
            width: 100%;
            margin: 1rem 0;
        }

        @media print {
            body {
                -webkit-print-color-adjust: exact;
                print-color-adjust: exact;
            }

            .action-button,
            #loadingIndicator,
            #successMessage,
            #errorMessage,
            footer p:last-child,
            .adsbygoogle-placeholder,
            .adsbygoogle {
                display: none !important;
            }

            header p.text-sm {
                display: none !important;
            }

            details {
                border: 1px solid #ccc !important;
            }

            details summary {
                background-color: #eee !important;
            }

            details[open] {
                page-break-inside: avoid;
            }

            .subsection-container {
                box-shadow: none !important;
                border: 1px solid #eee !important;
                margin-bottom: 10pt !important;
                padding: 10pt !important;
            }

            .table-like th,
            .table-like td {
                font-size: 8pt !important;
                padding: 4pt !important;
            }

            .section-title {
                font-size: 14pt !important;
                margin-bottom: 8pt !important;
                padding-bottom: 4pt !important;
            }

            .subsection-title {
                font-size: 12pt !important;
                margin-bottom: 6pt !important;
            }

            .input-label {
                font-size: 9pt !important;
            }

            .info-text {
                font-size: 9pt !important;
                margin-bottom: 8pt !important;
            }

            .calculated-value,
            .final-value {
                font-size: 10pt !important;
            }

            .input-field {
                display: none !important;
            }

            #planContentToPrint {
                padding: 20pt !important;
            }
        }