.file-details-window {left:calc(50% - 290px);top:18%;width:580px;height:430px;min-width:360px;min-height:300px;}
.file-details-window .window-caption>span {overflow:hidden;text-overflow:ellipsis;white-space:nowrap;}
.file-details-window .window-caption>svg {flex-shrink:0;}
.file-details-content {flex:1;min-height:0;overflow:auto;background:#fff;padding:26px 28px 30px;color:#20252b;}
.file-details-summary {display:flex;align-items:center;gap:18px;padding-bottom:23px;border-bottom:1px solid #e8ebee;}
.file-details-summary strong {font-size:16px;font-weight:500;overflow-wrap:anywhere;min-width:0;}
.file-details-preview {display:grid;place-items:center;position:relative;flex:0 0 72px;width:72px;height:72px;border-radius:6px;background:#f0f3f6;color:#929ca5;overflow:hidden;}
.file-details-preview svg {width:30px;height:30px;stroke:currentColor;fill:none;stroke-width:1.6;}
.file-details-preview img {width:100%;height:100%;object-fit:contain;}
.file-details-fields {margin:18px 0 0;font-size:14px;line-height:1.65;}
.file-details-fields>div {display:grid;grid-template-columns:100px minmax(0,1fr);gap:14px;padding:8px 0;}
.file-details-fields>div[hidden] {display:none;}
.file-details-fields dt {color:#66727c;}
.file-details-fields dd {margin:0;min-width:0;overflow-wrap:anywhere;user-select:text;}
#file-details-path {white-space:pre-wrap;}
#file-details-copy {display:block;margin-top:5px;padding:2px 0;color:#1269d3;font:inherit;font-size:12px;}
#file-details-copy:hover {text-decoration:underline;}
.file-details-feedback {margin:16px 0 0;color:#5d6871;font-size:12px;}
html[data-system-theme="dark"] .file-details-content {background:var(--sys-base);color:var(--sys-text);}
html[data-system-theme="dark"] .file-details-summary {border-color:var(--sys-border);}
html[data-system-theme="dark"] .file-details-preview {background:var(--sys-raised);color:var(--sys-muted);}
html[data-system-theme="dark"] :is(.file-details-fields dt,.file-details-feedback) {color:var(--sys-muted);}
html[data-system-theme="dark"] #file-details-copy {color:#80b6ff;}
@media(max-width:760px) {
  .file-details-content {padding:22px 18px;}
  .file-details-fields>div {grid-template-columns:76px minmax(0,1fr);gap:12px;}
  #file-details-copy {min-height:40px;}
}
