:root{
  --bg:#f5f7fb;--card:#fff;--text:#172033;--muted:#667085;--line:#e4e7ec;
  --primary:#2563eb;--primary2:#1d4ed8;--soft:#eff6ff;--ok:#067647;--danger:#b42318;
  --shadow:0 12px 34px rgba(15,23,42,.08)
}
*{box-sizing:border-box}
html{-webkit-text-size-adjust:100%;text-size-adjust:100%}
body{margin:0;min-width:320px;background:linear-gradient(180deg,#eef4ff 0,#f8fafc 260px,#f5f7fb 100%);color:var(--text);font-family:-apple-system,BlinkMacSystemFont,"Segoe UI","PingFang SC","Microsoft YaHei",sans-serif}
a{color:inherit}
.shell{width:min(100%,900px);margin:0 auto;padding:18px 14px 54px}
.topbar{display:flex;align-items:center;justify-content:space-between;gap:14px;margin:2px 0 14px}
.brand{display:flex;align-items:center;gap:12px;min-width:0}
.logo{width:46px;height:46px;flex:0 0 46px;border-radius:15px;background:linear-gradient(135deg,#2563eb,#60a5fa);display:grid;place-items:center;color:#fff;font-weight:900;box-shadow:var(--shadow)}
.brand h1{font-size:19px;line-height:1.25;margin:0}
.brand p{font-size:12px;color:var(--muted);margin:4px 0 0}
.home-link{font-size:13px;color:#475467;text-decoration:none;padding:8px 10px;border-radius:10px;border:1px solid var(--line);background:#fff}
.hero{background:rgba(255,255,255,.94);border:1px solid rgba(228,231,236,.95);border-radius:24px;padding:28px;box-shadow:var(--shadow)}
.hero h2{font-size:30px;line-height:1.25;margin:10px 0}
.hero p{font-size:15px;line-height:1.8;color:#475467;margin:0}
.badge{display:inline-flex;align-items:center;border-radius:999px;padding:6px 10px;background:var(--soft);color:#1d4ed8;font-size:12px;font-weight:800}
.entry-grid{display:grid;grid-template-columns:1fr 1fr;gap:16px;margin-top:18px}
.entry-card{display:block;text-decoration:none;background:#fff;border:1px solid var(--line);border-radius:20px;padding:22px;box-shadow:var(--shadow);transition:.18s}
.entry-card:hover{transform:translateY(-2px);border-color:#93b4f4}
.entry-icon{width:48px;height:48px;border-radius:14px;background:#eff6ff;color:#1d4ed8;display:grid;place-items:center;font-size:24px;font-weight:900}
.entry-card h3{font-size:19px;margin:14px 0 7px}
.entry-card p{font-size:13px;line-height:1.7;color:var(--muted);margin:0}
.progress-wrap{position:sticky;top:0;z-index:20;background:rgba(245,247,251,.90);backdrop-filter:blur(10px);padding:8px 0 12px}
.progress-meta{display:flex;justify-content:space-between;gap:12px;font-size:12px;color:var(--muted);margin-bottom:6px}
.progress{height:8px;border-radius:99px;overflow:hidden;background:#dfe7f3}
.progress>div{height:100%;width:0;background:linear-gradient(90deg,#2563eb,#60a5fa);transition:width .25s}
.card{background:#fff;border:1px solid rgba(228,231,236,.95);border-radius:20px;padding:24px;box-shadow:var(--shadow);margin-top:14px}
.card h2{font-size:24px;line-height:1.3;margin:12px 0 9px}
.card h3{font-size:17px;margin:18px 0 8px}
.lead{font-size:15px;line-height:1.8;color:#475467}
.notice{font-size:14px;line-height:1.8;color:#475467;background:#f8fafc;border:1px solid var(--line);border-radius:14px;padding:14px 16px}
.notice strong{color:#253047}
.field{margin:18px 0}
.field>label{display:block;font-size:14px;font-weight:800;margin-bottom:8px}
.req{color:#d92d20}
input[type=text],input[type=number],input[type=password],select{width:100%;min-width:0;height:48px;border:1px solid #cfd6df;border-radius:12px;background:#fff;padding:0 13px;font-size:16px;outline:none}
input:focus,select:focus{border-color:#60a5fa;box-shadow:0 0 0 4px rgba(37,99,235,.10)}
.hint{font-size:12px;line-height:1.6;color:var(--muted);margin-top:7px}
.section{display:none}.section.active{display:block}
.question{padding:18px 0;border-bottom:1px solid #edf0f4}.question:last-child{border-bottom:0}
.qnum{font-size:12px;color:#2563eb;font-weight:850;margin-bottom:7px}
.qtitle{font-size:16px;font-weight:750;line-height:1.65;margin-bottom:11px;overflow-wrap:anywhere}
.choice-list{display:grid;gap:10px}
.choice{display:flex;align-items:flex-start;gap:10px;padding:13px 14px;border:1px solid #d9dee7;border-radius:12px;background:#fff;cursor:pointer;transition:.15s;min-width:0}
.choice:hover{border-color:#93b4f4;background:#f8fbff}
.choice:has(input:checked){border-color:#2563eb;background:#eff6ff;box-shadow:0 0 0 2px rgba(37,99,235,.08)}
.choice input{margin:3px 0 0;flex:0 0 auto}
.choice span{min-width:0;overflow-wrap:anywhere}
.choice-row{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:8px}
.choice-row .choice{justify-content:center;align-items:center;padding:12px 6px;gap:6px}
.choice-row .choice input{margin:0}
.sliderbox{padding:18px;border-radius:16px;background:#f8fafc;border:1px solid var(--line)}
.slider-top{display:flex;gap:14px;align-items:flex-end;justify-content:space-between;margin-bottom:14px}
.bigval{font-size:34px;line-height:1;font-weight:900;color:#1d4ed8;white-space:nowrap}
input[type=range]{width:100%;margin:8px 0}
.range-labels{display:flex;justify-content:space-between;gap:10px;color:var(--muted);font-size:12px}
.amount-row{display:grid;grid-template-columns:1fr 110px;gap:10px;align-items:center;margin-top:12px}
.nav{display:flex;gap:10px;justify-content:space-between;margin-top:22px}
.btn{border:0;border-radius:12px;min-height:46px;padding:0 18px;font-size:15px;font-weight:800;cursor:pointer;text-decoration:none;display:inline-grid;place-items:center}
.btn.primary{background:#2563eb;color:#fff}.btn.primary:hover{background:#1d4ed8}
.btn.secondary{background:#eef2f7;color:#344054}
.btn.danger{background:#fee4e2;color:#b42318}
.btn:disabled{opacity:.5;cursor:not-allowed}
.error{display:none;margin-top:12px;padding:12px 14px;border-radius:12px;background:#fff1f0;color:#b42318;font-size:13px;line-height:1.6}
.success{text-align:center;padding:34px 18px}
.tick{width:66px;height:66px;border-radius:50%;display:grid;place-items:center;margin:0 auto;background:#ecfdf3;color:#067647;font-size:34px;font-weight:900}
.receipt{max-width:480px;margin:18px auto;background:#f8fafc;border:1px dashed #98a2b3;border-radius:14px;padding:16px;text-align:left;font-size:14px;line-height:1.9;overflow-wrap:anywhere}
.adminbar{display:flex;align-items:flex-start;justify-content:space-between;gap:16px;flex-wrap:wrap}
.stats{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px;margin:15px 0}
.stat{background:#f8fafc;border:1px solid var(--line);border-radius:14px;padding:14px}
.stat b{display:block;font-size:22px;margin-top:3px}
.tablewrap{width:100%;overflow:auto;border:1px solid var(--line);border-radius:14px;-webkit-overflow-scrolling:touch}
table{width:100%;min-width:820px;border-collapse:collapse;font-size:13px}
th,td{padding:11px 12px;text-align:left;border-bottom:1px solid var(--line);white-space:nowrap}
th{background:#f8fafc;color:#475467;position:sticky;top:0}
.pill{display:inline-block;padding:3px 8px;border-radius:999px;font-size:11px;font-weight:800}
.pill.ok{background:#ecfdf3;color:#067647}.pill.bad{background:#fff1f0;color:#b42318}
.footer{text-align:center;color:#98a2b3;font-size:12px;margin:20px 0}
@media(max-width:640px){
  .shell{padding:10px 10px 38px}
  .topbar{align-items:flex-start}
  .brand h1{font-size:17px}
  .brand p{display:none}
  .logo{width:40px;height:40px;flex-basis:40px;border-radius:13px}
  .home-link{font-size:12px;padding:7px 8px}
  .hero{padding:20px;border-radius:18px}
  .hero h2{font-size:24px}
  .entry-grid{grid-template-columns:1fr;gap:12px}
  .entry-card{padding:18px;border-radius:17px}
  .card{padding:17px;border-radius:17px}
  .card h2{font-size:21px}
  .notice{padding:12px 13px}
  .choice-row{grid-template-columns:repeat(5,minmax(0,1fr));gap:5px}
  .choice-row .choice{padding:11px 2px;font-size:13px;flex-direction:column;gap:4px}
  .choice-row .choice input{margin:0}
  .slider-top{align-items:flex-start}
  .bigval{font-size:30px}
  .amount-row{grid-template-columns:1fr 94px}
  .stats{grid-template-columns:1fr}
  .nav{position:sticky;bottom:8px;z-index:15;background:rgba(255,255,255,.94);backdrop-filter:blur(8px);padding:8px;border-radius:14px;box-shadow:0 8px 28px rgba(15,23,42,.13)}
  .nav .btn{flex:1}
}
@media(max-width:360px){
  .choice-row{grid-template-columns:repeat(3,minmax(0,1fr))}
  .choice-row .choice:nth-child(n+4){grid-column:span 1}
}