   .math-result {
            padding: 15px;
            background-color: white;
            border-radius: 4px;
            border: 1px solid #eee;
            font-size: 1.5rem;
            font-family: 'Cambria Math', 'Latin Modern Math', STIXGeneral, serif;
            margin: 10px 0;
            text-align: center;
        }
        .math-equation {
            font-size: 1.3rem;
            padding: 15px;
            background-color: rgba(70, 130, 180, 0.05);
            border-left: 4px solid var(--primary-color);
            border-radius: 4px;
            margin: 15px 0;
        }
        .subsection-title {
            font-weight: 600;
            margin-top: 2rem;
            margin-bottom: 1rem;
            color: var(--accent-color);
            font-size: 1.2rem;
        }
        .math-box {
            background-color: rgba(70, 130, 180, 0.05);
            border-left: 3px solid var(--primary-color);
            padding: 1rem;
            border-radius: 0 4px 4px 0;
            margin: 1.5rem 0;
        }
        .function-examples {
            display: flex;
            flex-wrap: wrap;
            gap: 0.5rem;
            margin: 1rem 0;
        }
        .example-btn {
            background-color: rgba(70, 130, 180, 0.1);
            border: 1px solid rgba(70, 130, 180, 0.2);
            border-radius: 4px;
            padding: 0.5rem 0.75rem;
            font-size: 0.9rem;
            color: var(--primary-color);
            cursor: pointer;
            transition: all 0.2s;
            font-family: 'Courier New', monospace;
        }
        .example-btn:hover {
            background-color: rgba(70, 130, 180, 0.2);
            transform: translateY(-2px);
        }
        .math-notation {
            font-family: 'Cambria Math', 'Latin Modern Math', STIXGeneral, serif;
            font-size: 1.1rem;
        }
        .property-table {
            width: 100%;
            border-collapse: collapse;
            margin: 1.5rem 0;
        }
        .property-table th,
        .property-table td {
            padding: 0.75rem;
            text-align: left;
            border: 1px solid var(--border-color);
        }
        .property-table th {
            background-color: var(--light-gray);
            font-weight: 600;
        }
        .property-table tr:nth-child(even) {
            background-color: rgba(70, 130, 180, 0.05);
        }
        .authority-note {
            font-size: 0.85rem;
            color: var(--text-muted);
            border-top: 1px solid var(--border-color);
            padding-top: 1rem;
            margin-top: 1rem;
            text-align: right;
        }
        .case-study {
            background-color: #f0f7fa;
            border-radius: 8px;
            padding: 1.5rem;
            margin: 1.5rem 0;
            border-left: 5px solid var(--primary-color);
        }
        .key-point {
            font-weight: 500;
            color: var(--accent-color);
        }
        .input-group-custom {
            margin-bottom: 1rem;
        }
        .result-row {
            font-size: 1.2rem;
            margin: 0.5rem 0;
        }
        .result-value {
            font-weight: 600;
            color: var(--primary-color);
            font-size: 2rem;
        }
        .result-value-lg {
            font-weight: 700;
            color: var(--primary-color);
            font-size: 2.8rem;
        }
        .author-bio {
            background-color: #f8f9fa;
            border-left: 4px solid var(--primary-color);
            padding: 1.2rem;
            margin: 2rem 0;
            border-radius: 0 8px 8px 0;
        }
        .privacy-note {
            font-size: 0.9rem;
            background-color: #e7f3ff;
            border: 1px solid #b8daff;
            color: #004085;
            padding: 0.5rem 1rem;
            border-radius: 4px;
            margin: 1rem 0;
        }
        .warning-note {
            background-color: #fff3cd;
            border: 1px solid #ffeeba;
            color: #856404;
            padding: 0.5rem 1rem;
            border-radius: 4px;
            margin: 1rem 0;
        }
        .deep-dive {
            margin: 1.8rem 0;
        }
        .deep-dive p {
            text-align: justify;
        }
        .unit-note {
            font-size: 0.9rem;
            color: #6c757d;
        }
        .coord-input {
            margin-bottom: 0.5rem;
        }
        .geometry-canvas {
            width: 100%;
            height: auto;
            background-color: #f9f9f9;
            border: 1px solid #ddd;
            border-radius: 8px;
            margin-top: 1.5rem;
            display: block;
        }
        .canvas-container {
            text-align: center;
            margin-top: 1rem;
        }
        .legend {
            display: flex;
            justify-content: center;
            gap: 2rem;
            margin: 0.5rem 0;
            font-size: 0.9rem;
            flex-wrap: wrap;
        }
        .legend-item {
            display: flex;
            align-items: center;
            gap: 0.3rem;
        }
        .legend-color {
            width: 16px;
            height: 16px;
            border-radius: 50%;
        }
        .legend-color.blue {
            background-color: #0d6efd;
        }
        .legend-color.green {
            background-color: #198754;
        }
        .legend-color.gray {
            background-color: #6c757d;
        }
        .legend-color.orange {
            background-color: #fd7e14;
        }
        .unit-select {
            min-width: 80px;
        }
        .dimension-input {
            display: flex;
            gap: 0.5rem;
            align-items: center;
            flex-wrap: wrap;
        }
        .dimension-input .form-control {
            flex: 1;
            min-width: 80px;
        }
        .dimension-input .form-select {
            flex: 0 0 auto;
            width: auto;
        }
        .result-grid {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
            gap: 1rem;
            margin: 1.5rem 0;
        }
        .result-card {
            background: #f8f9fa;
            border-radius: 8px;
            padding: 1rem;
            text-align: center;
            border: 1px solid #e9ecef;
            transition: 0.2s;
        }
        .result-card:hover {
            border-color: var(--primary-color);
            box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
        }
        .result-card .label {
            font-size: 0.85rem;
            color: #6c757d;
            text-transform: uppercase;
            letter-spacing: 0.5px;
        }
        .result-card .value {
            font-size: 1.8rem;
            font-weight: 700;
            color: var(--primary-color);
        }
        .result-card .sub {
            font-size: 0.8rem;
            color: #6c757d;
        }
        .conversion-grid {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
            gap: 0.75rem;
            margin: 1rem 0;
        }
        .conversion-item {
            background: #f8f9fa;
            padding: 0.5rem 1rem;
            border-radius: 4px;
            display: flex;
            justify-content: space-between;
            font-size: 0.95rem;
        }
        .conversion-item .label {
            color: #495057;
        }
        .conversion-item .value {
            font-weight: 600;
            color: var(--primary-color);
        }
        .material-estimate {
            background: #e9f5ec;
            border-radius: 8px;
            padding: 1.2rem;
            border-left: 4px solid #198754;
            margin: 1.5rem 0;
        }
        .material-estimate h6 {
            color: #198754;
        }
        .material-estimate .row {
            margin-top: 0.5rem;
        }
        @media (max-width: 576px) {
            .dimension-input {
                flex-direction: column;
                align-items: stretch;
            }
            .dimension-input .form-select {
                width: 100%;
            }
            .result-grid {
                grid-template-columns: 1fr 1fr;
            }
            .result-card .value {
                font-size: 1.3rem;
            }
        }