/* 优膳通 - 中国医院智慧后勤服务平台 · H5 移动端样式 */
* { margin: 0; padding: 0; box-sizing: border-box; -webkit-tap-highlight-color: transparent; }
html { font-size: 16px; }
body {
  font-family: "PingFang SC", "Microsoft YaHei", "Helvetica Neue", Arial, sans-serif;
  background: linear-gradient(135deg, #667eea 0%, #764ba2 50%, #f093fb 100%);
  min-height: 100vh;
  color: #1A1D24;
}
img { max-width: 100%; display: block; }
a { text-decoration: none; color: inherit; }
button { font-family: inherit; border: none; background: none; cursor: pointer; }

/* 手机容器 */
.page {
  max-width: 430px;
  margin: 0 auto;
  min-height: 100vh;
  background: #F5F5F5;
  box-shadow: 0 0 40px rgba(0,0,0,.25);
}

/* 顶部导航条 */
.topbar {
  display: flex; align-items: center; justify-content: space-between;
  padding: 12px 16px;
}
.topbar-green { background: linear-gradient(90deg, #4CAF50, #43A047); }
.topbar-green2 { background: linear-gradient(90deg, #4CAF50, #66BB6A); }
.topbar-orange { background: linear-gradient(90deg, #FF9800, #FFB74D); }
.topbar-blue { background: linear-gradient(90deg, #2196F3, #42A5F5); }
.topbar-title {
  color: #fff; font-size: 16px; font-weight: 500;
}
.topbar-btn {
  width: 32px; height: 32px; display: flex; align-items: center; justify-content: center;
}
.topbar-btn svg { width: 20px; height: 20px; color: #fff; }
.topbar-btn .dim { color: rgba(255,255,255,.8); }

/* 品牌区 */
.brand { text-align: center; padding: 24px 16px 16px; }
.brand-logo {
  width: 64px; height: 64px; margin: 0 auto 12px;
  border-radius: 16px;
  background: linear-gradient(135deg, #4CAF50, #FF9800);
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 4px 12px rgba(0,0,0,.15);
}
.brand-logo svg { width: 36px; height: 36px; color: #fff; }
.brand-logo.orange { background: linear-gradient(135deg, #FF9800, #F57C00); }
.brand h1, .brand h2 { font-size: 20px; font-weight: 700; color: #1A1D24; }
.brand p { font-size: 14px; color: #6b7280; margin-top: 4px; }

/* 模块卡片 */
.cards { padding: 0 16px; }
.card {
  width: 100%; display: flex; align-items: center; gap: 16px;
  padding: 16px; margin-bottom: 12px;
  border-radius: 16px; text-align: left; color: #fff;
  box-shadow: 0 2px 8px rgba(0,0,0,.08);
  transition: transform .15s ease, box-shadow .15s ease;
}
.card:active { transform: scale(.98); }
.card-icon {
  width: 48px; height: 48px; border-radius: 12px;
  background: rgba(255,255,255,.2);
  display: flex; align-items: center; justify-content: center; flex-shrink: 0;
}
.card-icon svg { width: 24px; height: 24px; color: #fff; }
.card-body { flex: 1; min-width: 0; }
.card-title { font-size: 16px; font-weight: 700; }
.card-sub { font-size: 12px; color: rgba(255,255,255,.85); margin-top: 2px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.card-arrow svg { width: 20px; height: 20px; color: rgba(255,255,255,.6); }

/* 渐变色系 */
.grad-green { background: linear-gradient(90deg, #4CAF50, #66BB6A); }
.grad-green2 { background: linear-gradient(90deg, #4CAF50, #43A047); }
.grad-green3 { background: linear-gradient(90deg, #4CAF50, #2E7D32); }
.grad-orange { background: linear-gradient(90deg, #FF9800, #FFB74D); }
.grad-orange2 { background: linear-gradient(90deg, #FF9800, #F57C00); }

/* Hero 横幅 */
.hero { padding: 16px 16px 8px; }
.hero-banner {
  border-radius: 16px; padding: 16px; color: #fff;
  box-shadow: 0 2px 8px rgba(0,0,0,.08);
  text-align: center;
}
.hero-banner h2 { font-size: 18px; font-weight: 700; }
.hero-banner p { font-size: 13px; color: rgba(255,255,255,.85); margin-top: 4px; }
.hero-stats {
  display: flex; align-items: center; justify-content: space-around;
  margin-top: 14px; padding-top: 14px; border-top: 1px solid rgba(255,255,255,.25);
}
.hero-stats .num { font-size: 20px; font-weight: 700; }
.hero-stats .lbl { font-size: 12px; color: rgba(255,255,255,.75); }
.hero-stats .divider { width: 1px; height: 32px; background: rgba(255,255,255,.25); }

/* 白色信息块 */
.panel { margin: 16px 16px 0; background: #fff; border-radius: 16px; box-shadow: 0 1px 4px rgba(0,0,0,.05); overflow: hidden; }
.panel-pad { padding: 16px; }
.section-title { font-size: 16px; font-weight: 700; color: #1A1D24; margin: 24px 16px 12px; }

/* 统计网格 */
.stat-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; padding: 0 16px; }
.stat-item { background: #fff; border-radius: 12px; padding: 12px; text-align: center; box-shadow: 0 1px 4px rgba(0,0,0,.05); }
.stat-item .v { font-size: 20px; font-weight: 700; color: #4CAF50; }
.stat-item .v.orange { color: #FF9800; }
.stat-item .l { font-size: 12px; font-weight: 500; color: #1A1D24; margin-top: 4px; }
.stat-item .d { font-size: 10px; color: #6b7280; margin-top: 2px; }

/* 折叠列表 */
.acc { background: #fff; border-radius: 12px; box-shadow: 0 1px 4px rgba(0,0,0,.05); overflow: hidden; }
.acc + .acc { margin-top: 8px; }
.acc-head {
  width: 100%; display: flex; align-items: center; gap: 12px;
  padding: 12px 16px; text-align: left;
}
.acc-icon {
  width: 40px; height: 40px; border-radius: 10px; flex-shrink: 0;
  display: flex; align-items: center; justify-content: center;
}
.acc-icon svg { width: 20px; height: 20px; }
.acc-title { flex: 1; min-width: 0; font-size: 14px; font-weight: 500; color: #1A1D24; }
.acc-chev svg { width: 16px; height: 16px; color: #9ca3af; transition: transform .2s; }
.acc.open .acc-chev svg { transform: rotate(90deg); }
.acc-body { padding: 0 16px 12px; border-top: 1px solid #f9fafb; }
.acc-body p { font-size: 12px; color: #6b7280; line-height: 1.7; margin-top: 8px; }
.tag-row { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 8px; }
.tag { padding: 2px 8px; border-radius: 999px; font-size: 10px; }
.tag-green { background: rgba(76,175,80,.1); color: #4CAF50; }
.tag-orange { background: rgba(255,152,0,.1); color: #FF9800; }
.tag-blue { background: rgba(33,150,243,.1); color: #2196F3; }

/* Tab 切换 */
.tabs {
  display: flex; background: #fff; border-radius: 12px; padding: 4px;
  box-shadow: 0 1px 4px rgba(0,0,0,.05); margin: 0 16px 12px;
}
.tab {
  flex: 1; padding: 8px 0; font-size: 12px; font-weight: 500;
  border-radius: 8px; color: #6b7280; text-align: center; transition: all .2s;
}
.tab.active-green { background: #4CAF50; color: #fff; }
.tab.active-orange { background: #FF9800; color: #fff; }

/* 列表行 */
.row {
  display: flex; align-items: center; gap: 12px;
  padding: 12px 16px; background: #fff;
}
.row + .row { border-top: 1px solid #f3f4f6; }
.row-icon {
  width: 40px; height: 40px; border-radius: 10px; flex-shrink: 0;
  background: rgba(76,175,80,.1);
  display: flex; align-items: center; justify-content: center;
  font-size: 16px;
}
.row-icon svg { width: 20px; height: 20px; }
.row-main { flex: 1; min-width: 0; }
.row-title { font-size: 14px; font-weight: 500; color: #1A1D24; }
.row-desc { font-size: 12px; color: #6b7280; margin-top: 2px; }
.row-chev svg { width: 16px; height: 16px; color: #9ca3af; }

/* 步骤流程 */
.step {
  display: flex; align-items: center; gap: 16px;
  background: #fff; border-radius: 12px; padding: 12px 16px;
  box-shadow: 0 1px 4px rgba(0,0,0,.05);
}
.step + .step { margin-top: 8px; }
.step-num {
  width: 40px; height: 40px; border-radius: 10px; flex-shrink: 0;
  background: linear-gradient(135deg, #4CAF50, #66BB6A);
  display: flex; align-items: center; justify-content: center;
  color: #fff; font-weight: 700; font-size: 14px;
}
.step-main { flex: 1; }
.step-title { font-size: 14px; font-weight: 500; color: #1A1D24; }
.step-desc { font-size: 12px; color: #6b7280; }
.step-icon svg, svg.step-icon { width: 20px; height: 20px; color: #9ca3af; flex-shrink: 0; }

/* 功能点 */
.feature { display: flex; align-items: center; gap: 12px; }
.feature + .feature { margin-top: 10px; }
.feature-dot {
  width: 20px; height: 20px; border-radius: 50%; flex-shrink: 0;
  display: flex; align-items: center; justify-content: center;
}
.feature-dot i { width: 8px; height: 8px; border-radius: 50%; display: block; }
.feature span { font-size: 14px; color: #374151; }

/* 两列网格 */
.grid2 { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; padding: 0 16px; }
.biz-card {
  background: #fff; border-radius: 16px; padding: 16px;
  text-align: center; box-shadow: 0 1px 4px rgba(0,0,0,.05);
}
.biz-icon {
  width: 48px; height: 48px; border-radius: 12px; margin: 0 auto 8px;
  display: flex; align-items: center; justify-content: center;
}
.biz-icon svg { width: 24px; height: 24px; color: #fff; }
.biz-title { font-size: 14px; font-weight: 700; color: #1A1D24; }
.biz-sub { font-size: 11px; color: #6b7280; margin-top: 2px; }
.biz-desc { font-size: 11px; color: #9ca3af; margin-top: 4px; line-height: 1.5; }

/* 服务热线 */
.hotline { margin: 16px 16px 0; }
.hotline-card {
  display: block; border-radius: 16px; padding: 16px; text-align: center;
  background: linear-gradient(90deg, #4CAF50, #43A047);
  box-shadow: 0 2px 8px rgba(0,0,0,.08); color: #fff;
}
.hotline-label { display: flex; align-items: center; justify-content: center; gap: 8px; font-size: 13px; color: rgba(255,255,255,.85); }
.hotline-label svg { width: 16px; height: 16px; }
.hotline-num { font-size: 20px; font-weight: 700; margin-top: 4px; }

/* 页脚 */
.footer { text-align: center; padding: 24px 16px; font-size: 12px; color: #9ca3af; }

/* 详情弹层 */
.modal-mask {
  position: fixed; inset: 0; background: rgba(0,0,0,.5); z-index: 40;
  display: none;
}
.modal-mask.show { display: block; }
.modal {
  position: fixed; bottom: 0; left: 0; right: 0; z-index: 50;
  background: #fff; border-radius: 16px 16px 0 0;
  max-width: 430px; margin: 0 auto;
  max-height: 80vh; overflow-y: auto;
  padding: 20px; transform: translateY(100%);
  transition: transform .25s ease;
}
.modal.show { transform: translateY(0); }
.modal-close {
  width: 100%; margin-top: 16px; padding: 12px 0;
  border-radius: 12px; color: #fff; font-size: 14px; font-weight: 500;
}

/* 角色高亮 */
.role-highlight { font-size: 13px; color: #6b7280; margin: 0 0 12px; }

/* 数字能力图标背景色循环 */
.bg-green10 { background: rgba(76,175,80,.1); }
.bg-orange10 { background: rgba(255,152,0,.1); }
.bg-blue10 { background: rgba(33,150,243,.1); }
.bg-purple10 { background: rgba(156,39,176,.1); }
.bg-cyan10 { background: rgba(0,188,212,.1); }
.c-green { color: #4CAF50; }
.c-orange { color: #FF9800; }
.c-blue { color: #2196F3; }
.c-purple { color: #9C27B0; }
.c-cyan { color: #00BCD4; }

/* 合作生态网格 */
.partner-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.partner-item { background: #F5F5F5; border-radius: 8px; padding: 8px 12px; font-size: 12px; color: #4b5563; text-align: center; }

/* GEO 结构化数据对人不可见，无需样式 */

/* ===== 补充工具类 ===== */
/* 尺寸 */
.w-4 { width: 16px; } .h-4 { height: 16px; }
.w-5 { width: 20px; } .h-5 { height: 20px; }
.w-7 { width: 28px; } .h-7 { height: 28px; }
.w-12 { width: 48px; } .h-12 { height: 48px; }

/* 颜色 */
.c-gray { color: #9ca3af; }

/* 文本 */
.t-lg { font-size: 20px; font-weight: 700; color: #fff; }
.t-md { font-size: 16px; font-weight: 700; color: #1A1D24; display: flex; align-items: center; gap: 8px; }
.t-sm { font-size: 13px; color: #fff; }
.op8 { opacity: .85; }

/* 布局 */
.px { padding: 0 16px; }
.list { list-style: none; background: #fff; border-radius: 12px; overflow: hidden; box-shadow: 0 1px 4px rgba(0,0,0,.05); }
.dot { width: 8px; height: 8px; border-radius: 50%; display: inline-block; flex-shrink: 0; }
.dot.c-orange { background: #FF9800; }

/* 品牌横幅区 */
.brand-sec {
  margin: 0 16px 16px; border-radius: 16px; padding: 24px 16px;
  color: #fff; text-align: center;
  box-shadow: 0 2px 8px rgba(0,0,0,.08);
}
.brand-sec svg { color: rgba(255,255,255,.95); margin: 0 auto 8px; }
.brand-sec .t-lg { margin-top: 4px; }
.brand-sec .t-sm { margin-top: 4px; }

/* 顶部返回按钮 */
.back {
  width: 32px; height: 32px; display: flex; align-items: center; justify-content: center;
}
.back svg { width: 20px; height: 20px; color: #fff; }

/* 统计块（case 页三列） */
.stat-grid.cols3 { grid-template-columns: 1fr 1fr 1fr; }
.stat { background: #fff; border-radius: 12px; padding: 12px 4px; text-align: center; box-shadow: 0 1px 4px rgba(0,0,0,.05); }
.stat b { font-size: 18px; font-weight: 700; display: block; }
.stat span { font-size: 11px; color: #6b7280; margin-top: 2px; display: block; }

/* Tab 作用域与橙色 tab */
.tabs-scope { padding-bottom: 4px; }
.tab-orange.active-orange { background: #FF9800; color: #fff; }

/* 折叠面板主区域 */
.acc-main { flex: 1; min-width: 0; }

