@charset "utf-8";
/* ==========================================================================
   调解员名录（前台 List.aspx?ColumnID=6 的结构化版本）
   2026-11-22 · docs/124
   只在后台把前台版本切到 list 时才会被用到；切回 image 时本文件不参与渲染。
   配色沿用站点：主红 #d93a3f、正文 #313131、边框 #e5e5e5。
   ========================================================================== */

.md-wrap { font-size: 14px; color: #313131; line-height: 1.6; }

/* ---------- 搜索条 ---------- */
.md-bar { margin-top: 12px; background: #fff; border: 1px solid #e5e5e5; border-radius: 4px;
          padding: 10px 14px; display: flex; align-items: center; gap: 12px; }
.md-sb { flex: 1; display: flex; align-items: center; height: 38px; border: 1px solid #dcdfe6;
         border-radius: 3px; background: #fff; padding: 0 10px; }
.md-sb:focus-within { border-color: #d93a3f; }
.md-sb-i { width: 14px; height: 14px; border: 2px solid #b4b2a9; border-radius: 50%;
           position: relative; margin-right: 8px; flex: 0 0 14px; }
.md-sb-i:after { content: ""; position: absolute; right: -5px; bottom: -4px; width: 6px; height: 2px;
                 background: #b4b2a9; transform: rotate(45deg); }
.md-sb input { border: 0; outline: 0; flex: 1; font-size: 14px; font-family: inherit;
               color: #313131; background: transparent; }
.md-clr { border: 0; background: transparent; color: #b4b2a9; font-size: 18px; line-height: 1;
          cursor: pointer; display: none; padding: 0 2px; }
.md-hit { font-size: 12px; color: #868686; white-space: nowrap; }
.md-hit b { color: #d93a3f; font-weight: 600; }

/* ---------- 调解室筛选 ---------- */
.md-chips { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 10px; }
.md-chip { border: 1px solid #e5e5e5; background: #fafafa; color: #404040; border-radius: 14px;
           padding: 4px 12px; font-size: 12px; font-family: inherit; cursor: pointer; }
.md-chip i { font-style: normal; color: #a0a0a0; margin-left: 4px; }
.md-chip.on { background: #fdeeee; border-color: #d93a3f; color: #c62f34; font-weight: 600; }
.md-chip.on i { color: #c62f34; }

/* ---------- 分组卡片 ---------- */
.md-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; margin-top: 14px; }
.md-g { background: #fff; border: 1px solid #e5e5e5; border-radius: 4px; overflow: hidden; }
.md-g > summary { list-style: none; display: flex; align-items: baseline; justify-content: space-between;
                  gap: 8px; padding: 11px 14px; border-bottom: 1px solid #eee; background: #fcfcfc; cursor: pointer; }
.md-g > summary::-webkit-details-marker { display: none; }
.md-g > summary h3 { font-size: 15px; color: #d93a3f; font-weight: 700; border-left: 3px solid #d93a3f;
                     padding-left: 8px; line-height: 1.1; margin: 0; }
.md-g .md-n { font-size: 12px; color: #a0a0a0; font-weight: 400; }
.md-ar { display: none; width: 8px; height: 8px; border-right: 2px solid #b4b2a9;
         border-bottom: 2px solid #b4b2a9; transform: rotate(45deg); margin-left: auto; }
.md-rows { padding: 4px 0 8px; }
.md-row { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 6px 14px; }
.md-row + .md-row { border-top: 1px dashed #f0f0f0; }
.md-nm { font-size: 14px; color: #313131; }
.md-tel { font-family: Consolas, "Courier New", monospace; font-size: 13px; color: #404040; letter-spacing: .2px; }
a.md-tel:hover { color: #d93a3f; text-decoration: underline; }

/* ---------- 空态 ---------- */
.md-empty { display: none; background: #fff; border: 1px solid #e5e5e5; border-radius: 4px;
            padding: 40px 16px; text-align: center; color: #868686; margin-top: 14px; }

/* ---------- 响应式：平板两列 ---------- */
@media (max-width: 1080px) {
    .md-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

/* ---------- 响应式：手机（一列 + 可折叠） ---------- */
@media (max-width: 768px) {
    .md-wrap { font-size: 14px; }
    .md-bar { position: -webkit-sticky; position: sticky; top: 0; z-index: 5;
              border-radius: 0; border-left: 0; border-right: 0; }
    .md-chips { flex-wrap: nowrap; overflow-x: auto; -webkit-overflow-scrolling: touch; padding-bottom: 4px; }
    .md-chip { flex: 0 0 auto; }
    .md-grid { grid-template-columns: 1fr; gap: 0; margin-top: 8px; }
    .md-g { border-radius: 0; border-left: 0; border-right: 0; }
    .md-g > summary { padding: 13px 14px; }
    .md-g .md-ar { display: block; }
    .md-g[open] > summary { background: #fdf7f7; }
    .md-g[open] .md-ar { transform: rotate(-135deg); }
}
