:root{font-family:Inter,ui-sans-serif,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;color:#17243a;background:#f5f7fb;font-synthesis:none;--navy:#111e34;--purple:#5949ce;--muted:#68758a;--line:#e3e8f0}*{box-sizing:border-box}body{margin:0}button,input,textarea,select{font:inherit}button,a,input,textarea,select{-webkit-tap-highlight-color:transparent}button{cursor:pointer}button:disabled{opacity:.55;cursor:wait}button:focus-visible,a:focus-visible,input:focus-visible,textarea:focus-visible,select:focus-visible{outline:3px solid #9e95f6;outline-offset:3px}button{border:1px solid var(--line);border-radius:8px;background:white;padding:10px 15px;color:inherit;font-size:.875rem;font-weight:600}button:hover{border-color:#a99ce7;background:#faf9ff}.primary{background:var(--purple);color:white;border-color:var(--purple)}.primary:hover{background:#493aba;color:white}.secondary{background:#f0edff;border-color:#e5dfff;color:#5342bc}.muted{color:var(--muted)}.small{font-size:.875rem}.eyebrow{font-size:.75rem;letter-spacing:.12em;text-transform:uppercase;font-weight:700;color:var(--muted)}h1,h2,h3,p{margin-top:0}h1{font-size:1.8rem;letter-spacing:-.04em;margin-bottom:8px}h2{font-size:1.25rem;letter-spacing:-.025em}h3{font-size:1rem}.layout{display:grid;grid-template-columns:235px minmax(0,1fr);min-height:100vh}.sidebar{background:var(--navy);color:#dbe3f0;padding:32px 20px;display:flex;flex-direction:column;gap:42px;position:sticky;top:0;height:100vh}.brand{display:flex;align-items:center;gap:12px;font-size:1.125rem;font-weight:700}.brandmark{width:35px;height:35px;display:grid;place-items:center;background:#7865e9;border-radius:10px;color:white;font-size:1.2rem}.sidebar .eyebrow{color:#8c9bb5;font-size:.6875rem;margin:0 12px 12px}.navbutton{width:100%;background:transparent;border:0;color:#aebbd0;text-align:left;margin:3px 0;padding:12px;display:flex;gap:12px;align-items:center}.navbutton.active{background:#28354d;color:white}.sidebar footer{margin-top:auto;padding:18px 10px 0;border-top:1px solid #2c3850;font-size:.875rem;line-height:1.6;color:#9eacc3}.sidebar footer strong{color:#e7ecf5;display:block}.workspace{min-width:0}.topbar{height:77px;background:white;border-bottom:1px solid var(--line);padding:0 38px;display:flex;justify-content:space-between;align-items:center;gap:12px}.breadcrumb{font-size:.875rem;color:var(--muted)}.breadcrumb strong{color:#23324a;font-weight:500}.top-actions{display:flex;gap:12px;align-items:center}.avatar{width:34px;height:34px;display:grid;place-items:center;border-radius:50%;background:#ece8ff;color:#5846ba;font-weight:700;font-size:.75rem}.content{padding:34px 38px 50px;max-width:1600px;margin:auto}.pageheading{display:flex;justify-content:space-between;align-items:center;gap:20px;margin-bottom:28px}.pageheading p{margin:0;line-height:1.6}.heading-action{white-space:nowrap}.overview{display:grid;grid-template-columns:repeat(3,1fr);gap:18px;margin-bottom:32px}.project-card{text-align:left;padding:22px;background:white;min-height:146px;border-radius:12px;border:1px solid var(--line);position:relative;box-shadow:0 2px 3px #22334b03}.project-card.selected{border:1px solid #8070e1;box-shadow:0 0 0 2px #eeeaff}.project-card-top{display:flex;justify-content:space-between;gap:12px;align-items:center;margin-bottom:18px}.iconbox{width:34px;height:34px;background:#f0edff;color:#6854d1;display:grid;place-items:center;border-radius:9px}.project-card:nth-child(2) .iconbox{background:#e8f5f6;color:#268780}.project-card:nth-child(3) .iconbox{background:#fff0e5;color:#b07742}.code{font-variant-numeric:tabular-nums;letter-spacing:.025em;font-size:.875rem;font-weight:600}.project-card .title{margin:0 0 13px;line-height:1.45;font-size:1rem;font-weight:650}.project-card-foot{display:flex;justify-content:space-between;gap:10px;color:var(--muted);font-size:.8125rem;font-weight:400}.badge{display:inline-flex;padding:5px 8px;border-radius:5px;background:#f0f3f7;color:#637086;font-size:.75rem;font-weight:600;white-space:nowrap}.badge.on-track,.badge.submitted,.badge.completed{background:#e8f6ef;color:#25774e}.badge.at-risk,.badge.due{background:#fff2dd;color:#98611a}.badge.delayed,.badge.overdue{background:#ffebee;color:#ae4352}.project-header{margin-bottom:20px}.project-header h2{font-size:1.5rem;line-height:1.5;margin:7px 0}.description{max-width:900px;line-height:1.65;color:var(--muted);white-space:pre-wrap}.facts{display:grid;grid-template-columns:repeat(4,1fr);background:white;border:1px solid var(--line);border-radius:12px;margin:22px 0 18px;padding:23px 0}.fact{padding:0 24px;border-right:1px solid var(--line)}.fact:last-child{border:0}.fact dt{font-size:.8125rem;color:var(--muted);margin-bottom:10px}.fact dd{margin:0;font-size:1.125rem;font-weight:650}.meta{display:flex;gap:24px;flex-wrap:wrap;font-size:.875rem;margin-bottom:30px;color:var(--muted)}.meta strong{color:#34445c;font-weight:500}.reporting{display:grid;grid-template-columns:minmax(0,1.1fr) minmax(340px,1fr);gap:24px}.panel{background:white;border:1px solid var(--line);border-radius:12px;overflow:hidden}.panel-heading{padding:22px 24px;border-bottom:1px solid var(--line);display:flex;justify-content:space-between;gap:12px;align-items:center}.panel-heading h2{margin:0 0 5px;font-size:1rem}.panel-heading p{margin:0;font-size:.8125rem;color:var(--muted)}.weeks{padding:10px 14px;max-height:630px;overflow:auto}.week{display:flex;align-items:center;width:100%;text-align:left;border:1px solid transparent;background:transparent;padding:13px 10px;gap:12px;margin:3px 0}.week.selected{background:#f4f1ff;border-color:#e3dcff}.week-number{width:37px;height:37px;border:1px solid var(--line);border-radius:9px;display:grid;place-items:center;color:var(--muted);font-weight:500;font-size:.8125rem}.week.selected .week-number{background:#6451d4;color:white;border-color:#6451d4}.week-label{flex:1}.week-label strong{display:block;font-size:.875rem;font-weight:600;margin-bottom:5px}.week-label span{font-size:.8125rem;color:var(--muted);font-weight:400}.report-body{padding:26px}.empty{text-align:center;padding:44px 24px;color:var(--muted);line-height:1.6}.empty .iconbox{margin:0 auto 20px;width:48px;height:48px;border-radius:14px;font-size:1.5rem}.empty h3{color:#273750;margin-bottom:8px}.empty p{font-size:.875rem;margin:0 auto 20px;max-width:320px}.notice{padding:16px 20px;background:#fff8e9;border:1px solid #f1dfb9;border-radius:10px;margin-bottom:24px;font-size:.875rem;line-height:1.6;color:#7c622e}.report-section{border-bottom:1px solid var(--line);padding:18px 0}.report-section:last-child{border:0}.report-section h3{font-size:.8125rem;color:var(--muted);font-weight:500;margin:0 0 8px}.report-section p{white-space:pre-wrap;overflow-wrap:anywhere;line-height:1.65;font-size:.9375rem;margin:0}.report-meta{display:flex;gap:12px;justify-content:space-between;align-items:center;font-size:.8125rem;color:var(--muted);line-height:1.6}.progress-track{height:7px;background:#eef0f6;border-radius:9px;margin-top:12px;overflow:hidden}.progress-fill{height:100%;background:var(--purple)}.form-shell{max-width:820px;margin:40px auto;padding:0 24px}.form-brand{margin-bottom:36px}.form-heading{padding:28px 30px;border-bottom:1px solid var(--line);background:#fcfcff}.form-heading h1{font-size:1.6rem;margin:12px 0}.form-heading p{margin:0;color:var(--muted);line-height:1.6}.form-content{padding:28px 30px}.form-row{display:grid;grid-template-columns:1fr 1fr;gap:20px}label{display:block;font-size:.875rem;font-weight:600;margin-bottom:9px}input,textarea,select{width:100%;border:1px solid #d6dce7;background:white;border-radius:8px;padding:12px;color:#203149;font-size:1rem}textarea{resize:vertical;min-height:112px;line-height:1.6}input[type=range]{padding:0;accent-color:var(--purple)}.field{margin-bottom:24px}.hint{font-size:.8125rem;color:var(--muted);margin:8px 0 0;line-height:1.5}.form-footer{border-top:1px solid var(--line);padding-top:24px;display:flex;align-items:center;justify-content:space-between;gap:20px}.form-footer p{max-width:430px;margin:0;font-size:.8125rem;color:var(--muted);line-height:1.5}.error{color:#a63042;background:#fff0f2;padding:12px;border-radius:8px;font-size:.875rem;line-height:1.6;margin:16px 0}.error:empty{display:none}.login-shell{max-width:440px;margin:12vh auto;padding:24px}.login-shell .brand{margin-bottom:32px}.login-shell .panel{padding:30px}.login-shell .primary{width:100%}.login-shell h1{font-size:1.5rem}.login-shell p{line-height:1.6;font-size:.875rem}.loading{padding:80px;text-align:center;color:var(--muted)}#toast{position:fixed;bottom:25px;left:50%;transform:translateX(-50%);padding:14px 20px;background:#17243a;color:white;border-radius:10px;box-shadow:0 4px 24px #17243a30;font-size:.875rem;z-index:5;display:none;max-width:90vw}dialog{border:1px solid var(--line);border-radius:14px;padding:26px;max-width:550px;width:90vw}dialog::backdrop{background:#10213e66}dialog input{margin-bottom:20px}.skip{position:absolute;top:-80px;left:10px;z-index:10;background:white;padding:15px}.skip:focus{top:10px}svg{width:19px;height:19px;fill:none;stroke:currentColor;stroke-width:1.7;stroke-linecap:round;stroke-linejoin:round}.project-card .title,.project-header h2{overflow-wrap:anywhere}.success-mark{background:#e6f6ee;color:#217449;width:48px;height:48px;display:grid;place-items:center;border-radius:50%;margin-bottom:16px;font-size:1.5rem}
@media(min-width:1500px){.content{padding-top:45px}.overview{gap:24px}.reporting{grid-template-columns:1fr 1fr}}@media(max-width:1100px){.layout{grid-template-columns:190px 1fr}.sidebar{padding:28px 14px}.content{padding:25px}.topbar{padding:0 25px}.reporting{grid-template-columns:1fr}.overview{gap:10px}.project-card{padding:16px}.project-card-foot{flex-direction:column}.fact{padding:0 16px}}@media(max-width:760px){.layout{display:block}.sidebar{position:static;height:auto;padding:16px 20px;display:flex;flex-direction:row;justify-content:space-between;gap:16px;align-items:center}.sidebar nav,.sidebar footer{display:none}.sidebar .brand{font-size:1rem}.topbar{height:60px;padding:0 20px}.content{padding:25px 18px}.overview{grid-template-columns:1fr}.project-card{min-height:0;padding:16px}.project-card-top{margin-bottom:10px}.project-card-foot{flex-direction:row}.project-card .title{margin-bottom:8px}.pageheading{align-items:start}.heading-action{font-size:0;padding:10px}.heading-action svg{width:18px;height:18px}.facts{grid-template-columns:1fr 1fr;row-gap:24px}.fact:nth-child(2){border:0}.fact dd{font-size:1rem}.meta{gap:12px 24px}.form-row{grid-template-columns:1fr;gap:0}.form-shell{margin:25px auto;padding:0 16px}.form-heading,.form-content{padding:24px 20px}.form-footer{align-items:stretch;flex-direction:column}.form-footer button{width:100%}.reporting{display:block}.reporting>.panel{margin-bottom:20px}.weeks{max-height:360px}.top-actions .small{display:none}}

/* Project comparison table */
.project-table-scroll{overflow-x:auto;max-width:100%;border:1px solid var(--line);border-radius:12px;background:white;margin-bottom:30px}
.project-table{border-collapse:separate;border-spacing:0;width:100%;font-size:.875rem;text-align:left}
.project-table thead th{background:#f0f3f8;color:#526179;font-weight:600;font-size:.8125rem;white-space:nowrap;padding:15px 18px;border-bottom:1px solid var(--line)}
.project-table tbody th,.project-table td{padding:19px 18px;white-space:nowrap;border-bottom:1px solid var(--line);vertical-align:middle}
.project-table tbody tr:last-child>*{border-bottom:0}
.project-table tbody tr.selected>*{background:#f2efff}
.project-table tbody tr:hover>*{background:#f7f5ff}
.project-table tbody th{position:sticky;left:0;z-index:1;background:white;box-shadow:1px 0 0 var(--line)}
.project-table thead th:first-child{position:sticky;left:0;z-index:2;box-shadow:1px 0 0 var(--line)}
.project-select{padding:6px 0;border:0;background:transparent;color:var(--purple);font-weight:650;white-space:nowrap}
.project-select:hover{background:transparent;text-decoration:underline}
.project-select[aria-pressed=true]{text-decoration:underline;text-underline-offset:5px}
.project-table .project-name{min-width:260px;max-width:380px;white-space:normal;line-height:1.6;font-weight:500}
.project-table .numeric{font-variant-numeric:tabular-nums;text-align:right}
.project-table .budget{font-weight:650}
.report-count{display:inline-block;border-radius:6px;background:#eae5fc;color:#5846b8;padding:6px 10px;font-variant-numeric:tabular-nums}
.sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}

.archived-report{border-top:1px solid var(--line)}.archived-report summary{cursor:pointer;padding:18px 24px;font-size:.875rem;font-weight:600}.archived-report summary:focus-visible{outline:3px solid #9e95f6;outline-offset:-3px}
