@charset "UTF-8";
/* QingYing Viewport Adapt v1 | 2026-11-22
   全站统一屏幕适配层：只调清晰度、层级、间距、密度与可视区，不改任何业务字段、
   事件、权限，也不改品牌配色。覆盖 hnmy.top 下评标系统、主站、档案、台帐与工具页。
   加载顺序：必须放在各服务基础 CSS 之后。 */
:root{
  --qy-top-h:36px;
  --qy-flow-h:30px;
  --qy-side-w:118px;
}
html{-webkit-text-size-adjust:100%;text-size-adjust:100%}
body{text-rendering:optimizeLegibility;-webkit-font-smoothing:antialiased}
input,select,textarea,button{font-family:inherit}

/* ============ 1. 笔记本通用（13/16 吋，≤1600px 或 ≤900px 高） ============ */
@media screen and (max-width:1600px), screen and (max-height:900px){
  /* 全站表格：行高收紧但不缩到难以辨认；颜色/斑马纹沿用原样式 */
  .ep-tbl,.cs-tbl,.c-tbl,.hall-tbl,.mk-etable,.mk-gtable{
    font-size:15px!important;line-height:1.3!important
  }
  .ep-tbl th,.ep-tbl td,.cs-tbl th,.cs-tbl td,.c-tbl th,.c-tbl td,
  .hall-tbl th,.hall-tbl td,.mk-etable th,.mk-etable td,.mk-gtable th,.mk-gtable td{
    padding:2px 5px!important;line-height:1.3!important
  }
  .ep-tbl .ep-btn-sm,.cs-tbl .ep-btn-sm,.ep-review-cell .ep-btn-sm{
    font-size:13.5px!important;padding:2px 5px!important;line-height:1.25!important
  }
  .ep-review-cell>div{margin-bottom:2px!important}
  .ep-review-cell>div:last-child{margin-top:2px!important}
  .ep-review-cell .ep-input{
    font-size:14px!important;padding:2px 3px!important;height:22px!important;line-height:1.2!important
  }
  /* 资格/形式/响应表：首列说明与“一键全部通过”同行，避免每行多占一行 */
  .ep-tbl td:nth-child(2) .ep-tip{display:inline!important;vertical-align:middle!important;max-width:calc(100% - 96px)}
  .ep-tbl td:nth-child(2) .ep-row-acts{display:inline-flex!important;vertical-align:middle!important;margin:0 0 0 6px!important;gap:3px!important}
  .ep-tbl td:nth-child(2) .ep-row-acts .ep-btn{height:22px!important;line-height:1.1!important;padding:2px 5px!important;font-size:12.5px!important}
  .ep-tbl td:nth-child(2) .ep-row-acts a,.ep-tbl td:nth-child(2) .ep-row-acts span{font-size:12px!important;line-height:1.2!important}
  .ep-status{font-size:13.5px!important;padding:1px 6px!important}
  .ep-panel-h{font-size:15.5px!important;padding:3px 8px!important}
  .ep-panel-h .cap{font-size:13.5px!important}
  .ep-panel-b{padding:4px 8px!important}
  .ep-panel{margin-bottom:4px!important}
  /* 表单密度：输入框不缩窄，只减高度；保持可点区域 */
  input.ep-input,select.ep-input,textarea.ep-input{
    font-size:14.5px!important;padding:3px 6px!important
  }
}

