/*!
 * 五健筛查 · 原型共享样式
 * 视觉基线：iview / LIS 风格，蓝色主色 + 顶栏 / 卡片 / 表格 / 状态色。
 * 页面只写业务专属样式，通用外壳一律走本文件。
 */

:root {
  --primary: #2d8cf0;
  --primary-deep: #1777d4;
  --text: #17233d;
  --sub: #515a6e;
  --muted: #808695;
  --light: #b2b7c3;
  --body: #f5f7f9;
  --border: #e8eaec;
  --success: #19be6b;
  --warn: #ff9900;
  --danger: #ed4014;
  --purple: #9a66e4;
}

* { box-sizing: border-box; }
/*
 * [hidden] 是 UA 样式给的 display:none，任何带 display 的 author 规则
 * （.main-grid{display:grid} 之类）都会盖掉它。页面上用 el.hidden 控制
 * 显隐的地方不少，这里统一兜底。
 */
[hidden] { display: none !important; }
html, body { min-width: 1280px; min-height: 100%; }
body {
  margin: 0; background: var(--body); color: var(--sub);
  font: 14px/1.5 "Helvetica Neue", Helvetica, "PingFang SC", "Microsoft YaHei", Arial, sans-serif;
}
button, input, select, textarea { font: inherit; }
a { color: var(--primary); text-decoration: none; }

