* { margin: 0; padding: 0; box-sizing: border-box; -webkit-tap-highlight-color: transparent; }
body { font-family: -apple-system, "PingFang SC", "Microsoft YaHei", sans-serif; background: #e9ecf1; }
.phone { max-width: 430px; margin: 0 auto; min-height: 100vh; background: #f5f6f8; display: flex; flex-direction: column; position: relative; }
.app-bar { background: #07c160; color: #fff; padding: 14px 16px; display: flex; align-items: center; justify-content: space-between; }
.bar-title { font-size: 18px; font-weight: 700; }
.mode-btn { background: rgba(255,255,255,0.2); color: #fff; border: none; border-radius: 14px; padding: 5px 12px; font-size: 12px; }
.config-panel { background: #fff; padding: 12px 16px; border-bottom: 1px solid #eee; }
.config-panel label { font-size: 12px; color: #666; display: block; margin-bottom: 6px; }
.config-panel input { width: 100%; border: 1px solid #ddd; border-radius: 8px; padding: 8px; font-size: 13px; }
.config-panel .hint { font-size: 11px; color: #999; margin-top: 6px; }
.hidden { display: none; }
.screen { flex: 1; overflow-y: auto; padding: 12px; }

/* 通用卡片 */
.card { background: #fff; border-radius: 12px; padding: 14px; margin-bottom: 12px; box-shadow: 0 1px 4px rgba(0,0,0,0.04); }
.row { display: flex; justify-content: space-between; align-items: center; padding: 8px 0; font-size: 14px; }
.k { color: #999; } .v { color: #333; text-align: right; }
.amount { color: #ff5000; font-weight: 700; }

/* 登录 */
.login-wrap { padding-top: 60px; text-align: center; }
.login-logo { font-size: 40px; font-weight: 800; color: #07c160; }
.login-sub { color: #999; font-size: 13px; margin: 8px 0 30px; }
.field { display: flex; align-items: center; background: #fff; border-radius: 10px; padding: 12px; margin-bottom: 12px; }
.field input { flex: 1; border: none; outline: none; font-size: 15px; }
.code-btn { background: #07c160; color: #fff; border: none; border-radius: 8px; padding: 6px 10px; font-size: 12px; }
.primary-btn { width: 100%; background: #07c160; color: #fff; border: none; border-radius: 22px; padding: 12px; font-size: 16px; margin-top: 12px; }
.ghost-btn { width: 100%; background: #fff; color: #07c160; border: 1px solid #07c160; border-radius: 22px; padding: 12px; font-size: 15px; margin-top: 10px; }

/* 分类/项目 */
.banner { background: linear-gradient(135deg,#07c160,#0aad56); color:#fff; border-radius:12px; padding:22px; margin-bottom:12px; text-align:center; font-size:16px; font-weight:600; }
.cat-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; }
.cat-item { background:#fff; border-radius:12px; padding:14px 4px; text-align:center; font-size:12px; color:#555; }
.cat-item .ic { font-size: 24px; display:block; margin-bottom:6px; }
.item { display:flex; background:#fff; border-radius:12px; padding:12px; margin-bottom:10px; }
.item .ic { width:48px; height:48px; border-radius:10px; background:#e8f8ee; color:#07c160; display:flex; align-items:center; justify-content:center; font-size:22px; margin-right:12px; }
.item .main { flex:1; }
.item .nm { font-size:15px; font-weight:600; }
.item .ds { font-size:12px; color:#999; margin:4px 0; }
.item .pr { color:#ff5000; font-weight:700; }
.section-title { font-size:15px; font-weight:700; margin:14px 4px 8px; }

/* 订单列表 */
.order { background:#fff; border-radius:12px; padding:14px; margin-bottom:10px; }
.order .top { display:flex; justify-content:space-between; }
.order .no { font-size:12px; color:#999; }
.order .status { font-size:13px; color:#07c160; font-weight:600; }

/* 试算结果 */
.calc-line { display:flex; justify-content:space-between; font-size:14px; color:#555; padding:6px 0; }
.calc-total { font-weight:700; color:#333; border-top:1px dashed #eee; margin-top:4px; }
.pay-plan { font-size:13px; color:#07c160; margin-top:6px; }

/* 收入 tab 等复用 */
.empty { text-align:center; color:#999; margin-top:80px; font-size:14px; }
.tabs { display:flex; position:sticky; top:0; background:#f5f6f8; padding:8px 0; }
.tab { flex:1; text-align:center; font-size:13px; color:#666; }
.tab.active { color:#07c160; font-weight:700; }
.bottom-nav { display:flex; background:#fff; border-top:1px solid #eee; }
.nav-btn { flex:1; background:none; border:none; padding:12px; font-size:13px; color:#999; }
.nav-btn.active { color:#07c160; font-weight:700; }
.toast { position:fixed; left:50%; top:50%; transform:translate(-50%,-50%); background:rgba(0,0,0,0.8); color:#fff; padding:10px 18px; border-radius:8px; font-size:14px; z-index:999; }
