/* Construction schedule: editor card, quote panel, home tiles, header bell. */
.progress-card-head,.progress-panel-head{display:flex;align-items:center;gap:12px;flex-wrap:wrap;margin-bottom:14px}
.progress-card-head{justify-content:space-between}
.progress-card h2,.progress-panel h2,.attention-card h2{display:flex;align-items:center;gap:8px;margin:0}
.progress-card h2 .solid-icon,.progress-panel h2 .solid-icon,.attention-card h2 .solid-icon{width:20px;height:20px;flex-basis:20px}
.progress-grid{grid-template-columns:repeat(4,minmax(0,1fr))}
.progress-panel-head button{margin-left:auto}
.progress-badge{display:inline-flex;align-items:center;gap:6px;padding:5px 10px;border-radius:999px;background:#f2f4f7;color:#475467;font-size:12px;font-weight:700;white-space:nowrap}
.progress-badge .solid-icon{width:14px;height:14px;flex-basis:14px}
.progress-badge.pending{background:#eff4ff;color:#3538cd}
.progress-badge.in_progress{background:#e0f2fe;color:#026aa2}
.progress-badge.overdue{background:#fef3f2;color:#d92d20}
.progress-badge.completed{background:#e7f6ec;color:#16803c}
.progress-dates{display:flex;flex-wrap:wrap;gap:8px 24px;margin-bottom:12px;color:#475467}
.progress-track{height:10px;margin-bottom:6px;border-radius:999px;background:#eef2f6;overflow:hidden}
.progress-track span{display:block;height:100%;border-radius:inherit;background:var(--brand);transition:width .3s}
.progress-panel.overdue .progress-track span{background:#d92d20}.progress-panel.completed .progress-track span{background:#16a34a}.progress-panel.cancelled .progress-track span{background:#98a2b3}
.progress-note{margin:10px 0 0;padding:10px 12px;border-radius:6px;background:#f8fafc}
.qm-progress{margin-top:6px}

.attention-card>.muted{margin:4px 0 18px;font-size:14px}
#main:has(#month) .card,#main:has(#month) .stat,#main:has(#month) .attention-card .attention-tile{border-radius:6px}
.report-toolbar{gap:12px}
.report-label{margin:0;color:#1d2433;font-size:14px;font-weight:700;white-space:nowrap}
.attention-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(180px,1fr));gap:16px}
.attention-card .attention-tile{display:block;width:100%;padding:20px;border:1px solid #e4e7ec;border-radius:10px;background:#f8fafc;color:#475467;text-align:left}
.attention-card .attention-tile:hover{border-color:var(--brand);background:#f2f6ff}
.attention-label{display:flex;align-items:center;gap:8px;font-size:14px;font-weight:700}
.attention-label .solid-icon{width:18px;height:18px;flex-basis:18px}
.attention-tile strong{display:block;margin-top:12px;font-size:32px;line-height:1;color:#667085}
.attention-card .attention-tile.alert{border-color:#fecdca;background:#fef3f2;color:#b42318}.attention-tile.alert strong{color:#d92d20}
.attention-list{margin-top:18px;border-top:1px solid #eef0f3}
.overdue-row{display:flex;align-items:center;gap:12px;flex-wrap:wrap;padding:12px 0;border-bottom:1px solid #eef0f3}
.overdue-row .overdue-info{flex:1;min-width:220px}.overdue-row .bell-question{display:none}

.bell-menu{position:relative;flex:none;margin-left:auto}
header .bell-menu+.profile-menu{margin-left:10px}
header .bell-toggle{position:relative;display:grid;place-items:center;width:40px;height:40px;padding:0;border:1px solid #e4e7ec;border-radius:50%;background:#fff;color:#475467}
.bell-toggle .solid-icon{width:20px;height:20px;flex-basis:20px}
.bell-count{position:absolute;top:-4px;right:-4px;min-width:18px;height:18px;padding:0 5px;border-radius:9px;background:#d92d20;color:#fff;font-size:11px;font-weight:700;line-height:18px;text-align:center}
header .bell-menu:has(.bell-count) .bell-toggle{border-color:#fecdca;color:#d92d20;animation:bell-ring 1.6s ease-in-out 1}
.bell-panel{display:none;position:absolute;top:calc(100% + 8px);right:0;z-index:60;width:min(380px,calc(100vw - 24px));max-height:70vh;overflow:auto;border:1px solid #e4e7ec;border-radius:10px;background:#fff;box-shadow:0 12px 32px #1018282e}
.bell-menu.opened .bell-panel{display:block}
.bell-head{position:sticky;top:0;display:flex;justify-content:space-between;padding:12px 16px;border-bottom:1px solid #eef0f3;background:#fff}
.bell-item{padding:12px 16px;border-bottom:1px solid #eef0f3}
.bell-title{font-weight:700;color:#1d2433}
.bell-late{color:#d92d20;font-weight:600}
.bell-question{margin:6px 0;font-size:13px}
.bell-actions{display:flex;flex-wrap:wrap;gap:6px}
.bell-empty{margin:0;padding:20px 16px;color:#667085;text-align:center}
@keyframes bell-ring{0%,60%,100%{transform:rotate(0)}10%,30%{transform:rotate(12deg)}20%,40%{transform:rotate(-12deg)}}
@media(prefers-reduced-motion:reduce){header .bell-menu:has(.bell-count) .bell-toggle{animation:none}}
@media(max-width:1000px){.progress-grid{grid-template-columns:1fr 1fr}}
@media(max-width:760px){.progress-grid{grid-template-columns:1fr}header .bell-toggle{width:34px;height:34px}.bell-panel{position:fixed;top:60px;right:12px}}
