/* فيوبانل — بيئة التطبيق (FDX_RUNTIMES). كل الأصناف بالبادئة rt- */
.rt-grid { display: grid; gap: 14px; grid-template-columns: minmax(0, 1fr); margin-bottom: 14px; }
.rt-grid > .card { margin: 0; }
@media (min-width: 1100px) { .rt-grid { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); align-items: start; } }

.rt-mark { display: inline-grid; place-items: center; flex: none; width: 34px; height: 34px; border-radius: 9px; font: 800 12px/1 ui-monospace, Menlo, monospace;
  letter-spacing: 0; color: #fff; background: var(--navy); direction: ltr; }
.rt-mark.sm { width: 22px; height: 22px; border-radius: 6px; font-size: 9.5px; vertical-align: middle; }
.rt-mark.rt-php { background: #5b5f99; }
.rt-mark.rt-python { background: #2f6aa3; }
.rt-mark.rt-node { background: #3d7a3a; }
.rt-mark.rt-static { background: var(--coral); }
.rt-mark.rt-docker { background: #1d63c8; }

.rt-status .card-h h3 { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.rt-status .card-h { flex-wrap: wrap; }
.rt-acts { margin-top: 14px; }
.rt-url { overflow-wrap: anywhere; }

.rt-pick { display: grid; gap: 10px; grid-template-columns: repeat(2, minmax(0, 1fr)); margin-bottom: 14px; }
@media (min-width: 560px) { .rt-pick { grid-template-columns: repeat(auto-fill, minmax(170px, 1fr)); } }
.rt-opt { display: grid; grid-template-columns: auto minmax(0, 1fr); column-gap: 10px; align-items: center; font: inherit; color: inherit; min-width: 0; }
.rt-opt .rt-mark { grid-row: span 2; width: 30px; height: 30px; font-size: 11px; }
.rt-opt b { font-size: 14.5px; }
.rt-opt .d { grid-column: 1 / -1; margin-top: 8px; line-height: 1.5; }
.rt-opt[disabled] .d { color: var(--bad); }

.rt-fields { display: grid; gap: 12px; grid-template-columns: minmax(0, 1fr); margin-bottom: 8px; }
@media (min-width: 560px) { .rt-fields { grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); } }
.rt-fields .field { margin: 0; min-width: 0; }
.rt-fields .rt-wide { grid-column: 1 / -1; }
.rt-note { margin: 4px 0 12px; }

.rt-log { max-height: 42vh; margin: 10px 0 0; }
.rt-done { margin-top: 12px; display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.rt-err { color: var(--bad); }
.rt-res { max-width: 340px; overflow-wrap: anywhere; }

.rt-keys { display: flex; flex-wrap: wrap; gap: 8px; }
.rt-key { display: inline-flex; align-items: center; gap: 4px; padding: 4px 6px 4px 4px; padding-inline-start: 12px; border: 1px solid var(--line-2);
  border-radius: 999px; background: var(--surface-2); font-size: 13px; direction: ltr; max-width: 100%; }
.rt-key .mono { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; min-width: 0; }
.rt-key .icon-btn { width: 24px; height: 24px; min-height: 0; padding: 0; display: grid; place-items: center; border-radius: 50%; }
.rt-env { min-height: 140px; resize: vertical; font-size: 13px; }

.rt-g { margin-bottom: 14px; }
.rt-g > .card { margin: 0; }
.rt-php { display: grid; gap: 8px; }
.rt-phpv { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; padding: 10px 12px; border: 1px solid var(--line); border-radius: 10px; }
.rt-phpv b { margin-inline-end: auto; }
.rt-phpv:not(.on) b { color: var(--text-3); }
.rt-apps td { vertical-align: middle; }
