.design-files{min-width:0}
.df-toolbar{display:flex;align-items:center;justify-content:space-between;gap:16px;flex-wrap:wrap;margin:26px 0 22px}
.df-filters{display:flex;align-items:center;gap:8px;flex-wrap:wrap}
.df-filters .ai-search{width:260px}
.df-filters .select-trigger{max-width:170px}
.df-layout{display:grid;grid-template-columns:220px minmax(0,1fr);gap:32px;align-items:start}
.df-sidebar{position:sticky;top:20px;max-height:calc(100dvh - 40px);overflow:auto;scrollbar-width:thin}
.df-directory-heading,.df-results-heading{display:flex;align-items:center;justify-content:space-between;gap:12px;min-height:32px;margin-bottom:14px}
.df-directory-heading{padding:0 8px}
.df-directory-heading>span,.df-results-heading>span,.df-count{color:var(--fg2);font-size:12px}
.df-results-heading h2{font-size:13px;font-weight:500;margin:0}
.df-tree ul{list-style:none;margin:0;padding:0}
.df-tree>ul{margin-top:8px}
.df-folder-branch{position:relative;padding-left:24px}
.df-expand{position:absolute;left:0;top:2px;display:flex;align-items:center;justify-content:center;width:24px;height:32px;cursor:pointer;background:transparent;border-radius:8px}
.df-expand .ui-icon{width:12px;height:12px;transform:rotate(-90deg);color:var(--fg2)}
.df-expand[aria-expanded=true] .ui-icon{transform:none}
.df-tree .df-folder-branch+ul{margin-left:14px}
.df-folder{display:flex;width:100%;align-items:center;gap:8px;padding:8px;border-radius:8px;min-height:36px;height:auto;text-align:left;background:transparent;color:var(--fg2);line-height:1.5}
.df-folder>.ui-icon{width:15px;height:15px;flex:none}
.df-folder>span:not(.df-count){overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.df-folder .df-count{margin-left:auto;font-variant-numeric:tabular-nums;flex:none}
.df-folder:hover,.df-folder.on{background:var(--bg2);color:var(--fg)}
.df-column-head{display:grid;grid-template-columns:minmax(0,1fr) 60px 110px 16px;gap:20px;padding:0 12px 12px;color:var(--fg2);font-size:12px;border-bottom:1px solid var(--line)}
.df-file-list{list-style:none;margin:0;padding:0}
.df-file-list>li{border-bottom:1px solid var(--line)}
.df-file-row{width:100%;display:grid;grid-template-columns:minmax(0,1fr) 60px 110px 16px;align-items:center;gap:20px;padding:18px 12px;background:transparent;text-align:left;border-radius:8px;height:auto;line-height:1.6}
.df-file-row:hover,.df-file-row:focus-visible{background:var(--bg2)}
.df-file-title{display:flex;align-items:center;gap:14px;min-width:0}
.df-file-icon{width:36px;height:40px;border-radius:8px;background:var(--bg2);display:grid;place-items:center;color:var(--fg2);flex:none}
.df-file-title>span:last-child{min-width:0}
.df-file-title strong{display:block;font-weight:500;overflow-wrap:anywhere}
.df-file-title small{display:block;color:var(--fg2);font-size:12px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;margin-top:3px}
.df-file-row time,.df-page-count{font-size:12px;color:var(--fg2);font-variant-numeric:tabular-nums}
.df-page-count>span{display:none}
.df-file-row>.ui-icon{width:14px;height:14px;color:var(--fg2)}
.df-more{display:flex;justify-content:center;align-items:center;gap:12px;margin:24px 0}
.df-more>span{font-size:12px;color:var(--fg2)}
.df-source{border-top:1px solid var(--line);margin-top:32px;padding:16px 0;display:flex;gap:12px 24px;flex-wrap:wrap;color:var(--fg2);font-size:12px}
.df-note{color:var(--fg2);font-size:12px;line-height:1.8;margin:0 0 20px}
.df-history{list-style:none;padding:0;margin:0}
.df-history>li{padding:18px 0;border-bottom:1px solid var(--line)}
.df-history-top{display:flex;align-items:center;gap:12px;justify-content:space-between;margin-bottom:10px}
.df-history-top time,.df-history-bottom{color:var(--fg2);font-size:12px}
.df-editor-line,.df-editors{display:inline-flex;align-items:center;flex-wrap:wrap;gap:8px 12px;max-width:100%}
.df-editor-line{display:flex}
.df-editor{display:inline-flex;align-items:center;gap:6px;min-width:0;max-width:100%}
.df-editor>span:last-child{overflow-wrap:anywhere;min-width:0}
.df-avatar{position:relative;width:20px;height:20px;flex:0 0 20px;border-radius:50%;overflow:hidden;background:var(--bg2);border:1px solid var(--line);display:inline-grid;place-items:center;color:var(--fg2);font-size:10px;line-height:1}
.df-avatar img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover}
.df-avatar img[hidden]{display:none}
.df-avatar-brand{background:transparent;border-color:transparent}
.df-avatar-brand img{object-fit:contain;padding:2px;background:var(--bg)}
.df-edit-time{white-space:nowrap}
.df-history p{margin:8px 0;line-height:1.7;overflow-wrap:anywhere}
.df-history p a{display:inline-flex;align-items:center;gap:6px}
.df-history .ui-icon{width:13px;height:13px;flex:none;color:var(--fg2)}
.df-change-type{font-size:12px;background:var(--bg2);padding:3px 8px;border-radius:999px}
.df-change-values{display:flex;align-items:center;gap:12px;margin:10px 0;background:var(--bg2);padding:10px 12px;border-radius:8px;line-height:1.7;font-size:12px;overflow-wrap:anywhere}
.df-change-values>span{flex:1;min-width:0}
.df-change-values>span:first-child{color:var(--fg2)}
.df-file-link{padding:0;background:transparent;text-align:left;font-weight:500;height:auto;line-height:1.6}
.df-dialog{width:min(1000px,calc(100vw - 64px));max-height:calc(100dvh - 64px);border:1px solid var(--line);border-radius:14px;padding:0;background:var(--bg);color:var(--fg);box-shadow:0 20px 60px rgba(0,0,0,.2);overscroll-behavior:contain}
.df-dialog::backdrop{background:rgba(0,0,0,.25);backdrop-filter:blur(4px)}
html:has(.df-dialog[open]){overflow:hidden}
.df-dialog-top{position:sticky;top:0;z-index:2;display:flex;align-items:center;justify-content:space-between;padding:16px 24px 8px;color:var(--fg2);background:var(--bg)}
.df-dialog-top .ibtn{border-radius:var(--control-radius);width:32px;height:32px;background:var(--bg2)}
.df-detail{padding:8px 24px 24px;min-height:320px}
.df-detail h2{font-size:20px;line-height:1.5;font-weight:500;margin:12px 0;overflow-wrap:anywhere}
.df-file-header>p{color:var(--fg2);font-size:12px;line-height:1.7;margin:0;overflow-wrap:anywhere}
.df-file-header>div{display:flex;align-items:center;justify-content:space-between;gap:16px;flex-wrap:wrap}
.df-file-header>div>span{color:var(--fg2);font-size:12px}
.df-file-actions{display:flex;gap:8px}
.df-detail-tabs{margin:24px 0;padding-bottom:16px;border-bottom:1px solid var(--line)}
.df-properties{margin:0}
.df-properties>div{display:grid;grid-template-columns:160px minmax(0,1fr);gap:24px;border-bottom:1px solid var(--line);padding:16px 0;line-height:1.7}
.df-properties dt{color:var(--fg2)}
.df-properties dd{margin:0;overflow-wrap:anywhere}
.df-properties small{display:block;font-size:12px;color:var(--fg2);margin-top:4px}
.df-page-browser{display:grid;grid-template-columns:230px minmax(0,1fr);gap:24px;min-height:300px;align-items:start}
.df-pages{max-height:460px;overflow:auto;scrollbar-width:thin}
.df-pages button{display:flex;width:100%;align-items:baseline;gap:10px;text-align:left;background:transparent;padding:10px;border-radius:8px;line-height:1.6;height:auto}
.df-pages button>span:first-child{font-size:11px;color:var(--fg2);flex:none}
.df-pages button>span:last-child{overflow-wrap:anywhere;min-width:0}
.df-pages button:hover,.df-pages button.on{background:var(--bg2)}
.df-page-heading{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:12px}
.df-page-heading h3{font-size:13px;font-weight:500;margin:0;overflow-wrap:anywhere}
.df-artboards{min-width:0}
.df-artboards ul{list-style:none;margin:0;padding:0}
.df-artboards li{padding:10px 0;border-top:1px solid var(--line);font-size:12px;line-height:1.7}
.df-artboards li ul{margin:10px 0 0 16px}
.df-node-link{display:inline-flex;align-items:center;gap:8px;max-width:100%;overflow-wrap:anywhere}
.df-node-link .ui-icon{width:13px;height:13px;flex:none;color:var(--fg2)}
.df-node-type{display:block;color:var(--fg2);font-size:11px;margin-top:2px}
.df-copy-fallback{width:100%;margin-top:12px}
@media(min-width:1600px){.df-layout{grid-template-columns:250px minmax(0,1fr);gap:40px}}
@media(max-width:1100px){.df-layout{grid-template-columns:180px minmax(0,1fr);gap:20px}.df-column-head,.df-file-row{grid-template-columns:minmax(0,1fr) 36px 90px 12px;gap:12px}.df-filters .ai-search{width:220px}}
@media(max-width:700px){
  .df-toolbar{margin:22px 0 18px;gap:16px}.df-filters{width:100%}.df-filters>[data-search]{width:100%}.df-filters .ai-search{width:100%}
  .df-layout{grid-template-columns:minmax(0,1fr);gap:24px}.df-sidebar{position:static;max-height:240px;border:1px solid var(--line);border-radius:8px;padding:8px}.df-directory-heading{margin-bottom:4px}
  .df-column-head{display:none}.df-results-heading{margin-bottom:8px}.df-file-row{grid-template-columns:minmax(0,1fr) 16px;padding:14px 4px;gap:8px}.df-file-row>.ui-icon{grid-column:2;grid-row:1/3}.df-file-row time{grid-column:1;padding-left:50px}.df-file-row .df-page-count{display:none}
  .df-file-title strong{font-size:13px}.df-file-title small{white-space:normal}.df-source{margin-top:20px}
  .df-dialog{width:calc(100vw - 24px);max-height:calc(100dvh - 32px)}.df-dialog-top{padding:12px 16px 8px}.df-detail{padding:8px 16px 20px}.df-detail h2{font-size:18px}
  .df-properties>div{grid-template-columns:110px minmax(0,1fr);gap:14px}.df-detail-tabs{gap:6px}.df-detail-tabs .chip{padding:0 10px}
  .df-page-browser{grid-template-columns:1fr;gap:20px}.df-pages{max-height:180px;border-bottom:1px solid var(--line);padding-bottom:12px}.df-history-top{align-items:flex-start}.df-history-top time{max-width:180px;text-align:right}
}
