.csd-workbench { min-height: 650px; height: calc(100vh - 278px); display: grid; grid-template-rows: minmax(0, 1fr) auto; gap: 10px; color: #17324d; }
.csd-layout { min-height: 0; display: grid; grid-template-columns: 4fr 6fr; gap: 10px; }
.csd-form-panel, .csd-table-panel { min-height: 0; box-sizing: border-box; border: 1px solid #cfdbea; border-radius: 8px; background: #fff; box-shadow: 0 4px 14px rgba(41, 72, 107, .06); }
.csd-form-panel { padding: 14px; overflow: auto; }
.csd-workbench h3 { margin: 0 0 10px; font-size: 16px; color: #183b5b; }
.csd-status-note { margin: 0 0 12px; font-size: 12px; color: #778a9d; line-height: 1.5; }
.csd-form-panel label { display: grid; gap: 5px; margin-bottom: 9px; font-size: 13px; font-weight: 600; color: #526b83; }
.csd-form-panel input, .csd-form-panel textarea { width: 100%; box-sizing: border-box; border: 1px solid #b9c9db; border-radius: 5px; padding: 8px 9px; font: inherit; color: #17324d; resize: vertical; }
.csd-form-panel textarea { min-height: 70px; }
.csd-actions { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 2px; }
.csd-actions button { border: 1px solid #b9c9db; border-radius: 5px; padding: 8px 16px; color: #17324d; background: #fff; font-weight: 700; cursor: pointer; }
.csd-actions .csd-primary { color: #fff; background: #1769aa; border-color: #1769aa; }
.csd-actions .csd-danger { color: #a52828; background: #fff1f2; border-color: #f4a7ac; }
.csd-actions button:disabled { opacity: .5; cursor: not-allowed; }
.csd-table-panel { display: grid; grid-template-rows: auto minmax(0, 1fr); padding: 14px; }
.csd-table-scroll { min-height: 0; overflow: auto; border: 1px solid #d8e1eb; }
.csd-table-panel table { width: 100%; min-width: 900px; border-collapse: collapse; font-size: 13px; }
.csd-table-panel th { position: sticky; top: 0; z-index: 1; padding: 9px 10px; text-align: left; color: #38556f; background: #edf3f8; border-bottom: 1px solid #ccd9e6; }
.csd-table-panel td { padding: 9px 10px; border-bottom: 1px solid #e5ebf1; vertical-align: top; }
.csd-table-panel tbody tr { cursor: pointer; }
.csd-table-panel tbody tr:hover, .csd-table-panel tbody tr.selected { background: #eaf5ff; }
.csd-name { min-width: 200px; white-space: normal; }
.csd-empty { text-align: center; color: #778a9d; padding: 28px !important; }
.csd-row-actions { display: flex; gap: 6px; }
.csd-row-actions button { border: 1px solid #b9c9db; border-radius: 4px; padding: 3px 10px; color: #17324d; background: #fff; font-size: 12px; font-weight: 700; cursor: pointer; }
.csd-row-actions .csd-danger { color: #a52828; background: #fff1f2; border-color: #f4a7ac; }
.csd-status, .csd-error { border: 1px solid #c8d8e8; border-radius: 6px; padding: 9px 12px; background: #f4f8fb; font-size: 13px; }
.csd-error { display: grid; gap: 3px; margin-bottom: 8px; color: #9f2929; border-color: #f0b9b9; background: #fff4f4; }
@media (max-width: 1050px) { .csd-workbench { height: auto; } .csd-layout { grid-template-columns: 1fr; } .csd-table-panel { min-height: 500px; } }
