/* Interface d'édition dans l'administration ProcessWire uniquement. */
.yw-table-editor {
  --yw-editor-blue: #015998;
  --yw-editor-border: #dbe3e8;
  max-width: 100%;
}
.yw-table-editor__noscript { font-size: .9rem; color: #9c4a12; }
.yw-table-editor.is-ready > textarea,
.yw-table-editor.is-ready > .yw-table-editor__noscript { display: none !important; }
.yw-table-editor__help { margin: .3rem 0 1rem; line-height: 1.45; color: #455667; }
.yw-table-editor__controls { display: flex; flex-wrap: wrap; align-items: center; gap: 1.25rem; margin: 0 0 1rem; }
.yw-table-editor__count { display: inline-flex; align-items: center; gap: .65rem; font-weight: 600; }
.yw-table-editor__count input { width: 5.3rem; padding: .45rem .65rem; border: 1px solid var(--yw-editor-border); border-radius: 5px; }
.yw-table-editor__scroll { overflow-x: auto; max-width: 100%; border: 1px solid var(--yw-editor-border); border-radius: 9px; }
.yw-table-editor__grid { width: 100%; min-width: 550px; border-collapse: collapse; margin: 0; table-layout: fixed; }
.yw-table-editor__grid th,
.yw-table-editor__grid td { padding: .55rem .4rem; border-bottom: 1px solid var(--yw-editor-border); }
.yw-table-editor__grid thead th { background: #e9f2f8; font-weight: 700; }
.yw-table-editor__grid tbody tr:nth-child(even) { background: #f8fafc; }
.yw-table-editor__grid th:first-child { width: 2.8rem; text-align: center; }
.yw-table-editor__grid th:last-child { width: 6.2rem; text-align: center; }
.yw-table-editor__cell { box-sizing: border-box; width: 100%; min-width: 65px; border: 1px solid #cad6df; border-radius: 4px; padding: .55rem .65rem; background: #fff; }
.yw-table-editor__cell:focus { outline: 2px solid #8dbad9; outline-offset: 1px; }
.yw-table-editor__index { font-weight: 500; color: #687785; }
.yw-table-editor__delete { border: 0; color: #9e3b3b; background: none; cursor: pointer; font-size: .78rem; padding: .35rem; }
.yw-table-editor__delete:hover:not(:disabled) { text-decoration: underline; }
.yw-table-editor__delete:disabled { opacity: .45; cursor: default; }
.yw-table-editor__footer { display: flex; flex-wrap: wrap; align-items: center; gap: .7rem; margin-top: 1rem; }
.yw-table-editor__btn { color: #fff; background: var(--yw-editor-blue); border: 1px solid var(--yw-editor-blue); border-radius: 6px; padding: .55rem .85rem; font-size: .9rem; font-weight: 600; cursor: pointer; }
.yw-table-editor__btn:hover:not(:disabled) { background: #034676; }
.yw-table-editor__btn:disabled { opacity: .55; cursor: default; }
.yw-table-editor__status { margin-left: auto; font-size: .83rem; color: #566a76; }
