:root{color-scheme:light;font-family:Segoe UI,Tahoma,Geneva,Verdana,sans-serif;background:#f4f7fb;color:#111827}*{box-sizing:border-box}body{margin:0}h1,h2{margin:0 0 12px}table{width:100%;border-collapse:collapse}thead th{text-align:left;font-weight:600;border-bottom:1px solid #d1d5db;padding:10px 8px}tbody td{border-bottom:1px solid #e5e7eb;padding:10px 8px;vertical-align:top}button{border:1px solid #1d4ed8;background:#1d4ed8;color:#fff;padding:8px 12px;border-radius:8px;cursor:pointer}button:disabled{opacity:.6;cursor:not-allowed}button.danger{background:#b91c1c;border-color:#b91c1c}button.secondary{background:#fff;color:#1d4ed8;border-color:#93c5fd}button.secondary:hover:not(:disabled){background:#eff6ff}.text-link{color:#1d4ed8;font-size:13px;text-decoration:none;align-self:center}.text-link:hover{text-decoration:underline}.file-row-actions{flex-wrap:wrap;align-items:center}.file-row-actions button{padding:6px 10px;font-size:13px}.modal-backdrop{position:fixed;top:0;right:0;bottom:0;left:0;background:#0f172a8c;display:flex;align-items:center;justify-content:center;padding:24px;z-index:1000}.modal-panel{width:min(960px,100%);max-height:calc(100vh - 48px);background:#fff;border-radius:12px;border:1px solid #e5e7eb;display:flex;flex-direction:column;overflow:hidden;box-shadow:0 20px 40px #0f172a33}.modal-header,.modal-footer{padding:14px 16px;border-bottom:1px solid #e5e7eb;display:flex;align-items:flex-start;justify-content:space-between;gap:12px}.modal-footer{border-bottom:none;border-top:1px solid #e5e7eb;justify-content:flex-start}.modal-body{padding:16px;overflow:auto;background:#0f172a;display:flex;align-items:center;justify-content:center;min-height:240px}.preview-image{max-width:100%;max-height:calc(100vh - 220px);object-fit:contain;display:block}input{width:100%;border:1px solid #cbd5e1;border-radius:8px;padding:8px 10px}input[type=checkbox]{width:16px;height:16px;border:none;padding:0}select{width:100%;border:1px solid #cbd5e1;border-radius:8px;padding:8px 10px;background:#fff}label{font-size:12px;display:block;margin-bottom:5px;color:#374151}.layout{max-width:1200px;margin:0 auto;padding:24px;display:grid;gap:14px}header{display:flex;align-items:center;justify-content:space-between}.card{background:#fff;border:1px solid #e5e7eb;border-radius:10px;padding:16px}.card.narrow{max-width:460px;margin:80px auto}.inline-form{display:grid;gap:10px;grid-template-columns:repeat(auto-fit,minmax(180px,1fr));align-items:end}.actions{display:flex;gap:8px}.files-actions{margin:10px 0 14px}.upload-form{margin-bottom:4px}.upload-hint{margin:0 0 16px;font-size:13px}input[type=file]{padding:6px 0;border:none;border-radius:0;background:transparent}.muted{color:#6b7280}.selected{background:#eff6ff}.notice{border-radius:8px;padding:10px 12px;border:1px solid transparent}.notice.error{border-color:#fca5a5;background:#fef2f2;color:#991b1b}.notice.success{border-color:#86efac;background:#f0fdf4;color:#166534;overflow-wrap:anywhere}.scope-list{display:flex;flex-wrap:wrap;gap:8px}.checkbox{display:inline-flex;align-items:center;gap:8px;font-size:14px;margin:0}.checkbox input{width:16px;height:16px}.path-cell{word-break:break-all}.pagination{margin-top:14px;display:flex;align-items:center;justify-content:flex-end;gap:8px}
