#monthCloseDialog{width:min(1120px,calc(100vw - 32px));max-width:none;height:min(92vh,980px);max-height:92vh}
.close-pilot-shell{display:flex;height:100%;min-height:0;flex-direction:column}.close-pilot-header{display:flex;justify-content:space-between;gap:20px;padding:24px 28px 12px}.close-pilot-header h2{font-size:23px;margin:6px 0;color:var(--ink)}.close-pilot-header p{font-size:13px;color:var(--muted);margin:0}.close-pilot-badge{font-size:11px;font-weight:700;color:var(--green);letter-spacing:.04em}.close-pilot-header>.icon-button{align-self:start}.close-pilot-toolbar{display:flex;align-items:end;gap:14px;padding:0 28px 16px}.close-pilot-toolbar label{margin:0;min-width:180px}.close-pilot-toolbar>span{font-size:12px;align-self:center;color:var(--muted)}.close-pilot-stages{list-style:none;display:grid;grid-template-columns:repeat(3,1fr);gap:8px;padding:0 28px;margin:0 0 16px}.close-pilot-stages li{font-size:13px;background:#f0f4f5;color:#607580;padding:10px 14px;border-radius:8px}.close-pilot-stages li[data-state=active]{background:var(--green);color:#fff}.close-pilot-stages li[data-state=done]{background:#e8f4ef;color:#246453}.close-pilot-stages li[data-state=done]:after{content:' ✓';float:right}.close-pilot-body{flex:1;min-height:0;overflow:auto;max-width:none;width:100%;padding:0 28px 22px;margin:0}.close-pilot-metrics{display:grid;grid-template-columns:repeat(4,1fr);gap:10px}.close-pilot-metrics>div{background:#f3f7f7;border:1px solid var(--line);border-radius:10px;padding:14px 16px}.close-pilot-metrics span{display:block;font-size:12px;color:var(--muted)}.close-pilot-metrics strong{font-size:27px;font-weight:700;color:var(--green)}.close-pilot-metrics small{font-size:12px;margin-left:5px;color:var(--muted);font-weight:400}.close-pilot-action{display:flex;align-items:center;justify-content:space-between;gap:22px;border:1px solid #c9dfd8;background:#f3faf6;border-radius:10px;margin:18px 0;padding:16px}.close-pilot-action h3{margin:0 0 6px;font-size:15px}.close-pilot-action p{margin:0;color:#526f65;font-size:12px;line-height:1.75;max-width:670px}.close-pilot-action>button{flex:none;white-space:nowrap}.close-pilot-section-title{display:flex;align-items:center;justify-content:space-between;gap:16px;margin:20px 0 12px}.close-pilot-section-title h3{font-size:16px;margin:0}.close-pilot-section-title select{width:200px;margin:0;font-size:13px}.close-pilot-issue{display:flex;justify-content:space-between;align-items:center;gap:20px;border:1px solid var(--line);border-radius:9px;margin:8px 0;padding:13px 15px;background:#fff}.close-pilot-issue strong{font-size:14px}.close-pilot-issue p{font-size:12px;color:var(--green);margin:4px 0}.close-pilot-issue small{color:var(--muted);font-size:12px;line-height:1.7}.close-pilot-issue>button{flex:none;font-size:12px}.close-pilot-details{border:1px solid var(--line);border-radius:10px;margin:16px 0;padding:12px 15px}.close-pilot-details>summary{cursor:pointer;font-size:13px;font-weight:600}.close-pilot-proposals article{padding:14px 0;border-top:1px solid var(--line);margin-top:12px}.close-pilot-proposals p{font-size:12px;line-height:1.7;color:var(--muted)}.close-pilot-proposals strong{font-size:13px}.close-pilot-note{font-size:12px;color:var(--muted);line-height:1.8;margin:20px 0 0}.close-pilot-ready{background:#edf7f0;border-radius:9px;padding:20px;color:#2c6653;font-size:13px}.close-pilot-footer{display:flex;align-items:center;justify-content:space-between;gap:20px;padding:15px 28px;border-top:1px solid var(--line);background:#fbfdfc}.close-pilot-footer>span{font-size:12px;color:var(--muted)}.close-pilot-footer>div{display:flex;gap:8px;flex-wrap:wrap}.close-pilot-footer button{font-size:13px}#openMonthClosePilot{font-size:13px;align-self:center}.workspace-compact [data-app-view=monthly-records]>.page-heading{display:flex;align-items:center;justify-content:space-between;gap:16px}
@media(max-width:760px){.close-pilot-header{padding:18px 18px 12px}.close-pilot-toolbar{padding:0 18px 14px;flex-wrap:wrap}.close-pilot-stages{padding:0 18px}.close-pilot-body{padding:0 18px 18px}.close-pilot-metrics{grid-template-columns:repeat(2,1fr)}.close-pilot-action{flex-direction:column;align-items:stretch;gap:12px}.close-pilot-footer{padding:12px 18px;flex-wrap:wrap;gap:10px}.close-pilot-footer>div{width:100%;justify-content:flex-end}.close-pilot-footer button{font-size:12px}.close-pilot-issue{gap:10px}.workspace-compact [data-app-view=monthly-records]>.page-heading{align-items:start;flex-direction:column}}
