/* ======================================================================
   m_default5 模板公共样式 (2026-10-23)
   现代化 + 手机响应式。本模板为老式 table 布局:
   桌面保留表格骨架做美化; ≤768 以 table/tr/td block 化解构为纵向流
   会议色变量(header.asp 输出): --mBg=m_bgcolor --mText=m_textcolor
   ====================================================================== */

/* ---------- 基础反制 ---------- */
html, body { min-width:0 !important; }
html { overflow-y:scroll; }
body { background:#f4f8f8 !important; }
a { color:#334455; text-decoration:none; }
a:hover { color:#0ca29e; }

/* ---------- banner 区 (header.asp 顶层表) ---------- */
body > div > table[align="center"] { width:100% !important; max-width:1200px; }
.STYLE11 { padding-left:24px !important; font-size:26px !important; line-height:1.4 !important; text-shadow:none !important; }
.STYLE12 { padding-left:24px !important; font-size:16px !important; text-shadow:none !important; opacity:.92; }
td img { max-width:100%; height:auto; }
body > div:first-of-type > table[align="center"] > tbody > tr > td { background:transparent !important; }   /* td 会议蓝退役: 否则 img 圆角四角露蓝 */
body > div:first-of-type > table[align="center"] > tbody > tr > td > img { width:100%; display:block; border-radius:12px; box-shadow:0 4px 14px rgba(13,80,78,.10); }   /* banner 跟满容器+圆角卡片 */
body > div:first-of-type .STYLE11, body > div:first-of-type .STYLE12 { color:var(--mText,#123c3a) !important; text-shadow:none !important; }   /* 无图文字标题分支: 白字改主题深色 */

/* ---------- 登录栏 (.jianbian): 紧凑居中一排 ---------- */
.jianbian { width:100% !important; max-width:1200px; margin:10px auto !important; background:#fff !important; background-image:none !important; border:1px solid #e3eded; border-radius:10px; box-shadow:0 4px 14px rgba(13,80,78,.06); box-sizing:border-box; }
.jianbian td { padding:10px 5px !important; }
.jianbian table[cellpadding="0"] { margin:0 auto !important; }   /* 内嵌控件表整排居中 */
.jianbian table[cellpadding="0"] td { white-space:nowrap; }   /* en 版标签 td 有 width=61 属性, 不加会竖排断字(User:/Password:) */
.jianbian input[type="text"], .jianbian input[type="password"] { width:150px !important; border:1px solid #dce8e7; border-radius:6px; height:32px; padding:2px 10px; font-size:13px; background:#fbfefd; box-sizing:border-box; }
.jianbian input[type="text"]:focus, .jianbian input[type="password"]:focus { border-color:var(--mBg,#0ca29e); outline:none; }
.jianbian img[data-src] { width:110px !important; height:26px !important; border:1px solid #d5e5e3; border-radius:5px; background:#eef6f5; }   /* 验证码懒加载占位可见化 */
.jianbian input[type="submit"], .jianbian input[type="reset"] { border:none; border-radius:6px; height:32px; padding:0 22px; font-size:13px; cursor:pointer; }
.jianbian input[type="submit"] { background:var(--mBg,#0ca29e); color:#fff !important; }
.jianbian input[type="reset"] { background:#eef8f8; color:#0a8b87 !important; border:1px solid #bfe2e0; }

/* ---------- index 主区 (大表: bgcolor+cellspacing=1 老格线技法 → 浅色格线圆角) ---------- */
body > div > table[bgcolor][cellspacing="1"] { background:#dfe9e8 !important; border-radius:10px; overflow:hidden; box-shadow:0 3px 10px rgba(13,80,78,.05); }
body > div > table[bgcolor][cellspacing="1"] td[width="210"][bgcolor] { background:#f7fbfb !important; }   /* 右栏单位列: 会议色底改浅底(空数据时整条蓝柱太突兀) */
table.top_top { background:#fff; border:1px solid #e3eded !important; border-radius:10px; box-shadow:0 3px 10px rgba(13,80,78,.05); overflow:hidden; margin:0 auto 12px; }
table.top_top td { padding-left:14px !important; padding-right:14px !important; }
.top_top td[bgcolor="#FFFFFF"] { background:#fff !important; }
.top_top a { color:#345; }
.top_top a:hover { color:#0ca29e; }
.top_top span { color:#666; font-size:12px; }

/* left 菜单按钮 (.button) 现代化 */
.button { border-radius:6px !important; text-shadow:none !important; box-shadow:none !important; font:600 13px/1 "Microsoft YaHei",sans-serif !important; padding:9px 12px !important; }

/* ---------- footer ----------
   必须限定 last-of-type: 主区大 table 同样带 bgcolor 属性,
   无限定时 td:first/last-child 会把左栏和整个主内容 td 藏掉(整区塌空事故) */
body > div:last-of-type table[bgcolor] { background-color:var(--mBg,#123c3a) !important; background-image:linear-gradient(rgba(0,0,0,.28),rgba(0,0,0,.28)) !important; }   /* footer 背景跟随会议色压深 */
body > div:last-of-type table[bgcolor] td { color:rgba(255,255,255,.78) !important; font-size:12.5px !important; }
body > div:last-of-type table[bgcolor] a { color:#fff !important; }
body > div:last-of-type table[bgcolor] a:hover { color:#fff !important; text-decoration:underline; }
body > div:last-of-type table[bgcolor] td:first-child, body > div:last-of-type table[bgcolor] td:last-child { display:none; }   /* 左右空白 td 退役 */

/* ---------- 主区大改造: 老渐变按钮/※标题※牌/图片更多 → 现代卡片语言 ---------- */
/* 三栏底色: 左栏白卡 / 中间白 / 右栏浅青灰(会议色蓝柱退役) */
body > div > table[bgcolor][cellspacing="1"] > tbody > tr > td { background:#fff; }
body > div > table[bgcolor][cellspacing="1"] > tbody > tr > td[width="210"]:not([bgcolor]) { background:#fff; border-radius:10px 0 0 10px; }
body > div > table[bgcolor][cellspacing="1"] td[width="210"][bgcolor] { background:#f7fbfb !important; border-radius:0 10px 10px 0; }
body > div > table[bgcolor][cellspacing="1"] td[width="210"][bgcolor] table[bgcolor="#ffffff"] { background:transparent !important; }   /* 右栏空单位表的塌缩白条退役 */

/* 左栏菜单: 铺满 td 的 bgcolor 大蓝块退役, 只留圆角按钮 */
body > div > table[bgcolor][cellspacing="1"] td[width="210"]:not([bgcolor]) td[bgcolor] { background:transparent !important; padding:5px 0 !important; height:auto !important; }

/* 菜单/单位按钮: 渐变立体老按钮 → 主题色扁平块 */
.button { background:var(--mBg,#0ca29e) !important; background-image:none !important; filter:none !important; color:#fff !important; text-shadow:none !important; border:none !important; border-radius:8px !important; box-shadow:0 2px 6px rgba(13,80,78,.14) !important; font:600 14px/1.3 "Microsoft YaHei",sans-serif !important; padding:11px 12px !important; display:block !important; width:100% !important; box-sizing:border-box; cursor:pointer; }
.button.white, .button:hover { filter:brightness(1.08) !important; }
.button.curBtn { filter:brightness(.82) !important; box-shadow:inset 0 0 0 2px rgba(255,255,255,.55) !important; }   /* 当前页菜单按钮定位(list 页 JS 加 curBtn) */

/* 单位分组标题(disabled 按钮): 全宽蓝块 → 紧凑圆角胶囊标签(两侧留白) */
button.button[disabled] { display:inline-block !important; width:auto !important; margin:2px 8px 10px; padding:8px 20px !important; border-radius:16px !important; font-size:13px !important; letter-spacing:1px; cursor:default; }

/* 语言切换 (left*.asp .m5Lang): 旗子图 → 文字胶囊 */
.m5Lang { display:inline-flex; align-items:center; height:26px; padding:0 13px; margin:0 6px 8px 0; border:1px solid #dce8e7; border-radius:13px; background:#fff; box-shadow:0 1px 4px rgba(13,80,78,.08); font-size:12.5px; color:#345 !important; text-decoration:none; }
.m5Lang:hover { background:var(--mBg,#0ca29e); border-color:var(--mBg,#0ca29e); color:#fff !important; text-decoration:none; }

/* 新闻列表行: td height=22 挤行 → 透气行距 + 日期弱化 */
table.top_top table td[style*="dotted"] { height:auto !important; padding:9px 2px !important; font-size:14px; vertical-align:middle; }
table.top_top td[style*="dotted"] span { color:#9ab0ae !important; font-size:12px; margin-left:8px; }
table.top_top td img[src*="arrows2"] { vertical-align:-3px; margin-right:7px; }

/* ※标题※ 老牌子(table dotted 边框 + bgcolor td) → 色条现代标题(※ 装饰符已从 ASP 移除) */
table[style*="dotted"] { border:0 !important; background:none !important; }
table[style*="dotted"] td { background:none !important; border:0 !important; border-left:4px solid var(--mBg,#0ca29e) !important; border-radius:2px; padding:5px 0 5px 12px !important; font:700 17px/1.5 "Microsoft YaHei",sans-serif !important; color:#123c3a !important; text-align:left !important; letter-spacing:.5px; }

/* "更多"图片按钮 → 文字 (href^= 前缀匹配: 分页链接 javascript:fenyeSubmit('/meeting/mlist.asp..') 含 mlist 子串, 用 *= 会误伤分页) */
a[href^="mlist.asp"] img { display:none; }
a[href^="mlist.asp"]::after { content:"更多 \00BB"; font-size:13px; color:var(--mBg,#0ca29e); }

/* 单位表老描边(.tb5 会议色边框) → 浅灰 */
.tb5, .tb5 td { border-color:#e3eded !important; border-radius:6px; }

/* 图片横向滚动区跟满栏宽 */
#butong_net_left { width:100% !important; }

/* ---------- 手机汉堡导航条 (header.asp, 桌面隐藏) ---------- */
.m5Nav { display:none; }

/* ---------- 手机 (≤768): 表格解构为纵向流 ---------- */
@media (max-width:768px) {
  body table { width:100% !important; max-width:100% !important; }
  /* HTML height 属性(简介/新闻表 height="81")在 block 化后变成精确高度,
     配 overflow:hidden 把内容剪掉 → 全量重置 */
  body table { height:auto !important; }
  body table, body tbody, body tr, body td, body th { display:block; box-sizing:border-box; }
  body tr, body td { width:auto !important; height:auto !important; }
  body td { padding:6px 8px !important; }
  /* 汉堡条: banner 下方一条, 点击展开/收起左栏菜单 */
  .m5Nav { display:flex; align-items:center; gap:10px; width:100% !important; max-width:1200px; margin:10px auto 0; padding:12px 16px; box-sizing:border-box; background:#fff; border:1px solid #e3eded; border-radius:10px; box-shadow:0 4px 14px rgba(13,80,78,.06); font:600 15px/1 "Microsoft YaHei",sans-serif; color:#123c3a; cursor:pointer; -webkit-tap-highlight-color:transparent; }
  .m5Nav i { display:inline-block; width:20px; height:2px; background:var(--mBg,#0ca29e); border-radius:2px; box-shadow:0 -6px 0 var(--mBg,#0ca29e), 0 6px 0 var(--mBg,#0ca29e); flex-shrink:0; }
  body.m5navopen .m5Nav { background:#eef8f8; }
  /* 左栏菜单默认收起; 点汉堡以覆盖层展开(absolute 盖住登录框), top 由 m5NavToggle 按汉堡条底边定位 */
  td[width="210"]:not([bgcolor]) { display:none !important; }
  body.m5navopen td[width="210"]:not([bgcolor]) { display:block !important; position:absolute; left:8px; right:8px; top:0; z-index:99; background:#fff; border:1px solid #e3eded; border-radius:10px; box-shadow:0 12px 28px rgba(13,80,78,.20); padding:8px 10px !important; }
  /* banner 标题在手机上的老缩进已由基础段归 24px */
  .STYLE11 { font-size:20px !important; padding-left:12px !important; }
  .STYLE12 { font-size:14px !important; padding-left:12px !important; }
  /* 登录栏: 8 个 td 全宽堆叠占屏太多 → grid 两列紧凑(标签|输入), 按钮行并排 */
  .jianbian td { padding:0 !important; text-align:left !important; }
  .jianbian table[cellpadding="0"] { display:grid !important; grid-template-columns:auto 1fr; gap:9px 10px; align-items:center; width:auto !important; margin:0 !important; }
  /* tbody/tr 都不生成盒子(display:contents), 8 个 td 直接成为 grid item 两列排布 */
  .jianbian table[cellpadding="0"] tbody, .jianbian table[cellpadding="0"] tr { display:contents !important; }
  .jianbian table[cellpadding="0"] td { display:block !important; width:auto !important; }
  .jianbian input[type="text"], .jianbian input[type="password"] { width:100% !important; margin:0; }
  .jianbian input[type="submit"], .jianbian input[type="reset"] { width:100% !important; margin:0; }
  .jianbian table[cellpadding="0"] td:nth-child(7) { grid-column:1; }
  .jianbian table[cellpadding="0"] td:nth-child(8) { grid-column:2; }
  /* 验证码格: flex 保证输入框与验证码图同行 */
  .jianbian table[cellpadding="0"] td:nth-child(6) { display:flex !important; align-items:center; gap:8px; }
  .jianbian table[cellpadding="0"] td:nth-child(6) input[type="text"] { width:auto !important; flex:1 1 auto; min-width:0; }
  /* 新闻日期与标题留缝 */
  table.top_top td span { margin-left:4px; }
  /* 新闻/更多嵌套小表恢复 table 布局: block 化让箭头图标悬空独占一行、标题日期折行 */
  table.top_top table { display:table !important; width:100% !important; }
  table.top_top table tr { display:table-row !important; }
  table.top_top table td { display:table-cell !important; width:auto !important; padding:9px 0 !important; vertical-align:middle; }
  table.top_top td img[src*="arrows2"] { vertical-align:-3px; margin-right:7px; }
  table.top_top td img[src*="news"] { vertical-align:-2px; margin-left:4px; }
  /* 内容表卡片化 */
  table.top_top { margin:8px 0; }
  /* 图片滚动区防溢出 */
  td img { max-width:100% !important; }
  /* 汉堡面板内菜单: 全宽大蓝块 → 两列紧凑小钮(td 蓝底/挤垫一并退役) */
  body.m5navopen td[width="210"]:not([bgcolor]) { display:grid !important; grid-template-columns:1fr 1fr; gap:8px; align-items:start; }
  body.m5navopen td[width="210"] table, body.m5navopen td[width="210"] tbody, body.m5navopen td[width="210"] tr { display:contents !important; }
  body.m5navopen td[width="210"] td[bgcolor] { background:transparent !important; padding:0 !important; height:auto !important; }
  body.m5navopen td[width="210"] .button { padding:9px 6px !important; font-size:13px !important; }
  body.m5navopen td[width="210"] > span { grid-column:1 / -1; }   /* 语言胶囊行通栏 */
  body.m5navopen td[width="210"] > br, body.m5navopen td[width="210"] > div { display:none !important; }   /* BR 幽灵格 + 简介 div(width:200px 撑爆列宽) */
  body.m5navopen td[width="210"] td:not(:has(.button)) { display:none !important; }   /* 空 td 占格剔除 */
}
