.project-files-view{
  flex:1;min-width:0;min-height:0;overflow:auto;scrollbar-gutter:stable;
  overscroll-behavior:contain;background:var(--ui-sidebar);color:var(--ui-text)
}
.project-files-content{width:100%;container-type:inline-size}
.project-files-content .collaboration-title > div{min-width:0;overflow-wrap:anywhere}
.project-files-content .collaboration-title p{line-height:1.55}
#projectFilesImport{display:inline-flex;align-items:center;gap:8px;min-height:40px}
#projectFilesImport svg{width:17px;height:17px}

.project-files-tools{border-radius:14px;background:var(--ui-surface)}
.project-files-filters{
  display:grid;grid-template-columns:minmax(0,1.8fr) repeat(2,minmax(0,1fr));
  align-items:center;gap:10px;padding:14px
}
.project-files-filters select{
  width:100%;min-width:0;height:43px;padding-inline:10px;border:1px solid var(--ui-border-strong);
  border-radius:9px;background:var(--ui-bg);color:var(--ui-text);font:inherit
}
.project-files-toolbar{
  display:flex;align-items:center;justify-content:space-between;gap:10px 16px;flex-wrap:wrap;
  padding:10px 14px;border-top:1px solid var(--ui-border)
}
.project-files-navigation,.project-files-path,.project-files-selection{
  display:flex;align-items:center;min-width:0;gap:8px
}
.project-files-navigation .icon-button{
  position:static;display:grid;place-items:center;flex:0 0 34px;height:34px;padding:0;
  border:0;border-radius:50%;background:transparent;color:var(--ui-text);font-size:18px;line-height:1
}
.project-files-navigation .icon-button:disabled{opacity:.45;color:var(--ui-muted)}
.project-files-navigation .icon-button:enabled:hover{background:var(--ui-raised);color:var(--ui-accent)}
.project-files-path{flex-wrap:wrap;color:var(--ui-secondary);font-size:13px;overflow-wrap:anywhere}
.project-files-path button{
  display:inline-flex;align-items:center;gap:7px;padding:4px 0;border:0;background:transparent;
  color:var(--ui-accent);font:inherit;text-align:start;overflow-wrap:anywhere
}
.project-files-path button:disabled{color:var(--ui-secondary);cursor:default}
.project-files-path svg{width:17px;height:17px;flex:none}
.project-files-selection{flex-wrap:wrap;color:var(--ui-secondary);font-size:12px}
.project-files-selection .toolbar-button{
  min-height:34px;padding:6px 11px;border:0;border-radius:8px;
  background:var(--ui-raised);color:var(--ui-text);font-size:12px;font-weight:600
}
.project-files-selection .toolbar-button:enabled:hover{background:var(--ui-hover);color:var(--ui-accent)}
.project-files-selection .toolbar-button:disabled{opacity:.45}
#projectFilesSelection{padding-inline:4px;font-variant-numeric:tabular-nums}

.project-files-list{display:grid;gap:8px;margin-top:22px}
.project-file-folders{display:flex;flex-wrap:wrap;gap:10px}
.project-file-folder{
  display:grid;grid-template-rows:auto minmax(0,1fr) auto;justify-items:start;gap:5px;
  inline-size:min(100%,132px);aspect-ratio:1;min-width:0;
  padding:12px;border:0;border-radius:12px;
  background:var(--ui-surface);color:var(--ui-text);text-align:start;cursor:pointer
}
.project-file-folder svg{
  width:36px;height:36px;padding:8px;border-radius:9px;
  background:color-mix(in srgb,var(--folder-color,var(--ui-accent)) 14%,transparent);
  color:var(--folder-color,var(--ui-accent));fill:color-mix(in srgb,currentColor 30%,transparent)
}
.project-file-folder strong{
  display:-webkit-box;align-self:end;max-width:100%;overflow:hidden;
  -webkit-box-orient:vertical;-webkit-line-clamp:2;font-size:13px;line-height:1.3;overflow-wrap:anywhere
}
.project-file-folder span{color:var(--ui-secondary);font-size:12px}
.project-file-folder:hover{background:var(--ui-raised)}
.project-file-folder.is-selected{background:color-mix(in srgb,var(--folder-color,var(--ui-accent)) 13%,var(--ui-surface))}

