/* ============ 臻泓一体化工作平台 全局样式 ============ */
:root {
  --navy-900: #081F38;
  --navy-800: #0B2A4A;
  --navy-700: #10395F;
  --navy-600: #14497A;
  --navy-100: #E8F0F8;
  --gold-500: #C9A15A;
  --gold-400: #D9B678;
  --gold-300: #E8CFA0;
  --ink: #1E2A38;
  --ink-2: #4A5A6A;
  --ink-3: #8695A5;
  --line: #E3E9F0;
  --bg: #F4F7FA;
  --card: #FFFFFF;
  --red: #D64541;
  --green: #2E9E6B;
  --blue: #2F6FB2;
  --orange: #E69138;
  --radius: 10px;
  --shadow: 0 2px 12px rgba(11, 42, 74, .08);
  --shadow-lg: 0 8px 28px rgba(8, 31, 56, .16);
}
* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  font-family: "PingFang SC", "Microsoft YaHei", "Segoe UI", Arial, sans-serif;
  color: var(--ink);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { text-decoration: none; color: inherit; }
button { font-family: inherit; cursor: pointer; }
input, select, textarea { font-family: inherit; font-size: 14px; }
::selection { background: var(--gold-300); }

.view { display: none; }
.view.active { display: block; }

/* ============ 通用组件 ============ */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 6px;
  padding: 10px 22px; border-radius: 6px; border: 1px solid transparent;
  font-size: 14px; font-weight: 600; transition: all .2s;
}
.btn-gold { background: linear-gradient(135deg, var(--gold-500), var(--gold-400)); color: #fff; box-shadow: 0 3px 10px rgba(201,161,90,.35); }
.btn-gold:hover { filter: brightness(1.06); transform: translateY(-1px); }
.btn-navy { background: var(--navy-700); color: #fff; }
.btn-navy:hover { background: var(--navy-600); }
.btn-ghost { background: transparent; color: #fff; border-color: rgba(255,255,255,.55); }
.btn-ghost:hover { background: rgba(255,255,255,.12); }
.btn-line { background: #fff; color: var(--navy-700); border-color: var(--navy-600); }
.btn-line:hover { background: var(--navy-100); }
.btn-sm { padding: 6px 14px; font-size: 13px; }
.btn-xs { padding: 3px 10px; font-size: 12px; border-radius: 4px; }

.tag { display: inline-block; padding: 3px 10px; border-radius: 20px; font-size: 12px; font-weight: 600; }
.tag-blue { background: var(--navy-100); color: var(--navy-600); }
.tag-gold { background: #FBF3E3; color: #A07A2E; }
.tag-green { background: #E5F5EC; color: var(--green); }
.tag-red { background: #FCEAE9; color: var(--red); }
.tag-orange { background: #FDF1E1; color: var(--orange); }
.tag-gray { background: #EEF1F4; color: var(--ink-3); }

.section { padding: 72px 0; }
.section.alt { background: #fff; }
.container { max-width: 1200px; margin: 0 auto; padding: 0 24px; }
.sec-head { text-align: center; margin-bottom: 42px; }
.sec-head .cn-title { font-size: 30px; font-weight: 700; color: var(--navy-800); letter-spacing: 2px; }
.sec-head .en-sub { margin-top: 8px; font-size: 13px; letter-spacing: 4px; color: var(--gold-500); text-transform: uppercase; }
.sec-head .divider { width: 56px; height: 3px; background: linear-gradient(90deg, var(--gold-500), var(--gold-300)); margin: 16px auto 0; border-radius: 2px; }
.sec-head.left { text-align: left; }
.sec-head.left .divider { margin-left: 0; }

.card { background: var(--card); border-radius: var(--radius); box-shadow: var(--shadow); }

/* ============ 官网导航 ============ */
.site-nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  background: rgba(8, 31, 56, .92); backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(201,161,90,.25);
}
.site-nav .nav-inner { max-width: 1280px; margin: 0 auto; padding: 0 24px; height: 64px; display: flex; align-items: center; gap: 28px; }
.brand { display: flex; align-items: center; gap: 10px; color: #fff; }
.brand .logo-box {
  width: 38px; height: 38px; border-radius: 8px;
  display: flex; align-items: center; justify-content: center;
}
.logo-img { width: 100%; height: 100%; object-fit: contain; display: block; }
.brand .name { font-size: 17px; font-weight: 700; letter-spacing: 1px; }
.brand .name small { display: block; font-size: 9px; letter-spacing: 1.5px; color: var(--gold-400); font-weight: 500; }
.nav-links { display: flex; gap: 2px; flex: 1; }
.nav-links a { color: rgba(255,255,255,.85); font-size: 14px; padding: 8px 12px; border-radius: 6px; transition: .2s; }
.nav-links a:hover, .nav-links a.on { color: var(--gold-400); background: rgba(255,255,255,.07); }
.nav-auth { display: flex; gap: 10px; }
.nav-auth .btn { padding: 8px 18px; font-size: 13px; }

/* ============ Hero ============ */
.hero {
  position: relative; min-height: 92vh; display: flex; flex-direction: column; justify-content: center;
  color: #fff; overflow: hidden; padding-top: 64px;
}
.hero .bg { position: absolute; inset: 0; background: url('../images/hero-port.jpg') center/cover no-repeat; }
.hero .bg::after { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(8,31,56,.72), rgba(8,31,56,.5) 45%, rgba(8,31,56,.88)); }
.hero .inner { position: relative; max-width: 1200px; margin: 0 auto; padding: 60px 24px; width: 100%; }
.hero .slogan { font-size: 52px; font-weight: 800; letter-spacing: 6px; text-shadow: 0 4px 24px rgba(0,0,0,.4); }
.hero .slogan em { font-style: normal; color: var(--gold-400); }
.hero .sub { margin-top: 18px; font-size: 17px; color: rgba(255,255,255,.85); letter-spacing: 2px; max-width: 720px; line-height: 1.8; }
.hero .cta { margin-top: 34px; display: flex; gap: 14px; }
.stat-strip { position: relative; margin-top: 64px; display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.stat-item {
  background: rgba(255,255,255,.08); border: 1px solid rgba(201,161,90,.35);
  border-radius: var(--radius); padding: 22px 20px; backdrop-filter: blur(6px);
}
.stat-item .num { font-size: 30px; font-weight: 800; color: var(--gold-400); }
.stat-item .num span { font-size: 16px; margin-left: 2px; }
.stat-item .lbl { margin-top: 6px; font-size: 13px; color: rgba(255,255,255,.8); letter-spacing: 1px; }

/* ============ 关于 / 愿景 ============ */
.about-grid { display: grid; grid-template-columns: 1.05fr 1fr; gap: 44px; align-items: center; }
.about-grid .img-wrap { border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-lg); position: relative; }
.about-grid .img-wrap::before { content: ''; position: absolute; inset: 14px; border: 1px solid rgba(201,161,90,.6); border-radius: 6px; z-index: 2; pointer-events: none; }
.about-text p { font-size: 15px; line-height: 2; color: var(--ink-2); margin-bottom: 14px; }
.about-text h3 { font-size: 20px; color: var(--navy-800); margin: 18px 0 10px; }
.vision-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.vision-card { padding: 30px 26px; border-top: 3px solid var(--gold-500); }
.vision-card h4 { font-size: 18px; color: var(--navy-800); margin-bottom: 12px; }
.vision-card p { font-size: 14px; line-height: 1.9; color: var(--ink-2); }

/* ============ 发展历程 ============ */
.timeline { position: relative; padding-left: 26px; }
.timeline::before { content: ''; position: absolute; left: 7px; top: 6px; bottom: 6px; width: 2px; background: linear-gradient(180deg, var(--gold-500), var(--navy-100)); }
.tl-item { position: relative; padding: 0 0 26px 22px; }
.tl-item::before { content: ''; position: absolute; left: -26px; top: 5px; width: 12px; height: 12px; border-radius: 50%; background: var(--gold-500); border: 3px solid #fff; box-shadow: 0 0 0 2px var(--gold-300); }
.tl-item .year { font-size: 17px; font-weight: 800; color: var(--navy-700); }
.tl-item p { margin-top: 6px; font-size: 14px; color: var(--ink-2); line-height: 1.8; }

/* ============ 核心业务 ============ */
.biz-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.biz-card { border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); background: #fff; transition: transform .25s; }
.biz-card:hover { transform: translateY(-6px); }
.biz-card .im { height: 170px; overflow: hidden; }
.biz-card .im img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s; }
.biz-card:hover .im img { transform: scale(1.06); }
.biz-card .bd { padding: 20px; }
.biz-card h4 { font-size: 16px; color: var(--navy-800); }
.biz-card p { margin-top: 8px; font-size: 13px; color: var(--ink-2); line-height: 1.8; }

/* ============ 优势 / 荣誉 ============ */
.adv-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.adv-item { padding: 26px; display: flex; gap: 16px; align-items: flex-start; }
.adv-item .ico {
  flex: none; width: 48px; height: 48px; border-radius: 10px; background: var(--navy-100);
  display: flex; align-items: center; justify-content: center; font-size: 22px;
}
.adv-item h4 { font-size: 16px; color: var(--navy-800); }
.adv-item p { margin-top: 6px; font-size: 13px; color: var(--ink-2); line-height: 1.8; }

/* ============ 产品体系 ============ */
.filter-bar { display: flex; gap: 12px; flex-wrap: wrap; margin-bottom: 26px; align-items: center; }
.filter-bar select {
  padding: 9px 14px; border: 1px solid var(--line); border-radius: 6px; background: #fff; color: var(--ink);
}
.filter-bar .flabel { font-size: 14px; color: var(--ink-2); }
.prod-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.prod-card { background: #fff; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); transition: transform .25s; }
.prod-card:hover { transform: translateY(-4px); }
.prod-card .im { height: 175px; overflow: hidden; position: relative; }
.prod-card .im img { width: 100%; height: 100%; object-fit: cover; }
.prod-card .im .zone { position: absolute; top: 10px; left: 10px; }
.prod-card .bd { padding: 16px; }
.prod-card h4 { font-size: 15px; color: var(--navy-800); }
.prod-card .meta { margin-top: 6px; font-size: 12px; color: var(--ink-3); }
.prod-card .ft { margin-top: 12px; display: flex; justify-content: space-between; align-items: center; }
.prod-card .price { font-size: 13px; color: var(--ink-3); }
.prod-card .price b { color: var(--red); font-size: 15px; }

/* ============ 报价 / 资讯 表格 ============ */
.tbl { width: 100%; border-collapse: collapse; background: #fff; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); }
.tbl th { background: var(--navy-800); color: #fff; font-size: 13px; padding: 12px 14px; text-align: left; font-weight: 600; letter-spacing: 1px; white-space: nowrap; }
.tbl td { padding: 12px 14px; font-size: 13.5px; border-bottom: 1px solid var(--line); color: var(--ink-2); }
.tbl tr:last-child td { border-bottom: none; }
.tbl tbody tr:hover td { background: #F7FAFD; }
.tbl .num { font-variant-numeric: tabular-nums; }
.blur-locked { filter: blur(4px); user-select: none; pointer-events: none; }
.lock-tip { text-align: center; padding: 16px; font-size: 13px; color: var(--ink-3); background: #FBFCFE; border-top: 1px dashed var(--line); }

.news-list { display: grid; gap: 14px; }
.news-item { display: flex; gap: 18px; padding: 20px 22px; align-items: center; transition: .2s; }
.news-item:hover { transform: translateX(4px); }
.news-item .date { flex: none; width: 72px; text-align: center; border-right: 1px solid var(--line); padding-right: 18px; }
.news-item .date .d { font-size: 24px; font-weight: 800; color: var(--navy-700); }
.news-item .date .m { font-size: 12px; color: var(--ink-3); }
.news-item h4 { font-size: 15.5px; color: var(--navy-800); }
.news-item p { margin-top: 6px; font-size: 13px; color: var(--ink-2); line-height: 1.7; }

/* ============ 表单 ============ */
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.form-grid .full { grid-column: 1 / -1; }
.field label { display: block; font-size: 13px; color: var(--ink-2); margin-bottom: 7px; font-weight: 600; }
.field label i { color: var(--red); font-style: normal; margin-left: 2px; }
.field input, .field select, .field textarea {
  width: 100%; padding: 11px 14px; border: 1px solid var(--line); border-radius: 6px; outline: none; transition: .2s; background: #fff;
}
.field input:focus, .field select:focus, .field textarea:focus { border-color: var(--navy-600); box-shadow: 0 0 0 3px rgba(20,73,122,.12); }
.contact-wrap { display: grid; grid-template-columns: 1fr 1.3fr; gap: 34px; align-items: start; }
.contact-info .ci { display: flex; gap: 14px; padding: 16px 0; border-bottom: 1px dashed var(--line); font-size: 14px; color: var(--ink-2); }
.contact-info .ci .ico { flex: none; width: 40px; height: 40px; border-radius: 8px; background: var(--navy-100); display: flex; align-items: center; justify-content: center; font-size: 18px; }
.contact-info .ci b { display: block; color: var(--navy-800); margin-bottom: 3px; font-size: 13px; }

/* ============ 页脚 ============ */
.site-footer { background: var(--navy-900); color: rgba(255,255,255,.75); padding: 48px 0 0; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.2fr; gap: 34px; padding-bottom: 34px; }
.footer-grid h5 { color: #fff; font-size: 15px; margin-bottom: 14px; letter-spacing: 1px; }
.footer-grid a { display: block; font-size: 13px; padding: 4px 0; color: rgba(255,255,255,.65); }
.footer-grid a:hover { color: var(--gold-400); }
.footer-grid p { font-size: 13px; line-height: 1.9; }
.copyright { border-top: 1px solid rgba(255,255,255,.12); padding: 16px 0; text-align: center; font-size: 12px; color: rgba(255,255,255,.45); }

/* ============ Cookie 告知条 ============ */
.cookie-bar {
  position: fixed; left: 16px; right: 16px; bottom: 16px; z-index: 200;
  background: var(--navy-900); color: rgba(255,255,255,.85); border: 1px solid rgba(201,161,90,.4);
  border-radius: 10px; padding: 14px 20px; display: flex; gap: 16px; align-items: center; font-size: 13px;
  box-shadow: var(--shadow-lg);
}
.cookie-bar.hidden { display: none; }

/* ============ 登录页 ============ */
.login-page { min-height: 100vh; display: grid; grid-template-columns: 1.1fr 1fr; }
.login-visual { position: relative; overflow: hidden; }
.login-visual .bg { position: absolute; inset: 0; background: url('../images/coldchain.jpg') center/cover; }
.login-visual .bg::after { content: ''; position: absolute; inset: 0; background: linear-gradient(135deg, rgba(8,31,56,.85), rgba(11,42,74,.55)); }
.login-visual .tx { position: relative; z-index: 2; color: #fff; padding: 70px 60px; height: 100%; display: flex; flex-direction: column; justify-content: space-between; }
.login-visual .tx .slogan { font-size: 34px; font-weight: 800; letter-spacing: 4px; line-height: 1.5; }
.login-visual .tx .slogan em { color: var(--gold-400); font-style: normal; }
.login-panel { display: flex; align-items: center; justify-content: center; background: #fff; }
.login-box { width: 100%; max-width: 400px; padding: 40px 8px; }
.login-box h2 { font-size: 24px; color: var(--navy-800); letter-spacing: 2px; }
.login-box .sub { margin: 8px 0 26px; font-size: 13px; color: var(--ink-3); }
.role-tabs { display: grid; grid-template-columns: 1fr 1fr; background: var(--navy-100); border-radius: 8px; padding: 4px; margin-bottom: 24px; }
.role-tabs button { border: none; background: transparent; padding: 10px; border-radius: 6px; font-size: 14px; font-weight: 600; color: var(--ink-3); }
.role-tabs button.on { background: var(--navy-800); color: #fff; box-shadow: var(--shadow); }
.login-box .field { margin-bottom: 16px; }
.login-extra { display: flex; justify-content: space-between; font-size: 13px; color: var(--ink-3); margin: 6px 0 20px; }
.demo-hint { margin-top: 22px; background: #FBF7EE; border: 1px dashed var(--gold-500); border-radius: 8px; padding: 12px 16px; font-size: 12.5px; color: #8A6A2F; line-height: 1.9; }

/* ============ 门户布局（员工/客户） ============ */
.portal { display: grid; grid-template-columns: 232px 1fr; min-height: 100vh; }
.side {
  background: linear-gradient(180deg, var(--navy-900), var(--navy-800)); color: rgba(255,255,255,.82);
  display: flex; flex-direction: column; position: sticky; top: 0; height: 100vh; overflow-y: auto;
}
.side .p-brand { display: flex; align-items: center; gap: 10px; padding: 18px 18px 16px; border-bottom: 1px solid rgba(255,255,255,.1); }
.side .p-brand .logo-box { width: 34px; height: 34px; font-size: 15px; border-radius: 7px; }
.side .p-brand .name { font-size: 15px; font-weight: 700; color: #fff; }
.side .p-brand .name small { display: block; font-size: 10px; color: var(--gold-400); font-weight: 500; }
.side nav { flex: 1; padding: 12px 10px; }
.side nav .grp { font-size: 11px; color: rgba(255,255,255,.4); padding: 14px 10px 6px; letter-spacing: 2px; }
.side nav a { display: flex; align-items: center; gap: 10px; padding: 10px 12px; border-radius: 7px; font-size: 13.5px; margin-bottom: 2px; transition: .15s; }
.side nav a .ic { width: 20px; text-align: center; font-size: 15px; }
.side nav a:hover { background: rgba(255,255,255,.08); color: #fff; }
.side nav a.on { background: linear-gradient(90deg, rgba(201,161,90,.28), rgba(201,161,90,.1)); color: var(--gold-400); font-weight: 600; }
.side .side-ft { padding: 14px; border-top: 1px solid rgba(255,255,255,.1); font-size: 12px; color: rgba(255,255,255,.4); }
.main { display: flex; flex-direction: column; min-width: 0; }
.topbar {
  height: 60px; background: #fff; border-bottom: 1px solid var(--line);
  display: flex; align-items: center; justify-content: space-between; padding: 0 26px; position: sticky; top: 0; z-index: 50;
}
.topbar .crumb { font-size: 15px; font-weight: 700; color: var(--navy-800); }
.topbar .right { display: flex; align-items: center; gap: 18px; }
.topbar .avatar { display: flex; align-items: center; gap: 10px; font-size: 13px; color: var(--ink-2); }
.topbar .avatar .av { width: 34px; height: 34px; border-radius: 50%; background: var(--navy-700); color: var(--gold-400); display: flex; align-items: center; justify-content: center; font-weight: 700; }
.content { padding: 24px 26px; flex: 1; }

.pane { display: none; }
.pane.active { display: block; }
.pane-title { font-size: 17px; font-weight: 700; color: var(--navy-800); margin-bottom: 4px; }
.pane-sub { font-size: 13px; color: var(--ink-3); margin-bottom: 20px; }

/* 卡片网格 */
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.grid-2-1 { display: grid; grid-template-columns: 2fr 1fr; gap: 16px; }
.grid-1-2 { display: grid; grid-template-columns: 1fr 2fr; gap: 16px; }
.kpi { padding: 18px 20px; display: flex; justify-content: space-between; align-items: center; }
.kpi .l .t { font-size: 13px; color: var(--ink-3); }
.kpi .l .v { font-size: 26px; font-weight: 800; color: var(--navy-800); margin-top: 4px; }
.kpi .l .v small { font-size: 13px; font-weight: 500; color: var(--ink-3); margin-left: 2px; }
.kpi .r { font-size: 12px; color: var(--green); }
.kpi .r.down { color: var(--red); }
.kpi .ico { font-size: 30px; opacity: .9; }
.panel { padding: 20px; }
.panel .ph { display: flex; justify-content: space-between; align-items: center; margin-bottom: 16px; }
.panel .ph h4 { font-size: 15px; color: var(--navy-800); }
.panel .ph .more { font-size: 12px; color: var(--ink-3); }
.chart { width: 100%; height: 300px; }
.chart-sm { height: 260px; }
.chart-lg { height: 360px; }

/* 待办 / 快捷入口 */
.todo-item { display: flex; align-items: center; gap: 12px; padding: 11px 6px; border-bottom: 1px dashed var(--line); font-size: 13.5px; }
.todo-item:last-child { border-bottom: none; }
.todo-item .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--gold-500); flex: none; }
.todo-item .t { flex: 1; color: var(--ink-2); }
.quick-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; }
.quick-item { text-align: center; padding: 16px 8px; border-radius: 8px; background: #F7FAFD; transition: .2s; border: 1px solid transparent; }
.quick-item:hover { background: var(--navy-100); border-color: var(--navy-600); transform: translateY(-2px); }
.quick-item .ic { font-size: 24px; }
.quick-item p { margin-top: 8px; font-size: 12.5px; color: var(--ink-2); }

/* 进度时间轴 */
.steps { display: flex; gap: 0; margin: 10px 0 6px; }
.step { flex: 1; text-align: center; position: relative; }
.step::before { content: ''; position: absolute; top: 13px; left: 0; right: 0; height: 2px; background: var(--line); }
.step:first-child::before { left: 50%; }
.step:last-child::before { right: 50%; }
.step .s-dot { position: relative; z-index: 2; width: 28px; height: 28px; margin: 0 auto; border-radius: 50%; background: #fff; border: 2px solid var(--line); display: flex; align-items: center; justify-content: center; font-size: 13px; color: var(--ink-3); }
.step.done .s-dot { background: var(--navy-700); border-color: var(--navy-700); color: #fff; }
.step.done::before { background: var(--navy-700); }
.step.cur .s-dot { background: var(--gold-500); border-color: var(--gold-500); color: #fff; box-shadow: 0 0 0 4px rgba(201,161,90,.25); }
.step p { margin-top: 8px; font-size: 12.5px; color: var(--ink-2); }
.step .s-time { font-size: 11px; color: var(--ink-3); margin-top: 2px; }

/* 购物车 */
.cart-box { position: sticky; top: 84px; }
.cart-line { display: flex; justify-content: space-between; align-items: center; padding: 9px 0; border-bottom: 1px dashed var(--line); font-size: 13px; }
.cart-line .rm { color: var(--red); border: none; background: none; font-size: 12px; }
.qty-ctl { display: inline-flex; align-items: center; gap: 8px; }
.qty-ctl button { width: 22px; height: 22px; border: 1px solid var(--line); background: #fff; border-radius: 4px; font-size: 13px; line-height: 1; }

/* 徽章 & 状态 */
.badge { display: inline-block; padding: 2px 9px; border-radius: 4px; font-size: 12px; font-weight: 600; }
.b-green { background: #E5F5EC; color: var(--green); }
.b-blue { background: var(--navy-100); color: var(--navy-600); }
.b-gold { background: #FBF3E3; color: #A07A2E; }
.b-red { background: #FCEAE9; color: var(--red); }
.b-gray { background: #EEF1F4; color: var(--ink-3); }

/* 工具条 */
.toolbar { display: flex; gap: 10px; align-items: center; margin-bottom: 16px; flex-wrap: wrap; }
.toolbar .sp { flex: 1; }
.search-input { padding: 9px 14px; border: 1px solid var(--line); border-radius: 6px; width: 240px; outline: none; }
.search-input:focus { border-color: var(--navy-600); }

/* 看板时间筛选 */
.time-filter { display: inline-flex; background: #fff; border: 1px solid var(--line); border-radius: 8px; padding: 4px; gap: 2px; }
.time-filter button { border: none; background: transparent; padding: 7px 16px; border-radius: 6px; font-size: 13px; color: var(--ink-2); }
.time-filter button.on { background: var(--navy-800); color: #fff; }

/* 弹窗 */
.modal-mask { position: fixed; inset: 0; background: rgba(8,31,56,.55); z-index: 300; display: none; align-items: center; justify-content: center; padding: 24px; }
.modal-mask.show { display: flex; }
.modal { background: #fff; border-radius: 12px; width: 100%; max-width: 560px; max-height: 88vh; overflow-y: auto; box-shadow: var(--shadow-lg); }
.modal .mh { padding: 18px 24px; border-bottom: 1px solid var(--line); display: flex; justify-content: space-between; align-items: center; }
.modal .mh h3 { font-size: 16px; color: var(--navy-800); }
.modal .mh .x { border: none; background: none; font-size: 20px; color: var(--ink-3); }
.modal .mb { padding: 22px 24px; }
.modal .mf { padding: 14px 24px; border-top: 1px solid var(--line); display: flex; justify-content: flex-end; gap: 10px; }

/* Toast */
.toast {
  position: fixed; top: 76px; left: 50%; transform: translateX(-50%) translateY(-16px); z-index: 400;
  background: var(--navy-900); color: #fff; padding: 11px 24px; border-radius: 8px; font-size: 14px;
  border: 1px solid rgba(201,161,90,.5); opacity: 0; transition: .3s; pointer-events: none;
}
.toast.show { opacity: 1; transform: translateX(-50%) translateY(0); }

/* 响应式 */
@media (max-width: 1080px) {
  .biz-grid, .prod-grid { grid-template-columns: repeat(2, 1fr); }
  .vision-grid, .adv-grid { grid-template-columns: 1fr 1fr; }
  .stat-strip { grid-template-columns: repeat(2, 1fr); }
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .about-grid, .contact-wrap { grid-template-columns: 1fr; }
  .login-page { grid-template-columns: 1fr; }
  .login-visual { display: none; }
  .portal { grid-template-columns: 64px 1fr; }
  .side .p-brand .name, .side nav a .tx, .side nav .grp, .side .side-ft { display: none; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .hero .slogan { font-size: 34px; }
}
@media (max-width: 640px) {
  .nav-links { display: none; }
  .grid-2, .grid-3, .grid-2-1, .grid-1-2 { grid-template-columns: 1fr; }
  .biz-grid, .prod-grid { grid-template-columns: 1fr; }
  .form-grid { grid-template-columns: 1fr; }
  .stat-strip { grid-template-columns: 1fr; }
}


/* ============ V3 新增：英文名适配 / 资讯详情 / 内容管理 ============ */
.brand .name small { font-size: 8.4px; letter-spacing: 1px; }
.side .p-brand .name small { font-size: 8.4px; }

/* 资讯卡片 */
.news-item .read-more { display: inline-block; margin-top: 8px; font-size: 12.5px; color: var(--gold-600, #A8802F); font-weight: 600; }
.news-item:hover .read-more { text-decoration: underline; }
.top-flag { display: inline-block; background: var(--red, #C0392B); color: #fff; font-size: 11px; font-weight: 600;
  border-radius: 3px; padding: 1px 6px; margin-right: 8px; vertical-align: 2px; }

/* 弹窗（宽版：资讯详情 / 内容编辑） */
.modal.wide { max-width: 720px; }
.art-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 18px; font-size: 12.5px;
  color: var(--ink-3); padding-bottom: 14px; border-bottom: 1px solid var(--line); margin-bottom: 18px; }
.art-body { font-size: 14px; color: var(--ink-1, #2A3B4C); line-height: 2; }
.art-body p { margin-bottom: 14px; }
.art-body p:first-child::first-letter { font-weight: 700; }
.modal-note { margin-top: 22px; padding: 12px 16px; background: var(--navy-100, #EEF3F8); border-left: 3px solid var(--navy-600, #14497A);
  border-radius: 4px; font-size: 12px; color: var(--ink-3); line-height: 1.8; }

/* 表单（弹窗内） */
.modal .field { margin-bottom: 16px; }
.modal .field textarea { line-height: 1.8; font-family: inherit; }
.modal .frow { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.modal .mf { align-items: center; }

/* 权限提示条 */
.perm-note { margin: 14px 0 0; padding: 11px 16px; background: #F6F1E4; border: 1px dashed var(--gold-500, #C9A15A);
  border-radius: 8px; font-size: 12.5px; color: #8A6A2F; line-height: 1.8; }
@media (max-width: 640px) { .modal .frow { grid-template-columns: 1fr; } }


/* ============ V4 新增：空态 / 危险按钮 ============ */
.empty-state { text-align: center; padding: 34px 16px; }
.empty-state .es-ic { font-size: 30px; opacity: .45; line-height: 1.2; }
.empty-state .es-t { margin-top: 10px; font-size: 13.5px; font-weight: 600; color: var(--ink-2, #4A5A6A); }
.empty-state .es-s { margin-top: 6px; font-size: 12.5px; color: var(--ink-3); line-height: 1.8; }
.tbl .empty-state { padding: 26px 16px; }
.btn-danger { color: var(--red, #D64541) !important; border-color: var(--red, #D64541) !important; }
.btn-danger:hover { background: rgba(214,69,65,.08) !important; }


/* ============ V5 新增：权限配置 / 汇率工具 ============ */
.modal .tbl input[type="radio"] { width: auto; accent-color: var(--navy-600, #14497A); }
.ph .btn-xs { margin-left: 10px; }
#fxStatus { margin-left: 10px; }


/* ============ V6 新增：产品管理（图片选择 / 缩略图） ============ */
.thumb-sm { width: 54px; height: 42px; object-fit: cover; border-radius: 5px; display: block; border: 1px solid var(--line); }
.img-pick { display: grid; grid-template-columns: repeat(5, 1fr); gap: 8px; margin-bottom: 10px; }
.ip-item { position: relative; display: block; border: 2px solid var(--line); border-radius: 8px; overflow: hidden; cursor: pointer; transition: .2s; aspect-ratio: 4/3; background: #F7FAFD; }
.ip-item:hover { border-color: var(--navy-600); }
.ip-item.on { border-color: var(--gold-500, #C9A15A); box-shadow: 0 0 0 3px rgba(201,161,90,.22); }
.ip-item input { position: absolute; opacity: 0; pointer-events: none; }
.ip-item img { width: 100%; height: 100%; object-fit: cover; display: block; }
.ip-item.on::after { content: '✓'; position: absolute; top: 3px; right: 5px; width: 18px; height: 18px; line-height: 18px; text-align: center;
  border-radius: 50%; background: var(--gold-500, #C9A15A); color: #fff; font-size: 12px; font-weight: 700; }
.ip-custom { display: flex; gap: 8px; align-items: center; }
.ip-custom input { flex: 1; padding: 9px 12px; border: 1px solid var(--line); border-radius: 6px; outline: none; font-size: 13px; }
.ip-preview { margin-top: 10px; display: flex; align-items: center; gap: 10px; font-size: 12.5px; color: var(--ink-3); }
.ip-preview img { width: 92px; height: 68px; object-fit: cover; border-radius: 6px; border: 1px solid var(--line); background: #F7FAFD; }
.quick-grid { grid-template-columns: repeat(auto-fit, minmax(84px, 1fr)); }
@media (max-width: 640px) { .img-pick { grid-template-columns: repeat(3, 1fr); } }

.f-tip { display: block; margin-top: 5px; font-size: 11.5px; color: var(--ink-3); }
