:root {
  --bg: #f5f6f8;
  --card: #ffffff;
  --line: #e6e8ec;
  --line-strong: #d4d8de;
  --text: #1d2129;
  --muted: #86909c;
  --primary: #2b6be4;
  --primary-soft: #eaf1fe;
  --danger: #d93f3f;
  --danger-soft: #fdeeee;
  --warn: #b26a00;
  --warn-soft: #fdf3e3;
  --ok: #1a7f5a;
  --ok-soft: #e7f5ef;
  --radius: 12px;
  --pad: 32px;
  --pad-top: 24px;
}

* { box-sizing: border-box; }

html, body { width: 100%; overflow-x: hidden; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: system-ui, -apple-system, "Segoe UI", "Microsoft YaHei", sans-serif;
  font-size: 14px;
  line-height: 1.6;
}

a { color: var(--primary); text-decoration: none; }

.topbar {
  background: var(--card);
  border-bottom: 1px solid var(--line);
  position: sticky; top: 0; z-index: 20;
}

.topbar-inner {
  width: 100%; height: 58px; padding: 0 32px;
  display: flex; align-items: center; gap: 28px;
}

.brand { display: flex; align-items: center; gap: 12px; color: var(--text); font-weight: 500; }
.brand-logo { height: 30px; width: auto; display: block; }
.brand-divider { width: 1px; height: 18px; background: var(--line); }
.brand-name { font-size: 13px; color: var(--muted); letter-spacing: .3px; }

.nav { display: flex; gap: 22px; flex: 1; }
.nav-link { color: var(--muted); font-size: 13px; padding: 18px 0; border-bottom: 2px solid transparent; }
.nav-link.on { color: var(--text); border-bottom-color: var(--primary); }
.nav-link:hover { color: var(--text); }

.topbar-right { display: flex; align-items: center; gap: 10px; }
.avatar {
  width: 28px; height: 28px; border-radius: 50%;
  background: var(--primary-soft); color: var(--primary);
  display: flex; align-items: center; justify-content: center; font-size: 12px;
}
.who { font-size: 13px; color: var(--muted); }

.wrap { width: 100%; padding: var(--pad-top) var(--pad) 48px; }

.card {
  background: var(--card); border: 1px solid var(--line);
  border-radius: var(--radius); padding: 20px;
}

.page-title { font-size: 18px; font-weight: 500; margin: 0 0 4px; }
.page-sub { color: var(--muted); font-size: 13px; margin: 0 0 20px; }

.btn {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 7px 16px; border-radius: 8px;
  border: 1px solid var(--primary); background: var(--primary); color: #fff;
  font-size: 13px; cursor: pointer; font-family: inherit;
}
.btn:hover { opacity: .92; }
.btn-ghost {
  padding: 6px 14px; border-radius: 8px; cursor: pointer; font-family: inherit;
  border: 1px solid var(--line-strong); background: #fff; color: var(--text); font-size: 13px;
}
.btn-ghost:hover { border-color: var(--primary); color: var(--primary); }
.btn-sm { padding: 4px 10px; font-size: 12px; }
.inline { display: inline; }

.field { margin-bottom: 16px; }
.field label { display: block; font-size: 13px; margin-bottom: 6px; }
.field .hint { font-size: 12px; color: var(--muted); margin-top: 4px; }
input[type=text], input[type=password], input[type=email], select, textarea {
  width: 100%; padding: 9px 12px; font-size: 14px; font-family: inherit;
  border: 1px solid var(--line-strong); border-radius: 8px; background: #fff; color: var(--text);
}
input:focus, select:focus, textarea:focus { outline: none; border-color: var(--primary); }
textarea { resize: vertical; min-height: 72px; }

.alert { padding: 10px 14px; border-radius: 8px; font-size: 13px; margin-bottom: 16px; }
.alert-error { background: var(--danger-soft); color: var(--danger); }
.alert-ok { background: var(--ok-soft); color: var(--ok); }
.alert-warn { background: var(--warn-soft); color: var(--warn); }

.section-head {
  display: flex; align-items: baseline; gap: 10px;
  margin: 6px 0 14px; font-size: 14px; font-weight: 500;
}
.section-head .count { font-size: 12px; color: var(--muted); font-weight: 400; }

.grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(128px, 1fr));
  gap: 16px;
}

