@import url('https://fonts.googleapis.com/css2?family=DM+Sans:wght@400;450;500;550;600;650;700&display=swap');
:root{font-family:'DM Sans',Arial,sans-serif;color:#252723;background:#f6f5f0;font-synthesis:none;--line:#dddcd5;--muted:#777970;--green:#d7e8ba}*{box-sizing:border-box}body{margin:0;min-height:100vh;display:flex;flex-direction:column}button,input,textarea,select{font:inherit}button,a{touch-action:manipulation}button{cursor:pointer;border:1px solid var(--line);background:transparent;color:inherit;border-radius:7px;padding:11px 16px;font-size:13px;font-weight:550}button:hover{background:#eaeae2}button:focus-visible,a:focus-visible,summary:focus-visible{outline:2px solid #4a6338;outline-offset:4px}header{height:105px;display:flex;align-items:center;padding:0 5%;gap:40px;border-bottom:1px solid var(--line)}.wordmark{font-size:32px;font-weight:600;letter-spacing:-1.5px;text-decoration:none;color:inherit}.wordmark span{font-size:12px;vertical-align:top;letter-spacing:0;margin-left:4px}.brandnote{font-size:12px;color:var(--muted)}#actions{margin-left:auto;display:flex;gap:8px}.primary{background:#292c26;color:white;border-color:#292c26}.primary:hover{background:#444c3d}main{width:100%;max-width:1240px;margin:auto;padding:47px 42px 75px;flex:1}.meta{display:flex;align-items:center;justify-content:space-between;font-size:11px;letter-spacing:1.5px;text-transform:uppercase;color:var(--muted)}.status{border:1px solid var(--line);border-radius:30px;padding:7px 12px;letter-spacing:0;text-transform:none;display:inline-flex;gap:8px;align-items:center}.dot{height:6px;width:6px;border-radius:50%;background:#739354}.intro{display:flex;justify-content:space-between;align-items:flex-end;margin:29px 0 43px;gap:24px}h1{font-size:clamp(38px,5vw,65px);font-weight:450;letter-spacing:-3px;line-height:1.05;margin:0 0 15px}p{line-height:1.65}.intro p{margin:0;color:var(--muted);font-size:14px}.intro button{white-space:nowrap}.timeline-card{min-width:0;overflow:hidden;background:#eeeee6;border:1px solid #e3e3d9;border-radius:12px;padding:25px 28px 28px}.section-label{font-size:11px;letter-spacing:1.3px;text-transform:uppercase;font-weight:600}.timeline-heading{display:flex;justify-content:space-between;align-items:center;gap:16px}.timeline-heading span:last-child{font-size:12px;color:var(--muted);text-align:right}.timeline-scroll{width:100%;min-width:0;overflow:visible;padding:29px 0 3px}.timeline{display:flex;width:100%;min-width:0;gap:clamp(2px,.5vw,5px)}.stage{padding:0 1px;border:0;text-align:left;flex:var(--stage-weight) 1 0%;min-width:0;overflow:visible;background:none;border-radius:0}.stage:hover{background:none}.stage .bar{height:12px;display:block;background:var(--stage);border-radius:3px;margin:12px 0 14px;transition:transform .15s}.stage:hover .bar{transform:scaleY(1.5)}.stage strong{display:block;min-width:0;font-size:12px;font-weight:550;line-height:1.25;overflow-wrap:anywhere}.stage small{font-size:10px;color:#686b60;display:block;margin-top:5px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.stage .date{display:block;min-width:0;font-size:11px;color:#62665b;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.stage-number,.stage-label-compact,.mobile-stage-picker{display:none}.timeline-note{font-size:11px;color:var(--muted);margin:25px 0 0;display:flex;flex-wrap:wrap;gap:18px}.timeline-help{margin-left:auto}.legend{display:flex;align-items:center;gap:6px}.legend i{height:7px;width:7px;border-radius:2px;background:#c6d8ac}.legend:nth-child(2) i{background:#c6cced}.overview{display:grid;grid-template-columns:1.45fr 1fr;gap:60px;margin:52px 0 46px}.scope h2{font-size:30px;font-weight:450;letter-spacing:-1px;margin:14px 0 15px}.scope p{font-size:14px;color:var(--muted);max-width:520px}.tags{display:flex;flex-wrap:wrap;gap:7px;margin-top:24px}.tag{font-size:11px;border:1px solid var(--line);padding:7px 10px;border-radius:4px}.price{border-left:1px solid var(--line);padding-left:42px}.amount{font-size:48px;letter-spacing:-2px;margin:10px 0 0;font-weight:450}.amount small{font-size:12px;letter-spacing:0;color:var(--muted);margin-left:9px}.price p{font-size:12px;color:var(--muted);margin:5px 0 18px}.text-button{border:0;padding:0;border-radius:0;text-decoration:underline;text-underline-offset:4px;font-size:12px}.rows{border-top:1px solid var(--line)}details{border-bottom:1px solid var(--line)}summary{list-style:none;cursor:pointer;padding:24px 0;display:flex;align-items:center;gap:20px}summary::-webkit-details-marker{display:none}.num{font-size:11px;color:var(--muted);min-width:25px}.row-title{font-size:17px;font-weight:450}.row-summary{margin-left:auto;font-size:12px;color:var(--muted)}.plus{margin-left:20px;font-size:20px;font-weight:400;min-width:15px}details[open] .plus{transform:rotate(45deg)}.detail{padding:0 0 27px 45px;font-size:13px;color:#63675e;line-height:1.7;max-width:870px;white-space:pre-line}.detail .payment{display:flex;justify-content:space-between;padding:12px 0;border-bottom:1px solid var(--line);gap:20px}.detail b{color:#31372c;font-weight:550}.detail button{margin-top:17px}.bottom-note{display:flex;gap:12px;margin-top:30px;color:var(--muted);font-size:12px;line-height:1.6}.bottom-note .asterisk{font-size:22px;color:#727f5a}footer{padding:24px 5%;border-top:1px solid var(--line);display:flex;justify-content:space-between;font-size:10px;color:var(--muted)}dialog{width:min(570px,calc(100% - 24px));border:1px solid var(--line);border-radius:14px;padding:28px;max-height:90vh;background:#faf9f4;color:inherit}dialog::backdrop{background:#20251d66;backdrop-filter:blur(4px)}.dialog-head{display:flex;justify-content:space-between;align-items:center;font-size:10px;letter-spacing:1px;color:var(--muted)}.dialog-head button{border:0;font-size:25px;padding:0 7px}dialog h2{font-size:29px;font-weight:450;letter-spacing:-1px;margin:18px 0 25px}label{display:block;font-size:12px;margin:15px 0 6px}input,textarea,select{display:block;width:100%;padding:11px 12px;border:1px solid #d5d8cc;border-radius:6px;background:white;color:inherit}textarea{min-height:95px;resize:vertical}.pair{display:grid;grid-template-columns:1fr 1fr;gap:15px}.dialog-bottom{margin-top:25px;display:flex;justify-content:flex-end}.hint{font-size:12px;line-height:1.6;color:var(--muted)}.calc{background:#e9eede;padding:17px;border-radius:8px;margin-top:20px;font-size:14px;display:flex;justify-content:space-between}.stage-detail{font-size:14px;line-height:1.8}.stage-owner{display:inline-block;background:#e7ebdf;border-radius:20px;padding:5px 12px;font-size:11px;margin-bottom:10px}#toast{position:fixed;bottom:25px;left:50%;transform:translateX(-50%);background:#293025;color:white;font-size:12px;padding:13px 20px;border-radius:8px;opacity:0;pointer-events:none;transition:opacity .2s;max-width:90%;z-index:5}#toast.show{opacity:1}.project-list{display:grid;gap:10px}.project-list button{text-align:left}.project-list small{display:block;color:var(--muted);margin-top:5px}.preview-banner{background:#e4eacb;padding:11px 20px;text-align:center;font-size:12px;border-radius:6px;margin-bottom:25px}.error{text-align:center;padding:70px 0}@media(max-width:760px){header{height:80px;padding:0 22px;gap:15px}.wordmark{font-size:25px}.brandnote{display:none}#actions button{padding:9px 10px;font-size:11px}main{padding:30px 22px 50px}.intro{margin:25px 0 30px;align-items:flex-start}h1{letter-spacing:-1.8px}.intro button{padding:9px}.overview{grid-template-columns:1fr;gap:30px;margin:33px 0}.price{border-left:0;border-top:1px solid var(--line);padding:25px 0 0}.timeline-card{padding:20px 14px}.timeline-heading{align-items:flex-start}.timeline-heading span:last-child{font-size:10px}.timeline-scroll{padding:22px 0 0}.timeline{gap:2px}.stage{min-height:72px;text-align:center;padding:0}.stage-number{display:block;height:15px;font-size:9px;color:#74786e}.stage .date,.stage small,.stage-label-full{display:none}.stage-label-compact{display:block;font-size:9px;line-height:1.1;overflow:hidden;text-overflow:ellipsis}.stage .bar{height:10px;margin:0 0 8px}.timeline.is-dense .stage-label-compact{display:none}.mobile-stage-picker{display:flex;align-items:center;gap:12px;margin:16px 0 0}.mobile-stage-picker>span{flex:0 0 auto;font-size:10px;letter-spacing:1px;text-transform:uppercase;color:var(--muted)}.mobile-stage-picker select{min-width:0;margin:0;padding:9px 10px;font-size:12px}.timeline-note{margin-top:16px;gap:12px}.timeline-help{display:none}.row-summary{max-width:125px;text-align:right;font-size:10px}.row-title{font-size:14px}summary{gap:10px}.plus{margin-left:5px}.detail{padding-left:0}.meta{font-size:9px}footer{gap:20px}.amount{font-size:43px}}@media print{header #actions,button,.bottom-note,footer,#toast,.mobile-stage-picker{display:none!important}body{background:white}main{padding:20px}.timeline-card{break-inside:avoid}.detail{display:block}details{break-inside:avoid}.overview{margin:25px 0}.preview-banner{display:none}}

.deliverable{padding:14px 0;border-bottom:1px solid var(--line);white-space:normal}.deliverable:last-child{border-bottom:0}.deliverable p{margin:5px 0 0;white-space:pre-line;font-size:12px}.deliverable-editor{padding:0 0 20px;margin-bottom:20px;border-bottom:1px solid var(--line)}.deliverable-editor input,.deliverable-editor textarea{margin-top:6px}.remove-deliverable{font-size:11px;padding:7px 10px}
/* Compact overview cards; details open only when needed. */
.rows{display:grid;grid-template-columns:repeat(6,minmax(0,1fr));gap:14px;border:0;align-items:start}
.project-card{grid-column:span 2;border:1px solid var(--line);border-radius:12px;background:#faf9f5;overflow:hidden}
.project-card:nth-child(n+4){grid-column:span 3}
.project-card summary{display:flex;align-items:stretch;flex-direction:column;gap:0;padding:23px;min-height:235px}
.project-card summary:hover{background:#efefe6}
.card-top,.card-bottom{display:flex;align-items:center;justify-content:space-between}
.card-top{margin-bottom:22px}.card-icon{font-size:22px;line-height:1;color:#63764d}.card-top .num{min-width:0}
.project-card .row-title{font-size:18px;letter-spacing:-.4px;margin-bottom:8px}
.card-description{font-size:12px;line-height:1.6;color:var(--muted);min-height:39px}
.card-bottom{margin-top:21px;gap:10px}.project-card .row-summary{margin-left:0;text-align:left;max-width:none;font-size:11px}.project-card .plus{margin-left:auto}
.project-card[open]{grid-column:1/-1;display:grid;grid-template-columns:280px minmax(0,1fr);background:#fffef9}
.project-card[open] summary{border-right:1px solid var(--line);height:100%}
.project-card .detail{padding:24px;max-width:none;font-size:13px;min-width:0;overflow-wrap:anywhere}
.agreement-intro{max-width:660px;margin:0 0 25px}.agreement-intro h1{font-size:43px;letter-spacing:-1.8px;margin:17px 0}.agreement-intro p{font-size:14px;color:var(--muted)}
#pdf-status{font-size:12px;color:var(--muted);margin:20px 0}#agreement-preview{width:100%;height:78vh;min-height:520px;border:1px solid var(--line);border-radius:10px;background:#e9e9e3}
button:disabled{cursor:wait;opacity:.5}
@media(max-width:1000px){header{gap:20px}.brandnote{display:none}.rows{grid-template-columns:repeat(2,minmax(0,1fr))}.project-card,.project-card:nth-child(n+4){grid-column:span 1}.project-card:last-child{grid-column:1/-1}}
@media(max-width:600px){header{height:auto;min-height:80px;flex-wrap:wrap;padding:20px 22px;gap:16px}#actions{flex-wrap:wrap;gap:6px;margin-left:0;width:100%}.rows{grid-template-columns:1fr}.project-card,.project-card:nth-child(n+4){grid-column:1/-1}.project-card summary{min-height:0;padding:20px}.card-top{margin-bottom:14px}.card-description{min-height:0}.project-card[open]{display:block}.project-card[open] summary{border-right:0;border-bottom:1px solid var(--line)}.project-card .detail{padding:20px}.agreement-intro h1{font-size:34px}}
@media print{.rows{display:block}.project-card,.project-card[open]{display:block;border:0;border-radius:0}.project-card summary{min-height:0;padding:15px 0}.card-top,.card-description,.card-bottom{display:none}.project-card .detail{padding:0}.project-card[open] summary{border:0}}

/* Six equal overview cards. */
@media(min-width:1001px){.project-card:nth-child(n+4){grid-column:span 2}.project-card[open]{grid-column:1/-1}}
@media(min-width:601px) and (max-width:1000px){.project-card:last-child{grid-column:span 1}.project-card[open]{grid-column:1/-1}}
@font-face{font-family:AgreementRoboto;src:url('./vendor/Roboto-Regular.ttf') format('truetype');font-weight:400;font-display:swap}
@font-face{font-family:AgreementRoboto;src:url('./vendor/Roboto-Medium.ttf') format('truetype');font-weight:700;font-display:swap}
.agreement-view{max-width:900px;margin:auto}.agreement-intro{margin:0 auto 32px;max-width:794px}
.agreement-paper{font-family:AgreementRoboto,Arial,sans-serif;background:white;color:#30372e;width:100%;max-width:794px;margin:0 auto 28px;padding:64px;border:1px solid #e1e1da;box-shadow:0 5px 24px #24282008;font-size:13.333px;line-height:1.3;overflow-wrap:anywhere}
.agreement-paper h1,.agreement-paper h2{letter-spacing:0;line-height:1.3;font-family:inherit}.paper-text{white-space:pre-wrap}.paper-columns{display:flex;gap:0}.paper-table-wrap{overflow-x:auto}.paper-table{width:100%;border-collapse:collapse;text-align:left;font-size:inherit}.paper-table th{border-bottom:2px solid #30372e}.paper-table td{border-bottom:1px solid #ccc}.paper-table th,.paper-table td{padding:6px 5px;vertical-align:top}.paper-table th:first-child,.paper-table td:first-child{padding-left:0}.paper-footer{display:flex;justify-content:space-between;gap:16px;font-size:10px;color:#72786e;margin-top:45px;padding-top:16px;border-top:1px solid #e6e6e0}
@media(max-width:600px){.agreement-paper{padding:25px 20px}.agreement-paper .paper-columns{flex-wrap:wrap;row-gap:16px}.agreement-paper .paper-columns>div{min-width:100px!important}.agreement-paper .paper-table{font-size:11px}.agreement-paper h1{font-size:29px!important}.agreement-intro{margin-bottom:25px}}
@media print{.agreement-intro{display:none}.agreement-paper{max-width:none;border:0;box-shadow:none;padding:0;break-before:page}.agreement-paper:first-child{break-before:auto}}

.cloud-panel{position:static;z-index:4}.cloud-panel summary{cursor:pointer;font-weight:600}.cloud-panel form,.cloud-controls{display:flex;flex-wrap:wrap;gap:12px;align-items:end}.cloud-panel label{display:grid;gap:6px}.cloud-panel input{padding:10px;border:1px solid #aaa;border-radius:6px}.cloud-panel [hidden]{display:none}.cloud-status{font-size:14px}
/* Publishing stays separate from private draft editing. */
.cloud-panel{width:auto;margin:0;padding:0;border:0;background:transparent}
.cloud-panel summary{cursor:pointer;font-size:10px;padding:0;border:0;border-radius:0;background:transparent;color:var(--muted)}.cloud-summary{color:inherit;font-weight:500}
.cloud-panel[open]{position:absolute;bottom:calc(100% + 12px);left:5%;width:min(620px,90vw);padding:20px 24px;border:1px solid var(--line);border-radius:10px;background:#faf9f5;box-shadow:0 16px 45px #2527231a}
.cloud-panel[open] summary{padding:0 38px 13px 0;border:0;border-radius:0;background:transparent;color:inherit;font-size:13px}
.cloud-close{display:none}.cloud-panel[open] .cloud-close{display:block;position:absolute;top:12px;right:14px;border:0;padding:2px 8px;font-size:24px;line-height:1;background:transparent}
.cloud-panel form,.cloud-controls,.share-buttons{display:flex;flex-wrap:wrap;align-items:end;gap:12px}
.cloud-panel label{flex:1;min-width:180px}.cloud-panel input{width:100%}
.cloud-panel p{font-size:13px;max-width:760px}.cloud-status{margin-bottom:0;color:var(--muted)}
.cloud-panel [hidden]{display:none!important}.share-buttons a{align-self:center;font-size:12px;color:inherit}
.cloud-panel form{display:block;max-width:620px}.google-signin{display:flex;align-items:center;justify-content:center;gap:11px;width:100%;background:white;border-color:#c9cbc3;font-weight:600}.google-signin:hover{background:#f2f3ec}.google-signin span{display:grid;place-items:center;width:20px;height:20px;border:1px solid #d5d7cf;border-radius:50%;font-family:Arial,sans-serif;color:#3459a8;font-size:12px}.cloud-divider{display:flex;align-items:center;gap:12px;margin:14px 0;color:var(--muted);font-size:10px;text-transform:uppercase;letter-spacing:.8px}.cloud-divider::before,.cloud-divider::after{content:'';height:1px;flex:1;background:var(--line)}.email-signin{display:flex;flex-wrap:wrap;align-items:end;gap:12px}.profile-form{display:grid!important;grid-template-columns:1fr 1fr;gap:0 14px}.profile-form .profile-wide{grid-column:1/-1}.profile-actions{grid-column:1/-1;display:flex;gap:10px;align-items:center;margin-top:14px}.profile-logo{grid-column:1/-1;display:flex;align-items:center;gap:12px;margin-top:10px}.profile-logo img{max-width:160px;max-height:52px;object-fit:contain;object-position:left}.organisation-logo{display:block;max-width:180px;max-height:48px;object-fit:contain;object-position:left}
.share-status{padding:16px;background:#eef1e7;border-radius:8px}.share-status p{margin-bottom:0}
.acceptance-history{margin:22px 0}.acceptance-history summary{cursor:pointer}.acceptance-history p{font-size:13px}
#sharing-error{color:#894031;font-size:13px}.acceptance-panel{margin:36px 0;padding:30px;background:#eef1e7;border:1px solid #d7dfcb;border-radius:12px}
.acceptance-panel h2{font-size:26px;letter-spacing:-.5px}.acceptance-panel p{font-size:14px;max-width:700px}
.acceptance-panel .pair label{flex:1}.acceptance-check{display:flex;align-items:start;gap:12px;font-size:13px;line-height:1.6;margin:20px 0}
.acceptance-check input{width:18px;height:18px;flex-shrink:0;margin-top:3px}.acceptance-panel [role=status]{color:#6e3a22}
@media(max-width:600px){.cloud-panel{margin:12px 22px;padding:16px}.cloud-panel input{margin-bottom:12px}.email-signin{display:block}.email-signin button{width:100%}.acceptance-panel{padding:22px}.acceptance-panel .pair{display:block}}
main:has(.projects-home){padding-top:34px;padding-bottom:42px}
.auth-home{width:min(460px,100%);margin:9vh auto 0;padding:42px 38px;text-align:center;border:1px solid var(--line);border-radius:16px;background:#fffef9}.auth-home h1{margin:0 0 24px;font-size:38px;line-height:1.08;letter-spacing:-1.2px}.auth-home .google-signin{max-width:260px;margin:0 auto;color:var(--ink)}.auth-home.is-loading{border-color:transparent;background:transparent;color:var(--muted);font-size:13px}.auth-home.is-loading p{margin:0}
.projects-overview{display:flex;align-items:flex-end;justify-content:space-between;gap:32px;margin:5px 0 36px}.projects-overview h1{margin:10px 0 8px;font-size:clamp(40px,5vw,58px)}.projects-overview p{max-width:540px;margin:0;color:var(--muted);font-size:13px}.projects-summary{display:flex;gap:22px;padding-bottom:4px;color:var(--muted);font-size:11px;white-space:nowrap}.projects-summary b{margin-right:3px;color:var(--ink);font-size:16px;font-weight:550}.portfolio-timeline{--project-label:245px;border:1px solid var(--line);border-radius:12px;background:#faf9f5;overflow:hidden}.portfolio-axis{display:grid;grid-template-columns:var(--project-label) minmax(0,1fr) 34px;min-height:62px;border-bottom:1px solid var(--line);background:#efefe7}.portfolio-axis-label{align-self:end;padding:0 18px 13px;color:var(--muted);font-size:10px}.portfolio-axis>div{position:relative;min-width:0}.portfolio-axis>div>span{position:absolute;left:var(--position);bottom:13px;color:var(--muted);font-size:9px;transform:translateX(-50%);white-space:nowrap}.portfolio-axis>div>span:first-child{transform:none}.portfolio-axis>div>span:last-of-type{transform:translateX(-100%)}.portfolio-axis>div>b{position:absolute;left:var(--position);top:10px;padding:2px 5px;border-radius:4px;background:#405a37;color:white;font-size:9px;font-weight:650;transform:translateX(-50%);white-space:nowrap}.portfolio-body{position:relative}.portfolio-gridlines{position:absolute;z-index:0;top:0;right:34px;bottom:0;left:var(--project-label);pointer-events:none}.portfolio-gridlines i,.portfolio-gridlines b{position:absolute;top:0;bottom:0;left:var(--position);border-left:1px solid #dedfd6}.portfolio-gridlines b{left:var(--today);border-color:#789064}.portfolio-project{position:relative;z-index:1;display:grid;grid-template-columns:minmax(0,1fr) 34px;align-items:stretch;width:100%;min-height:76px;padding:0;border:0;border-bottom:1px solid var(--line);border-radius:0;background:transparent;text-align:left}.portfolio-project:last-child{border-bottom:0}.portfolio-project:hover{background:#eef1e799}.portfolio-project-open{display:grid;grid-template-columns:var(--project-label) minmax(0,1fr);align-items:stretch;min-width:0;padding:0;border:0;border-radius:0;background:transparent;text-align:left}.portfolio-project-label{display:grid;align-content:center;min-width:0;padding:13px 18px;background:#faf9f5e8}.portfolio-project:hover .portfolio-project-label{background:#eef1e7}.portfolio-project-label small{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;color:var(--muted);font-size:9px;letter-spacing:1px;text-transform:uppercase}.portfolio-project-label strong{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;margin:4px 0 3px;font-size:14px;font-weight:550}.portfolio-project-label>span{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;color:var(--muted);font-size:9px}.portfolio-project.status-overdue .portfolio-project-label>span,.portfolio-project.status-due .portfolio-project-label>span{color:#8a4e35}.portfolio-track{position:relative;display:block;min-width:0}.portfolio-span{position:absolute;left:var(--left);top:28px;width:var(--width);height:10px;border-radius:3px;background:#d7dacd}.portfolio-stage{position:absolute;left:var(--left);top:28px;width:var(--width);height:10px;border-radius:2px;background:var(--stage);box-shadow:inset -1px 0 #faf9f599}.portfolio-stage.is-point{z-index:2;width:8px;height:18px;top:24px;border:2px solid #faf9f5;border-radius:5px;box-shadow:0 0 0 2px #667b55;background:#faf9f5;transform:translateX(-50%)}.portfolio-stage.is-current:not(.is-point){box-shadow:0 0 0 2px #faf9f5,0 0 0 3px #667b55}.portfolio-stage.is-complete{filter:saturate(.4);opacity:.55}.portfolio-project-dates{position:absolute;right:var(--right);bottom:8px;left:var(--left);display:flex;justify-content:space-between;color:var(--muted);font-size:8px;white-space:nowrap}.portfolio-project-menu{position:relative;z-index:3;border:0}.portfolio-project-menu>summary{display:grid;place-items:center;min-width:34px;height:100%;min-height:75px;padding:0;list-style:none;color:var(--muted);font-size:12px;letter-spacing:1px;cursor:pointer}.portfolio-project-menu>summary::-webkit-details-marker{display:none}.portfolio-project-menu[open]>summary{background:#e5e8de;color:var(--ink)}.portfolio-project-menu>div{position:absolute;z-index:8;right:calc(100% + 6px);top:50%;display:grid;gap:4px;width:150px;padding:6px;border:1px solid var(--line);border-radius:8px;background:#fffef9;box-shadow:0 10px 30px #25272322;transform:translateY(-50%)}.portfolio-project-menu button{width:100%;padding:8px 10px;text-align:left;font-size:11px}.projects-empty{text-align:center;border:1px dashed #c8cbbf;border-radius:16px;padding:65px 24px;background:#efefe7}
.projects-view-switch{display:inline-flex;gap:3px;margin:0 0 22px;padding:3px;border:1px solid var(--line);border-radius:9px;background:#efefe7}.projects-view-switch button{border:0;padding:7px 11px;color:var(--muted);font-size:11px}.projects-view-switch button.is-active{background:#faf9f5;color:#252723;box-shadow:0 1px 2px #25272312}.projects-view-switch span{margin-left:5px;color:var(--muted);font-size:9px}
.empty-symbol{font-size:42px;color:#728664}.projects-empty h2{font-weight:450;font-size:29px;letter-spacing:-.7px}.projects-empty p{max-width:460px;margin:0 auto 25px;color:var(--muted);font-size:14px}
@media(max-width:760px){.projects-overview{align-items:flex-start;flex-direction:column;margin-bottom:24px;gap:14px}.projects-summary{gap:16px}.portfolio-timeline{--project-label:145px}.portfolio-axis>div>span:nth-child(even){display:none}}
@media(max-width:600px){header{min-height:72px;padding:14px 18px;flex-wrap:nowrap}#actions{width:auto;margin-left:auto;flex-wrap:nowrap}.cloud-panel{margin:0;padding:0}.cloud-panel[open]{left:18px;right:18px;width:auto;padding:18px;max-height:calc(100vh - 110px);overflow:auto}main{padding:22px 18px 42px}.auth-home{margin-top:7vh;padding:34px 22px}.auth-home h1{font-size:32px}.projects-overview{margin-top:5px}.projects-overview h1{font-size:38px;margin:8px 0 5px}.projects-overview p{font-size:11px}.projects-summary{width:100%;justify-content:space-between}.portfolio-timeline{--project-label:112px;border-radius:9px}.portfolio-axis{grid-template-columns:var(--project-label) minmax(0,1fr) 28px;min-height:54px}.portfolio-gridlines{right:28px}.portfolio-axis-label{padding:0 8px 10px;font-size:8px}.portfolio-axis>div>span{bottom:10px;font-size:8px}.portfolio-axis>div>b{top:8px;font-size:8px}.portfolio-project{grid-template-columns:minmax(0,1fr) 28px;min-height:68px}.portfolio-project-open{grid-template-columns:var(--project-label) minmax(0,1fr)}.portfolio-project-label{padding:10px 8px}.portfolio-project-label small{font-size:7.5px}.portfolio-project-label strong{margin:3px 0;font-size:11px}.portfolio-project-label>span{font-size:7.5px}.portfolio-span,.portfolio-stage{top:24px;height:8px}.portfolio-stage.is-point{top:20px;height:16px;width:7px}.portfolio-project-dates{display:none}.portfolio-project-menu>summary{min-width:28px;min-height:67px;font-size:10px}.portfolio-project-menu>div{right:calc(100% + 4px);width:142px}.projects-empty{padding:38px 20px}.profile-form{grid-template-columns:1fr}.profile-form .profile-wide,.profile-actions{grid-column:1}.profile-actions{align-items:stretch;flex-direction:column}.organisation-logo{max-width:140px;max-height:40px}}

/* Time passing keeps the working forecast separate from the accepted agreement. */
.progress-card{display:flex;justify-content:space-between;gap:28px;align-items:center;margin:0 0 20px;padding:22px 26px;border:1px solid #ccd6be;border-radius:12px;background:#eef3e7}
.progress-card h2{font-size:25px;font-weight:500;letter-spacing:-.6px;margin:7px 0 3px}.progress-card p{font-size:13px;margin:0;color:#5f665a}.progress-card.is-overdue,.progress-card.is-due{background:#f5e8de;border-color:#dec1ad}.progress-card.is-waiting{background:#f2ecdc;border-color:#ddd0ac}.progress-card.is-complete{background:#e7eee2}.progress-reason{margin-top:7px!important}.progress-actions{display:flex;justify-content:flex-end;flex-wrap:wrap;gap:7px;max-width:510px}.progress-actions button{padding:9px 11px}
.stage.is-complete{opacity:.48}.stage.is-complete .bar{background:#aeb5a7}.stage.is-current .bar{box-shadow:0 0 0 3px #faf9f4,0 0 0 5px #556b43;transform:scaleY(1.25)}.stage.is-overdue .bar,.stage.is-due .bar{background:#c57958}.stage.is-waiting .bar{background:#b99a48}.today-legend{display:flex;align-items:center;gap:6px}.today-legend i{height:7px;width:7px;border-radius:50%;background:#556b43}
.project-progress{display:block;font-size:11px;margin:auto 0 12px;padding:7px 9px;border-radius:5px;background:#edf1e7;color:#56604e}.project-progress.is-overdue,.project-progress.is-due{background:#f4e4da;color:#794934}.project-progress.is-waiting{background:#f1ead6;color:#705f2e}.project-progress.is-complete{background:#e4eee0;color:#46613f}
.replan-summary{display:flex;justify-content:space-between;gap:12px;padding:13px 15px;border-radius:7px;background:#eef1e7;font-size:12px}.choice-buttons{display:flex;justify-content:flex-end;gap:9px;margin-top:22px}.stage-state{padding:9px 12px;background:#e8eee2;border-radius:6px;color:#4d6041}.activity-list>div{display:grid;grid-template-columns:92px 1fr;gap:14px;padding:13px 0;border-bottom:1px solid var(--line)}.activity-list span{font-size:11px;color:var(--muted)}.activity-list p{font-size:13px;margin:0}.change-summary{padding:14px 16px;margin:18px 0;background:#f2ecdc;border-radius:8px}.change-summary p{font-size:12px;margin:4px 0 0}
@media(max-width:760px){.progress-card{display:block;padding:20px}.progress-actions{justify-content:flex-start;margin-top:17px}.progress-actions button{flex:1 1 42%}.activity-list>div{grid-template-columns:1fr;gap:3px}.choice-buttons{display:grid}}
@media(max-width:600px){body{overflow-x:hidden}.meta{align-items:flex-start;flex-wrap:wrap;gap:10px}.intro{display:block}.intro button{margin-top:16px}.pair{grid-template-columns:1fr}.timeline-heading{display:block}.timeline-heading span:last-child{display:block;margin-top:6px;text-align:left}.mobile-stage-picker{align-items:flex-start;flex-direction:column;gap:6px}.mobile-stage-picker select{width:100%}.projects-tools>div,.share-buttons{align-items:stretch;flex-direction:column}.share-buttons a{padding:8px 0}.replan-summary{display:block}.replan-summary b{display:block;margin-bottom:4px}dialog{padding:21px}footer{flex-wrap:wrap}}

body>footer{position:relative;align-items:center}

.timeline-scroll{position:relative;padding-top:35px}
.today-marker{position:absolute;left:var(--today);top:3px;z-index:3;width:1px;height:62px;color:#405a37;pointer-events:none}
.today-marker::before{content:'';position:absolute;left:0;top:17px;width:1px;height:45px;background:currentColor}
.today-marker::after{content:'';position:absolute;left:50%;top:51px;width:7px;height:7px;border:2px solid #eeeee6;border-radius:50%;background:currentColor;transform:translateX(-50%)}
.today-marker.is-before::after,.today-marker.is-after::after{display:none}
.today-marker span{position:absolute;top:0;left:0;padding:2px 5px;border-radius:4px;background:#405a37;color:white;font-size:9px;font-weight:650;letter-spacing:.3px;line-height:1.3;transform:translateX(-50%)}
.today-marker.is-start span{transform:none}.today-marker.is-end span{transform:translateX(-100%)}
@media(max-width:760px){.timeline-scroll{padding-top:29px}.today-marker{height:48px}.today-marker::before{height:31px}.today-marker::after{top:38px}.stage.is-point .stage-label-compact{display:none}}

.profile-defaults{margin-top:14px;padding-top:14px;border-top:1px solid var(--line)}.profile-defaults>summary{font-size:12px;font-weight:600;color:inherit;padding:8px 0}.profile-default-grid{display:grid;grid-template-columns:1fr 1fr;gap:0 14px}.profile-default-grid .profile-wide{grid-column:1/-1}.profile-default-grid textarea{min-height:70px}
main:has(.onboarding){padding-top:42px}.onboarding{width:min(720px,100%);margin:0 auto}.onboarding-progress{display:flex;justify-content:space-between;margin-bottom:16px;font-size:10px;letter-spacing:1px;color:var(--muted)}.onboarding-card{padding:38px 42px;border:1px solid var(--line);border-radius:16px;background:#fffef9}.onboarding-card h1{font-size:38px;line-height:1.08;margin:0 0 12px}.onboarding-card>p{max-width:590px;color:var(--muted);font-size:14px;line-height:1.6;margin:0 0 26px}.onboarding-card fieldset{border:0;padding:0;margin:20px 0}.onboarding-card legend{font-size:12px;margin-bottom:8px}.choice-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px}.choice{position:relative;margin:0}.choice input{position:absolute;opacity:0;pointer-events:none}.choice span{display:flex;align-items:center;min-height:48px;padding:11px 13px;border:1px solid #d5d8cc;border-radius:8px;background:white;font-size:12px;line-height:1.3;cursor:pointer}.choice input:checked+span{border-color:#526645;background:#e8eee1;box-shadow:inset 0 0 0 1px #526645}.choice input:focus-visible+span{outline:2px solid #526645;outline-offset:2px}.optional{color:var(--muted);font-weight:400}.onboarding-numbers{display:grid;grid-template-columns:1fr 1fr;gap:0 15px}.onboarding-actions{display:flex;justify-content:flex-end;gap:9px;align-items:center;margin-top:28px}.onboarding-actions [data-onboarding="later"]{margin-right:auto;border-color:transparent;background:transparent;color:var(--muted)}.onboarding-status{min-height:19px;margin:12px 0 0!important;color:#824633!important}.sr-only{position:absolute!important;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}
@media(max-width:600px){main:has(.onboarding){padding:24px 16px 40px}.onboarding-card{padding:26px 20px}.onboarding-card h1{font-size:31px}.choice-grid{grid-template-columns:1fr 1fr}.work-choices{grid-template-columns:1fr}.onboarding-numbers{grid-template-columns:1fr}.onboarding-actions{flex-wrap:wrap}.onboarding-actions .primary{margin-left:auto}.profile-default-grid{grid-template-columns:1fr}.profile-default-grid .profile-wide{grid-column:1}.profile-defaults{width:100%}}

/* The schedule is the project page's first piece of information. */
.project-heading{margin-top:30px}.project-heading .intro{margin:22px 0 30px}.project-actions-wide{display:flex;gap:8px}.project-actions-menu{display:none}.project-secondary-menu{position:relative;border:0}.project-secondary-menu>summary{padding:11px 16px;border:1px solid var(--line);border-radius:7px;font-size:13px;font-weight:550}.project-secondary-menu[open]>summary{background:#eaeae2}.project-secondary-menu>div{position:absolute;right:0;top:calc(100% + 7px);z-index:7;display:grid;gap:5px;width:165px;padding:7px;border:1px solid var(--line);border-radius:9px;background:#faf9f5;box-shadow:0 12px 35px #2527231c}.project-secondary-menu button{width:100%;text-align:left}.danger-action{color:#8a3f34}.danger-action:hover{background:#f2e4df}.danger-dialog{border-color:#d9bcb4}.danger-dialog #submit{background:#873f34;border-color:#873f34;color:#fff}.danger-dialog #submit:hover{background:#713329}.danger-dialog #submit:disabled{opacity:.55}
@media(max-width:760px){.progress-card{padding:16px}.progress-actions{margin-top:12px;gap:6px}.progress-actions button{padding:8px}}
@media(max-width:600px){main:not(:has(.projects-home)):not(:has(.onboarding)):not(:has(.auth-home)){padding-top:14px}.project-heading{margin-top:18px}.project-heading .intro{margin:14px 0 20px}.project-heading h1{font-size:38px;line-height:1;letter-spacing:-1.5px}.project-heading .intro button{margin-top:12px}.project-actions-wide{display:none}.project-actions-menu{display:block;position:relative;border:0}.project-actions-menu>summary{min-height:0;padding:9px 11px;border:1px solid var(--line);border-radius:7px;font-size:11px;font-weight:600}.project-actions-menu[open]>summary{background:#eaeae2}.project-actions-menu>div{position:absolute;right:0;top:calc(100% + 7px);z-index:6;display:grid;gap:5px;width:170px;padding:7px;border:1px solid var(--line);border-radius:9px;background:#faf9f5;box-shadow:0 12px 35px #2527231c}.project-actions-menu button{width:100%;text-align:left}}

/* Place stages on the real calendar axis so gaps and pauses retain their meaning. */
.timeline{position:relative;display:block;height:12px}.timeline::before{content:'';position:absolute;left:0;right:0;top:3px;height:1px;background:#cdd1c4}.stage,.timeline-lead{position:absolute;z-index:1;left:var(--stage-start);width:max(4px,calc(var(--stage-end) - var(--stage-start)));min-width:0}.stage .bar{width:calc(100% - 3px)}.stage.is-point .bar{width:4px;border-radius:50%}.timeline-labels{position:relative;display:block;height:31px;margin-top:13px}.timeline-label{position:absolute;left:var(--stage-start);width:max(4px,calc(var(--stage-end) - var(--stage-start)));min-width:0;overflow:visible}.timeline-label.is-minor{visibility:hidden}.timeline-label strong{display:block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:11px;font-weight:550;line-height:1.25}.timeline-label span{display:block;margin-top:4px;font-size:10px;color:#686b60}.timeline-label.is-point.is-major strong{overflow:visible;text-overflow:clip;font-size:10px}.stage.is-pause .bar{background:transparent;border-top:1px dashed #a6aa9c;border-radius:0}.timeline-lead{padding:0 1px;text-align:left;color:#405a37;pointer-events:none}.timeline-lead .bar{position:relative;height:12px;display:block;margin:12px 0 14px;background:repeating-linear-gradient(to right,#789064 0 4px,transparent 4px 7px) center/100% 1px no-repeat}.timeline-lead .bar>span{position:absolute;left:50%;top:50%;padding:0 4px;background:#eeeee6;white-space:nowrap;font-size:8px;font-weight:650;line-height:1.2;transform:translate(-50%,-50%)}.timeline-lead strong{display:block;font-size:12px;font-weight:550;line-height:1.25}.timeline-lead small{display:block;margin-top:5px;font-size:10px;color:#686b60}.lead-compact{display:none}.timeline-lead-label{color:#405a37}
.timeline-time-tick{position:absolute;left:var(--time-position);top:0;z-index:0;width:1px;height:8px;background:#c3c6ba;transform:translateX(-.5px)}.timeline-time-tick.is-minor{top:1px;height:5px;background:#d8dacf}.timeline-time-tick.is-start,.timeline-time-tick.is-end{height:9px;background:#aeb2a5}.timeline-scale{position:relative;height:15px;margin-top:2px;color:#7a7d73;pointer-events:none}.timeline-scale-label{position:absolute;left:var(--time-position);font-size:8.5px;line-height:1;letter-spacing:.15px;white-space:nowrap;transform:translateX(-50%)}.timeline-scale-label.is-start{transform:none}.timeline-scale-label.is-end{transform:translateX(-100%)}
@media(min-width:761px){.timeline-scroll{padding-top:38px}.stage .date,.stage strong,.stage small,.timeline-lead strong,.timeline-lead small{display:none}.stage .bar,.timeline-lead .bar{height:8px;margin:0;border-radius:2px}.stage.is-current .bar{transform:none}.today-marker{top:5px;height:34px}.today-marker::before{top:15px;height:20px}.today-marker::after{top:29px}}
@media(max-width:760px){.timeline-labels{display:none}}
@media(max-width:760px){.timeline-scale{height:14px;margin-top:1px}.timeline-scale-label{font-size:7.5px}.timeline-time-tick.is-minor{opacity:.75}}

/* Secondary project-progress actions stay available without occupying a permanent row. */
.progress-more{position:relative;border:0}.progress-more>summary{min-height:0;padding:9px 11px;border:1px solid var(--line);border-radius:7px;font-size:13px;font-weight:550}.progress-more[open]>summary{background:#eaeae2}.progress-more>div{position:absolute;right:0;top:calc(100% + 7px);z-index:6;display:grid;gap:5px;width:170px;padding:7px;border:1px solid var(--line);border-radius:9px;background:#faf9f5;box-shadow:0 12px 35px #2527231c}.progress-more button{width:100%;text-align:left}
@media(max-width:600px){.project-heading{margin-top:12px}.project-heading .meta{align-items:center;flex-wrap:nowrap}.project-heading .status{padding:5px 9px}.project-heading .intro{margin:10px 0 15px}.project-heading h1{font-size:32px;line-height:.98;letter-spacing:-1.2px;margin-bottom:0}.project-heading .intro p{display:none}.project-heading .intro button{margin-top:8px;padding:0;border:0;border-radius:0;text-decoration:underline;text-underline-offset:3px;font-size:11px;color:var(--muted)}.progress-card{padding:13px 14px;margin-bottom:20px;border-radius:10px}.progress-card h2{font-size:20px;line-height:1.1;margin:4px 0 2px}.progress-card p{font-size:11px;line-height:1.4}.progress-card .section-label{font-size:9px}.progress-actions{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr) auto;align-items:stretch;margin-top:10px;gap:6px;max-width:none}.progress-actions button{min-width:0;padding:8px 7px;font-size:11px}.progress-more>summary{height:100%;display:flex;align-items:center;padding:8px 10px;font-size:11px}.overview{gap:20px;margin:24px 0 30px}.scope h2{font-size:24px;line-height:1.15;letter-spacing:-.6px;margin:9px 0 8px}.scope p{font-size:12px;margin:0}.tags{gap:5px;margin-top:14px}.tag{padding:5px 7px;font-size:10px}.price{padding-top:20px}}

/* A project is a compact program first; details expand only when requested. */
.project-heading{margin:0 0 18px}.project-heading .intro{margin:13px 0 0}.project-heading h1{margin:0;font-size:clamp(34px,4.2vw,54px)}.project-heading .intro .project-summary{max-width:780px;margin-top:7px;line-height:1.5}.project-party-compact{display:none}
.program-card{padding:17px 20px 0;margin-bottom:14px}.program-card .timeline-scroll{padding-top:27px}.program-card .timeline-labels{margin-top:5px}.program-card .stage .bar{height:8px}.program-card .today-marker{top:2px}.program-progress{margin:14px -20px 0;border:0;border-top:1px solid #dcded3;background:#f5f5ee}.program-progress>summary,.client-progress{min-height:54px;padding:9px 20px;display:flex;align-items:center;justify-content:space-between;gap:18px}.program-progress>summary:hover{background:#e8ebdf}.program-progress>summary>span:first-child,.client-progress>span{display:flex;align-items:baseline;gap:11px;min-width:0}.program-progress small{font-size:9px;letter-spacing:1px;text-transform:uppercase;color:var(--muted);white-space:nowrap}.program-progress strong{font-size:15px;font-weight:550;white-space:nowrap}.program-status-copy{font-size:11px;color:var(--muted);min-width:0}.program-status-copy b{color:inherit}.program-toggle,.row-toggle{font-size:10px;color:var(--muted);white-space:nowrap}.open-label{display:none}.program-progress[open] .closed-label,.project-card[open] .closed-label,.timeline-items[open] .closed-label{display:none}.program-progress[open] .open-label,.project-card[open] .open-label,.timeline-items[open] .open-label{display:inline}.program-actions{display:flex;flex-wrap:wrap;gap:7px;padding:0 20px 14px}.program-actions button{padding:8px 10px}.program-progress .progress-reason{margin:0;padding:0 20px 14px;font-size:11px;color:var(--muted)}.timeline-items{display:none}
.rows{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:0 18px;border-top:1px solid var(--line);align-items:start}.project-card,.project-card:nth-child(n+4){grid-column:auto;border:0;border-bottom:1px solid var(--line);border-radius:0;background:transparent;overflow:visible}.project-card summary,.project-card[open] summary{display:grid;grid-template-columns:minmax(0,1fr) auto auto;align-items:center;gap:14px;min-height:68px;height:auto;padding:10px 3px;border:0;background:transparent}.project-card summary:hover{background:#efefe6}.project-card .row-copy{display:block;min-width:0}.project-card .row-title{display:block;margin:0;font-size:14px;letter-spacing:-.1px}.project-card .row-preview{display:block;margin-top:4px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:11px;line-height:1.35;color:var(--muted)}.project-card .row-summary{margin:0;max-width:210px;text-align:right;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:11px}.project-card[open]{grid-column:1/-1;display:block;background:#fffef9;border:1px solid var(--line);border-radius:8px}.project-card[open] summary{padding:10px 14px;border-bottom:1px solid var(--line)}.project-card .detail{padding:16px 18px 18px;max-width:none;font-size:12px}.card-top,.card-description,.card-bottom,.num,.plus{display:none}.bottom-note,.overview{display:none}
@media(max-width:600px){header{min-height:68px;padding:12px 18px}.wordmark{font-size:24px}main:not(:has(.projects-home)):not(:has(.onboarding)):not(:has(.auth-home)){padding:10px 14px 32px}.preview-banner{margin-bottom:10px;padding:7px 10px;font-size:10px}.project-heading{margin:0 0 9px}.project-heading .meta{gap:8px}.project-heading .meta>span:first-child{max-width:58%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.project-heading .status{padding:4px 8px;white-space:nowrap}.project-heading .intro{margin:6px 0 0}.project-heading h1{font-size:27px;line-height:1.02;letter-spacing:-1px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.program-card{padding:9px 10px 0;margin-bottom:9px;border-radius:9px}.program-card .timeline-heading{display:flex;align-items:center}.program-card .timeline-heading span:last-child{margin:0;font-size:9px;text-align:right}.program-card .timeline-scroll{padding-top:24px}.program-card .timeline{height:38px}.program-card .timeline::before{top:15px}.program-card .stage,.program-card .timeline-lead{min-height:38px}.program-card .stage-number{height:12px;font-size:8px;visibility:hidden}.program-card .stage .bar,.program-card .timeline-lead .bar{height:7px;margin:0 0 5px}.program-card .stage.is-current .bar{box-shadow:0 0 0 2px #eeeee6,0 0 0 3px #556b43}.program-card .timeline-lead .bar>span{display:none}.program-card .timeline-lead strong{font-size:7.5px;line-height:1;white-space:nowrap}.program-card .timeline-lead .lead-full{display:none}.program-card .timeline-lead .lead-compact{display:block}.program-card .timeline-lead small{display:none}.program-card .stage-label-compact{font-size:8.5px;line-height:1;white-space:nowrap}.program-card .today-marker{height:39px}.program-card .today-marker::before{height:25px}.program-card .today-marker::after{top:32px}.program-progress{margin:7px -10px 0}.program-progress>summary,.client-progress{min-height:42px;padding:6px 10px;gap:7px}.program-progress>summary>span:first-child,.client-progress>span{display:grid;grid-template-columns:auto minmax(0,1fr);gap:0 7px;align-items:center}.program-progress small{grid-column:1;font-size:8.5px}.program-progress strong{grid-column:2;font-size:13px;overflow:hidden;text-overflow:ellipsis}.program-status-copy{grid-column:1/-1;font-size:10px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.program-actions{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:5px;padding:0 10px 10px}.program-actions button{min-width:0;padding:7px 5px;font-size:10px}.program-progress .progress-reason{padding:0 10px 10px}.rows{grid-template-columns:1fr;gap:0}.project-card,.project-card:nth-child(n+4){grid-column:1}.project-card summary,.project-card[open] summary{grid-template-columns:minmax(0,1fr) auto auto;gap:8px;min-height:58px;padding:8px 3px}.project-card .row-title{font-size:13px}.project-card .row-preview{margin-top:3px;font-size:10px}.project-card .row-summary{max-width:105px;font-size:10px}.row-toggle{font-size:9.5px}.project-card[open]{margin:2px 0}.project-card[open] summary{padding:8px 10px}.project-card .detail{padding:12px 10px 14px;font-size:11px}.detail .payment{padding:8px 0}.project-card .detail button{margin-top:10px;padding:8px 10px;font-size:10px}}
@media(max-width:600px){.project-heading .meta>span.project-party{max-width:none;overflow:visible;white-space:normal;text-overflow:clip}.project-party-full{display:none}.project-party-compact{display:inline}.project-heading h1{display:block;white-space:normal;overflow:visible;text-overflow:clip;overflow-wrap:anywhere;line-height:1.08;padding-bottom:2px}.timeline-items{display:block;margin:0 -10px;border:0;border-top:1px solid #dcded3;background:#f5f5ee}.timeline-items>summary{min-height:38px;padding:7px 10px;display:flex;align-items:center;justify-content:space-between;gap:12px;font-size:10px}.timeline-items>summary>span:first-child{font-weight:600}.timeline-items>summary>span:last-child{color:var(--muted)}.timeline-items-toggle{margin-left:5px;color:#252723}.timeline-items ol{margin:0;padding:0 10px 9px;list-style:none}.timeline-items li{border-top:1px solid #dcded3}.timeline-items button{width:100%;padding:8px 0;display:grid;grid-template-columns:minmax(0,1fr) auto;gap:12px;align-items:center;border:0;border-radius:0;text-align:left;background:transparent}.timeline-items button strong{font-size:11px;font-weight:550;line-height:1.25}.timeline-item-meta{display:grid;gap:1px;text-align:right}.timeline-items button .timeline-item-meta em{font-size:9px;font-style:normal;font-weight:550;line-height:1.2;color:#50544b;white-space:nowrap}.timeline-items button .timeline-item-meta span{font-size:9.5px;line-height:1.2;color:var(--muted);white-space:nowrap}.project-card .row-preview{white-space:normal;display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:2;line-clamp:2}.project-card .row-summary{max-width:96px;overflow:visible;text-overflow:clip;white-space:normal;line-height:1.25}.project-card summary,.project-card[open] summary{min-height:66px}}
.portfolio-project{min-height:86px}.portfolio-project-label strong{display:-webkit-box;overflow:hidden;text-overflow:clip;white-space:normal;line-height:1.15;-webkit-box-orient:vertical;-webkit-line-clamp:2;line-clamp:2}.portfolio-span,.portfolio-stage{top:38px}.portfolio-stage.is-point{top:34px}.portfolio-project-menu>summary{min-height:85px}
@media(max-width:600px){.portfolio-project{min-height:76px}.portfolio-span,.portfolio-stage{top:28px}.portfolio-stage.is-point{top:24px}.portfolio-project-menu>summary{min-height:75px}}
@media print{.program-progress,.row-toggle{display:none}.project-heading{margin-bottom:15px}.rows{display:block}.project-card,.project-card[open]{border:0;border-bottom:1px solid var(--line);border-radius:0}.project-card summary,.project-card[open] summary{padding:10px 0}.project-card .detail{padding:0 0 14px}}
