/* ============================================================
   资质自查工具页专属样式（叠加在 style.css 之上）
   配色沿用站点：主 #0b3d91 / 辅 #1668dc / 强调 #f5a623
   ============================================================ */

/* 页顶双入口切换 */
.qlt_tabs { width: 1200px; margin: 24px auto 0; display: flex; gap: 12px; }
.qlt_tabs a {
  flex: 1; text-align: center; height: 52px; line-height: 52px;
  background: #f2f6fc; border: 1px solid #d7e5f8; color: #4a5568; font-size: 16px; letter-spacing: 1px;
  border-radius: 4px 4px 0 0; border-bottom: 0; font-weight: bold;
}
.qlt_tabs a:hover { color: #1668dc; }
.qlt_tabs a.on { background: linear-gradient(90deg, #0b3d91, #1668dc); color: #fff; }

/* 工具主容器 */
.qlt_wrap { width: 1200px; margin: 0 auto 50px; border: 1px solid #e9edf3; border-top: 2px solid #1668dc; padding: 26px 28px; background: #fff; }

/* 模块卡片 */
.qlt_card { border: 1px solid #e4e8ee; margin-bottom: 26px; }
.qlt_card_head { background: #f2f6fc; border-left: 4px solid #1668dc; padding: 12px 18px; display: flex; align-items: baseline; gap: 12px; }
.qlt_card_head h2 { font-size: 17px; color: #0b3d91; letter-spacing: 1px; }
.qlt_card_head .qc_sub { font-size: 12px; color: #8a94a6; }
.qlt_card_body { padding: 18px; }

/* 表单 */
.qlt_grid { display: flex; flex-wrap: wrap; gap: 14px 18px; }
.qlt_field { width: 212px; }
.qlt_field.wide { width: 440px; }
.qlt_field label { display: block; font-size: 13px; color: #5a6a85; margin-bottom: 6px; }
.qlt_field label em { font-style: normal; color: #d0021b; margin-left: 2px; }
.qlt_field input, .qlt_field select {
  width: 100%; height: 36px; border: 1px solid #d9dee6; border-radius: 3px; padding: 0 10px;
  font-size: 13px; color: #333; font-family: inherit; outline: none; background: #fff;
}
.qlt_field input:focus, .qlt_field select:focus { border-color: #1668dc; }
.qlt_field .f_hint { font-size: 12px; color: #9aa5b5; margin-top: 4px; line-height: 18px; }
.qlt_group { width: 100%; border-top: 1px dashed #e4e8ee; padding-top: 14px; margin-top: 4px; }
.qlt_group h3 { font-size: 14px; color: #0b3d91; margin-bottom: 10px; }
.qlt_group h3::before { content: "▎"; color: #1668dc; margin-right: 4px; }
.qlt_checks { display: flex; flex-wrap: wrap; gap: 10px 26px; padding: 4px 2px; }
.qlt_checks label { display: flex; align-items: center; gap: 6px; font-size: 13px; color: #4a5568; cursor: pointer; }
.qlt_checks input { width: 15px; height: 15px; accent-color: #1668dc; }

/* 按钮 */
.qlt_btns { margin-top: 18px; display: flex; gap: 12px; align-items: center; }
.qlt_btn {
  display: inline-block; height: 42px; line-height: 42px; padding: 0 34px; border: 0; cursor: pointer;
  background: #f5a623; color: #fff; font-size: 15px; letter-spacing: 2px; border-radius: 3px; font-family: inherit;
}
.qlt_btn:hover { background: #ff9800; }
.qlt_btn_plain {
  display: inline-block; height: 42px; line-height: 40px; padding: 0 26px; cursor: pointer;
  background: #fff; border: 1px solid #c8d4e6; color: #5a6a85; font-size: 14px; border-radius: 3px; font-family: inherit;
}
.qlt_btn_plain:hover { border-color: #1668dc; color: #1668dc; }

/* 结果区 */
.qlt_result { margin-top: 20px; display: none; }
.qlt_result.show { display: block; }
.qlt_verdict { padding: 16px 20px; border-radius: 4px; color: #fff; display: flex; align-items: center; gap: 14px; flex-wrap: wrap; }
.qlt_verdict .qv_tag { font-size: 20px; font-weight: bold; letter-spacing: 2px; }
.qlt_verdict .qv_txt { font-size: 13px; line-height: 22px; opacity: .95; }
.qlt_verdict.v_pass { background: linear-gradient(90deg, #1e9e57, #27b567); }
.qlt_verdict.v_near { background: linear-gradient(90deg, #e8820c, #f5a623); }
.qlt_verdict.v_fail { background: linear-gradient(90deg, #c0392b, #e74c3c); }

.qlt_items { margin-top: 14px; border: 1px solid #e9edf3; }
.qlt_item { display: flex; align-items: flex-start; gap: 12px; padding: 11px 16px; border-bottom: 1px solid #eef1f6; }
.qlt_item:last-child { border-bottom: 0; }
.qlt_item .qi_icon { flex-shrink: 0; width: 22px; height: 22px; line-height: 22px; text-align: center; border-radius: 50%; color: #fff; font-size: 13px; margin-top: 2px; font-weight: bold; }
.qlt_item.i_ok .qi_icon { background: #27b567; }
.qlt_item.i_fail .qi_icon { background: #e74c3c; }
.qlt_item.i_warn .qi_icon { background: #f5a623; }
.qlt_item .qi_name { flex-shrink: 0; width: 200px; font-size: 14px; color: #333; font-weight: bold; line-height: 24px; }
.qlt_item .qi_body { flex: 1; }
.qlt_item .qi_detail { display: block; font-size: 13px; line-height: 22px; color: #4a5568; }
.qlt_item.i_fail .qi_detail { color: #c0392b; }
.qlt_item .qi_basis { font-size: 12px; color: #9aa5b5; margin-top: 3px; }
.qlt_item:hover { background: #fafbfd; }

.qlt_gapbox { margin-top: 14px; background: #fff8ef; border: 1px solid #f5d9a8; padding: 12px 16px; font-size: 13px; color: #8a5a12; line-height: 24px; }
.qlt_gapbox b { color: #c0392b; }

/* 说明/提示条 */
.qlt_note { background: #f7f9fc; border-left: 3px solid #1668dc; padding: 12px 16px; font-size: 13px; color: #5a6a85; line-height: 24px; margin-top: 16px; }
.qlt_note.warn { border-left-color: #f5a623; background: #fff8ef; }

/* 官方查询入口 */
.qlt_links { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 4px; }
.qlt_link_card { width: 560px; border: 1px solid #e4e8ee; padding: 14px 16px; }
.qlt_link_card h4 { font-size: 14px; color: #0b3d91; margin-bottom: 6px; }
.qlt_link_card h4::before { content: "🔗"; margin-right: 6px; font-size: 12px; }
.qlt_link_card p { font-size: 12px; color: #8a94a6; line-height: 20px; margin-bottom: 10px; }
.qlt_link_card .lc_row { display: flex; gap: 8px; }
.qlt_link_card input { flex: 1; height: 34px; border: 1px solid #d9dee6; border-radius: 3px; padding: 0 10px; font-size: 13px; outline: none; }
.qlt_link_card input:focus { border-color: #1668dc; }
.qlt_link_card a.lc_go {
  display: inline-block; height: 34px; line-height: 34px; padding: 0 16px; background: #1668dc; color: #fff !important;
  border-radius: 3px; font-size: 13px; white-space: nowrap;
}
.qlt_link_card a.lc_go:hover { background: #0b3d91; }
.qlt_link_card a.lc_go.plain { background: #5a6a85; }

/* 免责声明 */
.qlt_disclaimer { margin-top: 6px; padding: 14px 16px; border: 1px dashed #d9dee6; font-size: 12px; color: #9aa5b5; line-height: 22px; }

/* 页内结果小表格（学时） */
.qlt_mini_rows { margin-top: 12px; border: 1px solid #e9edf3; }
.qlt_mini_rows .qm_row { display: flex; align-items: center; padding: 10px 16px; border-bottom: 1px solid #eef1f6; font-size: 13px; }
.qlt_mini_rows .qm_row:last-child { border-bottom: 0; }
.qlt_mini_rows .qm_name { width: 220px; color: #333; font-weight: bold; }
.qlt_mini_rows .qm_val { flex: 1; color: #4a5568; }
.qlt_mini_rows .qm_state { width: 70px; text-align: right; font-weight: bold; }
.qlt_mini_rows .qm_state.ok { color: #27b567; }
.qlt_mini_rows .qm_state.bad { color: #e74c3c; }

/* 响应式 */
@media (max-width: 1240px) {
  .qlt_tabs, .qlt_wrap { width: auto; margin-left: 16px; margin-right: 16px; }
  .qlt_field, .qlt_link_card { width: calc(50% - 12px); min-width: 240px; }
  .qlt_field.wide { width: 100%; }
}
@media (max-width: 720px) {
  .qlt_tabs { flex-direction: column; }
  .qlt_field, .qlt_link_card { width: 100%; }
  .qlt_card_body { padding: 12px; }
  .qlt_card_head { display: block; }
  .qlt_card_head .qc_sub { display: block; margin-top: 4px; line-height: 18px; }
  .qlt_item { flex-wrap: wrap; }
  .qlt_item .qi_name { width: auto; flex: 1; }
  .qlt_btns { flex-wrap: wrap; }
}
