.sheet-tools{display:flex;justify-content:space-between;gap:16px;align-items:center;flex-wrap:wrap}.sheet-tools>input{max-width:300px}.sheet-upload{display:inline-flex;align-items:center;justify-content:center;position:relative;overflow:hidden;cursor:pointer;margin:0;padding:10px 18px;border-radius:5px;background:var(--pm-color-primary);color:white;font-size:14px;font-weight:600}.sheet-upload input{position:absolute;inset:0;opacity:0;cursor:pointer;width:100%;height:100%}.sheet-upload:focus-within{outline:3px solid var(--pm-color-accent);outline-offset:3px}.sheet-path{display:flex;flex-wrap:wrap;gap:10px;align-items:center;margin:20px 0}.sheet-folders{display:grid;grid-template-columns:repeat(auto-fill,minmax(230px,1fr));gap:12px;margin-bottom:20px}.sheet-folders article{padding:12px;border:1px solid var(--pm-color-border);border-radius:10px;background:var(--pm-color-surface-soft)}.sheet-folders article button{padding:6px 10px;font-size:12px}.sheet-folders .sheet-folder-open{display:block;width:100%;background:transparent;text-align:left;color:var(--pm-color-heading);font-size:15px;margin-bottom:10px;overflow-wrap:anywhere}.sheet-table-wrap{overflow:auto}.sheet-table{min-width:660px}.sheet-table small{display:block;color:var(--pm-color-muted);font-size:11px;margin-top:4px}.sheet-table .actions{align-items:center}.sheet-download{font-size:12px;padding:6px}.sheet-dialog{max-height:85vh;overflow:auto;width:min(650px,94vw);max-width:650px}.sheet-dialog input,.sheet-dialog select{width:100%;margin-bottom:12px}.sheet-dialog label{display:block}.sheet-history{list-style:none;padding:0}.sheet-history li{display:flex;flex-wrap:wrap;align-items:center;gap:8px;padding:10px 0;border-bottom:1px solid var(--pm-color-border);font-size:13px}.sheet-history a{overflow-wrap:anywhere}.sheet-history button{font-size:12px}.sheet-history small{color:var(--pm-color-muted)}
.sheet-table{font-size:13px;line-height:1.45}
.sheet-table th,.sheet-table td{padding:8px 10px;vertical-align:middle}
.sheet-table th{font-size:12px;font-weight:600}
.sheet-table td:first-child{overflow-wrap:anywhere}
.sheet-table .sheet-size,.sheet-table .sheet-revision{white-space:nowrap;font-variant-numeric:tabular-nums}
.sheet-table th:nth-child(2){width:88px}
.sheet-table th:nth-child(3){width:52px;text-align:center}
.sheet-table .sheet-revision{text-align:center}
.sheet-table .actions{gap:5px;flex-wrap:nowrap}
.sheet-table .actions button,.sheet-table .sheet-download{font-size:12px;padding:5px 8px;min-height:32px;margin:0;white-space:nowrap;line-height:1.4}
.sheet-library>.toolbar{margin-bottom:10px;gap:12px}
.sheet-library>.toolbar h2{margin:4px 0 0;line-height:1.35}
.sheet-library>.toolbar .eyebrow{margin:0;line-height:1.4}
.sheet-library>[data-sheet-error]:empty{display:none}
.sheet-library>[data-sheet-error]{margin:6px 0;min-height:0}
.sheet-library>.muted{margin:4px 0 12px}
.sheet-library>.studio-subtle{margin:6px 0 10px}
.sheet-library>.sheet-path{margin:12px 0}
.sheet-tools [data-folder-new],.sheet-tools .sheet-upload{display:inline-flex;align-items:center;justify-content:center;gap:8px;min-height:42px;padding:9px 14px;border-radius:8px;font-size:14px;line-height:1.4}
.sheet-tool-icon{display:block;width:20px;height:20px;flex:0 0 20px;pointer-events:none}
.sheet-tools [data-folder-new]:hover{box-shadow:0 2px 6px #112b6712}
.sheet-tools .sheet-upload:hover{background:var(--pm-color-primary-hover)}
.sheet-table .actions .sheet-delete-permanent{display:inline-flex;align-items:center;justify-content:center;width:32px;min-height:32px;padding:6px;background:#fff0f2;color:#c62828;border:1px solid #f4c8ce;border-radius:6px}
.sheet-table .actions .sheet-delete-permanent:hover{background:#ffe0e5;color:#a51b24}
.sheet-table .actions .sheet-delete-permanent:disabled{opacity:.45;cursor:not-allowed}
.sheet-delete-permanent svg{width:17px;height:17px;pointer-events:none}
