.project-files-panel{position:fixed;z-index:80;inset:0 0 0 auto;width:min(520px,100vw);display:flex;flex-direction:column;min-width:0;background:#fff;border-left:1px solid var(--line,#e3e5e8);box-shadow:-12px 0 36px #1c29330d;color:var(--text,#242426)}
.project-files-panel button,.project-files-panel input{font:inherit;color:inherit}
.project-files-header{display:flex;align-items:flex-start;justify-content:space-between;gap:16px;padding:20px 22px 17px;border-bottom:1px solid var(--line,#e7e8ea)}
.project-files-header h2{margin:0;font-size:18px;line-height:1.35}.project-files-header p{margin:4px 0 0;color:var(--muted,#74777c);font-size:12px;line-height:1.5}
.project-files-close{border:0;background:transparent;color:#75787d;font-size:27px;line-height:1;padding:1px 6px;border-radius:7px}.project-files-close:hover{background:#f1f1f2;color:#222}
.project-files-toolbar{display:flex;align-items:center;gap:8px;padding:12px 18px 4px;min-width:0}
.project-files-back{flex:0 0 auto;width:32px;height:32px;border:0;border-radius:8px;background:#f3f3f4}.project-files-back:disabled{opacity:.35}
.project-files-breadcrumbs{display:flex;align-items:center;gap:3px;min-width:0;overflow-x:auto;scrollbar-width:thin;padding:2px 0}
.project-files-crumb{border:0;background:transparent;border-radius:7px;padding:6px;color:#555a60;white-space:nowrap}.project-files-crumb:hover{background:#f3f3f4;color:#222}.project-files-separator{color:#b0b2b5}
.project-files-search{display:flex;gap:8px;padding:9px 18px}.project-files-search input{min-width:0;flex:1;border:1px solid var(--line-strong,#d7d9dc);border-radius:10px;background:#fff;padding:9px 11px;outline:0}.project-files-search input:focus{border-color:#979ba1;box-shadow:0 0 0 3px #8b929b17}.project-files-search button,.project-files-reference,.project-files-preview-actions button{border:1px solid var(--line,#e0e2e5);border-radius:9px;background:#fff;padding:7px 11px}.project-files-search button:hover,.project-files-reference:hover,.project-files-preview-actions button:hover{background:#f4f4f5}
.project-files-list-meta{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:0 20px 8px}.project-files-status{min-height:19px;margin:0;color:var(--muted,#777b80);font-size:12px}.project-files-status.is-error{color:var(--danger,#a34545)}.project-files-hidden-toggle{display:inline-flex;align-items:center;gap:5px;flex:0 0 auto;color:var(--muted,#777b80);font-size:11px;cursor:pointer;white-space:nowrap}.project-files-hidden-toggle input{width:13px;height:13px;margin:0;accent-color:#555}
.project-files-list{flex:1;min-height:0;overflow:auto;padding:0 12px 24px}
.project-files-row{display:flex;align-items:center;gap:8px;border-radius:11px}.project-files-row:hover{background:#f6f6f7}.project-files-open{display:flex;align-items:center;gap:10px;min-width:0;flex:1;border:0;background:transparent;text-align:left;padding:9px 8px;border-radius:11px}.project-files-icon{width:18px;flex:0 0 18px;color:#8a8e94;font-size:17px;text-align:center}.project-files-icon:empty:before{content:'▤';font-size:14px}.project-files-copy{display:grid;min-width:0;gap:2px}.project-files-copy strong,.project-files-copy small{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.project-files-copy strong{font-size:14px;font-weight:530}.project-files-copy small{color:var(--muted,#7b7f84);font-size:11px}.project-files-reference{flex:0 0 auto;margin-right:7px;color:#5f6871;font-size:12px;padding:6px 9px}
.project-files-empty{margin:28px 12px;color:var(--muted,#777b80);font-size:13px;text-align:center}
.project-files-preview{display:flex;flex:1;min-height:0;flex-direction:column;padding:0 20px 20px}.project-files-preview-head{display:flex;align-items:center;justify-content:space-between;gap:14px;padding:14px 0 8px}.project-files-preview-head strong{min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.project-files-preview-actions{display:flex;gap:7px;flex:0 0 auto}.project-files-preview-actions button{font-size:12px}.project-files-preview-actions .project-files-reference-primary{background:#29292b;border-color:#29292b;color:#fff}.project-files-preview-actions .project-files-reference-primary:hover{background:#444447}.project-files-preview-path{margin:0 0 10px;color:var(--muted,#777b80);font-size:11px;overflow-wrap:anywhere}.project-files-preview-body{flex:1;min-height:0;overflow:auto;margin:0;border:1px solid var(--line,#e5e6e8);border-radius:11px;background:#fafafa;padding:14px;white-space:pre-wrap;overflow-wrap:anywhere;font:14px/1.65 ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,monospace;tab-size:2}
.project-files-panel .hidden{display:none}
.project-files-panel button:focus-visible{outline:2px solid #8795a6;outline-offset:2px}
@media(max-width:700px){.project-files-panel{width:100vw;border-left:0}.project-files-header{padding:16px 17px 14px}.project-files-toolbar,.project-files-search{padding-left:13px;padding-right:13px}.project-files-list-meta{padding-left:15px;padding-right:15px}.project-files-list{padding-left:7px;padding-right:7px}.project-files-preview{padding-left:14px;padding-right:14px}.project-files-preview-head{align-items:flex-start;flex-direction:column}.project-files-preview-actions{width:100%}.project-files-preview-actions button{flex:1}}
@media(prefers-reduced-motion:reduce){.project-files-panel{scroll-behavior:auto}}