.app-card {
  background: var(--card); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 18px 12px 14px; display: flex; flex-direction: column; align-items: center;
  text-align: center; color: var(--text); transition: border-color .15s, transform .15s;
}
.app-card:hover { border-color: var(--primary); transform: translateY(-1px); }
.app-icon {
  width: 48px; height: 48px; border-radius: 12px;
  display: flex; align-items: center; justify-content: center;
  font-size: 18px; font-weight: 600; margin-bottom: 10px;
  background: var(--primary-soft); color: var(--primary);
}
.app-name { font-size: 14px; font-weight: 600; }
.app-desc { font-size: 12px; color: var(--muted); margin-top: 4px; min-height: 18px; line-height: 1.5; }

/* 卡片底部的可见范围徽标（内网 / 公开） */
.tile-vis {
  margin-top: 8px; font-size: 11px; padding: 2px 10px;
  border-radius: 999px; white-space: nowrap;
}
.tile-vis-intranet { background: #f2f3f5; color: #6b7280; }
.tile-vis-public   { background: var(--ok-soft); color: var(--ok); }
.tag { margin-top: 8px; font-size: 11px; padding: 1px 7px; border-radius: 5px; }
.tag-public { background: var(--ok-soft); color: var(--ok); }
.tag-locked { background: var(--warn-soft); color: var(--warn); }

.hero {
  position: relative;
  width: calc(100% + var(--pad) * 2);
  margin: calc(var(--pad-top) * -1) calc(var(--pad) * -1) 22px;
  height: 280px;
  overflow: hidden;
  background: #16305e;
}
.hero-slide {
  position: absolute; inset: 0; display: block;
  background-size: cover; background-position: center; background-repeat: no-repeat;
  opacity: 0; transition: opacity .5s ease;
}
.hero-slide.on { opacity: 1; }
.hero-fallback {
  position: absolute; inset: 0;
  display: flex; flex-direction: column; justify-content: center;
  padding: 0 var(--pad); color: #fff;
}
.hero-fallback h1 { font-size: 24px; font-weight: 500; margin: 0 0 8px; }
.hero-fallback p { font-size: 13px; margin: 0; color: #b9c9e6; }
.hero-dots {
  position: absolute; left: 0; right: 0; bottom: 14px;
  display: flex; justify-content: center; gap: 7px;
}
.hero-dot { width: 6px; height: 6px; border-radius: 50%; background: rgba(255,255,255,.45); }
.hero-dot.on { background: #fff; }

.home-layout {
  display: grid;
  grid-template-columns: minmax(0, 2fr) minmax(0, 1fr);
  gap: 20px; align-items: start;
}

.panel {
  background: var(--card); border: 1px solid var(--line);
  border-radius: var(--radius); padding: 20px 22px;
}
.panel-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 16px; }
.panel-title { font-size: 15px; font-weight: 500; }
.panel-link { font-size: 12px; color: var(--muted); }
.panel-link:hover { color: var(--primary); }

.todo-item { padding: 12px 0; border-bottom: 1px solid var(--line); display: flex; gap: 10px; align-items: flex-start; }
.todo-item:last-child { border-bottom: none; }
.todo-dot { width: 7px; height: 7px; border-radius: 50%; background: var(--primary); margin-top: 7px; flex: 0 0 7px; }
.todo-title { font-size: 13px; margin: 0; }
.todo-body { font-size: 12px; color: var(--muted); margin: 2px 0 0; }
.todo-time { font-size: 11px; color: var(--muted); margin-top: 4px; }

.app-tile {
  position: relative;
  background: var(--card); border: 1px solid #eef0f3; border-radius: 12px;
  padding: 20px 12px 16px; display: flex; flex-direction: column; align-items: center;
  text-align: center; transition: box-shadow .15s, border-color .15s;
}
.app-tile:hover { border-color: #e3e6eb; box-shadow: 0 4px 14px rgba(23,35,61,.08); }
.tile-action { position: absolute; top: 8px; right: 8px; }
.mini-btn {
  width: 24px; height: 24px; border-radius: 7px; cursor: pointer;
  border: 1px solid var(--line-strong); background: #fff; color: var(--muted);
  font-size: 15px; line-height: 1; display: flex; align-items: center; justify-content: center;
  font-family: inherit; padding: 0;
}
.mini-btn:hover { border-color: var(--primary); color: var(--primary); background: var(--primary-soft); }
.mini-btn.on { background: var(--primary); border-color: var(--primary); color: #fff; }
.mini-btn.on:hover { background: #1f57c4; border-color: #1f57c4; color: #fff; }

.admin-layout { display: flex; width: 100%; min-height: calc(100vh - 58px); align-items: stretch; }
.admin-side {
  width: 210px; flex: 0 0 210px; background: var(--card);
  border-right: 1px solid var(--line); padding: 18px 12px;
}
.side-group { font-size: 11px; color: var(--muted); padding: 8px 12px 6px; }
.side-link { display: block; padding: 9px 12px; border-radius: 8px; font-size: 13px; color: var(--text); margin-bottom: 2px; }
.side-link:hover { background: #f5f6f8; }
.side-link.on { background: var(--primary-soft); color: var(--primary); }
.admin-main { flex: 1; min-width: 0; padding: var(--pad-top) var(--pad) 48px; }

.auth-split { display: flex; width: 100%; min-height: 100vh; }
.auth-brand {
  flex: 0 0 46%; background: #16305e; color: #fff;
  padding: 56px 56px 40px; display: flex; flex-direction: column; justify-content: space-between;
}
.auth-brand .logo { display: flex; align-items: center; gap: 12px; font-size: 13px; }
/* 蓝色 logo 放到深色底上会糊，垫一块白色圆角片 */
.auth-brand .logo .logo-chip {
  background: #fff; border-radius: 10px; padding: 7px 12px;
  display: flex; align-items: center; box-shadow: 0 2px 10px rgba(0,0,0,.18);
}
.auth-brand .logo .logo-chip img { height: 26px; width: auto; display: block; }
.auth-brand .logo .logo-text { color: #cddcf5; letter-spacing: .3px; font-size: 13px; }
.auth-brand h2 { font-size: 30px; font-weight: 500; line-height: 1.35; margin: 0 0 14px; }
.auth-brand p { font-size: 14px; color: #b9c9e6; margin: 0; max-width: 380px; }
.auth-brand .copy { font-size: 12px; color: #7d93ba; }

.auth-form-wrap { flex: 1; display: flex; align-items: center; justify-content: center; padding: 40px 24px; background: var(--card); }
.auth-form { width: 100%; max-width: 360px; }
.auth-form .title { font-size: 22px; font-weight: 500; margin: 0 0 6px; }
.auth-form .sub { font-size: 13px; color: var(--muted); margin: 0 0 28px; }

@media (max-width: 1024px) {
  .home-layout { grid-template-columns: minmax(0, 1fr); }
  .auth-brand { display: none; }
}

@media (max-width: 720px) {
  :root { --pad: 16px; --pad-top: 16px; }
  .topbar-inner { padding: 0 16px; gap: 14px; }
  /* 窄屏上只留图形，腾出空间给导航 */
  .brand-logo { height: 26px; }
  .brand-divider, .brand-name { display: none; }
  .wrap, .admin-main { padding: var(--pad-top) var(--pad) 40px; }
  .admin-side { width: 148px; flex: 0 0 148px; padding: 12px 8px; }
  .grid { grid-template-columns: repeat(auto-fill, minmax(110px, 1fr)); }
  .hero { height: 200px; }
  .hero-fallback h1 { font-size: 19px; }
}

input[type=file] { font-size: 13px; font-family: inherit; }

table { width: 100%; border-collapse: collapse; font-size: 13px; }
th { text-align: left; font-weight: 500; color: var(--muted); font-size: 12px; padding: 10px 12px; border-bottom: 1px solid var(--line); }
td { padding: 12px; border-bottom: 1px solid var(--line); }
tr:last-child td { border-bottom: none; }
.badge { font-size: 11px; padding: 1px 7px; border-radius: 5px; background: #f2f3f5; color: var(--muted); }
.badge-on { background: var(--ok-soft); color: var(--ok); }
.badge-off { background: var(--danger-soft); color: var(--danger); }

.stats { display: grid; grid-template-columns: repeat(auto-fit, minmax(160px, 1fr)); gap: 14px; margin-bottom: 24px; }
.stat { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 16px 18px; }
.stat-label { font-size: 12px; color: var(--muted); }
.stat-value { font-size: 26px; font-weight: 500; margin-top: 2px; }

.checkbox-list { max-height: 320px; overflow: auto; border: 1px solid var(--line); border-radius: 8px; padding: 10px 14px; }
.checkbox-list label { display: flex; align-items: center; gap: 8px; font-size: 13px; padding: 6px 0; margin: 0; }
.checkbox-list input { width: auto; }

.empty { text-align: center; color: var(--muted); padding: 48px 20px; font-size: 13px; }
.empty .btn { margin-top: 14px; }

.foot { text-align: center; color: var(--muted); font-size: 12px; padding: 28px 24px; }

/* ───── 页面标题条（审批、安全、邮件等页共用）───── */
.page-head {
  display: flex; align-items: flex-start; justify-content: space-between;
  gap: 16px; margin-bottom: 4px;
}
.page-head h1 { font-size: 19px; font-weight: 500; margin: 0 0 4px; }
.page-head .page-sub { margin-bottom: 20px; }

/* ───── 审批状态 ───── */
.status-tag { font-size: 11px; padding: 2px 8px; border-radius: 999px; white-space: nowrap; }
.st-pending   { background: var(--warn-soft);   color: var(--warn); }
.st-approved  { background: var(--ok-soft);     color: var(--ok); }
.st-rejected  { background: var(--danger-soft); color: var(--danger); }
.st-cancelled { background: #f2f3f5;            color: var(--muted); }

/* ───── 申请详情：左内容右操作 ───── */
.req-layout { display: grid; grid-template-columns: minmax(0, 1fr) 300px; gap: 18px; align-items: start; }
.req-layout > aside { display: flex; flex-direction: column; gap: 18px; }
.req-layout .card + .card { margin-top: 18px; }
.req-layout aside .card + .card { margin-top: 0; }

/* ───── 时间线 ───── */
.timeline { position: relative; padding-left: 4px; }
.tl-item { position: relative; padding: 0 0 20px 22px; }
.tl-item:last-child { padding-bottom: 0; }
.tl-item::before {
  content: ''; position: absolute; left: 5px; top: 14px; bottom: 0;
  width: 1px; background: var(--line);
}
.tl-item:last-child::before { display: none; }
.tl-dot {
  position: absolute; left: 0; top: 5px; width: 11px; height: 11px;
  border-radius: 50%; background: #fff; border: 2px solid var(--line-strong);
}
.tl-dot.tl-submit  { border-color: var(--primary); }
.tl-dot.tl-approve { border-color: var(--ok); background: var(--ok); }
.tl-dot.tl-reject  { border-color: var(--danger); background: var(--danger); }
.tl-dot.tl-cancel  { border-color: var(--muted); }
.tl-dot.tl-pending { border-color: var(--warn); border-style: dashed; animation: none; }
.tl-title { margin: 0; font-size: 13px; font-weight: 500; }
.tl-body { margin: 4px 0 0; font-size: 13px; color: #455066; line-height: 1.7; }
.tl-time { margin: 4px 0 0; font-size: 12px; color: var(--muted); }

@media (max-width: 900px) {
  .req-layout { grid-template-columns: minmax(0, 1fr); }
}

/* 应用卡片上的「申请权限」小字 */
.tile-apply {
  font-size: 11px; color: var(--primary); text-decoration: none;
  margin-top: 6px; border-bottom: 1px solid currentColor; line-height: 1.4;
}
.tile-apply:hover { opacity: .75; }

/* ───── 审计日志 ───── */
.audit-filter {
  display: flex; gap: 8px; flex-wrap: wrap; align-items: center; margin-bottom: 16px;
}
.audit-filter select, .audit-filter input[type=text] { width: auto; }
.audit-filter input[type=text] { flex: 1; min-width: 180px; max-width: 320px; }
.audit-filter input[type=date] { width: auto; }
.audit-tag { font-size: 11px; padding: 2px 8px; border-radius: 5px; white-space: nowrap; background: #f2f3f5; color: #5b6472; }
.ac-登录 { background: #eef3ff; color: #2b5bd7; }
.ac-安全 { background: #f3ecff; color: #6b3fd1; }
.ac-账号 { background: #e9f7f1; color: #1a7f5a; }
.ac-应用 { background: #fff4e5; color: #a4620a; }
.ac-横幅 { background: #fdeef6; color: #a52a6b; }
.ac-审批 { background: #e8f5ff; color: #16618f; }
.pager { display: flex; gap: 12px; align-items: center; justify-content: center; margin-top: 20px; }
.pager a { text-decoration: none; }

/* ───── 人事档案 / 个人信息 ───── */
.person-layout {
  display: grid; grid-template-columns: 300px minmax(0, 1fr);
  gap: 18px; align-items: start;
}
.person-layout > aside { display: flex; flex-direction: column; gap: 18px; }
.person-layout .card + .card { margin-top: 0; }
.form-grid {
  display: grid; grid-template-columns: 1fr 1fr; gap: 0 18px;
}
.form-grid .field { margin-bottom: 14px; }
.avatar-img { width: 32px; height: 32px; border-radius: 50%; object-fit: cover; display: block; }
.avatar-ph {
  width: 32px; height: 32px; border-radius: 50%; background: var(--primary-soft); color: var(--primary);
  display: inline-flex; align-items: center; justify-content: center; font-size: 13px;
}
.avatar-lg { width: 84px; height: 84px; font-size: 30px; margin: 0 auto; }
.avatar-img.avatar-lg { border-radius: 50%; }

@media (max-width: 900px) {
  .person-layout { grid-template-columns: minmax(0, 1fr); }
  .form-grid { grid-template-columns: 1fr; }
}

/* ───── 全高侧栏（应用中心 / BPM 共用，风格对齐后台）───── */
.side-page {
  display: flex; width: 100%; min-height: calc(100vh - 58px); align-items: stretch;
}
.side-nav {
  width: 210px; flex: 0 0 210px; background: var(--card);
  border-right: 1px solid var(--line); padding: 18px 12px;
}
.side-nav .side-group { font-size: 11px; color: var(--muted); padding: 8px 12px 6px; }
.side-nav a.side-link { text-decoration: none; }
.side-nav a.side-link.with-n { display: flex; justify-content: space-between; align-items: center; gap: 8px; }
.side-nav a.side-link .n { font-size: 11px; color: var(--muted); }
.side-nav a.side-link.on .n { color: var(--primary); }
.side-page-main { flex: 1; min-width: 0; padding: var(--pad-top) var(--pad) 48px; }
.apps-cat { scroll-margin-top: 20px; }

@media (max-width: 900px) {
  .side-page { flex-direction: column; min-height: 0; }
  .side-nav {
    width: 100%; flex: none; border-right: none; border-bottom: 1px solid var(--line);
    display: flex; gap: 6px; overflow-x: auto; padding: 8px 12px;
  }
  .side-nav .side-group { display: none; }
  .side-nav a.side-link { white-space: nowrap; margin: 0; }
  .side-nav a.side-link.with-n { gap: 6px; }
  .side-page-main { padding: 16px var(--pad) 40px; }
}

/* 固定应用的小标签 */
.tile-pin {
  position: absolute; top: 8px; right: 8px;
  font-size: 10px; padding: 2px 7px; border-radius: 999px;
  background: var(--primary-soft); color: var(--primary);
}

/* 顶栏头像链接 */
.who-link { display: flex; align-items: center; gap: 8px; color: var(--text); text-decoration: none; }
.who-link:hover .who { color: var(--primary); }

/* BPM 页面标题条 */
.bpm-head { margin-bottom: 16px; }
.bpm-head h1 { font-size: 19px; font-weight: 500; margin: 0 0 4px; }
.bpm-head p { font-size: 13px; color: var(--muted); margin: 0; }

/* 申请管理权限的醒目标记 */
.role-flag {
  font-size: 11px; padding: 2px 8px; border-radius: 999px;
  background: #fef3c7; color: #92400e; border: 1px solid #fcd34d; white-space: nowrap;
}

/* 图标支持上传图片：图片铺满图标方块，自动裁成同形状 */
.app-icon { overflow: hidden; }
.app-icon img {
  width: 100%; height: 100%; object-fit: cover; display: block; border-radius: inherit;
}

/* 应用编辑页：图标编辑区与颜色色板 */
.icon-editor { display: flex; gap: 14px; align-items: flex-start; }
.icon-swatches { display: flex; gap: 6px; flex-wrap: wrap; align-items: center; }
.swatch-opt {
  display: inline-flex; align-items: center; gap: 4px; cursor: pointer; margin: 0;
}
.swatch-opt input { width: auto; margin: 0; }
.swatch {
  width: 22px; height: 22px; border-radius: 6px; display: inline-block;
  border: 1px solid rgba(0,0,0,.08); font-size: 11px; line-height: 22px; text-align: center; color: #403e3a;
}
.swatch-auto { background: #f2f3f5; }

/* ───── 首页卡片：固定大小，字多也不拉伸 ───── */
.app-card {
  min-width: 0; height: 128px; justify-content: center;
}
.app-card .app-name,
.app-card .app-desc {
  max-width: 100%; overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
}
.app-card .app-desc { min-height: 0; }

/* ───── 应用管理：横版卡片（左图标 / 右名称+描述），固定大小 ───── */
.apps-grid {
  display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: 14px;
}
.app-row {
  display: flex; align-items: center; gap: 12px;
  background: var(--card); border: 1px solid #eef0f3; border-radius: 12px;
  padding: 14px 14px; height: 84px; min-width: 0;
  color: var(--text); text-decoration: none;
  transition: box-shadow .15s, border-color .15s;
  position: relative;
}
.app-row:hover { border-color: #e3e6eb; box-shadow: 0 4px 14px rgba(23,35,61,.08); }
.app-row .app-icon { flex: none; margin-bottom: 0; }
.app-row .row-body { flex: 1; min-width: 0; display: flex; flex-direction: column; justify-content: center; }
.app-row .app-name { display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.app-row .app-desc {
  display: block; margin-top: 3px; min-height: 0; line-height: 1.4;
  overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
}
.app-row .row-foot { position: absolute; right: 10px; bottom: 8px; display: flex; gap: 6px; }

/* ───── 顶栏右上角：悬停姓名出下拉菜单 ───── */
.user-menu { position: relative; display: flex; align-items: center; }
.user-menu-name {
  display: flex; align-items: center; gap: 8px; cursor: pointer; user-select: none;
  padding: 6px 8px; border-radius: 8px;
}
.user-menu-name:hover { background: #f2f3f5; }
.user-caret { font-size: 10px; color: var(--muted); }
.user-drop {
  display: none; position: absolute; right: 0; top: 100%;
  min-width: 140px; background: var(--card);
  border: 1px solid var(--line); border-radius: 10px;
  box-shadow: 0 8px 24px rgba(23,35,61,.12); padding: 6px; z-index: 60;
  /* 桥接悬停间隙，鼠标从姓名移到菜单不会中断 */
  margin-top: 0;
}
.user-menu-name::after {
  content: ''; position: absolute; left: 0; right: 0; top: 100%; height: 10px;
}
.user-menu:hover .user-drop, .user-drop:hover { display: block; }
.user-drop form { margin: 0; }
.user-drop button {
  display: block; width: 100%; text-align: left; padding: 9px 12px;
  background: none; border: none; border-radius: 7px; cursor: pointer;
  font-size: 13px; color: var(--text); font-family: inherit;
}
.user-drop button:hover { background: var(--danger-soft); color: var(--danger); }

.tl-dot.tl-revoke { border-color: #d97706; background: #fbbf24; }

/* ───── 首页横幅：翻页箭头与可点页码 ───── */
.hero-arrow {
  position: absolute; top: 50%; transform: translateY(-50%);
  width: 36px; height: 36px; border: none; border-radius: 50%;
  background: rgba(0,0,0,.28); color: #fff;
  font-size: 22px; line-height: 34px; text-align: center;
  cursor: pointer; z-index: 5; padding: 0;
  opacity: .55; transition: opacity .15s, background .15s;
}
.hero-arrow:hover { opacity: 1; background: rgba(0,0,0,.45); }
.hero-arrow-left { left: 14px; }
.hero-arrow-right { right: 14px; }
.hero-dot {
  width: 7px; height: 7px; border: none; padding: 0;
  border-radius: 50%; background: rgba(255,255,255,.45);
  cursor: pointer; transition: background .15s, transform .15s;
}
.hero-dot.on { background: #fff; transform: scale(1.25); }
.hero-dot:hover { background: rgba(255,255,255,.8); }

.badge-warn { background: #fff4e5; color: #b45309; }
