#project-workspace {max-width:1600px;margin:0 auto}
.project-actions,.project-controls,.project-tabs {display:flex;gap:10px;align-items:center;flex-wrap:wrap}
.project-controls label {flex:1;min-width:240px;max-width:750px}
.project-controls select {width:100%}
#project-workspace label {display:flex;flex-direction:column;gap:7px;font-weight:600}
#project-workspace input,#project-workspace select {font:inherit;font-weight:400;min-height:40px;padding:9px 12px;border:1px solid #b6c9d9;border-radius:8px;background:#fff;color:var(--navy);width:100%;min-width:0}
#project-workspace input[readonly] {background:#edf2f6}
#project-workspace label small {font-weight:400;color:var(--muted)}
.project-heading {display:flex;justify-content:space-between;gap:24px;align-items:center;margin:28px 0 16px}
.project-heading h2 {font-size:1.6rem;margin:6px 0}
.project-heading p {margin:8px 0}
.project-tabs {border-bottom:1px solid var(--line,#d5e0ea);margin-bottom:22px;gap:4px}
.project-tabs button {background:transparent;color:var(--navy);border:0;border-bottom:3px solid transparent;padding:12px 18px;font:inherit;cursor:pointer}
.project-tabs button[aria-pressed=true] {border-color:var(--teal);font-weight:700;background:#fff;border-radius:8px 8px 0 0}
.project-metrics {display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:16px;margin:20px 0}
.project-metric {padding:20px;display:flex;flex-direction:column;gap:8px}
.project-metric>strong {font-size:1.7rem;color:var(--navy)}
.project-metric small {color:var(--muted)}
.project-columns {display:grid;grid-template-columns:1fr 1fr;gap:20px}
#project-workspace .panel {margin-bottom:20px}
.project-facts {display:grid;grid-template-columns:130px 1fr;gap:12px}
.project-facts dt {color:var(--muted)}
.project-facts dd {margin:0}
.project-alerts {padding-left:22px;line-height:1.8}
.project-milestone {display:flex;justify-content:space-between;gap:15px;padding:14px 0;border-bottom:1px solid var(--line,#d5e0ea)}
.project-timeline {overflow:auto;background:white;border:1px solid var(--line,#d5e0ea);border-radius:12px}
.project-timeline-head,.project-timeline-row {display:grid;grid-template-columns:360px minmax(420px,1fr);min-width:850px;gap:20px;border-bottom:1px solid var(--line,#d5e0ea);padding:14px 18px}
.project-timeline-head {background:#f2f6f9;font-weight:700;position:sticky;top:0}
.project-range-end {float:right}
.project-timeline-row small {display:block;margin-top:5px;color:var(--muted);font-size:.8rem}
.project-track {position:relative;background:repeating-linear-gradient(90deg,transparent,transparent calc(10% - 1px),#edf1f4 calc(10% - 1px),#edf1f4 10%);min-height:30px;align-self:stretch}
.project-bar {position:absolute;height:18px;top:12px;max-width:100%;border-radius:4px;background:var(--blue,#21689a);min-width:3px}
.project-bar.complete {background:var(--teal,#008c83)}
.project-bar.milestone {min-width:12px!important;width:12px!important;height:12px;transform:translateX(-50%) rotate(45deg);border-radius:1px;background:var(--amber,#e3ab22)}
.project-dependency-form {display:grid;grid-template-columns:1fr 1fr auto;gap:16px;align-items:end}
#project-workspace .module-view {overflow:auto}
#project-workspace dialog {max-height:90vh;overflow:auto}
#project-workspace [hidden] {display:none!important}
@media(max-width:900px){.project-heading{display:block}.project-metrics{grid-template-columns:repeat(2,minmax(0,1fr))}.project-columns{grid-template-columns:1fr}.project-dependency-form{grid-template-columns:1fr}.project-controls label{min-width:160px}}
@media(max-width:500px){.project-metrics{grid-template-columns:1fr}.project-tabs button{padding:10px}.project-milestone{display:block}.project-facts{grid-template-columns:100px 1fr}}
