:root { color-scheme: light; --pr-ink:#193039; --pr-muted:#52636a; --pr-paper:#f5f3ed; --pr-card:#fff; --pr-line:#d9dfd9; --pr-accent:#285b48; --pr-soft:#eaf1eb; }
* { box-sizing:border-box; }
body { margin:0; color:var(--pr-ink); background:var(--pr-paper); font:1rem/1.6 system-ui,sans-serif; }
[hidden] { display:none!important; }
a { color:var(--pr-accent); }
a,button,input { -webkit-tap-highlight-color:transparent; }
a:focus-visible,button:focus-visible,input:focus-visible { outline:3px solid #a77b30; outline-offset:4px; }
.project-shell { width:min(1120px,100% - 48px); margin:auto; padding:32px 0 64px; }
.project-nav { display:flex; flex-wrap:wrap; gap:12px 24px; border-bottom:1px solid var(--pr-line); padding-bottom:16px; }
.project-nav a,.project-action { display:inline-flex; align-items:center; min-height:44px; font-weight:650; text-underline-offset:5px; }
.project-hero { padding:40px 0 28px; max-width:780px; }
.project-eyebrow { font-size:.75rem; text-transform:uppercase; letter-spacing:.14em; font-weight:750; color:var(--pr-accent); }
h1 { font-size:clamp(2rem,5vw,3.6rem); line-height:1.1; letter-spacing:-.04em; margin:12px 0 16px; }
h2,h3 { line-height:1.3; overflow-wrap:anywhere; margin:12px 0 20px; }
.project-hero>p:last-child { color:var(--pr-muted); font-size:1.1rem; }
.project-preview { border:1px solid #c8b483; border-left:4px solid #a77b30; background:#fcf8ee; padding:16px 20px; margin-bottom:24px; border-radius:12px; }
.project-toolbar { display:flex; flex-wrap:wrap; align-items:center; gap:12px; margin:20px 0; }
button,input[type=search] { font:inherit; border:1px solid var(--pr-line); border-radius:10px; padding:10px 16px; min-height:46px; }
button { color:#fff; background:var(--pr-accent); cursor:pointer; font-weight:650; }
input[type=search] { width:100%; min-width:0; background:var(--pr-card); color:var(--pr-ink); }
.project-search { display:block; flex:1 1 320px; font-weight:600; }
.project-checkbox { display:flex; align-items:center; gap:10px; min-height:44px; }
.project-checkbox input { width:20px; height:20px; accent-color:var(--pr-accent); }
.project-read-grid { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:20px; }
.project-read-card,.project-read-state { background:var(--pr-card); border:1px solid var(--pr-line); border-radius:18px; padding:26px; box-shadow:0 4px 18px #1d322d06; min-width:0; }
.project-read-card__top { display:flex; flex-wrap:wrap; align-items:center; gap:10px 16px; justify-content:space-between; }
.project-reference { color:var(--pr-muted); font-size:.75rem; letter-spacing:.04em; overflow-wrap:anywhere; margin:0; }
.project-status { font-size:.8rem; font-weight:700; border-radius:99px; padding:5px 12px; background:var(--pr-soft); }
.project-facts { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:16px 24px; margin:0; }
.project-facts dt { color:var(--pr-muted); font-size:.8rem; }
.project-facts dd { margin:3px 0 0; font-weight:600; overflow-wrap:anywhere; }
.project-explanation { border-top:1px solid var(--pr-line); margin:24px 0 0; padding-top:20px; }
.project-action { margin-top:20px; }
.project-note { color:var(--pr-muted); max-width:760px; }
.skip-link { position:absolute; left:16px; top:-100px; padding:12px; background:var(--pr-card); z-index:5; }
.skip-link:focus { top:12px; }
@media(max-width:680px) { .project-shell { width:calc(100% - 32px); padding-top:16px; } .project-hero { padding:28px 0 20px; } .project-read-grid,.project-facts { grid-template-columns:1fr; } .project-read-card,.project-read-state { padding:20px; } .project-toolbar { align-items:stretch; } .project-toolbar>button { flex:1; } }
@media(prefers-reduced-motion:reduce) { * { scroll-behavior:auto!important; } }
.project-command-form { border-top:1px solid var(--pr-line); padding-top:24px; margin-top:24px; }
.project-command-form fieldset { min-width:0; border:0; padding:0; margin:0; display:grid; gap:18px; }
.project-command-form legend { padding:0 0 16px; font-weight:750; font-size:1.2rem; }
.project-command-form label:not(.project-checkbox) { display:grid; gap:8px; font-weight:650; }
.project-command-form select { width:100%; min-width:0; min-height:46px; font:inherit; padding:10px 12px; border:1px solid var(--pr-line); border-radius:10px; background:white; color:var(--pr-ink); }
.project-command-form select:focus-visible { outline:3px solid #a77b30; outline-offset:4px; }
.project-command-form input[type=email] { display:block; width:100%; min-width:0; max-width:100%; min-height:46px; font:inherit; padding:10px 12px; border:1px solid var(--pr-line); border-radius:10px; background:var(--pr-card); color:var(--pr-ink); }
.project-contact-panel { border-top:1px solid var(--pr-line); margin-top:28px; padding-top:24px; }
.project-contact-panel .project-command-form { border-top:0; padding-top:0; margin-top:18px; }
.project-command-form button { max-width:100%; white-space:normal; overflow-wrap:anywhere; }
.project-command-confirmation { background:var(--pr-soft); border:1px solid var(--pr-line); padding:20px; border-radius:12px; margin-top:18px; }
.project-command-confirmation button { margin:4px 8px 4px 0; }
.project-command-status,.project-command-notice { overflow-wrap:anywhere; }
.project-command-notice:not(:empty) { border-left:4px solid var(--pr-accent); background:var(--pr-soft); padding:16px; border-radius:8px; }
button:disabled { cursor:wait; opacity:.65; }
.project-create { margin:24px 0; }
.project-create-form { background:var(--pr-card); border:1px solid var(--pr-line); border-radius:18px; padding:26px; }
.project-create-form input:not([type=checkbox]) { width:100%; min-width:0; min-height:46px; font:inherit; padding:10px 12px; border:1px solid var(--pr-line); border-radius:10px; color:var(--pr-ink); }
.project-create-form label,.project-create-form p,.project-create-form option { overflow-wrap:anywhere; }
.project-create-form .project-team { border:1px solid var(--pr-line); border-radius:12px; padding:16px; }
.project-team-options { display:grid; gap:8px; }
.project-team-options .project-checkbox { align-items:flex-start; font-weight:400; }
.project-checkbox input { flex-shrink:0; }
.project-create-form .project-checkbox span { min-width:0; }
@media(max-width:680px) { .project-create-form { padding:20px; } }
.project-date-panel { border-top:1px solid var(--pr-line); margin-top:28px; padding-top:24px; }
.project-date-facts { margin:16px 0 24px; }
.project-dates-form fieldset { min-width:0; padding:0; margin:0; border:0; display:grid; gap:18px; }
.project-dates-form legend { padding:0 0 16px; font-size:1.2rem; font-weight:750; }
.project-dates-form label:not(.project-checkbox) { display:grid; gap:8px; font-weight:650; }
.project-dates-form input[type=date] { display:block; width:100%; max-width:100%; min-width:0; min-height:46px; font:inherit; padding:10px 12px; border:1px solid var(--pr-line); border-radius:10px; background:white; color:var(--pr-ink); }
.project-dates-form button,.project-dates-status { max-width:100%; overflow-wrap:anywhere; white-space:normal; }
.project-thread-panel { border-top:1px solid var(--pr-line); margin-top:28px; padding-top:24px; }
:is(.project-thread-history,.project-internal-history) { display:grid; gap:14px; padding:0; list-style:none; margin:24px 0; }
:is(.project-thread-message,.project-internal-message) { padding:18px; border:1px solid var(--pr-line); border-radius:12px; background:var(--pr-paper); min-width:0; }
.project-message-body { white-space:pre-wrap; overflow-wrap:anywhere; margin-bottom:0; }
:is(.project-thread-form,.project-internal-form) fieldset { min-width:0; border:0; padding:0; margin:0; }
:is(.project-thread-form,.project-internal-form) legend { font-size:1.2rem; font-weight:750; padding:0 0 16px; }
:is(.project-thread-form,.project-internal-form) label { display:grid; gap:8px; font-weight:650; }
:is(.project-thread-form,.project-internal-form) textarea { display:block; width:100%; min-width:0; max-width:100%; min-height:130px; resize:vertical; font:inherit; padding:12px; color:var(--pr-ink); background:var(--pr-card); border:1px solid var(--pr-line); border-radius:10px; }
:is(.project-thread-form,.project-internal-form) textarea:focus-visible { outline:3px solid #a77b30; outline-offset:4px; }
.project-thread-panel button,:is(.project-thread-status,.project-internal-status) { max-width:100%; white-space:normal; overflow-wrap:anywhere; }
.project-assignment-panel { border-top:1px solid var(--pr-line); margin-top:28px; padding-top:24px; }
.project-roster { padding-left:24px; overflow-wrap:anywhere; }
.project-assignment-form fieldset { min-width:0; padding:0; border:0; margin:20px 0; }
.project-assignment-form legend { padding-bottom:16px; font-size:1.2rem; font-weight:750; }
.project-assignment-form label:not(.project-checkbox) { display:grid; gap:8px; font-weight:650; margin:20px 0; }
.project-assignment-form select { min-width:0; width:100%; min-height:46px; font:inherit; padding:10px; color:var(--pr-ink); background:var(--pr-card); border:1px solid var(--pr-line); border-radius:10px; }
.project-assignment-form select:focus-visible { outline:3px solid #a77b30; outline-offset:4px; }
.project-assignment-form .project-checkbox { align-items:flex-start; overflow-wrap:anywhere; padding:8px 0; }
.project-assignment-panel button,.project-assignment-status { max-width:100%; white-space:normal; overflow-wrap:anywhere; }
.project-assignment-form button { margin:6px 8px 6px 0; }

.project-history-panel { border-top:1px solid var(--pr-line); margin-top:28px; padding-top:24px; }
.project-history-list { display:grid; gap:14px; list-style:none; padding:0; margin:24px 0; }
.project-history-update { border-left:3px solid var(--pr-accent); border-radius:0 12px 12px 0; background:var(--pr-paper); padding:18px; min-width:0; }
.project-history-update h3 { margin:8px 0; }
.project-history-update p:last-child { margin-bottom:0; }
.project-history-current { font-weight:650; overflow-wrap:anywhere; }
.project-history-panel button,.project-history-status { max-width:100%; white-space:normal; overflow-wrap:anywhere; }
.project-notes-panel { border-top:3px solid #a77b30; margin-top:28px; padding-top:24px; }
.project-notes-panel > h2 { color:#655020; }
.project-budget-panel { border-top:1px solid var(--pr-line); margin-top:28px; padding-top:24px; }
.project-budget-form { margin-top:20px; }
.project-budget-form fieldset { display:grid; gap:16px; border:0; padding:0; margin:0; min-width:0; }
.project-budget-form legend { font-size:1.2rem; font-weight:750; margin-bottom:16px; }
.project-budget-form label { display:grid; gap:8px; font-weight:650; }
.project-budget-form input { width:100%; max-width:100%; min-width:0; padding:12px; border:1px solid var(--pr-line); border-radius:10px; font:inherit; color:var(--pr-ink); background:var(--pr-card); }
.project-budget-form input:focus-visible { outline:3px solid #a77b30; outline-offset:4px; }
.project-budget-panel button,.project-budget-status { max-width:100%; white-space:normal; overflow-wrap:anywhere; }
.project-budget-facts dd { overflow-wrap:anywhere; }
.project-cost-panel { border-block: 2px solid var(--accent, #b7872b); padding-block: 1rem; }
.project-cost-form fieldset { display: grid; gap: 1rem; min-width: 0; border: 0; padding: 0; margin: 1rem 0; }
.project-cost-form label { display: grid; gap: .4rem; min-width: 0; font-weight: 700; }
.project-cost-form input, .project-cost-form select { width: 100%; min-width: 0; max-width: 100%; min-height: 44px; box-sizing: border-box; padding: .75rem; border: 1px solid #d5ddd8; border-radius: .6rem; background: white; color: inherit; font: inherit; font-size: 16px; }
.project-cost-form input:focus-visible, .project-cost-form select:focus-visible { outline: 3px solid var(--accent, #b7872b); outline-offset: 2px; }
.project-cost-entries { padding-inline-start: 1.25rem; }
.project-cost-entry { padding-block: 1rem; border-bottom: 1px solid #d5ddd8; overflow-wrap: anywhere; }
.project-cost-facts dd, .project-cost-panel .project-command-confirmation { overflow-wrap: anywhere; }
.project-milestones-panel { border-block: 1px solid #d5ddd8; padding-block: 1rem; }
.project-milestone-items { padding-inline-start: 1.25rem; }
.project-milestone-item { padding-block: .75rem; border-bottom: 1px solid #e5e9e6; overflow-wrap: anywhere; }
.project-milestone-item h4 { margin: 0 0 .5rem; font-size: 1rem; }
.project-milestone-state { font-weight: 700; color: #245a45; }
.project-milestone-form fieldset { display: grid; gap: 1rem; min-width: 0; padding: 0; border: 0; margin: 1rem 0; }
.project-milestone-form .project-milestone-row { border: 1px solid #d5ddd8; padding: .75rem; border-radius: .6rem; }
.project-milestone-form label:not(.project-checkbox) { display: grid; gap: .4rem; min-width: 0; font-weight: 700; }
.project-milestone-form input:not([type=checkbox]), .project-milestone-form select { box-sizing: border-box; min-width: 0; max-width: 100%; width: 100%; min-height: 44px; padding: .75rem; border: 1px solid #d5ddd8; border-radius: .6rem; color: inherit; background: white; font: inherit; font-size: 16px; }
.project-milestone-form input:focus-visible, .project-milestone-form select:focus-visible { outline: 3px solid var(--accent, #b7872b); outline-offset: 2px; }
.project-milestones-panel .project-command-confirmation, .project-milestone-reason { overflow-wrap: anywhere; }

.project-feedback-panel { margin-block: 1.5rem; padding-block: 1rem; border-block-start: 1px solid var(--line, #dce3dd); }
.project-feedback-form fieldset { min-width: 0; display: grid; gap: 1rem; }
.project-feedback-form label { display: grid; gap: .5rem; }
.project-feedback-form select, .project-feedback-form textarea { width: 100%; max-width: 100%; min-width: 0; min-height: 44px; padding: .75rem; font: inherit; font-size: 16px; }
.project-feedback-form textarea { resize: vertical; }
.project-feedback-body { white-space: pre-wrap; overflow-wrap: anywhere; }
.project-feedback-rating, .project-feedback-acknowledgement { font-weight: 650; }

.project-quality-panel { margin-block: 1.5rem; padding-block: 1rem; border-block-start: 1px solid var(--line, #dce3dd); }
.project-quality-form fieldset { min-width: 0; display: grid; gap: 1rem; }
.project-quality-form label { display: grid; gap: .5rem; }
.project-quality-form input, .project-quality-form select { width: 100%; max-width: 100%; min-width: 0; min-height: 44px; padding: .75rem; font: inherit; font-size: 16px; }
.project-quality-row { margin-block: 1rem; }
.project-quality-items li, .project-quality-history li { margin-block: 1rem; overflow-wrap: anywhere; }
.project-quality-history summary { min-height: 44px; padding-block: .75rem; cursor: pointer; font-weight: 650; }
.project-quality-state { font-weight: 650; }

.project-readiness-panel { margin-block: 1.5rem; padding-block: 1rem; border-block-start: 1px solid var(--line, #dce3dd); }
.project-readiness-form fieldset { min-width: 0; display: grid; gap: 1rem; }
.project-readiness-form label:not(.project-checkbox) { display: grid; gap: .5rem; }
.project-readiness-form select, .project-readiness-form textarea { width: 100%; max-width: 100%; min-width: 0; min-height: 44px; padding: .75rem; font: inherit; font-size: 16px; }
.project-readiness-form textarea { resize: vertical; }
.project-readiness-summary, .project-readiness-comment { white-space: pre-wrap; overflow-wrap: anywhere; }
.project-readiness-outdated, .project-readiness-response { font-weight: 650; }

.project-completion-panel { margin-block: 1.5rem; padding-block: 1rem; border-block-start: 1px solid var(--line, #dce3dd); }
.project-completion-form fieldset, .project-completion-form fieldset > div { min-width: 0; display: grid; gap: 1rem; }
.project-completion-form label:not(.project-checkbox) { display: grid; gap: .5rem; }
.project-completion-form input:not([type=checkbox]), .project-completion-form select, .project-completion-form textarea { box-sizing: border-box; width: 100%; max-width: 100%; min-width: 0; min-height: 44px; padding: .75rem; font: inherit; font-size: 16px; }
.project-completion-form textarea { resize: vertical; }
.project-completion-note, .project-completion-evidence { white-space: pre-wrap; overflow-wrap: anywhere; }
.project-completion-record, .project-readiness-completed { font-weight: 650; }

.project-reopening-panel { margin-block: 1.5rem; padding-block: 1rem; border-block-start: 1px solid var(--line, #dce3dd); }
.project-reopening-form fieldset { min-width: 0; display: grid; gap: 1rem; }
.project-reopening-form label:not(.project-checkbox) { display: grid; gap: .5rem; }
.project-reopening-form textarea { box-sizing: border-box; width: 100%; max-width: 100%; min-width: 0; min-height: 44px; padding: .75rem; font: inherit; font-size: 16px; resize: vertical; }
.project-reopening-reason, .project-reopening-summary, .project-readiness-reopening-summary { white-space: pre-wrap; overflow-wrap: anywhere; }
.project-reopening-history summary, .project-completion-history summary { min-height: 44px; padding-block: .75rem; cursor: pointer; font-weight: 650; }
.project-reopening-history li, .project-completion-history li { margin-block: 1rem; overflow-wrap: anywhere; }

.project-forecast-panel { margin-block: 1.5rem; padding-block: 1rem; border-block-start: 1px solid var(--line, #dce3dd); overflow-wrap: anywhere; }
.project-forecast-form fieldset { min-width: 0; display: grid; gap: 1rem; }
.project-forecast-form label:not(.project-checkbox) { display: grid; gap: .5rem; }
.project-forecast-form input:not([type=checkbox]) { box-sizing: border-box; width: 100%; max-width: 100%; min-width: 0; min-height: 44px; padding: .75rem; font: inherit; font-size: 16px; }
.project-forecast-form input:focus-visible { outline: 3px solid var(--accent, #b7872b); outline-offset: 2px; }
.project-forecast-history summary { min-height: 44px; padding-block: .75rem; cursor: pointer; font-weight: 650; }

.project-section-nav { margin-block: 1.5rem; border: 1px solid var(--pr-line); border-radius: 12px; background: var(--pr-paper); }
.project-section-nav summary { min-height: 48px; padding: 12px 16px; cursor: pointer; font-weight: 750; }
.project-section-nav summary:focus-visible, .project-section-target:focus { outline: 3px solid #a77b30; outline-offset: 5px; }
.project-section-groups { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 220px), 1fr)); gap: 20px; padding: 0 16px 16px; }
.project-section-groups h3 { font-size: .85rem; margin: 8px 0; }
.project-section-groups ul { display: grid; gap: 4px; margin: 0; padding: 0; list-style: none; }
.project-section-groups a { display: flex; align-items: center; min-height: 44px; padding: 8px 12px; border-radius: 8px; font-weight: 600; text-decoration-thickness: 1px; text-underline-offset: 3px; overflow-wrap: anywhere; }
.project-section-groups a:hover, .project-section-groups a[aria-current] { background: var(--pr-soft); }
.project-section-return { display: inline-flex; align-items: center; min-height: 44px; margin: -8px 0 12px; font-size: .85rem; text-underline-offset: 4px; }
.project-section-target, .project-section-nav summary { scroll-margin-block-start: 24px; }
