/* ===== 手机外壳预览 ===== */
.stage {
	min-height: 100vh;
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 24px 16px;
	background: #EDEDED
}

.phone {
	width: 100%;
	max-width: 390px;
	min-height: 844px;
	background: #EDEDED;
	position: relative;
	overflow: hidden;
	box-shadow: 0 20px 60px rgba(0, 0, 0, .12)
}

@media(min-width:600px) {
	.phone {
		border-radius: 36px
	}
}

@media(max-width:599px) {
	.phone {
		min-height: 100vh;
		border-radius: 0
	}

	.stage {
		padding: 0
	}
}

/* ===== 顶部导航：青绿渐变，与首页主色统一 ===== */
.phone .weui-header {
	background: linear-gradient(135deg, #2DC3B6, #13A583) !important;
	padding: 0 !important;
	height: 46px
}

.phone .weui-header h1 {
	margin: 0 60px !important;
	line-height: 46px !important;
	height: 46px !important;
	font-size: 17px;
	font-weight: 500;
	letter-spacing: .5px
}

.phone .weui-header .weui-header-left {
	top: 12px;
	left: 12px
}

.phone .weui-header .weui-header-right {
	top: 12px;
	right: 12px
}

.phone .weui-header a {
	font-size: 20px;
	line-height: 22px;
	opacity: .95
}

.phone .weui-header a:active {
	opacity: .6
}

/* 副标题：院名 */
.subnav {
	background: #fff;
	padding: 13px 15px;
	border-bottom: 1px solid #e5e5e5;
	font-size: 15px;
	color: #333;
	line-height: 1.4
}

/* ===== 全局按钮：青绿渐变，与首页主色统一 ===== */
.weui-btn,
.weui-btn:not(.weui-btn_plain-default):not(.weui-btn_plain-primary):not(.weui-btn_plain-warn) {
    background: linear-gradient(135deg, #2DC3B6, #13A583) !important;
    border: 0 !important;
    color: #fff !important;
}

/* 按下态：稍微加深 */
.weui-btn:active {
    background: linear-gradient(135deg, #25B3A6, #0F8F6E) !important;
    opacity: .9;
}

/* 小按钮（weui-btn_mini）同步 */
.weui-btn_mini {
    background: linear-gradient(135deg, #2DC3B6, #13A583) !important;
}

/* 镂空按钮（plain）保持原色，只改边框和文字 */
.weui-btn_plain-primary {
    color: #2DC3B6 !important;
    border-color: #2DC3B6 !important;
}
.weui-btn_plain-primary:active {
    background: rgba(45, 195, 182, .08) !important;
}

/* 危险/警告按钮保持红色，不覆盖 */
.weui-btn_warn,
.weui-btn_warn:active {
    background: #FF3B30 !important;
}


/* ===== 通用说明页/富文本排版 (含住院借款说明) ===== */
.app-richtext-body {
    padding: 16px 18px; /* 核心：上下16px，左右18px留白，解决贴边问题 */
    font-size: 15px;
    line-height: 1.85;
    color: var(--t2, #4A4F5A);
}

/* 标题层级 */
.app-richtext-body h1,
.app-richtext-body h2,
.app-richtext-body h3 {
    font-size: 17px;
    font-weight: 700;
    color: var(--t1, #1A1A1A);
    margin: 20px 0 10px;
    line-height: 1.4;
    text-align: center; /* 适配截图中的“住院借款说明”居中标题 */
}
.app-richtext-body h1:first-child,
.app-richtext-body h2:first-child,
.app-richtext-body h3:first-child {
    margin-top: 0;
}

/* 段落与加粗 */
.app-richtext-body p {
    margin: 0 0 12px;
    text-align: justify;
}
.app-richtext-body strong,
.app-richtext-body b {
    color: var(--t1, #1A1A1A);
    font-weight: 700;
}

/* 列表 */
.app-richtext-body ul,
.app-richtext-body ol {
    padding-left: 20px;
    margin: 0 0 12px;
}
.app-richtext-body li {
    margin-bottom: 6px;
}

/* 链接（适配截图中的“在线申领支票”红色高亮） */
.app-richtext-body a {
    color: #FF3B30; 
    font-weight: bold;
    text-decoration: underline;
}
.app-richtext-body a:active {
    opacity: .6;
}

/* 图片、引用、分隔线 */
.app-richtext-body img {
    display: block !important;
    max-width: 100% !important;
    height: auto !important;
    margin: 12px auto;
    border-radius: 8px;
}
.app-richtext-body blockquote {
    margin: 12px 0;
    padding: 10px 14px;
    border-left: 3px solid #2DC3B6;
    background: #EAF6F5;
    border-radius: 0 8px 8px 0;
}
.app-richtext-body hr {
    border: 0;
    height: 1px;
    background: #f0f0f0;
    margin: 20px 0;
}

/* 底部联系方式居中对齐（适配截图末尾电话） */
.app-richtext-body .contact-info {
    text-align: center;
    margin-top: 20px;
    color: var(--t1, #1A1A1A);
}

/* 提示条容器 */
.app-tip--lab {
    display: flex;
    align-items: flex-start;
    margin: 10px 14px 12px;
    padding: 10px 12px;
    background: #FFF7F0;          /* 浅橙背景，更温和 */
    border-left: 3px solid #FF9A4D; /* 左侧橙色强调线 */
    border-radius: 0 8px 8px 0;
    line-height: 1.5;
}

/* 图标 */
.app-tip--lab .app-tip__icon {
    flex-shrink: 0;
    font-size: 15px;
    color: #FF9A4D;
    margin-right: 6px;
    margin-top: 2px;              /* 图标与首行文字微调对齐 */
}

/* 文字 */
.app-tip--lab .app-tip__text {
    flex: 1;
    font-size: 13px;
    color: #E8830C;               /* 深橙色文字，保证对比度 */
    word-break: keep-all;         /* 避免“医院”等词被意外拆开 */
}