.data-form-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(240px,1fr));gap:14px;margin:16px 0}.data-form-grid label{min-width:0}.data-form-grid textarea{width:100%;box-sizing:border-box;resize:vertical}.data-form-item{padding:16px;border:1px solid #d5e3e8;border-radius:12px;background:#fff}.data-form-item p{font-size:13px;color:#56707c}.data-form-grid .check{display:flex;align-items:center;gap:8px}#formPreviewRows{max-height:600px;overflow:auto}@media(max-width:700px){.data-form-grid{grid-template-columns:minmax(0,1fr)}}

#vitRows table{table-layout:fixed;min-width:1080px}#vitRows td,#vitRows th{white-space:normal;overflow-wrap:anywhere;text-align:left;padding:10px 8px}#vitRows td:last-child,#vitRows th:last-child,#vitDetailRows td:last-child{position:static;box-shadow:none}#vitRows td button{display:block;margin:4px 0;font-size:11px;padding:6px 9px}#vitDetailRows td{white-space:normal;overflow-wrap:anywhere;text-align:left}#vitPreviewRows td{white-space:normal;overflow-wrap:anywhere;max-width:230px}

#vitRows td:last-child,#vitRows th:last-child{position:sticky;right:0;background:#fff;z-index:1;width:124px}#vitRows th:last-child{z-index:2}

#mwPlanRows td,#mwJournal td{white-space:pre-wrap;max-width:450px;overflow-wrap:anywhere}#mwPlanRows td:last-child,#mwJournal td:last-child,#mwPlans td:last-child{position:static;box-shadow:none}

.cw-cabinets{display:flex;flex-wrap:wrap;gap:10px;max-height:230px;overflow:auto;margin:12px 0}.cw-cabinets label{flex:1 1 240px}.cw-table td{white-space:normal;min-width:115px;vertical-align:top}.cw-table td:nth-last-child(2){max-width:420px}.cw-table td p{margin:6px 0;font-size:12px}

#csDialog label.cs-schedule-toggle{display:flex;flex-direction:row;align-items:center;gap:8px;margin:12px 0}#csScheduleEnabled{width:auto;flex:0 0 auto}#csScheduleHours{max-width:200px}

#cbFields input[type=checkbox],#cwRows input[data-cb-id]{width:auto;justify-self:start}#cfmCabinets input,#cdProducts input{width:auto}#cdDialog .check{display:flex;align-items:center;gap:8px}#cdDialog .check input{width:auto}
