:root{
  --bg:#f4f7fb;
  --card:#ffffff;
  --primary:#0b3d91;
  --primary-2:#0f4db3;
  --text:#0b1220;
  --muted:#5b6b85;
  --line:#e7eef7;
  --ok:#0f8a4b;
  --warn:#b45309;
  --shadow: 0 10px 26px rgba(11,61,145,.12);
  --radius: 14px;
}
*{box-sizing:border-box}
html,body{height:100%}
body{
  margin:0;
  font-family: "Microsoft YaHei", system-ui, -apple-system, Segoe UI, Roboto, Arial;
  background:var(--bg);
  color:var(--text);
}

/* ===== topbar ===== */
.topbar{
  position:sticky; top:0; z-index:10;
  background:linear-gradient(90deg, var(--primary), var(--primary-2));
  color:#fff;
  padding:12px 14px;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:10px;
  box-shadow: 0 6px 20px rgba(0,0,0,.08);
}
.topbar__brand{display:flex; align-items:center; gap:10px; min-width:0;}
.topbar__crest{
  width:38px; height:38px; border-radius:10px;
  background:rgba(255,255,255,.18);
  display:flex; align-items:center; justify-content:center;
  font-weight:800; letter-spacing:1px;
}
.topbar__titles{min-width:0}
.topbar__name{
  font-size:14px; font-weight:800;
  white-space:nowrap; overflow:hidden; text-overflow:ellipsis;
}
.topbar__slogan{
  font-size:12px; opacity:.9;
  white-space:nowrap; overflow:hidden; text-overflow:ellipsis;
}
.topbar__menu{
  border:none; background:rgba(255,255,255,.18); color:#fff;
  width:40px; height:40px; border-radius:12px;
  font-size:20px; cursor:pointer;
}
.nav{
  display:none;
  position:absolute; right:12px; top:62px;
  background:#fff;
  border:1px solid var(--line);
  border-radius:14px;
  box-shadow: var(--shadow);
  overflow:hidden;
  min-width: 160px;
}
.nav.show{display:flex; flex-direction:column}
.nav a{
  padding:12px 14px;
  text-decoration:none;
  color:var(--text);
  font-weight:700;
  border-bottom:1px solid var(--line);
}
.nav a:last-child{border-bottom:none}
.nav a.active{background:#f1f6ff; color:var(--primary)}

/* ===== main layout ===== */
.main{padding:14px; max-width:1100px; margin:0 auto;}
@media(min-width:960px){
  .topbar__menu{display:none}
  .nav{display:flex; position:static; background:transparent; border:none; box-shadow:none; min-width:auto; gap:6px}
  .nav a{color:#fff; border:none; border-radius:12px; padding:10px 12px; background:rgba(255,255,255,.08)}
  .nav a.active{background:rgba(255,255,255,.18); color:#fff}
}

/* ===== hero ===== */
.hero{padding:14px 0 4px}
.hero__card{
  background: radial-gradient(1200px 400px at 10% 0%, rgba(255,255,255,.18), transparent),
              linear-gradient(135deg, #0b3d91, #0f4db3);
  color:#fff;
  border-radius: var(--radius);
  padding:18px;
  box-shadow: var(--shadow);
}
.hero__tag{
  display:inline-block;
  background:rgba(255,255,255,.16);
  padding:6px 10px;
  border-radius:999px;
  font-size:12px;
  font-weight:700;
}
.hero__title{margin:10px 0 6px; font-size:20px; line-height:1.25}
.hero__desc{margin:0; color:rgba(255,255,255,.9); font-size:13px; line-height:1.6}
.hero__actions{display:flex; gap:10px; margin-top:14px; flex-wrap:wrap}
.hero__tips{display:flex; gap:10px; margin-top:14px; flex-wrap:wrap}
.tip{display:flex; align-items:center; gap:8px; font-size:12px; opacity:.92}
.dot{width:8px; height:8px; border-radius:50%; background:#fff; opacity:.9}

/* ===== buttons ===== */
.btn{
  display:inline-flex; align-items:center; justify-content:center;
  border-radius:12px; padding:11px 14px;
  font-weight:800; text-decoration:none;
  border:1px solid transparent;
  cursor:pointer;
}
.btn--primary{background:#fff; color:var(--primary);}
.btn--ghost{background:rgba(255,255,255,.12); color:#fff; border-color:rgba(255,255,255,.22);}
.btn--block{width:100%}

/* ===== panels/cards ===== */
.panel{
  background:var(--card);
  border:1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: 0 10px 24px rgba(0,0,0,.04);
  margin-top:12px;
  overflow:hidden;
}
.panel__title{
  padding:12px 14px;
  font-weight:900;
  border-bottom:1px solid var(--line);
  background:linear-gradient(180deg,#ffffff,#f7fbff);
}
.panel__body{padding:14px}
.text{color:var(--muted); line-height:1.8; font-size:13px}
.grid{display:grid; grid-template-columns:1fr; gap:12px; margin-top:12px}
@media(min-width:900px){ .grid{grid-template-columns:1fr 1fr} }

.card{
  background:var(--card);
  border:1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: 0 10px 24px rgba(0,0,0,.04);
  overflow:hidden;
}
.card__title{
  padding:12px 14px;
  font-weight:900;
  border-bottom:1px solid var(--line);
  background:linear-gradient(180deg,#ffffff,#f7fbff);
}
.card__body{padding:14px; color:var(--muted); line-height:1.8; font-size:13px}
.list{margin:0; padding-left:18px}
.list li{margin:6px 0}

/* ===== form ===== */
.form{display:flex; flex-direction:column; gap:10px}
.label{font-weight:800; font-size:13px}
.input{
  width:100%;
  border:1px solid var(--line);
  border-radius: 14px;
  padding:13px 14px;
  font-size:15px;
  outline:none;
  background:#fff;
}
.input:focus{border-color:rgba(11,61,145,.45); box-shadow: 0 0 0 4px rgba(11,61,145,.08)}
.help{font-size:12px; color:var(--muted)}

/* ===== results ===== */
.meta{font-size:12px; color:var(--muted); margin-bottom:10px}
.result{
  border:1px solid var(--line);
  border-radius: 14px;
  padding:12px;
  margin:10px 0;
  background:#fff;
}
.result__head{display:flex; justify-content:space-between; align-items:center; gap:10px}
.result__no{font-weight:900; font-size:13px}
.badge{
  font-size:12px; font-weight:900;
  padding:6px 10px;
  border-radius:999px;
  background:#fff7ed;
  color:var(--warn);
  border:1px solid rgba(180,83,9,.2);
}
.badge--ok{background:#ecfdf5; color:var(--ok); border-color:rgba(15,138,75,.18)}
.badge--warn{}
.result__grid{
  margin-top:10px;
  display:grid;
  grid-template-columns:1fr;
  gap:10px;
}
.result__grid div{
  border:1px solid var(--line);
  border-radius:12px;
  padding:10px;
  font-size:13px;
  color:var(--text);
  background:#fbfdff;
}
.result__grid span{
  display:block;
  font-size:12px;
  color:var(--muted);
  margin-bottom:4px;
  font-weight:700;
}
@media(min-width:900px){
  .result__grid{grid-template-columns:1fr 1fr}
}

/* ===== contact ===== */
.contact{display:flex; flex-direction:column; gap:10px}
.contact__row{
  display:flex; flex-direction:column;
  border:1px solid var(--line);
  border-radius:12px;
  padding:12px;
  background:#fbfdff;
}
.contact__row span{font-size:12px; color:var(--muted); font-weight:800; margin-bottom:6px}
.contact a{color:var(--primary); text-decoration:none; font-weight:800}

/* ===== notice / empty ===== */
.notice{
  border:1px solid rgba(11,61,145,.16);
  background:linear-gradient(180deg,#f3f8ff,#ffffff);
  border-radius:14px;
  padding:12px;
}
.notice__title{font-weight:900; color:var(--primary); margin-bottom:6px}
.notice__text{color:var(--muted); font-size:13px; line-height:1.7}
.empty{
  text-align:center;
  padding:18px 10px;
  border:1px dashed var(--line);
  border-radius:14px;
  background:#fff;
}
.empty__title{font-weight:900; margin-bottom:6px}
.empty__text{color:var(--muted); font-size:13px}

/* ===== footer ===== */
.footer{
  margin-top:16px;
  background:#071f49;
  color:#dbe7ff;
  padding:18px 14px;
}
.footer__grid{
  max-width:1100px;
  margin:0 auto;
  display:grid;
  grid-template-columns: 1fr;
  gap:14px;
}
.footer__title{font-weight:900; margin-bottom:8px; color:#ffffff}
.footer__item{font-size:12px; line-height:1.7; opacity:.95}
.footer__right{display:flex; flex-direction:column; gap:8px}
.footer__badge{
  display:inline-block;
  width:max-content;
  background:rgba(255,255,255,.12);
  padding:6px 10px;
  border-radius:999px;
  font-size:12px;
  font-weight:900;
}
.footer__copyright{font-size:12px; opacity:.9}
@media(min-width:900px){
  .footer__grid{grid-template-columns: 1.2fr 1.2fr .8fr}
}