/* Replica of the old ChatGPT follow-up site ("Neoprene · 客户与询盘管理台").
   Dark-green sidebar, light beige / grey-green main area, white rounded
   cards, dark-green primary buttons, ochre-red overdue numbers. */
* { box-sizing: border-box; }
body { margin: 0; font-family: -apple-system, "PingFang SC", "Microsoft YaHei", "Noto Sans SC", sans-serif; background: #eef1ea; color: #22302a; }
a { color: #14532d; text-decoration: none; }
.layout { display: flex; min-height: 100vh; }
.sidebar { width: 248px; flex: none; background: #123f2c; color: #dcebe0; padding: 20px 14px; display: flex; flex-direction: column; }
.logo { font-size: 22px; font-weight: 800; letter-spacing: 2px; color: #fff; }
.logo small { display: block; font-size: 11px; font-weight: 400; letter-spacing: 1px; color: #9db8a6; margin-top: 4px; }
.nav { margin-top: 28px; display: flex; flex-direction: column; gap: 4px; }
.nav a { display: flex; justify-content: space-between; align-items: center; padding: 10px 12px; border-radius: 8px; color: #dcebe0; font-size: 14px; }
.nav a:hover { background: #1b5238; }
.nav a.active { background: #dcefe2; color: #123f2c; font-weight: 700; }
.nav .cnt { background: #2c6b47; color: #fff; border-radius: 10px; padding: 1px 8px; font-size: 12px; }
.nav a.active .cnt { background: #123f2c; }
.sidefoot { margin-top: auto; font-size: 12px; color: #9db8a6; line-height: 1.7; padding-top: 24px; }
.sidefoot .who { color: #fff; font-weight: 700; font-size: 13px; }
.main { flex: 1; padding: 22px 28px 40px; max-width: 1180px; }
.topbar { display: flex; justify-content: space-between; align-items: center; color: #6b7a6f; font-size: 13px; margin-bottom: 16px; }
.topbar .avatar { display: inline-block; width: 30px; height: 30px; border-radius: 50%; background: #123f2c; color: #fff; text-align: center; line-height: 30px; font-weight: 700; }
h1 { font-size: 26px; margin: 4px 0 6px; }
.subtitle { color: #6b7a6f; margin: 0 0 4px; }
.en { color: #9aa79d; font-size: 11px; letter-spacing: 2px; margin: 0 0 18px; }
.cards { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; margin-bottom: 20px; }
.card { background: #fff; border-radius: 12px; padding: 16px 18px; box-shadow: 0 1px 3px rgba(0,0,0,.06); }
.card .num { font-size: 26px; font-weight: 800; }
.card .num.red { color: #b45309; }
.card .lbl { font-size: 13px; font-weight: 700; margin-top: 2px; }
.card .hint { font-size: 12px; color: #8a978d; margin-top: 4px; line-height: 1.5; }
button.card, a.card { text-align: left; border: none; cursor: pointer; font: inherit; color: inherit; display: block; }
button.card:hover, a.card:hover { box-shadow: 0 2px 8px rgba(0,0,0,.1); }
.btn { display: inline-block; background: #14532d; color: #fff; border: none; border-radius: 8px; padding: 9px 16px; font-size: 14px; cursor: pointer; }
.btn:hover { background: #1b6b3a; }
.btn.ghost { background: #fff; color: #14532d; border: 1px solid #c8d4c9; }
.btnrow { display: flex; gap: 10px; justify-content: flex-end; margin-bottom: 14px; }
.panel { background: #fff; border-radius: 12px; padding: 18px 20px; box-shadow: 0 1px 3px rgba(0,0,0,.06); margin-bottom: 20px; }
.panel h2 { font-size: 17px; margin: 0 0 4px; }
.panel .sub { color: #8a978d; font-size: 13px; margin: 0 0 14px; }
.tabs { display: flex; gap: 6px; flex-wrap: wrap; margin-bottom: 12px; }
.tabs a { padding: 6px 12px; border-radius: 16px; background: #eef1ea; font-size: 13px; color: #44524a; }
.tabs a.active { background: #14532d; color: #fff; }
.filters { display: flex; gap: 10px; flex-wrap: wrap; margin-bottom: 12px; }
.filters input, .filters select { padding: 8px 10px; border: 1px solid #c8d4c9; border-radius: 8px; font-size: 13px; background: #fff; }
table { width: 100%; border-collapse: collapse; font-size: 13px; }
th { text-align: left; color: #8a978d; font-weight: 600; padding: 8px 10px; border-bottom: 1px solid #e5e9e2; }
td { padding: 12px 10px; border-bottom: 1px solid #f0f2ee; vertical-align: top; line-height: 1.55; }
td .strong { font-weight: 700; }
td .meta { color: #8a978d; font-size: 12px; }
.badge { display: inline-block; padding: 2px 9px; border-radius: 12px; font-size: 12px; background: #e7f2e9; color: #14532d; margin: 1px 2px 1px 0; }
.badge.purple { background: #efe9f7; color: #6b21a8; }
.badge.grey { background: #eef1ea; color: #5b6b60; }
.badge.amber { background: #fdf0d5; color: #92400e; }
.red { color: #b45309; font-weight: 700; }
.memo { background: #e9f4e9; border-radius: 12px; padding: 18px; font-size: 13px; line-height: 1.7; }
.memo h3 { margin: 0 0 6px; font-size: 15px; }
.memo ol { padding-left: 18px; margin: 8px 0; }
.grid2 { display: grid; grid-template-columns: 1fr 300px; gap: 16px; align-items: start; }
form .sec { border-top: 1px solid #eef1ea; padding: 16px 0; }
form .sec h3 { margin: 0 0 12px; font-size: 15px; }
form label { display: block; font-size: 13px; font-weight: 600; margin: 10px 0 4px; }
form input, form select, form textarea { width: 100%; padding: 9px 10px; border: 1px solid #c8d4c9; border-radius: 8px; font-size: 14px; font-family: inherit; }
form textarea { min-height: 70px; resize: vertical; }
form .req { color: #b45309; }
.gradecards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.gradecards label { border: 1px solid #c8d4c9; border-radius: 10px; padding: 12px; cursor: pointer; font-weight: 400; }
.gradecards input { width: auto; }
.costline { display: grid; grid-template-columns: 40px 1fr 1.4fr 1.2fr 1fr 1fr 1fr 1fr 1fr; gap: 6px; align-items: center; margin-bottom: 8px; }
.costline input, .costline select { padding: 6px; font-size: 12px; }
.footer { color: #8a978d; font-size: 12px; margin-top: 8px; }
.notice { background: #fdf6e3; border: 1px solid #f0dfae; border-radius: 10px; padding: 12px 14px; font-size: 13px; margin-bottom: 16px; line-height: 1.6; }
.loginwrap { min-height: 100vh; display: flex; align-items: center; justify-content: center; background: #eef1ea; }
.loginbox { background: #fff; border-radius: 14px; padding: 32px 36px; width: 420px; max-width: 92vw; box-shadow: 0 2px 12px rgba(0,0,0,.1); }
.loginbox h1 { font-size: 22px; }
pre { font-family: inherit; }
