* { box-sizing: border-box; }
body { margin:0; font-family: -apple-system, "PingFang SC", "Microsoft YaHei", sans-serif; font-size:13px; color:#1f2937; background:#f5f7fa; }
.app { max-width:1440px; margin:0 auto; padding:0 24px 40px; }
.topbar { display:flex; justify-content:space-between; align-items:center; height:68px; border-bottom:1px solid #e5e7eb; }
.brand { display:flex; align-items:center; gap:12px; }
.logo { width:38px; height:38px; border-radius:10px; background:#2f5597; color:#fff; display:flex; align-items:center; justify-content:center; font-size:18px; font-weight:600; }
.brand h1 { font-size:17px; margin:0; font-weight:600; }
.brand p { margin:2px 0 0; font-size:11px; color:#6b7280; }
.topright { display:flex; align-items:center; gap:10px; }
.user-label { font-size:12px; color:#6b7280; }
.actor { width:100px; padding:6px 9px; border:1px solid #d1d5db; border-radius:6px; font-size:12px; }
.clock { font-size:12px; color:#9ca3af; margin-left:8px; }
.tabs { display:flex; gap:4px; margin:16px 0 20px; border-bottom:1px solid #e5e7eb; }
.tab { background:none; border:none; padding:10px 16px; font-size:13px; color:#4b5563; cursor:pointer; border-bottom:2px solid transparent; }
.tab:hover { color:#2f5597; }
.tab.active { color:#2f5597; border-bottom-color:#2f5597; font-weight:600; }
.panel { display:none; }
.panel.active { display:block; }
.toolbar { display:flex; gap:8px; align-items:center; flex-wrap:wrap; margin-bottom:14px; }
.search { flex:1; min-width:180px; padding:8px 10px; border:1px solid #d1d5db; border-radius:6px; font-size:13px; }
select, input[type=date], input[type=number] { padding:8px; border:1px solid #d1d5db; border-radius:6px; font-size:13px; background:#fff; }
.btn { padding:8px 14px; border:1px solid #2f5597; background:#2f5597; color:#fff; border-radius:6px; cursor:pointer; font-size:13px; text-decoration:none; display:inline-block; }
.btn:hover { opacity:.9; }
.btn.ghost { background:#fff; color:#2f5597; }
.btn.primary { background:#1d9e75; border-color:#1d9e75; }
.btn.danger { background:#fff; color:#b91c1c; border-color:#fca5a5; padding:5px 10px; font-size:12px; }
.btn.small { padding:5px 10px; font-size:12px; }
.hint { color:#6b7280; font-size:12px; }
.stat-row { display:flex; gap:12px; margin-bottom:14px; flex-wrap:wrap; }
.stat { background:#fff; border:1px solid #e5e7eb; border-radius:10px; padding:12px 18px; min-width:120px; }
.stat .n { font-size:22px; font-weight:600; color:#2f5597; }
.stat .l { font-size:12px; color:#6b7280; margin-top:2px; }
.table-wrap { background:#fff; border:1px solid #e5e7eb; border-radius:10px; overflow:auto; }
table { width:100%; border-collapse:collapse; font-size:12px; }
th { background:#f3f6fb; color:#374151; text-align:left; padding:10px 12px; font-weight:600; position:sticky; top:0; white-space:nowrap; }
td { padding:9px 12px; border-top:1px solid #eef0f3; vertical-align:top; }
tr:hover td { background:#fafbfe; }
.tag { display:inline-block; padding:2px 7px; border-radius:10px; font-size:11px; background:#eef2f7; color:#475569; white-space:nowrap; }
.tag.ok { background:#e1f5ee; color:#0f6e56; }
.tag.warn { background:#fef3c7; color:#92400e; }
.tag.err { background:#fce7e7; color:#b91c1c; }
.tag.info { background:#e6f1fb; color:#185fa5; }
.progress { display:flex; gap:3px; }
.dot { width:12px; height:6px; border-radius:3px; background:#e5e7eb; }
.dot.done { background:#1d9e75; }
.dot.cur { background:#ef9f27; }
.pager { display:flex; gap:12px; align-items:center; justify-content:center; margin-top:14px; font-size:12px; color:#6b7280; }
.detail-head { display:flex; align-items:center; gap:14px; margin-bottom:10px; flex-wrap:wrap; }
.detail-head h2 { font-size:16px; margin:0; }
#dmeta { color:#6b7280; font-size:12px; }
.notice { background:#e6f1fb; border:1px solid #b5d4f4; border-radius:8px; padding:10px 14px; margin-bottom:16px; color:#0c447c; font-size:12px; }
.sub-title { font-size:14px; margin:22px 0 10px; font-weight:600; }
.steps { display:grid; grid-template-columns:repeat(auto-fill,minmax(220px,1fr)); gap:10px; }
.step { background:#fff; border:1px solid #e5e7eb; border-radius:10px; padding:12px; }
.step .sh { display:flex; justify-content:space-between; align-items:center; margin-bottom:8px; }
.step .sn { font-weight:600; font-size:13px; }
.step .sl { font-size:11px; color:#6b7280; margin:4px 0; }
.step select { width:100%; margin:6px 0; padding:6px; font-size:12px; }
.step input { width:100%; padding:6px; border:1px solid #d1d5db; border-radius:6px; font-size:12px; margin-bottom:5px; }
.check-card { background:#fff; border:1px solid #e5e7eb; border-radius:10px; padding:16px; margin-bottom:16px; }
.check-card h3 { margin:0 0 12px; font-size:14px; }
.check-form { display:flex; gap:10px; align-items:flex-end; flex-wrap:wrap; }
.check-form label { font-size:12px; color:#4b5563; display:flex; flex-direction:column; gap:4px; }
.check-form input { padding:7px; border:1px solid #d1d5db; border-radius:6px; }
.check-result { margin-top:12px; padding:10px; background:#f8fafc; border-radius:8px; font-size:12px; min-height:20px; }
.deadline-list { display:grid; grid-template-columns:repeat(auto-fill,minmax(320px,1fr)); gap:12px; }
.deadline-card { background:#fff; border:1px solid #e5e7eb; border-radius:10px; padding:14px; }
.deadline-card h4 { margin:0 0 6px; font-size:13px; }
.deadline-card .alert { margin-top:8px; padding:8px 10px; border-radius:6px; font-size:12px; }
.alert.紧急 { background:#fce7e7; color:#b91c1c; }
.alert.重要 { background:#fef3c7; color:#92400e; }
.alert.提醒 { background:#e6f1fb; color:#185fa5; }
.alert.关注 { background:#f3f4f6; color:#4b5563; }
.modal { position:absolute; inset:0; background:rgba(15,23,42,.35); display:flex; align-items:flex-start; justify-content:center; padding-top:8vh; z-index:50; }
.modal-box { background:#fff; border-radius:12px; padding:22px; width:min(640px,94vw); max-height:80vh; overflow:auto; }
.modal-title { font-size:16px; font-weight:600; margin-bottom:16px; }
.modal-foot { display:flex; justify-content:flex-end; gap:8px; margin-top:18px; }
.form-grid { display:grid; grid-template-columns:1fr 1fr; gap:12px; }
.form-grid label { display:flex; flex-direction:column; gap:4px; font-size:12px; color:#4b5563; }
.form-grid input, .form-grid textarea, .form-grid select { padding:8px; border:1px solid #d1d5db; border-radius:6px; font-size:13px; font-family:inherit; }
.form-grid .full { grid-column:1/-1; }
@media(max-width:800px){ .form-grid{grid-template-columns:1fr} .topbar{height:auto;padding:12px 0} }
