/* AB模板网 整站模板下载 */
/* 模板：Www.AdminBuy.Cn */
@import url('https://fonts.googleapis.com/css2?family=Special+Elite&family=Caveat:wght@400;700&display=swap');
*{margin:0;padding:0;box-sizing:border-box;}
body{
  font-family:"PingFang SC","Microsoft YaHei",sans-serif;
  background:#e8e4d8;
  color:#2a2a2a;
  line-height:1.7;
  overflow-x:hidden;
}
a{text-decoration:none;color:inherit;}
ul{list-style:none;}
.container{max-width:900px;margin:0 auto;padding:0 24px;}
:root{
  --ab-paper:#f7f3e8;
  --ab-ink:#1e3a5f;
  --ab-stamp:#c0392b;
  --ab-green:#2d5a3d;
  --ab-line:#b8b0a0;
}

/* 纸张纹理背景 */
body{
  background-image:
    repeating-linear-gradient(0deg,transparent,transparent 34px,rgba(30,58,95,.04) 34px,rgba(30,58,95,.04) 35px);
}

/* ===== 顶部条 ===== */
.ab_top{background:var(--ab-ink);color:#fff;padding:8px 0;text-align:center;font-size:13px;letter-spacing:1px;}
.ab_top b{color:#f1c40f;}

/* ===== 导航 ===== */
.ab_nav{background:var(--ab-paper);border-bottom:2px dashed var(--ab-line);position:sticky;top:0;z-index:100;}
.ab_nav_inner{display:flex;align-items:center;justify-content:space-between;height:60px;}
.ab_logo{display:flex;align-items:center;gap:10px;}
.ab_logo_icon{width:40px;height:40px;border:2px solid var(--ab-ink);display:flex;align-items:center;justify-content:center;font-size:20px;transform:rotate(-5deg);}
.ab_logo_text b{font-family:"Special Elite",monospace;font-size:18px;letter-spacing:1px;display:block;line-height:1.1;}
.ab_logo_text small{font-size:10px;color:#888;letter-spacing:2px;}
.ab_menu{display:flex;gap:2px;}
.ab_menu a{padding:6px 14px;font-size:13px;border:1px solid transparent;}
.ab_menu a:hover,.ab_menu a.ab_active{border-color:var(--ab-ink);background:#fff;}
.ab_nav_phone{font-family:"Special Elite",monospace;font-size:16px;color:var(--ab-stamp);font-weight:700;}
.ab_hamburger{display:none;flex-direction:column;gap:4px;cursor:pointer;}
.ab_hamburger span{width:24px;height:2px;background:var(--ab-ink);}
.ab_mobile_menu{display:none;position:fixed;top:0;right:0;bottom:0;width:75%;max-width:280px;background:var(--ab-paper);z-index:200;padding:80px 30px;transform:translateX(100%);transition:transform .3s;border-left:2px dashed var(--ab-line);}
.ab_mobile_menu.ab_open{transform:translateX(0);}
.ab_mobile_menu a{display:block;padding:14px 0;font-size:15px;border-bottom:1px dashed var(--ab-line);}

/* ===== 工单主体 ===== */
.ab_sheet{
  background:var(--ab-paper);
  margin:30px auto;
  max-width:900px;
  padding:50px 50px 40px;
  position:relative;
  box-shadow:0 2px 20px rgba(0,0,0,.08);
}
/* 左侧红边线，像工单 */
.ab_sheet::before{
  content:"";
  position:absolute;
  left:0;top:0;bottom:0;
  width:6px;
  background:var(--ab-stamp);
}
/* 右上角折角效果 */
.ab_sheet::after{
  content:"";
  position:absolute;
  top:0;right:0;
  border-style:solid;
  border-width:0 40px 40px 0;
  border-color:#d5cfbf var(--ab-paper);
}

/* 工单抬头 */
.ab_sheet_head{text-align:center;border-bottom:3px double var(--ab-ink);padding-bottom:20px;margin-bottom:24px;}
.ab_sheet_no{font-family:"Special Elite",monospace;font-size:11px;color:#888;letter-spacing:2px;text-align:right;margin-bottom:6px;}
.ab_sheet_head h1{font-family:"Special Elite",monospace;font-size:32px;letter-spacing:3px;color:var(--ab-ink);}
.ab_sheet_head .ab_sub{font-family:"Caveat",cursive;font-size:20px;color:var(--ab-stamp);margin-top:4px;}
.ab_sheet_meta{display:flex;justify-content:space-between;font-family:"Special Elite",monospace;font-size:12px;color:#666;margin-top:10px;}

/* ===== 通用 section ===== */
.ab_block{margin-bottom:36px;}
.ab_block_title{
  font-family:"Special Elite",monospace;
  font-size:16px;
  color:var(--ab-ink);
  border-bottom:2px solid var(--ab-ink);
  padding-bottom:6px;
  margin-bottom:16px;
  display:flex;
  align-items:center;
  gap:8px;
}
.ab_block_title .ab_num{
  background:var(--ab-ink);
  color:#fff;
  padding:2px 10px;
  font-size:13px;
}
.ab_block_title .ab_en{margin-left:auto;font-size:11px;color:#aaa;letter-spacing:1px;}

/* 勾选清单 */
.ab_checklist{display:grid;grid-template-columns:1fr 1fr;gap:0;border:1px solid var(--ab-line);}
.ab_check_item{
  padding:12px 16px;
  border-bottom:1px dashed var(--ab-line);
  cursor:pointer;
  display:flex;
  align-items:flex-start;
  gap:10px;
  font-size:14px;
  transition:background .2s;
}
.ab_check_item:nth-child(odd){border-right:1px dashed var(--ab-line);}
.ab_check_item:hover{background:#fff;}
.ab_box{
  width:18px;height:18px;
  border:1.5px solid var(--ab-ink);
  flex-shrink:0;
  margin-top:2px;
  display:flex;align-items:center;justify-content:center;
  font-size:12px;
  color:transparent;
  transition:all .2s;
}
.ab_check_item.ab_checked .ab_box{background:var(--ab-ink);color:#fff;}
.ab_check_item.ab_checked{color:var(--ab-stamp);}
.ab_check_item small{display:block;color:#999;font-size:11px;}
.ab_check_item.ab_checked small{color:#666;}

/* 症状手风琴 */
.ab_symptom{border:1px solid var(--ab-line);margin-bottom:8px;}
.ab_symptom_head{
  padding:14px 16px;
  cursor:pointer;
  display:flex;
  justify-content:space-between;
  align-items:center;
  font-size:14px;
  font-weight:600;
  background:#fff;
}
.ab_symptom_head:hover{background:#fafaf5;}
.ab_symptom_head .ab_arrow{font-family:"Special Elite";color:var(--ab-stamp);transition:transform .3s;}
.ab_symptom.ab_open .ab_arrow{transform:rotate(90deg);}
.ab_symptom_body{max-height:0;overflow:hidden;transition:max-height .3s;}
.ab_symptom.ab_open .ab_symptom_body{max-height:200px;}
.ab_symptom_body p{padding:12px 16px;font-size:13px;color:#555;border-top:1px dashed var(--ab-line);}
.ab_symptom_body .ab_est{
  display:inline-block;
  margin:0 16px 12px;
  background:var(--ab-stamp);
  color:#fff;
  padding:2px 10px;
  font-size:12px;
  font-family:"Special Elite";
}

/* 工单表格 */
.ab_order_table{width:100%;border-collapse:collapse;font-size:14px;}
.ab_order_table th{
  background:var(--ab-ink);
  color:#fff;
  padding:10px 12px;
  text-align:left;
  font-family:"Special Elite";
  font-size:13px;
  letter-spacing:1px;
}
.ab_order_table td{padding:10px 12px;border-bottom:1px dashed var(--ab-line);}
.ab_order_table .ab_item{font-weight:600;}
.ab_order_table .ab_price{text-align:right;font-family:"Special Elite";color:var(--ab-stamp);}
.ab_order_table tr:hover td{background:#fff;}
.ab_total{
  display:flex;justify-content:space-between;align-items:center;
  margin-top:12px;
  padding:12px 16px;
  background:var(--ab-ink);
  color:#fff;
  font-family:"Special Elite";
}
.ab_total b{font-size:22px;color:#f1c40f;}

/* 印章 */
.ab_stamp{
  position:absolute;
  top:180px;
  right:40px;
  width:110px;height:110px;
  border:3px double var(--ab-stamp);
  border-radius:50%;
  display:flex;align-items:center;justify-content:center;
  text-align:center;
  color:var(--ab-stamp);
  font-family:"Special Elite";
  transform:rotate(-12deg);
  opacity:.75;
  pointer-events:none;
  z-index:5;
}
.ab_stamp .ab_stamp_in{
  border:1.5px solid var(--ab-stamp);
  width:88px;height:88px;border-radius:50%;
  display:flex;flex-direction:column;align-items:center;justify-content:center;
  font-size:11px;line-height:1.4;
}
.ab_stamp b{font-size:14px;display:block;letter-spacing:2px;}

/* 签字区 */
.ab_sign{
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:20px;
  margin-top:20px;
  padding-top:20px;
  border-top:2px dashed var(--ab-line);
}
.ab_sign_line{border-bottom:1.5px solid var(--ab-ink);height:36px;margin-bottom:6px;}
.ab_sign_label{font-size:11px;color:#888;letter-spacing:1px;}

/* 表单 */
.ab_form{background:#fff;border:1px solid var(--ab-line);padding:28px;}
.ab_form_title{font-family:"Special Elite";font-size:18px;color:var(--ab-ink);margin-bottom:4px;}
.ab_form_sub{font-size:12px;color:#999;margin-bottom:18px;}
.ab_form_row{display:grid;grid-template-columns:1fr 1fr;gap:12px;margin-bottom:12px;}
.ab_form_group{margin-bottom:12px;}
.ab_form_group label{display:block;font-size:11px;font-weight:700;color:var(--ab-ink);margin-bottom:4px;letter-spacing:1px;}
.ab_form_group label i{color:var(--ab-stamp);font-style:normal;}

.ab_form_group input,.ab_form_group select{
  width:100%;padding:10px 12px;
  border:1px solid var(--ab-line);
  background:var(--ab-paper);
  font-size:14px;outline:none;font-family:inherit;
}
.ab_form_group input:focus,.ab_form_group select:focus{border-color:var(--ab-stamp);}
.ab_submit{
  width:100%;padding:14px;
  background:var(--ab-stamp);color:#fff;
  border:none;font-size:15px;font-weight:700;
  letter-spacing:2px;cursor:pointer;
  font-family:"Special Elite";
}
.ab_submit:hover{background:#a93226;}

/* 对比表 */
.ab_vs{width:100%;border-collapse:collapse;font-size:13px;}
.ab_vs th{padding:10px;text-align:center;font-family:"Special Elite";font-size:13px;letter-spacing:1px;border-bottom:2px solid var(--ab-ink);}
.ab_vs th:first-child{text-align:left;}
.ab_vs th.ab_us{color:var(--ab-green);}
.ab_vs th.ab_them{color:#aaa;}
.ab_vs td{padding:9px 10px;border-bottom:1px dashed var(--ab-line);text-align:center;}
.ab_vs td:first-child{text-align:left;font-weight:600;}
.ab_vs td.ab_us{background:#eaf3ec;color:var(--ab-green);font-weight:600;}
.ab_vs td.ab_them{color:#999;}

/* 页脚 */
.ab_footer{background:var(--ab-ink);color:#aaa;padding:30px 0;text-align:center;font-size:12px;line-height:1.9;}
.ab_footer b{color:#fff;font-family:"Special Elite";letter-spacing:2px;}

/* 悬浮 */
.ab_float{position:fixed;right:20px;bottom:30px;z-index:99;}
.ab_float_btn{
  width:58px;height:58px;border-radius:50%;
  background:var(--ab-stamp);color:#fff;
  display:flex;align-items:center;justify-content:center;flex-direction:column;
  box-shadow:0 4px 16px rgba(192,57,43,.4);cursor:pointer;
  border:2px solid #fff;
}
.ab_float_btn i{font-style:normal;font-size:20px;}
.ab_float_btn span{font-size:9px;font-weight:700;}
.ab_back_top{
  position:fixed;right:22px;bottom:96px;width:42px;height:42px;
  background:#fff;border:1px solid var(--ab-line);
  display:flex;align-items:center;justify-content:center;cursor:pointer;
  opacity:0;visibility:hidden;transition:all .3s;z-index:98;
}
.ab_back_top.ab_show{opacity:1;visibility:visible;}

.ab_modal{display:none;position:fixed;inset:0;z-index:999;background:rgba(0,0,0,.7);align-items:center;justify-content:center;}
.ab_modal.ab_show{display:flex;}
.ab_modal_box{
  background:var(--ab-paper);width:90%;max-width:340px;
  padding:40px 30px;text-align:center;position:relative;
  border:3px double var(--ab-ink);
}
.ab_modal_close{position:absolute;top:8px;right:14px;color:#999;cursor:pointer;font-size:22px;}
.ab_modal_title{font-family:"Special Elite";font-size:18px;}
.ab_modal_sub{font-size:12px;color:#888;margin:6px 0 16px;}
.ab_modal_phone{font-family:"Special Elite";font-size:28px;color:var(--ab-stamp);margin-bottom:16px;}
.ab_modal_btn{display:block;padding:12px;background:var(--ab-stamp);color:#fff;font-weight:700;}

@media (max-width:768px){
  .ab_sheet{padding:30px 20px;}
  .ab_sheet_head h1{font-size:22px;}
  .ab_checklist{grid-template-columns:1fr;}
  .ab_check_item:nth-child(odd){border-right:none;}
  .ab_sign{grid-template-columns:1fr;}
  .ab_form_row{grid-template-columns:1fr;}
  .ab_menu{display:none;}
  .ab_hamburger{display:flex;}
  .ab_nav_phone{display:none;}
  .ab_mobile_menu{display:block;}
  .ab_stamp{width:80px;height:80px;top:150px;right:20px;}
  .ab_stamp .ab_stamp_in{width:62px;height:62px;font-size:9px;}
  .ab_stamp b{font-size:11px;}
}