.schedule-contract-panel{padding:20px;display:flex;justify-content:space-between;gap:22px;align-items:center;margin-bottom:20px}.schedule-contract-panel .select{width:100%;max-width:700px;min-width:300px;font-size:13px;height:auto;min-height:42px}.schedule-contract-panel .subtitle{margin-top:9px}.schedule-kpis .kpi-value{font-size:28px}.schedule-stat{text-align:left}.schedule-stat[aria-pressed=true]{outline:2px solid var(--green);outline-offset:2px}.schedule-stat.is-overdue .kpi-value{color:#b91c1c}.schedule-explanation{margin-bottom:20px;line-height:1.75}.work-filter{display:flex;flex-wrap:wrap;gap:12px;align-items:end;margin:0 0 18px}.work-filter label{display:flex;flex-direction:column;gap:6px;color:var(--muted);font-size:11px;min-width:145px}.work-filter .work-search{flex:1;min-width:220px}.work-filter input[type=search],.act-work-tools input[type=search]{padding:9px 11px;border:1px solid var(--line);border-radius:7px;background:var(--paper);color:var(--ink);min-height:39px}.work-gantt-panel,.full-work-list,.work-acts-panel{margin-bottom:24px}.work-gantt-panel .panel-body{padding-bottom:5px}.work-gantt-panel .panel-head .subtitle{line-height:1.65}.gantt-legend{display:flex;flex-wrap:wrap;gap:11px 18px;font-size:11px;color:var(--muted);margin-bottom:15px}.gantt-legend span{display:flex;align-items:center;gap:6px}.gantt-legend i{width:17px;height:8px;display:inline-block;border-radius:2px}.gantt-legend .planned,.gantt-bar.planned{background:var(--green)}.gantt-legend .overdue,.gantt-bar.overdue{background:#b91c1c}.gantt-legend .completed,.gantt-bar.completed{background:#15803d}.gantt-legend .partial,.gantt-bar.partial{background:#ca8a04}.gantt-scroll{--gantt-label-width:310px;overflow:auto;max-height:580px;border-top:1px solid var(--line);isolation:isolate}.gantt-canvas{min-width:100%;width:calc(var(--gantt-label-width) + var(--gantt-timeline-width))}.gantt-header,.gantt-row{display:flex;position:relative;min-height:65px;border-bottom:1px solid var(--line)}.gantt-header{position:sticky;top:0;z-index:5;background:var(--soft);min-height:44px;height:44px}.gantt-label{position:sticky;left:0;z-index:2;flex:0 0 var(--gantt-label-width);width:var(--gantt-label-width);min-width:var(--gantt-label-width);padding:11px 14px;background:var(--paper);border-right:1px solid var(--line);color:var(--ink);text-align:left;font-size:11px;display:flex;align-items:center;gap:9px}.gantt-label strong{flex-shrink:0}.gantt-label>span{display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:3;overflow:hidden;line-height:1.5}.gantt-header>.gantt-label{background:var(--soft);font-weight:600;z-index:6}.gantt-axis,.gantt-track{flex-shrink:0;position:relative}.gantt-tick-label{position:absolute;top:12px;font-size:10px;color:var(--muted);padding-left:5px;white-space:nowrap;border-left:1px solid var(--line)}.gantt-track{min-height:65px;overflow:hidden}.gantt-grid-line{position:absolute;top:0;bottom:0;border-left:1px solid var(--line);opacity:.65}.gantt-today{position:absolute;top:0;bottom:0;border-left:2px dashed var(--ink);z-index:1;opacity:.55}.gantt-bar{position:absolute;top:26px;height:13px;border-radius:3px;min-width:5px;z-index:2;max-width:100%}.gantt-deadline{position:absolute;top:20px;color:#b91c1c;font-weight:700;font-size:18px;z-index:2}.gantt-delay{position:absolute;top:27px;height:10px;background:repeating-linear-gradient(135deg,#fecaca,#fecaca 4px,#fee2e2 4px,#fee2e2 8px);border-bottom:1px solid #b91c1c;z-index:1}.gantt-acceptance{position:absolute;top:21px;transform:translateX(-50%);font-size:21px;line-height:22px;color:#166534;z-index:3;text-shadow:0 0 2px white}.gantt-no-date{display:block;padding:23px 15px;color:var(--muted);font-size:11px;position:sticky;left:320px;width:fit-content;max-width:480px}.gantt-group .gantt-label,.gantt-group .gantt-track{background:var(--soft)}.gantt-group .gantt-bar{height:7px;top:29px}.schedule-work-name{min-width:310px;max-width:650px;white-space:normal;line-height:1.65}.schedule-work-name strong{font-weight:550}.full-work-list .schedule-rule{white-space:normal;min-width:170px;max-width:300px;line-height:1.65;color:var(--muted)}.full-work-list .table td{vertical-align:top}.full-work-list .small{color:var(--muted)}.work-row-overdue>td:first-child{border-left:3px solid #b91c1c}.work-row-overdue .due-date{color:#991b1b}.schedule-group>td{background:var(--soft)}.work-status{display:inline-block;font-size:10px;font-weight:600;line-height:1.5;border-radius:5px;padding:5px 8px;white-space:normal}.work-status-overdue{background:#fee2e2;color:#991b1b}.work-status-completed{background:#dcfce7;color:#166534}.work-status-late,.work-status-partial{background:#fef3c7;color:#854d0e}.work-status-planned{background:var(--soft);color:var(--green)}.work-status-undated,.work-status-invalid{background:#f1f5f9;color:#475569}.work-acts-panel .panel-head{padding-bottom:18px}.work-acts-panel .subtitle{max-width:780px;line-height:1.7}.work-act-text{border:1px solid var(--line);border-radius:7px;margin-top:17px;padding:12px 14px;font-size:12px}.work-act-text summary{cursor:pointer;font-weight:550}.work-act-text pre{white-space:pre-wrap;overflow-wrap:anywhere;font:11px/1.7 var(--sans);max-height:400px;overflow:auto;color:var(--muted);margin-top:12px}.work-act-text p{margin-top:10px;color:var(--muted)}.act-work-details li{margin:13px 0;line-height:1.7;font-size:12px}.act-work-tools{display:flex;align-items:end;gap:9px;flex-wrap:wrap;margin:15px 0}.act-work-tools label{flex:1;min-width:180px;display:flex;flex-direction:column;gap:6px;font-size:11px;color:var(--muted)}.act-work-selection{max-height:360px;overflow:auto;border:1px solid var(--line);border-radius:7px;margin-bottom:17px}.act-work-selection thead th{position:sticky;top:0;z-index:1;background:var(--paper)}.act-work-selection tr[hidden]{display:none}.act-work-selection .select{min-width:165px;width:100%;max-width:210px}.act-work-selection td{vertical-align:top}.act-confirmation{line-height:1.7}#work-act-form .field-grid{margin-bottom:20px}#work-act-form .field{display:flex;flex-direction:column;gap:6px;margin-bottom:15px;font-size:12px}#work-act-form .field>.select{width:100%;max-width:100%}
@media(max-width:800px){.schedule-contract-panel{align-items:stretch;flex-direction:column}.schedule-contract-panel .select{min-width:0;max-width:100%}.schedule-contract-panel .controls{flex-wrap:wrap}.schedule-kpis{grid-template-columns:1fr 1fr}.gantt-scroll{max-height:500px}.work-gantt-panel .panel-head,.work-acts-panel .panel-head{flex-wrap:wrap;align-items:start}.work-filter label{flex:1;min-width:130px}.work-filter .select{max-width:100%;width:100%}.act-work-tools .btn{white-space:normal}.gantt-legend{gap:10px}.schedule-work-name{min-width:260px}}

.upload-intents{grid-template-columns:repeat(3,minmax(0,1fr))}
@media(max-width:800px){.gantt-scroll{--gantt-label-width:200px}.upload-intents{grid-template-columns:1fr}}
@media(max-width:450px){.gantt-scroll{--gantt-label-width:170px}}
