@charset "utf-8";
/* ==========================================================================
   管家婆云辉煌 · 站点样式
   桌面端按原站像素级还原（容器 1302px + 绝对定位模块）
   移动端通过媒体查询改为流式响应式布局
   ========================================================================== */

/* ---------- 1. 变量 ---------- */
:root{
  --wrap:1300px;
  --blue:#1877e8;
  --blue-d:#076ce0;
  --text:#383838;
  --text-2:#63676f;
  --line:#e8ecf3;
  --radius:8px;
  --fs12:12px; --fs13:13px; --fs14:14px; --fs15:15px; --fs16:16px;
  --fs17:17px; --fs18:18px; --fs20:20px; --fs22:22px; --fs24:24px;
  --fs26:26px; --fs28:28px; --fs30:30px; --fs32:32px; --fs36:36px;
  --fs40:40px; --fs44:44px; --fs48:48px; --fs52:52px; --fs60:60px;
  --font: "Microsoft YaHei", "微软雅黑", "PingFang SC",
          "Hiragino Sans GB", "Source Han Sans SC", sans-serif;
}

/* ---------- 2. 重置 ---------- */
*,*::before,*::after{ box-sizing:border-box; }
html{ -webkit-text-size-adjust:100%; scroll-behavior:smooth; }
body{
  margin:0; font-family:var(--font); font-size:14px; color:var(--text);
  background:#fff; line-height:1.5; -webkit-font-smoothing:antialiased;
  overflow-x:hidden;
}
img{ max-width:100%; height:auto; border:0; display:block; }
a{ color:inherit; text-decoration:none; }
h1,h2,h3,h4,p,figure,ul,ol{ margin:0; padding:0; }
ul,ol{ list-style:none; }
button{ font:inherit; background:none; border:0; cursor:pointer; }
:focus-visible{ outline:2px solid var(--blue); outline-offset:2px; }

/* 无障碍：跳转链接 */
.skip{
  position:absolute; left:-9999px; top:0; z-index:999;
  background:var(--blue); color:#fff; padding:10px 18px; border-radius:0 0 6px 0;
}
.skip:focus{ left:0; }

/* 容器 */
.wrap{ width:var(--wrap); max-width:100%; margin:0 auto; padding:0; position:relative; }

/* ---------- 3. 页头 ---------- */
.site-header{
  position:sticky; top:0; z-index:200;
  height:60px; background:#fff;
  box-shadow:0 1px 0 rgba(0,0,0,.06);
}
.header-in{ height:60px; }

.logo{ position:absolute; left:48px; top:5px; display:block; }
.logo img{ width:243px; height:49px; }

