/* Task-oriented layouts shared by projects, commercial views and register. */
.technical-details{margin-top:1rem;padding:1rem 1.2rem;border:1px solid #cad8d5;border-radius:8px;background:#f6f9f8}
.technical-details summary,.inline-details summary{cursor:pointer;font-weight:600;min-height:44px;display:list-item;align-content:center}
.technical-details p{max-width:72ch;color:#456057}
.technical-details code,.break-code{white-space:normal;overflow-wrap:anywhere;word-break:break-all}
.quote-terms{padding:1.2rem 1.4rem;max-width:90ch;line-height:1.65;text-align:left}
.project-export-menu{position:relative;z-index:12}
.project-export-menu summary{cursor:pointer;padding:.65rem 1rem;border:1px solid #b9cec7;border-radius:6px;min-height:44px;box-sizing:border-box}
.project-export-menu>div{position:absolute;right:0;min-width:250px;max-width:85vw;background:white;border:1px solid #b9cec7;border-radius:8px;padding:8px;box-shadow:0 8px 20px #10392a12}
.project-export-menu>div a{display:block;padding:.75rem!important;white-space:normal}
.project-shortcuts{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:.7rem;padding:1.2rem}
.project-shortcuts a{display:flex;flex-direction:column;gap:.4rem;min-height:80px;padding:1rem;border:1px solid #c5d8d1;border-radius:7px;text-decoration:none;color:#133d30;background:#fbfdfc}
.project-shortcuts a:hover{background:#edf5f0;border-color:#207154}
.project-shortcuts a span{font-size:.94rem;line-height:1.4;color:#4b625b}
.project-context-details{border:1px solid #c7d8d2;border-radius:7px;background:#fff;margin-bottom:6px}
.project-context-details summary{display:flex;align-items:center;gap:12px;min-height:48px;padding:8px 14px;cursor:pointer}
.project-context-details summary strong{white-space:nowrap;color:#126247}
.project-context-details summary>span:first-of-type{min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.context-expand-label{margin-left:auto;white-space:nowrap;font-size:.85rem;color:#4c645a}
.project-context-details>div{padding:0 14px 8px}
.project-operations-drawer{margin:0 0 10px}
.project-operations-drawer>summary{font-size:.9rem;min-height:40px;cursor:pointer;align-content:center;color:#315a49}
.project-detail-shell>.back-link{margin-bottom:4px}
.register-view-switch{display:flex;flex-wrap:wrap;align-items:center;gap:.7rem;margin:12px 0}
.register-view-switch label{font-weight:650}
.register-form-sections{display:grid;gap:20px}
.register-fieldset{border:1px solid #c7d8d2;padding:16px;display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px;min-width:0;border-radius:8px}
.register-fieldset legend{font-size:1.05rem;font-weight:700;padding:0 8px;color:#174b38}
.register-fieldset label{display:flex;flex-direction:column;gap:7px;min-width:0}
.register-fieldset textarea{min-height:90px}
.register-form-actions{position:sticky;bottom:-24px;background:#fff;padding:14px 0;display:flex;gap:10px;border-top:1px solid #d4dfdb;margin-top:20px;z-index:2}
.register-table [hidden]{display:none!important}
.workspace-ui .audit-notice{padding:4px 24px;background:#f0f4f4;color:#455a64}
.audit-notice summary{cursor:pointer;min-height:38px;align-content:center;font-size:.85rem}
.audit-notice p{max-width:105ch;line-height:1.55}
.register-form-actions button[hidden]{display:none!important}
@media(max-width:640px){.project-shortcuts,.register-fieldset{grid-template-columns:minmax(0,1fr)}.project-export-menu>div{right:auto;left:0}.register-view-switch select{width:100%}.register-form-actions{bottom:-16px}.quote-terms{padding:1rem}.context-expand-label{display:none}.project-context-details summary{flex-wrap:wrap}.project-context-details summary>span:first-of-type{white-space:normal}}
@media print{.project-export-menu,.project-shortcuts,.register-view-switch,.register-form-actions{display:none!important}.technical-details{break-inside:avoid}.quote-terms{padding:0}}
