/* فيوبانل — حسابات FTP (FDX_FTP) فوق styles.css وpanel.css؛ كل الأصناف ببادئة ftp- والألوان من متغيّرات السمة (الفاتح والداكن) */

.ftp-g { align-items: start; margin-bottom: 14px; }
.ftp-g h3 { display: flex; align-items: center; gap: 8px; }
.ftp-banner { margin-bottom: 14px; }
.ftp-foot .ftp-banner, .ftp-main .ftp-banner { margin-bottom: 0; }
.ftp-foot { border-top: 1px solid var(--line); }
.ftp-ul { margin: 10px 0 14px; padding-inline-start: 18px; line-height: 1.7; }
.ftp-ul li { margin: 4px 0; }
.ftp-ul li::marker { color: var(--coral); }
.ftp-n { direction: ltr; unicode-bidi: isolate; font-variant-numeric: tabular-nums; }
.ftp-pills { gap: 8px; row-gap: 8px; }

/* القيم اللاتينية (نطاق، دخول، مسار) داخل سطرٍ عربي: عزلٌ ثنائي الاتجاه وكسرٌ في أي موضع بدل الانزياح */
.ftp-v { direction: ltr; unicode-bidi: isolate; overflow-wrap: anywhere; word-break: break-word; }
.ftp-kv { grid-template-columns: 120px minmax(0, 1fr); }
.ftp-kv dd { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; min-width: 0; }
.ftp-sub { flex-basis: 100%; color: var(--text-3); font-size: 12px; text-align: right; }
.ftp-copy { color: var(--text-3); padding: 4px; border-radius: 6px; flex: none; }
.ftp-copy .ico { width: 15px; height: 15px; }
.ftp-copy:hover { background: var(--surface-2); }
.ftp-hint { margin: 14px 0 10px; line-height: 1.7; }
.ftp-code { padding-inline-end: 40px; }
.ftp-code .ftp-copy { color: #b9c2ec; }
.ftp-code .ftp-copy:hover { background: rgba(255, 255, 255, .08); color: #fff; }

/* جدول الدخولات */
.ftp-t td { vertical-align: top; }
.ftp-login { display: flex; align-items: center; gap: 6px; min-width: 0; font-weight: 600; }
.ftp-tags { display: flex; flex-wrap: wrap; gap: 4px; margin-top: 4px; }
.ftp-tags:empty { display: none; }
.ftp-acts { white-space: nowrap; text-align: end; }
.ftp-acts .btn + .btn { margin-inline-start: 4px; }
.ftp-t tr.ftp-off td:not(.ftp-acts) { opacity: .6; }

.ftp-fq { display: flex; align-items: end; gap: 8px; flex-wrap: wrap; min-width: 0; }
.ftp-fq > .grow { flex: 1 1 160px; min-width: 0; }
.ftp-dom { direction: ltr; unicode-bidi: isolate; padding-bottom: 11px; font-size: 13.5px; overflow-wrap: anywhere; max-width: 100%; }

/* الجوال: الجدول بطاقاتٌ متراصّة — لا انزياح أفقي على 390px */
@media (max-width: 720px) {
  .ftp-kv { grid-template-columns: minmax(0, 1fr); gap: 2px 0; }
  .ftp-kv dt { margin-top: 8px; font-size: 12.5px; }
  .ftp-kv dt:first-child { margin-top: 0; }
  .ftp-wrap { overflow: visible; }
  /* table.t td (styles.css) أخصّ من .ftp-t td — فالقواعد هنا بـtable.t.ftp-t */
  table.t.ftp-t thead { display: none; }
  table.t.ftp-t, table.t.ftp-t tbody, table.t.ftp-t tr, table.t.ftp-t td { display: block; width: 100%; }
  table.t.ftp-t tr { padding: 12px 14px; border-bottom: 1px solid var(--line); }
  table.t.ftp-t tr:last-child { border-bottom: 0; }
  table.t.ftp-t td { border: 0; padding: 2px 0; }
  table.t.ftp-t td[data-l]:not(:first-child)::before { content: attr(data-l) " · "; color: var(--text-3); font-size: 12.5px; }
  table.t.ftp-t td.ftp-acts { text-align: start; white-space: normal; padding-top: 8px; display: flex; flex-wrap: wrap; gap: 6px; }
  .ftp-acts .btn + .btn { margin-inline-start: 0; }
  table.t.ftp-t td.ftp-acts:empty { display: none; }
}
