
*{box-sizing:border-box;-webkit-tap-highlight-color:transparent}
html,body{margin:0;padding:0;font-family:-apple-system,BlinkMacSystemFont,"Segoe UI","PingFang SC","Microsoft YaHei",sans-serif;background:#eef2ff;color:#1e293b}
a{color:inherit;text-decoration:none}
.app{max-width:430px;margin:0 auto;min-height:100vh;background:#f5f8ff;position:relative;overflow:hidden}
.topbar{height:54px;background:linear-gradient(135deg,#2563eb,#06b6d4);color:#fff;display:flex;align-items:center;justify-content:center;position:sticky;top:0;z-index:10;font-weight:700;font-size:17px;box-shadow:0 2px 10px rgba(37,99,235,.25)}
.view{display:none;padding:16px;padding-bottom:84px;animation:fade .25s ease}
.view.active{display:block}
@keyframes fade{from{opacity:0;transform:translateY(8px)}to{opacity:1;transform:none}}
.hero{border-radius:18px;padding:20px;color:#fff;background:linear-gradient(135deg,#2563eb,#06b6d4);box-shadow:0 8px 22px rgba(37,99,235,.22)}
.hero h1{margin:0 0 4px;font-size:21px}
.hero p{margin:0;opacity:.92;font-size:13px}
.hero .stat{display:flex;gap:14px;margin-top:14px}
.hero .stat div{flex:1;background:rgba(255,255,255,.18);border-radius:12px;padding:10px;text-align:center}
.hero .stat div b{display:block;font-size:19px}
.hero .stat div small{opacity:.9;font-size:11px}
.section-title{font-size:16px;font-weight:800;margin:20px 4px 12px;display:flex;align-items:center;justify-content:space-between}
.section-title small{font-weight:500;color:#0891b2;font-size:12px}
.hw{border-radius:16px;background:#fff;margin-bottom:12px;box-shadow:0 4px 16px rgba(37,99,235,.07);border:1px solid #e0e7ff;overflow:hidden}
.hw .head{display:flex;align-items:center;gap:10px;padding:13px 14px;border-bottom:1px solid #f1f5f9}
.hw .sub{width:34px;height:34px;border-radius:10px;display:grid;place-items:center;color:#fff;font-weight:800;font-size:14px}
.hw .head .name{font-weight:700;font-size:15px}
.hw .head .time{margin-left:auto;color:#94a3b8;font-size:12px}
.hw .body{padding:12px 14px}
.hw .body .content{font-size:14px;line-height:1.6;color:#334155;margin-bottom:12px}
.hw .foot{display:flex;align-items:center;gap:10px}
.tag{font-size:11px;padding:3px 10px;border-radius:999px;font-weight:600}
.tag-blue{background:#dbeafe;color:#1d4ed8}
.tag-green{background:#dcfce7;color:#15803d}
.tag-amber{background:#fef3c7;color:#b45309}
.tag-gray{background:#f1f5f9;color:#64748b}
.btn{display:block;text-align:center;padding:13px;border-radius:12px;font-weight:700;font-size:15px;border:none;width:100%}
.btn-primary{background:linear-gradient(135deg,#2563eb,#06b6d4);color:#fff;box-shadow:0 4px 14px rgba(37,99,235,.28)}
.btn-ghost{background:#fff;border:1px solid #bfdbfe;color:#2563eb}
.btn-sm{padding:8px 14px;font-size:13px;width:auto}
.field{margin-bottom:14px}
.field label{display:block;font-size:13px;font-weight:700;color:#1e40af;margin-bottom:7px}
.field input,.field select,.field textarea{width:100%;padding:12px 14px;border:1px solid #bfdbfe;border-radius:11px;font-size:14px;outline:none;background:#fff;font-family:inherit}
.field textarea{min-height:88px;resize:vertical}
.field input:focus,.field select:focus,.field textarea:focus{border-color:#2563eb}
.chips{display:flex;flex-wrap:wrap;gap:8px}
.chip{padding:10px 16px;border-radius:11px;border:1px solid #bfdbfe;background:#fff;font-size:14px;color:#1e40af}
.chip.on{background:linear-gradient(135deg,#2563eb,#06b6d4);color:#fff;border-color:transparent;font-weight:700}
.stars{display:flex;gap:6px;font-size:26px}
.stars span{color:#cbd5e1;cursor:pointer}
.stars span.on{color:#f59e0b}
.card{background:#fff;border-radius:16px;padding:16px;box-shadow:0 4px 16px rgba(37,99,235,.07);border:1px solid #e0e7ff;margin-bottom:12px}
.card .hd{display:flex;align-items:center;justify-content:space-between;margin-bottom:8px}
.card .hd strong{font-size:15px}
.comment{background:#f8fafc;border-radius:12px;padding:12px;font-size:13px;line-height:1.6;color:#475569;border:1px dashed #cbd5e1}
.comment .who{font-weight:700;color:#2563eb;margin-bottom:4px;font-size:12px}
.progress-ring{width:96px;height:96px}
.progress-ring circle{fill:none;stroke-width:10}
.progress-ring .track{stroke:#e2e8f0}
.progress-ring .fill{stroke:url(#pg);stroke-linecap:round;transform:rotate(-90deg);transform-origin:50% 50%}
.bar-row{display:flex;align-items:center;gap:10px;margin-bottom:12px}
.bar-row .lab{width:54px;font-size:13px;font-weight:600;color:#334155}
.bar-row .track{fl:1;flex:1;height:12px;background:#e2e8f0;border-radius:999px;overflow:hidden}
.bar-row .track .fill{height:100%;background:linear-gradient(90deg,#2563eb,#06b6d4);border-radius:999px}
.bar-row .num{width:38px;text-align:right;font-size:12px;color:#64748b}
.tabbar{position:fixed;bottom:0;left:50%;transform:translateX(-50%);width:100%;max-width:430px;height:64px;background:#fff;border-top:1px solid #e0e7ff;display:flex;z-index:20}
.tabbar a{flex:1;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:3px;color:#64748b;font-size:11px}
.tabbar a .ic{font-size:20px}
.tabbar a.on{color:#2563eb;font-weight:700}
.empty{text-align:center;color:#64748b;padding:40px 0;font-size:14px}
.toast{position:fixed;left:50%;top:40%;transform:translate(-50%,-50%);background:rgba(0,0,0,.82);color:#fff;padding:12px 20px;border-radius:10px;font-size:14px;z-index:99;display:none}
