#regularity-workspace .rc-type{display:flex;gap:18px;align-items:center;padding:10px 0;border-bottom:2px solid #285b87;margin-bottom:12px}
#regularity-workspace{min-width:0;max-width:100%}#regularity-workspace .page-title,#regularity-workspace .toolbar,#regularity-workspace .filters{flex-wrap:wrap;gap:10px}#regularity-workspace .search{min-width:0;max-width:100%}#regularity-workspace .table-card{max-width:100%;overflow:hidden}.rc-metrics{grid-template-columns:repeat(4,minmax(0,1fr))!important}.rc-metrics .metric{min-width:0}.rc-metrics .metric span{white-space:normal}
#regularity-workspace .filters select{max-width:100%}#regularity-workspace .toolbar button{max-width:100%;white-space:normal}.rc-metrics .metric span{overflow-wrap:anywhere}
.drawer:has(.rc-detail){width:min(590px,100vw)!important;max-width:100vw!important}.drawer:has(.rc-detail) .drawer-head h2{overflow-wrap:anywhere}.drawer:has(.rc-detail) .drawer-tabs button{min-width:0;white-space:normal}.drawer:has(.rc-detail) .rc-read{max-width:100%}
.rc-chip{display:inline-flex;align-items:center;border-radius:12px;padding:3px 8px;font-size:11px;font-weight:600;white-space:nowrap}
.rc-info{background:#e4edf6;color:#285b87}.rc-danger{background:#fce4e4;color:#a42727}.rc-urgent{background:#ffe0b8;color:#9a4400}.rc-warning{background:#fff1d8;color:#865700}.rc-neutral{background:#e9edf0;color:#506070}
.rc-scroll{overflow:auto;max-height:calc(100vh - 325px)}.rc-grid{min-width:1050px;table-layout:fixed;width:100%}.rc-grid th{position:sticky;top:0;z-index:2;background:var(--surface,#f3f6f8)}
.rc-grid th:first-child{width:35px}.rc-grid th:nth-child(2){width:230px}.rc-grid th:nth-child(3){width:150px}.rc-grid th:nth-child(4){width:160px}.rc-grid th:nth-child(5){width:105px}.rc-grid th:nth-child(6){width:145px}.rc-grid th:nth-child(7){width:110px}.rc-grid th:nth-child(8){width:100px}
.rc-grid td{height:41.67px;box-sizing:border-box;padding:4px 9px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.rc-grid .company-btn{max-width:100%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.rc-grid .lc-client-status{font-size:10.5px;max-width:100%;overflow:hidden;text-overflow:ellipsis}.rc-grid .rc-chip{max-width:100%;overflow:hidden;text-overflow:ellipsis;box-sizing:border-box}
.rc-detail h2,.rc-detail h3{overflow-wrap:anywhere}.rc-doc-head,.rc-actions{display:flex;align-items:center;gap:10px;flex-wrap:wrap}.rc-actions{border-top:1px solid var(--border,#ccd5dd);padding-top:15px;margin-top:20px}
.rc-read{display:block;white-space:pre-wrap;overflow-wrap:anywhere;min-height:38px;border:1px solid var(--border,#ccd5dd);padding:8px;border-radius:5px;background:var(--surface,#fff);font-size:13px;cursor:text}
.rc-field .user-choice{display:none}.rc-field.is-editing .user-choice{display:flex}.rc-field.is-editing .rc-read{display:none}.rc-field textarea{min-height:85px}.rc-field [hidden]{display:none!important}
.rc-documents{display:flex;flex-direction:column;gap:8px;margin:16px 0}.rc-documents button{text-align:left;display:flex;flex-direction:column;align-items:flex-start;white-space:normal;gap:4px;padding:10px}.rc-documents span{font-size:11px;overflow-wrap:anywhere}
.rc-event{border-bottom:1px solid var(--border,#ccd5dd);padding:12px 0}.rc-event pre{white-space:pre-wrap;overflow-wrap:anywhere;font-size:11px;background:var(--surface,#f3f6f8);padding:8px}
.rc-import-dialog{width:min(920px,calc(100vw - 24px))!important;max-width:calc(100vw - 24px)!important}.rc-import-item{padding:12px;margin:12px 0;border:1px solid var(--border,#ccd5dd);border-radius:6px}.rc-import-line{display:flex;gap:10px;align-items:center;margin-bottom:12px}.rc-import-line strong{flex:1;overflow-wrap:anywhere;min-width:0}.rc-import-line span{font-size:11px;color:#285b87}
.rc-import-dialog .modal-body{overflow:auto;min-width:0}.rc-import-dialog .form-grid{min-width:0}.rc-import-dialog select,.rc-import-dialog input{max-width:100%;min-width:0}.rc-import-item .checkline{margin:8px 0}
@media(max-width:600px){#regularity-workspace .rc-type{align-items:flex-start;flex-direction:column;gap:5px}.rc-metrics{grid-template-columns:repeat(2,minmax(0,1fr))!important}.rc-import-dialog .form-grid,.rc-detail .form-grid{grid-template-columns:minmax(0,1fr)}.rc-detail .full,.rc-import-dialog .full{grid-column:1}.rc-import-dialog .modal-body{padding:12px}.rc-scroll{max-height:60vh}}
@media(max-width:600px){.main:has(#regularity-workspace) .topbar{padding:0 8px;gap:8px}.main:has(#regularity-workspace) .breadcrumbs{gap:4px;min-width:0;overflow:hidden;white-space:nowrap}.main:has(#regularity-workspace) .top-right{gap:4px;flex:none}.main:has(#regularity-workspace) .connection{display:none}.main:has(#regularity-workspace) .workspace{min-width:0;overflow-x:hidden;padding:12px}}
