* { margin: 0; padding: 0; box-sizing: border-box; }
body { font-family: "Microsoft YaHei", "PingFang SC", sans-serif; background: #f4f8f6; color: #1a3a2a; min-height: 100vh; }
.wrap { max-width: 980px; margin: 0 auto; padding: 24px 16px 70px; }
a { color: inherit; }

.topbar { display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; padding: 18px 8px 14px; }
.crumbs { font-size: 13px; color: #5b7d66; }
.crumbs a { color: #2d5a3d; text-decoration: none; font-weight: 600; }
.crumbs a:hover { text-decoration: underline; }

.hero { background: linear-gradient(135deg, #2d5a3d, #3d6b4e); color: #fff; border-radius: 18px; padding: 28px 28px 24px; margin-bottom: 20px; }
.hero h1 { font-size: 24px; letter-spacing: 1px; }
.hero .sub { margin-top: 8px; font-size: 13.5px; opacity: .9; }
.hero .meta { margin-top: 14px; display: flex; gap: 22px; flex-wrap: wrap; font-size: 14px; }
.hero .meta b { font-size: 20px; margin-left: 5px; }
.hero .meta .item { background: rgba(255,255,255,.14); border-radius: 12px; padding: 8px 16px; }

.grid { display: grid; gap: 14px; }
@media (min-width: 700px) { .grid.two { grid-template-columns: 1fr 1fr; } .grid{ grid-template-columns: 1fr 1fr; } }
@media (min-width: 560px){ .grid{ grid-template-columns:1fr 1fr; } }

.daycard { background: #fff; border-radius: 16px; padding: 16px 18px; border: 2px solid #e3efe6; box-shadow: 0 2px 8px rgba(22,48,31,.05); }
.daycard.done { border-color: #4a8f78; background: #f6fcfa; }
.daycard.late { border-color: #e8c74a; }
.daycard .row1 { display: flex; align-items: center; justify-content: space-between; gap: 8px; flex-wrap: wrap; }
.daycard .dnum { font-weight: 800; font-size: 16px; color: #1a4d3e; }
.daycard .dlabel { font-size: 12.5px; color: #6b8a7d; font-weight: 600; }
.daycard .stars { font-size: 15px; letter-spacing: 2px; color: #d9c88a; }
.daycard .stars .on { color: #e8b53a; }
.daycard .state { font-size: 12.5px; padding: 3px 10px; border-radius: 12px; font-weight: 700; }
.state.done { background: #d9efe2; color: #1f6b47; }
.state.notyet { background: #f0f2f1; color: #7a8a81; }
.state.warn { background: #fdf1d6; color: #8a6a14; }
.daycard .numrow { display: flex; gap: 18px; margin-top: 12px; font-size: 13.5px; color: #3d5d4c; flex-wrap: wrap; }
.daycard .numrow b { color: #20553a; font-size: 16px; }
.daycard .barwrap { margin-top: 10px; height: 8px; background: #eef3f0; border-radius: 6px; overflow: hidden; }
.daycard .bar { height: 100%; background: linear-gradient(90deg,#4a8f78,#63b08c); border-radius: 6px; }
.daycard .tail { margin-top: 10px; font-size: 11.5px; color: #93a89b; }
.status-none { color:#7a8a81; }
.section { margin: 26px 0 12px; display: flex; align-items: center; gap: 10px; font-size: 18px; color: #1a4d3e; padding-bottom: 8px; border-bottom: 2px solid #cfe0d7; }
.section span { background: #4a8f78; color: #fff; border-radius: 8px; font-size: 12.5px; padding: 3px 10px; }
.foot { margin-top: 40px; text-align: center; font-size: 12px; color: #7d9a8d; }
select, input, button { font-family: inherit; }
.toolbar { display: flex; gap: 10px; align-items: center; flex-wrap: wrap; background: #fff; border-radius: 14px; padding: 12px 16px; margin-bottom: 16px; box-shadow: 0 2px 8px rgba(22,48,31,.06); }
.toolbar label { font-size: 13px; color: #5b7d66; }
.toolbar select, .toolbar input { border: 1px solid #cfe0d7; background: #f8fbf9; border-radius: 10px; padding: 8px 12px; font-size: 13.5px; color: #1a4d3e; }
.toast { position: fixed; bottom: 26px; left: 50%; transform: translateX(-50%); background: #1a4d3e; color: #fff; padding: 12px 22px; border-radius: 12px; font-size: 14px; box-shadow: 0 6px 18px rgba(0,0,0,.2); opacity: 0; pointer-events: none; transition: opacity .25s ease; }
.toast.show { opacity: 1; }
.authbar { background:#fff; border-radius:14px; padding:12px 16px; margin-bottom:16px; display:flex; gap:10px; align-items:center; flex-wrap:wrap; box-shadow:0 2px 8px rgba(22,48,31,.06); }
.authbar input{ border:1px solid #cfe0d7; background:#f8fbf9; border-radius:10px; padding:8px 12px; font-size:13.5px; flex:1; min-width:200px; }
.btn{ border:none; border-radius:11px; padding:9px 18px; font-size:13.5px; font-weight:700; cursor:pointer; }
.btn-main{ background:#2d5a3d; color:#fff; } .btn-main:hover{ background:#3d6b4e; }
.btn-ghost{ background:#eef5f0; color:#2d5a3d; }
.sumcard { background:#fff; border-radius:16px; padding:20px 22px; border:2px solid #e3efe6; box-shadow:0 2px 8px rgba(22,48,31,.05); display:flex; gap:18px; align-items:center; flex-wrap:wrap; }
.sumcard .ico{ flex:0 0 auto; width:64px; height:64px; border-radius:14px; background:linear-gradient(135deg,#2d5a3d,#4a8f78); color:#fff; display:flex; align-items:center; justify-content:center; font-size:26px; }
.sumcard h3{ font-size:18px; color:#1a4d3e; }
.sumcard p{ color:#58766a; font-size:13px; margin:5px 0 12px; }
.mini{ font-size:12px; color:#6b8a7d; margin-top:8px; }
.table{ width:100%; border-collapse:collapse; background:#fff; border-radius:12px; overflow:hidden; box-shadow:0 2px 8px rgba(22,48,31,.05); }
.table th,.table td{ padding:10px 12px; font-size:13px; border-bottom:1px solid #eef3f0; text-align:left; }
.table th{ background:#eef5f0; color:#2d5a3d; font-weight:700; }
.pill{ display:inline-block; padding:2px 9px; border-radius:10px; font-size:11.5px; font-weight:700; }
.pill.on{ background:#d9efe2; color:#1f6b47; }
.pill.off{ background:#eef0ee; color:#7a8a81; }
.hidden{ display:none !important; }
.center{ text-align:center; }