/* GHZ Panel Builder v0.7.0 engineering placement */

.ghz-pb-placement-panel {
    margin-top: 18px;
    padding: 18px;
    border: 1px solid #d9e1ea;
    border-radius: 12px;
    background: #fff;
}

.ghz-pb-placement-head {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 18px;
    margin-bottom: 14px;
}

.ghz-pb-placement-head h4 {
    margin: 0 0 5px;
}

.ghz-pb-placement-head p,
.ghz-pb-placement-note,
.ghz-pb-placement-empty {
    margin: 0;
    color: #667085;
    line-height: 1.55;
}

.ghz-pb-placement-head > strong {
    flex: 0 0 auto;
    padding: 6px 9px;
    border: 1px solid #d0d5dd;
    border-radius: 999px;
    font-size: 12px;
    white-space: nowrap;
}

.ghz-pb-placement-list {
    display: grid;
    gap: 10px;
}

.ghz-pb-placement-item {
    display: grid;
    grid-template-columns: minmax(0, 1.5fr) minmax(250px, 1fr);
    gap: 12px;
    align-items: center;
    padding: 12px;
    border: 1px solid #e4e7ec;
    border-radius: 10px;
}

.ghz-pb-placement-item__main {
    min-width: 0;
}

.ghz-pb-placement-item__main strong,
.ghz-pb-placement-item__main small {
    display: block;
}

.ghz-pb-placement-item__main strong {
    margin-bottom: 4px;
}

.ghz-pb-placement-item__main small {
    color: #667085;
    line-height: 1.45;
}

.ghz-pb-placement-item__controls {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 8px;
    flex-wrap: wrap;
}

.ghz-pb-placement-item__controls select {
    min-width: 190px;
    max-width: 100%;
    min-height: 38px;
}

.ghz-pb-placement-item__controls button {
    min-height: 38px;
    padding: 8px 12px;
    border: 1px solid #cfd8e3;
    border-radius: 8px;
    cursor: pointer;
}

.ghz-pb-placement-item__controls button:disabled {
    cursor: not-allowed;
    opacity: .55;
}

.ghz-pb-placement-item__controls .is-secondary {
    background: transparent;
}

.ghz-pb-placement-item__status {
    grid-column: 1 / -1;
    font-size: 12px;
}

.ghz-pb-placement-item__status .is-ready {
    font-weight: 700;
}

.ghz-pb-placement-item__status .is-blocked {
    color: #667085;
}

.ghz-pb-placement-note {
    margin-top: 12px;
    padding-top: 12px;
    border-top: 1px solid #eaecf0;
    font-size: 12px;
}

.ghz-pb-placement-node {
    touch-action: none;
}

.ghz-pb-placement-node__body {
    fill: rgba(23, 92, 160, .16);
    stroke: #175ca0;
    stroke-width: 1.5;
    vector-effect: non-scaling-stroke;
}

.ghz-pb-placement-node__label {
    fill: #173b5e;
    font-size: 7px;
    font-weight: 800;
    pointer-events: none;
}

[dir="rtl"] .ghz-pb-placement-head,
[dir="rtl"] .ghz-pb-placement-item {
    direction: rtl;
}

@media (max-width: 900px) {
    .ghz-pb-placement-head {
        display: block;
    }

    .ghz-pb-placement-head > strong {
        display: inline-block;
        margin-top: 10px;
    }

    .ghz-pb-placement-item {
        grid-template-columns: 1fr;
    }

    .ghz-pb-placement-item__controls {
        justify-content: flex-start;
    }
}

@media (max-width: 560px) {
    .ghz-pb-placement-panel {
        padding: 13px;
    }

    .ghz-pb-placement-item__controls {
        display: grid;
        grid-template-columns: 1fr;
    }

    .ghz-pb-placement-item__controls select,
    .ghz-pb-placement-item__controls button {
        width: 100%;
    }
}
/* /GHZ Panel Builder v0.7.0 engineering placement */
