.ftth-fdp-input-panel {
  display:grid;
  gap:12px;
  margin-top:14px;
  padding-top:14px;
  border-top:1px solid var(--border);
}

.ftth-fdp-input-heading {
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:8px;
}

.ftth-fdp-input-heading small,
.ftth-fdp-input-heading h4 {
  display:block;
  margin:0;
}

.ftth-fdp-input-heading small {
  color:var(--muted);
  font-size:10px;
}

.ftth-fdp-input-heading h4 {
  margin-top:2px;
  color:#0ea5e9;
}

.ftth-fdp-input-heading > span {
  padding:4px 8px;
  border-radius:999px;
  background:color-mix(
    in srgb,
    #0ea5e9 14%,
    transparent
  );
  color:#0ea5e9;
  font-size:9px;
  font-weight:900;
}

.ftth-fdp-input-kpis {
  display:grid;
  grid-template-columns:repeat(2,minmax(0,1fr));
  gap:7px;
}

.ftth-fdp-input-kpis > div {
  padding:9px;
  border:1px solid var(--border);
  border-radius:8px;
  background:var(--bg);
}

.ftth-fdp-input-kpis small,
.ftth-fdp-input-kpis strong {
  display:block;
}

.ftth-fdp-input-kpis small {
  color:var(--muted);
  font-size:9px;
}

.ftth-fdp-input-kpis strong {
  margin-top:2px;
  font-size:18px;
}

.ftth-fdp-input-actions {
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:8px;
}

.ftth-fdp-input-actions b,
.ftth-fdp-input-actions small {
  display:block;
}

.ftth-fdp-input-actions small {
  margin-top:2px;
  color:var(--muted);
  font-size:9px;
}

.ftth-fdp-input-actions button {
  flex:0 0 auto;
  min-height:34px;
  padding:6px 8px;
  font-size:10px;
}

.ftth-fdp-outgoing-list {
  display:grid;
  gap:8px;
}

.ftth-fdp-outgoing-row {
  display:grid;
  grid-template-columns:38px minmax(0,1fr) 32px;
  align-items:start;
  gap:7px;
  padding:9px 7px;
  border:1px solid var(--border);
  border-radius:9px;
  background:var(--bg);
}

.ftth-fdp-outgoing-number {
  min-height:50px;
  display:flex;
  flex-direction:column;
  align-items:center;
  justify-content:center;
  border-radius:8px;
  background:#0ea5e9;
  color:#fff;
}

.ftth-fdp-outgoing-number b {
  font-size:15px;
}

.ftth-fdp-outgoing-number small {
  font-size:8px;
}

.ftth-fdp-outgoing-fields {
  display:grid;
  gap:7px;
  min-width:0;
}

.ftth-fdp-outgoing-fields label {
  color:var(--muted);
  font-size:10px;
}

.ftth-fdp-outgoing-fields input,
.ftth-fdp-outgoing-fields textarea {
  display:block;
  width:100%;
  min-width:0;
  margin-top:3px;
  padding:7px 8px;
  border:1px solid var(--border);
  border-radius:7px;
  background:var(--panel);
  color:var(--text);
  font:inherit;
  resize:vertical;
}

.ftth-fdp-remove-input {
  width:32px;
  height:40px;
  padding:0;
  border:1px solid color-mix(
    in srgb,
    var(--red) 50%,
    var(--border)
  );
  border-radius:7px;
  background:transparent;
  color:var(--red);
  font-size:19px;
  cursor:pointer;
}

.ftth-fdp-input-save {
  width:100%;
}