/* ============ 2. 评委端 Epoint 框架：13 吋一屏优先级 ============ */
@media screen and (max-width:1500px), screen and (max-height:860px){
  :root{--qy-top-h:44px;--qy-flow-h:30px;--qy-side-w:118px}
  /* 顶栏一行：隐藏重复的“标段名称”，项目名已由现进行项目徽章显示；功能链接全部保留 */
  .epx-top.ep-top{
    height:var(--qy-top-h)!important;min-height:var(--qy-top-h)!important;
    flex-wrap:nowrap!important;padding:0 8px!important;gap:5px!important;overflow:hidden!important
  }
  .epx-top .epx-logo{font-size:18px!important;margin-right:4px!important}
  .epx-top .epx-sys{font-size:14.5px!important;padding-left:5px!important;white-space:nowrap!important}
  .epx-top .epx-project{display:none!important}
  .epx-top .epx-links{flex-wrap:nowrap!important;gap:0!important;margin-left:auto!important}
  .epx-top .epx-links a{font-size:13.5px!important;padding:0 5px!important;white-space:nowrap!important}
  .epx-top .epx-user{gap:4px!important;margin-left:6px!important;padding-left:6px!important;font-size:13.5px!important;flex-wrap:nowrap!important;white-space:nowrap!important}
  .epx-top .epx-user small{font-size:11.5px!important;line-height:1.1!important}
  .fes-curproj{font-size:13.5px!important;padding:2px 8px!important;max-width:220px;overflow:hidden;text-overflow:ellipsis}
  /* 左侧导航随变量收窄；流程条与正文偏移同步 */
  .epx-flowbar{
    top:var(--qy-top-h)!important;height:var(--qy-flow-h)!important;
    padding-left:calc(var(--qy-side-w) + 8px)!important;gap:4px!important
  }
  .epx-flow{flex:0 1 132px!important;height:25px!important;font-size:14px!important}
  .epx-flowsub{font-size:13.5px!important}
  .epx-side{top:calc(var(--qy-top-h) + var(--qy-flow-h))!important;width:var(--qy-side-w)!important;padding:4px 0!important}
  .epx-side a{font-size:14px!important;padding:4px 6px 4px 8px!important;line-height:1.25!important}
  .epx-subtree a{font-size:13px!important;padding:2px 6px 2px 18px!important}
  .epx-legend{width:var(--qy-side-w)!important;font-size:13.5px!important}
  .epx-shell .ep-wrap-expert{
    margin-left:var(--qy-side-w)!important;
    padding-top:calc(var(--qy-top-h) + var(--qy-flow-h) + 4px)!important;
    padding-right:8px!important;padding-bottom:44px!important
  }
  .epx-shell .ep-back-btn{left:calc(var(--qy-side-w) + 8px)!important}
  /* 评审节点条与步骤标签：只保留关键信息，去掉重复说明 */
  .ep-nodebar{padding:4px 8px!important;margin-bottom:4px!important;font-size:14px!important;gap:6px!important}
  .ep-nodebar b{font-size:15px!important}
  .ep-tabs{padding:2px 4px!important;margin-bottom:4px!important;gap:3px!important;flex-wrap:nowrap!important;overflow:hidden!important}
  .ep-tabs .ep-tab{font-size:14px!important;padding:2px 6px!important;white-space:nowrap!important}
  .ep-tabs>span[style*="margin-left:auto"]{display:none!important}
  /* 会商面板：压缩为空中状态 + 一行名册；错误提示仍保留 */
  .avv .ep-panel-h{padding:2px 8px!important;min-height:20px!important;font-size:14.5px!important}
  .avv .ep-panel-b{padding:3px 8px!important}
  .avv .avv-bar{margin-bottom:2px!important;gap:5px!important}
  .avv .avv-hint:not(.err){display:none!important}
  .avv .avv-hint.err{font-size:13px!important;padding:2px 7px!important;margin:0 0 2px!important;line-height:1.3!important}
  .avv .avv-roster{gap:3px!important;margin-bottom:0!important}
  .avv .avv-p{padding:0 6px 0 3px!important}
  .avv .avv-av{width:17px!important;height:17px!important;flex-basis:17px!important;font-size:9px!important}
  .avv .avv-p b{font-size:12px!important}
  .avv .avv-role{font-size:11px!important}
  .avv .avv-list{height:58px!important;padding:4px 8px!important}
  .avv .avv-msg{font-size:14px!important;line-height:1.4!important;margin-bottom:3px!important}
  .avv .avv-form{padding:3px 5px!important}
  .avv .avv-form input{font-size:14px!important;padding:3px 6px!important}
  /* 底栏一行常驻：隐藏长法规说明，保留进度/未评数/递交/下一步/退回 */
  .ep-segbar{
    flex-wrap:nowrap!important;gap:5px!important;padding:3px 8px!important;
    font-size:13.5px!important;overflow:hidden!important;min-height:34px!important;
    line-height:1.25!important;align-items:center!important
  }
  .ep-segbar>*{flex:0 0 auto!important;max-height:26px!important;line-height:1.25!important}
  .ep-segbar .ep-btn-sm{height:24px!important;line-height:1.1!important}
  .ep-segbar .ep-btn-sm{font-size:13px!important;padding:2px 6px!important}
  .ep-segbar .ep-lock-note{display:none!important}
  .ep-segbar .ep-lock-count{font-size:13px!important;white-space:nowrap!important}
  body.ep-has-segbar{padding-bottom:40px!important}
  /* 打分表：列头与输入更紧凑，保留完整表头文字 */
  .ep-score td input,.epx-shell input.ep-score-in{
    width:46px!important;padding:2px 3px!important;font-size:14px!important;height:22px!important
  }
  .ep-score-bar{padding:2px 0 3px!important}
}

