.m11-custom-ugt-workspace { margin: 0 0 22px; }
.m11-custom-ugt-workspace .m66-custom-ugt-import,
.m11-custom-ugt-workspace .m66-custom-ugt-table { margin-bottom: 14px; }
.m11-custom-ugt-workspace .m66-custom-table { min-width: 1050px; }
.m11-custom-ugt-workspace .m66-operation-status { overflow-wrap: anywhere; }
.m11-custom-ugt-workspace .m66-import-actions button,
.m11-custom-ugt-workspace .m66-import-actions a { min-height: 36px; }
.m11-custom-ugt-workspace .m66-custom-table th button { min-height: 32px; }
.m66-custom-ugt-import,
.m66-custom-ugt-table { margin-bottom: 16px; }
.m66-panel-heading { display:flex; align-items:flex-start; justify-content:space-between; gap:16px; margin-bottom:14px; }
.m66-panel-heading h3 { margin:0 0 5px; }
.m66-panel-heading p { margin:0; max-width:900px; color:var(--text-muted); line-height:1.55; }
.m66-import-grid { display:grid; grid-template-columns:repeat(auto-fit,minmax(210px,1fr)); gap:12px; align-items:end; }
.m66-import-grid label { display:grid; gap:5px; color:var(--text-secondary); font-size:12px; font-weight:600; }
.m66-import-grid input[type="file"],
.m66-import-grid .platform-input,
.m66-import-grid .platform-select { width:100%; min-width:0; box-sizing:border-box; }
.m66-import-actions { display:flex; align-items:center; flex-wrap:wrap; gap:8px; margin-top:12px; }
.m66-operation-status { margin-top:12px; padding:9px 11px; border-left:3px solid var(--primary,#286C53); background:var(--surface-subtle,#f7f9f6); color:var(--text-secondary); line-height:1.45; overflow-wrap:anywhere; }
.m66-operation-status[data-state="error"] { border-left-color:var(--danger,#ad3b36); }
.m66-operation-status[data-state="success"] { border-left-color:var(--success,#286c53); }
.m66-operation-status[data-state="warning"] { border-left-color:var(--warning,#a36b16); }
.m66-preview { margin-top:12px; max-height:360px; overflow:auto; border-top:1px solid var(--border-light,#dee7df); }
.m66-preview-summary { display:flex; flex-wrap:wrap; gap:8px 18px; padding:10px 0; color:var(--text-secondary); font-size:12px; }
.m66-preview-errors { margin:0 0 10px; padding:10px 12px; color:var(--danger,#ad3b36); background:#fff8f6; white-space:pre-wrap; overflow-wrap:anywhere; font-size:12px; }
.m66-preview table { width:100%; border-collapse:collapse; font-size:12px; }
.m66-preview th,.m66-preview td { padding:7px 9px; border-bottom:1px solid var(--border-light,#dee7df); text-align:left; vertical-align:top; }
.m66-preview th { position:sticky; top:0; background:#f7f9f6; }
.m66-preview code,.m66-custom-table code { font-family:var(--font-mono,Consolas,monospace); overflow-wrap:anywhere; }
.m66-table-filters { margin-bottom:12px; }
.m66-table-meta { display:flex; flex-wrap:wrap; justify-content:space-between; gap:8px 16px; margin:9px 0; color:var(--text-muted); font-size:12px; }
.m66-table-scroll { width:100%; overflow:auto; border-top:1px solid var(--border-light,#dee7df); }
.m66-custom-table { min-width:1050px; }
.m66-custom-table th button { border:0; padding:4px 3px; background:transparent; color:inherit; font:inherit; font-weight:650; cursor:pointer; text-align:left; }
.m66-custom-table th button:hover,.m66-custom-table th button:focus-visible { color:var(--primary,#286c53); }
.m66-custom-table th button:focus-visible { outline:2px solid var(--primary,#286c53); outline-offset:2px; }
.m66-custom-table td { vertical-align:top; }
.m66-empty-state,.m66-pagination { padding:12px; text-align:center; }
.m66-pagination { display:flex; justify-content:center; align-items:center; gap:8px; }
.m66-detail { margin-top:12px; padding:12px; border-top:1px solid var(--border-light,#dee7df); background:var(--surface-subtle,#f7f9f6); overflow-wrap:anywhere; }
.m66-detail pre { max-height:240px; overflow:auto; white-space:pre-wrap; word-break:break-all; }
@media(max-width:720px) {
  .m66-panel-heading { flex-direction:column; }
  .m66-import-grid { grid-template-columns:1fr; }
  .m66-import-actions > button { min-height:40px; }
  .m66-table-meta { flex-direction:column; }
}
