
        /* CSS代码保持不变 */
        :root {
            --primary-color: #1a237e;
            --secondary-color: #283593;
            --accent-color: #3949ab;
            --success-color: #2e7d32;
            --warning-color: #f57c00;
            --danger-color: #c62828;
            --info-color: #0277bd;
            --light-color: #f5f5f5;
            --dark-color: #0d1b2a;
            --border-radius: 10px;
            --box-shadow: 0 6px 20px rgba(0, 0, 0, 0.08);
            --transition: all 0.3s ease;
        }
        
        * {
            margin: 0;
            padding: 0;
            box-sizing: border-box;
        }
        
        body {
            font-family: 'Roboto', sans-serif;
            line-height: 1.6;
            color: #333;
            background: linear-gradient(135deg, #f0f4f8 0%, #e8edf5 100%);
            min-height: 100vh;
        }
        
        .app-container {
	max-width: 1200px;
	background-color: white;
            border-radius: var(--border-radius);
	box-shadow: 0 15px 35px rgba(0, 0, 0, 0.12);
	overflow: hidden;
	margin-top: 24px;
	margin-right: auto;
	margin-bottom: 24px;
	margin-left: auto;
        }
        
        /* Header */
        .app-header {
            background: linear-gradient(135deg, var(--primary-color) 0%, #000051 100%);
            color: white;
            padding: 30px;
            position: relative;
            overflow: hidden;
        }
        
        .header-top {
            display: flex;
            justify-content: space-between;
            align-items: center;
            flex-wrap: wrap;
            gap: 20px;
            margin-bottom: 25px;
        }
        
        .app-title {
            display: flex;
            align-items: center;
        }
        
        .app-title i {
            font-size: 36px;
            margin-right: 20px;
            color: #bbdefb;
        }
        
        .app-title h1 {
            font-family: 'Poppins', sans-serif;
            font-size: 32px;
            font-weight: 700;
            line-height: 1.2;
        }
        
        .app-subtitle {
            font-size: 17px;
            opacity: 0.9;
            max-width: 800px;
            margin-top: 10px;
            line-height: 1.5;
        }
        
        /* Configuration Panel */
        .config-panel {
            background: rgba(255, 255, 255, 0.1);
            border-radius: var(--border-radius);
            padding: 25px;
            margin-top: 20px;
            backdrop-filter: blur(10px);
            border: 1px solid rgba(255, 255, 255, 0.2);
        }
        
        .config-grid {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
            gap: 25px;
        }
        
        .config-item {
            display: flex;
            flex-direction: column;
        }
        
        .config-label {
            font-size: 16px;
            margin-bottom: 10px;
            color: #bbdefb;
            font-weight: 500;
            display: flex;
            align-items: center;
        }
        
        .config-label i {
            margin-right: 10px;
            font-size: 18px;
        }
        
        .config-select {
            width: 100%;
            padding: 14px 18px;
            border-radius: 8px;
            border: 2px solid rgba(255, 255, 255, 0.3);
            background: rgba(255, 255, 255, 0.15);
            color: white;
            font-size: 16px;
            cursor: pointer;
            transition: var(--transition);
            appearance: none;
            background-image: url("data:image/svg+xml;charset=UTF-8,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='white'%3e%3cpath d='M7 10l5 5 5-5z'/%3e%3c/svg%3e");
            background-repeat: no-repeat;
            background-position: right 18px center;
            background-size: 20px;
        }
        
        .config-select:focus {
            outline: none;
            border-color: #bbdefb;
            background: rgba(255, 255, 255, 0.25);
            box-shadow: 0 0 0 3px rgba(187, 222, 251, 0.3);
        }
        
        .config-select option {
            color: var(--primary-color);
            background-color: white;
            padding: 12px;
        }
        
        /* Warning Banner */
        .warning-banner {
            background-color: #fff3e0;
            border-left: 6px solid var(--warning-color);
            padding: 25px;
            margin: 0;
            position: relative;
        }
        
        .warning-header {
            display: flex;
            align-items: center;
            margin-bottom: 15px;
        }
        
        .warning-icon {
            font-size: 28px;
            color: var(--warning-color);
            margin-right: 15px;
        }
        
        .warning-header h3 {
            color: #e65100;
            font-family: 'Poppins', sans-serif;
            font-size: 20px;
            font-weight: 600;
        }
        
        .warning-content {
            color: #bf360c;
            font-size: 15px;
            line-height: 1.6;
        }
        
        /* Main Calculator Layout */
        .calculator-layout {
	display: flex;
	flex-direction: column;
	padding-top: 30px;
	padding-right: 5px;
	padding-bottom: 30px;
	padding-left: 5px;
        }
        
        @media (min-width: 1200px) {
            .calculator-layout {
                flex-direction: row;
                gap: 35px;
            }
        }
        
        /* Dual Parent Assessment */
        .dual-assessment-container {
            flex: 2.5;
            display: grid;
            grid-template-columns: 1fr;
            gap: 30px;
        }
        
        @media (min-width: 992px) {
            .dual-assessment-container {
                grid-template-columns: 1fr 1fr;
            }
        }
        
        .parent-assessment-card {
            background: white;
            border-radius: var(--border-radius);
            box-shadow: var(--box-shadow);
            overflow: hidden;
            border-top: 6px solid var(--accent-color);
            transition: var(--transition);
        }
        
        .parent-assessment-card:hover {
            transform: translateY(-5px);
            box-shadow: 0 12px 25px rgba(0, 0, 0, 0.15);
        }
        
        .parent-header {
            background: linear-gradient(135deg, var(--secondary-color), var(--accent-color));
     
            padding: 25px;
            display: flex;
            justify-content: space-between;
            align-items: center;
        }
        
        .parent-title {
            font-family: 'Poppins', sans-serif;
            font-size: 24px;
            font-weight: 600;
        }
        
        .parent-score-header {
            text-align: center;
        }
        
        .parent-score-value {
            font-size: 42px;
            font-weight: 800;
            line-height: 1;
        }
        
        .parent-score-label {
            font-size: 14px;
            opacity: 0.9;
            margin-top: 5px;
        }
        
        .assessment-content {
            padding: 25px;
            max-height: 600px;
            overflow-y: auto;
        }
        
        .assessment-section {
            margin-bottom: 30px;
            padding-bottom: 25px;
            border-bottom: 1px solid #e0e0e0;
        }
        
        .assessment-section:last-child {
            border-bottom: none;
            margin-bottom: 0;
            padding-bottom: 0;
        }
        
        .section-title {
            font-family: 'Poppins', sans-serif;
            font-size: 20px;
            font-weight: 600;
            color: var(--primary-color);
            margin-bottom: 20px;
            padding-bottom: 10px;
            border-bottom: 2px solid #e3f2fd;
        }
        
        .factor-grid {
            display: grid;
            grid-template-columns: 1fr;
            gap: 15px;
        }
        
        .factor-item {
	display: flex;
	align-items: center;
	padding: 16px;
	background-color: #f8f9fa;
	border-radius: 8px;
	border: 2px solid transparent;
	cursor: pointer;
            transition: var(--transition);
	position: relative;
  color: #333333 !important; 
        }
        
        .factor-item:hover {
            background-color: #e3f2fd;
            border-color: #bbdefb;
        }
        
        .factor-item.selected {
            background-color: #e8f5e9;
            border-color: var(--success-color);
        }
        
        .factor-item.risk.selected {
            background-color: #ffebee;
            border-color: var(--danger-color);
        }
        
        .factor-checkbox {
            margin-right: 15px;
            transform: scale(1.4);
            accent-color: var(--success-color);
        }
        
        .risk .factor-checkbox {
            accent-color: var(--danger-color);
        }
        
        .factor-label {
            flex-grow: 1;
            font-weight: 500;
            font-size: 16px;
			  color: #333333 !important; 
        }
        
        .factor-points {
            font-weight: 700;
            font-size: 18px;
            min-width: 50px;
            text-align: right;
        }
        
        .positive-points {
            color: var(--success-color);
        }
        
        .negative-points {
            color: var(--danger-color);
        }
        
        .evidence-strength {
            margin-top: 10px;
            padding-top: 10px;
            border-top: 1px dashed #ccc;
            display: none;
        }
        
        .factor-item.selected .evidence-strength {
            display: block;
        }
        
        .evidence-label {
            font-size: 14px;
            color: #666;
            margin-bottom: 8px;
            display: block;
        }
        
        .evidence-select {
            width: 100%;
            padding: 8px 12px;
            border-radius: 6px;
            border: 1px solid #ced4da;
            font-size: 14px;
            background-color: white;
        }
        
        /* Results Panel */
        .results-panel {
	flex: 1.5;
	background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
            border-radius: var(--border-radius);
            box-shadow: var(--box-shadow);
	position: sticky;
	top: 20px;
	align-self: flex-start;
	padding-top: 30px;
	padding-right: 5px;
	padding-bottom: 30px;
	padding-left: 5px;
        }
        
        .results-header {
            text-align: center;
            margin-bottom: 30px;
        }
        
        .results-title {
            font-family: 'Poppins', sans-serif;
            font-size: 28px;
            font-weight: 700;
            color: var(--primary-color);
            margin-bottom: 10px;
        }
        
        .results-subtitle {
            color: #666;
            font-size: 16px;
        }
        
        /* Comparative Score Display */
        .comparative-scores {
            display: flex;
            justify-content: space-around;
            align-items: center;
            margin-bottom: 35px;
            gap: 20px;
        }
        
        .score-comparison {
            flex: 1;
            text-align: center;
        }
        
        .score-circle {
            width: 140px;
            height: 140px;
            margin: 0 auto 15px;
            position: relative;
        }
        
        .circle-bg {
            fill: none;
            stroke: #e0e0e0;
            stroke-width: 8;
        }
        
        .circle-progress {
            fill: none;
            stroke-width: 8;
            stroke-linecap: round;
            transform: rotate(-90deg);
            transform-origin: 50% 50%;
            transition: stroke-dashoffset 1s ease;
        }
        
        .progress-parent-a {
            stroke: var(--accent-color);
        }
        
        .progress-parent-b {
            stroke: #2ecc71;
        }
        
        .circle-text {
            position: absolute;
            top: 50%;
            left: 50%;
            transform: translate(-50%, -50%);
            font-size: 32px;
            font-weight: 800;
            color: var(--primary-color);
        }
        
        .score-label {
            font-family: 'Poppins', sans-serif;
            font-weight: 600;
            font-size: 18px;
            color: var(--primary-color);
            margin-top: 10px;
        }
        
        .score-difference {
            text-align: center;
            padding: 15px;
            background: white;
            border-radius: var(--border-radius);
            margin-bottom: 25px;
            box-shadow: 0 3px 10px rgba(0,0,0,0.08);
        }
        
        .difference-value {
            font-size: 24px;
            font-weight: 700;
            color: var(--primary-color);
        }
        
        .difference-label {
            font-size: 16px;
            color: #666;
            margin-top: 5px;
        }
        
        /* Outcome Prediction */
        .outcome-prediction {
            background: white;
            border-radius: var(--border-radius);
            padding: 25px;
            margin-bottom: 25px;
            box-shadow: 0 5px 15px rgba(0,0,0,0.05);
            border-left: 6px solid var(--info-color);
        }
        
        .outcome-header {
            display: flex;
            align-items: center;
            margin-bottom: 15px;
        }
        
        .outcome-icon {
            font-size: 28px;
            color: var(--info-color);
            margin-right: 15px;
        }
        
        .outcome-title {
            font-family: 'Poppins', sans-serif;
            font-size: 24px;
            font-weight: 700;
            color: var(--primary-color);
        }
        
        .outcome-range {
            font-size: 18px;
            color: var(--info-color);
            font-weight: 600;
            margin-bottom: 15px;
            padding-bottom: 10px;
            border-bottom: 1px solid #eee;
        }
        
        .outcome-description {
            color: #555;
            line-height: 1.7;
            margin-bottom: 20px;
        }
        
        /* Time Split Visualization */
        .time-split {
            background: white;
            border-radius: var(--border-radius);
            padding: 25px;
            margin-bottom: 25px;
            box-shadow: 0 5px 15px rgba(0,0,0,0.05);
        }
        
        .time-split-title {
            font-family: 'Poppins', sans-serif;
            font-size: 20px;
            font-weight: 600;
            color: var(--primary-color);
            margin-bottom: 20px;
            text-align: center;
        }
        
        .time-visualization {
            display: flex;
            height: 60px;
            border-radius: var(--border-radius);
            overflow: hidden;
            margin: 20px 0;
            box-shadow: 0 4px 12px rgba(0,0,0,0.1);
        }
        
        .time-parent-a {
            background: linear-gradient(90deg, var(--accent-color), #1565c0);
            height: 100%;
            display: flex;
            align-items: center;
            justify-content: center;
            color: white;
            font-weight: 700;
            font-size: 18px;
            transition: width 1s ease;
        }
        
        .time-parent-b {
            background: linear-gradient(90deg, #2ecc71, #27ae60);
            height: 100%;
            display: flex;
            align-items: center;
            justify-content: center;
            color: white;
            font-weight: 700;
            font-size: 18px;
            transition: width 1s ease;
        }
        
        .time-percentages {
            display: flex;
            justify-content: space-between;
            margin-top: 15px;
        }
        
        .time-percentage {
            font-weight: 700;
            font-size: 20px;
        }
        
        .percentage-parent-a {
            color: var(--accent-color);
        }
        
        .percentage-parent-b {
            color: #27ae60;
        }
        
        /* State Law Panel */
        .state-law-panel {
            background: white;
            border-radius: var(--border-radius);
            padding: 25px;
            margin-bottom: 25px;
            box-shadow: 0 5px 15px rgba(0,0,0,0.05);
            border-top: 6px solid var(--warning-color);
        }
        
        .state-law-header {
            display: flex;
            align-items: center;
            margin-bottom: 15px;
        }
        
        .state-law-icon {
            font-size: 24px;
            color: var(--warning-color);
            margin-right: 15px;
        }
        
        .state-law-title {
            font-family: 'Poppins', sans-serif;
            font-size: 22px;
            font-weight: 600;
            color: var(--primary-color);
        }
        
        .state-law-content {
            color: #555;
            line-height: 1.7;
        }
        
        .state-law-key {
            margin-top: 15px;
            padding: 15px;
            background: #fff3e0;
            border-radius: 8px;
            border-left: 4px solid var(--warning-color);
        }
        
        .state-law-key-title {
            font-weight: 600;
            color: #e65100;
            margin-bottom: 8px;
        }
        
        /* Action Buttons */
        .action-buttons {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
            gap: 15px;
            margin-top: 30px;
        }
        
        .action-button {
            padding: 16px 20px;
            border-radius: var(--border-radius);
            border: none;
            font-family: 'Poppins', sans-serif;
            font-weight: 600;
            font-size: 16px;
            cursor: pointer;
            display: flex;
            align-items: center;
            justify-content: center;
            transition: var(--transition);
            gap: 10px;
        }
        
        .action-button:hover {
            transform: translateY(-3px);
            box-shadow: 0 7px 14px rgba(0,0,0,0.1);
        }
        
        .reset-button {
            background: linear-gradient(135deg, #78909c, #546e7a);
            color: white;
        }
        
        .analyze-button {
            background: linear-gradient(135deg, var(--accent-color), #1565c0);
            color: white;
        }
        
        .export-button {
            background: linear-gradient(135deg, var(--success-color), #1b5e20);
            color: white;
        }
        
        .scenario-button {
            background: linear-gradient(135deg, var(--warning-color), #e65100);
            color: white;
        }
        
        /* Responsive */
        @media (max-width: 768px) {
            .app-header {
                padding: 20px;
            }
            
            .app-title h1 {
                font-size: 24px;
            }
            
            .header-top {
                flex-direction: column;
                align-items: flex-start;
            }
            
            .config-grid {
                grid-template-columns: 1fr;
            }
            
            .calculator-layout {
                padding: 20px;
            }
            
            .comparative-scores {
                flex-direction: column;
            }
            
            .score-circle {
                width: 120px;
                height: 120px;
            }
            
            .action-buttons {
                grid-template-columns: 1fr;
            }
        }
        
        /* Animations */
        @keyframes fadeInUp {
            from {
                opacity: 0;
                transform: translateY(20px);
            }
            to {
                opacity: 1;
                transform: translateY(0);
            }
        }
        
        .animate-in {
            animation: fadeInUp 0.6s ease forwards;
        }
        
        /* Custom Scrollbar */
        .assessment-content::-webkit-scrollbar {
            width: 8px;
        }
        
        .assessment-content::-webkit-scrollbar-track {
            background: #f1f1f1;
            border-radius: 4px;
        }
        
        .assessment-content::-webkit-scrollbar-thumb {
            background: var(--accent-color);
            border-radius: 4px;
        }
        
        .assessment-content::-webkit-scrollbar-thumb:hover {
            background: var(--secondary-color);
        }
