/* C138 (#138, TheDekel 19/10 17:49 "הטבלה של שדות הקבוצה לא יפה... שום דבר לא אחיד"): the field-group fields table now uses the same
   look as the other admin tables (light header, cool grey lines, white rows, one control style). CSS only: no columns, features,
   drag or column prefs change. Scoped to #gEd with html body for specificity so it wins over shop.css / site-ui.css / fgvis.css
   (fgvis.css is lazy-loaded later). Remove the <link> in index.html to roll back. */
html body #gEd .gt-wrap{border:1px solid #e3e8ea;border-radius:12px;background:#fff;box-shadow:0 1px 3px rgba(16,24,40,.06),0 1px 2px rgba(16,24,40,.04)}
html body #gEd table.gt{font-size:14px;color:#1f2a2e}
/* header: like the lists / stats tables */
html body #gEd table.gt thead th{background:#f7f9f9;color:#46555b;font-weight:600;font-size:13px;line-height:1.3;height:42px;padding:8px 8px;vertical-align:middle;border-inline-start:0;border-bottom:0;box-shadow:inset 0 -1px 0 #e3e8ea}
html body #gEd .gt-wrap.lgmode{border-color:#9cc7cc;box-shadow:0 0 0 3px rgba(0,103,117,.10)}
html body #gEd .gt-wrap.lgmode table.gt thead th{background:#eef6f7;color:#0e5e6a}
html body #gEd table.gt thead th.s2{box-shadow:inset 0 -1px 0 #e3e8ea,inset -1px 0 0 #e3e8ea}
html[dir=rtl] body #gEd table.gt thead th.s2{box-shadow:inset 0 -1px 0 #e3e8ea,inset 1px 0 0 #e3e8ea}
/* rows: white, one thin line, same height */
html body #gEd table.gt td{border-bottom:1px solid #eef1f3;border-inline-start:0;padding:5px 6px;height:46px;background:#fff;vertical-align:middle}
html body #gEd table.gt tr.gr.odd td{background:#fff}
html body #gEd table.gt tr.gr:hover td{background:#f7fafb}
html body #gEd table.gt tr.gr:focus-within td{background:#f1f7f8}
html body #gEd table.gt td.s2{box-shadow:inset -1px 0 0 #eef1f3}
html[dir=rtl] body #gEd table.gt td.s2{box-shadow:inset 1px 0 0 #eef1f3}
html body #gEd table.gt tr.gx td{background:#f8fafb;border-bottom:1px solid #e3e8ea;height:auto;padding:0}
/* one control style: text, ID, selects and the custom dropdown buttons */
html body #gEd table.gt td input:not([type=checkbox]),html body #gEd table.gt td select,html body #gEd table.gt td .p65cb-b{height:34px;min-height:34px;border:1px solid #dfe5e8;border-radius:8px;background:#fff;color:#1f2a2e;font-size:14px;line-height:1.2;padding:5px 9px;box-shadow:none;transition:border-color .15s,box-shadow .15s}
html body #gEd table.gt td textarea{min-height:34px;border:1px solid #dfe5e8;border-radius:8px;background:#fff;font-size:14px;padding:6px 9px}
html body #gEd table.gt td .gt-id input{font-size:13px!important;padding:5px 6px!important;font-family:ui-monospace,SFMono-Regular,Menlo,Consolas,monospace!important;color:#33444a}
html body #gEd table.gt .gt-id i{color:#7b888d}
html body #gEd table.gt td input:not([type=checkbox]):hover,html body #gEd table.gt td select:hover,html body #gEd table.gt td textarea:hover,html body #gEd table.gt td .p65cb-b:hover{border-color:#c5d0d4;background:#fff}
html body #gEd table.gt td input:not([type=checkbox]):focus,html body #gEd table.gt td select:focus,html body #gEd table.gt td textarea:focus,html body #gEd table.gt td .p65cb-b:focus-visible{border-color:var(--th-c2,#0e5e6a);outline:0;box-shadow:0 0 0 3px rgba(14,94,106,.18)}
html body #gEd table.gt td input::placeholder,html body #gEd table.gt td textarea::placeholder{color:#6b787d}
html body #gEd table.gt td .gt-styc .p65cb-b,html body #gEd table.gt td.gt-styc .p65cb-b{font-size:14px}
html body #gEd table.gt td input[type=checkbox]{width:18px;height:18px;accent-color:var(--th-c2,#0e5e6a)}
html body #gEd table.gt td.bad .gt-id input{border-color:#d9534f!important;background:#fff5f4!important}
/* simchas / languages: chips instead of grey native buttons */
html body #gEd table.gt td .af-badge.af-cell{display:inline-flex;align-items:center;gap:4px;max-width:100%;height:28px;padding:0 10px;margin:0;border:1px solid #d6e6e8;border-radius:999px;background:#f1f8f9;color:#0e5e6a;font:inherit;font-size:13px;font-weight:600;line-height:1;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;cursor:pointer}
html body #gEd table.gt td .af-badge.af-cell.lim{background:#f5f3ff;border-color:#d9d3f5;color:#4b3fa8}
html body #gEd table.gt td .af-badge.af-cell:hover{border-color:#0e5e6a}
/* small icon buttons: same 30px square, same grey border */
html body #gEd table.gt .gt-b,html body #gEd table.gt .gt-x{display:inline-grid;place-items:center;width:30px;height:30px;padding:0;border:1px solid #dfe5e8;border-radius:8px;background:#fff;color:#46555b;font-size:15px;line-height:1;vertical-align:middle}
html body #gEd table.gt .gt-act{display:inline-flex;gap:6px;align-items:center;justify-content:center}
html body #gEd table.gt .gt-b:hover,html body #gEd table.gt .gt-x:hover{border-color:var(--th-c2,#0e5e6a);color:var(--th-c2,#0e5e6a);background:#fff}
html body #gEd table.gt .gt-x.on{background:var(--th-c2,#0e5e6a);border-color:var(--th-c2,#0e5e6a);color:#fff}
html body #gEd table.gt .gt-b.danger:hover{border-color:#c0392b;color:#c0392b;background:#fff4f2}
html body #gEd table.gt .gt-h{color:#7b888d}
html body #gEd table.gt .gt-na{color:#7b888d}
html body #gEd table.gt .gt-sub{font-size:11.5px;line-height:14px;color:#5f6d72;padding:2px 4px 0}
html body #gEd table.gt button:focus-visible,html body #gEd table.gt .gt-h:focus-visible{outline:2px solid var(--th-c2,#0e5e6a);outline-offset:1px}
/* phones: inputs 16px so iOS does not zoom */
@media (max-width:640px){html body #gEd table.gt td input:not([type=checkbox]),html body #gEd table.gt td select,html body #gEd table.gt td textarea,html body #gEd table.gt td .p65cb-b,html body #gEd table.gt td .gt-id input{font-size:16px!important}}
