.yc-panel { min-width: 0; }
.yc-panel .table-wrap { max-width: 100%; overflow-x: auto; }
.yc-status-grid { display: grid; grid-template-columns: repeat(auto-fit,minmax(180px,1fr)); gap: 12px; margin: 18px 0; }
.yc-status-grid .stat-card { min-width: 0; }
.yc-status-grid .stat-card > span { display: block; color: var(--muted); font-size: 12px; margin-bottom: 10px; }
.yc-status-grid .stat-card > strong { display: block; font-size: 22px; line-height: 1.3; overflow-wrap: anywhere; }
.yc-status-grid small { display: block; margin-top: 6px; }
.yc-phase-grid { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 20px; }
.yc-phase-grid section { min-width: 0; }
.yc-phase-grid table { min-width: 560px; }
.yc-phase-grid input[data-yc-input] { width: 112px; min-width: 0; }
.yc-phase-grid input[type=checkbox] { width: 18px; height: 18px; }
.yc-actions { display: flex; flex-wrap: wrap; gap: 10px; margin: 14px 0; }
.yc-save { display: flex; flex-wrap: wrap; align-items: end; gap: 12px; margin: 16px 0; }
.yc-save label { flex: 1 1 240px; display: grid; gap: 8px; }
.yc-formula { padding: 12px; background: var(--surface-alt,#f5f7fb); border-radius: 8px; overflow-wrap: anywhere; }
#ycBinding { overflow-wrap: anywhere; }
@media (max-width: 1350px) { .yc-phase-grid { grid-template-columns: minmax(0,1fr); } }

#ycComboForm[hidden]{display:none} #ycComboTargets input{max-width:180px} #ycComboSection select{min-width:110px} #ycComboSection td{white-space:nowrap}

#ycComboSection[hidden],#ycCascadeSection[hidden]{display:none} #ycAggregates .table-wrap,#ycCombinations .table-wrap{max-height:460px;overflow:auto} #ycComboSection th{position:sticky;top:0;background:var(--panel-bg,#fff)}
