/* 硕瑞项目管理 - 一期样式（手机优先） */
* { box-sizing: border-box; margin: 0; padding: 0; }
body { font-family: "Noto Sans SC", "Microsoft YaHei", sans-serif; background: #f4f6f9; color: #223; font-size: 15px; line-height: 1.6; }
.wrap { max-width: 860px; margin: 0 auto; padding: 14px 14px 40px; }
header.top { background: #0B2545; color: #fff; }
header.top .wrap { display: flex; align-items: center; justify-content: space-between; padding: 10px 14px; }
header.top a { color: #fff; text-decoration: none; font-size: 14px; }
.brand { font-weight: 700; font-size: 17px; }
header.top nav { display: flex; gap: 14px; align-items: center; flex-wrap: wrap; }
.who { font-size: 13px; opacity: .85; }
.out { opacity: .7; }
h1 { font-size: 20px; margin: 14px 0 10px; }
.bar { display: flex; align-items: center; justify-content: space-between; margin: 16px 0 10px; flex-wrap: wrap; gap: 8px; }
.bar h1 { margin: 0; }
.btn { display: inline-block; background: #0B2545; color: #fff; padding: 8px 16px; border-radius: 8px; text-decoration: none; font-size: 14px; border: none; cursor: pointer; }
.btn-plain { display: inline-block; background: #eef1f5; color: #334; padding: 8px 14px; border-radius: 8px; text-decoration: none; font-size: 14px; }
.btn-plain.danger { color: #b00020; }
button.btn { font-size: 15px; }
.cards { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 12px; }
.card { background: #fff; border-radius: 10px; padding: 14px 16px; text-decoration: none; color: inherit; box-shadow: 0 1px 4px rgba(0,0,0,.06); display: block; }
.card .c1 { display: flex; justify-content: space-between; gap: 8px; align-items: flex-start; }
.card strong { font-size: 15px; }
.card .c2 { display: flex; gap: 8px; margin-top: 8px; align-items: center; font-size: 12px; color: #667; }
.tag { display: inline-block; padding: 2px 10px; border-radius: 20px; font-size: 12px; background: #eef1f5; color: #445; white-space: nowrap; }
.tag.g5 { background: #e8f0fe; color: #1a56b0; }
.tag.g6 { background: #e6f7ee; color: #1d7a4a; }
.tag.st-pending, .tag.st-todo { background: #f0f0f0; color: #555; }
.tag.st-active, .tag.st-doing { background: #e8f0fe; color: #1a56b0; }
.tag.st-done { background: #e6f7ee; color: #1d7a4a; }
.tag.st-closed { background: #ececec; color: #999; }
.tag.st-delayed, .tag.over-tag { background: #fdeaea; color: #b00020; }
.prog { height: 6px; background: #eef1f5; border-radius: 3px; margin-top: 10px; overflow: hidden; }
.prog i { display: block; height: 100%; background: #0B2545; border-radius: 3px; }
.meta { display: flex; gap: 8px; flex-wrap: wrap; font-size: 13px; color: #556; margin: 8px 0; }
.remark { background: #fff; border-radius: 8px; padding: 12px 14px; margin: 10px 0; font-size: 14px; }
.empty { color: #889; text-align: center; padding: 40px 0; }
.kanban { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 12px; }
.col { background: #eef1f5; border-radius: 10px; padding: 10px; }
.col h3 { font-size: 13px; color: #556; margin-bottom: 8px; }
.col h3 em { font-style: normal; background: #fff; border-radius: 10px; padding: 0 7px; margin-left: 4px; }
.tcard { display: block; background: #fff; border-radius: 8px; padding: 10px 12px; margin-bottom: 8px; text-decoration: none; color: inherit; font-size: 13px; }
.tcard strong { font-size: 14px; display: block; }
.tcard .c3 { color: #667; font-size: 12px; }
.tcard .c4 { color: #99a; font-size: 12px; }
.tcard .over { color: #b00020; }
.col-empty { color: #bbc; font-size: 12px; text-align: center; }
.form { background: #fff; border-radius: 10px; padding: 16px; margin: 12px 0; }
.form label { display: block; margin-bottom: 12px; font-size: 13px; color: #556; }
.form input[type=text], .form input[type=password], .form input[type=date], .form select, .form textarea { width: 100%; padding: 9px 10px; border: 1px solid #d5dae1; border-radius: 8px; margin-top: 4px; font-size: 15px; font-family: inherit; }
.form button, .form .btn-plain { margin-top: 4px; margin-right: 8px; }
.form.inline { display: flex; gap: 8px; flex-wrap: wrap; align-items: flex-end; }
.form.inline input[type=text], .form.inline select { width: auto; flex: 1; min-width: 120px; margin-top: 0; }
.login-box { max-width: 380px; margin: 60px auto; background: #fff; border-radius: 12px; padding: 28px; }
.login-box h2 { font-size: 18px; margin-bottom: 14px; }
.login-box input { width: 100%; padding: 10px; border: 1px solid #d5dae1; border-radius: 8px; margin-bottom: 12px; font-size: 15px; }
.login-box button { width: 100%; }
.login-box .divider { text-align: center; color: #99a; font-size: 12px; margin: 10px 0 6px; position: relative; }
.btn.ww { display: block; text-align: center; background: #2a9d4e; color: #fff; padding: 10px; border-radius: 8px; text-decoration: none; font-size: 14px; }
.tip { font-size: 12px; color: #99a; margin-top: 10px; }
.err { background: #fdeaea; color: #b00020; padding: 8px 12px; border-radius: 8px; font-size: 14px; margin: 10px 0; }
.tbl { width: 100%; border-collapse: collapse; background: #fff; border-radius: 10px; overflow: hidden; font-size: 13px; margin: 8px 0 18px; }
.tbl th, .tbl td { padding: 9px 10px; border-bottom: 1px solid #eef1f5; text-align: left; }
.tbl th { background: #f4f6f9; color: #556; }
.tbl a { color: #0B2545; text-decoration: none; }
@media (max-width: 480px) {
  .kanban { grid-template-columns: 1fr; }
  .cards { grid-template-columns: 1fr; }
  h1 { font-size: 18px; }
}
