
*{margin:0;padding:0;box-sizing:border-box}
body{font-family:'DM Sans',-apple-system,sans-serif;background:#f8fafc;color:#1e293b}
.hdr{background:#fff;border-bottom:1px solid #e2e8f0;padding:20px 28px;box-shadow:0 1px 4px rgba(0,0,0,.03);position:sticky;top:0;z-index:100}
.hdr-in{display:flex;justify-content:space-between;align-items:flex-start;flex-wrap:wrap;gap:14px}
.logo{width:36px;height:36px;border-radius:10px;background:linear-gradient(135deg,#1a5276,#2c7a7b);display:flex;align-items:center;justify-content:center;font-weight:700;font-size:16px;color:#fff;flex-shrink:0}
h1{font-size:20px;font-weight:700;letter-spacing:-.02em}
.sub{font-size:13px;color:#94a3b8;margin:3px 0 0 48px}
.sub b{color:#1e293b}
.ctrls{display:flex;align-items:center;gap:14px;flex-wrap:wrap}
.fb{display:flex;align-items:center;gap:8px;background:#f8fafc;padding:7px 12px;border-radius:10px;border:1px solid #e2e8f0}
.fl{font-size:13px;color:#94a3b8;font-weight:600;text-transform:uppercase;letter-spacing:.06em}
select{appearance:none;-webkit-appearance:none;background:#fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12'%3E%3Cpath d='M3 5l3 3 3-3' stroke='%2394a3b8' stroke-width='1.5' fill='none'/%3E%3C/svg%3E") no-repeat right 10px center;border:1px solid #e2e8f0;border-radius:8px;padding:7px 30px 7px 10px;font-size:13px;font-weight:600;color:#1e293b;font-family:inherit;cursor:pointer;outline:none}



.cnt{padding:18px 28px 0}
.tabs{display:flex;gap:3px;margin-bottom:20px;background:#fff;border-radius:12px;padding:4px;border:1px solid #e2e8f0;position:sticky;top:85px;z-index:99;box-shadow:0 2px 8px rgba(0,0,0,.06)}
.tab{flex:1;padding:8px 6px;border-radius:9px;border:none;cursor:pointer;font-size:12px;font-weight:600;font-family:inherit;text-align:center;line-height:1.2;background:transparent;color:#475569}
.pb{padding:6px 12px;border-radius:7px;border:1px solid #e2e8f0;cursor:pointer;font-size:12px;font-weight:600;font-family:inherit;background:#fff;color:#475569;transition:all .15s}
.pb.on{background:#1a5276;color:#fff;border-color:#1a5276}
.pb:hover{border-color:#94a3b8}
.tab.on{background:linear-gradient(135deg,#1a5276,#2c7a7b);color:#fff}
.kg{display:grid;grid-template-columns:repeat(auto-fit,minmax(190px,1fr));gap:12px;margin-bottom:20px}
.kpi{background:#fff;border:1px solid #e2e8f0;border-radius:14px;padding:16px 18px;position:relative;overflow:hidden;box-shadow:0 1px 3px rgba(0,0,0,.04)}
.kpi-bar{position:absolute;top:0;left:0;right:0;height:3px}
.kpi-t{font-size:13px;color:#94a3b8;letter-spacing:.08em;text-transform:uppercase;font-weight:600;margin-bottom:4px}
.kpi-v{font-size:24px;font-weight:700;line-height:1.1;margin-bottom:4px}
.kpi-r{display:flex;align-items:center;gap:6px}
.bg{font-size:13px;font-weight:600;padding:2px 7px;border-radius:6px}
.bg-u{color:#276749;background:#e6f4ea}.bg-d{color:#943737;background:#fde8e8}
.kpi-s{font-size:13px;color:#94a3b8}
.cg{display:grid;grid-template-columns:1fr;gap:14px}
.cc{background:#fff;border:1px solid #e2e8f0;border-radius:14px;padding:16px 14px 10px;box-shadow:0 1px 3px rgba(0,0,0,.04)}
.cc h3{font-size:13px;font-weight:600;margin-bottom:10px}
.cw{position:relative;height:370px}
.tp{display:none}.tp.on{display:block}
.ft{margin-top:28px;padding:12px 0;border-top:1px solid #e2e8f0;display:flex;justify-content:space-between;font-size:13px;color:#94a3b8;flex-wrap:wrap;gap:8px}
@media(max-width:768px){.cnt{padding:14px}.cg{grid-template-columns:1fr}.kg{grid-template-columns:repeat(2,1fr)}h1{font-size:17px}}


.btn-back{padding:6px 13px;border-radius:8px;background:#f1f5f9;color:#475569;border:1px solid #e2e8f0;font-size:12px;font-weight:700;cursor:pointer;font-family:'DM Sans',sans-serif;text-decoration:none;display:inline-flex;align-items:center;gap:5px}
.btn-back:hover{background:#e2e8f0}
#jd-loading{position:fixed;inset:0;background:#f8fafc;display:flex;flex-direction:column;align-items:center;justify-content:center;z-index:999;gap:16px}
#jd-loading .spin{width:40px;height:40px;border:4px solid #e2e8f0;border-top-color:#2c7a7b;border-radius:50%;animation:spin .8s linear infinite}
@keyframes spin{to{transform:rotate(360deg)}}
#jd-loading p{font-family:'DM Sans',sans-serif;color:#64748b;font-size:14px}
#jd-nodata{position:fixed;inset:0;background:#f8fafc;display:none;flex-direction:column;align-items:center;justify-content:center;z-index:999;gap:12px;font-family:'DM Sans',sans-serif;color:#64748b;font-size:15px}
#jd-nodata b{color:#1e293b;font-size:20px}
