[hidden]{display:none!important}.stats{grid-template-columns:repeat(4,1fr)}.stats strong{font-size:23px}.toolbar{display:flex;flex-wrap:wrap;gap:12px;align-items:end}.toolbar label{min-width:125px;flex:1}.toolbar label:nth-child(2){flex:2}.switches{display:flex;gap:16px;flex-wrap:wrap;align-items:center;margin:7px 0 18px}.switches label{display:flex;align-items:center;gap:5px;font-size:12px;font-weight:500;margin:0}.switches input{width:auto;margin:0}.switches .actions{margin-left:auto;gap:6px;flex-wrap:wrap}.chart-scroll{overflow:auto;max-height:640px;border:1px solid #e5ecf5;border-radius:9px}.chart-inner{display:flex;align-items:flex-start;position:relative}.frozen{position:sticky;left:0;width:240px;flex:none;z-index:3;border-right:1px solid #dfe7f1;background:white}.axis-label{height:52px;background:#f6f9fd;padding:19px 12px;font-size:10px;letter-spacing:.06em;color:#8291a5;font-weight:700}.task-label{display:block;height:56px;background:white;border:0;border-bottom:1px solid #edf1f7;border-radius:0;padding:10px 12px;width:100%;color:#24344f;text-align:left;font-size:12px;font-weight:400}.task-label:hover{background:#f1f6fe}.task-label strong{display:block;overflow:hidden;white-space:nowrap;text-overflow:ellipsis;font-size:12px}.task-label small{display:block;color:#8a98ac;margin-top:4px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.chart-scroll svg{flex:none}.chart-scroll g[role=button]{cursor:pointer}.chart-scroll g[role=button]:focus{outline:2px solid #1475cc}button:focus-visible,a:focus-visible,input:focus-visible,select:focus-visible{outline:3px solid #4b9cdd;outline-offset:2px}button:disabled{opacity:.4;cursor:default}dialog{width:min(760px,96vw);max-height:90vh;overflow:auto}h3{font-size:14px;margin-bottom:5px}.dependency-row{display:grid;grid-template-columns:minmax(120px,1fr) 75px 80px 36px;gap:7px;align-items:center;margin-bottom:9px}.dependency-row input,.dependency-row select{margin:0;min-width:0}summary{cursor:pointer;font-size:14px;font-weight:700}details p,details li{font-size:12px;line-height:1.7;color:#73839a}.demo-note{padding:12px 16px;border-radius:9px;background:#eaf2ff;color:#42638f;font-size:12px;margin-bottom:22px}.stats div:last-child strong{font-size:19px}.tablewrap td:first-child{max-width:280px;white-space:normal}.formgrid{grid-template-columns:repeat(2,minmax(0,1fr))}#message{white-space:pre-line}.actions{gap:8px}#sync{color:#8391a3;white-space:nowrap}@media(max-width:650px){.stats{grid-template-columns:1fr 1fr}.sectionhead{align-items:flex-start;flex-direction:column}.toolbar label{min-width:40%}.switches .actions{margin-left:0}.formgrid{grid-template-columns:1fr}.dependency-row{grid-template-columns:minmax(100px,1fr) 65px 65px 32px}.dependency-row input,.dependency-row select{font-size:12px;padding:8px 4px}}@media print{@page{size:A3 landscape;margin:12mm}header,.topline,.back,.demo-note,.toolbar,.switches,button,.actions,#sync{display:none!important}body{background:white;font-size:10px}main{padding:0;max-width:none}.panel{box-shadow:none;padding:10px;margin:10px 0;break-inside:auto}.chart-scroll{max-height:none;overflow:visible}.chart-inner{max-width:none}.tablewrap{overflow:visible}table{font-size:9px}td,th{padding:6px;white-space:normal}.stats{display:flex}.stats>div{flex:1}.heading{margin:0}.heading h1{font-size:22px}.frozen{position:static}dialog{display:none}.chart-scroll svg{max-width:calc(100vw - 260px);height:auto}details{display:none}}

.print-only{display:none}@media print{.chart-scroll{display:none!important}.print-only{display:block}.print-only svg{width:100%;height:auto}#taskRows td:last-child:has(button){display:none}}

/* New project form: explicit spacing, including servers that block inline styles. */
.project-create form{display:grid;gap:24px}
.project-create .project-field{display:grid;gap:8px;min-width:0}
.project-create .project-field label{margin:0;line-height:1.5}
.project-create .project-field input,.project-create .project-field textarea{margin:0;line-height:1.5}
.project-create .actions{margin:0;gap:10px;flex-wrap:wrap}

#scheduleChanges{white-space:pre-line;line-height:1.7;max-height:40vh;overflow:auto}
.confirmation-choice{display:flex;align-items:center;gap:8px;margin:20px 0}
.confirmation-choice input{width:auto;margin:0}

.summary-row{background:#edf3fc}.summary-row>td:first-child{font-weight:700}
.subtask-row>td:first-child{padding-left:28px}
.fold-button{display:inline-grid;place-items:center;min-width:36px;min-height:36px;padding:4px;background:#e0eafa;color:#203a60;margin-right:6px}
.task-label-group{display:flex;align-items:center;gap:4px;padding:5px 8px}
.task-label-group .fold-button{flex:none;margin:0}
.task-title{flex:1;min-width:0;padding:5px 2px;background:transparent;color:#24344f;text-align:left;border-radius:0;font-weight:400}
.summary-label{background:#edf3fc}.child-label{padding-left:26px}
.task-title strong,.task-title small{display:block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
