        * {
            margin: 0;
            padding: 0;
            box-sizing: border-box;
        }

        body {
            font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Helvetica Neue', Arial, sans-serif;
            background: #F5F5F5;
            min-height: 100vh;
            padding: 20px;
            color: #2D2D2D;
        }

        .container {
            max-width: 1400px;
            margin: 0 auto;
            background: #FFFFFF;
            border-radius: 8px;
            box-shadow: 0 1px 3px rgba(0,0,0,0.08);
            overflow: hidden;
        }

        .header {
            background: #FFFFFF;
            border-bottom: 1px solid #E5E5E5;
            color: #2D2D2D;
            padding: 30px;
            text-align: center;
        }

        .header h1 {
            font-size: 2em;
            margin-bottom: 8px;
            font-weight: 600;
        }

        .header p {
            font-size: 1em;
            color: #5F5F5F;
        }

        .content {
            padding: 30px;
        }

        .step {
            background: #FFFFFF;
            border: 1px solid #E5E5E5;
            border-radius: 8px;
            padding: 25px;
            margin-bottom: 20px;
            transition: box-shadow 0.2s;
        }

        .step:hover {
            box-shadow: 0 2px 8px rgba(0,0,0,0.08);
        }

        .step h2 {
            color: #2D2D2D;
            margin-bottom: 20px;
            font-size: 1.3em;
            font-weight: 600;
        }

        .form-group {
            margin-bottom: 15px;
        }

        label {
            display: block;
            margin-bottom: 6px;
            font-weight: 500;
            color: #2D2D2D;
            font-size: 0.95em;
        }

        input[type="text"],
        input[type="number"],
        textarea,
        select {
            width: 100%;
            padding: 10px 12px;
            border: 1px solid #E5E5E5;
            border-radius: 6px;
            font-size: 14px;
            transition: all 0.2s;
            font-family: inherit;
            background: #FFFFFF;
        }

        input[type="text"]:focus,
        input[type="number"]:focus,
        textarea:focus,
        select:focus {
            outline: none;
            border-color: #C47C4A;
            box-shadow: 0 0 0 3px rgba(196, 124, 74, 0.1);
        }

        textarea {
            resize: vertical;
            min-height: 120px;
            font-family: 'Courier New', monospace;
            font-size: 13px;
        }

        button {
            background: #C47C4A;
            color: white;
            border: none;
            padding: 12px 24px;
            border-radius: 6px;
            font-size: 15px;
            font-weight: 500;
            cursor: pointer;
            transition: all 0.2s;
        }

        button:hover {
            background: #B36B39;
            box-shadow: 0 2px 8px rgba(196, 124, 74, 0.3);
        }

        button:active {
            transform: translateY(1px);
        }

        button:disabled {
            background: #9B9B9B;
            cursor: not-allowed;
            box-shadow: none;
        }

        .inline-fields {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
            gap: 15px;
        }

        .checkbox-group {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
            gap: 10px;
            margin: 15px 0;
        }

        .checkbox-item {
            display: flex;
            align-items: center;
            padding: 10px;
            background: #F8F8F8;
            border-radius: 6px;
            border: 1px solid #E5E5E5;
            transition: all 0.2s;
        }

        .checkbox-item:hover {
            background: #F0F0F0;
        }

        .checkbox-item input[type="checkbox"] {
            margin-right: 10px;
            width: 18px;
            height: 18px;
            cursor: pointer;
        }

        .checkbox-item label {
            margin: 0;
            cursor: pointer;
            font-weight: 400;
        }

        .radio-group {
            display: flex;
            gap: 20px;
            margin: 15px 0;
        }

        .radio-item {
            display: flex;
            align-items: center;
        }

        .radio-item input[type="radio"] {
            margin-right: 8px;
            width: 18px;
            height: 18px;
            cursor: pointer;
        }

        .radio-item label {
            margin: 0;
            cursor: pointer;
            font-weight: 400;
        }

        .variable-list {
            background: #F8F8F8;
            border: 1px solid #E5E5E5;
            border-radius: 6px;
            padding: 15px;
            margin-top: 15px;
            max-height: 300px;
            overflow-y: auto;
        }

        .variable-item {
            background: #FFFFFF;
            padding: 12px;
            margin-bottom: 8px;
            border-radius: 6px;
            border: 1px solid #E5E5E5;
            display: flex;
            justify-content: space-between;
            align-items: center;
        }

        .variable-item:last-child {
            margin-bottom: 0;
        }

        .variable-info {
            color: #5F5F5F;
            font-size: 0.9em;
        }

        #status {
            background: #F8F8F8;
            border: 1px solid #E5E5E5;
            border-radius: 6px;
            padding: 15px;
            margin: 15px 0;
            color: #5F5F5F;
        }

        #status.success {
            background: #E8F5E9;
            border-color: #52A574;
            color: #2E7D32;
        }

        #status.error {
            background: #FFEBEE;
            border-color: #D64949;
            color: #C62828;
        }

        .result-container {
            background: #F8F8F8;
            border: 1px solid #E5E5E5;
            border-radius: 6px;
            padding: 20px;
            margin-top: 15px;
        }

        .chart-image {
            max-width: 100%;
            height: auto;
            border-radius: 6px;
            margin: 10px 0;
            box-shadow: 0 1px 3px rgba(0,0,0,0.08);
        }

        pre {
            background: #F8F8F8;
            border: 1px solid #E0E0E0;
            border-radius: 6px;
            padding: 15px;
            overflow-x: auto;
            font-family: 'Courier New', monospace;
            font-size: 13px;
            color: #383838;
            white-space: pre-wrap;
            word-wrap: break-word;
        }

        code {
            font-family: 'Courier New', monospace;
            font-size: 13px;
            color: #383838;
        }

        .collapsible {
            background: #F8F8F8;
            border: 1px solid #E5E5E5;
            border-radius: 6px;
            margin: 15px 0;
            overflow: hidden;
        }

        .collapsible-header {
            background: #FFFFFF;
            padding: 12px 15px;
            cursor: pointer;
            display: flex;
            justify-content: space-between;
            align-items: center;
            font-weight: 500;
            color: #2D2D2D;
            transition: background 0.2s;
        }

        .collapsible-header:hover {
            background: #F5F5F5;
        }

        .collapsible-header::after {
            content: '▼';
            font-size: 0.8em;
            transition: transform 0.2s;
        }

        .collapsible-header.active::after {
            transform: rotate(180deg);
        }

        .collapsible-content {
            max-height: 0;
            overflow: hidden;
            transition: max-height 0.3s ease;
            padding: 0 15px;
        }

        .collapsible-content.show {
            max-height: none;
            padding: 15px;
            overflow: visible;
        }

        .example-section {
            margin: 10px 0;
        }

        .example-section h4 {
            color: #2D2D2D;
            margin: 15px 0 10px 0;
            font-size: 1em;
        }

        .example-code {
            background: #F8F8F8;
            border: 1px solid #E0E0E0;
            border-radius: 6px;
            padding: 12px;
            margin: 8px 0;
            position: relative;
        }

        .copy-btn {
            position: absolute;
            top: 8px;
            right: 8px;
            background: #C47C4A;
            color: white;
            border: none;
            padding: 6px 12px;
            border-radius: 4px;
            font-size: 12px;
            cursor: pointer;
            transition: all 0.2s;
            display: flex;
            align-items: center;
            gap: 4px;
        }

        .copy-btn:hover {
            background: #B36B39;
            transform: translateY(-1px);
        }

        .copy-btn:active {
            transform: translateY(0);
        }

        .copy-btn.copied {
            background: #52A574;
        }

        .help-text {
            color: #5F5F5F;
            font-size: 0.9em;
            margin-top: 5px;
        }

        .badge {
            display: inline-block;
            padding: 4px 8px;
            border-radius: 4px;
            font-size: 0.85em;
            font-weight: 500;
            margin-left: 8px;
        }

        .badge-success {
            background: #E8F5E9;
            color: #2E7D32;
        }

        .badge-info {
            background: #E3F2FD;
            color: #1976D2;
        }

        /* 本地状态提示样式 */
        .local-status {
            padding: 12px 15px;
            border-radius: 6px;
            margin: 15px 0;
            font-size: 0.95em;
            display: flex;
            align-items: center;
            gap: 10px;
        }

        .local-status.info {
            background: #E3F2FD;
            border: 1px solid #90CAF9;
            color: #1565C0;
        }

        .local-status.success {
            background: #E8F5E9;
            border: 1px solid #52A574;
            color: #2E7D32;
        }

        .local-status.error {
            background: #FFEBEE;
            border: 1px solid #D64949;
            color: #C62828;
        }

        .local-status.warning {
            background: #FFF3E0;
            border: 1px solid #E5A854;
            color: #E65100;
        }

        /* 加载动画 */
        .spinner {
            border: 3px solid #f3f3f3;
            border-top: 3px solid #C47C4A;
            border-radius: 50%;
            width: 20px;
            height: 20px;
            animation: spin 1s linear infinite;
            flex-shrink: 0;
        }

        @keyframes spin {
            0% { transform: rotate(0deg); }
            100% { transform: rotate(360deg); }
        }

        /* 进度条样式 */
        .progress-container {
            width: 100%;
            background: #E5E5E5;
            border-radius: 10px;
            height: 24px;
            overflow: hidden;
            position: relative;
            margin: 8px 0;
        }

        .progress-bar {
            height: 100%;
            background: linear-gradient(90deg, #C47C4A 0%, #B36B39 100%);
            border-radius: 10px;
            transition: width 0.3s ease;
            display: flex;
            align-items: center;
            justify-content: center;
            color: white;
            font-size: 0.85em;
            font-weight: 600;
        }

        .progress-text {
            position: absolute;
            width: 100%;
            text-align: center;
            line-height: 24px;
            font-size: 0.85em;
            font-weight: 600;
            color: #2D2D2D;
            z-index: 1;
        }

        /* 下拉菜单样式 */
        .dropdown-menu {
            position: absolute;
            top: 100%;
            left: 0;
            margin-top: 5px;
            background: white;
            border: 1px solid #E5E5E5;
            border-radius: 6px;
            box-shadow: 0 4px 12px rgba(0,0,0,0.15);
            min-width: 240px;
            z-index: 1000;
            overflow: hidden;
        }

        .dropdown-menu a {
            display: block;
            padding: 12px 16px;
            color: #2D2D2D;
            text-decoration: none;
            font-size: 14px;
            transition: background 0.2s;
            border-bottom: 1px solid #F5F5F5;
        }

        .dropdown-menu a:last-child {
            border-bottom: none;
        }

        .dropdown-menu a:hover {
            background: #F5F5F5;
            color: #C47C4A;
        }

        .dropdown-menu a:active {
            background: #E5E5E5;
        }
