.project-workspace{background:white;border:1px solid #d7e3ef;border-radius:10px;padding:20px;margin:22px 0;color:#243e56;font:14px/1.65 system-ui}.project-toolbar{display:flex;gap:10px;align-items:center;flex-wrap:wrap}.project-toolbar>span{font-size:12px;color:#71849a;margin-right:auto}.project-workspace button,.project-workspace .project-toolbar a{font:600 12px/1.5 system-ui;padding:9px 12px;border:1px solid #c7d9e8;border-radius:6px;background:#f5faff;color:#146da9;cursor:pointer;min-height:40px;text-decoration:none}.project-workspace button:disabled{opacity:.5;cursor:not-allowed}.project-tabs{display:flex;flex-wrap:nowrap;overflow-x:auto;gap:18px;border-bottom:1px solid #d9e3ee;margin:20px 0}.project-tabs button{background:none;border:0;border-bottom:2px solid transparent;border-radius:0;color:#6b8096;white-space:nowrap;padding:12px 0}.project-tabs button[aria-selected=true]{color:#0876bb;border-bottom-color:#0876bb}.project-panel[hidden],.project-workspace [hidden]{display:none!important}.project-panel h2{font-size:20px}.project-panel h3{font-size:15px}.project-workspace label{display:block;margin:14px 0;font-size:12px;color:#4f6d85}.project-workspace input,.project-workspace select,.project-workspace textarea{display:block;box-sizing:border-box;width:100%;margin-top:6px;padding:10px;border:1px solid #c8d9e7;border-radius:6px;background:white;color:#29465f;font:14px/1.6 system-ui}.project-workspace textarea{min-height:90px;resize:vertical}.project-contribution{border:1px solid #dbe5ef;border-radius:8px;padding:18px;margin:18px 0}.project-contribution p{white-space:pre-wrap;overflow-wrap:anywhere}.project-review{border-left:3px solid #6aabc9;padding:10px 14px;background:#f1f7fb;margin-top:12px}.project-meta,.project-workspace small{color:#70859a;font-size:11px}.project-boundary{font-size:12px;color:#6d8195;background:#f4f8fc;padding:12px;border-radius:6px}.project-feedback:empty{display:none}.project-feedback.error{color:#a84436;background:#fff1ed;padding:12px}.project-workspace pre{max-height:320px;overflow:auto;padding:12px;background:#f3f7fb;border-radius:6px}.project-record-details{margin:24px 0}.project-record-details>summary{cursor:pointer;color:#386b91;padding:12px;border:1px solid #d3e1ed;border-radius:8px}.project-workspace :focus-visible{outline:3px solid #4e9ece;outline-offset:3px}@media(max-width:600px){.project-workspace{padding:14px}.project-workspace input,.project-workspace select,.project-workspace textarea{font-size:16px}.project-workspace button{min-height:44px}.project-tabs{gap:17px}.project-toolbar{align-items:stretch}.project-toolbar>span{width:100%}}
.project-workspace,.project-panel{min-width:0}.project-workspace p,.project-workspace a,.project-workspace li{overflow-wrap:anywhere}.project-workspace pre{max-width:100%;box-sizing:border-box}.project-tabs{max-width:100%}.project-properties button{min-height:40px;margin:5px}.project-properties fieldset{min-width:0;border:1px solid #d3e0eb;border-radius:7px;padding:14px;margin:12px 0}.project-properties label{display:block;font-size:12px;margin:8px 0}.project-properties input,.project-properties select{margin-top:6px}@media(max-width:600px){.project-properties input,.project-properties select{font-size:16px!important}.project-properties button{min-height:44px}}

.research-panel{min-width:0}.research-panel>div{min-width:0}.research-panel button{margin:4px 7px 4px 0;min-height:44px}.research-panel form{border:1px solid #cbdce9;border-radius:8px;padding:16px;margin:18px 0}.research-panel label{display:block;margin:12px 0;font:13px/1.6 system-ui}.research-panel textarea,.research-panel input:not([type=checkbox]),.research-panel select{display:block;width:100%;box-sizing:border-box;max-width:100%;padding:9px;font:16px/1.5 system-ui;color:#233f57;background:#fff;border:1px solid #bed2e1;border-radius:5px}.research-panel textarea{min-height:75px}.research-panel input[type=checkbox]{width:auto;display:inline-block;margin:0 8px 0 0}.research-panel pre{white-space:pre-wrap;overflow-wrap:anywhere;max-height:500px;overflow:auto;padding:14px;background:#f1f6fb}.research-panel .error{color:#a22e27}.research-panel a{overflow-wrap:anywhere}

/* Compact hypothesis summary: expanded details remain available without burying the content. */
.project-panel .project-claim{font-size:15px;line-height:1.75;max-width:85ch;margin:12px 0 18px}.project-panel details.project-gaps,.project-panel details.project-mechanism,.project-panel>details{border:1px solid #dbe5ee;border-radius:9px;padding:10px 14px;margin:12px 0}.project-panel details>summary{cursor:pointer;font-weight:650;color:#205779}.project-gaps ul{margin:12px 0;padding-left:22px}.project-gaps li{margin:5px 0}.project-record-details:not([open]){margin:12px 0}