.hd-call{
  position:absolute; left:290px; top:7px; width:261px; height:34px;
  display:flex; align-items:center; justify-content:center;
  background:var(--blue-d); color:#fff; font-size:16px; border-radius:2px;
  white-space:nowrap; transition:background .2s;
}
.hd-call:hover{ background:#0559bb; }

.nav{
  position:absolute; left:579px; top:0; height:60px;
  display:flex; align-items:center; gap:30px;
}
.nav a{ font-size:14px; color:var(--text); white-space:nowrap; position:relative; line-height:60px; }
.nav a::after{
  content:""; position:absolute; left:50%; bottom:14px; width:0; height:2px;
  background:var(--blue); transform:translateX(-50%); transition:width .22s;
}
.nav a:hover{ color:var(--blue); }
.nav a:hover::after,.nav a.active::after{ width:100%; }
.nav a.active{ color:var(--blue); }

.hd-login,.hd-trial{
  position:absolute; top:13px; width:79px; height:34px;
  display:flex; align-items:center; justify-content:center;
  font-size:14px; border-radius:17px; white-space:nowrap; transition:.2s;
}
.hd-login{ left:1099px; border:1px solid #cfd8e6; color:#4a5568; }
.hd-login:hover{ border-color:var(--blue); color:var(--blue); }
.hd-trial{ left:1198px; background:var(--blue); color:#fff; }
.hd-trial:hover{ background:#0d63cc; }

.nav-toggle{ display:none; }

/* ---------- 4. 区块 ---------- */
.sec{ position:relative; overflow:hidden; }
/* 无 109 区块的栏目/列表页：合成画布。
   原站这类页面（如「下载手机版」）的容器是 overflow:hidden 的，画布坐标按整屏宽度算，
   超出右边界的模块在原站就是被裁掉的；这里必须同样裁切，否则整页会被撑出横向滚动条。 */
.sec-canvas{ overflow:hidden; }
.sec-in{ height:var(--sh,0); position:relative; z-index:1; }

/* ---------- 5. 模块 ---------- */
.m{ position:absolute; top:calc(var(--t,0px) + var(--pt,0px)); left:calc(var(--l,0px) + var(--pl,0px)); }
/* 宽度取凡科声明的模块宽度；高度由内容决定 */
.m-txt{ line-height:1.5; width:var(--w, auto); }
/* 凡科富文本容器 .fk-editor 的 white-space 是 pre-wrap（实测），
   文本里的**真实换行符**会直接渲染成换行。
   早期这里写成 normal → 换行被折叠成空格，多行文本挤成一整段，
   模块高度只有原站一半（实测 products 某列 100px vs 原站 208px）。 */
.editor{ white-space:pre-wrap; word-break:break-word; }
/* 凡科富文本里的标题不带浏览器默认加粗（原站实测 font-weight:400）。
   若保留 <h2> 的默认 700，浏览器会做合成加粗 → 字变宽，本该一行的标题折行。 */
.editor h1,.editor h2,.editor h3,.editor h4,.editor h5,.editor h6{ font-weight:inherit; }
/* 标题还要继承父级字号：凡科标题的字号写在包裹它的 <span> 上，<h2> 本身不应带
   UA 默认的 font-size:1.5em。否则标题会按 1.5em 渲染（如首页 13996「管家婆软件价格及
   产品差异对比」被放大到 45px、挤成两行、压到下方对比大图上产生重叠）。继承后回到 30px、
   单行、与原站一致的高度。 */
.editor h1,.editor h2,.editor h3,.editor h4,.editor h5,.editor h6{ font-size:inherit; }
.editor div[style*="text-align:center"]{ text-align:center; }
.m-img img{ width:100%; height:auto; }
/* 原站显式定高的图片模块：图片被拉伸填满（object-fit:fill，与凡科一致） */
.m-img.m-fixh{ overflow:hidden; }
.m-img.m-fixh img{ width:100%; height:100%; object-fit:fill; }
.m-btn{ z-index:5; }

/* 组合容器（凡科 87）：卡片本体。原站带 overflow:hidden + 底图，
   内部装饰图（照片上的半透明遮罩）必须被裁在卡片内，否则会盖住相邻卡片。
   底图按原站规则「原始尺寸 + 底部居中」摆放（图片自带圆角，故不加 border-radius） */
.m-pack{
  overflow:hidden; z-index:1;
  background-repeat:no-repeat; background-position:50% 100%;
}

/* 按钮：尺寸由凡科 #moduleN 规则给出（--w / --h），无则由内容撑开 */
.btn{
  display:inline-flex; align-items:center; justify-content:center; gap:4px;
  height:var(--h, 40px); min-width:var(--w, auto); padding:0 8px;
  border-radius:4px; font-size:16px;
  background:var(--blue); color:#fff; white-space:nowrap; transition:.22s;
}
.btn:hover{ background:#0d63cc; transform:translateY(-1px); box-shadow:0 6px 16px rgba(24,119,232,.3); }
.btn .arw{ font-style:normal; font-size:16px; line-height:1; }
.btn-s7{ background:var(--blue); border-radius:2px; }                    /* 主按钮 */
.btn-s8{ background:var(--blue); border-radius:2px; font-size:14px; }    /* 页头试用 */
.btn-s9{ background:var(--blue-d); border-radius:2px; font-size:15px; }  /* 页头咨询 */
.btn-s10{ background:#fff; color:#4a5568; border:1px solid #cfd8e6; border-radius:2px; font-size:14px; } /* 页头登录 */
.btn-s10:hover{ border-color:var(--blue); color:var(--blue); background:#fff; box-shadow:none; transform:none; }
.btn-s11{ background:#fff; color:var(--blue); border:1px solid #b9cdf0; border-radius:2px; } /* 白底描边 */
.btn-s11:hover{ background:#f2f7ff; box-shadow:none; transform:none; }
.btn-s12{ background:#fff; color:var(--blue); border:1px solid #b9cdf0; border-radius:2px; }
.btn-s12:hover{ background:#f2f7ff; box-shadow:none; transform:none; }
.btn-s13{ background:var(--blue); color:#fff; border-radius:2px; }

/* 跑马灯（客户 logo 墙） */
/* 图片跑马灯（客户 logo 墙）：尺寸按线上实测 —— 单张 112×65、间距 50、容器高 87 */
.m-marquee{ overflow:hidden; display:flex; align-items:center; padding:11px 0; }
.mq-track{ display:flex; align-items:center; gap:50px; animation:mq 38s linear infinite; }
.mq-item{ margin:0; flex:0 0 auto; }
.mq-item img{ height:65px; width:auto; }
@keyframes mq{ from{ transform:translateX(0);} to{ transform:translateX(-50%);} }
@media (prefers-reduced-motion:reduce){ .mq-track{ animation:none; } }

/* 锚点导航（凡科 jumpToModulePosition 转成的站内锚点）：别让固定页头盖住标题 */
.sec{ scroll-margin-top:66px; }

/* 图片轮播（photoSwitch，产品中心首屏主图）
   原站：内容区上留 5px 边距 + 2px 内边距，图片按自身 886×432 居中摆放 */
.m-slider{ overflow:hidden; }
.m-slider picture{ display:block; }
.m-slider .slider-a{ display:block; width:max-content; margin:7px auto 0; line-height:0; }
.m-slider .slider-img{ display:block; max-width:100%; }
.m-slider .slider-img:only-child{ margin:7px auto 0; }

/* 3D 证言轮播（style 112）：原站是 JS 动画，静态页渲染初始帧 */
.m-c3d{ position:absolute; }
.m-c3d .c3d-i{ position:absolute; display:block; object-fit:fill; }

/* 带标题模块 */
.titled-h{ font-size:18px; font-weight:600; color:var(--text); }
/* 帮助中心分类卡：整卡跳原站（内容由原站视频弹窗提供），不改变原有排版 */
.titled-a{ display:block; color:inherit; text-decoration:none; cursor:pointer; }
.titled-a:hover .titled-h{ color:var(--blue); }
.titled-a:focus-visible{ outline:2px solid var(--blue); outline-offset:3px; }

/* 富文本表格 */
.m-rich .editor table{ max-width:100%; border-collapse:collapse; }
.m-rich .editor td,.m-rich .editor th{ border:1px solid #ededed; padding:8px 10px; font-size:14px; }

/* ---------- 6. 页脚 ---------- */
.site-footer{ background:#333; color:#fff; padding-top:28px; }
.foot-in{ height:200px; }
.f-h{ font-size:16px; font-weight:400; color:#fff; line-height:1.4; }
.f-line{ font-size:14px; color:rgba(255,255,255,.7); line-height:1.9; }
.f-line a{ color:rgba(255,255,255,.86); }
.f-line a:hover{ color:#fff; text-decoration:underline; }
.f-a{ position:absolute; left:55px; top:5px; width:258px; }
.f-qr{ position:absolute; left:320px; top:29px; width:105px; margin:0; }
.f-qr img{ width:105px; height:105px; background:#fff; padding:4px; border-radius:4px; }
.f-b{ position:absolute; left:549px; top:5px; width:340px; }
.f-link{ display:block; font-size:13px; color:rgba(255,255,255,.7); line-height:2.5; }
.f-link:first-of-type{ margin-top:8px; }
.f-link:hover{ color:#fff; text-decoration:underline; }
.f-c{ position:absolute; left:965px; top:5px; width:320px; }
.foot-bar{
  border-top:1px solid rgba(255,255,255,.12); margin-top:0;
  height:18px; line-height:17px; padding:0; text-align:center; font-size:13px;
}
.foot-bar a{ color:rgba(255,255,255,.6); }
.foot-bar a:hover{ color:#fff; }

/* ---------- 7. 回到顶部 ---------- */
.to-top{
  position:fixed; right:22px; bottom:84px; z-index:150;
  width:44px; height:44px; border-radius:50%;
  background:#fff; color:var(--blue); font-size:20px;
  box-shadow:0 4px 16px rgba(0,0,0,.16);
  opacity:0; visibility:hidden; transform:translateY(10px); transition:.25s;
}
.to-top.on{ opacity:1; visibility:visible; transform:none; }
.to-top:hover{ background:var(--blue); color:#fff; }

/* ==========================================================================
   8. 响应式 —— 把绝对定位的桌面版展开为流式布局
   ========================================================================== */
@media (max-width: 1339px){
  .wrap{ width:100%; padding:0 16px; }
  :root{ --wrap:100%; }
}

@media (max-width: 1339px){
  /* ---- 页头 ---- */
  .site-header{ height:56px; }
  .header-in{ height:56px; }

  .logo{ position:static; display:inline-flex; align-items:center; height:56px; }
  .logo img{ width:auto; height:34px; }

  .hd-call{
    position:static; display:inline-flex; width:auto; height:32px;
    padding:0 14px; font-size:14px; margin-left:14px; vertical-align:middle;
  }
  .hd-login,.hd-trial{ position:static; display:inline-flex; width:auto; height:32px; padding:0 16px; border-radius:16px; margin-left:10px; }

  .nav{
    position:fixed; left:0; right:0; top:56px; height:auto; z-index:190;
    flex-direction:column; align-items:stretch; gap:0;
    background:#fff; box-shadow:0 12px 28px rgba(0,0,0,.14);
    max-height:0; overflow:hidden; transition:max-height .3s ease;
  }
  .nav.open{ max-height:420px; }
  .nav a{ line-height:1; padding:16px 20px; border-bottom:1px solid var(--line); font-size:15px; }
  .nav a::after{ display:none; }
  .nav a.active{ background:#f4f8ff; }

  .nav-toggle{
    display:block; position:absolute; right:16px; top:50%; transform:translateY(-50%);
    width:30px; height:26px;
  }
  .nav-toggle i{
    display:block; height:2px; background:var(--text); border-radius:2px;
    margin:5px 0; transition:.25s;
  }
  .nav-toggle[aria-expanded="true"] i:nth-child(1){ transform:translateY(7px) rotate(45deg); }
  .nav-toggle[aria-expanded="true"] i:nth-child(2){ opacity:0; }
  .nav-toggle[aria-expanded="true"] i:nth-child(3){ transform:translateY(-7px) rotate(-45deg); }

  /* ---- 区块改为流式 ---- */
  .sec{ padding:0; }
  .sec-in{
    height:auto !important;
    display:flex; flex-direction:column; align-items:center;
    padding:34px 0 38px;
  }
  .m{
    position:static !important;
    width:auto !important; max-width:100%;
    margin:0 0 14px;
  }
  .m:last-child{ margin-bottom:0; }

  /* 文本 */
  .m-txt{ text-align:center; }
  .m-txt .editor{ text-align:center !important; }
  .m-txt .editor div,.m-txt .editor p{ text-align:inherit !important; }
  .m-txt .editor span{ font-size:inherit !important; }

  /* 图片 */
  .m-img{ width:100% !important; display:flex; justify-content:center; }
  /* 极窄装饰图（分隔线/小图标）：禁止拉满宽，否则按比例爆高 */
  .m-img.m-narrow{ width:auto !important; }
  .m-img.m-narrow img{ width:auto !important; max-width:120px; height:auto; }
  .m-img img{ max-width:100%; height:auto; }
  .m-img.m-fixh{ height:auto !important; }          /* 手机上按原始比例，不做拉伸 */
  .m-img.m-fixh img{ height:auto !important; object-fit:contain; }
  .m-img.shot{ max-width:180px; }

  /* 图片轮播主图（产品中心首屏）：桌面端按原站 886×432 定尺，手机上拉满宽度 */
  .m-slider{ width:100% !important; height:auto !important; overflow:visible; }
  .m-slider .slider-a{ width:100%; margin:0; }
  .m-slider .slider-img{ width:100% !important; height:auto !important; margin:0 !important; }

  /* 按钮 */
  .m-btn{ display:flex; justify-content:center; margin:18px 0 6px; }
  .btn{ height:46px; padding:0 34px; font-size:16px; }

  /* 3D 轮播：手机上只保留中间那张，按比例缩放 */
  .m-c3d{ position:relative !important; width:100% !important; height:auto !important;
          aspect-ratio:1120 / 176; }
  .m-c3d .c3d-i:not([style*="z-index:5"]){ display:none; }
  .m-c3d .c3d-i[style*="z-index:5"]{ left:18.8% !important; top:3.4% !important;
          width:60.1% !important; height:98.3% !important; }

  /* 卡片容器：移动端整块流式，底图铺满、文字压在底部 */
  .m-pack{
    width:100% !important; max-width:360px; height:220px !important;
    margin:0 auto 14px; padding:16px;
    display:flex; flex-direction:column; justify-content:flex-end;
    background-size:cover !important; background-position:center !important;
    border-radius:12px;
  }
  .m-pack .m-img{ display:none !important; }        /* 卡片内的半透明遮罩：移动端不需要 */
  .m-pack .m-txt{ margin:0; text-align:left; }
  .m-pack .m-txt .editor{ text-align:left !important; }

  /* 选项卡按钮列：移动端改为纵向流式，避免绝对定位互相压叠 */
  .m-tablist{ display:flex; flex-direction:column; gap:8px; }
  .m-tablist .tabv{ position:static !important; height:auto !important;
    padding:12px 10px; font-size:15px; }

  /* 角色分区（产品中心 sec10859）：桌面端靠 --t 定位，移动端流式后按「标题→内容→角色卡→标签」排序 */
  #sec10859 [data-mid="10860"]{ order:1; }
  #sec10859 [data-slot]{ order:2; }
  #sec10859 .h-role-tabs{ order:3; flex-direction:row; justify-content:center;
    gap:10px; padding:0 12px; }
  #sec10859 .h-role-tabs .tabv{ flex:1 1 0; min-width:0; width:auto; max-width:130px;
    margin:0; padding:0; }
  #sec10859 [data-mid="11015"],#sec10859 [data-mid="11016"],
  #sec10859 [data-mid="11017"],#sec10859 [data-mid="11018"]{ order:4; }

  /* 跑马灯 */
  .m-marquee{ width:100% !important; padding:6px 0; }
  .mq-track{ gap:22px; }
  .mq-item img{ height:40px; }

  /* 页脚 */
  .site-footer{ padding:28px 16px 0; }
  .foot-in{ height:auto !important; display:block; }
  .f-a,.f-qr,.f-b,.f-c{ position:static; width:auto; max-width:420px; margin:0 auto 22px; }
  .f-qr{ display:flex; justify-content:center; }
  .f-h{ margin-bottom:6px; }
  .f-link{ font-size:14px; }
  .foot-bar{ margin-top:4px; }
}

/* 超小屏微调 */
@media (max-width: 480px){
  .logo img{ height:28px; }
  .hd-call{ font-size:12px; padding:0 10px; margin-left:8px; }
  .hd-login{ display:none; }
  .hd-trial{ padding:0 12px; font-size:13px; }
  .sec-in{ padding:26px 0 30px; }
}

/* 打印 */
@media print{
  .site-header,.to-top,.nav-toggle{ display:none; }
  .m{ position:static !important; }
}

/* ---- 文章列表（凡科 116）与选项卡（凡科 110）---- */
.m-news .nl{ list-style:none; margin:0; padding:0; }
.m-news .nl li{ padding:14px 0; border-bottom:1px solid rgba(0,0,0,.08); }
.m-news .nl li:last-child{ border-bottom:0; }
.m-news .nl-t{ display:block; font-size:16px; line-height:1.5; color:inherit;
  text-decoration:none; font-weight:600; }
.m-news .nl-t:hover{ color:#00a0e9; }
.m-news .nl-d{ display:inline-block; margin-top:6px; font-size:13px;
  color:#999; font-weight:400; }
.m-news .nl-s{ margin:8px 0 0; font-size:14px; line-height:1.75;
  color:#666; font-weight:400; }

.m-tabs .tabs-hd{ font-size:22px; font-weight:700; text-align:center;
  margin-bottom:18px; color:inherit; }
.m-tabs .tab-nav{ display:flex; flex-wrap:wrap; justify-content:center;
  gap:8px; margin-bottom:6px; }
.m-tabs .tab-btn{ cursor:pointer; border:1px solid rgba(0,0,0,.12);
  background:#fff; color:#555; border-radius:20px; padding:7px 18px;
  font-size:14px; line-height:1.4; font-family:inherit; transition:.2s; }
.m-tabs .tab-btn:hover{ border-color:#00a0e9; color:#00a0e9; }
.m-tabs .tab-btn.on{ background:#00a0e9; border-color:#00a0e9; color:#fff; }
.m-tabs .tab-p{ display:none; }
.m-tabs .tab-p.on{ display:block; }
.m-tabs .tab-bd .nl li{ border-bottom-color:rgba(0,0,0,.08); }
/* 客户案例的列表在选项卡里，容器是 .m-tabs 而非 .m-news，
   上面 .m-news .nl-d 选不到它，这里补一遍让标题下面照样带出日期 */
.m-tabs .tab-bd .nl-d{ display:inline-block; margin-top:6px;
  font-size:13px; color:#999; font-weight:400; }

/* 选项卡按钮列（110「图文展示」型：一侧是面板内容，另一侧是纵向按钮条） */
.m-tablist .tabv{ position:absolute; left:0; width:100%;
  display:flex; align-items:center; justify-content:center; text-align:center;
  font-size:16px; line-height:1.4; color:#666; background:#fff;
  border-radius:4px; box-shadow:0 1px 6px rgba(0,0,0,.06);
  padding:0 10px; transition:.2s; cursor:pointer; }
.m-tablist .tabv:hover{ color:var(--blue); }
.m-tablist .tabv:focus-visible{ outline:2px solid var(--blue); outline-offset:2px; }
.m-tablist .tabv.on{ color:#fff; background:var(--blue);
  box-shadow:0 4px 14px rgba(24,119,232,.28); font-weight:700; }
.m-tablist .tabv.on:hover{ color:#fff; }

/* 角色分区：纯图标选项卡（白卡横排，位于文字标签上方）。
   1:1 复刻原站 10857 的 tab_nav_item_pic--only：
   卡片 180x110 / 圆角 6px / 阴影 0 0 16px rgba(26,26,26,.12)；
   激活卡底色 #2d5ef6，卡片上方一个朝上三角（原站 .tab_item_triangle）。 */
.h-role-tabs{ display:flex; flex-direction:row; align-items:flex-start; }
.h-role-tabs .tabv{ position:relative; box-sizing:border-box;
  display:inline-flex; align-items:center; justify-content:center;
  width:180px; height:110px; margin:0 20px 0 0;
  background:#fff; border-radius:6px; box-shadow:0 0 16px 0 rgba(26,26,26,.12); }
.h-role-tabs .tabv:last-child{ margin-right:0; }
.h-role-tabs .tabv img{ width:88px; height:88px; display:block; border-radius:50%; }
.h-role-tabs .tabv.on{ background:#2d5ef6; }
.h-role-tabs .tabv.on::after{ content:''; position:absolute; top:-20px; left:50%; margin-left:-10px;
  width:0; height:0; border:10px solid transparent; border-bottom-color:#2d5ef6; }
.h-role-tabs .tabv:focus-visible{ outline:2px solid #2d5ef6; outline-offset:3px; }

/* 合成画布（无 109 区块的栏目页）：内容决定高度，模块按常规流排列 */
.sec-flow .sec-in{ height:auto; padding:40px 0; }
.sec-flow .m{ position:static; margin:0 auto 20px; max-width:100%; }
.sec-flow .m-news{ max-width:900px; }
