        * {
            margin: 0;
            padding: 0;
            box-sizing: border-box;
        }
        
        body {
            font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
            background: #f5f5f5;
            display: flex;
            justify-content: center;
            padding: 20px;
        }
        
        .phone {
            width: 375px;
            height: 667px;
            background: white;
            border-radius: 30px;
            box-shadow: 0 20px 60px rgba(0,0,0,0.15);
            overflow: hidden;
            position: relative;
        }
        
        .status-bar {
            height: 44px;
            background: linear-gradient(135deg, #FF6B6B 0%, #FF8E53 100%);
            display: flex;
            align-items: center;
            justify-content: space-between;
            padding: 0 20px;
            color: white;
            font-size: 14px;
            font-weight: 500;
        }
        
        .nav-bar {
            height: 44px;
            background: linear-gradient(135deg, #FF6B6B 0%, #FF8E53 100%);
            display: flex;
            align-items: center;
            justify-content: center;
            color: white;
            font-size: 17px;
            font-weight: 600;
            position: relative;
        }
        
        .nav-back {
            position: absolute;
            left: 16px;
            font-size: 20px;
            cursor: pointer;
        }
        
        .content {
            height: calc(100% - 88px - 60px);
            overflow-y: auto;
            padding: 16px;
        }
        
        .tab-bar {
            height: 60px;
            background: white;
            border-top: 1px solid #eee;
            display: flex;
            position: absolute;
            bottom: 0;
            width: 100%;
        }
        
        .tab-item {
            flex: 1;
            display: flex;
            flex-direction: column;
            align-items: center;
            justify-content: center;
            color: #999;
            font-size: 10px;
            cursor: pointer;
        }
        
        .tab-item.active {
            color: #FF6B6B;
        }
        
        .tab-icon {
            font-size: 22px;
            margin-bottom: 4px;
        }
        
        .page {
            display: none;
            position: relative;
        }
        
        .page.active {
            display: block;
        }
        
        .logo-area {
            text-align: center;
            padding: 24px 0 20px;
        }
        
        .logo {
            width: 80px;
            height: 80px;
            background: linear-gradient(135deg, #FF6B6B 0%, #FF8E53 100%);
            border-radius: 50%;
            margin: 0 auto 12px;
            display: flex;
            align-items: center;
            justify-content: center;
            color: white;
            font-size: 36px;
        }
        
        .logo-title {
            font-size: 24px;
            font-weight: 700;
            color: #333;
        }
        
        .logo-desc {
            font-size: 14px;
            color: #999;
            margin-top: 8px;
        }
        
        .menu-grid {
            display: grid;
            grid-template-columns: 1fr 1fr;
            gap: 16px;
            padding: 0 8px;
        }
        
        .menu-item {
            background: #fff;
            border-radius: 16px;
            padding: 16px 16px;
            text-align: center;
            box-shadow: 0 2px 12px rgba(0,0,0,0.08);
            cursor: pointer;
            transition: all 0.3s;
        }
        
        .menu-item:hover {
            transform: translateY(-2px);
            box-shadow: 0 4px 20px rgba(0,0,0,0.12);
        }
        
        .menu-icon {
            width: 42px;
            height: 42px;
            border-radius: 12px;
            margin: 0 auto 12px;
            display: flex;
            align-items: center;
            justify-content: center;
        }
        
        .menu-icon.primary {
            background: linear-gradient(135deg, #FF6B6B 0%, #FF8E53 100%);
        }
        
        .menu-icon.blue {
            background: linear-gradient(135deg, #4FACFE 0%, #0072FF 100%);
        }
        
        .menu-icon.green {
            background: linear-gradient(135deg, #10B981 0%, #059669 100%);
        }
        
        .menu-icon.purple {
            background: linear-gradient(135deg, #8B5CF6 0%, #7C3AED 100%);
        }
        
        .menu-icon svg {
            width: 24px;
            height: 24px;
        }
        
        .menu-title {
            font-size: 14px;
            font-weight: 600;
            color: #333;
        }
        
        .upload-area {
            border: 2px dashed #FF8E53;
            border-radius: 16px;
            padding: 32px 20px;
            text-align: center;
            background: #FFF8F0;
            cursor: pointer;
            margin-bottom: 20px;
            transition: all 0.3s;
        }
        
        .upload-area:hover {
            border-color: #FF6B6B;
            background: #FFE8D6;
            transform: translateY(-2px);
            box-shadow: 0 4px 12px rgba(255,142,83,0.2);
        }
        
        .upload-icon {
            width: 60px;
            height: 60px;
            background: linear-gradient(135deg, #FF6B6B 0%, #FF8E53 100%);
            border-radius: 50%;
            margin: 0 auto 12px;
            display: flex;
            align-items: center;
            justify-content: center;
            font-size: 28px;
            color: white;
        }
        
        .upload-title {
            font-size: 16px;
            font-weight: 600;
            color: #333;
            margin-bottom: 8px;
        }
        
        .upload-desc {
            font-size: 13px;
            color: #999;
        }
        
        .tips-card {
            background: #F8FAFC;
            border-radius: 12px;
            padding: 16px;
        }
        
        .tips-title {
            font-size: 14px;
            font-weight: 600;
            color: #333;
            margin-bottom: 12px;
            display: flex;
            align-items: center;
            gap: 6px;
        }
        
        .tips-list {
            list-style: none;
        }
        
        .tips-list li {
            font-size: 13px;
            color: #666;
            padding: 6px 0;
            padding-left: 20px;
            position: relative;
        }
        
        .tips-list li:before {
            content: "✓";
            position: absolute;
            left: 0;
            color: #10B981;
            font-weight: bold;
        }
        
        .step-bar {
            display: flex;
            justify-content: space-between;
            padding: 20px 0;
            margin-bottom: 20px;
        }
        
        .step-item {
            display: flex;
            flex-direction: column;
            align-items: center;
            flex: 1;
            position: relative;
        }
        
        .step-item:not(:last-child):after {
            content: "";
            position: absolute;
            top: 14px;
            right: -30%;
            width: 60%;
            height: 2px;
            background: #e5e7eb;
        }
        
        .step-item.active:not(:last-child):after {
            background: #FF6B6B;
        }
        
        .step-num {
            width: 28px;
            height: 28px;
            border-radius: 50%;
            background: #e5e7eb;
            color: #999;
            display: flex;
            align-items: center;
            justify-content: center;
            font-size: 14px;
            font-weight: 600;
            margin-bottom: 6px;
        }
        
        .step-item.active .step-num {
            background: linear-gradient(135deg, #FF6B6B 0%, #FF8E53 100%);
            color: white;
        }
        
        .step-item.finish .step-num {
            background: #10B981;
            color: white;
        }
        
        .step-text {
            font-size: 12px;
            color: #999;
        }
        
        .step-item.active .step-text {
            color: #FF6B6B;
            font-weight: 500;
        }
        
        .table-card {
            background: linear-gradient(180deg, #FFFFFF 0%, #FFFAFA 100%);
            border-radius: 12px;
            box-shadow: 0 4px 16px rgba(255, 107, 107, 0.1);
            overflow: hidden;
            margin-bottom: 16px;
            border: 1px solid rgba(255, 107, 107, 0.1);
        }
        
        .table-header {
            background: white;
            padding: 10px 16px;
            display: flex;
            justify-content: space-between;
            align-items: center;
            border-bottom: 1px solid #f0f0f0;
        }
        
        .table-title {
            font-size: 14px;
            font-weight: 600;
            color: #333;
        }
        
        .year-select {
            padding: 5px 8px;
            border: 1px solid #ddd;
            border-radius: 6px;
            font-size: 12px;
            background: white;
            color: #666;
        }
        
        .table-row {
            padding: 10px 16px;
            display: flex;
            justify-content: space-between;
            align-items: center;
            border-bottom: 1px solid #f0f0f0;
            background: linear-gradient(135deg, #FFFEFE 0%, #FFF5F5 100%);
            transition: all 0.3s ease;
        }
        
        .table-row:hover {
            background: linear-gradient(135deg, #FFF5F5 0%, #FFE8E8 100%);
        }
        
        .table-row:last-child {
            border-bottom: none;
        }
        
        .row-left {
            flex: 1;
            position: relative;
            z-index: 1;
        }
        
        .row-year {
            font-size: 15px;
            font-weight: 700;
            color: #333;
            display: flex;
            align-items: center;
        }
        
        .row-base {
            font-size: 12px;
            color: #999;
            margin-top: 3px;
        }
        
        .row-right {
            text-align: right;
            position: relative;
            z-index: 9999 !important;
            pointer-events: auto !important;
        }
        
        .row-money {
            font-size: 15px;
            font-weight: 700;
            color: #FF6B6B;
        }
        
        .row-month {
            font-size: 12px;
            color: #999;
            margin-top: 3px;
        }
        
        .edit-btn {
            padding: 6px 14px;
            background: linear-gradient(135deg, #FF6B6B 0%, #FF8E53 100%);
            border: none;
            border-radius: 8px;
            font-size: 12px;
            color: white;
            font-weight: 600;
            margin-top: 6px;
            cursor: pointer !important;
            position: relative;
            z-index: 99999 !important;
            pointer-events: auto !important;
            isolation: isolate;
        }
        
        .edit-btn:active {
            transform: scale(0.95);
        }
        
        .summary-card {
            background: linear-gradient(135deg, #FF7B6B 0%, #FF6B6B 100%);
            border-radius: 12px;
            padding: 16px;
            color: white;
            margin-bottom: 16px;
            width: 100%;
            box-sizing: border-box;
        }
        
        .summary-title {
            font-size: 12px;
            opacity: 0.9;
            margin-bottom: 6px;
        }
        
        .summary-number {
            font-size: 22px;
            font-weight: 700;
        }
        
        .summary-unit {
            font-size: 11px;
            opacity: 0.7;
        }
        
        .summary-row {
            display: flex;
            justify-content: space-between;
            margin-top: 12px;
            padding-top: 12px;
            border-top: 1px solid rgba(255,255,255,0.2);
        }
        
        .summary-item {
            text-align: center;
            flex: 1;
        }
        
        .summary-label {
            font-size: 11px;
            opacity: 0.7;
        }
        
        .summary-value {
            font-size: 13px;
            font-weight: 600;
            margin-top: 4px;
        }
        
        .form-card {
            background: white;
            border-radius: 12px;
            padding: 20px 16px;
            box-shadow: 0 2px 8px rgba(0,0,0,0.06);
            margin-bottom: 16px;
        }
        
        .form-item {
            margin-bottom: 20px;
        }
        
        .form-item:last-child {
            margin-bottom: 0;
        }
        
        .form-label {
            font-size: 14px;
            font-weight: 500;
            color: #333;
            margin-bottom: 8px;
            display: flex;
            align-items: center;
            gap: 4px;
        }
        
        .form-label .required {
            color: #FF6B6B;
        }
        
        .form-input {
            width: 100%;
            padding: 12px 14px;
            border: 1px solid #e5e7eb;
            border-radius: 8px;
            font-size: 15px;
            transition: all 0.3s;
        }
        
        .form-input:focus {
            outline: none;
            border-color: #FF6B6B;
            box-shadow: 0 0 0 3px rgba(255,107,107,0.1);
        }
        
        .form-tip {
            font-size: 12px;
            color: #999;
            margin-top: 6px;
        }
        
        .calc-btn {
            width: 100%;
            padding: 16px;
            background: linear-gradient(135deg, #FF6B6B 0%, #FF8E53 100%);
            border: none;
            border-radius: 12px;
            color: white;
            font-size: 16px;
            font-weight: 600;
            cursor: pointer;
            transition: all 0.3s;
            box-shadow: 0 4px 12px rgba(255,107,107,0.3);
        }
        
        .calc-btn:hover {
            transform: translateY(-2px);
            box-shadow: 0 6px 20px rgba(255,107,107,0.4);
        }
        
        .result-card {
            background: linear-gradient(135deg, #FF6B6B 0%, #FF8E53 100%);
            border-radius: 20px;
            padding: 30px 20px;
            text-align: center;
            color: white;
            margin-bottom: 20px;
        }
        
        .result-label {
            font-size: 14px;
            opacity: 0.9;
            margin-bottom: 8px;
        }
        
        .result-number {
            font-size: 48px;
            font-weight: 700;
        }
        
        .result-unit {
            font-size: 16px;
            opacity: 0.8;
        }
        
        .result-desc {
            font-size: 13px;
            opacity: 0.7;
            margin-top: 12px;
        }
        
        .detail-card {
            background: white;
            border-radius: 12px;
            box-shadow: 0 2px 8px rgba(0,0,0,0.06);
            margin-bottom: 16px;
            overflow: hidden;
        }
        
        .detail-header {
            padding: 16px;
            background: #F8FAFC;
            font-size: 15px;
            font-weight: 600;
            color: #333;
            border-bottom: 1px solid #eee;
            display: flex;
            justify-content: space-between;
            align-items: center;
            cursor: pointer;
        }
        
        .detail-content {
            padding: 16px;
        }
        
        .detail-row {
            display: flex;
            justify-content: space-between;
            padding: 10px 0;
            border-bottom: 1px solid #f5f5f5;
        }
        
        .detail-row:last-child {
            border-bottom: none;
        }
        
        .detail-label {
            font-size: 14px;
            color: #666;
        }
        
        .detail-value {
            font-size: 14px;
            color: #333;
            font-weight: 500;
        }
        
        .detail-value.highlight {
            color: #FF6B6B;
            font-weight: 600;
        }
        
        .action-buttons {
            display: flex;
            gap: 12px;
            margin-top: 20px;
        }
        
        .btn-secondary {
            flex: 1;
            padding: 14px;
            background: #F1F5F9;
            border: none;
            border-radius: 10px;
            color: #666;
            font-size: 15px;
            font-weight: 500;
            cursor: pointer;
        }
        
        .btn-primary {
            flex: 1;
            padding: 14px;
            background: linear-gradient(135deg, #FF6B6B 0%, #FF8E53 100%);
            border: none;
            border-radius: 10px;
            color: white;
            font-size: 15px;
            font-weight: 500;
            cursor: pointer;
        }
        
        .empty-state {
            text-align: center;
            padding: 60px 20px;
        }
        
        .empty-icon {
            font-size: 64px;
            margin-bottom: 16px;
            opacity: 0.5;
        }
        
        .empty-title {
            font-size: 16px;
            color: #333;
            margin-bottom: 8px;
        }
        
        .empty-desc {
            font-size: 13px;
            color: #999;
        }
        
        .history-item {
            background: white;
            border-radius: 12px;
            padding: 16px;
            margin-bottom: 12px;
            box-shadow: 0 2px 8px rgba(0,0,0,0.06);
            cursor: pointer;
        }
        
        .history-header {
            display: flex;
            justify-content: space-between;
            align-items: center;
            margin-bottom: 12px;
        }
        
        .history-date {
            font-size: 14px;
            color: #333;
            font-weight: 500;
        }
        
        .history-result {
            font-size: 18px;
            font-weight: 700;
            color: #FF6B6B;
        }
        
        .history-info {
            display: flex;
            gap: 16px;
            font-size: 12px;
            color: #999;
        }
        
        .profile-header {
            background: linear-gradient(135deg, #FF6B6B 0%, #FF8E53 100%);
            padding: 30px 20px;
            text-align: center;
            color: white;
            margin: -16px -16px 20px;
        }
        
        .avatar {
            width: 64px;
            height: 64px;
            border-radius: 50%;
            background: rgba(255,255,255,0.2);
            margin: 0 auto 12px;
            display: flex;
            align-items: center;
            justify-content: center;
            font-size: 28px;
        }
        
        .user-name {
            font-size: 18px;
            font-weight: 600;
        }
        
        .menu-list {
            background: white;
            border-radius: 12px;
            overflow: hidden;
        }
        
        .menu-list-item {
            padding: 16px 20px;
            display: flex;
            justify-content: space-between;
            align-items: center;
            border-bottom: 1px solid #f5f5f5;
            cursor: pointer;
        }
        
        .menu-list-item:last-child {
            border-bottom: none;
        }
        
        .menu-list-left {
            display: flex;
            align-items: center;
            gap: 12px;
        }
        
        .menu-list-icon {
            width: 20px;
            height: 20px;
        }
        
        .menu-list-icon svg {
            width: 20px;
            height: 20px;
        }
        
        .menu-list-text {
            font-size: 15px;
            color: #333;
        }
        
        .menu-list-arrow {
            color: #ccc;
            font-size: 14px;
        }
        
        .loading-overlay {
            position: absolute;
            top: 0;
            left: 0;
            right: 0;
            bottom: 0;
            background: rgba(255,255,255,0.9);
            display: none;
            align-items: center;
            justify-content: center;
            flex-direction: column;
            z-index: 100;
        }
        
        .loading-overlay.show {
            display: flex;
        }
        
        .loading-spinner {
            width: 40px;
            height: 40px;
            border: 3px solid #f3f3f3;
            border-top: 3px solid #FF6B6B;
            border-radius: 50%;
            animation: spin 1s linear infinite;
            margin-bottom: 16px;
        }
        
        @keyframes spin {
            0% { transform: rotate(0deg); }
            100% { transform: rotate(360deg); }
        }
        
        .loading-text {
            font-size: 14px;
            color: #666;
        }
        
            position: fixed;
            top: 10px;
            right: 10px;
            background: #10B981;
            color: white;
            padding: 8px 16px;
            border-radius: 20px;
            font-size: 12px;
            font-weight: 500;
        }
        
        /* 缴费明细编辑弹窗样式 */
        .modal-overlay {
            position: fixed !important;
            top: 0 !important;
            left: 0 !important;
            right: 0 !important;
            bottom: 0 !important;
            width: 100vw !important;
            height: 100vh !important;
            background: rgba(0,0,0,0.5) !important;
            display: none !important;
            align-items: center !important;
            justify-content: center !important;
            z-index: 999999 !important;
        }
        
        .modal-overlay.show {
            display: flex !important;
        }
        
        .modal-content {
            margin: auto !important;
        }
        
        .modal-content {
            width: 340px;
            max-height: 580px;
            background: white;
            border-radius: 16px;
            overflow: hidden;
        }
        
        .modal-header {
            padding: 16px 20px;
            background: linear-gradient(135deg, #FF6B6B 0%, #FF8E53 100%);
            color: white;
            display: flex;
            justify-content: space-between;
            align-items: center;
        }
        
        .modal-title {
            font-size: 16px;
            font-weight: 600;
        }
        
        .modal-close {
            font-size: 20px;
            cursor: pointer;
        }
        
        .modal-body {
            padding: 16px;
            max-height: 420px;
            overflow-y: auto;
        }
        
        .month-grid {
            display: grid;
            grid-template-columns: 1fr 1fr;
            gap: 12px;
            margin-bottom: 16px;
        }
        
        .month-item {
            display: flex;
            flex-direction: column;
            gap: 4px;
        }
        
        .month-label {
            font-size: 12px;
            color: #666;
        }
        
        .month-input {
            padding: 8px 10px;
            border: 1px solid #e5e7eb;
            border-radius: 6px;
            font-size: 13px;
        }
        
        .month-input:focus {
            outline: none;
            border-color: #FF6B6B;
        }
        
        .stats-box {
            background: #F8FAFC;
            border-radius: 10px;
            padding: 14px;
            margin-bottom: 12px;
        }
        
        .stats-row {
            display: flex;
            justify-content: space-between;
            padding: 6px 0;
        }
        
        .stats-label {
            font-size: 13px;
            color: #666;
        }
        
        .stats-value {
            font-size: 14px;
            font-weight: 600;
            color: #333;
        }
        
        .stats-value.highlight {
            color: #FF6B6B;
        }
        
        .change-notice {
            background: #FEF3C7;
            border-radius: 10px;
            padding: 12px;
            margin-bottom: 12px;
            border-left: 4px solid #F59E0B;
        }
        
        .change-title {
            font-size: 13px;
            font-weight: 600;
            color: #92400E;
            margin-bottom: 8px;
            display: flex;
            align-items: center;
            gap: 4px;
        }
        
        .change-row {
            display: flex;
            justify-content: space-between;
            font-size: 12px;
            padding: 4px 0;
        }
        
        .change-old {
            color: #DC2626;
            text-decoration: line-through;
        }
        
        .change-new {
            color: #059669;
            font-weight: 600;
        }
        
        .modal-footer {
            padding: 12px 16px;
            border-top: 1px solid #eee;
            display: flex;
            gap: 12px;
        }
        
        .modal-btn-cancel {
            flex: 1;
            padding: 12px;
            background: #F1F5F9;
            border: none;
            border-radius: 8px;
            font-size: 14px;
            color: #666;
            cursor: pointer;
        }
        
        .modal-btn-confirm {
            flex: 1;
            padding: 12px;
            background: linear-gradient(135deg, #FF6B6B 0%, #FF8E53 100%);
            border: none;
            border-radius: 8px;
            font-size: 14px;
            color: white;
            font-weight: 500;
            cursor: pointer;
        }
        
        /* 未来缴费选择样式 */
        .future-section {
            background: white;
            border-radius: 12px;
            padding: 20px 16px;
            box-shadow: 0 2px 8px rgba(0,0,0,0.06);
            margin-bottom: 16px;
        }
        
        .future-title {
            font-size: 15px;
            font-weight: 600;
            color: #333;
            margin-bottom: 16px;
            display: flex;
            align-items: center;
            gap: 6px;
        }
        
        .future-options {
            display: flex;
            gap: 10px;
        }
        
        .future-option {
            flex: 1;
            padding: 14px 10px;
            border: 2px solid #e5e7eb;
            border-radius: 10px;
            text-align: center;
            cursor: pointer;
            transition: all 0.3s;
        }
        
        .future-option:hover {
            border-color: #FF8E53;
        }
        
        .future-option.selected {
            border-color: #FF6B6B;
            background: #FFF8F0;
        }
        
        .future-percent {
            font-size: 16px;
            font-weight: 700;
            color: #333;
            margin-bottom: 4px;
        }
        
        .future-option.selected .future-percent {
            color: #FF6B6B;
        }
        
        .future-desc {
            font-size: 11px;
            color: #999;
        }
        
        .future-preview {
            background: #F0FDF4;
            border-radius: 10px;
            padding: 12px;
            margin-top: 14px;
            border-left: 4px solid #10B981;
        }
        
        .preview-title {
            font-size: 13px;
            font-weight: 600;
            color: #065F46;
            margin-bottom: 8px;
        }
        
        .preview-row {
            display: flex;
            justify-content: space-between;
            font-size: 12px;
            padding: 4px 0;
            color: #065F46;
        }
        
        /* 上一步/下一步按钮样式 */
        .step-buttons {
            display: flex;
            gap: 12px;
            margin-top: 16px;
        }
        
        .step-btn-prev {
            flex: 1;
            padding: 14px;
            background: #F1F5F9;
            border: none;
            border-radius: 10px;
            color: #666;
            font-size: 15px;
            font-weight: 500;
            cursor: pointer;
        }
        
        .step-btn-next {
            flex: 1;
            padding: 14px;
            background: linear-gradient(135deg, #FF6B6B 0%, #FF8E53 100%);
            border: none;
            border-radius: 10px;
            color: white;
            font-size: 15px;
            font-weight: 500;
            cursor: pointer;
        }
