/* Uses the same monochrome light/dark tokens as the chat and authentication pages. */
.project-attach-menu{min-width:270px;bottom:calc(100% + 10px);left:0}
.project-attach-menu .menu-item{display:flex;gap:12px;width:100%;text-align:left}
.project-attach-menu small{display:block;color:var(--muted);font-weight:400;font-size:12px}
.project-import-note{display:flex;align-items:flex-start;gap:9px;margin:8px 12px 0;font-size:12px;line-height:1.5;color:var(--text)}
.project-import-note svg{margin-top:2px}
.project-review{margin:20px 0;border:1px solid var(--line2);border-radius:16px;background:var(--panel);padding:22px;max-width:100%}
.project-review header{display:flex;align-items:center;justify-content:space-between;gap:12px}
.project-review header h3{font-size:17px;letter-spacing:-.02em}
.project-review header p{margin:4px 0 0;color:var(--muted);font-size:12px}
.project-review>p{font-size:14px;line-height:1.65;margin:16px 0}
.project-review-counts{display:flex;flex-wrap:wrap;gap:8px;margin:14px 0}
.project-review-counts span{border:1px solid var(--line);border-radius:7px;padding:5px 9px;font-size:12px}
.project-review-list{border-top:1px solid var(--line);max-height:540px;overflow:auto}
.project-review-row{display:flex;justify-content:space-between;align-items:flex-start;gap:14px;padding:15px 0;border-bottom:1px solid var(--line)}
.project-review-row label{display:flex;gap:11px;align-items:flex-start;min-width:0;cursor:pointer;flex:1}
.project-review-row label>span{min-width:0}
.project-review-row input{width:17px;height:17px;margin:3px 0 0;accent-color:var(--accent);flex-shrink:0}
.project-review-row code{font-size:13px;word-break:break-word;white-space:normal;font-family:ui-monospace,Consolas,monospace}
.project-review-row small{display:block;font-size:12px;line-height:1.5;color:var(--muted);margin-top:4px}
.project-review-row small.project-risk,.project-risk{color:var(--warn)}
.project-review footer{display:flex;flex-wrap:wrap;align-items:center;justify-content:flex-end;gap:9px;margin-top:18px}
.project-review footer>[data-review-count]{margin-right:auto;font-size:12px}
.project-review.closed{padding:16px 20px;background:transparent}
.project-review.closed p{font-size:13px;margin:8px 0 0;color:var(--muted)}
.project-dialog{color:var(--text);background:var(--panel);border:1px solid var(--line2);border-radius:20px;padding:0;width:min(820px,calc(100vw - 36px));max-height:calc(100dvh - 48px);box-shadow:var(--shadow);overflow:auto;font-family:var(--ui-font,system-ui)}
.project-dialog::backdrop{background:var(--overlay)}
.project-dialog-head{position:sticky;top:0;z-index:2;display:flex;align-items:center;justify-content:space-between;gap:16px;background:var(--panel);padding:22px 25px;border-bottom:1px solid var(--line)}
.project-dialog-head h2{font-size:19px;letter-spacing:-.02em}
.project-dialog-head .row{gap:13px}
.project-dialog-body{padding:22px 25px;font-size:14px;line-height:1.65;overflow-wrap:anywhere}
.project-dialog-body>p:first-child{margin-top:0}
.project-dialog-footer{display:flex;justify-content:flex-end;flex-wrap:wrap;gap:10px;padding:18px 25px;border-top:1px solid var(--line);position:sticky;bottom:0;background:var(--panel)}
.project-import-heading{display:flex;align-items:center;gap:14px;margin:0 0 19px}
.project-import-heading h3{font-size:19px;margin:0}
.project-import-heading p{margin:3px 0;color:var(--muted);font-size:13px}
.project-import-facts{display:flex;flex-wrap:wrap;gap:10px 18px;font-size:12px;color:var(--muted);margin:15px 0}
.project-file-details{border:1px solid var(--line);border-radius:10px;margin:12px 0}
.project-file-details summary{padding:12px 14px;cursor:pointer;font-weight:600}
.project-file-list{max-height:250px;overflow:auto;font-size:12px;padding:8px 13px;background:var(--panel2);border-radius:8px}
.project-file-list>div{display:flex;justify-content:space-between;align-items:flex-start;gap:12px;padding:6px 0;border-bottom:1px solid var(--line)}
.project-file-list code{overflow-wrap:anywhere;white-space:normal;flex:1}
.project-file-list span{color:var(--muted);text-align:right}
.project-diff-path{font-family:ui-monospace,Consolas,monospace;font-size:14px;overflow-wrap:anywhere}
.project-diff{font-family:ui-monospace,Consolas,monospace;font-size:12px;line-height:1.65;white-space:pre;tab-size:2;overflow:auto;max-height:48dvh;padding:17px;background:var(--code-bg);color:var(--code-text);border:1px solid var(--line);border-radius:10px}
.project-hashes{display:flex;flex-direction:column;font:11px/1.7 ui-monospace,Consolas,monospace;overflow-wrap:anywhere;margin-top:9px}
@media(max-width:650px){.project-review{padding:16px}.project-review-row{flex-wrap:wrap}.project-review-row .btn{margin-left:28px}.project-review footer{justify-content:stretch}.project-review footer>.btn-primary{width:100%}.project-dialog-head,.project-dialog-body,.project-dialog-footer{padding:16px}.project-dialog-head h2{font-size:16px}.project-dialog-head img{width:25px;height:25px}}
