 .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(0, 80, 200, 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(0, 80, 200, 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(0, 80, 200, 0.08);
            border: 1px solid rgba(0, 80, 200, 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(0, 80, 200, 0.18);
            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(0, 80, 200, 0.04);
        }
        .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: #eef4fa;
            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;
        }
        .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;
            display: flex;
            align-items: center;
            justify-content: space-between;
        }
        .success-note {
            background-color: #d4edda;
            border: 1px solid #c3e6cb;
            color: #155724;
            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;
        }
        .fill-status-bar {
            height: 24px;
            background: #e9ecef;
            border-radius: 12px;
            overflow: hidden;
            margin: 0.5rem 0 1rem 0;
            position: relative;
        }
        .fill-status-bar .fill-progress {
            height: 100%;
            border-radius: 12px;
            transition: width 0.4s ease;
            background: linear-gradient(90deg, #28a745, #ffc107, #dc3545);
            width: 0%;
        }
        .fill-status-bar .fill-label {
            position: absolute;
            top: 50%;
            left: 50%;
            transform: translate(-50%, -50%);
            font-size: 0.75rem;
            font-weight: 600;
            color: #000;
            text-shadow: 0 0 4px rgba(255, 255, 255, 0.7);
        }
        .conductor-row {
            display: flex;
            gap: 0.5rem;
            align-items: center;
            flex-wrap: wrap;
            margin-bottom: 0.5rem;
            background: #f8f9fa;
            padding: 0.5rem;
            border-radius: 4px;
            border: 1px solid #e9ecef;
        }
        .conductor-row .form-control,
        .conductor-row .form-select {
            flex: 1;
            min-width: 60px;
        }
        .conductor-row .btn-remove {
            flex: 0 0 36px;
        }
        .box-preset-btn {
            margin: 0.2rem;
            padding: 0.2rem 0.7rem;
            font-size: 0.8rem;
        }
        .status-badge {
            font-size: 1rem;
            padding: 0.4rem 1rem;
            border-radius: 20px;
        }
        .status-badge.pass {
            background: #d4edda;
            color: #155724;
        }
        .status-badge.fail {
            background: #f8d7da;
            color: #721c24;
        }
        .status-badge.warn {
            background: #fff3cd;
            color: #856404;
        }
        .legend-color.red {
            background: #dc3545;
        }
        .legend-color.green {
            background: #28a745;
        }
        .legend-color.blue {
            background: #0d6efd;
        }
        .legend-color.gray {
            background: #6c757d;
        }
        .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%;
        }
        .detail-grid {
            display: grid;
            grid-template-columns: 1fr 1fr;
            gap: 0.5rem 2rem;
            margin: 0.5rem 0;
        }
        .detail-grid .item {
            display: flex;
            justify-content: space-between;
            padding: 0.2rem 0;
            border-bottom: 1px dashed #eee;
        }
        .detail-grid .item .label {
            color: #6c757d;
        }
        .detail-grid .item .value {
            font-weight: 500;
        }
        .recommend-box {
            background: #e2f0d9;
            border: 1px solid #a3c293;
            border-radius: 8px;
            padding: 0.75rem 1rem;
            margin-top: 0.5rem;
        }
        .recommend-box .rec-title {
            font-weight: 600;
            color: #2d6a4f;
        }
        .unit-toggle {
          width:75px;
        }
        .scenario-btn-group {
            display: flex;
            flex-wrap: wrap;
            gap: 0.5rem;
            margin: 0.5rem 0;
        }
        @media (max-width: 576px) {
            .detail-grid {
                grid-template-columns: 1fr;
            }
            .conductor-row {
                flex-direction: column;
                align-items: stretch;
            }
            .conductor-row .form-control,
            .conductor-row .form-select {
                flex: auto;
            }
        }
        .warning-note .btn-close {
            font-size: 0.8rem;
            padding: 0.25rem 0.5rem;
        }