/* 【样式说明】医生H5：病种模板选择。保持控件点击区域、信息层次与窄屏换行；样式不承担业务权限判断。 */
/* 布局规则：.template-library>label；作用域按选择器限定，尺寸及状态以以下声明为准。 */
.template-library>label{margin-top:18px}.template-library .template-filter-buttons{flex-wrap:wrap}.template-library-list{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.template-library-item{min-width:0;padding:14px;border:1px solid #d8e3d5;border-radius:12px}.template-library-item h2{margin:0;font-size:17px;overflow-wrap:anywhere}.template-library-item .row{align-items:flex-start;gap:10px}.template-library-item button{min-height:44px;flex-shrink:0}.template-library-item summary{min-height:44px;display:flex;align-items:center;cursor:pointer;font-weight:600}.template-library-item summary::after{content:'展开';margin-left:auto;font-size:13px;font-weight:400}.template-library-item details[open] summary::after{content:'收起'}.template-library-item ul{padding-left:22px;margin:4px 0;line-height:1.8}.template-library-item li{overflow-wrap:anywhere}.template-library-item .muted{font-size:14px;color:#526850}.template-library [data-library-count]{font-weight:600;margin:14px 0}
.template-library>.actions>a[href="#patients"]{min-height:44px}
/* 布局规则：@media(max-width:680px)；作用域按选择器限定，尺寸及状态以以下声明为准。 */
@media(max-width:680px){.template-library-list{grid-template-columns:1fr}.template-library{padding:15px}.template-library-item{padding:12px}.template-library-item button{min-width:44px;font-size:14px;padding:8px 10px}.template-library .template-filter-buttons button{padding:8px 10px}.template-library-item h2{font-size:16px}}