.project-file-row,.project-file-columns{
  display:grid;grid-template-columns:18px minmax(0,2fr) minmax(0,1fr) minmax(84px,.7fr) 32px;
  align-items:center;gap:12px;padding-inline:12px
}
.project-file-folders + .project-file-columns{margin-top:12px}
.project-file-columns{min-height:34px;color:var(--ui-secondary);font-size:11px;font-weight:650;letter-spacing:.045em}
.project-file-row{
  min-height:58px;padding-block:8px;border-radius:12px;
  background:var(--ui-surface);color:var(--ui-secondary);font-size:12px;cursor:default
}
.project-file-row:hover{background:var(--ui-raised)}
.project-file-row.is-selected{
  background:var(--ui-accent-bg);box-shadow:inset 2px 0 var(--ui-accent)
}
.project-file-row input[type=checkbox]{width:15px;height:15px;margin:0;accent-color:var(--ui-accent);cursor:pointer}
.project-file-name{display:flex;align-items:center;gap:10px;min-width:0;color:var(--ui-text);font-size:13px;font-weight:600}
.project-file-name :is(img,svg){width:34px;height:34px;flex:none;border-radius:8px}
.project-file-name img{object-fit:cover}
.project-file-name svg{padding:7px;background:var(--ui-accent-bg);color:var(--ui-accent)}
.project-file-name span,.project-file-owner span,.project-file-area{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.project-file-owner{
  display:grid;gap:3px;min-width:0;min-height:34px;align-content:center;padding:0;
  border:0;background:none;color:var(--ui-secondary);font:inherit;text-align:start
}
.project-file-owner:enabled:hover,.project-file-owner strong{color:var(--ui-accent)}
.project-file-owner strong{font-size:11px}
.project-file-actions{position:relative}
.project-file-actions[open]{z-index:4}
.project-file-actions summary{
  display:grid;place-items:center;min-height:32px;border-radius:8px;list-style:none;color:var(--ui-text);
  cursor:pointer;font-size:20px
}
.project-file-actions summary::-webkit-details-marker{display:none}
.project-file-actions summary:hover,.project-file-actions[open] summary{background:var(--ui-raised);color:var(--ui-accent)}
.project-file-actions > div{
  position:absolute;inset:100% 0 auto auto;width:max-content;min-width:150px;padding:5px;
  border:1px solid var(--ui-border-strong);border-radius:9px;background:var(--ui-raised);box-shadow:var(--ui-shadow)
}
.project-file-actions > div button{
  display:block;width:100%;padding:8px;border:0;border-radius:5px;background:transparent;color:var(--ui-text);text-align:start
}
.project-file-actions > div button:hover{background:var(--ui-hover)}
.project-files-empty{min-height:190px;border-radius:12px;background:var(--ui-surface)}
.project-files-empty h2{margin:0;color:var(--ui-text);font-size:16px}
.project-files-hint{margin:12px 0 0;color:var(--ui-secondary);font-size:12px;line-height:1.5}
.project-files-view :is(button,input,select,summary,[role=option]):focus-visible{outline:2px solid var(--ui-accent);outline-offset:2px}
.project-files-view .workspace-input input:focus-visible{outline:none}

@container (max-width:690px){
  .project-files-filters{grid-template-columns:repeat(2,minmax(0,1fr))}
  .project-files-filters .workspace-input{grid-column:1 / -1}
  .project-file-row,.project-file-columns{grid-template-columns:18px minmax(0,1.5fr) minmax(0,1fr) 32px;gap:8px}
  .project-file-area,.project-file-columns > span:nth-child(4){display:none}
}
@container (max-width:360px){
  .project-files-filters{grid-template-columns:minmax(0,1fr)}
  .project-file-row,.project-file-columns{grid-template-columns:16px minmax(0,1.4fr) minmax(0,1fr) 28px}
  .project-file-name{gap:6px}
  .project-file-name :is(img,svg){width:26px;height:26px}
  .project-file-name svg{padding:4px}
}
@media (pointer:coarse){
  .project-files-view :is(.project-file-owner,.project-file-actions summary,.project-files-selection .toolbar-button){min-height:44px}
}
