.wfat-table-instance {
    width: 100%;
    max-width: 100%;
}
.wfat-instructions {
    margin-bottom: 1rem;
}
.wfat-table-scroll {
    width: 100%;
    max-width: 100%;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
}
.wfat-table {
    width: 100%;
    min-width: 100%;
    border-collapse: collapse;
    border-spacing: 0;
}
.wfat-layout-auto .wfat-table { table-layout: auto; }
.wfat-layout-fixed .wfat-table { table-layout: fixed; }
.wfat-table th,
.wfat-table td {
    box-sizing: border-box;
    vertical-align: top;
}
.wfat-cell-inner {
    min-width: 0;
    max-width: 100%;
}
.wfat-wrap-wrap .wfat-cell-inner {
    white-space: normal;
    overflow-wrap: anywhere;
}
.wfat-wrap-nowrap .wfat-cell-inner {
    white-space: nowrap;
}
.wfat-wrap-ellipsis .wfat-cell-inner {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}
.wfat-empty,
.wfat-message {
    padding: 0.75rem 0;
}
.wfat-empty-cell {
    text-align: left;
}
.wfat-empty-row .wfat-empty {
    margin: 0;
}
.wfat-pagination {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.5rem;
    margin-top: 1rem;
}
.wfat-page-link,
.wfat-page-number,
.wfat-page-gap {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 2rem;
    min-height: 2rem;
}
.wfat-page-number.is-current {
    font-weight: 700;
}
.wfat-table .screen-reader-text {
    position: absolute !important;
    width: 1px !important;
    height: 1px !important;
    padding: 0 !important;
    margin: -1px !important;
    overflow: hidden !important;
    clip: rect(0, 0, 0, 0) !important;
    white-space: nowrap !important;
    border: 0 !important;
}
.wfat-cell-image,
.wfat-cell-avatar {
    display: inline-block;
    max-width: 100%;
    height: auto;
    vertical-align: middle;
}
.wfat-cell a {
    color: inherit;
}
.wfat-badge {
    display: inline-flex;
    align-items: center;
    max-width: 100%;
    padding: 0.2em 0.55em;
    border-radius: 999px;
    line-height: 1.2;
    background: rgba(127, 127, 127, 0.14);
}
.wfat-table-instance .wfat-row:hover .wfat-cell {
    transition: background-color 120ms ease;
}
.wfat-row-number-header,
.wfat-row-number-cell {
    white-space: nowrap;
    text-align: right;
    width: 1%;
}

/* Phase 4 state controls */
.wfat-toolbar{display:flex;align-items:center;justify-content:space-between;gap:12px;flex-wrap:wrap;margin:0 0 12px}.wfat-toolbar-controls,.wfat-search-group,.wfat-sort-group{display:flex;align-items:center;gap:8px;flex-wrap:wrap}.wfat-toolbar select,.wfat-toolbar input,.wfat-toolbar button,.wfat-filter-row select,.wfat-filter-row input,.wfat-filter-chip,.wfat-clear-all{font:inherit}.wfat-search-input{min-width:220px}.wfat-filter-row .wfat-column-filter{width:100%;min-width:80px}.wfat-filter-chips{display:flex;gap:8px;flex-wrap:wrap;margin:0 0 12px}.wfat-filter-chip,.wfat-clear-all{cursor:pointer}.wfat-header-sort{color:inherit;font:inherit;font-weight:inherit;padding:0;cursor:pointer;text-align:inherit;text-decoration:none;background:transparent;border:0;display:inline}.wfat-header-sort:hover,.wfat-header-sort:focus{text-decoration:underline}.wfat-header-sort.is-active{font-weight:700}.wfat-sort-indicator{display:inline-block;margin-inline-start:.3em;white-space:nowrap}.wfat-filter-row th{padding-top:6px;padding-bottom:6px}.wfat-result-count{white-space:nowrap}.wfat-table-instance.is-loading{opacity:.72}.wfat-table-instance.is-loading:after{content:' ';display:block;width:20px;height:20px;border:2px solid currentColor;border-right-color:transparent;border-radius:50%;animation:wfat-spin .7s linear infinite;margin:8px auto}.wfat-table-instance.has-error{outline:1px solid currentColor}@keyframes wfat-spin{to{transform:rotate(360deg)}}


/* Phase 5 row selection */
.wfat-selection-column,.wfat-selection-header,.wfat-selection-cell,.wfat-selection-filter{width:44px;min-width:44px;text-align:center}
.wfat-selection-header,.wfat-selection-cell{vertical-align:middle}
.wfat-selection-cell .wfat-cell-inner{display:flex;align-items:center;justify-content:center}
.wfat-selection-checkbox{width:18px;height:18px;margin:0;cursor:pointer}
.wfat-selection-checkbox:disabled{cursor:not-allowed;opacity:.55}
.wfat-selection-bar{display:flex;align-items:center;justify-content:space-between;gap:12px;flex-wrap:wrap;margin:0 0 12px}
.wfat-selection-actions{display:flex;align-items:center;gap:8px;flex-wrap:wrap}
.wfat-selection-bar button{font:inherit;cursor:pointer}
.wfat-selection-bar button:disabled{cursor:not-allowed;opacity:.55}
.wfat-selection-summary{font-weight:600}

/* Phase 7 frontend Actions */
.wfat-action-buttons{display:flex;align-items:center;gap:8px;flex-wrap:wrap}
.wfat-run-action{font:inherit;cursor:pointer}
.wfat-action-result{flex-basis:100%;min-height:0;font-size:.95em}
.wfat-action-result.is-success{font-weight:600}
.wfat-action-result.is-error{font-weight:600}
.wfat-table-instance.is-action-running .wfat-run-action{pointer-events:none;opacity:.6}
