/* ================= 本地字体 ================= */
@font-face {
    font-family: 'Plus Jakarta Sans';
    src: url('fonts/PlusJakartaSans-VariableFont_wght.ttf') format('truetype');
    font-weight: 200 800;
    font-style: normal;
    font-display: swap;
}

/* ================= 基础与设计令牌 ================= */
        * {
            margin: 0;
            padding: 0;
            box-sizing: border-box;
            font-family: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
        }
        :root {
            --bg-page: #FBF6F1;
            --bg-surface: rgba(255, 255, 255, 0.95);
            --bg-muted: #FDF8F3;
            --line-soft: #E8DDD0;
            --line-strong: #D4C4B0;
            --text-main: #0F172A;
            --text-sub: #7D6B5D;
            --brand: #C2510B;
            --brand-secondary: #E07B39;
            --brand-soft: #FFF5EB;
            --danger: #DC2626;
            --danger-soft: #FEF2F2;
            --success: #059669;
            --shadow-soft: 0 8px 30px -4px rgba(194, 81, 11, 0.05);
            --shadow-hover: 0 20px 40px -8px rgba(194, 81, 11, 0.12), 0 10px 15px -5px rgba(194, 81, 11, 0.08);
            --shadow-button: 0 8px 20px -4px rgba(194, 81, 11, 0.35);
            --shadow-locator: 0 6px 20px rgba(194, 81, 11, 0.3);
            --radius-card: 16px;
            --radius-input: 10px;
            --radius-button: 10px;
        }
        ::-webkit-scrollbar { display: none; }
        body {
            background-color: #E8DDD0;
            display: flex;
            justify-content: center;
            align-items: center;
            min-height: 100vh;
            padding: 10px;
            color: var(--text-main);
        }
        /* ================= 手机容器 ================= */
        .phone-container {
            width: 360px;
            height: 700px;
            background: var(--bg-page);
            border-radius: 32px;
            border: 4px solid #0F172A;
            box-shadow: 0 25px 50px -12px rgba(15, 23, 42, 0.35);
            position: relative;
            overflow: hidden;
            isolation: isolate;
            -webkit-mask-image: -webkit-radial-gradient(white, black);
            mask-image: radial-gradient(white, black);
        }
        @media screen and (max-width: 480px) {
            body { padding: 0; background: #fff; }
            .phone-container {
                width: 100vw;
                height: 100vh;
                border-radius: 0;
                border: none;
                box-shadow: none;
                -webkit-mask-image: none;
                mask-image: none;
                isolation: auto;
            }
            .page, .sub-page, .calc-page, .fault-page, .contract-page, .splash-page,
            .login-modal, .picker-overlay, .status-popup-mask, .location-sheet-mask,
            .vip-pay-mask, .house-picker-mask, .modal-overlay {
                border-radius: 0;
            }
        }
        /* ================= 页面框架 ================= */
        .page-container {
            width: 100%;
            height: 100%;
            position: relative;
        }
        .page-wrapper {
            position: relative;
            width: 100%;
            height: 100%;
        }
        .page-wrapper::before {
            content: "";
            position: absolute;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            background-image: linear-gradient(to top, rgba(251, 246, 241, 0.95) 0%, rgba(251, 246, 241, 0.6) 35%, rgba(251, 246, 241, 0.15) 70%, rgba(251, 246, 241, 0.05) 100%),
                              url("images/bg2.jpg");
            background-size: cover;
            background-position: center top;
            opacity: 0.3;
            pointer-events: none;
            z-index: 0;
        }
        .page {
            width: 100%;
            height: 100%;
            position: absolute;
            top: 0;
            left: 0;
            display: none;
            animation: fadeInUp 0.4s ease;
            border-radius: 28px;
            overflow: hidden;
        }
        .page.active { display: block; }
        @keyframes fadeInUp {
            from { opacity: 0; transform: translateY(20px); }
            to { opacity: 1; transform: translateY(0); }
        }
        .sub-page {
            width: 100%;
            height: 100%;
            position: absolute;
            top: 0;
            left: 0;
            background: var(--bg-page);
            transform: translateX(100%);
            transition: transform 0.3s cubic-bezier(0.2, 0.8, 0.2, 1);
            z-index: 5;
            border-radius: 28px;
            overflow: hidden;
        }
        .sub-page.show { transform: translateX(0); }
        .main-content {
            padding: 16px;
            height: calc(100% - 70px);
            overflow-y: auto;
            padding-top: 58px;
            z-index: 2;
            position: relative;
        }

        /* ================= 高级开屏页（你设计的新版，已放入） ================= */
        .splash-page {
            width: 100%;
            height: 100%;
            position: absolute;
            top: 0;
            left: 0;
            z-index: 100;
            display: flex;
            flex-direction: column;
            align-items: center;
            justify-content: flex-end;
            text-align: center;
            padding: 0 0 80px 0;
            transition: opacity 0.8s cubic-bezier(0.4, 0, 0.2, 1);
            overflow: hidden;
            border-radius: 28px;
        }
        .splash-page.hide {
            opacity: 0;
            pointer-events: none;
        }
        /* 开屏背景图 */
        .splash-bg {
            position: absolute;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            background: url('images/bg1.jpg') center/cover no-repeat;
            z-index: 0;
        }
        .splash-overlay {
            position: absolute;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            background: linear-gradient(to bottom,
                rgba(30, 20, 10, 0.15) 0%,
                rgba(30, 20, 10, 0.05) 25%,
                rgba(251, 246, 241, 0.6) 50%,
                rgba(251, 246, 241, 0.95) 70%,
                rgba(251, 246, 241, 1) 100%);
            z-index: 1;
        }
        .splash-content {
            position: relative;
            z-index: 2;
            display: flex;
            flex-direction: column;
            align-items: center;
            width: 100%;
            padding: 0 30px;
        }
        .splash-logo-wrap {
            width: 80px;
            height: 80px;
            background: rgba(255, 255, 255, 0.85);
            backdrop-filter: blur(20px);
            -webkit-backdrop-filter: blur(20px);
            border-radius: 24px;
            border: 1px solid rgba(255, 255, 255, 0.6);
            display: flex;
            align-items: center;
            justify-content: center;
            margin-bottom: 24px;
            box-shadow: 0 12px 40px rgba(194, 81, 11, 0.15), 0 4px 12px rgba(0,0,0,0.05);
            animation: logoReveal 1s cubic-bezier(0.16, 1, 0.3, 1) forwards;
            opacity: 0;
            transform: scale(0.8) translateY(20px);
        }
        @keyframes logoReveal {
            to {
                opacity: 1;
                transform: scale(1) translateY(0);
            }
        }
        .splash-logo-wrap svg {
            width: 40px;
            height: 40px;
            fill: var(--brand);
        }
        .splash-title {
            font-size: 40px;
            font-weight: 800;
            letter-spacing: -0.03em;
            background: linear-gradient(135deg, var(--brand), #E8955A, #D97706);
            background-size: 200% auto;
            -webkit-background-clip: text;
            -webkit-text-fill-color: transparent;
            margin-bottom: 10px;
            animation: titleReveal 1s 0.15s cubic-bezier(0.16, 1, 0.3, 1) forwards;
            opacity: 0;
            transform: translateY(16px);
        }
        @keyframes titleReveal {
            to {
                opacity: 1;
                transform: translateY(0);
            }
        }
        .splash-subtitle {
            font-size: 17px;
            color: var(--text-sub);
            font-weight: 500;
            letter-spacing: 0.06em;
            margin-bottom: 32px;
            animation: fadeUp 1s 0.3s cubic-bezier(0.16, 1, 0.3, 1) forwards;
            opacity: 0;
        }
        .splash-tags {
            display: flex;
            gap: 10px;
            justify-content: center;
            margin-bottom: 48px;
            animation: fadeUp 1s 0.45s cubic-bezier(0.16, 1, 0.3, 1) forwards;
            opacity: 0;
        }
        .splash-tag-pill {
            padding: 8px 18px;
            background: rgba(255, 255, 255, 0.7);
            backdrop-filter: blur(10px);
            border: 1px solid rgba(194, 81, 11, 0.12);
            border-radius: 100px;
            font-size: 13px;
            color: var(--brand);
            font-weight: 600;
            box-shadow: 0 2px 8px rgba(194, 81, 11, 0.06);
        }
        .splash-loader {
            display: flex;
            align-items: center;
            gap: 10px;
            animation: fadeUp 1s 0.6s cubic-bezier(0.16, 1, 0.3, 1) forwards;
            opacity: 0;
        }
        .splash-loader-ring {
            width: 18px;
            height: 18px;
            border: 2.5px solid var(--line-soft);
            border-top-color: var(--brand);
            border-radius: 50%;
            animation: loaderSpin 0.8s linear infinite;
        }
        @keyframes loaderSpin {
            to { transform: rotate(360deg); }
        }
        .splash-loader-text {
            font-size: 14px;
            color: var(--text-sub);
            font-weight: 500;
        }
        @keyframes fadeUp {
            to {
                opacity: 1;
                transform: translateY(0);
            }
        }

        /* ================= 登录弹窗（完全保留） ================= */
        .login-modal {
            position: absolute;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            background: rgba(42, 26, 15, 0.6);
            backdrop-filter: blur(4px);
            display: none;
            align-items: flex-end;
            z-index: 101;
            border-radius: 28px;
            overflow: hidden;
        }
        .login-modal.show { display: flex; }
        .modal-content {
            background: #fff;
            width: 100%;
            border-radius: 24px 24px 0 0;
            border-top: 1px solid var(--line-soft);
            padding: 35px 25px 40px;
            animation: slideUp 0.4s cubic-bezier(0.16, 1, 0.3, 1);
            box-shadow: 0 -10px 40px rgba(0, 0, 0, 0.1);
            position: relative;
        }
        @keyframes slideUp {
            from { transform: translateY(100%); }
            to { transform: translateY(0); }
        }
        .close-btn {
            position: absolute;
            top: 20px;
            right: 20px;
            width: 32px;
            height: 32px;
            background: var(--bg-muted);
            border-radius: 50%;
            display: flex;
            align-items: center;
            justify-content: center;
            cursor: pointer;
            font-size: 14px;
            color: var(--text-sub);
            transition: all 0.2s;
            border: none;
        }
        .close-btn:hover { background: var(--line-soft); color: var(--text-main); }
        .modal-title { text-align: center; font-size: 15px; color: var(--text-sub); margin-bottom: 25px; font-weight: 600; }
        .phone-card {
            background: var(--bg-muted);
            border: 1px solid var(--line-soft);
            border-radius: var(--radius-card);
            padding: 20px;
            display: flex;
            align-items: center;
            margin-bottom: 24px;
        }
        .phone-icon {
            width: 44px;
            height: 44px;
            background: #fff;
            border-radius: 50%;
            display: flex;
            align-items: center;
            justify-content: center;
            margin-right: 15px;
            font-size: 20px;
            box-shadow: 0 4px 10px rgba(0,0,0,0.05);
        }
        .phone-info { flex: 1; text-align: left; }
        .phone-label { font-size: 13px; color: var(--text-sub); font-weight: 500; }
        .phone-number { font-size: 22px; font-weight: 800; color: var(--text-main); letter-spacing: 1px; }
        .phone-status {
            width: 10px;
            height: 10px;
            background: var(--success);
            border-radius: 50%;
            box-shadow: 0 0 0 3px #D1FAE5;
        }
        .agreement-box {
            display: flex;
            gap: 12px;
            align-items: flex-start;
            font-size: 13px;
            color: var(--text-sub);
            text-align: left;
            margin-bottom: 20px;
            line-height: 1.5;
        }
        .agreement-checkbox {
            width: 18px;
            height: 18px;
            border: 2px solid var(--line-strong);
            border-radius: 4px;
            flex-shrink: 0;
            margin-top: 1px;
            cursor: pointer;
            transition: all 0.2s;
        }
        .agreement-checkbox.checked {
            background: var(--brand);
            border-color: var(--brand);
            position: relative;
        }
        .agreement-checkbox.checked::after {
            content: "✓";
            color: #fff;
            font-size: 12px;
            font-weight: bold;
            position: absolute;
            top: 50%;
            left: 50%;
            transform: translate(-50%, -50%);
        }
        .agreement-text a { color: var(--brand); font-weight: 600; text-decoration: none; }
        .privacy-tip { font-size: 12px; color: var(--line-strong); text-align: center; }
        /* ================= 通用按钮 ================= */
        .btn-primary, .login-btn, .submit-btn {
            width: 100%;
            height: 54px;
            background: linear-gradient(135deg, var(--brand), var(--brand-secondary));
            background-size: 200% auto;
            border: none;
            border-radius: var(--radius-button);
            color: #fff;
            font-size: 17px;
            font-weight: 600;
            cursor: pointer;
            box-shadow: var(--shadow-button);
            transition: all 0.3s ease;
            position: relative;
            overflow: hidden;
        }
        .btn-primary:hover, .login-btn:hover, .submit-btn:hover {
            background-position: right center;
            transform: translateY(-2px);
            box-shadow: 0 12px 25px 0 rgba(194, 81, 11, 0.4);
        }
        .btn-primary:active, .login-btn:active, .submit-btn:active { transform: translateY(0); }
        .login-btn::after {
            content: "";
            position: absolute;
            top: 0;
            left: -120%;
            width: 100%;
            height: 100%;
            background: linear-gradient(120deg, transparent, rgba(255,255,255,0.5), transparent);
        }
        .login-btn:hover::after { animation: btnShine 1s; }
        @keyframes btnShine { to { left: 120%; } }
        .onekey-login-btn {
            width: 100%;
            height: 54px;
            background: var(--bg-muted);
            border: 1px solid var(--line-soft);
            border-radius: var(--radius-button);
            color: var(--text-sub);
            font-size: 17px;
            font-weight: 600;
            margin-bottom: 20px;
            cursor: not-allowed;
            transition: all 0.3s;
        }
        .onekey-login-btn.active {
            background: linear-gradient(135deg, var(--brand), var(--brand-secondary));
            color: #fff;
            cursor: pointer;
            box-shadow: var(--shadow-button);
        }
        .wechat-login-btn.active { background: #07c160; box-shadow: 0 4px 14px 0 rgba(7, 193, 96, 0.3); }
        .wechat-login-btn.active:hover { box-shadow: 0 6px 20px 0 rgba(7, 193, 96, 0.35); }
        /* ================= 顶部按钮 ================= */
        .top-right-buttons {
            position: absolute;
            top: 12px;
            right: 16px;
            display: flex;
            align-items: center;
            gap: 6px;
            z-index: 210;
            background: rgba(255, 255, 255, 0.9);
            border-radius: 12px;
            padding: 4px 8px;
            border: 1px solid rgba(255,255,255,0.8);
            backdrop-filter: blur(8px);
            box-shadow: var(--shadow-soft);
        }
        .top-btn {
            width: 24px;
            height: 24px;
            display: flex;
            align-items: center;
            justify-content: center;
            color: var(--text-main);
            cursor: pointer;
            transition: color 0.2s ease;
        }
        .top-btn:hover { color: var(--brand); }
        .top-btn svg { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 2; }
        .divider { width: 1px; height: 14px; background: var(--line-soft); }
        /* ================= 首页头部 ================= */
        .header { display: flex; justify-content: space-between; align-items: flex-end; margin-bottom: 16px; }
        .header-title { display: flex; align-items: center; gap: 8px; }
        .header h1 { font-size: 26px; font-weight: 800; color: var(--text-main); letter-spacing: -0.02em; line-height: 1.2; }
        .tag {
            background: rgba(255, 245, 235, 0.8);
            backdrop-filter: blur(4px);
            color: var(--brand);
            padding: 4px 12px;
            border-radius: 999px;
            font-size: 13px;
            border: 1px solid #F5D0A9;
            font-weight: 600;
        }
        .subtitle { font-size: 14px; color: var(--text-sub); margin-top: 4px; font-weight: 500; letter-spacing: 0.02em; }
        /* ================= 醒目定位按钮 ================= */
        .locator-btn {
            width: auto;
            height: 36px;
            border-radius: 18px;
            padding: 0 14px;
            background: linear-gradient(135deg, var(--brand), var(--brand-secondary));
            border: 2px solid #fff;
            display: flex;
            align-items: center;
            gap: 6px;
            box-shadow: var(--shadow-locator);
            cursor: pointer;
            transition: all 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
            color: #fff;
            font-size: 13px;
            font-weight: 700;
            position: relative;
            animation: locatorPulse 2s ease-in-out infinite;
            flex-shrink: 0;
            margin-bottom: 2px;
        }
        @keyframes locatorPulse {
            0%, 100% { box-shadow: 0 0 0 0 rgba(194, 81, 11, 0.35), var(--shadow-locator); }
            50% { box-shadow: 0 0 0 8px rgba(194, 81, 11, 0), var(--shadow-locator); }
        }
        .locator-btn:hover {
            transform: scale(1.05);
            box-shadow: 0 8px 25px rgba(194, 81, 11, 0.45);
            animation: none;
        }
        .locator-btn:active { transform: scale(0.96); }
        .locator-btn svg { width: 16px; height: 16px; fill: #fff; }
        /* ================= 功能卡片（图片主导） ================= */
        .function-list { display: flex; flex-direction: column; gap: 10px; margin-bottom: 12px; }
        .function-card {
            position: relative;
            height: 90px;
            border-radius: 18px;
            overflow: hidden;
            display: flex;
            align-items: flex-end;
            padding: 16px;
            color: #fff;
            background-size: cover;
            background-position: center;
            cursor: pointer;
            box-shadow: var(--shadow-soft);
            transition: all 0.35s cubic-bezier(0.2, 0.8, 0.2, 1);
        }
        .function-card::before {
            content: "";
            position: absolute;
            inset: 0;
            background: linear-gradient(to top, rgba(0,0,0,0.65) 0%, rgba(0,0,0,0.15) 60%, rgba(0,0,0,0.05) 100%);
            z-index: 1;
        }
        .function-card:hover { transform: scale(1.03) translateY(-2px); box-shadow: var(--shadow-hover); }
        .function-card:active { transform: scale(0.97); }
        .function-card:nth-child(1) { background-image: url('images/btn1.jpg'); }
        .function-card:nth-child(2) { background-image: url('images/btn2.jpg'); }
        .function-card:nth-child(3) { background-image: url('images/btn3.jpg'); }
        .function-title { font-size: 18px; font-weight: 700; margin-bottom: 4px; position: relative; z-index: 2; }
        .function-desc { font-size: 13px; position: relative; z-index: 2; opacity: 0.9; }
        .function-icon { display: none; }
        /* ================= 小贴士轮播（单标题+两行） ================= */
        .tips-section { margin-top: 10px; }
        .tips-title { font-size: 15px; font-weight: 700; color: var(--text-main); margin-bottom: 8px; }
        .tips-carousel {
            position: relative;
            background: rgba(255, 255, 255, 0.78);
            backdrop-filter: blur(10px);
            border-radius: var(--radius-card);
            border: 1px solid rgba(255,255,255,0.9);
            box-shadow: var(--shadow-soft);
            border-left: 3px solid var(--brand);
            height: 92px;
            overflow: hidden;
        }
        .tips-card {
            position: absolute;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            padding: 12px 16px;
            transform: translateX(100%);
            opacity: 0;
            transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1), opacity 0.5s ease;
            pointer-events: none;
            display: flex;
            align-items: center;
            justify-content: space-between;
            gap: 12px;
        }
        .tips-card.enter {
            transform: translateX(0);
            opacity: 1;
            pointer-events: auto;
        }
        .tips-card.exit {
            transform: translateX(-100%);
            opacity: 0;
        }
        .tips-text {
            flex: 1;
            min-width: 0;
            display: flex;
            flex-direction: column;
            gap: 4px;
        }
        .tips-head {
            font-size: 14px;
            font-weight: 700;
            color: var(--brand);
            letter-spacing: 0.02em;
        }
        .tips-desc {
            font-size: 12.5px;
            color: var(--text-sub);
            line-height: 1.45;
            font-weight: 500;
            white-space: nowrap;
            overflow: hidden;
            text-overflow: ellipsis;
        }
        .tips-icon {
            width: 34px;
            height: 34px;
            flex-shrink: 0;
            color: var(--brand);
            opacity: 0.16;
            display: flex;
            align-items: center;
            justify-content: center;
        }
        .tips-icon svg {
            width: 100%;
            height: 100%;
            stroke-width: 1.6;
            stroke-linecap: round;
            stroke-linejoin: round;
            fill: none;
        }

        /* ================= 历史记录页 ================= */
        .group-tabs {
            display: flex;
            gap: 10px;
            margin-bottom: 16px;
            overflow-x: auto;
            padding-bottom: 6px;
        }
        .group-btn {
            padding: 8px 16px;
            border-radius: 24px;
            font-size: 14px;
            background: var(--bg-surface);
            border: 1px solid var(--line-soft);
            color: var(--text-sub);
            white-space: nowrap;
            cursor: pointer;
            transition: all 0.3s;
            font-weight: 600;
            box-shadow: 0 2px 5px rgba(0,0,0,0.02);
        }
        .group-btn.active {
            background: var(--text-main);
            border-color: var(--text-main);
            color: #fff;
            box-shadow: 0 6px 15px rgba(15, 23, 42, 0.2);
        }
        .group-btn:hover:not(.active) { background: var(--line-soft); color: var(--text-main); }
        .group-location {
            font-size: 13px;
            color: var(--text-sub);
            margin-bottom: 12px;
            padding: 10px 14px;
            background: var(--bg-surface);
            border-radius: 12px;
            font-weight: 500;
            border: 1px solid var(--line-soft);
        }
        .history-list { display: flex; flex-direction: column; gap: 14px; }
        .history-item {
            background: var(--bg-surface);
            backdrop-filter: blur(10px);
            border-radius: var(--radius-card);
            padding: 16px;
            border: 1px solid rgba(255,255,255,0.8);
            box-shadow: var(--shadow-soft);
            display: flex;
            align-items: center;
            gap: 16px;
            cursor: pointer;
            transition: all 0.3s cubic-bezier(0.2, 0.8, 0.2, 1);
        }
        .history-item:hover { transform: translateY(-2px); box-shadow: var(--shadow-hover); border-color: var(--brand); }
        .history-icon {
            width: 48px;
            height: 48px;
            border-radius: 14px;
            display: flex;
            align-items: center;
            justify-content: center;
            flex-shrink: 0;
        }
        .history-icon.fault { background: #ECFDF3; }
        .history-icon.price { background: #FFF5EB; }
        .history-icon.contract { background: #F5F3FF; }
        .history-icon svg { width: 24px; height: 24px; fill: var(--brand); }
        .history-info { flex: 1; }
        .history-title { font-size: 16px; font-weight: 700; color: var(--text-main); margin-bottom: 4px; }
        .history-time { font-size: 13px; color: var(--text-sub); }
        .history-tag { padding: 4px 10px; border-radius: 8px; font-size: 12px; font-weight: 600; }
        .tag-success { background: #ECFDF5; color: #059669; }
        .tag-warn { background: #FEF2F2; color: #DC2626; }
        .house-card {
            background: var(--bg-surface);
            backdrop-filter: blur(10px);
            border-radius: var(--radius-card);
            padding: 16px;
            border: 1px solid rgba(255,255,255,0.8);
            box-shadow: var(--shadow-soft);
            margin-bottom: 14px;
            transition: all 0.3s cubic-bezier(0.2, 0.8, 0.2, 1);
        }
        .house-card:hover { transform: translateY(-2px); box-shadow: var(--shadow-hover); border-color: rgba(194, 81, 11, 0.1); }
        .house-title { font-size: 16px; font-weight: 700; color: var(--text-main); margin-bottom: 12px; }
        /* ================= 详情页头部 ================= */
        .detail-header, .page-header {
            padding: 60px 16px 16px;
            background: rgba(255,255,255,0.9);
            backdrop-filter: blur(10px);
            display: flex;
            align-items: center;
            border-bottom: 1px solid var(--line-soft);
            z-index: 10;
        }
        .detail-back, .back-btn {
            width: 36px;
            height: 36px;
            display: flex;
            align-items: center;
            justify-content: center;
            font-size: 18px;
            color: var(--text-main);
            cursor: pointer;
            border-radius: 50%;
            transition: background 0.2s ease;
            margin-right: 12px;
        }
        .detail-back:hover, .back-btn:hover { background: var(--bg-muted); }
        .detail-title { font-size: 18px; font-weight: 700; }
        .page-title h1 { font-size: 24px; font-weight: 800; color: var(--text-main); margin-bottom: 4px; letter-spacing: -0.02em; }
        .page-title p { font-size: 15px; color: var(--text-sub); font-weight: 500; }
        .detail-content, .page-content {
            padding: 16px;
            height: calc(100% - 70px);
            overflow-y: auto;
            -webkit-overflow-scrolling: touch;
            padding-bottom: 40px;
        }
        /* ================= 详情卡片 ================= */
        .detail-card {
            background: var(--bg-surface);
            backdrop-filter: blur(10px);
            border-radius: var(--radius-card);
            padding: 20px;
            border: 1px solid rgba(255,255,255,0.8);
            box-shadow: var(--shadow-soft);
            margin-bottom: 14px;
        }
        .detail-row { display: flex; justify-content: space-between; padding: 10px 0; border-bottom: 1px solid var(--line-soft); }
        .detail-row:last-child { border-bottom: none; }
        .detail-label { color: var(--text-sub); font-size: 14px; font-weight: 500; }
        .detail-value { color: var(--text-main); font-size: 14px; font-weight: 600; text-align: right; }
        .risk-item {
            background: var(--danger-soft);
            border: 1px solid #FECACA;
            border-radius: 12px;
            padding: 12px;
            margin-bottom: 10px;
        }
        .risk-title { color: var(--danger); font-size: 14px; font-weight: 700; margin-bottom: 6px; }
        .risk-desc { color: #991B1B; font-size: 13px; line-height: 1.5; }
        /* ================= 功能页面 ================= */
        .calc-page, .fault-page, .contract-page {
            width: 100%;
            height: 100%;
            position: absolute;
            top: 0;
            left: 100%;
            background: var(--bg-page);
            transition: transform 0.3s cubic-bezier(0.2, 0.8, 0.2, 1);
            z-index: 30;
            overflow: hidden;
            border-radius: 28px;
        }
        .calc-page.show, .fault-page.show, .contract-page.show { transform: translateX(-100%); }
        /* ================= 上传卡片 ================= */
        .upload-card {
            background: var(--bg-surface);
            backdrop-filter: blur(10px);
            border-radius: var(--radius-card);
            padding: 24px 20px;
            border: 1px solid rgba(255,255,255,0.8);
            box-shadow: var(--shadow-soft);
            margin-bottom: 16px;
        }
        .card-header { display: flex; align-items: center; gap: 8px; margin-bottom: 12px; }
        .card-header h2 { font-size: 20px; font-weight: 700; color: var(--text-main); }
        .card-desc { font-size: 14px; color: var(--text-sub); line-height: 1.5; margin-bottom: 20px; font-weight: 500; }
        .upload-area {
            border: 2px dashed var(--line-strong);
            border-radius: var(--radius-card);
            background: var(--bg-muted);
            padding: 30px 16px;
            display: flex;
            align-items: center;
            justify-content: center;
            flex-direction: column;
            gap: 10px;
            cursor: pointer;
            transition: all 0.3s ease;
        }
        .upload-area:hover { border-color: var(--brand); background: var(--brand-soft); }
        .upload-icon {
            width: 60px;
            height: 60px;
            border-radius: 16px;
            background: #fff;
            border: 1px solid var(--line-soft);
            display: flex;
            align-items: center;
            justify-content: center;
            box-shadow: 0 4px 10px rgba(0,0,0,0.02);
        }
        .upload-icon svg { width: 28px; height: 28px; fill: var(--brand); }
        .upload-title { font-size: 18px; font-weight: 700; color: var(--text-main); }
        .upload-desc { font-size: 13px; color: var(--text-sub); }
        /* ================= 表单 ================= */
        .form-card {
            background: var(--bg-surface);
            backdrop-filter: blur(10px);
            border-radius: var(--radius-card);
            padding: 24px 20px;
            border: 1px solid rgba(255,255,255,0.8);
            box-shadow: var(--shadow-soft);
            margin-bottom: 20px;
        }
        .form-list { display: flex; flex-direction: column; gap: 18px; margin-bottom: 24px; }
        .form-item { display: flex; flex-direction: column; gap: 8px; }
        .form-label { font-size: 15px; color: var(--text-main); font-weight: 700; }
        .form-input, .form-select, .form-textarea {
            border-radius: var(--radius-input);
            border: 1px solid transparent;
            background: var(--bg-muted);
            padding: 0 16px;
            font-size: 16px;
            color: var(--text-main);
            outline: none;
            appearance: none;
            -webkit-appearance: none;
            transition: all 0.3s ease;
            font-weight: 500;
            width: 100%;
        }
        .form-input:focus, .form-select:focus, .form-textarea:focus {
            background: #fff;
            border-color: var(--brand);
            box-shadow: 0 0 0 4px var(--brand-soft);
        }
        .form-input, .form-select { height: 50px; }
        .form-textarea { height: 110px; padding: 16px; resize: none; }
        .form-select {
            background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none' stroke='%2364748B' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");
            background-repeat: no-repeat;
            background-position: right 16px center;
            background-size: 20px;
            padding-right: 40px;
        }
        input[type="file"] { display: none; }
        /* ================= 底部操作弹窗 ================= */
        .modal-overlay {
            position: absolute;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            background: rgba(42, 26, 15, 0.6);
            backdrop-filter: blur(4px);
            z-index: 99;
            display: none;
            border-radius: 28px;
            overflow: hidden;
        }
        .action-bottom {
            position: absolute;
            left: 0;
            bottom: 0;
            width: 100%;
            background: #fff;
            border-radius: 24px 24px 0 0;
            z-index: 100;
            padding: 20px 16px 30px;
            transform: translateY(100%);
            transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
            box-shadow: 0 -10px 40px rgba(0,0,0,0.1);
        }
        .action-bottom.show { transform: translateY(0); }
        .action-item {
            height: 56px;
            display: flex;
            align-items: center;
            justify-content: center;
            font-size: 17px;
            border-radius: 14px;
            margin-bottom: 10px;
            cursor: pointer;
            transition: all 0.2s ease;
            font-weight: 600;
        }
        .action-camera { background: var(--bg-muted); color: var(--text-main); }
        .action-gallery { background: var(--bg-muted); color: var(--brand); }
        .action-cancel { background: var(--danger-soft); color: var(--danger); margin-top: 16px; }
        .action-item:hover { filter: brightness(0.95); }
        /* ================= 底部导航 ================= */
        .tab-bar {
            position: absolute;
            bottom: 0;
            left: 0;
            width: 100%;
            height: 75px;
            background: rgba(255, 255, 255, 0.95);
            backdrop-filter: blur(15px);
            display: flex;
            justify-content: space-around;
            align-items: center;
            border-top: 1px solid rgba(0,0,0,0.05);
            z-index: 20;
            box-shadow: 0 -10px 30px rgba(0, 0, 0, 0.04);
            padding-bottom: 8px;
        }
        .tab-bar-item {
            width: 54px;
            height: 54px;
            border-radius: 16px;
            display: flex;
            flex-direction: column;
            align-items: center;
            justify-content: center;
            color: var(--text-sub);
            cursor: pointer;
            transition: all 0.3s;
            font-weight: 600;
        }
        .tab-bar-item.active { color: var(--brand); }
        .tab-bar-item.active svg { transform: translateY(-2px); fill: var(--brand); }
        .tab-bar-item:hover:not(.active) { background: var(--bg-muted); color: var(--text-main); }
        .tab-bar-item svg { width: 24px; height: 24px; fill: currentColor; transition: transform 0.3s; }
        .tab-bar-item span { font-size: 11px; margin-top: 4px; }
        /* ================= 选择器弹窗 ================= */
        .picker-overlay {
            position: absolute;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            background: rgba(42, 26, 15, 0.6);
            backdrop-filter: blur(4px);
            z-index: 120;
            display: none;
            border-radius: 28px;
            overflow: hidden;
        }
        .picker-overlay.show { display: block; }
        .picker-sheet {
            position: absolute;
            left: 0;
            bottom: 0;
            width: 100%;
            background: #fff;
            border-radius: 24px 24px 0 0;
            padding: 20px 20px 30px;
            transform: translateY(100%);
            transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
            box-shadow: 0 -10px 40px rgba(0,0,0,0.1);
        }
        .picker-overlay.show .picker-sheet { transform: translateY(0); }
        .picker-title { text-align: center; font-size: 15px; color: var(--text-sub); margin-bottom: 16px; font-weight: 600; }
        .picker-option {
            height: 50px;
            border-radius: var(--radius-input);
            background: var(--bg-muted);
            border: 1px solid transparent;
            margin-bottom: 10px;
            display: flex;
            align-items: center;
            justify-content: center;
            color: var(--text-main);
            cursor: pointer;
            transition: all 0.2s ease;
            font-weight: 600;
            font-size: 16px;
        }
        .picker-option:hover { background: var(--brand-soft); border-color: var(--brand); color: var(--brand); }
        .picker-cancel {
            height: 50px;
            border-radius: var(--radius-input);
            background: var(--danger-soft);
            color: var(--danger);
            display: flex;
            align-items: center;
            justify-content: center;
            cursor: pointer;
            margin-top: 16px;
            font-weight: 700;
            transition: all 0.2s ease;
        }
        .picker-cancel:hover { background: #FEE2E2; }
        /* ================= 状态弹窗 ================= */
        .status-popup-mask {
            position: absolute;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            background: rgba(42, 26, 15, 0.4);
            backdrop-filter: blur(2px);
            z-index: 140;
            display: none;
            align-items: center;
            justify-content: center;
            border-radius: 28px;
            overflow: hidden;
        }
        .status-popup-mask.show { display: flex; }
        .status-popup {
            min-width: 220px;
            max-width: 280px;
            background: rgba(255,255,255,0.95);
            backdrop-filter: blur(10px);
            border-radius: 20px;
            padding: 20px;
            text-align: center;
            border: 1px solid rgba(255,255,255,0.8);
            box-shadow: var(--shadow-hover);
        }
        .status-popup-title { font-size: 16px; font-weight: 700; color: var(--text-main); margin-bottom: 8px; }
        .status-popup-desc { font-size: 14px; color: var(--text-sub); font-weight: 500; }
        /* ================= 个人中心 ================= */
        .user-card {
            background: var(--bg-surface);
            backdrop-filter: blur(10px);
            border-radius: var(--radius-card);
            padding: 20px;
            border: 1px solid rgba(255,255,255,0.8);
            box-shadow: var(--shadow-soft);
            display: flex;
            align-items: center;
            gap: 16px;
            margin-bottom: 20px;
            transition: all 0.3s cubic-bezier(0.2, 0.8, 0.2, 1);
        }
        .user-card:hover { transform: translateY(-2px); box-shadow: var(--shadow-hover); }
        .avatar-large {
            width: 52px;
            height: 52px;
            border-radius: 50%;
            background: #FFF5EB;
            display: flex;
            align-items: center;
            justify-content: center;
            cursor: pointer;
            flex-shrink: 0;
        }
        .avatar-large svg { width: 28px; height: 28px; fill: #E8955A; }
        .user-info { flex: 1; }
        .user-name { font-size: 18px; font-weight: 600; color: #1a1a1a; margin-bottom: 4px; }
        .user-phone-row {
            font-size: 14px;
            color: #666;
            display: flex;
            align-items: center;
            gap: 4px;
        }
        .profile-chip-btn {
            background: var(--brand-soft);
            color: var(--brand);
            border: 1px solid #F5D0A9;
            border-radius: 12px;
            padding: 8px 16px;
            font-size: 14px;
            font-weight: 600;
            cursor: pointer;
            transition: all 0.3s ease;
            flex-shrink: 0;
        }
        .profile-chip-btn:hover { background: var(--brand); color: #fff; box-shadow: 0 4px 10px rgba(194,81,11,0.2); }
        /* ================= VIP 横幅（保持原样，不改动） ================= */
        .vip-banner {
            background: linear-gradient(135deg, #0F172A, #1E293B);
            border-radius: var(--radius-card);
            border: 1px solid #334155;
            padding: 20px;
            display: flex;
            justify-content: space-between;
            align-items: center;
            margin-bottom: 24px;
            box-shadow: 0 10px 30px -5px rgba(15, 23, 42, 0.4);
            position: relative;
            overflow: hidden;
        }
        .vip-banner::after {
            content: '';
            position: absolute;
            top: 0;
            left: -150%;
            width: 100%;
            height: 100%;
            background: linear-gradient(90deg, transparent, rgba(255, 215, 0, 0.15), transparent);
            transform: skewX(-20deg);
            animation: vipShimmer 4s infinite;
        }
        @keyframes vipShimmer { 0% { left: -150%; } 50%, 100% { left: 150%; } }
        .vip-title-row {
            font-size: 18px;
            font-weight: 700;
            color: #ffd700;
            display: flex;
            align-items: center;
            gap: 6px;
            margin-bottom: 6px;
            position: relative;
            z-index: 1;
        }
        .vip-title-row svg { width: 18px; height: 18px; fill: #ffd700; }
        .vip-desc { font-size: 13px; color: #e0e0e0; position: relative; z-index: 1; }
        .vip-btn-small {
            background: linear-gradient(135deg, #FDE047, #EAB308);
            color: #422006;
            border: none;
            border-radius: 20px;
            padding: 10px 20px;
            font-size: 13px;
            font-weight: 800;
            cursor: pointer;
            transition: transform 0.2s, box-shadow 0.2s;
            position: relative;
            z-index: 2;
            flex-shrink: 0;
        }
        .vip-btn-small:hover { transform: scale(1.05); box-shadow: 0 8px 20px rgba(234, 179, 8, 0.3); }
        /* ================= 菜单卡片 ================= */
        .menu-card {
            background: var(--bg-surface);
            backdrop-filter: blur(10px);
            border-radius: var(--radius-card);
            border: 1px solid rgba(255,255,255,0.8);
            box-shadow: var(--shadow-soft);
            padding: 0;
            overflow: hidden;
            margin-bottom: 24px;
        }
        .func-item {
            display: flex;
            align-items: center;
            padding: 16px 20px;
            border-bottom: 1px solid var(--line-soft);
            cursor: pointer;
            transition: background 0.2s ease;
            font-weight: 600;
            color: var(--text-main);
        }
        .func-item:hover { background: var(--bg-muted); }
        .func-item:last-child { border-bottom: none; }
        .func-icon-wrap {
            width: 32px;
            height: 32px;
            border-radius: 8px;
            display: flex;
            align-items: center;
            justify-content: center;
            margin-right: 14px;
            flex-shrink: 0;
        }
        .func-icon-wrap svg { width: 18px; height: 18px; }
        .func-arrow { width: 14px; height: 14px; fill: #ccc; flex-shrink: 0; }
        .logout-btn {
            width: 100%;
            background: #fff;
            border: 1px solid #FECACA;
            border-radius: var(--radius-button);
            padding: 16px;
            font-size: 16px;
            font-weight: 700;
            color: var(--danger);
            display: flex;
            align-items: center;
            justify-content: center;
            gap: 8px;
            cursor: pointer;
            transition: all 0.3s ease;
            box-shadow: 0 4px 10px rgba(220, 38, 38, 0.05);
        }
        .logout-btn:hover { background: var(--danger-soft); border-color: var(--danger); transform: translateY(-1px); box-shadow: 0 6px 15px rgba(220, 38, 38, 0.1); }
        .logout-btn svg { width: 16px; height: 16px; fill: #ff4d4f; }
        /* ================= 定位面板 ================= */
        .location-sheet-mask {
            position: absolute;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            background: rgba(42, 26, 15, 0.6);
            backdrop-filter: blur(4px);
            z-index: 145;
            display: none;
            align-items: flex-end;
            border-radius: 28px;
            overflow: hidden;
        }
        .location-sheet-mask.show { display: flex; }
        .location-sheet {
            width: 100%;
            background: #fff;
            border-radius: 24px 24px 0 0;
            padding: 20px 20px 24px;
            transform: translateY(100%);
            transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
            box-shadow: 0 -10px 40px rgba(0,0,0,0.1);
        }
        .location-sheet-mask.show .location-sheet { transform: translateY(0); }
        .location-sheet-top { display: flex; align-items: center; justify-content: space-between; margin-bottom: 16px; }
        .location-sheet-title { font-size: 18px; font-weight: 700; color: var(--text-main); }
        .location-close {
            width: 32px;
            height: 32px;
            border-radius: 50%;
            background: var(--bg-muted);
            color: var(--text-sub);
            cursor: pointer;
            display: flex;
            align-items: center;
            justify-content: center;
            font-size: 16px;
            transition: all 0.2s;
            border: none;
        }
        .location-close:hover { background: var(--line-soft); color: var(--text-main); }
        .location-map {
            width: 100%;
            height: 180px;
            border-radius: 16px;
            border: 1px solid var(--line-soft);
            background: linear-gradient(90deg, rgba(40,24,12,0.04) 1px, transparent 1px),
                        linear-gradient(rgba(40,24,12,0.04) 1px, transparent 1px),
                        linear-gradient(165deg, #f5f0eb 0%, #faf6f1 100%);
            background-size: 24px 24px, 24px 24px, 100% 100%;
            position: relative;
            overflow: hidden;
            margin-bottom: 16px;
            box-shadow: inset 0 2px 10px rgba(0,0,0,0.02);
        }
        .location-pin {
            position: absolute;
            width: 18px;
            height: 18px;
            border-radius: 50%;
            background: var(--brand);
            border: 3px solid #fff;
            box-shadow: 0 0 0 3px rgba(194, 81, 11, 0.2);
            left: 50%;
            top: 50%;
            transform: translate(-50%, -50%);
            transition: left 0.3s ease, top 0.3s ease;
        }
        .location-pin::after {
            content: "";
            position: absolute;
            left: 50%;
            top: 100%;
            width: 2px;
            height: 12px;
            background: rgba(194, 81, 11, 0.4);
            transform: translateX(-50%);
        }
        .location-meta {
            background: var(--bg-muted);
            border-radius: 12px;
            padding: 14px 16px;
            margin-bottom: 16px;
            border: 1px solid var(--line-soft);
        }
        .location-address { font-size: 15px; font-weight: 700; color: var(--text-main); margin-bottom: 4px; }
        .location-coords { font-size: 13px; color: var(--text-sub); font-weight: 500; }
        .location-actions { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
        .location-btn {
            height: 48px;
            border-radius: var(--radius-input);
            font-size: 15px;
            font-weight: 700;
            cursor: pointer;
            border: 1px solid transparent;
            background: var(--bg-muted);
            color: var(--text-main);
            transition: all 0.3s ease;
        }
        .location-btn:hover { background: var(--line-soft); }
        .location-btn.primary {
            background: linear-gradient(135deg, var(--brand), var(--brand-secondary));
            color: #fff;
            box-shadow: var(--shadow-button);
        }
        /* ================= VIP 支付弹窗 ================= */
        .vip-pay-mask {
            position: absolute;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            background: rgba(42, 26, 15, 0.6);
            backdrop-filter: blur(4px);
            z-index: 160;
            display: none;
            align-items: center;
            justify-content: center;
            padding: 20px;
            border-radius: 28px;
            overflow: hidden;
        }
        .vip-pay-mask.show { display: flex; }
        .vip-pay-sheet {
            width: 100%;
            max-width: 320px;
            background: rgba(255,255,255,0.98);
            border-radius: 24px;
            padding: 24px;
            box-shadow: 0 20px 50px rgba(0,0,0,0.15);
            border: 1px solid rgba(255,255,255,0.8);
        }
        .vip-pay-title { font-size: 20px; font-weight: 800; text-align: center; margin-bottom: 8px; color: var(--text-main); }
        .vip-pay-desc { font-size: 14px; color: var(--text-sub); text-align: center; margin-bottom: 16px; font-weight: 500; }
        .vip-pay-qr {
            width: 200px;
            height: 200px;
            border-radius: 16px;
            border: 1px solid var(--line-soft);
            display: block;
            margin: 0 auto 20px;
            object-fit: cover;
            box-shadow: 0 8px 20px rgba(0,0,0,0.05);
        }
        .vip-pay-actions { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
        .vip-pay-btn {
            height: 46px;
            border-radius: var(--radius-input);
            border: none;
            background: var(--bg-muted);
            color: var(--text-main);
            font-size: 15px;
            font-weight: 700;
            cursor: pointer;
            transition: all 0.3s ease;
        }
        .vip-pay-btn:hover { background: var(--line-soft); }
        .vip-pay-btn.primary {
            background: linear-gradient(135deg, var(--brand), var(--brand-secondary));
            color: #fff;
            box-shadow: var(--shadow-button);
        }
        /* ================= 房源选择弹窗 ================= */
        .house-picker-mask {
            position: absolute;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            background: rgba(42, 26, 15, 0.6);
            backdrop-filter: blur(4px);
            z-index: 165;
            display: none;
            align-items: flex-end;
            border-radius: 28px;
            overflow: hidden;
        }
        .house-picker-mask.show { display: flex; }
        .house-picker-sheet {
            width: 100%;
            background: #fff;
            border-radius: 24px 24px 0 0;
            padding: 20px 20px 24px;
            animation: slideUp 0.3s cubic-bezier(0.16, 1, 0.3, 1);
            box-shadow: 0 -10px 40px rgba(0, 0, 0, 0.1);
        }
        .house-picker-title { text-align: center; font-size: 16px; color: var(--text-sub); margin-bottom: 16px; font-weight: 600; }
        .house-picker-option {
            height: 54px;
            border-radius: var(--radius-input);
            background: var(--bg-muted);
            border: 1px solid transparent;
            margin-bottom: 12px;
            display: flex;
            align-items: center;
            justify-content: space-between;
            padding: 0 16px;
            cursor: pointer;
            transition: all 0.3s ease;
        }
        .house-picker-option:hover { background: var(--brand-soft); border-color: var(--brand); box-shadow: 0 4px 10px rgba(194,81,11,0.05); }
        .house-picker-option strong { font-size: 16px; font-weight: 700; color: var(--text-main); }
        .house-picker-option span { font-size: 13px; color: var(--text-sub); max-width: 180px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; text-align: right; font-weight: 500; }
        .house-picker-cancel {
            height: 54px;
            border-radius: var(--radius-input);
            background: var(--danger-soft);
            color: var(--danger);
            display: flex;
            align-items: center;
            justify-content: center;
            cursor: pointer;
            margin-top: 16px;
            font-weight: 700;
            transition: all 0.3s ease;
        }
        .house-picker-cancel:hover { background: #FEE2E2; transform: translateY(-1px); }
        /* ================= 子页面通用 ================= */
        .price-row {
            background: #fff;
            border-radius: 12px;
            padding: 14px;
            margin-bottom: 10px;
            display: flex;
            justify-content: space-between;
            font-size: 15px;
        }
        .vip-cta-box {
            background: #ffd700;
            border-radius: 12px;
            padding: 16px;
            margin-top: 16px;
            text-align: center;
        }
        .vip-cta-title { font-size: 17px; font-weight: 700; color: #1a1a1a; margin-bottom: 6px; }
        .vip-cta-desc { font-size: 14px; color: #333; }
        .wallet-balance { font-size: 20px; font-weight: bold; margin-top: 20px; }
        .edit-form-row {
            padding: 8px 0;
            border-bottom: 1px solid #f0f0f0;
            margin-bottom: 12px;
        }
        .edit-form-row:last-of-type { border-bottom: none; margin-bottom: 0; }
        .edit-form-label {
            font-weight: 600;
            width: 100px;
            display: inline-block;
            margin-bottom: 6px;
        }
        .edit-form-input {
            width: 100%;
            padding: 10px;
            border-radius: 12px;
            border: 1px solid #eee;
            font-size: 15px;
            outline: none;
            transition: all 0.3s;
        }
        .edit-form-input:focus { border-color: var(--brand); box-shadow: 0 0 0 3px var(--brand-soft); }
        .chat-container {
            display: flex;
            flex-direction: column;
            padding-bottom: 80px;
        }
        .chat-bubble {
            padding: 12px 16px;
            border-radius: 14px;
            max-width: 75%;
            margin-bottom: 10px;
            font-size: 14px;
            line-height: 1.5;
        }
        .chat-left { background: #fff; align-self: flex-start; color: var(--text-main); }
        .chat-right { background: #E07B39; color: #fff; align-self: flex-end; }
        .chat-input-bar {
            position: absolute;
            bottom: 90px;
            left: 16px;
            right: 16px;
        }
        .chat-input {
            width: 100%;
            padding: 12px 15px;
            border-radius: 12px;
            border: 1px solid #eee;
            font-size: 14px;
            outline: none;
            transition: all 0.3s;
        }
        .chat-input:focus { border-color: var(--brand); }
        .intro-text { font-size: 15px; line-height: 2; color: var(--text-main); }
        .detail-warning {
            color: #ff4d4f;
            font-weight: 600;
            margin-top: 8px;
            font-size: 14px;
        }
        .detail-analysis { font-size: 14px; line-height: 1.7; color: var(--text-main); }