.file-preview-icon{object-fit:contain;-webkit-user-select:none;user-select:none;flex:0 0 30px;width:30px;height:30px}.text-preview-scroll{overscroll-behavior:contain;background:var(--color-surface);flex:1;min-height:0;overflow:auto}.text-preview{color:var(--color-text);tab-size:2;white-space:pre-wrap;overflow-wrap:anywhere;margin:0;padding:16px;font-family:ui-monospace,SFMono-Regular,Menlo,monospace;font-size:12px;line-height:1.6}.text-editor{resize:none;overscroll-behavior:contain;background:var(--color-surface);width:100%;min-height:0;color:var(--color-text);tab-size:2;white-space:pre-wrap;overflow-wrap:anywhere;border:0;outline:none;flex:1;margin:0;padding:16px 16px 56px;font-family:ui-monospace,SFMono-Regular,Menlo,monospace;font-size:12px;line-height:1.6;display:block}.text-preview-more{color:var(--color-text-muted);margin:0;padding:0 16px 16px;font-size:12px}.file-preview-body{flex-direction:column;flex:1;min-height:0;display:flex;position:relative}.file-status-bar{z-index:20;border:1px solid color-mix(in srgb, var(--color-surface) 65%, transparent);background:color-mix(in srgb, var(--color-surface) 52%, transparent);-webkit-backdrop-filter:blur(18px)saturate(180%);backdrop-filter:blur(18px)saturate(180%);width:max-content;max-width:calc(100% - 24px);box-shadow:inset 0 1px 0 color-mix(in srgb, var(--color-surface) 95%, transparent), inset 0 -1px 0 color-mix(in srgb, var(--color-shadow) 6%, transparent), 0 8px 24px color-mix(in srgb, var(--color-shadow) 12%, transparent), 0 1px 3px color-mix(in srgb, var(--color-shadow) 6%, transparent);color:var(--color-text);white-space:nowrap;cursor:grab;touch-action:none;-webkit-user-select:none;user-select:none;border-radius:16px;flex-wrap:wrap;justify-content:center;align-items:center;gap:2px;padding:4px;font-size:12px;transition:transform .26s cubic-bezier(.2,.8,.2,1),box-shadow .18s,background-color .24s,border-color .24s,color .24s;display:flex;position:absolute;top:0;left:0}.file-status-bar:before{border-radius:inherit;background:linear-gradient(to bottom, color-mix(in srgb, var(--color-surface) 55%, transparent), transparent 55%);content:"";pointer-events:none;position:absolute;inset:0}.file-status-bar>:not(.file-status-edge){position:relative}.file-status-snapping{transition:transform .42s cubic-bezier(.2,.9,.25,1.12),box-shadow .18s,background-color .24s,border-color .24s,color .24s}.file-status-dragging{cursor:grabbing;box-shadow:inset 0 1px 0 color-mix(in srgb, var(--color-surface) 95%, transparent), inset 0 -1px 0 color-mix(in srgb, var(--color-shadow) 6%, transparent), 0 16px 40px color-mix(in srgb, var(--color-shadow) 18%, transparent), 0 2px 6px color-mix(in srgb, var(--color-shadow) 8%, transparent);transition:box-shadow .18s}.file-status-dark{border-color:color-mix(in srgb, var(--color-surface) 16%, transparent);background:color-mix(in srgb, var(--color-text) 72%, transparent);box-shadow:inset 0 1px 0 color-mix(in srgb, var(--color-surface) 22%, transparent), inset 0 -1px 0 color-mix(in srgb, var(--color-shadow) 30%, transparent), 0 8px 24px color-mix(in srgb, var(--color-shadow) 24%, transparent), 0 1px 3px color-mix(in srgb, var(--color-shadow) 12%, transparent);color:var(--color-surface)}.file-status-dark:before{background:linear-gradient(to bottom, color-mix(in srgb, var(--color-surface) 14%, transparent), transparent 55%)}.file-status-dark .file-status-access{color:color-mix(in srgb, var(--color-surface) 62%, transparent)}.file-status-dark .file-status-access+.file-status-message:before{color:color-mix(in srgb, var(--color-surface) 40%, transparent)}.file-status-dark .file-status-action{color:color-mix(in srgb, var(--color-surface) 82%, transparent)}.file-status-dark .file-status-action:hover,.file-status-dark .file-status-action:focus-visible{background:color-mix(in srgb, var(--color-surface) 16%, transparent);color:var(--color-surface)}.file-status-dark .file-status-primary{background:var(--color-surface);color:var(--color-text)}.file-status-dark .file-status-primary:hover,.file-status-dark .file-status-primary:focus-visible{background:color-mix(in srgb, var(--color-surface) 86%, transparent);color:var(--color-text)}.file-status-bar.file-status-unplaced{transition:none}.file-status-shake{animation:.46s cubic-bezier(.36,.07,.19,.97) file-status-shake}@property --file-status-edge-angle{syntax:"<angle>";inherits:false;initial-value:0deg}.file-status-edge{--edge-amber:219 158 82;--edge-bright:252 226 160;border-radius:inherit;opacity:0;pointer-events:none;background:conic-gradient(from var(--file-status-edge-angle), rgb(var(--edge-amber) / .25), rgb(var(--edge-bright) / .95) 12%, rgb(var(--edge-amber) / .25) 30%, rgb(var(--edge-amber) / .12) 50%, rgb(var(--edge-bright) / .8) 64%, rgb(var(--edge-amber) / .25) 80%, rgb(var(--edge-amber) / .25));padding:1.5px;position:absolute;inset:-1px;-webkit-mask:linear-gradient(#000 0 0) content-box,linear-gradient(#000 0 0);-webkit-mask-composite:xor,source-over;mask:linear-gradient(#000 0 0) content-box exclude,linear-gradient(#000 0 0)}.file-status-edge-glow{filter:blur(8px);padding:4px;inset:-4px}.file-status-shake .file-status-edge{animation:1.1s ease-out file-status-flash,1.1s cubic-bezier(.3,.6,.4,1) file-status-edge-turn}.file-status-shake .file-status-edge-glow{animation:1.1s ease-out file-status-glow,1.1s cubic-bezier(.3,.6,.4,1) file-status-edge-turn}@keyframes file-status-flash{0%{opacity:0}8%,45%{opacity:1}to{opacity:0}}@keyframes file-status-glow{0%{opacity:0}8%,45%{opacity:.7}to{opacity:0}}@keyframes file-status-edge-turn{to{--file-status-edge-angle:360deg}}@keyframes file-status-shake{0%,to{translate:0}14%{translate:-9px}28%{translate:8px}44%{translate:-6px}60%{translate:4px}76%{translate:-2px}90%{translate:1px}}@media (prefers-reduced-motion:reduce){.file-status-bar,.file-status-snapping{transition:none}.file-status-shake{animation:none}.file-status-shake .file-status-edge{animation:1.1s ease-out file-status-flash}.file-status-shake .file-status-edge-glow{animation:1.1s ease-out file-status-glow}}.file-status-access,.file-status-message,.file-status-action{flex:none}.file-status-access{color:var(--color-text-muted);padding:3px 8px}.file-status-message{padding:3px 8px}.file-status-access+.file-status-message{padding-left:0}.file-status-access+.file-status-message:before{color:var(--color-border-strong);content:"·";margin-right:8px}.file-status-action{color:var(--color-text-secondary);font:inherit;cursor:pointer;background:0 0;border:0;border-radius:12px;padding:3px 10px;transition:background-color .24s,color .24s}.file-status-action:hover,.file-status-action:focus-visible{background:color-mix(in srgb, var(--color-surface-hover) 70%, transparent);color:var(--color-text)}.file-status-primary{background:var(--color-primary);color:var(--color-on-primary)}.file-status-primary:hover,.file-status-primary:focus-visible{background:var(--color-primary-hover);color:var(--color-on-primary)}@keyframes file-preview-full-screen-in{0%{opacity:0}}.file-preview-backdrop{z-index:50;background:color-mix(in srgb, var(--color-shadow) 60%, transparent);animation:.14s ease-out file-preview-full-screen-in;position:fixed;inset:0}.file-preview.is-full-screen{z-index:50;border:1px solid var(--color-border);background:var(--color-surface);box-shadow:0 24px 64px color-mix(in srgb, var(--color-shadow) 40%, transparent);border-radius:.75rem;animation:.14s ease-out file-preview-full-screen-in;position:fixed;inset:1rem}@media (prefers-reduced-motion:reduce){.file-preview-backdrop,.file-preview.is-full-screen{animation:none}}
