/* MuADMINS - the File editor tab of tools.php (#editor), 2026-11-14 (s20261114-fileeditor). Builds on css/tools.css
   (same dark panels, square buttons, white primary). Phone first: wide tables scroll inside their own box. */
.fe-vh{position:absolute!important;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0 0 0 0);white-space:nowrap;border:0}
.fe-privacy{margin:0 0 14px;padding:8px 12px;border-left:3px solid #7ce0a3;background:rgba(10,60,36,.35);font:500 13.5px/1.5 var(--font-ui,Inter,sans-serif);color:#e4f7ec;border-radius:3px}
.fe-pickbtn{position:relative;cursor:pointer}
.fe-pickbtn:focus-within{outline:2px solid #fff;outline-offset:2px}
.fe .tl-more{margin-top:12px}
.fe-listinfo{margin:8px 0 0;padding-left:18px;font:400 13.5px/1.5 var(--font-ui,Inter,sans-serif);color:var(--mx-text,#b9cbe0)}
.fe-listinfo:empty{display:none}
.fe-bad{color:#ffb36b}
#fe-status{margin-top:14px}
#fe-status:empty{display:none}
.fe-as{max-width:320px;margin-top:6px}
.fe-bar{margin-bottom:8px}
.fe-tbl td,.fe-tbl th{white-space:nowrap}
.fe-tbl td.fe-act{text-align:right}
.fe-rowsbox{max-height:560px;overflow:auto;border:1px solid var(--mx-line,rgba(255,255,255,.10));border-radius:6px}
.fe-rowsbox thead th{position:sticky;top:0;background:#071a3d;z-index:1}
.tl-btn.fe-sm{min-height:32px;padding:0 10px;font-size:10.5px}
.fe-pager{align-items:center}
.fe-form{margin:8px 0 14px;border-color:rgba(255,179,107,.5)}
.fe-form .tl-h3{margin-top:0}
.fe-fields{margin:10px 0}
.fe-form .tl-f>span small{text-transform:none;letter-spacing:0;font-weight:400}
.fe-form .tl-in[aria-invalid="true"]{border-color:#ff7b7b;box-shadow:0 0 0 1px #ff7b7b}
.fe-msgs{margin:10px 0}
.fe-msgs ul{margin:0;padding-left:18px;font:400 13.5px/1.5 var(--font-ui,Inter,sans-serif)}
.fe-e{color:#ffb3b3}
.fe-w{color:#ffd9a8}
.fe-okmsg{margin:0;color:#b6f5cc;font-size:13.5px}
.fe-gridbox{margin:12px 0 4px}
.fe-gridhead{display:flex;flex-wrap:wrap;gap:8px 16px;align-items:flex-end;justify-content:space-between;margin-bottom:8px}
.fe-refsel{min-width:200px;flex:1 1 220px;max-width:360px}
.fe-grid{display:block;width:100%;max-width:512px;height:auto;aspect-ratio:1/1;border:1px solid rgba(255,255,255,.2);border-radius:3px;cursor:crosshair;touch-action:none;background:#04122b}
.fe-legend{display:flex;flex-wrap:wrap;align-items:center;gap:4px 10px;margin:6px 0 0}
.fe-sw{display:inline-block;width:12px;height:12px;border-radius:2px;vertical-align:middle}
.fe-sw-f{background:#8fc4ff}
.fe-sw-r{background:rgba(124,224,163,.6)}
.fe-sw-n{background:#ffb36b}
#fe-xy{font-variant-numeric:tabular-nums;color:#fff;margin-left:auto}
.fe-gnote{margin:4px 0 0}
.fe-shop{display:grid;grid-template-columns:repeat(8,minmax(0,1fr));grid-template-rows:repeat(15,minmax(22px,auto));gap:2px;max-width:340px;padding:4px;border-radius:4px;
  background:repeating-linear-gradient(0deg,rgba(255,255,255,.04) 0 1px,transparent 1px 24px),rgba(0,0,0,.35);border:1px solid rgba(255,255,255,.18)}
.fe-cell{display:flex;align-items:center;justify-content:center;min-width:0;overflow:hidden;padding:1px;border-radius:2px;background:rgba(143,196,255,.22);border:1px solid rgba(143,196,255,.55);
  font:500 9px/1.1 var(--font-ui,Inter,sans-serif);color:#e4eef9;text-align:center;word-break:break-word}
.fe-cell-new{background:rgba(255,179,107,.35);border-color:#ffb36b;color:#fff}
.fe-changes{margin-top:18px;padding-top:6px;border-top:1px solid var(--mx-line,rgba(255,255,255,.10))}
.fe-diff td{font-size:12.5px}
.fe-diff td.fe-src{font-family:Consolas,'SFMono-Regular',Menlo,monospace;white-space:pre-wrap;word-break:break-all}
@media (max-width:560px){
  .tl-btn.fe-sm{min-height:36px}
  .fe-tbl th,.fe-tbl td{padding:6px 5px}
  .fe-shop{max-width:100%}
  .tl-grid.fe-fields{grid-template-columns:repeat(2,minmax(0,1fr))}   /* short number fields: two per row on a phone */
}
