.library-tools{display:flex;gap:14px;align-items:end;margin:24px 0}.library-tools label:first-child{flex:1}.project-cards{display:grid;grid-template-columns:repeat(auto-fill,minmax(280px,1fr));gap:15px}.project-card{background:white;border:1px solid var(--line);border-top:3px solid var(--navy);border-radius:10px;padding:20px;display:grid;gap:12px}.project-card.active{border-top-color:var(--teal)}.project-card h2{margin:0}.project-card .code{font-weight:800;color:#607086}.project-card footer{display:flex;justify-content:space-between;align-items:center;color:var(--muted)}.project-card button{width:max-content}.schedule-header-actions{display:flex;gap:8px;flex-wrap:wrap;justify-content:flex-end}.save-banner{padding:10px 14px;margin:18px 0;background:#e8f8f5;color:#087d72;border-radius:7px}.activity-input{min-width:230px}.number-input{width:95px}.empty-library{background:white;border:1px dashed #aab8c6;border-radius:10px;padding:40px;text-align:center;color:var(--muted)}#scheduleView .panel-heading{display:flex;justify-content:space-between;align-items:center}@media(max-width:700px){.library-tools{display:grid}.project-cards{grid-template-columns:1fr}.activity-input{min-width:180px}}
.activity-actions{display:flex;gap:6px}.activity-actions button{padding:7px 9px;white-space:nowrap}#activityDialog{width:min(820px,calc(100vw - 30px));max-height:calc(100vh - 30px)}#activityDialog form{overflow:auto;max-height:calc(100vh - 62px)}#activityDialog fieldset{margin:15px 0;border:1px solid var(--line);border-radius:9px;padding:13px}#activityDialog legend{padding:0 7px;font-weight:800;color:var(--navy)}.field-grid.three{grid-template-columns:repeat(3,minmax(0,1fr))}@media(max-width:700px){.field-grid.three{grid-template-columns:1fr}}
#projectDialog{width:min(760px,calc(100vw - 30px));max-height:calc(100vh - 30px)}#projectDialog form{overflow:auto;max-height:calc(100vh - 62px)}.dialog-intro,.template-description{color:var(--muted);line-height:1.5}.template-description{padding:12px;border-radius:8px;background:#f2f7f5;border-left:4px solid var(--teal)}
.hosted-history-panel{overflow:hidden}.hosted-history-list{display:grid;max-height:610px;overflow:auto;border-top:1px solid var(--line)}.history-item{display:grid;grid-template-columns:120px minmax(0,1fr) auto;gap:16px;align-items:center;padding:16px 18px;border-bottom:1px solid var(--line);background:#fff}.history-revision{font-weight:800;color:var(--navy)}.history-item strong,.history-item small{display:block}.history-item small{margin-top:4px;color:var(--muted)}.history-item em{padding:5px 9px;border-radius:999px;background:#e7f7f1;color:#217761;font-style:normal;font-size:12px;font-weight:800}@media(max-width:700px){.history-item{grid-template-columns:1fr}.history-item em{width:max-content}}
.schedule-tabs{display:flex;gap:8px;margin:0 0 12px}.schedule-tabs button{min-width:120px}.hosted-workflow-panel{overflow:hidden}.hosted-workflow-panel .panel-heading label{min-width:180px}.hosted-workflow-wrap{overflow:auto;max-height:610px;border-top:1px solid var(--line)}.hosted-workflow-grid{width:max-content;min-width:100%;border-collapse:collapse}.hosted-workflow-grid th,.hosted-workflow-grid td{min-width:190px;padding:12px;border-right:1px solid var(--line);border-bottom:1px solid var(--line);text-align:center}.hosted-workflow-grid th:first-child{position:sticky;left:0;z-index:3;min-width:220px;text-align:left;background:#f7f9f8}.hosted-workflow-grid thead th{position:sticky;top:0;z-index:4;background:#eef3f0}.hosted-workflow-grid thead th:first-child{z-index:5}.hosted-stage-title{display:block;margin-bottom:9px}.hosted-stage-settings{display:grid;grid-template-columns:80px 90px;gap:6px;justify-content:center}.hosted-stage-settings input{min-width:0;padding:7px}.workflow-check{display:inline-flex;align-items:center;justify-content:center;width:34px;height:34px;border:1px solid #67bdaa;border-radius:7px;background:#eefaf7;color:#087d72;font-weight:900}.workflow-check.excluded{border-color:#cbd6d1;background:#fff;color:#82909d}.workflow-note{margin:12px;color:var(--muted);font-size:13px}
.hosted-health-panel{overflow:hidden}.hosted-health-list{display:grid;max-height:610px;overflow:auto;border-top:1px solid var(--line)}.hosted-health-item{display:grid;grid-template-columns:110px minmax(0,1fr) auto;gap:14px;align-items:center;padding:14px 18px;border-bottom:1px solid var(--line);background:#fff}.hosted-health-item.error{box-shadow:inset 4px 0 #c9544d}.hosted-health-item.warning{box-shadow:inset 4px 0 #d99528}.hosted-health-code{font-weight:800;color:var(--navy)}.hosted-health-copy strong{display:block;margin-bottom:3px}.hosted-health-copy small{color:var(--muted)}.hosted-health-empty{padding:42px;text-align:center;color:#217761;background:#f3fbf8}.attention-row{animation:hosted-attention 1.8s ease-out}@keyframes hosted-attention{0%,45%{background:#fff2c7}100%{background:transparent}}@media(max-width:700px){.hosted-health-item{grid-template-columns:1fr}.schedule-tabs{overflow:auto}}
.hosted-report{padding:24px}.report-position{display:grid;grid-template-columns:minmax(280px,1.2fr) 2fr;gap:20px;margin-top:18px}.report-position>div{padding:22px;border-radius:10px;background:#f3f8f6;border-left:5px solid var(--teal)}.report-position>div>span{font-size:12px;font-weight:800;color:var(--muted);text-transform:uppercase}.report-position>div>strong{display:block;margin:8px 0;font-size:28px}.report-position>div>p{margin:0;color:var(--muted)}.report-position dl{display:grid;grid-template-columns:repeat(2,1fr);gap:10px;margin:0}.report-position dl div{padding:15px;border:1px solid var(--line);border-radius:8px;background:#fff}.report-position dt{font-size:12px;font-weight:700;color:var(--muted)}.report-position dd{margin:6px 0 0;font-size:18px;font-weight:800}.report-columns{display:grid;grid-template-columns:1.2fr 1fr;gap:18px;margin-top:20px}.report-columns>section{border:1px solid var(--line);border-radius:10px;overflow:hidden}.report-columns h3{margin:0;padding:15px 18px;background:#eef3f0}.report-actions,.report-lookahead{display:grid}.report-item{display:grid;grid-template-columns:95px 1fr;gap:12px;padding:13px 18px;border-top:1px solid var(--line)}.report-item:first-child{border-top:0}.report-item b{color:var(--navy)}.report-item span{color:var(--muted)}.report-empty{padding:25px;color:#217761}@media(max-width:800px){.report-position,.report-columns{grid-template-columns:1fr}.report-position dl{grid-template-columns:1fr 1fr}}
.hosted-schedule-summary{display:grid;grid-template-columns:repeat(5,1fr);gap:12px;margin:0 0 18px}.hosted-schedule-summary article{background:#fff;border:1px solid var(--line);border-top:3px solid var(--navy);border-radius:10px;padding:14px 16px}.hosted-schedule-summary span{display:block;color:var(--muted);font-size:12px;font-weight:700}.hosted-schedule-summary strong{display:block;margin-top:4px;font-size:20px}.panel-actions{display:flex;gap:8px}.hosted-schedule-panel{overflow:hidden}.hosted-schedule-split{display:grid;grid-template-columns:minmax(980px,58%) minmax(600px,42%);height:600px;border-top:1px solid var(--line)}.hosted-activity-table,.hosted-gantt{height:100%;overflow:auto}.hosted-activity-table{border-right:3px solid #aab8c6}.hosted-activity-table table{width:max-content;min-width:100%;border-collapse:collapse}.hosted-activity-table th{position:sticky;top:0;z-index:4;background:#eef3f0}.hosted-activity-table td,.hosted-activity-table th{height:40px;padding:5px 8px;border-bottom:1px solid #e1e7e3;white-space:nowrap}.hosted-activity-table input{padding:6px}.hosted-status{display:inline-flex;border-radius:999px;padding:4px 8px;font-size:11px;font-weight:700;background:#edf1f3;color:#526579}.hosted-status.in_progress{background:#fff3d8;color:#8a5b0d}.hosted-status.complete{background:#e7f7f1;color:#217761}.baseline-variance{font-weight:700}.baseline-variance.late{color:#b4433d}.baseline-variance.early{color:#217761}.critical-row{box-shadow:inset 3px 0 #c9544d}.hosted-gantt{position:relative;background:#fff}.hosted-gantt-scale{position:sticky;top:0;z-index:4;height:42px;background:#eef3f0;border-bottom:1px solid var(--line)}.hosted-gantt-scale>span{position:absolute;height:42px;padding:12px 7px;border-left:1px solid #cbd6d1;font-size:11px;font-weight:800;color:#4f6475}.hosted-gantt-rows{position:relative;background:repeating-linear-gradient(90deg,transparent 0,transparent 34px,#edf1ef 35px),repeating-linear-gradient(0deg,transparent 0,transparent 39px,#e1e7e3 40px)}.hosted-gantt-row{position:relative;height:40px}.hosted-gantt-bar{position:absolute;top:12px;height:16px;min-width:4px;border-radius:5px;background:#4f7891}.hosted-gantt-bar.critical{background:#c9544d}.hosted-data-date{position:absolute;z-index:5;top:0;height:600px;border-left:2px solid #56c2a3}.gantt-empty{padding:12px;color:var(--muted)}
@media(max-width:1000px){.hosted-schedule-summary{grid-template-columns:repeat(2,1fr)}.hosted-schedule-split{grid-template-columns:minmax(760px,60%) minmax(520px,40%)}}@media(max-width:700px){.hosted-schedule-summary{grid-template-columns:1fr}.hosted-schedule-split{display:block;height:auto}.hosted-activity-table{max-height:520px;border-right:0}.hosted-gantt{height:360px;border-top:3px solid #aab8c6}}
@media print{body{background:#fff}.workspace-shell{display:block}.workspace-shell>aside,#projectLibrary,#backToProjects,.schedule-header-actions,.save-banner,.schedule-tabs,.panel-actions,.delete-activity{display:none!important}.workspace-main{padding:0;max-width:none}#scheduleView{display:block!important}#scheduleView>header{margin-bottom:12px}.hosted-schedule-summary{grid-template-columns:repeat(5,1fr);break-inside:avoid}.hosted-schedule-panel{border:0;box-shadow:none}.hosted-schedule-split{display:block;height:auto;border:0}.hosted-activity-table{height:auto;overflow:visible;border:0}.hosted-activity-table table{width:100%;font-size:8pt}.hosted-activity-table th,.hosted-activity-table td{height:auto;padding:3px;white-space:normal}.hosted-activity-table input{border:0;padding:0;background:transparent;font:inherit;width:auto;max-width:120px}.hosted-gantt{display:none}#hostedWorkflowWorkspace,#hostedHealthWorkspace{display:none!important}.hosted-report{border:0;padding:0}.hosted-report .panel-heading button{display:none}.report-position,.report-columns{break-inside:avoid}@page{size:landscape;margin:10mm}}
.portal-schedule-view>.save-banner,.portal-schedule-view>.hosted-schedule-summary,.portal-schedule-view>.schedule-tabs{display:none}.portal-schedule-view>header{margin-bottom:18px}.workflow-heading-actions{display:flex;align-items:end;gap:10px}.hosted-workflow-wrap{max-height:calc(100vh - 285px)}.hosted-stage-settings{grid-template-columns:88px 112px}.hosted-stage-settings label{display:grid;grid-template-columns:1fr auto;align-items:center;gap:3px;font-size:10px;color:var(--muted)}.hosted-stage-settings label input{grid-column:1/-1}.workflow-check{padding:0;cursor:pointer}.workflow-note{display:flex;align-items:center;gap:9px}.workflow-note .workflow-check{flex:0 0 34px}
/* A baseline stays on its captured dates, separate from the current task bar. */
#hostedGanttRows .hosted-baseline-bar{position:absolute;top:calc(50% + 11px);height:4px;border-radius:2px;background:#9856ba;z-index:6;pointer-events:none}
.project-card-actions{flex-wrap:wrap}.project-meta label{min-width:0}.project-status-select{font:inherit;width:100%;background:#fff;color:var(--ink);border:1px solid var(--line);border-radius:6px;padding:6px}.project-card .danger{color:#aa493b;background:#fff}
/* Align the two workflow inputs regardless of the duration unit caption. */
.hosted-stage-settings{align-items:start}
.hosted-stage-settings label{grid-template-rows:14px 34px 14px;row-gap:4px}
.hosted-stage-settings label input{height:34px;box-sizing:border-box}
.hosted-stage-settings label small{grid-column:1/-1;grid-row:3}
.hosted-stage-title{min-height:36px;display:flex;align-items:center;justify-content:center}
.hosted-nonworking-layer{position:absolute;left:0;top:0;z-index:0;pointer-events:none}
.hosted-nonworking-day{fill:#edf0f3}
.hosted-print-columns{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px;border:1px solid var(--line);border-radius:7px}.hosted-print-columns label,.hosted-print-checks label{display:flex;align-items:center;gap:6px;font-size:12px}.hosted-print-columns input,.hosted-print-checks input{width:auto}.hosted-print-checks{display:flex;gap:20px}
.hosted-command-dialog.hosted-print-dialog{width:min(940px,calc(100vw - 40px));max-width:none}.hosted-command-dialog.hosted-print-dialog>form{padding:24px;gap:14px}.hosted-print-dialog h2,.hosted-print-dialog .eyebrow,.hosted-print-dialog .print-intro{margin:0}.hosted-print-dialog .print-intro{font-size:13px}.hosted-print-setup-grid{display:grid;grid-template-columns:minmax(0,1.35fr) minmax(0,1fr);gap:20px}.hosted-print-settings{display:grid;gap:12px}.hosted-print-dialog .field-grid{gap:10px}.hosted-print-dialog label{font-size:13px;min-width:0}.hosted-print-dialog input:not([type=checkbox]),.hosted-print-dialog select{min-width:0;width:100%;height:38px;padding:7px 9px;font-size:13px}.hosted-print-dialog .hosted-print-columns{grid-template-columns:repeat(2,minmax(0,1fr));align-content:start;gap:13px 10px;margin:0;min-width:0}.hosted-print-dialog .hosted-print-columns label,.hosted-print-dialog .hosted-print-checks label{display:flex!important;align-items:center;gap:7px!important}.hosted-print-dialog input[type=checkbox]{width:15px!important;height:15px!important;flex:0 0 15px;margin:0}.hosted-print-dialog .hosted-print-checks{display:flex;gap:24px}.hosted-print-dialog .message:empty{display:none}.hosted-print-dialog menu{margin:0;padding:0}@media(max-width:760px){.hosted-print-setup-grid{grid-template-columns:1fr}.hosted-command-dialog.hosted-print-dialog>form{padding:18px;gap:10px}}
.hosted-print-dialog [hidden]{display:none!important}.hosted-print-dialog .visual-print-setup{grid-template-columns:1fr}.hosted-print-dialog .visual-print-setup .hosted-print-settings{gap:10px}
