.portal-panel[hidden]{display:none!important}
.portal-workspaces{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px;margin:26px 0}
.portal-workspaces button{min-height:50px;padding:12px;border:1px solid var(--line);border-radius:8px;background:#fff;color:var(--forest);font:inherit;font-size:16px;font-weight:600;line-height:1.5;cursor:pointer}
.portal-workspaces button[aria-selected=true]{background:#eaf2e4;border-color:#53834c;box-shadow:inset 0 -3px #53834c}
.project-heading,.project-editor-head{display:flex;justify-content:space-between;align-items:center;flex-wrap:wrap;gap:18px;margin:20px 0 26px}
.project-heading h2{margin:8px 0;font-size:30px;white-space:normal;line-height:1.4}
.project-heading p{max-width:75ch;line-height:1.8}
.project-status{display:inline-block;padding:6px 10px;border-radius:6px;background:#edf3e8;color:#244533;font-size:14px;font-weight:600;line-height:1.5}
.project-live-message,.project-error{font-size:15px;line-height:1.7;overflow-wrap:anywhere}
.project-live-message:not(:empty){padding:12px 16px;background:#edf3e8;border-radius:8px;margin:16px 0}
.project-error:not(:empty){padding:12px 16px;background:#fff1eb;border:1px solid #d7a08b;border-radius:8px;margin:16px 0;color:#7c3026}
.project-records{display:grid;gap:16px;margin:20px 0}
.project-record{display:flex;align-items:center;justify-content:space-between;gap:24px;padding:22px;border:1px solid var(--line);border-radius:10px;background:#fff}
.project-record>div{min-width:0}.project-record h3{font-size:23px;line-height:1.45;margin:12px 0;white-space:normal;overflow-wrap:anywhere}
.project-record p{font-size:15px;line-height:1.7;margin:8px 0}.project-record small{font-size:13px}
.project-record .actions{flex-wrap:wrap;min-width:170px;max-width:270px}.project-record .mini-button{white-space:normal}
.project-empty{padding:22px;border:1px dashed #bdcfb8;border-radius:10px;font-size:16px;line-height:1.8}
.project-section{min-width:0;margin:22px 0;padding:24px;border:1px solid var(--line);border-radius:10px;background:#fff}
.project-section legend{padding:0 9px;font-size:22px;font-weight:600;color:var(--forest);line-height:1.5}
.project-section label,.project-summary label,.project-review label,.project-search{display:block;font-size:15px;font-weight:600;line-height:1.6}
.project-section label{margin-bottom:18px}
.project-field-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:0 20px}
:is(.project-section,.project-summary,.project-review,.project-search) :is(input:not([type=checkbox]),select,textarea){display:block;box-sizing:border-box;width:100%;max-width:100%;min-height:46px;margin:7px 0 0;padding:10px 12px;border:1px solid #a7bca0;border-radius:7px;background:#fff;color:#243b2c;font:inherit;font-size:16px;font-weight:400;line-height:1.6}
:is(.project-section,.project-summary,.project-review) textarea{resize:vertical}
.project-compose-grid{display:grid;grid-template-columns:minmax(0,1fr) minmax(300px,.8fr);align-items:start;gap:26px;margin:32px 0}
.project-catalogue,.project-summary{min-width:0}.project-catalogue h3,.project-summary h3{font-size:25px;line-height:1.4;white-space:normal;margin:0 0 14px}
.project-catalogue>p{font-size:16px;line-height:1.8}.project-domain{margin:24px 0}.project-domain h4{font-size:21px;line-height:1.5;white-space:normal;margin:14px 0}
.project-category{border:1px solid var(--line);border-radius:8px;background:#fff;margin:10px 0}
.project-category>summary{display:flex;align-items:center;justify-content:space-between;gap:14px;padding:15px 17px;min-height:54px;font-size:17px;font-weight:600;line-height:1.6;cursor:pointer;list-style:none;color:var(--forest)}
.project-category>summary::-webkit-details-marker{display:none}.project-category>summary::after{content:'+';font-size:24px;font-weight:400}.project-category[open]>summary::after{content:'−'}
.project-category>summary span{margin-left:auto;font-size:13px;font-weight:400}.project-category>div{padding:0 15px 16px}
.project-activity-choice{display:flex;align-items:flex-start;gap:12px;min-height:48px;padding:13px 3px;border-top:1px solid #e4eadf;font-size:16px;font-weight:400;line-height:1.65;cursor:pointer}
.project-activity-choice>input{flex:0 0 22px;width:22px;height:22px;margin:3px 0 0;accent-color:#386845}.project-activity-choice>span{min-width:0;overflow-wrap:anywhere}
.project-category .text-link{font-size:14px;min-height:44px;margin-top:10px}
.project-summary{padding:22px;background:#edf3e8;border:1px solid #c8d9c0;border-radius:10px;scroll-margin-top:calc(var(--site-header-height,160px) + 16px)}
.project-summary-jump{display:none}.project-selected-items{display:grid;gap:16px}.project-selected-item{min-width:0;padding:16px;background:#fff;border:1px solid #cad8c4;border-radius:8px}
.project-selected-item>strong{display:block;font-size:16px;line-height:1.65;overflow-wrap:anywhere}.project-selected-item>small{display:block;font-size:13px;line-height:1.6;margin:7px 0 14px}.project-selected-item label{margin-top:12px}
.project-order{display:flex;flex-wrap:wrap;gap:8px;margin-top:12px}.project-order button{min-height:44px;min-width:44px}
.project-dates{margin:12px 0 20px}.project-date-entry{display:flex;align-items:center;flex-wrap:wrap;gap:10px}.project-date-entry>input{box-sizing:border-box;min-width:0;max-width:100%;min-height:46px;padding:10px 12px;border:1px solid #a7bca0;border-radius:7px;background:#fff;color:#243b2c;font:inherit;font-size:16px;line-height:1.5;flex:1 1 190px;width:auto;margin:0}
.project-date-entry>.mini-button{min-height:46px}.project-date-chips{display:flex;gap:8px;flex-wrap:wrap;margin-top:12px}.project-date-chip{min-height:44px;padding:8px 12px;border:1px solid #a7bca0;border-radius:6px;background:#edf3e8;color:#243b2c;font:inherit;font-size:15px;cursor:pointer}.project-date-chip span{margin-left:10px}
.project-date-error{font-size:14px;color:#7c3026;line-height:1.6}.project-date-error:empty{display:none}
.project-submit p{font-size:16px;line-height:1.8;max-width:85ch}.project-submit .actions{flex-wrap:wrap}
.project-review-note{padding:14px 18px;background:#fff6df;border-left:3px solid #b69d50;border-radius:6px;font-size:16px;line-height:1.8;white-space:pre-wrap}
.project-review,.project-prefill{margin:28px 0;padding:24px;border:1px solid #bdcfb8;border-radius:10px;background:#f5f8f1;min-width:0}.project-review h3,.project-prefill summary{font-size:23px;line-height:1.5;white-space:normal}.project-prefill summary{cursor:pointer;font-weight:600}.project-prefill p{font-size:16px;line-height:1.8}.project-prefill .checkbox-line{margin:18px 0;font-size:16px;line-height:1.7}.project-prefill .actions{flex-wrap:wrap}
.project-readonly{padding:24px;border:1px solid var(--line);border-radius:10px;background:#fff}.project-readonly p{font-size:16px;line-height:1.8;white-space:pre-wrap;overflow-wrap:anywhere}.project-readonly-activities{padding-left:24px}.project-readonly-activities li{padding:12px 0;border-bottom:1px solid #e4eadf;line-height:1.8}.project-readonly-activities span{display:block;font-size:15px}
.structure-notifications{margin:28px 0;padding:18px 20px;border:1px solid var(--line);border-radius:10px;background:#fff}.structure-notifications>summary{display:flex;align-items:center;gap:14px;flex-wrap:wrap;font-size:18px;font-weight:600;line-height:1.6;cursor:pointer}.structure-notifications>summary span{font-size:14px;font-weight:400;color:#4b6550}.structure-notifications>p{font-size:15px;line-height:1.8;overflow-wrap:anywhere}.structure-notification-list{display:grid;gap:12px}.structure-notification-list article{display:flex;align-items:center;justify-content:space-between;gap:18px;padding:14px;border:1px solid var(--line);border-radius:8px}.structure-notification-list article>div{min-width:0}.structure-notification-list :is(strong,span,small){display:block;overflow-wrap:anywhere;line-height:1.7}.structure-notification-list strong{font-size:15px}.structure-notification-list span{font-size:14px}.structure-notification-list small{font-size:13px}.structure-notification-list button{min-height:44px;flex-shrink:0;white-space:normal;max-width:220px}.notification-message{font-size:15px;line-height:1.8;margin:12px 0}
:is(.portal-workspaces,.project-category,.project-order,.project-date-entry,.project-prefill,.project-review,.structure-notifications) :is(button,input,select,textarea,summary):focus-visible{outline:3px solid #53834c;outline-offset:3px}
@media(min-width:1100px){.project-summary{position:sticky;top:calc(var(--site-header-height,160px) + 12px);max-height:calc(100dvh - var(--site-header-height,160px) - 30px);overflow:auto;overscroll-behavior:contain}}
@media(max-width:900px){.project-compose-grid{grid-template-columns:minmax(0,1fr)}.project-summary-jump{display:inline-flex;min-height:48px}.project-record{align-items:flex-start;flex-direction:column}.project-record .actions{max-width:none;min-width:0}.project-heading h2{font-size:27px}}
@media(max-width:600px){.portal-workspaces{gap:7px}.portal-workspaces button{font-size:14px;padding:10px 7px}.project-field-grid{grid-template-columns:minmax(0,1fr)}.project-section,.project-summary,.project-review,.project-prefill,.project-readonly{padding:18px}.project-section legend{font-size:20px}.project-submit .actions,.project-prefill .actions{align-items:stretch;flex-direction:column}.project-submit .button,.project-submit .mini-button,.project-prefill .button{width:100%;min-height:48px;white-space:normal}.project-record{padding:18px}.structure-notification-list article{align-items:flex-start;flex-direction:column}.structure-notifications{padding:16px}.project-heading>.button{width:100%}}
