.sfb-wrapper { max-width: 860px; margin: 0 auto; font-family: sans-serif; }
.sfb-search-box { display: flex; gap: 10px; margin-bottom: 20px; flex-wrap: wrap; }
.sfb-search-box input { flex: 1; min-width: 200px; padding: 12px 16px; border: 2px solid #ddd; border-radius: 8px; font-size: 15px; }
.sfb-search-box input:focus { border-color: #0073aa; outline: none; }
.sfb-search-box button { padding: 12px 22px; border: none; border-radius: 8px; font-size: 15px; cursor: pointer; }
#sfb-btn { background: #0073aa; color: #fff; }
#sfb-btn:hover { background: #005a87; }
#sfb-btn:disabled { background: #aaa; cursor: not-allowed; }
#sfb-clear-btn { background: #eee; color: #333; }
#sfb-clear-btn:hover { background: #ddd; }
.sfb-results { background: #f9f9f9; border: 1px solid #ddd; border-radius: 8px; padding: 20px; min-height: 80px; }
.sfb-status { text-align: center; color: #888; padding: 20px 0; }
.sfb-error { color: #dc3545; background: #fff5f5; border: 1px solid #f5c6cb; border-radius: 6px; padding: 14px; }
.sfb-count { font-size: 13px; color: #555; margin-bottom: 14px; }
.sfb-section-label { font-weight: 600; color: #444; margin: 14px 0 8px; font-size: 13px; text-transform: uppercase; }
.sfb-item { display: flex; align-items: center; justify-content: space-between; padding: 12px 14px; margin-bottom: 8px; background: #fff; border: 1px solid #eee; border-radius: 8px; }
.sfb-item:hover { box-shadow: 0 2px 10px rgba(0,0,0,.08); }
.sfb-folder { background: #fffdf0; border-color: #ffe79e; }
.sfb-item-info { display: flex; align-items: center; gap: 12px; flex: 1; min-width: 0; }
.sfb-icon { font-size: 13px; font-weight: bold; color: #555; flex-shrink: 0; }
.sfb-name { font-weight: 500; color: #222; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; max-width: 480px; }
.sfb-meta { font-size: 12px; color: #999; margin-top: 2px; }
.sfb-path { font-size: 11px; color: #ccc; margin-top: 2px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; max-width: 480px; }
.sfb-link { color: #0073aa; text-decoration: none; font-weight: 500; }
.sfb-link:hover { color: #005a87; text-decoration: underline; cursor: pointer; }
.sfb-csv-link { color: #28a745; }
.sfb-csv-link:hover { color: #1e7e34; }
.sfb-modal-overlay { position: fixed; top: 0; left: 0; width: 100%; height: 100%; background: rgba(0,0,0,0.6); z-index: 9998; }
.sfb-modal-box { position: fixed; top: 3%; left: 50%; transform: translateX(-50%); width: 92%; max-width: 1100px; height: 90vh; background: #fff; border-radius: 10px; z-index: 9999; display: flex; flex-direction: column; box-shadow: 0 10px 40px rgba(0,0,0,0.3); }
.sfb-modal-header { display: flex; justify-content: space-between; align-items: center; padding: 14px 20px; border-bottom: 1px solid #eee; flex-shrink: 0; }
.sfb-modal-title { font-weight: 600; font-size: 15px; color: #333; }
.sfb-modal-close { background: #dc3545; color: #fff; border: none; border-radius: 5px; padding: 6px 14px; cursor: pointer; font-size: 13px; }
.sfb-modal-close:hover { background: #c82333; }
.sfb-modal-body { flex: 1; overflow: auto; padding: 0; }
.sfb-modal-loading { padding: 40px; text-align: center; color: #888; }
.sfb-csv-toolbar { display: flex; justify-content: space-between; align-items: center; padding: 10px 16px; background: #f8f9fa; border-bottom: 1px solid #eee; position: sticky; top: 0; z-index: 1; }
.sfb-csv-count { font-size: 13px; color: #666; }
.sfb-csv-download { font-size: 13px; color: #0073aa; text-decoration: none; }
.sfb-csv-download:hover { text-decoration: underline; }
.sfb-csv-wrap { overflow: auto; }
.sfb-csv-table { width: 100%; border-collapse: collapse; font-size: 13px; }
.sfb-csv-table th { background: #0073aa; color: #fff; padding: 10px 12px; text-align: left; position: sticky; top: 0; white-space: nowrap; }
.sfb-csv-table td { padding: 8px 12px; border-bottom: 1px solid #eee; white-space: nowrap; }
.sfb-csv-table tr:hover td { background: #f5f9ff; }
.sfb-csv-table tr:nth-child(even) td { background: #fafafa; }
.sfb-csv-table tr:nth-child(even):hover td { background: #f5f9ff; }