/* 业委会工作 H5 —— 移动端样式（与小程序视觉一致：蓝品牌 + 浅灰底） */
* { 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: #F2F5FA; color: #1F2937; font-size: 15px; }
#app { max-width: 640px; margin: 0 auto; min-height: 100vh; padding-bottom: 40px; }
.splash { display: flex; align-items: center; justify-content: center; height: 100vh; font-size: 20px; font-weight: 700; color: #2563EB; }

/* 顶部品牌条 */
.banner { position: relative; overflow: hidden; background: linear-gradient(135deg, #3A8BFF 0%, #2F6BEE 48%, #1E4FD6 100%); color: #fff; padding: 26px 20px 40px; border-radius: 0 0 26px 26px; box-shadow: 0 8px 24px rgba(30, 79, 214, .22); }
.banner::after { content: ''; position: absolute; width: 220px; height: 220px; top: -110px; right: -70px; border-radius: 50%; background: radial-gradient(rgba(255,255,255,.18), rgba(255,255,255,0) 62%); }
.banner .t { font-size: 24px; font-weight: 800; letter-spacing: 1px; }
.banner .s { font-size: 12px; opacity: .9; margin-top: 8px; }

/* 卡片 / 宫格 / 按钮 / 列表 统一组件 */
.card { background: #fff; border-radius: 16px; padding: 16px; margin: 12px 12px 0; box-shadow: 0 4px 16px rgba(31, 66, 135, .06); }
.card-hd { display: flex; justify-content: space-between; align-items: center; font-weight: 700; margin-bottom: 12px; }
.card-hd .sub { font-size: 12px; color: #98A2B3; font-weight: 400; }
.grid { display: flex; gap: 12px; flex-wrap: wrap; margin: -20px 12px 0; position: relative; z-index: 2; }
.gitem { flex: 1; min-width: 90px; background: #fff; border-radius: 14px; padding: 12px 6px; text-align: center; box-shadow: 0 4px 16px rgba(31,66,135,.08); cursor: pointer; }
.gitem .ic { width: 40px; height: 40px; margin: 0 auto; border-radius: 12px; display: flex; align-items: center; justify-content: center; font-size: 20px; }
.gitem .gl { font-size: 13px; font-weight: 700; margin-top: 6px; }
.btn { display: flex; align-items: center; justify-content: center; background: linear-gradient(135deg, #3A8BFF, #2563EB); color: #fff; border: none; border-radius: 14px; font-size: 16px; font-weight: 700; padding: 13px 0; cursor: pointer; width: 100%; box-shadow: 0 6px 16px rgba(37,99,235,.24); }
.btn:active { opacity: .85; transform: scale(.985); }
.btn.ghost { background: #fff; color: #2563EB; border: 1px solid #BFD9F7; box-shadow: none; }
.btn.danger { background: #fff; color: #E4574F; border: 1px solid #F4C6C3; box-shadow: none; }
.btn.sm { display: inline-flex; padding: 7px 16px; font-size: 13px; border-radius: 10px; width: auto; font-weight: 600; }
.btn[disabled] { opacity: .5; }
.btns { display: flex; gap: 10px; margin-top: 10px; flex-wrap: wrap; }
.lbl { color: #7A8699; font-size: 12px; margin: 14px 2px 6px; display: block; }
.fld { width: 100%; background: #F5F7FB; border: 2px solid transparent; border-radius: 12px; padding: 12px 14px; font-size: 15px; margin-top: 8px; outline: none; transition: border-color .15s; }
.fld:focus { background: #fff; border-color: #3A8BFF; }
.tag { display: inline-block; font-size: 11px; padding: 2px 10px; border-radius: 999px; margin-left: 6px; font-weight: 600; vertical-align: 1px; }
.tag.blue { background: #E8F1FF; color: #2563EB; }
.tag.green { background: #E5F9F1; color: #0FA983; }
.tag.orange { background: #FFF3E4; color: #E8890C; }
.tag.red { background: #FFECEA; color: #E4574F; }
.tag.gray { background: #EEF1F6; color: #7A8699; }
.row { background: #fff; border-radius: 14px; padding: 14px; margin: 10px 12px 0; box-shadow: 0 4px 16px rgba(31,66,135,.05); cursor: pointer; }
.sec-t { font-size: 14px; font-weight: 800; padding: 16px 14px 4px; color: #334155; display: flex; justify-content: space-between; }
.sec-t .sub { font-size: 12px; color: #98A2B3; font-weight: 400; }
.txt-dim { color: #98A2B3; }
.money-in { color: #0FA983; font-weight: 700; }
.money-out { color: #E4574F; font-weight: 700; }
.empty { text-align: center; color: #98A2B3; padding: 60px 0; font-size: 14px; }
.steps { display: flex; gap: 6px; flex-wrap: wrap; margin-top: 10px; }
.step { font-size: 11px; padding: 4px 10px; border-radius: 999px; font-weight: 600; }
.seg { display: flex; background: #EBEFF6; border-radius: 12px; padding: 4px; margin-top: 10px; }
.seg div { flex: 1; text-align: center; padding: 9px 0; border-radius: 9px; font-size: 14px; color: #7A8699; cursor: pointer; }
.seg div.on { background: #fff; color: #2563EB; font-weight: 700; box-shadow: 0 2px 8px rgba(31,66,135,.12); }
.chip { display: inline-flex; align-items: center; gap: 4px; background: #EFF6FF; border: 1px solid #C9E0FA; color: #2563EB; border-radius: 8px; padding: 4px 10px; font-size: 12px; margin: 4px 4px 0 0; }
.avatar { width: 44px; height: 44px; border-radius: 50%; background: linear-gradient(135deg, #3A8BFF, #2563EB); color: #fff; font-weight: 800; font-size: 17px; display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.avatar.owner { background: linear-gradient(135deg, #19C6A0, #0FA983); }
.menu-row { display: flex; justify-content: space-between; align-items: center; padding: 13px 2px; border-bottom: 1px solid #F2F4F9; cursor: pointer; font-size: 15px; }
.menu-row:last-child { border-bottom: none; }
.menu-row .arrow { color: #C3CBD9; }
#toast { position: fixed; top: 45%; left: 50%; transform: translate(-50%, -50%); background: rgba(17, 24, 39, .88); color: #fff; padding: 10px 18px; border-radius: 10px; font-size: 14px; z-index: 99; display: none; max-width: 80%; text-align: center; line-height: 1.5; }
.modal-mask { position: fixed; inset: 0; background: rgba(15, 23, 42, .5); z-index: 90; display: none; align-items: flex-end; justify-content: center; }
.modal { background: #fff; width: 100%; max-width: 640px; border-radius: 20px 20px 0 0; padding: 18px 16px 24px; }
.modal h3 { font-size: 16px; margin-bottom: 10px; }
.topbar { position: sticky; top: 0; z-index: 20; background: #fff; display: flex; align-items: center; gap: 6px; padding: 12px 14px; font-size: 16px; font-weight: 700; box-shadow: 0 2px 10px rgba(31,66,135,.05); }
.topbar .back { cursor: pointer; font-size: 20px; color: #334155; padding: 0 4px; }
.qa { background: #fff; border-radius: 14px; padding: 14px; margin: 12px 12px 0; box-shadow: 0 4px 16px rgba(31,66,135,.05); }
.opt { border: 1.5px solid #E3E9F2; border-radius: 12px; padding: 11px 14px; margin-top: 9px; font-size: 14px; cursor: pointer; }
.opt.on { border-color: #2563EB; background: #EFF6FF; color: #2563EB; font-weight: 600; }
textarea.fld { min-height: 90px; resize: none; }
