:root{
  --bg:#f5f0e8;
  --bg-2:#edf3f2;
  --ink:#1f2630;
  --muted:#697386;
  --muted-2:#8b94a5;
  --line:rgba(31,38,48,.12);
  --card:rgba(255,255,255,.68);
  --card-strong:rgba(255,255,255,.84);
  --primary:#4169e1;
  --primary-2:#8a63d2;
  --accent:#df8e64;
  --good:#2e9b67;
  --warn:#d88a28;
  --danger:#d94a4a;
  --shadow:0 24px 70px rgba(31,38,48,.10);
  --shadow-soft:0 14px 40px rgba(31,38,48,.08);
  --radius-xl:28px;
  --radius-lg:22px;
  --radius-md:16px;
  --blur:blur(22px);
  --font:-apple-system,BlinkMacSystemFont,"SF Pro Display","Segoe UI",Roboto,"Noto Sans SC",Helvetica,Arial,sans-serif;
}
*{box-sizing:border-box;margin:0;padding:0}
html{scroll-behavior:smooth}
body{
  min-height:100vh;
  font-family:var(--font);
  color:var(--ink);
  background:
    radial-gradient(circle at 8% 8%, rgba(223,142,100,.22), transparent 34%),
    radial-gradient(circle at 85% 4%, rgba(65,105,225,.18), transparent 38%),
    radial-gradient(circle at 52% 92%, rgba(138,99,210,.16), transparent 40%),
    linear-gradient(135deg,var(--bg),var(--bg-2));
  overflow-x:hidden;
}
body::before{
  content:"";
  position:fixed;inset:0;pointer-events:none;z-index:-1;
  background-image:
    linear-gradient(rgba(31,38,48,.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(31,38,48,.035) 1px, transparent 1px);
  background-size:46px 46px;
  mask-image:linear-gradient(to bottom,rgba(0,0,0,.6),transparent 88%);
}
a{color:inherit;text-decoration:none}
button,input{font:inherit}
button{border:0;cursor:pointer}
.shell{width:min(1180px,calc(100% - 32px));margin:0 auto;padding:22px 0 42px}
.topbar{
  position:sticky;top:14px;z-index:30;
  margin-bottom:28px;
  border:1px solid rgba(255,255,255,.62);
  background:rgba(255,255,255,.56);
  backdrop-filter:var(--blur);-webkit-backdrop-filter:var(--blur);
  box-shadow:var(--shadow-soft);
  border-radius:999px;
}
.nav{display:flex;align-items:center;justify-content:space-between;gap:18px;height:58px;padding:0 18px 0 20px}
.brand{display:flex;align-items:center;gap:12px;min-width:0}
.brand-mark{width:32px;height:32px;border-radius:12px;background:linear-gradient(135deg,var(--primary),var(--accent));box-shadow:0 8px 24px rgba(65,105,225,.25);position:relative;overflow:hidden;flex:0 0 auto}
.brand-mark::after{content:"";position:absolute;inset:8px;border-radius:9px;border:1px solid rgba(255,255,255,.62)}
.brand-title{font-weight:740;letter-spacing:.02em;white-space:nowrap}
.brand-sub{font-size:12px;color:var(--muted);white-space:nowrap}
.nav-links{display:flex;align-items:center;gap:8px;flex-wrap:wrap;justify-content:flex-end}
.nav-links a,.pill{
  display:inline-flex;align-items:center;gap:8px;height:36px;padding:0 13px;
  border-radius:999px;color:var(--muted);font-size:13px;
  transition:transform .22s ease,background .22s ease,color .22s ease;
}
.nav-links a:hover,.nav-links a.active{background:rgba(31,38,48,.07);color:var(--ink);transform:translateY(-1px)}
.hero{display:grid;grid-template-columns:1.18fr .82fr;gap:22px;align-items:stretch;margin-bottom:22px}
.panel{
  position:relative;
  border:1px solid rgba(255,255,255,.62);
  background:var(--card);
  backdrop-filter:var(--blur);-webkit-backdrop-filter:var(--blur);
  border-radius:var(--radius-xl);
  box-shadow:var(--shadow);
  overflow:hidden;
}
.panel::before{
  content:"";position:absolute;inset:-1px;pointer-events:none;
  background:linear-gradient(135deg,rgba(255,255,255,.7),transparent 35%,rgba(255,255,255,.28));
  opacity:.72;
}
.panel-content{position:relative;padding:28px}
.kicker{font-size:13px;font-weight:690;color:var(--primary);letter-spacing:.12em;text-transform:uppercase;margin-bottom:12px}
h1{font-size:clamp(34px,5vw,64px);line-height:1.02;letter-spacing:-.055em;margin-bottom:14px}
h2{font-size:22px;letter-spacing:-.02em}
.lead{max-width:760px;color:var(--muted);font-size:16px;line-height:1.75}
.actions{display:flex;gap:12px;flex-wrap:wrap;margin-top:22px}
.btn{
  display:inline-flex;align-items:center;justify-content:center;gap:9px;
  min-height:42px;padding:0 16px;border-radius:999px;
  background:rgba(31,38,48,.08);color:var(--ink);font-weight:680;font-size:14px;
  transition:transform .22s ease,box-shadow .22s ease,background .22s ease,opacity .22s ease;
}
.btn:hover{transform:translateY(-2px);box-shadow:0 12px 26px rgba(31,38,48,.12)}
.btn.primary{color:white;background:linear-gradient(135deg,var(--primary),var(--primary-2));box-shadow:0 14px 28px rgba(65,105,225,.24)}
.btn.danger{color:white;background:linear-gradient(135deg,var(--danger),#c84070)}
.btn.warn{color:white;background:linear-gradient(135deg,var(--warn),#c5642f)}
.btn.ghost{background:rgba(255,255,255,.54);border:1px solid rgba(31,38,48,.1)}
.btn:disabled{opacity:.45;cursor:not-allowed;transform:none;box-shadow:none}
.grid{display:grid;gap:18px}
.grid.cols-3{grid-template-columns:repeat(3,1fr)}
.grid.cols-2{grid-template-columns:repeat(2,1fr)}
.card{
  border:1px solid rgba(255,255,255,.68);
  background:rgba(255,255,255,.58);
  border-radius:var(--radius-lg);
  padding:20px;
  box-shadow:var(--shadow-soft);
  transition:transform .22s ease,box-shadow .22s ease,border-color .22s ease;
}
.card:hover{transform:translateY(-3px);box-shadow:0 22px 50px rgba(31,38,48,.12);border-color:rgba(255,255,255,.9)}
.metric{display:flex;flex-direction:column;gap:8px}.metric-label{font-size:13px;color:var(--muted);font-weight:650}.metric-value{font-size:30px;font-weight:780;letter-spacing:-.04em}.metric-desc{font-size:13px;color:var(--muted)}
.status-dot{width:9px;height:9px;border-radius:999px;background:var(--muted-2);box-shadow:0 0 0 4px rgba(139,148,165,.16);display:inline-block}.status-dot.online{background:var(--good);box-shadow:0 0 0 4px rgba(46,155,103,.16)}.status-dot.warn{background:var(--warn);box-shadow:0 0 0 4px rgba(216,138,40,.18)}.status-dot.offline{background:var(--danger);box-shadow:0 0 0 4px rgba(217,74,74,.14)}
.badge{display:inline-flex;align-items:center;gap:7px;padding:6px 10px;border-radius:999px;font-size:12px;font-weight:700;background:rgba(31,38,48,.07);color:var(--muted);white-space:nowrap;flex-shrink:0}
.badge.good{color:var(--good);background:rgba(46,155,103,.12)}.badge.warn{color:#9a6418;background:rgba(216,138,40,.14)}.badge.danger{color:var(--danger);background:rgba(217,74,74,.12)}
.section-head{display:flex;align-items:flex-end;justify-content:space-between;gap:16px;margin:26px 0 14px}.section-head p{color:var(--muted);font-size:14px;line-height:1.6}
.input,.select{
  width:100%;height:44px;padding:0 14px;border-radius:15px;border:1px solid rgba(31,38,48,.12);
  background:rgba(255,255,255,.72);outline:none;color:var(--ink);
  transition:border-color .2s ease,box-shadow .2s ease,background .2s ease;
}
.input:focus,.select:focus{border-color:rgba(65,105,225,.44);box-shadow:0 0 0 4px rgba(65,105,225,.12);background:white}
.table-wrap{overflow:auto;border-radius:var(--radius-lg);border:1px solid rgba(31,38,48,.08);background:rgba(255,255,255,.48)}
table{width:100%;border-collapse:collapse;min-width:760px}th,td{text-align:left;padding:14px 16px;border-bottom:1px solid rgba(31,38,48,.07);font-size:14px}th{color:var(--muted);font-size:12px;text-transform:uppercase;letter-spacing:.08em;background:rgba(255,255,255,.38)}tr:last-child td{border-bottom:0}
.progress{height:9px;border-radius:999px;background:rgba(31,38,48,.1);overflow:hidden}.progress>span{display:block;height:100%;width:0;border-radius:999px;background:linear-gradient(90deg,var(--primary),var(--accent));transition:width .4s ease}
.toast-stack{position:fixed;right:18px;bottom:18px;z-index:80;display:grid;gap:10px}.toast{padding:12px 14px;border-radius:16px;background:rgba(31,38,48,.86);color:white;box-shadow:var(--shadow-soft);font-size:14px;max-width:min(360px,calc(100vw - 36px));animation:toastIn .28s ease both}@keyframes toastIn{from{opacity:0;transform:translateY(10px)}to{opacity:1;transform:translateY(0)}}
.loading-shine{position:relative;overflow:hidden}.loading-shine::after{content:"";position:absolute;inset:0;transform:translateX(-100%);background:linear-gradient(90deg,transparent,rgba(255,255,255,.45),transparent);animation:shine 1.3s infinite}@keyframes shine{to{transform:translateX(100%)}}
.drop-zone{border:1.5px dashed rgba(65,105,225,.35);background:linear-gradient(135deg,rgba(255,255,255,.62),rgba(255,255,255,.34));border-radius:var(--radius-xl);padding:38px;display:grid;place-items:center;text-align:center;min-height:240px;transition:transform .22s ease,border-color .22s ease,background .22s ease;cursor:pointer}.drop-zone:hover,.drop-zone.dragover{transform:translateY(-3px);border-color:var(--primary);background:linear-gradient(135deg,rgba(65,105,225,.12),rgba(223,142,100,.12))}.drop-icon{width:70px;height:70px;border-radius:24px;background:linear-gradient(135deg,var(--primary),var(--accent));display:grid;place-items:center;color:white;font-size:30px;margin:0 auto 16px;box-shadow:0 18px 40px rgba(65,105,225,.22)}
.file-row{display:flex;align-items:center;justify-content:space-between;gap:16px;padding:15px 0;border-bottom:1px solid rgba(31,38,48,.08)}.file-row:last-child{border-bottom:0}.file-main{min-width:0}.file-name{font-weight:730;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.file-meta{font-size:13px;color:var(--muted);margin-top:4px}.row-actions{display:flex;gap:8px;flex:0 0 auto}.mini-btn{height:34px;padding:0 11px;border-radius:999px;background:rgba(31,38,48,.07);color:var(--ink);font-size:13px;font-weight:700}.mini-btn:hover{background:rgba(31,38,48,.11)}.mini-btn.danger{color:var(--danger);background:rgba(217,74,74,.1)}
.footer{color:var(--muted);font-size:13px;line-height:1.7;text-align:center;padding:30px 0 10px}
@media(max-width:900px){.topbar{overflow:hidden}.brand-mark{box-shadow:none}.brand{margin-left:8px}.hero,.grid.cols-2,.grid.cols-3{grid-template-columns:1fr}.nav{height:auto;min-height:58px;align-items:flex-start;flex-direction:column;padding:14px 18px}.nav-links{justify-content:flex-start}.section-head{align-items:flex-start;flex-direction:column}.panel-content{padding:22px}.drop-zone{padding:26px}.shell{width:min(100% - 20px,1180px);padding-top:12px}}
@media(max-width:540px){.brand-mark{box-shadow:none}.brand-sub{display:none}.nav-links a{height:32px;padding:0 10px}.row-actions{flex-direction:column}.file-row{align-items:flex-start}.metric-value{font-size:26px}}

.footer-inner {
  max-width: 1180px;
  margin: 0 auto;
}

.footer-left {
  display: flex;
  align-items: center;
  gap: 6px;
  flex-wrap: wrap;
}

.police-icon {
  width: 12px;
  height: 12px;
  object-fit: contain;
  display: block;
  flex-shrink: 0;
}

.footer-brand {
  font-size: 9px;
  color: rgba(255, 255, 255, 0.40);
  white-space: nowrap;
}

.footer-sep {
  color: rgba(255, 255, 255, 0.15);
  font-size: 9px;
}

.record-link {
  color: rgba(255, 255, 255, 0.45);
  font-size: 9px;
  line-height: 1.4;
  text-decoration: none;
  transition: color 180ms ease;
  white-space: nowrap;
}

.record-link:hover {
  color: rgba(255, 255, 255, 0.75);
}

@media (max-width: 720px) {
  
  .footer-left {
    gap: 5px;
  }
  .police-icon {
    width: 10px;
    height: 10px;
  }
  .footer-brand, .record-link, .footer-sep {
    font-size: 8px;
  }
}

.footer-inner {
  max-width: 1180px;
  margin: 0 auto;
}

.footer-left {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}

.police-icon {
  width: 14px;
  height: 14px;
  object-fit: contain;
  display: block;
  flex-shrink: 0;
}

.footer-brand {
  font-size: 10px;
  color: rgba(255, 255, 255, 0.45);
  white-space: nowrap;
}

.footer-sep {
  color: rgba(255, 255, 255, 0.18);
  font-size: 10px;
}

.record-link {
  color: rgba(255, 255, 255, 0.50);
  font-size: 10px;
  line-height: 1.5;
  text-decoration: none;
  transition: color 180ms ease;
  white-space: nowrap;
}

.record-link:hover {
  color: rgba(255, 255, 255, 0.80);
}

@media (max-width: 720px) {
  
  .footer-left {
    gap: 6px;
  }
  .police-icon {
    width: 12px;
    height: 12px;
  }
  .footer-brand, .record-link, .footer-sep {
    font-size: 9px;
  }
}




.footer-inner {
  max-width: 1180px;
  margin: 0 auto;
}

.footer-left {
  display: flex;
  align-items: center;
  gap: 6px;
  flex-wrap: wrap;
}

.police-icon {
  width: 12px;
  height: 12px;
  object-fit: contain;
  display: block;
  flex-shrink: 0;
}

.footer-brand {
  font-size: 9px;
  color: rgba(255, 255, 255, 0.40);
  white-space: nowrap;
}

.footer-sep {
  color: rgba(255, 255, 255, 0.15);
  font-size: 9px;
}

.record-link {
  color: rgba(255, 255, 255, 0.45);
  font-size: 9px;
  line-height: 1.4;
  text-decoration: none;
  transition: color 180ms ease;
  white-space: nowrap;
}

.record-link:hover {
  color: rgba(255, 255, 255, 0.75);
}

@media (max-width: 720px) {
  
  .footer-left {
    gap: 5px;
  }
  .police-icon {
    width: 10px;
    height: 10px;
  }
  .footer-brand, .record-link, .footer-sep {
    font-size: 8px;
  }
}


/* Shijin's Site - Beian Footer Module */
.site-footer {
  width: 100%;
  margin-top: 40px;
  padding: 12px 20px 16px;
  color: rgba(0, 0, 0, 0.50);
}

.footer-inner {
  max-width: 1180px;
  margin: 0 auto;
}

.footer-left {
  display: flex;
  align-items: center;
  gap: 6px;
  flex-wrap: wrap;
}

.police-icon {
  width: 12px;
  height: 12px;
  object-fit: contain;
  display: block;
  flex-shrink: 0;
}

.footer-brand {
  font-size: 9px;
  color: rgba(0, 0, 0, 0.45);
  white-space: nowrap;
}

.footer-sep {
  color: rgba(0, 0, 0, 0.20);
  font-size: 9px;
}

.record-link {
  color: rgba(0, 0, 0, 0.50);
  font-size: 9px;
  line-height: 1.4;
  text-decoration: none;
  transition: color 180ms ease;
  white-space: nowrap;
}

.record-link:hover {
  color: rgba(0, 0, 0, 0.75);
}

@media (max-width: 720px) {
  .site-footer {
    margin-top: 28px;
    padding: 10px 14px 14px;
  }
  .footer-left {
    gap: 5px;
  }
  .police-icon {
    width: 10px;
    height: 10px;
  }
  .footer-brand, .record-link, .footer-sep {
    font-size: 8px;
  }
}

.footer-inner {
  max-width: 1180px;
  margin: 0 auto;
}

.footer-left {
  display: flex;
  align-items: center;
  gap: 6px;
  flex-wrap: wrap;
}

.police-icon {
  width: 12px;
  height: 12px;
  object-fit: contain;
  display: block;
  flex-shrink: 0;
}

.footer-brand {
  font-size: 9px;
  color: rgba(255, 255, 255, 0.40);
  white-space: nowrap;
}

.footer-sep {
  color: rgba(255, 255, 255, 0.15);
  font-size: 9px;
}

.record-link {
  color: rgba(255, 255, 255, 0.45);
  font-size: 9px;
  line-height: 1.4;
  text-decoration: none;
  transition: color 180ms ease;
  white-space: nowrap;
}

.record-link:hover {
  color: rgba(255, 255, 255, 0.75);
}

@media (max-width: 720px) {
  .site-footer {
    margin-top: 28px;
    padding: 10px 14px 14px;
  }
  .footer-left {
    gap: 5px;
  }
  .police-icon {
    width: 10px;
    height: 10px;
  }
  .footer-brand, .record-link, .footer-sep {
    font-size: 8px;
  }
}
