/*
 * 伪静态规则生成工具样式
 * ============================================================================
 * 版权所有 (C) 西安尊云信息科技有限公司，并保留所有权利。
 * 网站地址: http://www.zunyunkeji.com
 * ----------------------------------------------------------------------------
 * 许可声明：未经许可不得将本软件的整体或任何部分用于商业用途及再发布。
 * ============================================================================
 * Author: 缘境 (yvsm@zunyunkeji.com) QQ:316430983 微信：yvsm316
 */
/* 本工具页最小字号 14px */
.wrap .box .content .of-seg button{font-size:14px;height:38px;padding:0 16px;}
.wrap .box .content .of-btn{font-size:14px;height:38px;}
.wrap .box .content .of-label{font-size:13px;}
.wrap .box .content .of-input,
.wrap .box .content .of-select,
.wrap .box .content .of-area{font-size:14px;}
.wrap .box .content .of-kicker{font-size:14px;}
.rw-modebar{margin:0 0 14px;}
#rw_panel_preset.of-hide,
#rw_panel_custom.of-hide,
#rw_panel_guide.of-hide,
.rw-layout.of-hide,
.rw-custom.of-hide,
.rw-guide.of-hide{display:none !important;}
.rw-layout{
    display:grid;
    grid-template-columns:280px minmax(0,1fr);
    gap:12px;
    align-items:start;
}
.rw-side{
    padding:14px 14px 12px;
    background:#f7f8fa;
    border:1px solid #eee;
}
.rw-main{
    padding:16px 18px;
    background:#fff;
    border:1px solid #eee;
    min-width:0;
    font-size:14px;
}
.rw-search{
    width:100%;height:38px;padding:0 12px;margin-bottom:10px;
    border:1px solid #e6e6e6;background:#fff;font-size:14px;box-sizing:border-box;
}
.rw-search:focus{border-color:#16baaa;outline:0;}
.rw-list{
    max-height:560px;overflow:auto;display:flex;flex-direction:column;gap:6px;
}
.rw-item{
    display:block;width:100%;text-align:left;
    padding:10px 12px;border:1px solid #e6e6e6;background:#fff;
    color:#444;font-size:14px;cursor:pointer;line-height:1.4;
}
.rw-item:hover{border-color:#16baaa;color:#16baaa;}
.rw-item.is-on{background:#16baaa;border-color:#16baaa;color:#fff;font-weight:600;}
.rw-item small{display:block;margin-top:3px;opacity:.75;font-size:12px;font-weight:400;}
.rw-toolbar{
    display:flex;flex-wrap:wrap;gap:10px;align-items:center;margin-bottom:12px;
}
.rw-meta{font-size:14px;color:#666;}
.rw-meta b{color:#16baaa;}
.rw-area{
    width:100%;min-height:420px;padding:14px 16px;box-sizing:border-box;
    border:1px solid #e6e6e6;background:#2f363c;color:#e6e6e6;
    font-family:Consolas,Monaco,"Courier New",monospace;font-size:14px;line-height:1.7;
    resize:vertical;
}
.rw-area:focus{border-color:#16baaa;outline:0;}
.rw-tip{margin:12px 0 0;font-size:14px;line-height:1.75;color:#888;}
.rw-tip code,.rw-help code{
    padding:1px 6px;background:#e9faf8;color:#16baaa;font-size:13px;
}
.rw-empty{padding:18px;color:#999;font-size:14px;text-align:center;border:1px dashed #e6e6e6;}
.rw-help{margin:0 0 14px;font-size:14px;line-height:1.75;color:#888;}
.rw-custom-grid{
    display:grid;
    grid-template-columns:minmax(0,1.15fr) minmax(0,1fr);
    gap:12px;
    align-items:start;
}
.rw-map-head,.rw-map-row{
    display:grid;
    grid-template-columns:minmax(0,1fr) minmax(0,1fr) 40px;
    gap:8px;
    align-items:center;
}
.rw-map-head{
    margin-bottom:6px;
    font-size:13px;color:#888;font-weight:600;
}
.rw-map-list{display:flex;flex-direction:column;gap:8px;margin-bottom:10px;}
.rw-map-row .of-input{width:100%;font-size:14px;}
.rw-map-del{
    height:38px;width:38px;border:1px solid #e6e6e6;background:#fff;color:#999;
    font-size:18px;line-height:1;cursor:pointer;
}
.rw-map-del:hover{border-color:#ff5722;color:#ff5722;}
.rw-opts{margin-top:4px;}
.rw-checks{
    display:flex;flex-wrap:wrap;gap:10px 18px;margin:4px 0 2px;
}
.rw-check{
    display:inline-flex;align-items:center;gap:6px;
    font-size:14px;color:#555;cursor:pointer;user-select:none;
}
.rw-check input{margin:0;}

/* —— 基本介绍 —— */
.rw-guide-body{
    padding:20px 22px 24px;
}
.rw-guide-body .of-kicker{
    margin:0 0 12px;
    font-size:16px;
    letter-spacing:.04em;
}
.rw-guide-sec{
    margin:0 0 22px;
    padding:0 0 22px;
    border-bottom:1px solid #f0f0f0;
}
.rw-guide-sec:last-of-type{
    margin-bottom:12px;
    padding-bottom:0;
    border-bottom:0;
}
.rw-guide-p{
    margin:0 0 14px;
    font-size:14px;
    line-height:1.85;
    color:#444;
}
.rw-guide-ul{
    margin:0 0 4px;
    padding-left:1.25em;
    font-size:14px;
    line-height:1.9;
    color:#444;
}
.rw-guide-ul li{margin:0 0 6px;}
.rw-guide-ul li:last-child{margin-bottom:0;}
.rw-guide-ul code,
.rw-guide-p code,
.rw-guide-table code{
    padding:1px 6px;
    background:#e9faf8;
    color:#16baaa;
    font-size:13px;
}
.rw-guide-eg{
    display:flex;
    flex-direction:column;
    gap:10px;
    margin:0 0 16px;
    padding:14px 16px;
    background:linear-gradient(180deg,#f7fbfa 0%,#f7f8fa 100%);
    border:1px solid #e6f2f0;
}
.rw-guide-eg > div{
    display:flex;
    flex-wrap:wrap;
    align-items:center;
    gap:10px;
    font-size:14px;
    color:#444;
}
.rw-guide-tag{
    display:inline-block;
    min-width:72px;
    padding:4px 10px;
    background:#16baaa;
    color:#fff;
    font-size:13px;
    font-weight:600;
    text-align:center;
}
.rw-guide-eg code{
    padding:5px 10px;
    background:#2f363c;
    color:#e6e6e6;
    font-family:Consolas,Monaco,monospace;
    font-size:14px;
    word-break:break-all;
}
.rw-guide-table-wrap{
    margin:0 0 4px;
    overflow:auto;
    border:1px solid #eee;
}
.rw-guide-table{
    width:100%;
    border-collapse:collapse;
    font-size:14px;
}
.rw-guide-table th,
.rw-guide-table td{
    padding:12px 14px;
    border-bottom:1px solid #f0f0f0;
    text-align:left;
    vertical-align:top;
    line-height:1.7;
}
.rw-guide-table th{
    background:#f7f8fa;
    color:#666;
    font-size:13px;
    font-weight:600;
    white-space:nowrap;
}
.rw-guide-table td:first-child{
    width:28%;
    color:#333;
    font-weight:600;
}
.rw-guide-table tr:last-child td{border-bottom:0;}
.rw-guide-table tbody tr:hover{background:#fafafa;}
.rw-guide-code{
    margin:0 0 14px;
    padding:14px 16px;
    overflow:auto;
    background:#2f363c;
    color:#e6e6e6;
    border:0;
    font-family:Consolas,Monaco,monospace;
    font-size:14px;
    line-height:1.7;
    white-space:pre;
}
.rw-guide-cols{
    display:grid;
    grid-template-columns:1fr 1fr;
    gap:14px;
    margin:0 0 4px;
}
.rw-guide-panel{
    border:1px solid #eee;
    background:#fafafa;
    padding:12px;
}
.rw-guide-label{
    margin:0 0 8px;
    font-size:14px;
    font-weight:600;
    color:#16baaa;
}
.rw-guide-cols .rw-guide-code,
.rw-guide-panel .rw-guide-code{
    margin-bottom:0;
}
.rw-guide-body > .rw-tip{
    margin-top:8px;
    padding:12px 14px;
    background:#f7f8fa;
    border-left:3px solid #16baaa;
    color:#666;
}
@media (max-width:1100px){
    .rw-custom-grid{grid-template-columns:1fr;}
    .rw-guide-cols{grid-template-columns:1fr;}
}
@media (max-width:900px){
    .rw-layout{grid-template-columns:1fr;}
    .rw-list{max-height:240px;flex-direction:row;flex-wrap:wrap;}
    .rw-item{width:auto;}
    .rw-map-head,.rw-map-row{grid-template-columns:1fr;}
    .rw-map-head span:last-child{display:none;}
    .rw-map-del{width:100%;}
    .rw-guide-body{padding:16px;}
    .rw-guide-table td:first-child{width:auto;}
}
