/* 气合网前台门户样式：复刻 qem-uat.qihewang.com/dataCenter/qianhaiLNGPriceIndex 的真实 DOM 与计算样式 */
* { margin: 0; padding: 0; box-sizing: border-box; }
html, body { background: #f5f7fa; }
body {
  font-family: "PingFang SC", "Microsoft YaHei", "Helvetica Neue", Helvetica, Arial, sans-serif;
  font-size: 14px; color: #323233; -webkit-font-smoothing: antialiased;
}
a { cursor: pointer; text-decoration: none; color: inherit; }
ul { list-style: none; }
.width-limit-box { width: 1280px; max-width: 100%; margin: 0 auto; }
.max-box { min-height: 100vh; display: flex; flex-direction: column; }

/* ===== 顶部固定头 ===== */
.app-fixed-header { position: sticky; top: 0; z-index: 100; }
.herders { background: #fff; box-shadow: 0 2px 8px rgba(31, 45, 61, .06); }
.herders-top { height: 40px; display: flex; align-items: center; justify-content: space-between; font-size: 13px; }
.herders-top .welcome { color: #323233; }
.herders-top-right { display: flex; align-items: center; gap: 18px; color: #1898c6; }
.herders-top-right .ent { display: flex; align-items: center; gap: 6px; max-width: 420px; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; }
.herders-top-right .dot { width: 6px; height: 6px; border-radius: 50%; background: #1898c6; display: inline-block; }
.caret { width: 0; height: 0; margin-left: 6px; border: 4px solid transparent; border-top-color: currentColor; display: inline-block; vertical-align: middle; }
.herders-logo { height: 66px; display: flex; align-items: center; }
.logo { display: flex; align-items: center; gap: 10px; }
.logo-mark { width: 34px; height: 34px; border-radius: 8px; background: linear-gradient(135deg, #1898c6 0%, #1898c6 45%, #34b37e 45%, #34b37e 72%, #f5a623 72%, #f5a623 100%); position: relative; }
.logo-mark::after { content: ""; position: absolute; inset: 8px 10px; border-left: 3px solid rgba(255,255,255,.85); border-top: 3px solid rgba(255,255,255,.85); transform: rotate(45deg); border-radius: 2px; }
.logo-text { font-size: 24px; font-weight: 600; color: #323233; letter-spacing: 1px; }

.top-nav-parent { height: 68px; background: #1898c6; display: flex; align-items: stretch; }
.top-nav-parent .nav-item { display: flex; align-items: center; justify-content: center; width: 160px; color: #fff; font-size: 16px; border-right: 1px solid rgba(255, 255, 255, .16); transition: background .2s; }
.top-nav-parent .nav-item:hover { background: rgba(255, 255, 255, .1); }
.top-nav-parent .nav-item.active { font-weight: 600; background: rgba(255, 255, 255, .12); }
.fixed-empty-box { height: 0; }

/* ===== 主体 ===== */
.page-wrap { flex: 1; display: flex; flex-direction: column; }
.data-page-container { flex: 1; padding: 12px 0; }
.wrapper { display: flex; align-items: flex-start; gap: 12px; }

.side-menu { width: 175px; flex-shrink: 0; background: #fff; border-radius: 4px; overflow: hidden; }
.el-submenu__title { height: 50px; line-height: 50px; padding: 0 36px 0 20px; font-size: 15px; font-weight: 600; color: #303133; cursor: pointer; position: relative; }
.el-submenu__title:hover { background: #f5f7fa; }
.el-submenu__title .arrow { position: absolute; right: 16px; top: 22px; width: 0; height: 0; border: 5px solid transparent; border-top-color: #c0c4cc; transition: transform .2s; }
.el-submenu.open .arrow { transform: rotate(180deg); top: 16px; }
.el-menu .el-menu-item { height: 50px; line-height: 50px; padding: 0 20px; font-size: 14px; color: #303133; cursor: pointer; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.el-menu .el-menu-item:hover { background: #f5f7fa; }
.el-menu .el-menu-item.is-active { color: #1898c6; background: #ecf5ff; font-weight: 500; }
.el-submenu:not(.open) .el-menu { display: none; }

/* ===== 内容卡片 ===== */
.lng-price-page { flex: 1; padding: 12px 12px 12px 0; min-width: 0; }
.lng-price-page .main { background: #fff; border: 1px solid #e6ebf2; border-radius: 10px; box-shadow: 0 4px 16px rgba(31, 45, 61, .04); padding: 20px; }

.el-tabs__header { position: relative; border-bottom: 1px solid #e4e7ed; }
.el-tabs__nav { display: flex; gap: 22px; }
.el-tabs__item { padding: 11px 0; font-size: 14px; color: #303133; cursor: pointer; }
.el-tabs__item.is-active { color: #2f7df6; font-weight: 500; }
.el-tabs__active-bar { position: absolute; left: 0; bottom: -1px; height: 2px; background: #2f7df6; width: 56px; transition: transform .25s, width .25s; }

.tab-content { padding-top: 16px; }
.selectors { display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.selector { display: flex; align-items: center; gap: 12px; }
.selectors .label { font-size: 14px; color: #667386; }
.el-date-editor { display: flex; align-items: center; gap: 8px; height: 32px; padding: 3px 10px; background: #fff; border: 1px solid #dcdfe6; border-radius: 4px; color: #606266; }
.el-date-editor:focus-within { border-color: #1898c6; }
.el-date-editor input { border: 0; outline: 0; font: inherit; color: #606266; background: transparent; width: 104px; }
.el-date-editor input::-webkit-calendar-picker-indicator { opacity: .5; cursor: pointer; }
.el-date-editor input::-webkit-calendar-picker-indicator:hover { opacity: .85; }
.el-date-editor .sep { color: #606266; }

.el-button { height: 34px; padding: 9px 15px; border-radius: 3px; font-size: 12px; cursor: pointer; border: 1px solid #dcdfe6; background: #fff; color: #606266; display: inline-flex; align-items: center; gap: 5px; }
.el-button--primary.is-plain { background: #e8f5f9; border-color: #a3d6e8; color: #1898c6; }
.el-button--primary.is-plain:hover { background: #dcefF6; }

.content-area { margin-top: 16px; background: #fff; border: 1px solid #e6ebf2; border-radius: 8px; box-shadow: 0 2px 10px rgba(31, 45, 61, .035); }
.chart-container { height: 496px; width: 100%; }

/* ===== 页脚 ===== */
.home-footer { background: #232b3a; color: #b6bcc7; padding: 40px 0 32px; margin-top: 12px; }
.home-footer .menu-wrap { display: flex; align-items: center; gap: 18px; font-size: 14px; }
.home-footer .menu-wrap a { color: #dfe3ea; }
.home-footer .menu-wrap a:hover { color: #1898c6; }
.home-footer .menu-wrap em { color: #4a5568; font-style: normal; }
.home-footer .website { margin-top: 18px; font-size: 13px; color: #98a2b3; display: flex; gap: 14px; flex-wrap: wrap; }
.home-footer .beian { color: #4aa8d8; }

/* ===== 右侧工具条 ===== */
.side-toolbar { position: fixed; right: 16px; top: 50%; transform: translateY(-50%); width: 62px; background: #fff; border-radius: 8px; box-shadow: 0 4px 18px rgba(31, 45, 61, .14); overflow: hidden; z-index: 90; }
.drag-logo { background: #1898c6; color: #fff; padding: 10px 0 8px; text-align: center; }
.ai-face { display: block; width: 26px; height: 20px; margin: 0 auto 4px; background: #fff; border-radius: 10px 10px 6px 6px; position: relative; }
.ai-face::after { content: ""; position: absolute; left: 6px; right: 6px; top: 8px; height: 3px; background: #1898c6; border-radius: 2px; }
.ai-name { font-size: 12px; }
.toolbar-content .toolbar-item { padding: 12px 0 10px; text-align: center; border-top: 1px solid #f0f2f5; cursor: pointer; }
.toolbar-content .toolbar-item:hover { background: #f5f7fa; }
.toolbar-label { display: block; font-size: 12px; color: #667386; margin-top: 4px; }
.ic { display: block; width: 22px; height: 22px; margin: 0 auto; border: 2px solid #1898c6; border-radius: 3px; position: relative; }
.ic-dl::after { content: ""; position: absolute; left: 5px; top: 2px; width: 8px; height: 9px; border-left: 2px solid #1898c6; border-right: 2px solid #1898c6; border-bottom: 2px solid #1898c6; }
.ic-cs { border-color: #f5a623; border-radius: 11px; }
.ic-cs::after { content: ""; position: absolute; left: 2px; right: 2px; bottom: -3px; height: 8px; border: 2px solid #f5a623; border-top: 0; border-radius: 0 0 10px 10px; }

/* ===== 提示 ===== */
.toast { position: fixed; top: 84px; left: 50%; transform: translateX(-50%) translateY(-12px); background: #fdf6ec; color: #e6a23c; border: 1px solid #faecd8; padding: 9px 16px; border-radius: 4px; font-size: 13px; opacity: 0; pointer-events: none; transition: .25s; z-index: 999; }
.toast.show { opacity: 1; transform: translateX(-50%) translateY(0); }

@media (max-width: 1320px) {
  .width-limit-box { width: 100%; padding: 0 16px; }
  .side-toolbar { display: none; }
}
