.pending-header { display:flex; justify-content:space-between; align-items:flex-end; gap:18px; }
.pending-header h1 { margin:4px 0 6px; }
.pending-panel { margin-top:18px; }
.pending-note { padding:11px 13px; border:1px solid #eadfbd; border-radius:10px; background:#fffaf0; color:#7b642c; font-size:11px; line-height:1.7; }
.pending-list { display:grid; gap:12px; margin-top:14px; }
.pending-card { padding:15px; border:1px solid #dfe8e0; border-radius:13px; background:#fff; }
.pending-card-head { display:flex; justify-content:space-between; gap:10px; align-items:center; }
.pending-index { display:inline-grid; place-items:center; width:28px; height:28px; margin-right:8px; border-radius:8px; background:#eef7ef; color:#287442; font-size:10px; font-weight:800; }
.pending-chip { padding:4px 8px; border-radius:999px; background:#fff4d8; color:#8a651d; font-size:10px; font-weight:800; }
.pending-chip-group { background:#eaf7ed; color:#287442; }
.pending-key { margin-top:12px; font-family:monospace; font-size:15px; color:#2e4635; font-weight:800; }
.pending-meta { margin-top:5px; color:var(--muted); font-size:10px; line-height:1.6; }
.pending-fields { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:9px; margin-top:14px; }
.pending-fields label { display:grid; gap:4px; color:#637069; font-size:10px; font-weight:700; }
.pending-fields input,.pending-fields select { min-width:0; min-height:34px; padding:0 9px; border:1px solid #dce6de; border-radius:8px; background:#fff; color:#344139; }
.pending-description { grid-column:span 2; }
.pending-actions { display:flex; justify-content:flex-end; gap:9px; margin-top:13px; }
.pending-dismiss-btn { min-height:34px; padding:0 12px; border:1px solid #dce6de; border-radius:8px; background:#fff; color:#66746b; cursor:pointer; font-weight:700; }
.pending-dismiss-btn:disabled,.register-btn:disabled,.register-group-btn:disabled { opacity:.55; cursor:not-allowed; }

.pending-section-head { display:flex; justify-content:space-between; align-items:center; gap:14px; padding:5px 2px 0; color:#52645a; }
.pending-section-head > div { display:flex; align-items:baseline; gap:9px; flex-wrap:wrap; }
.pending-section-head strong { color:#243a2c; font-size:13px; }
.pending-section-head span { color:var(--muted); font-size:10px; }
.pending-section-unknown { margin-top:7px; }
.pending-group-card { border-color:#d7e8da; box-shadow:0 8px 24px rgba(33,84,49,.04); }
.pending-group-title-row { display:flex; justify-content:space-between; align-items:flex-start; gap:14px; margin-top:14px; }
.pending-group-title { color:#243a2c; font-size:17px; font-weight:850; }
.pending-channel-list { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:8px; margin-top:13px; }
.pending-channel-row { display:flex; justify-content:space-between; align-items:center; gap:12px; min-width:0; padding:10px 11px; border:1px solid #e5ece6; border-radius:10px; background:#fafcfb; }
.pending-channel-row > div:first-child { display:grid; gap:3px; min-width:0; }
.pending-channel-row strong { color:#34463a; font-size:12px; }
.pending-channel-row .key { overflow:hidden; text-overflow:ellipsis; white-space:nowrap; font-size:9px; }
.pending-channel-value { flex:0 0 auto; color:#287442; font-size:13px; font-weight:800; }
.pending-group-register { display:grid; grid-template-columns:minmax(220px,1fr) auto; align-items:end; gap:10px; margin-top:14px; }
.pending-group-register label { display:grid; gap:4px; color:#637069; font-size:10px; font-weight:700; }
.pending-group-register input { min-width:0; min-height:36px; padding:0 10px; border:1px solid #dce6de; border-radius:8px; background:#fff; color:#344139; }
.pending-group-register .primary { min-height:36px; white-space:nowrap; }

@media (max-width:760px) {
    .pending-header { align-items:flex-start; flex-direction:column; }
    .pending-fields { grid-template-columns:1fr; }
    .pending-description { grid-column:auto; }
    .pending-channel-list { grid-template-columns:1fr; }
    .pending-group-register { grid-template-columns:1fr; }
    .pending-group-register .primary { width:100%; }
}

.settings-empty {
    min-height:88px;
    display:grid;
    place-items:center;
    padding:18px;
    border:1px dashed #dfe6e0;
    border-radius:12px;
    background:#fafcfb;
    color:#7b877f;
    text-align:center;
}
