/* One horizontal row per service; narrow screens scroll this list only. */
body.cv-services-hub #newServiceList{display:block!important;max-width:100%!important;min-width:0!important;overflow-x:auto!important;overscroll-behavior-x:contain;-webkit-overflow-scrolling:touch;padding-bottom:5px}
body.cv-services-hub #newServiceList>.item{display:grid!important;grid-template-columns:minmax(165px,1fr) 225px 44px 155px!important;align-items:center!important;gap:8px!important;padding:7px 9px!important;margin:4px 0!important;min-width:650px!important;min-height:44px!important;box-sizing:border-box!important;border-radius:8px!important}
body.cv-services-hub #newServiceList>.item>strong{grid-column:1!important;grid-row:1!important;min-width:0!important;width:auto!important;max-width:none!important;font-size:12px!important;line-height:1.3!important;word-break:normal!important;overflow-wrap:normal!important;white-space:nowrap!important;overflow:hidden;text-overflow:ellipsis}
body.cv-services-hub #newServiceList>.item>small{grid-column:2!important;grid-row:1!important;min-width:0!important;width:auto!important;font-size:11px!important;line-height:1.3!important;white-space:nowrap!important;margin:0!important}
body.cv-services-hub #newServiceList>.item>button{grid-column:3!important;grid-row:1!important;justify-self:stretch!important;min-height:32px!important;font-size:11px!important;padding:6px!important;margin:0!important;width:auto!important;height:auto!important}
body.cv-services-hub #newServiceList .cv-service-order-controls{grid-column:4!important;grid-row:1!important;display:flex!important;flex-wrap:nowrap!important;align-items:center!important;gap:5px!important;min-width:0!important;margin:0!important;width:auto!important}
body.cv-services-hub #newServiceList .cv-service-order-controls button{flex:0 0 32px!important;min-height:32px!important;font-size:15px!important;padding:4px!important;width:32px!important;margin:0!important;height:auto!important}
body.cv-services-hub #newServiceList .cv-service-order-position{display:flex!important;align-items:center!important;gap:3px!important;font-size:10px!important;min-width:0!important;margin:0!important;white-space:nowrap!important}
body.cv-services-hub #newServiceList .cv-service-order-position select{width:48px!important;min-width:48px!important;max-width:48px!important;min-height:32px!important;font-size:16px!important;padding:3px!important;margin:0!important;box-sizing:border-box!important;height:auto!important}
body.cv-services-hub .cv-hub-group>summary{min-height:42px!important;padding:8px 12px!important;font-size:14px!important}
body.cv-services-hub #newServiceList+.cv-list-pagination{font-size:12px}
body.cv-services-hub #newServiceList>.item{grid-template-columns:minmax(165px,1fr) 225px 100px 155px!important;min-width:706px!important}
body.cv-services-hub #newServiceList .cv-service-actions{grid-column:3!important;grid-row:1!important;display:flex!important;gap:4px!important;align-items:center!important}
body.cv-services-hub #newServiceList .cv-service-actions button{font-size:11px!important;min-height:32px!important;padding:6px!important;margin:0!important;width:auto!important;white-space:nowrap!important}
body.cv-services-hub #newServiceList .item[hidden]{display:none!important}
.cv-services-load-controls{display:flex;align-items:center;justify-content:space-between;gap:10px;font-size:12px;margin:7px 0;color:#b4d2de}
.cv-service-onboarding{border:1px solid #345d70;border-radius:9px;padding:10px;margin:10px 0;min-width:0}
.cv-service-onboarding legend{font-size:13px;font-weight:700}.cv-service-onboarding select{font-size:16px;max-width:100%}
body.cv-services-hub #libraryAddonList>.item{display:flex!important;flex-wrap:wrap!important;gap:7px!important;align-items:center!important;padding:9px!important}
body.cv-services-hub #libraryAddonList>.item>strong,body.cv-services-hub #libraryAddonList>.item>small{flex-basis:100%;min-width:0}
body.cv-services-hub #libraryAddonList .cv-service-actions{display:flex;gap:5px}
/* iPad landscape: keep service-management rows readable without shrinking the entire page. */
@media (min-width:760px) and (max-width:1366px){
 body.cv-services-hub .tool-shell{max-width:1060px!important;width:100%!important}
 body.cv-services-hub #newServiceList>.item{min-width:740px!important;grid-template-columns:minmax(180px,1fr) 210px 106px 168px!important;min-height:53px!important;padding:9px 11px!important}
 body.cv-services-hub #newServiceList>.item>strong{font-size:13px!important}
 body.cv-services-hub #newServiceList>.item>small{font-size:12px!important}
 body.cv-services-hub #newServiceList .cv-service-actions button{min-height:37px!important;font-size:12px!important}
 body.cv-services-hub #newServiceList .cv-service-order-controls button{min-height:37px!important}
}
