*{box-sizing:border-box;-webkit-tap-highlight-color:transparent}
body{margin:0;font:15px/1.65 -apple-system,"PingFang SC","Microsoft YaHei",sans-serif;background:#f4f6f9;color:#1f2d3d}
.wrap{max-width:760px;margin:0 auto;padding:0 14px 96px}
header{background:linear-gradient(135deg,#1f6f8b,#2e9e8f);color:#fff;padding:18px 0 22px;margin-bottom:14px}
header .wrap{padding-bottom:0}
h1{margin:0;font-size:19px;font-weight:600}
h2{margin:0 0 8px;font-size:16px;color:#1f6f8b}
.sub{opacity:.85;font-size:12.5px;margin-top:4px}
.card{background:#fff;border-radius:12px;padding:14px 16px;margin-bottom:12px;box-shadow:0 1px 4px rgba(31,45,61,.07)}
.hero{background:linear-gradient(135deg,#eef8f5,#f2f8fb)}
.formula{text-align:center;font-size:17px;font-weight:700;color:#1f6f8b;background:#fff;border-radius:10px;padding:12px;margin:10px 0}
.row{display:flex;gap:10px}
.stat{flex:1;text-align:center;padding:8px 4px;background:#fff;border-radius:10px;box-shadow:0 1px 4px rgba(31,45,61,.07)}
.stat b{display:block;font-size:21px;line-height:1.25;color:#1f6f8b}
.stat span{font-size:12px;color:#7c8a99}
.btn{display:block;width:100%;padding:13px;border:0;border-radius:10px;font-size:16px;font-weight:600;color:#fff;background:#1f6f8b;margin-bottom:10px;cursor:pointer}
.btn:active{transform:scale(.99)}
.btn.big{padding:16px;font-size:17px}
.btn.g{background:#2e9e8f}.btn.o{background:#e08b3c}.btn.r{background:#c0564a}.btn.p{background:#6b5b95}
.btn.ghost{background:#e8eef2;color:#1f6f8b}
.btn.sm{padding:8px;font-size:13.5px;margin:0}
.btn small{display:block;font-weight:400;font-size:12px;opacity:.85;margin-top:2px}
.modgrid{display:grid;grid-template-columns:1fr 1fr;gap:8px}
.modgrid button{padding:10px;border:1px solid #dbe3ea;background:#fff;border-radius:9px;font-size:13.5px;color:#1f2d3d;cursor:pointer;text-align:left}
.modgrid button b{color:#1f6f8b}
.qhead{display:flex;justify-content:space-between;align-items:center;font-size:12.5px;color:#7c8a99;margin-bottom:8px}
.tag{display:inline-block;padding:2px 8px;border-radius:20px;background:#eef4f7;color:#1f6f8b;font-size:12px;margin-right:6px}
.tag.warn{background:#fdf1e6;color:#b5702a}
.stem{font-size:17px;font-weight:600;line-height:1.65;margin:6px 0 12px;white-space:pre-wrap;word-break:break-word}
.stem img.qimg{display:block;max-width:100%;max-height:280px;margin:10px 0;border-radius:8px;border:1px solid #e3e9ee}
.opt{display:flex;gap:10px;align-items:flex-start;padding:12px;border:1.5px solid #e3e9ee;border-radius:10px;margin-bottom:9px;background:#fff;cursor:pointer;font-size:15.5px}
.opt .k{flex:none;width:24px;height:24px;border-radius:50%;background:#eef4f7;color:#1f6f8b;font-weight:700;text-align:center;line-height:24px;font-size:13px}
.opt.sel{border-color:#1f6f8b;background:#f2f8fb}
.opt.ok{border-color:#2e9e8f;background:#eef8f5}
.opt.ng{border-color:#c0564a;background:#fdf1f0}
.opt .txt{flex:1}
.fb{border-radius:10px;padding:12px 14px;margin-top:10px;font-size:14px}
.fb.ok{background:#eef8f5;color:#1c6b5f}
.fb.ng{background:#fdf1f0;color:#a0433a}
.fb .tip{display:block;margin-top:6px;font-size:13px;color:#5b6b7a}
.progress{height:6px;background:#e3e9ee;border-radius:6px;overflow:hidden;margin-bottom:12px}
.progress i{display:block;height:100%;background:#2e9e8f;transition:width .2s}
.timer{font-variant-numeric:tabular-nums;font-weight:700;color:#c0564a}
.cardq{border-left:3px solid #1f6f8b;padding-left:11px;margin-bottom:14px}
.cardq b{display:block;color:#1f6f8b;margin-bottom:4px}
.cardq p{margin:4px 0;font-size:14px;color:#42505f}
table.tbl,table{width:100%;border-collapse:collapse;font-size:13.5px;margin:8px 0}
th,td{border:1px solid #e3e9ee;padding:6px 8px;text-align:left}
th{background:#f2f6f8}
ul{padding-left:18px;margin:6px 0}
li{margin:3px 0;font-size:14px}
ul.guide li{margin:7px 0}
.warn{color:#b5702a}
.muted{color:#7c8a99;font-size:13px}
.err{color:#c0564a;font-size:13px;min-height:18px;margin-top:6px}
.tabs{position:fixed;left:0;right:0;bottom:0;display:flex;background:#fff;border-top:1px solid #e3e9ee;padding-bottom:env(safe-area-inset-bottom)}
.tabs button{flex:1;padding:10px 0 12px;border:0;background:none;font-size:11.5px;color:#7c8a99;cursor:pointer}
.tabs button b{display:block;font-size:18px;line-height:1.35;font-weight:400}
.tabs button.on{color:#1f6f8b}
.item{padding:10px 0;border-bottom:1px solid #eef2f5;font-size:14px}
.item:last-child{border:0}
.item .a{color:#2e9e8f;font-weight:600}
.item .b{color:#c0564a}
.bar{display:flex;height:9px;border-radius:6px;overflow:hidden;margin:6px 0 10px}
.bar i{display:block;height:100%}
.legend{font-size:12px;color:#7c8a99;display:flex;gap:12px;flex-wrap:wrap}
.legend em{font-style:normal;display:inline-flex;align-items:center;gap:4px}
.dot{display:inline-block;width:8px;height:8px;border-radius:2px}
input,select{width:100%;padding:11px 12px;border:1.5px solid #dbe3ea;border-radius:9px;font-size:15px;background:#fff;color:#1f2d3d}
input:focus,select:focus{outline:0;border-color:#1f6f8b}
label{font-size:13px;color:#7c8a99;display:block;margin-bottom:2px}
.login-wrap{max-width:420px;margin:0 auto;padding:54px 20px}
.login-logo{font-size:54px;text-align:center;line-height:1}
.login-wrap h1{text-align:center;font-size:22px;line-height:1.45;margin:10px 0 6px;color:#1f6f8b}
.screen{display:none}
.screen.on{display:block}
.ubar{display:flex;justify-content:space-between;align-items:center;gap:8px;font-size:13px;color:#7c8a99;padding:2px 4px 8px}
.utbl{width:100%;border-collapse:collapse;font-size:13px}
.utbl th,.utbl td{border:1px solid #e9eef2;padding:6px 7px;text-align:center}
.utbl th{background:#f2f6f8;font-weight:600}
.utbl td.l{text-align:left}
.pill{padding:1px 7px;border-radius:20px;font-size:11.5px;background:#eef4f7;color:#1f6f8b}
.pill.admin{background:#fdf1e6;color:#b5702a}
.opgrid{display:grid;grid-template-columns:1fr 1fr;gap:8px;margin-top:10px}