/* ---------------- 顶栏 ---------------- */
.app-top {
  height: 58px; display: flex; align-items: center; padding: 0 18px; color: #fff;
  background: linear-gradient(90deg, #2d8cf0 0%, #1777d4 60%, #2d8cf0 100%);
  box-shadow: 0 1px 4px rgba(0, 0, 0, .16); position: relative; z-index: 5;
}
.brand { display: flex; align-items: center; gap: 10px; color: #fff; flex: none; margin-right: 12px; }
.brand img { width: 34px; height: 34px; background: #fff; border-radius: 50%; }
.brand-main { display: block; font-size: 18px; line-height: 20px; letter-spacing: .5px; font-weight: 600; }
.brand-sub {
  display: block; font-size: 9px; letter-spacing: .2px; opacity: .85;
  transform: scale(.92); transform-origin: left center; white-space: nowrap;
}
.brand-mark {
  display: inline-flex; align-items: center; height: 22px; margin-left: 4px; padding: 0 8px;
  border: 1px solid rgba(255, 255, 255, .38); border-radius: 3px; font-size: 12px;
}
.top-nav { height: 100%; display: flex; align-items: stretch; }
.top-nav button {
  position: relative; min-width: 90px; border: 0; padding: 0 15px; white-space: nowrap;
  color: rgba(255, 255, 255, .86); background: transparent; cursor: pointer; transition: background .2s;
}
.top-nav button:hover { background: rgba(0, 0, 0, .08); color: #fff; }
.top-nav button.active { color: #fff; background: rgba(0, 0, 0, .12); }
.top-nav button.active:after {
  content: ""; position: absolute; height: 3px; left: 20px; right: 20px; bottom: 0; background: #fff;
}
.top-nav button.locked { opacity: .68; }

/* 顶栏二级菜单：悬停或点击展开，鼠标从父项移到子项之间不断档 */
.nav-group { position: relative; display: flex; align-items: stretch; }
.nav-group > .nav-group-btn { display: flex; align-items: center; gap: 4px; height: 100%; }
.nav-group > .nav-group-btn .caret { font-size: 13px; opacity: .8; transition: transform .2s; }
.nav-group.active > .nav-group-btn { color: #fff; background: rgba(0, 0, 0, .12); }
.nav-group.active > .nav-group-btn:after {
  content: ""; position: absolute; height: 3px; left: 20px; right: 20px; bottom: 0; background: #fff;
}
.nav-sub {
  position: absolute; left: 0; top: 100%; min-width: 176px; padding: 5px 0; display: none;
  background: #fff; border-radius: 0 0 4px 4px; box-shadow: 0 4px 14px rgba(0, 0, 0, .18); z-index: 30;
}
.nav-group:hover .nav-sub,
.nav-group.open .nav-sub { display: block; }
.nav-group:hover > .nav-group-btn,
.nav-group.open > .nav-group-btn { background: rgba(0, 0, 0, .12); color: #fff; }
.nav-group:hover > .nav-group-btn .caret,
.nav-group.open > .nav-group-btn .caret { transform: rotate(180deg); }
.top-nav .nav-sub button.sub-item {
  display: flex; align-items: center; gap: 7px; width: 100%; min-width: 0; height: 36px;
  padding: 0 14px; color: var(--sub); background: #fff; text-align: left;
}
.top-nav .nav-sub button.sub-item:hover { color: var(--primary); background: #f5faff; }
.top-nav .nav-sub button.sub-item.active { color: var(--primary); background: #eaf5ff; }
.top-nav .nav-sub button.sub-item.active:after { display: none; }
.top-nav .nav-sub button.sub-item .ivu-icon { font-size: 16px; }
.top-nav .nav-sub button.sub-item i { margin-left: auto; color: var(--light); font-style: normal; font-size: 12px; }

.top-actions { margin-left: auto; display: flex; gap: 16px; align-items: center; }
.top-icon {
  position: relative; color: #fff; border: 0; padding: 5px; background: transparent;
  cursor: pointer; opacity: .94; font-size: 20px; line-height: 1;
}
.top-icon:hover { opacity: 1; }
.notice-dot {
  position: absolute; top: 0; right: 0; width: 8px; height: 8px;
  border: 1px solid #2d8cf0; border-radius: 50%; background: #ed4014;
}
.profile {
  display: flex; align-items: center; gap: 8px; padding: 0 4px; color: #fff;
  border: 0; background: transparent; cursor: pointer;
}
.profile:hover { opacity: .88; }
.profile-avatar {
  width: 30px; height: 30px; display: grid; place-items: center; border-radius: 50%;
  color: #2d8cf0; background: #e9f4ff; font-size: 14px; font-weight: 600; flex: none;
}
.profile-text { line-height: 17px; white-space: nowrap; text-align: left; }
.profile-text span { display: block; font-size: 12px; opacity: .78; }
.profile .ivu-icon { font-size: 15px; }

.top-menu {
  position: absolute; right: 18px; top: 54px; min-width: 190px; padding: 5px 0; display: none;
  background: #fff; border-radius: 4px; box-shadow: 0 3px 14px rgba(0, 0, 0, .18); z-index: 30;
}
.top-menu.show { display: block; }
.top-menu .head { padding: 9px 14px 10px; border-bottom: 1px solid var(--border); }
.top-menu .head b { display: block; color: var(--text); font-weight: 500; }
.top-menu .head small { display: block; margin-top: 2px; color: var(--muted); font-size: 12px; }
.top-menu button {
  display: flex; align-items: center; gap: 7px; width: 100%; height: 36px; padding: 0 14px;
  border: 0; background: #fff; color: var(--sub); text-align: left; cursor: pointer;
}
.top-menu button:hover { background: #f5faff; color: var(--primary); }
.top-menu .ivu-icon { font-size: 16px; }

/* ---------------- 页头 ---------------- */
.page-head {
  min-height: 62px; display: flex; align-items: center; padding: 0 20px;
  background: #fff; border-bottom: 1px solid var(--border);
}
.crumb { color: var(--muted); }
.crumb b { color: var(--text); font-weight: 500; }
.crumb .ivu-icon { margin: 0 8px; color: #c5c8ce; }
.head-right { margin-left: auto; display: flex; align-items: center; gap: 10px; }
.date-control {
  min-width: 176px; height: 32px; padding: 0 10px; display: flex; align-items: center;
  justify-content: space-between; gap: 8px; border: 1px solid #dcdee2; border-radius: 4px;
  color: var(--sub); background: #fff; font-size: 13px;
}
.date-control .ivu-icon { color: var(--muted); }
.live-dot {
  display: inline-block; width: 7px; height: 7px; border-radius: 50%; background: var(--success);
  margin-right: 5px; vertical-align: 1px; animation: fh-pulse 1.6s infinite;
}
@keyframes fh-pulse { 0%, 100% { opacity: 1; } 50% { opacity: .25; } }

.ivu-btn { height: 32px; padding: 0 14px; border-radius: 4px; cursor: pointer; }
.ivu-btn .ivu-icon { margin-right: 4px; }
.plain-action {
  height: 30px; padding: 0 11px; border: 1px solid #dcdee2; border-radius: 4px;
  background: #fff; color: var(--sub); cursor: pointer; white-space: nowrap;
}
.plain-action:hover { border-color: var(--primary); color: var(--primary); }
.plain-action .ivu-icon { margin-right: 4px; }
.plain-action[disabled] { opacity: .55; cursor: not-allowed; }

/* ---------------- 卡片与面板 ---------------- */
.workspace { padding: 16px 20px 24px; }
.panel {
  background: #fff; border: 1px solid var(--border); border-radius: 4px;
  box-shadow: 0 1px 2px rgba(0, 0, 0, .02); overflow: hidden;
}
.panel-heading {
  min-height: 48px; display: flex; align-items: center; padding: 0 16px;
  border-bottom: 1px solid var(--border);
}
.panel-heading h2 {
  position: relative; margin: 0; padding-left: 10px; color: var(--text);
  font-size: 15px; font-weight: 500;
}
.panel-heading h2:before {
  content: ""; position: absolute; left: 0; top: 3px; bottom: 3px; width: 3px;
  border-radius: 2px; background: var(--primary);
}
.panel-heading .panel-extra {
  display: flex; align-items: center; gap: 12px; margin-left: auto;
  color: var(--muted); font-size: 12px;
}
.panel-heading a { color: var(--primary); cursor: pointer; }
/* 面板右上角的文字入口用 button，保证可聚焦、可被读屏与自动化识别 */
.panel-heading .panel-link {
  padding: 0; border: 0; background: none; color: var(--primary);
  font-size: 12px; font-family: inherit; cursor: pointer;
}
.panel-heading .panel-link:hover { text-decoration: underline; }

/* ---------------- 表格 ---------------- */
.plan-table { width: 100%; border-collapse: collapse; table-layout: fixed; }
.plan-table th {
  height: 40px; padding: 0 12px; text-align: left; color: var(--sub); background: #f8f8f9;
  border-bottom: 1px solid var(--border); font-size: 13px; font-weight: 500;
}
.plan-table td {
  height: 55px; padding: 0 12px; color: var(--sub); border-bottom: 1px solid #f0f0f0;
  font-size: 13px; vertical-align: middle;
}
.plan-table tr:last-child td { border-bottom: 0; }
.plan-table tbody tr:hover td { background: #f8fbff; }
.plan-table .site { color: var(--text); font-weight: 500; }
.plan-table .num { color: var(--text); }
.table-action { border: 0; padding: 3px 0; background: transparent; color: var(--primary); cursor: pointer; }
.table-action .ivu-icon { margin-right: 3px; }
.under-table {
  height: 46px; display: flex; align-items: center; justify-content: space-between;
  padding: 0 16px; color: var(--muted); font-size: 12px; border-top: 1px solid var(--border);
}

/* ---------------- 标签 / 进度 ---------------- */
.tag { display: inline-flex; align-items: center; height: 21px; padding: 0 7px; border-radius: 3px; font-size: 12px; }
.tag.run { color: var(--success); background: #e8f7ef; }
.tag.wait { color: var(--warn); background: #fff4e6; }
.tag.done { color: var(--primary); background: #eaf5ff; }
.tag.bad { color: var(--danger); background: #fff1f0; }
.tag.mute { color: var(--muted); background: #f2f3f5; }
.tag.ok { color: var(--success); background: #f0faf4; }

.track { width: 110px; height: 6px; overflow: hidden; border-radius: 5px; background: #f0f0f0; flex: none; }
.track i { display: block; height: 100%; border-radius: 5px; background: var(--primary); transition: width .4s; }
.mini-progress { display: flex; align-items: center; gap: 8px; }
.mini-progress strong { color: var(--sub); font-weight: 400; font-size: 12px; }

/* ---------------- 弹层 ---------------- */
.mask {
  position: fixed; inset: 0; z-index: 40; display: none;
  background: rgba(23, 35, 61, .32);
}
.mask.show { display: block; }
.modal {
  position: absolute; top: 50%; left: 50%; width: 560px; max-height: 84vh; overflow: auto;
  transform: translate(-50%, -50%); border-radius: 4px; background: #fff;
  box-shadow: 0 5px 22px rgba(0, 0, 0, .2);
}
.modal.wide { width: 760px; }
.modal-head {
  display: flex; align-items: center; height: 52px; padding: 0 16px;
  border-bottom: 1px solid var(--border);
}
.modal-head h2 { margin: 0; color: var(--text); font-size: 16px; font-weight: 500; }
.modal-head button {
  margin-left: auto; border: 0; color: var(--muted); background: transparent;
  font-size: 21px; cursor: pointer; line-height: 1;
}
.modal-body { padding: 18px; }
.modal-foot {
  display: flex; justify-content: flex-end; gap: 9px; padding: 13px 16px;
  border-top: 1px solid var(--border);
}
.drawer {
  position: absolute; top: 0; right: 0; width: 572px; height: 100%; overflow: auto;
  padding: 0 20px 24px; background: #fff; box-shadow: -4px 0 18px rgba(0, 0, 0, .12);
}
.drawer-head { display: flex; align-items: center; height: 58px; border-bottom: 1px solid var(--border); }
.drawer-head h2 { margin: 0; color: var(--text); font-size: 17px; font-weight: 500; }
.drawer-head button {
  margin-left: auto; border: 0; color: var(--muted); background: #fff; font-size: 22px; cursor: pointer;
}

.field-list { display: grid; gap: 0; }
.field-row {
  display: grid; grid-template-columns: 116px 1fr; gap: 10px; padding: 10px 0;
  border-bottom: 1px solid #f0f0f0; font-size: 13px;
}
.field-row:last-child { border-bottom: 0; }
.field-row span { color: var(--muted); }
.field-row b { color: var(--text); font-weight: 500; }

.action-grid { display: grid; gap: 9px; }
.action-btn {
  display: flex; align-items: center; gap: 9px; width: 100%; padding: 11px 13px; text-align: left;
  border: 1px solid #dcdee2; border-radius: 4px; background: #fff; color: var(--sub); cursor: pointer;
}
.action-btn:hover { border-color: var(--primary); background: #f7fbff; color: var(--primary); }
.action-btn .ivu-icon { font-size: 18px; color: var(--primary); }
.action-btn b { display: block; color: var(--text); font-weight: 500; }
.action-btn small { display: block; margin-top: 2px; color: var(--muted); font-size: 12px; }
.action-btn:hover b { color: var(--primary); }

/* ---------------- 轻提示 ---------------- */
.toast {
  position: fixed; left: 50%; bottom: 28px; z-index: 60; max-width: 620px;
  padding: 9px 14px; border-radius: 4px; color: #fff; background: rgba(23, 35, 61, .92);
  box-shadow: 0 3px 12px rgba(0, 0, 0, .2); opacity: 0; transform: translate(-50%, 12px);
  pointer-events: none; transition: all .2s; font-size: 13px;
}
.toast.show { opacity: 1; transform: translate(-50%, 0); }
.toast.ok { background: rgba(25, 190, 107, .95); }
.toast.err { background: rgba(237, 64, 20, .95); }

.empty-line { padding: 34px 0; text-align: center; color: var(--light); font-size: 13px; }
.empty-line .ivu-icon { display: block; margin-bottom: 6px; font-size: 34px; color: #dbe6f2; }

/* ---------------- 表单 ---------------- */
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px 16px; }
.form-grid .span-2 { grid-column: span 2; }
.form-item label {
  display: block; margin-bottom: 5px; color: var(--sub); font-size: 13px;
}
.form-item label i { color: var(--danger); font-style: normal; margin-right: 3px; }
.form-item small { display: block; margin-top: 4px; color: var(--light); font-size: 12px; }
.fh-input, .fh-select, .fh-textarea {
  width: 100%; height: 34px; padding: 0 10px; color: var(--text);
  border: 1px solid #dcdee2; border-radius: 4px; background: #fff; outline: none;
}
.fh-textarea { height: auto; min-height: 68px; padding: 8px 10px; resize: vertical; line-height: 1.6; }
.fh-input:focus, .fh-select:focus, .fh-textarea:focus { border-color: var(--primary); }
.fh-input[readonly] { background: #f7f8fa; color: var(--muted); }
.fh-input.bad, .fh-select.bad, .fh-textarea.bad { border-color: var(--danger); background: #fff8f7; }
.form-error { margin-top: 10px; color: var(--danger); font-size: 13px; min-height: 18px; }

/* 多选芯片：机构可开通模块、可开展项目都用它 */
.chip-group { display: flex; flex-wrap: wrap; gap: 8px; }
.chip {
  display: inline-flex; align-items: center; gap: 6px; height: 30px; padding: 0 11px;
  border: 1px solid #dcdee2; border-radius: 15px; background: #fff;
  color: var(--sub); font-size: 13px; cursor: pointer; user-select: none;
}
.chip:hover { border-color: var(--primary); color: var(--primary); }
.chip.on { border-color: var(--primary); background: #eaf5ff; color: var(--primary-deep); }
.chip.on .ivu-icon { color: var(--primary); }
.chip.locked { opacity: .5; cursor: not-allowed; }
.chip.locked:hover { border-color: #dcdee2; color: var(--sub); }

.fh-check { display: flex; align-items: flex-start; gap: 8px; color: var(--sub); font-size: 13px; cursor: pointer; }
.fh-check input { margin: 3px 0 0; flex: none; }

/* 省市区三级联动：市与区在上一级选定前禁用 */
.cascade { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.cascade .fh-select:disabled { background: #f7f8fa; color: var(--light); cursor: not-allowed; }

/* 无权限的按钮保持可见但不可点，让人知道功能存在、该找谁开 */
.no-perm { opacity: .45; cursor: not-allowed !important; }

/* 弹层内的分组小标题 */
.sub-head {
  margin: 18px 0 10px; color: var(--text); font-size: 14px; font-weight: 500;
  padding-left: 9px; border-left: 3px solid var(--primary);
}
.sub-head small { margin-left: 8px; color: var(--light); font-size: 12px; font-weight: 400; }

/* 我的权限 / 角色权限：菜单层与动作层逐条对照 */
.perm-list { display: grid; gap: 1px; background: var(--border); border: 1px solid var(--border); border-radius: 4px; }
.perm-row {
  display: flex; align-items: center; gap: 10px; padding: 9px 12px; background: #fff; font-size: 13px;
}
.perm-row b { color: var(--text); font-weight: 500; }
.perm-row small { color: var(--light); font-size: 12px; }
.perm-row .tag { margin-left: auto; }

/* ---------------- 区域示意底图 ---------------- */
/*
 * 演示地名没有真实边界数据，所以这里是一张手绘示意图：
 * 区块按机构数量分四档着色，机构本身用图钉落在所属区县上。
 */
.map-wrap { position: relative; background: linear-gradient(180deg, #f7fbff, #eef4fb); border: 1px solid var(--border); border-radius: 4px; }
/* 固定高度 + meet 缩放：整块图连图例一屏放得下，不用滚动找定位点 */
.region-map { display: block; width: 100%; height: 500px; }
.map-empty { padding: 60px 0; text-align: center; color: var(--light); font-size: 13px; }

.map-area {
  fill: #e9edf2; stroke: #fff; stroke-width: 2.5; cursor: pointer;
  transition: fill .15s;
}
.map-area.lv1 { fill: #cfe4fb; }
.map-area.lv2 { fill: #a8cdf7; }
.map-area.lv3 { fill: #7db4f2; }
.map-area:hover { fill: #ffd591; }
.map-area.active { fill: #ffc069; stroke: var(--warn); stroke-width: 3; }

.map-water { fill: #b6dcf5; stroke: #8fc7ec; stroke-width: 1.5; pointer-events: none; }
.map-water-label { fill: #4a7fa5; font-size: 13px; text-anchor: middle; pointer-events: none; }
.map-river { fill: none; stroke: #9fd0ee; stroke-width: 6; stroke-linecap: round; opacity: .85; pointer-events: none; }

.map-label { fill: var(--sub); font-size: 16px; text-anchor: middle; pointer-events: none; }
.map-count { fill: var(--primary-deep); font-weight: 600; }

.map-pin { cursor: pointer; }
.map-pin .pin-body { fill: var(--danger); stroke: #fff; stroke-width: 1.6; }
.map-pin .pin-dot { fill: #fff; }
.map-pin.off .pin-body { fill: var(--muted); }
.map-pin:hover .pin-body { fill: var(--warn); }

.map-legend {
  display: flex; align-items: center; flex-wrap: wrap; gap: 16px;
  padding: 10px 14px; border-top: 1px solid var(--border); color: var(--sub); font-size: 12px;
}
.map-legend .lg { display: inline-flex; align-items: center; gap: 6px; }
.map-legend .sw { width: 22px; height: 12px; border-radius: 2px; border: 1px solid rgba(0, 0, 0, .06); }
.map-legend .dot { width: 10px; height: 10px; border-radius: 50%; }
.map-legend .grow { margin-left: auto; }

/* ---------------- 筛选条与统计条 ---------------- */
.filter-bar {
  display: flex; align-items: center; flex-wrap: wrap; gap: 10px; padding: 13px 16px;
  background: #fff; border: 1px solid var(--border); border-radius: 4px; margin-bottom: 14px;
}
.filter-bar .fh-input, .filter-bar .fh-select { width: auto; min-width: 150px; height: 32px; }
.filter-bar .grow { margin-left: auto; }
.seg { display: flex; border: 1px solid #dcdee2; border-radius: 4px; overflow: hidden; }
.seg button {
  height: 32px; padding: 0 13px; border: 0; border-right: 1px solid #dcdee2;
  background: #fff; color: var(--sub); cursor: pointer; font-size: 13px; white-space: nowrap;
}
.seg button:last-child { border-right: 0; }
.seg button.on { color: #fff; background: var(--primary); }
.seg button b { font-weight: 600; margin-left: 4px; }

.stat-strip { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; margin-bottom: 14px; }
.stat-card {
  display: flex; align-items: center; gap: 13px; padding: 15px 16px; background: #fff;
  border: 1px solid var(--border); border-radius: 4px;
}
.stat-icon {
  width: 42px; height: 42px; display: grid; place-items: center; border-radius: 4px;
  font-size: 21px; flex: none;
}
.stat-icon.blue { color: var(--primary); background: #eaf5ff; }
.stat-icon.green { color: var(--success); background: #e8f7ef; }
.stat-icon.orange { color: var(--warn); background: #fff4e6; }
.stat-icon.red { color: var(--danger); background: #fff1f0; }
.stat-num { color: var(--text); font-size: 23px; line-height: 1.1; font-weight: 600; }
.stat-label { margin-top: 3px; color: var(--muted); font-size: 12px; }

/* ---------------- 步骤条 ---------------- */
.step-bar { display: flex; align-items: center; gap: 0; }
.step-node { display: flex; align-items: center; gap: 9px; color: var(--muted); }
.step-no {
  width: 26px; height: 26px; display: grid; place-items: center; border-radius: 50%;
  background: #e8eaec; color: #fff; font-size: 13px; flex: none;
}
.step-node b { font-weight: 400; font-size: 13px; white-space: nowrap; }
.step-node.is-active .step-no { background: var(--primary); }
.step-node.is-active b { color: var(--text); font-weight: 500; }
.step-node.is-done .step-no { background: var(--success); }
.step-node.is-done b { color: var(--sub); }
.step-line { width: 56px; height: 1px; margin: 0 12px; background: #dcdee2; flex: none; }

/* ---------------- 说明块 ---------------- */
.notice {
  display: flex; gap: 10px; padding: 12px 14px; border-radius: 4px; font-size: 13px;
  border: 1px solid #d5e8fb; background: #f2f8ff; color: var(--sub); line-height: 1.7;
}
.notice .ivu-icon { font-size: 17px; color: var(--primary); flex: none; margin-top: 2px; }
.notice b { color: var(--text); font-weight: 500; }
.notice.warn { border-color: #ffe0b2; background: #fff9f0; }
.notice.warn .ivu-icon { color: var(--warn); }
.notice.bad { border-color: #ffcdc7; background: #fff5f4; }
.notice.bad .ivu-icon { color: var(--danger); }
.notice.ok { border-color: #c8ecd8; background: #f2fbf6; }
.notice.ok .ivu-icon { color: var(--success); }

/* 一次性密码展示 */
.cred-box {
  display: grid; gap: 10px; padding: 14px 16px; border: 1px dashed #b7d8f7;
  border-radius: 4px; background: #f6fbff;
}
.cred-row { display: flex; align-items: center; gap: 10px; }
.cred-row span { width: 76px; color: var(--muted); font-size: 13px; }
.cred-row code {
  padding: 4px 10px; border-radius: 3px; background: #fff; border: 1px solid var(--border);
  color: var(--primary-deep); font-size: 15px; font-weight: 600; letter-spacing: .6px;
}

@media (max-width: 1450px) {
  .top-nav button { min-width: 78px; padding: 0 11px; }
  .brand-sub { display: none; }
}
