.weekly-board,.weekly-board *{box-sizing:border-box}
.weekly-board{display:none;position:fixed;inset:0;z-index:70;background:#f4f7fb;color:#172033;overflow:auto}
.weekly-board.open{display:block}
.weekly-head{position:sticky;top:0;z-index:3;display:flex;align-items:center;justify-content:space-between;gap:20px;padding:18px 28px;background:#172033;color:#fff;box-shadow:0 2px 10px rgba(15,23,42,.18)}
.weekly-head h2{margin:0 0 3px;font-size:21px}
.weekly-head p{margin:0;color:#cbd5e1;font-size:12px}
.weekly-head-actions{display:flex;align-items:center;gap:8px}
.weekly-shell{width:min(1500px,100%);margin:0 auto;padding:24px}
.weekly-toolbar{display:flex;align-items:center;justify-content:space-between;gap:14px;margin-bottom:18px}
.weekly-toolbar-copy h3{margin:0 0 4px;font-size:19px}
.weekly-toolbar-copy p{margin:0;color:#64748b;font-size:13px}
.weekly-admin-actions{display:flex;gap:8px}
.weekly-layout{display:grid;grid-template-columns:minmax(260px,340px) minmax(0,1fr);gap:20px;align-items:start}
.weekly-list,.weekly-detail{background:#fff;border:1px solid #dfe7f1;border-radius:10px;box-shadow:0 2px 8px rgba(15,23,42,.04)}
.weekly-list{padding:10px;display:grid;gap:7px;max-height:calc(100vh - 180px);overflow:auto}
.weekly-post{width:100%;display:grid;gap:5px;text-align:left;border:1px solid #e2e8f0;border-radius:8px;background:#fff;padding:13px;color:#334155}
.weekly-post:hover{border-color:#93c5fd;background:#f8fbff}
.weekly-post.active{border-color:#2563eb;background:#eff6ff;box-shadow:inset 3px 0 #2563eb}
.weekly-post-title{font-weight:850;color:#0f172a;line-height:1.35}
.weekly-post-meta{display:flex;align-items:center;justify-content:space-between;gap:8px;color:#64748b;font-size:11px}
.weekly-kind{display:inline-block;border-radius:999px;padding:3px 7px;background:#dbeafe;color:#1d4ed8;font-weight:850}
.weekly-kind.result{background:#dcfce7;color:#15803d}
.weekly-detail{padding:24px;min-height:520px}
.weekly-detail-head{display:flex;justify-content:space-between;gap:18px;padding-bottom:18px;border-bottom:1px solid #e5e7eb}
.weekly-detail-head h3{margin:0 0 5px;font-size:23px;color:#0f172a}
.weekly-detail-head p{margin:0;color:#64748b;font-size:13px}
.weekly-totals{display:flex;gap:8px;flex-wrap:wrap;justify-content:flex-end}
.weekly-total{min-width:84px;border-radius:8px;padding:9px 11px;background:#f1f5f9;text-align:center}
.weekly-total b{display:block;font-size:18px;color:#0f172a}
.weekly-total span{font-size:11px;color:#64748b}
.weekly-members{display:grid;gap:14px;margin-top:18px}
.weekly-member{border:1px solid #e2e8f0;border-radius:9px;overflow:hidden}
.weekly-member-head{display:flex;align-items:center;justify-content:space-between;gap:10px;padding:12px 15px;background:#f8fafc;border-bottom:1px solid #e2e8f0}
.weekly-member-head strong{font-size:16px;color:#0f172a}
.weekly-member-counts{display:flex;gap:6px;flex-wrap:wrap;color:#64748b;font-size:11px}
.weekly-columns{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:0}
.weekly-report-result .weekly-columns{grid-template-columns:repeat(4,minmax(0,1fr))}
.weekly-column{padding:14px;min-width:0;border-right:1px solid #edf2f7}
.weekly-column:last-child{border-right:0}
.weekly-column h4{display:flex;justify-content:space-between;gap:6px;margin:0 0 10px;font-size:13px;color:#475569}
.weekly-task-list{display:grid;gap:7px}
.weekly-task{border:1px solid #e5e7eb;border-radius:7px;padding:9px;background:#fff}
.weekly-task-title{display:block;font-size:13px;font-weight:750;color:#1e293b;line-height:1.4;word-break:break-word}
.weekly-task-meta{display:flex;gap:6px;flex-wrap:wrap;margin-top:6px;color:#64748b;font-size:10px}
.weekly-task-state{border-radius:999px;padding:2px 6px;background:#e2e8f0;color:#475569;font-weight:800}
.weekly-task-state.progress{background:#dbeafe;color:#1d4ed8}
.weekly-task-state.complete{background:#dcfce7;color:#15803d}
.weekly-empty{padding:24px 12px;text-align:center;color:#94a3b8;font-size:12px}
.weekly-loading{display:grid;place-items:center;min-height:280px;color:#64748b}
.weekly-error{border:1px solid #fecaca;border-radius:8px;background:#fef2f2;color:#b91c1c;padding:14px;line-height:1.5}
.weekly-toast{display:none;position:fixed;right:24px;bottom:24px;z-index:75;max-width:420px;border-radius:8px;background:#172033;color:#fff;padding:12px 15px;box-shadow:0 12px 32px rgba(15,23,42,.28);font-size:13px}
.weekly-toast.show{display:block}
@media(max-width:1100px){.weekly-layout{grid-template-columns:1fr}.weekly-list{max-height:none;grid-template-columns:repeat(2,minmax(0,1fr))}.weekly-report-result .weekly-columns{grid-template-columns:repeat(2,minmax(0,1fr))}.weekly-column:nth-child(2){border-right:0}}
@media(max-width:700px){.weekly-head,.weekly-toolbar,.weekly-detail-head{align-items:stretch;flex-direction:column}.weekly-shell{padding:14px}.weekly-head{padding:15px}.weekly-head-actions,.weekly-admin-actions{display:grid;grid-template-columns:1fr 1fr}.weekly-list{grid-template-columns:1fr}.weekly-columns,.weekly-report-result .weekly-columns{grid-template-columns:1fr}.weekly-column{border-right:0;border-bottom:1px solid #edf2f7}.weekly-column:last-child{border-bottom:0}.weekly-totals{justify-content:stretch}.weekly-total{flex:1}.weekly-detail{padding:17px}}
