:root { --green: #286346; --deep: #183c2c; --paper: #f3f4ef; --card: #fff; --muted: #6d7770; --line: #dfe3df; --orange: #bc6d32; }
* { box-sizing: border-box; }
[hidden] { display: none !important; }
body { margin: 0; background: var(--paper); color: #202923; font-family: -apple-system, BlinkMacSystemFont, "PingFang SC", "Microsoft YaHei", sans-serif; }
button,input,select { font: inherit; }
button { border: 1px solid #cbd3cd; border-radius: 6px; padding: 9px 14px; background: white; cursor: pointer; }
button:hover { border-color: var(--green); }
.primary { border-color: var(--green); background: var(--green); color: white; }
.brand { display: flex; align-items: center; gap: 12px; }
.brand>span { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 8px; background: #d9e9c9; color: var(--deep); font-size: 20px; font-weight: 800; }
.brand b,.brand small { display: block; }
.brand small { margin-top: 3px; color: #9eaea4; font-size: 12px; }
.login-shell { min-height: 100vh; display: grid; place-items: center; padding: 24px; background: linear-gradient(90deg, #183c2c 0 36%, #eef1eb 36%); }
.login-panel { width: min(440px, 100%); padding: 34px; border: 1px solid #dfe5df; border-radius: 8px; background: white; box-shadow: 0 24px 70px rgba(24,60,44,.14); }
.login-panel h1 { margin: 32px 0 8px; font-size: 26px; }
.login-panel p { margin: 0 0 24px; color: var(--muted); line-height: 1.6; }
.login-panel label { display: grid; gap: 7px; margin: 15px 0; font-size: 13px; font-weight: 600; }
.login-panel input { min-height: 42px; border: 1px solid #ccd4ce; border-radius: 6px; padding: 0 12px; }
.login-panel .primary { width: 100%; margin-top: 10px; min-height: 44px; }
.error { min-height: 22px; margin-top: 12px; color: #a8402b; font-size: 13px; }
.app-shell aside { position: fixed; inset: 0 auto 0 0; width: 230px; padding: 26px 18px; background: var(--deep); color: white; }
.app-shell aside .brand { padding: 0 7px 26px; }
nav { display: grid; gap: 5px; }
nav button { display: flex; justify-content: space-between; border: 0; padding: 12px 14px; background: transparent; color: #bcc8c0; text-align: left; }
nav button.active,nav button:hover { background: #2b654a; color: white; }
.count { min-width: 20px; border-radius: 10px; padding: 2px 6px; background: #d88445; color: white; text-align: center; font-size: 11px; }
.logout { position: absolute; left: 18px; right: 18px; bottom: 24px; border-color: #587061; background: transparent; color: #c6d0ca; }
main { margin-left: 230px; padding: 30px 36px 70px; }
header { display: flex; align-items: center; justify-content: space-between; margin-bottom: 24px; }
header p { margin: 0 0 5px; color: var(--muted); font-size: 13px; }
h1 { margin: 0; font-size: 28px; }
h2 { margin: 0; font-size: 19px; }
.notice { position: fixed; top: 22px; right: 32px; z-index: 10; border-radius: 6px; padding: 12px 18px; background: #1d5138; color: white; box-shadow: 0 8px 30px rgba(0,0,0,.16); }
.view { display: none; }
.view.active { display: block; }
.metrics { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.metrics article,.panel,.table-panel,.review-card,.empty { border: 1px solid var(--line); border-radius: 8px; background: var(--card); }
.metrics article { padding: 20px; }
.metrics small { color: var(--muted); }
.metrics strong { display: block; margin-top: 12px; color: var(--deep); font-size: 30px; }
.panel { margin-top: 16px; padding: 22px; }
.priority-list { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; margin-top: 18px; }
.priority-list div { padding: 16px; border-left: 3px solid #6f9873; background: #f1f5ef; }
.section-head { margin-bottom: 16px; }
.section-head p { margin: 6px 0 0; color: var(--muted); }
.stack { display: grid; gap: 12px; }
.review-card { display: flex; justify-content: space-between; gap: 24px; padding: 20px; }
.review-card h3 { margin: 12px 0 4px; }
.review-card p { margin: 0; color: var(--muted); }
.review-card pre { max-width: 700px; overflow: auto; padding: 12px; background: #f3f5f1; color: #435048; white-space: pre-wrap; }
.review-actions { display: flex; align-items: flex-end; gap: 8px; }
.table-panel { overflow-x: auto; padding: 8px 18px 18px; }
table { width: 100%; border-collapse: collapse; font-size: 13px; }
th,td { padding: 14px 9px; border-bottom: 1px solid var(--line); text-align: left; vertical-align: middle; }
th { color: var(--muted); font-weight: 600; }
.badge { display: inline-flex; border-radius: 999px; padding: 5px 9px; background: #e8efe5; color: #346348; font-size: 11px; white-space: nowrap; }
.badge.open,.badge.submitted { background: #fff0df; color: #9c5826; }
.badge.cancelled { background: #f0efed; color: #76736f; }
.assign { display: flex; gap: 6px; }
.assign select { min-width: 120px; border: 1px solid #ccd4ce; border-radius: 6px; padding: 8px; }
.empty { padding: 54px; color: var(--muted); text-align: center; }
@media (max-width: 900px) { .metrics { grid-template-columns: 1fr 1fr; } .priority-list { grid-template-columns: 1fr; } .app-shell aside { width: 190px; } main { margin-left: 190px; padding: 24px 18px; } .review-card { display: block; } .review-actions { margin-top: 16px; } }
