:root {
  --bg-1: #f6fbff;
  --bg-2: #E3F2FD;
  --primary: #1E88E5;
  --primary-2: #1565C0;
  --accent: #2077C9;
  --success: #2fb87b;
  --warning: #ff9f1a;
  --danger: #ff5a7a;
  --text: #102a43;
  --text-dim: #4c5d78;
  --card: #ffffff;
  --card-hover: #fbfdff;
  --border: rgba(21,101,192,0.18);
  --shadow: 0 8px 20px rgba(21,101,192,0.12);
  --entry-height: 96px;
}

* { box-sizing: border-box; }
/*html, body { height: 100%; }*/
body {
  margin: 0;
  color: var(--text);
  font: 15px/1.6 -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", Arial, sans-serif !important;
  background:
          url('../img/b1.png') center -40px/cover no-repeat fixed,
          radial-gradient(1200px 600px at 15% -10%, #e3ecff 10%, transparent 60%),
          radial-gradient(800px 400px at 85% 0%, #edf3ff 10%, transparent 60%),
          linear-gradient(180deg, var(--bg-1), var(--bg-2));
  min-height: 100vh;
}

a { color: inherit; text-decoration: none; }
a:hover, a:focus { text-decoration: none !important; }
.lh-container { width: min(1200px, 100% - 48px); margin: 0 auto; }

header.lh-header {
  position: sticky; top: 0; z-index: 30;
  backdrop-filter: saturate(1.2) blur(10px);
  background: rgba(30,136,229,0.86);
  color: #fff;
  border-bottom: 1px solid rgba(255,255,255,0.12);
}
.lh-nav { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 18px; padding: 20px 0; }
.lh-brand { display: flex; align-items: center; gap: 22px; }
.lh-brand-logo { width: 76px; height: 76px; border-radius: 12px; display: block; object-fit: cover; border: none; box-shadow: 0 6px 16px rgba(43,110,243,0.38); }
.lh-brand-title { font-weight: 800; letter-spacing: 3.2px; font-size: 30px; line-height: 1.2; color: #fff; position: relative; display: inline-block; }
.lh-brand-title::after { content: ""; display: block; width: 100%; height: 2px; margin-top: 6px; background: linear-gradient(90deg, rgba(255,255,255,0), rgba(255,255,255,0.95), rgba(255,255,255,0)); border-radius: 999px; }
.lh-brand-sub { font-size: 15px; color: rgba(255,255,255,0.9); letter-spacing: 0.4px; display: inline-block; white-space: nowrap; font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Arial, sans-serif; }

.lh-nav-actions { justify-self: center; }
.lh-nav-actions .lh-pill { display: inline-flex; align-items: center; gap: 10px; padding: 8px 14px; border: 1px solid rgba(255,255,255,0.25); border-radius: 999px; color: #fff; background: rgba(255,255,255,0.15); }

.lh-user { justify-self: end; display: flex; align-items: center; gap: 10px; }
.lh-user .lh-btn { padding: 8px 14px; border-radius: 10px; border: 1px solid rgba(255,255,255,0.35); background: transparent; color: #fff; font-weight: 600; }
.lh-user .lh-btn.lh-primary { background: var(--primary-2); color: #fff; border: none; box-shadow: 0 6px 14px rgba(21,101,192,0.25); }
.lh-user .lh-btn.lh-primary:hover { background: var(--primary); }
.lh-user .lh-user-info { margin-right: 20px; display: inline-flex; align-items: center; gap: 8px; padding: 0; border-radius: 0; border: none; background: transparent; color: #fff; font-weight: 600; }
.lh-user .lh-user-info:hover { background: transparent; }
.lh-user .lh-user-info svg { width: 18px; height: 18px; }
.lh-user .lh-user-label { opacity: .9; }
.lh-user .lh-user-name { font-weight: 700; }

.lh-hero { padding: 24px 0 24px; position: relative; }
.lh-hero .lh-headline { font-size: 28px; font-weight: 800; color: var(--primary); }
.lh-hero .lh-subline { color: var(--text-dim); margin-top: 8px; }
.lh-hero .lh-halo { position: absolute; inset: -60px auto auto 50%; transform: translateX(-50%); width: 800px; height: 220px; filter: blur(50px); background: radial-gradient(closest-side, rgba(43,110,243,0.22), transparent 70%); pointer-events: none; }

.lh-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: 22px; }
.lh-tiles { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; margin-top: 16px; }
@media (max-width: 900px) { .lh-tiles { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 620px) { .lh-tiles { grid-template-columns: 1fr; } }

.lh-tile { display: grid; grid-template-rows: auto 1fr auto; gap: 8px; padding: 18px; border-radius: 16px; background: #fff; border: 1px solid var(--border); box-shadow: var(--shadow); transition: transform .2s ease, box-shadow .2s ease, background .2s ease, border-color .2s ease; position: relative; }
.lh-side-panel .lh-tile { min-height: var(--entry-height); padding: 14px; grid-template-columns: 44px 1fr; grid-template-rows: auto auto auto; align-items: center; column-gap: 10px; background: rgba(255,255,255,0.65); }
.lh-side-panel .lh-tile .lh-icon { width: 40px; height: 40px; border-radius: 12px; }
.lh-side-panel .lh-tile h3 { font-size: 15px; margin: 0; grid-column: 2; grid-row: 1; align-self: center; }
.lh-side-panel .lh-tile .lh-icon { grid-column: 1; grid-row: 1; display: grid; place-items: center; }
.lh-side-panel .lh-tile p { font-size: 12px; grid-column: 1 / -1; grid-row: 2; }
.lh-side-panel .lh-tile .lh-cta { margin-top: 4px; grid-column: 1 / -1; grid-row: 3; }
.lh-tile:hover { transform: translateY(-6px) scale(1.02); box-shadow: 0 20px 36px rgba(20,56,120,.25), 0 0 0 2px rgba(30,136,229,.35); background: #fff; border-color: rgba(30,136,229,.45); }
.lh-tile .lh-icon { width: 52px; height: 52px; border-radius: 14px; display: grid; place-items: center; }
.lh-tile h3 { margin: 4px 0 0; font-size: 16px; color: var(--primary-2); }
.lh-tile p { margin: 0; color: var(--text-dim); font-size: 13px; }
.lh-tile .lh-cta { margin-top: 6px; color: var(--primary); font-weight: 700; }
.lh-tile:hover h3 { color: var(--primary); }
.lh-tile:hover .lh-cta { color: var(--primary-2); text-decoration: underline; }

.lh-badge { position: absolute; top: 16px; right: 16px; font-size: 12px; padding: 4px 8px; border-radius: 999px; }
.lh-badge-menu { background: rgba(30,136,229,.12); color: var(--primary); border: 1px solid rgba(30,136,229,.28); }
.lh-badge-entry { background: rgba(30,136,229,.10); color: var(--primary); border: 1px solid rgba(30,136,229,.24); }

.lh-dropdown { position: absolute; left: 18px; right: 18px; top: calc(100% + 2px); background: #fff; border: 1px solid var(--border); border-radius: 14px; box-shadow: 0 16px 28px rgba(20,56,120,.16); padding: 8px; display: none; z-index: 10; }
.lh-dropdown a { display: block; padding: 10px 12px; color: var(--text); border-radius: 10px; }
.lh-dropdown a:hover { background: #f4f8ff; color: var(--primary); }
.lh-menu-item:hover .lh-dropdown, .lh-menu-item:focus-within .lh-dropdown { display: block !important; }

.lh-menu-bar { display: grid; grid-template-columns: repeat(5, 1fr); gap: 18px; margin-top: 8px; }
@media (max-width: 900px) { .lh-menu-bar { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 620px) { .lh-menu-bar { grid-template-columns: repeat(2, 1fr); } }
.lh-menu-item { position: relative; padding: 10px 12px; border-radius: 10px; background: #fff; border: 1px solid var(--border); box-shadow: var(--shadow); display: grid; grid-template-columns: 36px auto 16px; align-items: center; gap: 8px; }
.lh-menu-icon { width: 36px; height: 36px; border-radius: 10px; display: grid; place-items: center; }
.lh-menu-label { font-weight: 600; color: var(--text); }
.lh-menu-caret { position: absolute; right: 12px; top: 12px; color: var(--text-dim); }
.lh-menu-item .lh-dropdown { left: 10px; right: 10px; }
.lh-menu--home  .lh-menu-icon { background: linear-gradient(135deg,#cfe7ff,#78b3f1); }
.lh-menu--policy .lh-menu-icon { background: linear-gradient(135deg,#bfe0ff,#1E88E5); }
.lh-menu--process .lh-menu-icon { background: linear-gradient(135deg,#b9d8ff,#1565C0); }
.lh-menu--system  .lh-menu-icon { background: linear-gradient(135deg,#b9d8ff,#1565C0); }
.lh-menu--notice  .lh-menu-icon { background: linear-gradient(135deg,#d9ecff,#6fb2f3); }
.lh-menu--phone   .lh-menu-icon { background: linear-gradient(135deg,#c6e0ff,#1E88E5); }

.lh-tile--home  .lh-icon { background: linear-gradient(135deg,#cfe7ff,#78b3f1); }
.lh-tile--policy .lh-icon { background: linear-gradient(135deg,#bfe0ff,#1E88E5); }
.lh-tile--process .lh-icon { background: linear-gradient(135deg,#b9d8ff,#1565C0); }
.lh-tile--permit .lh-icon { background: linear-gradient(135deg,#b5dcff,#1E88E5); }
.lh-tile--talent .lh-icon { background: linear-gradient(135deg,#c8e2ff,#2077C9); }
.lh-tile--expert .lh-icon { background: linear-gradient(135deg,#bddcff,#1565C0); }
@media (max-width: 900px) { .lh-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 620px) { .lh-grid { grid-template-columns: 1fr; } }

.lh-card { position: relative; background: var(--card); border: 1px solid var(--border); border-radius: 16px; padding: 22px; box-shadow: var(--shadow); transition: transform .25s ease, background .25s ease, border-color .25s ease; overflow: hidden; }
.lh-card::before { content: ""; position: absolute; inset: 0; border-radius: 16px; padding: 1.5px; background: linear-gradient(120deg, rgba(30,136,229,.5), rgba(90,160,250,.35)); -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor; mask-composite: exclude; pointer-events: none; }
.lh-card:hover { transform: translateY(-8px) scale(1.01); background: var(--card-hover); border-color: rgba(30,136,229,0.45); box-shadow: 0 22px 40px rgba(20,56,120,.26), 0 0 0 2px rgba(30,136,229,.35); }
.lh-card:hover h3 { color: var(--primary); }
.lh-card:hover .lh-cta { color: var(--primary-2); text-decoration: underline; }
.lh-card .lh-icon { width: 56px; height: 56px; border-radius: 14px; display: grid; place-items: center; margin-bottom: 12px; background: linear-gradient(135deg, rgba(30,136,229,.18), rgba(21,101,192,.18)); border: 1px solid rgba(21,101,192,0.12); }
.lh-card h3 { margin: 6px 0 4px; font-size: 18px; color: var(--primary-2); }
.lh-card p { margin: 0; color: var(--text-dim); font-size: 13px; }
.lh-card .lh-cta { margin-top: 14px; display: inline-flex; align-items: center; gap: 8px; color: var(--primary-2); font-weight: 600; }

.lh-columns { display: grid; grid-template-columns: 2fr 1.2fr; gap: 20px; margin-top: 26px; align-items: start; }
@media (max-width: 900px) { .lh-columns { grid-template-columns: 1fr; } }
.lh-side-panel { display: grid; gap: 18px; }
.lh-side-panel .lh-tiles { grid-template-columns: 1fr; }

.lh-panel { background: rgba(255,255,255,0.65); border: 1px solid var(--border); border-radius: 16px; box-shadow: var(--shadow); overflow: hidden; }
.lh-panel header { display: flex; align-items: center; justify-content: space-between; padding: 14px 18px; background: rgba(255,255,255,0.65); border-bottom: 1px solid var(--border); }
.lh-tabs { display: flex; align-items: center; gap: 30px; }
.lh-tabs a { color: var(--text-dim); font-weight: 700; font-size: 16px; border-bottom: 2px solid transparent; padding-bottom: 6px; display: inline-block; transition: none; }
.lh-tabs a.active { color: var(--primary); border-bottom-color: var(--primary); }
.lh-panel header h4 { margin: 0; font-size: 15px; letter-spacing: .3px; }
.lh-panel .lh-list { padding: 10px 6px; }
/* 固定为六条数据的高度（先提供像素回退，再使用动态变量计算） */
.lh-list#homeTopNoticeContainer { min-height: 405px; overflow: hidden; }
.lh-panel .lh-item { cursor: pointer; }
.lh-panel .lh-item { display: grid; grid-template-columns: 1fr auto; align-items: center; gap: 12px; padding: 10px 12px; border-bottom: 1px dashed rgba(255,255,255,0.08); transition: background .2s ease, box-shadow .2s ease, transform .2s ease, border-color .2s ease; }
.lh-panel .lh-item:last-child { border-bottom: none; }
.lh-panel .lh-item .lh-title { font-weight: 600; }
.lh-panel .lh-item .lh-meta { color: var(--text-dim); font-size: 12px; }
.lh-panel .lh-item .lh-tag { font-size: 12px; color: var(--primary-2) !important; background: rgba(43,110,243,.12); border: 1px solid rgba(43,110,243,.28); padding: 4px 8px; border-radius: 999px; font-weight: 600; }
.lh-panel .lh-item:hover { background: #fff; border-radius: 10px; box-shadow: inset 3px 0 0 rgba(30,136,229,.6), 0 12px 22px rgba(20,56,120,.18); transform: translateY(-2px); }
.lh-panel .lh-item:hover .lh-title { color: var(--primary-2); }
.lh-panel .lh-item:hover .lh-meta { color: var(--primary); }
.lh-panel header .lh-link { color: var(--primary-2); font-weight: 600; padding: 6px 10px; border-radius: 999px; background: rgba(30,136,229,.12); border: 1px solid rgba(30,136,229,.25); text-decoration: none; }
.lh-panel header .lh-link:hover { background: rgba(30,136,229,.18); color: var(--primary); text-decoration: none; }

.lh-columns { position: relative; }
.lh-columns .lh-panel::after { content: ""; position: absolute; top: 8px; bottom: 8px; right: -12px; width: 8px; border-radius: 999px; background: linear-gradient(180deg, rgba(30,136,229,0.08), rgba(30,136,229,0.22), rgba(30,136,229,0.08)); }
@media (max-width: 900px) { .lh-columns .lh-panel::after { display: none; } }

.lh-footer { color: var(--text-dim); padding: 30px 0; text-align: center; }
.lh-footer .lh-tech-support, .lh-footer .lh-copyright { margin-bottom: 12px; font-size: 13px; color: var(--text-dim); line-height: 1.6; }


/*** guide ***/
.guide {
  position: fixed;
  right: 24px;
  bottom: 24px;
  z-index: 2000;
}
.guide .guide-wrap {
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.guide a {
  position: relative;
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  border-radius: 999px;
  background: rgba(30,136,229,.12);
  border: 1px solid rgba(30,136,229,.28);
  box-shadow: var(--shadow);
  color: var(--primary-2);
  transition: background .2s ease, border-color .2s ease, box-shadow .2s ease;
}
.guide a:hover {
  transform: none;
  background: rgba(30,136,229,.12);
  border-color: rgba(30,136,229,.36);
  box-shadow: 0 12px 24px rgba(21,101,192,.20), 0 0 0 3px rgba(30,136,229,.16);
  text-decoration: none;
}
.guide a:focus-visible {
  outline: none;
  transform: none;
  background: rgba(30,136,229,.12);
  border-color: rgba(30,136,229,.36);
  box-shadow: 0 12px 24px rgba(21,101,192,.20), 0 0 0 3px rgba(30,136,229,.18);
}
.guide a:active {
  transform: none;
  box-shadow: 0 8px 16px rgba(21,101,192,.18), 0 0 0 2px rgba(30,136,229,.14);
}
.guide a svg {
  width: 20px;
  height: 20px;
}
.guide a span {
  position: absolute;
  top: 50%;
  right: calc(100% + 10px);
  transform: translate(-8px, -50%);
  display: none;
  padding: 6px 10px;
  border-radius: 999px;
  background: var(--primary-2);
  color: #fff;
  border: 1px solid rgba(21,101,192,.35);
  box-shadow: 0 10px 20px rgba(20,56,120,.22);
  white-space: nowrap;
  font-size: 12px;
  line-height: 1;
  font-weight: 600;
  letter-spacing: .2px;
  z-index: 9999;
  transition: opacity .16s ease, transform .16s ease;
  opacity: 0;
}
.guide a span::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 100%;
  transform: translateY(-50%);
  width: 0;
  height: 0;
  border-top: 6px solid transparent;
  border-bottom: 6px solid transparent;
  border-left: 6px solid var(--primary-2);
}
.guide a:hover span { display: inline-block !important; opacity: 1; transform: translate(0, -50%); }
.guide .edit {
  color: var(--accent);
}
.guide .top {
  color: var(--primary-2);
}
.guide a:hover, .guide a:focus-visible, .guide a:active {
  color: var(--primary-2) !important;
}
.guide .edit:hover, .guide .edit:focus-visible, .guide .edit:active {
  color: var(--accent) !important;
}
.guide .top:hover, .guide .top:focus-visible, .guide .top:active {
  color: var(--primary-2) !important;
}
