/* Compact native-file asset manager v2 */
body.admin-page .asset-table-page .wrap{width:min(1050px,calc(100% - 28px));max-width:1050px}
body.admin-page .asset-table-section{margin:20px 0;padding:16px;border:1px solid #d4e0eb;border-radius:9px;background:#fff;box-shadow:0 6px 20px rgba(3,34,68,.05)}
body.admin-page .asset-table-section>header{display:flex;align-items:end;justify-content:space-between;gap:15px;margin-bottom:12px}
body.admin-page .asset-table-scroll{width:100%;overflow:visible}
body.admin-page .asset-manage-table{width:100%;min-width:0;table-layout:fixed;border-collapse:collapse;background:transparent}
body.admin-page .asset-manage-table thead th{height:42px;padding:0 5px;border-top:2px solid #032244;border-bottom:1px solid #c8d5e0;background:#f3f7fa;color:#29445d;text-align:left;font-size:11px}
body.admin-page .asset-manage-table thead th:nth-child(1){width:30px;text-align:center}body.admin-page .asset-manage-table thead th:nth-child(2){width:38px;text-align:center}body.admin-page .asset-manage-table thead th:nth-child(3){width:132px}body.admin-page .asset-manage-table thead th:nth-child(4){width:auto}body.admin-page .asset-manage-table thead th:nth-child(5){width:210px}body.admin-page .asset-manage-table thead th:nth-child(6){width:48px;text-align:center}body.admin-page .asset-manage-table thead th:nth-child(7){width:58px;text-align:center}
body.admin-page .asset-manage-table tbody tr.asset-data-row td{position:relative;height:158px;box-sizing:border-box;padding:9px 5px;border:0;border-bottom:1px solid #dde5ec;background:transparent;vertical-align:middle}
body.admin-page .asset-manage-table tbody tr.asset-data-row:hover td{background:#fafcfd}
body.admin-page .asset-check-cell,body.admin-page .asset-number-cell,body.admin-page .asset-order-cell,body.admin-page .asset-save-cell{text-align:center}
body.admin-page .asset-check-cell input{position:static;display:inline-block;width:14px;height:14px;margin:0;opacity:1;pointer-events:auto;accent-color:#032244}
body.admin-page .asset-number-cell b{display:inline-grid;place-items:center;width:27px;height:27px;border-radius:50%;background:#032244;color:#fff;font-size:11px}
body.admin-page .asset-preview-cell img{display:block;width:120px;height:42px;max-width:100%;margin:auto;object-fit:contain;border:1px solid #cad7e2;border-radius:4px;background:#f5f8fa}
body.admin-page .asset-preview-cell>span{display:grid;place-items:center;width:120px;max-width:100%;height:42px;margin:auto;border:1px dashed #b7c7d4;border-radius:4px;background:#f7f9fb;color:#75889a;font-size:10px}
body.admin-page .asset-fields-cell header{display:flex;align-items:center;gap:7px;margin-bottom:5px;min-width:0}body.admin-page .asset-fields-cell header strong{flex:0 0 auto;color:#032244;font-size:12px}body.admin-page .asset-fields-cell header small{overflow:hidden;color:#176da8;font-size:9px;text-overflow:ellipsis;white-space:nowrap}
body.admin-page .asset-fields-cell label{display:grid;grid-template-columns:64px minmax(0,1fr);align-items:center;gap:5px;height:32px;margin:0 0 4px;color:#4b6277;font-size:10px}
body.admin-page .asset-fields-cell input{display:block;width:100%;height:31px;box-sizing:border-box;margin:0;padding:0 7px;border:1px solid #c8d6e1;border-radius:4px;background:#fff;color:#263f56;font-size:10px;pointer-events:auto}
body.admin-page .asset-files-cell{padding:9px 6px}
body.admin-page .asset-native-file{display:grid;grid-template-columns:42px minmax(0,1fr);align-items:center;gap:5px;min-height:54px;margin:6px 0;color:#3d566d;font-size:10px;font-weight:800}
body.admin-page .asset-native-file input[type=file],body.admin-page input.asset-real-file{position:static;display:block;width:100%;height:38px;box-sizing:border-box;margin:0;padding:5px;border:1px solid #c8d6e1;border-radius:4px;overflow:visible;clip:auto;white-space:normal;opacity:1;background:#f8fafc;color:#627588;font-size:9px;pointer-events:auto;cursor:pointer}
body.admin-page .asset-native-file input[type=file]::file-selector-button{height:26px;margin-right:5px;padding:0 7px;border:0;border-radius:3px;background:#032244;color:#fff;font-size:9px;font-weight:800;cursor:pointer}
body.admin-page .asset-order-cell input{display:block;width:38px;height:34px;margin:auto;padding:0;border:1px solid #c7d5e0;border-radius:4px;background:#fff;text-align:center;font-size:11px}
body.admin-page .asset-save-cell form{display:block;margin:0}body.admin-page .asset-save-cell button{width:50px;height:36px;padding:0;border:0;border-radius:4px;background:#032244;color:#fff;font-size:10px;font-weight:800;cursor:pointer}body.admin-page .asset-save-cell button:hover{background:#176da8}
body.admin-page .asset-bulk-actions{width:100%;box-sizing:border-box}
@media(max-width:900px){body.admin-page .asset-table-page .wrap{width:calc(100% - 16px)}body.admin-page .asset-table-section{padding:9px}body.admin-page .asset-manage-table thead th:nth-child(3){width:105px}body.admin-page .asset-manage-table thead th:nth-child(5){width:180px}body.admin-page .asset-preview-cell img,body.admin-page .asset-preview-cell>span{width:95px}body.admin-page .asset-fields-cell label{grid-template-columns:48px 1fr}}
