.stage-page .stage-layout{display:grid;grid-template-columns:280px minmax(0,1fr);gap:20px;align-items:start;padding:20px 18px;background:#f8fafc;min-height:calc(100vh - 170px);}
.stage-page .stage-pipeline-panel,.stage-page .stage-main-panel,.stage-page .stage-main-top,.stage-page .stage-flow-preview,.stage-page .stage-table-card{min-width:0;}
.stage-page .stage-table-card{background:#fff;border:1px solid #e2e8f0;border-radius:12px;overflow:hidden;box-shadow:none;}
.stage-page .stage-table-head{display:grid;grid-template-columns:34px minmax(260px,1fr) 120px 120px 110px 90px 140px;align-items:center;gap:0;background:#f8fafc;border-bottom:1px solid #e5e7eb;color:#475569;font-size:12px;font-weight:700;text-transform:uppercase;letter-spacing:.02em;}
.stage-page .stage-table-head>div{padding:12px 12px;white-space:nowrap;}
.stage-page .stage-sort-list{display:block;width:100%;}
.stage-page .stage-row{display:grid;grid-template-columns:34px minmax(260px,1fr) 120px 120px 110px 90px 140px;align-items:center;gap:0;min-height:64px;border-bottom:1px solid #edf2f7;background:#fff;}
.stage-page .stage-row:last-child{border-bottom:0;}
.stage-page .stage-row>div{padding:12px 12px;min-width:0;}
.stage-page .stage-drag{color:#94a3b8;cursor:grab;text-align:center;font-size:18px;line-height:1;}
.stage-page .stage-name-cell{display:flex;align-items:center;gap:10px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;}
.stage-page .stage-name-cell span{width:10px;height:10px;border-radius:50%;display:inline-block;flex:0 0 auto;}
.stage-page .stage-name-cell strong{font-size:14px;font-weight:700;color:#0f172a;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;}
.stage-page .stage-type-badge{display:inline-flex;align-items:center;border-radius:999px;padding:4px 10px;font-style:normal;font-size:12px;font-weight:700;background:#eef2ff;color:#2563eb;}
.stage-page .stage-type-badge.won{background:#dcfce7;color:#047857;}
.stage-page .stage-type-badge.lost{background:#fee2e2;color:#dc2626;}
.stage-page .stage-notes-badge{font-style:italic;color:#111827;font-size:13px;}
.stage-page .stage-notes-muted{font-size:13px;color:#0f172a;}
.stage-page .stage-record-count,.stage-page .stage-probability{font-size:14px;color:#111827;font-weight:500;}
.stage-page .stage-row-actions{display:flex;align-items:center;justify-content:flex-end;gap:10px;white-space:nowrap;}
.stage-page .stage-row-actions button{border:0;background:transparent;color:#2563eb;font-size:13px;font-weight:600;padding:4px 0;line-height:1.2;cursor:pointer;}
.stage-page .stage-row-actions button:hover{text-decoration:underline;}
.stage-page .stage-row.dragging{opacity:.65;background:#f8fafc;}
@media(max-width:1100px){.stage-page .stage-layout{grid-template-columns:1fr;}.stage-page .stage-table-card{overflow-x:auto;}.stage-page .stage-table-head,.stage-page .stage-row{min-width:980px;}}
