.projects-page{color:#202020;background:#fafaf8;font-family:Arial,sans-serif}.projects-page header{height:auto;min-height:90px;display:flex;justify-content:space-between;align-items:center;padding:24px 4vw;border-bottom:1px solid #d6d4ce;background:#fff}.project-brand{font-size:32px;font-weight:800;letter-spacing:3px;text-decoration:none;color:#111}.project-brand span{display:block;font-size:11px;font-weight:500;letter-spacing:2px;margin-top:6px}.projects-page nav{display:flex;gap:24px}.projects-page main{max-width:1280px;margin:auto;padding:50px 4vw}.project-intro,.section-heading{display:flex;justify-content:space-between;align-items:center;gap:20px}.project-intro{margin-bottom:28px}.projects-page h1{font-size:clamp(30px,4vw,52px);line-height:1.05;margin:10px 0 16px}.projects-page h2{font-size:23px;margin:0 0 12px}.projects-page h3{font-size:18px;line-height:1.3;margin:16px 0 8px;overflow-wrap:anywhere}.projects-page p{font-size:14px;line-height:1.6;max-width:780px}.projects-page a{color:inherit}.projects-page button,.projects-page .button{display:inline-block;border:1px solid #111;background:#111;color:white;padding:12px 16px;font-size:13px;text-decoration:none;cursor:pointer;line-height:1.3}.projects-page button.secondary,.projects-page .button.secondary{background:white;color:#111;border-color:#aaa}.projects-page button:disabled{opacity:.45;cursor:wait}.projects-page [hidden]{display:none!important}.projects-page label{display:grid;gap:8px;font-size:13px;font-weight:600}.projects-page input:not([type=checkbox]),.projects-page select,.projects-page textarea{padding:12px;border:1px solid #aaa;background:white;color:#111;font:inherit;min-width:0;box-sizing:border-box;width:100%}.projects-page textarea{resize:vertical;line-height:1.5}.project-list,.project-build-grid,.survey-list{display:grid;grid-template-columns:repeat(auto-fit,minmax(240px,1fr));gap:20px}.project-card,.project-build-card,.survey-card{background:white;padding:20px;border:1px solid #d8d6ce;overflow:hidden}.project-card p,.project-build-card p{color:#666;font-size:12px}.project-card a,.project-build-card a,.project-build-card button{margin:6px 6px 0 0}.project-build-card img,.survey-card img{width:100%;height:210px;object-fit:contain;background:#eeede8;display:block}.project-build-card .build-actions{display:flex;flex-wrap:wrap;gap:6px}.project-privacy{display:flex;gap:22px;background:#e9eee5;padding:18px 22px;font-size:12px;line-height:1.5;border:1px solid #cdd5c5}.project-privacy strong{white-space:nowrap}.project-section{border-top:1px solid #d8d6ce;padding-top:28px;margin-top:36px}.project-notes{white-space:pre-wrap;line-height:1.7;font-size:15px;overflow-wrap:anywhere;max-width:900px}.survey-card h3{font-size:14px}.survey-card p{white-space:pre-wrap}.survey-card button{margin-top:10px}.project-help{font-size:12px;color:#666}.invite-form{display:flex;gap:12px;align-items:end;margin:12px 0 20px}.invite-form label{flex:1;max-width:450px}.member-row{display:flex;justify-content:space-between;gap:16px;align-items:center;border-top:1px solid #ddd;padding:14px 0}.member-row p{margin:0;overflow-wrap:anywhere}.projects-page dialog{width:min(620px,calc(100vw - 28px));max-height:calc(100svh - 36px);overflow:auto;padding:30px;border:1px solid #aaa;box-sizing:border-box}.projects-page dialog::backdrop{background:#0008}.projects-page dialog label{margin:20px 0}.dialog-actions{display:flex;justify-content:flex-end;gap:10px;margin-top:24px}.projects-page :focus-visible{outline:2px solid #296348;outline-offset:3px}#invitation-result{padding:18px;background:#eff0ea;margin-bottom:24px}.projects-page .check{display:flex;align-items:start;font-weight:400;line-height:1.5}.projects-page .check input{margin-top:4px}.section-heading>div:last-child{display:flex;gap:8px;flex-wrap:wrap}.section-heading>div:first-child{display:block}@media(max-width:650px){.project-intro,.section-heading,.project-privacy{align-items:start;flex-direction:column}.projects-page main{padding-top:30px}.projects-page header{align-items:start;gap:20px}.projects-page nav{font-size:12px;gap:10px;flex-wrap:wrap}.invite-form{align-items:stretch;flex-direction:column}.member-row{align-items:start}.projects-page dialog{padding:22px}.project-list,.project-build-grid,.survey-list{grid-template-columns:1fr}}

.project-build-card.review-highlight{outline:3px solid #5a7253;outline-offset:4px}

.projects-page .danger{background:#8b2925;border-color:#8b2925;color:#fff}#project-delete-controls>p{max-width:700px;line-height:1.6}

.project-photo-thumbs{display:grid;grid-template-columns:repeat(auto-fit,minmax(110px,1fr));gap:8px}.projects-page .project-photo-open{display:block;padding:0;border:0;background:#eeede8;width:100%}.project-photo-open img{height:180px}.project-photo-actions{display:flex;align-items:center;flex-wrap:wrap;gap:8px;margin-top:10px}.upload-credit{color:#666}.projects-page dialog.project-lightbox{width:100%;height:100%;max-width:none;max-height:none;border:0;padding:24px 32px;background:#000;color:#fff}.projects-page .project-lightbox .lightbox-caption{white-space:pre-wrap;max-width:none;max-height:22vh;overflow:auto}.projects-page .project-lightbox .lightbox-toolbar{margin:0}.projects-page .project-lightbox .lightbox-title{margin:0}@media(max-width:650px){.projects-page dialog.project-lightbox{padding:16px}.projects-page .project-lightbox .lightbox-stage{gap:8px;grid-template-columns:36px minmax(0,1fr) 36px}.projects-page .project-lightbox button{width:36px;height:40px}}

.project-text-section summary{cursor:pointer;font-size:23px;font-weight:700;margin-bottom:16px}.project-text-section>button{margin:0 0 16px}.project-text-section .project-notes{margin-top:8px}

.brief-entry{padding:16px 0;border-top:1px solid #d8d6ce}.brief-entry button{margin:10px 8px 4px 0}#add-brief-entry{margin-top:18px}

.project-section.review-highlight{outline:3px solid #5a7253;outline-offset:10px;scroll-margin-top:24px}

.review-feature{margin:28px 0 38px}.review-feature>h3{font-size:20px;border-bottom:1px solid #d8d6ce;padding-bottom:12px;margin-bottom:18px}.review-concept img{height:260px}.review-concept label{margin:14px 0 8px}.review-concept select{font-size:14px}.review-concept .project-help{min-height:20px}
.review-notes{display:grid;gap:8px;margin-top:18px;padding-top:16px;border-top:1px solid #e1dfd8}.review-notes>label{font-size:12px;letter-spacing:1.2px}.review-notes textarea{min-height:90px}.review-feature{margin:20px 0 30px}.project-text-section>.section-heading{margin:8px 0 18px}.project-text-section>.section-heading>p{margin:0}

.invite-form label:nth-child(2){max-width:220px}.member-role{min-width:155px}.member-row{flex-wrap:wrap}