/* ============ 3. 更窄屏（≤1180px）：沿用堆叠，但收紧间距 ============ */
@media screen and (max-width:1180px){
  .epx-flowbar{position:static!important;top:auto!important;margin-bottom:4px!important}
  .epx-shell .ep-wrap-expert{padding-top:4px!important}
  .epx-top.ep-top{flex-wrap:wrap!important;height:auto!important;min-height:40px!important;overflow:visible!important}
  .epx-top .epx-links{margin-left:0!important;flex-wrap:wrap!important}
  .epx-top .epx-user{margin-left:auto!important}
  .ep-tabs{flex-wrap:wrap!important;overflow:visible!important}
}

/* ============ 4. 大屏/台式机（≥1700px 且 ≥950px）：保持原密度，略增留白 ============ */
@media screen and (min-width:1700px) and (min-height:950px){
  .epx-shell .ep-wrap-expert{padding-left:16px!important;padding-right:16px!important}
  .ep-panel{margin-bottom:6px!important}
  .ep-tbl th,.ep-tbl td{padding:4px 8px!important}
  .avv .avv-list{height:96px!important}
}

/* ============ 5. 主站/后台/档案/台帐通用微调（不改配色） ============ */
@media screen and (max-width:1500px), screen and (max-height:860px){
  .admin .sidebar{width:188px!important}
  .admin .main{margin-left:188px!important}
  .admin table th,.admin table td{padding:5px 7px!important;font-size:14px!important}
  .admin .btn,.epx-shell .ep-btn{font-size:14px!important;padding:3px 8px!important}
}

/* ============ 6. 评委详细评审：磋商/谈判交流区只保留一屏可用高度 ============ */
@media screen and (max-width:1600px), screen and (max-height:900px){
  /* 长规则说明放在标题 title/full page，小屏不再占两行；流程与权限口径不变 */
  #negoPanel .ep-panel-h .cap{display:none!important}
  #negoPanel div[style*="width:240px"]{width:176px!important;flex:0 0 176px!important}
  #negoList{max-height:120px!important}
  #negoMsgs{height:112px!important;padding:4px 6px!important}
  #negoTitle{font-size:14px!important;margin-bottom:2px!important}
  #negoInput{font-size:14px!important;padding:2px 6px!important;height:22px!important}
  #negoPanel .ep-sec-h{font-size:14px!important;margin-bottom:2px!important}
  #negoPanel .ep-lock{display:none!important}
  #negoPanel .nego-item{padding:3px 5px!important;font-size:13.5px!important}
}

@media print{
  .ep-segbar,.ep-nodebar,.avv,.epx-flowbar,.epx-side,.epx-top{display:none!important}
  .epx-shell .ep-wrap-expert{margin-left:0!important;padding-top:0!important}
}

/* ============ 7. 边界清影 v2（2026-11-30）：只收紧 padding/margin/gap，字号一律不变 ============ */
/* 顶栏 / 页头 / 导航 */
.topbar .inner{height:30px;padding:0 12px}
.header-main{padding:10px 12px;gap:16px}
.main-nav{height:40px;padding:0 12px}
/* 内容容器与栅格 */
.portal-container{padding:12px 12px}
.portal-grid{gap:10px}
.page-main{padding:12px 12px}
.page-card{padding:16px}
/* 卡片 */
.card{margin-bottom:10px}
.card-head{padding:8px 12px}
.card-body{padding:10px 12px}
.section-title{margin:0 0 10px}
/* 首页横幅与特写 */
.hero-banner{padding:16px 0 34px}
.hero-banner .inner{gap:20px}
.hot-tags{gap:6px}
.featured{padding:10px;margin-bottom:10px}
.portal-banner{height:140px;margin-bottom:10px}
/* 列表 / 详情 */
.announce-list .item{gap:10px;padding:8px 0}
.tab-head{margin-bottom:8px}
.page-search{gap:8px;margin-bottom:12px}
.page-search .btn{padding:6px 16px}
.detail-content p{margin:0 0 8px}
.detail-content td,.detail-content th{padding:5px 8px}
.page-card table td,.page-card table th{padding:5px 8px}
.attach-box{margin-top:14px;padding:10px}
.attach-list li{margin-bottom:5px}
.ann-summary{margin:8px 0 4px;padding:8px 10px}
.pagination{gap:6px;margin-top:12px}
/* 支付 / 工具 */
.pay-box{margin:10px 0;padding:10px 12px}
.pay-list{gap:8px}
.pay-item{padding:7px 10px}
.pm-name{margin-bottom:4px}
.tools-list{gap:6px}
.tools-list .tool-item{gap:8px;padding:6px 6px}
/* 页脚 */
.site-footer{margin-top:16px}
.footer-main{padding:20px 12px 14px;gap:18px}
.footer-brand{margin-bottom:8px}
.footer-bottom{padding:10px}
