*{box-sizing:border-box;}
body {margin:0; padding:0; min-height: 100vh;}
ul,li,dl,dt,dd {list-style-type:none;}
h1,h2,h3,h4,h5,h6 {padding:0; margin:0;}
.div-line1 {height:20px;}

/* 外层页面容器 */
.wrap {width: 100%; min-height: 100vh; margin: 0 auto; background-color:#FFF; overflow: hidden;}
/* ≥768px：iPad 竖屏 */
@media (min-width: 768px) {
.wrap { width: 100%; }}
/* ≥992px：iPad 横屏 / 小笔记本 */
@media (min-width: 992px) {
.wrap { width: 100%; }}
/* ≥1200px：PC */
@media (min-width: 1200px) {
body {background:#EEE;}
.wrap {width: 480px;}
}

/* a默认样式*/
a {text-decoration:none;}

/* 去除移动端点击高亮 */
a, button, [role="button"], [onclick], [tabindex]:not([tabindex="-1"]) { -webkit-tap-highlight-color: transparent;}

/* 头部logo+标题区域 */
.header {display: flex; align-items: center; justify-content: center; gap: 15px; margin: 10px auto; padding: 15px;}
.header .logo {width: 70px; height: 70px; object-fit: contain;}
.header .title {font-family:"Noto Serif SC","Songti SC",Georgia,serif !important; font-size:24px; font-weight:bold;  color:#222; line-height:1.3;}

.index_nav {background:url(../images/head_bg.png) no-repeat top; background-size:100%; margin:0 auto; padding:90px 20px 20px 20px;}
/* 6宫格按钮容器 */
.grid-wrap{
	width:90%;
	margin:0 auto;
    display:grid;
    grid-template-columns: 1fr 1fr;
    gap:20px;
    margin-bottom:30px;
}
.grid-item{
    border:2px solid #b87c6c;
    border-radius:20px;
    padding:18px 9px;
    text-align:center;
    background:#fff;
}
.grid-item svg{
    width:40px;
    height:40px;
    margin-bottom:10px;
}
.grid-item .text{
    font-size:20px;
    color:#602822;
    font-weight:500;
}
.grid-item:active {
    transform: scale(0.97);
}
.grid-item:hover {
    box-shadow: 0 4px 20px rgba(139,10,28,0.12);
}
.grid-item:hover::before {
    opacity: 1;
}

/* 六宫格动画入场 */
.grid-item {
  opacity: 0;
  transform: translateY(18px);
  animation: itemIn 0.5s ease-out forwards;
}

.grid-item:nth-child(1) {animation-delay: 0.05s;}
.grid-item:nth-child(2) {animation-delay: 0.15s;}
.grid-item:nth-child(3) {animation-delay: 0.25s;}
.grid-item:nth-child(4) {animation-delay: 0.35s;}
.grid-item:nth-child(5) {animation-delay: 0.45s;}
.grid-item:nth-child(6) {animation-delay: 0.55s;}

/* 图标单独弹入 */
.icon-animate {
  opacity: 0;
  transform: scale(0.6);
  animation: iconIn 0.45s ease-out forwards;
}

@keyframes itemIn {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes iconIn {
  0% {
    opacity: 0;
    transform: scale(0.6);
  }
  60% {
    opacity: 1;
    transform: scale(1.08);
  }
  100% {
    opacity: 1;
    transform: scale(1);
  }
}

@keyframes textIn {
  from {
    opacity: 0;
    transform: translateY(6px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
 
/* 申请调解按钮 */
.apply-btn{
    width:100%;
    padding:20px;
    cursor:pointer;
    border:none;
    border-radius:999px;
    font-size:30px;
    font-weight:bold;
    text-shadow: 1px 1px 4px rgba(0,0,0,0.3);
    color:#fff;
    background:linear-gradient(90deg,#FF3300,#FFFF00);
    box-shadow: 0px 1px 8px 0px rgba(0,0,0,0.3);
}
.apply-btn:active {
    transform: scale(0.98);
    box-shadow: 0 0px 8px rgba(200,16,46,0.3);
}

/* Toast 提示 */
.tips {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: rgba(0,0,0,0.75);
    color: #fff;
    padding: 12px 20px;
    border-radius: 8px;
    font-size: 18px;
    z-index: 100;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.25s;
}
.tips.show {opacity: 1;}

/* 倒计时弹窗 */
#mask{position:fixed;inset:0;background:#0006; display:none;align-items:center;justify-content:center;}
.pop{width:80%;max-width:380px;background:#fff;border-radius:20px;padding:15px 20px;text-align:center;}
.pop h3{color:#ffaa22;font-size:20px;}
.pop p{font-size:18px;color:#333;line-height:1.6;margin-bottom:30px;}
.btns{display:flex;border-top:1px solid #cecece;position:relative}
.btns::after{
  content:"";
  width:1px;
  background:#cecece;
  position:absolute;
  left:50%;
  top:10px;
  bottom:10px;
}
.btns button{flex:1;padding:15px 0px 10px 0px; border:none;background:transparent;font-size:20px; cursor:pointer;}
.cancel{color:#333;}
.okBtn{color:#0066dd;}

/* 文章列表页 */
.class_name {width:50%; margin:10px auto; display: flex; align-items: center; text-align: center; color: #991716; font-size:22px; font-weight:700; font-family:"Noto Serif SC","Songti SC",Georgia,serif !important;}
.class_name::before,
.class_name::after {
    content: "";
    flex: 1; /* 自动填充剩余空间 */
    border-bottom: 1px solid #991716; /* 横线样式 */
    margin: 0 10px; /* 文字与横线的间距 */
}

.sub-category-list{display:flex; flex-wrap:wrap; gap:12px;}
.main-category ul {margin:0; padding:0;}
.sub-category-list li {
    flex: 1; /* 自动平分剩余宽度 */
    min-width:120px; /* 限制最小宽度，小屏幕自动换行 */
    text-align:center;
}

.sub-category-list li a {position: relative; display: inline-block; padding: 8px 0; text-decoration: none; color: #333; font-size: 16px;}
/* 伪元素默认状态：宽度0，隐藏下划线 */
.sub-category-list li a::after {content: ""; position: absolute; left: 0; bottom: 0; width: 0; height: 2px; background: #F30;}
/* 当前选中active：执行入场动画 */
.sub-category-list li.active a::after {animation: lineAnim 0.4s ease forwards;}
@keyframes lineAnim {
  from {
    width: 0;
  }
  to {
    width: 100%;
  }
}

.article_list {margin:20px 15px 30px 15px;}
.article_list ul,.article_list li {margin;0; padding:0;}
.article_list li {margin:15px auto; padding:8px; background:#f9f3ee; border-radius:10px;}
.article_list li span {display:block; min-height:30px; font-size:18px; line-height:1.3; white-space: nowrap; overflow: hidden; text-overflow: ellipsis;}
.span_dot::before {
  content: "";
  display: inline-block;
  width: 6px;       /* 圆点直径 */
  height: 6px;      /* 圆点直径 */
  background-color: #999; /* 圆点颜色，可独立于文字颜色 */
  border-radius: 50%; /* 变成圆形 */
  vertical-align: middle; /* 关键：与文字垂直居中 */
  margin-right: 6px;      /* 圆点与文字的间距 */
}
.article_list li em {font-style:normal; font-size:14px; color:#999; padding-left:12px;}
.article_list li a {color:#333;}

.page_box {padding:20px; text-align: center;}
.page_box a {color:#333;}

/*文章详情页*/
.header_page {width:100%; height:90px; background:url(../images/page_topbg.jpg) no-repeat; background-size:cover; position:relative;}
.info_con {padding:20px 24px 20px 24px; line-height:150%; font-size:16px;}
.info_con img {max-width:99%;}

.info_con .title {font-size: 24px; line-height:1.3; font-family:"Noto Serif SC","Songti SC",Georgia,serif !important; color:#991716; border-bottom: 1px solid #991716; padding-bottom:7px;}

/* 单页-标题 */
.title_box {text-align:center; font-family:"Noto Serif SC","Songti SC",Georgia,serif !important;}
.title_box h4 {margin:15px auto; font-size:32px; color:#991716; font-weight:900; line-height:1.3;}
.line-title {width:40%; margin:10px auto; display: flex; align-items: center; text-align: center; color: #C96; font-size:22px; font-weight:700;}
  /* 伪元素生成横线 */
.line-title::before,
.line-title::after {
    content: "";
    flex: 1; /* 自动填充剩余空间 */
    border-bottom: 2px solid #C96; /* 横线样式 */
    margin: 0 10px; /* 文字与横线的间距 */
}

/* 单页-内容 */
.page_info {margin:0px 22px 22px 22px; padding:10px 15px; line-height:150%; border:2px solid #991716; border-radius:10px; font-size:16px !important;}
.page_info img {max-width:99%;}

/* 单页-联系信息 */
.contact-title {
	margin:15px auto 5px auto;
	color:#991716;
	font-size:20px;
	font-weight:700;
	font-family:"Noto Serif SC","Songti SC",Georgia,serif !important;
	display: flex;
	align-items: center;
	width: 100%; /* 确保容器有宽度，否则横线可能不显示 */
}
.contact-title::after {
  content: '';
  flex: 1; /* 占据剩余空间 */
  height: 2px; /* 横线高度 */
  background-color: #C96; /* 横线颜色 */
  margin-left: 10px; /* 文字与横线的间距 */
}
.contact-info {padding:20px 0px; display:flex; flex-direction:column; gap:12px;}
.c_item {display:flex; align-items:center; gap:12px;}
.c_item .shield {flex:none; width:34px; height:34px;}
.c_item .shield svg {width:100%; height:100%; display:block;}
.c_item .t {font-size:15px; color:#111; line-height:1.5;}
.c_item .t b {font-weight:500;}
.c-addr {align-items:flex-start;}
.c-addr .shield {margin-top:2px;}

/* 汉堡按钮容器 */
.menu-btn {
  position: absolute;
  top:15px;
  right:15px;
  width: 30px;
  height: 24px;
  border: none;
  z-index: 99;
  background-color: #FFF;
}
/* 三根线条 */
.menu-btn span {
  display: block;
  width: 100%;
  height: 3px;
  background: #FF6600;
  border-radius: 2px;
  position: absolute;
  left: 0;
  transition: all 0.3s ease;
}
.menu-btn span:nth-child(1) { top: 0; }
.menu-btn span:nth-child(2) { top: 10px; }
.menu-btn span:nth-child(3) { bottom: 0; }

/* active状态：变成X */
.menu-btn.active {background-color:transparent;}
.menu-btn.active span:nth-child(1) {
  top: 10px;
  transform: rotate(45deg);
}
.menu-btn.active span:nth-child(2) {
  opacity: 0; /* 中间线条消失 */
}
.menu-btn.active span:nth-child(3) {
  bottom: 11px;
  transform: rotate(-45deg);
}

/* 浮层菜单 */
.nav {
  background-color: rgba(0, 0, 0, 0.8);
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  overflow: hidden;
  max-height: 0;
  transition: max-height 0.3s ease;
  z-index: 98;
}
.nav.open {
  max-height: 400px;
}
.nav a {
  display: block;
  color: #FFF;
  text-decoration: none;
  padding: 14px 16px;
  border-bottom: 1px solid #FFF;
}

/* 调解提交 */
.role_box {position:relative; padding:24px 20px; text-align:center; background:#FFF; border:2px solid #C96; border-radius:20px; margin:40px 20px;}
.role_box h1 {position:absolute; left: 50%; top: -30px; transform:translateX(-50%); background: #ffffff; padding:15px; font-size:22px; color:#333; white-space: nowrap;}
.role_box .btn img {max-width:70%; margin:40px auto 20px auto; cursor: pointer; transition: all 0.15s ease; -webkit-tap-highlight-color: transparent;}
.role_box .btn img:hover {transform: scale(1.02);}
.role_box .btn img:active {transform: scale(0.97);}

/*个人表单*/
.form-list {margin-top:12px;}
.form-row {
  display:flex;
  flex-wrap:wrap;
  align-items:center;
  margin-bottom:14px;
  gap:8px;
}
.form-row label {
  width:100px;
  flex-shrink:0;
  font-size:14px;
  text-align: left;
}
.form-row input,
.form-row textarea{
  flex:1;
  min-width:180px;
  border:1px solid #bbb;
  border-radius:6px;
  padding:10px;
  font-size:16px;
}
.form-row textarea{  min-height:70px;  resize:vertical;}

/* 只读文字值：与 input 同一列 */
.form-row .form-text{
  flex:1;
  box-sizing:border-box;
  padding:10px;
  border:1px solid transparent;
  border-radius:6px;
  font-size:16px;
  line-height:1.5;
  color:#333;
  text-align:left;
  word-break:break-all;
}

/* 手机端：input 行标签独占一行；纯文字值行标签与值同行 */
@media (max-width:576px){
  .form-row{
    flex-direction:column;
    align-items:stretch;
  }
  .form-row label{
    width:auto;
  }
  .form-row .form-text{
    min-width:0;
    padding:0;
    border:0;
    text-align:left;
  }

  /* 右侧为文字时，label与值同一行 */
  .form-row-text{flex-direction:row; flex-wrap:nowrap; align-items:center;}
  .form-row-text label{width:80px; flex-shrink:0; white-space:nowrap;}
  .form-row-text .form-text{flex:1; min-width:0; padding:0; border:0; text-align:left;}
}

/* 上传身份证部分 */
.idcard-box {padding:0px 15px;}

.idcard-box .head-title { margin:15px 5px; }
.idcard-box .head-title h3 { margin:0px; position: relative; font-size:18px; font-weight:500; padding-left: 12px; }
.idcard-box .head-title h3::before {
  content: '';
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 4px;
  height: 18px;
  background-color: #E02020;
  border-radius: 2px;
}

.form-ocr {margin:20px 10px;}
.form-ocr .form-item {display:flex; flex-wrap:wrap; align-items:center; margin-bottom:14px; gap:8px;}
.form-ocr label {width:70px;  flex-shrink:0; font-size:14px; text-align: left;}
.form-ocr input {flex:1; min-width:100px; border:1px solid #bbb; border-radius:6px; padding:5px; font-size:14px;}

/* 上传模块卡片 */
.card { position:relative; background:#fff; border-radius:14px; box-shadow:0 2px 10px rgba(0,0,0,.1); padding:15px 20px; margin-bottom:20px; display:flex; align-items:center; }
.card .info { flex:1; padding-right:14px; }
.card .info .name { font-size:17px; font-weight:600; color:#111; margin-bottom:8px; }
.card .info .tip{ font-size:13px; color:#999; line-height:1.6; }

.card .right { position:relative; width:170px; }

/* 身份证示意图 */
.idcard {
width:170px; height:108px; border-radius:10px; border:1px solid #e0e0e0;
background:#fff; position:relative; overflow:hidden;
box-shadow:0 1px 4px rgba(0,0,0,.06);
}
.idcard.face .photo {
position:absolute; left:8px; top:14px; width:44px; height:56px;
background:#eef1f6; border-radius:6px;
}
.idcard.face .line { height:6px; background:#d6dbe3; border-radius:3px; }
.idcard.face .l1 { position:absolute; left:60px; top:18px; width:96px; }
.idcard.face .l2 { position:absolute; left:60px; top:34px; width:82px; }
.idcard.face .l3 { position:absolute; left:60px; top:50px; width:60px; }
.idcard.face .nm { position:absolute; left:60px; top:66px; font-size:10px; color:#aab; }
.idcard.face .bar { position:absolute; left:0; right:0; bottom:0; height:14px; background:#f0f2f6; }

.idcard.emblem .emblem {
position:absolute; left:50%; top:22px; transform:translateX(-50%);
width:30px; height:30px; border-radius:50%;
border:2px solid #c0392b; background:#f8d7da;
display:flex; align-items:center; justify-content:center;
color:#c0392b; font-size:14px; font-weight:700;
}
.idcard.emblem .cn { position:absolute; left:50%; top:56px; transform:translateX(-50%); font-size:11px; color:#aab; letter-spacing:2px; }
.idcard.emblem .sub { position:absolute; left:50%; top:74px; transform:translateX(-50%); font-size:9px; color:#ccc; letter-spacing:1px; }

/* 红色圆形加号按钮 */
.btn-add {
position:absolute; left:50%; top:50%; transform:translate(-50%,-50%);
width:46px; height:46px; border-radius:50%;
background:#e02020; border:none; cursor:pointer;
display:flex; align-items:center; justify-content:center;
box-shadow:0 3px 8px rgba(224,32,32,.4); transition:transform .15s, background .15s;
}
.btn-add:hover { transform:translate(-50%,-50%) scale(1.06); background:#c81a1a; }
.btn-add svg { width:20px; height:20px; }
.btn-add path { stroke:#fff; stroke-width:2.6; stroke-linecap:round; }

/* 上传进度遮罩 */
.progress-mask {
position:absolute; left:0; top:0; width:100%; height:100%;
background:rgba(255,255,255,.88); border-radius:10px;
display:none; align-items:center; justify-content:center; flex-direction:column;
}
.progress-mask .p-text { font-size:12px; color:#666; margin-bottom:6px; }
.progress-mask .p-bar { width:120px; height:6px; border-radius:3px; background:#eee; overflow:hidden; }
.progress-mask .p-fill { height:100%; width:0%; background:#e02020; transition:width .2s; }

/* 上传成功缩略图 */
.thumb {
position:absolute; left:0; top:0; width:100%; height:100%;
border-radius:10px; object-fit:cover; display:none;
border:1px solid #e0e0e0;
}
/* 重新上传：卡片左侧底部 */
.reup {
position:absolute; left:20px; bottom:14px;
font-size:12px; color:#e02020; cursor:pointer; background:none; border:none;
display:none; padding:0;
}

/* 提交按钮-公共 */
.btn-submit {
  display: block;
  width: 100%;
  padding: 15px 0;
  border: none;
  border-radius: 30px;
  background: #e02020;
  color: #fff;
  font-size: 22px;
  font-weight: 600;
  cursor: pointer;
  box-shadow: 0 3px 8px rgba(224, 32, 32, 0.3);
  transition: background 0.15s, transform 0.15s, box-shadow 0.15s;
}
.btn-submit:hover {
  background: #c81a1a;
}
.btn-submit:active {
  background: #b01515;
  transform: translateY(2px);
  box-shadow: 0 1px 4px rgba(224, 32, 32, 0.3);
}

.idcard-box .foot_tips { text-align:center; font-size:12px; color:#bbb; margin:20px auto; }

/* 证据材料上传部分 */
.upfile-box {padding:20px;}
.title-main{
    text-align:center;
    font-size:22px;
    color:#a82222;
    font-weight:bold;
    margin-bottom:12px;
    position:relative;
    letter-spacing:2px;
}
.title-main::before,.title-main::after{
    content:"";
    display:inline-block;
    width:70px;
    height:2px;
    background:linear-gradient(90deg,transparent,#c8a868,transparent);
    margin:0 12px;
    vertical-align:middle;
    border-radius:2px;
}

.desc-text{
    font-size:18px;
    color:#333;
    line-height:1.5;
}
.desc-text2 {
    font-size:16px;
    color:#333;
    margin:25px 0;
}
.sub-title{
    font-size:18px;
    color:#a82222;
    font-weight:bold;
    margin:16px 0;
    letter-spacing:1px;
}
.type-group{
    display:grid;
    grid-template-columns:1fr 1fr;
    gap:14px;
    margin-bottom:24px;
}
.type-item{
    border:1px solid #d4b888;
    border-radius:8px;
    padding:8px 10px;
    text-align:center;
    font-size:18px;
    color:#666;
    background:#fff;
    box-shadow:0 2px 6px rgba(212,184,136,0.12);
    transition:all 0.25s ease;
    position:relative;
    cursor:pointer;
    user-select:none;
}
.type-item.selected{
    border-color:#a82222;
    color:#a82222;
    font-weight:700;
    background:#fef2f2;
    box-shadow:0 2px 10px rgba(168,34,34,0.18);
}
.type-item.selected::after{
    content:"✓";
    position:absolute;
    top:26%;
    right:8px;
    font-size:16px;
    line-height:1;
    color:#a82222;
}
.btn-next-empty{
    width:90%;
    border:2px solid #a82222;
    border-radius:999px;
    padding:10px 0;
    font-size:22px;
    color:#a82222;
    background:#fff;
    cursor:pointer;
    margin:10px auto 30px;
    display:block;
    text-decoration:none;
    text-align:center;
    transition:all 0.25s ease;
    box-shadow:0 2px 8px rgba(168,34,34,0.08);
}
.btn-next-empty:hover{
    background:#fef2f2;
    box-shadow:0 4px 12px rgba(168,34,34,0.15);
}
.upload-box{
    border:2px dashed #a82222;
    border-radius:16px;
    padding:24px 28px;
    display:flex;
    align-items:center;
    gap:20px;
    cursor:pointer;
    background:#fff;
    transition:all 0.25s ease;
    box-shadow:0 2px 8px rgba(168,34,34,0.06);
}
.upload-box:hover{
    background:#fef4f4;
    box-shadow:0 4px 14px rgba(168,34,34,0.12);
}
.upload-icon-wrap{
    flex-shrink:0;
}
.upload-icon{
    width:72px;
    height:72px;
    transition:transform 0.25s ease;
}
.upload-box:hover .upload-icon{
    transform: translateY(3px);
}
.upload-text-wrap{
    text-align:left;
}
.upload-text-wrap h4{
    font-size:24px;
    color:#a82222;
    margin:0 0 6px 0;
    font-weight:bold;
}
.upload-text-wrap .tip{
    font-size:16px;
    color:#444;
}

.file-list{
    margin:20px auto;
    display:flex;
    flex-wrap:wrap;
    gap:14px;
}
.file-item{
    flex:1;
    min-width:45%;
    max-width:calc(50% - 7px);
    border:1px solid #eee;
    border-radius:10px;
    overflow:hidden;
    position:relative;
    background:#fff;
    box-shadow:0 2px 6px rgba(0,0,0,0.07);
    transition:all 0.25s ease;
    height:64px;
    display:flex;
    align-items:center;
}
.file-item:hover{
    box-shadow:0 4px 10px rgba(0,0,0,0.12);
}
.file-item .thumb{
    height:100%;
    width:auto;
    max-width:calc(100% - 60px);
    object-fit:cover;
    display:block;
}
.file-item .name{
    display:none;
}
.file-item .del{
    position:absolute;
    right:8px;
    top:50%;
    transform:translateY(-50%);
    width:36px;
    height:36px;
    background:#a82222;
    color:#fff;
    border-radius:50%;
    border:none;
    cursor:pointer;
    font-size:20px;
    line-height:36px;
    transition:transform 0.2s ease;
}
.file-item .del:hover{
    transform:translateY(-50%) scale(1.15);
}
.file-item .pdf-preview{
    display:flex;
    align-items:center;
    gap:8px;
    padding:0 16px;
    width:calc(100% - 44px);
}
.file-item .pdf-name{
    font-size:14px;
    color:#333;
    white-space:nowrap;
    overflow:hidden;
    text-overflow:ellipsis;
}
.progress-line{
    display:none;
}
.progress-line .fill{
    height:100%;
    background:#a82222;
    width:0%;
    transition:width 0.15s ease;
}

.btn-submit:disabled{
    opacity:0.6;
    cursor:not-allowed;
    filter:none;
    box-shadow:none;
}

.foot_tips{
    margin-top:16px;
    text-align:center;
    color:#666;
    font-size:14px;
}

#lightToast_layer{
    position:fixed;
    left:0;
    right:0;
    top:100px;
    z-index:9999;
    display:none;
    justify-content:center;
    pointer-events:none;
}
#lightToastBox{
    max-width:86%;
    min-height:44px;
    line-height:44px;
    padding:0 18px;
    border-radius:10px;
    background:rgba(20,20,20,0.85);
    color:#fff;
    font-size:14px;
    box-shadow:0 4px 16px rgba(0,0,0,0.25);
    display:flex;
    align-items:center;
    gap:10px;
    animation:lightToastIn .22s ease-out;
}
#lightToastBox.toast-success{
    background:rgba(34,124,78,0.92);
}
#lightToastBox.toast-error{
    background:rgba(197,48,48,0.92);
}
#lightToastBox .toast-icon{
    width:18px;
    height:18px;
    border-radius:50%;
    background:rgba(255,255,255,.25);
    display:flex;
    align-items:center;
    justify-content:center;
    font-size:12px;
    flex:none;
}
#lightToastBox .toast-text{
    pointer-events:auto;
}
@keyframes lightToastIn{
    from{ opacity:0; transform:translateY(-8px); }
    to{ opacity:1; transform:translateY(0); }
}

/* 电子签名部分 */
.sign-box {padding:20px;}
.sign-box .title-head {padding:0; margin:10px; text-align:center; font-size:38px; color:#991a24; font-weight:bold; }
.sign-box .div-line{width:80px;height:3px;background:#e6b87e;margin:0px auto 10px auto;}
.sign-box .info-card{background:#fff;border-radius:20px;padding:10px;}
.sign-box .info-item{display:flex;justify-content:space-between;align-items:center;padding:16px 0;border-bottom:1px solid #eee;font-size:15px;}
.sign-box .info-item:last-child{border-bottom:none;}
.sign-box .info-item .label{color:#333;}
.sign-box .info-item .val{flex:1;text-align:left;color:#333;padding-left:10px;}
.sign-box .info-item .val.red{color:#991a24;font-weight:bold;}
.sign-box .arrow{color:#cc6666;margin-left:8px;}
.sign-box .tip-text{color:#991a24; font-size:16px; padding:10px;}
.sign-box .sign-card{background:#fff;border-radius:20px;padding:10px;margin-bottom:30px;}
.sign-box .sign-title{font-size:22px;font-weight:bold;margin-bottom:16px;}
.sign-box .sign-wrap{position:relative;border:1px dashed #d8a0a0;border-radius:12px;overflow:hidden;background:#fff;}
.sign-box #signCanvas{width:100%;height:220px;touch-action:none;display:block;}
.sign-box .sign-tip{position:absolute;left:20px;top:20px;color:#aaa;font-size:18px;pointer-events:none;}
.sign-box .sign-btn-row{display:flex;justify-content:flex-end;gap:12px;margin-top:12px;}
.sign-box .sign-btn{padding:8px 16px;border:none;border-radius:8px;font-size:16px;cursor:pointer;}
.sign-box .btn-clear{background:#eee;color:#444;}
.sign-box .btn-save_sign{background:#991a24;color:#fff;}
.btn-submit:disabled {background:#c8888e;cursor:not-allowed;}

/* 机构提交部分 */
.org_box {margin-bottom:15px;}
.org_box h3 {margin:0px; position: relative; font-size:20px; font-weight:500; padding-left: 12px;}
.org_box h3::before {
  content: '';
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 4px;
  height: 18px;
  background-color: #E02020;
  border-radius: 2px;
}
.org_box input {margin-top:10px; width:100%; border:2px solid #C96; border-radius:8px; padding:10px; font-size:18px;}

.complete-tips {margin:30px 20px; border:2px solid #C96; background:#FFFFEE; border-radius:20px; padding:15px 20px;
  animation:tipsIn .38s cubic-bezier(.22,.61,.36,1) both;}
.complete-tips h3 {font-size:18px; color:#c30; margin-bottom:10px;}
.complete-tips span {font-size:16px;}

@keyframes tipsIn {
  0%   {opacity:0; transform:translateY(14px) scale(.96);}
  65%  {opacity:1; transform:translateY(-3px) scale(1.01);}
  100% {opacity:1; transform:translateY(0) scale(1);}
}
@media (prefers-reduced-motion: reduce) {.complete-tips {animation:none;}}